F
F
SPDX-License-Identifier: Apache-2.0
*/
function R(a,b){this.g=b===cb?a:""}R.prototype.toString=function(){return
this.g.toString()};R.prototype.j=!0;R.prototype.h=function(){return
this.g.toString()};function db(a){return a instanceof R&&a.constructor===R?
a.g:"type_error:SafeUrl"}var
eb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,cb={},fb=new
R("about:invalid#zClosurez",cb);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 S(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=u(a);for(var b=a.next();!b.done;b=a.next())
{b=b.value;try{b()}catch(c){}}}function qb(a){var
b=T;"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
f=a.google_image_requests,l=ua(f,d);0<=l&&Array.prototype.splice.call(f,l,1)}d.remo
veEventListener&&d.removeEventListener("load",e,lb());d.removeEventListener&&d.remo
veEventListener("error",e,lb())};S(d,"load",e);S(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 T=document,U=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.S=a}function V(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=V("http"),zb=V("https"),Ab=V("ftp"),Bb=V("mailto"),Cb=[V("data"),y
b,zb,Bb,Ab,xb];function Db(a){return db(a)};var
Eb=[yb,zb,Bb,Ab,xb,V("market"),V("itms"),V("intent"),V("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?U:a;return"http:"===a.location.protocol}function Hb(){var a=T;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=T.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 W=x.performance,Ob=!!
(W&&W.mark&&W.measure&&W.clearMarks),Pb=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 Qb(){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=Pb()||
(null!=b?b:1>Math.random())}function Rb(a)
{a&&W&&Pb()&&(W.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),W.clearMarks("g
oog_"+a.label+"_"+a.uniqueId+"_end"))}Qb.prototype.start=function(a,b){if(!
this.h)return null;a=new
Nb(a,b);b="goog_"+a.label+"_"+a.uniqueId+"_start";W&&Pb()&&W.mark(b);return a};
Qb.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";W&&Pb()&&W.mark(b);!this.h||
2048<this.g.length||this.g.push(a)}};var X=new Qb;function Sb()
{window.google_measure_js_timing||(X.h=!1,X.g!
=X.j.google_js_reporting_queue&&(Pb()&&va(X.g,Rb),X.g.length=0))}"number"!==typeof
window.google_srt&&(window.google_srt=Math.random());"complete"==window.document.re
adyState?Sb():X.h&&S(window,"load",function(){Sb()});function Tb(a){var b=void
0===b?null:b;S(U,"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 Ub(){this.h=this.h;this.j=this.j}Ub.prototype.h=!1;function
Vb(a){a.h||(a.h=!0,a.l())}Ub.prototype.l=function()
{if(this.j)for(;this.j.length;)this.j.shift()()};function Y(a,b,c)
{Ub.call(this);this.s=a;this.H=b||
0;this.v=c;this.D=z(this.F,this)}ta(Y,Ub);Y.prototype.g=0;Y.prototype.l=function()
{Y.N.l.call(this);this.isActive()&&x.clearTimeout(this.g);this.g=0;delete
this.s;delete this.v};
Y.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)};Y.prototype.isActive=function(){return 0!=this.g};Y.prototype.F=function()
{this.g=0;this.s&&this.s.call(this.v)};var Wb={display:"inline-
block",position:"absolute"},Xb={display:"none",width:"100%",height:"100%",top:"0",l
eft:"0"};function Yb(a,b){a&&(a.style.display=b?"inline-block":"none")}function
Zb(a,b){if(a)return U.getComputedStyle(a).getPropertyValue(b)}function $b()
{this.l=[];this.s=this.h=null;this.O=[];this.data=null;this.H=[];this.j=[];this.v=[
];this.F={};this.R=[];this.D=this.g=null}
$b.prototype.init=function(a){var b=this;vb([a]);this.data=new
bb(a);a=Sa(this.data);va(Ua(a),function(g){b.v.push({I:0,C:!1,K:0,o:g,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 Ta(JSON.parse(this.j[d.B].getAttribute("data-
ifc")||"[]"));va(Ua(e),function(g){return function(h){b.v.push({I:0,C:!
1,K:0,o:h,G:g.B});1===J(h,4)&&(c=!0)}}(d))}d=a=!1;e=u(this.v);for(var f=e.next();!
f.done;f=e.next()){f=f.value;var l=f.o;0<N(l,2)&&0<J(l,5)?(!this.h&&L(l,9)&&
(this.h=ac(this,Xb)),bc(this,f)):K(l)&&L(l,9)&&cc(this,K(l));K(l)&&(a=!
0);0<N(l,11)&&(d=!0)}e=[];this.h&&e.push(this.h);!
c&&e.push.apply(e,ha(this.l));T.body&&Jb(e);L(this.data,13)&&qb(function(){for(var
g=T.body.querySelectorAll(".amp-fcp, .amp-bcp"),h=0;h<g.length;+
+h)"absolute"===Zb(g[h],"position")&&Yb(g[h],!1)});S(T,"click",function(g){if(!
1===g.isTrusted&&L(b.data,15))dc(g),g.stopImmediatePropagation(),ub();else{for(var
h,k=-1,m=[],q=u(b.v),r=q.next();!r.done;r=q.next()){r=r.value;var n=r.G,
p=-1!==n;if(!(N(r.o,3)<=k||r.C||p&&!1===m[n])){var Q=!p||m[n]||
b.j[n].contains(g.target);p&&Q&&(m[n]=!
0);if(n=Q)if(n=g,p=r.o,0<N(p,2)&&0<J(p,5))n=b.F[J(p,5)],n=void 0!
==n&&Date.now()<n+N(p,2);else if(K(p)){p=(0<=r.G?
b.j[r.G]:T.body).getBoundingClientRect();Q=Number(Zb(T.body,"zoom")||"1");var
y=u([n.clientX,n.clientY]),ea=y.next().value;y=y.next().value;y=u([ea/Q-p.left,y/Q-
p.top,p.width,p.height]);var
I=y.next().value,na=y.next().value;ea=y.next().value;y=y.next().value;if(!
(0<ea&&0<y)||isNaN(I)||
isNaN(na)||0>I||0>na)n=!1;else{var M=ec(K(r.o));I=!(I>=M.left&&ea-
I>M.right&&na>=M.top&&y-na>M.bottom);b.g&&L(b.data,12)&&300>n.timeStamp-
b.g.timeStamp&&(n=b.g.changedTouches[0],p=u([n.clientX/Q-p.left,n.clientY/Q-
p.top]),n=p.next().value,p=p.next().value,!isNaN(n)&&!
isNaN(p)&&0<=n&&0<=p&&(I=(I=L(b.data,16)?I:!1)||!(n>=M.left&&ea-
n>M.right&&p>=M.top&&y-p>M.bottom)));n=I}}else n=0<N(p,11)?fc(b,n,r):!
0;n&&(h=r,k=N(r.o,3))}}if(h)switch(k=h.o,J(k,4)){case 2:case
3:dc(g);m=Date.now();500<m-h.K&&(h.K=m,
++h.I);m=h.o;if(N(m,8)&&h.I>=N(m,8))if(h.C=!0,b.h&&0<N(m,2))gc(b);else
if(0<b.l.length&&K(m))for(h=u(b.l),m=h.next();!m.done;m=h.next())Yb(m.value,!
1);ub();h=k.toJSON();k=u(b.H);for(m=k.next();!
m.done;m=k.next())m=m.value,m(g,h)}}},ib);d&&S(T,"touchstart",function(g)
{b.D=g},jb);(a&&L(this.data,12)||d)&&S(T,"touchend",function(g){b.g=g},jb)};
$b.prototype.registerCallback=function(a){this.H.push(a)};
function cc(a,b){b=ec(b);var
c=N(a.data,9);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
ac(a,d,9019)})}function Z(a,b){b.C||
(a.F[J(b.o,5)]=Date.now(),L(b.o,9)&&(a.O.push(b),gc(a)))}
function bc(a,b){switch(J(b.o,5)){case 2:var c,d;null==(c=U.AFMA_Communicator)||
null==(d=c.addEventListener)||d.call(c,"onshow",function(){Z(a,b)});break;case
10:S(U,"i-creative-view",function(){Z(a,b)});break;case
4:S(T,"DOMContentLoaded",function(){Z(a,b)});break;case 8:Tb(function(l)
{l.rr&&Z(a,b)});break;case 9:"IntersectionObserver"in U&&(c=new
IntersectionObserver(function(l){l=u(l);for(var g=l.next();!
g.done;g=l.next())if(0<g.value.intersectionRatio)
{Z(a,b);break}}),c.observe(T.body),a.R.push(c));
break;case 11:var e,f;null==(e=U.AFMA_Communicator)||null==(f=e.addEventListener)||
f.call(e,"onAdVisibilityChanged",function(){Z(a,b)})}}function dc(a){var b=void
0===b?!1:b;a.preventDefault?a.preventDefault():a.returnValue=!
1;b&&a.stopPropagation()}
function fc(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(f){d.set(f.identifier,
{x:f.clientX,y:f.clientY})});b=N(c.o,11)||
10;a=u(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 gc(a){for(var b=0,c=u(a.O),d=c.next();!d.done;d=c.next()){d=d.value;var
e=d.o,f=a.F[J(e,5)];d.C||void 0===f||(b=Math.max(b,f+N(e,2)))}a.s&&Vb(a.s);b-
=Date.now();var l=a.h;0<b?(Yb(l,!0),a.s=new Y(function(){Yb(l,!
1)},b),a.s.start()):Yb(l,!1)}
function ac(a,b,c){var d=T.createElement("div");Ib(d,Object.assign({},Wb,{"z-
index":String(void 0===c?
2147483647:c)},b));L(a.data,10)&&S(d,"click",gb);if(L(a.data,11))
{a=T.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 f=c[e];if(f instanceof wb&&f.S("#")){c=new R("#",cb);break
a}}c=void 0}c=c||fb;c===fb&&b("#");b=new R(Db(c),cb);b instanceof R||b instanceof
R||(b="object"==typeof b&&b.j?b.h():String(b),eb.test(b)||
(b="about:invalid#zClosurez"),
b=new R(b,cb));a.href=db(b);a.appendChild(d);return a}return d}function ec(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=u(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 $b;}).call(this);