Professional Documents
Culture Documents
SPDX-License-Identifier: Apache-2.0
*/
function Fb(a){this.R=a}function T(a){return new Fb(function(b){return
b.substr(0,a.length+1).toLowerCase()===a+":"})}var Gb=new
Fb(function(a){return/^[^:]*([/?#]|
$)/.test(a)}),Hb=T("http"),Ib=T("https"),Jb=T("ftp"),Kb=T("mailto"),Lb=[T("data"),H
b,Ib,Kb,Jb,Gb];function Mb(a,b){if(a)for(var c in
a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)}var Nb=[];function Ob()
{var a=Nb;Nb=[];a=w(a);for(var b=a.next();!b.done;b=a.next())
{b=b.value;try{b()}catch(c){}}}function Pb(a){var
b=V;"complete"===b.readyState||"interactive"===b.readyState?
(Nb.push(a),1==Nb.length&&(window.Promise?
Promise.resolve().then(Ob):window.setImmediate?
setImmediate(Ob):setTimeout(Ob,0))):b.addEventListener("DOMContentLoaded",a)}
function Qb(a){a=void 0===a?document:a;return a.createElement("img")};function
Rb(a,b,c){var d=!1;d=void 0===d?!1:d;a.google_image_requests||
(a.google_image_requests=[]);var e=Qb(a.document);if(c){var k=function(){if(c){var
h=a.google_image_requests,g=Ba(h,e);0<=g&&Array.prototype.splice.call(h,g,1)}e.remo
veEventListener&&e.removeEventListener("load",k,zb());e.removeEventListener&&e.remo
veEventListener("error",k,zb())};Q(e,"load",k);Q(e,"error",k)}d&&(e.attributionSrc=
"");e.src=b;a.google_image_requests.push(e)};function Sb(){var
a=document.currentScript;return(a=void 0===a?null:a)&&"23"===a.getAttribute("data-
jc")?a:document.querySelector('[data-jc="23"]')}
function Tb(){var a=void 0===a?.01:a;if(!(Math.random()>a)){var
b=Sb();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=Sb())&&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):Rb(b,a,void 0===d?!1:
d)}};var V=document,W=window;function Ub(a){a=void 0===a?
[]:a;y.google_logging_queue||
(y.google_logging_queue=[]);y.google_logging_queue.push([12,a])};var
Vb=[Hb,Ib,Kb,Jb,Gb,T("market"),T("itms"),T("intent"),T("itms-appss")];
function Wb(){var
a=(Xb()?"http:":"https:")+"//pagead2.googlesyndication.com/pagead/gen_204";return
function(b){b={id:"unsafeurl",ctx:625,url:b};var c=[];for(d in b)Eb(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 Xb(){var a=void
0===a?W:a;return"http:"===a.location.protocol}function Yb(){var a=V;try{return
a.querySelectorAll("*[data-ifc]")}catch(b){return[]}}function Zb(a,b)
{a&&Mb(b,function(c,d){a.style[d]=c})}function $b(a){for(var
b=V.body,c=document.createDocumentFragment(),d=a.length,e=0;e<d;+
+e)c.appendChild(a[e]);b.appendChild(c)};var ac=null;function bc(){var a=void
0===a?y:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()
+a.timing.navigationStart):Date.now()}function cc(){var a=void 0===a?
y:a;return(a=a.performance)&&a.now?a.now():null};function dc(a,b){var c=cc()||
bc();this.label=a;this.type=b;this.value=c;this.duration=0;this.taskId=this.slotId=
void 0;this.uniqueId=Math.random()};var X=y.performance,ec=!!
(X&&X.mark&&X.measure&&X.clearMarks),fc=vb(function(){var a;if(a=ec){var
b;if(null===ac){ac="";try{a="";try{a=y.top.location.hash}catch(c)
{a=y.location.hash}a&&(ac=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=ac;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
function gc(){var a=window;this.g=[];this.i=a||y;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=fc()||
(null!=b?b:1>Math.random())}function hc(a)
{a&&X&&fc()&&(X.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),X.clearMarks("g
oog_"+a.label+"_"+a.uniqueId+"_end"))}gc.prototype.start=function(a,b){if(!
this.h)return null;a=new
dc(a,b);b="goog_"+a.label+"_"+a.uniqueId+"_start";X&&fc()&&X.mark(b);return a};
gc.prototype.end=function(a){if(this.h&&"number"===typeof a.value)
{a.duration=(cc()||bc())-a.value;var
b="goog_"+a.label+"_"+a.uniqueId+"_end";X&&fc()&&X.mark(b);!this.h||
2048<this.g.length||this.g.push(a)}};function ic()
{this.i="&";this.h={};this.o=0;this.g=[]}function jc(a,b,c,d,e){var
k=[];Mb(a,function(h,g){(h=kc(h,b,c,d,e))&&k.push(g+"="+h)});return k.join(b)}
function kc(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof
c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var
k=[],h=0;h<a.length;h++)k.push(kc(a[h],b,c,d+1,e));return k.join(c[d])}}else
if("object"==typeof a)return e=e||0,2>e?
encodeURIComponent(jc(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}
function lc(a){var b="https://pagead2.googlesyndication.com/pagead/gen_204?
id=fccs&",c=mc(a)-24;if(0>c)return"";a.g.sort(function(m,r){return m-r});for(var
d=null,e="",k=0;k<a.g.length;k++)for(var h=a.g[k],g=a.h[h],f=0;f<g.length;f++){if(!
c){d=null==d?h:d;break}var l=jc(g[f],a.i,",$");if(l){l=e+l;if(c>=l.length){c-
=l.length;b+=l;e=a.i;break}d=null==d?h:d}}a="";null!=d&&(a=e+"trn="+d);return
b+a}function mc(a){var b=1,c;for(c in a.h)b=c.length>b?c.length:b;return 3997-b-
a.i.length-1};function nc(){};function oc(){this.g=Math.random()}function pc(){var
a=qc,b=window.google_srt;0<=b&&1>=b&&(a.g=b)}function rc(a){if(1>qc.g)try{if(a
instanceof ic)var b=a;else b=new ic,Mb(a,function(d,e){var k=b,h=k.o+
+,g={};g[e]=d;d=[g];k.g.push(h);k.h[h]=d});var c=lc(b);c&&Rb(y,c,!1)}catch(d)
{}};var qc,Y=new gc;function sc(){window.google_measure_js_timing||(Y.h=!1,Y.g!
=Y.i.google_js_reporting_queue&&(fc()&&Ca(Y.g,hc),Y.g.length=0))}(function(a)
{qc=null!=a?a:new oc;"number"!==typeof
window.google_srt&&(window.google_srt=Math.random());pc();"complete"==window.docume
nt.readyState?sc():Y.h&&Q(window,"load",function(){sc()})})();function tc(a){var
b=void 0===b?null:b;Q(W,"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 uc(){this.h=this.h;this.i=this.i}uc.prototype.h=!1;function
vc(a){a.h||(a.h=!0,a.o())}uc.prototype.o=function()
{if(this.i)for(;this.i.length;)this.i.shift()()};function Z(a,b,c)
{uc.call(this);this.u=a;this.G=b||
0;this.v=c;this.C=ta(this.D,this)}ua(Z,uc);Z.prototype.g=0;Z.prototype.o=function()
{Z.N.o.call(this);this.isActive()&&y.clearTimeout(this.g);this.g=0;delete
this.u;delete this.v};
Z.prototype.start=function(a){this.isActive()&&y.clearTimeout(this.g);this.g=0;var
b=this.C;a=void 0!==a?a:this.G;if("function"!==typeof b)if(b&&"function"==typeof
b.handleEvent)b=ta(b.handleEvent,b);else throw Error("Invalid listener
argument");this.g=2147483647<Number(a)?-1:y.setTimeout(b,a||
0)};Z.prototype.isActive=function(){return 0!=this.g};Z.prototype.D=function()
{this.g=0;this.u&&this.u.call(this.v)};var wc={display:"inline-
block",position:"absolute"},xc={display:"none",width:"100%",height:"100%",top:"0",l
eft:"0"};function yc(a,b){a&&(a.style.display=b?"inline-block":"none")}function
zc(a,b){if(a)return W.getComputedStyle(a).getPropertyValue(b)}function Ac(){var
a=Bc;this.o=[];this.u=this.h=null;this.O=[];this.data=null;this.G=[];this.i=[];this
.v=[];this.D={};this.P=[];this.C=this.g=null;this.K="";this.L="true"===a["send-
fccs"];this.K=a.qid||""}
Ac.prototype.init=function(a){var b=this;Ub([a]);this.data=new
tb(a);a=nb(this.data);Ca(sb(a),function(f){b.v.push({H:0,B:!1,I:0,m:f,F:-
1})});this.i=Yb();var c=!1;a=this.i.length;for(var d={A:0};d.A<a;d={A:d.A},++d.A)
{var e=new ob(JSON.parse(this.i[d.A].getAttribute("data-
ifc")||"[]"));Ca(sb(e),function(f){return function(l){b.v.push({H:0,B:!
1,I:0,m:l,F:f.A});1===O(l,4)&&(c=!0)}}(d))}d=a=!1;e=J(this.data,12);for(var
k=w(this.v),h=k.next();!h.done;h=k.next()){h=h.value;var g=h.m;0<L(g,2)&&0<O(g,5)?
(!
this.h&&J(g,9)&&(this.h=Cc(this,xc)),Dc(this,h)):N(g)&&J(g,9)&&Ec(this,N(g));N(g)&&
(a=!0);0<L(g,11)&&(d=!0);J(g,12)&&(e=!0)}k=[];this.h&&k.push(this.h);!
c&&k.push.apply(k,ha(this.o));V.body&&$b(k);J(this.data,13)&&Pb(function(){for(var
f=V.body.querySelectorAll(".amp-fcp, .amp-bcp"),l=0;l<f.length;+
+l)"absolute"===zc(f[l],"position")&&yc(f[l],!1)});Q(V,"click",function(f){if(b.L)
{var l={cx:f.clientX,cy:f.clientY,et:Date.now(),qid:b.K};var
m="M";nc.M&&nc.hasOwnProperty(m)||(m=new nc,nc.M=m);m=[];
!l.eid&&m.length&&(l.eid=m.toString());rc(l);b.L=!1}if(!
1===f.isTrusted&&J(b.data,15))Fc(f),f.stopImmediatePropagation(),Tb();else{l=-
1;m=[];for(var r=w(b.v),t=r.next();!t.done;t=r.next()){t=t.value;var n=t.F,q=-1!
==n;if(!(L(t.m,3)<=l||t.B||q&&!1===m[n])){var p=!q||m[n]||
b.i[n].contains(f.target);q&&p&&(m[n]=!
0);if(n=p)if(n=b,q=f,p=t.m,0<L(p,2)&&0<O(p,5))n=n.D[O(p,5)],n=void 0!
==n&&Date.now()<n+L(p,2);else if(N(p)){p=(0<=t.F?
n.i[t.F]:V.body).getBoundingClientRect();var K=Number(zc(V.body,"zoom")||
"1"),v=w([q.clientX,q.clientY]),fa=v.next().value;v=v.next().value;v=w([fa/K-
p.left,v/K-p.top,p.width,p.height]);var
M=v.next().value,U=v.next().value;fa=v.next().value;v=v.next().value;if(!
(0<fa&&0<v)||isNaN(M)||isNaN(U)||0>M||0>U)n=!1;else{var S=Gc(N(t.m));M=!
(M>=S.left&&fa-M>S.right&&U>=S.top&&v-U>S.bottom);U=J(t.m,12);n.g&&(J(n.data,12)||
U)&&300>q.timeStamp-n.g.timeStamp&&(q=n.g.changedTouches[0],p=w([q.clientX/K-
p.left,q.clientY/K-p.top]),q=p.next().value,p=p.next().value,!isNaN(q)&&!isNaN(p)&&
0<=q&&0<=p&&(M=(M=J(n.data,16)||U?M:!1)||!(q>=S.left&&fa-q>S.right&&p>=S.top&&v-
p>S.bottom)));n=M}}else n=0<L(p,11)?Hc(n,q,t):!0;if(n){var
A=t;l=L(t.m,3)}}}if(A)switch(l=A.m,O(l,4)){case 2:case 3:Fc(f);m=Date.now();500<m-
A.I&&(A.I=m,++A.H);m=A.m;if(L(m,8)&&A.H>=L(m,8))if(A.B=!0,b.h&&0<L(m,2))Ic(b);else
if(0<b.o.length&&N(m))for(A=w(b.o),m=A.next();!m.done;m=A.next())yc(m.value,!
1);Tb();A=l.toJSON();l=w(b.G);for(m=l.next();!
m.done;m=l.next())m=m.value,m(f,A)}}},wb);d&&Q(V,"touchstart",function(f){b.C=
f},xb);(a&&e||d)&&Q(V,"touchend",function(f)
{b.g=f},xb)};Ac.prototype.registerCallback=function(a){this.G.push(a)};function
Ec(a,b){b=Gc(b);var c=L(a.data,9);a.o=[{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
Cc(a,d,9019)})}
function Jc(a,b){if(!b.B){var
c=O(b.m,5);a.D[c]=Date.now();J(b.m,9)&&(a.O.push(b),Ic(a))}}
function Dc(a,b){switch(O(b.m,5)){case 2:var c,d;null==(c=W.AFMA_Communicator)||
null==(d=c.addEventListener)||d.call(c,"onshow",function(){Jc(a,b)});break;case
10:Q(W,"i-creative-view",function(){Jc(a,b)});break;case
4:Q(V,"DOMContentLoaded",function(){Jc(a,b)});break;case 8:tc(function(h)
{h.rr&&Jc(a,b)});break;case 9:"IntersectionObserver"in W&&(c=new
IntersectionObserver(function(h){h=w(h);for(var g=h.next();!
g.done;g=h.next())if(0<g.value.intersectionRatio)
{Jc(a,b);break}}),c.observe(V.body),a.P.push(c));
break;case 11:var e,k;null==(e=W.AFMA_Communicator)||null==(k=e.addEventListener)||
k.call(e,"onAdVisibilityChanged",function(){Jc(a,b)})}}function Fc(a){var b=void
0===b?!1:b;a.preventDefault?a.preventDefault():a.returnValue=!
1;b&&a.stopPropagation()}
function Hc(a,b,c){if(!a.g||!a.C||300<=b.timeStamp-a.g.timeStamp)return!1;var d=new
Map;Ca(a.C.changedTouches,function(k){d.set(k.identifier,
{x:k.clientX,y:k.clientY})});b=L(c.m,11)||
10;a=w(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 Ic(a){for(var b=0,c=w(a.O),d=c.next();!d.done;d=c.next()){d=d.value;var
e=d.m,k=a.D[O(e,5)];d.B||void 0===k||(b=Math.max(b,k+L(e,2)))}a.u&&vc(a.u);b-
=Date.now();var h=a.h;0<b?(yc(h,!0),a.u=new Z(function(){yc(h,!
1)},b),a.u.start()):yc(h,!1)}
function Cc(a,b,c){var d=V.createElement("div");Zb(d,Object.assign({},wc,{"z-
index":String(void 0===c?
2147483647:c)},b));J(a.data,10)&&Q(d,"click",ub);if(J(a.data,11))
{a=V.createElement("a");b=Wb();c=Vb;c=void 0===c?Lb:c;a:{c=void 0===c?Lb:c;for(var
e=0;e<c.length;++e){var k=c[e];if(k instanceof Fb&&k.R("#")){c=new R("#",Cb);break
a}}c=void 0}c=c||Db;c===Db&&b("#");if(c instanceof R)var h=c;else if(b=c,b
instanceof R)h=b;else{b=String(b);b:if(c=b,Bb){try{h=new URL(c)}catch(g)
{h="https:";break b}h=
h.protocol}else c:{h=document.createElement("a");try{h.href=c}catch(g){h=void
0;break
c}h=h.protocol;h=":"===h||""===h?"https:":h}"javascript:"===h&&(b="about:invalid#zC
losurez");h=new R(b,Cb)}a.href=h instanceof R&&h.constructor===R?
h.g:"type_error:SafeUrl";a.appendChild(d);return a}return d}
function Gc(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=w(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};var Kc=Sb();if(null==Kc)throw Error("JSC not found
23");for(var Bc={},Lc=Kc.attributes,Mc=Lc.length-1;0<=Mc;Mc--){var
Nc=Lc[Mc].name;0===Nc.indexOf("data-jcp-")&&(Bc[Nc.substring(9)]=Lc[Mc].value)}var
Oc=window;Oc.googqscp=new Ac;Bc["init-data"]&&Oc.googqscp.init(JSON.parse(Bc["init-
data"]));}).call(this);