binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
LWR.define("lwr/lockerDefine/v/0_9_0",["exports"],function(Ot){"use strict";/*!
 * Copyright (C) 2019 salesforce.com, inc.
 */var Ee;const{apply:c,construct:We,defineProperty:Se,deleteProperty:fe,get:Ht,getOwnPropertyDescriptor:yt,getPrototypeOf:Ct,has:oe,isExtensible:pt,ownKeys:bn,preventExtensions:un,set:Dt,setPrototypeOf:It}=Reflect,Jn=Object,{assign:Fe,freeze:Ve,defineProperties:So,getOwnPropertyDescriptors:Fn,getOwnPropertySymbols:ur,keys:vi,preventExtensions:ze,prototype:Pn}=Jn,{hasOwn:ge}=Jn,{__lookupGetter__:go,__lookupSetter__:fr,hasOwnProperty:Hl}=Pn,{toString:Me}=Pn;function fn(t){return typeof t=="object"&&t!==null}function Qn(t){return typeof t=="object"&&t!==null||typeof t=="function"}const ke=typeof ge=="function"?ge:function(e,n){return c(Hl,e,[n])};function V(t,e){return t==null||!ke(t,e)?void 0:c(go,t,[e])}function de(t,e){return t==null||!ke(t,e)?void 0:c(fr,t,[e])}function k(t,e){return t==null||!ke(t,e)?void 0:t[e]}const dr=Symbol,{asyncIterator:Ul,for:ee,iterator:On,toStringTag:pr,unscopables:ba}=dr,{toString:$a,valueOf:jl}=dr.prototype,lt=Array,{prototype:Lt}=lt,{at:hr,concat:mr,copyWithin:Gn,entries:Es,every:Ws,fill:_a,findIndex:Sr,flat:Ea,flatMap:yo,forEach:Ts,keys:Wa,lastIndexOf:vs,map:wi,pop:Et,reduce:$n,reduceRight:ws,reverse:As,some:Cs,splice:ye,toLocaleString:Te,values:gr,[On]:Bl}=Lt,Ta=Ve(Fe({__proto__:null},Lt[ba])),{includes:va,sort:wa,unshift:Ps}=Lt,{filter:Bo,find:Vo,indexOf:Lo,join:Ai,push:Os,shift:Ci,slice:tn,toString:Rs}=Lt,{isArray:bo}=lt;function yr(t,...e){const n=c(tn,t,[0]);for(let i=0,{length:s}=e;i<s;i+=1){const l=e[i];bo(l)?c(Os,n,l):n[n.length]=l}return n}function zo(t){return It(t,null),t.at=hr,t.concat=mr,t.copyWithin=Gn,t.entries=Es,t.every=Ws,t.fill=_a,t.filter=Bo,t.find=Vo,t.findIndex=Sr,t.flat=Ea,t.flatMap=yo,t.forEach=Ts,t.includes=va,t.indexOf=Lo,t.join=Ai,t.keys=Wa,t.lastIndexOf=vs,t.map=wi,t.pop=Et,t.push=Os,t.reduce=$n,t.reduceRight=ws,t.reverse=As,t.shift=Ci,t.slice=tn,t.some=Cs,t.sort=wa,t.splice=ye,t.toLocaleString=Te,t.toString=Rs,t.unshift=Ps,t.values=gr,t[On]=Bl,t[ba]=Ta,It(t,Lt),t}const Pi=ArrayBuffer,{isView:Aa}=Pi,Ns=V(Pi.prototype,"byteLength"),Ds=typeof BigInt=="function",Rn=Ds?BigInt.prototype.valueOf:void 0,{valueOf:Oi}=Boolean.prototype,Nn="$LWS",Ri=`${function t(){return t.name}()}`.includes("LOCKER_UNMINIFIED_FLAG"),Ge="LSKey",Ni="lskey",Xr='"',Is="'",Dn=`uncompiledLocation${Nn}`,Lr=`uncompiledTop${Nn}`,br="__webpack_require__",en="Illegal property access.",In="Invalid sandbox key.",$r=ee("@@lockerNearMembraneProxyMasked"),Di=ee("@@lockerNearMembraneSerializedValue"),Ms=ee("@@lockerNearMembrane"),ks=ee("@@lockerLiveValue"),xs="[object Array]",Ca="[object ArrayBuffer]",_r="[object BigInt]",$o="[object Boolean]",Fs="[object Date]",Er="[object Function]",Ii="[object Map]",Yr="[object Null]",Ko="[object Number]",Gs="[object Object]",qo="[object RegExp]",Xo="[object Set]",Mi="[object String]",ki="[object Symbol]",Jr="[object Undefined]",_o="[object WeakMap]",Yo="[object WeakSet]",Wr="$lockerEvalContext$",Qr="$lockerEvalHelpers$",xi=Date,{now:Hs}=xi,{valueOf:Us}=xi.prototype,Zn=Error,Vt=TypeError;class bt extends Error{constructor(e){super(`Lightning Web Security: ${e}`)}}const ln=Proxy,{revocable:ve}=ln;function Tr(t){const e=ve(t,{__proto__:null});return e.revoke(),e.proxy}const{bind:tr,toString:Hn}=Function.prototype;function Un(t){return typeof t=="function"&&!($r in t)&&t[$r]===!0}function Wt(){}function jn(t,e,n){let i=c,s=We,l=Se,u=Ht,p=yt,L=oe,E=Dt;n&&({apply:i=c,construct:s=We,defineProperty:l=Se,get:u=Ht,getOwnPropertyDescriptor:p=yt,has:L=oe,set:E=Dt}=n);let N=!1,O=!1,H=0;const J=new ln(e,{apply(x,Z,st){return H=1,(Z===J||Z===e)&&(Z=t),i(t,Z,st)},construct(x,Z,st){return H=2,(st===J||st===e)&&(st=t),s(t,Z,st)},defineProperty(x,Z,st){if(H=4,Z===$r)throw new Vt(en);return l(x,Z,st)},deleteProperty(x,Z){return H=32,fe(x,Z)},get(x,Z,st){N&&(N=H===128),O&&(O=N),H=16;const Pt=Z===$r;if(O&&Pt)return!0;const wt=u(x,Z,st,N);if(wt!==void 0&&Pt)throw new Vt(en);return wt},getOwnPropertyDescriptor(x,Z){H=32;const st=p(x,Z);if(st&&Z===$r)throw new Vt(en);return st},getPrototypeOf(x){return H=64,Ct(x)},has(x,Z){H=128;const st=L(x,Z),Pt=Z===$r;if(st){if(N=!1,Pt)throw new Vt(en)}else N=!0,O=Pt;return st},isExtensible(x){return H=256,pt(x)},ownKeys(x){return H=512,bn(x)},preventExtensions(x){return H=1024,un(x)},set(x,Z,st,Pt){if(H=2048,Z===$r)throw new Vt(en);return E(x,Z,st,Pt)},setPrototypeOf(x,Z){return H=4096,It(x,Z)}});return J}const dn=Map,{prototype:Bn}=dn,{clear:Fi,delete:js,forEach:Gi,get:Pa,has:Eo,keys:Jo,values:Wo,[On]:Oa,[pr]:Vl}=Bn,{entries:To,set:Qo}=Bn,vr=V(Bn,"size");function Vn(t){return It(t,null),t.clear=Fi,t.delete=js,t.entries=To,t.forEach=Gi,t.get=Pa,t.has=Eo,t.keys=Jo,t.set=Qo,Se(t,"size",{__proto__:null,configurable:!0,enumerable:!0,get:vr,set:void 0}),t.values=Wo,t[On]=Oa,t[pr]=Vl,It(t,Bn),t}const vo=Number,{isFinite:_n,isInteger:Ra}=vo,{toFixed:zl,valueOf:Na}=vo.prototype,Bs=String,{prototype:Da}=Bs,{endsWith:Ia,includes:He,indexOf:Ma,match:Zo,replace:ne,slice:zt,split:Zr,startsWith:Ue,toLowerCase:Mn,toUpperCase:wr,valueOf:Vs}=Da,zs={__proto__:null,[Xr]:/\\?"/g,[Is]:/\\?'/g},wo=typeof URL=="function"?URL:void 0,ka=wo==null||(Ee=wo.prototype)==null?void 0:Ee.toString,xa=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;function Qt(t){const{length:e}=t;if(e){const n=c(wr,t[0],[]);return e===1?n:n+c(zt,t,[1])}return""}function nn(t,e=Is){return e+c(ne,t,[zs[e],`\\${e}`])+e}function Ar(t){var e,n;const i=c(Hn,t,[]),s=c(Zo,i,[xa]);return(e=(n=s==null?void 0:s[1])!=null?n:s==null?void 0:s[2])!=null?e:""}function we(t){if(typeof t!="symbol")try{return`${t}`!==void 0}catch(e){}return!1}function xt(t){return typeof t=="string"?t:`${t}`}function er(t){if(typeof t=="string")return t;try{if(typeof t=="function")return c(Hn,t,[]);if(typeof t=="object"&&t!==null){if(wo&&t instanceof wo)return c(ka,t,[]);const e=c(Me,t,[]);return e===ki?c($a,t,[]):e}return typeof t=="symbol"?c($a,t,[]):Bs(t)}catch(e){}return"[object Unknown]"}const Ae=RegExp,{prototype:nr}=Ae,{exec:pn,test:Ce}=nr,Hi=V(nr,"source"),Ks=/[\\^$.*+?()[\]{}|]/g;function Ke(t){return c(ne,t,[Ks,"\\$&"])}const rn=Set,{prototype:Cr}=rn,{clear:ti,delete:qs,entries:to,forEach:ei,has:Ui,keys:ji,[On]:Fa,[pr]:ni}=Cr,{add:Bi,values:Vi}=Cr,Xs=V(Cr,"size");function eo(t){return It(t,null),t.add=Bi,t.clear=ti,t.delete=qs,t.entries=to,t.forEach=ei,t.has=Ui,t.keys=ji,Se(t,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Xs,set:void 0}),t.values=Vi,t[On]=Fa,t[pr]=ni,It(t,Cr),t}const kt=WeakMap,{prototype:zi}=kt,{has:Ao}=zi,{delete:Ki,get:Pr,set:Co,[pr]:Or}=zi;function Yt(t){return It(t,null),t.delete=Ki,t.get=Pr,t.has=Ao,t.set=Co,t[pr]=Or,It(t,zi),t}const no=WeakSet,{prototype:zn}=no,{has:Po}=zn,{add:ie,delete:Kn,[pr]:rr}=zn;function ro(t){return It(t,null),t.add=ie,t.delete=Kn,t.has=Po,t[pr]=rr,It(t,zn),t}const{toStringTag:Ga}=Symbol,Ha=/[(`.[+\-/*%<>=,?^&]/,Ua=/\r\n?|\n|\u2028|\u2029/,or=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ja=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function Ba(t){try{if("byteLength"in t)return c(Ns,t,[]),Ca}catch(e){}try{if("toLocaleDateString"in t)return c(Us,t,[]),Fs}catch(e){}try{if("get"in t&&"size"in t)return c(vr,t,[]),Ii}catch(e){}try{if("add"in t&&"size"in t)return c(Xs,t,[]),Xo}catch(e){}try{if("get"in t&&!("size"in t))return c(Ao,t,[]),_o}catch(e){}try{if("add"in t&&!("size"in t))return c(Po,t,[]),Yo}catch(e){}try{if("toPrecision"in t)return c(Na,t,[]),Ko}catch(e){}try{if("description"in t)return c(jl,t,[]),ki}catch(e){}try{if(ke(t,"lastIndex"))return c(Hi,t,[]),qo}catch(e){}try{if(ke(t,"length"))return c(Vs,t,[]),Mi}catch(e){}try{return c(Oi,t,[]),$o}catch(e){}if(Ds)try{return c(Rn,t,[]),_r}catch(e){}return Gs}function _(t){if(t===null)return Yr;if(t===void 0)return Jr;switch(typeof t){case"bigint":return _r;case"boolean":return $o;case"function":return Er;case"number":return Ko;case"string":return Mi;case"symbol":return ki}return bo(t)?xs:Ga in t?Ba(t):c(Me,t,[])}typeof performance=="undefined"||c(tr,performance.now,[performance]);function o(t,e){let n=0;for(;;){or.lastIndex=n,n+=c(pn,or,[t])[0].length;const i=c(pn,ja,[c(zt,t,[n])]);if(i===null)return-1;if((i[1]||i[2])===e){or.lastIndex=n+i[0].length;const s=c(pn,or,[t]),l=s.index+s[0].length,u=t[l];if(u===";"||u==="}")return n;const p=l+1;if(c(Ce,Ua,[s[0]])&&!(u==="!"&&p<t.length&&t[p]==="="||c(Ce,Ha,[u])))return n}n+=i[0].length,or.lastIndex=n,n+=c(pn,or,[t])[0].length,t[n]===";"&&(n+=1)}}const{parse:a}=JSON;function d(t){if(typeof t=="object"&&t!==null||typeof t=="function")return Di in t?void 0:t[Di]}function m(t){return typeof t=="object"&&t!==null||typeof t=="function"?!(Ms in t)&&t[Ms]===!0:!1}const g=Vn(new dn);function T(t){return Jn(d(t))}function j(t,e){const n=new dn,i=c(To,t,[]);let{length:s}=e;for(;;){const{done:l,value:u}=i.next();if(l)break;const{0:p,1:L}=u;let E;e[s++]=[N=>{E=N},p],e[s++]=[N=>{c(Qo,n,[E,N])},L]}return n}function rt(t){const{flags:e,source:n}=a(d(t));return new Ae(n,e)}function q(t,e){const n=new rn,i=c(Vi,t,[]);let{length:s}=e;for(;;){const{done:l,value:u}=i.next();if(l)break;e[s++]=[p=>{c(Bi,n,[p])},u]}return n}function At(t,e,n){const i=vi(e);let{length:s}=t;for(let l=0,{length:u}=i;l<u;l+=1){const p=i[l],L=e[p];t[s++]=[E=>{n[p]=E},L]}}function gt(t){let e;const n=[[i=>{e=i},t]];t:for(;n.length;){const{0:i,1:s}=c(Ci,n,[]);if(s==null||typeof s=="boolean"||typeof s=="number"||typeof s=="string"||typeof s=="bigint"){i(s);continue t}if(typeof s=="symbol"){i(s);break t}let l=g.get(s);if(l){i(l);continue t}const u=_(s);switch(u){case Gs:{const p=Ct(s);(p===Pn||p===null||Ct(p)===null)&&(l={},At(n,s,l));break}case xs:l=lt(s.length),At(n,s,l);break;case Ii:l=j(s,n);break;case Xo:l=q(s,n);break}if(l===void 0){if(!m(s)){g.set(s,s),i(s);continue t}switch(u){case qo:l=rt(s);break;case $o:case Ko:case _r:case Mi:l=T(s);break}}if(l===void 0){i(s);break t}g.set(s,l),i(l)}return e}function Rt(t){let e=t;if(typeof t=="object"&&t!==null){try{e=gt(t)}catch(n){}g.clear()}return e}function Ut(t){return c(tn,t,[0])}function Pe(t){const e=bn(t),n={__proto__:null};for(let i=0,{length:s}=e;i<s;i+=1){const l=e[i];n[l]=t[l]}return n}const En=console,{warn:Rr}=En;function ri(...t){c(Rr,En,t)}const Ys=ro(new no);function Va(t,e=0){if(e&1||e&2||e&64||t===null||t===void 0||t===Pn||t===nr)return!1;if(typeof t=="function"){try{return Ys.has(t)||ke(t,ks)}catch(n){}return!1}if(typeof t=="object"){try{if(Ys.has(t)||ke(t,ks))return!0}catch(i){}let n;try{if({constructor:n}=t,n===Jn)return!0}catch(i){}try{if(Ct(t)===null&&(typeof n!="function"||n.prototype!==t))return!0}catch(i){}if(e===0){try{if(bo(t))return!0}catch(i){return!1}if(Aa(t))return!0}try{if(ke(t,"lastIndex"))return c(Hi,t,[]),!0}catch(i){}try{if("byteLength"in t)return c(Ns,t,[]),!0}catch(i){}}return!1}function ir(t){return Ys.add(t),t}const Kl=`${Ge}-`,ql="$",Xl=`${Ge}[`,Yl="]";function qi(t){return`${Kl}${t}${ql}`}function Js(t){return`${Xl}${t}${Yl}`}function sr(t,e){return`${qi(e)}${t}`}function Nr(t,e){return`${Js(e)}${t}`}function za(t,e){if(typeof t=="string"){const n=qi(e);return c(Ue,t,[n])?c(zt,t,[n.length]):t}return""}function Jl(t,e){if(typeof t=="string"){const n=Js(e);return c(Ue,t,[n])?c(zt,t,[n.length]):t}return""}function Qs(t,e){return typeof t=="string"&&c(Ue,t,[qi(e)])}function Oo(t,e){return typeof t=="string"&&c(Ue,t,[Js(e)])}const Dr=Promise,{catch:su,then:kn}=Dr.prototype,qn=Dr.resolve.bind(Dr),Ro=Dr.reject.bind(Dr);/*! version: 0.18.14 *//*!
 * Copyright (C) 2019 salesforce.com, inc.
 */var oi;const pe=AbortController,{prototype:Xn}=pe,{abort:le}=Xn,Ka=V(Xn,"signal"),{prototype:Zs}=Attr,ii=V(Zs,"name"),No=V(Zs,"namespaceURI"),Xi=V(Zs,"ownerElement"),{get:oo,set:au}=yt(Zs,"value"),Do=document,{prototype:si}=Document,{createComment:ai,createElement:li,createElementNS:ci,getElementById:Yi}=si,qa=V(si,"body"),{get:lu,set:cu}=yt(si,"cookie"),ta=V(si,"defaultView"),Xa=V(si,"documentElement"),Ql=V(si,"head"),Zl=V(si,"implementation"),{prototype:Ji}=Element,{closest:uu,getAttribute:hn,getAttributeNode:Ya,getAttributeNodeNS:Ja,hasAttribute:ui,querySelector:Qa,querySelectorAll:fu,removeAttribute:fi,removeAttributeNode:ea,removeAttributeNS:nd,setAttribute:io,setAttributeNS:tc,toggleAttribute:Qi}=Ji,{get:Zi,set:Io}=yt(Ji,"innerHTML"),du=V(Ji,"namespaceURI"),{get:Za}=yt(Ji,"outerHTML"),na=V(Ji,"tagName"),ra=V(HTMLTemplateElement.prototype,"content"),{prototype:so}=Node,{appendChild:ao,cloneNode:pu,isEqualNode:hu}=so,ec=V(so,"childNodes"),mu=V(so,"firstChild"),nc=V(so,"isConnected");V(so,"lastChild");const qt=V(so,"nodeName"),ts=V(so,"ownerDocument");yt(so,"textContent");const je=window,{location:tl,top:rd}=je,{setTimeout:rc}=je,{clearInterval:oc,decodeURIComponent:ic,encodeURIComponent:od,fetch:el,setInterval:Su,top:sc}=je,gu=(()=>{const{queueMicrotask:t}=je;return typeof t=="function"?t:function(n){let i=qn();i=c(kn,i,[n]),c(su,i,[s=>rc(()=>{throw s},0)])}})(),nl=V(je,"document"),ac=V(je,"frameElement"),es=V(je,"length"),lc=V(je,"location");function rl(t){if(typeof t=="object"&&t!==null&&ke(t,"window")&&t.window===t)try{return c(lc,t,[]),!0}catch(e){}return!1}class cc{constructor(e,{HTMLLinkElement:n,HTMLScriptElement:i}){this.isAllowedSharedElementChild=s=>s instanceof this._constructors.HTMLLinkElement||s instanceof this._constructors.HTMLScriptElement,this.isEqualDomString=(s,l)=>(c(Io,this._templates.left,[s]),c(Io,this._templates.right,[l]),uc(this._templates.left,this._templates.right)),this.isSharedElement=s=>s===c(Ql,this._document,[])||s===c(qa,this._document,[])||s===c(Xa,this._document,[]),this._constructors={HTMLLinkElement:n,HTMLScriptElement:i},this._document=e,this._templates={left:c(li,this._document,["template"]),right:c(li,this._document,["template"])}}}function uc(t,e){const n=t instanceof HTMLTemplateElement?c(ra,t,[]):t,i=e instanceof HTMLTemplateElement?c(ra,e,[]):e;if(c(hu,n,[i])){const s=c(ec,n,[]),l=s.length;if(l>0){const u=c(ec,i,[]);for(let p=0;p<l;p+=1)if(uc(s[p],u[p])===!1)return!1}return!0}return!1}const se=new cc(Do,je),fc=Yt(new kt([[Do,se]]));function yu(t,e){if(e===void 0||e===je)return se;let n=fc.get(t);return n===void 0&&(n=new cc(t,e),fc.set(t,n)),n}const dc=Blob,{prototype:ol}=dc,{slice:pc}=ol,ns=V(ol,"size"),Lu=V(ol,"type"),{navigator:hc,navigator:{userAgentData:il}}=je,di=il==null?void 0:il.brands,bu=/ (?:Headless)?Chrome\/\d+/,mc=/WebKit/i;let oa;function Sc(){return oa===void 0&&(oa=hc.userAgent),oa}const rs=Ni,al=!(bo(di)&&di.length?c(Vo,di,[t=>(t==null?void 0:t.brand)==="Chromium"])!==void 0:c(Ce,bu,[Sc()]))&&(bo(di)&&di.length?c(Vo,di,[t=>{const e=t==null?void 0:t.brand;return typeof e=="string"&&c(Ce,mc,[e])}])!==void 0:c(Ce,mc,[Sc()])),Ir=je==null||(oi=je.CustomElementRegistry)==null?void 0:oi.prototype,os=Ir==null?void 0:Ir.define,gc=Ir==null?void 0:Ir.get,ll=Ir==null?void 0:Ir.whenDefined,{getElementById:$u}=DocumentFragment.prototype;V(DOMException.prototype,"code");const{createDocument:yc}=DOMImplementation.prototype,Lc=V(DOMTokenList.prototype,"value"),Eu=Event,{prototype:bc}=Eu,{stopPropagation:$c}=bc,_c=V(bc,"currentTarget"),{addEventListener:lo,dispatchEvent:Wu,removeEventListener:pi}=EventTarget.prototype,{get:Ec,set:cl}=yt(HTMLAnchorElement.prototype,"href"),Tu=V(HTMLAnchorElement.prototype,"pathname"),Wc=V(HTMLAnchorElement.prototype,"protocol");V(HTMLElement.prototype,"style");const{prototype:Tc}=HTMLIFrameElement;V(Tc,"contentWindow");const vu=de(Tc,"src"),ul=HTMLScriptElement,{prototype:vc}=ul,{get:wc,set:wu}=yt(vc,"src"),qe="default",Ac="http://www.w3.org/2000/svg",ia="http://www.w3.org/1999/xhtml",is="http://www.w3.org/1999/xlink",Au=V(Request.prototype,"url"),f=Response.prototype,h=V(f,"ok");V(f,"status"),V(f,"statusText");const{text:S}=f,{createObjectURL:P,revokeObjectURL:Y}=URL,jt="$evaluator$",Xt=`document.currentScript.${jt}`,re=ro(new no),be=Yt(new kt),Wn=Yt(new kt);function Cu(t,e,n,i){Se(t,e,{__proto__:null,configurable:!0,enumerable:!0,get:n,set:i})}function fl(t,e){if(!Se(t,jt,{__proto__:null,configurable:!0,get:c(tr,()=>{re.add(t),Fh(t);const n=c(ts,t,[]),i=c(ta,n,[]),s={[Dn]:i.location,[Lr]:i.top};e(s,i,n)},[])}))throw new bt(`Cannot evaluate ${c(qt,t,[])}`)}function xh(t){be.delete(t)}function Fh(t){fe(t,jt)}function Gh(t){return be.get(t)}function Hh(t){return re.has(t)}function Uh(t){return Wn.has(t)}function jh(t){return be.has(t)}function Bh(t,e){return be.set(t,e)}const id="document",Pu="document\\.defaultView|frames|globalThis|self|window",sd=`${Pu}|global`,Vh=`${id}|global.document`,zh=Cc(`${id}|${Pu}`,"location"),Kh=Cc(`${Vh}|${sd}`,"location"),qh=new Ae(`(?:^|\\W)${Ke(Wr)}(?:\\W|$)`),Xh=new Ae(`\\b${Ke(br)}\\b`),Yh=Cc(Pu,"top"),Jh=Cc(sd,"top");function Cc(t,e){return new Ae(`\\b(?:${t})\\.${e}(\\s*(?:[?*/%&^|+-]|>>>?|<<)*=(?=[^=]))?`,"g")}function Qh(t){const e={location:!1,windowTop:!1};if(c(Ce,qh,[t]))return{code:t,transforms:e};let n,i;return c(Ce,Xh,[t])?(n=Kh,i=Jh):(n=zh,i=Yh),t=c(ne,t,[n,(s,l)=>(e.location=!0,l?`${Dn}.href${l}`:Dn)]),t=c(ne,t,[i,()=>(e.windowTop=!0,Lr)]),{code:t,transforms:e}}function Zh(t){return t[t.length]="location",t[t.length]="top",`const {${c(Rs,t,[])}}=${Wr}`}function tm(t){const e=zo([]);return t.location&&(e[e.length]=Dn),t.windowTop&&(e[e.length]=Lr),e}function ss(t){const{code:e,transforms:n}=Qh(t),i=tm(n);if(!i.length)return e;const s=`${Zh(i)};`,l=o(e,"use strict");if(l===-1)return s+e;let u=l+12;return u<e.length&&e[u]===";"&&(u+=1),c(zt,e,[0,u])+s+c(zt,e,[u])}const{key:em,getItem:nm,removeItem:ad,setItem:ld}=Storage.prototype;yt(SVGScriptElement.prototype,"href");const Ou=XMLHttpRequest,{prototype:Pc}=Ou,{abort:M_,open:cd,send:ud}=Pc,fd=V(Pc,"responseText"),rm=V(Pc,"status");de(Pc,"withCredentials");/*! version: 0.18.14 *//*!
 * Copyright (C) 2019 salesforce.com, inc.
 */const dd=["application/octet-stream","application/json","application/pdf","video/","audio/","image/","font/","text/plain","text/markdown","application/zip","application/x-bzip","application/x-rar-compressed","application/x-tar"],om=/^[a-z]+\/[a-z0-9.+-]+$/;function im(t){if(c(Ce,om,[t])){for(let e=0,{length:n}=dd;e<n;e+=1)if(c(Ue,t,[dd[e]]))return!0}return!1}const Ru=["/aura","/webruntime"],pd=zo(["http:","https:"]),sm=/[\u2028\u2029\n\r\t]/g,hi=c(li,Do,["a"]);function Oc(t){const e=c(Mn,t.pathname,[]);for(let n=0,{length:i}=Ru;n<i;n+=1)if(c(Ia,e,[Ru[n]])||c(He,e,[`${Ru[n]}/`]))return!1;return!0}function hd(t){return c(cl,hi,[t]),pd.includes(c(Wc,hi,[]))}function dl(t){return{normalizedURL:Nu(t),pathname:ic(c(Tu,hi,[]))}}function Rc(t){return c(cl,hi,[t]),c(Ec,hi,[])}function Nu(t){return Rc(am(t))}function am(t){return t===""?t:c(ne,t,[sm,""])}/*! version: 0.18.14 *//*! @license DOMPurify 2.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.0/LICENSE */function mi(t){return mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mi(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,s){return i.__proto__=s,i},Du(t,e)}function lm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Nc(t,e,n){return lm()?Nc=Reflect.construct:Nc=function(s,l,u){var p=[null];p.push.apply(p,l);var L=Function.bind.apply(s,p),E=new L;return u&&Du(E,u.prototype),E},Nc.apply(null,arguments)}function Mr(t){return cm(t)||um(t)||fm(t)||dm()}function cm(t){if(Array.isArray(t))return Iu(t)}function um(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fm(t,e){if(!!t){if(typeof t=="string")return Iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(t,e)}}function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function dm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var pm=Object.hasOwnProperty,md=Object.setPrototypeOf,hm=Object.isFrozen,mm=Object.getPrototypeOf,Sm=Object.getOwnPropertyDescriptor,Tn=Object.freeze,co=Object.seal,gm=Object.create,Sd=typeof Reflect!="undefined"&&Reflect,Dc=Sd.apply,Mu=Sd.construct;Dc||(Dc=function(e,n,i){return e.apply(n,i)}),Tn||(Tn=function(e){return e}),co||(co=function(e){return e}),Mu||(Mu=function(e,n){return Nc(e,Mr(n))});var ym=kr(Array.prototype.forEach),gd=kr(Array.prototype.pop),pl=kr(Array.prototype.push),Ic=kr(String.prototype.toLowerCase),Lm=kr(String.prototype.match),Si=kr(String.prototype.replace),bm=kr(String.prototype.indexOf),$m=kr(String.prototype.trim),vn=kr(RegExp.prototype.test),ku=_m(TypeError);function kr(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return Dc(t,e,i)}}function _m(t){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return Mu(t,n)}}function Ft(t,e,n){n=n||Ic,md&&md(t,null);for(var i=e.length;i--;){var s=e[i];if(typeof s=="string"){var l=n(s);l!==s&&(hm(e)||(e[i]=l),s=l)}t[s]=!0}return t}function as(t){var e=gm(null),n;for(n in t)Dc(pm,t,[n])&&(e[n]=t[n]);return e}function Mc(t,e){for(;t!==null;){var n=Sm(t,e);if(n){if(n.get)return kr(n.get);if(typeof n.value=="function")return kr(n.value)}t=mm(t)}function i(s){return console.warn("fallback value for",s),null}return i}var yd=Tn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),xu=Tn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Fu=Tn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Em=Tn(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Gu=Tn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Wm=Tn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ld=Tn(["#text"]),bd=Tn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Hu=Tn(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$d=Tn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),kc=Tn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Tm=co(/\{\{[\w\W]*|[\w\W]*\}\}/gm),vm=co(/<%[\w\W]*|[\w\W]*%>/gm),wm=co(/^data-[\-\w.\u00B7-\uFFFF]/),Am=co(/^aria-[\-\w]+$/),Cm=co(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Pm=co(/^(?:\w+script|data):/i),Om=co(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Rm=co(/^html$/i),Nm=function(){return typeof window=="undefined"?null:window},Dm=function(e,n){if(mi(e)!=="object"||typeof e.createPolicy!="function")return null;var i=null,s="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(s)&&(i=n.currentScript.getAttribute(s));var l="dompurify"+(i?"#"+i:"");try{return e.createPolicy(l,{createHTML:function(p){return p},createScriptURL:function(p){return p}})}catch(u){return console.warn("TrustedTypes policy "+l+" could not be created."),null}};function _d(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nm(),e=function(w){return _d(w)};if(e.version="2.4.0",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;var n=t.document,i=t.document,s=t.DocumentFragment,l=t.HTMLTemplateElement,u=t.Node,p=t.Element,L=t.NodeFilter,E=t.NamedNodeMap,N=E===void 0?t.NamedNodeMap||t.MozNamedAttrMap:E,O=t.HTMLFormElement,H=t.DOMParser,J=t.trustedTypes,x=p.prototype,Z=Mc(x,"cloneNode"),st=Mc(x,"nextSibling"),Pt=Mc(x,"childNodes"),wt=Mc(x,"parentNode");if(typeof l=="function"){var $t=i.createElement("template");$t.content&&$t.content.ownerDocument&&(i=$t.content.ownerDocument)}var U=Dm(J,n),z=U?U.createHTML(""):"",Mt=i,K=Mt.implementation,it=Mt.createNodeIterator,Tt=Mt.createDocumentFragment,Nt=Mt.getElementsByTagName,Gt=n.importNode,mn={};try{mn=as(i).documentMode?i.documentMode:{}}catch(_t){}var he={};e.isSupported=typeof wt=="function"&&K&&typeof K.createHTMLDocument!="undefined"&&mn!==9;var ce=Tm,on=vm,Sn=wm,Le=Am,Tl=Pm,ua=Om,hs=Cm,Re=null,ms=Ft({},[].concat(Mr(yd),Mr(xu),Mr(Fu),Mr(Gu),Mr(Ld))),xe=null,fa=Ft({},[].concat(Mr(bd),Mr(Hu),Mr($d),Mr(kc))),me=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),sn=null,Ss=null,da=!0,Li=!0,Go=!1,Gr=!1,Hr=!1,gs=!1,Ur=!1,jr=!1,uo=!1,An=!1,mt=!0,Ne=!1,vl="user-content-",ys=!0,ar=!1,Yn={},vt=null,bi=Ft({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$i=null,Ho=Ft({},["audio","video","img","source","image","track"]),fo=null,pa=Ft({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),De="http://www.w3.org/1998/Math/MathML",Uo="http://www.w3.org/2000/svg",gn="http://www.w3.org/1999/xhtml",po=gn,Ls=!1,Br,ha=["application/xhtml+xml","text/html"],wl="text/html",Ie,ho=null,$e=i.createElement("form"),yn=function(w){return w instanceof RegExp||w instanceof Function},Vr=function(w){ho&&ho===w||((!w||mi(w)!=="object")&&(w={}),w=as(w),Br=ha.indexOf(w.PARSER_MEDIA_TYPE)===-1?Br=wl:Br=w.PARSER_MEDIA_TYPE,Ie=Br==="application/xhtml+xml"?function(X){return X}:Ic,Re="ALLOWED_TAGS"in w?Ft({},w.ALLOWED_TAGS,Ie):ms,xe="ALLOWED_ATTR"in w?Ft({},w.ALLOWED_ATTR,Ie):fa,fo="ADD_URI_SAFE_ATTR"in w?Ft(as(pa),w.ADD_URI_SAFE_ATTR,Ie):pa,$i="ADD_DATA_URI_TAGS"in w?Ft(as(Ho),w.ADD_DATA_URI_TAGS,Ie):Ho,vt="FORBID_CONTENTS"in w?Ft({},w.FORBID_CONTENTS,Ie):bi,sn="FORBID_TAGS"in w?Ft({},w.FORBID_TAGS,Ie):{},Ss="FORBID_ATTR"in w?Ft({},w.FORBID_ATTR,Ie):{},Yn="USE_PROFILES"in w?w.USE_PROFILES:!1,da=w.ALLOW_ARIA_ATTR!==!1,Li=w.ALLOW_DATA_ATTR!==!1,Go=w.ALLOW_UNKNOWN_PROTOCOLS||!1,Gr=w.SAFE_FOR_TEMPLATES||!1,Hr=w.WHOLE_DOCUMENT||!1,jr=w.RETURN_DOM||!1,uo=w.RETURN_DOM_FRAGMENT||!1,An=w.RETURN_TRUSTED_TYPE||!1,Ur=w.FORCE_BODY||!1,mt=w.SANITIZE_DOM!==!1,Ne=w.SANITIZE_NAMED_PROPS||!1,ys=w.KEEP_CONTENT!==!1,ar=w.IN_PLACE||!1,hs=w.ALLOWED_URI_REGEXP||hs,po=w.NAMESPACE||gn,w.CUSTOM_ELEMENT_HANDLING&&yn(w.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(me.tagNameCheck=w.CUSTOM_ELEMENT_HANDLING.tagNameCheck),w.CUSTOM_ELEMENT_HANDLING&&yn(w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(me.attributeNameCheck=w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),w.CUSTOM_ELEMENT_HANDLING&&typeof w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(me.allowCustomizedBuiltInElements=w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Gr&&(Li=!1),uo&&(jr=!0),Yn&&(Re=Ft({},Mr(Ld)),xe=[],Yn.html===!0&&(Ft(Re,yd),Ft(xe,bd)),Yn.svg===!0&&(Ft(Re,xu),Ft(xe,Hu),Ft(xe,kc)),Yn.svgFilters===!0&&(Ft(Re,Fu),Ft(xe,Hu),Ft(xe,kc)),Yn.mathMl===!0&&(Ft(Re,Gu),Ft(xe,$d),Ft(xe,kc))),w.ADD_TAGS&&(Re===ms&&(Re=as(Re)),Ft(Re,w.ADD_TAGS,Ie)),w.ADD_ATTR&&(xe===fa&&(xe=as(xe)),Ft(xe,w.ADD_ATTR,Ie)),w.ADD_URI_SAFE_ATTR&&Ft(fo,w.ADD_URI_SAFE_ATTR,Ie),w.FORBID_CONTENTS&&(vt===bi&&(vt=as(vt)),Ft(vt,w.FORBID_CONTENTS,Ie)),ys&&(Re["#text"]=!0),Hr&&Ft(Re,["html","head","body"]),Re.table&&(Ft(Re,["tbody"]),delete sn.tbody),Tn&&Tn(w),ho=w)},lr=Ft({},["mi","mo","mn","ms","mtext"]),xn=Ft({},["foreignobject","desc","title","annotation-xml"]),Of=Ft({},["title","style","font","a","script"]),mo=Ft({},xu);Ft(mo,Fu),Ft(mo,Em);var Al=Ft({},Gu);Ft(Al,Wm);var Qc=function(w){var X=wt(w);(!X||!X.tagName)&&(X={namespaceURI:gn,tagName:"template"});var at=Ic(w.tagName),Kt=Ic(X.tagName);return w.namespaceURI===Uo?X.namespaceURI===gn?at==="svg":X.namespaceURI===De?at==="svg"&&(Kt==="annotation-xml"||lr[Kt]):Boolean(mo[at]):w.namespaceURI===De?X.namespaceURI===gn?at==="math":X.namespaceURI===Uo?at==="math"&&xn[Kt]:Boolean(Al[at]):w.namespaceURI===gn?X.namespaceURI===Uo&&!xn[Kt]||X.namespaceURI===De&&!lr[Kt]?!1:!Al[at]&&(Of[at]||!mo[at]):!1},zr=function(w){pl(e.removed,{element:w});try{w.parentNode.removeChild(w)}catch(X){try{w.outerHTML=z}catch(at){w.remove()}}},Cl=function(w,X){try{pl(e.removed,{attribute:X.getAttributeNode(w),from:X})}catch(at){pl(e.removed,{attribute:null,from:X})}if(X.removeAttribute(w),w==="is"&&!xe[w])if(jr||uo)try{zr(X)}catch(at){}else try{X.setAttribute(w,"")}catch(at){}},Zc=function(w){var X,at;if(Ur)w="<remove></remove>"+w;else{var Kt=Lm(w,/^[\r\n\t ]+/);at=Kt&&Kt[0]}Br==="application/xhtml+xml"&&(w='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+w+"</body></html>");var Ln=U?U.createHTML(w):w;if(po===gn)try{X=new H().parseFromString(Ln,Br)}catch(Je){}if(!X||!X.documentElement){X=K.createDocument(po,"template",null);try{X.documentElement.innerHTML=Ls?"":Ln}catch(Je){}}var Ye=X.body||X.documentElement;return w&&at&&Ye.insertBefore(i.createTextNode(at),Ye.childNodes[0]||null),po===gn?Nt.call(X,Hr?"html":"body")[0]:Hr?X.documentElement:Ye},tu=function(w){return it.call(w.ownerDocument||w,w,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT,null,!1)},eu=function(w){return w instanceof O&&(typeof w.nodeName!="string"||typeof w.textContent!="string"||typeof w.removeChild!="function"||!(w.attributes instanceof N)||typeof w.removeAttribute!="function"||typeof w.setAttribute!="function"||typeof w.namespaceURI!="string"||typeof w.insertBefore!="function")},bs=function(w){return mi(u)==="object"?w instanceof u:w&&mi(w)==="object"&&typeof w.nodeType=="number"&&typeof w.nodeName=="string"},Kr=function(w,X,at){!he[w]||ym(he[w],function(Kt){Kt.call(e,X,at,ho)})},nu=function(w){var X;if(Kr("beforeSanitizeElements",w,null),eu(w)||vn(/[\u0080-\uFFFF]/,w.nodeName))return zr(w),!0;var at=Ie(w.nodeName);if(Kr("uponSanitizeElement",w,{tagName:at,allowedTags:Re}),w.hasChildNodes()&&!bs(w.firstElementChild)&&(!bs(w.content)||!bs(w.content.firstElementChild))&&vn(/<[/\w]/g,w.innerHTML)&&vn(/<[/\w]/g,w.textContent)||at==="select"&&vn(/<template/i,w.innerHTML))return zr(w),!0;if(!Re[at]||sn[at]){if(!sn[at]&&Ol(at)&&(me.tagNameCheck instanceof RegExp&&vn(me.tagNameCheck,at)||me.tagNameCheck instanceof Function&&me.tagNameCheck(at)))return!1;if(ys&&!vt[at]){var Kt=wt(w)||w.parentNode,Ln=Pt(w)||w.childNodes;if(Ln&&Kt)for(var Ye=Ln.length,Je=Ye-1;Je>=0;--Je)Kt.insertBefore(Z(Ln[Je],!0),st(w))}return zr(w),!0}return w instanceof p&&!Qc(w)||(at==="noscript"||at==="noembed")&&vn(/<\/no(script|embed)/i,w.innerHTML)?(zr(w),!0):(Gr&&w.nodeType===3&&(X=w.textContent,X=Si(X,ce," "),X=Si(X,on," "),w.textContent!==X&&(pl(e.removed,{element:w.cloneNode()}),w.textContent=X)),Kr("afterSanitizeElements",w,null),!1)},Pl=function(w,X,at){if(mt&&(X==="id"||X==="name")&&(at in i||at in $e))return!1;if(!(Li&&!Ss[X]&&vn(Sn,X))){if(!(da&&vn(Le,X))){if(!xe[X]||Ss[X]){if(!(Ol(w)&&(me.tagNameCheck instanceof RegExp&&vn(me.tagNameCheck,w)||me.tagNameCheck instanceof Function&&me.tagNameCheck(w))&&(me.attributeNameCheck instanceof RegExp&&vn(me.attributeNameCheck,X)||me.attributeNameCheck instanceof Function&&me.attributeNameCheck(X))||X==="is"&&me.allowCustomizedBuiltInElements&&(me.tagNameCheck instanceof RegExp&&vn(me.tagNameCheck,at)||me.tagNameCheck instanceof Function&&me.tagNameCheck(at))))return!1}else if(!fo[X]){if(!vn(hs,Si(at,ua,""))){if(!((X==="src"||X==="xlink:href"||X==="href")&&w!=="script"&&bm(at,"data:")===0&&$i[w])){if(!(Go&&!vn(Tl,Si(at,ua,"")))){if(at)return!1}}}}}}return!0},Ol=function(w){return w.indexOf("-")>0},ru=function(w){var X,at,Kt,Ln;Kr("beforeSanitizeAttributes",w,null);var Ye=w.attributes;if(!!Ye){var Je={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(Ln=Ye.length;Ln--;){X=Ye[Ln];var $s=X,an=$s.name,Rl=$s.namespaceURI;if(at=an==="value"?X.value:$m(X.value),Kt=Ie(an),Je.attrName=Kt,Je.attrValue=at,Je.keepAttr=!0,Je.forceKeepAttr=void 0,Kr("uponSanitizeAttribute",w,Je),at=Je.attrValue,!Je.forceKeepAttr&&(Cl(an,w),!!Je.keepAttr)){if(vn(/\/>/i,at)){Cl(an,w);continue}Gr&&(at=Si(at,ce," "),at=Si(at,on," "));var ou=Ie(w.nodeName);if(!!Pl(ou,Kt,at)){if(Ne&&(Kt==="id"||Kt==="name")&&(Cl(an,w),at=vl+at),U&&mi(J)==="object"&&typeof J.getAttributeType=="function"&&!Rl)switch(J.getAttributeType(ou,Kt)){case"TrustedHTML":at=U.createHTML(at);break;case"TrustedScriptURL":at=U.createScriptURL(at);break}try{Rl?w.setAttributeNS(Rl,an,at):w.setAttribute(an,at),gd(e.removed)}catch(Xp){}}}}Kr("afterSanitizeAttributes",w,null)}},Rf=function _t(w){var X,at=tu(w);for(Kr("beforeSanitizeShadowDOM",w,null);X=at.nextNode();)Kr("uponSanitizeShadowNode",X,null),!nu(X)&&(X.content instanceof s&&_t(X.content),ru(X));Kr("afterSanitizeShadowDOM",w,null)};return e.sanitize=function(_t){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},X,at,Kt,Ln,Ye;if(Ls=!_t,Ls&&(_t="<!-->"),typeof _t!="string"&&!bs(_t)){if(typeof _t.toString!="function")throw ku("toString is not a function");if(_t=_t.toString(),typeof _t!="string")throw ku("dirty is not a string, aborting")}if(!e.isSupported){if(mi(t.toStaticHTML)==="object"||typeof t.toStaticHTML=="function"){if(typeof _t=="string")return t.toStaticHTML(_t);if(bs(_t))return t.toStaticHTML(_t.outerHTML)}return _t}if(gs||Vr(w),e.removed=[],typeof _t=="string"&&(ar=!1),ar){if(_t.nodeName){var Je=Ie(_t.nodeName);if(!Re[Je]||sn[Je])throw ku("root node is forbidden and cannot be sanitized in-place")}}else if(_t instanceof u)X=Zc("<!---->"),at=X.ownerDocument.importNode(_t,!0),at.nodeType===1&&at.nodeName==="BODY"||at.nodeName==="HTML"?X=at:X.appendChild(at);else{if(!jr&&!Gr&&!Hr&&_t.indexOf("<")===-1)return U&&An?U.createHTML(_t):_t;if(X=Zc(_t),!X)return jr?null:An?z:""}X&&Ur&&zr(X.firstChild);for(var $s=tu(ar?_t:X);Kt=$s.nextNode();)Kt.nodeType===3&&Kt===Ln||nu(Kt)||(Kt.content instanceof s&&Rf(Kt.content),ru(Kt),Ln=Kt);if(Ln=null,ar)return _t;if(jr){if(uo)for(Ye=Tt.call(X.ownerDocument);X.firstChild;)Ye.appendChild(X.firstChild);else Ye=X;return xe.shadowroot&&(Ye=Gt.call(n,Ye,!0)),Ye}var an=Hr?X.outerHTML:X.innerHTML;return Hr&&Re["!doctype"]&&X.ownerDocument&&X.ownerDocument.doctype&&X.ownerDocument.doctype.name&&vn(Rm,X.ownerDocument.doctype.name)&&(an="<!DOCTYPE "+X.ownerDocument.doctype.name+`>
`+an),Gr&&(an=Si(an,ce," "),an=Si(an,on," ")),U&&An?U.createHTML(an):an},e.setConfig=function(_t){Vr(_t),gs=!0},e.clearConfig=function(){ho=null,gs=!1},e.isValidAttribute=function(_t,w,X){ho||Vr({});var at=Ie(_t),Kt=Ie(w);return Pl(at,Kt,X)},e.addHook=function(_t,w){typeof w=="function"&&(he[_t]=he[_t]||[],pl(he[_t],w))},e.removeHook=function(_t){if(he[_t])return gd(he[_t])},e.removeHooks=function(_t){he[_t]&&(he[_t]=[])},e.removeAllHooks=function(){he={}},e}var Im=_d();/*!
 * Copyright (C) 2019 salesforce.com, inc.
 */const Uu=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-controls","aria-describedby","aria-disabled","aria-readonly","aria-dropeffect","aria-expanded","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-disabled","aria-invalid","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role","target"],Mm=["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blockquote","body","br","button","caption","canvas","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","dir","div","dl","dt","em","fieldset","figure","figcaption","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","i","iframe","img","input","ins","keygen","kbd","label","legend","li","map","mark","menu","meter","nav","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"],Ed=["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern","use"],Wd=yr(Mm,Ed),ju={attributeNameCheck:/.+/,allowCustomizedBuiltInElements:!1,tagNameCheck:/^[a-z][-_.\w]*-[-.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u37D0\u37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u10000-\uEFFFF]*$/},km={ADD_ATTR:Ut(Uu),ALLOWED_TAGS:yr(Wd,"#document-fragment"),CUSTOM_ELEMENT_HANDLING:Fe({},ju),IN_PLACE:!0},xm={ADD_ATTR:Ut(Uu),ALLOWED_TAGS:Ut(Ed),CUSTOM_ELEMENT_HANDLING:Fe({},ju),RETURN_DOM_FRAGMENT:!0,SANITIZE_DOM:!1},Fm={ADD_ATTR:Ut(Uu),ALLOWED_TAGS:c(Bo,Wd,[t=>t!=="iframe"]),CUSTOM_ELEMENT_HANDLING:Fe({},ju),SANITIZE_DOM:!1};var Gm=Object.freeze({__proto__:null,NODE_ALL_IN_PLACE:km,NODE_SVG:xm,STRING_BLOB_HTML:Fm});const Td={__proto__:null},Hm=zo(["href","xlink:href"]),Um="SHARED_SVG_SANITIZER_KEY",Bu=c(li,document,["template"]),xc=eo(new rn),vd=/[^a-z0-9]+/gi;function jm(t){return{__proto__:null,uponSanitizeAttribute:qm,uponSanitizeElement(e,n,i){var s;const{tagName:l}=n,u=i==null||(s=i.CUSTOM_ELEMENT_HANDLING)==null?void 0:s.tagNameCheck;u&&c(Ce,u,[l])&&!c(ui,e,[rs])&&c(io,e,[rs,t])}}}function Bm(t){const e=c(li,document,["div"]);c(io,e,["style","display:none"]),c(io,e,["id",t]);const n=c(qa,document,[]);return c(ao,n,[e]),e}function Vu(t,e){if(typeof t!="string")throw new bt(In);if(typeof e!="string")throw new bt("Invalid config name.");let n=Td[t];n===void 0&&(n=Td[t]={__proto__:null});let i=n[e];if(i===void 0){const s=Gm[e];i=Im(),i.setConfig(s);const l=jm(t);for(const u in l)i.addHook(u,l[u]);n[e]=i}return i}function wd(t){return Vu(Um,"NODE_SVG").sanitize(t)}function ls(t){const e=xt(t);if(c(Ue,e,["#"]))return t;const n=Km(e);if(pd.includes(n.protocol)){const i=c(Yi,document,[n.normalizedURL]);return i&&n.normalizedFragment?Vm(i,n):i||zm(n),n.requestedFragment?`#${n.normalizedFragment}`:`#${n.normalizedURL}`}return t}function Ad(t,e){const{normalizedFragment:n,requestedFragment:i}=e;let s=c(Qa,t,[`#${n}`]);if(s===null)try{s=c(Qa,t,[`#${i}`]),c(io,s,["id",n])}catch(l){}}function Vm(t,e){if(xc.has(e.normalizedURL)){const n=Su(()=>{xc.has(e.normalizedURL)||(Ad(t,e),oc(n))},50)}else Ad(t,e)}function zm(t){const e=Bm(t.normalizedURL);xc.add(t.normalizedURL);const n=new Ou;c(lo,n,["load",()=>{if(c(rm,n,[])===200){const s=c(fd,n,[]),l=wd(s);if(t.requestedFragment){const u=c($u,l,[t.requestedFragment]);u&&c(io,u,["id",t.normalizedFragment])}c(ao,e,[l]),xc.delete(t.normalizedURL)}}]),c(cd,n,["GET",t.requestedURL]),c(ud,n,[])}function Km(t){c(cl,hi,[t]);const e=c(Ec,hi,[]),n=c(Wc,hi,[]),{0:i,1:s}=c(Zr,e,["#"]),l=c(Mn,i,[]),u=c(ne,l,[vd,""]);return{normalizedFragment:s?`${u}_${c(ne,s,[vd,""])}`:"",normalizedURL:u,protocol:n,requestedFragment:s,requestedURL:i}}function qm(t,e,n){const{attrValue:i,attrName:s}=e;return i&&c(wr,c(qt,t,[]),[])==="USE"&&Hm.includes(s)&&(e.attrValue=ls(i)),e}function Xm(t){if(typeof t!="string")throw new bt(In);return Vu(t,"STRING_BLOB_HTML")}function zu(t,e){if(typeof e!="string")throw new bt(In);c(Io,Bu,[t]);const n=c(ra,Bu,[]);return Vu(e,"NODE_ALL_IN_PLACE").sanitize(n),c(Zi,Bu,[])}function Cd(t,e){const n=c(Xa,t,[]),i=c(Za,n,[]),s=c(Zl,t,[]),l=c(yc,s,[ia,"html"]),u=c(Xa,l,[]);return c(Io,u,[zu(i,e)]),l}function Pd(t){return c(ci,t,[Ac,"svg"])}function Od(t,e=""){const n=typeof t=="string"?document:c(ts,t,[]);let i;if(typeof t=="string")e=t,i=Pd(n);else{const E=c(uu,t,["svg"]);i=E?c(pu,E,[!1]):Pd(n)}const s=c(ai,n,[""]);c(ao,i,[s]);const l=c(Za,i,[]),u=c(ne,l,["<!---->",e]),p=wd(u),L=c(mu,p,[]);return c(Zi,L,[])}/*! version: 0.18.14 *//*!
 * Copyright (C) 2023 salesforce.com, inc.
 */const Ku=Yt(new kt);async function Ym(t,e){Jm(e);const n=new pe,i=c(Ka,n,[]);Ku.set(e,n);const s=await el(t,{__proto__:null,method:"GET",credentials:"include",signal:i});if(Ku.delete(e),!c(h,s,[]))throw new Zn("Request failed.");return await c(S,s,[])}function Jm(t){const e=Ku.get(t);e&&c(le,e,[])}const qu="$evaluator$",Qm=`document.currentScript['${qu}']`,Zm=typeof trustedTypes!="undefined";function tS(t,e){return trustedTypes.createPolicy(t,e)}function eS(t,e){return e}const Rd=Zm?tS:eS,cs=Rd("trusted",{createHTML(t){return t},createScript(t){return t},createScriptURL(t){return t}}),Xu=ro(new no),sa=Yt(new kt),gi=Rd("lwsInternal",{createHTML(t,e,n){if(t==null)return"";switch(n){case 0:return zu(t,e);case 1:return"";case 2:return t;default:return""}},createScript(t,e){return""},createScriptURL(t,e,n){const i=oS(n);if(t=`${t}`,Xu.has(n)||t===""||t==="undefined"||t==="null")return i(cs.createScriptURL(t)),t;const s=c(nc,n,[]),l=Rc(t);if(s){if(rS(n))return Xu.add(n),i(cs.createScriptURL(t)),t;if(sa.has(n))return""}const u=Ym(l,n);sa.set(n,l);const p=nS();return c(kn,u,[N=>{Se(n,qu,{__proto__:null,configurable:!0,get:c(tr,()=>{fe(n,qu),Y(p);const O=sa.get(n);sa.delete(n),Xu.add(n),i(cs.createScriptURL(O)),e(N)},[n]),set:void 0}),i(cs.createScriptURL(p))},N=>{Y(p);const O=sa.get(n);sa.delete(n),i(cs.createScriptURL("blob:http://localhost/not-found"));const H=()=>{i(cs.createScriptURL(O)),c(pi,n,["error",H])};c(lo,n,["error",H])}]),""}});function nS(){return P(new dc([Qm],{__proto__:null,type:"text/javascript"}))}function rS(t){return t instanceof ul?c(hn,t,["src"]):c(ui,t,["href"])?c(hn,t,["href"]):c(hn,t,["xlink:href"])}function oS(t){const n=c(du,t,[])===ia?"":is,i=t instanceof ul?"src":"href";return function(s){c(tc,t,[n,i,s])}}/*! version: 0.18.14 *//*!
 * Copyright (C) 2019 salesforce.com, inc.
 */const Fc="Illegal constructor.",us="Illegal invocation.",Nd="Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.",fs=ee("@@lockerOriginalHTMLElementCtor");let Yu,Ju;const Gc=Yt(new kt),Qu=Yt(new kt),Dd=Yt(new kt),Id=Vn(new dn),Zu=Yt(new kt);class Md{constructor(e){this._awaitingUpgrade=Vn(new dn),this._definedCtors=eo(new rn),this._definitionByElement=Yt(new kt),this._definitionByTag=Vn(new dn),this._pendingRegistryByElement=Yt(new kt),this._document=e,this._HTMLElement=Qu.get(e)}applyDefine(e,n){const{0:i,1:s,2:l}=n;if(l&&l.extends)throw new DOMException("NotSupportedError: 'extends' key in customElements.define() options is not supported.");if(this._definitionByTag.has(i))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${i}" has already been used with this registry.`);if(this._definedCtors.has(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry.");const u=lS(s);let p=Id.get(i);p===void 0&&(p=sS(this._document,this._HTMLElement,u,i),c(os,e,[i,p])),Gc.set(s,u),Id.set(i,p),this._definitionByTag.set(i,u),this._definedCtors.add(s),u.PivotCtor=p;const L=this._awaitingUpgrade.get(i);L&&L.forEach(E=>{const N=this._pendingRegistryByElement.get(E);N&&(this._pendingRegistryByElement.delete(E),this.upgrade(E,N,u))})}applyGet(e,n){const{0:i}=n,s=this._definitionByTag.get(i);return s&&s.LocalCtor||c(gc,e,[i])}applyWhenDefined(e,n){const{0:i}=n,s=c(ll,e,n);return new Dr((l,u)=>{c(kn,s,[()=>{const p=this._definitionByTag.get(i);p&&l(p.LocalCtor)},u])})}getDefinition(e){return this._definitionByElement.get(e)}newCtor(e){const n=Ju;if(n)return Ju=void 0,n;const{constructor:i}=e,s=Gc.get(i);if(s===void 0||typeof s.PivotCtor!="function"){let l;try{l=c(na,e,[])}catch(u){}if(l)return e;throw new Vt(Fc)}return new s.PivotCtor(this,s)}scheduleConnectedCallback(e,n){let i=this._awaitingUpgrade.get(n);i===void 0&&(i=eo(new rn),this._awaitingUpgrade.set(n,i)),i.add(e)}scheduleDisconnectedCallback(e,n){const i=this._awaitingUpgrade.get(n);i&&i.delete(e)}scheduleOrUpgrade(e,n,i){const s=this._definitionByTag.get(n);s?this.upgrade(e,i,s):(this._pendingRegistryByElement.set(e,i),It(e,this._HTMLElement.prototype))}setDefinition(e,n){It(e,n.LocalCtor.prototype),this._definitionByElement.set(e,n)}upgrade(e,n,i){const{LocalCtor:s,connectedCallback:l}=i;this.setDefinition(e,i),i!==n&&fS(e,n,i),Ju=e,We(s,[]);const u=c(na,e,[]),p=c(Mn,u,[]),L=this._awaitingUpgrade.get(p);L&&L.size&&(hS(e,n),L.has(e)&&c(nc,e,[])&&(l&&c(l,e,[]),L.delete(e),L.size||this._awaitingUpgrade.delete(p)))}}function iS(t){const{connectedCallback:e,disconnectedCallback:n,adoptedCallback:i,attributeChangedCallback:s}=t.prototype,l=eo(new rn(t.observedAttributes||[]));return{adoptedCallback:i,attributeChangedCallback:s,connectedCallback:e,disconnectedCallback:n,LocalCtor:t,observedAttributes:l,PivotCtor:void 0}}function sS(t,e,n,i){var s;return s=class extends e{constructor(u,p){super();u&&p?(this.instanceRegistry=u,u.setDefinition(this,p)):(this.instanceRegistry=cS(t,this)||aS()||kd(t),this.instanceRegistry.scheduleOrUpgrade(this,i,n))}connectedCallback(){const{instanceRegistry:u}=this,p=u.getDefinition(this);if(p){const{connectedCallback:L}=p;L&&c(L,this,[])}else u.scheduleConnectedCallback(this,i)}disconnectedCallback(){const{instanceRegistry:u}=this,p=u.getDefinition(this);if(p){const{disconnectedCallback:L}=p;L&&c(L,this,[])}else u.scheduleDisconnectedCallback(this,i)}adoptedCallback(){const u=this.instanceRegistry.getDefinition(this);if(u){const{adoptedCallback:p}=u;p&&c(p,this,[])}}attributeChangedCallback(u,p,L){const E=this.instanceRegistry.getDefinition(this),N=E==null?void 0:E.attributeChangedCallback,O=E==null?void 0:E.observedAttributes;typeof N=="function"&&(n===E||O!=null&&O.has(u))&&c(N,this,[u,p,L])}},s.observedAttributes=[...n.observedAttributes],s}function aS(){const t=Yu;return Yu=void 0,t}function lS(t){const e=typeof t=="function"?t.prototype:void 0;if(!fn(e))throw new Vt("Invalid custom element constructor.");let n=Gc.get(t);return n===void 0&&(n=iS(t),Gc.set(t,n)),n}function kd(t){let e=Dd.get(t);return e||(e=new Md(t),Dd.set(t,e),e)}function cS(t,e){const n=c(hn,e,[rs]);if(n===null||(c(fi,e,[rs]),c(ts,e,[])!==t))return;const s=Zu.get(t);return s?s.get(n):void 0}function uS(t,e){return eo(new rn([...e.observedAttributes].filter(n=>!t.observedAttributes.has(n))))}function fS(t,e,n){const{observedAttributes:i,attributeChangedCallback:s}=n;if(i.size===0||typeof s!="function")return;const l=uS(e,n);!l.size||(t.removeAttribute=jn(function(p){const L=[p];if(l.has(p)){const E=c(hn,this,L);c(fi,this,L),L[1]=E,L[2]=null,c(s,this,L)}else c(fi,this,L)},fi),t.setAttribute=jn(function(p,L){const E=[p],N=xt(L),O=[p,N];if(l.has(p)){const H=c(hn,this,E);c(io,this,O),E[1]=H,E[2]=N,c(s,this,E)}else c(io,this,O)},io),t.toggleAttribute=jn(function(p){const L=[p];let E;if(l.has(p)){const N=c(ui,this,L),O=N?c(hn,this,L):null;E=c(Qi,this,L),L[1]=O,N&&(L[2]=null),c(s,this,L)}else E=c(Qi,this,L);return E},Qi))}function dS(t,e){const{CustomElementRegistry:{prototype:n},customElements:i}=t;n.get=jn(function(...l){if(this!==i)throw new Vt(us);return e.applyGet(this,l)},n.get),n.define=jn(function(...l){if(this!==i)throw new Vt(us);return e.applyDefine(this,l)},n.define),n.whenDefined=jn(function(...l){return this!==i?Ro(new Vt(us)):e.applyWhenDefined(this,l)},n.whenDefined)}function pS(t,e){let n=!1;const{HTMLElement:i}=t;t.HTMLElement=jn(function s(){if(new.target===void 0)throw new Vt(Nd);if(new.target===s)throw new Vt(Fc);return e.newCtor(this)},i,{defineProperty(s,l,u){if(l===fs)throw new Vt(en);return Se(s,l,u)},get(s,l,u,p=!1){n&&(n=p);const L=l===fs;if(n&&L)return i;const E=Ht(s,l,u);if(E!==void 0&&L)throw new Vt(en);return E},getOwnPropertyDescriptor(s,l){const u=yt(s,l);if(u&&l===fs)throw new Vt(en);return u},has(s,l){const u=oe(s,l),p=l===fs;if(u){if(n=!1,p)throw new Vt(en)}else n=p;return u},set(s,l,u,p){if(l===fs)throw new Vt(en);return Dt(s,l,u,p)}})}function hS(t,e){const{observedAttributes:n}=e,i=n.size?e.attributeChangedCallback:void 0;i&&n.forEach(s=>{if(c(ui,t,[s])){const l=c(hn,t,[s]);c(i,t,[s,null,l])}})}function mS(t){return fs in t?void 0:t[fs]}function hl(t,e){let n=Zu.get(t);n===void 0&&(n=Vn(new dn),Zu.set(t,n));let i=n.get(e);return i||(i=new Md(t),n.set(e,i),i)}function SS(t,e){let{HTMLElement:n}=e;const{CustomElementRegistry:{prototype:{get:i}}}=e,s=Un(n),l=Un(i);if(s){if(n=mS(n),typeof n!="function")throw new Vt("Invalid HTMLElement constructor.");Qu.set(t,n)}else Qu.set(t,n);const u=!s||!l?kd(t):void 0;s||pS(e,u),l||dS(e,u)}function xr(t,e){Yu=hl(t,e)}const Hc=Vn(new dn),tf=Yt(new kt);function gS(t){const e=Hc.get(t);if(e===void 0)return;Hc.delete(t);const{document:n,key:i}=t;let s=tf.get(n);s===void 0&&(s={__proto__:null},tf.set(n,s));const l={__proto__:null};s[i]=l;for(let u=0,{length:p}=e;u<p;u+=1)e[u](l)}function Fr(t,e,n,i=qe){const{document:s,key:l}=t,u=tf.get(s);if(u===void 0)return;const p=u[l];if(p===void 0)return;const L=p[c(Mn,n,[])];if(L===void 0)return;const E=L[i];if(E===void 0)return;const N=E.entries();for(const{0:O,1:H}of N)if(e instanceof O)return H}function ds(t){return t==null||t===""?qe:t}function wn(t,e,n,i,s){let l=Hc.get(t);l===void 0&&(l=[],Hc.set(t,l));const u=c(Mn,n,[]);l[l.length]=p=>{let L=p[u];L===void 0&&(L={__proto__:null},p[u]=L);let E=L[i];E===void 0&&(E=Vn(new dn),L[i]=E),E.set(e,s)}}function yS({globalObject:{Attr:t}}){const e=de(t.prototype,"value");return function(i){return[e,function(l){const u=c(Xi,this,[]);if(u){const p=c(ii,this,[]),L=c(No,this,[]),E=ds(L),N=Fr(i,u,p,E);if(N){c(N,u,[l]);return}}c(e,this,[l])}]}}function LS({UNCOMPILED_CONTEXT:t,globalObject:e}){var n,i;const s=(n=e.aura)==null||(i=n.util)==null?void 0:i.globalEval;return typeof s!="function"?Wt:function({sandboxEvaluator:u}){return[s,function(L,E,N){let O=`(function s(){return(${L})})()`;if(typeof E=="string"){const H=c(Zr,E,["://"]),{length:J}=H,x=J?H[H.length-1]:"";O+=this.sourceComment+(N==="lib"?`/libraries/${c(ne,x,[".","/"])}`:`/components/${c(ne,x,[":","/"])}.js`)}return u(ss(O),t)}]}}function bS({globalObject:{CacheStorage:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.delete;return typeof n!="function"?Wt:function({key:s}){return[n,function(...u){if(u.length){const{0:p}=u;we(p)&&(u[0]=sr(p,s))}return c(n,this,u)}]}}function $S({globalObject:{CacheStorage:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.has;return typeof n!="function"?Wt:function({key:s}){return[n,function(...u){if(u.length){const{0:p}=u;we(p)&&(u[0]=sr(p,s))}return c(n,this,u)}]}}function _S({globalObject:{CacheStorage:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.keys;return typeof n!="function"?Wt:function({key:s}){return[n,function(){const u=c(n,this,[]);return c(kn,u,[p=>{const L=[];for(let E=0,N=0,{length:O}=p;E<O;E+=1){const H=p[E];Qs(H,s)&&(L[N++]=za(H,s))}return L}])}]}}function ES({globalObject:{CacheStorage:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.match;return typeof n!="function"?Wt:function({key:s}){return[n,function(...u){const{length:p}=u;if(!p)return c(n,this,u);const L=p>=2?u[1]:void 0;if(Qn(L)&&"cacheName"in L){const{cacheName:E}=L;if(we(E)){const N=Pe(L);return N.cacheName=sr(E,s),u[1]=N,c(n,this,u)}}return Ro(new bt("caches.match() expects 'options.cacheName' to be present."))}]}}function WS({globalObject:{CacheStorage:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.open;return typeof n!="function"?Wt:function({key:s}){return[n,function(...u){if(u.length){const{0:p}=u;we(p)&&(u[0]=sr(p,s))}return c(n,this,u)}]}}const Uc="; ";function ef(t,e){if(Qn(t)){const n=Pe(t);return n.name=sr(n.name,e),n}return sr(t,e)}function TS(t,e){if(!Qs(t,e))return null;const n=qi(e),{length:i}=n,s=t.length>i&&t[i]==="="?i+1:i;return c(zt,t,[s])}function vS({globalObject:{CookieStore:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.delete;return typeof n!="function"?Wt:function({key:s}){return[n,function(...u){const p=u.length?u[0]:void 0;return p!=null&&(u[0]=ef(p,s)),c(n,this,u)}]}}function wS({globalObject:{CookieStore:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.get;return typeof n!="function"?Wt:function({key:s}){return[n,function(...u){const p=u.length?u[0]:void 0;p!=null&&(u[0]=ef(p,s));const L=c(n,this,u);return c(kn,L,[E=>{if(E){const{name:N}=E;if(Qs(N,s))return E.name=za(N,s),E}return null}])}]}}function AS({globalObject:{CookieStore:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.getAll;return typeof n!="function"?Wt:function({key:s}){return[n,function(...u){const p=u.length?u[0]:void 0;p!=null&&(u[0]=ef(u[0],s));const L=c(n,this,u);return c(kn,L,[E=>{const N=[];let O=0;for(let H=0,{length:J}=E;H<J;H+=1){const x=E[H];if(x){const{name:Z}=x;Qs(Z,s)&&(x.name=za(Z,s),N[O++]=x)}}return N}])}]}}const nf={__proto__:null};function xd(t,e,n){const{key:i}=t,{[i]:s}=nf;return s===void 0||s[n]===void 0?!1:s[n].has(e.constructor)}function CS(t,e,n){if(xd(t,e.prototype,n))return;const{key:i}=t,{[i]:s={__proto__:null}}=nf,{[n]:l=ro(new no)}=s;l.add(e),s[n]=l,nf[i]=s}function PS(t,e){let n=`Cannot set '${e}' event handler`;const i=yt(t.constructor,"name");if(i){It(i,null);const{value:s}=i;typeof s=="string"&&(n+=` on ${s} object`)}return`${n}.`}function OS(t,e){let n=`Cannot add '${e}' event listener`;const i=yt(t.constructor,"name");if(i){It(i,null);const{value:s}=i;typeof s=="string"&&(n+=` to ${s} object`)}return`${n}.`}function jc(t,e,n){const i=`on${n}`,s=de(t,i);if(typeof s!="function")return Wt;const l=PS(t,i),u=[s,function(){throw new bt(l)}];return function(L){return CS(L,e,n),u}}function RS({globalObject:{CookieStore:t}}){return jc(t==null?void 0:t.prototype,t,"change")}function NS({globalObject:{CookieStore:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.set;return typeof n!="function"?Wt:function({key:s}){return[n,function(...u){const{length:p}=u;if(p>1)u[0]=sr(u[0],s);else if(p){const{0:L}=u;if(Qn(L)){const E=Pe(L);E.name=sr(E.name,s),u[0]=E}}return c(n,this,u)}]}}function DS({globalObject:{CSSStyleRule:t}}){const e=V(t.prototype,"style"),n=[e,function(){return ir(c(e,this,[]))}];return function(){return n}}function IS({document:t,globalObject:{CustomElementRegistry:e,customElements:n}}){var i;const s=e==null||(i=e.prototype)==null?void 0:i.define;return typeof s!="function"?Wt:function({key:u}){const p=hl(t,u);return[s,function(...E){if(this!==n)throw new Vt(us);return p.applyDefine(this,E)}]}}function MS({document:t,globalObject:{CustomElementRegistry:e,customElements:n}}){var i;const s=e==null||(i=e.prototype)==null?void 0:i.get;return typeof s!="function"?Wt:function({key:u}){const p=hl(t,u);return[s,function(...E){if(this!==n)throw new Vt(us);return p.applyGet(this,E)}]}}function kS({document:t,globalObject:{CustomElementRegistry:e,customElements:n}}){var i;const s=e==null||(i=e.prototype)==null?void 0:i.whenDefined;return typeof s!="function"?Wt:function({key:u}){const p=hl(t,u);return[s,function(...E){return this!==n?Ro(new Vt(us)):p.applyWhenDefined(this,E)}]}}function xS({globalObject:{Document:t}}){const e=V(t.prototype,"cookie");return function({key:i}){return[e,function(){const l=c(lu,this,[]),u=c(Zr,l,[Uc]),p=[];let L=0;for(let E=0,{length:N}=u;E<N;E+=1){const O=TS(u[E],i);O&&(p[L++]=O)}return c(Ai,p,[Uc])}]}}function FS({globalObject:{Document:t}}){const e=de(t.prototype,"cookie");return function({key:i}){return[e,function(l){const u=c(Zr,l,[Uc]);let{0:p}=u;p.length&&p[0]==="="&&(p=c(zt,p,[1])),u[0]=sr(p,i);const L=c(Ai,u,[Uc]);c(cu,this,[L])}]}}function GS({document:t,globalObject:{Document:{prototype:{createElement:e}}}}){return function({key:i}){return[e,function(...s){const{0:l}=s;return c(He,l,["-"])&&xr(t,i),c(e,this,s)}]}}function HS({document:t,globalObject:{Document:{prototype:{createElementNS:e}}}}){return function({key:i}){return[e,function(...s){const{1:l}=s;return c(He,l,["-"])&&xr(t,i),c(e,this,s)}]}}function US(){throw new bt("Cannot set document.domain.")}function jS({globalObject:{Document:t}}){const n=[de(t.prototype,"domain"),US];return function(){return n}}const{isSharedElement:BS}=se;function VS({document:t,globalObject:{Document:{prototype:{execCommand:e}},HTMLElement:n}}){const i=V(Document.prototype,"activeElement"),s=V(n.prototype,"isContentEditable");return function({key:u,type:p}){return[e,function(...E){if(E.length>2){const{2:N}=E;if(N!=null){const O=xt(E[0]);if(c(Mn,O,[])==="inserthtml"){if(p===0){const H=c(i,this,[]);if(BS(H)&&c(s,H,[]))throw new bt(`Cannot execute command '${O}' on ${c(qt,H,[])}.`)}xr(t,u),E[0]=O,E[2]=gi.createHTML(N,u,0)}}}return c(e,this,E)}]}}function zS({globalObject:{Document:{prototype:t},HTMLDocument:e}}){return jc(t,e,"securitypolicyviolation")}const Fd=/(^|,)(\s*noopener\s*=\s*(?:yes|1)\s*)(,|$)/g;function Gd(t){const e=Ut(t);if(e.length>2){const n=xt(e[2]);let i=c(Mn,n,[]);c(Ce,Fd,[n])&&(i=c(ne,i,[Fd,(s,l,u,p)=>`${l}noopener${p}`])),e[2]=i}return e}function KS({globalObject:{Document:{prototype:{open:t}}}}){const e=[t,function(...i){if(i.length>=3){const s=Gd(i);return c(t,this,s)}return c(t,this,i)}];return function(){return e}}const{isSharedElement:qS}=se;function XS({globalObject:{Document:{prototype:{replaceChildren:t}}}}){const e=[t,function(...i){if(qS(c(Ql,this,[])))throw new bt("Cannot replace children of document.");return c(t,this,i)}];return function(){return e}}function YS({document:t,globalObject:{DOMParser:{prototype:{parseFromString:e}}}}){return function({key:i}){return[e,function(...l){if(l.length>=2){const u=xt(l[0]),p=xt(l[1]);xr(t,i),l[0]=p==="image/svg+xml"?Od(u):p==="application/xhtml+xml"||p==="application/xml"||p==="text/xml"?gi.createHTML(u,i,2):gi.createHTML(u,i,0)}return c(e,this,l)}]}}const{isSharedElement:JS,isAllowedSharedElementChild:QS}=se;function ZS({globalObject:{Element:{prototype:{after:t}},Node:e}}){const n=[t,function(...s){if(JS(this))for(let l=0,{length:u}=s;l<u;l+=1){const p=s[l];if(!QS(p)){const L=p instanceof e?c(qt,p,[]):xt(p);throw new bt(`Cannot insert ${L} after ${c(qt,this,[])}.`)}}return c(t,this,s)}];return function(){return n}}const{isSharedElement:tg,isAllowedSharedElementChild:eg}=se;function ng({globalObject:{Element:{prototype:{append:t}},Node:e}}){const n=[t,function(...s){if(tg(this))for(let l=0,{length:u}=s;l<u;l+=1){const p=s[l];if(!eg(p)){const L=p instanceof e?c(qt,p,[]):xt(p);throw new bt(`Cannot append ${L} to ${c(qt,this,[])}.`)}}return c(t,this,s)}];return function(){return n}}function rg({globalObject:{Element:{prototype:{attachShadow:t}}}}){const e=[t,function(...i){if(i.length){const{0:s}=i;if(s!=null){const{mode:l}=s;if(l!=="closed")throw new bt("Shadow root mode cannot be 'open.'");const u=Fe({},s,{mode:l}),p=Ct(s);It(u,p),i[0]=u}}return c(t,this,i)}];return function(){return e}}const Hd=Yt(new kt);function og(t,e){Hd.set(t,e)}function Ud(t,e,n,i){const s=Hd.get(n);if(s){const l=c(ii,i,[]),u=c(No,i,[]),p=ds(u),L=Fr(t,s,l,p);if(L){const E=c(oo,i,[]);return c(L,s,[E])}}return c(e,n,[i])}function ig({globalObject:{Element:t}}){const e=V(t.prototype,"attributes"),n=[e,function(){const s=c(e,this,[]);return og(s,this),s}];return function(){return n}}const{isSharedElement:sg,isAllowedSharedElementChild:ag}=se;function lg({globalObject:{Element:{prototype:{before:t}},Node:e}}){const n=[t,function(...s){if(sg(this))for(let l=0,{length:u}=s;l<u;l+=1){const p=s[l];if(!ag(p)){const L=p instanceof e?c(qt,p,[]):xt(p);throw new bt(`Cannot insert ${L} before ${c(qt,this,[])}.`)}}return c(t,this,s)}];return function(){return n}}const{isSharedElement:cg}=se;function ug({document:t,globalObject:{Element:e,SVGElement:n,XMLDocument:i}}){const s=de(e.prototype,"innerHTML");return function({key:u}){return[s,function(L){if(!(c(ts,this,[])instanceof i)){if(cg(this))throw new bt(`Cannot set innerHTML of ${c(qt,this,[])}.`);xr(t,u),L=this instanceof n?Od(this,L):zu(L,u)}c(s,this,[L])}]}}const{isSharedElement:fg,isAllowedSharedElementChild:dg}=se;function pg({globalObject:{Element:{prototype:{insertAdjacentElement:t}}}}){const e=[t,function(...i){if(i.length>1){const{1:s}=i;if(fg(this)&&!dg(s))throw new bt(`Cannot insert ${c(qt,s,[])} adjacent to ${c(qt,this,[])}.`)}return c(t,this,i)}];return function(){return e}}const{isSharedElement:hg}=se;function mg({document:t,globalObject:{Element:{prototype:{insertAdjacentHTML:e}}}}){return function({key:i}){return[e,function(...l){if(hg(this))throw new bt(`Cannot insert adjacent HTML to ${c(qt,this,[])}`);l.length>1&&(xr(t,i),l[1]=gi.createHTML(l[1],i,0)),c(e,this,l)}]}}const{isSharedElement:Sg}=se;function gg({document:t,globalObject:{Element:e}}){const n=de(e.prototype,"outerHTML");return function({key:s}){return[n,function(u){if(Sg(this))throw new bt(`Cannot set outerHTML of ${c(qt,this,[])}.`);xr(t,s),c(n,this,[gi.createHTML(u,s,0)])}]}}const{isSharedElement:yg,isAllowedSharedElementChild:Lg}=se;function bg({globalObject:{Element:{prototype:{prepend:t}},Node:e}}){const n=[t,function(...s){if(yg(this))for(let l=0,{length:u}=s;l<u;l+=1){const p=s[l];if(!Lg(p)){const L=p instanceof e?c(qt,p,[]):xt(p);throw new bt(`Cannot prepend ${L} to ${c(qt,this,[])}.`)}}return c(t,this,s)}];return function(){return n}}const{isSharedElement:$g}=se;function _g({globalObject:{Element:{prototype:{remove:t}}}}){const e=[t,function(){if($g(this))throw new bt(`Cannot remove ${c(qt,this,[])}.`);c(t,this,[])}];return function(){return e}}const{isSharedElement:Eg}=se;function Wg({globalObject:{Element:{prototype:{replaceChildren:t}}}}){const e=[t,function(...i){if(Eg(this))throw new bt(`Cannot replace children of ${c(qt,this,[])}.`);return c(t,this,i)}];return function(){return e}}const{isSharedElement:Tg}=se;function vg({globalObject:{Element:{prototype:{replaceWith:t}}}}){const e=[t,function(...i){if(Tg(this))throw new bt(`Cannot replace ${c(qt,this,[])}.`);return c(t,this,i)}];return function(){return e}}function wg({globalObject:{Element:{prototype:{setAttribute:t}}}}){return function(n){return[t,function(...s){if(s.length>1){const l=xt(s[0]),u=xt(s[1]),p=Fr(n,this,l);if(p){c(p,this,[u]);return}s[0]=l,s[1]=u}c(t,this,s)}]}}function Ag({globalObject:{Attr:t,Element:{prototype:{setAttributeNode:e}}}}){return function(i){return[e,function(...l){const u=l.length?l[0]:void 0;if(!(u instanceof t))return c(e,this,l);if(c(Xi,u,[]))return c(e,this,l);const p=c(ii,u,[]),L=c(No,u,[]),E=ds(L),N=Fr(i,this,p,E);if(N){const O=c(Ya,this,[p]);O&&c(ea,this,[O]);const H=c(oo,u,[]);c(N,this,[H]);const J=c(Ya,this,[p]);if(J&&c(ea,this,[J]),O&&c(e,this,[O]),J){const x=c(oo,J,[]);return c(au,u,[x]),c(e,this,[u])}return}return c(e,this,l)}]}}function Cg({globalObject:{Attr:t,Element:{prototype:{setAttributeNodeNS:e}}}}){return function(i){return[e,function(...l){const u=l.length?l[0]:void 0;if(!(u instanceof t))return c(e,this,l);if(c(Xi,u,[]))return c(e,this,l);const p=c(ii,u,[]),L=c(No,u,[]),E=ds(L),N=Fr(i,this,p,E);if(N){const O=c(Ja,this,[L,p]);O&&c(ea,this,[O]);const H=c(oo,u,[]);c(N,this,[H]);const J=c(Ja,this,[L,p]);if(J&&c(ea,this,[J]),O&&c(e,this,[O]),J){const x=c(oo,J,[]);return c(au,u,[x]),c(e,this,[u])}return null}return c(e,this,[u])}]}}function Pg({globalObject:{Element:{prototype:{setAttributeNS:t}}}}){return function(n){return[t,function(...s){if(s.length<3){c(t,this,s);return}let{0:l}=s;l!=null&&(l=xt(l));const u=xt(s[1]),p=xt(s[2]),L=ds(l),E=Fr(n,this,u,L);if(E){c(E,this,[p]);return}s[0]=l,s[1]=u,s[2]=p,c(t,this,s)}]}}function Og(){return null}function Rg({globalObject:{Element:t}}){const n=[V(t.prototype,"shadowRoot"),Og];return function(){return n}}function Ng({globalObject:{Element:{prototype:{hasAttribute:t,toggleAttribute:e}}}}){return function(i){return[e,function(...l){const{length:u}=l;if(u>0){const p=xt(l[0]),L=Fr(i,this,p);if(L){const E=u>1?[l[1]]:[];return c(L,this,E),c(t,this,[p])}l[0]=p}return c(e,this,l)}]}}function Dg(){return jd(this)}function jd(t){const e=c(_c,t,[]),{composedPath:n}=Event.prototype,i=c(n,t,[]),s=c(Lo,i,[e]);let l=i;for(let u=s;u>-1;u-=1)if(i[u]instanceof ShadowRoot){l=c(tn,i,[u+1]);break}return l}function Ig({globalObject:{Event:{prototype:{composedPath:t}}}}){const e=[t,Dg];return function(){return e}}function Mg(){return jd(this)}function kg({globalObject:{Event:t}}){const e=V(t.prototype,"path");if(typeof e!="function")return Wt;const n=[e,Mg];return function(){return n}}function xg({globalObject:{EventTarget:{prototype:{addEventListener:t}}}}){return function(n){function i(...s){const{length:l}=s;if(l>1){const u=xt(s[0]);if(xd(n,this,u))throw new bt(OS(this,u));s[0]=u}return c(t,this,s)}return[t,i]}}function Fg({UNCOMPILED_CONTEXT:t,globalObject:{Function:e}}){return function({sandboxEvaluator:i}){return[e,function(...l){const{length:u}=l;if(u){const L=u-1;l[L]=ss(xt(l[L]))}const p=i("(...args) => Function(...args)",t);return c(p,this,l)}]}}function Gg({globalObject:{DOMException:t,History:{prototype:{pushState:e}}}}){const n=[e,function(...s){try{return c(e,this,s)}catch(l){if(s.length&&l instanceof t){const u=s[0];if(fn(u))return s[0]=Rt(u),c(e,this,s)}throw l}}];return function(){return n}}function Hg({globalObject:{DOMException:t,History:{prototype:{replaceState:e}}}}){const n=[e,function(...s){try{return c(e,this,s)}catch(l){if(s.length&&l instanceof t){const u=s[0];if(fn(u))return s[0]=Rt(u),c(e,this,s)}throw l}}];return function(){return n}}function Ug({document:t,globalObject:{HTMLElement:e}}){return function({key:i}){let s;return[e,function l(){if(new.target===void 0)throw new Vt(Nd);if(new.target===l)throw new Vt(Fc);return s===void 0&&(s=hl(t,i)),s.newCtor(this)}]}}function jg({globalObject:{HTMLElement:t}}){const e=V(t.prototype,"dataset"),n=[e,function(){return ir(c(e,this,[]))}];return function(){return n}}const{isSharedElement:Bg}=se;function Vg({globalObject:{HTMLElement:t}}){const e=de(t.prototype,"innerText");if(typeof e!="function")return Wt;const n=[e,function(s){if(Bg(this))throw new bt(`Cannot set innerText of ${c(qt,this,[])}.`);c(e,this,[s])}];return function(){return n}}const{isSharedElement:zg}=se;function Kg({globalObject:{HTMLElement:t}}){const e=de(t.prototype,"outerText");if(typeof e!="function")return Wt;const n=[e,function(s){if(zg(this))throw new bt(`Cannot set outerText of ${c(qt,this,[])}.`);c(e,this,[s])}];return function(){return n}}function qg({globalObject:{HTMLElement:t}}){const e=V(t.prototype,"style"),n=[e,function(){return ir(c(e,this,[]))}];return function(){return n}}function Bd(t){const e=Nu(t);if(!hd(e))throw new bt("HTMLIFrameElement.src supports http://, https:// schemes and relative urls.");c(vu,this,[e])}function Xg({globalObject:{HTMLIFrameElement:t}}){const n=[de(t.prototype,"src"),Bd];return function(s){return wn(s,t,"src",qe,Bd),n}}const Yg=/import/i,Vd='HTMLLinkElement does not allow setting "rel" property to "import" value.';function zd(t){return typeof t!="string"||!c(Ce,Yg,[t])}function Jg({globalObject:{HTMLLinkElement:t}}){const e=de(t.prototype,"rel");function n(s){const l=xt(s);if(zd(l)){c(e,this,[l]);return}ri(Vd)}const i=[e,n];return function(l){return wn(l,t,"rel",qe,n),i}}function Qg({globalObject:{DOMTokenList:t,HTMLLinkElement:e}}){const n=de(e.prototype,"relList"),i=[n,function s(l){const u=s instanceof t?c(Lc,l,[]):xt(l);if(zd(u)){c(n,this,[u]);return}ri(Vd)}];return function(){return i}}function Zg({globalObject:{HTMLObjectElement:t}}){const e=de(t.prototype,"data");function n(s){const l=Nu(s);if(!hd(l))throw new bt("HTMLObjectElement.data supports http://, https:// schemes and relative urls.");const u=dl(l);if(!Oc(u))throw new bt(`Cannot request disallowed endpoint: ${u.normalizedURL}`);c(e,this,[l])}const i=[e,n];return function(l){return wn(l,t,"data",qe,n),i}}const Kd=Yt(new kt);function ty(t,e,n){return function(){const s=nn(n),l=`blocked${Qt(n)}Attribute`,{[l]:u}={[l]:()=>{throw new bt(`Attribute ${s} not allowed on ${e}.`)}};return function(L){wn(L,t,n,qe,u)}}}function ey(t,e){const n=V(t,e),i=er(e),s=[n,function(){throw new bt(`Cannot access ${i}.`)}];function l(){return s}return function(){return l}}function ny(t,e){const n=de(t,e),i=er(e),s=[n,function(){throw new bt(`Cannot access ${i}.`)}];function l(){return s}return function(){return l}}function ry(t,e){const{[e]:n}=t,i=er(e),s=[n,function(){throw new bt(`Cannot access ${i}.`)}];function l(){return s}return function(){return l}}function Bc(t,e,n,i){let{length:s}=i;for(let l=0,{length:u}=n;l<u;l+=1)i[s++]=ty(t,e,n[l])}function Mo({document:t},e,n,i){let{length:s}=i,l=Kd.get(t);l===void 0&&(l=Yt(new kt),Kd.set(t,l));let u=l.get(e);u===void 0&&(u={__proto__:null},l.set(e,u));for(let L=0,{length:E}=n;L<E;L+=1){const N=n[L];let O=u[N];if(O===void 0){var p;O=(p=yt(e,N))!=null?p:null,O&&It(O,null),u[N]=O}if(O){const{value:H}=O;if("get"in O||"set"in O){const{get:J,set:x}=O;J&&(i[s++]=ey(e,N)),x&&(i[s++]=ny(e,N))}else typeof H=="function"&&(i[s++]=ry(e,N))}}}const qd=Yt(new kt);function oy(t,e){qd.set(t,e)}function Xd(t){return qd.get(t)}function rf({sandboxEvaluator:t},e){const n=`script${Qt(e)}`,{[n]:i}={[n](s){oy(this,Rc(s));const l=this,u=function(L){const E=c(ts,l,[]),N=c(ta,E,[]),O={[Dn]:N.location,[Lr]:N.top};return L=ss(L),t(L,O,N,E)};gi.createScriptURL(s,u,l)}};return i}function iy({globalObject:{HTMLScriptElement:t}}){const e=V(t.prototype,"src"),n=[e,function(){var s;return(s=Xd(this))!=null?s:c(e,this,[])}];return function(){return n}}function sy({globalObject:{HTMLScriptElement:t}}){const{set:e}=yt(t.prototype,"src");return function(i){const s=rf(i,"src");return wn(i,t,"src",qe,s),[e,s]}}function ay({globalObject:{DOMException:t,IDBObjectStore:{prototype:{add:e}}}}){const n=[e,function(...s){try{return c(e,this,s)}catch(l){if(s.length&&l instanceof t){const u=s[0];if(fn(u))return s[0]=Rt(u),c(e,this,s)}throw l}}];return function(){return n}}function ly({globalObject:{DOMException:t,IDBObjectStore:{prototype:{put:e}}}}){const n=[e,function(...s){try{return c(e,this,s)}catch(l){if(s.length&&l instanceof t){const u=s[0];if(fn(u))return s[0]=Rt(u),c(e,this,s)}throw l}}];return function(){return n}}function cy({globalObject:{JSON:{parse:t}}}){return function({trackAsFastTarget:n}){return[t,function(...s){const{length:l}=s;if(!l)return c(t,this,s);const{0:u}=s,p=l>1?s[1]:void 0,L=typeof p=="function";return c(t,this,[u,function(N,O){return typeof O=="object"&&O!==null&&(n(O),ir(O)),L?c(p,this,[N,O]):O}])}]}}function uy({globalObject:{DOMException:t,MessagePort:e}}){const{postMessage:n}=e.prototype,i=[n,function(...l){try{return c(n,this,l)}catch(u){const{length:p}=l;if(p&&u instanceof t){const L=l[0];if(fn(L))return p>1?l=Rt(l):l[0]=Rt(L),c(n,this,l)}throw u}}];return function(){return i}}function fy({globalObject:{Attr:t,NamedNodeMap:{prototype:{setNamedItem:e}}}}){return function(i){return[e,function(...l){const u=l.length?l[0]:void 0;return u&&u instanceof t?Ud(i,e,this,u):c(e,this,l)}]}}function dy({globalObject:{Attr:t,NamedNodeMap:{prototype:{setNamedItemNS:e}}}}){return function(i){return[e,function(...l){const u=l.length?l[0]:void 0;return u&&u instanceof t?Ud(i,e,this,u):c(e,this,l)}]}}function py({globalObject:{Navigator:{prototype:{sendBeacon:t}}}}){const e=[t,function(...i){if(i.length){const s=dl(xt(i[0]));if(!Oc(s))throw new bt(`Cannot request disallowed endpoint: ${s.normalizedURL}`);i[0]=s.normalizedURL}return c(t,this,i)}];return function(){return e}}function hy({globalObject:{Navigator:t}}){const e=V(t.prototype,"serviceWorker");if(typeof e!="function")return Wt;const n=[e,Wt];return function(){return n}}const{isSharedElement:my,isAllowedSharedElementChild:Sy}=se;function gy({globalObject:{Node:{prototype:{insertBefore:t}}}}){const e=[t,function(...i){if(i.length){const{0:s}=i;if(my(this)&&!Sy(s))throw new bt(`Cannot insert child ${c(qt,s,[])} into ${c(qt,this,[])},`)}return c(t,this,i)}];return function(){return e}}function yy({globalObject:{Attr:t,Node:e}}){const n=de(e.prototype,"nodeValue");return function(s){return[n,function(u){if(this instanceof t){const p=c(Xi,this,[]);if(p===null){c(n,this,[u]);return}const L=c(ii,this,[]),E=c(No,this,[]),N=ds(E),O=Fr(s,p,L,N);if(O){c(O,p,[u]);return}}c(n,this,[u])}]}}const{isSharedElement:Ly}=se;function by({globalObject:{Node:{prototype:{removeChild:t}}}}){const e=[t,function(...i){if(i.length){const{0:s}=i;if(Ly(s))throw new bt(`Cannot remove ${c(qt,s,[])}.`)}return c(t,this,i)}];return function(){return e}}const{isSharedElement:$y}=se;function _y({globalObject:{Node:{prototype:{replaceChild:t}}}}){const e=[t,function(...i){const{length:s}=i;if(s>1){const{1:l}=i;if($y(l))throw new bt(`Cannot replace ${c(qt,l,[])}.`)}return c(t,this,i)}];return function(){return e}}function Ey({globalObject:{HTMLScriptElement:t,Node:e,SVGScriptElement:n}}){const i=V(e.prototype,"textContent"),s=[i,function(){if(this instanceof t||this instanceof n){var u;return(u=Gh(this))!=null?u:c(i,this,[])}return c(i,this,[])}];return function(){return s}}const{isSharedElement:Wy}=se;function Ty({globalObject:{Attr:t,Node:e,HTMLScriptElement:n,SVGScriptElement:i},root:{distortions:s}}){const{get:l,set:u}=yt(e.prototype,"textContent");let p;return function(E){const{sandboxEvaluator:N}=E;return[u,function(H){const J=xt(H);if(this instanceof t){const x=c(Xi,this,[]);if(x===null){c(u,this,[J]);return}const Z=c(ii,this,[]),st=c(No,this,[]),Pt=ds(st),wt=Fr(E,x,Z,Pt);if(wt){c(wt,x,[J]);return}}else if(this instanceof n||this instanceof i){if(jh(this)||(p===void 0&&(p=s.get(l)),Cu(this,"textContent",p,u)),Bh(this,J),!Hh(this)){Uh(this)||(fl(this,(x,Z,st)=>{xh(this),fe(this,"textContent"),c(u,this,[J]),N(ss(J),x,Z,st)}),c(u,this,[Xt]));return}}else if(Wy(this))throw new bt(`Cannot set textContent of ${c(qt,this,[])} elements.`);c(u,this,[J])}]}}function vy({globalObject:{DOMException:t,Notification:e}}){if(typeof e!="function")return Wt;const n=[e,function(...s){try{return We(e,s)}catch(l){if(s.length>1&&l instanceof t){const u=s[1];if(Qn(u)){const{data:p}=u;if(fn(p))return s[1]={__proto__:u,data:Rt(p)},We(e,s)}}throw l}}];return function(){return n}}function wy({document:t,globalObject:{Range:{prototype:{createContextualFragment:e}}}}){return function({key:i}){return[e,function(...l){if(l.length){const{0:u}=l;u!=null&&(xr(t,i),l[0]=gi.createHTML(u,i,0))}return c(e,this,l)}]}}const{isSharedElement:Ay}=se;function Cy({globalObject:{AbstractRange:t,Range:{prototype:{deleteContents:e}}}}){const{prototype:n}=t??Range,i=V(n,"endContainer"),s=V(n,"startContainer"),l=[e,function(...p){const L=[c(i,this,[]),c(s,this,[])];for(let E=0,{length:N}=L;E<N;E+=1){const O=L[E];if(Ay(O))throw new bt(`Cannot delete contents of ${c(qt,O,[])}.`)}return c(e,this,p)}];return function(){return l}}const{isSharedElement:Py}=se;function Oy({globalObject:{AbstractRange:t,Range:{prototype:{extractContents:e}}}}){const{prototype:n}=t??Range,i=V(n,"endContainer"),s=V(n,"startContainer"),l=[e,function(...p){const L=[c(i,this,[]),c(s,this,[])];for(let E=0,{length:N}=L;E<N;E+=1){const O=L[E];if(Py(O))throw new bt(`Cannot extract contents of ${c(qt,O,[])}.`)}return c(e,this,p)}];return function(){return l}}const{isSharedElement:Ry,isAllowedSharedElementChild:Ny}=se;function Dy({globalObject:{Range:{prototype:{insertNode:t}}}}){const e=V(Range.prototype,"commonAncestorContainer"),n=[t,function(...s){if(s.length){const l=c(e,this,[]);if(l&&Ry(l)&&!Ny(s[0]))throw new bt(`Cannot insert a new child node of ${c(qt,l,[])}.`)}return c(t,this,s)}];return function(){return n}}const{isSharedElement:Iy}=se;function ko(t){return function({globalObject:{Range:{prototype:{[t]:n}}}}){const{[t]:i}={[t](...l){if(l.length){const{0:u}=l;if(Iy(u))throw new bt(`Cannot call ${t} with ${c(qt,u,[])}.`)}return c(n,this,l)}},s=[n,i];return function(){return s}}}const My=ko("setEnd"),ky=ko("selectNode"),xy=ko("selectNodeContents"),Fy=ko("setEndAfter"),Gy=ko("setEndBefore"),Hy=ko("setStart"),Uy=ko("setStartAfter"),jy=ko("setStartBefore"),By=ko("surroundContents");function Vy({globalObject:{ServiceWorkerContainer:t}}){if(typeof t!="function")return Wt;const{prototype:e}=t,n=[e,Tr(e)];return function(){return n}}function zy({document:t,globalObject:{ShadowRoot:e}}){const n=de(e.prototype,"innerHTML");return function({key:s}){return[n,function(u){xr(t,s),c(n,this,[gi.createHTML(u,s,0)])}]}}function Ky(){return"closed"}function qy({globalObject:{ShadowRoot:t}}){const n=[V(t.prototype,"mode"),Ky];return function(){return n}}function Xy(t){throw new bt(`Cannot create SharedWorker with ${er(t)}.`)}function Yy({globalObject:{SharedWorker:t}}){if(typeof t!="function")return Wt;const e=[t,Xy];return function(){return e}}function Jy({globalObject:{SharedWorker:t}}){if(typeof t!="function")return Wt;const{prototype:e}=t,n=[e,Tr(e)];return function(){return n}}function Vc(t,e){const n=vi(t),i=[];let s=0;for(let l=0,{length:u}=n;l<u;l+=1){const p=n[l];Oo(p,e)&&(i[s++]=p)}return i}function Qy(t,e){const{length:n}=t,i=lt(n);for(let s=0;s<n;s+=1){const l=t[s];i[s]=Jl(l,e)}return i}const xo=Yt(new kt);function aa(t){const e=xo.get(t);if(e===void 0)throw new bt(us);return e}function Zy(t){const e=new ln(t,{get(n,i,s){if(typeof i=="symbol")return Ht(n,i,s);const{namespace:l,storage:u}=xo.get(e),p=Nr(i,l);if(ke(u,p))return Ht(u,p);const L=Ct(n);return L===null?void 0:Ht(L,i,s)},set(n,i,s){if(typeof i=="symbol")return Dt(n,i,s);const{namespace:l,storage:u}=xo.get(e),p=Nr(i,l);return c(ld,u,[p,s]),!0},defineProperty(n,i,s){const l=s;if(It(l,null),typeof i=="symbol")return Se(n,i,l);const{namespace:u,storage:p}=xo.get(e),L=Nr(i,u);return Se(p,L,l)},deleteProperty(n,i){if(typeof i=="symbol")return fe(n,i);const{namespace:s,storage:l}=xo.get(e),u=Nr(i,s);return fe(l,u)},getOwnPropertyDescriptor(n,i){let s;if(typeof i=="symbol")s=yt(n,i);else{const{namespace:l,storage:u}=xo.get(e),p=Nr(i,l);s=yt(u,p)}return s&&It(s,null),s},ownKeys(n){const{namespace:i,storage:s}=xo.get(e),l=Vc(s,i),u=Qy(l,i),p=ur(n);return yr(u,p)},has(n,i){if(typeof i=="symbol")return oe(n,i);const{namespace:s,storage:l}=xo.get(e),u=Nr(i,s);if(ke(l,u))return!0;const p=Ct(n);return p===null?!1:oe(p,i)},preventExtensions(n){return!1}});return e}class of{constructor(){throw new bt(Fc)}get length(){const{namespace:e,storage:n}=aa(this);return Vc(n,e).length}key(...e){const{namespace:n,storage:i}=aa(this);if(e.length){const s=Vc(i,n),l=e[0],u=s[l],p=s[0],L=u||p;return typeof L!="string"?null:Jl(L,n)}return c(em,i,e)}getItem(...e){const{namespace:n,storage:i}=aa(this);return e.length&&(e[0]=Nr(xt(e[0]),n)),c(nm,i,e)}setItem(...e){const{namespace:n,storage:i}=aa(this);e.length>1&&(e[0]=Nr(xt(e[0]),n),e[1]=xt(e[1])),c(ld,i,e)}removeItem(...e){const{namespace:n,storage:i}=aa(this);e.length&&(e[0]=Nr(xt(e[0]),n)),c(ad,i,e)}clear(){const{namespace:e,storage:n}=aa(this),i=Vc(n,e);for(let s=0,{length:l}=i;s<l;s+=1){const u=i[s];c(ad,n,[u])}}}function tL(t,e){const n=Zy({__proto__:of.prototype});return ir(n),xo.set(n,{namespace:e,storage:t}),n}const{prototype:Yd}=of,{clear:eL,getItem:nL,key:rL,removeItem:oL,setItem:iL}=Yd,sL=V(Yd,"length");function Jd(t){return function({globalObject:n}){let i;try{i=n[t]}catch(s){}return fn(i)?function({key:l}){return[i,tL(i,l)]}:Wt}}function aL({globalObject:{Storage:t}}){const n=[V(t.prototype,"length"),sL];return function(){return n}}function lL({globalObject:{Storage:{prototype:{getItem:t}}}}){const e=[t,nL];return function(){return e}}function cL({globalObject:{Storage:{prototype:{setItem:t}}}}){const e=[t,iL];return function(){return e}}function uL({globalObject:{Storage:{prototype:{key:t}}}}){const e=[t,rL];return function(){return e}}function fL({globalObject:{Storage:{prototype:{removeItem:t}}}}){const e=[t,oL];return function(){return e}}function dL({globalObject:{Storage:{prototype:{clear:t}}}}){const e=[t,eL];return function(){return e}}function pL({globalObject:{Storage:t}}){const e=[t,of];return function(){return e}}const hL=Jd("localStorage"),mL=Jd("sessionStorage");function SL({globalObject:{Element:{prototype:{setAttribute:t}},SVGAnimateElement:e}}){return function(i){function s(l,u){if(c(ui,l,[u])){const p=c(hn,l,[u]);if(p){const L=Fr(i,l,u);L&&c(L,l,[p])}}}wn(i,e,"attributeName",qe,function(u){c(t,this,["attributeName",u]),u==="href"&&(s(this,"from"),s(this,"to"),s(this,"values"))})}}function gL({globalObject:{Element:{prototype:{setAttribute:t}},SVGAnimateElement:e}}){function n(i){c(hn,this,["attributeName"])==="href"&&(i=ls(i)),c(t,this,["from",i])}return function(s){wn(s,e,"from",qe,n)}}function yL({globalObject:{Element:{prototype:{setAttribute:t}},SVGAnimateElement:e}}){function n(i){c(hn,this,["attributeName"])==="href"&&(i=ls(i)),c(t,this,["to",i])}return function(s){wn(s,e,"to",qe,n)}}function LL({globalObject:{Element:{prototype:{setAttribute:t}},SVGAnimateElement:e}}){function n(i){let s=i;if(c(hn,this,["attributeName"])==="href"){const l=c(Zr,i,[";"]),{length:u}=l;for(let p=0;p<u;p+=1)l[p]=ls(l[p]);s=c(Ai,l,[";"])}c(t,this,["values",s])}return function(s){wn(s,e,"values",qe,n)}}function bL({globalObject:{SVGElement:t}}){const e=V(t.prototype,"dataset"),n=[e,function(){return ir(c(e,this,[]))}];return function(){return n}}function $L({globalObject:{SVGElement:t}}){const e=V(t.prototype,"style"),n=[e,function(){return ir(c(e,this,[]))}];return function(){return n}}function _L({globalObject:{SVGScriptElement:t}}){const e=V(t.prototype,"href"),n=[e,function(){var s;return(s=Xd(this))!=null?s:c(e,this,[])}];return function(){return n}}function EL({globalObject:{SVGScriptElement:t}}){return function(n){wn(n,t,"href",is,rf(n,"href")),wn(n,t,"xlink:href",is,rf(n,"xlink:href"))}}function WL({globalObject:{Element:{prototype:{setAttribute:t}},SVGSetElement:e}}){return function(i){function s(u,p){if(c(ui,u,[p])){const L=c(hn,u,[p]);if(L){const E=Fr(i,u,p);E&&c(E,u,[L])}}}function l(u){c(t,this,["attributeName",u]),u==="href"&&s(this,"to")}wn(i,e,"attributeName",qe,l)}}function TL({globalObject:{Element:{prototype:{setAttribute:t}},SVGSetElement:e}}){function n(i){c(hn,this,["attributeName"])==="href"&&(i=ls(i)),c(t,this,["to",i])}return function(s){wn(s,e,"to",qe,n)}}function Qd(t){return function({globalObject:{Element:{prototype:{setAttribute:n,setAttributeNS:i}},SVGUseElement:s}}){function l(u){const p=u==null||u===""?u:ls(u);c(i,this,[is,t,p])}return function(p){wn(p,s,t,is,l),t==="href"&&wn(p,s,t,qe,function(N){const O=N==null||N===""?N:ls(N);c(n,this,[t,O])})}}}const vL=Qd("href"),wL=Qd("xlink:href");function AL({globalObject:{TrustedTypePolicyFactory:t}}){var e;const n=t==null||(e=t.prototype)==null?void 0:e.createPolicy;if(typeof n!="function")return Wt;const i=[n,function(...l){const u=l.length?l[0]:void 0;if(u==="default")throw new bt(`Cannot create TrustedTypePolicy with '${u}' policy name.`);return c(n,this,l)}];return function(){return i}}const CL=zo(["text/html","image/svg+xml","text/xml"]);function PL({document:t,globalObject:e,globalObject:{MediaSource:n,URL:{createObjectURL:i}}}){const{isEqualDomString:s}=yu(t,e);return function({key:u}){const p=Xm(u);return[i,function(E){let N=c(i,this,[E]);if(n&&E instanceof n)return N;const O=c(Lu,E,[]);if(O===""){const J=c(pc,E,[0,void 0,"text/plain"]);return c(i,this,[J])}const H=c(Mn,O,[]);if(CL.includes(H)){const J=c(ns,E,[]),x=c(pc,E,[0,J,`${H};charset=utf-8`]);Y(N),N=c(i,this,[x]);const Z=new Ou;c(cd,Z,["GET",N,!1]),c(ud,Z,[]);const st=c(fd,Z,[]),Pt=p.sanitize(st);if(!s(st,Pt))throw Y(N),new bt(`Cannot 'createObjectURL' using a unsecure ${er(E)}.`);return N}if(im(H))return N;throw Y(N),new bt("Unsupported MIME type.")}]}}function OL({globalObject:{fetch:t}}){const e=[t,function(...i){let{0:s}=i;if(s!=null){let l;if(s instanceof Request?l=dl(c(Au,s,[])):(l=dl(xt(s)),s=l.normalizedURL,i[0]=s),!Oc(l)){const{normalizedURL:u}=l;return Ro(new bt(`Cannot request disallowed endpoint: ${er(u)}`))}}return c(t,this,i)}];return function(){return e}}class sf{defineProperty(e,n,i){return!0}deleteProperty(e,n){return!0}getOwnPropertyDescriptor(e,n){}isExtensible(e){return!0}ownKeys(e){return[]}preventExtensions(e){return!0}set(e,n,i,s){return!0}setPrototypeOf(e){return!1}}It(sf.prototype,null);class Zd extends sf{}function RL({globalObject:t}){const e=V(t,"frames");if(typeof e!="function")return Wt;const n=()=>{const l=Ct(t),u=Ct(l),p=c(tr,es,[t]),L=c(tr,Wt,[]),E=Mt=>{const K=typeof Mt=="string"?+Mt:-1;if(K>-1&&Ra(K)&&K<c(es,t,[])){const it=k(t,Mt);if(rl(it))return it}},N=Mt=>{if(typeof Mt=="string"&&!ke(t,Mt)&&!ke(l,Mt)){const K=k(u,Mt);if(rl(K))return K}},O=Mt=>Mt==="length"?c(es,t,[]):E(Mt);class H extends sf{get(K,it,Tt){const Nt=O(it);return Nt===void 0?Ht(K,it,Tt):Nt}getOwnPropertyDescriptor(K,it){if(it==="length")return{__proto__:null,configurable:!0,enumerable:!0,get:p,set:L};const Tt=E(it);if(Tt)return{__proto__:null,configurable:!0,enumerable:!0,value:Tt,writable:!1}}has(K,it){return oe(K,it)||O(it)!==void 0}ownKeys(){const{length:K}=t,it=lt(K+1);for(let Tt=0;Tt<K;Tt+=1)it[Tt]=`${Tt}`;return it[K]="length",it}}class J extends Zd{get(K,it,Tt){const Nt=N(it);return Nt===void 0?Ht(K,it,Tt):Nt}getOwnPropertyDescriptor(K,it){const Tt=N(it);return Tt===void 0?Tt:{__proto__:null,configurable:!0,enumerable:!0,value:Tt,writable:!1}}has(K,it){return oe(K,it)||N(it)!==void 0}ownKeys(){const K=[];let it=0;const Tt=Fn(u);It(Tt,null);for(const Nt in Tt)if(typeof Nt=="string"){const Gt=Tt[Nt];ke(Gt,"value")&&rl(Gt.value)&&(K[it++]=Nt)}return K}}const x={},Z={},st={},Pt=new H,wt=new Zd,$t=new J,U=new ln(Z,wt),z=new ln(st,$t);return It(x,U),It(Z,z),new ln(x,Pt)};let i;const s=[e,function(){return i===void 0&&(i=n()),i}];return function(){return s}}function NL({globalObject:{getComputedStyle:t}}){const e=[t,function(...i){return ir(c(t,this,i))}];return function(){return e}}function DL(){return 0}function IL({globalObject:t}){const e=V(t,"length");if(typeof e!="function")return Wt;const n=[e,DL];return function(){return n}}function ML({globalObject:t,globalObject:{Window:e}}){return jc(t,e,"securitypolicyviolation")}function kL({globalObject:t,globalObject:{Window:e}}){return jc(t,e,"storage")}function xL({globalObject:{open:t}}){const e=[t,function(...i){const s=Gd(i);return c(t,this,s)}];return function(){return e}}function tp({globalObject:{postMessage:t}}){const e=[t,function(...i){try{return c(t,this,i)}catch(s){const{length:l}=i;if(l){const u=i[0];if(fn(u)){const p=l>1?i[1]:void 0;if(Qn(p)){const{transfer:L}=p;i[1]={__proto__:p,transfer:L},i=Rt(i)}else i[0]=Rt(u);return c(t,this,i)}}throw s}}];return function(){return e}}function FL({UNCOMPILED_CONTEXT:t,globalObject:{setInterval:e}}){return function({sandboxEvaluator:i}){return[e,function(...l){if(l.length){const{0:u}=l;if(u!=null&&typeof u!="function"){const p=xt(u);let L;l[0]=()=>{L===void 0&&(L=ss(p)),i(L,t)}}}return c(e,this,l)}]}}function GL({UNCOMPILED_CONTEXT:t,globalObject:{setTimeout:e}}){return function({sandboxEvaluator:i}){return[e,function(...l){if(l.length){const{0:u}=l;if(u!=null&&typeof u!="function"){const p=xt(u);l[0]=()=>{i(ss(p),t)}}}return c(e,this,l)}]}}function HL({globalObject:{DOMException:t,structuredClone:e}}){if(typeof e!="function")return Wt;const n=[e,function(...s){try{return c(e,this,s)}catch(l){const{length:u}=s;if(u&&l instanceof t){const p=s[0];if(fn(p)){const L=u>1?s[1]:void 0;if(Qn(L)){const{transfer:E}=L;s[1]={__proto__:L,transfer:E},s=Rt(s)}else s[0]=Rt(p);return c(e,this,s)}}throw l}}];return function(){return n}}function UL(t){throw new bt(`Cannot create Worker with ${er(t)}.`)}function jL({globalObject:{Worker:t}}){const e=[t,UL];return function(){return e}}function BL({globalObject:{Worker:{prototype:t}}}){const e=[t,Tr(t)];return function(){return e}}function VL({globalObject:{XMLHttpRequest:{prototype:{open:t}}}}){const e=[t,function(...i){const s=i.length>1?i[1]:void 0;if(s!=null){const l=dl(xt(s));if(!Oc(l))throw new bt(`Cannot request disallowed endpoint: ${l.normalizedURL}`);i[1]=l.normalizedURL}c(t,this,i)}];return function(){return e}}function zL({document:t,globalObject:{Document:e,XMLHttpRequest:n}}){const i=V(n.prototype,"response");return function({key:l}){return[i,function(){const p=c(i,this,[]);return xr(t,l),p instanceof e?Cd(p,l):p}]}}function KL({document:t,globalObject:{XMLHttpRequest:e}}){const n=V(e.prototype,"responseXML");return function({key:s}){return[n,function(){const u=c(n,this,[]);return xr(t,s),Cd(u,s)}]}}const ep=[DS,jS,zS,KS,rg,ig,_g,Wg,vg,Fg,Gg,Hg,jg,Vg,Kg,qg,Xg,Jg,Qg,Zg,iy,ay,ly,uy,py,hy,by,_y,vy,Cy,Oy,Dy,ky,xy,My,Fy,Gy,Hy,Uy,jy,By,Vy,qy,Yy,Jy,pL,dL,lL,uL,aL,fL,cL,gL,yL,LL,bL,$L,TL,vL,wL,AL,OL,RL,NL,IL,ML,kL,xL,tp,HL,jL,BL,VL],np=[yS,LS,bS,$S,_S,ES,WS,vS,wS,AS,RS,NS,xS,FS,GS,HS,VS,XS,YS,IS,MS,kS,ug,mg,gg,wg,Ag,Cg,Pg,Ng,Ig,kg,xg,Ug,sy,cy,fy,dy,yy,Ey,Ty,wy,zy,hL,mL,SL,_L,EL,WL,PL,FL,GL,zL,KL],qL=yr(ep,[ZS,ng,lg,pg,bg,Rg,gy]),XL=np,YL=["createProcessingInstruction","exitFullscreen","fullscreen","fullscreenElement","fullscreenEnabled","mozCancelFullScreen","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","onfullscreenchange","onfullscreenerror","onmozfullscreenchange","onmozfullscreenerror","onrejectionhandled","onunhandledrejection","releaseCapture","releaseEvents","webkitFullScreenKeyboardInputAllowed","write","writeln"],JL=["mozRequestFullScreen","onfullscreenchange","onfullscreenerror","requestFullscreen","webkitRequestFullScreen","webkitRequestFullscreen"];function QL({UNCOMPILED_CONTEXT:t,globalObject:{eval:e}}){return function({sandboxEvaluator:i}){return[e,s=>i(ss(xt(s)),t)]}}const ZL=["nonce"],tb=["nonce","onrejectionhandled","onunhandledrejection"],eb=["getSVGDocument"],nb=["allowpaymentrequest","referrerpolicy","srcdoc"],rb=["allowPaymentRequest","csp","featurePolicy","getSVGDocument","referrerPolicy","srcdoc"],ob=["getSVGDocument"],ib=["nonce"],sb=["nonce"],ab=["nonce"],lb=["nonce"],cb=["transformToDocument","transformToFragment"],rp=Yt(new kt),op=Yt(new kt),ip=Yt(new kt),ub=!al;function sp(t,e){const n=[];for(let i=0,{length:s}=e;i<s;i+=1){const l=e[i],u=l(t);if(u){const{0:p,1:L}=u;typeof p=="function"?n[n.length]=[p,lf(t,l,L,p)]:typeof p=="object"&&p!==null&&(n[n.length]=u)}}return n}function af(t){return ub?Yt(new kt(t)):Vn(new dn(t))}function ap(t){const{document:e,globalObject:n,type:i}=t;let s=rp.get(e);if(s)return s;const{Document:l,Element:u,HTMLElement:p,HTMLIFrameElement:L,HTMLScriptElement:E,SVGElement:N,XSLTProcessor:O}=n,H=i===1?yr(ep,np):yr(qL,XL);Bc(p,"HTMLElement",ZL,H),Bc(L,"HTMLIFrameElement",nb,H),Bc(E,"HTMLScriptElement",ib,H),Bc(N,"SVGElement",ab,H),Mo(t,l.prototype,YL,H),Mo(t,u.prototype,JL,H),Mo(t,p.prototype,tb,H),Mo(t,L.prototype,rb,H),Mo(t,HTMLEmbedElement.prototype,eb,H),Mo(t,HTMLObjectElement.prototype,ob,H),Mo(t,E.prototype,sb,H),Mo(t,N.prototype,lb,H),typeof O=="function"&&Mo(t,O.prototype,cb,H),SS(e,n),s=H;for(let J=0,{length:x}=s;J<x;J+=1)s[J]=H[J](t);return s[s.length]=gS,rp.set(e,s),s}function fb(t){const{document:e}=t;let n=op.get(e);return n||(n=QL(t),op.set(e,n),n)}function db(t){const{globalObject:e}=t;let n=ip.get(e);return n||(n=tp(t),ip.set(e,n),n)}function lf({BASIC_INSTRUMENTATION_DATA:t,LOCKER_DEBUG_MODE_INSTRUMENTATION_FLAG:e,LOCKER_VERBOSE_DEBUG_MODE_INSTRUMENTATION_FLAG:n,instrumentation:i,key:s},l,u,p){let L,E;if(n){({startActivity:E}=i);const{name:N}=l;L=N?c(ne,N,[Nn,""]):"<unknown>"}return jn(u,p,{apply:function(N,O,H){let J;n&&(J=E(L,t));try{return c(N,O,H)}catch(x){throw e&&J.error({sandboxKey:s,error:x}),x}finally{n&&J.stop()}},construct:function(N,O,H){let J;n&&(J=E(L,t));try{return We(N,O,H)}catch(x){throw e&&J.error({sandboxKey:s,error:x}),x}finally{n&&J.stop()}}})}let cf,uf;function ff(){const t=cf;return cf=void 0,t}function lp(){const t=uf;return uf=void 0,t}function df(t){cf=t}function cp(t){uf=t}const pb="lws-core-sandbox",up={[Wr]:{__proto__:null,get(){return ff()}},[Qr]:{__proto__:null,get(){return lp()}}},hb=af(),Xe={},mb={[Dn]:tl,[Lr]:sc},{apply:Jt,defineProperty:pf,deleteProperty:ml,getPrototypeOf:la,ownKeys:Sl,setPrototypeOf:yi}=Reflect,fp=Object,{assign:gl,freeze:Sb,keys:dp,prototype:pp}=fp,{hasOwn:hp}=fp,{__lookupGetter__:gb,__lookupSetter__:F_,hasOwnProperty:yb}=pp,Lb=typeof hp=="function"?hp:function(e,n){return Jt(yb,e,[n])},{toString:bb}=pp;function mp(t){return typeof t=="object"&&t!==null}function Fo(t,e){return t==null||!Lb(t,e)?void 0:Jt(gb,t,[e])}const $b=Symbol,{for:yl,iterator:zc,toStringTag:ca,unscopables:Sp}=$b,Ll=Array,{prototype:bl}=Ll,{at:_b,concat:Eb,copyWithin:Wb,entries:Tb,every:vb,fill:wb,findIndex:Ab,flat:Cb,flatMap:Pb,forEach:Ob,indexOf:Rb,join:Nb,keys:Db,lastIndexOf:Ib,map:Mb,pop:kb,reduce:xb,reduceRight:Fb,reverse:Gb,slice:Hb,some:Ub,splice:jb,toLocaleString:Bb,toString:Vb,values:zb,[zc]:Kb}=bl,qb=Sb(gl({__proto__:null},bl[Sp])),{filter:gp,find:yp,includes:hf,shift:Xb,sort:Lp,unshift:bp}=bl,{push:$l}=bl,{isArray:_l}=Ll;function Yb(t){return yi(t,null),t.at=_b,t.concat=Eb,t.copyWithin=Wb,t.entries=Tb,t.every=vb,t.fill=wb,t.filter=gp,t.find=yp,t.findIndex=Ab,t.flat=Cb,t.flatMap=Pb,t.forEach=Ob,t.includes=hf,t.indexOf=Rb,t.join=Nb,t.keys=Db,t.lastIndexOf=Ib,t.map=Mb,t.pop=kb,t.push=$l,t.reduce=xb,t.reduceRight=Fb,t.reverse=Gb,t.shift=Xb,t.slice=Hb,t.some=Ub,t.sort=Lp,t.splice=jb,t.toLocaleString=Bb,t.toString=Vb,t.unshift=bp,t.values=zb,t[zc]=Kb,t[Sp]=qb,yi(t,bl),t}Fo(ArrayBuffer.prototype,"byteLength");const Jb=`${function t(){return t.name}()}`.includes("LOCKER_UNMINIFIED_FLAG"),Kc="\u2026",$p=yl("@@lockerNearMembraneSerializedValue"),_p=yl("@@lockerNearMembrane");yl("@@lockerLiveValue");const Ep="[object BigInt]",Qb="[object Boolean]",Zb="[object Number]",Wp="[object String]",mf="[object Symbol]",Tp=Map,{prototype:qc}=Tp,{clear:t$,delete:e$,forEach:n$,get:r$,has:o$,keys:i$,values:s$,[zc]:a$,[ca]:l$}=qc,{entries:c$,set:u$}=qc,f$=Fo(qc,"size");function d$(t){return yi(t,null),t.clear=t$,t.delete=e$,t.entries=c$,t.forEach=n$,t.get=r$,t.has=o$,t.keys=i$,t.set=u$,pf(t,"size",{__proto__:null,configurable:!0,enumerable:!0,get:f$,set:void 0}),t.values=s$,t[zc]=a$,t[ca]=l$,yi(t,qc),t}const p$=Number,{isFinite:h$,isInteger:m$}=p$,S$=RegExp,{prototype:vp}=S$,{test:g$}=vp;Fo(vp,"source");const y$=Set,{prototype:L$}=y$;Fo(L$,"size");const El=String,{prototype:b$}=El,{slice:Sf,valueOf:G_}=b$,gf=WeakMap,{prototype:yf}=gf,{has:$$}=yf,{delete:_$,get:E$,set:W$,[ca]:T$}=yf;function Lf(t){return yi(t,null),t.delete=_$,t.get=E$,t.has=$$,t.set=W$,t[ca]=T$,yi(t,yf),t}const wp=WeakSet,{prototype:bf}=wp,{has:v$}=bf,{add:w$,delete:A$,[ca]:C$}=bf;function P$(t){return yi(t,null),t.add=w$,t.delete=A$,t.has=v$,t[ca]=C$,yi(t,bf),t}const{stringify:O$}=JSON;function R$(t){if(typeof t=="object"&&t!==null||typeof t=="function")return $p in t?void 0:t[$p]}function N$(t){return typeof t=="object"&&t!==null||typeof t=="function"?!(_p in t)&&t[_p]===!0:!1}d$(new Tp);const D$=Error,Xc=TypeError;function Oe(){}const{min:Ap}=Math,Wl=window,{navigator:I$,navigator:{userAgentData:$f}}=Wl,_f=$f==null?void 0:$f.brands,M$=/ (?:Headless)?Chrome\/\d+/;let Ef;function k$(){return Ef===void 0&&(Ef=I$.userAgent),Ef}const Cp=_l(_f)&&_f.length?Jt(yp,_f,[t=>(t==null?void 0:t.brand)==="Chromium"])!==void 0:Jt(g$,M$,[k$()]),x$=Cp&&$f===void 0,{prototype:Pp}=Document,{close:F$,createElement:G$,open:H$}=Pp,U$=Fo(Pp,"body");Fo(DOMException.prototype,"code");const{remove:j$,setAttribute:B$}=Element.prototype,V$=Fo(HTMLElement.prototype,"style"),z$=Fo(HTMLIFrameElement.prototype,"contentWindow"),{prototype:Op}=Node,{appendChild:K$}=Op,q$=Fo(Op,"lastChild");if(Jb){let t=!0;const e=yl("@@lockerDebugMode"),n=100,i=5,s=100,l=s/2,u="display: inline-block; margin-bottom: 3px; margin-left: -3px; word-break: break-all; word-wrap: wrap;",p={style:"margin-left:11px; margin-bottom: 3px;"},L={style:"display: inline-block; margin-left:12px; word-break: break-all; word-wrap: wrap;"},E={style:"color: #9d288c; font-weight: bold"},N={style:"color: #b17ab0"},O={style:"color: #16239f"},H={style:"color: #236d25"},J={style:"color: #606367"},x={style:"color: #b82619"},Z=function(U){if(U==null)return["span",J,`${U}`];if(typeof U=="boolean")return["span",O,U];if(typeof U=="number")return h$(U)?["span",O,U]:["span",O,`${U>=0?"":"-"}Infinity`];if(typeof U=="string"){let z=U;const{length:Mt}=z;if(Mt>s){const K=Jt(Sf,z,[0,l]),it=Jt(Sf,z,[Mt-l-1,Mt]);z=K+Kc+it}return["span",x,O$(z)]}return _l(U)?["span",{},`Array(${U.length})`]:mp(U)?["span",{},`{${Kc}}`]:["span",x,El(U)]},st=function(U,z){const Mt=z==null?void 0:z.isChildElement,K=[];let it=0;Mt&&(K[it++]=["span",E,z.childKey],K[it++]=["span",{},": "]);const Tt=Jt(bb,U,[]);let Nt=dp(U);if(Tt===mf)Jt(hf,Nt,["description"])||Jt(bp,Nt,["description"]);else if(Tt===Wp){const{length:ce}=U;Nt=Jt(gp,Nt,[on=>{const Sn=typeof on=="string"?+on:-1;return Sn<0||Sn>=ce||!m$(Sn)}])}const{length:Gt}=Nt;if(_l(U)){K[it++]=["span",Mt?J:{},`(${U.length}) [`];for(let ce=0,on=Ap(Gt,n);ce<on;ce+=1){const Sn=Nt[ce],Le=U[Sn];K[it++]=["span",{},ce?", ":""],K[it++]=Z(Le)}return Gt>n&&(K[it++]=["span",null,["span",{},`, ${Kc}`]]),K[it++]=["span",{},"]"],K}let mn,he="{";switch(Tt){case Ep:case Qb:case Zb:case Wp:case mf:{let ce=O;Tt===Ep?ce=H:Tt===mf&&(ce=x),he=`${Jt(Sf,Tt,[8,-1])} {`,mn=["span",ce,`${El(R$(U))}`];break}}K[it++]=["span",{},he],mn&&(K[it++]=mn,Gt&&(K[it++]=["span",{},", "]));for(let ce=0,on=Ap(Gt,i);ce<on;ce+=1){const Sn=Nt[ce],Le=U[Sn];K[it++]=["span",{},ce?", ":""],K[it++]=["span",J,Sn],K[it++]=["span",{},": "],K[it++]=Z(Le)}return Gt>i&&(K[it++]=["span",null,["span",{},`, ${Kc}`]]),K[it++]=["span",{},"}"],K},Pt=function(U){const z=dp(U),Mt=Sl(U);_l(U)||Jt(Lp,Mt,[]);const K=[];let it=0;for(let Tt=0,{length:Nt}=Mt;Tt<Nt;Tt+=1){const Gt=Mt[Tt],mn=U[Gt];if(mp(mn))K[it++]=["div",{},["object",{object:mn,config:{childKey:El(Gt),isChildElement:!0}}]];else{let he=E;(typeof Gt=="symbol"||!Jt(hf,z,[Gt]))&&(he=N),K[it++]=["div",p,["span",he,El(Gt)],["span",{},": "],Z(mn)]}}return K};let{devtoolsFormatters:wt}=Wl;_l(wt)||(wt=[],pf(Wl,"devtoolsFormatters",{__proto__:null,configurable:!0,value:wt,writable:!0})),wt[wt.length]={header($t,U){if(t&&(t=!1,pf(Wl,e,{__proto__:null,configurable:!0,value:!0,writable:!0})),!N$($t))return null;const z=["div",{style:`${u}${U!=null&&U.isChildElement?"":"font-style: italic;"}`}];return Jt($l,z,st($t,U)),["div",{},z]},hasBody(){return!0},body($t){const U=["div",L];return Jt($l,U,Pt($t)),U}}}const Rp=Lf(new gf);function Np(t){var e,n,i,s,l;const u=Array,p=ArrayBuffer,L=Error,E=Number,N=Object,O=Proxy,H=Reflect,J=RegExp,x=String,Z=Symbol,st=TypeError,Pt=WeakMap,wt=WeakSet,{for:$t,toStringTag:U}=Z,{apply:z,construct:Mt,defineProperty:K,deleteProperty:it,get:Tt,getOwnPropertyDescriptor:Nt,getPrototypeOf:Gt,has:mn,isExtensible:he,ownKeys:ce,preventExtensions:on,set:Sn,setPrototypeOf:Le}=H,{assign:Tl,defineProperties:ua,freeze:hs,getOwnPropertyDescriptor:Re,getOwnPropertyDescriptors:ms,isFrozen:xe,isSealed:fa,keys:me,prototype:sn,seal:Ss}=N,{hasOwnProperty:da,propertyIsEnumerable:Li,toString:Go}=sn,{hasOwn:Gr}=N,{__defineGetter__:Hr,__defineSetter__:gs,__lookupGetter__:Ur,__lookupSetter__:jr}=sn,uo=typeof Gr=="function"?Gr:(St,Qe)=>z(da,St,[Qe]),An=(e=(n=t??(typeof globalThis!="undefined"?globalThis:void 0))!=null?n:typeof self!="undefined"?self:void 0)!=null?e:(K(sn,"globalThis",{__proto__:null,configurable:!0,get(){return it(sn,"globalThis"),this!=null?this:self}}),globalThis),mt=typeof t!="object"||t===null,Ne=!mt,vl=Ne?$t("@@lockerDebugMode"):void 0,ys="$LWS",ar=Ne?$t("@@lockerNearMembraneSerializedValue"):void 0,Yn=Ne?$t("@@lockerNearMembrane"):void 0,vt=$t("@@lockerNearMembraneUndefinedValue"),bi=20,$i=`${function St(){return St.name}()}`.includes("LOCKER_UNMINIFIED_FLAG"),Ho=$i&&Ne,fo="Illegal property access.",pa=mt?/\w*$/:void 0;let De;const Uo=typeof BigInt=="function",{isArray:gn}=u,{includes:po,indexOf:Ls,slice:Br}=u.prototype,{isView:ha}=p,wl=Uo?BigInt.prototype.valueOf:void 0,{valueOf:Ie}=Boolean.prototype,{toString:ho}=L.prototype,{bind:$e,toString:yn}=Function.prototype,{stringify:Vr}=JSON,{isInteger:lr}=E,{valueOf:xn}=E.prototype,{revocable:Of}=O,{prototype:mo}=J,{exec:Al,test:Qc,toString:zr}=mo,Cl=mt?(i=z(Ur,mo,["flags"]))!=null?i:function(){const Qe=z(zr,this,[]);return z(Al,pa,[Qe])[0]}:void 0,Zc=z(Ur,mo,["source"]),{replace:tu,slice:eu,valueOf:bs}=x.prototype,{toString:Kr,valueOf:nu}=Z.prototype,Pl=(s=An.BigInt64Array)==null?void 0:s.prototype,Ol=(l=An.BigUint64Array)==null?void 0:l.prototype,{prototype:ru}=Float32Array,{prototype:Rf}=Float64Array,{prototype:_t}=Int8Array,{prototype:w}=Int16Array,{prototype:X}=Int32Array,{prototype:at}=Uint8Array,{prototype:Kt}=Uint16Array,{prototype:Ln}=Uint32Array,Ye=at.__proto__,Je=z(Ur,Ye,["length"]),{prototype:$s}=Pt,{delete:an,has:Rl,set:ou,[U]:Xp}=$s,{prototype:Yp}=wt,{add:E_,has:W_,delete:T_,[U]:v_}=Yp,Nf=Ne&&typeof console=="object"&&console!==null?console:void 0,w_=Nf==null?void 0:Nf.info,A_=mt?eval:void 0;let Jp=!1,Qp=!1;function Be(){return!1}const Zp=$i?()=>{if(Jp)return;Jp=!0;const St=(()=>{try{var cr;L.prepareStackTrace=(nt,Zt)=>Zt;const qr=new L().stack;return it(L,"prepareStackTrace"),gn(qr)&&qr.length>0?(cr=qr[0])==null?void 0:cr.constructor:void 0}catch(qr){}})();if(typeof St!="function")return;const{getEvalOrigin:Qe,getFunctionName:Nl,toString:iu}=St.prototype,Dl=new J(`${z(tu,ys,[/[\\^$.*+?()[\]{}|]/g,"\\$&"])}(?=\\.|$)`),Il=function(qr,nt){let Zt="";try{Zt=z(ho,qr,[])}catch(_i){Zt="<error>"}let ue=!1;for(let _i=0,{length:Ei}=nt;_i<Ei;_i+=1){const ae=nt[_i],ma=z(Nl,ae,[]);let _s=!1;if(typeof ma=="string"&&ma!=="eval"&&z(Qc,Dl,[ma])&&(_s=!0),!_s){const Cn=z(Qe,ae,[]);typeof Cn=="string"&&z(Qc,Dl,[Cn])&&(_s=!0)}if(_s){ue||(ue=!0,Zt+=`
    at LWS`);continue}else ue=!1;try{Zt+=`
    at ${z(iu,ae,[])}`}catch(Cn){}}return Zt};try{L.prepareStackTrace=function(qr,nt){return Il(qr,nt)}}catch(cr){}try{const{stackTraceLimit:cr}=L;(typeof cr!="number"||cr<bi)&&(L.stackTraceLimit=bi)}catch(cr){}}:Bt;function Bt(){}const th=mt?St=>z(wl,St,[]):Bt,eh=mt?St=>z(Ie,St,[]):Bt,nh=mt?St=>z(xn,St,[]):Bt,rh=mt?St=>{if(St!==mo){const Qe=z(Zc,St,[]);return Vr({__proto__:null,flags:z(Cl,St,[]),source:Qe})}}:Bt,oh=mt?St=>z(bs,St,[]):Bt,ih=mt?St=>z(nu,St,[]):Bt,C_=mt?St=>{switch(z(Go,St,[])){case"[object Boolean]":return eh(St);case"[object Number]":return nh(St);case"[object RegExp]":return rh(St);case"[object String]":return oh(St);case"[object Object]":try{return ih(St)}catch(Nl){}if(Uo)try{return th(St)}catch(Nl){}default:return}}:Bt,P_=mt?St=>{try{return ih(St)}catch(Qe){}if(Uo)try{return th(St)}catch(Qe){}try{return eh(St)}catch(Qe){}try{return nh(St)}catch(Qe){}try{return rh(St)}catch(Qe){}try{return oh(St)}catch(Qe){}}:Bt;function O_(St){if(typeof St=="string")return St;try{if(typeof St=="object"&&St!==null){const Qe=z(Go,St,[]);return Qe==="[object Symbol]"?z(Kr,St,[]):Qe}return typeof St=="function"?z(yn,St,[]):x(St)}catch(Qe){}return"[Object Unknown]"}function sh(St){return Le(St,null),St.delete=an,St.has=Rl,St.set=ou,St[U]=Xp,Le(St,$s),St}function R_(St){return Le(St,null),St.add=E_,St.delete=T_,St.has=W_,St[U]=v_,Le(St,Yp),St}return function(Qe,Nl,iu){mt&&(iu=void 0);const{distortionCallback:Dl,instrumentation:Il,liveTargetCallback:cr,revokedProxyCallback:qr}=Tl({__proto__:null},iu),nt=Ne&&typeof Il=="object"&&Il!==null,Zt={__proto__:null,0:void 0,1:void 0,2:void 0,3:void 0,4:void 0,n:void 0},ue={__proto__:null,0:void 0,1:void 0,2:void 0,3:void 0,4:void 0,n:void 0},_i=sh(new Pt),Ei=sh(new Pt),ae=nt?Il.startActivity:void 0;let ma,_s,Cn,Wi,ah,lh,Df,If,ch,uh,fh,dh,ph,hh,mh,Sh,Mf,gh,yh,kf,Lh,Sa,bh,$h,_h,Eh,Wh,Th,ga,xf,Ff,Gf,Hf,Uf,jf,Bf,Vf,zf,Kf,qf,Xf,W,Ze=0,Ml=!1,jo=mt,kl=mt;const vh=mt?(v,b,y)=>{y[b]=!1;const $=ot(v);let A;try{If($,b,(C,D,M,F,ft,ct,I)=>{A=ya(D,M,F,ft,ct,I)})}catch(C){var R;const D=(R=W)!=null?R:C;throw W=void 0,D}A?K(v,b,A):it(v,b)}:Bt;let xl=Ho?()=>{try{uo(An,vl)&&(xl=()=>!0,Zp(),Lh())}catch(v){xl=Be}return!1}:Be;const wh=mt?()=>{ga=R_(new wt)}:Bt;function Yf(v,b){let y;nt&&(y=ae("copyForeignOwnPropertyDescriptorsAndPrototypeToShadowTarget"));let $;try{$=Eh(v,(...C)=>{const D={};for(let M=0,{length:F}=C;M<F;M+=7){const ft=C[M];D[ft]=ya(C[M+1],C[M+2],C[M+3],C[M+4],C[M+5],C[M+6])}ua(b,D)})}catch(C){var A;const D=(A=W)!=null?A:C;throw W=void 0,nt&&y.error(D),D}let R;typeof $=="function"?($(),R=W,W=void 0):R=null,Le(b,R),nt&&y.stop()}function Ah(v){const b=v&1,y=`Reflect.${b?"apply":"construct"}()`,$=b?Zt:ue,A=b?Cn:Wi;return function(C,D,M){Ze=v;const F=b?M:D,{length:ft}=F;if(ft!==0){var ct;return this[(ct=$[ft])!=null?ct:$.n](C,D,M)}let I;nt&&(I=ae(y));const{foreignTargetPointer:Q}=this,G=b?D:M;let B;try{B=A(Q,typeof G=="object"&&G!==null||typeof G=="function"?ot(G):typeof G=="undefined"?void 0:G)}catch(et){var dt;const ut=(dt=W)!=null?dt:et;throw W=void 0,nt&&I.error(ut),ut}let ht;return typeof B=="function"?(B(),ht=W,W=void 0):ht=B,nt&&I.stop(),ht}}function Ch(v){const b=v&1,y=`Reflect.${b?"apply":"construct"}(1)`,$=b?Zt:ue,A=b?Cn:Wi;return function(C,D,M){Ze=v;const F=b?M:D,{length:ft}=F;if(ft!==1){var ct;return this[(ct=$[ft])!=null?ct:$.n](C,D,M)}let I;nt&&(I=ae(y));const{foreignTargetPointer:Q}=this,G=b?D:M;let B;try{const{0:et}=F;B=A(Q,typeof G=="object"&&G!==null||typeof G=="function"?ot(G):typeof G=="undefined"?void 0:G,typeof et=="object"&&et!==null||typeof et=="function"?ot(et):typeof et=="undefined"?void 0:et)}catch(et){var dt;const ut=(dt=W)!=null?dt:et;throw W=void 0,nt&&I.error(ut),ut}let ht;return typeof B=="function"?(B(),ht=W,W=void 0):ht=B,nt&&I.stop(),ht}}function Ph(v){const b=v&1,y=`Reflect.${b?"apply":"construct"}(2)`,$=b?Zt:ue,A=b?Cn:Wi;return function(C,D,M){Ze=v;const F=b?M:D,{length:ft}=F;if(ft!==2){var ct;return this[(ct=$[ft])!=null?ct:$.n](C,D,M)}let I;nt&&(I=ae(y));const{foreignTargetPointer:Q}=this,G=b?D:M;let B;try{const{0:et,1:ut}=F;B=A(Q,typeof G=="object"&&G!==null||typeof G=="function"?ot(G):typeof G=="undefined"?void 0:G,typeof et=="object"&&et!==null||typeof et=="function"?ot(et):typeof et=="undefined"?void 0:et,typeof ut=="object"&&ut!==null||typeof ut=="function"?ot(ut):typeof ut=="undefined"?void 0:ut)}catch(et){var dt;const ut=(dt=W)!=null?dt:et;throw W=void 0,nt&&I.error(ut),ut}let ht;return typeof B=="function"?(B(),ht=W,W=void 0):ht=B,nt&&I.stop(),ht}}function Oh(v){const b=v&1,y=`Reflect.${b?"apply":"construct"}(3)`,$=b?Zt:ue,A=b?Cn:Wi;return function(C,D,M){Ze=v;const F=b?M:D,{length:ft}=F;if(ft!==3){var ct;return this[(ct=$[ft])!=null?ct:$.n](C,D,M)}let I;nt&&(I=ae(y));const{foreignTargetPointer:Q}=this,G=b?D:M;let B;try{const{0:et,1:ut,2:te}=F;B=A(Q,typeof G=="object"&&G!==null||typeof G=="function"?ot(G):typeof G=="undefined"?void 0:G,typeof et=="object"&&et!==null||typeof et=="function"?ot(et):typeof et=="undefined"?void 0:et,typeof ut=="object"&&ut!==null||typeof ut=="function"?ot(ut):typeof ut=="undefined"?void 0:ut,typeof te=="object"&&te!==null||typeof te=="function"?ot(te):typeof te=="undefined"?void 0:te)}catch(et){var dt;const ut=(dt=W)!=null?dt:et;throw W=void 0,nt&&I.error(ut),ut}let ht;return typeof B=="function"?(B(),ht=W,W=void 0):ht=B,nt&&I.stop(),ht}}function Rh(v){const b=v&1,y=`Reflect.${b?"apply":"construct"}(4)`,$=b?Zt:ue,A=b?Cn:Wi;return function(C,D,M){Ze=v;const F=b?M:D,{length:ft}=F;if(ft!==4){var ct;return this[(ct=$[ft])!=null?ct:$.n](C,D,M)}let I;nt&&(I=ae(y));const{foreignTargetPointer:Q}=this,G=b?D:M;let B;try{const{0:et,1:ut,2:te,3:cn}=F;B=A(Q,typeof G=="object"&&G!==null||typeof G=="function"?ot(G):typeof G=="undefined"?void 0:G,typeof et=="object"&&et!==null||typeof et=="function"?ot(et):typeof et=="undefined"?void 0:et,typeof ut=="object"&&ut!==null||typeof ut=="function"?ot(ut):typeof ut=="undefined"?void 0:ut,typeof te=="object"&&te!==null||typeof te=="function"?ot(te):typeof te=="undefined"?void 0:te,typeof cn=="object"&&cn!==null||typeof cn=="function"?ot(cn):typeof cn=="undefined"?void 0:cn)}catch(et){var dt;const ut=(dt=W)!=null?dt:et;throw W=void 0,nt&&I.error(ut),ut}let ht;return typeof B=="function"?(B(),ht=W,W=void 0):ht=B,nt&&I.stop(),ht}}function Nh(v){const b=v&1,y=`Reflect.${b?"apply":"construct"}(5)`,$=b?Zt:ue,A=b?Cn:Wi;return function(C,D,M){Ze=v;const F=b?M:D,{length:ft}=F;if(ft!==5){var ct;return this[(ct=$[ft])!=null?ct:$.n](C,D,M)}let I;nt&&(I=ae(y));const{foreignTargetPointer:Q}=this,G=b?D:M;let B;try{const{0:et,1:ut,2:te,3:cn,4:Ti}=F;B=A(Q,typeof G=="object"&&G!==null||typeof G=="function"?ot(G):typeof G=="undefined"?void 0:G,typeof et=="object"&&et!==null||typeof et=="function"?ot(et):typeof et=="undefined"?void 0:et,typeof ut=="object"&&ut!==null||typeof ut=="function"?ot(ut):typeof ut=="undefined"?void 0:ut,typeof te=="object"&&te!==null||typeof te=="function"?ot(te):typeof te=="undefined"?void 0:te,typeof cn=="object"&&cn!==null||typeof cn=="function"?ot(cn):typeof cn=="undefined"?void 0:cn,typeof Ti=="object"&&Ti!==null||typeof Ti=="function"?ot(Ti):typeof Ti=="undefined"?void 0:Ti)}catch(et){var dt;const ut=(dt=W)!=null?dt:et;throw W=void 0,nt&&I.error(ut),ut}let ht;return typeof B=="function"?(B(),ht=W,W=void 0):ht=B,nt&&I.stop(),ht}}function Dh(v){const b=v&1,y=b?"apply":"construct",$=b?Cn:Wi;return function(R,C,D){Ze=v;const{foreignTargetPointer:M}=this,F=b?D:C,{length:ft}=F;let ct;nt&&(ct=ae(`Reflect.${y}(${ft})`));const I=b?C:D;let Q=2;const G=new u(ft+Q);G[0]=M;let B;try{G[1]=typeof I=="object"&&I!==null||typeof I=="function"?ot(I):typeof I=="undefined"?void 0:I;for(let et=0;et<ft;et+=1){const ut=F[et];G[Q++]=typeof ut=="object"&&ut!==null||typeof ut=="function"?ot(ut):typeof ut=="undefined"?void 0:ut}B=z($,void 0,G)}catch(et){var dt;const ut=(dt=W)!=null?dt:et;throw W=void 0,nt&&ct.error(ut),ut}let ht;return typeof B=="function"?(B(),ht=W,W=void 0):ht=B,nt&&ct.stop(),ht}}function ya(v,b,y,$,A,R){const C={__proto__:null};return v!==vt&&(C.configurable=v),b!==vt&&(C.enumerable=b),y!==vt&&(C.writable=y),A!==vt&&(typeof A=="function"?(A(),C.get=W,W=void 0):C.get=void 0),R!==vt&&(typeof R=="function"?(R(),C.set=W,W=void 0):C.set=void 0),$!==vt&&(typeof $=="function"?($(),C.value=W,W=void 0):C.value=$),C}function Fl(v){return()=>{W=v}}const Jf=mt?()=>{jo=!1,kl=!1,wh()}:Bt,Gl=mt?v=>{let b=_i.get(v);if(b===void 0){const y=gh(ot(v));typeof y=="function"&&(y(),b=W,W=void 0,b&&_i.set(v,b))}return b}:Bt,Qf=mt?v=>v===(Vf===void 0?Vf=ot(sn):Vf):Be,Zf=mt?v=>v===(Gf===void 0?Gf=ot(ru):Gf)||v===(Hf===void 0?Hf=ot(Rf):Hf)||v===(Uf===void 0?Uf=ot(_t):Uf)||v===(jf===void 0?jf=ot(w):jf)||v===(Bf===void 0?Bf=ot(X):Bf)||v===(Kf===void 0?Kf=ot(at):Kf)||v===(qf===void 0?qf=ot(Kt):qf)||v===(Xf===void 0?Xf=ot(Ln):Xf)||v===(zf===void 0?zf=ot(Ye):zf)||v===(xf===void 0?xf=Pl?ot(Pl):Bt:xf)||v===(Ff===void 0?Ff=Ol?ot(Ol):Bt:Ff):Be;function ot(v,b=_s){let y=Ei.get(v);if(y)return y;let $=0,A="",R=0;if(qr&&qr(v))return y=b(Fl(v),64,$,A,R),Ei.set(v,y),y;let C,D=16;if(Dl){if(C=Dl(v),C!==v&&typeof C!=typeof v)throw new st(`Invalid distortion ${O_(v)}.`)}else C=v;let M=!0;if(typeof C=="function"){M=!1,$=0,D=4;try{"prototype"in C||(D|=8);const F=Nt(v,"length");if(F){Le(F,null);const{value:ct}=F;typeof ct=="number"&&($=ct)}const ft=void 0}catch(F){M=!0}}else if(ha(C)){M=!1,D=2;try{R=z(Je,C,[]),D|=32}catch(F){M=!0}}if(M)try{gn(C)&&(D=1)}catch(F){D=64}return y=b(Fl(C),D,$,A,R),Ei.set(v,y),y}const N_=mt?v=>{if(Qp)return;Qp=!0;const b=gn(v)&&v.length>0,y=b?{__proto__:null}:void 0,$=b?(I,Q)=>z(po,v,[Q])?{configurable:!1,enumerable:z(Li,I,[Q]),get:A(Q),set:void 0}:Nt(I,Q):void 0,A=b?I=>{let Q=y[I];return Q===void 0&&(Q=z($e,D,[]),y[I]=Q),Q}:void 0,R=b?(I,Q)=>z(po,v,[Q])?A(Q):z(Ur,I,[Q]):void 0,C=b?(I,Q)=>z(po,v,[Q])?void 0:z(jr,I,[Q]):void 0,D=b?()=>An:void 0,M=I=>{const{length:Q}=I,G=Q===2;return new O(I,{apply(B,dt,ht){if(ht.length>=Q){const et=G?dt:ht[0];if(typeof et=="object"&&et!==null||typeof et=="function"){const ut=G?ht[0]:ht[1],te=Gl(et);te!=null&&te[ut]&&et[ut]}}return z(I,dt,ht)}})},F=(I,Q)=>new O(I,{apply(G,B,dt){if(dt.length&&(typeof B=="object"&&B!==null||typeof B=="function")){const{0:ht}=dt,et=Gl(B);if(et!=null&&et[ht]&&B[ht],b&&B===An)return Q(B,ht)}return z(I,B,dt)}}),ft=I=>new O(I,{apply(Q,G,B){if(B.length>1){const{0:dt,1:ht}=B;if(typeof dt=="object"&&dt!==null||typeof dt=="function"){const et=Gl(dt);if(et!=null&&et[ht]&&dt[ht],b&&dt===An)return $(dt,ht)}}return z(I,G,B)}}),ct=I=>new O(I,{apply(Q,G,B){const dt=B.length?B[0]:void 0;if(!(typeof dt=="object"&&dt!==null||typeof dt=="function"))return z(I,G,B);const ht=Gl(dt),et=dt===An&&b,ut=et?{}:z(I,G,B);if(!et&&ht===void 0)return ut;const te=ce(et?dt:ut);for(let cn=0,{length:Ti}=te;cn<Ti;cn+=1){const La=te[cn],Mh=!!(ht!=null&&ht[La]);if(Mh&&dt[La],Mh||et){const kh=et?$(dt,La):Nt(dt,La);kh?ut[La]=kh:et||it(ut,La)}}return ut}});try{H.defineProperty=M(K)}catch(I){}try{H.getOwnPropertyDescriptor=ft(Nt)}catch(I){}try{N.getOwnPropertyDescriptor=ft(Re)}catch(I){}try{N.getOwnPropertyDescriptors=ct(ms)}catch(I){}try{sn.__defineGetter__=M(Hr)}catch(I){}try{sn.__defineSetter__=M(gs)}catch(I){}try{sn.__lookupGetter__=F(Ur,R)}catch(I){}try{sn.__lookupSetter__=F(jr,C)}catch(I){}}:Bt;function td(v,b,y){let $;nt&&($=ae("lookupForeignDescriptor"));let A,R;try{A=Th(v,y,(M,F,ft,ct,I,Q,G)=>{R={__proto__:null,foreign:!0},F!==vt&&(R.configurable=F),ft!==vt&&(R.enumerable=ft),ct!==vt&&(R.writable=ct),Q!==vt&&(typeof Q=="function"?(Q(),R.get=W,W=void 0):R.get=void 0),G!==vt&&(typeof G=="function"?(G(),R.set=W,W=void 0):R.set=void 0),I!==vt&&(typeof I=="function"?(I(),R.value=W,W=void 0):R.value=I),F===!1&&K(b,M,R)})}catch(M){var C;const F=(C=W)!=null?C:M;throw W=void 0,nt&&$.error(F),F}if(R===void 0){let M;for(typeof A=="function"?(A(),M=W,W=void 0):M=null;M;){if(R=Nt(M,y),R){Le(R,null);break}M=Gt(M)}if(R){var D;const{get:F,set:ft,value:ct}=R,I=(D=F??ft)!=null?D:ct;R.foreign=(typeof I=="object"&&I!==null||typeof I=="function")&&Ei.get(I)!==void 0}}return nt&&$.stop(),R}function D_(v,b,y,$,A){const R=td(v,b,y);if(R){if("get"in R||"set"in R){const{set:D}=R;return D?(R.foreign?Cn(ot(D),typeof A=="object"&&A!==null||typeof A=="function"?ot(A):typeof A=="undefined"?void 0:A,typeof $=="object"&&$!==null||typeof $=="function"?ot($):typeof $=="undefined"?void 0:$):z(D,A,[$]),!0):!1}if(R.writable===!1)return!1}if(!(typeof A=="object"&&A!==null||typeof A=="function"))return!1;const C=Nt(A,y);return C?(Le(C,null),"get"in C||"set"in C||C.writable===!1?!1:(K(A,y,{__proto__:null,value:$}),!0)):K(A,y,{__proto__:null,configurable:!0,enumerable:!0,value:$,writable:!0})}function _e(v){return Ho&&xl(),(typeof v=="object"&&v!==null||typeof v=="function")&&ot(v,ma)(),v}function ed(v,b,y,$,A){const{proxy:R}=new tt(v,b,y,$,A);return Ei.set(R,v),Fl(R)}const I_=mt?(v,b)=>{_i.set(v,b),_h(ot(v),ot(b))}:Bt;class tt{constructor(b,y,$,A,R){this.makeProxyLive=mt?function(){this.deleteProperty=tt.passthruDeletePropertyTrap,this.defineProperty=tt.passthruDefinePropertyTrap,this.preventExtensions=tt.passthruPreventExtensionsTrap,this.set=tt.passthruSetTrap,this.setPrototypeOf=tt.passthruSetPrototypeOfTrap}:Bt,this.makeProxyStatic=mt?function(){this.defineProperty=tt.staticDefinePropertyTrap,this.deleteProperty=tt.staticDeletePropertyTrap,this.get=tt.staticGetTrap,this.getOwnPropertyDescriptor=tt.staticGetOwnPropertyDescriptorTrap,this.getPrototypeOf=tt.staticGetPrototypeOfTrap,this.has=tt.staticHasTrap,this.isExtensible=tt.staticIsExtensibleTrap,this.ownKeys=tt.staticOwnKeysTrap,this.preventExtensions=tt.staticPreventExtensionsTrap,this.set=tt.staticSetTrap,this.setPrototypeOf=tt.staticSetPrototypeOfTrap;const{foreignTargetPointer:Q,foreignTargetTraits:G,shadowTarget:B}=this;jo&&ga.delete(Q);const dt=yh(Q);if(dt&8){this.revoke();return}try{Yf(Q,B)}catch(ht){if(bh(Q)){this.revoke();return}}if(G&16&&!(U in B)){let ht="Object";try{ht=kf(Q)}catch(et){}this.staticToStringTag=ht}dt&4?hs(B):(dt&2?Ss(B):dt&1&&on(B),$i&&Sh("Mutations on the membrane of an object originating outside of the sandbox will not be reflected on the object itself:",Q))}:Bt;let C;const D=y&1,M=y&4;M?C=y&8?()=>{}:function(){}:D?C=[]:C={};const{proxy:F,revoke:ft}=Of(C,this);if(this.foreignTargetPointer=b,this.foreignTargetTraits=y,this.foreignTargetTypedArrayLength=R,this.nonConfigurableDescriptorCallback=(Q,G,B,dt,ht,et,ut)=>{K(this.shadowTarget,Q,ya(G,B,dt,ht,et,ut))},this.proxy=F,this.revoke=ft,this.serialize=Bt,this.shadowTarget=C,this.staticToStringTag="Object",M){var ct,I;this.apply=this[(ct=Zt[$])!=null?ct:Zt.n],this.construct=this[(I=ue[$])!=null?I:ue.n]}if(this.defineProperty=tt.defaultDefinePropertyTrap,this.deleteProperty=tt.defaultDeletePropertyTrap,this.isExtensible=tt.defaultIsExtensibleTrap,this.getOwnPropertyDescriptor=tt.defaultGetOwnPropertyDescriptorTrap,this.getPrototypeOf=tt.defaultGetPrototypeOfTrap,this.get=y&32?tt.hybridGetTrapForTypedArray:tt.defaultGetTrap,this.has=tt.defaultHasTrap,this.ownKeys=tt.defaultOwnKeysTrap,this.preventExtensions=tt.defaultPreventExtensionsTrap,this.setPrototypeOf=tt.defaultSetPrototypeOfTrap,this.set=tt.defaultSetTrap,y&64)this.revoke();else if(mt)(D||y&2)&&this.makeProxyLive();else if(y&16){let Q=vt;this.serialize=()=>(Q===vt&&(Q=$h(this.foreignTargetPointer)),Q)}}static passthruDefinePropertyTrap(b,y,$){Ze=4;let A;nt&&(A=ae("Reflect.defineProperty"));const{foreignTargetPointer:R,nonConfigurableDescriptorCallback:C}=this,D=$;Le(D,null);const{get:M,set:F,value:ft}=D,ct="value"in D?typeof ft=="object"&&ft!==null||typeof ft=="function"?ot(ft):typeof ft=="undefined"?void 0:ft:vt,I="get"in D?typeof M=="function"?ot(M):M:vt,Q="set"in D?typeof F=="function"?ot(F):F:vt;let G=!1;try{G=ah(R,y,"configurable"in D?!!D.configurable:vt,"enumerable"in D?!!D.enumerable:vt,"writable"in D?!!D.writable:vt,ct,I,Q,C)}catch(dt){var B;const ht=(B=W)!=null?B:dt;throw W=void 0,nt&&A.error(ht),ht}return nt&&A.stop(),jo&&G&&(typeof I=="function"||typeof Q=="function")&&ga.delete(R),G}static passthruDeletePropertyTrap(b,y){Ze=8;let $;nt&&($=ae("Reflect.deleteProperty"));let A=!1;try{A=lh(this.foreignTargetPointer,y)}catch(C){var R;const D=(R=W)!=null?R:C;throw W=void 0,nt&&$.error(D),D}return nt&&$.stop(),A}static passthruGetPrototypeOfTrap(b){Ze=64;let y;nt&&(y=ae("Reflect.getPrototypeOf"));let $;try{$=ch(this.foreignTargetPointer)}catch(C){var A;const D=(A=W)!=null?A:C;throw W=void 0,nt&&y.error(D),D}let R;return typeof $=="function"?($(),R=W,W=void 0):R=null,nt&&y.stop(),R}static passthruIsExtensibleTrap(b){Ze=256;let y;nt&&(y=ae("Reflect.isExtensible"));const{shadowTarget:$}=this;let A=!1;if(he($)){const{foreignTargetPointer:C}=this;try{A=fh(C)}catch(D){var R;const M=(R=W)!=null?R:D;throw W=void 0,nt&&y.error(M),M}A||(Yf(C,$),on($))}return nt&&y.stop(),A}static passthruOwnKeysTrap(b){Ze=512;let y;nt&&(y=ae("Reflect.ownKeys"));let $;try{dh(this.foreignTargetPointer,(...R)=>{$=R})}catch(R){var A;const C=(A=W)!=null?A:R;throw W=void 0,nt&&y.error(C),C}return nt&&y.stop(),$||[]}static passthruGetOwnPropertyDescriptorTrap(b,y){Ze=32;let $;nt&&($=ae("Reflect.getOwnPropertyDescriptor"));const{foreignTargetPointer:A,shadowTarget:R}=this;let C;try{If(A,y,(M,F,ft,ct,I,Q,G)=>{C=ya(F,ft,ct,I,Q,G),C.configurable===!1&&K(R,M,C)})}catch(M){var D;const F=(D=W)!=null?D:M;throw W=void 0,nt&&$.error(F),F}if(nt&&$.stop(),Ne&&C&&(y===Yn||y===ar))throw new st(fo);return C}static passthruPreventExtensionsTrap(b){Ze=1024;let y;nt&&(y=ae("Reflect.preventExtensions"));const{foreignTargetPointer:$,shadowTarget:A}=this;let R=!0;if(he(A)){let D=0;try{D=ph($)}catch(M){var C;const F=(C=W)!=null?C:M;throw W=void 0,nt&&y.error(F),F}D&1||(Yf($,A),on(A)),R=!(D&2)}return nt&&y.stop(),R}static passthruSetPrototypeOfTrap(b,y){Ze=4096;let $;nt&&($=ae("Reflect.setPrototypeOf"));const{foreignTargetPointer:A}=this,R=y&&ot(y);let C=!1;try{C=mh(A,R)}catch(M){var D;const F=(D=W)!=null?D:M;throw W=void 0,nt&&$.error(F),F}return nt&&$.stop(),jo&&C&&ga.delete(A),C}static passthruSetTrap(b,y,$,A){Ze=2048;const{foreignTargetPointer:R,proxy:C,shadowTarget:D}=this;if(typeof $=="undefined"&&($=void 0),typeof A=="undefined"&&(A=C),Ne&&(y===Yn||y===ar))throw new st(fo);const M=C===A;let F;nt&&(F=ae(M?"Reflect.set":"passthruForeignTraversedSet"));let ft=!1;try{ft=M?hh(R,y,typeof $=="object"&&$!==null||typeof $=="function"?ot($):$,vt):D_(R,D,y,$,A)}catch(I){var ct;const Q=(ct=W)!=null?ct:I;throw W=void 0,nt&&F.error(Q),Q}return nt&&F.stop(),ft}}tt.hybridGetTrap=mt?function(v,b,y){let $;nt&&($=ae("hybridGetTrap"));const{foreignTargetPointer:A,foreignTargetTraits:R,proxy:C,shadowTarget:D}=this;let M,F;if(jo&&ga.has(A)){let G;try{G=Mf(A,b)}catch(B){var ft;const dt=(ft=W)!=null?ft:B;throw W=void 0,nt&&$.error(dt),dt}typeof G=="function"?(G(),F=W,W=void 0):F=G}else if(M=td(A,D,b),M){const{get:G,value:B}=M;if(G)if(M.foreign){const dt=ot(G),ht=C===y?A:typeof y=="object"&&y!==null||typeof y=="function"?ot(y):y;let et;try{et=Cn(dt,ht)}catch(ut){var ct;const te=(ct=W)!=null?ct:ut;throw W=void 0,nt&&$.error(te),te}typeof et=="function"?(et(),F=W,W=void 0):F=et}else F=z(G,y,[]);else F=B}else{const G=C===y?A:typeof y=="object"&&y!==null||typeof y=="function"?ot(y):y;let B;try{B=Df(A,R,b,G)}catch(dt){var I;const ht=(I=W)!=null?I:dt;throw W=void 0,nt&&$.error(ht),ht}typeof B=="function"?(B(),F=W,W=void 0):F=B}if(M===void 0&&F===void 0&&b===U&&R&16){let G;try{G=kf(A)}catch(B){var Q;const dt=(Q=W)!=null?Q:B;throw W=void 0,nt&&$.error(dt),dt}G!=="Object"&&(F=G)}return nt&&$.stop(),F}:Bt,tt.hybridGetTrapForTypedArray=mt?function(v,b,y){let $;nt&&($=ae("hybridGetTrapForTypedArray"));const{foreignTargetPointer:A,foreignTargetTypedArrayLength:R,proxy:C,shadowTarget:D}=this;let M=kl;if(!M&&typeof b=="string"){const I=+b;M=I>-1&&I<R&&lr(I)}let F;if(M){let I;try{I=Mf(A,b)}catch(Q){var ft;const G=(ft=W)!=null?ft:Q;throw W=void 0,nt&&$.error(G),G}typeof I=="function"?(I(),F=W,W=void 0):F=I}else{const I=td(A,D,b);if(I){const{get:Q,value:G}=I;if(Q)if(I.foreign){const B=ot(Q),dt=C===y?A:typeof y=="object"&&y!==null||typeof y=="function"?ot(y):y;let ht;try{ht=Cn(B,dt)}catch(et){var ct;const ut=(ct=W)!=null?ct:et;throw W=void 0,nt&&$.error(ut),ut}typeof ht=="function"?(ht(),F=W,W=void 0):F=ht}else F=z(Q,y,[]);else F=G}}return nt&&$.stop(),F}:Bt,tt.hybridHasTrap=mt?function(v,b){let y;nt&&(y=ae("hybridHasTrap"));let $;try{$=Wh(this.foreignTargetPointer,b)}catch(C){var A;const D=(A=W)!=null?A:C;throw W=void 0,nt&&y.error(D),D}let R=!1;if($===!0)R=!0;else{let C;for(typeof $=="function"?($(),C=W,W=void 0):C=null;C;){if(uo(C,b)){R=!0;break}C=Gt(C)}}return nt&&y.stop(),R}:Be,tt.passthruGetTrap=Ne?function(v,b,y){Ml&&(Ml=Ze===128),Ze=16;const $=b===Yn,A=b===ar;if(Ml){if($)return!0;if(A)return this.serialize()}let R;nt&&(R=ae("Reflect.get"));const{foreignTargetPointer:C,foreignTargetTraits:D,proxy:M}=this;typeof y=="undefined"&&(y=M);const F=M===y?vt:typeof y=="object"&&y!==null||typeof y=="function"?ot(y):y;let ft;try{ft=Df(C,D,b,F)}catch(Q){var ct;const G=(ct=W)!=null?ct:Q;throw W=void 0,nt&&R.error(G),G}let I;if(typeof ft=="function"?(ft(),I=W,W=void 0):I=ft,nt&&R.stop(),I!==void 0&&($||A))throw new st(fo);return I}:Bt,tt.passthruHasTrap=Ne?function(v,b){Ze=128;let y;nt&&(y=ae("Reflect.has"));let $;try{$=uh(this.foreignTargetPointer,b)}catch(D){var A;const M=(A=W)!=null?A:D;throw W=void 0,nt&&y.error(M),M}const R=b===Yn,C=b===ar;if($){if(Ml=!1,R||C)throw new st(fo)}else Ml=R||C;return nt&&y.stop(),$}:Be,tt.pendingDefinePropertyTrap=mt?function(v,b,y){const{foreignTargetPointer:$,foreignTargetTraits:A}=this;return Sa($,A)?this.makeProxyLive():(jo&&(Qf($)?Jf():Zf($)&&(kl=!1)),this.makeProxyStatic()),this.defineProperty(v,b,y)}:Be,tt.pendingDeletePropertyTrap=mt?function(v,b){return Sa(this.foreignTargetPointer,this.foreignTargetTraits)?this.makeProxyLive():this.makeProxyStatic(),this.deleteProperty(v,b)}:Be,tt.pendingPreventExtensionsTrap=mt?function(v){return Sa(this.foreignTargetPointer,this.foreignTargetTraits)?this.makeProxyLive():this.makeProxyStatic(),this.preventExtensions(v)}:Be,tt.pendingSetPrototypeOfTrap=mt?function(v,b){const{foreignTargetPointer:y,foreignTargetTraits:$}=this;return Sa(y,$)?this.makeProxyLive():(jo&&(Qf(y)?Jf():Zf(y)&&(kl=!1)),this.makeProxyStatic()),this.setPrototypeOf(v,b)}:Be,tt.pendingSetTrap=mt?function(v,b,y,$){const{foreignTargetPointer:A,foreignTargetTraits:R}=this;return Sa(A,R)?this.makeProxyLive():(jo&&(Qf(A)?Jf():Zf(A)&&(kl=!1)),this.makeProxyStatic()),this.set(v,b,y,$)}:Be,tt.staticDefinePropertyTrap=mt?K:Be,tt.staticDeletePropertyTrap=mt?it:Be,tt.staticGetOwnPropertyDescriptorTrap=mt?Nt:Bt,tt.staticGetPrototypeOfTrap=mt?Gt:()=>null,tt.staticGetTrap=mt?function(v,b,y){const{foreignTargetTraits:$,staticToStringTag:A}=this,R=Tt(v,b,y);return R===void 0&&b===U&&$&16&&A!=="Object"&&!(b in v)?A:R}:Bt,tt.staticHasTrap=mt?mn:Be,tt.staticIsExtensibleTrap=mt?he:Be,tt.staticOwnKeysTrap=mt?ce:()=>[],tt.staticPreventExtensionsTrap=mt?on:Be,tt.staticSetPrototypeOfTrap=mt?Le:Be,tt.staticSetTrap=mt?Sn:Be,tt.defaultDefinePropertyTrap=mt?tt.pendingDefinePropertyTrap:tt.passthruDefinePropertyTrap,tt.defaultDeletePropertyTrap=mt?tt.pendingDeletePropertyTrap:tt.passthruDeletePropertyTrap,tt.defaultGetOwnPropertyDescriptorTrap=tt.passthruGetOwnPropertyDescriptorTrap,tt.defaultGetPrototypeOfTrap=tt.passthruGetPrototypeOfTrap,tt.defaultGetTrap=mt?tt.hybridGetTrap:tt.passthruGetTrap,tt.defaultHasTrap=mt?tt.hybridHasTrap:tt.passthruHasTrap,tt.defaultIsExtensibleTrap=tt.passthruIsExtensibleTrap,tt.defaultOwnKeysTrap=tt.passthruOwnKeysTrap,tt.defaultPreventExtensionsTrap=mt?tt.pendingPreventExtensionsTrap:tt.passthruPreventExtensionsTrap,tt.defaultSetTrap=mt?tt.pendingSetTrap:tt.passthruSetTrap,tt.defaultSetPrototypeOfTrap=mt?tt.pendingSetPrototypeOfTrap:tt.passthruSetPrototypeOfTrap,mt&&wh(),Nl(Fl(An),Ne?()=>{const v=W;return W=void 0,v}:Bt,v=>typeof v=="object"&&v!==null||typeof v=="function"?ot(v):typeof v=="undefined"?void 0:v,(v,b)=>{v();const y=W;W=void 0;const $=y==null?void 0:y[b];return Fl(typeof $=="undefined"?void 0:$)},mt?v=>{let b;try{b=A_(v)}catch(y){throw _e(y)}return typeof b=="object"&&b!==null||typeof b=="function"?ot(b):b}:Bt,(v,b)=>{v();const y=W;W=void 0,(typeof y=="object"&&y!==null||typeof y=="function")&&Ei.set(y,b)},Ho?(v,b,y,$,A)=>{const R=ed(v,b,y,$,A);return()=>(xl(),R())}:ed,ed,(v,b,...y)=>{v();const $=W;W=void 0;let A;typeof b=="function"&&(b(),A=W,W=void 0);for(let C=0,{length:D}=y;C<D;C+=1){const M=y[C];typeof M=="function"&&(M(),y[C]=W,W=void 0)}let R;try{R=z($,A,y)}catch(C){throw _e(C)}return typeof R=="object"&&R!==null||typeof R=="function"?ot(R):typeof R=="undefined"?void 0:R},(v,b,...y)=>{v();const $=W;W=void 0;let A;typeof b=="function"&&(b(),A=W,W=void 0);for(let C=0,{length:D}=y;C<D;C+=1){const M=y[C];typeof M=="function"&&(M(),y[C]=W,W=void 0)}let R;try{R=Mt($,y,A)}catch(C){throw _e(C)}return typeof R=="object"&&R!==null||typeof R=="function"?ot(R):typeof R=="undefined"?void 0:R},(v,b,y,$,A,R,C,D,M)=>{v();const F=W;W=void 0;const ft=ya(y,$,A,R,C,D);let ct=!1;try{ct=K(F,b,ft)}catch(I){throw _e(I)}if(ct&&y===!1){let I;try{I=Nt(F,b)}catch(Q){throw _e(Q)}if(I&&(Le(I,null),I.configurable===!1)){const{get:Q,set:G,value:B}=I;M(b,!1,"enumerable"in I?I.enumerable:vt,"writable"in I?I.writable:vt,"value"in I?typeof B=="object"&&B!==null||typeof B=="function"?ot(B):B:vt,"get"in I?typeof Q=="function"?ot(Q):Q:vt,"set"in I?typeof G=="function"?ot(G):G:vt)}}return ct},(v,b)=>{v();const y=W;W=void 0;try{return it(y,b)}catch($){throw _e($)}},(v,b,y,$)=>{v();const A=W;W=void 0;let R;typeof $=="function"?($(),R=W,W=void 0):R=$===vt?A:$;let C;try{C=Tt(A,y,R)}catch(D){throw _e(D)}if(typeof C=="object"&&C!==null||typeof C=="function")return ot(C);if(C===void 0&&y===U&&b&16)try{if(!(y in A)){const D=z(Go,A,[]);D!=="[object Object]"&&(C=z(eu,D,[8,-1]))}}catch(D){throw _e(D)}return typeof C=="undefined"?void 0:C},(v,b,y)=>{v();const $=W;W=void 0;let A;try{A=Nt($,b)}catch(R){throw _e(R)}if(A){Le(A,null);const{get:R,set:C,value:D}=A;y(b,"configurable"in A?A.configurable:vt,"enumerable"in A?A.enumerable:vt,"writable"in A?A.writable:vt,"value"in A?typeof D=="object"&&D!==null||typeof D=="function"?ot(D):typeof D=="undefined"?void 0:D:vt,"get"in A?typeof R=="function"?ot(R):R:vt,"set"in A?typeof C=="function"?ot(C):C:vt)}},v=>{v();const b=W;W=void 0;let y;try{y=Gt(b)}catch($){throw _e($)}return typeof y=="undefined"?null:y&&ot(y)},(v,b)=>{v();const y=W;W=void 0;try{return b in y}catch($){throw _e($)}},v=>{v();const b=W;W=void 0;try{return he(b)}catch(y){throw _e(y)}},(v,b)=>{v();const y=W;W=void 0;let $;try{$=ce(y)}catch(A){throw _e(A)}z(b,void 0,$)},v=>{v();const b=W;W=void 0;let y=2;try{on(b)?y=4:he(b)&&(y|=1)}catch($){throw _e($)}return y},(v,b,y,$)=>{v();const A=W;W=void 0;let R;typeof y=="function"?(y(),R=W,W=void 0):R=y;let C;typeof $=="function"?($(),C=W,W=void 0):C=$===vt?A:$;try{return Sn(A,b,R,C)}catch(D){throw _e(D)}},(v,b=null)=>{v();const y=W;W=void 0;let $;typeof b=="function"?(b(),$=W,W=void 0):$=null;try{return Le(y,$)}catch(A){throw _e(A)}},Ho?(...v)=>{if(xl()){for(let b=0,{length:y}=v;b<y;b+=1){const $=v[b];typeof $=="function"&&($(),v[b]=W,W=void 0)}try{z(w_,Nf,v)}catch(b){}}}:Bt,mt?(v,...b)=>{v();const y=W;W=void 0;for(let $=0,{length:A}=b;$<A;$+=7)K(y,b[$],ya(b[$+1],b[$+2],b[$+3],b[$+4],b[$+5],b[$+6]))}:Bt,Ne?v=>{v();const b=W;W=void 0;const y=Rp.get(b);return y&&ot(y)}:Bt,Ne?(v,b)=>{v();const y=W;W=void 0;let $;try{$=y[b]}catch(A){throw _e(A)}return typeof $=="object"&&$!==null||typeof $=="function"?ot($):$}:Bt,Ne?v=>{v();const b=W;W=void 0;try{if(!he(b))return xe(b)?4&2&1:fa(b)?2&1:1}catch(y){try{gn(b)}catch($){return 8}}return 0}:()=>0,v=>{v();const b=W;W=void 0;try{const y=z(Go,b,[]);return y==="[object Object]"?"Object":z(eu,y,[8,-1])}catch(y){throw _e(y)}},Zp,mt?(v,...b)=>{const y=z(Ls,b,[vt]);let $,A;y===-1?$=b:($=z(Br,b,[0,y]),A=z(Br,b,[y+1])),v();const R=W;W=void 0;let C=Gl(R);C===void 0&&(C={__proto__:null},I_(R,C));for(let D=0,{length:M}=$;D<M;D+=1){const F=$[D];C[F]=!0,K(R,F,{__proto__:null,configurable:!0,get(){return vh(R,F,C),R[F]},set(ft){vh(R,F,C),Sn(R,F,ft)}})}N_(A)}:Bt,Ne&&cr?(v,b)=>{v();const y=W;if(W=void 0,y!==sn&&y!==mo)try{return cr(y,b)}catch($){}return!1}:Be,Ne?v=>{v();const b=W;W=void 0;try{return gn(b),!1}catch(y){}return!0}:Be,mt?v=>{v();const b=W;W=void 0;try{return U in b?P_(b):C_(b)}catch(y){}}:Bt,Ne?(v,b)=>{v();const y=W;W=void 0,b();const $=W;W=void 0,Rp.set(y,$)}:Bt,mt?v=>{v();const b=W;W=void 0,jo&&ga.add(ot(b))}:Bt,(v,b)=>{v();const y=W;W=void 0;let $;try{$=ms(y)}catch(M){throw _e(M)}const A=ce($),{length:R}=A,C=new u(R*7);for(let M=0,F=0;M<R;M+=1,F+=7){const ft=A[M],ct=$[ft];Le(ct,null);const{get:I,set:Q,value:G}=ct;C[F]=ft,C[F+1]="configurable"in ct?ct.configurable:vt,C[F+2]="enumerable"in ct?ct.enumerable:vt,C[F+3]="writable"in ct?ct.writable:vt,C[F+4]="value"in ct?typeof G=="object"&&G!==null||typeof G=="function"?ot(G):G:vt,C[F+5]="get"in ct?typeof I=="function"?ot(I):I:vt,C[F+6]="set"in ct?typeof Q=="function"?ot(Q):Q:vt}z(b,void 0,C);let D;try{D=Gt(y)}catch(M){throw _e(M)}return typeof D=="undefined"?null:D&&ot(D)},(v,b)=>{v();const y=W;W=void 0;let $;try{if(uo(y,b))return!0;$=Gt(y)}catch(A){throw _e(A)}return typeof $=="undefined"?null:$&&ot($)},(v,b,y)=>{v();const $=W;W=void 0;let A;try{A=Nt($,b)}catch(C){throw _e(C)}if(A){Le(A,null);const{get:C,set:D,value:M}=A;y(b,"configurable"in A?A.configurable:vt,"enumerable"in A?A.enumerable:vt,"writable"in A?A.writable:vt,"value"in A?typeof M=="object"&&M!==null||typeof M=="function"?ot(M):typeof M=="undefined"?void 0:M:vt,"get"in A?typeof C=="function"?ot(C):C:vt,"set"in A?typeof D=="function"?ot(D):D:vt);return}let R;try{R=Gt($)}catch(C){throw _e(C)}return typeof R=="undefined"?null:R&&ot(R)});let Ih=!1;return(...v)=>{if(Ih)return;Ih=!0,{6:ma,7:_s,8:Cn,9:Wi,10:ah,11:lh,12:Df,13:If,14:ch,15:uh,16:fh,17:dh,18:ph,19:hh,20:mh,21:Sh,23:gh,24:Mf,25:yh,26:kf,27:Lh,29:Sa,30:bh,31:$h,32:_h,34:Eh,35:Wh,36:Th}=v;const b=Ah(1),y=Ch(1),$=Ph(1),A=Oh(1),R=Rh(1),C=Nh(1),D=Dh(1),M=Ah(2),F=Ch(2),ft=Ph(2),ct=Oh(2),I=Rh(2),Q=Nh(2),G=Dh(2);De===void 0&&(De=me({applyTrapForZeroOrMoreArgs:b,applyTrapForOneOrMoreArgs:y,applyTrapForTwoOrMoreArgs:$,applyTrapForThreeOrMoreArgs:A,applyTrapForFourOrMoreArgs:R,applyTrapForFiveOrMoreArgs:C,applyTrapForAnyNumberOfArgs:D,constructTrapForZeroOrMoreArgs:M,constructTrapForOneOrMoreArgs:F,constructTrapForTwoOrMoreArgs:ft,constructTrapForThreeOrMoreArgs:ct,constructTrapForFourOrMoreArgs:I,constructTrapForFiveOrMoreArgs:Q,constructTrapForAnyNumberOfArgs:G})),Zt[0]=De[0],Zt[1]=De[1],Zt[2]=De[2],Zt[3]=De[3],Zt[4]=De[4],Zt[5]=De[5],Zt.n=De[6],ue[0]=De[7],ue[1]=De[8],ue[2]=De[9],ue[3]=De[10],ue[4]=De[11],ue[5]=De[12],ue.n=De[13];const{prototype:B}=tt;B[Zt[0]]=b,B[Zt[1]]=y,B[Zt[2]]=$,B[Zt[3]]=A,B[Zt[4]]=R,B[Zt[5]]=C,B[Zt.n]=D,B[ue[0]]=M,B[ue[1]]=F,B[ue[2]]=ft,B[ue[3]]=ct,B[ue[4]]=I,B[ue[5]]=Q,B[ue.n]=G,Le(B,null)}}}const X$=`
'use strict';
(${Np})`;function Y$(t){if(typeof t!="object"||t===null)throw new Xc("Missing globalObject.");return Np(t)}function J$(t){if(typeof t!="function")throw new Xc("Missing evaluator function.");return t(X$)()}const ps=yl("@@lockerNearMembraneUndefinedValue");class Q${constructor(e){if(e===void 0)throw new D$("Missing required VirtualEnvironment options.");const{blueConnector:n,redConnector:i,distortionCallback:s,instrumentation:l,liveTargetCallback:u,revokedProxyCallback:p,signSourceCallback:L}=gl({__proto__:null},e);let E;const N=n("blue",(...$e)=>{E=$e},{distortionCallback:s,instrumentation:l,liveTargetCallback:u,revokedProxyCallback:p}),{0:O,1:H,2:J,3:x,5:Z,6:st,7:Pt,8:wt,9:$t,10:U,11:z,12:Mt,13:K,14:it,15:Tt,16:Nt,17:Gt,18:mn,19:he,20:ce,23:on,24:Sn,25:Le,26:Tl,27:ua,29:hs,32:Re,34:ms,35:xe,36:fa}=E;let me;const sn=i("red",(...$e)=>{me=$e}),{0:Ss,3:da,4:Li,5:Go,6:Gr,7:Hr,8:gs,9:Ur,10:jr,11:uo,12:An,13:mt,14:Ne,15:vl,16:ys,17:ar,18:Yn,19:vt,20:bi,21:$i,22:Ho,23:fo,25:pa,26:De,27:Uo,28:gn,30:po,31:Ls,32:Br,33:ha,34:wl,35:Ie,36:ho}=me;N(Oe,Oe,Oe,Oe,Oe,Oe,Gr,Hr,gs,Ur,jr,uo,An,mt,Ne,vl,ys,ar,Yn,vt,bi,$i,Oe,fo,Oe,pa,De,Uo,Oe,Oe,po,Ls,Br,ha,wl,Ie,ho),sn(Oe,Oe,Oe,Oe,Oe,Oe,st,Pt,wt,$t,U,z,Mt,K,it,Tt,Nt,Gt,mn,he,ce,Oe,Oe,on,Sn,Le,Tl,ua,Oe,hs,Oe,Oe,Re,Oe,ms,xe,fa),this.blueGlobalThisPointer=O,this.blueGetSelectedTarget=H,this.blueGetTransferableValue=J,this.blueCallableGetPropertyValuePointer=x,this.blueCallableLinkPointers=Z,this.redGlobalThisPointer=()=>Ss(),this.redCallableGetPropertyValuePointer=($e,yn)=>da($e,yn),this.redCallableEvaluate=L?$e=>Li(L($e)):$e=>Li($e),this.redCallableLinkPointers=($e,yn)=>Go($e,yn),this.redCallableSetPrototypeOf=($e,yn)=>bi($e,yn),this.redCallableDefineProperties=($e,...yn)=>{const{length:Vr}=yn,lr=new Ll(Vr+1);lr[0]=$e;for(let xn=0;xn<Vr;xn+=1)lr[xn+1]=yn[xn];Jt(Ho,void 0,lr)},this.redCallableInstallLazyPropertyDescriptors=($e,...yn)=>{const{length:Vr}=yn,lr=new Ll(Vr+1);lr[0]=$e;for(let xn=0;xn<Vr;xn+=1)lr[xn+1]=yn[xn];Jt(gn,void 0,lr)},this.redCallableTrackAsFastTarget=$e=>ha($e)}evaluate(e){try{const i=this.redCallableEvaluate(e);return typeof i=="function"?(i(),this.blueGetSelectedTarget()):i}catch(i){var n;throw(n=this.blueGetSelectedTarget())!=null?n:i}}lazyRemapProperties(e,n,i){if(typeof e=="object"&&e!==null||typeof e=="function"){const s=[this.blueGetTransferableValue(e)];Jt($l,s,n),i!=null&&i.length&&(s[s.length]=ps,Jt($l,s,i)),Jt(this.redCallableInstallLazyPropertyDescriptors,void 0,s)}}link(...e){let n=this.blueGlobalThisPointer,i=this.redGlobalThisPointer;for(let s=0,{length:l}=e;s<l;s+=1){const u=e[s];n=this.blueCallableGetPropertyValuePointer(n,u),i=this.redCallableGetPropertyValuePointer(i,u),this.redCallableLinkPointers(i,n),this.blueCallableLinkPointers(n,i)}}remapProperties(e,n){if(typeof e=="object"&&e!==null||typeof e=="function"){const i=this.blueGetTransferableValue(e),s=Sl(n),{length:l}=s,u=new Ll(1+l*7);u[0]=i;for(let p=0,L=1;p<l;p+=1,L+=7){const E=s[p],N=n[E],O=gl({__proto__:null},N);u[L]=E,u[L+1]="configurable"in O?!!O.configurable:ps,u[L+2]="enumerable"in O?!!O.enumerable:ps,u[L+3]="writable"in O?!!O.writable:ps,u[L+4]="value"in O?this.blueGetTransferableValue(O.value):ps,u[L+5]="get"in O?this.blueGetTransferableValue(O.get):ps,u[L+6]="set"in O?this.blueGetTransferableValue(O.set):ps}Jt(this.redCallableDefineProperties,this,u)}}remapProto(e,n){if(typeof e=="object"&&e!==null||typeof e=="function"){const i=this.blueGetTransferableValue(e),s=n&&this.blueGetTransferableValue(n);this.redCallableSetPrototypeOf(i,s)}}trackAsFastTarget(e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.redCallableTrackAsFastTarget(this.blueGetTransferableValue(e))}}const Z$=["globalThis","Infinity","NaN","undefined","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","BigInt","Boolean","FinalizationRegistry","Number","RegExp","String","Symbol","WeakRef","Math","Reflect","escape","unescape"],Wf=["AggregateError","Array","Error","EvalError","Function","Object","Proxy","RangeError","ReferenceError","SyntaxError","TypeError","URIError","eval","globalThis"],Dp=Yb([...Z$,...Wf]);function t_(t,e){const n=Sl(e);for(let i=0,{length:s}=n;i<s;i+=1){const l=n[i];if(!Dp.includes(l)){const u=e[l];u&&(t[l]=gl({__proto__:null},u))}}return t}function Ip(t){const e=[];let n=0;const i=Sl(t);for(let s=0,{length:l}=i;s<l;s+=1){const u=i[s];Dp.includes(u)||(e[n++]=u)}return e}function e_(t,e){for(let n=0,{length:i}=Wf;n<i;n+=1){const s=Wf[n],l=e[s];l&&(l.prototype?t.link(s,"prototype"):t.link(s))}}const Mp=Lf(new WeakMap),n_=Cp?["window"]:void 0;function kp(t){const{window:e}=t;let n,i;try{({document:i}=t),n=Mp.get(i)}catch(p){return}if(n)return n;const s=la(e),l=la(s),u=la(l);return n={document:i,DocumentProto:la(i),window:e,WindowProto:la(e),WindowPropertiesProto:la(s),EventTargetProto:u,EventTargetProtoOwnKeys:Sl(u)},Mp.set(i,n),n}function xp(t){const e=[];let n=0;for(let i=0,{length:s}=t;i<s;i+=1){const l=t[i];l!=="document"&&l!=="location "&&l!=="top"&&l!=="window"&&l!=="chrome"&&(e[n++]=l)}return e}function r_(t){return ml(t,"document"),ml(t,"location"),ml(t,"top"),ml(t,"window"),ml(t,"chrome"),t}kp(Wl);const o_="allow-same-origin allow-scripts",Fp=P$(new wp),Gp=Lf(new gf);let Tf=null;function i_(t){var e;const n=Jt(G$,t,["iframe"]),i=(e=Jt(U$,t,[]))!=null?e:Jt(q$,t,[]),s=Jt(V$,n,[]);return s.display="none",Jt(B$,n,["sandbox",o_]),Jt(K$,i,[n]),n}function s_(t,e){if(typeof t!="object"||t===null)throw new Xc("Missing global object virtualization target.");const n=kp(t);if(typeof n!="object"||n===null)throw new Xc("Invalid virtualization target.");const{distortionCallback:i,endowments:s,globalObjectShape:l,instrumentation:u,keepAlive:p=!0,liveTargetCallback:L,signSourceCallback:E}=gl({__proto__:null},e),N=i_(n.document),O=Jt(z$,N,[]),H=typeof l!="object"||l===null;H&&Tf===null&&(Tf=xp(Ip(O)));let J=Gp.get(n.document);J===void 0&&(J=Y$(t),Gp.set(n.document,J));const{eval:x}=O,Z=new Q$({blueConnector:J,redConnector:J$(E?st=>x(E(st)):x),distortionCallback:i,instrumentation:u,liveTargetCallback:L,revokedProxyCallback:p?a_:void 0,signSourceCallback:E});if(e_(Z,t),typeof globalThis=="undefined"?Z.link("window","document"):Z.link("document"),Z.link("__proto__","__proto__","__proto__"),Z.remapProto(n.document,n.DocumentProto),Z.lazyRemapProperties(n.window,H?Tf:xp(Ip(l)),p?void 0:n_),s){const st={};t_(st,s),r_(st),Z.remapProperties(n.window,st)}if(Z.lazyRemapProperties(n.EventTargetProto,n.EventTargetProtoOwnKeys),p){Fp.add(N);const{document:st}=O;Jt(H$,st,[]),Jt(F$,st,[])}else x$&&x("window"),Jt(j$,N,[]);return Z}function a_(t){return Fp.has(t)}function vf(t){return new bt(`platformResourceLoader error loading ${nn(t)}.`)}const Yc={asyncToGen:Wt,makeRedResyncImports:Wt,forAwaitOf:Wt,genToAsync:Wt,loadScript:Wt,loadStyle:Wt,makeRedGet:Wt,makeRedSyncImports:Wt,namespace:Wt,spreadable:Wt,super:Wt},l_=`'use strict';
        ${Wr}(${function(e,n,i,s){const l=Array,{iterator:u}=Symbol,{[u]:p}=l.prototype,L=function*(){}.constructor.prototype.prototype,{next:E,throw:N}=L,{defineProperties:O,freeze:H}=Object,{apply:J,get:x,getPrototypeOf:Z,setPrototypeOf:st}=Reflect;function Pt(K,it){let Tt;const Nt=Gt=>mn=>(Tt===void 0&&(Tt=J(K,it,[])),J(Gt,Tt,[mn]));return e(Nt(E),Nt(N))}function wt(...K){const{length:it}=K,Tt=l(it),Nt={};for(let Gt=0;Gt<it;Gt+=1)Nt[Gt]={__proto__:null,get:K[Gt]};return O(Tt,Nt),Tt}function $t(K){return function(...it){for(let Tt=0,{length:Nt}=K;Tt<Nt;Tt+=1)try{K[Tt]}catch(Gt){}return z(it)}}function U(K){return H(K)}function z(K){return st(K,null),K[u]=p,K}function Mt(K,it,Tt,Nt){const Gt=Z(K);if(Gt!==null)return Nt?J(Gt[it],Tt,Nt):x(Gt,it,Tt)}return{asyncToGen:Pt,makeRedResyncImports:$t,forAwaitOf:n,genToAsync:Pt,loadScript:i,loadStyle:s,makeRedGet:wt,makeRedSyncImports:$t,namespace:U,spreadable:z,super:Mt}}})`;function c_(t){const{document:e,document:{head:n},distortions:i,globalObject:{HTMLScriptElement:{prototype:s}},root:l}=t,u=t===l,p=Vn(new dn),L=Yt(new kt),E=Yt(new kt),N=i.get(u?wc:V(s,"src")),O=i.get(u?wu:de(s,"src"));function H(x,Z,st,Pt,wt,$t){let U,z;try{U=wt($t),z=U.value}catch(Mt){Z(Mt);return}U.done?x(z):c(kn,qn(z),[st,Pt])}function J(x,Z){const st=new Dr((Pt,wt)=>{function $t(z){c(pi,x,["error",$t]),c(pi,x,["load",U]),c($c,z,[]),E.set(x,1),wt(vf(Z))}function U(){c(pi,x,["error",$t]),c(pi,x,["load",U]),E.set(x,3),Pt(void 0)}c(lo,x,["error",$t]),c(lo,x,["load",U])});return E.set(x,2),L.set(x,st),c(ao,n,[x]),st}return[function(Z,st){return new Dr((Pt,wt)=>{function $t(z){H(Pt,wt,$t,U,Z,z)}function U(z){H(Pt,wt,$t,U,st,z)}$t(void 0)})},function(Z,st,Pt){if(st===0){let $t=!1,{[Ul]:U}=Pt;if(U==null&&($t=!0,{[On]:U}=Pt),typeof U!="function")throw new Vt("Object is not iterable.");p.set(Z,{iterable:c(U,Pt,[]),step:void 0,sync:$t});return}const wt=p.get(Z);if(st===1){const $t=wt.iterable.next();return wt.sync?new Dr(U=>{wt.step=$t,U()}):c(kn,$t,[U=>{wt.step=U}])}if(st===2)return wt.step.value;if(st===3){const $t=!!wt.step.done;return $t&&p.delete(Z),$t}},function(Z,st){const Pt=xt(st),wt=Rc(Pt),$t=c(fu,n,["script"]);for(let Mt=0,{length:K}=$t;Mt<K;Mt+=1){const it=$t[Mt];if(c(N,it,[])===wt){var U;const Tt=(U=E.get(it))!=null?U:0;if(Tt===3)return qn(void 0);if(Tt===1)return Ro(vf(Pt));if(Tt===2)return L.get(it)}}const z=c(li,e,["script"]);return z.type="text/javascript",c(O,z,[Pt]),J(z,Pt)},function(Z,st){const Pt=xt(st);let wt=c(Qa,n,[`link[href=${nn(Pt)}]`]);if(wt){var $t;const U=($t=E.get(wt))!=null?$t:0;if(U===0||U===3)return qn(void 0);if(U===1)return Ro(vf(Pt));const z=U===2?L.get(wt):void 0;return z??qn(void 0)}return wt=c(li,e,["link"]),wt.type="text/css",wt.rel="stylesheet",wt.href=Pt,J(wt,Pt)}]}function u_(t,e){let n=typeof t=="function"?Ar(t):xt(t);return n=c(ne,n,[/\/\/# sandbox(?=MappingURL=.*?\s*$)/,"//# source"]),e===1&&o(n,"use strict")===-1?`'use strict';${n}`:n}const Jc={__proto__:null},Hp=Yt(new kt([[Do,Jc]])),Up=Yt(new kt);function f_(t){let e=Up.get(t);return e===void 0&&(e={__proto__:null},Up.set(t,e)),e}function d_(t){let e=Hp.get(t);return e===void 0&&(e={__proto__:null},Hp.set(t,e)),e}const p_=Ri&&!0,h_=[[Do,Do],[tl,tl],[je,je]],jp=Yt(new kt),wf=ro(new no);function Bp(t){let e;return()=>(e===void 0&&(e=m_(t)),e)}function Vp(t){let e;return n=>{e===void 0&&(e=t()),e.trackAsFastTarget(n)}}function zp(t,e){let n;return i=>{if(n===void 0){n=e();const s=ff();if(df(l=>{const u=c(l,void 0,c_(t));t.helpers=u,cp(u)}),n.evaluate(l_),typeof s=="object"&&s!==null){n.trackAsFastTarget(s);const l=bn(s);for(let u=0,{length:p}=l;u<p;u+=1){const L=s[l[u]];typeof L=="object"&&L!==null&&n.trackAsFastTarget(L)}}df(s)}return n.evaluate(i)}}function Kp({LOCKER_VERBOSE_DEBUG_MODE_INSTRUMENTATION_FLAG:t,document:e,globalObject:n,instrumentation:i,key:s,type:l}){return(u,p,L=n,E=e)=>qp({context:p,document:E,endowments:Xe,globalObject:L,instrumentation:i,key:s,source:u,sourceType:0,type:l,verboseInstrumentation:t})}function m_(t){const{LOCKER_VERBOSE_DEBUG_MODE_INSTRUMENTATION_FLAG:e,distortions:n,endowments:i,globalObject:s,instrumentation:l,key:u,root:p,root:{distortions:L},type:E}=t,N=t===p;return s_(s,{distortionCallback(O){const H=L.get(O);if(H)return N?H:n.get(O)||H;if(typeof O=="function")return O;try{if(!ke(O,"location"))return O}catch(Z){return O}let J,x;if(ke(O,"window")&&O.window===O)try{J=c(nl,O,[]),x=O}catch(Z){try{if(c(lc,O,[]))return Cf({globalObject:O,key:u,type:E},p),O}catch(st){}}else if("defaultView"in O){let Z;try{Z=c(ta,O,[])}catch(st){}Z&&(J=O,x=Z)}return x&&Pf({context:Xe,document:J,globalObject:x,key:u,type:E},p),O},endowments:i&&i!==Xe?Fe({},up,Fn(i)):up,instrumentation:e?l:void 0,keepAlive:p_,liveTargetCallback:Va,signSourceCallback:O=>cs.createScript(O)})}function Af(t){return t===pb?1:0}function S_({context:t=Xe,endowments:e=Xe,instrumentation:n=Xe,key:i,type:s=Af(i),verboseInstrumentation:l=!1}){let u=Jc[i];if(u)return u;const p=n!==Xe&&typeof n=="object"&&n!==null,L=af(h_);u={BASIC_INSTRUMENTATION_DATA:p?{sandboxKey:i}:Xe,LOCKER_DEBUG_MODE_INSTRUMENTATION_FLAG:p,LOCKER_VERBOSE_DEBUG_MODE_INSTRUMENTATION_FLAG:l&&p,UNCOMPILED_CONTEXT:mb,context:t,document:Do,distortions:L,endowments:e,globalObject:je,helpers:Yc,instrumentation:n,key:i,root:Xe,sandboxEvaluator:Wt,trackAsFastTarget:Wt,type:s,virtualEnvironmentEvaluator:Wt};const E=Bp(u);u.root=u,u.sandboxEvaluator=Kp(u),u.trackAsFastTarget=Vp(E),u.virtualEnvironmentEvaluator=zp(u,E);const N=sp(u,ap(u));for(let O=0,{length:H}=N;O<H;O+=1){const{0:J,1:x}=N[O];L.set(J,x)}return Jc[i]=u,u}function Cf({globalObject:t,key:e,type:n=Af(e)},i){const s=f_(t);let l=s[e];if(l)return l;const{BASIC_INSTRUMENTATION_DATA:u,LOCKER_DEBUG_MODE_INSTRUMENTATION_FLAG:p,LOCKER_VERBOSE_DEBUG_MODE_INSTRUMENTATION_FLAG:L,distortions:E,instrumentation:N}=i;l={BASIC_INSTRUMENTATION_DATA:u,LOCKER_DEBUG_MODE_INSTRUMENTATION_FLAG:p,LOCKER_VERBOSE_DEBUG_MODE_INSTRUMENTATION_FLAG:L,UNCOMPILED_CONTEXT:Xe,context:Xe,document,distortions:hb,endowments:Xe,globalObject:t,helpers:Yc,instrumentation:N,key:e,root:i,sandboxEvaluator:Wt,trackAsFastTarget:Wt,type:n,virtualEnvironmentEvaluator:Wt};const{location:O}=t;E.set(O,O),wf.has(t)||E.set(t,t);const H=db(l),J=H(l),x=J[0];return E.set(x,lf(l,H,J[1],x)),s[e]=l,l}function Pf({globalObject:t,document:e,context:n=Xe,key:i,type:s=Af(i)},l){const u=d_(e);let p=u[i];if(p)return p;const{BASIC_INSTRUMENTATION_DATA:L,LOCKER_DEBUG_MODE_INSTRUMENTATION_FLAG:E,LOCKER_VERBOSE_DEBUG_MODE_INSTRUMENTATION_FLAG:N,distortions:O,instrumentation:H}=l,{location:J}=t,x=af();p={BASIC_INSTRUMENTATION_DATA:L,LOCKER_DEBUG_MODE_INSTRUMENTATION_FLAG:E,LOCKER_VERBOSE_DEBUG_MODE_INSTRUMENTATION_FLAG:N,UNCOMPILED_CONTEXT:{[Dn]:J,[Lr]:t.top},context:n,document:e,distortions:x,endowments:Xe,globalObject:t,helpers:Yc,instrumentation:H,key:i,root:l,sandboxEvaluator:Wt,trackAsFastTarget:Wt,type:s,virtualEnvironmentEvaluator:Wt};const Z=Bp(p);p.sandboxEvaluator=Kp(p),p.trackAsFastTarget=Vp(Z),p.virtualEnvironmentEvaluator=zp(p,Z),O.set(e,e),O.set(J,J);const st=wf.has(t);st||O.set(t,t);const Pt=sp(p,ap(p));for(let K=0,{length:it}=Pt;K<it;K+=1){const{0:Tt,1:Nt}=Pt[K];O.set(Tt,Nt)}const wt=fb(p),$t=wt(p),U=$t[0];if(O.set(U,lf(p,wt,$t[1],U)),x.set(U,U),u[i]=p,st)return p;wf.add(t);const z=()=>{try{const{document:K}=t;e!==K&&Pf({context:Xe,document:K,globalObject:t,key:i,type:s},l)}catch(K){Cf({globalObject:t,key:i,type:s},l)}},Mt=c(ac,t,[]);return Mt?c(lo,Mt,["load",z,!0]):c(lo,t,["unload",function K(){gu(()=>{try{const{document:it}=t;e!==it&&(c(lo,t,["DOMContentLoaded",z,!0]),c(lo,t,["unload",K,!0]))}catch(it){Cf({globalObject:t,key:i,type:s},l)}})},!0]),p}function qp(t){const{document:e,context:n,endowments:i,globalObject:s,instrumentation:l,key:u,source:p,sourceType:L,type:E,verboseInstrumentation:N}=t;if(typeof u!="string")throw new bt(In);const{BASIC_INSTRUMENTATION_DATA:O,LOCKER_DEBUG_MODE_INSTRUMENTATION_FLAG:H,helpers:J,virtualEnvironmentEvaluator:x}=s===je?S_({context:n,endowments:i,instrumentation:l,key:u,type:E,verboseInstrumentation:N}):Pf({context:n,document:e,globalObject:s,key:u,type:E},Jc[u]);if(n!==Xe){if(ke(n,"renderer")&&ke(n,"rendererFactory")){const{rendererFactory:$t}=n;let U=jp.get($t);U===void 0&&(U=x(`'use strict';
                    (${c(Hn,$t,[])})`)(n.renderer),jp.set($t,U)),n.renderer=U,fe(n,"rendererFactory")}df(n)}J!==Yc&&cp(J);let Z;const st=u_(p,L),Pt=H?l.startActivity:void 0;let wt;H&&(wt=Pt("evaluateInSandbox",O));try{Z=x(st)}catch($t){throw H&&wt.error({sandboxKey:u,error:$t}),$t}finally{ff(),lp()}return H&&wt.stop(),Z}function g_(t,e,n=Xe,i=Xe,s=Xe,l=!1){return qp({context:n,document:Do,endowments:i,globalObject:je,instrumentation:s,key:t,source:e,sourceType:1,type:0,verboseInstrumentation:l})}const y_=globalThis.LWR.define;function L_(t){return Reflect.defineProperty(t,Symbol.for("@@lockerLiveValue"),{}),t}function b_(t,e,n){let i;const s=`"use strict";$lockerEvalContext$(${n.toString()});
//# sourceURL=modules/${e}.js
`;return g_(t,s,l=>{i=l}),i}function $_(t,e,n,i){const[s,l]=t.split("/");if(i.includes(s)||i.includes(`${s}/*`)||i.includes(`${s}/${l}`))return n;const u=b_(s,t,n),p=e.indexOf("exports");return p>=0?function(...L){const E=L.map((N,O)=>O===p&&L_(N)||N);return u.apply(this,E)}:u}function __(t){globalThis.LWR=Object.freeze(Object.assign(Object.assign({},globalThis.LWR),{define:function(e,n,i,s){typeof n=="function"&&(s=i,i=n,n=[]),y_(e,n,$_(e,n,i,t),s)}}))}Ot.registerLockerDefine=__,Object.defineProperty(Ot,"__esModule",{value:!0})}),LWR.define("lwr/metrics/v/0_9_0",["exports"],function(Ot){"use strict";const Ee="lwr.bootstrap.",c=`${Ee}end`,We=`${Ee}error`,Se=`${We}.count`,fe=`${Ee}duration`,Ht="lwr.loader.",yt=`${Ht}module.define`,Ct=`${yt}.count`,oe=`${Ht}module.fetch`,pt=`${oe}.count`,bn=`${oe}.duration`,un=`${Ht}module.error`,Dt=`${un}.count`,It=`${Ht}mappings.fetch`,Jn=`${It}.count`,Fe=`${It}.duration`,Ve=`${Ht}mappings.error`,So=`${Ve}.count`,Fn="lwr.router.",ur=`${Fn}navigate`,vi=`${ur}.count`,ze=`${ur}.duration`,Pn=`${Fn}view`,ge=`${Pn}.duration`,go=`${Fn}error`,fr=`${go}.count`;Ot.BOOTSTRAP_DURATION=fe,Ot.BOOTSTRAP_END=c,Ot.BOOTSTRAP_ERROR=We,Ot.BOOTSTRAP_ERROR_COUNT=Se,Ot.BOOTSTRAP_PREFIX=Ee,Ot.LOADER_PREFIX=Ht,Ot.MAPPINGS_ERROR=Ve,Ot.MAPPINGS_ERROR_COUNT=So,Ot.MAPPINGS_FETCH=It,Ot.MAPPINGS_FETCH_COUNT=Jn,Ot.MAPPINGS_FETCH_DURATION=Fe,Ot.MODULE_DEFINE=yt,Ot.MODULE_DEFINE_COUNT=Ct,Ot.MODULE_ERROR=un,Ot.MODULE_ERROR_COUNT=Dt,Ot.MODULE_FETCH=oe,Ot.MODULE_FETCH_COUNT=pt,Ot.MODULE_FETCH_DURATION=bn,Ot.ROUTER_ERROR=go,Ot.ROUTER_ERROR_COUNT=fr,Ot.ROUTER_NAV=ur,Ot.ROUTER_NAV_COUNT=vi,Ot.ROUTER_NAV_DURATION=ze,Ot.ROUTER_PREFIX=Fn,Ot.ROUTER_VIEW=Pn,Ot.ROUTER_VIEW_DURATION=ge,Object.defineProperty(Ot,"__esModule",{value:!0})}),LWR.define("lwr/init/v/0_9_0",["exports","lwr/metrics/v/0_9_0","lwr/profiler/v/0_9_0","lwc/v/2_41_4"],function(Ot,Ee,c,We){"use strict";function Se(oe,pt){return We.createElement(oe,{is:pt})}function fe(oe){return oe.replace(/\/v\/[a-zA-Z0-9-_.]+$/,"").replace("/","-").replace(/([A-Z])/g,pt=>`-${pt.toLowerCase()}`)}const Ht=/-([a-z])/g;function yt(oe){return oe.replace(Ht,pt=>pt[1].toUpperCase())}function Ct(oe){if(typeof customElements!="undefined"&&typeof document!="undefined"){const pt=document.querySelector("[lwr-root]");oe.forEach(([bn,un])=>{const Dt=fe(bn);let It=document.body.querySelector(Dt);It?document.querySelectorAll(Dt).forEach(Fe=>{const Ve=Se(Dt,un);for(const{name:So,value:Fn}of Fe.attributes){Ve.setAttribute(So,Fn);const ur=yt(So);ur in Ve&&(Ve[ur]=Fn)}for(;Fe.childNodes.length>0;)Ve.appendChild(Fe.childNodes[0]);Fe.parentElement.replaceChild(Ve,Fe)}):(It=Se(Dt,un),pt?pt.appendChild(It):document.body.appendChild(It))})}c.logOperationStart({id:Ee.BOOTSTRAP_END})}Ot.getPropFromAttrName=yt,Ot.init=Ct,Ot.toKebabCase=fe,Object.defineProperty(Ot,"__esModule",{value:!0})}),LWR.define("webruntime/dynamicImportResourceHook/v/1_66_319-244_0",["exports","@app/basePath/v/1","@app/versionKey/v/1"],function(Ot,Ee,c){"use strict";function We(yt){return yt&&typeof yt=="object"&&"default"in yt?yt:{default:yt}}var Se=We(Ee),fe=We(c);function Ht(yt){const Ct="@salesforce/resourceUrl/",oe="resourceUrl://";yt.addLoaderPlugin({resolveModule:async pt=>pt.startsWith(Ct)?{url:`${oe}${pt}`}:null,loadModule:async pt=>{if(pt.startsWith(oe)){const bn=pt.split("/"),un=bn[bn.length-1];return{data:`LWR.define('${Ct}${un}', ['exports'], function(exports) {
                        exports.default = '${Se.default}/webruntime/org-asset/${fe.default}/resource-name/${un}';
                    });`,status:200}}return null}})}Ot.default=Ht,Object.defineProperty(Ot,"__esModule",{value:!0})}),LWR.define("webruntime/o11yHook/v/1_66_319-244_0",["exports","lwr/loaderLegacy/v/0_9_0","@app/basePath/v/1","@app/apiBasePath/v/1","@salesforce/i18n/lang/v/1","webruntime/dispatcher/v/1","@app/o11yConfiguration/v/1","@app/o11yGuestToken/v/1","@app/isDesignMode/v/1","@app/isMobileAppMode/v/1","@app/isPreviewMode/v/1","@app/versionKey/v/1","@salesforce/site/Id/v/1"],function(Ot,Ee,c,We,Se,fe,Ht,yt,Ct,oe,pt,bn,un){"use strict";function Dt(_){return _&&typeof _=="object"&&"default"in _?_:{default:_}}var It=Dt(c),Jn=Dt(We),Fe=Dt(Se),Ve=Dt(fe),So=Dt(Ht),Fn=Dt(yt),ur=Dt(Ct),vi=Dt(oe),ze=Dt(pt),Pn=Dt(bn),ge=Dt(un);function go(_,o){var a=Object.keys(_);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(_);o&&(d=d.filter(function(m){return Object.getOwnPropertyDescriptor(_,m).enumerable})),a.push.apply(a,d)}return a}function fr(_){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?arguments[o]:{};o%2?go(Object(a),!0).forEach(function(d){Hl(_,d,a[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(a)):go(Object(a)).forEach(function(d){Object.defineProperty(_,d,Object.getOwnPropertyDescriptor(a,d))})}return _}function Hl(_,o,a){return o=Me(o),o in _?Object.defineProperty(_,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):_[o]=a,_}function Me(_){var o=fn(_,"string");return typeof o=="symbol"?o:String(o)}function fn(_,o){if(typeof _!="object"||_===null)return _;var a=_[Symbol.toPrimitive];if(a!==void 0){var d=a.call(_,o||"default");if(typeof d!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(_)}const Qn={};var ke=Object.freeze({__proto__:null,_o11y:Qn});class V{constructor(o){if(this._lazyMap=new Map,o!==void 0){if(typeof o=="number"&&o>0){this._maxSize=Math.ceil(o);return}throw new Error("maxSize must be a positive number")}}get maxSize(){return this._maxSize}get size(){return this._lazyMap.size}push(o,a){let d=this._lazyMap.get(o);if(!d){if(this.maxSize!==void 0&&this.size===this.maxSize)return!1;d=new Array,this._lazyMap.set(o,d)}return d.push(a),!0}getMessages(o,a){const d=this._lazyMap.get(o);return a&&this._lazyMap.has(o)&&this._lazyMap.set(o,[]),d||[]}getAllMessages(o){const a=new Map;for(const[d,m]of this._lazyMap.entries())m.length&&a.set(d,this.getMessages(d,o));return a}extractMessages(o){return this.getMessages(o,!0)}extractAllMessages(){return this.getAllMessages(!0)}get totalItemCount(){let o=0;for(const a of this._lazyMap.values())o+=a.length;return o}}class de{constructor(){this.notImplemented="Method not implemented.";const o=typeof performance!="undefined";o?performance.timeOrigin?this._timeOrigin=performance.timeOrigin:this._timeOrigin=Date.now():this._timeOrigin=Date.now();const a=this._timeOrigin;o&&typeof performance.now=="function"?(this.perfNow=performance.now.bind(performance),this.time=()=>{const d=this.perfNow();return{tsNow:a+d,perfNow:d,timeOrigin:a}}):(this.perfNow=()=>Date.now()-a,this.time=()=>{const d=this.perfNow();return{tsNow:Date.now(),perfNow:d,timeOrigin:a}})}get isProduction(){return de._isProduction}markProduction(){de._isProduction=!0}_checkArgument(o,a){if(typeof a=="string")return typeof o===a;if(typeof a=="function")return o instanceof a;if(Array.isArray(a))return a.some(d=>this._checkArgument(o,d));throw new Error(`Invalid argKind ${a}`)}requireArgument(o,a,d){let m=o==null||o==="";const g=d!==void 0;if(!m&&g&&(m=!this._checkArgument(o,d)),m)throw new Error(`${a} argument is required${g?" and must be of a supported type.":"."}`)}requireArgumentIfDefined(o,a,d){if(o===void 0)return!1;if(o===null||o===""||!this._checkArgument(o,d))throw new Error(`${a} argument, if defined, must be of a supported type.`);return!0}checkForDenyListedValues(o,a,d){if(d.some(m=>o===m))throw new Error(`The value ${o} isn't allowed for ${a} argument.`)}checkForReservedCharacters(o,a,d){if(o&&d.some(m=>o.indexOf(m)>=0))throw new Error(`The argument ${a} isn't allowed to contain characters from ['${d.join(", ")}']. Received: ${o}.`)}generateUniqueId(o=16){const a=[],d="0123456789abcdef";if(!(o===void 0||o>0))throw new Error('If specified, the argument "length" must be a positive integer');for(let m=0;m<o;m++){const g=Math.floor(Math.random()*16);a.push(d[g])}return a.join("")}getXpath(o){function a(g){const T=g.localName;for(;g.nextElementSibling;)if(g=g.nextElementSibling,g.localName===T)return!0;return!1}function d(g,T){return g?d(g.previousElementSibling,T||g.localName)+(g.localName===T?1:0):1}function m(g){if(!g||g.nodeType!==1)return[""];const T=d(g)>1||a(g)?`${g.localName.toLowerCase()}[${d(g)}]`:g.localName.toLowerCase();return[...m(g.parentNode),T]}return m(o).join("/")}getAge(o){return o-this._timeOrigin}getConnectionType(){var o;let a;if(typeof navigator!="undefined"){const d=navigator;a=(o=d==null?void 0:d.connection)===null||o===void 0?void 0:o.effectiveType}return a}clone(o){return JSON.parse(JSON.stringify(o))}definedValueOrDefault(o,a){return o!==void 0?o:a}getGlobal(){if(typeof globalThis=="object")return globalThis;if(typeof self=="object")return self;throw new Error("Unable to locate globalThis or self")}getIsBeaconSupported(){var o;const a=this.getGlobal();return typeof((o=a.navigator)===null||o===void 0?void 0:o.sendBeacon)=="function"&&typeof a.Blob=="function"}estimateObjectSize(o){const a=new Set,d=[o];let m=0;for(;d.length;){const g=d.pop();if(typeof g=="boolean")m+=4;else if(typeof g=="string")m+=g.length*2;else if(typeof g=="number")m+=8;else if(g instanceof Uint8Array||g instanceof Uint8ClampedArray||g instanceof Uint16Array||g instanceof Uint32Array||g instanceof Int8Array||g instanceof Int16Array||g instanceof Int32Array||g instanceof Float32Array||g instanceof Float64Array)m+=g.byteLength;else if(typeof g=="object"){const T=g;if(!a.has(T)){a.add(T);for(const j in T)d.push(T[j])}}}return m}noProdThrow(o){if(!k.isProduction)throw o}}de._isProduction=!1;const k=Object.freeze(new de);class dr{constructor(o){this._errorCounter=o,this._safeCatchMode=!1}tryCatch(o){try{o()}catch(a){this._prodSafeCatch(a)}}tryCatchReturn(o,a){try{return k.requireArgument(a,"noopValue"),o()}catch(d){return this._prodSafeCatch(d),a}}_prodSafeCatch(o){let a;try{if(a=!k.isProduction,a)throw o;if(this._safeCatchMode)throw this._safeCatchMode=!1,new Error("Internal error in prodSafeCatch.");if(this._safeCatchMode=!0,this._errorCounter&&this._errorCounter.increment(),!(o instanceof Error)){const d=o&&o.message||(typeof o.toString=="function"?o.toString():"");o=new Error(d)}this._safeCatchMode=!1}catch(d){if(a)throw d;if(d&&console&&typeof console.error=="function")try{console.error(d)}catch(m){}this._safeCatchMode=!1}}}class Ul{getSchemaId(o){return`${o.namespace}.${o.name}`}isInternal(o){return(o==null?void 0:o.namespace)==="sf.instrumentation"}makePayload(o,a,d=!0){if(!d||o!==void 0&&a!==void 0)return{schema:o,payload:a}}checkSchema(o){k.requireArgument(o,"schema","object"),k.requireArgument(o.namespace,"schema.namespace","string"),k.requireArgument(o.name,"schema.name","string"),k.requireArgument(o.pbjsSchema,"schema.pbjsSchema","object");const a=o.namespace.split(".");if(a.length!==2)throw new Error(`Schema "${this.getSchemaId(o)}" must have a namespace of the form "domain.feature".`);return{domain:a[0],feature:a[1],message:o.name}}_getAnyNestedObject(o,a){return a.reduce((d,m)=>{const g=d.nested;if(g){const T=g[m];if(T)return T}throw new Error(`Cannot locate ${a.join(".")} in schema with ID ${this.getSchemaId(o)}`)},o.pbjsSchema)}getTypes(o){const a=this.checkSchema(o),m=this._getAnyNestedObject(o,[a.domain,a.feature]).nested;if(!m)throw new Error(`Cannot parse schema with ID ${this.getSchemaId(o)}`);return m}getType(o,a){k.requireArgument(a,"messageName","string");const m=this.getTypes(o)[a];if(!m)throw new Error(`Cannot locate message ${a} in schema with ID ${this.getSchemaId(o)}`);return m}getOptions(o,a,d){d&&k.requireArgument(a,"messageName","string");const m=this.checkSchema(o);if(!a)return this._getAnyNestedObject(o,[m.domain,m.feature]).options;const g=this.getType(o,a);if(!d)return g.options;const T=g.fields[d];if(!T){const j=this.getSchemaId(o);throw new Error(`Cannot locate field ${d} in message ${a} in schema with ID ${j}`)}return T.options}}const ee=new Ul;var On=Object.freeze({__proto__:null,LazyMapToList:V,PublicSafety:dr,schemaUtil:ee,utility:k});const pr={namespace:"sf.instrumentation",name:"Activity",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Activity:{reserved:[[5,5],[7,7]],fields:{duration:{id:3,type:"double"},stopReason:{id:6,type:"string"},isRoot:{id:8,type:"bool"},timerOverridden:{id:12,type:"uint32"},name:{options:{"(meta.max_length)":25},id:2,type:"string"},isSampled:{id:11,type:"bool"},preRootId:{id:9,type:"string"},id:{id:1,type:"string"},userPayload:{id:4,type:"Payload"},errorCount:{id:10,type:"uint32"},parentId:{id:13,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},ba={namespace:"sf.instrumentation",name:"Error",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Error:{reserved:[[5,5],[7,7]],fields:{activityId:{id:6,type:"string"},stack:{id:3,type:"string"},name:{id:1,type:"string"},message:{options:{"(meta.max_length)":200},id:2,type:"string"},userPayload:{id:4,type:"Payload"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},$a={namespace:"sf.instrumentation",name:"IdleDetectorReport",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{IdleDetectorReport:{fields:{listenerCount:{id:3,type:"uint32"},busyTasks:{rule:"repeated",id:5,type:"string"},busyDurations:{rule:"repeated",id:6,type:"double"},pollableCount:{id:4,type:"uint32"},pollCounts:{rule:"repeated",id:8,type:"double"},logThreshold:{id:2,type:"double"},maxDuration:{id:1,type:"double"},pollables:{rule:"repeated",id:7,type:"string"}}}}}}}}}},jl={namespace:"sf.instrumentation",name:"InstrumentedEvent",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MouseEvent:{fields:{cancelable:{id:5,type:"bool"},ctrlKey:{id:9,type:"bool"},type:{id:25,type:"string"},button:{id:3,type:"uint32"},offsetX:{id:17,type:"uint32"},eventPhase:{id:12,type:"uint32"},shiftKey:{id:23,type:"bool"},offsetY:{id:18,type:"uint32"},composed:{id:8,type:"bool"},altKey:{id:1,type:"bool"},isTrusted:{id:13,type:"bool"},buttons:{id:4,type:"uint32"},movementY:{id:16,type:"uint32"},clientY:{id:7,type:"uint32"},clientX:{id:6,type:"uint32"},movementX:{id:15,type:"uint32"},defaultPrevented:{id:10,type:"bool"},metaKey:{id:14,type:"bool"},timeStamp:{id:24,type:"double"},bubbles:{id:2,type:"bool"},detail:{id:11,type:"int64"},pageY:{id:20,type:"uint32"},pageX:{id:19,type:"uint32"},screenX:{id:21,type:"uint32"},screenY:{id:22,type:"uint32"}}},InstrumentedEvent:{oneofs:{event:{oneof:["mouseEvent"]}},reserved:[[4,4],"xpath",[6,6],[8,8]],fields:{mouseEvent:{id:7,type:"MouseEvent"},auto:{id:3,type:"bool"},parentComponent:{id:2,type:"string"},ownerComponent:{id:1,type:"string"},userPayload:{id:5,type:"Payload"},simplePath:{id:9,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},lt={namespace:"sf.instrumentation",name:"Simple",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Simple:{fields:{text:{options:{"(meta.max_length)":25},id:1,type:"string"}}}}}}}}}};class Lt{get isBusy(){return this._isOk?this._busyCount>0:void 0}constructor(o,a,d,m){this.name=o,this._doneCallback=d,this._overDoneCallback=m,this._busyCount=0,this._isOk=!0,this._busyCount=a}add(){this._isOk&&(this._busyCount+=1)}done(){this._isOk&&(this._busyCount>0?(this._busyCount-=1,this._busyCount||this._doneCallback()):(this._isOk=!1,this._overDoneCallback()))}}const hr=300;class mr{constructor(o){this._taskers=new Map,this._listeners=new Set,this._busyCheckers=new Map,this._logThreshold=hr,this._endedTasks=new Array,this._pollableReport=new Array,k.requireArgumentIfDefined(o==null?void 0:o.logThreshold,"options.logThreshold","number")&&(this._logThreshold=o.logThreshold),k.requireArgumentIfDefined(o==null?void 0:o.reportListener,"options.reportListener","function")&&(this._reportListener=o.reportListener),k.requireArgumentIfDefined(o==null?void 0:o.errorListener,"options.errorListener","function")&&(this._errorListener=o.errorListener)}requestIdleDetectedCallback(o){k.requireArgument(o,"callback","function"),this._listeners.size===0&&(this._firstCallbackTime=k.time().perfNow),this._listeners.add(o),this._checkIfLoaded()}_reportTaskEnded(o){if(this._listeners.size){const a=Object.assign({},this._taskers.get(o));this._endedTasks.push(a)}}declareNotifierTaskSingle(o){k.requireArgument(o,"name","string");const a=this._addTasker(o,1);return{get isBusy(){return a.isBusy},done:()=>{a.done(),this._taskers.delete(a)}}}declareNotifierTaskMulti(o,a=0){if(k.requireArgument(o,"name","string"),a!==void 0&&(k.requireArgument(a,"existingBusyCount","number"),!Number.isInteger(a)||a<0))throw new Error("existingBusyCount accepts only non-negative integers");const d=this._addTasker(o,a);return{get isBusy(){return d.isBusy},add:()=>{if(!d.isBusy){const g=this._taskers.get(d);g.start=k.time().perfNow,g.end=void 0}d.add()},done:d.done.bind(d)}}declarePollableTaskMulti(o,a){k.requireArgument(o,"name","string"),k.requireArgument(a,"isBusyChecker","function"),this._busyCheckers.set(a,o)}_addTasker(o,a){const d=new Lt(o,a,()=>{this._taskers.get(d).end=k.time().perfNow,this._reportTaskEnded(d),this._checkIfLoaded()},()=>{var m;(m=this._errorListener)===null||m===void 0||m.call(this,`Overdone: ${d.name}`),k.noProdThrow(`Tasker '${d.name}' is done too many times.`)});return this._taskers.set(d,{name:o,start:a>0?k.time().perfNow:void 0,end:void 0}),d}_areAllNotifiersIdle(){return!Array.from(this._taskers.keys()).some(o=>o.isBusy)}_getFirstBusyPollable(){const o=Array.from(this._busyCheckers).find(a=>{var d;const m=a[0],g=a[1];try{return m()}catch(T){return(d=this._errorListener)===null||d===void 0||d.call(this,T,`BusyChecker ${g}`),k.noProdThrow(T),!1}});return o?o[1]:void 0}_checkIfLoaded(){!this._listeners.size||(this._timerCheckQueued&&clearTimeout(this._timerCheckQueued),this._areAllNotifiersIdle()&&(this._timerCheckQueued=setTimeout(()=>{this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},40)},0)))}_doubleCheck(){if(this._timerCheckQueued=void 0,this._areAllNotifiersIdle()){const o=this._getFirstBusyPollable();if(o!==void 0)this._addToPollableReport(o),this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},15);else{const a=k.time().perfNow-this._firstCallbackTime,d=Array.from(this._listeners.values());this._listeners.clear(),this._firstCallbackTime=void 0;const m=this._endedTasks.splice(0),g=this._pollableReport.splice(0);this._notify(d,a,m,g)}}}_addToPollableReport(o){const a=this._pollableReport.length?this._pollableReport[this._pollableReport.length-1]:void 0;(a==null?void 0:a.name)===o?a.count+=1:this._pollableReport.push({name:o,count:1})}_notify(o,a,d,m){var g;if(a>=this._logThreshold&&this._reportListener){const j=this._getReport(a,o.length,d,m);this._reportListener(j)}o.reverse();const T=k.time().tsNow;for(const[j,rt]of o.entries())try{rt(T)}catch(q){(g=this._errorListener)===null||g===void 0||g.call(this,q,`Listener #${o.length-1-j}`),k.noProdThrow(q)}}getReport(){const o=k.time().perfNow,a=this._firstCallbackTime>0?o-this._firstCallbackTime:void 0,d=Array.from(this._taskers.entries()).filter(m=>m[0].isBusy).map(m=>({name:m[1].name,start:m[1].start,end:o}));return this._getReport(a,this._listeners.size,this._endedTasks.concat(d),this._pollableReport)}_getReport(o,a,d,m){const g=d.map(T=>({name:T.name,duration:T.end-T.start})).sort((T,j)=>j.duration-T.duration);return{logThreshold:this._logThreshold,maxDuration:o,listenerCount:a,pollableCount:this._busyCheckers.size,busyTasks:g.map(T=>T.name),busyDurations:g.map(T=>T.duration),pollables:m.map(T=>T.name),pollCounts:m.map(T=>T.count)}}}const Gn=32,Es=16,Ws=16,_a="traceparent",Sr="b3",Ea="X-B3-TraceId",yo="X-B3-SpanId",Ts="X-B3-Sampled",Wa="X-B3-ParentSpanId",vs="fetch",wi="xhr_send";class Et{constructor(o,a){this._instr=o,this._idleDetector=a,k.requireArgument(o,"_instr","object"),k.requireArgument(a,"_idleDetector","object")}static _getB3CompactFormat(o,a,d,m){let g=`${o}-${a}`;return(d!==void 0||m!==void 0)&&(g+=d?"-1":"-0",m!==void 0&&(g+=`-${m}`)),g}static _getW3CompactFormat(o,a,d){return`00-${o}-${a}-${d?"01":"00"}`}static _conformTextAsId(o,a){o=o.toLowerCase();const d=o.length;for(let m=0;m<d;m+=1){const g=o[m];if(!(g>="a"&&g<="f")&&!(g>="0"&&g<="9"))throw new Error(`The text '${o}' has an invalid character at index #${m}`)}return d>a?o.substr(d-a):d<a?o.padStart(a,"0"):o}static getHeaders(o,a,d,m){k.requireArgument(o,"traceId","string"),k.requireArgument(a,"spanId","string");const g=m==null?void 0:m.useB3Headers;o=this._conformTextAsId(o,(m==null?void 0:m.traceIdEffectiveLength)!==void 0?m.traceIdEffectiveLength:g?Es:Gn),a=this._conformTextAsId(a,Ws);const T=m&&m.parentSpanId!==void 0&&this._conformTextAsId(m.parentSpanId,Ws)||void 0,j={};return g?(m==null?void 0:m.useCompactHeader)?j[Sr]=this._getB3CompactFormat(o,a,d,T):(j[Ea]=o,j[yo]=a,T!==void 0&&(j[Wa]=T),d!==void 0&&(j[Ts]=d?"1":"0")):j[_a]=this._getW3CompactFormat(o,a,d),j}_disableNetworkInstrumentation(){Et._isNetworkInstrumentationEnabled&&(Et._originalFetch&&(Et._global.fetch=Et._originalFetch,Et._originalFetch=void 0),Et._originalXhr&&(Et._global.XMLHttpRequest=Et._originalXhr,Et._originalXhr=void 0),Et._originalXhrOpen&&(Et._global.XMLHttpRequest.prototype.open=Et._originalXhrOpen,Et._originalXhrOpen=void 0),Et._originalXhrSend&&(Et._global.XMLHttpRequest.prototype.send=Et._originalXhrSend,Et._originalXhrSend=void 0),Et._isNetworkInstrumentationEnabled=!1)}_enableNetworkInstrumentation(o,a,d,m,g,T){typeof Et._global.fetch=="function"&&(this._overrideFetch(o,a,d,m,g,T),Et._isNetworkInstrumentationEnabled=!0),typeof Et._global.XMLHttpRequest=="function"&&(this._overrideXhr(o,a,d,m,g,T),Et._isNetworkInstrumentationEnabled=!0)}static _getTraceHeaders(o,a,d,m){let g=(o==null?void 0:o.getTraceHeaders(a))||{};if(typeof(a==null?void 0:a.headerProcessor)=="function")g=a.headerProcessor({method:d,url:m,defaultHeaders:g});else if(typeof window=="object"){let T;try{T=new URL(m)}catch(j){}T&&T.host!==window.location.host&&(g=void 0)}return g||{}}_overrideFetch(o,a,d,m,g,T){Et._originalFetch=Et._global.fetch;const j=async(rt,q,...At)=>{let gt;try{T==null||T.add();const Rt=q==null?void 0:q.o11y;if(!(Rt==null?void 0:Rt.skipInstr))gt=o.startActivity(d||vs);else{Et._reqIndex+=1;try{if(rt instanceof URL)rt.searchParams.append("o11y",Et._reqIndex.toString());else if(typeof rt=="string"){const Ut=new URL(rt),Pe=`o11y=${Et._reqIndex}`;Ut.search+=Ut.search.startsWith("?")?`&${Pe}`:Pe,rt=Ut.toString()}}catch(Ut){}}if(q==null||delete q.o11y,m){let Ut=q==null?void 0:q.method,Pe=rt==null?void 0:rt.toString();rt instanceof Request&&(Ut||(Ut=rt.method),Pe=rt.url);const En=Et._getTraceHeaders(gt,g,Ut,Pe);!this._applyTraceHeaders(rt,q,En)&&q===void 0&&(q={headers:En})}return await Et._originalFetch.call(Et._global,rt,q,...At)}catch(Rt){throw a&&(gt?gt.error(Rt):o.error(Rt)),Rt}finally{gt==null||gt.stop(),T==null||T.done()}};Et._global.fetch=j}_overrideXhr(o,a,d,m,g,T){Et._originalXhr=Et._global.XMLHttpRequest,Et._originalXhrOpen=Et._originalXhr.prototype.open,Et._originalXhrSend=Et._originalXhr.prototype.send,Et._originalXhr.prototype.open=function(rt,q,At,gt,Rt){this._o11y={method:rt,url:q==null?void 0:q.toString()},Et._originalXhrOpen.call(this,rt,q,At,gt,Rt)},Et._originalXhr.prototype.send=function(...rt){let q;try{T==null||T.add();const At=this;if(At._o11y=At._o11y||{},At._o11y.activity=q=o.startActivity(d||wi),m){const gt=Et._getTraceHeaders(q,g,At._o11y.method,At._o11y.url);Object.entries(gt).forEach(Rt=>{At.setRequestHeader(Rt[0],Rt[1])})}Et._originalXhrSend.call(this,...rt)}catch(At){throw a&&(q?q.error(At):o.error(At)),q==null||q.stop(),T==null||T.done(),At}};const j=new Proxy(Et._originalXhr,{construct(rt){const q=new rt;return q.addEventListener("load",()=>{var At,gt;(gt=(At=q._o11y)===null||At===void 0?void 0:At.activity)===null||gt===void 0||gt.stop(),T==null||T.done()}),q.addEventListener("error",At=>{var gt;const Rt=new Error("XHR Network-Level Error"),Ut=(gt=q._o11y)===null||gt===void 0?void 0:gt.activity;Ut?(a&&Ut.error(Rt),Ut.stop()):a&&o.error(Rt),T==null||T.done()}),q.addEventListener("abort",()=>{var At,gt;(gt=(At=q._o11y)===null||At===void 0?void 0:At.activity)===null||gt===void 0||gt.discard(),T==null||T.done()}),q}});Et._global.XMLHttpRequest=j}networkInstrumentation(o){var a;if(k.requireArgument(o,"options",["boolean","object"]),this._disableNetworkInstrumentation(),o){const d=typeof o=="object"?o:{};let m;k.definedValueOrDefault(d.useTasker,!0)&&(m=(a=this._idleDetector)===null||a===void 0?void 0:a.declareNotifierTaskMulti("o11y network")),this._enableNetworkInstrumentation(k.definedValueOrDefault(d.instrumentation,this._instr),k.definedValueOrDefault(d.logErrors,!0),d.activityName,k.definedValueOrDefault(d.useTracing,!0),d.tracingHeadersOptions,m)}}resetRequestCounter(){Et._reqIndex=0}_applyTraceHeaders(o,a,d){if((a==null?void 0:a.headers)!==void 0){if(a.headers instanceof Headers&&typeof a.headers.set=="function")return Object.entries(d).forEach(([m,g])=>{a.headers.set(m,g)}),!0;if(Array.isArray(a.headers))return Object.entries(d).forEach(m=>{a.headers.push(m)}),!0;if(typeof a.headers=="object")return a.headers=Object.assign(a.headers,d),!0}else{if(o instanceof Request&&o.headers instanceof Headers)return Object.entries(d).forEach(([m,g])=>{o.headers.set(m,g)}),!0;if(a)return a.headers=Object.assign({},d),!0}return!1}}Et._global=k.getGlobal(),Et._isNetworkInstrumentationEnabled=!1,Et._reqIndex=0;var $n;(function(_){_[_.none=0]="none",_[_.start=1]="start",_[_.stop=2]="stop",_[_.both=3]="both"})($n||($n={}));const ws="timedout",As="terminated",Cs="discarded",ye={timedout:ws,terminated:As,discarded:Cs};class Te{constructor(o,a,d,m,g,T,j){this._name=o,this._rootId=a,this._onStopped=d,this._onError=m,this._isSampled=j,this._errorCount=0,this._timerOverridden=$n.none;const{tsNow:rt,perfNow:q}=k.time();if(Te._count+=1,this._id=T||k.generateUniqueId(),this._usePerf=typeof performance!="undefined"&&typeof performance.mark=="function"&&typeof performance.measure=="function",this._usePerf){this._perfName=`${this._name}__${Te._count}`,this._perfId=`${this._name}__${this.id}`;try{performance.mark(this._perfId)}catch(At){this._usePerf=!1}}this._startTimestamp=rt,this._startPerfTime=q,g>0&&(this._timer=setTimeout(()=>{this._stopReason=this._stopReason||ye.timedout,this.stop()},g)),this._safety=new dr}get id(){return this._id}getId(){return this.id}getRootId(){return this._rootId}get stopReason(){return this._stopReason}error(o,a,d){this._safety.tryCatch(()=>{this._errorCount+=1,typeof o=="string"&&(o=new Error(o)),this._onError(o,this._getDetail(a,d))})}stop(o,a,d){this._safety.tryCatch(()=>{if(k.requireArgumentIfDefined(o,"userSchemaOrText",["object","string"]),k.requireArgumentIfDefined(a,"userData","object"),d){const m=d.perfStartOverride,g=k.requireArgumentIfDefined(m,"options.perfStartOverride","number"),T=d.perfStopOverride,j=k.requireArgumentIfDefined(T,"options.perfStopOverride","number");if(g&&m<0)throw new Error("perfStartOverride, if defined, must be >= 0");if(j&&(T<0||T<(g?m:this._startPerfTime)))throw new Error("perfStopOverride, if defined, must be >= 0 and >= startTime")}this._stopInternal(o,a,d)})}_overrideTimer(o,a){o!==void 0&&(this._startTimestamp=Math.round(this._startTimestamp-(this._startPerfTime-o)),this._startPerfTime=o,this._setTimerOverride($n.start)),a!==void 0&&(this._stopPerfTime=a,this._setTimerOverride($n.stop))}_setTimerOverride(o){this._timerOverridden===$n.both||this._timerOverridden===o||o===$n.none||(this._timerOverridden=this._timerOverridden===$n.none?o:$n.both)}_stopInternal(o,a,d){const m=k.perfNow();if(this._usePerf)try{this._stopReason!==ye.discarded&&performance.measure(this._perfName,this._perfId),performance.clearMarks(this._perfId),performance.clearMeasures(this._perfName)}catch(T){}if(this._timer&&(clearTimeout(this._timer),this._timer=void 0),this.isStopped)return;d&&this._overrideTimer(d.perfStartOverride,d.perfStopOverride),this._stopPerfTime=this._timerOverridden===$n.none||this._timerOverridden===$n.start?m:this._stopPerfTime;const g=this._getDetail(o,a);this._onStopped(g)}get isStopped(){return this._stopPerfTime!==void 0}discard(){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||ye.discarded,this.stop()})}terminate(o,a,d){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||ye.terminated,this.stop(o,a,d)})}getIsSampled(){return this._isSampled||!1}_getDetail(o,a){return{id:this._id,rootId:this._rootId,name:this._name,userSchemaOrText:o,userData:a,stopReason:this._stopReason,startTimestamp:this._startTimestamp,startPerfTime:this._startPerfTime,stopPerfTime:this._stopPerfTime,errorCount:this._errorCount,isSampled:this.getIsSampled(),timerOverridden:this._timerOverridden}}getTraceHeaders(o){const a=this.id,d=this._rootId||a;return Et.getHeaders(d,a,this.getIsSampled(),o)}getStartTimestamp(){return this._startTimestamp}getStartPerfTime(){return this._startPerfTime}getStopPerfTime(){return this._stopPerfTime}}Te._count=0;const gr=new Array(16).fill(0).join("");class Bl{getId(){return gr}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(o){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}}const Ta=Object.freeze(new Bl);class va{getInstrumentedEventData(o,a,d){var m;const g={ownerComponent:a.tagName,parentComponent:((m=a.parentElement)===null||m===void 0?void 0:m.tagName)||void 0,event:o,simplePath:k.getXpath(a)};return d&&(g.userPayload=ee.makePayload(d.schema,d.payload,!0)),g}getMouseEventData(o){return{altKey:o.altKey,bubbles:o.bubbles,button:o.button,buttons:o.buttons,cancelable:o.cancelable,clientX:o.clientX,clientY:o.clientY,composed:o.composed,defaultPrevented:o.defaultPrevented,detail:o.detail,eventPhase:o.eventPhase,isTrusted:o.isTrusted,timeStamp:o.timeStamp,type:o.type,ctrlKey:o.ctrlKey,metaKey:o.metaKey,movementX:o.movementX,movementY:o.movementY,offsetX:o.offsetX,offsetY:o.offsetY,pageX:o.pageX,pageY:o.pageY,screenX:o.screenX,screenY:o.screenY,shiftKey:o.shiftKey}}}const Ps=new va,Bo=1e4,Vo=1e4,Lo=0,Ai=2147483647,Os=-2147483648,Ci=4294967295,tn=9223372036854776e3,Rs=-9223372036854776e3,bo=18446744073709552e3;class yr{constructor(o,a,d,m){this.errorCode=o,this.fields=a,this.expected=d,this.received=m}asMessage(o){const a=this.fields[0]+this.fields.slice(1).reduce((m,g)=>Number(g)>=0?`${m}[${g}]`:`${m}.${g}`,"");let d;switch(this.errorCode){case 1:d="Repeated field must be an array";break;case 2:d=`Expected type ${this.expected} but received type ${this.received}`;break;case 3:d="Value must be finite";break;case 4:d="Value is out of range for its type";break;case 5:d="Bytes array is malformed";break;case 6:d="Exceeded app limit for maximum string length";break;case 7:d="Exceeded app limit for item count";break;case 12:d="Value must be an integer";break;case 13:d="Values like null or undefined are not allowed for items in repeated fields";break;default:d=`Unknown error code: ${this.errorCode}`;break}return`Schema ${o} on field "${a}": ${d}`}}class zo{validate(o,a,d=!1){const m=ee.checkSchema(o);k.requireArgument(a,"data","object");const g=ee.getSchemaId(o),T=new Array,j=ee.getTypes(o);if(this._validateFields(T,[],a,j[m.message],j,g),T.length&&!d)throw new Error(T[0].asMessage(g));return T}_validateFields(o,a,d,m,g,T){const j=m.oneofs||{},rt=m.fields||{};for(const q in d){const At=d[q];if(At!=null){const gt=(Rt,Ut,Pe)=>this._matchFieldTypes(o,[...a,q],At,Rt,g,T,q,Ut,Pe);j[q]?gt(rt[j[q].oneof[0]].type):rt[q]&&gt(rt[q].type,rt[q].rule==="repeated")}}}_matchFieldTypes(o,a,d,m,g,T,j,rt,q){let At;if(rt)Array.isArray(d)?(d.length>Vo&&(At=7),d.forEach((gt,Rt)=>{this._matchFieldTypes(o,[...a,Rt.toString()],gt,m,g,T,j,void 0,!0)})):At=1;else if(d==null||d===void 0)q&&(At=13);else{let gt,Rt;switch(m){case"string":Rt="string",d.length>Bo&&(At=6);break;case"bytes":Rt="object",d instanceof Uint8Array||(At=5);break;case"bool":Rt="boolean";break;case"uint32":Rt="number",gt={min:Lo,max:Ci,isInt:!0,isItem:q};break;case"int32":case"sint32":case"fixed32":case"sfixed32":Rt="number",gt={min:Os,max:Ai,isInt:!0,isItem:q};break;case"uint64":Rt="number",gt={min:Lo,max:bo,isInt:!0,isItem:q};break;case"fixed64":case"sfixed64":case"int64":case"sint64":Rt="number",gt={min:Rs,max:tn,isInt:!0,isItem:q};break;case"double":case"float":Rt="number",gt={min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,isInt:!1,isItem:q};break;default:new Set(Object.keys(g)).has(m)&&(this._validateFields(o,a,d,g[m],g,T),Rt="object");break}typeof d!==Rt?o.push(new yr(2,a,m,typeof d)):gt&&(gt.isInt&&!Number.isFinite(d)?At=3:gt.isInt&&!Number.isInteger(d)?At=12:!(!gt.isInt&&Number.isNaN(d))&&!(d>=gt.min&&d<=gt.max)&&(At=4))}At&&o.push(new yr(At,a))}}const Pi=new zo;class Aa{constructor(o,a,d,m,g){this._name=o,this._ownerName=a,this._ownerAppName=d,this._tags=m,this._buckets=g,this._values=new Array,this._createdOn=k.time().tsNow}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this.values}getBuckets(){return this.buckets}get buckets(){return this._buckets.slice(0,this._buckets.length)}get values(){return this._values.slice(0,this._values.length)}record(o){if(typeof o=="number"){this._values.push(o),this._lastUpdatedOn=k.time().tsNow;return}throw new Error("BucketHistogram can only record numbers.")}reset(){this._lastUpdatedOn=void 0,this._values=[]}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class Ns{constructor(o,a,d,m){this._name=o,this._ownerName=a,this._ownerAppName=d,this._tags=m,this._value=0,this._createdOn=k.time().tsNow}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this._value}increment(o=1){if(typeof o=="number"&&o>0){this._value+=Math.round(o),this._lastUpdatedOn=k.time().tsNow;return}throw new Error("UpCounter can only increment positive numbers.")}reset(){this._lastUpdatedOn=void 0,this._value=0}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class Ds{constructor(o,a,d,m){this._name=o,this._ownerName=a,this._ownerAppName=d,this._tags=m,this._values=new Array,this._createdOn=k.time().tsNow}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this.values}get values(){return this._values.slice(0,this._values.length)}record(o){if(typeof o=="number"){this._values.push(o),this._lastUpdatedOn=k.time().tsNow;return}throw new Error("ValueRecorder can only record numbers.")}reset(){this._lastUpdatedOn=void 0,this._values=[]}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class Rn{constructor(o){if(this._map=new Map,typeof o=="number"&&o>0){this._maxSize=Math.ceil(o);return}throw new Error("maxSize must be a positive number")}get maxSize(){return this._maxSize}get(o){return this._map.get(o)}has(o){return this._map.has(o)}set(o,a){return this.has(o)||this._map.size<this.maxSize?(this._map.set(o,a),!0):!1}getElements(){return Array.from(this._map.values())}clear(){this._map.clear()}}const Oi=1e3,Nn=500,Ri=500;var Ge;(function(_){_[_.Counter=0]="Counter",_[_.Percentile=1]="Percentile",_[_.BucketHistogram=2]="BucketHistogram"})(Ge||(Ge={}));class Ni{constructor(o,a){this._ownerName=o,this._getOwnerAppName=a,this._upCounters=new Rn(Oi),this._valueRecorders=new Rn(Nn),this._bucketHistograms=new Rn(Ri)}incrementCounter(o,a,d=!1,m={}){this._tagError(m,d),this._upCounter(o,m).increment(a)}trackValue(o,a,d=!1,m={}){this._tagError(m,d),this._valueRecorder(o,m).record(a)}bucketValue(o,a,d,m=!1,g={}){this._tagError(g,m),this._bucketHistogram(o,g,d).record(a)}_bucketHistogram(o,a,d){const{key:m,sortedTags:g}=this._getKeyAndSortedTags(o,a,Ge.BucketHistogram);let T=this._bucketHistograms.get(m);if(!T&&(T=new Aa(o,this._ownerName,this._getOwnerAppName(),g,d),!this._bucketHistograms.set(m,T)))throw new Error(`Max size of ${Ri} exceeded for BucketHistograms`);return T}_upCounter(o,a){const{key:d,sortedTags:m}=this._getKeyAndSortedTags(o,a,Ge.Counter);let g=this._upCounters.get(d);if(!g&&(g=new Ns(o,this._ownerName,this._getOwnerAppName(),m),!this._upCounters.set(d,g)))throw new Error(`Max size of ${Oi} exceeded for UpCounters`);return g}_valueRecorder(o,a){const{key:d,sortedTags:m}=this._getKeyAndSortedTags(o,a,Ge.Percentile);let g=this._valueRecorders.get(d);if(!g&&(g=new Ds(o,this._ownerName,this._getOwnerAppName(),m),!this._valueRecorders.set(d,g)))throw new Error(`Max size of ${Nn} exceeded for ValueRecorders`);return g}getUpCounters(){return this._upCounters.getElements()}getValueRecorders(){return this._valueRecorders.getElements()}getBucketHistograms(){return this._bucketHistograms.getElements()}_tagError(o,a){o.status=a===!0?"error":"success"}_getKeyAndSortedTags(o,a,d){const m=Object.keys(a).sort().reduce((T,j)=>(T[j]=a[j],T),{});return{key:`${Ge[d]}:${o}${JSON.stringify(m)}`,sortedTags:m}}}class Xr{constructor(){this.isMock=!0}}const Is=void 0,Dn=["`"],Lr={internalError:"o11y-error"},br=Object.freeze(Array.from(Object.values(Lr)));class en{constructor(o,a){this._nextGen=o,this._name=a,this._onActivityStoppedCallback=this._handleActivityStop.bind(this),this._onActivityErrorCallback=this._handleActivityError.bind(this);for(const m of Dn)if(this._name.indexOf(m)>=0)throw new Error(`Name cannot include the reserved character "${m}"`);this._safety=new dr({increment:m=>this._incrementError(m)}),this._metrics=this._initMetrics();const d=ee.getOptions(lt,"Simple","text");this._simpleTextMaxLength=d?d["(meta.max_length)"]:Bo}_initMetrics(){return new Ni(this.name,()=>this._nextGen.appName||en.defaultAppName)}_incrementError(o=1){this._metrics.incrementCounter(Lr.internalError,o,!1)}get name(){return this._name}_wrapUserPayload(o,a,d=!1){let m;return typeof o=="string"?(m=lt,o?a={text:o.substring(0,this._simpleTextMaxLength)}:a=void 0):m=o,ee.makePayload(m,a,d)}_getEffectiveRootId(o){var a,d;return(d=(a=o==null?void 0:o.instrumentationContext)===null||a===void 0?void 0:a.rootId)!==null&&d!==void 0?d:this._nextGen.getDefaultInstrumentationContext().rootId}log(o,a,d){this._safety.tryCatch(()=>{const m=k.time().tsNow;k.requireArgument(o,"userSchemaOrText",["object","string"]),k.requireArgumentIfDefined(a,"userData","object"),k.requireArgumentIfDefined(d,"options","object");const g=this._wrapUserPayload(o,a);(g==null?void 0:g.payload)&&this._logInternal(this.name,g.schema,g.payload,m,this._getEffectiveRootId(d))})}_logInternal(o,a,d,m,g){this._checkInputs(a,d);const T=this._getPayloadFromProvider(this._nextGen.appPayloadProvider),j=this._getPayloadFromProvider(this._nextGen.pagePayloadProvider);return this._nextGen.addLog(o,a,d,m,g,j,T)}error(o,a,d,m){return this._safety.tryCatch(()=>{k.requireArgumentIfDefined(a,"userSchemaOrText",["object","string"]),k.requireArgumentIfDefined(d,"userData","object"),k.requireArgumentIfDefined(m,"options","object");const g=this._getEffectiveRootId(m);this._errorInternal(o,a,d,void 0,g)})}_errorInternal(o,a,d,m,g){const T=k.time().tsNow;let j;if(o instanceof Error)j=o;else{let At;o==null||typeof o.toString!="function"?At="UNKNOWN":At=o.toString(),j=new Error(At)}const rt=this._wrapUserPayload(a,d,!0),q={name:j.name,message:j.message,stack:j.stack,userPayload:rt,activityId:m};return this._logInternal(this.name,ba,q,T,g)}startActivity(o,a){return this._safety.tryCatchReturn(()=>{var d;k.requireArgument(o,"name"),k.requireArgumentIfDefined(a,"options","object");let m;const g=(d=a==null?void 0:a.instrumentationContext)===null||d===void 0?void 0:d.rootId;return g?m={rootId:g,isRootActivitySampled:a.instrumentationContext.isRootActivitySampled}:m=this._nextGen.getDefaultInstrumentationContext(),new Te(o,m.rootId,this._onActivityStoppedCallback,this._onActivityErrorCallback,Is,void 0,m.isRootActivitySampled)},Ta)}_getActivityData(o){const a=this._wrapUserPayload(o.userSchemaOrText,o.userData,!0);return{id:o.id,name:o.name,duration:o.stopPerfTime-o.startPerfTime,stopReason:o.stopReason,userPayload:a,errorCount:o.errorCount,isSampled:o.isSampled,timerOverridden:o.timerOverridden}}_handleActivityStop(o){if(o.stopReason===Cs)return;const a=this._getActivityData(o);this._logActivity(a,o.startTimestamp,o.rootId)}_logActivity(o,a,d){this._logInternal(this.name,pr,o,a,d)}_handleActivityError(o,a){this._errorInternal(o,a.userSchemaOrText,a.userData,a.id,a.rootId)}_getPayloadFromProvider(o){const a=(o==null?void 0:o.getPayload())||void 0;return a&&this._checkInputs(a.schema,a.payload),a}domEvent(o,a,d,m,g){this._safety.tryCatch(()=>{var T;const j=k.time().tsNow;k.requireArgument(o,"event",[Event,Xr]),k.requireArgument(a,"handledBy",[HTMLElement,"object"]);let rt;a instanceof HTMLElement?rt=a:(a=a,((T=a.template)===null||T===void 0?void 0:T.host)instanceof HTMLElement?rt=a.template.host:k.requireArgument(void 0,"handledBy"));const q=this._wrapUserPayload(d,m,!0),At=this._getEffectiveRootId(g);switch(o.type){case"click":{const gt=o,Rt=this._nextGen.getClickTracker();Rt&&Rt.markEventHandled(gt);const Ut=Ps.getMouseEventData(gt),Pe=Ps.getInstrumentedEventData(Ut,rt,q);Pe.auto=g==null?void 0:g._auto,this._logInternal(this.name,jl,Pe,j,At);break}default:throw new Error(k.notImplemented)}})}incrementCounter(o,a=1,d=!1,m={}){this._safety.tryCatch(()=>{k.requireArgument(o,"operation","string"),k.checkForDenyListedValues(o,"operation",br),k.checkForReservedCharacters(o,"operation",Dn),k.requireArgument(a,"increment","number"),k.requireArgument(d,"hasError","boolean"),k.requireArgument(m,"tags","object"),Object.entries(m).forEach(g=>{k.requireArgument(g[1],`Tag value for '${g[0]}'`,["string","number","boolean"])}),this._metrics.incrementCounter(o,a,d,m)})}trackValue(o,a,d=!1,m={}){this._safety.tryCatch(()=>{k.requireArgument(o,"operation","string"),k.checkForDenyListedValues(o,"operation",br),k.checkForReservedCharacters(o,"operation",Dn),k.requireArgument(a,"value","number"),k.requireArgument(d,"hasError","boolean"),k.requireArgument(m,"tags","object"),Object.entries(m).forEach(g=>{k.requireArgument(g[1],`Tag value for '${g[0]}'`,["string","number","boolean"])}),this._metrics.trackValue(o,a,d,m)})}bucketValue(o,a,d=[],m=!1,g={}){this._safety.tryCatch(()=>{k.requireArgument(o,"operation","string"),k.checkForDenyListedValues(o,"operation",br),k.checkForReservedCharacters(o,"operation",Dn),k.requireArgument(a,"value","number"),k.requireArgument(d,"buckets",Array),Object.entries(d).forEach(T=>{k.requireArgument(T[1],`Bucket value for '${T[0]}'`,"number")}),k.requireArgument(m,"hasError","boolean"),k.requireArgument(g,"tags","object"),Object.entries(g).forEach(T=>{k.requireArgument(T[1],`Tag value for '${T[0]}'`,["string","number","boolean"])}),this._metrics.bucketValue(o,a,d,m,g)})}_checkInputs(o,a){ee.checkSchema(o),k.requireArgument(a,"data","object");let d,m;a.userPayload!==void 0&&ee.isInternal(o)&&(m=a.userPayload,d=Pi.validate(m.schema,m.payload,!0),this._processValidationResults(ee.getSchemaId(m.schema),m.payload,d),a.userPayload=void 0),d=Pi.validate(o,a,!0),this._processValidationResults(ee.getSchemaId(o),a,d),m!==void 0&&(a.userPayload=m)}_processValidationResults(o,a,d){for(let m=0;m<d.length;m+=1){const g=d[m];if(g.errorCode==6||g.errorCode==7){const T=g.fields.length-1,j=this._traverseFields(a,g.fields.slice(0,T)),rt=g.fields[T];g.errorCode==6?j[rt]=j[rt].substring(0,Bo):j[rt].splice(Vo)}else throw new Error(g.asMessage(o))}}_traverseFields(o,a){return a.length?this._traverseFields(o[a[0]],a.slice(1)):o}getUpCounters(){return this._metrics.getUpCounters().filter(o=>o.getLastUpdatedOn())}getValueRecorders(){return this._metrics.getValueRecorders().filter(o=>o.getLastUpdatedOn())}getBucketHistograms(){return this._metrics.getBucketHistograms().filter(o=>o.getLastUpdatedOn())}registerForLogPrompt(o){k.requireArgument(o,"listener","function"),this._nextGen.registerForLogPrompt(o)}activity(o,a,d){var m,g,T,j;const rt=this.startActivity(o,d);try{return a(rt)}catch(q){throw rt.error(q,(m=d==null?void 0:d.errorPayload)===null||m===void 0?void 0:m.schema,(g=d==null?void 0:d.errorPayload)===null||g===void 0?void 0:g.payload),q}finally{rt.stop((T=d==null?void 0:d.stopPayload)===null||T===void 0?void 0:T.schema,(j=d==null?void 0:d.stopPayload)===null||j===void 0?void 0:j.payload)}}async activityAsync(o,a,d){var m,g,T,j;const rt=this.startActivity(o,d);try{return await a(rt)}catch(q){throw rt.error(q,(m=d==null?void 0:d.errorPayload)===null||m===void 0?void 0:m.schema,(g=d==null?void 0:d.errorPayload)===null||g===void 0?void 0:g.payload),q}finally{rt.stop((T=d==null?void 0:d.stopPayload)===null||T===void 0?void 0:T.schema,(j=d==null?void 0:d.stopPayload)===null||j===void 0?void 0:j.payload)}}}en.defaultAppName="APP_NOT_REGISTERED";class In extends Te{constructor(o,a,d,m,g){super(o,void 0,a,d,void 0,m||k.generateUniqueId(32),g)}get preRootId(){return this._preRootId}set preRootId(o){this._preRootId=o}_getDetail(o,a){const d=super._getDetail(o,a);return d.isRoot=!0,d.preRootId=this.preRootId,d}}const $r=new Array(32).fill(0).join("");class Di{getId(){return $r}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(o){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}}const Ms=Object.freeze(new Di);class ks extends en{constructor(o,a,d){super(o,a);this._allowMulti=d,this._onRootActivityStoppedCallback=this._handleRootActivityStop.bind(this)}startRootActivity(o,a,d){return this._safety.tryCatchReturn(()=>{k.requireArgument(o,"name");const m=new In(o,this._onRootActivityStoppedCallback,this._onActivityErrorCallback,a,d);if(!this._allowMulti){if(this._singleRootActivity&&!this._singleRootActivity.isStopped){const g=this._singleRootActivity.getId();this._singleRootActivity.terminate(),m.preRootId=g}this._singleRootActivity=m}return m},Ms)}_handleRootActivityStop(o){if(o.stopReason===Cs)return;const a=this._getActivityData(o);this._logActivity(a,o.startTimestamp),this._singleRootActivity=void 0}_getActivityData(o){const a=super._getActivityData(o);return a.isRoot=o.isRoot,a.preRootId=o.preRootId,a}getSingleRootActivityId(){var o;return(o=this._singleRootActivity)===null||o===void 0?void 0:o.getId()}isSingleRootActivitySampled(){var o;return(o=this._singleRootActivity)===null||o===void 0?void 0:o.getIsSampled()}_initMetrics(){return new Ni(this.name,()=>this.name)}}const xs=5;class Ca{constructor(o,a){this._instr=o,this._doc=a,this._isActive=!1,this._boundClickListener=this._clickListener.bind(this),k.requireArgument(o,"_instr"),k.requireArgument(a,"_doc")}activate(){this._isActive||(this._doc.addEventListener("click",this._boundClickListener,!0),this._isActive=!0)}deactivate(){this._isActive&&(this._doc.removeEventListener("click",this._boundClickListener,!0),this._isActive=!1)}markEventHandled(o){this._ignoredEvent=o}_clickListener(o){var a;let d=(a=o.composedPath)===null||a===void 0?void 0:a.call(o);(!d||!d.length)&&(d=o.path);const m=this._getClickableElement(d);m&&setTimeout(()=>{o!==this._ignoredEvent&&this._instr.domEvent(o,m,void 0,void 0,{_auto:!0})})}_getClickableElement(o){var a,d;const m=o?Math.min(o.length,xs):0;for(let g=0;g<m;g+=1){const T=o[g],j=(a=T.tagName)===null||a===void 0?void 0:a.toLowerCase();if(j==="a"||j==="button")return T;if(j==="input"){const rt=T;if(((d=rt.type)===null||d===void 0?void 0:d.toLowerCase())==="button")return rt}}}}const _r=80,$o="_CUT",Fs=_r-$o.length;class Er{get pagePayloadProvider(){return this._pagePayloadProvider}set pagePayloadProvider(o){this._pagePayloadProvider=o}get appPayloadProvider(){return this._appPayloadProvider}set appPayloadProvider(o){this._appPayloadProvider=o}constructor(o){this._idleDetector=o,this._logCollectors=new Set,this._instruments=new Map,this._seqBySchema=new Map,this._sequence=0,this._forceDisabledLogCollectors=new Set,this._logCollectorFailures=new Map,this._isBufferingEnabled=!1,this._buffer=[],this._logCollectionListeners=new Set}registerApp(o,a){var d;if(k.requireArgument(o,"name","string"),this._appInstr)throw new Error("An app has already been registered with instrumentation.");if(this._instruments.get(o))throw new Error(`The instrumentation name ${o} is already taken`);this._clientSessionId=((d=a==null?void 0:a.clientSessionId)===null||d===void 0?void 0:d.toString())||k.generateUniqueId(),this._appInstr=new ks(this,o,a==null?void 0:a.allowMultipleRootActivities),this._instruments.set(o,this._appInstr),this._isBufferingEnabled=a==null?void 0:a.enableBuffering;const g=new Et(this.getInstrumentation("Network"),this._idleDetector);return{log:this._appInstr.log.bind(this._appInstr),error:this._appInstr.error.bind(this._appInstr),startActivity:this._appInstr.startActivity.bind(this._appInstr),domEvent:this._appInstr.domEvent.bind(this._appInstr),incrementCounter:this._appInstr.incrementCounter.bind(this._appInstr),trackValue:this._appInstr.trackValue.bind(this._appInstr),bucketValue:this._appInstr.bucketValue.bind(this._appInstr),networkInstrumentation:g.networkInstrumentation.bind(g),registerForLogPrompt:this._appInstr.registerForLogPrompt.bind(this._appInstr),activity:this._appInstr.activity.bind(this._appInstr),activityAsync:this._appInstr.activityAsync.bind(this._appInstr),startRootActivity:this._appInstr.startRootActivity.bind(this._appInstr),registerLogCollector:this.registerLogCollector.bind(this),registerMetricsCollector:this.registerMetricsCollector.bind(this),activateClickTracker:this.activateClickTracker.bind(this),deactivateClickTracker:this.deactivateClickTracker.bind(this),disableBuffering:this.disableBuffering.bind(this),promptLogCollection:this.promptLogCollection.bind(this),getClientSessionId:this.getClientSessionId.bind(this)}}getInstrumentation(o){k.requireArgument(o,"name","string"),o.length>_r&&(o=o.substr(0,Fs)+$o);let a=this._instruments.get(o);if(!a)a=new en(this,o),this._instruments.set(o,a);else if(a===this._appInstr)throw new Error(`The instrumentation name ${o} is being used by the app.`);return a}get appName(){var o;return(o=this._appInstr)===null||o===void 0?void 0:o.name}addLog(o,a,d,m,g,T,j){this._sequence+=1;const rt=ee.isInternal(a)&&(d==null?void 0:d.userPayload)?d.userPayload.schema:a,q=ee.getSchemaId(rt);let At=this._seqBySchema.get(q)||0;At+=1,this._seqBySchema.set(q,At);const gt={timestamp:m,rootId:g,sequence:this._sequence,schemaSequence:At,loggerName:o,pagePayload:T?k.clone(T):void 0,appPayload:j?k.clone(j):void 0,loggerAppName:this.appName,connectionType:k.getConnectionType(),clientSessionId:this._clientSessionId};this._isBufferingEnabled&&this._buffer.push({schema:a,data:k.clone(d),logMeta:gt});const Rt=Array.from(this._logCollectors).filter(Ut=>{var Pe;return!this._forceDisabledLogCollectors.has(Ut)&&!((Pe=Ut.getIsCollectDisabled)===null||Pe===void 0?void 0:Pe.call(Ut))});if(Rt.length>0)for(const Ut of Rt){const Pe=k.clone(d);let En=this._logCollectorFailures.get(Ut)||0;try{Ut.collect(a,Pe,gt),En>0&&this._logCollectorFailures.set(Ut,En-1)}catch(Rr){En+=1,En>=Er._collectorFailureLimit?(this._forceDisabledLogCollectors.add(Ut),this._appInstr&&(typeof Rr=="string"||Rr instanceof Error)&&this._appInstr.error(Rr)):this._logCollectorFailures.set(Ut,En)}}return this._sequence}getBuffer(){return this._buffer}disableBuffering(){this._isBufferingEnabled=!1,this._buffer=[]}getClickTracker(){return this._autoClickTracker}getDefaultInstrumentationContext(){var o,a;return{rootId:(o=this._appInstr)===null||o===void 0?void 0:o.getSingleRootActivityId(),isRootActivitySampled:(a=this._appInstr)===null||a===void 0?void 0:a.isSingleRootActivitySampled()}}activateClickTracker(){typeof document!="undefined"&&(this._autoClickTracker||(this._autoClickTracker=new Ca(this._appInstr,document)),this._autoClickTracker.activate())}deactivateClickTracker(){this._autoClickTracker&&(this._autoClickTracker.deactivate(),this._autoClickTracker=void 0)}registerLogCollector(o,a){if(k.requireArgument(o,"collector"),!this._logCollectors.has(o)&&(this._logCollectors.add(o),this._logCollectorFailures.set(o,0),(!o.getIsCollectDisabled||!o.getIsCollectDisabled())&&a&&a.retroactive))for(const d of this._buffer)o.collect(d.schema,d.data,d.logMeta)}registerMetricsCollector(o){if(k.requireArgument(o,"collector"),this._metricsCollector)throw new Error("A metrics Collector is already registered.");this._metricsCollector=o,this._metricsCollector.receiveMetricsExtractors({getAllUpCounters:this._getAllUpCounters.bind(this),getAllValueRecorders:this._getAllValueRecorders.bind(this),getAllBucketHistograms:this._getAllBucketHistograms.bind(this)})}_getAllUpCounters(){return Array.from(this._instruments.values()).map(a=>a.getUpCounters()).reduce((a,d)=>a.concat(d),[])}_getAllValueRecorders(){return Array.from(this._instruments.values()).map(a=>a.getValueRecorders()).reduce((a,d)=>a.concat(d),[])}_getAllBucketHistograms(){return Array.from(this._instruments.values()).map(a=>a.getBucketHistograms()).reduce((a,d)=>a.concat(d),[])}registerForLogPrompt(o){this._logCollectionListeners.add(o)}promptLogCollection(o){for(const a of this._logCollectionListeners.keys())try{a(o)}catch(d){if(!k.isProduction)throw d}}getClientSessionId(){return this._clientSessionId}}Er._collectorFailureLimit=5;class Ii{get _lazyNextGen(){return this._nextgen||(this._nextgen=new Er(this._idleDetector)),this._nextgen}constructor(o){this._idleDetector=o,k.requireArgument(o,"_idleDetector")}registerInstrumentedApp(o,a){(!a||a.isProduction!==!1)&&k.markProduction();const d=this._lazyNextGen.registerApp(o,a);return a&&(this._nextgen.appPayloadProvider=a.appPayloadProvider,this._nextgen.pagePayloadProvider=a.pagePayloadProvider),d}getInstrumentation(o){return this._lazyNextGen.getInstrumentation(o)}}const Yr=k.time.bind(k),Ko={Error:"Crimson",Activity:"CadetBlue",InstrumentedEvent:"DarkOliveGreen",O11ySample:"BlueViolet"},Gs={Error:"white",Activity:"white",InstrumentedEvent:"white",O11ySample:"white"},qo="black",Xo="Gainsboro";let Mi=class{constructor(o){o&&this._log("ConsoleCollector",o)}collect(o,a,d){let m,g,T;o.namespace==="sf.instrumentation"?(m=o.name,g=Gs[o.name]||qo,T=Ko[o.name]||Xo):m=ee.getSchemaId(o),this._log(m,a,d,g,T)}_log(o,a,d,m=qo,g=Xo){const T=`color:${m};background-color:${g}`;console.log(`%cO11Y%c ${o}`,"color:white;background-color:#FF6600;font-weight:bold",T,a||"",d||"")}};const ki="244.9.0",Jr=new mr({logThreshold:300,reportListener:_=>{Qr==null||Qr.log($a,_)},errorListener:(_,o)=>{Qr==null||Qr.error(_,o)}}),_o=new Ii(Jr),Yo=_o.registerInstrumentedApp.bind(_o),Wr=_o.getInstrumentation.bind(_o),Qr=Wr("IdleDetector");var xi=Object.freeze({__proto__:null,ConsoleCollector:Mi,_version:ki,getInstrumentation:Wr,idleDetector:Jr,registerInstrumentedApp:Yo,time:Yr});const Hs="244.39.0",Us={namespace:"sf.instrumentation",name:"WebVitals",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{WebVitals:{fields:{name:{id:1,type:"string"},delta:{id:3,type:"double"},value:{id:2,type:"double"}}}}}}}}}};var Zn,Vt,bt,ln,ve=function(_,o){return{name:_,value:o===void 0?-1:o,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},Tr=function(_,o){try{if(PerformanceObserver.supportedEntryTypes.includes(_)){if(_==="first-input"&&!("PerformanceEventTiming"in self))return;var a=new PerformanceObserver(function(d){return d.getEntries().map(o)});return a.observe({type:_,buffered:!0}),a}}catch(d){}},tr=function(_,o){var a=function d(m){m.type!=="pagehide"&&document.visibilityState!=="hidden"||(_(m),o&&(removeEventListener("visibilitychange",d,!0),removeEventListener("pagehide",d,!0)))};addEventListener("visibilitychange",a,!0),addEventListener("pagehide",a,!0)},Hn=function(_){addEventListener("pageshow",function(o){o.persisted&&_(o)},!0)},Un=function(_,o,a){var d;return function(m){o.value>=0&&(m||a)&&(o.delta=o.value-(d||0),(o.delta||d===void 0)&&(d=o.value,_(o)))}},Wt=-1,jn=function(){return document.visibilityState==="hidden"?0:1/0},dn=function(){tr(function(_){var o=_.timeStamp;Wt=o},!0)},Bn=function(){return Wt<0&&(Wt=jn(),dn(),Hn(function(){setTimeout(function(){Wt=jn(),dn()},0)})),{get firstHiddenTime(){return Wt}}},Fi=function(_,o){var a,d=Bn(),m=ve("FCP"),g=function(rt){rt.name==="first-contentful-paint"&&(j&&j.disconnect(),rt.startTime<d.firstHiddenTime&&(m.value=rt.startTime,m.entries.push(rt),a(!0)))},T=window.performance&&performance.getEntriesByName&&performance.getEntriesByName("first-contentful-paint")[0],j=T?null:Tr("paint",g);(T||j)&&(a=Un(_,m,o),T&&g(T),Hn(function(rt){m=ve("FCP"),a=Un(_,m,o),requestAnimationFrame(function(){requestAnimationFrame(function(){m.value=performance.now()-rt.timeStamp,a(!0)})})}))},js=!1,Gi=-1,Pa=function(_,o){js||(Fi(function(q){Gi=q.value}),js=!0);var a,d=function(q){Gi>-1&&_(q)},m=ve("CLS",0),g=0,T=[],j=function(q){if(!q.hadRecentInput){var At=T[0],gt=T[T.length-1];g&&q.startTime-gt.startTime<1e3&&q.startTime-At.startTime<5e3?(g+=q.value,T.push(q)):(g=q.value,T=[q]),g>m.value&&(m.value=g,m.entries=T,a())}},rt=Tr("layout-shift",j);rt&&(a=Un(d,m,o),tr(function(){rt.takeRecords().map(j),a(!0)}),Hn(function(){g=0,Gi=-1,m=ve("CLS",0),a=Un(d,m,o)}))},Eo={passive:!0,capture:!0},Jo=new Date,Wo=function(_,o){Zn||(Zn=o,Vt=_,bt=new Date,To(removeEventListener),Oa())},Oa=function(){if(Vt>=0&&Vt<bt-Jo){var _={entryType:"first-input",name:Zn.type,target:Zn.target,cancelable:Zn.cancelable,startTime:Zn.timeStamp,processingStart:Zn.timeStamp+Vt};ln.forEach(function(o){o(_)}),ln=[]}},Vl=function(_){if(_.cancelable){var o=(_.timeStamp>1e12?new Date:performance.now())-_.timeStamp;_.type=="pointerdown"?function(a,d){var m=function(){Wo(a,d),T()},g=function(){T()},T=function(){removeEventListener("pointerup",m,Eo),removeEventListener("pointercancel",g,Eo)};addEventListener("pointerup",m,Eo),addEventListener("pointercancel",g,Eo)}(o,_):Wo(o,_)}},To=function(_){["mousedown","keydown","touchstart","pointerdown"].forEach(function(o){return _(o,Vl,Eo)})},Qo=function(_,o){var a,d=Bn(),m=ve("FID"),g=function(j){j.startTime<d.firstHiddenTime&&(m.value=j.processingStart-j.startTime,m.entries.push(j),a(!0))},T=Tr("first-input",g);a=Un(_,m,o),T&&tr(function(){T.takeRecords().map(g),T.disconnect()},!0),T&&Hn(function(){var j;m=ve("FID"),a=Un(_,m,o),ln=[],Vt=-1,Zn=null,To(addEventListener),j=g,ln.push(j),Oa()})},vr={},Vn=function(_,o){var a,d=Bn(),m=ve("LCP"),g=function(rt){var q=rt.startTime;q<d.firstHiddenTime&&(m.value=q,m.entries.push(rt),a())},T=Tr("largest-contentful-paint",g);if(T){a=Un(_,m,o);var j=function(){vr[m.id]||(T.takeRecords().map(g),T.disconnect(),vr[m.id]=!0,a(!0))};["keydown","click"].forEach(function(rt){addEventListener(rt,j,{once:!0,capture:!0})}),tr(j,!0),Hn(function(rt){m=ve("LCP"),a=Un(_,m,o),requestAnimationFrame(function(){requestAnimationFrame(function(){m.value=performance.now()-rt.timeStamp,vr[m.id]=!0,a(!0)})})})}},vo=function(_){var o,a=ve("TTFB");o=function(){try{var d=performance.getEntriesByType("navigation")[0]||function(){var m=performance.timing,g={entryType:"navigation",startTime:0};for(var T in m)T!=="navigationStart"&&T!=="toJSON"&&(g[T]=Math.max(m[T]-m.navigationStart,0));return g}();if(a.value=a.delta=d.responseStart,a.value<0||a.value>performance.now())return;a.entries=[d],_(a)}catch(m){}},document.readyState==="complete"?setTimeout(o,0):addEventListener("load",function(){return setTimeout(o,0)})},_n;(function(_){_[_.CLS=0]="CLS",_[_.FCP=1]="FCP",_[_.FID=2]="FID",_[_.LCP=3]="LCP",_[_.TBT=4]="TBT",_[_.TTFB=5]="TTFB"})(_n||(_n={}));const Ra=[_n.CLS,_n.FCP,_n.FID,_n.LCP,_n.TTFB];class zl{constructor(){this._isInitialized=!1,this._safety=new dr,this._instr=Wr("WebVitals")}activate(o,a){this._safety.tryCatch(()=>{if(this._isInitialized)throw new Error("WebVitals is already activated.");k.requireArgumentIfDefined(a,"metrics",Array),this._isInitialized=!0;const d=new Set(a||Ra);if(d.delete(_n.CLS)&&Pa(this._logHandler.bind(this)),d.delete(_n.FCP)&&Fi(this._activityHandler.bind(this)),d.delete(_n.FID)&&Qo(this._logHandler.bind(this)),d.delete(_n.LCP)&&Vn(this._activityHandler.bind(this)),d.delete(_n.TTFB)&&vo(this._activityHandler.bind(this)),d.size>0){const m=JSON.stringify(Array.from(d.keys()));this._instr.error(`Unsupported WebVital metrics: ${m}`)}})}_logHandler(o){this._instr.log(Us,{name:o.name,value:o.value,delta:o.delta})}_activityHandler(o){this._instr.startActivity(o.name).stop(void 0,void 0,{perfStartOverride:0,perfStopOverride:o.value})}}const Na=new zl;function Bs(_,o){if(!_)throw new Error(o)}const Da={APEX_ACTION_ERROR:"APEX_ACTION_ERROR",FAILED_TO_LOAD_RESOURCE:"FAILED_TO_LOAD_RESOURCE",TOO_MANY_REQUESTS:"TOO_MANY_REQUESTS",UNKNOWN_ERROR:"UNKNOWN_ERROR"},Ia=["POST","PATCH","PUT","DELETE"],He="X-SFDC-Request-Id",Ma="X-Salesforce-Too-Many-Requests",Zo="asGuest",ne="language",zt="htmlEncode",{location:Zr,navigator:Ue}=globalThis;async function Mn(_,o={}){Bs(typeof _=="string","Valid path not provided for fetch request");const a=fr(fr({},o),{},{headers:fr({},o.headers),credentials:o.credentials||"same-origin"});o.credentials===null&&delete a.credentials;const d=a.isNonApiRequest===!0,m=a.asGuest===!0||await Qt(),g=a.basePath!==void 0?a.basePath:Jn.default,T=new URL(g+_,Zr);if(!d){const q=T.searchParams;q.has(ne)||q.append(ne,Fe.default),q.has(Zo)||q.append(Zo,m),q.has(zt)||q.append(zt,!1)}const j=a.headers["Content-Type"];j===null?delete a.headers["Content-Type"]:j?a.headers["Content-Type"]=j:o.body&&(a.headers["Content-Type"]="application/json; charset=utf-8"),a.headers[He]=ka(),await zs(a);const rt=await globalThis.fetch(T.toString(),a);return Vs(rt)&&wr(),rt}function wr(){document.dispatchEvent(new CustomEvent("client-error",{detail:{type:Da.TOO_MANY_REQUESTS}}))}function Vs(_){return!!((_.status===503||_.status===429)&&_.headers.get(Ma))}async function zs(_){if(_.method&&Ia.includes(_.method)){const{default:o}=await Ee.load("@app/user/v/1");_.headers["CSRF-Token"]=o.csrfToken}}async function wo({path:_,payload:o,contentType:a}){const d=It.default+_;Ue&&Ue.sendBeacon&&Ue.sendBeacon(d,o)||await globalThis.fetch(_,{headers:{"Content-Type":a},basePath:It.default,body:o,method:"POST",isNonApiRequest:!0})}function ka(){return(Date.now()+xa()+Math.round(Math.random()*1e8)).substring(0,18)}function xa(){function _(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return _()+_()}async function Qt(){const{default:_}=await Ee.load("@app/user/v/1");return _.isGuest}var nn=Object.freeze({__proto__:null,fetch:Mn,sendBeacon:wo});const Ar={namespace:"sf.clwr",name:"AppPayload",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{AppPayload:{fields:{visd:{id:1,type:"double"},isPreview:{id:4,type:"bool"},siteId:{id:6,type:"string"},isMobile:{id:3,type:"bool"},lang:{id:5,type:"string"},isDesign:{id:2,type:"bool"},vKey:{id:7,type:"string"}}}}}}}}}},we={namespace:"sf.clwr",name:"Nav",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{Nav:{fields:{isIdleHit:{id:1,type:"bool"},isManual:{id:2,type:"bool"}}}}}}}}}},xt={namespace:"sf.clwr",name:"NavTransition",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{NavTransition:{fields:{code:{id:4,type:"string"},isSsr:{id:3,type:"bool"},level:{id:5,type:"string"},nextUrl:{id:1,type:"string"},type:{id:2,type:"string"}}}}}}}}}},er={namespace:"sf.clwr",name:"PagePayload",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{PagePayload:{fields:{isSsr:{id:3,type:"bool"},type:{id:2,type:"string"},url:{id:1,type:"string"}}}}}}}}}},Ae={namespace:"sf.clwr",name:"Root",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{Root:{fields:{sequence:{id:1,type:"uint32"},navCount:{id:2,type:"uint32"},clickCount:{id:3,type:"uint32"},isManual:{id:4,type:"bool"}}}}}}}}}},nr=5e4,pn=3e3,Ce=300,Hi="O11Y_ENDPOINT_NOT_CONFIGURED",Ks=Math.random(),Ke={coreEnabled:!1,coreSamplingRate:0,coreRelativeEndpoint:"",falconEnabled:!1,falconSamplingRate:0,falconAbsoluteEndpoint:"",guestToken:"",traceSamplingRate:0},rn=!0;rn&&k.markProduction();let Cr,ti;new dr().tryCatch(()=>{const _=JSON.parse(So.default);Object.keys(Ke).forEach(o=>{const a=_[o],d=typeof Ke[o];(d==="string"&&a===""||k.requireArgumentIfDefined(a,`srvConfig.${o}`,d))&&(Ke[o]=_[o])}),Cr=Fa(Fn.default),Ke.guestToken=Cr.guestToken});function qs(){return Ke}function to(_,o){return _&&o!==""&&o!==Hi}function ei(_){return!rn||_>0&&_>=Ks}function Ui(){return!ti&&to(Ke.coreEnabled,Ke.coreRelativeEndpoint)&&ei(Ke.coreSamplingRate)}function ji(){return to(Ke.falconEnabled,Ke.falconAbsoluteEndpoint)&&ei(Ke.falconSamplingRate)}function Fa(_){if(!_)throw new Error("o11yGuestToken not set");const o={},a=_.indexOf("|");return a>=0?(o.guestToken=_.substring(0,a),o.meta=JSON.parse(_.substring(a+1))):o.guestToken=_,o}function ni(){const _=Ke.coreRelativeEndpoint?.indexOf("services/data/");return _===0||_===1}function Bi(){const _=Ke.coreRelativeEndpoint||"";return ni()&&_.length>1&&_[0]!=="/"}async function Vi(){if(ti===void 0&&(ti=!1,ni()&&!Cr.meta?.isGuestApiAccessEnabled)){const{default:_}=await Ee.load("@app/user/v/1");_.isGuest&&(ti=!0)}}function Xs(){const _=Math.random(),o=Ke.traceSamplingRate||0;return o>0&&o>=_}const eo={perfStartOverride:0};let kt;class zi{constructor(o){this._rootPayload={sequence:0,navCount:0,clickCount:0,isManual:!1},this._navPayload={isIdleHit:!1,isManual:!1},this._hadRootActivity=!1,this._hadNavActivity=!1,this._isFirstNavActivity=!0;const a=!1;kt=d=>a&&console.log(`O11YR ${d}`),kt("Started"),this._o11yApp=o,this._startRoot(),document.body.addEventListener("click",this._handleClick.bind(this),{capture:!0,passive:!0}),window.addEventListener("visibilitychange",this._handleVisibilityChange.bind(this))}_handleClick(){this._rootActivity?this._rootPayload.clickCount+=1:this._startRoot()}_handleVisibilityChange(){const o=document.visibilityState==="hidden";kt(o?"Hide":"Show"),o?(this._stopNavTransition(),this._stopNav(),this._stopRoot(!1)):(this._hadRootActivity&&this._startRoot(!0),this._hadNavActivity&&!this._navActivity&&this._startNav(this._navData,!0))}get _isFirstRootActivity(){return this._rootPayload.sequence===1}_startRoot(o=!1){this._rootActivity&&this._stopRoot(!1),this._rootPayload.clickCount=0,this._rootPayload.navCount=0,this._rootPayload.sequence+=1,this._rootPayload.isManual=o,this._rootActivity=this._o11yApp.startRootActivity("root",void 0,Xs()),this._hadRootActivity=!0,kt(`Root Started ${this._rootActivity.getId()}`),Jr.requestIdleDetectedCallback(()=>{this._stopRoot(!0)})}_stopRoot(o){if(!!this._rootActivity){kt(`Root Stop ${o?"idle":"busy"} ${this._rootActivity.getId()}`);try{if(!this._isFirstRootActivity&&this._rootPayload.navCount===0&&Yr().perfNow-this._rootActivity.getStartPerfTime()<Ce){this._rootActivity.discard(),this._rootPayload.sequence-=1;return}const a=this._isFirstRootActivity?eo:void 0;o?this._rootActivity.stop(Ae,this._rootPayload,a):this._rootActivity.terminate(Ae,this._rootPayload,a)}finally{this._rootActivity=void 0,this._hadRootActivity=!1}}}_startNav(o,a){this._stopNav(),this._navPayload.isIdleHit=!1,this._navPayload.isManual=a,this._rootPayload.navCount+=1,this._navData=o?{url:o.url,pageRef:o.pageRef,isSsr:o.isSsr}:void 0,this._navActivity=this._o11yApp.startActivity("navigation"),this._hadNavActivity=!0,kt(`Nav Started ${this._navActivity.getId()}`),Jr.requestIdleDetectedCallback(()=>{kt(`Nav Idle ${this._navActivity?.getId()}`),this._navPayload.isIdleHit=!0})}_stopNav(){if(this._navActivity){kt(`Nav Stop ${this._navActivity.getId()}`);try{const o=this._isFirstNavActivity?eo:void 0;this._isFirstNavActivity=!1,this._navActivity.stop(we,this._navPayload,o)}finally{this._navActivity=void 0}}}_startNavTransition(o){this._navTransitionActivity&&this._stopNavTransition(void 0,!0),this._navTransitionData=o,this._navTransitionActivity=this._o11yApp.startActivity("navigation transition"),kt(`Trans Started ${this._navTransitionActivity.getId()}`)}_stopNavTransition(o,a=!1){if(this._navTransitionActivity){kt(`Trans ${a?"Terminate":"Stop"} ${this._navTransitionActivity.getId()}`);try{if(o){const{code:m,message:g,level:T}=o,j=["Fatal","Error","Warning","Log"][T];this._navTransitionActivity.error(g,xt,{code:m?.toString(),level:j})}const d=this._navTransitionData?{nextUrl:this._navTransitionData.url,type:this._navTransitionData.pageRef?.type,isSsr:this._navTransitionData.isSsr}:void 0;a?this._navTransitionActivity.terminate(xt,d):this._navTransitionActivity.stop(xt,d)}finally{this._navTransitionActivity=void 0,this._navTransitionData=void 0}}}preNavigate(o){this._startNavTransition({url:o.next.url,pageRef:o.next.route.pageReference,isSsr:o.next.routeDefinition?.bootstrap?.ssr})}postNavigate(o){this._stopNavTransition(),this._startNav({url:o.url,pageRef:o.route.pageReference,isSsr:o.routeDefinition?.bootstrap?.ssr},!1)}errorNavigate(o){kt(`Err level ${o?.level}: ${o?.code}`),this._stopNavTransition(o)}getCurrentPageData(){if(this._navData){const{pageRef:o,url:a,isSsr:d}=this._navData;return{url:a,type:o?.type,isSsr:d}}}}class Ao{constructor(){this._totalVisibleDuration=0,this._isVisible=document?.visibilityState==="visible",this._isVisible&&(this._lastVisibleTime=0),window?.addEventListener("visibilitychange",this._handleVisibilityChange.bind(this))}_handleVisibilityChange(){if(document.visibilityState==="hidden"){if(this._isVisible=!1,this._lastVisibleTime!==void 0){const o=Yr().perfNow;this._totalVisibleDuration+=o-this._lastVisibleTime,this._lastVisibleTime=o}}else this._isVisible=!0,this._lastVisibleTime=Yr().perfNow}getPayload(){const o=this._isVisible&&this._lastVisibleTime!==void 0?Yr().perfNow-this._lastVisibleTime:0,a={isDesign:ur.default,isMobile:vi.default,isPreview:ze.default,lang:Fe.default,siteId:ge.default,vKey:Pn.default,visd:this._totalVisibleDuration+o};return{schema:Ar,payload:a}}}class Ki{linkWithRouterSupport(o){this._routingSupport=o}getPayload(){if(this._routingSupport){const o=this._routingSupport.getCurrentPageData();if(o)return{schema:er,payload:o}}}}const{ConsoleCollector:Pr,idleDetector:Co,registerInstrumentedApp:Or,_version:Yt}=xi,no="lwr_experience";let zn,Po;const ie=Qn;ie.clientVersion=Yt,ie.schemaVersion=Hs;const Kn=`${Yt}:${Hs}`,rr=Mn;globalThis.LWR?.define&&(globalThis.LWR.define("o11y/shared",[],()=>On),globalThis.LWR.define("o11y/client",[],()=>xi),globalThis.LWR.define("transport",[],()=>nn),globalThis.LWR.define("webruntime/o11y",[],()=>ke));async function ro(_){const o=!0;try{if(typeof window=="undefined"){ie.isUnavailable=!0;return}const a=Co.declareNotifierTaskMulti("o11y LWR module fetch");ie.willUpload=Ui()||ji();const d=new Ao,m=new Ki;ie.app=Or(no,{isProduction:o,enableBuffering:!0,appPayloadProvider:d,pagePayloadProvider:m}),Ve.default?.(T=>{T.id==="lwr.loader.module.fetch"&&(T.phase===0?a.add():a.done())}),ie.app.networkInstrumentation({tracingHeadersOptions:{useB3Headers:!0}}),Na.activate(),ie.routingSupport=new zi(ie.app),m.linkWithRouterSupport(ie.routingSupport);let g=!1;if(ie.initConsole=T=>{if(!g&&ie.app){const j=new Pr;ie.app.registerLogCollector(j,T),g=!0}},o||(ie.initConsole(),ie.app.log(`o11y ${Kn}`)),ie.upload=or,ie.willUpload){if(await Ha(),await Vi(),ie.willUpload=Ui()||ji(),!ie.willUpload)return;await Ua(ie.app,{appName:_.appMetadata.bootstrapModule,sdkVersion:`o11y ${Kn}`}),Ga(),await or(!0)}}catch(a){if(!o)throw a;try{console?.error("Failed to start o11y",a)}catch{}}finally{try{ie.app?.disableBuffering()}catch{}}}function Ga(){window.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&or(!0)})}async function Ha(){const _=o=>{let a=!1;setTimeout(()=>{a||(a=!0,o())},pn),Co.requestIdleDetectedCallback(()=>{a||(a=!0,o())})};return new Promise(o=>{document.readyState==="complete"?_(o):window.addEventListener("load",()=>_(o))})}async function Ua(_,o){const[a,d]=await Promise.all([Ee.load("o11y/simple_collector/v/244_9_0"),Ee.load("o11y/collectors/v/244_9_0")]);Po=(d.default||d).encodeCoreEnvelopeContentsRaw,zn=new(a.default||a).SimpleCollector({environment:o}),_.registerLogCollector(zn,{retroactive:!0}),_.registerMetricsCollector(zn)}function or(_=!1){const o=[],a=Ui(),d=ji();if(zn?.hasData&&(a||d)&&(_||zn.estimatedByteSize>=nr)){const m=zn.getRawContentsOfCoreEnvelope(),g=Po(m);a&&o.push(ja(g)),d&&o.push(Ba(g))}return Promise.allSettled(o)}function ja(_){const o=String.fromCharCode,a=[];for(let T=0,j=_.length;T<j;T++)a.push(o(_[T]));const d=window.btoa(a.join("")),m={method:"POST",body:JSON.stringify({base64Env:d}),keepalive:!0,isNonApiRequest:!ni(),o11y:{skipInstr:!0}};let g=qs().coreRelativeEndpoint;return Bi()?g[0]!=="/"&&(g=`/${g}`):m.basePath=It.default,rr(g,m)}function Ba(_){const o=qs(),a={method:"POST",body:_,headers:{"x-sfdc-o11y-token":o.guestToken||"","Content-Type":"application/octet-stream"},keepalive:!0,o11y:{skipInstr:!0}};return fetch(o.falconAbsoluteEndpoint,a)}Ot.default=ro,Object.defineProperty(Ot,"__esModule",{value:!0})}),LWR.define("webruntime/hook/v/1_66_319-244_0",["exports"],function(Ot){"use strict";var Ee=["@app/apexApiBasePath","@app/apiBasePath","@app/authenticationCookieName","@app/basePath","@app/guestUuidCookieName","@app/isDesignMode","@app/isPreviewMode","@app/isMobileAppMode","@app/loginPath","@app/o11yGuestToken","@app/o11yConfiguration","@app/routes","@app/extraRouteParams","@app/uiBasePath","@app/versionKey","@app/viewToThemeLayoutMap","@app/views","@salesforce/community/basePath","@salesforce/i18n/lang","@salesforce/site/Id","@salesforce/webstore/Id","webruntime/dispatcher"],c=["@salesforce/cssvars/customProperties","aura-instrumentation","aura-storage","aura","instrumentation/service","instrumentation/utility","lightning/configProvider","lightning/navigation","transport","webruntime/transport","logger","assert","o11y/shared","o11y/client","webruntime/o11y","webruntime_navigation/link","webruntime/expressions","webruntime/routerContainer","webruntime/componentContainer","webruntime/slotContainer","webruntime/visibilityContainer","webruntime/routingService","webruntime/overrides","webruntimedesign/componentWrapper","webruntimedesign/regionWrapper","webruntimedesign/dropRegion","webruntimedesign/componentService","webruntimedesign/designComponent","mobileruntime/hybridAppManager","wire-service","@salesforce/client/formFactor"];const We=["webruntimedesign/componentWrapper","webruntimedesign/regionWrapper","webruntimedesign/dropRegion","webruntimedesign/componentService","webruntimedesign/designComponent"];function Se(fe){fe.addLoaderPlugin({resolveModule:async Ht=>{const[yt]=Ht.split("/v/");return yt==="webruntime/transport"?"transport":yt&&(c.includes(yt)||We.includes(yt)||Ee.includes(yt))?yt:yt==="@salesforce/loader"?"lwr/loaderLegacy/v/0_9_0":null}})}Ot.default=Se,Object.defineProperty(Ot,"__esModule",{value:!0})}),LWR.define("@lwc/synthetic-shadow/v/2_41_4",function(){"use strict";function Ot(r,f){if(!r)throw new Error(`Invariant Violation: ${f}`)}function Ee(r,f){if(!r)throw new Error(`Assert Violation: ${f}`)}function c(r,f){if(r)throw new Error(`Assert Violation: ${f}`)}function We(r){throw new Error(r)}var Se=Object.freeze({__proto__:null,fail:We,invariant:Ot,isFalse:c,isTrue:Ee});const{assign:fe,create:Ht,defineProperties:yt,defineProperty:Ct,freeze:oe,getOwnPropertyDescriptor:pt,getOwnPropertyNames:bn,getPrototypeOf:un,hasOwnProperty:Dt,isFrozen:It,keys:Jn,seal:Fe,setPrototypeOf:Ve}=Object,{isArray:So}=Array,{concat:Fn,copyWithin:ur,fill:vi,filter:ze,find:Pn,indexOf:ge,join:go,map:fr,pop:Hl,push:Me,reduce:fn,reverse:Qn,shift:ke,slice:V,some:de,sort:k,splice:dr,unshift:Ul,forEach:ee}=Array.prototype,{charCodeAt:On,replace:pr,split:ba,slice:$a,toLowerCase:jl}=String.prototype;function lt(r){return r===void 0}function Lt(r){return r===null}function hr(r){return r===!0}function mr(r){return r===!1}function Gn(r){return typeof r=="function"}function Es(r){return typeof r=="object"}const Ws={}.toString;function _a(r){return r&&r.toString?So(r)?go.call(fr.call(r,_a),","):r.toString():typeof r=="object"?Ws.call(r):r+""}const Sr=typeof globalThis=="object"?globalThis:window,Ea="$isNativeShadowRootDefined$",yo="$shadowResolver$",Ts="$$ShadowResolverKey$$",Wa="$shadowStaticNode$",vs="$shadowStaticNodeKey$",wi="$shadowToken$",Et="$$ShadowTokenKey$$",$n="$$lwc-synthetic-mode",ws="$nativeGetElementById$",As="$nativeQuerySelectorAll$",Cs=(()=>Symbol("x").toString()==="Symbol(x)")();Sr.lwcRuntimeFlags||Object.defineProperty(Sr,"lwcRuntimeFlags",{value:Ht(null)});const ye=Node,Te=ye.prototype,{DOCUMENT_POSITION_CONTAINED_BY:gr,DOCUMENT_POSITION_CONTAINS:Bl,DOCUMENT_POSITION_PRECEDING:Ta,DOCUMENT_POSITION_FOLLOWING:va,ELEMENT_NODE:wa,TEXT_NODE:Ps,CDATA_SECTION_NODE:Bo,PROCESSING_INSTRUCTION_NODE:Vo,COMMENT_NODE:Lo,DOCUMENT_FRAGMENT_NODE:Ai}=ye,{appendChild:Os,cloneNode:Ci,compareDocumentPosition:tn,insertBefore:Rs,removeChild:bo,replaceChild:yr,hasChildNodes:zo}=Te,{contains:Pi}=HTMLElement.prototype,Aa=pt(Te,"firstChild").get,Ns=pt(Te,"lastChild").get,Ds=pt(Te,"textContent").get,Rn=pt(Te,"parentNode").get,Oi=pt(Te,"ownerDocument").get,Nn=Dt.call(Te,"parentElement")?pt(Te,"parentElement").get:pt(HTMLElement.prototype,"parentElement").get,Ri=pt(Te,"textContent").set,Ge=Dt.call(Te,"childNodes")?pt(Te,"childNodes").get:pt(HTMLElement.prototype,"childNodes").get,Ni=Dt.call(Te,"isConnected")?pt(Te,"isConnected").get:function(){const r=Oi.call(this);return r===null||(tn.call(r,this)&gr)!=0},{getAttribute:Xr,getBoundingClientRect:Is,getElementsByTagName:Dn,getElementsByTagNameNS:Lr,hasAttribute:br,querySelector:en,querySelectorAll:In,removeAttribute:$r,setAttribute:Di}=Element.prototype,Ms=Dt.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},ks=pt(Element.prototype,"childElementCount").get,xs=pt(Element.prototype,"firstElementChild").get,Ca=pt(Element.prototype,"lastElementChild").get,_r=pt(HTMLElement.prototype,"innerText"),$o=_r?_r.get:null,Fs=_r?_r.set:null,Er=pt(HTMLElement.prototype,"outerText"),Ii=Er?Er.get:null,Yr=Er?Er.set:null,Ko=Dt.call(Element.prototype,"innerHTML")?pt(Element.prototype,"innerHTML"):pt(HTMLElement.prototype,"innerHTML"),Gs=Ko.get,qo=Ko.set,Xo=Dt.call(Element.prototype,"outerHTML")?pt(Element.prototype,"outerHTML"):pt(HTMLElement.prototype,"outerHTML"),Mi=Xo.get,ki=Xo.set,Jr=pt(Element.prototype,"tagName").get,_o=pt(HTMLElement.prototype,"tabIndex"),Yo=_o.get,Wr=_o.set,Qr=Dt.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,xi=Dt.call(Element.prototype,"children")?pt(Element.prototype,"children").get:pt(HTMLElement.prototype,"children").get,{getElementsByClassName:Hs}=HTMLElement.prototype,Us=Dt.call(Element.prototype,"shadowRoot")?pt(Element.prototype,"shadowRoot").get:()=>null,Zn=Dt.call(Element.prototype,"assignedSlot")?pt(Element.prototype,"assignedSlot").get:()=>null;let Vt,bt;typeof HTMLSlotElement!="undefined"?(Vt=HTMLSlotElement.prototype.assignedNodes,bt=HTMLSlotElement.prototype.assignedElements):(Vt=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},bt=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const ln=pt(Event.prototype,"target").get,ve=pt(Event.prototype,"currentTarget").get,Tr=pt(FocusEvent.prototype,"relatedTarget").get,tr=Dt.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],Hn=pt(Document.prototype,"activeElement").get,Un=Dt.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Wt=Dt.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,jn=pt(Document.prototype,"defaultView").get,{createComment:dn,querySelectorAll:Bn,getElementById:Fi,getElementsByClassName:js,getElementsByTagName:Gi,getElementsByTagNameNS:Pa}=Document.prototype,{getElementsByName:Eo}=HTMLDocument.prototype,{addEventListener:Jo,removeEventListener:Wo,getComputedStyle:Oa,getSelection:Vl}=window,To=MutationObserver,Qo=To.prototype.observe;let vr=null;typeof ShadowRoot!="undefined"&&(vr=ShadowRoot);const Vn=!Lt(vr),vo=Lt(vr)?()=>!1:r=>r instanceof vr;function _n(){return typeof HTMLSlotElement=="undefined"}const{createElement:Ra}=Document.prototype,zl=115,Na=108,Bs=111,Da=116;function Ia(){class r{}Ve(r,HTMLElement.constructor),Ve(r.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=r,Ct(Document.prototype,"createElement",{value:function(f,h){const S=Ra.apply(this,V.call(arguments));return f.length===4&&On.call(f,0)===zl&&On.call(f,1)===Na&&On.call(f,2)===Bs&&On.call(f,3)===Da&&Ve(S,r.prototype),S}})}_n()&&Ia();function He(r){const f=Oi.call(r);return f===null?r:f}function Ma(r){const f=He(r),h=jn.call(f);if(h===null)throw new TypeError;return h}let Zo;function ne(r){if(lt(Zo)){const f=He(r);Zo=f.body&&Xr.call(f.body,"data-global-patching-bypass")==="temporary-bypass"}return hr(Zo)}function zt(r){const f=r.length,h=[];if(f>0)for(let S=0;S<f;S++)h[S]=r[S];return h}const Zr=typeof EventTarget!="undefined"?EventTarget.prototype:ye.prototype,{addEventListener:Ue,dispatchEvent:Mn,removeEventListener:wr}=Zr,Vs="$$HostElementKey$$",zs="$$ShadowedNodeKey$$";function wo(r,f,h){const S=r;{const{value:P}=h;S[f]=P}}function ka(r,f){wo(r,Vs,{value:f,configurable:!0})}function xa(r,f){wo(r,zs,{value:f})}function Qt(r){return r[Vs]}function nn(r){let f=r,h;for(;!Lt(f);){if(h=Qt(f),!lt(h))return h;if(f=Rn.call(f),!Lt(f)&&nr(f))return}}function Ar(r){return r[zs]}function we(r){return!lt(Qt(r))}function xt(r){let f=Nn.call(r);for(;!Lt(f)&&pn(f);)r=f,f=Nn.call(r);return r}function er(r,f){const h=Ar(r);let S=f instanceof Element?f:Nn.call(f);for(;!Lt(S)&&S!==r;){const P=nn(S),Y=Nn.call(S);if(P===h)return pn(S);if(Y===r)return!1;if(!Lt(Y)&&nn(Y)!==P)if(pn(Y)){if(S=Ae(xt(Y)),!Lt(S)){if(S===r)return!0;if(nn(S)===h)return!0}}else return!1;else S=Y}return!1}function Ae(r){if(!(r instanceof ye))return null;const f=nn(r);if(lt(f))return null;let h=r;for(;!Lt(h)&&Ar(h)!==f;)h=Rn.call(h);return Lt(h)?null:h}function nr(r){return pn(r)&&we(r)}function pn(r){return r instanceof HTMLSlotElement}function Ce(r,f){const h=nn(f);if(lt(h)){const S=Rn.call(f);return!(!Lt(S)&&nr(S))}return Ar(r)===h}function Hi(r){const f=pe(r);return rn(f,zt(Ge.call(f)))}function Ks(r,f){const h=[];for(let S=0,P=f.length;S<P;S+=1){const Y=f[S];!Ce(r,Y)&&er(r,Y)&&Me.call(h,Y)}return h}function Ke(r,f){for(let h=0,S=f.length;h<S;h+=1){const P=f[h];if(!Ce(r,P)&&er(r,P))return P}return null}function rn(r,f){const h=[];for(let S=0,P=f.length;S<P;S+=1){const Y=f[S];Ce(r,Y)&&Me.call(h,Y)}return h}function Cr(r,f){for(let h=0,S=f.length;h<S;h+=1)if(Ce(r,f[h]))return f[h];return null}function ti(r,f){const h=pe(r),S=zt(In.call(h,f));return Cr(h,S)}function qs(r,f){const h=pe(r),S=In.call(h,f);return rn(h,zt(S))}function to(r){if(!le(r)&&!pn(r)){const f=Ge.call(r);return zt(f)}if(le(r)){const f=zt(In.call(r,"slot")),h=qn(Xn(r));return fn.call(f,(S,P)=>(h===qn(P)&&Me.apply(S,ei(P)),S),[])}else{const f=zt(Ge.call(r)),h=qn(r);return ze.call(f,S=>h===qn(S))}}function ei(r){const f=Ae(r);if(Lt(f))return[];const h=zt(Ge.call(r));return ze.call(h,S=>!we(S)||!Ce(f,S))}function Ui(r){let f="";const h=to(r);for(let S=0,P=h.length;S<P;S+=1)f+=Ao(h[S]);return f}const ji=/[&\u00A0"]/g,Fa=/[&\u00A0<>]/g,{replace:ni,toLowerCase:Bi}=String.prototype;function Vi(r){switch(r){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"\xA0":return"&nbsp;";default:return""}}function Xs(r){return ni.call(r,ji,Vi)}function eo(r){return ni.call(r,Fa,Vi)}const kt=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),zi=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function Ao(r){switch(r.nodeType){case wa:{const{attributes:f}=r,h=Jr.call(r);let S="<"+Bi.call(h);for(let P=0,Y;Y=f[P];P++)S+=" "+Y.name+'="'+Xs(Y.value)+'"';return S+=">",kt.has(h)?S:S+Ui(r)+"</"+Bi.call(h)+">"}case Ps:{const{data:f,parentNode:h}=r;return h instanceof Element&&zi.has(Jr.call(h))?f:eo(f)}case Bo:return`<!CDATA[[${r.data}]]>`;case Vo:return`<?${r.target} ${r.data}?>`;case Lo:return`<!--${r.data}-->`;default:return""}}function Ki(r){switch(r.nodeType){case wa:{const f=to(r);let h="";for(let S=0,P=f.length;S<P;S+=1){const Y=f[S];Y.nodeType!==Lo&&(h+=Ki(Y))}return h}default:return r.nodeValue}}const Pr=new WeakMap;function Co(){throw new TypeError("Illegal constructor")}Co.prototype=Ht(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Co},item:{writable:!0,enumerable:!0,configurable:!0,value(r){return this[r]}},length:{enumerable:!0,configurable:!0,get(){return Pr.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(r,f){ee.call(Pr.get(this),r,f)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return fr.call(Pr.get(this),(r,f)=>[f,r])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return fr.call(Pr.get(this),(r,f)=>f)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return Pr.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let r=0;return{next:()=>{const f=Pr.get(this);return r<f.length?{value:f[r++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get(){return"NodeList"}},toString:{writable:!0,configurable:!0,value(){return"[object NodeList]"}}}),Ve(Co,NodeList);function Or(r){const f=Ht(Co.prototype);return Pr.set(f,r),ee.call(r,(h,S)=>{Ct(f,S,{value:h,enumerable:!0,configurable:!0})}),f}function Yt(r){var f;const h=[];let S=r.getRootNode();for(;!lt(S);)h.push(S),S=(f=S.host)===null||f===void 0?void 0:f.getRootNode();return h}const no=(r,f)=>{let h;for(;!lt(h=r.host);){const S=h.getRootNode();if(S===f)return h;r=S}};function zn(r,f,h,S){const P=Wt.call(f,h,S),Y=[],jt=Yt(r);if(!Lt(P))for(let Xt=0;Xt<P.length;Xt++){const re=P[Xt];if(nr(re))continue;const be=re.getRootNode();if(ge.call(jt,be)!==-1){Me.call(Y,re);continue}const Wn=no(be,jt[0]);!lt(Wn)&&ge.call(P,Wn)===-1&&ge.call(Y,Wn)===-1&&Me.call(Y,Wn)}return Y}const Po=new WeakMap;function ie(){throw new TypeError("Illegal constructor")}ie.prototype=Ht(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:ie},item:{writable:!0,enumerable:!0,configurable:!0,value(r){return this[r]}},length:{enumerable:!0,configurable:!0,get(){return Po.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(r){if(r==="")return null;const f=Po.get(this);for(let h=0,S=f.length;h<S;h++){const P=f[S];if(r===Xr.call(P,"id")||r===Xr.call(P,"name"))return P}return null}},[Symbol.toStringTag]:{configurable:!0,get(){return"HTMLCollection"}},toString:{writable:!0,configurable:!0,value(){return"[object HTMLCollection]"}}}),Ve(ie,HTMLCollection);function Kn(r){const f=Ht(ie.prototype);return Po.set(f,r),ee.call(r,(h,S)=>{Ct(f,S,{value:h,enumerable:!0,configurable:!0})}),f}function rr(r){return nr(r)||le(r)}function ro(r,f){const h=Ae(r);if(f===h)return Xn(h);if(f instanceof Element){if(nn(r)===nn(f))return f;if(!Lt(h)&&pn(f)){const S=Ae(f);if(!Lt(S)&&Ce(h,S))return S}}return null}function Ga(){return gt(this).length>0}function Ha(){return gt(this)[0]||null}function Ua(){const r=gt(this);return r[r.length-1]||null}function or(){return Ki(this)}function ja(r){Ri.call(this,r)}function Ba(){const r=Rn.call(this);return Lt(r)?r:ro(this,r)}function _(){const r=Rn.call(this);if(Lt(r))return null;const f=ro(this,r);return f instanceof Element?f:null}function o(r){return this===r?0:this.getRootNode()===r?10:Qt(this)!==Qt(r)?35:tn.call(this,r)}function a(r){return r==null||Qt(this)!==Qt(r)?!1:(tn.call(this,r)&gr)!=0}function d(r){const f=Ci.call(this,!1);if(!r)return f;const h=gt(this);for(let S=0,P=h.length;S<P;S+=1)f.appendChild(h[S].cloneNode(!0));return f}function m(){if(le(this)){const r=Ae(this),f=Lt(r)?[]:rn(r,to(this));return Or(f)}return Ge.call(this)}const g=ye.prototype.getRootNode,T=lt(g)?function(){let r=this,f;for(;!Lt(f=Rn.call(r));)r=f;return r}:g;function j(r){const f=Ae(r);return Lt(f)?T.call(r):Xn(f)}function rt(r){const f=lt(r)?!1:!!r.composed;return hr(f)?T.call(this,r):j(this)}yt(ye.prototype,{firstChild:{get(){return rr(this)?Ha.call(this):Aa.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return rr(this)?Ua.call(this):Ns.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return we(this)||le(this)?or.call(this):Ds.call(this)},set:ja,enumerable:!0,configurable:!0},parentNode:{get(){if(we(this))return Ba.call(this);const r=Rn.call(this);return!Lt(r)&&nr(r)?Ae(r):r},enumerable:!0,configurable:!0},parentElement:{get(){if(we(this))return _.call(this);const r=Nn.call(this);return!Lt(r)&&nr(r)?Ae(r):r},enumerable:!0,configurable:!0},childNodes:{get(){return rr(this)?m.call(this):Ge.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return rr(this)?Ga.call(this):zo.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(r){return ne(this)?tn.call(this,r):o.call(this,r)},enumerable:!0,writable:!0,configurable:!0},contains:{value(r){return this===r?!0:r==null?!1:we(this)||le(this)?a.call(this,r):Pi.call(this,r)},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(r){return we(this)||le(this)?d.call(this,r):Ci.call(this,r)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:rt,enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Ni.call(this)}}});let q=!1;function At(){return!q}const gt=function(r){return r.childNodes};Dt.call(HTMLElement.prototype,"contains")&&Ct(HTMLElement.prototype,"contains",pt(ye.prototype,"contains")),Dt.call(HTMLElement.prototype,"parentElement")&&Ct(HTMLElement.prototype,"parentElement",pt(ye.prototype,"parentElement"));const Rt=new WeakMap,Ut=new WeakMap;function Pe(r){return Gn(r)||Es(r)&&!Lt(r)&&Gn(r.handleEvent)}function En(r,f,h){if(f===h)return!0;let S=Ut.get(r);return lt(S)&&(S=r.composedPath(),Ut.set(r,S)),S.includes(h)}function Rr(r){if(!Pe(r))return r;let f=Rt.get(r);return lt(f)&&(f=function(h){const S=ve.call(h),P=ir(h);if(!!En(h,P,S))return Gn(r)?r.call(this,h):r.handleEvent&&r.handleEvent(h)},Rt.set(r,f)),f}const ri=new WeakMap,Ys=new WeakMap;function Va(r){let f=Ys.get(r);return lt(f)&&(f=Ht(null),Ys.set(r,f)),f}function ir(r){var f;return(f=oo.get(r))!==null&&f!==void 0?f:ln.call(r)}const Kl=new WeakMap;function ql(r){if(!Gn(r))throw new TypeError;let f=Kl.get(r);return lt(f)&&(f=function(h){let S=ve.call(h);vo(S)||(S=Xn(S));const P=ir(h);En(h,P,S)&&r.call(S,h)},f.placement=1,Kl.set(r,f)),f}const Xl=new WeakMap;function Yl(r){if(!Gn(r))throw new TypeError;let f=Xl.get(r);return lt(f)&&(f=function(h){const S=ve.call(h),P=ir(h);En(h,P,S)&&r.call(S,h)},f.placement=0,Xl.set(r,f)),f}function qi(r){let f=!1,h=!1;const{type:S,stopImmediatePropagation:P,stopPropagation:Y}=r,jt=ve.call(r),re=Va(jt)[S];Ct(r,"stopImmediatePropagation",{value(){f=!0,P.call(r)},writable:!0,enumerable:!0,configurable:!0}),Ct(r,"stopPropagation",{value(){h=!0,Y.call(r)},writable:!0,enumerable:!0,configurable:!0});const be=V.call(re);function Wn(Cu){ee.call(be,fl=>{mr(f)&&fl.placement===Cu&&ge.call(re,fl)!==-1&&fl.call(void 0,r)})}ri.set(r,1),Wn(1),mr(f)&&mr(h)&&(ri.set(r,0),Wn(0)),ri.set(r,2)}function Js(r,f,h){const S=Va(r);let P=S[f];lt(P)&&(P=S[f]=[]),ge.call(P,h)===-1&&(P.length===0&&Ue.call(r,f,qi),Me.call(P,h))}function sr(r,f,h){const S=Va(r);let P,Y;!lt(Y=S[f])&&(P=ge.call(Y,h))!==-1&&(dr.call(Y,P,1),Y.length===0&&wr.call(r,f,qi))}function Nr(r,f,h){if(Gn(f)){const S=Yl(f);Js(this,r,S)}}function za(r,f,h){if(Gn(f)){const S=Yl(f);sr(this,r,S)}}function Jl(r,f,h,S){if(Gn(h)){const P=pe(r),Y=ql(h);Js(P,f,Y)}}function Qs(r,f,h,S){if(Gn(h)){const P=pe(r),Y=ql(h);sr(P,f,Y)}}const Oo=new WeakMap,{createDocumentFragment:Dr}=document;function su(r){return Oo.has(r)}function kn(r){const f=Oo.get(r);if(lt(f))throw new TypeError;return f}Ct(ye.prototype,yo,{set(r){lt(r)||(this[Ts]=r,ka(this,r.nodeKey))},get(){return this[Ts]},configurable:!0,enumerable:!0}),Ct(Sr,Ea,{value:Vn}),lt(Sr[ws])&&Ct(Sr,ws,{value:Fi,configurable:!0}),lt(Sr[As])&&Ct(Sr,As,{value:Bn,configurable:!0});function qn(r){return r[yo]}function Ro(r,f){r[yo]=f}function oi(r){return kn(r).delegatesFocus}function pe(r){return kn(r).host}function Xn(r){return kn(r).shadowRoot}function le(r){const f=Oo.get(r);return!lt(f)&&r===f.host}function Ka(r){const f=Oo.get(r);return!lt(f)&&r===f.shadowRoot}let Zs=0;function ii(r,f){if(Oo.has(r))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:h,delegatesFocus:S}=f,P=He(r),Y=Dr.call(P),jt={mode:h,delegatesFocus:!!S,host:r,shadowRoot:Y};Oo.set(Y,jt),Oo.set(r,jt);const Xt=()=>Y,re=Xt.nodeKey=Zs++;return xa(r,re),Ro(Y,Xt),Ve(Y,ai.prototype),Y}const No={constructor:{writable:!0,configurable:!0,value:ai},toString:{writable:!0,configurable:!0,value(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},Xi={activeElement:{enumerable:!0,configurable:!0,get(){const r=pe(this),f=He(r),h=Hn.call(f);if(Lt(h))return h;if((tn.call(r,h)&gr)==0)return null;let S=h;for(;!Ce(r,S);)S=Nn.call(S);return pn(S)?null:S}},delegatesFocus:{configurable:!0,get(){return kn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(r,f){const h=pe(this),S=He(h);return qa(this,S,r,f)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(r,f){const h=pe(this),S=He(h);return zn(this,S,r,f)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return pe(this)}},mode:{configurable:!0,get(){return kn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},oo=new WeakMap;fe(No,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(r,f){return Rs.call(pe(this),r,f),r}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(r){return bo.call(pe(this),r),r}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(r){return Os.call(pe(this),r),r}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(r,f){return yr.call(pe(this),r,f),f}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(r,f,h){Jl(this,r,f)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(r){return oo.set(r,this),Mn.apply(pe(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(r,f,h){Qs(this,r,f)}},baseURI:{enumerable:!0,configurable:!0,get(){return pe(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Or(Hi(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(r){const f=pe(this);return this===r?0:this.contains(r)?20:tn.call(f,r)&gr?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(r){if(this===r)return!0;const f=pe(this);return(tn.call(f,r)&gr)!=0&&Ce(f,r)}},firstChild:{enumerable:!0,configurable:!0,get(){return gt(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const r=gt(this);return r[r.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return gt(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Ni.call(pe(this))}},nextSibling:{enumerable:!0,configurable:!0,get(){return null}},previousSibling:{enumerable:!0,configurable:!0,get(){return null}},nodeName:{enumerable:!0,configurable:!0,get(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get(){return pe(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get(){return null}},parentNode:{enumerable:!0,configurable:!0,get(){return null}},textContent:{enumerable:!0,configurable:!0,get(){const r=gt(this);let f="";for(let h=0,S=r.length;h<S;h+=1){const P=r[h];P.nodeType!==Lo&&(f+=Ki(P))}return f},set(r){const f=pe(this);Ri.call(f,r)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(r){return!lt(r)&&hr(r.composed)?pe(this).getRootNode(r):this}}},{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Kn(ze.call(Hi(this),r=>r instanceof Element))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:r}=this;return r.item(r.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(r){return ti(this,r)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(r){return Or(qs(this,r))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const r=gt(this);let f="";for(let h=0,S=r.length;h<S;h+=1)f+=Ao(r[h]);return f},set(r){const f=pe(this);qo.call(f,r)}}},Xi);function ai(){throw new TypeError("Illegal constructor")}ai.prototype=Ht(DocumentFragment.prototype,No),Ct(ai,Symbol.hasInstance,{value:function(r){return Es(r)&&!Lt(r)&&(vo(r)||un(r)===ai.prototype)}});function li(r){const f=Xn(r);let h=f.$$placeholder$$;if(!lt(h))return h;const S=He(r);return h=f.$$placeholder$$=dn.call(S,""),yt(h,{childNodes:{get(){return f.childNodes},enumerable:!0,configurable:!0},tagName:{get(){return`#shadow-root (${f.mode})`},enumerable:!0,configurable:!0}}),h}function ci(r,f){const h=[];let S;if(r instanceof Window)S=r;else if(r instanceof ye)S=r.getRootNode();else return h;let P=r;for(;!Lt(P);)if(h.push(P),P instanceof Element||P instanceof Text){const jt=P.assignedSlot;Lt(jt)?P=P.parentNode:P=jt}else(Ka(P)||vo(P))&&(f||P!==S)?P=P.host:P instanceof ye?P=P.parentNode:P=null;let Y;return r instanceof Window?Y=r.document:Y=He(r),h[h.length-1]===Y&&h.push(window),h}/**
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/function Yi(r,f){if(Lt(r))return null;const h=ci(r,!0),S=f;for(let P=0,Y,jt,Xt,re;P<S.length;P++)if(Y=S[P],Xt=Y instanceof Window?Y:Y.getRootNode(),Xt!==jt&&(re=h.indexOf(Xt),jt=Xt),!Ka(Xt)||!lt(re)&&re>-1)return Y;return null}function qa(r,f,h,S){const P=Un.call(f,h,S);return Lt(P)?P:Yi(r,ci(P,!0))}function lu(r,f){return qa(this,this,r,f)}Document.prototype.elementFromPoint=lu;function cu(r,f){return zn(this,this,r,f)}Document.prototype.elementsFromPoint=cu,Ct(Document.prototype,"activeElement",{get(){let r=Hn.call(this);if(Lt(r))return r;for(;!lt(Qt(r));)if(r=Nn.call(r),Lt(r))return null;return r.tagName==="HTML"&&(r=this.body),r},enumerable:!0,configurable:!0}),Ct(Document.prototype,"getElementById",{value(){const r=Fi.apply(this,V.call(arguments));return Lt(r)?null:lt(Qt(r))||ne(r)?r:null},writable:!0,enumerable:!0,configurable:!0}),Ct(Document.prototype,"querySelector",{value(){const r=zt(Bn.apply(this,V.call(arguments))),f=Pn.call(r,h=>lt(Qt(h))||ne(h));return lt(f)?null:f},writable:!0,enumerable:!0,configurable:!0}),Ct(Document.prototype,"querySelectorAll",{value(){const r=zt(Bn.apply(this,V.call(arguments))),f=ze.call(r,h=>lt(Qt(h))||ne(h));return Or(f)},writable:!0,enumerable:!0,configurable:!0}),Ct(Document.prototype,"getElementsByClassName",{value(){const r=zt(js.apply(this,V.call(arguments))),f=ze.call(r,h=>lt(Qt(h))||ne(h));return Kn(f)},writable:!0,enumerable:!0,configurable:!0}),Ct(Document.prototype,"getElementsByTagName",{value(){const r=zt(Gi.apply(this,V.call(arguments))),f=ze.call(r,h=>lt(Qt(h))||ne(h));return Kn(f)},writable:!0,enumerable:!0,configurable:!0}),Ct(Document.prototype,"getElementsByTagNameNS",{value(){const r=zt(Pa.apply(this,V.call(arguments))),f=ze.call(r,h=>lt(Qt(h))||ne(h));return Kn(f)},writable:!0,enumerable:!0,configurable:!0}),Ct(pt(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const r=zt(Eo.apply(this,V.call(arguments))),f=ze.call(r,h=>lt(Qt(h))||ne(h));return Or(f)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ai,configurable:!0,writable:!0});const ta=Object.getOwnPropertyDescriptor(Event.prototype,"composed");function Xa(){if(!ta)return!1;let r=new Event("click");const f=document.createElement("button");return f.addEventListener("click",h=>r=h),f.click(),!ta.get.call(r)}const Ql=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Zl(r){Object.defineProperty(r,"composed",{configurable:!0,enumerable:!0,get(){return!0}})}function Ji(){HTMLElement.prototype.click=function(){Ue.call(this,"click",Zl);try{Ql.value.call(this)}finally{wr.call(this,"click",Zl)}}}Xa()&&Ji();function uu(){return new Event("test",{composed:!0}).composed!==!0}function hn(){const r=fe(Ht(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),f=Event;function h(S,P){const Y=new f(S,P),jt=!!(P&&P.composed);return Object.defineProperties(Y,{composed:{get(){return jt},configurable:!0,enumerable:!0}}),Y}h.prototype=f.prototype,h.AT_TARGET=f.AT_TARGET,h.BUBBLING_PHASE=f.BUBBLING_PHASE,h.CAPTURING_PHASE=f.CAPTURING_PHASE,h.NONE=f.NONE,window.Event=h,Object.defineProperties(Event.prototype,{composed:{get(){const{type:S}=this;return r[S]===1},configurable:!0,enumerable:!0}})}uu()&&hn();const Ya=CustomEvent;function Ja(r,f){const h=new Ya(r,f),S=!!(f&&f.composed);return Object.defineProperties(h,{composed:{get(){return S},configurable:!0,enumerable:!0}}),h}if(Ja.prototype=Ya.prototype,window.CustomEvent=Ja,typeof ClipboardEvent!="undefined"){const r=fe(Ht(null),{copy:1,cut:1,paste:1});yt(ClipboardEvent.prototype,{composed:{get(){const{type:f}=this;return r[f]===1},configurable:!0,enumerable:!0}})}function ui(){const r=typeof HTMLIFrameElement!="undefined",f=typeof Proxy!="undefined"&&hr(Proxy.isCompat);return r&&f}function Qa(){const r=pt(HTMLIFrameElement.prototype,"contentWindow"),{get:f}=r;r.get=function(){const h=f.call(this);return Lt(h)||lt(Qt(this))?h:fu(h)},Ct(HTMLIFrameElement.prototype,"contentWindow",r)}function fu(r){return{addEventListener(){return r.addEventListener.apply(r,arguments)},blur(){return r.blur.apply(r,arguments)},close(){return r.close.apply(r,arguments)},focus(){return r.focus.apply(r,arguments)},postMessage(){return r.postMessage.apply(r,arguments)},removeEventListener(){return r.removeEventListener.apply(r,arguments)},get closed(){return r.closed},get frames(){return r.frames},get length(){return r.length},get location(){return r.location},set location(f){r.location=f},get opener(){return r.opener},get parent(){return r.parent},get self(){return r.self},get top(){return r.top},get window(){return r.window}}}ui()&&Qa();const fi=MutationObserver,{disconnect:ea,observe:nd,takeRecords:io}=fi.prototype,tc="$$lwcObserverCallbackWrapper$$",Qi="$$lwcNodeObservers$$",Zi=new WeakMap;function Io(r){return r[Qi]}function du(r,f){r[Qi]=f}function Za(r){const{addedNodes:f,removedNodes:h,target:S,type:P}=r,Y=Ht(MutationRecord.prototype);return yt(Y,{addedNodes:{get(){return f},enumerable:!0,configurable:!0},removedNodes:{get(){return h},enumerable:!0,configurable:!0},type:{get(){return P},enumerable:!0,configurable:!0},target:{get(){return S.shadowRoot},enumerable:!0,configurable:!0}}),Y}function na(r,f){let h=f;for(;!Lt(h);){const S=Io(h);if(!lt(S)&&(S[0]===r||ge.call(S,r)!==-1))return!0;h=h.parentNode}return!1}function ra(r,f){return fn.call(r,(h,S)=>{const{target:P,addedNodes:Y,removedNodes:jt,type:Xt}=S;if(Xt==="childList"&&!lt(Ar(P)))if(Y.length>0){const re=Y[0];if(na(f,re)){const be=Io(P);be&&(be[0]===f||ge.call(be,f)!==-1)?Me.call(h,S):Me.call(h,Za(S))}}else{const re=P.shadowRoot,be=jt[0];if(nn(P)===nn(be)&&na(f,P))Me.call(h,S);else if(re){const Wn=Io(re);Wn&&(Wn[0]===f||ge.call(Wn,f)!==-1)&&Me.call(h,Za(S))}}else na(f,P)&&Me.call(h,S);return h},[])}function so(r){let f=r[tc];return lt(f)&&(f=r[tc]=(h,S)=>{const P=ra(h,S);P.length!==0&&r.call(S,P,S)}),f}function ao(r){const f=so(r);return new fi(f)}function pu(){ea.call(this);const r=Zi.get(this);lt(r)||(ee.call(r,f=>{const h=f[Qi];if(!lt(h)){const S=ge.call(h,this);S!==-1&&dr.call(h,S,1)}}),r.length=0)}function hu(r,f){let h=Io(r);if(lt(h)&&(h=[],du(r,h)),ge.call(h,this)===-1&&Me.call(h,this),Ka(r)&&(r=r.host),Zi.has(this)){const S=Zi.get(this);ge.call(S,r)===-1&&Me.call(S,r)}else Zi.set(this,[r]);return nd.call(this,r,f)}function ec(){return ra(io.call(this),this)}ao.prototype=fi.prototype,ao.prototype.disconnect=pu,ao.prototype.observe=hu,ao.prototype.takeRecords=ec,Ct(window,"MutationObserver",{value:ao,configurable:!0,writable:!0});function mu(r,f,h){if(le(this))return Nr.apply(this,arguments);if(arguments.length<2){const P=V.call(arguments);return P.length>1&&(P[1]=Rr(P[1])),Ue.apply(this,P)}const S=Rr(f);return Ue.call(this,r,S,h)}function nc(r,f,h){if(le(this))return za.apply(this,arguments);const S=V.call(arguments);arguments.length>1&&(S[1]=Rr(S[1])),wr.apply(this,S),wr.apply(this,arguments)}yt(Zr,{addEventListener:{value:mu,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:nc,enumerable:!0,writable:!0,configurable:!0}});function qt(){return typeof EventTarget=="undefined"}function ts(r,f,h){if(arguments.length>1){const S=V.call(arguments);return S[1]=Rr(S[1]),Jo.apply(this,S)}return Jo.apply(this,arguments)}function je(r,f,h){if(arguments.length>1){const S=V.call(arguments);S[1]=Rr(S[1]),Wo.apply(this,S)}Wo.apply(this,arguments)}function tl(){yt(Window.prototype,{addEventListener:{value:ts,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:je,enumerable:!0,writable:!0,configurable:!0}})}qt()&&tl();function rd(){const r=ve.call(this);return Lt(r)?null:ri.get(this)===1?Xn(r):r}function rc(){const r=ln.call(this);if(!(r instanceof ye))return r;const f=He(r),h=ci(r,this.composed),S=ve.call(this);if(S instanceof ye){if(S===f||S===f.body)return lt(Qt(r))?r:Yi(f,h)}else return Lt(S)&&lt(Qt(r))?r:Yi(f,h);let P=S,Y=h;return le(S)&&ri.get(this)===1&&(P=Xn(S)),le(r)&&oo.has(this)&&(Y=ci(Xn(r),this.composed)),Yi(P,Y)}function oc(){const r=ln.call(this);if(!(r instanceof ye))return[];const f=Boolean(r.shadowRoot),h=su(r);if(f&&!h)return tr.call(this);const S=ve.call(this);if(Lt(S))return[];let P=r;return le(r)&&oo.has(this)&&(P=Xn(r)),ci(P,this.composed)}yt(Event.prototype,{target:{get:rc,enumerable:!0,configurable:!0},currentTarget:{get:rd,enumerable:!0,configurable:!0},composedPath:{value:oc,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:rc,enumerable:!0,configurable:!0},path:{get:oc,enumerable:!0,configurable:!0}});function ic(r){const f=pt(r.prototype,"relatedTarget").get;Ct(r.prototype,"relatedTarget",{get(){const h=f.call(this);if(Lt(h))return null;if(!(h instanceof ye)||!we(h))return h;let S=ve.call(this);return Lt(S)&&(S=He(h)),Yi(S,ci(h,!0))},enumerable:!0,configurable:!0})}ic(FocusEvent),ic(MouseEvent);const od=Dt.call(Text.prototype,"assignedSlot")?pt(Text.prototype,"assignedSlot").get:()=>null;let el;const Su={childList:!0},sc=new WeakMap;function gu(){return new To(r=>{const f=[];ee.call(r,h=>{const{target:S}=h;ge.call(f,S)===-1&&(Me.call(f,S),Mn.call(S,new CustomEvent("slotchange")))})})}function nl(r){const f=zt(Ge.call(r));return fn.call(f,(h,S)=>(S instanceof Element&&pn(S)?Me.apply(h,nl(S)):Me.call(h,S),h),[])}function ac(){const r=Rn.call(this);if(r instanceof Element){const f=Us.call(r);if(vo(f))return this instanceof Text?od.call(this):Zn.call(this)}return!Lt(r)&&pn(r)&&Qt(r)!==Qt(this)?r:null}yt(HTMLSlotElement.prototype,{addEventListener:{value(r,f,h){HTMLElement.prototype.addEventListener.call(this,r,f,h),r==="slotchange"&&!sc.get(this)&&(sc.set(this,!0),el||(el=gu()),Qo.call(el,this,Su))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(r){if(we(this)){const h=!lt(r)&&hr(r.flatten)?nl(this):ei(this);return ze.call(h,S=>S instanceof Element)}else return bt.apply(this,V.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(r){return we(this)?!lt(r)&&hr(r.flatten)?nl(this):ei(this):Vt.apply(this,V.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const r=Xr.call(this,"name");return Lt(r)?"":r},set(r){Di.call(this,"name",r)},enumerable:!0,configurable:!0},childNodes:{get(){if(we(this)){const r=Ae(this),f=Lt(r)?[]:rn(r,to(this));return Or(f)}return Ge.call(this)},enumerable:!0,configurable:!0}}),yt(Text.prototype,{assignedSlot:{get:ac,enumerable:!0,configurable:!0}});function es(r,f){let h;const S=Qt(r);if(lt(S))r instanceof HTMLBodyElement?h=ze.call(f,P=>lt(Qt(P))||ne(r)):h=V.call(f);else if(le(r)){const P=Ae(r);Lt(P)?h=[]:Ar(r)?h=Ks(r,f):h=rn(P,f)}else h=ze.call(f,P=>nn(P)===S);return h}function lc(){const r=gt(this);let f="";for(let h=0,S=r.length;h<S;h+=1)f+=Ao(r[h]);return f}function rl(){return Ao(this)}function cc(r){return r[$n]?ii(this,r):Ms.call(this,r)}function uc(){if(le(this)){const r=Xn(this);if(r.mode==="open")return r}return Us.call(this)}function se(){const r=Ae(this),f=Lt(r)?[]:rn(r,to(this));return Kn(ze.call(f,h=>h instanceof Element))}function fc(){return this.children.length}function yu(){return this.children[0]||null}function dc(){const{children:r}=this;return r.item(r.length-1)||null}yt(Element.prototype,{innerHTML:{get(){return we(this)||le(this)?lc.call(this):Gs.call(this)},set(r){qo.call(this,r)},enumerable:!0,configurable:!0},outerHTML:{get(){return we(this)||le(this)?rl.call(this):Mi.call(this)},set(r){ki.call(this,r)},enumerable:!0,configurable:!0},attachShadow:{value:cc,enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:uc,enumerable:!0,configurable:!0},children:{get(){return rr(this)?se.call(this):xi.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return rr(this)?fc.call(this):ks.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return rr(this)?yu.call(this):xs.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return rr(this)?dc.call(this):Ca.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:ac,enumerable:!0,configurable:!0}}),Dt.call(HTMLElement.prototype,"innerHTML")&&Ct(HTMLElement.prototype,"innerHTML",pt(Element.prototype,"innerHTML")),Dt.call(HTMLElement.prototype,"outerHTML")&&Ct(HTMLElement.prototype,"outerHTML",pt(Element.prototype,"outerHTML")),Dt.call(HTMLElement.prototype,"children")&&Ct(HTMLElement.prototype,"children",pt(Element.prototype,"children"));function ol(){const r=zt(In.apply(this,V.call(arguments)));if(le(this)){const f=Ae(this);return lt(Ar(this))?Lt(f)?null:Cr(f,r):Ke(this,r)}else if(we(this)){const f=Qt(this);if(lt(f))return r.length===0?null:r[0];{const h=Pn.call(r,S=>nn(S)===f);return lt(h)?null:h}}else{if(!(this instanceof HTMLBodyElement)){const h=r[0];return lt(h)?null:h}const f=Pn.call(r,h=>lt(Qt(h))||ne(this));return lt(f)?null:f}}function pc(r,f){let h;if(le(r)){const S=Ae(r);lt(Ar(r))?Lt(S)?h=[]:h=rn(S,f):h=Ks(r,f)}else if(we(r)){const S=Qt(r);lt(S)?h=V.call(f):h=ze.call(f,P=>nn(P)===S)}else r instanceof HTMLBodyElement?h=ze.call(f,S=>lt(Qt(S))||ne(r)):h=V.call(f);return h}yt(Element.prototype,{querySelector:{value:ol,writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const r=zt(In.apply(this,V.call(arguments))),f=pc(this,r);return Or(f)},writable:!0,enumerable:!0,configurable:!0}}),yt(Element.prototype,{getElementsByClassName:{value(){const r=zt(Hs.apply(this,V.call(arguments)));return Kn(es(this,r))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const r=zt(Dn.apply(this,V.call(arguments)));return Kn(es(this,r))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const r=zt(Lr.apply(this,V.call(arguments)));return Kn(es(this,r))},writable:!0,enumerable:!0,configurable:!0}}),Dt.call(HTMLElement.prototype,"getElementsByClassName")&&Ct(HTMLElement.prototype,"getElementsByClassName",pt(Element.prototype,"getElementsByClassName"));const ns=`
    [contenteditable],
    [tabindex],
    a[href],
    area[href],
    audio[controls],
    button,
    iframe,
    input,
    select,
    textarea,
    video[controls]
`,Lu=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function hc(r){return r.filter(f=>br.call(f,"tabindex")?Xr.call(f,"tabindex")==="0":Lu.has(Jr.call(f))?!br.call(f,"disabled"):!0)}const il=new WeakMap;function di(r){const{width:f,height:h}=Is.call(r),S=f>0||h>0,P=r.tagName==="AREA";return(S||P)&&getComputedStyle(r).visibility!=="hidden"}function bu(r){return le(r)&&oi(r)?!1:Qr.call(r,ns)&&di(r)}function mc(){const r=this.getRootNode();if(r===this){const P=en.call(this,ns);Lt(P)||P.focus.apply(P,arguments);return}if(r.activeElement===this)return;const h=zt(In.call(this,ns));let S=!1;for(;!S&&h.length!==0;){const P=h.shift();P.focus.apply(P,arguments),S=P.getRootNode().activeElement===P}}function oa(r){const f=He(r),h=hc(zt(Bn.call(f,ns))),S=hc(zt(In.call(r,ns))),P=S[0],Y=S[S.length-1],jt=ge.call(h,r),Xt=jt>-1?jt:ge.call(h,P),re=S.length===0?Xt+1:ge.call(h,Y)+1,be=V.call(h,0,Xt),Wn=V.call(h,re);return{prev:be,inner:S,next:Wn}}function Sc(r){const f=He(r),h=Hn.call(f);return Lt(h)||(tn.call(r,h)&gr)!=0?h:null}function rs(r,f){const h=tn.call(r,f);return h&gr?0:h&Ta?1:h&va?2:-1}function sl(r){r.preventDefault(),r.stopPropagation()}function al(r,f){Jo.call(r,"focusin",sl,!0),Jo.call(r,"focusout",sl,!0),f(),Wo.call(r,"focusin",sl,!0),Wo.call(r,"focusout",sl,!0)}function Ir(r,f,h){const S=Ma(h),P=Eu(r,h);Lt(P)?al(S,()=>{f.blur()}):al(S,()=>{P.focus()})}let os=!1;function gc(){os=!0}function ll(){os=!1}function $u(){return!os}function _u(r){if(os)return;const f=ve.call(r),h=ln.call(r);if(f!==h)return;const S=Tr.call(r);if(Lt(S))return;const P=oa(f);if(rs(f,S)===1){const jt=Lc.bind(null,f.getRootNode()),Xt=Pn.call(P.inner,jt);if(lt(Xt))Ir(P.next,h,S);else{const re=Ma(Xt);al(re,()=>{Xt.focus()})}}else f===h&&Ir(Qn.call(P.prev),h,S)}function yc(r){if(os)return;const f=Tr.call(r);if(Lt(f))return;const h=ve.call(r),S=oa(h);if(ge.call(S.inner,f)!==-1)return;const P=ln.call(r),Y=rs(h,f);Y===1&&Ir(S.next,P,f),Y===2&&Ir(Qn.call(S.prev),P,f)}function Lc(r,f){if(!bu(f))return!1;const h=He(f);let S=f.getRootNode();for(;S!==h&&S!==r;){const Y=S.host;if(Xr.call(Y,"tabindex")==="-1")return!1;S=Y&&Y.getRootNode()}return!0}function Eu(r,f){const h=r.length;if(h>0)for(let S=0;S<h;S+=1){const P=r[S];if(Lc(f.getRootNode(),P))return P}return null}function bc(r){_c(r),Wu(r),Ue.call(r,"focusin",_u,!0)}function $c(r){wr.call(r,"focusin",_u,!0)}function _c(r){const f=He(r);il.get(f)||(il.set(f,!0),Ue.call(f,"mousedown",gc,!0),Ue.call(f,"mouseup",()=>{setTimeout(ll)},!0),Ue.call(f,"dragstart",ll,!0))}function lo(r){_c(r),$c(r),Ue.call(r,"focusin",yc,!0)}function Wu(r){wr.call(r,"focusin",yc,!0)}const{blur:pi,focus:Ec}=HTMLElement.prototype;function cl(){return oi(this)&&mr(br.call(this,"tabindex"))?0:Yo.call(this)}function Tu(r){const f=oi(this),h=Yo.call(this),S=br.call(this,"tabindex");Wr.call(this,r);const P=Yo.call(this),Y=br.call(this,"tabindex"),jt=h!==P;S&&(jt||mr(Y))&&(h===-1&&Wu(this),h===0&&f&&$c(this)),!mr(Y)&&(S&&Y&&mr(jt)||(P===-1&&lo(this),P===0&&f&&bc(this)))}function Wc(){if(oi(this)){const r=Sc(this);if(!Lt(r)){r.blur();return}}return pi.call(this)}function Tc(){const r=$u();if(r&&gc(),le(this)&&oi(this)){mc.call(this);return}Ec.apply(this,arguments),r&&ll()}yt(HTMLElement.prototype,{tabIndex:{get(){return le(this)?cl.call(this):Yo.call(this)},set(r){return le(this)?Tu.call(this,r):Wr.call(this,r)},enumerable:!0,configurable:!0},blur:{value(){if(le(this))return Wc.call(this);pi.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Tc.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),$o!==null&&Fs!==null&&Ct(HTMLElement.prototype,"innerText",{get(){return $o.call(this)},set(r){Fs.call(this,r)},enumerable:!0,configurable:!0}),Ii!==null&&Yr!==null&&Ct(HTMLElement.prototype,"outerText",{get(){return Ii.call(this)},set(r){Yr.call(this,r)},enumerable:!0,configurable:!0});function vu(r){return r[wi]}function ul(r,f){r[wi]=f}Ct(Element.prototype,wi,{set(r){const f=this[Et];!lt(f)&&f!==r&&$r.call(this,f),lt(r)||Di.call(this,r,""),this[Et]=r},get(){return this[Et]},configurable:!0});function vc(r,f){r[yo]=f;const h=Ge.call(r);for(let S=0,P=h.length;S<P;S++)vc(h[S],f)}Ct(Element.prototype,Wa,{set(r){if(r){const f=this[yo];vc(this,f)}this[vs]=r},get(){return this[vs]},configurable:!0});const wc="$$DomManualKey$$",wu=function(){};let qe;const Ac={childList:!0};function ia(r,f,h){const S=qn(r);if(S!==f&&(Ro(r,f),r instanceof Element)){if(ul(r,h),le(r))return;lt(S)&&Qo.call(qe,r,Ac);const P=Ge.call(r);for(let Y=0,jt=P.length;Y<jt;Y+=1)ia(P[Y],f,h)}}function is(){return new To(r=>{ee.call(r,f=>{const{target:h,addedNodes:S,removedNodes:P}=f,Y=qn(h),jt=vu(h);for(let Xt=0,re=P.length;Xt<re;Xt+=1){const be=P[Xt];tn.call(h,be)&ye.DOCUMENT_POSITION_CONTAINED_BY||ia(be,wu,void 0)}for(let Xt=0,re=S.length;Xt<re;Xt+=1){const be=S[Xt];tn.call(h,be)&ye.DOCUMENT_POSITION_CONTAINED_BY&&ia(be,Y,jt)}})})}function Au(r){if(lt(qe)&&(qe=is()),lt(qn(r)))throw new Error("Invalid Element");Qo.call(qe,r,Ac)}Ct(Element.prototype,"$domManual$",{set(r){this[wc]=r,hr(r)&&Au(this)},get(){return this[wc]},configurable:!0})}),LWR.define("@lwrjs/app-service/communities_app/module/amd/v/0_9_0",["lwr/loaderLegacy/v/0_9_0","@lwc/synthetic-shadow/v/2_41_4","webruntime/hook/v/1_66_319-244_0","webruntime/o11yHook/v/1_66_319-244_0","webruntime/dynamicImportResourceHook/v/1_66_319-244_0","lwr/init/v/0_9_0","lwr/lockerDefine/v/0_9_0"],function(Ot,Ee,c,We,Se,fe,Ht){"use strict";function yt(It){return It&&typeof It=="object"&&"default"in It?It:{default:It}}var Ct=yt(c),oe=yt(We),pt=yt(Se);Ct.default(Ot.services),oe.default(Ot.services),pt.default(Ot.services),Ht.registerLockerDefine(["@locker/*","lwr/*","@lwrjs/*","lwc","@lwc/*","lwr","assert","logger","webruntime","webruntime/*","mobileruntime/hybridAppManager","@view","@view/*","@app","@app/*","@design","@design/*","@lwrjs","webruntimedesign","webruntimedesign/*","@luvio","@luvio/*","aura-instrumentation","aura","instrumentation/service","instrumentation/utility","aura-storage","transport","wire-service","force/ldsAdaptersAnalyticsDataService","force/ldsAdaptersAnalyticsSmartDataDiscovery","force/ldsAdaptersAnalyticsWave","force/ldsAdaptersAnalyticsWavePrivate","force/ldsAdaptersApex","force/ldsAdaptersCmsAuthoring","force/ldsAdaptersCmsDelivery","force/ldsAdaptersCmsType","force/ldsAdaptersCommerceCatalog","force/ldsAdaptersCommerceSearch","force/ldsAdaptersCommerceStorePricing","force/ldsAdaptersCommunityMicrobatching","force/ldsAdaptersCommunityNavigationMenu","force/ldsAdaptersCommunitySeo","force/ldsAdaptersCommunitySitesSearch","force/ldsAdaptersExperienceMarketingIntegration","force/ldsAdaptersGraphql","force/ldsAdaptersIndustriesCib","force/ldsAdaptersIndustriesClm","force/ldsAdaptersIndustriesDecisionMatrixDesigner","force/ldsAdaptersIndustriesEinsteinAiaccelerator","force/ldsAdaptersIndustriesExplainability","force/ldsAdaptersIndustriesHealthcloudHpi","force/ldsAdaptersIndustriesIdentityverification","force/ldsAdaptersIndustriesInteresttagging","force/ldsAdaptersIndustriesLoyaltyEngine","force/ldsAdaptersIndustriesPublicSector","force/ldsAdaptersIndustriesRcgTenantmanagement","force/ldsAdaptersIndustriesRuleBuilder","force/ldsAdaptersIndustriesSustainabilityBei","force/ldsAdaptersIndustriesSustainabilityDgf","force/ldsAdaptersIndustriesSustainabilityRecalculate","force/ldsAdaptersIndustriesSustainabilityRecordLockunlock","force/ldsAdaptersIndustriesSustainabilityReferenceData","force/ldsAdaptersIndustriesTimeline","force/ldsAdaptersIndustriesVideovisits","force/ldsAdaptersMarketingAssetcreation","force/ldsAdaptersPlatformAdminSuccessGuidance","force/ldsAdaptersPlatformFlow","force/ldsAdaptersPlatformFlowBuilder","force/ldsAdaptersPlatformInteractionOrchestrator","force/ldsAdaptersPlatformLearningContent","force/ldsAdaptersPlatformScaleCenter","force/ldsAdaptersRevenueBillingBatch","force/ldsAdaptersUiapi","force/ldsBindings","force/ldsEngine","force/ldsEngineCreator","force/ldsEngineWebruntime","force/ldsEnvironmentSettings","force/ldsInstrumentation","force/ldsNetwork","force/ldsRecordData","force/ldsStorage","force/mobileCapabilities","runtime_hybrid_capabilities/nativeCapabilities","o11y","o11y/*","@o11y","@o11y/*","@salesforce","@udd","@perm","@branding","@salesforce/*","@udd/*","@perm/*","@branding/*","trustedDesign/shadowDomUtils","community_builder/seoAssistant","community_case/supportQuickActionLayout","community_runtime/utils","community_user/userSettings","embeddedMessaging/container","experience_messaging/embeddedMessaging","community_login/checkEmail","community_login/forgotPassword","community_login/loginForm","community_login/loginUtils","community_login/selfRegister","community_login/socialLogin","b2c_lite_commerce/cartApi","b2c_lite_commerce/checkout","b2c_lite_commerce/checkoutApi","b2c_lite_commerce/checkoutApiDataSource","b2c_lite_commerce/checkoutRequestRetry","b2c_lite_commerce/context","b2c_lite_commerce/data","b2c_lite_commerce/einsteinActivitiesApi","b2c_lite_commerce/einsteinApi","b2c_lite_commerce/einsteinProductAndPriceApi","b2c_lite_commerce/heroBannerUi","b2c_lite_commerce/myAccountMenu","b2c_lite_commerce/orderSummary","b2c_lite_commerce/store","lightning","lightning/*","interop/button","interop/buttonIcon","dxp_page_layout/placeHolderDesign","community_builder/richTextEditor","dxp_form/baseForm","dxp_form/contactForm","dxp_form/dynamicForm","dxp_form/layoutUtils","dxp_form/leadForm","dxp_base/languageSelector","dxp_search/siteResults","dxp_flowruntime","dxp_flowruntime/*","flowruntime","flowruntime/*","experience/store","experience/data","experience/util","experience/cmsDeliveryApi","experience/userApi"]);const bn=globalThis.LWR,{rootComponents:un,ssrProps:Dt}=bn;Promise.all(un.map(async It=>{const Jn=fe.toKebabCase(It);return Ot.load(It,"@lwrjs/app-service/communities_app/module/amd/v/0_9_0").then(({default:Fe})=>{fe.init([[Jn,Fe]],Dt)})})),globalThis.LWR=Object.freeze({define:globalThis.LWR.define})});