lwc 2.6.2 → 2.7.3

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 (41) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +1114 -1054
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +1114 -1054
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -9
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +1084 -1018
  5. package/dist/engine-dom/iife/es5/engine-dom.js +1166 -999
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -9
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +1181 -1014
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +1114 -1054
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -9
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +1084 -1018
  11. package/dist/engine-dom/umd/es5/engine-dom.js +1166 -999
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -9
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +1181 -1014
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +1286 -1227
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -9
  16. package/dist/engine-server/esm/es2017/engine-server.js +1286 -1227
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +74 -9
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +74 -9
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +74 -9
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +78 -9
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +78 -9
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +74 -9
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +74 -9
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +78 -9
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +78 -9
  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_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +3 -3
  34. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  35. package/dist/wire-service/iife/es5/wire-service_debug.js +3 -3
  36. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  37. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service.js +3 -3
  39. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  40. package/dist/wire-service/umd/es5/wire-service_debug.js +3 -3
  41. package/package.json +8 -8
@@ -1,9 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:l,getOwnPropertyDescriptor:s,getOwnPropertyNames:a,getPrototypeOf:c,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:k,slice:M,splice:S,unshift:T,forEach:x}=Array.prototype,{fromCharCode:A}=String,{charCodeAt:N,replace:P,slice:L,toLowerCase:O}=String.prototype;function $(e){return void 0===e}function _(e){return null===e}function R(e){return!0===e}function H(e){return!1===e}function D(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function B(){}const W={}.toString;function j(e){return e&&e.toString?m(e)?b.call(v.call(e,j),","):e.toString():"object"==typeof e?W.call(e):e+""}function V(e,t){do{const n=s(e,t);if(!$(n))return n;e=c(e)}while(null!==e)}const K=["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:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=r(null),t=r(null);return x.call(K,(n=>{const r=O.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=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}(),q=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"]]),X=new Map;function Y(e){const t=z[e];if(!$(t))return t;const n=q.get(e);if(!$(n))return n;const r=X.get(e);if(!$(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+A(n+32):A(n)}return X.set(e,o),o}function J(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Q=new WeakMap;function Z(e){let t=Q.get(e);return void 0===t&&(t={},Q.set(e,t)),t}function ee(e,t){return{get(){const n=Z(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;Z(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function te(e){const t=ee(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const ne=f(z);for(let e=0,t=ne.length;e<t;e+=1){const t=ne[e];J(t)&&te(t)}const re={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:r(null)});const oe=U.lwcRuntimeFlags;let ie=[];const le=h(r(null)),se=h([]);function ae(){const e=ie;ie=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ce(e){0===ie.length&&Promise.resolve().then(ae),C.call(ie,e)}const ue=new WeakMap;let de=null;function fe(e,t){const n=ue.get(e);if(!$(n)){const e=n[t];if(!$(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function he(e,t){if(null===de)return;const n=de,o=function(e){let t=ue.get(e);if($(t)){const n=r(null);t=n,ue.set(e,n)}return t}(e);let i=o[t];if($(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class pe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=de;let n;de=this;try{e()}catch(e){n=Object(e)}finally{if(de=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=y.call(e[n],this);S.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function me(e,t){fe(e.component,t)}function ge(e,t){he(e.component,t)}function we(e){return`<${O.call(e.tagName)}>`}function ye(e,t,n){let r=`[LWC ${e}]: ${t}`;$(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!_(e.owner);)C.call(t,n+we(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function be(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if($(n))return;const o=e.listener=function e(t){!function(e,t){const{type:n}=e,{data:{on:r}}=t,o=r&&r[n];o&&o.call(void 0,e)}(t,e.vnode)};let i;for(i in o.vnode=e,n)r.addEventListener(t,i,o)}var ve={update:function(e,t){$(e.listener)?be(t):(t.listener=e.listener,t.listener.vnode=t)},create:be};function Ce(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ce("offsetHeight")},offsetLeft:{readOnly:!0,error:Ce("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ce("offsetTop")},offsetWidth:{readOnly:!0,error:Ce("offsetWidth")},role:{attribute:"role"}});let Ee,ke=null;function Me(e,t){return e!==ke||t!==Ee}function Se(e,t){ke=null,Ee=void 0}function Te(e,t){ke=e,Ee=t}function xe(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if($(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:l,removeAttribute:s}=r;let a;for(a in o=$(o)?le:o,n){const e=n[a];o[a]!==e&&(Te(i,a),58===N.call(a,3)?l(i,a,e,"http://www.w3.org/XML/1998/namespace"):58===N.call(a,5)?l(i,a,e,"http://www.w3.org/1999/xlink"):_(e)?s(i,a):l(i,a,e),Se())}}const Ae={data:{}};var Ne={create:e=>xe(Ae,e),update:xe};function Pe(e,t){return"input"===e&&("value"===t||"checked"===t)}function Le(e,t){const n=t.data.props;if($(n))return;const r=e.data.props;if(r===n)return;const o=$(r),{elm:i,sel:l,owner:{renderer:s}}=t;for(const e in n){const t=n[e];(o||t!==(Pe(l,e)?s.getProperty(i,e):r[e]))&&s.setProperty(i,e,t)}}const Oe={data:{}};var $e={create:e=>Le(Oe,e),update:Le};const _e=r(null);function Re(e){if(null==e)return le;e=F(e)?e:e+"";let t=_e[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[L.call(e,o,n)]=!0),o=n+1);return n>o&&(t[L.call(e,o,n)]=!0),_e[e]=t,t}function He(e,t){const{elm:n,data:{className:r},owner:{renderer:o}}=t,{data:{className:i}}=e;if(i===r)return;const l=o.getClassList(n),s=Re(r),a=Re(i);let c;for(c in a)$(s[c])&&l.remove(c);for(c in s)$(a[c])&&l.add(c)}const De={data:{}};var Ie={create:e=>He(De,e),update:He};function Fe(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:l}=o;e.data.style!==r&&(F(r)&&""!==r?i(n,"style",r):l(n,"style"))}const Be={data:{}};var We={create:e=>Fe(Be,e),update:Fe};var je={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if($(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var Ve={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!$(n))for(let e=0;e<n.length;e++){const[o,i,l]=n[e];r.setCSSStyleProperty(t,o,i,l)}}};
2
- /**
3
- @license
4
- Copyright (c) 2015 Simon Friis Vindum.
5
- This code may only be used under the MIT License found at
6
- https://github.com/snabbdom/snabbdom/blob/master/LICENSE
7
- Code distributed by Snabbdom as part of the Snabbdom project at
8
- https://github.com/snabbdom/snabbdom/
9
- */function Ke(e){return void 0===e}function Ge(e,t){return e.key===t.key&&e.sel===t.sel}function ze(e){return null!=e}function Ue(e,t,n){const r={};let o,i,l;for(o=t;o<=n;++o)l=e[o],ze(l)&&(i=l.key,void 0!==i&&(r[i]=o));return r}function qe(e,t,n,r,o){for(;r<=o;++r){const o=n[r];ze(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Xe(e,t,n,r){for(;n<=r;++n){const r=t[n];ze(r)&&r.hook.remove(r,e)}}function Ye(e,t,n){let r=0,o=0,i=t.length-1,l=t[0],s=t[i];const a=n.length-1;let c,u,d,f,h=a,p=n[0],m=n[h];for(;r<=i&&o<=h;)ze(l)?ze(s)?ze(p)?ze(m)?Ge(l,p)?(Qe(l,p),l=t[++r],p=n[++o]):Ge(s,m)?(Qe(s,m),s=t[--i],m=n[--h]):Ge(l,m)?(Qe(l,m),m.hook.move(l,e,s.owner.renderer.nextSibling(s.elm)),l=t[++r],m=n[--h]):Ge(s,p)?(Qe(s,p),p.hook.move(s,e,l.elm),s=t[--i],p=n[++o]):(void 0===c&&(c=Ue(t,r,i)),u=c[p.key],Ke(u)?(p.hook.create(p),p.hook.insert(p,e,l.elm),p=n[++o]):(d=t[u],ze(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,l.elm)):(Qe(d,p),t[u]=void 0,p.hook.move(d,e,l.elm))),p=n[++o])):m=n[--h]:p=n[++o]:s=t[--i]:l=t[++r];if(r<=i||o<=h)if(r>i){let t,r=h;do{t=n[++r]}while(!ze(t)&&r<a);f=ze(t)?t.elm:null,qe(e,f,n,o,h)}else Xe(e,t,r,i)}function Je(e,t,n){const r=t.length,o=n.length;if(0===r)return void qe(e,null,n,0,o);if(0===o)return void Xe(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],l=t[r];o!==l&&(ze(l)?ze(o)?(Qe(l,o),i=o.elm):l.hook.remove(l,e):ze(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Qe(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Ze="undefined"!=typeof HTMLElement?HTMLElement:function(){},et=Ze.prototype,tt=r(null);x.call(f(z),(e=>{const t=V(et,e);$(t)||(tt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(et,e);$(t)||(tt[e]=t)}));const{isArray:nt}=Array,{prototype:rt,getPrototypeOf:ot,create:it,defineProperty:lt,isExtensible:st,getOwnPropertyDescriptor:at,getOwnPropertyNames:ct,getOwnPropertySymbols:ut,preventExtensions:dt,hasOwnProperty:ft}=Object,{push:ht,concat:pt}=Array.prototype;function mt(e){return void 0===e}function gt(e){return"function"==typeof e}const wt=new WeakMap;function yt(e,t){wt.set(e,t)}const bt=e=>wt.get(e)||e;class vt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ft.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;mt(n)||(e.get=this.wrapGetter(n)),mt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=at(n,t);if(!mt(r)){const n=this.wrapDescriptor(r);lt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;pt.call(ct(t),ut(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;mt(n)||ft.call(e,n)||lt(e,n,it(null)),dt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=mt(n)||ft.call(t,n)?[]:[n];return ht.apply(r,ct(t)),ht.apply(r,ut(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!st(e)&&(!!st(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ot(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=at(n,t);if(mt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},lt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ct=new WeakMap,Et=new WeakMap,kt=new WeakMap,Mt=new WeakMap;class St extends vt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ct.get(e);if(!mt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(bt(this)))};return Ct.set(e,r),kt.set(r,e),r}wrapSetter(e){const t=Et.get(e);if(!mt(t))return t;const n=function(t){e.call(bt(this),bt(t))};return Et.set(e,n),Mt.set(n,e),n}unwrapDescriptor(e){if(ft.call(e,"value"))e.value=bt(e.value);else{const{set:t,get:n}=e;mt(n)||(e.get=this.unwrapGetter(n)),mt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=kt.get(e);if(!mt(t))return t;const n=this,r=function(){return bt(e.call(n.wrapValue(this)))};return Ct.set(r,e),kt.set(e,r),r}unwrapSetter(e){const t=Mt.get(e);if(!mt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Et.set(r,e),Mt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&nt(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(st(e)){const{originalTarget:t}=this;if(dt(t),st(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ft.call(r,t)||(lt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Tt=new WeakMap,xt=new WeakMap;class At extends vt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Tt.get(e);if(!mt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(bt(this)))};return Tt.set(e,r),r}wrapSetter(e){const t=xt.get(e);if(!mt(t))return t;const n=function(e){};return xt.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 Nt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(nt(e))return!0;const t=ot(e);return t===rt||null===t||null===ot(t)}const Pt=(e,t)=>{},Lt=(e,t)=>{};function Ot(e){return nt(e)?[]:{}}const $t=Symbol.for("@@lockerLiveValue"),_t=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=gt(t)?t:Lt,this.valueObserved=gt(n)?n:Pt,this.valueIsObservable=gt(r)?r:Nt,this.tagPropertyKey=o}getProxy(e){const t=bt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=bt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return bt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(mt(t)){const n=new St(this,e);t=new Proxy(Ot(e),n),yt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(mt(t)){const n=new At(this,e);t=new Proxy(Ot(e),n),yt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:he,valueMutated:fe,tagPropertyKey:$t});function Rt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!D(n))throw new TypeError;if(!D(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Nr(this);if(!ir(t))return ge(t,e),n.call(t.elm)},set(t){const n=Nr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,me(n,e)),r.call(n.elm,t)}}}const Ht=function(){if(_(or))throw new ReferenceError("Illegal constructor");const e=or,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[$t]=void 0,Ar(i,e),Ar(n,e),1===e.renderMode&&Dt(e),this};function Dt(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,l=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=l,Ar(l,e)}Ht.prototype={constructor:Ht,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=Nr(this);return n(t,e)},addEventListener(e,t,n){const r=Nr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,hr(r,t),n)},removeEventListener(e,t,n){const r=Nr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,hr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Nr(this);return!_(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Nr(this);return!_(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=Nr(this);Te(t,e),n(t,e),Se()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Nr(this);Te(n,t),r(n,t,e),Se()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Nr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Nr(this);return r(n,t,e)},setAttribute(e,t){const n=Nr(this),{elm:r,renderer:{setAttribute:o}}=n;Te(r,e),o(r,e,t),Se()},setAttributeNS(e,t,n){const r=Nr(this),{elm:o,renderer:{setAttribute:i}}=r;Te(o,t),i(o,t,n,e),Se()},getBoundingClientRect(){const e=Nr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=Nr(this);return t(e)},get classList(){const e=Nr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Nr(this).cmpRoot},get shadowRoot(){return null},render(){return Nr(this).def.template},toString(){return`[object ${Nr(this).def.name}]`}};const It=r(null),Ft=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Ft)It[e]={get(){const e=Nr(this),{elm:n,renderer:r}=e;return r[t](n)},configurable:!0,enumerable:!0};const Bt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Bt)It[e]={value(t){const n=Nr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ht.prototype,It);const Wt=r(null);for(const e in tt)Wt[e]=Rt(e,tt[e]);function jt(e){return{get(){const t=Nr(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Nr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,me(n,e))},enumerable:!0,configurable:!0}}function Vt(e){return{get(){const t=Nr(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Nr(this),r=_t.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,me(n,e))},enumerable:!0,configurable:!0}}function Kt(e){return{get(){const t=Nr(this);if(!ir(t))return ge(t,e),t.cmpProps[e]},set(t){const n=Nr(this);n.cmpProps[e]=t,me(n,e)},enumerable:!0,configurable:!0}}o(Ht.prototype,Wt),i(Ht,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Gt extends pe{constructor(e,t){super((()=>{H(this.debouncing)&&(this.debouncing=!0,ce((()=>{if(R(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,R(e.isDirty)&&H(r)&&i>0&&Er(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function zt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!D(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Nr(this);if(r)if(oe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];$(o)&&(o=n.oar[e]=new Gt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Ut(e){return{get(){const t=Nr(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Nr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,me(n,e))},enumerable:!0,configurable:!0}}const qt=new Map;const Xt={apiMethods:le,apiFields:le,apiFieldsConfig:le,wiredMethods:le,wiredFields:le,observedFields:le};const Yt=new Set;function Jt(){return[]}Yt.add(Jt);const Qt=r(null),Zt=r(null);function en(e){let t=Qt[e];return $(t)&&(t=Qt[e]=function(){const t=Nr(this),{getHook:n}=t;return n(t.component,e)}),t}function tn(e){let t=Zt[e];return $(t)&&(t=Zt[e]=function(t){const n=Nr(this),{setHook:r}=n;t=_t.getReadOnlyProxy(t),r(n.component,e,t)}),t}function nn(e){return function(){const t=Nr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,M.call(arguments))}}function rn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];$(i)?$(t)||t.apply(this,arguments):Me(this,n)&&(this[i]=o)}}function on(e,t,n){let l;D(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),i(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=r(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[Y(n)]=n,u[n]={get:en(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:nn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:rn(s,a)},i(l,"observedAttributes",{get:()=>[...c,...f(s)]}),o(l.prototype,u),l}const ln=on(Ze,a(tt),[]);function sn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function an(e){return D(e)&&u.call(e,"__circular__")}l(ln),h(ln.prototype);const cn=new WeakMap;function un(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=qt.get(e);return $(t)?Xt:t}(e),{apiFields:s,apiFieldsConfig:a,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=c(e);if(_(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(an(t)){const e=sn(t);t=e===t?Ht:e}return t}(e),E=C!==Ht?fn(C):hn,k=on(E.bridge,f(s),f(u)),M=n(r(null),E.props,s),S=n(r(null),E.propsConfig,a),T=n(r(null),E.methods,u),x=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;$(t)||(A=t);let N=E.renderMode;$(i)||(N="light"===i?0:1);const P=function(e){return ar.get(e)}(e)||E.template,L=e.name||E.name;o(m,p);return{ctor:e,name:L,wire:x,props:M,propsConfig:S,methods:T,bridge:k,template:P,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function dn(e){if(!D(e))return!1;if(e.prototype instanceof Ht)return!0;let t=e;do{if(an(t)){const e=sn(t);if(e===t)return!0;t=e}if(t===Ht)return!0}while(!_(t)&&(t=c(t)));return!1}function fn(e){let t=cn.get(e);if($(t)){if(an(e)){return t=fn(sn(e)),cn.set(e,t),t}if(!dn(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=un(e),cn.set(e,t)}return t}const hn={ctor:Ht,name:Ht.name,props:Wt,propsConfig:le,methods:le,renderMode:1,shadowSupportMode:"reset",wire:le,bridge:ln,template:Jt,render:Ht.prototype.render};function pn(e,t){e.$shadowToken$=t}function mn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!$(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function gn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function wn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function yn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function bn(e){ve.create(e),$e.create(e)}function vn(e,t){const{elm:n,children:r}=t;Sn(r)?Ye(n,e.children,r):Je(n,e.children,r)}function Cn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(_(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",l=o[i]=o[i]||[];$(n.key)||(n.key=`@${i}:${n.key}`),C.call(l,n)}if(H(e.isDirty)){const t=f(n);if(t.length!==f(o).length)return void dr(e);for(let r=0,i=t.length;r<i;r+=1){const i=t[r];if($(o[i])||n[i].length!==o[i].length)return void dr(e);const l=n[i],s=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(l[t]!==s[t])return void dr(e)}}}(t,n),e.aChildren=n,e.children=se)}function En(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}function kn(e,t,n){let r=0;for(let n=0,o=t.length;n<o;n++){const o=t[n];if(null!=o){const t=e[r];o.hook.hydrate(o,t),r++}}}const Mn=new WeakMap;function Sn(e){return Mn.has(e)}function Tn(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return $(n)?(n=class extends t.HTMLElement{constructor(e){super(),D(e)&&e(this)}},t.defineCustomElement(e,n),n):n}const xn=Symbol.iterator,An={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);On(r,t),e.elm=r},update:gn,insert:wn,move:wn,remove:yn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},Nn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);On(o,t),e.elm=o},update:gn,insert:wn,move:wn,remove:yn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},Pn={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=R(r)?"http://www.w3.org/2000/svg":void 0,l=o.createElement(t,i);On(l,n),function(e,t){const{owner:n}=t;if(mn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;$(r)||$(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),pn(e,o)}}(l,e),e.elm=l,function(e){ve.create(e),Ne.create(e),$e.create(e),je.create(e),Ve.create(e),Ie.create(e),We.create(e)}(e)},update:(e,t)=>{!function(e,t){Ne.update(e,t),$e.update(e,t),Ie.update(e,t),We.update(e,t)}(e,t),vn(e,t)},insert:(e,t,n)=>{wn(e,t,n),En(e)},move:(e,t,n)=>{wn(e,t,n)},remove:(e,t)=>{yn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];_(r)||r.hook.remove(r,n)}}(e)},hydrate:(e,t)=>{const n=t;e.elm=n;const{context:r}=e.data,o=Boolean(!$(r)&&!$(r.lwc)&&"manual"===r.lwc.dom);if(o){const{props:t}=e.data;$(t)||$(t.innerHTML)||(n.innerHTML===t.innerHTML?delete t.innerHTML:(i=`Mismatch hydrating element <${n.tagName.toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`,l=e.owner,ye("warn",i,l)))}var i,l;bn(e),o||kn(e.elm.childNodes,e.children,e.owner)}},Ln={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=Tn(t,r),i=new o((t=>{!function(e,t){if(!$(Pr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(mn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;pn(e,t)}xr(e,fn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));On(i,n),e.elm=i;const l=Pr(i);if(l)Cn(e,l);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ve.create(e),Ne.create(e),$e.create(e),je.create(e),Ve.create(e),Ie.create(e),We.create(e)}(e)},update:(e,t)=>{!function(e,t){Ne.update(e,t),$e.update(e,t),Ie.update(e,t),We.update(e,t)}(e,t);const n=Pr(t.elm);n&&Cn(t,n),vn(e,t),n&&Er(n)},insert:(e,t,n)=>{wn(e,t,n);const r=Pr(e.elm);r&&Rr(r),En(e),r&&function(e){Lr(e)}(r)},move:(e,t,n)=>{wn(e,t,n)},remove:(e,t)=>{yn(e,t);const n=Pr(e.elm);n&&function(e){Tr(e)}(n)},hydrate:(e,t)=>{const{sel:n,mode:r,ctor:o,owner:i}=e;xr(t,fn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer}),e.elm=t;const l=Nr(t);Cn(e,l),bn(e),Rr(l),0!==l.renderMode&&kn(e.elm.childNodes,e.children),Sr(l)}};function On(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Wr(t).$shadowResolver$))}function $n(e,t,n){const r=er();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:Pn,owner:r}}function _n(e,t,n,r=se){const o=er(),{key:i}=n;const l={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:Ln,ctor:t,owner:o,mode:"open"};return function(e){C.call(er().velements,e)}(l),l}const Rn=new Map;let Hn=0;function Dn(e){var t;return t=e,Mn.set(t,1),e}let In=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Fn=l({s:function(e,t,n,r){$(r)||$(r[e])||0===r[e].length||(n=r[e]);const o=er(),{renderMode:i,shadowMode:l}=o;return 0===i?(Dn(n),n):(1===l&&Dn(n),$n("slot",t,n))},h:$n,c:_n,i:function(e,t){const n=[];if(Dn(n),$(e)||null===e)return n;const r=e[xn]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);m(e)?C.apply(n,e):C.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];Dn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{sel:undefined,data:le,children:undefined,text:e,elm:undefined,key:undefined,hook:An,owner:er()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=er();if(_(t))throw new Error;const n=t;return function(t){sr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:le,children:undefined,text:e,elm:undefined,key:undefined,hook:Nn,owner:er()}},dc:function(e,t,n,r){if(null==t)return null;if(!dn(t))throw new Error(`Invalid LWC Constructor ${j(t)} for custom element <${e}>.`);let o=Rn.get(t);return $(o)&&(o=Hn++,Rn.set(t,o)),n.key=`dc:${o}:${n.key}`,_n(e,t,n,r)},ti:function(e){return e>0&&!(R(e)||H(e))?0:e},gid:function(e){const t=er();if($(e)||""===e)return e;if(_(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=er();if($(e)||""===e)return e;if(_(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return In(e)}});function Bn(e){return`${e}-host`}function Wn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(m(l))C.apply(r,Wn(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:($(o)&&(o=Vn(n)),a=_(o)||0===o.shadowMode),C.call(r,l(i,s,a))}}return r}function jn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return $(n)||0===n.length||(o=Wn(n,r,e)),o}function Vn(e){let t=e;for(;!_(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Kn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr||n.isHydrating()){const e=b.call(t,"\n");return i=e,Fn.h("style",{key:"style",attrs:{type:"text/css"}},[Fn.t(i)])}{const r=function(e){const t=Vn(e);return _(t)||1!==t.shadowMode?t:null}(e),o=_(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let Gn=!1,zn=B;const Un={enableProfiler(){Gn=!0},disableProfiler(){Gn=!1},attachDispatcher(e){zn=e,this.enableProfiler()},detachDispatcher(){const e=zn;return zn=B,this.disableProfiler(),e}};function qn(e,t){Gn&&zn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Xn(e,t){Gn&&zn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Yn(e,t){Gn&&zn(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 Jn(e,t){Gn&&zn(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 Qn=!1,Zn=null;function er(){return Zn}function tr(e){Zn=e}function nr(e,t){const n=Qn,o=Zn;let i=[];return Br(e,e.owner,(()=>{Zn=e,qn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:l,cmpTemplate:s,tro:a}=e;a.observe((()=>{if(t!==s){if(_(s)||Fr(e),a=t,!Yt.has(a))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: ${j(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!$(t))for(let e=0;e<t.length;e++)if(R(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:l}=e,{stylesheets:s,stylesheetToken:a}=t,c=1===i&&1===l,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Bn(p)),g&&o.removeAttribute(n,Bn(p)),$(s)||0===s.length||(d=a),$(d)||(u&&(o.getClassList(n).add(Bn(d)),f=!0),c&&(o.setAttribute(n,Bn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const n=jn(e,t);o.styleVNode=0===n.length?null:Kn(e,n)}var a;e.velements=[],Qn=!0,i=t.call(void 0,Fn,n,l,o.tplCache);const{styleVNode:c}=o;_(c)||T.call(i,c)}))}),(()=>{Qn=n,Zn=o,Xn(1,e)})),i}function rr(e,t){if(!d(t)&&$(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!_(n);)C.call(t,we(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}let or=null;function ir(e){return or===e}function lr(e,t,n){const{component:r,callHook:o,owner:i}=e;Br(e,i,B,(()=>{o(r,t,n)}),B)}function sr(e,t,n,r){const{callHook:o,owner:i}=e;Br(e,i,B,(()=>{o(n,t,[r])}),B)}const ar=new Map;function cr(e){return new pe((()=>{const{isDirty:t}=e;H(t)&&(dr(e),function(e){if(R(e.renderer.ssr)||R(e.isScheduled))return;e.isScheduled=!0,0===$r.length&&ce(_r);C.call($r,e)}(e))}))}function ur(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=er();let l,s=!1;return Br(e,o,(()=>{tr(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{tr(i)})),s?nr(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function dr(e){e.isDirty=!0}const fr=new WeakMap;function hr(e,t){if(!D(t))throw new TypeError;let n=fr.get(t);return $(n)&&(n=function(n){sr(e,t,void 0,n)},fr.set(t,n)),n}const pr=r(null),mr=["rendered","connected","disconnected"];function gr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let wr=0;const yr=new WeakMap;function br(e,t,n=[]){return t.apply(e,n)}function vr(e,t,n){e[t]=n}function Cr(e,t){return e[t]}function Er(e){Lr(e)}function kr(e){const t=Nr(e);Yn(7,t),1===t.state&&Mr(e),Rr(t),Lr(t),Jn(7,t)}function Mr(e){Tr(Nr(e))}function Sr(e){!function(e){if(R(e.isDirty)){const t=ur(e);e.children=t;kn(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),Or(e)}}(e)}function Tr(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){H(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=pr;t&&gr(e,t);Hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Br(e,e,B,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),B)}(e);const{disconnectedCallback:n}=e.def;$(n)||(qn(5,e),lr(e,n),Xn(5,e))}(e),Dr(e),function(e){const{aChildren:t}=e;Ir(t)}(e)}}function xr(e,t,n){const{mode:o,owner:i,renderer:l,tagName:s}=n,a={elm:e,def:t,idx:wr++,state:0,isScheduled:!1,isDirty:!0,tagName:s,mode:o,owner:i,renderer:l,children:se,aChildren:se,velements:se,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:le,wiredConnecting:se,wiredDisconnecting:se},tro:null,component:null,cmpRoot:null,callHook:br,setHook:vr,getHook:Cr};return a.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!_(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=_(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(a),a.tro=cr(a),function(e,t){const n=or;let r;qn(0,e),or=e;try{const o=new t;if(or.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Xn(0,e),or=n,!$(r))throw rr(e,r),r}}(a,t.ctor),Hr(a)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=jr.get(i);if(!$(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=Kr(e,t,l),a=l.dynamic.length>0;C.call(r,(()=>{n.connect(),oe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),C.call(o,(()=>{n.disconnect(),s()}))}}}(a),a}function Ar(e,t){yr.set(e,t)}function Nr(e){return yr.get(e)}function Pr(e){return yr.get(e)}function Lr(e){if(R(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=Sn(t)?Ye:Je;Br(e,e,(()=>{qn(2,e)}),(()=>{const o=Wr(e);r(o,n,t)}),(()=>{Xn(2,e)}))}1===e.state&&Or(e)}(e,ur(e))}}function Or(e){const{renderer:t,def:{renderedCallback:n}}=e;if(R(t.ssr))return;const{rendered:r}=pr;r&&gr(e,r),$(n)||(qn(4,e),lr(e,n),Xn(4,e))}let $r=[];function _r(){Yn(8);const e=$r.sort(((e,t)=>e.idx-t.idx));$r=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Lr(r)}catch(r){throw t+1<n&&(0===$r.length&&ce(_r),T.apply($r,M.call(e,t+1))),Jn(8),r}}Jn(8)}function Rr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=pr;n&&gr(e,n),Hr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;$(r)||(qn(3,e),lr(e,r),Xn(3,e))}function Hr(e){return a(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(!$(n)){const e=Pr(n);$(e)||Tr(e)}}}function Ir(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];_(n)||!m(n.children)||$(n.elm)||($(n.ctor)?Ir(n.children):Tr(Nr(n.elm)))}}function Fr(e){const{children:t,renderer:n}=e,r=Wr(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];_(o)||$(o.elm)||n.remove(o.elm,r)}e.children=se,Dr(e),e.velements=se}function Br(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!$(i)){rr(e,i);const n=_(t)?void 0:function(e){let t=e;for(;!_(t);){if(!$(t.def.errorCallback))return t;t=t.owner}}(t);if($(n))throw i;Fr(e),qn(6,e);lr(n,n.def.errorCallback,[i,i.wcStack]),Xn(6,e)}}}function Wr(e){return 1===e.renderMode?e.cmpRoot:e.elm}const jr=new Map;class Vr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Kr(e,t,n){const{method:r,adapter:o,configCallback:l,dynamic:s}=n,a=$(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,me(e,t))}}(e,t):function(e,t){return n=>{Br(e,e.owner,B,(()=>{t.call(e.component,n)}),B)}}(e,r);let c,u;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),Br(e,e,B,(()=>{u=new o(a)}),B);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new pe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,l,(t=>{Br(e,e,B,(()=>{u.update(t,c)}),B)}));return $(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=zr(r);if($(o))return;const{elm:i,renderer:l,context:{wiredConnecting:s,wiredDisconnecting:a}}=e;C.call(s,(()=>{const e=new Vr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(a,e)}});l.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Gr=new Map;function zr(e){return Gr.get(e)}function Ur(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};jr.set(e,o)}function qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};jr.set(e,o)}let Xr=!1;const Yr=r(null),Jr=document.head||document.body||document,Qr=D(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Zr=r(null),eo=r(null),to=new WeakMap;let no,ro,oo;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}}())no=customElements.get.bind(customElements),ro=customElements.define.bind(customElements),oo=HTMLElement;else{const e=r(null),t=new WeakMap;ro=function(n,r){if(n!==O.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},no=function(t){return e[t]},oo=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},oo.prototype=HTMLElement.prototype}let io=!1;function lo(e){io=e}const so={ssr:!1,isHydrating:()=>io,isNativeShadowDefined:U.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$"),createElement:(e,t)=>$(t)?document.createElement(e):document.createElementNS(t,e),createText:e=>document.createTextNode(e),createComment:e=>document.createComment(e),insert(e,t,n){t.insertBefore(e,n)},remove(e,t){t.removeChild(e)},nextSibling:e=>e.nextSibling,attachShadow:(e,t)=>io?e.shadowRoot:e.attachShadow(t),setText(e,t){e.nodeValue=t},getProperty:(e,t)=>e[t],setProperty(e,t,n){e[t]=n},getAttribute:(e,t,n)=>$(n)?e.getAttribute(t):e.getAttributeNS(n,t),setAttribute:(e,t,n,r)=>$(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n),removeAttribute(e,t,n){$(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:(e,t)=>e.dispatchEvent(t),getClassList:e=>e.classList,setCSSStyleProperty(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:e=>e.getBoundingClientRect(),querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>e.querySelectorAll(t),getElementsByTagName:(e,t)=>e.getElementsByTagName(t),getElementsByClassName:(e,t)=>e.getElementsByClassName(t),getChildren:e=>e.children,getChildNodes:e=>e.childNodes,getFirstChild:e=>e.firstChild,getFirstElementChild:e=>e.firstElementChild,getLastChild:e=>e.lastChild,getLastElementChild:e=>e.lastElementChild,isConnected:e=>e.isConnected,insertGlobalStylesheet(e){if(!$(Yr[e]))return;Yr[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Jr.appendChild(t)},insertStylesheet(e,t){Qr?function(e,t){let n=eo[e];$(n)&&(n=new CSSStyleSheet,n.replaceSync(e),eo[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=to.get(t);if($(n)&&(n=r(null),to.set(t,n)),n[e])return;n[e]=!0;let o=Zr[e];$(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,Zr[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},assertInstanceOfHTMLElement(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:ro,getCustomElement:no,HTMLElement:oo},ao=Node,co=new WeakMap,uo=new WeakMap;function fo(e,t){const n=t.get(e);return $(n)||n(e),e}const{appendChild:ho,insertBefore:po,removeChild:mo,replaceChild:go}=ao.prototype;function wo(e,t){if(!I(t)||_(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${j(t)}".`);const n=t.is;if(!D(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Tn(e,so);let o=!1;const i=new r((r=>{xr(r,fn(n),{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null,renderer:so}),co.set(r,kr),uo.set(r,Mr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i}n(ao.prototype,{appendChild(e){return fo(ho.call(this,e),co)},insertBefore(e,t){return fo(po.call(this,e,t),co)},removeChild(e){return fo(mo.call(this,e),uo)},replaceChild(e,t){const n=go.call(this,e,t);return fo(n,uo),fo(e,co),n}});const yo=Node;const bo=new Map;function vo(e){if(e===Ht)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=bo.get(e);return $(t)&&(t=function(e){const t=fn(e);return class extends t.bridge{constructor(){super(),xr(this,t,{mode:"open",owner:null,tagName:this.tagName,renderer:so})}connectedCallback(){kr(this)}disconnectedCallback(){Mr(this)}}}(e),bo.set(e,t)),t}i(Ht,"CustomElementConstructor",{get(){return vo(this)}}),l(Ht),h(Ht.prototype),e.LightningElement=Ht,e.__unstable__ProfilerControl=Un,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=zr(e);if(!$(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){Gr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{$(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=wo,e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=Pr(e);$(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=fn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)s[e]={config:i[e]||0,type:"any",attr:Y(e)};const a={};for(const e in l)a[e]=l[e].value;return{ctor:n,name:r,props:s,methods:a}},e.hydrateComponent=function(e,t,n={}){if(!D(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||_(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);const r=fn(t);try{lo(!0),xr(e,r,{mode:"open",owner:null,renderer:so,tagName:e.tagName.toLowerCase()});for(const[t,r]of Object.entries(n))e[t]=r;!function(e){const t=Nr(e);Rr(t),Sr(t)}(e),lo(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),lo(!1);const o=wo(e.tagName,{is:t,mode:"open"});for(const[e,t]of Object.entries(n))o[e]=t;e.parentNode.replaceChild(o,e)}},e.isComponentConstructor=dn,e.isNodeFromTemplate=function(e){return!H(e instanceof yo)&&(!(e instanceof ShadowRoot)&&(so.isSyntheticShadowDefined?!$(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return _t.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<mr.length;++t){const n=mr[t];if(n in e){let t=pr[n];$(t)&&(pr[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return ar.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:l,wire:a,track:c,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!$(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=s(n,e),t.config>0){if($(w))throw new Error;w=zt(e,w)}else w=$(w)||$(w.get)?Kt(e):zt(e,w);f[e]=w,i(n,e,w)}if($(l)||x.call(l,(e=>{if(w=s(n,e),$(w))throw new Error;d[e]=w})),!$(a))for(const e in a){const{adapter:t,method:r,config:o,dynamic:l=[]}=a[e];if(w=s(n,e),1===r){if($(w))throw new Error;h[e]=w,Ur(w,t,o,l)}else w=jt(e),p[e]=w,qr(w,t,o,l),i(n,e,w)}if(!$(c))for(const e in c)w=s(n,e),w=Vt(e),i(n,e,w);if(!$(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(n,t);const r=!$(o)&&t in o,i=!$(c)&&t in c;r||i||(m[t]=Ut(t))}return function(e,t){qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Yt.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if($(re[e])){const n=f(re).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=oe[e];if(!$(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(oe,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(Xr,"Hooks are already overridden, only one definition is allowed."),Xr=!0,n=e.sanitizeHtmlContent,In=n},e.swapComponent=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return _t.getProxy(e);throw new Error},e.unwrap=function(e){return _t.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:o,defineProperties:r,defineProperty:i,freeze:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:k,slice:M,splice:T,unshift:S,forEach:x}=Array.prototype,{fromCharCode:N}=String,{charCodeAt:O,replace:A,slice:P,toLowerCase:$}=String.prototype;function L(e){return void 0===e}function _(e){return null===e}function R(e){return!0===e}function H(e){return!1===e}function D(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function j(){}const W={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?W.call(e):e+""}function V(e,t){do{const n=c(e,t);if(!L(n))return n;e=a(e)}while(null!==e)}const K=["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:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=o(null),t=o(null);return x.call(K,(n=>{const o=$.call(A.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=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}(),q=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"]]),Y=new Map;function X(e){const t=z[e];if(!L(t))return t;const n=q.get(e);if(!L(n))return n;const o=Y.get(e);if(!L(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=O.call(e,t);r+=n>=65&&n<=90?"-"+N(n+32):N(n)}return Y.set(e,r),r}function J(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Q=new WeakMap;function Z(e){let t=Q.get(e);return void 0===t&&(t={},Q.set(e,t)),t}function ee(e,t){return{get(){const n=Z(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;Z(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function te(e){const t=ee(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const ne=f(z);for(let e=0,t=ne.length;e<t;e+=1){const t=ne[e];J(t)&&te(t)}const oe={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_WIRE_SYNC_EMIT:null};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:o(null)});const re=U.lwcRuntimeFlags;let ie=[];const le=h(o(null)),ce=h([]);function se(){const e=ie;ie=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ae(e){0===ie.length&&Promise.resolve().then(se),C.call(ie,e)}let ue,de,fe,he,pe,me,ge,we,ye,be,ve,Ce,Ee,ke,Me,Te,Se,xe,Ne,Oe,Ae,Pe,$e,Le,_e,Re,He,De,Ie,Fe,je,We,Be,Ve,Ke,Ge,ze,Ue,qe;const Ye=new WeakMap;let Xe=null;function Je(e,t){const n=Ye.get(e);if(!L(n)){const e=n[t];if(!L(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Qe(e,t){if(null===Xe)return;const n=Xe,r=function(e){let t=Ye.get(e);if(L(t)){const n=o(null);t=n,Ye.set(e,n)}return t}(e);let i=r[t];if(L(i))i=[],r[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class Ze{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Xe;let n;Xe=this;try{e()}catch(e){n=Object(e)}finally{if(Xe=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=y.call(e[n],this);T.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function et(e,t){Je(e.component,t)}function tt(e,t){Qe(e.component,t)}function nt(e){return`<${$.call(e.tagName)}>`}function ot(e,t,n){let o=`[LWC ${e}]: ${t}`;L(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!_(e.owner);)C.call(t,n+nt(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}function rt(e){return void 0===e}function it(e,t){return e.key===t.key&&e.sel===t.sel}function lt(e){return null!=e}function ct(e,t,n){const o={};let r,i,l;for(r=t;r<=n;++r)l=e[r],lt(l)&&(i=l.key,void 0!==i&&(o[i]=r));return o}function st(e,t,n,o,r){for(;o<=r;++o){const r=n[o];lt(r)&&(r.hook.create(r),r.hook.insert(r,e,t))}}function at(e,t,n,o){for(;n<=o;++n){const o=t[n];lt(o)&&o.hook.remove(o,e)}}function ut(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}function dt(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:dt("offsetHeight")},offsetLeft:{readOnly:!0,error:dt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:dt("offsetTop")},offsetWidth:{readOnly:!0,error:dt("offsetWidth")},role:{attribute:"role"}});let ft,ht=null;function pt(e,t){return e!==ht||t!==ft}function mt(e,t){ht=null,ft=void 0}function gt(e,t){ht=e,ft=t}const wt="undefined"!=typeof HTMLElement?HTMLElement:function(){},yt=wt.prototype,bt=o(null);x.call(f(z),(e=>{const t=V(yt,e);L(t)||(bt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(yt,e);L(t)||(bt[e]=t)}));const{isArray:vt}=Array,{prototype:Ct,getPrototypeOf:Et,create:kt,defineProperty:Mt,isExtensible:Tt,getOwnPropertyDescriptor:St,getOwnPropertyNames:xt,getOwnPropertySymbols:Nt,preventExtensions:Ot,hasOwnProperty:At}=Object,{push:Pt,concat:$t}=Array.prototype;function Lt(e){return void 0===e}function _t(e){return"function"==typeof e}const Rt=new WeakMap;function Ht(e,t){Rt.set(e,t)}const Dt=e=>Rt.get(e)||e;class It{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(At.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Lt(n)||(e.get=this.wrapGetter(n)),Lt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=St(n,t);if(!Lt(o)){const n=this.wrapDescriptor(o);Mt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;$t.call(xt(t),Nt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Lt(n)||At.call(e,n)||Mt(e,n,kt(null)),Ot(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=Lt(n)||At.call(t,n)?[]:[n];return Pt.apply(o,xt(t)),Pt.apply(o,Nt(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Tt(e)&&(!!Tt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Et(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=St(n,t);if(Lt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Mt(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ft=new WeakMap,jt=new WeakMap,Wt=new WeakMap,Bt=new WeakMap;class Vt extends It{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ft.get(e);if(!Lt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Dt(this)))};return Ft.set(e,o),Wt.set(o,e),o}wrapSetter(e){const t=jt.get(e);if(!Lt(t))return t;const n=function(t){e.call(Dt(this),Dt(t))};return jt.set(e,n),Bt.set(n,e),n}unwrapDescriptor(e){if(At.call(e,"value"))e.value=Dt(e.value);else{const{set:t,get:n}=e;Lt(n)||(e.get=this.unwrapGetter(n)),Lt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Wt.get(e);if(!Lt(t))return t;const n=this,o=function(){return Dt(e.call(n.wrapValue(this)))};return Ft.set(o,e),Wt.set(e,o),o}unwrapSetter(e){const t=Bt.get(e);if(!Lt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return jt.set(o,e),Bt.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&&vt(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(Tt(e)){const{originalTarget:t}=this;if(Ot(t),Tt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!At.call(o,t)||(Mt(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const Kt=new WeakMap,Gt=new WeakMap;class zt extends It{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Kt.get(e);if(!Lt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Dt(this)))};return Kt.set(e,o),o}wrapSetter(e){const t=Gt.get(e);if(!Lt(t))return t;const n=function(e){};return Gt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function Ut(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(vt(e))return!0;const t=Et(e);return t===Ct||null===t||null===Et(t)}const qt=(e,t)=>{},Yt=(e,t)=>{};function Xt(e){return vt(e)?[]:{}}const Jt=Symbol.for("@@lockerLiveValue"),Qt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=_t(t)?t:Yt,this.valueObserved=_t(n)?n:qt,this.valueIsObservable=_t(o)?o:Ut,this.tagPropertyKey=r}getProxy(e){const t=Dt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Dt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Dt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Lt(t)){const n=new Vt(this,e);t=new Proxy(Xt(e),n),Ht(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Lt(t)){const n=new zt(this,e);t=new Proxy(Xt(e),n),Ht(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Qe,valueMutated:Je,tagPropertyKey:Jt});function Zt(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!D(n))throw new TypeError;if(!D(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=tr(this);if(!Po(t))return tt(t,e),n.call(t.elm)},set(t){const n=tr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,et(n,e)),o.call(n.elm,t)}}}const en=function(){if(_(Ao))throw new ReferenceError("Illegal constructor");const e=Ao,{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[Jt]=void 0,er(r,e),er(n,e),1===e.renderMode&&tn(e),this};function tn(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Ce(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});e.cmpRoot=i,er(i,e)}en.prototype={constructor:en,dispatchEvent(e){const{elm:t}=tr(this);return Ae(t,e)},addEventListener(e,t,n){const o=tr(this),{elm:r}=o,i=Fo(o,t);Ne(r,e,i,n)},removeEventListener(e,t,n){const o=tr(this),{elm:r}=o,i=Fo(o,t);Oe(r,e,i,n)},hasAttribute(e){const{elm:t}=tr(this);return!_(Te(t,e))},hasAttributeNS(e,t){const{elm:n}=tr(this);return!_(Te(n,t,e))},removeAttribute(e){const{elm:t}=tr(this);gt(t,e),xe(t,e),mt()},removeAttributeNS(e,t){const{elm:n}=tr(this);gt(n,t),xe(n,t,e),mt()},getAttribute(e){const{elm:t}=tr(this);return Te(t,e)},getAttributeNS(e,t){const{elm:n}=tr(this);return Te(n,t,e)},setAttribute(e,t){const n=tr(this),{elm:o}=n;gt(o,e),Se(o,e,t),mt()},setAttributeNS(e,t,n){const o=tr(this),{elm:r}=o;gt(r,t),Se(r,t,n,e),mt()},getBoundingClientRect(){const e=tr(this),{elm:t}=e;return Le(t)},get isConnected(){const{elm:e}=tr(this);return Ke(e)},get classList(){const e=tr(this),{elm:t}=e;return Pe(t)},get template(){return tr(this).cmpRoot},get shadowRoot(){return null},render(){return tr(this).def.template},toString(){return`[object ${tr(this).def.name}]`}};const nn=o(null),on=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function rn(e){switch(e){case"children":return Ie;case"childNodes":return Fe;case"firstChild":return je;case"firstElementChild":return We;case"lastChild":return Be;case"lastElementChild":return Ve}}for(const e of on)nn[e]={get(){const t=tr(this),{elm:n}=t;return rn(e)(n)},configurable:!0,enumerable:!0};const ln=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function cn(e){switch(e){case"getElementsByClassName":return De;case"getElementsByTagName":return He;case"querySelector":return _e;case"querySelectorAll":return Re}}for(const e of ln)nn[e]={value(t){const n=tr(this),{elm:o}=n;return cn(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(en.prototype,nn);const sn=o(null);for(const e in bt)sn[e]=Zt(e,bt[e]);function an(e){return{get(){const t=tr(this);return tt(t,e),t.cmpFields[e]},set(t){const n=tr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,et(n,e))},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=tr(this);return tt(t,e),t.cmpFields[e]},set(t){const n=tr(this),o=Qt.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,et(n,e))},enumerable:!0,configurable:!0}}function dn(e){return{get(){const t=tr(this);if(!Po(t))return tt(t,e),t.cmpProps[e]},set(t){const n=tr(this);n.cmpProps[e]=t,et(n,e)},enumerable:!0,configurable:!0}}r(en.prototype,sn),i(en,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class fn extends Ze{constructor(e,t){super((()=>{H(this.debouncing)&&(this.debouncing=!0,ae((()=>{if(R(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,R(e.isDirty)&&H(o)&&i>0&&qo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function hn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!D(n))throw new Error;return{get(){return n.call(this)},set(t){const n=tr(this);if(o)if(re.ENABLE_REACTIVE_SETTER){let r=n.oar[e];L(r)&&(r=n.oar[e]=new fn(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function pn(e){return{get(){const t=tr(this);return tt(t,e),t.cmpFields[e]},set(t){const n=tr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,et(n,e))},enumerable:!0,configurable:!0}}const mn=new Map;const gn={apiMethods:le,apiFields:le,apiFieldsConfig:le,wiredMethods:le,wiredFields:le,observedFields:le};const wn=new Set;function yn(){return[]}wn.add(yn);const bn=o(null),vn=o(null);function Cn(e){let t=bn[e];return L(t)&&(t=bn[e]=function(){const t=tr(this),{getHook:n}=t;return n(t.component,e)}),t}function En(e){let t=vn[e];return L(t)&&(t=vn[e]=function(t){const n=tr(this),{setHook:o}=n;t=Qt.getReadOnlyProxy(t),o(n.component,e,t)}),t}function kn(e){return function(){const t=tr(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,M.call(arguments))}}function Mn(e,t){return function(n,o,r){if(o===r)return;const i=e[n];L(i)?L(t)||t.apply(this,arguments):pt(this,n)&&(this[i]=r)}}function Tn(e,t,n){let l;D(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),i(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const c=o(null),{attributeChangedCallback:s}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];c[X(n)]=n,u[n]={get:Cn(n),set:En(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:kn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Mn(c,s)},i(l,"observedAttributes",{get:()=>[...a,...f(c)]}),r(l.prototype,u),l}const Sn=Tn(wt,s(bt),[]);function xn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Nn(e){return D(e)&&u.call(e,"__circular__")}l(Sn),h(Sn.prototype);const On=new WeakMap;function An(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=mn.get(e);return L(t)?gn:t}(e),{apiFields:c,apiFieldsConfig:s,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(_(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Nn(t)){const e=xn(t);t=e===t?en:e}return t}(e),E=C!==en?$n(C):Ln,k=Tn(E.bridge,f(c),f(u)),M=n(o(null),E.props,c),T=n(o(null),E.propsConfig,s),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 N=E.shadowSupportMode;L(t)||(N=t);let O=E.renderMode;L(i)||(O="light"===i?0:1);const A=function(e){return _o.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:M,propsConfig:T,methods:S,bridge:k,template:A,renderMode:O,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Pn(e){if(!D(e))return!1;if(e.prototype instanceof en)return!0;let t=e;do{if(Nn(t)){const e=xn(t);if(e===t)return!0;t=e}if(t===en)return!0}while(!_(t)&&(t=a(t)));return!1}function $n(e){let t=On.get(e);if(L(t)){if(Nn(e)){return t=$n(xn(e)),On.set(e,t),t}if(!Pn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=An(e),On.set(e,t)}return t}const Ln={ctor:en,name:en.name,props:sn,propsConfig:le,methods:le,renderMode:1,shadowSupportMode:"reset",wire:le,bridge:Sn,template:yn,render:en.prototype.render};function _n(e,t){return"input"===e&&("value"===t||"checked"===t)}function Rn(e,t){const{props:n}=t.data;if(L(n))return;const o=_(e)?le:e.data.props;if(o===n)return;const r=_(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(r||t!==(_n(l,e)?Ee(i,e):o[e]))&&ke(i,e,t)}}const Hn=o(null);function Dn(e){if(null==e)return le;e=F(e)?e:e+"";let t=Hn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===O.call(e,n)&&(n>r&&(t[P.call(e,r,n)]=!0),r=n+1);return n>r&&(t[P.call(e,r,n)]=!0),Hn[e]=t,t}function In(e){const{elm:t,data:{on:n}}=e;if(!L(n))for(const e in n){const o=n[e];Ne(t,e,o)}}function Fn(e,t){e.$shadowToken$=t}function jn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!L(r)&&o.hasScopedStyles&&Pe(e).add(r)}function Wn(e,t){const{elm:n,text:o}=t;e.text!==o&&Me(n,o)}function Bn(e,t,n){me(e.elm,t,n)}function Vn(e,t){ge(e.elm,t)}function Kn(e,t){_(e)&&(In(t),function(e){const{elm:t,data:{classMap:n}}=e;if(L(n))return;const o=Pe(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!L(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];$e(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=_(e)?void 0:e.data.className;if(r===o)return;const i=Pe(n),l=Dn(o),c=Dn(r);let s;for(s in c)L(l[s])&&i.remove(s);for(s in l)L(c[s])&&i.add(s)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(_(e)?void 0:e.data.style)!==o&&(F(o)&&""!==o?Se(n,"style",o):xe(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(L(n))return;const o=_(e)?le:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(gt(r,e),58===O.call(e,3)?Se(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===O.call(e,5)?Se(r,e,t,"http://www.w3.org/1999/xlink"):_(t)||L(t)?xe(r,e):Se(r,e,t),mt())}}(e,t),Rn(e,t)}function Gn(e){In(e),Rn(null,e)}function zn(e,t,n){var o;o=n,Xn.has(o)?function(e,t,n){let o=0,r=0,i=t.length-1,l=t[0],c=t[i];const s=n.length-1;let a,u,d,f,h=s,p=n[0],m=n[h];for(;o<=i&&r<=h;)lt(l)?lt(c)?lt(p)?lt(m)?it(l,p)?(ut(l,p),l=t[++o],p=n[++r]):it(c,m)?(ut(c,m),c=t[--i],m=n[--h]):it(l,m)?(ut(l,m),m.hook.move(l,e,ve(c.elm)),l=t[++o],m=n[--h]):it(c,p)?(ut(c,p),p.hook.move(c,e,l.elm),c=t[--i],p=n[++r]):(void 0===a&&(a=ct(t,o,i)),u=a[p.key],rt(u)?(p.hook.create(p),p.hook.insert(p,e,l.elm),p=n[++r]):(d=t[u],lt(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,l.elm)):(ut(d,p),t[u]=void 0,p.hook.move(d,e,l.elm))),p=n[++r])):m=n[--h]:p=n[++r]:c=t[--i]:l=t[++o];if(o<=i||r<=h)if(o>i){let t,o=h;do{t=n[++o]}while(!lt(t)&&o<s);f=lt(t)?t.elm:null,st(e,f,n,r,h)}else at(e,t,o,i)}(e,t,n):function(e,t,n){const o=t.length,r=n.length;if(0===o)return void st(e,null,n,0,r);if(0===r)return void at(e,t,0,o);let i=null;for(let o=r-1;o>=0;o-=1){const r=n[o],l=t[o];r!==l&&(lt(l)?lt(r)?(ut(l,r),i=r.elm):l.hook.remove(l,e):lt(r)&&(r.hook.create(r),r.hook.insert(r,e,i),i=r.elm))}}(e,t,n)}function Un(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:r,shadowMode:i}=t;1!==i&&0!==r||(!function(e,t){const{cmpSlots:n}=e,r=e.cmpSlots=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(_(n))continue;const{data:o}=n,i=o.attrs&&o.attrs.slot||"",l=r[i]=r[i]||[];L(n.key)||(n.key=`@${i}:${n.key}`),C.call(l,n)}if(H(e.isDirty)){const t=f(n);if(t.length!==f(r).length)return void Do(e);for(let o=0,i=t.length;o<i;o+=1){const i=t[o];if(L(r[i])||n[i].length!==r[i].length)return void Do(e);const l=n[i],c=r[i];for(let t=0,n=r[i].length;t<n;t+=1)if(l[t]!==c[t])return void Do(e)}}}(t,n),e.aChildren=n,e.children=ce)}function qn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const o=n[e];null!=o&&(o.hook.create(o),o.hook.insert(o,t,null))}}function Yn(e,t,n){let o=0;for(let n=0,r=t.length;n<r;n++){const r=t[n];if(null!=r){const t=e[o];r.hook.hydrate(r,t),o++}}}const Xn=new WeakMap;function Jn(e){e=e.toLowerCase();let t=qe(e);return L(t)?(t=class extends he{constructor(e){super(),D(e)&&e(this)}},Ue(e,t),t):t}const Qn=Symbol.iterator,Zn={create:e=>{const{owner:t}=e,n=ye(e.text);oo(n,t),e.elm=n},update:Wn,insert:Bn,move:Bn,remove:Vn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},eo={create:e=>{const{owner:t,text:n}=e,o=be(n);oo(o,t),e.elm=o},update:Wn,insert:Bn,move:Bn,remove:Vn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},to={create:e=>{const{sel:t,owner:n,data:{svg:o}}=e,r=R(o)?"http://www.w3.org/2000/svg":void 0,i=we(t,r);oo(i,n),function(e,t){const{owner:n}=t;if(jn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;L(o)||L(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),Fn(e,r)}}(i,e),e.elm=i,Kn(null,e)},update:(e,t)=>{Kn(e,t),zn(t.elm,e.children,t.children)},insert:(e,t,n)=>{Bn(e,t,n),qn(e)},move:(e,t,n)=>{Bn(e,t,n)},remove:(e,t)=>{Vn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,o=t.length;e<o;++e){const o=t[e];_(o)||o.hook.remove(o,n)}}(e)},hydrate:(e,t)=>{const n=t;e.elm=n;const{context:o}=e.data,r=Boolean(!L(o)&&!L(o.lwc)&&"manual"===o.lwc.dom);if(r){const{props:t}=e.data;L(t)||L(t.innerHTML)||(n.innerHTML===t.innerHTML?delete t.innerHTML:(i=`Mismatch hydrating element <${n.tagName.toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`,l=e.owner,ot("warn",i,l)))}var i,l;Gn(e),r||Yn(e.elm.childNodes,e.children,e.owner)}},no={create:e=>{const{sel:t,owner:n}=e,o=Jn(t),r=new o((t=>{!function(e,t){if(!L(nr(e)))return;const{sel:n,mode:o,ctor:r,owner:i}=t;if(jn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;Fn(e,t)}Zo(e,$n(r),{mode:o,owner:i,tagName:n})}(t,e)}));oo(r,n),e.elm=r;const i=nr(r);if(i)Un(e,i);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");Kn(null,e)},update:(e,t)=>{Kn(e,t);const n=nr(t.elm);n&&Un(t,n),zn(t.elm,e.children,t.children),n&&qo(n)},insert:(e,t,n)=>{Bn(e,t,n);const o=nr(e.elm);o&&cr(o),qn(e),o&&function(e){or(e)}(o)},move:(e,t,n)=>{Bn(e,t,n)},remove:(e,t)=>{Vn(e,t);const n=nr(e.elm);n&&function(e){Qo(e)}(n)},hydrate:(e,t)=>{const{sel:n,mode:o,ctor:r,owner:i}=e;Zo(t,$n(r),{mode:o,owner:i,tagName:n}),e.elm=t;const l=tr(t);Un(e,l),Gn(e),cr(l),0!==l.renderMode&&Yn(e.elm.childNodes,e.children),Jo(l)}};function oo(e,t){const{renderMode:n,shadowMode:o}=t;fe&&(1!==o&&0!==n||(e.$shadowResolver$=hr(t).$shadowResolver$))}function ro(e,t,n){const o=So();const{key:r}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:r,hook:to,owner:o}}function io(e,t,n,o=ce){const r=So(),{key:i}=n;const l={sel:e,data:n,children:o,text:undefined,elm:undefined,key:i,hook:no,ctor:t,owner:r,mode:"open"};return function(e){C.call(So().velements,e)}(l),l}const lo=new Map;let co=0;function so(e){var t;return t=e,Xn.set(t,1),e}let ao=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const uo=l({s:function(e,t,n,o){L(o)||L(o[e])||0===o[e].length||(n=o[e]);const r=So(),{renderMode:i,shadowMode:l}=r;return 0===i?(so(n),n):(1===l&&so(n),ro("slot",t,n))},h:ro,c:io,i:function(e,t){const n=[];if(so(n),L(e)||null===e)return n;const o=e[Qn]();let r=o.next(),i=0,{value:l,done:c}=r;for(;!1===c;){r=o.next(),c=r.done;const e=t(l,i,0===i,!0===c);m(e)?C.apply(n,e):C.call(n,e),i+=1,l=r.value}return n},f:function(e){const t=e.length,n=[];so(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{sel:undefined,data:le,children:undefined,text:e,elm:undefined,key:undefined,hook:Zn,owner:So()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=So();if(_(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{sel:undefined,data:le,children:undefined,text:e,elm:undefined,key:undefined,hook:eo,owner:So()}},dc:function(e,t,n,o){if(null==t)return null;if(!Pn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let r=lo.get(t);return L(r)&&(r=co++,lo.set(t,r)),n.key=`dc:${r}:${n.key}`,io(e,t,n,o)},ti:function(e){return e>0&&!(R(e)||H(e))?0:e},gid:function(e){const t=So();if(L(e)||""===e)return e;if(_(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=So();if(L(e)||""===e)return e;if(_(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ao(e)}});function fo(e){return`${e}-host`}function ho(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let l=e[i];if(m(l))C.apply(o,ho(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!e:0===n.shadowMode;let s;1===n.renderMode?s=0===n.shadowMode:(L(r)&&(r=mo(n)),s=_(r)||0===r.shadowMode),C.call(o,l(i,c,s))}}return o}function po(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return L(n)||0===n.length||(r=ho(n,o,e)),r}function mo(e){let t=e;for(;!_(t);){if(1===t.renderMode)return t;t=t.owner}return t}function go(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Ge(t[e]);else{if(ue||pe()){const e=b.call(t,"\n");return r=e,uo.h("style",{key:"style",attrs:{type:"text/css"}},[uo.t(r)])}{const n=function(e){const t=mo(e);return _(t)||1!==t.shadowMode?t:null}(e),o=_(n);for(let e=0;e<t.length;e++)o?Ge(t[e]):ze(t[e],n.cmpRoot)}}var r;return null}let wo=!1,yo=j;const bo={enableProfiler(){wo=!0},disableProfiler(){wo=!1},attachDispatcher(e){yo=e,this.enableProfiler()},detachDispatcher(){const e=yo;return yo=j,this.disableProfiler(),e}};function vo(e,t){wo&&yo(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Co(e,t){wo&&yo(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Eo(e,t){wo&&yo(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 ko(e,t){wo&&yo(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 Mo=!1,To=null;function So(){return To}function xo(e){To=e}function No(e,t){const n=Mo,r=To;let i=[];return fr(e,e.owner,(()=>{To=e,vo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:l,cmpTemplate:c,tro:s}=e;s.observe((()=>{if(t!==c){if(_(c)||dr(e),s=t,!wn.has(s))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: ${B(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!L(t))for(let e=0;e<t.length;e++)if(R(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:l,stylesheetToken:c}=t,s=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;p&&Pe(n).remove(fo(h)),m&&xe(n,fo(h)),L(l)||0===l.length||(u=c),L(u)||(a&&(Pe(n).add(fo(u)),d=!0),s&&(Se(n,fo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=po(e,t);r.styleVNode=0===n.length?null:go(e,n)}var s;e.velements=[],Mo=!0,i=t.call(void 0,uo,n,l,r.tplCache);const{styleVNode:a}=r;_(a)||S.call(i,a)}))}),(()=>{Mo=n,To=r,Co(1,e)})),i}function Oo(e,t){if(!d(t)&&L(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!_(n);)C.call(t,nt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}let Ao=null;function Po(e){return Ao===e}function $o(e,t,n){const{component:o,callHook:r,owner:i}=e;fr(e,i,j,(()=>{r(o,t,n)}),j)}function Lo(e,t,n,o){const{callHook:r,owner:i}=e;fr(e,i,j,(()=>{r(n,t,[o])}),j)}const _o=new Map;function Ro(e){return new Ze((()=>{const{isDirty:t}=e;H(t)&&(Do(e),function(e){if(R(ue)||R(e.isScheduled))return;e.isScheduled=!0,0===ir.length&&ae(lr);C.call(ir,e)}(e))}))}function Ho(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=So();let l,c=!1;return fr(e,r,(()=>{xo(e)}),(()=>{e.tro.observe((()=>{l=n(o,t),c=!0}))}),(()=>{xo(i)})),c?No(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Do(e){e.isDirty=!0}const Io=new WeakMap;function Fo(e,t){if(!D(t))throw new TypeError;let n=Io.get(t);return L(n)&&(n=function(n){Lo(e,t,void 0,n)},Io.set(t,n)),n}const jo=o(null),Wo=["rendered","connected","disconnected"];function Bo(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 Vo=0;const Ko=new WeakMap;function Go(e,t,n=[]){return t.apply(e,n)}function zo(e,t,n){e[t]=n}function Uo(e,t){return e[t]}function qo(e){or(e)}function Yo(e){const t=tr(e);Eo(7,t),1===t.state&&Xo(e),cr(t),or(t),ko(7,t)}function Xo(e){Qo(tr(e))}function Jo(e){!function(e){if(R(e.isDirty)){const t=Ho(e);e.children=t;Yn(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),rr(e)}}(e)}function Qo(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){H(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=jo;t&&Bo(e,t);sr(e)&&function(e){const{wiredDisconnecting:t}=e.context;fr(e,e,j,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),j)}(e);const{disconnectedCallback:n}=e.def;L(n)||(vo(5,e),$o(e,n),Co(5,e))}(e),ar(e),function(e){const{aChildren:t}=e;ur(t)}(e)}}function Zo(e,t,n){const{mode:r,owner:i,tagName:l}=n,c={elm:e,def:t,idx:Vo++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:r,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:le,wiredConnecting:ce,wiredDisconnecting:ce},tro:null,component:null,cmpRoot:null,callHook:Go,setHook:zo,getHook:Uo};return c.shadowMode=function(e){const{def:t}=e;let n;if(fe)if(0===t.renderMode)n=0;else if(de)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!_(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=_(t)||0!==t.shadowMode?1:0}else n=1;else n=0;return n}(c),c.tro=Ro(c),function(e,t){const n=Ao;let o;vo(0,e),Ao=e;try{const r=new t;if(Ao.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(Co(0,e),Ao=n,!L(o))throw Oo(e,o),o}}(c,t.ctor),sr(c)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=pr.get(i);if(!L(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:c}=gr(e,t,l),s=l.dynamic.length>0;C.call(o,(()=>{n.connect(),re.ENABLE_WIRE_SYNC_EMIT||!s?i():Promise.resolve().then(i)})),C.call(r,(()=>{n.disconnect(),c()}))}}}(c),c}function er(e,t){Ko.set(e,t)}function tr(e){return Ko.get(e)}function nr(e){return Ko.get(e)}function or(e){if(R(e.isDirty)){!function(e,t){const{children:n}=e;e.children=t,(t.length>0||n.length>0)&&n!==t&&fr(e,e,(()=>{vo(2,e)}),(()=>{zn(hr(e),n,t)}),(()=>{Co(2,e)}));1===e.state&&rr(e)}(e,Ho(e))}}function rr(e){const{def:{renderedCallback:t}}=e;if(R(ue))return;const{rendered:n}=jo;n&&Bo(e,n),L(t)||(vo(4,e),$o(e,t),Co(4,e))}let ir=[];function lr(){Eo(8);const e=ir.sort(((e,t)=>e.idx-t.idx));ir=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{or(o)}catch(o){throw t+1<n&&(0===ir.length&&ae(lr),S.apply(ir,M.call(e,t+1))),ko(8),o}}ko(8)}function cr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=jo;n&&Bo(e,n),sr(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;L(o)||(vo(3,e),$o(e,o),Co(3,e))}function sr(e){return s(e.def.wire).length>0}function ar(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!L(n)){const e=nr(n);L(e)||Qo(e)}}}function ur(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];_(n)||!m(n.children)||L(n.elm)||(L(n.ctor)?ur(n.children):Qo(tr(n.elm)))}}function dr(e){const{children:t}=e,n=hr(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];_(o)||L(o.elm)||ge(o.elm,n)}e.children=ce,ar(e),e.velements=ce}function fr(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!L(i)){Oo(e,i);const n=_(t)?void 0:function(e){let t=e;for(;!_(t);){if(!L(t.def.errorCallback))return t;t=t.owner}}(t);if(L(n))throw i;dr(e),vo(6,e);$o(n,n.def.errorCallback,[i,i.wcStack]),Co(6,e)}}}function hr(e){return 1===e.renderMode?e.cmpRoot:e.elm}const pr=new Map;class mr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function gr(e,t,n){const{method:o,adapter:r,configCallback:l,dynamic:c}=n,s=L(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,et(e,t))}}(e,t):function(e,t){return n=>{fr(e,e.owner,j,(()=>{t.call(e.component,n)}),j)}}(e,o);let a,u;i(s,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(s,"$$DeprecatedWiredParamsMetaKey$$",{value:c}),fr(e,e,j,(()=>{u=new r(s)}),j);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new Ze((()=>{!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,l,(t=>{fr(e,e,j,(()=>{u.update(t,a)}),j)}));return L(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=yr(o);if(L(r))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:c}}=e;C.call(l,(()=>{const e=new mr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(c,e)}});Ae(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const wr=new Map;function yr(e){return wr.get(e)}function br(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};pr.set(e,r)}function vr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};pr.set(e,r)}let Cr=!1;const Er=o(null),kr=document.head||document.body||document,Mr=D(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Tr=o(null),Sr=o(null),xr=new WeakMap;let Nr,Or,Ar;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}}())Nr=customElements.get.bind(customElements),Or=customElements.define.bind(customElements),Ar=HTMLElement;else{const e=o(null),t=new WeakMap;Or=function(n,o){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},Nr=function(t){return e[t]},Ar=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},Ar.prototype=HTMLElement.prototype}let Pr=!1;function $r(e){Pr=e}const Lr=U.$isNativeShadowRootDefined$,_r=u.call(Element.prototype,"$shadowToken$");Ce=function(e,t){return Pr?e.shadowRoot:e.attachShadow(t)},be=function(e){return document.createComment(e)},we=function(e,t){return L(t)?document.createElement(e):document.createElementNS(t,e)},ye=function(e){return document.createTextNode(e)},Ue=Or,Ae=function(e,t){return e.dispatchEvent(t)},Te=function(e,t,n){return L(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Le=function(e){return e.getBoundingClientRect()},Fe=function(e){return e.childNodes},Ie=function(e){return e.children},Pe=function(e){return e.classList},qe=Nr,De=function(e,t){return e.getElementsByClassName(t)},He=function(e,t){return e.getElementsByTagName(t)},je=function(e){return e.firstChild},We=function(e){return e.firstElementChild},Be=function(e){return e.lastChild},Ve=function(e){return e.lastElementChild},Ee=function(e,t){return e[t]},he=Ar,me=function(e,t,n){t.insertBefore(e,n)},Ge=function(e){if(!L(Er[e]))return;Er[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,kr.appendChild(t)},ze=function(e,t){Mr?function(e,t){let n=Sr[e];L(n)&&(n=new CSSStyleSheet,n.replaceSync(e),Sr[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=xr.get(t);if(L(n)&&(n=o(null),xr.set(t,n)),n[e])return;n[e]=!0;let r=Tr[e];L(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,Tr[e]=r):r=r.cloneNode(!0),t.appendChild(r)}(e,t)},Ke=function(e){return e.isConnected},pe=function(){return Pr},de=Lr,fe=_r,ve=function(e){return e.nextSibling},_e=function(e,t){return e.querySelector(t)},Re=function(e,t){return e.querySelectorAll(t)},ge=function(e,t){t.removeChild(e)},xe=function(e,t,n){L(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Oe=function(e,t,n,o){e.removeEventListener(t,n,o)},Se=function(e,t,n,o){return L(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},$e=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},ke=function(e,t,n){e[t]=n},Me=function(e,t){e.nodeValue=t},ue=!1,Ne=function(e,t,n,o){e.addEventListener(t,n,o)};const Rr=Node,Hr=new WeakMap,Dr=new WeakMap;function Ir(e,t){const n=t.get(e);return L(n)||n(e),e}const{appendChild:Fr,insertBefore:jr,removeChild:Wr,replaceChild:Br}=Rr.prototype;function Vr(e,t){if(!I(t)||_(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${B(t)}".`);const n=t.is;if(!D(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=Jn(e);let r=!1;const i=new o((o=>{Zo(o,$n(n),{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Hr.set(o,Yo),Dr.set(o,Xo),r=!0}));return r||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i}n(Rr.prototype,{appendChild(e){return Ir(Fr.call(this,e),Hr)},insertBefore(e,t){return Ir(jr.call(this,e,t),Hr)},removeChild(e){return Ir(Wr.call(this,e),Dr)},replaceChild(e,t){const n=Br.call(this,e,t);return Ir(n,Dr),Ir(e,Hr),n}});const Kr=Node;const Gr=new Map;function zr(e){if(e===en)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Gr.get(e);return L(t)&&(t=function(e){const t=$n(e);return class extends t.bridge{constructor(){super(),Zo(this,t,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Yo(this)}disconnectedCallback(){Xo(this)}}}(e),Gr.set(e,t)),t}i(en,"CustomElementConstructor",{get(){return zr(this)}}),l(en),h(en.prototype),e.LightningElement=en,e.__unstable__ProfilerControl=bo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=yr(e);if(!L(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){wr.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((()=>{L(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=Vr,e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=nr(e);L(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=$n(e),{ctor:n,name:o,props:r,propsConfig:i,methods:l}=t,c={};for(const e in r)c[e]={config:i[e]||0,type:"any",attr:X(e)};const s={};for(const e in l)s[e]=l[e].value;return{ctor:n,name:o,props:c,methods:s}},e.hydrateComponent=function(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(!D(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||_(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);const o=$n(t);try{$r(!0),Zo(e,o,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,o]of Object.entries(n))e[t]=o;!function(e){const t=tr(e);cr(t),Jo(t)}(e),$r(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),$r(!1);const r=Vr(e.tagName,{is:t,mode:"open"});for(const[e,t]of Object.entries(n))r[e]=t;e.parentNode.replaceChild(r,e)}},e.isComponentConstructor=Pn,e.isNodeFromTemplate=function(e){return!H(e instanceof Kr)&&(!(e instanceof ShadowRoot)&&(_r?!L(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return Qt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Wo.length;++t){const n=Wo[t];if(n in e){let t=jo[n];L(t)&&(jo[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return _o.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:l,wire:s,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(!L(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=c(n,e),t.config>0){if(L(w))throw new Error;w=hn(e,w)}else w=L(w)||L(w.get)?dn(e):hn(e,w);f[e]=w,i(n,e,w)}if(L(l)||x.call(l,(e=>{if(w=c(n,e),L(w))throw new Error;d[e]=w})),!L(s))for(const e in s){const{adapter:t,method:o,config:r,dynamic:l=[]}=s[e];if(w=c(n,e),1===o){if(L(w))throw new Error;h[e]=w,br(w,t,r,l)}else w=an(e),p[e]=w,vr(w,t,r,l),i(n,e,w)}if(!L(a))for(const e in a)w=c(n,e),w=un(e),i(n,e,w);if(!L(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=c(n,t);const o=!L(r)&&t in r,i=!L(a)&&t in a;o||i||(m[t]=pn(t))}return function(e,t){mn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return wn.add(e),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(L(oe[e])){const n=f(oe).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=re[e];if(!L(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(re,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(Cr,"Hooks are already overridden, only one definition is allowed."),Cr=!0,n=e.sanitizeHtmlContent,ao=n},e.swapComponent=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Qt.getProxy(e);throw new Error},e.unwrap=function(e){return Qt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));