Professional Documents
Culture Documents
SPDX-License-Identifier: Apache-2.0
*/
function N(a,b){this.g=b===O?a:""}N.prototype.toString=function(){return
this.g.toString()};N.prototype.j=!0;N.prototype.h=function(){return
this.g.toString()};function db(a){return a instanceof N&&a.constructor===N?
a.g:"type_error:SafeUrl"}var
eb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,O={},fb=new
N("about:invalid#zClosurez",O);function gb(){}function hb(a){var b=!1,c;return
function(){b||(c=a(),b=!0);return c}};var ib={capture:!0},jb={passive:!
0},kb=hb(function(){var a=!1;try{var b=Object.defineProperty({},"passive",
{get:function(){a=!0}});x.addEventListener("test",null,b)}catch(c){}return
a});function lb(a){return a?a.passive&&kb()?a:a.capture||!1:!1}function Q(a,b,c,d)
{a.addEventListener&&a.addEventListener(b,c,lb(d))};function mb(a,b,c)
{if(Array.isArray(b))for(var d=0;d<b.length;d++)mb(a,String(b[d]),c);else null!
=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))};function nb(a,b)
{if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}var
ob=[];function pb(){var a=ob;ob=[];a=r(a);for(var b=a.next();!b.done;b=a.next())
{b=b.value;try{b()}catch(c){}}}function qb(a){var
b=R;"complete"===b.readyState||"interactive"===b.readyState?
(ob.push(a),1==ob.length&&(window.Promise?
Promise.resolve().then(pb):window.setImmediate?
setImmediate(pb):setTimeout(pb,0))):b.addEventListener("DOMContentLoaded",a)}
function rb(a){a=void 0===a?document:a;return a.createElement("img")};function
sb(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var
d=rb(a.document);if(c){var e=function(){if(c){var
g=a.google_image_requests,l=ua(g,d);0<=l&&Array.prototype.splice.call(g,l,1)}d.remo
veEventListener&&d.removeEventListener("load",e,lb());d.removeEventListener&&d.remo
veEventListener("error",e,lb())};Q(d,"load",e);Q(d,"error",e)}d.src=b;a.google_imag
e_requests.push(d)};function tb(){var a=document.currentScript;return(a=void 0===a?
null:a)&&"23"===a.getAttribute("data-jc")?a:document.querySelector('[data-
jc="23"]')}
function ub(){var a=void 0===a?.01:a;if(!(Math.random()>a)){var
b=tb();b="https://"+(b&&"true"===b.getAttribute("data-jc-
rcd")?"pagead2.googlesyndication-cn.com":"pagead2.googlesyndication.com")+"/
pagead/gen_204?id=jca&jc=23&version=";var c=(c=tb())&&c.getAttribute("data-jc-
version")||"unknown";a=b+c+"&sample="+a;b=window;var d=void 0===d?!
1:d;if(c=b.navigator)c=b.navigator.userAgent,c=/Chrome/.test(c)&&!/Edge/.test(c)?!
0:!1;c&&b.navigator.sendBeacon?b.navigator.sendBeacon(a):sb(b,a,void 0===d?!1:
d)}};var R=document,S=window;function vb(a){a=void 0===a?
[]:a;x.google_logging_queue||
(x.google_logging_queue=[]);x.google_logging_queue.push([12,a])};function wb(a)
{this.R=a}function T(a){return new wb(function(b){return
b.substr(0,a.length+1).toLowerCase()===a+":"})}var xb=new
wb(function(a){return/^[^:]*([/?#]|
$)/.test(a)}),yb=T("http"),zb=T("https"),Ab=T("ftp"),Bb=T("mailto"),Cb=[T("data"),y
b,zb,Bb,Ab,xb];function Db(a){return db(a)};var
Eb=[yb,zb,Bb,Ab,xb,T("market"),T("itms"),T("intent"),T("itms-appss")];
function Fb(){var
a=(Gb()?"http:":"https:")+"//pagead2.googlesyndication.com/pagead/gen_204";return
function(b){b={id:"unsafeurl",ctx:625,url:b};var c=[];for(d in b)mb(d,b[d],c);var
d=c.join("&");if(d){b=a.indexOf("#");0>b&&(b=a.length);c=a.indexOf("?");if(0>c||
c>b){c=b;var e=""}else
e=a.substring(c+1,b);b=[a.slice(0,c),e,a.slice(b)];c=b[1];b[1]=d?c?
c+"&"+d:d:c;d=b[0]+(b[1]?"?"+b[1]:"")+b[2]}else
d=a;navigator.sendBeacon&&navigator.sendBeacon(d,"")}};function Gb(){var a=void
0===a?S:a;return"http:"===a.location.protocol}function Hb(){var a=R;try{return
a.querySelectorAll("*[data-ifc]")}catch(b){return[]}}function Ib(a,b)
{a&&nb(b,function(c,d){a.style[d]=c})}function Jb(a){for(var
b=R.body,c=document.createDocumentFragment(),d=a.length,e=0;e<d;+
+e)c.appendChild(a[e]);b.appendChild(c)};var Kb=null;function Lb(){var a=void
0===a?x:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()
+a.timing.navigationStart):Date.now()}function Mb(){var a=void 0===a?
x:a;return(a=a.performance)&&a.now?a.now():null};function Nb(a,b){var c=Mb()||
Lb();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.rando
m();this.taskId=this.slotId=void 0};var U=x.performance,Ob=!!
(U&&U.mark&&U.measure&&U.clearMarks),V=hb(function(){var a;if(a=Ob){var
b;if(null===Kb){Kb="";try{a="";try{a=x.top.location.hash}catch(c)
{a=x.location.hash}a&&(Kb=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=Kb;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
function Pb(){var a=window;this.g=[];this.j=a||x;var
b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||
[],this.g=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.h=V()||
(null!=b?b:1>Math.random())}function Qb(a)
{a&&U&&V()&&(U.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),U.clearMarks("go
og_"+a.label+"_"+a.uniqueId+"_end"))}Pb.prototype.start=function(a,b){if(!
this.h)return null;a=new
Nb(a,b);b="goog_"+a.label+"_"+a.uniqueId+"_start";U&&V()&&U.mark(b);return a};
Pb.prototype.end=function(a){if(this.h&&"number"===typeof a.value)
{a.duration=(Mb()||Lb())-a.value;var
b="goog_"+a.label+"_"+a.uniqueId+"_end";U&&V()&&U.mark(b);!this.h||
2048<this.g.length||this.g.push(a)}};var W=new Pb;function Rb()
{window.google_measure_js_timing||(W.h=!1,W.g!
=W.j.google_js_reporting_queue&&(V()&&va(W.g,Qb),W.g.length=0))}"number"!==typeof
window.google_srt&&(window.google_srt=Math.random());"complete"==window.document.re
adyState?Rb():W.h&&Q(window,"load",function(){Rb()});function Sb(a){var b=void
0===b?null:b;Q(S,"message",function(c){try{var d=JSON.parse(c.data)}catch(e)
{return}!d||"ig"!==d.googMsgType||b&&/[:|%3A]javascript\(/i.test(c.data)&&!b(d,c)||
a(d,c)})};function Tb(){this.h=this.h;this.j=this.j}Tb.prototype.h=!1;function
Ub(a){a.h||(a.h=!0,a.l())}Tb.prototype.l=function()
{if(this.j)for(;this.j.length;)this.j.shift()()};function X(a,b,c)
{Tb.call(this);this.s=a;this.H=b||
0;this.v=c;this.D=z(this.F,this)}ta(X,Tb);X.prototype.g=0;X.prototype.l=function()
{X.M.l.call(this);this.isActive()&&x.clearTimeout(this.g);this.g=0;delete
this.s;delete this.v};
X.prototype.start=function(a){this.isActive()&&x.clearTimeout(this.g);this.g=0;var
b=this.D;a=void 0!==a?a:this.H;if("function"!==typeof b)if(b&&"function"==typeof
b.handleEvent)b=z(b.handleEvent,b);else throw Error("Invalid listener
argument");this.g=2147483647<Number(a)?-1:x.setTimeout(b,a||
0)};X.prototype.isActive=function(){return 0!=this.g};X.prototype.F=function()
{this.g=0;this.s&&this.s.call(this.v)};var Vb={display:"inline-
block",position:"absolute"},Wb={display:"none",width:"100%",height:"100%",top:"0",l
eft:"0"};function Y(a,b){a&&(a.style.display=b?"inline-block":"none")}function
Xb(a,b){if(a)return S.getComputedStyle(a).getPropertyValue(b)}function Yb()
{this.l=[];this.s=this.h=null;this.N=[];this.data=null;this.H=[];this.j=[];this.v=[
];this.F={};this.P=[];this.D=this.g=null}
Yb.prototype.init=function(a){var b=this;vb([a]);this.data=new
cb(a);a=Ta(this.data);va(Va(a),function(f){b.v.push({I:0,C:!1,K:0,o:f,G:-
1})});this.j=Hb();var c=!1;a=this.j.length;for(var d={B:0};d.B<a;d={B:d.B},++d.B)
{var e=new Ua(JSON.parse(this.j[d.B].getAttribute("data-
ifc")||"[]"));va(Va(e),function(f){return function(h){b.v.push({I:0,C:!
1,K:0,o:h,G:f.B});1===H(h,4,1)&&(c=!0)}}(d))}d=a=!1;e=r(this.v);for(var
g=e.next();!g.done;g=e.next()){g=g.value;var l=g.o;0<H(l,2,0)&&0<H(l,5,1)?(!
this.h&&J(l,
9)&&(this.h=Zb(this,Wb)),
$b(this,g)):H(l,1,"")&&J(l,9)&&ac(this,H(l,1,""));H(l,1,"")&&(a=!
0);0<H(l,11,0)&&(d=!0)}e=[];this.h&&e.push(this.h);!
c&&e.push.apply(e,ha(this.l));R.body&&Jb(e);J(this.data,13)&&qb(function(){for(var
f=R.body.querySelectorAll(".amp-fcp, .amp-bcp"),h=0;h<f.length;+
+h)"absolute"===Xb(f[h],"position")&&Y(f[h],!1)});Q(R,"click",function(f){if(!
1===f.isTrusted&&J(b.data,15))bc(f),f.stopImmediatePropagation(),ub();else{for(var
h,k=-1,m=[],t=r(b.v),w=t.next();!w.done;w=t.next()){w=
w.value;var p=w.G,q=-1!==p;if(!(H(w.o,3,0)<=k||w.C||q&&!1===m[p])){var P=!q||m[p]||
b.j[p].contains(f.target);q&&P&&(m[p]=!
0);if(p=P)if(p=f,q=w.o,0<H(q,2,0)&&0<H(q,5,1))p=b.F[H(q,5,1)],p=void 0!
==p&&Date.now()<p+H(q,2,0);else if(H(q,1,"")){q=(0<=w.G?
b.j[w.G]:R.body).getBoundingClientRect();P=Number(Xb(R.body,"zoom")||"1");var
y=r([p.clientX,p.clientY]),aa=y.next().value;y=y.next().value;y=r([aa/P-q.left,y/P-
q.top,q.width,q.height]);var
I=y.next().value,la=y.next().value;aa=y.next().value;y=y.next().value;
if(!(0<aa&&0<y)||isNaN(I)||isNaN(la)||0>I||0>la)p=!1;else{var L=cc(H(w.o,1,""));I=!
(I>=L.left&&aa-I>L.right&&la>=L.top&&y-
la>L.bottom);b.g&&J(b.data,12)&&300>p.timeStamp-
b.g.timeStamp&&(p=b.g.changedTouches[0],q=r([p.clientX/P-q.left,p.clientY/P-
q.top]),p=q.next().value,q=q.next().value,!isNaN(p)&&!
isNaN(q)&&0<=p&&0<=q&&(I=(I=J(b.data,16)?I:!1)||!(p>=L.left&&aa-
p>L.right&&q>=L.top&&y-q>L.bottom)));p=I}}else p=0<H(q,11,0)?dc(b,p,w):!
0;p&&(h=w,k=H(w.o,3,0))}}if(h)switch(k=h.o,H(k,4,1)){case 2:case 3:bc(f);
m=Date.now();500<m-h.K&&(h.K=m,++h.I);m=h.o;if(H(m,8,0)&&h.I>=H(m,8,0))if(h.C=!
0,b.h&&0<H(m,2,0))ec(b);else if(0<b.l.length&&H(m,1,""))for(h=r(b.l),m=h.next();!
m.done;m=h.next())Y(m.value,!1);ub();h=k.toJSON();k=r(b.H);for(m=k.next();!
m.done;m=k.next())m=m.value,m(f,h)}}},ib);d&&Q(R,"touchstart",function(f)
{b.D=f},jb);(a&&J(this.data,12)||d)&&Q(R,"touchend",function(f)
{b.g=f},jb)};Yb.prototype.registerCallback=function(a){this.H.push(a)};
function ac(a,b){b=cc(b);var
c=H(a.data,9,0);a.l=[{width:"100%",height:b.top+c+"px",top:-c+"px",left:"0"},
{width:b.right+c+"px",height:"100%",top:"0",right:-c+"px"},
{width:"100%",height:b.bottom+c+"px",bottom:-c+"px",left:"0"},
{width:b.left+c+"px",height:"100%",top:"0",left:-c+"px"}].map(function(d){return
Zb(a,d,9019)})}function Z(a,b){b.C||
(a.F[H(b.o,5,1)]=Date.now(),J(b.o,9)&&(a.N.push(b),ec(a)))}
function $b(a,b){switch(H(b.o,5,1)){case 2:var c,d;null==(c=S.AFMA_Communicator)||
null==(d=c.addEventListener)||d.call(c,"onshow",function(){Z(a,b)});break;case
10:Q(S,"i-creative-view",function(){Z(a,b)});break;case
4:Q(R,"DOMContentLoaded",function(){Z(a,b)});break;case 8:Sb(function(l)
{l.rr&&Z(a,b)});break;case 9:"IntersectionObserver"in S&&(c=new
IntersectionObserver(function(l){l=r(l);for(var f=l.next();!
f.done;f=l.next())if(0<f.value.intersectionRatio)
{Z(a,b);break}}),c.observe(R.body),a.P.push(c));
break;case 11:var e,g;null==(e=S.AFMA_Communicator)||null==(g=e.addEventListener)||
g.call(e,"onAdVisibilityChanged",function(){Z(a,b)})}}function bc(a){var b=void
0===b?!1:b;a.preventDefault?a.preventDefault():a.returnValue=!
1;b&&a.stopPropagation()}
function dc(a,b,c){if(!a.g||!a.D||300<=b.timeStamp-a.g.timeStamp)return!1;var d=new
Map;va(a.D.changedTouches,function(g){d.set(g.identifier,
{x:g.clientX,y:g.clientY})});b=H(c.o,11,0)||
10;a=r(a.g.changedTouches);for(c=a.next();!c.done;c=a.next()){c=c.value;var
e=d.get(c.identifier);if(!e||Math.abs(e.x-c.clientX)>b||Math.abs(e.y-
c.clientY)>b)return!0}return!1}
function ec(a){for(var b=0,c=r(a.N),d=c.next();!d.done;d=c.next()){d=d.value;var
e=d.o,g=a.F[H(e,5,1)];d.C||void 0===g||(b=Math.max(b,g+H(e,2,0)))}a.s&&Ub(a.s);b-
=Date.now();var l=a.h;0<b?(Y(l,!0),a.s=new X(function(){Y(l,!
1)},b),a.s.start()):Y(l,!1)}
function Zb(a,b,c){var d=R.createElement("div");Ib(d,Object.assign({},Vb,{"z-
index":String(void 0===c?
2147483647:c)},b));J(a.data,10)&&Q(d,"click",gb);if(J(a.data,11))
{a=R.createElement("a");b=Fb();c=Eb;c=void 0===c?Cb:c;a:{c=void 0===c?Cb:c;for(var
e=0;e<c.length;++e){var g=c[e];if(g instanceof wb&&g.R("#")){c=new N("#",O);break
a}}c=void 0}c=c||fb;c===fb&&b("#");b=new N(Db(c),O);b instanceof N||b instanceof
N||(b="object"==typeof b&&b.j?b.h():String(b),eb.test(b)||
(b="about:invalid#zClosurez"),
b=new N(b,O));a.href=db(b);a.appendChild(d);return a}return d}function cc(a){a=void
0===a?"":a;var
b={top:0,right:0,bottom:0,left:0};a&&(a=a.split(","),4===a.length&&a.reduce(functio
n(c,d){return c&&!isNaN(+d)},!0)&&(a=r(a.map(function(c)
{return+c})),b.top=a.next().value,b.right=a.next().value,b.bottom=a.next().value,b.
left=a.next().value));return b};window.googqscp=new Yb;}).call(this);