lwc 2.13.1 → 2.13.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +376 -170
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +376 -169
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +222 -164
  5. package/dist/engine-dom/iife/es5/engine-dom.js +7562 -5758
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +5947 -4586
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +376 -169
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +222 -164
  11. package/dist/engine-dom/umd/es5/engine-dom.js +7562 -5758
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +5947 -4586
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +190 -72
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +190 -73
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +29 -4
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +29 -4
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +10 -13
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +4601 -3603
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +10 -1
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +4424 -3481
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +29 -4
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +10 -13
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +4601 -3603
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +10 -1
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +4424 -3481
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service.min.js +1 -1
  33. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service.js +243 -258
  35. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  36. package/dist/wire-service/iife/es5/wire-service_debug.js +243 -258
  37. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
  39. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  40. package/dist/wire-service/umd/es5/wire-service.js +243 -258
  41. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  42. package/dist/wire-service/umd/es5/wire-service_debug.js +243 -258
  43. package/package.json +7 -7
@@ -1,2 +1 @@
1
- !function(b,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((b="undefined"!=typeof globalThis?globalThis:b||self).LWC={})}(this,function(a){"use strict";var ar=Object.freeze({__proto__:null,invariant:function(a,b){if(!a)throw new Error(`Invariant Violation: ${b}`)},isTrue:function(a,b){if(!a)throw new Error(`Assert Violation: ${b}`)},isFalse:function(a,b){if(a)throw new Error(`Assert Violation: ${b}`)},fail:function(a){throw new Error(a)}});const{assign:r,create:b,defineProperties:s,defineProperty:t,freeze:h,getOwnPropertyDescriptor:D,getOwnPropertyNames:E,getPrototypeOf:as,hasOwnProperty:F,isFrozen:at,keys:u,seal:e,setPrototypeOf:au}=Object,{isArray:G}=Array,{filter:av,find:aw,indexOf:ax,join:ay,map:az,push:aA,reduce:aB,reverse:aC,slice:aD,splice:aE,unshift:aF,forEach:v}=Array.prototype,{fromCharCode:aG}=String,{charCodeAt:aH,replace:aI,slice:aJ,toLowerCase:aK}=String.prototype;function aL(a){return void 0===a}function aM(a){return!0===a}function aN(a){return!1===a}function H(a){return"function"==typeof a}function aO(a){return"object"==typeof a}function aP(a){return"string"==typeof a}function I(){}const aQ={}.toString;function aR(a){return a&&a.toString?G(a)?ay.call(az.call(a,aR),","):a.toString():"object"==typeof a?aQ.call(a):a+""}function aS(a,c){do{const b=D(a,c);if(!aL(b))return b;a=as(a)}while(null!==a)}const aT=["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:aU,AriaPropNameToAttrNameMap:w}=(()=>{const a=b(null),c=b(null);return v.call(aT,b=>{const d=aK.call(aI.call(b,/^aria/,()=>"aria-"));a[d]=b,c[b]=d}),{AriaAttrNameToPropNameMap:a,AriaPropNameToAttrNameMap:c}})(),f=function(){if("object"==typeof globalThis)return globalThis;let a;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),a=__magic__,delete Object.prototype.__magic__}catch(b){}finally{void 0===a&&(a=window)}return a}(),aV="$shadowResolver$",aW="$scoped$",aX=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"],]),aY=new Map;function aZ(a){const e=w[a];if(!aL(e))return e;const f=aX.get(a);if(!aL(f))return f;const g=aY.get(a);if(!aL(g))return g;let b="";for(let d=0,h=a.length;d<h;d++){const c=aH.call(a,d);c>=65&&c<=90?b+="-"+aG(c+32):b+=aG(c)}return aY.set(a,b),b}function J(a){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,a)}const a$=new WeakMap;function a_(b){let a=a$.get(b);return void 0===a&&(a={},a$.set(b,a)),a}function K(a){var b,c;const d=w[a],e=(b=a,c=d,{get(){const a=a_(this);return F.call(a,b)?a[b]:this.hasAttribute(c)?this.getAttribute(c):null},set(a){var d;const e=null==(d=a)?null:String(d),f=a_(this);f[b]=e,null===a?this.removeAttribute(c):this.setAttribute(c,a)},configurable:!0,enumerable:!0});Object.defineProperty(Element.prototype,a,e)}const x=u(w);for(let i=0,L=x.length;i<L;i+=1){const y=x[i];J(y)&&K(y)}const a0={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};f.lwcRuntimeFlags||Object.defineProperty(f,"lwcRuntimeFlags",{value:b(null)});const a1=f.lwcRuntimeFlags;let a2=[];const d=e(b(null)),a3=e([]);function a4(){const b=a2;a2=[];for(let a=0,c=b.length;a<c;a+=1)b[a]()}function a5(a){0===a2.length&&Promise.resolve().then(a4),aA.call(a2,a)}const a6=/;(?![^(]*\))/g,a7=/:(.+)/;let M,N,O,P,Q,a8,a9,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,R,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,S,bA,bB,T,U;const bC=new WeakMap;let bD=null;function V(d,e){const c=bC.get(d);if(!aL(c)){const a=c[e];if(!aL(a))for(let b=0,f=a.length;b<f;b+=1){const g=a[b];g.notify()}}}function W(f,d){if(null===bD)return;const c=bD,e=function(c){let a=bC.get(c);if(aL(a)){const d=b(null);a=d,bC.set(c,d)}return a}(f);let a=e[d];if(aL(a))a=[],e[d]=a;else if(a[0]===c)return;-1===ax.call(a,c)&&c.link(a)}class X{constructor(a){this.listeners=[],this.callback=a}observe(b){const c=bD;bD=this;let a;try{b()}catch(d){a=Object(d)}finally{if(bD=c,void 0!==a)throw a}}reset(){const{listeners:a}=this,c=a.length;if(c>0){for(let b=0;b<c;b+=1){const d=a[b],e=ax.call(a[b],this);aE.call(d,e,1)}a.length=0}}notify(){this.callback.call(void 0,this)}link(a){aA.call(a,this),aA.call(this.listeners,a)}}function bE(a,b){V(a.component,b)}function bF(a,b){W(a.component,b)}function bG(a){return`<${aK.call(a.tagName)}>`}function bH(b,a){if(!at(a)&&aL(a.wcStack)){const c=function(c){const b=[];let a=c;for(;null!==a;)aA.call(b,bG(a)),a=a.owner;return b.reverse().join("\n ")}(b);t(a,"wcStack",{get:()=>c})}}function bI(b){const a=b();return(null==a?void 0:a.__esModule)?a.default:a}function bJ(a){return H(a)&&F.call(a,"__circular__")}const z="undefined"!=typeof HTMLElement?HTMLElement:function(){},bK=z.prototype;function g(a){return`Using the \`${a}\` 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.`}r(b(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:g("offsetHeight")},offsetLeft:{readOnly:!0,error:g("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:g("offsetTop")},offsetWidth:{readOnly:!0,error:g("offsetWidth")},role:{attribute:"role"}});let bL=null,bM;function bN(a,b){bL=null,bM=void 0}const j=b(null);v.call(u(w),a=>{const b=aS(bK,a);aL(b)||(j[a]=b)}),v.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title",],a=>{const b=aS(bK,a);aL(b)||(j[a]=b)});const{isArray:bO}=Array,{prototype:bP,getPrototypeOf:bQ,create:bR,defineProperty:bS,isExtensible:bT,getOwnPropertyDescriptor:bU,getOwnPropertyNames:bV,getOwnPropertySymbols:bW,preventExtensions:bX,hasOwnProperty:bY}=Object,{push:bZ,concat:b$}=Array.prototype;function b_(a){return void 0===a}function b0(a){return"function"==typeof a}const b1=new WeakMap;function b2(a,b){b1.set(a,b)}const b3=a=>b1.get(a)||a;class A{constructor(a,b){this.originalTarget=b,this.membrane=a}wrapDescriptor(a){if(bY.call(a,"value"))a.value=this.wrapValue(a.value);else{const{set:b,get:c}=a;b_(c)||(a.get=this.wrapGetter(c)),b_(b)||(a.set=this.wrapSetter(b))}return a}copyDescriptorIntoShadowTarget(c,a){const{originalTarget:d}=this,b=bU(d,a);if(!b_(b)){const e=this.wrapDescriptor(b);bS(c,a,e)}}lockShadowTarget(a){const{originalTarget:c}=this,d=b$.call(bV(c),bW(c));d.forEach(b=>{this.copyDescriptorIntoShadowTarget(a,b)});const{membrane:{tagPropertyKey:b}}=this;b_(b)||bY.call(a,b)||bS(a,b,bR(null)),bX(a)}apply(a,b,c){}construct(a,b,c){}get(e,a){const{originalTarget:b,membrane:{valueObserved:c}}=this,d=b[a];return c(b,a),this.wrapValue(d)}has(e,a){const{originalTarget:b,membrane:{tagPropertyKey:c,valueObserved:d}}=this;return d(b,a),a in b||a===c}ownKeys(d){const{originalTarget:a,membrane:{tagPropertyKey:b}}=this,c=b_(b)||bY.call(a,b)?[]:[b];return bZ.apply(c,bV(a)),bZ.apply(c,bW(a)),c}isExtensible(a){const{originalTarget:b}=this;return!!bT(a)&&(!!bT(b)||(this.lockShadowTarget(a),!1))}getPrototypeOf(b){const{originalTarget:a}=this;return bQ(a)}getOwnPropertyDescriptor(c,b){const{originalTarget:d,membrane:{valueObserved:f,tagPropertyKey:e}}=this;f(d,b);let a=bU(d,b);if(b_(a)){if(b!==e)return;return bS(c,e,a={value:void 0,writable:!1,configurable:!1,enumerable:!1}),a}return!1===a.configurable&&this.copyDescriptorIntoShadowTarget(c,b),this.wrapDescriptor(a)}}const b4=new WeakMap,b5=new WeakMap,b6=new WeakMap,b7=new WeakMap;class b8 extends A{wrapValue(a){return this.membrane.getProxy(a)}wrapGetter(a){const c=b4.get(a);if(!b_(c))return c;const d=this,b=function(){return d.wrapValue(a.call(b3(this)))};return b4.set(a,b),b6.set(b,a),b}wrapSetter(a){const c=b5.get(a);if(!b_(c))return c;const b=function(b){a.call(b3(this),b3(b))};return b5.set(a,b),b7.set(b,a),b}unwrapDescriptor(a){if(bY.call(a,"value"))a.value=b3(a.value);else{const{set:b,get:c}=a;b_(c)||(a.get=this.unwrapGetter(c)),b_(b)||(a.set=this.unwrapSetter(b))}return a}unwrapGetter(a){const c=b6.get(a);if(!b_(c))return c;const d=this,b=function(){return b3(a.call(d.wrapValue(this)))};return b4.set(b,a),b6.set(a,b),b}unwrapSetter(a){const c=b7.get(a);if(!b_(c))return c;const d=this,b=function(b){a.call(d.wrapValue(this),d.wrapValue(b))};return b5.set(b,a),b7.set(a,b),b}set(f,a,c){const{originalTarget:b,membrane:{valueMutated:d}}=this,e=b[a];return e!==c?(b[a]=c,d(b,a)):"length"===a&&bO(b)&&d(b,a),!0}deleteProperty(d,a){const{originalTarget:b,membrane:{valueMutated:c}}=this;return delete b[a],c(b,a),!0}setPrototypeOf(a,b){}preventExtensions(a){if(bT(a)){const{originalTarget:b}=this;if(bX(b),bT(b))return!1;this.lockShadowTarget(a)}return!0}defineProperty(d,a,c){const{originalTarget:b,membrane:{valueMutated:e,tagPropertyKey:f}}=this;return!(a!==f||bY.call(b,a))||(bS(b,a,this.unwrapDescriptor(c)),!1===c.configurable&&this.copyDescriptorIntoShadowTarget(d,a),e(b,a),!0)}}const b9=new WeakMap,ca=new WeakMap;class cb extends A{wrapValue(a){return this.membrane.getReadOnlyProxy(a)}wrapGetter(a){const b=b9.get(a);if(!b_(b))return b;const d=this,c=function(){return d.wrapValue(a.call(b3(this)))};return b9.set(a,c),c}wrapSetter(a){const b=ca.get(a);if(!b_(b))return b;const c=function(a){};return ca.set(a,c),c}set(a,b,c){return!1}deleteProperty(a,b){return!1}setPrototypeOf(a,b){}preventExtensions(a){return!1}defineProperty(a,b,c){return!1}}function cc(a){return bO(a)?[]:{}}const Y=Symbol.for("@@lockerLiveValue"),cd=new class{constructor(d={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:a,valueObserved:b,valueIsObservable:c,tagPropertyKey:e}=d;this.valueMutated=b0(a)?a:(a,b)=>{},this.valueObserved=b0(b)?b:(a,b)=>{},this.valueIsObservable=b0(c)?c:function(a){if(null===a)return!1;if("object"!=typeof a)return!1;if(bO(a))return!0;const b=bQ(a);return b===bP||null===b||null===bQ(b)},this.tagPropertyKey=e}getProxy(b){const a=b3(b);return this.valueIsObservable(a)?this.readOnlyObjectGraph.get(a)===b?b:this.getReactiveHandler(a):a}getReadOnlyProxy(a){return(a=b3(a),this.valueIsObservable(a))?this.getReadOnlyHandler(a):a}unwrapProxy(a){return b3(a)}getReactiveHandler(a){let b=this.reactiveObjectGraph.get(a);if(b_(b)){const c=new b8(this,a);b2(b=new Proxy(cc(a),c),a),this.reactiveObjectGraph.set(a,b)}return b}getReadOnlyHandler(a){let b=this.readOnlyObjectGraph.get(a);if(b_(b)){const c=new cb(this,a);b2(b=new Proxy(cc(a),c),a),this.readOnlyObjectGraph.set(a,b)}return b}}({valueObserved:W,valueMutated:V,tagPropertyKey:Y});function Z(f,a){const{get:b,set:c,enumerable:d,configurable:e}=a;if(!H(b))throw new TypeError;if(!H(c))throw new TypeError;return{enumerable:d,configurable:e,get(){const a=dO(this);if(dn!==a)return bF(a,f),b.call(a.elm)},set(b){const a=dO(this);return b!==a.cmpProps[f]&&(a.cmpProps[f]=b,bE(a,f)),c.call(a.elm,b)}}}const c=function(){if(null===dn)throw new ReferenceError("Illegal constructor");const a=dn,{def:c,elm:b}=a,{bridge:d}=c;if(au(b,d.prototype),a.component=this,1===arguments.length){const{callHook:e,setHook:f,getHook:g}=arguments[0];a.callHook=e,a.setHook=f,a.getHook=g}return this[Y]=void 0,dN(this,a),dN(b,a),1===a.renderMode?a.renderRoot=ce(a):a.renderRoot=b,this};function ce(a){const{elm:c,mode:d,shadowMode:e,def:{ctor:f}}=a,b=be(c,{["$$lwc-synthetic-mode"]:1===e,delegatesFocus:Boolean(f.delegatesFocus),mode:d});return a.shadowRoot=b,dN(b,a),b}c.prototype={constructor:c,dispatchEvent(a){const{elm:b}=dO(this);return bn(b,a)},addEventListener(b,c,d){const a=dO(this),{elm:e}=a,f=dw(a,c);bl(e,b,f,d)},removeEventListener(b,c,d){const a=dO(this),{elm:e}=a,f=dw(a,c);bm(e,b,f,d)},hasAttribute(a){const{elm:b}=dO(this);return null!==bi(b,a)},hasAttributeNS(a,b){const{elm:c}=dO(this);return null!==bi(c,b,a)},removeAttribute(a){var b,c;const{elm:d}=dO(this);b=d,c=a,bL=b,bM=c,bk(d,a),bN()},removeAttributeNS(e,a){var b,c;const{elm:d}=dO(this);b=d,c=a,bL=b,bM=c,bk(d,a,e),bN()},getAttribute(a){const{elm:b}=dO(this);return bi(b,a)},getAttributeNS(a,b){const{elm:c}=dO(this);return bi(c,b,a)},setAttribute(a,e){var b,c;const f=dO(this),{elm:d}=f;b=d,c=a,bL=b,bM=c,bj(d,a,e),bN()},setAttributeNS(e,a,f){var b,c;const g=dO(this),{elm:d}=g;b=d,c=a,bL=b,bM=c,bj(d,a,f,e),bN()},getBoundingClientRect(){const a=dO(this),{elm:b}=a;return bp(b)},get isConnected(){const{elm:$}=dO(this);return S($)},get classList(){const _=dO(this),{elm:aa}=_;return R(aa)},get template(){const ab=dO(this);return ab.shadowRoot},get shadowRoot(){return null},render(){const a=dO(this);return a.def.template},toString(){const a=dO(this);return`[object ${a.def.name}]`}};const k=b(null);function cf(a){switch(a){case"children":return bu;case"childNodes":return bv;case"firstChild":return bw;case"firstElementChild":return bx;case"lastChild":return by;case"lastElementChild":return bz}}for(const ac of["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild",])k[ac]={get(){const a=dO(this),{elm:b}=a;return cf(ac)(b)},configurable:!0,enumerable:!0};function cg(a){switch(a){case"getElementsByClassName":return bt;case"getElementsByTagName":return bs;case"querySelector":return bq;case"querySelectorAll":return br}}for(const ad of["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll",])k[ad]={value(a){const b=dO(this),{elm:c}=b;return cg(ad)(c,a)},configurable:!0,enumerable:!0,writable:!0};s(c.prototype,k);const l=b(null);for(const m in j)l[m]=Z(m,j[m]);function ch(a){return{get(){const b=dO(this);return bF(b,a),b.cmpFields[a]},set(c){const b=dO(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bE(b,a))},enumerable:!0,configurable:!0}}function ci(a){return{get(){const b=dO(this);if(dn!==b)return bF(b,a),b.cmpProps[a]},set(c){const b=dO(this);b.cmpProps[a]=c,bE(b,a)},enumerable:!0,configurable:!0}}s(c.prototype,l),t(c,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class cj extends X{constructor(a,b){super(()=>{aN(this.debouncing)&&(this.debouncing=!0,a5(()=>{if(aM(this.debouncing)){const{value:c}=this,{isDirty:d,component:e,idx:f}=a;b.call(e,c),this.debouncing=!1,aM(a.isDirty)&&aN(d)&&f>0&&dF(a)}}))}),this.debouncing=!1}reset(a){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=a)}}function ck(e,a){const{get:b,set:f,enumerable:c,configurable:d}=a;if(!H(b))throw new Error;return{get(){return b.call(this)},set(c){const b=dO(this);if(f)if(a1.ENABLE_REACTIVE_SETTER){let a=b.oar[e];aL(a)&&(a=b.oar[e]=new cj(b,f)),a.reset(c),a.observe(()=>{f.call(this,c)})}else f.call(this,c)},enumerable:c,configurable:d}}function cl(a){return{get(){const b=dO(this);return bF(b,a),b.cmpFields[a]},set(d){const b=dO(this),c=cd.getProxy(d);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bE(b,a))},enumerable:!0,configurable:!0}}function cm(a){return{get(){const b=dO(this);return bF(b,a),b.cmpFields[a]},set(c){const b=dO(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bE(b,a))},enumerable:!0,configurable:!0}}const cn=new Map,co={apiMethods:d,apiFields:d,apiFieldsConfig:d,wiredMethods:d,wiredFields:d,observedFields:d},ae=new Set;function B(){return[]}function af(b,c,d,a){return a}ae.add(B);const cp=b(null),cq=b(null);function cr(b){let a=cp[b];return aL(a)&&(a=cp[b]=function(){const a=dO(this),{getHook:c}=a;return c(a.component,b)}),a}function cs(b){let a=cq[b];return aL(a)&&(a=cq[b]=function(a){const c=dO(this),{setHook:d}=c;a=cd.getReadOnlyProxy(a),d(c.component,b,a)}),a}function ct(a){return function(){const b=dO(this),{callHook:c,component:d}=b,e=d[a];return c(b.component,e,aD.call(arguments))}}function ag(c,h,i){var l,m;let a;H(c)?a=class extends c{}:(au(a=function(){throw new TypeError("Illegal constructor")},c),au(a.prototype,c.prototype),t(a.prototype,"constructor",{writable:!0,configurable:!0,value:a}));const j=b(null),{attributeChangedCallback:n}=c.prototype,{observedAttributes:q=[]}=c,e=b(null);for(let f=0,o=h.length;f<o;f+=1){const d=h[f];j[aZ(d)]=d,e[d]={get:cr(d),set:cs(d),enumerable:!0,configurable:!0}}for(let g=0,p=i.length;g<p;g+=1){const k=i[g];e[k]={value:ct(k),writable:!0,configurable:!0}}return e.attributeChangedCallback={value:(l=j,m=n,function(a,f,b){var c,d;if(f===b)return;const e=l[a];if(aL(e)){aL(m)||m.apply(this,arguments);return}c=this,d=a,(c!==bL||d!==bM)&&(this[e]=b)})},t(a,"observedAttributes",{get:()=>[...q,...u(j)]}),s(a.prototype,e),a}const n=ag(z,E(j),[]);h(n),e(n.prototype);const cu=new WeakMap;function ah(b){if(!H(b))return!1;if(b.prototype instanceof c)return!0;let a=b;do{if(bJ(a)){const d=bI(a);if(d===a)return!0;a=d}if(a===c)return!0}while(null!==a&&(a=as(a)))return!1}function cv(a){let d=cu.get(a);if(aL(d)){if(bJ(a)){const e=bI(a);return d=cv(e),cu.set(a,d),d}if(!ah(a))throw new TypeError(`${a} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);d=function(d){const{shadowSupportMode:j,renderMode:k}=d,t=function(b){const a=cn.get(b);return aL(a)?co:a}(d),{apiFields:l,apiFieldsConfig:v,apiMethods:m,wiredFields:w,wiredMethods:x,observedFields:y}=t,n=d.prototype;let{connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}=n;const o=function(b){let a=as(b);if(null===a)throw new ReferenceError(`Invalid prototype chain for ${b.name}, you must extend LightningElement.`);if(bJ(a)){const d=bI(a);a=d===a?c:d}return a}(d),a=o!==c?cv(o):cw,z=ag(a.bridge,u(l),u(m)),A=r(b(null),a.props,l),B=r(b(null),a.propsConfig,v),C=r(b(null),a.methods,m),D=r(b(null),a.wire,w,x);e=e||a.connectedCallback,f=f||a.disconnectedCallback,g=g||a.renderedCallback,h=h||a.errorCallback,i=i||a.render;let p=a.shadowSupportMode;aL(j)||(p=j);let q=a.renderMode;aL(k)||(q="light"===k?0:1);const E=ds(d)||a.template,F=d.name||a.name;return s(n,y),{ctor:d,name:F,wire:D,props:A,propsConfig:B,methods:C,bridge:z,template:E,renderMode:q,shadowSupportMode:p,connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}}(a),cu.set(a,d)}return d}const cw={ctor:c,name:c.name,props:l,propsConfig:d,methods:d,renderMode:1,shadowSupportMode:"reset",wire:d,bridge:n,template:B,render:c.prototype.render};function cx(a){let b=U(a=a.toLowerCase());return aL(b)&&T(a,b=class extends P{constructor(a){super(),H(a)&&a(this)}}),b}function cy(b){const{type:a}=b;return 2===a||3===a}function cz(a,b){return a.key===b.key&&a.sel===b.sel}function cA(c,f){var g,e;const{props:b}=f.data;if(aL(b))return;const h=null===c?d:c.data.props;if(h===b)return;const k=null===c,{elm:i,sel:l}=f;for(const a in b){const j=b[a];(k||j!==((g=l,e=a,"input"===g&&("value"===e||"checked"===e))?bf(i,a):h[a]))&&bg(i,a,j)}}const cB=b(null);function cC(a){if(null==a)return d;let e=cB[a=aP(a)?a:a+""];if(e)return e;e=b(null);let f=0,c;const g=a.length;for(c=0;c<g;c++)32===aH.call(a,c)&&(c>f&&(e[aJ.call(a,f,c)]=!0),f=c+1);return c>f&&(e[aJ.call(a,f,c)]=!0),cB[a]=e,e}function cD(c){const{elm:d,data:{on:a}}=c;if(!aL(a))for(const b in a){const e=a[b];bl(d,b,e)}}function cE(b,a,c){c2(a)?c4(b,a,c):c5(b,a,c)}function cF(b,a){if(b!==a)switch(a.type){case 0:cH(b,a);break;case 1:cJ(b,a);break;case 2:cM(b,a);break;case 3:cO(b,a);break}}function cG(a,b,c){switch(a.type){case 0:cI(a,b,c);break;case 1:cK(a,b,c);break;case 2:cL(a,b,c);break;case 3:cN(a,b,c);break}}function cH(b,a){a.elm=b.elm,a.text!==b.text&&cV(a)}function cI(a,c,d){const{owner:e}=a,b=a.elm=bb(a.text);cU(b,e),cW(b,c,d)}function cJ(b,a){a.elm=b.elm,a.text!==b.text&&cV(a)}function cK(a,c,d){const{owner:e}=a,b=a.elm=bc(a.text);cU(b,e),cW(b,c,d)}function cL(a,c,d){const{sel:e,owner:f,data:{svg:g}}=a,h=aM(g)?"http://www.w3.org/2000/svg":void 0,b=ba(e,h);cU(b,f),cZ(b,a),a.elm=b,cY(null,a),cW(b,c,d),cP(a.children,b,null)}function cM(a,b){const c=b.elm=a.elm;cY(a,b),cE(a.children,b.children,c)}function cN(a,e,f){const{sel:g,owner:h}=a,d=cx(g);let b;const c=new d(c=>{b=c_(c,a)});if(cU(c,h),a.elm=c,a.vm=b,b)c$(a,b);else if(a.ctor!==d)throw new TypeError("Incorrect Component Constructor");cY(null,a),cW(c,e,f),b&&dV(b),cP(a.children,c,null),b&&dI(b)}function cO(b,a){const d=a.elm=b.elm,c=a.vm=b.vm;cY(b,a),aL(c)||c$(a,c),cE(b.children,a.children,d),aL(c)||dF(c)}function cP(b,d,e,a=0,f=b.length){for(;a<f;++a){const c=b[a];null!=c&&cG(c,d,e)}}function cQ(a,d,e=!1){const{type:f,elm:b}=a;switch(e&&cX(b,d),f){case 2:cR(a.children,b);break;case 3:{const{vm:c}=a;aL(c)||dK(c)}}}function cR(b,d,e=!1,a=0,f=b.length){for(;a<f;++a){const c=b[a];null!=c&&cQ(c,d,e)}}function cS(a,b){a.$shadowToken$=b}function cT(c,d){const{cmpTemplate:a,context:e}=d,b=null==a?void 0:a.stylesheetToken;!aL(b)&&e.hasScopedStyles&&R(c).add(b)}function cU(a,b){const{renderRoot:c,renderMode:d,shadowMode:e}=b;O&&(1===e||0===d)&&(a[aV]=c[aV])}function cV(a){const{elm:b,text:c}=a;bh(b,c)}function cW(a,b,c){a8(a,b,c)}function cX(a,b){a9(a,b)}function cY(b,a){null===b&&(cD(a),function(b){const{elm:c,data:{classMap:a}}=b;if(aL(a))return;const d=R(c);for(const e in a)d.add(e)}(a),function(c){const{elm:d,data:{styleDecls:a}}=c;if(!aL(a))for(let b=0;b<a.length;b++){const[e,f,g]=a[b];bo(d,e,f,g)}}(a)),function(b,h){const{elm:i,data:{className:c}}=h,d=null===b?void 0:b.data.className;if(d===c)return;const e=R(i),f=cC(c),g=cC(d);let a;for(a in g)aL(f[a])&&e.remove(a);for(a in f)aL(g[a])&&e.add(a)}(b,a),function(b,d){const{elm:c,data:{style:a}}=d,e=null===b?void 0:b.data.style;e!==a&&(aP(a)&&""!==a?bj(c,"style",a):bk(c,"style"))}(b,a),function(f,g){var h,i;const{attrs:e}=g.data;if(aL(e))return;const j=null===f?d:f.data.attrs;if(j===e)return;const{elm:c}=g;for(const a in e){const b=e[a],k=j[a];k!==b&&((h=c,i=a,bL=h,bM=i,58===aH.call(a,3))?bj(c,a,b,"http://www.w3.org/XML/1998/namespace"):58===aH.call(a,5)?bj(c,a,b,"http://www.w3.org/1999/xlink"):null===b||aL(b)?bk(c,a):bj(c,a,b),bN())}}(b,a),cA(b,a)}function cZ(a,d){const{owner:b}=d;if(cT(a,b),1===b.shadowMode){const{data:{context:c}}=d,{stylesheetToken:e}=b.context;aL(c)||aL(c.lwc)||"manual"!==c.lwc.dom||(a.$domManual$=!0),aL(e)||cS(a,e)}}function c$(a,b){const c=a.aChildren||a.children;b.aChildren=c;const{renderMode:d,shadowMode:e}=b;(1===e||0===d)&&(c0(b,c),a.aChildren=c,a.children=a3)}function c_(a,e){let c=dP(a);if(!aL(c))return c;const{sel:f,mode:g,ctor:h,owner:b}=e;if(cT(a,b),1===b.shadowMode){const{stylesheetToken:d}=b.context;aL(d)||cS(a,d)}return c=dL(a,h,{mode:g,owner:b,tagName:f})}function c0(c,m){var g;const{cmpSlots:h}=c,a=c.cmpSlots=b(null);for(let i=0,n=m.length;i<n;i+=1){const e=m[i];if(null===e)continue;let j="";cy(e)&&(j=(null===(g=e.data.attrs)|| void 0===g?void 0:g.slot)||"");const o=a[j]=a[j]||[];aA.call(o,e)}if(aN(c.isDirty)){const k=u(h);if(k.length!==u(a).length){du(c);return}for(let l=0,p=k.length;l<p;l+=1){const d=k[l];if(aL(a[d])||h[d].length!==a[d].length){du(c);return}const q=h[d],r=a[d];for(let f=0,s=a[d].length;f<s;f+=1)if(q[f]!==r[f]){du(c);return}}}}const c1=new WeakMap;function c2(a){return c1.has(a)}function c3(e,f,g){const b={};for(let a=f;a<=g;++a){const c=e[a];if(null!=c){const{key:d}=c;void 0!==d&&(b[d]=a)}}return b}function c4(b,c,k){let g=0,h=0,e=b.length-1,d=b[0],f=b[e];const p=c.length-1;let i=p,a=c[0],j=c[i],n,o,l,q=!1;for(;g<=e&&h<=i;)null!=d?null!=f?null!=a?null!=j?cz(d,a)?(cF(d,a),d=b[++g],a=c[++h]):cz(f,j)?(cF(f,j),f=b[--e],j=c[--i]):cz(d,j)?(cF(d,j),cW(d.elm,k,bd(f.elm)),d=b[++g],j=c[--i]):cz(f,a)?(cF(f,a),cW(a.elm,k,d.elm),f=b[--e],a=c[++h]):(void 0===n&&(n=c3(b,g,e)),aL(o=n[a.key]))?(cG(a,k,d.elm),a=c[++h]):(null!=(l=b[o])&&(l.sel!==a.sel?cG(a,k,d.elm):(cF(l,a),q||(q=!0,b=[...b]),b[o]=void 0,cW(l.elm,k,d.elm))),a=c[++h]):j=c[--i]:a=c[++h]:f=b[--e]:d=b[++g];if(g<=e||h<=i)if(g>e){let r=i,m;do m=c[++r];while(null==m&&r<p)cP(c,k,null!=m?m.elm:null,h,i+1)}else cR(b,k,!0,g,e+1)}function c5(e,f,b){const i=e.length,h=f.length;if(0===i){cP(f,b,null);return}if(0===h){cR(e,b,!0);return}let g=null;for(let c=h-1;c>=0;c-=1){const d=e[c],a=f[c];a!==d&&(null!=d?null!=a?(cF(d,a),g=a.elm):cQ(d,b,!0):null!=a&&(cG(a,b,g),g=a.elm))}}const c6=Symbol.iterator;function ai(b,a,c=a3){const d=dm;let e;const{key:f}=a;return{type:2,sel:b,data:a,children:c,elm:e,key:f,owner:d}}function aj(d,e,a,f=a3){var b;const g=dm,{key:h}=a;let i,j,k;const c={type:3,sel:d,data:a,children:f,elm:i,key:h,ctor:e,owner:g,mode:"open",aChildren:j,vm:k};return b=c,aA.call(dm.velements,b),c}const c7=new Map;let c8=0;function c9(a){var b;return b=a,c1.set(b,1),a}let da=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const db=h({s:function(c,d,a,b){aL(b)||aL(b[c])||0===b[c].length||(a=b[c]);const e=dm,{renderMode:f,shadowMode:g}=e;return 0===f?(c9(a),a):(1===g&&c9(a),ai("slot",d,a))},h:ai,c:aj,i:function(b,i){const a=[];if(c9(a),aL(b)||null===b)return a;const g=b[c6]();let c=g.next(),d=0,{value:h,done:e}=c;for(;!1===e;){e=(c=g.next()).done;const f=i(h,d,0===d,!0===e);G(f)?aA.apply(a,f):aA.call(a,f),d+=1,h=c.value}return a},f:function(d){const e=d.length,a=[];c9(a);for(let b=0;b<e;b+=1){const c=d[b];G(c)?aA.apply(a,c):aA.call(a,c)}return a},t:function(a){let b,c,d;return{type:0,sel:b,text:a,elm:d,key:c,owner:dm}},d:function(a){return null==a?"":String(a)},b:function(b){const a=dm;if(null===a)throw new Error;const c=a;return function(a){dq(c,b,c.component,a)}},k:function(b,a){switch(typeof a){case"number":case"string":return b+":"+a}},co:function(a){let b,c,d;return{type:1,sel:b,text:a,elm:d,key:c,owner:dm}},dc:function(c,a,d,e=a3){if(null==a)return null;if(!ah(a))throw new Error(`Invalid LWC Constructor ${aR(a)} for custom element <${c}>.`);let b=c7.get(a);aL(b)&&(b=c8++,c7.set(a,b));const f=Object.assign(Object.assign({},d),{key:`dc:${b}:${d.key}`});return aj(c,a,f,e)},ti:function(a){const b=a>0&&!(aM(a)||aN(a));return b?0:a},gid:function(a){const b=dm;if(aL(a)||""===a)return a;if(null===a)return null;const{idx:d,shadowMode:c}=b;return 1===c?aI.call(a,/\S+/g,a=>`${a}-${d}`):a},fid:function(a){const b=dm;if(aL(a)||""===a)return a;if(null===a)return null;const{idx:c,shadowMode:d}=b;return 1===d&&/^#/.test(a)?`${a}-${c}`:a},shc:function(a){return da(a)}});function dc(a){return`${a}-host`}function dd(g,h,a){const d=[];let b;for(let e=0;e<g.length;e++){let c=g[e];if(G(c))aA.apply(d,dd(c,h,a));else{const i=c[aW],j=i||1===a.shadowMode&&1===a.renderMode?h:void 0,k=0===a.renderMode?!i:0===a.shadowMode;let f;1===a.renderMode?f=0===a.shadowMode:(aL(b)&&(b=de(a)),f=null===b||0===b.shadowMode),aA.call(d,c(j,k,f))}}return d}function de(b){let a=b;for(;null!==a;){if(1===a.renderMode)return a;a=a.owner}return a}let df=!1,dg=I;const ak={enableProfiler(){df=!0},disableProfiler(){df=!1},attachDispatcher(a){dg=a,this.enableProfiler()},detachDispatcher(){const a=dg;return dg=I,this.disableProfiler(),a}};function dh(b,a){df&&dg(b,0,a.tagName,a.idx,a.renderMode,a.shadowMode)}function di(b,a){df&&dg(b,1,a.tagName,a.idx,a.renderMode,a.shadowMode)}function dj(b,a){df&&dg(b,0,null==a?void 0:a.tagName,null==a?void 0:a.idx,null==a?void 0:a.renderMode,null==a?void 0:a.shadowMode)}function dk(b,a){df&&dg(b,1,null==a?void 0:a.tagName,null==a?void 0:a.idx,null==a?void 0:a.renderMode,null==a?void 0:a.shadowMode)}let dl=!1,dm=null,dn=null;function dp(a,c,d){const{component:e,callHook:f,owner:b}=a;d1(a,b,I,()=>{f(e,c,d)},I)}function dq(a,c,d,e){const{callHook:f,owner:b}=a;d1(a,b,I,()=>{f(d,c,[e])},I)}const dr=new Map;function ds(a){return dr.get(a)}function dt(a){a.tro.reset();const c=function(a){const{def:{render:f},callHook:g,component:h,owner:c}=a,i=dm;let d,e=!1;return d1(a,c,()=>{dm=a},()=>{a.tro.observe(()=>{d=g(h,f),e=!0})},()=>{dm=i}),e?function(a,d){const e=dl,f=dm;let c=[];return d1(a,a.owner,()=>{dm=a,dh(1,a)},()=>{const{component:f,context:g,cmpSlots:h,cmpTemplate:i,tro:e}=a;e.observe(()=>{var e;if(d!==i){if(null!==i&&d_(a),e=d,!ae.has(e))throw new TypeError(`Invalid template returned by the render() method on ${a}. It must return an imported template (e.g.: \`import html from "./${a.def.name}.html"\`), instead, it has returned: ${aR(d)}.`);a.cmpTemplate=d,g.tplCache=b(null),g.hasScopedStyles=function(c){const{stylesheets:a}=c;if(!aL(a)){for(let b=0;b<a.length;b++)if(aM(a[b][aW]))return!0}return!1}(d),function(h,i){const{elm:c,context:a,renderMode:j,shadowMode:k}=h,{stylesheets:e,stylesheetToken:l}=i,{hasScopedStyles:m}=a;let b,f,g;const{stylesheetToken:d,hasTokenInClass:n,hasTokenInAttribute:o}=a;!aL(d)&&(n&&R(c).remove(dc(d)),o&&bk(c,dc(d))),aL(e)||0===e.length||(b=l),aL(b)||(m&&(R(c).add(dc(b)),f=!0),1!==j||1!==k||(bj(c,dc(b),""),g=!0)),a.stylesheetToken=b,a.hasTokenInClass=f,a.hasTokenInAttribute=g}(a,d);const j=function(c,d){const{stylesheets:a,stylesheetToken:e}=d;let b=[];return aL(a)||0===a.length||(b=dd(a,e,c)),b}(a,d);g.styleVNode=0===j.length?null:function(d,a){var e;const{renderMode:g,shadowMode:h}=d;if(1===g&&1===h)for(let c=0;c<a.length;c++)bA(a[c]);else if(M||Q()){const i=ay.call(a,"\n");return e=i,db.h("style",{key:"style",attrs:{type:"text/css"}},[db.t(e)])}else{const f=function(b){const a=de(b);return null!==a&&1===a.shadowMode?null:a}(d),j=null===f;for(let b=0;b<a.length;b++)j?bA(a[b]):bB(a[b],f.shadowRoot)}return null}(a,j)}a.velements=[],dl=!0,c=d.call(void 0,db,f,h,g.tplCache);const{styleVNode:k}=g;null!==k&&aF.call(c,k)})},()=>{dl=e,dm=f,di(1,a)}),c}(a,d):[]}(a);return a.isDirty=!1,a.isScheduled=!1,c}function du(a){a.isDirty=!0}const dv=new WeakMap;function dw(c,b){if(!H(b))throw new TypeError;let a=dv.get(b);return aL(a)&&(a=function(a){dq(c,b,void 0,a)},dv.set(b,a)),a}const dx=b(null),dy=["rendered","connected","disconnected"];function dz(c,b){const{component:d,def:e,context:f}=c;for(let a=0,g=b.length;a<g;++a)b[a].call(void 0,d,{},e,f)}let dA=0;const dB=new WeakMap;function dC(a,b,c=[]){return b.apply(a,c)}function dD(a,b,c){a[b]=c}function dE(a,b){return a[b]}function dF(a){dQ(a)}function dG(b){const a=dO(b);dj(7,a),1===a.state&&dH(b),dV(a),dQ(a),dk(7,a)}function dH(a){const b=dO(a);dJ(b)}function dI(a){dQ(a)}function dJ(a){const{state:c}=a;if(2!==c){const{oar:b,tro:d}=a;for(const e in d.reset(),b)b[e].reset();dX(a),dY(a),dZ(a)}}function dK(a){dJ(a)}function dL(e,f,g){var h;const{mode:i,owner:j,tagName:k}=g,c=cv(f),a={elm:e,def:c,idx:dA++,state:0,isScheduled:!1,isDirty:!0,tagName:k,mode:i,owner:j,children:a3,aChildren:a3,velements:a3,cmpProps:b(null),cmpFields:b(null),cmpSlots:b(null),oar:b(null),cmpTemplate:null,renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:d,wiredConnecting:a3,wiredDisconnecting:a3},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:dC,setHook:dD,getHook:dE};return a.shadowMode=dM(a),a.tro=(h=a,new X(()=>{const{isDirty:a}=h;aN(a)&&(du(h),d0(h))})),!function(a,c){const d=dn;let b;dh(0,a),dn=a;try{const e=new c;if(dn.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(f){b=Object(f)}finally{if(di(0,a),dn=d,!aL(b))throw bH(a,b),b}}(a,c.ctor),dW(a)&&d9(a),a}function dM(b){const{def:c}=b;let a;if(O)if(0===c.renderMode)a=0;else if(N)if(a1.ENABLE_MIXED_SHADOW_MODE)if("any"===c.shadowSupportMode)a=0;else{const d=function(b){let a=b.owner;for(;null!==a&&0===a.renderMode;)a=a.owner;return a}(b);a=null===d||0!==d.shadowMode?1:0}else a=1;else a=1;else a=0;return a}function dN(a,b){dB.set(a,b)}function dO(a){const b=dB.get(a);return b}function dP(a){const b=dB.get(a);return b}function dQ(a){if(aM(a.isDirty)){const b=dt(a);dR(a,b)}}function dR(a,b){const{renderRoot:d,children:c}=a;a.children=b,(b.length>0||c.length>0)&&c!==b&&d1(a,a,()=>{dh(2,a)},()=>{cE(c,b,d)},()=>{di(2,a)}),1===a.state&&dS(a)}function dS(a){const{def:{renderedCallback:b}}=a;if(aM(M))return;const{rendered:c}=dx;c&&dz(a,c),aL(b)||(dh(4,a),dp(a,b),di(4,a))}let dT=[];function dU(){dj(8);const b=dT.sort((a,b)=>a.idx-b.idx);dT=[];for(let a=0,c=b.length;a<c;a+=1){const d=b[a];try{dQ(d)}catch(e){throw a+1<c&&(0===dT.length&&a5(dU),aF.apply(dT,aD.call(b,a+1))),dk(8),e}}dk(8)}function dV(a){const{state:d}=a;if(1===d)return;a.state=1;const{connected:b}=dx;b&&dz(a,b),dW(a)&&ea(a);const{connectedCallback:c}=a.def;aL(c)||(dh(3,a),dp(a,c),di(3,a))}function dW(a){return E(a.def.wire).length>0}function dX(a){aN(a.isDirty)&&(a.isDirty=!0),a.state=2;const{disconnected:b}=dx;b&&dz(a,b),dW(a)&&eb(a);const{disconnectedCallback:c}=a.def;aL(c)||(dh(5,a),dp(a,c),di(5,a))}function dY(e){const{velements:b}=e;for(let a=b.length-1;a>=0;a-=1){const{elm:c}=b[a];if(!aL(c)){const d=dP(c);aL(d)||dJ(d)}}}function dZ(a){const{aChildren:b}=a;d$(b)}function d$(c){for(let b=0,d=c.length;b<d;b+=1){const a=c[b];if(null!==a&&!aL(a.elm))switch(a.type){case 2:d$(a.children);break;case 3:{const e=dO(a.elm);dJ(e);break}}}}function d_(a){const{children:d,renderRoot:e}=a;for(let b=0,f=d.length;b<f;b++){const c=d[b];null===c||aL(c.elm)||a9(c.elm,e)}a.children=a3,dY(a),a.velements=a3}function d0(a){aM(M)||aM(a.isScheduled)||(a.isScheduled=!0,0===dT.length&&a5(dU),aA.call(dT,a))}function d1(b,d,e,f,g){let a;e();try{f()}catch(h){a=Object(h)}finally{if(g(),!aL(a)){bH(b,a);const c=null===d?void 0:function(b){let a=b;for(;null!==a;){if(!aL(a.def.errorCallback))return a;a=a.owner}}(d);if(aL(c))throw a;d_(b),dh(6,b);const i=c.def.errorCallback;dp(c,i,[a,a.wcStack]),di(6,b)}}}const d2=new Map;class d3 extends CustomEvent{constructor(a,{setNewContext:b,setDisconnectedCallback:c}){super(a,{bubbles:!0,composed:!0}),s(this,{setNewContext:{value:b},setDisconnectedCallback:{value:c}})}}function d4(a,e,b){var f,g;const{method:c,adapter:h,configCallback:i,dynamic:j}=b,d=aL(c)?function(a,b){const{cmpFields:c}=a;return d=>{d!==a.cmpFields[b]&&(c[b]=d,bE(a,b))}}(a,e):(f=a,g=c,a=>{d1(f,f.owner,I,()=>{g.call(f.component,a)},I)});let m,k;t(d,"$$DeprecatedWiredElementHostKey$$",{value:a.elm}),t(d,"$$DeprecatedWiredParamsMetaKey$$",{value:j}),d1(a,a,I,()=>{k=new h(d)},I);const{computeConfigAndUpdate:l,ro:n}=function(c,d,e){let f=!1;const a=new X(()=>{!1===f&&(f=!0,Promise.resolve().then(()=>{f=!1,a.reset(),b()}))}),b=()=>{let b;a.observe(()=>b=d(c)),e(b)};return{computeConfigAndUpdate:b,ro:a}}(a.component,i,b=>{d1(a,a,I,()=>{k.update(b,m)},I)});return aL(h.contextSchema)||function(a,b,f){const{adapter:c}=b,d=d6(c);if(aL(d))return;const{elm:g,context:{wiredConnecting:e,wiredDisconnecting:h}}=a;aA.call(e,()=>{const a=new d3(d,{setNewContext(a){f(a)},setDisconnectedCallback(a){aA.call(h,a)}});bn(g,a)})}(a,b,b=>{m!==b&&(m=b,1===a.state&&l())}),{connector:k,computeConfigAndUpdate:l,resetConfigWatcher:()=>n.reset()}}const d5=new Map;function d6(a){return d5.get(a)}function d7(b,a,c,d){a.adapter&&(a=a.adapter);const e=b.value;d2.set(b,{adapter:a,method:e,configCallback:c,dynamic:d})}function d8(b,a,c,d){a.adapter&&(a=a.adapter),d2.set(b,{adapter:a,configCallback:c,dynamic:d})}function d9(b){const{context:c,def:{wire:d}}=b,f=c.wiredConnecting=[],g=c.wiredDisconnecting=[];for(const e in d){const h=d[e],a=d2.get(h);if(!aL(a)){const{connector:i,computeConfigAndUpdate:j,resetConfigWatcher:k}=d4(b,e,a),l=a.dynamic.length>0;aA.call(f,()=>{if(i.connect(),!a1.ENABLE_WIRE_SYNC_EMIT&&l){Promise.resolve().then(j);return}j()}),aA.call(g,()=>{i.disconnect(),k()})}}}function ea(c){const{wiredConnecting:b}=c.context;for(let a=0,d=b.length;a<d;a+=1)b[a]()}function eb(a){const{wiredDisconnecting:b}=a.context;d1(a,a,I,()=>{for(let a=0,c=b.length;a<c;a+=1)b[a]()},I)}let ec=!1;function ed(a){const b=dt(a);a.children=b;const c=a.renderRoot;ej(bw(c),b,c),dS(a)}function ee(c,a){let b;switch(a.type){case 0:b=ef(c,a);break;case 1:b=eg(c,a);break;case 2:b=eh(c,a);break;case 3:b=ei(c,a);break}return bd(b)}function ef(a,b){var c;return em(b,a,3)?(bh(a,null!==(c=b.text)&& void 0!==c?c:null),b.elm=a,a):ek(a,b)}function eg(a,b){var c;return em(b,a,8)?(bg(a,"nodeValue",null!==(c=b.text)&& void 0!==c?c:null),b.elm=a,a):ek(a,b)}function eh(b,a){if(!em(a,b,1)||!en(a,b))return ek(b,a);a.elm=b;const{context:d}=a.data,e=Boolean(!aL(d)&&!aL(d.lwc)&&"manual"===d.lwc.dom);if(e){const{props:c}=a.data;aL(c)||aL(c.innerHTML)||bf(b,"innerHTML")===c.innerHTML&&(a.data=Object.assign(Object.assign({},a.data),{props:function(b,d){const c={};for(const a of Object.keys(b))a!==d&&(c[a]=b[a]);return c}(c,"innerHTML")}))}return el(a),e||ej(bw(b),a.children,b,a.owner),b}function ei(b,a){if(!em(a,b,1)||!en(a,b))return ek(b,a);const{sel:d,mode:e,ctor:f,owner:g}=a,c=dL(b,f,{mode:e,owner:g,tagName:d});return a.elm=b,a.vm=c,c$(a,c),el(a),dV(c),0!==c.renderMode&&ej(bw(b),a.children,b),ed(c),b}function ej(g,e,f,i){let a=g,c=null;for(let d=0;d<e.length;d++){const b=e[d];null!==b&&(a?(a=ee(a,b),c=b.elm):(ec=!0,cG(b,f,c),c=b.elm))}if(a){ec=!0;do{const h=a;a=bd(a),cX(h,f)}while(a)}}function ek(a,b,d){ec=!0;const c=bf(a,"parentNode");return cG(b,c,a),cX(a,c),b.elm}function el(a){cD(a),cA(null,a)}function em(c,a,b){return bf(a,"nodeType")===b}function en(a,b){if(a.sel.toLowerCase()!==bf(b,"tagName").toLowerCase())return!1;const c=eo(a,b),d=ep(a,b),e=eq(a,b);return c&&d&&e}function eo(b,c){const{data:{attrs:d={}}}=b;let a=!0;for(const[e,f]of Object.entries(d)){const g=bi(c,e);String(f)!==g&&(a=!1)}return a}function ep(h,c){const{data:{className:d,classMap:b}}=h;let a=!0;if(aL(d)||String(d)===bf(c,"className")){if(!aL(b)){const e=R(c);let f="";for(const g in b)f+=" "+g,e.contains(g)||(a=!1);f.trim(),e.length>u(b).length&&(a=!1)}}else a=!1;return a}function eq(l,m){const{data:{style:e,styleDecls:b}}=l,f=bi(m,"style")||"";let a=!0;if(aL(e)||e===f){if(!aL(b)){const g=function(e){const a={},f=e.split(a6);for(const b of f)if(b){const[c,d]=b.split(a7);void 0!==c&& void 0!==d&&(a[c.trim()]=d.trim())}return a}(f),h=[];for(let c=0,n=b.length;c<n;c++){const[i,j,k]=b[c];h.push(`${i}: ${j+(k?" important!":"")}`);const d=g[i];aL(d)?a=!1:d.startsWith(j)?k&&!d.endsWith("!important")&&(a=!1):a=!1}u(g).length>b.length&&(a=!1),ay.call(h,";")}}else a=!1;return a}let er=!1;const es=b(null),et=document.head||document.body||document,al=H(CSSStyleSheet.prototype.replaceSync)&&G(document.adoptedStyleSheets),eu=al&&D(document.adoptedStyleSheets,"length").writable,ev=b(null),ew=b(null),ex=new WeakMap;let o,p,q;if(function(){if("undefined"==typeof customElements)return!1;try{const b=HTMLElement;class a extends b{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),a),new a,!0}catch(c){return!1}}())o=customElements.get.bind(customElements),p=customElements.define.bind(customElements),q=HTMLElement;else{const ey=b(null),ez=new WeakMap;p=function(a,b){if(a!==aK.call(a)||ey[a])throw new TypeError("Invalid Registration");ey[a]=b,ez.set(b,a)},o=function(a){return ey[a]},(q=function d(){if(!(this instanceof d))throw new TypeError("Invalid Invocation");const{constructor:a}=this,b=ez.get(a);if(!b)throw new TypeError("Invalid Construction");const c=document.createElement(b);return au(c,a.prototype),c}).prototype=HTMLElement.prototype}let eA=!1;function am(){return eA}const an=f.$isNativeShadowRootDefined$,ao=F.call(Element.prototype,"$shadowToken$"),ap=q;function eB(a,b,c){const d=dL(a,b,{mode:"open",owner:null,tagName:a.tagName.toLowerCase()});for(const[e,f]of Object.entries(c))a[e]=f;return d}function aq(a,b,c={}){if(!(a instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${a}.`);if(!H(b))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${b}.`);if(!aO(c)||null===c)throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${c}.`);if(dP(a)){console.warn('"hydrateComponent" expects an element that is not hydrated.',a);return}try{eA=!0;const d=eB(a,b,c);!function(a){if(ec=!1,dV(a),ed(a),ec){var b,c;b="Hydration completed with errors.",c=a,function(b,d,c){let a=`[LWC ${b}]: ${d}`;aL(c)||(a=`${a}
2
- ${function(a){var b;const c=[];let d="";for(;b=a.owner,null!==b;)aA.call(c,d+bG(a)),a=a.owner,d+=" ";return ay.call(c,"\n")}(c)}`);try{throw new Error(a)}catch(e){console[b](e)}}("error",b,c)}}(d),eA=!1}catch(e){console.error("Recovering from error while hydrating: ",e),function(a,c){if(a.shadowRoot){const b=a.shadowRoot;for(;null!==b.firstChild;)b.removeChild(b.firstChild)}if("light"===c.renderMode)for(;null!==a.firstChild;)a.removeChild(a.firstChild)}(a,b),eB(a,b,c),eA=!1,dG(a)}finally{eA=!1}}!function(a){be=a}(function(a,b){return eA?a.shadowRoot:a.attachShadow(b)}),function(a){bc=a}(function(a){return document.createComment(a)}),function(a){ba=a}(function(a,b){return aL(b)?document.createElement(a):document.createElementNS(b,a)}),function(a){bb=a}(function(a){return document.createTextNode(a)}),T=p,function(a){bn=a}(function(a,b){return a.dispatchEvent(b)}),function(a){bi=a}(function(a,b,c){return aL(c)?a.getAttribute(b):a.getAttributeNS(c,b)}),function(a){bp=a}(function(a){return a.getBoundingClientRect()}),function(a){bv=a}(function(a){return a.childNodes}),function(a){bu=a}(function(a){return a.children}),function(a){R=a}(function(a){return a.classList}),U=o,function(a){bt=a}(function(a,b){return a.getElementsByClassName(b)}),function(a){bs=a}(function(a,b){return a.getElementsByTagName(b)}),function(a){bw=a}(function(a){return a.firstChild}),function(a){bx=a}(function(a){return a.firstElementChild}),function(a){by=a}(function(a){return a.lastChild}),function(a){bz=a}(function(a){return a.lastElementChild}),function(a){bf=a}(function(a,b){return a[b]}),P=ap,function(a){a8=a}(function(a,b,c){b.insertBefore(a,c)}),function(a){bA=a}(function(a){if(!aL(es[a]))return;es[a]=!0;const b=document.createElement("style");b.type="text/css",b.textContent=a,et.appendChild(b)}),function(a){bB=a}(function(a,c){al?function(b,d){let a=ew[b];aL(a)&&((a=new CSSStyleSheet).replaceSync(b),ew[b]=a);const{adoptedStyleSheets:c}=d;c.includes(a)||(eu?c.push(a):d.adoptedStyleSheets=[...c,a])}(a,c):function(c,e){let d=ex.get(e);if(aL(d)&&(d=b(null),ex.set(e,d)),d[c])return;d[c]=!0;let a=ev[c];aL(a)?((a=document.createElement("style")).type="text/css",a.textContent=c,ev[c]=a):a=a.cloneNode(!0),e.appendChild(a)}(a,c)}),function(a){S=a}(function(a){return a.isConnected}),Q=am,N=an,O=ao,function(a){bd=a}(function(a){return a.nextSibling}),function(a){bq=a}(function(a,b){return a.querySelector(b)}),function(a){br=a}(function(a,b){return a.querySelectorAll(b)}),function(a){a9=a}(function(a,b){b.removeChild(a)}),function(a){bk=a}(function(a,b,c){aL(c)?a.removeAttribute(b):a.removeAttributeNS(c,b)}),function(a){bm=a}(function(a,b,c,d){a.removeEventListener(b,c,d)}),function(a){bj=a}(function(a,b,c,d){return aL(d)?a.setAttribute(b,c):a.setAttributeNS(d,b,c)}),function(a){bo=a}(function(a,b,c,d){a.style.setProperty(b,c,d?"important":"")}),function(a){bg=a}(function(a,b,c){a[b]=c}),function(a){bh=a}(function(a,b){a.nodeValue=b}),M=!1,function(a){bl=a}(function(a,b,c,d){a.addEventListener(b,c,d)});const eC=new WeakSet,C=Node,eD=new WeakMap,eE=new WeakMap;function eF(a,c){const b=c.get(a);return aL(b)||b(a),a}const{appendChild:eG,insertBefore:eH,removeChild:eI,replaceChild:eJ}=C.prototype;r(C.prototype,{appendChild(a){const b=eG.call(this,a);return eF(b,eD)},insertBefore(a,b){const c=eH.call(this,a,b);return eF(c,eD)},removeChild(a){const b=eI.call(this,a);return eF(b,eE)},replaceChild(a,c){const b=eJ.call(this,a,c);return eF(b,eE),eF(a,eD),b}});const eK=Node,eL=new Map;t(c,"CustomElementConstructor",{get(){return function(a){if(a===c)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let b=eL.get(a);return aL(b)&&(b=function(a){const b=function(a){const b=cv(a);return b.bridge}(a);return class extends b{constructor(){super(),this.isConnected?(aq(this,a,{}),eC.add(this)):dL(this,a,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){eC.has(this)?eC.delete(this):dG(this)}disconnectedCallback(){dH(this)}}}(a),eL.set(a,b)),b}(this)}}),h(c),e(c.prototype),a.LightningElement=c,a.__unstable__ProfilerControl=ak,a.api=function(){throw new Error},a.buildCustomElementConstructor=function(a){return a.CustomElementConstructor},a.createContextProvider=function(b){var c,d;let a=d6(b);if(!aL(a))throw new Error("Adapter already has a context provider.");a=function(){function a(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}(),c=b,d=a,d5.set(c,d);const e=new WeakSet;return(b,c)=>{if(e.has(b))throw new Error(`Adapter was already installed on ${b}.`);e.add(b);const{consumerConnectedCallback:d,consumerDisconnectedCallback:f}=c;b.addEventListener(a,a=>{const{setNewContext:e,setDisconnectedCallback:b}=a,c={provide(a){e(a)}};b(()=>{aL(f)||f(c)}),d(c),a.stopImmediatePropagation()})}},a.createElement=function(b,a){if(!aO(a)||null===a)throw new TypeError(`"createElement" function expects an object as second parameter but received "${aR(a)}".`);const c=a.is;if(!H(c))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const d=cx(b);let e=!1;const f=new d(d=>{dL(d,c,{tagName:b,mode:"closed"!==a.mode?"open":"closed",owner:null}),eD.set(d,dG),eE.set(d,dH),e=!0});return e||console.error(`Unexpected tag name "${b}". This name is a registered custom element, preventing LWC to upgrade the element.`),f},a.getComponentConstructor=function(a){let b=null;if(a instanceof HTMLElement){const c=dP(a);aL(c)||(b=c.def.ctor)}return b},a.getComponentDef=function(f){const g=cv(f),{ctor:h,name:i,props:j,propsConfig:k,methods:b}=g,c={};for(const a in j)c[a]={config:k[a]||0,type:"any",attr:aZ(a)};const d={};for(const e in b)d[e]=b[e].value;return{ctor:h,name:i,props:c,methods:d}},a.hydrateComponent=aq,a.isComponentConstructor=ah,a.isNodeFromTemplate=function(a){if(aN(a instanceof eK))return!1;if(a instanceof ShadowRoot)return!1;const b=a.getRootNode();return!!(b instanceof ShadowRoot&&aN(F.call(as(b),"synthetic")))||ao&&!aL(a[aV])},a.readonly=function(a){return cd.getReadOnlyProxy(a)},a.register=function(d){for(let b=0;b<dy.length;++b){const a=dy[b];if(a in d){let c=dx[a];aL(c)&&(dx[a]=c=[]),aA.call(c,d[a])}}},a.registerComponent=function(a,{tmpl:b}){return H(a)&&dr.set(a,b),a},a.registerDecorators=function(i,B){var n,o;const d=i.prototype,{publicProps:f,publicMethods:p,wire:j,track:h,fields:k}=B,C=b(null),q=b(null),r=b(null),s=b(null),u=b(null),w=b(null);let a;if(!aL(f))for(const c in f){const x=f[c];if(w[c]=x.config,a=D(d,c),x.config>0){if(aL(a))throw new Error;a=ck(c,a)}else a=aL(a)||aL(a.get)?ci(c):ck(c,a);q[c]=a,t(d,c,a)}if(aL(p)||v.call(p,b=>{if(aL(a=D(d,b)))throw new Error;C[b]=a}),!aL(j))for(const e in j){const{adapter:y,method:E,config:z,dynamic:A=[]}=j[e];if(a=D(d,e),1===E){if(aL(a))throw new Error;r[e]=a,d7(a,y,z,A)}else a=cm(e),s[e]=a,d8(a,y,z,A),t(d,e,a)}if(!aL(h))for(const l in h)a=D(d,l),a=cl(l),t(d,l,a);if(!aL(k))for(let m=0,F=k.length;m<F;m++){const g=k[m];a=D(d,g);const G=!aL(f)&&g in f,H=!aL(h)&&g in h;G||H||(u[g]=ch(g))}return n=i,o={apiMethods:C,apiFields:q,apiFieldsConfig:w,wiredMethods:r,wiredFields:s,observedFields:u},cn.set(n,o),i},a.registerTemplate=function(a){return ae.add(a),a},a.sanitizeAttribute=af,a.setFeatureFlag=function(a,b){if("boolean"!=typeof b){const d=`Failed to set the value "${b}" for the runtime feature flag "${a}". Runtime feature flags can only be set to a boolean value.`;console.error(d);return}if(aL(a0[a])){const e=u(a0).map(a=>`"${a}"`).join(", ");console.warn(`Failed to set the value "${b}" for the runtime feature flag "${a}" because it is undefined. Available flags: ${e}.`);return}{const c=a1[a];if(!aL(c)){console.error(`Failed to set the value "${b}" for the runtime feature flag "${a}". "${a}" has already been set with the value "${c}".`);return}t(a1,a,{value:b})}},a.setFeatureFlagForTest=function(a,b){},a.setHooks=function(a){ar.isFalse(er,"Hooks are already overridden, only one definition is allowed."),er=!0,da=a.sanitizeHtmlContent},a.swapComponent=function(a,b){if(!a1.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.swapStyle=function(a,b){if(!a1.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.swapTemplate=function(a,b){if(!a1.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.track=function(a){if(1===arguments.length)return cd.getProxy(a);throw new Error},a.unwrap=function(a){return cd.unwrapProxy(a)},a.wire=function(a,b){throw new Error},Object.defineProperty(a,"__esModule",{value:!0})})
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:o,defineProperties:r,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:C,map:E,pop:M,push:k,reduce:T,reverse:S,shift:x,slice:O,sort:N,splice:A,unshift:P,forEach:$}=Array.prototype,{fromCharCode:_}=String,{charCodeAt:R,replace:L,slice:D,toLowerCase:H}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function V(e){return"object"==typeof e}function K(e){return"string"==typeof e}function G(){}const z={}.toString;function U(e){return e&&e.toString?m(e)?C.call(E.call(e,U),","):e.toString():"object"==typeof e?z.call(e):e+""}function q(e,t){do{const n=l(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const X=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Y,AriaPropNameToAttrNameMap:J}=(()=>{const e=o(null),t=o(null);return $.call(X,(n=>{const o=H.call(L.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Q=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}(),Z=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"]]),ee=new Map;function te(e){const t=J[e];if(!I(t))return t;const n=Z.get(e);if(!I(n))return n;const o=ee.get(e);if(!I(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);r+=n>=65&&n<=90?"-"+_(n+32):_(n)}return ee.set(e,r),r}const ne="http://www.w3.org/2000/svg";function oe(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const re=new WeakMap;function ie(e){let t=re.get(e);return void 0===t&&(t={},re.set(e,t)),t}function se(e,t){return{get(){const n=ie(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const o=null==(r=n)?null:String(r);var r;ie(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function le(e){const t=se(e,J[e]);Object.defineProperty(Element.prototype,e,t)}const ce=f(J);for(let e=0,t=ce.length;e<t;e+=1){const t=ce[e];oe(t)&&le(t)}const ae={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:o(null)});const ue=Q.lwcRuntimeFlags;let de=[];const fe=h(o(null)),he=h([]);function pe(){const e=de;de=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function me(e){0===de.length&&Promise.resolve().then(pe),k.call(de,e)}const ge=/;(?![^(]*\))/g,we=/:(.+)/;function ye(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let be,ve,Ce,Ee,Me,ke,Te,Se,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,We,je,Be,Ve,Ke,Ge,ze,Ue,qe,Xe,Ye,Je,Qe,Ze,et,tt;const nt=new WeakMap;let ot=null;function rt(e,t){const n=nt.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function it(e,t){if(null===ot)return;const n=ot,r=function(e){let t=nt.get(e);if(I(t)){const n=o(null);t=n,nt.set(e,n)}return t}(e);let i=r[t];if(I(i))i=[],r[t]=i;else if(i[0]===n)return;-1===v.call(i,n)&&n.link(i)}class st{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ot;let n;ot=this;try{e()}catch(e){n=Object(e)}finally{if(ot=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],o=v.call(e[n],this);A.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function lt(e,t){rt(e.component,t)}function ct(e,t){it(e.component,t)}function at(e){return`<${H.call(e.tagName)}>`}function ut(e,t){if(!d(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)k.call(t,at(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function dt(e,t,n){let o=`[LWC ${e}]: ${t}`;I(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!F(e.owner);)k.call(t,n+at(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}function ft(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ht(e){return B(e)&&u.call(e,"__circular__")}const pt="undefined"!=typeof HTMLElement?HTMLElement:function(){},mt=pt.prototype;function gt(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(o(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:gt("offsetHeight")},offsetLeft:{readOnly:!0,error:gt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:gt("offsetTop")},offsetWidth:{readOnly:!0,error:gt("offsetWidth")},role:{attribute:"role"}});let wt,yt=null;function bt(e,t){return e!==yt||t!==wt}function vt(e,t){yt=null,wt=void 0}function Ct(e,t){yt=e,wt=t}const Et=o(null);$.call(f(J),(e=>{const t=q(mt,e);I(t)||(Et[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(mt,e);I(t)||(Et[e]=t)}));const{isArray:Mt}=Array,{prototype:kt,getPrototypeOf:Tt,create:St,defineProperty:xt,isExtensible:Ot,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:At,getOwnPropertySymbols:Pt,preventExtensions:$t,hasOwnProperty:_t}=Object,{push:Rt,concat:Lt}=Array.prototype;function Dt(e){return void 0===e}function Ht(e){return"function"==typeof e}const It=new WeakMap;function Ft(e,t){It.set(e,t)}const Wt=e=>It.get(e)||e;class jt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(_t.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Dt(n)||(e.get=this.wrapGetter(n)),Dt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=Nt(n,t);if(!Dt(o)){const n=this.wrapDescriptor(o);xt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Lt.call(At(t),Pt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Dt(n)||_t.call(e,n)||xt(e,n,St(null)),$t(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:o}}=this,r=n[t];return o(n,t),this.wrapValue(r)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:o,valueObserved:r}}=this;return r(n,t),t in n||t===o}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,o=Dt(n)||_t.call(t,n)?[]:[n];return Rt.apply(o,At(t)),Rt.apply(o,Pt(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Ot(e)&&(!!Ot(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=Nt(n,t);if(Dt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},xt(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Bt=new WeakMap,Vt=new WeakMap,Kt=new WeakMap,Gt=new WeakMap;class zt extends jt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Bt.get(e);if(!Dt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Wt(this)))};return Bt.set(e,o),Kt.set(o,e),o}wrapSetter(e){const t=Vt.get(e);if(!Dt(t))return t;const n=function(t){e.call(Wt(this),Wt(t))};return Vt.set(e,n),Gt.set(n,e),n}unwrapDescriptor(e){if(_t.call(e,"value"))e.value=Wt(e.value);else{const{set:t,get:n}=e;Dt(n)||(e.get=this.unwrapGetter(n)),Dt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Kt.get(e);if(!Dt(t))return t;const n=this,o=function(){return Wt(e.call(n.wrapValue(this)))};return Bt.set(o,e),Kt.set(e,o),o}unwrapSetter(e){const t=Gt.get(e);if(!Dt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Vt.set(o,e),Gt.set(e,o),o}set(e,t,n){const{originalTarget:o,membrane:{valueMutated:r}}=this;return o[t]!==n?(o[t]=n,r(o,t)):"length"===t&&Mt(o)&&r(o,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:o}}=this;return delete n[t],o(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Ot(e)){const{originalTarget:t}=this;if($t(t),Ot(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!_t.call(o,t)||(xt(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const Ut=new WeakMap,qt=new WeakMap;class Xt extends jt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Ut.get(e);if(!Dt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Wt(this)))};return Ut.set(e,o),o}wrapSetter(e){const t=qt.get(e);if(!Dt(t))return t;const n=function(e){};return qt.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(Mt(e))return!0;const t=Tt(e);return t===kt||null===t||null===Tt(t)}const Jt=(e,t)=>{},Qt=(e,t)=>{};function Zt(e){return Mt(e)?[]:{}}const en=Symbol.for("@@lockerLiveValue"),tn=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=Ht(t)?t:Qt,this.valueObserved=Ht(n)?n:Jt,this.valueIsObservable=Ht(o)?o:Yt,this.tagPropertyKey=r}getProxy(e){const t=Wt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Wt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Wt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Dt(t)){const n=new zt(this,e);t=new Proxy(Zt(e),n),Ft(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Dt(t)){const n=new Xt(this,e);t=new Proxy(Zt(e),n),Ft(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:it,valueMutated:rt,tagPropertyKey:en});function nn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=or(this);if(!_o(t))return ct(t,e),n.call(t.elm)},set(t){const n=or(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,lt(n,e)),o.call(n.elm,t)}}}const on=function(){if(F($o))throw new ReferenceError("Illegal constructor");const e=$o,{def:t,elm:n}=e,{bridge:o}=t,r=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:o}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=o}return this[en]=void 0,nr(r,e),nr(n,e),1===e.renderMode?e.renderRoot=rn(e):e.renderRoot=n,this};function rn(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Ne(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,nr(i,e),i}on.prototype={constructor:on,dispatchEvent(e){const{elm:t}=or(this);return Ie(t,e)},addEventListener(e,t,n){const o=or(this),{elm:r}=o,i=jo(o,t);De(r,e,i,n)},removeEventListener(e,t,n){const o=or(this),{elm:r}=o,i=jo(o,t);He(r,e,i,n)},hasAttribute(e){const{elm:t}=or(this);return!F(_e(t,e))},hasAttributeNS(e,t){const{elm:n}=or(this);return!F(_e(n,t,e))},removeAttribute(e){const{elm:t}=or(this);Ct(t,e),Le(t,e),vt()},removeAttributeNS(e,t){const{elm:n}=or(this);Ct(n,t),Le(n,t,e),vt()},getAttribute(e){const{elm:t}=or(this);return _e(t,e)},getAttributeNS(e,t){const{elm:n}=or(this);return _e(n,t,e)},setAttribute(e,t){const n=or(this),{elm:o}=n;Ct(o,e),Re(o,e,t),vt()},setAttributeNS(e,t,n){const o=or(this),{elm:r}=o;Ct(r,t),Re(r,t,n,e),vt()},getBoundingClientRect(){const e=or(this),{elm:t}=e;return je(t)},get isConnected(){const{elm:e}=or(this);return Qe(e)},get classList(){const e=or(this),{elm:t}=e;return Fe(t)},get template(){return or(this).shadowRoot},get shadowRoot(){return null},render(){return or(this).def.template},toString(){return`[object ${or(this).def.name}]`}};const sn=o(null),ln=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function cn(e){switch(e){case"children":return ze;case"childNodes":return Ue;case"firstChild":return qe;case"firstElementChild":return Xe;case"lastChild":return Ye;case"lastElementChild":return Je}}for(const e of ln)sn[e]={get(){const t=or(this),{elm:n}=t;return cn(e)(n)},configurable:!0,enumerable:!0};const an=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function un(e){switch(e){case"getElementsByClassName":return Ge;case"getElementsByTagName":return Ke;case"querySelector":return Be;case"querySelectorAll":return Ve}}for(const e of an)sn[e]={value(t){const n=or(this),{elm:o}=n;return un(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(on.prototype,sn);const dn=o(null);for(const e in Et)dn[e]=nn(e,Et[e]);function fn(e){return{get(){const t=or(this);return ct(t,e),t.cmpFields[e]},set(t){const n=or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,lt(n,e))},enumerable:!0,configurable:!0}}function hn(e){return{get(){const t=or(this);if(!_o(t))return ct(t,e),t.cmpProps[e]},set(t){const n=or(this);n.cmpProps[e]=t,lt(n,e)},enumerable:!0,configurable:!0}}r(on.prototype,dn),i(on,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class pn extends st{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,me((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,W(e.isDirty)&&j(o)&&i>0&&Yo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function mn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=or(this);if(o)if(ue.ENABLE_REACTIVE_SETTER){let r=n.oar[e];I(r)&&(r=n.oar[e]=new pn(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function gn(e){return{get(){const t=or(this);return ct(t,e),t.cmpFields[e]},set(t){const n=or(this),o=tn.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,lt(n,e))},enumerable:!0,configurable:!0}}function wn(e){return{get(){const t=or(this);return ct(t,e),t.cmpFields[e]},set(t){const n=or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,lt(n,e))},enumerable:!0,configurable:!0}}const yn=new Map;const bn={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const vn=new Set;function Cn(){return[]}vn.add(Cn);const En=o(null),Mn=o(null);function kn(e){let t=En[e];return I(t)&&(t=En[e]=function(){const t=or(this),{getHook:n}=t;return n(t.component,e)}),t}function Tn(e){let t=Mn[e];return I(t)&&(t=Mn[e]=function(t){const n=or(this),{setHook:o}=n;t=tn.getReadOnlyProxy(t),o(n.component,e,t)}),t}function Sn(e){return function(){const t=or(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,O.call(arguments))}}function xn(e,t){return function(n,o,r){if(o===r)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):bt(this,n)&&(this[i]=r)}}function On(e,t,n){let s;B(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=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[te(n)]=n,u[n]={get:kn(n),set:Tn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Sn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:xn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),r(s.prototype,u),s}const Nn=On(pt,c(Et),[]);s(Nn),h(Nn.prototype);const An=new WeakMap;function Pn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=yn.get(e);return I(t)?bn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ht(t)){const e=ft(t);t=e===t?on:e}return t}(e),E=C!==on?_n(C):Rn,M=On(E.bridge,f(l),f(u)),k=n(o(null),E.props,l),T=n(o(null),E.propsConfig,c),S=n(o(null),E.methods,u),x=n(o(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let O=E.shadowSupportMode;I(t)||(O=t);let N=E.renderMode;I(i)||(N="light"===i?0:1);const A=function(e){return Do.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:T,methods:S,bridge:M,template:A,renderMode:N,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function $n(e){if(!B(e))return!1;if(e.prototype instanceof on)return!0;let t=e;do{if(ht(t)){const e=ft(t);if(e===t)return!0;t=e}if(t===on)return!0}while(!F(t)&&(t=a(t)));return!1}function _n(e){let t=An.get(e);if(I(t)){if(ht(e)){return t=_n(ft(e)),An.set(e,t),t}if(!$n(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=Pn(e),An.set(e,t)}return t}const Rn={ctor:on,name:on.name,props:dn,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Nn,template:Cn,render:on.prototype.render};function Ln(e){e=e.toLowerCase();let t=tt(e);return I(t)?(t=class extends Ee{constructor(e){super(),B(e)&&e(this)}},et(e,t),t):t}function Dn(e){const{type:t}=e;return 2===t||3===t}function Hn(e,t){return e.key===t.key&&e.sel===t.sel}function In(e,t){return"input"===e&&("value"===t||"checked"===t)}function Fn(e,t){const{props:n}=t.data;if(I(n))return;const o=F(e)?fe:e.data.props;if(o===n)return;const r=F(e),{elm:i,sel:s}=t;for(const e in n){const t=n[e];(r||t!==(In(s,e)?Ae(i,e):o[e]))&&Pe(i,e,t)}}const Wn=o(null);function jn(e){if(null==e)return fe;e=K(e)?e:e+"";let t=Wn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===R.call(e,n)&&(n>r&&(t[D.call(e,r,n)]=!0),r=n+1);return n>r&&(t[D.call(e,r,n)]=!0),Wn[e]=t,t}function Bn(e){const{elm:t,data:{on:n}}=e;if(!I(n))for(const e in n){const o=n[e];De(t,e,o)}}function Vn(e,t,n){var o;o=t,ro.has(o)?function(e,t,n){let o=0,r=0,i=e.length-1,s=e[0],l=e[i];const c=t.length-1;let a,u,d,f,h=c,p=t[0],m=t[h],g=!1;for(;o<=i&&r<=h;)Xn(s)?Xn(l)?Xn(p)?Xn(m)?Hn(s,p)?(Kn(s,p),s=e[++o],p=t[++r]):Hn(l,m)?(Kn(l,m),l=e[--i],m=t[--h]):Hn(s,m)?(Kn(s,m),eo(s.elm,n,Oe(l.elm)),s=e[++o],m=t[--h]):Hn(l,p)?(Kn(l,p),eo(p.elm,n,s.elm),l=e[--i],p=t[++r]):(void 0===a&&(a=io(e,o,i)),u=a[p.key],I(u)?(Gn(p,n,s.elm),p=t[++r]):(d=e[u],Xn(d)&&(d.sel!==p.sel?Gn(p,n,s.elm):(Kn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,eo(d.elm,n,s.elm))),p=t[++r])):m=t[--h]:p=t[++r]:l=e[--i]:s=e[++o];if(o<=i||r<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!Xn(e)&&o<c);f=Xn(e)?e.elm:null,zn(t,n,f,r,h+1)}else qn(e,n,!0,o,i+1)}(e,t,n):function(e,t,n){const o=e.length,r=t.length;if(0===o)return void zn(t,n,null);if(0===r)return void qn(e,n,!0);let i=null;for(let o=r-1;o>=0;o-=1){const r=e[o],s=t[o];s!==r&&(Xn(r)?Xn(s)?(Kn(r,s),i=s.elm):Un(r,n,!0):Xn(s)&&(Gn(s,n,i),i=s.elm))}}(e,t,n)}function Kn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Zn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;no(e,t),Vn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,o=t.vm=e.vm;no(e,t),I(o)||oo(t,o);Vn(e.children,t.children,n),I(o)||Yo(o)}(e,t)}}function Gn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:o}=e,r=e.elm=Se(e.text);Qn(r,o),eo(r,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:o}=e,r=e.elm=xe(e.text);Qn(r,o),eo(r,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:o,owner:r,data:{svg:i}}=e,s=W(i)?ne:void 0,l=Te(o,s);Qn(l,r),function(e,t){const{owner:n}=t;if(Jn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;I(o)||I(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),I(r)||Yn(e,r)}}(l,e),e.elm=l,no(null,e),eo(l,t,n),zn(e.children,l,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:o,owner:r}=e,i=Ln(o);let s;const l=new i((t=>{s=function(e,t){let n=rr(e);if(!I(n))return n;const{sel:o,mode:r,ctor:i,owner:s}=t;if(Jn(e,s),1===s.shadowMode){const{stylesheetToken:t}=s.context;I(t)||Yn(e,t)}return n=er(e,i,{mode:r,owner:s,tagName:o}),n}(t,e)}));if(Qn(l,r),e.elm=l,e.vm=s,s)oo(e,s);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");no(null,e),eo(l,t,n),s&&ar(s);zn(e.children,l,null),s&&function(e){ir(e)}(s)}(e,t,n)}}function zn(e,t,n,o=0,r=e.length){for(;o<r;++o){const r=e[o];Xn(r)&&Gn(r,t,n)}}function Un(e,t,n=!1){const{type:o,elm:r,sel:i}=e;n&&to(r,t);const s="slot"===i;switch(o){case 2:qn(e.children,r,s);break;case 3:{const{vm:t}=e;I(t)||function(e){Zo(e)}(t)}}}function qn(e,t,n=!1,o=0,r=e.length){for(;o<r;++o){const r=e[o];Xn(r)&&Un(r,t,n)}}function Xn(e){return null!=e}function Yn(e,t){e.$shadowToken$=t}function Jn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!I(r)&&o.hasScopedStyles&&Fe(e).add(r)}function Qn(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;Ce&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function Zn(e){const{elm:t,text:n}=e;$e(t,n)}function eo(e,t,n){Me(e,t,n)}function to(e,t){ke(e,t)}function no(e,t){F(e)&&(Bn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(I(n))return;const o=Fe(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!I(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];We(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=F(e)?void 0:e.data.className;if(r===o)return;const i=Fe(n),s=jn(o),l=jn(r);let c;for(c in l)I(s[c])&&i.remove(c);for(c in s)I(l[c])&&i.add(c)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(F(e)?void 0:e.data.style)!==o&&(K(o)&&""!==o?Re(n,"style",o):Le(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(I(n))return;const o=F(e)?fe:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(Ct(r,e),58===R.call(e,3)?Re(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?Re(r,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?Le(r,e):Re(r,e,t),vt())}}(e,t),Fn(e,t)}function oo(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:r,shadowMode:i}=t;1!==i&&0!==r||(!function(e,t){var n;const{cmpSlots:r}=e,i=e.cmpSlots=o(null);for(let e=0,o=t.length;e<o;e+=1){const o=t[e];if(F(o))continue;let r="";Dn(o)&&(r=(null===(n=o.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[r]=i[r]||[];k.call(s,o)}if(j(e.isDirty)){const t=f(r);if(t.length!==f(i).length)return void Fo(e);for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(I(i[o])||r[o].length!==i[o].length)return void Fo(e);const s=r[o],l=i[o];for(let t=0,n=i[o].length;t<n;t+=1)if(s[t]!==l[t])return void Fo(e)}}}(t,n),e.aChildren=n,e.children=he)}const ro=new WeakMap;function io(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(Xn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}const so=Symbol.iterator;function lo(e,t,n=he){const o=No();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,owner:o}}function co(e,t,n,o=he){const r=No(),{key:i}=n;const s={type:3,sel:e,data:n,children:o,elm:undefined,key:i,ctor:t,owner:r,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(No().velements,e)}(s),s}const ao=new Map;let uo=0;function fo(e){var t;return t=e,ro.set(t,1),e}let ho=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const po=s({s:function(e,t,n,o){I(o)||I(o[e])||0===o[e].length||(n=o[e]);const r=No(),{renderMode:i,shadowMode:s}=r;return 0===i?(fo(n),n):(1===s&&fo(n),lo("slot",t,n))},h:lo,c:co,i:function(e,t){const n=[];if(fo(n),I(e)||null===e)return n;const o=e[so]();let r=o.next(),i=0,{value:s,done:l}=r;for(;!1===l;){r=o.next(),l=r.done;const e=t(s,i,0===i,!0===l);m(e)?k.apply(n,e):k.call(n,e),i+=1,s=r.value}return n},f:function(e){const t=e.length,n=[];fo(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?k.apply(n,t):k.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:No()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=No();if(F(t))throw new Error;const n=t;return function(t){Lo(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:undefined,owner:No()}},dc:function(e,t,n,o=he){if(null==t)return null;if(!$n(t))throw new Error(`Invalid LWC Constructor ${U(t)} for custom element <${e}>.`);let r=ao.get(t);return I(r)&&(r=uo++,ao.set(t,r)),co(e,t,Object.assign(Object.assign({},n),{key:`dc:${r}:${n.key}`}),o)},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},gid:function(e){const t=No();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?L.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=No();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ho(e)}});function mo(e){return`${e}-host`}function go(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))k.apply(o,go(s,t,n));else{const e=s.$scoped$,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:(I(r)&&(r=yo(n)),c=F(r)||0===r.shadowMode),k.call(o,s(i,l,c))}}return o}function wo(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return I(n)||0===n.length||(r=go(n,o,e)),r}function yo(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function bo(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Ze(t[e]);else{if(be||e.hydrated){const e=C.call(t,"\n");return r=e,po.h("style",{key:"style",attrs:{type:"text/css"}},[po.t(r)])}{const n=function(e){const t=yo(e);return F(t)||1!==t.shadowMode?t:null}(e),o=F(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)Ze(t[e],o)}}var r;return null}let vo=!1,Co=G;const Eo={enableProfiler(){vo=!0},disableProfiler(){vo=!1},attachDispatcher(e){Co=e,this.enableProfiler()},detachDispatcher(){const e=Co;return Co=G,this.disableProfiler(),e}};function Mo(e,t){vo&&Co(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ko(e,t){vo&&Co(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function To(e,t){vo&&Co(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 So(e,t){vo&&Co(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 xo=!1,Oo=null;function No(){return Oo}function Ao(e){Oo=e}function Po(e,t){const n=xo,r=Oo;let i=[];return pr(e,e.owner,(()=>{Oo=e,Mo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(F(l)||hr(e),c=t,!vn.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: ${U(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:s,stylesheetToken:l}=t,c=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;I(h)||(p&&Fe(n).remove(mo(h)),m&&Le(n,mo(h))),I(s)||0===s.length||(u=l),I(u)||(a&&(Fe(n).add(mo(u)),d=!0),c&&(Re(n,mo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=wo(e,t);r.styleVNode=0===n.length?null:bo(e,n)}var c;e.velements=[],xo=!0,i=t.call(void 0,po,n,s,r.tplCache);const{styleVNode:a}=r;F(a)||P.call(i,a)}))}),(()=>{xo=n,Oo=r,ko(1,e)})),i}let $o=null;function _o(e){return $o===e}function Ro(e,t,n){const{component:o,callHook:r,owner:i}=e;pr(e,i,G,(()=>{r(o,t,n)}),G)}function Lo(e,t,n,o){const{callHook:r,owner:i}=e;pr(e,i,G,(()=>{r(n,t,[o])}),G)}const Do=new Map;function Ho(e){return new st((()=>{const{isDirty:t}=e;j(t)&&(Fo(e),function(e){if(W(be)||W(e.isScheduled))return;e.isScheduled=!0,0===lr.length&&me(cr);k.call(lr,e)}(e))}))}function Io(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=No();let s,l=!1;return pr(e,r,(()=>{Ao(e)}),(()=>{e.tro.observe((()=>{s=n(o,t),l=!0}))}),(()=>{Ao(i)})),l?Po(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Fo(e){e.isDirty=!0}const Wo=new WeakMap;function jo(e,t){if(!B(t))throw new TypeError;let n=Wo.get(t);return I(n)&&(n=function(n){Lo(e,t,void 0,n)},Wo.set(t,n)),n}const Bo=o(null),Vo=["rendered","connected","disconnected"];function Ko(e,t){const{component:n,def:o,context:r}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},o,r)}let Go=0;const zo=new WeakMap;function Uo(e,t,n=[]){return t.apply(e,n)}function qo(e,t,n){e[t]=n}function Xo(e,t){return e[t]}function Yo(e){ir(e)}function Jo(e){const t=or(e);To(7,t),1===t.state&&Qo(e),ar(t),ir(t),So(7,t)}function Qo(e){Zo(or(e))}function Zo(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}=Bo;t&&Ko(e,t);ur(e)&&function(e){const{wiredDisconnecting:t}=e.context;pr(e,e,G,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),G)}(e);const{disconnectedCallback:n}=e.def;I(n)||(Mo(5,e),Ro(e,n),ko(5,e))}(e),dr(e),function(e){const{aChildren:t}=e;fr(t)}(e)}}function er(e,t,n){var r;const{mode:i,owner:s,tagName:l,hydrated:c}=n,a=_n(t),u={elm:e,def:a,idx:Go++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:he,aChildren:he,velements:he,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,shadowMode:tr(a,s),nearestShadowMode:(null==s?void 0:s.shadowRoot)?s.shadowMode:null!==(r=null==s?void 0:s.nearestShadowMode)&&void 0!==r?r:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:fe,wiredConnecting:he,wiredDisconnecting:he},tro:null,component:null,shadowRoot:null,renderRoot:null,callHook:Uo,setHook:qo,getHook:Xo};return u.tro=Ho(u),function(e,t){const n=$o;let o;Mo(0,e),$o=e;try{const r=new t;if($o.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(ko(0,e),$o=n,!I(o))throw ut(e,o),o}}(u,a.ctor),ur(u)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=mr.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=wr(e,t,s),c=s.dynamic.length>0;k.call(o,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),k.call(r,(()=>{n.disconnect(),l()}))}}}(u),u}function tr(e,t){var n;let o;return o=Ce?0===e.renderMode?0:ve&&ue.ENABLE_MIXED_SHADOW_MODE?"any"===e.shadowSupportMode?0:null!==(n=null==t?void 0:t.nearestShadowMode)&&void 0!==n?n:1:1:0,o}function nr(e,t){zo.set(e,t)}function or(e){return zo.get(e)}function rr(e){return zo.get(e)}function ir(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:o}=e;e.children=t,(t.length>0||o.length>0)&&o!==t&&pr(e,e,(()=>{Mo(2,e)}),(()=>{Vn(o,t,n)}),(()=>{ko(2,e)}));1===e.state&&sr(e)}(e,Io(e))}}function sr(e){const{def:{renderedCallback:t}}=e;if(W(be))return;const{rendered:n}=Bo;n&&Ko(e,n),I(t)||(Mo(4,e),Ro(e,t),ko(4,e))}let lr=[];function cr(){To(8);const e=lr.sort(((e,t)=>e.idx-t.idx));lr=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{ir(o)}catch(o){throw t+1<n&&(0===lr.length&&me(cr),P.apply(lr,O.call(e,t+1))),So(8),o}}So(8)}function ar(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Bo;n&&Ko(e,n),ur(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:o}=e.def;I(o)||(Mo(3,e),Ro(e,o),ko(3,e))}function ur(e){return c(e.def.wire).length>0}function dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!I(n)){const e=rr(n);I(e)||Zo(e)}}}function fr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:fr(n.children);break;case 3:Zo(or(n.elm));break}}}function hr(e){const{children:t,renderRoot:n}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||ke(o.elm,n)}e.children=he,dr(e),e.velements=he}function pr(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!I(i)){ut(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;hr(e),Mo(6,e);Ro(n,n.def.errorCallback,[i,i.wcStack]),ko(6,e)}}}const mr=new Map;class gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function wr(e,t,n){const{method:o,adapter:r,configCallback:s,dynamic:l}=n,c=I(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,lt(e,t))}}(e,t):function(e,t){return n=>{pr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,o);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),pr(e,e,G,(()=>{u=new r(c)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new st((()=>{!1===o&&(o=!0,Promise.resolve().then((()=>{o=!1,r.reset(),i()})))})),i=()=>{let o;r.observe((()=>o=t(e))),n(o)};return{computeConfigAndUpdate:i,ro:r}}(e.component,s,(t=>{pr(e,e,G,(()=>{u.update(t,a)}),G)}));return I(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=br(o);if(I(r))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l}}=e;k.call(s,(()=>{const e=new gr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});Ie(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const yr=new Map;function br(e){return yr.get(e)}function vr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};mr.set(e,r)}function Cr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};mr.set(e,r)}let Er=!1;function Mr(e){Er=!1,ar(e),kr(e),Er&&function(e,t){dt("error",e,t)}("Hydration completed with errors.",e)}function kr(e){const t=Io(e);e.children=t;const n=e.renderRoot;Sr(qe(n),t,n),sr(e)}function Tr(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!Nr(t,e,3))return xr(e,t);return $e(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!Nr(t,e,8))return xr(e,t);return Pe(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!Nr(t,e,1)||!Ar(t,e))return xr(e,t);t.elm=e;const{context:n}=t.data,o=Boolean(!I(n)&&!I(n.lwc)&&"manual"===n.lwc.dom);if(o){const{props:n}=t.data;I(n)||I(n.innerHTML)||Ae(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ye(n,"innerHTML")}))}Or(t),o||Sr(qe(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!Nr(t,e,1)||!Ar(t,e))return xr(e,t);const{sel:n,mode:o,ctor:r,owner:i}=t,s=er(e,r,{mode:o,owner:i,tagName:n,hydrated:!0});t.elm=e,t.vm=s,oo(t,s),Or(t),ar(s),0!==s.renderMode&&Sr(qe(e),t.children,e);return kr(s),e}(e,t)}return Oe(n)}function Sr(e,t,n,o){let r=e,i=null;for(let e=0;e<t.length;e++){const o=t[e];F(o)||(r?(r=Tr(r,o),i=o.elm):(Er=!0,Gn(o,n,i),i=o.elm))}if(r){Er=!0;do{const e=r;r=Oe(r),to(e,n)}while(r)}}function xr(e,t,n){Er=!0;const o=Ae(e,"parentNode");return Gn(t,o,e),to(e,o),t.elm}function Or(e){Bn(e),Fn(null,e)}function Nr(e,t,n){return Ae(t,"nodeType")===n}function Ar(e,t){if(e.sel.toLowerCase()!==Ae(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let o=!0;for(const[e,r]of Object.entries(n)){const n=_e(t,e);String(r)!==n&&(o=!1)}return o}(e,t),o=function(e,t){const{data:{className:n,classMap:o}}=e;let r=!0;if(I(n)||String(n)===Ae(t,"className")){if(!I(o)){const e=Fe(t);let n="";for(const t in o)n+=" "+t,e.contains(t)||(r=!1);n.trim(),e.length>f(o).length&&(r=!1)}}else r=!1;return r}(e,t),r=function(e,t){const{data:{style:n,styleDecls:o}}=e,r=_e(t,"style")||"";let i=!0;if(I(n)||n===r){if(!I(o)){const e=function(e){const t={},n=e.split(ge);for(const e of n)if(e){const[n,o]=e.split(we);void 0!==n&&void 0!==o&&(t[n.trim()]=o.trim())}return t}(r),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,l]=o[n];t.push(`${r}: ${s+(l?" important!":"")}`);const c=e[r];I(c)?i=!1:c.startsWith(s)?l&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>o.length&&(i=!1),C.call(t,";")}}else i=!1;return i}(e,t);return n&&o&&r}let Pr=!1;const $r=B(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),_r=$r&&l(document.adoptedStyleSheets,"length").writable,Rr=!I(document.documentMode),Lr=new Map;function Dr(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Hr(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}function Ir(e,t,n){const o=function(e,t){const{stylesheet:n,used:o}=t;return o?Rr?Dr(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!I(e.head)}(t)?t.head:t).appendChild(o)}function Fr(e,t,n){$r?function(e,t,n){const{adoptedStyleSheets:o}=t,{stylesheet:r}=n;_r?o.push(r):t.adoptedStyleSheets=[...o,r]}(0,t,n):Ir(e,t,n)}function Wr(e){let t=Lr.get(e);return I(t)&&(t={stylesheet:$r?Hr(e):Dr(e),roots:void 0,global:!1,used:!1},Lr.set(e,t)),t}let jr,Br,Vr;if(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}}())jr=customElements.get.bind(customElements),Br=customElements.define.bind(customElements),Vr=HTMLElement;else{const e=o(null),t=new WeakMap;Br=function(n,o){if(n!==H.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},jr=function(t){return e[t]},Vr=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,o=t.get(n);if(!o)throw new TypeError("Invalid Construction");const r=document.createElement(o);return p(r,n.prototype),r},Vr.prototype=HTMLElement.prototype}let Kr=!1;function Gr(e){Kr=e}const zr=Q.$isNativeShadowRootDefined$,Ur=u.call(Element.prototype,"$shadowToken$");function qr(e,t,n){const o=er(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,o]of Object.entries(n))e[t]=o;return o}function Xr(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(!B(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!V(n)||F(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{Gr(!0);Mr(qr(e,t,n)),Gr(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!F(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!F(e.firstChild);)e.removeChild(e.firstChild)}(e,t),qr(e,t,n),Gr(!1),Jo(e)}finally{Gr(!1)}}Ne=function(e,t){return Kr?e.shadowRoot:e.attachShadow(t)},xe=function(e){return document.createComment(e)},Te=function(e,t){return I(t)?document.createElement(e):document.createElementNS(t,e)},Se=function(e){return document.createTextNode(e)},et=Br,Ie=function(e,t){return e.dispatchEvent(t)},_e=function(e,t,n){return I(n)?e.getAttribute(t):e.getAttributeNS(n,t)},je=function(e){return e.getBoundingClientRect()},Ue=function(e){return e.childNodes},ze=function(e){return e.children},Fe=function(e){return e.classList},tt=jr,Ge=function(e,t){return e.getElementsByClassName(t)},Ke=function(e,t){return e.getElementsByTagName(t)},qe=function(e){return e.firstChild},Xe=function(e){return e.firstElementChild},Ye=function(e){return e.lastChild},Je=function(e){return e.lastElementChild},Ae=function(e,t){return e[t]},Ee=Vr,Me=function(e,t,n){t.insertBefore(e,n)},Qe=function(e){return e.isConnected},ve=zr,Ce=Ur,Oe=function(e){return e.nextSibling},Be=function(e,t){return e.querySelector(t)},Ve=function(e,t){return e.querySelectorAll(t)},ke=function(e,t){t.removeChild(e)},Le=function(e,t,n){I(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},He=function(e,t,n,o){e.removeEventListener(t,n,o)},Re=function(e,t,n,o){return I(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},We=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},Pe=function(e,t,n){e[t]=n},$e=function(e,t){e.nodeValue=t},be=!1,De=function(e,t,n,o){e.addEventListener(t,n,o)},Ze=function(e,t){I(t)?function(e){const t=Wr(e);t.global||(t.global=!0,Fr(e,document,t))}(e):function(e,t){const n=Wr(e);let{roots:o}=n;if(I(o))o=n.roots=new WeakSet;else if(o.has(t))return;o.add(t),Fr(e,t,n)}(e,t)};const Yr=new WeakSet;function Jr(e){const t=function(e){return _n(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Xr(this,e,{}),Yr.add(this)):er(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Yr.has(this)?Yr.delete(this):Jo(this)}disconnectedCallback(){Qo(this)}}}const Qr=Node,Zr=new WeakMap,ei=new WeakMap;function ti(e,t){const n=t.get(e);return I(n)||n(e),e}const{appendChild:ni,insertBefore:oi,removeChild:ri,replaceChild:ii}=Qr.prototype;n(Qr.prototype,{appendChild(e){return ti(ni.call(this,e),Zr)},insertBefore(e,t){return ti(oi.call(this,e,t),Zr)},removeChild(e){return ti(ri.call(this,e),ei)},replaceChild(e,t){const n=ii.call(this,e,t);return ti(n,ei),ti(e,Zr),n}});const si=Node;const li=new Map;i(on,"CustomElementConstructor",{get(){return function(e){if(e===on)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=li.get(e);return I(t)&&(t=Jr(e),li.set(e,t)),t}(this)}}),s(on),h(on.prototype),e.LightningElement=on,e.__unstable__ProfilerControl=Eo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=br(e);if(!I(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){yr.set(e,t)}(e,t);const n=new WeakSet;return(e,o)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:r,consumerDisconnectedCallback:i}=o;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,o={provide(e){t(e)}};n((()=>{I(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!V(t)||F(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${U(t)}".`);const n=t.is;if(!B(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=Ln(e);let r=!1;const i=new o((o=>{er(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Zr.set(o,Jo),ei.set(o,Qo),r=!0}));return r||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!I(e)){const n=rr(e);I(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=_n(e),{ctor:n,name:o,props:r,propsConfig:i,methods:s}=t,l={};for(const e in r)l[e]={config:i[e]||0,type:"any",attr:te(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:o,props:l,methods:c}},e.hydrateComponent=Xr,e.isComponentConstructor=$n,e.isNodeFromTemplate=function(e){if(j(e instanceof si))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Ur&&!I(e.$shadowResolver$)},e.readonly=function(e){return tn.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Vo.length;++t){const n=Vo[t];if(n in e){let t=Bo[n];I(t)&&(Bo[n]=t=[]),k.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return B(e)&&Do.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:s,wire:c,track:a,fields:u}=t,d=o(null),f=o(null),h=o(null),p=o(null),m=o(null),g=o(null);let w;if(!I(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(I(w))throw new Error;w=mn(e,w)}else w=I(w)||I(w.get)?hn(e):mn(e,w);f[e]=w,i(n,e,w)}if(I(s)||$.call(s,(e=>{if(w=l(n,e),I(w))throw new Error;d[e]=w})),!I(c))for(const e in c){const{adapter:t,method:o,config:r,dynamic:s=[]}=c[e];if(w=l(n,e),1===o){if(I(w))throw new Error;h[e]=w,vr(w,t,r,s)}else w=wn(e),p[e]=w,Cr(w,t,r,s),i(n,e,w)}if(!I(a))for(const e in a)w=l(n,e),w=gn(e),i(n,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const o=!I(r)&&t in r,i=!I(a)&&t in a;o||i||(m[t]=fn(t))}return function(e,t){yn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return vn.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ae[e])){const n=f(ae).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!I(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Pr,"Hooks are already overridden, only one definition is allowed."),Pr=!0,n=e.sanitizeHtmlContent,ho=n},e.swapComponent=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return tn.getProxy(e);throw new Error},e.unwrap=function(e){return tn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));