lwc 2.27.0 → 2.28.1

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 (37) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +135 -49
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +135 -49
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +114 -43
  5. package/dist/engine-dom/iife/es5/engine-dom.js +176 -63
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +152 -57
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +135 -49
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +114 -43
  11. package/dist/engine-dom/umd/es5/engine-dom.js +176 -63
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +152 -57
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +93 -39
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +93 -39
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +4 -4
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4 -4
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4 -4
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
  26. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  28. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  29. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  31. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  35. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  36. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  37. package/package.json +7 -7
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:x,slice:A,sort:N,splice:O,unshift:_,forEach:L}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:P,replace:D,slice:R,toLowerCase:I}=String.prototype;function F(e){return void 0===e}function H(e){return null===e}function B(e){return!0===e}function V(e){return!1===e}function j(e){return"function"==typeof e}function W(e){return"string"==typeof e}function G(){}const U={}.toString;function K(e){return e&&e.toString?h(e)?E.call(C.call(e,K),","):e.toString():"object"==typeof e?U.call(e):e+""}function z(e,t){do{const n=s(e,t);if(!F(n))return n;e=a(e)}while(null!==e)}const q=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Y,AriaPropNameToAttrNameMap:X}=(()=>{const e=n(null),t=n(null);return L.call(q,(n=>{const r=I.call(D.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function J(e){return e in Y}const Q=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Z="http://www.w3.org/1999/xhtml",ee=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const te=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 ne(e,t){const n=te.get(e);return void 0!==n&&(0===n.size||n.has(t))}const re=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 oe(e){return re.has(e)}const ie=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"]]),se=new Map;function le(e){const t=X[e];if(!F(t))return t;const n=ie.get(e);if(!F(n))return n;const r=se.get(e);if(!F(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=P.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return se.set(e,o),o}const ae={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function ce(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ae[e]))}if("function"!=typeof Event){class e{}o(Q,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Q,"CustomEvent",{value:e,configurable:!0,writable:!0})}const ue={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:n(null)});const de=Q.lwcRuntimeFlags;const fe=f(n(null)),pe=f([]);function he(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const me=new WeakMap;const ge={observe(e){e()},reset(){},link(){}};function we(e){return ge}function ye(e){return`<${I.call(e.tagName)}>`}function be(e,t){if(!u(t)&&F(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!H(n);)k.call(t,ye(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function ve(e,t,n){let r=`[LWC ${e}]: ${t}`;F(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!H(e.owner);)k.call(t,n+ye(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ee(e,t){ve("error",e,t)}function Ce(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Se(e){return j(e)&&c.call(e,"__circular__")}const ke="undefined"!=typeof HTMLElement?HTMLElement:function(){},Te=ke.prototype;function Me(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Me("offsetHeight")},offsetLeft:{readOnly:!0,error:Me("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Me("offsetTop")},offsetWidth:{readOnly:!0,error:Me("offsetWidth")},role:{attribute:"role"}});let xe,Ae=null;function Ne(e,t){return e!==Ae||t!==xe}function Oe(e,t){Ae=null,xe=void 0}function _e(e,t){Ae=e,xe=t}const Le=n(null);function $e(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(X),(e=>{const t=z(Te,e);F(t)||(Le[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(Te,e);F(t)||(Le[e]=t)}));const{isArray:Pe}=Array,{prototype:De,getPrototypeOf:Re,create:Ie,defineProperty:Fe,isExtensible:He,getOwnPropertyDescriptor:Be,getOwnPropertyNames:Ve,getOwnPropertySymbols:je,preventExtensions:We,hasOwnProperty:Ge}=Object,{push:Ue,concat:Ke}=Array.prototype;function ze(e){return void 0===e}function qe(e){return"function"==typeof e}const Ye=new WeakMap;function Xe(e,t){Ye.set(e,t)}const Je=e=>Ye.get(e)||e;class Qe{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ge.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ze(n)||(e.get=this.wrapGetter(n)),ze(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Be(n,t);if(!ze(r)){const n=this.wrapDescriptor(r);Fe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ke.call(Ve(t),je(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ze(n)||Ge.call(e,n)||Fe(e,n,Ie(null)),We(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=ze(n)||Ge.call(t,n)?[]:[n];return Ue.apply(r,Ve(t)),Ue.apply(r,je(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!He(e)&&(!!He(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Re(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Be(n,t);if(ze(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Fe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ze=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakMap;class rt extends Qe{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ze.get(e);if(!ze(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Je(this)))};return Ze.set(e,r),tt.set(r,e),r}wrapSetter(e){const t=et.get(e);if(!ze(t))return t;const n=function(t){e.call(Je(this),Je(t))};return et.set(e,n),nt.set(n,e),n}unwrapDescriptor(e){if(Ge.call(e,"value"))e.value=Je(e.value);else{const{set:t,get:n}=e;ze(n)||(e.get=this.unwrapGetter(n)),ze(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=tt.get(e);if(!ze(t))return t;const n=this,r=function(){return Je(e.call(n.wrapValue(this)))};return Ze.set(r,e),tt.set(e,r),r}unwrapSetter(e){const t=nt.get(e);if(!ze(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return et.set(r,e),nt.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&&Pe(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(He(e)){const{originalTarget:t}=this;if(We(t),He(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ge.call(r,t)||(Fe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const ot=new WeakMap,it=new WeakMap;class st extends Qe{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=ot.get(e);if(!ze(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Je(this)))};return ot.set(e,r),r}wrapSetter(e){const t=it.get(e);if(!ze(t))return t;const n=function(e){};return it.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function lt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Pe(e))return!0;const t=Re(e);return t===De||null===t||null===Re(t)}const at=(e,t)=>{},ct=(e,t)=>{};function ut(e){return Pe(e)?[]:{}}const dt=Symbol.for("@@lockerLiveValue"),ft=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=qe(t)?t:ct,this.valueObserved=qe(n)?n:at,this.valueIsObservable=qe(r)?r:lt,this.tagPropertyKey=o}getProxy(e){const t=Je(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Je(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Je(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ze(t)){const n=new rt(this,e);t=new Proxy(ut(e),n),Xe(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ze(t)){const n=new st(this,e);t=new Proxy(ut(e),n),Xe(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=me.get(e);if(!F(n)){const e=n[t];if(!F(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:dt});function pt(e){return ft.getReadOnlyProxy(e)}function ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!j(n))throw new TypeError;if(!j(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=rr(this);if(!Rn(e))return n.call(e.elm)},set(t){const n=rr(this);return $e(n,e,t),r.call(n.elm,t)}}}const mt=i(n(null)),gt=new WeakMap,wt=function(){if(H(Dn))throw new TypeError("Illegal constructor");const e=Dn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return nr(o,e),nr(n,e),1===e.renderMode?e.renderRoot=yt(e):e.renderRoot=n,this};function yt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,nr(s,e),s}wt.prototype={constructor:wt,dispatchEvent(e){const t=rr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=rr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Wn(r,t),n)},removeEventListener(e,t,n){const r=rr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Wn(r,t),n)},hasAttribute(e){const t=rr(this),{elm:n,renderer:{getAttribute:r}}=t;return!H(r(n,e))},hasAttributeNS(e,t){const n=rr(this),{elm:r,renderer:{getAttribute:o}}=n;return!H(o(r,t,e))},removeAttribute(e){const t=rr(this),{elm:n,renderer:{removeAttribute:r}}=t;_e(n,e),r(n,e),Oe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=rr(this);_e(n,t),r(n,t,e),Oe()},getAttribute(e){const t=rr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=rr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=rr(this),{elm:r,renderer:{setAttribute:o}}=n;_e(r,e),o(r,e,t),Oe()},setAttributeNS(e,t,n){const r=rr(this),{elm:o,renderer:{setAttribute:i}}=r;_e(o,t),i(o,t,n,e),Oe()},getBoundingClientRect(){const e=rr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=rr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=rr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return rr(this).shadowRoot},get refs(){const e=rr(this);if(An)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(H(t))return mt;let s=gt.get(t);if(F(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),gt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=rr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=rr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=rr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=rr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=rr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=rr(this);return e.renderer.getLastElementChild(e.elm)},render(){return rr(this).def.template},toString(){return`[object ${rr(this).def.name}]`}};const bt=n(null),vt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of vt)bt[e]={value(t){const n=rr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(wt.prototype,bt);const Et=n(null);for(const e in Le)Et[e]=ht(e,Le[e]);function Ct(e){return{get(){return rr(this).cmpFields[e]},set(t){$e(rr(this),e,t)},enumerable:!0,configurable:!0}}r(wt.prototype,Et),o(wt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const St={observe(e){e()},reset(){},link(){}};function kt(e){return{get(){const t=rr(this);if(!Rn(t))return t.cmpProps[e]},set(t){rr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Tt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!j(n))throw new Error;return{get(){return n.call(this)},set(t){const n=rr(this);if(r)if(de.ENABLE_REACTIVE_SETTER){let o=n.oar[e];F(o)&&(o=n.oar[e]=St),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Mt(e){return{get(){return rr(this).cmpFields[e]},set(t){$e(rr(this),e,t)},enumerable:!0,configurable:!0}}function xt(e){return{get(){return rr(this).cmpFields[e]},set(t){$e(rr(this),e,t)},enumerable:!0,configurable:!0}}const At=new Map;const Nt={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const Ot=new Set;function _t(){return[]}Ot.add(_t);const Lt=n(null),$t=n(null);function Pt(e){let t=Lt[e];return F(t)&&(t=Lt[e]=function(){const t=rr(this),{getHook:n}=t;return n(t.component,e)}),t}function Dt(e){let t=$t[e];return F(t)&&(t=$t[e]=function(t){const n=rr(this),{setHook:r}=n;t=pt(t),r(n.component,e,t)}),t}function Rt(e){return function(){const t=rr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function It(e,t){return function(n,r,o){if(r===o)return;const i=e[n];F(i)?F(t)||t.apply(this,arguments):Ne(this,n)&&(this[i]=o)}}function Ft(e,t,i){let s;j(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));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[le(n)]=n,u[n]={get:Pt(n),set:Dt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Rt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:It(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Ht=Ft(ke,l(Le),[]);i(Ht),f(Ht.prototype);const Bt=new WeakMap;function Vt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=At.get(e);return F(t)?Nt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(H(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Se(t)){const e=Ce(t);t=e===t?wt:e}return t}(e),C=E!==wt?Wt(E):Gt,S=Ft(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;F(o)||(A=o);let N=C.renderMode;F(i)||(N="light"===i?0:1);const O=function(e){return Hn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function jt(e){if(!j(e))return!1;if(e.prototype instanceof wt)return!0;let t=e;do{if(Se(t)){const e=Ce(t);if(e===t)return!0;t=e}if(t===wt)return!0}while(!H(t)&&(t=a(t)));return!1}function Wt(e){let t=Bt.get(e);if(F(t)){if(Se(e)){return t=Wt(Ce(e)),Bt.set(e,t),t}if(!jt(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=Vt(e),Bt.set(e,t)}return t}const Gt={ctor:wt,name:wt.name,props:Et,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Ht,template:_t,render:wt.prototype.render};function Ut(e){return`${e}-host`}function Kt(e){return xn.h("style",{key:"style",attrs:{type:"text/css"}},[xn.t(e)])}function zt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,zt(s,t,n));else{const e=s.$scoped$;if(de.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Ee("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 a;1===n.renderMode?a=0===n.shadowMode:(F(o)&&(o=Yt(n)),a=H(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function qt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return F(n)||0===n.length||(o=zt(n,r,e)),o}function Yt(e){let t=e;for(;!H(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Xt(e){const{type:t}=e;return 2===t||3===t}function Jt(e,t){return e.key===t.key&&e.sel===t.sel}function Qt(e){return 6===e.type}function Zt(e,t){return"input"===e&&("value"===t||"checked"===t)}const en=n(null);function tn(e){if(null==e)return fe;e=W(e)?e:e+"";let t=en[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===P.call(e,r)&&(r>o&&(t[R.call(e,o,r)]=!0),o=r+1);return r>o&&(t[R.call(e,o,r)]=!0),en[e]=t,t}function nn(e,t,n,r){var o;o=t,wn.has(o)?bn(e,t,n,r):vn(e,t,n,r)}function rn(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&&fn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?vn(e.children,o,n,r):bn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;hn(e,t,n),nn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);an(e,n,r,!0),sn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;hn(e,t,r),F(o)||gn(t,o),nn(e.children,t.children,n,r),F(o)||function(e){ir(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function on(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);dn(s,o,r),pn(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);dn(s,o,r),pn(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);dn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));pn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;ln(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=B(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);dn(c,i,r),mn(c,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)}(c,e),hn(null,e,r),pn(c,t,n,r),ln(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:sn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function sn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o,(t=>{l=function(e,t,n){let r=or(e);if(!F(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=tr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Qn(e)}),(e=>{de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Zn(e)}));e.elm=a,e.vm=l,dn(a,i,r),mn(a,i,r),l&&gn(e,l),hn(null,e,r),pn(a,t,n,r),l&&sr(l),ln(e.children,a,r,null),l&&function(e){ir(e)}(l)}function ln(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];un(i)&&on(i,t,n,r)}}function an(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?cn(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;cn(e.children,i,n,t);break}case 3:{const{vm:t}=e;F(t)||function(e){er(e)}(t)}}}function cn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];un(i)&&an(i,t,n,r)}}function un(e){return null!=e}function dn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function fn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function pn(e,t,n,r){r.insert(e,t,n)}function hn(e,n,r){H(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(F(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(F(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(F(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)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=H(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=tn(o),c=tn(i);let u;for(u in c)F(a[u])&&l.remove(u);for(u in a)F(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((H(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;W(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(F(r))return;const o=H(e)?fe: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&&(_e(i,e),58===P.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===P.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):H(t)||F(t)?l(i,e):s(i,e,t),Oe())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(F(o)&&F(i))return;let s;if(!H(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;F(s)&&(s=fe),F(n)||(s=t({},s,n))}F(i)||(o=t({},o,i));const l=H(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Zt(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function mn(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(!H(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||F(o)||(e.$shadowToken$=o)}function gn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=n(null);e.cmpSlots={owner:r,slotAssignments:l};for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(H(n))continue;let r="";Xt(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":Qt(n)&&(r=n.slotName);const s=l[r]=l[r]||[];k.call(s,n)}if(V(e.isDirty)){const t=d(s);if(t.length!==d(l).length)return void Vn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(F(l[r])||s[r].length!==l[r].length)return void Vn(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 Vn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=pe)}const wn=new WeakMap;function yn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(un(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function bn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)un(l)?un(a)?un(m)?un(g)?Jt(l,m)?(rn(l,m,n,r),l=e[++o],m=t[++i]):Jt(a,g)?(rn(a,g,n,r),a=e[--s],g=t[--h]):Jt(l,g)?(rn(l,g,n,r),pn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Jt(a,m)?(rn(a,m,n,r),pn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=yn(e,o,s)),d=u[m.key],F(d)?(on(m,n,r,l.elm),m=t[++i]):(f=e[d],un(f)&&(f.sel!==m.sel?on(m,n,r,l.elm):(rn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,pn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!un(e)&&o<c);p=un(e)?e.elm:null,ln(t,n,r,p,i,h+1)}else cn(e,n,r,!0,o,s+1)}function vn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void ln(t,n,r,null);if(0===i)return void cn(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&&(un(i)?un(l)?(rn(i,l,n,r),s=l.elm):an(i,n,r,!0):un(l)&&(on(l,n,r,s),s=l.elm))}}const En=Symbol.iterator;function Cn(e,t,n=pe){const r=On(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return F(i)||he(r,i,s),s}function Sn(e,t,n,r=pe){const o=On(),{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){k.call(On().velements,e)}(l),F(s)||he(o,s,l),l}function kn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:On()}}function Tn(e){var t;return t=e,wn.set(t,1),e}let Mn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const xn=i({s:function(e,t,n,r){F(r)||F(r.slotAssignments)||F(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n&&Qt(n)){const o=On();let i=[];_n(r.owner);try{i=n.factory(t.slotData)}finally{_n(o)}return m.call(e,i)}return m.call(e,n)}),[]));const o=On(),{renderMode:i,shadowMode:s}=o;return 0===i?(Tn(n),n):(1===s&&Tn(n),Cn("slot",t,n))},h:Cn,c:Sn,i:function(e,t){const n=[];if(Tn(n),F(e)||null===e)return n;const r=e[En]();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);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Tn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:kn,d:function(e){return null==e?"":String(e)},b:function(e){const t=On();if(H(t))throw new Error;const n=t;return function(t){Fn(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:On()}},dc:function(e,t,n,r=pe){if(null==t)return null;if(!jt(t))throw new Error(`Invalid LWC Constructor ${K(t)} for custom element <${e}>.`);return Sn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[kn(""),...t,kn("")],stable:n,owner:On()}},ti:function(e){return e>0&&!(B(e)||V(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:On()}},gid:function(e){const t=On();if(F(e)||""===e)return e;if(H(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=On();if(F(e)||""===e)return e;if(H(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Mn(e)},ssf:function(e,t){return{type:6,factory:t,owner:On(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let An=!1,Nn=null;function On(){return Nn}function _n(e){Nn=e}const Ln=($n=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=On(),l=!F(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!F(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=$n(p,s),r[c]}});var $n;function Pn(e,t){const r=An,o=Nn;let i=[];return dr(e,e.owner,(()=>{Nn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(H(l)||ur(e),a=t,!Ot.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: ${K(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!F(t))for(let e=0;e<t.length;e++)if(B(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;F(g)||(w&&s(n).remove(Ut(g)),y&&l(n,Ut(g))),F(c)||0===c.length||(p=u),F(p)||(f&&(s(n).add(Ut(p)),h=!0),d&&(a(n,Ut(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=qt(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,Kt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],An=!0,i=t.call(void 0,xn,r,s,o.tplCache);const{styleVNodes:u}=o;H(u)||_.apply(i,u)}))}),(()=>{An=r,Nn=o})),i}let Dn=null;function Rn(e){return Dn===e}function In(e,t,n){const{component:r,callHook:o,owner:i}=e;dr(e,i,G,(()=>{o(r,t,n)}),G)}function Fn(e,t,n,r){const{callHook:o,owner:i}=e;dr(e,i,G,(()=>{o(n,t,[r])}),G)}const Hn=new Map;function Bn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=On();let s,l=!1;return dr(e,o,(()=>{_n(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{_n(i)})),l?Pn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Vn(e){e.isDirty=!0}const jn=new WeakMap;function Wn(e,t){if(!j(t))throw new TypeError;let n=jn.get(t);return F(n)&&(n=function(n){Fn(e,t,void 0,n)},jn.set(t,n)),n}const Gn=n(null),Un=["rendered","connected","disconnected"];function Kn(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 zn=0;const qn=new WeakMap;function Yn(e,t,n=[]){return t.apply(e,n)}function Xn(e,t,n){e[t]=n}function Jn(e,t){return e[t]}function Qn(e){const t=rr(e);1===t.state&&Zn(e),sr(t),ir(t)}function Zn(e){er(rr(e))}function er(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){V(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Gn;t&&Kn(e,t);lr(e)&&function(e){const{wiredDisconnecting:t}=e.context;dr(e,e,G,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),G)}(e);const{disconnectedCallback:n}=e.def;F(n)||In(e,n)}(e),ar(e),function(e){const{aChildren:t}=e;cr(t)}(e)}}function tr(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Wt(t),u={elm:e,def:c,idx:zn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:pe,aChildren:pe,velements:pe,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar: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:fe,wiredConnecting:pe,wiredDisconnecting:pe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Yn,setHook:Xn,getHook:Jn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(de.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!H(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=H(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=we(),function(e,t){const n=Dn;let r;Dn=e;try{const o=new t;if(Dn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Dn=n,!F(r))throw be(e,r),r}}(u,c.ctor),lr(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=fr.get(i);if(!F(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=hr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),de.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function nr(e,t){qn.set(e,t)}function rr(e){return qn.get(e)}function or(e){return qn.get(e)}function ir(e){if(B(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&dr(e,e,(()=>{}),(()=>{nn(r,t,n,o)}),(()=>{}));e.state}(e,Bn(e))}}function sr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Gn;n&&Kn(e,n),lr(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;F(r)||In(e,r)}function lr(e){return l(e.def.wire).length>0}function ar(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!F(n)){const e=or(n);F(e)||er(e)}}}function cr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!H(n)&&!F(n.elm))switch(n.type){case 2:cr(n.children);break;case 3:er(rr(n.elm));break}}}function ur(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];H(o)||F(o.elm)||r(o.elm,n)}e.children=pe,ar(e),e.velements=pe}function dr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!F(i)){be(e,i);const n=H(t)?void 0:function(e){let t=e;for(;!H(t);){if(!F(t.def.errorCallback))return t;t=t.owner}}(t);if(F(n))throw i;ur(e);In(n,n.def.errorCallback,[i,i.wcStack])}}}const fr=new Map;class pr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function hr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=F(r)?function(e,t){return n=>{$e(e,t,n)}}(e,t):function(e,t){return n=>{dr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),dr(e,e,G,(()=>{u=new i(a)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=we();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{dr(e,e,G,(()=>{u.update(t,c)}),G)}));return F(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=gr(r);if(F(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new pr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const mr=new Map;function gr(e){return mr.get(e)}function wr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};fr.set(e,o)}function yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};fr.set(e,o)}let br=!1;const vr=Symbol("namespace"),Er=Symbol("type"),Cr=Symbol("parent"),Sr=Symbol("shadow-root"),kr=Symbol("children"),Tr=Symbol("attributes"),Mr=Symbol("event-listeners"),xr=Symbol("value");var Ar;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Ar||(Ar={}));const Nr=/\s+/g;function Or(e){return new Set(e.split(Nr).filter((e=>e.length)))}function _r(e){return Array.from(e).join(" ")}function Lr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function $r(e,t){return{[Er]:Ar.Element,tagName:e,[vr]:null!=t?t:Z,[Cr]:null,[Sr]:null,[kr]:[],[Tr]:[],[Mr]:{}}}function Pr(e,t,n=null){const r=e[Tr].find((e=>e.name===t&&e[vr]===n));return r?r.value:null}function Dr(e,t,n,r=null){const o=e[Tr].find((e=>e.name===t&&e[vr]===r));F(r)&&(r=null),F(o)?e[Tr].push({name:t,[vr]:r,value:String(n)}):o.value=n}function Rr(e,t,n){e[Tr]=e[Tr].filter((e=>e.name!==t&&e[vr]!==n))}const Ir=G,Fr=G,Hr=G,Br=Lr("dispatchEvent"),Vr=Lr("getBoundingClientRect"),jr=Lr("querySelector"),Wr=Lr("querySelectorAll"),Gr=Lr("getElementsByTagName"),Ur=Lr("getElementsByClassName"),Kr=Lr("getChildren"),zr=Lr("getChildNodes"),qr=Lr("getFirstChild"),Yr=Lr("getFirstElementChild"),Xr=Lr("getLastChild"),Jr=Lr("getLastElementChild"),Qr=G,Zr=new Map;function eo(e){let t=Zr.get(e);return F(t)?(t=function(e){return function(t){const n=$r(e);return j(t)&&t(n),n}}(e),Zr.set(e,t),t):t}const to={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Cr];if(null!==r&&r!==t){const t=r[kr].indexOf(e);r[kr].splice(t,1)}e[Cr]=t;const o=H(n)?-1:t[kr].indexOf(n);-1===o?t[kr].push(e):t[kr].splice(o,0,e)},remove:function(e,t){const n=t[kr].indexOf(e);t[kr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[Er]:Ar.Raw,[Cr]:null,[xr]:e}},createElement:$r,createText:function(e){return{[Er]:Ar.Text,[xr]:String(e),[Cr]:null}},createComment:function(e){return{[Er]:Ar.Comment,[xr]:e,[Cr]:null}},createCustomElement:function(e,t){return new(eo(e))(t)},nextSibling:function(e){const t=e[Cr];if(H(t))return null;const n=t[kr].indexOf(e);return t[kr][n+1]||null},attachShadow:function(e,t){return e[Sr]={[Er]:Ar.ShadowRoot,[kr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Sr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Er]===Ar.Element){const o=le(t);if(ne(o,e.tagName))return null!==(n=Pr(e,o))&&void 0!==n&&n;if(oe(o)||J(o))return Pr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Pr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Er]===Ar.Element){const r=le(t);if("innerHTML"===t)return void(e[kr]=[{[Er]:Ar.Raw,[Cr]:e,[xr]:n}]);if(ne(r,e.tagName))return!0===n?Dr(e,r,""):Rr(e,r);if(oe(r)||J(r))return Dr(e,r,n);if("input"===e.tagName&&"value"===r)return H(n)||F(n)?Rr(e,"value"):Dr(e,"value",n)}},setText:function(e,t){e[Er]===Ar.Text?e[xr]=t:e[Er]===Ar.Element&&(e[kr]=[{[Er]:Ar.Text,[Cr]:e,[xr]:t}])},getAttribute:Pr,setAttribute:Dr,removeAttribute:Rr,addEventListener:Fr,removeEventListener:Hr,dispatchEvent:Br,getClassList:function(e){function t(){let t=e[Tr].find((e=>"class"===e.name&&H(e[vr])));return F(t)&&(t={name:"class",[vr]:null,value:""},e[Tr].push(t)),t}return{add(...e){const n=t(),r=Or(n.value);e.forEach((e=>r.add(e))),n.value=_r(r)},remove(...e){const n=t(),r=Or(n.value);e.forEach((e=>r.delete(e))),n.value=_r(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Tr].find((e=>"style"===e.name&&H(e[vr]))),i=`${t}: ${n}${r?" !important":""}`;F(o)?e[Tr].push({name:"style",[vr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Vr,querySelector:jr,querySelectorAll:Wr,getElementsByTagName:Gr,getElementsByClassName:Ur,getChildren:Kr,getChildNodes:zr,getFirstChild:qr,getFirstElementChild:Yr,getLastChild:Xr,getLastElementChild:Jr,isConnected:function(e){return!H(e[Cr])},insertStylesheet:Ir,assertInstanceOfHTMLElement:Qr};function no(e){return e.map((e=>{switch(e[Er]){case Ar.Text:return""===e[xr]?"‍":ce(e[xr]);case Ar.Comment:return`\x3c!--${ce(e[xr])}--\x3e`;case Ar.Raw:return e[xr];case Ar.Element:return ro(e)}})).join("")}function ro(e){let t="";const n=e.tagName,r=e[vr],o=r!==Z,i=e[kr].length>0;var s;return t+=`<${n}${e[Tr].length?` ${s=e[Tr],s.map((e=>e.value.length?`${e.name}="${ce(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Sr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${no(e[kr])}</template>`}(e[Sr])),t+=no(e[kr]),function(e,t){return t===Z&&ee.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const oo={[Er]:Ar.Element,tagName:"fake-root-element",[vr]:Z,[Cr]:null,[Sr]:null,[kr]:[],[Tr]:[],[Mr]:{}};i(wt),f(wt.prototype),exports.LightningElement=wt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=gr(e);if(!F(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){mr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{F(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Wt(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:le(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=jt,exports.parseFragment=Ln,exports.parseSVGFragment=Ln,exports.readonly=function(e){return pt(e)},exports.register=function(e){for(let t=0;t<Un.length;++t){const n=Un[t];if(n in e){let t=Gn[n];F(t)&&(Gn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return j(e)&&Hn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!F(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(F(w))throw new Error;w=Tt(e,w)}else w=F(w)||F(w.get)?kt(e):Tt(e,w);f[e]=w,o(r,e,w)}if(F(l)||L.call(l,(e=>{if(w=s(r,e),F(w))throw new Error;d[e]=w})),!F(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(F(w))throw new Error;p[e]=w,wr(w,t,i,l)}else w=xt(e),h[e]=w,yr(w,t,i,l),o(r,e,w)}if(!F(c))for(const e in c)w=s(r,e),w=Mt(e),o(r,e,w);if(!F(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!F(i)&&t in i,o=!F(c)&&t in c;n||o||(m[t]=Ct(t))}return function(e,t){At.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Ot.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return F(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=F(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!W(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!j(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||H(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=to.createElement(e);tr(r,t,to,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Cr]=oo,Qn(r),ro(r)},exports.renderer=to,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(F(ue[e])){const n=d(ue).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=de[e];if(!F(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(de,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(br,"Hooks are already overridden, only one definition is allowed."),br=!0,n=t.sanitizeHtmlContent,Mn=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";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:x,slice:A,some:N,sort:O,splice:_,unshift:L,forEach:$}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:D,replace:R,slice:I,toLowerCase:F}=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 W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function q(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const Y=["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:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return $.call(Y,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in X}const Z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),ee="http://www.w3.org/1999/xhtml",te=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ne=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 re(e,t){const n=ne.get(e);return void 0!==n&&(0===n.size||n.has(t))}const oe=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 ie(e){return oe.has(e)}const se=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"]]),le=new Map;function ae(e){const t=J[e];if(!H(t))return t;const n=se.get(e);if(!H(n))return n;const r=le.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return le.set(e,o),o}const ce={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function ue(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ce[e]))}if("function"!=typeof Event){class e{}o(Z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:n(null)});const fe=Z.lwcRuntimeFlags;const pe=f(n(null)),he=f([]);function me(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ge=new WeakMap;const we={observe(e){e()},reset(){},link(){}};function ye(e){return we}function be(e){return`<${F.call(e.tagName)}>`}function ve(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,be(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Ee(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+be(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ce(e,t){Ee("error",e,t)}function Se(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ke(e){return W(e)&&c.call(e,"__circular__")}const Te="undefined"!=typeof HTMLElement?HTMLElement:function(){},Me=Te.prototype;function xe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:xe("offsetHeight")},offsetLeft:{readOnly:!0,error:xe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:xe("offsetTop")},offsetWidth:{readOnly:!0,error:xe("offsetWidth")},role:{attribute:"role"}});let Ae,Ne=null;function Oe(e,t){return e!==Ne||t!==Ae}function _e(e,t){Ne=null,Ae=void 0}function Le(e,t){Ne=e,Ae=t}const $e=n(null);function Pe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}$.call(d(J),(e=>{const t=q(Me,e);H(t)||($e[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(Me,e);H(t)||($e[e]=t)}));const{isArray:De}=Array,{prototype:Re,getPrototypeOf:Ie,create:Fe,defineProperty:He,isExtensible:Be,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:je,getOwnPropertySymbols:We,preventExtensions:Ge,hasOwnProperty:Ue}=Object,{push:Ke,concat:ze}=Array.prototype;function qe(e){return void 0===e}function Ye(e){return"function"==typeof e}const Xe=new WeakMap;function Je(e,t){Xe.set(e,t)}const Qe=e=>Xe.get(e)||e;class Ze{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ue.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.wrapGetter(n)),qe(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ve(n,t);if(!qe(r)){const n=this.wrapDescriptor(r);He(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ze.call(je(t),We(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;qe(n)||Ue.call(e,n)||He(e,n,Fe(null)),Ge(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=qe(n)||Ue.call(t,n)?[]:[n];return Ke.apply(r,je(t)),Ke.apply(r,We(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Be(e)&&(!!Be(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ie(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ve(n,t);if(qe(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},He(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap;class ot extends Ze{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=et.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return et.set(e,r),nt.set(r,e),r}wrapSetter(e){const t=tt.get(e);if(!qe(t))return t;const n=function(t){e.call(Qe(this),Qe(t))};return tt.set(e,n),rt.set(n,e),n}unwrapDescriptor(e){if(Ue.call(e,"value"))e.value=Qe(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.unwrapGetter(n)),qe(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=nt.get(e);if(!qe(t))return t;const n=this,r=function(){return Qe(e.call(n.wrapValue(this)))};return et.set(r,e),nt.set(e,r),r}unwrapSetter(e){const t=rt.get(e);if(!qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return tt.set(r,e),rt.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&&De(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(Be(e)){const{originalTarget:t}=this;if(Ge(t),Be(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ue.call(r,t)||(He(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const it=new WeakMap,st=new WeakMap;class lt extends Ze{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=it.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return it.set(e,r),r}wrapSetter(e){const t=st.get(e);if(!qe(t))return t;const n=function(e){};return st.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 at(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(De(e))return!0;const t=Ie(e);return t===Re||null===t||null===Ie(t)}const ct=(e,t)=>{},ut=(e,t)=>{};function dt(e){return De(e)?[]:{}}const ft=Symbol.for("@@lockerLiveValue"),pt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ye(t)?t:ut,this.valueObserved=Ye(n)?n:ct,this.valueIsObservable=Ye(r)?r:at,this.tagPropertyKey=o}getProxy(e){const t=Qe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Qe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Qe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(qe(t)){const n=new ot(this,e);t=new Proxy(dt(e),n),Je(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(qe(t)){const n=new lt(this,e);t=new Proxy(dt(e),n),Je(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ge.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:ft});function ht(e){return pt.getReadOnlyProxy(e)}function mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=sr(this);if(!Hn(e))return n.call(e.elm)},set(t){const n=sr(this);return Pe(n,e,t),r.call(n.elm,t)}}}const gt=i(n(null)),wt=new WeakMap,yt=function(){if(B(Fn))throw new TypeError("Illegal constructor");const e=Fn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return ir(o,e),ir(n,e),1===e.renderMode?e.renderRoot=bt(e):e.renderRoot=n,this};function bt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,ir(s,e),s}yt.prototype={constructor:yt,dispatchEvent(e){const t=sr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=sr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Kn(r,t),n)},removeEventListener(e,t,n){const r=sr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Kn(r,t),n)},hasAttribute(e){const t=sr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=sr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=sr(this),{elm:n,renderer:{removeAttribute:r}}=t;Le(n,e),r(n,e),_e()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=sr(this);Le(n,t),r(n,t,e),_e()},getAttribute(e){const t=sr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=sr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=sr(this),{elm:r,renderer:{setAttribute:o}}=n;Le(r,e),o(r,e,t),_e()},setAttributeNS(e,t,n){const r=sr(this),{elm:o,renderer:{setAttribute:i}}=r;Le(o,t),i(o,t,n,e),_e()},getBoundingClientRect(){const e=sr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=sr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=sr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return sr(this).shadowRoot},get refs(){const e=sr(this);if(_n)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return gt;let s=wt.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),wt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=sr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=sr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=sr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=sr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=sr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=sr(this);return e.renderer.getLastElementChild(e.elm)},render(){return sr(this).def.template},toString(){return`[object ${sr(this).def.name}]`}};const vt=n(null),Et=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Et)vt[e]={value(t){const n=sr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(yt.prototype,vt);const Ct=n(null);for(const e in $e)Ct[e]=mt(e,$e[e]);function St(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}r(yt.prototype,Ct),o(yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const kt={observe(e){e()},reset(){},link(){}};function Tt(e){return{get(){const t=sr(this);if(!Hn(t))return t.cmpProps[e]},set(t){sr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=sr(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=kt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function xt(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}function At(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}const Nt=new Map;const Ot={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const _t=new Set;function Lt(){return[]}_t.add(Lt);const $t=n(null),Pt=n(null);function Dt(e){let t=$t[e];return H(t)&&(t=$t[e]=function(){const t=sr(this),{getHook:n}=t;return n(t.component,e)}),t}function Rt(e){let t=Pt[e];return H(t)&&(t=Pt[e]=function(t){const n=sr(this),{setHook:r}=n;t=ht(t),r(n.component,e,t)}),t}function It(e){return function(){const t=sr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function Ft(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Oe(this,n)&&(this[i]=o)}}function Ht(e,t,i){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));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[ae(n)]=n,u[n]={get:Dt(n),set:Rt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:It(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Ft(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Bt=Ht(Te,l($e),[]);i(Bt),f(Bt.prototype);const Vt=new WeakMap;function jt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Nt.get(e);return H(t)?Ot:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,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(ke(t)){const e=Se(t);t=e===t?yt:e}return t}(e),C=E!==yt?Gt(E):Ut,S=Ht(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);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(i)||(N="light"===i?0:1);const O=function(e){return jn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Wt(e){if(!W(e))return!1;if(e.prototype instanceof yt)return!0;let t=e;do{if(ke(t)){const e=Se(t);if(e===t)return!0;t=e}if(t===yt)return!0}while(!B(t)&&(t=a(t)));return!1}function Gt(e){let t=Vt.get(e);if(H(t)){if(ke(e)){return t=Gt(Se(e)),Vt.set(e,t),t}if(!Wt(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=jt(e),Vt.set(e,t)}return t}const Ut={ctor:yt,name:yt.name,props:Ct,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Bt,template:Lt,render:yt.prototype.render};function Kt(e){return`${e}-host`}function zt(e){return On.h("style",{key:"style",attrs:{type:"text/css"}},[On.t(e)])}function qt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,qt(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Ce("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 a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=Xt(n)),a=B(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function Yt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=qt(n,r,e)),o}function Xt(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Jt(e){const{type:t}=e;return 2===t||3===t}function Qt(e,t){return e.key===t.key&&e.sel===t.sel}function Zt(e){return 5===e.type}function en(e){return 6===e.type}function tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const nn=n(null);function rn(e){if(null==e)return pe;e=G(e)?e:e+"";let t=nn[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===D.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),nn[e]=t,t}function on(e,t,n,r){var o;o=t,vn.has(o)?Cn(e,t,n,r):Sn(e,t,n,r)}function sn(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?Sn(e.children,o,n,r):Cn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;gn(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);un(e,n,r,!0),an(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;gn(e,t,r),H(o)||yn(t,o),on(e.children,t.children,n,r),H(o)||function(e){ar(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function ln(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);pn(s,o,r),mn(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);pn(s,o,r),mn(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);pn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));mn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;cn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=V(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);pn(c,i,r),wn(c,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)}(c,e),gn(null,e,r),mn(c,t,n,r),cn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:an(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function an(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=or(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&tr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&nr(e)}));e.elm=a,e.vm=l,pn(a,i,r),wn(a,i,r),l&&yn(e,l),gn(null,e,r),mn(a,t,n,r),l&&cr(l),cn(e.children,a,r,null),l&&function(e){ar(e)}(l)}function cn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];fn(i)&&ln(i,t,n,r)}}function un(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?dn(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;dn(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){rr(e)}(t)}}}function dn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];fn(i)&&un(i,t,n,r)}}function fn(e){return null!=e}function pn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function hn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function mn(e,t,n,r){r.insert(e,t,n)}function gn(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,i=o(n);for(const e in r)i.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,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=rn(o),c=rn(i);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:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Le(i,e),58===D.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===D.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),_e())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;H(s)&&(s=pe),H(n)||(s=t({},s,n))}H(i)||(o=t({},o,i));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):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function wn(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 yn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){const{cmpSlots:{slotAssignments:o}}=e,i=n(null);if(bn(e,t,i),e.cmpSlots={owner:r,slotAssignments:i},j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Gn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(i[r])||o[r].length!==i[r].length)return void Gn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Gn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=he)}function bn(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(B(s))continue;if(Zt(s)){bn(e,s.children.slice(1,-1),n);continue}let l="";Jt(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":en(s)&&(l=s.slotName);const a=n[l]=n[l]||[];k.call(a,s)}}const vn=new WeakMap;function En(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 Cn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)fn(l)?fn(a)?fn(m)?fn(g)?Qt(l,m)?(sn(l,m,n,r),l=e[++o],m=t[++i]):Qt(a,g)?(sn(a,g,n,r),a=e[--s],g=t[--h]):Qt(l,g)?(sn(l,g,n,r),mn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Qt(a,m)?(sn(a,m,n,r),mn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=En(e,o,s)),d=u[m.key],H(d)?(ln(m,n,r,l.elm),m=t[++i]):(f=e[d],fn(f)&&(f.sel!==m.sel?ln(m,n,r,l.elm):(sn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,mn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!fn(e)&&o<c);p=fn(e)?e.elm:null,cn(t,n,r,p,i,h+1)}else dn(e,n,r,!0,o,s+1)}function Sn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void cn(t,n,r,null);if(0===i)return void dn(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&&(fn(i)?fn(l)?(sn(i,l,n,r),s=l.elm):un(i,n,r,!0):fn(l)&&(ln(l,n,r,s),s=l.elm))}}const kn=Symbol.iterator;function Tn(e,t,n=he){const r=$n(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||me(r,i,s),s}function Mn(e,t,n,r=he){const o=$n(),{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){k.call($n().velements,e)}(l),H(s)||me(o,s,l),l}function xn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:$n()}}function An(e){var t;return t=e,vn.set(t,1),e}let Nn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const On=i({s:function(e,t,n,r){H(r)||H(r.slotAssignments)||H(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=en(n);if(o!==!H(t.slotData))return e;if(o){const o=$n();let i=[];Pn(r.owner);try{i=n.factory(t.slotData)}finally{Pn(o)}return m.call(e,i)}return m.call(e,n)}return e}),[]));const o=$n(),{renderMode:i,shadowMode:s}=o;return 0===i?(An(n),n):(1===s&&An(n),Tn("slot",t,n))},h:Tn,c:Mn,i:function(e,t){const n=[];if(An(n),H(e)||null===e)return n;const r=e[kn]();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);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];An(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:xn,d:function(e){return null==e?"":String(e)},b:function(e){const t=$n();if(B(t))throw new Error;const n=t;return function(t){Vn(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:$n()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!Wt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Mn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[xn(""),...t,xn("")],stable:n,owner:$n()}},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:$n()}},gid:function(e){const t=$n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=$n();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 Nn(e)},ssf:function(e,t){return{type:6,factory:t,owner:$n(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let _n=!1,Ln=null;function $n(){return Ln}function Pn(e){Ln=e}const Dn=(Rn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=$n(),l=!H(o),a=1===i;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 p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Rn(p,s),r[c]}});var Rn;function In(e,t){const r=_n,o=Ln;let i=[];return hr(e,e.owner,(()=>{Ln=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||pr(e),a=t,!_t.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: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Kt(g)),y&&l(n,Kt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(Kt(p)),h=!0),d&&(a(n,Kt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Yt(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,zt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],_n=!0,i=t.call(void 0,On,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||L.apply(i,u)}))}),(()=>{_n=r,Ln=o})),i}let Fn=null;function Hn(e){return Fn===e}function Bn(e,t,n){const{component:r,callHook:o,owner:i}=e;hr(e,i,U,(()=>{o(r,t,n)}),U)}function Vn(e,t,n,r){const{callHook:o,owner:i}=e;hr(e,i,U,(()=>{o(n,t,[r])}),U)}const jn=new Map;function Wn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=$n();let s,l=!1;return hr(e,o,(()=>{Pn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Pn(i)})),l?In(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gn(e){e.isDirty=!0}const Un=new WeakMap;function Kn(e,t){if(!W(t))throw new TypeError;let n=Un.get(t);return H(n)&&(n=function(n){Vn(e,t,void 0,n)},Un.set(t,n)),n}const zn=n(null),qn=["rendered","connected","disconnected"];function Yn(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 Xn=0;const Jn=new WeakMap;function Qn(e,t,n=[]){return t.apply(e,n)}function Zn(e,t,n){e[t]=n}function er(e,t){return e[t]}function tr(e){const t=sr(e);1===t.state&&nr(e),cr(t),ar(t)}function nr(e){rr(sr(e))}function rr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=zn;t&&Yn(e,t);ur(e)&&function(e){const{wiredDisconnecting:t}=e.context;hr(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||Bn(e,n)}(e),dr(e),function(e){const{aChildren:t}=e;fr(t)}(e)}}function or(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Gt(t),u={elm:e,def:c,idx:Xn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:he,aChildren:he,velements:he,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar: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:pe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qn,setHook:Zn,getHook:er,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ye(),function(e,t){const n=Fn;let r;Fn=e;try{const o=new t;if(Fn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Fn=n,!H(r))throw ve(e,r),r}}(u,c.ctor),ur(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=mr.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=wr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function ir(e,t){Jn.set(e,t)}function sr(e){return Jn.get(e)}function lr(e){return Jn.get(e)}function ar(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&&hr(e,e,(()=>{}),(()=>{on(r,t,n,o)}),(()=>{}));e.state}(e,Wn(e))}}function cr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=zn;n&&Yn(e,n),ur(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)||Bn(e,r)}function ur(e){return l(e.def.wire).length>0}function dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=lr(n);H(e)||rr(e)}}}function fr(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:fr(n.children);break;case 3:rr(sr(n.elm));break}}}function pr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=he,dr(e),e.velements=he}function hr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){ve(e,i);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 i;pr(e);Bn(n,n.def.errorCallback,[i,i.wcStack])}}}const mr=new Map;class gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function wr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=H(r)?function(e,t){return n=>{Pe(e,t,n)}}(e,t):function(e,t){return n=>{hr(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),hr(e,e,U,(()=>{u=new i(a)}),U);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ye();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{hr(e,e,U,(()=>{u.update(t,c)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=br(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const yr=new Map;function br(e){return yr.get(e)}function vr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};mr.set(e,o)}function Er(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};mr.set(e,o)}let Cr=!1;const Sr=Symbol("namespace"),kr=Symbol("type"),Tr=Symbol("parent"),Mr=Symbol("shadow-root"),xr=Symbol("children"),Ar=Symbol("attributes"),Nr=Symbol("event-listeners"),Or=Symbol("value");var _r;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(_r||(_r={}));const Lr=/\s+/g;function $r(e){return new Set(e.split(Lr).filter((e=>e.length)))}function Pr(e){return Array.from(e).join(" ")}function Dr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Rr(e,t){return{[kr]:_r.Element,tagName:e,[Sr]:null!=t?t:ee,[Tr]:null,[Mr]:null,[xr]:[],[Ar]:[],[Nr]:{}}}function Ir(e,t,n=null){const r=e[Ar].find((e=>e.name===t&&e[Sr]===n));return r?r.value:null}function Fr(e,t,n,r=null){const o=e[Ar].find((e=>e.name===t&&e[Sr]===r));H(r)&&(r=null),H(o)?e[Ar].push({name:t,[Sr]:r,value:String(n)}):o.value=n}function Hr(e,t,n){e[Ar]=e[Ar].filter((e=>e.name!==t&&e[Sr]!==n))}const Br=U,Vr=U,jr=U,Wr=Dr("dispatchEvent"),Gr=Dr("getBoundingClientRect"),Ur=Dr("querySelector"),Kr=Dr("querySelectorAll"),zr=Dr("getElementsByTagName"),qr=Dr("getElementsByClassName"),Yr=Dr("getChildren"),Xr=Dr("getChildNodes"),Jr=Dr("getFirstChild"),Qr=Dr("getFirstElementChild"),Zr=Dr("getLastChild"),eo=Dr("getLastElementChild"),to=U,no=new Map;function ro(e){let t=no.get(e);return H(t)?(t=function(e){return function(t){const n=Rr(e);return W(t)&&t(n),n}}(e),no.set(e,t),t):t}const oo={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Tr];if(null!==r&&r!==t){const t=r[xr].indexOf(e);r[xr].splice(t,1)}e[Tr]=t;const o=B(n)?-1:t[xr].indexOf(n);-1===o?t[xr].push(e):t[xr].splice(o,0,e)},remove:function(e,t){const n=t[xr].indexOf(e);t[xr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[kr]:_r.Raw,[Tr]:null,[Or]:e}},createElement:Rr,createText:function(e){return{[kr]:_r.Text,[Or]:String(e),[Tr]:null}},createComment:function(e){return{[kr]:_r.Comment,[Or]:e,[Tr]:null}},createCustomElement:function(e,t){return new(ro(e))(t)},nextSibling:function(e){const t=e[Tr];if(B(t))return null;const n=t[xr].indexOf(e);return t[xr][n+1]||null},attachShadow:function(e,t){return e[Mr]={[kr]:_r.ShadowRoot,[xr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Mr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[kr]===_r.Element){const o=ae(t);if(re(o,e.tagName))return null!==(n=Ir(e,o))&&void 0!==n&&n;if(ie(o)||Q(o))return Ir(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Ir(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[kr]===_r.Element){const r=ae(t);if("innerHTML"===t)return void(e[xr]=[{[kr]:_r.Raw,[Tr]:e,[Or]:n}]);if(re(r,e.tagName))return!0===n?Fr(e,r,""):Hr(e,r);if(ie(r)||Q(r))return Fr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Hr(e,"value"):Fr(e,"value",n)}},setText:function(e,t){e[kr]===_r.Text?e[Or]=t:e[kr]===_r.Element&&(e[xr]=[{[kr]:_r.Text,[Tr]:e,[Or]:t}])},getAttribute:Ir,setAttribute:Fr,removeAttribute:Hr,addEventListener:Vr,removeEventListener:jr,dispatchEvent:Wr,getClassList:function(e){function t(){let t=e[Ar].find((e=>"class"===e.name&&B(e[Sr])));return H(t)&&(t={name:"class",[Sr]:null,value:""},e[Ar].push(t)),t}return{add(...e){const n=t(),r=$r(n.value);e.forEach((e=>r.add(e))),n.value=Pr(r)},remove(...e){const n=t(),r=$r(n.value);e.forEach((e=>r.delete(e))),n.value=Pr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Ar].find((e=>"style"===e.name&&B(e[Sr]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[Ar].push({name:"style",[Sr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Gr,querySelector:Ur,querySelectorAll:Kr,getElementsByTagName:zr,getElementsByClassName:qr,getChildren:Yr,getChildNodes:Xr,getFirstChild:Jr,getFirstElementChild:Qr,getLastChild:Zr,getLastElementChild:eo,isConnected:function(e){return!B(e[Tr])},insertStylesheet:Br,assertInstanceOfHTMLElement:to};function io(e){return e.map((e=>{switch(e[kr]){case _r.Text:return""===e[Or]?"‍":ue(e[Or]);case _r.Comment:return`\x3c!--${ue(e[Or])}--\x3e`;case _r.Raw:return e[Or];case _r.Element:return so(e)}})).join("")}function so(e){let t="";const n=e.tagName,r=e[Sr],o=r!==ee,i=e[xr].length>0;var s;return t+=`<${n}${e[Ar].length?` ${s=e[Ar],s.map((e=>e.value.length?`${e.name}="${ue(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Mr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${io(e[xr])}</template>`}(e[Mr])),t+=io(e[xr]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const lo={[kr]:_r.Element,tagName:"fake-root-element",[Sr]:ee,[Tr]:null,[Mr]:null,[xr]:[],[Ar]:[],[Nr]:{}};i(yt),f(yt.prototype),exports.LightningElement=yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=br(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){yr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Gt(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:ae(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Wt,exports.parseFragment=Dn,exports.parseSVGFragment=Dn,exports.readonly=function(e){return ht(e)},exports.register=function(e){for(let t=0;t<qn.length;++t){const n=qn[t];if(n in e){let t=zn[n];H(t)&&(zn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&jn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!H(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(H(w))throw new Error;w=Mt(e,w)}else w=H(w)||H(w.get)?Tt(e):Mt(e,w);f[e]=w,o(r,e,w)}if(H(l)||$.call(l,(e=>{if(w=s(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(H(w))throw new Error;p[e]=w,vr(w,t,i,l)}else w=At(e),h[e]=w,Er(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=xt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!H(i)&&t in i,o=!H(c)&&t in c;n||o||(m[t]=St(t))}return function(e,t){Nt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return _t.add(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.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(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=oo.createElement(e);or(r,t,oo,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Tr]=lo,tr(r),so(r)},exports.renderer=oo,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(de[e])){const n=d(de).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=fe[e];if(!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(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Cr,"Hooks are already overridden, only one definition is allowed."),Cr=!0,n=t.sanitizeHtmlContent,Nn=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};
@@ -43,7 +43,7 @@ var assert = /*#__PURE__*/Object.freeze({
43
43
  */
44
44
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor: getOwnPropertyDescriptor$1, getOwnPropertyNames: getOwnPropertyNames$1, getPrototypeOf: getPrototypeOf$1, hasOwnProperty: hasOwnProperty$1, isFrozen, keys, seal, setPrototypeOf, } = Object;
45
45
  const { isArray: isArray$1 } = Array;
46
- const { concat: ArrayConcat$1, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
46
+ const { concat: ArrayConcat$1, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
47
47
  const { fromCharCode: StringFromCharCode } = String;
48
48
  const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
49
49
  function isUndefined$1(obj) {
@@ -432,9 +432,9 @@ function htmlEscape(str, attrMode = false) {
432
432
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
433
433
  */
434
434
  // Increment whenever the LWC template compiler changes
435
- const LWC_VERSION = "2.27.0";
435
+ const LWC_VERSION = "2.28.1";
436
436
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
437
- /** version: 2.27.0 */
437
+ /** version: 2.28.1 */
438
438
 
439
439
  /*
440
440
  * Copyright (c) 2020, salesforce.com, inc.
@@ -546,7 +546,7 @@ function setFeatureFlagForTest(name, value) {
546
546
  setFeatureFlag(name, value);
547
547
  }
548
548
  }
549
- /** version: 2.27.0 */
549
+ /** version: 2.28.1 */
550
550
 
551
551
  /* proxy-compat-disable */
552
552
 
@@ -3437,6 +3437,9 @@ function isVBaseElement(vnode) {
3437
3437
  function isSameVnode(vnode1, vnode2) {
3438
3438
  return vnode1.key === vnode2.key && vnode1.sel === vnode2.sel;
3439
3439
  }
3440
+ function isVFragment(vnode) {
3441
+ return vnode.type === 5 /* VNodeType.Fragment */;
3442
+ }
3440
3443
  function isVScopedSlotFragment(vnode) {
3441
3444
  return vnode.type === 6 /* VNodeType.ScopedSlotFragment */;
3442
3445
  }
@@ -3956,9 +3959,14 @@ function mountCustomElement(vnode, parent, anchor, renderer) {
3956
3959
  if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
3957
3960
  disconnectRootElement(elm);
3958
3961
  }
3959
- };
3962
+ }; // Should never get a tag with upper case letter at this point; the compiler
3963
+ // should produce only tags with lowercase letters. However, the Java
3964
+ // compiler may generate tagnames with uppercase letters so - for backwards
3965
+ // compatibility, we lower case the tagname here.
3960
3966
 
3961
- const elm = createCustomElement(sel, upgradeCallback, connectedCallback, disconnectedCallback);
3967
+
3968
+ const normalizedTagname = sel.toLowerCase();
3969
+ const elm = createCustomElement(normalizedTagname, upgradeCallback, connectedCallback, disconnectedCallback);
3962
3970
  vnode.elm = elm;
3963
3971
  vnode.vm = vm;
3964
3972
  linkNodeToShadow(elm, owner, renderer);
@@ -4252,6 +4260,17 @@ function allocateChildren(vnode, vm) {
4252
4260
  shadowMode
4253
4261
  } = vm;
4254
4262
 
4263
+ if (process.env.NODE_ENV !== 'production') {
4264
+ // If any of the children being allocated is a scoped slot fragment, make sure the receiving
4265
+ // component is a light DOM component. This is mainly to validate light dom parent running
4266
+ // in native shadow mode.
4267
+ if (renderMode !== 0
4268
+ /* RenderMode.Light */
4269
+ && ArraySome.call(children, child => !isNull(child) && isVScopedSlotFragment(child))) {
4270
+ logError(`Invalid usage of 'lwc:slot-data' on ${getComponentTag(vm)} tag. Scoped slot content can only be passed to a light dom child.`);
4271
+ }
4272
+ }
4273
+
4255
4274
  if (shadowMode === 1
4256
4275
  /* ShadowMode.Synthetic */
4257
4276
  || renderMode === 0
@@ -4293,26 +4312,26 @@ function createViewModelHook(elm, vnode, renderer) {
4293
4312
 
4294
4313
  return vm;
4295
4314
  }
4315
+ /**
4316
+ * Collects all slots into a SlotSet, traversing through VFragment Nodes
4317
+ */
4296
4318
 
4297
- function allocateInSlot(vm, children, owner) {
4298
- var _a, _b;
4299
4319
 
4300
- const {
4301
- cmpSlots: {
4302
- slotAssignments: oldSlotsMapping
4303
- }
4304
- } = vm;
4305
- const cmpSlotsMapping = create(null);
4306
- vm.cmpSlots = {
4307
- owner,
4308
- slotAssignments: cmpSlotsMapping
4309
- };
4320
+ function collectSlots(vm, children, cmpSlotsMapping) {
4321
+ var _a, _b;
4310
4322
 
4311
4323
  for (let i = 0, len = children.length; i < len; i += 1) {
4312
4324
  const vnode = children[i];
4313
4325
 
4314
4326
  if (isNull(vnode)) {
4315
4327
  continue;
4328
+ } // Dive further iff the content is wrapped in a VFragment
4329
+
4330
+
4331
+ if (isVFragment(vnode)) {
4332
+ // Remove the text delimiter nodes to avoid overriding default slot content
4333
+ collectSlots(vm, vnode.children.slice(1, -1), cmpSlotsMapping);
4334
+ continue;
4316
4335
  }
4317
4336
 
4318
4337
  let slotName = '';
@@ -4326,6 +4345,20 @@ function allocateInSlot(vm, children, owner) {
4326
4345
  const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
4327
4346
  ArrayPush$1.call(vnodes, vnode);
4328
4347
  }
4348
+ }
4349
+
4350
+ function allocateInSlot(vm, children, owner) {
4351
+ const {
4352
+ cmpSlots: {
4353
+ slotAssignments: oldSlotsMapping
4354
+ }
4355
+ } = vm;
4356
+ const cmpSlotsMapping = create(null);
4357
+ collectSlots(vm, children, cmpSlotsMapping);
4358
+ vm.cmpSlots = {
4359
+ owner,
4360
+ slotAssignments: cmpSlotsMapping
4361
+ };
4329
4362
 
4330
4363
  if (isFalse(vm.isDirty)) {
4331
4364
  // We need to determine if the old allocation is really different from the new one
@@ -4646,27 +4679,42 @@ function s(slotName, data, children, slotset) {
4646
4679
  !isUndefined$1(slotset.slotAssignments) &&
4647
4680
  !isUndefined$1(slotset.slotAssignments[slotName]) &&
4648
4681
  slotset.slotAssignments[slotName].length !== 0) {
4649
- children = slotset.slotAssignments[slotName].reduce((acc, vnode) => {
4650
- // If the passed slot content is factory, evaluate it and use the produced vnodes
4651
- if (vnode && isVScopedSlotFragment(vnode)) {
4652
- const vmBeingRenderedInception = getVMBeingRendered();
4653
- let children = [];
4654
- // Evaluate in the scope of the slot content's owner
4655
- // if a slotset is provided, there will always be an owner. The only case where owner is
4656
- // undefined is for root components, but root components cannot accept slotted content
4657
- setVMBeingRendered(slotset.owner);
4658
- try {
4659
- children = vnode.factory(data.slotData);
4682
+ children = slotset.slotAssignments[slotName].reduce((accumulator, vnode) => {
4683
+ if (vnode) {
4684
+ const assignedNodeIsScopedSlot = isVScopedSlotFragment(vnode);
4685
+ // The only sniff test for a scoped <slot> element is the presence of `slotData`
4686
+ const isScopedSlotElement = !isUndefined$1(data.slotData);
4687
+ // Check if slot types of parent and child are matching
4688
+ if (assignedNodeIsScopedSlot !== isScopedSlotElement) {
4689
+ if (process.env.NODE_ENV !== 'production') {
4690
+ logError(`Mismatched slot types for ${slotName === '' ? '(default)' : slotName} slot. Both parent and child component must use standard type or scoped type for a given slot.`, slotset.owner);
4691
+ }
4692
+ // Ignore slot content from parent
4693
+ return accumulator;
4660
4694
  }
4661
- finally {
4662
- setVMBeingRendered(vmBeingRenderedInception);
4695
+ // If the passed slot content is factory, evaluate it and add the produced vnodes
4696
+ if (assignedNodeIsScopedSlot) {
4697
+ const vmBeingRenderedInception = getVMBeingRendered();
4698
+ let scopedSlotChildren = [];
4699
+ // Evaluate in the scope of the slot content's owner
4700
+ // if a slotset is provided, there will always be an owner. The only case where owner is
4701
+ // undefined is for root components, but root components cannot accept slotted content
4702
+ setVMBeingRendered(slotset.owner);
4703
+ try {
4704
+ scopedSlotChildren = vnode.factory(data.slotData);
4705
+ }
4706
+ finally {
4707
+ setVMBeingRendered(vmBeingRenderedInception);
4708
+ }
4709
+ return ArrayConcat$1.call(accumulator, scopedSlotChildren);
4710
+ }
4711
+ else {
4712
+ // If the slot content is standard type, the content is static, no additional
4713
+ // processing needed on the vnode
4714
+ return ArrayConcat$1.call(accumulator, vnode);
4663
4715
  }
4664
- return ArrayConcat$1.call(acc, children);
4665
- }
4666
- else {
4667
- // If the slot content is a static list of child nodes provided by the parent, nothing to do
4668
- return ArrayConcat$1.call(acc, vnode);
4669
4716
  }
4717
+ return accumulator;
4670
4718
  }, []);
4671
4719
  }
4672
4720
  const vmBeingRendered = getVMBeingRendered();
@@ -6452,7 +6500,7 @@ function freezeTemplate(tmpl) {
6452
6500
  });
6453
6501
  }
6454
6502
  }
6455
- /* version: 2.27.0 */
6503
+ /* version: 2.28.1 */
6456
6504
 
6457
6505
  /*
6458
6506
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6538,7 +6586,13 @@ function remove(node, parent) {
6538
6586
  parent[HostChildrenKey].splice(nodeIndex, 1);
6539
6587
  }
6540
6588
  function cloneNode(node) {
6541
- return node;
6589
+ // Note: no need to deep clone as cloneNode is only used for nodes of type HostNodeType.Raw.
6590
+ if (process.env.NODE_ENV !== 'production') {
6591
+ if (node[HostTypeKey] !== HostNodeType.Raw) {
6592
+ throw new TypeError(`SSR: cloneNode was called with invalid NodeType <${node[HostTypeKey]}>, only HostNodeType.Raw is supported.`);
6593
+ }
6594
+ }
6595
+ return Object.assign({}, node);
6542
6596
  }
6543
6597
  function createFragment(html) {
6544
6598
  return {
@@ -6917,6 +6971,6 @@ function renderComponent(tagName, Ctor, props = {}) {
6917
6971
  */
6918
6972
  freeze(LightningElement);
6919
6973
  seal(LightningElement.prototype);
6920
- /* version: 2.27.0 */
6974
+ /* version: 2.28.1 */
6921
6975
 
6922
6976
  export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
@@ -43,7 +43,7 @@ var assert = /*#__PURE__*/Object.freeze({
43
43
  */
44
44
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
45
45
  const { isArray } = Array;
46
- const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
46
+ const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
47
47
  const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
48
48
  function isUndefined(obj) {
49
49
  return obj === undefined;
@@ -148,7 +148,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
148
148
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
149
149
  // we can't use typeof since it will fail when transpiling.
150
150
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
151
- /** version: 2.27.0 */
151
+ /** version: 2.28.1 */
152
152
 
153
153
  /*
154
154
  * Copyright (c) 2018, salesforce.com, inc.
@@ -462,7 +462,7 @@ if (!_globalThis.lwcRuntimeFlags) {
462
462
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
463
463
  }
464
464
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
465
- /** version: 2.27.0 */
465
+ /** version: 2.28.1 */
466
466
 
467
467
  /*
468
468
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5170,4 +5170,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
5170
5170
  }));
5171
5171
  });
5172
5172
  }
5173
- /** version: 2.27.0 */
5173
+ /** version: 2.28.1 */
@@ -46,7 +46,7 @@
46
46
  */
47
47
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
48
48
  const { isArray } = Array;
49
- const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
49
+ const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
50
50
  const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
51
51
  function isUndefined(obj) {
52
52
  return obj === undefined;
@@ -151,7 +151,7 @@
151
151
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
152
152
  // we can't use typeof since it will fail when transpiling.
153
153
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
154
- /** version: 2.27.0 */
154
+ /** version: 2.28.1 */
155
155
 
156
156
  /*
157
157
  * Copyright (c) 2018, salesforce.com, inc.
@@ -465,7 +465,7 @@
465
465
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
466
466
  }
467
467
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
468
- /** version: 2.27.0 */
468
+ /** version: 2.28.1 */
469
469
 
470
470
  /*
471
471
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5173,6 +5173,6 @@
5173
5173
  }));
5174
5174
  });
5175
5175
  }
5176
- /** version: 2.27.0 */
5176
+ /** version: 2.28.1 */
5177
5177
 
5178
5178
  })();