LWR.define("lwc/v/2_20_2",["exports"],function(w){"use strict";function Zr(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)}function eo(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}function to(e,t){if(e)throw new Error(`Assert Violation: ${t}`)}function no(e){throw new Error(e)}var O=Object.freeze({__proto__:null,invariant:Zr,isTrue:eo,isFalse:to,fail:no});const{assign:j,create:y,defineProperties:U,defineProperty:R,freeze:ct,getOwnPropertyDescriptor:q,getOwnPropertyNames:lt,getPrototypeOf:de,hasOwnProperty:Ve,isFrozen:ro,keys:W,seal:Ae,setPrototypeOf:fe}=Object,{isArray:re}=Array,{copyWithin:oo,fill:io,filter:Pc,find:Ic,indexOf:ut,join:dt,map:dn,pop:so,push:C,reduce:xc,reverse:ao,shift:co,slice:fn,sort:lo,splice:pn,unshift:ft,forEach:pe}=Array.prototype,{fromCharCode:hn}=String,{charCodeAt:Re,replace:mn,slice:gn,toLowerCase:pt}=String.prototype;function l(e){return e===void 0}function g(e){return e===null}function K(e){return e===!0}function L(e){return e===!1}function uo(e){return typeof e=="boolean"}function T(e){return typeof e=="function"}function Le(e){return typeof e=="object"}function yn(e){return typeof e=="string"}function Hc(e){return typeof e=="number"}function S(){}const fo={}.toString;function he(e){return e&&e.toString?re(e)?dt.call(dn.call(e,he),","):e.toString():typeof e=="object"?fo.call(e):e+""}function x(e,t){do{const n=q(e,t);if(!l(n))return n;e=de(e)}while(e!==null)}const po=["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:Fc,AriaPropNameToAttrNameMap:Pe}=(()=>{const e=y(null),t=y(null);return pe.call(po,n=>{const r=pt.call(mn.call(n,/^aria/,()=>"aria-"));e[r]=n,t[n]=r}),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Ie=function(){if(typeof globalThis=="object")return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(t){}finally{typeof e=="undefined"&&(e=window)}return e}(),ho="$isNativeShadowRootDefined$",ht="$shadowResolver$",mo="$shadowStaticNode$",go="$shadowToken$",yo="$$lwc-synthetic-mode",En="$scoped$",Eo="http://www.w3.org/XML/1998/namespace",wo="http://www.w3.org/2000/svg",vo="http://www.w3.org/1999/xlink",bo=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"]]),wn=new Map;function vn(e){const t=Pe[e];if(!l(t))return t;const n=bo.get(e);if(!l(n))return n;const r=wn.get(e);if(!l(r))return r;let o="";for(let i=0,s=e.length;i=65&&a<=90?o+="-"+hn(a+32):o+=hn(a)}return wn.set(e,o),o}const bn="2.20.2",No=/\/\*LWC compiler v([\d.]+)\*\/\s*}/;function Co(e){return Object.getOwnPropertyDescriptor(Element.prototype,e)===void 0}const Nn=new WeakMap;function Cn(e){let t=Nn.get(e);return t===void 0&&(t={},Nn.set(e,t)),t}function To(e){return e==null?null:String(e)}function Mo(e,t){return{get(){const n=Cn(this);return Ve.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=To(n),o=Cn(this);o[e]=r,n===null?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function So(e){const t=Pe[e],n=Mo(e,t);Object.defineProperty(Element.prototype,e,n)}const Tn=W(Pe);for(let e=0,t=Tn.length;e`"${r}"`).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`);return}{const n=k[e];if(!l(n)){console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);return}R(k,e,{value:t})}}function Oo(e,t){}let xe=[];const _o=32,$=Ae(y(null)),P=Ae([]);function ko(){const e=xe;xe=[];for(let t=0,n=e.length;t0){for(let r=0;r`}function Io(e){const t=[];let n="";for(;!g(e.owner);)C.call(t,n+Y(e)),e=e.owner,n+=" ";return dt.call(t,` `)}function xo(e){const t=[];let n=e;for(;!g(n);)C.call(t,Y(n)),n=n.owner;return t.reverse().join(` `)}function On(e,t){if(!ro(t)&&l(t.wcStack)){const n=xo(e);R(t,"wcStack",{get(){return n}})}}function _n(e,t,n){let r=`[LWC ${e}]: ${t}`;l(n)||(r=`${r} ${Io(n)}`);try{throw new Error(r)}catch(o){console[e](o)}}function _(e,t){_n("error",e,t)}function Bc(e,t){_n("warn",e,t)}function wt(e){const t=e();return(t==null?void 0:t.__esModule)?t.default:t}function vt(e){return T(e)&&Ve.call(e,"__circular__")}const kn=typeof HTMLElement!="undefined"?HTMLElement:function(){},$n=kn.prototype,Ho=["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"];function He(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.`}const bt=j(y(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:He("offsetHeight")},offsetLeft:{readOnly:!0,error:He("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:He("offsetTop")},offsetWidth:{readOnly:!0,error:He("offsetWidth")},role:{attribute:"role"}});let Nt=null,Ct;function Fo(e,t){return e!==Nt||t!==Ct}function ye(e,t){Nt=null,Ct=void 0}function Ee(e,t){Nt=e,Ct=t}const we=y(null);pe.call(W(Pe),e=>{const t=x($n,e);l(t)||(we[e]=t)}),pe.call(Ho,e=>{const t=x($n,e);l(t)||(we[e]=t)});function Q(e){return j({configurable:!0,enumerable:!0,writable:!0},e)}function H(e){return j({configurable:!0,enumerable:!0},e)}let ve=!1;function Wc(){throw new ReferenceError}function jc(){throw new ReferenceError}function X(e,t){return _(`The \`${e}\` ${t} is available only on elements that use the \`lwc:dom="manual"\` directive.`)}function Uc(e,t){throw new ReferenceError}function Bo(e){throw new ReferenceError}function Wo(e){throw new ReferenceError}function jo(){throw new ReferenceError}function Uo(e){throw new ReferenceError}function Kc(e){U(e,Bo(e))}function zc(e){const t=Wo(e),n=de(e);fe(e,y(n,t))}function Gc(e){U(e,jo())}function qc(e){U(e,Uo(e))}const{isArray:Fe}=Array,{prototype:Ko,getPrototypeOf:Be,create:Vn,defineProperty:We,isExtensible:je,getOwnPropertyDescriptor:An,getOwnPropertyNames:Tt,getOwnPropertySymbols:Mt,preventExtensions:Rn,hasOwnProperty:be}=Object,{push:St,concat:Ln}=Array.prototype,zo={}.toString;function Yc(e){return e&&e.toString?e.toString():typeof e=="object"?zo.call(e):e+""}function D(e){return e===void 0}function Dt(e){return typeof e=="function"}const Pn=new WeakMap;function In(e,t){Pn.set(e,t)}const I=e=>Pn.get(e)||e;class xn{constructor(t,n){this.originalTarget=n,this.membrane=t}wrapDescriptor(t){if(be.call(t,"value"))t.value=this.wrapValue(t.value);else{const{set:n,get:r}=t;D(r)||(t.get=this.wrapGetter(r)),D(n)||(t.set=this.wrapSetter(n))}return t}copyDescriptorIntoShadowTarget(t,n){const{originalTarget:r}=this,o=An(r,n);if(!D(o)){const i=this.wrapDescriptor(o);We(t,n,i)}}lockShadowTarget(t){const{originalTarget:n}=this;Ln.call(Tt(n),Mt(n)).forEach(i=>{this.copyDescriptorIntoShadowTarget(t,i)});const{membrane:{tagPropertyKey:o}}=this;!D(o)&&!be.call(t,o)&&We(t,o,Vn(null)),Rn(t)}apply(t,n,r){}construct(t,n,r){}get(t,n){const{originalTarget:r,membrane:{valueObserved:o}}=this,i=r[n];return o(r,n),this.wrapValue(i)}has(t,n){const{originalTarget:r,membrane:{tagPropertyKey:o,valueObserved:i}}=this;return i(r,n),n in r||n===o}ownKeys(t){const{originalTarget:n,membrane:{tagPropertyKey:r}}=this,o=D(r)||be.call(n,r)?[]:[r];return St.apply(o,Tt(n)),St.apply(o,Mt(n)),o}isExtensible(t){const{originalTarget:n}=this;return je(t)?je(n)?!0:(this.lockShadowTarget(t),!1):!1}getPrototypeOf(t){const{originalTarget:n}=this;return Be(n)}getOwnPropertyDescriptor(t,n){const{originalTarget:r,membrane:{valueObserved:o,tagPropertyKey:i}}=this;o(r,n);let s=An(r,n);return D(s)?n!==i?void 0:(s={value:void 0,writable:!1,configurable:!1,enumerable:!1},We(t,i,s),s):(s.configurable===!1&&this.copyDescriptorIntoShadowTarget(t,n),this.wrapDescriptor(s))}}const Ot=new WeakMap,_t=new WeakMap,kt=new WeakMap,$t=new WeakMap;class Go extends xn{wrapValue(t){return this.membrane.getProxy(t)}wrapGetter(t){const n=Ot.get(t);if(!D(n))return n;const r=this,o=function(){return r.wrapValue(t.call(I(this)))};return Ot.set(t,o),kt.set(o,t),o}wrapSetter(t){const n=_t.get(t);if(!D(n))return n;const r=function(o){t.call(I(this),I(o))};return _t.set(t,r),$t.set(r,t),r}unwrapDescriptor(t){if(be.call(t,"value"))t.value=I(t.value);else{const{set:n,get:r}=t;D(r)||(t.get=this.unwrapGetter(r)),D(n)||(t.set=this.unwrapSetter(n))}return t}unwrapGetter(t){const n=kt.get(t);if(!D(n))return n;const r=this,o=function(){return I(t.call(r.wrapValue(this)))};return Ot.set(o,t),kt.set(t,o),o}unwrapSetter(t){const n=$t.get(t);if(!D(n))return n;const r=this,o=function(i){t.call(r.wrapValue(this),r.wrapValue(i))};return _t.set(o,t),$t.set(t,o),o}set(t,n,r){const{originalTarget:o,membrane:{valueMutated:i}}=this;return o[n]!==r?(o[n]=r,i(o,n)):n==="length"&&Fe(o)&&i(o,n),!0}deleteProperty(t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return delete r[n],o(r,n),!0}setPrototypeOf(t,n){}preventExtensions(t){if(je(t)){const{originalTarget:n}=this;if(Rn(n),je(n))return!1;this.lockShadowTarget(t)}return!0}defineProperty(t,n,r){const{originalTarget:o,membrane:{valueMutated:i,tagPropertyKey:s}}=this;return n===s&&!be.call(o,n)||(We(o,n,this.unwrapDescriptor(r)),r.configurable===!1&&this.copyDescriptorIntoShadowTarget(t,n),i(o,n)),!0}}const Hn=new WeakMap,Fn=new WeakMap;class qo extends xn{wrapValue(t){return this.membrane.getReadOnlyProxy(t)}wrapGetter(t){const n=Hn.get(t);if(!D(n))return n;const r=this,o=function(){return r.wrapValue(t.call(I(this)))};return Hn.set(t,o),o}wrapSetter(t){const n=Fn.get(t);if(!D(n))return n;const r=this,o=function(i){};return Fn.set(t,o),o}set(t,n,r){return!1}deleteProperty(t,n){return!1}setPrototypeOf(t,n){}preventExtensions(t){return!1}defineProperty(t,n,r){return!1}}function Vt(e){if(Fe(e))return e.map(r=>{const o=I(r);return o!==r?Vt(o):r});const t=Vn(Be(e)),n=Tt(e);return Ln.call(n,Mt(e)).reduce((r,o)=>{const i=e[o],s=I(i);return s!==i?r[o]=Vt(s):r[o]=i,r},t)}const Yo={header:e=>{const t=I(e);if(!t||t===e)return null;const n=Vt(e);return["object",{object:n}]},hasBody:()=>!1,body:()=>null};function Qo(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}function Qc(){throw new ReferenceError}function Xo(e){if(e===null||typeof e!="object")return!1;if(Fe(e))return!0;const t=Be(e);return t===Ko||t===null||Be(t)===null}const Jo=(e,t)=>{},Zo=(e,t)=>{};function Bn(e){return Fe(e)?[]:{}}class ei{constructor(t={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=t;this.valueMutated=Dt(n)?n:Zo,this.valueObserved=Dt(r)?r:Jo,this.valueIsObservable=Dt(o)?o:Xo,this.tagPropertyKey=i}getProxy(t){const n=I(t);return this.valueIsObservable(n)?this.readOnlyObjectGraph.get(n)===t?t:this.getReactiveHandler(n):n}getReadOnlyProxy(t){return t=I(t),this.valueIsObservable(t)?this.getReadOnlyHandler(t):t}unwrapProxy(t){return I(t)}getReactiveHandler(t){let n=this.reactiveObjectGraph.get(t);if(D(n)){const r=new Go(this,t);n=new Proxy(Bn(t),r),In(n,t),this.reactiveObjectGraph.set(t,n)}return n}getReadOnlyHandler(t){let n=this.readOnlyObjectGraph.get(t);if(D(n)){const r=new qo(this,t);n=new Proxy(Bn(t),r),In(n,t),this.readOnlyObjectGraph.set(t,n)}return n}}const Wn=Symbol.for("@@lockerLiveValue"),Ne=new ei({valueObserved:Dn,valueMutated:Sn,tagPropertyKey:Wn});function ti(e){return Ne.unwrapProxy(e)}function ni(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!T(n))throw new TypeError;if(!T(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const s=m(this);if(!qt(s))return ge(s,e),n.call(s.elm)},set(s){const a=m(this);return s!==a.cmpProps[e]&&(a.cmpProps[e]=s,oe(a,e)),r.call(a.elm,s)}}}const M=function(){if(g(te))throw new ReferenceError("Illegal constructor");const e=te,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(fe(n,r.prototype),e.component=this,arguments.length===1){const{callHook:i,setHook:s,getHook:a}=arguments[0];e.callHook=i,e.setHook=s,e.getHook=a}return this[Wn]=void 0,Zt(o,e),Zt(n,e),e.renderMode===1?e.renderRoot=ri(e):e.renderRoot=n,this};function ri(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{[yo]:r===1,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Zt(s,e),s}function Xc(e,t){qt(e)&&_(`this.${t} should not be called during the construction of the custom element for ${Y(e)} because the element is not yet in the DOM or has no children yet.`)}M.prototype={constructor:M,dispatchEvent(e){const t=m(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=m(this),{elm:o,renderer:{addEventListener:i}}=r,s=Dr(r,t);i(o,e,s,n)},removeEventListener(e,t,n){const r=m(this),{elm:o,renderer:{removeEventListener:i}}=r,s=Dr(r,t);i(o,e,s,n)},hasAttribute(e){const t=m(this),{elm:n,renderer:{getAttribute:r}}=t;return!g(r(n,e))},hasAttributeNS(e,t){const n=m(this),{elm:r,renderer:{getAttribute:o}}=n;return!g(o(r,t,e))},removeAttribute(e){const t=m(this),{elm:n,renderer:{removeAttribute:r}}=t;Ee(n,e),r(n,e),ye()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=m(this);Ee(n,t),r(n,t,e),ye()},getAttribute(e){const t=m(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=m(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=m(this),{elm:r,renderer:{setAttribute:o}}=n;Ee(r,e),o(r,e,t),ye()},setAttributeNS(e,t,n){const r=m(this),{elm:o,renderer:{setAttribute:i}}=r;Ee(o,t),i(o,t,n,e),ye()},getBoundingClientRect(){const e=m(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=m(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=m(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return m(this).shadowRoot},get shadowRoot(){return null},get children(){const e=m(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=m(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=m(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=m(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=m(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=m(this);return e.renderer.getLastElementChild(e.elm)},render(){return m(this).def.template},toString(){return`[object ${m(this).def.name}]`}};const jn=y(null),oi=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of oi)jn[e]={value(t){const n=m(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};U(M.prototype,jn);const At=y(null);for(const e in we)At[e]=ni(e,we[e]);U(M.prototype,At),R(M,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});function ii(e){return{get(){const t=m(this);return ge(t,e),t.cmpFields[e]},set(t){const n=m(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,oe(n,e))},enumerable:!0,configurable:!0}}function si(){throw new Error}function ai(e){return{get(){const t=m(this);if(!qt(t))return ge(t,e),t.cmpProps[e]},set(t){const n=m(this);n.cmpProps[e]=t,oe(n,e)},enumerable:!0,configurable:!0}}class ci extends Et{constructor(t,n){super(()=>{L(this.debouncing)&&(this.debouncing=!0,mt(()=>{if(K(this.debouncing)){const{value:r}=this,{isDirty:o,component:i,idx:s}=t;n.call(i,r),this.debouncing=!1,K(t.isDirty)&&L(o)&&s>0&&_r(t)}}))});this.debouncing=!1}reset(t){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=t)}}function Un(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!T(n))throw new Error;return{get(){return n.call(this)},set(s){const a=m(this);if(r)if(k.ENABLE_REACTIVE_SETTER){let c=a.oar[e];l(c)&&(c=a.oar[e]=new ci(a,r)),c.reset(s),c.observe(()=>{r.call(this,s)})}else r.call(this,s)},enumerable:o,configurable:i}}function li(e){if(arguments.length===1)return Ne.getProxy(e);throw new Error}function ui(e){return{get(){const t=m(this);return ge(t,e),t.cmpFields[e]},set(t){const n=m(this),r=Ne.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,oe(n,e))},enumerable:!0,configurable:!0}}function di(e,t){throw new Error}function fi(e){return{get(){const t=m(this);return ge(t,e),t.cmpFields[e]},set(t){const n=m(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,oe(n,e))},enumerable:!0,configurable:!0}}function Ue(e){return T(e.value)?"method":T(e.set)||T(e.get)?"accessor":"field"}function Jc(e,t,n){if(!l(n)){const r=Ue(n),o=`Invalid observed ${t} field. Found a duplicate ${r} with the same name.`;r==="accessor"?_(o):O.fail(o)}}function Zc(e,t,n){if(!l(n)){const r=Ue(n);O.fail(`Invalid @track ${t} field. Found a duplicate ${r} with the same name.`)}}function el(e,t,n){if(!l(n)){const r=Ue(n);O.fail(`Invalid @wire ${t} field. Found a duplicate ${r} with the same name.`)}}function tl(e,t,n){(l(n)||!T(n.value)||L(n.writable))&&O.fail(`Invalid @wire ${t} method.`)}function nl(e,t,n){if(!l(n)){const r=Ue(n),o=`Invalid @api ${t} field. Found a duplicate ${r} with the same name.`;r==="accessor"?_(o):O.fail(o)}}function rl(e,t,n){l(n)?O.fail(`Invalid @api get ${t} accessor.`):T(n.set)?O.isTrue(T(n.get),`Missing getter for property ${t} decorated with @api in ${e}. You cannot have a setter without the corresponding getter.`):T(n.get)||O.fail(`Missing @api get ${t} accessor.`)}function ol(e,t,n){(l(n)||!T(n.value)||L(n.writable))&&O.fail(`Invalid @api ${t} method.`)}function pi(e,t){const n=e.prototype,{publicProps:r,publicMethods:o,wire:i,track:s,fields:a}=t,c=y(null),u=y(null),d=y(null),f=y(null),E=y(null),v=y(null);let h;if(!l(r))for(const p in r){const N=r[p];if(v[p]=N.config,h=q(n,p),N.config>0){if(l(h))throw new Error;h=Un(p,h)}else!l(h)&&!l(h.get)?h=Un(p,h):h=ai(p);u[p]=h,R(n,p,h)}if(l(o)||pe.call(o,p=>{if(h=q(n,p),l(h))throw new Error;c[p]=h}),!l(i))for(const p in i){const{adapter:N,method:b,config:F,dynamic:B=[]}=i[p];if(h=q(n,p),b===1){if(l(h))throw new Error;d[p]=h,sa(h,N,F,B)}else h=fi(p),f[p]=h,aa(h,N,F,B),R(n,p,h)}if(!l(s))for(const p in s)h=q(n,p),h=ui(p),R(n,p,h);if(!l(a))for(let p=0,N=a.length;p{L(n.isDirty)&&(ce(n),tn(n))}),t.clear()),!0}function al(e){const t=Ge.get(e);return l(t)||(t.forEach(n=>{Lr(n)}),t.clear()),!0}function cl(e){const t=ze.get(e);let n=!0;return l(t)||(t.forEach(r=>{const{owner:o}=r;g(o)?n=!1:Lr(o)}),t.clear()),n}function ll(e){throw new ReferenceError}function ul(e){throw new ReferenceError}function Ti(e){throw new ReferenceError}function dl(e){throw new ReferenceError}function fl(e){throw new ReferenceError}function Mi(e,t){if(!k.ENABLE_HMR)throw new Error("HMR is not enabled");return!1}function Si(e,t){if(!k.ENABLE_HMR)throw new Error("HMR is not enabled");return!1}function Di(e,t){if(!k.ENABLE_HMR)throw new Error("HMR is not enabled");return!1}const It=new WeakMap;function Oi(e){let t=de(e);if(g(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(vt(t)){const n=wt(t);t=n===t?M:n}return t}function _i(e){const{shadowSupportMode:t,renderMode:n}=e,r=gi(e),{apiFields:o,apiFieldsConfig:i,apiMethods:s,wiredFields:a,wiredMethods:c,observedFields:u}=r,d=e.prototype;let{connectedCallback:f,disconnectedCallback:E,renderedCallback:v,errorCallback:h,render:p}=d;const N=Oi(e),b=N!==M?Ce(N):$i,F=Yn(b.bridge,W(o),W(s)),B=j(y(null),b.props,o),$c=j(y(null),b.propsConfig,i),Vc=j(y(null),b.methods,s),Ac=j(y(null),b.wire,a,c);f=f||b.connectedCallback,E=E||b.disconnectedCallback,v=v||b.renderedCallback,h=h||b.errorCallback,p=p||b.render;let Xr=b.shadowSupportMode;l(t)||(Xr=t);let Jr=b.renderMode;l(n)||(Jr=n==="light"?0:1);const Rc=Ps(e)||b.template,Lc=e.name||b.name;return U(d,u),{ctor:e,name:Lc,wire:Ac,props:B,propsConfig:$c,methods:Vc,bridge:F,template:Rc,renderMode:Jr,shadowSupportMode:Xr,connectedCallback:f,disconnectedCallback:E,renderedCallback:v,errorCallback:h,render:p}}function xt(e){if(!T(e))return!1;if(e.prototype instanceof M)return!0;let t=e;do{if(vt(t)){const n=wt(t);if(n===t)return!0;t=n}if(t===M)return!0}while(!g(t)&&(t=de(t)));return!1}function Ce(e){let t=It.get(e);if(l(t)){if(vt(e)){const n=wt(e);return t=Ce(n),It.set(e,t),t}if(!xt(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=_i(e),It.set(e,t)}return t}function ki(e){return Ce(e).bridge}const $i={ctor:M,name:M.name,props:At,propsConfig:$,methods:$,renderMode:1,shadowSupportMode:"reset",wire:$,bridge:Pt,template:Lt,render:M.prototype.render};function Vi(e){const t=Ce(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,a={};for(const u in o)a[u]={config:i[u]||0,type:"any",attr:vn(u)};const c={};for(const u in s)c[u]=s[u].value;return{ctor:n,name:r,props:a,methods:c}}function Zn(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;e=e.toLowerCase();let i=n(e);return l(i)&&(i=class extends r{constructor(a){super();T(a)&&a(this)}},o(e,i)),i}function Ai(e){const{type:t}=e;return t===2||t===3}function qe(e,t){return e.key===t.key&&e.sel===t.sel}const er=58;function Ri(e,t,n){const{attrs:r}=t.data;if(l(r))return;const o=g(e)?$:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:a}=n;for(const c in r){const u=r[c];o[c]!==u&&(Ee(i,c),Re.call(c,3)===er?s(i,c,u,Eo):Re.call(c,5)===er?s(i,c,u,vo):g(u)||l(u)?a(i,c):s(i,c,u),ye())}}function Li(e,t){return e==="input"&&(t==="value"||t==="checked")}function tr(e,t,n){const{props:r}=t.data;if(l(r))return;const o=g(e)?$:e.data.props;if(o===r)return;const i=g(e),{elm:s,sel:a}=t,{getProperty:c,setProperty:u}=n;for(const d in r){const f=r[d];(i||f!==(Li(a,d)?c(s,d):o[d]))&&u(s,d,f)}}const nr=y(null);function rr(e){if(e==null)return $;e=yn(e)?e:e+"";let t=nr[e];if(t)return t;t=y(null);let n=0,r;const o=e.length;for(r=0;rn&&(t[gn.call(e,n,r)]=!0),n=r+1);return r>n&&(t[gn.call(e,n,r)]=!0),nr[e]=t,t}function Pi(e,t,n){const{elm:r,data:{className:o}}=t,i=g(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,a=s(r),c=rr(o),u=rr(i);let d;for(d in u)l(c[d])&&a.remove(d);for(d in c)l(u[d])&&a.add(d)}function Ii(e,t,n){const{elm:r,data:{style:o}}=t;if((g(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:a}=n;!yn(o)||o===""?a(r,"style"):s(r,"style",o)}function or(e,t){const{elm:n,data:{on:r}}=e;if(l(r))return;const{addEventListener:o}=t;for(const i in r){const s=r[i];o(n,i,s)}}function xi(e,t){const{elm:n,data:{classMap:r}}=e;if(l(r))return;const{getClassList:o}=t,i=o(n);for(const s in r)i.add(s)}function Hi(e,t){const{elm:n,data:{styleDecls:r}}=e;if(l(r))return;const{setCSSStyleProperty:o}=t;for(let i=0;i{a=Xi(u,e,r)});if(Te(c,i,r),e.elm=c,e.vm=a,a)Wt(e,a);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");Qe(null,e,r),G(c,t,n,r),a&&ot(a),Ye(e.children,c,r,null),a&&js(a)}function qi(e,t,n){const r=t.elm=e.elm,o=t.vm=e.vm;Qe(e,t,n),l(o)||Wt(t,o),Ht(e.children,t.children,r,n),l(o)||_r(o)}function Ye(e,t,n,r,o=0,i=e.length){for(;os){let F=d,B;do B=t[++F];while(!V(B)&&F=0;a-=1){const c=e[a],u=t[a];u!==c&&(V(c)?V(u)?(ie(c,u,r),s=u.elm):ir(c,n,r,!0):V(u)&&(se(u,n,r,s),s=u.elm))}}const os=Symbol.iterator;function is(e){C.call(A().velements,e)}function ss(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:A()}}function ur(e,t,n=P){const r=A();let o;const{key:i}=t;return{type:2,sel:e,data:t,children:n,elm:o,key:i,owner:r}}function as(e){return e>0&&!(K(e)||L(e))?0:e}function cs(e,t,n,r){!l(r)&&!l(r[e])&&r[e].length!==0&&(n=r[e]);const o=A(),{renderMode:i,shadowMode:s}=o;return i===0?(Xe(n),n):(s===1&&Xe(n),ur("slot",t,n))}function dr(e,t,n,r=P){const o=A(),{key:i}=n;let s,a,c;const u={type:3,sel:e,data:n,children:r,elm:s,key:i,ctor:t,owner:o,mode:"open",aChildren:a,vm:c};return is(u),u}function ls(e,t){const n=[];Xe(n);const r=A();if(l(e)||e===null)return n;const o=e[os]();let i=o.next(),s=0,{value:a,done:c}=i,u,d;for(;c===!1;){i=o.next(),c=i.done;const f=t(a,s,s===0,c===!0);re(f)?C.apply(n,f):C.call(n,f),s+=1,a=i.value}return n}function us(e){const t=e.length,n=[];Xe(n);for(let r=0;r`${o}-${n}`):e}function ys(e){const t=A();if(l(e)||e==="")return e;if(g(e))return null;const{idx:n,shadowMode:r}=t;return r===1&&/^#/.test(e)?`${e}-${n}`:e}const fr=new Map;let Es=0;function ws(e,t,n,r=P){if(t==null)return null;if(!xt(t))throw new Error(`Invalid LWC Constructor ${he(t)} for custom element <${e}>.`);let o=fr.get(t);l(o)&&(o=Es++,fr.set(t,o));const i=Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`});return dr(e,t,i,r)}function Xe(e){return Zi(e),e}let pr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};function vs(e){pr=e}function bs(e){return pr(e)}const jt=ct({s:cs,h:ur,c:dr,i:ls,f:us,t:ds,d:ps,b:hs,k:ms,co:fs,dc:ws,ti:as,st:ss,gid:gs,fid:ys,shc:bs});function Je(e){return`${e}-host`}function Ns(e){return jt.h("style",{key:"style",attrs:{type:"text/css"}},[jt.t(e)])}function Cs(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:a,setAttribute:c}}=e,{stylesheets:u,stylesheetToken:d}=t,f=o===1&&i===1,{hasScopedStyles:E}=r;let v,h,p;const{stylesheetToken:N,hasTokenInClass:b,hasTokenInAttribute:F}=r;l(N)||(b&&s(n).remove(Je(N)),F&&a(n,Je(N))),!l(u)&&u.length!==0&&(v=d),l(v)||(E&&(s(n).add(Je(v)),h=!0),f&&(c(n,Je(v),""),p=!0)),r.stylesheetToken=v,r.hasTokenInClass=h,r.hasTokenInAttribute=p}function hr(e,t,n){const r=[];let o;for(let i=0;i{performance.mark(e)}:S,Er=gr?(e,t)=>{performance.measure(e,t),performance.clearMarks(t),performance.clearMeasures(e)}:S;function Ut(e){return Ds[e]}function wr(e,t){return`${Y(t)} - ${Ut(e)}`}function Ze(e,t){return`${wr(e,t)} - ${t.idx}`}const et=!1;let ae=!1,J=S;const Os={enableProfiler(){ae=!0},disableProfiler(){ae=!1},attachDispatcher(e){J=e,this.enableProfiler()},detachDispatcher(){const e=J;return J=S,this.disableProfiler(),e}};function Z(e,t){if(et){const n=Ze(e,t);yr(n)}ae&&J(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ee(e,t){if(et){const n=Ze(e,t),r=wr(e,t);Er(r,n)}ae&&J(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function vr(e,t){if(et){const n=Ut(e),r=l(t)?n:Ze(e,t);yr(r)}ae&&J(e,0,t==null?void 0:t.tagName,t==null?void 0:t.idx,t==null?void 0:t.renderMode,t==null?void 0:t.shadowMode)}function Kt(e,t){if(et){const n=Ut(e),r=l(t)?n:Ze(e,t);Er(n,r)}ae&&J(e,1,t==null?void 0:t.tagName,t==null?void 0:t.idx,t==null?void 0:t.renderMode,t==null?void 0:t.shadowMode)}let zt=!1,Me=null;function A(){return Me}function br(e){Me=e}function pl(e,t){throw new ReferenceError}function hl(e,t){e!==Lt&&(t.renderMode===0?O.isTrue(e.renderMode==="light",`Light DOM components can't render shadow DOM templates. Add an 'lwc:render-mode="light"' directive to the root template tag of ${Y(t)}.`):O.isTrue(l(e.renderMode),`Shadow DOM components template can't render light DOM templates. Either remove the 'lwc:render-mode' directive from ${Y(t)} or set it to 'lwc:render-mode="shadow"`))}function Nr(e){return(t,...n)=>{const r=y(null);return function(){const{context:{hasScopedStyles:o,stylesheetToken:i},shadowMode:s,renderer:a}=A(),c=!l(i),u=s===1;let d=0;if(c&&o&&(d|=1),c&&u&&(d|=2),!l(r[d]))return r[d];const f=o&&c?" "+i:"",E=o&&c?` class="${i}"`:"",v=c&&u?" "+i:"";let h="";for(let p=0,N=n.length;p{const{createFragment:n}=t;return n(e)}),ks=Nr((e,t)=>{const{createFragment:n,getFirstChild:r}=t,o=n(""+e+"");return r(o)});function $s(e,t){const n=zt,r=Me;let o=[];return z(e,e.owner,()=>{Me=e,Z(1,e)},()=>{const{component:i,context:s,cmpSlots:a,cmpTemplate:c,tro:u}=e;u.observe(()=>{if(t!==c){if(g(c)||Rr(e),!yi(t))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: ${he(t)}.`);e.cmpTemplate=t,s.tplCache=y(null),s.hasScopedStyles=Vs(t),Cs(e,t);const f=Ts(e,t);s.styleVNodes=f.length===0?null:Ss(e,f)}e.velements=[],zt=!0,o=t.call(void 0,jt,i,a,s.tplCache);const{styleVNodes:d}=s;g(d)||ft.apply(o,d)})},()=>{zt=n,Me=r,ee(1,e)}),o}function Vs(e){const{stylesheets:t}=e;if(!l(t)){for(let n=0;n{o(r,t,n)},S)}function As(e,t){const n=te;let r;Z(0,e),te=e;try{const o=new t;if(te.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(o){r=Object(o)}finally{if(ee(0,e),te=n,!l(r))throw On(e,r),r}}function Rs(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Gt,s=A();let a,c=!1;return z(e,o,()=>{Gt=!0,br(e)},()=>{e.tro.observe(()=>{a=n(r,t),c=!0})},()=>{Gt=i,br(s)}),c?$s(e,a):[]}function Cr(e,t,n,r){const{callHook:o,owner:i}=e;z(e,i,S,()=>{o(n,t,[r])},S)}const Tr=new Map;function Ls(e,{tmpl:t}){return T(e)&&Tr.set(e,t),e}function Ps(e){return Tr.get(e)}function Is(e){return new Et(()=>{const{isDirty:t}=e;L(t)&&(ce(e),tn(e))})}function Mr(e){e.tro.reset();const t=Rs(e);return e.isDirty=!1,e.isScheduled=!1,t}function ce(e){e.isDirty=!0}const Sr=new WeakMap;function Dr(e,t){if(!T(t))throw new TypeError;let n=Sr.get(t);return l(n)&&(n=function(r){Cr(e,t,void 0,r)},Sr.set(t,n)),n}const Se=y(null),Or=["rendered","connected","disconnected"];function xs(e){for(let t=0;t0||r.length>0)&&r!==t&&z(e,e,()=>{Z(2,e)},()=>{Ht(r,t,n,o)},()=>{ee(2,e)}),e.state===1&&kr(e)}function kr(e){const{def:{renderedCallback:t},renderer:{ssr:n}}=e;if(K(n))return;const{rendered:r}=Se;r&&Yt(e,r),l(t)||(Z(4,e),tt(e,t),ee(4,e))}let ue=[];function $r(){vr(8);const e=ue.sort((t,n)=>t.idx-n.idx);ue=[];for(let t=0,n=e.length;t0}function qs(e){L(e.isDirty)&&(e.isDirty=!0),e.state=2;const{disconnected:t}=Se;t&&Yt(e,t),en(e)&&ua(e);const{disconnectedCallback:n}=e.def;l(n)||(Z(5,e),tt(e,n),ee(5,e))}function Vr(e){const{velements:t}=e;for(let n=t.length-1;n>=0;n-=1){const{elm:r}=t[n];if(!l(r)){const o=le(r);l(o)||nt(o)}}}function Ys(e){const{aChildren:t}=e;Ar(t)}function Ar(e){for(let t=0,n=e.length;t[],L(e.isDirty)&&(ce(e),tn(e))}const Xs="$$DeprecatedWiredElementHostKey$$",Js="$$DeprecatedWiredParamsMetaKey$$",nn=new Map;class Zs extends CustomEvent{constructor(t,{setNewContext:n,setDisconnectedCallback:r}){super(t,{bubbles:!0,composed:!0});U(this,{setNewContext:{value:n},setDisconnectedCallback:{value:r}})}}function ea(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,oe(e,t))}}function ta(e,t){return n=>{z(e,e.owner,S,()=>{t.call(e.component,n)},S)}}function na(e,t,n){let r=!1;const o=new Et(()=>{r===!1&&(r=!0,Promise.resolve().then(()=>{r=!1,o.reset(),i()}))}),i=()=>{let s;o.observe(()=>s=t(e)),n(s)};return{computeConfigAndUpdate:i,ro:o}}function ra(e,t,n){const{adapter:r}=t,o=Ir(r);if(l(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:a},renderer:{dispatchEvent:c}}=e;C.call(s,()=>{const u=new Zs(o,{setNewContext(d){n(d)},setDisconnectedCallback(d){C.call(a,d)}});c(i,u)})}function oa(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:s}=n,a=l(r)?ea(e,t):ta(e,r);let c,u;R(a,Xs,{value:e.elm}),R(a,Js,{value:s}),z(e,e,S,()=>{u=new o(a)},S);const d=v=>{z(e,e,S,()=>{u.update(v,c)},S)},{computeConfigAndUpdate:f,ro:E}=na(e.component,i,d);return l(o.contextSchema)||ra(e,n,v=>{c!==v&&(c=v,e.state===1&&f())}),{connector:u,computeConfigAndUpdate:f,resetConfigWatcher:()=>E.reset()}}const Pr=new Map;function Ir(e){return Pr.get(e)}function ia(e,t){Pr.set(e,t)}function sa(e,t,n,r){t.adapter&&(t=t.adapter);const o=e.value,i={adapter:t,method:o,configCallback:n,dynamic:r};nn.set(e,i)}function aa(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};nn.set(e,o)}function ca(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const i in n){const s=n[i],a=nn.get(s);if(!l(a)){const{connector:c,computeConfigAndUpdate:u,resetConfigWatcher:d}=oa(e,i,a),f=a.dynamic.length>0;C.call(r,()=>{if(c.connect(),!k.ENABLE_WIRE_SYNC_EMIT&&f){Promise.resolve().then(u);return}u()}),C.call(o,()=>{c.disconnect(),d()})}}}function la(e){const{wiredConnecting:t}=e.context;for(let n=0,r=t.length;n{for(let n=0,r=t.length;n{if(n.has(r))throw new Error(`Adapter was already installed on ${r}.`);n.add(r);const{consumerConnectedCallback:i,consumerDisconnectedCallback:s}=o;r.addEventListener(t,a=>{const{setNewContext:c,setDisconnectedCallback:u}=a,d={provide(E){c(E)}};u(()=>{l(s)||s(d)}),i(d),a.stopImmediatePropagation()})}}function fa(e){return Ne.getReadOnlyProxy(e)}let Oe=!1;function pa(e){Oe=!1,ot(e),xr(e),Oe&&_("Hydration completed with errors.",e)}function xr(e){const t=Mr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;rn(r(n),t,n,e),kr(e)}function ha(e,t,n){var r,o;let i;switch(t.type){case 0:i=ma(e,t,n);break;case 1:i=ga(e,t,n);break;case 4:i=ya(e,t,n);break;case 2:i=Ea(e,t,(r=t.data.renderer)!==null&&r!==void 0?r:n);break;case 3:i=wa(e,t,(o=t.data.renderer)!==null&&o!==void 0?o:n);break}return n.nextSibling(i)}function ma(e,t,n){var r;if(!ne(t,e,3,n))return _e(e,t,n);const{setText:o}=n;return o(e,(r=t.text)!==null&&r!==void 0?r:null),t.elm=e,e}function ga(e,t,n){var r;if(!ne(t,e,8,n))return _e(e,t,n);const{setProperty:o}=n;return o(e,"nodeValue",(r=t.text)!==null&&r!==void 0?r:null),t.elm=e,e}function ya(e,t,n){return Ca(t.fragment,e,t,n)?(t.elm=e,e):_e(e,t,n)}function Ea(e,t,n){if(!ne(t,e,1,n)||!Fr(t,e,n))return _e(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!l(o)&&!l(o.lwc)&&o.lwc.dom==="manual");if(i){const{data:{props:s}}=t,{getProperty:a}=n;!l(s)&&!l(s.innerHTML)&&a(e,"innerHTML")===s.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Lo(s,"innerHTML")}))}if(Hr(t,n),!i){const{getFirstChild:s}=n;rn(s(e),t.children,e,r)}return e}function wa(e,t,n){if(!ne(t,e,1,n)||!Fr(t,e,n))return _e(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,a=De(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=a,Wt(t,a),Hr(t,n),ot(a),a.renderMode!==0){const{getFirstChild:c}=n;rn(c(e),t.children,e,a)}return xr(a),e}function rn(e,t,n,r){let o=!1,i=e,s=null;const{renderer:a}=r;for(let c=0;cW(o).length&&(a=!1)}return a}function Na(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let a,c=!0;if(!l(r)&&r!==s)c=!1,a=r;else if(!l(o)){const u=Ro(s),d=[];for(let f=0,E=o.length;fo.length&&(c=!1),a=dt.call(d,";")}return c}function Ca(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(o(e,"nodeType")===3)return ne(n,t,3,r)?o(e,"nodeValue")===o(t,"nodeValue"):!1;if(o(e,"nodeType")===8)return ne(n,t,8,r)?o(e,"nodeValue")===o(t,"nodeValue"):!1;if(!ne(n,t,1,r))return!1;let s=!0;return o(e,"tagName")!==o(t,"tagName")?!1:(o(e,"getAttributeNames").call(e).forEach(c=>{i(e,c)!==i(t,c)&&(_(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${c}" has different values, expected "${i(e,c)}" but found "${i(t,c)}"`,n.owner),s=!1)}),s)}let Br=!1;function Ta(e){O.isFalse(Br,"Hooks are already overridden, only one definition is allowed."),Br=!0,vs(e.sanitizeHtmlContent)}const gl=["slots","stylesheetToken","stylesheets","renderMode"],Ma=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];function Sa(e){switch(e){case"pop":return so;case"push":return C;case"shift":return co;case"unshift":return ft;case"reverse":return ao;case"sort":return lo;case"fill":return io;case"splice":return pn;case"copyWithin":return oo}}let yl=!1;function El(e){for(const t of Ma){const n=Sa(t);e[t]=function(){return _('Mutating the "stylesheets" array on a template function is deprecated and may be removed in a future version of LWC.'),n.apply(this,arguments)}}}function Da(e){}function Oa(e){let t=null;if(!l(e)){const n=le(e);l(n)||(t=n.def.ctor)}return t}const on=T(CSSStyleSheet.prototype.replaceSync)&&re(document.adoptedStyleSheets),_a=on&&q(document.adoptedStyleSheets,"length").writable,ka=!l(document.documentMode),Wr=new Map;function jr(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function $a(e,t){const{element:n,usedElement:r}=t;return r?ka?jr(e):n.cloneNode(!0):(t.usedElement=!0,n)}function Va(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}function Aa(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;_a?r.push(o):t.adoptedStyleSheets=[...r,o]}function Ur(e,t,n){const r=$a(e,n);t.appendChild(r)}function Kr(e,t){let n=Wr.get(e);return l(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Wr.set(e,n)),t&&l(n.stylesheet)?n.stylesheet=Va(e):!t&&l(n.element)&&(n.element=jr(e)),n}function Ra(e){const t=Kr(e,!1);t.global||(t.global=!0,Ur(e,document.head,t))}function La(e,t){const n=Kr(e,on);let{roots:r}=n;if(l(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),on?Aa(e,t,n):Ur(e,t,n)}function Pa(e,t){l(t)?Ra(e):La(e,t)}let sn,an,it;function Ia(){if(typeof customElements=="undefined")return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(Math.random()*1e6),t),new t,!0}catch(e){return!1}}if(Ia())sn=customElements.get.bind(customElements),an=customElements.define.bind(customElements),it=HTMLElement;else{const e=y(null),t=new WeakMap;an=function(r,o){if(r!==pt.call(r)||e[r])throw new TypeError("Invalid Registration");e[r]=o,t.set(o,r)},sn=function(r){return e[r]},it=function n(){if(!(this instanceof n))throw new TypeError("Invalid Invocation");const{constructor:r}=this,o=t.get(r);if(!o)throw new TypeError("Invalid Construction");const i=document.createElement(o);return fe(i,r.prototype),i},it.prototype=HTMLElement.prototype}let cn=!1;function st(e){cn=e}const xa=!1;function Ha(){return cn}const Fa=Ie[ho],zr=Ve.call(Element.prototype,go);function Ba(e,t){return e.cloneNode(t)}function Wa(e){return document.createRange().createContextualFragment(e).firstChild}function ja(e,t){return l(t)?document.createElement(e):document.createElementNS(t,e)}function Ua(e){return document.createTextNode(e)}function Ka(e){return document.createComment(e)}function za(e,t,n){t.insertBefore(e,n)}function Ga(e,t){t.removeChild(e)}function qa(e){return e.nextSibling}function Ya(e,t){return cn?e.shadowRoot:e.attachShadow(t)}function Qa(e,t){e.nodeValue=t}function Xa(e,t){return e[t]}function Ja(e,t,n){e[t]=n}function Za(e,t,n){return l(n)?e.getAttribute(t):e.getAttributeNS(n,t)}function ec(e,t,n,r){return l(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)}function tc(e,t,n){l(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)}function nc(e,t,n,r){e.addEventListener(t,n,r)}function rc(e,t,n,r){e.removeEventListener(t,n,r)}function oc(e,t){return e.dispatchEvent(t)}function ic(e){return e.classList}function sc(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function ac(e){return e.getBoundingClientRect()}function cc(e,t){return e.querySelector(t)}function lc(e,t){return e.querySelectorAll(t)}function uc(e,t){return e.getElementsByTagName(t)}function dc(e,t){return e.getElementsByClassName(t)}function fc(e){return e.children}function pc(e){return e.childNodes}function hc(e){return e.firstChild}function mc(e){return e.firstElementChild}function gc(e){return e.lastChild}function yc(e){return e.lastElementChild}function Ec(e){return e.isConnected}function wc(e,t){O.invariant(e instanceof HTMLElement,t)}const ke={ssr:xa,isNativeShadowDefined:Fa,isSyntheticShadowDefined:zr,HTMLElementExported:it,isHydrating:Ha,insert:za,remove:Ga,cloneNode:Ba,createFragment:Wa,createElement:ja,createText:Ua,createComment:Ka,nextSibling:qa,attachShadow:Ya,getProperty:Xa,setProperty:Ja,setText:Qa,getAttribute:Za,setAttribute:ec,removeAttribute:tc,addEventListener:nc,removeEventListener:rc,dispatchEvent:oc,getClassList:ic,setCSSStyleProperty:sc,getBoundingClientRect:ac,querySelector:cc,querySelectorAll:lc,getElementsByTagName:uc,getElementsByClassName:dc,getChildren:fc,getChildNodes:pc,getFirstChild:hc,getFirstElementChild:mc,getLastChild:gc,getLastElementChild:yc,isConnected:Ec,insertStylesheet:Pa,assertInstanceOfHTMLElement:wc,defineCustomElement:an,getCustomElement:sn};function vc(e,t){if(e.shadowRoot){const n=e.shadowRoot;for(;!g(n.firstChild);)n.removeChild(n.firstChild)}if(t.renderMode==="light")for(;!g(e.firstChild);)e.removeChild(e.firstChild)}function Gr(e,t,n){const r=De(e,t,ke,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[o,i]of Object.entries(n))e[o]=i;return r}function qr(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!T(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!Le(n)||g(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(le(e)){console.warn('"hydrateComponent" expects an element that is not hydrated.',e);return}try{st(!0);const r=Gr(e,t,n);pa(r),st(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),vc(e,t),Gr(e,t,n),st(!1),Xt(e)}finally{st(!1)}}function bc(e){return e.CustomElementConstructor}const ln=new WeakSet;function Nc(e){const t=ki(e);return class extends t{constructor(){super();this.isConnected?(qr(this,e,{}),ln.add(this)):De(this,e,ke,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ln.has(this)?ln.delete(this):Xt(this)}disconnectedCallback(){Jt(this)}}}const Yr=Node,at=new WeakMap,un=new WeakMap;function $e(e,t){const n=t.get(e);return l(n)||n(e),e}const{appendChild:Cc,insertBefore:Tc,removeChild:Mc,replaceChild:Sc}=Yr.prototype;j(Yr.prototype,{appendChild(e){const t=Cc.call(this,e);return $e(t,at)},insertBefore(e,t){const n=Tc.call(this,e,t);return $e(n,at)},removeChild(e){const t=Mc.call(this,e);return $e(t,un)},replaceChild(e,t){const n=Sc.call(this,e,t);return $e(n,un),$e(e,at),n}});function Dc(e,t){if(!Le(t)||g(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${he(t)}".`);const n=t.is;if(!T(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Zn(e,ke);let o=!1;const i=new r(s=>{De(s,n,ke,{tagName:e,mode:t.mode!=="closed"?"open":"closed",owner:null}),at.set(s,Xt),un.set(s,Jt),o=!0});return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i}const Oc=Node;function _c(e){if(L(e instanceof Oc)||e instanceof ShadowRoot)return!1;const t=e.getRootNode();return t instanceof ShadowRoot&&L(Ve.call(de(t),"synthetic"))?!0:zr&&!l(e[ht])}const Qr=new Map;function kc(e){if(e===M)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Qr.get(e);return l(t)&&(t=Nc(e),Qr.set(e,t)),t}R(M,"CustomElementConstructor",{get(){return kc(this)}}),ct(M),Ae(M.prototype),w.LightningElement=M,w.__unstable__ProfilerControl=Os,w.api=si,w.buildCustomElementConstructor=bc,w.createContextProvider=da,w.createElement=Dc,w.freezeTemplate=Da,w.getComponentConstructor=Oa,w.getComponentDef=Vi,w.hydrateComponent=qr,w.isComponentConstructor=xt,w.isNodeFromTemplate=_c,w.parseFragment=_s,w.parseSVGFragment=ks,w.readonly=fa,w.register=xs,w.registerComponent=Ls,w.registerDecorators=pi,w.registerTemplate=Ei,w.renderer=ke,w.sanitizeAttribute=wi,w.setFeatureFlag=Do,w.setFeatureFlagForTest=Oo,w.setHooks=Ta,w.swapComponent=Si,w.swapStyle=Di,w.swapTemplate=Mi,w.track=li,w.unwrap=ti,w.wire=di,Object.defineProperty(w,"__esModule",{value:!0})});