@lwrjs/client-modules 0.6.4 → 0.7.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const{apply:t,construct:e,deleteProperty:n,has:r,get:o,getPrototypeOf:i,set:c,setPrototypeOf:a,defineProperty:s,isExtensible:u,getOwnPropertyDescriptor:l,ownKeys:f,preventExtensions:p}=Reflect,h=Array,{prototype:d}=h,{filter:y,includes:m,indexOf:g,join:b,pop:w,shift:v,some:T,sort:E,unshift:S}=d,{from:_,isArray:k}=h,{push:x,slice:N}=d;function P(e,...n){const r=t(N,e,[0]),{length:o}=n;for(let e=0;e<o;e+=1){const o=n[e];t(x,r,k(o)?o:[o])}return r}function O(e,n){return t(y,e,[n])}function A(e,n){return t(m,e,[n])}function L(e,...n){return t(b,e,n)}function C(e,...n){return t(x,e,n)}function D(e,...n){return t(N,e,n)}const M=Object,{assign:R,create:I,defineProperties:j,getOwnPropertyDescriptors:$,freeze:F,getOwnPropertyNames:H,getOwnPropertySymbols:G,keys:z,seal:U,isSealed:B,isFrozen:W,preventExtensions:K,prototype:V}=M,{__lookupGetter__:q,__lookupSetter__:X,hasOwnProperty:Y,toString:J}=V;function Z(t){return"object"==typeof t&&null!==t}function Q(t){return"object"==typeof t&&null!==t||"function"==typeof t}function tt(e,n){return null!=e&&t(Y,e,[n])}function et(e,n){if(null!=e&&t(Y,e,[n]))return t(q,e,[n])}function nt(e,n){if(null!=e&&t(Y,e,[n]))return t(X,e,[n])}function rt(e,n){if(null!=e&&t(Y,e,[n]))return e[n]}function ot(e){return t(J,e,[])}const it=ArrayBuffer,{isView:ct}=it,at=et(it.prototype,"byteLength");const st="function"==typeof BigInt,ut=st?BigInt.prototype.valueOf:void 0,lt=st?function(e){if("object"==typeof e&&null!==e)try{return t(ut,e,[]),!0}catch(t){}return!1}:function(t){return!1},{valueOf:ft}=Boolean.prototype;const pt=Date,{valueOf:ht}=pt.prototype,{now:dt}=pt;const{bind:yt}=Function.prototype,mt=(e,n)=>t(yt,e,[n]),gt=Map,{prototype:bt}=gt,{clear:wt,entries:vt,forEach:Tt,get:Et,set:St}=bt,_t=et(bt,"size");function kt(e){return t(vt,e,[])}function xt(e,n,r){return t(St,e,[n,r])}const Nt=Number,{toFixed:Pt,valueOf:Ot}=Nt.prototype,{isFinite:At}=Nt;const Lt=String,{prototype:Ct}=Lt,{charCodeAt:Dt,includes:Mt,match:Rt,replace:It,slice:jt,split:$t,startsWith:Ft,toLowerCase:Ht,toUpperCase:Gt,valueOf:zt}=Ct;function Ut(e,n){return t(Dt,e,[n])}function Bt(e,...n){return t(Mt,e,n)}function Wt(e,n){return t(Rt,e,[n])}function Kt(e,n,r){return t(It,e,[n,r])}function Vt(e,...n){return t(jt,e,n)}function qt(e,...n){return t($t,e,n)}function Xt(e,...n){return t(Ft,e,n)}function Yt(e){return t(Ht,e,[])}function Jt(e){return t(Gt,e,[])}function Zt(t){try{return Lt(t)}catch(t){}return""}const Qt=RegExp,{prototype:te}=Qt,{test:ee}=te,ne=et(te,"source");function re(e){try{if(e!==te)return t(ne,e,[]),!0}catch(t){}return!1}function oe(e,n){return t(ee,e,[Zt(n)])}const ie=Set,{prototype:ce}=ie,{add:ae,delete:se,has:ue,values:le}=ce,fe=et(ce,"size");function pe(e,n){return t(ae,e,[n])}function he(e,n){return t(ue,e,[n])}const de=Symbol,{valueOf:ye}=de.prototype,{for:me,iterator:ge}=de;const be=WeakMap,{get:we,has:ve,set:Te}=be.prototype;function Ee(e,n){return t(we,e,[n])}function Se(e,n,r){return t(Te,e,[n,r])}const{has:_e}=WeakSet.prototype;const{toStringTag:ke}=Symbol;function xe(e){if(null===e)return"[object Null]";if(void 0===e)return"[object Undefined]";switch(typeof e){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return k(e)?"[object Array]":r(e,ke)?function(e){if("object"==typeof e&&null!==e)try{return t(ht,e,[]),!0}catch(t){}return!1}(e)?"[object Date]":function(e){try{return t(_t,e,[]),!0}catch(t){}return!1}(e)?"[object Map]":re(e)?"[object RegExp]":function(e){try{return t(fe,e,[]),!0}catch(t){}return!1}(e)?"[object Set]":function(e){if("object"==typeof e&&null!==e)try{return t(ve,e,[]),!0}catch(t){}return!1}(e)?"[object WeakMap]":function(e){if("object"==typeof e&&null!==e)try{return t(_e,e,[]),!0}catch(t){}return!1}(e)?"[object WeakSet]":lt(e)?"[object BigInt]":function(e){if("object"==typeof e&&null!==e)try{return t(ft,e,[]),!0}catch(t){}return!1}(e)?"[object Boolean]":function(e){if("object"==typeof e&&null!==e)try{return t(Ot,e,[]),!0}catch(t){}return!1}(e)?"[object Number]":function(e){if("object"==typeof e&&null!==e)try{return t(zt,e,[]),!0}catch(t){}return!1}(e)?"[object String]":function(e){if("object"==typeof e&&null!==e)try{return t(ye,e,[]),!0}catch(t){}return!1}(e)?"[object Symbol]":"[object Object]":ot(e)}const Ne="undefined"==typeof performance?dt:mt(performance.now,performance);function Pe(t){return a(t,null),t}function Oe(e){return t(N,e,[0])}function Ae(t){const e=f(t),n={__proto__:null};for(let r=0,{length:o}=e;r<o;r+=1){const o=e[r];n[o]=t[o]}return n}const Le=console,{warn:Ce}=Le;function De(...e){t(Ce,Le,e)}const Me=Proxy,Re=Proxy.revocable;function Ie(t){const e=Re(t,{__proto__:null});return e.revoke(),e.proxy}class je extends Error{constructor(t){super(`Lightning Web Security: ${t}`)}}const{parse:$e,stringify:Fe}=JSON,He=me("@@lockerLiveValue");function Ge(e){if(null==e||e===V||"object"!=typeof e&&"function"!=typeof e)return!1;if("object"==typeof e){const{constructor:n}=e;if(n===M)return!0;let r=!1;if(null===i(e)&&(r="function"!=typeof n||n.prototype!==e),r||(r=k(e)||ct(e)||function(e){try{return t(at,e,[]),!0}catch(t){}return!1}(e)||re(e)),r)return r}return tt(e,He)}function ze(t){return s(t,He,{__proto__:null,value:void 0}),t}function Ue(t){return Q(t)?Ge(t)?t:ze(t):t}const Be=Math.min,We=me("@@lockerNearMembraneSerializedValue"),Ke=me("@@lockerNearMembrane");function Ve(t){return We in t?void 0:t[We]}function qe(t){return Q(t)&&!(Ke in t)&&!0===t[Ke]}const{then:Xe}=Promise.prototype,Ye=Promise.reject.bind(Promise);function Je(e,...n){return t(Xe,e,n)}const Ze=et(Attr.prototype,"name"),Qe=et(Attr.prototype,"namespaceURI"),tn=et(Attr.prototype,"ownerElement"),{get:en,set:nn}=l(Attr.prototype,"value");function rn(e){return t(Ze,e,[])}function on(e){return t(Qe,e,[])}function cn(e){return t(tn,e,[])}function an(e){return t(en,e,[])}function sn(e,n){t(nn,e,[n])}const{get:un,set:ln}=l(Document.prototype,"cookie"),{createComment:fn,createElement:pn,createElementNS:hn,getElementById:dn}=Document.prototype,yn=et(Document.prototype,"body"),mn=et(Document.prototype,"documentElement"),gn=et(Document.prototype,"head"),bn=et(Document.prototype,"implementation");function wn(e){return t(yn,e,[])}function vn(e,...n){return t(pn,e,n)}function Tn(e){return t(mn,e,[])}function En(t){return`LSKey-${t}$`}function Sn(t,e){return`${En(e)}${t}`}const{setAttribute:_n,setAttributeNS:kn}=Element.prototype,{closest:xn,getAttribute:Nn,getAttributeNode:Pn,getAttributeNodeNS:On,hasAttribute:An,querySelector:Ln,removeAttributeNode:Cn}=Element.prototype,{get:Dn,set:Mn}=l(Element.prototype,"innerHTML"),{get:Rn}=l(Element.prototype,"outerHTML"),In=et(Element.prototype,"namespaceURI");function jn(e){return t(Dn,e,[])}function $n(e,n){t(Mn,e,[n])}function Fn(e){return t(Rn,e,[])}function Hn(e,n){return t(Ln,e,[n])}function Gn(e,n){return t(Nn,e,[n])}function zn(e,n){return t(Pn,e,[n])}function Un(e,n,r){return t(On,e,[n,r])}function Bn(e,n){return t(An,e,[n])}function Wn(e,n,r){return t(_n,e,[n,r])}function Kn(e,n,r,o){return t(kn,e,[n,r,o])}function Vn(e,n){return t(Cn,e,[n])}const qn=et(HTMLTemplateElement.prototype,"content");function Xn(e){return t(qn,e,[])}const{prototype:Yn}=Node,{appendChild:Jn,cloneNode:Zn,isEqualNode:Qn}=Yn,tr=et(Yn,"childNodes"),er=et(Yn,"firstChild"),nr=et(Yn,"nodeName"),rr=et(Yn,"ownerDocument");function or(e,n){return t(Jn,e,[n])}function ir(e){return t(tr,e,[])}function cr(e,n){const r=e instanceof HTMLTemplateElement?Xn(e):e,o=n instanceof HTMLTemplateElement?Xn(n):n;if(t(Qn,r,[o])){const t=ir(r),e=t.length;if(e>0){const n=ir(o);for(let r=0;r<e;r+=1)if(!1===cr(t[r],n[r]))return!1}return!0}return!1}const ar=new be;class sr{constructor(e){this.isEqualDomString=(t,e)=>($n(this._templates.left,t),$n(this._templates.right,e),cr(this._templates.left,this._templates.right)),this.isSharedElement=e=>{return e===(n=this._document,t(gn,n,[]))||e===wn(this._document)||e===Tn(this._document);var n},this.isSharedElementChild=t=>t instanceof this._constructors.HTMLLinkElement||t instanceof this._constructors.HTMLScriptElement,this.isMediaSourceObject=t=>this._constructors.MediaSource&&t instanceof this._constructors.MediaSource;const{document:n,HTMLLinkElement:r,HTMLScriptElement:o,MediaSource:i}=e;this._constructors={HTMLLinkElement:r,HTMLScriptElement:o,MediaSource:i},this._document=n,this._templates={left:vn(this._document,"template"),right:vn(this._document,"template")}}}function ur(t){let e=Ee(ar,t);return e||(e=new sr(t),Se(ar,t,e)),e}const lr=et(Blob.prototype,"size"),{slice:fr}=Blob.prototype,pr=et(Blob.prototype,"type"),hr=Blob;function dr(e,...n){return t(fr,e,n)}const yr=new gt;function mr(t,e){const n=new gt,r=kt(t);for(;;){const{done:t,value:o}=r.next();if(t)break;const{0:i,1:c}=o;let a;C(e,[t=>{a=t},i],[t=>{xt(n,a,t)},c])}return n}function gr(t){const{flags:e,source:n}=$e(Ve(t));return new Qt(n,e)}function br(e,n){const r=new ie,o=function(e){return t(le,e,[])}(e);for(;;){const{done:t,value:e}=o.next();if(t)break;C(n,[t=>{pe(r,t)},e])}return r}function wr(t,e,n){const r=z(e);for(let o=0,{length:i}=r;o<i;o+=1){const i=r[o];C(t,[t=>{n[i]=t},e[i]])}}function vr(e){let n=e;try{n=function(e){let n;const r=[[t=>{n=t},e]];t:for(;r.length;){const{0:e,1:n}=t(v,r,[]);if(null==n||"boolean"==typeof n||"number"==typeof n||"string"==typeof n||"bigint"==typeof n){e(n);continue t}if("symbol"==typeof n){e(n);break t}let o=t(Et,yr,[n]);if(o){e(o);continue t}const c=xe(n);switch(c){case"[object Object]":{const t=i(n);t!==V&&null!==t||(o={},wr(r,n,o));break}case"[object Array]":o=new h(n.length),wr(r,n,o);break;case"[object Map]":o=mr(n,r);break;case"[object Set]":o=br(n,r)}if(void 0===o){if(!qe(n)){xt(yr,n,n),e(n);continue t}switch(c){case"[object RegExp]":o=gr(n);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":o=M(Ve(n))}}if(void 0===o){e(n);break t}xt(yr,n,o),e(o)}return n}(e)}catch(t){}return t(wt,yr,[]),n}const{getElementById:Tr,querySelector:Er}=DocumentFragment.prototype;function Sr(e,n){return t(Er,e,[n])}const{createDocument:_r}=DOMImplementation.prototype;const kr=et(DOMTokenList.prototype,"value");const xr=et(Event.prototype,"currentTarget");const{addEventListener:Nr}=EventTarget.prototype;function Pr(e,...n){return t(Nr,e,n)}const Or=et(HTMLAnchorElement.prototype,"hostname"),{get:Ar,set:Lr}=l(HTMLAnchorElement.prototype,"href"),Cr=et(HTMLAnchorElement.prototype,"pathname"),Dr=et(HTMLAnchorElement.prototype,"protocol");function Mr(e){return t(Or,e,[])}function Rr(e){return t(Ar,e,[])}function Ir(e,n){t(Lr,e,[n])}function jr(e){return t(Dr,e,[])}const $r=et(HTMLElement.prototype,"dataset");function Fr(e){return t($r,e,[])}const Hr=nt(HTMLIFrameElement.prototype,"src");l(HTMLScriptElement.prototype,"src");const Gr="http://www.w3.org/1999/xlink",zr=et(Request.prototype,"url");const{key:Ur,getItem:Br,removeItem:Wr,setItem:Kr}=Storage.prototype,Vr=et(SVGElement.prototype,"dataset");function qr(e){return t(Vr,e,[])}const{createObjectURL:Xr,revokeObjectURL:Yr}=URL,Jr=["opener","parent"],Zr=["close","closed","focus"],Qr={},to=new be,{clearInterval:eo,setInterval:no}=window,ro=et(window,"length"),oo=et(window,"self"),{decodeURIComponent:io,encodeURIComponent:co}=window;function ao(e){const{postMessage:n}=e;return function(...r){return r.length&&(r=vr(r)),t(n,e,r)}}function so(e){let n=null;return e&&(n=Ee(to,e),void 0===n&&(n=function(e){const n={};for(let r=0,{length:o}=Zr;r<o;r+=1){const o=Zr[r],i=l(e,o);if(i){const r=Pe(i),{value:c}=r;if("function"==typeof c){const t=mt(c,e),n=l(c,"name");n&&s(t,"name",Pe(n)),i.value=t}else{const{get:n,set:o}=r;let i=Qr;"function"==typeof n&&(r.get=function(){return i===Qr?t(n,e,[]):i}),"function"==typeof o&&(r.set=function(t){i=t})}s(n,o,r)}}for(let r=0,{length:o}=Jr;r<o;r+=1){const o=Jr[r],i=l(e,o);if(i){const r=Pe(i),{get:c,set:a}=r;let u=Qr;"function"==typeof c&&(r.get=function(){return u===Qr?so(t(c,e,[])):u}),"function"==typeof a&&(r.set=function(t){u=t}),s(n,o,r)}}const r=l(e,"postMessage");if(r){const t=Pe(r);t.value=ao(e),s(n,"postMessage",t)}return n}(e),Se(to,e,n))),n}function uo(e){try{return t(oo,e,[]),!0}catch(t){}return!1}function lo(t){return tt(t,"top")}function fo(e){return t(ro,e,[])}const po=XMLHttpRequest,{prototype:ho}=po,{send:yo}=ho,mo=et(ho,"responseText"),go=et(ho,"status"),bo=nt(ho,"withCredentials"),{open:wo}=ho;function vo(e,n,r,o=!0){return t(wo,e,[n,r,o])}function To(e){return t(mo,e,[])}function Eo(e){return t(yo,e,[])}function So(e){return t(go,e,[])}var _o=Object.hasOwnProperty,ko=Object.setPrototypeOf,xo=Object.isFrozen,No=Object.getPrototypeOf,Po=Object.getOwnPropertyDescriptor,Oo=Object.freeze,Ao=Object.seal,Lo=Object.create,Co="undefined"!=typeof Reflect&&Reflect,Do=Co.apply,Mo=Co.construct;Do||(Do=function(t,e,n){return t.apply(e,n)}),Oo||(Oo=function(t){return t}),Ao||(Ao=function(t){return t}),Mo||(Mo=function(t,e){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e))))});var Ro,Io=Ko(Array.prototype.forEach),jo=Ko(Array.prototype.pop),$o=Ko(Array.prototype.push),Fo=Ko(String.prototype.toLowerCase),Ho=Ko(String.prototype.match),Go=Ko(String.prototype.replace),zo=Ko(String.prototype.indexOf),Uo=Ko(String.prototype.trim),Bo=Ko(RegExp.prototype.test),Wo=(Ro=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return Mo(Ro,e)});function Ko(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Do(t,e,r)}}function Vo(t,e){ko&&ko(t,null);for(var n=e.length;n--;){var r=e[n];if("string"==typeof r){var o=Fo(r);o!==r&&(xo(e)||(e[n]=o),r=o)}t[r]=!0}return t}function qo(t){var e=Lo(null),n=void 0;for(n in t)Do(_o,t,[n])&&(e[n]=t[n]);return e}function Xo(t,e){for(;null!==t;){var n=Po(t,e);if(n){if(n.get)return Ko(n.get);if("function"==typeof n.value)return Ko(n.value)}t=No(t)}return function(t){return console.warn("fallback value for",t),null}}var Yo=Oo(["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"]),Jo=Oo(["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"]),Zo=Oo(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Qo=Oo(["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"]),ti=Oo(["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"]),ei=Oo(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ni=Oo(["#text"]),ri=Oo(["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"]),oi=Oo(["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","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"]),ii=Oo(["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"]),ci=Oo(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ai=Ao(/\{\{[\s\S]*|[\s\S]*\}\}/gm),si=Ao(/<%[\s\S]*|[\s\S]*%>/gm),ui=Ao(/^data-[\-\w.\u00B7-\uFFFF]/),li=Ao(/^aria-[\-\w]+$/),fi=Ao(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),pi=Ao(/^(?:\w+script|data):/i),hi=Ao(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),di="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function yi(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var mi=function(){return"undefined"==typeof window?null:window},gi=function(t,e){if("object"!==(void 0===t?"undefined":di(t))||"function"!=typeof t.createPolicy)return null;var n=null,r="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(r)&&(n=e.currentScript.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};var bi=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:mi(),n=function(e){return t(e)};if(n.version="2.3.4",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,o=e.document,i=e.DocumentFragment,c=e.HTMLTemplateElement,a=e.Node,s=e.Element,u=e.NodeFilter,l=e.NamedNodeMap,f=void 0===l?e.NamedNodeMap||e.MozNamedAttrMap:l,p=e.HTMLFormElement,h=e.DOMParser,d=e.trustedTypes,y=s.prototype,m=Xo(y,"cloneNode"),g=Xo(y,"nextSibling"),b=Xo(y,"childNodes"),w=Xo(y,"parentNode");if("function"==typeof c){var v=o.createElement("template");v.content&&v.content.ownerDocument&&(o=v.content.ownerDocument)}var T=gi(d,r),E=T&&tt?T.createHTML(""):"",S=o,_=S.implementation,k=S.createNodeIterator,x=S.createDocumentFragment,N=S.getElementsByTagName,P=r.importNode,O={};try{O=qo(o).documentMode?o.documentMode:{}}catch(t){}var A={};n.isSupported="function"==typeof w&&_&&void 0!==_.createHTMLDocument&&9!==O;var L=ai,C=si,D=ui,M=li,R=pi,I=hi,j=fi,$=null,F=Vo({},[].concat(yi(Yo),yi(Jo),yi(Zo),yi(ti),yi(ni))),H=null,G=Vo({},[].concat(yi(ri),yi(oi),yi(ii),yi(ci))),z=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}})),U=null,B=null,W=!0,K=!0,V=!1,q=!1,X=!1,Y=!1,J=!1,Z=!1,Q=!1,tt=!1,et=!0,nt=!0,rt=!1,ot={},it=null,ct=Vo({},["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"]),at=null,st=Vo({},["audio","video","img","source","image","track"]),ut=null,lt=Vo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ft="http://www.w3.org/1998/Math/MathML",pt="http://www.w3.org/2000/svg",ht="http://www.w3.org/1999/xhtml",dt=ht,yt=!1,mt=void 0,gt=["application/xhtml+xml","text/html"],bt="text/html",wt=void 0,vt=null,Tt=o.createElement("form"),Et=function(t){return t instanceof RegExp||t instanceof Function},St=function(t){vt&&vt===t||(t&&"object"===(void 0===t?"undefined":di(t))||(t={}),t=qo(t),$="ALLOWED_TAGS"in t?Vo({},t.ALLOWED_TAGS):F,H="ALLOWED_ATTR"in t?Vo({},t.ALLOWED_ATTR):G,ut="ADD_URI_SAFE_ATTR"in t?Vo(qo(lt),t.ADD_URI_SAFE_ATTR):lt,at="ADD_DATA_URI_TAGS"in t?Vo(qo(st),t.ADD_DATA_URI_TAGS):st,it="FORBID_CONTENTS"in t?Vo({},t.FORBID_CONTENTS):ct,U="FORBID_TAGS"in t?Vo({},t.FORBID_TAGS):{},B="FORBID_ATTR"in t?Vo({},t.FORBID_ATTR):{},ot="USE_PROFILES"in t&&t.USE_PROFILES,W=!1!==t.ALLOW_ARIA_ATTR,K=!1!==t.ALLOW_DATA_ATTR,V=t.ALLOW_UNKNOWN_PROTOCOLS||!1,q=t.SAFE_FOR_TEMPLATES||!1,X=t.WHOLE_DOCUMENT||!1,Z=t.RETURN_DOM||!1,Q=t.RETURN_DOM_FRAGMENT||!1,tt=t.RETURN_TRUSTED_TYPE||!1,J=t.FORCE_BODY||!1,et=!1!==t.SANITIZE_DOM,nt=!1!==t.KEEP_CONTENT,rt=t.IN_PLACE||!1,j=t.ALLOWED_URI_REGEXP||j,dt=t.NAMESPACE||ht,t.CUSTOM_ELEMENT_HANDLING&&Et(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&Et(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),mt=mt=-1===gt.indexOf(t.PARSER_MEDIA_TYPE)?bt:t.PARSER_MEDIA_TYPE,wt="application/xhtml+xml"===mt?function(t){return t}:Fo,q&&(K=!1),Q&&(Z=!0),ot&&($=Vo({},[].concat(yi(ni))),H=[],!0===ot.html&&(Vo($,Yo),Vo(H,ri)),!0===ot.svg&&(Vo($,Jo),Vo(H,oi),Vo(H,ci)),!0===ot.svgFilters&&(Vo($,Zo),Vo(H,oi),Vo(H,ci)),!0===ot.mathMl&&(Vo($,ti),Vo(H,ii),Vo(H,ci))),t.ADD_TAGS&&($===F&&($=qo($)),Vo($,t.ADD_TAGS)),t.ADD_ATTR&&(H===G&&(H=qo(H)),Vo(H,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&Vo(ut,t.ADD_URI_SAFE_ATTR),t.FORBID_CONTENTS&&(it===ct&&(it=qo(it)),Vo(it,t.FORBID_CONTENTS)),nt&&($["#text"]=!0),X&&Vo($,["html","head","body"]),$.table&&(Vo($,["tbody"]),delete U.tbody),Oo&&Oo(t),vt=t)},_t=Vo({},["mi","mo","mn","ms","mtext"]),kt=Vo({},["foreignobject","desc","title","annotation-xml"]),xt=Vo({},Jo);Vo(xt,Zo),Vo(xt,Qo);var Nt=Vo({},ti);Vo(Nt,ei);var Pt=function(t){var e=w(t);e&&e.tagName||(e={namespaceURI:ht,tagName:"template"});var n=Fo(t.tagName),r=Fo(e.tagName);if(t.namespaceURI===pt)return e.namespaceURI===ht?"svg"===n:e.namespaceURI===ft?"svg"===n&&("annotation-xml"===r||_t[r]):Boolean(xt[n]);if(t.namespaceURI===ft)return e.namespaceURI===ht?"math"===n:e.namespaceURI===pt?"math"===n&&kt[r]:Boolean(Nt[n]);if(t.namespaceURI===ht){if(e.namespaceURI===pt&&!kt[r])return!1;if(e.namespaceURI===ft&&!_t[r])return!1;var o=Vo({},["title","style","font","a","script"]);return!Nt[n]&&(o[n]||!xt[n])}return!1},Ot=function(t){$o(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=E}catch(e){t.remove()}}},At=function(t,e){try{$o(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){$o(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!H[t])if(Z||Q)try{Ot(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Lt=function(t){var e=void 0,n=void 0;if(J)t="<remove></remove>"+t;else{var r=Ho(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===mt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var i=T?T.createHTML(t):t;if(dt===ht)try{e=(new h).parseFromString(i,mt)}catch(t){}if(!e||!e.documentElement){e=_.createDocument(dt,"template",null);try{e.documentElement.innerHTML=yt?"":i}catch(t){}}var c=e.body||e.documentElement;return t&&n&&c.insertBefore(o.createTextNode(n),c.childNodes[0]||null),dt===ht?N.call(e,X?"html":"body")[0]:X?e.documentElement:c},Ct=function(t){return k.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},Dt=function(t){return t instanceof p&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof f)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore)},Mt=function(t){return"object"===(void 0===a?"undefined":di(a))?t instanceof a:t&&"object"===(void 0===t?"undefined":di(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Rt=function(t,e,r){A[t]&&Io(A[t],(function(t){t.call(n,e,r,vt)}))},It=function(t){var e=void 0;if(Rt("beforeSanitizeElements",t,null),Dt(t))return Ot(t),!0;if(Ho(t.nodeName,/[\u0080-\uFFFF]/))return Ot(t),!0;var r=wt(t.nodeName);if(Rt("uponSanitizeElement",t,{tagName:r,allowedTags:$}),!Mt(t.firstElementChild)&&(!Mt(t.content)||!Mt(t.content.firstElementChild))&&Bo(/<[/\w]/g,t.innerHTML)&&Bo(/<[/\w]/g,t.textContent))return Ot(t),!0;if("select"===r&&Bo(/<template/i,t.innerHTML))return Ot(t),!0;if(!$[r]||U[r]){if(nt&&!it[r]){var o=w(t)||t.parentNode,i=b(t)||t.childNodes;if(i&&o)for(var c=i.length-1;c>=0;--c)o.insertBefore(m(i[c],!0),g(t))}if(!U[r]&&$t(r)){if(z.tagNameCheck instanceof RegExp&&Bo(z.tagNameCheck,r))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(r))return!1}return Ot(t),!0}return t instanceof s&&!Pt(t)?(Ot(t),!0):"noscript"!==r&&"noembed"!==r||!Bo(/<\/no(script|embed)/i,t.innerHTML)?(q&&3===t.nodeType&&(e=t.textContent,e=Go(e,L," "),e=Go(e,C," "),t.textContent!==e&&($o(n.removed,{element:t.cloneNode()}),t.textContent=e)),Rt("afterSanitizeElements",t,null),!1):(Ot(t),!0)},jt=function(t,e,n){if(et&&("id"===e||"name"===e)&&(n in o||n in Tt))return!1;if(K&&!B[e]&&Bo(D,e));else if(W&&Bo(M,e));else if(!H[e]||B[e]){if(!($t(t)&&(z.tagNameCheck instanceof RegExp&&Bo(z.tagNameCheck,t)||z.tagNameCheck instanceof Function&&z.tagNameCheck(t))&&(z.attributeNameCheck instanceof RegExp&&Bo(z.attributeNameCheck,e)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(e))||"is"===e&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&Bo(z.tagNameCheck,n)||z.tagNameCheck instanceof Function&&z.tagNameCheck(n))))return!1}else if(ut[e]);else if(Bo(j,Go(n,I,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==zo(n,"data:")||!at[t]){if(V&&!Bo(R,Go(n,I,"")));else if(n)return!1}else;return!0},$t=function(t){return t.indexOf("-")>0},Ft=function(t){var e=void 0,r=void 0,o=void 0,i=void 0;Rt("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(i=c.length;i--;){var s=e=c[i],u=s.name,l=s.namespaceURI;if(r=Uo(e.value),o=wt(u),a.attrName=o,a.attrValue=r,a.keepAttr=!0,a.forceKeepAttr=void 0,Rt("uponSanitizeAttribute",t,a),r=a.attrValue,!a.forceKeepAttr&&(At(u,t),a.keepAttr))if(Bo(/\/>/i,r))At(u,t);else{q&&(r=Go(r,L," "),r=Go(r,C," "));var f=wt(t.nodeName);if(jt(f,o,r))try{l?t.setAttributeNS(l,u,r):t.setAttribute(u,r),jo(n.removed)}catch(t){}}}Rt("afterSanitizeAttributes",t,null)}},Ht=function t(e){var n=void 0,r=Ct(e);for(Rt("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)Rt("uponSanitizeShadowNode",n,null),It(n)||(n.content instanceof i&&t(n.content),Ft(n));Rt("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t,o){var c=void 0,s=void 0,u=void 0,l=void 0,f=void 0;if((yt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Mt(t)){if("function"!=typeof t.toString)throw Wo("toString is not a function");if("string"!=typeof(t=t.toString()))throw Wo("dirty is not a string, aborting")}if(!n.isSupported){if("object"===di(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof t)return e.toStaticHTML(t);if(Mt(t))return e.toStaticHTML(t.outerHTML)}return t}if(Y||St(o),n.removed=[],"string"==typeof t&&(rt=!1),rt);else if(t instanceof a)1===(s=(c=Lt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?c=s:c.appendChild(s);else{if(!Z&&!q&&!X&&-1===t.indexOf("<"))return T&&tt?T.createHTML(t):t;if(!(c=Lt(t)))return Z?null:E}c&&J&&Ot(c.firstChild);for(var p=Ct(rt?t:c);u=p.nextNode();)3===u.nodeType&&u===l||It(u)||(u.content instanceof i&&Ht(u.content),Ft(u),l=u);if(l=null,rt)return t;if(Z){if(Q)for(f=x.call(c.ownerDocument);c.firstChild;)f.appendChild(c.firstChild);else f=c;return H.shadowroot&&(f=P.call(r,f,!0)),f}var h=X?c.outerHTML:c.innerHTML;return q&&(h=Go(h,L," "),h=Go(h,C," ")),T&&tt?T.createHTML(h):h},n.setConfig=function(t){St(t),Y=!0},n.clearConfig=function(){vt=null,Y=!1},n.isValidAttribute=function(t,e,n){vt||St({});var r=wt(t),o=wt(e);return jt(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&(A[t]=A[t]||[],$o(A[t],e))},n.removeHook=function(t){A[t]&&jo(A[t])},n.removeHooks=function(t){A[t]&&(A[t]=[])},n.removeAllHooks=function(){A={}},n}();const wi=["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"],vi=["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"],Ti=P(vi,["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"]),Ei={ADD_ATTR:wi,ALLOWED_TAGS:Ti,IN_PLACE:!0},Si={ADD_ATTR:wi,ALLOWED_TAGS:vi,RETURN_DOM_FRAGMENT:!0,SANITIZE_DOM:!1},_i={ADD_ATTR:wi,ALLOWED_TAGS:O(Ti,(t=>!A(["iframe"],t))),SANITIZE_DOM:!1},ki=new be;function xi(e,n){let r=Ee(ki,e);return r||(r=bi(),r.setConfig(e),n&&t(Tt,n,[(t,e)=>{r.addHook(e,t)}]),Se(ki,e,r),r)}const Ni=["href","xlink:href"],Pi=new gt([["uponSanitizeAttribute",function(e,n,r){const{attrValue:o,attrName:i}=n,c=function(e){return Jt(t(nr,e,[]))}(e);o&&"USE"===c&&A(Ni,i)&&(n.attrValue=Ui(o));return n}],["uponSanitizeElement",function(t,e,n){const{allowedTags:r,tagName:o}=e;!r[o]&&Ri.test(o)&&(r[o]=!0)}]]),Oi=["http:","https:"],{document:Ai}=window,Li=vn(Ai,"template"),Ci=vn(Ai,"a"),Di=new ie,Mi=/[^a-z0-9]+/gi,Ri=/^[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])*/;function Ii(e,n){if(he(Di,n.normalizedUrl)){const r=function(e,...n){return t(no,e,n)}(window,(()=>{var o;he(Di,n.normalizedUrl)||($i(e,n),o=window,t(eo,o,[r]))}),50)}else $i(e,n)}function ji(e){const n=function(t){const e=vn(Ai,"div");return Wn(e,"style","display:none"),Wn(e,"id",t),or(wn(Ai),e),e}(e.normalizedUrl);pe(Di,e.normalizedUrl);const r=new po;Pr(r,"load",(()=>{if(200===So(r)){const c=Ki(To(r));if(e.requestedFragment){const n=function(e,n){return t(Tr,e,[n])}(c,e.requestedFragment);n&&Wn(n,"id",e.normalizedFragment)}or(n,c),o=Di,i=e.normalizedUrl,t(se,o,[i])}var o,i})),vo(r,"GET",e.requestedUrl),Eo(r)}function $i(t,e){const{normalizedFragment:n,requestedFragment:r}=e;let o=Hn(t,`#${n}`);if(!o)try{o=Hn(t,`#${r}`),Wn(o,"id",n)}catch(t){}}function Fi(){return xi(_i,Pi)}function Hi(){return xi(Si,Pi)}function Gi(t){$n(Li,t);const e=Xn(Li);return xi(Ei,Pi).sanitize(e),jn(Li)}function zi(e){const n=Gi(Fn(Tn(e))),r=function(e,...n){return t(_r,e,n)}(function(e){return t(bn,e,[])}(e),"http://www.w3.org/1999/xhtml","html");return $n(Tn(r),n),r}function Ui(e){if(Xt(e,"#"))return e;const n=function(t){Ir(Ci,t);const e=Rr(Ci),n=jr(Ci),{0:r,1:o}=qt(e,"#"),i=Kt(Yt(r),Mi,"");return{normalizedFragment:o?`${i}_${Kt(o,Mi,"")}`:"",normalizedUrl:i,protocol:n,requestedFragment:o,requestedUrl:r}}(e);if(A(Oi,n.protocol)){const e=(r=Ai,o=n.normalizedUrl,t(dn,r,[o]));return e&&n.normalizedFragment?Ii(e,n):e||ji(n),n.requestedFragment?`#${n.normalizedFragment}`:`#${n.normalizedUrl}`}var r,o;return e}function Bi(e){return function(e,...n){return t(hn,e,n)}(e,"http://www.w3.org/2000/svg","svg")}function Wi(e,n=""){let r;const o="string"==typeof e?Ai:t(rr,e,[]);const i=function(e,n=""){return t(fn,e,[n])}(o,"");if("string"==typeof e)n=e,r=Bi(o);else{const n=t(xn,e,["svg"]);r=n?function(e,n=!1){return t(Zn,e,[n])}(n,!1):Bi(o)}or(r,i);const c=function(e){return t(er,e,[])}(Ki(Kt(Fn(r),"\x3c!----\x3e",n)));return jn(c)}function Ki(t){return Hi().sanitize(t)}const Vi=["http:","https:"],qi=["/aura","/webruntime"],Xi=/[\u2029\u2028\n\r\t]/g,Yi=vn(document,"a"),Ji=/\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/;function Zi(e){const n=Yt(e.pathname);return t(T,qi,[t=>Bt(n,t)])}function Qi(e){return Ir(Yi,tc(e)),{normalizedURL:Rr(Yi),hostname:Mr(Yi),pathname:io((n=Yi,t(Cr,n,[])))};var n}function tc(t){return""===t?t:Kt(t,Xi,"")}const ec=["define"],nc={__proto__:null},rc=[];function oc(t,e,n,r="default"){const o=nc[e][n=Yt(n)];if(!o)return;const i=o[r];if(!i)return;const c=kt(i);for(const e of c){const n=e[0],r=e[1];if(t instanceof n)return r}}function ic(t){return null==t||""===t?"default":t}function cc(t,e){C(rc,(n=>{const{attributeNamespace:r,distortion:o}=e,i=Yt(e.attributeName);return function(t,e,n,r,o){const i=t[n]||{__proto__:null},c=i[r]||new gt;xt(c,e,o),i[r]=c,t[n]=i}(n,t,i,r,o),null}))}function ac(t,e){if(Q(t)){const n=Ae(t);n.name=Sn(n.name,e),t=n}else t=Sn(t,e);return t}var sc;function uc(t,e){const n=En(e);if(!Xt(t,n))return null;const{length:r}=n;return Vt(t,61===Ut(t,r)?r+1:r)}function lc(t,e){if(t){const n=uc(t.name,e);if(null===n)return null;t.name=n}return t}!function(t){t[t.strict=0]="strict",t[t.lax=1]="lax",t[t.none=2]="none"}(sc||(sc={}));const fc={__proto__:null};function pc(t,e,n){const{key:r}=n,o=fc[r];if(!o||!o[e])return!1;const{constructor:i}=t;return he(o[e],i)}function hc(t,e,n){const{prototype:r}=t;if(!pc(r,e,n)){var o;const{key:r}=n,i=null!=(o=fc[r])?o:{__proto__:null},c=i[e]||new ie;pe(c,t),i[e]=c,fc[r]=i}}var dc;!function(t){t[t.External=0]="External",t[t.Internal=1]="Internal"}(dc||(dc={})),a(dc,null);const yc=/(^|,)(\s*noopener\s*=\s*(?:yes|1)\s*)(,|$)/g;function mc(t){const e=Oe(t);if(e.length>2){let t=Yt(Zt(e[2]));oe(yc,t)&&(yc.lastIndex=0,t=Kt(t,yc,((t,e,n,r)=>`${e}noopener${r}`))),e[2]=t}return e}const gc=new be;function bc(e,n,r,o){const i=Ee(gc,n);if(i){const{key:e}=o,n=oc(i,e,rn(r),ic(on(r)));if(n){const e=an(r);return t(n,i,[e])}}return t(e,n,[r])}function wc(t){return Yt(Zt(t))}function vc(e){const n=function(e){return t(xr,e,[])}(e),{composedPath:r}=Event.prototype,o=t(r,e,[]);let i=o;for(let e=function(e,...n){return t(g,e,n)}(o,n);e>-1;e-=1){if(o[e]instanceof ShadowRoot){i=D(o,e+1);break}}return i}const Tc=/import/i,Ec='HTMLLinkElement does not allow setting "rel" property to "import" value.';function Sc(t){return!oe(Tc,t)}function _c(t,e){return function(n){const{[e]:r}=t;return[r,function(){throw new je(`Cannot access ${e}.`)}]}}function kc(t,e){return function(n){return[et(t,e),function(){throw new je(`Cannot access ${e}.`)}]}}function xc(t,e){return function(n){return[nt(t,e),function(){throw new je(`Cannot access ${e}.`)}]}}function Nc(t,e){const n=function(t){if(Bt(t,"$lockerEvalContext$"))return t;let e=!1;return t=Kt(t,/\b(?:document|self|window)\.location(\s*[?*/%&^|+-]*=(?=[^=]))?/g,((t,n)=>(e=!0,n?`uncompiledLocation$LWS.href${n}`:"uncompiledLocation$LWS"))),e&&(t=`const { uncompiledLocation$LWS } = $lockerEvalContext$;${t}`),t}(t),r=co(n);return Xr(new hr([`\n {\n const { $evaluator$ } = document.currentScript;\n const text = decodeURIComponent(\`${r}\`);\n delete document.currentScript.$evaluator$;\n $evaluator$('${e}', text, { uncompiledLocation$LWS: location });\n }`],{type:"text/javascript"}))}function Pc(e,n,r){const{evaluator:o,key:i}=n,c=vn(document,"a");return function(n){const a=n;const u="http://www.w3.org/1999/xhtml"===t(In,this,[])?"":Gr;if(""===n)return void Kn(this,u,e,n);Ir(c,n),n=Rr(c);r(this)[`distorted${function(t){const{length:e}=t;if(!e)return t;const n=Jt(t[0]);return 1===e?n:n+Vt(t,1)}(e)}`]=a;const l=Mr(c),f=new po;Wt(l,Ji)&&function(e,n){t(bo,e,[n])}(f,!0),Pr(f,"load",(()=>{const t=So(f);if(200===t){const t=To(f);s(this,"$evaluator$",{__proto__:null,configurable:!0,value:o}),Kn(this,u,e,Nc(t,i))}else 404===t&&Kn(this,u,e,"blob:http://localhost/not-found")})),vo(f,"GET",n),Eo(f)}}function Oc(t,e){const n=[];for(let r=0,{length:o}=e;r<o;r+=1){const o=e[r],i=l(t,o);if(i){const e=Pe(i),{value:r}=e;if("get"in e||"set"in e){const{get:r,set:i}=e;r&&C(n,kc(t,o)),i&&C(n,xc(t,o))}else"function"==typeof r&&C(n,_c(t,o))}}return n}function Ac(t,e,n="default"){for(let r=0,{length:o}=e;r<o;r+=1){const o=e[r],{name:i}=t;cc(t,{attributeName:o,attributeNamespace:n,distortion(){throw new je(`Attribute "${o}" not allowed on ${i}.`)}})}}function Lc(n,r){return"function"==typeof n&&"function"==typeof r?function(n,r){const o=new Me(r,F({apply:(e,r,i)=>(r===o&&(r=n),t(n,r,i)),construct:(t,r,i)=>(i===o&&(i=n),e(n,r,i))}));return o}(n,r):n}function Cc(t,e){return`${t}${e}`}function Dc(t,e){const n=z(t),r=[];for(let t=0,{length:o}=n;t<o;t+=1){const o=n[t];Xt(o,e)&&C(r,o)}return r}const Mc=new WeakMap;function Rc(t){const e=Ee(Mc,t);if(void 0===e)throw new je("Illegal invocation");return e}function Ic(e){return new Proxy(e,{get(t,e,n){const{storage:r,storageRootKey:c}=Rc(t);if("symbol"==typeof e)return o(t,e,n);const a=Cc(c,e);if(tt(r,a))return o(r,a);const s=i(t);return null===s?void 0:o(s,e,n)},set(e,n,r){const{storage:o,storageRootKey:i}=Rc(e);if("symbol"==typeof n)return c(e,n,r);const a=Cc(i,n);return t(Kr,o,[a,r]),!0},defineProperty(t,e,n){const{storage:r,storageRootKey:o}=Rc(t),i=Pe(n);if("symbol"==typeof e)return s(t,e,i);const c=Cc(o,e);return s(r,c,i)},deleteProperty(t,e){const{storage:r,storageRootKey:o}=Rc(t);if("symbol"==typeof e)return n(t,e);const i=Cc(o,e);return n(r,i)},getOwnPropertyDescriptor(t,e){const{storage:n,storageRootKey:r}=Rc(t);if("symbol"==typeof e)return l(t,e);const o=Cc(r,e);return l(n,o)},ownKeys(t){const{storage:e,storageRootKey:n}=Rc(t),r=function(t,e){const{length:n}=t,r=new h(n);for(let o=0;o<n;o+=1){const n=t[o];r[o]=Kt(n,e,"")}return r}(Dc(e,n),n);return P(r,G(t))},has(t,e){const{storage:n,storageRootKey:o}=Rc(t);if("symbol"==typeof e)return r(t,e);if(tt(n,Cc(o,e)))return!0;const c=i(t);return null!==c&&r(c,e)},preventExtensions:t=>!1})}class jc{constructor(){throw new je("Illegal constructor")}get length(){const{storage:t,storageRootKey:e}=Rc(this);return Dc(t,e).length}key(...e){const{storage:n,storageRootKey:r}=Rc(this);if(e.length){const t=Dc(n,r),o=t[e[0]],i=t[0],c=o||i;return"string"!=typeof c?null:Kt(c,r,"")}return t(Ur,n,e)}getItem(...e){const{storage:n,storageRootKey:r}=Rc(this);return e.length&&(e[0]=Cc(r,Zt(e[0]))),t(Br,n,e)}setItem(...e){const{storage:n,storageRootKey:r}=Rc(this);e.length>1&&(e[0]=Cc(r,Zt(e[0])),e[1]=Zt(e[1])),t(Kr,n,e)}removeItem(...e){const{storage:n,storageRootKey:r}=Rc(this);e.length&&(e[0]=Cc(r,Zt(e[0]))),t(Wr,n,e)}clear(){const{storage:e,storageRootKey:n}=Rc(this),r=Dc(e,n);for(let n=0,{length:o}=r;n<o;n+=1){const o=r[n];t(Wr,e,[o])}}}const{clear:$c,getItem:Fc,key:Hc,removeItem:Gc,setItem:zc}=jc.prototype,Uc=et(jc.prototype,"length");function Bc(t){return function(e,n){const r=e[t];if(!Z(r))return null;const{key:o}=n;return[r,function(t,e){const n={__proto__:jc.prototype};ze(n);const r=Ic(n),o={proxy:r,storage:t,storageRootKey:e};return Se(Mc,r,o),Se(Mc,n,o),r}(r,`LSKey[${o}]`)]}}const Wc=Bc("localStorage"),Kc=Bc("sessionStorage");function Vc(e){return function(n){const{SVGUseElement:r}=n,{setAttribute:o,setAttributeNS:i}=Element.prototype;if("href"===e){cc(r,{attributeName:e,attributeNamespace:"default",distortion:function(n){const r=null==n||""===n?n:Ui(n);t(o,this,[e,r])}})}return cc(r,{attributeName:e,attributeNamespace:Gr,distortion:function(n){const r=null==n||""===n?n:Ui(n);t(i,this,[Gr,e,r])}}),null}}const qc=Vc("href"),Xc=Vc("xlink:href");const Yc=["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"],Jc=/^[a-z]+\/[a-z+-]+$/,Zc=["text/html","image/svg+xml","text/xml"];const Qc=[function(e){const{CSSStyleRule:n}=e,r=et(n.prototype,"style");return[r,function(){return Ue(t(r,this,[]))}]},function(t){const{Document:e}=t;return[nt(e.prototype,"domain"),function(){throw new je("Cannot set document.domain.")}]},function(e,n){const{Document:r,HTMLElement:o}=e,{execCommand:i}=r.prototype,c=et(r.prototype,"activeElement"),a=et(o.prototype,"isContentEditable"),{isSharedElement:s}=ur(window),{sandboxType:u}=n;return[i,function(...e){if(e.length>2){const{2:n}=e;if(null!=n){const r=Zt(e[0]);if("inserthtml"===Yt(r)){if(u===dc.External){const e=t(c,this,[]);if(s(e)&&t(a,e,[]))throw new je(`Cannot execute command '${r}' on ${Zt(e.nodeName)}.`)}e[0]=r,e[2]=Gi(n)}}}return t(i,this,e)}]},function(e){const{Document:n}=e,{open:r}=n.prototype;return[r,function(...e){if(e.length>=3){const n=mc(e);return so(t(r,this,n))}return t(r,this,e)}]},function(e){const{DOMParser:n}=e,{parseFromString:r}=n.prototype;return[r,function(...e){if(e.length>=2){const t=Zt(e[0]);e[0]="image/svg+xml"===e[1]?Wi(t):Gi(t)}return t(r,this,e)}]},function(e){const{Element:n}=e,{attachShadow:r}=n.prototype;return[r,function(...e){if(e.length){const{0:t}=e;if(null!=t){const{mode:n}=t;if("closed"!==n)throw new je("Shadow root mode cannot be 'open.'");const r=R({},t,{mode:n}),o=i(t);a(r,o),e[0]=r}}return t(r,this,e)}]},function(e){const{Element:n}=e,r=et(n.prototype,"attributes");return[r,function(){const e=t(r,this,[]);return Se(gc,e,this),e}]},function(e){const{Element:n,SVGElement:r}=e,o=nt(n.prototype,"innerHTML"),{isSharedElement:i}=ur(window);return[o,function(e){if(i(this))throw new je(`Cannot set innerHTML of ${this.nodeName}.`);const n=this instanceof r?Wi(this,e):Gi(e);t(o,this,[n])}]},function(e){const{Element:n}=e,r=nt(n.prototype,"outerHTML"),{isSharedElement:o}=ur(window);return[r,function(e){if(o(this))throw new je(`Cannot set outerHTML of ${Zt(this.nodeName)}.`);t(r,this,[Gi(e)])}]},function(e){const{Element:n}=e,{insertAdjacentHTML:r}=n.prototype,{isSharedElement:o}=ur(window);return[r,function(...e){if(o(this))throw new je(`Cannot insert adjacent HTML to ${Zt(this.nodeName)}.`);e.length>1&&(e[1]=Gi(e[1])),t(r,this,e)}]},function(e){const{Element:n}=e,{remove:r}=n.prototype,{isSharedElement:o}=ur(window);return[r,function(){if(o(this))throw new je(`Cannot remove ${Zt(this.nodeName)}.`);t(r,this,[])}]},function(e){const{Element:n}=e,{replaceChildren:r}=n.prototype,{isSharedElement:o}=ur(window);return[r,function(...e){if(o(this))throw new je(`Cannot replace children of ${Zt(this.nodeName)}.`);return t(r,this,e)}]},function(e){const{Element:n}=e,{replaceWith:r}=n.prototype,{isSharedElement:o}=ur(window);return[r,function(...e){if(o(this))throw new je(`Cannot replace ${Zt(this.nodeName)}.`);return t(r,this,e)}]},function(t){const{Event:e}=t,{composedPath:n}=e.prototype;return[n,function(){return vc(this)}]},function(t){const{Event:e}=t,n=et(e.prototype,"path");return"function"!=typeof n?null:[n,function(){return vc(this)}]},function(e,n){const{EventTarget:r}=e,{addEventListener:o}=r.prototype;return[o,function(...e){const{length:r}=e;if(r>1){const{0:t}=e;if(pc(this,t,n)){var i;const e=l(this.constructor,"name");let n;e&&(n=Pe(e));const r=null==(i=n)?void 0:i.value;let o=`Cannot add '${t}' event listener`;throw"string"==typeof r&&(o+=` to ${r} object`),new je(`${o}.`)}}return t(o,this,e)}]},function(e){const{History:n}=e,{pushState:r}=n.prototype;return[r,function(...e){return e.length&&(e[0]=vr(e[0])),t(r,this,e)}]},function(e){const{History:n}=e,{replaceState:r}=n.prototype;return[r,function(...e){return e.length&&(e[0]=vr(e[0])),t(r,this,e)}]},function(e){const{HTMLElement:n}=e,r=et(n.prototype,"dataset");return[r,function(){return Ue(t(r,this,[]))}]},function(e){const{HTMLElement:n}=e,r=nt(n.prototype,"innerText");if("function"!=typeof r)return null;const{isSharedElement:o}=ur(window);return[r,function(e){if(o(this))throw new je(`Cannot set innerText of ${Zt(this.nodeName)}.`);t(r,this,[e])}]},function(e){const{HTMLElement:n}=e,r=nt(n.prototype,"outerText");if("function"!=typeof r)return null;const{isSharedElement:o}=ur(window);return[r,function(e){if(o(this))throw new je(`Cannot set outerText of ${Zt(this.nodeName)}.`);t(r,this,[e])}]},function(e){const{HTMLElement:n}=e,r=et(n.prototype,"style");return[r,function(){return Ue(t(r,this,[]))}]},function(e){const{HTMLFrameElement:n}=e,r=et(n.prototype,"contentDocument");return[r,function(){return t(r,this,[]),null}]},function(e){const{HTMLFrameElement:n}=e,r=et(n.prototype,"contentWindow");return[r,function(){return so(t(r,this,[]))}]},function(e){const{HTMLIFrameElement:n}=e,r=nt(n.prototype,"src");function o(e){const n=(Ir(Yi,e),tc(Rr(Yi)));if(!function(t,e=Vi){return Ir(Yi,t),A(e,jr(Yi))}(n))throw new je("HTMLIFrameElement.src supports http://, https:// schemes and relative urls.");!function(e,n){t(Hr,e,[n])}(this,n)}return cc(n,{attributeName:"src",attributeNamespace:"default",distortion:o}),[r,o]},function(e){const{HTMLIFrameElement:n}=e,r=et(n.prototype,"contentDocument");return[r,function(){return t(r,this,[]),null}]},function(e){const{HTMLIFrameElement:n}=e,r=et(n.prototype,"contentWindow");return[r,function(){return so(t(r,this,[]))}]},function(e){const{HTMLLinkElement:n}=e,r=nt(n.prototype,"rel");function o(e){const n=Zt(e);Sc(n)?t(r,this,[n]):De(Ec)}return cc(n,{attributeName:"rel",attributeNamespace:"default",distortion:o}),[r,o]},function(e){const{DOMTokenList:n,HTMLLinkElement:r}=e,o=nt(r.prototype,"relList");return[o,function e(r){const i=e instanceof n?t(kr,r,[]):Zt(r);Sc(i)?t(o,this,[i]):De(Ec)}]},function(e){const{HTMLObjectElement:n}=e,r=et(n.prototype,"contentDocument");return[r,function(){return t(r,this,[]),null}]},function(e){const{HTMLObjectElement:n}=e,r=et(n.prototype,"contentWindow");return"function"!=typeof r?null:[r,function(){return so(t(r,this,[]))}]},function(e){const{HTMLScriptElement:n}=e,r=et(n.prototype,"src");return[r,function(){return function(t){const e=rt(Fr(t),"distortedSrc");return void 0===e?"":e}(this)||t(r,this,[])}]},function(e){const{IDBObjectStore:n}=e,{add:r}=n.prototype;return[r,function(...e){return e.length&&(e[0]=vr(e[0])),t(r,this,e)}]},function(e){const{IDBObjectStore:n}=e,{put:r}=n.prototype;return[r,function(...e){return e.length&&(e[0]=vr(e[0])),t(r,this,e)}]},function(e){const{MessageEvent:n}=e,r=et(n.prototype,"source");return[r,function(){const e=t(r,this,[]);return"[object Window]"===Zt(e)?so(e):e}]},function(t){const{Navigator:e}=t,n=et(e.prototype,"serviceWorker");return"function"!=typeof n?null:[n,function(){}]},function(e,n){const{Attr:r,Node:o}=e,{key:i}=n,c=nt(o.prototype,"nodeValue");return[c,function(e){if(this instanceof r){const n=cn(this);if(null===n)return t(c,this,[e]);const r=rn(this),o=ic(on(this)),a=oc(n,i,r,o);if(a)return t(a,n,[e])}return t(c,this,[e])}]},function(e,n){const{Attr:r,Node:o}=e,{key:i}=n,c=nt(o.prototype,"textContent"),{isSharedElement:a}=ur(window);return[c,function(e){const n=Zt(e);if(this instanceof r){const e=cn(this);if(null===e)return t(c,this,[n]);const r=rn(this),o=ic(on(this)),a=oc(e,i,r,o);if(a)return t(a,e,[n])}if(a(this))throw new je(`Cannot set textContent of ${Zt(this.nodeName)} elements.`);return t(c,this,[n])}]},function(e){const{Notification:n}=e;return"function"!=typeof n?null:[n,function(...e){return e.length>1&&(e[1]=vr(e[1])),t(n,this,e)}]},function(e){const{Range:n}=e,{createContextualFragment:r}=n.prototype;return[r,function(...e){if(e.length){const{0:t}=e;null!=t&&(e[0]=Gi(t))}return t(r,this,e)}]},function(e){const{Range:n}=e,{deleteContents:r,cloneContents:o}=n.prototype;return[r,function(...e){const n=Sr(t(o,this,[]),"html,head,body");if(n)throw new je(`Cannot delete contents of ${n.nodeName}.`);return t(r,this,e)}]},function(e){const{Range:n}=e,{extractContents:r,cloneContents:o}=n.prototype;return[r,function(...e){const n=Sr(t(o,this,[]),"html,head,body");if(n)throw new je(`Cannot extract contents of ${n.nodeName}.`);return t(r,this,e)}]},function(t){const{ServiceWorkerContainer:e}=t;if("function"!=typeof e)return null;const{prototype:n}=e;return[n,Ie(n)]},function(e){const{ShadowRoot:n}=e,r=nt(n.prototype,"innerHTML");return[r,function(e){t(r,this,[Gi(e)])}]},function(t){const{ShadowRoot:e}=t;return[et(e.prototype,"mode"),function(){return"closed"}]},function(t){const{SharedWorker:e}=t;return"function"!=typeof e?null:[e,function(t){throw new je(`Cannot create SharedWorker with ${Zt(t)}.`)}]},function(t){const{SharedWorker:e}=t;if("function"!=typeof e)return null;const{prototype:n}=e;return[n,Ie(n)]},function(t){const{Storage:e}=t;return[et(e.prototype,"length"),Uc]},function(t){const{Storage:e}=t,{getItem:n}=e.prototype;return[n,Fc]},function(t){const{Storage:e}=t,{setItem:n}=e.prototype;return[n,zc]},function(t){const{Storage:e}=t,{key:n}=e.prototype;return[n,Hc]},function(t){const{Storage:e}=t,{removeItem:n}=e.prototype;return[n,Gc]},function(t){const{Storage:e}=t,{clear:n}=e.prototype;return[n,$c]},function(t){const{Storage:e}=t;return[e,jc]},function(e,n){const{key:r}=n,{SVGAnimateElement:o}=e,{setAttribute:i}=Element.prototype;function c(e,n){if(Bn(e,n)){const o=Gn(e,n);if(o){const i=oc(e,r,n);i&&t(i,e,[o])}}}return cc(o,{attributeName:"attributeName",attributeNamespace:"default",distortion:function(e){t(i,this,["attributeName",e]),"href"===e&&(c(this,"from"),c(this,"to"),c(this,"values"))}}),null},function(e){const{SVGAnimateElement:n}=e,{setAttribute:r}=Element.prototype;return cc(n,{attributeName:"from",attributeNamespace:"default",distortion:function(e){"href"===Gn(this,"attributeName")&&(e=Ui(e)),t(r,this,["from",e])}}),null},function(e){const{SVGAnimateElement:n}=e,{setAttribute:r}=Element.prototype;return cc(n,{attributeName:"to",attributeNamespace:"default",distortion:function(e){"href"===Gn(this,"attributeName")&&(e=Ui(e)),t(r,this,["to",e])}}),null},function(e){const{SVGAnimateElement:n}=e,{setAttribute:r}=Element.prototype;return cc(n,{attributeName:"values",attributeNamespace:"default",distortion:function(e){let n=e;if("href"===Gn(this,"attributeName")){const t=qt(e,";"),{length:r}=t;for(let e=0;e<r;e+=1)t[e]=Ui(t[e]);n=L(t,";")}t(r,this,["values",n])}}),null},function(e){const{SVGElement:n}=e,r=et(n.prototype,"dataset");return[r,function(){return Ue(t(r,this,[]))}]},function(e,n){const{key:r}=n,{SVGSetElement:o}=e,{setAttribute:i}=Element.prototype;return cc(o,{attributeName:"attributeName",attributeNamespace:"default",distortion:function(e){t(i,this,["attributeName",e]),"href"===e&&function(e,n){if(Bn(e,n)){const o=Gn(e,n);if(o){const i=oc(e,r,n);i&&t(i,e,[o])}}}(this,"to")}}),null},function(e){const{SVGSetElement:n}=e,{setAttribute:r}=Element.prototype;return cc(n,{attributeName:"to",attributeNamespace:"default",distortion:function(e){"href"===Gn(this,"attributeName")&&(e=Ui(e)),t(r,this,["to",e])}}),null},qc,Xc,function(e){const{TrustedTypePolicyFactory:n}=e;if("function"!=typeof n)return null;const{createPolicy:r}=n.prototype;return[r,function(...e){const n=e.length?e[0]:void 0;if("default"===n)throw new je(`Cannot create TrustedTypePolicy with '${n}' policy name.`);return t(r,this,e)}]},function(e){const{URL:n}=e,{createObjectURL:r}=n,{isEqualDomString:o,isMediaSourceObject:i}=ur(e);return[r,function(e){let n=t(r,this,[e]);if(i(e))return n;const c=Yt(t(pr,e,[]));if(""===c)return t(r,this,[dr(e,0,void 0,"text/plain")]);if(A(Zc,c)){const i=dr(e,0,function(e){return t(lr,e,[])}(e),`${c};charset=utf-8`);Yr(n),n=t(r,this,[i]);const a=new po;vo(a,"GET",n,!1),Eo(a);const s=Fi(),u=To(a),l=s.sanitize(u);if(!o(u,l))throw Yr(n),new je(`Cannot "createObjectURL" using a unsecure ${Zt(e)}.`);return n}if(function(t){if(oe(Jc,t))for(let e=0,{length:n}=Yc;e<n;e+=1)if(Xt(t,Yc[e]))return!0;return!1}(c))return n;throw Yr(n),new je("Unsupported MIME type.")}]},function(e){const{fetch:n}=e;return[n,function(...e){let{0:r}=e;if(null!=r){let n;if(r instanceof Request?n=Qi(t(zr,r,[])):(n=Qi(Zt(r)),r=n.normalizedURL,e[0]=r),Zi(n))return Ye(new je(`Cannot request disallowed endpoint: ${Zt(r)}.`))}return t(n,this,e)}]},function(t){const e=et(t,"frames");if("function"!=typeof e)return null;let n;return[e,function(){if(!n){const e=/^0$|^[1-9][0-9]*$/,c=i(t),s=i(c),u=e=>{if(d(e)){const n=rt(t,e);if(p(n))return so(n)}},l=e=>{if("string"==typeof e&&!tt(t,e)&&!tt(c,e)){const t=rt(s,e);if(p(t))return so(t)}},f=e=>"length"===e?fo(t):d(e)?u(e):void 0,p=e=>void 0!==e&&e!==t&&lo(e)&&uo(e),d=n=>oe(e,n)&&n<fo(t);class y{defineProperty(t,e,n){return!1}deleteProperty(t,e){return!1}getOwnPropertyDescriptor(t,e){}isExtensible(t){return!0}ownKeys(t){return[]}preventExtensions(t){return!0}set(t,e,n,r){return!1}setPrototypeOf(t){return!1}}a(y.prototype,null),F(y.prototype);class m extends y{get(t,e,n){const r=f(e);return void 0!==r?r:o(t,e,n)}getOwnPropertyDescriptor(t,e){if("length"===e)return{configurable:!0,enumerable:!0,get:()=>f("length"),set(t){}};const n=d(e)?u(e):void 0;return n?{configurable:!0,enumerable:!0,value:n,writable:!1}:void 0}has(t,e){return void 0!==f(e)||r(t,e)}ownKeys(){const{length:e}=t,n=h(e+1);for(let t=0;t<e;t+=1)n[t]=`${t}`;return n[e]="length",n}}class g extends y{}class b extends g{get(t,e,n){const r=l(e);return void 0===r?o(t,e,n):r}getOwnPropertyDescriptor(t,e){const n=l(e);if(n)return{configurable:!0,enumerable:!0,value:n,writable:!1}}has(t,e){return void 0!==l(e)||r(t,e)}ownKeys(){const t=[],e=$(s);a(e,null);for(const n in e)if("string"==typeof n){const r=e[n];tt(r,"value")&&p(r.value)&&C(t,n)}return t}}const w={},v={},T={},E=F(new m),S=F(new g),_=F(new b),k=new Me(v,S),x=new Me(T,_);a(w,k),a(v,x),n=new Me(w,E)}return n}]},function(e){const{getComputedStyle:n}=e;return[n,function(...e){return Ue(t(n,this,e))}]},function(t){const e=et(t,"length");return"function"!=typeof e?null:[e,function(){return 0}]},function(t,e){const{Window:n}=t,r=nt(t,"onstorage");return"function"!=typeof r?null:(hc(n,"storage",e),[r,function(){throw new je("Cannot set window.onstorage.")}])},function(e){const{open:n}=e;return[n,function(...e){const r=mc(e);return so(t(n,this,r))}]},function(e){const n=et(e,"opener");return"function"!=typeof n?null:[n,function(){return so(t(n,e,[]))}]},function(e){const n=et(e,"parent");return"function"!=typeof n?null:[n,function(){return so(t(n,e,[]))}]},function(t){return[t.postMessage,ao(t)]},function(e){const{structuredClone:n}=e;return"function"!=typeof n?null:[n,function(...e){return e.length&&(e=vr(e)),t(n,this,e)}]},function(t){const{Worker:e}=t;return[e,function(t){throw new je(`Cannot create Worker with ${Zt(t)}.`)}]},function(t){const{Worker:{prototype:e}}=t;return[e,Ie(e)]},function(e){const{XMLHttpRequest:n}=e,{open:r}=n.prototype;return[r,function(...e){const n=e.length>1?e[1]:void 0;if(null!=n){const t=Qi(Zt(n));if(Zi(t))throw new je(`Cannot request disallowed endpoint: ${t.normalizedURL}`);e[1]=t.normalizedURL}t(r,this,e)}]},function(e){const{Document:n,XMLHttpRequest:r}=e,o=et(r.prototype,"response");return[o,function(){const e=t(o,this,[]);return e instanceof n?zi(e):e}]},function(e){const{XMLHttpRequest:n}=e,r=et(n.prototype,"responseXML");return[r,function(){return zi(t(r,this,[]))}]}],ta=[function(e,n){var r,o;const i=null==(r=e.aura)||null==(o=r.util)?void 0:o.globalEval;if("function"!=typeof i)return null;const{evaluator:c,key:a}=n;return[i,function(e,n,r){let o=`(function s(){return(${e})})()`;if("string"==typeof n){const e=(i=qt(n,"://"),t(w,i,[]));o+=this.sourceComment+("lib"===r?`/libraries/${Kt(e,".","/")}`:`/components/${Kt(e,":","/")}.js`)}var i;return c(a,o)}]},function(e,n){const{Attr:r}=e,{key:o}=n,i=nt(r.prototype,"value");return[i,function(e){const n=cn(this);if(n){const r=rn(this),i=ic(on(this)),c=oc(n,o,r,i);if(c)return void t(c,n,[e])}t(i,this,[e])}]},function(e,n){var r;const{CookieStore:o}=e,i=null==o||null==(r=o.prototype)?void 0:r.delete;if("function"!=typeof i)return null;const{key:c}=n;return[i,function(...e){const n=e.length?e[0]:void 0;return null!=n&&(e[0]=ac(n,c)),t(i,this,e)}]},function(e,n){var r;const{CookieStore:o}=e,i=null==o||null==(r=o.prototype)?void 0:r.get;if("function"!=typeof i)return null;const{key:c}=n;return[i,function(...e){const n=e.length?e[0]:void 0;return null!=n&&(e[0]=ac(n,c)),Je(t(i,this,e),(t=>lc(t,c)))}]},function(e,n){var r;const{CookieStore:o}=e,i=null==o||null==(r=o.prototype)?void 0:r.getAll;if("function"!=typeof i)return null;const{key:c}=n;return[i,function(...e){const n=e.length?e[0]:void 0;return null!=n&&(e[0]=ac(e[0],c)),Je(t(i,this,e),(t=>{const e=[];for(let n=0,{length:r}=t;n<r;n+=1){const r=lc(t[n],c);r&&C(e,r)}return e}))}]},function(t,e){const{CookieStore:n}=t,r=nt(null==n?void 0:n.prototype,"onchange");return"function"!=typeof r?null:(hc(n,"change",e),[r,function(){throw new je("Cannot set cookieStore.onchange.")}])},function(e,n){var r;const{CookieStore:o}=e,i=null==o||null==(r=o.prototype)?void 0:r.set;if("function"!=typeof i)return null;const{key:c}=n;return[i,function(...e){const{length:n}=e;if(n>1){const{0:t}=e;e[0]=Sn(t,c)}else if(n){const{0:t}=e;if(Q(t)){const n=Ae(t);n.name=Sn(n.name,c),e[0]=n}}return t(i,this,e)}]},function(e,n){const{Document:r}=e,{key:o}=n;return[et(r.prototype,"cookie"),function(){const e=qt(t(un,this,[]),"; "),n=[];for(let t=0,{length:r}=e;t<r;t+=1){const r=uc(e[t],o);r&&C(n,r)}return L(n,"; ")}]},function(e,n){const{Document:r}=e,{key:o}=n;return[nt(r.prototype,"cookie"),function(e){const n=qt(e,"; ");let{0:r}=n;var i,c;61===Ut(r,0)&&(r=Vt(r,1)),n[0]=Sn(r,o),i=this,c=L(n,"; "),t(ln,i,[c])}]},function(e,n){var r;const{key:o}=n,i=Yt(o),{CustomElementRegistry:c}=e,a=null==c||null==(r=c.prototype)?void 0:r.get;return"function"!=typeof a?null:[a,function(...e){if(e.length){const t=Zt(e[0]);if(!Xt(Yt(t),`${i}-`))return;e[0]=t}return t(a,this,e)}]},function(e,n){const{key:r}=n,{Element:o}=e,{setAttribute:i}=o.prototype;return[i,function(...e){if(e.length>1){const{0:n}=e,o=wc(n),i=Zt(e[1]),c=oc(this,r,o);if(c)return void t(c,this,[i]);e[0]=o,e[1]=i}t(i,this,e)}]},function(e,n){const{key:r}=n,{Element:o}=e,{setAttributeNS:i}=o.prototype;return[i,function(...e){if(e.length<3)return void t(i,this,e);const{1:n}=e,o=wc(n),c=null==(a=e[0])?a:Zt(a);var a;const s=Zt(e[2]),u=ic(c),l=oc(this,r,o,u);l?t(l,this,[s]):(e[0]=c,e[1]=o,e[2]=s,t(i,this,e))}]},function(e,n){const{key:r}=n,{Attr:o,Element:i}=e,{setAttributeNode:c}=i.prototype;return[c,function(...e){const n=e.length?e[0]:void 0;if(!(n instanceof o))return t(c,this,e);if(cn(n))return t(c,this,e);const i=rn(n),a=ic(on(n)),s=oc(this,r,i,a);if(!s)return t(c,this,e);{const e=zn(this,i);e&&Vn(this,e);const r=an(n);t(s,this,[r]);const o=zn(this,i);if(o&&Vn(this,o),e&&t(c,this,[e]),o){return sn(n,an(o)),t(c,this,[n])}}}]},function(e,n){const{key:r}=n,{Attr:o,Element:i}=e,{setAttributeNodeNS:c}=i.prototype;return[c,function(...e){const n=e.length?e[0]:void 0;if(!(n instanceof o))return t(c,this,e);if(cn(n))return t(c,this,e);const i=rn(n),a=on(n),s=ic(a),u=oc(this,r,i,s);if(u){const e=Un(this,a,i);e&&Vn(this,e);const r=Zt(an(n));t(u,this,[r]);const o=Un(this,a,i);if(o&&Vn(this,o),e&&t(c,this,[e]),o){return sn(n,an(o)),t(c,this,[n])}return null}return t(c,this,[n])}]},function(e,n){const{key:r}=n,{Element:o}=e,{hasAttribute:i,toggleAttribute:c}=o.prototype;return[c,function(...e){const{length:n}=e;if(n>0){const{0:o}=e,c=wc(o),a=oc(this,r,c);if(a){const r=n>1?[e[1]]:[];return t(a,this,r),t(i,this,[c])}e[0]=c}return t(c,this,e)}]},function(t,e){const{HTMLScriptElement:n}=t,r=nt(n.prototype,"src"),o=Pc("src",e,Fr);return cc(n,{attributeName:"src",attributeNamespace:"default",distortion:o}),[r,o]},function(e,n){const{Attr:r,NamedNodeMap:o}=e,{setNamedItem:i}=o.prototype;return[i,function(...e){const o=e.length?e[0]:void 0;return o instanceof r?bc(i,this,o,n):t(i,this,e)}]},function(e,n){const{Attr:r,NamedNodeMap:o}=e,{setNamedItemNS:i}=o.prototype;return[i,function(...e){const o=e.length?e[0]:void 0;return o instanceof r?bc(i,this,o,n):t(i,this,e)}]},function(t,e){const{SVGScriptElement:n}=t;return cc(n,{attributeName:"href",attributeNamespace:Gr,distortion:Pc("href",e,qr)}),cc(n,{attributeName:"xlink:href",attributeNamespace:Gr,distortion:Pc("xlink:href",e,qr)}),null},function(e,n){const{evaluator:r,key:o}=n,{setInterval:i}=e;return[i,function(...e){if(e.length){const{0:t}=e;if(null!=t&&"function"!=typeof t){const n=Zt(t);e[0]=()=>{r(o,n)}}}return t(i,this,e)}]},function(e,n){const{evaluator:r,key:o}=n,{setTimeout:i}=e;return[i,function(...e){if(e.length){const{0:t}=e;if(null!=t&&"function"!=typeof t){const n=Zt(t);e[0]=()=>{r(o,n)}}}return t(i,this,e)}]},Wc,Kc],ea=P(Qc,[function(e){const{Element:n,Node:r}=e,{after:o}=n.prototype,{isSharedElement:i,isSharedElementChild:c}=ur(window);return[o,function(...e){if(i(this))for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];if(!c(n)){const t=Zt(n instanceof r?n.nodeName:n);throw new je(`Cannot insert ${t} after ${Zt(this.nodeName)}.`)}}return t(o,this,e)}]},function(e){const{Element:n,Node:r}=e,{append:o}=n.prototype,{isSharedElement:i,isSharedElementChild:c}=ur(window);return[o,function(...e){if(i(this))for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];if(!c(n)){const t=Zt(n instanceof r?n.nodeName:n);throw new je(`Cannot append ${t} to ${Zt(this.nodeName)}.`)}}return t(o,this,e)}]},function(e){const{Element:n,Node:r}=e,{before:o}=n.prototype,{isSharedElement:i,isSharedElementChild:c}=ur(window);return[o,function(...e){if(i(this))for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];if(!c(n)){const t=Zt(n instanceof r?n.nodeName:n);throw new je(`Cannot insert ${t} before ${Zt(this.nodeName)}.`)}}return t(o,this,e)}]},function(e){const{Element:n}=e,{insertAdjacentElement:r}=n.prototype,{isSharedElement:o,isSharedElementChild:i}=ur(window);return[r,function(...e){if(e.length>1){const{1:t}=e;if(o(this)&&!i(t))throw new je(`Cannot insert ${t.nodeName} adjacent to ${this.nodeName}.`)}return t(r,this,e)}]},function(e){const{Element:n,Node:r}=e,{prepend:o}=n.prototype,{isSharedElement:i,isSharedElementChild:c}=ur(window);return[o,function(...e){if(i(this))for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];if(!c(n)){const t=Zt(n instanceof r?n.nodeName:n);throw new je(`Cannot prepend ${t} to ${Zt(this.nodeName)}.`)}}return t(o,this,e)}]},function(t){const{Element:e}=t;return[et(e.prototype,"shadowRoot"),function(){return null}]}]),na=P(ta,[]);P(Qc,[]),P(ta,[]);const ra=["createProcessingInstruction","exitFullscreen","fullscreen","fullscreenElement","fullscreenEnabled","mozCancelFullScreen","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","onfullscreenchange","onfullscreenerror","onmozfullscreenchange","onmozfullscreenerror","onrejectionhandled","onsecuritypolicyviolation","onunhandledrejection","releaseCapture","releaseEvents","webkitFullScreenKeyboardInputAllowed","write","writeln"],oa=["mozRequestFullScreen","onfullscreenchange","onfullscreenerror","requestFullscreen","webkitRequestFullScreen","webkitRequestFullscreen"],ia=["nonce"],ca=["nonce","onrejectionhandled","onunhandledrejection"],aa=["getSVGDocument"],sa=["allowpaymentrequest","referrerpolicy","sandbox","srcdoc"],ua=["allowPaymentRequest","csp","featurePolicy","getSVGDocument","referrerPolicy","sandbox","srcdoc"],la=["getSVGDocument"],fa=["nonce"],pa=["nonce"],ha=["nonce"],da=["nonce"],ya=["transformToDocument","transformToFragment"],ma=new be;function ga(e,n,r,o,i,c){const{instrumentation:a,sandboxType:s,verboseInstrumentation:u}=o,l=c(e,{evaluator:r,key:n,instrumentation:a,sandboxType:s});if(l){const{0:e,1:r}=l;if(e){let o=r;"function"==typeof r&&(o=function(e,n,r,o,i){const{error:c,startActivity:a}=r;if(o){const r=Kt(i,"$LWS","");return function(...o){const i=a(r,{sandboxKey:e});try{return t(n,this,o)}catch(t){throw c({sandboxKey:e,error:t}),t}finally{i.stop()}}}return function(...r){try{return t(n,this,r)}catch(t){throw c({sandboxKey:e,error:t}),t}}}(n,r,a,!!u,c.name)),C(i,[e,Lc(o,e)])}}}function ba(e,n,r,o){const i=[],c=Ee(ma,e);if(c)t(x,i,c);else{const c=function(e){const{Document:n,Element:r,HTMLElement:o,HTMLIFrameElement:i,HTMLScriptElement:c,SVGElement:a,XSLTProcessor:s}=e,u=[];return t(x,u,Oc(CustomElementRegistry.prototype,ec)),t(x,u,Oc(n.prototype,ra)),t(x,u,Oc(r.prototype,oa)),t(x,u,Oc(o.prototype,ca)),t(x,u,Oc(i.prototype,ua)),t(x,u,Oc(HTMLEmbedElement.prototype,aa)),t(x,u,Oc(HTMLObjectElement.prototype,la)),t(x,u,Oc(c.prototype,pa)),t(x,u,Oc(a.prototype,da)),"function"==typeof s&&t(x,u,Oc(s.prototype,ya)),Ac(o,ia),Ac(i,sa),Ac(c,fa),Ac(a,ha),u}(e);for(let t=0,{length:a}=c;t<a;t+=1){ga(e,n,r,o,i,c[t])}for(let t=0,{length:c}=ea;t<c;t+=1){ga(e,n,r,o,i,ea[t])}Se(ma,e,Oe(i))}for(let t=0,{length:c}=na;t<c;t+=1){ga(e,n,r,o,i,na[t])}return t(x,i,function(t){const e={__proto__:null},n=[],{length:r}=rc;for(let t=0;t<r;t+=1){const r=(0,rc[t])(e);null!==r&&C(n,r)}return nc[t]=e,n}(n)),i}let wa=0;class va{constructor(t,e,n,r=!1){this._startCallback=e,this._stopCallback=n,this._activityStart=0,this._activityStop=0,this._captureTimestamps=r,this._ended=!1,this.activityName=t,this.activityId=`${t}-${wa+=1,dt()+wa}`}start(t){this._captureTimestamps&&(this._activityStart=Ne()),"function"==typeof this._startCallback&&this._startCallback(this,t)}stop(t){this._captureTimestamps&&(this._activityStop=Ne()),this._ended||"function"!=typeof this._stopCallback||this._stopCallback(this,t)}error(t){this.stop(t)}get duration(){return this._activityStop>this._activityStart?this._activityStop-this._activityStart:0}}const Ta=new class{startActivity(t,e){return new va(t,void 0,void 0)}log(t){}error(t){}},Ea={proxyTargetToLazyPropertyStateMap:new WeakMap};function Sa(t,{proxyTargetToLazyPropertyStateMap:e}=Ea){const n=/\w*$/,r="function"==typeof BigInt,o=Array,i=ArrayBuffer,c=Error,a=Object,s=Proxy,u=Symbol,l=TypeError,f=WeakMap,{assign:p,defineProperties:h,freeze:d,getOwnPropertyDescriptor:y,getOwnPropertyDescriptors:m,isFrozen:g,isSealed:b,prototype:w,seal:v}=a,{__defineGetter__:T,__lookupGetter__:E,hasOwnProperty:S,toString:_}=w,{apply:k,construct:x,defineProperty:N,deleteProperty:P,get:O,getOwnPropertyDescriptor:A,getPrototypeOf:L,has:C,isExtensible:D,ownKeys:M,preventExtensions:R,set:I,setPrototypeOf:j}=Reflect,{isArray:$}=o,{isView:F}=i,H=k(E,i.prototype,["byteLength"]),G=r?BigInt.prototype.valueOf:void 0,{valueOf:z}=Boolean.prototype,{toString:U}=c.prototype,{stringify:B}=JSON,{valueOf:W}=Number.prototype,{revocable:K}=s,{prototype:V}=RegExp,{exec:q,toString:X}=V,Y=k(E,V,["flags"])||function(){const t=k(X,this,[]);return k(q,n,[t])[0]},J=k(E,V,["source"]),{endsWith:Z,includes:Q,slice:tt,valueOf:et}=String.prototype,{for:nt,toStringTag:rt}=u,{valueOf:ot}=u.prototype,{get:it,set:ct}=f.prototype,at=console,{info:st}=at,ut=eval,lt="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||(N(w,"globalThis",{__proto__:null,configurable:!0,get(){return P(w,"globalThis"),this||self}}),globalThis),ft=nt("@@lockerDebugMode"),pt="$LWS",ht=nt("@@lockerLiveValue"),dt=nt("@@lockerNearMembraneSerializedValue"),yt=nt("@@lockerNearMembrane"),mt=nt("@@lockerNearMembraneUndefinedValue"),gt=`${()=>1}`.includes("*");let bt;function wt(t){const e=k(_,t,[]);return k(tt,e,[8,-1])}function vt(){const t=(()=>{var t;c.prepareStackTrace=(t,e)=>e;const e=(new c).stack;return delete c.prepareStackTrace,$(e)&&e.length>0?null==(t=e[0])?void 0:t.constructor:void 0})();if("function"!=typeof t)return;const{getEvalOrigin:e,getFunctionName:n,toString:r}=t.prototype;c.prepareStackTrace=function(t,o){return function(t,o){let i="";try{i=k(U,t,[])}catch(t){i="<error>"}let c=!1;for(let t=0,{length:a}=o;t<a;t+=1){const a=o[t],s=k(n,a,[]);let u=!1;if("string"==typeof s&&"eval"!==s&&k(Z,s,[pt])&&(u=!0),!u){const t=k(e,a,[]);"string"==typeof t&&k(Q,t,[pt])&&(u=!0)}if(u)c||(c=!0,i+="\n at LWS");else{c=!1;try{i+=`\n at ${k(r,a,[])}`}catch(t){}}}return i}(t,o)};const{stackTraceLimit:o}=c;("number"!=typeof o||o<20)&&(c.stackTraceLimit=20)}function Tt(t){if(t===w)return!1;if("object"==typeof t){const{constructor:e}=t;if(e===a)return!0;let n=!1;if(null===L(t)&&(n="function"!=typeof e||e.prototype!==t),n||(n=F(t)||function(t){try{return k(H,t,[]),!0}catch(t){}return!1}(t)||function(t){try{if(t!==V)return k(J,t,[]),!0}catch(t){}return!1}(t)),n)return n}return k(S,t,[ht])}function Et(t){return k(z,t,[])}function St(t){return k(W,t,[])}function _t(t){if(t!==V){const e=k(J,t,[]);return B({__proto__:null,flags:k(Y,t,[]),source:e})}}function kt(t){return k(et,t,[])}function xt(t){return k(ot,t,[])}function Nt(t){if(!C(t,rt)){switch(k(_,t,[])){case"[object BigInt]":return r?Et(t):void 0;case"[object Boolean]":return Et(t);case"[object Number]":return St(t);case"[object RegExp]":return _t(t);case"[object String]":return kt(t);case"[object Symbol]":return xt(t);default:return}}try{return xt(t)}catch(t){}if(r)try{return k(G,t,[])}catch(t){}try{return Et(t)}catch(t){}try{return St(t)}catch(t){}try{return _t(t)}catch(t){}try{return kt(t)}catch(t){}}function Pt(t){return j(t,null),t}if(t){const t=(t,n,r=k(it,e,[t]))=>(null==r?void 0:r[n])||!1,n=e=>new s(e,{apply(n,r,o){const i=k(e,r,o);if(i){const{0:n,1:i}=o;if(t(n,i))return O(n,i),k(e,r,o)}return i}}),r=n=>new s(n,{apply(r,o,i){const c=k(n,o,i),a=M(c),{length:s}=a;if(!s)return c;const{0:u}=i,l=k(it,e,[u]);if(void 0===l)return c;for(let e=0;e<s;e+=1){const n=a[e];if(t(u,n,l)){O(u,n);const t=A(u,n);t?c[n]=t:delete c[n]}}return c}});Object.getOwnPropertyDescriptor=n(y),Object.getOwnPropertyDescriptors=r(m),Reflect.getOwnPropertyDescriptor=n(A)}return function(n,r,i,c){const{distortionCallback:a=(t=>t),instrumentation:s}=p({__proto__:null},c),u=`to:${n}`,y=`from:${n}`,w=new f;let E,_,F,H,G,z,U,B,W,V,q,X,Y,J,Z,Q,tt,et,nt,ot,pt,ht,Et,St,_t,kt=0,xt=!1;function Ot(t,e,n){let r;delete n[e],U($t(t),e,((t,e,n,o,i,c)=>{r=Lt(t,e,n,o,i,c)})),r?N(t,e,r):delete t[e]}function At(t,e){const n=ht(t,((...t)=>{const n={};for(let e=0,{length:r}=t;e<r;e+=7){n[t[e]]=Lt(t[e+1],t[e+2],t[e+3],t[e+4],t[e+5],t[e+6])}h(e,n)})),r=n?It(n):n;j(e,r)}function Lt(t,e,n,r,o,i){const c={__proto__:null};return t!==mt&&(c.configurable=!!t),e!==mt&&(c.enumerable=!!e),n!==mt&&(c.writable=!!n),o!==mt&&(c.get=It(o)),i!==mt&&(c.set=It(i)),r!==mt&&(c.value=It(r)),c}function Ct(t,e,n,r){return{__proto__:null,configurable:!0,enumerable:n,get:()=>(Ot(t,e,r),O(t,e)),set(n){Ot(t,e,r),I(t,e,n)}}}function Dt(t){return()=>{_t=t}}function Mt(t){return function(...e){try{return k(t,this,e)}catch(t){const e=jt();if(void 0===e)throw new l(null==t?void 0:t.message);throw e}}}function Rt(t){const e=Pt(t),{configurable:n,enumerable:r,writable:o,value:i,get:c,set:a}=e;return["configurable"in e?!!n:mt,"enumerable"in e?!!r:mt,"writable"in e?!!o:mt,"value"in e?Ft(i):mt,"get"in e?Ft(c):mt,"set"in e?Ft(a):mt]}function It(t){return"function"==typeof t?(t(),jt()):t}function jt(){const t=_t;return _t=void 0,t}function $t(t){let e=k(it,w,[t]);if(e)return e;const n=function(t){let e;try{return e=a(t),e}finally{if(e!==t&&typeof e!=typeof t)throw new l(`Invalid distortion ${t}.`)}}(t),r=Dt(n),o=function(t){let e=0;const n="function"==typeof t;if(n){e|=2;try{return"prototype"in t||(e|=4),e}catch(t){}}let r=!1;try{r=$(t)}catch(t){e|=16}return r?e|=1:n||(e|=8),e}(n);return e=E(r,o,undefined),k(ct,w,[t,e]),e}function Ft(t){if(void 0!==t)return null===t||"function"!=typeof t&&"object"!=typeof t?t:$t(t)}function Ht(t,e,n){return s?function(...r){const o=s.startActivity(e,{crossingDirection:n});try{return k(t,this,r)}catch(t){throw o.error(t),t}finally{o.stop()}}:t}function Gt(t,e){At(e,t),R(t)}function zt(t,e,n){let r;const o=St(t,n,((t,o,i,c,a,s)=>{r=Lt(t,o,i,c,a,s),!1===r.configurable&&N(e,n,r)}));if(r)return r;let i=o?It(o):o;for(;i;){const t=A(i,n);if(t)return Pt(t);i=L(i)}}function Ut(t){const e=Ft(t);return"function"==typeof e&&e(),t}class Bt{constructor(t,e,o){this.color=n,this.foreignTargetTraits=0,this.apply=function(t,e,n){kt=1;const{foreignTargetPointer:r}=this,o=[r,Ft(e)],{length:i}=n,{length:c}=o;o.length+=i;for(let t=0;t<i;t+=1){const e=n[t],r=t+c;o[r]=void 0===e?void 0:null===e||"function"!=typeof e&&"object"!=typeof e?e:$t(e)}return It(k(_,void 0,o))},this.construct=function(t,e,n){if(kt=2,void 0===n)throw new l;const{foreignTargetPointer:r}=this,o=[r,Ft(n)],{length:i}=e,{length:c}=o;o.length+=i;for(let t=0;t<i;t+=1){const n=e[t],r=t+c;o[r]=void 0===n?void 0:null===n||"function"!=typeof n&&"object"!=typeof n?n:$t(n)}return It(k(F,void 0,o))};const i=16&e,c=i?0:8&e,a=function(t,e){let n;return 2&t?(n=4&t?()=>{}:function(){},"string"==typeof e&&N(n,"name",{__proto__:null,configurable:!0,enumerable:!1,value:e,writable:!1})):n=1&t?[]:{},n}(e,o),{proxy:s,revoke:u}=K(a,this);if(this.foreignTargetPointer=t,this.foreignTargetTraits=e,this.proxy=s,this.revoke=u,this.serializedValue=void 0,this.staticToStringTag=void 0,this.defineProperty=Bt.defaultDefinePropertyTrap,this.deleteProperty=Bt.defaultDeletePropertyTrap,this.isExtensible=Bt.defaultIsExtensibleTrap,this.getOwnPropertyDescriptor=Bt.defaultGetOwnPropertyDescriptorTrap,this.getPrototypeOf=Bt.defaultGetPrototypeOfTrap,this.get=Bt.defaultGetTrap,this.has=Bt.defaultHasTrap,this.ownKeys=Bt.defaultOwnKeysTrap,this.preventExtensions=Bt.defaultPreventExtensionsTrap,this.setPrototypeOf=Bt.defaultSetPrototypeOfTrap,this.set=Bt.defaultSetTrap,i&&u(),r)1&e&&this.makeProxyLive();else{if(c){let t=mt;k(T,this,["serializedValue",()=>(t===mt&&(t=pt(this.foreignTargetPointer)),t)])}d(this)}}makeProxyLive(){this.deleteProperty=Bt.passthruDeletePropertyTrap,this.defineProperty=Bt.passthruDefinePropertyTrap,this.preventExtensions=Bt.passthruPreventExtensionsTrap,this.set=Bt.passthruSetTrap,this.setPrototypeOf=Bt.passthruSetPrototypeOfTrap,d(this)}makeProxyStatic(t){const{foreignTargetPointer:e}=this,n=Q(e);if(8&n)this.revoke();else{try{At(e,t)}catch(t){if(ot(e))return void this.revoke()}if(8&this.foreignTargetTraits&&!C(t,rt)){const t=tt(e);"Object"!==t&&(this.staticToStringTag=t)}if(4&n)d(t);else if(2&n)v(t);else if(1&n)R(t);else if(gt&&!1!==bt)try{bt=Z("Mutations on the membrane of an object originating outside of the sandbox will not be reflected on the object itself:",e)}catch(t){}this.defineProperty=Bt.staticDefinePropertyTrap,this.deleteProperty=Bt.staticDeletePropertyTrap,this.get=Bt.staticGetTrap,this.getOwnPropertyDescriptor=Bt.staticGetOwnPropertyDescriptorTrap,this.getPrototypeOf=Bt.staticGetPrototypeOfTrap,this.has=Bt.staticHasTrap,this.isExtensible=Bt.staticIsExtensibleTrap,this.ownKeys=Bt.staticOwnKeysTrap,this.preventExtensions=Bt.staticPreventExtensionsTrap,this.set=Bt.staticSetTrap,this.setPrototypeOf=Bt.staticSetPrototypeOfTrap,d(this)}}makeProxyUnambiguous(t){nt(this.foreignTargetPointer)?this.makeProxyLive():this.makeProxyStatic(t)}static hybridGetTrap(t,e,n){const{foreignTargetPointer:r}=this,o=zt(r,t,e);if(o){const{get:t,value:e}=o;return t?k(t,n,[]):e}if(e===rt&&8&this.foreignTargetTraits){const t=tt(r);if("Object"!==t)return t}}static hybridHasTrap(t,e){const n=Et(this.foreignTargetPointer,e);if(!0===n)return!0;let r=n?It(n):n;for(;r;){if(k(S,r,[e]))return!0;r=L(r)}return!1}static passthruDefinePropertyTrap(t,e,n){kt=4;const{foreignTargetPointer:r}=this,o=Rt(n);return H(r,e,o[0],o[1],o[2],o[3],o[4],o[5],((n,r,o,i,c,a)=>{N(t,e,Lt(n,r,o,i,c,a))}))}static passthruDeletePropertyTrap(t,e){return kt=8,G(this.foreignTargetPointer,e)}static passthruGetTrap(t,e,n){if(xt&&(xt=128===kt),kt=16,xt){if(e===yt)return!0;if(e===dt)return this.serializedValue}return It(z(this.foreignTargetPointer,this.foreignTargetTraits,e,Ft(n)))}static passthruGetPrototypeOfTrap(t){kt=64;const e=B(this.foreignTargetPointer);return e?It(e):e}static passthruHasTrap(t,e){kt=128;const n=W(this.foreignTargetPointer,e);return xt=!n&&(e===yt||e===dt),n}static passthruIsExtensibleTrap(t){if(kt=256,D(t)){const{foreignTargetPointer:e}=this;if(V(e))return!0;Gt(t,e)}return!1}static passthruOwnKeysTrap(t){let e;return kt=512,q(this.foreignTargetPointer,((...t)=>{e=t})),e||[]}static passthruGetOwnPropertyDescriptorTrap(t,e){let n;return kt=32,U(this.foreignTargetPointer,e,((r,o,i,c,a,s)=>{n=Lt(r,o,i,c,a,s),!1===n.configurable&&N(t,e,n)})),n}static passthruPreventExtensionsTrap(t){if(kt=1024,D(t)){const{foreignTargetPointer:e}=this,n=X(e);if(2&n)return 1&n||Gt(t,e),!1;Gt(t,e)}return!0}static passthruSetPrototypeOfTrap(t,e){kt=4096;const n=e?$t(e):e;return J(this.foreignTargetPointer,n)}static passthruSetTrap(t,e,n,r){kt=2048;const{foreignTargetPointer:o}=this;if(this.proxy===r)return Y(o,e,Ft(n),$t(r));const i=zt(o,t,e);if(i){if("get"in i||"set"in i){const{set:t}=i;return!!t&&(k(t,r,[n]),!0)}if(!1===i.writable)return!1}let c;if(null===r||"function"!=typeof r&&"object"!=typeof r)return!1;const a=A(r,e);return a&&(c=Pt(a)),c?!("get"in c)&&!("set"in c)&&!1!==c.writable&&(N(r,e,{__proto__:null,value:n}),!0):N(r,e,{__proto__:null,configurable:!0,enumerable:!0,value:n,writable:!0})}static pendingDefinePropertyTrap(t,e,n){return this.makeProxyUnambiguous(t),this.defineProperty(t,e,n)}static pendingDeletePropertyTrap(t,e){return this.makeProxyUnambiguous(t),this.deleteProperty(t,e)}static pendingPreventExtensionsTrap(t){return this.makeProxyUnambiguous(t),this.preventExtensions(t)}static pendingSetPrototypeOfTrap(t,e){return this.makeProxyUnambiguous(t),this.setPrototypeOf(t,e)}static pendingSetTrap(t,e,n,r){return this.makeProxyUnambiguous(t),this.set(t,e,n,r)}static staticGetTrap(t,e,n){const r=O(t,e,n);return void 0===r&&e===rt&&8&this.foreignTargetTraits&&!C(t,e)?this.staticToStringTag:r}}return Bt.defaultDefinePropertyTrap=r?Bt.pendingDefinePropertyTrap:Bt.passthruDefinePropertyTrap,Bt.defaultDeletePropertyTrap=r?Bt.pendingDeletePropertyTrap:Bt.passthruDeletePropertyTrap,Bt.defaultGetOwnPropertyDescriptorTrap=Bt.passthruGetOwnPropertyDescriptorTrap,Bt.defaultGetPrototypeOfTrap=Bt.passthruGetPrototypeOfTrap,Bt.defaultGetTrap=r?Bt.hybridGetTrap:Bt.passthruGetTrap,Bt.defaultHasTrap=r?Bt.hybridHasTrap:Bt.passthruHasTrap,Bt.defaultIsExtensibleTrap=Bt.passthruIsExtensibleTrap,Bt.defaultOwnKeysTrap=Bt.passthruOwnKeysTrap,Bt.defaultPreventExtensionsTrap=r?Bt.pendingPreventExtensionsTrap:Bt.passthruPreventExtensionsTrap,Bt.defaultSetTrap=r?Bt.pendingSetTrap:Bt.passthruSetTrap,Bt.defaultSetPrototypeOfTrap=r?Bt.pendingSetPrototypeOfTrap:Bt.passthruSetPrototypeOfTrap,Bt.staticDefinePropertyTrap=N,Bt.staticDeletePropertyTrap=P,Bt.staticGetOwnPropertyDescriptorTrap=A,Bt.staticGetPrototypeOfTrap=L,Bt.staticHasTrap=C,Bt.staticIsExtensibleTrap=D,Bt.staticOwnKeysTrap=M,Bt.staticPreventExtensionsTrap=R,Bt.staticSetPrototypeOfTrap=j,Bt.staticSetTrap=I,j(Bt.prototype,null),d(Bt.prototype),i(Dt(lt),jt,Ft,((t,e)=>{t();return Dt(jt()[e])}),(t=>{try{return Ft(ut(t))}catch(t){throw Ut(t)}}),((t,e)=>{t();const n=jt();("object"==typeof n&&null!==n||"function"==typeof n)&&k(ct,w,[n,e])}),((t,e,n)=>{const{proxy:r}=new Bt(t,e,n);return k(ct,w,[r,t]),Dt(r)}),Ht(((t,e,...n)=>{t();const r=_t;_t=void 0;let i=e;"function"==typeof e&&(e(),i=_t,_t=void 0);const{length:c}=n,a=new o(c);for(let t=0;t<c;t+=1){const e=n[t];let r=e;"function"==typeof e&&(e(),r=_t,_t=void 0),a[t]=r}let s;try{s=k(r,i,a)}catch(t){throw Ut(t)}if(void 0!==s)return null===s||"function"!=typeof s&&"object"!=typeof s?s:$t(s)}),"callableApply",u),Ht(((t,e,...n)=>{t();const r=_t;let i=e;"function"==typeof e&&(e(),i=_t,_t=void 0);const{length:c}=n,a=new o(c);for(let t=0;t<c;t+=1){const e=n[t];let r=e;"function"==typeof e&&(e(),r=_t,_t=void 0),a[t]=r}let s;try{s=x(r,a,i)}catch(t){throw Ut(t)}if(void 0!==s)return null===s||"function"!=typeof s&&"object"!=typeof s?s:$t(s)}),"callableConstruct",u),Ht(((t,e,n,r,o,i,c,a,s)=>{t();const u=jt();let l=!1;try{l=N(u,e,Lt(n,r,o,i,c,a))}catch(t){throw Ut(t)}if(l&&!1===n&&"function"==typeof s){let t;try{t=A(u,e)}catch(t){throw Ut(t)}if(t){const e=Rt(t),{0:n}=e;!1===n&&s(n,e[1],e[2],e[3],e[4],e[5])}}return l}),"callableDefineProperty",u),Ht(((t,e)=>{t();const n=jt();try{return P(n,e)}catch(t){throw Ut(t)}}),"callableDeleteProperty",u),Ht(((t,e,n,r)=>{t();const o=jt(),i=It(r);let c;try{c=Ft(O(o,n,i))}catch(t){throw Ut(t)}if(void 0===c&&n===rt&&(0===e||8&e))try{if(!C(o,n)){const t=wt(o);"Object"!==t&&(c=t)}}catch(t){throw Ut(t)}return c}),"callableGet",u),Ht(((t,e,n)=>{t();const r=jt();let o;try{o=A(r,e)}catch(t){throw Ut(t)}if(o){const t=Rt(o);n(t[0],t[1],t[2],t[3],t[4],t[5])}}),"callableGetOwnPropertyDescriptor",u),Ht((t=>{t();const e=jt();let n;try{n=L(e)}catch(t){throw Ut(t)}return n?$t(n):n}),"callableGetPrototypeOf",u),Ht(((t,e)=>{t();const n=jt();try{return C(n,e)}catch(t){throw Ut(t)}}),"callableHas",u),Ht((t=>{t();const e=jt();try{return D(e)}catch(t){throw Ut(t)}}),"callableIsExtensible",u),Ht(((t,e)=>{t();const n=jt();let r;try{r=M(n)}catch(t){throw Ut(t)}k(e,void 0,r)}),"callableOwnKeys",u),Ht((t=>{t();const e=jt();let n=2;try{R(e)&&(n=4)}catch(t){throw Ut(t)}return 2&n&&D(e)&&(n|=1),n}),"callablePreventExtensions",u),Ht(((t,e,n,r)=>{t();const o=jt();try{return I(o,e,It(n),It(r))}catch(t){throw Ut(t)}}),"callableSet",u),Ht(((t,e)=>{t();const n=jt(),r=e?It(e):e;try{return j(n,r)}catch(t){throw Ut(t)}}),"callableSetPrototypeOf",u),Ht(((...e)=>{if(!t&&gt&&void 0===bt&&(bt=k(S,lt,[ft]),bt&&(vt(),et())),bt){for(let t=0,{length:n}=e;t<n;t+=1)e[t]=It(e[t]);try{k(st,at,e)}catch(t){throw Ut(t)}return!0}return!1}),"callableDebugInfo",u),Ht((t=>{t();return function(t){let e=0;try{g(t)||b(t)?e|=0:D(t)||(e|=1)}catch(n){try{$(t)}catch(t){e|=8}}return e}(jt())}),"callableGetTargetIntegrityTraits",u),Ht((t=>{t();const e=jt();try{return wt(e)}catch(t){throw Ut(t)}}),"callableGetToStringTagOfTarget",u),Ht(vt,"callableInstallErrorPrepareStackTrace",u),Ht(((n,...r)=>{if(!t)return;n();const o=jt();let i=k(it,e,[o]);void 0===i&&(i={__proto__:null},k(ct,e,[o,i]));for(let t=0,{length:e}=r;t<e;t+=2){const e=r[t],n=r[t+1];i[e]=!0,N(o,e,Ct(o,e,n,i))}}),"callableInstallLazyDescriptors",u),Ht((t=>{t();const e=jt();try{return Tt(e)}catch(t){throw Ut(t)}}),"callableIsTargetLive",u),Ht((t=>{t();const e=jt();try{return function(t){try{return $(t),!1}catch(t){}return!0}(e)}catch(t){throw Ut(t)}}),"callableIsTargetRevoked",u),Ht((t=>{t();const e=jt();try{return Nt(e)}catch(t){throw Ut(t)}}),"callableSerializeTarget",u),Ht(((t,e)=>{t();const n=jt();let r;try{r=m(n)}catch(t){throw Ut(t)}const i=M(r),{length:c}=i,a=new o(7*c);for(let t=0,e=0;t<c;t+=1,e+=7){const n=i[t],o=Pt(r[n]),{configurable:c,enumerable:s,writable:u,value:l,get:f,set:p}=o;a[e]=n,a[e+1]="configurable"in o?!!c:mt,a[e+2]="enumerable"in o?!!s:mt,a[e+3]="writable"in o?!!u:mt,a[e+4]="value"in o?Ft(l):mt,a[e+5]="get"in o?Ft(f):mt,a[e+6]="set"in o?Ft(p):mt}let s;k(e,void 0,a);try{s=L(n)}catch(t){throw Ut(t)}return s?$t(s):s}),"callableBatchGetPrototypeOfAndOwnPropertyDescriptors",u),Ht(((t,e)=>{t();const n=jt();let r,o;try{r=k(S,n,[e])}catch(t){throw Ut(t)}if(r)return r;try{o=L(n)}catch(t){throw Ut(t)}return o?$t(o):o}),"callableBatchGetPrototypeOfWhenHasNoOwnProperty",u),Ht(((t,e,n)=>{t();const r=jt();let o,i;try{o=A(r,e)}catch(t){throw Ut(t)}if(!o){try{i=L(r)}catch(t){throw Ut(t)}return i?$t(i):i}{const t=Rt(o);n(t[0],t[1],t[2],t[3],t[4],t[5])}}),"callableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor",u)),(...t)=>{const{6:e,7:n,8:r,9:o,10:i,11:c,12:a,13:s,14:u,15:l,16:f,17:p,18:h,19:d,20:m,21:g,22:b,23:w,25:v,26:T,27:S,28:k,29:x,30:N}=t;E=e,_=Mt(Ht(n,"callableApply",y)),F=Mt(Ht(r,"callableConstruct",y)),H=Mt(Ht(o,"callableDefineProperty",y)),G=Mt(Ht(i,"callableDeleteProperty",y)),z=Mt(Ht(c,"callableGet",y)),U=Mt(Ht(a,"callableGetOwnPropertyDescriptor",y)),B=Mt(Ht(s,"callableGetPrototypeOf",y)),W=Mt(Ht(u,"callableHas",y)),et=Mt(Ht(w,"callableInstallErrorPrepareStackTrace",y)),V=Mt(Ht(l,"callableIsExtensible",y)),q=Mt(Ht(f,"callableOwnKeys",y)),X=Mt(Ht(p,"callablePreventExtensions",y)),Y=Mt(Ht(h,"callableSet",y)),J=Mt(Ht(d,"callableSetPrototypeOf",y)),Z=Mt(Ht(m,"callableDebugInfo",y)),Q=Mt(Ht(g,"callableGetTargetIntegrityTraits",y)),tt=Mt(Ht(b,"callableGetToStringTagOfTarget",y)),nt=Mt(Ht(v,"callableIsTargetLive",y)),ot=Mt(Ht(T,"callableIsTargetRevoked",y)),pt=Mt(Ht(S,"callableSerializeTarget",y)),ht=Mt(Ht(k,"callableBatchGetPrototypeOfAndOwnPropertyDescriptors",y)),Et=Mt(Ht(x,"callableBatchGetPrototypeOfWhenHasNoOwnProperty",y)),St=Mt(Ht(N,"callableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor",y))}}}const _a=TypeError,ka=WeakMap,{apply:xa}=Reflect,{get:Na,set:Pa}=ka.prototype,Oa=`\n'use strict';\n(${Sa.toString()})`,Aa=new ka;const La=Symbol.for("@@lockerNearMembraneUndefinedValue"),Ca=Error,Da=Object,{includes:Ma,push:Ra}=Array.prototype,{keys:Ia}=Da,{propertyIsEnumerable:ja}=Da.prototype,{apply:$a,ownKeys:Fa}=Reflect;class Ha{constructor(t){if(void 0===t)throw new Ca("Missing VirtualEnvironmentOptions options bag.");const{blueConnector:e,redConnector:n,distortionCallback:r,instrumentation:o}=t;let i,c;this.blueConnector=e,this.redConnector=n;const a=e("blue",false,((...t)=>{i=t}),{distortionCallback:r,instrumentation:o}),s=n("red",true,((...t)=>{c=t}));$a(a,void 0,c),$a(s,void 0,i);const{0:u,1:l,2:f,3:p,5:h}=i;this.blueGlobalThisPointer=u,this.blueGetSelectedTarget=l,this.blueGetTransferableValue=f,this.blueCallableGetPropertyValuePointer=p,this.blueCallableLinkPointers=h;const{0:d,3:y,4:m,5:g,9:b,19:w,24:v}=c;this.redGlobalThisPointer=d,this.redCallableGetPropertyValuePointer=y,this.redCallableEvaluate=m,this.redCallableLinkPointers=g,this.redCallableDefineProperty=b,this.redCallableSetPrototypeOf=w,this.redCallableInstallLazyDescriptors=v}evaluate(t){try{const e=this.redCallableEvaluate(t);return"function"==typeof e?(e(),this.blueGetSelectedTarget()):e}catch(t){const e=this.blueGetSelectedTarget();if(e)throw e;throw t}}lazyRemap(t,e){const n=this.blueGetTransferableValue(t),r=Ia(t),o=[n];for(let n=0,{length:i}=e;n<i;n+=1){const i=e[n],c="symbol"==typeof i?$a(ja,t,[i]):$a(Ma,r,[i]);$a(Ra,o,[i,c])}$a(this.redCallableInstallLazyDescriptors,void 0,o)}link(...t){let e=this.blueGlobalThisPointer,n=this.redGlobalThisPointer;for(let r=0,{length:o}=t;r<o;r+=1){const o=t[r];e=this.blueCallableGetPropertyValuePointer(e,o),n=this.redCallableGetPropertyValuePointer(n,o),this.redCallableLinkPointers(n,e),this.blueCallableLinkPointers(e,n)}}remap(t,e){const n=Fa(e),r=this.blueGetTransferableValue(t);for(let t=0,{length:o}=n;t<o;t+=1){const o=n[t],i=e[o];this.redCallableDefineProperty(r,o,"configurable"in i?!!i.configurable:La,"enumerable"in i?!!i.enumerable:La,"writable"in i?!!i.writable:La,"value"in i?this.blueGetTransferableValue(i.value):La,"get"in i?this.blueGetTransferableValue(i.get):La,"set"in i?this.blueGetTransferableValue(i.set):La)}}remapProto(t,e){const n=this.blueGetTransferableValue(t),r=e?this.blueGetTransferableValue(e):e;this.redCallableSetPrototypeOf(n,r)}}const{includes:Ga,push:za}=Array.prototype,{assign:Ua}=Object,{apply:Ba,getOwnPropertyDescriptor:Wa,ownKeys:Ka,setPrototypeOf:Va}=Reflect,qa=["AggregateError","Array","Error","EvalError","Function","Object","Proxy","RangeError","ReferenceError","SyntaxError","TypeError","URIError","eval"],Xa=["globalThis","Infinity","NaN","undefined","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","BigInt","Boolean","FinalizationRegistry","Number","RegExp","String","Symbol","WeakRef","JSON","Math","Reflect","escape","unescape",...qa];function Ya(t){const e=[],n=Ka(t);for(let t=0,{length:r}=n;t<r;t+=1){const r=n[t];Ba(Ga,Xa,[r])||Ba(za,e,[r])}return e}const Ja=WeakMap,{push:Za}=Array.prototype,{apply:Qa,getPrototypeOf:ts,ownKeys:es}=Reflect,{get:ns,set:rs}=Ja.prototype,os=new Ja;function is(t){let e=Qa(ns,os,[t]);if(e)return e;const{document:n,window:r}=t,o=ts(r),i=ts(o),c=ts(i);return e={document:n,DocumentProto:ts(n),window:r,WindowProto:o,WindowPropertiesProto:i,EventTargetProto:c,EventTargetProtoOwnKeys:es(c)},Qa(rs,os,[t,e]),e}function cs(t){const e=[];for(let n=0,{length:r}=t;n<r;n+=1){const r=t[n];"document"!==r&&"location "!==r&&"top"!==r&&"window"!==r&&"chrome"!==r&&Qa(Za,e,[r])}return e}is(window);const as=Object,ss=TypeError,{prototype:us}=Document,{prototype:ls}=Node,{remove:fs,setAttribute:ps}=Element.prototype,{appendChild:hs}=ls,{assign:ds}=as,{__lookupGetter__:ys}=as.prototype,{apply:ms}=Reflect,{close:gs,createElement:bs,open:ws}=us,vs=ms(ys,us,["body"]),Ts=ms(ys,HTMLElement.prototype,["style"]),Es=ms(ys,HTMLIFrameElement.prototype,["contentWindow"]),Ss=ms(ys,ls,["lastChild"]),_s=document,ks=Sa();let xs=null;function Ns(t,e,n){if("object"!=typeof t)throw new ss("Missing global object shape.");if("object"!=typeof e||null===e)throw new ss("Missing global object virtualization target.");const{distortionCallback:r,endowments:o,instrumentation:i,keepAlive:c=!1}=ds({__proto__:null},n),a=function(){const t=ms(bs,_s,["iframe"]),e=ms(vs,_s,[])||ms(Ss,_s,[]);return ms(Ts,t,[]).display="none",ms(ps,t,["sandbox","allow-same-origin allow-scripts"]),ms(hs,e,[t]),t}(),s=ms(Es,a,[]).window;let u;null===t?(null===xs&&(xs=cs(Ya(s))),u=xs):u=cs(Ya(t));const l={};var f;!function(t,e,n=e){if(e){const r=Ka(e);for(let e=0,{length:o}=r;e<o;e+=1){const o=r[e];if(!Ba(Ga,Xa,[o])){const e=n[o];e&&(t[o]=Ua({__proto__:null},e))}}}}(l,o),delete(f=l).document,delete f.location,delete f.top,delete f.window,delete f.chrome;const{document:p}=s,h=ks,d=function(t){if("function"!=typeof t)throw new _a("Missing evaluator function.");let e=xa(Na,Aa,[t]);return void 0===e&&(e=t(Oa)(!0,Ea),xa(Pa,Aa,[t,e])),e}(s.eval),y=is(e),m=new Ha({blueConnector:h,distortionCallback:r,redConnector:d,instrumentation:i});return m.link("window"),function(t,e){for(let n=0,{length:r}=qa;n<r;n+=1){const r=qa[n],o=e[r];o&&(t.link(r),o.prototype&&t.link(r,"prototype"))}}(m,e),function(t){t.link("document"),t.link("__proto__","__proto__","__proto__")}(m),m.remapProto(y.document,y.DocumentProto),m.lazyRemap(y.window,u),m.remap(y.window,l),m.lazyRemap(y.EventTargetProto,y.EventTargetProtoOwnKeys),!0!==c?ms(fs,a,[]):(ms(ws,p,[]),ms(gs,p,[])),m}const Ps=new RegExp("\\breturn\\s*\\[\\s*([\"'])$LWS\\1\\s*,\\s*([^,\\s]+)\\s*,\\s*([\"'])=\\3\\s*,\\s*([^\\]\\s]+)\\s*\\]","g");let Os,As;function Ls(){const t=Os;return Os=void 0,t}function Cs(){const t=As;return As=void 0,t}function Ds(t){Os=t}const Ms={$lockerEvalContext$:{__proto__:null,get:()=>Ls()},$lockerEvalHelpers$:{__proto__:null,get:()=>Cs()}},Rs={__proto__:null};const Is=new be;function js(t){return e=>{const{distortions:n}=t,r=Ee(n,e);return r||(lo(e)&&uo(e)&&(!function(t,e){const{distortionFactory:n,distortions:r}=t,o=n(e);for(let t=0,{length:e}=o;t<e;t+=1){const{0:e,1:n}=o[t];Se(r,e,n)}}(t,e),Se(n,e,e)),e)}}function $s(t,e,n,r,o,i){const c=o||Ta,{startActivity:a}=c,s={sandboxKey:t},u=a("EvaluateInSandboxDuration",s);let l=function(t){return Rs[t]}(t);if(void 0===l){Q(r)||(r=void 0);const e={__proto__:null,instrumentation:c,sandboxType:dc.External,verboseInstrumentation:i},n=n=>{const r=a("createExternalDistortionEntries",s),o=ba(n,t,$s,e);return r.stop(),o},o=a("createSandbox",s);l=function(t,e,n,r){const o={__proto__:null};return o.distortionFactory=e,o.distortions=new be(e(window)),o.env=Ns(null,window,{distortionCallback:js(o),endowments:R({},Ms,n?$(n):void 0),keepAlive:!1,instrumentation:r}),o.helpers={__proto__:null},Ds((t=>{R(o.helpers,t({loadingPromises:Is}))})),o.env.evaluate(`'use strict';\n $lockerEvalContext$(${function(t){const{loadingPromises:e}=t,n=Promise,r=TypeError,{asyncIterator:o,iterator:i}=Symbol,{[i]:c}=Array.prototype,a=function*(){}.constructor.prototype.prototype,{next:s,throw:u}=a,{delete:l,get:f,set:p}=Map.prototype,{appendChild:h}=Node.prototype,{freeze:d}=Object,{then:y}=n.prototype,m=n.resolve.bind(n),{apply:g,getPrototypeOf:b,setPrototypeOf:w}=Reflect,{get:v,set:T}=WeakMap.prototype,{createElement:E}=Document.prototype,{querySelector:S,setAttribute:_}=Element.prototype,{stopPropagation:k}=Event.prototype,{addEventListener:x}=EventTarget.prototype,N=document,{head:P}=N,O=new Map,A="data-locker-id",L=`${crypto.getRandomValues(new Uint32Array(1))[0]}`;function C(t,e,n,r,o,i,c){let a,s;try{a=g(i,t,[c]),s=a.value}catch(t){return void n(t)}a.done?e(s):m(s).then(r,o)}function D(t,r){const o=new n(((e,n)=>{g(x,t,["load",()=>{e(void 0)}]),g(x,t,["error",t=>{g(k,t,[]),n(`[Locker] resource loader error loading "${r}"`)}])}));return g(T,e,[t,o]),g(h,P,[t]),o}return{asyncToGen:function(t,e,r){return new n(((n,o)=>{const i=g(t,e,r);function c(t){C(i,n,o,c,a,s,t)}function a(t){C(i,n,o,c,a,u,t)}c(void 0)}))},forAwaitOf:function(t,e,c){if(0===e){let e=!1,{[o]:n}=c;if(null==n&&(e=!0,({[i]:n}=c)),"function"!=typeof n)throw new r("Object is not iterable.");return void g(p,O,[t,{iterable:g(n,c,[]),step:void 0,sync:e}])}const a=g(f,O,[t]);if(1===e){const t=a.iterable.next();return a.sync?new n((e=>{a.step=t,e()})):g(y,t,[t=>{a.step=t}])}if(2===e)return a.step.value;if(3===e){const e=!!a.step.done;return e&&g(l,O,[t]),e}},loadScript:function(t,n){let r=g(S,P,[`script[data-distorted-src='${n}'][data-locker-id='${L}']`]);var o;return r?null!=(o=g(v,e,[r]))?o:m():(r=g(E,N,["script"]),g(_,r,[A,L]),r.type="text/javascript",r.src=n,D(r,n))},loadStyle:function(t,n){let r=g(S,P,[`link[href='${n}']`]);var o;return r?null!=(o=g(v,e,[r]))?o:m():(r=g(E,N,["link"]),r.type="text/css",r.rel="stylesheet",r.href=n,D(r,n))},namespace:function(t){return d(t)},spreadable:function(t){return w(t,null),t[i]=c,t},super:function(t,e,n,r){const o=b(t.prototype)[e];return g(o,n,r)}}}})`),Rs[t]=o,o}(t,n,r,i?c:void 0),o.stop()}var f;let p;Ds(n),f=l.helpers,As=f;const h=function(t){let e=Zt(t);return"function"==typeof t&&(e=Wt(e,/^[\s\S]+?\{(?:[\t ]*\r?\n)?([\s\S]*?)(?:\r?\n[\t ]*)?\}$/)[1]),e=Kt(e,/\/\/# sandbox(?=MappingURL=.*?\s*$)/,"//# source"),Ps.lastIndex=0,e=Kt(e,Ps,((t,e,n,r,o)=>`${n}=${o}`)),`'use strict';${e}`}(e),d=a("externalEvaluatorDuration",s);try{p=l.env.evaluate(h)}catch(e){throw d.error({sandboxKey:t,error:e}),e}finally{Ls(),Cs(),d.stop()}return u.stop(),p}const Fs=me("@@lockerDebugMode");if(`${()=>1}`.includes("*")){let e=!0;const n=100,r=5,o=100,i=o/2,c=/^[0-9]$|^[1-9][0-9]+$/,a="display: inline-block; margin-bottom: 3px; margin-left: -3px; word-break: break-all; word-wrap: wrap;",u={style:"margin-left:11px; margin-bottom: 3px;"},l={style:"display: inline-block; margin-left:12px; word-break: break-all; word-wrap: wrap;"},p={style:"color: #9d288c; font-weight: bold"},h={style:"color: #b17ab0"},d={style:"color: #16239f"},y={style:"color: #236d25"},m={style:"color: #606367"},g={style:"color: #b82619"},b=function(t){if(null==t)return["span",m,`${t}`];if("boolean"==typeof t)return["span",d,t];if("number"==typeof t)return At(t)?["span",d,t]:["span",d,(t>=0?"":"-")+"Infinity"];if("string"==typeof t){let e=t;const{length:n}=e;if(n>o){e=`${Vt(e,0,i)}…${Vt(e,n-i-1,n)}`}return["span",g,Fe(e)]}return k(t)?["span",{},`Array(${t.length})`]:Z(t)?["span",{},"{…}"]:["span",g,Lt(t)]},w=function(e,o={}){const i=[],{isChildElement:a}=o;a&&(C(i,["span",p,`${o.childKey}`]),C(i,["span",{},": "]));const s=ot(e);let u=z(e);if("[object Symbol]"===s)A(u,"description")||function(e,...n){t(S,e,n)}(u,"description");else if("[object String]"===s){const{length:t}=e;u=O(u,(e=>!oe(c,e)||+e>=t))}const{length:l}=u;if(k(e)){C(i,["span",a?m:{},`(${e.length}) [`]);for(let t=0,r=Be(l,n);t<r;t+=1){const n=u[t];C(i,["span",{},t?", ":""],b(e[n]))}return l>n&&C(i,["span",null,["span",{},", …"]]),C(i,["span",{},"]"]),i}let f,h="{";switch(s){case"[object BigInt]":case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Symbol]":{let t=d;"[object BigInt]"===s?t=y:"[object Symbol]"===s&&(t=g),h=`${Vt(s,8,-1)} {`,f=["span",t,`${Lt(Ve(e))}`];break}}C(i,["span",{},h]),f&&(C(i,f),l&&C(i,["span",{},", "]));for(let t=0,n=Be(l,r);t<n;t+=1)C(i,["span",{},t?", ":""],["span",m,`${u[t]}`],["span",{},": "],b(e[u[t]]));return l>r&&C(i,["span",null,["span",{},", …"]]),C(i,["span",{},"}"]),i},v=function(e){const n=z(e),r=f(e);k(e)||t(E,r,[]);const o=[];for(let t=0,{length:i}=r;t<i;t+=1){const i=r[t],c=e[i];if(Z(c))C(o,["div",{},["object",{object:c,config:{childKey:i,isChildElement:!0}}]]);else{let t=p;"symbol"!=typeof i&&A(n,i)||(t=h),C(o,["div",u,["span",t,Lt(i)],["span",{},": "],b(c)])}}return o};k(window.devtoolsFormatters)||s(window,"devtoolsFormatters",{__proto__:null,configurable:!0,value:[],writable:!0}),C(window.devtoolsFormatters,{header(n,r={}){if(e&&(e=!1,s(window,Fs,{__proto__:null,configurable:!0,value:!0,writable:!0})),!qe(n))return null;const o=["div",{style:`${a}${r.isChildElement?"":"font-style: italic;"}`}];return t(x,o,w(n,r)),["div",{},o]},hasBody:()=>!0,body(e){const n=["div",l];return t(x,n,v(e)),n}})}const Hs=globalThis.LWR.define;function Gs(t,e,n,r){const[o,i]=t.split("/");if(r.includes(o)||r.includes(`${o}/*`)||r.includes(`${o}/${i}`))return n;const c=function(t,e,n){let r;return $s(t,`"use strict";$lockerEvalContext$(${n.toString()});\n//# sourceURL=modules/${e}.js\n`,(t=>{r=t})),r}(o,t,n),a=e.indexOf("exports");return a>=0?function(...t){const e=t.map(((t,e)=>{return e===a&&(n=t,Reflect.defineProperty(n,Symbol.for("@@lockerLiveValue"),{}),n)||t;var n}));return c.apply(this,e)}:c}function zs(t){globalThis.LWR=Object.freeze(Object.assign(Object.assign({},globalThis.LWR),{define:function(e,n,r,o){"function"==typeof n&&(o=r,r=n,n=[]),Hs(e,n,Gs(e,n,r,t),o)}}))}export{zs as registerLockerDefine};
1
+ const{apply:t,construct:e,deleteProperty:n,has:o,get:r,getPrototypeOf:i,set:c,setPrototypeOf:s,defineProperty:a,getOwnPropertyDescriptor:l,ownKeys:u}=Reflect,f=Array,{prototype:p}=f,{filter:d,includes:h,indexOf:y,join:m,pop:g,shift:b,some:v,sort:w,unshift:T}=p,{isArray:E}=f,{push:_,slice:S}=p;function k(e,...n){const o=t(S,e,[0]),{length:r}=n;for(let e=0;e<r;e+=1){const r=n[e];t(_,o,E(r)?r:[r])}return o}function N(e,n){return t(d,e,[n])}function x(e,n){return t(h,e,[n])}function A(e,...n){return t(m,e,n)}function P(e,...n){return t(S,e,n)}const C=Object,{assign:O,getOwnPropertyDescriptors:L,freeze:D,getOwnPropertySymbols:M,keys:j,preventExtensions:R,prototype:$}=C,{__lookupGetter__:I,__lookupSetter__:F,hasOwnProperty:H,toString:G}=$;function z(t){return"object"==typeof t&&null!==t}function U(t){return"object"==typeof t&&null!==t||"function"==typeof t}function W(e,n){return null!=e&&t(H,e,[n])}function B(e,n){if(null!=e&&t(H,e,[n]))return t(I,e,[n])}function V(e,n){if(null!=e&&t(H,e,[n]))return t(F,e,[n])}function K(e,n){if(null!=e&&t(H,e,[n]))return e[n]}function q(e){return t(G,e,[])}const X=ArrayBuffer,{isView:Y}=X,Z=B(X.prototype,"byteLength");const J="function"==typeof BigInt,Q=J?BigInt.prototype.valueOf:void 0,tt=J?function(e){if("object"==typeof e&&null!==e)try{return t(Q,e,[]),!0}catch(t){}return!1}:function(t){return!1},{valueOf:et}=Boolean.prototype;const nt=`${()=>1}`.includes("$LWS"),ot=Date,{valueOf:rt}=ot.prototype,{now:it}=ot;const{bind:ct}=Function.prototype,st=(e,n)=>t(ct,e,[n]),at=Map,{prototype:lt}=at,{clear:ut,entries:ft,get:pt,set:dt}=lt,ht=B(lt,"size");function yt(e){return t(ft,e,[])}function mt(e,n,o){return t(dt,e,[n,o])}const gt=Number,{toFixed:bt,valueOf:vt}=gt.prototype,{isFinite:wt}=gt;const Tt=String,{prototype:Et}=Tt,{includes:_t,match:St,replace:kt,slice:Nt,split:xt,startsWith:At,toLowerCase:Pt,toUpperCase:Ct,valueOf:Ot}=Et;function Lt(e,n){return t(St,e,[n])}function Dt(e,n,o){return t(kt,e,[n,o])}function Mt(e,...n){return t(Nt,e,n)}function jt(e,...n){return t(xt,e,n)}function Rt(e,...n){return t(At,e,n)}function $t(e){return t(Pt,e,[])}function It(e){return t(Ct,e,[])}function Ft(t){try{return Tt(t)}catch(t){}return""}const Ht=RegExp,{prototype:Gt}=Ht,{exec:zt,test:Ut}=Gt,Wt=B(Gt,"source"),Bt=/[\\^$.*+?()[\]{}|]/g;function Vt(t){return Dt(t,Bt,"\\$&")}function Kt(e){try{if(e!==Gt)return t(Wt,e,[]),!0}catch(t){}return!1}function qt(e,n){return t(zt,e,[Ft(n)])}function Xt(e,n){return t(Ut,e,[Ft(n)])}const Yt=Set,{prototype:Zt}=Yt,{add:Jt,delete:Qt,has:te,values:ee}=Zt,ne=B(Zt,"size");function oe(e,n){return t(Jt,e,[n])}function re(e,n){return t(te,e,[n])}const ie=Symbol,{valueOf:ce}=ie.prototype,{for:se}=ie;const ae=WeakMap,{get:le,has:ue,set:fe}=ae.prototype;function pe(e,n){return t(le,e,[n])}function de(e,n,o){return t(fe,e,[n,o])}const{has:he}=WeakSet.prototype;const{toStringTag:ye}=Symbol,me=/[(`.[+\-/*%<>=,?^&]/,ge=/\r\n?|\n|\u2028|\u2029/,be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ve=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function we(e){return function(e){if("object"==typeof e&&null!==e)try{return t(rt,e,[]),!0}catch(t){}return!1}(e)?"[object Date]":function(e){try{return t(ht,e,[]),!0}catch(t){}return!1}(e)?"[object Map]":Kt(e)?"[object RegExp]":function(e){try{return t(ne,e,[]),!0}catch(t){}return!1}(e)?"[object Set]":function(e){if("object"==typeof e&&null!==e)try{return t(ue,e,[]),!0}catch(t){}return!1}(e)?"[object WeakMap]":function(e){if("object"==typeof e&&null!==e)try{return t(he,e,[]),!0}catch(t){}return!1}(e)?"[object WeakSet]":tt(e)?"[object BigInt]":function(e){if("object"==typeof e&&null!==e)try{return t(et,e,[]),!0}catch(t){}return!1}(e)?"[object Boolean]":function(e){if("object"==typeof e&&null!==e)try{return t(vt,e,[]),!0}catch(t){}return!1}(e)?"[object Number]":function(e){if("object"==typeof e&&null!==e)try{return t(Ot,e,[]),!0}catch(t){}return!1}(e)?"[object String]":function(e){if("object"==typeof e&&null!==e)try{return t(ce,e,[]),!0}catch(t){}return!1}(e)?"[object Symbol]":"[object Object]"}function Te(t){if(null===t)return"[object Null]";if(void 0===t)return"[object Undefined]";switch(typeof t){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return E(t)?"[object Array]":o(t,ye)?we(t):q(t)}const Ee="undefined"==typeof performance?it:st(performance.now,performance);function _e(t,e){let n=0;for(;;){be.lastIndex=n,n+=qt(be,t)[0].length;const o=qt(ve,Mt(t,n));if(null===o)return-1;if((o[1]||o[2])===e){be.lastIndex=n+o[0].length;const e=qt(be,t),r=e.index+e[0].length,i=t[r];if(";"===i||"}"===i)return n;const c=r+1;if(Xt(ge,e[0])&&!("!"===i&&c<t.length&&"="===t[c]||Xt(me,i)))return n}n+=o[0].length,be.lastIndex=n,n+=qt(be,t)[0].length,";"===t[n]&&(n+=1)}}function Se(t){return s(t,null),t}function ke(e){return t(S,e,[0])}function Ne(t){const e=u(t),n={__proto__:null};for(let o=0,{length:r}=e;o<r;o+=1){const r=e[o];n[r]=t[r]}return n}const xe=console,{warn:Ae}=xe;function Pe(...e){t(Ae,xe,e)}const Ce=Proxy,Oe=Proxy.revocable;function Le(t){const e=Oe(t,{__proto__:null});return e.revoke(),e.proxy}class De extends Error{constructor(t){super(`Lightning Web Security: ${t}`)}}const{parse:Me,stringify:je}=JSON,Re=se("@@lockerLiveValue");function $e(e){if(null==e||e===$||"object"!=typeof e&&"function"!=typeof e)return!1;if("object"==typeof e){const{constructor:n}=e;if(n===C)return!0;let o=!1;if(null===i(e)&&(o="function"!=typeof n||n.prototype!==e),o||(o=E(e)||Y(e)||function(e){try{return t(Z,e,[]),!0}catch(t){}return!1}(e)||Kt(e)),o)return o}return W(e,Re)}function Ie(t){return a(t,Re,{__proto__:null,value:void 0}),t}function Fe(t){return U(t)?$e(t)?t:Ie(t):t}const He=Math.min,Ge=se("@@lockerNearMembraneSerializedValue"),ze=se("@@lockerNearMembrane");function Ue(t){return Ge in t?void 0:t[Ge]}function We(t){return U(t)&&!(ze in t)&&!0===t[ze]}const{then:Be}=Promise.prototype,Ve=Promise.reject.bind(Promise);function Ke(e,...n){return t(Be,e,n)}let qe=0;class Xe{constructor(t,e,n,o=!1){this._activityStart=0,this._activityStop=0,this._captureTimestamps=o,this._startCallback=e,this._started=!1,this._stopCallback=n,this._stopped=!1,this.activityId=`${t}-${qe+=1,it()+qe}`,this.activityName=t}start(t){this._started||(this._started=!0,this._captureTimestamps&&(this._activityStart=Ee()),"function"==typeof this._startCallback&&this._startCallback(this,t))}stop(t){this._stopped||(this._stopped=!0,this._captureTimestamps&&(this._activityStop=Ee()),"function"==typeof this._stopCallback&&this._stopCallback(this,t))}error(t){this.stop(t)}get duration(){return this._activityStop>this._activityStart?this._activityStop-this._activityStart:0}}const Ye=new class{startActivity(t,e){return new Xe(t,void 0,void 0)}log(t){}error(t){}},Ze=B(Attr.prototype,"name"),Je=B(Attr.prototype,"namespaceURI"),Qe=B(Attr.prototype,"ownerElement"),{get:tn,set:en}=l(Attr.prototype,"value");function nn(e){return t(Ze,e,[])}function on(e){return t(Je,e,[])}function rn(e){return t(Qe,e,[])}function cn(e){return t(tn,e,[])}function sn(e,n){t(en,e,[n])}const{get:an,set:ln}=l(Document.prototype,"cookie"),{createComment:un,createElement:fn,createElementNS:pn,getElementById:dn}=Document.prototype,hn=B(Document.prototype,"body"),yn=B(Document.prototype,"documentElement"),mn=B(Document.prototype,"head"),gn=B(Document.prototype,"implementation");function bn(e){return t(hn,e,[])}function vn(e,...n){return t(fn,e,n)}function wn(e){return t(yn,e,[])}function Tn(e){return t(mn,e,[])}function En(t){return`LSKey-${t}$`}function _n(t,e){return`${En(e)}${t}`}const{setAttribute:Sn,setAttributeNS:kn}=Element.prototype,{closest:Nn,getAttribute:xn,getAttributeNode:An,getAttributeNodeNS:Pn,hasAttribute:Cn,querySelector:On,removeAttributeNode:Ln}=Element.prototype,{get:Dn,set:Mn}=l(Element.prototype,"innerHTML"),{get:jn}=l(Element.prototype,"outerHTML"),Rn=B(Element.prototype,"namespaceURI");function $n(e){return t(Dn,e,[])}function In(e,n){t(Mn,e,[n])}function Fn(e){return t(jn,e,[])}function Hn(e,n){return t(On,e,[n])}function Gn(e,n){return t(xn,e,[n])}function zn(e,n){return t(An,e,[n])}function Un(e,n,o){return t(Pn,e,[n,o])}function Wn(e,n){return t(Cn,e,[n])}function Bn(e,n,o){return t(Sn,e,[n,o])}function Vn(e,n,o,r){return t(kn,e,[n,o,r])}function Kn(e,n){return t(Ln,e,[n])}const qn=B(HTMLTemplateElement.prototype,"content");function Xn(e){return t(qn,e,[])}const{prototype:Yn}=Node,{appendChild:Zn,cloneNode:Jn,isEqualNode:Qn}=Yn,to=B(Yn,"childNodes"),eo=B(Yn,"firstChild"),no=B(Yn,"nodeName"),oo=B(Yn,"ownerDocument");function ro(e,n){return t(Zn,e,[n])}function io(e){return t(to,e,[])}const co=new ae,so=fo("document|document\\.defaultView|frames|globalThis|self|window","location"),ao=fo("document|global.document|document\\.defaultView|frames|globalThis|self|window|global","location"),lo=new RegExp(`\\b${Vt("$lockerEvalContext$")}\\b`),uo=new RegExp(`\\b${Vt("__webpack_require__")}\\b`);function fo(t,e){return new RegExp(`\\b(?:${t})\\.${e}(\\s*(?:[?*/%&^|+-]|>>>?|<<)*=(?=[^=]))?`,"g")}function po(e,n){const o=e instanceof HTMLTemplateElement?Xn(e):e,r=n instanceof HTMLTemplateElement?Xn(n):n;if(t(Qn,o,[r])){const t=io(o),e=t.length;if(e>0){const n=io(r);for(let o=0;o<e;o+=1)if(!1===po(t[o],n[o]))return!1}return!0}return!1}class ho{constructor(t){this.isEqualDomString=(t,e)=>(In(this._templates.left,t),In(this._templates.right,e),po(this._templates.left,this._templates.right)),this.isSharedElement=t=>t===Tn(this._document)||t===bn(this._document)||t===wn(this._document),this.isAllowedSharedElementChild=t=>t instanceof this._constructors.HTMLLinkElement||t instanceof this._constructors.HTMLScriptElement,this.isMediaSourceObject=t=>this._constructors.MediaSource&&t instanceof this._constructors.MediaSource;const{document:e,HTMLLinkElement:n,HTMLScriptElement:o,MediaSource:r}=t;this._constructors={HTMLLinkElement:n,HTMLScriptElement:o,MediaSource:r},this._document=e,this._templates={left:vn(this._document,"template"),right:vn(this._document,"template")}}}function yo(t){let e=pe(co,t);return void 0===e&&(e=new ho(t),de(co,t,e)),e}const mo=B(Blob.prototype,"size"),{slice:go}=Blob.prototype,bo=B(Blob.prototype,"type"),vo=Blob;function wo(e,...n){return t(go,e,n)}const To=new at;function Eo(t,e){const n=new at,o=yt(t);let{length:r}=e;for(;;){const{done:t,value:i}=o.next();if(t)break;const{0:c,1:s}=i;let a;e[r++]=[t=>{a=t},c],e[r++]=[t=>{mt(n,a,t)},s]}return n}function _o(t){const{flags:e,source:n}=Me(Ue(t));return new Ht(n,e)}function So(e,n){const o=new Yt,r=function(e){return t(ee,e,[])}(e);let{length:i}=n;for(;;){const{done:t,value:e}=r.next();if(t)break;n[i++]=[t=>{oe(o,t)},e]}return o}function ko(t,e,n){const o=j(e);let{length:r}=t;for(let i=0,{length:c}=o;i<c;i+=1){const c=o[i],s=e[c];t[r++]=[t=>{n[c]=t},s]}}function No(e){let n=e;try{n=function(e){let n;const o=[[t=>{n=t},e]];t:for(;o.length;){const{0:e,1:n}=t(b,o,[]);if(null==n||"boolean"==typeof n||"number"==typeof n||"string"==typeof n||"bigint"==typeof n){e(n);continue t}if("symbol"==typeof n){e(n);break t}let r=t(pt,To,[n]);if(r){e(r);continue t}const c=Te(n);switch(c){case"[object Object]":{const t=i(n);t!==$&&null!==t||(r={},ko(o,n,r));break}case"[object Array]":r=new f(n.length),ko(o,n,r);break;case"[object Map]":r=Eo(n,o);break;case"[object Set]":r=So(n,o)}if(void 0===r){if(!We(n)){mt(To,n,n),e(n);continue t}switch(c){case"[object RegExp]":r=_o(n);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":r=C(Ue(n))}}if(void 0===r){e(n);break t}mt(To,n,r),e(r)}return n}(e)}catch(t){}return t(ut,To,[]),n}const{getElementById:xo,querySelector:Ao}=DocumentFragment.prototype;function Po(e,n){return t(Ao,e,[n])}const{createDocument:Co}=DOMImplementation.prototype;const Oo=B(DOMTokenList.prototype,"value");const Lo=B(Event.prototype,"currentTarget");const{addEventListener:Do}=EventTarget.prototype;function Mo(e,...n){return t(Do,e,n)}const jo=B(HTMLAnchorElement.prototype,"hostname"),{get:Ro,set:$o}=l(HTMLAnchorElement.prototype,"href"),Io=B(HTMLAnchorElement.prototype,"pathname"),Fo=B(HTMLAnchorElement.prototype,"protocol");function Ho(e){return t(jo,e,[])}function Go(e){return t(Ro,e,[])}function zo(e,n){t($o,e,[n])}function Uo(e){return t(Fo,e,[])}const Wo=B(HTMLElement.prototype,"dataset");function Bo(e){return t(Wo,e,[])}const Vo=V(HTMLIFrameElement.prototype,"src");l(HTMLScriptElement.prototype,"src");const Ko="http://www.w3.org/1999/xlink",qo=B(Request.prototype,"url");const{key:Xo,getItem:Yo,removeItem:Zo,setItem:Jo}=Storage.prototype,Qo=B(SVGElement.prototype,"dataset");function tr(e){return t(Qo,e,[])}const{createObjectURL:er,revokeObjectURL:nr}=URL,or=["opener","parent"],rr=["close","closed","focus"],ir={},cr=new ae,{clearInterval:sr,setInterval:ar}=window,lr=B(window,"length"),ur=B(window,"self"),{decodeURIComponent:fr,encodeURIComponent:pr}=window;function dr(e){const{postMessage:n}=e;return function(...o){return o.length&&(o=No(o)),t(n,e,o)}}function hr(e){let n=null;return e&&(n=pe(cr,e),void 0===n&&(n=function(e){const n={};for(let o=0,{length:r}=rr;o<r;o+=1){const r=rr[o],i=l(e,r);if(i){const o=Se(i),{value:c}=o;if("function"==typeof c){const t=st(c,e),n=l(c,"name");n&&a(t,"name",Se(n)),i.value=t}else{const{get:n,set:r}=o;let i=ir;"function"==typeof n&&(o.get=function(){return i===ir?t(n,e,[]):i}),"function"==typeof r&&(o.set=function(t){i=t})}a(n,r,o)}}for(let o=0,{length:r}=or;o<r;o+=1){const r=or[o],i=l(e,r);if(i){const o=Se(i),{get:c,set:s}=o;let l=ir;"function"==typeof c&&(o.get=function(){return l===ir?hr(t(c,e,[])):l}),"function"==typeof s&&(o.set=function(t){l=t}),a(n,r,o)}}const o=l(e,"postMessage");if(o){const t=Se(o);t.value=dr(e),a(n,"postMessage",t)}return n}(e),de(cr,e,n))),n}function yr(e){try{return t(ur,e,[]),!0}catch(t){}return!1}function mr(t){return W(t,"top")}function gr(e){return t(lr,e,[])}const br=XMLHttpRequest,{prototype:vr}=br,{send:wr}=vr,Tr=B(vr,"responseText"),Er=B(vr,"status"),_r=V(vr,"withCredentials"),{open:Sr}=vr;function kr(e,n,o,r=!0){return t(Sr,e,[n,o,r])}function Nr(e){return t(Tr,e,[])}function xr(e){return t(wr,e,[])}function Ar(e){return t(Er,e,[])}var Pr=Object.hasOwnProperty,Cr=Object.setPrototypeOf,Or=Object.isFrozen,Lr=Object.getPrototypeOf,Dr=Object.getOwnPropertyDescriptor,Mr=Object.freeze,jr=Object.seal,Rr=Object.create,$r="undefined"!=typeof Reflect&&Reflect,Ir=$r.apply,Fr=$r.construct;Ir||(Ir=function(t,e,n){return t.apply(e,n)}),Mr||(Mr=function(t){return t}),jr||(jr=function(t){return t}),Fr||(Fr=function(t,e){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e))))});var Hr,Gr=Zr(Array.prototype.forEach),zr=Zr(Array.prototype.pop),Ur=Zr(Array.prototype.push),Wr=Zr(String.prototype.toLowerCase),Br=Zr(String.prototype.match),Vr=Zr(String.prototype.replace),Kr=Zr(String.prototype.indexOf),qr=Zr(String.prototype.trim),Xr=Zr(RegExp.prototype.test),Yr=(Hr=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return Fr(Hr,e)});function Zr(t){return function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return Ir(t,e,o)}}function Jr(t,e){Cr&&Cr(t,null);for(var n=e.length;n--;){var o=e[n];if("string"==typeof o){var r=Wr(o);r!==o&&(Or(e)||(e[n]=r),o=r)}t[o]=!0}return t}function Qr(t){var e=Rr(null),n=void 0;for(n in t)Ir(Pr,t,[n])&&(e[n]=t[n]);return e}function ti(t,e){for(;null!==t;){var n=Dr(t,e);if(n){if(n.get)return Zr(n.get);if("function"==typeof n.value)return Zr(n.value)}t=Lr(t)}return function(t){return console.warn("fallback value for",t),null}}var ei=Mr(["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"]),ni=Mr(["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"]),oi=Mr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ri=Mr(["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"]),ii=Mr(["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"]),ci=Mr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),si=Mr(["#text"]),ai=Mr(["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"]),li=Mr(["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"]),ui=Mr(["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"]),fi=Mr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),pi=jr(/\{\{[\s\S]*|[\s\S]*\}\}/gm),di=jr(/<%[\s\S]*|[\s\S]*%>/gm),hi=jr(/^data-[\-\w.\u00B7-\uFFFF]/),yi=jr(/^aria-[\-\w]+$/),mi=jr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),gi=jr(/^(?:\w+script|data):/i),bi=jr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vi=jr(/^html$/i),wi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function Ti(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var Ei=function(){return"undefined"==typeof window?null:window},_i=function(t,e){if("object"!==(void 0===t?"undefined":wi(t))||"function"!=typeof t.createPolicy)return null;var n=null,o="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(o)&&(n=e.currentScript.getAttribute(o));var r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var Si=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ei(),n=function(e){return t(e)};if(n.version="2.3.6",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var o=e.document,r=e.document,i=e.DocumentFragment,c=e.HTMLTemplateElement,s=e.Node,a=e.Element,l=e.NodeFilter,u=e.NamedNodeMap,f=void 0===u?e.NamedNodeMap||e.MozNamedAttrMap:u,p=e.HTMLFormElement,d=e.DOMParser,h=e.trustedTypes,y=a.prototype,m=ti(y,"cloneNode"),g=ti(y,"nextSibling"),b=ti(y,"childNodes"),v=ti(y,"parentNode");if("function"==typeof c){var w=r.createElement("template");w.content&&w.content.ownerDocument&&(r=w.content.ownerDocument)}var T=_i(h,o),E=T?T.createHTML(""):"",_=r,S=_.implementation,k=_.createNodeIterator,N=_.createDocumentFragment,x=_.getElementsByTagName,A=o.importNode,P={};try{P=Qr(r).documentMode?r.documentMode:{}}catch(t){}var C={};n.isSupported="function"==typeof v&&S&&void 0!==S.createHTMLDocument&&9!==P;var O=pi,L=di,D=hi,M=yi,j=gi,R=bi,$=mi,I=null,F=Jr({},[].concat(Ti(ei),Ti(ni),Ti(oi),Ti(ii),Ti(si))),H=null,G=Jr({},[].concat(Ti(ai),Ti(li),Ti(ui),Ti(fi))),z=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}})),U=null,W=null,B=!0,V=!0,K=!1,q=!1,X=!1,Y=!1,Z=!1,J=!1,Q=!1,tt=!1,et=!0,nt=!0,ot=!1,rt={},it=null,ct=Jr({},["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"]),st=null,at=Jr({},["audio","video","img","source","image","track"]),lt=null,ut=Jr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ft="http://www.w3.org/1998/Math/MathML",pt="http://www.w3.org/2000/svg",dt="http://www.w3.org/1999/xhtml",ht=dt,yt=!1,mt=void 0,gt=["application/xhtml+xml","text/html"],bt="text/html",vt=void 0,wt=null,Tt=r.createElement("form"),Et=function(t){return t instanceof RegExp||t instanceof Function},_t=function(t){wt&&wt===t||(t&&"object"===(void 0===t?"undefined":wi(t))||(t={}),t=Qr(t),I="ALLOWED_TAGS"in t?Jr({},t.ALLOWED_TAGS):F,H="ALLOWED_ATTR"in t?Jr({},t.ALLOWED_ATTR):G,lt="ADD_URI_SAFE_ATTR"in t?Jr(Qr(ut),t.ADD_URI_SAFE_ATTR):ut,st="ADD_DATA_URI_TAGS"in t?Jr(Qr(at),t.ADD_DATA_URI_TAGS):at,it="FORBID_CONTENTS"in t?Jr({},t.FORBID_CONTENTS):ct,U="FORBID_TAGS"in t?Jr({},t.FORBID_TAGS):{},W="FORBID_ATTR"in t?Jr({},t.FORBID_ATTR):{},rt="USE_PROFILES"in t&&t.USE_PROFILES,B=!1!==t.ALLOW_ARIA_ATTR,V=!1!==t.ALLOW_DATA_ATTR,K=t.ALLOW_UNKNOWN_PROTOCOLS||!1,q=t.SAFE_FOR_TEMPLATES||!1,X=t.WHOLE_DOCUMENT||!1,J=t.RETURN_DOM||!1,Q=t.RETURN_DOM_FRAGMENT||!1,tt=t.RETURN_TRUSTED_TYPE||!1,Z=t.FORCE_BODY||!1,et=!1!==t.SANITIZE_DOM,nt=!1!==t.KEEP_CONTENT,ot=t.IN_PLACE||!1,$=t.ALLOWED_URI_REGEXP||$,ht=t.NAMESPACE||dt,t.CUSTOM_ELEMENT_HANDLING&&Et(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&Et(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),mt=mt=-1===gt.indexOf(t.PARSER_MEDIA_TYPE)?bt:t.PARSER_MEDIA_TYPE,vt="application/xhtml+xml"===mt?function(t){return t}:Wr,q&&(V=!1),Q&&(J=!0),rt&&(I=Jr({},[].concat(Ti(si))),H=[],!0===rt.html&&(Jr(I,ei),Jr(H,ai)),!0===rt.svg&&(Jr(I,ni),Jr(H,li),Jr(H,fi)),!0===rt.svgFilters&&(Jr(I,oi),Jr(H,li),Jr(H,fi)),!0===rt.mathMl&&(Jr(I,ii),Jr(H,ui),Jr(H,fi))),t.ADD_TAGS&&(I===F&&(I=Qr(I)),Jr(I,t.ADD_TAGS)),t.ADD_ATTR&&(H===G&&(H=Qr(H)),Jr(H,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&Jr(lt,t.ADD_URI_SAFE_ATTR),t.FORBID_CONTENTS&&(it===ct&&(it=Qr(it)),Jr(it,t.FORBID_CONTENTS)),nt&&(I["#text"]=!0),X&&Jr(I,["html","head","body"]),I.table&&(Jr(I,["tbody"]),delete U.tbody),Mr&&Mr(t),wt=t)},St=Jr({},["mi","mo","mn","ms","mtext"]),kt=Jr({},["foreignobject","desc","title","annotation-xml"]),Nt=Jr({},ni);Jr(Nt,oi),Jr(Nt,ri);var xt=Jr({},ii);Jr(xt,ci);var At=function(t){var e=v(t);e&&e.tagName||(e={namespaceURI:dt,tagName:"template"});var n=Wr(t.tagName),o=Wr(e.tagName);if(t.namespaceURI===pt)return e.namespaceURI===dt?"svg"===n:e.namespaceURI===ft?"svg"===n&&("annotation-xml"===o||St[o]):Boolean(Nt[n]);if(t.namespaceURI===ft)return e.namespaceURI===dt?"math"===n:e.namespaceURI===pt?"math"===n&&kt[o]:Boolean(xt[n]);if(t.namespaceURI===dt){if(e.namespaceURI===pt&&!kt[o])return!1;if(e.namespaceURI===ft&&!St[o])return!1;var r=Jr({},["title","style","font","a","script"]);return!xt[n]&&(r[n]||!Nt[n])}return!1},Pt=function(t){Ur(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=E}catch(e){t.remove()}}},Ct=function(t,e){try{Ur(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){Ur(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!H[t])if(J||Q)try{Pt(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Ot=function(t){var e=void 0,n=void 0;if(Z)t="<remove></remove>"+t;else{var o=Br(t,/^[\r\n\t ]+/);n=o&&o[0]}"application/xhtml+xml"===mt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var i=T?T.createHTML(t):t;if(ht===dt)try{e=(new d).parseFromString(i,mt)}catch(t){}if(!e||!e.documentElement){e=S.createDocument(ht,"template",null);try{e.documentElement.innerHTML=yt?"":i}catch(t){}}var c=e.body||e.documentElement;return t&&n&&c.insertBefore(r.createTextNode(n),c.childNodes[0]||null),ht===dt?x.call(e,X?"html":"body")[0]:X?e.documentElement:c},Lt=function(t){return k.call(t.ownerDocument||t,t,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},Dt=function(t){return t instanceof p&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof f)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore)},Mt=function(t){return"object"===(void 0===s?"undefined":wi(s))?t instanceof s:t&&"object"===(void 0===t?"undefined":wi(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},jt=function(t,e,o){C[t]&&Gr(C[t],(function(t){t.call(n,e,o,wt)}))},Rt=function(t){var e=void 0;if(jt("beforeSanitizeElements",t,null),Dt(t))return Pt(t),!0;if(Br(t.nodeName,/[\u0080-\uFFFF]/))return Pt(t),!0;var o=vt(t.nodeName);if(jt("uponSanitizeElement",t,{tagName:o,allowedTags:I}),!Mt(t.firstElementChild)&&(!Mt(t.content)||!Mt(t.content.firstElementChild))&&Xr(/<[/\w]/g,t.innerHTML)&&Xr(/<[/\w]/g,t.textContent))return Pt(t),!0;if("select"===o&&Xr(/<template/i,t.innerHTML))return Pt(t),!0;if(!I[o]||U[o]){if(!U[o]&&It(o)){if(z.tagNameCheck instanceof RegExp&&Xr(z.tagNameCheck,o))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(o))return!1}if(nt&&!it[o]){var r=v(t)||t.parentNode,i=b(t)||t.childNodes;if(i&&r)for(var c=i.length-1;c>=0;--c)r.insertBefore(m(i[c],!0),g(t))}return Pt(t),!0}return t instanceof a&&!At(t)?(Pt(t),!0):"noscript"!==o&&"noembed"!==o||!Xr(/<\/no(script|embed)/i,t.innerHTML)?(q&&3===t.nodeType&&(e=t.textContent,e=Vr(e,O," "),e=Vr(e,L," "),t.textContent!==e&&(Ur(n.removed,{element:t.cloneNode()}),t.textContent=e)),jt("afterSanitizeElements",t,null),!1):(Pt(t),!0)},$t=function(t,e,n){if(et&&("id"===e||"name"===e)&&(n in r||n in Tt))return!1;if(V&&!W[e]&&Xr(D,e));else if(B&&Xr(M,e));else if(!H[e]||W[e]){if(!(It(t)&&(z.tagNameCheck instanceof RegExp&&Xr(z.tagNameCheck,t)||z.tagNameCheck instanceof Function&&z.tagNameCheck(t))&&(z.attributeNameCheck instanceof RegExp&&Xr(z.attributeNameCheck,e)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(e))||"is"===e&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&Xr(z.tagNameCheck,n)||z.tagNameCheck instanceof Function&&z.tagNameCheck(n))))return!1}else if(lt[e]);else if(Xr($,Vr(n,R,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==Kr(n,"data:")||!st[t]){if(K&&!Xr(j,Vr(n,R,"")));else if(n)return!1}else;return!0},It=function(t){return t.indexOf("-")>0},Ft=function(t){var e=void 0,o=void 0,r=void 0,i=void 0;jt("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(i=c.length;i--;){var a=e=c[i],l=a.name,u=a.namespaceURI;if(o=qr(e.value),r=vt(l),s.attrName=r,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,jt("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(Ct(l,t),s.keepAttr))if(Xr(/\/>/i,o))Ct(l,t);else{q&&(o=Vr(o,O," "),o=Vr(o,L," "));var f=vt(t.nodeName);if($t(f,r,o))try{u?t.setAttributeNS(u,l,o):t.setAttribute(l,o),zr(n.removed)}catch(t){}}}jt("afterSanitizeAttributes",t,null)}},Ht=function t(e){var n=void 0,o=Lt(e);for(jt("beforeSanitizeShadowDOM",e,null);n=o.nextNode();)jt("uponSanitizeShadowNode",n,null),Rt(n)||(n.content instanceof i&&t(n.content),Ft(n));jt("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t,r){var c=void 0,a=void 0,l=void 0,u=void 0,f=void 0;if((yt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Mt(t)){if("function"!=typeof t.toString)throw Yr("toString is not a function");if("string"!=typeof(t=t.toString()))throw Yr("dirty is not a string, aborting")}if(!n.isSupported){if("object"===wi(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof t)return e.toStaticHTML(t);if(Mt(t))return e.toStaticHTML(t.outerHTML)}return t}if(Y||_t(r),n.removed=[],"string"==typeof t&&(ot=!1),ot){if(t.nodeName){var p=vt(t.nodeName);if(!I[p]||U[p])throw Yr("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof s)1===(a=(c=Ot("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?c=a:c.appendChild(a);else{if(!J&&!q&&!X&&-1===t.indexOf("<"))return T&&tt?T.createHTML(t):t;if(!(c=Ot(t)))return J?null:tt?E:""}c&&Z&&Pt(c.firstChild);for(var d=Lt(ot?t:c);l=d.nextNode();)3===l.nodeType&&l===u||Rt(l)||(l.content instanceof i&&Ht(l.content),Ft(l),u=l);if(u=null,ot)return t;if(J){if(Q)for(f=N.call(c.ownerDocument);c.firstChild;)f.appendChild(c.firstChild);else f=c;return H.shadowroot&&(f=A.call(o,f,!0)),f}var h=X?c.outerHTML:c.innerHTML;return X&&I["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&Xr(vi,c.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+c.ownerDocument.doctype.name+">\n"+h),q&&(h=Vr(h,O," "),h=Vr(h,L," ")),T&&tt?T.createHTML(h):h},n.setConfig=function(t){_t(t),Y=!0},n.clearConfig=function(){wt=null,Y=!1},n.isValidAttribute=function(t,e,n){wt||_t({});var o=vt(t),r=vt(e);return $t(o,r,n)},n.addHook=function(t,e){"function"==typeof e&&(C[t]=C[t]||[],Ur(C[t],e))},n.removeHook=function(t){C[t]&&zr(C[t])},n.removeHooks=function(t){C[t]&&(C[t]=[])},n.removeAllHooks=function(){C={}},n}();const ki=["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"],Ni=["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"],xi=k(["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"],Ni),Ai={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]*$/},Pi={ADD_ATTR:ke(ki),ALLOWED_TAGS:k(xi,"#document-fragment"),CUSTOM_ELEMENT_HANDLING:O({},Ai),IN_PLACE:!0},Ci={ADD_ATTR:ke(ki),ALLOWED_TAGS:ke(Ni),CUSTOM_ELEMENT_HANDLING:O({},Ai),RETURN_DOM_FRAGMENT:!0,SANITIZE_DOM:!1},Oi={ADD_ATTR:ke(ki),ALLOWED_TAGS:N(xi,(t=>"iframe"!==t)),CUSTOM_ELEMENT_HANDLING:O({},Ai),SANITIZE_DOM:!1},Li=new ae;function Di(t,e){let n=pe(Li,t);if(void 0===n){n=Si(),n.setConfig(t);for(const t in e)e&&n.addHook(t,e[t]);de(Li,t,n)}return n}const Mi=["href","xlink:href"],ji={__proto__:null,uponSanitizeAttribute:function(e,n,o){const{attrValue:r,attrName:i}=n,c=function(e){return It(t(no,e,[]))}(e);r&&"USE"===c&&x(Mi,i)&&(n.attrValue=Yi(r));return n}},Ri=["http:","https:"],$i=document,Ii=window,Fi=vn($i,"template"),Hi=vn($i,"a"),Gi=new Yt,zi=/[^a-z0-9]+/gi;function Ui(e,n){if(re(Gi,n.normalizedUrl)){const o=function(e,...n){return t(ar,e,n)}(Ii,(()=>{re(Gi,n.normalizedUrl)||(Bi(e,n),t(sr,Ii,[o]))}),50)}else Bi(e,n)}function Wi(e){const n=function(t){const e=vn($i,"div");return Bn(e,"style","display:none"),Bn(e,"id",t),ro(bn($i),e),e}(e.normalizedUrl);oe(Gi,e.normalizedUrl);const o=new br;Mo(o,"load",(()=>{if(200===Ar(o)){const c=Qi(Nr(o));if(e.requestedFragment){const n=function(e,n){return t(xo,e,[n])}(c,e.requestedFragment);n&&Bn(n,"id",e.normalizedFragment)}ro(n,c),r=Gi,i=e.normalizedUrl,t(Qt,r,[i])}var r,i})),kr(o,"GET",e.requestedUrl),xr(o)}function Bi(t,e){const{normalizedFragment:n,requestedFragment:o}=e;let r=Hn(t,`#${n}`);if(!r)try{r=Hn(t,`#${o}`),Bn(r,"id",n)}catch(t){}}function Vi(){return Di(Oi,ji)}function Ki(){return Di(Ci,ji)}function qi(t){In(Fi,t);const e=Xn(Fi);return Di(Pi,ji).sanitize(e),$n(Fi)}function Xi(e){const n=qi(Fn(wn(e))),o=function(e,...n){return t(Co,e,n)}(function(e){return t(gn,e,[])}(e),"http://www.w3.org/1999/xhtml","html");return In(wn(o),n),o}function Yi(e){if(Rt(e,"#"))return e;const n=function(t){zo(Hi,t);const e=Go(Hi),n=Uo(Hi),{0:o,1:r}=jt(e,"#"),i=Dt($t(o),zi,"");return{normalizedFragment:r?`${i}_${Dt(r,zi,"")}`:"",normalizedUrl:i,protocol:n,requestedFragment:r,requestedUrl:o}}(e);if(x(Ri,n.protocol)){const e=(o=$i,r=n.normalizedUrl,t(dn,o,[r]));return e&&n.normalizedFragment?Ui(e,n):e||Wi(n),n.requestedFragment?`#${n.normalizedFragment}`:`#${n.normalizedUrl}`}var o,r;return e}function Zi(e){return function(e,...n){return t(pn,e,n)}(e,"http://www.w3.org/2000/svg","svg")}function Ji(e,n=""){let o;const r="string"==typeof e?$i:t(oo,e,[]);const i=function(e,n=""){return t(un,e,[n])}(r,"");if("string"==typeof e)n=e,o=Zi(r);else{const n=t(Nn,e,["svg"]);o=n?function(e,n=!1){return t(Jn,e,[n])}(n,!1):Zi(r)}ro(o,i);const c=function(e){return t(eo,e,[])}(Qi(Dt(Fn(o),"\x3c!----\x3e",n)));return $n(c)}function Qi(t){return Ki().sanitize(t)}const tc=/^[a-z]+\/[a-z0-9.+-]+$/,ec=["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"];const nc=["http:","https:"],oc=["/aura","/webruntime"],rc=/[\u2029\u2028\n\r\t]/g,ic=vn(document,"a"),cc=/\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/;function sc(e){const n=$t(e.pathname);return o=e=>function(e,...n){return t(_t,e,n)}(n,e),t(v,oc,[o]);var o}function ac(e){return zo(ic,lc(e)),{normalizedURL:Go(ic),hostname:Ho(ic),pathname:fr((n=ic,t(Io,n,[])))};var n}function lc(t){return""===t?t:Dt(t,rc,"")}const uc=["define"],fc={__proto__:null},pc=[];function dc(t,e,n,o="default"){const{[e]:r}=fc,i=r[n=$t(n)];if(!i)return;const{[o]:c}=i;if(!c)return;const s=yt(c);for(const e of s){const n=e[0],o=e[1];if(t instanceof n)return o}}function hc(t){return null==t||""===t?"default":t}function yc(t,e){pc[pc.length]=n=>{const{attributeNamespace:o,distortion:r}=e,i=$t(e.attributeName);return function(t,e,n,o,r){const{[n]:i={__proto__:null}}=t,{[o]:c=new at}=i;mt(c,e,r),i[o]=c,t[n]=i}(n,t,i,o,r),null}}function mc(t,e){if(U(t)){const n=Ne(t);n.name=_n(n.name,e),t=n}else t=_n(t,e);return t}function gc(t,e){const n=En(e);if(!Rt(t,n))return null;const{length:o}=n;return Mt(t,t.length>o&&"="===t[o]?o+1:o)}function bc(t,e){if(t){const n=gc(t.name,e);if(null===n)return null;t.name=n}return t}const vc={__proto__:null};function wc(t,e,n){const{key:o}=n,{[o]:r}=vc;if(void 0===r||void 0===r[e])return!1;const{constructor:i}=t;return re(r[e],i)}function Tc(t,e,n){const{prototype:o}=t;if(!wc(o,e,n)){const{key:o}=n,{[o]:r={__proto__:null}}=vc,{[e]:i=new Yt}=r;oe(i,t),r[e]=i,vc[o]=r}}var Ec,_c;!function(t){t[t.strict=0]="strict",t[t.lax=1]="lax",t[t.none=2]="none"}(Ec||(Ec={})),function(t){t[t.External=0]="External",t[t.Internal=1]="Internal"}(_c||(_c={})),s(_c,null);const Sc=/(^|,)(\s*noopener\s*=\s*(?:yes|1)\s*)(,|$)/g;function kc(t){const e=ke(t);if(e.length>2){let t=$t(Ft(e[2]));Xt(Sc,t)&&(t=Dt(t,Sc,((t,e,n,o)=>`${e}noopener${o}`))),e[2]=t}return e}const Nc=new ae;function xc(e,n,o,r){const i=pe(Nc,n);if(i){const{key:e}=r,n=dc(i,e,nn(o),hc(on(o)));if(n){const e=cn(o);return t(n,i,[e])}}return t(e,n,[o])}function Ac(t){return $t(Ft(t))}function Pc(e){const n=function(e){return t(Lo,e,[])}(e),{composedPath:o}=Event.prototype,r=t(o,e,[]);let i=r;for(let e=function(e,...n){return t(y,e,n)}(r,n);e>-1;e-=1){if(r[e]instanceof ShadowRoot){i=P(r,e+1);break}}return i}const Cc=/import/i,Oc='HTMLLinkElement does not allow setting "rel" property to "import" value.';function Lc(t){return!Xt(Cc,t)}function Dc(t,e){return function(n){const{[e]:o}=t;return[o,function(){throw new De(`Cannot access ${e}.`)}]}}function Mc(t,e){return function(n){return[B(t,e),function(){throw new De(`Cannot access ${e}.`)}]}}function jc(t,e){return function(n){return[V(t,e),function(){throw new De(`Cannot access ${e}.`)}]}}function Rc(t,e){const n=function(t){if(Xt(lo,t))return t;const e=[];let n=!1;if(t=Dt(t,Xt(uo,t)?ao:so,((t,e)=>(n=!0,e?`uncompiledLocation$LWS.href${e}`:"uncompiledLocation$LWS"))),n&&(e[e.length]="uncompiledLocation$LWS"),!e.length)return t;const o=`const {\n ${A(e,",")}} = $lockerEvalContext$;`,r=_e(t,"use strict");if(-1===r)return o+t;let i=r+12;return i<t.length&&";"===t[i]&&(i+=1),Mt(t,0,i)+o+Mt(t,i)}(t),o=pr(n),r=`{const{$evaluator$}=document.currentScript;delete document.currentScript.$evaluator$;$evaluator$({key:${je(e)},source:decodeURIComponent(\`${o}\`),sourceType:'script',context:{uncompiledLocation$LWS:location},})}`;return er(new vo([r],{type:"text/javascript"}))}function $c(e,n,o){const{evaluator:r,key:i}=n,c=vn(document,"a");return function(n){const s=n;const l="http://www.w3.org/1999/xhtml"===t(Rn,this,[])?"":Ko;if(""===n)return void Vn(this,l,e,n);zo(c,n),n=Go(c);o(this)[`distorted${function(t){const{length:e}=t;if(!e)return t;const n=It(t[0]);return 1===e?n:n+Mt(t,1)}(e)}`]=s;const u=Ho(c),f=new br;Lt(u,cc)&&function(e,n){t(_r,e,[n])}(f,!0),Mo(f,"load",(()=>{const t=Ar(f);if(200===t){const t=Nr(f);a(this,"$evaluator$",{__proto__:null,configurable:!0,value:r}),Vn(this,l,e,Rc(t,i))}else 404===t&&Vn(this,l,e,"blob:http://localhost/not-found")})),kr(f,"GET",n),xr(f)}}function Ic(t,e){const n=[];let o=0;for(let r=0,{length:i}=e;r<i;r+=1){const i=e[r],c=l(t,i);if(c){const e=Se(c),{value:r}=e;if("get"in e||"set"in e){const{get:r,set:c}=e;r&&(n[o++]=Mc(t,i)),c&&(n[o++]=jc(t,i))}else"function"==typeof r&&(n[o++]=Dc(t,i))}}return n}function Fc(t,e,n="default"){for(let o=0,{length:r}=e;o<r;o+=1){const r=e[o],{name:i}=t;yc(t,{attributeName:r,attributeNamespace:n,distortion(){throw new De(`Attribute "${r}" not allowed on ${i}.`)}})}}function Hc(n,o){return"function"==typeof n&&"function"==typeof o?function(n,o){const r=new Ce(o,D({apply:(e,o,i)=>(o===r&&(o=n),t(n,o,i)),construct:(t,o,i)=>(i===r&&(i=n),e(n,o,i))}));return r}(n,o):n}function Gc(t,e){return`${t}${e}`}function zc(t,e){const n=j(t),o=[];let r=0;for(let t=0,{length:i}=n;t<i;t+=1){const i=n[t];Rt(i,e)&&(o[r++]=i)}return o}const Uc=new WeakMap;function Wc(t){const e=pe(Uc,t);if(void 0===e)throw new De("Illegal invocation");return e}function Bc(e){return new Proxy(e,{get(t,e,n){const{storage:o,storageRootKey:c}=Wc(t);if("symbol"==typeof e)return r(t,e,n);const s=Gc(c,e);if(W(o,s))return r(o,s);const a=i(t);return null===a?void 0:r(a,e,n)},set(e,n,o){const{storage:r,storageRootKey:i}=Wc(e);if("symbol"==typeof n)return c(e,n,o);const s=Gc(i,n);return t(Jo,r,[s,o]),!0},defineProperty(t,e,n){const{storage:o,storageRootKey:r}=Wc(t),i=Se(n);if("symbol"==typeof e)return a(t,e,i);const c=Gc(r,e);return a(o,c,i)},deleteProperty(t,e){const{storage:o,storageRootKey:r}=Wc(t);if("symbol"==typeof e)return n(t,e);const i=Gc(r,e);return n(o,i)},getOwnPropertyDescriptor(t,e){const{storage:n,storageRootKey:o}=Wc(t);if("symbol"==typeof e)return l(t,e);const r=Gc(o,e);return l(n,r)},ownKeys(t){const{storage:e,storageRootKey:n}=Wc(t),o=function(t,e){const{length:n}=t,o=new f(n);for(let r=0;r<n;r+=1){const n=t[r];o[r]=Dt(n,e,"")}return o}(zc(e,n),n);return k(o,M(t))},has(t,e){const{storage:n,storageRootKey:r}=Wc(t);if("symbol"==typeof e)return o(t,e);if(W(n,Gc(r,e)))return!0;const c=i(t);return null!==c&&o(c,e)},preventExtensions:t=>!1})}class Vc{constructor(){throw new De("Illegal constructor")}get length(){const{storage:t,storageRootKey:e}=Wc(this);return zc(t,e).length}key(...e){const{storage:n,storageRootKey:o}=Wc(this);if(e.length){const t=zc(n,o),r=t[e[0]],i=t[0],c=r||i;return"string"!=typeof c?null:Dt(c,o,"")}return t(Xo,n,e)}getItem(...e){const{storage:n,storageRootKey:o}=Wc(this);return e.length&&(e[0]=Gc(o,Ft(e[0]))),t(Yo,n,e)}setItem(...e){const{storage:n,storageRootKey:o}=Wc(this);e.length>1&&(e[0]=Gc(o,Ft(e[0])),e[1]=Ft(e[1])),t(Jo,n,e)}removeItem(...e){const{storage:n,storageRootKey:o}=Wc(this);e.length&&(e[0]=Gc(o,Ft(e[0]))),t(Zo,n,e)}clear(){const{storage:e,storageRootKey:n}=Wc(this),o=zc(e,n);for(let n=0,{length:r}=o;n<r;n+=1){const r=o[n];t(Zo,e,[r])}}}const{clear:Kc,getItem:qc,key:Xc,removeItem:Yc,setItem:Zc}=Vc.prototype,Jc=B(Vc.prototype,"length");function Qc(t){return function(e,n){const o=e[t];if(!z(o))return null;const{key:r}=n;return[o,function(t,e){const n={__proto__:Vc.prototype};Ie(n);const o=Bc(n),r={proxy:o,storage:t,storageRootKey:e};return de(Uc,o,r),de(Uc,n,r),o}(o,`LSKey[${r}]`)]}}const ts=Qc("localStorage"),es=Qc("sessionStorage");function ns(e){return function(n){const{SVGUseElement:o}=n,{setAttribute:r,setAttributeNS:i}=Element.prototype;if("href"===e){yc(o,{attributeName:e,attributeNamespace:"default",distortion:function(n){const o=null==n||""===n?n:Yi(n);t(r,this,[e,o])}})}return yc(o,{attributeName:e,attributeNamespace:Ko,distortion:function(n){const o=null==n||""===n?n:Yi(n);t(i,this,[Ko,e,o])}}),null}}const os=ns("href"),rs=ns("xlink:href");const is=["text/html","image/svg+xml","text/xml"];const cs=[function(e){const{CSSStyleRule:n}=e,o=B(n.prototype,"style");return[o,function(){return Fe(t(o,this,[]))}]},function(t){const{Document:e}=t;return[V(e.prototype,"domain"),function(){throw new De("Cannot set document.domain.")}]},function(e,n){const{Document:o,HTMLElement:r}=e,{execCommand:i}=o.prototype,c=B(o.prototype,"activeElement"),s=B(r.prototype,"isContentEditable"),{isSharedElement:a}=yo(window),{sandboxType:l}=n;return[i,function(...e){if(e.length>2){const{2:n}=e;if(null!=n){const o=Ft(e[0]);if("inserthtml"===$t(o)){if(l===_c.External){const e=t(c,this,[]);if(a(e)&&t(s,e,[]))throw new De(`Cannot execute command '${o}' on ${Ft(e.nodeName)}.`)}e[0]=o,e[2]=qi(n)}}}return t(i,this,e)}]},function(e){const{Document:n}=e,{open:o}=n.prototype;return[o,function(...e){if(e.length>=3){const n=kc(e);return hr(t(o,this,n))}return t(o,this,e)}]},function(e){const{DOMParser:n}=e,{parseFromString:o}=n.prototype;return[o,function(...e){if(e.length>=2){const t=Ft(e[0]),n=Ft(e[1]);e[0]="image/svg+xml"===n?Ji(t):"application/xhtml+xml"===n||"application/xml"===n||"text/xml"===n?t:qi(t)}return t(o,this,e)}]},function(e){const{Element:n}=e,{attachShadow:o}=n.prototype;return[o,function(...e){if(e.length){const{0:t}=e;if(null!=t){const{mode:n}=t;if("closed"!==n)throw new De("Shadow root mode cannot be 'open.'");const o=O({},t,{mode:n}),r=i(t);s(o,r),e[0]=o}}return t(o,this,e)}]},function(e){const{Element:n}=e,o=B(n.prototype,"attributes");return[o,function(){const e=t(o,this,[]);return de(Nc,e,this),e}]},function(e){const{Element:n,SVGElement:o}=e,r=V(n.prototype,"innerHTML"),{isSharedElement:i}=yo(window);return[r,function(e){if(i(this))throw new De(`Cannot set innerHTML of ${this.nodeName}.`);const n=this instanceof o?Ji(this,e):qi(e);t(r,this,[n])}]},function(e){const{Element:n}=e,o=V(n.prototype,"outerHTML"),{isSharedElement:r}=yo(window);return[o,function(e){if(r(this))throw new De(`Cannot set outerHTML of ${Ft(this.nodeName)}.`);t(o,this,[qi(e)])}]},function(e){const{Element:n}=e,{insertAdjacentHTML:o}=n.prototype,{isSharedElement:r}=yo(window);return[o,function(...e){if(r(this))throw new De(`Cannot insert adjacent HTML to ${Ft(this.nodeName)}.`);e.length>1&&(e[1]=qi(e[1])),t(o,this,e)}]},function(e){const{Element:n}=e,{remove:o}=n.prototype,{isSharedElement:r}=yo(window);return[o,function(){if(r(this))throw new De(`Cannot remove ${Ft(this.nodeName)}.`);t(o,this,[])}]},function(e){const{Element:n}=e,{replaceChildren:o}=n.prototype,{isSharedElement:r}=yo(window);return[o,function(...e){if(r(this))throw new De(`Cannot replace children of ${Ft(this.nodeName)}.`);return t(o,this,e)}]},function(e){const{Element:n}=e,{replaceWith:o}=n.prototype,{isSharedElement:r}=yo(window);return[o,function(...e){if(r(this))throw new De(`Cannot replace ${Ft(this.nodeName)}.`);return t(o,this,e)}]},function(t){const{Event:e}=t,{composedPath:n}=e.prototype;return[n,function(){return Pc(this)}]},function(t){const{Event:e}=t,n=B(e.prototype,"path");return"function"!=typeof n?null:[n,function(){return Pc(this)}]},function(e,n){const{EventTarget:o}=e,{addEventListener:r}=o.prototype;return[r,function(...e){const{length:o}=e;if(o>1){const{0:t}=e;if(wc(this,t,n)){var i;const e=l(this.constructor,"name");let n;e&&(n=Se(e));const o=null==(i=n)?void 0:i.value;let r=`Cannot add '${t}' event listener`;throw"string"==typeof o&&(r+=` to ${o} object`),new De(`${r}.`)}}return t(r,this,e)}]},function(e){const{History:n}=e,{pushState:o}=n.prototype;return[o,function(...e){return e.length&&(e[0]=No(e[0])),t(o,this,e)}]},function(e){const{History:n}=e,{replaceState:o}=n.prototype;return[o,function(...e){return e.length&&(e[0]=No(e[0])),t(o,this,e)}]},function(e){const{HTMLElement:n}=e,o=B(n.prototype,"dataset");return[o,function(){return Fe(t(o,this,[]))}]},function(e){const{HTMLElement:n}=e,o=V(n.prototype,"innerText");if("function"!=typeof o)return null;const{isSharedElement:r}=yo(window);return[o,function(e){if(r(this))throw new De(`Cannot set innerText of ${Ft(this.nodeName)}.`);t(o,this,[e])}]},function(e){const{HTMLElement:n}=e,o=V(n.prototype,"outerText");if("function"!=typeof o)return null;const{isSharedElement:r}=yo(window);return[o,function(e){if(r(this))throw new De(`Cannot set outerText of ${Ft(this.nodeName)}.`);t(o,this,[e])}]},function(e){const{HTMLElement:n}=e,o=B(n.prototype,"style");return[o,function(){return Fe(t(o,this,[]))}]},function(e){const{HTMLFrameElement:n}=e,o=B(n.prototype,"contentDocument");return[o,function(){return t(o,this,[]),null}]},function(e){const{HTMLFrameElement:n}=e,o=B(n.prototype,"contentWindow");return[o,function(){return hr(t(o,this,[]))}]},function(e){const{HTMLIFrameElement:n}=e,o=V(n.prototype,"src");function r(e){const n=(zo(ic,e),lc(Go(ic)));if(!function(t,e=nc){return zo(ic,t),x(e,Uo(ic))}(n))throw new De("HTMLIFrameElement.src supports http://, https:// schemes and relative urls.");!function(e,n){t(Vo,e,[n])}(this,n)}return yc(n,{attributeName:"src",attributeNamespace:"default",distortion:r}),[o,r]},function(e){const{HTMLIFrameElement:n}=e,o=B(n.prototype,"contentDocument");return[o,function(){return t(o,this,[]),null}]},function(e){const{HTMLIFrameElement:n}=e,o=B(n.prototype,"contentWindow");return[o,function(){return hr(t(o,this,[]))}]},function(e){const{HTMLLinkElement:n}=e,o=V(n.prototype,"rel");function r(e){const n=Ft(e);Lc(n)?t(o,this,[n]):Pe(Oc)}return yc(n,{attributeName:"rel",attributeNamespace:"default",distortion:r}),[o,r]},function(e){const{DOMTokenList:n,HTMLLinkElement:o}=e,r=V(o.prototype,"relList");return[r,function e(o){const i=e instanceof n?t(Oo,o,[]):Ft(o);Lc(i)?t(r,this,[i]):Pe(Oc)}]},function(e){const{HTMLObjectElement:n}=e,o=B(n.prototype,"contentDocument");return[o,function(){return t(o,this,[]),null}]},function(e){const{HTMLObjectElement:n}=e,o=B(n.prototype,"contentWindow");return"function"!=typeof o?null:[o,function(){return hr(t(o,this,[]))}]},function(e){const{HTMLScriptElement:n}=e,o=B(n.prototype,"src");return[o,function(){return function(t){const e=K(Bo(t),"distortedSrc");return void 0===e?"":e}(this)||t(o,this,[])}]},function(e){const{IDBObjectStore:n}=e,{add:o}=n.prototype;return[o,function(...e){return e.length&&(e[0]=No(e[0])),t(o,this,e)}]},function(e){const{IDBObjectStore:n}=e,{put:o}=n.prototype;return[o,function(...e){return e.length&&(e[0]=No(e[0])),t(o,this,e)}]},function(e){const{MessageEvent:n}=e,o=B(n.prototype,"source");return[o,function(){const e=t(o,this,[]);return"[object Window]"===Ft(e)?hr(e):e}]},function(e){const{Navigator:n}=e,{sendBeacon:o}=n.prototype;return[o,function(...e){if(e.length){const{0:t}=e,n=ac(Ft(t));if(sc(n))throw new De(`Cannot request disallowed endpoint: ${n.normalizedURL}`);e[0]=n.normalizedURL}return t(o,this,e)}]},function(t){const{Navigator:e}=t,n=B(e.prototype,"serviceWorker");return"function"!=typeof n?null:[n,function(){}]},function(e){const{Node:n}=e,{removeChild:o}=n.prototype,{isSharedElement:r}=yo(window);return[o,function(...e){if(e.length){const{0:t}=e;if(r(t))throw new De(`Cannot remove ${Ft(t.nodeName)}.`)}return t(o,this,e)}]},function(e){const{Node:n}=e,{replaceChild:o}=n.prototype,{isSharedElement:r}=yo(window);return[o,function(...e){const{length:n}=e;if(n>1){const{1:t}=e;if(r(t))throw new De(`Cannot replace ${Ft(t.nodeName)}.`)}return t(o,this,e)}]},function(e,n){const{Attr:o,Node:r}=e,{key:i}=n,c=V(r.prototype,"nodeValue");return[c,function(e){if(this instanceof o){const n=rn(this);if(null===n)return t(c,this,[e]);const o=nn(this),r=hc(on(this)),s=dc(n,i,o,r);if(s)return t(s,n,[e])}return t(c,this,[e])}]},function(e,n){const{Attr:o,Node:r}=e,{key:i}=n,c=V(r.prototype,"textContent"),{isSharedElement:s}=yo(window);return[c,function(e){const n=Ft(e);if(this instanceof o){const e=rn(this);if(null===e)return t(c,this,[n]);const o=nn(this),r=hc(on(this)),s=dc(e,i,o,r);if(s)return t(s,e,[n])}if(s(this))throw new De(`Cannot set textContent of ${Ft(this.nodeName)} elements.`);return t(c,this,[n])}]},function(e){const{Notification:n}=e;return"function"!=typeof n?null:[n,function(...e){return e.length>1&&(e[1]=No(e[1])),t(n,this,e)}]},function(e){const{Range:n}=e,{createContextualFragment:o}=n.prototype;return[o,function(...e){if(e.length){const{0:t}=e;null!=t&&(e[0]=qi(t))}return t(o,this,e)}]},function(e){const{Range:n}=e,{deleteContents:o,cloneContents:r}=n.prototype;return[o,function(...e){const n=Po(t(r,this,[]),"html,head,body");if(n)throw new De(`Cannot delete contents of ${n.nodeName}.`);return t(o,this,e)}]},function(e){const{Range:n}=e,{extractContents:o,cloneContents:r}=n.prototype;return[o,function(...e){const n=Po(t(r,this,[]),"html,head,body");if(n)throw new De(`Cannot extract contents of ${n.nodeName}.`);return t(o,this,e)}]},function(e){const{isSharedElement:n,isAllowedSharedElementChild:o}=yo(window),{Range:r}=e,{insertNode:i}=r.prototype,c=B(r.prototype,"commonAncestorContainer");return[i,function(...e){if(e.length){const{0:r}=e,i=t(c,this,[]);if(i&&n(i)&&!o(r))throw new De(`Cannot insert a new child node of ${i.nodeName}.`)}return t(i,this,e)}]},function(t){const{ServiceWorkerContainer:e}=t;if("function"!=typeof e)return null;const{prototype:n}=e;return[n,Le(n)]},function(e){const{ShadowRoot:n}=e,o=V(n.prototype,"innerHTML");return[o,function(e){t(o,this,[qi(e)])}]},function(t){const{ShadowRoot:e}=t;return[B(e.prototype,"mode"),function(){return"closed"}]},function(t){const{SharedWorker:e}=t;return"function"!=typeof e?null:[e,function(t){throw new De(`Cannot create SharedWorker with ${Ft(t)}.`)}]},function(t){const{SharedWorker:e}=t;if("function"!=typeof e)return null;const{prototype:n}=e;return[n,Le(n)]},function(t){const{Storage:e}=t;return[B(e.prototype,"length"),Jc]},function(t){const{Storage:e}=t,{getItem:n}=e.prototype;return[n,qc]},function(t){const{Storage:e}=t,{setItem:n}=e.prototype;return[n,Zc]},function(t){const{Storage:e}=t,{key:n}=e.prototype;return[n,Xc]},function(t){const{Storage:e}=t,{removeItem:n}=e.prototype;return[n,Yc]},function(t){const{Storage:e}=t,{clear:n}=e.prototype;return[n,Kc]},function(t){const{Storage:e}=t;return[e,Vc]},function(e,n){const{key:o}=n,{SVGAnimateElement:r}=e,{setAttribute:i}=Element.prototype;function c(e,n){if(Wn(e,n)){const r=Gn(e,n);if(r){const i=dc(e,o,n);i&&t(i,e,[r])}}}return yc(r,{attributeName:"attributeName",attributeNamespace:"default",distortion:function(e){t(i,this,["attributeName",e]),"href"===e&&(c(this,"from"),c(this,"to"),c(this,"values"))}}),null},function(e){const{SVGAnimateElement:n}=e,{setAttribute:o}=Element.prototype;return yc(n,{attributeName:"from",attributeNamespace:"default",distortion:function(e){"href"===Gn(this,"attributeName")&&(e=Yi(e)),t(o,this,["from",e])}}),null},function(e){const{SVGAnimateElement:n}=e,{setAttribute:o}=Element.prototype;return yc(n,{attributeName:"to",attributeNamespace:"default",distortion:function(e){"href"===Gn(this,"attributeName")&&(e=Yi(e)),t(o,this,["to",e])}}),null},function(e){const{SVGAnimateElement:n}=e,{setAttribute:o}=Element.prototype;return yc(n,{attributeName:"values",attributeNamespace:"default",distortion:function(e){let n=e;if("href"===Gn(this,"attributeName")){const t=jt(e,";"),{length:o}=t;for(let e=0;e<o;e+=1)t[e]=Yi(t[e]);n=A(t,";")}t(o,this,["values",n])}}),null},function(e){const{SVGElement:n}=e,o=B(n.prototype,"dataset");return[o,function(){return Fe(t(o,this,[]))}]},function(e,n){const{key:o}=n,{SVGSetElement:r}=e,{setAttribute:i}=Element.prototype;return yc(r,{attributeName:"attributeName",attributeNamespace:"default",distortion:function(e){t(i,this,["attributeName",e]),"href"===e&&function(e,n){if(Wn(e,n)){const r=Gn(e,n);if(r){const i=dc(e,o,n);i&&t(i,e,[r])}}}(this,"to")}}),null},function(e){const{SVGSetElement:n}=e,{setAttribute:o}=Element.prototype;return yc(n,{attributeName:"to",attributeNamespace:"default",distortion:function(e){"href"===Gn(this,"attributeName")&&(e=Yi(e)),t(o,this,["to",e])}}),null},os,rs,function(e){const{TrustedTypePolicyFactory:n}=e;if("function"!=typeof n)return null;const{createPolicy:o}=n.prototype;return[o,function(...e){const n=e.length?e[0]:void 0;if("default"===n)throw new De(`Cannot create TrustedTypePolicy with '${n}' policy name.`);return t(o,this,e)}]},function(e){const{URL:n}=e,{createObjectURL:o}=n,{isEqualDomString:r,isMediaSourceObject:i}=yo(e);return[o,function(e){let n=t(o,this,[e]);if(i(e))return n;const c=$t(t(bo,e,[]));if(""===c)return t(o,this,[wo(e,0,void 0,"text/plain")]);if(x(is,c)){const i=wo(e,0,function(e){return t(mo,e,[])}(e),`${c};charset=utf-8`);nr(n),n=t(o,this,[i]);const s=new br;kr(s,"GET",n,!1),xr(s);const a=Vi(),l=Nr(s),u=a.sanitize(l);if(!r(l,u))throw nr(n),new De(`Cannot "createObjectURL" using a unsecure ${Ft(e)}.`);return n}if(function(t){if(Xt(tc,t))for(let e=0,{length:n}=ec;e<n;e+=1)if(Rt(t,ec[e]))return!0;return!1}(c))return n;throw nr(n),new De("Unsupported MIME type.")}]},function(e){const{fetch:n}=e;return[n,function(...e){let{0:o}=e;if(null!=o){let n;if(o instanceof Request?n=ac(t(qo,o,[])):(n=ac(Ft(o)),o=n.normalizedURL,e[0]=o),sc(n))return Ve(new De(`Cannot request disallowed endpoint: ${Ft(o)}.`))}return t(n,this,e)}]},function(t){const e=B(t,"frames");if("function"!=typeof e)return null;let n;return[e,function(){if(!n){const e=/^0$|^[1-9][0-9]*$/,c=i(t),a=i(c),l=e=>{if(h(e)){const n=K(t,e);if(d(n))return hr(n)}},u=e=>{if("string"==typeof e&&!W(t,e)&&!W(c,e)){const t=K(a,e);if(d(t))return hr(t)}},p=e=>"length"===e?gr(t):h(e)?l(e):void 0,d=e=>void 0!==e&&e!==t&&mr(e)&&yr(e),h=n=>Xt(e,n)&&n<gr(t);class y{defineProperty(t,e,n){return!1}deleteProperty(t,e){return!1}getOwnPropertyDescriptor(t,e){}isExtensible(t){return!0}ownKeys(t){return[]}preventExtensions(t){return!0}set(t,e,n,o){return!1}setPrototypeOf(t){return!1}}s(y.prototype,null),D(y.prototype);class m extends y{get(t,e,n){const o=p(e);return void 0!==o?o:r(t,e,n)}getOwnPropertyDescriptor(t,e){if("length"===e)return{configurable:!0,enumerable:!0,get:()=>p("length"),set(t){}};const n=h(e)?l(e):void 0;return n?{configurable:!0,enumerable:!0,value:n,writable:!1}:void 0}has(t,e){return void 0!==p(e)||o(t,e)}ownKeys(){const{length:e}=t,n=f(e+1);for(let t=0;t<e;t+=1)n[t]=`${t}`;return n[e]="length",n}}class g extends y{}class b extends g{get(t,e,n){const o=u(e);return void 0===o?r(t,e,n):o}getOwnPropertyDescriptor(t,e){const n=u(e);if(n)return{configurable:!0,enumerable:!0,value:n,writable:!1}}has(t,e){return void 0!==u(e)||o(t,e)}ownKeys(){const t=[];let e=0;const n=L(a);s(n,null);for(const o in n)if("string"==typeof o){const r=n[o];W(r,"value")&&d(r.value)&&(t[e++]=o)}return t}}const v={},w={},T={},E=D(new m),_=D(new g),S=D(new b),k=new Ce(w,_),N=new Ce(T,S);s(v,k),s(w,N),n=new Ce(v,E)}return n}]},function(e){const{getComputedStyle:n}=e;return[n,function(...e){return Fe(t(n,this,e))}]},function(t){const e=B(t,"length");return"function"!=typeof e?null:[e,function(){return 0}]},function(t,e){const{Window:n}=t,o=V(t,"onstorage");return"function"!=typeof o?null:(Tc(n,"storage",e),[o,function(){throw new De("Cannot set window.onstorage.")}])},function(e){const{open:n}=e;return[n,function(...e){const o=kc(e);return hr(t(n,this,o))}]},function(e){const n=B(e,"opener");return"function"!=typeof n?null:[n,function(){return hr(t(n,e,[]))}]},function(e){const n=B(e,"parent");return"function"!=typeof n?null:[n,function(){return hr(t(n,e,[]))}]},function(t){return[t.postMessage,dr(t)]},function(e){const{structuredClone:n}=e;return"function"!=typeof n?null:[n,function(...e){return e.length&&(e=No(e)),t(n,this,e)}]},function(t){const{Worker:e}=t;return[e,function(t){throw new De(`Cannot create Worker with ${Ft(t)}.`)}]},function(t){const{Worker:{prototype:e}}=t;return[e,Le(e)]},function(e){const{XMLHttpRequest:n}=e,{open:o}=n.prototype;return[o,function(...e){const n=e.length>1?e[1]:void 0;if(null!=n){const t=ac(Ft(n));if(sc(t))throw new De(`Cannot request disallowed endpoint: ${t.normalizedURL}`);e[1]=t.normalizedURL}t(o,this,e)}]},function(e){const{Document:n,XMLHttpRequest:o}=e,r=B(o.prototype,"response");return[r,function(){const e=t(r,this,[]);return e instanceof n?Xi(e):e}]},function(e){const{XMLHttpRequest:n}=e,o=B(n.prototype,"responseXML");return[o,function(){return Xi(t(o,this,[]))}]}],ss=[function(e,n){var o,r;const i=null==(o=e.aura)||null==(r=o.util)?void 0:r.globalEval;if("function"!=typeof i)return null;const{evaluator:c,key:s}=n;return[i,function(e,n,o){let r=`(function s(){return(${e})})()`;if("string"==typeof n){const e=(i=jt(n,"://"),t(g,i,[]));r+=this.sourceComment+("lib"===o?`/libraries/${Dt(e,".","/")}`:`/components/${Dt(e,":","/")}.js`)}var i;return c(s,r)}]},function(e,n){const{Attr:o}=e,{key:r}=n,i=V(o.prototype,"value");return[i,function(e){const n=rn(this);if(n){const o=nn(this),i=hc(on(this)),c=dc(n,r,o,i);if(c)return void t(c,n,[e])}t(i,this,[e])}]},function(e,n){var o;const{CookieStore:r}=e,i=null==r||null==(o=r.prototype)?void 0:o.delete;if("function"!=typeof i)return null;const{key:c}=n;return[i,function(...e){const n=e.length?e[0]:void 0;return null!=n&&(e[0]=mc(n,c)),t(i,this,e)}]},function(e,n){var o;const{CookieStore:r}=e,i=null==r||null==(o=r.prototype)?void 0:o.get;if("function"!=typeof i)return null;const{key:c}=n;return[i,function(...e){const n=e.length?e[0]:void 0;return null!=n&&(e[0]=mc(n,c)),Ke(t(i,this,e),(t=>bc(t,c)))}]},function(e,n){var o;const{CookieStore:r}=e,i=null==r||null==(o=r.prototype)?void 0:o.getAll;if("function"!=typeof i)return null;const{key:c}=n;return[i,function(...e){const n=e.length?e[0]:void 0;return null!=n&&(e[0]=mc(e[0],c)),Ke(t(i,this,e),(t=>{const e=[];let n=0;for(let o=0,{length:r}=t;o<r;o+=1){const r=bc(t[o],c);r&&(e[n++]=r)}return e}))}]},function(t,e){const{CookieStore:n}=t,o=V(null==n?void 0:n.prototype,"onchange");return"function"!=typeof o?null:(Tc(n,"change",e),[o,function(){throw new De("Cannot set cookieStore.onchange.")}])},function(e,n){var o;const{CookieStore:r}=e,i=null==r||null==(o=r.prototype)?void 0:o.set;if("function"!=typeof i)return null;const{key:c}=n;return[i,function(...e){const{length:n}=e;if(n>1){const{0:t}=e;e[0]=_n(t,c)}else if(n){const{0:t}=e;if(U(t)){const n=Ne(t);n.name=_n(n.name,c),e[0]=n}}return t(i,this,e)}]},function(e,n){const{Document:o}=e,{key:r}=n;return[B(o.prototype,"cookie"),function(){const e=jt(t(an,this,[]),"; "),n=[];let o=0;for(let t=0,{length:i}=e;t<i;t+=1){const i=gc(e[t],r);i&&(n[o++]=i)}return A(n,"; ")}]},function(e,n){const{Document:o}=e,{key:r}=n;return[V(o.prototype,"cookie"),function(e){const n=jt(e,"; ");let{0:o}=n;var i,c;o.length&&"="===o[0]&&(o=Mt(o,1)),n[0]=_n(o,r),i=this,c=A(n,"; "),t(ln,i,[c])}]},function(e){const{Document:n}=e,{replaceChildren:o}=n.prototype,{isSharedElement:r}=yo(window);return[o,function(...e){if(r(Tn(this)))throw new De("Cannot replace children of document.");return t(o,this,e)}]},function(e,n){var o;const{key:r}=n,i=$t(r),{CustomElementRegistry:c}=e,s=null==c||null==(o=c.prototype)?void 0:o.get;return"function"!=typeof s?null:[s,function(...e){if(e.length){const t=Ft(e[0]);if(!Rt($t(t),`${i}-`))return;e[0]=t}return t(s,this,e)}]},function(e,n){const{key:o}=n,{Element:r}=e,{setAttribute:i}=r.prototype;return[i,function(...e){if(e.length>1){const{0:n}=e,r=Ac(n),i=Ft(e[1]),c=dc(this,o,r);if(c)return void t(c,this,[i]);e[0]=r,e[1]=i}t(i,this,e)}]},function(e,n){const{key:o}=n,{Element:r}=e,{setAttributeNS:i}=r.prototype;return[i,function(...e){if(e.length<3)return void t(i,this,e);const{1:n}=e,r=Ac(n),c=null==(s=e[0])?s:Ft(s);var s;const a=Ft(e[2]),l=hc(c),u=dc(this,o,r,l);u?t(u,this,[a]):(e[0]=c,e[1]=r,e[2]=a,t(i,this,e))}]},function(e,n){const{key:o}=n,{Attr:r,Element:i}=e,{setAttributeNode:c}=i.prototype;return[c,function(...e){const n=e.length?e[0]:void 0;if(!(n instanceof r))return t(c,this,e);if(rn(n))return t(c,this,e);const i=nn(n),s=hc(on(n)),a=dc(this,o,i,s);if(!a)return t(c,this,e);{const e=zn(this,i);e&&Kn(this,e);const o=cn(n);t(a,this,[o]);const r=zn(this,i);if(r&&Kn(this,r),e&&t(c,this,[e]),r){return sn(n,cn(r)),t(c,this,[n])}}}]},function(e,n){const{key:o}=n,{Attr:r,Element:i}=e,{setAttributeNodeNS:c}=i.prototype;return[c,function(...e){const n=e.length?e[0]:void 0;if(!(n instanceof r))return t(c,this,e);if(rn(n))return t(c,this,e);const i=nn(n),s=on(n),a=hc(s),l=dc(this,o,i,a);if(l){const e=Un(this,s,i);e&&Kn(this,e);const o=Ft(cn(n));t(l,this,[o]);const r=Un(this,s,i);if(r&&Kn(this,r),e&&t(c,this,[e]),r){return sn(n,cn(r)),t(c,this,[n])}return null}return t(c,this,[n])}]},function(e,n){const{key:o}=n,{Element:r}=e,{hasAttribute:i,toggleAttribute:c}=r.prototype;return[c,function(...e){const{length:n}=e;if(n>0){const{0:r}=e,c=Ac(r),s=dc(this,o,c);if(s){const o=n>1?[e[1]]:[];return t(s,this,o),t(i,this,[c])}e[0]=c}return t(c,this,e)}]},function(t,e){const{HTMLScriptElement:n}=t,o=V(n.prototype,"src"),r=$c("src",e,Bo);return yc(n,{attributeName:"src",attributeNamespace:"default",distortion:r}),[o,r]},function(e,n){const{Attr:o,NamedNodeMap:r}=e,{setNamedItem:i}=r.prototype;return[i,function(...e){const r=e.length?e[0]:void 0;return r instanceof o?xc(i,this,r,n):t(i,this,e)}]},function(e,n){const{Attr:o,NamedNodeMap:r}=e,{setNamedItemNS:i}=r.prototype;return[i,function(...e){const r=e.length?e[0]:void 0;return r instanceof o?xc(i,this,r,n):t(i,this,e)}]},function(t,e){const{SVGScriptElement:n}=t;return yc(n,{attributeName:"href",attributeNamespace:Ko,distortion:$c("href",e,tr)}),yc(n,{attributeName:"xlink:href",attributeNamespace:Ko,distortion:$c("xlink:href",e,tr)}),null},function(e,n){const{evaluator:o,key:r}=n,{setInterval:i}=e;return[i,function(...e){if(e.length){const{0:t}=e;if(null!=t&&"function"!=typeof t){const n=Ft(t);e[0]=()=>{o(r,n)}}}return t(i,this,e)}]},function(e,n){const{evaluator:o,key:r}=n,{setTimeout:i}=e;return[i,function(...e){if(e.length){const{0:t}=e;if(null!=t&&"function"!=typeof t){const n=Ft(t);e[0]=()=>{o(r,n)}}}return t(i,this,e)}]},ts,es],as=k(cs,[function(e){const{Element:n,Node:o}=e,{after:r}=n.prototype,{isSharedElement:i,isAllowedSharedElementChild:c}=yo(window);return[r,function(...e){if(i(this))for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];if(!c(n)){const t=Ft(n instanceof o?n.nodeName:n);throw new De(`Cannot insert ${t} after ${Ft(this.nodeName)}.`)}}return t(r,this,e)}]},function(e){const{Element:n,Node:o}=e,{append:r}=n.prototype,{isSharedElement:i,isAllowedSharedElementChild:c}=yo(window);return[r,function(...e){if(i(this))for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];if(!c(n)){const t=Ft(n instanceof o?n.nodeName:n);throw new De(`Cannot append ${t} to ${Ft(this.nodeName)}.`)}}return t(r,this,e)}]},function(e){const{Element:n,Node:o}=e,{before:r}=n.prototype,{isSharedElement:i,isAllowedSharedElementChild:c}=yo(window);return[r,function(...e){if(i(this))for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];if(!c(n)){const t=Ft(n instanceof o?n.nodeName:n);throw new De(`Cannot insert ${t} before ${Ft(this.nodeName)}.`)}}return t(r,this,e)}]},function(e){const{Element:n}=e,{insertAdjacentElement:o}=n.prototype,{isSharedElement:r,isAllowedSharedElementChild:i}=yo(window);return[o,function(...e){if(e.length>1){const{1:t}=e;if(r(this)&&!i(t))throw new De(`Cannot insert ${t.nodeName} adjacent to ${this.nodeName}.`)}return t(o,this,e)}]},function(e){const{Element:n,Node:o}=e,{prepend:r}=n.prototype,{isSharedElement:i,isAllowedSharedElementChild:c}=yo(window);return[r,function(...e){if(i(this))for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];if(!c(n)){const t=Ft(n instanceof o?n.nodeName:n);throw new De(`Cannot prepend ${t} to ${Ft(this.nodeName)}.`)}}return t(r,this,e)}]},function(t){const{Element:e}=t;return[B(e.prototype,"shadowRoot"),function(){return null}]},function(e){const{Node:n}=e,{insertBefore:o}=n.prototype,{isSharedElement:r,isAllowedSharedElementChild:i}=yo(window);return[o,function(...e){if(e.length){const{0:t}=e;if(r(this)&&!i(t))throw new De(`Cannot insert child ${Ft(t.nodeName)} into ${Ft(this.nodeName)},`)}return t(o,this,e)}]}]),ls=k(ss,[]);k(cs,[]),k(ss,[]);const us=["createProcessingInstruction","exitFullscreen","fullscreen","fullscreenElement","fullscreenEnabled","mozCancelFullScreen","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","onfullscreenchange","onfullscreenerror","onmozfullscreenchange","onmozfullscreenerror","onrejectionhandled","onsecuritypolicyviolation","onunhandledrejection","releaseCapture","releaseEvents","webkitFullScreenKeyboardInputAllowed","write","writeln"],fs=["mozRequestFullScreen","onfullscreenchange","onfullscreenerror","requestFullscreen","webkitRequestFullScreen","webkitRequestFullscreen"],ps=["nonce"],ds=["nonce","onrejectionhandled","onunhandledrejection"],hs=["getSVGDocument"],ys=["allowpaymentrequest","referrerpolicy","sandbox","srcdoc"],ms=["allowPaymentRequest","csp","featurePolicy","getSVGDocument","referrerPolicy","sandbox","srcdoc"],gs=["getSVGDocument"],bs=["nonce"],vs=["nonce"],ws=["nonce"],Ts=["nonce"],Es=["transformToDocument","transformToFragment"],_s=new ae;function Ss(e,n,o,r,i,c){const{instrumentation:s,sandboxType:a,verboseInstrumentation:l}=r,u=c(e,{evaluator:o,key:n,instrumentation:s,sandboxType:a});if(u){const{0:e,1:o}=u;if(e){let r=o;"function"==typeof o&&(r=function(e,n,o,r,i){const{error:c,startActivity:s}=o;if(r){const o=Dt(i,"$LWS","");return function(...r){const i=s(o,{sandboxKey:e});try{return t(n,this,r)}catch(t){throw c({sandboxKey:e,error:t}),t}finally{i.stop()}}}return function(...o){try{return t(n,this,o)}catch(t){throw c({sandboxKey:e,error:t}),t}}}(n,o,s,!!l,c.name||"<unknown>")),i[i.length]=[e,Hc(r,e)]}}}function ks(e,n,o,r){const i=[],c=pe(_s,e);if(c)t(_,i,c);else{const c=function(e){const{Document:n,Element:o,HTMLElement:r,HTMLIFrameElement:i,HTMLScriptElement:c,SVGElement:s,XSLTProcessor:a}=e,l=[];return t(_,l,Ic(CustomElementRegistry.prototype,uc)),t(_,l,Ic(n.prototype,us)),t(_,l,Ic(o.prototype,fs)),t(_,l,Ic(r.prototype,ds)),t(_,l,Ic(i.prototype,ms)),t(_,l,Ic(HTMLEmbedElement.prototype,hs)),t(_,l,Ic(HTMLObjectElement.prototype,gs)),t(_,l,Ic(c.prototype,vs)),t(_,l,Ic(s.prototype,Ts)),"function"==typeof a&&t(_,l,Ic(a.prototype,Es)),Fc(r,ps),Fc(i,ys),Fc(c,bs),Fc(s,ws),l}(e);for(let t=0,{length:s}=c;t<s;t+=1){Ss(e,n,o,r,i,c[t])}for(let t=0,{length:c}=as;t<c;t+=1){Ss(e,n,o,r,i,as[t])}de(_s,e,ke(i))}for(let t=0,{length:c}=ls;t<c;t+=1){Ss(e,n,o,r,i,ls[t])}return t(_,i,function(t){const e={__proto__:null},n=[];let o=0;for(let t=0,{length:r}=pc;t<r;t+=1){const r=(0,pc[t])(e);r&&(n[o++]=r)}return fc[t]=e,n}(n)),i}const Ns=new WeakMap;function xs(t){const e=Array,n=ArrayBuffer,o=Error,r=Object,i=Proxy,c=Reflect,s=RegExp,a=Symbol,l=TypeError,u=WeakMap,{for:f,toStringTag:p}=a,d=/\w*$/,h=Symbol.for("@@lockerDebugMode"),y=f("@@lockerLiveValue"),m=f("@@lockerNearMembraneSerializedValue"),g=f("@@lockerNearMembrane"),b=f("@@lockerNearMembraneUndefinedValue"),v=`${()=>1}`.includes("*");let w=v&&void 0;const T="function"==typeof BigInt,{assign:E,defineProperties:_,freeze:S,getOwnPropertyDescriptor:k,getOwnPropertyDescriptors:N,isFrozen:x,isSealed:A,prototype:P,seal:C}=r,{__defineGetter__:O,__defineSetter__:L,__lookupGetter__:D,__lookupSetter__:M,hasOwnProperty:j,propertyIsEnumerable:R,toString:$}=P,{apply:I,construct:F,defineProperty:H,deleteProperty:G,get:z,getOwnPropertyDescriptor:U,getPrototypeOf:W,has:B,isExtensible:V,ownKeys:K,preventExtensions:q,set:X,setPrototypeOf:Y}=c,{isArray:Z}=e,{includes:J,indexOf:Q,slice:tt}=e.prototype,{isView:et}=n,nt=I(D,n.prototype,["byteLength"]),ot=T?BigInt.prototype.valueOf:void 0,{valueOf:rt}=Boolean.prototype,{toString:it}=o.prototype,{bind:ct}=Function.prototype,{stringify:st}=JSON,{valueOf:at}=Number.prototype,{revocable:lt}=i,{prototype:ut}=s,{exec:ft,test:pt,toString:dt}=ut,ht=I(D,ut,["flags"])||function(){const t=I(dt,this,[]);return I(ft,d,[t])[0]},yt=I(D,ut,["source"]),{replace:mt,slice:gt,valueOf:bt}=String.prototype,{valueOf:vt}=a.prototype,{get:wt,set:Tt}=u.prototype,Et=console,{info:_t}=Et,St=eval,kt="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||(H(P,"globalThis",{__proto__:null,configurable:!0,get(){return G(P,"globalThis"),this||self}}),globalThis);let Nt=!1,xt=!1;const At=new s(`${I(mt,"$LWS",[/[\\^$.*+?()[\]{}|]/g,"\\$&"])}(?=\\.|$)`),Pt={__proto__:null};function Ct(t){let e=Pt[t];return void 0===e&&(e=I(ct,(()=>kt),[]),Pt[t]=e),e}function Ot(t){return t}const Lt=v?()=>{if(Nt)return;Nt=!0;const t=(()=>{var t;o.prepareStackTrace=(t,e)=>e;const e=(new o).stack;return delete o.prepareStackTrace,Z(e)&&e.length>0?null==(t=e[0])?void 0:t.constructor:void 0})();if("function"!=typeof t)return;const{getEvalOrigin:e,getFunctionName:n,toString:r}=t.prototype;o.prepareStackTrace=function(t,o){return function(t,o){let i="";try{i=I(it,t,[])}catch(t){i="<error>"}let c=!1;for(let s=0,{length:a}=o;s<a;s+=1){const a=o[s],l=I(n,a,[]);let u=!1;if("string"==typeof l&&"eval"!==l&&I(pt,At,[l])&&(u=!0),!u){const t=I(e,a,[]);"string"==typeof t&&I(pt,At,[t])&&(u=!0)}if(u)c||(c=!0,i+="\n at LWS");else{c=!1;try{i+=`\n at ${I(r,a,[])}`}catch(t){}}}return i}(t,o)};const{stackTraceLimit:i}=o;("number"!=typeof i||i<20)&&(o.stackTraceLimit=20)}:()=>{};function Dt(t){return I(ot,t,[])}function Mt(t){return I(rt,t,[])}function jt(t){return I(at,t,[])}function Rt(t){if(t!==ut){const e=I(yt,t,[]);return st({__proto__:null,flags:I(ht,t,[]),source:e})}}function $t(t){return I(bt,t,[])}function It(t){return I(vt,t,[])}function Ft(t){try{return B(t,p)?function(t){try{return It(t)}catch(t){}if(T)try{return Dt(t)}catch(t){}try{return Mt(t)}catch(t){}try{return jt(t)}catch(t){}try{return Rt(t)}catch(t){}try{return $t(t)}catch(t){}}(t):function(t){switch(I($,t,[])){case"[object Boolean]":return Mt(t);case"[object Number]":return jt(t);case"[object RegExp]":return Rt(t);case"[object String]":return $t(t);case"[object Object]":try{return It(t)}catch(t){}if(T)try{return Dt(t)}catch(t){}default:return}}(t)}catch(t){}}return function(n,o,s,a){const{distortionCallback:f=Ot,instrumentation:d}=E({__proto__:null},a),T="object"==typeof d&&null!==d,ot={__proto__:null,0:void 0,1:void 0,2:void 0,n:void 0},rt={__proto__:null,0:void 0,1:void 0,2:void 0,n:void 0},it=new u,ct=T?d.startActivity:void 0;let st,at,ft,pt,dt,ht,mt,bt,vt,Nt,At,Pt,Dt,Mt,jt,Rt,$t,It,Ht,Gt,zt,Ut,Wt,Bt,Vt,Kt,qt,Xt=0,Yt=!1;function Zt(t,e,n){let o;delete n[e],T&&(o=ct("callableGetOwnPropertyDescriptor"));const r=se(t);let i;try{mt(r,e,((t,e,n,o,r,c,s)=>{i=oe(e,n,o,r,c,s)}))}catch(t){var c;const e=null!=(c=qt)?c:t;throw qt=void 0,T&&o.error(e),e}finally{T&&o.stop()}i?H(t,e,i):delete t[e]}function Jt(t,e){let n,o;T&&(n=ct("callableBatchGetPrototypeOfAndGetOwnPropertyDescriptors"));try{o=Bt(t,((...t)=>{const n={};for(let e=0,{length:o}=t;e<o;e+=7)n[t[e]]=oe(t[e+1],t[e+2],t[e+3],t[e+4],t[e+5],t[e+6]);_(e,n)}))}catch(t){var r;const e=null!=(r=qt)?r:t;throw qt=void 0,T&&n.error(e),e}finally{T&&n.stop()}let i=o;"function"==typeof o&&(o(),i=qt,qt=void 0),Y(e,i)}function Qt(t){const e=1&t,n=e?"callableApplyWithZeroOrMoreArgs":"callableConstructWithZeroOrMoreArgs",o=e?ot:rt,r=e?at:ft;return function(i,c,s){Xt=t;const a=e?s:c,{length:l}=a;var u;if(0!==l)return I(null!=(u=o[l])?u:o.n,this,[i,c,s]);let f;T&&(f=ct(n));const{foreignTargetPointer:p}=this,d=e?c:s;try{const t=r(p,"object"==typeof d&&null!==d||"function"==typeof d?se(d):void 0===d?void 0:d);let e=t;return"function"==typeof t&&(t(),e=qt,qt=void 0),e}catch(t){var h;const e=null!=(h=qt)?h:t;throw qt=void 0,T&&f.error(e),e}finally{T&&f.stop()}}}function te(t){const e=1&t,n=e?"callableApplyWithOneOrMoreArgs":"callableConstructWithOneOrMoreArgs",o=e?ot:rt,r=e?at:ft;return function(i,c,s){Xt=t;const a=e?s:c,{length:l}=a;var u;if(1!==l)return I(null!=(u=o[l])?u:o.n,this,[i,c,s]);let f;T&&(f=ct(n));const{foreignTargetPointer:p}=this,d=e?c:s;try{const{0:t}=a,e=r(p,"object"==typeof d&&null!==d||"function"==typeof d?se(d):void 0===d?void 0:d,"object"==typeof t&&null!==t||"function"==typeof t?se(t):void 0===t?void 0:t);let n=e;return"function"==typeof e&&(e(),n=qt,qt=void 0),n}catch(t){var h;const e=null!=(h=qt)?h:t;throw qt=void 0,T&&f.error(e),e}finally{T&&f.stop()}}}function ee(t){const e=1&t,n=e?"callableApplyWithTwoOrMoreArgs":"callableConstructWithTwoOrMoreArgs",o=e?ot:rt,r=e?at:ft;return function(i,c,s){Xt=t;const a=e?s:c,{length:l}=a;var u;if(2!==l)return I(null!=(u=o[l])?u:o.n,this,[i,c,s]);let f;T&&(f=ct(n));const{foreignTargetPointer:p}=this,d=e?c:s;try{const{0:t,1:e}=a,n=r(p,"object"==typeof d&&null!==d||"function"==typeof d?se(d):void 0===d?void 0:d,"object"==typeof t&&null!==t||"function"==typeof t?se(t):void 0===t?void 0:t,"object"==typeof e&&null!==e||"function"==typeof e?se(e):void 0===e?void 0:e);let o=n;return"function"==typeof n&&(n(),o=qt,qt=void 0),o}catch(t){var h;const e=null!=(h=qt)?h:t;throw qt=void 0,T&&f.error(e),e}finally{T&&f.stop()}}}function ne(t){const e=1&t,n=e?"callableApplyWithAnyNumberOfArgs":"callableConstructWithAnyNumberOfArgs",o=e?at:ft;return function(r,i,c){let s;Xt=t,T&&(s=ct(n));const{foreignTargetPointer:a}=this,l=e?c:i,u=e?i:c;try{const t=[a,"object"==typeof u&&null!==u||"function"==typeof u?se(u):void 0===u?void 0:u],{length:e}=l,{length:n}=t;t.length+=e;for(let o=0;o<e;o+=1){const e=l[o];t[n+o]="object"==typeof e&&null!==e||"function"==typeof e?se(e):void 0===e?void 0:e}const r=I(o,void 0,t);let i=r;return"function"==typeof r&&(r(),i=qt,qt=void 0),i}catch(t){var f;const e=null!=(f=qt)?f:t;throw qt=void 0,T&&s.error(e),e}finally{T&&s.stop()}}}function oe(t,e,n,o,r,i){const c={__proto__:null};if(t!==b&&(c.configurable=t),e!==b&&(c.enumerable=e),n!==b&&(c.writable=n),r!==b){let t=r;"function"==typeof r&&(r(),t=qt,qt=void 0),c.get=t}if(i!==b){let t=i;"function"==typeof i&&(i(),t=qt,qt=void 0),c.set=t}if(o!==b){let t=o;"function"==typeof o&&(o(),t=qt,qt=void 0),c.value=t}return c}function re(t,e,n){return{__proto__:null,configurable:!0,get:()=>(Zt(t,e,n),z(t,e)),set(o){Zt(t,e,n),X(t,e,o)}}}function ie(t){return()=>{qt=t}}const ce=v?(...e)=>{if(!t&&void 0===w&&(w=I(j,kt,[h]),w))try{Lt(),Ht()}catch(t){}if(w){for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];"function"==typeof n&&(n(),e[t]=qt,qt=void 0)}try{I(_t,Et,e)}catch(t){}return!0}return!1}:()=>!1;function se(t){let e=I(wt,it,[t]);if(e)return e;const n=f(t);if(n!==t&&typeof n!=typeof t)throw new l(`Invalid distortion ${t}.`);let o,r=8;try{Z(n)&&(r=1)}catch(t){r=16}if("function"==typeof n){r=2;try{"prototype"in n||(r|=4);const e=U(t,"length");if(e){const t=e;Y(t,null);const{value:n}=t;"number"==typeof n&&(o=n)}}catch(t){}}return e=st(ie(n),r,o,void 0),I(Tt,it,[t,e]),e}function ae(t,e){Jt(e,t),q(t)}function le(t,e,n){let o,r,i;T&&(o=ct("callableBatchGetPrototypeOfWhenHasNoOwnPropertyDescriptor"));try{r=Kt(t,n,((t,o,r,c,s,a,l)=>{i=oe(o,r,c,s,a,l),!1===i.configurable&&H(e,n,i)}))}catch(t){var c;const e=null!=(c=qt)?c:t;throw qt=void 0,T&&o.error(e),e}finally{T&&o.stop()}if(i)return i;let s=r;for("function"==typeof r&&(r(),s=qt,qt=void 0);s;){const t=U(s,n);if(t)return i=t,Y(i,null),i;s=W(s)}}function ue(t){return("object"==typeof t&&null!==t||"function"==typeof t)&&se(t)(),t}class fe{constructor(t,e,r,i){let c;this.color=n,this.foreignTargetTraits=0;const s=1&e,a=2&e;c=a?4&e?()=>{}:function(){}:s?[]:{};const{proxy:l,revoke:u}=lt(c,this);var f,p;if(this.foreignTargetPointer=t,this.foreignTargetTraits=e,this.nonConfigurableDescriptorCallback=(t,e,n,o,r,i,c)=>{H(this.shadowTarget,t,oe(e,n,o,r,i,c))},this.proxy=l,this.revoke=u,this.serializedValue=void 0,this.shadowTarget=c,this.staticToStringTag=void 0,a&&(this.apply=null!=(f=ot[r])?f:ot.n,this.construct=null!=(p=rt[r])?p:rt.n),this.defineProperty=fe.defaultDefinePropertyTrap,this.deleteProperty=fe.defaultDeletePropertyTrap,this.isExtensible=fe.defaultIsExtensibleTrap,this.getOwnPropertyDescriptor=fe.defaultGetOwnPropertyDescriptorTrap,this.getPrototypeOf=fe.defaultGetPrototypeOfTrap,this.get=fe.defaultGetTrap,this.has=fe.defaultHasTrap,this.ownKeys=fe.defaultOwnKeysTrap,this.preventExtensions=fe.defaultPreventExtensionsTrap,this.setPrototypeOf=fe.defaultSetPrototypeOfTrap,this.set=fe.defaultSetTrap,16&e&&u(),o)s&&this.makeProxyLive();else{if(8&e){let t=b;I(O,this,["serializedValue",()=>(t===b&&(t=Ut(this.foreignTargetPointer)),t)])}S(this)}}makeProxyLive(){this.deleteProperty=fe.passthruDeletePropertyTrap,this.defineProperty=fe.passthruDefinePropertyTrap,this.preventExtensions=fe.passthruPreventExtensionsTrap,this.set=fe.passthruSetTrap,this.setPrototypeOf=fe.passthruSetPrototypeOfTrap,S(this)}makeProxyStatic(){this.defineProperty=fe.staticDefinePropertyTrap,this.deleteProperty=fe.staticDeletePropertyTrap,this.get=fe.staticGetTrap,this.getOwnPropertyDescriptor=fe.staticGetOwnPropertyDescriptorTrap,this.getPrototypeOf=fe.staticGetPrototypeOfTrap,this.has=fe.staticHasTrap,this.isExtensible=fe.staticIsExtensibleTrap,this.ownKeys=fe.staticOwnKeysTrap,this.preventExtensions=fe.staticPreventExtensionsTrap,this.set=fe.staticSetTrap,this.setPrototypeOf=fe.staticSetPrototypeOfTrap;const{foreignTargetPointer:t,shadowTarget:e}=this;let n;{let e;if(T&&(e=ct("callableGetTargetIntegrityTraits")),n=$t(t),T&&e.stop(),8&n)return S(this),void this.revoke()}try{Jt(t,e)}catch(e){let n;T&&(n=ct("callableIsTargetRevoked"));const o=zt(t);if(T&&n.stop(),o)return S(this),void this.revoke()}if(8&this.foreignTargetTraits&&!B(e,p)){let e;T&&(e=ct("callableGetToStringTagOfTarget"));let n="Object";try{n=It(t)}catch(t){}T&&e.stop(),"Object"!==n&&(this.staticToStringTag=n)}4&n?S(e):2&n?C(e):1&n?q(e):!1!==w&&(w=jt("Mutations on the membrane of an object originating outside of the sandbox will not be reflected on the object itself:",t)),S(this)}makeProxyUnambiguous(){let t;T&&(t=ct("callableIsTargetLive"));const e=Gt(this.foreignTargetPointer);T&&t.stop(),e?this.makeProxyLive():this.makeProxyStatic()}static hybridGetTrap(t,e,n){const{foreignTargetPointer:o,shadowTarget:r}=this,i=le(o,r,e);if(i){const{get:t,value:e}=i;return t?I(t,n,[]):e}if(e===p&&8&this.foreignTargetTraits){let t,n;T&&(t=ct("callableGetToStringTagOfTarget"));try{n=It(o)}catch(e){var c;const n=null!=(c=qt)?c:e;throw qt=void 0,T&&t.error(n),n}finally{T&&t.stop()}if("Object"!==n)return n}}static hybridHasTrap(t,e){let n,o;T&&(n=ct("callableBatchGetPrototypeOfWhenHasNoOwnProperty"));try{o=Vt(this.foreignTargetPointer,e)}catch(t){var r;const e=null!=(r=qt)?r:t;throw qt=void 0,T&&n.error(e),e}finally{T&&n.stop()}if(!0===o)return!0;let i=o;for("function"==typeof o&&(o(),i=qt,qt=void 0);i;){if(I(j,i,[e]))return!0;i=W(i)}return!1}static passthruDefinePropertyTrap(t,e,n){let o;Xt=4,T&&(o=ct("callableDefineProperty"));const r=E({__proto__:null},n),{value:i,get:c,set:s}=r,a="value"in r?"object"==typeof i&&null!==i||"function"==typeof i?se(i):void 0===i?void 0:i:b,l="get"in r?"object"==typeof c&&null!==c||"function"==typeof c?se(c):void 0===c?void 0:c:b,u="set"in r?"object"==typeof s&&null!==s||"function"==typeof s?se(s):void 0===s?void 0:s:b;try{return pt(this.foreignTargetPointer,e,"configurable"in r?!!r.configurable:b,"enumerable"in r?!!r.enumerable:b,"writable"in r?!!r.writable:b,a,l,u,this.nonConfigurableDescriptorCallback)}catch(t){var f;const e=null!=(f=qt)?f:t;throw qt=void 0,T&&o.error(e),e}finally{T&&o.stop()}}static passthruDeletePropertyTrap(t,e){let n;Xt=8,T&&(n=ct("callableDeleteProperty"));try{return dt(this.foreignTargetPointer,e)}catch(t){var o;const e=null!=(o=qt)?o:t;throw qt=void 0,T&&n.error(e),e}finally{T&&n.stop()}}static passthruGetTrap(t,e,n){if(Yt&&(Yt=128===Xt),Xt=16,Yt){if(e===g)return!0;if(e===m)return this.serializedValue}let o;T&&(o=ct("callableGet"));const r="object"==typeof n&&null!==n||"function"==typeof n?se(n):void 0===n?void 0:n;try{const t=ht(this.foreignTargetPointer,this.foreignTargetTraits,e,r);let n=t;return"function"==typeof t&&(t(),n=qt,qt=void 0),n}catch(t){var i;const e=null!=(i=qt)?i:t;throw qt=void 0,T&&o.error(e),e}finally{T&&o.stop()}}static passthruGetPrototypeOfTrap(t){let e,n;Xt=64,T&&(e=ct("callableGetPrototypeOf"));try{n=bt(this.foreignTargetPointer)}catch(t){var o;const n=null!=(o=qt)?o:t;throw qt=void 0,T&&e.error(n),n}finally{T&&e.stop()}let r=n;return"function"==typeof n&&(n(),r=qt,qt=void 0),r}static passthruHasTrap(t,e){let n,o;Xt=128,T&&(n=ct("callableHas"));try{o=vt(this.foreignTargetPointer,e)}catch(t){var r;const e=null!=(r=qt)?r:t;throw qt=void 0,T&&n.error(e),e}finally{T&&n.stop()}return Yt=!o&&(e===g||e===m),o}static passthruIsExtensibleTrap(t){Xt=256;const{shadowTarget:e}=this;if(V(e)){let t;T&&(t=ct("callableIsExtensible"));const{foreignTargetPointer:o}=this;try{if(Nt(o))return!0}catch(e){var n;const o=null!=(n=qt)?n:e;throw qt=void 0,T&&t.error(o),o}finally{T&&t.stop()}ae(e,o)}return!1}static passthruOwnKeysTrap(t){let e,n;Xt=512,T&&(e=ct("callableOwnKeys"));try{At(this.foreignTargetPointer,((...t)=>{n=t}))}catch(t){var o;const n=null!=(o=qt)?o:t;throw qt=void 0,T&&e.error(n),n}finally{T&&e.stop()}return n||[]}static passthruGetOwnPropertyDescriptorTrap(t,e){let n,o;Xt=32,T&&(n=ct("callableGetOwnPropertyDescriptor"));try{mt(this.foreignTargetPointer,e,((t,n,r,i,c,s,a)=>{o=oe(n,r,i,c,s,a),!1===o.configurable&&H(this.shadowTarget,e,o)}))}catch(t){var r;const e=null!=(r=qt)?r:t;throw qt=void 0,T&&n.error(e),e}finally{T&&n.stop()}return o}static passthruPreventExtensionsTrap(t){Xt=1024;const{shadowTarget:e}=this;if(V(e)){let t;T&&(t=ct("callablePreventExtensions"));const{foreignTargetPointer:o}=this;let r;try{r=Pt(o)}catch(e){var n;const o=null!=(n=qt)?n:e;throw qt=void 0,T&&t.error(o),o}finally{T&&t.stop()}if(2&r)return 1&r||ae(e,o),!1;ae(e,o)}return!0}static passthruSetPrototypeOfTrap(t,e){let n;Xt=4096,T&&(n=ct("callableSetPrototypeOf"));const o=e?se(e):e;try{return Mt(this.foreignTargetPointer,o)}catch(t){var r;const e=null!=(r=qt)?r:t;throw qt=void 0,T&&n.error(e),e}finally{T&&n.stop()}}static passthruSetTrap(t,e,n,o){Xt=2048;const{foreignTargetPointer:r}=this;return this.proxy===o?function(t,e,n,o){let r;T&&(r=ct("callableSet"));const i="object"==typeof n&&null!==n||"function"==typeof n?se(n):void 0===n?void 0:n,c=se(o);try{return Dt(t,e,i,c)}catch(t){var s;const e=null!=(s=qt)?s:t;throw qt=void 0,T&&r.error(e),e}finally{T&&r.stop()}}(r,e,n,o):function(t,e,n,o,r){const i=le(t,e,n);if(i){if("get"in i||"set"in i){const{set:t}=i;return!!t&&(I(t,r,[o]),!0)}if(!1===i.writable)return!1}let c;if(null===r||"function"!=typeof r&&"object"!=typeof r)return!1;const s=U(r,n);return s&&(c=s,Y(c,null)),c?!("get"in c)&&!("set"in c)&&!1!==c.writable&&(H(r,n,{__proto__:null,value:o}),!0):H(r,n,{__proto__:null,configurable:!0,enumerable:!0,value:o,writable:!0})}(r,this.shadowTarget,e,n,o)}static pendingDefinePropertyTrap(t,e,n){return this.makeProxyUnambiguous(),this.defineProperty(t,e,n)}static pendingDeletePropertyTrap(t,e){return this.makeProxyUnambiguous(),this.deleteProperty(t,e)}static pendingPreventExtensionsTrap(t){return this.makeProxyUnambiguous(),this.preventExtensions(t)}static pendingSetPrototypeOfTrap(t,e){return this.makeProxyUnambiguous(),this.setPrototypeOf(t,e)}static pendingSetTrap(t,e,n,o){return this.makeProxyUnambiguous(),this.set(t,e,n,o)}static staticGetTrap(t,e,n){const{shadowTarget:o}=this,r=z(o,e,n);return void 0===r&&e===p&&8&this.foreignTargetTraits&&!B(o,e)?this.staticToStringTag:r}}return fe.defaultDefinePropertyTrap=o?fe.pendingDefinePropertyTrap:fe.passthruDefinePropertyTrap,fe.defaultDeletePropertyTrap=o?fe.pendingDeletePropertyTrap:fe.passthruDeletePropertyTrap,fe.defaultGetOwnPropertyDescriptorTrap=fe.passthruGetOwnPropertyDescriptorTrap,fe.defaultGetPrototypeOfTrap=fe.passthruGetPrototypeOfTrap,fe.defaultGetTrap=o?fe.hybridGetTrap:fe.passthruGetTrap,fe.defaultHasTrap=o?fe.hybridHasTrap:fe.passthruHasTrap,fe.defaultIsExtensibleTrap=fe.passthruIsExtensibleTrap,fe.defaultOwnKeysTrap=fe.passthruOwnKeysTrap,fe.defaultPreventExtensionsTrap=o?fe.pendingPreventExtensionsTrap:fe.passthruPreventExtensionsTrap,fe.defaultSetTrap=o?fe.pendingSetTrap:fe.passthruSetTrap,fe.defaultSetPrototypeOfTrap=o?fe.pendingSetPrototypeOfTrap:fe.passthruSetPrototypeOfTrap,fe.staticDefinePropertyTrap=H,fe.staticDeletePropertyTrap=G,fe.staticGetOwnPropertyDescriptorTrap=U,fe.staticGetPrototypeOfTrap=W,fe.staticHasTrap=B,fe.staticIsExtensibleTrap=V,fe.staticOwnKeysTrap=K,fe.staticPreventExtensionsTrap=q,fe.staticSetPrototypeOfTrap=Y,fe.staticSetTrap=X,Y(fe.prototype,null),S(fe.prototype),s(ie(kt),(()=>{const t=qt;return qt=void 0,t}),(t=>"object"==typeof t&&null!==t||"function"==typeof t?se(t):void 0===t?void 0:t),((t,e)=>{t();const n=qt;return qt=void 0,ie(null==n?void 0:n[e])}),(t=>{try{const e=St(t);return"object"==typeof e&&null!==e||"function"==typeof e?se(e):void 0===e?void 0:e}catch(t){throw ue(t)}}),((t,e)=>{t();const n=qt;qt=void 0,("object"==typeof n&&null!==n||"function"==typeof n)&&I(Tt,it,[n,e])}),((t,e,n,o)=>{const{proxy:r}=new fe(t,e,n,o);return I(Tt,it,[r,t]),ie(r)}),((t,e,...n)=>{t();const o=qt;qt=void 0;let r,i=e;"function"==typeof e&&(e(),i=qt,qt=void 0);for(let t=0,{length:e}=n;t<e;t+=1){const e=n[t];"function"==typeof e&&(e(),n[t]=qt,qt=void 0)}try{r=I(o,i,n)}catch(t){throw ue(t)}return"object"==typeof r&&null!==r||"function"==typeof r?se(r):void 0===r?void 0:r}),((t,e,...n)=>{t();const o=qt;qt=void 0;let r,i=e;"function"==typeof e&&(e(),i=qt,qt=void 0);for(let t=0,{length:e}=n;t<e;t+=1){const e=n[t];"function"==typeof e&&(e(),n[t]=qt,qt=void 0)}try{r=F(o,n,i)}catch(t){throw ue(t)}return"object"==typeof r&&null!==r||"function"==typeof r?se(r):void 0===r?void 0:r}),((t,e,n,o,r,i,c,s,a)=>{t();const l=qt;qt=void 0;let u=!1;try{u=H(l,e,oe(n,o,r,i,c,s))}catch(t){throw ue(t)}if(u&&!1===n){let n;try{n=U(l,e)}catch(t){throw ue(t)}if(n&&I(j,n,["configurable"])&&!1===n.configurable){const t=E({__proto__:null},n),{value:o,get:r,set:i}=t;a(e,"configurable"in t?t.configurable:b,"enumerable"in t?t.enumerable:b,"writable"in t?t.writable:b,"value"in t?"object"==typeof o&&null!==o||"function"==typeof o?se(o):void 0===o?void 0:o:b,"get"in t?"object"==typeof r&&null!==r||"function"==typeof r?se(r):void 0===r?void 0:r:b,"set"in t?"object"==typeof i&&null!==i||"function"==typeof i?se(i):void 0===i?void 0:i:b)}}return u}),((t,e)=>{t();const n=qt;qt=void 0;try{return G(n,e)}catch(t){throw ue(t)}}),((t,e,n,o)=>{t();const r=qt;qt=void 0;let i,c=o;"function"==typeof o&&(o(),c=qt,qt=void 0);try{i=z(r,n,c)}catch(t){throw ue(t)}if("object"==typeof i&&null!==i||"function"==typeof i)return se(i);if(i=void 0===i?void 0:i,void 0===i&&n===p&&8&e)try{if(!B(r,n)){const t=I($,r,[]);"[object Object]"!==t&&(i=I(gt,t,[8,-1]))}}catch(t){throw ue(t)}return i}),((t,e,n)=>{t();const o=qt;let r;qt=void 0;try{r=U(o,e)}catch(t){throw ue(t)}if(r){const t=E({__proto__:null},r),{value:o,get:i,set:c}=t;n(e,"configurable"in t?t.configurable:b,"enumerable"in t?t.enumerable:b,"writable"in t?t.writable:b,"value"in t?"object"==typeof o&&null!==o||"function"==typeof o?se(o):void 0===o?void 0:o:b,"get"in t?"object"==typeof i&&null!==i||"function"==typeof i?se(i):void 0===i?void 0:i:b,"set"in t?"object"==typeof c&&null!==c||"function"==typeof c?se(c):void 0===c?void 0:c:b)}}),(t=>{t();const e=qt;let n;qt=void 0;try{n=W(e)}catch(t){throw ue(t)}return n?se(n):n}),((t,e)=>{t();const n=qt;qt=void 0;try{return B(n,e)}catch(t){throw ue(t)}}),(t=>{t();const e=qt;qt=void 0;try{return V(e)}catch(t){throw ue(t)}}),((t,e)=>{t();const n=qt;let o;qt=void 0;try{o=K(n)}catch(t){throw ue(t)}I(e,void 0,o)}),(t=>{t();const e=qt;qt=void 0;let n=2;try{q(e)&&(n=4)}catch(t){throw ue(t)}return 2&n&&V(e)&&(n|=1),n}),((t,e,n,o)=>{t();const r=qt;qt=void 0;let i=n;"function"==typeof n&&(n(),i=qt,qt=void 0);let c=o;"function"==typeof o&&(o(),c=qt,qt=void 0);try{return X(r,e,i,c)}catch(t){throw ue(t)}}),((t,e)=>{t();const n=qt;qt=void 0;let o=e;"function"==typeof e&&(e(),o=qt,qt=void 0);try{return Y(n,o)}catch(t){throw ue(t)}}),ce,((t,...e)=>{t();const n=qt;qt=void 0;for(let t=0,{length:o}=e;t<o;t+=7)H(n,e[t],oe(e[t+1],e[t+2],e[t+3],e[t+4],e[t+5],e[t+6]))}),(t=>{t();const e=qt;let n;qt=void 0;try{n=function(t){return Ns.get(t)}(e)}catch(t){throw ue(t)}return n?se(n):n}),(t=>{t();const e=qt;qt=void 0;try{if(!V(e))return x(e)||A(e)?0:1}catch(t){try{Z(e)}catch(t){return 8}}return 0}),(t=>{t();const e=qt;qt=void 0;try{const t=I($,e,[]);return"[object Object]"===t?"Object":I(gt,t,[8,-1])}catch(t){throw ue(t)}}),Lt,((e,...n)=>{if(!t)return;const o=I(Q,n,[b]);let s,a;-1===o?s=n:(s=I(tt,n,[0,o]),a=I(tt,n,[o+1])),e();const l=qt;qt=void 0;const u=se(l),f=Rt(u);let p=f;"function"==typeof f&&(f(),p=qt,qt=void 0),void 0===p&&(p={__proto__:null},Wt(u,se(p)));for(let t=0,{length:e}=s;t<e;t+=1){const e=s[t];p[e]=!0,H(l,e,re(l,e,p))}!function(t){if(xt)return;xt=!0;const e=Z(t)&&t.length>0,n=e?(e,n)=>I(J,t,[n])?{configurable:!1,enumerable:I(R,e,[n]),get:Ct(n),set:void 0}:U(e,n):void 0,o=e?(e,n)=>I(J,t,[n])?Ct(n):I(D,e,[n]):void 0,s=e?(e,n)=>I(J,t,[n])?void 0:I(M,e,[n]):void 0,a=t=>{const{length:e}=t,n=2===e;return new i(t,{apply(o,r,i){if(i.length>=e){var c;const t=n?r:i[0],e=n?i[0]:i[1],o=Rt(se(t));let s=o;"function"==typeof o&&(o(),s=qt,qt=void 0),null!=(c=s)&&c[e]&&z(t,e)}return I(t,r,i)}})},l=(t,n)=>new i(t,{apply(o,r,i){if(i.length){var c;const{0:t}=i,o=Rt(se(r));let s=o;if("function"==typeof o&&(o(),s=qt,qt=void 0),null!=(c=s)&&c[t]&&z(r,t),e&&r===kt)return n(r,t)}return I(t,r,i)}}),u=t=>new i(t,{apply(o,r,i){if(i.length>1){var c;const{0:t,1:o}=i,r=Rt(se(t));let s=r;if("function"==typeof r&&(r(),s=qt,qt=void 0),null!=(c=s)&&c[o]&&z(t,o),e&&t===kt)return n(t,o)}return I(t,r,i)}});var f;c.defineProperty=a(H),c.getOwnPropertyDescriptor=u(U),r.getOwnPropertyDescriptor=u(k),r.getOwnPropertyDescriptors=new i(f=N,{apply(t,o,r){if(!r.length)return I(f,o,r);const{0:i}=r,c=Rt(se(i));let s=c;"function"==typeof c&&(c(),s=qt,qt=void 0);const a=i===kt&&e,l=a?{}:I(f,o,r);if(!a&&void 0===s)return l;const u=K(a?i:l);for(let t=0,{length:e}=u;t<e;t+=1){var p;const e=u[t],o=!(null==(p=s)||!p[e]);if(o&&z(i,e),o||a){const t=a?n(i,e):U(i,e);t?l[e]=t:a||delete l[e]}}return l}}),P.__defineGetter__=a(O),P.__defineSetter__=a(L),P.__lookupGetter__=l(D,o),P.__lookupSetter__=l(M,s)}(a)}),(t=>{t();const e=qt;if(qt=void 0,e===P)return!1;try{if("object"==typeof e){const{constructor:n}=e;if(n===r)return!0;if(null===W(e)&&("function"!=typeof n||n.prototype!==e))return!0;if(et(e))return!0;try{return I(nt,e,[]),!0}catch(t){}try{if(e!==ut)return I(yt,e,[]),!0}catch(t){}}return I(j,e,[y])}catch(t){}return!1}),(t=>{t();const e=qt;qt=void 0;try{return Z(e),!1}catch(t){}return!0}),(t=>{t();const e=qt;return qt=void 0,Ft(e)}),((t,e)=>{t();const n=qt;qt=void 0,e();const o=qt;qt=void 0;try{!function(t,e){Ns.set(t,e)}(n,o)}catch(t){throw ue(t)}}),((t,n)=>{t();const o=qt;let r;qt=void 0;try{r=N(o)}catch(t){throw ue(t)}const i=K(r),{length:c}=i,s=new e(7*c);for(let t=0,e=0;t<c;t+=1,e+=7){const n=i[t],o=r[n],c=E({__proto__:null},o),{value:a,get:l,set:u}=c;s[e]=n,s[e+1]="configurable"in c?c.configurable:b,s[e+2]="enumerable"in c?c.enumerable:b,s[e+3]="writable"in c?c.writable:b,s[e+4]="value"in c?"object"==typeof a&&null!==a||"function"==typeof a?se(a):void 0===a?void 0:a:b,s[e+5]="get"in c?"object"==typeof l&&null!==l||"function"==typeof l?se(l):void 0===l?void 0:l:b,s[e+6]="set"in c?"object"==typeof u&&null!==u||"function"==typeof u?se(u):void 0===u?void 0:u:b}let a;I(n,void 0,s);try{a=W(o)}catch(t){throw ue(t)}return a?se(a):a}),((t,e)=>{t();const n=qt;let o;qt=void 0;try{if(I(j,n,[e]))return!0;o=W(n)}catch(t){throw ue(t)}return o?se(o):o}),((t,e,n)=>{t();const o=qt;let r,i;qt=void 0;try{r=U(o,e)}catch(t){throw ue(t)}if(!r){try{i=W(o)}catch(t){throw ue(t)}return i?se(i):i}{const t=E({__proto__:null},r),{value:o,get:i,set:c}=t;n(e,"configurable"in t?t.configurable:b,"enumerable"in t?t.enumerable:b,"writable"in t?t.writable:b,"value"in t?"object"==typeof o&&null!==o||"function"==typeof o?se(o):void 0===o?void 0:o:b,"get"in t?"object"==typeof i&&null!==i||"function"==typeof i?se(i):void 0===i?void 0:i:b,"set"in t?"object"==typeof c&&null!==c||"function"==typeof c?se(c):void 0===c?void 0:c:b)}})),(...t)=>{const{6:e,7:n,8:o,9:r,10:i,11:c,12:s,13:a,14:l,15:u,16:f,17:p,18:d,19:h,20:y,22:m,23:g,24:b,25:v,27:w,28:T,29:E,30:_,31:S,32:k,33:N}=t;st=e,at=n,ft=o,pt=r,dt=i,ht=c,mt=s,bt=a,vt=l,Nt=u,At=f,Pt=p,Dt=d,Mt=h,jt=y,Rt=m,$t=g,It=b,Ht=v,Gt=w,zt=T,Ut=E,Wt=_,Bt=S,Vt=k,Kt=N,ot[0]=Qt(1),ot[1]=te(1),ot[2]=ee(1),ot.n=ne(1),rt[0]=Qt(2),rt[1]=te(2),rt[2]=ee(2),rt.n=ne(2)}}}const As=TypeError,Ps=WeakMap,{apply:Cs}=Reflect,{get:Os,set:Ls}=Ps.prototype,Ds=`\n'use strict';\n(${xs.toString()})`,Ms=new Ps;function js(t){if("function"!=typeof t)throw new As("Missing evaluator function.");let e=Cs(Os,Ms,[t]);return void 0===e&&(e=t(Ds)(!0),Cs(Ls,Ms,[t,e])),e}const Rs=Symbol.for("@@lockerNearMembraneUndefinedValue"),$s=Array,Is=Error,Fs=Object,{push:Hs}=$s.prototype,{assign:Gs}=Fs,{apply:zs,ownKeys:Us}=Reflect;class Ws{constructor(t){if(void 0===t)throw new Is("Missing VirtualEnvironmentOptions options bag.");const{blueConnector:e,redConnector:n,distortionCallback:o,instrumentation:r}=Gs({__proto__:null},t);let i,c;const s=e("blue",!1,((...t)=>{i=t}),{distortionCallback:o,instrumentation:r}),a=n("red",!0,((...t)=>{c=t})),{0:l,1:u,2:f,3:p,4:d,5:h,6:y,7:m,8:g,9:b,10:v,11:w,12:T,13:E,14:_,15:S,16:k,17:N,18:x,19:A,20:P,21:C,22:O,23:L,24:D,25:M,26:j,27:R,28:$,29:I,30:F,31:H,32:G,33:z}=i,{0:U,1:W,2:B,3:V,4:K,5:q,6:X,7:Y,8:Z,9:J,10:Q,11:tt,12:et,13:nt,14:ot,15:rt,16:it,17:ct,18:st,19:at,20:lt,21:ut,22:ft,23:pt,24:dt,25:ht,26:yt,27:mt,28:gt,29:bt,30:vt,31:wt,32:Tt,33:Et}=c;s(U,W,B,V,K,q,X,Y,Z,J,Q,tt,et,nt,ot,rt,it,ct,st,at,lt,ut,ft,pt,dt,ht,yt,mt,gt,bt,vt,wt,Tt,Et),a(l,u,f,p,d,h,y,m,g,b,v,w,T,E,_,S,k,N,x,A,P,C,O,L,D,M,j,R,$,I,F,H,G,z),this.blueConnector=e,this.blueGlobalThisPointer=l,this.blueGetSelectedTarget=u,this.blueGetTransferableValue=f,this.blueCallableGetPropertyValuePointer=p,this.blueCallableLinkPointers=h,this.redConnector=n,this.redGlobalThisPointer=U,this.redCallableGetPropertyValuePointer=V,this.redCallableEvaluate=K,this.redCallableLinkPointers=q,this.redCallableSetPrototypeOf=at,this.redCallableDefineProperties=ut,this.redCallableInstallLazyPropertyDescriptors=yt}evaluate(t){try{const e=this.redCallableEvaluate(t);return"function"==typeof e?(e(),this.blueGetSelectedTarget()):e}catch(t){var e;throw null!=(e=this.blueGetSelectedTarget())?e:t}}lazyRemap(t,e,n){const o=[this.blueGetTransferableValue(t)];zs(Hs,o,e),null!=n&&n.length&&(o[o.length]=Rs,zs(Hs,o,n)),zs(this.redCallableInstallLazyPropertyDescriptors,void 0,o)}link(...t){let e=this.blueGlobalThisPointer,n=this.redGlobalThisPointer;for(let o=0,{length:r}=t;o<r;o+=1){const r=t[o];e=this.blueCallableGetPropertyValuePointer(e,r),n=this.redCallableGetPropertyValuePointer(n,r),this.redCallableLinkPointers(n,e),this.blueCallableLinkPointers(e,n)}}remap(t,e){const n=this.blueGetTransferableValue(t),o=Us(e),{length:r}=o,i=new $s(1+7*r);i[0]=n;for(let t=0,n=1;t<r;t+=1,n+=7){const r=o[t],c=e[r],s=Gs({__proto__:null},c);i[n]=r,i[n+1]="configurable"in s?!!s.configurable:Rs,i[n+2]="enumerable"in s?!!s.enumerable:Rs,i[n+3]="writable"in s?!!s.writable:Rs,i[n+4]="value"in s?this.blueGetTransferableValue(s.value):Rs,i[n+5]="get"in s?this.blueGetTransferableValue(s.get):Rs,i[n+6]="set"in s?this.blueGetTransferableValue(s.set):Rs}zs(this.redCallableDefineProperties,this,i)}remapProto(t,e){const n=this.blueGetTransferableValue(t),o=e?this.blueGetTransferableValue(e):e;this.redCallableSetPrototypeOf(n,o)}}const{includes:Bs}=Array.prototype,{assign:Vs}=Object,{apply:Ks,ownKeys:qs}=Reflect,Xs=["AggregateError","Array","Error","EvalError","Function","Object","Proxy","RangeError","ReferenceError","SyntaxError","TypeError","URIError","eval","globalThis"],Ys=["globalThis","Infinity","NaN","undefined","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","BigInt","Boolean","FinalizationRegistry","Number","RegExp","String","Symbol","WeakRef","JSON","Math","Reflect","escape","unescape",...Xs];function Zs(t){const e=[];let n=0;const o=qs(t);for(let t=0,{length:r}=o;t<r;t+=1){const r=o[t];Ks(Bs,Ys,[r])||(e[n++]=r)}return e}const Js=WeakMap,{apply:Qs,getPrototypeOf:ta,ownKeys:ea}=Reflect,{get:na,set:oa}=Js.prototype,ra=new Js,ia=(()=>{const{navigator:{userAgent:t,userAgentData:e}}=window,n=null==e?void 0:e.brands;if(Array.isArray(n)&&n.length?n.find((t=>"Chromium"===(null==t?void 0:t.brand))):/ (?:Headless)?Chrome\/\d+/.test(t))return["window"]})();function ca(t){let e=Qs(na,ra,[t]);if(e)return e;const{document:n,window:o}=t,r=ta(o),i=ta(r),c=ta(i);return e={document:n,DocumentProto:ta(n),window:o,WindowProto:r,WindowPropertiesProto:i,EventTargetProto:c,EventTargetProtoOwnKeys:ea(c)},Qs(oa,ra,[t,e]),e}function sa(t){const e=[];let n=0;for(let o=0,{length:r}=t;o<r;o+=1){const r=t[o];"document"!==r&&"location "!==r&&"top"!==r&&"window"!==r&&"chrome"!==r&&(e[n++]=r)}return e}ca(window);const aa=Object,la=TypeError,{prototype:ua}=Document,{prototype:fa}=Node,{remove:pa,setAttribute:da}=Element.prototype,{appendChild:ha}=fa,{assign:ya}=aa,{__lookupGetter__:ma}=aa.prototype,{apply:ga}=Reflect,{close:ba,createElement:va,open:wa}=ua,Ta=ga(ma,ua,["body"]),Ea=ga(ma,HTMLElement.prototype,["style"]),_a=ga(ma,HTMLIFrameElement.prototype,["contentWindow"]),Sa=ga(ma,fa,["lastChild"]),ka=document,Na=xs();let xa=null;const Aa={$lockerEvalContext$:{__proto__:null,get:()=>Ma()},$lockerEvalHelpers$:{__proto__:null,get:()=>ja()}},Pa=new RegExp("\\breturn\\s*\\[\\s*([\"'])$LWS\\1\\s*,\\s*([^,\\s]+)\\s*,\\s*([\"'])=\\3\\s*,\\s*([^\\]\\s]+)\\s*\\]","g"),Ca=new ae,Oa={__proto__:null};let La,Da;function Ma(){const t=La;return La=void 0,t}function ja(){const t=Da;return Da=void 0,t}function Ra(t,e,n,o){const r=new ae(e(window)),i=function(t,e,n){if("object"!=typeof t)throw new la("Missing global object shape.");if("object"!=typeof e||null===e)throw new la("Missing global object virtualization target.");const{distortionCallback:o,endowments:r,instrumentation:i,keepAlive:c=!1}=ya({__proto__:null},n),s=function(){const t=ga(va,ka,["iframe"]),e=ga(Ta,ka,[])||ga(Sa,ka,[]);return ga(Ea,t,[]).display="none",ga(da,t,["sandbox","allow-same-origin allow-scripts"]),ga(ha,e,[t]),t}(),a=ga(_a,s,[]),l=null===t;l&&null===xa&&(xa=sa(Zs(a)));const u=ca(e),f=new Ws({blueConnector:Na,distortionCallback:o,redConnector:js(a.eval),instrumentation:i});if(function(t,e){for(let n=0,{length:o}=Xs;n<o;n+=1){const o=Xs[n],r=e[o];r&&(r.prototype?t.link(o,"prototype"):t.link(o))}}(f,e),"undefined"==typeof globalThis?f.link("window","document"):f.link("document"),f.link("__proto__","__proto__","__proto__"),f.remapProto(u.document,u.DocumentProto),f.lazyRemap(u.window,l?xa:sa(Zs(t)),c?void 0:ia),r){const t={};!function(t,e,n=e){if(e){const o=qs(e);for(let e=0,{length:r}=o;e<r;e+=1){const r=o[e];if(!Ks(Bs,Ys,[r])){const e=n[r];e&&(t[r]=Vs({__proto__:null},e))}}}}(t,r),delete(p=t).document,delete p.location,delete p.top,delete p.window,delete p.chrome,f.remap(u.window,t)}var p;if(f.lazyRemap(u.EventTargetProto,u.EventTargetProtoOwnKeys),c){const{document:t}=a;ga(wa,t,[]),ga(ba,t,[])}else ga(pa,s,[]);return f}(null,window,{distortionCallback(t){const n=pe(r,t);if(n)return n;if(mr(t)&&yr(t)){const n=e(t);for(let t=0,{length:e}=n;t<e;t+=1){const{0:e,1:o}=n[t];de(r,e,o)}de(r,t,t)}return t},endowments:O({},Aa,n?L(n):void 0),keepAlive:!1,instrumentation:o}),c={};$a((t=>{O(c,t({elementToLoadingPromiseMap:Ca}))}));const s={distortionFactory:e,distortions:r,env:i,helpers:c};return i.evaluate(`'use strict';\n $lockerEvalContext$(${function(t){const{elementToLoadingPromiseMap:e}=t,n=Promise,o=TypeError,{asyncIterator:r,iterator:i}=Symbol,{[i]:c}=Array.prototype,s=function*(){}.constructor.prototype.prototype,{next:a,throw:l}=s,{delete:u,get:f,set:p}=Map.prototype,{appendChild:d}=Node.prototype,{freeze:h}=Object,{then:y}=n.prototype,m=n.resolve.bind(n),{apply:g,getPrototypeOf:b,setPrototypeOf:v}=Reflect,{get:w,set:T}=WeakMap.prototype,{createElement:E}=Document.prototype,{querySelector:_,setAttribute:S}=Element.prototype,{stopPropagation:k}=Event.prototype,{addEventListener:N}=EventTarget.prototype,x=document,{head:A}=x,P=new Map,C=`${crypto.getRandomValues(new Uint32Array(1))[0]}`;function O(t,e,n,o,r,i,c){let s,a;try{s=g(i,t,[c]),a=s.value}catch(t){return void n(t)}s.done?e(a):m(a).then(o,r)}function L(t,o){const r=new n(((e,n)=>{g(N,t,["load",()=>{e(void 0)}]),g(N,t,["error",t=>{g(k,t,[]),n(`[Locker] resource loader error loading "${o}"`)}])}));return g(T,e,[t,r]),g(d,A,[t]),r}return{asyncToGen:function(t,e,o){return new n(((n,r)=>{const i=g(t,e,o);function c(t){O(i,n,r,c,s,a,t)}function s(t){O(i,n,r,c,s,l,t)}c(void 0)}))},forAwaitOf:function(t,e,c){if(0===e){let e=!1,{[r]:n}=c;if(null==n&&(e=!0,({[i]:n}=c)),"function"!=typeof n)throw new o("Object is not iterable.");return void g(p,P,[t,{iterable:g(n,c,[]),step:void 0,sync:e}])}const s=g(f,P,[t]);if(1===e){const t=s.iterable.next();return s.sync?new n((e=>{s.step=t,e()})):g(y,t,[t=>{s.step=t}])}if(2===e)return s.step.value;if(3===e){const e=!!s.step.done;return e&&g(u,P,[t]),e}},loadScript:function(t,n){let o=g(_,A,[`script[data-distorted-src='${n}'][data-locker-id='${C}']`]);var r;return o?null!=(r=g(w,e,[o]))?r:m():(o=g(E,x,["script"]),g(S,o,["data-locker-id",C]),o.type="text/javascript",o.src=n,L(o,n))},loadStyle:function(t,n){let o=g(_,A,[`link[href='${n}']`]);var r;return o?null!=(r=g(w,e,[o]))?r:m():(o=g(E,x,["link"]),o.type="text/css",o.rel="stylesheet",o.href=n,L(o,n))},namespace:function(t){return h(t)},spreadable:function(t){return v(t,null),t[i]=c,t},super:function(t,e,n,o){const r=b(t.prototype)[e];return g(r,n,o)}}}})`),Oa[t]=s,s}function $a(t){La=t}function Ia(...t){const{context:e,endowments:n,instrumentation:o,key:r,source:i,sourceType:c,verboseInstrumentation:s}=function(t){var e;const{length:n}=t,o=n?t[0]:void 0,r=1===n&&U(o);return O({__proto__:null,context:n>2?t[2]:void 0,endowments:n>3?t[3]:void 0,instrumentation:null!=(e=n>4?t[4]:void 0)?e:Ye,key:r?void 0:o,source:n>1?t[1]:void 0,sourceType:"module",verboseInstrumentation:n>5&&t[5]||!1},r?o:void 0)}(t);if("string"!=typeof r)throw new De("Invalid sandbox key.");const a={sandboxKey:r},l="object"==typeof o&&null!==o&&o.startActivity,u=l("EvaluateInSandboxDuration",a);let f,p=function(t){return Oa[t]}(r);if(void 0===p){const t={__proto__:null,instrumentation:o,sandboxType:_c.External,verboseInstrumentation:s},e=e=>{const n=l("createExternalDistortionEntries",a),o=ks(e,r,Ia,t);return n.stop(),o},i=l("createSandbox",a);p=Ra(r,e,n,s?o:void 0),i.stop()}$a(e),function(t){Da=t}(p.helpers);const d=function(t,e){const{sourceType:n="module"}=O({__proto__:null},e);let o=Ft(t);return"function"==typeof t&&(o=Lt(o,/^[\s\S]+?\{(?:[\t ]*\r?\n)?([\s\S]*?)(?:\r?\n[\t ]*)?\}$/)[1]),o=Dt(o,/\/\/# sandbox(?=MappingURL=.*?\s*$)/,"//# source"),o=Dt(o,Pa,((t,e,n,o,r)=>`${n}=${r}`)),"module"===n&&-1===_e(o,"use strict")?`'use strict';${o}`:o}(i,{sourceType:c}),h=l("externalEvaluatorDuration",a);try{f=p.env.evaluate(d)}catch(t){throw h.error({sandboxKey:r,error:t}),t}finally{Ma(),ja(),h.stop()}return u.stop(),f}const Fa=se("@@lockerDebugMode");if(nt){let e=!0;const n=100,o=5,r=100,i=r/2,c=/^[0-9]$|^[1-9][0-9]+$/,s="display: inline-block; margin-bottom: 3px; margin-left: -3px; word-break: break-all; word-wrap: wrap;",l={style:"margin-left:11px; margin-bottom: 3px;"},f={style:"display: inline-block; margin-left:12px; word-break: break-all; word-wrap: wrap;"},p={style:"color: #9d288c; font-weight: bold"},d={style:"color: #b17ab0"},h={style:"color: #16239f"},y={style:"color: #236d25"},m={style:"color: #606367"},g={style:"color: #b82619"},b=function(t){if(null==t)return["span",m,`${t}`];if("boolean"==typeof t)return["span",h,t];if("number"==typeof t)return wt(t)?["span",h,t]:["span",h,(t>=0?"":"-")+"Infinity"];if("string"==typeof t){let e=t;const{length:n}=e;return n>r&&(e=`${Mt(e,0,i)}…${Mt(e,n-i-1,n)}`),["span",g,je(e)]}return E(t)?["span",{},`Array(${t.length})`]:z(t)?["span",{},"{…}"]:["span",g,Tt(t)]},v=function(e,r={}){const i=[],{isChildElement:s}=r;let a=0;s&&(i[a++]=["span",p,r.childKey],i[a++]=["span",{},": "]);const l=q(e);let u=j(e);if("[object Symbol]"===l)x(u,"description")||function(e,...n){t(T,e,n)}(u,"description");else if("[object String]"===l){const{length:t}=e;u=N(u,(e=>!Xt(c,e)||+e>=t))}const{length:f}=u;if(E(e)){i[a++]=["span",s?m:{},`(${e.length}) [`];for(let t=0,o=He(f,n);t<o;t+=1){const n=e[u[t]];i[a++]=["span",{},t?", ":""],i[a++]=b(n)}return f>n&&(i[a++]=["span",null,["span",{},", …"]]),i[a++]=["span",{},"]"],i}let d,v="{";switch(l){case"[object BigInt]":case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Symbol]":{let t=h;"[object BigInt]"===l?t=y:"[object Symbol]"===l&&(t=g),v=`${Mt(l,8,-1)} {`,d=["span",t,`${Tt(Ue(e))}`];break}}i[a++]=["span",{},v],d&&(i[a++]=d,f&&(i[a++]=["span",{},", "]));for(let t=0,n=He(f,o);t<n;t+=1){const n=u[t],o=e[n];i[a++]=["span",{},t?", ":""],i[a++]=["span",m,n],i[a++]=["span",{},": "],i[a++]=b(o)}return f>o&&(i[a++]=["span",null,["span",{},", …"]]),i[a++]=["span",{},"}"],i},S=function(e){const n=j(e),o=u(e);E(e)||t(w,o,[]);const r=[];let i=0;for(let t=0,{length:c}=o;t<c;t+=1){const c=o[t],s=e[c];if(z(s))r[i++]=["div",{},["object",{object:s,config:{childKey:Tt(c),isChildElement:!0}}]];else{let t=p;"symbol"!=typeof c&&x(n,c)||(t=d),r[i++]=["div",l,["span",t,Tt(c)],["span",{},": "],b(s)]}}return r};let{devtoolsFormatters:k}=window;E(k)||(k=[],a(window,"devtoolsFormatters",{__proto__:null,configurable:!0,value:k,writable:!0})),k[k.length]={header(n,o={}){if(e&&(e=!1,a(window,Fa,{__proto__:null,configurable:!0,value:!0,writable:!0})),!We(n))return null;const r=["div",{style:`${s}${o.isChildElement?"":"font-style: italic;"}`}];return t(_,r,v(n,o)),["div",{},r]},hasBody:()=>!0,body(e){const n=["div",f];return t(_,n,S(e)),n}}}const Ha=globalThis.LWR.define;function Ga(t,e,n,o){const[r,i]=t.split("/");if(o.includes(r)||o.includes(`${r}/*`)||o.includes(`${r}/${i}`))return n;const c=function(t,e,n){let o;return Ia(t,`"use strict";$lockerEvalContext$(${n.toString()});\n//# sourceURL=modules/${e}.js\n`,(t=>{o=t})),o}(r,t,n),s=e.indexOf("exports");return s>=0?function(...t){const e=t.map(((t,e)=>{return e===s&&(n=t,Reflect.defineProperty(n,Symbol.for("@@lockerLiveValue"),{}),n)||t;var n}));return c.apply(this,e)}:c}function za(t){globalThis.LWR=Object.freeze(Object.assign(Object.assign({},globalThis.LWR),{define:function(e,n,o,r){"function"==typeof n&&(r=o,o=n,n=[]),Ha(e,n,Ga(e,n,o,t),r)}}))}export{za as registerLockerDefine};