lwc 2.38.1 → 2.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +203 -122
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +203 -122
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +154 -40
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +353 -207
- package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +305 -153
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +203 -122
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +154 -40
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +353 -207
- package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +305 -153
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +168 -75
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +168 -75
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});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:M,push:T,reduce:k,reverse:A,shift:N,slice:L,some:x,sort:_,splice:P,unshift:O,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:F,replace:I,split:$,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 G(e){return!1===e}function U(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function K(e){return"string"==typeof e}function z(){}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(I.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="$$lwc-synthetic-mode",le="$scoped$",ce="$nativeGetElementById$",ae="$nativeQuerySelectorAll$",ue="http://www.w3.org/XML/1998/namespace",de="http://www.w3.org/2000/svg",fe="http://www.w3.org/1999/xlink",he=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:pe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:me}=(()=>{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}})(),ge=new Map,we=new Map;function ye(e){const t=ee[e];if(!W(t))return t;const n=me.get(e);if(!W(n))return n;const r=ge.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=F.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return ge.set(e,o),o}function be(e){const t=J[e];if(!W(t))return t;const n=pe.get(e);if(!W(n))return n;const r=we.get(e);if(!W(r))return r;const o=I.call(e,he,(e=>e[1].toUpperCase()));return we.set(e,o),o}const ve={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_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const Ce=ne.lwcRuntimeFlags;function Ee(e,t){return W(l(t,e))}function Se(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 Me(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Ee(r,e)&&Se(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Me();const Te=[];let ke=z,Ae=!1;const Ne={attachDispatcher(e){Ae=!0,ke=e;for(const e of Te)try{e()}catch(e){console.error("Could not invoke callback",e)}Te.length=0},detachDispatcher(){Ae=!1,ke=z}};function Le(e){Ae?e():Te.push(e)}function xe(e,t){Ae&&ke(e,t)}function _e(e){return`<${B.call(e.tagName)}>`}function Pe(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,_e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Oe=new Set;function Re(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);)T.call(t,n+_e(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Oe.has(o))return;Oe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function De(e,t){Re("error",e,t,!1)}const Fe=new WeakMap;let Ie=null;function $e(e,t){const n=Fe.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 He(e,t){if(null===Ie)return;const n=Ie,o=function(e){let t=Fe.get(e);if(W(t)){const n=r(null);t=n,Fe.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 Be{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Ie;let n;Ie=this;try{e()}catch(e){n=Object(e)}finally{if(Ie=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){T.call(e,this),T.call(this.listeners,e)}}function We(e,t){$e(e.component,t)}function Ve(e,t){He(e.component,t)}function je(e){return new Be(e)}let Ge=[];const Ue=32,Ye=h(r(null)),Ke=h([]);function ze(){const e=Ge;Ge=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function qe(e){0===Ge.length&&Promise.resolve().then(ze),T.call(Ge,e)}const Xe=/;(?![^(]*\))/g,Ze=/:(.+)/;function Qe(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function Je(e){const t=[];for(const n of e)m(n)?t.push(...Je(n)):t.push(n);return t}function et(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function tt(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function nt(e){return U(e)&&u.call(e,"__circular__")}const rt="undefined"!=typeof HTMLElement?HTMLElement:function(){},ot=rt.prototype;let st,it=null;function lt(e,t){it=null,st=void 0}function ct(e,t){it=e,st=t}const at=r(null);function ut(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,We(e,t))}R.call(f(ee),(e=>{const t=Z(ot,e);W(t)||(at[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(ot,e);W(t)||(at[e]=t)}));const{isArray:dt}=Array,{prototype:ft,getPrototypeOf:ht,create:pt,defineProperty:mt,isExtensible:gt,getOwnPropertyDescriptor:wt,getOwnPropertyNames:yt,getOwnPropertySymbols:bt,preventExtensions:vt,hasOwnProperty:Ct}=Object,{push:Et,concat:St}=Array.prototype;function Mt(e){return void 0===e}function Tt(e){return"function"==typeof e}const kt=new WeakMap;function At(e,t){kt.set(e,t)}const Nt=e=>kt.get(e)||e;class Lt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Mt(n)||(e.get=this.wrapGetter(n)),Mt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=wt(n,t);if(!Mt(r)){const n=this.wrapDescriptor(r);mt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;St.call(yt(t),bt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Mt(n)||Ct.call(e,n)||mt(e,n,pt(null)),vt(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=Mt(n)||Ct.call(t,n)?[]:[n];return Et.apply(r,yt(t)),Et.apply(r,bt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!gt(e)&&(!!gt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ht(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=wt(n,t);if(Mt(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},mt(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const xt=new WeakMap,_t=new WeakMap,Pt=new WeakMap,Ot=new WeakMap;class Rt extends Lt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=xt.get(e);if(!Mt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Nt(this)))};return xt.set(e,r),Pt.set(r,e),r}wrapSetter(e){const t=_t.get(e);if(!Mt(t))return t;const n=function(t){e.call(Nt(this),Nt(t))};return _t.set(e,n),Ot.set(n,e),n}unwrapDescriptor(e){if(Ct.call(e,"value"))e.value=Nt(e.value);else{const{set:t,get:n}=e;Mt(n)||(e.get=this.unwrapGetter(n)),Mt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Pt.get(e);if(!Mt(t))return t;const n=this,r=function(){return Nt(e.call(n.wrapValue(this)))};return xt.set(r,e),Pt.set(e,r),r}unwrapSetter(e){const t=Ot.get(e);if(!Mt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return _t.set(r,e),Ot.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&&dt(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(gt(e)){const{originalTarget:t}=this;if(vt(t),gt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!Ct.call(r,t)||(mt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Dt=new WeakMap,Ft=new WeakMap;class It extends Lt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Dt.get(e);if(!Mt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Nt(this)))};return Dt.set(e,r),r}wrapSetter(e){const t=Ft.get(e);if(!Mt(t))return t;const n=function(e){};return Ft.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 $t(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(dt(e))return!0;const t=ht(e);return t===ft||null===t||null===ht(t)}const Ht=(e,t)=>{},Bt=(e,t)=>{};function Wt(e){return dt(e)?[]:{}}const Vt=Symbol.for("@@lockerLiveValue"),jt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Tt(t)?t:Bt,this.valueObserved=Tt(n)?n:Ht,this.valueIsObservable=Tt(r)?r:$t,this.tagPropertyKey=o}getProxy(e){const t=Nt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Nt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Nt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Mt(t)){const n=new Rt(this,e);t=new Proxy(Wt(e),n),At(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Mt(t)){const n=new It(this,e);t=new Proxy(Wt(e),n),At(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:He,valueMutated:$e,tagPropertyKey:Vt});function Gt(e){return jt.getReadOnlyProxy(e)}function Ut(e){return jt.getProxy(e)}function Yt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=lo(this);if(!Hr(t))return Ve(t,e),n.call(t.elm)},set(t){const n=lo(this);return ut(n,e,t),r.call(n.elm,t)}}}const Kt=new WeakMap,zt=function(){if(V($r))throw new TypeError("Illegal constructor");const e=$r,{def:t,elm:n}=e,{bridge:r}=t;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 this[Vt]=void 0,io(this,e),io(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[ie]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,io(i,e),i}(e):e.renderRoot=n,this};zt.prototype={constructor:zt,dispatchEvent(e){const t=lo(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=lo(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Kr(r,t),n)},removeEventListener(e,t,n){const r=lo(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Kr(r,t),n)},hasAttribute(e){const t=lo(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=lo(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=lo(this),{elm:n,renderer:{removeAttribute:r}}=t;ct(n,e),r(n,e),lt()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=lo(this);ct(n,t),r(n,t,e),lt()},getAttribute(e){const t=lo(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=lo(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=lo(this),{elm:r,renderer:{setAttribute:o}}=n;ct(r,e),o(r,e,t),lt()},setAttributeNS(e,t,n){const r=lo(this),{elm:o,renderer:{setAttribute:s}}=r;ct(o,t),s(o,t,n,e),lt()},getBoundingClientRect(){const e=lo(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=lo(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=lo(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return lo(this).shadowRoot},get refs(){const e=lo(this);if(Ar)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=Kt.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),Kt.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=lo(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=lo(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=lo(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=lo(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=lo(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=lo(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=lo(this);return e.renderer.ownerDocument(e.elm)},render(){return lo(this).def.template},toString(){return`[object ${lo(this).def.name}]`}};const qt=r(null),Xt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Xt)qt[e]={value(t){const n=lo(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(zt.prototype,qt);const Zt=r(null);for(const e in at)Zt[e]=Yt(e,at[e]);function Qt(e){return{get(){const t=lo(this);return Ve(t,e),t.cmpFields[e]},set(t){ut(lo(this),e,t)},enumerable:!0,configurable:!0}}o(zt.prototype,Zt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Me(zt.prototype),s(zt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Jt=new Map;function en(e,t){let n=Jt.get(e);if(!W(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),Jt.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:s,consumerDisconnectedCallback:i}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(i)||i(r)})),s(r)}))}}const tn="$$DeprecatedWiredElementHostKey$$",nn="$$DeprecatedWiredParamsMetaKey$$",rn=new Map;function on(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{ut(e,t,n)}}(e,t):function(e,t){return n=>{vo(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r),a=e=>{c(e)};let u,d;s(a,tn,{value:e.elm}),s(a,nn,{value:l}),vo(e,e,z,(()=>{d=new o(a)}),z);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=je((()=>{!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=>{vo(e,e,z,(()=>{d.update(t,u)}),z)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jt.get(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;T.call(i,(()=>{c(s,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function sn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};rn.set(e,o)}function ln(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};rn.set(e,o)}function cn(e){return{get(){const t=lo(this);if(!Hr(t))return Ve(t,e),t.cmpProps[e]},set(t){const n=lo(this);n.cmpProps[e]=t,We(n,e)},enumerable:!0,configurable:!0}}function an(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(e){lo(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function un(e){return{get(){const t=lo(this);return Ve(t,e),t.cmpFields[e]},set(t){const n=lo(this),r=Ut(t);ut(n,e,r)},enumerable:!0,configurable:!0}}function dn(e){return{get(){const t=lo(this);return Ve(t,e),t.cmpFields[e]},set(t){ut(lo(this),e,t)},enumerable:!0,configurable:!0}}const fn=new Map;const hn={apiMethods:Ye,apiFields:Ye,apiFieldsConfig:Ye,wiredMethods:Ye,wiredFields:Ye,observedFields:Ye};const pn=new Set;function mn(){return[]}pn.add(mn);const gn=r(null),wn=r(null);function yn(e){let t=gn[e];return W(t)&&(t=gn[e]=function(){const t=lo(this),{getHook:n}=t;return n(t.component,e)}),t}function bn(e){let t=wn[e];return W(t)&&(t=wn[e]=function(t){const n=lo(this),{setHook:r}=n;t=Gt(t),r(n.component,e,t)}),t}function vn(e){return function(){const t=lo(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function Cn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):function(e,t){return e!==it||t!==st}(this,n)&&(this[s]=o)}}function En(e,t,n){let i;U(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[ye(n)]=n,u[n]={get:yn(n),set:bn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:vn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Cn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const Sn=En(rt,c(at),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Me(Sn.prototype),i(Sn),h(Sn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const Mn=new WeakMap;function Tn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=fn.get(e);return W(t)?hn: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(nt(t)){const e=tt(t);t=e===t?zt:e}return t}(e),E=C!==zt?An(C):Nn,S=En(E.bridge,f(l),f(u)),M=n(r(null),E.props,l),T=n(r(null),E.propsConfig,c),k=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 L=E.renderMode;W(s)||(L="light"===s?0:1);const x=function(e){return Vr.get(e)}(e)||E.template,_=e.name||E.name;o(m,p);return{ctor:e,name:_,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:x,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function kn(e){if(!U(e))return!1;if(e.prototype instanceof zt)return!0;let t=e;do{if(nt(t)){const e=tt(t);if(e===t)return!0;t=e}if(t===zt)return!0}while(!V(t)&&(t=a(t)));return!1}function An(e){let t=Mn.get(e);if(W(t)){if(nt(e)){return t=An(tt(e)),Mn.set(e,t),t}if(!kn(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=Tn(e),Mn.set(e,t)}return t}const Nn={ctor:zt,name:zt.name,props:Zt,propsConfig:Ye,methods:Ye,renderMode:1,shadowSupportMode:"reset",wire:Ye,bridge:Sn,template:mn,render:zt.prototype.render};function Ln(e){return`${e}-host`}function xn(e){return br.h("style",{key:"style",attrs:{type:"text/css"}},[br.t(e)])}function _n(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))T.apply(r,_n(i,t,n));else{const e=i[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){De("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=Pn(n)),c=V(o)||0===o.shadowMode),T.call(r,i(s,l,c))}}return r}function Pn(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function On(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function Rn(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,xn);{const n=function(e){const t=Pn(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 Dn(e){const{type:t}=e;return 2===t||3===t}function Fn(e,t){return e.key===t.key&&e.sel===t.sel}function In(e){return 5===e.type}function $n(e){return 6===e.type}const Hn=58;const Bn=58;function Wn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Vn(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=Ye),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===(Wn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const jn=r(null);function Gn(e){if(null==e)return Ye;e=K(e)?e:e+"";let t=jn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)F.call(e,n)===Ue&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),jn[e]=t,t}function Un(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 Yn(e,t,n,r){ar(t)?dr(e,t,n,r):fr(e,t,n,r)}function Kn(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&&tr(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?fr(e.children,o,n,r):dr(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;or(e,t,n),Yn(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);Zn(e,n,r,!0),qn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(or(e,t,r),!W(o)){ir(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&ar(e.children)&&cr(t.children)}Yn(e.children,t.children,n,r),W(o)||function(e){ao(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function zn(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);er(i,o,r),nr(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);er(i,o,r),nr(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);er(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));nr(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Xn(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)?de:void 0,a=e.elm=l(o,c);er(a,s,r),sr(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),or(null,e,r),nr(a,t,n,r),Xn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:qn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function qn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{no(e)},a=e=>{ro(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=co(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=so(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,er(u,s,r),sr(u,s,r),l&&ir(e,l),or(null,e,r),nr(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||po(l)),Xn(e.children,u,r,null),l&&function(e){ao(e)}(l)}function Xn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Jn(s)&&zn(s,t,n,r)}}function Zn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Qn(e.children,t,n,r):rr(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Qn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){oo(e)}(t)}}}function Qn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Jn(s)&&Zn(s,t,n,r)}}function Jn(e){return null!=e}function er(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function tr(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function nr(e,t,n,r){r.insert(e,t,n)}function rr(e,t,n){n.remove(e,t)}function or(e,t,n){V(e)&&(Un(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=Gn(o),a=Gn(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;K(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)?Ye:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(be(e)in o?l(o,e,t):F.call(e,3)===Bn?i(o,e,t,ue):F.call(e,5)===Bn?i(o,e,t,fe):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)?Ye: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&&(ct(s,e),F.call(e,3)===Hn?i(s,e,t,ue):F.call(e,5)===Hn?i(s,e,t,fe):V(t)||W(t)?l(s,e):i(s,e,t),lt())}}(e,t,n),Vn(e,t,n)}function sr(e,t,n){const r=On(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 ir(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];T.call(n,r),o=o||!(!r||!In(r))}if(!o)return e;for(;!W(r=M.call(n));)if(!V(r)&&In(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return cr(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="";Dn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":$n(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},G(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Ur(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 Ur(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 Ur(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Ke)}const lr=new WeakMap;function cr(e){lr.set(e,1)}function ar(e){return lr.has(e)}function ur(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Jn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function dr(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;)Jn(l)?Jn(c)?Jn(m)?Jn(g)?Fn(l,m)?(Kn(l,m,n,r),l=e[++o],m=t[++s]):Fn(c,g)?(Kn(c,g,n,r),c=e[--i],g=t[--p]):Fn(l,g)?(Kn(l,g,n,r),nr(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Fn(c,m)?(Kn(c,m,n,r),nr(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=ur(e,o,i)),d=u[m.key],W(d)?(zn(m,n,r,l.elm),m=t[++s]):(f=e[d],Jn(f)&&(f.sel!==m.sel?zn(m,n,r,l.elm):(Kn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,nr(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(!Jn(e)&&o<a);h=Jn(e)?e.elm:null,Xn(t,n,r,h,s,p+1)}else Qn(e,n,r,!0,o,i+1)}function fr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Xn(t,n,r,null);if(0===s)return void Qn(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&&(Jn(s)?Jn(l)?(Kn(s,l,n,r),i=l.elm):Zn(s,n,r,!0):Jn(l)&&(zn(l,n,r,i),i=l.elm))}}const hr=Symbol.iterator;function pr(e,t,n=Ke){const r=Lr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||et(r,s,i),i}function mr(e,t,n,r=Ke){const o=Lr(),{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){T.call(Lr().velements,e)}(l),W(i)||et(o,i,l),l}function gr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Lr()}}function wr(e){return cr(e),e}let yr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const br=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=$n(n);if(e!==!W(t.slotData))continue;if(e){const e=Lr();xr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{xr(e)}}else T.call(o,n)}}n=o}const o=Lr(),{renderMode:s,shadowMode:i}=o;return 0===s?(wr(n),n):(1===i&&wr(n),pr("slot",t,n))},h:pr,c:mr,i:function(e,t){const n=[];if(wr(n),W(e)||null===e)return n;const r=e[hr]();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)?T.apply(n,e):T.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];wr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:gr,d:function(e){return null==e?"":String(e)},b:function(e){const t=Lr();if(V(t))throw new Error;const n=t;return function(t){Wr(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:Lr()}},dc:function(e,t,n,r=Ke){if(null==t)return null;if(!kn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return mr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[gr(""),...t,gr("")],stable:n,owner:Lr()}},ti:function(e){return e>0&&!(j(e)||G(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Lr()}},gid:function(e){const t=Lr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Lr();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 yr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Lr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let vr=!1,Cr=z;const Er={enableProfiler(){vr=!0},disableProfiler(){vr=!1},attachDispatcher(e){Cr=e,this.enableProfiler()},detachDispatcher(){const e=Cr;return Cr=z,this.disableProfiler(),e}};function Sr(e,t){vr&&Cr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Mr(e,t){vr&&Cr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Tr(e,t){vr&&Cr(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 kr(e,t){vr&&Cr(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 Ar=!1,Nr=null;function Lr(){return Nr}function xr(e){Nr=e}function _r(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Lr(),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 Pr=_r(((e,t)=>{const{createFragment:n}=t;return n(e)})),Or=_r(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Rr(e,t){const n=Ar,o=Nr;let s=[];return vo(e,e.owner,(()=>{Nr=e,Sr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||yo(e),c=t,!pn.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=Fr(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(Ln(w)),b&&l(n,Ln(w)));const v=Ir(a),C=Ir(d);(v||C)&&(p=u),W(p)||(h&&(i(n).add(Ln(p)),m=!0),f&&(c(n,Ln(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 Ir(n)&&(s=_n(n,r,e)),Ir(o)&&T.apply(s,_n(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:Rn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Ar=!0,s=t.call(void 0,br,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||O.apply(s,a)}))}),(()=>{Ar=n,Nr=o,Mr(1,e)})),s}function Dr(e){if(Ir(e))for(let t=0;t<e.length;t++)if(j(e[t][le]))return!0;return!1}function Fr(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Dr(n)||Dr(r)}function Ir(e){return!W(e)&&!V(e)&&e.length>0}let $r=null;function Hr(e){return $r===e}function Br(e,t,n){const{component:r,callHook:o,owner:s}=e;vo(e,s,z,(()=>{o(r,t,n)}),z)}function Wr(e,t,n,r){const{callHook:o,owner:s}=e;vo(e,s,z,(()=>{o(n,t,[r])}),z)}const Vr=new Map;function jr(e){return je((()=>{const{isDirty:t}=e;G(t)&&(Ur(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===fo.length&&qe(ho);T.call(fo,e)}(e))}))}function Gr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Lr();let i,l=!1;return vo(e,o,(()=>{xr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{xr(s)})),l?Rr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Ur(e){e.isDirty=!0}const Yr=new WeakMap;function Kr(e,t){if(!U(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Yr.get(t);return W(n)&&(n=function(n){Wr(e,t,void 0,n)},Yr.set(t,n)),n}const zr=r(null),qr=["rendered","connected","disconnected"];function Xr(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 Zr=0;const Qr=new WeakMap;function Jr(e,t,n=[]){return t.apply(e,n)}function eo(e,t,n){e[t]=n}function to(e,t){return e[t]}function no(e){const t=lo(e);Tr(7,t),1===t.state&&ro(e),po(t),ao(t),kr(7,t)}function ro(e){oo(lo(e))}function oo(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){G(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=zr;t&&Xr(e,t);mo(e)&&function(e){const{wiredDisconnecting:t}=e.context;vo(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;W(n)||(Sr(5,e),Br(e,n),Mr(5,e))}(e),go(e),function(e){const{aChildren:t}=e;wo(t)}(e)}}function so(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=An(t),u={elm:e,def:a,idx:Zr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Ke,aChildren:Ke,velements:Ke,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:Ye,wiredConnecting:Ke,wiredDisconnecting:Ke},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Jr,setHook:eo,getHook:to,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else U(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return Je(n)}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(lwcRuntimeFlags.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=jr(u),function(e,t){const n=$r;let r;Sr(0,e),$r=e;try{const e=new t;if($r.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Mr(0,e),$r=n,!W(r))throw Pe(e,r),r}}(u,a.ctor),mo(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=rn.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=on(e,t,i),c=i.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function io(e,t){Qr.set(e,t)}function lo(e){return Qr.get(e)}function co(e){return Qr.get(e)}function ao(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&&vo(e,e,(()=>{Sr(2,e)}),(()=>{Yn(r,t,n,o)}),(()=>{Mr(2,e)}));1===e.state&&uo(e)}(e,Gr(e))}}function uo(e){const{def:{renderedCallback:t}}=e,{rendered:n}=zr;n&&Xr(e,n),W(t)||(Sr(4,e),Br(e,t),Mr(4,e))}let fo=[];function ho(){Tr(8);const e=fo.sort(((e,t)=>e.idx-t.idx));fo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{ao(r)}catch(r){throw t+1<n&&(0===fo.length&&qe(ho),O.apply(fo,L.call(e,t+1))),kr(8),r}}kr(8)}function po(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=zr;n&&Xr(e,n),mo(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)||(Sr(3,e),Br(e,r),Mr(3,e))}function mo(e){return c(e.def.wire).length>0}function go(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=co(n);W(e)||oo(e)}}}function wo(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:wo(n.children);break;case 3:oo(lo(n.elm));break}}}function yo(e){bo(e.children,e),e.children=Ke,go(e),e.velements=Ke}function bo(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,s=e.length;o<s;o+=1){const s=e[o];V(s)||(In(s)?bo(s.children,t):W(s.elm)||r(s.elm,n))}}function vo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){Pe(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;yo(e),Sr(6,e);Br(n,n.def.errorCallback,[s,s.wcStack]),Mr(6,e)}}}const Co=ne[ce],Eo=ne[ae];function So(e,t,n){let r=co(e.getRootNode().host);W(r)&&(r=co(t.getRootNode().host)),W(r)||xe("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function Mo(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!K(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=Eo.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){So(o,e,t);break}}}}else{const o=function(e){return K(e)?b.call($.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=Co.call(document,n);if(!V(o)){o.getRootNode()!==r&&So(e,o,t)}}}}delete ne[ce],delete ne[ae];let To=!1;"undefined"!=typeof CSS&&U(CSS.escape)&&u.call(Element.prototype,se)&&Le((function(){if(To)return;To=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&Mo(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;U(e)&&U(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),Mo(this,"id",e)},enumerable:!0,configurable:!0})}}));const ko=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function Ao(e){return e instanceof zt||e instanceof Sn}function No(e,t,n,r){if(!Ao(e)){const o=function(e){const{host:t}=e.getRootNode(),n=W(t)?void 0:co(t);if(!W(n))return n;let r=e;for(;!V(r=r.parentElement);)if(Ao(r)){const e=co(r);if(!W(e))return e}}(e);let s;n&&(s=V(r)?"null":typeof r),xe("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Le((function(){const{prototype:e}=Element;for(const t of ko){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return No(this,t,!1,void 0),r.call(this)},set(e){return No(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Lo=!1;function xo(e){const t=Gr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Oo(r(n),t,n,e),uo(e)}function _o(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Fo(t,e,3,n))return Ro(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(!Fo(t,e,8,n))return Ro(e,t,n);const{setProperty:o}=n;return o(e,Po,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!!Fo(n,t,3,r)&&o(e,Po)===o(t,Po);if(8===o(e,"nodeType"))return!!Fo(n,t,8,r)&&o(e,Po)===o(t,Po);if(!Fo(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)&&(De(`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 Ro(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 Oo(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(!Fo(t,e,1,n)||!Io(t,e,n))return Ro(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:Qe(r,"innerHTML")}))}if(Do(t,n),!s){const{getFirstChild:o}=n;Oo(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(!Fo(t,e,1,n)||!Io(t,e,n))return Ro(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=so(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,ir(t,l),Do(t,n),po(l),0!==l.renderMode){const{getFirstChild:r}=n;Oo(r(e),t.children,e,l)}return xo(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const Po="nodeValue";function Oo(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=_o(o,r,i),s=r.elm):(Lo=!0,zn(r,n,i,s),s=r.elm))}if(o){Lo=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),rr(t,n,i)}while(o)}}function Ro(e,t,n){Lo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return zn(t,o,n,e),rr(e,o,n),t.elm}function Do(e,t){Un(e,t),Vn(null,e,t)}function Fo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Io(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;$o(s,r(t,e))||(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=On(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=An(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&Fr(t,n)?Ln(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(Xe);for(const e of n)if(e){const[n,r]=e.split(Ze);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}function $o(e,t){return String(e)===t||!(!V(t)||!W(e)&&!V(e))}let Ho=!1;const Bo=["slots","stylesheetToken","stylesheets","renderMode"],Wo=["$scoped$"],Vo=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let jo=!1;function Go(e){switch(e){case"pop":return M;case"push":return T;case"shift":return N;case"unshift":return O;case"reverse":return A;case"sort":return _;case"fill":return y;case"splice":return P;case"copyWithin":return w}}function Uo(e,t,n){xe(t,{propertyName:n})}function Yo(e){Uo(0,"TemplateMutation",e)}function Ko(e){Uo(0,"StylesheetMutation",e)}function zo(e){qo(e,(e=>{m(e)?function(e){for(const t of Vo){const n=Go(t);e[t]=function(){return Yo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of Wo){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Ko(t),n=e}})}}(e)}))}function qo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?qo(r,t):t(r)}}const Xo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Zo=Xo&&l(document.adoptedStyleSheets,"length").writable,Qo=!W(document.documentMode),Jo=new Map;function es(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function ts(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Qo?es(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function ns(e,t){let n=Jo.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Jo.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=es(e)),n}function rs(e,t){const n=ns(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;Zo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):ts(e,t,n)}const os=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}}(),ss=(e,t)=>{const n=document.createElement(e);return t(n),n},is=new Map,ls=new WeakSet;let cs=!1;const as=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),cs?e(this):(n||r)&&ls.add(this)}}return n&&(o.prototype.connectedCallback=function(){ls.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){ls.has(this)||t(this)}),o};let us;function ds(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});function n(e){return void 0===e}class r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),this.setNewContext=t,this.setDisconnectedCallback=n}}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}}function o(e,t,n,r){e.addEventListener(t,n,r)}function s(e,t){return e.dispatchEvent(t)}return e.addEventListener=o,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=s,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.ownerDocument=function(e){return e.ownerDocument},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.registerContextConsumer=function(e,t,n){s(e,new r(t,n))},e.registerContextProvider=function(e,t,n){o(e,t,(e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})}))},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}us=os?(e,t,n,r)=>{let o=is.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=as(n,r),customElements.define(e,o),is.set(e,o)}cs=!0;try{return new o(t)}finally{cs=!1}}:ss;const fs=n(ds(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=ns(e,!1);t.global||(t.global=!0,ts(e,document.head,t))}(e):rs(e,t)},createCustomElement:us,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function hs(e,t,n){const r=so(e,t,fs,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function ps(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(!U(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(co(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Lo=!1,po(e),xo(e),Lo&&De("Hydration completed with errors.",e)}(hs(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),hs(e,t,n),no(e)}}const ms=new WeakSet;function gs(e){var t;const n=function(e){return An(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(ps(this,e,{}),ms.add(this)):so(this,e,fs,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ms.has(this)?ms.delete(this):no(this)}disconnectedCallback(){ro(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const ws=Node,ys=new WeakMap,bs=new WeakMap;function vs(e,t){const n=t.get(e);return W(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=ws.prototype;n(ws.prototype,{appendChild(t){return vs(e.call(this,t),ys)},insertBefore(e,n){return vs(t.call(this,e,n),ys)},removeChild(e){return vs(r.call(this,e),bs)},replaceChild(e,t){const n=o.call(this,e,t);return vs(n,bs),vs(e,ys),n}})}const Cs=Node;const Es=new Map;function Ss(e,t,n){var r,o,s;r=t,o=e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})},e.addEventListener(r,o,s)}s(zt,"CustomElementConstructor",{get(){return function(e){if(e===zt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Es.get(e);return W(t)&&(t=gs(e),Es.set(e,t)),t}(this)}}),i(zt),h(zt.prototype),e.LightningElement=zt,e.__unstable__ProfilerControl=Er,e.__unstable__ReportingControl=Ne,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){return en(e,Ss)},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(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=fs,o=B.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{no(e)},i=e=>{ro(e)}),r(o,(e=>{so(e,n,fs,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(ys.set(e,no),bs.set(e,ro))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||qo(e.stylesheets,(e=>{i(e)}))):(!function(e){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),Le((()=>{!function(e){W(e.stylesheets)||zo(e.stylesheets);for(const t of Bo){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){jo||Yo(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){Yo("stylesheetTokens"),jo=!0,t.set.call(this,e),jo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=co(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=An(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:ye(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ps,e.isComponentConstructor=kn,e.isNodeFromTemplate=function(e){if(G(e instanceof Cs))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&G(u.call(a(t),"synthetic")))||fs.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Pr,e.parseSVGFragment=Or,e.readonly=function(e){return Gt(e)},e.register=function(e){for(let t=0;t<qr.length;++t){const n=qr[t];if(n in e){let t=zr[n];W(t)&&(zr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Vr.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=an(0,w)}else w=W(w)||W(w.get)?cn(e):an(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,sn(w,t,o,i)}else w=dn(e),p[e]=w,ln(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=un(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){fn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return pn.add(e),e},e.renderer=fs,e.rendererFactory=ds,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(ve[e])){const n=f(ve).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=Ce[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(Ce,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(Ho,"Hooks are already overridden, only one definition is allowed."),Ho=!0,n=e.sanitizeHtmlContent,yr=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 Ut(e);throw new Error},e.unwrap=function(e){return jt.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});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:M,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:x,splice:P,unshift:R,forEach:O}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:F,replace:I,split:$,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 G(e){return!1===e}function U(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function K(e){return"string"==typeof e}function z(){}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 O.call(Q,(n=>{const r=B.call(I.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="$$lwc-synthetic-mode",le="$scoped$",ce="$nativeGetElementById$",ae="$nativeQuerySelectorAll$",ue="http://www.w3.org/XML/1998/namespace",de="http://www.w3.org/2000/svg",fe="http://www.w3.org/1999/xlink",he=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:pe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:me}=(()=>{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}})(),ge=new Map,we=new Map;function ye(e){const t=ee[e];if(!W(t))return t;const n=me.get(e);if(!W(n))return n;const r=ge.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=F.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return ge.set(e,o),o}function be(e){const t=J[e];if(!W(t))return t;const n=pe.get(e);if(!W(n))return n;const r=we.get(e);if(!W(r))return r;const o=I.call(e,he,(e=>e[1].toUpperCase()));return we.set(e,o),o}const ve={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_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const Ce=ne.lwcRuntimeFlags;function Ee(e,t){return W(l(t,e))}function Se(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 Me(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Ee(r,e)&&Se(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Me();const Te=[];let ke=z,Ae=!1;const Ne={attachDispatcher(e){Ae=!0,ke=e;for(const e of Te)try{e()}catch(e){console.error("Could not invoke callback",e)}Te.length=0},detachDispatcher(){Ae=!1,ke=z}};function Le(e){Ae?e():Te.push(e)}function _e(e,t){Ae&&ke(e,t)}function xe(e){return`<${B.call(e.tagName)}>`}function Pe(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,xe(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Re=new Set;function Oe(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);)T.call(t,n+xe(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Re.has(o))return;Re.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function De(e,t){Oe("error",e,t,!1)}const Fe=new WeakMap;let Ie=null;function $e(e,t){const n=Fe.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 He(e,t){if(null===Ie)return;const n=Ie,o=function(e){let t=Fe.get(e);if(W(t)){const n=r(null);t=n,Fe.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 Be{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Ie;let n;Ie=this;try{e()}catch(e){n=Object(e)}finally{if(Ie=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){T.call(e,this),T.call(this.listeners,e)}}function We(e,t){$e(e.component,t)}function Ve(e,t){He(e.component,t)}function je(e){return new Be(e)}let Ge=[];const Ue=32,Ye=h(r(null)),Ke=h([]);function ze(){const e=Ge;Ge=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function qe(e){0===Ge.length&&Promise.resolve().then(ze),T.call(Ge,e)}const Xe=/;(?![^(]*\))/g,Ze=/:(.+)/;function Qe(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function Je(e){const t=[];for(const n of e)m(n)?t.push(...Je(n)):t.push(n);return t}function et(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function tt(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function nt(e){return U(e)&&u.call(e,"__circular__")}const rt="undefined"!=typeof HTMLElement?HTMLElement:function(){},ot=rt.prototype;let st,it=null;function lt(e,t){it=null,st=void 0}function ct(e,t){it=e,st=t}const at=r(null);function ut(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,We(e,t))}O.call(f(ee),(e=>{const t=Z(ot,e);W(t)||(at[e]=t)})),O.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(ot,e);W(t)||(at[e]=t)}));const{isArray:dt}=Array,{prototype:ft,getPrototypeOf:ht,create:pt,defineProperty:mt,isExtensible:gt,getOwnPropertyDescriptor:wt,getOwnPropertyNames:yt,getOwnPropertySymbols:bt,preventExtensions:vt,hasOwnProperty:Ct}=Object,{push:Et,concat:St}=Array.prototype;function Mt(e){return void 0===e}function Tt(e){return"function"==typeof e}const kt=new WeakMap;function At(e,t){kt.set(e,t)}const Nt=e=>kt.get(e)||e;class Lt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Mt(n)||(e.get=this.wrapGetter(n)),Mt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=wt(n,t);if(!Mt(r)){const n=this.wrapDescriptor(r);mt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;St.call(yt(t),bt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Mt(n)||Ct.call(e,n)||mt(e,n,pt(null)),vt(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=Mt(n)||Ct.call(t,n)?[]:[n];return Et.apply(r,yt(t)),Et.apply(r,bt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!gt(e)&&(!!gt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ht(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=wt(n,t);if(Mt(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},mt(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const _t=new WeakMap,xt=new WeakMap,Pt=new WeakMap,Rt=new WeakMap;class Ot extends Lt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=_t.get(e);if(!Mt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Nt(this)))};return _t.set(e,r),Pt.set(r,e),r}wrapSetter(e){const t=xt.get(e);if(!Mt(t))return t;const n=function(t){e.call(Nt(this),Nt(t))};return xt.set(e,n),Rt.set(n,e),n}unwrapDescriptor(e){if(Ct.call(e,"value"))e.value=Nt(e.value);else{const{set:t,get:n}=e;Mt(n)||(e.get=this.unwrapGetter(n)),Mt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Pt.get(e);if(!Mt(t))return t;const n=this,r=function(){return Nt(e.call(n.wrapValue(this)))};return _t.set(r,e),Pt.set(e,r),r}unwrapSetter(e){const t=Rt.get(e);if(!Mt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return xt.set(r,e),Rt.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&&dt(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(gt(e)){const{originalTarget:t}=this;if(vt(t),gt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!Ct.call(r,t)||(mt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Dt=new WeakMap,Ft=new WeakMap;class It extends Lt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Dt.get(e);if(!Mt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Nt(this)))};return Dt.set(e,r),r}wrapSetter(e){const t=Ft.get(e);if(!Mt(t))return t;const n=function(e){};return Ft.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 $t(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(dt(e))return!0;const t=ht(e);return t===ft||null===t||null===ht(t)}const Ht=(e,t)=>{},Bt=(e,t)=>{};function Wt(e){return dt(e)?[]:{}}const Vt=Symbol.for("@@lockerLiveValue"),jt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Tt(t)?t:Bt,this.valueObserved=Tt(n)?n:Ht,this.valueIsObservable=Tt(r)?r:$t,this.tagPropertyKey=o}getProxy(e){const t=Nt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Nt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Nt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Mt(t)){const n=new Ot(this,e);t=new Proxy(Wt(e),n),At(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Mt(t)){const n=new It(this,e);t=new Proxy(Wt(e),n),At(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:He,valueMutated:$e,tagPropertyKey:Vt});function Gt(e){return jt.getReadOnlyProxy(e)}function Ut(e){return jt.getProxy(e)}function Yt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=ao(this);if(!Wr(t))return Ve(t,e),n.call(t.elm)},set(t){const n=ao(this);return ut(n,e,t),r.call(n.elm,t)}}}const Kt=new WeakMap,zt=function(){if(V(Br))throw new TypeError("Illegal constructor");const e=Br,{def:t,elm:n}=e,{bridge:r}=t;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 this[Vt]=void 0,co(this,e),co(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[ie]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,co(i,e),i}(e):e.renderRoot=n,this};zt.prototype={constructor:zt,dispatchEvent(e){const t=ao(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=ao(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,qr(r,t),n)},removeEventListener(e,t,n){const r=ao(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,qr(r,t),n)},hasAttribute(e){const t=ao(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=ao(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=ao(this),{elm:n,renderer:{removeAttribute:r}}=t;ct(n,e),r(n,e),lt()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=ao(this);ct(n,t),r(n,t,e),lt()},getAttribute(e){const t=ao(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=ao(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=ao(this),{elm:r,renderer:{setAttribute:o}}=n;ct(r,e),o(r,e,t),lt()},setAttributeNS(e,t,n){const r=ao(this),{elm:o,renderer:{setAttribute:s}}=r;ct(o,t),s(o,t,n,e),lt()},getBoundingClientRect(){const e=ao(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=ao(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=ao(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return ao(this).shadowRoot},get refs(){const e=ao(this);if(Lr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=Kt.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),Kt.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=ao(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=ao(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=ao(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=ao(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=ao(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=ao(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=ao(this);return e.renderer.ownerDocument(e.elm)},render(){return ao(this).def.template},toString(){return`[object ${ao(this).def.name}]`}};const qt=r(null),Xt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Xt)qt[e]={value(t){const n=ao(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(zt.prototype,qt);const Zt=r(null);for(const e in at)Zt[e]=Yt(e,at[e]);function Qt(e){return{get(){const t=ao(this);return Ve(t,e),t.cmpFields[e]},set(t){ut(ao(this),e,t)},enumerable:!0,configurable:!0}}o(zt.prototype,Zt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Me(zt.prototype),s(zt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Jt=new Map;function en(e,t){let n=Jt.get(e);if(!W(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),Jt.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:s,consumerDisconnectedCallback:i}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(i)||i(r)})),s(r)}))}}const tn="$$DeprecatedWiredElementHostKey$$",nn="$$DeprecatedWiredParamsMetaKey$$",rn=new Map;function on(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{ut(e,t,n)}}(e,t):function(e,t){return n=>{Eo(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r),a=e=>{c(e)};let u,d;s(a,tn,{value:e.elm}),s(a,nn,{value:l}),Eo(e,e,z,(()=>{d=new o(a)}),z);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=je((()=>{!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=>{Eo(e,e,z,(()=>{d.update(t,u)}),z)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jt.get(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;T.call(i,(()=>{c(s,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function sn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};rn.set(e,o)}function ln(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};rn.set(e,o)}function cn(e){return{get(){const t=ao(this);if(!Wr(t))return Ve(t,e),t.cmpProps[e]},set(t){const n=ao(this);n.cmpProps[e]=t,We(n,e)},enumerable:!0,configurable:!0}}function an(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(e){ao(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function un(e){return{get(){const t=ao(this);return Ve(t,e),t.cmpFields[e]},set(t){const n=ao(this),r=Ut(t);ut(n,e,r)},enumerable:!0,configurable:!0}}function dn(e){return{get(){const t=ao(this);return Ve(t,e),t.cmpFields[e]},set(t){ut(ao(this),e,t)},enumerable:!0,configurable:!0}}const fn=new Map;const hn={apiMethods:Ye,apiFields:Ye,apiFieldsConfig:Ye,wiredMethods:Ye,wiredFields:Ye,observedFields:Ye};const pn=new Set;function mn(){return[]}pn.add(mn);const gn=r(null),wn=r(null);function yn(e){let t=gn[e];return W(t)&&(t=gn[e]=function(){const t=ao(this),{getHook:n}=t;return n(t.component,e)}),t}function bn(e){let t=wn[e];return W(t)&&(t=wn[e]=function(t){const n=ao(this),{setHook:r}=n;t=Gt(t),r(n.component,e,t)}),t}function vn(e){return function(){const t=ao(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function Cn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):function(e,t){return e!==it||t!==st}(this,n)&&(this[s]=o)}}function En(e,t,n){let i;U(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[ye(n)]=n,u[n]={get:yn(n),set:bn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:vn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Cn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const Sn=En(rt,c(at),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Me(Sn.prototype),i(Sn),h(Sn.prototype);const Mn="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const Tn=Mn?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){W(e[t].deref())&&P.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return W(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();W(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);T.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return W(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new WeakMap,new Tn,new Tn,new Tn;const kn=new WeakMap;function An(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=fn.get(e);return W(t)?hn: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(nt(t)){const e=tt(t);t=e===t?zt:e}return t}(e),E=C!==zt?Ln(C):_n,S=En(E.bridge,f(l),f(u)),M=n(r(null),E.props,l),T=n(r(null),E.propsConfig,c),k=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 L=E.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){var t;return null===(t=Gr.get(e))||void 0===t?void 0:t.tmpl}(e)||E.template,x=e.name||E.name;o(m,p);return{ctor:e,name:x,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Nn(e){if(!U(e))return!1;if(e.prototype instanceof zt)return!0;let t=e;do{if(nt(t)){const e=tt(t);if(e===t)return!0;t=e}if(t===zt)return!0}while(!V(t)&&(t=a(t)));return!1}function Ln(e){let t=kn.get(e);if(W(t)){if(nt(e)){return t=Ln(tt(e)),kn.set(e,t),t}if(!Nn(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=An(e),kn.set(e,t)}return t}const _n={ctor:zt,name:zt.name,props:Zt,propsConfig:Ye,methods:Ye,renderMode:1,shadowSupportMode:"reset",wire:Ye,bridge:Sn,template:mn,render:zt.prototype.render};function xn(e){return`${e}-host`}function Pn(e){return Cr.h("style",{key:"style",attrs:{type:"text/css"}},[Cr.t(e)])}function Rn(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))T.apply(r,Rn(i,t,n));else{const e=i[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){De("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=On(n)),c=V(o)||0===o.shadowMode),T.call(r,i(s,l,c))}}return r}function On(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Dn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function Fn(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,Pn);{const n=function(e){const t=On(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 In(e){const{type:t}=e;return 2===t||3===t}function $n(e,t){return e.key===t.key&&e.sel===t.sel}function Hn(e){return 5===e.type}function Bn(e){return 6===e.type}const Wn=58;const Vn=58;function jn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Gn(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=Ye),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===(jn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Un=r(null);function Yn(e){if(null==e)return Ye;e=K(e)?e:e+"";let t=Un[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)F.call(e,n)===Ue&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),Un[e]=t,t}function Kn(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 zn(e,t,n,r){dr(t)?hr(e,t,n,r):pr(e,t,n,r)}function qn(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&&rr(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?pr(e.children,o,n,r):hr(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;ir(e,t,n),zn(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);Jn(e,n,r,!0),Zn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(ir(e,t,r),!W(o)){cr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&dr(e.children)&&ur(t.children)}zn(e.children,t.children,n,r),W(o)||function(e){fo(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Xn(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);nr(i,o,r),or(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);nr(i,o,r),or(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);nr(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));or(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Qn(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)?de:void 0,a=e.elm=l(o,c);nr(a,s,r),lr(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),ir(null,e,r),or(a,t,n,r),Qn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Zn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function Zn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{oo(e)},a=e=>{so(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=uo(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=lo(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,nr(u,s,r),lr(u,s,r),l&&cr(e,l),ir(null,e,r),or(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||go(l)),Qn(e.children,u,r,null),l&&function(e){fo(e)}(l)}function Qn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];tr(s)&&Xn(s,t,n,r)}}function Jn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?er(e.children,t,n,r):sr(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;er(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){io(e)}(t)}}}function er(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];tr(s)&&Jn(s,t,n,r)}}function tr(e){return null!=e}function nr(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function rr(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function or(e,t,n,r){r.insert(e,t,n)}function sr(e,t,n){n.remove(e,t)}function ir(e,t,n){V(e)&&(Kn(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=Yn(o),a=Yn(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;K(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)?Ye:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(be(e)in o?l(o,e,t):F.call(e,3)===Vn?i(o,e,t,ue):F.call(e,5)===Vn?i(o,e,t,fe):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)?Ye: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&&(ct(s,e),F.call(e,3)===Wn?i(s,e,t,ue):F.call(e,5)===Wn?i(s,e,t,fe):V(t)||W(t)?l(s,e):i(s,e,t),lt())}}(e,t,n),Gn(e,t,n)}function lr(e,t,n){const r=Dn(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 cr(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];T.call(n,r),o=o||!(!r||!Hn(r))}if(!o)return e;for(;!W(r=M.call(n));)if(!V(r)&&Hn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return ur(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="";In(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":Bn(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},G(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Kr(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 Kr(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 Kr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Ke)}const ar=new WeakMap;function ur(e){ar.set(e,1)}function dr(e){return ar.has(e)}function fr(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(tr(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function hr(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;)tr(l)?tr(c)?tr(m)?tr(g)?$n(l,m)?(qn(l,m,n,r),l=e[++o],m=t[++s]):$n(c,g)?(qn(c,g,n,r),c=e[--i],g=t[--p]):$n(l,g)?(qn(l,g,n,r),or(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):$n(c,m)?(qn(c,m,n,r),or(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=fr(e,o,i)),d=u[m.key],W(d)?(Xn(m,n,r,l.elm),m=t[++s]):(f=e[d],tr(f)&&(f.sel!==m.sel?Xn(m,n,r,l.elm):(qn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,or(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(!tr(e)&&o<a);h=tr(e)?e.elm:null,Qn(t,n,r,h,s,p+1)}else er(e,n,r,!0,o,i+1)}function pr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Qn(t,n,r,null);if(0===s)return void er(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&&(tr(s)?tr(l)?$n(s,l)?(qn(s,l,n,r),i=l.elm):(Jn(s,n,r,!0),Xn(l,n,r,i),i=l.elm):Jn(s,n,r,!0):tr(l)&&(Xn(l,n,r,i),i=l.elm))}}const mr=Symbol.iterator;function gr(e,t,n=Ke){const r=xr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||et(r,s,i),i}function wr(e,t,n,r=Ke){const o=xr(),{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){T.call(xr().velements,e)}(l),W(i)||et(o,i,l),l}function yr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:xr()}}function br(e){return ur(e),e}let vr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Cr=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=Bn(n);if(e!==!W(t.slotData))continue;if(e){const e=xr();Pr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{Pr(e)}}else T.call(o,n)}}n=o}const o=xr(),{renderMode:s,shadowMode:i}=o;return 0===s?(br(n),n):(1===i&&br(n),gr("slot",t,n))},h:gr,c:wr,i:function(e,t){const n=[];if(br(n),W(e)||null===e)return n;const r=e[mr]();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)?T.apply(n,e):T.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];br(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:yr,d:function(e){return null==e?"":String(e)},b:function(e){const t=xr();if(V(t))throw new Error;const n=t;return function(t){jr(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:xr()}},dc:function(e,t,n=Ke){if(V(e)||W(e))return null;if(!Nn(e))throw new Error(`Invalid constructor ${X(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=Gr.get(e))||void 0===t?void 0:t.sel}(e);if(W(r)||""===r)throw new Error(`Invalid LWC constructor ${X(e)} does not have a registered name`);return wr(r,e,t,n)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[yr(""),...t,yr("")],stable:n,owner:xr()}},ti:function(e){return e>0&&!(j(e)||G(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:xr()}},gid:function(e){const t=xr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=xr();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 vr(e)},ssf:function(e,t){return{type:6,factory:t,owner:xr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=Ke){if(V(t)||W(t))return null;if(!Nn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return wr(e,t,n,r)}});let Er=!1,Sr=z;const Mr={enableProfiler(){Er=!0},disableProfiler(){Er=!1},attachDispatcher(e){Sr=e,this.enableProfiler()},detachDispatcher(){const e=Sr;return Sr=z,this.disableProfiler(),e}};function Tr(e,t){Er&&Sr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function kr(e,t){Er&&Sr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Ar(e,t){Er&&Sr(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 Nr(e,t){Er&&Sr(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 Lr=!1,_r=null;function xr(){return _r}function Pr(e){_r=e}function Rr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=xr(),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 Or=Rr(((e,t)=>{const{createFragment:n}=t;return n(e)})),Dr=Rr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Fr(e,t){const n=Lr,o=_r;let s=[];return Eo(e,e.owner,(()=>{_r=e,Tr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||vo(e),c=t,!pn.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:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(xn(w)),b&&l(n,xn(w)));const v=Hr(a),C=Hr(d);(v||C)&&(p=u),W(p)||(h&&(i(n).add(xn(p)),m=!0),f&&(c(n,xn(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 Hr(n)&&(s=Rn(n,r,e)),Hr(o)&&T.apply(s,Rn(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:Fn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Lr=!0,s=t.call(void 0,Cr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||R.apply(s,a)}))}),(()=>{Lr=n,_r=o,kr(1,e)})),s}function Ir(e){if(Hr(e))for(let t=0;t<e.length;t++)if(j(e[t][le]))return!0;return!1}function $r(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Ir(n)||Ir(r)}function Hr(e){return!W(e)&&!V(e)&&e.length>0}let Br=null;function Wr(e){return Br===e}function Vr(e,t,n){const{component:r,callHook:o,owner:s}=e;Eo(e,s,z,(()=>{o(r,t,n)}),z)}function jr(e,t,n,r){const{callHook:o,owner:s}=e;Eo(e,s,z,(()=>{o(n,t,[r])}),z)}const Gr=new Map;function Ur(e){return je((()=>{const{isDirty:t}=e;G(t)&&(Kr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===po.length&&qe(mo);T.call(po,e)}(e))}))}function Yr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=xr();let i,l=!1;return Eo(e,o,(()=>{Pr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Pr(s)})),l?Fr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Kr(e){e.isDirty=!0}const zr=new WeakMap;function qr(e,t){if(!U(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=zr.get(t);return W(n)&&(n=function(n){jr(e,t,void 0,n)},zr.set(t,n)),n}const Xr=r(null),Zr=["rendered","connected","disconnected"];function Qr(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 Jr=0;const eo=new WeakMap;function to(e,t,n=[]){return t.apply(e,n)}function no(e,t,n){e[t]=n}function ro(e,t){return e[t]}function oo(e){const t=ao(e);Ar(7,t),1===t.state&&so(e),go(t),fo(t),Nr(7,t)}function so(e){io(ao(e))}function io(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){G(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Xr;t&&Qr(e,t);wo(e)&&function(e){const{wiredDisconnecting:t}=e.context;Eo(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;W(n)||(Tr(5,e),Vr(e,n),kr(5,e))}(e),yo(e),function(e){const{aChildren:t}=e;bo(t)}(e)}}function lo(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=Ln(t),u={elm:e,def:a,idx:Jr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Ke,aChildren:Ke,velements:Ke,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:Ye,wiredConnecting:Ke,wiredDisconnecting:Ke},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:to,setHook:no,getHook:ro,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else U(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return Je(n)}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(lwcRuntimeFlags.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=Ur(u),function(e,t){const n=Br;let r;Tr(0,e),Br=e;try{const e=new t;if(Br.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(kr(0,e),Br=n,!W(r))throw Pe(e,r),r}}(u,a.ctor),wo(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=rn.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=on(e,t,i),c=i.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function co(e,t){eo.set(e,t)}function ao(e){return eo.get(e)}function uo(e){return eo.get(e)}function fo(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&&Eo(e,e,(()=>{Tr(2,e)}),(()=>{zn(r,t,n,o)}),(()=>{kr(2,e)}));1===e.state&&ho(e)}(e,Yr(e))}}function ho(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Xr;n&&Qr(e,n),W(t)||(Tr(4,e),Vr(e,t),kr(4,e))}let po=[];function mo(){Ar(8);const e=po.sort(((e,t)=>e.idx-t.idx));po=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{fo(r)}catch(r){throw t+1<n&&(0===po.length&&qe(mo),R.apply(po,L.call(e,t+1))),Nr(8),r}}Nr(8)}function go(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Xr;n&&Qr(e,n),wo(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)||(Tr(3,e),Vr(e,r),kr(3,e))}function wo(e){return c(e.def.wire).length>0}function yo(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=uo(n);W(e)||io(e)}}}function bo(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:bo(n.children);break;case 3:io(ao(n.elm));break}}}function vo(e){Co(e.children,e),e.children=Ke,yo(e),e.velements=Ke}function Co(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,s=e.length;o<s;o+=1){const s=e[o];V(s)||(Hn(s)?Co(s.children,t):W(s.elm)||r(s.elm,n))}}function Eo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){Pe(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;vo(e),Tr(6,e);Vr(n,n.def.errorCallback,[s,s.wcStack]),kr(6,e)}}}const So=ne[ce],Mo=ne[ae];function To(e,t,n){let r=uo(e.getRootNode().host);W(r)&&(r=uo(t.getRootNode().host)),W(r)||_e("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function ko(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!K(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=Mo.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){To(o,e,t);break}}}}else{const o=function(e){return K(e)?b.call($.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=So.call(document,n);if(!V(o)){o.getRootNode()!==r&&To(e,o,t)}}}}delete ne[ce],delete ne[ae];let Ao=!1;"undefined"!=typeof CSS&&U(CSS.escape)&&u.call(Element.prototype,se)&&Le((function(){if(Ao)return;Ao=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&ko(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;U(e)&&U(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),ko(this,"id",e)},enumerable:!0,configurable:!0})}}));const No=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function Lo(e){return e instanceof zt||e instanceof Sn}function _o(e,t,n,r){if(!Lo(e)){const o=function(e){const{host:t}=e.getRootNode(),n=W(t)?void 0:uo(t);if(!W(n))return n;let r=e;for(;!V(r=r.parentElement);)if(Lo(r)){const e=uo(r);if(!W(e))return e}}(e);let s;n&&(s=V(r)?"null":typeof r),_e("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Le((function(){const{prototype:e}=Element;for(const t of No){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return _o(this,t,!1,void 0),r.call(this)},set(e){return _o(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let xo=!1;function Po(e){const t=Yr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Do(r(n),t,n,e),ho(e)}function Ro(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!$o(t,e,3,n))return Fo(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(!$o(t,e,8,n))return Fo(e,t,n);const{setProperty:o}=n;return o(e,Oo,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!!$o(n,t,3,r)&&o(e,Oo)===o(t,Oo);if(8===o(e,"nodeType"))return!!$o(n,t,8,r)&&o(e,Oo)===o(t,Oo);if(!$o(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)&&(De(`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 Fo(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 Do(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(!$o(t,e,1,n)||!Ho(t,e,n))return Fo(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:Qe(r,"innerHTML")}))}if(Io(t,n),!s){const{getFirstChild:o}=n;Do(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(!$o(t,e,1,n)||!Ho(t,e,n))return Fo(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=lo(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,cr(t,l),Io(t,n),go(l),0!==l.renderMode){const{getFirstChild:r}=n;Do(r(e),t.children,e,l)}return Po(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const Oo="nodeValue";function Do(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=Ro(o,r,i),s=r.elm):(xo=!0,Xn(r,n,i,s),s=r.elm))}if(o){xo=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),sr(t,n,i)}while(o)}}function Fo(e,t,n){xo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Xn(t,o,n,e),sr(e,o,n),t.elm}function Io(e,t){Kn(e,t),Gn(null,e,t)}function $o(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Ho(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;Bo(s,r(t,e))||(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=Dn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=Ln(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&$r(t,n)?xn(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(Xe);for(const e of n)if(e){const[n,r]=e.split(Ze);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}function Bo(e,t){return String(e)===t||!(!V(t)||!W(e)&&!V(e))}let Wo=!1;const Vo=["slots","stylesheetToken","stylesheets","renderMode"],jo=["$scoped$"],Go=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Uo=!1;function Yo(e){switch(e){case"pop":return M;case"push":return T;case"shift":return N;case"unshift":return R;case"reverse":return A;case"sort":return x;case"fill":return y;case"splice":return P;case"copyWithin":return w}}function Ko(e,t,n){_e(t,{propertyName:n})}function zo(e){Ko(0,"TemplateMutation",e)}function qo(e){Ko(0,"StylesheetMutation",e)}function Xo(e){Zo(e,(e=>{m(e)?function(e){for(const t of Go){const n=Yo(t);e[t]=function(){return zo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of jo){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){qo(t),n=e}})}}(e)}))}function Zo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Zo(r,t):t(r)}}const Qo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Jo=Qo&&l(document.adoptedStyleSheets,"length").writable,es=!W(document.documentMode),ts=new Map;function ns(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function rs(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?es?ns(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function os(e,t){let n=ts.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},ts.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=ns(e)),n}function ss(e,t){const n=os(e,Qo);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Qo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Jo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):rs(e,t,n)}const is=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}}(),ls=(e,t)=>{const n=document.createElement(e);return t(n),n},cs=new Map,as=new WeakSet;let us=!1;const ds=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),us?e(this):(n||r)&&as.add(this)}}return n&&(o.prototype.connectedCallback=function(){as.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){as.has(this)||t(this)}),o};let fs;function hs(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});function n(e){return void 0===e}class r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),this.setNewContext=t,this.setDisconnectedCallback=n}}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}}function o(e,t,n,r){e.addEventListener(t,n,r)}function s(e,t){return e.dispatchEvent(t)}return e.addEventListener=o,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=s,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.ownerDocument=function(e){return e.ownerDocument},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.registerContextConsumer=function(e,t,n){s(e,new r(t,n))},e.registerContextProvider=function(e,t,n){o(e,t,(e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})}))},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}fs=is?(e,t,n,r)=>{let o=cs.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=ds(n,r),customElements.define(e,o),cs.set(e,o)}us=!0;try{return new o(t)}finally{us=!1}}:ls;const ps=n(hs(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=os(e,!1);t.global||(t.global=!0,rs(e,document.head,t))}(e):ss(e,t)},createCustomElement:fs,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function ms(e,t,n){const r=lo(e,t,ps,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function gs(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(!U(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(uo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){xo=!1,go(e),Po(e),xo&&De("Hydration completed with errors.",e)}(ms(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),ms(e,t,n),oo(e)}}const ws=new WeakSet;function ys(e){var t;const n=function(e){return Ln(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(gs(this,e,{}),ws.add(this)):lo(this,e,ps,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ws.has(this)?ws.delete(this):oo(this)}disconnectedCallback(){so(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const bs=Node,vs=new WeakMap,Cs=new WeakMap;function Es(e,t){const n=t.get(e);return W(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=bs.prototype;n(bs.prototype,{appendChild(t){return Es(e.call(this,t),vs)},insertBefore(e,n){return Es(t.call(this,e,n),vs)},removeChild(e){return Es(r.call(this,e),Cs)},replaceChild(e,t){const n=o.call(this,e,t);return Es(n,Cs),Es(e,vs),n}})}const Ss=Node;const Ms=new Map;function Ts(e,t,n){var r,o,s;r=t,o=e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})},e.addEventListener(r,o,s)}s(zt,"CustomElementConstructor",{get(){return function(e){if(e===zt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ms.get(e);return W(t)&&(t=ys(e),Ms.set(e,t)),t}(this)}}),i(zt),h(zt.prototype),e.LightningElement=zt,e.__unstable__ProfilerControl=Mr,e.__unstable__ReportingControl=Ne,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){return en(e,Ts)},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(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=ps,o=B.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{oo(e)},i=e=>{so(e)}),r(o,(e=>{lo(e,n,ps,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(vs.set(e,oo),Cs.set(e,so))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||Zo(e.stylesheets,(e=>{i(e)}))):(!function(e){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),Le((()=>{!function(e){W(e.stylesheets)||Xo(e.stylesheets);for(const t of Vo){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Uo||zo(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){zo("stylesheetTokens"),Uo=!0,t.set.call(this,e),Uo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=uo(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Ln(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:ye(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=gs,e.isComponentConstructor=Nn,e.isNodeFromTemplate=function(e){if(G(e instanceof Ss))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&G(u.call(a(t),"synthetic")))||ps.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Or,e.parseSVGFragment=Dr,e.readonly=function(e){return Gt(e)},e.register=function(e){for(let t=0;t<Zr.length;++t){const n=Zr[t];if(n in e){let t=Xr[n];W(t)&&(Xr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,t){return U(e)&&Gr.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=an(0,w)}else w=W(w)||W(w.get)?cn(e):an(0,w);f[e]=w,s(n,e,w)}if(W(i)||O.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,sn(w,t,o,i)}else w=dn(e),p[e]=w,ln(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=un(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){fn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return pn.add(e),e},e.renderer=ps,e.rendererFactory=hs,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(ve[e])){const n=f(ve).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=Ce[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(Ce,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(Wo,"Hooks are already overridden, only one definition is allowed."),Wo=!0,n=e.sanitizeHtmlContent,vr=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 Ut(e);throw new Error},e.unwrap=function(e){return jt.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
|
|
2
2
|
//# sourceMappingURL=engine-dom.min.js.map
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
|
|
325
325
|
return propertyName;
|
|
326
326
|
}
|
|
327
|
-
/** version: 2.
|
|
327
|
+
/** version: 2.39.0 */
|
|
328
328
|
|
|
329
329
|
/**
|
|
330
330
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
*/
|
|
393
393
|
function setFeatureFlagForTest(name, value) {
|
|
394
394
|
}
|
|
395
|
-
/** version: 2.
|
|
395
|
+
/** version: 2.39.0 */
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
398
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
/** version: 2.
|
|
459
|
+
/** version: 2.39.0 */
|
|
460
460
|
|
|
461
461
|
/*
|
|
462
462
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -2360,10 +2360,101 @@
|
|
|
2360
2360
|
}
|
|
2361
2361
|
freeze(BaseBridgeElement);
|
|
2362
2362
|
seal(BaseBridgeElement.prototype);
|
|
2363
|
+
|
|
2364
|
+
/*
|
|
2365
|
+
* Copyright (c) 2023, salesforce.com, inc.
|
|
2366
|
+
* All rights reserved.
|
|
2367
|
+
* SPDX-License-Identifier: MIT
|
|
2368
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2369
|
+
*/
|
|
2370
|
+
const supportsWeakRefs = typeof WeakRef === 'function' && typeof FinalizationRegistry === 'function';
|
|
2371
|
+
// In browsers that doesn't support WeakRefs, the values will still leak, but at least the keys won't
|
|
2372
|
+
class LegacyWeakMultiMap {
|
|
2373
|
+
constructor() {
|
|
2374
|
+
this._map = new WeakMap();
|
|
2375
|
+
}
|
|
2376
|
+
_getValues(key) {
|
|
2377
|
+
let values = this._map.get(key);
|
|
2378
|
+
if (isUndefined$1(values)) {
|
|
2379
|
+
values = new Set();
|
|
2380
|
+
this._map.set(key, values);
|
|
2381
|
+
}
|
|
2382
|
+
return values;
|
|
2383
|
+
}
|
|
2384
|
+
get(key) {
|
|
2385
|
+
return this._getValues(key);
|
|
2386
|
+
}
|
|
2387
|
+
add(key, vm) {
|
|
2388
|
+
const set = this._getValues(key);
|
|
2389
|
+
set.add(vm);
|
|
2390
|
+
}
|
|
2391
|
+
delete(key) {
|
|
2392
|
+
this._map.delete(key);
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
// This implementation relies on the WeakRef/FinalizationRegistry proposal.
|
|
2396
|
+
// For some background, see: https://github.com/tc39/proposal-weakrefs
|
|
2397
|
+
class ModernWeakMultiMap {
|
|
2398
|
+
constructor() {
|
|
2399
|
+
this._map = new WeakMap();
|
|
2400
|
+
this._registry = new FinalizationRegistry((weakRefs) => {
|
|
2401
|
+
// This should be considered an optional cleanup method to remove GC'ed values from their respective arrays.
|
|
2402
|
+
// JS VMs are not obligated to call FinalizationRegistry callbacks.
|
|
2403
|
+
// Work backwards, removing stale VMs
|
|
2404
|
+
for (let i = weakRefs.length - 1; i >= 0; i--) {
|
|
2405
|
+
const vm = weakRefs[i].deref();
|
|
2406
|
+
if (isUndefined$1(vm)) {
|
|
2407
|
+
ArraySplice.call(weakRefs, i, 1); // remove
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
});
|
|
2411
|
+
}
|
|
2412
|
+
_getWeakRefs(key) {
|
|
2413
|
+
let weakRefs = this._map.get(key);
|
|
2414
|
+
if (isUndefined$1(weakRefs)) {
|
|
2415
|
+
weakRefs = [];
|
|
2416
|
+
this._map.set(key, weakRefs);
|
|
2417
|
+
}
|
|
2418
|
+
return weakRefs;
|
|
2419
|
+
}
|
|
2420
|
+
get(key) {
|
|
2421
|
+
const weakRefs = this._getWeakRefs(key);
|
|
2422
|
+
const result = new Set();
|
|
2423
|
+
for (const weakRef of weakRefs) {
|
|
2424
|
+
const vm = weakRef.deref();
|
|
2425
|
+
if (!isUndefined$1(vm)) {
|
|
2426
|
+
result.add(vm);
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
return result;
|
|
2430
|
+
}
|
|
2431
|
+
add(key, value) {
|
|
2432
|
+
const weakRefs = this._getWeakRefs(key);
|
|
2433
|
+
// We could check for duplicate values here, but it doesn't seem worth it.
|
|
2434
|
+
// We transform the output into a Set anyway
|
|
2435
|
+
ArrayPush$1.call(weakRefs, new WeakRef(value));
|
|
2436
|
+
// It's important here not to leak the second argument, which is the "held value." The FinalizationRegistry
|
|
2437
|
+
// effectively creates a strong reference between the first argument (the "target") and the held value. When
|
|
2438
|
+
// the target is GC'ed, the callback is called, and then the held value is GC'ed.
|
|
2439
|
+
// Putting the key here would mean the key is not GC'ed until the value is GC'ed, which defeats the purpose
|
|
2440
|
+
// of the WeakMap. Whereas putting the weakRefs array here is fine, because it doesn't have a strong reference
|
|
2441
|
+
// to anything. See also this example:
|
|
2442
|
+
// https://gist.github.com/nolanlawson/79a3d36e8e6cc25c5048bb17c1795aea
|
|
2443
|
+
this._registry.register(value, weakRefs);
|
|
2444
|
+
}
|
|
2445
|
+
delete(key) {
|
|
2446
|
+
this._map.delete(key);
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
const WeakMultiMap = supportsWeakRefs ? ModernWeakMultiMap : LegacyWeakMultiMap;
|
|
2363
2450
|
const swappedStyleMap = new WeakMap();
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2451
|
+
// The important thing here is the weak values – VMs are transient (one per component instance) and should be GC'ed,
|
|
2452
|
+
// so we don't want to create strong references to them.
|
|
2453
|
+
// The weak keys are kind of useless, because Templates, LightningElementConstructors, and StylesheetFactories are
|
|
2454
|
+
// never GC'ed. But maybe they will be someday, so we may as well use weak keys too.
|
|
2455
|
+
const activeTemplates = new WeakMultiMap();
|
|
2456
|
+
const activeComponents = new WeakMultiMap();
|
|
2457
|
+
const activeStyles = new WeakMultiMap();
|
|
2367
2458
|
function getStyleOrSwappedStyle(style) {
|
|
2368
2459
|
assertNotProd(); // this method should never leak to prod
|
|
2369
2460
|
const visited = new Set();
|
|
@@ -2377,42 +2468,27 @@
|
|
|
2377
2468
|
assertNotProd(); // this method should never leak to prod
|
|
2378
2469
|
// tracking active component
|
|
2379
2470
|
const Ctor = vm.def.ctor;
|
|
2380
|
-
let componentVMs = activeComponents.get(Ctor);
|
|
2381
|
-
if (isUndefined$1(componentVMs)) {
|
|
2382
|
-
componentVMs = new Set();
|
|
2383
|
-
activeComponents.set(Ctor, componentVMs);
|
|
2384
|
-
}
|
|
2385
2471
|
// this will allow us to keep track of the hot components
|
|
2386
|
-
|
|
2472
|
+
activeComponents.add(Ctor, vm);
|
|
2387
2473
|
// tracking active template
|
|
2388
2474
|
const tpl = vm.cmpTemplate;
|
|
2389
2475
|
if (tpl) {
|
|
2390
|
-
let templateVMs = activeTemplates.get(tpl);
|
|
2391
|
-
if (isUndefined$1(templateVMs)) {
|
|
2392
|
-
templateVMs = new Set();
|
|
2393
|
-
activeTemplates.set(tpl, templateVMs);
|
|
2394
|
-
}
|
|
2395
2476
|
// this will allow us to keep track of the templates that are
|
|
2396
2477
|
// being used by a hot component
|
|
2397
|
-
|
|
2478
|
+
activeTemplates.add(tpl, vm);
|
|
2398
2479
|
// tracking active styles associated to template
|
|
2399
2480
|
const stylesheets = tpl.stylesheets;
|
|
2400
2481
|
if (!isUndefined$1(stylesheets)) {
|
|
2401
|
-
flattenStylesheets(stylesheets)
|
|
2482
|
+
for (const stylesheet of flattenStylesheets(stylesheets)) {
|
|
2402
2483
|
// this is necessary because we don't hold the list of styles
|
|
2403
2484
|
// in the vm, we only hold the selected (already swapped template)
|
|
2404
2485
|
// but the styles attached to the template might not be the actual
|
|
2405
2486
|
// active ones, but the swapped versions of those.
|
|
2406
|
-
|
|
2407
|
-
let stylesheetVMs = activeStyles.get(stylesheet);
|
|
2408
|
-
if (isUndefined$1(stylesheetVMs)) {
|
|
2409
|
-
stylesheetVMs = new Set();
|
|
2410
|
-
activeStyles.set(stylesheet, stylesheetVMs);
|
|
2411
|
-
}
|
|
2487
|
+
const swappedStylesheet = getStyleOrSwappedStyle(stylesheet);
|
|
2412
2488
|
// this will allow us to keep track of the stylesheet that are
|
|
2413
2489
|
// being used by a hot component
|
|
2414
|
-
|
|
2415
|
-
}
|
|
2490
|
+
activeStyles.add(swappedStylesheet, vm);
|
|
2491
|
+
}
|
|
2416
2492
|
}
|
|
2417
2493
|
}
|
|
2418
2494
|
}
|
|
@@ -3284,8 +3360,9 @@
|
|
|
3284
3360
|
}
|
|
3285
3361
|
}
|
|
3286
3362
|
function patchCustomElement(n1, n2, parent, renderer) {
|
|
3363
|
+
// TODO [#3331]: This if branch should be removed in 246 with lwc:dynamic
|
|
3287
3364
|
if (n1.ctor !== n2.ctor) {
|
|
3288
|
-
// If the constructor, unmount the current component and mount a new one using the new
|
|
3365
|
+
// If the constructor differs, unmount the current component and mount a new one using the new
|
|
3289
3366
|
// constructor.
|
|
3290
3367
|
const anchor = renderer.nextSibling(n1.elm);
|
|
3291
3368
|
unmount(n1, parent, renderer, true);
|
|
@@ -3735,9 +3812,17 @@
|
|
|
3735
3812
|
if (n2 !== n1) {
|
|
3736
3813
|
if (isVNode(n1)) {
|
|
3737
3814
|
if (isVNode(n2)) {
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3815
|
+
if (isSameVnode(n1, n2)) {
|
|
3816
|
+
// both vnodes are equivalent, and we just need to patch them
|
|
3817
|
+
patch(n1, n2, parent, renderer);
|
|
3818
|
+
anchor = n2.elm;
|
|
3819
|
+
}
|
|
3820
|
+
else {
|
|
3821
|
+
// removing the old vnode since the new one is different
|
|
3822
|
+
unmount(n1, parent, renderer, true);
|
|
3823
|
+
mount(n2, parent, renderer, anchor);
|
|
3824
|
+
anchor = n2.elm;
|
|
3825
|
+
}
|
|
3741
3826
|
}
|
|
3742
3827
|
else {
|
|
3743
3828
|
// removing the old vnode since the new one is null
|
|
@@ -4031,11 +4116,13 @@
|
|
|
4031
4116
|
return url;
|
|
4032
4117
|
}
|
|
4033
4118
|
/**
|
|
4034
|
-
* create a dynamic component via `<x-foo lwc:dynamic={Ctor}>`
|
|
4119
|
+
* [ddc] - create a (deprecated) dynamic component via `<x-foo lwc:dynamic={Ctor}>`
|
|
4120
|
+
*
|
|
4121
|
+
* TODO [#3331]: remove usage of lwc:dynamic in 246
|
|
4035
4122
|
*/
|
|
4036
|
-
function
|
|
4123
|
+
function ddc(sel, Ctor, data, children = EmptyArray) {
|
|
4037
4124
|
// null or undefined values should produce a null value in the VNodes
|
|
4038
|
-
if (Ctor
|
|
4125
|
+
if (isNull(Ctor) || isUndefined$1(Ctor)) {
|
|
4039
4126
|
return null;
|
|
4040
4127
|
}
|
|
4041
4128
|
if (!isComponentConstructor(Ctor)) {
|
|
@@ -4043,6 +4130,26 @@
|
|
|
4043
4130
|
}
|
|
4044
4131
|
return c(sel, Ctor, data, children);
|
|
4045
4132
|
}
|
|
4133
|
+
/**
|
|
4134
|
+
* [dc] - create a dynamic component via `<lwc:component lwc:is={Ctor}>`
|
|
4135
|
+
*/
|
|
4136
|
+
function dc(Ctor, data, children = EmptyArray) {
|
|
4137
|
+
// Null or undefined values should produce a null value in the VNodes.
|
|
4138
|
+
// This is the only value at compile time as the constructor will not be known.
|
|
4139
|
+
if (isNull(Ctor) || isUndefined$1(Ctor)) {
|
|
4140
|
+
return null;
|
|
4141
|
+
}
|
|
4142
|
+
if (!isComponentConstructor(Ctor)) {
|
|
4143
|
+
throw new Error(`Invalid constructor ${toString$1(Ctor)} is not a LightningElement constructor.`);
|
|
4144
|
+
}
|
|
4145
|
+
// Look up the dynamic component's name at runtime once the constructor is available.
|
|
4146
|
+
// This information is only known at runtime and is stored as part of registerComponent.
|
|
4147
|
+
const sel = getComponentRegisteredName(Ctor);
|
|
4148
|
+
if (isUndefined$1(sel) || sel === '') {
|
|
4149
|
+
throw new Error(`Invalid LWC constructor ${toString$1(Ctor)} does not have a registered name`);
|
|
4150
|
+
}
|
|
4151
|
+
return c(sel, Ctor, data, children);
|
|
4152
|
+
}
|
|
4046
4153
|
/**
|
|
4047
4154
|
* slow children collection marking mechanism. this API allows the compiler to signal
|
|
4048
4155
|
* to the engine that a particular collection of children must be diffed using the slow
|
|
@@ -4102,6 +4209,7 @@
|
|
|
4102
4209
|
fid,
|
|
4103
4210
|
shc,
|
|
4104
4211
|
ssf,
|
|
4212
|
+
ddc,
|
|
4105
4213
|
});
|
|
4106
4214
|
/** Indicates if operations should be logged by the profiler. */
|
|
4107
4215
|
let isProfilerEnabled = false;
|
|
@@ -4398,23 +4506,29 @@
|
|
|
4398
4506
|
* SPDX-License-Identifier: MIT
|
|
4399
4507
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4400
4508
|
*/
|
|
4401
|
-
const
|
|
4509
|
+
const registeredComponentMap = new Map();
|
|
4402
4510
|
/**
|
|
4403
4511
|
* INTERNAL: This function can only be invoked by compiled code. The compiler
|
|
4404
4512
|
* will prevent this function from being imported by userland code.
|
|
4405
4513
|
*/
|
|
4406
4514
|
function registerComponent(
|
|
4407
4515
|
// We typically expect a LightningElementConstructor, but technically you can call this with anything
|
|
4408
|
-
Ctor,
|
|
4516
|
+
Ctor, metadata) {
|
|
4409
4517
|
if (isFunction$1(Ctor)) {
|
|
4410
|
-
|
|
4518
|
+
// TODO [#3331]: add validation to check the value of metadata.sel is not an empty string.
|
|
4519
|
+
registeredComponentMap.set(Ctor, metadata);
|
|
4411
4520
|
}
|
|
4412
4521
|
// chaining this method as a way to wrap existing assignment of component constructor easily,
|
|
4413
4522
|
// without too much transformation
|
|
4414
4523
|
return Ctor;
|
|
4415
4524
|
}
|
|
4416
4525
|
function getComponentRegisteredTemplate(Ctor) {
|
|
4417
|
-
|
|
4526
|
+
var _a;
|
|
4527
|
+
return (_a = registeredComponentMap.get(Ctor)) === null || _a === void 0 ? void 0 : _a.tmpl;
|
|
4528
|
+
}
|
|
4529
|
+
function getComponentRegisteredName(Ctor) {
|
|
4530
|
+
var _a;
|
|
4531
|
+
return (_a = registeredComponentMap.get(Ctor)) === null || _a === void 0 ? void 0 : _a.sel;
|
|
4418
4532
|
}
|
|
4419
4533
|
function getTemplateReactiveObserver(vm) {
|
|
4420
4534
|
return createReactiveObserver(() => {
|
|
@@ -6119,7 +6233,7 @@
|
|
|
6119
6233
|
function isNull(obj) {
|
|
6120
6234
|
return obj === null;
|
|
6121
6235
|
}
|
|
6122
|
-
/** version: 2.
|
|
6236
|
+
/** version: 2.39.0 */
|
|
6123
6237
|
|
|
6124
6238
|
/*
|
|
6125
6239
|
* Copyright (c) 2023, salesforce.com, inc.
|
|
@@ -6730,7 +6844,7 @@
|
|
|
6730
6844
|
});
|
|
6731
6845
|
}));
|
|
6732
6846
|
}
|
|
6733
|
-
/* version: 2.
|
|
6847
|
+
/* version: 2.39.0 */
|
|
6734
6848
|
|
|
6735
6849
|
exports.LightningElement = LightningElement;
|
|
6736
6850
|
exports.__unstable__ProfilerControl = profilerControl;
|