lwc 2.27.0 → 2.28.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.
Files changed (37) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +95 -32
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +95 -32
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +79 -30
  5. package/dist/engine-dom/iife/es5/engine-dom.js +134 -46
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +115 -44
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +95 -32
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +79 -30
  11. package/dist/engine-dom/umd/es5/engine-dom.js +134 -46
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +115 -44
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +57 -26
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +57 -26
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +4 -4
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4 -4
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4 -4
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
  26. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  28. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  29. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  31. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  35. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  36. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  37. package/package.json +7 -7
@@ -1 +1 @@
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,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:b,filter:y,find:v,indexOf:E,join:C,map:M,pop:S,push:T,reduce:k,reverse:A,shift:N,slice:L,sort:_,splice:x,unshift:O,forEach:P}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:D,replace:R,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function W(e){return!1===e}function j(e){return"function"==typeof e}function U(e){return"object"==typeof e}function G(e){return"string"==typeof e}function z(){}const K={}.toString;function Y(e){return e&&e.toString?m(e)?C.call(M.call(e,Y),","):e.toString():"object"==typeof e?K.call(e):e+""}function q(e,t){do{const n=l(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const X=["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:Q}=(()=>{const e=r(null),t=r(null);return P.call(X,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),ee="http://www.w3.org/2000/svg",te=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"]]),ne=new Map;function re(e){const t=Q[e];if(!H(t))return t;const n=te.get(e);if(!H(n))return n;const r=ne.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return ne.set(e,o),o}function oe(e){return void 0===l(Element.prototype,e)}const ie=new WeakMap;function se(e){let t=ie.get(e);return void 0===t&&(t={},ie.set(e,t)),t}function le(e,t){return{get(){const n=se(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;se(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ce(e){const t=le(e,Q[e]);Object.defineProperty(Element.prototype,e,t)}const ae=f(Q);for(let e=0,t=ae.length;e<t;e+=1){const t=ae[e];oe(t)&&ce(t)}const ue={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:r(null)});const de=Z.lwcRuntimeFlags;let fe=[];const he=h(r(null)),pe=h([]);function me(){const e=fe;fe=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ge(e){0===fe.length&&Promise.resolve().then(me),T.call(fe,e)}const we=/;(?![^(]*\))/g,be=/:(.+)/;function ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function ve(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ee=new WeakMap;let Ce=null;function Me(e,t){const n=Ee.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Se(e,t){if(null===Ce)return;const n=Ce,o=function(e){let t=Ee.get(e);if(H(t)){const n=r(null);t=n,Ee.set(e,n)}return t}(e);let i=o[t];if(H(i))i=[],o[t]=i;else if(i[0]===n)return;-1===E.call(i,n)&&n.link(i)}class Te{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Ce;let n;Ce=this;try{e()}catch(e){n=Object(e)}finally{if(Ce=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=E.call(e[n],this);x.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 ke(e,t){Me(e.component,t)}function Ae(e,t){Se(e.component,t)}function Ne(e){return new Te(e)}function Le(e){return`<${F.call(e.tagName)}>`}function _e(e,t){if(!d(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)T.call(t,Le(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function xe(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)T.call(t,n+Le(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Oe(e,t){xe("error",e,t)}function Pe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function $e(e){return j(e)&&u.call(e,"__circular__")}const De="undefined"!=typeof HTMLElement?HTMLElement:function(){},Re=De.prototype;function Ie(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ie("offsetHeight")},offsetLeft:{readOnly:!0,error:Ie("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ie("offsetTop")},offsetWidth:{readOnly:!0,error:Ie("offsetWidth")},role:{attribute:"role"}});let Fe,He=null;function Be(e,t){return e!==He||t!==Fe}function Ve(e,t){He=null,Fe=void 0}function We(e,t){He=e,Fe=t}const je=r(null);function Ue(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,ke(e,t))}P.call(f(Q),(e=>{const t=q(Re,e);H(t)||(je[e]=t)})),P.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(Re,e);H(t)||(je[e]=t)}));const{isArray:Ge}=Array,{prototype:ze,getPrototypeOf:Ke,create:Ye,defineProperty:qe,isExtensible:Xe,getOwnPropertyDescriptor:Je,getOwnPropertyNames:Qe,getOwnPropertySymbols:Ze,preventExtensions:et,hasOwnProperty:tt}=Object,{push:nt,concat:rt}=Array.prototype;function ot(e){return void 0===e}function it(e){return"function"==typeof e}const st=new WeakMap;function lt(e,t){st.set(e,t)}const ct=e=>st.get(e)||e;class at{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(tt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ot(n)||(e.get=this.wrapGetter(n)),ot(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Je(n,t);if(!ot(r)){const n=this.wrapDescriptor(r);qe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;rt.call(Qe(t),Ze(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ot(n)||tt.call(e,n)||qe(e,n,Ye(null)),et(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=ot(n)||tt.call(t,n)?[]:[n];return nt.apply(r,Qe(t)),nt.apply(r,Ze(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Xe(e)&&(!!Xe(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ke(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Je(n,t);if(ot(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},qe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const ut=new WeakMap,dt=new WeakMap,ft=new WeakMap,ht=new WeakMap;class pt extends at{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ut.get(e);if(!ot(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ct(this)))};return ut.set(e,r),ft.set(r,e),r}wrapSetter(e){const t=dt.get(e);if(!ot(t))return t;const n=function(t){e.call(ct(this),ct(t))};return dt.set(e,n),ht.set(n,e),n}unwrapDescriptor(e){if(tt.call(e,"value"))e.value=ct(e.value);else{const{set:t,get:n}=e;ot(n)||(e.get=this.unwrapGetter(n)),ot(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ft.get(e);if(!ot(t))return t;const n=this,r=function(){return ct(e.call(n.wrapValue(this)))};return ut.set(r,e),ft.set(e,r),r}unwrapSetter(e){const t=ht.get(e);if(!ot(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return dt.set(r,e),ht.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&&Ge(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(Xe(e)){const{originalTarget:t}=this;if(et(t),Xe(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!tt.call(r,t)||(qe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const mt=new WeakMap,gt=new WeakMap;class wt extends at{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=mt.get(e);if(!ot(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ct(this)))};return mt.set(e,r),r}wrapSetter(e){const t=gt.get(e);if(!ot(t))return t;const n=function(e){};return gt.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 bt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ge(e))return!0;const t=Ke(e);return t===ze||null===t||null===Ke(t)}const yt=(e,t)=>{},vt=(e,t)=>{};function Et(e){return Ge(e)?[]:{}}const Ct=Symbol.for("@@lockerLiveValue"),Mt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=it(t)?t:vt,this.valueObserved=it(n)?n:yt,this.valueIsObservable=it(r)?r:bt,this.tagPropertyKey=o}getProxy(e){const t=ct(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ct(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ct(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ot(t)){const n=new pt(this,e);t=new Proxy(Et(e),n),lt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ot(t)){const n=new wt(this,e);t=new Proxy(Et(e),n),lt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Se,valueMutated:Me,tagPropertyKey:Ct});function St(e){return Mt.getReadOnlyProxy(e)}function Tt(e){return Mt.getProxy(e)}function kt(e){e[Ct]=void 0}function At(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!j(n))throw new TypeError;if(!j(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Or(this);if(!ar(t))return Ae(t,e),n.call(t.elm)},set(t){const n=Or(this);return Ue(n,e,t),r.call(n.elm,t)}}}const Nt=s(r(null)),Lt=new WeakMap,_t=function(){if(B(cr))throw new TypeError("Illegal constructor");const e=cr,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return kt(this),xr(o,e),xr(n,e),1===e.renderMode?e.renderRoot=xt(e):e.renderRoot=n,this};function xt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,xr(s,e),s}_t.prototype={constructor:_t,dispatchEvent(e){const t=Or(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Or(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,wr(r,t),n)},removeEventListener(e,t,n){const r=Or(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,wr(r,t),n)},hasAttribute(e){const t=Or(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=Or(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=Or(this),{elm:n,renderer:{removeAttribute:r}}=t;We(n,e),r(n,e),Ve()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Or(this);We(n,t),r(n,t,e),Ve()},getAttribute(e){const t=Or(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Or(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Or(this),{elm:r,renderer:{setAttribute:o}}=n;We(r,e),o(r,e,t),Ve()},setAttributeNS(e,t,n){const r=Or(this),{elm:o,renderer:{setAttribute:i}}=r;We(o,t),i(o,t,n,e),Ve()},getBoundingClientRect(){const e=Or(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Or(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Or(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Or(this).shadowRoot},get refs(){const e=Or(this);if(Zn)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(B(t))return Nt;let i=Lt.get(t);if(H(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),Lt.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Or(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Or(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Or(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Or(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Or(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Or(this);return e.renderer.getLastElementChild(e.elm)},render(){return Or(this).def.template},toString(){return`[object ${Or(this).def.name}]`}};const Ot=r(null),Pt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Pt)Ot[e]={value(t){const n=Or(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(_t.prototype,Ot);const $t=r(null);for(const e in je)$t[e]=At(e,je[e]);function Dt(e){return{get(){const t=Or(this);return Ae(t,e),t.cmpFields[e]},set(t){Ue(Or(this),e,t)},enumerable:!0,configurable:!0}}o(_t.prototype,$t),i(_t,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Rt extends Te{constructor(e,t){super((()=>{W(this.debouncing)&&(this.debouncing=!0,ge((()=>{if(V(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,V(e.isDirty)&&W(r)&&i>0&&kr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function It(e){return{get(){const t=Or(this);if(!ar(t))return Ae(t,e),t.cmpProps[e]},set(t){const n=Or(this);n.cmpProps[e]=t,ke(n,e)},enumerable:!0,configurable:!0}}function Ft(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!j(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Or(this);if(r)if(de.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=function(e,t){return new Rt(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Ht(e){return{get(){const t=Or(this);return Ae(t,e),t.cmpFields[e]},set(t){const n=Or(this),r=Tt(t);Ue(n,e,r)},enumerable:!0,configurable:!0}}function Bt(e){return{get(){const t=Or(this);return Ae(t,e),t.cmpFields[e]},set(t){Ue(Or(this),e,t)},enumerable:!0,configurable:!0}}const Vt=new Map;const Wt={apiMethods:he,apiFields:he,apiFieldsConfig:he,wiredMethods:he,wiredFields:he,observedFields:he};const jt=new Set;function Ut(){return[]}jt.add(Ut);const Gt=r(null),zt=r(null);function Kt(e){let t=Gt[e];return H(t)&&(t=Gt[e]=function(){const t=Or(this),{getHook:n}=t;return n(t.component,e)}),t}function Yt(e){let t=zt[e];return H(t)&&(t=zt[e]=function(t){const n=Or(this),{setHook:r}=n;t=St(t),r(n.component,e,t)}),t}function qt(e){return function(){const t=Or(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function Xt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Be(this,n)&&(this[i]=o)}}function Jt(e,t,n){let s;j(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));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[re(n)]=n,u[n]={get:Kt(n),set:Yt(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:qt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Xt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Qt=Jt(De,c(je),[]);s(Qt),h(Qt.prototype);const Zt=new WeakMap;function en(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Vt.get(e);return H(t)?Wt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if($e(t)){const e=Pe(t);t=e===t?_t:e}return t}(e),C=E!==_t?nn(E):rn,M=Jt(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,b=b||C.renderedCallback,y=y||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;H(t)||(N=t);let L=C.renderMode;H(i)||(L="light"===i?0:1);const _=function(e){return fr.get(e)}(e)||C.template,x=e.name||C.name;o(m,p);return{ctor:e,name:x,wire:A,props:S,propsConfig:T,methods:k,bridge:M,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}}function tn(e){if(!j(e))return!1;if(e.prototype instanceof _t)return!0;let t=e;do{if($e(t)){const e=Pe(t);if(e===t)return!0;t=e}if(t===_t)return!0}while(!B(t)&&(t=a(t)));return!1}function nn(e){let t=Zt.get(e);if(H(t)){if($e(e)){return t=nn(Pe(e)),Zt.set(e,t),t}if(!tn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=en(e),Zt.set(e,t)}return t}const rn={ctor:_t,name:_t.name,props:$t,propsConfig:he,methods:he,renderMode:1,shadowSupportMode:"reset",wire:he,bridge:Qt,template:Ut,render:_t.prototype.render};function on(e){return`${e}-host`}function sn(e){return Gn.h("style",{key:"style",attrs:{type:"text/css"}},[Gn.t(e)])}function ln(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))T.apply(r,ln(s,t,n));else{const e=s.$scoped$;if(de.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Oe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(H(o)&&(o=an(n)),c=B(o)||0===o.shadowMode),T.call(r,s(i,l,c))}}return r}function cn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=ln(n,r,e)),o}function an(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function un(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function dn(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 M.call(t,sn);{const n=function(e){const t=an(e);return B(t)||1!==t.shadowMode?t:null}(e),r=B(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function fn(e){const{type:t}=e;return 2===t||3===t}function hn(e,t){return e.key===t.key&&e.sel===t.sel}function pn(e){return 6===e.type}function mn(e,t){return"input"===e&&("value"===t||"checked"===t)}function gn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;H(s)&&(s=he),H(t)||(s=n({},s,t))}H(i)||(o=n({},o,i));const l=B(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(mn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const wn=r(null);function bn(e){if(null==e)return he;e=G(e)?e:e+"";let t=wn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===D.call(e,n)&&(n>o&&(t[I.call(e,o,n)]=!0),o=n+1);return n>o&&(t[I.call(e,o,n)]=!0),wn[e]=t,t}function yn(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function vn(e,t,n,r){var o;o=t,Dn.has(o)?In(e,t,n,r):Fn(e,t,n,r)}function En(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Ln(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Fn(e.children,o,n,r):In(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;On(e,t,n),vn(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);Tn(e,n,r,!0),Mn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;On(e,t,r),H(o)||$n(t,o),vn(e.children,t.children,n,r),H(o)||kr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Cn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Nn(s,o,r),_n(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Nn(s,o,r),_n(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Nn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));_n(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Sn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=V(s)?ee:void 0,a=e.elm=l(o,c);Nn(a,i,r),Pn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),On(null,e,r),_n(a,t,n,r),Sn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Mn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Mn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const c=s(o,(t=>{l=function(e,t,n){let r=Pr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=_r(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Ar(e)}),(e=>{de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Nr(e)}));e.elm=c,e.vm=l,Nn(c,i,r),Pn(c,i,r),l&&$n(e,l),On(null,e,r),_n(c,t,n,r),l&&(de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Fr(l)),Sn(e.children,c,r,null),l&&function(e){$r(e)}(l)}function Sn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];An(i)&&Cn(i,t,n,r)}}function Tn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?kn(e.children,t,n,r):xn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;kn(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){Lr(e)}(t)}}}function kn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];An(i)&&Tn(i,t,n,r)}}function An(e){return null!=e}function Nn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function Ln(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function _n(e,t,n,r){r.insert(e,t,n)}function xn(e,t,n){n.remove(e,t)}function On(e,t,n){B(e)&&(yn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=bn(o),a=bn(i);let u;for(u in a)H(c[u])&&l.remove(u);for(u in c)H(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?he:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(We(i,e),58===D.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===D.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),Ve())}}(e,t,n),gn(e,t,n)}function Pn(e,t,n){const r=un(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function $n(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=r(null);e.cmpSlots={owner:n,slotAssignments:l};for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(B(n))continue;let r="";fn(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":pn(n)&&(r=n.slotName);const s=l[r]=l[r]||[];T.call(s,n)}if(W(e.isDirty)){const t=f(s);if(t.length!==f(l).length)return void mr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(l[r])||s[r].length!==l[r].length)return void mr(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void mr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=pe)}const Dn=new WeakMap;function Rn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(An(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function In(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)An(l)?An(c)?An(m)?An(g)?hn(l,m)?(En(l,m,n,r),l=e[++o],m=t[++i]):hn(c,g)?(En(c,g,n,r),c=e[--s],g=t[--p]):hn(l,g)?(En(l,g,n,r),_n(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):hn(c,m)?(En(c,m,n,r),_n(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Rn(e,o,s)),d=u[m.key],H(d)?(Cn(m,n,r,l.elm),m=t[++i]):(f=e[d],An(f)&&(f.sel!==m.sel?Cn(m,n,r,l.elm):(En(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,_n(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!An(e)&&o<a);h=An(e)?e.elm:null,Sn(t,n,r,h,i,p+1)}else kn(e,n,r,!0,o,s+1)}function Fn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Sn(t,n,r,null);if(0===i)return void kn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(An(i)?An(l)?(En(i,l,n,r),s=l.elm):Tn(i,n,r,!0):An(l)&&(Cn(l,n,r,s),s=l.elm))}}const Hn=Symbol.iterator;function Bn(e,t,n=pe){const r=tr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||ve(r,i,s),s}function Vn(e,t,n,r=pe){const o=tr(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(tr().velements,e)}(l),H(s)||ve(o,s,l),l}function Wn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:tr()}}function jn(e){var t;return t=e,Dn.set(t,1),e}let Un=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Gn=s({s:function(e,t,n,r){H(r)||H(r.slotAssignments)||H(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n&&pn(n)){const o=tr();let i=[];nr(r.owner);try{i=n.factory(t.slotData)}finally{nr(o)}return g.call(e,i)}return g.call(e,n)}),[]));const o=tr(),{renderMode:i,shadowMode:s}=o;return 0===i?(jn(n),n):(1===s&&jn(n),Bn("slot",t,n))},h:Bn,c:Vn,i:function(e,t){const n=[];if(jn(n),H(e)||null===e)return n;const r=e[Hn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];jn(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:Wn,d:function(e){return null==e?"":String(e)},b:function(e){const t=tr();if(B(t))throw new Error;const n=t;return function(t){dr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:tr()}},dc:function(e,t,n,r=pe){if(null==t)return null;if(!tn(t))throw new Error(`Invalid LWC Constructor ${Y(t)} for custom element <${e}>.`);return Vn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Wn(""),...t,Wn("")],stable:n,owner:tr()}},ti:function(e){return e>0&&!(V(e)||W(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:tr()}},gid:function(e){const t=tr();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=tr();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Un(e)},ssf:function(e,t){return{type:6,factory:t,owner:tr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let zn=!1,Kn=z;const Yn={enableProfiler(){zn=!0},disableProfiler(){zn=!1},attachDispatcher(e){Kn=e,this.enableProfiler()},detachDispatcher(){const e=Kn;return Kn=z,this.disableProfiler(),e}};function qn(e,t){zn&&Kn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Xn(e,t){zn&&Kn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Jn(e,t){zn&&Kn(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 Qn(e,t){zn&&Kn(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 Zn=!1,er=null;function tr(){return er}function nr(e){er=e}function rr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=tr(),c=!H(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!H(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";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)})),ir=rr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function sr(e,t){const n=Zn,o=er;let i=[];return jr(e,e.owner,(()=>{er=e,qn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(B(l)||Wr(e),c=t,!jt.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: ${Y(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=lr(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:b}=r;H(g)||(w&&s(n).remove(on(g)),b&&l(n,on(g))),H(a)||0===a.length||(h=u),H(h)||(f&&(s(n).add(on(h)),p=!0),d&&(c(n,on(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=cn(e,t);o.styleVNodes=0===n.length?null:dn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],Zn=!0,i=t.call(void 0,Gn,n,s,o.tplCache);const{styleVNodes:u}=o;B(u)||O.apply(i,u)}))}),(()=>{Zn=n,er=o,Xn(1,e)})),i}function lr(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}let cr=null;function ar(e){return cr===e}function ur(e,t,n){const{component:r,callHook:o,owner:i}=e;jr(e,i,z,(()=>{o(r,t,n)}),z)}function dr(e,t,n,r){const{callHook:o,owner:i}=e;jr(e,i,z,(()=>{o(n,t,[r])}),z)}const fr=new Map;function hr(e){return Ne((()=>{const{isDirty:t}=e;W(t)&&(mr(e),function(e){if(V(e.isScheduled))return;e.isScheduled=!0,0===Rr.length&&ge(Ir);T.call(Rr,e)}(e))}))}function pr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=tr();let s,l=!1;return jr(e,o,(()=>{nr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{nr(i)})),l?sr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function mr(e){e.isDirty=!0}const gr=new WeakMap;function wr(e,t){if(!j(t))throw new TypeError;let n=gr.get(t);return H(n)&&(n=function(n){dr(e,t,void 0,n)},gr.set(t,n)),n}const br=r(null),yr=["rendered","connected","disconnected"];function vr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Er=0;const Cr=new WeakMap;function Mr(e,t,n=[]){return t.apply(e,n)}function Sr(e,t,n){e[t]=n}function Tr(e,t){return e[t]}function kr(e){$r(e)}function Ar(e){const t=Or(e);Jn(7,t),1===t.state&&Nr(e),Fr(t),$r(t),Qn(7,t)}function Nr(e){Lr(Or(e))}function Lr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){W(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=br;t&&vr(e,t);Hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;jr(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;H(n)||(qn(5,e),ur(e,n),Xn(5,e))}(e),Br(e),function(e){const{aChildren:t}=e;Vr(t)}(e)}}function _r(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=nn(t),u={elm:e,def:a,idx:Er++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:pe,aChildren:pe,velements:pe,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar: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:he,wiredConnecting:pe,wiredDisconnecting:pe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Mr,setHook:Sr,getHook:Tr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(de.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=hr(u),function(e,t){const n=cr;let r;qn(0,e),cr=e;try{const o=new t;if(cr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Xn(0,e),cr=n,!H(r))throw _e(e,r),r}}(u,a.ctor),Hr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Ur.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=zr(e,t,s),c=s.dynamic.length>0;T.call(r,(()=>{n.connect(),de.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function xr(e,t){Cr.set(e,t)}function Or(e){return Cr.get(e)}function Pr(e){return Cr.get(e)}function $r(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&jr(e,e,(()=>{qn(2,e)}),(()=>{vn(r,t,n,o)}),(()=>{Xn(2,e)}));1===e.state&&Dr(e)}(e,pr(e))}}function Dr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=br;n&&vr(e,n),H(t)||(qn(4,e),ur(e,t),Xn(4,e))}let Rr=[];function Ir(){Jn(8);const e=Rr.sort(((e,t)=>e.idx-t.idx));Rr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{$r(r)}catch(r){throw t+1<n&&(0===Rr.length&&ge(Ir),O.apply(Rr,L.call(e,t+1))),Qn(8),r}}Qn(8)}function Fr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=br;n&&vr(e,n),Hr(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;H(r)||(qn(3,e),ur(e,r),Xn(3,e))}function Hr(e){return c(e.def.wire).length>0}function Br(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=Pr(n);H(e)||Lr(e)}}}function Vr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:Vr(n.children);break;case 3:Lr(Or(n.elm));break}}}function Wr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=pe,Br(e),e.velements=pe}function jr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){_e(e,i);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;Wr(e),qn(6,e);ur(n,n.def.errorCallback,[i,i.wcStack]),Xn(6,e)}}}const Ur=new Map;class Gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function zr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=H(r)?function(e,t){return n=>{Ue(e,t,n)}}(e,t):function(e,t){return n=>{jr(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),jr(e,e,z,(()=>{u=new o(c)}),z);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=Ne((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{jr(e,e,z,(()=>{u.update(t,a)}),z)}));return H(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Yr(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(s,(()=>{const e=new Gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Kr=new Map;function Yr(e){return Kr.get(e)}function qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Ur.set(e,o)}function Xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Ur.set(e,o)}let Jr=!1;function Qr(e){const t=pr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;to(r(n),t,n,e),Dr(e)}function Zr(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!oo(t,e,3,n))return no(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:i=function(e,t,n){var r;if(!oo(t,e,8,n))return no(e,t,n);const{setProperty:o}=n;return o(e,eo,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!oo(n,t,3,r)&&o(e,eo)===o(t,eo);if(8===o(e,"nodeType"))return!!oo(n,t,8,r)&&o(e,eo)===o(t,eo);if(!oo(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Oe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return no(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return to(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!oo(t,e,1,n)||!io(t,e,n))return no(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!H(o)&&!H(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;H(r)||H(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ye(r,"innerHTML")}))}if(ro(t,n),!i){const{getFirstChild:o}=n;to(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!oo(t,e,1,n)||!io(t,e,n))return no(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=_r(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,$n(t,l),ro(t,n),Fr(l),0!==l.renderMode){const{getFirstChild:r}=n;to(r(e),t.children,e,l)}return Qr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const eo="nodeValue";function to(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];B(r)||(o?(o=Zr(o,r,s),i=r.elm):(Jr=!0,Cn(r,n,s,i),i=r.elm))}if(o){Jr=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),xn(t,n,s)}while(o)}}function no(e,t,n){Jr=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Cn(t,o,n,e),xn(e,o,n),t.elm}function ro(e,t){yn(e,t),gn(null,e,t)}function oo(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,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=un(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=nn(e.ctor),{stylesheetToken:n}=t;return!H(n)&&lr(t)?on(n):null}(e):null;if(!B(a)||!B(u))if(H(i))if(H(s)){const e=[a,u],t=y.call(e,(e=>!B(e)));t.length&&(i=C.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),B(a)?{}:{[a]:!0}),B(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!B(e)));i=C.call(t," ")}let d=!0;if(H(i)||String(i)===l(t,"className")){if(!H(s)){const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(H(r)||r===s){if(!H(o)){const e=function(e){const t={},n=e.split(we);for(const e of n)if(e){const[n,r]=e.split(be);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];H(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let so=!1;const lo=j(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),co=lo&&l(document.adoptedStyleSheets,"length").writable,ao=!H(document.documentMode),uo=new Map;function fo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function ho(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?ao?fo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function po(e,t){let n=uo.get(e);return H(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},uo.set(e,n)),t&&H(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&H(n.element)&&(n.element=fo(e)),n}function mo(e,t){const n=po(e,lo);let{roots:r}=n;if(H(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),lo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;co?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):ho(e,t,n)}const go=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),wo=(e,t)=>{const n=document.createElement(e);return t(n),n},bo=new Map,yo=new WeakSet;let vo=!1;const Eo=(e,t)=>class extends HTMLElement{constructor(e){super(),vo?e(this):yo.add(this)}connectedCallback(){yo.has(this)||e(this)}disconnectedCallback(){yo.has(this)||t(this)}},Co=(e,t,n,r)=>{let o=bo.get(e);if(H(o)){if(!H(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Eo(n,r),customElements.define(e,o),bo.set(e,o)}vo=!0;try{return new o(t)}finally{vo=!1}};let Mo,So;de.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&go&&(Mo=function(){if(!go)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new Map,d=new Map,f=new Map,h=new Map,m=new Set;function g(t,n){class r extends e{constructor(e){super();const r=!H(e);if(r){if(!E(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?C(e):d.get(t);H(o)?l.set(this,n):v(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(H(n)){let e=h.get(t);H(e)&&h.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(H(n)){const e=h.get(t);H(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r}function w(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||H(r)?m:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function b(e){setTimeout((()=>{throw e}))}let y;function v(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=w(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){b(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){b(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),y=e,new c.UserCtor,function(e,n,r){const o=w(n,r);if(0===w(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function E(e){return j(e)&&U(e.prototype)}function C(e){if(!E(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return H(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i}=e.prototype;return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[])}}(e):t}const{customElements:M}=window,{define:S,whenDefined:T,get:k}=M;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(d.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!H(f.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=C(t);a.add(t);let o=u.get(e);H(o)&&(o=g(e,r),S.call(M,e,o)),c.set(t,r),u.set(e,o),d.set(e,r),f.set(t,r),r.PivotCtor=o;const i=h.get(e);if(!H(i)){h.delete(e);for(const e of i){const t=l.get(e);H(t)||(l.delete(e),v(e,t,r))}}},CustomElementRegistry.prototype.get=function(e){const t=k.call(M,e);if(!H(t)){const n=d.get(e);return H(n)?t:n.UserCtor}},CustomElementRegistry.prototype.whenDefined=function(e){return T.call(M,e).then((t=>{const n=d.get(e);return H(n)?H(t)?k.call(M,e):t:n.UserCtor}))},window.HTMLElement=function(){const e=y;if(!H(e))return y=void 0,e;const{constructor:t}=this,n=f.get(t);if(H(n)||H(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=F.call(e);let n=u.get(e);if(H(n)){const r=C(t);n=g(e,r),S.call(M,e,n),r.PivotCtor=n,c.set(t,r),u.set(e,n)}return a.add(t),n}}(),So=window.HTMLElement);const To=(e,t,n,r)=>class extends r{constructor(){super(),e(this)}connectedCallback(){t(this)}disconnectedCallback(){n(this)}};let ko;function Ao(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}ko=go?de.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(H(Mo)||H(So))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=To(t,n,r,So);return new(Mo(e,o))(o)}:Co:wo;const No=n(Ao(null),{insertStylesheet:function(e,t){H(t)?function(e){const t=po(e,!1);t.global||(t.global=!0,ho(e,document.head,t))}(e):mo(e,t)},createCustomElement:ko,isNativeShadowDefined:Z.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function Lo(e,t,n){const r=_r(e,t,No,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function _o(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(!j(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!U(n)||B(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Pr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Jr=!1,Fr(e),Qr(e),Jr&&Oe("Hydration completed with errors.",e)}(Lo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!B(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!B(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Lo(e,t,n),Ar(e)}}const xo=new WeakSet;function Oo(e){var t;const n=function(e){return nn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(_o(this,e,{}),xo.add(this)):_r(this,e,No,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){xo.has(this)?xo.delete(this):Ar(this)}disconnectedCallback(){Nr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Po=Node,$o=new WeakMap,Do=new WeakMap;function Ro(e,t){const n=t.get(e);return H(n)||n(e),e}if(!de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Po.prototype;n(Po.prototype,{appendChild(t){return Ro(e.call(this,t),$o)},insertBefore(e,n){return Ro(t.call(this,e,n),$o)},removeChild(e){return Ro(r.call(this,e),Do)},replaceChild(e,t){const n=o.call(this,e,t);return Ro(n,Do),Ro(e,$o),n}})}const Io=Node;const Fo=new Map;i(_t,"CustomElementConstructor",{get(){return function(e){if(e===_t)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Fo.get(e);return H(t)&&(t=Oo(e),Fo.set(e,t)),t}(this)}}),s(_t),h(_t.prototype),e.LightningElement=_t,e.__unstable__ProfilerControl=Yn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Yr(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Kr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!U(t)||B(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${Y(t)}".`);const n=t.is;if(!j(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=No,o=F.call(e);return r(o,(e=>{_r(e,n,No,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||($o.set(e,Ar),Do.set(e,Nr))}),(e=>{de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Ar(e)}),(e=>{de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Nr(e)}))},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!H(e)){const n=Pr(e);H(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=nn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:re(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=_o,e.isComponentConstructor=tn,e.isNodeFromTemplate=function(e){if(W(e instanceof Io))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&W(u.call(a(t),"synthetic")))||No.isSyntheticShadowDefined&&!H(e.$shadowResolver$)},e.parseFragment=or,e.parseSVGFragment=ir,e.readonly=function(e){return St(e)},e.register=function(e){for(let t=0;t<yr.length;++t){const n=yr[t];if(n in e){let t=br[n];H(t)&&(br[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return j(e)&&fr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,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(!H(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(H(w))throw new Error;w=Ft(e,w)}else w=H(w)||H(w.get)?It(e):Ft(e,w);f[e]=w,i(n,e,w)}if(H(s)||P.call(s,(e=>{if(w=l(n,e),H(w))throw new Error;d[e]=w})),!H(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(H(w))throw new Error;h[e]=w,qr(w,t,o,s)}else w=Bt(e),p[e]=w,Xr(w,t,o,s),i(n,e,w)}if(!H(a))for(const e in a)w=l(n,e),w=Ht(e),i(n,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!H(o)&&t in o,i=!H(a)&&t in a;r||i||(m[t]=Dt(t))}return function(e,t){Vt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return jt.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},e.renderer=No,e.rendererFactory=Ao,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(ue[e])){const n=f(ue).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=de[e];if(!H(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}".`);i(de,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(so,"Hooks are already overridden, only one definition is allowed."),so=!0,n=e.sanitizeHtmlContent,Un=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 Tt(e);throw new Error},e.unwrap=function(e){return Mt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
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,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:b,filter:y,find:v,indexOf:E,join:C,map:M,pop:S,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:x,splice:O,unshift:P,forEach:D}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:R,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function V(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function U(e){return"function"==typeof e}function G(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const Y={}.toString;function q(e){return e&&e.toString?m(e)?C.call(M.call(e,q),","):e.toString():"object"==typeof e?Y.call(e):e+""}function X(e,t){do{const n=l(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const J=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Q,AriaPropNameToAttrNameMap:Z}=(()=>{const e=r(null),t=r(null);return D.call(J,(n=>{const r=H.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ee=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),te="http://www.w3.org/2000/svg",ne=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"]]),re=new Map;function oe(e){const t=Z[e];if(!B(t))return t;const n=ne.get(e);if(!B(n))return n;const r=re.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return re.set(e,o),o}function ie(e){return void 0===l(Element.prototype,e)}const se=new WeakMap;function le(e){let t=se.get(e);return void 0===t&&(t={},se.set(e,t)),t}function ce(e,t){return{get(){const n=le(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;le(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ae(e){const t=ce(e,Z[e]);Object.defineProperty(Element.prototype,e,t)}const ue=f(Z);for(let e=0,t=ue.length;e<t;e+=1){const t=ue[e];ie(t)&&ae(t)}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:r(null)});const fe=ee.lwcRuntimeFlags;let he=[];const pe=h(r(null)),me=h([]);function ge(){const e=he;he=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function we(e){0===he.length&&Promise.resolve().then(ge),T.call(he,e)}const be=/;(?![^(]*\))/g,ye=/:(.+)/;function ve(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ee(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ce=new WeakMap;let Me=null;function Se(e,t){const n=Ce.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Te(e,t){if(null===Me)return;const n=Me,o=function(e){let t=Ce.get(e);if(B(t)){const n=r(null);t=n,Ce.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===E.call(i,n)&&n.link(i)}class ke{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Me;let n;Me=this;try{e()}catch(e){n=Object(e)}finally{if(Me=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=E.call(e[n],this);O.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 Ae(e,t){Se(e.component,t)}function Ne(e,t){Te(e.component,t)}function Le(e){return new ke(e)}function _e(e){return`<${H.call(e.tagName)}>`}function xe(e,t){if(!d(t)&&B(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);i(t,"wcStack",{get:()=>n})}}function Oe(e,t,n){let r=`[LWC ${e}]: ${t}`;B(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+_e(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Pe(e,t){Oe("error",e,t)}function De(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function $e(e){return U(e)&&u.call(e,"__circular__")}const Re="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ie=Re.prototype;function Fe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Fe("offsetHeight")},offsetLeft:{readOnly:!0,error:Fe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Fe("offsetTop")},offsetWidth:{readOnly:!0,error:Fe("offsetWidth")},role:{attribute:"role"}});let He,Be=null;function Ve(e,t){return e!==Be||t!==He}function We(e,t){Be=null,He=void 0}function je(e,t){Be=e,He=t}const Ue=r(null);function Ge(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ae(e,t))}D.call(f(Z),(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)})),D.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)}));const{isArray:ze}=Array,{prototype:Ke,getPrototypeOf:Ye,create:qe,defineProperty:Xe,isExtensible:Je,getOwnPropertyDescriptor:Qe,getOwnPropertyNames:Ze,getOwnPropertySymbols:et,preventExtensions:tt,hasOwnProperty:nt}=Object,{push:rt,concat:ot}=Array.prototype;function it(e){return void 0===e}function st(e){return"function"==typeof e}const lt=new WeakMap;function ct(e,t){lt.set(e,t)}const at=e=>lt.get(e)||e;class ut{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(nt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.wrapGetter(n)),it(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Qe(n,t);if(!it(r)){const n=this.wrapDescriptor(r);Xe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ot.call(Ze(t),et(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;it(n)||nt.call(e,n)||Xe(e,n,qe(null)),tt(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=it(n)||nt.call(t,n)?[]:[n];return rt.apply(r,Ze(t)),rt.apply(r,et(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Je(e)&&(!!Je(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ye(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Qe(n,t);if(it(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Xe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const dt=new WeakMap,ft=new WeakMap,ht=new WeakMap,pt=new WeakMap;class mt extends ut{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=dt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return dt.set(e,r),ht.set(r,e),r}wrapSetter(e){const t=ft.get(e);if(!it(t))return t;const n=function(t){e.call(at(this),at(t))};return ft.set(e,n),pt.set(n,e),n}unwrapDescriptor(e){if(nt.call(e,"value"))e.value=at(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.unwrapGetter(n)),it(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ht.get(e);if(!it(t))return t;const n=this,r=function(){return at(e.call(n.wrapValue(this)))};return dt.set(r,e),ht.set(e,r),r}unwrapSetter(e){const t=pt.get(e);if(!it(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ft.set(r,e),pt.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&&ze(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(Je(e)){const{originalTarget:t}=this;if(tt(t),Je(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!nt.call(r,t)||(Xe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const gt=new WeakMap,wt=new WeakMap;class bt extends ut{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=gt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return gt.set(e,r),r}wrapSetter(e){const t=wt.get(e);if(!it(t))return t;const n=function(e){};return wt.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 yt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ze(e))return!0;const t=Ye(e);return t===Ke||null===t||null===Ye(t)}const vt=(e,t)=>{},Et=(e,t)=>{};function Ct(e){return ze(e)?[]:{}}const Mt=Symbol.for("@@lockerLiveValue"),St=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=st(t)?t:Et,this.valueObserved=st(n)?n:vt,this.valueIsObservable=st(r)?r:yt,this.tagPropertyKey=o}getProxy(e){const t=at(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=at(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return at(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(it(t)){const n=new mt(this,e);t=new Proxy(Ct(e),n),ct(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(it(t)){const n=new bt(this,e);t=new Proxy(Ct(e),n),ct(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Te,valueMutated:Se,tagPropertyKey:Mt});function Tt(e){return St.getReadOnlyProxy(e)}function kt(e){return St.getProxy(e)}function At(e){e[Mt]=void 0}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Pr(this);if(!ur(t))return Ne(t,e),n.call(t.elm)},set(t){const n=Pr(this);return Ge(n,e,t),r.call(n.elm,t)}}}const Lt=s(r(null)),_t=new WeakMap,xt=function(){if(V(ar))throw new TypeError("Illegal constructor");const e=ar,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return At(this),Or(o,e),Or(n,e),1===e.renderMode?e.renderRoot=Ot(e):e.renderRoot=n,this};function Ot(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Or(s,e),s}xt.prototype={constructor:xt,dispatchEvent(e){const t=Pr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Pr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,br(r,t),n)},removeEventListener(e,t,n){const r=Pr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,br(r,t),n)},hasAttribute(e){const t=Pr(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=Pr(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=Pr(this),{elm:n,renderer:{removeAttribute:r}}=t;je(n,e),r(n,e),We()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Pr(this);je(n,t),r(n,t,e),We()},getAttribute(e){const t=Pr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Pr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Pr(this),{elm:r,renderer:{setAttribute:o}}=n;je(r,e),o(r,e,t),We()},setAttributeNS(e,t,n){const r=Pr(this),{elm:o,renderer:{setAttribute:i}}=r;je(o,t),i(o,t,n,e),We()},getBoundingClientRect(){const e=Pr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Pr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Pr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Pr(this).shadowRoot},get refs(){const e=Pr(this);if(er)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(V(t))return Lt;let i=_t.get(t);if(B(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),_t.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Pr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Pr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Pr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Pr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Pr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Pr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Pr(this).def.template},toString(){return`[object ${Pr(this).def.name}]`}};const Pt=r(null),Dt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Dt)Pt[e]={value(t){const n=Pr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(xt.prototype,Pt);const $t=r(null);for(const e in Ue)$t[e]=Nt(e,Ue[e]);function Rt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Pr(this),e,t)},enumerable:!0,configurable:!0}}o(xt.prototype,$t),i(xt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class It extends ke{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,we((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,W(e.isDirty)&&j(r)&&i>0&&Ar(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ft(e){return{get(){const t=Pr(this);if(!ur(t))return Ne(t,e),t.cmpProps[e]},set(t){const n=Pr(this);n.cmpProps[e]=t,Ae(n,e)},enumerable:!0,configurable:!0}}function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Pr(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];B(o)&&(o=n.oar[e]=function(e,t){return new It(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Bt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){const n=Pr(this),r=kt(t);Ge(n,e,r)},enumerable:!0,configurable:!0}}function Vt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Pr(this),e,t)},enumerable:!0,configurable:!0}}const Wt=new Map;const jt={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const Ut=new Set;function Gt(){return[]}Ut.add(Gt);const zt=r(null),Kt=r(null);function Yt(e){let t=zt[e];return B(t)&&(t=zt[e]=function(){const t=Pr(this),{getHook:n}=t;return n(t.component,e)}),t}function qt(e){let t=Kt[e];return B(t)&&(t=Kt[e]=function(t){const n=Pr(this),{setHook:r}=n;t=Tt(t),r(n.component,e,t)}),t}function Xt(e){return function(){const t=Pr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function Jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];B(i)?B(t)||t.apply(this,arguments):Ve(this,n)&&(this[i]=o)}}function Qt(e,t,n){let s;U(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));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[oe(n)]=n,u[n]={get:Yt(n),set:qt(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Xt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Jt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Zt=Qt(Re,c(Ue),[]);s(Zt),h(Zt.prototype);const en=new WeakMap;function tn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Wt.get(e);return B(t)?jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if($e(t)){const e=De(t);t=e===t?xt:e}return t}(e),C=E!==xt?rn(E):on,M=Qt(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,b=b||C.renderedCallback,y=y||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;B(t)||(N=t);let L=C.renderMode;B(i)||(L="light"===i?0:1);const _=function(e){return hr.get(e)}(e)||C.template,x=e.name||C.name;o(m,p);return{ctor:e,name:x,wire:A,props:S,propsConfig:T,methods:k,bridge:M,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}}function nn(e){if(!U(e))return!1;if(e.prototype instanceof xt)return!0;let t=e;do{if($e(t)){const e=De(t);if(e===t)return!0;t=e}if(t===xt)return!0}while(!V(t)&&(t=a(t)));return!1}function rn(e){let t=en.get(e);if(B(t)){if($e(e)){return t=rn(De(e)),en.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=tn(e),en.set(e,t)}return t}const on={ctor:xt,name:xt.name,props:$t,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Zt,template:Gt,render:xt.prototype.render};function sn(e){return`${e}-host`}function ln(e){return zn.h("style",{key:"style",attrs:{type:"text/css"}},[zn.t(e)])}function cn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))T.apply(r,cn(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Pe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(B(o)&&(o=un(n)),c=V(o)||0===o.shadowMode),T.call(r,s(i,l,c))}}return r}function an(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return B(n)||0===n.length||(o=cn(n,r,e)),o}function un(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 M.call(t,ln);{const n=function(e){const t=un(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 hn(e){const{type:t}=e;return 2===t||3===t}function pn(e,t){return e.key===t.key&&e.sel===t.sel}function mn(e){return 6===e.type}function gn(e,t){return"input"===e&&("value"===t||"checked"===t)}function wn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(B(o)&&B(i))return;let s;if(!V(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;B(s)&&(s=pe),B(t)||(s=n({},s,t))}B(i)||(o=n({},o,i));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===(gn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const bn=r(null);function yn(e){if(null==e)return pe;e=z(e)?e:e+"";let t=bn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===R.call(e,n)&&(n>o&&(t[F.call(e,o,n)]=!0),o=n+1);return n>o&&(t[F.call(e,o,n)]=!0),bn[e]=t,t}function vn(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function En(e,t,n,r){var o;o=t,Rn.has(o)?Fn(e,t,n,r):Hn(e,t,n,r)}function Cn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&_n(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Hn(e.children,o,n,r):Fn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Pn(e,t,n),En(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);kn(e,n,r,!0),Sn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Pn(e,t,r),B(o)||$n(t,o),En(e.children,t.children,n,r),B(o)||Ar(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Mn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Ln(s,o,r),xn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Ln(s,o,r),xn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Ln(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));xn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Tn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=W(s)?te:void 0,a=e.elm=l(o,c);Ln(a,i,r),Dn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Pn(null,e,r),xn(a,t,n,r),Tn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Sn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Sn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const c=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Dr(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=xr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Nr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Lr(e)}));e.elm=c,e.vm=l,Ln(c,i,r),Dn(c,i,r),l&&$n(e,l),Pn(null,e,r),xn(c,t,n,r),l&&(fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Hr(l)),Tn(e.children,c,r,null),l&&function(e){$r(e)}(l)}function Tn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Nn(i)&&Mn(i,t,n,r)}}function kn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?An(e.children,t,n,r):On(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;An(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){_r(e)}(t)}}}function An(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Nn(i)&&kn(i,t,n,r)}}function Nn(e){return null!=e}function Ln(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function _n(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function xn(e,t,n,r){r.insert(e,t,n)}function On(e,t,n){n.remove(e,t)}function Pn(e,t,n){V(e)&&(vn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(B(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=V(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=yn(o),a=yn(i);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(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:i,removeAttribute:s}=n;z(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=V(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(je(i,e),58===R.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):V(t)||B(t)?l(i,e):s(i,e,t),We())}}(e,t,n),wn(e,t,n)}function Dn(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||B(o)||(e.$shadowToken$=o)}function $n(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=r(null);e.cmpSlots={owner:n,slotAssignments:l};for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";hn(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":mn(n)&&(r=n.slotName);const s=l[r]=l[r]||[];T.call(s,n)}if(j(e.isDirty)){const t=f(s);if(t.length!==f(l).length)return void gr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(l[r])||s[r].length!==l[r].length)return void gr(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void gr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=me)}const Rn=new WeakMap;function In(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Nn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Fn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)Nn(l)?Nn(c)?Nn(m)?Nn(g)?pn(l,m)?(Cn(l,m,n,r),l=e[++o],m=t[++i]):pn(c,g)?(Cn(c,g,n,r),c=e[--s],g=t[--p]):pn(l,g)?(Cn(l,g,n,r),xn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):pn(c,m)?(Cn(c,m,n,r),xn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=In(e,o,s)),d=u[m.key],B(d)?(Mn(m,n,r,l.elm),m=t[++i]):(f=e[d],Nn(f)&&(f.sel!==m.sel?Mn(m,n,r,l.elm):(Cn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,xn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Nn(e)&&o<a);h=Nn(e)?e.elm:null,Tn(t,n,r,h,i,p+1)}else An(e,n,r,!0,o,s+1)}function Hn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Tn(t,n,r,null);if(0===i)return void An(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Nn(i)?Nn(l)?(Cn(i,l,n,r),s=l.elm):kn(i,n,r,!0):Nn(l)&&(Mn(l,n,r,s),s=l.elm))}}const Bn=Symbol.iterator;function Vn(e,t,n=me){const r=nr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ee(r,i,s),s}function Wn(e,t,n,r=me){const o=nr(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(nr().velements,e)}(l),B(s)||Ee(o,s,l),l}function jn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:nr()}}function Un(e){var t;return t=e,Rn.set(t,1),e}let Gn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const zn=s({s:function(e,t,n,r){B(r)||B(r.slotAssignments)||B(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=mn(n);if(o!==!B(t.slotData))return e;if(o){const o=nr();let i=[];rr(r.owner);try{i=n.factory(t.slotData)}finally{rr(o)}return g.call(e,i)}return g.call(e,n)}return e}),[]));const o=nr(),{renderMode:i,shadowMode:s}=o;return 0===i?(Un(n),n):(1===s&&Un(n),Vn("slot",t,n))},h:Vn,c:Wn,i:function(e,t){const n=[];if(Un(n),B(e)||null===e)return n;const r=e[Bn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Un(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:jn,d:function(e){return null==e?"":String(e)},b:function(e){const t=nr();if(V(t))throw new Error;const n=t;return function(t){fr(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:nr()}},dc:function(e,t,n,r=me){if(null==t)return null;if(!nn(t))throw new Error(`Invalid LWC Constructor ${q(t)} for custom element <${e}>.`);return Wn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[jn(""),...t,jn("")],stable:n,owner:nr()}},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:nr()}},gid:function(e){const t=nr();if(B(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=nr();if(B(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 Gn(e)},ssf:function(e,t){return{type:6,factory:t,owner:nr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Kn=!1,Yn=K;const qn={enableProfiler(){Kn=!0},disableProfiler(){Kn=!1},attachDispatcher(e){Yn=e,this.enableProfiler()},detachDispatcher(){const e=Yn;return Yn=K,this.disableProfiler(),e}};function Xn(e,t){Kn&&Yn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Jn(e,t){Kn&&Yn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Qn(e,t){Kn&&Yn(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 Zn(e,t){Kn&&Yn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let er=!1,tr=null;function nr(){return tr}function rr(e){tr=e}function or(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=nr(),c=!B(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!B(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";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 ir=or(((e,t)=>{const{createFragment:n}=t;return n(e)})),sr=or(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function lr(e,t){const n=er,o=tr;let i=[];return Ur(e,e.owner,(()=>{tr=e,Xn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||jr(e),c=t,!Ut.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: ${q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=cr(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:b}=r;B(g)||(w&&s(n).remove(sn(g)),b&&l(n,sn(g))),B(a)||0===a.length||(h=u),B(h)||(f&&(s(n).add(sn(h)),p=!0),d&&(c(n,sn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=an(e,t);o.styleVNodes=0===n.length?null:fn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],er=!0,i=t.call(void 0,zn,n,s,o.tplCache);const{styleVNodes:u}=o;V(u)||P.apply(i,u)}))}),(()=>{er=n,tr=o,Jn(1,e)})),i}function cr(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}let ar=null;function ur(e){return ar===e}function dr(e,t,n){const{component:r,callHook:o,owner:i}=e;Ur(e,i,K,(()=>{o(r,t,n)}),K)}function fr(e,t,n,r){const{callHook:o,owner:i}=e;Ur(e,i,K,(()=>{o(n,t,[r])}),K)}const hr=new Map;function pr(e){return Le((()=>{const{isDirty:t}=e;j(t)&&(gr(e),function(e){if(W(e.isScheduled))return;e.isScheduled=!0,0===Ir.length&&we(Fr);T.call(Ir,e)}(e))}))}function mr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=nr();let s,l=!1;return Ur(e,o,(()=>{rr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{rr(i)})),l?lr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function gr(e){e.isDirty=!0}const wr=new WeakMap;function br(e,t){if(!U(t))throw new TypeError;let n=wr.get(t);return B(n)&&(n=function(n){fr(e,t,void 0,n)},wr.set(t,n)),n}const yr=r(null),vr=["rendered","connected","disconnected"];function Er(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Cr=0;const Mr=new WeakMap;function Sr(e,t,n=[]){return t.apply(e,n)}function Tr(e,t,n){e[t]=n}function kr(e,t){return e[t]}function Ar(e){$r(e)}function Nr(e){const t=Pr(e);Qn(7,t),1===t.state&&Lr(e),Hr(t),$r(t),Zn(7,t)}function Lr(e){_r(Pr(e))}function _r(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=yr;t&&Er(e,t);Br(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ur(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;B(n)||(Xn(5,e),dr(e,n),Jn(5,e))}(e),Vr(e),function(e){const{aChildren:t}=e;Wr(t)}(e)}}function xr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=rn(t),u={elm:e,def:a,idx:Cr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:me,aChildren:me,velements:me,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar: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:pe,wiredConnecting:me,wiredDisconnecting:me},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Sr,setHook:Tr,getHook:kr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=V(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=pr(u),function(e,t){const n=ar;let r;Xn(0,e),ar=e;try{const o=new t;if(ar.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Jn(0,e),ar=n,!B(r))throw xe(e,r),r}}(u,a.ctor),Br(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Gr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Kr(e,t,s),c=s.dynamic.length>0;T.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Or(e,t){Mr.set(e,t)}function Pr(e){return Mr.get(e)}function Dr(e){return Mr.get(e)}function $r(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Ur(e,e,(()=>{Xn(2,e)}),(()=>{En(r,t,n,o)}),(()=>{Jn(2,e)}));1===e.state&&Rr(e)}(e,mr(e))}}function Rr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=yr;n&&Er(e,n),B(t)||(Xn(4,e),dr(e,t),Jn(4,e))}let Ir=[];function Fr(){Qn(8);const e=Ir.sort(((e,t)=>e.idx-t.idx));Ir=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{$r(r)}catch(r){throw t+1<n&&(0===Ir.length&&we(Fr),P.apply(Ir,L.call(e,t+1))),Zn(8),r}}Zn(8)}function Hr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=yr;n&&Er(e,n),Br(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;B(r)||(Xn(3,e),dr(e,r),Jn(3,e))}function Br(e){return c(e.def.wire).length>0}function Vr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Dr(n);B(e)||_r(e)}}}function Wr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!B(n.elm))switch(n.type){case 2:Wr(n.children);break;case 3:_r(Pr(n.elm));break}}}function jr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||B(o.elm)||r(o.elm,n)}e.children=me,Vr(e),e.velements=me}function Ur(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){xe(e,i);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;jr(e),Xn(6,e);dr(n,n.def.errorCallback,[i,i.wcStack]),Jn(6,e)}}}const Gr=new Map;class zr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Kr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=B(r)?function(e,t){return n=>{Ge(e,t,n)}}(e,t):function(e,t){return n=>{Ur(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Ur(e,e,K,(()=>{u=new o(c)}),K);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=Le((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Ur(e,e,K,(()=>{u.update(t,a)}),K)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=qr(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(s,(()=>{const e=new zr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Yr=new Map;function qr(e){return Yr.get(e)}function Xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Gr.set(e,o)}function Jr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Gr.set(e,o)}let Qr=!1;function Zr(e){const t=mr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;no(r(n),t,n,e),Rr(e)}function eo(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!io(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:i=function(e,t,n){var r;if(!io(t,e,8,n))return ro(e,t,n);const{setProperty:o}=n;return o(e,to,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!io(n,t,3,r)&&o(e,to)===o(t,to);if(8===o(e,"nodeType"))return!!io(n,t,8,r)&&o(e,to)===o(t,to);if(!io(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Pe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return ro(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return no(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!io(t,e,1,n)||!so(t,e,n))return ro(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!B(o)&&!B(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;B(r)||B(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ve(r,"innerHTML")}))}if(oo(t,n),!i){const{getFirstChild:o}=n;no(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!io(t,e,1,n)||!so(t,e,n))return ro(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=xr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,$n(t,l),oo(t,n),Hr(l),0!==l.renderMode){const{getFirstChild:r}=n;no(r(e),t.children,e,l)}return Zr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const to="nodeValue";function no(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=eo(o,r,s),i=r.elm):(Qr=!0,Mn(r,n,s,i),i=r.elm))}if(o){Qr=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),On(t,n,s)}while(o)}}function ro(e,t,n){Qr=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Mn(t,o,n,e),On(e,o,n),t.elm}function oo(e,t){vn(e,t),wn(null,e,t)}function io(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function so(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,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=dn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=rn(e.ctor),{stylesheetToken:n}=t;return!B(n)&&cr(t)?sn(n):null}(e):null;if(!V(a)||!V(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!V(e)));t.length&&(i=C.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!V(e)));i=C.call(t," ")}let d=!0;if(B(i)||String(i)===l(t,"className")){if(!B(s)){const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(B(r)||r===s){if(!B(o)){const e=function(e){const t={},n=e.split(be);for(const e of n)if(e){const[n,r]=e.split(ye);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];B(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let lo=!1;const co=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),ao=co&&l(document.adoptedStyleSheets,"length").writable,uo=!B(document.documentMode),fo=new Map;function ho(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function po(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?uo?ho(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function mo(e,t){let n=fo.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},fo.set(e,n)),t&&B(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&B(n.element)&&(n.element=ho(e)),n}function go(e,t){const n=mo(e,co);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),co?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;ao?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):po(e,t,n)}const wo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),bo=(e,t)=>{const n=document.createElement(e);return t(n),n},yo=new Map,vo=new WeakSet;let Eo=!1;const Co=(e,t)=>class extends HTMLElement{constructor(e){super(),Eo?e(this):vo.add(this)}connectedCallback(){vo.has(this)||e(this)}disconnectedCallback(){vo.has(this)||t(this)}},Mo=(e,t,n,r)=>{let o=yo.get(e);if(B(o)){if(!B(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Co(n,r),customElements.define(e,o),yo.set(e,o)}Eo=!0;try{return new o(t)}finally{Eo=!1}};let So,To;fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&wo&&(So=function(){if(!wo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,w=new Set;function b(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!M(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?S(e):f.get(t);B(o)?l.set(this,n):C(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(B(n)){let e=m.get(t);B(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(B(n)){const e=m.get(t);B(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?w:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let E;function C(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=y(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),E=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function M(e){return U(e)&&G(e.prototype)}function S(e){if(!M(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return B(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i}=e.prototype;return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[])}}(e):t}const{customElements:T}=window,{define:k,whenDefined:A,get:N}=T;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!B(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=S(t);a.add(t);let o=d.get(e);B(o)&&(o=b(e,r),k.call(T,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const i=m.get(e);if(!B(i)){m.delete(e);for(const e of i){const t=l.get(e);B(t)||(l.delete(e),C(e,t,r))}}!function(e,t){const n=g.get(e);if(!B(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(T,e);if(!B(t)){const n=f.get(e);if(!B(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(T,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(T,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);B(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=E;if(!B(e))return E=void 0,e;const{constructor:t}=this,n=h.get(t);if(B(n)||B(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=H.call(e);let n=d.get(e);if(B(n)){const r=S(t);n=b(e,r),k.call(T,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),To=window.HTMLElement);const ko=(e,t,n,r)=>class extends r{constructor(){super(),e(this)}connectedCallback(){t(this)}disconnectedCallback(){n(this)}};let Ao;function No(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Ao=wo?fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(So)||B(To))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=ko(t,n,r,To);return new(So(e,o))(o)}:Mo:bo;const Lo=n(No(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=mo(e,!1);t.global||(t.global=!0,po(e,document.head,t))}(e):go(e,t)},createCustomElement:Ao,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function _o(e,t,n){const r=xr(e,t,Lo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function xo(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(!G(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Dr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Qr=!1,Hr(e),Zr(e),Qr&&Pe("Hydration completed with errors.",e)}(_o(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),_o(e,t,n),Nr(e)}}const Oo=new WeakSet;function Po(e){var t;const n=function(e){return rn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(xo(this,e,{}),Oo.add(this)):xr(this,e,Lo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Oo.has(this)?Oo.delete(this):Nr(this)}disconnectedCallback(){Lr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Do=Node,$o=new WeakMap,Ro=new WeakMap;function Io(e,t){const n=t.get(e);return B(n)||n(e),e}if(!fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Do.prototype;n(Do.prototype,{appendChild(t){return Io(e.call(this,t),$o)},insertBefore(e,n){return Io(t.call(this,e,n),$o)},removeChild(e){return Io(r.call(this,e),Ro)},replaceChild(e,t){const n=o.call(this,e,t);return Io(n,Ro),Io(e,$o),n}})}const Fo=Node;const Ho=new Map;i(xt,"CustomElementConstructor",{get(){return function(e){if(e===xt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ho.get(e);return B(t)&&(t=Po(e),Ho.set(e,t)),t}(this)}}),s(xt),h(xt.prototype),e.LightningElement=xt,e.__unstable__ProfilerControl=qn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=qr(e);if(!B(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Yr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{B(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!G(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${q(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}=Lo,o=H.call(e);return r(o,(e=>{xr(e,n,Lo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||($o.set(e,Nr),Ro.set(e,Lr))}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Nr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Lr(e)}))},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=Dr(e);B(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=rn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:oe(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=xo,e.isComponentConstructor=nn,e.isNodeFromTemplate=function(e){if(j(e instanceof Fo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Lo.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=ir,e.parseSVGFragment=sr,e.readonly=function(e){return Tt(e)},e.register=function(e){for(let t=0;t<vr.length;++t){const n=vr[t];if(n in e){let t=yr[n];B(t)&&(yr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&hr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,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(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(B(w))throw new Error;w=Ht(e,w)}else w=B(w)||B(w.get)?Ft(e):Ht(e,w);f[e]=w,i(n,e,w)}if(B(s)||D.call(s,(e=>{if(w=l(n,e),B(w))throw new Error;d[e]=w})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(B(w))throw new Error;h[e]=w,Xr(w,t,o,s)}else w=Vt(e),p[e]=w,Jr(w,t,o,s),i(n,e,w)}if(!B(a))for(const e in a)w=l(n,e),w=Bt(e),i(n,e,w);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=Rt(t))}return function(e,t){Wt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Ut.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}}),e},e.renderer=Lo,e.rendererFactory=No,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(de[e])){const n=f(de).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=fe[e];if(!B(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}".`);i(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(lo,"Hooks are already overridden, only one definition is allowed."),lo=!0,n=e.sanitizeHtmlContent,Gn=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 kt(e);throw new Error},e.unwrap=function(e){return St.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -49,7 +49,7 @@
49
49
  */
50
50
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor: getOwnPropertyDescriptor$1, getOwnPropertyNames: getOwnPropertyNames$1, getPrototypeOf: getPrototypeOf$1, hasOwnProperty: hasOwnProperty$1, isFrozen, keys, seal, setPrototypeOf, } = Object;
51
51
  const { isArray: isArray$1 } = Array;
52
- const { concat: ArrayConcat$1, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
52
+ const { concat: ArrayConcat$1, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
53
53
  const { fromCharCode: StringFromCharCode } = String;
54
54
  const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
55
55
  function isUndefined$1(obj) {
@@ -294,7 +294,7 @@
294
294
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
295
295
  return attributeName;
296
296
  }
297
- /** version: 2.27.0 */
297
+ /** version: 2.28.0 */
298
298
 
299
299
  /**
300
300
  * Copyright (C) 2018 salesforce.com, inc.
@@ -376,7 +376,7 @@
376
376
  patch$1(propName);
377
377
  }
378
378
  }
379
- /** version: 2.27.0 */
379
+ /** version: 2.28.0 */
380
380
 
381
381
  /**
382
382
  * Copyright (C) 2018 salesforce.com, inc.
@@ -3142,9 +3142,14 @@
3142
3142
  if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
3143
3143
  disconnectRootElement(elm);
3144
3144
  }
3145
- };
3145
+ }; // Should never get a tag with upper case letter at this point; the compiler
3146
+ // should produce only tags with lowercase letters. However, the Java
3147
+ // compiler may generate tagnames with uppercase letters so - for backwards
3148
+ // compatibility, we lower case the tagname here.
3149
+
3146
3150
 
3147
- const elm = createCustomElement(sel, upgradeCallback, connectedCallback, disconnectedCallback);
3151
+ const normalizedTagname = sel.toLowerCase();
3152
+ const elm = createCustomElement(normalizedTagname, upgradeCallback, connectedCallback, disconnectedCallback);
3148
3153
  vnode.elm = elm;
3149
3154
  vnode.vm = vm;
3150
3155
  linkNodeToShadow(elm, owner, renderer);
@@ -3757,27 +3762,39 @@
3757
3762
  !isUndefined$1(slotset.slotAssignments) &&
3758
3763
  !isUndefined$1(slotset.slotAssignments[slotName]) &&
3759
3764
  slotset.slotAssignments[slotName].length !== 0) {
3760
- children = slotset.slotAssignments[slotName].reduce((acc, vnode) => {
3761
- // If the passed slot content is factory, evaluate it and use the produced vnodes
3762
- if (vnode && isVScopedSlotFragment(vnode)) {
3763
- const vmBeingRenderedInception = getVMBeingRendered();
3764
- let children = [];
3765
- // Evaluate in the scope of the slot content's owner
3766
- // if a slotset is provided, there will always be an owner. The only case where owner is
3767
- // undefined is for root components, but root components cannot accept slotted content
3768
- setVMBeingRendered(slotset.owner);
3769
- try {
3770
- children = vnode.factory(data.slotData);
3765
+ children = slotset.slotAssignments[slotName].reduce((accumulator, vnode) => {
3766
+ if (vnode) {
3767
+ const assignedNodeIsScopedSlot = isVScopedSlotFragment(vnode);
3768
+ // The only sniff test for a scoped <slot> element is the presence of `slotData`
3769
+ const isScopedSlotElement = !isUndefined$1(data.slotData);
3770
+ // Check if slot types of parent and child are matching
3771
+ if (assignedNodeIsScopedSlot !== isScopedSlotElement) {
3772
+ // Ignore slot content from parent
3773
+ return accumulator;
3774
+ }
3775
+ // If the passed slot content is factory, evaluate it and add the produced vnodes
3776
+ if (assignedNodeIsScopedSlot) {
3777
+ const vmBeingRenderedInception = getVMBeingRendered();
3778
+ let scopedSlotChildren = [];
3779
+ // Evaluate in the scope of the slot content's owner
3780
+ // if a slotset is provided, there will always be an owner. The only case where owner is
3781
+ // undefined is for root components, but root components cannot accept slotted content
3782
+ setVMBeingRendered(slotset.owner);
3783
+ try {
3784
+ scopedSlotChildren = vnode.factory(data.slotData);
3785
+ }
3786
+ finally {
3787
+ setVMBeingRendered(vmBeingRenderedInception);
3788
+ }
3789
+ return ArrayConcat$1.call(accumulator, scopedSlotChildren);
3771
3790
  }
3772
- finally {
3773
- setVMBeingRendered(vmBeingRenderedInception);
3791
+ else {
3792
+ // If the slot content is standard type, the content is static, no additional
3793
+ // processing needed on the vnode
3794
+ return ArrayConcat$1.call(accumulator, vnode);
3774
3795
  }
3775
- return ArrayConcat$1.call(acc, children);
3776
- }
3777
- else {
3778
- // If the slot content is a static list of child nodes provided by the parent, nothing to do
3779
- return ArrayConcat$1.call(acc, vnode);
3780
3796
  }
3797
+ return accumulator;
3781
3798
  }, []);
3782
3799
  }
3783
3800
  const vmBeingRendered = getVMBeingRendered();
@@ -5697,7 +5714,7 @@
5697
5714
  }
5698
5715
  return ctor;
5699
5716
  }
5700
- /* version: 2.27.0 */
5717
+ /* version: 2.28.0 */
5701
5718
 
5702
5719
  /*
5703
5720
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5962,10 +5979,12 @@
5962
5979
  const pendingRegistryForElement = new WeakMap();
5963
5980
  const definitionForConstructor = new WeakMap();
5964
5981
  const registeredUserCtors = new WeakSet();
5982
+ const registeredPivotCtors = new WeakSet();
5965
5983
  const pivotCtorByTag = new Map();
5966
5984
  const globalDefinitionsByTag = new Map();
5967
5985
  const globalDefinitionsByClass = new Map();
5968
5986
  const awaitingUpgrade = new Map();
5987
+ const pendingWhenDefinedCallbacks = new Map();
5969
5988
  const EMPTY_SET = new Set();
5970
5989
  function createDefinitionRecord(constructor) {
5971
5990
  var _a;
@@ -6071,6 +6090,7 @@
6071
6090
  }
6072
6091
  }
6073
6092
  PivotCtor.observedAttributes = [...registeredDefinition.observedAttributes];
6093
+ registeredPivotCtors.add(PivotCtor);
6074
6094
  return PivotCtor;
6075
6095
  }
6076
6096
  function getNewObservedAttributes(registeredDefinition, pivotDefinition) {
@@ -6204,6 +6224,27 @@
6204
6224
  }
6205
6225
  return createDefinitionRecord(constructor);
6206
6226
  }
6227
+ // Defer a `whenDefined()` callback until an externally-visible custom element is defined
6228
+ function createPendingWhenDefinedCallback(tagName) {
6229
+ return new Promise((resolve) => {
6230
+ let resolvers = pendingWhenDefinedCallbacks.get(tagName);
6231
+ if (isUndefined$1(resolvers)) {
6232
+ resolvers = [];
6233
+ pendingWhenDefinedCallbacks.set(tagName, resolvers);
6234
+ }
6235
+ resolvers.push(resolve);
6236
+ });
6237
+ }
6238
+ // Call any pending `whenDefined()` callbacks
6239
+ function flushPendingWhenDefinedCallbacks(tagName, ctor) {
6240
+ const resolvers = pendingWhenDefinedCallbacks.get(tagName);
6241
+ if (!isUndefined$1(resolvers)) {
6242
+ for (const resolver of resolvers) {
6243
+ resolver(ctor);
6244
+ }
6245
+ }
6246
+ pendingWhenDefinedCallbacks.delete(tagName);
6247
+ }
6207
6248
  const { customElements: nativeRegistry } = window;
6208
6249
  const { define: nativeDefine, whenDefined: nativeWhenDefined, get: nativeGet } = nativeRegistry;
6209
6250
  // patch for the global registry define mechanism
@@ -6258,6 +6299,8 @@
6258
6299
  }
6259
6300
  }
6260
6301
  }
6302
+ // If anyone called customElements.whenDefined() and is still waiting for a promise resolution, resolve now
6303
+ flushPendingWhenDefinedCallbacks(tagName, constructor);
6261
6304
  };
6262
6305
  CustomElementRegistry.prototype.get = function get(tagName) {
6263
6306
  const NativeCtor = nativeGet.call(nativeRegistry, tagName);
@@ -6266,8 +6309,10 @@
6266
6309
  if (!isUndefined$1(definition)) {
6267
6310
  return definition.UserCtor; // defined by the patched custom elements registry
6268
6311
  }
6269
- // TODO [#3073]: return undefined rather than the pivot constructor (NativeCtor)
6270
- return NativeCtor; // return the pivot constructor or constructor that existed before patching
6312
+ if (registeredPivotCtors.has(NativeCtor)) {
6313
+ return undefined; // pivot constructors should not be observable, return undefined
6314
+ }
6315
+ return NativeCtor; // constructor that existed before patching
6271
6316
  }
6272
6317
  };
6273
6318
  CustomElementRegistry.prototype.whenDefined = function whenDefined(tagName) {
@@ -6276,13 +6321,17 @@
6276
6321
  if (!isUndefined$1(definition)) {
6277
6322
  return definition.UserCtor;
6278
6323
  }
6279
- // TODO [#3073]: return undefined rather than the pivot constructor (NativeCtor)
6280
6324
  // In this case, the custom element must have been defined before the registry patches
6281
6325
  // were applied. So return the non-pivot constructor
6282
6326
  if (isUndefined$1(NativeCtor)) {
6283
6327
  // Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1335247
6284
6328
  // We can patch the correct behavior using customElements.get()
6285
- return nativeGet.call(nativeRegistry, tagName);
6329
+ NativeCtor = nativeGet.call(nativeRegistry, tagName);
6330
+ }
6331
+ if (registeredPivotCtors.has(NativeCtor)) {
6332
+ // Pivot constructors should not be observable. Wait to resolve the promise
6333
+ // if a constructor is ever defined in userland
6334
+ return createPendingWhenDefinedCallback(tagName);
6286
6335
  }
6287
6336
  return NativeCtor;
6288
6337
  });
@@ -6512,7 +6561,7 @@
6512
6561
  function isNull(obj) {
6513
6562
  return obj === null;
6514
6563
  }
6515
- /** version: 2.27.0 */
6564
+ /** version: 2.28.0 */
6516
6565
 
6517
6566
  /*
6518
6567
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7083,7 +7132,7 @@
7083
7132
  });
7084
7133
  freeze(LightningElement);
7085
7134
  seal(LightningElement.prototype);
7086
- /* version: 2.27.0 */
7135
+ /* version: 2.28.0 */
7087
7136
 
7088
7137
  exports.LightningElement = LightningElement;
7089
7138
  exports.__unstable__ProfilerControl = profilerControl;