lwc 2.35.0 → 2.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +48 -121
- package/dist/engine-dom/iife/es2017/engine-dom.js +48 -121
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +87 -61
- package/dist/engine-dom/iife/es5/engine-dom.js +48 -119
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +89 -60
- package/dist/engine-dom/umd/es2017/engine-dom.js +48 -121
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +87 -61
- package/dist/engine-dom/umd/es5/engine-dom.js +48 -119
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +89 -60
- package/dist/engine-server/commonjs/es2017/engine-server.js +45 -134
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +45 -134
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +8 -38
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +9 -38
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +8 -36
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +8 -38
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +9 -38
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +8 -36
- 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
|
-
var LWC=function(e){"use strict";var t=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:n,create:r,defineProperties:o,defineProperty:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:y,filter:b,find:v,indexOf:C,join:E,map:S,pop:k,push:M,reduce:T,reverse:A,shift:N,slice:_,some:L,sort:O,splice:P,unshift:x,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:I,replace:$,split:F,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function U(e){return!1===e}function G(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?E.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(n))return n;e=a(e)}while(null!==e)}const Q=["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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne=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}(),re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$scoped$",le="http://www.w3.org/XML/1998/namespace",ce="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xlink",ue=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:de,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:fe}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),he=new Map,pe=new Map;function me(e){const t=ee[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=he.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=I.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return he.set(e,o),o}function ge(e){const t=J[e];if(!W(t))return t;const n=de.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;const o=$.call(e,ue,(e=>e[1].toUpperCase()));return pe.set(e,o),o}const we={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE: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,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null,ENABLE_PROGRAMMATIC_STYLESHEETS:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const ye=ne.lwcRuntimeFlags;function be(e,t){return W(l(t,e))}function ve(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];be(r,e)&&ve(r,e)}}ye.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Ee=[];let Se=K,ke=!1;const Me={attachDispatcher(e){ke=!0,Se=e;for(const e of Ee)try{e()}catch(e){console.error("Could not invoke callback",e)}Ee.length=0},detachDispatcher(){ke=!1,Se=K}};function Te(e){return`<${B.call(e.tagName)}>`}function Ae(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)M.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Ne=new Set;function _e(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)M.call(t,n+Te(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Ne.has(o))return;Ne.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Le(e,t){_e("error",e,t,!1)}const Oe=new WeakMap;let Pe=null;function xe(e,t){const n=Oe.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Re(e,t){if(null===Pe)return;const n=Pe,o=function(e){let t=Oe.get(e);if(W(t)){const n=r(null);t=n,Oe.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===C.call(s,n)&&n.link(s)}class De{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Pe;let n;Pe=this;try{e()}catch(e){n=Object(e)}finally{if(Pe=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);P.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){M.call(e,this),M.call(this.listeners,e)}}function Ie(e,t){xe(e.component,t)}function $e(e,t){Re(e.component,t)}function Fe(e){return new De(e)}let He=[];const Be=h(r(null)),We=h([]);function Ve(){const e=He;He=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function je(e){0===He.length&&Promise.resolve().then(Ve),M.call(He,e)}const Ue=/;(?![^(]*\))/g,Ge=/:(.+)/;function Ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function ze(e){const t=[];for(const n of e)Array.isArray(n)?t.push(...ze(n)):t.push(n);return t}function Ke(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function qe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Xe(e){return G(e)&&u.call(e,"__circular__")}const Ze="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Ze.prototype;let Je,et=null;function tt(e,t){return e!==et||t!==Je}function nt(e,t){et=null,Je=void 0}function rt(e,t){et=e,Je=t}const ot=r(null);function st(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ie(e,t))}R.call(f(ee),(e=>{const t=Z(Qe,e);W(t)||(ot[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(Qe,e);W(t)||(ot[e]=t)}));const{isArray:it}=Array,{prototype:lt,getPrototypeOf:ct,create:at,defineProperty:ut,isExtensible:dt,getOwnPropertyDescriptor:ft,getOwnPropertyNames:ht,getOwnPropertySymbols:pt,preventExtensions:mt,hasOwnProperty:gt}=Object,{push:wt,concat:yt}=Array.prototype;function bt(e){return void 0===e}function vt(e){return"function"==typeof e}const Ct=new WeakMap;function Et(e,t){Ct.set(e,t)}const St=e=>Ct.get(e)||e;class kt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(gt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;bt(n)||(e.get=this.wrapGetter(n)),bt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ft(n,t);if(!bt(r)){const n=this.wrapDescriptor(r);ut(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;yt.call(ht(t),pt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;bt(n)||gt.call(e,n)||ut(e,n,at(null)),mt(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=bt(n)||gt.call(t,n)?[]:[n];return wt.apply(r,ht(t)),wt.apply(r,pt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!dt(e)&&(!!dt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ct(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=ft(n,t);if(bt(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ut(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Mt=new WeakMap,Tt=new WeakMap,At=new WeakMap,Nt=new WeakMap;class _t extends kt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!bt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(St(this)))};return Mt.set(e,r),At.set(r,e),r}wrapSetter(e){const t=Tt.get(e);if(!bt(t))return t;const n=function(t){e.call(St(this),St(t))};return Tt.set(e,n),Nt.set(n,e),n}unwrapDescriptor(e){if(gt.call(e,"value"))e.value=St(e.value);else{const{set:t,get:n}=e;bt(n)||(e.get=this.unwrapGetter(n)),bt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=At.get(e);if(!bt(t))return t;const n=this,r=function(){return St(e.call(n.wrapValue(this)))};return Mt.set(r,e),At.set(e,r),r}unwrapSetter(e){const t=Nt.get(e);if(!bt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Tt.set(r,e),Nt.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&&it(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(dt(e)){const{originalTarget:t}=this;if(mt(t),dt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!gt.call(r,t)||(ut(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Lt=new WeakMap,Ot=new WeakMap;class Pt extends kt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Lt.get(e);if(!bt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(St(this)))};return Lt.set(e,r),r}wrapSetter(e){const t=Ot.get(e);if(!bt(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 xt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(it(e))return!0;const t=ct(e);return t===lt||null===t||null===ct(t)}const Rt=(e,t)=>{},Dt=(e,t)=>{};function It(e){return it(e)?[]:{}}const $t=Symbol.for("@@lockerLiveValue"),Ft=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=vt(t)?t:Dt,this.valueObserved=vt(n)?n:Rt,this.valueIsObservable=vt(r)?r:xt,this.tagPropertyKey=o}getProxy(e){const t=St(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=St(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return St(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(bt(t)){const n=new _t(this,e);t=new Proxy(It(e),n),Et(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(bt(t)){const n=new Pt(this,e);t=new Proxy(It(e),n),Et(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Re,valueMutated:xe,tagPropertyKey:$t});function Ht(e){return Ft.getReadOnlyProxy(e)}function Bt(e){return Ft.getProxy(e)}function Wt(e){e[$t]=void 0}function Vt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=no(this);if(!Rr(t))return $e(t,e),n.call(t.elm)},set(t){const n=no(this);return st(n,e,t),r.call(n.elm,t)}}}const jt=i(r(null)),Ut=new WeakMap,Gt=function(){if(V(xr))throw new TypeError("Illegal constructor");const e=xr,{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 Wt(this),to(o,e),to(n,e),1===e.renderMode?e.renderRoot=Yt(e):e.renderRoot=n,this};function Yt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,to(i,e),i}Gt.prototype={constructor:Gt,dispatchEvent(e){const t=no(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=no(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Vr(r,t),n)},removeEventListener(e,t,n){const r=no(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Vr(r,t),n)},hasAttribute(e){const t=no(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=no(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=no(this),{elm:n,renderer:{removeAttribute:r}}=t;rt(n,e),r(n,e),nt()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=no(this);rt(n,t),r(n,t,e),nt()},getAttribute(e){const t=no(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=no(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=no(this),{elm:r,renderer:{setAttribute:o}}=n;rt(r,e),o(r,e,t),nt()},setAttributeNS(e,t,n){const r=no(this),{elm:o,renderer:{setAttribute:s}}=r;rt(o,t),s(o,t,n,e),nt()},getBoundingClientRect(){const e=no(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=no(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=no(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return no(this).shadowRoot},get refs(){const e=no(this);if(Er)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(V(t))return jt;let s=Ut.get(t);if(W(s)){s=r(null);for(const e of f(t))s[e]=t[e].elm;i(s),Ut.set(t,s)}return s},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=no(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=no(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=no(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=no(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=no(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=no(this);return e.renderer.getLastElementChild(e.elm)},render(){return no(this).def.template},toString(){return`[object ${no(this).def.name}]`}};const zt=r(null),Kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Kt)zt[e]={value(t){const n=no(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Gt.prototype,zt);const qt=r(null);for(const e in ot)qt[e]=Vt(e,ot[e]);function Xt(e){return{get(){const t=no(this);return $e(t,e),t.cmpFields[e]},set(t){st(no(this),e,t)},enumerable:!0,configurable:!0}}o(Gt.prototype,qt),ye.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Gt.prototype),s(Gt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Zt=new Map;class Qt extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Jt(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{st(e,t,n)}}(e,t):function(e,t){return n=>{po(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;s(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),s(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),po(e,e,K,(()=>{d=new o(a)}),K);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Fe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{po(e,e,K,(()=>{d.update(t,u)}),K)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=tn(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;M.call(i,(()=>{const e=new Qt(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){M.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const en=new Map;function tn(e){return en.get(e)}function nn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Zt.set(e,o)}function rn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Zt.set(e,o)}function on(e){return{get(){const t=no(this);if(!Rr(t))return $e(t,e),t.cmpProps[e]},set(t){const n=no(this);n.cmpProps[e]=t,Ie(n,e)},enumerable:!0,configurable:!0}}function sn(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){no(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function ln(e){return{get(){const t=no(this);return $e(t,e),t.cmpFields[e]},set(t){const n=no(this),r=Bt(t);st(n,e,r)},enumerable:!0,configurable:!0}}function cn(e){return{get(){const t=no(this);return $e(t,e),t.cmpFields[e]},set(t){st(no(this),e,t)},enumerable:!0,configurable:!0}}const an=new Map;const un={apiMethods:Be,apiFields:Be,apiFieldsConfig:Be,wiredMethods:Be,wiredFields:Be,observedFields:Be};const dn=new Set;function fn(){return[]}dn.add(fn);const hn=r(null),pn=r(null);function mn(e){let t=hn[e];return W(t)&&(t=hn[e]=function(){const t=no(this),{getHook:n}=t;return n(t.component,e)}),t}function gn(e){let t=pn[e];return W(t)&&(t=pn[e]=function(t){const n=no(this),{setHook:r}=n;t=Ht(t),r(n.component,e,t)}),t}function wn(e){return function(){const t=no(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,_.call(arguments))}}function yn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):tt(this,n)&&(this[s]=o)}}function bn(e,t,n){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[me(n)]=n,u[n]={get:mn(n),set:gn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:wn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:yn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const vn=bn(Ze,c(ot),[]);ye.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(vn.prototype),i(vn),h(vn.prototype);const Cn=new WeakMap;function En(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=an.get(e);return W(t)?un:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Xe(t)){const e=qe(t);t=e===t?Gt:e}return t}(e),E=C!==Gt?kn(C):Mn,S=bn(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),M=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;W(t)||(N=t);let _=E.renderMode;W(s)||(_="light"===s?0:1);const L=function(e){return $r.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:A,props:k,propsConfig:M,methods:T,bridge:S,template:L,renderMode:_,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Sn(e){if(!G(e))return!1;if(e.prototype instanceof Gt)return!0;let t=e;do{if(Xe(t)){const e=qe(t);if(e===t)return!0;t=e}if(t===Gt)return!0}while(!V(t)&&(t=a(t)));return!1}function kn(e){let t=Cn.get(e);if(W(t)){if(Xe(e)){return t=kn(qe(e)),Cn.set(e,t),t}if(!Sn(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=En(e),Cn.set(e,t)}return t}const Mn={ctor:Gt,name:Gt.name,props:qt,propsConfig:Be,methods:Be,renderMode:1,shadowSupportMode:"reset",wire:Be,bridge:vn,template:fn,render:Gt.prototype.render};function Tn(e){return`${e}-host`}function An(e){return pr.h("style",{key:"style",attrs:{type:"text/css"}},[pr.t(e)])}function Nn(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))M.apply(r,Nn(i,t,n));else{const e=i[ie];if(ye.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Le("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=_n(n)),c=V(o)||0===o.shadowMode),M.call(r,i(s,l,c))}}return r}function _n(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Ln(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function On(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return S.call(t,An);{const n=function(e){const t=_n(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function Pn(e){const{type:t}=e;return 2===t||3===t}function xn(e,t){return e.key===t.key&&e.sel===t.sel}function Rn(e){return 5===e.type}function Dn(e){return 6===e.type}function In(e,t){return"input"===e&&("value"===t||"checked"===t)}function $n(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Be),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(In(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Fn=r(null);function Hn(e){if(null==e)return Be;e=z(e)?e:e+"";let t=Fn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)32===I.call(e,n)&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),Fn[e]=t,t}function Bn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Wn(e,t,n,r){or(t)?ir(e,t,n,r):lr(e,t,n,r)}function Vn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Xn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?lr(e.children,o,n,r):ir(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;Jn(e,t,n),Wn(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);Yn(e,n,r,!0),Un(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Jn(e,t,r),!W(o)){tr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&or(e.children)&&rr(t.children)}Wn(e.children,t.children,n,r),W(o)||function(e){oo(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function jn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);qn(i,o,r),Zn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);qn(i,o,r),Zn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);qn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));Zn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Gn(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:s,data:{svg:i}}=e,{createElement:l}=r,c=j(i)?ce:void 0,a=e.elm=l(o,c);qn(a,s,r),er(a,s,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)}(a,e),Jn(null,e,r),Zn(a,t,n,r),Gn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Un(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function Un(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{Zr(e)},a=e=>{Qr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=ro(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=eo(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,qn(u,s,r),er(u,s,r),l&&tr(e,l),Jn(null,e,r),Zn(u,t,n,r),l&&(ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||co(l)),Gn(e.children,u,r,null),l&&function(e){oo(e)}(l)}function Gn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Kn(s)&&jn(s,t,n,r)}}function Yn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?zn(e.children,t,n,r):Qn(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;zn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){Jr(e)}(t)}}}function zn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Kn(s)&&Yn(s,t,n,r)}}function Kn(e){return null!=e}function qn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function Xn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Zn(e,t,n,r){r.insert(e,t,n)}function Qn(e,t,n){n.remove(e,t)}function Jn(e,t,n){V(e)&&(Bn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=Hn(o),a=Hn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;z(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Be:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ge(e)in o?l(o,e,t):58===I.call(e,3)?i(o,e,t,le):58===I.call(e,5)?i(o,e,t,ae):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Be:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(rt(s,e),58===I.call(e,3)?i(s,e,t,le):58===I.call(e,5)?i(s,e,t,ae):V(t)||W(t)?l(s,e):i(s,e,t),nt())}}(e,t,n),$n(e,t,n)}function er(e,t,n){const r=Ln(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function tr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];M.call(n,r),o=o||!(!r||!Rn(r))}if(!o)return e;for(;!W(r=k.call(n));)if(!V(r)&&Rn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)M.call(n,e[t])}else M.call(t,r);return rr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";Pn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":Dn(n)&&(r=n.slotName);const i=l[r]=l[r]||[];M.call(i,n)}if(e.cmpSlots={owner:n,slotAssignments:l},U(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Br(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Br(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Br(e)}}}(t,i,e.owner),e.aChildren=i,e.children=We)}const nr=new WeakMap;function rr(e){nr.set(e,1)}function or(e){return nr.has(e)}function sr(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Kn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function ir(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)Kn(l)?Kn(c)?Kn(m)?Kn(g)?xn(l,m)?(Vn(l,m,n,r),l=e[++o],m=t[++s]):xn(c,g)?(Vn(c,g,n,r),c=e[--i],g=t[--p]):xn(l,g)?(Vn(l,g,n,r),Zn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):xn(c,m)?(Vn(c,m,n,r),Zn(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=sr(e,o,i)),d=u[m.key],W(d)?(jn(m,n,r,l.elm),m=t[++s]):(f=e[d],Kn(f)&&(f.sel!==m.sel?jn(m,n,r,l.elm):(Vn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Zn(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Kn(e)&&o<a);h=Kn(e)?e.elm:null,Gn(t,n,r,h,s,p+1)}else zn(e,n,r,!0,o,i+1)}function lr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Gn(t,n,r,null);if(0===s)return void zn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Kn(s)?Kn(l)?(Vn(s,l,n,r),i=l.elm):Yn(s,n,r,!0):Kn(l)&&(jn(l,n,r,i),i=l.elm))}}const cr=Symbol.iterator;function ar(e,t,n=We){const r=kr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Ke(r,s,i),i}function ur(e,t,n,r=We){const o=kr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){M.call(kr().velements,e)}(l),W(i)||Ke(o,i,l),l}function dr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:kr()}}function fr(e){return rr(e),e}let hr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const pr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!V(n)){const e=Dn(n);if(e!==!W(t.slotData))continue;if(e){const e=kr();Mr(r.owner);try{M.call(o,n.factory(t.slotData,t.key))}finally{Mr(e)}}else M.call(o,n)}}n=o}const o=kr(),{renderMode:s,shadowMode:i}=o;return 0===s?(fr(n),n):(1===i&&fr(n),ar("slot",t,n))},h:ar,c:ur,i:function(e,t){const n=[];if(fr(n),W(e)||null===e)return n;const r=e[cr]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?M.apply(n,e):M.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];fr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?M.apply(n,t):M.call(n,t)}return n},t:dr,d:function(e){return null==e?"":String(e)},b:function(e){const t=kr();if(V(t))throw new Error;const n=t;return function(t){Ir(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:kr()}},dc:function(e,t,n,r=We){if(null==t)return null;if(!Sn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return ur(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[dr(""),...t,dr("")],stable:n,owner:kr()}},ti:function(e){return e>0&&!(j(e)||U(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:kr()}},gid:function(e){const t=kr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=kr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return hr(e)},ssf:function(e,t){return{type:6,factory:t,owner:kr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let mr=!1,gr=K;const wr={enableProfiler(){mr=!0},disableProfiler(){mr=!1},attachDispatcher(e){gr=e,this.enableProfiler()},detachDispatcher(){const e=gr;return gr=K,this.disableProfiler(),e}};function yr(e,t){mr&&gr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function br(e,t){mr&&gr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function vr(e,t){mr&&gr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function Cr(e,t){mr&&gr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let Er=!1,Sr=null;function kr(){return Sr}function Mr(e){Sr=e}function Tr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=kr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Ar=Tr(((e,t)=>{const{createFragment:n}=t;return n(e)})),Nr=Tr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function _r(e,t){const n=Er,o=Sr;let s=[];return po(e,e.owner,(()=>{Sr=e,yr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||ho(e),c=t,!dn.has(c))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: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Or(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(Tn(w)),b&&l(n,Tn(w)));const v=Pr(a),C=Pr(d);(v||C)&&(p=u),W(p)||(h&&(i(n).add(Tn(p)),m=!0),f&&(c(n,Tn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Pr(n)&&(s=Nn(n,r,e)),Pr(o)&&M.apply(s,Nn(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:On(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],Er=!0,s=t.call(void 0,pr,n,i,o.tplCache);const{styleVNodes:u}=o;V(u)||x.apply(s,u)}))}),(()=>{Er=n,Sr=o,br(1,e)})),s}function Lr(e){if(Pr(e))for(let t=0;t<e.length;t++)if(j(e[t][ie]))return!0;return!1}function Or(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Lr(n)||Lr(r)}function Pr(e){return!W(e)&&!V(e)&&e.length>0}let xr=null;function Rr(e){return xr===e}function Dr(e,t,n){const{component:r,callHook:o,owner:s}=e;po(e,s,K,(()=>{o(r,t,n)}),K)}function Ir(e,t,n,r){const{callHook:o,owner:s}=e;po(e,s,K,(()=>{o(n,t,[r])}),K)}const $r=new Map;function Fr(e){return Fe((()=>{const{isDirty:t}=e;U(t)&&(Br(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===io.length&&je(lo);M.call(io,e)}(e))}))}function Hr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=kr();let i,l=!1;return po(e,o,(()=>{Mr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Mr(s)})),l?_r(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Br(e){e.isDirty=!0}const Wr=new WeakMap;function Vr(e,t){if(!G(t))throw new TypeError;let n=Wr.get(t);return W(n)&&(n=function(n){Ir(e,t,void 0,n)},Wr.set(t,n)),n}const jr=r(null),Ur=["rendered","connected","disconnected"];function Gr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Yr=0;const zr=new WeakMap;function Kr(e,t,n=[]){return t.apply(e,n)}function qr(e,t,n){e[t]=n}function Xr(e,t){return e[t]}function Zr(e){const t=no(e);vr(7,t),1===t.state&&Qr(e),co(t),oo(t),Cr(7,t)}function Qr(e){Jr(no(e))}function Jr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){U(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=jr;t&&Gr(e,t);ao(e)&&function(e){const{wiredDisconnecting:t}=e.context;po(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;W(n)||(yr(5,e),Dr(e,n),br(5,e))}(e),uo(e),function(e){const{aChildren:t}=e;fo(t)}(e)}}function eo(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=kn(t),u={elm:e,def:a,idx:Yr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,hasRefVNodes:!1,children:We,aChildren:We,velements:We,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Be,wiredConnecting:We,wiredDisconnecting:We},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Kr,setHook:qr,getHook:Xr,renderer:n};return u.stylesheets=function(e,t){if(ye.ENABLE_PROGRAMMATIC_STYLESHEETS){const{stylesheets:e}=t;if(!W(e)){const t=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,e);if(t)return ze(e)}}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(ye.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=Fr(u),function(e,t){const n=xr;let r;yr(0,e),xr=e;try{const o=new t;if(xr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(br(0,e),xr=n,!W(r))throw Ae(e,r),r}}(u,a.ctor),ao(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Zt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Jt(e,t,i),c=i.dynamic.length>0;M.call(r,(()=>{n.connect(),ye.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),M.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function to(e,t){zr.set(e,t)}function no(e){return zr.get(e)}function ro(e){return zr.get(e)}function oo(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&po(e,e,(()=>{yr(2,e)}),(()=>{Wn(r,t,n,o)}),(()=>{br(2,e)}));1===e.state&&so(e)}(e,Hr(e))}}function so(e){const{def:{renderedCallback:t}}=e,{rendered:n}=jr;n&&Gr(e,n),W(t)||(yr(4,e),Dr(e,t),br(4,e))}let io=[];function lo(){vr(8);const e=io.sort(((e,t)=>e.idx-t.idx));io=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{oo(r)}catch(r){throw t+1<n&&(0===io.length&&je(lo),x.apply(io,_.call(e,t+1))),Cr(8),r}}Cr(8)}function co(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=jr;n&&Gr(e,n),ao(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;W(r)||(yr(3,e),Dr(e,r),br(3,e))}function ao(e){return c(e.def.wire).length>0}function uo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=ro(n);W(e)||Jr(e)}}}function fo(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:fo(n.children);break;case 3:Jr(no(n.elm));break}}}function ho(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||W(o.elm)||r(o.elm,n)}e.children=We,uo(e),e.velements=We}function po(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){Ae(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;ho(e),yr(6,e);Dr(n,n.def.errorCallback,[s,s.wcStack]),br(6,e)}}}const mo=ne.$nativeGetElementById$,go=ne.$nativeQuerySelectorAll$;function wo(e,t,n){let r=ro(e.getRootNode().host);W(r)&&(r=ro(t.getRootNode().host)),W(r)||function(e,t){ke&&Se(e,t.tagName,t.idx)}(0,r)}function yo(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!z(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=go.call(document,o);for(let t=0;t<s.length;t++){const n=s[t];if(n.getRootNode()!==r){wo(n,e);break}}}}else{const t=function(e){return z(e)?b.call(F.call(e,/\s+/),Boolean):[]}(n);for(const n of t){const t=mo.call(document,n);if(!V(t)){t.getRootNode()!==r&&wo(e,t)}}}}let bo=!1;var vo;"undefined"!=typeof CSS&&G(CSS.escape)&&u.call(Element.prototype,se)&&(vo=function(){if(bo)return;bo=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&yo(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;G(e)&&G(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),yo(this,"id",e)},enumerable:!0,configurable:!0})}},ke?vo():Ee.push(vo));let Co=!1;function Eo(e){const t=Hr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Mo(r(n),t,n,e),so(e)}function So(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!No(t,e,3,n))return To(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:s=function(e,t,n){var r;if(!No(t,e,8,n))return To(e,t,n);const{setProperty:o}=n;return o(e,ko,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!No(n,t,3,r)&&o(e,ko)===o(t,ko);if(8===o(e,"nodeType"))return!!No(n,t,8,r)&&o(e,ko)===o(t,ko);if(!No(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(Le(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return To(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return Mo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!No(t,e,1,n)||!_o(t,e,n))return To(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Ye(r,"innerHTML")}))}if(Ao(t,n),!s){const{getFirstChild:o}=n;Mo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!No(t,e,1,n)||!_o(t,e,n))return To(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=eo(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,tr(t,l),Ao(t,n),co(l),0!==l.renderMode){const{getFirstChild:r}=n;Mo(r(e),t.children,e,l)}return Eo(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const ko="nodeValue";function Mo(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=So(o,r,i),s=r.elm):(Co=!0,jn(r,n,i,s),s=r.elm))}if(o){Co=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),Qn(t,n,i)}while(o)}}function To(e,t,n){Co=!0;const{getProperty:r}=n,o=r(e,"parentNode");return jn(t,o,n,e),Qn(e,o,n),t.elm}function Ao(e,t){Bn(e,t),$n(null,e,t)}function No(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function _o(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,s]of Object.entries(r)){const{getAttribute:r}=n,i=r(t,e);String(s)!==i&&(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=Ln(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=kn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&Or(t,n)?Tn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=E.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=E.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(Ue);for(const e of n)if(e){const[n,r]=e.split(Ge);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}let Lo=!1;function Oo(e){Po(e,(e=>{i(e)}))}function Po(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Po(r,t):t(r)}}const xo=G(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Ro=xo&&l(document.adoptedStyleSheets,"length").writable,Do=!W(document.documentMode),Io=new Map;function $o(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Fo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Do?$o(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Ho(e,t){let n=Io.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Io.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=$o(e)),n}function Bo(e,t){const n=Ho(e,xo);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),xo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Ro?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Fo(e,t,n)}const Wo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),Vo=(e,t)=>{const n=document.createElement(e);return t(n),n},jo=new Map,Uo=new WeakSet;let Go=!1;const Yo=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),Go?e(this):(n||r)&&Uo.add(this)}}return n&&(o.prototype.connectedCallback=function(){Uo.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){Uo.has(this)||t(this)}),o},zo=(e,t,n,r)=>{let o=jo.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Yo(n,r),customElements.define(e,o),jo.set(e,o)}Go=!0;try{return new o(t)}finally{Go=!1}};let Ko,qo;ye.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&Wo&&(Ko=function(){if(!Wo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:s}=e.prototype,i=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,w=new Set;function y(t,n){class r extends e{constructor(e){super();const r=!W(e);if(r){if(!S(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?k(e):f.get(t);W(o)?l.set(this,n):E(this,n,o)}connectedCallback(){var e;const n=i.get(this);if(W(n)){let e=m.get(t);W(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=i.get(this);if(W(n)){const e=m.get(t);W(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}formAssociatedCallback(e){var t;const n=i.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=i.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=i.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=i.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}adoptedCallback(){var e;const t=i.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const s=i.get(this);(n===s||(null==s?void 0:s.observedAttributes.has(e)))&&(null===(o=s.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r.formAssociated=n.formAssociated,u.add(r),r}function b(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||W(r)?w:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),i.set(e,c),c!==l&&function(e,t,i){const l=b(t,i);if(0===l.size)return;const{attributeChangedCallback:c}=i;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=s.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=s.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),C=e,new c.UserCtor,function(e,n,r){const o=b(n,r);if(0===b(n,r).size)return;const{attributeChangedCallback:i}=r;o.forEach((n=>{if(t.call(e,n)){const t=s.call(e,n);i.call(e,n,null,t)}}))}(e,l,c)}function S(e){return G(e)&&Y(e.prototype)}function k(e){if(!S(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return W(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:s,formResetCallback:i,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:s,formResetCallback:i,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:M}=window,{define:T,whenDefined:A,get:N}=M;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!W(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=k(t);a.add(t);let o=d.get(e);W(o)&&(o=y(e,r),T.call(M,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const s=m.get(e);if(!W(s)){m.delete(e);for(const e of s){const t=l.get(e);W(t)||(l.delete(e),E(e,t,r))}}!function(e,t){const n=g.get(e);if(!W(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(M,e);if(!W(t)){const n=f.get(e);if(!W(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(M,e).then((t=>{const n=f.get(e);return W(n)?(W(t)&&(t=N.call(M,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);W(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=C;if(!W(e))return C=void 0,e;const{constructor:t}=this,n=h.get(t);if(W(n)||W(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=B.call(e);let n=d.get(e);if(W(n)){const r=k(t);n=y(e,r),T.call(M,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),qo=window.HTMLElement);const Xo=(e,t,n,r)=>class extends e{constructor(){super(),t(this)}connectedCallback(){W(n)||n(this)}disconnectedCallback(){W(r)||r(this)}};let Zo;function Qo(e){const t=function(e){var t=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)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Zo=Wo?ye.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(W(Ko)||W(qo))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=Xo(qo,t,n,r);return new(Ko(e,o))(o)}:zo:Vo;const Jo=n(Qo(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=Ho(e,!1);t.global||(t.global=!0,Fo(e,document.head,t))}(e):Bo(e,t)},createCustomElement:Zo,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function es(e,t,n){const r=eo(e,t,Jo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function ts(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(ro(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Co=!1,co(e),Eo(e),Co&&Le("Hydration completed with errors.",e)}(es(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),es(e,t,n),Zr(e)}}const ns=new WeakSet;function rs(e){var t;const n=function(e){return kn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(ts(this,e,{}),ns.add(this)):eo(this,e,Jo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ns.has(this)?ns.delete(this):Zr(this)}disconnectedCallback(){Qr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const os=Node,ss=new WeakMap,is=new WeakMap;function ls(e,t){const n=t.get(e);return W(n)||n(e),e}if(!ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=os.prototype;n(os.prototype,{appendChild(t){return ls(e.call(this,t),ss)},insertBefore(e,n){return ls(t.call(this,e,n),ss)},removeChild(e){return ls(r.call(this,e),is)},replaceChild(e,t){const n=o.call(this,e,t);return ls(n,is),ls(e,ss),n}})}const cs=Node;const as=new Map;return s(Gt,"CustomElementConstructor",{get(){return function(e){if(e===Gt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=as.get(e);return W(t)&&(t=rs(e),as.set(e,t)),t}(this)}}),i(Gt),h(Gt.prototype),e.LightningElement=Gt,e.__unstable__ProfilerControl=wr,e.__unstable__ReportingControl=Me,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=tn(e);if(!W(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){en.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(t)}".`);const n=t.is;if(!G(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Jo,o=B.call(e);let s,i;return ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{Zr(e)},i=e=>{Qr(e)}),r(o,(e=>{eo(e,n,Jo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(ss.set(e,Zr),is.set(e,Qr))}),s,i)},e.freezeTemplate=function(e){ye.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||Oo(e.stylesheets)):s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=ro(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=kn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:me(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ts,e.isComponentConstructor=Sn,e.isNodeFromTemplate=function(e){if(U(e instanceof cs))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&U(u.call(a(t),"synthetic")))||Jo.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Ar,e.parseSVGFragment=Nr,e.readonly=function(e){return Ht(e)},e.register=function(e){for(let t=0;t<Ur.length;++t){const n=Ur[t];if(n in e){let t=jr[n];W(t)&&(jr[n]=t=[]),M.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return G(e)&&$r.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=sn(0,w)}else w=W(w)||W(w.get)?on(e):sn(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,nn(w,t,o,i)}else w=cn(e),p[e]=w,rn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=ln(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=Xt(t))}return function(e,t){an.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return dn.add(e),e},e.renderer=Jo,e.rendererFactory=Qo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(we[e])){const n=f(we).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=ye[e];if(!W(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}".`);s(ye,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)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Lo,"Hooks are already overridden, only one definition is allowed."),Lo=!0,n=e.sanitizeHtmlContent,hr=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return Bt(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error},e}({});
|
|
1
|
+
var LWC=function(e){"use strict";var t=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:n,create:r,defineProperties:o,defineProperty:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:b,filter:y,find:v,indexOf:C,join:E,map:S,pop:k,push:M,reduce:T,reverse:A,shift:N,slice:L,some:_,sort:O,splice:P,unshift:x,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:I,replace:$,split:F,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function U(e){return!1===e}function G(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?E.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(n))return n;e=a(e)}while(null!==e)}const Q=["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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$scoped$",le="http://www.w3.org/XML/1998/namespace",ce="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xlink",ue=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:de,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:fe}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),he=new Map,pe=new Map;function me(e){const t=ee[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=he.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=I.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return he.set(e,o),o}function ge(e){const t=J[e];if(!W(t))return t;const n=de.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;const o=$.call(e,ue,(e=>e[1].toUpperCase()));return pe.set(e,o),o}const we={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE: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,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null,ENABLE_PROGRAMMATIC_STYLESHEETS:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const be=ne.lwcRuntimeFlags;function ye(e,t){return W(l(t,e))}function ve(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];ye(r,e)&&ve(r,e)}}be.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Ee=[];let Se=K,ke=!1;const Me={attachDispatcher(e){ke=!0,Se=e;for(const e of Ee)try{e()}catch(e){console.error("Could not invoke callback",e)}Ee.length=0},detachDispatcher(){ke=!1,Se=K}};function Te(e){return`<${B.call(e.tagName)}>`}function Ae(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)M.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Ne=new Set;function Le(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)M.call(t,n+Te(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Ne.has(o))return;Ne.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function _e(e,t){Le("error",e,t,!1)}const Oe=new WeakMap;let Pe=null;function xe(e,t){const n=Oe.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Re(e,t){if(null===Pe)return;const n=Pe,o=function(e){let t=Oe.get(e);if(W(t)){const n=r(null);t=n,Oe.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===C.call(s,n)&&n.link(s)}class De{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Pe;let n;Pe=this;try{e()}catch(e){n=Object(e)}finally{if(Pe=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);P.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){M.call(e,this),M.call(this.listeners,e)}}function Ie(e,t){xe(e.component,t)}function $e(e,t){Re(e.component,t)}function Fe(e){return new De(e)}let He=[];const Be=h(r(null)),We=h([]);function Ve(){const e=He;He=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function je(e){0===He.length&&Promise.resolve().then(Ve),M.call(He,e)}const Ue=/;(?![^(]*\))/g,Ge=/:(.+)/;function Ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function ze(e){const t=[];for(const n of e)Array.isArray(n)?t.push(...ze(n)):t.push(n);return t}function Ke(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function qe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Xe(e){return G(e)&&u.call(e,"__circular__")}const Ze="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Ze.prototype;let Je,et=null;function tt(e,t){return e!==et||t!==Je}function nt(e,t){et=null,Je=void 0}function rt(e,t){et=e,Je=t}const ot=r(null);function st(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ie(e,t))}R.call(f(ee),(e=>{const t=Z(Qe,e);W(t)||(ot[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(Qe,e);W(t)||(ot[e]=t)}));const{isArray:it}=Array,{prototype:lt,getPrototypeOf:ct,create:at,defineProperty:ut,isExtensible:dt,getOwnPropertyDescriptor:ft,getOwnPropertyNames:ht,getOwnPropertySymbols:pt,preventExtensions:mt,hasOwnProperty:gt}=Object,{push:wt,concat:bt}=Array.prototype;function yt(e){return void 0===e}function vt(e){return"function"==typeof e}const Ct=new WeakMap;function Et(e,t){Ct.set(e,t)}const St=e=>Ct.get(e)||e;class kt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(gt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;yt(n)||(e.get=this.wrapGetter(n)),yt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ft(n,t);if(!yt(r)){const n=this.wrapDescriptor(r);ut(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;bt.call(ht(t),pt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;yt(n)||gt.call(e,n)||ut(e,n,at(null)),mt(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=yt(n)||gt.call(t,n)?[]:[n];return wt.apply(r,ht(t)),wt.apply(r,pt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!dt(e)&&(!!dt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ct(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=ft(n,t);if(yt(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ut(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Mt=new WeakMap,Tt=new WeakMap,At=new WeakMap,Nt=new WeakMap;class Lt extends kt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!yt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(St(this)))};return Mt.set(e,r),At.set(r,e),r}wrapSetter(e){const t=Tt.get(e);if(!yt(t))return t;const n=function(t){e.call(St(this),St(t))};return Tt.set(e,n),Nt.set(n,e),n}unwrapDescriptor(e){if(gt.call(e,"value"))e.value=St(e.value);else{const{set:t,get:n}=e;yt(n)||(e.get=this.unwrapGetter(n)),yt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=At.get(e);if(!yt(t))return t;const n=this,r=function(){return St(e.call(n.wrapValue(this)))};return Mt.set(r,e),At.set(e,r),r}unwrapSetter(e){const t=Nt.get(e);if(!yt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Tt.set(r,e),Nt.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&&it(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(dt(e)){const{originalTarget:t}=this;if(mt(t),dt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!gt.call(r,t)||(ut(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const _t=new WeakMap,Ot=new WeakMap;class Pt extends kt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=_t.get(e);if(!yt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(St(this)))};return _t.set(e,r),r}wrapSetter(e){const t=Ot.get(e);if(!yt(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 xt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(it(e))return!0;const t=ct(e);return t===lt||null===t||null===ct(t)}const Rt=(e,t)=>{},Dt=(e,t)=>{};function It(e){return it(e)?[]:{}}const $t=Symbol.for("@@lockerLiveValue"),Ft=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=vt(t)?t:Dt,this.valueObserved=vt(n)?n:Rt,this.valueIsObservable=vt(r)?r:xt,this.tagPropertyKey=o}getProxy(e){const t=St(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=St(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return St(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(yt(t)){const n=new Lt(this,e);t=new Proxy(It(e),n),Et(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(yt(t)){const n=new Pt(this,e);t=new Proxy(It(e),n),Et(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Re,valueMutated:xe,tagPropertyKey:$t});function Ht(e){return Ft.getReadOnlyProxy(e)}function Bt(e){return Ft.getProxy(e)}function Wt(e){e[$t]=void 0}function Vt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=to(this);if(!xr(t))return $e(t,e),n.call(t.elm)},set(t){const n=to(this);return st(n,e,t),r.call(n.elm,t)}}}const jt=new WeakMap,Ut=function(){if(V(Pr))throw new TypeError("Illegal constructor");const e=Pr,{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 Wt(this),eo(o,e),eo(n,e),1===e.renderMode?e.renderRoot=Gt(e):e.renderRoot=n,this};function Gt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,eo(i,e),i}Ut.prototype={constructor:Ut,dispatchEvent(e){const t=to(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=to(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Wr(r,t),n)},removeEventListener(e,t,n){const r=to(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Wr(r,t),n)},hasAttribute(e){const t=to(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=to(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=to(this),{elm:n,renderer:{removeAttribute:r}}=t;rt(n,e),r(n,e),nt()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=to(this);rt(n,t),r(n,t,e),nt()},getAttribute(e){const t=to(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=to(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=to(this),{elm:r,renderer:{setAttribute:o}}=n;rt(r,e),o(r,e,t),nt()},setAttributeNS(e,t,n){const r=to(this),{elm:o,renderer:{setAttribute:s}}=r;rt(o,t),s(o,t,n,e),nt()},getBoundingClientRect(){const e=to(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=to(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=to(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return to(this).shadowRoot},get refs(){const e=to(this);if(Cr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=jt.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),jt.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=to(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=to(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=to(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=to(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=to(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=to(this);return e.renderer.getLastElementChild(e.elm)},render(){return to(this).def.template},toString(){return`[object ${to(this).def.name}]`}};const Yt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Yt[e]={value(t){const n=to(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ut.prototype,Yt);const Kt=r(null);for(const e in ot)Kt[e]=Vt(e,ot[e]);function qt(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){st(to(this),e,t)},enumerable:!0,configurable:!0}}o(Ut.prototype,Kt),be.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Ut.prototype),s(Ut,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Xt=new Map;class Zt extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Qt(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{st(e,t,n)}}(e,t):function(e,t){return n=>{ho(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;s(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),s(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),ho(e,e,K,(()=>{d=new o(a)}),K);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Fe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{ho(e,e,K,(()=>{d.update(t,u)}),K)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=en(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;M.call(i,(()=>{const e=new Zt(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){M.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const Jt=new Map;function en(e){return Jt.get(e)}function tn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Xt.set(e,o)}function nn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Xt.set(e,o)}function rn(e){return{get(){const t=to(this);if(!xr(t))return $e(t,e),t.cmpProps[e]},set(t){const n=to(this);n.cmpProps[e]=t,Ie(n,e)},enumerable:!0,configurable:!0}}function on(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){to(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function sn(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){const n=to(this),r=Bt(t);st(n,e,r)},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){st(to(this),e,t)},enumerable:!0,configurable:!0}}const cn=new Map;const an={apiMethods:Be,apiFields:Be,apiFieldsConfig:Be,wiredMethods:Be,wiredFields:Be,observedFields:Be};const un=new Set;function dn(){return[]}un.add(dn);const fn=r(null),hn=r(null);function pn(e){let t=fn[e];return W(t)&&(t=fn[e]=function(){const t=to(this),{getHook:n}=t;return n(t.component,e)}),t}function mn(e){let t=hn[e];return W(t)&&(t=hn[e]=function(t){const n=to(this),{setHook:r}=n;t=Ht(t),r(n.component,e,t)}),t}function gn(e){return function(){const t=to(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function wn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):tt(this,n)&&(this[s]=o)}}function bn(e,t,n){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[me(n)]=n,u[n]={get:pn(n),set:mn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:gn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:wn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const yn=bn(Ze,c(ot),[]);be.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(yn.prototype),i(yn),h(yn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const vn=new WeakMap;function Cn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=cn.get(e);return W(t)?an:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}=m;const C=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Xe(t)){const e=qe(t);t=e===t?Ut:e}return t}(e),E=C!==Ut?Sn(C):kn,S=bn(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),M=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,b=b||E.renderedCallback,y=y||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;W(t)||(N=t);let L=E.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return Ir.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:A,props:k,propsConfig:M,methods:T,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}}function En(e){if(!G(e))return!1;if(e.prototype instanceof Ut)return!0;let t=e;do{if(Xe(t)){const e=qe(t);if(e===t)return!0;t=e}if(t===Ut)return!0}while(!V(t)&&(t=a(t)));return!1}function Sn(e){let t=vn.get(e);if(W(t)){if(Xe(e)){return t=Sn(qe(e)),vn.set(e,t),t}if(!En(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=Cn(e),vn.set(e,t)}return t}const kn={ctor:Ut,name:Ut.name,props:Kt,propsConfig:Be,methods:Be,renderMode:1,shadowSupportMode:"reset",wire:Be,bridge:yn,template:dn,render:Ut.prototype.render};function Mn(e){return`${e}-host`}function Tn(e){return hr.h("style",{key:"style",attrs:{type:"text/css"}},[hr.t(e)])}function An(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))M.apply(r,An(i,t,n));else{const e=i[ie];if(be.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){_e("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=Nn(n)),c=V(o)||0===o.shadowMode),M.call(r,i(s,l,c))}}return r}function Nn(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Ln(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function _n(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return S.call(t,Tn);{const n=function(e){const t=Nn(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function On(e){const{type:t}=e;return 2===t||3===t}function Pn(e,t){return e.key===t.key&&e.sel===t.sel}function xn(e){return 5===e.type}function Rn(e){return 6===e.type}function Dn(e,t){return"input"===e&&("value"===t||"checked"===t)}function In(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Be),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Dn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const $n=r(null);function Fn(e){if(null==e)return Be;e=z(e)?e:e+"";let t=$n[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)32===I.call(e,n)&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),$n[e]=t,t}function Hn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Bn(e,t,n,r){rr(t)?sr(e,t,n,r):ir(e,t,n,r)}function Wn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&qn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?ir(e.children,o,n,r):sr(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;Qn(e,t,n),Bn(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);Gn(e,n,r,!0),jn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Qn(e,t,r),!W(o)){er(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&rr(e.children)&&nr(t.children)}Bn(e.children,t.children,n,r),W(o)||function(e){ro(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Vn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Kn(i,o,r),Xn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Kn(i,o,r),Xn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Kn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));Xn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Un(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:s,data:{svg:i}}=e,{createElement:l}=r,c=j(i)?ce:void 0,a=e.elm=l(o,c);Kn(a,s,r),Jn(a,s,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)}(a,e),Qn(null,e,r),Xn(a,t,n,r),Un(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:jn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function jn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;be.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{Xr(e)},a=e=>{Zr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=no(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=Jr(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Kn(u,s,r),Jn(u,s,r),l&&er(e,l),Qn(null,e,r),Xn(u,t,n,r),l&&(be.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||lo(l)),Un(e.children,u,r,null),l&&function(e){ro(e)}(l)}function Un(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];zn(s)&&Vn(s,t,n,r)}}function Gn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Yn(e.children,t,n,r):Zn(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Yn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){Qr(e)}(t)}}}function Yn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];zn(s)&&Gn(s,t,n,r)}}function zn(e){return null!=e}function Kn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function qn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Xn(e,t,n,r){r.insert(e,t,n)}function Zn(e,t,n){n.remove(e,t)}function Qn(e,t,n){V(e)&&(Hn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=Fn(o),a=Fn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;z(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Be:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ge(e)in o?l(o,e,t):58===I.call(e,3)?i(o,e,t,le):58===I.call(e,5)?i(o,e,t,ae):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Be:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(rt(s,e),58===I.call(e,3)?i(s,e,t,le):58===I.call(e,5)?i(s,e,t,ae):V(t)||W(t)?l(s,e):i(s,e,t),nt())}}(e,t,n),In(e,t,n)}function Jn(e,t,n){const r=Ln(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function er(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];M.call(n,r),o=o||!(!r||!xn(r))}if(!o)return e;for(;!W(r=k.call(n));)if(!V(r)&&xn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)M.call(n,e[t])}else M.call(t,r);return nr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";On(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":Rn(n)&&(r=n.slotName);const i=l[r]=l[r]||[];M.call(i,n)}if(e.cmpSlots={owner:n,slotAssignments:l},U(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Hr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Hr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Hr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=We)}const tr=new WeakMap;function nr(e){tr.set(e,1)}function rr(e){return tr.has(e)}function or(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(zn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function sr(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)zn(l)?zn(c)?zn(m)?zn(g)?Pn(l,m)?(Wn(l,m,n,r),l=e[++o],m=t[++s]):Pn(c,g)?(Wn(c,g,n,r),c=e[--i],g=t[--p]):Pn(l,g)?(Wn(l,g,n,r),Xn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Pn(c,m)?(Wn(c,m,n,r),Xn(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=or(e,o,i)),d=u[m.key],W(d)?(Vn(m,n,r,l.elm),m=t[++s]):(f=e[d],zn(f)&&(f.sel!==m.sel?Vn(m,n,r,l.elm):(Wn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Xn(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!zn(e)&&o<a);h=zn(e)?e.elm:null,Un(t,n,r,h,s,p+1)}else Yn(e,n,r,!0,o,i+1)}function ir(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Un(t,n,r,null);if(0===s)return void Yn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(zn(s)?zn(l)?(Wn(s,l,n,r),i=l.elm):Gn(s,n,r,!0):zn(l)&&(Vn(l,n,r,i),i=l.elm))}}const lr=Symbol.iterator;function cr(e,t,n=We){const r=Sr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Ke(r,s,i),i}function ar(e,t,n,r=We){const o=Sr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){M.call(Sr().velements,e)}(l),W(i)||Ke(o,i,l),l}function ur(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Sr()}}function dr(e){return nr(e),e}let fr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const hr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!V(n)){const e=Rn(n);if(e!==!W(t.slotData))continue;if(e){const e=Sr();kr(r.owner);try{M.call(o,n.factory(t.slotData,t.key))}finally{kr(e)}}else M.call(o,n)}}n=o}const o=Sr(),{renderMode:s,shadowMode:i}=o;return 0===s?(dr(n),n):(1===i&&dr(n),cr("slot",t,n))},h:cr,c:ar,i:function(e,t){const n=[];if(dr(n),W(e)||null===e)return n;const r=e[lr]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?M.apply(n,e):M.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];dr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?M.apply(n,t):M.call(n,t)}return n},t:ur,d:function(e){return null==e?"":String(e)},b:function(e){const t=Sr();if(V(t))throw new Error;const n=t;return function(t){Dr(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:Sr()}},dc:function(e,t,n,r=We){if(null==t)return null;if(!En(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return ar(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[ur(""),...t,ur("")],stable:n,owner:Sr()}},ti:function(e){return e>0&&!(j(e)||U(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Sr()}},gid:function(e){const t=Sr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Sr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return fr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Sr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let pr=!1,mr=K;const gr={enableProfiler(){pr=!0},disableProfiler(){pr=!1},attachDispatcher(e){mr=e,this.enableProfiler()},detachDispatcher(){const e=mr;return mr=K,this.disableProfiler(),e}};function wr(e,t){pr&&mr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function br(e,t){pr&&mr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function yr(e,t){pr&&mr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function vr(e,t){pr&&mr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let Cr=!1,Er=null;function Sr(){return Er}function kr(e){Er=e}function Mr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Sr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Tr=Mr(((e,t)=>{const{createFragment:n}=t;return n(e)})),Ar=Mr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Nr(e,t){const n=Cr,o=Er;let s=[];return ho(e,e.owner,(()=>{Er=e,wr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||fo(e),c=t,!un.has(c))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: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=_r(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:b,hasTokenInAttribute:y}=r;W(w)||(b&&i(n).remove(Mn(w)),y&&l(n,Mn(w)));const v=Or(a),C=Or(d);(v||C)&&(p=u),W(p)||(h&&(i(n).add(Mn(p)),m=!0),f&&(c(n,Mn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Or(n)&&(s=An(n,r,e)),Or(o)&&M.apply(s,An(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:_n(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Cr=!0,s=t.call(void 0,hr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||x.apply(s,a)}))}),(()=>{Cr=n,Er=o,br(1,e)})),s}function Lr(e){if(Or(e))for(let t=0;t<e.length;t++)if(j(e[t][ie]))return!0;return!1}function _r(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Lr(n)||Lr(r)}function Or(e){return!W(e)&&!V(e)&&e.length>0}let Pr=null;function xr(e){return Pr===e}function Rr(e,t,n){const{component:r,callHook:o,owner:s}=e;ho(e,s,K,(()=>{o(r,t,n)}),K)}function Dr(e,t,n,r){const{callHook:o,owner:s}=e;ho(e,s,K,(()=>{o(n,t,[r])}),K)}const Ir=new Map;function $r(e){return Fe((()=>{const{isDirty:t}=e;U(t)&&(Hr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===so.length&&je(io);M.call(so,e)}(e))}))}function Fr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Sr();let i,l=!1;return ho(e,o,(()=>{kr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{kr(s)})),l?Nr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Hr(e){e.isDirty=!0}const Br=new WeakMap;function Wr(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Br.get(t);return W(n)&&(n=function(n){Dr(e,t,void 0,n)},Br.set(t,n)),n}const Vr=r(null),jr=["rendered","connected","disconnected"];function Ur(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Gr=0;const Yr=new WeakMap;function zr(e,t,n=[]){return t.apply(e,n)}function Kr(e,t,n){e[t]=n}function qr(e,t){return e[t]}function Xr(e){const t=to(e);yr(7,t),1===t.state&&Zr(e),lo(t),ro(t),vr(7,t)}function Zr(e){Qr(to(e))}function Qr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){U(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Vr;t&&Ur(e,t);co(e)&&function(e){const{wiredDisconnecting:t}=e.context;ho(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;W(n)||(wr(5,e),Rr(e,n),br(5,e))}(e),ao(e),function(e){const{aChildren:t}=e;uo(t)}(e)}}function Jr(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=Sn(t),u={elm:e,def:a,idx:Gr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:We,aChildren:We,velements:We,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Be,wiredConnecting:We,wiredDisconnecting:We},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:zr,setHook:Kr,getHook:qr,renderer:n};return u.stylesheets=function(e,t){if(be.ENABLE_PROGRAMMATIC_STYLESHEETS){const{stylesheets:e}=t;if(!W(e)){const t=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,e);if(t)return ze(e)}}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(be.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=$r(u),function(e,t){const n=Pr;let r;wr(0,e),Pr=e;try{const o=new t;if(Pr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(br(0,e),Pr=n,!W(r))throw Ae(e,r),r}}(u,a.ctor),co(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Xt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Qt(e,t,i),c=i.dynamic.length>0;M.call(r,(()=>{n.connect(),be.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),M.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function eo(e,t){Yr.set(e,t)}function to(e){return Yr.get(e)}function no(e){return Yr.get(e)}function ro(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ho(e,e,(()=>{wr(2,e)}),(()=>{Bn(r,t,n,o)}),(()=>{br(2,e)}));1===e.state&&oo(e)}(e,Fr(e))}}function oo(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Vr;n&&Ur(e,n),W(t)||(wr(4,e),Rr(e,t),br(4,e))}let so=[];function io(){yr(8);const e=so.sort(((e,t)=>e.idx-t.idx));so=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{ro(r)}catch(r){throw t+1<n&&(0===so.length&&je(io),x.apply(so,L.call(e,t+1))),vr(8),r}}vr(8)}function lo(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Vr;n&&Ur(e,n),co(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;W(r)||(wr(3,e),Rr(e,r),br(3,e))}function co(e){return c(e.def.wire).length>0}function ao(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=no(n);W(e)||Qr(e)}}}function uo(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:uo(n.children);break;case 3:Qr(to(n.elm));break}}}function fo(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||W(o.elm)||r(o.elm,n)}e.children=We,ao(e),e.velements=We}function ho(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){Ae(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;fo(e),wr(6,e);Rr(n,n.def.errorCallback,[s,s.wcStack]),br(6,e)}}}const po=ne.$nativeGetElementById$,mo=ne.$nativeQuerySelectorAll$;function go(e,t,n){let r=no(e.getRootNode().host);W(r)&&(r=no(t.getRootNode().host)),W(r)||function(e,t){ke&&Se(e,t.tagName,t.idx)}(0,r)}function wo(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!z(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=mo.call(document,o);for(let t=0;t<s.length;t++){const n=s[t];if(n.getRootNode()!==r){go(n,e);break}}}}else{const t=function(e){return z(e)?y.call(F.call(e,/\s+/),Boolean):[]}(n);for(const n of t){const t=po.call(document,n);if(!V(t)){t.getRootNode()!==r&&go(e,t)}}}}let bo=!1;var yo;"undefined"!=typeof CSS&&G(CSS.escape)&&u.call(Element.prototype,se)&&(yo=function(){if(bo)return;bo=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&wo(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;G(e)&&G(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),wo(this,"id",e)},enumerable:!0,configurable:!0})}},ke?yo():Ee.push(yo));let vo=!1;function Co(e){const t=Fr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;ko(r(n),t,n,e),oo(e)}function Eo(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Ao(t,e,3,n))return Mo(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:s=function(e,t,n){var r;if(!Ao(t,e,8,n))return Mo(e,t,n);const{setProperty:o}=n;return o(e,So,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Ao(n,t,3,r)&&o(e,So)===o(t,So);if(8===o(e,"nodeType"))return!!Ao(n,t,8,r)&&o(e,So)===o(t,So);if(!Ao(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(_e(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Mo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return ko(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return Mo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Ye(r,"innerHTML")}))}if(To(t,n),!s){const{getFirstChild:o}=n;ko(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return Mo(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=Jr(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,er(t,l),To(t,n),lo(l),0!==l.renderMode){const{getFirstChild:r}=n;ko(r(e),t.children,e,l)}return Co(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const So="nodeValue";function ko(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=Eo(o,r,i),s=r.elm):(vo=!0,Vn(r,n,i,s),s=r.elm))}if(o){vo=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),Zn(t,n,i)}while(o)}}function Mo(e,t,n){vo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Vn(t,o,n,e),Zn(e,o,n),t.elm}function To(e,t){Hn(e,t),In(null,e,t)}function Ao(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function No(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,s]of Object.entries(r)){const{getAttribute:r}=n,i=r(t,e);String(s)!==i&&(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=Ln(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=Sn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&_r(t,n)?Mn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=y.call(e,(e=>!V(e)));t.length&&(s=E.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=y.call(e,(e=>!V(e)));s=E.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(Ue);for(const e of n)if(e){const[n,r]=e.split(Ge);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}let Lo=!1;function _o(e){Oo(e,(e=>{i(e)}))}function Oo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Oo(r,t):t(r)}}const Po=G(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),xo=Po&&l(document.adoptedStyleSheets,"length").writable,Ro=!W(document.documentMode),Do=new Map;function Io(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function $o(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Ro?Io(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Fo(e,t){let n=Do.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Do.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=Io(e)),n}function Ho(e,t){const n=Fo(e,Po);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Po?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;xo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):$o(e,t,n)}const Bo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),Wo=(e,t)=>{const n=document.createElement(e);return t(n),n},Vo=new Map,jo=new WeakSet;let Uo=!1;const Go=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),Uo?e(this):(n||r)&&jo.add(this)}}return n&&(o.prototype.connectedCallback=function(){jo.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){jo.has(this)||t(this)}),o},Yo=(e,t,n,r)=>{let o=Vo.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Go(n,r),customElements.define(e,o),Vo.set(e,o)}Uo=!0;try{return new o(t)}finally{Uo=!1}};let zo,Ko;be.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&Bo&&(zo=function(){if(!Bo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:s}=e.prototype,i=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,w=new Set;function b(t,n){class r extends e{constructor(e){super();const r=!W(e);if(r){if(!S(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?k(e):f.get(t);W(o)?l.set(this,n):E(this,n,o)}connectedCallback(){var e;const n=i.get(this);if(W(n)){let e=m.get(t);W(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=i.get(this);if(W(n)){const e=m.get(t);W(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}formAssociatedCallback(e){var t;const n=i.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=i.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=i.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=i.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}adoptedCallback(){var e;const t=i.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const s=i.get(this);(n===s||(null==s?void 0:s.observedAttributes.has(e)))&&(null===(o=s.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r.formAssociated=n.formAssociated,u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||W(r)?w:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),i.set(e,c),c!==l&&function(e,t,i){const l=y(t,i);if(0===l.size)return;const{attributeChangedCallback:c}=i;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=s.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=s.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),C=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:i}=r;o.forEach((n=>{if(t.call(e,n)){const t=s.call(e,n);i.call(e,n,null,t)}}))}(e,l,c)}function S(e){return G(e)&&Y(e.prototype)}function k(e){if(!S(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return W(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:s,formResetCallback:i,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:s,formResetCallback:i,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:M}=window,{define:T,whenDefined:A,get:N}=M;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!W(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=k(t);a.add(t);let o=d.get(e);W(o)&&(o=b(e,r),T.call(M,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const s=m.get(e);if(!W(s)){m.delete(e);for(const e of s){const t=l.get(e);W(t)||(l.delete(e),E(e,t,r))}}!function(e,t){const n=g.get(e);if(!W(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(M,e);if(!W(t)){const n=f.get(e);if(!W(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(M,e).then((t=>{const n=f.get(e);return W(n)?(W(t)&&(t=N.call(M,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);W(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=C;if(!W(e))return C=void 0,e;const{constructor:t}=this,n=h.get(t);if(W(n)||W(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=B.call(e);let n=d.get(e);if(W(n)){const r=k(t);n=b(e,r),T.call(M,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Ko=window.HTMLElement);const qo=(e,t,n,r)=>class extends e{constructor(){super(),t(this)}connectedCallback(){W(n)||n(this)}disconnectedCallback(){W(r)||r(this)}};let Xo;function Zo(e){const t=function(e){var t=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)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Xo=Bo?be.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(W(zo)||W(Ko))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=qo(Ko,t,n,r);return new(zo(e,o))(o)}:Yo:Wo;const Qo=n(Zo(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=Fo(e,!1);t.global||(t.global=!0,$o(e,document.head,t))}(e):Ho(e,t)},createCustomElement:Xo,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function Jo(e,t,n){const r=Jr(e,t,Qo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function es(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(no(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){vo=!1,lo(e),Co(e),vo&&_e("Hydration completed with errors.",e)}(Jo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Jo(e,t,n),Xr(e)}}const ts=new WeakSet;function ns(e){var t;const n=function(e){return Sn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(es(this,e,{}),ts.add(this)):Jr(this,e,Qo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ts.has(this)?ts.delete(this):Xr(this)}disconnectedCallback(){Zr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const rs=Node,os=new WeakMap,ss=new WeakMap;function is(e,t){const n=t.get(e);return W(n)||n(e),e}if(!be.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=rs.prototype;n(rs.prototype,{appendChild(t){return is(e.call(this,t),os)},insertBefore(e,n){return is(t.call(this,e,n),os)},removeChild(e){return is(r.call(this,e),ss)},replaceChild(e,t){const n=o.call(this,e,t);return is(n,ss),is(e,os),n}})}const ls=Node;const cs=new Map;return s(Ut,"CustomElementConstructor",{get(){return function(e){if(e===Ut)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=cs.get(e);return W(t)&&(t=ns(e),cs.set(e,t)),t}(this)}}),i(Ut),h(Ut.prototype),e.LightningElement=Ut,e.__unstable__ProfilerControl=gr,e.__unstable__ReportingControl=Me,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=en(e);if(!W(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){Jt.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(t)}".`);const n=t.is;if(!G(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Qo,o=B.call(e);let s,i;return be.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{Xr(e)},i=e=>{Zr(e)}),r(o,(e=>{Jr(e,n,Qo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),be.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(os.set(e,Xr),ss.set(e,Zr))}),s,i)},e.freezeTemplate=function(e){be.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||_o(e.stylesheets)):s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=no(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Sn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:me(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=es,e.isComponentConstructor=En,e.isNodeFromTemplate=function(e){if(U(e instanceof ls))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&U(u.call(a(t),"synthetic")))||Qo.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Tr,e.parseSVGFragment=Ar,e.readonly=function(e){return Ht(e)},e.register=function(e){for(let t=0;t<jr.length;++t){const n=jr[t];if(n in e){let t=Vr[n];W(t)&&(Vr[n]=t=[]),M.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return G(e)&&Ir.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=on(0,w)}else w=W(w)||W(w.get)?rn(e):on(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,tn(w,t,o,i)}else w=ln(e),p[e]=w,nn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=sn(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=qt(t))}return function(e,t){cn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return un.add(e),e},e.renderer=Qo,e.rendererFactory=Zo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(we[e])){const n=f(we).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=be[e];if(!W(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}".`);s(be,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)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Lo,"Hooks are already overridden, only one definition is allowed."),Lo=!0,n=e.sanitizeHtmlContent,fr=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return Bt(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error},e}({});
|
|
@@ -202,41 +202,11 @@ var LWC = (function (exports) {
|
|
|
202
202
|
* SPDX-License-Identifier: MIT
|
|
203
203
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
204
204
|
*/
|
|
205
|
-
//
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
let _globalThis;
|
|
212
|
-
try {
|
|
213
|
-
// eslint-disable-next-line no-extend-native
|
|
214
|
-
Object.defineProperty(Object.prototype, '__magic__', {
|
|
215
|
-
get: function () {
|
|
216
|
-
return this;
|
|
217
|
-
},
|
|
218
|
-
configurable: true,
|
|
219
|
-
});
|
|
220
|
-
// __magic__ is undefined in Safari 10 and IE10 and older.
|
|
221
|
-
// @ts-ignore
|
|
222
|
-
// eslint-disable-next-line no-undef
|
|
223
|
-
_globalThis = __magic__;
|
|
224
|
-
// @ts-ignore
|
|
225
|
-
delete Object.prototype.__magic__;
|
|
226
|
-
}
|
|
227
|
-
catch (ex) {
|
|
228
|
-
// In IE8, Object.defineProperty only works on DOM objects.
|
|
229
|
-
}
|
|
230
|
-
finally {
|
|
231
|
-
// If the magic above fails for some reason we assume that we are in a legacy browser.
|
|
232
|
-
// Assume `window` exists in this case.
|
|
233
|
-
if (typeof _globalThis === 'undefined') {
|
|
234
|
-
// @ts-ignore
|
|
235
|
-
_globalThis = window;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
return _globalThis;
|
|
239
|
-
})();
|
|
205
|
+
// See browser support for globalThis:
|
|
206
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
|
|
207
|
+
/* istanbul ignore next */
|
|
208
|
+
// @ts-ignore
|
|
209
|
+
const _globalThis = typeof globalThis === 'object' ? globalThis : window;
|
|
240
210
|
|
|
241
211
|
/*
|
|
242
212
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -351,7 +321,7 @@ var LWC = (function (exports) {
|
|
|
351
321
|
CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
|
|
352
322
|
return propertyName;
|
|
353
323
|
}
|
|
354
|
-
/** version: 2.35.
|
|
324
|
+
/** version: 2.35.1 */
|
|
355
325
|
|
|
356
326
|
/**
|
|
357
327
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -401,6 +371,7 @@ var LWC = (function (exports) {
|
|
|
401
371
|
console.warn(`Failed to set the value "${value}" for the runtime feature flag "${name}" because it is undefined. Available flags: ${availableFlags}.`);
|
|
402
372
|
return;
|
|
403
373
|
}
|
|
374
|
+
// This may seem redundant, but `"production" === 'test-karma-lwc'` is replaced by Karma tests
|
|
404
375
|
{
|
|
405
376
|
// Disallow the same flag to be set more than once in production
|
|
406
377
|
const runtimeValue = lwcRuntimeFlags[name];
|
|
@@ -418,7 +389,7 @@ var LWC = (function (exports) {
|
|
|
418
389
|
*/
|
|
419
390
|
function setFeatureFlagForTest(name, value) {
|
|
420
391
|
}
|
|
421
|
-
/** version: 2.35.
|
|
392
|
+
/** version: 2.35.1 */
|
|
422
393
|
|
|
423
394
|
/**
|
|
424
395
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -482,7 +453,7 @@ var LWC = (function (exports) {
|
|
|
482
453
|
}
|
|
483
454
|
}
|
|
484
455
|
}
|
|
485
|
-
/** version: 2.35.
|
|
456
|
+
/** version: 2.35.1 */
|
|
486
457
|
|
|
487
458
|
/*
|
|
488
459
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -840,6 +811,14 @@ var LWC = (function (exports) {
|
|
|
840
811
|
refVNodes[ref] = vnode;
|
|
841
812
|
}
|
|
842
813
|
}
|
|
814
|
+
// Throw an error if we're running in prod mode. Ensures code is truly removed from prod mode.
|
|
815
|
+
function assertNotProd() {
|
|
816
|
+
/* istanbul ignore if */
|
|
817
|
+
{
|
|
818
|
+
// this method should never leak to prod
|
|
819
|
+
throw new ReferenceError();
|
|
820
|
+
}
|
|
821
|
+
}
|
|
843
822
|
|
|
844
823
|
/*
|
|
845
824
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -1430,7 +1409,6 @@ var LWC = (function (exports) {
|
|
|
1430
1409
|
}
|
|
1431
1410
|
};
|
|
1432
1411
|
}
|
|
1433
|
-
const EMPTY_REFS = freeze(create(null));
|
|
1434
1412
|
const refsCache = new WeakMap();
|
|
1435
1413
|
/**
|
|
1436
1414
|
* This class is the base class for any LWC element.
|
|
@@ -1668,22 +1646,15 @@ var LWC = (function (exports) {
|
|
|
1668
1646
|
}
|
|
1669
1647
|
const {
|
|
1670
1648
|
refVNodes,
|
|
1671
|
-
hasRefVNodes,
|
|
1672
1649
|
cmpTemplate
|
|
1673
1650
|
} = vm;
|
|
1674
1651
|
// For backwards compatibility with component written before template refs
|
|
1675
1652
|
// were introduced, we return undefined if the template has no refs defined
|
|
1676
1653
|
// anywhere. This fixes components that may want to add an expando called `refs`
|
|
1677
1654
|
// and are checking if it exists with `if (this.refs)` before adding it.
|
|
1678
|
-
// Note
|
|
1679
|
-
// because a template may have `lwc:ref` defined within a falsy `if:true` block.
|
|
1680
|
-
if (!hasRefVNodes) {
|
|
1681
|
-
return;
|
|
1682
|
-
}
|
|
1683
|
-
// For templates that are using `lwc:ref`, if there are no refs currently available
|
|
1684
|
-
// (e.g. refs inside of a falsy `if:true` block), we return an empty object.
|
|
1655
|
+
// Note we use a null refVNodes to indicate that the template has no refs defined.
|
|
1685
1656
|
if (isNull(refVNodes)) {
|
|
1686
|
-
return
|
|
1657
|
+
return;
|
|
1687
1658
|
}
|
|
1688
1659
|
// The refNodes can be cached based on the refVNodes, since the refVNodes
|
|
1689
1660
|
// are recreated from scratch every time the template is rendered.
|
|
@@ -2500,10 +2471,60 @@ var LWC = (function (exports) {
|
|
|
2500
2471
|
}
|
|
2501
2472
|
freeze(BaseBridgeElement);
|
|
2502
2473
|
seal(BaseBridgeElement.prototype);
|
|
2474
|
+
const swappedStyleMap = new WeakMap();
|
|
2475
|
+
const activeTemplates = new WeakMap();
|
|
2476
|
+
const activeComponents = new WeakMap();
|
|
2477
|
+
const activeStyles = new WeakMap();
|
|
2478
|
+
function getStyleOrSwappedStyle(style) {
|
|
2479
|
+
assertNotProd(); // this method should never leak to prod
|
|
2480
|
+
const visited = new Set();
|
|
2481
|
+
while (swappedStyleMap.has(style) && !visited.has(style)) {
|
|
2482
|
+
visited.add(style);
|
|
2483
|
+
style = swappedStyleMap.get(style);
|
|
2484
|
+
}
|
|
2485
|
+
return style;
|
|
2486
|
+
}
|
|
2503
2487
|
function setActiveVM(vm) {
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2488
|
+
assertNotProd(); // this method should never leak to prod
|
|
2489
|
+
// tracking active component
|
|
2490
|
+
const Ctor = vm.def.ctor;
|
|
2491
|
+
let componentVMs = activeComponents.get(Ctor);
|
|
2492
|
+
if (isUndefined$1(componentVMs)) {
|
|
2493
|
+
componentVMs = new Set();
|
|
2494
|
+
activeComponents.set(Ctor, componentVMs);
|
|
2495
|
+
}
|
|
2496
|
+
// this will allow us to keep track of the hot components
|
|
2497
|
+
componentVMs.add(vm);
|
|
2498
|
+
// tracking active template
|
|
2499
|
+
const tpl = vm.cmpTemplate;
|
|
2500
|
+
if (tpl) {
|
|
2501
|
+
let templateVMs = activeTemplates.get(tpl);
|
|
2502
|
+
if (isUndefined$1(templateVMs)) {
|
|
2503
|
+
templateVMs = new Set();
|
|
2504
|
+
activeTemplates.set(tpl, templateVMs);
|
|
2505
|
+
}
|
|
2506
|
+
// this will allow us to keep track of the templates that are
|
|
2507
|
+
// being used by a hot component
|
|
2508
|
+
templateVMs.add(vm);
|
|
2509
|
+
// tracking active styles associated to template
|
|
2510
|
+
const stylesheets = tpl.stylesheets;
|
|
2511
|
+
if (!isUndefined$1(stylesheets)) {
|
|
2512
|
+
flattenStylesheets(stylesheets).forEach((stylesheet) => {
|
|
2513
|
+
// this is necessary because we don't hold the list of styles
|
|
2514
|
+
// in the vm, we only hold the selected (already swapped template)
|
|
2515
|
+
// but the styles attached to the template might not be the actual
|
|
2516
|
+
// active ones, but the swapped versions of those.
|
|
2517
|
+
stylesheet = getStyleOrSwappedStyle(stylesheet);
|
|
2518
|
+
let stylesheetVMs = activeStyles.get(stylesheet);
|
|
2519
|
+
if (isUndefined$1(stylesheetVMs)) {
|
|
2520
|
+
stylesheetVMs = new Set();
|
|
2521
|
+
activeStyles.set(stylesheet, stylesheetVMs);
|
|
2522
|
+
}
|
|
2523
|
+
// this will allow us to keep track of the stylesheet that are
|
|
2524
|
+
// being used by a hot component
|
|
2525
|
+
stylesheetVMs.add(vm);
|
|
2526
|
+
});
|
|
2527
|
+
}
|
|
2507
2528
|
}
|
|
2508
2529
|
}
|
|
2509
2530
|
function swapTemplate(oldTpl, newTpl) {
|
|
@@ -4335,9 +4356,17 @@ var LWC = (function (exports) {
|
|
|
4335
4356
|
vmBeingRendered = vm;
|
|
4336
4357
|
}
|
|
4337
4358
|
function validateSlots(vm, html) {
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4359
|
+
assertNotProd(); // this method should never leak to prod
|
|
4360
|
+
const { cmpSlots } = vm;
|
|
4361
|
+
const { slots = EmptyArray } = html;
|
|
4362
|
+
for (const slotName in cmpSlots.slotAssignments) {
|
|
4363
|
+
// eslint-disable-next-line @lwc/lwc-internal/no-production-assert
|
|
4364
|
+
assert.isTrue(isArray$1(cmpSlots.slotAssignments[slotName]), `Slots can only be set to an array, instead received ${toString$1(cmpSlots.slotAssignments[slotName])} for slot "${slotName}" in ${vm}.`);
|
|
4365
|
+
if (slotName !== '' && ArrayIndexOf.call(slots, slotName) === -1) {
|
|
4366
|
+
// TODO [#1297]: this should never really happen because the compiler should always validate
|
|
4367
|
+
// eslint-disable-next-line @lwc/lwc-internal/no-production-assert
|
|
4368
|
+
logError(`Ignoring unknown provided slot name "${slotName}" in ${vm}. Check for a typo on the slot attribute.`, vm);
|
|
4369
|
+
}
|
|
4341
4370
|
}
|
|
4342
4371
|
}
|
|
4343
4372
|
function validateLightDomTemplate(template, vm) {
|
|
@@ -4447,9 +4476,7 @@ var LWC = (function (exports) {
|
|
|
4447
4476
|
}
|
|
4448
4477
|
if ("production" !== 'production') ;
|
|
4449
4478
|
// reset the refs; they will be set during the tmpl() instantiation
|
|
4450
|
-
|
|
4451
|
-
vm.hasRefVNodes = hasRefVNodes;
|
|
4452
|
-
vm.refVNodes = hasRefVNodes ? create(null) : null;
|
|
4479
|
+
vm.refVNodes = html.hasRefs ? create(null) : null;
|
|
4453
4480
|
// right before producing the vnodes, we clear up all internal references
|
|
4454
4481
|
// to custom elements from the template.
|
|
4455
4482
|
vm.velements = [];
|
|
@@ -4606,7 +4633,7 @@ var LWC = (function (exports) {
|
|
|
4606
4633
|
const cmpEventListenerMap = new WeakMap();
|
|
4607
4634
|
function getWrappedComponentsListener(vm, listener) {
|
|
4608
4635
|
if (!isFunction$1(listener)) {
|
|
4609
|
-
throw new TypeError(); // avoiding problems with non-valid listeners
|
|
4636
|
+
throw new TypeError('Expected an EventListener but received ' + typeof listener); // avoiding problems with non-valid listeners
|
|
4610
4637
|
}
|
|
4611
4638
|
let wrappedListener = cmpEventListenerMap.get(listener);
|
|
4612
4639
|
if (isUndefined$1(wrappedListener)) {
|
|
@@ -4739,7 +4766,6 @@ var LWC = (function (exports) {
|
|
|
4739
4766
|
mode,
|
|
4740
4767
|
owner,
|
|
4741
4768
|
refVNodes: null,
|
|
4742
|
-
hasRefVNodes: false,
|
|
4743
4769
|
children: EmptyArray,
|
|
4744
4770
|
aChildren: EmptyArray,
|
|
4745
4771
|
velements: EmptyArray,
|
|
@@ -6646,7 +6672,7 @@ var LWC = (function (exports) {
|
|
|
6646
6672
|
function isNull(obj) {
|
|
6647
6673
|
return obj === null;
|
|
6648
6674
|
}
|
|
6649
|
-
/** version: 2.35.
|
|
6675
|
+
/** version: 2.35.1 */
|
|
6650
6676
|
|
|
6651
6677
|
/*
|
|
6652
6678
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7199,7 +7225,7 @@ var LWC = (function (exports) {
|
|
|
7199
7225
|
});
|
|
7200
7226
|
freeze(LightningElement);
|
|
7201
7227
|
seal(LightningElement.prototype);
|
|
7202
|
-
/* version: 2.35.
|
|
7228
|
+
/* version: 2.35.1 */
|
|
7203
7229
|
|
|
7204
7230
|
exports.LightningElement = LightningElement;
|
|
7205
7231
|
exports.__unstable__ProfilerControl = profilerControl;
|