lwc 2.30.0 → 2.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +89 -42
- package/dist/engine-dom/iife/es2017/engine-dom.js +89 -44
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +83 -42
- package/dist/engine-dom/iife/es5/engine-dom.js +108 -63
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +102 -61
- package/dist/engine-dom/umd/es2017/engine-dom.js +89 -44
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +83 -42
- package/dist/engine-dom/umd/es5/engine-dom.js +108 -63
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +102 -61
- package/dist/engine-server/commonjs/es2017/engine-server.js +16 -16
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +16 -14
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -4
- package/dist/wire-service/iife/es2017/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -4
- package/dist/wire-service/iife/es5/wire-service.js +2 -4
- package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -4
- package/dist/wire-service/umd/es2017/wire-service.js +2 -4
- package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -4
- package/dist/wire-service/umd/es5/wire-service.js +2 -4
- package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -4
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty: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:O,splice:x,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);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 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 Oe(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 xe(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){xe("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=$r(this);if(!fr(t))return Ne(t,e),n.call(t.elm)},set(t){const n=$r(this);return Ge(n,e,t),r.call(n.elm,t)}}}const Lt=s(r(null)),_t=new WeakMap,Ot=function(){if(V(dr))throw new TypeError("Illegal constructor");const e=dr,{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),Dr(o,e),Dr(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,Dr(s,e),s}Ot.prototype={constructor:Ot,dispatchEvent(e){const t=$r(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=$r(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,vr(r,t),n)},removeEventListener(e,t,n){const r=$r(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,vr(r,t),n)},hasAttribute(e){const t=$r(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=$r(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=$r(this),{elm:n,renderer:{removeAttribute:r}}=t;je(n,e),r(n,e),We()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=$r(this);je(n,t),r(n,t,e),We()},getAttribute(e){const t=$r(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=$r(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=$r(this),{elm:r,renderer:{setAttribute:o}}=n;je(r,e),o(r,e,t),We()},setAttributeNS(e,t,n){const r=$r(this),{elm:o,renderer:{setAttribute:i}}=r;je(o,t),i(o,t,n,e),We()},getBoundingClientRect(){const e=$r(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=$r(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=$r(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return $r(this).shadowRoot},get refs(){const e=$r(this);if(nr)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=$r(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=$r(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=$r(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=$r(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=$r(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=$r(this);return e.renderer.getLastElementChild(e.elm)},render(){return $r(this).def.template},toString(){return`[object ${$r(this).def.name}]`}};const Pt=r(null),Dt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Dt)Pt[e]={value(t){const n=$r(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ot.prototype,Pt);const $t=r(null);for(const e in Ue)$t[e]=Nt(e,Ue[e]);function Rt(e){return{get(){const t=$r(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge($r(this),e,t)},enumerable:!0,configurable:!0}}o(Ot.prototype,$t),i(Ot,"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&&Lr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ft(e){return{get(){const t=$r(this);if(!fr(t))return Ne(t,e),t.cmpProps[e]},set(t){const n=$r(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=$r(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=$r(this);return Ne(t,e),t.cmpFields[e]},set(t){const n=$r(this),r=kt(t);Ge(n,e,r)},enumerable:!0,configurable:!0}}function Vt(e){return{get(){const t=$r(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge($r(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=$r(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=$r(this),{setHook:r}=n;t=Tt(t),r(n.component,e,t)}),t}function Xt(e){return function(){const t=$r(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?Ot:e}return t}(e),C=E!==Ot?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 mr.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,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 Ot)return!0;let t=e;do{if($e(t)){const e=De(t);if(e===t)return!0;t=e}if(t===Ot)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:Ot,name:Ot.name,props:$t,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Zt,template:Gt,render:Ot.prototype.render};function sn(e){return`${e}-host`}function ln(e){return Yn.h("style",{key:"style",attrs:{type:"text/css"}},[Yn.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 5===e.type}function gn(e){return 6===e.type}function wn(e,t){return"input"===e&&("value"===t||"checked"===t)}function bn(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===(wn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const yn=r(null);function vn(e){if(null==e)return pe;e=z(e)?e:e+"";let t=yn[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),yn[e]=t,t}function En(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 Cn(e,t,n,r){var o;o=t,Fn.has(o)?Bn(e,t,n,r):Vn(e,t,n,r)}function Mn(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&&On(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?Vn(e.children,o,n,r):Bn(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;Dn(e,t,n),Cn(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);An(e,n,r,!0),Tn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Dn(e,t,r),B(o)||Rn(t,o),Cn(e.children,t.children,n,r),B(o)||Lr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Sn(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);_n(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);_n(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);_n(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;kn(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);_n(a,i,r),$n(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),Dn(null,e,r),xn(a,t,n,r),kn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Tn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Tn(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=Rr(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Pr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&_r(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Or(e)}));e.elm=c,e.vm=l,_n(c,i,r),$n(c,i,r),l&&Rn(e,l),Dn(null,e,r),xn(c,t,n,r),l&&(fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Vr(l)),kn(e.children,c,r,null),l&&function(e){Ir(e)}(l)}function kn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Ln(i)&&Sn(i,t,n,r)}}function An(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Nn(e.children,t,n,r):Pn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Nn(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){xr(e)}(t)}}}function Nn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Ln(i)&&An(i,t,n,r)}}function Ln(e){return null!=e}function _n(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function On(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 Pn(e,t,n){n.remove(e,t)}function Dn(e,t,n){V(e)&&(En(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=vn(o),a=vn(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),bn(e,t,n)}function $n(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 Rn(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){const{cmpSlots:{slotAssignments:o}}=e,i=r(null);if(In(e,t,i),e.cmpSlots={owner:n,slotAssignments:i},j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void br(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(i[r])||o[r].length!==i[r].length)return void br(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void br(e)}}}(t,n,e.owner),e.aChildren=n,e.children=me)}function In(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(V(s))continue;if(mn(s)){In(e,s.children.slice(1,-1),n);continue}let l="";hn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":gn(s)&&(l=s.slotName);const c=n[l]=n[l]||[];T.call(c,s)}}const Fn=new WeakMap;function Hn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Ln(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Bn(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;)Ln(l)?Ln(c)?Ln(m)?Ln(g)?pn(l,m)?(Mn(l,m,n,r),l=e[++o],m=t[++i]):pn(c,g)?(Mn(c,g,n,r),c=e[--s],g=t[--p]):pn(l,g)?(Mn(l,g,n,r),xn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):pn(c,m)?(Mn(c,m,n,r),xn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Hn(e,o,s)),d=u[m.key],B(d)?(Sn(m,n,r,l.elm),m=t[++i]):(f=e[d],Ln(f)&&(f.sel!==m.sel?Sn(m,n,r,l.elm):(Mn(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(!Ln(e)&&o<a);h=Ln(e)?e.elm:null,kn(t,n,r,h,i,p+1)}else Nn(e,n,r,!0,o,s+1)}function Vn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void kn(t,n,r,null);if(0===i)return void Nn(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&&(Ln(i)?Ln(l)?(Mn(i,l,n,r),s=l.elm):An(i,n,r,!0):Ln(l)&&(Sn(l,n,r,s),s=l.elm))}}const Wn=Symbol.iterator;function jn(e,t,n=me){const r=or(),{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 Un(e,t,n,r=me){const o=or(),{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(or().velements,e)}(l),B(s)||Ee(o,s,l),l}function Gn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:or()}}function zn(e){var t;return t=e,Fn.set(t,1),e}let Kn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Yn=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=gn(n);if(o!==!B(t.slotData))return e;if(o){const o=or();let i=[];ir(r.owner);try{i=n.factory(t.slotData)}finally{ir(o)}return g.call(e,i)}return g.call(e,n)}return e}),[]));const o=or(),{renderMode:i,shadowMode:s}=o;return 0===i?(zn(n),n):(1===s&&zn(n),jn("slot",t,n))},h:jn,c:Un,i:function(e,t){const n=[];if(zn(n),B(e)||null===e)return n;const r=e[Wn]();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=[];zn(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:Gn,d:function(e){return null==e?"":String(e)},b:function(e){const t=or();if(V(t))throw new Error;const n=t;return function(t){pr(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:or()}},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 Un(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Gn(""),...t,Gn("")],stable:n,owner:or()}},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:or()}},gid:function(e){const t=or();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=or();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 Kn(e)},ssf:function(e,t){return{type:6,factory:t,owner:or(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let qn=!1,Xn=K;const Jn={enableProfiler(){qn=!0},disableProfiler(){qn=!1},attachDispatcher(e){Xn=e,this.enableProfiler()},detachDispatcher(){const e=Xn;return Xn=K,this.disableProfiler(),e}};function Qn(e,t){qn&&Xn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Zn(e,t){qn&&Xn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function er(e,t){qn&&Xn(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 tr(e,t){qn&&Xn(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 nr=!1,rr=null;function or(){return rr}function ir(e){rr=e}function sr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=or(),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 lr=sr(((e,t)=>{const{createFragment:n}=t;return n(e)})),cr=sr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function ar(e,t){const n=nr,o=rr;let i=[];return zr(e,e.owner,(()=>{rr=e,Qn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||Gr(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=ur(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=[],nr=!0,i=t.call(void 0,Yn,n,s,o.tplCache);const{styleVNodes:u}=o;V(u)||P.apply(i,u)}))}),(()=>{nr=n,rr=o,Zn(1,e)})),i}function ur(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 dr=null;function fr(e){return dr===e}function hr(e,t,n){const{component:r,callHook:o,owner:i}=e;zr(e,i,K,(()=>{o(r,t,n)}),K)}function pr(e,t,n,r){const{callHook:o,owner:i}=e;zr(e,i,K,(()=>{o(n,t,[r])}),K)}const mr=new Map;function gr(e){return Le((()=>{const{isDirty:t}=e;j(t)&&(br(e),function(e){if(W(e.isScheduled))return;e.isScheduled=!0,0===Hr.length&&we(Br);T.call(Hr,e)}(e))}))}function wr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=or();let s,l=!1;return zr(e,o,(()=>{ir(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{ir(i)})),l?ar(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function br(e){e.isDirty=!0}const yr=new WeakMap;function vr(e,t){if(!U(t))throw new TypeError;let n=yr.get(t);return B(n)&&(n=function(n){pr(e,t,void 0,n)},yr.set(t,n)),n}const Er=r(null),Cr=["rendered","connected","disconnected"];function Mr(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 Sr=0;const Tr=new WeakMap;function kr(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Nr(e,t){return e[t]}function Lr(e){Ir(e)}function _r(e){const t=$r(e);er(7,t),1===t.state&&Or(e),Vr(t),Ir(t),tr(7,t)}function Or(e){xr($r(e))}function xr(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}=Er;t&&Mr(e,t);Wr(e)&&function(e){const{wiredDisconnecting:t}=e.context;zr(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)||(Qn(5,e),hr(e,n),Zn(5,e))}(e),jr(e),function(e){const{aChildren:t}=e;Ur(t)}(e)}}function Pr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=rn(t),u={elm:e,def:a,idx:Sr++,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:kr,setHook:Ar,getHook:Nr,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=gr(u),function(e,t){const n=dr;let r;Qn(0,e),dr=e;try{const o=new t;if(dr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Zn(0,e),dr=n,!B(r))throw Oe(e,r),r}}(u,a.ctor),Wr(u)&&function(e){const{context:t,def:{wire:n}}=e;e.debugInfo["@wire"]=r(null);const o=t.wiredConnecting=[],i=t.wiredDisconnecting=[];for(const t in n){const r=n[t],s=Kr.get(r);if(!B(s)){const{connector:n,computeConfigAndUpdate:r,resetConfigWatcher:l}=qr(e,t,s),c=s.dynamic.length>0;T.call(o,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!c?r():Promise.resolve().then(r)})),T.call(i,(()=>{n.disconnect(),l()}))}}}(u),u}function Dr(e,t){Tr.set(e,t)}function $r(e){return Tr.get(e)}function Rr(e){return Tr.get(e)}function Ir(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&&zr(e,e,(()=>{Qn(2,e)}),(()=>{Cn(r,t,n,o)}),(()=>{Zn(2,e)}));1===e.state&&Fr(e)}(e,wr(e))}}function Fr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Er;n&&Mr(e,n),B(t)||(Qn(4,e),hr(e,t),Zn(4,e))}let Hr=[];function Br(){er(8);const e=Hr.sort(((e,t)=>e.idx-t.idx));Hr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Ir(r)}catch(r){throw t+1<n&&(0===Hr.length&&we(Br),P.apply(Hr,L.call(e,t+1))),tr(8),r}}tr(8)}function Vr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Er;n&&Mr(e,n),Wr(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)||(Qn(3,e),hr(e,r),Zn(3,e))}function Wr(e){return c(e.def.wire).length>0}function jr(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=Rr(n);B(e)||xr(e)}}}function Ur(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:Ur(n.children);break;case 3:xr($r(n.elm));break}}}function Gr(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,jr(e),e.velements=me}function zr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){Oe(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;Gr(e),Qn(6,e);hr(n,n.def.errorCallback,[i,i.wcStack]),Zn(6,e)}}}const Kr=new Map;class Yr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function qr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=B(r)?function(e,t){return n=>{Ge(e,t,n)}}(e,t):function(e,t){return n=>{zr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),zr(e,e,K,(()=>{d=new o(a)}),K);const{computeConfigAndUpdate:f,ro:h}=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=>{zr(e,e,K,(()=>{d.update(t,u)}),K)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jr(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(s,(()=>{const e=new Yr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const Xr=new Map;function Jr(e){return Xr.get(e)}function Qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Kr.set(e,o)}function Zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Kr.set(e,o)}let eo=!1;function to(e){const t=wr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;oo(r(n),t,n,e),Fr(e)}function no(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!lo(t,e,3,n))return io(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(!lo(t,e,8,n))return io(e,t,n);const{setProperty:o}=n;return o(e,ro,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!!lo(n,t,3,r)&&o(e,ro)===o(t,ro);if(8===o(e,"nodeType"))return!!lo(n,t,8,r)&&o(e,ro)===o(t,ro);if(!lo(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 io(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 oo(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(!lo(t,e,1,n)||!co(t,e,n))return io(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(so(t,n),!i){const{getFirstChild:o}=n;oo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!lo(t,e,1,n)||!co(t,e,n))return io(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Pr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,Rn(t,l),so(t,n),Vr(l),0!==l.renderMode){const{getFirstChild:r}=n;oo(r(e),t.children,e,l)}return to(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const ro="nodeValue";function oo(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=no(o,r,s),i=r.elm):(eo=!0,Sn(r,n,s,i),i=r.elm))}if(o){eo=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Pn(t,n,s)}while(o)}}function io(e,t,n){eo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Sn(t,o,n,e),Pn(e,o,n),t.elm}function so(e,t){En(e,t),bn(null,e,t)}function lo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function co(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)&&ur(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;const h=l(t,"className");if(B(i)||String(i)===h)if(B(s))B(i)&&""!==h&&(d=!1);else{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 ao=!1;const uo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),fo=uo&&l(document.adoptedStyleSheets,"length").writable,ho=!B(document.documentMode),po=new Map;function mo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function go(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?ho?mo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function wo(e,t){let n=po.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},po.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=mo(e)),n}function bo(e,t){const n=wo(e,uo);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),uo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;fo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):go(e,t,n)}const yo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),vo=(e,t)=>{const n=document.createElement(e);return t(n),n},Eo=new Map,Co=new WeakSet;let Mo=!1;const So=(e,t)=>class extends HTMLElement{constructor(e){super(),Mo?e(this):Co.add(this)}connectedCallback(){Co.has(this)||e(this)}disconnectedCallback(){Co.has(this)||t(this)}},To=(e,t,n,r)=>{let o=Eo.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=So(n,r),customElements.define(e,o),Eo.set(e,o)}Mo=!0;try{return new o(t)}finally{Mo=!1}};let ko,Ao;fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&yo&&(ko=function(){if(!yo)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}}(),Ao=window.HTMLElement);const No=(e,t,n,r)=>class extends r{constructor(){super(),e(this)}connectedCallback(){t(this)}disconnectedCallback(){n(this)}};let Lo;function _o(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}Lo=yo?fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(ko)||B(Ao))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=No(t,n,r,Ao);return new(ko(e,o))(o)}:To:vo;const Oo=n(_o(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=wo(e,!1);t.global||(t.global=!0,go(e,document.head,t))}(e):bo(e,t)},createCustomElement:Lo,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function xo(e,t,n){const r=Pr(e,t,Oo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Po(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(Rr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){eo=!1,Vr(e),to(e),eo&&Pe("Hydration completed with errors.",e)}(xo(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),xo(e,t,n),_r(e)}}const Do=new WeakSet;function $o(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?(Po(this,e,{}),Do.add(this)):Pr(this,e,Oo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Do.has(this)?Do.delete(this):_r(this)}disconnectedCallback(){Or(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Ro=Node,Io=new WeakMap,Fo=new WeakMap;function Ho(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}=Ro.prototype;n(Ro.prototype,{appendChild(t){return Ho(e.call(this,t),Io)},insertBefore(e,n){return Ho(t.call(this,e,n),Io)},removeChild(e){return Ho(r.call(this,e),Fo)},replaceChild(e,t){const n=o.call(this,e,t);return Ho(n,Fo),Ho(e,Io),n}})}const Bo=Node;const Vo=new Map;return i(Ot,"CustomElementConstructor",{get(){return function(e){if(e===Ot)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Vo.get(e);return B(t)&&(t=$o(e),Vo.set(e,t)),t}(this)}}),s(Ot),h(Ot.prototype),e.LightningElement=Ot,e.__unstable__ProfilerControl=Jn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Jr(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){Xr.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}=Oo,o=H.call(e);return r(o,(e=>{Pr(e,n,Oo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(Io.set(e,_r),Fo.set(e,Or))}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&_r(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Or(e)}))},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=Rr(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=Po,e.isComponentConstructor=nn,e.isNodeFromTemplate=function(e){if(j(e instanceof Bo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Oo.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=lr,e.parseSVGFragment=cr,e.readonly=function(e){return Tt(e)},e.register=function(e){for(let t=0;t<Cr.length;++t){const n=Cr[t];if(n in e){let t=Er[n];B(t)&&(Er[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&mr.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,Qr(w,t,o,s)}else w=Vt(e),p[e]=w,Zr(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=Oo,e.rendererFactory=_o,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(ao,"Hooks are already overridden, only one definition is allowed."),ao=!0,n=e.sanitizeHtmlContent,Kn=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}),e}({});
|
|
1
|
+
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty: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:b,fill:w,filter:y,find:v,indexOf:C,join:E,map:k,pop:S,push:M,reduce:T,reverse:A,shift:N,slice:L,some:_,sort:x,splice:O,unshift:P,forEach:D}=Array.prototype,{fromCharCode:R}=String,{charCodeAt:$,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function W(e){return null===e}function V(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)?E.call(k.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=$.call(e,t);o+=n>=65&&n<=90?"-"+R(n+32):R(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 be(e){0===he.length&&Promise.resolve().then(ge),M.call(he,e)}const we=/;(?![^(]*\))/g,ye=/:(.+)/;function ve(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ce(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ee=new WeakMap;let ke=null;function Se(e,t){const n=Ee.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 Me(e,t){if(null===ke)return;const n=ke,o=function(e){let t=Ee.get(e);if(B(t)){const n=r(null);t=n,Ee.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===C.call(i,n)&&n.link(i)}class Te{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ke;let n;ke=this;try{e()}catch(e){n=Object(e)}finally{if(ke=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){M.call(e,this),M.call(this.listeners,e)}}function Ae(e,t){Se(e.component,t)}function Ne(e,t){Me(e.component,t)}function Le(e){return new Te(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(;!W(n);)M.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(;!W(e.owner);)M.call(t,n+_e(e)),e=e.owner,n+="\t";return E.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 Re(e){return U(e)&&u.call(e,"__circular__")}const $e="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ie=$e.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 We(e,t){return e!==Be||t!==He}function Ve(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,bt=new WeakMap;class wt 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=bt.get(e);if(!it(t))return t;const n=function(e){};return bt.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)=>{},Ct=(e,t)=>{};function Et(e){return ze(e)?[]:{}}const kt=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:Ct,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(Et(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 wt(this,e);t=new Proxy(Et(e),n),ct(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Me,valueMutated:Se,tagPropertyKey:kt});function Mt(e){return St.getReadOnlyProxy(e)}function Tt(e){return St.getProxy(e)}function At(e){e[kt]=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=Rr(this);if(!fr(t))return Ne(t,e),n.call(t.elm)},set(t){const n=Rr(this);return Ge(n,e,t),r.call(n.elm,t)}}}const Lt=s(r(null)),_t=new WeakMap,xt=function(){if(W(dr))throw new TypeError("Illegal constructor");const e=dr,{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),Dr(o,e),Dr(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,Dr(s,e),s}xt.prototype={constructor:xt,dispatchEvent(e){const t=Rr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Rr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,vr(r,t),n)},removeEventListener(e,t,n){const r=Rr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,vr(r,t),n)},hasAttribute(e){const t=Rr(this),{elm:n,renderer:{getAttribute:r}}=t;return!W(r(n,e))},hasAttributeNS(e,t){const n=Rr(this),{elm:r,renderer:{getAttribute:o}}=n;return!W(o(r,t,e))},removeAttribute(e){const t=Rr(this),{elm:n,renderer:{removeAttribute:r}}=t;je(n,e),r(n,e),Ve()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Rr(this);je(n,t),r(n,t,e),Ve()},getAttribute(e){const t=Rr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Rr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Rr(this),{elm:r,renderer:{setAttribute:o}}=n;je(r,e),o(r,e,t),Ve()},setAttributeNS(e,t,n){const r=Rr(this),{elm:o,renderer:{setAttribute:i}}=r;je(o,t),i(o,t,n,e),Ve()},getBoundingClientRect(){const e=Rr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Rr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Rr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Rr(this).shadowRoot},get refs(){const e=Rr(this);if(nr)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(W(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=Rr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Rr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Rr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Rr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Rr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Rr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Rr(this).def.template},toString(){return`[object ${Rr(this).def.name}]`}};const Pt=r(null),Dt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Dt)Pt[e]={value(t){const n=Rr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(xt.prototype,Pt);const Rt=r(null);for(const e in Ue)Rt[e]=Nt(e,Ue[e]);function $t(e){return{get(){const t=Rr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Rr(this),e,t)},enumerable:!0,configurable:!0}}o(xt.prototype,Rt),i(xt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class It extends Te{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,be((()=>{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)&&j(r)&&i>0&&Lr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ft(e){return{get(){const t=Rr(this);if(!fr(t))return Ne(t,e),t.cmpProps[e]},set(t){const n=Rr(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=Rr(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=Rr(this);return Ne(t,e),t.cmpFields[e]},set(t){const n=Rr(this),r=Tt(t);Ge(n,e,r)},enumerable:!0,configurable:!0}}function Wt(e){return{get(){const t=Rr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Rr(this),e,t)},enumerable:!0,configurable:!0}}const Vt=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=Rr(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=Rr(this),{setHook:r}=n;t=Mt(t),r(n.component,e,t)}),t}function Xt(e){return function(){const t=Rr(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):We(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($e,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=Vt.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:b,renderedCallback:w,errorCallback:y,render:v}=m;const C=function(e){let t=a(e);if(W(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Re(t)){const e=De(t);t=e===t?xt:e}return t}(e),E=C!==xt?rn(C):on,k=Qt(E.bridge,f(l),f(u)),S=n(r(null),E.props,l),M=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,b=b||E.disconnectedCallback,w=w||E.renderedCallback,y=y||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;B(t)||(N=t);let L=E.renderMode;B(i)||(L="light"===i?0:1);const _=function(e){return mr.get(e)}(e)||E.template,x=e.name||E.name;o(m,p);return{ctor:e,name:x,wire:A,props:S,propsConfig:M,methods:T,bridge:k,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}}function nn(e){if(!U(e))return!1;if(e.prototype instanceof xt)return!0;let t=e;do{if(Re(t)){const e=De(t);if(e===t)return!0;t=e}if(t===xt)return!0}while(!W(t)&&(t=a(t)));return!1}function rn(e){let t=en.get(e);if(B(t)){if(Re(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:Rt,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 Yn.h("style",{key:"style",attrs:{type:"text/css"}},[Yn.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))M.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=W(o)||0===o.shadowMode),M.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(;!W(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 k.call(t,ln);{const n=function(e){const t=un(e);return W(t)||1!==t.shadowMode?t:null}(e),r=W(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 5===e.type}function gn(e){return 6===e.type}function bn(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(!W(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=W(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(bn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const yn=r(null);function vn(e){if(null==e)return pe;e=z(e)?e:e+"";let t=yn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===$.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),yn[e]=t,t}function Cn(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,Fn.has(o)?Bn(e,t,n,r):Wn(e,t,n,r)}function kn(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&&xn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Wn(e.children,o,n,r):Bn(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;Dn(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);An(e,n,r,!0),Mn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Dn(e,t,r),B(o)||$n(t,o),En(e.children,t.children,n,r),B(o)||Lr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Sn(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);_n(s,o,r),On(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);_n(s,o,r),On(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);_n(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));On(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=V(s)?te:void 0,a=e.elm=l(o,c);_n(a,i,r),Rn(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),Dn(null,e,r),On(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: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;let c,a;fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{_r(e)},a=e=>{xr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=$r(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Pr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,_n(u,i,r),Rn(u,i,r),l&&$n(e,l),Dn(null,e,r),On(u,t,n,r),l&&(fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Wr(l)),Tn(e.children,u,r,null),l&&function(e){Ir(e)}(l)}function Tn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Ln(i)&&Sn(i,t,n,r)}}function An(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Nn(e.children,t,n,r):Pn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Nn(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){Or(e)}(t)}}}function Nn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Ln(i)&&An(i,t,n,r)}}function Ln(e){return null!=e}function _n(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function xn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function On(e,t,n,r){r.insert(e,t,n)}function Pn(e,t,n){n.remove(e,t)}function Dn(e,t,n){W(e)&&(Cn(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=W(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=vn(o),a=vn(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((W(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=W(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===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):W(t)||B(t)?l(i,e):s(i,e,t),Ve())}}(e,t,n),wn(e,t,n)}function Rn(e,t,n){const r=dn(t);if(!W(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){const{cmpSlots:{slotAssignments:o}}=e,i=r(null);if(In(e,t,i),e.cmpSlots={owner:n,slotAssignments:i},j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void wr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(i[r])||o[r].length!==i[r].length)return void wr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void wr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=me)}function In(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(W(s))continue;if(mn(s)){In(e,s.children.slice(1,-1),n);continue}let l="";hn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":gn(s)&&(l=s.slotName);const c=n[l]=n[l]||[];M.call(c,s)}}const Fn=new WeakMap;function Hn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Ln(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Bn(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],b=!1;for(;o<=s&&i<=p;)Ln(l)?Ln(c)?Ln(m)?Ln(g)?pn(l,m)?(kn(l,m,n,r),l=e[++o],m=t[++i]):pn(c,g)?(kn(c,g,n,r),c=e[--s],g=t[--p]):pn(l,g)?(kn(l,g,n,r),On(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):pn(c,m)?(kn(c,m,n,r),On(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Hn(e,o,s)),d=u[m.key],B(d)?(Sn(m,n,r,l.elm),m=t[++i]):(f=e[d],Ln(f)&&(f.sel!==m.sel?Sn(m,n,r,l.elm):(kn(f,m,n,r),b||(b=!0,e=[...e]),e[d]=void 0,On(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(!Ln(e)&&o<a);h=Ln(e)?e.elm:null,Tn(t,n,r,h,i,p+1)}else Nn(e,n,r,!0,o,s+1)}function Wn(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 Nn(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&&(Ln(i)?Ln(l)?(kn(i,l,n,r),s=l.elm):An(i,n,r,!0):Ln(l)&&(Sn(l,n,r,s),s=l.elm))}}const Vn=Symbol.iterator;function jn(e,t,n=me){const r=or(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ce(r,i,s),s}function Un(e,t,n,r=me){const o=or(),{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){M.call(or().velements,e)}(l),B(s)||Ce(o,s,l),l}function Gn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:or()}}function zn(e){var t;return t=e,Fn.set(t,1),e}let Kn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Yn=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=gn(n);if(o!==!B(t.slotData))return e;if(o){const o=or();let i=[];ir(r.owner);try{i=n.factory(t.slotData)}finally{ir(o)}return g.call(e,i)}return g.call(e,n)}return e}),[]));const o=or(),{renderMode:i,shadowMode:s}=o;return 0===i?(zn(n),n):(1===s&&zn(n),jn("slot",t,n))},h:jn,c:Un,i:function(e,t){const n=[];if(zn(n),B(e)||null===e)return n;const r=e[Vn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?M.apply(n,e):M.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];zn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?M.apply(n,t):M.call(n,t)}return n},t:Gn,d:function(e){return null==e?"":String(e)},b:function(e){const t=or();if(W(t))throw new Error;const n=t;return function(t){pr(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:or()}},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 Un(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Gn(""),...t,Gn("")],stable:n,owner:or()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:or()}},gid:function(e){const t=or();if(B(e)||""===e)return e;if(W(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=or();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Kn(e)},ssf:function(e,t){return{type:6,factory:t,owner:or(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let qn=!1,Xn=K;const Jn={enableProfiler(){qn=!0},disableProfiler(){qn=!1},attachDispatcher(e){Xn=e,this.enableProfiler()},detachDispatcher(){const e=Xn;return Xn=K,this.disableProfiler(),e}};function Qn(e,t){qn&&Xn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Zn(e,t){qn&&Xn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function er(e,t){qn&&Xn(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 tr(e,t){qn&&Xn(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 nr=!1,rr=null;function or(){return rr}function ir(e){rr=e}function sr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=or(),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 lr=sr(((e,t)=>{const{createFragment:n}=t;return n(e)})),cr=sr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function ar(e,t){const n=nr,o=rr;let i=[];return zr(e,e.owner,(()=>{rr=e,Qn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(W(l)||Gr(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=ur(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:b,hasTokenInAttribute:w}=r;B(g)||(b&&s(n).remove(sn(g)),w&&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=[],nr=!0,i=t.call(void 0,Yn,n,s,o.tplCache);const{styleVNodes:u}=o;W(u)||P.apply(i,u)}))}),(()=>{nr=n,rr=o,Zn(1,e)})),i}function ur(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}let dr=null;function fr(e){return dr===e}function hr(e,t,n){const{component:r,callHook:o,owner:i}=e;zr(e,i,K,(()=>{o(r,t,n)}),K)}function pr(e,t,n,r){const{callHook:o,owner:i}=e;zr(e,i,K,(()=>{o(n,t,[r])}),K)}const mr=new Map;function gr(e){return Le((()=>{const{isDirty:t}=e;j(t)&&(wr(e),function(e){if(V(e.isScheduled))return;e.isScheduled=!0,0===Hr.length&&be(Br);M.call(Hr,e)}(e))}))}function br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=or();let s,l=!1;return zr(e,o,(()=>{ir(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{ir(i)})),l?ar(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function wr(e){e.isDirty=!0}const yr=new WeakMap;function vr(e,t){if(!U(t))throw new TypeError;let n=yr.get(t);return B(n)&&(n=function(n){pr(e,t,void 0,n)},yr.set(t,n)),n}const Cr=r(null),Er=["rendered","connected","disconnected"];function kr(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 Sr=0;const Mr=new WeakMap;function Tr(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Nr(e,t){return e[t]}function Lr(e){Ir(e)}function _r(e){const t=Rr(e);er(7,t),1===t.state&&xr(e),Wr(t),Ir(t),tr(7,t)}function xr(e){Or(Rr(e))}function Or(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}=Cr;t&&kr(e,t);Vr(e)&&function(e){const{wiredDisconnecting:t}=e.context;zr(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)||(Qn(5,e),hr(e,n),Zn(5,e))}(e),jr(e),function(e){const{aChildren:t}=e;Ur(t)}(e)}}function Pr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=rn(t),u={elm:e,def:a,idx:Sr++,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:Tr,setHook:Ar,getHook:Nr,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(;!W(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=W(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=gr(u),function(e,t){const n=dr;let r;Qn(0,e),dr=e;try{const o=new t;if(dr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Zn(0,e),dr=n,!B(r))throw xe(e,r),r}}(u,a.ctor),Vr(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=Kr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=qr(e,t,s),c=s.dynamic.length>0;M.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),M.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Dr(e,t){Mr.set(e,t)}function Rr(e){return Mr.get(e)}function $r(e){return Mr.get(e)}function Ir(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&&zr(e,e,(()=>{Qn(2,e)}),(()=>{En(r,t,n,o)}),(()=>{Zn(2,e)}));1===e.state&&Fr(e)}(e,br(e))}}function Fr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Cr;n&&kr(e,n),B(t)||(Qn(4,e),hr(e,t),Zn(4,e))}let Hr=[];function Br(){er(8);const e=Hr.sort(((e,t)=>e.idx-t.idx));Hr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Ir(r)}catch(r){throw t+1<n&&(0===Hr.length&&be(Br),P.apply(Hr,L.call(e,t+1))),tr(8),r}}tr(8)}function Wr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Cr;n&&kr(e,n),Vr(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)||(Qn(3,e),hr(e,r),Zn(3,e))}function Vr(e){return c(e.def.wire).length>0}function jr(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=$r(n);B(e)||Or(e)}}}function Ur(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!W(n)&&!B(n.elm))switch(n.type){case 2:Ur(n.children);break;case 3:Or(Rr(n.elm));break}}}function Gr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];W(o)||B(o.elm)||r(o.elm,n)}e.children=me,jr(e),e.velements=me}function zr(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=W(t)?void 0:function(e){let t=e;for(;!W(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;Gr(e),Qn(6,e);hr(n,n.def.errorCallback,[i,i.wcStack]),Zn(6,e)}}}const Kr=new Map;class Yr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function qr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=B(r)?function(e,t){return n=>{Ge(e,t,n)}}(e,t):function(e,t){return n=>{zr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),zr(e,e,K,(()=>{d=new o(a)}),K);const{computeConfigAndUpdate:f,ro:h}=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=>{zr(e,e,K,(()=>{d.update(t,u)}),K)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jr(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;M.call(s,(()=>{const e=new Yr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){M.call(l,e)}});c(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const Xr=new Map;function Jr(e){return Xr.get(e)}function Qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Kr.set(e,o)}function Zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Kr.set(e,o)}let eo=!1;function to(e){const t=br(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;oo(r(n),t,n,e),Fr(e)}function no(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!lo(t,e,3,n))return io(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(!lo(t,e,8,n))return io(e,t,n);const{setProperty:o}=n;return o(e,ro,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!!lo(n,t,3,r)&&o(e,ro)===o(t,ro);if(8===o(e,"nodeType"))return!!lo(n,t,8,r)&&o(e,ro)===o(t,ro);if(!lo(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 io(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 oo(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(!lo(t,e,1,n)||!co(t,e,n))return io(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(so(t,n),!i){const{getFirstChild:o}=n;oo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!lo(t,e,1,n)||!co(t,e,n))return io(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Pr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,$n(t,l),so(t,n),Wr(l),0!==l.renderMode){const{getFirstChild:r}=n;oo(r(e),t.children,e,l)}return to(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const ro="nodeValue";function oo(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];W(r)||(o?(o=no(o,r,s),i=r.elm):(eo=!0,Sn(r,n,s,i),i=r.elm))}if(o){eo=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Pn(t,n,s)}while(o)}}function io(e,t,n){eo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Sn(t,o,n,e),Pn(e,o,n),t.elm}function so(e,t){Cn(e,t),wn(null,e,t)}function lo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function co(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)&&ur(t)?sn(n):null}(e):null;if(!W(a)||!W(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!W(e)));t.length&&(i=E.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),W(a)?{}:{[a]:!0}),W(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!W(e)));i=E.call(t," ")}let d=!0;const h=l(t,"className");if(B(i)||String(i)===h)if(B(s))B(i)&&""!==h&&(d=!1);else{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(we);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),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let ao=!1;const uo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),fo=uo&&l(document.adoptedStyleSheets,"length").writable,ho=!B(document.documentMode),po=new Map;function mo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function go(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?ho?mo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function bo(e,t){let n=po.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},po.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=mo(e)),n}function wo(e,t){const n=bo(e,uo);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),uo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;fo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):go(e,t,n)}const yo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),vo=(e,t)=>{const n=document.createElement(e);return t(n),n},Co=new Map,Eo=new WeakSet;let ko=!1;const So=(e,t)=>{const n=!B(e),r=!B(t);class o extends HTMLElement{constructor(e){super(),ko?e(this):(n||r)&&Eo.add(this)}}return n&&(o.prototype.connectedCallback=function(){Eo.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){Eo.has(this)||t(this)}),o},Mo=(e,t,n,r)=>{let o=Co.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=So(n,r),customElements.define(e,o),Co.set(e,o)}ko=!0;try{return new o(t)}finally{ko=!1}};let To,Ao;fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&yo&&(To=function(){if(!yo)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,b=new Set;function w(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!k(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):E(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)}formAssociatedCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=s.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}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.formAssociated=n.formAssociated,u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?b:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),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),C=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 k(e){return U(e)&&G(e.prototype)}function S(e){if(!k(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,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:M}=window,{define:T,whenDefined:A,get:N}=M;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!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=w(e,r),T.call(M,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const 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),E(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(M,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(M,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(M,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=C;if(!B(e))return C=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=w(e,r),T.call(M,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Ao=window.HTMLElement);const No=(e,t,n,r)=>{class o extends e{constructor(){super(),t(this)}}return B(n)||(o.prototype.connectedCallback=function(){n(this)}),B(r)||(o.prototype.disconnectedCallback=function(){r(this)}),o};let Lo;function _o(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}Lo=yo?fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(To)||B(Ao))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=No(Ao,t,n,r);return new(To(e,o))(o)}:Mo:vo;const xo=n(_o(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=bo(e,!1);t.global||(t.global=!0,go(e,document.head,t))}(e):wo(e,t)},createCustomElement:Lo,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function Oo(e,t,n){const r=Pr(e,t,xo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Po(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)||W(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if($r(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){eo=!1,Wr(e),to(e),eo&&Pe("Hydration completed with errors.",e)}(Oo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!W(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!W(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Oo(e,t,n),_r(e)}}const Do=new WeakSet;function Ro(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?(Po(this,e,{}),Do.add(this)):Pr(this,e,xo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Do.has(this)?Do.delete(this):_r(this)}disconnectedCallback(){xr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const $o=Node,Io=new WeakMap,Fo=new WeakMap;function Ho(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}=$o.prototype;n($o.prototype,{appendChild(t){return Ho(e.call(this,t),Io)},insertBefore(e,n){return Ho(t.call(this,e,n),Io)},removeChild(e){return Ho(r.call(this,e),Fo)},replaceChild(e,t){const n=o.call(this,e,t);return Ho(n,Fo),Ho(e,Io),n}})}const Bo=Node;const Wo=new Map;return 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=Wo.get(e);return B(t)&&(t=Ro(e),Wo.set(e,t)),t}(this)}}),s(xt),h(xt.prototype),e.LightningElement=xt,e.__unstable__ProfilerControl=Jn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Jr(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){Xr.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)||W(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}=xo,o=H.call(e);let i,s;return fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i=e=>{_r(e)},s=e=>{xr(e)}),r(o,(e=>{Pr(e,n,xo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(Io.set(e,_r),Fo.set(e,xr))}),i,s)},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=$r(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=Po,e.isComponentConstructor=nn,e.isNodeFromTemplate=function(e){if(j(e instanceof Bo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||xo.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=lr,e.parseSVGFragment=cr,e.readonly=function(e){return Mt(e)},e.register=function(e){for(let t=0;t<Er.length;++t){const n=Er[t];if(n in e){let t=Cr[n];B(t)&&(Cr[n]=t=[]),M.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&mr.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 b;if(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,b=l(n,e),t.config>0){if(B(b))throw new Error;b=Ht(e,b)}else b=B(b)||B(b.get)?Ft(e):Ht(e,b);f[e]=b,i(n,e,b)}if(B(s)||D.call(s,(e=>{if(b=l(n,e),B(b))throw new Error;d[e]=b})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(b=l(n,e),1===r){if(B(b))throw new Error;h[e]=b,Qr(b,t,o,s)}else b=Wt(e),p[e]=b,Zr(b,t,o,s),i(n,e,b)}if(!B(a))for(const e in a)b=l(n,e),b=Bt(e),i(n,e,b);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];b=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=$t(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 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=xo,e.rendererFactory=_o,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(ao,"Hooks are already overridden, only one definition is allowed."),ao=!0,n=e.sanitizeHtmlContent,Kn=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 St.unwrapProxy(e)},e.wire=function(e,t){throw new Error},e}({});
|
|
@@ -291,7 +291,7 @@ var LWC = (function (exports) {
|
|
|
291
291
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
292
292
|
return attributeName;
|
|
293
293
|
}
|
|
294
|
-
/** version: 2.30.
|
|
294
|
+
/** version: 2.30.2 */
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
297
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -373,7 +373,7 @@ var LWC = (function (exports) {
|
|
|
373
373
|
patch$1(propName);
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
/** version: 2.30.
|
|
376
|
+
/** version: 2.30.2 */
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
379
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -2993,16 +2993,16 @@ var LWC = (function (exports) {
|
|
|
2993
2993
|
// the custom element from the registry is expecting an upgrade callback
|
|
2994
2994
|
vm = createViewModelHook(elm, vnode, renderer);
|
|
2995
2995
|
};
|
|
2996
|
-
|
|
2997
|
-
|
|
2996
|
+
let connectedCallback;
|
|
2997
|
+
let disconnectedCallback;
|
|
2998
|
+
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
2999
|
+
connectedCallback = elm => {
|
|
2998
3000
|
connectRootElement(elm);
|
|
2999
|
-
}
|
|
3000
|
-
|
|
3001
|
-
const disconnectedCallback = elm => {
|
|
3002
|
-
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3001
|
+
};
|
|
3002
|
+
disconnectedCallback = elm => {
|
|
3003
3003
|
disconnectRootElement(elm);
|
|
3004
|
-
}
|
|
3005
|
-
}
|
|
3004
|
+
};
|
|
3005
|
+
}
|
|
3006
3006
|
// Should never get a tag with upper case letter at this point; the compiler
|
|
3007
3007
|
// should produce only tags with lowercase letters. However, the Java
|
|
3008
3008
|
// compiler may generate tagnames with uppercase letters so - for backwards
|
|
@@ -4648,7 +4648,6 @@ var LWC = (function (exports) {
|
|
|
4648
4648
|
*/
|
|
4649
4649
|
const DeprecatedWiredElementHost = '$$DeprecatedWiredElementHostKey$$';
|
|
4650
4650
|
const DeprecatedWiredParamsMeta = '$$DeprecatedWiredParamsMetaKey$$';
|
|
4651
|
-
const WIRE_DEBUG_ENTRY = '@wire';
|
|
4652
4651
|
const WireMetaMap = new Map();
|
|
4653
4652
|
class WireContextRegistrationEvent extends CustomEvent {
|
|
4654
4653
|
constructor(adapterToken, {
|
|
@@ -4856,7 +4855,6 @@ var LWC = (function (exports) {
|
|
|
4856
4855
|
wire
|
|
4857
4856
|
}
|
|
4858
4857
|
} = vm;
|
|
4859
|
-
vm.debugInfo[WIRE_DEBUG_ENTRY] = create(null);
|
|
4860
4858
|
const wiredConnecting = context.wiredConnecting = [];
|
|
4861
4859
|
const wiredDisconnecting = context.wiredDisconnecting = [];
|
|
4862
4860
|
for (const fieldNameOrMethod in wire) {
|
|
@@ -5530,8 +5528,10 @@ var LWC = (function (exports) {
|
|
|
5530
5528
|
// `customElements.define('x-foo')`, then you don't have access to the upgradeCallback, so it's a dummy custom element.
|
|
5531
5529
|
// This class should be created once per tag name.
|
|
5532
5530
|
const createUpgradableConstructor = (connectedCallback, disconnectedCallback) => {
|
|
5531
|
+
const hasConnectedCallback = !isUndefined$1(connectedCallback);
|
|
5532
|
+
const hasDisconnectedCallback = !isUndefined$1(disconnectedCallback);
|
|
5533
5533
|
// TODO [#2972]: this class should expose observedAttributes as necessary
|
|
5534
|
-
|
|
5534
|
+
class UpgradableConstructor extends HTMLElement {
|
|
5535
5535
|
constructor(upgradeCallback) {
|
|
5536
5536
|
super();
|
|
5537
5537
|
// If the element is not created using lwc.createElement(), e.g. `document.createElement('x-foo')`,
|
|
@@ -5539,25 +5539,33 @@ var LWC = (function (exports) {
|
|
|
5539
5539
|
if (elementBeingUpgradedByLWC) {
|
|
5540
5540
|
upgradeCallback(this);
|
|
5541
5541
|
}
|
|
5542
|
-
else {
|
|
5543
|
-
//
|
|
5544
|
-
//
|
|
5542
|
+
else if (hasConnectedCallback || hasDisconnectedCallback) {
|
|
5543
|
+
// If this element has connected or disconnected callbacks, then we need to keep track of
|
|
5544
|
+
// instances that were created outside LWC (i.e. not created by `lwc.createElement()`).
|
|
5545
|
+
// If the element has no connected or disconnected callbacks, then we don't need to track this.
|
|
5545
5546
|
elementsUpgradedOutsideLWC.add(this);
|
|
5546
5547
|
// TODO [#2970]: LWC elements cannot be upgraded via new Ctor()
|
|
5547
5548
|
// Do we want to support this? Throw an error? Currently for backwards compat it's a no-op.
|
|
5548
5549
|
}
|
|
5549
5550
|
}
|
|
5550
|
-
|
|
5551
|
+
}
|
|
5552
|
+
// Do not unnecessarily add a connectedCallback/disconnectedCallback, as it introduces perf overhead
|
|
5553
|
+
// See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
|
|
5554
|
+
if (hasConnectedCallback) {
|
|
5555
|
+
UpgradableConstructor.prototype.connectedCallback = function () {
|
|
5551
5556
|
if (!elementsUpgradedOutsideLWC.has(this)) {
|
|
5552
5557
|
connectedCallback(this);
|
|
5553
5558
|
}
|
|
5554
|
-
}
|
|
5555
|
-
|
|
5559
|
+
};
|
|
5560
|
+
}
|
|
5561
|
+
if (hasDisconnectedCallback) {
|
|
5562
|
+
UpgradableConstructor.prototype.disconnectedCallback = function () {
|
|
5556
5563
|
if (!elementsUpgradedOutsideLWC.has(this)) {
|
|
5557
5564
|
disconnectedCallback(this);
|
|
5558
5565
|
}
|
|
5559
|
-
}
|
|
5560
|
-
}
|
|
5566
|
+
};
|
|
5567
|
+
}
|
|
5568
|
+
return UpgradableConstructor;
|
|
5561
5569
|
};
|
|
5562
5570
|
const createCustomElementVanilla = (tagName, upgradeCallback, connectedCallback, disconnectedCallback) => {
|
|
5563
5571
|
// use global custom elements registry
|
|
@@ -5610,16 +5618,22 @@ var LWC = (function (exports) {
|
|
|
5610
5618
|
const EMPTY_SET = new Set();
|
|
5611
5619
|
function createDefinitionRecord(constructor) {
|
|
5612
5620
|
var _a;
|
|
5613
|
-
const { connectedCallback, disconnectedCallback, adoptedCallback, attributeChangedCallback, } = constructor.prototype;
|
|
5621
|
+
const { connectedCallback, disconnectedCallback, formAssociatedCallback, formDisabledCallback, formResetCallback, formStateRestoreCallback, adoptedCallback, attributeChangedCallback, } = constructor.prototype;
|
|
5622
|
+
const formAssociated = Boolean(constructor.formAssociated);
|
|
5614
5623
|
const observedAttributes = new Set((_a = constructor.observedAttributes) !== null && _a !== void 0 ? _a : []);
|
|
5615
5624
|
return {
|
|
5616
5625
|
UserCtor: constructor,
|
|
5617
5626
|
PivotCtor: undefined,
|
|
5618
5627
|
connectedCallback,
|
|
5619
5628
|
disconnectedCallback,
|
|
5629
|
+
formAssociatedCallback,
|
|
5630
|
+
formDisabledCallback,
|
|
5631
|
+
formResetCallback,
|
|
5632
|
+
formStateRestoreCallback,
|
|
5620
5633
|
adoptedCallback,
|
|
5621
5634
|
attributeChangedCallback,
|
|
5622
5635
|
observedAttributes,
|
|
5636
|
+
formAssociated,
|
|
5623
5637
|
};
|
|
5624
5638
|
}
|
|
5625
5639
|
// Helper to create stand-in element for each tagName registered that delegates out to the registry for the given
|
|
@@ -5694,6 +5708,26 @@ var LWC = (function (exports) {
|
|
|
5694
5708
|
}
|
|
5695
5709
|
}
|
|
5696
5710
|
}
|
|
5711
|
+
formAssociatedCallback(form) {
|
|
5712
|
+
var _a;
|
|
5713
|
+
const definition = definitionForElement.get(this);
|
|
5714
|
+
(_a = definition === null || definition === void 0 ? void 0 : definition.formAssociatedCallback) === null || _a === void 0 ? void 0 : _a.call(this, form);
|
|
5715
|
+
}
|
|
5716
|
+
formDisabledCallback(disabled) {
|
|
5717
|
+
var _a;
|
|
5718
|
+
const definition = definitionForElement.get(this);
|
|
5719
|
+
(_a = definition === null || definition === void 0 ? void 0 : definition.formDisabledCallback) === null || _a === void 0 ? void 0 : _a.call(this, disabled);
|
|
5720
|
+
}
|
|
5721
|
+
formResetCallback() {
|
|
5722
|
+
var _a;
|
|
5723
|
+
const definition = definitionForElement.get(this);
|
|
5724
|
+
(_a = definition === null || definition === void 0 ? void 0 : definition.formResetCallback) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
5725
|
+
}
|
|
5726
|
+
formStateRestoreCallback(state, mode) {
|
|
5727
|
+
var _a;
|
|
5728
|
+
const definition = definitionForElement.get(this);
|
|
5729
|
+
(_a = definition === null || definition === void 0 ? void 0 : definition.formStateRestoreCallback) === null || _a === void 0 ? void 0 : _a.call(this, state, mode);
|
|
5730
|
+
}
|
|
5697
5731
|
adoptedCallback() {
|
|
5698
5732
|
var _a;
|
|
5699
5733
|
const definition = definitionForElement.get(this);
|
|
@@ -5712,6 +5746,8 @@ var LWC = (function (exports) {
|
|
|
5712
5746
|
}
|
|
5713
5747
|
}
|
|
5714
5748
|
PivotCtor.observedAttributes = [...registeredDefinition.observedAttributes];
|
|
5749
|
+
// TODO [#3000]: support case where registeredDefinition is not form-associated, but later definition is.
|
|
5750
|
+
PivotCtor.formAssociated = registeredDefinition.formAssociated;
|
|
5715
5751
|
registeredPivotCtors.add(PivotCtor);
|
|
5716
5752
|
return PivotCtor;
|
|
5717
5753
|
}
|
|
@@ -6058,27 +6094,34 @@ var LWC = (function (exports) {
|
|
|
6058
6094
|
// Creates a constructor that is intended to be used as the UserConstructor in a scoped (pivots) registry.
|
|
6059
6095
|
// In this case, the upgradeCallback only needs to be defined once because we create these on-demand,
|
|
6060
6096
|
// multiple times per tag name.
|
|
6061
|
-
const createUserConstructor = (upgradeCallback, connectedCallback, disconnectedCallback
|
|
6097
|
+
const createUserConstructor = (HTMLElementToExtend, upgradeCallback, connectedCallback, disconnectedCallback) => {
|
|
6062
6098
|
// TODO [#2972]: this class should expose observedAttributes as necessary
|
|
6063
|
-
|
|
6099
|
+
class UserConstructor extends HTMLElementToExtend {
|
|
6064
6100
|
constructor() {
|
|
6065
6101
|
super();
|
|
6066
6102
|
upgradeCallback(this);
|
|
6067
6103
|
}
|
|
6068
|
-
|
|
6104
|
+
}
|
|
6105
|
+
// Do not unnecessarily add a connectedCallback/disconnectedCallback, as it introduces perf overhead
|
|
6106
|
+
// See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
|
|
6107
|
+
if (!isUndefined$1(connectedCallback)) {
|
|
6108
|
+
UserConstructor.prototype.connectedCallback = function () {
|
|
6069
6109
|
connectedCallback(this);
|
|
6070
|
-
}
|
|
6071
|
-
|
|
6110
|
+
};
|
|
6111
|
+
}
|
|
6112
|
+
if (!isUndefined$1(disconnectedCallback)) {
|
|
6113
|
+
UserConstructor.prototype.disconnectedCallback = function () {
|
|
6072
6114
|
disconnectedCallback(this);
|
|
6073
|
-
}
|
|
6074
|
-
}
|
|
6115
|
+
};
|
|
6116
|
+
}
|
|
6117
|
+
return UserConstructor;
|
|
6075
6118
|
};
|
|
6076
6119
|
function createCustomElementScoped(tagName, upgradeCallback, connectedCallback, disconnectedCallback) {
|
|
6077
6120
|
if (isUndefined$1(createScopedConstructor) || isUndefined$1(CachedHTMLElement)) {
|
|
6078
6121
|
// This error should be impossible to hit
|
|
6079
6122
|
throw new Error('The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature');
|
|
6080
6123
|
}
|
|
6081
|
-
const UserConstructor = createUserConstructor(upgradeCallback, connectedCallback, disconnectedCallback
|
|
6124
|
+
const UserConstructor = createUserConstructor(CachedHTMLElement, upgradeCallback, connectedCallback, disconnectedCallback);
|
|
6082
6125
|
const ScopedConstructor = createScopedConstructor(tagName, UserConstructor);
|
|
6083
6126
|
return new ScopedConstructor(UserConstructor);
|
|
6084
6127
|
}
|
|
@@ -6175,7 +6218,7 @@ var LWC = (function (exports) {
|
|
|
6175
6218
|
function isNull(obj) {
|
|
6176
6219
|
return obj === null;
|
|
6177
6220
|
}
|
|
6178
|
-
/** version: 2.30.
|
|
6221
|
+
/** version: 2.30.2 */
|
|
6179
6222
|
|
|
6180
6223
|
/*
|
|
6181
6224
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6646,16 +6689,16 @@ var LWC = (function (exports) {
|
|
|
6646
6689
|
DisconnectingSlot.set(elm, disconnectRootElement);
|
|
6647
6690
|
}
|
|
6648
6691
|
};
|
|
6649
|
-
|
|
6650
|
-
|
|
6692
|
+
let connectedCallback;
|
|
6693
|
+
let disconnectedCallback;
|
|
6694
|
+
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
6695
|
+
connectedCallback = elm => {
|
|
6651
6696
|
connectRootElement(elm);
|
|
6652
|
-
}
|
|
6653
|
-
|
|
6654
|
-
const disconnectedCallback = elm => {
|
|
6655
|
-
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
6697
|
+
};
|
|
6698
|
+
disconnectedCallback = elm => {
|
|
6656
6699
|
disconnectRootElement(elm);
|
|
6657
|
-
}
|
|
6658
|
-
}
|
|
6700
|
+
};
|
|
6701
|
+
}
|
|
6659
6702
|
const element = createCustomElement(tagName, upgradeCallback, connectedCallback, disconnectedCallback);
|
|
6660
6703
|
return element;
|
|
6661
6704
|
}
|
|
@@ -6728,7 +6771,7 @@ var LWC = (function (exports) {
|
|
|
6728
6771
|
});
|
|
6729
6772
|
freeze(LightningElement);
|
|
6730
6773
|
seal(LightningElement.prototype);
|
|
6731
|
-
/* version: 2.30.
|
|
6774
|
+
/* version: 2.30.2 */
|
|
6732
6775
|
|
|
6733
6776
|
exports.LightningElement = LightningElement;
|
|
6734
6777
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -6762,8 +6805,6 @@ var LWC = (function (exports) {
|
|
|
6762
6805
|
exports.unwrap = unwrap;
|
|
6763
6806
|
exports.wire = wire;
|
|
6764
6807
|
|
|
6765
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6766
|
-
|
|
6767
6808
|
return exports;
|
|
6768
6809
|
|
|
6769
6810
|
})({});
|