lwc 2.28.0 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +47 -24
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +47 -24
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +40 -18
  5. package/dist/engine-dom/iife/es5/engine-dom.js +49 -24
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +42 -18
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +47 -24
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +40 -18
  11. package/dist/engine-dom/umd/es5/engine-dom.js +49 -24
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +42 -18
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +41 -18
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +41 -18
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +7 -7
@@ -305,9 +305,9 @@
305
305
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
306
306
  */
307
307
  // Increment whenever the LWC template compiler changes
308
- const LWC_VERSION = "2.28.0";
308
+ const LWC_VERSION = "2.29.0";
309
309
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
310
- /** version: 2.28.0 */
310
+ /** version: 2.29.0 */
311
311
 
312
312
  /**
313
313
  * Copyright (C) 2018 salesforce.com, inc.
@@ -389,7 +389,7 @@
389
389
  patch$1(propName);
390
390
  }
391
391
  }
392
- /** version: 2.28.0 */
392
+ /** version: 2.29.0 */
393
393
 
394
394
  /**
395
395
  * Copyright (C) 2018 salesforce.com, inc.
@@ -469,7 +469,7 @@
469
469
  setFeatureFlag(name, value);
470
470
  }
471
471
  }
472
- /** version: 2.28.0 */
472
+ /** version: 2.29.0 */
473
473
 
474
474
  /*
475
475
  * Copyright (c) 2018, salesforce.com, inc.
@@ -3692,6 +3692,9 @@
3692
3692
  function isVCustomElement(vnode) {
3693
3693
  return vnode.type === 3 /* VNodeType.CustomElement */;
3694
3694
  }
3695
+ function isVFragment(vnode) {
3696
+ return vnode.type === 5 /* VNodeType.Fragment */;
3697
+ }
3695
3698
  function isVScopedSlotFragment(vnode) {
3696
3699
  return vnode.type === 6 /* VNodeType.ScopedSlotFragment */;
3697
3700
  }
@@ -4580,26 +4583,26 @@
4580
4583
 
4581
4584
  return vm;
4582
4585
  }
4586
+ /**
4587
+ * Collects all slots into a SlotSet, traversing through VFragment Nodes
4588
+ */
4583
4589
 
4584
- function allocateInSlot(vm, children, owner) {
4585
- var _a, _b;
4586
4590
 
4587
- const {
4588
- cmpSlots: {
4589
- slotAssignments: oldSlotsMapping
4590
- }
4591
- } = vm;
4592
- const cmpSlotsMapping = create(null);
4593
- vm.cmpSlots = {
4594
- owner,
4595
- slotAssignments: cmpSlotsMapping
4596
- };
4591
+ function collectSlots(vm, children, cmpSlotsMapping) {
4592
+ var _a, _b;
4597
4593
 
4598
4594
  for (let i = 0, len = children.length; i < len; i += 1) {
4599
4595
  const vnode = children[i];
4600
4596
 
4601
4597
  if (isNull(vnode)) {
4602
4598
  continue;
4599
+ } // Dive further iff the content is wrapped in a VFragment
4600
+
4601
+
4602
+ if (isVFragment(vnode)) {
4603
+ // Remove the text delimiter nodes to avoid overriding default slot content
4604
+ collectSlots(vm, vnode.children.slice(1, -1), cmpSlotsMapping);
4605
+ continue;
4603
4606
  }
4604
4607
 
4605
4608
  let slotName = '';
@@ -4613,6 +4616,20 @@
4613
4616
  const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
4614
4617
  ArrayPush$1.call(vnodes, vnode);
4615
4618
  }
4619
+ }
4620
+
4621
+ function allocateInSlot(vm, children, owner) {
4622
+ const {
4623
+ cmpSlots: {
4624
+ slotAssignments: oldSlotsMapping
4625
+ }
4626
+ } = vm;
4627
+ const cmpSlotsMapping = create(null);
4628
+ collectSlots(vm, children, cmpSlotsMapping);
4629
+ vm.cmpSlots = {
4630
+ owner,
4631
+ slotAssignments: cmpSlotsMapping
4632
+ };
4616
4633
 
4617
4634
  if (isFalse(vm.isDirty)) {
4618
4635
  // We need to determine if the old allocation is really different from the new one
@@ -7098,11 +7115,12 @@
7098
7115
  }
7099
7116
  }
7100
7117
  let nodesAreCompatible = true;
7101
- let vnodeClassName;
7102
- if (!isUndefined$1(className) && String(className) !== getProperty(elm, 'className')) {
7118
+ let readableVnodeClassname;
7119
+ const elmClassName = getProperty(elm, 'className');
7120
+ if (!isUndefined$1(className) && String(className) !== elmClassName) {
7103
7121
  // className is used when class is bound to an expr.
7104
7122
  nodesAreCompatible = false;
7105
- vnodeClassName = className;
7123
+ readableVnodeClassname = className;
7106
7124
  }
7107
7125
  else if (!isUndefined$1(classMap)) {
7108
7126
  // classMap is used when class is set to static value.
@@ -7115,14 +7133,19 @@
7115
7133
  nodesAreCompatible = false;
7116
7134
  }
7117
7135
  }
7118
- vnodeClassName = computedClassName.trim();
7136
+ readableVnodeClassname = computedClassName.trim();
7119
7137
  if (classList.length > keys(classMap).length) {
7120
7138
  nodesAreCompatible = false;
7121
7139
  }
7122
7140
  }
7141
+ else if (isUndefined$1(className) && elmClassName !== '') {
7142
+ // SSR contains a className but client-side VDOM does not
7143
+ nodesAreCompatible = false;
7144
+ readableVnodeClassname = '';
7145
+ }
7123
7146
  if (!nodesAreCompatible) {
7124
7147
  if (process.env.NODE_ENV !== 'production') {
7125
- logError(`Mismatch hydrating element <${getProperty(elm, 'tagName').toLowerCase()}>: attribute "class" has different values, expected "${vnodeClassName}" but found "${getProperty(elm, 'className')}"`, vnode.owner);
7148
+ logError(`Mismatch hydrating element <${getProperty(elm, 'tagName').toLowerCase()}>: attribute "class" has different values, expected "${readableVnodeClassname}" but found "${elmClassName}"`, vnode.owner);
7126
7149
  }
7127
7150
  }
7128
7151
  return nodesAreCompatible;
@@ -7336,7 +7359,7 @@
7336
7359
  }
7337
7360
  return ctor;
7338
7361
  }
7339
- /* version: 2.28.0 */
7362
+ /* version: 2.29.0 */
7340
7363
 
7341
7364
  /*
7342
7365
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8192,7 +8215,7 @@
8192
8215
  function isNull(obj) {
8193
8216
  return obj === null;
8194
8217
  }
8195
- /** version: 2.28.0 */
8218
+ /** version: 2.29.0 */
8196
8219
 
8197
8220
  /*
8198
8221
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8771,7 +8794,7 @@
8771
8794
  });
8772
8795
  freeze(LightningElement);
8773
8796
  seal(LightningElement.prototype);
8774
- /* version: 2.28.0 */
8797
+ /* version: 2.29.0 */
8775
8798
 
8776
8799
  exports.LightningElement = LightningElement;
8777
8800
  exports.__unstable__ProfilerControl = profilerControl;
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:b,filter:y,find:v,indexOf:E,join:C,map:M,pop:S,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:x,splice:O,unshift:P,forEach:D}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:R,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function V(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function U(e){return"function"==typeof e}function G(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const Y={}.toString;function q(e){return e&&e.toString?m(e)?C.call(M.call(e,q),","):e.toString():"object"==typeof e?Y.call(e):e+""}function X(e,t){do{const n=l(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const J=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Q,AriaPropNameToAttrNameMap:Z}=(()=>{const e=r(null),t=r(null);return D.call(J,(n=>{const r=H.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ee=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),te="http://www.w3.org/2000/svg",ne=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),re=new Map;function oe(e){const t=Z[e];if(!B(t))return t;const n=ne.get(e);if(!B(n))return n;const r=re.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return re.set(e,o),o}function ie(e){return void 0===l(Element.prototype,e)}const se=new WeakMap;function le(e){let t=se.get(e);return void 0===t&&(t={},se.set(e,t)),t}function ce(e,t){return{get(){const n=le(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;le(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ae(e){const t=ce(e,Z[e]);Object.defineProperty(Element.prototype,e,t)}const ue=f(Z);for(let e=0,t=ue.length;e<t;e+=1){const t=ue[e];ie(t)&&ae(t)}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:r(null)});const fe=ee.lwcRuntimeFlags;let he=[];const pe=h(r(null)),me=h([]);function ge(){const e=he;he=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function we(e){0===he.length&&Promise.resolve().then(ge),T.call(he,e)}const be=/;(?![^(]*\))/g,ye=/:(.+)/;function ve(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ee(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ce=new WeakMap;let Me=null;function Se(e,t){const n=Ce.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Te(e,t){if(null===Me)return;const n=Me,o=function(e){let t=Ce.get(e);if(B(t)){const n=r(null);t=n,Ce.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===E.call(i,n)&&n.link(i)}class ke{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Me;let n;Me=this;try{e()}catch(e){n=Object(e)}finally{if(Me=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=E.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){T.call(e,this),T.call(this.listeners,e)}}function Ae(e,t){Se(e.component,t)}function Ne(e,t){Te(e.component,t)}function Le(e){return new ke(e)}function _e(e){return`<${H.call(e.tagName)}>`}function xe(e,t){if(!d(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,_e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Oe(e,t,n){let r=`[LWC ${e}]: ${t}`;B(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+_e(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Pe(e,t){Oe("error",e,t)}function De(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function $e(e){return U(e)&&u.call(e,"__circular__")}const Re="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ie=Re.prototype;function Fe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Fe("offsetHeight")},offsetLeft:{readOnly:!0,error:Fe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Fe("offsetTop")},offsetWidth:{readOnly:!0,error:Fe("offsetWidth")},role:{attribute:"role"}});let He,Be=null;function Ve(e,t){return e!==Be||t!==He}function We(e,t){Be=null,He=void 0}function je(e,t){Be=e,He=t}const Ue=r(null);function Ge(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ae(e,t))}D.call(f(Z),(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)})),D.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)}));const{isArray:ze}=Array,{prototype:Ke,getPrototypeOf:Ye,create:qe,defineProperty:Xe,isExtensible:Je,getOwnPropertyDescriptor:Qe,getOwnPropertyNames:Ze,getOwnPropertySymbols:et,preventExtensions:tt,hasOwnProperty:nt}=Object,{push:rt,concat:ot}=Array.prototype;function it(e){return void 0===e}function st(e){return"function"==typeof e}const lt=new WeakMap;function ct(e,t){lt.set(e,t)}const at=e=>lt.get(e)||e;class ut{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(nt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.wrapGetter(n)),it(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Qe(n,t);if(!it(r)){const n=this.wrapDescriptor(r);Xe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ot.call(Ze(t),et(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;it(n)||nt.call(e,n)||Xe(e,n,qe(null)),tt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=it(n)||nt.call(t,n)?[]:[n];return rt.apply(r,Ze(t)),rt.apply(r,et(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Je(e)&&(!!Je(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ye(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Qe(n,t);if(it(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Xe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const dt=new WeakMap,ft=new WeakMap,ht=new WeakMap,pt=new WeakMap;class mt extends ut{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=dt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return dt.set(e,r),ht.set(r,e),r}wrapSetter(e){const t=ft.get(e);if(!it(t))return t;const n=function(t){e.call(at(this),at(t))};return ft.set(e,n),pt.set(n,e),n}unwrapDescriptor(e){if(nt.call(e,"value"))e.value=at(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.unwrapGetter(n)),it(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ht.get(e);if(!it(t))return t;const n=this,r=function(){return at(e.call(n.wrapValue(this)))};return dt.set(r,e),ht.set(e,r),r}unwrapSetter(e){const t=pt.get(e);if(!it(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ft.set(r,e),pt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&ze(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Je(e)){const{originalTarget:t}=this;if(tt(t),Je(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!nt.call(r,t)||(Xe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const gt=new WeakMap,wt=new WeakMap;class bt extends ut{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=gt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return gt.set(e,r),r}wrapSetter(e){const t=wt.get(e);if(!it(t))return t;const n=function(e){};return wt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function yt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ze(e))return!0;const t=Ye(e);return t===Ke||null===t||null===Ye(t)}const vt=(e,t)=>{},Et=(e,t)=>{};function Ct(e){return ze(e)?[]:{}}const Mt=Symbol.for("@@lockerLiveValue"),St=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=st(t)?t:Et,this.valueObserved=st(n)?n:vt,this.valueIsObservable=st(r)?r:yt,this.tagPropertyKey=o}getProxy(e){const t=at(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=at(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return at(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(it(t)){const n=new mt(this,e);t=new Proxy(Ct(e),n),ct(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(it(t)){const n=new bt(this,e);t=new Proxy(Ct(e),n),ct(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Te,valueMutated:Se,tagPropertyKey:Mt});function Tt(e){return St.getReadOnlyProxy(e)}function kt(e){return St.getProxy(e)}function At(e){e[Mt]=void 0}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Pr(this);if(!ur(t))return Ne(t,e),n.call(t.elm)},set(t){const n=Pr(this);return Ge(n,e,t),r.call(n.elm,t)}}}const Lt=s(r(null)),_t=new WeakMap,xt=function(){if(V(ar))throw new TypeError("Illegal constructor");const e=ar,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return At(this),Or(o,e),Or(n,e),1===e.renderMode?e.renderRoot=Ot(e):e.renderRoot=n,this};function Ot(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Or(s,e),s}xt.prototype={constructor:xt,dispatchEvent(e){const t=Pr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Pr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,br(r,t),n)},removeEventListener(e,t,n){const r=Pr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,br(r,t),n)},hasAttribute(e){const t=Pr(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=Pr(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=Pr(this),{elm:n,renderer:{removeAttribute:r}}=t;je(n,e),r(n,e),We()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Pr(this);je(n,t),r(n,t,e),We()},getAttribute(e){const t=Pr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Pr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Pr(this),{elm:r,renderer:{setAttribute:o}}=n;je(r,e),o(r,e,t),We()},setAttributeNS(e,t,n){const r=Pr(this),{elm:o,renderer:{setAttribute:i}}=r;je(o,t),i(o,t,n,e),We()},getBoundingClientRect(){const e=Pr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Pr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Pr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Pr(this).shadowRoot},get refs(){const e=Pr(this);if(er)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(V(t))return Lt;let i=_t.get(t);if(B(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),_t.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Pr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Pr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Pr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Pr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Pr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Pr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Pr(this).def.template},toString(){return`[object ${Pr(this).def.name}]`}};const Pt=r(null),Dt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Dt)Pt[e]={value(t){const n=Pr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(xt.prototype,Pt);const $t=r(null);for(const e in Ue)$t[e]=Nt(e,Ue[e]);function Rt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Pr(this),e,t)},enumerable:!0,configurable:!0}}o(xt.prototype,$t),i(xt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class It extends ke{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,we((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,W(e.isDirty)&&j(r)&&i>0&&Ar(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ft(e){return{get(){const t=Pr(this);if(!ur(t))return Ne(t,e),t.cmpProps[e]},set(t){const n=Pr(this);n.cmpProps[e]=t,Ae(n,e)},enumerable:!0,configurable:!0}}function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Pr(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];B(o)&&(o=n.oar[e]=function(e,t){return new It(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Bt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){const n=Pr(this),r=kt(t);Ge(n,e,r)},enumerable:!0,configurable:!0}}function Vt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Pr(this),e,t)},enumerable:!0,configurable:!0}}const Wt=new Map;const jt={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const Ut=new Set;function Gt(){return[]}Ut.add(Gt);const zt=r(null),Kt=r(null);function Yt(e){let t=zt[e];return B(t)&&(t=zt[e]=function(){const t=Pr(this),{getHook:n}=t;return n(t.component,e)}),t}function qt(e){let t=Kt[e];return B(t)&&(t=Kt[e]=function(t){const n=Pr(this),{setHook:r}=n;t=Tt(t),r(n.component,e,t)}),t}function Xt(e){return function(){const t=Pr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function Jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];B(i)?B(t)||t.apply(this,arguments):Ve(this,n)&&(this[i]=o)}}function Qt(e,t,n){let s;U(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[oe(n)]=n,u[n]={get:Yt(n),set:qt(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Xt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Jt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Zt=Qt(Re,c(Ue),[]);s(Zt),h(Zt.prototype);const en=new WeakMap;function tn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Wt.get(e);return B(t)?jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if($e(t)){const e=De(t);t=e===t?xt:e}return t}(e),C=E!==xt?rn(E):on,M=Qt(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,b=b||C.renderedCallback,y=y||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;B(t)||(N=t);let L=C.renderMode;B(i)||(L="light"===i?0:1);const _=function(e){return hr.get(e)}(e)||C.template,x=e.name||C.name;o(m,p);return{ctor:e,name:x,wire:A,props:S,propsConfig:T,methods:k,bridge:M,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}}function nn(e){if(!U(e))return!1;if(e.prototype instanceof xt)return!0;let t=e;do{if($e(t)){const e=De(t);if(e===t)return!0;t=e}if(t===xt)return!0}while(!V(t)&&(t=a(t)));return!1}function rn(e){let t=en.get(e);if(B(t)){if($e(e)){return t=rn(De(e)),en.set(e,t),t}if(!nn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=tn(e),en.set(e,t)}return t}const on={ctor:xt,name:xt.name,props:$t,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Zt,template:Gt,render:xt.prototype.render};function sn(e){return`${e}-host`}function ln(e){return zn.h("style",{key:"style",attrs:{type:"text/css"}},[zn.t(e)])}function cn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))T.apply(r,cn(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Pe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(B(o)&&(o=un(n)),c=V(o)||0===o.shadowMode),T.call(r,s(i,l,c))}}return r}function an(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return B(n)||0===n.length||(o=cn(n,r,e)),o}function un(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function dn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function fn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return M.call(t,ln);{const n=function(e){const t=un(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function hn(e){const{type:t}=e;return 2===t||3===t}function pn(e,t){return e.key===t.key&&e.sel===t.sel}function mn(e){return 6===e.type}function gn(e,t){return"input"===e&&("value"===t||"checked"===t)}function wn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(B(o)&&B(i))return;let s;if(!V(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;B(s)&&(s=pe),B(t)||(s=n({},s,t))}B(i)||(o=n({},o,i));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(gn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const bn=r(null);function yn(e){if(null==e)return pe;e=z(e)?e:e+"";let t=bn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===R.call(e,n)&&(n>o&&(t[F.call(e,o,n)]=!0),o=n+1);return n>o&&(t[F.call(e,o,n)]=!0),bn[e]=t,t}function vn(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function En(e,t,n,r){var o;o=t,Rn.has(o)?Fn(e,t,n,r):Hn(e,t,n,r)}function Cn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&_n(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Hn(e.children,o,n,r):Fn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Pn(e,t,n),En(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);kn(e,n,r,!0),Sn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Pn(e,t,r),B(o)||$n(t,o),En(e.children,t.children,n,r),B(o)||Ar(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Mn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Ln(s,o,r),xn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Ln(s,o,r),xn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Ln(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));xn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Tn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=W(s)?te:void 0,a=e.elm=l(o,c);Ln(a,i,r),Dn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Pn(null,e,r),xn(a,t,n,r),Tn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Sn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Sn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const c=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Dr(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=xr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Nr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Lr(e)}));e.elm=c,e.vm=l,Ln(c,i,r),Dn(c,i,r),l&&$n(e,l),Pn(null,e,r),xn(c,t,n,r),l&&(fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Hr(l)),Tn(e.children,c,r,null),l&&function(e){$r(e)}(l)}function Tn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Nn(i)&&Mn(i,t,n,r)}}function kn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?An(e.children,t,n,r):On(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;An(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){_r(e)}(t)}}}function An(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Nn(i)&&kn(i,t,n,r)}}function Nn(e){return null!=e}function Ln(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function _n(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function xn(e,t,n,r){r.insert(e,t,n)}function On(e,t,n){n.remove(e,t)}function Pn(e,t,n){V(e)&&(vn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(B(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=V(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=yn(o),a=yn(i);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;z(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=V(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(je(i,e),58===R.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):V(t)||B(t)?l(i,e):s(i,e,t),We())}}(e,t,n),wn(e,t,n)}function Dn(e,t,n){const r=dn(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function $n(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=r(null);e.cmpSlots={owner:n,slotAssignments:l};for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";hn(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":mn(n)&&(r=n.slotName);const s=l[r]=l[r]||[];T.call(s,n)}if(j(e.isDirty)){const t=f(s);if(t.length!==f(l).length)return void gr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(l[r])||s[r].length!==l[r].length)return void gr(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void gr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=me)}const Rn=new WeakMap;function In(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Nn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Fn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)Nn(l)?Nn(c)?Nn(m)?Nn(g)?pn(l,m)?(Cn(l,m,n,r),l=e[++o],m=t[++i]):pn(c,g)?(Cn(c,g,n,r),c=e[--s],g=t[--p]):pn(l,g)?(Cn(l,g,n,r),xn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):pn(c,m)?(Cn(c,m,n,r),xn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=In(e,o,s)),d=u[m.key],B(d)?(Mn(m,n,r,l.elm),m=t[++i]):(f=e[d],Nn(f)&&(f.sel!==m.sel?Mn(m,n,r,l.elm):(Cn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,xn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Nn(e)&&o<a);h=Nn(e)?e.elm:null,Tn(t,n,r,h,i,p+1)}else An(e,n,r,!0,o,s+1)}function Hn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Tn(t,n,r,null);if(0===i)return void An(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Nn(i)?Nn(l)?(Cn(i,l,n,r),s=l.elm):kn(i,n,r,!0):Nn(l)&&(Mn(l,n,r,s),s=l.elm))}}const Bn=Symbol.iterator;function Vn(e,t,n=me){const r=nr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ee(r,i,s),s}function Wn(e,t,n,r=me){const o=nr(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(nr().velements,e)}(l),B(s)||Ee(o,s,l),l}function jn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:nr()}}function Un(e){var t;return t=e,Rn.set(t,1),e}let Gn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const zn=s({s:function(e,t,n,r){B(r)||B(r.slotAssignments)||B(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=mn(n);if(o!==!B(t.slotData))return e;if(o){const o=nr();let i=[];rr(r.owner);try{i=n.factory(t.slotData)}finally{rr(o)}return g.call(e,i)}return g.call(e,n)}return e}),[]));const o=nr(),{renderMode:i,shadowMode:s}=o;return 0===i?(Un(n),n):(1===s&&Un(n),Vn("slot",t,n))},h:Vn,c:Wn,i:function(e,t){const n=[];if(Un(n),B(e)||null===e)return n;const r=e[Bn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Un(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:jn,d:function(e){return null==e?"":String(e)},b:function(e){const t=nr();if(V(t))throw new Error;const n=t;return function(t){fr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:nr()}},dc:function(e,t,n,r=me){if(null==t)return null;if(!nn(t))throw new Error(`Invalid LWC Constructor ${q(t)} for custom element <${e}>.`);return Wn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[jn(""),...t,jn("")],stable:n,owner:nr()}},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:nr()}},gid:function(e){const t=nr();if(B(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=nr();if(B(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Gn(e)},ssf:function(e,t){return{type:6,factory:t,owner:nr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Kn=!1,Yn=K;const qn={enableProfiler(){Kn=!0},disableProfiler(){Kn=!1},attachDispatcher(e){Yn=e,this.enableProfiler()},detachDispatcher(){const e=Yn;return Yn=K,this.disableProfiler(),e}};function Xn(e,t){Kn&&Yn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Jn(e,t){Kn&&Yn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Qn(e,t){Kn&&Yn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function Zn(e,t){Kn&&Yn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let er=!1,tr=null;function nr(){return tr}function rr(e){tr=e}function or(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=nr(),c=!B(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!B(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const ir=or(((e,t)=>{const{createFragment:n}=t;return n(e)})),sr=or(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function lr(e,t){const n=er,o=tr;let i=[];return Ur(e,e.owner,(()=>{tr=e,Xn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||jr(e),c=t,!Ut.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=cr(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:b}=r;B(g)||(w&&s(n).remove(sn(g)),b&&l(n,sn(g))),B(a)||0===a.length||(h=u),B(h)||(f&&(s(n).add(sn(h)),p=!0),d&&(c(n,sn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=an(e,t);o.styleVNodes=0===n.length?null:fn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],er=!0,i=t.call(void 0,zn,n,s,o.tplCache);const{styleVNodes:u}=o;V(u)||P.apply(i,u)}))}),(()=>{er=n,tr=o,Jn(1,e)})),i}function cr(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}let ar=null;function ur(e){return ar===e}function dr(e,t,n){const{component:r,callHook:o,owner:i}=e;Ur(e,i,K,(()=>{o(r,t,n)}),K)}function fr(e,t,n,r){const{callHook:o,owner:i}=e;Ur(e,i,K,(()=>{o(n,t,[r])}),K)}const hr=new Map;function pr(e){return Le((()=>{const{isDirty:t}=e;j(t)&&(gr(e),function(e){if(W(e.isScheduled))return;e.isScheduled=!0,0===Ir.length&&we(Fr);T.call(Ir,e)}(e))}))}function mr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=nr();let s,l=!1;return Ur(e,o,(()=>{rr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{rr(i)})),l?lr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function gr(e){e.isDirty=!0}const wr=new WeakMap;function br(e,t){if(!U(t))throw new TypeError;let n=wr.get(t);return B(n)&&(n=function(n){fr(e,t,void 0,n)},wr.set(t,n)),n}const yr=r(null),vr=["rendered","connected","disconnected"];function Er(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Cr=0;const Mr=new WeakMap;function Sr(e,t,n=[]){return t.apply(e,n)}function Tr(e,t,n){e[t]=n}function kr(e,t){return e[t]}function Ar(e){$r(e)}function Nr(e){const t=Pr(e);Qn(7,t),1===t.state&&Lr(e),Hr(t),$r(t),Zn(7,t)}function Lr(e){_r(Pr(e))}function _r(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=yr;t&&Er(e,t);Br(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ur(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;B(n)||(Xn(5,e),dr(e,n),Jn(5,e))}(e),Vr(e),function(e){const{aChildren:t}=e;Wr(t)}(e)}}function xr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=rn(t),u={elm:e,def:a,idx:Cr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:me,aChildren:me,velements:me,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:me,wiredDisconnecting:me},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Sr,setHook:Tr,getHook:kr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=V(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=pr(u),function(e,t){const n=ar;let r;Xn(0,e),ar=e;try{const o=new t;if(ar.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Jn(0,e),ar=n,!B(r))throw xe(e,r),r}}(u,a.ctor),Br(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Gr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Kr(e,t,s),c=s.dynamic.length>0;T.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Or(e,t){Mr.set(e,t)}function Pr(e){return Mr.get(e)}function Dr(e){return Mr.get(e)}function $r(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Ur(e,e,(()=>{Xn(2,e)}),(()=>{En(r,t,n,o)}),(()=>{Jn(2,e)}));1===e.state&&Rr(e)}(e,mr(e))}}function Rr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=yr;n&&Er(e,n),B(t)||(Xn(4,e),dr(e,t),Jn(4,e))}let Ir=[];function Fr(){Qn(8);const e=Ir.sort(((e,t)=>e.idx-t.idx));Ir=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{$r(r)}catch(r){throw t+1<n&&(0===Ir.length&&we(Fr),P.apply(Ir,L.call(e,t+1))),Zn(8),r}}Zn(8)}function Hr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=yr;n&&Er(e,n),Br(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;B(r)||(Xn(3,e),dr(e,r),Jn(3,e))}function Br(e){return c(e.def.wire).length>0}function Vr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Dr(n);B(e)||_r(e)}}}function Wr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!B(n.elm))switch(n.type){case 2:Wr(n.children);break;case 3:_r(Pr(n.elm));break}}}function jr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||B(o.elm)||r(o.elm,n)}e.children=me,Vr(e),e.velements=me}function Ur(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){xe(e,i);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;jr(e),Xn(6,e);dr(n,n.def.errorCallback,[i,i.wcStack]),Jn(6,e)}}}const Gr=new Map;class zr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Kr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=B(r)?function(e,t){return n=>{Ge(e,t,n)}}(e,t):function(e,t){return n=>{Ur(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Ur(e,e,K,(()=>{u=new o(c)}),K);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=Le((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Ur(e,e,K,(()=>{u.update(t,a)}),K)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=qr(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(s,(()=>{const e=new zr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Yr=new Map;function qr(e){return Yr.get(e)}function Xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Gr.set(e,o)}function Jr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Gr.set(e,o)}let Qr=!1;function Zr(e){const t=mr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;no(r(n),t,n,e),Rr(e)}function eo(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!io(t,e,3,n))return ro(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!io(t,e,8,n))return ro(e,t,n);const{setProperty:o}=n;return o(e,to,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!io(n,t,3,r)&&o(e,to)===o(t,to);if(8===o(e,"nodeType"))return!!io(n,t,8,r)&&o(e,to)===o(t,to);if(!io(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Pe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return ro(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return no(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!io(t,e,1,n)||!so(t,e,n))return ro(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!B(o)&&!B(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;B(r)||B(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ve(r,"innerHTML")}))}if(oo(t,n),!i){const{getFirstChild:o}=n;no(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!io(t,e,1,n)||!so(t,e,n))return ro(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=xr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,$n(t,l),oo(t,n),Hr(l),0!==l.renderMode){const{getFirstChild:r}=n;no(r(e),t.children,e,l)}return Zr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const to="nodeValue";function no(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=eo(o,r,s),i=r.elm):(Qr=!0,Mn(r,n,s,i),i=r.elm))}if(o){Qr=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),On(t,n,s)}while(o)}}function ro(e,t,n){Qr=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Mn(t,o,n,e),On(e,o,n),t.elm}function oo(e,t){vn(e,t),wn(null,e,t)}function io(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function so(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=dn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=rn(e.ctor),{stylesheetToken:n}=t;return!B(n)&&cr(t)?sn(n):null}(e):null;if(!V(a)||!V(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!V(e)));t.length&&(i=C.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!V(e)));i=C.call(t," ")}let d=!0;if(B(i)||String(i)===l(t,"className")){if(!B(s)){const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(B(r)||r===s){if(!B(o)){const e=function(e){const t={},n=e.split(be);for(const e of n)if(e){const[n,r]=e.split(ye);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];B(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let lo=!1;const co=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),ao=co&&l(document.adoptedStyleSheets,"length").writable,uo=!B(document.documentMode),fo=new Map;function ho(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function po(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?uo?ho(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function mo(e,t){let n=fo.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},fo.set(e,n)),t&&B(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&B(n.element)&&(n.element=ho(e)),n}function go(e,t){const n=mo(e,co);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),co?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;ao?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):po(e,t,n)}const wo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),bo=(e,t)=>{const n=document.createElement(e);return t(n),n},yo=new Map,vo=new WeakSet;let Eo=!1;const Co=(e,t)=>class extends HTMLElement{constructor(e){super(),Eo?e(this):vo.add(this)}connectedCallback(){vo.has(this)||e(this)}disconnectedCallback(){vo.has(this)||t(this)}},Mo=(e,t,n,r)=>{let o=yo.get(e);if(B(o)){if(!B(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Co(n,r),customElements.define(e,o),yo.set(e,o)}Eo=!0;try{return new o(t)}finally{Eo=!1}};let So,To;fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&wo&&(So=function(){if(!wo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,w=new Set;function b(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!M(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?S(e):f.get(t);B(o)?l.set(this,n):C(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(B(n)){let e=m.get(t);B(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(B(n)){const e=m.get(t);B(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?w:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let E;function C(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=y(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),E=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function M(e){return U(e)&&G(e.prototype)}function S(e){if(!M(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return B(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i}=e.prototype;return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[])}}(e):t}const{customElements:T}=window,{define:k,whenDefined:A,get:N}=T;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!B(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=S(t);a.add(t);let o=d.get(e);B(o)&&(o=b(e,r),k.call(T,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const i=m.get(e);if(!B(i)){m.delete(e);for(const e of i){const t=l.get(e);B(t)||(l.delete(e),C(e,t,r))}}!function(e,t){const n=g.get(e);if(!B(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(T,e);if(!B(t)){const n=f.get(e);if(!B(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(T,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(T,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);B(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=E;if(!B(e))return E=void 0,e;const{constructor:t}=this,n=h.get(t);if(B(n)||B(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=H.call(e);let n=d.get(e);if(B(n)){const r=S(t);n=b(e,r),k.call(T,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),To=window.HTMLElement);const ko=(e,t,n,r)=>class extends r{constructor(){super(),e(this)}connectedCallback(){t(this)}disconnectedCallback(){n(this)}};let Ao;function No(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Ao=wo?fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(So)||B(To))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=ko(t,n,r,To);return new(So(e,o))(o)}:Mo:bo;const Lo=n(No(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=mo(e,!1);t.global||(t.global=!0,po(e,document.head,t))}(e):go(e,t)},createCustomElement:Ao,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function _o(e,t,n){const r=xr(e,t,Lo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function xo(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!G(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Dr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Qr=!1,Hr(e),Zr(e),Qr&&Pe("Hydration completed with errors.",e)}(_o(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),_o(e,t,n),Nr(e)}}const Oo=new WeakSet;function Po(e){var t;const n=function(e){return rn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(xo(this,e,{}),Oo.add(this)):xr(this,e,Lo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Oo.has(this)?Oo.delete(this):Nr(this)}disconnectedCallback(){Lr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Do=Node,$o=new WeakMap,Ro=new WeakMap;function Io(e,t){const n=t.get(e);return B(n)||n(e),e}if(!fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Do.prototype;n(Do.prototype,{appendChild(t){return Io(e.call(this,t),$o)},insertBefore(e,n){return Io(t.call(this,e,n),$o)},removeChild(e){return Io(r.call(this,e),Ro)},replaceChild(e,t){const n=o.call(this,e,t);return Io(n,Ro),Io(e,$o),n}})}const Fo=Node;const Ho=new Map;i(xt,"CustomElementConstructor",{get(){return function(e){if(e===xt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ho.get(e);return B(t)&&(t=Po(e),Ho.set(e,t)),t}(this)}}),s(xt),h(xt.prototype),e.LightningElement=xt,e.__unstable__ProfilerControl=qn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=qr(e);if(!B(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Yr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{B(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!G(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${q(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Lo,o=H.call(e);return r(o,(e=>{xr(e,n,Lo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||($o.set(e,Nr),Ro.set(e,Lr))}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Nr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Lr(e)}))},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=Dr(e);B(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=rn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:oe(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=xo,e.isComponentConstructor=nn,e.isNodeFromTemplate=function(e){if(j(e instanceof Fo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Lo.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=ir,e.parseSVGFragment=sr,e.readonly=function(e){return Tt(e)},e.register=function(e){for(let t=0;t<vr.length;++t){const n=vr[t];if(n in e){let t=yr[n];B(t)&&(yr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&hr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(B(w))throw new Error;w=Ht(e,w)}else w=B(w)||B(w.get)?Ft(e):Ht(e,w);f[e]=w,i(n,e,w)}if(B(s)||D.call(s,(e=>{if(w=l(n,e),B(w))throw new Error;d[e]=w})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(B(w))throw new Error;h[e]=w,Xr(w,t,o,s)}else w=Vt(e),p[e]=w,Jr(w,t,o,s),i(n,e,w)}if(!B(a))for(const e in a)w=l(n,e),w=Bt(e),i(n,e,w);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=Rt(t))}return function(e,t){Wt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Ut.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}}),e},e.renderer=Lo,e.rendererFactory=No,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(de[e])){const n=f(de).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=fe[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(lo,"Hooks are already overridden, only one definition is allowed."),lo=!0,n=e.sanitizeHtmlContent,Gn=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return kt(e);throw new Error},e.unwrap=function(e){return St.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:b,filter:y,find:v,indexOf:E,join:C,map:M,pop:S,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:x,splice:O,unshift:P,forEach:D}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:R,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function V(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function U(e){return"function"==typeof e}function G(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const Y={}.toString;function q(e){return e&&e.toString?m(e)?C.call(M.call(e,q),","):e.toString():"object"==typeof e?Y.call(e):e+""}function X(e,t){do{const n=l(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const J=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Q,AriaPropNameToAttrNameMap:Z}=(()=>{const e=r(null),t=r(null);return D.call(J,(n=>{const r=H.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ee=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),te="http://www.w3.org/2000/svg",ne=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),re=new Map;function oe(e){const t=Z[e];if(!B(t))return t;const n=ne.get(e);if(!B(n))return n;const r=re.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return re.set(e,o),o}function ie(e){return void 0===l(Element.prototype,e)}const se=new WeakMap;function le(e){let t=se.get(e);return void 0===t&&(t={},se.set(e,t)),t}function ce(e,t){return{get(){const n=le(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;le(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ae(e){const t=ce(e,Z[e]);Object.defineProperty(Element.prototype,e,t)}const ue=f(Z);for(let e=0,t=ue.length;e<t;e+=1){const t=ue[e];ie(t)&&ae(t)}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:r(null)});const fe=ee.lwcRuntimeFlags;let he=[];const pe=h(r(null)),me=h([]);function ge(){const e=he;he=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function we(e){0===he.length&&Promise.resolve().then(ge),T.call(he,e)}const be=/;(?![^(]*\))/g,ye=/:(.+)/;function ve(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ee(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ce=new WeakMap;let Me=null;function Se(e,t){const n=Ce.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Te(e,t){if(null===Me)return;const n=Me,o=function(e){let t=Ce.get(e);if(B(t)){const n=r(null);t=n,Ce.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===E.call(i,n)&&n.link(i)}class ke{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Me;let n;Me=this;try{e()}catch(e){n=Object(e)}finally{if(Me=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=E.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){T.call(e,this),T.call(this.listeners,e)}}function Ae(e,t){Se(e.component,t)}function Ne(e,t){Te(e.component,t)}function Le(e){return new ke(e)}function _e(e){return`<${H.call(e.tagName)}>`}function xe(e,t){if(!d(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,_e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Oe(e,t,n){let r=`[LWC ${e}]: ${t}`;B(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+_e(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Pe(e,t){Oe("error",e,t)}function De(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function $e(e){return U(e)&&u.call(e,"__circular__")}const Re="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ie=Re.prototype;function Fe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Fe("offsetHeight")},offsetLeft:{readOnly:!0,error:Fe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Fe("offsetTop")},offsetWidth:{readOnly:!0,error:Fe("offsetWidth")},role:{attribute:"role"}});let He,Be=null;function Ve(e,t){return e!==Be||t!==He}function We(e,t){Be=null,He=void 0}function je(e,t){Be=e,He=t}const Ue=r(null);function Ge(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ae(e,t))}D.call(f(Z),(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)})),D.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)}));const{isArray:ze}=Array,{prototype:Ke,getPrototypeOf:Ye,create:qe,defineProperty:Xe,isExtensible:Je,getOwnPropertyDescriptor:Qe,getOwnPropertyNames:Ze,getOwnPropertySymbols:et,preventExtensions:tt,hasOwnProperty:nt}=Object,{push:rt,concat:ot}=Array.prototype;function it(e){return void 0===e}function st(e){return"function"==typeof e}const lt=new WeakMap;function ct(e,t){lt.set(e,t)}const at=e=>lt.get(e)||e;class ut{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(nt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.wrapGetter(n)),it(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Qe(n,t);if(!it(r)){const n=this.wrapDescriptor(r);Xe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ot.call(Ze(t),et(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;it(n)||nt.call(e,n)||Xe(e,n,qe(null)),tt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=it(n)||nt.call(t,n)?[]:[n];return rt.apply(r,Ze(t)),rt.apply(r,et(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Je(e)&&(!!Je(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ye(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Qe(n,t);if(it(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Xe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const dt=new WeakMap,ft=new WeakMap,ht=new WeakMap,pt=new WeakMap;class mt extends ut{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=dt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return dt.set(e,r),ht.set(r,e),r}wrapSetter(e){const t=ft.get(e);if(!it(t))return t;const n=function(t){e.call(at(this),at(t))};return ft.set(e,n),pt.set(n,e),n}unwrapDescriptor(e){if(nt.call(e,"value"))e.value=at(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.unwrapGetter(n)),it(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ht.get(e);if(!it(t))return t;const n=this,r=function(){return at(e.call(n.wrapValue(this)))};return dt.set(r,e),ht.set(e,r),r}unwrapSetter(e){const t=pt.get(e);if(!it(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ft.set(r,e),pt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&ze(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Je(e)){const{originalTarget:t}=this;if(tt(t),Je(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!nt.call(r,t)||(Xe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const gt=new WeakMap,wt=new WeakMap;class bt extends ut{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=gt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return gt.set(e,r),r}wrapSetter(e){const t=wt.get(e);if(!it(t))return t;const n=function(e){};return wt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function yt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ze(e))return!0;const t=Ye(e);return t===Ke||null===t||null===Ye(t)}const vt=(e,t)=>{},Et=(e,t)=>{};function Ct(e){return ze(e)?[]:{}}const Mt=Symbol.for("@@lockerLiveValue"),St=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=st(t)?t:Et,this.valueObserved=st(n)?n:vt,this.valueIsObservable=st(r)?r:yt,this.tagPropertyKey=o}getProxy(e){const t=at(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=at(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return at(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(it(t)){const n=new mt(this,e);t=new Proxy(Ct(e),n),ct(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(it(t)){const n=new bt(this,e);t=new Proxy(Ct(e),n),ct(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Te,valueMutated:Se,tagPropertyKey:Mt});function Tt(e){return St.getReadOnlyProxy(e)}function kt(e){return St.getProxy(e)}function At(e){e[Mt]=void 0}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=$r(this);if(!fr(t))return Ne(t,e),n.call(t.elm)},set(t){const n=$r(this);return Ge(n,e,t),r.call(n.elm,t)}}}const Lt=s(r(null)),_t=new WeakMap,xt=function(){if(V(dr))throw new TypeError("Illegal constructor");const e=dr,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return At(this),Dr(o,e),Dr(n,e),1===e.renderMode?e.renderRoot=Ot(e):e.renderRoot=n,this};function Ot(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Dr(s,e),s}xt.prototype={constructor:xt,dispatchEvent(e){const t=$r(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=$r(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,vr(r,t),n)},removeEventListener(e,t,n){const r=$r(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,vr(r,t),n)},hasAttribute(e){const t=$r(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=$r(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=$r(this),{elm:n,renderer:{removeAttribute:r}}=t;je(n,e),r(n,e),We()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=$r(this);je(n,t),r(n,t,e),We()},getAttribute(e){const t=$r(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=$r(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=$r(this),{elm:r,renderer:{setAttribute:o}}=n;je(r,e),o(r,e,t),We()},setAttributeNS(e,t,n){const r=$r(this),{elm:o,renderer:{setAttribute:i}}=r;je(o,t),i(o,t,n,e),We()},getBoundingClientRect(){const e=$r(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=$r(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=$r(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return $r(this).shadowRoot},get refs(){const e=$r(this);if(nr)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(V(t))return Lt;let i=_t.get(t);if(B(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),_t.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=$r(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=$r(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=$r(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=$r(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=$r(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=$r(this);return e.renderer.getLastElementChild(e.elm)},render(){return $r(this).def.template},toString(){return`[object ${$r(this).def.name}]`}};const Pt=r(null),Dt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Dt)Pt[e]={value(t){const n=$r(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(xt.prototype,Pt);const $t=r(null);for(const e in Ue)$t[e]=Nt(e,Ue[e]);function Rt(e){return{get(){const t=$r(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge($r(this),e,t)},enumerable:!0,configurable:!0}}o(xt.prototype,$t),i(xt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class It extends ke{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,we((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,W(e.isDirty)&&j(r)&&i>0&&Lr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ft(e){return{get(){const t=$r(this);if(!fr(t))return Ne(t,e),t.cmpProps[e]},set(t){const n=$r(this);n.cmpProps[e]=t,Ae(n,e)},enumerable:!0,configurable:!0}}function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(t){const n=$r(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];B(o)&&(o=n.oar[e]=function(e,t){return new It(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Bt(e){return{get(){const t=$r(this);return Ne(t,e),t.cmpFields[e]},set(t){const n=$r(this),r=kt(t);Ge(n,e,r)},enumerable:!0,configurable:!0}}function Vt(e){return{get(){const t=$r(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge($r(this),e,t)},enumerable:!0,configurable:!0}}const Wt=new Map;const jt={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const Ut=new Set;function Gt(){return[]}Ut.add(Gt);const zt=r(null),Kt=r(null);function Yt(e){let t=zt[e];return B(t)&&(t=zt[e]=function(){const t=$r(this),{getHook:n}=t;return n(t.component,e)}),t}function qt(e){let t=Kt[e];return B(t)&&(t=Kt[e]=function(t){const n=$r(this),{setHook:r}=n;t=Tt(t),r(n.component,e,t)}),t}function Xt(e){return function(){const t=$r(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function Jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];B(i)?B(t)||t.apply(this,arguments):Ve(this,n)&&(this[i]=o)}}function Qt(e,t,n){let s;U(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[oe(n)]=n,u[n]={get:Yt(n),set:qt(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Xt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Jt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Zt=Qt(Re,c(Ue),[]);s(Zt),h(Zt.prototype);const en=new WeakMap;function tn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Wt.get(e);return B(t)?jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if($e(t)){const e=De(t);t=e===t?xt:e}return t}(e),C=E!==xt?rn(E):on,M=Qt(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,b=b||C.renderedCallback,y=y||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;B(t)||(N=t);let L=C.renderMode;B(i)||(L="light"===i?0:1);const _=function(e){return mr.get(e)}(e)||C.template,x=e.name||C.name;o(m,p);return{ctor:e,name:x,wire:A,props:S,propsConfig:T,methods:k,bridge:M,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}}function nn(e){if(!U(e))return!1;if(e.prototype instanceof xt)return!0;let t=e;do{if($e(t)){const e=De(t);if(e===t)return!0;t=e}if(t===xt)return!0}while(!V(t)&&(t=a(t)));return!1}function rn(e){let t=en.get(e);if(B(t)){if($e(e)){return t=rn(De(e)),en.set(e,t),t}if(!nn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=tn(e),en.set(e,t)}return t}const on={ctor:xt,name:xt.name,props:$t,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Zt,template:Gt,render:xt.prototype.render};function sn(e){return`${e}-host`}function ln(e){return Yn.h("style",{key:"style",attrs:{type:"text/css"}},[Yn.t(e)])}function cn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))T.apply(r,cn(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Pe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(B(o)&&(o=un(n)),c=V(o)||0===o.shadowMode),T.call(r,s(i,l,c))}}return r}function an(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return B(n)||0===n.length||(o=cn(n,r,e)),o}function un(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function dn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function fn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return M.call(t,ln);{const n=function(e){const t=un(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function hn(e){const{type:t}=e;return 2===t||3===t}function pn(e,t){return e.key===t.key&&e.sel===t.sel}function mn(e){return 5===e.type}function gn(e){return 6===e.type}function wn(e,t){return"input"===e&&("value"===t||"checked"===t)}function bn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(B(o)&&B(i))return;let s;if(!V(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;B(s)&&(s=pe),B(t)||(s=n({},s,t))}B(i)||(o=n({},o,i));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(wn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const yn=r(null);function vn(e){if(null==e)return pe;e=z(e)?e:e+"";let t=yn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===R.call(e,n)&&(n>o&&(t[F.call(e,o,n)]=!0),o=n+1);return n>o&&(t[F.call(e,o,n)]=!0),yn[e]=t,t}function En(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Cn(e,t,n,r){var o;o=t,Fn.has(o)?Bn(e,t,n,r):Vn(e,t,n,r)}function Mn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&xn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Vn(e.children,o,n,r):Bn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Dn(e,t,n),Cn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);An(e,n,r,!0),Tn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Dn(e,t,r),B(o)||Rn(t,o),Cn(e.children,t.children,n,r),B(o)||Lr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Sn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);_n(s,o,r),On(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);_n(s,o,r),On(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);_n(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));On(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;kn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=W(s)?te:void 0,a=e.elm=l(o,c);_n(a,i,r),$n(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Dn(null,e,r),On(a,t,n,r),kn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Tn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Tn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const c=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Rr(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Pr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&_r(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&xr(e)}));e.elm=c,e.vm=l,_n(c,i,r),$n(c,i,r),l&&Rn(e,l),Dn(null,e,r),On(c,t,n,r),l&&(fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Vr(l)),kn(e.children,c,r,null),l&&function(e){Ir(e)}(l)}function kn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Ln(i)&&Sn(i,t,n,r)}}function An(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Nn(e.children,t,n,r):Pn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Nn(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){Or(e)}(t)}}}function Nn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Ln(i)&&An(i,t,n,r)}}function Ln(e){return null!=e}function _n(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function xn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function On(e,t,n,r){r.insert(e,t,n)}function Pn(e,t,n){n.remove(e,t)}function Dn(e,t,n){V(e)&&(En(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(B(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=V(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=vn(o),a=vn(i);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;z(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=V(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(je(i,e),58===R.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):V(t)||B(t)?l(i,e):s(i,e,t),We())}}(e,t,n),bn(e,t,n)}function $n(e,t,n){const r=dn(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function Rn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){const{cmpSlots:{slotAssignments:o}}=e,i=r(null);if(In(e,t,i),e.cmpSlots={owner:n,slotAssignments:i},j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void br(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(i[r])||o[r].length!==i[r].length)return void br(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void br(e)}}}(t,n,e.owner),e.aChildren=n,e.children=me)}function In(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(V(s))continue;if(mn(s)){In(e,s.children.slice(1,-1),n);continue}let l="";hn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":gn(s)&&(l=s.slotName);const c=n[l]=n[l]||[];T.call(c,s)}}const Fn=new WeakMap;function Hn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Ln(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Bn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)Ln(l)?Ln(c)?Ln(m)?Ln(g)?pn(l,m)?(Mn(l,m,n,r),l=e[++o],m=t[++i]):pn(c,g)?(Mn(c,g,n,r),c=e[--s],g=t[--p]):pn(l,g)?(Mn(l,g,n,r),On(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):pn(c,m)?(Mn(c,m,n,r),On(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Hn(e,o,s)),d=u[m.key],B(d)?(Sn(m,n,r,l.elm),m=t[++i]):(f=e[d],Ln(f)&&(f.sel!==m.sel?Sn(m,n,r,l.elm):(Mn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,On(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Ln(e)&&o<a);h=Ln(e)?e.elm:null,kn(t,n,r,h,i,p+1)}else Nn(e,n,r,!0,o,s+1)}function Vn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void kn(t,n,r,null);if(0===i)return void Nn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Ln(i)?Ln(l)?(Mn(i,l,n,r),s=l.elm):An(i,n,r,!0):Ln(l)&&(Sn(l,n,r,s),s=l.elm))}}const Wn=Symbol.iterator;function jn(e,t,n=me){const r=or(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ee(r,i,s),s}function Un(e,t,n,r=me){const o=or(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(or().velements,e)}(l),B(s)||Ee(o,s,l),l}function Gn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:or()}}function zn(e){var t;return t=e,Fn.set(t,1),e}let Kn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Yn=s({s:function(e,t,n,r){B(r)||B(r.slotAssignments)||B(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=gn(n);if(o!==!B(t.slotData))return e;if(o){const o=or();let i=[];ir(r.owner);try{i=n.factory(t.slotData)}finally{ir(o)}return g.call(e,i)}return g.call(e,n)}return e}),[]));const o=or(),{renderMode:i,shadowMode:s}=o;return 0===i?(zn(n),n):(1===s&&zn(n),jn("slot",t,n))},h:jn,c:Un,i:function(e,t){const n=[];if(zn(n),B(e)||null===e)return n;const r=e[Wn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];zn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:Gn,d:function(e){return null==e?"":String(e)},b:function(e){const t=or();if(V(t))throw new Error;const n=t;return function(t){pr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:or()}},dc:function(e,t,n,r=me){if(null==t)return null;if(!nn(t))throw new Error(`Invalid LWC Constructor ${q(t)} for custom element <${e}>.`);return Un(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Gn(""),...t,Gn("")],stable:n,owner:or()}},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:or()}},gid:function(e){const t=or();if(B(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=or();if(B(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Kn(e)},ssf:function(e,t){return{type:6,factory:t,owner:or(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let qn=!1,Xn=K;const Jn={enableProfiler(){qn=!0},disableProfiler(){qn=!1},attachDispatcher(e){Xn=e,this.enableProfiler()},detachDispatcher(){const e=Xn;return Xn=K,this.disableProfiler(),e}};function Qn(e,t){qn&&Xn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Zn(e,t){qn&&Xn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function er(e,t){qn&&Xn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function tr(e,t){qn&&Xn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let nr=!1,rr=null;function or(){return rr}function ir(e){rr=e}function sr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=or(),c=!B(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!B(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const lr=sr(((e,t)=>{const{createFragment:n}=t;return n(e)})),cr=sr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function ar(e,t){const n=nr,o=rr;let i=[];return zr(e,e.owner,(()=>{rr=e,Qn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||Gr(e),c=t,!Ut.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=ur(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:b}=r;B(g)||(w&&s(n).remove(sn(g)),b&&l(n,sn(g))),B(a)||0===a.length||(h=u),B(h)||(f&&(s(n).add(sn(h)),p=!0),d&&(c(n,sn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=an(e,t);o.styleVNodes=0===n.length?null:fn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],nr=!0,i=t.call(void 0,Yn,n,s,o.tplCache);const{styleVNodes:u}=o;V(u)||P.apply(i,u)}))}),(()=>{nr=n,rr=o,Zn(1,e)})),i}function ur(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}let dr=null;function fr(e){return dr===e}function hr(e,t,n){const{component:r,callHook:o,owner:i}=e;zr(e,i,K,(()=>{o(r,t,n)}),K)}function pr(e,t,n,r){const{callHook:o,owner:i}=e;zr(e,i,K,(()=>{o(n,t,[r])}),K)}const mr=new Map;function gr(e){return Le((()=>{const{isDirty:t}=e;j(t)&&(br(e),function(e){if(W(e.isScheduled))return;e.isScheduled=!0,0===Hr.length&&we(Br);T.call(Hr,e)}(e))}))}function wr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=or();let s,l=!1;return zr(e,o,(()=>{ir(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{ir(i)})),l?ar(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function br(e){e.isDirty=!0}const yr=new WeakMap;function vr(e,t){if(!U(t))throw new TypeError;let n=yr.get(t);return B(n)&&(n=function(n){pr(e,t,void 0,n)},yr.set(t,n)),n}const Er=r(null),Cr=["rendered","connected","disconnected"];function Mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Sr=0;const Tr=new WeakMap;function kr(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Nr(e,t){return e[t]}function Lr(e){Ir(e)}function _r(e){const t=$r(e);er(7,t),1===t.state&&xr(e),Vr(t),Ir(t),tr(7,t)}function xr(e){Or($r(e))}function Or(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Er;t&&Mr(e,t);Wr(e)&&function(e){const{wiredDisconnecting:t}=e.context;zr(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;B(n)||(Qn(5,e),hr(e,n),Zn(5,e))}(e),jr(e),function(e){const{aChildren:t}=e;Ur(t)}(e)}}function Pr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=rn(t),u={elm:e,def:a,idx:Sr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:me,aChildren:me,velements:me,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:me,wiredDisconnecting:me},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:kr,setHook:Ar,getHook:Nr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=V(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=gr(u),function(e,t){const n=dr;let r;Qn(0,e),dr=e;try{const o=new t;if(dr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Zn(0,e),dr=n,!B(r))throw xe(e,r),r}}(u,a.ctor),Wr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Kr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=qr(e,t,s),c=s.dynamic.length>0;T.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Dr(e,t){Tr.set(e,t)}function $r(e){return Tr.get(e)}function Rr(e){return Tr.get(e)}function Ir(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&zr(e,e,(()=>{Qn(2,e)}),(()=>{Cn(r,t,n,o)}),(()=>{Zn(2,e)}));1===e.state&&Fr(e)}(e,wr(e))}}function Fr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Er;n&&Mr(e,n),B(t)||(Qn(4,e),hr(e,t),Zn(4,e))}let Hr=[];function Br(){er(8);const e=Hr.sort(((e,t)=>e.idx-t.idx));Hr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Ir(r)}catch(r){throw t+1<n&&(0===Hr.length&&we(Br),P.apply(Hr,L.call(e,t+1))),tr(8),r}}tr(8)}function Vr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Er;n&&Mr(e,n),Wr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;B(r)||(Qn(3,e),hr(e,r),Zn(3,e))}function Wr(e){return c(e.def.wire).length>0}function jr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Rr(n);B(e)||Or(e)}}}function Ur(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!B(n.elm))switch(n.type){case 2:Ur(n.children);break;case 3:Or($r(n.elm));break}}}function Gr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||B(o.elm)||r(o.elm,n)}e.children=me,jr(e),e.velements=me}function zr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){xe(e,i);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;Gr(e),Qn(6,e);hr(n,n.def.errorCallback,[i,i.wcStack]),Zn(6,e)}}}const Kr=new Map;class Yr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function qr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=B(r)?function(e,t){return n=>{Ge(e,t,n)}}(e,t):function(e,t){return n=>{zr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),zr(e,e,K,(()=>{u=new o(c)}),K);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=Le((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{zr(e,e,K,(()=>{u.update(t,a)}),K)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jr(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(s,(()=>{const e=new Yr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Xr=new Map;function Jr(e){return Xr.get(e)}function Qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Kr.set(e,o)}function Zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Kr.set(e,o)}let eo=!1;function to(e){const t=wr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;oo(r(n),t,n,e),Fr(e)}function no(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!lo(t,e,3,n))return io(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!lo(t,e,8,n))return io(e,t,n);const{setProperty:o}=n;return o(e,ro,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!lo(n,t,3,r)&&o(e,ro)===o(t,ro);if(8===o(e,"nodeType"))return!!lo(n,t,8,r)&&o(e,ro)===o(t,ro);if(!lo(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Pe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return io(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return oo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!lo(t,e,1,n)||!co(t,e,n))return io(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!B(o)&&!B(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;B(r)||B(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ve(r,"innerHTML")}))}if(so(t,n),!i){const{getFirstChild:o}=n;oo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!lo(t,e,1,n)||!co(t,e,n))return io(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Pr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,Rn(t,l),so(t,n),Vr(l),0!==l.renderMode){const{getFirstChild:r}=n;oo(r(e),t.children,e,l)}return to(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const ro="nodeValue";function oo(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=no(o,r,s),i=r.elm):(eo=!0,Sn(r,n,s,i),i=r.elm))}if(o){eo=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Pn(t,n,s)}while(o)}}function io(e,t,n){eo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Sn(t,o,n,e),Pn(e,o,n),t.elm}function so(e,t){En(e,t),bn(null,e,t)}function lo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function co(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=dn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=rn(e.ctor),{stylesheetToken:n}=t;return!B(n)&&ur(t)?sn(n):null}(e):null;if(!V(a)||!V(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!V(e)));t.length&&(i=C.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!V(e)));i=C.call(t," ")}let d=!0;const h=l(t,"className");if(B(i)||String(i)===h)if(B(s))B(i)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(B(r)||r===s){if(!B(o)){const e=function(e){const t={},n=e.split(be);for(const e of n)if(e){const[n,r]=e.split(ye);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];B(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let ao=!1;const uo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),fo=uo&&l(document.adoptedStyleSheets,"length").writable,ho=!B(document.documentMode),po=new Map;function mo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function go(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?ho?mo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function wo(e,t){let n=po.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},po.set(e,n)),t&&B(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&B(n.element)&&(n.element=mo(e)),n}function bo(e,t){const n=wo(e,uo);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),uo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;fo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):go(e,t,n)}const yo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),vo=(e,t)=>{const n=document.createElement(e);return t(n),n},Eo=new Map,Co=new WeakSet;let Mo=!1;const So=(e,t)=>class extends HTMLElement{constructor(e){super(),Mo?e(this):Co.add(this)}connectedCallback(){Co.has(this)||e(this)}disconnectedCallback(){Co.has(this)||t(this)}},To=(e,t,n,r)=>{let o=Eo.get(e);if(B(o)){if(!B(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=So(n,r),customElements.define(e,o),Eo.set(e,o)}Mo=!0;try{return new o(t)}finally{Mo=!1}};let ko,Ao;fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&yo&&(ko=function(){if(!yo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,w=new Set;function b(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!M(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?S(e):f.get(t);B(o)?l.set(this,n):C(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(B(n)){let e=m.get(t);B(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(B(n)){const e=m.get(t);B(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?w:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let E;function C(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=y(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),E=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function M(e){return U(e)&&G(e.prototype)}function S(e){if(!M(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return B(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i}=e.prototype;return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[])}}(e):t}const{customElements:T}=window,{define:k,whenDefined:A,get:N}=T;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!B(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=S(t);a.add(t);let o=d.get(e);B(o)&&(o=b(e,r),k.call(T,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const i=m.get(e);if(!B(i)){m.delete(e);for(const e of i){const t=l.get(e);B(t)||(l.delete(e),C(e,t,r))}}!function(e,t){const n=g.get(e);if(!B(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(T,e);if(!B(t)){const n=f.get(e);if(!B(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(T,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(T,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);B(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=E;if(!B(e))return E=void 0,e;const{constructor:t}=this,n=h.get(t);if(B(n)||B(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=H.call(e);let n=d.get(e);if(B(n)){const r=S(t);n=b(e,r),k.call(T,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Ao=window.HTMLElement);const No=(e,t,n,r)=>class extends r{constructor(){super(),e(this)}connectedCallback(){t(this)}disconnectedCallback(){n(this)}};let Lo;function _o(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Lo=yo?fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(ko)||B(Ao))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=No(t,n,r,Ao);return new(ko(e,o))(o)}:To:vo;const xo=n(_o(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=wo(e,!1);t.global||(t.global=!0,go(e,document.head,t))}(e):bo(e,t)},createCustomElement:Lo,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function Oo(e,t,n){const r=Pr(e,t,xo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Po(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!G(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Rr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){eo=!1,Vr(e),to(e),eo&&Pe("Hydration completed with errors.",e)}(Oo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Oo(e,t,n),_r(e)}}const Do=new WeakSet;function $o(e){var t;const n=function(e){return rn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(Po(this,e,{}),Do.add(this)):Pr(this,e,xo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Do.has(this)?Do.delete(this):_r(this)}disconnectedCallback(){xr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Ro=Node,Io=new WeakMap,Fo=new WeakMap;function Ho(e,t){const n=t.get(e);return B(n)||n(e),e}if(!fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Ro.prototype;n(Ro.prototype,{appendChild(t){return Ho(e.call(this,t),Io)},insertBefore(e,n){return Ho(t.call(this,e,n),Io)},removeChild(e){return Ho(r.call(this,e),Fo)},replaceChild(e,t){const n=o.call(this,e,t);return Ho(n,Fo),Ho(e,Io),n}})}const Bo=Node;const Vo=new Map;i(xt,"CustomElementConstructor",{get(){return function(e){if(e===xt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Vo.get(e);return B(t)&&(t=$o(e),Vo.set(e,t)),t}(this)}}),s(xt),h(xt.prototype),e.LightningElement=xt,e.__unstable__ProfilerControl=Jn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Jr(e);if(!B(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Xr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{B(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!G(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${q(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=xo,o=H.call(e);return r(o,(e=>{Pr(e,n,xo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(Io.set(e,_r),Fo.set(e,xr))}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&_r(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&xr(e)}))},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=Rr(e);B(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=rn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:oe(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Po,e.isComponentConstructor=nn,e.isNodeFromTemplate=function(e){if(j(e instanceof Bo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||xo.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=lr,e.parseSVGFragment=cr,e.readonly=function(e){return Tt(e)},e.register=function(e){for(let t=0;t<Cr.length;++t){const n=Cr[t];if(n in e){let t=Er[n];B(t)&&(Er[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&mr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(B(w))throw new Error;w=Ht(e,w)}else w=B(w)||B(w.get)?Ft(e):Ht(e,w);f[e]=w,i(n,e,w)}if(B(s)||D.call(s,(e=>{if(w=l(n,e),B(w))throw new Error;d[e]=w})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(B(w))throw new Error;h[e]=w,Qr(w,t,o,s)}else w=Vt(e),p[e]=w,Zr(w,t,o,s),i(n,e,w)}if(!B(a))for(const e in a)w=l(n,e),w=Bt(e),i(n,e,w);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=Rt(t))}return function(e,t){Wt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Ut.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}}),e},e.renderer=xo,e.rendererFactory=_o,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(de[e])){const n=f(de).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=fe[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(ao,"Hooks are already overridden, only one definition is allowed."),ao=!0,n=e.sanitizeHtmlContent,Kn=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return kt(e);throw new Error},e.unwrap=function(e){return St.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -294,7 +294,7 @@
294
294
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
295
295
  return attributeName;
296
296
  }
297
- /** version: 2.28.0 */
297
+ /** version: 2.29.0 */
298
298
 
299
299
  /**
300
300
  * Copyright (C) 2018 salesforce.com, inc.
@@ -376,7 +376,7 @@
376
376
  patch$1(propName);
377
377
  }
378
378
  }
379
- /** version: 2.28.0 */
379
+ /** version: 2.29.0 */
380
380
 
381
381
  /**
382
382
  * Copyright (C) 2018 salesforce.com, inc.
@@ -2641,6 +2641,9 @@
2641
2641
  function isVCustomElement(vnode) {
2642
2642
  return vnode.type === 3 /* VNodeType.CustomElement */;
2643
2643
  }
2644
+ function isVFragment(vnode) {
2645
+ return vnode.type === 5 /* VNodeType.Fragment */;
2646
+ }
2644
2647
  function isVScopedSlotFragment(vnode) {
2645
2648
  return vnode.type === 6 /* VNodeType.ScopedSlotFragment */;
2646
2649
  }
@@ -3440,26 +3443,26 @@
3440
3443
 
3441
3444
  return vm;
3442
3445
  }
3446
+ /**
3447
+ * Collects all slots into a SlotSet, traversing through VFragment Nodes
3448
+ */
3443
3449
 
3444
- function allocateInSlot(vm, children, owner) {
3445
- var _a, _b;
3446
3450
 
3447
- const {
3448
- cmpSlots: {
3449
- slotAssignments: oldSlotsMapping
3450
- }
3451
- } = vm;
3452
- const cmpSlotsMapping = create(null);
3453
- vm.cmpSlots = {
3454
- owner,
3455
- slotAssignments: cmpSlotsMapping
3456
- };
3451
+ function collectSlots(vm, children, cmpSlotsMapping) {
3452
+ var _a, _b;
3457
3453
 
3458
3454
  for (let i = 0, len = children.length; i < len; i += 1) {
3459
3455
  const vnode = children[i];
3460
3456
 
3461
3457
  if (isNull(vnode)) {
3462
3458
  continue;
3459
+ } // Dive further iff the content is wrapped in a VFragment
3460
+
3461
+
3462
+ if (isVFragment(vnode)) {
3463
+ // Remove the text delimiter nodes to avoid overriding default slot content
3464
+ collectSlots(vm, vnode.children.slice(1, -1), cmpSlotsMapping);
3465
+ continue;
3463
3466
  }
3464
3467
 
3465
3468
  let slotName = '';
@@ -3473,6 +3476,20 @@
3473
3476
  const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
3474
3477
  ArrayPush$1.call(vnodes, vnode);
3475
3478
  }
3479
+ }
3480
+
3481
+ function allocateInSlot(vm, children, owner) {
3482
+ const {
3483
+ cmpSlots: {
3484
+ slotAssignments: oldSlotsMapping
3485
+ }
3486
+ } = vm;
3487
+ const cmpSlotsMapping = create(null);
3488
+ collectSlots(vm, children, cmpSlotsMapping);
3489
+ vm.cmpSlots = {
3490
+ owner,
3491
+ slotAssignments: cmpSlotsMapping
3492
+ };
3476
3493
 
3477
3494
  if (isFalse(vm.isDirty)) {
3478
3495
  // We need to determine if the old allocation is really different from the new one
@@ -5589,7 +5606,8 @@
5589
5606
  }
5590
5607
  }
5591
5608
  let nodesAreCompatible = true;
5592
- if (!isUndefined$1(className) && String(className) !== getProperty(elm, 'className')) {
5609
+ const elmClassName = getProperty(elm, 'className');
5610
+ if (!isUndefined$1(className) && String(className) !== elmClassName) {
5593
5611
  // className is used when class is bound to an expr.
5594
5612
  nodesAreCompatible = false;
5595
5613
  }
@@ -5609,6 +5627,10 @@
5609
5627
  nodesAreCompatible = false;
5610
5628
  }
5611
5629
  }
5630
+ else if (isUndefined$1(className) && elmClassName !== '') {
5631
+ // SSR contains a className but client-side VDOM does not
5632
+ nodesAreCompatible = false;
5633
+ }
5612
5634
  return nodesAreCompatible;
5613
5635
  }
5614
5636
  function validateStyleAttr(vnode, elm, renderer) {
@@ -5714,7 +5736,7 @@
5714
5736
  }
5715
5737
  return ctor;
5716
5738
  }
5717
- /* version: 2.28.0 */
5739
+ /* version: 2.29.0 */
5718
5740
 
5719
5741
  /*
5720
5742
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6561,7 +6583,7 @@
6561
6583
  function isNull(obj) {
6562
6584
  return obj === null;
6563
6585
  }
6564
- /** version: 2.28.0 */
6586
+ /** version: 2.29.0 */
6565
6587
 
6566
6588
  /*
6567
6589
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7132,7 +7154,7 @@
7132
7154
  });
7133
7155
  freeze(LightningElement);
7134
7156
  seal(LightningElement.prototype);
7135
- /* version: 2.28.0 */
7157
+ /* version: 2.29.0 */
7136
7158
 
7137
7159
  exports.LightningElement = LightningElement;
7138
7160
  exports.__unstable__ProfilerControl = profilerControl;