lwc 2.25.1 → 2.26.0
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/dist/engine-dom/esm/es2017/engine-dom.js +885 -411
- package/dist/engine-dom/iife/es2017/engine-dom.js +885 -411
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +731 -205
- package/dist/engine-dom/iife/es5/engine-dom.js +954 -311
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +883 -224
- package/dist/engine-dom/umd/es2017/engine-dom.js +885 -411
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +731 -205
- package/dist/engine-dom/umd/es5/engine-dom.js +954 -311
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +883 -224
- package/dist/engine-server/commonjs/es2017/engine-server.js +133 -227
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +133 -227
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:S,reduce:k,reverse:T,shift:M,slice:x,sort:A,splice:O,unshift:N,forEach:_}=Array.prototype,{fromCharCode:L}=String,{charCodeAt:$,replace:P,slice:D,toLowerCase:R}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function H(e){return!0===e}function B(e){return!1===e}function V(e){return"function"==typeof e}function j(e){return"string"==typeof e}function W(){}const G={}.toString;function K(e){return e&&e.toString?h(e)?v.call(E.call(e,K),","):e.toString():"object"==typeof e?G.call(e):e+""}function U(e,t){do{const n=s(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const z=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:q,AriaPropNameToAttrNameMap:Y}=(()=>{const e=n(null),t=n(null);return _.call(z,(n=>{const r=R.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function X(e){return e in q}const J=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Q="http://www.w3.org/1999/xhtml",Z=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ee=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function te(e,t){const n=ee.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ne=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function re(e){return ne.has(e)}const oe=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),ie=new Map;function se(e){const t=Y[e];if(!I(t))return t;const n=oe.get(e);if(!I(n))return n;const r=ie.get(e);if(!I(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+L(n+32):L(n)}return ie.set(e,o),o}const le={'"':""","'":"'","<":"<",">":">","&":"&"};function ae(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>le[e]))}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const ce={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const ue=J.lwcRuntimeFlags;const de=f(n(null)),fe=f([]);function pe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const he=new WeakMap;const me={observe(e){e()},reset(){},link(){}};function ge(e){return me}function we(e){return`<${R.call(e.tagName)}>`}function ye(e,t){if(!u(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)S.call(t,we(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function be(e,t,n){let r=`[LWC ${e}]: ${t}`;I(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!F(e.owner);)S.call(t,n+we(e)),e=e.owner,n+="\t";return v.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function ve(e,t){be("error",e,t)}function Ee(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Ce(e){return V(e)&&c.call(e,"__circular__")}const Se="undefined"!=typeof HTMLElement?HTMLElement:function(){},ke=Se.prototype;function Te(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Te("offsetHeight")},offsetLeft:{readOnly:!0,error:Te("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Te("offsetTop")},offsetWidth:{readOnly:!0,error:Te("offsetWidth")},role:{attribute:"role"}});let Me,xe=null;function Ae(e,t){return e!==xe||t!==Me}function Oe(e,t){xe=null,Me=void 0}function Ne(e,t){xe=e,Me=t}const _e=n(null);function Le(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}_.call(d(Y),(e=>{const t=U(ke,e);I(t)||(_e[e]=t)})),_.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=U(ke,e);I(t)||(_e[e]=t)}));const{isArray:$e}=Array,{prototype:Pe,getPrototypeOf:De,create:Re,defineProperty:Ie,isExtensible:Fe,getOwnPropertyDescriptor:He,getOwnPropertyNames:Be,getOwnPropertySymbols:Ve,preventExtensions:je,hasOwnProperty:We}=Object,{push:Ge,concat:Ke}=Array.prototype;function Ue(e){return void 0===e}function ze(e){return"function"==typeof e}const qe=new WeakMap;function Ye(e,t){qe.set(e,t)}const Xe=e=>qe.get(e)||e;class Je{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(We.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ue(n)||(e.get=this.wrapGetter(n)),Ue(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=He(n,t);if(!Ue(r)){const n=this.wrapDescriptor(r);Ie(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ke.call(Be(t),Ve(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ue(n)||We.call(e,n)||Ie(e,n,Re(null)),je(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=Ue(n)||We.call(t,n)?[]:[n];return Ge.apply(r,Be(t)),Ge.apply(r,Ve(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Fe(e)&&(!!Fe(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return De(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=He(n,t);if(Ue(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Ie(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Qe=new WeakMap,Ze=new WeakMap,et=new WeakMap,tt=new WeakMap;class nt extends Je{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Qe.get(e);if(!Ue(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Xe(this)))};return Qe.set(e,r),et.set(r,e),r}wrapSetter(e){const t=Ze.get(e);if(!Ue(t))return t;const n=function(t){e.call(Xe(this),Xe(t))};return Ze.set(e,n),tt.set(n,e),n}unwrapDescriptor(e){if(We.call(e,"value"))e.value=Xe(e.value);else{const{set:t,get:n}=e;Ue(n)||(e.get=this.unwrapGetter(n)),Ue(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=et.get(e);if(!Ue(t))return t;const n=this,r=function(){return Xe(e.call(n.wrapValue(this)))};return Qe.set(r,e),et.set(e,r),r}unwrapSetter(e){const t=tt.get(e);if(!Ue(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ze.set(r,e),tt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&$e(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Fe(e)){const{originalTarget:t}=this;if(je(t),Fe(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!We.call(r,t)||(Ie(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const rt=new WeakMap,ot=new WeakMap;class it extends Je{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=rt.get(e);if(!Ue(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Xe(this)))};return rt.set(e,r),r}wrapSetter(e){const t=ot.get(e);if(!Ue(t))return t;const n=function(e){};return ot.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function st(e){if(null===e)return!1;if("object"!=typeof e)return!1;if($e(e))return!0;const t=De(e);return t===Pe||null===t||null===De(t)}const lt=(e,t)=>{},at=(e,t)=>{};function ct(e){return $e(e)?[]:{}}const ut=Symbol.for("@@lockerLiveValue"),dt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ze(t)?t:at,this.valueObserved=ze(n)?n:lt,this.valueIsObservable=ze(r)?r:st,this.tagPropertyKey=o}getProxy(e){const t=Xe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Xe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Xe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ue(t)){const n=new nt(this,e);t=new Proxy(ct(e),n),Ye(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ue(t)){const n=new it(this,e);t=new Proxy(ct(e),n),Ye(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=he.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ut});function ft(e){return dt.getReadOnlyProxy(e)}function pt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!V(n))throw new TypeError;if(!V(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=nr(this);if(!Dn(e))return n.call(e.elm)},set(t){const n=nr(this);return Le(n,e,t),r.call(n.elm,t)}}}const ht=i(n(null)),mt=new WeakMap,gt=function(){if(F(Pn))throw new ReferenceError("Illegal constructor");const e=Pn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return tr(o,e),tr(n,e),1===e.renderMode?e.renderRoot=wt(e):e.renderRoot=n,this};function wt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,tr(s,e),s}gt.prototype={constructor:gt,dispatchEvent(e){const t=nr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=nr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,jn(r,t),n)},removeEventListener(e,t,n){const r=nr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,jn(r,t),n)},hasAttribute(e){const t=nr(this),{elm:n,renderer:{getAttribute:r}}=t;return!F(r(n,e))},hasAttributeNS(e,t){const n=nr(this),{elm:r,renderer:{getAttribute:o}}=n;return!F(o(r,t,e))},removeAttribute(e){const t=nr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ne(n,e),r(n,e),Oe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=nr(this);Ne(n,t),r(n,t,e),Oe()},getAttribute(e){const t=nr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=nr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=nr(this),{elm:r,renderer:{setAttribute:o}}=n;Ne(r,e),o(r,e,t),Oe()},setAttributeNS(e,t,n){const r=nr(this),{elm:o,renderer:{setAttribute:i}}=r;Ne(o,t),i(o,t,n,e),Oe()},getBoundingClientRect(){const e=nr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=nr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=nr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return nr(this).shadowRoot},get refs(){const e=nr(this);if(xn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(F(t))return ht;let s=mt.get(t);if(I(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),mt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=nr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=nr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=nr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=nr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=nr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=nr(this);return e.renderer.getLastElementChild(e.elm)},render(){return nr(this).def.template},toString(){return`[object ${nr(this).def.name}]`}};const yt=n(null),bt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of bt)yt[e]={value(t){const n=nr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(gt.prototype,yt);const vt=n(null);for(const e in _e)vt[e]=pt(e,_e[e]);function Et(e){return{get(){return nr(this).cmpFields[e]},set(t){Le(nr(this),e,t)},enumerable:!0,configurable:!0}}r(gt.prototype,vt),o(gt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ct={observe(e){e()},reset(){},link(){}};function St(e){return{get(){const t=nr(this);if(!Dn(t))return t.cmpProps[e]},set(t){nr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!V(n))throw new Error;return{get(){return n.call(this)},set(t){const n=nr(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];I(o)&&(o=n.oar[e]=Ct),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Tt(e){return{get(){return nr(this).cmpFields[e]},set(t){Le(nr(this),e,t)},enumerable:!0,configurable:!0}}function Mt(e){return{get(){return nr(this).cmpFields[e]},set(t){Le(nr(this),e,t)},enumerable:!0,configurable:!0}}const xt=new Map;const At={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const Ot=new Set;function Nt(){return[]}Ot.add(Nt);const _t=n(null),Lt=n(null);function $t(e){let t=_t[e];return I(t)&&(t=_t[e]=function(){const t=nr(this),{getHook:n}=t;return n(t.component,e)}),t}function Pt(e){let t=Lt[e];return I(t)&&(t=Lt[e]=function(t){const n=nr(this),{setHook:r}=n;t=ft(t),r(n.component,e,t)}),t}function Dt(e){return function(){const t=nr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function Rt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):Ae(this,n)&&(this[i]=o)}}function It(e,t,i){let s;V(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[se(n)]=n,u[n]={get:$t(n),set:Pt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Dt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Rt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Ft=It(Se,l(_e),[]);i(Ft),f(Ft.prototype);const Ht=new WeakMap;function Bt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=xt.get(e);return I(t)?At:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Ce(t)){const e=Ee(t);t=e===t?gt:e}return t}(e),C=E!==gt?jt(E):Wt,S=It(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;I(o)||(A=o);let O=C.renderMode;I(i)||(O="light"===i?0:1);const N=function(e){return Fn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Vt(e){if(!V(e))return!1;if(e.prototype instanceof gt)return!0;let t=e;do{if(Ce(t)){const e=Ee(t);if(e===t)return!0;t=e}if(t===gt)return!0}while(!F(t)&&(t=a(t)));return!1}function jt(e){let t=Ht.get(e);if(I(t)){if(Ce(e)){return t=jt(Ee(e)),Ht.set(e,t),t}if(!Vt(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Bt(e),Ht.set(e,t)}return t}const Wt={ctor:gt,name:gt.name,props:vt,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:Ft,template:Nt,render:gt.prototype.render};function Gt(e){return`${e}-host`}function Kt(e){return Mn.h("style",{key:"style",attrs:{type:"text/css"}},[Mn.t(e)])}function Ut(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))S.apply(r,Ut(s,t,n));else{const e=s.$scoped$;if(ue.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){ve("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(I(o)&&(o=qt(n)),a=F(o)||0===o.shadowMode),S.call(r,s(i,l,a))}}return r}function zt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return I(n)||0===n.length||(o=Ut(n,r,e)),o}function qt(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Yt(e){return!I(rr(e))}function Xt(e){const{type:t}=e;return 2===t||3===t}function Jt(e,t){return e.key===t.key&&e.sel===t.sel}function Qt(e,t){return"input"===e&&("value"===t||"checked"===t)}const Zt=n(null);function en(e){if(null==e)return de;e=j(e)?e:e+"";let t=Zt[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===$.call(e,r)&&(r>o&&(t[D.call(e,o,r)]=!0),o=r+1);return r>o&&(t[D.call(e,o,r)]=!0),Zt[e]=t,t}function tn(e,t,n,r){var o;o=t,gn.has(o)?yn(e,t,n,r):bn(e,t,n,r)}function nn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&dn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?bn(e.children,o,n,r):yn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;pn(e,t,n),tn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);ln(e,n,r,!0),on(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;pn(e,t,r),I(o)||mn(t,o),tn(e.children,t.children,n,r),I(o)||function(e){or(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function rn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);un(s,o,r),fn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);un(s,o,r),fn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);un(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));fn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;sn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=H(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);un(c,i,r),hn(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),pn(null,e,r),fn(c,t,n,r),sn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:on(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function on(e,t,n,r){const{sel:o,owner:i}=e,s=function(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return I(i)?(i=class extends r{constructor(e){super(),V(e)&&e(this)}},ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i.prototype.connectedCallback=function(){Yt(this)&&Jn(this)},i.prototype.disconnectedCallback=function(){Yt(this)&&Qn(this)}),o(e,i),i):i}(o,r);let l;const a=new s((t=>{l=function(e,t,n){let r=rr(e);if(!I(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=er(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(e.elm=a,e.vm=l,un(a,i,r),hn(a,i,r),l)mn(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");pn(null,e,r),fn(a,t,n,r),l&&ir(l),sn(e.children,a,r,null),l&&function(e){or(e)}(l)}function sn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];cn(i)&&rn(i,t,n,r)}}function ln(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?an(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;an(e.children,i,n,t);break}case 3:{const{vm:t}=e;I(t)||function(e){Zn(e)}(t)}}}function an(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];cn(i)&&ln(i,t,n,r)}}function cn(e){return null!=e}function un(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function dn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function fn(e,t,n,r){r.insert(e,t,n)}function pn(e,n,r){F(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(I(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(I(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(I(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=F(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=en(o),c=en(i);let u;for(u in c)I(a[u])&&l.remove(u);for(u in a)I(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((F(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;j(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(I(r))return;const o=F(e)?de:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ne(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?l(i,e):s(i,e,t),Oe())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(I(o)&&I(i))return;let s;if(!F(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;I(s)&&(s=de),I(n)||(s=t({},s,n))}I(i)||(o=t({},o,i));const l=F(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Qt(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function hn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!F(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||I(o)||(e.$shadowToken$=o)}function mn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(F(n))continue;let o="";Xt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];S.call(s,n)}if(B(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Bn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(I(i[r])||o[r].length!==i[r].length)return void Bn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Bn(e)}}}(t,r),e.aChildren=r,e.children=fe)}const gn=new WeakMap;function wn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(cn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function yn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)cn(l)?cn(a)?cn(m)?cn(g)?Jt(l,m)?(nn(l,m,n,r),l=e[++o],m=t[++i]):Jt(a,g)?(nn(a,g,n,r),a=e[--s],g=t[--h]):Jt(l,g)?(nn(l,g,n,r),fn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Jt(a,m)?(nn(a,m,n,r),fn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=wn(e,o,s)),d=u[m.key],I(d)?(rn(m,n,r,l.elm),m=t[++i]):(f=e[d],cn(f)&&(f.sel!==m.sel?rn(m,n,r,l.elm):(nn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,fn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!cn(e)&&o<c);p=cn(e)?e.elm:null,sn(t,n,r,p,i,h+1)}else an(e,n,r,!0,o,s+1)}function bn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void sn(t,n,r,null);if(0===i)return void an(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(cn(i)?cn(l)?(nn(i,l,n,r),s=l.elm):ln(i,n,r,!0):cn(l)&&(rn(l,n,r,s),s=l.elm))}}const vn=Symbol.iterator;function En(e,t,n=fe){const r=On(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return I(i)||pe(r,i,s),s}function Cn(e,t,n,r=fe){const o=On(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){S.call(On().velements,e)}(l),I(s)||pe(o,s,l),l}function Sn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:On()}}function kn(e){var t;return t=e,gn.set(t,1),e}let Tn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Mn=i({s:function(e,t,n,r){I(r)||I(r[e])||0===r[e].length||(n=r[e]);const o=On(),{renderMode:i,shadowMode:s}=o;return 0===i?(kn(n),n):(1===s&&kn(n),En("slot",t,n))},h:En,c:Cn,i:function(e,t){const n=[];if(kn(n),I(e)||null===e)return n;const r=e[vn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];kn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?S.apply(n,t):S.call(n,t)}return n},t:Sn,d:function(e){return null==e?"":String(e)},b:function(e){const t=On();if(F(t))throw new Error;const n=t;return function(t){In(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:On()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!Vt(t))throw new Error(`Invalid LWC Constructor ${K(t)} for custom element <${e}>.`);return Cn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Sn(""),...t,Sn("")],stable:n,owner:On()}},ti:function(e){return e>0&&!(H(e)||B(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:On()}},gid:function(e){const t=On();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=On();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Tn(e)}});let xn=!1,An=null;function On(){return An}function Nn(e){An=e}const _n=(Ln=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=On(),l=!I(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!I(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Ln(p,s),r[c]}});var Ln;function $n(e,t){const r=xn,o=An;let i=[];return ur(e,e.owner,(()=>{An=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(F(l)||cr(e),a=t,!Ot.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${K(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(t))for(let e=0;e<t.length;e++)if(H(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;I(g)||(w&&s(n).remove(Gt(g)),y&&l(n,Gt(g))),I(c)||0===c.length||(p=u),I(p)||(f&&(s(n).add(Gt(p)),h=!0),d&&(a(n,Gt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=zt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return E.call(t,Kt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],xn=!0,i=t.call(void 0,Mn,r,s,o.tplCache);const{styleVNodes:u}=o;F(u)||N.apply(i,u)}))}),(()=>{xn=r,An=o})),i}let Pn=null;function Dn(e){return Pn===e}function Rn(e,t,n){const{component:r,callHook:o,owner:i}=e;ur(e,i,W,(()=>{o(r,t,n)}),W)}function In(e,t,n,r){const{callHook:o,owner:i}=e;ur(e,i,W,(()=>{o(n,t,[r])}),W)}const Fn=new Map;function Hn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=On();let s,l=!1;return ur(e,o,(()=>{Nn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Nn(i)})),l?$n(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Bn(e){e.isDirty=!0}const Vn=new WeakMap;function jn(e,t){if(!V(t))throw new TypeError;let n=Vn.get(t);return I(n)&&(n=function(n){In(e,t,void 0,n)},Vn.set(t,n)),n}const Wn=n(null),Gn=["rendered","connected","disconnected"];function Kn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Un=0;const zn=new WeakMap;function qn(e,t,n=[]){return t.apply(e,n)}function Yn(e,t,n){e[t]=n}function Xn(e,t){return e[t]}function Jn(e){const t=nr(e);1===t.state&&Qn(e),ir(t),or(t)}function Qn(e){Zn(nr(e))}function Zn(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){B(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Wn;t&&Kn(e,t);sr(e)&&function(e){const{wiredDisconnecting:t}=e.context;ur(e,e,W,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),W)}(e);const{disconnectedCallback:n}=e.def;I(n)||Rn(e,n)}(e),lr(e),function(e){const{aChildren:t}=e;ar(t)}(e)}}function er(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=jt(t),u={elm:e,def:c,idx:Un++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:qn,setHook:Yn,getHook:Xn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!F(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=F(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ge(),function(e,t){const n=Pn;let r;Pn=e;try{const o=new t;if(Pn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Pn=n,!I(r))throw ye(e,r),r}}(u,c.ctor),sr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=dr.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=pr(e,t,s),a=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function tr(e,t){zn.set(e,t)}function nr(e){return zn.get(e)}function rr(e){return zn.get(e)}function or(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ur(e,e,(()=>{}),(()=>{tn(r,t,n,o)}),(()=>{}));e.state}(e,Hn(e))}}function ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Wn;n&&Kn(e,n),sr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;I(r)||Rn(e,r)}function sr(e){return l(e.def.wire).length>0}function lr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!I(n)){const e=rr(n);I(e)||Zn(e)}}}function ar(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:ar(n.children);break;case 3:Zn(nr(n.elm));break}}}function cr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||r(o.elm,n)}e.children=fe,lr(e),e.velements=fe}function ur(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!I(i)){ye(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;cr(e);Rn(n,n.def.errorCallback,[i,i.wcStack])}}}const dr=new Map;class fr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function pr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=I(r)?function(e,t){return n=>{Le(e,t,n)}}(e,t):function(e,t){return n=>{ur(e,e.owner,W,(()=>{t.call(e.component,n)}),W)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),ur(e,e,W,(()=>{u=new i(a)}),W);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ge();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{ur(e,e,W,(()=>{u.update(t,c)}),W)}));return I(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=mr(r);if(I(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;S.call(s,(()=>{const e=new fr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const hr=new Map;function mr(e){return hr.get(e)}function gr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};dr.set(e,o)}function wr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};dr.set(e,o)}let yr=!1;const br=Symbol("namespace"),vr=Symbol("type"),Er=Symbol("parent"),Cr=Symbol("shadow-root"),Sr=Symbol("children"),kr=Symbol("attributes"),Tr=Symbol("event-listeners"),Mr=Symbol("value");var xr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(xr||(xr={}));const Ar=/\s+/g;function Or(e){return new Set(e.split(Ar).filter((e=>e.length)))}function Nr(e){return Array.from(e).join(" ")}function _r(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Lr(e,t){return{[vr]:xr.Element,tagName:e,[br]:null!=t?t:Q,[Er]:null,[Cr]:null,[Sr]:[],[kr]:[],[Tr]:{}}}const $r=n(null),Pr=new WeakMap;function Dr(e,t,n=null){const r=e[kr].find((e=>e.name===t&&e[br]===n));return r?r.value:null}function Rr(e,t,n,r=null){const o=e[kr].find((e=>e.name===t&&e[br]===r));I(r)&&(r=null),I(o)?e[kr].push({name:t,[br]:r,value:String(n)}):o.value=n}function Ir(e,t,n){e[kr]=e[kr].filter((e=>e.name!==t&&e[br]!==n))}const Fr=W,Hr=W,Br=W,Vr=_r("dispatchEvent"),jr=_r("getBoundingClientRect"),Wr=_r("querySelector"),Gr=_r("querySelectorAll"),Kr=_r("getElementsByTagName"),Ur=_r("getElementsByClassName"),zr=_r("getChildren"),qr=_r("getChildNodes"),Yr=_r("getFirstChild"),Xr=_r("getFirstElementChild"),Jr=_r("getLastChild"),Qr=_r("getLastElementChild");const Zr={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,HTMLElementExported:class{constructor(){const{constructor:e}=this,t=Pr.get(e);if(!t)throw new TypeError("Invalid Construction");return Lr(t)}},insert:function(e,t,n){const r=e[Er];if(null!==r&&r!==t){const t=r[Sr].indexOf(e);r[Sr].splice(t,1)}e[Er]=t;const o=F(n)?-1:t[Sr].indexOf(n);-1===o?t[Sr].push(e):t[Sr].splice(o,0,e)},remove:function(e,t){const n=t[Sr].indexOf(e);t[Sr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[vr]:xr.Raw,[Er]:null,[Mr]:e}},createElement:Lr,createText:function(e){return{[vr]:xr.Text,[Mr]:String(e),[Er]:null}},createComment:function(e){return{[vr]:xr.Comment,[Mr]:e,[Er]:null}},nextSibling:function(e){const t=e[Er];if(F(t))return null;const n=t[Sr].indexOf(e);return t[Sr][n+1]||null},attachShadow:function(e,t){return e[Cr]={[vr]:xr.ShadowRoot,[Sr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Cr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[vr]===xr.Element){const o=se(t);if(te(o,e.tagName))return null!==(n=Dr(e,o))&&void 0!==n&&n;if(re(o)||X(o))return Dr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Dr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[vr]===xr.Element){const r=se(t);if("innerHTML"===t)return void(e[Sr]=[{[vr]:xr.Raw,[Er]:e,[Mr]:n}]);if(te(r,e.tagName))return!0===n?Rr(e,r,""):Ir(e,r);if(re(r)||X(r))return Rr(e,r,n);if("input"===e.tagName&&"value"===r)return F(n)||I(n)?Ir(e,"value"):Rr(e,"value",n)}},setText:function(e,t){e[vr]===xr.Text?e[Mr]=t:e[vr]===xr.Element&&(e[Sr]=[{[vr]:xr.Text,[Er]:e,[Mr]:t}])},getAttribute:Dr,setAttribute:Rr,removeAttribute:Ir,addEventListener:Hr,removeEventListener:Br,dispatchEvent:Vr,getClassList:function(e){function t(){let t=e[kr].find((e=>"class"===e.name&&F(e[br])));return I(t)&&(t={name:"class",[br]:null,value:""},e[kr].push(t)),t}return{add(...e){const n=t(),r=Or(n.value);e.forEach((e=>r.add(e))),n.value=Nr(r)},remove(...e){const n=t(),r=Or(n.value);e.forEach((e=>r.delete(e))),n.value=Nr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[kr].find((e=>"style"===e.name&&F(e[br]))),i=`${t}: ${n}${r?" !important":""}`;I(o)?e[kr].push({name:"style",[br]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:jr,querySelector:Wr,querySelectorAll:Gr,getElementsByTagName:Kr,getElementsByClassName:Ur,getChildren:zr,getChildNodes:qr,getFirstChild:Yr,getFirstElementChild:Xr,getLastChild:Jr,getLastElementChild:Qr,isConnected:function(e){return!F(e[Er])},insertStylesheet:Fr,assertInstanceOfHTMLElement:W,defineCustomElement:function(e,t,n){!function(e,t){if(e!==R.call(e)||$r[e])throw new TypeError("Invalid Registration");$r[e]=t,Pr.set(t,e)}(e,t)},getCustomElement:function(e){return $r[e]}};function eo(e){return e.map((e=>{switch(e[vr]){case xr.Text:return""===e[Mr]?"":ae(e[Mr]);case xr.Comment:return`\x3c!--${ae(e[Mr])}--\x3e`;case xr.Raw:return e[Mr];case xr.Element:return to(e)}})).join("")}function to(e){let t="";const n=e.tagName,r=e[br],o=r!==Q,i=e[Sr].length>0;var s;return t+=`<${n}${e[kr].length?` ${s=e[kr],s.map((e=>e.value.length?`${e.name}="${ae(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Cr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${eo(e[Sr])}</template>`}(e[Cr])),t+=eo(e[Sr]),function(e,t){return t===Q&&Z.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const no={[vr]:xr.Element,tagName:"fake-root-element",[br]:Q,[Er]:null,[Cr]:null,[Sr]:[],[kr]:[],[Tr]:{}};i(gt),f(gt.prototype),exports.LightningElement=gt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=mr(e);if(!I(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){hr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{I(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=jt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:se(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Vt,exports.parseFragment=_n,exports.parseSVGFragment=_n,exports.readonly=function(e){return ft(e)},exports.register=function(e){for(let t=0;t<Gn.length;++t){const n=Gn[t];if(n in e){let t=Wn[n];I(t)&&(Wn[n]=t=[]),S.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return V(e)&&Fn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!I(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(I(w))throw new Error;w=kt(e,w)}else w=I(w)||I(w.get)?St(e):kt(e,w);f[e]=w,o(r,e,w)}if(I(l)||_.call(l,(e=>{if(w=s(r,e),I(w))throw new Error;d[e]=w})),!I(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(I(w))throw new Error;p[e]=w,gr(w,t,i,l)}else w=Mt(e),h[e]=w,wr(w,t,i,l),o(r,e,w)}if(!I(c))for(const e in c)w=s(r,e),w=Tt(e),o(r,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!I(i)&&t in i,o=!I(c)&&t in c;n||o||(m[t]=Et(t))}return function(e,t){xt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Ot.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!j(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!V(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||F(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Zr.createElement(e);er(r,t,Zr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Er]=no,Jn(r),to(r)},exports.renderer=Zr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ce[e])){const n=d(ce).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!I(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(yr,"Hooks are already overridden, only one definition is allowed."),yr=!0,n=t.sanitizeHtmlContent,Tn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:S,reduce:k,reverse:T,shift:M,slice:x,sort:A,splice:O,unshift:N,forEach:_}=Array.prototype,{fromCharCode:L}=String,{charCodeAt:$,replace:P,slice:D,toLowerCase:R}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function H(e){return!0===e}function B(e){return!1===e}function V(e){return"function"==typeof e}function j(e){return"string"==typeof e}function W(){}const G={}.toString;function U(e){return e&&e.toString?h(e)?v.call(E.call(e,U),","):e.toString():"object"==typeof e?G.call(e):e+""}function K(e,t){do{const n=s(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const z=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:q,AriaPropNameToAttrNameMap:Y}=(()=>{const e=n(null),t=n(null);return _.call(z,(n=>{const r=R.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function X(e){return e in q}const J=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Q="http://www.w3.org/1999/xhtml",Z=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ee=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function te(e,t){const n=ee.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ne=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function re(e){return ne.has(e)}const oe=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),ie=new Map;function se(e){const t=Y[e];if(!I(t))return t;const n=oe.get(e);if(!I(n))return n;const r=ie.get(e);if(!I(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+L(n+32):L(n)}return ie.set(e,o),o}const le={'"':""","'":"'","<":"<",">":">","&":"&"};function ae(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>le[e]))}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const ce={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const ue=J.lwcRuntimeFlags;const de=f(n(null)),fe=f([]);function pe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const he=new WeakMap;const me={observe(e){e()},reset(){},link(){}};function ge(e){return me}function we(e){return`<${R.call(e.tagName)}>`}function ye(e,t){if(!u(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)S.call(t,we(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function be(e,t,n){let r=`[LWC ${e}]: ${t}`;I(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!F(e.owner);)S.call(t,n+we(e)),e=e.owner,n+="\t";return v.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function ve(e,t){be("error",e,t)}function Ee(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Ce(e){return V(e)&&c.call(e,"__circular__")}const Se="undefined"!=typeof HTMLElement?HTMLElement:function(){},ke=Se.prototype;function Te(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Te("offsetHeight")},offsetLeft:{readOnly:!0,error:Te("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Te("offsetTop")},offsetWidth:{readOnly:!0,error:Te("offsetWidth")},role:{attribute:"role"}});let Me,xe=null;function Ae(e,t){return e!==xe||t!==Me}function Oe(e,t){xe=null,Me=void 0}function Ne(e,t){xe=e,Me=t}const _e=n(null);function Le(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}_.call(d(Y),(e=>{const t=K(ke,e);I(t)||(_e[e]=t)})),_.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=K(ke,e);I(t)||(_e[e]=t)}));const{isArray:$e}=Array,{prototype:Pe,getPrototypeOf:De,create:Re,defineProperty:Ie,isExtensible:Fe,getOwnPropertyDescriptor:He,getOwnPropertyNames:Be,getOwnPropertySymbols:Ve,preventExtensions:je,hasOwnProperty:We}=Object,{push:Ge,concat:Ue}=Array.prototype;function Ke(e){return void 0===e}function ze(e){return"function"==typeof e}const qe=new WeakMap;function Ye(e,t){qe.set(e,t)}const Xe=e=>qe.get(e)||e;class Je{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(We.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ke(n)||(e.get=this.wrapGetter(n)),Ke(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=He(n,t);if(!Ke(r)){const n=this.wrapDescriptor(r);Ie(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ue.call(Be(t),Ve(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ke(n)||We.call(e,n)||Ie(e,n,Re(null)),je(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=Ke(n)||We.call(t,n)?[]:[n];return Ge.apply(r,Be(t)),Ge.apply(r,Ve(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Fe(e)&&(!!Fe(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return De(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=He(n,t);if(Ke(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Ie(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Qe=new WeakMap,Ze=new WeakMap,et=new WeakMap,tt=new WeakMap;class nt extends Je{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Qe.get(e);if(!Ke(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Xe(this)))};return Qe.set(e,r),et.set(r,e),r}wrapSetter(e){const t=Ze.get(e);if(!Ke(t))return t;const n=function(t){e.call(Xe(this),Xe(t))};return Ze.set(e,n),tt.set(n,e),n}unwrapDescriptor(e){if(We.call(e,"value"))e.value=Xe(e.value);else{const{set:t,get:n}=e;Ke(n)||(e.get=this.unwrapGetter(n)),Ke(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=et.get(e);if(!Ke(t))return t;const n=this,r=function(){return Xe(e.call(n.wrapValue(this)))};return Qe.set(r,e),et.set(e,r),r}unwrapSetter(e){const t=tt.get(e);if(!Ke(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ze.set(r,e),tt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&$e(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Fe(e)){const{originalTarget:t}=this;if(je(t),Fe(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!We.call(r,t)||(Ie(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const rt=new WeakMap,ot=new WeakMap;class it extends Je{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=rt.get(e);if(!Ke(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Xe(this)))};return rt.set(e,r),r}wrapSetter(e){const t=ot.get(e);if(!Ke(t))return t;const n=function(e){};return ot.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function st(e){if(null===e)return!1;if("object"!=typeof e)return!1;if($e(e))return!0;const t=De(e);return t===Pe||null===t||null===De(t)}const lt=(e,t)=>{},at=(e,t)=>{};function ct(e){return $e(e)?[]:{}}const ut=Symbol.for("@@lockerLiveValue"),dt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ze(t)?t:at,this.valueObserved=ze(n)?n:lt,this.valueIsObservable=ze(r)?r:st,this.tagPropertyKey=o}getProxy(e){const t=Xe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Xe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Xe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ke(t)){const n=new nt(this,e);t=new Proxy(ct(e),n),Ye(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ke(t)){const n=new it(this,e);t=new Proxy(ct(e),n),Ye(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=he.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ut});function ft(e){return dt.getReadOnlyProxy(e)}function pt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!V(n))throw new TypeError;if(!V(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=tr(this);if(!Pn(e))return n.call(e.elm)},set(t){const n=tr(this);return Le(n,e,t),r.call(n.elm,t)}}}const ht=i(n(null)),mt=new WeakMap,gt=function(){if(F($n))throw new TypeError("Illegal constructor");const e=$n,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return er(o,e),er(n,e),1===e.renderMode?e.renderRoot=wt(e):e.renderRoot=n,this};function wt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,er(s,e),s}gt.prototype={constructor:gt,dispatchEvent(e){const t=tr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=tr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Vn(r,t),n)},removeEventListener(e,t,n){const r=tr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Vn(r,t),n)},hasAttribute(e){const t=tr(this),{elm:n,renderer:{getAttribute:r}}=t;return!F(r(n,e))},hasAttributeNS(e,t){const n=tr(this),{elm:r,renderer:{getAttribute:o}}=n;return!F(o(r,t,e))},removeAttribute(e){const t=tr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ne(n,e),r(n,e),Oe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=tr(this);Ne(n,t),r(n,t,e),Oe()},getAttribute(e){const t=tr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=tr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=tr(this),{elm:r,renderer:{setAttribute:o}}=n;Ne(r,e),o(r,e,t),Oe()},setAttributeNS(e,t,n){const r=tr(this),{elm:o,renderer:{setAttribute:i}}=r;Ne(o,t),i(o,t,n,e),Oe()},getBoundingClientRect(){const e=tr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=tr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=tr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return tr(this).shadowRoot},get refs(){const e=tr(this);if(Mn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(F(t))return ht;let s=mt.get(t);if(I(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),mt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=tr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=tr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=tr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=tr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=tr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=tr(this);return e.renderer.getLastElementChild(e.elm)},render(){return tr(this).def.template},toString(){return`[object ${tr(this).def.name}]`}};const yt=n(null),bt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of bt)yt[e]={value(t){const n=tr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(gt.prototype,yt);const vt=n(null);for(const e in _e)vt[e]=pt(e,_e[e]);function Et(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}r(gt.prototype,vt),o(gt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ct={observe(e){e()},reset(){},link(){}};function St(e){return{get(){const t=tr(this);if(!Pn(t))return t.cmpProps[e]},set(t){tr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!V(n))throw new Error;return{get(){return n.call(this)},set(t){const n=tr(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];I(o)&&(o=n.oar[e]=Ct),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Tt(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}function Mt(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}const xt=new Map;const At={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const Ot=new Set;function Nt(){return[]}Ot.add(Nt);const _t=n(null),Lt=n(null);function $t(e){let t=_t[e];return I(t)&&(t=_t[e]=function(){const t=tr(this),{getHook:n}=t;return n(t.component,e)}),t}function Pt(e){let t=Lt[e];return I(t)&&(t=Lt[e]=function(t){const n=tr(this),{setHook:r}=n;t=ft(t),r(n.component,e,t)}),t}function Dt(e){return function(){const t=tr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function Rt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):Ae(this,n)&&(this[i]=o)}}function It(e,t,i){let s;V(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[se(n)]=n,u[n]={get:$t(n),set:Pt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Dt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Rt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Ft=It(Se,l(_e),[]);i(Ft),f(Ft.prototype);const Ht=new WeakMap;function Bt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=xt.get(e);return I(t)?At:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Ce(t)){const e=Ee(t);t=e===t?gt:e}return t}(e),C=E!==gt?jt(E):Wt,S=It(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;I(o)||(A=o);let O=C.renderMode;I(i)||(O="light"===i?0:1);const N=function(e){return In.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Vt(e){if(!V(e))return!1;if(e.prototype instanceof gt)return!0;let t=e;do{if(Ce(t)){const e=Ee(t);if(e===t)return!0;t=e}if(t===gt)return!0}while(!F(t)&&(t=a(t)));return!1}function jt(e){let t=Ht.get(e);if(I(t)){if(Ce(e)){return t=jt(Ee(e)),Ht.set(e,t),t}if(!Vt(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Bt(e),Ht.set(e,t)}return t}const Wt={ctor:gt,name:gt.name,props:vt,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:Ft,template:Nt,render:gt.prototype.render};function Gt(e){return`${e}-host`}function Ut(e){return Tn.h("style",{key:"style",attrs:{type:"text/css"}},[Tn.t(e)])}function Kt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))S.apply(r,Kt(s,t,n));else{const e=s.$scoped$;if(ue.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){ve("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(I(o)&&(o=qt(n)),a=F(o)||0===o.shadowMode),S.call(r,s(i,l,a))}}return r}function zt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return I(n)||0===n.length||(o=Kt(n,r,e)),o}function qt(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Yt(e){const{type:t}=e;return 2===t||3===t}function Xt(e,t){return e.key===t.key&&e.sel===t.sel}function Jt(e,t){return"input"===e&&("value"===t||"checked"===t)}const Qt=n(null);function Zt(e){if(null==e)return de;e=j(e)?e:e+"";let t=Qt[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===$.call(e,r)&&(r>o&&(t[D.call(e,o,r)]=!0),o=r+1);return r>o&&(t[D.call(e,o,r)]=!0),Qt[e]=t,t}function en(e,t,n,r){var o;o=t,mn.has(o)?wn(e,t,n,r):yn(e,t,n,r)}function tn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&un(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?yn(e.children,o,n,r):wn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;fn(e,t,n),en(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);sn(e,n,r,!0),rn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;fn(e,t,r),I(o)||hn(t,o),en(e.children,t.children,n,r),I(o)||function(e){rr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function nn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);cn(s,o,r),dn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);cn(s,o,r),dn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);cn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));dn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;on(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=H(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);cn(c,i,r),pn(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),fn(null,e,r),dn(c,t,n,r),on(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:rn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function rn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o,(t=>{l=function(e,t,n){let r=nr(e);if(!I(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Zn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Xn(e)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Jn(e)}));e.elm=a,e.vm=l,cn(a,i,r),pn(a,i,r),l&&hn(e,l),fn(null,e,r),dn(a,t,n,r),l&&or(l),on(e.children,a,r,null),l&&function(e){rr(e)}(l)}function on(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];an(i)&&nn(i,t,n,r)}}function sn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?ln(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;ln(e.children,i,n,t);break}case 3:{const{vm:t}=e;I(t)||function(e){Qn(e)}(t)}}}function ln(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];an(i)&&sn(i,t,n,r)}}function an(e){return null!=e}function cn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function un(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function dn(e,t,n,r){r.insert(e,t,n)}function fn(e,n,r){F(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(I(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(I(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(I(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=F(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=Zt(o),c=Zt(i);let u;for(u in c)I(a[u])&&l.remove(u);for(u in a)I(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((F(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;j(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(I(r))return;const o=F(e)?de:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ne(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?l(i,e):s(i,e,t),Oe())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(I(o)&&I(i))return;let s;if(!F(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;I(s)&&(s=de),I(n)||(s=t({},s,n))}I(i)||(o=t({},o,i));const l=F(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Jt(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function pn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!F(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||I(o)||(e.$shadowToken$=o)}function hn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(F(n))continue;let o="";Yt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];S.call(s,n)}if(B(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Hn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(I(i[r])||o[r].length!==i[r].length)return void Hn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Hn(e)}}}(t,r),e.aChildren=r,e.children=fe)}const mn=new WeakMap;function gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(an(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function wn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)an(l)?an(a)?an(m)?an(g)?Xt(l,m)?(tn(l,m,n,r),l=e[++o],m=t[++i]):Xt(a,g)?(tn(a,g,n,r),a=e[--s],g=t[--h]):Xt(l,g)?(tn(l,g,n,r),dn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Xt(a,m)?(tn(a,m,n,r),dn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=gn(e,o,s)),d=u[m.key],I(d)?(nn(m,n,r,l.elm),m=t[++i]):(f=e[d],an(f)&&(f.sel!==m.sel?nn(m,n,r,l.elm):(tn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,dn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!an(e)&&o<c);p=an(e)?e.elm:null,on(t,n,r,p,i,h+1)}else ln(e,n,r,!0,o,s+1)}function yn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void on(t,n,r,null);if(0===i)return void ln(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(an(i)?an(l)?(tn(i,l,n,r),s=l.elm):sn(i,n,r,!0):an(l)&&(nn(l,n,r,s),s=l.elm))}}const bn=Symbol.iterator;function vn(e,t,n=fe){const r=An(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return I(i)||pe(r,i,s),s}function En(e,t,n,r=fe){const o=An(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){S.call(An().velements,e)}(l),I(s)||pe(o,s,l),l}function Cn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:An()}}function Sn(e){var t;return t=e,mn.set(t,1),e}let kn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Tn=i({s:function(e,t,n,r){I(r)||I(r[e])||0===r[e].length||(n=r[e]);const o=An(),{renderMode:i,shadowMode:s}=o;return 0===i?(Sn(n),n):(1===s&&Sn(n),vn("slot",t,n))},h:vn,c:En,i:function(e,t){const n=[];if(Sn(n),I(e)||null===e)return n;const r=e[bn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Sn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?S.apply(n,t):S.call(n,t)}return n},t:Cn,d:function(e){return null==e?"":String(e)},b:function(e){const t=An();if(F(t))throw new Error;const n=t;return function(t){Rn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:An()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!Vt(t))throw new Error(`Invalid LWC Constructor ${U(t)} for custom element <${e}>.`);return En(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Cn(""),...t,Cn("")],stable:n,owner:An()}},ti:function(e){return e>0&&!(H(e)||B(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:An()}},gid:function(e){const t=An();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=An();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return kn(e)}});let Mn=!1,xn=null;function An(){return xn}function On(e){xn=e}const Nn=(_n=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=An(),l=!I(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!I(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=_n(p,s),r[c]}});var _n;function Ln(e,t){const r=Mn,o=xn;let i=[];return cr(e,e.owner,(()=>{xn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(F(l)||ar(e),a=t,!Ot.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${U(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(t))for(let e=0;e<t.length;e++)if(H(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;I(g)||(w&&s(n).remove(Gt(g)),y&&l(n,Gt(g))),I(c)||0===c.length||(p=u),I(p)||(f&&(s(n).add(Gt(p)),h=!0),d&&(a(n,Gt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=zt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return E.call(t,Ut);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],Mn=!0,i=t.call(void 0,Tn,r,s,o.tplCache);const{styleVNodes:u}=o;F(u)||N.apply(i,u)}))}),(()=>{Mn=r,xn=o})),i}let $n=null;function Pn(e){return $n===e}function Dn(e,t,n){const{component:r,callHook:o,owner:i}=e;cr(e,i,W,(()=>{o(r,t,n)}),W)}function Rn(e,t,n,r){const{callHook:o,owner:i}=e;cr(e,i,W,(()=>{o(n,t,[r])}),W)}const In=new Map;function Fn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=An();let s,l=!1;return cr(e,o,(()=>{On(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{On(i)})),l?Ln(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Hn(e){e.isDirty=!0}const Bn=new WeakMap;function Vn(e,t){if(!V(t))throw new TypeError;let n=Bn.get(t);return I(n)&&(n=function(n){Rn(e,t,void 0,n)},Bn.set(t,n)),n}const jn=n(null),Wn=["rendered","connected","disconnected"];function Gn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Un=0;const Kn=new WeakMap;function zn(e,t,n=[]){return t.apply(e,n)}function qn(e,t,n){e[t]=n}function Yn(e,t){return e[t]}function Xn(e){const t=tr(e);1===t.state&&Jn(e),or(t),rr(t)}function Jn(e){Qn(tr(e))}function Qn(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){B(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=jn;t&&Gn(e,t);ir(e)&&function(e){const{wiredDisconnecting:t}=e.context;cr(e,e,W,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),W)}(e);const{disconnectedCallback:n}=e.def;I(n)||Dn(e,n)}(e),sr(e),function(e){const{aChildren:t}=e;lr(t)}(e)}}function Zn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=jt(t),u={elm:e,def:c,idx:Un++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:zn,setHook:qn,getHook:Yn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!F(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=F(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ge(),function(e,t){const n=$n;let r;$n=e;try{const o=new t;if($n.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if($n=n,!I(r))throw ye(e,r),r}}(u,c.ctor),ir(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=ur.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=fr(e,t,s),a=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function er(e,t){Kn.set(e,t)}function tr(e){return Kn.get(e)}function nr(e){return Kn.get(e)}function rr(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&cr(e,e,(()=>{}),(()=>{en(r,t,n,o)}),(()=>{}));e.state}(e,Fn(e))}}function or(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=jn;n&&Gn(e,n),ir(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;I(r)||Dn(e,r)}function ir(e){return l(e.def.wire).length>0}function sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!I(n)){const e=nr(n);I(e)||Qn(e)}}}function lr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:lr(n.children);break;case 3:Qn(tr(n.elm));break}}}function ar(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||r(o.elm,n)}e.children=fe,sr(e),e.velements=fe}function cr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!I(i)){ye(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;ar(e);Dn(n,n.def.errorCallback,[i,i.wcStack])}}}const ur=new Map;class dr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function fr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=I(r)?function(e,t){return n=>{Le(e,t,n)}}(e,t):function(e,t){return n=>{cr(e,e.owner,W,(()=>{t.call(e.component,n)}),W)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),cr(e,e,W,(()=>{u=new i(a)}),W);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ge();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{cr(e,e,W,(()=>{u.update(t,c)}),W)}));return I(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=hr(r);if(I(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;S.call(s,(()=>{const e=new dr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const pr=new Map;function hr(e){return pr.get(e)}function mr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};ur.set(e,o)}function gr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};ur.set(e,o)}let wr=!1;const yr=Symbol("namespace"),br=Symbol("type"),vr=Symbol("parent"),Er=Symbol("shadow-root"),Cr=Symbol("children"),Sr=Symbol("attributes"),kr=Symbol("event-listeners"),Tr=Symbol("value");var Mr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Mr||(Mr={}));const xr=/\s+/g;function Ar(e){return new Set(e.split(xr).filter((e=>e.length)))}function Or(e){return Array.from(e).join(" ")}function Nr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function _r(e,t){return{[br]:Mr.Element,tagName:e,[yr]:null!=t?t:Q,[vr]:null,[Er]:null,[Cr]:[],[Sr]:[],[kr]:{}}}function Lr(e,t,n=null){const r=e[Sr].find((e=>e.name===t&&e[yr]===n));return r?r.value:null}function $r(e,t,n,r=null){const o=e[Sr].find((e=>e.name===t&&e[yr]===r));I(r)&&(r=null),I(o)?e[Sr].push({name:t,[yr]:r,value:String(n)}):o.value=n}function Pr(e,t,n){e[Sr]=e[Sr].filter((e=>e.name!==t&&e[yr]!==n))}const Dr=W,Rr=W,Ir=W,Fr=Nr("dispatchEvent"),Hr=Nr("getBoundingClientRect"),Br=Nr("querySelector"),Vr=Nr("querySelectorAll"),jr=Nr("getElementsByTagName"),Wr=Nr("getElementsByClassName"),Gr=Nr("getChildren"),Ur=Nr("getChildNodes"),Kr=Nr("getFirstChild"),zr=Nr("getFirstElementChild"),qr=Nr("getLastChild"),Yr=Nr("getLastElementChild"),Xr=W,Jr=new Map;function Qr(e){let t=Jr.get(e);return I(t)?(t=function(e){return function(t){const n=_r(e);return V(t)&&t(n),n}}(e),Jr.set(e,t),t):t}const Zr={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[vr];if(null!==r&&r!==t){const t=r[Cr].indexOf(e);r[Cr].splice(t,1)}e[vr]=t;const o=F(n)?-1:t[Cr].indexOf(n);-1===o?t[Cr].push(e):t[Cr].splice(o,0,e)},remove:function(e,t){const n=t[Cr].indexOf(e);t[Cr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[br]:Mr.Raw,[vr]:null,[Tr]:e}},createElement:_r,createText:function(e){return{[br]:Mr.Text,[Tr]:String(e),[vr]:null}},createComment:function(e){return{[br]:Mr.Comment,[Tr]:e,[vr]:null}},createCustomElement:function(e,t){return new(Qr(e))(t)},nextSibling:function(e){const t=e[vr];if(F(t))return null;const n=t[Cr].indexOf(e);return t[Cr][n+1]||null},attachShadow:function(e,t){return e[Er]={[br]:Mr.ShadowRoot,[Cr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Er]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[br]===Mr.Element){const o=se(t);if(te(o,e.tagName))return null!==(n=Lr(e,o))&&void 0!==n&&n;if(re(o)||X(o))return Lr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Lr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[br]===Mr.Element){const r=se(t);if("innerHTML"===t)return void(e[Cr]=[{[br]:Mr.Raw,[vr]:e,[Tr]:n}]);if(te(r,e.tagName))return!0===n?$r(e,r,""):Pr(e,r);if(re(r)||X(r))return $r(e,r,n);if("input"===e.tagName&&"value"===r)return F(n)||I(n)?Pr(e,"value"):$r(e,"value",n)}},setText:function(e,t){e[br]===Mr.Text?e[Tr]=t:e[br]===Mr.Element&&(e[Cr]=[{[br]:Mr.Text,[vr]:e,[Tr]:t}])},getAttribute:Lr,setAttribute:$r,removeAttribute:Pr,addEventListener:Rr,removeEventListener:Ir,dispatchEvent:Fr,getClassList:function(e){function t(){let t=e[Sr].find((e=>"class"===e.name&&F(e[yr])));return I(t)&&(t={name:"class",[yr]:null,value:""},e[Sr].push(t)),t}return{add(...e){const n=t(),r=Ar(n.value);e.forEach((e=>r.add(e))),n.value=Or(r)},remove(...e){const n=t(),r=Ar(n.value);e.forEach((e=>r.delete(e))),n.value=Or(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Sr].find((e=>"style"===e.name&&F(e[yr]))),i=`${t}: ${n}${r?" !important":""}`;I(o)?e[Sr].push({name:"style",[yr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Hr,querySelector:Br,querySelectorAll:Vr,getElementsByTagName:jr,getElementsByClassName:Wr,getChildren:Gr,getChildNodes:Ur,getFirstChild:Kr,getFirstElementChild:zr,getLastChild:qr,getLastElementChild:Yr,isConnected:function(e){return!F(e[vr])},insertStylesheet:Dr,assertInstanceOfHTMLElement:Xr};function eo(e){return e.map((e=>{switch(e[br]){case Mr.Text:return""===e[Tr]?"":ae(e[Tr]);case Mr.Comment:return`\x3c!--${ae(e[Tr])}--\x3e`;case Mr.Raw:return e[Tr];case Mr.Element:return to(e)}})).join("")}function to(e){let t="";const n=e.tagName,r=e[yr],o=r!==Q,i=e[Cr].length>0;var s;return t+=`<${n}${e[Sr].length?` ${s=e[Sr],s.map((e=>e.value.length?`${e.name}="${ae(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Er]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${eo(e[Cr])}</template>`}(e[Er])),t+=eo(e[Cr]),function(e,t){return t===Q&&Z.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const no={[br]:Mr.Element,tagName:"fake-root-element",[yr]:Q,[vr]:null,[Er]:null,[Cr]:[],[Sr]:[],[kr]:{}};i(gt),f(gt.prototype),exports.LightningElement=gt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=hr(e);if(!I(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){pr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{I(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=jt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:se(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Vt,exports.parseFragment=Nn,exports.parseSVGFragment=Nn,exports.readonly=function(e){return ft(e)},exports.register=function(e){for(let t=0;t<Wn.length;++t){const n=Wn[t];if(n in e){let t=jn[n];I(t)&&(jn[n]=t=[]),S.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return V(e)&&In.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!I(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(I(w))throw new Error;w=kt(e,w)}else w=I(w)||I(w.get)?St(e):kt(e,w);f[e]=w,o(r,e,w)}if(I(l)||_.call(l,(e=>{if(w=s(r,e),I(w))throw new Error;d[e]=w})),!I(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(I(w))throw new Error;p[e]=w,mr(w,t,i,l)}else w=Mt(e),h[e]=w,gr(w,t,i,l),o(r,e,w)}if(!I(c))for(const e in c)w=s(r,e),w=Tt(e),o(r,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!I(i)&&t in i,o=!I(c)&&t in c;n||o||(m[t]=Et(t))}return function(e,t){xt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Ot.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!j(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!V(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||F(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Zr.createElement(e);Zn(r,t,Zr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[vr]=no,Xn(r),to(r)},exports.renderer=Zr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ce[e])){const n=d(ce).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!I(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(wr,"Hooks are already overridden, only one definition is allowed."),wr=!0,n=t.sanitizeHtmlContent,kn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|