lwc 2.45.0 → 2.45.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +158 -83
  2. package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
  3. package/dist/engine-dom/iife/es2017/engine-dom.js +158 -83
  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 +75 -18
  7. package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
  8. package/dist/engine-dom/iife/es5/engine-dom.js +162 -79
  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 +83 -16
  12. package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
  13. package/dist/engine-dom/umd/es2017/engine-dom.js +158 -83
  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 +75 -18
  17. package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
  18. package/dist/engine-dom/umd/es5/engine-dom.js +162 -79
  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 +83 -16
  22. package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
  23. package/dist/engine-server/commonjs/es2017/engine-server.js +102 -75
  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 +102 -75
  27. package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
  28. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +4 -4
  29. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
  30. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4 -4
  31. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
  32. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  33. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
  34. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
  35. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  36. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
  37. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  38. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
  39. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4 -4
  40. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
  41. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  42. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
  43. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
  44. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  45. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
  46. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  47. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
  48. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  49. package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
  50. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  51. package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
  52. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  53. package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
  54. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  55. package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
  56. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  57. package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
  58. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  59. package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
  60. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  61. package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
  62. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  63. package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
  64. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  65. package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
  66. 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:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:y,filter:b,find:v,findIndex:C,indexOf:E,join:S,map:M,pop:T,push:k,reduce:A,reverse:N,shift:L,slice:_,some:x,sort:P,splice:R,unshift:O,forEach:D}=Array.prototype,{fromCharCode:F}=String,{charCodeAt:I,replace:$,split:W,slice:B,toLowerCase:H}=String.prototype;function V(e){return void 0===e}function j(e){return null===e}function G(e){return!0===e}function U(e){return!1===e}function Y(e){return"function"==typeof e}function K(e){return"object"==typeof e}function z(e){return"string"==typeof e}function q(){}const X={}.toString;function J(e){return e&&e.toString?m(e)?S.call(M.call(e,J),","):e.toString():"object"==typeof e?X.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!V(n))return n;e=a(e)}while(null!==e)}const Q=["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:ee,AriaPropNameToAttrNameMap:te}=(()=>{const e=r(null),t=r(null);return D.call(Q,(n=>{const r=H.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ne=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),re="object"==typeof globalThis?globalThis:window,oe="$shadowResolver$",se="$shadowStaticNode$",ie="$shadowToken$",le="$$lwc-synthetic-mode",ce="$scoped$",ae="$nativeGetElementById$",ue="$nativeQuerySelectorAll$",de="http://www.w3.org/XML/1998/namespace",fe="http://www.w3.org/2000/svg",he="http://www.w3.org/1999/xlink",pe=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:me,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:ge}=(()=>{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}})(),we=new Map,ye=new Map;function be(e){const t=te[e];if(!V(t))return t;const n=ge.get(e);if(!V(n))return n;const r=we.get(e);if(!V(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=I.call(e,t);o+=n>=65&&n<=90?"-"+F(n+32):F(n)}return we.set(e,o),o}function ve(e){const t=ee[e];if(!V(t))return t;const n=me.get(e);if(!V(n))return n;const r=ye.get(e);if(!V(r))return r;const o=$.call(e,pe,(e=>e[1].toUpperCase()));return ye.set(e,o),o}const Ce={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};re.lwcRuntimeFlags||Object.defineProperty(re,"lwcRuntimeFlags",{value:r(null)});const Ee=re.lwcRuntimeFlags;function Se(e,t){return V(l(t,e))}function Me(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){j(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(te[e]);s(t,e,n)}function Te(e=Element.prototype){const t=f(te);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Se(r,e)&&Me(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Te();const ke=[];let Ae=q,Ne=!1;const Le={attachDispatcher(e){Ne=!0,Ae=e;for(const e of ke)try{e()}catch(e){console.error("Could not invoke callback",e)}ke.length=0},detachDispatcher(){Ne=!1,Ae=q}};function _e(e){Ne?e():ke.push(e)}function xe(e,t){Ne&&Ae(e,t)}function Pe(e){return`<${H.call(e.tagName)}>`}function Re(e,t){if(!d(t)&&V(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!j(n);)k.call(t,Pe(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Oe=new Set;function De(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(V(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!j(e.owner);)k.call(t,n+Pe(e)),e=e.owner,n+="\t";return S.call(t,"\n")}(n)}`),r){if(Oe.has(o))return;Oe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Fe(e,t){De("error",e,t,!1)}const Ie=new WeakMap;let $e=null;function We(e,t){const n=Ie.get(e);if(!V(n)){const e=n[t];if(!V(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Be(e,t){if(null===$e)return;const n=$e,o=function(e){let t=Ie.get(e);if(V(t)){const n=r(null);t=n,Ie.set(e,n)}return t}(e);let s=o[t];if(V(s))s=[],o[t]=s;else if(s[0]===n)return;-1===E.call(s,n)&&n.link(s)}class He{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=$e;let n;$e=this;try{e()}catch(e){n=Object(e)}finally{if($e=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=E.call(e[n],this);R.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function Ve(e,t){We(e.component,t)}function je(e,t){Be(e.component,t)}function Ge(e){return new He(e)}let Ue=[];const Ye=32,Ke=h(r(null)),ze=h([]);function qe(){const e=Ue;Ue=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Xe(e){0===Ue.length&&Promise.resolve().then(qe),k.call(Ue,e)}const Je=/;(?![^(]*\))/g,Ze=/:(.+)/;function Qe(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function et(e){const t=[];for(const n of e)m(n)?t.push(...et(n)):t.push(n);return t}function tt(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function nt(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function rt(e){return Y(e)&&u.call(e,"__circular__")}const ot="undefined"!=typeof HTMLElement?HTMLElement:function(){},st=ot.prototype;let it,lt=null;function ct(e,t){lt=null,it=void 0}function at(e,t){lt=e,it=t}const ut=r(null);function dt(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ve(e,t))}D.call(f(te),(e=>{const t=Z(st,e);V(t)||(ut[e]=t)})),D.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(st,e);V(t)||(ut[e]=t)}));const{isArray:ft}=Array,{prototype:ht,getPrototypeOf:pt,create:mt,defineProperty:gt,isExtensible:wt,getOwnPropertyDescriptor:yt,getOwnPropertyNames:bt,getOwnPropertySymbols:vt,preventExtensions:Ct,hasOwnProperty:Et}=Object,{push:St,concat:Mt}=Array.prototype;function Tt(e){return void 0===e}function kt(e){return"function"==typeof e}const At=new WeakMap;function Nt(e,t){At.set(e,t)}const Lt=e=>At.get(e)||e;class _t{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Et.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Tt(n)||(e.get=this.wrapGetter(n)),Tt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=yt(n,t);if(!Tt(r)){const n=this.wrapDescriptor(r);gt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Mt.call(bt(t),vt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Tt(n)||Et.call(e,n)||gt(e,n,mt(null)),Ct(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=Tt(n)||Et.call(t,n)?[]:[n];return St.apply(r,bt(t)),St.apply(r,vt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!wt(e)&&(!!wt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return pt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=yt(n,t);if(Tt(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},gt(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const xt=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Ot=new WeakMap;class Dt extends _t{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=xt.get(e);if(!Tt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Lt(this)))};return xt.set(e,r),Rt.set(r,e),r}wrapSetter(e){const t=Pt.get(e);if(!Tt(t))return t;const n=function(t){e.call(Lt(this),Lt(t))};return Pt.set(e,n),Ot.set(n,e),n}unwrapDescriptor(e){if(Et.call(e,"value"))e.value=Lt(e.value);else{const{set:t,get:n}=e;Tt(n)||(e.get=this.unwrapGetter(n)),Tt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Rt.get(e);if(!Tt(t))return t;const n=this,r=function(){return Lt(e.call(n.wrapValue(this)))};return xt.set(r,e),Rt.set(e,r),r}unwrapSetter(e){const t=Ot.get(e);if(!Tt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Pt.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&&ft(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(wt(e)){const{originalTarget:t}=this;if(Ct(t),wt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!Et.call(r,t)||(gt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Ft=new WeakMap,It=new WeakMap;class $t extends _t{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Ft.get(e);if(!Tt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Lt(this)))};return Ft.set(e,r),r}wrapSetter(e){const t=It.get(e);if(!Tt(t))return t;const n=function(e){};return It.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 Wt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ft(e))return!0;const t=pt(e);return t===ht||null===t||null===pt(t)}const Bt=(e,t)=>{},Ht=(e,t)=>{};function Vt(e){return ft(e)?[]:{}}const jt=Symbol.for("@@lockerLiveValue"),Gt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=kt(t)?t:Ht,this.valueObserved=kt(n)?n:Bt,this.valueIsObservable=kt(r)?r:Wt,this.tagPropertyKey=o}getProxy(e){const t=Lt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Lt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Lt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Tt(t)){const n=new Dt(this,e);t=new Proxy(Vt(e),n),Nt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Tt(t)){const n=new $t(this,e);t=new Proxy(Vt(e),n),Nt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Be,valueMutated:We,tagPropertyKey:jt});function Ut(e){return Gt.getReadOnlyProxy(e)}function Yt(e){return Gt.getProxy(e)}function Kt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!Y(n))throw new TypeError;if(!Y(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=fo(this);if(!jr(t))return je(t,e),n.call(t.elm)},set(t){const n=fo(this);return dt(n,e,t),r.call(n.elm,t)}}}const zt=new WeakMap,qt=function(){if(j(Vr))throw new TypeError("Illegal constructor");const e=Vr,{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[jt]=void 0,uo(this,e),uo(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[le]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,uo(i,e),i}(e):e.renderRoot=n,this};qt.prototype={constructor:qt,dispatchEvent(e){const t=fo(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=fo(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Jr(r,t),n)},removeEventListener(e,t,n){const r=fo(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Jr(r,t),n)},hasAttribute(e){const t=fo(this),{elm:n,renderer:{getAttribute:r}}=t;return!j(r(n,e))},hasAttributeNS(e,t){const n=fo(this),{elm:r,renderer:{getAttribute:o}}=n;return!j(o(r,t,e))},removeAttribute(e){const t=fo(this),{elm:n,renderer:{removeAttribute:r}}=t;at(n,e),r(n,e),ct()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=fo(this);at(n,t),r(n,t,e),ct()},getAttribute(e){const t=fo(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=fo(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=fo(this),{elm:r,renderer:{setAttribute:o}}=n;at(r,e),o(r,e,t),ct()},setAttributeNS(e,t,n){const r=fo(this),{elm:o,renderer:{setAttribute:s}}=r;at(o,t),s(o,t,n,e),ct()},getBoundingClientRect(){const e=fo(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=fo(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=fo(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return fo(this).shadowRoot},get refs(){const e=fo(this);if(xr)return;const{refVNodes:t,cmpTemplate:n}=e;if(j(t))return;let o=zt.get(t);if(V(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),zt.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=fo(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=fo(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=fo(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=fo(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=fo(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=fo(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=fo(this);return e.renderer.ownerDocument(e.elm)},render(){return fo(this).def.template},toString(){return`[object ${fo(this).def.name}]`}};const Xt=r(null),Jt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Jt)Xt[e]={value(t){const n=fo(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(qt.prototype,Xt);const Zt=r(null);for(const e in ut)Zt[e]=Kt(e,ut[e]);function Qt(e){return{get(){const t=fo(this);return je(t,e),t.cmpFields[e]},set(t){dt(fo(this),e,t)},enumerable:!0,configurable:!0}}o(qt.prototype,Zt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Te(qt.prototype),s(qt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const en=new Map;function tn(e,t){let n=en.get(e);if(!V(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()}(),en.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:s,consumerDisconnectedCallback:i}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{V(i)||i(r)})),s(r)}))}}const nn="$$DeprecatedWiredElementHostKey$$",rn="$$DeprecatedWiredParamsMetaKey$$",on=new Map;function sn(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=V(r)?function(e,t){return n=>{dt(e,t,n)}}(e,t):function(e,t){return n=>{Mo(e,e.owner,q,(()=>{t.call(e.component,n)}),q)}}(e,r),a=e=>{c(e)};let u,d;s(a,nn,{value:e.elm}),s(a,rn,{value:l}),Mo(e,e,q,(()=>{d=new o(a)}),q);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Ge((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{Mo(e,e,q,(()=>{d.update(t,u)}),q)}));return V(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=en.get(r);if(V(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;k.call(i,(()=>{c(s,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function ln(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};on.set(e,o)}function cn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};on.set(e,o)}function an(e){return{get(){const t=fo(this);if(!jr(t))return je(t,e),t.cmpProps[e]},set(t){const n=fo(this);n.cmpProps[e]=t,Ve(n,e)},enumerable:!0,configurable:!0}}function un(e,n){const{get:r,set:o,enumerable:s,configurable:i}=n;return t.invariant(Y(r),`Invalid public accessor ${J(e)} decorated with @api. The property is missing a getter.`),{get(){return r.call(this)},set(e){fo(this),o&&o.call(this,e)},enumerable:s,configurable:i}}function dn(e){return{get(){const t=fo(this);return je(t,e),t.cmpFields[e]},set(t){const n=fo(this),r=Yt(t);dt(n,e,r)},enumerable:!0,configurable:!0}}function fn(e){return{get(){const t=fo(this);return je(t,e),t.cmpFields[e]},set(t){dt(fo(this),e,t)},enumerable:!0,configurable:!0}}const hn=new Map;const pn={apiMethods:Ke,apiFields:Ke,apiFieldsConfig:Ke,wiredMethods:Ke,wiredFields:Ke,observedFields:Ke};const mn=new Set;function gn(){return[]}mn.add(gn);const wn=r(null),yn=r(null);function bn(e){let t=wn[e];return V(t)&&(t=wn[e]=function(){const t=fo(this),{getHook:n}=t;return n(t.component,e)}),t}function vn(e){let t=yn[e];return V(t)&&(t=yn[e]=function(t){const n=fo(this),{setHook:r}=n;t=Ut(t),r(n.component,e,t)}),t}function Cn(e){return function(){const t=fo(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,_.call(arguments))}}function En(e,t){return function(n,r,o){if(r===o)return;const s=e[n];V(s)?V(t)||t.apply(this,arguments):function(e,t){return e!==lt||t!==it}(this,n)&&(this[s]=o)}}function Sn(e,t,n){let i;Y(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));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[be(n)]=n,u[n]={get:bn(n),set:vn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Cn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:En(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const Mn=Sn(ot,c(ut),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Te(Mn.prototype),i(Mn),h(Mn.prototype);const Tn="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const kn=Tn?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){V(e[t].deref())&&R.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return V(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();V(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);k.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 V(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 kn,new kn,new kn;const An=new WeakMap;function Nn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=hn.get(e);return V(t)?pn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(j(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(rt(t)){const e=nt(t);t=e===t?qt:e}return t}(e),E=C!==qt?_n(C):xn,S=Sn(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;V(t)||(N=t);let L=E.renderMode;V(s)||(L="light"===s?0:1);const _=function(e){var t;return null===(t=Yr.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 Ln(e){if(!Y(e))return!1;if(e.prototype instanceof qt)return!0;let t=e;do{if(rt(t)){const e=nt(t);if(e===t)return!0;t=e}if(t===qt)return!0}while(!j(t)&&(t=a(t)));return!1}function _n(e){let t=An.get(e);if(V(t)){if(rt(e)){return t=_n(nt(e)),An.set(e,t),t}if(!Ln(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=Nn(e),An.set(e,t)}return t}const xn={ctor:qt,name:qt.name,props:Zt,propsConfig:Ke,methods:Ke,renderMode:1,shadowSupportMode:"reset",wire:Ke,bridge:Mn,template:gn,render:qt.prototype.render};function Pn(e){return`${e}-host`}function Rn(e){return Sr.h("style",{key:"style",attrs:{type:"text/css"}},[Sr.t(e)])}function On(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))k.apply(r,On(i,t,n));else{const e=i[ce];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Fe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=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:(V(o)&&(o=Dn(n)),c=j(o)||0===o.shadowMode),k.call(r,i(s,l,c))}}return r}function Dn(e){let t=e;for(;!j(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Fn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function In(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return M.call(t,Rn);{const n=function(e){const t=Dn(e);return j(t)||1!==t.shadowMode?t:null}(e),r=j(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function $n(e){const{type:t}=e;return 2===t||3===t}function Wn(e,t){return e.key===t.key&&e.sel===t.sel}function Bn(e){return 5===e.type}function Hn(e){return 6===e.type}const Vn=58;const jn=58;function Gn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Un(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(V(o)&&V(s))return;let i;if(!j(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;V(i)&&(i=Ke),V(t)||(i=n({},i,t))}V(s)||(o=n({},o,s));const l=j(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Gn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Yn=r(null);function Kn(e){if(null==e)return Ke;e=z(e)?e:e+"";let t=Yn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)I.call(e,n)===Ye&&(n>o&&(t[B.call(e,o,n)]=!0),o=n+1);return n>o&&(t[B.call(e,o,n)]=!0),Yn[e]=t,t}function zn(e,t){const{elm:n,data:{on:r}}=e;if(V(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function qn(e,t,n,r){hr(t)?mr(e,t,n,r):gr(e,t,n,r)}function Xn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&or(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?gr(e.children,o,n,r):mr(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;cr(e,t,n),qn(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);er(e,n,r,!0),Zn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(cr(e,t,r),!V(o)){ur(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&hr(e.children)&&fr(t.children)}qn(e.children,t.children,n,r),V(o)||function(e){po(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Jn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);rr(i,o,r),ir(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);rr(i,o,r),ir(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);rr(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[se]=!0));ir(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Qn(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:s,data:{svg:i}}=e,{createElement:l}=r,c=G(i)?fe:void 0,a=e.elm=l(o,c);rr(a,s,r),ar(a,s,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),cr(null,e,r),ir(a,t,n,r),Qn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Zn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function Zn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{io(e)},a=e=>{lo(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=ho(e);if(!V(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=ao(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,rr(u,s,r),ar(u,s,r),l&&ur(e,l),cr(null,e,r),ir(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||yo(l)),Qn(e.children,u,r,null),l&&function(e){po(e)}(l)}function Qn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];nr(s)&&Jn(s,t,n,r)}}function er(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?tr(e.children,t,n,r):lr(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;tr(e.children,s,n,t);break}case 3:{const{vm:t}=e;V(t)||function(e){co(e)}(t)}}}function tr(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];nr(s)&&er(s,t,n,r)}}function nr(e){return null!=e}function rr(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[oe]=r[oe]))}function or(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function sr(e,t,n,r){if(Bn(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const s=o[e];j(s)||r.insert(s.elm,t,n)}}else r.insert(e.elm,t,n)}function ir(e,t,n,r){r.insert(e,t,n)}function lr(e,t,n){n.remove(e,t)}function cr(e,t,n){j(e)&&(zn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(V(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(V(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=j(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=Kn(o),a=Kn(s);let u;for(u in a)V(c[u])&&l.remove(u);for(u in c)V(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((j(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;z(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(V(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=j(e)?Ke:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ve(e)in o?l(o,e,t):I.call(e,3)===jn?i(o,e,t,de):I.call(e,5)===jn?i(o,e,t,he):j(t)||V(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(V(r))return;const o=j(e)?Ke:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(at(s,e),I.call(e,3)===Vn?i(s,e,t,de):I.call(e,5)===Vn?i(s,e,t,he):j(t)||V(t)?l(s,e):i(s,e,t),ct())}}(e,t,n),Un(e,t,n)}function ar(e,t,n){const r=Fn(t);if(!j(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||V(o)||(e.$shadowToken$=o)}function ur(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];k.call(n,r),o=o||!(!r||!Bn(r))}if(!o)return e;for(;!V(r=T.call(n));)if(!j(r)&&Bn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)k.call(n,e[t])}else k.call(t,r);return fr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(j(n))continue;let r="";$n(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":Hn(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];k.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},U(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void qr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(V(l[r])||i[r].length!==l[r].length)return void qr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void qr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=ze)}const dr=new WeakMap;function fr(e){dr.set(e,1)}function hr(e){return dr.has(e)}function pr(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(nr(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function mr(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)if(nr(l))if(nr(c))if(nr(m))if(nr(g))if(Wn(l,m))Xn(l,m,n,r),l=e[++o],m=t[++s];else if(Wn(c,g))Xn(c,g,n,r),c=e[--i],g=t[--p];else if(Wn(l,g)){let s;Xn(l,g,n,r),s=Bn(c)?r.nextSibling(c.trailing.elm):r.nextSibling(c.elm),sr(l,n,s,r),l=e[++o],g=t[--p]}else Wn(c,m)?(Xn(c,m,n,r),sr(m,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=pr(e,o,i)),d=u[m.key],V(d)?(Jn(m,n,r,l.elm),m=t[++s]):(f=e[d],nr(f)&&(f.sel!==m.sel?Jn(m,n,r,l.elm):(Xn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,sr(f,n,l.elm,r))),m=t[++s]));else g=t[--p];else m=t[++s];else c=e[--i];else l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!nr(e)&&o<a);h=nr(e)?e.elm:null,Qn(t,n,r,h,s,p+1)}else tr(e,n,r,!0,o,i+1)}function gr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Qn(t,n,r,null);if(0===s)return void tr(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(nr(s)?nr(l)?Wn(s,l)?(Xn(s,l,n,r),i=l.elm):(er(s,n,r,!0),Jn(l,n,r,i),i=l.elm):er(s,n,r,!0):nr(l)&&(Jn(l,n,r,i),i=l.elm))}}const wr=Symbol.iterator;function yr(e,t,n=ze){const r=Rr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return V(s)||tt(r,s,i),i}function br(e,t,n,r=ze){const o=Rr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Rr().velements,e)}(l),V(i)||tt(o,i,l),l}function vr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Rr()}}function Cr(e){return fr(e),e}let Er=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Sr=i({s:function(e,t,n,r){if(!V(r)&&!V(r.slotAssignments)&&!V(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!j(n)){const e=Hn(n);if(e!==!V(t.slotData))continue;if(e){const e=Rr();Or(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{Or(e)}}else k.call(o,n)}}n=o}const o=Rr(),{renderMode:s,shadowMode:i}=o;return 0===s?(Cr(n),n):(1===i&&Cr(n),yr("slot",t,n))},h:yr,c:br,i:function(e,t){const n=[];if(Cr(n),V(e)||null===e)return n;const r=e[wr]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?k.apply(n,e):k.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];Cr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?k.apply(n,t):k.call(n,t)}return n},t:vr,d:function(e){return null==e?"":String(e)},b:function(e){const t=Rr();if(j(t))throw new Error;const n=t;return function(t){Ur(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:Rr()}},dc:function(e,t,n=ze){if(j(e)||V(e))return null;if(!Ln(e))throw new Error(`Invalid constructor ${J(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=Yr.get(e))||void 0===t?void 0:t.sel}(e);if(V(r)||""===r)throw new Error(`Invalid LWC constructor ${J(e)} does not have a registered name`);return br(r,e,t,n)},fr:function(e,t,n){const r=vr(""),o=vr("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:Rr(),leading:r,trailing:o}},ti:function(e){return e>0&&!(G(e)||U(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Rr()}},gid:function(e){const t=Rr();if(V(e)||""===e)return e;if(j(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Rr();if(V(e)||""===e)return e;if(j(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Er(e)},ssf:function(e,t){return{type:6,factory:t,owner:Rr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=ze){if(j(t)||V(t))return null;if(!Ln(t))throw new Error(`Invalid LWC Constructor ${J(t)} for custom element <${e}>.`);return br(e,t,n,r)}});let Mr=!1,Tr=q;const kr={enableProfiler(){Mr=!0},disableProfiler(){Mr=!1},attachDispatcher(e){Tr=e,this.enableProfiler()},detachDispatcher(){const e=Tr;return Tr=q,this.disableProfiler(),e}};function Ar(e,t){Mr&&Tr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Nr(e,t){Mr&&Tr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Lr(e,t){Mr&&Tr(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 _r(e,t){Mr&&Tr(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 xr=!1,Pr=null;function Rr(){return Pr}function Or(e){Pr=e}function Dr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Rr(),c=!V(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!V(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";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 Fr=Dr(((e,t)=>{const{createFragment:n}=t;return n(e)})),Ir=Dr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function $r(e,t){const n=xr,o=Pr;let s=[];return Mo(e,e.owner,(()=>{Pr=e,Ar(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(j(l)||Eo(e),c=t,!mn.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: ${J(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Br(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;V(w)||(y&&i(n).remove(Pn(w)),b&&l(n,Pn(w)));const v=Hr(a),C=Hr(d);(v||C)&&(p=u),V(p)||(h&&(i(n).add(Pn(p)),m=!0),f&&(c(n,Pn(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 s=[];return Hr(n)&&(s=On(n,r,e)),Hr(o)&&k.apply(s,On(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:In(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],xr=!0,s=t.call(void 0,Sr,n,i,o.tplCache);const{styleVNodes:a}=o;j(a)||O.apply(s,a)}))}),(()=>{xr=n,Pr=o,Nr(1,e)})),s}function Wr(e){if(Hr(e))for(let t=0;t<e.length;t++)if(G(e[t][ce]))return!0;return!1}function Br(e,t){const{stylesheets:n}=e,r=V(t)?null:t.stylesheets;return Wr(n)||Wr(r)}function Hr(e){return!V(e)&&!j(e)&&e.length>0}let Vr=null;function jr(e){return Vr===e}function Gr(e,t,n){const{component:r,callHook:o,owner:s}=e;Mo(e,s,q,(()=>{o(r,t,n)}),q)}function Ur(e,t,n,r){const{callHook:o,owner:s}=e;Mo(e,s,q,(()=>{o(n,t,[r])}),q)}const Yr=new Map;function Kr(e){return Ge((()=>{const{isDirty:t}=e;U(t)&&(qr(e),function(e){if(G(e.isScheduled))return;e.isScheduled=!0,0===go.length&&Xe(wo);k.call(go,e)}(e))}))}function zr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Rr();let i,l=!1;return Mo(e,o,(()=>{Or(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Or(s)})),l?$r(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function qr(e){e.isDirty=!0}const Xr=new WeakMap;function Jr(e,t){if(!Y(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Xr.get(t);return V(n)&&(n=function(n){Ur(e,t,void 0,n)},Xr.set(t,n)),n}const Zr=r(null),Qr=["rendered","connected","disconnected"];function eo(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let to=0;const no=new WeakMap;function ro(e,t,n=[]){return t.apply(e,n)}function oo(e,t,n){e[t]=n}function so(e,t){return e[t]}function io(e){const t=fo(e);Lr(7,t),1===t.state&&lo(e),yo(t),po(t),_r(7,t)}function lo(e){co(fo(e))}function co(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){U(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Zr;t&&eo(e,t);bo(e)&&function(e){const{wiredDisconnecting:t}=e.context;Mo(e,e,q,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),q)}(e);const{disconnectedCallback:n}=e.def;V(n)||(Ar(5,e),Gr(e,n),Nr(5,e))}(e),vo(e),function(e){const{aChildren:t}=e;Co(t)}(e)}}function ao(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=_n(t),u={elm:e,def:a,idx:to++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:ze,aChildren:ze,velements:ze,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:Ke,wiredConnecting:ze,wiredDisconnecting:ze},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:ro,setHook:oo,getHook:so,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!V(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 Y(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return et(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!j(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=j(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=Kr(u),function(e,t){const n=Vr;let r;Ar(0,e),Vr=e;try{const e=new t;if(Vr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Nr(0,e),Vr=n,!V(r))throw Re(e,r),r}}(u,a.ctor),bo(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=on.get(s);if(!V(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=sn(e,t,i),c=i.dynamic.length>0;k.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function uo(e,t){no.set(e,t)}function fo(e){return no.get(e)}function ho(e){return no.get(e)}function po(e){if(G(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Mo(e,e,(()=>{Ar(2,e)}),(()=>{qn(r,t,n,o)}),(()=>{Nr(2,e)}));1===e.state&&mo(e)}(e,zr(e))}}function mo(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Zr;n&&eo(e,n),V(t)||(Ar(4,e),Gr(e,t),Nr(4,e))}let go=[];function wo(){Lr(8);const e=go.sort(((e,t)=>e.idx-t.idx));go=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{po(r)}catch(r){throw t+1<n&&(0===go.length&&Xe(wo),O.apply(go,_.call(e,t+1))),_r(8),r}}_r(8)}function yo(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Zr;n&&eo(e,n),bo(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;V(r)||(Ar(3,e),Gr(e,r),Nr(3,e))}function bo(e){return c(e.def.wire).length>0}function vo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!V(n)){const e=ho(n);V(e)||co(e)}}}function Co(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!j(n)&&!V(n.elm))switch(n.type){case 2:Co(n.children);break;case 3:co(fo(n.elm));break}}}function Eo(e){So(e.children,e),e.children=ze,vo(e),e.velements=ze}function So(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,s=e.length;o<s;o+=1){const s=e[o];j(s)||(Bn(s)?So(s.children,t):V(s.elm)||r(s.elm,n))}}function Mo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!V(s)){Re(e,s);const n=j(t)?void 0:function(e){let t=e;for(;!j(t);){if(!V(t.def.errorCallback))return t;t=t.owner}}(t);if(V(n))throw s;Eo(e),Ar(6,e);Gr(n,n.def.errorCallback,[s,s.wcStack]),Nr(6,e)}}}const To=re[ae],ko=re[ue];function Ao(e,t,n){let r=ho(e.getRootNode().host);V(r)&&(r=ho(t.getRootNode().host)),V(r)||xe("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function No(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&G(o.synthetic))if("id"===t){if(!z(n)||0===n.length)return;for(const t of ne){const o=`[${t}~="${CSS.escape(n)}"]`,s=ko.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){Ao(o,e,t);break}}}}else{const o=function(e){return z(e)?b.call(W.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=To.call(document,n);if(!j(o)){o.getRootNode()!==r&&Ao(e,o,t)}}}}delete re[ae],delete re[ue];let Lo=!1;"undefined"!=typeof CSS&&Y(CSS.escape)&&u.call(Element.prototype,ie)&&_e((function(){if(Lo)return;Lo=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||ne.has(t))&&No(this,t,n)}});const t=l(Element.prototype,"id");if(!V(t)){const{get:e,set:n}=t;Y(e)&&Y(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),No(this,"id",e)},enumerable:!0,configurable:!0})}}));const _o=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function xo(e){return e instanceof qt||e instanceof Mn}function Po(e,t,n,r){if(!xo(e)){const o=function(e){const{host:t}=e.getRootNode(),n=V(t)?void 0:ho(t);if(!V(n))return n;let r=e;for(;!j(r=r.parentElement);)if(xo(r)){const e=ho(r);if(!V(e))return e}}(e);let s;n&&(s=j(r)?"null":typeof r),xe("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||_e((function(){const{prototype:e}=Element;for(const t of _o){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return Po(this,t,!1,void 0),r.call(this)},set(e){return Po(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Ro=!1;function Oo(e){const t=zr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Io(r(n),t,n,e),mo(e)}function Do(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Bo(t,e,3,n))return $o(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:s=function(e,t,n){var r;if(!Bo(t,e,8,n))return $o(e,t,n);const{setProperty:o}=n;return o(e,Fo,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Bo(n,t,3,r)&&o(e,Fo)===o(t,Fo);if(8===o(e,"nodeType"))return!!Bo(n,t,8,r)&&o(e,Fo)===o(t,Fo);if(!Bo(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(Fe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return $o(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return Io(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Bo(t,e,1,n)||!Ho(t,e,n))return $o(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!V(o)&&!V(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;V(r)||V(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Qe(r,"innerHTML")}))}if(Wo(t,n),!s){const{getFirstChild:o}=n;Io(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Bo(t,e,1,n)||!Ho(t,e,n))return $o(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=ao(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,ur(t,l),Wo(t,n),yo(l),0!==l.renderMode){const{getFirstChild:r}=n;Io(r(e),t.children,e,l)}return Oo(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const Fo="nodeValue";function Io(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];j(r)||(o?(o=Do(o,r,i),s=r.elm):(Ro=!0,Jn(r,n,i,s),s=r.elm))}if(o){Ro=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),lr(t,n,i)}while(o)}}function $o(e,t,n){Ro=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Jn(t,o,n,e),lr(e,o,n),t.elm}function Wo(e,t){zn(e,t),Un(null,e,t)}function Bo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Ho(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,s]of Object.entries(r)){const{getAttribute:r}=n;Vo(s,r(t,e))||(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c,getAttribute:a}=n,u=Fn(o),d=function(e){return 3===e.type}(e)?function(e){const{template:t}=_n(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!V(r)&&Br(t,n)?Pn(r):null}(e):null;if(!j(u)||!j(d))if(V(s))if(V(i)){const e=[u,d],t=b.call(e,(e=>!j(e)));t.length&&(s=S.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),j(u)?{}:{[u]:!0}),j(d)?{}:{[d]:!0});else{const e=[u,s,d],t=b.call(e,(e=>!j(e)));s=S.call(t," ")}let h=!0;const p=a(t,"class");if(V(s)||String(s)===p)if(V(i))V(s)&&!j(p)&&(h=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(h=!1);JSON.stringify(n.trim()),e.length>f(i).length&&(h=!1)}else h=!1,JSON.stringify(s);return h}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(V(r)||r===i){if(!V(o)){const e=function(e){const t={},n=e.split(Je);for(const e of n)if(e){const[n,r]=e.split(Ze);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];V(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),S.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}function Vo(e,t){return String(e)===t||!(!j(t)||!V(e)&&!j(e))}let jo=!1;const Go=["slots","stylesheetToken","stylesheets","renderMode"],Uo=["$scoped$"],Yo=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Ko=!1;function zo(e){switch(e){case"pop":return T;case"push":return k;case"shift":return L;case"unshift":return O;case"reverse":return N;case"sort":return P;case"fill":return y;case"splice":return R;case"copyWithin":return w}}function qo(e,t,n){xe(t,{propertyName:n})}function Xo(e){qo(0,"TemplateMutation",e)}function Jo(e){qo(0,"StylesheetMutation",e)}function Zo(e){Qo(e,(e=>{m(e)?function(e){for(const t of Yo){const n=zo(t);e[t]=function(){return Xo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of Uo){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Jo(t),n=e}})}}(e)}))}function Qo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Qo(r,t):t(r)}}const es=Y(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),ts=es&&l(document.adoptedStyleSheets,"length").writable,ns=!V(document.documentMode),rs=new Map;function os(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function ss(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?ns?os(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function is(e,t){let n=rs.get(e);return V(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},rs.set(e,n)),t&&V(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&V(n.element)&&(n.element=os(e)),n}function ls(e,t){const n=is(e,es);let{roots:r}=n;if(V(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),es?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;ts?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):ss(e,t,n)}const cs=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}}(),as=(e,t)=>{const n=document.createElement(e);return t(n),n},us=new Map,ds=new WeakSet;let fs=!1;const hs=(e,t)=>{const n=!V(e),r=!V(t);class o extends HTMLElement{constructor(e){super(),fs?e(this):(n||r)&&ds.add(this)}}return n&&(o.prototype.connectedCallback=function(){ds.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){ds.has(this)||t(this)}),o};let ps;function ms(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 s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.firstChild}}function o(e,t,n,r){e.addEventListener(t,n,r)}function s(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=s,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){s(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}ps=cs?(e,t,n,r)=>{let o=us.get(e);if(V(o)){if(!V(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=hs(n,r),customElements.define(e,o),us.set(e,o)}fs=!0;try{return new o(t)}finally{fs=!1}}:as;const gs=n(ms(null),{insertStylesheet:function(e,t){V(t)?function(e){const t=is(e,!1);t.global||(t.global=!0,ss(e,document.head,t))}(e):ls(e,t)},createCustomElement:ps,isNativeShadowDefined:re.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,ie)});function ws(e,t,n){const r=ao(e,t,gs,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function ys(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(!Y(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!K(n)||j(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(ho(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Ro=!1,yo(e),Oo(e),Ro&&Fe("Hydration completed with errors.",e)}(ws(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!j(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!j(e.firstChild);)e.removeChild(e.firstChild)}(e,t),ws(e,t,n),io(e)}}const bs=new WeakSet;function vs(e){var t;const n=function(e){return _n(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(ys(this,e,{}),bs.add(this)):ao(this,e,gs,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){bs.has(this)?bs.delete(this):io(this)}disconnectedCallback(){lo(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Cs=Node,Es=new WeakMap,Ss=new WeakMap;function Ms(e,t){const n=t.get(e);return V(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Cs.prototype;n(Cs.prototype,{appendChild(t){return Ms(e.call(this,t),Es)},insertBefore(e,n){return Ms(t.call(this,e,n),Es)},removeChild(e){return Ms(r.call(this,e),Ss)},replaceChild(e,t){const n=o.call(this,e,t);return Ms(n,Ss),Ms(e,Es),n}})}const Ts=Node;const ks=new Map;function As(e,t,n){var r,o,s;r=t,o=e=>{e.stopImmediatePropagation();const{setNewContext:t,setDisconnectedCallback:r}=e;n({setNewContext:t,setDisconnectedCallback:r})},e.addEventListener(r,o,s)}s(qt,"CustomElementConstructor",{get(){return function(e){if(e===qt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ks.get(e);return V(t)&&(t=vs(e),ks.set(e,t)),t}(this)}}),i(qt),h(qt.prototype),e.LightningElement=qt,e.__unstable__ProfilerControl=kr,e.__unstable__ReportingControl=Le,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){return tn(e,As)},e.createElement=function(e,t){if(!K(t)||j(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${J(t)}".`);const n=t.is;if(!Y(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=gs,o=H.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{io(e)},i=e=>{lo(e)}),r(o,(e=>{ao(e,n,gs,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(Es.set(e,io),Ss.set(e,lo))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),V(e.stylesheets)||Qo(e.stylesheets,(e=>{i(e)}))):(!function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return V(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=V(e)?void 0:e.shadowAttribute}})}(e),_e((()=>{!function(e){V(e.stylesheets)||Zo(e.stylesheets);for(const t of Go){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Ko||Xo(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){Xo("stylesheetTokens"),Ko=!0,t.set.call(this,e),Ko=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!V(e)){const n=ho(e);V(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=_n(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:be(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ys,e.isComponentConstructor=Ln,e.isNodeFromTemplate=function(e){if(U(e instanceof Ts))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&U(u.call(a(t),"synthetic")))||gs.isSyntheticShadowDefined&&!V(e[oe])},e.parseFragment=Fr,e.parseSVGFragment=Ir,e.readonly=function(e){return Ut(e)},e.register=function(e){for(let t=0;t<Qr.length;++t){const n=Qr[t];if(n in e){let t=Zr[n];V(t)&&(Zr[n]=t=[]),k.call(t,e[n])}}},e.registerComponent=function(e,t){return Y(e)&&Yr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,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(!V(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(V(w))throw new Error;w=un(e,w)}else w=V(w)||V(w.get)?an(e):un(e,w);f[e]=w,s(n,e,w)}if(V(i)||D.call(i,(e=>{if(w=l(n,e),V(w))throw new Error;d[e]=w})),!V(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(V(w))throw new Error;h[e]=w,ln(w,t,o,i)}else w=fn(e),p[e]=w,cn(w,t,o,i),s(n,e,w)}if(!V(a))for(const e in a)w=l(n,e),w=dn(e),s(n,e,w);if(!V(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!V(o)&&t in o,s=!V(a)&&t in a;r||s||(m[t]=Qt(t))}return function(e,t){hn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return mn.add(e),e},e.renderer=gs,e.rendererFactory=ms,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(V(Ce[e])){const n=f(Ce).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=Ee[e];if(!V(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}".`);s(Ee,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(jo,"Hooks are already overridden, only one definition is allowed."),jo=!0,n=e.sanitizeHtmlContent,Er=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 Yt(e);throw new Error},e.unwrap=function(e){return Gt.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: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}}));
2
2
  //# sourceMappingURL=engine-dom.min.js.map
@@ -49,7 +49,16 @@
49
49
  */
50
50
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor: getOwnPropertyDescriptor$1, getOwnPropertyNames: getOwnPropertyNames$1, getPrototypeOf: getPrototypeOf$1, hasOwnProperty: hasOwnProperty$1, isFrozen, keys, seal, setPrototypeOf, } = Object;
51
51
  const { isArray: isArray$1 } = Array;
52
- const { concat: ArrayConcat$1, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
52
+ const { concat: ArrayConcat$1, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
53
+ // The type of the return value of Array.prototype.every is `this is T[]`. However, once this
54
+ // Array method is pulled out of the prototype, the function is now referencing `this` where
55
+ // `this` is meaningless, resulting in a TypeScript compilation error.
56
+ //
57
+ // Exposing this helper function is the closest we can get to preserving the usage patterns
58
+ // of Array.prototype methods used elsewhere in the codebase.
59
+ function arrayEvery(arr, predicate) {
60
+ return ArrayEvery.call(arr, predicate);
61
+ }
53
62
  const { fromCharCode: StringFromCharCode } = String;
54
63
  const { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
55
64
  function isUndefined$1(obj) {
@@ -324,7 +333,7 @@
324
333
  CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
325
334
  return propertyName;
326
335
  }
327
- /** version: 2.45.0 */
336
+ /** version: 2.45.2 */
328
337
 
329
338
  /**
330
339
  * Copyright (C) 2018 salesforce.com, inc.
@@ -391,7 +400,7 @@
391
400
  */
392
401
  function setFeatureFlagForTest(name, value) {
393
402
  }
394
- /** version: 2.45.0 */
403
+ /** version: 2.45.2 */
395
404
 
396
405
  /**
397
406
  * Copyright (C) 2018 salesforce.com, inc.
@@ -455,7 +464,7 @@
455
464
  }
456
465
  }
457
466
  }
458
- /** version: 2.45.0 */
467
+ /** version: 2.45.2 */
459
468
 
460
469
  /*
461
470
  * Copyright (c) 2018, salesforce.com, inc.
@@ -618,6 +627,9 @@
618
627
  function logError(message, vm) {
619
628
  log('error', message, vm, false);
620
629
  }
630
+ function logWarn(message, vm) {
631
+ log('warn', message, vm, false);
632
+ }
621
633
 
622
634
  /*
623
635
  * Copyright (c) 2019, salesforce.com, inc.
@@ -1384,10 +1396,10 @@
1384
1396
  function createBridgeToElementDescriptor(propName, descriptor) {
1385
1397
  const { get, set, enumerable, configurable } = descriptor;
1386
1398
  if (!isFunction$1(get)) {
1387
- throw new TypeError();
1399
+ throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${propName} definition. Missing the standard getter.`);
1388
1400
  }
1389
1401
  if (!isFunction$1(set)) {
1390
- throw new TypeError();
1402
+ throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${propName} definition. Missing the standard setter.`);
1391
1403
  }
1392
1404
  return {
1393
1405
  enumerable,
@@ -4303,13 +4315,19 @@
4303
4315
  }
4304
4316
  }
4305
4317
  function validateLightDomTemplate(template, vm) {
4306
- if (template === defaultEmptyTemplate)
4318
+ assertNotProd(); // should never leak to prod mode
4319
+ if (template === defaultEmptyTemplate) {
4307
4320
  return;
4321
+ }
4308
4322
  if (vm.renderMode === 0 /* RenderMode.Light */) {
4309
- assert.isTrue(template.renderMode === 'light', `Light DOM components can't render shadow DOM templates. Add an 'lwc:render-mode="light"' directive to the root template tag of ${getComponentTag(vm)}.`);
4323
+ if (template.renderMode !== 'light') {
4324
+ logError(`Light DOM components can't render shadow DOM templates. Add an 'lwc:render-mode="light"' directive to the root template tag of ${getComponentTag(vm)}.`);
4325
+ }
4310
4326
  }
4311
4327
  else {
4312
- assert.isTrue(isUndefined$1(template.renderMode), `Shadow DOM components template can't render light DOM templates. Either remove the 'lwc:render-mode' directive from ${getComponentTag(vm)} or set it to 'lwc:render-mode="shadow"`);
4328
+ if (!isUndefined$1(template.renderMode)) {
4329
+ logError(`Shadow DOM components template can't render light DOM templates. Either remove the 'lwc:render-mode' directive from ${getComponentTag(vm)} or set it to 'lwc:render-mode="shadow"`);
4330
+ }
4313
4331
  }
4314
4332
  }
4315
4333
  function buildParseFragmentFn(createFragmentFn) {
@@ -5367,6 +5385,27 @@
5367
5385
  return renderer.nextSibling(hydratedNode);
5368
5386
  }
5369
5387
  const NODE_VALUE_PROP = 'nodeValue';
5388
+ // The validationOptOut static property can be an array of attribute names.
5389
+ // Any attribute names specified in that array will not be validated, and the
5390
+ // LWC runtime will assume that VDOM attrs and DOM attrs are in sync.
5391
+ function getValidationPredicate(optOutStaticProp) {
5392
+ if (isUndefined$1(optOutStaticProp)) {
5393
+ return (_attrName) => true;
5394
+ }
5395
+ // If validationOptOut is true, no attributes will be checked for correctness
5396
+ // and the runtime will assume VDOM attrs and DOM attrs are in sync.
5397
+ if (isTrue(optOutStaticProp)) {
5398
+ return (_attrName) => false;
5399
+ }
5400
+ // If validationOptOut is an array of strings, attributes specified in the
5401
+ // array will be "opted out". Attributes not specified in the array will still
5402
+ // be validated.
5403
+ if (isArray$1(optOutStaticProp) && arrayEvery(optOutStaticProp, isString)) {
5404
+ return (attrName) => !ArrayIncludes.call(optOutStaticProp, attrName);
5405
+ }
5406
+ logWarn('Validation opt out must be `true` or an array of attributes that should not be validated.');
5407
+ return (_attrName) => true;
5408
+ }
5370
5409
  function hydrateText(node, vnode, renderer) {
5371
5410
  var _a;
5372
5411
  if (!hasCorrectNodeType(vnode, node, 3 /* EnvNodeTypes.TEXT */, renderer)) {
@@ -5428,8 +5467,19 @@
5428
5467
  return elm;
5429
5468
  }
5430
5469
  function hydrateCustomElement(elm, vnode, renderer) {
5470
+ const { validationOptOut } = vnode.ctor;
5471
+ const shouldValidateAttr = getValidationPredicate(validationOptOut);
5472
+ // The validationOptOut static property can be an array of attribute names.
5473
+ // Any attribute names specified in that array will not be validated, and the
5474
+ // LWC runtime will assume that VDOM attrs and DOM attrs are in sync.
5475
+ //
5476
+ // If validationOptOut is true, no attributes will be checked for correctness
5477
+ // and the runtime will assume VDOM attrs and DOM attrs are in sync.
5478
+ //
5479
+ // Therefore, if validationOptOut is falsey or an array of strings, we need to
5480
+ // examine some or all of the custom element's attributes.
5431
5481
  if (!hasCorrectNodeType(vnode, elm, 1 /* EnvNodeTypes.ELEMENT */, renderer) ||
5432
- !isMatchingElement(vnode, elm, renderer)) {
5482
+ !isMatchingElement(vnode, elm, renderer, shouldValidateAttr)) {
5433
5483
  return handleMismatch(elm, vnode, renderer);
5434
5484
  }
5435
5485
  const { sel, mode, ctor, owner } = vnode;
@@ -5504,15 +5554,19 @@
5504
5554
  }
5505
5555
  return true;
5506
5556
  }
5507
- function isMatchingElement(vnode, elm, renderer) {
5557
+ function isMatchingElement(vnode, elm, renderer, shouldValidateAttr = () => true) {
5508
5558
  const { getProperty } = renderer;
5509
5559
  if (vnode.sel.toLowerCase() !== getProperty(elm, 'tagName').toLowerCase()) {
5510
5560
  return false;
5511
5561
  }
5512
- const hasIncompatibleAttrs = validateAttrs(vnode, elm, renderer);
5513
- const hasIncompatibleClass = validateClassAttr(vnode, elm, renderer);
5514
- const hasIncompatibleStyle = validateStyleAttr(vnode, elm, renderer);
5515
- return hasIncompatibleAttrs && hasIncompatibleClass && hasIncompatibleStyle;
5562
+ const hasCompatibleAttrs = validateAttrs(vnode, elm, renderer, shouldValidateAttr);
5563
+ const hasCompatibleClass = shouldValidateAttr('class')
5564
+ ? validateClassAttr(vnode, elm, renderer)
5565
+ : true;
5566
+ const hasCompatibleStyle = shouldValidateAttr('style')
5567
+ ? validateStyleAttr(vnode, elm, renderer)
5568
+ : true;
5569
+ return hasCompatibleAttrs && hasCompatibleClass && hasCompatibleStyle;
5516
5570
  }
5517
5571
  function attributeValuesAreEqual(vnodeValue, value) {
5518
5572
  const vnodeValueAsString = String(vnodeValue);
@@ -5527,12 +5581,15 @@
5527
5581
  // In all other cases, the two values are not considered equal
5528
5582
  return false;
5529
5583
  }
5530
- function validateAttrs(vnode, elm, renderer) {
5584
+ function validateAttrs(vnode, elm, renderer, shouldValidateAttr) {
5531
5585
  const { data: { attrs = {} }, } = vnode;
5532
5586
  let nodesAreCompatible = true;
5533
5587
  // Validate attributes, though we could always recovery from those by running the update mods.
5534
5588
  // Note: intentionally ONLY matching vnodes.attrs to elm.attrs, in case SSR is adding extra attributes.
5535
5589
  for (const [attrName, attrValue] of Object.entries(attrs)) {
5590
+ if (!shouldValidateAttr(attrName)) {
5591
+ continue;
5592
+ }
5536
5593
  const { getAttribute } = renderer;
5537
5594
  const elmAttrValue = getAttribute(elm, attrName);
5538
5595
  if (!attributeValuesAreEqual(attrValue, elmAttrValue)) {
@@ -6256,7 +6313,7 @@
6256
6313
  function isNull(obj) {
6257
6314
  return obj === null;
6258
6315
  }
6259
- /** version: 2.45.0 */
6316
+ /** version: 2.45.2 */
6260
6317
 
6261
6318
  /*
6262
6319
  * Copyright (c) 2023, salesforce.com, inc.
@@ -6867,7 +6924,7 @@
6867
6924
  });
6868
6925
  }));
6869
6926
  }
6870
- /* version: 2.45.0 */
6927
+ /* version: 2.45.2 */
6871
6928
 
6872
6929
  exports.LightningElement = LightningElement;
6873
6930
  exports.__unstable__ProfilerControl = profilerControl;