goj/document/Online Judge 是如何解决判题端安全性问题的? - 知乎_files/mckm_data/logo.js

1 line
9.3 KiB
JavaScript
Raw Normal View History

2021-08-24 02:03:45 +00:00
(function(a,b){if(typeof define==="function"&&define.amd){define(b)}else{a.logo=b()}}(typeof self!=="undefined"?self:this,function(){var d="";function o(){}function c(){var q=null;try{q=(window.baidu&&window.baidu.mobads&&window.baidu.mobads.Sdk)||(window.parent&&parent.baidu&&parent.baidu.mobads&&parent.baidu.mobads.Sdk)}catch(r){}return q}function f(r,q){var s=document.createElement("div");s.innerHTML=q;var t=document.createDocumentFragment();for(;s.childNodes.length>0;){t.appendChild(s.childNodes[0])}r.appendChild(t)}function b(r,q,s){if(r.addEventListener){r.addEventListener(q,s,false)}else{if(r.attachEvent){r.attachEvent("on"+q,s)}}}function e(q){if(q.stopPropagation){q.stopPropagation()}else{window.event.cancelBubble=true}if(q.preventDefault){q.preventDefault()}return false}function n(s){var r=null;var q=[];for(r in s){if(s.hasOwnProperty(r)){q.push(r+"="+encodeURIComponent(s[r]))}}return q.join("&")}function i(q,s){var t=s.type;if(t==="treatment"){var r=q.querySelector(".logo-container");r.style.cssText="opacity:0.5"}}function k(r,q){r.style.position="relative";var s=r.querySelector(".logo-container");s.classList.add("new-logo-container");s.style.cssText="background: transparent;";s.style.width="100%";var v=r.querySelector(".logo-con-wrapper");v.style.cssText="display: inline-block; height: 16px; background: transparent";var u=r.querySelector(".logo-close-img");var t=r.querySelector(".logo-link");if(q){u.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAFo9M/3AAAAAXNSR0IArs4c6QAAARVJREFUOBF9kzGWwjAMRGNKOEdSc6G9xzahoOIe1LkLPe1egW3DfOHxcxIHv6dne2Y0lkTo5nkeOi9dJp9Xuyntt0PmnnnvO6FHJ+g8BgCI3ATgDTAAMwBEysxd7E9K6d9pFqYKwAJhVCDxL5zL4nxRQF4VfXbuKGC0nYiyECimEBS0OmTBwBOntQOkcOr5ixwEFkEqJnb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Y4rd13ouT/PsZkD3sPN0czoq3dpBugb+9stjibeIHIX7/oxjrtUOv/v5S1Qibib2V9RjLdLu1+EnPwQ9+t5TCdYn5/0/plW9eo9J3VrTOX3vAtA2bZ2HZhsbaV/pYvdM4+FvTK2tR7QhkM8vx+f8/9p6rz6CfoDMqmacF0gB4F3ViTmRZxGdiiBut5wwVgpsuOzpWJoL9tOkADaOfagynz4C6YrQnO/NuL6Dg8i9JkEiNnHzeBaan0R9vN6WPHQmQfhCVOrOI+dA7qgL8+7Aezj1TaBGnNR/wFnLF2tkpyVvuFRG2VxUz0k5tsd0pdzZdBL6gD2ilT8N+C2WC2JuqmSp8uCNvDVevwP5VhZ0gOD1XG5Kcz2ROgv4Abgf7HIH6Azo9E20O/rYnOhHaxa+teUFO2kbkvSSG53Yf+SENfiBQ83DkSD6N6ALRLzBJfxgcCq9FvN0FEOZtYGdpUDr2INJGht0QrIhW/g1rk9I2Xok9kBpyGcvgKlXAdVoLdapMmR1sMC5IKMxCQtzvcAt20kxq6jk6vPz1i9gtqG09/SO6d3QAAAABJRU5ErkJggg==";u.style.cssText="position: absolute; right: 0; margin: 0; padding: 4px; opacity: 0.3; background: #000000;";v.style.background="#000000";v.style.opacity="0.3";t.style.cssText="width: 24px; height: 8px; margin: 4px"}else{u.src="https://render-server.cdn.bcebos.com/static/images/20210525/d5443f3a0c9fe8456beb5f50eb08ed60.png";t.src="https://render-server.cdn.bcebos.com/static/images/spring_festival/ad-logo.png";u.style.cssText="position: absolute; right: 0; margin: 0; padding: 4px";t.style.cssText="width: 24px; height: 8px"}}function j(u){u=u||{};var r=u.logoUrl||"https://union.baidu.com";var s=document.getElementById(u.containerId||"container");var v=u.containerId;var D=documen