lwc 2.45.2 → 2.45.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +45 -52
  2. package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
  3. package/dist/engine-dom/iife/es2017/engine-dom.js +45 -52
  4. package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
  5. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  6. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +51 -50
  7. package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
  8. package/dist/engine-dom/iife/es5/engine-dom.js +51 -56
  9. package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
  10. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  11. package/dist/engine-dom/iife/es5/engine-dom_debug.js +57 -54
  12. package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
  13. package/dist/engine-dom/umd/es2017/engine-dom.js +45 -52
  14. package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
  15. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  16. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +51 -50
  17. package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
  18. package/dist/engine-dom/umd/es5/engine-dom.js +51 -56
  19. package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
  20. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  21. package/dist/engine-dom/umd/es5/engine-dom_debug.js +57 -54
  22. package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
  23. package/dist/engine-server/commonjs/es2017/engine-server.js +7795 -91
  24. package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
  25. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  26. package/dist/engine-server/esm/es2017/engine-server.js +7794 -71
  27. package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
  28. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +71 -12
  29. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
  30. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +71 -12
  31. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
  32. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +39 -1
  33. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +55 -5
  34. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
  35. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +71 -12
  36. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
  37. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +39 -1
  38. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +43 -4
  39. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
  40. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +71 -12
  41. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
  42. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +39 -1
  43. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +55 -5
  44. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
  45. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +71 -12
  46. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
  47. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +39 -1
  48. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +43 -4
  49. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
  50. package/dist/wire-service/esm/es2017/wire-service.js +10 -4
  51. package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
  52. package/dist/wire-service/iife/es2017/wire-service.js +10 -4
  53. package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
  54. package/dist/wire-service/iife/es2017/wire-service_debug.js +10 -4
  55. package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
  56. package/dist/wire-service/iife/es5/wire-service.js +10 -4
  57. package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
  58. package/dist/wire-service/iife/es5/wire-service_debug.js +10 -4
  59. package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
  60. package/dist/wire-service/umd/es2017/wire-service.js +10 -4
  61. package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
  62. package/dist/wire-service/umd/es2017/wire-service_debug.js +10 -4
  63. package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
  64. package/dist/wire-service/umd/es5/wire-service.js +10 -4
  65. package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
  66. package/dist/wire-service/umd/es5/wire-service_debug.js +10 -4
  67. package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
  68. package/package.json +7 -7
@@ -1,2 +1,2 @@
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,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});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,every:y,fill:b,filter:v,find:C,findIndex:E,includes:S,indexOf:M,join:T,map:k,pop:A,push:N,reduce:L,reverse:_,shift:x,slice:O,some:P,sort:R,splice:D,unshift:F,forEach:I}=Array.prototype;const{fromCharCode:$}=String,{charCodeAt:H,replace:W,split:B,slice:V,toLowerCase:j}=String.prototype;function G(e){return void 0===e}function U(e){return null===e}function Y(e){return!0===e}function K(e){return!1===e}function z(e){return"function"==typeof e}function q(e){return"object"==typeof e}function X(e){return"string"==typeof e}function J(){}const Z={}.toString;function Q(e){return e&&e.toString?m(e)?T.call(k.call(e,Q),","):e.toString():"object"==typeof e?Z.call(e):e+""}function ee(e,t){do{const n=l(e,t);if(!G(n))return n;e=a(e)}while(null!==e)}const te=["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:ne,AriaPropNameToAttrNameMap:re}=(()=>{const e=r(null),t=r(null);return I.call(te,(n=>{const r=j.call(W.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),oe=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ie="object"==typeof globalThis?globalThis:window,se="$shadowResolver$",le="$shadowStaticNode$",ce="$shadowToken$",ae="$$lwc-synthetic-mode",ue="$scoped$",de="$nativeGetElementById$",fe="$nativeQuerySelectorAll$",he="http://www.w3.org/XML/1998/namespace",pe="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xlink",ge=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:we,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:ye}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),be=new Map,ve=new Map;function Ce(e){const t=re[e];if(!G(t))return t;const n=ye.get(e);if(!G(n))return n;const r=be.get(e);if(!G(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=H.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return be.set(e,o),o}function Ee(e){const t=ne[e];if(!G(t))return t;const n=we.get(e);if(!G(n))return n;const r=ve.get(e);if(!G(r))return r;const o=W.call(e,ge,(e=>e[1].toUpperCase()));return ve.set(e,o),o}const Se={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ie.lwcRuntimeFlags||Object.defineProperty(ie,"lwcRuntimeFlags",{value:r(null)});const Me=ie.lwcRuntimeFlags;function Te(e,t){return G(l(t,e))}function ke(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){U(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(re[e]);i(t,e,n)}function Ae(e=Element.prototype){const t=f(re);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Te(r,e)&&ke(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ae();const Ne=[];let Le=J,_e=!1;const xe={attachDispatcher(e){_e=!0,Le=e;for(const e of Ne)try{e()}catch(e){console.error("Could not invoke callback",e)}Ne.length=0},detachDispatcher(){_e=!1,Le=J}};function Oe(e){_e?e():Ne.push(e)}function Pe(e,t){_e&&Le(e,t)}function Re(e){return`<${j.call(e.tagName)}>`}function De(e,t){if(!d(t)&&G(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!U(n);)N.call(t,Re(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}const Fe=new Set;function Ie(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(G(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!U(e.owner);)N.call(t,n+Re(e)),e=e.owner,n+="\t";return T.call(t,"\n")}(n)}`),r){if(Fe.has(o))return;Fe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function $e(e,t){Ie("error",e,t,!1)}const He=new WeakMap;let We=null;function Be(e,t){const n=He.get(e);if(!G(n)){const e=n[t];if(!G(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ve(e,t){if(null===We)return;const n=We,o=function(e){let t=He.get(e);if(G(t)){const n=r(null);t=n,He.set(e,n)}return t}(e);let i=o[t];if(G(i))i=[],o[t]=i;else if(i[0]===n)return;-1===M.call(i,n)&&n.link(i)}class je{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=We;let n;We=this;try{e()}catch(e){n=Object(e)}finally{if(We=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=M.call(e[n],this);D.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){N.call(e,this),N.call(this.listeners,e)}}function Ge(e,t){Be(e.component,t)}function Ue(e,t){Ve(e.component,t)}function Ye(e){return new je(e)}let Ke=[];const ze=32,qe=h(r(null)),Xe=h([]);function Je(){const e=Ke;Ke=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Ze(e){0===Ke.length&&Promise.resolve().then(Je),N.call(Ke,e)}const Qe=/;(?![^(]*\))/g,et=/:(.+)/;function tt(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function nt(e){const t=[];for(const n of e)m(n)?t.push(...nt(n)):t.push(n);return t}function rt(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function ot(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function it(e){return z(e)&&u.call(e,"__circular__")}const st="undefined"!=typeof HTMLElement?HTMLElement:function(){},lt=st.prototype;let ct,at=null;function ut(e,t){at=null,ct=void 0}function dt(e,t){at=e,ct=t}const ft=r(null);function ht(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ge(e,t))}I.call(f(re),(e=>{const t=ee(lt,e);G(t)||(ft[e]=t)})),I.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=ee(lt,e);G(t)||(ft[e]=t)}));const{isArray:pt}=Array,{prototype:mt,getPrototypeOf:gt,create:wt,defineProperty:yt,isExtensible:bt,getOwnPropertyDescriptor:vt,getOwnPropertyNames:Ct,getOwnPropertySymbols:Et,preventExtensions:St,hasOwnProperty:Mt}=Object,{push:Tt,concat:kt}=Array.prototype;function At(e){return void 0===e}function Nt(e){return"function"==typeof e}const Lt=new WeakMap;function _t(e,t){Lt.set(e,t)}const xt=e=>Lt.get(e)||e;class Ot{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Mt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;At(n)||(e.get=this.wrapGetter(n)),At(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=vt(n,t);if(!At(r)){const n=this.wrapDescriptor(r);yt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;kt.call(Ct(t),Et(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;At(n)||Mt.call(e,n)||yt(e,n,wt(null)),St(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=At(n)||Mt.call(t,n)?[]:[n];return Tt.apply(r,Ct(t)),Tt.apply(r,Et(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!bt(e)&&(!!bt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return gt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=vt(n,t);if(At(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},yt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Pt=new WeakMap,Rt=new WeakMap,Dt=new WeakMap,Ft=new WeakMap;class It extends Ot{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Pt.get(e);if(!At(t))return t;const n=this,r=function(){return n.wrapValue(e.call(xt(this)))};return Pt.set(e,r),Dt.set(r,e),r}wrapSetter(e){const t=Rt.get(e);if(!At(t))return t;const n=function(t){e.call(xt(this),xt(t))};return Rt.set(e,n),Ft.set(n,e),n}unwrapDescriptor(e){if(Mt.call(e,"value"))e.value=xt(e.value);else{const{set:t,get:n}=e;At(n)||(e.get=this.unwrapGetter(n)),At(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Dt.get(e);if(!At(t))return t;const n=this,r=function(){return xt(e.call(n.wrapValue(this)))};return Pt.set(r,e),Dt.set(e,r),r}unwrapSetter(e){const t=Ft.get(e);if(!At(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Rt.set(r,e),Ft.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&&pt(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(bt(e)){const{originalTarget:t}=this;if(St(t),bt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Mt.call(r,t)||(yt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const $t=new WeakMap,Ht=new WeakMap;class Wt extends Ot{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=$t.get(e);if(!At(t))return t;const n=this,r=function(){return n.wrapValue(e.call(xt(this)))};return $t.set(e,r),r}wrapSetter(e){const t=Ht.get(e);if(!At(t))return t;const n=function(e){};return Ht.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function Bt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(pt(e))return!0;const t=gt(e);return t===mt||null===t||null===gt(t)}const Vt=(e,t)=>{},jt=(e,t)=>{};function Gt(e){return pt(e)?[]:{}}const Ut=Symbol.for("@@lockerLiveValue"),Yt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Nt(t)?t:jt,this.valueObserved=Nt(n)?n:Vt,this.valueIsObservable=Nt(r)?r:Bt,this.tagPropertyKey=o}getProxy(e){const t=xt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=xt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return xt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(At(t)){const n=new It(this,e);t=new Proxy(Gt(e),n),_t(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(At(t)){const n=new Wt(this,e);t=new Proxy(Gt(e),n),_t(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ve,valueMutated:Be,tagPropertyKey:Ut});function Kt(e){return Yt.getReadOnlyProxy(e)}function zt(e){return Yt.getProxy(e)}function qt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!z(n))throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${e} definition. Missing the standard getter.`);if(!z(r))throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${e} definition. Missing the standard setter.`);return{enumerable:o,configurable:i,get(){const t=po(this);if(!Ur(t))return Ue(t,e),n.call(t.elm)},set(t){const n=po(this);return ht(n,e,t),r.call(n.elm,t)}}}const Xt=new WeakMap,Jt=function(){if(U(Gr))throw new TypeError("Illegal constructor");const e=Gr,{def:t,elm:n}=e,{bridge:r}=t;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 this[Ut]=void 0,ho(this,e),ho(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{[ae]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,ho(s,e),s}(e):e.renderRoot=n,this};Jt.prototype={constructor:Jt,dispatchEvent(e){const t=po(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=po(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Qr(r,t),n)},removeEventListener(e,t,n){const r=po(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Qr(r,t),n)},hasAttribute(e){const t=po(this),{elm:n,renderer:{getAttribute:r}}=t;return!U(r(n,e))},hasAttributeNS(e,t){const n=po(this),{elm:r,renderer:{getAttribute:o}}=n;return!U(o(r,t,e))},removeAttribute(e){const t=po(this),{elm:n,renderer:{removeAttribute:r}}=t;dt(n,e),r(n,e),ut()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=po(this);dt(n,t),r(n,t,e),ut()},getAttribute(e){const t=po(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=po(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=po(this),{elm:r,renderer:{setAttribute:o}}=n;dt(r,e),o(r,e,t),ut()},setAttributeNS(e,t,n){const r=po(this),{elm:o,renderer:{setAttribute:i}}=r;dt(o,t),i(o,t,n,e),ut()},getBoundingClientRect(){const e=po(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=po(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=po(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return po(this).shadowRoot},get refs(){const e=po(this);if(Pr)return;const{refVNodes:t,cmpTemplate:n}=e;if(U(t))return;let o=Xt.get(t);if(G(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;s(o),Xt.set(t,o)}return o},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=po(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=po(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=po(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=po(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=po(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=po(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=po(this);return e.renderer.ownerDocument(e.elm)},render(){return po(this).def.template},toString(){return`[object ${po(this).def.name}]`}};const Zt=r(null),Qt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Qt)Zt[e]={value(t){const n=po(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Jt.prototype,Zt);const en=r(null);for(const e in ft)en[e]=qt(e,ft[e]);function tn(e){return{get(){const t=po(this);return Ue(t,e),t.cmpFields[e]},set(t){ht(po(this),e,t)},enumerable:!0,configurable:!0}}o(Jt.prototype,en),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ae(Jt.prototype),i(Jt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const nn=new Map;function rn(e,t){let n=nn.get(e);if(!G(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),nn.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:i,consumerDisconnectedCallback:s}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{G(s)||s(r)})),i(r)}))}}const on="$$DeprecatedWiredElementHostKey$$",sn="$$DeprecatedWiredParamsMetaKey$$",ln=new Map;function cn(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=G(r)?function(e,t){return n=>{ht(e,t,n)}}(e,t):function(e,t){return n=>{ko(e,e.owner,J,(()=>{t.call(e.component,n)}),J)}}(e,r),a=e=>{c(e)};let u,d;i(a,on,{value:e.elm}),i(a,sn,{value:l}),ko(e,e,J,(()=>{d=new o(a)}),J);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Ye((()=>{!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=>{ko(e,e,J,(()=>{d.update(t,u)}),J)}));return G(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=nn.get(r);if(G(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;N.call(s,(()=>{c(i,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){N.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function an(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};ln.set(e,o)}function un(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};ln.set(e,o)}function dn(e){return{get(){const t=po(this);if(!Ur(t))return Ue(t,e),t.cmpProps[e]},set(t){const n=po(this);n.cmpProps[e]=t,Ge(n,e)},enumerable:!0,configurable:!0}}function fn(e,n){const{get:r,set:o,enumerable:i,configurable:s}=n;return t.invariant(z(r),`Invalid public accessor ${Q(e)} decorated with @api. The property is missing a getter.`),{get(){return r.call(this)},set(e){po(this),o&&o.call(this,e)},enumerable:i,configurable:s}}function hn(e){return{get(){const t=po(this);return Ue(t,e),t.cmpFields[e]},set(t){const n=po(this),r=zt(t);ht(n,e,r)},enumerable:!0,configurable:!0}}function pn(e){return{get(){const t=po(this);return Ue(t,e),t.cmpFields[e]},set(t){ht(po(this),e,t)},enumerable:!0,configurable:!0}}const mn=new Map;const gn={apiMethods:qe,apiFields:qe,apiFieldsConfig:qe,wiredMethods:qe,wiredFields:qe,observedFields:qe};const wn=new Set;function yn(){return[]}wn.add(yn);const bn=r(null),vn=r(null);function Cn(e){let t=bn[e];return G(t)&&(t=bn[e]=function(){const t=po(this),{getHook:n}=t;return n(t.component,e)}),t}function En(e){let t=vn[e];return G(t)&&(t=vn[e]=function(t){const n=po(this),{setHook:r}=n;t=Kt(t),r(n.component,e,t)}),t}function Sn(e){return function(){const t=po(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,O.call(arguments))}}function Mn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];G(i)?G(t)||t.apply(this,arguments):function(e,t){return e!==at||t!==ct}(this,n)&&(this[i]=o)}}function Tn(e,t,n){let s;z(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[Ce(n)]=n,u[n]={get:Cn(n),set:En(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Sn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Mn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const kn=Tn(st,c(ft),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ae(kn.prototype),s(kn),h(kn.prototype);const An="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const Nn=An?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){G(e[t].deref())&&D.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return G(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();G(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);N.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return G(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new WeakMap,new Nn,new Nn,new Nn;const Ln=new WeakMap;function _n(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=mn.get(e);return G(t)?gn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(U(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(it(t)){const e=ot(t);t=e===t?Jt:e}return t}(e),E=C!==Jt?On(C):Pn,S=Tn(E.bridge,f(l),f(u)),M=n(r(null),E.props,l),T=n(r(null),E.propsConfig,c),k=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;G(t)||(N=t);let L=E.renderMode;G(i)||(L="light"===i?0:1);const _=function(e){var t;return null===(t=zr.get(e))||void 0===t?void 0:t.tmpl}(e)||E.template,x=e.name||E.name;o(m,p);return{ctor:e,name:x,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function xn(e){if(!z(e))return!1;if(e.prototype instanceof Jt)return!0;let t=e;do{if(it(t)){const e=ot(t);if(e===t)return!0;t=e}if(t===Jt)return!0}while(!U(t)&&(t=a(t)));return!1}function On(e){let t=Ln.get(e);if(G(t)){if(it(e)){return t=On(ot(e)),Ln.set(e,t),t}if(!xn(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=_n(e),Ln.set(e,t)}return t}const Pn={ctor:Jt,name:Jt.name,props:en,propsConfig:qe,methods:qe,renderMode:1,shadowSupportMode:"reset",wire:qe,bridge:kn,template:yn,render:Jt.prototype.render};function Rn(e){return`${e}-host`}function Dn(e){return Tr.h("style",{key:"style",attrs:{type:"text/css"}},[Tr.t(e)])}function Fn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))N.apply(r,Fn(s,t,n));else{const e=s[ue];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){$e("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:(G(o)&&(o=In(n)),c=U(o)||0===o.shadowMode),N.call(r,s(i,l,c))}}return r}function In(e){let t=e;for(;!U(t);){if(1===t.renderMode)return t;t=t.owner}return t}function $n(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function Hn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return k.call(t,Dn);{const n=function(e){const t=In(e);return U(t)||1!==t.shadowMode?t:null}(e),r=U(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function Wn(e){const{type:t}=e;return 2===t||3===t}function Bn(e,t){return e.key===t.key&&e.sel===t.sel}function Vn(e){return 5===e.type}function jn(e){return 6===e.type}const Gn=58;const Un=58;function Yn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Kn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(G(o)&&G(i))return;let s;if(!U(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;G(s)&&(s=qe),G(t)||(s=n({},s,t))}G(i)||(o=n({},o,i));const l=U(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Yn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const zn=r(null);function qn(e){if(null==e)return qe;e=X(e)?e:e+"";let t=zn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)H.call(e,n)===ze&&(n>o&&(t[V.call(e,o,n)]=!0),o=n+1);return n>o&&(t[V.call(e,o,n)]=!0),zn[e]=t,t}function Xn(e,t){const{elm:n,data:{on:r}}=e;if(G(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Jn(e,t,n,r){mr(t)?wr(e,t,n,r):yr(e,t,n,r)}function Zn(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&&sr(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?yr(e.children,o,n,r):wr(e.children,o,n,r);t.elm=t.leading.elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;ur(e,t,n),Jn(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);nr(e,n,r,!0),er(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(ur(e,t,r),!G(o)){fr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&mr(e.children)&&pr(t.children)}Jn(e.children,t.children,n,r),G(o)||function(e){go(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Qn(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);ir(s,o,r),cr(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);ir(s,o,r),cr(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);ir(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l[le]=!0));cr(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;tr(o,t,r,n),e.elm=e.leading.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=Y(s)?pe:void 0,a=e.elm=l(o,c);ir(a,i,r),dr(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),ur(null,e,r),cr(a,t,n,r),tr(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:er(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function er(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{co(e)},a=e=>{ao(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=mo(e);if(!G(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=fo(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,ir(u,i,r),dr(u,i,r),l&&fr(e,l),ur(null,e,r),cr(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||vo(l)),tr(e.children,u,r,null),l&&function(e){go(e)}(l)}function tr(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];or(i)&&Qn(i,t,n,r)}}function nr(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?rr(e.children,t,n,r):ar(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;rr(e.children,i,n,t);break}case 3:{const{vm:t}=e;G(t)||function(e){uo(e)}(t)}}}function rr(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];or(i)&&nr(i,t,n,r)}}function or(e){return null!=e}function ir(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e[se]=r[se]))}function sr(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function lr(e,t,n,r){if(Vn(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const i=o[e];U(i)||r.insert(i.elm,t,n)}}else r.insert(e.elm,t,n)}function cr(e,t,n,r){r.insert(e,t,n)}function ar(e,t,n){n.remove(e,t)}function ur(e,t,n){U(e)&&(Xn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(G(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(G(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=U(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=qn(o),a=qn(i);let u;for(u in a)G(c[u])&&l.remove(u);for(u in c)G(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((U(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;X(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(G(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,c=U(e)?qe:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(Ee(e)in o?l(o,e,t):H.call(e,3)===Un?s(o,e,t,he):H.call(e,5)===Un?s(o,e,t,me):U(t)||G(t)?i(o,e):s(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(G(r))return;const o=U(e)?qe: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&&(dt(i,e),H.call(e,3)===Gn?s(i,e,t,he):H.call(e,5)===Gn?s(i,e,t,me):U(t)||G(t)?l(i,e):s(i,e,t),ut())}}(e,t,n),Kn(e,t,n)}function dr(e,t,n){const r=$n(t);if(!U(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||G(o)||(e.$shadowToken$=o)}function fr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:i}=t,s=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];N.call(n,r),o=o||!(!r||!Vn(r))}if(!o)return e;for(;!G(r=A.call(n));)if(!U(r)&&Vn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)N.call(n,e[t])}else N.call(t,r);return pr(t),t}(n);e.children=s,t.aChildren=s,1!==i&&0!==o||(!function(e,t,n){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(U(n))continue;let r="";Wn(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":jn(n)&&(r=n.slotName);const s=""+r,c=l[s]=l[s]||[];N.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},K(e.isDirty)){const t=f(s);if(t.length!==f(l).length)return void Jr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(G(l[r])||s[r].length!==l[r].length)return void Jr(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 Jr(e)}}}(t,s,e.owner),e.aChildren=s,e.children=Xe)}const hr=new WeakMap;function pr(e){hr.set(e,1)}function mr(e){return hr.has(e)}function gr(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(or(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function wr(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;)if(or(l))if(or(c))if(or(m))if(or(g))if(Bn(l,m))Zn(l,m,n,r),l=e[++o],m=t[++i];else if(Bn(c,g))Zn(c,g,n,r),c=e[--s],g=t[--p];else if(Bn(l,g)){let i;Zn(l,g,n,r),i=Vn(c)?r.nextSibling(c.trailing.elm):r.nextSibling(c.elm),lr(l,n,i,r),l=e[++o],g=t[--p]}else Bn(c,m)?(Zn(c,m,n,r),lr(m,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=gr(e,o,s)),d=u[m.key],G(d)?(Qn(m,n,r,l.elm),m=t[++i]):(f=e[d],or(f)&&(f.sel!==m.sel?Qn(m,n,r,l.elm):(Zn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,lr(f,n,l.elm,r))),m=t[++i]));else g=t[--p];else m=t[++i];else c=e[--s];else l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!or(e)&&o<a);h=or(e)?e.elm:null,tr(t,n,r,h,i,p+1)}else rr(e,n,r,!0,o,s+1)}function yr(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void tr(t,n,r,null);if(0===i)return void rr(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&&(or(i)?or(l)?Bn(i,l)?(Zn(i,l,n,r),s=l.elm):(nr(i,n,r,!0),Qn(l,n,r,s),s=l.elm):nr(i,n,r,!0):or(l)&&(Qn(l,n,r,s),s=l.elm))}}const br=Symbol.iterator;function vr(e,t,n=Xe){const r=Dr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return G(i)||rt(r,i,s),s}function Cr(e,t,n,r=Xe){const o=Dr(),{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){N.call(Dr().velements,e)}(l),G(s)||rt(o,s,l),l}function Er(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Dr()}}function Sr(e){return pr(e),e}let Mr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Tr=s({s:function(e,t,n,r){if(!G(r)&&!G(r.slotAssignments)&&!G(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!U(n)){const e=jn(n);if(e!==!G(t.slotData))continue;if(e){const e=Dr();Fr(r.owner);try{N.call(o,n.factory(t.slotData,t.key))}finally{Fr(e)}}else N.call(o,n)}}n=o}const o=Dr(),{renderMode:i,shadowMode:s}=o;return 0===i?(Sr(n),n):(1===s&&Sr(n),vr("slot",t,n))},h:vr,c:Cr,i:function(e,t){const n=[];if(Sr(n),G(e)||null===e)return n;const r=e[br]();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)?N.apply(n,e):N.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Sr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?N.apply(n,t):N.call(n,t)}return n},t:Er,d:function(e){return null==e?"":String(e)},b:function(e){const t=Dr();if(U(t))throw new Error;const n=t;return function(t){Kr(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:Dr()}},dc:function(e,t,n=Xe){if(U(e)||G(e))return null;if(!xn(e))throw new Error(`Invalid constructor ${Q(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=zr.get(e))||void 0===t?void 0:t.sel}(e);if(G(r)||""===r)throw new Error(`Invalid LWC constructor ${Q(e)} does not have a registered name`);return Cr(r,e,t,n)},fr:function(e,t,n){const r=Er(""),o=Er("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:Dr(),leading:r,trailing:o}},ti:function(e){return e>0&&!(Y(e)||K(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Dr()}},gid:function(e){const t=Dr();if(G(e)||""===e)return e;if(U(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?W.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Dr();if(G(e)||""===e)return e;if(U(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Mr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Dr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=Xe){if(U(t)||G(t))return null;if(!xn(t))throw new Error(`Invalid LWC Constructor ${Q(t)} for custom element <${e}>.`);return Cr(e,t,n,r)}});let kr=!1,Ar=J;const Nr={enableProfiler(){kr=!0},disableProfiler(){kr=!1},attachDispatcher(e){Ar=e,this.enableProfiler()},detachDispatcher(){const e=Ar;return Ar=J,this.disableProfiler(),e}};function Lr(e,t){kr&&Ar(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function _r(e,t){kr&&Ar(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function xr(e,t){kr&&Ar(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 Or(e,t){kr&&Ar(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 Pr=!1,Rr=null;function Dr(){return Rr}function Fr(e){Rr=e}function Ir(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=Dr(),c=!G(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!G(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 $r=Ir(((e,t)=>{const{createFragment:n}=t;return n(e)})),Hr=Ir(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Wr(e,t){const n=Pr,o=Rr;let i=[];return ko(e,e.owner,(()=>{Rr=e,Lr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(U(l)||Mo(e),c=t,!wn.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=Vr(t,e),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,{stylesheets:d}=e,f=1===o&&1===i,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;G(w)||(y&&s(n).remove(Rn(w)),b&&l(n,Rn(w)));const v=jr(a),C=jr(d);(v||C)&&(p=u),G(p)||(h&&(s(n).add(Rn(p)),m=!0),f&&(c(n,Rn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let i=[];return jr(n)&&(i=Fn(n,r,e)),jr(o)&&N.apply(i,Fn(o,r,e)),i}(e,t);o.styleVNodes=0===n.length?null:Hn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Pr=!0,i=t.call(void 0,Tr,n,s,o.tplCache);const{styleVNodes:a}=o;U(a)||F.apply(i,a)}))}),(()=>{Pr=n,Rr=o,_r(1,e)})),i}function Br(e){if(jr(e))for(let t=0;t<e.length;t++)if(Y(e[t][ue]))return!0;return!1}function Vr(e,t){const{stylesheets:n}=e,r=G(t)?null:t.stylesheets;return Br(n)||Br(r)}function jr(e){return!G(e)&&!U(e)&&e.length>0}let Gr=null;function Ur(e){return Gr===e}function Yr(e,t,n){const{component:r,callHook:o,owner:i}=e;ko(e,i,J,(()=>{o(r,t,n)}),J)}function Kr(e,t,n,r){const{callHook:o,owner:i}=e;ko(e,i,J,(()=>{o(n,t,[r])}),J)}const zr=new Map;function qr(e){return Ye((()=>{const{isDirty:t}=e;K(t)&&(Jr(e),function(e){if(Y(e.isScheduled))return;e.isScheduled=!0,0===yo.length&&Ze(bo);N.call(yo,e)}(e))}))}function Xr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Dr();let s,l=!1;return ko(e,o,(()=>{Fr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Fr(i)})),l?Wr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Jr(e){e.isDirty=!0}const Zr=new WeakMap;function Qr(e,t){if(!z(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Zr.get(t);return G(n)&&(n=function(n){Kr(e,t,void 0,n)},Zr.set(t,n)),n}const eo=r(null),to=["rendered","connected","disconnected"];function no(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 ro=0;const oo=new WeakMap;function io(e,t,n=[]){return t.apply(e,n)}function so(e,t,n){e[t]=n}function lo(e,t){return e[t]}function co(e){const t=po(e);xr(7,t),1===t.state&&ao(e),vo(t),go(t),Or(7,t)}function ao(e){uo(po(e))}function uo(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){K(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=eo;t&&no(e,t);Co(e)&&function(e){const{wiredDisconnecting:t}=e.context;ko(e,e,J,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),J)}(e);const{disconnectedCallback:n}=e.def;G(n)||(Lr(5,e),Yr(e,n),_r(5,e))}(e),Eo(e),function(e){const{aChildren:t}=e;So(t)}(e)}}function fo(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=On(t),u={elm:e,def:a,idx:ro++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,children:Xe,aChildren:Xe,velements:Xe,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments: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:qe,wiredConnecting:Xe,wiredDisconnecting:Xe},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:io,setHook:so,getHook:lo,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!G(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else z(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return nt(n)}return null}(0,a.ctor),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(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!U(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=U(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=qr(u),function(e,t){const n=Gr;let r;Lr(0,e),Gr=e;try{const e=new t;if(Gr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(_r(0,e),Gr=n,!G(r))throw De(e,r),r}}(u,a.ctor),Co(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=ln.get(i);if(!G(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=cn(e,t,s),c=s.dynamic.length>0;N.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),N.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function ho(e,t){oo.set(e,t)}function po(e){return oo.get(e)}function mo(e){return oo.get(e)}function go(e){if(Y(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ko(e,e,(()=>{Lr(2,e)}),(()=>{Jn(r,t,n,o)}),(()=>{_r(2,e)}));1===e.state&&wo(e)}(e,Xr(e))}}function wo(e){const{def:{renderedCallback:t}}=e,{rendered:n}=eo;n&&no(e,n),G(t)||(Lr(4,e),Yr(e,t),_r(4,e))}let yo=[];function bo(){xr(8);const e=yo.sort(((e,t)=>e.idx-t.idx));yo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{go(r)}catch(r){throw t+1<n&&(0===yo.length&&Ze(bo),F.apply(yo,O.call(e,t+1))),Or(8),r}}Or(8)}function vo(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=eo;n&&no(e,n),Co(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;G(r)||(Lr(3,e),Yr(e,r),_r(3,e))}function Co(e){return c(e.def.wire).length>0}function Eo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!G(n)){const e=mo(n);G(e)||uo(e)}}}function So(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!U(n)&&!G(n.elm))switch(n.type){case 2:So(n.children);break;case 3:uo(po(n.elm));break}}}function Mo(e){To(e.children,e),e.children=Xe,Eo(e),e.velements=Xe}function To(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,i=e.length;o<i;o+=1){const i=e[o];U(i)||(Vn(i)?To(i.children,t):G(i.elm)||r(i.elm,n))}}function ko(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!G(i)){De(e,i);const n=U(t)?void 0:function(e){let t=e;for(;!U(t);){if(!G(t.def.errorCallback))return t;t=t.owner}}(t);if(G(n))throw i;Mo(e),Lr(6,e);Yr(n,n.def.errorCallback,[i,i.wcStack]),_r(6,e)}}}const Ao=ie[de],No=ie[fe];function Lo(e,t,n){let r=mo(e.getRootNode().host);G(r)&&(r=mo(t.getRootNode().host)),G(r)||Pe("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function _o(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&Y(o.synthetic))if("id"===t){if(!X(n)||0===n.length)return;for(const t of oe){const o=`[${t}~="${CSS.escape(n)}"]`,i=No.call(document,o);for(let n=0;n<i.length;n++){const o=i[n];if(o.getRootNode()!==r){Lo(o,e,t);break}}}}else{const o=function(e){return X(e)?v.call(B.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=Ao.call(document,n);if(!U(o)){o.getRootNode()!==r&&Lo(e,o,t)}}}}delete ie[de],delete ie[fe];let xo=!1;"undefined"!=typeof CSS&&z(CSS.escape)&&u.call(Element.prototype,ce)&&Oe((function(){if(xo)return;xo=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||oe.has(t))&&_o(this,t,n)}});const t=l(Element.prototype,"id");if(!G(t)){const{get:e,set:n}=t;z(e)&&z(n)&&i(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),_o(this,"id",e)},enumerable:!0,configurable:!0})}}));const Oo=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function Po(e){return e instanceof Jt||e instanceof kn}function Ro(e,t,n,r){if(!Po(e)){const o=function(e){const{host:t}=e.getRootNode(),n=G(t)?void 0:mo(t);if(!G(n))return n;let r=e;for(;!U(r=r.parentElement);)if(Po(r)){const e=mo(r);if(!G(e))return e}}(e);let i;n&&(i=U(r)?"null":typeof r),Pe("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:i})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Oe((function(){const{prototype:e}=Element;for(const t of Oo){const n=l(e,t),{get:r,set:o}=n;i(e,t,{get(){return Ro(this,t,!1,void 0),r.call(this)},set(e){return Ro(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Do=!1;function Fo(e){const t=Xr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Ho(r(n),t,n,e),wo(e)}function Io(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!Vo(t,e,3,n))return Wo(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(!Vo(t,e,8,n))return Wo(e,t,n);const{setProperty:o}=n;return o(e,$o,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!!Vo(n,t,3,r)&&o(e,$o)===o(t,$o);if(8===o(e,"nodeType"))return!!Vo(n,t,8,r)&&o(e,$o)===o(t,$o);if(!Vo(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)&&($e(`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 Wo(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 Ho(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(!Vo(t,e,1,n)||!jo(t,e,n))return Wo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!G(o)&&!G(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;G(r)||G(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:tt(r,"innerHTML")}))}if(Bo(t,n),!i){const{getFirstChild:o}=n;Ho(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){const{validationOptOut:r}=t.ctor,o=function(e){if(G(e))return e=>!0;if(Y(e))return e=>!1;if(m(e)&&(t=e,n=X,y.call(t,n)))return t=>!S.call(e,t);var t,n;return function(e,t){Ie("warn",e,t,!1)}("Validation opt out must be `true` or an array of attributes that should not be validated."),e=>!0}(r);if(!Vo(t,e,1,n)||!jo(t,e,n,o))return Wo(e,t,n);const{sel:i,mode:s,ctor:l,owner:c}=t,a=fo(e,l,n,{mode:s,owner:c,tagName:i,hydrated:!0});if(t.elm=e,t.vm=a,fr(t,a),Bo(t,n),vo(a),0!==a.renderMode){const{getFirstChild:r}=n;Ho(r(e),t.children,e,a)}return Fo(a),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const $o="nodeValue";function Ho(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];U(r)||(o?(o=Io(o,r,s),i=r.elm):(Do=!0,Qn(r,n,s,i),i=r.elm))}if(o){Do=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),ar(t,n,s)}while(o)}}function Wo(e,t,n){Do=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Qn(t,o,n,e),ar(e,o,n),t.elm}function Bo(e,t){Xn(e,t),Kn(null,e,t)}function Vo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function jo(e,t,n,r=(()=>!0)){const{getProperty:o}=n;if(e.sel.toLowerCase()!==o(t,"tagName").toLowerCase())return!1;const i=function(e,t,n,r){const{data:{attrs:o={}}}=e;let i=!0;for(const[e,s]of Object.entries(o)){if(!r(e))continue;const{getAttribute:o}=n;Go(s,o(t,e))||(i=!1)}return i}(e,t,n,r),s=!r("class")||function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c,getAttribute:a}=n,u=$n(o),d=function(e){return 3===e.type}(e)?function(e){const{template:t}=On(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!G(r)&&Vr(t,n)?Rn(r):null}(e):null;if(!U(u)||!U(d))if(G(i))if(G(s)){const e=[u,d],t=v.call(e,(e=>!U(e)));t.length&&(i=T.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),U(u)?{}:{[u]:!0}),U(d)?{}:{[d]:!0});else{const e=[u,i,d],t=v.call(e,(e=>!U(e)));i=T.call(t," ")}let h=!0;const p=a(t,"class");if(G(i)||String(i)===p)if(G(s))G(i)&&!U(p)&&(h=!1);else{const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(h=!1);JSON.stringify(n.trim()),e.length>f(s).length&&(h=!1)}else h=!1,JSON.stringify(i);return h}(e,t,n),l=!r("style")||function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(G(r)||r===s){if(!G(o)){const e=function(e){const t={},n=e.split(Qe);for(const e of n)if(e){const[n,r]=e.split(et);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];G(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),T.call(t,";")}}else l=!1;return l}(e,t,n);return i&&s&&l}function Go(e,t){return String(e)===t||!(!U(t)||!G(e)&&!U(e))}let Uo=!1;const Yo=["slots","stylesheetToken","stylesheets","renderMode"],Ko=["$scoped$"],zo=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let qo=!1;function Xo(e){switch(e){case"pop":return A;case"push":return N;case"shift":return x;case"unshift":return F;case"reverse":return _;case"sort":return R;case"fill":return b;case"splice":return D;case"copyWithin":return w}}function Jo(e,t,n){Pe(t,{propertyName:n})}function Zo(e){Jo(0,"TemplateMutation",e)}function Qo(e){Jo(0,"StylesheetMutation",e)}function ei(e){ti(e,(e=>{m(e)?function(e){for(const t of zo){const n=Xo(t);e[t]=function(){return Zo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of Ko){let n=e[t];i(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Qo(t),n=e}})}}(e)}))}function ti(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?ti(r,t):t(r)}}const ni=z(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),ri=ni&&l(document.adoptedStyleSheets,"length").writable,oi=!G(document.documentMode),ii=new Map;function si(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function li(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?oi?si(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function ci(e,t){let n=ii.get(e);return G(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},ii.set(e,n)),t&&G(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&G(n.element)&&(n.element=si(e)),n}function ai(e,t){const n=ci(e,ni);let{roots:r}=n;if(G(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),ni?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;ri?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):li(e,t,n)}const ui=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}}(),di=(e,t)=>{const n=document.createElement(e);return t(n),n},fi=new Map,hi=new WeakSet;let pi=!1;const mi=(e,t)=>{const n=!G(e),r=!G(t);class o extends HTMLElement{constructor(e){super(),pi?e(this):(n||r)&&hi.add(this)}}return n&&(o.prototype.connectedCallback=function(){hi.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){hi.has(this)||t(this)}),o};let gi;function wi(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});function n(e){return void 0===e}class r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),this.setNewContext=t,this.setDisconnectedCallback=n}}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}}function o(e,t,n,r){e.addEventListener(t,n,r)}function i(e,t){return e.dispatchEvent(t)}return e.addEventListener=o,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=i,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.ownerDocument=function(e){return e.ownerDocument},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.registerContextConsumer=function(e,t,n){i(e,new r(t,n))},e.registerContextProvider=function(e,t,n){o(e,t,(e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})}))},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}gi=ui?(e,t,n,r)=>{let o=fi.get(e);if(G(o)){if(!G(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=mi(n,r),customElements.define(e,o),fi.set(e,o)}pi=!0;try{return new o(t)}finally{pi=!1}}:di;const yi=n(wi(null),{insertStylesheet:function(e,t){G(t)?function(e){const t=ci(e,!1);t.global||(t.global=!0,li(e,document.head,t))}(e):ai(e,t)},createCustomElement:gi,isNativeShadowDefined:ie.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,ce)});function bi(e,t,n){const r=fo(e,t,yi,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function vi(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(!z(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!q(n)||U(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(mo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Do=!1,vo(e),Fo(e),Do&&$e("Hydration completed with errors.",e)}(bi(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!U(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!U(e.firstChild);)e.removeChild(e.firstChild)}(e,t),bi(e,t,n),co(e)}}const Ci=new WeakSet;function Ei(e){var t;const n=function(e){return On(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(vi(this,e,{}),Ci.add(this)):fo(this,e,yi,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Ci.has(this)?Ci.delete(this):co(this)}disconnectedCallback(){ao(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Si=Node,Mi=new WeakMap,Ti=new WeakMap;function ki(e,t){const n=t.get(e);return G(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Si.prototype;n(Si.prototype,{appendChild(t){return ki(e.call(this,t),Mi)},insertBefore(e,n){return ki(t.call(this,e,n),Mi)},removeChild(e){return ki(r.call(this,e),Ti)},replaceChild(e,t){const n=o.call(this,e,t);return ki(n,Ti),ki(e,Mi),n}})}const Ai=Node;const Ni=new Map;function Li(e,t,n){var r,o,i;r=t,o=e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})},e.addEventListener(r,o,i)}i(Jt,"CustomElementConstructor",{get(){return function(e){if(e===Jt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ni.get(e);return G(t)&&(t=Ei(e),Ni.set(e,t)),t}(this)}}),s(Jt),h(Jt.prototype),e.LightningElement=Jt,e.__unstable__ProfilerControl=Nr,e.__unstable__ReportingControl=xe,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){return rn(e,Li)},e.createElement=function(e,t){if(!q(t)||U(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${Q(t)}".`);const n=t.is;if(!z(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=yi,o=j.call(e);let i,s;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i=e=>{co(e)},s=e=>{ao(e)}),r(o,(e=>{fo(e,n,yi,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(Mi.set(e,co),Ti.set(e,ao))}),i,s)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(s(e),G(e.stylesheets)||ti(e.stylesheets,(e=>{s(e)}))):(!function(e){i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return G(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=G(e)?void 0:e.shadowAttribute}})}(e),Oe((()=>{!function(e){G(e.stylesheets)||ei(e.stylesheets);for(const t of Yo){let n=e[t];i(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){qo||Zo(t),n=e}})}const t=l(e,"stylesheetTokens");i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){Zo("stylesheetTokens"),qo=!0,t.set.call(this,e),qo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!G(e)){const n=mo(e);G(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=On(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:Ce(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=vi,e.isComponentConstructor=xn,e.isNodeFromTemplate=function(e){if(K(e instanceof Ai))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&K(u.call(a(t),"synthetic")))||yi.isSyntheticShadowDefined&&!G(e[se])},e.parseFragment=$r,e.parseSVGFragment=Hr,e.readonly=function(e){return Kt(e)},e.register=function(e){for(let t=0;t<to.length;++t){const n=to[t];if(n in e){let t=eo[n];G(t)&&(eo[n]=t=[]),N.call(t,e[n])}}},e.registerComponent=function(e,t){return z(e)&&zr.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(!G(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(G(w))throw new Error;w=fn(e,w)}else w=G(w)||G(w.get)?dn(e):fn(e,w);f[e]=w,i(n,e,w)}if(G(s)||I.call(s,(e=>{if(w=l(n,e),G(w))throw new Error;d[e]=w})),!G(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(G(w))throw new Error;h[e]=w,an(w,t,o,s)}else w=pn(e),p[e]=w,un(w,t,o,s),i(n,e,w)}if(!G(a))for(const e in a)w=l(n,e),w=hn(e),i(n,e,w);if(!G(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!G(o)&&t in o,i=!G(a)&&t in a;r||i||(m[t]=tn(t))}return function(e,t){mn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return wn.add(e),e},e.renderer=yi,e.rendererFactory=wi,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(G(Se[e])){const n=f(Se).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=Me[e];if(!G(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(Me,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(Uo,"Hooks are already overridden, only one definition is allowed."),Uo=!0,n=e.sanitizeHtmlContent,Mr=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 zt(e);throw new Error},e.unwrap=function(e){return Yt.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
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,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});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,every:y,fill:b,filter:v,find:C,findIndex:E,includes:S,indexOf:M,join:T,map:k,pop:A,push:N,reduce:L,reverse:_,shift:x,slice:O,some:P,sort:R,splice:D,unshift:F,forEach:I}=Array.prototype;const{fromCharCode:$}=String,{charCodeAt:W,replace:H,split:B,slice:V,toLowerCase:j}=String.prototype;function G(e){return void 0===e}function U(e){return null===e}function Y(e){return!0===e}function K(e){return!1===e}function z(e){return"function"==typeof e}function q(e){return"object"==typeof e}function X(e){return"string"==typeof e}function J(){}const Z={}.toString;function Q(e){return e&&e.toString?m(e)?T.call(k.call(e,Q),","):e.toString():"object"==typeof e?Z.call(e):e+""}function ee(e,t){do{const n=l(e,t);if(!G(n))return n;e=a(e)}while(null!==e)}const te=["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:ne,AriaPropNameToAttrNameMap:re}=(()=>{const e=r(null),t=r(null);return I.call(te,(n=>{const r=j.call(H.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),oe=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ie="object"==typeof globalThis?globalThis:window,se="$shadowResolver$",le="$shadowStaticNode$",ce="$shadowToken$",ae="$$lwc-synthetic-mode",ue="$scoped$",de="$nativeGetElementById$",fe="$nativeQuerySelectorAll$",he="http://www.w3.org/XML/1998/namespace",pe="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xlink",ge=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:we,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:ye}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),be=new Map,ve=new Map;function Ce(e){const t=re[e];if(!G(t))return t;const n=ye.get(e);if(!G(n))return n;const r=be.get(e);if(!G(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=W.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return be.set(e,o),o}function Ee(e){const t=ne[e];if(!G(t))return t;const n=we.get(e);if(!G(n))return n;const r=ve.get(e);if(!G(r))return r;const o=H.call(e,ge,(e=>e[1].toUpperCase()));return ve.set(e,o),o}const Se={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ie.lwcRuntimeFlags||Object.defineProperty(ie,"lwcRuntimeFlags",{value:r(null)});const Me=ie.lwcRuntimeFlags;function Te(e,t){return G(l(t,e))}function ke(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){U(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(re[e]);i(t,e,n)}function Ae(e=Element.prototype){const t=f(re);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Te(r,e)&&ke(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ae();const Ne=[];let Le=J,_e=!1;const xe={attachDispatcher(e){_e=!0,Le=e;for(const e of Ne)try{e()}catch(e){console.error("Could not invoke callback",e)}Ne.length=0},detachDispatcher(){_e=!1,Le=J}};function Oe(e){_e?e():Ne.push(e)}function Pe(e,t){_e&&Le(e,t)}function Re(e){return`<${j.call(e.tagName)}>`}function De(e,t){if(!d(t)&&G(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!U(n);)N.call(t,Re(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}const Fe=new Set;function Ie(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(G(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!U(e.owner);)N.call(t,n+Re(e)),e=e.owner,n+="\t";return T.call(t,"\n")}(n)}`),r){if(Fe.has(o))return;Fe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function $e(e,t){Ie("error",e,t,!1)}const We=new WeakMap;let He=null;function Be(e,t){const n=We.get(e);if(!G(n)){const e=n[t];if(!G(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ve(e,t){if(null===He)return;const n=He,o=function(e){let t=We.get(e);if(G(t)){const n=r(null);t=n,We.set(e,n)}return t}(e);let i=o[t];if(G(i))i=[],o[t]=i;else if(i[0]===n)return;-1===M.call(i,n)&&n.link(i)}class je{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=He;let n;He=this;try{e()}catch(e){n=Object(e)}finally{if(He=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=M.call(e[n],this);D.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){N.call(e,this),N.call(this.listeners,e)}}function Ge(e,t){Be(e.component,t)}function Ue(e,t){Ve(e.component,t)}function Ye(e){return new je(e)}let Ke=[];const ze=32,qe=h(r(null)),Xe=h([]);function Je(){const e=Ke;Ke=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Ze(e){0===Ke.length&&Promise.resolve().then(Je),N.call(Ke,e)}const Qe=/;(?![^(]*\))/g,et=/:(.+)/;function tt(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function nt(e){const t=[];for(const n of e)m(n)?t.push(...nt(n)):t.push(n);return t}function rt(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function ot(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function it(e){return z(e)&&u.call(e,"__circular__")}const st="undefined"!=typeof HTMLElement?HTMLElement:function(){},lt=st.prototype,ct=r(null);function at(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ge(e,t))}I.call(f(re),(e=>{const t=ee(lt,e);G(t)||(ct[e]=t)})),I.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=ee(lt,e);G(t)||(ct[e]=t)}));const{isArray:ut}=Array,{prototype:dt,getPrototypeOf:ft,create:ht,defineProperty:pt,isExtensible:mt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:wt,getOwnPropertySymbols:yt,preventExtensions:bt,hasOwnProperty:vt}=Object,{push:Ct,concat:Et}=Array.prototype;function St(e){return void 0===e}function Mt(e){return"function"==typeof e}const Tt=new WeakMap;function kt(e,t){Tt.set(e,t)}const At=e=>Tt.get(e)||e;class Nt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(vt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;St(n)||(e.get=this.wrapGetter(n)),St(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=gt(n,t);if(!St(r)){const n=this.wrapDescriptor(r);pt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Et.call(wt(t),yt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;St(n)||vt.call(e,n)||pt(e,n,ht(null)),bt(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=St(n)||vt.call(t,n)?[]:[n];return Ct.apply(r,wt(t)),Ct.apply(r,yt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!mt(e)&&(!!mt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ft(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=gt(n,t);if(St(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},pt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Lt=new WeakMap,_t=new WeakMap,xt=new WeakMap,Ot=new WeakMap;class Pt extends Nt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Lt.get(e);if(!St(t))return t;const n=this,r=function(){return n.wrapValue(e.call(At(this)))};return Lt.set(e,r),xt.set(r,e),r}wrapSetter(e){const t=_t.get(e);if(!St(t))return t;const n=function(t){e.call(At(this),At(t))};return _t.set(e,n),Ot.set(n,e),n}unwrapDescriptor(e){if(vt.call(e,"value"))e.value=At(e.value);else{const{set:t,get:n}=e;St(n)||(e.get=this.unwrapGetter(n)),St(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=xt.get(e);if(!St(t))return t;const n=this,r=function(){return At(e.call(n.wrapValue(this)))};return Lt.set(r,e),xt.set(e,r),r}unwrapSetter(e){const t=Ot.get(e);if(!St(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return _t.set(r,e),Ot.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&&ut(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(mt(e)){const{originalTarget:t}=this;if(bt(t),mt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!vt.call(r,t)||(pt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Rt=new WeakMap,Dt=new WeakMap;class Ft extends Nt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Rt.get(e);if(!St(t))return t;const n=this,r=function(){return n.wrapValue(e.call(At(this)))};return Rt.set(e,r),r}wrapSetter(e){const t=Dt.get(e);if(!St(t))return t;const n=function(e){};return Dt.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 It(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ut(e))return!0;const t=ft(e);return t===dt||null===t||null===ft(t)}const $t=(e,t)=>{},Wt=(e,t)=>{};function Ht(e){return ut(e)?[]:{}}const Bt=Symbol.for("@@lockerLiveValue"),Vt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Mt(t)?t:Wt,this.valueObserved=Mt(n)?n:$t,this.valueIsObservable=Mt(r)?r:It,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(St(t)){const n=new Pt(this,e);t=new Proxy(Ht(e),n),kt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(St(t)){const n=new Ft(this,e);t=new Proxy(Ht(e),n),kt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ve,valueMutated:Be,tagPropertyKey:Bt});function jt(e){return Vt.getReadOnlyProxy(e)}function Gt(e){return Vt.getProxy(e)}function Ut(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!z(n))throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${e} definition. Missing the standard getter.`);if(!z(r))throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${e} definition. Missing the standard setter.`);return{enumerable:o,configurable:i,get(){const t=ao(this);if(!Br(t))return Ue(t,e),n.call(t.elm)},set(t){const n=ao(this);return at(n,e,t),r.call(n.elm,t)}}}const Yt=new WeakMap,Kt=function(){if(U(Hr))throw new TypeError("Illegal constructor");const e=Hr,{def:t,elm:n}=e,{bridge:r}=t;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 this[Bt]=void 0,co(this,e),co(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{[ae]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,co(s,e),s}(e):e.renderRoot=n,this};Kt.prototype={constructor:Kt,dispatchEvent(e){const t=ao(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=ao(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,qr(r,t),n)},removeEventListener(e,t,n){const r=ao(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,qr(r,t),n)},hasAttribute(e){const t=ao(this),{elm:n,renderer:{getAttribute:r}}=t;return!U(r(n,e))},hasAttributeNS(e,t){const n=ao(this),{elm:r,renderer:{getAttribute:o}}=n;return!U(o(r,t,e))},removeAttribute(e){const t=ao(this),{elm:n,renderer:{removeAttribute:r}}=t;r(n,e)},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=ao(this);r(n,t,e)},getAttribute(e){const t=ao(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=ao(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=ao(this),{elm:r,renderer:{setAttribute:o}}=n;o(r,e,t)},setAttributeNS(e,t,n){const r=ao(this),{elm:o,renderer:{setAttribute:i}}=r;i(o,t,n,e)},getBoundingClientRect(){const e=ao(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=ao(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=ao(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return ao(this).shadowRoot},get refs(){const e=ao(this);if(Lr)return;const{refVNodes:t,cmpTemplate:n}=e;if(U(t))return;let o=Yt.get(t);if(G(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;s(o),Yt.set(t,o)}return o},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=ao(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=ao(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=ao(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=ao(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=ao(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=ao(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=ao(this);return e.renderer.ownerDocument(e.elm)},render(){return ao(this).def.template},toString(){return`[object ${ao(this).def.name}]`}};const zt=r(null),qt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of qt)zt[e]={value(t){const n=ao(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Kt.prototype,zt);const Xt=r(null);for(const e in ct)Xt[e]=Ut(e,ct[e]);function Jt(e){return{get(){const t=ao(this);return Ue(t,e),t.cmpFields[e]},set(t){at(ao(this),e,t)},enumerable:!0,configurable:!0}}o(Kt.prototype,Xt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ae(Kt.prototype),i(Kt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Zt=new Map;function Qt(e,t){let n=Zt.get(e);if(!G(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),Zt.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:i,consumerDisconnectedCallback:s}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{G(s)||s(r)})),i(r)}))}}const en="$$DeprecatedWiredElementHostKey$$",tn="$$DeprecatedWiredParamsMetaKey$$",nn=new Map;function rn(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=G(r)?function(e,t){return n=>{at(e,t,n)}}(e,t):function(e,t){return n=>{Eo(e,e.owner,J,(()=>{t.call(e.component,n)}),J)}}(e,r),a=e=>{c(e)};let u,d;i(a,en,{value:e.elm}),i(a,tn,{value:l}),Eo(e,e,J,(()=>{d=new o(a,{tagName:e.tagName})}),J);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Ye((()=>{!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=>{Eo(e,e,J,(()=>{d.update(t,u)}),J)}));return G(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Zt.get(r);if(G(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;N.call(s,(()=>{c(i,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){N.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function on(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};nn.set(e,o)}function sn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};nn.set(e,o)}function ln(e){return{get(){const t=ao(this);if(!Br(t))return Ue(t,e),t.cmpProps[e]},set(t){const n=ao(this);n.cmpProps[e]=t,Ge(n,e)},enumerable:!0,configurable:!0}}function cn(e,n){const{get:r,set:o,enumerable:i,configurable:s}=n;return t.invariant(z(r),`Invalid public accessor ${Q(e)} decorated with @api. The property is missing a getter.`),{get(){return r.call(this)},set(e){ao(this),o&&o.call(this,e)},enumerable:i,configurable:s}}function an(e){return{get(){const t=ao(this);return Ue(t,e),t.cmpFields[e]},set(t){const n=ao(this),r=Gt(t);at(n,e,r)},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=ao(this);return Ue(t,e),t.cmpFields[e]},set(t){at(ao(this),e,t)},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:qe,apiFields:qe,apiFieldsConfig:qe,wiredMethods:qe,wiredFields:qe,observedFields:qe};const hn=new Set;function pn(){return[]}hn.add(pn);const mn=r(null),gn=r(null);function wn(e){let t=mn[e];return G(t)&&(t=mn[e]=function(){const t=ao(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return G(t)&&(t=gn[e]=function(t){const n=ao(this),{setHook:r}=n;t=jt(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=ao(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,O.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];G(i)?G(t)||t.apply(this,arguments):this[i]=o}}function Cn(e,t,n){let s;z(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[Ce(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const En=Cn(st,c(ct),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ae(En.prototype),s(En),h(En.prototype);const Sn="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const Mn=Sn?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){G(e[t].deref())&&D.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return G(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();G(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);N.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return G(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new WeakMap,new WeakMap;new WeakMap,new Mn,new Mn,new Mn;const Tn=new WeakMap;function kn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=dn.get(e);return G(t)?fn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(U(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(it(t)){const e=ot(t);t=e===t?Kt:e}return t}(e),E=C!==Kt?Nn(C):Ln,S=Cn(E.bridge,f(l),f(u)),M=n(r(null),E.props,l),T=n(r(null),E.propsConfig,c),k=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;G(t)||(N=t);let L=E.renderMode;G(i)||(L="light"===i?0:1);const _=function(e){var t;return null===(t=Gr.get(e))||void 0===t?void 0:t.tmpl}(e)||E.template,x=e.name||E.name;o(m,p);return{ctor:e,name:x,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function An(e){if(!z(e))return!1;if(e.prototype instanceof Kt)return!0;let t=e;do{if(it(t)){const e=ot(t);if(e===t)return!0;t=e}if(t===Kt)return!0}while(!U(t)&&(t=a(t)));return!1}function Nn(e){let t=Tn.get(e);if(G(t)){if(it(e)){return t=Nn(ot(e)),Tn.set(e,t),t}if(!An(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=kn(e),Tn.set(e,t)}return t}const Ln={ctor:Kt,name:Kt.name,props:Xt,propsConfig:qe,methods:qe,renderMode:1,shadowSupportMode:"reset",wire:qe,bridge:En,template:pn,render:Kt.prototype.render};function _n(e){return`${e}-host`}function xn(e){return Cr.h("style",{key:"style",attrs:{type:"text/css"}},[Cr.t(e)])}function On(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))N.apply(r,On(s,t,n));else{const e=s[ue];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){$e("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:(G(o)&&(o=Pn(n)),c=U(o)||0===o.shadowMode),N.call(r,s(i,l,c))}}return r}function Pn(e){let t=e;for(;!U(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Rn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function Dn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return k.call(t,xn);{const n=function(e){const t=Pn(e);return U(t)||1!==t.shadowMode?t:null}(e),r=U(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function Fn(e){const{type:t}=e;return 2===t||3===t}function In(e,t){return e.key===t.key&&e.sel===t.sel}function $n(e){return 5===e.type}function Wn(e){return 6===e.type}const Hn=58;const Bn=58;function Vn(e,t){return"input"===e&&("value"===t||"checked"===t)}function jn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(G(o)&&G(i))return;let s;if(!U(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;G(s)&&(s=qe),G(t)||(s=n({},s,t))}G(i)||(o=n({},o,i));const l=U(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Vn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const Gn=r(null);function Un(e){if(null==e)return qe;e=X(e)?e:e+"";let t=Gn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)W.call(e,n)===ze&&(n>o&&(t[V.call(e,o,n)]=!0),o=n+1);return n>o&&(t[V.call(e,o,n)]=!0),Gn[e]=t,t}function Yn(e,t){const{elm:n,data:{on:r}}=e;if(G(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Kn(e,t,n,r){dr(t)?hr(e,t,n,r):pr(e,t,n,r)}function zn(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&&nr(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?pr(e.children,o,n,r):hr(e.children,o,n,r);t.elm=t.leading.elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;sr(e,t,n),Kn(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);Zn(e,n,r,!0),Xn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(sr(e,t,r),!G(o)){cr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&dr(e.children)&&ur(t.children)}Kn(e.children,t.children,n,r),G(o)||function(e){fo(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function qn(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);tr(s,o,r),or(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);tr(s,o,r),or(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);tr(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l[le]=!0));or(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Jn(o,t,r,n),e.elm=e.leading.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=Y(s)?pe:void 0,a=e.elm=l(o,c);tr(a,i,r),lr(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),sr(null,e,r),or(a,t,n,r),Jn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Xn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Xn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{oo(e)},a=e=>{io(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=uo(e);if(!G(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=lo(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,tr(u,i,r),lr(u,i,r),l&&cr(e,l),sr(null,e,r),or(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||go(l)),Jn(e.children,u,r,null),l&&function(e){fo(e)}(l)}function Jn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];er(i)&&qn(i,t,n,r)}}function Zn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Qn(e.children,t,n,r):ir(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Qn(e.children,i,n,t);break}case 3:{const{vm:t}=e;G(t)||function(e){so(e)}(t)}}}function Qn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];er(i)&&Zn(i,t,n,r)}}function er(e){return null!=e}function tr(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e[se]=r[se]))}function nr(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function rr(e,t,n,r){if($n(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const i=o[e];U(i)||r.insert(i.elm,t,n)}}else r.insert(e.elm,t,n)}function or(e,t,n,r){r.insert(e,t,n)}function ir(e,t,n){n.remove(e,t)}function sr(e,t,n){U(e)&&(Yn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(G(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(G(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=U(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=Un(o),a=Un(i);let u;for(u in a)G(c[u])&&l.remove(u);for(u in c)G(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((U(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;X(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(G(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,c=U(e)?qe:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(Ee(e)in o?l(o,e,t):W.call(e,3)===Bn?s(o,e,t,he):W.call(e,5)===Bn?s(o,e,t,me):U(t)||G(t)?i(o,e):s(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(G(r))return;const o=U(e)?qe: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&&(W.call(e,3)===Hn?s(i,e,t,he):W.call(e,5)===Hn?s(i,e,t,me):U(t)||G(t)?l(i,e):s(i,e,t))}}(e,t,n),jn(e,t,n)}function lr(e,t,n){const r=Rn(t);if(!U(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||G(o)||(e.$shadowToken$=o)}function cr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:i}=t,s=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];N.call(n,r),o=o||!(!r||!$n(r))}if(!o)return e;for(;!G(r=A.call(n));)if(!U(r)&&$n(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)N.call(n,e[t])}else N.call(t,r);return ur(t),t}(n);e.children=s,t.aChildren=s,1!==i&&0!==o||(!function(e,t,n){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(U(n))continue;let r="";Fn(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":Wn(n)&&(r=n.slotName);const s=""+r,c=l[s]=l[s]||[];N.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},K(e.isDirty)){const t=f(s);if(t.length!==f(l).length)return void Kr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(G(l[r])||s[r].length!==l[r].length)return void Kr(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 Kr(e)}}}(t,s,e.owner),e.aChildren=s,e.children=Xe)}const ar=new WeakMap;function ur(e){ar.set(e,1)}function dr(e){return ar.has(e)}function fr(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(er(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function hr(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;)if(er(l))if(er(c))if(er(m))if(er(g))if(In(l,m))zn(l,m,n,r),l=e[++o],m=t[++i];else if(In(c,g))zn(c,g,n,r),c=e[--s],g=t[--p];else if(In(l,g)){let i;zn(l,g,n,r),i=$n(c)?r.nextSibling(c.trailing.elm):r.nextSibling(c.elm),rr(l,n,i,r),l=e[++o],g=t[--p]}else In(c,m)?(zn(c,m,n,r),rr(m,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=fr(e,o,s)),d=u[m.key],G(d)?(qn(m,n,r,l.elm),m=t[++i]):(f=e[d],er(f)&&(f.sel!==m.sel?qn(m,n,r,l.elm):(zn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,rr(f,n,l.elm,r))),m=t[++i]));else g=t[--p];else m=t[++i];else c=e[--s];else l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!er(e)&&o<a);h=er(e)?e.elm:null,Jn(t,n,r,h,i,p+1)}else Qn(e,n,r,!0,o,s+1)}function pr(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Jn(t,n,r,null);if(0===i)return void Qn(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&&(er(i)?er(l)?In(i,l)?(zn(i,l,n,r),s=l.elm):(Zn(i,n,r,!0),qn(l,n,r,s),s=l.elm):Zn(i,n,r,!0):er(l)&&(qn(l,n,r,s),s=l.elm))}}const mr=Symbol.iterator;function gr(e,t,n=Xe){const r=xr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return G(i)||rt(r,i,s),s}function wr(e,t,n,r=Xe){const o=xr(),{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){N.call(xr().velements,e)}(l),G(s)||rt(o,s,l),l}function yr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:xr()}}function br(e){return ur(e),e}let vr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Cr=s({s:function(e,t,n,r){if(!G(r)&&!G(r.slotAssignments)&&!G(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!U(n)){const e=Wn(n);if(e!==!G(t.slotData))continue;if(e){const e=xr();Or(r.owner);try{N.call(o,n.factory(t.slotData,t.key))}finally{Or(e)}}else N.call(o,n)}}n=o}const o=xr(),{renderMode:i,shadowMode:s}=o;return 0===i?(br(n),n):(1===s&&br(n),gr("slot",t,n))},h:gr,c:wr,i:function(e,t){const n=[];if(br(n),G(e)||null===e)return n;const r=e[mr]();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)?N.apply(n,e):N.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];br(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?N.apply(n,t):N.call(n,t)}return n},t:yr,d:function(e){return null==e?"":String(e)},b:function(e){const t=xr();if(U(t))throw new Error;const n=t;return function(t){jr(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:xr()}},dc:function(e,t,n=Xe){if(U(e)||G(e))return null;if(!An(e))throw new Error(`Invalid constructor ${Q(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=Gr.get(e))||void 0===t?void 0:t.sel}(e);if(G(r)||""===r)throw new Error(`Invalid LWC constructor ${Q(e)} does not have a registered name`);return wr(r,e,t,n)},fr:function(e,t,n){const r=yr(""),o=yr("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:xr(),leading:r,trailing:o}},ti:function(e){return e>0&&!(Y(e)||K(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:xr()}},gid:function(e){const t=xr();if(G(e)||""===e)return e;if(U(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?H.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=xr();if(G(e)||""===e)return e;if(U(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return vr(e)},ssf:function(e,t){return{type:6,factory:t,owner:xr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=Xe){if(U(t)||G(t))return null;if(!An(t))throw new Error(`Invalid LWC Constructor ${Q(t)} for custom element <${e}>.`);return wr(e,t,n,r)}});let Er=!1,Sr=J;const Mr={enableProfiler(){Er=!0},disableProfiler(){Er=!1},attachDispatcher(e){Sr=e,this.enableProfiler()},detachDispatcher(){const e=Sr;return Sr=J,this.disableProfiler(),e}};function Tr(e,t){Er&&Sr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function kr(e,t){Er&&Sr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Ar(e,t){Er&&Sr(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 Nr(e,t){Er&&Sr(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 Lr=!1,_r=null;function xr(){return _r}function Or(e){_r=e}function Pr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=xr(),c=!G(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!G(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 Rr=Pr(((e,t)=>{const{createFragment:n}=t;return n(e)})),Dr=Pr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Fr(e,t){const n=Lr,o=_r;let i=[];return Eo(e,e.owner,(()=>{_r=e,Tr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(U(l)||vo(e),c=t,!hn.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=$r(t,e),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,{stylesheets:d}=e,f=1===o&&1===i,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;G(w)||(y&&s(n).remove(_n(w)),b&&l(n,_n(w)));const v=Wr(a),C=Wr(d);(v||C)&&(p=u),G(p)||(h&&(s(n).add(_n(p)),m=!0),f&&(c(n,_n(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let i=[];return Wr(n)&&(i=On(n,r,e)),Wr(o)&&N.apply(i,On(o,r,e)),i}(e,t);o.styleVNodes=0===n.length?null:Dn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Lr=!0,i=t.call(void 0,Cr,n,s,o.tplCache);const{styleVNodes:a}=o;U(a)||F.apply(i,a)}))}),(()=>{Lr=n,_r=o,kr(1,e)})),i}function Ir(e){if(Wr(e))for(let t=0;t<e.length;t++)if(Y(e[t][ue]))return!0;return!1}function $r(e,t){const{stylesheets:n}=e,r=G(t)?null:t.stylesheets;return Ir(n)||Ir(r)}function Wr(e){return!G(e)&&!U(e)&&e.length>0}let Hr=null;function Br(e){return Hr===e}function Vr(e,t,n){const{component:r,callHook:o,owner:i}=e;Eo(e,i,J,(()=>{o(r,t,n)}),J)}function jr(e,t,n,r){const{callHook:o,owner:i}=e;Eo(e,i,J,(()=>{o(n,t,[r])}),J)}const Gr=new Map;function Ur(e){return Ye((()=>{const{isDirty:t}=e;K(t)&&(Kr(e),function(e){if(Y(e.isScheduled))return;e.isScheduled=!0,0===po.length&&Ze(mo);N.call(po,e)}(e))}))}function Yr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=xr();let s,l=!1;return Eo(e,o,(()=>{Or(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Or(i)})),l?Fr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Kr(e){e.isDirty=!0}const zr=new WeakMap;function qr(e,t){if(!z(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=zr.get(t);return G(n)&&(n=function(n){jr(e,t,void 0,n)},zr.set(t,n)),n}const Xr=r(null),Jr=["rendered","connected","disconnected"];function Zr(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 Qr=0;const eo=new WeakMap;function to(e,t,n=[]){return t.apply(e,n)}function no(e,t,n){e[t]=n}function ro(e,t){return e[t]}function oo(e){const t=ao(e);Ar(7,t),1===t.state&&io(e),go(t),fo(t),Nr(7,t)}function io(e){so(ao(e))}function so(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){K(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Xr;t&&Zr(e,t);wo(e)&&function(e){const{wiredDisconnecting:t}=e.context;Eo(e,e,J,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),J)}(e);const{disconnectedCallback:n}=e.def;G(n)||(Tr(5,e),Vr(e,n),kr(5,e))}(e),yo(e),function(e){const{aChildren:t}=e;bo(t)}(e)}}function lo(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=Nn(t),u={elm:e,def:a,idx:Qr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,children:Xe,aChildren:Xe,velements:Xe,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments: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:qe,wiredConnecting:Xe,wiredDisconnecting:Xe},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:to,setHook:no,getHook:ro,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!G(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else z(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return nt(n)}return null}(0,a.ctor),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(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!U(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=U(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=Ur(u),function(e,t){const n=Hr;let r;Tr(0,e),Hr=e;try{const e=new t;if(Hr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(kr(0,e),Hr=n,!G(r))throw De(e,r),r}}(u,a.ctor),wo(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=nn.get(i);if(!G(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=rn(e,t,s),c=s.dynamic.length>0;N.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),N.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function co(e,t){eo.set(e,t)}function ao(e){return eo.get(e)}function uo(e){return eo.get(e)}function fo(e){if(Y(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Eo(e,e,(()=>{Tr(2,e)}),(()=>{Kn(r,t,n,o)}),(()=>{kr(2,e)}));1===e.state&&ho(e)}(e,Yr(e))}}function ho(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Xr;n&&Zr(e,n),G(t)||(Tr(4,e),Vr(e,t),kr(4,e))}let po=[];function mo(){Ar(8);const e=po.sort(((e,t)=>e.idx-t.idx));po=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{fo(r)}catch(r){throw t+1<n&&(0===po.length&&Ze(mo),F.apply(po,O.call(e,t+1))),Nr(8),r}}Nr(8)}function go(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Xr;n&&Zr(e,n),wo(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;G(r)||(Tr(3,e),Vr(e,r),kr(3,e))}function wo(e){return c(e.def.wire).length>0}function yo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!G(n)){const e=uo(n);G(e)||so(e)}}}function bo(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!U(n)&&!G(n.elm))switch(n.type){case 2:bo(n.children);break;case 3:so(ao(n.elm));break}}}function vo(e){Co(e.children,e),e.children=Xe,yo(e),e.velements=Xe}function Co(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,i=e.length;o<i;o+=1){const i=e[o];U(i)||($n(i)?Co(i.children,t):G(i.elm)||r(i.elm,n))}}function Eo(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!G(i)){De(e,i);const n=U(t)?void 0:function(e){let t=e;for(;!U(t);){if(!G(t.def.errorCallback))return t;t=t.owner}}(t);if(G(n))throw i;vo(e),Tr(6,e);Vr(n,n.def.errorCallback,[i,i.wcStack]),kr(6,e)}}}const So=ie[de],Mo=ie[fe];function To(e,t,n){let r=uo(e.getRootNode().host);G(r)&&(r=uo(t.getRootNode().host)),G(r)||Pe("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function ko(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&Y(o.synthetic))if("id"===t){if(!X(n)||0===n.length)return;for(const t of oe){const o=`[${t}~="${CSS.escape(n)}"]`,i=Mo.call(document,o);for(let n=0;n<i.length;n++){const o=i[n];if(o.getRootNode()!==r){To(o,e,t);break}}}}else{const o=function(e){return X(e)?v.call(B.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=So.call(document,n);if(!U(o)){o.getRootNode()!==r&&To(e,o,t)}}}}delete ie[de],delete ie[fe];let Ao=!1;"undefined"!=typeof CSS&&z(CSS.escape)&&u.call(Element.prototype,ce)&&Oe((function(){if(Ao)return;Ao=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||oe.has(t))&&ko(this,t,n)}});const t=l(Element.prototype,"id");if(!G(t)){const{get:e,set:n}=t;z(e)&&z(n)&&i(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),ko(this,"id",e)},enumerable:!0,configurable:!0})}}));const No=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function Lo(e){return e instanceof Kt||e instanceof En}function _o(e,t,n,r){if(!Lo(e)){const o=function(e){const{host:t}=e.getRootNode(),n=G(t)?void 0:uo(t);if(!G(n))return n;let r=e;for(;!U(r=r.parentElement);)if(Lo(r)){const e=uo(r);if(!G(e))return e}}(e);let i;n&&(i=U(r)?"null":typeof r),Pe("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:i})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Oe((function(){const{prototype:e}=Element;for(const t of No){const n=l(e,t),{get:r,set:o}=n;i(e,t,{get(){return _o(this,t,!1,void 0),r.call(this)},set(e){return _o(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let xo=!1;function Oo(e){const t=Yr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Do(r(n),t,n,e),ho(e)}function Po(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!$o(t,e,3,n))return Fo(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(!$o(t,e,8,n))return Fo(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!!$o(n,t,3,r)&&o(e,Ro)===o(t,Ro);if(8===o(e,"nodeType"))return!!$o(n,t,8,r)&&o(e,Ro)===o(t,Ro);if(!$o(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)&&($e(`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 Fo(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 Do(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(!$o(t,e,1,n)||!Wo(t,e,n))return Fo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!G(o)&&!G(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;G(r)||G(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:tt(r,"innerHTML")}))}if(Io(t,n),!i){const{getFirstChild:o}=n;Do(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){const{validationOptOut:r}=t.ctor,o=function(e){if(G(e))return e=>!0;if(Y(e))return e=>!1;if(m(e)&&(t=e,n=X,y.call(t,n)))return t=>!S.call(e,t);var t,n;return function(e,t){Ie("warn",e,t,!1)}("Validation opt out must be `true` or an array of attributes that should not be validated."),e=>!0}(r);if(!$o(t,e,1,n)||!Wo(t,e,n,o))return Fo(e,t,n);const{sel:i,mode:s,ctor:l,owner:c}=t,a=lo(e,l,n,{mode:s,owner:c,tagName:i,hydrated:!0});if(t.elm=e,t.vm=a,cr(t,a),Io(t,n),go(a),0!==a.renderMode){const{getFirstChild:r}=n;Do(r(e),t.children,e,a)}return Oo(a),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const Ro="nodeValue";function Do(e,t,n,r){let o=e;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];U(r)||(o?o=Po(o,r,i):(xo=!0,qn(r,n,i,o),o=i.nextSibling(r.elm)))}if(o){xo=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),ir(t,n,i)}while(o)}}function Fo(e,t,n){xo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return qn(t,o,n,e),ir(e,o,n),t.elm}function Io(e,t){Yn(e,t),jn(null,e,t)}function $o(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Wo(e,t,n,r=(()=>!0)){const{getProperty:o}=n;if(e.sel.toLowerCase()!==o(t,"tagName").toLowerCase())return!1;const i=function(e,t,n,r){const{data:{attrs:o={}}}=e;let i=!0;for(const[e,s]of Object.entries(o)){if(!r(e))continue;const{getAttribute:o}=n;Ho(s,o(t,e))||(i=!1)}return i}(e,t,n,r),s=!r("class")||function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c,getAttribute:a}=n,u=Rn(o),d=function(e){return 3===e.type}(e)?function(e){const{template:t}=Nn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!G(r)&&$r(t,n)?_n(r):null}(e):null;if(!U(u)||!U(d))if(G(i))if(G(s)){const e=[u,d],t=v.call(e,(e=>!U(e)));t.length&&(i=T.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),U(u)?{}:{[u]:!0}),U(d)?{}:{[d]:!0});else{const e=[u,i,d],t=v.call(e,(e=>!U(e)));i=T.call(t," ")}let h=!0;const p=a(t,"class");if(G(i)||String(i)===p)if(G(s))G(i)&&!U(p)&&(h=!1);else{const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(h=!1);JSON.stringify(n.trim()),e.length>f(s).length&&(h=!1)}else h=!1,JSON.stringify(i);return h}(e,t,n),l=!r("style")||function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(G(r)||r===s){if(!G(o)){const e=function(e){const t={},n=e.split(Qe);for(const e of n)if(e){const[n,r]=e.split(et);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];G(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),T.call(t,";")}}else l=!1;return l}(e,t,n);return i&&s&&l}function Ho(e,t){return String(e)===t||!(!U(t)||!G(e)&&!U(e))}let Bo=!1;const Vo=["slots","stylesheetToken","stylesheets","renderMode"],jo=["$scoped$"],Go=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Uo=!1;function Yo(e){switch(e){case"pop":return A;case"push":return N;case"shift":return x;case"unshift":return F;case"reverse":return _;case"sort":return R;case"fill":return b;case"splice":return D;case"copyWithin":return w}}function Ko(e,t,n){Pe(t,{propertyName:n})}function zo(e){Ko(0,"TemplateMutation",e)}function qo(e){Ko(0,"StylesheetMutation",e)}function Xo(e){Jo(e,(e=>{m(e)?function(e){for(const t of Go){const n=Yo(t);e[t]=function(){return zo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of jo){let n=e[t];i(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){qo(t),n=e}})}}(e)}))}function Jo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Jo(r,t):t(r)}}const Zo=z(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Qo=Zo&&l(document.adoptedStyleSheets,"length").writable,ei=!G(document.documentMode),ti=new Map;function ni(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function ri(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?ei?ni(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function oi(e,t){let n=ti.get(e);return G(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},ti.set(e,n)),t&&G(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&G(n.element)&&(n.element=ni(e)),n}function ii(e,t){const n=oi(e,Zo);let{roots:r}=n;if(G(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Zo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Qo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):ri(e,t,n)}const si=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}}();new WeakMap;const li=(e,t)=>{const n=document.createElement(e);return t(n),n},ci=new Map,ai=new WeakSet;let ui=!1;const di=(e,t)=>{const n=!G(e),r=!G(t);class o extends HTMLElement{constructor(e){super(),ui?e(this):(n||r)&&ai.add(this)}}return n&&(o.prototype.connectedCallback=function(){ai.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){ai.has(this)||t(this)}),o};let fi;function hi(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});function n(e){return void 0===e}class r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),this.setNewContext=t,this.setDisconnectedCallback=n}}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}}function o(e,t,n,r){e.addEventListener(t,n,r)}function i(e,t){return e.dispatchEvent(t)}return e.addEventListener=o,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=i,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.ownerDocument=function(e){return e.ownerDocument},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.registerContextConsumer=function(e,t,n){i(e,new r(t,n))},e.registerContextProvider=function(e,t,n){o(e,t,(e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})}))},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}fi=si?(e,t,n,r)=>{let o=ci.get(e);if(G(o)){if(!G(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=di(n,r),customElements.define(e,o),ci.set(e,o)}ui=!0;try{return new o(t)}finally{ui=!1}}:li;const pi=n(hi(null),{insertStylesheet:function(e,t){G(t)?function(e){const t=oi(e,!1);t.global||(t.global=!0,ri(e,document.head,t))}(e):ii(e,t)},createCustomElement:fi,isNativeShadowDefined:ie.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,ce)});function mi(e,t,n){const r=lo(e,t,pi,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function gi(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(!z(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!q(n)||U(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(uo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){xo=!1,go(e),Oo(e),xo&&$e("Hydration completed with errors.",e)}(mi(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!U(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!U(e.firstChild);)e.removeChild(e.firstChild)}(e,t),mi(e,t,n),oo(e)}}const wi=new WeakSet;function yi(e){var t;const n=function(e){return Nn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(gi(this,e,{}),wi.add(this)):lo(this,e,pi,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){wi.has(this)?wi.delete(this):oo(this)}disconnectedCallback(){io(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const bi=Node,vi=new WeakMap,Ci=new WeakMap;function Ei(e,t){const n=t.get(e);return G(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=bi.prototype;n(bi.prototype,{appendChild(t){return Ei(e.call(this,t),vi)},insertBefore(e,n){return Ei(t.call(this,e,n),vi)},removeChild(e){return Ei(r.call(this,e),Ci)},replaceChild(e,t){const n=o.call(this,e,t);return Ei(n,Ci),Ei(e,vi),n}})}const Si=Node;const Mi=new Map;function Ti(e,t,n){var r,o,i;r=t,o=e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})},e.addEventListener(r,o,i)}i(Kt,"CustomElementConstructor",{get(){return function(e){if(e===Kt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Mi.get(e);return G(t)&&(t=yi(e),Mi.set(e,t)),t}(this)}}),s(Kt),h(Kt.prototype),e.LightningElement=Kt,e.__unstable__ProfilerControl=Mr,e.__unstable__ReportingControl=xe,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){return Qt(e,Ti)},e.createElement=function(e,t){if(!q(t)||U(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${Q(t)}".`);const n=t.is;if(!z(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=pi,o=j.call(e);let i,s;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i=e=>{oo(e)},s=e=>{io(e)}),r(o,(e=>{lo(e,n,pi,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(vi.set(e,oo),Ci.set(e,io))}),i,s)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(s(e),G(e.stylesheets)||Jo(e.stylesheets,(e=>{s(e)}))):(!function(e){i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return G(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=G(e)?void 0:e.shadowAttribute}})}(e),Oe((()=>{!function(e){G(e.stylesheets)||Xo(e.stylesheets);for(const t of Vo){let n=e[t];i(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Uo||zo(t),n=e}})}const t=l(e,"stylesheetTokens");i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){zo("stylesheetTokens"),Uo=!0,t.set.call(this,e),Uo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!G(e)){const n=uo(e);G(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Nn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:Ce(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=gi,e.isComponentConstructor=An,e.isNodeFromTemplate=function(e){if(K(e instanceof Si))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&K(u.call(a(t),"synthetic")))||pi.isSyntheticShadowDefined&&!G(e[se])},e.parseFragment=Rr,e.parseSVGFragment=Dr,e.readonly=function(e){return jt(e)},e.register=function(e){for(let t=0;t<Jr.length;++t){const n=Jr[t];if(n in e){let t=Xr[n];G(t)&&(Xr[n]=t=[]),N.call(t,e[n])}}},e.registerComponent=function(e,t){return z(e)&&Gr.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(!G(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(G(w))throw new Error;w=cn(e,w)}else w=G(w)||G(w.get)?ln(e):cn(e,w);f[e]=w,i(n,e,w)}if(G(s)||I.call(s,(e=>{if(w=l(n,e),G(w))throw new Error;d[e]=w})),!G(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(G(w))throw new Error;h[e]=w,on(w,t,o,s)}else w=un(e),p[e]=w,sn(w,t,o,s),i(n,e,w)}if(!G(a))for(const e in a)w=l(n,e),w=an(e),i(n,e,w);if(!G(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!G(o)&&t in o,i=!G(a)&&t in a;r||i||(m[t]=Jt(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return hn.add(e),e},e.renderer=pi,e.rendererFactory=hi,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(G(Se[e])){const n=f(Se).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=Me[e];if(!G(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(Me,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(Bo,"Hooks are already overridden, only one definition is allowed."),Bo=!0,n=e.sanitizeHtmlContent,vr=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 Gt(e);throw new Error},e.unwrap=function(e){return Vt.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
2
2
  //# sourceMappingURL=engine-dom.min.js.map
@@ -4,9 +4,11 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.LWC = {}));
5
5
  })(this, (function (exports) { 'use strict';
6
6
 
7
- /* proxy-compat-disable */
8
7
  /**
9
- * Copyright (C) 2018 salesforce.com, inc.
8
+ * Copyright (C) 2023 salesforce.com, inc.
9
+ */
10
+ /**
11
+ * Copyright (C) 2023 salesforce.com, inc.
10
12
  */
11
13
  /*
12
14
  * Copyright (c) 2018, salesforce.com, inc.
@@ -196,7 +198,7 @@
196
198
  })();
197
199
  // These attributes take either an ID or a list of IDs as values.
198
200
  // This includes aria-* attributes as well as the special non-ARIA "for" attribute
199
- const ID_REFERENCING_ATTRIBUTES_SET = new Set([
201
+ const ID_REFERENCING_ATTRIBUTES_SET = /*@__PURE__*/ new Set([
200
202
  'aria-activedescendant',
201
203
  'aria-controls',
202
204
  'aria-describedby',
@@ -283,11 +285,11 @@
283
285
  /**
284
286
  * Map associating previously transformed HTML property into HTML attribute.
285
287
  */
286
- const CACHED_PROPERTY_ATTRIBUTE_MAPPING = new Map();
288
+ const CACHED_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map();
287
289
  /**
288
290
  * Map associating previously transformed HTML attribute into HTML property.
289
291
  */
290
- const CACHED_ATTRIBUTE_PROPERTY_MAPPING = new Map();
292
+ const CACHED_ATTRIBUTE_PROPERTY_MAPPING = /*@__PURE__@*/ new Map();
291
293
  function htmlPropertyToAttribute(propName) {
292
294
  const ariaAttributeName = AriaPropNameToAttrNameMap[propName];
293
295
  if (!isUndefined$1(ariaAttributeName)) {
@@ -333,10 +335,10 @@
333
335
  CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
334
336
  return propertyName;
335
337
  }
336
- /** version: 2.45.2 */
338
+ /** version: 2.45.3 */
337
339
 
338
340
  /**
339
- * Copyright (C) 2018 salesforce.com, inc.
341
+ * Copyright (C) 2023 salesforce.com, inc.
340
342
  */
341
343
 
342
344
  /*
@@ -400,10 +402,10 @@
400
402
  */
401
403
  function setFeatureFlagForTest(name, value) {
402
404
  }
403
- /** version: 2.45.2 */
405
+ /** version: 2.45.3 */
404
406
 
405
407
  /**
406
- * Copyright (C) 2018 salesforce.com, inc.
408
+ * Copyright (C) 2023 salesforce.com, inc.
407
409
  */
408
410
 
409
411
  /*
@@ -464,7 +466,7 @@
464
466
  }
465
467
  }
466
468
  }
467
- /** version: 2.45.2 */
469
+ /** version: 2.45.3 */
468
470
 
469
471
  /*
470
472
  * Copyright (c) 2018, salesforce.com, inc.
@@ -478,7 +480,9 @@
478
480
  applyAriaReflection();
479
481
  }
480
482
 
481
- /* proxy-compat-disable */
483
+ /**
484
+ * Copyright (C) 2023 salesforce.com, inc.
485
+ */
482
486
 
483
487
  /*
484
488
  * Copyright (c) 2018, salesforce.com, inc.
@@ -878,19 +882,6 @@
878
882
  'tabIndex',
879
883
  'title',
880
884
  ];
881
- let controlledElement = null;
882
- let controlledAttributeName;
883
- function isAttributeLocked(elm, attrName) {
884
- return elm !== controlledElement || attrName !== controlledAttributeName;
885
- }
886
- function lockAttribute(_elm, _key) {
887
- controlledElement = null;
888
- controlledAttributeName = undefined;
889
- }
890
- function unlockAttribute(elm, key) {
891
- controlledElement = elm;
892
- controlledAttributeName = key;
893
- }
894
885
 
895
886
  /*
896
887
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1387,6 +1378,14 @@
1387
1378
  * SPDX-License-Identifier: MIT
1388
1379
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
1389
1380
  */
1381
+ /**
1382
+ * This module is responsible for producing the ComponentDef object that is always
1383
+ * accessible via `vm.def`. This is lazily created during the creation of the first
1384
+ * instance of a component class, and shared across all instances.
1385
+ *
1386
+ * This structure can be used to synthetically create proxies, and understand the
1387
+ * shape of a component. It is also used internally to apply extra optimizations.
1388
+ */
1390
1389
  /**
1391
1390
  * This operation is called with a descriptor of an standard html property
1392
1391
  * that a Custom Element can support (including AOM properties), which
@@ -1504,15 +1503,11 @@
1504
1503
  removeAttribute(name) {
1505
1504
  const vm = getAssociatedVM(this);
1506
1505
  const { elm, renderer: { removeAttribute }, } = vm;
1507
- unlockAttribute(elm, name);
1508
1506
  removeAttribute(elm, name);
1509
- lockAttribute();
1510
1507
  },
1511
1508
  removeAttributeNS(namespace, name) {
1512
1509
  const { elm, renderer: { removeAttribute }, } = getAssociatedVM(this);
1513
- unlockAttribute(elm, name);
1514
1510
  removeAttribute(elm, name, namespace);
1515
- lockAttribute();
1516
1511
  },
1517
1512
  getAttribute(name) {
1518
1513
  const vm = getAssociatedVM(this);
@@ -1529,16 +1524,12 @@
1529
1524
  setAttribute(name, value) {
1530
1525
  const vm = getAssociatedVM(this);
1531
1526
  const { elm, renderer: { setAttribute }, } = vm;
1532
- unlockAttribute(elm, name);
1533
1527
  setAttribute(elm, name, value);
1534
- lockAttribute();
1535
1528
  },
1536
1529
  setAttributeNS(namespace, name, value) {
1537
1530
  const vm = getAssociatedVM(this);
1538
1531
  const { elm, renderer: { setAttribute }, } = vm;
1539
- unlockAttribute(elm, name);
1540
1532
  setAttribute(elm, name, value, namespace);
1541
- lockAttribute();
1542
1533
  },
1543
1534
  getBoundingClientRect() {
1544
1535
  const vm = getAssociatedVM(this);
@@ -1849,7 +1840,7 @@
1849
1840
  });
1850
1841
  runWithBoundaryProtection(vm, vm, noop, () => {
1851
1842
  // job
1852
- connector = new adapter(dataCallback);
1843
+ connector = new adapter(dataCallback, { tagName: vm.tagName });
1853
1844
  }, noop);
1854
1845
  const updateConnectorConfig = (config) => {
1855
1846
  // every time the config is recomputed due to tracking,
@@ -2215,6 +2206,10 @@
2215
2206
  * SPDX-License-Identifier: MIT
2216
2207
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2217
2208
  */
2209
+ /**
2210
+ * This module is responsible for creating the base bridge class BaseBridgeElement
2211
+ * that represents the HTMLElement extension used for any LWC inserted in the DOM.
2212
+ */
2218
2213
  // A bridge descriptor is a descriptor whose job is just to get the component instance
2219
2214
  // from the element instance, and get the value or set a new value on the component.
2220
2215
  // This means that across different elements, similar names can get the exact same
@@ -2268,14 +2263,6 @@
2268
2263
  }
2269
2264
  return;
2270
2265
  }
2271
- if (!isAttributeLocked(this, attrName)) {
2272
- // Ignore changes triggered by the engine itself during:
2273
- // * diffing when public props are attempting to reflect to the DOM
2274
- // * component via `this.setAttribute()`, should never update the prop
2275
- // Both cases, the setAttribute call is always wrapped by the unlocking of the
2276
- // attribute to be changed
2277
- return;
2278
- }
2279
2266
  // Reflect attribute change to the corresponding property when changed from outside.
2280
2267
  this[propName] = newValue;
2281
2268
  };
@@ -2457,6 +2444,15 @@
2457
2444
  }
2458
2445
  }
2459
2446
  const WeakMultiMap = supportsWeakRefs ? ModernWeakMultiMap : LegacyWeakMultiMap;
2447
+
2448
+ /*
2449
+ * Copyright (c) 2020, salesforce.com, inc.
2450
+ * All rights reserved.
2451
+ * SPDX-License-Identifier: MIT
2452
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2453
+ */
2454
+ new WeakMap();
2455
+ new WeakMap();
2460
2456
  const swappedStyleMap = new WeakMap();
2461
2457
  // The important thing here is the weak values – VMs are transient (one per component instance) and should be GC'ed,
2462
2458
  // so we don't want to create strong references to them.
@@ -2518,6 +2514,14 @@
2518
2514
  * SPDX-License-Identifier: MIT
2519
2515
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2520
2516
  */
2517
+ /**
2518
+ * This module is responsible for producing the ComponentDef object that is always
2519
+ * accessible via `vm.def`. This is lazily created during the creation of the first
2520
+ * instance of a component class, and shared across all instances.
2521
+ *
2522
+ * This structure can be used to synthetically create proxies, and understand the
2523
+ * shape of a component. It is also used internally to apply extra optimizations.
2524
+ */
2521
2525
  const CtorToDefMap = new WeakMap();
2522
2526
  function getCtorProto(Ctor) {
2523
2527
  let proto = getPrototypeOf$1(Ctor);
@@ -2920,7 +2924,6 @@
2920
2924
  const cur = attrs[key];
2921
2925
  const old = oldAttrs[key];
2922
2926
  if (old !== cur) {
2923
- unlockAttribute(elm, key);
2924
2927
  if (StringCharCodeAt.call(key, 3) === ColonCharCode$1) {
2925
2928
  // Assume xml namespace
2926
2929
  setAttribute(elm, key, cur, XML_NAMESPACE);
@@ -2935,7 +2938,6 @@
2935
2938
  else {
2936
2939
  setAttribute(elm, key, cur);
2937
2940
  }
2938
- lockAttribute();
2939
2941
  }
2940
2942
  }
2941
2943
  }
@@ -5505,19 +5507,17 @@
5505
5507
  }
5506
5508
  function hydrateChildren(node, children, parentNode, owner) {
5507
5509
  let nextNode = node;
5508
- let anchor = null;
5509
5510
  const { renderer } = owner;
5510
5511
  for (let i = 0; i < children.length; i++) {
5511
5512
  const childVnode = children[i];
5512
5513
  if (!isNull(childVnode)) {
5513
5514
  if (nextNode) {
5514
5515
  nextNode = hydrateNode(nextNode, childVnode, renderer);
5515
- anchor = childVnode.elm;
5516
5516
  }
5517
5517
  else {
5518
5518
  hasMismatch = true;
5519
- mount(childVnode, parentNode, renderer, anchor);
5520
- anchor = childVnode.elm;
5519
+ mount(childVnode, parentNode, renderer, nextNode);
5520
+ nextNode = renderer.nextSibling(childVnode.elm);
5521
5521
  }
5522
5522
  }
5523
5523
  }
@@ -6147,6 +6147,7 @@
6147
6147
  * SPDX-License-Identifier: MIT
6148
6148
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6149
6149
  */
6150
+ new WeakMap();
6150
6151
  // Creates a custom element for compat (legacy) browser environments
6151
6152
  const createCustomElementCompat = (tagName, upgradeCallback) => {
6152
6153
  const elm = document.createElement(tagName);
@@ -6273,7 +6274,7 @@
6273
6274
  const renderer = (function (exports) {
6274
6275
 
6275
6276
  /**
6276
- * Copyright (C) 2018 salesforce.com, inc.
6277
+ * Copyright (C) 2023 salesforce.com, inc.
6277
6278
  */
6278
6279
  /*
6279
6280
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6313,7 +6314,7 @@
6313
6314
  function isNull(obj) {
6314
6315
  return obj === null;
6315
6316
  }
6316
- /** version: 2.45.2 */
6317
+ /** version: 2.45.3 */
6317
6318
 
6318
6319
  /*
6319
6320
  * Copyright (c) 2023, salesforce.com, inc.
@@ -6924,7 +6925,7 @@
6924
6925
  });
6925
6926
  }));
6926
6927
  }
6927
- /* version: 2.45.2 */
6928
+ /** version: 2.45.3 */
6928
6929
 
6929
6930
  exports.LightningElement = LightningElement;
6930
6931
  exports.__unstable__ProfilerControl = profilerControl;