Professional Documents
Culture Documents
SPDX-License-Identifier: Apache-2.0
*/
class fb{constructor(a){this.R=a}}function R(a){return new
fb(b=>b.substr(0,a.length+1).toLowerCase()===a+":")}const gb=new fb(a=>/^[^:]*([/?
#]|$)/.test(a));var hb=R("http"),ib=R("https"),jb=R("ftp"),kb=R("mailto");const
lb=[R("data"),hb,ib,kb,jb,gb];function mb(a=lb){for(let b=0;b<a.length;++b){const
c=a[b];if(c instanceof fb&&c.R("#"))return new M("#",L)}}function nb(a=lb){return
mb(a)||Sa};function ob(a){return Qa(a)};const
pb=[hb,ib,kb,jb,gb,R("market"),R("itms"),R("intent"),R("itms-appss")];
var qb=()=>{var a=`${"http:"===Q.location.protocol?"http:":"https:"}//$
{"pagead2.googlesyndication.com"}/pagead/gen_204`;return
b=>{b={id:"unsafeurl",ctx:625,url:b};var c=[];for(e in b)Ya(e,b[e],c);var
e=c.join("&");if(e){b=a.indexOf("#");0>b&&(b=a.length);c=a.indexOf("?");if(0>c||
c>b){c=b;var d=""}else
d=a.substring(c+1,b);b=[a.slice(0,c),d,a.slice(b)];c=b[1];b[1]=e?c?
c+"&"+e:e:c;e=b[0]+(b[1]?"?"+b[1]:"")+b[2]}else
e=a;navigator.sendBeacon&&navigator.sendBeacon(e,"")}};var rb=()=>{var
a=P;try{return a.querySelectorAll("*[data-ifc]")}catch(b)
{return[]}},sb=(a,b)=>{a&&Za(b,(c,e)=>{a.style[e]=c})},tb=a=>{var b=P.body;const
c=document.createDocumentFragment(),e=a.length;for(let d=0;d<e;+
+d)c.appendChild(a[d]);b.appendChild(c)};let S=null;function ub(){const
a=m.performance;return a&&a.now&&a.timing?Math.floor(a.now()
+a.timing.navigationStart):Date.now()}function vb(){const a=m.performance;return
a&&a.now?a.now():null};class wb{constructor(a,b){var c=vb()||
ub();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.rando
m();this.taskId=this.slotId=void 0}};const T=m.performance,xb=!!
(T&&T.mark&&T.measure&&T.clearMarks),U=Ua(()=>{var a;if(a=xb){var b;if(null===S)
{S="";try{a="";try{a=m.top.location.hash}catch(c)
{a=m.location.hash}a&&(S=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=S;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});function yb(a)
{a&&T&&U()&&(T.clearMarks(`goog_${a.label}_$
{a.uniqueId}_start`),T.clearMarks(`goog_${a.label}_${a.uniqueId}_end`))}
class zb{constructor(){var a=window;this.h=[];this.l=a||m;let
b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||
[],this.h=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.i=U()||
(null!=b?b:1>Math.random())}start(a,b){if(!this.i)return null;a=new
wb(a,b);b=`goog_${a.label}_${a.uniqueId}_start`;T&&U()&&T.mark(b);return a}end(a)
{if(this.i&&"number"===typeof a.value){a.duration=(vb()||ub())-a.value;var
b=`goog_${a.label}_${a.uniqueId}_end`;T&&U()&&T.mark(b);!this.i||2048<
this.h.length||this.h.push(a)}}};const V=new zb;var
Ab=()=>{window.google_measure_js_timing||(V.i=!1,V.h!
=V.l.google_js_reporting_queue&&(U()&&q(V.h,yb),V.h.length=0))};"number"!==typeof
window.google_srt&&(window.google_srt=Math.random());"complete"==window.document.re
adyState?Ab():V.i&&N(window,"load",()=>{Ab()});var Bb=a=>{N(Q,"message",b=>{let
c;try{c=JSON.parse(b.data)}catch(e){return}!c||"ig"!==c.googMsgType||
a(c,b)})};function W(){this.i=this.i;this.l=this.l}W.prototype.i=!1;function Cb(a)
{a.i||(a.i=!0,a.v())}W.prototype.v=function()
{if(this.l)for(;this.l.length;)this.l.shift()()};function X(a,b,c)
{W.call(this);this.A=a;this.I=b||
0;this.C=c;this.F=p(this.G,this)}ha(X,W);X.prototype.h=0;X.prototype.v=function()
{X.S.v.call(this);this.isActive()&&m.clearTimeout(this.h);this.h=0;delete
this.A;delete this.C};
X.prototype.start=function(a){this.isActive()&&m.clearTimeout(this.h);this.h=0;var
b=this.F;a=void 0!==a?a:this.I;if("function"!==typeof b)if(b&&"function"==typeof
b.handleEvent)b=p(b.handleEvent,b);else throw Error("Invalid listener
argument");this.h=2147483647<Number(a)?-1:m.setTimeout(b,a||
0)};X.prototype.isActive=function(){return 0!=this.h};X.prototype.G=function()
{this.h=0;this.A&&this.A.call(this.C)};const Db={display:"inline-
block",position:"absolute"},Eb={display:"none",width:"100%",height:"100%",top:"0",l
eft:"0"},Y=(a,b)=>{a&&(a.style.display=b?"inline-block":"none")};function Fb(a="")
{const
b={top:0,right:0,bottom:0,left:0};a&&(a=a.split(","),4===a.length&&a.reduce((c,e)=>
c&&!isNaN(+e),!0)&&([b.top,b.right,b.bottom,b.left]=a.map(c=>+c)));return b}
function Gb(a,b,c=2147483647){const e=P.createElement("div");sb(e,{...Db,"z-
index":String(c),...b});I(a.data,10)&&N(e,"click",Ta);if(I(a.data,11))
{a=b=P.createElement("a");c=qb();const d=nb(pb);d===Sa&&c("#");c=new M(ob(d),L);c
instanceof M||c instanceof M||(c="object"==typeof c&&c.l?
c.i():String(c),Ra.test(c)||(c="about:invalid#zClosurez"),c=new
M(c,L));a.href=Qa(c);b.appendChild(e);return b}return e}
function Hb(a,b){switch(E(b.o,5)){case 2:Q.AFMA_Communicator?.addEventListener?.
("onshow",()=>{Z(a,b)});break;case 10:N(Q,"i-creative-view",
()=>{Z(a,b)});break;case 4:N(P,"DOMContentLoaded",()=>{Z(a,b)});break;case
8:Bb(c=>{c.rr&&Z(a,b)});break;case 9:if("IntersectionObserver"in Q){const c=new
IntersectionObserver(e=>{for(const d of e)if(0<d.intersectionRatio)
{Z(a,b);break}});c.observe(P.body);a.P.push(c)}break;case
11:Q.AFMA_Communicator?.addEventListener?.("onAdVisibilityChanged",()=>{Z(a,b)})}}
function Ib(a,b){b=Fb(b);const
c=J(a.data,9);a.v=[{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(e=>Gb(a,e,9019))}
function Jb(a){var b=0;for(const e of a.N){const d=e.o,f=a.G[E(d,5)];e.D||void
0===f||(b=Math.max(b,f+J(d,2)))}a.A&&Cb(a.A);b-=Date.now();const c=a.i;0<b?(Y(c,!
0),a.A=new X(()=>{Y(c,!1)},b),a.A.start()):Y(c,!1)}function Z(a,b){b.D||
(a.G[E(b.o,5)]=Date.now(),I(b.o,9)&&(a.N.push(b),Jb(a)))}
function Kb(a,b,c){if(!a.h||!a.F||300<=b.timeStamp-a.h.timeStamp)return!1;const
e=new Map;q(a.F.changedTouches,d=>{e.set(d.identifier,
{x:d.clientX,y:d.clientY})});b=J(c.o,11)||10;for(const d of
a.h.changedTouches)if(a=e.get(d.identifier),!a||Math.abs(a.x-d.clientX)>b||
Math.abs(a.y-d.clientY)>b)return!0;return!1};window.googqscp=new
class{constructor()
{this.v=[];this.A=this.i=null;this.N=[];this.data=null;this.I=[];this.l=[];this.C=[
];this.G={};this.P=[];this.F=this.h=null}init(a){eb([a]);this.data=new
Pa(a);a=Ca(this.data);q(Ha(a),d=>{this.C.push({J:0,D:!1,K:0,o:d,H:-
1})});this.l=rb();let b=!1;a=this.l.length;for(let d=0;d<a;++d){var c=new
Da(JSON.parse(this.l[d].getAttribute("data-
ifc")||"[]"));q(Ha(c),f=>{this.C.push({J:0,D:!1,K:0,o:f,H:d});1===E(f,4)&&(b=!
0)})}c=a=!1;for(var e of this.C){const d=e.o;0<
J(d,2)&&0<E(d,5)?(!
this.i&&I(d,9)&&(this.i=Gb(this,Eb)),Hb(this,e)):H(d)&&I(d,9)&&Ib(this,H(d));H(d)&&
(a=!0);0<J(d,11)&&(c=!0)}e=[];this.i&&e.push(this.i);!
b&&e.push(...this.v);P.body&&tb(e);I(this.data,13)&&ab(()=>{const
d=P.body.querySelectorAll(".amp-fcp, .amp-bcp");for(let h=0;h<d.length;++h){var
f=(f=d[h])?Q.getComputedStyle(f).getPropertyValue("position"):void
0;"absolute"===f&&Y(d[h],!1)}});N(P,"click",d=>{if(!
1===d.isTrusted&&I(this.data,15))d.preventDefault?d.preventDefault():d.returnValue=
!1,d.stopImmediatePropagation(),db();else{var f=-1,h=[];for(const F of this.C){var
g=F.H,l=-1!==g;if(!(J(F.o,3)<=f||F.D||l&&!1===h[g])){var k=!l||h[g]||
this.l[g].contains(d.target);l&&k&&(h[g]=!
0);if(g=k)if(g=d,k=F,l=k.o,0<J(l,2)&&0<E(l,5))g=this.G[E(l,5)],g=void 0!
==g&&Date.now()<g+J(l,2);else if(H(l)){{l=(0<=k.H?
this.l[k.H]:P.body).getBoundingClientRect();var u=Number;var n=(n=P.body)?
Q.getComputedStyle(n).getPropertyValue("zoom"):void 0;u=u(n||"1");const
[Lb,Mb]=[g.clientX,g.clientY],[aa,ba,la,
ma]=[Lb/u-l.left,Mb/u-l.top,l.width,l.height];if(!(0<la&&0<ma)||isNaN(aa)||
isNaN(ba)||0>aa||0>ba)g=!1;else{k=Fb(H(k.o));n=!(aa>=k.left&&la-
aa>k.right&&ba>=k.top&&ma-ba>k.bottom);if(this.h&&I(this.data,12)&&300>g.timeStamp-
this.h.timeStamp){g=this.h.changedTouches[0];const [ca,da]=[g.clientX/u-
l.left,g.clientY/u-l.top];!isNaN(ca)&&!
isNaN(da)&&0<=ca&&0<=da&&(n=(n=I(this.data,16)?n:!1)||!(ca>=k.left&&la-
ca>k.right&&da>=k.top&&ma-da>k.bottom))}g=n}}}else g=0<J(l,11)?Kb(this,g,k):!
0;if(g){var G=F;f=J(F.o,
3)}}}if(G)switch(f=G.o,E(f,4)){case 2:case 3:d.preventDefault?
d.preventDefault():d.returnValue=!1;h=Date.now();500<h-G.K&&(G.K=h,+
+G.J);h=G.o;if(J(h,8)&&G.J>=J(h,8))if(G.D=!0,this.i&&0<J(h,2))Jb(this);else
if(0<this.v.length&&H(h))for(var na of this.v)Y(na,!1);db();na=f.toJSON();for(const
F of this.I)F(d,na)}}},Va);c&&N(P,"touchstart",d=>{this.F=d},Wa);
(a&&I(this.data,12)||c)&&N(P,"touchend",d=>{this.h=d},Wa)}registerCallback(a)
{this.I.push(a)}};}).call(this);