lwc 2.43.0 → 2.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +53 -231
  2. package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
  3. package/dist/engine-dom/iife/es2017/engine-dom.js +52 -231
  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 +8 -28
  7. package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
  8. package/dist/engine-dom/iife/es5/engine-dom.js +51 -232
  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 +7 -27
  12. package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
  13. package/dist/engine-dom/umd/es2017/engine-dom.js +52 -231
  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 +8 -28
  17. package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
  18. package/dist/engine-dom/umd/es5/engine-dom.js +51 -232
  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 +7 -27
  22. package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
  23. package/dist/engine-server/commonjs/es2017/engine-server.js +121 -203
  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 +103 -203
  27. package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
  28. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +89 -74
  29. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
  30. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +89 -74
  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 +85 -70
  34. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
  35. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +88 -71
  36. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
  37. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  38. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +84 -67
  39. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
  40. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +89 -74
  41. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
  42. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  43. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +85 -70
  44. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
  45. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +88 -71
  46. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
  47. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  48. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +84 -67
  49. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
  50. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  51. package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
  52. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  53. package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
  54. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  55. package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
  56. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  57. package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
  58. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  59. package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
  60. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  61. package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
  62. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  63. package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
  64. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  65. package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
  66. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  67. package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
  68. package/package.json +7 -7
@@ -1,2 +1,2 @@
1
- "use strict";var e=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:t,create:n,defineProperties:r,defineProperty:o,freeze:s,getOwnPropertyDescriptor:i,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:h}=Object,{isArray:p}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:M,reverse:x,shift:T,slice:A,some:N,sort:O,splice:_,unshift:P,forEach:R}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:L,replace:D,split:F,slice:I,toLowerCase:W}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function U(e){return"string"==typeof e}function K(){}const z={}.toString;function Y(e){return e&&e.toString?p(e)?E.call(C.call(e,Y),","):e.toString():"object"==typeof e?z.call(e):e+""}function q(e,t){do{const n=i(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const X=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Z,AriaPropNameToAttrNameMap:Q}=(()=>{const e=n(null),t=n(null);return R.call(X,(n=>{const r=W.call(D.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function J(e){return e in Z}const ee="object"==typeof globalThis?globalThis:window,te="$shadowResolver$",ne="$shadowStaticNode$",re="$$lwc-synthetic-mode",oe="$scoped$",se="http://www.w3.org/1999/xhtml",ie="http://www.w3.org/XML/1998/namespace",le="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xlink",ce=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ue=/-([a-z])/g,de=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function fe(e,t){const n=de.get(e);return void 0!==n&&(0===n.size||n.has(t))}const he=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function pe(e){return he.has(e)}const{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=Q[e];if(!H(t))return t;const n=ge.get(e);if(!H(n))return n;const r=we.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=L.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return we.set(e,o),o}function ve(e){const t=Z[e];if(!H(t))return t;const n=me.get(e);if(!H(n))return n;const r=ye.get(e);if(!H(r))return r;const o=D.call(e,ue,(e=>e[1].toUpperCase()));return ye.set(e,o),o}const Ee={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Ce(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>Ee[e]))}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};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:n(null)});const ke=ee.lwcRuntimeFlags;if("function"!=typeof Event){class e{}o(ee,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(ee,"CustomEvent",{value:e,configurable:!0,writable:!0})}function Me(e,t){return H(i(t,e))}function xe(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){B(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(Q[e]);o(t,e,n)}function Te(e){return`<${W.call(e.tagName)}>`}function Ae(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}const Ne=new Set;function Oe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(H(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+Te(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Ne.has(o))return;Ne.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function _e(e,t){Oe("error",e,t,!1)}const Pe=new WeakMap;const Re={observe(e){e()},reset(){},link(){}};function $e(e){return Re}const Le=32,De=f(n(null)),Fe=f([]);function Ie(e){const t=[];for(const n of e)p(n)?t.push(...Ie(n)):t.push(n);return t}function We(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function He(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Be(e){return G(e)&&c.call(e,"__circular__")}const Ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},je=Ve.prototype;let Ge,Ue=null;function Ke(e,t){Ue=null,Ge=void 0}function ze(e,t){Ue=e,Ge=t}const Ye=n(null);function qe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}R.call(d(Q),(e=>{const t=q(je,e);H(t)||(Ye[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(je,e);H(t)||(Ye[e]=t)}));const{isArray:Xe}=Array,{prototype:Ze,getPrototypeOf:Qe,create:Je,defineProperty:et,isExtensible:tt,getOwnPropertyDescriptor:nt,getOwnPropertyNames:rt,getOwnPropertySymbols:ot,preventExtensions:st,hasOwnProperty:it}=Object,{push:lt,concat:at}=Array.prototype;function ct(e){return void 0===e}function ut(e){return"function"==typeof e}const dt=new WeakMap;function ft(e,t){dt.set(e,t)}const ht=e=>dt.get(e)||e;class pt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(it.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ct(n)||(e.get=this.wrapGetter(n)),ct(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=nt(n,t);if(!ct(r)){const n=this.wrapDescriptor(r);et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;at.call(rt(t),ot(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ct(n)||it.call(e,n)||et(e,n,Je(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=ct(n)||it.call(t,n)?[]:[n];return lt.apply(r,rt(t)),lt.apply(r,ot(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!tt(e)&&(!!tt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Qe(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=nt(n,t);if(ct(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},et(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const mt=new WeakMap,gt=new WeakMap,wt=new WeakMap,yt=new WeakMap;class bt extends pt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=mt.get(e);if(!ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ht(this)))};return mt.set(e,r),wt.set(r,e),r}wrapSetter(e){const t=gt.get(e);if(!ct(t))return t;const n=function(t){e.call(ht(this),ht(t))};return gt.set(e,n),yt.set(n,e),n}unwrapDescriptor(e){if(it.call(e,"value"))e.value=ht(e.value);else{const{set:t,get:n}=e;ct(n)||(e.get=this.unwrapGetter(n)),ct(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=wt.get(e);if(!ct(t))return t;const n=this,r=function(){return ht(e.call(n.wrapValue(this)))};return mt.set(r,e),wt.set(e,r),r}unwrapSetter(e){const t=yt.get(e);if(!ct(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return gt.set(r,e),yt.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&&Xe(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(tt(e)){const{originalTarget:t}=this;if(st(t),tt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!it.call(r,t)||(et(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const vt=new WeakMap,Et=new WeakMap;class Ct extends pt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=vt.get(e);if(!ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ht(this)))};return vt.set(e,r),r}wrapSetter(e){const t=Et.get(e);if(!ct(t))return t;const n=function(e){};return Et.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 St(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Xe(e))return!0;const t=Qe(e);return t===Ze||null===t||null===Qe(t)}const kt=(e,t)=>{},Mt=(e,t)=>{};function xt(e){return Xe(e)?[]:{}}const Tt=Symbol.for("@@lockerLiveValue"),At=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ut(t)?t:Mt,this.valueObserved=ut(n)?n:kt,this.valueIsObservable=ut(r)?r:St,this.tagPropertyKey=o}getProxy(e){const t=ht(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ht(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ht(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ct(t)){const n=new bt(this,e);t=new Proxy(xt(e),n),ft(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ct(t)){const n=new Ct(this,e);t=new Proxy(xt(e),n),ft(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=Pe.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:Tt});function Nt(e){return At.getReadOnlyProxy(e)}function Ot(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const e=Lr(this);if(!pr(e))return n.call(e.elm)},set(t){const n=Lr(this);return qe(n,e,t),r.call(n.elm,t)}}}const _t=new WeakMap,Pt=function(){if(B(hr))throw new TypeError("Illegal constructor");const e=hr,{def:t,elm:n}=e,{bridge:r}=t;if(h(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 $r(this,e),$r(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,{[re]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,$r(i,e),i}(e):e.renderRoot=n,this};Pt.prototype={constructor:Pt,dispatchEvent(e){const t=Lr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Er(r,t),n)},removeEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Er(r,t),n)},hasAttribute(e){const t=Lr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=Lr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=Lr(this),{elm:n,renderer:{removeAttribute:r}}=t;ze(n,e),r(n,e),Ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Lr(this);ze(n,t),r(n,t,e),Ke()},getAttribute(e){const t=Lr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Lr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Lr(this),{elm:r,renderer:{setAttribute:o}}=n;ze(r,e),o(r,e,t),Ke()},setAttributeNS(e,t,n){const r=Lr(this),{elm:o,renderer:{setAttribute:s}}=r;ze(o,t),s(o,t,n,e),Ke()},getBoundingClientRect(){const e=Lr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Lr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Lr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Lr(this).shadowRoot},get refs(){const e=Lr(this);if(or)return;const{refVNodes:t,cmpTemplate:r}=e;if(B(t))return;let o=_t.get(t);if(H(o)){o=n(null);for(const e of d(t))o[e]=t[e].elm;s(o),_t.set(t,o)}return o},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Lr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Lr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Lr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Lr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Lr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Lr(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=Lr(this);return e.renderer.ownerDocument(e.elm)},render(){return Lr(this).def.template},toString(){return`[object ${Lr(this).def.name}]`}};const Rt=n(null),$t=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of $t)Rt[e]={value(t){const n=Lr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Pt.prototype,Rt);const Lt=n(null);for(const e in Ye)Lt[e]=Ot(e,Ye[e]);function Dt(e){return{get(){return Lr(this).cmpFields[e]},set(t){qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}r(Pt.prototype,Lt),function(e=Element.prototype){const t=d(Q);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Me(r,e)&&xe(r,e)}}(Pt.prototype),o(Pt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ft=new Map;function It(e,t){let n=Ft.get(e);if(!H(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()}(),Ft.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((()=>{H(i)||i(r)})),s(r)}))}}const Wt="$$DeprecatedWiredElementHostKey$$",Ht="$$DeprecatedWiredParamsMetaKey$$",Bt=new Map;function Vt(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{qe(e,t,n)}}(e,t):function(e,t){return n=>{Gr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),c=e=>{a(e)};let u,d;o(c,Wt,{value:e.elm}),o(c,Ht,{value:l}),Gr(e,e,K,(()=>{d=new s(c)}),K);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){const r=$e();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Gr(e,e,K,(()=>{d.update(t,u)}),K)}));return H(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ft.get(r);if(H(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{registerContextConsumer:a}}=e;k.call(i,(()=>{a(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 jt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Bt.set(e,o)}function Gt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Bt.set(e,o)}function Ut(e){return{get(){const t=Lr(this);if(!pr(t))return t.cmpProps[e]},set(t){Lr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Kt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){Lr(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function zt(e){return{get(){return Lr(this).cmpFields[e]},set(t){qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}function Yt(e){return{get(){return Lr(this).cmpFields[e]},set(t){qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}const qt=new Map;const Xt={apiMethods:De,apiFields:De,apiFieldsConfig:De,wiredMethods:De,wiredFields:De,observedFields:De};const Zt=new Set;function Qt(){return[]}Zt.add(Qt);const Jt=n(null),en=n(null);function tn(e){let t=Jt[e];return H(t)&&(t=Jt[e]=function(){const t=Lr(this),{getHook:n}=t;return n(t.component,e)}),t}function nn(e){let t=en[e];return H(t)&&(t=en[e]=function(t){const n=Lr(this),{setHook:r}=n;t=Nt(t),r(n.component,e,t)}),t}function rn(e){return function(){const t=Lr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function on(e,t){return function(n,r,o){if(r===o)return;const s=e[n];H(s)?H(t)||t.apply(this,arguments):function(e,t){return e!==Ue||t!==Ge}(this,n)&&(this[s]=o)}}function sn(e,t,s){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},h(i,e),h(i.prototype,e.prototype),o(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[be(n)]=n,u[n]={get:tn(n),set:nn(n),enumerable:!0,configurable:!0}}for(let e=0,t=s.length;e<t;e+=1){const t=s[e];u[t]={value:rn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:on(l,a)},o(i,"observedAttributes",{get:()=>[...c,...d(l)]}),r(i.prototype,u),i}const ln=sn(Ve,l(Ye),[]);s(ln),f(ln.prototype);const an="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const cn=an?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){H(e[t].deref())&&_.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return H(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();H(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 H(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 cn,new cn,new cn;const un=new WeakMap;function dn(e){const{shadowSupportMode:o,renderMode:s}=e,i=function(e){const t=qt.get(e);return H(t)?Xt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Be(t)){const e=He(t);t=e===t?Pt:e}return t}(e),C=E!==Pt?hn(E):pn,S=sn(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),M=t(n(null),C.propsConfig,c),x=t(n(null),C.methods,u),T=t(n(null),C.wire,f,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;H(o)||(A=o);let N=C.renderMode;H(s)||(N="light"===s?0:1);const O=function(e){var t;return null===(t=wr.get(e))||void 0===t?void 0:t.tmpl}(e)||C.template,_=e.name||C.name;r(m,p);return{ctor:e,name:_,wire:T,props:k,propsConfig:M,methods:x,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function fn(e){if(!G(e))return!1;if(e.prototype instanceof Pt)return!0;let t=e;do{if(Be(t)){const e=He(t);if(e===t)return!0;t=e}if(t===Pt)return!0}while(!B(t)&&(t=a(t)));return!1}function hn(e){let t=un.get(e);if(H(t)){if(Be(e)){return t=hn(He(e)),un.set(e,t),t}if(!fn(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=dn(e),un.set(e,t)}return t}const pn={ctor:Pt,name:Pt.name,props:Lt,propsConfig:De,methods:De,renderMode:1,shadowSupportMode:"reset",wire:De,bridge:ln,template:Qt,render:Pt.prototype.render};function mn(e){return`${e}-host`}function gn(e){return rr.h("style",{key:"style",attrs:{type:"text/css"}},[rr.t(e)])}function wn(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(p(i))k.apply(r,wn(i,t,n));else{vn(i)||n.tagName.toLowerCase();const e=i[oe];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 s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=yn(n)),a=B(o)||0===o.shadowMode),k.call(r,i(s,l,a))}}return r}function yn(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}const bn=new Set;function vn(e){return bn.has(e)}function En(e){const{type:t}=e;return 2===t||3===t}function Cn(e,t){return e.key===t.key&&e.sel===t.sel}function Sn(e){return 5===e.type}function kn(e){return 6===e.type}const Mn=58;const xn=58;function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const An=n(null);function Nn(e){if(null==e)return De;e=U(e)?e:e+"";let t=An[e];if(t)return t;t=n(null);let r,o=0;const s=e.length;for(r=0;r<s;r++)L.call(e,r)===Le&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),An[e]=t,t}function On(e,t,n,r){zn(t)?qn(e,t,n,r):Xn(e,t,n,r)}function _n(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&&Wn(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?Xn(e.children,o,n,r):qn(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;Vn(e,t,n),On(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);Ln(e,n,r,!0),Rn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Vn(e,t,r),!H(o)){Gn(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&zn(e.children)&&Kn(t.children)}On(e.children,t.children,n,r),H(o)||function(e){Fr(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Pn(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);In(i,o,r),Bn(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);In(i,o,r),Bn(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);In(l,o,r);const{renderMode:a,shadowMode:c}=o;i&&(1!==c&&0!==a||(l[ne]=!0));Bn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;$n(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,a=V(i)?le:void 0,c=e.elm=l(o,a);In(c,s,r),jn(c,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)}(c,e),Vn(null,e,r),Bn(c,t,n,r),$n(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Rn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function Rn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let a,c;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{Or(e)},c=e=>{_r(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Dr(e);if(!H(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=Rr(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,In(u,s,r),jn(u,s,r),l&&Gn(e,l),Vn(null,e,r),Bn(u,t,n,r),l&&Ir(l),$n(e.children,u,r,null),l&&function(e){Fr(e)}(l)}function $n(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Fn(s)&&Pn(s,t,n,r)}}function Ln(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Dn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Dn(e.children,s,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){Pr(e)}(t)}}}function Dn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Fn(s)&&Ln(s,t,n,r)}}function Fn(e){return null!=e}function In(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[te]=r[te]))}function Wn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Hn(e,t,n,r){if(Sn(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const s=o[e];B(s)||r.insert(s.elm,t,n)}}else r.insert(e.elm,t,n)}function Bn(e,t,n,r){r.insert(e,t,n)}function Vn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(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)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=B(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),a=Nn(o),c=Nn(s);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;U(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(H(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,a=B(e)?De:e.data.attrs;for(const e in r){const t=r[e];a[e]!==t&&(ve(e)in o?l(o,e,t):L.call(e,3)===xn?i(o,e,t,ie):L.call(e,5)===xn?i(o,e,t,ae):B(t)||H(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?De: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&&(ze(s,e),L.call(e,3)===Mn?i(s,e,t,ie):L.call(e,5)===Mn?i(s,e,t,ae):B(t)||H(t)?l(s,e):i(s,e,t),Ke())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:s}=n.data;if(H(o)&&H(s))return;let i;if(!B(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;H(i)&&(i=De),H(n)||(i=t({},i,n))}H(s)||(o=t({},o,s));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Tn(c,e)?u(a,e):i[e])&&e in i||d(a,e,t)}}(e,n,r)}function jn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function Gn(e,t){const r=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||!Sn(r))}if(!o)return e;for(;!H(r=S.call(n));)if(!B(r)&&Sn(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 Kn(t),t}(r);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,r){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(B(n))continue;let r="";En(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":kn(n)&&(r=n.slotName);const i=""+r,a=l[i]=l[i]||[];k.call(a,n)}if(e.cmpSlots={owner:r,slotAssignments:l},j(e.isDirty)){const t=d(i);if(t.length!==d(l).length)return void br(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(l[r])||i[r].length!==l[r].length)return void br(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 br(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Fe)}const Un=new WeakMap;function Kn(e){Un.set(e,1)}function zn(e){return Un.has(e)}function Yn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Fn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function qn(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],a=e[i];const c=t.length-1;let u,d,f,h,p=c,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)if(Fn(l))if(Fn(a))if(Fn(m))if(Fn(g))if(Cn(l,m))_n(l,m,n,r),l=e[++o],m=t[++s];else if(Cn(a,g))_n(a,g,n,r),a=e[--i],g=t[--p];else if(Cn(l,g)){let s;_n(l,g,n,r),s=Sn(a)?r.nextSibling(a.trailing.elm):r.nextSibling(a.elm),Hn(l,n,s,r),l=e[++o],g=t[--p]}else Cn(a,m)?(_n(a,m,n,r),Hn(m,n,l.elm,r),a=e[--i],m=t[++s]):(void 0===u&&(u=Yn(e,o,i)),d=u[m.key],H(d)?(Pn(m,n,r,l.elm),m=t[++s]):(f=e[d],Fn(f)&&(f.sel!==m.sel?Pn(m,n,r,l.elm):(_n(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Hn(f,n,l.elm,r))),m=t[++s]));else g=t[--p];else m=t[++s];else a=e[--i];else l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Fn(e)&&o<c);h=Fn(e)?e.elm:null,$n(t,n,r,h,s,p+1)}else Dn(e,n,r,!0,o,i+1)}function Xn(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void $n(t,n,r,null);if(0===s)return void Dn(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&&(Fn(s)?Fn(l)?Cn(s,l)?(_n(s,l,n,r),i=l.elm):(Ln(s,n,r,!0),Pn(l,n,r,i),i=l.elm):Ln(s,n,r,!0):Fn(l)&&(Pn(l,n,r,i),i=l.elm))}}const Zn=Symbol.iterator;function Qn(e,t,n=Fe){const r=ir(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(s)||We(r,s,i),i}function Jn(e,t,n,r=Fe){const o=ir(),{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(ir().velements,e)}(l),H(i)||We(o,i,l),l}function er(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:ir()}}function tr(e){return Kn(e),e}let nr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const rr=s({s:function(e,t,n,r){if(!H(r)&&!H(r.slotAssignments)&&!H(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(!B(n)){const e=kn(n);if(e!==!H(t.slotData))continue;if(e){const e=ir();lr(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{lr(e)}}else k.call(o,n)}}n=o}const o=ir(),{renderMode:s,shadowMode:i}=o;return 0===s?(tr(n),n):(1===i&&tr(n),Qn("slot",t,n))},h:Qn,c:Jn,i:function(e,t){const n=[];if(tr(n),H(e)||null===e)return n;const r=e[Zn]();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);p(e)?k.apply(n,e):k.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];tr(n);for(let r=0;r<t;r+=1){const t=e[r];p(t)?k.apply(n,t):k.call(n,t)}return n},t:er,d:function(e){return null==e?"":String(e)},b:function(e){const t=ir();if(B(t))throw new Error;const n=t;return function(t){gr(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:ir()}},dc:function(e,t,n=Fe){if(B(e)||H(e))return null;if(!fn(e))throw new Error(`Invalid constructor ${Y(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=wr.get(e))||void 0===t?void 0:t.sel}(e);if(H(r)||""===r)throw new Error(`Invalid LWC constructor ${Y(e)} does not have a registered name`);return Jn(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:ir(),leading:r,trailing:o}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:ir()}},gid:function(e){const t=ir();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?D.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=ir();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return nr(e)},ssf:function(e,t){return{type:6,factory:t,owner:ir(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=Fe){if(B(t)||H(t))return null;if(!fn(t))throw new Error(`Invalid LWC Constructor ${Y(t)} for custom element <${e}>.`);return Jn(e,t,n,r)}});let or=!1,sr=null;function ir(){return sr}function lr(e){sr=e}const ar=(cr=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:s,renderer:i}=ir(),l=!H(o),a=1===s;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let h="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:h+=e[n]+u;break;case 1:h+=e[n]+d;break;case 2:h+=e[n]+f;break;case 3:h+=e[n]+d+f}return h+=e[e.length-1],r[c]=cr(h,i),r[c]}});var cr;function ur(e,t){const r=or,o=sr;let s=[];return Gr(e,e.owner,(()=>{sr=e}),(()=>{const{component:r,context:o,cmpSlots:i,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||Vr(e),a=t,!Zt.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${Y(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=H(t)?null:t.stylesheets;return dr(n)||dr(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,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;H(w)||(y&&i(n).remove(mn(w)),b&&l(n,mn(w)));const v=fr(c),E=fr(d);(v||E)&&(p=u),H(p)||(h&&(i(n).add(mn(p)),m=!0),f&&(a(n,mn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const r=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return fr(n)&&(s=wn(n,r,e)),fr(o)&&k.apply(s,wn(o,r,e)),s}(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,gn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;e.refVNodes=t.hasRefs?n(null):null,e.velements=[],or=!0,s=t.call(void 0,rr,r,i,o.tplCache);const{styleVNodes:c}=o;B(c)||P.apply(s,c)}))}),(()=>{or=r,sr=o})),s}function dr(e){if(fr(e))for(let t=0;t<e.length;t++)if(V(e[t][oe]))return!0;return!1}function fr(e){return!H(e)&&!B(e)&&e.length>0}let hr=null;function pr(e){return hr===e}function mr(e,t,n){const{component:r,callHook:o,owner:s}=e;Gr(e,s,K,(()=>{o(r,t,n)}),K)}function gr(e,t,n,r){const{callHook:o,owner:s}=e;Gr(e,s,K,(()=>{o(n,t,[r])}),K)}const wr=new Map;function yr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=ir();let i,l=!1;return Gr(e,o,(()=>{lr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{lr(s)})),l?ur(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function br(e){e.isDirty=!0}const vr=new WeakMap;function Er(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=vr.get(t);return H(n)&&(n=function(n){gr(e,t,void 0,n)},vr.set(t,n)),n}const Cr=n(null),Sr=["rendered","connected","disconnected"];function kr(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 Mr=0;const xr=new WeakMap;function Tr(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Nr(e,t){return e[t]}function Or(e){const t=Lr(e);1===t.state&&_r(e),Ir(t),Fr(t)}function _r(e){Pr(Lr(e))}function Pr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Cr;t&&kr(e,t);Wr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Gr(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;H(n)||mr(e,n)}(e),Hr(e),function(e){const{aChildren:t}=e;Br(t)}(e)}}function Rr(e,t,r,o){const{mode:s,owner:i,tagName:l,hydrated:a}=o,c=hn(t),u={elm:e,def:c,idx:Mr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Fe,aChildren:Fe,velements:Fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:De,wiredConnecting:Fe,wiredDisconnecting:Fe},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Tr,setHook:Ar,getHook:Nr,renderer:r};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!H(n)){const e=function(e,t){let n=!0;const r=e=>{if(p(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};p(t)?r(t):n=!1;return n}(0,n);if(e)return Ie(n)}return null}(0,c.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(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=B(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,r),u.tro=$e(),function(e,t){const n=hr;let r;hr=e;try{const e=new t;if(hr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(hr=n,!H(r))throw Ae(e,r),r}}(u,c.ctor),Wr(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=Bt.get(s);if(!H(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Vt(e,t,i),a=i.dynamic.length>0;k.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!a?s():Promise.resolve().then(s)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function $r(e,t){xr.set(e,t)}function Lr(e){return xr.get(e)}function Dr(e){return xr.get(e)}function Fr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Gr(e,e,(()=>{}),(()=>{On(r,t,n,o)}),(()=>{}));e.state}(e,yr(e))}}function Ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Cr;n&&kr(e,n),Wr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||mr(e,r)}function Wr(e){return l(e.def.wire).length>0}function Hr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=Dr(n);H(e)||Pr(e)}}}function Br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:Br(n.children);break;case 3:Pr(Lr(n.elm));break}}}function Vr(e){jr(e.children,e),e.children=Fe,Hr(e),e.velements=Fe}function jr(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,s=e.length;o<s;o+=1){const s=e[o];B(s)||(Sn(s)?jr(s.children,t):H(s.elm)||r(s.elm,n))}}function Gr(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!H(s)){Ae(e,s);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw s;Vr(e);mr(n,n.def.errorCallback,[s,s.wcStack])}}}delete ee.$nativeGetElementById$,delete ee.$nativeQuerySelectorAll$;let Ur=!1;function Kr(e){zr(e,(e=>{s(e)}))}function zr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];p(r)?zr(r,t):t(r)}}const Yr=Symbol("namespace"),qr=Symbol("type"),Xr=Symbol("parent"),Zr=Symbol("shadow-root"),Qr=Symbol("children"),Jr=Symbol("attributes"),eo=Symbol("value"),to=Symbol("host"),no=Symbol("context-providers");var ro;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(ro||(ro={}));const oo=/\s+/g;function so(e){return new Set(e.split(oo).filter((e=>e.length)))}function io(e){return Array.from(e).join(" ")}function lo(e,t,n){const r=Dr(e);H(r)||(e=r.elm);const o=e[no];if(H(o))throw new Error("Unable to register context provider on provided `elm`.");o.set(t,n)}function ao(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function co(e,t){return{[qr]:ro.Element,tagName:e,[Yr]:null!=t?t:se,[Xr]:null,[Zr]:null,[Qr]:[],[Jr]:[],[no]:new Map}}function uo(e,t,n=null){const r=e[Jr].find((e=>e.name===t&&e[Yr]===n));return r?r.value:null}function fo(e,t,n,r=null){const o=e[Jr].find((e=>e.name===t&&e[Yr]===r));H(r)&&(r=null),H(o)?e[Jr].push({name:t,[Yr]:r,value:String(n)}):o.value=n}function ho(e,t,n){e[Jr]=e[Jr].filter((e=>e.name!==t&&e[Yr]!==n))}const po=K,mo=K,go=K,wo=ao("dispatchEvent"),yo=ao("getBoundingClientRect"),bo=ao("querySelector"),vo=ao("querySelectorAll"),Eo=ao("getElementsByTagName"),Co=ao("getElementsByClassName"),So=ao("getChildren"),ko=ao("getChildNodes"),Mo=ao("getFirstChild"),xo=ao("getFirstElementChild"),To=ao("getLastChild"),Ao=ao("getLastElementChild"),No=K,Oo=new Map;function _o(e){let t=Oo.get(e);return H(t)?(t=function(e){return function(t){const n=co(e);return G(t)&&t(n),n}}(e),Oo.set(e,t),t):t}const Po={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Xr];if(null!==r&&r!==t){const t=r[Qr].indexOf(e);r[Qr].splice(t,1)}e[Xr]=t;const o=B(n)?-1:t[Qr].indexOf(n);-1===o?t[Qr].push(e):t[Qr].splice(o,0,e)},remove:function(e,t){const n=t[Qr].indexOf(e);t[Qr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[qr]:ro.Raw,[Xr]:null,[eo]:e}},createElement:co,createText:function(e){return{[qr]:ro.Text,[eo]:String(e),[Xr]:null}},createComment:function(e){return{[qr]:ro.Comment,[eo]:e,[Xr]:null}},createCustomElement:function(e,t){return new(_o(e))(t)},nextSibling:function(e){const t=e[Xr];if(B(t))return null;const n=t[Qr].indexOf(e);return t[Qr][n+1]||null},attachShadow:function(e,t){return e[Zr]={[qr]:ro.ShadowRoot,[Qr]:[],[to]:e,mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Zr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[qr]===ro.Element){const o=be(t);if(fe(o,e.tagName))return null!==(n=uo(e,o))&&void 0!==n&&n;if(pe(o)||J(o))return uo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=uo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[qr]===ro.Element){const r=be(t);if("innerHTML"===t)return void(e[Qr]=[{[qr]:ro.Raw,[Xr]:e,[eo]:n}]);if(fe(r,e.tagName))return!0===n?fo(e,r,""):ho(e,r);if(pe(r)||J(r))return fo(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?ho(e,"value"):fo(e,"value",n)}},setText:function(e,t){e[qr]===ro.Text?e[eo]=t:e[qr]===ro.Element&&(e[Qr]=[{[qr]:ro.Text,[Xr]:e,[eo]:t}])},getAttribute:uo,setAttribute:fo,removeAttribute:ho,addEventListener:mo,removeEventListener:go,dispatchEvent:wo,getClassList:function(e){function t(){let t=e[Jr].find((e=>"class"===e.name&&B(e[Yr])));return H(t)&&(t={name:"class",[Yr]:null,value:""},e[Jr].push(t)),t}return{add(...e){const n=t(),r=so(n.value);e.forEach((e=>r.add(e))),n.value=io(r)},remove(...e){const n=t(),r=so(n.value);e.forEach((e=>r.delete(e))),n.value=io(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Jr].find((e=>"style"===e.name&&B(e[Yr]))),s=`${t}: ${n}${r?" !important":""}`;H(o)?e[Jr].push({name:"style",[Yr]:null,value:s}):o.value+=`; ${s}`},getBoundingClientRect:yo,querySelector:bo,querySelectorAll:vo,getElementsByTagName:Eo,getElementsByClassName:Co,getChildren:So,getChildNodes:ko,getFirstChild:Mo,getFirstElementChild:xo,getLastChild:To,getLastElementChild:Ao,isConnected:function(e){return!B(e[Xr])},insertStylesheet:po,assertInstanceOfHTMLElement:No,ownerDocument:ao("ownerDocument"),registerContextConsumer:function(e,t,n){let r=e;do{if(r[qr]===ro.Element){const e=r[no].get(t);if(!H(e)){e(n);break}}r=r[qr]===ro.Element?r[Xr]:r[to]}while(!B(r))}};function Ro(e){return e.map((e=>{switch(e[qr]){case ro.Text:return""===e[eo]?"‍":Ce(e[eo]);case ro.Comment:return`\x3c!--${Ce(e[eo])}--\x3e`;case ro.Raw:return e[eo];case ro.Element:return $o(e)}})).join("")}function $o(e){let t="";const n=e.tagName,r=e[Yr],o=r!==se,s=e[Qr].length>0;var i;return t+=`<${n}${e[Jr].length?` ${i=e[Jr],i.map((e=>e.value.length?`${e.name}="${Ce(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!s?(t+="/>",t):(t+=">",e[Zr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Ro(e[Qr])}</template>`}(e[Zr])),t+=Ro(e[Qr]),function(e,t){return t===se&&ce.has(e.toLowerCase())}(n,r)&&!s||(t+=`</${n}>`),t)}const Lo={[qr]:ro.Element,tagName:"fake-root-element",[Yr]:se,[Xr]:null,[Zr]:null,[Qr]:[],[Jr]:[],[no]:new Map};s(Pt),f(Pt.prototype),exports.LightningElement=Pt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){return It(e,lo)},exports.createElement=function(){throw new Error("createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.")},exports.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(s(e),H(e.stylesheets)||Kr(e.stylesheets)):function(e){o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}})}(e)},exports.getComponentDef=function(e){const t=hn(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 a={};for(const e in i)a[e]=i[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=fn,exports.parseFragment=ar,exports.parseSVGFragment=ar,exports.readonly=function(e){return Nt(e)},exports.register=function(e){for(let t=0;t<Sr.length;++t){const n=Sr[t];if(n in e){let t=Cr[n];H(t)&&(Cr[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,t){return G(e)&&wr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:s,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),h=n(null),p=n(null),m=n(null),g=n(null);let w;if(!H(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(H(w))throw new Error;w=Kt(0,w)}else w=H(w)||H(w.get)?Ut(e):Kt(0,w);f[e]=w,o(r,e,w)}if(H(l)||R.call(l,(e=>{if(w=i(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:s,dynamic:l=[]}=a[e];if(w=i(r,e),1===n){if(H(w))throw new Error;h[e]=w,jt(w,t,s,l)}else w=Yt(e),p[e]=w,Gt(w,t,s,l),o(r,e,w)}if(!H(c))for(const e in c)w=i(r,e),w=zt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!H(s)&&t in s,o=!H(c)&&t in c;n||o||(m[t]=Dt(t))}return function(e,t){qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},exports.registerStylesheet=function(e){return bn.add(e),e},exports.registerTemplate=function(e){return Zt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!U(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Po.createElement(e);Rr(r,t,Po,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Xr]=Lo,Or(r),$o(r)},exports.renderer=Po,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(Se[e])){const n=d(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=ke[e];if(!H(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}".`);o(ke,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)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Ur,"Hooks are already overridden, only one definition is allowed."),Ur=!0,n=t.sanitizeHtmlContent,nr=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
1
+ "use strict";function e(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var t=e(require("parse5"));var n=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:r,create:o,defineProperties:i,defineProperty:s,freeze:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:a,getPrototypeOf:u,hasOwnProperty:d,isFrozen:f,keys:h,seal:p,setPrototypeOf:m}=Object,{isArray:g}=Array,{concat:w,copyWithin:y,fill:b,filter:v,find:E,findIndex:C,indexOf:S,join:k,map:M,pop:x,push:T,reduce:A,reverse:N,shift:O,slice:_,some:P,sort:$,splice:R,unshift:D,forEach:L}=Array.prototype,{fromCharCode:F}=String,{charCodeAt:I,replace:W,split:H,slice:j,toLowerCase:B}=String.prototype;function V(e){return void 0===e}function G(e){return null===e}function U(e){return!0===e}function z(e){return!1===e}function K(e){return"function"==typeof e}function q(e){return"string"==typeof e}function Y(){}const X={}.toString;function Z(e){return e&&e.toString?g(e)?k.call(M.call(e,Z),","):e.toString():"object"==typeof e?X.call(e):e+""}function Q(e,t){do{const n=c(e,t);if(!V(n))return n;e=u(e)}while(null!==e)}const J=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:ee,AriaPropNameToAttrNameMap:te}=(()=>{const e=o(null),t=o(null);return L.call(J,(n=>{const r=B.call(W.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function ne(e){return e in ee}const re="object"==typeof globalThis?globalThis:window,oe="$shadowResolver$",ie="$shadowStaticNode$",se="$$lwc-synthetic-mode",le="$scoped$",ce="http://www.w3.org/1999/xhtml",ae="http://www.w3.org/XML/1998/namespace",ue="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xlink",fe=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const he=/-([a-z])/g,pe=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function me(e,t){const n=pe.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ge=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function we(e){return ge.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:ye,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:be}=(()=>{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}})(),ve=new Map,Ee=new Map;function Ce(e){const t=te[e];if(!V(t))return t;const n=be.get(e);if(!V(n))return n;const r=ve.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 ve.set(e,o),o}function Se(e){const t=ee[e];if(!V(t))return t;const n=ye.get(e);if(!V(n))return n;const r=Ee.get(e);if(!V(r))return r;const o=W.call(e,he,(e=>e[1].toUpperCase()));return Ee.set(e,o),o}const ke={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Me(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ke[e]))}const xe={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:o(null)});const Te=re.lwcRuntimeFlags;if("function"!=typeof Event){class e{}s(re,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}s(re,"CustomEvent",{value:e,configurable:!0,writable:!0})}function Ae(e,t){return V(c(t,e))}function Ne(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){G(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(te[e]);s(t,e,n)}function Oe(e){return`<${B.call(e.tagName)}>`}function _e(e,t){if(!f(t)&&V(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!G(n);)T.call(t,Oe(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Pe=new Set;function $e(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(V(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!G(e.owner);)T.call(t,n+Oe(e)),e=e.owner,n+="\t";return k.call(t,"\n")}(n)}`),r){if(Pe.has(o))return;Pe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Re(e,t){$e("error",e,t,!1)}const De=new WeakMap;const Le={observe(e){e()},reset(){},link(){}};function Fe(e){return Le}const Ie=32,We=p(o(null)),He=p([]);function je(e){const t=[];for(const n of e)g(n)?t.push(...je(n)):t.push(n);return t}function Be(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Ve(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Ge(e){return K(e)&&d.call(e,"__circular__")}const Ue="undefined"!=typeof HTMLElement?HTMLElement:function(){},ze=Ue.prototype;let Ke,qe=null;function Ye(e,t){qe=null,Ke=void 0}function Xe(e,t){qe=e,Ke=t}const Ze=o(null);function Qe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(h(te),(e=>{const t=Q(ze,e);V(t)||(Ze[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Q(ze,e);V(t)||(Ze[e]=t)}));const{isArray:Je}=Array,{prototype:et,getPrototypeOf:tt,create:nt,defineProperty:rt,isExtensible:ot,getOwnPropertyDescriptor:it,getOwnPropertyNames:st,getOwnPropertySymbols:lt,preventExtensions:ct,hasOwnProperty:at}=Object,{push:ut,concat:dt}=Array.prototype;function ft(e){return void 0===e}function ht(e){return"function"==typeof e}const pt=new WeakMap;function mt(e,t){pt.set(e,t)}const gt=e=>pt.get(e)||e;class wt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(at.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.wrapGetter(n)),ft(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=it(n,t);if(!ft(r)){const n=this.wrapDescriptor(r);rt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;dt.call(st(t),lt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ft(n)||at.call(e,n)||rt(e,n,nt(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=ft(n)||at.call(t,n)?[]:[n];return ut.apply(r,st(t)),ut.apply(r,lt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!ot(e)&&(!!ot(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=it(n,t);if(ft(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},rt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const yt=new WeakMap,bt=new WeakMap,vt=new WeakMap,Et=new WeakMap;class Ct extends wt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=yt.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return yt.set(e,r),vt.set(r,e),r}wrapSetter(e){const t=bt.get(e);if(!ft(t))return t;const n=function(t){e.call(gt(this),gt(t))};return bt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(at.call(e,"value"))e.value=gt(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.unwrapGetter(n)),ft(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=vt.get(e);if(!ft(t))return t;const n=this,r=function(){return gt(e.call(n.wrapValue(this)))};return yt.set(r,e),vt.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!ft(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return bt.set(r,e),Et.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&&Je(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(ot(e)){const{originalTarget:t}=this;if(ct(t),ot(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!at.call(r,t)||(rt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const St=new WeakMap,kt=new WeakMap;class Mt extends wt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=St.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return St.set(e,r),r}wrapSetter(e){const t=kt.get(e);if(!ft(t))return t;const n=function(e){};return kt.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 xt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Je(e))return!0;const t=tt(e);return t===et||null===t||null===tt(t)}const Tt=(e,t)=>{},At=(e,t)=>{};function Nt(e){return Je(e)?[]:{}}const Ot=Symbol.for("@@lockerLiveValue"),_t=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ht(t)?t:At,this.valueObserved=ht(n)?n:Tt,this.valueIsObservable=ht(r)?r:xt,this.tagPropertyKey=o}getProxy(e){const t=gt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=gt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return gt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ft(t)){const n=new Ct(this,e);t=new Proxy(Nt(e),n),mt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ft(t)){const n=new Mt(this,e);t=new Proxy(Nt(e),n),mt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=De.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()}}},tagPropertyKey:Ot});function Pt(e){return _t.getReadOnlyProxy(e)}function $t(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!K(n))throw new TypeError;if(!K(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=Lr(this);if(!mr(e))return n.call(e.elm)},set(t){const n=Lr(this);return Qe(n,e,t),r.call(n.elm,t)}}}const Rt=new WeakMap,Dt=function(){if(G(pr))throw new TypeError("Illegal constructor");const e=pr,{def:t,elm:n}=e,{bridge:r}=t;if(m(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 Dr(this,e),Dr(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,{[se]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Dr(s,e),s}(e):e.renderRoot=n,this};Dt.prototype={constructor:Dt,dispatchEvent(e){const t=Lr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Cr(r,t),n)},removeEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Cr(r,t),n)},hasAttribute(e){const t=Lr(this),{elm:n,renderer:{getAttribute:r}}=t;return!G(r(n,e))},hasAttributeNS(e,t){const n=Lr(this),{elm:r,renderer:{getAttribute:o}}=n;return!G(o(r,t,e))},removeAttribute(e){const t=Lr(this),{elm:n,renderer:{removeAttribute:r}}=t;Xe(n,e),r(n,e),Ye()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Lr(this);Xe(n,t),r(n,t,e),Ye()},getAttribute(e){const t=Lr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Lr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Lr(this),{elm:r,renderer:{setAttribute:o}}=n;Xe(r,e),o(r,e,t),Ye()},setAttributeNS(e,t,n){const r=Lr(this),{elm:o,renderer:{setAttribute:i}}=r;Xe(o,t),i(o,t,n,e),Ye()},getBoundingClientRect(){const e=Lr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Lr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Lr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Lr(this).shadowRoot},get refs(){const e=Lr(this);if(ir)return;const{refVNodes:t,cmpTemplate:n}=e;if(G(t))return;let r=Rt.get(t);if(V(r)){r=o(null);for(const e of h(t))r[e]=t[e].elm;l(r),Rt.set(t,r)}return r},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Lr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Lr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Lr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Lr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Lr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Lr(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=Lr(this);return e.renderer.ownerDocument(e.elm)},render(){return Lr(this).def.template},toString(){return`[object ${Lr(this).def.name}]`}};const Lt=o(null),Ft=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Ft)Lt[e]={value(t){const n=Lr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};i(Dt.prototype,Lt);const It=o(null);for(const e in Ze)It[e]=$t(e,Ze[e]);function Wt(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}i(Dt.prototype,It),function(e=Element.prototype){const t=h(te);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Ae(r,e)&&Ne(r,e)}}(Dt.prototype),s(Dt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ht=new Map;function jt(e,t){let n=Ht.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()}(),Ht.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((()=>{V(s)||s(r)})),i(r)}))}}const Bt="$$DeprecatedWiredElementHostKey$$",Vt="$$DeprecatedWiredParamsMetaKey$$",Gt=new Map;function Ut(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=V(r)?function(e,t){return n=>{Qe(e,t,n)}}(e,t):function(e,t){return n=>{Ur(e,e.owner,Y,(()=>{t.call(e.component,n)}),Y)}}(e,r),a=e=>{c(e)};let u,d;s(a,Bt,{value:e.elm}),s(a,Vt,{value:l}),Ur(e,e,Y,(()=>{d=new o(a)}),Y);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){const r=Fe();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Ur(e,e,Y,(()=>{d.update(t,u)}),Y)}));return V(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ht.get(r);if(V(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;T.call(s,(()=>{c(i,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function zt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Gt.set(e,o)}function Kt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Gt.set(e,o)}function qt(e){return{get(){const t=Lr(this);if(!mr(t))return t.cmpProps[e]},set(t){Lr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Yt(e,t){const{get:r,set:o,enumerable:i,configurable:s}=t;return n.invariant(K(r),`Invalid public accessor ${Z(e)} decorated with @api. The property is missing a getter.`),{get(){return r.call(this)},set(e){Lr(this),o&&o.call(this,e)},enumerable:i,configurable:s}}function Xt(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}function Zt(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}const Qt=new Map;const Jt={apiMethods:We,apiFields:We,apiFieldsConfig:We,wiredMethods:We,wiredFields:We,observedFields:We};const en=new Set;function tn(){return[]}en.add(tn);const nn=o(null),rn=o(null);function on(e){let t=nn[e];return V(t)&&(t=nn[e]=function(){const t=Lr(this),{getHook:n}=t;return n(t.component,e)}),t}function sn(e){let t=rn[e];return V(t)&&(t=rn[e]=function(t){const n=Lr(this),{setHook:r}=n;t=Pt(t),r(n.component,e,t)}),t}function ln(e){return function(){const t=Lr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,_.call(arguments))}}function cn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];V(i)?V(t)||t.apply(this,arguments):function(e,t){return e!==qe||t!==Ke}(this,n)&&(this[i]=o)}}function an(e,t,n){let r;K(e)?r=class extends e{}:(r=function(){throw new TypeError("Illegal constructor")},m(r,e),m(r.prototype,e.prototype),s(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));const l=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[Ce(n)]=n,u[n]={get:on(n),set:sn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:ln(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:cn(l,c)},s(r,"observedAttributes",{get:()=>[...a,...h(l)]}),i(r.prototype,u),r}const un=an(Ue,a(Ze),[]);l(un),p(un.prototype);const dn="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const fn=dn?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);T.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 fn,new fn,new fn;const hn=new WeakMap;function pn(e){const{shadowSupportMode:t,renderMode:n}=e,s=function(e){const t=Qt.get(e);return V(t)?Jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:a,wiredFields:d,wiredMethods:f,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=u(e);if(G(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Ge(t)){const e=Ve(t);t=e===t?Dt:e}return t}(e),C=E!==Dt?gn(E):wn,S=an(C.bridge,h(l),h(a)),k=r(o(null),C.props,l),M=r(o(null),C.propsConfig,c),x=r(o(null),C.methods,a),T=r(o(null),C.wire,d,f);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;V(t)||(A=t);let N=C.renderMode;V(n)||(N="light"===n?0:1);const O=function(e){var t;return null===(t=yr.get(e))||void 0===t?void 0:t.tmpl}(e)||C.template,_=e.name||C.name;i(m,p);return{ctor:e,name:_,wire:T,props:k,propsConfig:M,methods:x,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function mn(e){if(!K(e))return!1;if(e.prototype instanceof Dt)return!0;let t=e;do{if(Ge(t)){const e=Ve(t);if(e===t)return!0;t=e}if(t===Dt)return!0}while(!G(t)&&(t=u(t)));return!1}function gn(e){let t=hn.get(e);if(V(t)){if(Ge(e)){return t=gn(Ve(e)),hn.set(e,t),t}if(!mn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=pn(e),hn.set(e,t)}return t}const wn={ctor:Dt,name:Dt.name,props:It,propsConfig:We,methods:We,renderMode:1,shadowSupportMode:"reset",wire:We,bridge:un,template:tn,render:Dt.prototype.render};function yn(e){return`${e}-host`}function bn(e){return or.h("style",{key:"style",attrs:{type:"text/css"}},[or.t(e)])}function vn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(g(s))T.apply(r,vn(s,t,n));else{const e=s[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Re("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:(V(o)&&(o=En(n)),c=G(o)||0===o.shadowMode),T.call(r,s(i,l,c))}}return r}function En(e){let t=e;for(;!G(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Cn(e){const{type:t}=e;return 2===t||3===t}function Sn(e,t){return e.key===t.key&&e.sel===t.sel}function kn(e){return 5===e.type}function Mn(e){return 6===e.type}const xn=58;const Tn=58;function An(e,t){return"input"===e&&("value"===t||"checked"===t)}const Nn=o(null);function On(e){if(null==e)return We;e=q(e)?e:e+"";let t=Nn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)I.call(e,n)===Ie&&(n>r&&(t[j.call(e,r,n)]=!0),r=n+1);return n>r&&(t[j.call(e,r,n)]=!0),Nn[e]=t,t}function _n(e,t,n,r){qn(t)?Xn(e,t,n,r):Zn(e,t,n,r)}function Pn(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&&Hn(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?Zn(e.children,o,n,r):Xn(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;Vn(e,t,n),_n(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);Ln(e,n,r,!0),Rn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Vn(e,t,r),!V(o)){Un(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&qn(e.children)&&Kn(t.children)}_n(e.children,t.children,n,r),V(o)||function(e){Ir(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function $n(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);Wn(s,o,r),Bn(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);Wn(s,o,r),Bn(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);Wn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l[ie]=!0));Bn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Dn(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=U(s)?ue:void 0,a=e.elm=l(o,c);Wn(a,i,r),Gn(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),Vn(null,e,r),Bn(a,t,n,r),Dn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Rn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Rn(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=>{_r(e)},a=e=>{Pr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Fr(e);if(!V(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Rr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Wn(u,i,r),Gn(u,i,r),l&&Un(e,l),Vn(null,e,r),Bn(u,t,n,r),l&&Wr(l),Dn(e.children,u,r,null),l&&function(e){Ir(e)}(l)}function Dn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];In(i)&&$n(i,t,n,r)}}function Ln(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Fn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Fn(e.children,i,n,t);break}case 3:{const{vm:t}=e;V(t)||function(e){$r(e)}(t)}}}function Fn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];In(i)&&Ln(i,t,n,r)}}function In(e){return null!=e}function Wn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e[oe]=r[oe]))}function Hn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function jn(e,t,n,r){if(kn(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const i=o[e];G(i)||r.insert(i.elm,t,n)}}else r.insert(e.elm,t,n)}function Bn(e,t,n,r){r.insert(e,t,n)}function Vn(e,t,n){G(e)&&(function(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])}(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(V(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(V(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=G(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=On(o),a=On(i);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((G(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;q(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(V(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,c=G(e)?We:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(Se(e)in o?l(o,e,t):I.call(e,3)===Tn?s(o,e,t,ae):I.call(e,5)===Tn?s(o,e,t,de):G(t)||V(t)?i(o,e):s(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(V(r))return;const o=G(e)?We: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&&(Xe(i,e),I.call(e,3)===xn?s(i,e,t,ae):I.call(e,5)===xn?s(i,e,t,de):G(t)||V(t)?l(i,e):s(i,e,t),Ye())}}(e,t,n),function(e,t,n){let{props:o}=t.data;const{spread:i}=t.data;if(V(o)&&V(i))return;let s;if(!G(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;V(s)&&(s=We),V(t)||(s=r({},s,t))}V(i)||(o=r({},o,i));const l=G(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=n;for(const e in o){const t=o[e];!l&&t===(An(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}(e,t,n)}function Gn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!G(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||V(o)||(e.$shadowToken$=o)}function Un(e,t){const n=e.aChildren||e.children,{renderMode:r,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];T.call(n,r),o=o||!(!r||!kn(r))}if(!o)return e;for(;!V(r=x.call(n));)if(!G(r)&&kn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return Kn(t),t}(n);e.children=s,t.aChildren=s,1!==i&&0!==r||(!function(e,t,n){var r,i;const{cmpSlots:{slotAssignments:s}}=e,l=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(G(n))continue;let o="";Cn(n)?o=null!==(i=null===(r=n.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==i?i:"":Mn(n)&&(o=n.slotName);const s=""+o,c=l[s]=l[s]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},z(e.isDirty)){const t=h(s);if(t.length!==h(l).length)return void vr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(V(l[r])||s[r].length!==l[r].length)return void vr(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 vr(e)}}}(t,s,e.owner),e.aChildren=s,e.children=He)}const zn=new WeakMap;function Kn(e){zn.set(e,1)}function qn(e){return zn.has(e)}function Yn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(In(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Xn(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(In(l))if(In(c))if(In(m))if(In(g))if(Sn(l,m))Pn(l,m,n,r),l=e[++o],m=t[++i];else if(Sn(c,g))Pn(c,g,n,r),c=e[--s],g=t[--p];else if(Sn(l,g)){let i;Pn(l,g,n,r),i=kn(c)?r.nextSibling(c.trailing.elm):r.nextSibling(c.elm),jn(l,n,i,r),l=e[++o],g=t[--p]}else Sn(c,m)?(Pn(c,m,n,r),jn(m,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Yn(e,o,s)),d=u[m.key],V(d)?($n(m,n,r,l.elm),m=t[++i]):(f=e[d],In(f)&&(f.sel!==m.sel?$n(m,n,r,l.elm):(Pn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,jn(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(!In(e)&&o<a);h=In(e)?e.elm:null,Dn(t,n,r,h,i,p+1)}else Fn(e,n,r,!0,o,s+1)}function Zn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Dn(t,n,r,null);if(0===i)return void Fn(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&&(In(i)?In(l)?Sn(i,l)?(Pn(i,l,n,r),s=l.elm):(Ln(i,n,r,!0),$n(l,n,r,s),s=l.elm):Ln(i,n,r,!0):In(l)&&($n(l,n,r,s),s=l.elm))}}const Qn=Symbol.iterator;function Jn(e,t,n=He){const r=lr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return V(i)||Be(r,i,s),s}function er(e,t,n,r=He){const o=lr(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(lr().velements,e)}(l),V(s)||Be(o,s,l),l}function tr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:lr()}}function nr(e){return Kn(e),e}let rr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const or=l({s:function(e,t,n,r){if(!V(r)&&!V(r.slotAssignments)&&!V(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(!G(n)){const e=Mn(n);if(e!==!V(t.slotData))continue;if(e){const e=lr();cr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{cr(e)}}else T.call(o,n)}}n=o}const o=lr(),{renderMode:i,shadowMode:s}=o;return 0===i?(nr(n),n):(1===s&&nr(n),Jn("slot",t,n))},h:Jn,c:er,i:function(e,t){const n=[];if(nr(n),V(e)||null===e)return n;const r=e[Qn]();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);g(e)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];nr(n);for(let r=0;r<t;r+=1){const t=e[r];g(t)?T.apply(n,t):T.call(n,t)}return n},t:tr,d:function(e){return null==e?"":String(e)},b:function(e){const t=lr();if(G(t))throw new Error;const n=t;return function(t){wr(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:lr()}},dc:function(e,t,n=He){if(G(e)||V(e))return null;if(!mn(e))throw new Error(`Invalid constructor ${Z(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 ${Z(e)} does not have a registered name`);return er(r,e,t,n)},fr:function(e,t,n){const r=tr(""),o=tr("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:lr(),leading:r,trailing:o}},ti:function(e){return e>0&&!(U(e)||z(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:lr()}},gid:function(e){const t=lr();if(V(e)||""===e)return e;if(G(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=lr();if(V(e)||""===e)return e;if(G(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return rr(e)},ssf:function(e,t){return{type:6,factory:t,owner:lr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=He){if(G(t)||V(t))return null;if(!mn(t))throw new Error(`Invalid LWC Constructor ${Z(t)} for custom element <${e}>.`);return er(e,t,n,r)}});let ir=!1,sr=null;function lr(){return sr}function cr(e){sr=e}const ar=(ur=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const n=o(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:o},shadowMode:i,renderer:s}=lr(),l=!V(o),c=1===i;let a=0;if(l&&r&&(a|=1),l&&c&&(a|=2),!V(n[a]))return n[a];const u=r&&l?" "+o:"",d=r&&l?` class="${o}"`:"",f=l&&c?" "+o:"";let h="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:h+=e[n]+u;break;case 1:h+=e[n]+d;break;case 2:h+=e[n]+f;break;case 3:h+=e[n]+d+f}return h+=e[e.length-1],n[a]=ur(h,s),n[a]}});var ur;function dr(e,t){const n=ir,r=sr;let i=[];return Ur(e,e.owner,(()=>{sr=e}),(()=>{const{component:n,context:r,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(G(l)||Vr(e),c=t,!en.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: ${Z(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=V(t)?null:t.stylesheets;return fr(n)||fr(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===i,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;V(w)||(y&&s(n).remove(yn(w)),b&&l(n,yn(w)));const v=hr(a),E=hr(d);(v||E)&&(p=u),V(p)||(h&&(s(n).add(yn(p)),m=!0),f&&(c(n,yn(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 hr(n)&&(i=vn(n,r,e)),hr(o)&&T.apply(i,vn(o,r,e)),i}(e,t);r.styleVNodes=0===n.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return M.call(t,bn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,n)}var c;e.refVNodes=t.hasRefs?o(null):null,e.velements=[],ir=!0,i=t.call(void 0,or,n,s,r.tplCache);const{styleVNodes:a}=r;G(a)||D.apply(i,a)}))}),(()=>{ir=n,sr=r})),i}function fr(e){if(hr(e))for(let t=0;t<e.length;t++)if(U(e[t][le]))return!0;return!1}function hr(e){return!V(e)&&!G(e)&&e.length>0}let pr=null;function mr(e){return pr===e}function gr(e,t,n){const{component:r,callHook:o,owner:i}=e;Ur(e,i,Y,(()=>{o(r,t,n)}),Y)}function wr(e,t,n,r){const{callHook:o,owner:i}=e;Ur(e,i,Y,(()=>{o(n,t,[r])}),Y)}const yr=new Map;function br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=lr();let s,l=!1;return Ur(e,o,(()=>{cr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{cr(i)})),l?dr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function vr(e){e.isDirty=!0}const Er=new WeakMap;function Cr(e,t){if(!K(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Er.get(t);return V(n)&&(n=function(n){wr(e,t,void 0,n)},Er.set(t,n)),n}const Sr=o(null),kr=["rendered","connected","disconnected"];function Mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let xr=0;const Tr=new WeakMap;function Ar(e,t,n=[]){return t.apply(e,n)}function Nr(e,t,n){e[t]=n}function Or(e,t){return e[t]}function _r(e){const t=Lr(e);1===t.state&&Pr(e),Wr(t),Ir(t)}function Pr(e){$r(Lr(e))}function $r(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){z(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Sr;t&&Mr(e,t);Hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ur(e,e,Y,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),Y)}(e);const{disconnectedCallback:n}=e.def;V(n)||gr(e,n)}(e),jr(e),function(e){const{aChildren:t}=e;Br(t)}(e)}}function Rr(e,t,n,r){const{mode:i,owner:s,tagName:l,hydrated:c}=r,a=gn(t),u={elm:e,def:a,idx:xr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,children:He,aChildren:He,velements:He,cmpProps:o(null),cmpFields:o(null),cmpSlots:{slotAssignments:o(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:We,wiredConnecting:He,wiredDisconnecting:He},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Ar,setHook:Nr,getHook:Or,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(g(e))for(let t=0;t<e.length;t++)r(e[t]);else K(e)||(n=!1)};g(t)?r(t):n=!1;return n}(0,n);if(e)return je(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(;!G(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=G(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=Fe(),function(e,t){const n=pr;let r;pr=e;try{const e=new t;if(pr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(pr=n,!V(r))throw _e(e,r),r}}(u,a.ctor),Hr(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=Gt.get(i);if(!V(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Ut(e,t,s),c=s.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Dr(e,t){Tr.set(e,t)}function Lr(e){return Tr.get(e)}function Fr(e){return Tr.get(e)}function Ir(e){if(U(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Ur(e,e,(()=>{}),(()=>{_n(r,t,n,o)}),(()=>{}));e.state}(e,br(e))}}function Wr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Sr;n&&Mr(e,n),Hr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;V(r)||gr(e,r)}function Hr(e){return a(e.def.wire).length>0}function jr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!V(n)){const e=Fr(n);V(e)||$r(e)}}}function Br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!G(n)&&!V(n.elm))switch(n.type){case 2:Br(n.children);break;case 3:$r(Lr(n.elm));break}}}function Vr(e){Gr(e.children,e),e.children=He,jr(e),e.velements=He}function Gr(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,i=e.length;o<i;o+=1){const i=e[o];G(i)||(kn(i)?Gr(i.children,t):V(i.elm)||r(i.elm,n))}}function Ur(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!V(i)){_e(e,i);const n=G(t)?void 0:function(e){let t=e;for(;!G(t);){if(!V(t.def.errorCallback))return t;t=t.owner}}(t);if(V(n))throw i;Vr(e);gr(n,n.def.errorCallback,[i,i.wcStack])}}}delete re.$nativeGetElementById$,delete re.$nativeQuerySelectorAll$;let zr=!1;function Kr(e){qr(e,(e=>{l(e)}))}function qr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];g(r)?qr(r,t):t(r)}}const Yr=Symbol("namespace"),Xr=Symbol("type"),Zr=Symbol("parent"),Qr=Symbol("shadow-root"),Jr=Symbol("children"),eo=Symbol("attributes"),to=Symbol("value"),no=Symbol("host"),ro=Symbol("context-providers");var oo;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(oo||(oo={}));const io=/\s+/g;function so(e){return new Set(e.split(io).filter((e=>e.length)))}function lo(e){return Array.from(e).join(" ")}function co(e,t,n){const r=Fr(e);V(r)||(e=r.elm);const o=e[ro];if(V(o))throw new Error("Unable to register context provider on provided `elm`.");o.set(t,n)}function ao(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function uo(e,t){return{[Xr]:oo.Element,tagName:e,[Yr]:null!=t?t:ce,[Zr]:null,[Qr]:null,[Jr]:[],[eo]:[],[ro]:new Map}}function fo(e,t,n=null){const r=e[eo].find((e=>e.name===t&&e[Yr]===n));return r?r.value:null}function ho(e,t,n,r=null){const o=e[eo].find((e=>e.name===t&&e[Yr]===r));V(r)&&(r=null),V(o)?e[eo].push({name:t,[Yr]:r,value:String(n)}):o.value=n}function po(e,t,n){e[eo]=e[eo].filter((e=>e.name!==t&&e[Yr]!==n))}const mo=Y,go=Y,wo=Y,yo=ao("dispatchEvent"),bo=ao("getBoundingClientRect"),vo=ao("querySelector"),Eo=ao("querySelectorAll"),Co=ao("getElementsByTagName"),So=ao("getElementsByClassName"),ko=ao("getChildren"),Mo=ao("getChildNodes"),xo=ao("getFirstChild"),To=ao("getFirstElementChild"),Ao=ao("getLastChild"),No=ao("getLastElementChild"),Oo=Y,_o=new Map;function Po(e){let t=_o.get(e);return V(t)?(t=function(e){return function(t){const n=uo(e);return K(t)&&t(n),n}}(e),_o.set(e,t),t):t}const $o={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Zr];if(null!==r&&r!==t){const t=r[Jr].indexOf(e);r[Jr].splice(t,1)}e[Zr]=t;const o=G(n)?-1:t[Jr].indexOf(n);-1===o?t[Jr].push(e):t[Jr].splice(o,0,e)},remove:function(e,t){const n=t[Jr].indexOf(e);t[Jr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[Xr]:oo.Raw,[Zr]:null,[to]:e}},createElement:uo,createText:function(e){return{[Xr]:oo.Text,[to]:String(e),[Zr]:null}},createComment:function(e){return{[Xr]:oo.Comment,[to]:e,[Zr]:null}},createCustomElement:function(e,t){return new(Po(e))(t)},nextSibling:function(e){const t=e[Zr];if(G(t))return null;const n=t[Jr].indexOf(e);return t[Jr][n+1]||null},attachShadow:function(e,t){return e[Qr]={[Xr]:oo.ShadowRoot,[Jr]:[],[no]:e,mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Qr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Xr]===oo.Element){const o=Ce(t);if(me(o,e.tagName))return null!==(n=fo(e,o))&&void 0!==n&&n;if(we(o)||ne(o))return fo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=fo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Xr]===oo.Element){const r=Ce(t);if("innerHTML"===t)return void(e[Jr]=[{[Xr]:oo.Raw,[Zr]:e,[to]:n}]);if(me(r,e.tagName))return!0===n?ho(e,r,""):po(e,r);if(we(r)||ne(r))return ho(e,r,n);if("input"===e.tagName&&"value"===r)return G(n)||V(n)?po(e,"value"):ho(e,"value",n)}},setText:function(e,t){e[Xr]===oo.Text?e[to]=t:e[Xr]===oo.Element&&(e[Jr]=[{[Xr]:oo.Text,[Zr]:e,[to]:t}])},getAttribute:fo,setAttribute:ho,removeAttribute:po,addEventListener:go,removeEventListener:wo,dispatchEvent:yo,getClassList:function(e){function t(){let t=e[eo].find((e=>"class"===e.name&&G(e[Yr])));return V(t)&&(t={name:"class",[Yr]:null,value:""},e[eo].push(t)),t}return{add(...e){const n=t(),r=so(n.value);e.forEach((e=>r.add(e))),n.value=lo(r)},remove(...e){const n=t(),r=so(n.value);e.forEach((e=>r.delete(e))),n.value=lo(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[eo].find((e=>"style"===e.name&&G(e[Yr]))),i=`${t}: ${n}${r?" !important":""}`;V(o)?e[eo].push({name:"style",[Yr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:bo,querySelector:vo,querySelectorAll:Eo,getElementsByTagName:Co,getElementsByClassName:So,getChildren:ko,getChildNodes:Mo,getFirstChild:xo,getFirstElementChild:To,getLastChild:Ao,getLastElementChild:No,isConnected:function(e){return!G(e[Zr])},insertStylesheet:mo,assertInstanceOfHTMLElement:Oo,ownerDocument:ao("ownerDocument"),registerContextConsumer:function(e,t,n){let r=e;do{if(r[Xr]===oo.Element){const e=r[ro].get(t);if(!V(e)){e(n);break}}r=r[Xr]===oo.Element?r[Zr]:r[no]}while(!G(r))}};function Ro(e,n){return e.map((e=>{switch(e[Xr]){case oo.Text:return function(e,n){if(""===e)return"‍";if("style"===n)return function(e){if(!function(e){if(1!==e.childNodes.length)return!1;const t=e.childNodes[0];return"style"===t.nodeName&&1===t.childNodes.length&&"#text"===t.childNodes[0].nodeName}(t.parseFragment(`<style>${e}</style>`)))throw new Error("CSS contains unsafe characters and cannot be serialized inside a style element")}(e),e;return Me(e)}(e[to],n);case oo.Comment:return`\x3c!--${Me(e[to])}--\x3e`;case oo.Raw:return e[to];case oo.Element:return Do(e)}})).join("")}function Do(e){let t="";const n=e.tagName,r=e[Yr],o=r!==ce,i=e[Jr].length>0;var s;return t+=`<${n}${e[eo].length?` ${s=e[eo],s.map((e=>e.value.length?`${e.name}="${Me(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Qr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Ro(e[Jr])}</template>`}(e[Qr])),t+=Ro(e[Jr],n),function(e,t){return t===ce&&fe.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const Lo={[Xr]:oo.Element,tagName:"fake-root-element",[Yr]:ce,[Zr]:null,[Qr]:null,[Jr]:[],[eo]:[],[ro]:new Map};l(Dt),p(Dt.prototype),exports.LightningElement=Dt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){return jt(e,co)},exports.createElement=function(){throw new Error("createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.")},exports.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(l(e),V(e.stylesheets)||Kr(e.stylesheets)):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)},exports.getComponentDef=function(e){const t=gn(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}},exports.isComponentConstructor=mn,exports.parseFragment=ar,exports.parseSVGFragment=ar,exports.readonly=function(e){return Pt(e)},exports.register=function(e){for(let t=0;t<kr.length;++t){const n=kr[t];if(n in e){let t=Sr[n];V(t)&&(Sr[n]=t=[]),T.call(t,e[n])}}},exports.registerComponent=function(e,t){return K(e)&&yr.set(e,t),e},exports.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:i,wire:l,track:a,fields:u}=t,d=o(null),f=o(null),h=o(null),p=o(null),m=o(null),g=o(null);let w;if(!V(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=c(n,e),t.config>0){if(V(w))throw new Error;w=Yt(e,w)}else w=V(w)||V(w.get)?qt(e):Yt(e,w);f[e]=w,s(n,e,w)}if(V(i)||L.call(i,(e=>{if(w=c(n,e),V(w))throw new Error;d[e]=w})),!V(l))for(const e in l){const{adapter:t,method:r,config:o,dynamic:i=[]}=l[e];if(w=c(n,e),1===r){if(V(w))throw new Error;h[e]=w,zt(w,t,o,i)}else w=Zt(e),p[e]=w,Kt(w,t,o,i),s(n,e,w)}if(!V(a))for(const e in a)w=c(n,e),w=Xt(e),s(n,e,w);if(!V(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=c(n,t);const o=!V(r)&&t in r,i=!V(a)&&t in a;o||i||(m[t]=Wt(t))}return function(e,t){Qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},exports.registerTemplate=function(e){return en.add(e),e},exports.renderComponent=function(e,t,n={}){if(!q(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!K(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||G(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=$o.createElement(e);Rr(r,t,$o,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Zr]=Lo,_r(r),Do(r)},exports.renderer=$o,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(V(xe[e])){const n=h(xe).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=Te[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(Te,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)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(e){var t;n.isFalse(zr,"Hooks are already overridden, only one definition is allowed."),zr=!0,t=e.sanitizeHtmlContent,rr=t},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
2
2
  //# sourceMappingURL=engine-server.min.js.map