(()=>{var Rc=Object.create;var kd=Object.defineProperty,cc=Object.defineProperties,Uc=Object.getOwnPropertyDescriptor,Zc=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertyNames,Ht=Object.getOwnPropertySymbols,Fc=Object.getPrototypeOf,Md=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable;var Xa=(l,t,d)=>t in l?kd(l,t,{enumerable:!0,configurable:!0,writable:!0,value:d}):l[t]=d,O=(l,t)=>{for(var d in t||(t={}))Md.call(t,d)&&Xa(l,d,t[d]);if(Ht)for(var d of Ht(t))ha.call(t,d)&&Xa(l,d,t[d]);return l},ua=(l,t)=>cc(l,Zc(t));var ra=(l,t)=>{var d={};for(var V in l)Md.call(l,V)&&t.indexOf(V)<0&&(d[V]=l[V]);if(l!=null&&Ht)for(var V of Ht(l))t.indexOf(V)<0&&ha.call(l,V)&&(d[V]=l[V]);return d};var F=(l,t)=>()=>(t||l((t={exports:{}}).exports,t),t.exports);var gc=(l,t,d,V)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ic(t))!Md.call(l,i)&&i!==d&&kd(l,i,{get:()=>t[i],enumerable:!(V=Uc(t,i))||V.enumerable});return l};var z=(l,t,d)=>(d=l!=null?Rc(Fc(l)):{},gc(t||!l||!l.__esModule?kd(d,"default",{value:l,enumerable:!0}):d,l));var Ul=(l,t,d)=>new Promise((V,i)=>{var a=n=>{try{G(d.next(n))}catch(b){i(b)}},e=n=>{try{G(d.throw(n))}catch(b){i(b)}},G=n=>n.done?V(n.value):Promise.resolve(n.value).then(a,e);G((d=d.apply(l,t)).next())});var bl=F((Ym,sa)=>{var At=function(l){return l&&l.Math==Math&&l};sa.exports=At(typeof globalThis=="object"&&globalThis)||At(typeof window=="object"&&window)||At(typeof self=="object"&&self)||At(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var el=F((Tm,Ya)=>{Ya.exports=function(l){try{return!!l()}catch(t){return!0}}});var pl=F((Sm,Ta)=>{var mc=el();Ta.exports=!mc(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var Et=F((km,Sa)=>{var Bc=el();Sa.exports=!Bc(function(){var l=function(){}.bind();return typeof l!="function"||l.hasOwnProperty("prototype")})});var zt=F((Mm,ka)=>{var pc=Et(),yt=Function.prototype.call;ka.exports=pc?yt.bind(yt):function(){return yt.apply(yt,arguments)}});var Ea=F(Aa=>{"use strict";var Ma={}.propertyIsEnumerable,Ha=Object.getOwnPropertyDescriptor,oc=Ha&&!Ma.call({1:2},1);Aa.f=oc?function(t){var d=Ha(this,t);return!!d&&d.enumerable}:Ma});var Hd=F((Am,ya)=>{ya.exports=function(l,t){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:t}}});var _=F((Em,La)=>{var za=Et(),wa=Function.prototype,Ad=wa.call,xc=za&&wa.bind.bind(Ad,Ad);La.exports=za?xc:function(l){return function(){return Ad.apply(l,arguments)}}});var Ol=F((ym,Da)=>{var Oa=_(),Cc=Oa({}.toString),Qc=Oa("".slice);Da.exports=function(l){return Qc(Cc(l),8,-1)}});var va=F((zm,ja)=>{var Nc=_(),Jc=el(),Xc=Ol(),Ed=Object,hc=Nc("".split);ja.exports=Jc(function(){return!Ed("z").propertyIsEnumerable(0)})?function(l){return Xc(l)=="String"?hc(l,""):Ed(l)}:Ed});var yd=F((wm,fa)=>{fa.exports=function(l){return l==null}});var Dl=F((Lm,Ka)=>{var uc=yd(),rc=TypeError;Ka.exports=function(l){if(uc(l))throw rc("Can't call method on "+l);return l}});var Vt=F((Om,Pa)=>{var sc=va(),Yc=Dl();Pa.exports=function(l){return sc(Yc(l))}});var wd=F((Dm,_a)=>{var zd=typeof document=="object"&&document.all,Tc=typeof zd=="undefined"&&zd!==void 0;_a.exports={all:zd,IS_HTMLDDA:Tc}});var dl=F((jm,$a)=>{var qa=wd(),Sc=qa.all;$a.exports=qa.IS_HTMLDDA?function(l){return typeof l=="function"||l===Sc}:function(l){return typeof l=="function"}});var Cl=F((vm,db)=>{var lb=dl(),tb=wd(),kc=tb.all;db.exports=tb.IS_HTMLDDA?function(l){return typeof l=="object"?l!==null:lb(l)||l===kc}:function(l){return typeof l=="object"?l!==null:lb(l)}});var jl=F((fm,Vb)=>{var Ld=bl(),Mc=dl(),Hc=function(l){return Mc(l)?l:void 0};Vb.exports=function(l,t){return arguments.length<2?Hc(Ld[l]):Ld[l]&&Ld[l][t]}});var ab=F((Km,ib)=>{var Ac=_();ib.exports=Ac({}.isPrototypeOf)});var Od=F((Pm,bb)=>{var Ec=jl();bb.exports=Ec("navigator","userAgent")||""});var Ub=F((_m,cb)=>{var Rb=bl(),Dd=Od(),eb=Rb.process,nb=Rb.Deno,Gb=eb&&eb.versions||nb&&nb.version,Wb=Gb&&Gb.v8,nl,wt;Wb&&(nl=Wb.split("."),wt=nl[0]>0&&nl[0]<4?1:+(nl[0]+nl[1]));!wt&&Dd&&(nl=Dd.match(/Edge\/(\d+)/),(!nl||nl[1]>=74)&&(nl=Dd.match(/Chrome\/(\d+)/),nl&&(wt=+nl[1])));cb.exports=wt});var jd=F((qm,Ib)=>{var Zb=Ub(),yc=el();Ib.exports=!!Object.getOwnPropertySymbols&&!yc(function(){var l=Symbol();return!String(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&&Zb&&Zb<41})});var vd=F(($m,Fb)=>{var zc=jd();Fb.exports=zc&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var fd=F((lB,gb)=>{var wc=jl(),Lc=dl(),Oc=ab(),Dc=vd(),jc=Object;gb.exports=Dc?function(l){return typeof l=="symbol"}:function(l){var t=wc("Symbol");return Lc(t)&&Oc(t.prototype,jc(l))}});var Bb=F((tB,mb)=>{var vc=String;mb.exports=function(l){try{return vc(l)}catch(t){return"Object"}}});var Lt=F((dB,pb)=>{var fc=dl(),Kc=Bb(),Pc=TypeError;pb.exports=function(l){if(fc(l))return l;throw Pc(Kc(l)+" is not a function")}});var xb=F((VB,ob)=>{var _c=Lt(),qc=yd();ob.exports=function(l,t){var d=l[t];return qc(d)?void 0:_c(d)}});var Qb=F((iB,Cb)=>{var Kd=zt(),Pd=dl(),_d=Cl(),$c=TypeError;Cb.exports=function(l,t){var d,V;if(t==="string"&&Pd(d=l.toString)&&!_d(V=Kd(d,l))||Pd(d=l.valueOf)&&!_d(V=Kd(d,l))||t!=="string"&&Pd(d=l.toString)&&!_d(V=Kd(d,l)))return V;throw $c("Can't convert object to primitive value")}});var Jb=F((aB,Nb)=>{Nb.exports=!1});var Ot=F((bB,hb)=>{var Xb=bl(),l0=Object.defineProperty;hb.exports=function(l,t){try{l0(Xb,l,{value:t,configurable:!0,writable:!0})}catch(d){Xb[l]=t}return t}});var Dt=F((eB,rb)=>{var t0=bl(),d0=Ot(),ub="__core-js_shared__",V0=t0[ub]||d0(ub,{});rb.exports=V0});var qd=F((nB,Yb)=>{var i0=Jb(),sb=Dt();(Yb.exports=function(l,t){return sb[l]||(sb[l]=t!==void 0?t:{})})("versions",[]).push({version:"3.27.1",mode:i0?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})});var $d=F((GB,Tb)=>{var a0=Dl(),b0=Object;Tb.exports=function(l){return b0(a0(l))}});var Ql=F((WB,Sb)=>{var e0=_(),n0=$d(),G0=e0({}.hasOwnProperty);Sb.exports=Object.hasOwn||function(t,d){return G0(n0(t),d)}});var lV=F((RB,kb)=>{var W0=_(),R0=0,c0=Math.random(),U0=W0(1 .toString);kb.exports=function(l){return"Symbol("+(l===void 0?"":l)+")_"+U0(++R0+c0,36)}});var Nl=F((cB,yb)=>{var Z0=bl(),I0=qd(),Mb=Ql(),F0=lV(),Hb=jd(),Eb=vd(),vl=I0("wks"),Tl=Z0.Symbol,Ab=Tl&&Tl.for,g0=Eb?Tl:Tl&&Tl.withoutSetter||F0;yb.exports=function(l){if(!Mb(vl,l)||!(Hb||typeof vl[l]=="string")){var t="Symbol."+l;Hb&&Mb(Tl,l)?vl[l]=Tl[l]:Eb&&Ab?vl[l]=Ab(t):vl[l]=g0(t)}return vl[l]}});var Ob=F((UB,Lb)=>{var m0=zt(),zb=Cl(),wb=fd(),B0=xb(),p0=Qb(),o0=Nl(),x0=TypeError,C0=o0("toPrimitive");Lb.exports=function(l,t){if(!zb(l)||wb(l))return l;var d=B0(l,C0),V;if(d){if(t===void 0&&(t="default"),V=m0(d,l,t),!zb(V)||wb(V))return V;throw x0("Can't convert object to primitive value")}return t===void 0&&(t="number"),p0(l,t)}});var tV=F((ZB,Db)=>{var Q0=Ob(),N0=fd();Db.exports=function(l){var t=Q0(l,"string");return N0(t)?t:t+""}});var VV=F((IB,vb)=>{var J0=bl(),jb=Cl(),dV=J0.document,X0=jb(dV)&&jb(dV.createElement);vb.exports=function(l){return X0?dV.createElement(l):{}}});var iV=F((FB,fb)=>{var h0=pl(),u0=el(),r0=VV();fb.exports=!h0&&!u0(function(){return Object.defineProperty(r0("div"),"a",{get:function(){return 7}}).a!=7})});var aV=F(Pb=>{var s0=pl(),Y0=zt(),T0=Ea(),S0=Hd(),k0=Vt(),M0=tV(),H0=Ql(),A0=iV(),Kb=Object.getOwnPropertyDescriptor;Pb.f=s0?Kb:function(t,d){if(t=k0(t),d=M0(d),A0)try{return Kb(t,d)}catch(V){}if(H0(t,d))return S0(!Y0(T0.f,t,d),t[d])}});var bV=F((mB,_b)=>{var E0=pl(),y0=el();_b.exports=E0&&y0(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})});var it=F((BB,qb)=>{var z0=Cl(),w0=String,L0=TypeError;qb.exports=function(l){if(z0(l))return l;throw L0(w0(l)+" is not an object")}});var fl=F(le=>{var O0=pl(),D0=iV(),j0=bV(),jt=it(),$b=tV(),v0=TypeError,eV=Object.defineProperty,f0=Object.getOwnPropertyDescriptor,nV="enumerable",GV="configurable",WV="writable";le.f=O0?j0?function(t,d,V){if(jt(t),d=$b(d),jt(V),typeof t=="function"&&d==="prototype"&&"value"in V&&WV in V&&!V[WV]){var i=f0(t,d);i&&i[WV]&&(t[d]=V.value,V={configurable:GV in V?V[GV]:i[GV],enumerable:nV in V?V[nV]:i[nV],writable:!1})}return eV(t,d,V)}:eV:function(t,d,V){if(jt(t),d=$b(d),jt(V),D0)try{return eV(t,d,V)}catch(i){}if("get"in V||"set"in V)throw v0("Accessors not supported");return"value"in V&&(t[d]=V.value),t}});var RV=F((oB,te)=>{var K0=pl(),P0=fl(),_0=Hd();te.exports=K0?function(l,t,d){return P0.f(l,t,_0(1,d))}:function(l,t,d){return l[t]=d,l}});var ie=F((xB,Ve)=>{var cV=pl(),q0=Ql(),de=Function.prototype,$0=cV&&Object.getOwnPropertyDescriptor,UV=q0(de,"name"),lU=UV&&function(){}.name==="something",tU=UV&&(!cV||cV&&$0(de,"name").configurable);Ve.exports={EXISTS:UV,PROPER:lU,CONFIGURABLE:tU}});var IV=F((CB,ae)=>{var dU=_(),VU=dl(),ZV=Dt(),iU=dU(Function.toString);VU(ZV.inspectSource)||(ZV.inspectSource=function(l){return iU(l)});ae.exports=ZV.inspectSource});var ne=F((QB,ee)=>{var aU=bl(),bU=dl(),be=aU.WeakMap;ee.exports=bU(be)&&/native code/.test(String(be))});var FV=F((NB,We)=>{var eU=qd(),nU=lV(),Ge=eU("keys");We.exports=function(l){return Ge[l]||(Ge[l]=nU(l))}});var vt=F((JB,Re)=>{Re.exports={}});var Ie=F((XB,Ze)=>{var GU=ne(),Ue=bl(),WU=Cl(),RU=RV(),gV=Ql(),mV=Dt(),cU=FV(),UU=vt(),ce="Object already initialized",BV=Ue.TypeError,ZU=Ue.WeakMap,ft,at,Kt,IU=function(l){return Kt(l)?at(l):ft(l,{})},FU=function(l){return function(t){var d;if(!WU(t)||(d=at(t)).type!==l)throw BV("Incompatible receiver, "+l+" required");return d}};GU||mV.state?(Gl=mV.state||(mV.state=new ZU),Gl.get=Gl.get,Gl.has=Gl.has,Gl.set=Gl.set,ft=function(l,t){if(Gl.has(l))throw BV(ce);return t.facade=l,Gl.set(l,t),t},at=function(l){return Gl.get(l)||{}},Kt=function(l){return Gl.has(l)}):(Sl=cU("state"),UU[Sl]=!0,ft=function(l,t){if(gV(l,Sl))throw BV(ce);return t.facade=l,RU(l,Sl,t),t},at=function(l){return gV(l,Sl)?l[Sl]:{}},Kt=function(l){return gV(l,Sl)});var Gl,Sl;Ze.exports={set:ft,get:at,has:Kt,enforce:IU,getterFor:FU}});var me=F((hB,ge)=>{var gU=el(),mU=dl(),Pt=Ql(),pV=pl(),BU=ie().CONFIGURABLE,pU=IV(),Fe=Ie(),oU=Fe.enforce,xU=Fe.get,_t=Object.defineProperty,CU=pV&&!gU(function(){return _t(function(){},"length",{value:8}).length!==8}),QU=String(String).split("String"),NU=ge.exports=function(l,t,d){String(t).slice(0,7)==="Symbol("&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),d&&d.getter&&(t="get "+t),d&&d.setter&&(t="set "+t),(!Pt(l,"name")||BU&&l.name!==t)&&(pV?_t(l,"name",{value:t,configurable:!0}):l.name=t),CU&&d&&Pt(d,"arity")&&l.length!==d.arity&&_t(l,"length",{value:d.arity});try{d&&Pt(d,"constructor")&&d.constructor?pV&&_t(l,"prototype",{writable:!1}):l.prototype&&(l.prototype=void 0)}catch(i){}var V=oU(l);return Pt(V,"source")||(V.source=QU.join(typeof t=="string"?t:"")),l};Function.prototype.toString=NU(function(){return mU(this)&&xU(this).source||pU(this)},"toString")});var pe=F((uB,Be)=>{var JU=dl(),XU=fl(),hU=me(),uU=Ot();Be.exports=function(l,t,d,V){V||(V={});var i=V.enumerable,a=V.name!==void 0?V.name:t;if(JU(d)&&hU(d,a,V),V.global)i?l[t]=d:uU(t,d);else{try{V.unsafe?l[t]&&(i=!0):delete l[t]}catch(e){}i?l[t]=d:XU.f(l,t,{value:d,enumerable:!1,configurable:!V.nonConfigurable,writable:!V.nonWritable})}return l}});var xe=F((rB,oe)=>{var rU=Math.ceil,sU=Math.floor;oe.exports=Math.trunc||function(t){var d=+t;return(d>0?sU:rU)(d)}});var qt=F((sB,Ce)=>{var YU=xe();Ce.exports=function(l){var t=+l;return t!==t||t===0?0:YU(t)}});var Ne=F((YB,Qe)=>{var TU=qt(),SU=Math.max,kU=Math.min;Qe.exports=function(l,t){var d=TU(l);return d<0?SU(d+t,0):kU(d,t)}});var oV=F((TB,Je)=>{var MU=qt(),HU=Math.min;Je.exports=function(l){return l>0?HU(MU(l),9007199254740991):0}});var $t=F((SB,Xe)=>{var AU=oV();Xe.exports=function(l){return AU(l.length)}});var xV=F((kB,ue)=>{var EU=Vt(),yU=Ne(),zU=$t(),he=function(l){return function(t,d,V){var i=EU(t),a=zU(i),e=yU(V,a),G;if(l&&d!=d){for(;a>e;)if(G=i[e++],G!=G)return!0}else for(;a>e;e++)if((l||e in i)&&i[e]===d)return l||e||0;return!l&&-1}};ue.exports={includes:he(!0),indexOf:he(!1)}});var QV=F((MB,se)=>{var wU=_(),CV=Ql(),LU=Vt(),OU=xV().indexOf,DU=vt(),re=wU([].push);se.exports=function(l,t){var d=LU(l),V=0,i=[],a;for(a in d)!CV(DU,a)&&CV(d,a)&&re(i,a);for(;t.length>V;)CV(d,a=t[V++])&&(~OU(i,a)||re(i,a));return i}});var ld=F((HB,Ye)=>{Ye.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Se=F(Te=>{var jU=QV(),vU=ld(),fU=vU.concat("length","prototype");Te.f=Object.getOwnPropertyNames||function(t){return jU(t,fU)}});var Me=F(ke=>{ke.f=Object.getOwnPropertySymbols});var Ae=F((yB,He)=>{var KU=jl(),PU=_(),_U=Se(),qU=Me(),$U=it(),lZ=PU([].concat);He.exports=KU("Reflect","ownKeys")||function(t){var d=_U.f($U(t)),V=qU.f;return V?lZ(d,V(t)):d}});var ze=F((zB,ye)=>{var Ee=Ql(),tZ=Ae(),dZ=aV(),VZ=fl();ye.exports=function(l,t,d){for(var V=tZ(t),i=VZ.f,a=dZ.f,e=0;e{var iZ=el(),aZ=dl(),bZ=/#|\.prototype\./,bt=function(l,t){var d=nZ[eZ(l)];return d==WZ?!0:d==GZ?!1:aZ(t)?iZ(t):!!t},eZ=bt.normalize=function(l){return String(l).replace(bZ,".").toLowerCase()},nZ=bt.data={},GZ=bt.NATIVE="N",WZ=bt.POLYFILL="P";we.exports=bt});var et=F((LB,Oe)=>{var NV=bl(),RZ=aV().f,cZ=RV(),UZ=pe(),ZZ=Ot(),IZ=ze(),FZ=Le();Oe.exports=function(l,t){var d=l.target,V=l.global,i=l.stat,a,e,G,n,b,W;if(V?e=NV:i?e=NV[d]||ZZ(d,{}):e=(NV[d]||{}).prototype,e)for(G in t){if(b=t[G],l.dontCallGetSet?(W=RZ(e,G),n=W&&W.value):n=e[G],a=FZ(V?G:d+(i?".":"#")+G,l.forced),!a&&n!==void 0){if(typeof b==typeof n)continue;IZ(b,n)}(l.sham||n&&n.sham)&&cZ(b,"sham",!0),UZ(e,G,b,l)}}});var JV=F((OB,De)=>{var gZ=Ol();De.exports=Array.isArray||function(t){return gZ(t)=="Array"}});var ve=F((DB,je)=>{var mZ=TypeError,BZ=9007199254740991;je.exports=function(l){if(l>BZ)throw mZ("Maximum allowed index exceeded");return l}});var Ke=F((jB,fe)=>{var pZ=Ol(),oZ=_();fe.exports=function(l){if(pZ(l)==="Function")return oZ(l)}});var qe=F((vB,_e)=>{var Pe=Ke(),xZ=Lt(),CZ=Et(),QZ=Pe(Pe.bind);_e.exports=function(l,t){return xZ(l),t===void 0?l:CZ?QZ(l,t):function(){return l.apply(t,arguments)}}});var tn=F((fB,ln)=>{"use strict";var NZ=JV(),JZ=$t(),XZ=ve(),hZ=qe(),$e=function(l,t,d,V,i,a,e,G){for(var n=i,b=0,W=e?hZ(e,G):!1,R,c;b0&&NZ(R)?(c=JZ(R),n=$e(l,t,R,c,n,a-1)-1):(XZ(n+1),l[n]=R),n++),b++;return n};ln.exports=$e});var an=F((KB,Vn)=>{var uZ=Nl(),rZ=uZ("toStringTag"),dn={};dn[rZ]="z";Vn.exports=String(dn)==="[object z]"});var XV=F((PB,bn)=>{var sZ=an(),YZ=dl(),td=Ol(),TZ=Nl(),SZ=TZ("toStringTag"),kZ=Object,MZ=td(function(){return arguments}())=="Arguments",HZ=function(l,t){try{return l[t]}catch(d){}};bn.exports=sZ?td:function(l){var t,d,V;return l===void 0?"Undefined":l===null?"Null":typeof(d=HZ(t=kZ(l),SZ))=="string"?d:MZ?td(t):(V=td(t))=="Object"&&YZ(t.callee)?"Arguments":V}});var cn=F((_B,Rn)=>{var AZ=_(),EZ=el(),en=dl(),yZ=XV(),zZ=jl(),wZ=IV(),nn=function(){},LZ=[],Gn=zZ("Reflect","construct"),hV=/^\s*(?:class|function)\b/,OZ=AZ(hV.exec),DZ=!hV.exec(nn),nt=function(t){if(!en(t))return!1;try{return Gn(nn,LZ,t),!0}catch(d){return!1}},Wn=function(t){if(!en(t))return!1;switch(yZ(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return DZ||!!OZ(hV,wZ(t))}catch(d){return!0}};Wn.sham=!0;Rn.exports=!Gn||EZ(function(){var l;return nt(nt.call)||!nt(Object)||!nt(function(){l=!0})||l})?Wn:nt});var Fn=F((qB,In)=>{var Un=JV(),jZ=cn(),vZ=Cl(),fZ=Nl(),KZ=fZ("species"),Zn=Array;In.exports=function(l){var t;return Un(l)&&(t=l.constructor,jZ(t)&&(t===Zn||Un(t.prototype))?t=void 0:vZ(t)&&(t=t[KZ],t===null&&(t=void 0))),t===void 0?Zn:t}});var mn=F(($B,gn)=>{var PZ=Fn();gn.exports=function(l,t){return new(PZ(l))(t===0?0:t)}});var Bn=F(()=>{"use strict";var _Z=et(),qZ=tn(),$Z=Lt(),lI=$d(),tI=$t(),dI=mn();_Z({target:"Array",proto:!0},{flatMap:function(t){var d=lI(this),V=tI(d),i;return $Z(t),i=dI(d,0),i.length=qZ(i,d,d,V,0,1,t,arguments.length>1?arguments[1]:void 0),i}})});var on=F((dp,pn)=>{var VI=QV(),iI=ld();pn.exports=Object.keys||function(t){return VI(t,iI)}});var Cn=F(xn=>{var aI=pl(),bI=bV(),eI=fl(),nI=it(),GI=Vt(),WI=on();xn.f=aI&&!bI?Object.defineProperties:function(t,d){nI(t);for(var V=GI(d),i=WI(d),a=i.length,e=0,G;a>e;)eI.f(t,G=i[e++],V[G]);return t}});var Nn=F((ip,Qn)=>{var RI=jl();Qn.exports=RI("document","documentElement")});var Tn=F((ap,Yn)=>{var cI=it(),UI=Cn(),Jn=ld(),ZI=vt(),II=Nn(),FI=VV(),gI=FV(),Xn=">",hn="<",rV="prototype",sV="script",rn=gI("IE_PROTO"),uV=function(){},sn=function(l){return hn+sV+Xn+l+hn+"/"+sV+Xn},un=function(l){l.write(sn("")),l.close();var t=l.parentWindow.Object;return l=null,t},mI=function(){var l=FI("iframe"),t="java"+sV+":",d;return l.style.display="none",II.appendChild(l),l.src=String(t),d=l.contentWindow.document,d.open(),d.write(sn("document.F=Object")),d.close(),d.F},dd,Vd=function(){try{dd=new ActiveXObject("htmlfile")}catch(t){}Vd=typeof document!="undefined"?document.domain&&dd?un(dd):mI():un(dd);for(var l=Jn.length;l--;)delete Vd[rV][Jn[l]];return Vd()};ZI[rn]=!0;Yn.exports=Object.create||function(t,d){var V;return t!==null?(uV[rV]=cI(t),V=new uV,uV[rV]=null,V[rn]=t):V=Vd(),d===void 0?V:UI.f(V,d)}});var SV=F((bp,Sn)=>{var BI=Nl(),pI=Tn(),oI=fl().f,YV=BI("unscopables"),TV=Array.prototype;TV[YV]==null&&oI(TV,YV,{configurable:!0,value:pI(null)});Sn.exports=function(l){TV[YV][l]=!0}});var kn=F(()=>{var xI=SV();xI("flatMap")});var Gt=F((Gp,Mn)=>{var CI=bl(),QI=_();Mn.exports=function(l,t){return QI(CI[l].prototype[t])}});var An=F((Wp,Hn)=>{Bn();kn();var NI=Gt();Hn.exports=NI("Array","flatMap")});var yn=F((Rp,En)=>{var JI=An();En.exports=JI});var wn=F((cp,zn)=>{var XI=yn();zn.exports=XI});var Ln=F(()=>{"use strict";var hI=et(),uI=xV().includes,rI=el(),sI=SV(),YI=rI(function(){return!Array(1).includes()});hI({target:"Array",proto:!0,forced:YI},{includes:function(t){return uI(this,t,arguments.length>1?arguments[1]:void 0)}});sI("includes")});var Dn=F((Ip,On)=>{Ln();var TI=Gt();On.exports=TI("Array","includes")});var vn=F((Fp,jn)=>{var SI=Dn();jn.exports=SI});var Kn=F((gp,fn)=>{var kI=vn();fn.exports=kI});var _n=F((mp,Pn)=>{var MI=Cl(),HI=Ol(),AI=Nl(),EI=AI("match");Pn.exports=function(l){var t;return MI(l)&&((t=l[EI])!==void 0?!!t:HI(l)=="RegExp")}});var $n=F((Bp,qn)=>{var yI=_n(),zI=TypeError;qn.exports=function(l){if(yI(l))throw zI("The method doesn't accept regular expressions");return l}});var id=F((pp,lG)=>{var wI=XV(),LI=String;lG.exports=function(l){if(wI(l)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return LI(l)}});var dG=F((op,tG)=>{var OI=Nl(),DI=OI("match");tG.exports=function(l){var t=/./;try{"/./"[l](t)}catch(d){try{return t[DI]=!1,"/./"[l](t)}catch(V){}}return!1}});var iG=F(()=>{"use strict";var jI=et(),vI=_(),fI=$n(),KI=Dl(),VG=id(),PI=dG(),_I=vI("".indexOf);jI({target:"String",proto:!0,forced:!PI("includes")},{includes:function(t){return!!~_I(VG(KI(this)),VG(fI(t)),arguments.length>1?arguments[1]:void 0)}})});var bG=F((Qp,aG)=>{iG();var qI=Gt();aG.exports=qI("String","includes")});var nG=F((Np,eG)=>{var $I=bG();eG.exports=$I});var WG=F((Jp,GG)=>{var lF=nG();GG.exports=lF});var cG=F((Xp,RG)=>{"use strict";var tF=qt(),dF=id(),VF=Dl(),iF=RangeError;RG.exports=function(t){var d=dF(VF(this)),V="",i=tF(t);if(i<0||i==1/0)throw iF("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(d+=d))i&1&&(V+=d);return V}});var gG=F((hp,FG)=>{var IG=_(),aF=oV(),UG=id(),bF=cG(),eF=Dl(),nF=IG(bF),GF=IG("".slice),WF=Math.ceil,ZG=function(l){return function(t,d,V){var i=UG(eF(t)),a=aF(d),e=i.length,G=V===void 0?" ":UG(V),n,b;return a<=e||G==""?i:(n=a-e,b=nF(G,WF(n/G.length)),b.length>n&&(b=GF(b,0,n)),l?i+b:b+i)}};FG.exports={start:ZG(!1),end:ZG(!0)}});var BG=F((up,mG)=>{var RF=Od();mG.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(RF)});var pG=F(()=>{"use strict";var cF=et(),UF=gG().start,ZF=BG();cF({target:"String",proto:!0,forced:ZF},{padStart:function(t){return UF(this,t,arguments.length>1?arguments[1]:void 0)}})});var xG=F((Yp,oG)=>{pG();var IF=Gt();oG.exports=IF("String","padStart")});var QG=F((Tp,CG)=>{var FF=xG();CG.exports=FF});var JG=F((Sp,NG)=>{var gF=QG();NG.exports=gF});var TG=F((Hp,EV)=>{function AV(){}AV.prototype={on:function(l,t,d){var V=this.e||(this.e={});return(V[l]||(V[l]=[])).push({fn:t,ctx:d}),this},once:function(l,t,d){var V=this;function i(){V.off(l,i),t.apply(d,arguments)}return i._=t,this.on(l,i,d)},emit:function(l){var t=[].slice.call(arguments,1),d=((this.e||(this.e={}))[l]||[]).slice(),V=0,i=d.length;for(V;V{(function(l){"use strict";var t=function(){},d=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.msRequestAnimationFrame||function(b){return setTimeout(b,16)};function V(){var b=this;b.reads=[],b.writes=[],b.raf=d.bind(l),t("initialized",b)}V.prototype={constructor:V,runTasks:function(b){t("run tasks");for(var W;W=b.shift();)W()},measure:function(b,W){t("measure");var R=W?b.bind(W):b;return this.reads.push(R),i(this),R},mutate:function(b,W){t("mutate");var R=W?b.bind(W):b;return this.writes.push(R),i(this),R},clear:function(b){return t("clear",b),e(this.reads,b)||e(this.writes,b)},extend:function(b){if(t("extend",b),typeof b!="object")throw new Error("expected object");var W=Object.create(this);return G(W,b),W.fastdom=this,W.initialize&&W.initialize(),W},catch:null};function i(b){b.scheduled||(b.scheduled=!0,b.raf(a.bind(null,b)),t("flush scheduled"))}function a(b){t("flush");var W=b.writes,R=b.reads,c;try{t("flushing reads",R.length),b.runTasks(R),t("flushing writes",W.length),b.runTasks(W)}catch(I){c=I}if(b.scheduled=!1,(R.length||W.length)&&i(b),c)if(t("task errored",c.message),b.catch)b.catch(c);else throw c}function e(b,W){var R=b.indexOf(W);return!!~R&&!!b.splice(R,1)}function G(b,W){for(var R in W)W.hasOwnProperty(R)&&(b[R]=W[R])}var n=l.fastdom=l.fastdom||new V;typeof vV=="object"&&(vV.exports=n)})(typeof window!="undefined"?window:typeof jV!="undefined"?jV:globalThis)});var KV=F((to,yG)=>{yG.exports=EF;function EF(l,t,d){return td?d:l:lt?t:l}});var PV=F((eo,bd)=>{(function(){"use strict";var l=function(){function t(){}t.prototype=Object.create(null);function d(W,R){for(var c=R.length,I=0;I{(function(l){var t={browser:[[/msie ([\.\_\d]+)/,"ie"],[/trident\/.*?rv:([\.\_\d]+)/,"ie"],[/firefox\/([\.\_\d]+)/,"firefox"],[/chrome\/([\.\_\d]+)/,"chrome"],[/version\/([\.\_\d]+).*?safari/,"safari"],[/mobile safari ([\.\_\d]+)/,"safari"],[/android.*?version\/([\.\_\d]+).*?safari/,"com.android.browser"],[/crios\/([\.\_\d]+).*?safari/,"chrome"],[/opera/,"opera"],[/opera\/([\.\_\d]+)/,"opera"],[/opera ([\.\_\d]+)/,"opera"],[/opera mini.*?version\/([\.\_\d]+)/,"opera.mini"],[/opios\/([a-z\.\_\d]+)/,"opera"],[/blackberry/,"blackberry"],[/blackberry.*?version\/([\.\_\d]+)/,"blackberry"],[/bb\d+.*?version\/([\.\_\d]+)/,"blackberry"],[/rim.*?version\/([\.\_\d]+)/,"blackberry"],[/iceweasel\/([\.\_\d]+)/,"iceweasel"],[/edge\/([\.\d]+)/,"edge"]],os:[[/linux ()([a-z\.\_\d]+)/,"linux"],[/mac os x/,"macos"],[/mac os x.*?([\.\_\d]+)/,"macos"],[/os ([\.\_\d]+) like mac os/,"ios"],[/openbsd ()([a-z\.\_\d]+)/,"openbsd"],[/android/,"android"],[/android ([a-z\.\_\d]+);/,"android"],[/mozilla\/[a-z\.\_\d]+ \((?:mobile)|(?:tablet)/,"firefoxos"],[/windows\s*(?:nt)?\s*([\.\_\d]+)/,"windows"],[/windows phone.*?([\.\_\d]+)/,"windows.phone"],[/windows mobile/,"windows.mobile"],[/blackberry/,"blackberryos"],[/bb\d+/,"blackberryos"],[/rim.*?os\s*([\.\_\d]+)/,"blackberryos"]],device:[[/ipad/,"ipad"],[/iphone/,"iphone"],[/lumia/,"lumia"],[/htc/,"htc"],[/nexus/,"nexus"],[/galaxy nexus/,"galaxy.nexus"],[/nokia/,"nokia"],[/ gt\-/,"galaxy"],[/ sm\-/,"galaxy"],[/xbox/,"xbox"],[/(?:bb\d+)|(?:blackberry)|(?: rim )/,"blackberry"]]},d="Unknown",V=Object.keys(t);function i(){var G=this;V.forEach(function(n){G[n]={name:d,version:[],versionString:d}})}function a(G,n,b){t[n].forEach(function(W){var R=W[0],c=W[1],I=b.match(R);I&&(G[n].name=c,I[2]?(G[n].versionString=I[2],G[n].version=[]):I[1]?(G[n].versionString=I[1].replace(/_/g,"."),G[n].version=e(I[1])):(G[n].versionString=d,G[n].version=[]))})}function e(G){return G.split(/[\._]/).map(function(n){return parseInt(n)})}i.prototype.sniff=function(G){var n=this,b=typeof window!="undefined",W=b?navigator.userAgent:"",R=(G||W).toLowerCase();return V.forEach(function(c){a(n,c,R)}),this},typeof ed!="undefined"&&ed.exports?ed.exports=i:(l.Sniffr=new i,l.Sniffr.sniff(navigator.userAgent))})(zG)});var di=F((To,KG)=>{KG.exports=function(){var l=function(G){return typeof G=="function"},t=function(G){var n=Number(G);return isNaN(n)?0:n===0||!isFinite(n)?n:(n>0?1:-1)*Math.floor(Math.abs(n))},d=Math.pow(2,53)-1,V=function(G){var n=t(G);return Math.min(Math.max(n,0),d)},i=function(G){if(G!=null){if(["string","number","boolean","symbol"].indexOf(typeof G)>-1)return Symbol.iterator;if(typeof Symbol!="undefined"&&"iterator"in Symbol&&Symbol.iterator in G)return Symbol.iterator;if("@@iterator"in G)return"@@iterator"}},a=function(G,n){if(G!=null&&n!=null){var b=G[n];if(b==null)return;if(!l(b))throw new TypeError(b+" is not a function");return b}},e=function(G){var n=G.next(),b=!!n.done;return b?!1:n};return function(n){"use strict";var b=this,W=arguments.length>1?arguments[1]:void 0,R;if(typeof W!="undefined"){if(!l(W))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(R=arguments[2])}var c,I,m=a(n,i(n));if(m!==void 0){c=l(b)?Object(new b):[];var Z=m.call(n);if(Z==null)throw new TypeError("Array.from requires an array-like or iterable object");I=0;for(var U,B;;){if(U=e(Z),!U)return c.length=I,c;B=U.value,W?c[I]=W.call(R,B,I):c[I]=B,I++}}else{var Q=Object(n);if(n==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");var J=V(Q.length);c=l(b)?Object(new b(J)):new Array(J),I=0;for(var h;I{var Ft,gt;typeof document.hidden!="undefined"?(Ft="hidden",gt="visibilitychange"):typeof document.mozHidden!="undefined"?(Ft="mozHidden",gt="mozvisibilitychange"):typeof document.msHidden!="undefined"?(Ft="msHidden",gt="msvisibilitychange"):typeof document.webkitHidden!="undefined"&&(Ft="webkitHidden",gt="webkitvisibilitychange");$G.exports={hidden:Ft,visibilityChange:gt}});var iW=F((Bt,ai)=>{(function(l,t){typeof Bt=="object"&&typeof ai=="object"?ai.exports=t():typeof Bt=="object"?Bt.StateMachine=t():l.StateMachine=t()})(Bt,function(){return d={},l.m=t=[function(V,i,a){"use strict";V.exports=function(e,G){for(var n,b,W=1;W{(function(l,t){typeof ud=="object"&&ud.exports?ud.exports=t():function d(){document&&document.body?l.zenscroll=t():setTimeout(d,9)}()})(fW,function(){"use strict";var l=function(n){return n&&"getComputedStyle"in window&&window.getComputedStyle(n)["scroll-behavior"]==="smooth"};if(typeof window=="undefined"||!("document"in window))return{};var t=function(n,b,W){b=b||999,!W&&W!==0&&(W=9);var R,c=function(h){R=h},I=function(){clearTimeout(R),c(0)},m=function(h){return Math.max(0,n.getTopOf(h)-W)},Z=function(h,C,g){if(I(),C===0||C&&C<0||l(n.body))n.toY(h),g&&g();else{var s=n.getY(),N=Math.max(0,h)-s,M=new Date().getTime();C=C||Math.min(Math.abs(N),b),function E(){c(setTimeout(function(){var T=Math.min(1,(new Date().getTime()-M)/C),x=Math.max(0,Math.floor(s+N*(T<.5?2*T*T:T*(4-T*2)-1)));n.toY(x),T<1&&n.getHeight()+xM?U(h,C,g):N+W>T?Z(N-M+W,C,g):g&&g()},Q=function(h,C,g,s){Z(Math.max(0,n.getTopOf(h)-n.getHeight()/2+(g||h.getBoundingClientRect().height/2)),C,s)},J=function(h,C){return(h===0||h)&&(b=h),(C===0||C)&&(W=C),{defaultDuration:b,edgeOffset:W}};return{setup:J,to:U,toY:Z,intoView:B,center:Q,stop:I,moving:function(){return!!R},getY:n.getY,getTopOf:n.getTopOf}},d=document.documentElement,V=function(){return window.scrollY||d.scrollTop},i=t({body:document.scrollingElement||document.body,toY:function(n){window.scrollTo(0,n)},getY:V,getHeight:function(){return window.innerHeight||d.clientHeight},getTopOf:function(n){return n.getBoundingClientRect().top+V()-d.offsetTop}});if(i.createScroller=function(n,b,W){return t({body:n,toY:function(R){n.scrollTop=R},getY:function(){return n.scrollTop},getHeight:function(){return Math.min(n.clientHeight,window.innerHeight||d.clientHeight)},getTopOf:function(R){return R.offsetTop}},b,W)},"addEventListener"in window&&!window.noZensmooth&&!l(document.body)){var a="history"in window&&"pushState"in history,e=a&&"scrollRestoration"in history;e&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){e&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(n){n.state&&"zenscrollY"in n.state&&i.toY(n.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var n=i.setup().edgeOffset;if(n){var b=document.getElementById(window.location.href.split("#")[1]);if(b){var W=Math.max(0,i.getTopOf(b)-n),R=i.getY()-W;0<=R&&R<9&&window.scrollTo(0,W)}}},9)},!1);var G=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(n){for(var b=n.target;b&&b.tagName!=="A";)b=b.parentNode;if(!(!b||n.which!==1||n.shiftKey||n.metaKey||n.ctrlKey||n.altKey)){if(e){var W=history.state&&typeof history.state=="object"?history.state:{};W.zenscrollY=i.getY();try{history.replaceState(W,"")}catch(U){}}var R=b.getAttribute("href")||"";if(R.indexOf("#")===0&&!G.test(b.className)){var c=0,I=document.getElementById(R.substring(1));if(R!=="#"){if(!I)return;c=i.getTopOf(I)}n.preventDefault();var m=function(){window.location=R},Z=i.setup().edgeOffset;Z&&(c=Math.max(0,c-Z),a&&(m=function(){history.pushState({},"",R)})),i.toY(c,null,m)}}},!1)}return i})});var Di=F((uN,dR)=>{"use strict";var Q1=dR.exports={};Q1.forEach=function(l,t){for(var d=0;d{"use strict";VR.exports=function(l){var t=l.stateHandler.getState;function d(e){var G=t(e);return G&&!!G.isDetectable}function V(e){t(e).isDetectable=!0}function i(e){return!!t(e).busy}function a(e,G){t(e).busy=!!G}return{isDetectable:d,markAsDetectable:V,isBusy:i,markBusy:a}}});var bR=F((sN,aR)=>{"use strict";aR.exports=function(l){var t={};function d(e){var G=l.get(e);return G===void 0?[]:t[G]||[]}function V(e,G){var n=l.get(e);t[n]||(t[n]=[]),t[n].push(G)}function i(e,G){for(var n=d(e),b=0,W=n.length;b{"use strict";eR.exports=function(){var l=1;function t(){return l++}return{generate:t}}});var WR=F((TN,GR)=>{"use strict";GR.exports=function(l){var t=l.idGenerator,d=l.stateHandler.getState;function V(a){var e=d(a);return e&&e.id!==void 0?e.id:null}function i(a){var e=d(a);if(!e)throw new Error("setId required the element to have a resize detection state.");var G=t.generate();return e.id=G,G}return{get:V,set:i}}});var cR=F((SN,RR)=>{"use strict";RR.exports=function(l){function t(){}var d={log:t,warn:t,error:t};if(!l&&window.console){var V=function(i,a){i[a]=function(){var G=console[a];if(G.apply)G.apply(console,arguments);else for(var n=0;n{"use strict";var UR=ZR.exports={};UR.isIE=function(l){function t(){var V=navigator.userAgent.toLowerCase();return V.indexOf("msie")!==-1||V.indexOf("trident")!==-1||V.indexOf(" edge/")!==-1}if(!t())return!1;if(!l)return!0;var d=function(){var V,i=3,a=document.createElement("div"),e=a.getElementsByTagName("i");do a.innerHTML="";while(e[0]);return i>4?i:V}();return l===d};UR.isLegacyOpera=function(){return!!window.opera}});var FR=F((MN,IR)=>{"use strict";var N1=IR.exports={};N1.getOption=J1;function J1(l,t,d){var V=l[t];return V==null&&d!==void 0?d:V}});var pR=F((HN,BR)=>{"use strict";var gR=FR();BR.exports=function(t){t=t||{};var d=t.reporter,V=gR.getOption(t,"async",!0),i=gR.getOption(t,"auto",!0);i&&!V&&(d&&d.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),V=!0);var a=mR(),e,G=!1;function n(Z,U){!G&&i&&V&&a.size()===0&&R(),a.add(Z,U)}function b(){for(G=!0;a.size();){var Z=a;a=mR(),Z.process()}G=!1}function W(Z){G||(Z===void 0&&(Z=V),e&&(I(e),e=null),Z?R():b())}function R(){e=m(b)}function c(){a={},batchSize=0,topLevel=0,bottomLevel=0}function I(Z){var U=clearTimeout;return U(Z)}function m(Z){var U=function(B){return setTimeout(B,0)};return U(Z)}return{add:n,force:W}};function mR(){var l={},t=0,d=0,V=0;function i(G,n){n||(n=G,G=0),G>d?d=G:G{"use strict";var vi="_erd";function X1(l){return l[vi]={},oR(l)}function oR(l){return l[vi]}function h1(l){delete l[vi]}xR.exports={initState:X1,getState:oR,cleanState:h1}});var NR=F((EN,QR)=>{"use strict";var Yt=ji();QR.exports=function(l){l=l||{};var t=l.reporter,d=l.batchProcessor,V=l.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function i(b,W){function R(){W(b)}if(Yt.isIE(8))V(b).object={proxy:R},b.attachEvent("onresize",R);else{var c=G(b);if(!c)throw new Error("Element is not detectable by this strategy.");c.contentDocument.defaultView.addEventListener("resize",R)}}function a(b){var W=l.important?" !important; ":"; ";return(b.join(W)+W).trim()}function e(b,W,R){R||(R=W,W=b,b=null),b=b||{};var c=b.debug;function I(m,Z){var U=a(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),B=!1,Q=window.getComputedStyle(m),J=m.offsetWidth,h=m.offsetHeight;V(m).startSize={width:J,height:h};function C(){function g(){if(Q.position==="static"){m.style.setProperty("position","relative",b.important?"important":"");var M=function(E,T,x,o){function X(w){return w.replace(/[^-\d\.]/g,"")}var r=x[o];r!=="auto"&&X(r)!=="0"&&(E.warn("An element that is positioned static has style."+o+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+o+" will be set to 0. Element: ",T),T.style.setProperty(o,"0",b.important?"important":""))};M(t,m,Q,"top"),M(t,m,Q,"right"),M(t,m,Q,"bottom"),M(t,m,Q,"left")}}function s(){B||g();function M(T,x){if(!T.contentDocument){var o=V(T);o.checkForObjectDocumentTimeoutId&&window.clearTimeout(o.checkForObjectDocumentTimeoutId),o.checkForObjectDocumentTimeoutId=setTimeout(function(){o.checkForObjectDocumentTimeoutId=0,M(T,x)},100);return}x(T.contentDocument)}var E=this;M(E,function(x){Z(m)})}Q.position!==""&&(g(Q),B=!0);var N=document.createElement("object");N.style.cssText=U,N.tabIndex=-1,N.type="text/html",N.setAttribute("aria-hidden","true"),N.onload=s,Yt.isIE()||(N.data="about:blank"),V(m)&&(m.appendChild(N),V(m).object=N,Yt.isIE()&&(N.data="about:blank"))}d?d.add(C):C()}Yt.isIE(8)?R(W):I(W,R)}function G(b){return V(b).object}function n(b){if(V(b)){var W=G(b);W&&(Yt.isIE(8)?b.detachEvent("onresize",W.proxy):b.removeChild(W),V(b).checkForObjectDocumentTimeoutId&&window.clearTimeout(V(b).checkForObjectDocumentTimeoutId),delete V(b).object)}}return{makeDetectable:e,addListener:i,uninstall:n}}});var XR=F((yN,JR)=>{"use strict";var u1=Di().forEach;JR.exports=function(l){l=l||{};var t=l.reporter,d=l.batchProcessor,V=l.stateHandler.getState,i=l.stateHandler.hasState,a=l.idHandler;if(!d)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var e=R(),G="erd_scroll_detection_scrollbar_style",n="erd_scroll_detection_container";function b(C){c(C,G,n)}b(window.document);function W(C){var g=l.important?" !important; ":"; ";return(C.join(g)+g).trim()}function R(){var C=500,g=500,s=document.createElement("div");s.style.cssText=W(["position: absolute","width: "+C*2+"px","height: "+g*2+"px","visibility: hidden","margin: 0","padding: 0"]);var N=document.createElement("div");N.style.cssText=W(["position: absolute","width: "+C+"px","height: "+g+"px","overflow: scroll","visibility: none","top: "+-C*3+"px","left: "+-g*3+"px","visibility: hidden","margin: 0","padding: 0"]),N.appendChild(s),document.body.insertBefore(N,document.body.firstChild);var M=C-N.clientWidth,E=g-N.clientHeight;return document.body.removeChild(N),{width:M,height:E}}function c(C,g,s){function N(x,o){o=o||function(r){C.head.appendChild(r)};var X=C.createElement("style");return X.innerHTML=x,X.id=g,o(X),X}if(!C.getElementById(g)){var M=s+"_animation",E=s+"_animation_active",T=`/* Created by the element-resize-detector library. */ `;T+="."+s+" > div::-webkit-scrollbar { "+W(["display: none"])+` } `,T+="."+E+" { "+W(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+M,"animation-name: "+M])+` } `,T+="@-webkit-keyframes "+M+` { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } `,T+="@keyframes "+M+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",N(T)}}function I(C){C.className+=" "+n+"_animation_active"}function m(C,g,s){if(C.addEventListener)C.addEventListener(g,s);else if(C.attachEvent)C.attachEvent("on"+g,s);else return t.error("[scroll] Don't know how to add event listeners.")}function Z(C,g,s){if(C.removeEventListener)C.removeEventListener(g,s);else if(C.detachEvent)C.detachEvent("on"+g,s);else return t.error("[scroll] Don't know how to remove event listeners.")}function U(C){return V(C).container.childNodes[0].childNodes[0].childNodes[0]}function B(C){return V(C).container.childNodes[0].childNodes[0].childNodes[1]}function Q(C,g){var s=V(C).listeners;if(!s.push)throw new Error("Cannot add listener to an element that is not detectable.");V(C).listeners.push(g)}function J(C,g,s){s||(s=g,g=C,C=null),C=C||{};function N(){if(C.debug){var u=Array.prototype.slice.call(arguments);if(u.unshift(a.get(g),"Scroll: "),t.log.apply)t.log.apply(null,u);else for(var H=0;H{"use strict";var Tt=Di().forEach,r1=iR(),s1=bR(),Y1=nR(),T1=WR(),S1=cR(),hR=ji(),k1=pR(),hl=CR(),M1=NR(),H1=XR();function uR(l){return Array.isArray(l)||l.length!==void 0}function rR(l){if(Array.isArray(l))return l;var t=[];return Tt(l,function(d){t.push(d)}),t}function sR(l){return l&&l.nodeType===1}YR.exports=function(l){l=l||{};var t;if(l.idHandler)t={get:function(Q){return l.idHandler.get(Q,!0)},set:l.idHandler.set};else{var d=Y1(),V=T1({idGenerator:d,stateHandler:hl});t=V}var i=l.reporter;if(!i){var a=i===!1;i=S1(a)}var e=ul(l,"batchProcessor",k1({reporter:i})),G={};G.callOnAdd=!!ul(l,"callOnAdd",!0),G.debug=!!ul(l,"debug",!1);var n=s1(t),b=r1({stateHandler:hl}),W,R=ul(l,"strategy","object"),c=ul(l,"important",!1),I={reporter:i,batchProcessor:e,stateHandler:hl,idHandler:t,important:c};if(R==="scroll"&&(hR.isLegacyOpera()?(i.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),R="object"):hR.isIE(9)&&(i.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),R="object")),R==="scroll")W=H1(I);else if(R==="object")W=M1(I);else throw new Error("Invalid strategy name: "+R);var m={};function Z(Q,J,h){function C(T){var x=n.get(T);Tt(x,function(X){X(T)})}function g(T,x,o){n.add(x,o),T&&o(x)}if(h||(h=J,J=Q,Q={}),!J)throw new Error("At least one element required.");if(!h)throw new Error("Listener required.");if(sR(J))J=[J];else if(uR(J))J=rR(J);else return i.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");var s=0,N=ul(Q,"callOnAdd",G.callOnAdd),M=ul(Q,"onReady",function(){}),E=ul(Q,"debug",G.debug);Tt(J,function(x){hl.getState(x)||(hl.initState(x),t.set(x));var o=t.get(x);if(E&&i.log("Attaching listener to element",o,x),!b.isDetectable(x)){if(E&&i.log(o,"Not detectable."),b.isBusy(x)){E&&i.log(o,"System busy making it detectable"),g(N,x,h),m[o]=m[o]||[],m[o].push(function(){s++,s===J.length&&M()});return}return E&&i.log(o,"Making detectable..."),b.markBusy(x,!0),W.makeDetectable({debug:E,important:c},x,function(r){if(E&&i.log(o,"onElementDetectable"),hl.getState(r)){b.markAsDetectable(r),b.markBusy(r,!1),W.addListener(r,C),g(N,r,h);var w=hl.getState(r);if(w&&w.startSize){var S=r.offsetWidth,Rl=r.offsetHeight;(w.startSize.width!==S||w.startSize.height!==Rl)&&C(r)}m[o]&&Tt(m[o],function(ll){ll()})}else E&&i.log(o,"Element uninstalled before being detectable.");delete m[o],s++,s===J.length&&M()})}E&&i.log(o,"Already detecable, adding listener."),g(N,x,h),s++}),s===J.length&&M()}function U(Q){if(!Q)return i.error("At least one element is required.");if(sR(Q))Q=[Q];else if(uR(Q))Q=rR(Q);else return i.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");Tt(Q,function(J){n.removeAllListeners(J),W.uninstall(J),hl.cleanState(J)})}function B(Q){W.initDocument&&W.initDocument(Q)}return{listenTo:Z,removeListener:n.removeListener,removeAllListeners:n.removeAllListeners,uninstall:U,initDocument:B}};function ul(l,t,d){var V=l[t];return V==null&&d!==void 0?d:V}});var uX=z(wn()),rX=z(Kn()),sX=z(WG()),YX=z(JG());var f=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof global!="undefined"&&global||{},K={searchParams:"URLSearchParams"in f,iterable:"Symbol"in f&&"iterator"in Symbol,blob:"FileReader"in f&&"Blob"in f&&function(){try{return new Blob,!0}catch(l){return!1}}(),formData:"FormData"in f,arrayBuffer:"ArrayBuffer"in f};function mF(l){return l&&DataView.prototype.isPrototypeOf(l)}K.arrayBuffer&&(XG=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],uG=ArrayBuffer.isView||function(l){return l&&XG.indexOf(Object.prototype.toString.call(l))>-1});var XG,uG;function Kl(l){if(typeof l!="string"&&(l=String(l)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(l)||l==="")throw new TypeError('Invalid character in header field name: "'+l+'"');return l.toLowerCase()}function MV(l){return typeof l!="string"&&(l=String(l)),l}function HV(l){var t={next:function(){var d=l.shift();return{done:d===void 0,value:d}}};return K.iterable&&(t[Symbol.iterator]=function(){return t}),t}function D(l){this.map={},l instanceof D?l.forEach(function(t,d){this.append(d,t)},this):Array.isArray(l)?l.forEach(function(t){if(t.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):l&&Object.getOwnPropertyNames(l).forEach(function(t){this.append(t,l[t])},this)}D.prototype.append=function(l,t){l=Kl(l),t=MV(t);var d=this.map[l];this.map[l]=d?d+", "+t:t};D.prototype.delete=function(l){delete this.map[Kl(l)]};D.prototype.get=function(l){return l=Kl(l),this.has(l)?this.map[l]:null};D.prototype.has=function(l){return this.map.hasOwnProperty(Kl(l))};D.prototype.set=function(l,t){this.map[Kl(l)]=MV(t)};D.prototype.forEach=function(l,t){for(var d in this.map)this.map.hasOwnProperty(d)&&l.call(t,this.map[d],d,this)};D.prototype.keys=function(){var l=[];return this.forEach(function(t,d){l.push(d)}),HV(l)};D.prototype.values=function(){var l=[];return this.forEach(function(t){l.push(t)}),HV(l)};D.prototype.entries=function(){var l=[];return this.forEach(function(t,d){l.push([d,t])}),HV(l)};K.iterable&&(D.prototype[Symbol.iterator]=D.prototype.entries);function kV(l){if(!l._noBody){if(l.bodyUsed)return Promise.reject(new TypeError("Already read"));l.bodyUsed=!0}}function rG(l){return new Promise(function(t,d){l.onload=function(){t(l.result)},l.onerror=function(){d(l.error)}})}function BF(l){var t=new FileReader,d=rG(t);return t.readAsArrayBuffer(l),d}function pF(l){var t=new FileReader,d=rG(t),V=/charset=([A-Za-z0-9_-]+)/.exec(l.type),i=V?V[1]:"utf-8";return t.readAsText(l,i),d}function oF(l){for(var t=new Uint8Array(l),d=new Array(t.length),V=0;V-1?t:l}function Ml(l,t){if(!(this instanceof Ml))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var d=t.body;if(l instanceof Ml){if(l.bodyUsed)throw new TypeError("Already read");this.url=l.url,this.credentials=l.credentials,t.headers||(this.headers=new D(l.headers)),this.method=l.method,this.mode=l.mode,this.signal=l.signal,!d&&l._bodyInit!=null&&(d=l._bodyInit,l.bodyUsed=!0)}else this.url=String(l);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new D(t.headers)),this.method=CF(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in f){var a=new AbortController;return a.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&d)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(d),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var V=/([?&])_=[^&]*/;if(V.test(this.url))this.url=this.url.replace(V,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Ml.prototype.clone=function(){return new Ml(this,{body:this._bodyInit})};function QF(l){var t=new FormData;return l.trim().split("&").forEach(function(d){if(d){var V=d.split("="),i=V.shift().replace(/\+/g," "),a=V.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(a))}}),t}function NF(l){var t=new D,d=l.replace(/\r?\n[\t ]+/g," ");return d.split("\r").map(function(V){return V.indexOf(` `)===0?V.substr(1,V.length):V}).forEach(function(V){var i=V.split(":"),a=i.shift().trim();if(a){var e=i.join(":").trim();try{t.append(a,e)}catch(G){console.warn("Response "+G.message)}}}),t}sG.call(Ml.prototype);function Zl(l,t){if(!(this instanceof Zl))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new D(t.headers),this.url=t.url||"",this._initBody(l)}sG.call(Zl.prototype);Zl.prototype.clone=function(){return new Zl(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new D(this.headers),url:this.url})};Zl.error=function(){var l=new Zl(null,{status:200,statusText:""});return l.ok=!1,l.status=0,l.type="error",l};var JF=[301,302,303,307,308];Zl.redirect=function(l,t){if(JF.indexOf(t)===-1)throw new RangeError("Invalid status code");return new Zl(null,{status:t,headers:{location:l}})};var kl=f.DOMException;try{new kl}catch(l){kl=function(t,d){this.message=t,this.name=d;var V=Error(t);this.stack=V.stack},kl.prototype=Object.create(Error.prototype),kl.prototype.constructor=kl}function YG(l,t){return new Promise(function(d,V){var i=new Ml(l,t);if(i.signal&&i.signal.aborted)return V(new kl("Aborted","AbortError"));var a=new XMLHttpRequest;function e(){a.abort()}a.onload=function(){var b={statusText:a.statusText,headers:NF(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?b.status=200:b.status=a.status,b.url="responseURL"in a?a.responseURL:b.headers.get("X-Request-URL");var W="response"in a?a.response:a.responseText;setTimeout(function(){d(new Zl(W,b))},0)},a.onerror=function(){setTimeout(function(){V(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){V(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){V(new kl("Aborted","AbortError"))},0)};function G(b){try{return b===""&&f.location.href?f.location.href:b}catch(W){return b}}if(a.open(i.method,G(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(K.blob?a.responseType="blob":K.arrayBuffer&&(a.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof D||f.Headers&&t.headers instanceof f.Headers)){var n=[];Object.getOwnPropertyNames(t.headers).forEach(function(b){n.push(Kl(b)),a.setRequestHeader(b,MV(t.headers[b]))}),i.headers.forEach(function(b,W){n.indexOf(W)===-1&&a.setRequestHeader(W,b)})}else i.headers.forEach(function(b,W){a.setRequestHeader(W,b)});i.signal&&(i.signal.addEventListener("abort",e),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",e)}),a.send(typeof i._bodyInit=="undefined"?null:i._bodyInit)})}YG.polyfill=!0;f.fetch||(f.fetch=YG,f.Headers=D,f.Request=Ml,f.Response=Zl);var EG=z(TG());function p(l,t=null){let d=Wt(t);return Array.from(d.querySelectorAll(l))}function Y(l,t=null){return Wt(t).querySelector(l)||!1}function Wt(l){var t;return(t=l!=null?l:window.__shadowRoot)!=null?t:document}(function(l,t){"use strict";var d=/Edge\/\d+/i.test(navigator.userAgent);if(!d&&"IntersectionObserver"in l&&"IntersectionObserverEntry"in l&&"intersectionRatio"in l.IntersectionObserverEntry.prototype){"isIntersecting"in l.IntersectionObserverEntry.prototype||Object.defineProperty(l.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var V=[];function i(Z){this.time=Z.time,this.target=Z.target,this.rootBounds=Z.rootBounds,this.boundingClientRect=Z.boundingClientRect,this.intersectionRect=Z.intersectionRect||c(),this.isIntersecting=!!Z.intersectionRect;var U=this.boundingClientRect,B=U.width*U.height,Q=this.intersectionRect,J=Q.width*Q.height;B?this.intersectionRatio=J/B:this.intersectionRatio=this.isIntersecting?1:0}function a(Z,U){var B=U||{};if(typeof Z!="function")throw new Error("callback must be a function");if(B.root&&B.root.nodeType!=1)throw new Error("root must be an Element");this._checkForIntersections=G(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=Z,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(B.rootMargin),this.thresholds=this._initThresholds(B.threshold),this.root=B.root||null,this.rootMargin=this._rootMarginValues.map(function(Q){return Q.value+Q.unit}).join(" ")}a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a.prototype.observe=function(Z){var U=this._observationTargets.some(function(B){return B.element==Z});if(!U){if(!(Z&&Z.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:Z,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},a.prototype.unobserve=function(Z){this._observationTargets=this._observationTargets.filter(function(U){return U.element!=Z}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var Z=this._queuedEntries.slice();return this._queuedEntries=[],Z},a.prototype._initThresholds=function(Z){var U=Z||[0];return Array.isArray(U)||(U=[U]),U.sort().filter(function(B,Q,J){if(typeof B!="number"||isNaN(B)||B<0||B>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return B!==J[Q-1]})},a.prototype._parseRootMargin=function(Z){var U=Z||"0px",B=U.split(/\s+/).map(function(Q){var J=/^(-?\d*\.?\d+)(px|%)$/.exec(Q);if(!J)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(J[1]),unit:J[2]}});return B[1]=B[1]||B[0],B[2]=B[2]||B[0],B[3]=B[3]||B[1],B},a.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(n(l,"resize",this._checkForIntersections,!0),n(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in l&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},a.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,b(l,"resize",this._checkForIntersections,!0),b(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},a.prototype._checkForIntersections=function(){var Z=this._rootIsInDom(),U=Z?this._getRootRect():c();this._observationTargets.forEach(function(B){var Q=B.element,J=R(Q),h=this._rootContainsTarget(Q),C=B.entry,g=Z&&h&&this._computeTargetAndRootIntersection(Q,U),s=B.entry=new i({time:e(),target:Q,boundingClientRect:J,rootBounds:U,intersectionRect:g});C?Z&&h?this._hasCrossedThreshold(C,s)&&this._queuedEntries.push(s):C&&C.isIntersecting&&this._queuedEntries.push(s):this._queuedEntries.push(s)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},a.prototype._computeTargetAndRootIntersection=function(Z,U){if(l.getComputedStyle(Z).display!="none"){for(var B=R(Z),Q=B,J=m(Z),h=!1;!h;){var C=null,g=J.nodeType==1?l.getComputedStyle(J):{};if(g.display=="none")return;if(J==this.root||J==t?(h=!0,C=U):J!=t.body&&J!=t.documentElement&&g.overflow!="visible"&&(C=R(J)),C&&(Q=W(C,Q),!Q))break;J=m(J)}return Q}},a.prototype._getRootRect=function(){var Z;if(this.root)Z=R(this.root);else{var U=t.documentElement,B=t.body;Z={top:0,left:0,right:U.clientWidth||B.clientWidth,width:U.clientWidth||B.clientWidth,bottom:U.clientHeight||B.clientHeight,height:U.clientHeight||B.clientHeight}}return this._expandRectByRootMargin(Z)},a.prototype._expandRectByRootMargin=function(Z){var U=this._rootMarginValues.map(function(Q,J){return Q.unit=="px"?Q.value:Q.value*(J%2?Z.width:Z.height)/100}),B={top:Z.top-U[0],right:Z.right+U[1],bottom:Z.bottom+U[2],left:Z.left-U[3]};return B.width=B.right-B.left,B.height=B.bottom-B.top,B},a.prototype._hasCrossedThreshold=function(Z,U){var B=Z&&Z.isIntersecting?Z.intersectionRatio||0:-1,Q=U.isIntersecting?U.intersectionRatio||0:-1;if(B!==Q)for(var J=0;J=0&&g>=0&&{top:B,bottom:Q,left:J,right:h,width:C,height:g}}function R(Z){var U;try{U=Z.getBoundingClientRect()}catch(B){}return U?(U.width&&U.height||(U={top:U.top,right:U.right,bottom:U.bottom,left:U.left,width:U.right-U.left,height:U.bottom-U.top}),U):c()}function c(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function I(Z,U){for(var B=U;B;){if(B==Z)return!0;B=m(B)}return!1}function m(Z){var U=Z.parentNode;return U&&U.nodeType==11&&U.host?U.host:U}l.IntersectionObserver=a,l.IntersectionObserverEntry=i})(window,document);window.hasOwnProperty("Shorthand")||(window.Shorthand={});window.Shorthand.lazyloadTriggerMargin=window.Shorthand.lazyloadTriggerMargin||"500%";var yV=window.innerHeight||window.screen.height,XF={"nearly visible":"100%","on visibile":"0%","partially visible":"-10%","substantially visible":"-30% 0% -30% 0%","mostly visible":"-40% 0% -40% 0%","fully visible":"0px",lazyload:window.Shorthand.lazyloadTriggerMargin,"lazyload 3D models":`${yV*2}px`,"unload 3D models":`${yV*2+100}px`,"lazy download 3D models":`${yV*5}px`},hF={"nearly visible":[0,.001],lazyload:[0,.001],"on visibile":[0,.001],"substantially visible":[0,.001],"mostly visible":[0,.001],"fully visible":.99,"lazyload 3D models":[0,.001],"lazy download 3D models":[0,.001],"unload 3D models":[0,.001],"partially visible":0},SG=[],kG=[];function Vl(l){return l.intersectionRatio>=1e-5}function MG(l,t=null){let d=SG.find(V=>V.triggerPoint===l&&V.root===t);if(!d){let V={rootMargin:XF[l],threshold:hF[l],root:t},i=new IntersectionObserver(a=>{uF(a,l,t)},V);return SG.push({instance:i,triggerPoint:l,root:t}),i}return d.instance}function uF(l,t,d=null){l.forEach(V=>{HG(V.target,t,d).callbacks.forEach(a=>a(V))})}function rF(l,t,d=null){let V={target:l,triggerPoint:t,callbacks:[],root:d};return kG.push(V),V}function HG(l,t,d=null){return kG.find(V=>V.target===l&&V.triggerPoint===t&&V.root===d)}function Rt(l,t={}){let d=t.triggerPoint||"on visibile",V=t.root||null;MG(d,V).unobserve(l)}function q(l,t,d={}){let V=d.triggerPoint||"on visibile",i=d.root||null,a=MG(V),e=HG(l,V,i);e||(e=rF(l,V,i)),e.callbacks.push(t),a.observe(l)}var sF=5,YF=1e3;function TF(l,t){let d={isTracking:!1,trackingStartAt:0,cumulativeLingerTime:0};q(l,V=>{if(Vl(V)&&!d.isTracking)d.isTracking=!0,d.trackingStartAt=Date.now();else if(d.isTracking){d.isTracking=!1;let i=Math.round((Date.now()-d.trackingStartAt)/YF);if(i{let i=SF(d.className),a=V.toString().padStart(3,"0")+" "+d.id;TF(d,G=>{t(i,"linger-seconds",a,G)})})}function kF(...l){}function ad(...l){(window.ga||kF)(...l)}function wV(l){l.on("logEvent",function(...t){ad("send","event",...t),ad("shorthand.send","event",...t)}),l.on("logSocial",(...t)=>{ad("send","social",...t),ad("shorthand.send","social",...t)})}function MF(l){return l.hasAttribute("data-social-share")?{type:"social",network:l.getAttribute("data-social-share"),target:window.location.href}:l.hasAttribute("data-story-nav-item")?{type:"nav-link",target:l.href}:{type:"link",target:l.href,element:l}}function HF(l){let t=MF(l);t.type==="social"?AG(t.network,"share",t.target):ol(t.type,"click",t.target)}function LV(){p("a").forEach(t=>t.addEventListener("click",()=>HF(t)))}var OV=new EG.default;function ol(...l){OV.emit("logEvent",...l)}function AG(...l){OV.emit("logSocial",...l)}function DV(){let l=p(".Theme-Section");wV(OV),zV(l,ol),LV()}var vG=z(P());var AF={textPerLine:!1,textFade:"none",textZoom:"none",textBlur:"none",backgroundFade:"none",backgroundZoom:"none",backgroundBlur:"none",backgroundGrayscale:"none",hasEffects:!1};function fV(l,t=AF){try{return window.matchMedia("(prefers-reduced-motion: reduce)").matches?O({},t):O(O({},t),JSON.parse(window.atob(l.getAttribute("data-effects"))))}catch(d){return O({},t)}}var li=z(KV());var nd=z(P());var OG=z(PV());function xl(l,t,d,V){function i(){l.removeEventListener(t,a,V)}function a(){return i(),d.apply(this,arguments)}return l.addEventListener(t,a,V),i}var yF=wG(),LG=["android","ios","firefoxos","windows.phone","windows.mobile","blackberryos"],zF={hasTouch:!1},_V=null;function $(){if(_V===null){let l=new yF;l.sniff(navigator.userAgent),_V={isMobile:LG.includes(l.os.name),isDesktop:!LG.includes(l.os.name),isTablet:!1,isiPhone:l.device.name==="iphone",isiPad:l.device.name==="ipad",isAndroid:l.os.name==="android",isiOS:l.os.name==="ios",isiOS10:l.os.name==="ios"&&l.os.version[0]===10,isMac:l.os.name==="macos",isWindows:l.os.name==="windows",isIE:l.browser.name==="ie",isEdge:l.browser.name==="edge",isChrome:l.browser.name==="chrome",isSafari:l.browser.name==="safari",isFirefox:l.browser.name==="firefox",isOpera:l.browser.name==="opera",isBot:/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent),isCypress:window.Cypress}}return _V}function wF(l){let t=$(),d=Object.keys(t).reduce((V,i)=>(V[`DeviceDetect--${i}`]=t[i],V),{});l.className=(0,OG.default)(l.className,d)}function Pl(){let l=$();return l.isSafari||l.isiOS}function qV(l=document.documentElement){var t;wF(((t=window.__shadowRoot)==null?void 0:t.querySelector("article"))||l),LF()}function LF(){xl(document.documentElement,"touchstart",()=>{zF.hasTouch=!0,document.documentElement.classList.add("DeviceDetect--isTouch")})}function $V(){let{isIE:l,isEdge:t}=$();if(!l&&!t)return;let d={tallTOMs:[]};nd.default.measure(()=>{p(".DisplayContainerHeight--flex").forEach(i=>{d.tallTOMs.push(i)});function V(){OF(d)}V(),window.addEventListener("resize",V,{passive:!0})})}function OF(l){l.tallTOMs.forEach(t=>{nd.default.measure(()=>{let d=t.querySelector(".FullSize--child"),V=t.querySelector(".DisplayContainer--heightBasis").getBoundingClientRect().height+200,i=V+"px",a=i;if(V{t.style.setProperty("height",i),d.style.setProperty("height",a),p(".FullSize--fixedChild",d).forEach(e=>{e.style.setProperty("height",a)}),d.style.setProperty("clip-path",`polygon(0 0, 0 ${a}, 100% ${a}, 100% 0)`)})})})}var ct=class{constructor(t={}){this.cache={width:0,height:0,top:0,bottom:0};t.measuringElement?this.measuringElement=t.measuringElement:this.ensureMeasuringElement(),window.addEventListener("resize",this.refresh.bind(this),{passive:!0}),this.refresh()}ensureMeasuringElement(){let t=this.measuringElement=document.createElement("div");t.style.width="100%",t.style.height="100vh",t.style.visibility="hidden",t.style.pointerEvents="none",t.style.opacity="0",t.style.position="absolute",t.style.top="0",t.setAttribute("id","viewport-height-element"),document.body.appendChild(t)}refresh(){let t=this.measuringElement.getBoundingClientRect();this.cache.width=t.width,this.cache.height=t.height,this.cache.top=0,this.cache.bottom=0}getCache(){return this.cache}};function Wd(l=new ct){window.Shorthand.displayContainer=l,$V()}var Gd={getOrientation(){return window.Shorthand.displayContainer?Gd.getWidth()>Gd.getHeight()?"landscape":"portrait":window.innerWidth>window.innerHeight?"landscape":"portrait"},getHeight(){return window.Shorthand.displayContainer.getCache().height},getWidth(){return window.Shorthand.displayContainer.getCache().width},getTop(){return window.Shorthand.displayContainer.getCache().top},getBottom(){return window.Shorthand.displayContainer.getCache().bottom},getVhUnitsInPixels(l){return Gd.getHeight()*(l/100)},getDisplayContainer(){return window.Shorthand.displayContainer}},k=Gd;var Ut;function Rd(l,t=0,d=1){var c,I;let{top:V,height:i}=l.getBoundingClientRect();Ut===null&&(Ut=Y(".Header[role=banner]"));let a=(c=Ut==null?void 0:Ut.offsetHeight)!=null?c:0,e=1,G=/scale\((.*)\)/.exec((I=l.style.getPropertyValue("transform"))!=null?I:"");G&&(e=parseFloat(G[1]));let n=V+(i-i/e)/2,b=-i/e+a,R=k.getHeight()-b;return l.className.includes("Theme-BackgroundMedia")&&i1-t?Math.pow(1-(l-(1-t))/t,d):1}var DG=!1,_l={};function cd(){Object.values(_l).forEach(l=>l())}function fG(){if(DG)return;DG=!0;let l=!!Y("#editor-viewport");if(l){let d=function(){setTimeout(cd,100)};document.removeEventListener("focus",d,!0),document.addEventListener("focus",d,!0),document.removeEventListener("blur",d,!0),document.addEventListener("blur",d,!0)}let t=l?Y("#editor-viewport"):window;t.removeEventListener("scroll",cd),t.addEventListener("scroll",cd,{passive:!0}),_l={}}function DF(l){fG();let t=typeof l=="string"?Y(`article [id$="${l}"]`):l,d=!!Y("#editor-viewport"),V=fV(t);if(!V.hasEffects){d&&typeof _l[t.id]=="function"&&_l[t.id](),delete _l[t.id];return}let a=p(d?".Theme-Layer-background-viewport:not(.Theme-Layer-background-viewport-cyclops)":".Theme-BackgroundMedia:not(.Theme-BackgroundModel)",t),e=p(".Theme-Layer-TextBlock-Inner",t);a.forEach(n=>{let b=p("video",n);b.length===0&&(b=p("img",n).filter(W=>W.className.indexOf("InstantImage__img")===-1)),V.needsBackgroundClone&&p("picture",n).forEach((W,R)=>{R!==0&&(W.style.setProperty("position","absolute"),W.style.setProperty("top","0"))}),b.forEach((W,R)=>{W.style.setProperty("transition","none"),W.tagName.toLowerCase()==="img"&&R===0&&jG(W,V,0),W.style.setProperty("transform","scale(1)"),W.style.setProperty("opacity","1")})}),e.forEach(n=>{jF(n)&&(n.classList.remove("Layout__flex--xleft"),n.classList.remove("Layout__flex--xright"),n.classList.add("Layout__flex--xcenter")),n.parentElement.parentElement.style.setProperty("overflow","visible");let b=n.className.indexOf("Layout__flex--xright")>-1;n.className.indexOf("Layout__flex--xleft")>-1?n.style.setProperty("transform-origin","0% 0%"):b?n.style.setProperty("transform-origin","100% 0%"):n.style.removeProperty("transform-origin");let R=d?p(".NodeContent"):[].slice.call(n.firstElementChild.firstElementChild.children);(V.textPerLine?R:[n]).forEach(I=>{let m=[];V.textZoom!=="none"&&navigator.maxTouchPoints>0&&m.push("transform"),V.textBlur!=="none"&&m.push("filter"),m.length>0&&I.style.setProperty("will-change",m.join(", "))})});function G(){let n=fV(t),b=Rd(t).percent;b<=0||b>=1||(a.forEach(W=>{let R=p("video",W);R.length===0&&(R=p("img",W).filter(m=>m.className.indexOf("InstantImage__img")===-1));let{percent:c,threshold:I}=Rd(W,0,.5);R.forEach((m,Z)=>{m.parentElement.style.setProperty("overflow","hidden"),n.backgroundZoom==="in"?m.style.setProperty("transform",`scale(${1+.4*c})`):n.backgroundZoom==="out"?m.style.setProperty("transform",`scale(${1.4-.4*c})`):m.style.removeProperty("transform");let U=1;n.backgroundFade!=="none"&&(["in","both"].includes(n.backgroundFade)&&c<.5||["out","both"].includes(n.backgroundFade)&&c>.5?U=Zt(c,I,2):U=1,m.style.setProperty("opacity",`${U}`)),m.tagName.toLowerCase()==="img"&&(Z===0?jG(m,n,c):(U*=Zt(c,I),m.style.setProperty("opacity",`${U}`)))})}),e.forEach(W=>{let R=d?p(".NodeContent",W):[].slice.call(W.firstElementChild.firstElementChild.children);if(d){let I=W.contains(document.activeElement)||!!W.querySelector("[data-state=open]");if(vF(n.textPerLine,W,R,!I),I)return}(n.textPerLine?R:[W]).forEach(I=>{let{percent:m,threshold:Z}=Rd(I,0,.2);n.textZoom==="in"?I.style.setProperty("transform",`scale(${.7+.3*m})`):n.textZoom==="out"&&I.style.setProperty("transform",`scale(${1-.3*m})`);let U=[];(["in","both"].includes(n.textBlur)&&m<.5||["out","both"].includes(n.textBlur)&&m>.5)&&U.push(`blur(${(20*(1-Zt(m,Z,2))).toFixed(2)}px)`);let B=U.join(" ");I.style.getPropertyValue("filter")!==B&&I.style.setProperty("filter",B);let Q=1;["in","both"].includes(n.textFade)&&m<.5||["out","both"].includes(n.textFade)&&m>.5?Q*=Zt(m,Z):Q=1,I.style.setProperty("opacity",`${Q}`)})}))}_l[t.id]=G,G()}function ti(){fG(),vG.default.mutate(()=>{p("article [data-effects]").forEach(l=>{DF(l)})}),setTimeout(cd,500)}function jG(l,t,d){let V=[];d<.5?(["in","both"].includes(t.backgroundBlur)&&V.push("blur(20px)"),["in","both"].includes(t.backgroundGrayscale)&&V.push("grayscale(100%)")):(["out","both"].includes(t.backgroundBlur)&&V.push("blur(20px)"),["out","both"].includes(t.backgroundGrayscale)&&V.push("grayscale(100%)"));let i=V.join(" ");l.style.getPropertyValue("filter")!==i&&l.style.setProperty("filter",i)}function jF(l){let t=l;for(;t&&!t.classList.contains("Theme-Section");)t.parentNode?t=t.parentNode:console.error("Could not find the parent Theme-section");return t.classList.contains("SplitLayout")}function vF(l,t,d,V=!0){(l||t.contains(document.activeElement))&&(V&&t.style.removeProperty("transform"),t.style.removeProperty("filter"),t.style.removeProperty("opacity")),(!l||t.contains(document.activeElement))&&d.forEach(i=>{V&&i.style.removeProperty("transform"),i.style.removeProperty("filter"),i.style.removeProperty("opacity")})}var WW=z(di());function Vi(){p("[data-lazyload-container][data-lazyload-trigger]").map(t=>({pictures:p("[data-lazyload-item] picture",t),container:t,trigger:t})).forEach(It)}function fF(l,t){l.forEach(d=>_G(d,()=>qG(t)))}function It({pictures:l,container:t,trigger:d}){let V=!1,i=()=>{V||(Rt(t),V=!0)},a=G=>{Vl(G)&&(l.forEach(n=>_G(n,()=>qG(t))),i())},e=()=>{fF(l,t)};return window.addEventListener("beforeprint",e),q(d,a,{triggerPoint:"lazyload"}),i}function _G(l,t){let d=Y("img",l),V=p("source",l);d&&(d.addEventListener("load",t),V.forEach(PG),PG(d))}function PG(l){let t=l.getAttribute("data-src");t&&(l.removeAttribute("data-src"),l.setAttribute("src",t));let d=l.getAttribute("data-srcset");if(d){let V=l.hasAttribute("data-limit-mobile-dpi");V&&l.removeAttribute("data-limit-mobile-dpi");let i=l.getAttribute("media"),a;if(i&&(i.indexOf("min-width")!==-1||i.indexOf("min-aspect-ratio")!==-1?a=window.innerWidth>window.innerHeight?window.innerWidth:window.innerHeight:(i.indexOf("max-width")!==-1||i.indexOf("max-aspect-ratio")!==-1)&&(a=window.innerWidth{let n=G.trim().match(/[0-9]+w$/);if(n){let b=parseInt(n[0]);if(b>a){if(e)return!1;e=b}}return!0}).join(",")}l.removeAttribute("data-srcset"),l.setAttribute("srcset",d)}}function qG(l){l.classList.remove("Lazyload--isLoading"),l.classList.add("Lazyload--isLoaded")}var ii=z(lW()),KF={isHidden(){var l;return document[(l=ii.default)==null?void 0:l.hidden]},addVisibilityChangeListener(l){return document.addEventListener(ii.default.visibilityChange,l)}},Hl=KF;var PF=window.setTimeout,_F=window.clearTimeout,tW=0,qF=l=>{let t=Date.now(),d=Math.max(0,16-(t-tW)),V=PF(()=>l(t+d),d);return tW=t+d,V},$F=l=>_F(l),Zd=window.requestAnimationFrame?window.requestAnimationFrame.bind(window):qF,Lo=window.requestAnimationFrame?window.cancelAnimationFrame.bind(window):$F;var mt=[],Id=!1;function lg(l){mt.forEach(t=>t(l))}function VW(l){lg(l),Id&&Zd(VW)}var dW=!1;function Fd(){Id||(dW||(Hl.addVisibilityChangeListener(()=>{Hl.isHidden()?tg():Fd()}),dW=!0),!Hl.isHidden()&&(Id=!0,Zd(VW)))}function tg(){Id=!1}function al(l){mt.indexOf(l)===-1&&mt.push(l),Fd()}function Jl(l){let t=mt.indexOf(l);t!==-1&&mt.splice(t,1)}var nW=z(iW());var pt=z(P());(function(){"use strict";if(typeof window!="undefined"){var l=window.navigator.userAgent.match(/Edge\/(\d{2})\./),t=l?parseInt(l[1],10):null,d=!!t&&16<=t&&t<=18;if(!("objectFit"in document.documentElement.style)||d){var V=function(e,G,n){var b,W,R,c,I;if((n=n.split(" ")).length<2&&(n[1]=n[0]),e==="x")b=n[0],W=n[1],R="left",c="right",I=G.clientWidth;else{if(e!=="y")return;b=n[1],W=n[0],R="top",c="bottom",I=G.clientHeight}if(b!==R&&W!==R){if(b!==c&&W!==c)return b==="center"||b==="50%"?(G.style[R]="50%",void(G.style["margin-"+R]=I/-2+"px")):void(0<=b.indexOf("%")?(b=parseInt(b,10))<50?(G.style[R]=b+"%",G.style["margin-"+R]=I*(b/-100)+"px"):(b=100-b,G.style[c]=b+"%",G.style["margin-"+c]=I*(b/-100)+"px"):G.style[R]=b);G.style[c]="0"}else G.style[R]="0"},i=function(e){var G=e.dataset?e.dataset.objectFit:e.getAttribute("data-object-fit"),n=e.dataset?e.dataset.objectPosition:e.getAttribute("data-object-position");G=G||"cover",n=n||"50% 50%";var b=e.parentNode;return function(W){var R=window.getComputedStyle(W,null),c=R.getPropertyValue("position"),I=R.getPropertyValue("overflow"),m=R.getPropertyValue("display");c&&c!=="static"||(W.style.position="relative"),I!=="hidden"&&(W.style.overflow="hidden"),m&&m!=="inline"||(W.style.display="block"),W.clientHeight===0&&(W.style.height="100%"),W.className.indexOf("object-fit-polyfill")===-1&&(W.className=W.className+" object-fit-polyfill")}(b),function(W){var R=window.getComputedStyle(W,null),c={"max-width":"none","max-height":"none","min-width":"0px","min-height":"0px",top:"auto",right:"auto",bottom:"auto",left:"auto","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};for(var I in c)R.getPropertyValue(I)!==c[I]&&(W.style[I]=c[I])}(e),e.style.position="absolute",e.style.width="auto",e.style.height="auto",G==="scale-down"&&(G=e.clientWidthb.clientWidth||G==="contain"&&e.clientWidth{let l=k.getOrientation();pt.default.mutate(()=>{let t=p(".ObjectFit--cover");t.forEach(d=>{d.dataset.objectFit="cover";let V=d.tagName==="IMG"?d.parentElement:d;V.hasAttribute(`data-${l}-focal`)&&(d.dataset.objectPosition=V.dataset[`${l}Focal`])}),bi(t)})})}function bi(l){window.objectFitPolyfill(l),dg(l)}function dg(l){let{isIE:t,isEdge:d}=$();!t&&!d||l.forEach(V=>gd(V))}function gd(l){let{isIE:t,isEdge:d}=$();!t&&!d||l.className.indexOf("FullSize__fixedChild")!==-1&&pt.default.measure(()=>{let V=window.innerWidth>window.innerHeight?"landscape":"portrait",i=bW(l);if(i==="none")return;let a=parseFloat(window.getComputedStyle(l.parentElement).getPropertyValue("width"));if(d){l.style.setProperty("width",`${V==="landscape"?a+"px":"100%"}`);return}if(V==="portrait"){l.style.removeProperty("transform");return}let e="play"in l?{width:l.videoWidth,height:l.videoHeight}:{width:l.naturalWidth,height:l.naturalHeight};if(e.width<1){setTimeout(()=>gd(l),100);return}let G=e.width>e.height;pt.default.mutate(()=>{if(G)i==="media-left"?l.style.getPropertyValue("left")==="50%"?l.style.setProperty("transform",`translateX(-${a*.5}px)`):["","0px"].includes(l.style.getPropertyValue("margin-left"))?l.style.setProperty("transform",`translateX(-${a*.75}px)`):l.style.setProperty("transform",`translateX(-${a*.25}px)`):l.style.getPropertyValue("left")==="50%"?l.style.setProperty("transform",`translateX(${a*.5}px)`):["","0px"].includes(l.style.getPropertyValue("margin-left"))?l.style.setProperty("transform",`translateX(${a*.25}px)`):l.style.setProperty("transform",`translateX(${a*.75}px)`);else{let[n,b]=l.dataset["object-position"].split(" ").map(c=>parseInt(c,10)),W=l.style.getPropertyValue("margin-left")&&l.style.getPropertyValue("margin-left")!=="0px",R=l.style.getPropertyValue("margin-right")&&l.style.getPropertyValue("margin-right")!=="0px";if(i==="media-right"){if(n===50?l.style.setProperty("transform",`scale(0.5) translate(${a}px, 0%)`):b<50?l.style.setProperty("transform",`scale(0.5) translate(${a}px, -${50-b}%)`):l.style.setProperty("transform",`scale(0.5) translate(${a}px, ${b-50}%)`),W){l.style.setProperty("transform",`translateX(${a-Math.abs(parseFloat(l.style.getPropertyValue("margin-left")))}px)`);return}if(R){l.style.setProperty("transform",`translateX(${Math.abs(parseFloat(l.style.getPropertyValue("margin-right")))}px)`);return}}else{if(b===50?l.style.setProperty("transform",`scale(0.5) translate(-${a}px, 0%)`):b<50?l.style.setProperty("transform",`scale(0.5) translate(-${a}px, -${50-b}%)`):l.style.setProperty("transform",`scale(0.5) translate(-${a}px, ${b-50}%)`),W){l.style.setProperty("transform",`translateX(-${Math.abs(parseFloat(l.style.getPropertyValue("margin-left")))}px)`);return}if(R){l.style.setProperty("transform",`translateX(-${a-Math.abs(parseFloat(l.style.getPropertyValue("margin-right")))}px)`);return}}}})})}function bW(l){var t;return((t=l.id)==null?void 0:t.indexOf("section-"))===0?l.className.indexOf("SplitLayout--rowReverse")>-1?"media-left":l.className.indexOf("SplitLayout")>-1?"media-right":"none":bW(l.parentElement)}function xt(){window.addEventListener("resize",()=>ot(),{passive:!0}),ot()}function eW(l){let t=l.getBoundingClientRect(),d=-t.top,V=Math.max(1,t.height-document.documentElement.clientHeight),i=d/V;return{percentage:i,scrollingIn:i<0,scrollingOut:i>1}}var md=nW.default.factory({init:"ready",transitions:[{name:"prime",from:"ready",to:"primed"},{name:"startTransition",from:"primed",to:"transitioning"},{name:"activate",from:"transitioning",to:"active"},{name:"linger",from:"active",to:"lingering"},{name:"complete",from:["active","lingering"],to:"completed"},{name:"activate",from:["completed","lingering"],to:"active"},{name:"reverseTransition",from:"active",to:"transitioning"},{name:"reset",from:"transitioning",to:"ready"}],methods:{onPrimed(){let{item:l,classNames:t}=this;l.itemEl.classList.add(t.prime),this.onItemShown&&this.onItemShown(l)},onStartTransition(){let{item:l,classNames:t}=this;xl(l.itemEl,"transitionend",()=>this.activate()),requestAnimationFrame(()=>l.itemEl.classList.add(t.active)),ot()},onReverseTransition(){let{item:l,classNames:t}=this;xl(l.itemEl,"transitionend",()=>this.reset()),l.itemEl.classList.remove(t.active)},onReset(){let{item:l,classNames:t}=this;l.itemEl.classList.remove(t.prime),l.itemEl.classList.remove(t.active)},onActive(){let{item:l,classNames:t}=this;[t.prime,t.active].forEach(d=>l.itemEl.classList.add(d)),this.onItemShown&&this.onItemShown(l),ot()},onCompleted(){let{item:l,classNames:t}=this;l.itemEl.classList.remove(t.prime),l.itemEl.classList.remove(t.active)},requestReady(){this.is("ready")||this.is("active")&&this.reverseTransition()},requestActive(){this.is("ready")&&this.prime(),this.is("primed")&&this.startTransition(),(this.is("completed")||this.is("lingering"))&&this.activate()},requestComplete(){let l=this.shouldLinger(this.item),t=this.can("linger"),d=!l,V=this.can("complete");l&&t?this.linger():d&&V&&this.complete()},isActive(){return this.is("active")}},data(l){return l}});function Bd(l){if(l.isRendering)return;l.isRendering=!0;let t=eW(l.scrollContainer);l.items.forEach(d=>{let V=Vg(t,d.data);if(!V)return;let i=l.machines.get(d);({ready:i.requestReady,active:i.requestActive,complete:i.requestComplete})[V].call(i)}),l.isRendering=!1}function Vg(l,t){let d=l.scrollingIn&&t.showDuringScrollIn,V=l.scrollingOut&&t.showDuringScrollOut,i=ig(l.percentage,t.start,t.end);if(d||V||i)return"active";if(l.percentaget.end)return"complete"}function ig(l,t,d){return l>=t&&l{let d=t.querySelectorAll(".MediaRenderer__fixedCaption--icon"),V=t.querySelector(".MediaRenderer__Scrollmation-portrait--Caption"),i=t.querySelectorAll(".btn-close-caption-scrollmation");function a(){V.removeAttribute("style")}function e(){V.style.display="none"}d.forEach(G=>G.addEventListener("click",a)),i.forEach(G=>G.addEventListener("click",e))})}function Gi(){let l=p("[data-background-scrollmation]");eg(),l.forEach(t=>ng(t,{doLazyload:!0})),["resize","orientationchange"].forEach(t=>window.addEventListener(t,RW,{passive:!0}))}function ng(l,t,d){let V=p("[data-background-scrollmation-item]",l);if(V.length===0)return()=>{};let i=V.map(bg),a=ag(l);a.items=i.reduce((G,n)=>{let b=a.items.find(W=>W.itemEl===n.itemEl);return b&&(b.data=n.data),[...G,b||n]},[]),a.items.map(G=>t.doLazyload?Gg(G,l.parentElement):G).filter(G=>!a.machines.get(G)).forEach(G=>a.machines.set(G,new md({item:G,classNames:{prime:"BackgroundScrollmationItem--isPrimed",active:"BackgroundScrollmationItem--isActive"},onItemShown(n){d&&d(n,a.items.indexOf(n))},shouldLinger(n){return!a.items.filter(c=>c!==n).map(c=>a.machines.get(c)).some(c=>c.isActive())}})));function e(){let G=l.parentElement.getBoundingClientRect();G.bottom{Jl(GW),document.getElementById("editor-viewport")||document.removeEventListener("scroll",e)}}function Gg(l,t){if(!ei.get(l.itemEl)){let V=document.createElement("div");V.classList.add("BackgroundScrollmation__lazyloadTriggerElement"),V.setAttribute("data-item-index",String(l.index)),ei.set(l.itemEl,V),t.appendChild(V);let i={pictures:p("picture",l.itemEl),container:l.itemEl.querySelector("[data-lazyload-container]"),trigger:V};It(i)}return l}function RW(){(0,WW.default)(ni.instances.values()).map(l=>l.items).map(l=>l.map(t=>{let d=ei.get(t.itemEl);Object.assign(d.style,{position:"absolute",top:`${t.data.start*100}%`})}))}function GW(){ni.instances.forEach(l=>Bd(l))}var Ct="[data-video]",ci="[data-background-video]",UW="Pause all background videos",ZW="Play all background videos",Ri="Theme-BackgroundVideo-Controls__Playing";function IW(){return Ul(this,null,function*(){return new Promise(l=>{let t;function d(){document.readyState==="complete"?(clearTimeout(t),l(!0)):setTimeout(d,100)}d()})})}function FW(){let l=cg();Wg(l),l.style.display="block";let t=Rg();return t.appendChild(l),t}function Wg(l){l.addEventListener("touchend",t=>Ul(null,null,function*(){t.preventDefault(),yield Wi()})),l.addEventListener("click",t=>Ul(null,null,function*(){(t.pointerType==="mouse"||t.pointerType==="pen")&&(yield Wi())})),l.addEventListener("keydown",t=>Ul(null,null,function*(){t.key==="Enter"&&(yield Wi())}))}function Wi(){return Ul(this,null,function*(){let l=Al();try{l?(pd(!1),cW(!0),yield Ug()):(l===null||l===!1)&&(yield Zg(),pd(!0),cW(!1))}catch(t){}})}function Rg(){let l=document.createElement("div");return l.className="Theme-BackgroundVideo-Controls",l}function cg(){let l=document.createElement("button");return l.setAttribute("aria-label",Al()?ZW:UW),l.className=`Theme-BackgroundVideo-Controls__PlayButton ${Ri}`,Al()?l.appendChild(mW()):l.appendChild(gW()),l}function cW(l){let t=p(".Theme-BackgroundVideo-Controls__PlayButton");t.forEach(d=>{d instanceof HTMLButtonElement&&(d.replaceChildren(),l?(d.appendChild(gW()),d.setAttribute("aria-label",UW),t.forEach(V=>V.classList.add(Ri))):(d.appendChild(mW()),d.setAttribute("aria-label",ZW),t.forEach(V=>V.classList.remove(Ri))))})}function gW(){let l="http://www.w3.org/2000/svg",t=document.createElementNS(l,"svg");t.setAttribute("width","10"),t.setAttribute("height","16"),t.setAttribute("viewBox","0 0 10 16");let d=document.createElementNS(l,"path");return d.setAttribute("d","M1.5 2C0.671875 2 0 2.67188 0 3.5V12.5C0 13.3281 0.671875 14 1.5 14H2.5C3.32812 14 4 13.3281 4 12.5V3.5C4 2.67188 3.32812 2 2.5 2H1.5ZM7.5 2C6.67188 2 6 2.67188 6 3.5V12.5C6 13.3281 6.67188 14 7.5 14H8.5C9.32812 14 10 13.3281 10 12.5V3.5C10 2.67188 9.32812 2 8.5 2H7.5Z"),d.setAttribute("fill","currentColor"),t.appendChild(d),t}function mW(){let l="http://www.w3.org/2000/svg",t=document.createElementNS(l,"svg");t.setAttribute("width","10"),t.setAttribute("height","12"),t.setAttribute("viewBox","0 0 12 14");let d=document.createElementNS(l,"path");return d.setAttribute("d","M2.28125 0.218752C1.81875 -0.0656233 1.2375 -0.0749983 0.765625 0.190627C0.29375 0.456252 0 0.956252 0 1.5V12.5C0 13.0438 0.29375 13.5438 0.765625 13.8094C1.2375 14.075 1.81875 14.0625 2.28125 13.7813L11.2812 8.28125C11.7281 8.00938 12 7.525 12 7C12 6.475 11.7281 5.99375 11.2812 5.71875L2.28125 0.218752Z"),d.setAttribute("fill","currentColor"),t.appendChild(d),t}function BW(l){let t=l.getAttribute("data-visible");return t?t==="true":!1}function Ug(){return Ul(this,null,function*(){let t=Array.from(p(Ct)).map(d=>(d.toggleAttribute("autoplay"),BW(d)?d.play():Promise.resolve()));yield Promise.all(t)})}function Zg(){return Ul(this,null,function*(){let t=Array.from(p(Ct)).map(d=>(d.toggleAttribute("autoplay"),BW(d)&&d.pause(),Promise.resolve()));yield Promise.all(t)})}function Qt(l){try{l.pause()}catch(d){}let t=l.play();typeof t!="undefined"&&t.catch(()=>{l.play().catch(d=>{l.pause()})})}function pd(l){sessionStorage.setItem("video-paused",l.toString())}function Al(){return sessionStorage.getItem("video-paused")==="true"}Wd();function Xt(l,t){Xl.length===0&&Fg();let d=Xl.find(V=>V.element===l);d?d.listeners.find(V=>V===t)||d.listeners.push(t):Xl.push({element:l,lastVisibility:"not-visible",listeners:[t]}),Ig(l,t)}function Ig(l,t){let i=xd(l),{visibility:d}=i,V=ra(i,["visibility"]);switch(d){case"visible":t(O({type:"enter-buffer",element:l},V)),t(O({type:"enter",element:l},V));break;case"almost-visible":t(O({type:"enter-buffer",element:l},V));break;default:t(O({type:"leave",element:l},V)),t(O({type:"leave-buffer",element:l},V));break}}function Ii(l,t){let d=Xl.findIndex(V=>V.element===l);if(d!==-1){let V=Xl[d];V.listeners=V.listeners.filter(i=>i!==t),V.listeners.length===0&&(Xl.splice(d,1),Xl.length===0&&gg())}}var Xl=[],od,Ui=0,Nt=null;function Fg(){let l=document.querySelector("#editor-viewport");l?(od=l,Ui=l.getBoundingClientRect().top,Nt=new ResizeObserver(Jt),Nt.observe(l,{box:"content-box"})):(od=window,Ui=0,window.addEventListener("resize",Jt,{passive:!0})),od.addEventListener("scroll",Jt,{passive:!0}),al(pW)}function gg(){od.removeEventListener("scroll",Jt),Nt?(Nt.disconnect(),Nt=null):window.removeEventListener("resize",Jt),Jl(pW)}var Zi=!1;function Jt(){Zi=!0}function pW(){Zi&&(Zi=!1,Bg())}var mg={"not-visible":{"not-visible":[],"almost-visible":["enter-buffer"],visible:["enter-buffer","enter"]},"almost-visible":{"not-visible":["leave-buffer"],"almost-visible":[],visible:["enter"]},visible:{"not-visible":["leave","leave-buffer"],"almost-visible":["leave"],visible:["scroll"]}};function Bg(){Xl.forEach(l=>{let{top:t,visibility:d,scrollPercent:V,elementHeight:i,viewportHeight:a}=xd(l.element),e={element:l.element,top:t,scrollPercent:V,elementHeight:i,viewportHeight:a};mg[l.lastVisibility][d].forEach(n=>{l.listeners.forEach(b=>b(O({type:n},e)))}),l.lastVisibility=d})}function xd(l){let{top:t,height:d}=l.getBoundingClientRect(),V=k.getHeight(),i=V+d,a=t-Ui,e=1-(d+a)/i,G=e>=0&&e<=1,n=V*.5/i,b=e>=0-n&&e<=1+n;return{top:a,visibility:G?"visible":b?"almost-visible":"not-visible",scrollPercent:e,elementHeight:d,viewportHeight:V}}function oW(){let l={};return{on(t,d){if(l[t])l[t].push(d);else return l[t]=[d],!0},off(t,d){if(l[t]){let V=l[t].indexOf(d);if(V!==-1){if(l[t].length===1)return delete l[t],!0;l[t].splice(V,1)}}return!1},emit(t,...d){var V;(V=l[t])==null||V.forEach(i=>i(...d))},hasListener(t){return t in l}}}function xW(l){return["enter-buffer","enter","leave","leave-buffer","scroll"].includes(l)}var Cd=class extends HTMLElement{constructor(){super(...arguments);this.internalEvents=oW();this.scrollListenerCount=0;this.observer=new MutationObserver(()=>{this.internalEvents.emit("content")});this.scrollListener=d=>{switch(d.type){case"enter-buffer":this.internalEvents.emit("enter-buffer");break;case"enter":this.internalEvents.emit("enter"),this.internalEvents.emit("scroll",d);break;case"leave":this.internalEvents.emit("leave");break;case"leave-buffer":this.internalEvents.emit("leave-buffer");break;case"scroll":this.internalEvents.emit("scroll",d);break}}}connectedCallback(){this.internalEvents.emit("connected"),this.internalEvents.hasListener("content")&&(this.observer.observe(this,{childList:!0,subtree:!0}),this.hasChildNodes()&&this.internalEvents.emit("content")),this.scrollListenerCount>0&&(this.scrolledParent=CW(this),Xt(this.scrolledParent,this.scrollListener))}getScrollPosition(){return xd(this.scrolledParent)}disconnectedCallback(){this.scrollListenerCount>0&&(Ii(this.scrolledParent,this.scrollListener),this.internalEvents.emit("leave"),this.internalEvents.emit("leave-buffer")),this.internalEvents.hasListener("content")&&this.observer.disconnect(),this.internalEvents.emit("disconnected")}on(d,V){this.internalEvents.on(d,V)&&(xW(d)?(this.isConnected&&this.scrollListenerCount===0&&(this.scrolledParent=CW(this),Xt(this.scrolledParent,this.scrollListener)),this.scrollListenerCount++):d==="content"&&this.isConnected&&this.observer.observe(this,{childList:!0,subtree:!0}))}off(d,V){this.internalEvents.off(d,V)&&(xW(d)?(this.scrollListenerCount--,this.isConnected&&this.scrollListenerCount===0&&Ii(this.scrolledParent,this.scrollListener)):d==="content"&&this.isConnected&&this.observer.disconnect())}};function CW(l){let t=l;for(;t.parentElement;){let d=getComputedStyle(t);if(d.position!=="sticky"&&d.display!=="inline")return t;t=t.parentElement}return t}function Qd(l,t){customElements.get(l)||customElements.define(l,t)}var pg={fadeInThreshold:.7,fadeOutThreshold:.15,hideWhenOutOfBounds:!0};function QW(l,t,d,V,i=pg){let a=d/(d+V),e=a*i.fadeInThreshold*.5-a,G=1-a;if(e>t||t>=G)return[];let n=l.filter(R=>R.transitionPercentage).sort((R,c)=>c.transitionPercentage-R.transitionPercentage);if(n.length===0)return[];let b=n[0],W=n[1];if(b.transitionPercentagei.fadeInThreshold,c=W.transitionPercentage>i.fadeOutThreshold;if(R)return[W];if(c)return[b,W]}return[b]}var Fi=z(KV()),gi=z(P());function mi(l){var i;let t=p(".Theme-Layer-BodyText",l.parentElement);((i=document.getElementById("editor-viewport"))!=null?i:document).addEventListener("scroll",V,{passive:!0});function V(){t.forEach(a=>{gi.default.measure(()=>{let{top:e,bottom:G}=a.getBoundingClientRect(),n=window.innerHeight,b=n*.3,W=en-b,R=G0;gi.default.mutate(()=>{if(W){let c=(0,Fi.default)((n-e)/b,0,1);a.style.setProperty("opacity",c.toString())}else if(R){let c=(0,Fi.default)(G/b,0,1);a.style.setProperty("opacity",c.toString())}else G<0||e>n?a.style.setProperty("opacity","0"):a.style.setProperty("opacity","1")})})})}}function NW(l){return l?l.split(";").map(d=>{let V=d.trim().split(/\s+/);if(V.length<2)return{name:V[0]||"none",speed:1};{let i=parseFloat(V[0]);return{name:V[1],speed:isNaN(i)?1:i}}}):[]}function JW(l,t,d,V){var W,R,c;let i=d+V,a=d*.4,e=d/i,G=-a/i,n=[{name:"none",start:G,end:G+e}],b=d;for(let I=0;I{if(V!==0&&tl[V+1].end)return{index:V,display:"none"};{let i=d.end-d.start,a=t-d.start,e=Math.min(a/i,1),G=og(d,V,e);return G.opacity===0?{display:"none",index:V}:G}})}function og(l,t,d){let V={display:"block",transitionPercentage:d,index:t,clipPath:"none",opacity:1},i=0,a=0,e=0,G=0;return l.name.split(",").forEach(b=>{switch(b){case"fade":V.opacity=d;break;case"up":i=(1-d)*100;break;case"right":a=(1-d)*100;break;case"down":e=(1-d)*100;break;case"left":G=(1-d)*100;break}}),(i||a||e||G)&&(V.clipPath=`inset(${i}% ${a}% ${e}% ${G}%)`),V}var xg=`
`,Nd=class extends Cd{constructor(){super();this.textHeights=[];this.isTextBlockConnected=!1;let d=this.attachShadow({mode:"open"});d.innerHTML=xg,this.wrapperElement=d.querySelector("[data-wrapper]"),this.slotElements=Array.from(d.querySelectorAll("slot")),window.ResizeObserver&&(this.textObserver=new ResizeObserver(()=>{this.textBlockElement&&(this.textHeights=hW(this.textBlockElement))})),this.slotElements[0].addEventListener("slotchange",()=>{this.updateScene(this.getScrollPosition())}),this.slotElements[1].addEventListener("slotchange",()=>{this.captionElement=this.slotElements[1].assignedElements()[0];let i=this.getScrollPosition();this.captionElement&&i.visibility==="visible"&&(this.captionElement.style.display="block",this.updateScene(i))}),this.slotElements[2].addEventListener("slotchange",()=>{this.disconnectTextBlockElement(),this.textBlockElement=this.slotElements[2].assignedElements()[0],this.connectTextBlockElement(),this.updateScene(this.getScrollPosition())});let V=(i=>{i.detail.source==="click"&&Array.from(this.slotElements[2].assignedElements()[0].childNodes)[i.detail.index].scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}).bind(this);this.on("connected",()=>{mi(this),this.readTransitions(),this.connectTextBlockElement(),window.addEventListener("panel-item-selected",V)}),this.on("disconnected",()=>{this.disconnectTextBlockElement(),window.removeEventListener("panel-item-selected",V)}),this.on("enter-buffer",()=>{this.wrapperElement.style.removeProperty("visibility")}),this.on("enter",()=>{this.captionElement&&(this.captionElement.style.display="block")}),this.on("scroll",i=>{this.updateScene(i)}),this.on("leave",()=>{this.captionElement&&(this.captionElement.style.display="none")}),this.on("leave-buffer",()=>{this.wrapperElement.style.setProperty("visibility","hidden")})}connectTextBlockElement(){var d;this.isConnected&&this.textBlockElement&&!this.isTextBlockConnected&&(this.textHeights=hW(this.textBlockElement),(d=this.textObserver)==null||d.observe(this.textBlockElement),this.isTextBlockConnected=!0)}disconnectTextBlockElement(){var d;this.textBlockElement&&this.isTextBlockConnected&&(this.textHeights=[],(d=this.textObserver)==null||d.observe(this.textBlockElement),this.isTextBlockConnected=!1)}readTransitions(){this.transitions=NW(this.getAttribute("data-transitions"))}updateScene({scrollPercent:d,viewportHeight:V,elementHeight:i}){if(this.textHeights.length===0)return;let a=JW(this.transitions,this.textHeights,V,i),e=XW(a,d),G=QW(e,d,V,i),n=this.slotElements[0].assignedElements(),b=e.findIndex(R=>R.display!=="none"),W=n[b];this.mostVisibleElement!==W&&(this.mostVisibleElement=W,window.dispatchEvent(new CustomEvent("panel-item-selected",{detail:{index:b,source:"scroll"}}))),Xg(this.captionElement,n,G),e.forEach((R,c)=>Cg(n[c],R))}attributeChangedCallback(){this.isConnected&&(this.readTransitions(),this.updateScene(this.getScrollPosition()))}};Nd.observedAttributes=["data-transitions","data-id"];function hW(l){return Array.from(l.children).map(t=>t.getBoundingClientRect().height)}function Cg(l,t){var d;l instanceof HTMLElement&&(l.style.display!==t.display&&(t.display==="none"?Ng(l):Jg(l),l.style.display=t.display),l.style.opacity=(d=t.opacity)==null?void 0:d.toString(),l.style.clipPath=t.clipPath,l.style.zIndex=t.index.toString(),l.style.position="absolute")}function Qg(l){l.forEach(t=>{if(t.src)try{t.play().catch(()=>{})}catch(d){}else t.autoplay=!0})}function Ng(l){l.querySelectorAll("video").forEach(d=>{d.setAttribute("data-visible","false"),d.autoplay&&(d.autoplay=!1);try{d.pause()}catch(V){}})}function Jg(l){let t=l.querySelectorAll("video");if(t.forEach(d=>{d.setAttribute("data-visible","true")}),t.length>0){if(Al())return;Qg(t)}}function Xg(l,t,d){if(l){let V=l.querySelector("[data-mediarenderer-caption-container]")||l,i=d.map(a=>t[a.index].querySelector(".Theme-OverlayedCaption"));d.length===0||i.some(a=>!a)?l.style.opacity="0":(l.style.opacity="1",d.length===2?V.style.opacity="0":(V.style.opacity="1",V.innerHTML=i[0].innerHTML))}}Qd("sh-background-transition",Nd);function uW(l,t,d){var V,i,a;t===void 0&&(t=50),d===void 0&&(d={});var e=(V=d.isImmediate)!=null&&V,G=(i=d.callback)!=null&&i,n=d.maxWait,b=Date.now(),W=[];function R(){if(n!==void 0){var I=Date.now()-b;if(I+t>=n)return n-I}return t}var c=function(){var I=[].slice.call(arguments),m=this;return new Promise(function(Z,U){var B=e&&a===void 0;if(a!==void 0&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,b=Date.now(),!e){var J=l.apply(m,I);G&&G(J),W.forEach(function(h){return(0,h.resolve)(J)}),W=[]}},R()),B){var Q=l.apply(m,I);return G&&G(Q),Z(Q)}W.push({resolve:Z,reject:U})})};return c.cancel=function(I){a!==void 0&&clearTimeout(a),W.forEach(function(m){return(0,m.reject)(I)}),W=[]},c}var rW=z(PV());function Bi(l){let t={"InstantImage--isLoading":!1,"InstantImage--isLoaded":!0};l.className=(0,rW.default)(l.className,t)}var sW=Pl();function El(l,t){let d=Array.from(l.querySelectorAll("source")),V;return sW&&(V=d.find(i=>i.type==="video/mp4"&&i.hasAttribute(`data-${t}`))),V||(V=d.find(i=>l.canPlayType(i.type)&&i.hasAttribute(`data-${t}`)&&(!sW||i.type==="video/mp4"))),V?[hg(V.getAttribute(`data-${t}`)),V.type]:[void 0,void 0]}function hg(l){let t=document.createElement("a");return t.href=l,t.href}function Il(l,t){t.classList.remove("video-stopped","video-paused","video-playing","video-loading","video-error"),t.classList.add(l)}function ug(l){let t=()=>{l.style.opacity="1"};["loadeddata","playing","canplaythrough"].forEach(V=>xl(l,V,t))}function rg(l){return l.currentTime>0&&!l.paused&&!l.ended&&l.readyState>2}function ql(l,t={canControl:!0}){let d=k.getHeight()>k.getWidth(),V=rg(l),[i]=El(l,d?"portrait":"landscape");i&&l.src!==i&&(l.src=i,l.load(),t.canControl&&V&&Qt(l))}function YW(){let l=Pl(),t=p(ci),d=window.matchMedia("(prefers-reduced-motion: reduce)").matches;t.forEach(a=>{let e=a.querySelector(Ct);if(!e)return;l&&e.className.includes("FullSize__fixedChild")&&e.addEventListener("canplay",()=>{e.className=e.className.replace("FullSize__fixedChild","FullSize__fixedChild--Safari")});let G=e.autoplay;e.muted=!0,e.defaultMuted=!0,ug(e);function n(){Bi(a),e.style.visibility="visible";for(let W of a.querySelectorAll("img"))W.style.visibility="hidden"}if(e.readyState>=2?n():(e.addEventListener("canplay",n),e.addEventListener("error",()=>Bi(a))),q(a,W=>{Vl(W)&&(gd(e),ql(e,{canControl:!1}))},{triggerPoint:"lazyload 3D models"}),d){ql(e,{canControl:!1}),e.pause();return}if(G){q(a,c=>{Al()||(Vl(c)?(ql(e,{canControl:!1}),Qt(e)):e.pause())},{triggerPoint:"on visibile"});let{top:R}=a.getBoundingClientRect();R{e.readyState<2&&e.paused&&(e.load(),Qt(e))},1e3))}else ql(e,{canControl:!1})});let V=p(`${ci} ${Ct}`),i=uW(a=>V.forEach(e=>{ql(e,{canControl:!0})}),100);["resize","orientationchange"].forEach(a=>{window.addEventListener(a,i,{passive:!0})})}function SW(){pd(window.matchMedia("(prefers-reduced-motion: reduce)").matches),window.Shorthand.hasOwnProperty("embed")?IW().then(()=>{window.Shorthand.showBackgroundVideoControls&&TW()}):document.addEventListener("DOMContentLoaded",function(){window.Shorthand.showBackgroundVideoControls&&TW()})}function TW(){p(".Theme-Section, .Section").forEach(t=>{let d=t.querySelectorAll("[data-background-video]"),V=t.classList.contains("Theme-MediaGallerySection")||t.classList.contains("Theme-RevealSection");d.forEach(i=>{let a=i.querySelector("video");if(!a)return;let e=FW();V?t.prepend(e):i.prepend(e),q(a,b=>{Vl(b)?e.style.display="block":e.style.display="none"},{triggerPoint:"substantially visible"}),q(a,b=>{Vl(b)?a.setAttribute("data-visible","true"):a.setAttribute("data-visible","false")},{triggerPoint:"on visibile"})})})}var HW=z(di());var pi=z(P());function oi(l,t){pi.default.measure(()=>{let d=window.innerWidth,i=t.reduce((a,e)=>a.clientHeight>e.clientHeight?a:e,t[0]).clientHeight;pi.default.mutate(()=>{l.style.height=d>=900?`${i}px`:null})})}var ut=z(P());var ht={items:[],lastSizes:new WeakMap},sg=250;function kW(){let l=Tg(document.documentElement);l.length!==0&&(ht.items=l,al(Yg))}function Yg(){ht.items.forEach(l=>kg(l))}function Tg(l){return p("[data-card-canvas-item]",l).map(Sg)}function Sg(l){return{el:l,img:p("img",l),caption:l.querySelector(".CardCanvasItem__caption"),heightReferenceEl:l.parentElement.querySelector("[data-card-canvas-height-reference]")}}function kg(l){Mg(l).then(()=>Hg(l)).catch(()=>{})}function Mg(l){return new Promise((t,d)=>{ut.default.measure(()=>{if(getComputedStyle(l.el).getPropertyValue("display")==="none")return d();let i=window.innerWidth,a=l.heightReferenceEl.clientHeight,e=l.caption?l.caption.clientHeight:0,G=ht.lastSizes.has(l)?ht.lastSizes.get(l):{width:0,height:0,captionHeight:0};if(i===G.width&&a===G.height&&e===G.captionHeight)return d();G.width=i,G.height=a,G.captionHeight=e,ht.lastSizes.set(l,G);let n=a-e;ut.default.mutate(()=>{l.img.forEach(b=>b.style.maxHeight=i>=900?`${n}px`:null),t()})})})}function Hg(l){return new Promise(t=>{if(!l.caption)return t();function d(V,i){ut.default.mutate(()=>{let a=Ag(i,{width:V.naturalWidth,height:V.naturalHeight}),e=Math.max(a.width,sg);l.caption.style.maxWidth=`${e}px`,t()})}ut.default.measure(()=>{let V=l.el.querySelector("picture img");if(!V)return;let i=V.getBoundingClientRect();V.naturalWidth>0?d(V,i):V.addEventListener("load",()=>d(V,i))})})}function Ag(l,t){let d=t.width/l.width,V=t.height/l.height,i=Math.max(d,V);return{width:t.width/i,height:t.height/i}}var Ci={instances:new Map,isRunning:!1},xi=new WeakMap;function Eg(l){let t=Ci.instances;return t.has(l)||t.set(l,{scrollContainer:l.parentElement,items:[],isRendering:!1,machines:new WeakMap}),t.get(l)}function yg(l,t,d){let V=1/d.length,i=t*V,a=i+V,e=t===0,G=t===d.length-1;return{itemEl:l,index:t,data:{start:i,end:a,showDuringScrollIn:e,showDuringScrollOut:G}}}function Qi(){kW(),p("[data-card-canvas]").forEach(t=>zg(t,{doLazyload:!0})),["resize","orientationchange"].forEach(t=>window.addEventListener(t,AW,{passive:!0}))}function zg(l,t,d){let V=p("[data-card-canvas-item]",l);if(V.length===0)return;let i=V.map(yg),a=Eg(l);return a.items=i.reduce((e,G)=>{let n=a.items.find(b=>b.itemEl===G.itemEl);return n&&(n.data=G.data),[...e,n||G]},[]),a.items.map(e=>t.doLazyload?wg(e,l.parentElement):e).filter(e=>!a.machines.get(e)).forEach(e=>a.machines.set(e,new md({item:e,classNames:{prime:"CardCanvasItem--isPrimed",active:"CardCanvasItem--isActive"},onItemShown(G){d&&d(G,a.items.indexOf(G))},shouldLinger(G){return!a.items.filter(R=>R!==G).map(R=>a.machines.get(R)).some(R=>R.isActive())}}))),t.doLazyload&&AW(),al(MW),()=>Jl(MW)}function wg(l,t){if(!xi.get(l.itemEl)){let V=document.createElement("div");V.classList.add("BackgroundScrollmation__lazyloadTriggerElement"),V.setAttribute("data-item-index",String(l.index)),xi.set(l.itemEl,V),t.appendChild(V);let i={pictures:p("picture",l.itemEl),container:l.itemEl.querySelector("[data-lazyload-container]"),trigger:V};It(i)}return l}function AW(){(0,HW.default)(Ci.instances.values()).map(l=>l.items).map(l=>l.map(t=>{let d=xi.get(t.itemEl);Object.assign(d.style,{position:"absolute",top:`${t.data.start*100}%`})}))}function Lg(l,t){Bd(l),oi(t,l.items.map(d=>d.itemEl))}function MW(){Ci.instances.forEach(Lg)}function Ni(){}var Og=Symbol("hidden"),Dg=Symbol("visible");function jg(l,t,d){let V=d.find(([a])=>a===l),i=V?V[1]:!1;return(!i||i!==t)&&l(t),d.filter(([a])=>a!==l).concat([[l,t]])}function vg(l){let{lastCalls:t}=l;Kg.forEach(d=>{let i=l.isPageHidden||!l.visibleElements.has(d.element)?Og:Dg;t=jg(d.cb,i,t)}),l.lastCalls=t}function fg(){Hl.addVisibilityChangeListener(()=>{let l={isPageHidden:EW()};Pg(l)})}function EW(){return Hl.isHidden()}var Kg=[],Ji={isPageHidden:EW(),visibleElements:new Set,lastCalls:[]};function Pg(l){Ji=O(O({},Ji),l),vg(Ji)}function Xi(){fg()}var hi=z(P());function ui(){window.addEventListener("resize",()=>yW(),{passive:!0}),yW()}function yW(){hi.default.measure(()=>{let l=k.getOrientation();hi.default.mutate(()=>{p("[data-landscape-focal]").forEach(t=>{let d=t.dataset[`${l}Focal`];if(d){let V=t.tagName==="PICTURE"?t.querySelector("img"):t;V==null||V.style.setProperty("object-position",d)}})})})}var v=null,rt=!1;function ri(){_g(),p("[data-footnote]").forEach(l=>$g(l))}function _g(){let l=Y(".Theme-Story");l&&(!v||!Y(".Theme-Footnote",l))&&(v=document.createElement("div"),v.classList.add("Theme-Footnote"),v.setAttribute("role","tooltip"),v.setAttribute("aria-live","polite"),v.setAttribute("aria-atomic","true"),l.appendChild(v))}function zW(){return Y("#editor-viewport")||document}function qg(){let l=Y(".Theme-Header");if(!l)return 0;let t=getComputedStyle(l).height,d=parseInt(t,10),V=Y(".Navigation__itemList"),i=V&&window.innerWidth>=1100&&V.childNodes.length?36:0,a=Y(".navbar-editor");return(a?parseInt(getComputedStyle(a).height,10):0)+d+i}function $g(l){l.addEventListener("mouseover",()=>Jd(l)),l.addEventListener("touchstart",()=>Jd(l)),l.addEventListener("focus",()=>{setTimeout(()=>Jd(l),100)}),l.addEventListener("keydown",t=>{switch(t.key){case"Enter":rt?si():Jd(l);break;case"ArrowUp":rt&&(t.preventDefault(),v.firstElementChild.scrollBy(0,-20));break;case"ArrowDown":rt&&(t.preventDefault(),v.firstElementChild.scrollBy(0,20));break}})}function Jd(l){let t=l.getBoundingClientRect();v.style.display="block",v.innerHTML=decodeURIComponent(l.getAttribute("data-footnote"));let d=v.getBoundingClientRect(),V=t.topwindow.innerWidth&&(a=window.innerWidth-d.width/2-2),v.style.top=`${i}px`,v.style.left=`${a}px`,v.classList.remove("Theme-Position-Top"),v.classList.remove("Theme-Position-Bottom"),v.classList.add(V?"Theme-Position-Top":"Theme-Position-Bottom"),document.addEventListener("mouseover",Xd),document.addEventListener("touchstart",Xd),zW().addEventListener("scroll",wW),rt=!0}function si(){rt=!1,v.style.display="",document.removeEventListener("mouseover",Xd),document.removeEventListener("touchstart",Xd),zW().removeEventListener("scroll",wW)}function wW(){si()}function Xd(l){let t=l.target;!t.closest(".Theme-Layer-BodyText-Highlight")&&!t.closest(".Theme-Footnote")&&si()}var Yi;function Ti(){let l=window;if(Yi=p("[data-animation]").map(t=>{try{let d=JSON.parse(atob(t.getAttribute("data-animation"))),V=t.querySelector("video");return V||(V=t.querySelector("picture > img")),d.preset==="none"?null:{element:t,media:V,hasAnimated:!1,animation:d}}catch(d){return null}}).filter(t=>t),!OW())for(let t of Yi)t.element.style.transformOrigin="center",t.element.style.transform="translate(0, 0) rotate(0) scale(1)",t.element.style.opacity="0";l.addEventListener("scroll",LW,{passive:!0}),LW()}function LW(){let l=k.getHeight(),t=Y("article.Theme-Story");if(!t)return;let d=t.getBoundingClientRect().bottom-l{if(i.hasAnimated)return!1;let e=i.element.getBoundingClientRect().top/l;return d||e<=.7});for(let i=0;il1(a,e,G,i*200);a.media instanceof HTMLImageElement?a.media.complete?n():a.media.addEventListener("load",n):n()}}function l1(l,t,d,V){var i,a;l.element.animate({opacity:d,transform:[`translate(${d1(t.move)}) rotate(${(i=t.rotate)!=null?i:0}deg) scale(${(a=t.zoom)!=null?a:1})`,"translate(0, 0) rotate(0) scale(1)"]},{delay:V,duration:OW()?0:t.duration,easing:t1(t),iterations:1,fill:"forwards"})}function t1(l){return["up","down"].includes(l.move)?"ease-in-out":l.zoom>1||l.rotate!==0?"ease-in":"cubic-bezier(.27,0,.43,1.22)"}function d1(l){switch(l){case"up":return"0%,20%";case"down":return"0%,-20%";case"left":return"20%,0%";case"right":return"-20%,0%";default:return"0%,0%"}}function OW(){var l;return window.__prefersReducedMotion||((l=window.matchMedia("(prefers-reduced-motion: reduce)"))==null?void 0:l.matches)}var Si=z(P());var DW="HideOffscreen__media--onscreen";function V1(l){Si.default.mutate(()=>{l.forEach(t=>t.classList.remove(DW))})}function i1(l){Si.default.mutate(()=>{l.forEach(t=>{t.classList.add(DW),bi([t])})})}function ki(){p(".HideOffscreen--container").map(l=>({container:l,children:p(".HideOffscreen__media",l)})).filter(l=>l.children&&l.children.length>0).forEach(l=>{Xt(l.container,t=>{switch(t.type){case"enter-buffer":i1(l.children);break;case"leave-buffer":V1(l.children);break}})})}function Mi(){}function a1(){let l=document.createElement("div");return l.style.display="flex",l.style.display==="flex"}function Hi(){a1()||document.documentElement.classList.add("Layout--flexboxUnsupported")}function Ai(){Hi()}var vW=z(P());function hd(l,t){let d=l.querySelector(".carousel-live-region");d&&d.remove();let V=l.querySelector(".carousel-inner"),i=l.querySelector(".carousel-container"),a=l.querySelector(".carousel-image-Small"),e=l.querySelector(".carousel-captions"),G=l.querySelector("#carousel-next-btn"),n=l.querySelector("#carousel-prev-btn"),b=Array.from(V.querySelectorAll(".carousel-cell-item")),W=[],R=0;function c(x,o,X){x.style.transition=o,x.style.transform=X}let I;Y(".Theme-Story").dir==="rtl"&&(I=!0);function Z(x,o){let X;return x instanceof HTMLImageElement?X=x.naturalWidth/x.naturalHeight:x instanceof HTMLVideoElement&&(X=x.videoWidth/x.videoHeight),o*X}function U(x,o){let X=window.innerWidth,r=a?V.clientHeight-60:V.clientHeight,w=()=>{let Rl=Z(x,r);W[parseInt(o.dataset.index)]=Rl,X<900&&!a?(o.style.width="92vw",o.style.height="100%",o.classList.add("active","carousel-mobile-media")):(o.classList.remove("carousel-mobile-media"),o.style.width=`${Rl}px`,o.style.height=`${r}px`)};function S(){w(),t?B():(c(V,"transform 0.5s ease","translateX(0px)"),c(e,"transform 0.5s ease","translateX(0px)")),Q()}x instanceof HTMLImageElement?x.complete?S():x.addEventListener("load",S):x instanceof HTMLVideoElement&&(x.readyState>=3?S():x.addEventListener("loadeddata",S)),Q()}function B(){let x=window.innerWidth;if(V)if(x<900&&!a)c(V,"none",`translateX(${R*92}vw)`),c(e,"none",`translateX(${R*92}vw)`);else{let o=l.querySelector(".carousel-container").offsetWidth/2-W[R]/2;c(V,"none",`translateX(${I?-o:o}px)`),c(e,"none",`translateX(${I?-(o+15*R):o+15*R}px)`)}}function Q(){let x=l.querySelectorAll("[data-media-long-captions]"),o=window.innerWidth,X=Array.from(x).every(r=>r.textContent.trim()==="");b.forEach((r,w)=>{let S=x[w];o<900&&!a?(S.classList.add("mobile-caption"),S.style.width="92vw",S.classList.remove("carousel-center-caption")):t?(S.classList.add("carousel-center-caption"),S.classList.remove("mobile-caption"),S.style.width=`${W[w]}px`):(S.classList.remove("mobile-caption"),S.classList.remove("carousel-center-caption"),S.style.width="92vw"),w!==R&&!X?(r.classList.add("non-active-fade-out"),S.classList.add("fade-out-caption","hide-caption"),S.classList.remove("active-caption")):(r.classList.add("active"),r.classList.remove("non-active-fade-out"),S.classList.add("active-caption"),S.classList.remove("fade-out-caption","hide-caption"))}),G.style.display=I?R===0?"none":"block":R===b.length-1?"none":"block",n.style.display=I?R===b.length-1?"none":"block":R===0?"none":"block"}function J(){b.forEach((X,r)=>{X.dataset.index=String(r);let w=X.querySelector("img"),S=X.querySelector("video");S&&!S.paused&&(S.style.visibility="visible"),U(w,X)}),R=0;let x=W.reduce((X,r)=>X+r,0),o=l.querySelector(".MediaGallery_carousel");W[R]{X.classList.add("active"),e.classList.add("active-caption"),X.classList.remove("non-active-fade-out"),e.classList.remove("non-active-fade-out")})):(e.style.display="flex",o.classList.remove("center-carousel"),Q())}function h(){return 15/window.innerWidth*100}function C(x){let o=(R+(x==="next"?1:-1)+W.length)%W.length,X=W[o],r=W.slice(0,o).reduce((ll,Fl)=>ll+Fl+15,0);if(window.innerWidth<900&&!a)c(V,"transform 0.5s ease",`translateX(${I?o*92+h()*o:-(o*92+h()*o)}vw)`),c(e,"transform 0.5s ease",`translateX(${I?o*92+h()*o:-(o*92+h()*o)}vw)`);else if(t){let ll=l.querySelector(".carousel-container").offsetWidth/2-X/2-r;c(V,"transform 0.5s ease",`translateX(${I?-ll:ll}px)`),c(e,"transform 0.5s ease",`translateX(${I?-ll:ll+15*o}px)`)}else c(V,"transform 0.5s ease",`translateX(${I?r:-r}px)`),c(e,"transform 0.5s ease",`translateX(${I?o*92:-o*92}vw)`);R=o,Q(),g(o);let S=I?o===0:o===b.length-1,Rl=I?o===b.length-1:o===0;x==="next"&&S?n.focus():x==="prev"&&Rl&&G.focus()}function g(x){let o=l.querySelectorAll("[data-media-long-captions]")[x],r=b[x].querySelector('img:not([aria-hidden="true"])'),w=`Slide ${x+1} of ${b.length}`;if(r&&r.alt&&(w+=`, ${r.alt}`),o){let ll=window.innerWidth{S.textContent=w},100)}G.addEventListener("click",()=>C(I?"prev":"next")),n.addEventListener("click",()=>C(I?"next":"prev"));function s(x){return{x:x.touches[0].clientX,y:x.touches[0].clientY}}let N=null,M=-1;i.addEventListener("touchstart",x=>{N=s(x),M=N.x},{passive:!0}),i.addEventListener("touchmove",x=>{let o=s(x),X=o.x-N.x,r=o.y-N.y;Math.abs(X)>Math.abs(r)&&x.cancelable&&x.preventDefault()}),i.addEventListener("touchend",x=>{if(M===-1)return;let o=x.changedTouches[0].clientX-M,X=window.innerWidth*.1;o<-X&&RX&&R>0&&C("prev"),M=-1},{passive:!0});function E(){return Ul(this,null,function*(){let x=b.map(o=>{let X=o.querySelector("img"),r=o.querySelector("video");return{img:X,video:r}});yield Promise.all(x.map(({img:o,video:X})=>new Promise(r=>{function w(){o?o.complete?o.naturalWidth>0?r():setTimeout(w,100):(o.addEventListener("load",()=>r()),o.src=o.src):X&&(X.readyState>=3?X.videoWidth>0?r():setTimeout(w,100):(X.addEventListener("loadeddata",()=>r()),X.src=X.src))}w()}))),J()})}E();let T=window.innerHeight;window.addEventListener("resize",()=>{let x=window.innerHeight;Math.abs(x-T)>100&&(J(),T=x)})}var Wl=class l{constructor(t){var G;this.element=t,this.counter=t.querySelector("[aria-live]"),this.element.parentElement.removeChild(this.element),((G=window.__shadowRoot)!=null?G:document.body).appendChild(this.element),this.currentMediaIndex=0,this.media=p("[data-media-gallery-index]",this.element),this.element.addEventListener("click",()=>{this.close()}),p("img, .Videoplayer, .Theme-Caption",this.element).forEach(n=>{n.addEventListener("click",b=>b.stopPropagation())});let V=Y('[data-action="previous"]',this.element);V&&V.addEventListener("click",n=>{n.stopPropagation(),this.prev()});let i=Y('[data-action="next"]',this.element);i&&i.addEventListener("click",n=>{n.stopPropagation(),this.next()}),Y('[data-action="close"]',this.element).addEventListener("click",n=>{n.stopPropagation(),this.close()}),this.element.addEventListener("touchmove",n=>n.preventDefault());let e=-1;p("img, .Videoplayer",this.element).forEach(n=>{n.addEventListener("touchstart",b=>{e=b.touches[0].clientX}),n.addEventListener("touchend",b=>{let W=b.changedTouches[0].clientX-e,R=window.innerWidth*.1;W<-R?this.next():W>R&&this.prev(),e=-1})})}getFocusable(){let t=p("*[data-action]",this.element),d=Y(`[data-media-gallery-index="${this.currentMediaIndex}"].active [tabindex]`,this.element);return t.concat(d).filter(V=>V)}open(t,d){var V;(V=l.current)==null||V.close(!1),p("video",this.element).forEach(i=>i.setAttribute("playsinline","true")),p([".DeviceDetect--isEdge .MediaGallery--lightbox .plyr__progress--seek",".DeviceDetect--isIE .MediaGallery--lightbox .plyr__progress--seek"].join(",")).forEach(i=>{i.style.setProperty("width","0"),setTimeout(()=>i.style.removeProperty("width"),100)}),this.goToIndex(t),this.element.classList.add("MediaGallery--lightbox--open"),l.current=this,document.body.classList.add("Body--hasLightbox"),this.getFocusable()[1].focus(),this.onClose=d}close(t=!0){this.element.classList.remove("MediaGallery--lightbox--open"),document.body.classList.remove("Body--hasLightbox"),p("video",this.element).forEach(d=>d.pause()),t&&typeof this.onClose=="function"&&this.onClose(),l.current=null}prev(){let t=this.currentMediaIndex===0?this.media.length-1:this.currentMediaIndex-1;this.goToIndex(t)}next(){let t=this.currentMediaIndex===this.media.length-1?0:this.currentMediaIndex+1;this.goToIndex(t)}goToIndex(t){this.media[this.currentMediaIndex].classList.remove("active"),p("video",this.element).forEach(V=>V.pause()),this.currentMediaIndex=t,Y(`[data-media-gallery-index="${this.currentMediaIndex}"]`,this.element).classList.add("active"),this.counter.innerText=`Item ${t+1} of ${this.media.length}`}};function Ei(){let l={};p("[data-media-gallery-lightbox]").forEach(d=>{let V=d.getAttribute("data-media-gallery-lightbox");l[V]=new Wl(d)}),p("[data-media-gallery]").forEach(d=>{let V=d.getAttribute("data-media-gallery");p("[data-cell-index]",d).forEach(i=>{i.addEventListener("click",()=>t(V,i)),i.addEventListener("keydown",a=>{Wl.current||a.code==="Enter"&&(a.preventDefault(),a.stopPropagation(),t(V,i))})})}),window.removeEventListener("keydown",jW),window.addEventListener("keydown",jW);function t(d,V){let i=parseInt(V.getAttribute("data-cell-index"),10);b1(),l[d].open(i,()=>{e1(),V.focus()})}}function jW(l){if(Wl.current&&k.getHeight()!==window.screen.height)switch(l.code){case"Tab":let t=Wl.current.getFocusable(),d=t[0],V=t[t.length-1];!t.includes(document.activeElement)||!l.shiftKey&&document.activeElement===V?(l.preventDefault(),l.stopPropagation(),d.focus()):l.shiftKey&&document.activeElement===d&&(l.preventDefault(),l.stopPropagation(),V.focus());break;case"Enter":document.activeElement.className.includes("plyr")&&(l.preventDefault(),l.stopPropagation(),document.activeElement.querySelector('[data-plyr="fullscreen"]').click());break;case"ArrowRight":l.preventDefault(),l.stopPropagation(),document.activeElement.className.includes("plyr")||Wl.current.next();break;case"ArrowLeft":l.preventDefault(),l.stopPropagation(),document.activeElement.className.includes("plyr")||Wl.current.prev();break;case"Escape":l.preventDefault(),l.stopPropagation(),Wl.current.close();break}}function b1(){p("[data-media-gallery] video").forEach(l=>l.pause())}function e1(){p("[data-media-gallery] video").forEach(l=>{vW.default.measure(()=>{let t=l.getBoundingClientRect();t.top0&&l.play()})})}p("[data-media-carousel]").forEach(l=>{hd(l,!1)});p("[data-media-center-carouse]").forEach(l=>{hd(l,!0)});function yi(){let{isIE:l,isEdge:t}=$();(l||t)&&(window.addEventListener("mousewheel",d=>{let{wheelDelta:V,wheelDeltaY:i}=d;d.preventDefault(),st(1-(i||V))}),document.body.addEventListener("keydown",d=>{switch(d.key){case"PageUp":d.preventDefault(),st(window.innerHeight*-.8);break;case"PageDown":d.preventDefault(),st(window.innerHeight*.8);break;case"ArrowUp":d.preventDefault(),st(-120);break;case"ArrowDown":d.preventDefault(),st(120);break;default:return}}))}function st(l,t=100){let d=10,V=l/d,i=setInterval(()=>{window.scrollTo(0,Math.round(window.pageYOffset+V)),d>0?d--:clearInterval(i)},t/d)}var qW=z(KW());var zi=z(P());var _W="Theme-ActiveNavigationBarItem";function n1(l){return l.reduce((t,d)=>{let V=d.getAttribute("href");if(!V.startsWith("#"))return t;try{let i=Y(V);i?t.push({target:i,navItem:d}):console.warn(`navigation: Couldn't locate target via nav item id '${V}'.`)}catch(i){console.warn(`navigation: Bad target via nav item selector ${V}.`)}return t},[])}function G1(l){l.forEach(W1)}function W1(l){l.parentElement.classList.remove(_W)}function R1(l){l.parentElement.classList.add(_W)}function c1(l){let t=k.getHeight()/2;return l.find(d=>{let V=d.target.getBoundingClientRect(),i=d.target.className.match(/\bTheme-TitleSection\b/)!==null;return V.topt)})}var PW={lastMostVisible:!1};function U1(l){zi.default.measure(()=>{let t=c1(l.slice().reverse());PW.lastMostVisible!==t&&zi.default.mutate(()=>{G1(l.map(d=>d.navItem)),t&&R1(t.navItem),PW.lastMostVisible=t})})}function wi(l){let t=n1(l);if(t.length===0)return;let d=()=>U1(t);["scroll","resize"].forEach(V=>window.addEventListener(V,d)),setTimeout(d,1e3),d()}function Li(l){let t=Y(".Navigation"),d=Y(".Navigation__hamburger");if(!t||!d)return;let V=p(".Navigation__item",t);if(V.length===0){d.classList.add("hidden");return}l&&Z1(l),I1(d,t),g1(V,t,d),F1(d)}function Z1(l){p(".Navigation__hamburger span").forEach(t=>t.style.backgroundColor=l)}function I1(l,t){function d(i){return a=>{a.key==="Tab"&&!a.shiftKey&&(a.preventDefault(),i.focus())}}function V(i){return a=>{a.key==="Tab"&&a.shiftKey&&(a.preventDefault(),i.focus())}}l.addEventListener("click",i=>{i.preventDefault(),t.classList.toggle("Navigation--isActive");let a=t.classList.contains("Navigation--isActive"),e=a?"true":"false";l.setAttribute("aria-expanded",e);let G=p("nav.Theme-NavigationBar a"),n=G.at(0),b=G.at(-1),W=n?V(b):null,R=b?d(n):null;function c(){t.classList.remove("Navigation--isActive"),l.setAttribute("aria-expanded","false"),l.focus(),n==null||n.removeEventListener("keydown",W),b==null||b.removeEventListener("keydown",R)}function I(U){!U.target.closest(".Navigation__hamburger")&&!t.contains(U.target)&&c()}function m(U){U.key==="Escape"&&c()}let Z=Wt();a?(n==null||n.focus(),n==null||n.addEventListener("keydown",W),b==null||b.addEventListener("keydown",R),Z.addEventListener("click",I),Z.addEventListener("keydown",m)):(n==null||n.removeEventListener("keydown",W),b==null||b.removeEventListener("keydown",R),Z.removeEventListener("click",I),Z.removeEventListener("keydown",m),l.focus())})}function F1(l){l.classList.remove("Navigation__hamburger--initializing")}function g1(l,t,d){let V=i=>{var e,G,n;t.classList.remove("Navigation--isActive"),d.setAttribute("aria-expanded","false");let a=Wt();if(a instanceof ShadowRoot){i.preventDefault();let b=(G=(e=i.target)==null?void 0:e.getAttribute("href"))==null?void 0:G.replace(/^.*#/,"#");(n=a.querySelector(b))==null||n.scrollIntoView({behavior:"smooth"})}};l.forEach(i=>i.addEventListener("click",V))}var m1="[data-story-nav-item]",B1=-2;function p1(){return p("[data-fixed-story-element]").reduce((t,d)=>t+d.getBoundingClientRect().height,B1)}function Oi(l=m1){let t=p(l);wi(t),Li();let d=p1();qW.default.setup(500,d)}var fi=z(P());var o1={clientWidth:["padding-left","padding-right","border-left-width","border-right-width"],clientHeight:["padding-top","padding-bottom","border-top-width","border-bottom-width"]};function $W(l){return tR(l,"clientWidth")}function lR(l){return tR(l,"clientHeight")}function x1(l,t){switch(t){case"clientWidth":return l.clientWidth;case"clientHeight":return l.clientHeight}}function tR(l,t){let d=o1[t];try{let V=window.getComputedStyle(l),i=d.reduce((a,e)=>{let G=V.getPropertyValue(e);return a+C1(G)},0);return x1(l,t)-i}catch(V){throw new Error(`Couldn't get styles for element ${l} in getInnerDimension`)}}function C1(l){return parseInt(l,10)}var A1=TR(),SR={elements:[]},E1=A1();function Pi(l){let{elements:t}=SR;if(t.findIndex(V=>V.element===l)>-1)return;let d={element:l,onResize(){Ki(l)}};t.push(d),Ki(l,!0),E1.listenTo(d.element.parentElement,d.onResize),rd()}function y1(){let{elements:l}=SR;l.forEach(t=>Ki(t.element))}function Ki(l,t=!1){fi.default.measure(()=>{let d=l.parentNode,V=d?$W(d):-1,i=l.clientWidth;(V!==i||t)&&fi.default.mutate(()=>{l.style.width=`${V}px`})})}function rd(){let l=document.getElementsByClassName("ParentWidth");Array.prototype.forEach.call(l,Pi),y1()}function sd(){let l=window.matchMedia("print");l.addEventListener("change",t);function t(d){let V=p(".carousel-print-container"),i=p(".carousel-container");d.matches?(V.forEach(a=>a==null?void 0:a.removeAttribute("style")),i.forEach(a=>a==null?void 0:a.setAttribute("style","display: none;"))):(V.forEach(a=>a==null?void 0:a.setAttribute("style","display: none;")),i.forEach(a=>a==null?void 0:a.removeAttribute("style")))}t({matches:l.matches})}var _i=class extends HTMLElement{constructor(){super();this.scrollContainer=window;this.updateProgressBar=()=>{window.requestAnimationFrame(()=>{let d=this.scrollContainer instanceof Window?document.documentElement:this.scrollContainer,V=this.scrollContainer instanceof Window?window.scrollY:d.scrollTop,i=d.scrollHeight,a=d.clientHeight,e=V/(i-a)*100,G=this.shadowRoot.querySelector(".Reading-Progress-Bar-Foreground");G.style.transform=`scaleX(${e/100})`})};this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=`
`}connectedCallback(){let d=this.getAttribute("container-selector");d&&(this.scrollContainer=Y(d)||window),this.scrollContainer.addEventListener("scroll",this.updateProgressBar,{passive:!0})}disconnectedCallback(){this.scrollContainer.removeEventListener("scroll",this.updateProgressBar)}};Qd("sh-reading-progress-bar",_i);var Yd=z(P());var kR=!1;function $i(l){l&&($l.getTopOffset=l),p("[data-scrollymoly]").forEach(z1),window.addEventListener("orientationchange",()=>qi()),kR||(kR=!0,window.addEventListener("resize",L1),al(qi))}var $l={moles:[],getTopOffset(l){return document.documentElement?l.getBoundingClientRect().top+document.documentElement.scrollTop:(console.error("Document element is not available."),0)}};function z1(l){let t=l.getAttribute("data-scrollymoly");try{let d=JSON.parse(t).map(a=>ua(O({},a),{offset:Number.isFinite(a.offset)?a.offset:0})),V=l.closest("[data-scrollymoly-basis]"),i=$l.getTopOffset(V);w1({element:l,basisEl:V,effects:d,topOffset:i,state:{}})}catch(d){console.error(d)}}function w1(l){$l.moles.push(l),qi()}function qi(){$l.moles.map(O1)}function L1(){$l.moles.forEach(l=>{l.topOffset=$l.getTopOffset(l.basisEl)})}function O1(l){return new Promise((t,d)=>{Yd.default.measure(()=>{l.effects.forEach(V=>{V.kind in HR?HR[V.kind](l,V,t):(console.error(`Unknown effect type '${V.kind}'`),t())})})})}function MR(l,t,d){let V=t.firstElementChild.getBoundingClientRect(),i=l.kind==="fadeIn"?V.top:V.bottom,a=k.getHeight()*l.end,e=a+Math.min(V.height,k.getHeight()*l.start),G=i>e?1:(i-a)/(e-a);return Math.round(G*100)/100}var HR={fadeOut(l,t,d){let V=MR(t,l.basisEl,l.topOffset),i=Math.max(0,Math.min(1,V));if(l.state.lastOpacity===i)return d();Yd.default.mutate(()=>{l.state.lastOpacity=i,l.element.style.opacity=i.toString(),d()})},fadeIn(l,t,d){let V=MR(t,l.basisEl,l.topOffset),i=Math.max(0,Math.min(1,1-V));if(l.state.lastOpacity===i)return d();Yd.default.mutate(()=>{l.state.lastOpacity=i,l.element.style.opacity=i.toString(),d()})}};var AR={facebook:{networkName:"Facebook",shareAction:"Share",popupWidth:600,popupHeight:420},twitter:{networkName:"Twitter",shareAction:"Tweet",popupWidth:600,popupHeight:250},linkedin:{networkName:"LinkedIn",shareAction:"Share",popupWidth:600,popupHeight:250}};function D1(l,t){let d=Math.round(k.getWidth()/2-t.popupWidth/2),V=0;k.getHeight()>t.popupHeight&&(V=Math.round(k.getHeight()/3-t.popupHeight/2));let i={left:d,top:V,width:t.popupWidth,height:t.popupHeight,personalbar:0,toolbar:0,scrollbars:1,resizable:1},a=Object.keys(i).map(n=>`${n}=${i[n]}`).join(","),e="social-widget-"+t.networkName.replace(/\s+/,"-"),G=window.open(l,e,a);G?G.focus():location.href=l}function j1(l){l.preventDefault();let t=l.currentTarget,d=t.getAttribute("data-social-share"),V=AR[d],i=t.href;D1(i,V)}function v1(l){let t=l.getAttribute("data-social-share");t in AR?l.addEventListener("click",j1,{passive:!1}):console.error(`Social Share button of type ${t} is not supported.`)}function la(l="[data-social-share]"){p(l).forEach(v1)}var lt={};function tt(l,t){return()=>{lt.pause&<.instance!==t&<.pause(),lt.pause=()=>{delete lt.pause,l()},lt.instance=t}}var f1="https://w.soundcloud.com/player/api.js",K1=!1,P1="SoundCloudPlayer--initializing";function _1(l){if(K1)return l();let t=document.createElement("script");t.type="text/javascript",t.async=!0,t.addEventListener("load",l),t.src=f1;let d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(t,d)}function q1(l){let t=l.getAttribute("data-src"),d=l.getAttribute("data-height"),V=lm({src:t,height:d});V.addEventListener("load",()=>{_1(()=>{l.classList.remove(P1);let i=new SC.Widget(V);$1(i,V)})}),l.appendChild(V)}function $1(l,t){let d=l.pause.bind(l);l.bind(SC.Widget.Events.READY,()=>{l.bind(SC.Widget.Events.PLAY,tt(d,t))})}function lm(l){let t=document.createElement("iframe"),d={width:"100%",scrolling:"no",frameborder:"no",src:l.src,height:l.height};return Object.keys(d).forEach(V=>t.setAttribute(V,d[V])),t}function ta(){let l=p("[data-soundcloud]");window.addEventListener("load",()=>{setTimeout(()=>l.forEach(q1),100)})}function da(){p(".SplitLayout").forEach(tm)}function tm(l){let t=p(".FullSize__fixedChild.ObjectFit--cover",l);aW()&&t.forEach(Pi)}var Va=z(P());function dm(l){let t=p("[data-stacked-content-fill]",l),d=p("[data-stacked-content-basis]",l),V=()=>Vm(l,t,d);return V(),al(V),()=>Jl(V)}function Vm(l,t,d){t.length!==0&&Va.default.measure(()=>{let V=lR(l);if(!V)return;let i=d.reduce((e,G)=>e+G.clientHeight,0),a=(V-i)/t.length;Va.default.mutate(()=>{t.forEach(e=>e.style.maxHeight=`${a}px`)})})}function ia(){return p("[data-stacked-content]").map(dm)}function im(l,t){let d=`https://views.unsplash.com/v?app_id=${l}&photo_id=${t}`;fetch(d).catch(V=>console.log(V))}function aa(){p("[data-unsplash-ids]").forEach(l=>{let t=l.getAttribute("data-unsplash-ids"),d=l.getAttribute("data-unsplash-app");im(d,t)})}var ba=class extends Error{constructor(t){super(t.statusText),this.response=t}};function ER(l){if(l.status>=200&&l.status<300)return l;let t=new ba(l);throw t.response=l,t}function yR(l,t,d){let V=l.headers.get("content-type");if(V&&V.includes(t))return l;throw new TypeError(d)}function ea(l,t,d){fetch(l).then(ER).then(V=>yR(V,"application/json","Incorrect data for Gallery")).then(V=>V.json()).then(V=>{let i=V.items.filter(e=>e.url.replace(/index\.html$/,"")!==window.location.href.replace(/index\.html$/,"")).map(e=>{let G=t==="tiles"?'class="ObjectFit--cover"':"",n=e.mediaSrc?``:"",b=e.openInNewWindow?'target="_blank"':"",W=e.isNoFollow?'rel="nofollow"':"";return` `}).join(""),a=` `;return d?d(a):a}).catch(V=>{console.log("Gallery was unable to parse external data",V)})}var am="GalleryRenderer--initializing";function bm(l){let t=l.getAttribute("data-url"),d=l.getAttribute("data-mode");ea(t,d,V=>{l.innerHTML=V,l.classList.remove(am),xt()})}function na(){p("[data-galleryrenderer]").forEach(bm)}function Ga(){}var em=z(P());function zR(l,t,d){return d!==void 0?nm(l,t,d):l.classList.toggle(t)}function nm(l,t,d){let V=l.className.split(/\s+/),i=V.includes(t),a=d&&!i?[...V,t]:!d&&i?V.filter(e=>e!==t):V;l.className=a.join(" ")}var Gm={mainSelector:".TransitionIn--fade",fadeInClass:"TransitionIn--fadeIn"};function Wa(l=Gm){p(l.mainSelector).forEach(d=>{Wm(d,{fadeInClass:l.fadeInClass})})}function Wm(l,t){let d=V=>{let i=V.rootBounds?V.rootBounds.top:0;V.boundingClientRect.topRt(l)}function Rm(l,t,d){zR(l,t,d)}function Ra(){Wa()}var ca=l=>`${l}px`;function wR(l){let{width:t,height:d,top:V}=l.getBoundingClientRect();Object.assign(l.style,{position:"fixed",top:ca(V),width:ca(t),height:ca(d),overflowY:"scroll"})}function LR(l){let t=parseInt(l.style.top,10);Object.assign(l.style,{position:"",top:"",width:"",height:"",overflowY:""}),window.scrollTo(0,-t)}function DR(){return k.getWidth()<900?"portrait":"landscape"}var Ua=[],St;function jR(){return St||(St=DR()),St}function vR(l){Ua.length===0&&cm(),Ua.push(l)}function OR(){let l=DR();l!==St&&(St=l,Ua.forEach(t=>t(l)))}function cm(){window.addEventListener("resize",OR,{passive:!0}),window.addEventListener("orientationchange",OR,{passive:!0})}var dt="Theme-ForegroundAutoplay__ReplayButton",Um={unmuteAndReplay:"Unmute & Replay Video",replay:"Replay Video"},A={nowPlaying:[],nowPaused:[],volumeHasBeenInteractedWith:!1,firstVideoWithVolumeInteraction:null,scrollListenerIsActive:!1,videoClosestToCenterY:null},fR=new IntersectionObserver(Im,{root:null,rootMargin:"0px",threshold:.1});function Ia(l){fR.unobserve(l)}function Fa(l){fR.observe(l)}function KR(l,t,d){l.dataset.autoplay="true",l.dataset.id=t,l.preload="auto",l.defaultMuted=!0,l.muted=!0;let[V]=El(l,d);l.src=V,l.load()}function PR(l,t,d){l.controls=!0,l.addEventListener("volumechange",_R);let V=t.querySelector(".video-play");if(V&&V.remove(),d){let i=document.createElement("button");i.textContent=Um[d],i.classList.add(dt),t.firstElementChild.append(i),t.addEventListener("click",({target:a})=>{a.classList.contains(dt)&&Zm(l)})}}function Zm(l){l.currentTime=0,l.muted=!1,l.play()}function _R({target:l}){if(A.volumeHasBeenInteractedWith)l.dataset.id!==A.firstVideoWithVolumeInteraction&&(A.firstVideoWithVolumeInteraction=null,p("video[data-controls=true]").forEach(d=>d.removeEventListener("volumechange",_R)));else{A.volumeHasBeenInteractedWith=!0,A.firstVideoWithVolumeInteraction=l.dataset.id,p(`.${dt}`).forEach(d=>d.remove());let t=p("video[data-controls=true]");Fm(t)}ga()}function Im(l){for(let t of l){let{target:d,isIntersecting:V}=t,i=d.querySelector("video"),a=i.dataset.id,e=i.closest("[data-videoplayer]");V?i.play().then(()=>Il("video-playing",e)).catch(G=>{let n=e.querySelector(`.${dt}`);n&&n.remove(),console.error("Playback of video failed: ",G)}):(A.nowPlaying.includes(a)&&(A.nowPlaying=A.nowPlaying.filter(G=>G!==a)),i.pause())}}function qR(l,t,d){let V=l.dataset.id;d&&(A.nowPlaying.push(V),ga(),A.nowPaused.includes(V)&&(Fa(t),A.nowPaused=A.nowPaused.filter(i=>i!==V)))}function $R(l,t){let d=l.dataset.id;A.nowPlaying.includes(d)&&(Ia(t),A.nowPaused.push(d),A.nowPlaying=A.nowPlaying.filter(V=>V!==d)),ga()}function ga(){if(A.volumeHasBeenInteractedWith)if(A.nowPlaying.length>1){if(!A.scrollListenerIsActive)if(document.addEventListener("scroll",Za),A.scrollListenerIsActive=!0,A.firstVideoWithVolumeInteraction){let l=Y(`[data-id="${A.firstVideoWithVolumeInteraction}"]`);lc(l)}else Za()}else document.removeEventListener("scroll",Za),A.scrollListenerIsActive=!1,A.videoClosestToCenterY=null}function lc(l){tc(l);for(let t of A.nowPlaying)if(t!==l.dataset.id){let d=Y(`[data-id="${t}"]`);d.muted=!0}}function Fm(l){l.forEach(t=>tc(t))}function tc(l){l.muted=!1}function Za(){let l=null,t=null;for(let d=0;d0||(Td.whenApiReady||(Td.whenApiReady=new Promise((t,d)=>{window.onYouTubeIframeAPIReady=()=>t();let V=document.createElement("script");V.src="//www.youtube.com/player_api",V.id=xm,V.async=!0;let i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(V,i)})),Td.whenApiReady.then(l))}function Qm(l){return{[YT.PlayerState.PLAYING]:"play",[YT.PlayerState.PAUSED]:"pause",[YT.PlayerState.ENDED]:"end"}[l.data]}function Nm(l){let t=l.getAttribute("data-video-id");return new YT.Player(l,{videoId:t,playerVars:{rel:0},events:{onStateChange(V){if(V.data===YT.PlayerState.PLAYING){let a=V.target,e=a.pauseVideo.bind(a);tt(e,a.getIframe())()}let i=Qm(V);i&&Jm(i,V.target)}}})}function Jm(l,t){let d=t.getVideoData(),V=`${d.title} (${d.video_id})`;ol("Videos",l,V)}function Xm(l){l.forEach(t=>{let d=t.getAttribute("data-video-id"),V=t.parentElement,i=document.createElement("div"),a=document.createElement("a");t.removeAttribute("data-videoplayer-youtube"),V.style.backgroundImage="url('https://img.youtube.com/vi/"+d+"/maxresdefault.jpg')",V.style.backgroundSize="cover",a.setAttribute("href","http://www.youtube.com/watch?v="+d),a.setAttribute("target","_blank"),a.className="Theme-360Video-Link",V.parentNode.insertBefore(a,V),a.appendChild(V),a.appendChild(i),i.innerText="Tap to view 360 video",i.className="Theme-360Video-Button"})}function ma(l=pm,t=om){let d=p(t);$().isiOS&&Xm(d);let V=p(l);V.length!==0&&Cm(()=>{Td.players=V.map(Nm)})}var hm=Pl(),um=` `;function rm(l,t,d){let V=!0,i=!1,a=null,e=null,G=null,n=d,{dataset:{autoplay:b,controls:W,replayButton:R,id:c},loop:I}=t,m=b==="true",Z=W==="true",U=m?Z:t.controls;m&&(KR(t,c,d),Z?PR(t,l,R):(t.controls=!1,l.style.pointerEvents="none"),I||t.addEventListener("ended",()=>Ia(l)),Fa(l)),Q(d),t.controls=!1;function B(){V&&(V=!1,Il("video-stopped",l),l.removeAttribute("data-lazyload-video"))}function Q(x){let o=t.getAttribute(`data-${x}-poster`);if(o&&o!==t.poster){let r=function(){G===X&&(t.poster=o,B())},X=document.createElement("img");X.addEventListener("load",r),X.addEventListener("error",r),X.src=o,G=X}else B()}function J(x){if(n=x,t.src){let[o]=El(t,x);o&&o!==t.src&&(i&&(t.pause(),i=!1),s(),V||Il("video-stopped",l),t.src=o)}Q(x)}function h(){a===null&&(a=document.createElement("div"),a.className="Lazyload__spinner Theme-Lazyload-Spinner",l.appendChild(a))}function C(){return a!==null?(a.remove(),a=null,!0):!1}function g(){if(e===null){e=document.createElement("div"),e.className="video-error-container",e.innerHTML='
THERE WAS AN ERROR LOADING THIS VIDEO
',l.appendChild(e);let x=l.querySelector(`.${dt}`);x&&x.remove()}}function s(){return e!==null?(e.remove(),e=null,!0):!1}function N(){if(t.readyState===0){if(a===null){h(),Il("video-loading",l);let[x,o]=El(t,n);if(hm){let X=function(){t.removeEventListener("canplay",X),o!=="video/mp4"?setTimeout(()=>{t.play()},1e3):t.play()};t.addEventListener("canplay",X),t.src=x,t.load()}else t.autoplay=!0,t.src=x}}else t.play().catch()}function M(x){i||(x.preventDefault(),N(),l.removeEventListener("click",M))}t.addEventListener("play",()=>{m&&qR(t,l,Z)}),t.addEventListener("error",()=>{C()&&(g(),Il("video-error",l))}),t.addEventListener("pause",()=>{Il("video-paused",l),i=!1,$R(t,l),ol("Videos","pause",t.currentSrc)}),t.addEventListener("playing",()=>{s(),C(),Il("video-playing",l),m||tt(t.pause.bind(t),t)(),i=!0,t.controls=U,ol("Videos","play",t.currentSrc)}),t.addEventListener("ended",()=>{Il("video-paused",l),i=!1,ol("Videos","ended",t.currentSrc)}),l.addEventListener("click",M);let E=document.documentElement,T=l.closest("[class*='Layer--']");t.addEventListener("fullscreenchange",()=>{document.fullscreenElement===null?(LR(E),T.classList.remove("Levels--god")):(wR(E),T.classList.add("Levels--god"))}),vR(J)}function Ba(l={}){if(l.body&&!l.iconUrl){let i=new DOMParser().parseFromString(um,"image/svg+xml"),a=document.createElement("div");a.style.display="none",a.id="__PLYR_SVGICON_CONTAINER__",a.appendChild(i.childNodes[0]),l.body.appendChild(a)}let t=p("[data-videoplayer]"),d=jR();t.forEach(V=>{let i=V.querySelector("[data-videoplayer-media]");i&&rm(V,i,d)}),ma()}Ni();qV();Wd();Ai();Vi();xt();ia();Fd();Xi();Ga();ui();Ra();ki();Oi();Mi();ta();rd();sd();sd();Ba({body:document.body});YW();la();DV();na();Qi();Gi();$i();da();Ei();ri();ti();Ti();SW();yi();aa();})(); /*! Bundled license information: classnames/dedupe.js: (*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames *) */ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="20c131a7-8391-5e5b-8db4-211c73ae742f")}catch(e){}}(); //# sourceMappingURL=story.510126.min.js.map //# debugId=20c131a7-8391-5e5b-8db4-211c73ae742f