PageSourceSearch

https://kaartverkoop.vitesse.nl/main-QLAAMYXJ.js

js vitesse.nl collected 2026-10-02 10:57:15 UTC 300,022 bytes, 18 lines download raw bytes

1import{b as Bm}from"./chunk-G6VXTIPW.js";import{a as pS}from"./chunk-BWTSWT6U.js";import{a as wS}from"./chunk-WIIBOUCY.js";import{a as gf}from"./chunk-5ZQXWFHF.js";import{a as ME}from"./chunk-BNYOPTLN.js";import{$b as Om,$f as ES,$g as bS,A as eE,Ac as RE,Ae as Mr,Af as Vm,B as nf,Bc as bE,Cb as fE,Ce as tS,D as of,Dd as VE,E as Xe,Eb as lf,Ed as BE,Ee as rS,F as St,Fd as jE,Fe as Fm,G as Qn,Ga as Ti,Gb as dE,Gd as zE,Ha as yi,Hb as pE,I as We,Ia as Pe,If as mS,Jb as mE,Jd as KE,K as Ei,Kb as _E,Kc as OE,Kd as WE,L as Si,Lb as ff,Mb as vE,Md as qE,Nb as io,Ng as DS,O as tE,Ob as bm,Of as _S,Og as IS,P as af,Pb as hE,Pe as nS,Pg as AS,Q as rE,Qa as Pm,Qb as gE,Qe as iS,Qg as PS,Ra as xm,Rb as EE,Sb as SE,Ta as uf,Ua as Ye,Ub as TE,Va as Bt,Vb as iu,Wa as hn,Wb as Ns,Wg as xS,X as Dm,Xa as sE,Xb as yE,Xd as co,Xf as vS,Yb as NE,Ye as Um,Yg as RS,Z as nE,Zb as Ot,Zf as hS,_ as Im,_e as oS,_f as gS,ac as He,af as aS,b as Vg,ba as de,bb as xn,bc as bn,cc as CE,cf as sS,d as Bg,da as sf,dc as wm,df as Qt,ec as DE,ed as wE,ef as Me,f as jg,fa as iE,fb as Rm,fc as On,fd as wn,g as pa,ga as oE,gc as IE,gd as Cs,ge as XE,gf as dr,h as tf,ha as ve,hc as Mm,hd as ao,he as uo,hf as xs,hg as hf,i as zg,ib as or,ic as Lm,id as so,ie as $E,if as vf,ig as SS,j as Kg,ja as $t,jb as _a,jc as va,jd as LE,je as Is,jf as cS,jg as TS,ka as Jn,kb as Rn,kc as df,kd as pf,kf as uS,kg as yS,l as Wg,lc as ou,ld as Ds,lf as lo,m as qg,ma as aE,mc as AE,md as mf,mf as lS,nc as oo,nd as YE,nf as fS,o as rf,oa as cf,oc as PE,p as ma,pa as Am,pc as xE,pf as dS,q as Xg,qe as QE,ra as rt,rd as FE,re as JE,rh as OS,s as $g,sa as nt,sg as NS,t as Qg,ta as to,tb as cE,tf as km,tg as CS,ua as ro,ub as uE,uf as Gm,va as no,vb as lE,vd as UE,ve as ZE,vf as ha,wa as mt,wd as kE,we as As,wf as _t,x as Jg,xa as ie,xe as eS,xf as Hm,y as Zg,ya as oe,yd as GE,ye as _f,yf as at,za as _e,zc as Ym,zd as HE,ze as Ps,zf as ga}from"./chunk-NHVDVYS6.js";import{a as ef,d as Hg,e as iD,g as oD,h as nu}from"./chunk-27WATYC3.js";var LS=iD((jm,MS)=>{(function(){var t,e,r,n,i,o,a,s,c,u,l,f,v,d,p,m,_,h,N,L,F,M,q,w,D,W,z,X,J,me,T,R,A,I,C,$,ce,ue,V,y,g,Y,te,re,ye,he,be,ke,Et=[].slice,Je={}.hasOwnProperty,tt=function(K,P){function E(){this.constructor=K}for(var x in P)Je.call(P,x)&&(K[x]=P[x]);return E.prototype=P.prototype,K.prototype=new E,K.__super__=P.prototype,K},Xt=[].indexOf||function(K){for(var P=0,E=this.length;E>P;P++)if(P in this&&this[P]===K)return P;return-1};for(L={catchupTime:500,initialRate:.03,minTime:500,ghostTime:500,maxProgressPerFrame:10,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},X=function(){var K;return(K=typeof performance<"u"&&performance!==null&&typeof performance.now=="function"?performance.now():void 0)!=null?K:+new Date},me=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,N=window.cancelAnimationFrame||window.mozCancelAnimationFrame,me==null&&(me=function(K){return setTimeout(K,50)},N=function(K){return clearTimeout(K)}),R=function(K){var P,E;return P=X(),(E=function(){var x;return x=X()-P,x>=33?(P=X(),K(x,function(){return me(E)})):setTimeout(E,33-x)})()},T=function(){var K,P,E;return E=arguments[0],P=arguments[1],K=3<=arguments.length?Et.call(arguments,2):[],typeof E[P]=="function"?E[P].apply(E,K):E[P]},F=function(){var K,P,E,x,U,k,S;for(P=arguments[0],x=2<=arguments.length?Et.call(arguments,1):[],k=0,S=x.length;S>k;k++)if(E=x[k])for(K in E)Je.call(E,K)&&(U=E[K],P[K]!=null&&typeof P[K]=="object"&&U!=null&&typeof U=="object"?F(P[K],U):P[K]=U);return P},m=function(K){var P,E,x,U,k;for(E=P=0,U=0,k=K.length;k>U;U++)x=K[U],E+=Math.abs(x),P++;return E/P},q=function(K,P){var E,x,U;if(K==null&&(K="options"),P==null&&(P=!0),U=document.querySelector("[data-pace-"+K+"]")){if(E=U.getAttribute("data-pace-"+K),!P)return E;try{return JSON.parse(E)}catch(k){return x=k,typeof console<"u"&&console!==null?console.error("Error parsing inline pace options",x):void 0}}},a=(function(){function K(){}return K.prototype.on=function(P,E,x,U){var k;return U==null&&(U=!1),this.bindings==null&&(this.bindings={}),(k=this.bindings)[P]==null&&(k[P]=[]),this.bindings[P].push({handler:E,ctx:x,once:U})},K.prototype.once=function(P,E,x){return this.on(P,E,x,!0)},K.prototype.off=function(P,E){var x,U,k;if(((U=this.bindings)!=null?U[P]:void 0)!=null){if(E==null)return delete this.bindings[P];for(x=0,k=[];x<this.bindings[P].length;)k.push(this.bindings[P][x].handler===E?this.bindings[P].splice(
1x,1):x++);return k}},K.prototype.trigger=function(){var P,E,x,U,k,S,O,G,H;if(x=arguments[0],P=2<=arguments.length?Et.call(arguments,1):[],(O=this.bindings)!=null?O[x]:void 0){for(k=0,H=[];k<this.bindings[x].length;)G=this.bindings[x][k],U=G.handler,E=G.ctx,S=G.once,U.apply(E??this,P),H.push(S?this.bindings[x].splice(k,1):k++);return H}},K})(),window.Pace==null&&(window.Pace={}),F(Pace,a.prototype),J=Pace.options=F({},L,window.paceOptions,q()),he=["ajax","document","eventLag","elements"],Y=0,re=he.length;re>Y;Y++)$=he[Y],J[$]===!0&&(J[$]=L[$]);c=(function(K){function P(){return be=P.__super__.constructor.apply(this,arguments)}return tt(P,K),P})(Error),e=(function(){function K(){this.progress=0}return K.prototype.getElement=function(){var P;if(this.el==null){if(P=document.querySelector(J.target),!P)throw new c;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML=`<div class="pace-progress">
2  <div class="pace-progress-inner"></div>
3</div>
4<div class="pace-activity"></div>`,P.firstChild!=null?P.insertBefore(this.el,P.firstChild):P.appendChild(this.el)}return this.el},K.prototype.finish=function(){var P;return P=this.getElement(),P.className=P.className.replace("pace-active",""),P.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},K.prototype.update=function(P){return this.progress=P,this.render()},K.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(P){c=P}return this.el=void 0},K.prototype.render=function(){var P,E;return document.querySelector(J.target)==null?!1:(P=this.getElement(),P.children[0].style.width=""+this.progress+"%",(!this.lastRenderedProgress||this.lastRenderedProgress|this.progress!==0|0)&&(P.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?E="99":(E=this.progress<10?"0":"",E+=0|this.progress),P.children[0].setAttribute("data-progress",""+E)),this.lastRenderedProgress=this.progress)},K.prototype.done=function(){return this.progress>=100},K})(),s=(function(){function K(){this.bindings={}}return K.prototype.trigger=function(P,E){var x,U,k,S,O;if(this.bindings[P]!=null){for(S=this.bindings[P],O=[],U=0,k=S.length;k>U;U++)x=S[U],O.push(x.call(this,E));return O}},K.prototype.on=function(P,E){var x;return(x=this.bindings)[P]==null&&(x[P]=[]),this.bindings[P].push(E)},K})(),g=window.XMLHttpRequest,y=window.XDomainRequest,V=window.WebSocket,M=function(K,P){var E,x,U,k;k=[];for(x in P.prototype)try{U=P.prototype[x],k.push(K[x]==null&&typeof U!="function"?K[x]=U:void 0)}catch(S){E=S}return k},W=[],Pace.ignore=function(){var K,P,E;return P=arguments[0],K=2<=arguments.length?Et.call(arguments,1):[],W.unshift("ignore"),E=P.apply(null,K),W.shift(),E},Pace.track=function(){var K,P,E;return P=arguments[0],K=2<=arguments.length?Et.call(arguments,1):[],W.unshift("track"),E=P.apply(null,K),W.shift(),E},C=function(K){var P;return K==null&&(K="GET"),W[0]==="track"?"force":!!(!W.length&&J.ajax&&(K==="socket"&&J.ajax.trackWebSockets||(P=K.toUpperCase(),Xt.call(J.ajax.trackMethods,P)>=0)))},u=(function(K){function P(){var E,x=this;P.__super__.constructor.apply(this,arguments),E=function(U){var k;return k=U.open,U.open=function(S,O){return C(S)&&x.trigger("request",{type:S,url:O,request:U}),k.apply(U,arguments)}},window.XMLHttpRequest=function(U){var k;return k=new g(U),E(k),k},M(window.XMLHttpRequest,g),y!=null&&(window.XDomainRequest=function(){var U;return U=new y,E(U),U},M(window.XDomainRequest,y)),V!=null&&J.ajax.trackWebSockets&&(window.WebSocket=function(U,k){var S;return S=k!=null?new V(U,k):new V(U),C("socket")&&x.trigger("request",{type:"socket",url:U,protocols:k,request:S}),S},M(window.WebSocket,V))}return tt(P,K),P})(s),te=null,w=function(){return te==null&&(te=new u),te},I=function(K){var P,E,x,U;for(U=J.ajax.ignoreURLs,E=0,x=U.length;x>E;E++)if(P=U[E],typeof P=="string"){if(K.indexOf(P)!==-1)return!0}else if(P.test(K))return!0;return!1},w().on("request",function(K){var P,E,x,U,k;return U=K.type,x=K.request,k=K.url,I(k)||Pace.running||J.restartOnRequestAfter===!1&&C(U)!=="force"?void 0:(E=arguments,P=J.restartOnRequestAfter||0,typeof P=="boolean"&&(P=0),setTimeout(function(){var S,O,G,H,Z,pe;if(S=U==="socket"?x.readyState<2:0<(H=x.readyState)&&4>H){for(Pace.restart(),Z=Pace.sources,pe=[],O=0,G=Z.length;G>O;O++){if($=Z[O],$ instanceof t){$.watch.apply($,E);break}
4pe.push(void 0)}return pe}},P))}),t=(function(){function K(){var P=this;this.elements=[],w().on("request",function(){return P.watch.apply(P,arguments)})}return K.prototype.watch=function(P){var E,x,U,k;return U=P.type,E=P.request,k=P.url,I(k)?void 0:(x=U==="socket"?new v(E):new d(E),this.elements.push(x))},K})(),d=(function(){function K(P){var E,x,U,k,S,O,G=this;if(this.progress=0,window.ProgressEvent!=null)for(x=null,P.addEventListener("progress",function(H){return G.progress=H.lengthComputable?100*H.loaded/H.total:G.progress+(100-G.progress)/2}),O=["load","abort","timeout","error"],U=0,k=O.length;k>U;U++)E=O[U],P.addEventListener(E,function(){return G.progress=100});else S=P.onreadystatechange,P.onreadystatechange=function(){var H;return(H=P.readyState)===0||H===4?G.progress=100:P.readyState===3&&(G.progress=50),typeof S=="function"?S.apply(null,arguments):void 0}}return K})(),v=(function(){function K(P){var E,x,U,k,S=this;for(this.progress=0,k=["error","open"],x=0,U=k.length;U>x;x++)E=k[x],P.addEventListener(E,function(){return S.progress=100})}return K})(),n=(function(){function K(P){var E,x,U,k;for(P==null&&(P={}),this.elements=[],P.selectors==null&&(P.selectors=[]),k=P.selectors,x=0,U=k.length;U>x;x++)E=k[x],this.elements.push(new i(E))}return K})(),i=(function(){function K(P){this.selector=P,this.progress=0,this.check()}return K.prototype.check=function(){var P=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return P.check()},J.elements.checkInterval)},K.prototype.done=function(){return this.progress=100},K})(),r=(function(){function K(){var P,E,x=this;this.progress=(E=this.states[document.readyState])!=null?E:100,P=document.onreadystatechange,document.onreadystatechange=function(){return x.states[document.readyState]!=null&&(x.progress=x.states[document.readyState]),typeof P=="function"?P.apply(null,arguments):void 0}}return K.prototype.states={loading:0,interactive:50,complete:100},K})(),o=(function(){function K(){var P,E,x,U,k,S=this;this.progress=0,P=0,k=[],U=0,x=X(),E=setInterval(function(){var O;return O=X()-x-50,x=X(),k.push(O),k.length>J.eventLag.sampleCount&&k.shift(),P=m(k),++U>=J.eventLag.minSamples&&P<J.eventLag.lagThreshold?(S.progress=100,clearInterval(E)):S.progress=100*(3/(P+3))},50)}return K})(),f=(function(){function K(P){this.source=P,this.last=this.sinceLastUpdate=0,this.rate=J.initialRate,this.catchup=0,this.progress=this.lastProgress=0,this.source!=null&&(this.progress=T(this.source,"progress"))}return K.prototype.tick=function(P,E){var x;return E==null&&(E=T(this.source,"progress")),E>=100&&(this.done=!0),E===this.last?this.sinceLastUpdate+=P:(this.sinceLastUpdate&&(this.rate=(E-this.last)/this.sinceLastUpdate),this.catchup=(E-this.progress)/J.catchupTime,this.sinceLastUpdate=0,this.last=E),E>this.progress&&(this.progress+=this.catchup*P),x=1-Math.pow(this.progress/100,J.easeFactor),this.progress+=x*this.rate*P,this.progress=Math.min(this.lastProgress+J.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},K})(),ce=null,A=null,_=null,ue=null,p=null,h=null,Pace.running=!1,D=function(){return J.restartOnPushState?Pace.restart():void 0},window.history.pushState!=null&&(ye=window.history.pushState,window.history.pushState=function(){return D(),ye.apply(window.history,arguments)}),window.history.replaceState!=null&&(ke=window.history.replaceState,window.history.replaceState=function(){return D(),ke.apply(window.history,arguments)}),l={ajax:t,elements:n,document:r,eventLag:o},(z=function(){var K,P,E,x,U,k,S,O;for(Pace.sources=ce=[],k=["ajax","elements","document","eventLag"],P=0,x=k.length;x>P;P++)K=k[P],J[K]!==!1&&ce.push(new l[K](J[K]));for(O=(S=J.extraSources)!=null?S:[],E=0,U=O.length;U>E;E++)$=O[E],ce.push(new $(J));return Pace.bar=_=new e,A=[],ue=new f})(),Pace.stop=function(){return Pace.trigger("stop"),Pace.running=!1,_.destroy(),h=!0,p!=null&&(typeof N=="function"&&N(p),p=null),z()},Pace.restart=function(){return Pace.trigger("restart"),Pace.stop(),Pace.start()},Pace.go=function(){var K;return Pace.running=!0,_.render(),K=X(),h=!1,p=R(function(P,E){var x,U,k,S,O,G,H,Z,pe,ge,we,Ce,Be,it,Ct,qr;for(Z=100-_.progress,U=we=0,k=!0,G=Ce=0,it=ce.length;it>Ce;G=++Ce)for($=ce[G],ge=A[G]!=null?A[G]:A[G]=[],O=(qr=$.elements)!=null?qr:[$],H=Be=0,Ct=O.length;Ct>Be;H=++Be)S=O[H],pe=ge[H]!=null?ge[H]:ge[H]=new f(S),k&=pe.done,pe.done||(U++,we+=pe.tick(P));return x=we/U,_.update(ue.tick(P,x)),_.done()||k||h?(_.update(100),Pace.trigger("done"),setTimeout(function(){return _.finish(),Pace.running=!1,Pace.trigger("hide")},Math.max(J.ghostTime,Math.max(J.minTime-(X()-K),0)))):E()})},Pace.start=function(K){F(J,K),Pace.running=!0;try{_.render()}catch(P){c=P}return document.querySelector(".pace")?(Pace.trigger("start"),Pace.go()):setTimeout(Pace.start,50)},typeof define=="function"&&define.amd?define(function(){return Pace}):typeof jm=="object"?MS.exports=Pace:J.startOnPageLoad&&Pace.start()}).call(jm)});var BB=oD(LS());function YS(t){return new Xe(3e3,!1)}function aD(){return new Xe(3100,!1)}function sD(){return new Xe(3101,!1)}function cD(t){return new Xe(3001,!1)}function uD(t){return new Xe(3003,!1)}function lD(t){return new Xe(3004,!1)}function US(t,e){return new Xe(3005,!1)}function kS(){return new Xe(3006,!1)}function GS(){return new Xe(3007,!1)}function HS(t,e){return new Xe(3008,!1)}function VS(t){return new Xe(3002,!1)}function BS(t,e,r,n,i){return new Xe(3010,!1)}function jS(){return new Xe(3011,!1)}function zS(){return new Xe(3012,!1)}function KS(){return new Xe(3200,!1)}function WS(){return new Xe(3202,!1)}function qS(){return new Xe(3013,!1)}function XS(t){return new Xe(3014,!1)}function $S(t){return new Xe(3015,!1)}function QS(t){return new Xe(3016,!1)}function JS(t,e){return new Xe(3404,!1)}function fD(t){return new Xe(3502,!1)}function ZS(t){return new Xe(3503,!1)}function eT(){return new Xe(3300,!1)}function tT(t){return new Xe(3504,!1)}function rT(t){return new Xe(3301,!1)}function nT(t,e){return new Xe(3302,!1)}function iT(t){return new Xe(3303,!1)}function oT(t,e){return new Xe(3400,!1)}function aT(t){return new Xe(3401,!1)}function sT(t){return new Xe(3402,!1)}function cT(t,e){return new Xe(3505,!1)}function Ni(t){switch(t.length){case 0:return new va;case 1:return t[0];default:return new df(t)}}function qm(t,e,r=new Map,n=new Map){let i=[],o=[],a=-1,s=null;if(e.forEach(c=>{let u=c.get("offset"),l=u==a,f=l&&s||new Map;
vendor: 56,809 bytes, line 4
4c.forEach((v,d)=>{let p=d,m=v;if(d!=="offset")switch(p=t.normalizePropertyName(p,i),m){case ou:m=r.get(d);break;case bn:m=n.get(d);break;default:m=t.normalizeStyleValue(d,p,m,i);break}f.set(p,m)}),l||o.push(f),s=f,a=u}),i.length)throw fD(i);return o}function Ef(t,e,r,n){switch(e){case"start":t.onStart(()=>n(r&&zm(r,"start",t)));break;case"done":t.onDone(()=>n(r&&zm(r,"done",t)));break;case"destroy":t.onDestroy(()=>n(r&&zm(r,"destroy",t)));break}}function zm(t,e,r){let n=r.totalTime,i=!!r.disabled,o=Sf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,i),a=t._data;return a!=null&&(o._data=a),o}function Sf(t,e,r,n,i="",o=0,a){return{element:t,triggerName:e,fromState:r,toState:n,phaseName:i,totalTime:o,disabled:!!a}}function Lr(t,e,r){let n=t.get(e);return n||t.set(e,n=r),n}function Xm(t){let e=t.indexOf(":"),r=t.substring(1,e),n=t.slice(e+1);return[r,n]}var dD=typeof document>"u"?null:document.documentElement;function Tf(t){let e=t.parentNode||t.host||null;return e===dD?null:e}function pD(t){return t.substring(1,6)=="ebkit"}var Ea=null,FS=!1;function uT(t){Ea||(Ea=mD()||{},FS=Ea.style?"WebkitAppearance"in Ea.style:!1);let e=!0;return Ea.style&&!pD(t)&&(e=t in Ea.style,!e&&FS&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ea.style)),e}function mD(){return typeof document<"u"?document.body:null}function $m(t,e){for(;e;){if(e===t)return!0;e=Tf(e)}return!1}function Qm(t,e,r){if(r)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}var _D=1e3,Jm="{{",vD="}}",Zm="ng-enter",yf="ng-leave",au="ng-trigger",su=".ng-trigger",e_="ng-animating",Nf=".ng-animating";function Zn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Km(parseFloat(e[1]),e[2])}function Km(t,e){return e==="s"?t*_D:t}function cu(t,e,r){return t.hasOwnProperty("duration")?t:gD(t,e,r)}var hD=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function gD(t,e,r){let n,i=0,o="";if(typeof t=="string"){let a=t.match(hD);if(a===null)return e.push(YS(t)),{duration:0,delay:0,easing:""};n=Km(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(i=Km(parseFloat(s),a[4]));let c=a[5];c&&(o=c)}else n=t;if(!r){let a=!1,s=e.length;n<0&&(e.push(aD()),a=!0),i<0&&(e.push(sD()),a=!0),a&&e.splice(s,0,YS(t))}return{duration:n,delay:i,easing:o}}function lT(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function Mn(t,e,r){e.forEach((n,i)=>{let o=Cf(i);r&&!r.has(i)&&r.set(i,t.style[o]),t.style[o]=n})}function fo(t,e){e.forEach((r,n)=>{let i=Cf(n);t.style[i]=""})}function Rs(t){return Array.isArray(t)?t.length==1?t[0]:DE(t):t}function fT(t,e,r){let n=e.params||{},i=t_(t);i.length&&i.forEach(o=>{n.hasOwnProperty(o)||r.push(cD(o))})}var Wm=new RegExp(`${Jm}\\s*(.+?)\\s*${vD}`,"g");function t_(t){let e=[];if(typeof t=="string"){let r;for(;r=Wm.exec(t);)e.push(r[1]);Wm.lastIndex=0}return e}function bs(t,e,r){let n=`${t}`,i=n.replace(Wm,(o,a)=>{let s=e[a];return s==null&&(r.push(uD(a)),s=""),s.toString()});return i==n?t:i}var ED=/-+([a-z0-9])/g;function Cf(t){return t.replace(ED,(...e)=>e[1].toUpperCase())}function dT(t,e){return t===0||e===0}function pT(t,e,r){if(r.size&&e.length){let n=e[0],i=[];if(r.forEach((o,a)=>{n.has(a)||i.push(a),n.set(a,o)}),i.length)for(let o=1;o<e.length;o++){let a=e[o];i.forEach(s=>a.set(s,Df(t,s)))}}return e}function Yr(t,e,r){switch(e.type){case He.Trigger:return t.visitTrigger(e,r);case He.State:return t.visitState(e,r);case He.Transition:return t.visitTransition(e,r);case He.Sequence:return t.visitSequence(e,r);case He.Group:return t.visitGroup(e,r);case He.Animate:return t.visitAnimate(e,r);case He.Keyframes:return t.visitKeyframes(e,r);case He.Style:return t.visitStyle(e,r);case He.Reference:return t.visitReference(e,r);case He.AnimateChild:return t.visitAnimateChild(e,r);case He.AnimateRef:return t.visitAnimateRef(e,r);case He.Query:return t.visitQuery(e,r);case He.Stagger:return t.visitStagger(e,r);default:throw lD(e.type)}}function Df(t,e){return window.getComputedStyle(t)[e]}var g_=(()=>{class t{validateStyleProperty(r){return uT(r)}containsElement(r,n){return $m(r,n)}getParentElement(r){return Tf(r)}query(r,n,i){return Qm(r,n,i)}computeStyle(r,n,i){return i||""}animate(r,n,i,o,a,s=[],c){return new va(i,o)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=St({token:t,factory:t.\u0275fac})}return t})(),Ta=class{static NOOP=new g_},ya=class{};var SD=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Rf=class extends ya{normalizePropertyName(e,r){return Cf(e)}normalizeStyleValue(e,r,n,i){let o="",a=n.toString().trim();if(SD.has(r)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&i.push(US(e,n))}return a+o}};var bf="*";function TD(t,e){let r=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>yD(n,r,e)):r.push(t),r}function yD(t,e,r){if(t[0]==":"){let c=ND(t,r);if(typeof c=="function"){e.push(c);return}t=c}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push($S(t)),e;let i=n[1],o=n[2],a=n[3];e.push(mT(i,a));let s=i==bf&&a==bf;o[0]=="<"&&!s&&e.push(mT(a,i))}function ND(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return e.push(QS(t)),"* => *"}}var If=new Set(["true","1"]),Af=new Set(["false","0"]);function mT(t,e){let r=If.has(t)||Af.has(t),n=If.has(e)||Af.has(e);return(i,o)=>{let a=t==bf||t==i,s=e==bf||e==o;return!a&&r&&typeof i=="boolean"&&(a=i?If.has(t):Af.has(t)),!s&&n&&typeof o=="boolean"&&(s=o?If.has(e):Af.has(e)),a&&s}}var CT=":self",CD=new RegExp(`s*${CT}s*,?`,"g");function DT(t,e,r,n){return new s_(t).build(e,r,n)}var _T="",s_=class{_driver;constructor(e){this._driver=e}build(e,r,n){let i=new c_(r);return this._resetContextStyleTimingState(i),Yr(this,Rs(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=_T,e.collectedStyles=new Map,e.collectedStyles.set(_T,new Map),e.currentTime=0}visitTrigger(e,r){let n=r.queryCount=0,i=r.depCount=0,o=[],a=[];return e.name.charAt(0)=="@"&&r.errors.push(kS()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(r),s.type==He.State){let c=s,u=c.name;u.toString().split(/\s*,\s*/).forEach(l=>{c.name=l,o.push(this.visitState(c,r))}),c.name=u}else if(s.type==He.Transition){let c=this.visitTransition(s,r);n+=c.queryCount,i+=c.depCount,a.push(c)}else r.errors.push(GS())}),{type:He.Trigger,name:e.name,states:o,transitions:a,queryCount:n,depCount:i,options:null}}visitState(e,r){let n=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,a=i||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(c=>{t_(c).forEach(u=>{a.hasOwnProperty(u)||o.add(u)})})}),o.size&&r.errors.push(HS(e.name,[...o.values()]))}return{type:He.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let n=Yr(this,Rs(e.animation),r),i=TD(e.expr,r.errors);return{type:He.Transition,matchers:i,animation:n,queryCount:r.queryCount,depCount:r.depCount,options:Sa(e.options)}}visitSequence(e,r){return{type:He.Sequence,steps:e.steps.map(n=>Yr(this,n,r)),options:Sa(e.options)}}visitGroup(e,r){let n=r.currentTime,i=0,o=e.steps.map(a=>{r.currentTime=n;let s=Yr(this,a,r);return i=Math.max(i,r.currentTime),s});return r.currentTime=i,{type:He.Group,steps:o,options:Sa(e.options)}}visitAnimate(e,r){let n=PD(e.timings,r.errors);r.currentAnimateTimings=n;let i,o=e.styles?e.styles:On({});if(o.type==He.Keyframes)i=this.visitKeyframes(o,r);else{let a=e.styles,s=!1;if(!a){s=!0;let u={};n.easing&&(u.easing=n.easing),a=On(u)}r.currentTime+=n.duration+n.delay;let c=this.visitStyle(a,r);c.isEmptyStep=s,i=c}return r.currentAnimateTimings=null,{type:He.Animate,timings:n,style:i,options:null}}visitStyle(e,r){let n=this._makeStyleAst(e,r);return this._validateStyleAst(n,r),n}_makeStyleAst(e,r){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of i)typeof s=="string"?s===bn?n.push(s):r.errors.push(VS(s)):n.push(new Map(Object.entries(s)));let o=!1,a=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let c of s.values())if(c.toString().indexOf(Jm)>=0){o=!0;break}}}),{type:He.Style,styles:n,easing:a,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let n=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,c)=>{let u=r.collectedStyles.get(r.currentQuerySelector),l=u.get(c),f=!0;l&&(o!=i&&o>=l.startTime&&i<=l.endTime&&(r.errors.push(BS(c,l.startTime,l.endTime,o,i)),f=!1),o=l.startTime),f&&u.set(c,{startTime:o,endTime:i}),r.options&&fT(s,r.options,r.errors)})})}visitKeyframes(e,r){let n={type:He.Keyframes,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(jS()),n;let i=1,o=0,a=[],s=!1,c=!1,u=0,l=e.steps.map(h=>{let N=this._makeStyleAst(h,r),L=N.offset!=null?N.offset:AD(N.styles),F=0;return L!=null&&(o++,F=N.offset=L),c=c||F<0||F>1,s=s||F<u,u=F,a.push(F),N});c&&r.errors.push(zS()),s&&r.errors.push(KS());let f=e.steps.length,v=0;o>0&&o<f?r.errors.push(WS()):o==0&&(v=i/(f-1));let d=f-1,p=r.currentTime,m=r.currentAnimateTimings,_=m.duration;return l.forEach((h,N)=>{let L=v>0?N==d?1:v*N:a[N],F=L*_;r.currentTime=p+m.delay+F,m.duration=F,this._validateStyleAst(h,r),h.offset=L,n.styles.push(h)}),n}visitReference(e,r){return{type:He.Reference,animation:Yr(this,Rs(e.animation),r),options:Sa(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:He.AnimateChild,options:Sa(e.options)}}visitAnimateRef(e,r){return{type:He.AnimateRef,animation:this.visitReference(e.animation,r),options:Sa(e.options)}}visitQuery(e,r){let n=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,a]=DD(e.selector);r.currentQuerySelector=n.length?n+" "+o:o,Lr(r.collectedStyles,r.currentQuerySelector,new Map);let s=Yr(this,Rs(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=n,{type:He.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Sa(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(qS());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:cu(e.timings,r.errors,!0);return{type:He.Stagger,animation:Yr(this,Rs(e.animation),r),timings:n,options:null}}};function DD(t){let e=!!t.split(/\s*,\s*/).find(r=>r==CT);return e&&(t=t.replace(CD,"")),t=t.replace(/@\*/g,su).replace(/@\w+/g,r=>su+"-"+r.slice(1)).replace(/:animating/g,Nf),[t,e]}function ID(t){return t?ef({},t):null}var c_=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function AD(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function PD(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=cu(t,e).duration;return r_(o,0,"")}let r=t;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=r_(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=cu(r,e);return r_(i.duration,i.delay,i.easing)}function Sa(t){return t?(t=ef({},t),t.params&&(t.params=ID(t.params))):t={},t}function r_(t,e,r){return{duration:t,delay:e,easing:r}}function E_(t,e,r,n,i,o,a=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:r,postStyleProps:n,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var lu=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,r){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},xD=1,RD=":enter",bD=new RegExp(RD,"g"),OD=":leave",wD=new RegExp(OD,"g");function IT(t,e,r,n,i,o=new Map,a=new Map,s,c,u=[]){return new u_().buildKeyframes(t,e,r,n,i,o,a,s,c,u)}var u_=class{buildKeyframes(e,r,n,i,o,a,s,c,u,l=[]){u=u||new lu;let f=new l_(e,r,u,i,o,l,[]);f.options=c;let v=c.delay?Zn(c.delay):0;f.currentTimeline.delayNextStep(v),f.currentTimeline.setStyles([a],null,f.errors,c),Yr(this,n,f);let d=f.timelines.filter(p=>p.containsAnimation());if(d.length&&s.size){let p;for(let m=d.length-1;m>=0;m--){let _=d[m];if(_.element===r){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([s],null,f.errors,c)}return d.length?d.map(p=>p.buildKeyframes()):[E_(r,[],[],[],0,v,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let n=r.subInstructions.get(r.element);if(n){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);o!=a&&r.transformIntoNewTimeline(a)}r.previousNode=e}visitAnimateRef(e,r){let n=r.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,n),this.visitReference(e.animation,n),r.transformIntoNewTimeline(n.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,n){for(let i of e){let o=i?.delay;if(o){let a=typeof o=="number"?o:Zn(bs(o,i?.params??{},r.errors));n.delayNextStep(a)}}}_visitSubInstructions(e,r,n){let o=r.currentTimeline.currentTime,a=n.duration!=null?Zn(n.duration):null,s=n.delay!=null?Zn(n.delay):null;return a!==0&&e.forEach(c=>{let u=r.appendInstructionToTimeline(c,a,s);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),Yr(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let n=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==He.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Of);let a=Zn(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>Yr(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let n=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?Zn(e.options.delay):0;e.steps.forEach(a=>{let s=r.createSubContext(e.options);o&&s.delayNextStep(o),Yr(this,a,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(a=>r.currentTimeline.mergeTimelineCollectedStyles(a)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let n=e.strValue,i=r.params?bs(n,r.params,r.errors):n;return cu(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let n=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;n.delay&&(r.incrementTime(n.delay),i.snapshotCurrentStyles());let o=e.style;o.type==He.Keyframes?this.visitKeyframes(o,r):(r.incrementTime(n.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let n=r.currentTimeline,i=r.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let n=r.currentAnimateTimings,i=r.currentTimeline.duration,o=n.duration,s=r.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(c=>{let u=c.offset||0;s.forwardTime(u*o),s.setStyles(c.styles,c.easing,r.errors,r.options),s.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(s),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let n=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?Zn(i.delay):0;o&&(r.previousNode.type===He.Style||n==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Of);let a=n,s=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=s.length;let c=null;s.forEach((u,l)=>{r.currentQueryIndex=l;let f=r.createSubContext(e.options,u);o&&f.delayNextStep(o),u===r.element&&(c=f.currentTimeline),Yr(this,e.animation,f),f.currentTimeline.applyStylesToKeyframe();let v=f.currentTimeline.currentTime;a=Math.max(a,v)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(a),c&&(r.currentTimeline.mergeTimelineCollectedStyles(c),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let n=r.parentContext,i=r.currentTimeline,o=e.timings,a=Math.abs(o.duration),s=a*(r.currentQueryTotal-1),c=a*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=s-c;break;case"full":c=n.currentStaggerTime;break}let l=r.currentTimeline;c&&l.delayNextStep(c);let f=l.currentTime;Yr(this,e.animation,r),r.previousNode=e,n.currentStaggerTime=i.currentTime-f+(i.startTime-n.currentTimeline.startTime)}},Of={},l_=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Of;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,r,n,i,o,a,s,c){this._driver=e,this.element=r,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=a,this.timelines=s,this.currentTimeline=c||new wf(this._driver,r,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let n=e,i=this.options;n.duration!=null&&(i.duration=Zn(n.duration)),n.delay!=null&&(i.delay=Zn(n.delay));let o=n.params;if(o){let a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!r||!a.hasOwnProperty(s))&&(a[s]=bs(o[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let n=e.params={};Object.keys(r).forEach(i=>{n[i]=r[i]})}}return e}createSubContext(e=null,r,n){let i=r||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Of,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,n){let i={duration:r??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new f_(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,n,i,o,a){let s=[];if(i&&s.push(this.element),e.length>0){e=e.replace(bD,"."+this._enterClassName),e=e.replace(wD,"."+this._leaveClassName);let c=n!=1,u=this._driver.query(this.element,e,c);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),s.push(...u)}return!o&&s.length==0&&a.push(XS(r)),s}},wf=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,r,n,i){this._driver=e,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new t(this._driver,e,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=xD,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||bn),this._currentKeyframe.set(r,bn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,n,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},a=MD(e,this._globalTimelineStyles);for(let[s,c]of a){let u=bs(c,o,n);this._pendingStyles.set(s,u),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??bn),this._updateStyle(s,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,n)=>{let i=this._styleSummary.get(n);(!i||r.time>i.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((s,c)=>{let u=new Map([...this._backFill,...s]);u.forEach((l,f)=>{l===ou?e.add(f):l===bn&&r.add(f)}),n||u.set("offset",c/this.duration),i.push(u)});let o=[...e.values()],a=[...r.values()];if(n){let s=i[0],c=new Map(s);s.set("offset",0),c.set("offset",1),i=[s,c]}return E_(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)}},f_=class extends wf{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,r,n,i,o,a,s=!1){super(e,r,a.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],a=n+r,s=r/a,c=new Map(e[0]);c.set("offset",0),o.push(c);let u=new Map(e[0]);u.set("offset",vT(s)),o.push(u);let l=e.length-1;for(let f=1;f<=l;f++){let v=new Map(e[f]),d=v.get("offset"),p=r+d*n;v.set("offset",vT(p/a)),o.push(v)}n=a,r=0,i="",e=o}return E_(this.element,e,this.preStyleProps,this.postStyleProps,n,r,i,!0)}};function vT(t,e=3){let r=Math.pow(10,e-1);return Math.round(t*r)/r}function MD(t,e){let r=new Map,n;return t.forEach(i=>{if(i==="*"){n??=e.keys();for(let o of n)r.set(o,bn)}else for(let[o,a]of i)r.set(o,a)}),r}function hT(t,e,r,n,i,o,a,s,c,u,l,f,v){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:f,errors:v}}var n_={},Mf=class{_triggerName;ast;_stateStyles;constructor(e,r,n){this._triggerName=e,this.ast=r,this._stateStyles=n}match(e,r,n,i){return LD(this.ast.matchers,e,r,n,i)}buildStyles(e,r,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(r,n):new Map}build(e,r,n,i,o,a,s,c,u,l){let f=[],v=this.ast.options&&this.ast.options.params||n_,d=s&&s.params||n_,p=this.buildStyles(n,d,f),m=c&&c.params||n_,_=this.buildStyles(i,m,f),h=new Set,N=new Map,L=new Map,F=i==="void",M={params:AT(m,v),delay:this.ast.options?.delay},q=l?[]:IT(e,r,this.ast.animation,o,a,p,_,M,u,f),w=0;return q.forEach(D=>{w=Math.max(D.duration+D.delay,w)}),f.length?hT(r,this._triggerName,n,i,F,p,_,[],[],N,L,w,f):(q.forEach(D=>{let W=D.element,z=Lr(N,W,new Set);D.preStyleProps.forEach(J=>z.add(J));let X=Lr(L,W,new Set);D.postStyleProps.forEach(J=>X.add(J)),W!==r&&h.add(W)}),hT(r,this._triggerName,n,i,F,p,_,q,[...h.values()],N,L,w))}};function LD(t,e,r,n,i){return t.some(o=>o(e,r,n,i))}function AT(t,e){let r=ef({},e);return Object.entries(t).forEach(([n,i])=>{i!=null&&(r[n]=i)}),r}var d_=class{styles;defaultParams;normalizer;constructor(e,r,n){this.styles=e,this.defaultParams=r,this.normalizer=n}buildStyles(e,r){let n=new Map,i=AT(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=bs(a,i,r));let c=this.normalizer.normalizePropertyName(s,r);a=this.normalizer.normalizeStyleValue(s,c,a,r),n.set(s,a)})}),n}};function YD(t,e,r){return new p_(t,e,r)}var p_=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,r,n){this.name=e,this.ast=r,this._normalizer=n,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new d_(i.style,o,n))}),gT(this.states,"true","1"),gT(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new Mf(e,i,this.states))}),this.fallbackTransition=FD(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,n,i){return this.transitionFactories.find(a=>a.match(e,r,n,i))||null}matchStyles(e,r,n){return this.fallbackTransition.buildStyles(e,r,n)}};function FD(t,e,r){let n=[(a,s)=>!0],i={type:He.Sequence,steps:[],options:null},o={type:He.Transition,animation:i,matchers:n,options:null,queryCount:0,depCount:0};return new Mf(t,o,e)}function gT(t,e,r){t.has(e)?t.has(r)||t.set(r,t.get(e)):t.has(r)&&t.set(e,t.get(r))}var UD=new lu,m_=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n}register(e,r){let n=[],i=[],o=DT(this._driver,r,n,i);if(n.length)throw ZS(n);this._animations.set(e,o)}_buildPlayer(e,r,n){let i=e.element,o=qm(this._normalizer,e.keyframes,r,n);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,n={}){let i=[],o=this._animations.get(e),a,s=new Map;if(o?(a=IT(this._driver,r,o,Zm,yf,new Map,new Map,n,UD,i),a.forEach(l=>{let f=Lr(s,l.element,new Map);l.postStyleProps.forEach(v=>f.set(v,null))})):(i.push(eT()),a=[]),i.length)throw tT(i);s.forEach((l,f)=>{l.forEach((v,d)=>{l.set(d,this._driver.computeStyle(f,d,bn))})});let c=a.map(l=>{let f=s.get(l.element);return this._buildPlayer(l,new Map,f)}),u=Ni(c);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let n=this.players.indexOf(r);n>=0&&this.players.splice(n,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw rT(e);return r}listen(e,r,n,i){let o=Sf(r,"","","");return Ef(this._getPlayer(e),n,o,i),()=>{}}command(e,r,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let a=i[0]||{};this.create(e,r,a);return}let o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},ET="ng-animate-queued",kD=".ng-animate-queued",i_="ng-animate-disabled",GD=".ng-animate-disabled",HD="ng-star-inserted",VD=".ng-star-inserted",BD=[],PT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jD={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ln="__ng_removed",fu=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=KD(i),n){let o=e,{value:a}=o,s=Hg(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let n=this.options.params;Object.keys(r).forEach(i=>{n[i]==null&&(n[i]=r[i])})}}},uu="void",o_=new fu(uu),__=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,r,n){this.id=e,this.hostElement=r,this._engine=n,this._hostClassName="ng-tns-"+e,gn(r,this._hostClassName)}listen(e,r,n,i){if(!this._triggers.has(r))throw nT(n,r);if(n==null||n.length==0)throw iT(r);if(!WD(n))throw oT(n,r);let o=Lr(this._elementListeners,e,[]),a={name:r,phase:n,callback:i};o.push(a);let s=Lr(this._engine.statesByElement,e,new Map);return s.has(r)||(gn(e,au),gn(e,au+"-"+r),s.set(r,o_)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(a);c>=0&&o.splice(c,1),this._triggers.has(r)||s.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw aT(e);return r}trigger(e,r,n,i=!0){let o=this._getTrigger(r),a=new du(this.id,r,e),s=this._engine.statesByElement.get(e);s||(gn(e,au),gn(e,au+"-"+r),this._engine.statesByElement.set(e,s=new Map));let c=s.get(r),u=new fu(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s.set(r,u),c||(c=o_),!(u.value===uu)&&c.value===u.value){if(!$D(c.params,u.params)){let m=[],_=o.matchStyles(c.value,c.params,m),h=o.matchStyles(u.value,u.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{fo(e,_),Mn(e,h)})}return}let v=Lr(this._engine.playersByElement,e,[]);v.forEach(m=>{m.namespaceId==this.id&&m.triggerName==r&&m.queued&&m.destroy()});let d=o.matchTransition(c.value,u.value,e,u.params),p=!1;if(!d){if(!i)return;d=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:d,fromState:c,toState:u,player:a,isFallbackTransition:p}),p||(gn(e,ET),a.onStart(()=>{Os(e,ET)})),a.onDone(()=>{let m=this.players.indexOf(a);m>=0&&this.players.splice(m,1);let _=this._engine.playersByElement.get(e);if(_){let h=_.indexOf(a);h>=0&&_.splice(h,1)}}),this.players.push(a),v.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,n)=>{this._elementListeners.set(n,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let n=this._engine.driver.query(e,su,!0);n.forEach(i=>{if(i[Ln])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(a=>a.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,n,i){let o=this._engine.statesByElement.get(e),a=new Map;if(o){let s=[];if(o.forEach((c,u)=>{if(a.set(u,c.value),this._triggers.has(u)){let l=this.trigger(e,u,uu,i);l&&s.push(l)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,a),n&&Ni(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(r&&n){let i=new Set;r.forEach(o=>{let a=o.name;if(i.has(a))return;i.add(a);let c=this._triggers.get(a).fallbackTransition,u=n.get(a)||o_,l=new fu(uu),f=new du(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:c,fromState:u,toState:l,player:f,isFallbackTransition:!0})})}}removeNode(e,r){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(n.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,r);else{let o=e[Ln];(!o||o===PT)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,r))}}insertNode(e,r){gn(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let o=n.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==n.triggerName){let c=Sf(o,n.triggerName,n.fromState.value,n.toState.value);c._data=e,Ef(n.player,s.phase,c,s.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(n)}),this._queue=[],r.sort((n,i)=>{let o=n.transition.ast.depCount,a=i.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},v_=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,r)=>{};_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,n){this.bodyNode=e,this.driver=r,this._normalizer=n}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,r){let n=new __(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(n,r):(this.newHostElements.set(r,n),this.collectEnterElement(r)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,r){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,s=this.driver.getParentElement(r);for(;s;){let c=i.get(s);if(c){let u=n.indexOf(c);n.splice(u+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||n.unshift(e)}else n.push(e);return i.set(r,e),e}register(e,r){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,r)),n}registerTrigger(e,r,n){let i=this._namespaceLookup[e];i&&i.register(r,n)&&this.totalAnimations++}destroy(e,r){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(r),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,n,i){if(Pf(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,n,i),!0}return!1}insertNode(e,r,n,i){if(!Pf(r))return;let o=r[Ln];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(r);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(r,n)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),gn(e,i_)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Os(e,i_))}removeNode(e,r,n){if(Pf(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,n):this.markElementAsRemoved(e,r,!1,n);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,n)}else this._onRemovalComplete(r,n)}markElementAsRemoved(e,r,n,i,o){this.collectedLeaveElements.push(r),r[Ln]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,n,i,o){return Pf(r)?this._fetchNamespace(e).listen(r,n,i,o):()=>{}}_buildInstruction(e,r,n,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,su,!0);r.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,Nf,!0),r.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ni(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[Ln];if(r&&r.setForRemoval){if(e[Ln]=PT,r.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(r.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(i_)&&this.markElementAsDisabled(e,!1),this.driver.query(e,GD,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let i=this.collectedEnterElements[n];gn(i,HD)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{r=this._flushAnimations(n,e)}finally{for(let i=0;i<n.length;i++)n[i]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let i=this.collectedLeaveElements[n];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],r.length?Ni(r).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw sT(e)}_flushAnimations(e,r){let n=new lu,i=[],o=new Map,a=[],s=new Map,c=new Map,u=new Map,l=new Set;this.disabledNodes.forEach(A=>{l.add(A);let I=this.driver.query(A,kD,!0);for(let C=0;C<I.length;C++)l.add(I[C])});let f=this.bodyNode,v=Array.from(this.statesByElement.keys()),d=yT(v,this.collectedEnterElements),p=new Map,m=0;d.forEach((A,I)=>{let C=Zm+m++;p.set(I,C),A.forEach($=>gn($,C))});let _=[],h=new Set,N=new Set;for(let A=0;A<this.collectedLeaveElements.length;A++){let I=this.collectedLeaveElements[A],C=I[Ln];C&&C.setForRemoval&&(_.push(I),h.add(I),C.hasAnimation?this.driver.query(I,VD,!0).forEach($=>h.add($)):N.add(I))}let L=new Map,F=yT(v,Array.from(h));F.forEach((A,I)=>{let C=yf+m++;L.set(I,C),A.forEach($=>gn($,C))}),e.push(()=>{d.forEach((A,I)=>{let C=p.get(I);A.forEach($=>Os($,C))}),F.forEach((A,I)=>{let C=L.get(I);A.forEach($=>Os($,C))}),_.forEach(A=>{this.processLeaveNode(A)})});let M=[],q=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(r).forEach(C=>{let $=C.player,ce=C.element;if(M.push($),this.collectedEnterElements.length){let re=ce[Ln];if(re&&re.setForMove){if(re.previousTriggersValues&&re.previousTriggersValues.has(C.triggerName)){let ye=re.previousTriggersValues.get(C.triggerName),he=this.statesByElement.get(C.element);if(he&&he.has(C.triggerName)){let be=he.get(C.triggerName);be.value=ye,he.set(C.triggerName,be)}}$.destroy();return}}let ue=!f||!this.driver.containsElement(f,ce),V=L.get(ce),y=p.get(ce),g=this._buildInstruction(C,n,y,V,ue);if(g.errors&&g.errors.length){q.push(g);return}if(ue){$.onStart(()=>fo(ce,g.fromStyles)),$.onDestroy(()=>Mn(ce,g.toStyles)),i.push($);return}if(C.isFallbackTransition){$.onStart(()=>fo(ce,g.fromStyles)),$.onDestroy(()=>Mn(ce,g.toStyles)),i.push($);return}let Y=[];g.timelines.forEach(re=>{re.stretchStartingKeyframe=!0,this.disabledNodes.has(re.element)||Y.push(re)}),g.timelines=Y,n.append(ce,g.timelines);let te={instruction:g,player:$,element:ce};a.push(te),g.queriedElements.forEach(re=>Lr(s,re,[]).push($)),g.preStyleProps.forEach((re,ye)=>{if(re.size){let he=c.get(ye);he||c.set(ye,he=new Set),re.forEach((be,ke)=>he.add(ke))}}),g.postStyleProps.forEach((re,ye)=>{let he=u.get(ye);he||u.set(ye,he=new Set),re.forEach((be,ke)=>he.add(ke))})});if(q.length){let A=[];q.forEach(I=>{A.push(cT(I.triggerName,I.errors))}),M.forEach(I=>I.destroy()),this.reportError(A)}let w=new Map,D=new Map;a.forEach(A=>{let I=A.element;n.has(I)&&(D.set(I,I),this._beforeAnimationBuild(A.player.namespaceId,A.instruction,w))}),i.forEach(A=>{let I=A.element;this._getPreviousPlayers(I,!1,A.namespaceId,A.triggerName,null).forEach($=>{Lr(w,I,[]).push($),$.destroy()})});let W=_.filter(A=>NT(A,c,u)),z=new Map;TT(z,this.driver,N,u,bn).forEach(A=>{NT(A,c,u)&&W.push(A)});let J=new Map;d.forEach((A,I)=>{TT(J,this.driver,new Set(A),c,ou)}),W.forEach(A=>{let I=z.get(A),C=J.get(A);z.set(A,new Map([...I?.entries()??[],...C?.entries()??[]]))});let me=[],T=[],R={};a.forEach(A=>{let{element:I,player:C,instruction:$}=A;if(n.has(I)){if(l.has(I)){C.onDestroy(()=>Mn(I,$.toStyles)),C.disabled=!0,C.overrideTotalTime($.totalTime),i.push(C);return}let ce=R;if(D.size>1){let V=I,y=[];for(;V=V.parentNode;){let g=D.get(V);if(g){ce=g;break}y.push(V)}y.forEach(g=>D.set(g,ce))}let ue=this._buildAnimation(C.namespaceId,$,w,o,J,z);if(C.setRealPlayer(ue),ce===R)me.push(C);else{let V=this.playersByElement.get(ce);V&&V.length&&(C.parentPlayer=Ni(V)),i.push(C)}}else fo(I,$.fromStyles),C.onDestroy(()=>Mn(I,$.toStyles)),T.push(C),l.has(I)&&i.push(C)}),T.forEach(A=>{let I=o.get(A.element);if(I&&I.length){let C=Ni(I);A.setRealPlayer(C)}}),i.forEach(A=>{A.parentPlayer?A.syncPlayerEvents(A.parentPlayer):A.destroy()});for(let A=0;A<_.length;A++){let I=_[A],C=I[Ln];if(Os(I,yf),C&&C.hasAnimation)continue;let $=[];if(s.size){let ue=s.get(I);ue&&ue.length&&$.push(...ue);let V=this.driver.query(I,Nf,!0);for(let y=0;y<V.length;y++){let g=s.get(V[y]);g&&g.length&&$.push(...g)}}let ce=$.filter(ue=>!ue.destroyed);ce.length?qD(this,I,ce):this.processLeaveNode(I)}return _.length=0,me.forEach(A=>{this.players.push(A),A.onDone(()=>{A.destroy();let I=this.players.indexOf(A);this.players.splice(I,1)}),A.play()}),me}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,n,i,o){let a=[];if(r){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let c=!o||o==uu;s.forEach(u=>{u.queued||!c&&u.triggerName!=i||a.push(u)})}}return(n||i)&&(a=a.filter(s=>!(n&&n!=s.namespaceId||i&&i!=s.triggerName))),a}_beforeAnimationBuild(e,r,n){let i=r.triggerName,o=r.element,a=r.isRemovalTransition?void 0:e,s=r.isRemovalTransition?void 0:i;for(let c of r.timelines){let u=c.element,l=u!==o,f=Lr(n,u,[]);this._getPreviousPlayers(u,l,a,s,r.toState).forEach(d=>{let p=d.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),d.destroy(),f.push(d)})}fo(o,r.fromStyles)}_buildAnimation(e,r,n,i,o,a){let s=r.triggerName,c=r.element,u=[],l=new Set,f=new Set,v=r.timelines.map(p=>{let m=p.element;l.add(m);let _=m[Ln];if(_&&_.removedBeforeQueried)return new va(p.duration,p.delay);let h=m!==c,N=XD((n.get(m)||BD).map(w=>w.getRealPlayer())).filter(w=>{let D=w;return D.element?D.element===m:!1}),L=o.get(m),F=a.get(m),M=qm(this._normalizer,p.keyframes,L,F),q=this._buildPlayer(p,M,N);if(p.subTimeline&&i&&f.add(m),h){let w=new du(e,s,m);w.setRealPlayer(q),u.push(w)}return q});u.forEach(p=>{Lr(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>zD(this.playersByQueriedElement,p.element,p))}),l.forEach(p=>gn(p,e_));let d=Ni(v);return d.onDestroy(()=>{l.forEach(p=>Os(p,e_)),Mn(c,r.toStyles)}),f.forEach(p=>{Lr(i,p,[]).push(d)}),d}_buildPlayer(e,r,n){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,n):new va(e.duration,e.delay)}},du=class{namespaceId;triggerName;element;_player=new va;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,r,n){this.namespaceId=e,this.triggerName=r,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((r,n)=>{r.forEach(i=>Ef(e,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){Lr(this._queuedCallbacks,e,[]).push(r)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function zD(t,e,r){let n=t.get(e);if(n){if(n.length){let i=n.indexOf(r);n.splice(i,1)}n.length==0&&t.delete(e)}return n}function KD(t){return t??null}function Pf(t){return t&&t.nodeType===1}function WD(t){return t=="start"||t=="done"}function ST(t,e){let r=t.style.display;return t.style.display=e??"none",r}function TT(t,e,r,n,i){let o=[];r.forEach(c=>o.push(ST(c)));let a=[];n.forEach((c,u)=>{let l=new Map;c.forEach(f=>{let v=e.computeStyle(u,f,i);l.set(f,v),(!v||v.length==0)&&(u[Ln]=jD,a.push(u))}),t.set(u,l)});let s=0;return r.forEach(c=>ST(c,o[s++])),a}function yT(t,e){let r=new Map;if(t.forEach(s=>r.set(s,[])),e.length==0)return r;let n=1,i=new Set(e),o=new Map;function a(s){if(!s)return n;let c=o.get(s);if(c)return c;let u=s.parentNode;return r.has(u)?c=u:i.has(u)?c=n:c=a(u),o.set(s,c),c}return e.forEach(s=>{let c=a(s);c!==n&&r.get(c).push(s)}),r}function gn(t,e){t.classList?.add(e)}function Os(t,e){t.classList?.remove(e)}function qD(t,e,r){Ni(r).onDone(()=>t.processLeaveNode(e))}function XD(t){let e=[];return xT(t,e),e}function xT(t,e){for(let r=0;r<t.length;r++){let n=t[r];n instanceof df?xT(n.players,e):e.push(n)}}function $D(t,e){let r=Object.keys(t),n=Object.keys(e);if(r.length!=n.length)return!1;for(let i=0;i<r.length;i++){let o=r[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function NT(t,e,r){let n=r.get(t);if(!n)return!1;let i=e.get(t);return i?n.forEach(o=>i.add(o)):e.set(t,n),r.delete(t),!0}var ws=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,r)=>{};constructor(e,r,n){this._driver=r,this._normalizer=n,this._transitionEngine=new v_(e.body,r,n),this._timelineEngine=new m_(e.body,r,n),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,n,i,o){let a=e+"-"+i,s=this._triggerCache[a];if(!s){let c=[],u=[],l=DT(this._driver,o,c,u);if(c.length)throw JS(i,c);s=YD(i,l,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(r,i,s)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,n,i){this._transitionEngine.insertNode(e,r,n,i)}onRemove(e,r,n){this._transitionEngine.removeNode(e,r,n)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,n,i){if(n.charAt(0)=="@"){let[o,a]=Xm(n),s=i;this._timelineEngine.command(o,r,a,s)}else this._transitionEngine.trigger(e,r,n,i)}listen(e,r,n,i,o){if(n.charAt(0)=="@"){let[a,s]=Xm(n);return this._timelineEngine.listen(a,r,s,o)}return this._transitionEngine.listen(e,r,n,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function QD(t,e){let r=null,n=null;return Array.isArray(e)&&e.length?(r=a_(e[0]),e.length>1&&(n=a_(e[e.length-1]))):e instanceof Map&&(r=a_(e)),r||n?new JD(t,r,n):null}var JD=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(r,n,i){this._element=r,this._startStyles=n,this._endStyles=i;let o=t.initialStylesByElement.get(r);o||t.initialStylesByElement.set(r,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Mn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mn(this._element,this._initialStyles),this._endStyles&&(Mn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(fo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fo(this._element,this._endStyles),this._endStyles=null),Mn(this._element,this._initialStyles),this._state=3)}}return t})();function a_(t){let e=null;return t.forEach((r,n)=>{ZD(n)&&(e=e||new Map,e.set(n,r))}),e}function ZD(t){return t==="display"||t==="position"}var Lf=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,r,n,i){this.element=e,this.keyframes=r,this.options=n,this._specialStyles=i,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,r=this._triggerWebAnimation(this.element,e,this.options);if(!r)return this._onFinish(),null;this.domPlayer=r,this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();return r.addEventListener("finish",n),this.onDestroy(()=>{r.removeEventListener("finish",n)}),r}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(n=>{r.push(Object.fromEntries(n))}),r}_triggerWebAnimation(e,r,n){let i=this._convertKeyframesToObject(r);try{return e.animate(i,n)}catch{return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(r=>r()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&e.set(i,this._finished?n:Df(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},Yf=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,r){return $m(e,r)}getParentElement(e){return Tf(e)}query(e,r,n){return Qm(e,r,n)}computeStyle(e,r,n){return Df(e,r)}animate(e,r,n,i,o,a=[]){let s=i==0?"both":"forwards",c={duration:n,delay:i,fill:s};o&&(c.easing=o);let u=new Map,l=a.filter(d=>d instanceof Lf);dT(n,i)&&l.forEach(d=>{d.currentSnapshot.forEach((p,m)=>u.set(m,p))});let f=lT(r).map(d=>new Map(d));f=pT(e,f,u);let v=QD(e,f);return new Lf(e,f,c,v)}};var xf="@",RT="@.disabled",Ff=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,r,n,i){this.namespaceId=e,this.delegate=r,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,n,i=!0){this.delegate.insertBefore(e,r,n),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,n,i){if(i){this.delegate.removeChild(e,r,n,i);return}this.parentNode(r)&&this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,n,i){this.delegate.setAttribute(e,r,n,i)}removeAttribute(e,r,n){this.delegate.removeAttribute(e,r,n)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,n,i){this.delegate.setStyle(e,r,n,i)}removeStyle(e,r,n){this.delegate.removeStyle(e,r,n)}setProperty(e,r,n){r.charAt(0)==xf&&r==RT?this.disableAnimations(e,!!n):this.delegate.setProperty(e,r,n)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,n,i){return this.delegate.listen(e,r,n,i)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},h_=class extends Ff{factory;constructor(e,r,n,i,o){super(r,n,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,n){r.charAt(0)==xf?r.charAt(1)=="."&&r==RT?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,r.slice(1),n):this.delegate.setProperty(e,r,n)}listen(e,r,n,i){if(r.charAt(0)==xf){let o=eI(e),a=r.slice(1),s="";return a.charAt(0)!=xf&&([a,s]=tI(a)),this.engine.listen(this.namespaceId,o,a,s,c=>{let u=c._data||-1;this.factory.scheduleListenerCallback(u,n,c)})}return this.delegate.listen(e,r,n,i)}};function eI(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function tI(t){let e=t.indexOf("."),r=t.substring(0,e),n=t.slice(e+1);return[r,n]}var Uf=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,r,n){this.delegate=e,this.engine=r,this._zone=n,r.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(e,r){let i=this.delegate.createRenderer(e,r);if(!e||!r?.data?.animation){let u=this._rendererCache,l=u.get(i);if(!l){let f=()=>u.delete(i);l=new Ff("",i,this.engine,f),u.set(i,l)}return l}
4let o=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=u=>{Array.isArray(u)?u.forEach(s):this.engine.registerTrigger(o,a,e,u.name,u)};return r.data.animation.forEach(s),new h_(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>r(n));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),i.push([r,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var nI=(()=>{class t extends ws{constructor(r,n,i){super(r,n,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(n){return new(n||t)(We(af),We(Ta),We(ya))};static \u0275prov=St({token:t,factory:t.\u0275fac})}return t})();function iI(){return new Rf}function oI(t,e,r){return new Uf(t,e,r)}var OT=[{provide:ya,useFactory:iI},{provide:ws,useClass:nI},{provide:iE,useFactory:oI,deps:[mE,ws,sf]}],aI=[{provide:Ta,useClass:g_},{provide:Dm,useValue:"NoopAnimations"},...OT],bT=[{provide:Ta,useFactory:()=>new Yf},{provide:Dm,useFactory:()=>"BrowserAnimations"},...OT],wT=(()=>{class t{static withConfig(r){return{ngModule:t,providers:r.disableAnimations?aI:bT}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Jn({type:t});static \u0275inj=Qn({providers:bT,imports:[ff]})}return t})();var pu=(()=>{let e=class e{constructor(n,i,o,a,s,c,u,l,f,v,d,p){this.deepLinkService=n,this.route=i,this.router=o,this.saleFlowHelper=a,this.salesPeriodService=s,this.eventService=c,this.initiativeService=u,this.confirmService=l,this.authService=f,this.configService=v,this.location=d,this.loginService=p}ngOnInit(){Kg([this.route.params,this.route.queryParams]).subscribe(([n,i])=>{if(n.prefix==="initiatief"){this.router.navigateByUrl(`initiative/${n.slug}`);return}let o;n.channel&&n.channel!=null?o=this.deepLinkService.getDeepLinkWithSalesChannel(n.prefix,n.slug,n.channel,i.cat,!1):o=this.deepLinkService.getDeepLink(n.prefix,n.slug,i.cat,!1),o.subscribe(a=>{if(a===null){this.router.navigateByUrl("");return}this.authService.getActiveSalesChannelId().subscribe(s=>{this.handleDeeplink(a,s)})},()=>{this.router.navigateByUrl("")})})}handleDeeplink(n,i){if(n.DeepLinkType===co.Redirect&&(document.location.href=n.RedirectUrl),n.SalesChannelId!=i)this.authService.switchSalesChannel(n.SalesChannelId,null,!1).subscribe(o=>{if(o===!0)switch(n.DeepLinkType){case co.Event:{this.handleEventDeepLink(n,!0);break}case co.SalesPeriod:{this.handleSalesPeriodDeepLink(n,!0);break}case co.SalesChannel:this.handleSalesChannelDeepLink(n)}});else switch(n.DeepLinkType){case co.Event:{this.handleEventDeepLink(n,!1);break}case co.SalesPeriod:{this.handleSalesPeriodDeepLink(n,!1);break}case co.SalesChannel:this.handleSalesChannelDeepLink(n)}}handleEventDeepLink(n,i){this.eventService.find(n.EventId,n.SaleCategoryId,!1).subscribe(o=>{this.saleFlowHelper.startNewEventFlow(n.SaleCategoryId,o).subscribe(()=>{i&&location.reload(),this.location.replaceState("/")})},o=>{this.router.navigateByUrl("")})}handleSalesPeriodDeepLink(n,i){this.salesPeriodService.getActiveSalesPeriodForUsers("",!1).subscribe(o=>{let a=o.find(s=>s.Id===n.SalesPeriodId);if(!a||!a.CurrentlyOnSaleForUser&&!a.PurchaseRightAvailableAfterLogin){this.router.navigateByUrl("");return}if(a.PurchaseRightAvailableAfterLogin&&!a.CurrentlyOnSaleForUser){this.loginService.navigateToLogin({action:"startNewSalesPeriodFlow",params:[n.SalesPeriodId]});return}jg(this.saleFlowHelper.startNewPassePartoutFlow(n.SalesPeriodId)).subscribe(()=>{i&&location.reload(),this.location.replaceState("/")})},()=>{this.router.navigateByUrl("")})}handleSalesChannelDeepLink(n){this.router.navigate([""])}slugify(n){return n.replace(/[^a-z0-9\-_]/gi,"").replace(/ ?- ?/g,"-").replace(/ /g,"-")}};e.\u0275fac=function(i){return new(i||e)(ve(UE),ve(Ns),ve(Ot),ve(aS),ve(qE),ve(kE),ve(GE),ve(_f),ve(Mr),ve(Ds),ve(lE),ve(sS))},e.\u0275cmp=$t({type:e,selectors:[["app-deeplink-loader"]],standalone:!1,decls:4,vars:0,consts:[[1,"background-container"],[1,"background"],[1,"loader-container"]],template:function(i,o){i&1&&(ie(0,"div",0),_e(1,"div",1),oe(),ie(2,"div",2),_e(3,"app-app-loader"),oe())},dependencies:[QE],styles:[".background-container[_ngcontent-%COMP%]{position:absolute;width:100vw;height:75vh}.background[_ngcontent-%COMP%]{position:absolute;inset:0;background-size:cover;background-position:50% 50%}.loader-container[_ngcontent-%COMP%]{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center}"]});let t=e;return t})();var T_=(()=>{let e=class e{constructor(n,i,o,a,s){this.router=n,this.layoutService=i,this.translate=o,this.route=a,this.navigation=s}ngOnInit(){this.route.params.subscribe(n=>{var i=n.id;this.navigation.getNavigationItemDynamic(i).subscribe(o=>{o?(this.pageTitle=o.Title,this.pageContent=o.SubTitle,(!this.pageContent||!this.pageTitle)&&this.router.navigateByUrl("/system/page-not-found"),this.layoutService.updateLayout(new Cs(this.pageTitle,!1)),this.translate.get([this.pageContent,this.pageTitle]).subscribe(a=>{for(let s in a)if(a[s]===s||a[s]===""){this.router.navigateByUrl("/system/page-not-found");break}}
4)):this.router.navigateByUrl("/system/page-not-found")})})}};e.\u0275fac=function(i){return new(i||e)(ve(Ot),ve(ao),ve(oo),ve(Ns),ve(VE))},e.\u0275cmp=$t({type:e,selectors:[["app-dashboard"]],standalone:!1,decls:4,vars:2,consts:[["backLink","/"],[1,"content"],[3,"translationKey"]],template:function(i,o){i&1&&(_e(0,"app-title-bar",0),ie(1,"div")(2,"div",1),_e(3,"app-format-translation",2),oe()()),i&2&&(de(3),mt("translationKey",xn(o.pageContent)))},dependencies:[xs,As],encapsulation:2});let t=e;return t})();var y_=(()=>{let e=class e{constructor(n){this.layoutService=n,n.updateLayout(new Cs("VIEW.TERMSANDCONDITIONS.HEADER",!1))}ngOnInit(){}};e.\u0275fac=function(i){return new(i||e)(ve(ao))},e.\u0275cmp=$t({type:e,selectors:[["app-terms-and-conditions"]],standalone:!1,decls:4,vars:0,consts:[["backLink","/"],[1,"content"],["translationKey","TERMS-AND-CONDITIONS.PAGE-CONTENT"]],template:function(i,o){i&1&&(_e(0,"app-title-bar",0),ie(1,"div")(2,"div",1),_e(3,"app-format-translation",2),oe()())},dependencies:[xs,As],encapsulation:2});let t=e;return t})();var Ys=(function(t){return t[t.Immediate=0]="Immediate",t[t.Manual=1]="Manual",t})(Ys||{});var UT=t=>({order_number:t});function fI(t,e){if(t&1&&(ie(0,"div"),_e(1,"app-format-translation",1),oe()),t&2){let r=Pe();de(),mt("translationKey",xn(r.reservationCancelledNotification))}}function dI(t,e){if(t&1&&(_e(0,"app-format-translation",1),ie(1,"div",2),_e(2,"div",3)(3,"br")(4,"app-format-translation",4),oe()),t&2){let r=Pe(2);mt("translationKey",xn(r.confirmedOrderRecievedNotification)),de(),xm("running",!0)}}function pI(t,e){if(t&1&&(ie(0,"div"),_e(1,"app-format-translation",1),oe()),t&2){let r=Pe(3);de(),mt("translationKey",xn(r.statusPending))}}function mI(t,e){if(t&1&&(ie(0,"div"),_e(1,"app-format-translation",1),oe()),t&2){let r=Pe(3);de(),mt("translationKey",xn(r.statusCancelled))}}function _I(t,e){if(t&1&&(ie(0,"div"),_e(1,"app-format-translation",1),oe()),t&2){let r=Pe(3);de(),mt("translationKey",xn(r.failed))}}function vI(t,e){if(t&1&&(ie(0,"div"),_e(1,"app-format-translation",1),oe()),t&2){let r=Pe(3);de(),mt("translationKey",xn(r.rejected))}}function hI(t,e){if(t&1&&_e(0,"img",5),t&2){let r=Pe(4);mt("src",r.confirmationImageUrl,Im)}}function gI(t,e){if(t&1){let r=Ti();ie(0,"app-button",9),yi("click",function(){Ei(r);let i=Pe(4);return Si(i.handleActionAfterPlacement(i.actionAfterPlacement))}),oe()}if(t&2){let r=Pe(4);mt("text",r.actionAfterPlacement.Text)}}function EI(t,e){t&1&&(ie(0,"div",2),_e(1,"div",3)(2,"br"),oe()),t&2&&xm("running",!0)}function SI(t,e){t&1&&(ie(0,"div",18)(1,"span"),_e(2,"app-format-translation",21),oe()())}function TI(t,e){t&1&&(ie(0,"div",19)(1,"span"),_e(2,"app-format-translation",22),oe()())}function yI(t,e){if(t&1){let r=Ti();ie(0,"div",30),yi("click",function(){Ei(r);let i=Pe().$implicit,o=Pe(5);return Si(o.goToEvent(i.EventId))}),_e(1,"span",31)(2,"app-format-translation",32),oe()}}function NI(t,e){if(t&1&&(ie(0,"span"),Ye(1),or(2,"localDateTime"),oe()),t&2){let r=Pe().$implicit;de(),hn(" (",_a(2,1,r.EventStart),")")}}function CI(t,e){if(t&1&&(ie(0,"div",35)(1,"span"),_e(2,"app-format-translation",36),Ye(3,": "),ie(4,"b"),Ye(5),oe()(),ie(6,"span"),_e(7,"app-format-translation",37),Ye(8,": "),ie(9,"b"),Ye(10),or(11,"replaceOnEmpty"),oe()(),ie(12,"span"),_e(13,"app-format-translation",38),Ye(14,": "),ie(15,"b"),Ye(16),or(17,"replaceOnEmpty"),oe()()()),t&2){let r=Pe(2).$implicit;de(5),Bt(r.ParentSectionName),de(5),Bt(_a(11,3,r.RowNumber)),de(6),Bt(_a(17,5,r.SeatNumber))}}function DI(t,e){if(t&1&&(ie(0,"div",35)(1,"span"),_e(2,"app-format-translation",36),Ye(3,": "),ie(4,"b"),Ye(5),oe()(),ie(6,"span"),_e(7,"app-format-translation",37),Ye(8,": "),ie(9,"b"),Ye(10),or(11,"replaceOnEmpty"),oe()(),ie(12,"span"),_e(13,"app-format-translation",38),Ye(14,": "),ie(15,"b"),Ye(16),or(17,"replaceOnEmpty"),oe()()()),t&2){let r=Pe(2).$implicit;de(5),Bt(r.ParentSectionName),de(5),Bt(_a(11,3,r.RowNumber)),de(6),Bt(_a(17,5,r.SeatNumber))}}function II(t,e){if(t&1&&(ie(0,"div",35)(1,"span"),_e(2,"app-format-translation",39),Ye(3,": "),ie(4,"b"),Ye(5),oe()()()),t&2){let r=Pe(2).$implicit;de(5),Bt(r.ParentSectionName)}}function AI(t,e){if(t&1&&(ie(0,"div",35)(1,"span"),_e(2,"app-format-translation",40),Ye(3,": "),ie(4,"b"),Ye(5),oe()()()),t&2){let r=Pe(2).$implicit;de(5),Bt(r.ParentSectionName)}}function PI(t,e){if(t&1&&rt(0,CI,18,7,"div",35)(1,DI,18,7,"div",35)(2,II,6,1,"div",35)(3,AI,6,1,"div",35),t&2){let r,n=Pe().$implicit;nt((r=n.TicketTypeCode)==="zitplaats"?0:r==="STA"?1:r==="parkeerkaart"?2:r==="transport"?3:-1)}}function xI(t,e){}function RI(t,e){if(t&1&&(ie(0,"tr")(1,"td"),_e(2,"app-format-translation",41),Ye(3),oe()(),ie(4,"tr")(
45,"td"),Ye(6),or(7,"currency"),oe()()),t&2){let r=Pe().$implicit;de(3),hn(": ",r.CustomerName),de(3),Bt(Rn(7,2,r.Total,"EUR"))}}function bI(t,e){if(t&1&&(ie(0,"tr")(1,"td",42),_e(2,"app-format-translation",41),Ye(3),oe()(),ie(4,"tr")(5,"td",43),Ye(6),or(7,"currency"),oe()()),t&2){let r=Pe().$implicit;de(3),hn(": ",r.CustomerName),de(3),Bt(Rn(7,2,r.Total,"EUR"))}}function OI(t,e){if(t&1&&(ie(0,"td"),_e(1,"app-format-translation",44),oe(),_e(2,"td",45),ie(3,"td"),Ye(4),or(5,"currency"),oe()),t&2){let r=Pe().$implicit;de(4),Bt(Rn(5,1,r.Total,"EUR"))}}function wI(t,e){if(t&1&&(ie(0,"td"),_e(1,"app-format-translation",46),oe(),_e(2,"td",45),ie(3,"td"),Ye(4),or(5,"currency"),oe()),t&2){let r=Pe().$implicit;de(4),Bt(Rn(5,1,r.Total,"EUR"))}}function MI(t,e){t&1&&(ie(0,"td",34),_e(1,"span",31),ie(2,"span",47),_e(3,"app-format-translation",48),oe(),_e(4,"span",31),oe())}function LI(t,e){if(t&1&&rt(0,PI,4,1)(1,xI,0,0)(2,RI,8,5)(3,bI,8,5)(4,OI,6,4)(5,wI,6,4)(6,MI,5,0,"td",34),t&2){let r,n=e.$implicit,i=Pe(7);nt((r=n.ProductType)===i.ProductTypeEnum.Ticket?0:r===i.ProductTypeEnum.CrossSellProduct?1:r===i.ProductTypeEnum.MatchDayPass?2:r===i.ProductTypeEnum.Membership?3:r===i.ProductTypeEnum.DeliveryMethod?4:r===i.ProductTypeEnum.PaymentMethod?5:6)}}function YI(t,e){if(t&1&&(ie(0,"div",28)(1,"span",33),Ye(2),or(3,"translate"),oe(),ro(4,LI,7,1,null,null,to),oe()),t&2){let r=e.$implicit;de(2),sE("",_a(3,2,r[0].TicketTypeName)," (",r.length,"x)"),de(2),no(r)}}function FI(t,e){if(t&1&&(ie(0,"div",20),rt(1,yI,3,0,"div",23),ie(2,"div",24)(3,"div",25),_e(4,"i",26),oe(),ie(5,"div",27)(6,"span")(7,"b"),Ye(8),oe()(),rt(9,NI,3,3,"span"),ro(10,YI,6,4,"div",28,to),oe(),ie(12,"div",29)(13,"span"),Ye(14),or(15,"currency"),oe()()()()),t&2){let r=e.$implicit;de(),nt(r.ActionRequired?1:-1),de(7),Bt(r.EventName),de(),nt(r.EventStart?9:-1),de(),no(r.Lines),de(4),Bt(Rn(15,4,r.TotalPrice,"EUR"))}}function UI(t,e){if(t&1&&(ie(0,"div",50)(1,"span"),_e(2,"app-format-translation",56),Ye(3,": "),_e(4,"app-format-translation",1),oe(),ie(5,"span"),Ye(6),or(7,"currency"),oe()()),t&2){let r=Pe().$implicit,n=Pe(8);de(4),mt("translationKey",xn(n.order.DeliveryMethod.TranslationCode)),de(2),Bt(Rn(7,3,r.Total,"EUR"))}}function kI(t,e){if(t&1&&(ie(0,"div",50)(1,"span"),_e(2,"app-format-translation",57),Ye(3),oe(),ie(4,"span"),Ye(5),or(6,"currency"),oe()()),t&2){let r=Pe().$implicit,n=Pe(8);de(3),hn(": ",n.order.PaymentMethod," "),de(2),Bt(Rn(6,2,r.Total,"EUR"))}}function GI(t,e){if(t&1&&rt(0,UI,8,6,"div",50)(1,kI,7,5,"div",50),t&2){let r,n=e.$implicit,i=Pe(8);nt((r=n.ProductType)===i.ProductTypeEnum.DeliveryMethod?0:r===i.ProductTypeEnum.PaymentMethod?1:-1)}}function HI(t,e){if(t&1&&ro(0,GI,2,1,null,null,to),t&2){let r=e.$implicit;no(r)}}function VI(t,e){if(t&1&&ro(0,HI,2,0,null,null,to),t&2){let r=e.$implicit;no(r.Lines)}}function BI(t,e){if(t&1&&(ie(0,"div",50)(1,"span"),Ye(2),oe(),ie(3,"span"),Ye(4),or(5,"currency"),oe()()),t&2){let r=e.$implicit;de(2),Bt(r.DiscountName),de(2),hn(" - ",Rn(5,2,r.Amount,"EUR"))}}function jI(t,e){if(t&1&&(ie(0,"div")(1,"span")(2,"b"),_e(3,"app-format-translation",1),oe()(),ro(4,BI,6,5,"div",50,to),oe()),t&2){let r=Pe(6);de(3),mt("translationKey",xn(r.discounts.length>1?"T4.ORDERHEADER.DISCOUNTS":"T4.ORDERHEADER.DISCOUNT")),de(),no(r.discounts)}}function zI(t,e){if(t&1&&(ie(0,"div",50)(1,"span")(2,"b"),_e(3,"app-format-translation",58),oe()(),ie(4,"span")(5,"b"),Ye(6),or(7,"currency"),oe()()()),t&2){let r=Pe(6);de(6),hn(" ",Rn(7,1,r.totalVat,"EUR"))}}function KI(t,e){if(t&1&&(ie(0,"div",54),_e(1,"app-format-translation",1),oe()),t&2){let r=Pe(6);de(),mt("translationKey",r.deliveryMethod.Instruction)}}function WI(t,e){if(t&1){let r=Ti();ie(0,"app-button",59),yi("click",function(){Ei(r);let i=Pe(6);return Si(i.goToMyTickets())}),oe()}}function qI(t,e){if(t&1&&(ie(0,"div",49),ro(1,VI,2,0,null,null,to),rt(3,jI,6,2,"div"),_e(4,"hr"),ie(5,"div",50)(6,"span")(7,"b"),_e(8,"app-format-translation",51),oe()(),ie(9,"span",52)(10,"b"),Ye(11),or(12,"currency"),oe()()(),rt(13,zI,8,4,"div",50),oe(),ie(14,"div",53),rt(15,KI,2,1,"div",54),rt(16,WI,1,0,"app-button",55),oe()),t&2){let r=Pe(5);de(),no(r.extraOrderLines),de(2),nt(r.discounts.length>0?3:-1),de(8),hn(" ",Rn(12,5,r.order.Total,"EUR")),de(2),nt(r.totalVat>0?13:-1),de(2),nt(r.deliveryMethod!=null&&r.deliveryMethod.Instruction?15:-1),de(),nt(r.showMyTicketsButton?16:-1)}}function XI(t,e){if(t&1&&(ie(0,"div"),_e(1,"hr"),ie(2,"span",10)(3,"b"),_e(4,"app-format-translation",11),oe()(),ie(5,"div",12)(6,"div",13)(7,"span")(8,"b"),_e(9,"app-format-translation",14),oe()(),ie(10,"span",15),Ye(11),oe()(),ie(12,"div",16)(13,"span")(14,"b"),_e(15,"app-format-translation",17),oe()(),rt(16,SI,3,0,"div",18)(17,TI,3,0,"div",19),oe()(),ro(18,FI,16,7,"div",20,to),rt(20,qI,17,8),oe()),t&2){let r=Pe(4);de(11),Bt(r.finalReference),de(5),nt(r.order.Payed?16:17),de(2),no(r.filteredOrderLines),de(2),nt(r.order?20:-1)}}function $I(t,e){if(t&1&&(ie(0,"div"),rt(1,hI,1,1,"img",5),_e(2,"app-format-translation",6),ie(3,"div"),rt(4,gI,1,1,"app-button",7),oe(),ie(5,"div"),rt(6,EI,3,2,"div",8)(7,XI,21,3,"div"),oe()()),t&2){let r=Pe(3);de(),nt(r.confirmationImageUrl!==null?1:-1),de(),mt("translationKey",r.statusOrdered)("params",Rm(5,UT,r.finalReference)),de(2),nt(r.actionAfterPlacement?4:-1),de(2),nt(r.order?7:6)}}function QI(t,e){if(t&1&&_e(0,"img",5),t&2){let r=Pe(4);mt("src",r.confirmationImageUrl,Im)}}function JI(t,e){if(t&1&&(ie(0,"div",54),_e(1,"app-format-translation",1),oe()),t&2){let r=Pe(4);de(),mt("translationKey",r.deliveryMethod.Instruction)}}function ZI(t,e){if(t&1&&(ie(0,"div"),rt(1,QI,1,1,"img",5),_e(2,"app-format-translation",1),rt(3,JI,2,1,"div",54),oe()),t&2){let r=Pe(3);de(),nt(r.confirmationImageUrl!==null?1:-1),de(),mt("translationKey",r.statusOrderedNoRef),de(),nt(r.deliveryMethod!=null&&r.deliveryMethod.Instruction?3:-1)}}function eA(t,e){if(t&1&&(ie(0,"div"),_e(1,"app-format-translation",6),oe()),t&2){let r=Pe(3);de(),mt("translationKey",r.statusRefunded)("params",Rm(2,UT,r.finalReference))}}function tA(t,e){if(t&1&&(ie(0,"div"),rt(1,pI,2,2,"div")(2,mI,2,2,"div")(3,_I,2,2,"div")(4,vI,2,2,"div")(5,$I,8,7,"div")(6,ZI,4,3,"div")(7,eA,2,4,"div"),oe()),t&2){let r,n=Pe(2);de(),nt((r=n.finalStatus)==="pending"?1:r==="cancel"?2:r==="failed"?3:r==="rejected"?4:r==="ordered"?5:r==="ordered-noreference"?6:r==="refunded"?7:-1)}}function rA(t,e){if(t&1&&rt(0,dI,5,4)(1,tA,8,1,"div"),t&2){let r=Pe();nt(r.busyPolling===!0?0:1)}}var nA=(()=>{let e=class e{constructor(n,i,o,a,s,c,u,l,f,v,d,p,m,_){this.config=n,this.route=i,this.contextService=o,this.orderState=a,this.paymentService=s,this.layoutService=c,this.shoppingCartService=u,this.shopGuardHelperService=l,this.router=f,this.orderService=v,this.actionService=d,this.authService=p,this.gtmService=m,this.translate=_,this.ProductTypeEnum=Is,this.isCanceled=!1,this.pollingObservable=null,this.paymentInfo=null,this.busyPolling=!1,this.pollCount=1,this.finalStatus=null,this.finalReference=null,this.deliveryMethod=null,this.discounts=null,this.groupedOrderLines=new Array,this.filteredOrderLines=new Array,this.extraOrderLines=new Array,this.showMyTicketsButton=!1,this.totalVat=0,this.showVat=!0,this.maxPollC
4ount=60,this.pollInterval=5e3,this.confirmationImageUrl=null,this.actionAfterPlacement=null,this.route.params.subscribe(h=>{this.layoutService.updateLayout(new Cs("VIEWS.ORDER.CONFIRMATION.TITLE",!1)),h.msg&&h.msg==="cancel"&&(this.isCanceled=!0),this.payRef=h.payRef,this.poUid=h.poid;try{h.gaid&&window.ga&&window.ga("set","clientid",h.gaid)}catch(N){console.log("GA error",N)}this.showVat=p.getDisplayVat()})}ngOnInit(){return nu(this,null,function*(){if(this.shopGuardHelperService.leaveQueueWhenIn(),this.confirmationImageUrl=this.config.confirmationPageHeaderImageUrl,this.shoppingCartService.awaitingPendingOrderPayment=!0,this.paymentInfo=this.orderState.getPaymentInfo(),this.shoppingCartService.cancelTimer(),yield this.waitForDirectOrderId(),this.payRef&&this.poUid)this.startPolling(()=>this.paymentService.statusByPayRef(this.payRef,this.poUid,!1),n=>{this.handlePayRefStatus(n),this.getPlacedOrderDetails()});else if(this.orderState.getDirectOrderId()!=null){if(this.orderState.getDirectOrderId()==0&&this.payRef==null)return;this.finalStatus="ordered",this.finalReference=this.orderState.getDirectOrderId(),this.finalReference==0&&this.payRef!==null&&this.paymentService.getRequestByPaymentReference(this.payRef).subscribe(n=>{this.finalReference=n.ActualOrderId}),this.handleAfterOrderActions(this.finalReference),this.cancelPolling(),this.getPlacedOrderDetails(),this.finalStatus="ordered"}else this.finalStatus="ordered-noreference",this.contextService.clearOrderContext(),this.getPlacedOrderDetails();this.contextService.clearOrderContext()})}waitForDirectOrderId(){return nu(this,null,function*(){let n=0,i=10;for(;(this.orderState.getDirectOrderId()==0||this.orderState.getDirectOrderId()==null)&&n<i;)n++,yield new Promise(o=>setTimeout(o,35));return this.orderState.getDirectOrderId()})}ngOnDestroy(){this.cancelPolling()}cancelPolling(){this.busyPolling=!1,this.pollingObservable!==null&&this.pollingObservable.unsubscribe()}startPolling(n,i){this.busyPolling=!0,this.pollingObservable=qg(this.pollInterval).pipe(eE(0),nf(()=>n())).subscribe(o=>{i(o)})}handlePayRefStatus(n){let i=n.PaymentStatus;(i===null||i==="pending")&&this.pollCount<this.maxPollCount||(this.finalStatus=i,this.finalReference=n.Reference,this.finalReference!==null&&this.handleAfterOrderActions(this.finalReference),this.cancelPolling()),this.pollCount++}handleAfterOrderActions(n){this.orderService.getActionAfterSuccessfulOrderPlacement(n).subscribe(i=>{if(!i.some(o=>o.Trigger==Ys.Immediate)){this.actionAfterPlacement=i.find(o=>o.Trigger===Ys.Manual);return}this.actionService.handleAction(i.find(o=>o.Trigger===Ys.Immediate)).subscribe(()=>{this.actionAfterPlacement=i.find(o=>o.Trigger===Ys.Manual)})})}handleActionAfterPlacement(n){this.actionService.handleAction(n).subscribe()}performGoogleAnalyticsCall(n){this.authService.getActiveSalesChannel().subscribe(i=>{let o=n.OrderLines.map(a=>({item_id:a.ProductType,item_name:a.ProductType==2?"Delivery method":a.ProductType==3?"Payment method":a.CrossSellProductName??a.EventName??a.PassePartoutName??a.MembershipName??a.MatchDayPassName,product_id:a.CrossSellProductId?"CRO_"+a.CrossSellProductId:a.MembershipId?"MEM_"+a.MembershipId:a.MatchDayPassId?"MDP_"+a.MatchDayPassId:a.EventId?"EVT_"+a.EventId:a.PassePartoutId?"PPT_"+a.PassePartoutId:null,ticket_type:a.TicketTypeName,sector:a.ParentSectionShortName??a.SectorName,price:a.Total,price_variant:a.PriceVariationName?this.translate.instant(a.PriceVariationName):"",affiliation:i.Name,row:a.RowNumber,seat:a.SeatNumber}));this.gtmService.purchaseEvent(n.OrderId,n.VAT,n.Total,o)})}getPlacedOrderDetails(){this.finalReference&&this.orderService.getOrderConfirmationDetails(this.finalReference).subscribe(n=>{n.SendToGTM&&this.performGoogleAnalyticsCall(n),this.order=n,this.groupedOrderLines=n.OrderLines,this.extraOrderLines=n.OrderLines.filter(i=>i.EventName==null),this.filteredOrderLines=this.filterOrderLines(n.OrderLines),this.discounts=n.Discounts,this.deliveryMethod=n.DeliveryMethod,n.OrderLines.forEach(i=>{i.Lines.forEach(o=>{o.map(a=>this.totalVat+=a.Vat)})}
4),this.filteredOrderLines.forEach(i=>{i.Lines.forEach(o=>{o.map(a=>{a.ProductType==Is.Ticket&&this.deliveryMethod.ShowInShop&&(this.showMyTicketsButton=!0)})})})})}goToMyTickets(){return this.router.navigateByUrl("/tickets/overview")}goToEvent(n){return this.router.navigateByUrl("/tickets/my-tickets/"+n)}filterOrderLines(n){let i=JSON.parse(JSON.stringify(n));return i.forEach(o=>{o.Lines&&(o.FilteredLines=o.Lines.map(a=>a.filter(s=>s.ProductType!=Is.DeliveryMethod&&s.ProductType!=Is.Discount&&s.ProductType!=Is.PaymentMethod)).filter(a=>a.length>0))}),i=i.filter(o=>o.FilteredLines.length>0),i}};e.\u0275fac=function(i){return new(i||e)(ve(wn),ve(Ns),ve($E),ve(vf),ve(jE),ve(ao),ve(Ps),ve(rS),ve(Ot),ve(BE),ve(lS),ve(Mr),ve(lo),ve(oo))},e.\u0275cmp=$t({type:e,selectors:[["app-confirmed-sub"]],inputs:{reservationCancelledNotification:"reservationCancelledNotification",confirmedOrderRecievedNotification:"confirmedOrderRecievedNotification",statusPending:"statusPending",statusCancelled:"statusCancelled",failed:"failed",rejected:"rejected",statusOrdered:"statusOrdered",statusRefunded:"statusRefunded",statusOrderedNoRef:"statusOrderedNoRef"},standalone:!1,decls:4,vars:1,consts:[[1,"content"],[3,"translationKey"],[1,"ld-left","loader-wide","text-center",2,"display","inline-block"],[1,"ld","ld-ring","ld-spin"],["translationKey","MSG.ONEMOMENT"],[2,"width","100%","padding-bottom","20px",3,"src"],[3,"translationKey","params"],[3,"text"],[1,"ld-left","loader-wide","text-center",2,"display","inline-block",3,"running"],[3,"click","text"],[1,"order_title"],["translationKey","VIEWS.TICKETS-OVERVIEW.ORDER-DETAILS.TITLE"],[1,"order"],["data-testid","renewals-confirmation-order-id",1,"order_id"],["translationKey","VIEWS.TICKETS-OVERVIEW.ORDER-NUMBER"],["data-testid","renewals-confirmation-order-reference"],[1,"order_payment-status"],["translationKey","VIEWS.TICKETS-OVERVIEW.PAYMENT-STATUS"],["data-testid","renewals-confirmation-order-paid",1,"order_payment-status_payed"],[1,"order_payment-status_not-payed"],[1,"event_group"],["translationKey","VIEWS.TICKETS-OVERVIEW.PAYMENT-STATUS.PAYED"],["translationKey","VIEWS.TICKETS-OVERVIEW.PAYMENT-STATUS.NOT-PAYED"],[1,"event_action-required"],[1,"event_summary"],[1,"ticket-icon"],[1,"fa-solid","fa-ticket"],["data-testid","renewals-confirmation-event-info",1,"event_info"],[1,"tickettype-group"],[1,"total-price"],[1,"event_action-required",3,"click"],[1,"fas","fa-exclamation-triangle"],["translationKey","VIEWS.TICKETS-OVERVIEW.ORDER-DETAILS.ACTION-REQUIRED",1,"ticket-template-status"],["data-testid","renewals-confirmation-ticket-type-name",1,"tickettype-name"],["colspan","11"],[1,"section-row-seat"],["translationKey","VIEWS.RENEWALS.OVERVIEW-LINE.SECTION"],["translationKey","VIEWS.RENEWALS.OVERVIEW-LINE.ROW"],["translationKey","VIEWS.RENEWALS.OVERVIEW-LINE.SEAT"],["translationKey","VIEWS.RENEWALS.OVERVIEW-LINE.PARKING-TICKET"],["translationKey","VIEWS.RENEWALS.OVERVIEW-LINE.TRANSPORT-TICKET"],["translationKey","T4.GENERIC.INTHENAMEOF"],["data-testid","renewals-confirmation-membership-card-holder"],["data-testid","renewals-confirmation-membership-card-total"],["translationKey","T4.ORDERHEADER.DELIVERYCOSTS"],["colspan","5"],["translationKey","T4.ORDERHEADER.PAYMENTMETHODCOSTS"],[1,"mx-2"],["translationKey","T4.ORDERDETAILS.ORDERLINES.CANNOTSHOWLINE"],[1,"order_summary"],[1,"order_summary_item"],["translationKey","T4.ORDERDETAILS.ORDERLINES.TOTAL"],["data-testid","renewals-confirmation-order-total"],[1,"order_bottom-content"],["value",""],["type","primary","text","VIEWS.RENEWALS.GO-TO-MY-TICKETS"],["translationKey","T4.ORDERHEADER.DELIVERYMETHOD"],["translationKey","T4.ORDERHEADER.PAYMENTMETHOD"],["translationKey","Waarvan BTW"],["type","primary","text","VIEWS.RENEWALS.GO-TO-MY-TICKETS",3,"click"]],template:function(i,o){i&1&&(_e(0,"app-title-bar"),ie(1,"div",0),rt(2,fI,2,2,"div")(3,rA,2,1),oe()),i&2&&(de(2),nt(o.isCanceled?2:3))},dependencies:[eS,xs,As,lf,fS,dS,PE],styles:[".ticket-template-btn[_ngcontent-%COMP%]{background:#f3f5f5;padding:24px 16px 18px;font-family:var(--heading-font);min-height:35px;color:#5d606b;font-size:1rem;line-height:1.15rem;border:2px solid #5D606B}@media only screen and (max-width:767px){.ticket-template-btn[_ngcontent-%COMP%]{padding:32px 24px}}.ticket-template-btn[_ngcontent-%COMP%]:hover{box-shadow:inset 0 -2px #5d606b}.ticket-template-btn[_ngcontent-%COMP%]:active:focus{background:#5d606b;color:#fff}@media only screen and (max-width:767px){.ticket-template-btn[_ngcontent-%COMP%]{min-height:56px}}.event[_ngcontent-%COMP%]{font-family:var(--btn-font)}.event_group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;background:#f1f1f1;padding:16px;margin:16px 0;border-radius:4px}@media(max-width:767.98px){.event_group[_ngcontent-%COMP%]{margin:16px 0}}.event_action-required[_ngcontent-%COMP%]{display:flex;align-content:center;justify-content:center;align-items:center;border:1px solid #CF1322;padding:8px 16px;gap:16px;border-radius:6px;background:#fff1f0;text-align:center;cursor:pointer}.event_action-required[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#cf1322}@media only screen and (max-width:767px){.event_action-required[_ngcontent-%COMP%]{text-align:left}}.event_summary[_ngcontent-%COMP%]{display:flex;gap:16px}.event_summary[_ngcontent-%COMP%]   .ticket-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background:var(--btn-color-inverted);width:36px;height:36px;padding:8px;gap:8px;border-radius:4px}.event_summary[_ngcontent-%COMP%]   .ticket-icon[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{color:#fff}@media only screen and (max-width:767px){.event_summary[_ngcontent-%COMP%]   .ticket-icon[_ngcontent-%COMP%]{display:none}}.event_summary[_ngcontent-%COMP%]   .section-row-seat[_ngcontent-%COMP%]{display:flex;gap:12px}.event_summary[_ngcontent-%COMP%]   .total-price[_ngcontent-%COMP%]{margin-left:auto}.event_summary[_ngcontent-%COMP%]   .total-price[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:700}.event_summary.crosssell[_ngcontent-%COMP%]{align-items:center}.event_info[_ngcontent-%COMP%]{font-family:var(--heading-font);font-size:16px}@media only screen and (max-width:767px){.event_info[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}}
4.event_info[_ngcontent-%COMP%]   .tickettype-name[_ngcontent-%COMP%]{text-decoration:underline}.event_info[_ngcontent-%COMP%]   .tickettype-group[_ngcontent-%COMP%]{margin-top:16px;font-family:var(--base-font)}.order[_ngcontent-%COMP%]{display:flex;gap:48px;align-items:center}.order[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;height:64px}@media(max-width:767.98px){.order[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}}.order[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}.order_title[_ngcontent-%COMP%]{font-weight:400;font-family:var(--heading-font);font-size:24px}@media(max-width:767.98px){.order_title[_ngcontent-%COMP%]{margin-bottom:.5em;display:flex}}.order_payment-status[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{height:auto!important;padding:6px 16px;gap:16px;border-radius:74px}.order_payment-status[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:700}.order_payment-status_payed[_ngcontent-%COMP%]{border:1px solid #296829;background:#95e595}.order_payment-status_not-payed[_ngcontent-%COMP%]{border:1px solid #CF1322;background:#fff1f0}.order_summary[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;background:#f1f1f1;padding:16px;border-radius:4px}.order_summary_item[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.order_summary[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin:0;background-color:#00000026}.order_bottom-content[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:16px}.order_bottom-content[_ngcontent-%COMP%]   app-button[_ngcontent-%COMP%]{flex:0 0 auto}"]});let t=e;return t})(),kf=nA;function iA(t,e){t&1&&_e(0,"app-confirmed-sub",0)}function oA(t,e){t&1&&_e(0,"app-confirmed-sub",1)}var Xr=(()=>{let e=class e{constructor(n,i,o,a,s,c,u){this.shoppingCartService=n,this.pendingOrderServive=i,this.orderState=o,this.gtmService=a,this.authService=s,this.prolongationService=c,this.translate=u,this.isSCC=!1}ngOnInit(){this.details=this.shoppingCartService.getPendingOrderDetails(),this.isSCC=this.details!==null&&this.details.OrderLines.find(i=>i.PassePartoutName!=null)!==void 0;let n=this.shoppingCartService.getPendingOrderId();!n||this.orderState.getDirectOrderId()||this.getOrderIdFromPendingOrder(n)}getOrderIdFromPendingOrder(n){let i=0,o=5;this.pendingOrderServive.getOrderIdFromPendingOrder(n).pipe(Xg(a=>a?pa(a):i<o-1?(i++,tf(()=>new Error("No order ID found")).pipe($g(1e3))):pa(a)),Zg(o-1),ma(a=>pa(null))).subscribe(a=>{a&&this.orderState.setDirectOrderId(a)})}};e.\u0275fac=function(i){return new(i||e)(ve(Ps),ve(zE),ve(vf),ve(lo),ve(Mr),ve(KE),ve(oo))},e.\u0275cmp=$t({type:e,selectors:[["app-confirmed"]],standalone:!1,decls:2,vars:1,consts:[["reservationCancelledNotification","VIEWS.RENEWALS.CONFIRMED.RESERVATIONS-CANCELED-NOTIFICATION","confirmedOrderRecievedNotification","VIEWS.RENEWALS.CONFIRMED.ORDER-RECEIVED-NOTIFICATION","statusPending","VIEWS.RENEWALS.CONFIRMED.STATUS-PENDING","statusCancelled","VIEWS.RENEWALS.CONFIRMED.STATUS-CANCELLED","failed","VIEWS.RENEWALS.CONFIRMED.STATUS-FAILED","rejected","VIEWS.RENEWALS.CONFIRMED.STATUS-REJECTED","statusOrdered","VIEWS.RENEWALS.CONFIRMED.STATUS-ORDERED","statusOrderedNoRef","VIEWS.RENEWALS.CONFIRMED.STATUS-ORDERED-NOREF","statusRefunded","VIEWS.RENEWALS.CONFIRMED.STATUS-REFUNDED"],["reservationCancelledNotification","VIEWS.SCC.CONFIRMED.RESERVATIONS-CANCELED-NOTIFICATION","confirmedOrderRecievedNotification","VIEWS.SCC.CONFIRMED.ORDER-RECEIVED-NOTIFICATION","statusPending","VIEWS.SCC.CONFIRMED.STATUS-PENDING","statusCancelled","VIEWS.SCC.CONFIRMED.STATUS-CANCELLED","failed","VIEWS.SCC.CONFIRMED.STATUS-FAILED","rejected","VIEWS.SCC.CONFIRMED.STATUS-REJECTED","statusOrdered","VIEWS.SCC.CONFIRMED.STATUS-ORDERED","statusOrderedNoRef","VIEWS.SCC.CONFIRMED.STATUS-ORDERED-NOREF","statusRefunded","VIEWS.SCC.CONFIRMED.STATUS-REFUNDED"]],template:function(i,o){i&1&&rt(0,iA,1,0,"app-confirmed-sub",0)(1,oA,1,0,"app-confirmed-sub",1),i&2&&nt(o.isSCC?1:0)},dependencies:[kf],encapsulation:2});let t=e;return t})();
4var Ci=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=$t({type:e,selectors:[["app-scc-confirmed"]],standalone:!1,decls:1,vars:0,consts:[["reservationCancelledNotification","VIEWS.SCC.CONFIRMED.RESERVATIONS-CANCELED-NOTIFICATION","confirmedOrderRecievedNotification","VIEWS.SCC.CONFIRMED.ORDER-RECEIVED-NOTIFICATION","statusPending","VIEWS.SCC.CONFIRMED.STATUS-PENDING","statusCancelled","VIEWS.SCC.CONFIRMED.STATUS-CANCELLED","failed","VIEWS.SCC.CONFIRMED.STATUS-FAILED","rejected","VIEWS.SCC.CONFIRMED.STATUS-REJECTED","statusOrdered","VIEWS.SCC.CONFIRMED.STATUS-ORDERED","statusOrderedNoRef","VIEWS.SCC.CONFIRMED.STATUS-ORDERED-NOREF","statusRefunded","VIEWS.SCC.CONFIRMED.STATUS-REFUNDED"]],template:function(i,o){i&1&&_e(0,"app-confirmed-sub",0)},dependencies:[kf],encapsulation:2});let t=e;return t})();var N_=(()=>{let e=class e{constructor(n){this.router=n}ngOnInit(){sessionStorage.getItem("user_selected_language")==="tt"?this.router.navigateByUrl("/dashboard"):(sessionStorage.setItem("user_selected_language","tt"),sessionStorage.setItem("user_selected_locale","tt-TT"),window.location.reload())}};e.\u0275fac=function(i){return new(i||e)(ve(Ot))},e.\u0275cmp=$t({type:e,selectors:[["app-language-test"]],standalone:!1,decls:1,vars:0,template:function(i,o){i&1&&Ye(0,"Loading... language-test")},encapsulation:2});let t=e;return t})();var C_=(()=>{let e=class e{constructor(n){this.router=n}canActivate(){let n=sessionStorage.getItem("isImpersonated");return n||(this.router.navigate(["/dashboard"]),!1)}};e.\u0275fac=function(i){return new(i||e)(We(Ot))},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var GT=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",loadChildren:()=>import("./chunk-FNTETAFM.js").then(t=>t.HomeModule),component:Um,data:{title:"Home"},canActivate:[Gm,_t,at,Me]},{path:"language-test",component:N_,canActivate:[C_]},{path:"renewals/confirmation",component:dr,canActivate:[at,Me],children:[{path:"",component:Xr},{path:":msg",component:Xr},{path:":msg/:payRef/:poid",component:Xr},{path:":msg/:payRef/:poid/:gaid",component:Xr}]},{path:"scc/confirmation",component:dr,canActivate:[at,Me],children:[{path:"",component:Ci},{path:":msg",component:Ci},{path:":msg/:payRef/:poid",component:Ci},{path:":msg/:payRef/:poid/:gaid",component:Ci}]},{path:"reservations/confirmation",component:dr,canActivate:[at,Me],children:[{path:"",component:Xr},{path:":msg",component:Xr}]},{path:"events",component:km,loadChildren:()=>import("./chunk-M7FFRPYN.js").then(t=>t.EventsModule),canActivate:[_t,at,Me]},{path:"queue",component:dr,loadChildren:()=>import("./chunk-L5MXL5WY.js").then(t=>t.QueueModule),data:{title:"Queue"},canActivate:[at,Me,Me]},{path:"memberships",component:dr,loadChildren:()=>import("./chunk-FPKYBRLT.js").then(t=>t.MembershipsModule),canActivate:[_t,at,Me,ga]},{path:"buy-flexplan",component:Hm,loadChildren:()=>import("./chunk-BOIKIUWY.js").then(t=>t.MatchdaypassViewModule),canActivate:[_t,Me]},{path:"shopping-cart",component:dr,loadChildren:()=>import("./chunk-XLKC7AJJ.js").then(t=>t.ShoppingCartModule),canActivate:[_t,at,Me]},{path:"invitation",component:ha,loadChildren:()=>import("./chunk-7WTAFRDO.js").then(t=>t.InvitationsModule),canActivate:[Me,ga]},{path:"page",canActivate:[at],component:ha,children:[{path:":id/:pageName",component:T_}]},{path:"termsandconditions",component:ha,canActivate:[at],children:[{path:"",component:y_}]},{path:"",component:dr,canActivate:[at],children:[{path:"account",loadChildren:()=>import("./chunk-SX2MDDVU.js").then(t=>t.AccountModule),data:{title:"Account"}},{path:"profile",canActivate:[Qt,Me],loadChildren:()=>import("./chunk-5H34QPW6.js").then(t=>t.ProfileModule)},{path:"renewals",canActivate:[Qt,_t,Me],loadChildren:()=>import("./chunk-NEAJA6GS.js").then(t=>t.RenewalsModule)},{path:"reservations",canActivate:[Qt,_t,Me],loadChildren:()=>import("./chunk-RSO2L7MD.js").then(t=>t.ReservationsModule)},{path:"seat-selection",canActivate:[Qt,_t,Me],loadChildren:()=>import("./chunk-JTSDXNFX.js").then(t=>t.SeatSelectionModule)},{path:"system",loadChildren:()=>import("./chunk-2L6NZAXB.js").then(t=>t.SystemModule)},{path:"initiative",canActivate:[_t,Me,ga],loadChildren:()=>import("./chunk-GTROAOPK.js").then(t=>t.InitiativesModule)},{path:"tickets",canActivate:[Qt,Me],loadChildren:()=>import("./chunk-IEX2Y2MC.js").then(t=>t.TicketsModule)},{path:"ticket-change",canActivate:[Qt,Me,Vm],data:{requiredModules:[Fm.SelfServiceTicketChanges]},loadChildren:()=>import("./chunk-NXA2XJBZ.js").then(t=>t.TicketChangeModule)},{path:"flexplan",canActivate:[Qt,Me],loadChildren:()=>import("./chunk-HQZVGVC4.js").then(t=>t.MatchdaypassModule)},{path:"",loadChildren:()=>import("./chunk-GD4HGIG3.js").then(t=>
4t.SpecialModule),canActivate:[Qt,Me]}]},{path:":prefix/:slug",component:pu,canActivate:[_t,at,Me]},{path:":prefix/:slug/:channel",component:pu,canActivate:[_t,at,Me]},{path:"**",redirectTo:"system/404"}],HT=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",loadChildren:()=>import("./chunk-FNTETAFM.js").then(t=>t.HomeModule),component:Um,data:{title:"Home"},canActivate:[Gm,_t,at,Me]},{path:"language-test",component:N_,canActivate:[C_]},{path:"renewals/confirmation",component:dr,canActivate:[at,Me],children:[{path:"",component:Xr},{path:":msg",component:Xr},{path:":msg/:payRef/:poid",component:Xr},{path:":msg/:payRef/:poid/:gaid",component:Xr}]},{path:"scc/confirmation",component:dr,canActivate:[at,Me],children:[{path:"",component:Ci},{path:":msg",component:Ci},{path:":msg/:payRef/:poid",component:Ci},{path:":msg/:payRef/:poid/:gaid",component:Ci}]},{path:"reservations/confirmation",component:dr,canActivate:[at,Me],children:[{path:"",component:Xr},{path:":msg",component:Xr}]},{path:"Account/LoginBundeling",component:dr,canActivate:[at],children:[{path:"",component:pS}]},{path:"events",component:km,loadChildren:()=>import("./chunk-M7FFRPYN.js").then(t=>t.EventsModule),canActivate:[_t,at,Me]},{path:"queue",component:dr,loadChildren:()=>import("./chunk-L5MXL5WY.js").then(t=>t.QueueModule),data:{title:"Queue"},canActivate:[at,Me,Me]},{path:"memberships",component:dr,loadChildren:()=>import("./chunk-FPKYBRLT.js").then(t=>t.MembershipsModule),canActivate:[_t,at,Me,ga]},{path:"buy-flexplan",component:Hm,loadChildren:()=>import("./chunk-BOIKIUWY.js").then(t=>t.MatchdaypassViewModule),canActivate:[_t,Me]},{path:"shopping-cart",component:dr,loadChildren:()=>import("./chunk-XLKC7AJJ.js").then(t=>t.ShoppingCartModule),canActivate:[_t,at,Me]},{path:"invitation",component:ha,loadChildren:()=>import("./chunk-7WTAFRDO.js").then(t=>t.InvitationsModule),canActivate:[Me,ga]},{path:"page",canActivate:[at],component:ha,children:[{path:":id/:pageName",component:T_}]},{path:"termsandconditions",component:ha,canActivate:[at],children:[{path:"",component:y_}]},{path:"",component:dr,canActivate:[at],children:[{path:"account",loadChildren:()=>import("./chunk-SX2MDDVU.js").then(t=>t.AccountModule),data:{title:"Account"}},{path:"profile",canActivate:[Qt,Me],loadChildren:()=>import("./chunk-5H34QPW6.js").then(t=>t.ProfileModule)},{path:"renewals",canActivate:[Qt,_t,Me],loadChildren:()=>import("./chunk-NEAJA6GS.js").then(t=>t.RenewalsModule)},{path:"reservations",canActivate:[Qt,_t,Me],loadChildren:()=>import("./chunk-RSO2L7MD.js").then(t=>t.ReservationsModule)},{path:"seat-selection",canActivate:[Qt,_t,Me],loadChildren:()=>import("./chunk-JTSDXNFX.js").then(t=>t.SeatSelectionModule)},{path:"system",loadChildren:()=>import("./chunk-2L6NZAXB.js").then(t=>t.SystemModule)},{path:"initiative",canActivate:[_t,Me,ga],loadChildren:()=>import("./chunk-GTROAOPK.js").then(t=>t.InitiativesModule)},{path:"tickets",canActivate:[Qt,Me],loadChildren:()=>import("./chunk-IEX2Y2MC.js").then(t=>t.TicketsModule)},{path:"ticket-change",canActivate:[Qt,Me,Vm],data:{requiredModules:[Fm.SelfServiceTicketChanges]},loadChildren:()=>import("./chunk-NXA2XJBZ.js").then(t=>t.TicketChangeModule)},{path:"invitations",canActivate:[Qt,Me],loadChildren:()=>import("./chunk-7WTAFRDO.js").then(t=>t.InvitationsModule)},{path:"flexplan",canActivate:[Qt,Me],loadChildren:()=>import("./chunk-HQZVGVC4.js").then(t=>t.MatchdaypassModule)},{path:"",loadChildren:()=>import("./chunk-GD4HGIG3.js").then(t=>t.SpecialModule),canActivate:[Qt,Me]}]},{path:":prefix/:slug",component:pu,canActivate:[_t,at,Me]},{path:":prefix/:slug/:channel",component:pu,canActivate:[_t,at,Me]},{path:"**",redirectTo:"system/404"}];var D_=(function(t){return t.FAVICON_DEFAULT="faviconDefault",t})(D_||{});var Gf=(()=>{let e=class e{constructor(n,i,o,a,s,c){this.http=n,this.confirmService=i,this.logger=o,this.router=a,this.dataHelper=s,this.authService=c,this.currentHash="{{POST_BUILD_ENTERS_HASH_HERE}}",this.interval=null,this.versionNotifyCountKey="key_versionNotifyCountKey",this.maxNotifyCount=2}initVersionCheck(n,i=1e3*60*30){this.checkVersion(n,!0),this.interval=setInterval(()=>{this.checkVersion(n,!0)},i)}checkVersion(n,i){this.logger.log("checking version");let o=n+"?t="+new Date().getTime();this.logger.log(o),this.authService.isLoggedIn().subscribe(a=>{let s=a,c=this.dataHelper.getAllowAnonymousHeaders(s);this.http.get(o,{headers:c}).subscribe(u=>{let l=u.hash;this.hasHashChanged(this.currentHash,l)?(this.logger.log("Running version is outdated"),this.handleUpdate(i)):(sessionStorage.setItem(this.versionNotifyCountKey,"0"),this.logger.log("Running version is up-to-date.")),this.currentHash=l},u=>{console.dir(u),this.logger.error(u,"Could not get version")})})}handleUpdate(n){this.interval!==null&&clearInterval(this.interval);let i=parseInt(sessionStorage.getItem(this.versionNotifyCountKey),10);i=isNaN(i)?0:i,i<this.maxNotifyCount&&(sessionStorage.setItem(this.versionNotifyCountKey,`${++i}`),this.logger.log(`Notified the user ${i} times`),n?this.confirmService.confirm({message:"ERRORS.UPDATE-REQUIRED",okonly:!0}).subscribe(o=>{window.location.href=document.location.origin+"?t="+new Date().getTime()}):(location.reload(),window.location.href=document.location.origin+"?t="+new Date().getTime()))}hasHashChanged(n,i){return!n||n==="{{POST_BUILD_ENTERS_HASH_HERE}}"?!1:n!==i}};e.\u0275fac=function(i){return new(i||e)(We(io),We(_f),We(uo),We(Ot),We(
4RS),We(Mr))},e.\u0275prov=St({token:e,factory:e.\u0275fac});let t=e;return t})();var VT=(()=>{let e=class e{constructor(n,i,o,a,s){this.http=n,this.pushNotificationApiService=i,this.authService=o,this.pollingIntervalMs=3e4,this.notifications$=new Bg(null),this.basePath="http://localhost",typeof a?.basePath=="string"?this.basePath=a.basePath:Array.isArray(s)&&s.length>0?this.basePath=s[0]:typeof s=="string"&&(this.basePath=s)}getActiveNotification(){return this.notifications$.asObservable()}startPolling(){this.authService.getActiveSalesChannelId().subscribe(n=>{Wg(0,this.pollingIntervalMs).pipe(nf(()=>this.fetchActive(n)),Qg((i,o)=>JSON.stringify(i)===JSON.stringify(o)),ma(()=>pa(null))).subscribe(i=>{this.notifications$.next(i)})})}fetchActive(n){return this.pushNotificationApiService.getActivePushNotification(n).pipe(ma(()=>pa(null)))}};e.\u0275fac=function(i){return new(i||e)(We(io),We(WE),We(Mr),We(pf,8),We(LE,8))},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function lA(t,e){if(t&1){let r=Ti();ie(0,"div",0)(1,"app-error-banner",1),yi("dismissed",function(){Ei(r);let i=Pe();return Si(i.dismissPushNotification())}),oe()()}if(t&2){let r=Pe();de(),mt("title",r.pushNotification.Title)("message",r.pushNotification.Message)("icon","fas fa-bell")("dismissible",!0)}}var BT=(()=>{let e=class e{constructor(n,i,o,a,s,c,u,l,f,v,d,p,m,_,h,N,L){this.document=n,this.config=i,this.title=o,this.meta=a,this.router=s,this.translate=c,this.versionCheckService=u,this.queuePingService=l,this.logger=f,this.ccService=v,this.authService=d,this.accountService=p,this.renderer=m,this.gtmService=_,this.snackBar=h,this.configService=N,this.pushNotificationService=L,this.indexableRoutes=["/","/dashboard"],this.CustomFavicon=D_,this.appTitle="",this.pageTitle="",this.menu=null,this.pushNotification=null,this.closedNotificationIds=new Set,s.events.pipe(rf(F=>F instanceof iu)).subscribe(F=>{window.scrollTo(0,0),i.enableQueueIt&&checkQueueIt(this.router)}),s.events.pipe(rf(F=>F instanceof iu)).subscribe(F=>{i.enableQueueItKnownUser&&sessionStorage.getItem("jwt")&&this.accountService.getQueueValidation(encodeURIComponent(window.location.href),!1).subscribe(M=>{M&&(M.Url?window.location.href=M.Url:M.Jwt&&sessionStorage.setItem("jwt",M.Jwt))})}),this.initializeRobotsMetaTag()}ngOnInit(){this.initializeScripts(),this.initializeShop();let n=sessionStorage.getItem("user_selected_language")??this.config.defaultLanguage;this.router.events.forEach(o=>{o instanceof iu&&this.authService.getActiveSalesChannel().subscribe(a=>{this.gtmService.pageView(o.url,a.Name,this.config.applicationTitle,n)})}),this.ccService.hasConsented()?this.gtmService.consent("allow"):this.gtmService.consent("denied");let i=this.authService.getNotification();i&&(this.showNotification(i),this.authService.clearNotification()),this.pushNotificationService.startPolling(),this.pushNotificationService.getActiveNotification().subscribe(o=>{this.pushNotification=o})}onScriptLoad(){}initializeScripts(){let n=this.gtagIdAvailable(),i=this.gtagUrlAvailable(),o=this.document.createElement("script");o.innerHTML=`
5    (function(w,d,s,l,i) {w[l]=w[l]||[];w[l].push({'gtm.start':
6      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
7      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
8      'https://${i}/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
9      })(window,document,'script','dataLayer','${n}');`,document.head.appendChild(o);let a=this.document.createElement("noscript");a.innerHTML=`<iframe src='https://${i}/ns.html?id=${n}'
10      height="0" width="0" style="display:none;visibility:hidden"></iframe>`,document.body.appendChild(a);let s=this.config.headScripts;if(s!=null&&s.length>0)for(let l=0;l<s.length;l++){let f=s[l],v=document.createElement("script");if(v.setAttribute("type",f.Type),v.setAttribute("src",f.Src),f.Attributes!=null&&f.Attributes.length>0)for(let d=0;d<f.Attributes.length;d++)v.setAttribute(f.Attributes[d].Name,f.Attributes[d].Value);document.head.appendChild(v)}let c=document.createElement("link");c.id="favicon",c.rel="icon",c.type="image/png",c.setAttribute("sizes","32x32"),document.head.appendChild(c);let u=this.config.bodyScripts;if(u!=null&&u.length>0)for(let l=0;l<u.length;l++){let f=u[l],v=document.createElement("script");
10if(v.setAttribute("id",f.Id),v.setAttribute("src",f.Src),f.Attributes!=null&&f.Attributes.length>0)for(let d=0;d<f.Attributes.length;d++)v.setAttribute(f.Attributes[d].Name,f.Attributes[d].Value);document.body.appendChild(v)}this.initializeSEOMetaTags()}initializeShop(){this.initializeQueueActivityPing();let n=+this.config.versionCheckInterval;n>0?(this.logger.log("Running version checked."),this.versionCheckService.initVersionCheck(document.location.origin+"/version.json",n*1e3)):this.logger.log("Update checking has been disabled.");let i=sessionStorage.getItem("user_selected_language");i===null&&(i=this.config.defaultLanguage,sessionStorage.setItem("defaultLanguage",this.config.defaultLanguage)),this.translate.use(i),this.title.setTitle(this.config.applicationTitle),this.loadStylesheet(this.config.themeCSS,this.config.fallbackThemeCSS),this.loadFavicon(),this.config.DisableCookieBanner||this.initCookieConsent(),this.router.events.subscribe(o=>{o instanceof TE&&Bm.find(a=>a.path==this.router.url.substring(1))!=null&&Bm.find(a=>a.path==o.url.substring(1))==null&&this.updateHeroStyle()})}loadStylesheet(n,i){let o=this.document.getElementsByTagName("head")[0],a=this.document.getElementById("client-theme");if(a)a.href=n,a.onerror=()=>{a.href=i,a.onerror=null};else{let s=this.document.createElement("link");s.id="client-theme",s.rel="stylesheet",s.href=`${n}`,s.onerror=()=>{s.href=i,s.onerror=null},o.appendChild(s)}}loadFavicon(){if(this.config.favicon){let n=this.document.querySelector('link[rel="icon"');n.href=this.config.favicon}}initializeQueueActivityPing(){this.config.shopGuardEnabled===!0&&this.queuePingService.start()}initCookieConsent(){this.translate.get(["COOKIE.POLICY","COOKIE.MESSAGE","COOKIE.DISMISS","COOKIE.ALLOW","COOKIE.DENY","COOKIE.LINK","COOKIE.POLICY","COOKIE.LINKURL"]).subscribe(n=>{this.ccService.getConfig().content=this.ccService.getConfig().content||{},this.ccService.getConfig().content.header=n["COOKIE.HEADER"],this.ccService.getConfig().content.message=n["COOKIE.MESSAGE"],this.ccService.getConfig().content.dismiss=n["COOKIE.DISMISS"],this.ccService.getConfig().content.allow=n["COOKIE.ALLOW"],this.ccService.getConfig().content.deny=n["COOKIE.DENY"],this.ccService.getConfig().content.link=n["COOKIE.LINK"],this.ccService.getConfig().content.policy=n["COOKIE.POLICY"],this.ccService.getConfig().content.href=n["COOKIE.LINKURL"],this.ccService.destroy(),this.ccService.getConfig().autoOpen=!0,this.ccService.init(this.ccService.getConfig()),this.popupOpenSubscription=this.ccService.popupOpen$.subscribe(),this.popupCloseSubscription=this.ccService.popupClose$.subscribe(),this.initializeSubscription=this.ccService.initializing$.subscribe(),this.statusChangeSubscription=this.ccService.statusChange$.subscribe(i=>this.gtmService.consent(i.status)),this.revokeChoiceSubscription=this.ccService.revokeChoice$.subscribe(),this.noCookieLawSubscription=this.ccService.noCookieLaw$.subscribe()})}updateHeroStyle(){let n=sessionStorage.getItem("ai_style");n!==null&&(this.styleObj=JSON.parse(n),this.heroImageUrl=this.styleObj.HeroImageUrl+"/2100/900"),this.setHeroStyle()}setHeroStyle(){this.styleObj&&this.styleObj.BackgroundHexColorCode!==null?(document.body.style.setProperty("--color-hero-gradient-one",this.styleObj.BackgroundHexColorCode+"66"),document.body.style.setProperty("--color-hero-gradient-two",this.styleObj.BackgroundHexColorCode+"FF")):(document.body.style.removeProperty("--color-hero-gradient-one"),document.body.style.removeProperty("--color-hero-gradient-two"));let n=document.getElementsByClassName("header_bg");n.length>0&&(this.heroImageUrl!=null?n[0].style.setProperty("--header-container-bg",`url('${this.heroImageUrl}')`):n[0].style.removeProperty("--header-hero-bg"))}gtagIdAvailable(){return this.config.googleTagManagerId?this.config.googleTagManagerId:"GTM-WC9BP6H"}gtagUrlAvailable(){return this.config.googleTagManagerUrl?this.config.googleTagManagerUrl:"www.googletagmanager.com"}dismissPushNotification(){this.pushNotification?.Id&&this.closedNotificationIds.add(this.pushNotification.Id)}isNotificationClosed(){return this.pushNotification?.Id!=null&&this.closedNotificationIds.has(this.pushNotification.Id)}showNotification(n){n=="salesChannelSwitch"&&this.authService.getActiveSalesChannel().subscribe(i=>{let o="SHOP.LOCATION.MESSAGE",a=i.TicketshopHeaderLinkText;this.translate.get([o,a]).subscribe(s=>{let c=s[o]+" "+s[a];this.snackBar.open(c,"close",{duration:5e3,panelClass:["tenantswitch-snackbar"]})})})}initializeSEOMetaTags(){this.configService.getTenantShopSEOConfig(!1).subscribe(n=>{n&&(n.Title&&(this.title.setTitle(n.Title),this.meta.updateTag({property:"og:title",content:n.Title})),n.Description&&(this.meta.updateTag({name:"description",content:n.Description}),this.meta.updateTag({property:"og:description",content:n.Description})),n.ImageUrl&&this.meta.updateTag({property:"og:image",content:n.ImageUrl}))})}initializeRobotsMetaTag(){this.updateRobotsMetaTag(this.router.url),this.router.events.pipe(rf(n=>n instanceof iu)).subscribe(n=>{this.updateRobotsMetaTag(n.urlAfterRedirects||n.url)})}updateRobotsMetaTag(n){let i=n.split("?")[0];this.indexableRoutes.includes(i)?this.meta.removeTag("name='robots'"):this.meta.updateTag({name:"robots",content:"noindex, nofollow"})}};e.\u0275fac=function(i){return new(i||e)(ve(af),ve(wn),ve(SE),ve(EE),ve(Ot),ve(oo),ve(Gf),ve(gf),ve(uo),ve(nS),ve(Mr),ve(YE),ve(oE),ve(lo),ve(NS),ve(FE),ve(VT))},e.\u0275cmp=$t({type:e,selectors:[["app-root"]],standalone:!1,decls:2,vars:1,consts:[[1,"notification-banner-container","pt-0"],["variant","warning",3,"dismissed","title","message","icon","dismissible"]],template:function(i,o){i&1&&(rt(0,lA,2,4,"div",0),_e(1,"router-outlet")),i&2&&nt(o.pushNotification!==null&&!o.isNotificationClosed()?0:-1)},dependencies:[vS,yE],styles:[".notification-banner-container[_ngcontent-%COMP%]{position:relative;top:var(--header-height-total, 80px);left:50%;transform:translate(-50%);width:100%;max-width:1240px;z-index:119999;display:flex;flex-direction:column;gap:8px;padding:8px 16px;background:transparent}"]});let t=e;return t})();var jT=(()=>{let e=class e{constructor(n,i,o){this.router=n,this.logging=i,this.authService=o}storeState(n){var i=n.headers.get("state");i!==null&&sessionStorage.setItem("state",i)}intercept(n,i){let o=!0,a="/account/login",s="/account/sso-logoff",c="/dashboard",u="Bearer "+sessionStorage.getItem("jwt"),l=n.clone({headers:n.headers.set("Authorization",u)});return i.handle(l).pipe(of(f=>{f.type!==0&&this.storeState(f)}),ma(f=>((f.status===401||f.status===500&&n?.url?.indexOf("v2/Account/current")>-1)&&(sessionStorage.removeItem("storedSSOToken"),sessionStorage.removeItem("userData"),sessionStorage.removeItem("jwt"),this.authService.getAnonymousToken().subscribe(v=>{n?.url?.indexOf("v2/Account/login-sso-token")>-1?this.router.navigate([s]):this.router.navigate([a])})),tf(f))))}};e.\u0275fac=function(i){return new(i||e)(We(Ot),We(uo),We(Mr))},e.\u0275prov=St({token:e,factory:e.\u0275fac});let t=e;return t})();var fA=/Loading chunk \d+ failed/,zT=(()=>{let e=class e{constructor(n,i,o){this.injector=n,this.logger=i,this.ngZone=o}isUuid(n){return new RegExp(/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i).test(n)}handleError(n){throw this.logger.log("---[ ERROR ]---"),this.logger.error(!1,n),n instanceof Error&&fA.test(n.message)&&location.reload(),n;if(n!=null){sessionStorage.removeItem("apiError");let i,o=null;n instanceof tS?{errorDetails:i,navigateTo:o}=this.handleHttpError(n):{errorDetails:i,navigateTo:o}=this.handleGenericError(n),this.logger.log(i);let a=this.injector.get(bS);this.ngZone.run(()=>{let s=()=>{};if(o!==null){let c=this.injector.get(Ot);s=()=>{c.navigateByUrl(o)}}a.showErrorDialog(i,s)})}}handleGenericError(n){let i=this.injector.get(cE);return{errorDetails:{name:n.name||null,time:new Date().getTime(),url:i instanceof uE?i.path():"",message:"Er is iets fout gegaan",retry:!0},navigateTo:null}}handleHttpError(n){let i={},o=null;if(i.time=new Date().getTime(),!navigator.onLine)i.name="No Connection",i.message="Er is geen verbinding met het internet",i.retry=!0;
10else if(i.name="HttpError",i.message="Er is iets fout gegaan op de server",i.retry=!0,n.originalError){switch(i.status=n.originalError.status,n.originalError.error!==null&&(i.code=this.isUuid(n.originalError.error.Message)?n.originalError.error.Message:null),n.originalError.status){case 400:break;case 401:{i.message="Niet toegestaan, probeer in te loggen",i.retry=!1,o="/account/login";break}case 403:{i.message="Niet toegestaan, onvoldoende rechten",i.retry=!1;break}case 404:{i.message="Kon het opgevraagde niet vinden",i.retry=!1;break}case 408:{i.message="De server deed te lang over het antwoorden.";break}case 500:break;case 504:{i.message="De server deed te lang over het antwoorden.";break}default:break}n.originalError.error!==null&&sessionStorage.setItem("apiError",n.originalError.error.Message)}return{errorDetails:i,navigateTo:o}}};e.\u0275fac=function(i){return new(i||e)(We(tE),We(uo),We(sf))},e.\u0275prov=St({token:e,factory:e.\u0275fac});let t=e;return t})();var dA=["custom-toast-component",""];function pA(t,e){if(t&1&&(ie(0,"div"),Ye(1),oe()),t&2){let r=Pe();uf(r.options.titleClass),Am("aria-label",r.title),de(),hn(" ",r.title," ")}}function mA(t,e){if(t&1&&_e(0,"div",7),t&2){let r=Pe();uf(r.options.messageClass),mt("innerHTML",r.message,nE)}}function _A(t,e){if(t&1&&(ie(0,"div",8),Ye(1),oe()),t&2){let r=Pe();uf(r.options.messageClass),Am("aria-label",r.message),de(),hn(" ",r.message," ")}}function vA(t,e){if(t&1){let r=Ti();ie(0,"a",9),yi("click",function(i){Ei(r);let o=Pe();return Si(o.action(i))}),Ye(1),oe()}if(t&2){let r=Pe();de(),hn(" ",r.undoString," ")}}function hA(t,e){if(t&1){let r=Ti();ie(0,"a",9),yi("click",function(){Ei(r);let i=Pe();return Si(i.remove())}),Ye(1," X "),oe()}}function gA(t,e){if(t&1&&(ie(0,"div"),_e(1,"div",10),oe()),t&2){let r=Pe();de(),Pm("width",r.width()+"%")}}var KT=(()=>{let e=class e extends AS{constructor(n,i){super(n,i),this.toastrService=n,this.toastPackage=i,this.undoString="undo"}action(n){return n.stopPropagation(),this.undoString="undid",this.toastPackage.triggerAction(),!1}};e.\u0275fac=function(i){return new(i||e)(ve(IS),ve(DS))},e.\u0275cmp=$t({type:e,selectors:[["","custom-toast-component",""]],standalone:!1,features:[aE],attrs:dA,decls:9,vars:7,consts:[[1,"row"],[1,"col-9"],[3,"class"],["role","alert","aria-live","polite","data-testid","toast-message",3,"class","innerHTML"],["role","alert","aria-live","polite","data-testid","toast-message",3,"class"],[1,"col-3","text-right"],[1,""],["role","alert","aria-live","polite","data-testid","toast-message",3,"innerHTML"],["role","alert","aria-live","polite","data-testid","toast-message"],[1,"",3,"click"],[1,"toast-progress"]],template:function(i,o){i&1&&(ie(0,"div",0)(1,"div",1),rt(2,pA,2,4,"div",2),rt(3,mA,1,3,"div",3),rt(4,_A,2,4,"div",4),oe(),ie(5,"div",5),rt(6,vA,2,1,"a",6)(7,hA,2,0,"a",6),oe()(),rt(8,gA,2,2,"div")),i&2&&(Pm("display",o.state().value==="inactive"?"none":""),de(2),nt(o.title?2:-1),de(),nt(o.message&&o.options.enableHtml?3:-1),de(),nt(o.message&&!o.options.enableHtml?4:-1),de(2),nt(o.options.closeButton?7:6),de(2),nt(o.options.progressBar?8:-1))},styles:["[_nghost-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:10px;width:500px;border-radius:3px;color:#fff;pointer-events:all;cursor:pointer}.btn-pink[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0)}"],data:{animation:[CE("flyInOut",[IE("inactive",On({opacity:0})),Lm("inactive => active",wm("400ms ease-out",Mm([On({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}
10),On({transform:"skewX(20deg)",opacity:1}),On({transform:"skewX(-5deg)",opacity:1}),On({transform:"none",opacity:1})]))),Lm("active => removed",wm("400ms ease-out",Mm([On({opacity:1}),On({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let t=e;return t})();function EA(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var WT=["nl",[["a.m.","p.m."]],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,"{1} 'om' {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00;\xA4\xA0-#,##0.00","#E0"],"EUR","\u20AC","Euro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],SBD:["SI$","$"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",EA];var qT=(()=>{let e=class e{static forRoot(){return{ngModule:e,providers:[JE]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Jn({type:e}),e.\u0275inj=Qn({});let t=e;return t})();var XT=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Jn({type:e}),e.\u0275inj=Qn({providers:[ao,Ds],imports:[dE]});let t=e;return t})();var A_=(()=>{let e=class e{constructor(n){this.ssoHelper=n}checkSsoToken(){return new Promise(n=>{let i=window.location.pathname;i.indexOf("/sso-login")<0&&i.indexOf("/sso-account-connect")<0&&i.indexOf("/sso-token")<0&&this.ssoHelper.handlePotentialModifiedCookie(),n()})}};e.\u0275fac=function(i){return new(i||e)(We(mf))},e.\u0275prov=St({token:e,factory:e.\u0275fac});let t=e;return t})();function SA(t){return()=>t.checkSsoToken()}var $T=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Jn({type:e}),e.\u0275inj=Qn({providers:[A_,Ds,io,{provide:cf,useFactory:SA,deps:[A_],multi:!0}]});let t=e;return t})();var Hf=class{constructor(e){this.http=e}getTranslation(e){var r=sessionStorage.getItem("endpoint");return this.http.get(`${r}/V2/language/translations/${e}`,{headers:{"no-auth":"true"}})}};function QT(){let t={basePath:sessionStorage.getItem("endpoint")};return new pf(t)}var JT=(()=>{let e=class e{constructor(n){this.languageService=n,this.languages=null}getLanguages(){return this.languages||(this.languages=this.languageService.getLanguages(!1).pipe(Jg(1),Vg()).pipe(zg(n=>n))),this.languages}};e.\u0275fac=function(i){return new(i||e)(We(HE))},e.\u0275prov=St({token:e,factory:e.\u0275fac});let t=e;return t})();var ZT=(()=>{let e=class e{constructor(n,i){this.router=n,this.config=i,this.disableShopRateLimitBan=!1,this.disableShopRateLimitBan=i.DisableShopRateLimitBan??!1}intercept(n,i){return i.handle(n).pipe(of(()=>{},o=>{if(o instanceof vE){if(o.status===429&&!this.disableShopRateLimitBan){window.location.href="/blocked.html";return}o.status===503&&o.error.Message=="maintenance"&&(window.location.href="/maintenance.html");return}}))}};e.\u0275fac=function(i){return new(i||e)(We(Ot),We(wn))},e.\u0275prov=St({token:e,factory:e.\u0275fac});let t=e;return t})();function Fr(t,e){return t||e}function ht(t,e){return t[e]}var pr=void 0,wt=null,V_="",$f="function",_u="object",Di="prototype",zf="__proto__",Na="undefined",Kf="constructor",B_="Symbol",Fs="length",Wf="name",ar="call",vu="toString",j_="getOwnPropertyDescriptor";var Tr=Fr(Object),z_=ht(Tr,Di),sy=Fr(String),Da=ht(sy,Di),hu=Fr(Math),cy=Fr(Array),Qf=ht(cy,Di),Ii=ht(Qf,"slice");var ey="_polyfill",ty="__nw21$polytype__";function ft(t,e){try{return{v:t.apply(this,e)}}catch(r){return{e:r}}}function TA(t,e,r){var n=ft(t,r);return n.e?e:n.v}var P_;function Jf(t){return function(e){return typeof e===t}}function uy(t){var e="[object "+t+"]";return function(r){return!!(r&&Zf(r)===e)}}function Zf(t){return z_[vu].call(t)}function Ge(t){return typeof t===Na||t===Na}function yA(t){return t===pr}function B(t){return t===wt||Ge(t)}function K_(t){return t===wt||t===pr}function ly(t){return!!t||t!==pr}function NA(t){return!P_&&(P_=["string","number","boolean",Na,"symbol","bigint"]),t!==_u&&P_.indexOf(t)!==-1}var fe=Jf("string"),le=Jf($f);function It(t){return!t&&B(t)?!1:!!t&&typeof t===_u}var Se=ht(cy,"isArray"),fy=uy("Date"),Yn=Jf("number"),gu=Jf("boolean");var Ia=uy("Error");function Qr(t){return!!(t&&t.then&&le(t.then))}function mo(t){return!(!t||TA(function(){return!(t&&0+t)},!t))}function W_(){}function CA(){return!1}var Dt=Fr(sy),DA="[object Error]";function ne(t,e){var r=V_,n=z_[vu][ar](t);n===DA&&(t={stack:Dt(t.stack),message:Dt(t.message),name:Dt(t.name)});try{r=JSON.stringify(t,wt,e?typeof e=="number"?e:4:pr),r=(r?r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):wt)||Dt(t)}catch(i){r=" - "+ne(i,e)}return n+": "+r}function Jt(t){throw new Error(t)}function yr(t){throw new TypeError(t)}
10function ed(t){K_(t)&&yr("Cannot convert undefined or null to object")}function IA(t){fe(t)||yr("'"+ne(t)+"' is not a string")}function mr(t,e){return!!t&&z_.hasOwnProperty[ar](t,e)}var AA=Fr(ht(Tr,j_),W_),Fn=Fr(ht(Tr,"hasOwn"),PA);function PA(t,e){return ed(t),mr(t,e)||!!AA(t,e)}function Te(t,e,r){if(t&&(It(t)||le(t))){for(var n in t)if(Fn(t,n)&&e[ar](r||t,n,t[n])===-1)break}}function ee(t,e,r){if(t)for(var n=t[Fs]>>>0,i=0;i<n&&!(i in t&&e[ar](r||t,t[i],i,t)===-1);i++);}var Aa=td;function td(t,e,r){var n=e?e[t]:wt;return function(i){var o=(i?i[t]:wt)||n;if(o||r){var a=arguments;return(o||r).apply(i,o?Ii[ar](a,1):a)}yr('"'+Dt(t)+'" not defined for '+ne(i))}}function xA(t){return function(e){return e[t]}}var RA=Fr(ht(Tr,j_),W_);var Vf={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function bA(t){var e={};if(e[Vf.c]=!0,e[Vf.e]=!0,t.l){e.get=function(){return t.l.v};var r=RA(t.l,"v");r&&r.set&&(e.set=function(n){t.l.v=n})}return Te(t,function(n,i){e[Vf[n]]=yA(i)?e[Vf[n]]:i}),e}var $r=ht(Tr,"defineProperty"),q_=ht(Tr,"defineProperties");function xe(t,e,r){return $r(t,e,bA(r))}function dy(t,e,r,n,i){var o={};return Te(t,function(a,s){qf(o,a,e?s:a),qf(o,s,r?s:a)}),n?n(o):o}function qf(t,e,r,n){$r(t,e,{value:r,enumerable:!0,writable:!1})}var OA=Fr(ht(Tr,"isFrozen"),CA);var py=ht(Tr,"freeze");function wA(t){return t}function MA(t){return ed(t),t[zf]||wt}var ks=ht(Tr,"assign"),_r=ht(Tr,"keys");function my(t,e){if((Se(t)||It(t)||le(t))&&!OA(t)){for(var r=0;r<e.length;r++)if(e[r]===t)return t;e.push(t),Te(t,function(n,i){my(i,e)}),vr(t)}return t}function En(t){return py?my(t,[]):t}var vr=Fr(py,wA);var H_=Fr(ht(Tr,"getPrototypeOf"),MA);function _y(t){return dy(t,1,0,vr)}function LA(t){return dy(t,0,0,vr)}function YA(t){var e={};return Te(t,function(r,n){qf(e,r,n[1]),qf(e,n[0],n[1])}),vr(e)}function vy(t){return YA(t)}var hy=LA({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),ry="__tsUtils$gblCfg",x_;function gy(){var t;return typeof globalThis!==Na&&(t=globalThis),!t&&typeof self!==Na&&(t=self),!t&&typeof window!==Na&&(t=window),!t&&typeof global!==Na&&(t=global),t}function rd(){if(!x_){var t=ft(gy).v||{};x_=t[ry]=t[ry]||{}}return x_}var nd=ht(hu,"min"),Pa=ht(hu,"max"),ny=Aa("slice",Da),Zt=Aa("substring",Da),Un=td("substr",Da,FA);function FA(t,e,r){return ed(t),r<0?V_:(e=e||0,e<0&&(e=Pa(e+t[Fs],0)),Ge(r)?ny(t,e):ny(t,e,e+r))}function Gs(t,e){return Zt(t,0,e)}function UA(t,e){return t&&(ft(function(){t[ey]=!0,t[ty]=e}),ft(xe,[t,ey,{v:!0,w:!1,e:!1}]),ft(xe,[t,ty,{v:e,w:!1,e:!1}])),t}var kn=Fr(ht(Tr,"create"),kA);function kA(t,e){var r=null;function n(){}if(K_(t))r={};else{var i=typeof t;i!==_u&&i!==$f&&yr("Prototype must be an Object or function: "+ne(t)),n[Di]=t,ft(function(){n[zf]=t}),r=new n}return e&&ft(q_,[r,e]),r}function Lt(){return(Date.now||GA)()}function GA(){return new Date().getTime()}function Ca(t,e,r){return t.apply(e,r)}var Mt;function _o(){Mt=rd()}function X_(t,e){var r={};return!Mt&&_o(),r.b=Mt.lzy,$r(r,"v",{configurable:!0,get:function(){var n=Ca(t,null,e);return Mt.lzy||$r(r,"v",{value:n}),r.b=Mt.lzy,n}}),r}var HA=ht(hu,"random"),VA=X_(function(){for(var t=Lt().toString(36).slice(2);t.length<16;)t+=HA().toString(36).slice(2);return t=t.substring(0,16),t}),iy="_urid",BA="$nw21sym",R_,jA=0;function zA(){if(!R_){var t=rd();R_=t.gblSym=t.gblSym||{k:{},s:{}}}return R_}var Bf;function $_(t){var e="_"+jA+++"_"+VA.v,r=B_+"("+t+")";function n(o,a){xe(i,o,{v:a,e:!1,w:!1})}var i=kn(null);return n("description",Dt(t)),n(vu,function(){return r+BA+e}),n("valueOf",function(){return i}),n("v",r),n("_uid",e),UA(i,"symbol")}function KA(t){var e=zA();if(!Fn(e.k,t)){var r=$_(t),n=_r(e.s).length;r[iy]=function(){return n+"_"+r[vu]()},e.k[t]=r,e.s[r[iy]()]=Dt(t)}return e.k[t]}function WA(t){!Bf&&(Bf={});var e,r=hy[t];return r&&(e=Bf[r]=Bf[r]||$_(B_+"."+r)),e}function Jr(t){return $r({toJSON:function(){return t}},"v",{value:t})}var Ey="window",mu;function Hs(t,e){var r;return function(){return!Mt&&_o(),(!r||Mt.lzy)&&(r=Jr(ft(t,e).v)),r.v}}function At(t){return!Mt&&_o(),(!mu||t===!1||Mt.lzy)&&(mu=Jr(ft(gy).v||wt)),mu.v}function $e(t,e){var r;if(!mu||e===!1?r=At(e):r=mu.v,r&&r[t])return r[t];if(t===Ey)try{return window}
10catch{}return wt}function Eu(){return!!ct()}var ct=Hs($e,["document"]);function vo(){return!!Yt()}var Yt=Hs($e,[Ey]);function Q_(){return!!sr()}var sr=Hs($e,["navigator"]);function J_(){return!!id()}var id=Hs($e,["history"]),Sy=Hs(function(){return!!ft(function(){return process&&(process.versions||{}).node}).v}),od=Hs(function(){return!!ft(function(){return self&&self instanceof WorkerGlobalScope}).v}),Us,b_;function ad(){return Us=Jr(ft($e,[B_]).v),Us}function qA(t){var e=(Mt.lzy?0:Us)||ad();return e.v?e.v[t]:pr}function Ty(){return!!XA()}function XA(){return!Mt&&_o(),((Mt.lzy?0:Us)||ad()).v}function Su(t,e){var r=hy[t];!Mt&&_o();var n=(Mt.lzy?0:Us)||ad();return n.v?n.v[r||t]:e?pr:WA(t)}function Vs(t,e){!Mt&&_o();var r=(Mt.lzy?0:Us)||ad();return r.v?r.v(t):e?wt:$_(t)}function sd(t){return!Mt&&_o(),b_=(Mt.lzy?0:b_)||Jr(ft(qA,["for"]).v),(b_.v||KA)(t)}function Xf(t){return!!t&&le(t.next)}function Z_(t){return!K_(t)&&le(t[Su(3)])}var jf;function cd(t,e,r){if(t&&(Xf(t)||(!jf&&(jf=Jr(Su(3))),t=t[jf.v]?t[jf.v]():wt),Xf(t))){var n=pr,i=pr;try{for(var o=0;!(i=t.next()).done&&e[ar](r||t,i.value,o,t)!==-1;)o++}catch(a){n={e:a},t.throw&&(i=wt,t.throw(n))}finally{try{i&&!i.done&&t.return&&t.return(i)}finally{if(n)throw n.e}}}}function Ai(t,e){return!Ge(e)&&t&&(Se(e)?Ca(t.push,t,e):Xf(e)||Z_(e)?cd(e,function(r){t.push(r)}):t.push(e)),t}var st=Aa("indexOf",Qf);var xa=Aa("map",Qf);function Bs(t,e,r){return((t?t.slice:wt)||Ii).apply(t,Ii[ar](arguments,1))}var ev=Aa("reduce",Qf);var O_,yy=Fr(ht(Tr,"setPrototypeOf"),$A);function $A(t,e){var r;return!O_&&(O_=Jr((r={},r[zf]=[],r instanceof Array))),O_.v?t[zf]=e:Te(e,function(n,i){return t[n]=i}),t}function QA(t,e,r){ft(xe,[e,Wf,{v:t,c:!0,e:!1}]),e=yy(e,r);function n(){this[Kf]=e,ft(xe,[this,Wf,{v:t,c:!0,e:!1}])}return e[Di]=r===wt?kn(r):(n[Di]=r[Di],new n),e}function oy(t,e){e&&(t[Wf]=e)}function ud(t,e,r){var n=r||Error,i=n[Di][Wf],o=Error.captureStackTrace;return QA(t,function(){var a=this,s=arguments;try{ft(oy,[n,t]);var c=Ca(n,a,Ii[ar](s))||a;if(c!==a){var u=H_(a);u!==H_(c)&&yy(c,u)}return o&&o(c,a[Kf]),e&&e(c,s),c}finally{ft(oy,[n,i])}},n)}var w_;function Ny(t){throw w_||(w_=ud("UnsupportedError")),new w_(t)}function JA(t){return function(r){return ed(r),r&&r.replace&&(r=r.replace(t,V_)),r}}var ZA=JA(/^\s+|(?=\s)\s+$/g);var Ve=td("trim",Da,ZA);var er=ht(hu,"floor");var M_,L_,Y_;function Ft(t){if(!t||typeof t!==_u)return!1;Y_||(Y_=vo()?Yt():!0);var e=!1;if(t!==Y_){L_||(M_=Function[Di][vu],L_=M_[ar](Tr));try{var r=H_(t);e=!r,e||(mr(r,Kf)&&(r=r[Kf]),e=!!(r&&typeof r===$f&&M_[ar](r)===L_))}catch{}}return e}function eP(t){return t.value&&Dy(t),!0}var ay=[iP,Dy,aP,oP];function tP(t,e,r,n){var i;return ee(t,function(o){if(o.k===e)return i=o,-1}),i||(i={k:e,v:e},t.push(i),n(i)),i.v}function tv(t,e,r,n){var i=r.handler,o=r.path?n?r.path.concat(n):r.path:[],a={handler:r.handler,src:r.src,path:o},s=typeof e,c=!1,u=e===wt;u||(e&&s===_u?c=Ft(e):u=NA(s));var l={type:s,isPrim:u,isPlain:c,value:e,result:e,path:o,origin:r.src,copy:function(f,v){return tv(t,f,v?a:r,v)},copyTo:function(f,v){return Cy(t,f,v,a)}};return l.isPrim?i&&i[ar](r,l)?l.result:e:tP(t,e,o,function(f){xe(l,"result",{g:function(){return f.v},s:function(p){f.v=p}});for(var v=0,d=i;!(d||(v<ay.length?ay[v++]:eP))[ar](r,l);)d=wt})}function Cy(t,e,r,n){if(!B(r))for(var i in r)e[i]=tv(t,r[i],n,i);return e}function rP(t,e,r){var n={handler:r,src:e,path:[]};return Cy([],t,e,n)}function nP(t,e){var r={handler:e,src:t};return tv([],t,r)}function iP(t){var e=t.value;if(Se(e)){var r=t.result=[];return r.length=e.length,t.copyTo(r,e),!0}return!1}function oP(t){var e=t.value;return fy(e)?(t.result=new Date(e.getTime()),!0):!1}function aP(t){return t.type===$f}function Dy(t){var e=t.value;if(e&&t.isPlain){var r=t.result={};return t.copyTo(r,e),!0}return!1}function Iy(t,e){return ee(e,function(r){rP(t,r)}),t}function rv(t,e,r,n,i,o,a){return Iy(nP(t)||{},Ii[ar](arguments))}function Ay(t,e,r,n,i,o,a){return Iy(t||{},Ii[ar](arguments))}var nv=Aa("split",Da);function iv(t,e,r){if(t&&e){var n=nv(e,"."),i=n.pop();ee(n,function(o){B(t[o])&&(t[o]={}),t=t[o]}),t[i]=r}}var ov=xA(Fs);var F_;function Nr(){return!Mt&&_o(),(!F_||Mt.lzy)&&(F_=Jr(ft($e,["performance"]).v)),F_.v}var ld=ht(hu,"round");var Py=Fr(ht(Tr,j_),W_);var Tu=td("endsWith",Da,sP);function sP(t,e,r){IA(t);var n=fe(e)?e:Dt(e),i=!Ge(r)&&r<t[Fs]?r:t[Fs];return Zt(t,i-n[Fs],i)===n}var Ze=Aa("indexOf",Da);var U_="ref",k_="unref",G_="hasRef",cP="enabled";function uP(t,e,r){var n=!0,i=t?e(wt):wt,o;function a(){return n=!1,i&&i[k_]&&i[k_](),o}function s(){i&&r(i),i=wt}function c(){return i=e(i),n||a(),o}function u(l){!l&&i&&s(),l&&!i&&c()}return o={cancel:s,refresh:c},o[G_]=function(){return i&&i[G_]?i[G_]():n},o[U_]=function(){return n=!0,i&&i[U_]&&i[U_](),o},o[k_]=a,o=$r(o,cP,{get:function(){return!!i}
10,set:u}),{h:o,dn:function(){i=wt}}}var lP,fP;function dP(t){var e=le(t)?t:lP;if(!e){var r=rd().tmOut||[];Se(r)&&r.length>0&&le(r[0])&&(e=r[0])}return e||setTimeout}function pP(t){var e=le(t)?t:fP;if(!e){var r=rd().tmOut||[];Se(r)&&r.length>1&&le(r[1])&&(e=r[1])}return e||clearTimeout}function xy(t,e,r){var n=Se(e),i=n?e.length:0,o=dP(i>0?e[0]:n?pr:e),a=pP(i>1?e[1]:pr),s=r[0];r[0]=function(){c.dn(),Ca(s,pr,Ii[ar](arguments))};var c=uP(t,function(u){if(u){if(u.refresh)return u.refresh(),u;Ca(a,pr,[u])}return Ca(o,pr,r)},function(u){Ca(a,pr,[u])});return c.h}function Pt(t,e){return xy(!0,pr,Ii[ar](arguments))}function Ry(t,e){return xy(!1,pr,Ii[ar](arguments))}var fd;var _d="constructor",Pi="prototype",vd="function",hd="_dynInstFuncs",cv="_isDynProxy",js="_dynClass",mP="_dynCls$",uv="_dynInstChk",yu=uv,Ly="_dfOpts",by="_unknown_",dv="__proto__",dd="_dyn"+dv,Oy="__dynProto$Gbl",av="_dynInstProto",pd="useBaseInst",lv="setInstFuncs",pv=Object,Nu=pv.getPrototypeOf,wy=pv.getOwnPropertyNames,My=At(),fv=My[Oy]||(My[Oy]={o:(fd={},fd[lv]=!0,fd[pd]=!0,fd),n:1e3});function md(t){return t&&(t===pv[Pi]||t===Array[Pi])}function mv(t){return md(t)||t===Function[Pi]}function Ra(t){var e;if(t){if(Nu)return Nu(t);var r=t[dv]||t[Pi]||(t[_d]?t[_d][Pi]:null);e=t[dd]||r,mr(t,dd)||(delete t[av],e=t[dd]=t[av]||t[dd],t[av]=r)}return e}function gd(t,e){var r=[];if(wy)r=wy(t);else for(var n in t)typeof n=="string"&&mr(t,n)&&r.push(n);if(r&&r.length>0)for(var i=0;i<r.length;i++)e(r[i])}function _v(t,e,r){return e!==_d&&typeof t[e]===vd&&(r||mr(t,e))&&e!==dv&&e!==Pi}function Ed(t){yr("DynamicProto: "+t)}function _P(t){var e=kn(null);return gd(t,function(r){!e[r]&&_v(t,r,!1)&&(e[r]=t[r])}),e}function vv(t,e){for(var r=t.length-1;r>=0;r--)if(t[r]===e)return!0;return!1}function vP(t,e,r,n){function i(c,u,l){var f=u[l];if(f[cv]&&n){var v=c[hd]||{};v[yu]!==!1&&(f=(v[u[js]]||{})[l]||f)}return function(){return f.apply(c,arguments)}}var o=kn(null);gd(r,function(c){o[c]=i(e,r,c)});for(var a=Ra(t),s=[];a&&!mv(a)&&!vv(s,a);)gd(a,function(c){!o[c]&&_v(a,c,!Nu)&&(o[c]=i(e,a,c))}),s.push(a),a=Ra(a);return o}function hP(t,e,r,n){var i=null;if(t&&mr(r,js)){var o=t[hd]||kn(null);if(i=(o[r[js]]||kn(null))[e],i||Ed("Missing ["+e+"] "+vd),!i[uv]&&o[yu]!==!1){for(var a=!mr(t,e),s=Ra(t),c=[];a&&s&&!mv(s)&&!vv(c,s);){var u=s[e];if(u){a=u===n;break}c.push(s),s=Ra(s)}try{a&&(t[e]=i),i[uv]=1}catch{o[yu]=!1}}}return i}function gP(t,e,r){var n=e[t];return n===r&&(n=Ra(e)[t]),typeof n!==vd&&Ed("["+t+"] is not a "+vd),n}function EP(t,e,r,n,i){function o(c,u){var l=function(){var f=hP(this,u,c,l)||gP(u,c,l);return f.apply(this,arguments)};return l[cv]=1,l}if(!md(t)){var a=r[hd]=r[hd]||kn(null);if(!md(a)){var s=a[e]=a[e]||kn(null);a[yu]!==!1&&(a[yu]=!!i),md(s)||gd(r,function(c){_v(r,c,!1)&&r[c]!==n[c]&&(s[c]=r[c],delete r[c],(!mr(t,c)||t[c]&&!t[c][cv])&&(t[c]=o(t,c)))})}}}function SP(t,e){if(Nu){for(var r=[],n=Ra(e);n&&!mv(n)&&!vv(r,n);){if(n===t)return!0;r.push(n),n=Ra(n)}return!1}return!0}function sv(t,e){return mr(t,Pi)?t.name||e||by:((t||{})[_d]||{}).name||e||by}function Re(t,e,r,n){mr(t,Pi)||Ed("theClass is an invalid class definition.");var i=t[Pi];SP(i,e)||Ed("["+sv(t)+"] not in hierarchy of ["+sv(e)+"]");var o=null;mr(i,js)?o=i[js]:(o=mP+sv(t,"_")+"$"+fv.n,fv.n++,i[js]=o);var a=Re[Ly],s=!!a[pd];s&&n&&n[pd]!==void 0&&(s=!!n[pd]);var c=_P(e),u=vP(i,e,c,s);r(e,u);var l=!!Nu&&!!a[lv];l&&n&&(l=!!n[lv]),EP(i,o,e,c,l!==!1)}Re[Ly]=fv.o;var zs="function",Cu="object",ba="undefined",hr="prototype";var Ks=Object,hv=Ks[hr];var Qw=(At()||{}).Symbol,Jw=(At()||{}).Reflect;var Yy="hasOwnProperty",yP=function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)hv[Yy].call(e,i)&&(t[i]=e[i])}return t},xt=ks||yP,gv=function(t,e){return gv=Ks.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n[Yy](i)&&(r[i]=n[i])},gv(t,e)};function tr(t,e){typeof e!==zs&&e!==null&&yr("Class extends value "+String(e)+" is not a constructor or null"),gv(t,e);function r(){this.constructor=t}t[hr]=e===null?kn(e):(r[hr]=e[hr],new r)}function Sd(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t}var Oa=_y,Ev=vy;var Gn=Oa({NONE:0,PENDING:3,INACTIVE:1,ACTIVE:2});var Hn="toLowerCase",se="length",Ws="warnToConsole",xi="throwInternal",ei="watch",Sn="apply",Ne="push",Ur="splice",ut="logger",ti="cancel",Ri="initialize",ri="identifier",qs="removeNotificationListener",Xs="addNotificationListener",kr="isInitialized",Du="getNotifyMgr",ho="getPlugin",Zr="name",jt="processNext",Td="getProcessTelContext",bi="value",go="enabled",Sv="stopPollingInternalLogs",Tn="unload",Iu="onComplete",Au="version",yd="loggingLevelConsole",ni="createNew",en="teardown",$s="messageId",ii="message",Gr="diagLog",Eo="_doTeardown",wa="update",tn="getNext",So="setNextPlugin",Pu="userAgent",yn="split",Vn="replace",xu="substring",Ru="indexOf",Oi="type",Tv="evtName",Bn="status",yv="getAllResponseHeaders",bu="isChildEvt",rn="data",Ma="getCtx",jn="setCtx",Nv="itemsReceived",Ou="headers",Qs="urlString",La="timeout";var wu="traceFlags",Nd="getAttribute";var Cv;function Fy(t,e){Cv||(Cv=ud("AggregationError",function(n,i){i[se]>1&&(n.errors=i[1])}));var r=t||"One or more errors occurred.";throw ee(e,function(n,i){r+=`
11`.concat(i," > ").concat(ne(n))}),new Cv(r,e||[])}var Dd="Promise";var Ov="rejected";function Rt(t,e){return Id(t,function(r){return e?e({status:"fulfilled",rejected:!1,value:r}):r},function(r){return e?e({status:Ov,rejected:!0,reason:r}):r})}function Id(t,e,r,n){var i=t;
11try{if(Qr(t))(e||r)&&(i=t.then(e,r));else try{e&&(i=e(t))}catch(o){if(r)i=r(o);else throw o}}finally{n&&NP(i,n)}return i}function NP(t,e){var r=t;return e&&(Qr(t)?t.finally?r=t.finally(e):r=t.then(function(n){return e(),n},function(n){throw e(),n}):e()),r}var Dv,Iv,Av,Uy=!1;function CP(t,e,r,n){Dv=Dv||{toString:function(){return"[[PromiseState]]"}},Iv=Iv||{toString:function(){return"[[PromiseResult]]"}},Av=Av||{toString:function(){return"[[PromiseIsHandled]]"}};var i={};i[Dv]={get:e},i[Iv]={get:r},i[Av]={get:n},q_(t,i)}var Hy=["pending","resolving","resolved",Ov],ky="dispatchEvent",Cd;function DP(t){var e;return t&&t.createEvent&&(e=t.createEvent("Event")),!!e&&e.initEvent}function IP(t,e,r,n){var i=ct();!Cd&&(Cd=Jr(!!ft(DP,[i]).v));var o=Cd.v?i.createEvent("Event"):n?new Event(e):{};if(r&&r(o),Cd.v&&o.initEvent(e,!1,!0),o&&t[ky])t[ky](o);else{var a=t["on"+e];if(a)a(o);else{var s=$e("console");s&&(s.error||s.log)(e,ne(o))}}}var Vy="unhandledRejection",AP=Vy.toLowerCase(),Mu=[],PP=0,xP=10;var Pv;function Gy(t){return le(t)?t.toString():ne(t)}function By(t,e,r){var n=Bs(arguments,3),i=0,o=!1,a,s=[],c=PP++,u=Mu.length>0?Mu[Mu.length-1]:void 0,l=!1,f=null,v;function d(M,q){try{Mu.push(c),l=!0,f&&f.cancel(),f=null;var w=t(function(D,W){s.push(function(){try{var z=i===2?M:q,X=Ge(z)?a:le(z)?z(a):z;Qr(X)?X.then(D,W):z?D(X):i===3?W(X):D(X)}catch(J){W(J)}}),o&&h()},n);return w}finally{Mu.pop()}}function p(M){return d(void 0,M)}function m(M){var q=M,w=M;return le(M)&&(q=function(D){return M&&M(),D},w=function(D){throw M&&M(),D}),d(q,w)}function _(){return Hy[i]}function h(){if(s.length>0){var M=s.slice();s=[],l=!0,f&&f.cancel(),f=null,e(M)}}function N(M,q){return function(w){if(i===q){if(M===2&&Qr(w)){i=1,w.then(N(2,1),N(3,1));return}i=M,o=!0,a=w,h(),!l&&M===3&&!f&&(f=Pt(L,xP))}}}function L(){if(!l)if(l=!0,Sy())process.emit(Vy,a,v);else{var M=Yt()||At();!Pv&&(Pv=Jr(ft($e,[Dd+"RejectionEvent"]).v)),IP(M,AP,function(q){return xe(q,"promise",{g:function(){return v}}),q.reason=a,q},!!Pv.v)}}v={then:d,catch:p,finally:m},$r(v,"state",{get:_}),Uy&&CP(v,_,function(){return Zf(a)},function(){return l}),Ty()&&(v[Su(11)]="IPromise");function F(){return"IPromise"+(Uy?"["+c+(Ge(u)?"":":"+u)+"]":"")+" "+_()+(o?" - "+Gy(a):"")}return v.toString=F,(function(){le(r)||yr(Dd+": executor is not a function - "+Gy(r));var q=N(3,0);try{r.call(v,N(2,0),q)}catch(w){q(w)}})(),v}function RP(t){return function(e){var r=Bs(arguments,1);return t(function(n,i){try{var o=[],a=1;cd(e,function(s,c){s&&(a++,Id(s,function(u){o[c]=u,--a===0&&n(o)},i))}),a--,a===0&&n(o)}catch(s){i(s)}},r)}}function bP(t){return Jr(function(e){var r=Bs(arguments,1);return t(function(n,i){var o=[],a=1;function s(c,u){a++,Rt(c,function(l){l.rejected?o[u]={status:Ov,reason:l.reason}:o[u]={status:"fulfilled",value:l.value},--a===0&&n(o)})}try{Se(e)?ee(e,s):Z_(e)?cd(e,s):yr("Input is not an iterable"),a--,a===0&&n(o)}catch(c){i(c)}},r)})}function jy(t){ee(t,function(e){try{e()}catch{}})}function OP(t){var e=Yn(t)?t:0;return function(r){Pt(function(){jy(r)},e)}}function zy(t,e){return By(zy,OP(e),t,e)}var xv;function wP(t,e){!xv&&(xv=Jr(ft($e,[Dd]).v||null));var r=xv.v;if(!r)return zy(t);le(t)||yr(Dd+": executor is not a function - "+ne(t));var n=0;function i(){return Hy[n]}var o=new r(function(a,s){function c(l){n=2,a(l)}function u(l){n=3,s(l)}t(c,u)});return $r(o,"state",{get:i}),o}var Rv;function Js(t){return By(Js,jy,t)}function Ky(t,e){return!Rv&&(Rv=bP(Js)),Rv.v(t,e)}var bv;function gr(t,e){return!bv&&(bv=Jr(wP)),bv.v.call(this,t,e)}var Wy=RP(gr);var R1=Su(11);var nn=void 0,Oe="",Ya="channels",Tt="core",Ad="createPerfMgr",Lu="disabled",wi="extensionConfig",Fa="extensions",Hr="processTelemetry",Ua="priority",Zs="eventsSent",To="eventsDiscarded",ec="eventsSendRequest",oi="perfEvent",Pd="offlineEventsStored",xd="offlineBatchSent",Rd="offlineBatchDrop",tc="getPerfMgr",bd="domain",Od="path",qy="Not dynamic - ",Xy="REDACTED",wv=["sig","Signature","AWSAccessKeyId","X-Goog-Signature"];var MP="getPrototypeOf",LP=/-([a-z])/g,YP=/([^\w\d_$])/g,FP=/^(\d+[\w\d_$])/,Qy=Object[MP];function Nn(t){return!B(t)}function ka(t){var e=t;return e&&fe(e)&&(e=e[Vn](LP,function(r,n){return n.toUpperCase()}),e=e[Vn](YP,"_"),e=e[Vn](FP,function(r,n){return"_"+n})),e}function zt(t,e){return t&&e?Ze(t,e)!==-1:!1}function Cn(t){return t&&t.toISOString()||""}function Ue(t){return Ia(t)?t[Zr]:Oe}function et(t,e,r,n,i){var o=r;return t&&(o=t[e],o!==r&&(!i||i(o))&&(!n||n(r))&&(o=r,t[e]=o)),o}function Kt(t,e,r){var n;return t?(n=t[e],!n&&B(n)&&(n=Ge(r)?{}:r,t[e]=n)):n=Ge(r)?{}:r,n}function Jy(t,e){var r=null,n=null;return le(t)?r=t:n=t,function(){var i=arguments;if(r&&(n=r()),n)return n[e][Sn](n,i)}}
11function Mv(t,e,r){if(t&&e&&It(t)&&It(e)){var n=function(o){if(fe(o)){var a=e[o];le(a)?(!r||r(o,!0,e,t))&&(t[o]=Jy(e,o)):(!r||r(o,!1,e,t))&&(Fn(t,o)&&delete t[o],xe(t,o,{g:function(){return e[o]},s:function(s){e[o]=s}}))}};for(var i in e)n(i)}return t}function Ga(t,e,r,n,i){t&&e&&r&&(i!==!1||Ge(t[e]))&&(t[e]=Jy(r,n))}function yo(t,e,r,n){return t&&e&&It(t)&&Se(r)&&ee(r,function(i){fe(i)&&Ga(t,i,e,i,n)}),t}function Lv(t){return(function(){function e(){var r=this;t&&Te(t,function(n,i){r[n]=i})}return e})()}function Md(t){return t&&ks&&(t=Ks(ks({},t))),t}function Ld(t,e,r,n,i,o){var a=arguments,s=a[0]||{},c=a[se],u=!1,l=1;for(c>0&&gu(s)&&(u=s,s=a[l]||{},l++),It(s)||(s={});l<c;l++){var f=a[l],v=Se(f),d=It(f);for(var p in f){var m=v&&p in f||d&&Fn(f,p);if(m){var _=f[p],h=void 0;if(u&&_&&((h=Se(_))||Ft(_))){var N=s[p];h?Se(N)||(N=[]):Ft(N)||(N={}),_=Ld(u,N,_)}_!==void 0&&(s[p]=_)}}}return s}function Ha(t,e,r){var n=e&&e.featureOptIn&&e.featureOptIn[t];if(t&&n){var i=n.mode;if(i===3)return!0;if(i===2)return!1}return r}function rc(t){try{return t.responseText}catch{}return null}function Yu(t,e){return t?"XDomainRequest,Response:"+rc(t)||"":e}function Va(t,e){return t?"XMLHttpRequest,Status:"+t[Bn]+",Response:"+rc(t)||t.response||"":e}function Yd(t,e){return e&&(Yn(e)?t=[e].concat(t):Se(e)&&(t=e.concat(t))),t}var UP="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",$y="withCredentials",kP="timeout";function Yv(t,e,r,n,i,o){n===void 0&&(n=!1),i===void 0&&(i=!1);function a(c,u,l){try{c[u]=l}catch{}}var s=new XMLHttpRequest;return n&&a(s,UP,n),r&&a(s,$y,r),s.open(t,e,!i),r&&a(s,$y,r),!i&&o&&a(s,kP,o),s}function Zy(t){var e={};if(fe(t)){var r=Ve(t)[yn](/[\r\n]+/);ee(r,function(n){if(n){var i=n[Ru](": ");if(i!==-1){var o=Ve(n.substring(0,i))[Hn](),a=Ve(n[xu](i+1));e[o]=a}else e[Ve(n)]=1}})}return e}function wd(t,e,r){if(!t[r]&&e&&e.getResponseHeader){var n=e.getResponseHeader(r);n&&(t[r]=Ve(n))}return t}var GP="kill-duration",HP="kill-duration-seconds",VP="time-delta-millis";function Fu(t,e){var r={};return t[yv]?r=Zy(t[yv]()):e&&(r=wd(r,t,VP),r=wd(r,t,GP),r=wd(r,t,HP)),r}var BP="documentMode",jP="location",zP="console",e0="JSON",KP="crypto",WP="msCrypto",qP="ReactNative",Gv="msie",Hv="trident/",t0="XMLHttpRequest",Fv=null,Uv=null,XP=!1,nc=null,kv=null;function r0(t,e){var r=!1;if(t){try{if(r=e in t,!r){var n=t[hr];n&&(r=e in n)}}catch{}if(!r)try{var i=new t;r=!Ge(i[e])}catch{}}return r}function cr(t){if(t&&XP){var e=$e("__mockLocation");if(e)return e}return typeof location===Cu&&location?location:$e(jP)}function Vv(){return typeof console!==ba?console:$e(zP)}function ai(){return!!(typeof JSON===Cu&&JSON||$e(e0)!==null)}function Ut(){return ai()?JSON||$e(e0):null}function Bv(){return $e(KP)}function jv(){return $e(WP)}function zv(){var t=sr();return t&&t.product?t.product===qP:!1}function ic(){var t=sr();if(t&&(t[Pu]!==Uv||Fv===null)){Uv=t[Pu];var e=(Uv||Oe)[Hn]();Fv=zt(e,Gv)||zt(e,Hv)}return Fv}function Uu(t){if(t===void 0&&(t=null),!t){var e=sr()||{};t=e?(e.userAgent||Oe)[Hn]():Oe}var r=(t||Oe)[Hn]();if(zt(r,Gv)){var n=ct()||{};return Pa(parseInt(r[yn](Gv)[1]),n[BP]||0)}else if(zt(r,Hv)){var i=parseInt(r[yn](Hv)[1]);if(i)return i+4}return null}function Mi(t){return(kv===null||t===!1)&&(kv=Q_()&&!!sr().sendBeacon),kv}function Ba(t){var e=!1;try{e=!!$e("fetch");var r=$e("Request");e&&t&&r&&(e=r0(r,"keepalive"))}catch{}return e}function Kv(){return nc===null&&(nc=typeof XDomainRequest!==ba,nc&&No()&&(nc=nc&&!r0($e(t0),"withCredentials"))),nc}function No(){var t=!1;try{var e=$e(t0);t=!!e}catch{}return t}function n0(t,e){return t&&t.dispatchEvent&&e?(t.dispatchEvent(e),!0):!1}function i0(t,e){var r=null,n={detail:e||null};if(le(CustomEvent))r=new CustomEvent(t,n);else{var i=ct();i&&i.createEvent&&(r=i.createEvent("CustomEvent"),r.initCustomEvent(t,!0,!0,n))}return r}function Wv(t,e,r){var n=At();if(n&&n.CustomEvent)try{var i={cfg:e||null,customDetails:r||null};return n0(n,i0(t,i))}catch{}return!1}function $P(t){return t.replace(/^([a-zA-Z][a-zA-Z0-9+.-]*:\/\/)([^:@]{1,200}):([^@]{1,200})@(.*)$/,"$1REDACTED:REDACTED@$4")}function QP(t,e){var r,n=Ze(t,"?");
11if(n===-1)return t;e&&e.redactQueryParams?r=wv.concat(e.redactQueryParams):r=wv;var i=Zt(t,0,n+1),o=Zt(t,n+1),a=Oe,s=Ze(o,"#");s!==-1&&(a=Zt(o,s),o=Zt(o,0,s));for(var c=!1,u=0;u<r[se];u++){var l=r[u]+"=";if(Ze(o,l)!==-1){c=!0;break}}if(!c)return t;var f=[],v=!1;if(o&&o[se])for(var d=o[yn]("&"),u=0;u<d[se];u++){var p=d[u];if(p){var m=Ze(p,"=");if(m===-1)f[Ne](p);else{var _=p[xu](0,m),h=p[xu](m+1);if(h===Oe)f[Ne](p);else{for(var N=!1,L=0;L<r[se];L++)if(_===r[L]){N=!0,v=!0;break}N?f[Ne](_+"="+Xy):f[Ne](p)}}}}return v?i+f.join("&")+a:t}function Cr(t,e){if(!t||!fe(t)||t[Ru](" ")!==-1)return t;var r=e&&e.redactUrls===!1;if(r)return t;var n=Ze(t,"@")!==-1,i=Ze(t,"?")!==-1;if(!n&&!i)return t;try{var o=t;return n&&(o=$P(t)),i&&(o=QP(o,e)),o}catch{return t}}var o0=4294967296,Co=4294967295,a0=123456789,s0=987654321,c0=!1,ku=a0,Gu=s0;function JP(t){t<0&&(t>>>=0),ku=a0+t&Co,Gu=s0-t&Co,c0=!0}function ZP(){try{var t=Lt()&2147483647;JP((Math.random()*o0^t)+t)}catch{}}function qv(t){return t>0?er(ja()/Co*(t+1))>>>0:0}function ja(t){var e=0,r=Bv()||jv();return r&&r.getRandomValues&&(e=r.getRandomValues(new Uint32Array(1))[0]&Co),e===0&&ic()&&(c0||ZP(),e=u0()&Co),e===0&&(e=er(o0*Math.random()|0)),t||(e>>>=0),e}function u0(t){Gu=36969*(Gu&65535)+(Gu>>16)&Co,ku=18e3*(ku&65535)+(ku>>16)&Co;var e=(Gu<<16)+(ku&65535)>>>0&Co|0;return t||(e>>>=0),e}function za(t){t===void 0&&(t=22);for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=ja()>>>0,n=0,i=Oe;i[se]<t;)n++,i+=e.charAt(r&63),r>>>=6,n===5&&(r=(ja()<<2&4294967295|r&3)>>>0,n=0);return i}var l0="3.3.11",ex="."+za(6),tx=0;function f0(t){return t.nodeType===1||t.nodeType===9||!+t.nodeType}function rx(t,e){var r=e[t.id];if(!r){r={};try{f0(e)&&xe(e,t.id,{e:!1,v:r})}catch{}}return r}function yt(t,e){return e===void 0&&(e=!1),ka(t+tx+++(e?"."+l0:Oe)+ex)}function Fd(t){var e={id:yt("_aiData-"+(t||Oe)+"."+l0),accept:function(r){return f0(r)},get:function(r,n,i,o){var a=r[e.id];return a?a[ka(n)]:(o&&(a=rx(e,r),a[ka(n)]=i),i)},kill:function(r,n){if(r&&r[n])try{delete r[n]}catch{}}};return e}function Ud(t){return t&&It(t)&&!Se(t)&&(t.isVal||t.fb||Fn(t,"v")||Fn(t,"mrg")||Fn(t,"ref")||t.set)}function d0(t,e,r){var n,i=r.dfVal||ly;if(e&&r.fb){var o=r.fb;Se(o)||(o=[o]);for(var a=0;a<o[se];a++){var s=o[a],c=e[s];if(i(c)?n=c:t&&(c=t.cfg[s],i(c)&&(n=c),t.set(t.cfg,Dt(s),c)),i(n))break}}return!i(n)&&i(r.v)&&(n=r.v),n}function Xv(t,e,r){var n=r;if(r&&Ud(r)&&(n=d0(t,e,r)),n){Ud(n)&&(n=Xv(t,e,n));var i;Se(n)?(i=[],i[se]=n[se]):Ft(n)&&(i={}),i&&(Te(n,function(o,a){a&&Ud(a)&&(a=Xv(t,e,a)),i[o]=a}),n=i)}return n}function Hu(t,e,r,n){var i,o,a,s=n,c,u,l,f;Ud(s)?(i=s.isVal,o=s.set,l=s.rdOnly,f=s.blkVal,c=s.mrg,u=s.ref,!u&&Ge(u)&&(u=!!c),a=d0(t,e,s)):a=n,f&&t.blkVal(e,r);var v,d=!0,p=e[r];(p||!B(p))&&(v=p,d=!1,i&&v!==a&&!i(v)&&(v=a,d=!0),o&&(v=o(v,a,e),d=v===a)),d?a?v=Xv(t,e,a):v=a:(Ft(v)||Se(a))&&c&&a&&(Ft(a)||Se(a))&&Te(a,function(m,_){Hu(t,v,m,_)}),t.set(e,r,v),u&&t.ref(e,r),l&&t.rdOnly(e,r)}var si=sd("[[ai_dynCfg_1]]"),p0=sd("[[ai_blkDynCfg_1]]"),nx=sd("[[ai_frcDynCfg_1]]");function $v(t){if(t){var e;if(Se(t)?(e=[],e[se]=t[se]):Ft(t)&&(e={}),e)return Te(t,function(r,n){e[r]=$v(n)}),e}return t}function m0(t){if(t){var e=t[si]||t;if(e.cfg&&(e.cfg===t||e.cfg[si]===e))return e}return null}function _0(t){if(t&&(Ft(t)||Se(t)))try{t[p0]=!0}catch{}return t}function kd(t,e,r){var n=!1;return r&&!t[e.blkVal]&&(n=r[nx],!n&&!r[p0]&&(n=Ft(r)||Se(r))),n}function Gd(t){yr("InvalidAccess:"+t)}var ix=["push","pop","shift","unshift","splice"],oc=function(t,e,r,n){t&&t[xi](3,108,"".concat(r," [").concat(e,"] failed - ")+ne(n))};function ox(t,e,r){Se(e)&&ee(ix,function(n){var i=e[n];e[n]=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=i[Sn](this,o);return Vu(t,e,r,"Patching"),s}})}function Hd(t,e){var r=Py(t,e);return r&&r.get}function ax(t,e,r,n){var i={n:r,h:[],trk:function(u){u&&u.fn&&(st(i.h,u)===-1&&i.h[Ne](u),t.trk(u,i))},clr:function(u){var l=st(i.h,u);l!==-1&&i.h[Ur](l,1)}},o=!0,a=!1;function s(){o&&(a=a||kd(s,t,n),n&&!n[si]&&a&&(n=Vu(t,n,r,"Converting")),o=!1);var u=t.act;return u&&i.trk(u),n}s[t.prop]={chng:function(){t.add(i)}};function c(u){if(n!==u){s[t.ro]&&!t.upd&&Gd("["+r+"] is read-only:"+ne(e)),o&&(a=a||kd(s,t,n),o=!1);var l=a&&s[t.rf];if(a)if(l){Te(n,function(v){n[v]=u?u[v]:nn});try{Te(u,function(v,d){Bu(t,n,v,d)}),u=n}catch(v){oc((t.hdlr||{})[ut],r,"Assigning",v),a=!1}}else n&&n[si]&&Te(n,function(v){var d=Hd(n,v);if(d){var p=d[t.prop];p&&p.chng()}});if(u!==n){var f=u&&kd(s,t,u);
11!l&&f&&(u=Vu(t,u,r,"Converting")),n=u,a=f}t.add(i)}}xe(e,i.n,{g:s,s:c})}function Bu(t,e,r,n){if(e){var i=Hd(e,r),o=i&&!!i[t.prop];o?e[r]=n:ax(t,e,r,n)}return e}function Vd(t,e,r,n){if(e){var i=Hd(e,r),o=i&&!!i[t.prop],a=n&&n[0],s=n&&n[1],c=n&&n[2];if(!o){if(c)try{_0(e)}catch(u){oc((t.hdlr||{})[ut],r,"Blocking",u)}try{Bu(t,e,r,e[r]),i=Hd(e,r)}catch(u){oc((t.hdlr||{})[ut],r,"State",u)}}a&&(i[t.rf]=a),s&&(i[t.ro]=s),c&&(i[t.blkVal]=!0)}return e}function Vu(t,e,r,n){try{Te(e,function(i,o){Bu(t,e,i,o)}),e[si]||($r(e,si,{get:function(){return t.hdlr}}),ox(t,e,r))}catch(i){oc((t.hdlr||{})[ut],r,n,i)}return e}var ju="[[ai_",zu="]]";function v0(t){var e=Vs(ju+"get"+t.uid+zu),r=Vs(ju+"ro"+t.uid+zu),n=Vs(ju+"rf"+t.uid+zu),i=Vs(ju+"blkVal"+t.uid+zu),o=Vs(ju+"dtl"+t.uid+zu),a=null,s=null,c;function u(d,p){var m=c.act;try{c.act=d,d&&d[o]&&(ee(d[o],function(h){h.clr(d)}),d[o]=[]),p({cfg:t.cfg,set:t.set.bind(t),setDf:t.setDf.bind(t),ref:t.ref.bind(t),rdOnly:t.rdOnly.bind(t)})}catch(h){var _=t[ut];throw _&&_[xi](1,107,ne(h)),h}finally{c.act=m||null}}function l(){if(a){var d=a;a=null,s&&s[ti](),s=null;var p=[];if(ee(d,function(m){if(m&&(m[o]&&(ee(m[o],function(_){_.clr(m)}),m[o]=null),m.fn))try{u(m,m.fn)}catch(_){p[Ne](_)}}),a)try{l()}catch(m){p[Ne](m)}p[se]>0&&Fy("Watcher error(s): ",p)}}function f(d){if(d&&d.h[se]>0){a||(a=[]),s||(s=Pt(function(){s=null,l()},0));for(var p=0;p<d.h[se];p++){var m=d.h[p];m&&st(a,m)===-1&&a[Ne](m)}}}function v(d,p){if(d){var m=d[o]=d[o]||[];st(m,p)===-1&&m[Ne](p)}}return c={prop:e,ro:r,rf:n,blkVal:i,hdlr:t,add:f,notify:l,use:u,trk:v},c}function sx(t,e){var r={fn:e,rm:function(){r.fn=null,t=null,e=null}};return xe(r,"toJSON",{v:function(){return"WatcherHandler"+(r.fn?"":"[X]")}}),t.use(r,e),r}function cx(t,e,r){var n=m0(e);if(n)return n;var i=yt("dyncfg",!0),o=e&&r!==!1?e:$v(e),a;function s(){a.notify()}function c(_,h,N){try{_=Bu(a,_,h,N)}catch(L){oc(t,h,"Setting value",L)}return _[h]}function u(_){return sx(a,_)}function l(_,h){a.use(null,function(N){var L=a.upd;try{Ge(h)||(a.upd=h),_(N)}finally{a.upd=L}})}function f(_,h){var N;return Vd(a,_,h,(N={},N[0]=!0,N))[h]}function v(_,h){var N;return Vd(a,_,h,(N={},N[1]=!0,N))[h]}function d(_,h){var N;return Vd(a,_,h,(N={},N[2]=!0,N))[h]}function p(_,h){return h&&Te(h,function(N,L){Hu(m,_,N,L)}),_}var m={uid:null,cfg:o,logger:t,notify:s,set:c,setDf:p,watch:u,ref:f,rdOnly:v,blkVal:d,_block:l};return xe(m,"uid",{c:!1,e:!1,w:!1,v:i}),a=v0(m),Vu(a,o,"config","Creating"),m}function ux(t,e){t?(t[Ws](e),t[xi](2,108,e)):Gd(e)}function kt(t,e,r,n){var i=cx(r,t||{},n);return e&&i.setDf(i.cfg,e),i}function je(t,e,r){var n=t[si]||t;return n.cfg&&(n.cfg===t||n.cfg[si]===n)?n[ei](e):(ux(r,qy+ne(t)),kt(t,null,r)[ei](e))}function Li(t,e){if(t&&t[Tn])return t[Tn](e)}function Bd(t,e,r){var n;return r||(n=gr(function(i){r=i})),t&&ov(t)>0?Rt(Li(t[0],e),function(){Bd(Bs(t,1),e,r)}):r(),n}var h0=500,Qv="Microsoft_ApplicationInsights_BypassAjaxInstrumentation";function lx(t,e,r){return!t&&B(t)?e:gu(t)?t:Dt(t)[Hn]()==="true"}function Dr(t){return{mrg:!0,v:t}}function jd(t,e){return{set:t,v:e}}function Do(t,e,r){return{fb:r,isVal:t,v:e}}function gt(t,e){return{fb:e,set:lx,v:!!t}}function Jv(t){return{isVal:fe,v:Dt(t||Oe)}}var Zv=[Zs,To,ec,oi],Kd=null,zd;function fx(t,e){return function(){var r=arguments,n=eh(e);if(n){var i=n.listener;i&&i[t]&&i[t][Sn](i,r)}}}function dx(){var t=$e("Microsoft");return t&&(Kd=t.ApplicationInsights),Kd}function eh(t){var e=Kd;return!e&&t.disableDbgExt!==!0&&(e=Kd||dx()),e?e.ChromeDbgExt:null}function g0(t){if(!zd){zd={};for(var e=0;e<Zv[se];e++)zd[Zv[e]]=fx(Zv[e],t)}return zd}var ac,S0="warnToConsole",px="AI (Internal): ",mx="AI: ",_x="AITR_",vx={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},hx=(ac={},ac[0]=null,ac[1]="errorToConsole",ac[2]=S0,ac[3]="debugToConsole",ac);function E0(t){return t?'"'+t[Vn](/\"/g,Oe)+'"':Oe}function th(t,e){var r=Vv();if(r){var n="log";r[t]&&(n=t),le(r[n])&&r[n](e)}}var Yi=(function(){function t(e,r,n,i){n===void 0&&(n=!1);var o=this;o[$s]=e,o[ii]=(n?mx:px)+e;var a=Oe;ai()&&(a=Ut().stringify(i));var s=(r?" message:"+E0(r):Oe)+(i?" props:"+E0(a):Oe);o[ii]+=s}return t.dataType="MessageData",t})();function Ir(t,e){return(t||{})[ut]||new sc(e)}var sc=(function(){function t(e){this.identifier="DiagnosticLogger",this.queue=[];var r=0,n={},i,o,a,s,c;Re(t,this,function(u){c=f(e||{}),u.consoleLoggingLevel=function(){return i},u[xi]=function(p,m,_,h,N){N===void 0&&(N=!1);var L=new Yi(m,_,N,h);if(s)throw ne(L);var F=hx[p]||S0;
11if(Ge(L[ii]))d("throw"+(p===1?"Critical":"Warning"),L);else{if(N){var M=+L[$s];!n[M]&&i>=p&&(u[F](L[ii]),n[M]=!0)}else i>=p&&u[F](L[ii]);l(p,L)}},u.debugToConsole=function(p){th("debug",p),d("warning",p)},u[Ws]=function(p){th("warn",p),d("warning",p)},u.errorToConsole=function(p){th("error",p),d("error",p)},u.resetInternalMessageCount=function(){r=0,n={}},u.logInternalMessage=l,u[Tn]=function(p){c&&c.rm(),c=null};function l(p,m){if(!v()){var _=!0,h=_x+m[$s];if(n[h]?_=!1:n[h]=!0,_&&(p<=o&&(u.queue[Ne](m),r++,d(p===1?"error":"warn",m)),r===a)){var N="Internal events throttle limit per PageView reached for this app.",L=new Yi(23,N,!1);u.queue[Ne](L),p===1?u.errorToConsole(N):u[Ws](N)}}}function f(p){return je(kt(p,vx,u).cfg,function(m){var _=m.cfg;i=_[yd],o=_.loggingLevelTelemetry,a=_.maxMessageLimit,s=_.enableDebug})}function v(){return r>=a}function d(p,m){var _=eh(e||{});_&&_[Gr]&&_[Gr](p,m)}})}return t.__ieDyn=1,t})();function rh(t){return t||new sc}function Q(t,e,r,n,i,o){o===void 0&&(o=!1),rh(t)[xi](e,r,n,i,o)}function on(t,e){rh(t)[Ws](e)}function nh(t,e,r){rh(t).logInternalMessage(e,r)}var ih,Io,T0="toGMTString",y0="toUTCString",sh="cookie",oh="expires",N0="isCookieUseDisabled",Ku="disableCookiesUsage",Ao="_ckMgr",Wd=null,ah=null,C0=null,ci,D0={},$d={},gx=(ih={cookieCfg:Dr((Io={},Io[bd]={fb:"cookieDomain",dfVal:Nn},Io.path={fb:"cookiePath",dfVal:Nn},Io.enabled=nn,Io.ignoreCookies=nn,Io.blockedCookies=nn,Io.disableCookieDefer=!1,Io)),cookieDomain:nn,cookiePath:nn},ih[Ku]=nn,ih);function ch(){!ci&&(ci=X_(function(){return ct()}))}function Ex(t,e){var r=Ka[Ao]||$d[Ao];return r||(r=Ka[Ao]=Ka(t,e),$d[Ao]=r),r}function qd(t){return t?t.isEnabled():!0}function b0(t,e){return e&&t&&Se(t.ignoreCookies)?st(t.ignoreCookies,e)!==-1:!1}function I0(t,e){return e&&t&&Se(t.blockedCookies)&&st(t.blockedCookies,e)!==-1?!0:b0(t,e)}function A0(t,e){var r=e[go];if(B(r)){var n=void 0;Ge(t[N0])||(n=!t[N0]),Ge(t[Ku])||(n=!t[Ku]),r=n}return r}function Wa(t,e){var r;if(t)r=t.getCookieMgr();else if(e){var n=e.cookieCfg;n&&n[Ao]?r=n[Ao]:r=Ka(e)}return r||(r=Ex(e,(t||{})[ut])),r}function Ka(t,e){var r,n,i,o,a,s,c,u,l=[];function f(_){var h,N=(h={},h[Od]=_||"/",h[oh]="Thu, 01 Jan 1970 00:00:01 GMT",h);return ic()||(N["max-age"]="0"),x0(Oe,N)}function v(_,h,N,L){var F={},M=Ve(_||Oe),q=Ze(M,";");if(q!==-1&&(M=Ve(Gs(_,q)),F=O0(Zt(_,q+1))),et(F,bd,N||i,mo,Ge),!B(h)){var w=ic();if(Ge(F[oh])){var D=Lt(),W=D+h*1e3;if(W>0){var z=new Date;z.setTime(W),et(F,oh,P0(z,w?T0:y0)||P0(z,w?T0:y0)||Oe,mo)}}w||et(F,"max-age",Oe+h,null,Ge)}var X=cr();return X&&X.protocol==="https:"&&(et(F,"secure",null,null,Ge),ah===null&&(ah=!w0((sr()||{})[Pu])),ah&&et(F,"SameSite","None",null,Ge)),et(F,Od,L||n,null,Ge),x0(M,F)}function d(_){if(l)for(var h=l[se]-1;h>=0;h--)l[h].n===_&&l[Ur](h,1)}function p(){Xd(e)&&l&&(ee(l,function(_){I0(r,_.n)||(_.o===0?c(_.n,_.v):_.o===1&&u(_.n,_.v))}),l=[])}t=kt(t||$d,null,e).cfg,o=je(t,function(_){_.setDf(_.cfg,gx),r=_.ref(_.cfg,"cookieCfg"),n=r[Od]||"/",i=r[bd],r.disableCookieDefer?l=null:l===null&&(l=[]);var h=a;a=A0(t,r)!==!1,s=r.getCookie||Sx,c=r.setCookie||R0,u=r.delCookie||R0,!h&&a&&l&&p()},e);var m={isEnabled:function(){var _=A0(t,r)!==!1&&a&&Xd(e),h=$d[Ao];return _&&h&&m!==h&&(_=qd(h)),_},setEnabled:function(_){r[go]=_,Ge(t[Ku])||(t[Ku]=!_)},set:function(_,h,N,L,F){var M=!1,q=I0(r,_);if(!q){var w=v(h,N,L,F);qd(m)?(c(_,w),M=!0):l&&(d(_),l[Ne]({n:_,o:0,v:w}),M=!0)}return M},get:function(_){var h=Oe,N=b0(r,_);if(!N){if(qd(m))h=s(_);else if(l)for(var L=l[se]-1;L>=0;L--){var F=l[L];if(F.n===_){if(F.o===0){var M=F.v,q=Ze(M,";");h=q!==-1?Ve(Gs(M,q)):Ve(M)}break}}}return h},del:function(_,h){var N=!1;return qd(m)?N=m.purge(_,h):l&&(d(_),l[Ne]({n:_,o:1,v:f(h)}),N=!0),N},purge:function(_,h){var N=!1;return Xd(e)&&(u(_,f(h)),N=!0),N},unload:function(_){o&&o.rm(),o=null,l=null}};return m[Ao]=m,m}function Xd(t){if(Wd===null){Wd=!1,!ci&&ch();try{var e=ci.v||{};Wd=e[sh]!==void 0}catch(r){Q(t,2,68,"Cannot access document.cookie - "+Ue(r),{exception:ne(r)})}}return Wd}function O0(t){var e={};if(t&&t[se]){var r=Ve(t)[yn](";");ee(r,function(n){if(n=Ve(n||Oe),n){var i=Ze(n,"=");i===-1?e[n]=null:e[Ve(Gs(n,i))]=Ve(Zt(n,i+1))}})}return e}function P0(t,e){return le(t[e])?t[e]():null}function x0(t,e){var r=t||Oe;return Te(e,function(n,i){r+="; "+n+(B(i)?Oe:"="+i)}),r}function Sx(t){var e=Oe;if(!ci&&ch(),ci.v){var r=ci.v[sh]||Oe;C0!==r&&(D0=O0(r),C0=r),e=Ve(D0[t]||Oe)}return e}function R0(t,e){!ci&&ch(),ci.v&&(ci.v[sh]=t+"="+e)}function w0(t){return fe(t)?!!(zt(t,"CPU iPhone OS 12")||zt(t,"iPad; CPU OS 12")||zt(t,"Macintosh;
11 Intel Mac OS X 10_14")&&zt(t,"Version/")&&zt(t,"Safari")||zt(t,"Macintosh; Intel Mac OS X 10_14")&&Tu(t,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||zt(t,"Chrome/5")||zt(t,"Chrome/6")||zt(t,"UnrealEngine")&&!zt(t,"Chrome")||zt(t,"UCBrowser/12")||zt(t,"UCBrowser/11")):!1}var Tx={perfEvtsSendAll:!1};function yx(t){t.h=null;var e=t.cb;t.cb=[],ee(e,function(r){ft(r.fn,[r.arg])})}function Po(t,e,r,n){ee(t,function(i){i&&i[e]&&(r?(r.cb[Ne]({fn:n,arg:i}),r.h=r.h||Pt(yx,0,r)):ft(n,[i]))})}var M0=(function(){function t(e){this.listeners=[];var r,n,i=[],o={h:null,cb:[]},a=kt(e,Tx);n=a[ei](function(s){r=!!s.cfg.perfEvtsSendAll}),Re(t,this,function(s){xe(s,"listeners",{g:function(){return i}}),s[Xs]=function(c){i[Ne](c)},s[qs]=function(c){for(var u=st(i,c);u>-1;)i[Ur](u,1),u=st(i,c)},s[Zs]=function(c){Po(i,Zs,o,function(u){u[Zs](c)})},s[To]=function(c,u,l){Po(i,To,o,function(f){f[To](c,u,l)})},s[ec]=function(c,u){Po(i,ec,u?o:null,function(l){l[ec](c,u)})},s[oi]=function(c){c&&(r||!c[bu]())&&Po(i,oi,null,function(u){c.isAsync?Pt(function(){return u[oi](c)},0):u[oi](c)})},s[Pd]=function(c){c&&c[se]&&Po(i,Pd,o,function(u){u[Pd](c)})},s[xd]=function(c){c&&c[rn]&&Po(i,xd,o,function(u){u[xd](c)})},s[Rd]=function(c,u){if(c>0){var l=u||0;Po(i,Rd,o,function(f){f[Rd](c,l)})}},s[Tn]=function(c){var u=function(){n&&n.rm(),n=null,i=[],o.h&&o.h[ti](),o.h=null,o.cb=[]},l;if(Po(i,"unload",null,function(f){var v=f[Tn](c);v&&(l||(l=[]),l[Ne](v))}),l)return gr(function(f){return Rt(Wy(l),function(){u(),f()})});u()}})}return t.__ieDyn=1,t})();var cc="ctx",lh="ParentContextKey",Wu="ChildrenContextKey",Nx=null,qu=(function(){function t(e,r,n){var i=this;if(i.start=Lt(),i[Zr]=e,i.isAsync=n,i[bu]=function(){return!1},le(r)){var o;xe(i,"payload",{g:function(){return!o&&le(r)&&(o=r(),r=null),o}})}i[Ma]=function(a){return a?a===t[lh]||a===t[Wu]?i[a]:(i[cc]||{})[a]:null},i[jn]=function(a,s){if(a)if(a===t[lh])i[a]||(i[bu]=function(){return!0}),i[a]=s;else if(a===t[Wu])i[a]=s;else{var c=i[cc]=i[cc]||{};c[a]=s}},i.complete=function(){var a=0,s=i[Ma](t[Wu]);if(Se(s))for(var c=0;c<s[se];c++){var u=s[c];u&&(a+=u.time)}i.time=Lt()-i.start,i.exTime=i.time-a,i.complete=function(){}}}return t.ParentContextKey="parent",t.ChildrenContextKey="childEvts",t})();var fh=(function(){function t(e){this.ctx={},Re(t,this,function(r){r.create=function(n,i,o){return new qu(n,i,o)},r.fire=function(n){n&&(n.complete(),e&&le(e[oi])&&e[oi](n))},r[jn]=function(n,i){if(n){var o=r[cc]=r[cc]||{};o[n]=i}},r[Ma]=function(n){return(r[cc]||{})[n]}})}return t.__ieDyn=1,t})();var uh="CoreUtils.doPerf";function xo(t,e,r,n,i){if(t){var o=t;if(o[tc]&&(o=o[tc]()),o){var a=void 0,s=o[Ma](uh);try{if(a=o.create(e(),n,i),a){if(s&&a[jn]&&(a[jn](qu[lh],s),s[Ma]&&s[jn])){var c=s[Ma](qu[Wu]);c||(c=[],s[jn](qu[Wu],c)),c[Ne](a)}return o[jn](uh,a),r(a)}}catch(u){a&&a[jn]&&a[jn]("exception",u)}finally{a&&o.fire(a),o[jn](uh,s)}}}return r()}function dh(){return Nx}function an(){for(var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],e=Oe,r,n=0;n<4;n++)r=ja(),e+=t[r&15]+t[r>>4&15]+t[r>>8&15]+t[r>>12&15]+t[r>>16&15]+t[r>>20&15]+t[r>>24&15]+t[r>>28&15];var i=t[8+(ja()&3)|0];return Un(e,0,8)+Un(e,9,4)+"4"+Un(e,13,3)+i+Un(e,16,3)+Un(e,19,12)}var ph="00",Cx="ff",Y0="00000000000000000000000000000000",F0="0000000000000000";function Xu(t,e,r){return t&&t[se]===e&&t!==r?!!t.match(/^[\da-f]*$/i):!1}function L0(t,e,r){return Xu(t,e)?t:r}function Dx(t){(isNaN(t)||t<0||t>255)&&(t=1);for(var e=t.toString(16);e[se]<2;)e="0"+e;return e}function $u(t,e,r,n){return{version:Xu(n,2,Cx)?n:ph,traceId:qa(t)?t:an(),spanId:Xa(e)?e:Gs(an(),16),traceFlags:r>=0&&r<=255?r:1}}function qa(t){return Xu(t,32,Y0)}function Xa(t){return Xu(t,16,F0)}function Qu(t){if(t){var e=Dx(t[wu]);Xu(e,2)||(e="01");var r=t[Au]||ph;return r!=="00"&&r!=="ff"&&(r=ph),"".concat(r.toLowerCase(),"-").concat(L0(t.traceId,32,Y0).toLowerCase(),"-").concat(L0(t.spanId,16,F0).toLowerCase(),"-").concat(e.toLowerCase())}return""}function Qd(t){var e=t.getElementsByTagName("script"),r=[];return ee(e,function(n){var i=n[Nd]("src");if(i){var o=n[Nd]("crossorigin"),a=n.hasAttribute("async")===!0,s=n.hasAttribute("defer")===!0,c=n[Nd]("referrerpolicy"),u={url:i};o&&(u.crossOrigin=o),a&&(u.async=a),s&&(u.defer=s),c&&(u.referrerPolicy=c),r[Ne](u)}}),r}var Ix=Fd("plugin");function Fi(t){return Ix.get(t,"state",{},!0)}function mh(t,e){for(var r=[],n=null,i=t[tn](),o;i;){var a=i[ho]();if(a){n&&n[So]&&a[Hr]&&n[So](a),o=Fi(a);var s=!!o[kr];a[kr]&&(s=a[kr]()),s||r[Ne](a),n=a,i=i[tn]()}}ee(r,function(c){var u=t[Tt]();c[Ri](t.getCfg(),u,e,t[tn]()),o=Fi(c),!c[Tt]&&!o[Tt]&&(o[Tt]=u),o[kr]=!0,delete o[en]})}function Jd(t){return t.sort(function(e,r){var n=0;if(r){var i=r[Hr];e[Hr]?n=i?e[Ua]-r[Ua]:1:i&&(n=-1)}else n=e?1:-1;return n})}function U0(t){var e={};return{getName:function(){return e[Zr]},setName:function(r){t&&t.setName(r),e[Zr]=r},getTraceId:function(){return e.traceId},setTraceId:function(r){t&&t.setTraceId(r),qa(r)&&(e.traceId=r)},getSpanId:function(){return e.spanId}
11,setSpanId:function(r){t&&t.setSpanId(r),Xa(r)&&(e.spanId=r)},getTraceFlags:function(){return e[wu]},setTraceFlags:function(r){t&&t.setTraceFlags(r),e[wu]=r}}}var Ax="TelemetryPluginChain",k0="_hasRun",G0="_getTelCtx",H0=0;function Px(t,e,r){for(;t;){if(t[ho]()===r)return t;t=t[tn]()}return Ro([r],e.config||{},e)}function _h(t,e,r,n){var i=null,o=[];e||(e=kt({},null,r[ut])),n!==null&&(i=n?Px(t,r,n):t);var a={_next:c,ctx:{core:function(){return r},diagLog:function(){return Ir(r,e.cfg)},getCfg:function(){return e.cfg},getExtCfg:l,getConfig:f,hasNext:function(){return!!i},getNext:function(){return i},setNext:function(d){i=d},iterate:v,onComplete:s}};function s(d,p){for(var m=[],_=2;_<arguments.length;_++)m[_-2]=arguments[_];d&&o[Ne]({func:d,self:Ge(p)?a.ctx:p,args:m})}function c(){var d=i;if(i=d?d[tn]():null,!d){var p=o;p&&p[se]>0&&(ee(p,function(m){try{m.func.call(m.self,m.args)}catch(_){Q(r[ut],2,73,"Unexpected Exception during onComplete - "+ne(_))}}),o=[])}return d}function u(d,p){var m=null,_=e.cfg;if(_&&d){var h=_[wi];!h&&p&&(h={}),_[wi]=h,h=e.ref(_,wi),h&&(m=h[d],!m&&p&&(m={}),h[d]=m,m=e.ref(h,d))}return m}function l(d,p){var m=u(d,!0);return p&&Te(p,function(_,h){if(B(m[_])){var N=e.cfg[_];(N||!B(N))&&(m[_]=N)}Hu(e,m,_,h)}),e.setDf(m,p)}function f(d,p,m){m===void 0&&(m=!1);var _,h=u(d,!1),N=e.cfg;return h&&(h[p]||!B(h[p]))?_=h[p]:(N[p]||!B(N[p]))&&(_=N[p]),_||!B(_)?_:m}function v(d){for(var p;p=a._next();){var m=p[ho]();m&&d(m)}}return a}function Gt(t,e,r,n){var i=kt(e),o=_h(t,i,r,n),a=o.ctx;function s(u){var l=o._next();return l&&l[Hr](u,a),!l}function c(u,l){return u===void 0&&(u=null),Se(u)&&(u=Ro(u,i.cfg,r,l)),Gt(u||a[tn](),i.cfg,r,l)}return a[jt]=s,a[ni]=c,a}function uc(t,e,r){var n=kt(e.config),i=_h(t,n,e,r),o=i.ctx;function a(c){var u=i._next();return u&&u[Tn](o,c),!u}function s(c,u){return c===void 0&&(c=null),Se(c)&&(c=Ro(c,n.cfg,e,u)),uc(c||o[tn](),e,u)}return o[jt]=a,o[ni]=s,o}function Ju(t,e,r){var n=kt(e.config),i=_h(t,n,e,r),o=i.ctx;function a(c){return o.iterate(function(u){le(u[wa])&&u[wa](o,c)})}function s(c,u){return c===void 0&&(c=null),Se(c)&&(c=Ro(c,n.cfg,e,u)),Ju(c||o[tn](),e,u)}return o[jt]=a,o[ni]=s,o}function Ro(t,e,r,n){var i=null,o=!n;if(Se(t)&&t[se]>0){var a=null;ee(t,function(s){if(!o&&n===s&&(o=!0),o&&s&&le(s[Hr])){var c=xx(s,e,r);i||(i=c),a&&a._setNext(c),a=c}})}return n&&!i?Ro([n],e,r):i}function xx(t,e,r){var n=null,i=le(t[Hr]),o=le(t[So]),a;t?a=t[ri]+"-"+t[Ua]+"-"+H0++:a="Unknown-0-"+H0++;var s={getPlugin:function(){return t},getNext:function(){return n},processTelemetry:l,unload:f,update:v,_id:a,_setNext:function(d){n=d}};function c(){var d;return t&&le(t[G0])&&(d=t[G0]()),d||(d=Gt(s,e,r)),d}function u(d,p,m,_,h){var N=!1,L=t?t[ri]:Ax,F=d[k0];return F||(F=d[k0]={}),d.setNext(n),t&&xo(d[Tt](),function(){return L+":"+m},function(){F[a]=!0;try{var M=n?n._id:Oe;M&&(F[M]=!1),N=p(d)}catch(w){var q=n?F[n._id]:!0;q&&(N=!0),(!n||!q)&&Q(d[Gr](),1,73,"Plugin ["+L+"] failed during "+m+" - "+ne(w)+", run flags: "+ne(F))}},_,h),N}function l(d,p){p=p||c();function m(_){if(!t||!i)return!1;var h=Fi(t);return h[en]||h[Lu]?!1:(o&&t[So](n),t[Hr](d,_),!0)}u(p,m,"processTelemetry",function(){return{item:d}},!d.sync)||p[jt](d)}function f(d,p){function m(){var _=!1;if(t){var h=Fi(t),N=t[Tt]||h[Tt];t&&(!N||N===d.core())&&!h[en]&&(h[Tt]=null,h[en]=!0,h[kr]=!1,t[en]&&t[en](d,p)===!0&&(_=!0))}return _}u(d,m,"unload",function(){},p.isAsync)||d[jt](p)}function v(d,p){function m(){var _=!1;if(t){var h=Fi(t),N=t[Tt]||h[Tt];t&&(!N||N===d.core())&&!h[en]&&t[wa]&&t[wa](d,p)===!0&&(_=!0)}return _}u(d,m,"update",function(){},!1)||d[jt](p)}return vr(s)}function Zd(){var t=[];function e(n){n&&t[Ne](n)}function r(n,i){ee(t,function(o){try{o(n,i)}catch(a){Q(n[Gr](),2,73,"Unexpected error calling unload handler - "+ne(a))}}),t=[]}return{add:e,run:r}}var ep,tp;function rp(){var t=[];function e(n){var i=t;t=[],ee(i,function(o){try{(o.rm||o.remove).call(o)}catch(a){Q(n,2,73,"Unloading:"+ne(a))}}),ep&&i[se]>ep&&(tp?tp("doUnload",i):Q(null,1,48,"Max unload hooks exceeded. An excessive number of unload hooks has been detected."))}function r(n){n&&(Ai(t,n),ep&&t[se]>ep&&(tp?tp("Add",t):Q(null,1,48,"Max unload hooks exceeded. An excessive number of unload hooks has been detected.")))}return{run:e,add:r}}var vh,bo="getPlugin",Rx=(vh={},vh[wi]={isVal:Nn,v:{}},vh),sn=(function(){function t(){var e=this,r,n,i,o,a;u(),Re(t,e,function(l){l[Ri]=function(f,v,d,p){c(f,v,p),r=!0},l[en]=function(f,v){var d=l[Tt];if(!d||f&&d!==f[Tt]())return;var p,m=!1,_=f||uc(null,d,i&&i[bo]?i[bo]():i),h=v||{reason:0,isAsync:!1};function N(){m||(m=!0,o.run(_,v),a.run(_[Gr]()),p===!0&&_[jt](h),u())}return!l[Eo]||l[Eo](_,h,N)!==!0?N():p=!0,p},l[wa]=function(f,v){var d=l[Tt];if(!d||f&&d!==f[Tt]())return;var p,m=!1,_=f||Ju(null,d,i&&i[bo]?i[bo]():i),h=v||{reason:0};function N(){m||(m=!0,c(_.getCfg(),_.core(),_[tn]()))}return!l._doUpdate||l._doUpdate(_,h,N)!==!0?N():p=!0,p},Ga(l,"_addUnloadCb",function(){return o},"add"),Ga(l,"_addHook",function(){return a},"add"),xe(l,"_unloadHooks",{g:function(){return a}})}),e[Gr]=function(l){return s(l)[Gr]()},e[kr]=function(){return r},e.setInitialized=function(l){r=l},e[So]=function(l){i=l},e[jt]=function(l,f){f?f[jt](l):i&&le(i[Hr])&&i[Hr](l,null)},e._getTelCtx=s;function s(l){l===void 0&&(l=null);var f=l;if(!f){var v=n||Gt(null,{},e[Tt]);i&&i[bo]?f=v[ni](null,i[bo]):f=v[ni](null,i)}return f}function c(l,f,v){kt(l,Rx,Ir(f)),!v&&f&&(v=f[Td]()[tn]());var d=i;i&&i[bo]&&(d=i[bo]()),e[Tt]=f,n=Gt(v,l,f,d)}function u(){r=!1,e[Tt]=null,n=null,i=null,a=rp(),o=Zd()}}return t.__ieDyn=1,t})();function bx(t,e,r){var n={id:e,fn:r};Ai(t,n);var i={remove:function(){ee(t,function(o,a){if(o.id===n.id)return t[Ur](a,1),-1})}};return i}function Ox(t,e,r){for(var n=!1,i=t[se],o=0;o<i;++o){var a=t[o];
11if(a)try{if(a.fn[Sn](null,[e])===!1){n=!0;break}}catch(s){Q(r,2,64,"Telemetry initializer failed: "+Ue(s),{exception:ne(s)},!0)}}return!n}var V0=(function(t){tr(e,t);function e(){var r=t.call(this)||this;r.identifier="TelemetryInitializerPlugin",r.priority=199;var n,i;o(),Re(e,r,function(a,s){a.addTelemetryInitializer=function(c){return bx(i,n++,c)},a[Hr]=function(c,u){Ox(i,c,u?u[Gr]():a[Gr]())&&a[jt](c,u)},a[Eo]=function(){o()}});function o(){n=0,i=[]}return r}return e.__ieDyn=1,e})(sn);var Oo,K0="Plugins must provide initialize method",wx="_notificationManager",B0="SDK is still unloading...",Mx="SDK is not initialized",Lx=100,Yx=5e4,hh=En((Oo={cookieCfg:{}},Oo[Fa]={rdOnly:!0,ref:!0,v:[]},Oo[Ya]={rdOnly:!0,ref:!0,v:[]},Oo[wi]={ref:!0,v:{}},Oo[Ad]=nn,Oo.loggingLevelConsole=0,Oo.diagnosticLogInterval=nn,Oo));function Fx(t,e){return new fh(e)}function Ux(t,e,r){var n=[],i=[],o={};return ee(r,function(a){(B(a)||B(a[Ri]))&&Jt(K0);var s=a[Ua],c=a[ri];a&&s&&(B(o[s])?o[s]=c:on(t,"Two extensions have same priority #"+s+" - "+o[s]+", "+c)),!s||s<e?n[Ne](a):i[Ne](a)}),{core:n,channels:i}}function j0(t,e){var r=!1;return ee(e,function(n){if(n===t)return r=!0,-1}),r}function gh(t,e,r,n){r&&Te(r,function(i,o){n&&Ft(o)&&Ft(e[i])&&gh(t,e[i],o,n),n&&Ft(o)&&Ft(e[i])?gh(t,e[i],o,n):t.set(e,i,o)})}function z0(t,e){var r=null,n=-1;return ee(t,function(i,o){if(i.w===e)return r=i,n=o,-1}),{i:n,l:r}}function kx(t,e){var r=z0(t,e).l;return r||(r={w:e,rm:function(){var n=z0(t,e);n.i!==-1&&t[Ur](n.i,1)}},t[Ne](r)),r}function Gx(t,e,r){ee(e,function(n){var i=je(t,n.w,r);delete n.w,n.rm=function(){i.rm()}})}function Hx(t,e,r,n){return e.add(t[ei](function(i){var o=i.cfg.disableDbgExt;o===!0&&n&&(r[qs](n),n=null),r&&!n&&o!==!0&&(n=g0(i.cfg),r[Xs](n))})),n}function Vx(t){return xe({rm:function(){t.rm()}},"toJSON",{v:function(){return"aicore::onCfgChange<"+JSON.stringify(t)+">"}})}var Eh=(function(){function t(){var e,r,n,i,o,a,s,c,u,l,f,v,d,p,m,_,h,N,L,F,M,q,w,D,W,z,X,J,me,T,R,A,I;Re(t,this,function(C){Y(),C._getDbgPlgTargets=function(){return[w,i]},C[kr]=function(){return r},C.activeStatus=function(){return z},C._setPendingStatus=function(){z=3},C[Ri]=function(E,x,U,k){d&&Jt(B0),C[kr]()&&Jt("Core cannot be initialized more than once"),e=kt(E,hh,U||C[ut],!1),E=e.cfg,P(e[ei](function(G){var H=G.cfg;J=H.initInMemoMaxSize||Lx,$(H);var Z=G.ref(G.cfg,wi);Te(Z,function(pe){G.ref(Z,pe)})})),o=k,L=Hx(e,N,o&&C[Du](),L),Je(),C[ut]=U;var S=E[Fa];if(l=[],l[Ne].apply(l,Sd(Sd([],x,!1),S,!1)),f=E[Ya],re(null),(!v||v[se]===0)&&Jt("No "+Ya+" available"),f&&f[se]>1){var O=C[ho]("TeeChannelController");(!O||!O.plugin)&&Q(n,1,28,"TeeChannel required")}Gx(E,q,n),q=null,r=!0,z===Gn.ACTIVE&&V()},C.getChannels=function(){var E=[];return v&&ee(v,function(x){E[Ne](x)}),vr(E)},C.track=function(E){xo(C[tc](),function(){return"AppInsightsCore:track"},function(){E===null&&(K(E),Jt("Invalid telemetry item")),!E[Zr]&&B(E[Zr])&&(K(E),Jt("telemetry name required")),E.iKey=E.iKey||M,E.time=E.time||Cn(new Date),E.ver=E.ver||"4.0",!d&&C[kr]()&&z===Gn.ACTIVE?te()[jt](E):z!==Gn.INACTIVE&&i[se]<=J&&i[Ne](E)},function(){return{item:E}},!E.sync)},C[Td]=te,C[Du]=function(){return o||(o=new M0(e.cfg),C[wx]=o),o},C[Xs]=function(E){C.getNotifyMgr()[Xs](E)},C[qs]=function(E){o&&o[qs](E)},C.getCookieMgr=function(){return c||(c=Ka(e.cfg,C[ut])),c},C.setCookieMgr=function(E){c!==E&&(Li(c,!1),c=E)},C[tc]=function(){return a||s||dh()},C.setPerfMgr=function(E){a=E},C.eventCnt=function(){return i[se]},C.releaseQueue=function(){if(r&&i[se]>0){var E=i;i=[],z===2?ee(E,function(x){x.iKey=x.iKey||M,te()[jt](x)}):Q(n,2,20,"core init status is not active")}},C.pollInternalLogs=function(E){return m=E||null,I=!1,R&&R[ti](),y(!0)};function $(E){var x=E.instrumentationKey,U=E.endpointUrl;if(z!==3){if(B(x)){M=null,z=Gn.INACTIVE;var k="Please provide instrumentation key";r?(Q(n,1,100,k),V()):Jt(k);return}var S=[];Qr(x)?(S[Ne](x),M=null):M=x,Qr(U)?(S[Ne](U),X=null):X=U,S[se]?ce(E,S):ue()}}function ce(E,x){me=!1,z=3;var U=Nn(E.initTimeOut)?E.initTimeOut:Yx,k=Ky(x);T&&T[ti](),T=Pt(function(){T=null,me||ue()},U),Rt(k,function(S){try{if(me)return;if(!S.rejected){var O=S[bi];if(O&&O[se]){var G=O[0];if(M=G&&G[bi],O[se]>1){var H=O[1];X=H&&H[bi]}}M&&(E.instrumentationKey=M,E.endpointUrl=X)}ue()}catch{me||ue()}})}function ue(){me=!0,B(M)?(z=Gn.INACTIVE,Q(n,1,112,"ikey can't be resolved from promises")):z=Gn.ACTIVE,V()}function V(){r&&(C.releaseQueue(),C.pollInternalLogs())}
11function y(E){if((!R||!R[go])&&!I){var x=E||n&&n.queue[se]>0;x&&(A||(A=!0,P(e[ei](function(U){var k=U.cfg.diagnosticLogInterval;(!k||!(k>0))&&(k=1e4);var S=!1;R&&(S=R[go],R[ti]()),R=Ry(ke,k),R.unref(),R[go]=S}))),R[go]=!0)}return R}C[Sv]=function(){I=!0,R&&R[ti](),ke()},yo(C,function(){return p},["addTelemetryInitializer"]),C[Tn]=function(E,x,U){E===void 0&&(E=!0),r||Jt(Mx),d&&Jt(B0);var k={reason:50,isAsync:E,flushComplete:!1},S;E&&!x&&(S=gr(function(H){x=H}));var O=uc(he(),C);O[Iu](function(){N.run(C[ut]),Bd([c,o,n],E,function(){Y(),x&&x(k)})},C);function G(H){k.flushComplete=H,d=!0,h.run(O,k),C[Sv](),O[jt](k)}return ke(),Et(E,G,6,U)||G(!1),S},C[ho]=ye,C.addPlugin=function(E,x,U,k){if(!E){k&&k(!1),Xt(K0);return}var S=ye(E[ri]);if(S&&!x){k&&k(!1),Xt("Plugin ["+E[ri]+"] is already loaded!");return}var O={reason:16};function G(pe){l[Ne](E),O.added=[E],re(O),k&&k(!0)}if(S){var H=[S.plugin],Z={reason:2,isAsync:!!U};be(H,Z,function(pe){pe?(O.removed=H,O.reason|=32,G(!0)):k&&k(!1)})}else G(!1)},C.updateCfg=function(E,x){x===void 0&&(x=!0);var U;if(C[kr]()){U={reason:1,cfg:e.cfg,oldCfg:rv({},e.cfg),newConfig:rv({},E),merge:x},E=U.newConfig;var k=e.cfg;E[Fa]=k[Fa],E[Ya]=k[Ya]}e._block(function(S){var O=S.cfg;gh(S,O,E,x),x||Te(O,function(G){Fn(E,G)||S.set(O,G,nn)}),S.setDf(O,hh)},!0),e.notify(),U&&tt(U)},C.evtNamespace=function(){return _},C.flush=Et,C.getTraceCtx=function(E){return F||(F=U0()),F},C.setTraceCtx=function(E){F=E||null},C.addUnloadHook=P,Ga(C,"addUnloadCb",function(){return h},"add"),C.onCfgChange=function(E){var x;return r?x=je(e.cfg,E,C[ut]):x=kx(q,E),Vx(x)},C.getWParam=function(){return Eu()||e.cfg.enableWParam?0:-1};function g(){var E={};D=[];var x=function(U){U&&ee(U,function(k){if(k[ri]&&k[Au]&&!E[k.identifier]){var S=k[ri]+"="+k[Au];D[Ne](S),E[k.identifier]=k}})};x(v),f&&ee(f,function(U){x(U)}),x(l)}function Y(){r=!1,e=kt({},hh,C[ut]),e.cfg[yd]=1,xe(C,"config",{g:function(){return e.cfg},s:function(x){C.updateCfg(x,!1)}}),xe(C,"pluginVersionStringArr",{g:function(){return D||g(),D}}),xe(C,"pluginVersionString",{g:function(){return W||(D||g(),W=D.join(";")),W||Oe}}),xe(C,"logger",{g:function(){return n||(n=new sc(e.cfg),e[ut]=n),n},s:function(x){e[ut]=x,n!==x&&(Li(n,!1),n=x)}}),C[ut]=new sc(e.cfg),w=[];var E=C.config[Fa]||[];E.splice(0,E[se]),Ai(E,w),p=new V0,i=[],Li(o,!1),o=null,a=null,s=null,Li(c,!1),c=null,u=null,l=[],f=null,v=null,d=!1,m=null,_=yt("AIBaseCore",!0),h=Zd(),F=null,M=null,N=rp(),q=[],W=null,D=null,I=!1,R=null,A=!1,z=0,X=null,J=null,me=!1,T=null}function te(){var E=Gt(he(),e.cfg,C);return E[Iu](y),E}function re(E){var x=Ux(C[ut],h0,l);u=null,W=null,D=null,v=(f||[])[0]||[],v=Jd(Ai(v,x[Ya]));var U=Ai(Jd(x[Tt]),v);w=vr(U);var k=C.config[Fa]||[];k.splice(0,k[se]),Ai(k,w);var S=te();v&&v[se]>0&&mh(S[ni](v),U),mh(S,U),E&&tt(E)}function ye(E){var x=null,U=null,k=[];return ee(w,function(S){if(S[ri]===E&&S!==p)return U=S,-1;S.getChannel&&k[Ne](S)}),!U&&k[se]>0&&ee(k,function(S){if(U=S.getChannel(E),!U)return-1}),U&&(x={plugin:U,setEnabled:function(S){Fi(U)[Lu]=!S},isEnabled:function(){var S=Fi(U);return!S[en]&&!S[Lu]},remove:function(S,O){S===void 0&&(S=!0);var G=[U],H={reason:1,isAsync:S};be(G,H,function(Z){Z&&re({reason:32,removed:G}),O&&O(Z)})}}),x}function he(){if(!u){var E=(w||[]).slice();st(E,p)===-1&&E[Ne](p),u=Ro(Jd(E),e.cfg,C)}return u}function be(E,x,U){if(E&&E[se]>0){var k=Ro(E,e.cfg,C),S=uc(k,C);S[Iu](function(){var O=!1,G=[];ee(l,function(Z,pe){j0(Z,E)?O=!0:G[Ne](Z)}),l=G,W=null,D=null;var H=[];f&&(ee(f,function(Z,pe){var ge=[];ee(Z,function(we){j0(we,E)?O=!0:ge[Ne](we)}),H[Ne](ge)}),f=H),U&&U(O),y()}),S[jt](x)}else U(!1)}function ke(){if(n&&n.queue){var E=n.queue.slice(0);n.queue[se]=0,ee(E,function(x){var U={name:m||"InternalMessageId: "+x[$s],iKey:M,time:Cn(new Date),baseType:Yi.dataType,baseData:{message:x[ii]}};C.track(U)})}}function Et(E,x,U,k){var S=1,O=!1,G=null;k=k||5e3;function H(){S--,O&&S===0&&(G&&G[ti](),G=null,x&&x(O),x=null)}if(v&&v[se]>0){var Z=te()[ni](v);Z.iterate(function(pe){if(pe.flush){S++;var ge=!1;pe.flush(E,function(){ge=!0,H()},U)||ge||(E&&G==null?G=Pt(function(){G=null,H()},k):H())}})}return O=!0,H(),!0}function Je(){var E;P(e[ei](function(x){var U=x.cfg.enablePerfMgr;if(U){var k=x.cfg[Ad];(E!==k||!E)&&(k||(k=Fx),Kt(x.cfg,Ad,k),E=k,s=null),!a&&!s&&le(k)&&(s=k(C,C[Du]()))}else s=null,E=null}))}function tt(E){var x=Ju(he(),C);x[Iu](y),(!C._updateHook||C._updateHook(x,E)!==!0)&&x[jt](E)}function Xt(E){var x=C[ut];x?(Q(x,2,73,E),y()):Jt(E)}function K(E){var x=C[Du]();x&&x[To]([E],2)}function P(E){N.add(E)}})}return t.__ieDyn=1,t})();function Zu(t,e){try{if(t&&t!==""){var r=Ut().parse(t);if(r&&r[Nv]&&r[Nv]>=r.itemsAccepted&&r.itemsReceived-r.itemsAccepted===r.errors[se])return r}}catch(n){Q(e,1,43,"Cannot parse the response. "+(n[Zr]||ne(n)),{response:t})}return null}var zn="",Bx="NoResponseBody",W0="&"+Bx+"=true",Sh="POST",Th=(function(){function t(){var e=0,r,n,i,o,a,s,c,u,l,f,v,d,p,m;Re(t,this,function(_,h){var N=!0;me(),_[Ri]=function(T,R){i=R,n&&Q(i,1,28,"Sender is already initialized"),_.SetConfig(T),n=!0},_._getDbgPlgTargets=function(){return[n,o,s,r]},_.SetConfig=function(T){try{if(a=T.senderOnCompleteCallBack||{},s=!!T.disableCredentials,c=T.fetchCredentials,o=!!T.isOneDs,r=!!T.enableSendPromise,l=!!T.disableXhr,f=!!T.disableBeacon,v=!!T.disableBeaconSync,m=T.timeWrapper,p=!!T.addNoResponse,d=!!T.disableFetchKeepAlive,u={sendPOST:z},o||(N=!1),s){var R=cr();R&&R.protocol&&R.protocol[Hn]()==="file:"&&(N=!1)}return!0}catch{}return!1},_.getSyncFetchPayload=function(){return e},_.getSenderInst=function(T,R){return T&&T[se]?q(T,R):null},_.getFallbackInst=function(){return u},_[Eo]=function(T,R){me()},_.preparePayload=function(T,R,A,I){if(!R||I||!A[rn]){T(A);return}try{var C=$e("CompressionStream");if(!le(C)){T(A);return}var $=new ReadableStream({start:function(Y){Y.enqueue(fe(A[rn])?new TextEncoder().encode(A[rn]):A[rn]),Y.close()}}),ce=$.pipeThrough(new C("gzip")),ue=ce.getReader(),V=[],y=0,g=!1;return Rt(ue.read(),function Y(te){if(!g&&!te.rejected){var re=te[bi];if(!re.done)return V[Ne](re[bi]),y+=re.value[se],Rt(ue.read(),Y);for(var ye=new Uint8Array(y),he=0,be=0,ke=V;be<ke.length;be++){var Et=ke[be];ye.set(Et,he),he+=Et[se]}A[rn]=ye,A[Ou]["Content-Encoding"]="gzip",A._chunkCount=V[se]}g||(g=!0,T(A))}),ue}catch{T(A);return}};function L(T,R){w(R,200,{},T)}function F(T,R){Q(i,2,26,"Failed to send telemetry.",{message:T}),w(R,400,{})}function M(T){F("No endpoint url is provided for the batch",T)}
11function q(T,R){for(var A=0,I=null,C=0;I==null&&C<T[se];)A=T[C],!l&&A===1?Kv()?I=J:No()&&(I=z):A===2&&Ba(R)&&(!R||!d)?I=X:A===3&&Mi()&&(R?!v:!f)&&(I=W),C++;return I?{_transport:A,_isSync:R,sendPOST:I}:null}function w(T,R,A,I){try{T&&T(R,A,I)}catch{}}function D(T,R){var A=sr(),I=T[Qs];if(!I)return M(R),!0;I=T[Qs]+(p?W0:zn);var C=T[rn],$=o?C:new Blob([C],{type:"text/plain;charset=UTF-8"}),ce=A.sendBeacon(I,$);return ce}function W(T,R,A){var I=T[rn];try{if(I)if(D(T,R))L(zn,R);else{var C=a&&a.beaconOnRetry;C&&le(C)?C(T,R,D):(u&&u.sendPOST(T,R,!0),Q(i,2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}catch($){o&&on(i,"Failed to send telemetry using sendBeacon API. Ex:"+ne($)),w(R,o?0:400,{},zn)}}function z(T,R,A){var I,C,$,ce=T[Ou]||{};!A&&r&&(I=gr(function(g,Y){C=g,$=Y})),o&&A&&T.disableXhrSync&&(A=!1);var ue=T[Qs];if(!ue){M(R),C&&C(!1);return}var V=Yv(Sh,ue,N,!0,A,T[La]);o||V.setRequestHeader("Content-type","application/json"),ee(_r(ce),function(g){V.setRequestHeader(g,ce[g])}),V.onreadystatechange=function(){o||(y(V),V.readyState===4&&C&&C(!0))},V.onload=function(){o&&y(V)};function y(g){var Y=a&&a.xhrOnComplete,te=Y&&le(Y);if(te)Y(g,R,T);else{var re=rc(g);w(R,g[Bn],Fu(g,o),re)}}return V.onerror=function(g){w(R,o?V[Bn]:400,Fu(V,o),o?zn:Va(V)),$&&$(g)},V.ontimeout=function(){w(R,o?V[Bn]:500,Fu(V,o),o?zn:Va(V)),C&&C(!1)},V.send(T[rn]),I}function X(T,R,A){var I,C=T[Qs],$=T[rn],ce=o?$:new Blob([$],{type:"application/json"}),ue,V,y,g=new Headers,Y=$[se],te=!1,re=!1,ye=T[Ou]||{},he=(I={method:Sh,body:ce},I[Qv]=!0,I);T.headers&&_r(T.headers)[se]>0&&(ee(_r(ye),function(Je){g.append(Je,ye[Je])}),he[Ou]=g),c?he.credentials=c:N&&o&&(he.credentials="include"),A&&(he.keepalive=!0,e+=Y,o?T._sendReason===2&&(te=!0,p&&(C+=W0)):te=!0);var be=new Request(C,he);try{be[Qv]=!0}catch{}if(!A&&r&&(ue=gr(function(Je,tt){V=Je,y=tt}
11)),!C){M(R),V&&V(!1);return}function ke(Je,tt){tt?w(R,o?0:tt,{},o?zn:Je):w(R,o?0:400,{},o?zn:Je)}function Et(Je,tt,Xt){var K=Je[Bn],P=a.fetchOnComplete;P&&le(P)?P(Je,R,Xt||zn,tt):w(R,K,{},Xt||zn)}try{Rt(fetch(o?C:be,o?he:null),function(Je){if(A&&(e-=Y,Y=0),!re)if(re=!0,Je.rejected)ke(Je.reason&&Je.reason[ii],499),y&&y(Je.reason);else{var tt=Je[bi];try{!o&&!tt.ok?(tt[Bn]?ke(tt.statusText,tt[Bn]):ke(tt.statusText,499),V&&V(!1)):o&&!tt.body?(Et(tt,null,zn),V&&V(!0)):Rt(tt.text(),function(Xt){Et(tt,T,Xt[bi]),V&&V(!0)})}catch(Xt){tt&&tt[Bn]?ke(ne(Xt),tt[Bn]):ke(ne(Xt),499),y&&y(Xt)}}})}catch(Je){re||(ke(ne(Je),499),y&&y(Je))}return te&&!re&&(re=!0,w(R,200,{}),V&&V(!0)),o&&!re&&T[La]>0&&m&&m.set(function(){re||(re=!0,w(R,500,{}),V&&V(!0))},T[La]),ue}function J(T,R,A){var I=Yt(),C=new XDomainRequest,$=T[rn];C.onload=function(){var g=rc(C),Y=a&&a.xdrOnComplete;Y&&le(Y)?Y(C,R,T):w(R,200,{},g)},C.onerror=function(){w(R,400,{},o?zn:Yu(C))},C.ontimeout=function(){w(R,500,{})},C.onprogress=function(){};var ce=I&&I.location&&I.location.protocol||"",ue=T[Qs];if(!ue){M(R);return}if(!o&&ue.lastIndexOf(ce,0)!==0){var V="Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol.";Q(i,2,40,". "+V),F(V,R);return}var y=o?ue:ue[Vn](/^(https?:)/,"");C.open(Sh,y),T[La]&&(C[La]=T[La]),C.send($),o&&A?m&&m.set(function(){C.send($)},0):C.send($)}function me(){e=0,n=!1,r=!1,i=null,o=null,a=null,s=null,c=null,u=null,l=!1,f=!1,v=!1,d=!1,p=!1,m=null}})}return t.__ieDyn=1,t})();var eN="on",q0="attachEvent",X0="addEventListener",$0="detachEvent",Q0="removeEventListener",yh="events",Nh="visibilitychange",ap="pagehide";var tN="unload",rN="beforeunload",nN=yt("aiEvtPageHide"),$Y=yt("aiEvtPageShow"),jx=/\.[\.]+/g,zx=/[\.]+$/,Kx=1,np=Fd("events"),Wx=/^([^.]*)(?:\.(.+)|)/;function J0(t){return t&&t[Vn]?t[Vn](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,Oe):t}function Ch(t,e){if(e){var r=Oe;Se(e)?(r=Oe,ee(e,function(i){i=J0(i),i&&(i[0]!=="."&&(i="."+i),r+=i)})):r=J0(e),r&&(r[0]!=="."&&(r="."+r),t=(t||Oe)+r)}var n=Wx.exec(t||Oe)||[];return{type:n[1],ns:(n[2]||Oe).replace(jx,".").replace(zx,Oe)[yn](".").sort().join(".")}}function iN(t,e,r){r===void 0&&(r=!0);var n=np.get(t,yh,{},r),i=n[e];return i||(i=n[e]=[]),i}function oN(t,e,r,n){t&&e&&e[Oi]&&(t[Q0]?t[Q0](e[Oi],r,n):t[$0]&&t[$0](eN+e[Oi],r))}function qx(t,e,r,n){var i=!1;return t&&e&&e[Oi]&&r&&(t[X0]?(t[X0](e[Oi],r,n),i=!0):t[q0]&&(t[q0](eN+e[Oi],r),i=!0)),i}function Z0(t,e,r,n){for(var i=e[se];i--;){var o=e[i];o&&(!r.ns||r.ns===o[Tv].ns)&&(!n||n(o))&&(oN(t,o[Tv],o.handler,o.capture),e[Ur](i,1))}}function Xx(t,e,r){if(e[Oi])Z0(t,iN(t,e[Oi]),e,r);else{var n=np.get(t,yh,{});Te(n,function(i,o){Z0(t,o,e,r)}),_r(n)[se]===0&&np.kill(t,yh)}}function Ar(t,e){var r;return e?(Se(e)?r=[t].concat(e):r=[t,e],r=Ch("xx",r).ns[yn](".")):r=t,r}function Vr(t,e,r,n,i){i===void 0&&(i=!1);var o=!1;if(t)try{var a=Ch(e,n);if(o=qx(t,a,r,i),o&&np.accept(t)){var s={guid:Kx++,evtName:a,handler:r,capture:i};iN(t,a.type)[Ne](s)}}catch{}return o}function ui(t,e,r,n,i){if(i===void 0&&(i=!1),t)try{var o=Ch(e,n),a=!1;Xx(t,o,function(s){return o.ns&&!r||s.handler===r?(a=!0,!0):!1}),a||oN(t,o,r,i)}catch{}}function aN(t,e,r){var n=!1,i=Yt();i&&(n=Vr(i,t,e,r),n=Vr(i.body,t,e,r)||n);var o=ct();return o&&(n=Vr(o,t,e,r)||n),n}function sN(t,e,r){var n=Yt();n&&(ui(n,t,e,r),ui(n.body,t,e,r));var i=ct();i&&ui(i,t,e,r)}function ip(t,e,r,n){var i=!1;return e&&t&&t[se]>0&&ee(t,function(o){o&&(!r||st(r,o)===-1)&&(i=aN(o,e,n)||i)}),i}function cN(t,e,r,n){var i=!1;return e&&t&&Se(t)&&(i=ip(t,e,r,n),!i&&r&&r[se]>0&&(i=ip(t,e,null,n))),i}function op(t,e,r){t&&Se(t)&&ee(t,function(n){n&&sN(n,e,r)}
11)}function Dh(t,e,r){return cN([rN,tN,ap],t,e,r)}function Ih(t,e){op([rN,tN,ap],t,e)}function el(t,e,r){function n(a){var s=ct();t&&s&&s.visibilityState==="hidden"&&t(a)}var i=Ar(nN,r),o=ip([ap],t,e,i);return(!e||st(e,Nh)===-1)&&(o=ip([Nh],n,e,i)||o),!o&&e&&(o=el(t,null,r)),o}function Ah(t,e){var r=Ar(nN,e);op([ap],t,r),op([Nh],null,r)}var uN="_aiHooks",lN=["req","rsp","hkErr","fnErr"];function xh(t,e){if(t)for(var r=0;r<t[se]&&!e(t[r],r);r++);}function Ph(t,e,r,n,i){i>=0&&i<=2&&xh(t,function(o,a){var s=o.cbks,c=s[lN[i]];if(c){e.ctx=function(){var f=n[a]=n[a]||{};return f};try{c[Sn](e.inst,r)}catch(f){var u=e.err;try{var l=s[lN[2]];l&&(e.err=f,l[Sn](e.inst,r))}catch{}finally{e.err=u}}}})}function $x(t){return function(){var e=this,r=arguments,n=t.h,i={name:t.n,inst:e,ctx:null,set:c},o=[],a=s([i],r);i.evt=$e("event");function s(l,f){return xh(f,function(v){l[Ne](v)}),l}function c(l,f){r=s([],r),r[l]=f,a=s([i],r)}Ph(n,i,a,o,0);var u=t.f;if(u)try{i.rslt=u[Sn](e,r)}catch(l){throw i.err=l,Ph(n,i,a,o,3),l}return Ph(n,i,a,o,1),i.rslt}}function Rh(t,e,r,n){var i=null;return t&&(mr(t,e)?i=t:r&&(i=Rh(Qy(t),e,n,!1))),i}function bh(t,e,r){return t?tl(t[hr],e,r,!1):null}function fN(t,e,r,n){var i=r&&r[uN];if(!i){i={i:0,n:e,f:r,h:[]};var o=$x(i);o[uN]=i,t[e]=o}var a={id:i.i,cbks:n,rm:function(){var s=this.id;xh(i.h,function(c,u){if(c.id===s)return i.h[Ur](u,1),1})}};return i.i++,i.h[Ne](a),a}function tl(t,e,r,n,i){if(n===void 0&&(n=!0),t&&e&&r){var o=Rh(t,e,n,i);if(o){var a=o[e];if(typeof a===zs)return fN(o,e,a,r)}}return null}function lc(t,e,r,n,i){if(t&&e&&r){var o=Rh(t,e,n,i)||t;if(o)return fN(o,e,o[e],r)}return null}var li="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",rl="sampleRate",nl="ProcessLegacy",sp="http.method",$a="https://dc.services.visualstudio.com",fi="/v2/track",Ht="not_specified",cp="iKey";var Qe=Ev({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]});var Ui="split",Ie="length",ki="toLowerCase",wo="ingestionendpoint",Mo="toString",up="removeItem",Lo="message",Yo="count",lp="preTriggerDate",fp="getUTCDate",Qa="stringify",il="pathname",Ja="match",Oh="correlationHeaderExcludePatterns",rr="name";var ur="properties",Er="measurements",ol="sizeInBytes",al="typeName",fc="exceptions",Za="severityLevel",dp="problemGroup",es="parsedStack",sl="hasFullStack",cl="assembly",di="fileName",ts="line",dc="aiDataContract",rs="duration";function wh(t,e,r){var n=e[Ie],i=dN(t,e);if(i[Ie]!==n){for(var o=0,a=i;r[a]!==void 0;)o++,a=Zt(i,0,147)+pN(o);i=a}return i}function dN(t,e){var r;return e&&(e=Ve(Dt(e)),e[Ie]>150&&(r=Zt(e,0,150),Q(t,2,57,"name is too long.  It has been truncated to 150 characters.",{name:e},!0))),r||e}function qe(t,e,r){r===void 0&&(r=1024);var n;return e&&(r=r||1024,e=Ve(Dt(e)),e[Ie]>r&&(n=Zt(e,0,r),Q(t,2,61,"string value is too long. It has been truncated to "+r+" characters.",{value:e},!0))),n||e}function Gi(t,e,r){return fe(e)&&(e=Cr(e,r)),Yh(t,e,2048,66)}function ul(t,e){var r;return e&&e[Ie]>32768&&(r=Zt(e,0,32768),Q(t,2,56,"message is too long, it has been truncated to 32768 characters.",{message:e},!0)),r||e}function Mh(t,e){var r;if(e){var n=""+e;n[Ie]>32768&&(r=Zt(n,0,32768),Q(t,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:e},!0))}return r||e}function Pr(t,e){if(e){var r={};Te(e,function(n,i){if(It(i)&&ai())try{i=Ut()[Qa](i)}catch(o){Q(t,2,49,"custom property is not valid",{exception:o},!0)}i=qe(t,i,8192),n=wh(t,n,r),r[n]=i}),e=r}return e}function xr(t,e){if(e){var r={};Te(e,function(n,i){n=wh(t,n,r),r[n]=i}),e=r}return e}function Lh(t,e){return e&&Yh(t,e,128,69)[Mo]()}function Yh(t,e,r,n){var i;return e&&(e=Ve(Dt(e)),e[Ie]>r&&(i=Zt(e,0,r),Q(t,2,n,"input is too long, it has been truncated to "+r+" characters.",{data:e},!0))),i||e}function pN(t){var e="00"+t;return Un(e,e[Ie]-3)}var mN=ct()||{},_N=0,tR=[null,null,null,null,null];function ll(t){var e=_N,r=tR,n=r[e];return mN.createElement?r[e]||(n=r[e]=mN.createElement("a")):n={host:vN(t,!0)},n.href=t,e++,e>=r[Ie]&&(e=0),_N=e,n}function Fh(t){var e,r=ll(t);return r&&(e=r.href),e}function Uh(t,e){return t?t.toUpperCase()+" "+e:e}function vN(t,e){var r=pp(t,e)||"";if(r){var n=r[Ja](/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[Ie]>3&&fe(n[2])&&n[2][Ie]>0)return n[2]+(n[3]||"")}return r}function pp(t,e){var r=null;if(t){var n=t[Ja](/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[Ie]>2&&fe(n[2])&&n[2][Ie]>0&&(r=n[2]||"",e&&n[Ie]>2)){var i=(n[1]||"")[ki](),o=n[3]||"";(i==="http"&&o===":80"||i==="https"&&o===":443")&&(o=""),r+=o}}return r}var rR=[$a+fi,"https://breeze.aimon.applicationinsights.io"+fi,"https://dc-int.services.visualstudio.com"+fi],nR="cid-v1:";function pc(t){return st(rR,t[ki]())!==-1}function mp(t,e,r){if(!e||t&&t.disableCorrelationHeaders)return!1;if(t&&t[Oh]){for(var n=0;n<t.correlationHeaderExcludePatterns[Ie];n++)if(t[Oh][n].test(e))return!1}var i=ll(e).host[ki]();if(i&&(Ze(i,":443")!==-1||Ze(i,":80")!==-1)&&(i=(pp(e,!0)||"")[ki]()),(!t||!t.enableCorsCorrelation)&&i&&i!==r)return!1;var o=t&&t.correlationHeaderDomains;if(o){var a;if(ee(o,function(u){var l=new RegExp(u.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));a=a||l.test(i)}
11),!a)return!1}var s=t&&t.correlationHeaderExcludedDomains;if(!s||s[Ie]===0)return!0;for(var n=0;n<s[Ie];n++){var c=new RegExp(s[n].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));if(c.test(i))return!1}return i&&i[Ie]>0}function _p(t){if(t){var e=hN(t,Qe[1]);if(e&&e!==nR)return e}}function hN(t,e){if(t)for(var r=t[Ui](","),n=0;n<r[Ie];++n){var i=r[n][Ui]("=");if(i[Ie]===2&&i[0]===e)return i[1]}}function gN(t,e,r,n){var i,o=n,a=n;if(e&&e[Ie]>0){var s=ll(e);if(i=s.host,!o)if(s[il]!=null){var c=s.pathname[Ie]===0?"/":s[il];c.charAt(0)!=="/"&&(c="/"+c),a=s[il],o=qe(t,r?r+" "+c:c)}else o=qe(t,e)}else i=n,o=n;return{target:i,name:o,data:a}}function mc(){var t=Nr();if(t&&t.now&&t.timing){var e=t.now()+t.timing.navigationStart;if(e>0)return e}return Lt()}function Wt(t,e){var r=null;return t!==0&&e!==0&&!B(t)&&!B(e)&&(r=e-t),r}function ns(t,e){var r=t||{};return{getName:function(){return r[rr]},setName:function(n){e&&e.setName(n),r[rr]=n},getTraceId:function(){return r.traceID},setTraceId:function(n){e&&e.setTraceId(n),qa(n)&&(r.traceID=n)},getSpanId:function(){return r.parentID},setSpanId:function(n){e&&e.setSpanId(n),Xa(n)&&(r.parentID=n)},getTraceFlags:function(){return r.traceFlags},setTraceFlags:function(n){e&&e.setTraceFlags(n),r.traceFlags=n}}}var _c=Oa({LocalStorage:0,SessionStorage:1});var Fo=void 0,Uo=void 0,EN="";function kh(){return os()?vp(_c.LocalStorage):null}function vp(t){try{if(B(At()))return null;var e=new Date()[Mo](),r=$e(t===_c.LocalStorage?"localStorage":"sessionStorage"),n=EN+e;r.setItem(n,e);var i=r.getItem(n)!==e;if(r[up](n),!i)return r}catch{}return null}function Gh(){return ko()?vp(_c.SessionStorage):null}function Hh(){Fo=!1,Uo=!1}function is(t){EN=t||""}function Vh(){Fo=os(!0),Uo=ko(!0)}function os(t){return(t||Fo===void 0)&&(Fo=!!vp(_c.LocalStorage)),Fo}function fl(t,e){var r=kh();if(r!==null)try{return r.getItem(e)}catch(n){Fo=!1,Q(t,2,1,"Browser failed read of local storage. "+Ue(n),{exception:ne(n)})}return null}function dl(t,e,r){var n=kh();if(n!==null)try{return n.setItem(e,r),!0}catch(i){Fo=!1,Q(t,2,3,"Browser failed write to local storage. "+Ue(i),{exception:ne(i)})}return!1}function Bh(t,e){var r=kh();if(r!==null)try{return r[up](e),!0}catch(n){Fo=!1,Q(t,2,5,"Browser failed removal of local storage item. "+Ue(n),{exception:ne(n)})}return!1}function ko(t){return(t||Uo===void 0)&&(Uo=!!vp(_c.SessionStorage)),Uo}function vc(t,e){var r=Gh();if(r!==null)try{return r.getItem(e)}catch(n){Uo=!1,Q(t,2,2,"Browser failed read of session storage. "+Ue(n),{exception:ne(n)})}return null}function pl(t,e,r){var n=Gh();if(n!==null)try{return n.setItem(e,r),!0}catch(i){Uo=!1,Q(t,2,4,"Browser failed write to session storage. "+Ue(i),{exception:ne(i)})}return!1}function ml(t,e){var r=Gh();if(r!==null)try{return r[up](e),!0}catch(n){Uo=!1,Q(t,2,6,"Browser failed removal of session storage item. "+Ue(n),{exception:ne(n)})}return!1}var iR="appInsightsThrottle",jh=(function(){function t(e,r){var n=this,i,o,a,s,c,u,l,f=!1,v=!1;p(),n._getDbgPlgTargets=function(){return[l]},n.getConfig=function(){return a},n.canThrottle=function(T){var R=X(T),A=m(T);return N(A,i,R)},n.isTriggered=function(T){return J(T)},n.isReady=function(){return f},n.flush=function(T){try{var R=me(T);if(R&&R[Ie]>0){var A=R.slice(0);return l[T]=[],ee(A,function(I){d(I.msgID,I[Lo],I.severity,!1)}),!0}}catch{}return!1},n.flushAll=function(){try{if(l){var T=!0;return Te(l,function(R){var A=n.flush(parseInt(R));T=T&&A}),T}}catch{}return!1},n.onReadyState=function(T,R){return R===void 0&&(R=!0),f=B(T)?!0:T,f&&R?n.flushAll():null},n.sendMessage=function(T,R,A){return d(T,R,A,!0)};function d(T,R,A,I){if(f){var C=z(T);if(!C)return;var $=m(T),ce=X(T),ue=N($,i,ce),V=!1,y=0,g=J(T);try{ue&&!g?(y=nd($.limit.maxSendNumber,ce[Yo]+1),ce[Yo]=0,V=!0,c[T]=!0,ce[lp]=new Date):(c[T]=ue,ce[Yo]+=1);var Y=L(T);w(o,Y,ce);for(var te=0;te<y;te++)W(T,o,R,A)}catch{}return{isThrottled:V,throttleNum:y}}else if(I){var re=me(T);re.push({msgID:T,message:R,severity:A})}return null}function p(){o=Ir(e),c={},s={},l={},a={},_(109),u=Nn(r)?r:"",e.addUnloadHook(je(e.config,function(T){var R=T.cfg;i=os();var A=R.throttleMgrCfg||{};Te(A,function(I,C){_(parseInt(I),C)})}))}function m(T){return a[T]||a[109]}function _(T,R){var A,I;try{var C=R||{},$={};$.disabled=!!C.disabled;var ce=C.interval||{};v=ce?.daysOfMonth&&ce?.daysOfMonth[Ie]>0,$.interval=h(ce);var ue={samplingRate:((A=C.limit)===null||A===void 0?void 0:A.samplingRate)||100,maxSendNumber:((I=C.limit)===null||I===void 0?void 0:I.maxSendNumber)||1};$.limit=ue,a[T]=$}catch{}}function h(T){T=T||{};var R=T?.monthInterval,A=T?.dayInterval;return B(R)&&B(A)&&(T.monthInterval=3,v||(T.daysOfMonth=[28],v=!0)),T={monthInterval:T?.monthInterval,dayInterval:T?.dayInterval,daysOfMonth:T?.daysOfMonth},T}function N(T,R,A){if(T&&!T.disabled&&R&&Nn(A)){var I=q(),C=A.date,$=T.interval,ce=1;if($?.monthInterval){var ue=(I.getUTCFullYear()-C.getUTCFullYear())*12+I.getUTCMonth()-C.getUTCMonth();ce=D($.monthInterval,0,ue)}var V=1;if(v)V=st($.daysOfMonth,I[fp]());else if($?.dayInterval){var y=er((I.getTime()-C.getTime())/864e5);V=D($.dayInterval,0,y)}return ce>=0&&V>=0}return!1}function L(T,R){var A=Nn(R)?R:"";return T?iR+A+"-"+T:null}function F(T){try{if(T){var R=new Date;return T.getUTCFullYear()===R.getUTCFullYear()&&T.getUTCMonth()===R.getUTCMonth()&&T[fp]()===R[fp]()}}catch{}return!1}function M(T,R,A){try{var I={date:q(),count:0};if(T){var C=JSON.parse(T),$={date:q(C.date)||I.date,count:C[Yo]||I[Yo],preTriggerDate:C.preTriggerDate?q(C[lp]):void 0};return $}else return w(R,A,I),I}catch{}return null}function q(T){try{if(T){var R=new Date(T);if(!isNaN(R.getDate()))return R}else return new Date}catch{}return null}function w(T,R,A){try{return dl(T,R,Ve(JSON[Qa](A)))}catch{}return!1}function D(T,R,A){return T<=0?1:A>=R&&(A-R)%T==0?er((A-R)/T)+1:-1}function W(T,R,A,I){Q(R,I||1,T,A)}function z(T){try{var R=m(T);return qv(1e6)<=R.limit.samplingRate}catch{}return!1}function X(T){try{var R=s[T];if(!R){var A=L(T,u);R=M(fl(o,A),o,A),s[T]=R}return s[T]}catch{}return null}function J(T){var R=c[T];if(B(R)){R=!1;var A=X(T);A&&(R=F(A[lp])),c[T]=R}return c[T]}function me(T){return l=l||{},B(l[T])&&(l[T]=[]),l[T]}}return t})();var oR=";",aR="=";function hp(t){if(!t)return{};var e=t[Ui](oR),r=ev(e,function(i,o){var a=o[Ui](aR);if(a[Ie]===2){var s=a[0][ki](),c=a[1];i[s]=c}return i},{});if(_r(r)[Ie]>0){if(r.endpointsuffix){var n=r.location?r.location+".":"";r[wo]=r[wo]||"https://"+n+"dc."+r.endpointsuffix}r[wo]=r[wo]||$a,Tu(r[wo],"/")&&(r[wo]=r[wo].slice(0,-1))}return r}var zh=(function(){function t(e,r,n){var i=this,o=this;o.ver=1,o.sampleRate=100,o.tags={},o[rr]=qe(e,n)||Ht,o.data=r,o.time=Cn(new Date),o[dc]={time:1,iKey:1,name:1,sampleRate:function(){return i.sampleRate===100?4:1},tags:1,data:1}}return t})();var cn=(function(){function t(e,r,n,i){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var o=this;o.ver=2,o[rr]=qe(e,r)||Ht,o[ur]=Pr(e,n),o[Er]=xr(e,i)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Event",t.dataType="EventData",t})();var sR=58,cR=/^\s{0,50}(from\s|at\s|Line\s{1,5}\d{1,10}\s{1,5}of|\w{1,50}@\w{1,80}|[^\(\s\n]+:[0-9\?]+(?::[0-9\?]+)?)/,uR=/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\]]+):([0-9\?]+):([0-9\?]+)\)?$/,lR=/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\]]+):([0-9\?]+)\)?$/,fR=/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\)\]]+)\)?$/,dR=/(?:^|\(|\s{0,10}[\w\)]+\@)?([^\(\n\s\]\)]+)(?:\:([0-9]+)(?:\:([0-9]+))?)?\)?(?:,|$)/,pR=/([^\(\s\n]+):([0-9]+):([0-9]+)$/,mR=/([^\(\s\n]+):([0-9]+)$/,SN="<no_method>
11",hc="error",Dn="stack",Wh="stackDetails",TN="errorSrc",qh="message",DN="description",yN=[{re:uR,len:5,m:1,fn:2,ln:3,col:4},{chk:vR,pre:_R,re:lR,len:4,m:1,fn:2,ln:3},{re:fR,len:3,m:1,fn:2,hdl:CN},{re:dR,len:2,fn:1,hdl:CN}];function _R(t){return t.replace(/(\(anonymous\))/,"<anonymous>")}function vR(t){return Ze(t,"[native")<0}function Xh(t,e){var r=t;return r&&!fe(r)&&(JSON&&JSON[Qa]?(r=JSON[Qa](t),e&&(!r||r==="{}")&&(le(t[Mo])?r=t[Mo]():r=""+t)):r=""+t+" - (Missing JSON.stringify)"),r||""}function IN(t,e){var r=t;return t&&(r&&!fe(r)&&(r=t[qh]||t[DN]||r),r&&!fe(r)&&(r=Xh(r,!0)),t.filename&&(r=r+" @"+(t.filename||"")+":"+(t.lineno||"?")+":"+(t.colno||"?"))),e&&e!=="String"&&e!=="Object"&&e!=="Error"&&Ze(r||"",e)===-1&&(r=e+": "+r),r||""}function hR(t){try{if(It(t))return"hasFullStack"in t&&"typeName"in t}catch{}return!1}function gR(t){try{if(It(t))return"ver"in t&&"exceptions"in t&&"properties"in t}catch{}return!1}function NN(t){return t&&t.src&&fe(t.src)&&t.obj&&Se(t.obj)}function as(t){var e=t||"";fe(e)||(fe(e[Dn])?e=e[Dn]:e=""+e);var r=e[Ui](`
12`);return{src:e,obj:r}}function ER(t){for(var e=[],r=t[Ui](`
13`),n=0;n<r[Ie];n++){var i=r[n];r[n+1]&&(i+="@"+r[n+1],n++),e.push(i)}return{src:t,obj:e}}function AN(t){var e=null;if(t)try{if(t[Dn])e=as(t[Dn]);else if(t[hc]&&t[hc][Dn])e=as(t[hc][Dn]);else if(t.exception&&t.exception[Dn])e=as(t.exception[Dn]);else if(NN(t))e=t;else if(NN(t[Wh]))e=t[Wh];else if(Yt()&&Yt().opera&&t[qh])e=ER(t[Lo]);else if(t.reason&&t.reason[Dn])e=as(t.reason[Dn]);else if(fe(t))e=as(t);else{var r=t[qh]||t[DN]||"";fe(t[TN])&&(r&&(r+=`
14`),r+=" from "+t[TN]),r&&(e=as(r))}}catch(n){e=as(n)}return e||{src:"",obj:null}}function SR(t){var e="";return t&&(t.obj?e=t.obj.join(`
15`):e=t.src||""),e}function TR(t){var e,r=t.obj;if(r&&r[Ie]>0){e=[];var n=0,i=!1,o=0;ee(r,function(m){if(i||DR(m)){var _=Dt(m);i=!0;var h=IR(_,n);h&&(o+=h[ol],e.push(h),n++)}});var a=32*1024;if(o>a)for(var s=0,c=e[Ie]-1,u=0,l=s,f=c;s<c;){var v=e[s][ol],d=e[c][ol];if(u+=v+d,u>a){var p=f-l+1;e.splice(l,p);break}l=s,f=c,s++,c--}}return e}function gp(t){var e="";if(t&&(e=t.typeName||t[rr]||"",!e))try{var r=/function (.{1,200})\(/,n=r.exec(t.constructor[Mo]());e=n&&n[Ie]>1?n[1]:""}catch{}return e}function Kh(t){if(t)try{if(!fe(t)){var e=gp(t),r=Xh(t,!1);return(!r||r==="{}")&&(t[hc]&&(t=t[hc],e=gp(t)),r=Xh(t,!0)),Ze(r,e)!==0&&e!=="String"?e+":"+r:r}}catch{}return""+(t||"")}var lr=(function(){function t(e,r,n,i,o,a){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var s=this;s.ver=2,gR(r)?(s[fc]=r[fc]||[],s[ur]=r[ur],s[Er]=r[Er],r[Za]&&(s[Za]=r[Za]),r.id&&(s.id=r.id,r[ur].id=r.id),r[dp]&&(s[dp]=r[dp]),B(r.isManual)||(s.isManual=r.isManual)):(n||(n={}),a&&(n.id=a),s[fc]=[PN(e,r,n)],s[ur]=Pr(e,n),s[Er]=xr(e,i),o&&(s[Za]=o),a&&(s.id=a))}return t.CreateAutoException=function(e,r,n,i,o,a,s,c){var u=gp(o||a||e);return{message:IN(e,u),url:r,lineNumber:n,columnNumber:i,error:Kh(o||a||e),evt:Kh(a||e),typeName:u,stackDetails:AN(s||o||a),errorSrc:c}},t.CreateFromInterface=function(e,r,n,i){var o=r[fc]&&xa(r[fc],function(s){return CR(e,s)}),a=new t(e,xt(xt({},r),{exceptions:o}),n,i);return a},t.prototype.toInterface=function(){var e=this,r=e.exceptions,n=e.properties,i=e.measurements,o=e.severityLevel,a=e.problemGroup,s=e.id,c=e.isManual,u=r instanceof Array&&xa(r,function(l){return l.toInterface()})||void 0;return{ver:"4.0",exceptions:u,severityLevel:o,properties:n,measurements:i,problemGroup:a,id:s,isManual:c}},t.CreateSimpleException=function(e,r,n,i,o,a){var s;return{exceptions:[(s={},s[sl]=!0,s.message=e,s.stack=o,s.typeName=r,s)]}},t.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",t.dataType="ExceptionData",t.formatError=Kh,t})();var yR=vr({id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2});function NR(){var t=this,e=Se(t[es])&&xa(t[es],function(n){return PR(n)}),r={id:t.id,outerId:t.outerId,typeName:t[al],message:t[Lo],hasFullStack:t[sl],stack:t[Dn],parsedStack:e||void 0};return r}function PN(t,e,r){var n,i,o,a,s,c,u,l;if(hR(e))a=e[al],s=e[Lo],u=e[Dn],l=e[es]||[],c=e[sl];else{var f=e,v=f&&f.evt;Ia(f)||(f=f[hc]||v||f),a=qe(t,gp(f))||Ht,s=ul(t,IN(e||f,a))||Ht;var d=e[Wh]||AN(e);l=TR(d),Se(l)&&xa(l,function(p){p[cl]=qe(t,p[cl]),p[di]=qe(t,p[di])}),u=Mh(t,SR(d)),c=Se(l)&&l[Ie]>0,r&&(r[al]=r[al]||a)}return n={},n[dc]=yR,n.id=i,n.outerId=o,n.typeName=a,n.message=s,n[sl]=c,n.stack=u,n.parsedStack=l,n.toInterface=NR,n}function CR(t,e){var r=Se(e[es])&&xa(e[es],function(i){return AR(i)})||e[es],n=PN(t,xt(xt({},e),{parsedStack:r}));return n}function xN(t,e){var r=e[Ja](pR);if(r&&r[Ie]>=4)t[di]=r[1],t[ts]=parseInt(r[2]);else{var n=e[Ja](mR);n&&n[Ie]>=3?(t[di]=n[1],t[ts]=parseInt(n[2])):t[di]=e}}function CN(t,e,r){var n=t[di];e.fn&&r&&r[Ie]>e.fn&&(e.ln&&r[Ie]>e.ln?(n=Ve(r[e.fn]||""),t[ts]=parseInt(Ve(r[e.ln]||""))||0):n=Ve(r[e.fn]||"")),n&&xN(t,n)}function DR(t){var e=!1;if(t&&fe(t)){var r=Ve(t);r&&(e=cR.test(r))}return e}var RN=vr({level:1,method:1,assembly:0,fileName:0,line:0});function IR(t,e){var r,n;if(t&&fe(t)&&Ve(t)){n=(r={},r[dc]=RN,r.level=e,r.assembly=Ve(t),r.method=SN,r.fileName="",r.line=0,r.sizeInBytes=0,r);for(var i=0;i<yN[Ie];){var o=yN[i];if(o.chk&&!o.chk(t))break;o.pre&&(t=o.pre(t));var a=t[Ja](o.re);if(a&&a[Ie]>=o.len){o.m&&(n.method=Ve(a[o.m]||SN)),o.hdl?o.hdl(n,o,a):o.fn&&(o.ln?(n[di]=Ve(a[o.fn]||""),n[ts]=parseInt(Ve(a[o.ln]||""))||0):xN(n,a[o.fn]||""));break}i++}}return bN(n)}function AR(t){var e,r=(e={},e[dc]=RN,e.level=t.level,e.method=t.method,e.assembly=t[cl],e.fileName=t[di],e.line=t[ts],e.sizeInBytes=0,e);return bN(r)}function bN(t){var e=sR;return t&&(e+=t.method[Ie],e+=t.assembly[Ie],e+=t.fileName[Ie],e+=t.level.toString()[Ie],e+=t.line.toString()[Ie],t[ol]=e),t}function PR(t){return{level:t.level,method:t.method,assembly:t[cl],fileName:t[di],line:t[ts]}}var ON=(function(){function t(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0}return t})();var un=(function(){function t(e,r,n,i,o,a,s,c,u){this.aiDataContract={ver:1,metrics:1,properties:0};var l=this;l.ver=2;var f=new ON;f[Yo]=i>0?i:void 0,f.max=isNaN(a)||a===null?void 0:a,f.min=isNaN(o)||o===null?void 0:o,f[rr]=qe(e,r)||Ht,f.value=n,f.stdDev=isNaN(s)||s===null?void 0:s,l.metrics=[f],l[ur]=Pr(e,c),l[Er]=xr(e,u)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",t.dataType="MetricData",t})();var _l="";function ln(t){(isNaN(t)||t<0)&&(t=0),t=ld(t);var e=_l+t%1e3,r=_l+er(t/1e3)%60,n=_l+er(t/(1e3*60))%60,i=_l+er(t/(1e3*60*60))%24,o=er(t/(1e3*60*60*24));return e=e[Ie]===1?"00"+e:e[Ie]===2?"0"+e:e,r=r[Ie]<2?"0"+r:r,n=n[Ie]<2?"0"+n:n,i=i[Ie]<2?"0"+i:i,(o>0?o+".":_l)+i+":"+n+":"+r+"."+e}function $h(t,e,r,n,i){return!i&&fe(t)&&(t==="Script error."||t==="Script error")}var Rr=(function(){function t(e,r,n,i,o,a,s){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var c=this;
15c.ver=2,c.id=Lh(e,s),c.url=Gi(e,n),c[rr]=qe(e,r)||Ht,isNaN(i)||(c[rs]=ln(i)),c[ur]=Pr(e,o),c[Er]=xr(e,a)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",t.dataType="PageviewData",t})();var fn=(function(){function t(e,r,n,i,o,a,s,c,u,l,f,v){u===void 0&&(u="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var d=this;d.ver=2,d.id=r,d[rs]=ln(o),d.success=a,d.resultCode=s+"",d.type=qe(e,u);var p=gN(e,n,c,i);d.data=Gi(e,i)||p.data,d.target=qe(e,p.target),l&&(d.target="".concat(d.target," | ").concat(l)),d[rr]=qe(e,p[rr]),d[ur]=Pr(e,f),d[Er]=xr(e,v)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",t.dataType="RemoteDependencyData",t})();var Kn=(function(){function t(e,r,n,i,o){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var a=this;a.ver=2,r=r||Ht,a[Lo]=ul(e,r),a[ur]=Pr(e,i),a[Er]=xr(e,o),n&&(a[Za]=n)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Message",t.dataType="MessageData",t})();var Wn=(function(){function t(e,r,n,i,o,a,s){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var c=this;c.ver=2,c.url=Gi(e,n),c[rr]=qe(e,r)||Ht,c[ur]=Pr(e,o),c[Er]=xr(e,a),s&&(c.domProcessing=s.domProcessing,c[rs]=s[rs],c.networkConnect=s.networkConnect,c.perfTotal=s.perfTotal,c.receivedResponse=s.receivedResponse,c.sentRequest=s.sentRequest)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",t.dataType="PageviewPerformanceData",t})();var Hi=(function(){function t(e,r){this.aiDataContract={baseType:1,baseData:1},this.baseType=e,this.baseData=r}return t})();var Ep=Oa({Verbose:0,Information:1,Warning:2,Error:3,Critical:4});function Ho(t){var e="ai."+t+".";return function(r){return e+r}}var vl=Ho("application"),qt=Ho("device"),Sp=Ho("location"),gc=Ho("operation"),Qh=Ho("session"),Go=Ho("user"),ss=Ho("cloud"),hl=Ho("internal"),gl=(function(t){tr(e,t);function e(){return t.call(this)||this}return e})(Lv({applicationVersion:vl("ver"),applicationBuild:vl("build"),applicationTypeId:vl("typeId"),applicationId:vl("applicationId"),applicationLayer:vl("layer"),deviceId:qt("id"),deviceIp:qt("ip"),deviceLanguage:qt("language"),deviceLocale:qt("locale"),deviceModel:qt("model"),deviceFriendlyName:qt("friendlyName"),deviceNetwork:qt("network"),deviceNetworkName:qt("networkName"),deviceOEMName:qt("oemName"),deviceOS:qt("os"),deviceOSVersion:qt("osVersion"),deviceRoleInstance:qt("roleInstance"),deviceRoleName:qt("roleName"),deviceScreenResolution:qt("screenResolution"),deviceType:qt("type"),deviceMachineName:qt("machineName"),deviceVMName:qt("vmName"),deviceBrowser:qt("browser"),deviceBrowserVersion:qt("browserVersion"),locationIp:Sp("ip"),locationCountry:Sp("country"),locationProvince:Sp("province"),locationCity:Sp("city"),operationId:gc("id"),operationName:gc("name"),operationParentId:gc("parentId"),operationRootId:gc("rootId"),operationSyntheticSource:gc("syntheticSource"),operationCorrelationVector:gc("correlationVector"),sessionId:Qh("id"),sessionIsFirst:Qh("isFirst"),sessionIsNew:Qh("isNew"),userAccountAcquisitionDate:Go("accountAcquisitionDate"),userAccountId:Go("accountId"),userAgent:Go("userAgent"),userId:Go("id"),userStoreRegion:Go("storeRegion"),userAuthUserId:Go("authUserId"),userAnonymousUserAcquisitionDate:Go("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Go("authUserAcquisitionDate"),cloudName:ss("name"),cloudRole:ss("role"),cloudRoleVer:ss("roleVer"),cloudRoleInstance:ss("roleInstance"),cloudEnvironment:ss("environment"),cloudLocation:ss("location"),cloudDeploymentUnit:ss("deploymentUnit"),internalNodeName:hl("nodeName"),internalSdkVersion:hl("sdkVersion"),internalAgentVersion:hl("agentVersion"),internalSnippet:hl("snippet"),internalSdkSrc:hl("sdkSrc")}));function In(t,e,r,n,i,o){r=qe(n,r)||Ht,(B(t)||B(e)||B(r))&&Jt("Input doesn't contain all required fields");var a="";t[cp]&&(a=t[cp],delete t[cp]);var s={name:r,time:Cn(new Date),iKey:a,ext:o||{},tags:[],data:{},baseType:e,baseData:t};return B(i)||Te(i,function(c,u){s.data[c]=u}),s}var xR=(function(){function t(){}return t.create=In,t})();var Sr={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},ot=new gl;function cs(t){var e=null;if(le(Event))e=new Event(t);else{var r=ct();r&&r.createEvent&&(e=r.createEvent("Event"),e.initEvent(t,!0,!0))}return e}function wN(t,e){ui(t,null,null,e)}function Jh(t){var e=ct(),r=sr(),n=!1,i=[],o=1;r&&!B(r.onLine)&&!r.onLine&&(o=2);var a=0,s=v(),c=Ar(yt("OfflineListener"),t);try{if(l(Yt())&&(n=!0),e){var u=e.body||e;u.ononline&&l(u)&&(n=!0)}}catch{n=!1}function l(L){var F=!1;return L&&(F=Vr(L,"online",m,c),F&&Vr(L,"offline",_,c)),F}function f(){return s}function v(){return!(a===2||o===2)}function d(){var L=v();s!==L&&(s=L,ee(i,function(F){var M={isOnline:s,rState:o,uState:a};try{F(M)}catch{}}))}function p(L){a=L,d()}function m(){o=1,d()}function _(){o=2,d()}function h(){var L=Yt();
15if(L&&n){if(wN(L,c),e){var F=e.body||e;Ge(F.ononline)||wN(F,c)}n=!1}}function N(L){return i.push(L),{rm:function(){var F=i.indexOf(L);if(F>-1)return i.splice(F,1)}}}return{isOnline:f,isListening:function(){return n},unload:h,addListener:N,setOnlineState:p}}var Vo="AppInsightsPropertiesPlugin",Tp="AppInsightsChannelPlugin",yp="ApplicationInsightsAnalytics";var El="toString",Np="isStorageUseDisabled",us="_addHook",ze="core",Vi="dataType",Bo="envelopeType",Br="diagLog",jo="track",Ec="trackPageView",jr="config",Sl="trackPreviousPageVisit",Bi="sendPageViewInternal",Cp="refUri",ji="startTime",ls="properties",dn="duration",Tl="sendPageViewPerformanceInternal",Sc="populatePageViewPerformanceEvent",zo="href",Zh="sendExceptionInternal",Tc="error",Dp="lineNumber",Ip="columnNumber",Ap="CreateAutoException",yl="addTelemetryInitializer",MN="overridePageViewDuration",Pp="autoExceptionInstrumented",eg="autoTrackPageVisitTime",tg="isBrowserLinkTrackingEnabled",Ko="length",rg="enableAutoRouteTracking",ng="enableUnhandledPromiseRejectionTracking",xp="autoUnhandledPromiseInstrumented",Nl="getEntriesByType",Rp="isPerformanceTimingSupported",bp="getPerformanceTiming",yc="navigationStart",Cl="shouldCollectDuration",Op="isPerformanceTimingDataReady",Nc="responseStart",LN="requestStart",Dl="loadEventEnd",wp="responseEnd",Il="connectEnd";var YN=(function(){function t(e,r,n,i){Re(t,this,function(o){var a=null,s=[],c=!1,u=!1,l;n&&(l=n.logger);function f(p){n&&n.flush(p,function(){})}function v(){a||(a=Pt(function(){a=null;var p=s.slice(0),m=!1;s=[],ee(p,function(_){_()?m=!0:s.push(_)}),s[Ko]>0&&v(),m&&f(!0)},100))}function d(p){s.push(p),v()}o[Ec]=function(p,m){var _=p.name;if(B(_)||typeof _!="string"){var h=ct();_=p.name=h&&h.title||""}var N=p.uri;if(B(N)||typeof N!="string"){var L=cr();N=p.uri=L&&L[zo]||""}if(n&&n[jr]&&(N=p.uri=Cr(p.uri,n[jr])),!u){var F=Nr(),M=F&&F[Nl]&&F[Nl]("navigation");if(M&&M[0]&&!Ge(F.timeOrigin)){var q=M[0].loadEventStart;p[ji]=new Date(F.timeOrigin+q)}else{var w=(m||p[ls]||{})[dn]||0;p[ji]=new Date(new Date().getTime()-w)}u=!0}if(!i[Rp]()){e[Bi](p,m),f(!0),od()||Q(l,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");return}var D=!1,W,z=i[bp]()[yc];z>0&&(W=Wt(z,+new Date),i[Cl](W)||(W=void 0));var X;!B(m)&&!B(m[dn])&&(X=m[dn]),(r||!isNaN(X))&&(isNaN(X)&&(m||(m={}),m[dn]=W),e[Bi](p,m),f(!0),D=!0);var J=6e4;m||(m={}),d(function(){var me=!1;try{if(i[Op]()){me=!0;var T={name:_,uri:N};i[Sc](T),!T.isValid&&!D?(m[dn]=W,e[Bi](p,m)):(D||(m[dn]=T.durationMs,e[Bi](p,m)),c||(e[Tl](T,m),c=!0))}else z>0&&Wt(z,+new Date)>J&&(me=!0,D||(m[dn]=J,e[Bi](p,m)))}catch(R){Q(l,1,38,"trackPageView failed on page load calculation: "+Ue(R),{exception:ne(R)})}return me})},o.teardown=function(p,m){if(a){a.cancel(),a=null;var _=s.slice(0),h=!1;s=[],ee(_,function(N){N()&&(h=!0)})}}})}return t.__ieDyn=1,t})();var RR=36e5,FN=["googlebot","adsbot-google","apis-google","mediapartners-google"];function kN(){var t=Nr();return t&&!!t.timing}function bR(){var t=Nr();return t&&t.getEntriesByType&&t.getEntriesByType("navigation")[Ko]>0}function OR(){var t=Nr(),e=t?t.timing:0;return e&&e.domainLookupStart>0&&e[yc]>0&&e[Nc]>0&&e[LN]>0&&e[Dl]>0&&e[wp]>0&&e[Il]>0&&e.domLoading>0}function UN(){return kN()?Nr().timing:null}function wR(){return bR()?Nr()[Nl]("navigation")[0]:null}function MR(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=sr()||{},n=r.userAgent,i=!1;if(n)for(var o=0;o<FN[Ko];o++)i=i||Ze(n.toLowerCase(),FN[o])!==-1;if(i)return!1;for(var o=0;o<t[Ko];o++)if(t[o]<0||t[o]>=RR)return!1;return!0}var GN=(function(){function t(e){var r=Ir(e);Re(t,this,function(n){n[Sc]=function(i){i.isValid=!1;var o=wR(),a=UN(),s=0,c=0,u=0,l=0,f=0;(o||a)&&(o?(s=o[dn],c=o[ji]===0?o[Il]:Wt(o[ji],o[Il]),u=Wt(o.requestStart,o[Nc]),l=Wt(o[Nc],o[wp]),f=Wt(o.responseEnd,o[Dl])):(s=Wt(a[yc],a[Dl]),c=Wt(a[yc],a[Il]),u=Wt(a.requestStart,a[Nc]),l=Wt(a[Nc],a[wp]),f=Wt(a.responseEnd,a[Dl])),s===0?Q(r,2,10,"error calculating page view performance.",{total:s,network:c,request:u,response:l,dom:f}):n[Cl](s,c,u,l,f)?s<er(c)+er(u)+er(l)+er(f)?Q(r,2,8,"client performance math error.",{total:s,network:c,request:u,response:l,dom:f}):(i.durationMs=s,i.perfTotal=i[dn]=ln(s),i.networkConnect=ln(c),i.sentRequest=ln(u),i.receivedResponse=ln(l),i.domProcessing=ln(f),i.isValid=!0):Q(r,2,45,"Invalid page load duration value. Browser perf data won't be sent.",{total:s,network:c,request:u,response:l,dom:f}))},n[bp]=UN,n[Rp]=kN,n[Op]=OR,n[Cl]=MR})}return t.__ieDyn=1,t})();var HN=(function(){function t(e,r){var n="prevPageVisitData";Re(t,this,function(i){i[Sl]=function(s,c){try{var u=o(s,c);u&&r(u.pageName,u.pageUrl,u.pageVisitTime)}catch(l){on(e,"Auto track page visit time failed, metric will not be collected: "+ne(l))}};function o(s,c){var u=null;
15try{if(u=a(),ko()){vc(e,n)!=null&&Jt("Cannot call startPageVisit consecutively without first calling stopPageVisit");var l=Ut().stringify(new LR(s,c));pl(e,n,l)}}catch(f){on(e,"Call to restart failed: "+ne(f)),u=null}return u}function a(){var s=null;try{if(ko()){var c=Lt(),u=vc(e,n);u&&ai()&&(s=Ut().parse(u),s.pageVisitTime=c-s.pageVisitStartTime,ml(e,n))}}catch(l){on(e,"Stop page visit timer failed: "+ne(l)),s=null}return s}xe(i,"_logger",{g:function(){return e}}),xe(i,"pageVisitTimeTrackingHandler",{g:function(){return r}})})}return t.__ieDyn=1,t})();var LR=(function(){function t(e,r){this.pageVisitStartTime=Lt(),this.pageName=e,this.pageUrl=r}return t})();var ig=(function(){function t(e,r){var n=this,i={};n.start=function(o){typeof i[o]<"u"&&Q(e,2,62,"start was called more than once for this event without calling stop.",{name:o,key:o},!0),i[o]=+new Date},n.stop=function(o,a,s,c){var u=i[o];if(isNaN(u))Q(e,2,63,"stop was called without a corresponding start.",{name:o,key:o},!0);else{var l=+new Date,f=Wt(u,l);n.action(o,a,f,s,c)}delete i[o],i[o]=void 0}}return t})();var br,YR="event";function Al(t,e){t&&t.dispatchEvent&&e&&t.dispatchEvent(e)}function FR(t){if(t&&t.reason){var e=t.reason;return!fe(e)&&le(e[El])?e[El]():ne(e)}return t||""}var VN=6e4,UR=En((br={sessionRenewalMs:jd(BN,1800*1e3),sessionExpirationMs:jd(BN,1440*60*1e3),disableExceptionTracking:gt()},br[eg]=gt(),br[MN]=gt(),br[ng]=gt(),br[xp]=!1,br.samplingPercentage=Do(kR,100),br[Np]=gt(),br[tg]=gt(),br[rg]=gt(),br.namePrefix=Jv(),br.enableDebug=gt(),br.disableFlushOnBeforeUnload=gt(),br.disableFlushOnUnload=gt(!1,"disableFlushOnBeforeUnload"),br.expCfg=Dr({inclScripts:!1,expLog:void 0,maxLogs:50}),br));function BN(t,e){return t=t||e,t<VN&&(t=VN),+t}function kR(t){return!isNaN(t)&&t>0&&t<=100}function GR(t){Ge(t[Np])||(t[Np]?Hh():Vh())}var Mp=(function(t){tr(e,t);function e(){var r=t.call(this)||this;r.identifier=yp,r.priority=180,r.autoRoutePVDelay=500;var n,i,o,a,s,c,u,l,f,v,d,p,m,_,h,N,L,F,M,q,w;return Re(e,r,function(D,W){var z=W[us];V(),D.getCookieMgr=function(){return Wa(D[ze])},D.processTelemetry=function(y,g){D.processNext(y,g)},D.trackEvent=function(y,g){try{var Y=In(y,cn[Vi],cn[Bo],D[Br](),g);D[ze][jo](Y)}catch(te){ue(2,39,"trackTrace failed, trace will not be collected: "+Ue(te),{exception:ne(te)})}},D.startTrackEvent=function(y){try{n.start(y)}catch(g){ue(1,29,"startTrackEvent failed, event will not be collected: "+Ue(g),{exception:ne(g)})}},D.stopTrackEvent=function(y,g,Y){try{n.stop(y,void 0,g,Y)}catch(te){ue(1,30,"stopTrackEvent failed, event will not be collected: "+Ue(te),{exception:ne(te)})}},D.trackTrace=function(y,g){try{var Y=In(y,Kn[Vi],Kn[Bo],D[Br](),g);D[ze][jo](Y)}catch(te){ue(2,39,"trackTrace failed, trace will not be collected: "+Ue(te),{exception:ne(te)})}},D.trackMetric=function(y,g){try{var Y=In(y,un[Vi],un[Bo],D[Br](),g);D[ze][jo](Y)}catch(te){ue(1,36,"trackMetric failed, metric will not be collected: "+Ue(te),{exception:ne(te)})}},D[Ec]=function(y,g){try{var Y=y||{};D[ze]&&D[ze][jr]&&(Y.uri=Cr(Y.uri,D[ze][jr])),o[Ec](Y,xt(xt(xt({},Y.properties),Y.measurements),g)),N&&s[Sl](Y.name,Y.uri)}catch(te){ue(1,37,"trackPageView failed, page view will not be collected: "+Ue(te),{exception:ne(te)})}},D[Bi]=function(y,g,Y){var te=ct();if(te&&(y[Cp]=y[Cp]===void 0?te.referrer:y[Cp]),D[ze]&&D[ze][jr]&&(y.refUri=Cr(y.refUri,D[ze][jr])),B(y[ji])){var re=(g||y[ls]||{})[dn]||0;y[ji]=new Date(new Date().getTime()-re)}var ye=In(y,Rr[Vi],Rr[Bo],D[Br](),g,Y);D[ze][jo](ye),X()},D[Tl]=function(y,g,Y){var te=In(y,Wn[Vi],Wn[Bo],D[Br](),g,Y);D[ze][jo](te)},D.trackPageViewPerformance=function(y,g){var Y=y||{};try{a[Sc](Y),D[Tl](Y,g)}catch(te){ue(1,37,"trackPageViewPerformance failed, page view will not be collected: "+Ue(te),{exception:ne(te)})}},D.startTrackPage=function(y){try{if(typeof y!="string"){var g=ct();y=g&&g.title||""}i.start(y)}catch(Y){ue(1,31,"startTrackPage failed, page view may not be collected: "+Ue(Y),{exception:ne(Y)})}},D.stopTrackPage=function(y,g,Y,te){try{if(typeof y!="string"){var re=ct();y=re&&re.title||""}if(typeof g!="string"){var ye=cr();g=ye&&ye[zo]||""}D[ze]&&D[ze][jr]&&(g=Cr(g,D[ze][jr])),i.stop(y,g,Y,te),N&&s[Sl](y,g)}catch(he){ue(1,32,"stopTrackPage failed, page view will not be collected: "+Ue(he),{exception:ne(he)})}},D[Zh]=function(y,g,Y){var te=y&&(y.exception||y[Tc])||Ia(y)&&y||{name:y&&typeof y,message:y||Ht};y=y||{};
15var re=new lr(D[Br](),te,y[ls]||g,y.measurements,y.severityLevel,y.id).toInterface(),ye=ct();if(ye&&L?.inclScripts){var he=Qd(ye);re[ls].exceptionScripts=JSON.stringify(he)}if(L?.expLog){var be=L.expLog();be&&be.logs&&Se(be.logs)&&(re[ls].exceptionLog=be.logs.slice(0,L.maxLogs).join(`
16`))}var ke=In(re,lr[Vi],lr[Bo],D[Br](),g,Y);D[ze][jo](ke)},D.trackException=function(y,g){y&&!y.exception&&y[Tc]&&(y.exception=y[Tc]);try{D[Zh](y,g)}catch(Y){ue(1,35,"trackException failed, exception will not be collected: "+Ue(Y),{exception:ne(Y)})}},D._onerror=function(y){var g=y&&y[Tc],Y=y&&y.evt;try{if(!Y){var te=Yt();te&&(Y=te[YR])}var re=y&&y.url||(ct()||{}).URL,ye=y.errorSrc||"window.onerror@"+re+":"+(y[Dp]||0)+":"+(y[Ip]||0),he={errorSrc:ye,url:re,lineNumber:y[Dp]||0,columnNumber:y[Ip]||0,message:y.message};$h(y.message,y.url,y.lineNumber,y.columnNumber,y[Tc])?R(lr[Ap]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",re,y[Dp]||0,y[Ip]||0,g,Y,null,ye),he):(y.errorSrc||(y.errorSrc=ye),D.trackException({exception:y,severityLevel:3},he))}catch(ke){var be=g?g.name+", "+g.message:"null";ue(1,11,"_onError threw exception while logging error, error will not be collected: "+Ue(ke),{exception:ne(ke),errorString:be})}},D[yl]=function(y){if(D[ze])return D[ze][yl](y);c||(c=[]),c.push(y)},D.initialize=function(y,g,Y,te){if(!D.isInitialized()){B(g)&&Jt("Error initializing"),W.initialize(y,g,Y,te);try{q=Ar(yt(D.identifier),g.evtNamespace&&g.evtNamespace()),c&&(ee(c,function(re){g[yl](re)}),c=null),J(y),a=new GN(D[ze]),o=new YN(D,h.overridePageViewDuration,D[ze],a),s=new HN(D[Br](),function(re,ye,he){return me(re,ye,he)}),n=new ig(D[Br](),"trackEvent"),n.action=function(re,ye,he,be,ke){be||(be={}),ke||(ke={}),be.duration=he[El](),D.trackEvent({name:re,properties:be,measurements:ke})},i=new ig(D[Br](),"trackPageView"),i.action=function(re,ye,he,be,ke){B(be)&&(be={}),be.duration=he[El]();var Et={name:re,uri:ye,properties:be,measurements:ke};D[Bi](Et,be)},vo()&&(A(),I())}catch(re){throw D.setInitialized(!1),re}}},D._doTeardown=function(y,g){o&&o.teardown(y,g),ui(window,null,null,q),V()},D._getDbgPlgTargets=function(){return[w,p]};function X(){if(D[ze]){var y=D[ze].getPlugin("AjaxDependencyPlugin");y&&y.plugin&&y.plugin.resetAjaxAttempts&&y.plugin.resetAjaxAttempts()}}function J(y){var g=D.identifier,Y=D[ze];D[us](je(y,function(){var te=Gt(null,y,Y);h=te.getExtCfg(g,UR),p=p||y[Pp]||h[Pp],L=h.expCfg,N=h[eg],y.storagePrefix&&is(y.storagePrefix),GR(h),u=h[tg],T()}))}function me(y,g,Y){var te={PageName:y,PageUrl:g};D.trackMetric({name:"PageVisitTime",average:Y,max:Y,min:Y,sampleCount:1},te)}function T(){if(!l&&u){var y=["/browserLinkSignalR/","/__browserLink/"],g=function(Y){if(u&&Y.baseType===fn[Vi]){var te=Y.baseData;if(te){for(var re=0;re<y[Ko];re++)if(te.target&&Ze(te.target,y[re])>=0)return!1}}return!0};D[us](D[yl](g)),l=!0}}function R(y,g){var Y=In(y,lr[Vi],lr[Bo],D[Br](),g);D[ze][jo](Y)}function A(){var y=Yt(),g=cr(!0);D[us](je(h,function(){d=h.disableExceptionTracking,!d&&!p&&!h[Pp]&&(z(lc(y,"onerror",{ns:q,rsp:function(Y,te,re,ye,he,be){!d&&Y.rslt!==!0&&D._onerror(lr[Ap](te,re,ye,he,be,Y.evt))}},!1)),w++,p=!0)})),ce(y,g)}function I(){var y=Yt(),g=cr(!0);D[us](je(h,function(){if(f=h[rg]===!0,y&&f&&!v&&J_()){var Y=id();le(Y.pushState)&&le(Y.replaceState)&&typeof Event!==ba&&$(y,Y,g)}}))}function C(){var y=null;if(D[ze]&&D[ze].getTraceCtx&&(y=D[ze].getTraceCtx(!1)),!y){var g=D[ze].getPlugin(Vo);if(g){var Y=g.plugin.context;Y&&(y=ns(Y.telemetryTrace))}}return y}function $(y,g,Y){if(v)return;var te=h.namePrefix||"";function re(){f&&Al(y,cs(te+"locationchange"))}function ye(){if(M?(F=M,M=Y&&Y[zo]||""):M=Y&&Y[zo]||"",D[ze]&&D[ze][jr]&&(M=Cr(M,D[ze][jr])),f){var he=C();if(he){he.setTraceId(an());var be="_unknown_";Y&&Y.pathname&&(be=Y.pathname+(Y.hash||"")),he.setName(qe(D[Br](),be))}Pt((function(ke){D[Ec]({refUri:ke,properties:{duration:0}})}).bind(D,F),D.autoRoutePVDelay)}}z(lc(g,"pushState",{ns:q,rsp:function(){f&&(Al(y,cs(te+"pushState")),Al(y,cs(te+"locationchange")))}},!0)),z(lc(g,"replaceState",{ns:q,rsp:function(){f&&(Al(y,cs(te+"replaceState")),Al(y,cs(te+"locationchange")))}},!0)),Vr(y,te+"popstate",re,q),Vr(y,te+"locationchange",ye,q),v=!0}function ce(y,g){D[us](je(h,function(){m=h[ng]===!0,p=p||h[xp],m&&!_&&(z(lc(y,"onunhandledrejection",{ns:q,rsp:function(Y,te){m&&Y.rslt!==!0&&D._onerror
16(lr[Ap](FR(te),g?g[zo]:"",0,0,te,Y.evt))}},!1)),w++,h[xp]=_=!0)}))}function ue(y,g,Y,te,re){D[Br]().throwInternal(y,g,Y,te,re)}function V(){n=null,i=null,o=null,a=null,s=null,c=null,u=!1,l=!1,f=!1,v=!1,d=!1,p=!1,m=!1,_=!1,N=!1,X();var y=cr(!0);F=y&&y[zo]||"",D[ze]&&D[ze][jr]&&(F=Cr(F,D[ze][jr])),M=null,q=null,h=null,w=0,xe(D,"config",{g:function(){return h}})}xe(D,"_pageViewManager",{g:function(){return o}}),xe(D,"_pageViewPerformanceManager",{g:function(){return a}}),xe(D,"_pageVisitTimeManager",{g:function(){return s}}),xe(D,"_evtNamespace",{g:function(){return"."+q}})}),r}return e.Version="3.3.11",e})(sn);var Pl="featureOptIn",og="scheduleFetchTimeout";function ag(t,e,r,n){try{var i=r>n;i&&(t=null);var o=r==0?Ay({},t):t;return o&&e&&!i&&Te(o,function(a){var s=e[a];s&&(It(o[a])&&It(s)?o[a]=ag(o[a],s,++r,n):delete o[a])}),o}catch{}return t}var Cc="featureOptIn.",jN=".mode",zN=".onCfg",KN=".offCfg";function HR(t,e,r){var n;if(!e||!e.enabled)return null;var i=(e[Pl]||{})[t]||{mode:1},o=i.mode,a=i.onCfg,s=i.offCfg,c=(r||{})[t]||{mode:2},u=c.mode,l=c.onCfg,f=c.offCfg,v=!!c.blockCdnCfg,d=Cc+t+jN,p=Cc+t+zN,m=Cc+t+KN,_=u,h=l,N=f;return v||(o===4||o===5?(_=o==4?3:2,h=a||l,N=s||f):o===2||u===2?(_=2,h=l||a,N=f||s):o===3?(_=3,h=l||a,N=f||s):o===1&&u===1&&(_=1)),n={},n[d]=_,n[p]=h,n[m]=N,n}function WN(t,e){try{if(!t||!t.enabled)return null;if(!t[Pl])return t.config;var r=t[Pl],n=t.config||{};return Te(r,function(i){var o=HR(i,t,e.config[Pl]);B(o)||(Te(o,function(a,s){iv(n,a,s)}),VR(i,o,n))}),n}catch{}return null}function VR(t,e,r){var n=e[Cc+t+jN],i=e[Cc+t+zN],o=e[Cc+t+KN],a=null;n===3&&(a=i),n===2&&(a=o),a&&Te(a,function(s,c){iv(r,s,c)})}var xl,BR="ai_cfgsync",qN="GET",jR=18e5,Dc=void 0,zR={instrumentationKey:!0,connectionString:!0,endpointUrl:!0},KR=En((xl={syncMode:1,blkCdnCfg:Dc,customEvtName:Dc,cfgUrl:Dc,overrideSyncFn:Dc,overrideFetchFn:Dc,onCfgChangeReceive:Dc},xl[og]=jR,xl.nonOverrideConfigs=zR,xl.enableAjax=!1,xl)),sg=(function(t){tr(e,t);function e(){var r=t.call(this)||this;r.priority=198,r.identifier="AppInsightsCfgSyncPlugin";var n,i,o,a,s,c,u,l,f,v,d,p,m,_,h,N,L=!1,F;return Re(e,r,function(M,q){w(),M.initialize=function(V,y,g,Y){q.initialize(V,y,g,Y),a=Ar(yt(M.identifier),y.evtNamespace&&y.evtNamespace()),D(V)},M.getCfg=function(){return i},M.pause=function(){L=!0,ue()},M.resume=function(){L=!1,ce()},M.setCfg=function(V){return W(V)},M.sync=function(V){return X(V)},M.updateEventListenerName=function(V){return J(V)},M._doTeardown=function(V,y){z(),ue(),w()},M._getDbgPlgTargets=function(){return[l,u,o,f,m]};function w(){i=null,o=null,a=null,s=null,u=null,l=null,m=null,c=null,v=null,d=null,f=null,F=!1,h=null,N=null,p=null}function D(V){var y=M.identifier,g=M.core;M._addHook(je(V,function(){var Y=Gt(null,V,g);n=Y.getExtCfg(y,KR);var te=f;f=!!n.blkCdnCfg,F=!!n.enableAjax,!B(te)&&te!==f&&(!f&&s?_&&_(s,A,l):ue()),B(u)&&(u=n.syncMode===2),B(l)&&(l=n.syncMode===1);var re=n.customEvtName||BR;o!==re&&(u?J(re):(z(),o=re)),B(s)&&(s=n.cfgUrl),s||(i=V,l&&X())})),N=n.overrideSyncFn,h=n.overrideFetchFn,p=n.onCfgChangeReceive,m=n.nonOverrideConfigs,v=n[og],_=me(),d=0,s&&!f&&_&&_(s,A,l)}function W(V,y){if(V){if(i=V,y&&!L)return X();if(u&&!L)return M.core.updateCfg(V),!0}return!1}function z(){try{var V=At();V&&ui(V,null,null,a)}catch{}}function X(V){try{return N&&le(N)?N(i,V):Wv(o,i,V)}catch{}return!1}function J(V){try{return z(),V&&(o=V,C()),!0}catch{}return!1}function me(){var V=h;return B(V)&&(Ba()?V=T:No()&&(V=R)),V}function T(V,y,g){var Y=At(),te=Y&&Y.fetch||null;if(V&&te&&le(te))try{var re={method:qN};F||(re[li]=!0);var ye=new Request(V,re);if(!F)try{ye[li]=!0}catch{}Rt(fetch(ye),function(he){var be=he.value;he.rejected?I(y,400):be.ok?Rt(be.text(),function(ke){I(y,be.status,ke.value,g)}):I(y,be.status,null,g)})}catch{}}function R(V,y,g){try{var Y=new XMLHttpRequest;F||(Y[li]=!0),Y.open(qN,V),Y.onreadystatechange=function(){Y.readyState===XMLHttpRequest.DONE&&I(y,Y.status,Y.responseText,g)},Y.onerror=function(){I(y,400)},Y.ontimeout=function(){I(y,400)},Y.send()}catch{}}function A(V,y,g){try{if(V>=200&&V<400&&y){d=0;var Y=Ut();
16if(Y){var te=Y.parse(y),re=WN(te,M.core),ye=re&&Ft(re)&&$(re);ye&&W(ye,g)}}else d++;d<3&&ce()}catch{}}function I(V,y,g,Y){try{V(y,g,Y)}catch{}}function C(){if(u){var V=At();if(V)try{Vr(V,o,function(y){var g=y&&y.detail;if(p&&g)p(g);else{var Y=g&&g.cfg,te=Y&&Ft(Y)&&$(Y);te&&W(te)}},a,!0)}catch{}}}function $(V,y){var g=null;try{V&&(g=ag(V,m,0,5))}catch{}return g}function ce(){!c&&v&&(c=Pt(function(){c=null,_(s,A,l)},v),c.unref())}function ue(){c&&c.cancel(),c=null,d=0}M.processTelemetry=function(V,y){M.processNext(V,y)}}),r}return e.__ieDyn=1,e})(sn);var Wo="duration";var Vt="tags",Lp="deviceType",zr="data",pi="name",fs="traceID",Fe="length",qo="stringify",Xo="measurements",An="dataType",$o="envelopeType",zi="toString",Ki="enqueue",Wi="count",Pn="push",Rl="emitLineDelimitedJson",Qo="clear",Ic="markAsSent",ds="clearSent",bl="bufferOverride",Ac="BUFFER_KEY",qi="SENT_BUFFER_KEY",Jo="concat",Pc="MAX_BUFFER_SIZE",xc="triggerSend",fr="diagLog",Yp="initialize",Rc="_sender",bc="endpointUrl",Oc="instrumentationKey",Fp="customHeaders",cg="maxBatchSizeInBytes",Up="onunloadDisableBeacon",kp="isBeaconApiDisabled",ug="alwaysUseXhrOverride",lg="enableSessionStorageBuffer",qn="_buffer",fg="onunloadDisableFetch",dg="disableSendBeaconSplit",Ol="getSenderInst",Zo="_onError",Gp="_onPartialSuccess",wl="_onSuccess",Hp="itemsReceived",Vp="itemsAccepted",Bp="baseType",wc="sampleRate",XN="getHashCodeScore";var pg="baseType",pt="baseData",nr="properties",$N="true";function bt(t,e,r){return et(t,e,r,mo)}function WR(t,e,r){var n=r[Vt]=r[Vt]||{},i=e.ext=e.ext||{},o=e[Vt]=e[Vt]||[],a=i.user;a&&(bt(n,ot.userAuthUserId,a.authId),bt(n,ot.userId,a.id||a.localId));var s=i.app;s&&bt(n,ot.sessionId,s.sesId);var c=i.device;c&&(bt(n,ot.deviceId,c.id||c.localId),bt(n,ot[Lp],c.deviceClass),bt(n,ot.deviceIp,c.ip),bt(n,ot.deviceModel,c.model),bt(n,ot[Lp],c[Lp]));
16var u=e.ext.web;if(u){bt(n,ot.deviceLanguage,u.browserLang),bt(n,ot.deviceBrowserVersion,u.browserVer),bt(n,ot.deviceBrowser,u.browser);var l=r[zr]=r[zr]||{},f=l[pt]=l[pt]||{},v=f[nr]=f[nr]||{};bt(v,"domain",u.domain),bt(v,"isManual",u.isManual?$N:null),bt(v,"screenRes",u.screenRes),bt(v,"userConsent",u.userConsent?$N:null)}var d=i.os;d&&(bt(n,ot.deviceOS,d[pi]),bt(n,ot.deviceOSVersion,d.osVer));var p=i.trace;p&&(bt(n,ot.operationParentId,p.parentID),bt(n,ot.operationName,qe(t,p[pi])),bt(n,ot.operationId,p[fs]));for(var m={},_=o[Fe]-1;_>=0;_--){var h=o[_];Te(h,function(L,F){m[L]=F}),o.splice(_,1)}Te(o,function(L,F){m[L]=F});var N=xt(xt({},n),m);N[ot.internalSdkVersion]||(N[ot.internalSdkVersion]=qe(t,"javascript:".concat(qR.Version),64)),r[Vt]=Md(N)}function ea(t,e,r){B(t)||Te(t,function(n,i){Yn(i)?r[n]=i:fe(i)?e[n]=i:ai()&&(e[n]=Ut()[qo](i))})}function ps(t,e){B(t)||Te(t,function(r,n){t[r]=n||e})}function ms(t,e,r,n){var i=new zh(t,n,e);bt(i,"sampleRate",r[rl]),(r[pt]||{}).startTime&&(i.time=Cn(r[pt].startTime)),i.iKey=r.iKey;var o=r.iKey.replace(/-/g,"");return i[pi]=i[pi].replace("{0}",o),WR(t,r,i),r[Vt]=r[Vt]||[],Md(i)}function _s(t,e){B(e[pt])&&Q(t,1,46,"telemetryItem.baseData cannot be null.")}var qR={Version:"3.3.11"};function QN(t,e,r){_s(t,e);var n=e[pt][Xo]||{},i=e[pt][nr]||{};ea(e[zr],i,n),B(r)||ps(i,r);var o=e[pt];if(B(o))return on(t,"Invalid input for dependency data"),null;var a=o[nr]&&o[nr][sp]?o[nr][sp]:"GET",s=new fn(t,o.id,o.target,o[pi],o[Wo],o.success,o.responseCode,a,o.type,o.correlationContext,i,n),c=new Hi(fn[An],s);return ms(t,fn[$o],e,c)}function mg(t,e,r){_s(t,e);var n={},i={};e[pg]!==cn[An]&&(n.baseTypeSource=e[pg]),e[pg]===cn[An]?(n=e[pt][nr]||{},i=e[pt][Xo]||{}):e[pt]&&ea(e[pt],n,i),ea(e[zr],n,i),B(r)||ps(n,r);var o=e[pt][pi],a=new cn(t,o,n,i),s=new Hi(cn[An],a);return ms(t,cn[$o],e,s)}function JN(t,e,r){_s(t,e);var n=e[pt][Xo]||{},i=e[pt][nr]||{};ea(e[zr],i,n),B(r)||ps(i,r);var o=e[pt],a=lr.CreateFromInterface(t,o,i,n),s=new Hi(lr[An],a);return ms(t,lr[$o],e,s)}function ZN(t,e,r){_s(t,e);var n=e[pt],i=n[nr]||{},o=n[Xo]||{};ea(e[zr],i,o),B(r)||ps(i,r);var a=new un(t,n[pi],n.average,n.sampleCount,n.min,n.max,n.stdDev,i,o),s=new Hi(un[An],a);return ms(t,un[$o],e,s)}function eC(t,e,r){_s(t,e);var n,i=e[pt];!B(i)&&!B(i[nr])&&!B(i[nr][Wo])?(n=i[nr][Wo],delete i[nr][Wo]):!B(e[zr])&&!B(e[zr][Wo])&&(n=e[zr][Wo],delete e[zr][Wo]);var o=e[pt],a;((e.ext||{}).trace||{})[fs]&&(a=e.ext.trace[fs]);var s=o.id||a,c=o[pi],u=o.uri,l=o[nr]||{},f=o[Xo]||{};if(B(o.refUri)||(l.refUri=o.refUri),B(o.pageType)||(l.pageType=o.pageType),B(o.isLoggedIn)||(l.isLoggedIn=o.isLoggedIn[zi]()),!B(o[nr])){var v=o[nr];Te(v,function(m,_){l[m]=_})}ea(e[zr],l,f),B(r)||ps(l,r);var d=new Rr(t,c,u,n,l,f,s),p=new Hi(Rr[An],d);return ms(t,Rr[$o],e,p)}function tC(t,e,r){_s(t,e);var n=e[pt],i=n[pi],o=n.uri||n.url,a=n[nr]||{},s=n[Xo]||{};ea(e[zr],a,s),B(r)||ps(a,r);var c=new Wn(t,i,o,void 0,a,s,n),u=new Hi(Wn[An],c);return ms(t,Wn[$o],e,u)}function rC(t,e,r){_s(t,e);var n=e[pt].message,i=e[pt].severityLevel,o=e[pt][nr]||{},a=e[pt][Xo]||{};ea(e[zr],o,a),B(r)||ps(o,r);var s=new Kn(t,n,i,o,a),c=new Hi(Kn[An],s);return ms(t,Kn[$o],e,c)}var nC=(function(){function t(e,r){var n=[],i=!1,o=r.maxRetryCnt;this._get=function(){return n},this._set=function(a){return n=a,n},Re(t,this,function(a){a[Ki]=function(s){if(a[Wi]()>=r.eventsLimitInMem){i||(Q(e,2,105,"Maximum in-memory buffer size reached: "+a[Wi](),!0),i=!0);return}s.cnt=s.cnt||0,!(!B(o)&&s.cnt>o)&&n[Pn](s)},a[Wi]=function(){return n[Fe]},a.size=function(){for(var s=n[Fe],c=0;c<n[Fe];c++)s+=n[c].item[Fe];return r[Rl]||(s+=2),s},a[Qo]=function(){n=[],i=!1},a.getItems=function(){return n.slice(0)},a.batchPayloads=function(s){if(s&&s[Fe]>0){var c=[];ee(s,function(l){c[Pn](l.item)});var u=r[Rl]?c.join(`
17`):"["+c.join(",")+"]";return u}return null},a.createNew=function(s,c,u){var l=n.slice(0);s=s||e,c=c||{};var f=u?new _g(s,c):new jp(s,c);return ee(l,function(v){f[Ki](v)}),f}})}return t.__ieDyn=1,t})(),jp=(function(t){tr(e,t);function e(r,n){var i=t.call(this,r,n)||this;return Re(e,i,function(o,a){o[Ic]=function(s){a[Qo]()},o[ds]=function(s){}}),i}return e.__ieDyn=1,e})(nC);var XR=["AI_buffer","AI_sentBuffer"],_g=(function(t){tr(e,t);function e(n,i){var o=t.call(this,n,i)||this,a=!1,s=i?.namePrefix,c=i[bl]||{getItem:vc,setItem:pl},u=c.getItem,l=c.setItem,f=i.maxRetryCnt;return Re(e,o,function(v,d){var p=F(e[Ac]),m=F(e[qi]),_=w(),h=m[Jo](_),N=v._set(p[Jo](h));N[Fe]>e[Pc]&&(N[Fe]=e[Pc]),q(e[qi],[]),q(e[Ac],N),v[Ki]=function(W){if(v[Wi]()>=e[Pc]){a||(Q(n,2,67,"Maximum buffer size reached: "+v[Wi](),!0),a=!0);return}W.cnt=W.cnt||0,!(!B(f)&&W.cnt>f)&&(d[Ki](W),q(e[Ac],v._get()))},v[Qo]=function(){d[Qo](),q(e[Ac],v._get()),q(e[qi],[]),a=!1},v[Ic]=function(W){q(e[Ac],v._set(L(W,v._get())));var z=F(e[qi]);z instanceof Array&&W instanceof Array&&(z=z[Jo](W),z[Fe]>e[Pc]&&(Q(n,1,67,"Sent buffer reached its maximum size: "+z[Fe],!0),z[Fe]=e[Pc]),q(e[qi],z))},v[ds]=function(W){var z=F(e[qi]);z=L(W,z),q(e[qi],z)},v.createNew=function(W,z,X){X=!!X;var J=v._get().slice(0),me=F(e[qi]).slice(0);W=W||n,z=z||{},v[Qo]();var T=X?new e(W,z):new jp(W,z);return ee(J,function(R){T[Ki](R)}),X&&T[Ic](me),T};function L(W,z){var X=[],J=[];return ee(W,function(me){J[Pn](me.item)}),ee(z,function(me){!le(me)&&st(J,me.item)===-1&&X[Pn](me)}),X}function F(W){var z=W;return z=s?s+"_"+z:z,M(z)}function M(W){try{var z=u(n,W);if(z){var X=Ut().parse(z);if(fe(X)&&(X=Ut().parse(X)),X&&Se(X))return X}}catch(J){Q(n,1,42," storage key: "+W+", "+Ue(J),{exception:ne(J)})}return[]}function q(W,z){var X=W;try{X=s?s+"_"+X:X;var J=JSON[qo](z);l(n,X,J)}catch(me){l(n,X,JSON[qo]([])),Q(n,2,41," storage key: "+X+", "+Ue(me)+". Buffer cleared",{exception:ne(me)})}}function w(){var W=[];try{return ee(XR,function(z){var X=D(z);
17if(W=W[Jo](X),s){var J=s+"_"+z,me=D(J);W=W[Jo](me)}}),W}catch(z){Q(n,2,41,"Transfer events from previous buffers: "+Ue(z)+". previous Buffer items can not be removed",{exception:ne(z)})}return[]}function D(W){try{var z=M(W),X=[];return ee(z,function(J){var me={item:J,cnt:0};X[Pn](me)}),ml(n,W),X}catch{}return[]}}),o}var r;return r=e,e.VERSION="_1",e.BUFFER_KEY="AI_buffer"+r.VERSION,e.SENT_BUFFER_KEY="AI_sentBuffer"+r.VERSION,e.MAX_BUFFER_SIZE=2e3,e})(nC);var iC=(function(){function t(e){Re(t,this,function(r){r.serialize=function(a){var s=n(a,"root");try{return Ut()[qo](s)}catch(c){Q(e,1,48,c&&le(c[zi])?c[zi]():"Error serializing object",null,!0)}};function n(a,s){var c="__aiCircularRefCheck",u={};if(!a)return Q(e,1,48,"cannot serialize object because it is null or undefined",{name:s},!0),u;if(a[c])return Q(e,2,50,"Circular reference detected while serializing object",{name:s},!0),u;if(!a.aiDataContract){if(s==="measurements")u=o(a,"number",s);else if(s==="properties")u=o(a,"string",s);else if(s==="tags")u=o(a,"string",s);else if(Se(a))u=i(a,s);else{Q(e,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:s},!0);try{Ut()[qo](a),u=a}catch(l){Q(e,1,48,l&&le(l[zi])?l[zi]():"Error serializing object",null,!0)}}return u}return a[c]=!0,Te(a.aiDataContract,function(l,f){var v=le(f)?f()&1:f&1,d=le(f)?f()&4:f&4,p=f&2,m=a[l]!==void 0,_=It(a[l])&&a[l]!==null;if(v&&!m&&!p)Q(e,1,24,"Missing required field specification. The field is required but not present on source",{field:l,name:s});else if(!d){var h=void 0;_?p?h=i(a[l],l):h=n(a[l],l):h=a[l],h!==void 0&&(u[l]=h)}}),delete a[c],u}function i(a,s){var c;if(a)if(!Se(a))Q(e,1,54,`This field was specified as an array in the contract but the item is not an array.\r
18`,{name:s},!0);else{c=[];for(var u=0;u<a[Fe];u++){var l=a[u],f=n(l,s+"["+u+"]");c[Pn](f)}}return c}function o(a,s,c){var u;return a&&(u={},Te(a,function(l,f){if(s==="string")f===void 0?u[l]="undefined":f===null?u[l]="null":f[zi]?u[l]=f[zi]():u[l]="invalid field: toString() is not defined.";else if(s==="number")if(f===void 0)u[l]="undefined";else if(f===null)u[l]="null";else{var v=parseFloat(f);u[l]=v}else u[l]="invalid field: "+c+" is of unknown type.",Q(e,1,u[l],null,!0)})),u}})}return t.__ieDyn=1,t})();var $R=8,oC=(function(){function t(){}return t.prototype.getHashCodeScore=function(e){var r=this.getHashCode(e)/t.INT_MAX_VALUE;return r*100},t.prototype.getHashCode=function(e){if(e==="")return 0;for(;e[Fe]<$R;)e=e[Jo](e);for(var r=5381,n=0;n<e[Fe];++n)r=(r<<5)+r+e.charCodeAt(n),r=r&r;return Math.abs(r)},t.INT_MAX_VALUE=2147483647,t})();var aC=(function(){function t(){var e=this,r=new oC,n=new gl;e.getSamplingScore=function(i){var o=0;return i[Vt]&&i[Vt][n.userId]?o=r.getHashCodeScore(i[Vt][n.userId]):i.ext&&i.ext.user&&i.ext.user.id?o=r[XN](i.ext.user.id):i[Vt]&&i[Vt][n.operationId]?o=r.getHashCodeScore(i[Vt][n.operationId]):i.ext&&i.ext.telemetryTrace&&i.ext.telemetryTrace[fs]?o=r.getHashCodeScore(i.ext.telemetryTrace[fs]):o=Math.random()*100,o}}return t})();var sC=(function(){function t(e,r){this.INT_MAX_VALUE=2147483647;var n=r||Ir(null);(e>100||e<0)&&(n.throwInternal(2,58,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:e},!0),e=100),this[wc]=e,this.samplingScoreGenerator=new aC}return t.prototype.isSampledIn=function(e){var r=this[wc],n=!1;return r==null||r>=100||e.baseType===un[An]?!0:(n=this.samplingScoreGenerator.getSamplingScore(e)<r,n)},t})();var lt,Xi,Xn=void 0,cC="",QR=65e3;function uC(t){try{return t.responseText}catch{}return null}function JR(t){return t&&t.sendPOST}var lC=En((lt={endpointUrl:Do(mo,$a+fi)},lt[Rl]=gt(),lt.maxBatchInterval=15e3,lt[cg]=102400,lt.disableTelemetry=gt(),lt[lg]=gt(!0),lt.isRetryDisabled=gt(),lt[kp]=gt(!0),lt[dg]=gt(!0),lt.disableXhr=gt(),lt[fg]=gt(),lt[Up]=gt(),lt[Oc]=Xn,lt.namePrefix=Xn,lt.samplingPercentage=Do(ZR,100),lt[Fp]=Xn,lt.convertUndefined=Xn,lt.eventsLimitInMem=1e4,lt[bl]=!1,lt.httpXHROverride={isVal:JR,v:Xn},lt[ug]=gt(),lt.transports=Xn,lt.retryCodes=Xn,lt.corsPolicy=Xn,lt.maxRetryCnt={isVal:Yn,v:10},lt)),fC="X-Set-Cross-Origin-Resource-Policy";function ZR(t){return!isNaN(t)&&t>0&&t<=100}var eb=(Xi={},Xi[cn.dataType]=mg,Xi[Kn.dataType]=rC,Xi[Rr.dataType]=eC,Xi[Wn.dataType]=tC,Xi[lr.dataType]=JN,Xi[un.dataType]=ZN,Xi[fn.dataType]=QN,Xi),vg=(function(t){tr(e,t);function e(){var r=t.call(this)||this;r.priority=1001,r.identifier=Tp;var n,i,o,a,s,c,u,l,f=0,v,d,p,m,_,h,N,L,F,M,q,w,D,W,z,X,J,me,T,R,A,I,C,$,ce,ue,V,y;return Re(e,r,function(g,Y){Ql(),g.pause=function(){Ct(),a=!0},g.resume=function(){a&&(a=!1,i=null,O(),it())},g.flush=function(b,j,ae){if(b===void 0&&(b=!0),!a){Ct();try{var Ee=g[xc](b,null,ae||1);return Rt(Ee,function(De){return j?(j(!De.rejected),!0):b?gr(function(Ae){Ae(!De.rejected)}):Ee})}catch(De){Q(g[fr](),1,22,"flush failed, telemetry will not be collected: "+Ue(De),{exception:ne(De)})}}},g.onunloadFlush=function(){if(!a)if(N||R)try{return g[xc](!0,Z,2)}catch(b){Q(g[fr](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+Ue(b),{exception:ne(b)})}else g.flush(!1)},g.addHeader=function(b,j){l[b]=j},g[Yp]=function(b,j,ae,Ee){g.isInitialized()&&Q(g[fr](),1,28,"Sender is already initialized"),Y[Yp](b,j,ae,Ee);var De=g.identifier;c=new iC(j.logger),n=0,i=null,o=0,g[Rc]=null,u=0;var Ae=g[fr]();p=Ar(yt("Sender"),j.evtNamespace&&j.evtNamespace()),d=Jh(p),g._addHook(je(b,function(Ke){var dt=Ke.cfg;dt.storagePrefix&&is(dt.storagePrefix);var wr=Gt(null,dt,j),Le=wr.getExtCfg(De,lC),eu=Le[bc];if(m&&eu===m){var gi=dt[bc];gi&&gi!==eu&&(Le[bc]=gi)}var tu=$e("CompressionStream");y=Ha("zipPayload",dt,!1),le(tu)||(y=!1);var fa=Le.corsPolicy;fa?(fa==="same-origin"||fa==="same-site"||fa==="cross-origin")&&r.addHeader(fC,fa):delete l[fC],Qr(Le[Oc])&&(Le[Oc]=dt[Oc]),xe(g,"_senderConfig",{g:function(){return Le}}),_!==Le[bc]&&(m=_=Le[bc]),j.activeStatus()===Gn.PENDING?g.pause():j.activeStatus()===Gn.ACTIVE&&g.resume(),M&&M!==Le[Fp]&&ee(M,function(ir){delete l[ir.header]}),h=Le[cg],N=(Le[Up]===!1||Le[kp]===!1)&&Mi(),L=Le[Up]===!1&&Mi(),F=Le[kp]===!1&&Mi(),R=Le[ug],A=!!Le.disableXhr,V=Le.retryCodes;var ym=Le[bl],ys=!!Le[lg]&&(!!ym||ko()),kg=Le.namePrefix,rD=ys!==X||ys&&me!==kg||ys&&J!==ym;if(g[qn]){if(rD)try{g[qn]=g[qn].createNew(Ae,Le,ys)}catch(ir){Q(g[fr](),1,12,"failed to transfer telemetry to different buffer storage, telemetry will be lost: "+Ue(ir),{exception:ne(ir)})}O()}else g[qn]=ys?new _g(Ae,Le):new jp(Ae,Le);
18me=kg,X=ys,J=ym,I=!Le[fg]&&Ba(!0),ce=!!Le[dg],g._sample=new sC(Le.samplingPercentage,Ae),w=Le[Oc],!Qr(w)&&!Ts(w,dt)&&Q(Ae,1,100,"Invalid Instrumentation key "+w),M=Le[Fp],fe(m)&&!pc(m)&&M&&M[Fe]>0?ee(M,function(ir){r.addHeader(ir.header,ir.value)}):M=null,T=Le.enableSendPromise;var Gg=re();ue?ue.SetConfig(Gg):(ue=new Th,ue[Yp](Gg,Ae));var Jl=Le.httpXHROverride,Zl=null,ru=null,nD=Yd([3,1,2],Le.transports);Zl=ue&&ue[Ol](nD,!1);var Nm=ue&&ue.getFallbackInst();C=function(ir,da){return U(Nm,ir,da)},$=function(ir,da){return U(Nm,ir,da,!1)},Zl=R?Jl:Zl||Jl||Nm,g[Rc]=function(ir,da){return U(Zl,ir,da)},I&&(v=we);var Cm=Yd([3,1],Le.unloadTransports);I||(Cm=Cm.filter(function(ir){return ir!==2})),ru=ue&&ue[Ol](Cm,!0),ru=R?Jl:ru||Jl,(R||Le.unloadTransports||!v)&&ru&&(v=function(ir,da){return U(ru,ir,da)}),v||(v=C),q=Le.disableTelemetry,D=Le.convertUndefined||Xn,W=Le.isRetryDisabled,z=Le.maxBatchInterval}))},g.processTelemetry=function(b,j){j=g._getTelCtx(j);var ae=j[fr]();try{var Ee=Je(b,ae);if(!Ee)return;var De=tt(b,ae);if(!De)return;var Ae=c.serialize(De),Ke=g[qn];O(Ae);var dt={item:Ae,cnt:0};Ke[Ki](dt),it()}catch(wr){Q(ae,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+Ue(wr),{exception:ne(wr)})}g.processNext(b,j)},g.isCompletelyIdle=function(){return!a&&f===0&&g._buffer[Wi]()===0},g.getOfflineListener=function(){return d},g._xhrReadyStateChange=function(b,j,ae){if(!ge(j))return ye(b,j,ae)},g[xc]=function(b,j,ae){b===void 0&&(b=!0);var Ee;if(!a)try{var De=g[qn];if(q)De[Qo]();else{if(De[Wi]()>0){var Ae=De.getItems();Or(ae||0,b),j?Ee=j.call(g,Ae,b):Ee=g[Rc](Ae,b)}o=+new Date}Ct()}catch(dt){var Ke=Uu();(!Ke||Ke>9)&&Q(g[fr](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+Ue(dt),{exception:ne(dt)})}return Ee},g.getOfflineSupport=function(){return{getUrl:function(){return m},createPayload:P,serialize:Xt,batch:K,shouldProcess:function(b){return!!Je(b)}}},g._doTeardown=function(b,j){g.onunloadFlush(),Li(d,!1),Ql()},g[Zo]=function(b,j,ae){if(!ge(b))return he(b,j,ae)},g[Gp]=function(b,j){if(!ge(b))return be(b,j)},g[wl]=function(b,j){if(!ge(b))return ke(b,j)},g._xdrOnLoad=function(b,j){if(!ge(j))return te(b,j)};function te(b,j){var ae=uC(b);if(b&&(ae+""=="200"||ae===""))n=0,g[wl](j,0);else{var Ee=Zu(ae);Ee&&Ee[Hp]&&Ee[Hp]>Ee[Vp]&&!W?g[Gp](j,Ee):g[Zo](j,Yu(b))}}function re(){try{var b={xdrOnComplete:function(ae,Ee,De){var Ae=Et(De);if(Ae)return te(ae,Ae)},fetchOnComplete:function(ae,Ee,De,Ae){var Ke=Et(Ae);if(Ke)return G(ae.status,Ke,ae.url,Ke[Fe],ae.statusText,De||"")},xhrOnComplete:function(ae,Ee,De){var Ae=Et(De);if(Ae)return ye(ae,Ae,Ae[Fe])},beaconOnRetry:function(ae,Ee,De){return pe(ae,Ee,De)}},j={enableSendPromise:T,isOneDs:!1,disableCredentials:!1,disableXhr:A,disableBeacon:!F,disableBeaconSync:!L,senderOnCompleteCallBack:b};return j}catch{}return null}function ye(b,j,ae){b.readyState===4&&G(b.status,j,b.responseURL,ae,Va(b),uC(b)||b.response)}function he(b,j,ae){Q(g[fr](),2,26,"Failed to send telemetry.",{message:j}),g._buffer&&g._buffer[ds](b)}function be(b,j){for(var ae=[],Ee=[],De=j.errors.reverse(),Ae=0,Ke=De;Ae<Ke.length;Ae++){var dt=Ke[Ae],wr=b.splice(dt.index,1)[0];qr(dt.statusCode)?Ee[Pn](wr):ae[Pn](wr)}b[Fe]>0&&g[wl](b,j[Vp]),ae[Fe]>0&&g[Zo](ae,Va(null,["partial success",j[Vp],"of",j.itemsReceived].join(" "))),Ee[Fe]>0&&(Ce(Ee),Q(g[fr](),2,40,"Partial success. Delivered: "+b[Fe]+", Failed: "+ae[Fe]+". Will retry to send "+Ee[Fe]+" our of "+j[Hp]+" items"))}function ke(b,j){g._buffer&&g._buffer[ds](b)}function Et(b){try{if(b){var j=b,ae=j.oriPayload;return ae&&ae[Fe]?ae:null}}catch{}return null}function Je(b,j){if(q)return!1;if(!b)return j&&Q(j,1,7,"Cannot send empty telemetry"),!1;if(b.baseData&&!b[Bp])return j&&Q(j,1,70,"Cannot send telemetry without baseData and baseType"),!1;if(b[Bp]||(b[Bp]="EventData"),!g[Rc])return j&&Q(j,1,28,"Sender was not initialized"),!1;if(E(b))b[rl]=g._sample[wc];else return j&&Q(j,2,33,"Telemetry item was sampled out and not sent",{SampleRate:g._sample[wc]}),!1;return!0}function tt(b,j){var ae=b.iKey||w,Ee=e.constructEnvelope(b,ae,j,D);if(!Ee){Q(j,1,47,"Unable to create an AppInsights envelope");return}var De=!1;if(b[Vt]&&b[Vt][nl]&&(ee(b[Vt][nl],function(Ae){try{Ae&&Ae(Ee)===!1&&(De=!0,on(j,"Telemetry processor check returns false"))}
18catch(Ke){Q(j,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Ue(Ke),{exception:ne(Ke)},!0)}}),delete b[Vt][nl]),!De)return Ee}function Xt(b){var j=cC,ae=g[fr]();try{var Ee=Je(b,ae),De=null;Ee&&(De=tt(b,ae)),De&&(j=c.serialize(De))}catch{}return j}function K(b){var j=cC;return b&&b[Fe]&&(j="["+b.join(",")+"]"),j}function P(b){var j=S();return{urlString:m,data:b,headers:j}}function E(b){return g._sample.isSampledIn(b)}function x(b,j,ae,Ee){j===200&&b?g._onSuccess(b,b[Fe]):Ee&&g[Zo](b,Ee)}function U(b,j,ae,Ee){Ee===void 0&&(Ee=!0);var De=function(gi,tu,fa){return x(j,gi,tu,fa)},Ae=k(j),Ke=b&&b.sendPOST;if(Ke&&Ae){Ee&&g._buffer[Ic](j);var dt,wr=!1,Le,eu;return ue.preparePayload(function(gi){dt=Ke(gi,De,!ae),wr=!0,Le&&Id(dt,Le,eu)},y,Ae,!ae),wr?dt:gr(function(gi,tu){Le=gi,eu=tu})}return null}function k(b){if(Se(b)&&b[Fe]>0){var j=g[qn].batchPayloads(b),ae=S(),Ee={data:j,urlString:m,headers:ae,disableXhrSync:A,disableFetchKeepAlive:!I,oriPayload:b};return Ee}return null}function S(){try{var b=l||{};return pc(m)&&(b[Qe[6]]=Qe[7]),b}catch{}return null}function O(b){var j=b?b[Fe]:0;return g[qn].size()+j>h?((!d||d.isOnline())&&g[xc](!0,null,10),!0):!1}function G(b,j,ae,Ee,De,Ae){var Ke=null;if(g._appId||(Ke=Zu(Ae),Ke&&Ke.appId&&(g._appId=Ke.appId)),(b<200||b>=300)&&b!==0){if((b===301||b===307||b===308)&&!H(ae)){g[Zo](j,De);return}if(d&&!d.isOnline()){if(!W){var dt=10;Ce(j,dt),Q(g[fr](),2,40,". Offline - Response Code: ".concat(b,". Offline status: ").concat(!d.isOnline(),". Will retry to send ").concat(j.length," items."))}return}!W&&qr(b)?(Ce(j),Q(g[fr](),2,40,". Response code "+b+". Will retry to send "+j[Fe]+" items.")):g[Zo](j,De)}else H(ae),b===206?(Ke||(Ke=Zu(Ae)),Ke&&!W?g[Gp](j,Ke):g[Zo](j,De)):(n=0,g[wl](j,Ee))}function H(b){return u>=10?!1:!B(b)&&b!==""&&b!==m?(m=b,++u,!0):!1}function Z(b,j){if(v)v(b,!1);else{var ae=ue&&ue[Ol]([3],!0);return U(ae,b,j)}}function pe(b,j,ae){var Ee=b,De=Ee&&Ee.oriPayload;if(ce)$&&$(De,!0),Q(g[fr](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender.");else{for(var Ae=[],Ke=0;Ke<De[Fe];Ke++){var dt=De[Ke],wr=[dt],Le=k(wr);ae(Le,j)?g._onSuccess(wr,wr[Fe]):Ae[Pn](dt)}Ae[Fe]>0&&($&&$(Ae,!0),Q(g[fr](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function ge(b){try{if(b&&b[Fe])return fe(b[0])}catch{}return null}function we(b,j){var ae=null;if(Se(b)){for(var Ee=b[Fe],De=0;De<b[Fe];De++)Ee+=b[De].item[Fe];var Ae=ue.getSyncFetchPayload();Ae+Ee<=QR?ae=2:Mi()?ae=3:(ae=1,Q(g[fr](),2,40,". Failed to send telemetry with Beacon API, retried with xhrSender."));var Ke=ue&&ue[Ol]([ae],!0);return U(Ke,b,j)}return null}function Ce(b,j){if(j===void 0&&(j=1),!(!b||b[Fe]===0)){var ae=g[qn];ae[ds](b),n++;for(var Ee=0,De=b;Ee<De.length;Ee++){var Ae=De[Ee];Ae.cnt=Ae.cnt||0,Ae.cnt++,ae[Ki](Ae)}Be(j),it()}}function Be(b){var j=10,ae;if(n<=1)ae=j;else{var Ee=(Math.pow(2,n)-1)/2,De=er(Math.random()*Ee*j)+1;De=b*De,ae=Pa(nd(De,3600),j)}var Ae=Lt()+ae*1e3;i=Ae}function it(){if(!s&&!a){var b=i?Pa(0,i-Lt()):0,j=Pa(z,b);s=Pt(function(){s=null,g[xc](!0,null,1)},j)}}function Ct(){s&&s.cancel(),s=null,i=null}function qr(b){return B(V)?b===401||b===408||b===429||b===500||b===502||b===503||b===504:V[Fe]&&V.indexOf(b)>-1}function $n(){var b="getNotifyMgr",j,ae=g.core;return ae&&(ae[b]?j=ae[b]():j=ae._notificationManager),j}function Or(b,j){var ae=$n();if(ae&&ae.eventsSendRequest)try{ae.eventsSendRequest(b,j)}catch(Ee){Q(g[fr](),1,74,"send request notification failed: "+Ue(Ee),{exception:ne(Ee)})}}function Ts(b,j){var ae=j.disableInstrumentationKeyValidation,Ee=B(ae)?!1:ae;if(Ee)return!0;var De="^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",Ae=new RegExp(De);return Ae.test(b)}function Ql(){g[Rc]=null,g[qn]=null,g._appId=null,g._sample=null,l={},d=null,n=0,i=null,o=null,a=!1,s=null,c=null,u=0,f=0,v=null,p=null,m=null,_=null,h=0,N=!1,M=null,q=!1,w=null,D=Xn,W=!1,X=null,me=Xn,A=!1,I=!1,ce=!1,C=null,$=null,ue=null,xe(g,"_senderConfig",{g:function(){return Ld({},lC)}})}}),r}return e.constructEnvelope=function(r,n,i,o){var a;n!==r.iKey&&!B(n)?a=xt(xt({},r),{iKey:n}):a=r;var s=eb[a.baseType]||mg;return s(i,a,o)},e})(sn);var hg="duration",ta="properties";var pn="requestUrl",$i="length",mi="traceID",_i="spanID",mn="traceFlags",Mc="context",ra="aborted",Ml="_addHook",Kr="core",zp="includeCorrelationHeaders",Ll="getAbsoluteUrl",na="headers",Wr="requestHeaders",Kp="setRequestHeader",gg="trackDependencyDataInternal",ia="startTime",vs="toLowerCase",Wp="enableRequestHeaderTracking",Eg="enableAjaxErrorStatusText",Sg="enableAjaxPerfTracking",Tg="maxAjaxCallsPerVie
18w",yg="excludeRequestFromAutoTrackingPatterns",qp="disableAjaxTracking",Ng="ajaxPerfLookupDelay",Cg="disableFetchTracking",Dg="enableResponseHeaderTracking",_n="status",Qi="statusText",Lc="headerMap",Ji="requestSentTime",Yl="getTraceId",Fl="getTraceFlags",vi="method",Ul="errorStatusText",Xp="stateChangeAttached",Ig="responseText",hs="responseFinishedTime",kl="CreateTrackItem",Ag="getAllResponseHeaders",Gl="getPartAProps",Yc="perfMark",Hl="perfTiming",$p="ajaxDiagnosticsMessage",Vl="correlationContext",Qp="ajaxTotalDuration",Jp="eventTraceCtx";function dC(t,e,r){var n=0,i=t[e],o=t[r];return i&&o&&(n=Wt(i,o)),n}function gs(t,e,r,n,i){var o=0,a=dC(r,n,i);return a&&(o=oa(t,e,ln(a))),o}function oa(t,e,r){var n="ajaxPerf",i=0;if(t&&e&&r){var o=t[n]=t[n]||{};o[e]=r,i=1}return i}function tb(t,e){var r=t[Hl],n=e[ta]||{},i=0,o="name",a="Start",s="End",c="domainLookup",u="connect",l="redirect",f="request",v="response",d="startTime",p=c+a,m=c+s,_=u+a,h=u+s,N=f+a,L=f+s,F=v+a,M=v+s,q=l+a,w=l=s,D="transferSize",W="encodedBodySize",z="decodedBodySize",X="serverTiming";if(r){i|=gs(n,l,r,q,w),i|=gs(n,c,r,p,m),i|=gs(n,u,r,_,h),i|=gs(n,f,r,N,L),i|=gs(n,v,r,F,M),i|=gs(n,"networkConnect",r,d,h),i|=gs(n,"sentRequest",r,N,M);var J=r[hg];J||(J=dC(r,d,M)||0),i|=oa(n,hg,J),i|=oa(n,"perfTotal",J);var me=r[X];if(me){var T={};ee(me,function(R,A){var I=ka(R[o]||""+A),C=T[I]||{};Te(R,function($,ce){($!==o&&fe(ce)||Yn(ce))&&(C[$]&&(ce=C[$]+";"+ce),(ce||!fe(ce))&&(C[$]=ce))}),T[I]=C}),i|=oa(n,X,T)}i|=oa(n,D,r[D]),i|=oa(n,W,r[W]),i|=oa(n,z,r[z])}else t[Yc]&&(i|=oa(n,"missing",t.perfAttempts));i&&(e[ta]=n)}var rb=(function(){function t(){var e=this;e.openDone=!1,e.setRequestHeaderDone=!1,e.sendDone=!1,e.abortDone=!1,e[Xp]=!1}return t})();var Pg=(function(){function t(e,r,n,i){var o=this,a=n,s="responseText";o[Yc]=null,o.completed=!1,o.requestHeadersSize=null,o[Wr]=null,o.responseReceivingDuration=null,o.callbackDuration=null,o[Qp]=null,o[ra]=0,o.pageUrl=null,o[pn]=null,o.requestSize=0,o[vi]=null,o[_n]=null,o[Ji]=null,o.responseStartedTime=null,o[hs]=null,o.callbackFinishedTime=null,o.endTime=null,o.xhrMonitoringState=new rb,o.clientFailure=0,o[mi]=e,o[_i]=r,o[mn]=i?.getTraceFlags(),i?o[Jp]={traceId:i[Yl](),spanId:i.getSpanId(),traceFlags:i[Fl]()}:o[Jp]=null,Re(t,o,function(c){c.getAbsoluteUrl=function(){return c[pn]?Fh(c[pn]):null},c.getPathName=function(){return c[pn]?Gi(a,Uh(c[vi],c[pn])):null},c[kl]=function(u,l,f){var v;if(c.ajaxTotalDuration=ld(Wt(c.requestSentTime,c.responseFinishedTime)*1e3)/1e3,c[Qp]<0)return null;var d=(v={id:"|"+c[mi]+"."+c[_i],target:c[Ll](),name:c.getPathName(),type:u,startTime:null,duration:c[Qp],success:+c[_n]>=200&&+c[_n]<400,responseCode:+c[_n]},v[ta]={HttpMethod:c[vi]},v),p=d[ta];if(c[ra]&&(p[ra]=!0),c[Ji]&&(d[ia]=new Date,d[ia].setTime(c[Ji])),tb(c,d),l&&_r(c.requestHeaders)[$i]>0&&(p[Wr]=c[Wr]),f){var m=f();if(m){var _=m[Vl];if(_&&(d.correlationContext=_),m[Lc]&&_r(m.headerMap)[$i]>0&&(p.responseHeaders=m[Lc]),c[Ul])if(c[_n]>=400){var h=m.type;(h===""||h==="text")&&(p.responseText=m.responseText?m[Qi]+" - "+m[s]:m[Qi]),h==="json"&&(p.responseText=m.response?m[Qi]+" - "+JSON.stringify(m.response):m[Qi])}else c[_n]===0&&(p.responseText=m[Qi]||"")}}return d},c[Gl]=function(){var u=null,l=c[Jp];if(l&&(l.traceId||l.spanId)){u={};var f=u[Sr.TraceExt]={traceID:l.traceId,parentID:l.spanId};B(l[mn])||(f[mn]=l[mn])}return u}})}return t.__ieDyn=1,t})();var Nt,zl="diagLog",aa="_ajaxData",Es="fetch",Bl="Failed to monitor XMLHttpRequest",EC=", monitoring data for this ajax call ",Fc=EC+"may be incorrect.",pC=EC+"won't be sent.",mC="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",_C="Failed to add custom defined request context as configured call back may missing a null check.",vC="Failed to calculate the duration of the ",hC=0;function nb(){var t=At();return!t||B(t.Request)||B(t.Request[hr])||B(t[Es])?null:t[Es]}function ib(t,e){var r,n=!1;if(No()){var i=XMLHttpRequest[hr];n=!B(i)&&!B(i.open)&&!B(i.send)&&!B(i.abort)}var o=Uu();if(o&&o<9&&(n=!1),n)try{var a=new XMLHttpRequest,s={xh:[],i:(r={},r[e]={},r)};a[aa]=s;var c=XMLHttpRequest[hr].open;XMLHttpRequest[hr].open=c}catch(u){n=!1,Kl(t,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:ne(u)})}return n}var kc=function(t,e){return t&&e&&t[aa]?(t[aa].i||{})[e]:null},ob=function(t,e,r){if(t){var n=(t[aa]||{}).xh;n&&n.push({n:e,v:r})}},xg=function(t,e){var r=!1;if(t){var n=(t[aa]||{}).xh;n&&ee(n,function(i){if(i.n===e)return r=!0,-1})}return r};function em(t,e){var r="";try{var n=kc(t,e);
18n&&n[pn]&&(r+="(url: '"+n[pn]+"')")}catch{}return r}function Kl(t,e,r,n,i){Q(t[zl](),1,e,r,n,i)}function Zi(t,e,r,n,i){Q(t[zl](),2,e,r,n,i)}function jl(t,e,r){return function(n){var i;Kl(t,e,r,(i={},i[$p]=em(n.inst,t._ajaxDataId),i.exception=ne(n.err),i))}}function Uc(t,e){return t&&e?Ze(t,e):-1}function gC(t,e,r){var n={id:e,fn:r};return t.push(n),{remove:function(){ee(t,function(i,o){if(i.id===n.id)return t.splice(o,1),-1})}}}function SC(t,e,r,n){var i=!0;return ee(e,function(o,a){try{o.fn.call(null,r)===!1&&(i=!1)}catch(s){Q(t&&t.logger,1,64,"Dependency "+n+" [#"+a+"] failed: "+Ue(s),{exception:ne(s)},!0)}}),i}function ab(t,e,r,n,i,o){var a=t[$i],s=!0;if(a>0){var c={core:e,xhr:n,input:i,init:o,traceId:r[mi],spanId:r[_i],traceFlags:r[mn],context:r[Mc]||{},aborted:!!r[ra]};s=SC(e,t,c,"listener"),r[mi]=c.traceId,r[_i]=c.spanId,r[mn]=c[mn],r[Mc]=c[Mc]}return s}var Zp="*.blob.core.",TC=vr([Zp+"windows.net",Zp+"chinacloudapi.cn",Zp+"cloudapi.de",Zp+"usgovcloudapi.net"]),sb=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i],cb=vr((Nt={},Nt[Tg]=500,Nt[qp]=!1,Nt[Cg]=!1,Nt[yg]=void 0,Nt.disableCorrelationHeaders=!1,Nt.distributedTracingMode=1,Nt.correlationHeaderExcludedDomains=TC,Nt.correlationHeaderDomains=void 0,Nt.correlationHeaderExcludePatterns=void 0,Nt.appId=void 0,Nt.enableCorsCorrelation=!1,Nt[Wp]=!1,Nt[Dg]=!1,Nt[Eg]=!1,Nt[Sg]=!1,Nt.maxAjaxPerfLookupAttempts=3,Nt[Ng]=25,Nt.ignoreHeaders=["Authorization","X-API-Key","WWW-Authenticate"],Nt.addRequestContext=void 0,Nt.addIntEndpoints=!0,Nt)),Rg=(function(t){tr(e,t);function e(){var r=t.call(this)||this;r.identifier=e.identifier,r.priority=120;var n,i,o,a,s,c,u,l,f,v,d,p,m,_,h,N,L,F,M,q,w,D,W,z,X,J,me,T,R,A;return Re(e,r,function(I,C){var $=C[Ml];ce(),I.initialize=function(S,O,G,H){I.isInitialized()||(C.initialize(S,O,G,H),q=Ar(yt("ajax"),O&&O.evtNamespace&&O.evtNamespace()),ue(S),te(),g(),V())},I._doTeardown=function(){ce()},I.trackDependencyData=function(S,O){k(z,I[Kr],null,S,O)},I.resetAjaxAttempts=function(){u=0},I[zp]=function(S,O,G,H){var Z=I._currentWindowHost||o;if(ab(W,I[Kr],S,H,O,G)){if(O||O===""){if(mp(a,S[Ll](),Z)){G||(G={});var pe=new Headers(G[na]||(O instanceof Request?O[na]||{}:{}));if(v){var ge="|"+S[mi]+"."+S[_i];pe.set(Qe[3],ge),s&&(S[Wr][Qe[3]]=ge)}var we=R||l&&l.appId();if(we&&(pe.set(Qe[0],Qe[2]+we),s&&(S[Wr][Qe[0]]=Qe[2]+we)),f){var Ce=S[mn];B(Ce)&&(Ce=1);var Be=Qu($u(S[mi],S[_i],Ce));pe.set(Qe[4],Be),s&&(S[Wr][Qe[4]]=Be)}G[na]=pe}}else if(H&&mp(a,S[Ll](),Z)){if(v)if(xg(H,Qe[3]))Zi(I,71,"Unable to set ["+Qe[3]+"] as it has already been set by another instance");else{var ge="|"+S[mi]+"."+S[_i];H[Kp](Qe[3],ge),s&&(S[Wr][Qe[3]]=ge)}var we=R||l&&l.appId();if(we&&(xg(H,Qe[0])?Zi(I,71,"Unable to set ["+Qe[0]+"] as it has already been set by another instance"):(H[Kp](Qe[0],Qe[2]+we),s&&(S[Wr][Qe[0]]=Qe[2]+we))),f){var Ce=S[mn];if(B(Ce)&&(Ce=1),xg(H,Qe[4]))Zi(I,71,"Unable to set ["+Qe[4]+"] as it has already been set by another instance");else{var Be=Qu($u(S[mi],S[_i],Ce));H[Kp](Qe[4],Be),s&&(S[Wr][Qe[4]]=Be)}}}}return H||G},I[gg]=function(S,O,G){if(m===-1||u<m){(T===2||T===1)&&typeof S.id=="string"&&S.id[S.id[$i]-1]!=="."&&(S.id+="."),B(S[ia])&&(S[ia]=new Date);var H=In(S,fn.dataType,fn.envelopeType,I[zl](),O,G);I[Kr].track(H)}else u===m&&Kl(I,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0);++u},I.addDependencyListener=function(S){return gC(W,D++,S)},I.addDependencyInitializer=function(S){return gC(z,D++,S)};function ce(){var S=cr();n=!1,i=!1,A=!1,o=S&&S.host&&S.host[vs](),a=null,s=!1,c=!1,u=0,l=null,f=!1,v=!1,d=null,p=!1,m=0,_=!1,h={},N=!1,L=!1,F=null,M=null,q=null,D=0,W=[],z=[],w=yt("ajaxData"),I._ajaxDataId=w,X=null,J=1,me=1,T=1,R=null}function ue(S){I[Ml](je(S,function(O){var G=O.cfg,H=Gt(null,G,I[Kr]);a=H.getExtCfg(e.identifier,cb),T=a.distributedTracingMode,s=a[Wp],c=a[Eg],p=a[Sg],m=a[Tg],F=[].concat(a[yg]||[],a.addIntEndpoints!==!1?sb:[]),M=a.addRequestContext,v=T===0||T===1,f=T===1||T===2,p&&(d=w),N=!!a[qp],J=a.maxAjaxPerfLookupAttempts,me=a[Ng],X=a.ignoreHeaders,R=a.appId}))}function V(){var S=I[Kr].getPlugin(Vo);S&&(l=S.plugin[Mc])}function y(S){var O=!0;return(S||X)&&ee(X,function(G){if(G[vs]()===S[vs]())return O=!1,-1}),O}function g(){var S=nb();if(S){var O=At(),G=S.polyfill;I[Ml](je(a,function(){L=!!a[Cg],_=a[Dg],!L&&!n?($(tl(O,Es,{ns:q,req:function(H,Z,pe){var ge;if(!L&&n&&!re(null,Z,pe)&&!(G&&i)){var we=H.ctx();ge=P(Z,pe);var Ce=I[zp](ge,Z,pe);Ce!==pe&&H.set(1,Ce),we.data=ge}},rsp:function(H,Z){if(!L){var pe=H.ctx().data;pe&&(H.rslt=H.rslt.then(function(ge){return x(H,(ge||{})[_n],Z,ge,pe,function(){var we,Ce=(we={statusText:(ge||{})[Qi],headerMap:null},we[Vl]=U(ge),we);if(_&&ge){var Be={};
18ge.headers.forEach(function(it,Ct){y(Ct)&&(Be[Ct]=it)}),Ce[Lc]=Be}return Ce}),ge}).catch(function(ge){throw x(H,0,Z,null,pe,null,{error:ge.message||ne(ge)}),ge}))}},hkErr:jl(I,15,"Failed to monitor Window.fetch"+Fc)},!0,od())),n=!0):G&&!A&&($(tl(O,Es,{ns:q,req:function(H,Z,pe){re(null,Z,pe)}})),A=!0)})),G&&(O[Es].polyfill=G)}}function Y(S,O,G){$(bh(S,O,G))}function te(){ib(I,w)&&I[Ml](je(a,function(){N=!!a[qp],s=a[Wp],!N&&!i&&(Y(XMLHttpRequest,"open",{ns:q,req:function(S,O,G,H){if(!N){var Z=S.inst,pe=kc(Z,w);!re(Z,G)&&ye(Z,pe,!0)&&((!pe||!pe.xhrMonitoringState.openDone)&&(pe=be(Z,O,G,H)),ke(Z,pe))}},hkErr:jl(I,15,Bl+".open"+Fc)}),Y(XMLHttpRequest,"send",{ns:q,req:function(S,O){if(!N){var G=S.inst,H=kc(G,w);ye(G,H)&&!H.xhrMonitoringState.sendDone&&(Xt("xhr",H),H[Ji]=mc(),I[zp](H,void 0,void 0,G),H.xhrMonitoringState.sendDone=!0)}},hkErr:jl(I,17,Bl+Fc)}),Y(XMLHttpRequest,"abort",{ns:q,req:function(S){if(!N){var O=S.inst,G=kc(O,w);ye(O,G)&&!G.xhrMonitoringState.abortDone&&(G[ra]=1,G.xhrMonitoringState.abortDone=!0)}},hkErr:jl(I,13,Bl+".abort"+Fc)}),Y(XMLHttpRequest,"setRequestHeader",{ns:q,req:function(S,O,G){if(!N){var H=S.inst,Z=kc(H,w);Z&&ye(H,Z)&&(ob(H,O,G),s&&y(O)&&(Z[Wr][O]=G))}},hkErr:jl(I,71,Bl+".setRequestHeader"+Fc)}),i=!0)}))}function re(S,O,G){var H=!1,Z=((fe(O)?O:(O||{}).url||"")||"")[vs]();if(ee(F,function(we){var Ce=we;fe(we)&&(Ce=new RegExp(we)),H||(H=Ce.test(Z))}),H)return H;var pe=Uc(Z,"?"),ge=Uc(Z,"#");return(pe===-1||ge!==-1&&ge<pe)&&(pe=ge),pe!==-1&&(Z=Z.substring(0,pe)),B(S)?B(O)||(H=(typeof O=="object"?O[li]===!0:!1)||(G?G[li]===!0:!1)):H=S[li]===!0||Z[li]===!0,!H&&Z&&pc(Z)&&(H=!0),H?h[Z]||(h[Z]=1):h[Z]&&(H=!0),H}function ye(S,O,G){var H=!0,Z=i;return B(S)||(H=G===!0||!B(O)),Z&&H}function he(){var S=null;return I[Kr]&&I[Kr].getTraceCtx&&(S=I[Kr].getTraceCtx(!1)),!S&&l&&l.telemetryTrace&&(S=ns(l.telemetryTrace)),S}function be(S,O,G,H){var Z,pe=he(),ge=pe&&pe[Yl]()||an(),we=Un(an(),0,16),Ce=S[aa]=S[aa]||{xh:[],i:{}},Be=Ce.i=Ce.i||{},it=Be[w]=Be[w]||new Pg(ge,we,I[zl](),(Z=I.core)===null||Z===void 0?void 0:Z.getTraceCtx());return it[mn]=pe&&pe[Fl](),it[vi]=O,it[pn]=G,it.xhrMonitoringState.openDone=!0,it[Wr]={},it.async=H,it[Ul]=c,it}function ke(S,O){O.xhrMonitoringState[Xp]=Vr(S,"readystatechange",function(){var G;try{S&&S.readyState===4&&ye(S,O)&&Je(S)}catch(Z){var H=ne(Z);(!H||Uc(H[vs](),"c00c023f")===-1)&&Kl(I,16,Bl+" 'readystatechange' event handler"+Fc,(G={},G[$p]=em(S,w),G.exception=H,G))}},q)}function Et(S){try{var O=S.responseType;if(O===""||O==="text")return S[Ig]}catch{}return null}function Je(S){var O=kc(S,w);O[hs]=mc(),O[_n]=S[_n];function G(H,Z){var pe=Z||{};pe.ajaxDiagnosticsMessage=em(S,w),H&&(pe.exception=ne(H)),Zi(I,14,vC+"ajax call"+pC,pe)}K("xmlhttprequest",O,function(){try{var H=O[kl]("Ajax",s,function(){var Ce,Be=(Ce={statusText:S[Qi],headerMap:null},Ce[Vl]=tt(S),Ce.type=S.responseType,Ce[Ig]=Et(S),Ce.response=S.response,Ce);if(_){var it=S[Ag]();if(it){var Ct=Ve(it).split(/[\r\n]+/),qr={};ee(Ct,function($n){var Or=$n.split(": "),Ts=Or.shift(),Ql=Or.join(": ");y(Ts)&&(qr[Ts]=Ql)}),Be[Lc]=qr}}return Be}),Z=void 0;try{M&&(Z=M({status:S[_n],xhr:S}))}catch{Zi(I,104,_C)}if(H){Z!==void 0&&(H[ta]=xt(xt({},H.properties),Z));var pe=O[Gl]();k(z,I[Kr],O,H,null,pe)}else G(null,{requestSentTime:O[Ji],responseFinishedTime:O[hs]})}finally{try{var ge=S[aa]||{i:{}},we=ge.i||{};we[w]&&(we[w]=null)}catch{}}},function(H){G(H,null)})}function tt(S){var O;try{var G=S[Ag]();if(G!==null){var H=Uc(G[vs](),Qe[8]);if(H!==-1){var Z=S.getResponseHeader(Qe[0]);return _p(Z)}}}catch(pe){Zi(I,18,mC,(O={},O[$p]=em(S,w),O.exception=ne(pe),O))}}function Xt(S,O){if(O[pn]&&d&&p){var G=Nr();if(G&&le(G.mark)){hC++;var H=d+S+"#"+hC;G.mark(H);var Z=G.getEntriesByName(H);Z&&Z[$i]===1&&(O[Yc]=Z[0])}}}function K(S,O,G,H){var Z=O[Yc],pe=Nr(),ge=J,we=me,Ce=O[pn],Be=0;(function it(){try{if(pe&&Z){Be++;for(var Ct=null,qr=pe.getEntries(),$n=qr[$i]-1;$n>=0;$n--){var Or=qr[$n];if(Or){if(Or.entryType==="resource")Or.initiatorType===S&&(Uc(Or.name,Ce)!==-1||Uc(Ce,Or.name)!==-1)&&(Ct=Or);else if(Or.entryType==="mark"&&Or.name===Z.name){O[Hl]=Ct;break}if(Or[ia]<Z[ia]-1e3)break}}}!Z||O[Hl]||Be>=ge||O.async===!1?(Z&&le(pe.clearMarks)&&pe.clearMarks(Z.name),O.perfAttempts=Be,G()):Pt(it,we)}catch(Ts){H(Ts)}})()}
18function P(S,O){var G,H=he(),Z=H&&H[Yl]()||an(),pe=Un(an(),0,16),ge=new Pg(Z,pe,I[zl](),(G=I.core)===null||G===void 0?void 0:G.getTraceCtx());ge[mn]=H&&H[Fl](),ge[Ji]=mc(),ge[Ul]=c;var we;if(S instanceof Request?we=(S||{}).url||"":we=S,we===""){var Ce=cr();Ce&&Ce.href&&(we=nv(Ce.href,"#")[0])}I[Kr]&&I[Kr].config&&(we=Cr(we,I[Kr].config)),ge[pn]=we;var Be="GET";O&&O[vi]?Be=O[vi]:S&&S instanceof Request&&(Be=S[vi]),ge[vi]=Be;var it={};if(s){var Ct=new Headers((O?O[na]:0)||(S instanceof Request?S[na]||{}:{}));Ct.forEach(function(qr,$n){y($n)&&(it[$n]=qr)})}return ge[Wr]=it,Xt(Es,ge),ge}function E(S){var O="";try{B(S)||(typeof S=="string"?O+="(url: '".concat(S,"')"):O+="(url: '".concat(S.url,"')"))}catch(G){Kl(I,15,"Failed to grab failed fetch diagnostics message",{exception:ne(G)})}return O}function x(S,O,G,H,Z,pe,ge){if(!Z)return;function we(Ce,Be,it){var Ct=it||{};Ct.fetchDiagnosticsMessage=E(G),Be&&(Ct.exception=ne(Be)),Zi(I,Ce,vC+"fetch call"+pC,Ct)}Z[hs]=mc(),Z[_n]=O,K(Es,Z,function(){var Ce=Z[kl]("Fetch",s,pe),Be;try{M&&(Be=M({status:O,request:G,response:H}))}catch{Zi(I,104,_C)}if(Ce){Be!==void 0&&(Ce[ta]=xt(xt({},Ce.properties),Be));var it=Z[Gl]();k(z,I[Kr],Z,Ce,null,it)}else we(14,null,{requestSentTime:Z[Ji],responseFinishedTime:Z[hs]})},function(Ce){we(18,Ce,null)})}function U(S){if(S&&S[na])try{var O=S[na].get(Qe[0]);return _p(O)}catch(G){Zi(I,18,mC,{fetchDiagnosticsMessage:E(S),exception:ne(G)})}}function k(S,O,G,H,Z,pe){var ge=!0,we=S[$i];if(we>0){var Ce={item:H,properties:Z,sysProperties:pe,context:G?G[Mc]:null,aborted:G?!!G[ra]:!1};ge=SC(O,S,Ce,"initializer")}ge&&I[gg](H,Z,pe)}}),r}return e.prototype.processTelemetry=function(r,n){this.processNext(r,n)},e.prototype.addDependencyInitializer=function(r){return null},e.identifier="AjaxDependencyPlugin",e})(sn);var yC=(function(){function t(){}return t})();var NC=(function(){function t(){this.id="browser",this.deviceClass="Browser"}return t})();var ub="3.3.11",CC=(function(){function t(e,r){var n=this,i=je(e,function(){var o=e.sdkExtension;n.sdkVersion=(o?o+"_":"")+"javascript:"+ub});r&&r.add(i)}return t})();var DC=(function(){function t(){}return t})();var Gc="session",Hc="sessionManager",Vc="isUserCookieSet",Bc="isNewUser",tm="getTraceCtx",Wl="telemetryTrace",rm="applySessionContext",nm="applyApplicationContext",im="applyOperationContext",om="applyOperatingSystemContxt",am="applyLocationContext",sm="applyInternalContext",jc="getSessionId",cm="sessionCookiePostfix",eo="automaticSession",sa="accountId",ca="authenticatedId",zc="acquisitionDate",ql="renewalDate",Kc="cookieSeparator",um="authUserCookieName";var lb="ai_session",fb=864e5,db=18e5,pb=6e4,bg=(function(){function t(){}return t})();var IC=(function(){function t(e,r,n){var i=this,o,a,s=Ir(r),c=Wa(r),u,l;Re(t,i,function(f){e||(e={});var v=je(e,function(N){u=e.sessionExpirationMs||fb,l=e.sessionRenewalMs||db;var L=e[cm]||e.namePrefix||"";o=lb+L});n&&n.add(v),f[eo]=new bg,f.update=function(){var N=Lt(),L=!1,F=f[eo];if(F.id||(L=!d(F,N)),!L&&u>0){var M=N-F[zc],q=N-F[ql];L=M<0||q<0,L=L||M>u,L=L||q>l}L?m(N):(!a||N-a>pb)&&_(F,N)},f.backup=function(){var N=f[eo];h(N.id,N[zc],N[ql])};function d(N,L){var F=!1,M=c.get(o);if(M&&le(M.split))F=p(N,M);else{var q=fl(s,o);q&&(F=p(N,q))}return F||!!N.id}function p(N,L){var F=!1,M=", session will be reset",q=L.split("|");if(q.length>=2)try{var w=+q[1]||0,D=+q[2]||0;isNaN(w)||w<=0?Q(s,2,27,"AI session acquisition date is 0"+M):isNaN(D)||D<=0?Q(s,2,27,"AI session renewal date is 0"+M):q[0]&&(N.id=q[0],N[zc]=w,N[ql]=D,F=!0)}catch(W){Q(s,1,9,"Error parsing ai_session value ["+(L||"")+"]"+M+" - "+Ue(W),{exception:ne(W)})}return F}function m(N){var L=e.getNewId||za;f[eo].id=L(e.idLength||22),f[eo][zc]=N,_(f[eo],N),os()||Q(s,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function _(N,L){var F=N[zc];N[ql]=L;var M=l,q=F+u-L,w=[N.id,F,L],D=0;q<M?D=q/1e3:D=M/1e3;var W=e.cookieDomain||null;c.set(o,w.join("|"),u>0?D:null,W),a=L}function h(N,L,F){dl(s,o,[N,L,F].join("|"))}})}return t.__ieDyn=1,t})();var AC=(function(){function t(e,r,n,i,o){var a=this;a.traceID=e||an(),a.parentID=r;var s=cr();!n&&s&&s.pathname&&(n=s.pathname,o&&(n=Cr(n,o))),a.name=qe(i,n)}return t})();function PC(t){return!(typeof t!="string"||!t||t.match(/,|;|=| |\|/))}var xC=(function(){function t(e,r,n){this.isNewUser=!1,this.isUserCookieSet=!1;var i=Ir(r),o=Wa(r),a;Re(t,this,function(s){xe(s,"config",{g:function(){return e}});var c=je(e,function(){var v=e.userCookiePostfix||"";a=t.userCookieName+v;var d=o.get(a);if(d){s[Bc]=!1;var p=d.split(t[Kc]);p.length>0&&(s.id=p[0],s[Vc]=!!s.id)}if(!s.id){s.id=u();var m=l(s.id);f(m.join(t[Kc]));var _=(e.namePrefix||"")+"ai_session";Bh(i,_)}s[sa]=e[sa]||void 0;var h=o.get(t[um]);if(h){h=decodeURI(h);var N=h.split(t[Kc]);N[0]&&(s[ca]=N[0]),N.length>1&&N[1]&&(s[sa]=N[1])}});n&&n.add(c);function u(){var v=e||{},d=v.getNewId||za,p=d(v.idLength?e.idLength:22);return p}function l(v){var d=Cn(new Date);s.accountAcquisitionDate=d,s[Bc]=!0;var p=[v,d];return p}function f(v){var d=31536e3;s[Vc]=o.set(a,v,d)}s.setAuthenticatedUserContext=function(v,d,p){p===void 0&&(p=!1);var m=!PC(v)||d&&!PC(d);if(m){Q(i,2,60,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);return}s[ca]=v;var _=s[ca];
18d&&(s[sa]=d,_=[s[ca],s.accountId].join(t[Kc])),p&&o.set(t[um],encodeURI(_))},s.clearAuthenticatedUserContext=function(){s[ca]=null,s[sa]=null,o.del(t[um])},s.update=function(v){if(s.id!==v||!s[Vc]){var d=v||u(),p=l(d);f(p.join(t[Kc]))}}})}return t.cookieSeparator="|",t.userCookieName="ai_user",t.authUserCookieName="ai_authUser",t})();var lm="ext",fm="tags";function Wc(t,e){t&&t[e]&&_r(t[e]).length===0&&delete t[e]}function RC(){return null}var bC=(function(){function t(e,r,n,i){var o=this,a=e.logger;Re(t,this,function(s){if(s.appId=RC,s[jc]=RC,s.application=new yC,s.internal=new CC(r,i),vo()){s[Hc]=new IC(r,e,i),s.device=new NC,s.location=new DC,s.user=new xC(r,e,i);var c=void 0,u=void 0,l;n&&(c=n.getTraceId(),u=n.getSpanId(),l=n.getName()),s[Wl]=new AC(c,u,l,a),s[Gc]=new bg}s[jc]=function(){var f=s[Gc],v=null;if(f&&fe(f.id))v=f.id;else{var d=(s[Hc]||{})[eo];v=d&&fe(d.id)?d.id:null}return v},s[rm]=function(f,v){et(Kt(f.ext,Sr.AppExt),"sesId",s[jc](),fe)},s[om]=function(f,v){et(f.ext,Sr.OSExt,s.os)},s[nm]=function(f,v){var d=s.application;if(d){var p=Kt(f,fm);et(p,ot.applicationVersion,d.ver,fe),et(p,ot.applicationBuild,d.build,fe)}},s.applyDeviceContext=function(f,v){var d=s.device;if(d){var p=Kt(Kt(f,lm),Sr.DeviceExt);et(p,"localId",d.id,fe),et(p,"ip",d.ip,fe),et(p,"model",d.model,fe),et(p,"deviceClass",d.deviceClass,fe)}},s[sm]=function(f,v){var d=s.internal;if(d){var p=Kt(f,fm);et(p,ot.internalAgentVersion,d.agentVersion,fe),et(p,ot.internalSdkVersion,qe(a,d.sdkVersion,64),fe),(f.baseType===Yi.dataType||f.baseType===Rr.dataType)&&(et(p,ot.internalSnippet,d.snippetVer,fe),et(p,ot.internalSdkSrc,d.sdkSrc,fe))}},s[am]=function(f,v){var d=o.location;d&&et(Kt(f,fm,[]),ot.locationIp,d.ip,fe)},s[im]=function(f,v){var d=s[Wl];if(d){var p=Kt(Kt(f,lm),Sr.TraceExt,{traceID:void 0,parentID:void 0});et(p,"traceID",d.traceID,fe,B),et(p,"name",d.name,fe,B),et(p,"parentID",d.parentID,fe,B)}},s.applyWebContext=function(f,v){var d=o.web;d&&et(Kt(f,lm),Sr.WebExt,d)},s.applyUserContext=function(f,v){var d=s.user;if(d){var p=Kt(f,fm,[]);et(p,ot.userAccountId,d[sa],fe);var m=Kt(Kt(f,lm),Sr.UserExt);et(m,"id",d.id,fe),et(m,"authId",d[ca],fe)}},s.cleanUp=function(f,v){var d=f.ext;d&&(Wc(d,Sr.DeviceExt),Wc(d,Sr.UserExt),Wc(d,Sr.WebExt),Wc(d,Sr.OSExt),Wc(d,Sr.AppExt),Wc(d,Sr.TraceExt))}})}return t.__ieDyn=1,t})();var ua,Og,qc=null,mb=En((ua={accountId:qc,sessionRenewalMs:1800*1e3,samplingPercentage:100,sessionExpirationMs:1440*60*1e3,cookieDomain:qc,sdkExtension:qc,isBrowserLinkTrackingEnabled:!1,appId:qc},ua[jc]=qc,ua.namePrefix=Og,ua[cm]=Og,ua.userCookiePostfix=Og,ua.idLength=22,ua.getNewId=qc,ua)),_b=(function(t){tr(e,t);function e(){var r=t.call(this)||this;r.priority=110,r.identifier=Vo;var n,i,o,a,s;return Re(e,r,function(c,u){l(),xe(c,"context",{g:function(){return a}}),c.initialize=function(d,p,m,_){u.initialize(d,p,m,_),f(d)},c.processTelemetry=function(d,p){if(!B(d)){p=c._getTelCtx(p),d.name===Rr.envelopeType&&p.diagLog().resetInternalMessageCount();var m=a||{};m[Gc]&&typeof a[Gc].id!="string"&&m[Hc]&&m[Hc].update();var _=m.user;if(_&&!_[Vc]&&_.update(m.user.id),v(d,p),_&&_[Bc]&&(_[Bc]=!1,!s)){var h=new Yi(72,(sr()||{}).userAgent||"");nh(p.diagLog(),1,h)}c.processNext(d,p)}},c._doTeardown=function(d,p){var m=(d||{}).core();if(m&&m[tm]){var _=m[tm](!1);_===i&&m.setTraceCtx(o)}l()};function l(){n=null,i=null,o=null,a=null,s=!0}function f(d){var p=c.identifier,m=c.core;c._addHook(je(d,function(){var _=Gt(null,d,m);d.storagePrefix&&is(d.storagePrefix),s=d.disableUserInitMessage!==!1,n=_.getExtCfg(p,mb),c._extConfig=n})),o=m[tm](!1),a=new bC(m,n,o,c._unloadHooks),i=ns(c.context[Wl],o),m.setTraceCtx(i),c.context.appId=function(){var _=m.getPlugin(Tp);return _?_.plugin._appId:null}}function v(d,p){Kt(d,"tags",[]),Kt(d,"ext",{});var m=c.context;m[rm](d,p),m[nm](d,p),m.applyDeviceContext(d,p),m[im](d,p),m.applyUserContext(d,p),m[om](d,p),m.applyWebContext(d,p),m[am](d,p),m[sm](d,p),m.cleanUp(d,p)}}),r}return e.__ieDyn=1,e})(sn),wg=_b;var OC="AuthenticatedUserContext",Xc="track";var dm="snippet",wC="getCookieMgr",MC="startTrackPage",LC="stopTrackPage",pm="flush",YC="startTrackEvent",FC="stopTrackEvent",Mg="addTelemetryInitializer",fV=Mg+"s",Lg="pollInternalLogs",mm="getPlugin",_m="evtNamespace",UC=Xc+"Event",kC=Xc+"Trace",GC=Xc+"Metric",HC=Xc+"PageView",VC=Xc+"Exception",BC=Xc+"DependencyData",jC="set"+OC,zC="clear"+OC,KC="https://js.monitor.azure.com/scripts/b/ai.config.1.cfg.json";var Xl="connectionString",vm="version",la="queue",$c="instrumentationKey",Ss="userOverrideEndpointUrl",hm="endpointUrl",Qc="onunloadFlush",vn="context",Yg="addHousekeepingBeforeUnload",gm="sendMessage",WC="updateSnippetDefinitions";var hi,Jc,Zc,Fg,$l,qC=[dm,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"],$C="iKeyUsage",QC="CdnUsage",JC="SdkLoaderVer",vb="zipPayload",Em=void 0,hb={samplingRate:100,maxSendNumber:1},gb={monthInterval:3,daysOfMonth:[28]},Sm={disabled:!0,limit:Dr(hb),interval:Dr(gb)},Eb=(hi={},hi[Xl]=Em,hi.endpointUrl=Em,hi[$c]=Em,hi[Ss]=Em,hi.diagnosticLogInterval=Do(Sb,1e4),hi.featureOptIn=(Jc={},Jc[$C]={mode:3},Jc[QC]={mode:2},Jc[JC]={mode:2},Jc[vb]={mode:1},Jc),hi.throttleMgrCfg=Dr((Zc={},Zc[109]=Dr(Sm),Zc[106]=Dr(Sm),Zc[111]=Dr(Sm),Zc[110]=Dr(Sm),Zc)),hi.extensionConfig=Dr((Fg={},Fg.AppInsightsCfgSyncPlugin=Dr({cfgUrl:KC,syncMode:2}),Fg)),hi);function Sb(t){return t&&t>0}function XC(t,e){return Js(function(r,n){Rt(e,function(i){var o=i&&i.value,a=null;!i.rejected&&o&&(t[Xl]=o,a=hp(o)),r(a)})})}var Ug=(function(){function t(e){var r=this,n,i,o,a,s,c,u,l,f,v,d,p,m,_;Re(t,this,function(h){F(),xe(h,"config",{g:function(){return l}}),ee(["pluginVersionStringArr","pluginVersionString"],function(w){xe(h,w,{g:function(){return u?u[w]:null}})}),a=""+(e.sv||e[vm]||""),e[la]=e[la]||[],e[vm]=e[vm]||2;var N=kt(e.config||{},Eb);l=N.cfg,f=new Mp,xe(h,"appInsights",{g:function(){return f}}),i=new wg,n=new Rg,o=new vg,u=new Eh,xe(h,"core",{g:function(){return u}}),q(je(N,function(){var w=l[Xl];if(Qr(w)){var D=Js(function(J,me){Rt(XC(l,w),function(T){if(T.rejected)J(null);else{var R=l[$c],A=T.value;R=A&&A.instrumentationkey||R,J(R)}})}),W=l[Ss];B(W)&&(W=Js(function(J,me){Rt(XC(l,w),function(T){if(T.rejected)J(null);else{var R=l[hm],A=T.value,I=A&&A.ingestionendpoint;R=I?I+fi:R,J(R)}})})),l[$c]=D,l[hm]=W}if(fe(w)&&w){var z=hp(w),X=z.ingestionendpoint;l.endpointUrl=l[Ss]?l[Ss]:X+fi,l[$c]=z.instrumentationkey||l[$c]}l.endpointUrl=l[Ss]?l[Ss]:l[hm]})),h[dm]=e,h[pm]=function(w,D){w===void 0&&(w=!0);var W;return xo(u,function(){return"AISKU.flush"},function(){w&&!D&&(W=gr(function(J){D=J}));var z=1,X=function(){z--,z===0&&D()};ee(u.getChannels(),function(J){J&&(z++,J[pm](w,X))}),X()},null,w),W}
18,h[Qc]=function(w){w===void 0&&(w=!0),ee(u.getChannels(),function(D){D[Qc]?D[Qc]():D[pm](w)})},h.loadAppInsights=function(w,D,W){w===void 0&&(w=!1),w&&Ny("Legacy Mode is no longer supported");function z(X){if(X){var J="";B(a)||(J+=a),h[vn]&&h[vn].internal&&(h[vn].internal.snippetVer=J||"-"),Te(h,function(me,T){fe(me)&&!le(T)&&me&&me[0]!=="_"&&st(qC,me)===-1&&X[me]!==T&&(X[me]=T)})}}return xo(h.core,function(){return"AISKU.loadAppInsights"},function(){u.initialize(l,[o,i,n,f,v],D,W),xe(h,"context",{g:function(){return i[vn]}}),d||(d=new jh(u));var X=Tb();X&&h[vn]&&(h[vn].internal.sdkSrc=X),z(h[dm]),h.emptyQueue(),h[Lg](),h[Yg](h),q(je(N,function(){var J=!1;l.throttleMgrCfg[109]&&(J=!l.throttleMgrCfg[109].disabled),!d.isReady()&&l.extensionConfig&&l.extensionConfig[v.identifier]&&J&&d.onReadyState(!0),!p&&!l[Xl]&&Ha($C,l,!0)&&(d[gm](106,"See Instrumentation key support at aka.ms/IkeyMigrate"),p=!0),!m&&h[vn].internal.sdkSrc&&h[vn].internal.sdkSrc.indexOf("az416426")!=-1&&Ha(QC,l,!0)&&(d[gm](110,"See Cdn support notice at aka.ms/JsActiveCdn"),m=!0),!_&&parseInt(a)<6&&Ha(JC,l,!0)&&(d[gm](111,"An updated Sdk Loader is available, see aka.ms/SnippetVer"),_=!0)}))}),h},h[WC]=function(w){Mv(w,h,function(D){return D&&st(qC,D)===-1})},h.emptyQueue=function(){try{if(Se(h.snippet[la])){for(var w=h.snippet[la].length,D=0;D<w;D++){var W=h.snippet[la][D];W()}h.snippet[la]=void 0,delete h.snippet[la]}}catch(X){var z={};X&&le(X.toString)&&(z.exception=X.toString())}},h[Yg]=function(w){if(vo()||Eu()){var D=function(){if(w[Qc](!1),le(h.core[mm])){var z=r.core[mm](Vo);if(z){var X=z.plugin;X&&X[vn]&&X[vn]._sessionManager&&X[vn]._sessionManager.backup()}}},W=!1;c||(c=Ar(s,u[_m]&&u[_m]())),q(je(l,function(z){var X=z.cfg,J=w.appInsights,me=Gt(null,X,J.core),T=me.getExtCfg(J.identifier||yp);M();var R=X.disablePageUnloadEvents;T.disableFlushOnBeforeUnload||(Dh(D,R,c)&&(W=!0),el(D,R,c)&&(W=!0),!W&&!zv()&&Q(u.logger,1,19,"Could not add handler for beforeunload and pagehide")),!W&&!T.disableFlushOnUnload&&el(D,R,c)}))}},h.getSender=function(){return o},h.unload=function(w,D,W){var z=!1,X;w!==!1&&!D&&(X=gr(function(me){D=me}));function J(me){z||(z=!0,F(),D&&D(me))}return h[Qc](w),M(),u.unload&&u.unload(w,J,W),X},yo(h,f,[wC,UC,HC,"trackPageViewPerformance",VC,"_onerror",kC,GC,MC,LC,YC,FC]),yo(h,L,[BC,"addDependencyListener","addDependencyInitializer"]),yo(h,u,[Mg,Lg,"stopPollingInternalLogs",mm,"addPlugin",_m,"addUnloadCb","getTraceCtx","updateCfg","onCfgChange"]),yo(h,function(){var w=i[vn];return w?w.user:null},[jC,zC]);function L(){return n}function F(){s=yt("AISKU"),c=null,n=null,i=null,o=null,a=null,d=null,p=!1,m=!1,_=!1,v=new sg}function M(){c&&(Ih(null,c),Ah(null,c))}function q(w){u.addUnloadHook(w)}})}return t.prototype.addDependencyInitializer=function(e){return null},t})();function Tb(){if($l)return $l;var t=null,e=!1,r=["://js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var n=(document||{}).currentScript;n&&(t=n.src)}catch{}if(t){try{var i=t.toLowerCase();if(i){var o="";ee(r,function(a,s){if(Ze(i,a)!==-1)return o="cdn"+(s+1),Ze(i,"/scripts/")===-1&&(Ze(i,"/next/")!==-1?o+="-next":Ze(i,"/beta/")!==-1&&(o+="-beta")),$l=o+(e?".mod":""),-1})}}catch{}$l=t}return $l}var Tm=(()=>{let e=class e{constructor(){this.appInsights=new Ug({config:{connectionString:so.appInsights.connectionString}}),this.appInsights.loadAppInsights()}logPageView(n,i){this.appInsights.trackPageView({name:n,uri:i})}logEvent(n,i){this.appInsights.trackEvent({name:n},i)}logMetric(n,i,o){this.appInsights.trackMetric({name:n,average:i},o)}logException(n,i,o){this.appInsights.trackException({exception:n,severityLevel:i},o)}flush(){this.appInsights.flush(!1)}logTrace(n,i){this.appInsights.trackTrace({message:n},i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac});let t=e;return t})();pE(WT);function yb(t){return new Hf(t)}function Nb(t,e){return t.googleTagManagerId?t.googleTagManagerUrl?()=>e.set({id:t.googleTagManagerId,googleTagManagerResourcePath:t.googleTagManagerUrl}):()=>e.set({id:t.googleTagManagerId}):()=>e.set({id:"GTM-WC9BP6H"})}hf("nl",yS);hf("en",SS);hf("fr",TS);var Cb={cookie:{domain:""},palette:{popup:{background:"#000"},button:{background:"#7eb541",text:"#fff"}},position:"bottom-right",theme:"edgeless",type:"opt-out",autoOpen:!1};var ZC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Jn({type:e,bootstrap:[BT]}),e.\u0275inj=Qn({providers:[{provide:bm,useClass:jT,multi:!0},{provide:bm,useClass:ZT,multi:!0},{provide:rE,useClass:zT},{provide:Ym,useValue:"nl-NL"},{provide:RE,useClass:ES,deps:[Ym]},{provide:bE,useValue:gS},{provide:hS,useValue:{useUtc:!0}},xS,JT,Gf,gf,oS,Ps,fE,lf,mf,lo,Tm,wS,{provide:cf,useFactory:Nb,deps:[wn,cS],multi:!0},{provide:NE,useFactory:n=>
18n.IsBusinessShop?HT:GT,multi:!0,deps:[wn]},hE(gE()),ME()],imports:[[XE.forRoot(QT)],iS.forRoot(Cb),ff,wT,OS,qT.forRoot(),wE,OE,mS,CS,ZE,_S,PS.forRoot({toastComponent:KT,timeOut:1e4,positionClass:"toast-bottom-center",preventDuplicates:!0}),xE.forRoot({loader:{provide:AE,useFactory:yb,deps:[io]}}),XT,Om.forRoot([],{useHash:!1,onSameUrlNavigation:"reload"}),$T,uS.forRoot(),Om]});let t=e;return t})();function eD(t){return t instanceof Error?t:new Error(String(t))}function tD(t,e,r){return{source:"spa-bootstrap",phase:e.phase,url:e.url??"",status:e.status!=null?String(e.status):"",hostname:r.hostname,href:r.href,online:String(r.onLine),visibilityState:r.visibilityState,errorName:t.name}}so.production&&void 0;function Db(){return nu(this,null,function*(){let t="init",e,r;try{t="config";let o=(so.devtunnelEnabled&&so.devtunnelApiUrl?so.devtunnelApiUrl:so.configApiUrl)+"config/"+window.location.hostname;e=o;let a=yield fetch(o);if(r=a.status,!a.ok)throw new Error("config HTTP "+a.status);let s=yield a.json();sessionStorage.getItem("state")===null&&s.State!==null&&sessionStorage.setItem("state",s.State);let c=new URL(window.location.href),u=c.searchParams.get("sso-token");u!=null&&sessionStorage.setItem("jwt",u);let l=c.searchParams.get("bypass");t="validate-shop";var n=s.TenantShopApiUrl;e=n+"/v2/config/validate-shop";let f=yield fetch(e);if(r=f.status,f.status===404)throw new Error("shop not found.");sessionStorage.setItem("flags",JSON.stringify(s.Features)),sessionStorage.setItem("endpoint",s.TenantShopApiUrl),window.location.hash=="salesChannelSwitch"&&sessionStorage.setItem("displayNotification","salesChannelSwitch"),t="ensure-token",l!=null?(n=n+"/v2/Account/ensure-bypass-token/"+l,c.searchParams.delete("bypass"),window.history.pushState({},document.title,c)):n=n+"/v2/Account/ensure-valid-token",e=n;let v=sessionStorage.getItem("jwt"),d=v===null?yield fetch(n):yield fetch(n,{headers:{Authorization:`Bearer ${v}`}});r=d.status;let p=null;switch(d.status){case 404:case 500:throw new Error("unable to ensure valid token");case 200:p=yield d.json()}p!==null&&(sessionStorage.setItem("jwt",p.Token),fetch(o+"/validation").then(function(m){return m.text()}).then(function(m){sessionStorage.setItem("phoneValidation",m)}).catch(function(){})),t="angular-bootstrap",e=void 0,r=void 0,yield _E([{provide:wn,useValue:s.Config}]).bootstrapModule(ZC)}catch(i){try{let o=eD(i),a=new Tm;a.logException(o,Ep.Error,tD(o,{phase:t,url:e,status:r},{hostname:window.location.hostname,href:window.location.href,onLine:navigator.onLine,visibilityState:document.visibilityState})),a.flush()}catch(o){console.error(o)}console.error(i),window.location.href="/unavailable.html"}})}Db();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.