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