lwc 2.13.3 → 2.14.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 (43) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +351 -129
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +351 -128
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +195 -122
  5. package/dist/engine-dom/iife/es5/engine-dom.js +7581 -5773
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +5966 -4601
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +351 -128
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +195 -122
  11. package/dist/engine-dom/umd/es5/engine-dom.js +7581 -5773
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +5966 -4601
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +188 -52
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +188 -53
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +29 -4
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +29 -4
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +10 -13
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +4601 -3603
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +10 -1
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +4424 -3481
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +29 -4
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +10 -13
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +4601 -3603
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +10 -1
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +4424 -3481
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service.min.js +1 -1
  33. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service.js +243 -258
  35. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  36. package/dist/wire-service/iife/es5/wire-service_debug.js +243 -258
  37. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
  39. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  40. package/dist/wire-service/umd/es5/wire-service.js +243 -258
  41. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  42. package/dist/wire-service/umd/es5/wire-service_debug.js +243 -258
  43. package/package.json +7 -7
@@ -1 +1 @@
1
- "use strict";function v(a,b){if(!a)throw new Error(`Invariant Violation: ${b}`)}function w(a,b){if(!a)throw new Error(`Assert Violation: ${b}`)}function x(a,b){if(a)throw new Error(`Assert Violation: ${b}`)}function y(a){throw new Error(a)}Object.defineProperty(exports,"__esModule",{value:!0});var i,bP=Object.freeze({__proto__:null,invariant:v,isTrue:w,isFalse:x,fail:y});const{assign:z,create:b,defineProperties:q,defineProperty:j,freeze:k,getOwnPropertyDescriptor:bQ,getOwnPropertyNames:A,getPrototypeOf:bR,hasOwnProperty:bS,isFrozen:bT,keys:B,seal:f,setPrototypeOf:bU}=Object,{isArray:bV}=Array,{filter:bW,find:bX,indexOf:bY,join:bZ,map:b$,push:b_,reduce:b0,reverse:b1,slice:b2,splice:b3,unshift:b4,forEach:r}=Array.prototype,{fromCharCode:b5}=String,{charCodeAt:b6,replace:b7,slice:b8,toLowerCase:b9}=String.prototype;function ca(a){return void 0===a}function cb(a){return null===a}function cc(a){return!0===a}function cd(a){return!1===a}function ce(a){return"boolean"==typeof a}function cf(a){return"function"==typeof a}function cg(a){return"object"==typeof a}function ch(a){return"string"==typeof a}function g(){}const ci={}.toString;function cj(a){return a&&a.toString?bV(a)?bZ.call(b$.call(a,cj),","):a.toString():"object"==typeof a?ci.call(a):a+""}function ck(a,c){do{let b=bQ(a,c);if(!ca(b))return b;a=bR(a)}while(null!==a)}const cl=["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:cm,AriaPropNameToAttrNameMap:C}=(()=>{let a=b(null),c=b(null);return r.call(cl,b=>{let d=b9.call(b7.call(b,/^aria/,()=>"aria-"));a[d]=b,c[b]=d}),{AriaAttrNameToPropNameMap:a,AriaPropNameToAttrNameMap:c}})();function cn(a){return a in cm}const e=function(){if("object"==typeof globalThis)return globalThis;let a;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),a=__magic__,delete Object.prototype.__magic__}catch(b){}finally{void 0===a&&(a=window)}return a}(),co="$shadowResolver$",cp="$$lwc-synthetic-mode",cq="$scoped$",D=["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","path","rect","source","track","wbr",],cr=new Set(D);function cs(a){return cr.has(a)}const ct=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 cu(b,c){let a=ct.get(b);return void 0!==a&&(0===a.size||a.has(c))}const cv=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title",]);function cw(a){return cv.has(a)}const cx=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"],]),cy=new Map;function cz(a){let e=C[a];if(!ca(e))return e;let f=cx.get(a);if(!ca(f))return f;let g=cy.get(a);if(!ca(g))return g;let b="";for(let d=0,h=a.length;d<h;d++){let c=b6.call(a,d);c>=65&&c<=90?b+="-"+b5(c+32):b+=b5(c)}return cy.set(a,b),b}const cA="http://www.w3.org/XML/1998/namespace",cB="http://www.w3.org/2000/svg",cC="http://www.w3.org/1999/xlink";if("function"!=typeof Event){class E{}j(e,"Event",{value:E,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class F extends Event{}j(e,"CustomEvent",{value:F,configurable:!0,writable:!0})}const cD={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};e.lwcRuntimeFlags||Object.defineProperty(e,"lwcRuntimeFlags",{value:b(null)});const cE=e.lwcRuntimeFlags;function G(a,b){if(!ce(b)){let d=`Failed to set the value "${b}" for the runtime feature flag "${a}". Runtime feature flags can only be set to a boolean value.`;console.error(d);return}if(ca(cD[a])){let e=B(cD).map(a=>`"${a}"`).join(", ");console.warn(`Failed to set the value "${b}" for the runtime feature flag "${a}" because it is undefined. Available flags: ${e}.`);return}{let c=cE[a];if(!ca(c)){console.error(`Failed to set the value "${b}" for the runtime feature flag "${a}". "${a}" has already been set with the value "${c}".`);return}j(cE,a,{value:b})}}function H(a,b){}let cF=[];const cG=32,d=f(b(null)),cH=f([]);function cI(){let b=cF;cF=[];for(let a=0,c=b.length;a<c;a+=1)b[a]()}function cJ(a){0===cF.length&&Promise.resolve().then(cI),b_.call(cF,a)}function cK(){function a(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}let cL;function I(a){cL=a}let cM;function J(a){cM=a}let cN;function K(a){cN=a}let cO;function L(a){cO=a}let cP;function M(a){cP=a}let cQ;function N(a){cQ=a}let cR;function O(a){cR=a}let cS;function P(a){cS=a}let cT;function Q(a){cT=a}let cU;function R(a){cU=a}let cV;function S(a){cV=a}let cW;function T(a){cW=a}let cX;function U(a){cX=a}let cY;function V(a){cY=a}let cZ;function W(a){cZ=a}let c$;function X(a){c$=a}let c_;function Y(a){c_=a}let c0;function Z(a){c0=a}let c1;function $(a){c1=a}let c2;function _(a){c2=a}let c3;function aa(a){c3=a}let ab;function ac(a){ab=a}let c4;function ad(a){c4=a}let c5;function ae(a){c5=a}let c6;function af(a){c6=a}let c7;function ag(a){c7=a}let c8;function ah(a){c8=a}let c9;function ai(a){c9=a}let da;function aj(a){da=a}let db;function ak(a){db=a}let dc;function al(a){dc=a}let dd;function am(a){dd=a}let de;function an(a){de=a}let df;function ao(a){df=a}let ap;function aq(a){ap=a}let dg;function ar(a){dg=a}let dh;function as(a){dh=a}let di;function at(a){di=a}let dj;function au(a){dj=a}const dk=new WeakMap;function dl(c){let a=dk.get(c);if(ca(a)){let d=b(null);a=d,dk.set(c,d)}return a}let dm=null;function av(d,e){let c=dk.get(d);if(!ca(c)){let a=c[e];if(!ca(a))for(let b=0,f=a.length;b<f;b+=1){let g=a[b];g.notify()}}}function aw(e,c){if(null===dm)return;let b=dm,d=dl(e),a=d[c];if(ca(a))a=[],d[c]=a;else if(a[0]===b)return;-1===bY.call(a,b)&&b.link(a)}class ax{constructor(a){this.listeners=[],this.callback=a}observe(b){let c=dm;dm=this;let a;try{b()}catch(d){a=Object(d)}finally{if(dm=c,void 0!==a)throw a}}reset(){let{listeners:a}=this,c=a.length;if(c>0){for(let b=0;b<c;b+=1){let d=a[b],e=bY.call(a[b],this);b3.call(d,e,1)}a.length=0}}notify(){this.callback.call(void 0,this)}link(a){b_.call(a,this),b_.call(this.listeners,a)}}function dn(a,b){av(a.component,b)}function dp(a,b){aw(a.component,b)}function dq(a){return`<${b9.call(a.tagName)}>`}function dr(c){let b=[],a=c;for(;!cb(a);)b_.call(b,dq(a)),a=a.owner;return b.reverse().join("\n ")}function ds(b,a){if(!bT(a)&&ca(a.wcStack)){let c=dr(b);j(a,"wcStack",{get:()=>c})}}function dt(b){let a=b();return(null==a?void 0:a.__esModule)?a.default:a}function du(a){return cf(a)&&bS.call(a,"__circular__")}const s="undefined"!=typeof HTMLElement?HTMLElement:function(){},dv=s.prototype,ay=["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title",];function h(a){return`Using the \`${a}\` 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.`}z(b(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:h("offsetHeight")},offsetLeft:{readOnly:!0,error:h("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:h("offsetTop")},offsetWidth:{readOnly:!0,error:h("offsetWidth")},role:{attribute:"role"}});let dw=null,dx;function dy(a,b){return a!==dw||b!==dx}function dz(a,b){dw=null,dx=void 0}function dA(a,b){dw=a,dx=b}const l=b(null);r.call(B(C),a=>{let b=ck(dv,a);ca(b)||(l[a]=b)}),r.call(ay,a=>{let b=ck(dv,a);ca(b)||(l[a]=b)});const{isArray:dB}=Array,{prototype:dC,getPrototypeOf:dD,create:dE,defineProperty:dF,isExtensible:dG,getOwnPropertyDescriptor:dH,getOwnPropertyNames:dI,getOwnPropertySymbols:dJ,preventExtensions:dK,hasOwnProperty:dL}=Object,{push:dM,concat:dN}=Array.prototype;function dO(a){return void 0===a}function dP(a){return"function"==typeof a}const dQ=new WeakMap;function dR(a,b){dQ.set(a,b)}const dS=a=>dQ.get(a)||a;class t{constructor(a,b){this.originalTarget=b,this.membrane=a}wrapDescriptor(a){if(dL.call(a,"value"))a.value=this.wrapValue(a.value);else{let{set:b,get:c}=a;dO(c)||(a.get=this.wrapGetter(c)),dO(b)||(a.set=this.wrapSetter(b))}return a}copyDescriptorIntoShadowTarget(c,a){let{originalTarget:d}=this,b=dH(d,a);if(!dO(b)){let e=this.wrapDescriptor(b);dF(c,a,e)}}lockShadowTarget(a){let{originalTarget:c}=this,d=dN.call(dI(c),dJ(c));d.forEach(b=>{this.copyDescriptorIntoShadowTarget(a,b)});let{membrane:{tagPropertyKey:b}}=this;dO(b)||dL.call(a,b)||dF(a,b,dE(null)),dK(a)}apply(a,b,c){}construct(a,b,c){}get(e,a){let{originalTarget:b,membrane:{valueObserved:c}}=this,d=b[a];return c(b,a),this.wrapValue(d)}has(e,a){let{originalTarget:b,membrane:{tagPropertyKey:c,valueObserved:d}}=this;return d(b,a),a in b||a===c}ownKeys(d){let{originalTarget:a,membrane:{tagPropertyKey:b}}=this,c=dO(b)||dL.call(a,b)?[]:[b];return dM.apply(c,dI(a)),dM.apply(c,dJ(a)),c}isExtensible(a){let{originalTarget:b}=this;return!!dG(a)&&(!!dG(b)||(this.lockShadowTarget(a),!1))}getPrototypeOf(b){let{originalTarget:a}=this;return dD(a)}getOwnPropertyDescriptor(c,b){let{originalTarget:d,membrane:{valueObserved:f,tagPropertyKey:e}}=this;f(d,b);let a=dH(d,b);if(dO(a)){if(b!==e)return;return dF(c,e,a={value:void 0,writable:!1,configurable:!1,enumerable:!1}),a}return!1===a.configurable&&this.copyDescriptorIntoShadowTarget(c,b),this.wrapDescriptor(a)}}const dT=new WeakMap,dU=new WeakMap,dV=new WeakMap,dW=new WeakMap;class dX extends t{wrapValue(a){return this.membrane.getProxy(a)}wrapGetter(a){let c=dT.get(a);if(!dO(c))return c;let d=this,b=function(){return d.wrapValue(a.call(dS(this)))};return dT.set(a,b),dV.set(b,a),b}wrapSetter(a){let c=dU.get(a);if(!dO(c))return c;let b=function(b){a.call(dS(this),dS(b))};return dU.set(a,b),dW.set(b,a),b}unwrapDescriptor(a){if(dL.call(a,"value"))a.value=dS(a.value);else{let{set:b,get:c}=a;dO(c)||(a.get=this.unwrapGetter(c)),dO(b)||(a.set=this.unwrapSetter(b))}return a}unwrapGetter(a){let c=dV.get(a);if(!dO(c))return c;let d=this,b=function(){return dS(a.call(d.wrapValue(this)))};return dT.set(b,a),dV.set(a,b),b}unwrapSetter(a){let c=dW.get(a);if(!dO(c))return c;let d=this,b=function(b){a.call(d.wrapValue(this),d.wrapValue(b))};return dU.set(b,a),dW.set(a,b),b}set(f,a,c){let{originalTarget:b,membrane:{valueMutated:d}}=this,e=b[a];return e!==c?(b[a]=c,d(b,a)):"length"===a&&dB(b)&&d(b,a),!0}deleteProperty(d,a){let{originalTarget:b,membrane:{valueMutated:c}}=this;return delete b[a],c(b,a),!0}setPrototypeOf(a,b){}preventExtensions(a){if(dG(a)){let{originalTarget:b}=this;if(dK(b),dG(b))return!1;this.lockShadowTarget(a)}return!0}defineProperty(d,a,c){let{originalTarget:b,membrane:{valueMutated:e,tagPropertyKey:f}}=this;return!(a!==f||dL.call(b,a))||(dF(b,a,this.unwrapDescriptor(c)),!1===c.configurable&&this.copyDescriptorIntoShadowTarget(d,a),e(b,a),!0)}}const dY=new WeakMap,dZ=new WeakMap;class d$ extends t{wrapValue(a){return this.membrane.getReadOnlyProxy(a)}wrapGetter(a){let b=dY.get(a);if(!dO(b))return b;let d=this,c=function(){return d.wrapValue(a.call(dS(this)))};return dY.set(a,c),c}wrapSetter(a){let b=dZ.get(a);if(!dO(b))return b;let c=function(a){};return dZ.set(a,c),c}set(a,b,c){return!1}deleteProperty(a,b){return!1}setPrototypeOf(a,b){}preventExtensions(a){return!1}defineProperty(a,b,c){return!1}}function d_(a){if(null===a)return!1;if("object"!=typeof a)return!1;if(dB(a))return!0;let b=dD(a);return b===dC||null===b||null===dD(b)}const d0=(a,b)=>{},d1=(a,b)=>{};function d2(a){return dB(a)?[]:{}}class az{constructor(d={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;let{valueMutated:a,valueObserved:b,valueIsObservable:c,tagPropertyKey:e}=d;this.valueMutated=dP(a)?a:d1,this.valueObserved=dP(b)?b:d0,this.valueIsObservable=dP(c)?c:d_,this.tagPropertyKey=e}getProxy(b){let a=dS(b);return this.valueIsObservable(a)?this.readOnlyObjectGraph.get(a)===b?b:this.getReactiveHandler(a):a}getReadOnlyProxy(a){return(a=dS(a),this.valueIsObservable(a))?this.getReadOnlyHandler(a):a}unwrapProxy(a){return dS(a)}getReactiveHandler(a){let b=this.reactiveObjectGraph.get(a);if(dO(b)){let c=new dX(this,a);dR(b=new Proxy(d2(a),c),a),this.reactiveObjectGraph.set(a,b)}return b}getReadOnlyHandler(a){let b=this.readOnlyObjectGraph.get(a);if(dO(b)){let c=new d$(this,a);dR(b=new Proxy(d2(a),c),a),this.readOnlyObjectGraph.set(a,b)}return b}}const aA=Symbol.for("@@lockerLiveValue"),d3=new az({valueObserved:aw,valueMutated:av,tagPropertyKey:aA});function aB(a){return d3.unwrapProxy(a)}function aC(f,a){let{get:b,set:c,enumerable:d,configurable:e}=a;if(!cf(b))throw new TypeError;if(!cf(c))throw new TypeError;return{enumerable:d,configurable:e,get(){let a=f3(this);if(!fC(a))return dp(a,f),b.call(a.elm)},set(b){let a=f3(this);return b!==a.cmpProps[f]&&(a.cmpProps[f]=b,dn(a,f)),c.call(a.elm,b)}}}const c=function(){if(cb(fB))throw new ReferenceError("Illegal constructor");let a=fB,{def:c,elm:b}=a,{bridge:d}=c;if(bU(b,d.prototype),a.component=this,1===arguments.length){let{callHook:e,setHook:f,getHook:g}=arguments[0];a.callHook=e,a.setHook=f,a.getHook=g}return this[aA]=void 0,f2(this,a),f2(b,a),1===a.renderMode?a.renderRoot=d4(a):a.renderRoot=b,this};function d4(a){let{elm:c,mode:d,shadowMode:e,def:{ctor:f}}=a,b=cW(c,{["$$lwc-synthetic-mode"]:1===e,delegatesFocus:Boolean(f.delegatesFocus),mode:d});return a.shadowRoot=b,f2(b,a),b}c.prototype={constructor:c,dispatchEvent(a){let{elm:b}=f3(this);return c3(b,a)},addEventListener(b,c,d){let a=f3(this),{elm:e}=a,f=fN(a,c);c1(e,b,f,d)},removeEventListener(b,c,d){let a=f3(this),{elm:e}=a,f=fN(a,c);c2(e,b,f,d)},hasAttribute(a){let{elm:b}=f3(this);return!cb(c$(b,a))},hasAttributeNS(a,b){let{elm:c}=f3(this);return!cb(c$(c,b,a))},removeAttribute(a){let{elm:b}=f3(this);dA(b,a),c0(b,a),dz()},removeAttributeNS(c,a){let{elm:b}=f3(this);dA(b,a),c0(b,a,c),dz()},getAttribute(a){let{elm:b}=f3(this);return c$(b,a)},getAttributeNS(a,b){let{elm:c}=f3(this);return c$(c,b,a)},setAttribute(a,c){let d=f3(this),{elm:b}=d;dA(b,a),c_(b,a,c),dz()},setAttributeNS(c,a,d){let e=f3(this),{elm:b}=e;dA(b,a),c_(b,a,d,c),dz()},getBoundingClientRect(){let a=f3(this),{elm:b}=a;return c5(b)},get isConnected(){let{elm:aD}=f3(this);return ap(aD)},get classList(){let aE=f3(this),{elm:aF}=aE;return ab(aF)},get template(){let aG=f3(this);return aG.shadowRoot},get shadowRoot(){return null},render(){let a=f3(this);return a.def.template},toString(){let a=f3(this);return`[object ${a.def.name}]`}};const m=b(null),aH=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild",];function d5(a){switch(a){case"children":return da;case"childNodes":return db;case"firstChild":return dc;case"firstElementChild":return dd;case"lastChild":return de;case"lastElementChild":return df}}for(const aI of aH)m[aI]={get(){let a=f3(this),{elm:b}=a;return d5(aI)(b)},configurable:!0,enumerable:!0};const aJ=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll",];function d6(a){switch(a){case"getElementsByClassName":return c9;case"getElementsByTagName":return c8;case"querySelector":return c6;case"querySelectorAll":return c7}}for(const aK of aJ)m[aK]={value(a){let b=f3(this),{elm:c}=b;return d6(aK)(c,a)},configurable:!0,enumerable:!0,writable:!0};q(c.prototype,m);const n=b(null);for(const o in l)n[o]=aC(o,l[o]);function d7(a){return{get(){let b=f3(this);return dp(b,a),b.cmpFields[a]},set(c){let b=f3(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,dn(b,a))},enumerable:!0,configurable:!0}}function aL(){throw new Error}function d8(a){return{get(){let b=f3(this);if(!fC(b))return dp(b,a),b.cmpProps[a]},set(c){let b=f3(this);b.cmpProps[a]=c,dn(b,a)},enumerable:!0,configurable:!0}}q(c.prototype,n),j(c,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class d9 extends ax{constructor(a,b){super(()=>{cd(this.debouncing)&&(this.debouncing=!0,cJ(()=>{if(cc(this.debouncing)){let{value:c}=this,{isDirty:d,component:e,idx:f}=a;b.call(e,c),this.debouncing=!1,cc(a.isDirty)&&cd(d)&&f>0&&fW(a)}}))}),this.debouncing=!1}reset(a){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=a)}}function ea(e,a){let{get:b,set:f,enumerable:c,configurable:d}=a;if(!cf(b))throw new Error;return{get(){return b.call(this)},set(c){let b=f3(this);if(f){if(cE.ENABLE_REACTIVE_SETTER){let a=b.oar[e];ca(a)&&(a=b.oar[e]=new d9(b,f)),a.reset(c),a.observe(()=>{f.call(this,c)})}else f.call(this,c)}},enumerable:c,configurable:d}}function aM(a){if(1===arguments.length)return d3.getProxy(a);throw new Error}function eb(a){return{get(){let b=f3(this);return dp(b,a),b.cmpFields[a]},set(d){let b=f3(this),c=d3.getProxy(d);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,dn(b,a))},enumerable:!0,configurable:!0}}function aN(a,b){throw new Error}function ec(a){return{get(){let b=f3(this);return dp(b,a),b.cmpFields[a]},set(c){let b=f3(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,dn(b,a))},enumerable:!0,configurable:!0}}function aO(i,z){let d=i.prototype,{publicProps:f,publicMethods:o,wire:k,track:h,fields:l}=z,A=b(null),p=b(null),q=b(null),s=b(null),t=b(null),u=b(null),a;if(!ca(f))for(let c in f){let v=f[c];if(u[c]=v.config,a=bQ(d,c),v.config>0){if(ca(a))throw new Error;a=ea(c,a)}else a=ca(a)||ca(a.get)?d8(c):ea(c,a);p[c]=a,j(d,c,a)}if(ca(o)||r.call(o,b=>{if(ca(a=bQ(d,b)))throw new Error;A[b]=a}),!ca(k))for(let e in k){let{adapter:w,method:B,config:x,dynamic:y=[]}=k[e];if(a=bQ(d,e),1===B){if(ca(a))throw new Error;q[e]=a,gw(a,w,x,y)}else a=ec(e),s[e]=a,gx(a,w,x,y),j(d,e,a)}if(!ca(h))for(let m in h)a=bQ(d,m),a=eb(m),j(d,m,a);if(!ca(l))for(let n=0,C=l.length;n<C;n++){let g=l[n];a=bQ(d,g);let D=!ca(f)&&g in f,E=!ca(h)&&g in h;D||E||(t[g]=d7(g))}return ee(i,{apiMethods:A,apiFields:p,apiFieldsConfig:u,wiredMethods:q,wiredFields:s,observedFields:t}),i}const ed=new Map;function ee(a,b){ed.set(a,b)}const ef={apiMethods:d,apiFields:d,apiFieldsConfig:d,wiredMethods:d,wiredFields:d,observedFields:d};function eg(b){let a=ed.get(b);return ca(a)?ef:a}const aP=new Set;function u(){return[]}function eh(a){return aP.has(a)}function aQ(a){return aP.add(a),j(a,"stylesheetTokens",{get(){let{stylesheetToken:a}=this;return ca(a)?a:{hostAttribute:`${a}-host`,shadowAttribute:a}},set(a){this.stylesheetToken=ca(a)?void 0:a.shadowAttribute}}),a}function aR(b,c,d,a){return a}aP.add(u);const ei=b(null),ej=b(null);function ek(b){let a=ei[b];return ca(a)&&(a=ei[b]=function(){let a=f3(this),{getHook:c}=a;return c(a.component,b)}),a}function el(b){let a=ej[b];return ca(a)&&(a=ej[b]=function(a){let c=f3(this),{setHook:d}=c;a=d3.getReadOnlyProxy(a),d(c.component,b,a)}),a}function em(a){return function(){let b=f3(this),{callHook:c,component:d}=b,e=d[a];return c(b.component,e,b2.call(arguments))}}function en(a,b){return function(c,f,d){if(f===d)return;let e=a[c];if(ca(e)){ca(b)||b.apply(this,arguments);return}dy(this,c)&&(this[e]=d)}}function aS(c,h,i){let a;cf(c)?a=class extends c{}:(bU(a=function(){throw new TypeError("Illegal constructor")},c),bU(a.prototype,c.prototype),j(a.prototype,"constructor",{writable:!0,configurable:!0,value:a}));let k=b(null),{attributeChangedCallback:m}=c.prototype,{observedAttributes:p=[]}=c,e=b(null);for(let f=0,n=h.length;f<n;f+=1){let d=h[f];k[cz(d)]=d,e[d]={get:ek(d),set:el(d),enumerable:!0,configurable:!0}}for(let g=0,o=i.length;g<o;g+=1){let l=i[g];e[l]={value:em(l),writable:!0,configurable:!0}}return e.attributeChangedCallback={value:en(k,m)},j(a,"observedAttributes",{get:()=>[...p,...B(k)]}),q(a.prototype,e),a}const p=aS(s,A(l),[]);function eo(a){throw new ReferenceError}k(p),f(p.prototype);const ep=new WeakMap;function eq(b){let a=bR(b);if(cb(a))throw new ReferenceError(`Invalid prototype chain for ${b.name}, you must extend LightningElement.`);if(du(a)){let d=dt(a);a=d===a?c:d}return a}function er(d){let{shadowSupportMode:j,renderMode:k}=d,s=eg(d),{apiFields:l,apiFieldsConfig:t,apiMethods:m,wiredFields:u,wiredMethods:v,observedFields:w}=s,n=d.prototype,{connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}=n,o=eq(d),a=o!==c?es(o):et,x=aS(a.bridge,B(l),B(m)),y=z(b(null),a.props,l),A=z(b(null),a.propsConfig,t),C=z(b(null),a.methods,m),D=z(b(null),a.wire,u,v);e=e||a.connectedCallback,f=f||a.disconnectedCallback,g=g||a.renderedCallback,h=h||a.errorCallback,i=i||a.render;let p=a.shadowSupportMode;ca(j)||(p=j);let r=a.renderMode;ca(k)||(r="light"===k?0:1);let E=fI(d)||a.template,F=d.name||a.name;return q(n,w),{ctor:d,name:F,wire:D,props:y,propsConfig:A,methods:C,bridge:x,template:E,renderMode:r,shadowSupportMode:p,connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}}function aT(b){if(!cf(b))return!1;if(b.prototype instanceof c)return!0;let a=b;do{if(du(a)){let d=dt(a);if(d===a)return!0;a=d}if(a===c)return!0}while(!cb(a)&&(a=bR(a)))return!1}function es(a){let b=ep.get(a);if(ca(b)){if(du(a)){let c=dt(a);return b=es(c),ep.set(a,b),b}if(!aT(a))throw new TypeError(`${a} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);b=er(a),ep.set(a,b)}return b}const et={ctor:c,name:c.name,props:n,propsConfig:d,methods:d,renderMode:1,shadowSupportMode:"reset",wire:d,bridge:p,template:u,render:c.prototype.render};function aU(f){let g=es(f),{ctor:h,name:i,props:j,propsConfig:k,methods:b}=g,c={};for(let a in j)c[a]={config:k[a]||0,type:"any",attr:cz(a)};let d={};for(let e in b)d[e]=b[e].value;return{ctor:h,name:i,props:c,methods:d}}function eu(a){let b=dj(a=a.toLowerCase());return ca(b)&&di(a,b=class extends cO{constructor(a){super(),cf(a)&&a(this)}}),b}function ev(b){let{type:a}=b;return 2===a||3===a}function ew(a,b){return a.key===b.key&&a.sel===b.sel}const ex=58;function ey(f,g){let{attrs:e}=g.data;if(ca(e))return;let h=cb(f)?d:f.data.attrs;if(h===e)return;let{elm:c}=g;for(let a in e){let b=e[a],i=h[a];i!==b&&(dA(c,a),58===b6.call(a,3)?c_(c,a,b,"http://www.w3.org/XML/1998/namespace"):58===b6.call(a,5)?c_(c,a,b,"http://www.w3.org/1999/xlink"):cb(b)||ca(b)?c0(c,a):c_(c,a,b),dz())}}function ez(b,a){return"input"===b&&("value"===a||"checked"===a)}function eA(c,e){let{props:b}=e.data;if(ca(b))return;let f=cb(c)?d:c.data.props;if(f===b)return;let i=cb(c),{elm:g,sel:j}=e;for(let a in b){let h=b[a];(i||h!==(ez(j,a)?cX(g,a):f[a]))&&cY(g,a,h)}}const eB=b(null);function eC(a){if(null==a)return d;let e=eB[a=ch(a)?a:a+""];if(e)return e;e=b(null);let f=0,c,g=a.length;for(c=0;c<g;c++)32===b6.call(a,c)&&(c>f&&(e[b8.call(a,f,c)]=!0),f=c+1);return c>f&&(e[b8.call(a,f,c)]=!0),eB[a]=e,e}function eD(b,h){let{elm:i,data:{className:c}}=h,d=cb(b)?void 0:b.data.className;if(d===c)return;let e=ab(i),f=eC(c),g=eC(d),a;for(a in g)ca(f[a])&&e.remove(a);for(a in f)ca(g[a])&&e.add(a)}function eE(b,d){let{elm:c,data:{style:a}}=d,e=cb(b)?void 0:b.data.style;e!==a&&(ch(a)&&""!==a?c_(c,"style",a):c0(c,"style"))}function eF(c){let{elm:d,data:{on:a}}=c;if(!ca(a))for(let b in a){let e=a[b];c1(d,b,e)}}function eG(b){let{elm:c,data:{classMap:a}}=b;if(ca(a))return;let d=ab(c);for(let e in a)d.add(e)}function eH(c){let{elm:d,data:{styleDecls:a}}=c;if(!ca(a))for(let b=0;b<a.length;b++){let[e,f,g]=a[b];c4(d,e,f,g)}}function eI(b,a,c){e9(a)?fb(b,a,c):fc(b,a,c)}function eJ(b,a){if(b!==a)switch(a.type){case 0:eL(b,a);break;case 1:eN(b,a);break;case 2:eQ(b,a);break;case 3:eS(b,a)}}function eK(a,b,c){switch(a.type){case 0:eM(a,b,c);break;case 1:eO(a,b,c);break;case 2:eP(a,b,c);break;case 3:eR(a,b,c)}}function eL(b,a){a.elm=b.elm,a.text!==b.text&&e_(a)}function eM(a,c,d){let{owner:e}=a,b=a.elm=cT(a.text);e$(b,e),e0(b,c,d)}function eN(b,a){a.elm=b.elm,a.text!==b.text&&e_(a)}function eO(a,c,d){let{owner:e}=a,b=a.elm=cU(a.text);e$(b,e),e0(b,c,d)}function eP(a,c,d){let{sel:e,owner:f,data:{svg:g}}=a,h=cc(g)?"http://www.w3.org/2000/svg":void 0,b=cS(e,h);e$(b,f),e3(b,a),a.elm=b,e2(null,a),e0(b,c,d),eT(a.children,b,null)}function eQ(a,b){let c=b.elm=a.elm;e2(a,b),eI(a.children,b.children,c)}function eR(a,e,f){let{sel:g,owner:h}=a,d=eu(g),b,c=new d(c=>{b=e5(c,a)});if(e$(c,h),a.elm=c,a.vm=b,b)e4(a,b);else if(a.ctor!==d)throw new TypeError("Incorrect Component Constructor");e2(null,a),e0(c,e,f),b&&ga(b),eT(a.children,c,null),b&&fZ(b)}function eS(b,a){let d=a.elm=b.elm,c=a.vm=b.vm;e2(b,a),ca(c)||e4(a,c),eI(b.children,a.children,d),ca(c)||fW(c)}function eT(b,d,e,a=0,f=b.length){for(;a<f;++a){let c=b[a];eW(c)&&eK(c,d,e)}}function eU(a,d,e=!1){let{type:f,elm:b}=a;switch(e&&e1(b,d),f){case 2:eV(a.children,b);break;case 3:{let{vm:c}=a;ca(c)||f_(c)}}}function eV(b,d,e=!1,a=0,f=b.length){for(;a<f;++a){let c=b[a];eW(c)&&eU(c,d,e)}}function eW(a){return null!=a}function eX(a){a.$domManual$=!0}function eY(a,b){a.$shadowToken$=b}function eZ(c,d){let{cmpTemplate:a,context:e}=d,b=null==a?void 0:a.stylesheetToken;!ca(b)&&e.hasScopedStyles&&ab(c).add(b)}function e$(a,b){let{renderRoot:c,renderMode:d,shadowMode:e}=b;cN&&(1===e||0===d)&&(a[co]=c[co])}function e_(a){let{elm:b,text:c}=a;cZ(b,c)}function e0(a,b,c){cQ(a,b,c)}function e1(a,b){cR(a,b)}function e2(b,a){cb(b)&&(eF(a),eG(a),eH(a)),eD(b,a),eE(b,a),ey(b,a),eA(b,a)}function e3(a,d){let{owner:b}=d;if(eZ(a,b),1===b.shadowMode){let{data:{context:c}}=d,{stylesheetToken:e}=b.context;ca(c)||ca(c.lwc)||"manual"!==c.lwc.dom||eX(a),ca(e)||eY(a,e)}}function e4(a,b){let c=a.aChildren||a.children;b.aChildren=c;let{renderMode:d,shadowMode:e}=b;(1===e||0===d)&&(e6(b,c),a.aChildren=c,a.children=cH)}function e5(a,e){let c=f4(a);if(!ca(c))return c;let{sel:f,mode:g,ctor:h,owner:b}=e;if(eZ(a,b),1===b.shadowMode){let{stylesheetToken:d}=b.context;ca(d)||eY(a,d)}return f0(a,h,{mode:g,owner:b,tagName:f})}function e6(c,m){var g;let{cmpSlots:h}=c,a=c.cmpSlots=b(null);for(let i=0,n=m.length;i<n;i+=1){let e=m[i];if(cb(e))continue;let j="";ev(e)&&(j=(null===(g=e.data.attrs)|| void 0===g?void 0:g.slot)||"");let o=a[j]=a[j]||[];b_.call(o,e)}if(cd(c.isDirty)){let k=B(h);if(k.length!==B(a).length){fL(c);return}for(let l=0,p=k.length;l<p;l+=1){let d=k[l];if(ca(a[d])||h[d].length!==a[d].length){fL(c);return}let q=h[d],r=a[d];for(let f=0,s=a[d].length;f<s;f+=1)if(q[f]!==r[f]){fL(c);return}}}}const e7=new WeakMap;function e8(a){e7.set(a,1)}function e9(a){return e7.has(a)}function fa(e,f,g){let b={};for(let a=f;a<=g;++a){let c=e[a];if(eW(c)){let{key:d}=c;void 0!==d&&(b[d]=a)}}return b}function fb(b,c,k){let g=0,h=0,e=b.length-1,d=b[0],f=b[e],p=c.length-1,i=p,a=c[0],j=c[i],n,o,l,q=!1;for(;g<=e&&h<=i;)eW(d)?eW(f)?eW(a)?eW(j)?ew(d,a)?(eJ(d,a),d=b[++g],a=c[++h]):ew(f,j)?(eJ(f,j),f=b[--e],j=c[--i]):ew(d,j)?(eJ(d,j),e0(d.elm,k,cV(f.elm)),d=b[++g],j=c[--i]):ew(f,a)?(eJ(f,a),e0(a.elm,k,d.elm),f=b[--e],a=c[++h]):(void 0===n&&(n=fa(b,g,e)),ca(o=n[a.key])?(eK(a,k,d.elm),a=c[++h]):(eW(l=b[o])&&(l.sel!==a.sel?eK(a,k,d.elm):(eJ(l,a),q||(q=!0,b=[...b]),b[o]=void 0,e0(l.elm,k,d.elm))),a=c[++h])):j=c[--i]:a=c[++h]:f=b[--e]:d=b[++g];if(g<=e||h<=i){if(g>e){let r=i,m;do m=c[++r];while(!eW(m)&&r<p)eT(c,k,eW(m)?m.elm:null,h,i+1)}else eV(b,k,!0,g,e+1)}}function fc(e,f,b){let i=e.length,h=f.length;if(0===i){eT(f,b,null);return}if(0===h){eV(e,b,!0);return}let g=null;for(let c=h-1;c>=0;c-=1){let d=e[c],a=f[c];a!==d&&(eW(d)?eW(a)?(eJ(d,a),g=a.elm):eU(d,b,!0):eW(a)&&(eK(a,b,g),g=a.elm))}}const fd=Symbol.iterator;function fe(a){b_.call(fv().velements,a)}function aV(b,a,c=cH){let d=fv(),e,{key:f}=a;return{type:2,sel:b,data:a,children:c,elm:e,key:f,owner:d}}function aW(a){let b=a>0&&!(cc(a)||cd(a));return b?0:a}function aX(c,d,a,b){ca(b)||ca(b[c])||0===b[c].length||(a=b[c]);let e=fv(),{renderMode:f,shadowMode:g}=e;return 0===f?(fh(a),a):(1===g&&fh(a),aV("slot",d,a))}function aY(c,d,a,e=cH){let f=fv(),{key:g}=a,h,i,j,b={type:3,sel:c,data:a,children:e,elm:h,key:g,ctor:d,owner:f,mode:"open",aChildren:i,vm:j};return fe(b),b}function aZ(b,i){let a=[];if(fh(a),ca(b)||null===b)return a;let g=b[fd](),c=g.next(),d=0,{value:h,done:e}=c;for(;!1===e;){e=(c=g.next()).done;let f=i(h,d,0===d,!0===e);bV(f)?b_.apply(a,f):b_.call(a,f),d+=1,h=c.value}return a}function a$(d){let e=d.length,a=[];fh(a);for(let b=0;b<e;b+=1){let c=d[b];bV(c)?b_.apply(a,c):b_.call(a,c)}return a}function a_(a){let b,c,d;return{type:0,sel:b,text:a,elm:d,key:c,owner:fv()}}function a0(a){let b,c,d;return{type:1,sel:b,text:a,elm:d,key:c,owner:fv()}}function a1(a){return null==a?"":String(a)}function a2(b){let a=fv();if(cb(a))throw new Error;let c=a;return function(a){fG(c,b,c.component,a)}}function a3(b,a){switch(typeof a){case"number":case"string":return b+":"+a}}function a4(a){let b=fv();if(ca(a)||""===a)return a;if(cb(a))return null;let{idx:d,shadowMode:c}=b;return 1===c?b7.call(a,/\S+/g,a=>`${a}-${d}`):a}function a5(a){let b=fv();if(ca(a)||""===a)return a;if(cb(a))return null;let{idx:c,shadowMode:d}=b;return 1===d&&/^#/.test(a)?`${a}-${c}`:a}const ff=new Map;let fg=0;function a6(c,a,d,e=cH){if(null==a)return null;if(!aT(a))throw new Error(`Invalid LWC Constructor ${cj(a)} for custom element <${c}>.`);let b=ff.get(a);ca(b)&&(b=fg++,ff.set(a,b));let f=Object.assign(Object.assign({},d),{key:`dc:${b}:${d.key}`});return aY(c,a,f,e)}function fh(a){return e8(a),a}let fi=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};function fj(a){fi=a}function a7(a){return fi(a)}const fk=k({s:aX,h:aV,c:aY,i:aZ,f:a$,t:a_,d:a1,b:a2,k:a3,co:a0,dc:a6,ti:aW,gid:a4,fid:a5,shc:a7});function fl(a){return`${a}-host`}function fm(a){return fk.h("style",{key:"style",attrs:{type:"text/css"}},[fk.t(a)])}function fn(h,i){let{elm:c,context:a,renderMode:j,shadowMode:k}=h,{stylesheets:e,stylesheetToken:l}=i,{hasScopedStyles:m}=a,b,f,g,{stylesheetToken:d,hasTokenInClass:n,hasTokenInAttribute:o}=a;!ca(d)&&(n&&ab(c).remove(fl(d)),o&&c0(c,fl(d))),ca(e)||0===e.length||(b=l),ca(b)||(m&&(ab(c).add(fl(b)),f=!0),1!==j||1!==k||(c_(c,fl(b),""),g=!0)),a.stylesheetToken=b,a.hasTokenInClass=f,a.hasTokenInAttribute=g}function fo(g,h,a){let d=[],b;for(let e=0;e<g.length;e++){let c=g[e];if(bV(c))b_.apply(d,fo(c,h,a));else{let i=c[cq],j=i||1===a.shadowMode&&1===a.renderMode?h:void 0,k=0===a.renderMode?!i:0===a.shadowMode,f;1===a.renderMode?f=0===a.shadowMode:(ca(b)&&(b=fq(a)),f=cb(b)||0===b.shadowMode),b_.call(d,c(j,k,f))}}return d}function fp(c,d){let{stylesheets:a,stylesheetToken:e}=d,b=[];return ca(a)||0===a.length||(b=fo(a,e,c)),b}function fq(b){let a=b;for(;!cb(a);){if(1===a.renderMode)return a;a=a.owner}return a}function fr(b){let a=fq(b);return cb(a)||1!==a.shadowMode?a:null}function fs(d,a){let{renderMode:f,shadowMode:g}=d;if(1===f&&1===g)for(let c=0;c<a.length;c++)dg(a[c]);else if(cL||cP()){let h=bZ.call(a,"\n");return fm(h)}else{let e=fr(d),i=cb(e);for(let b=0;b<a.length;b++)i?dg(a[b]):dh(a[b],e.shadowRoot)}return null}let ft=!1,fu=null;function fv(){return fu}function fw(a){fu=a}function fx(a,b){throw new ReferenceError}function fy(a,b){a!==u&&(0===b.renderMode?bP.isTrue("light"===a.renderMode,`Light DOM components can't render shadow DOM templates. Add an 'lwc:render-mode="light"' directive to the root template tag of ${dq(b)}.`):bP.isTrue(ca(a.renderMode),`Shadow DOM components template can't render light DOM templates. Either remove the 'lwc:render-mode' directive from ${dq(b)} or set it to 'lwc:render-mode="shadow"`))}function fz(a,d){let e=ft,f=fu,c=[];return gj(a,a.owner,()=>{fu=a},()=>{let{component:f,context:g,cmpSlots:h,cmpTemplate:i,tro:e}=a;e.observe(()=>{if(d!==i){if(cb(i)||gg(a),!eh(d))throw new TypeError(`Invalid template returned by the render() method on ${a}. It must return an imported template (e.g.: \`import html from "./${a.def.name}.html"\`), instead, it has returned: ${cj(d)}.`);a.cmpTemplate=d,g.tplCache=b(null),g.hasScopedStyles=fA(d),fn(a,d);let e=fp(a,d);g.styleVNode=0===e.length?null:fs(a,e)}a.velements=[],ft=!0,c=d.call(void 0,fk,f,h,g.tplCache);let{styleVNode:j}=g;cb(j)||b4.call(c,j)})},()=>{ft=e,fu=f}),c}function fA(c){let{stylesheets:a}=c;if(!ca(a)){for(let b=0;b<a.length;b++)if(cc(a[b][cq]))return!0}return!1}let fB=null;function fC(a){return fB===a}function fD(a,c,d){let{component:e,callHook:f,owner:b}=a;gj(a,b,g,()=>{f(e,c,d)},g)}function fE(b,c){let d=fB,a;fB=b;try{let e=new c;if(fB.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(f){a=Object(f)}finally{if(fB=d,!ca(a))throw ds(b,a),a}}function fF(a){let{def:{render:e},callHook:f,component:g,owner:b}=a,h=fv(),c,d=!1;return gj(a,b,()=>{fw(a)},()=>{a.tro.observe(()=>{c=f(g,e),d=!0})},()=>{fw(h)}),d?fz(a,c):[]}function fG(a,c,d,e){let{callHook:f,owner:b}=a;gj(a,b,g,()=>{f(d,c,[e])},g)}const fH=new Map;function a8(a,{tmpl:b}){return cf(a)&&fH.set(a,b),a}function fI(a){return fH.get(a)}function fJ(a){return new ax(()=>{let{isDirty:b}=a;cd(b)&&(fL(a),gh(a))})}function fK(a){a.tro.reset();let b=fF(a);return a.isDirty=!1,a.isScheduled=!1,b}function fL(a){a.isDirty=!0}const fM=new WeakMap;function fN(c,b){if(!cf(b))throw new TypeError;let a=fM.get(b);return ca(a)&&(a=function(a){fG(c,b,void 0,a)},fM.set(b,a)),a}const fO=b(null),fP=["rendered","connected","disconnected"];function a9(d){for(let b=0;b<fP.length;++b){let a=fP[b];if(a in d){let c=fO[a];ca(c)&&(fO[a]=c=[]),b_.call(c,d[a])}}}function fQ(c,b){let{component:d,def:e,context:f}=c;for(let a=0,g=b.length;a<g;++a)b[a].call(void 0,d,{},e,f)}let fR=0;const fS=new WeakMap;function fT(a,b,c=[]){return b.apply(a,c)}function fU(a,b,c){a[b]=c}function fV(a,b){return a[b]}function fW(a){f5(a)}function fX(b){let a=f3(b);1===a.state&&fY(b),ga(a),f5(a)}function fY(a){let b=f3(a);f$(b)}function fZ(a){f5(a)}function f$(a){let{state:c}=a;if(2!==c){let{oar:b,tro:d}=a;for(let e in d.reset(),b)b[e].reset();gc(a),gd(a),ge(a)}}function f_(a){f$(a)}function f0(g,h,i){var f;let{mode:j,owner:a,tagName:k}=i,e=es(h),c={elm:g,def:e,idx:fR++,state:0,isScheduled:!1,isDirty:!0,tagName:k,mode:j,owner:a,children:cH,aChildren:cH,velements:cH,cmpProps:b(null),cmpFields:b(null),cmpSlots:b(null),oar:b(null),cmpTemplate:null,renderMode:e.renderMode,shadowMode:f1(e,a),nearestShadowMode:(null==a?void 0:a.shadowRoot)?a.shadowMode:null!==(f=null==a?void 0:a.nearestShadowMode)&& void 0!==f?f:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:d,wiredConnecting:cH,wiredDisconnecting:cH},tro:null,component:null,shadowRoot:null,renderRoot:null,callHook:fT,setHook:fU,getHook:fV};return c.tro=fJ(c),fE(c,e.ctor),gb(c)&&gy(c),c}function f1(b,c){var a;return cN?0===b.renderMode?0:cM&&cE.ENABLE_MIXED_SHADOW_MODE?"any"===b.shadowSupportMode?0:null!==(a=null==c?void 0:c.nearestShadowMode)&& void 0!==a?a:1:1:0}function f2(a,b){fS.set(a,b)}function f3(a){let b=fS.get(a);return b}function f4(a){let b=fS.get(a);return b}function f5(a){if(cc(a.isDirty)){let b=fK(a);f6(a,b)}}function f6(a,b){let{renderRoot:d,children:c}=a;a.children=b,(b.length>0||c.length>0)&&c!==b&&gj(a,a,()=>{},()=>{eI(c,b,d)},()=>{}),1===a.state&&f7(a)}function f7(a){let{def:{renderedCallback:b}}=a;if(cc(cL))return;let{rendered:c}=fO;c&&fQ(a,c),ca(b)||fD(a,b)}let f8=[];function f9(){let b=f8.sort((a,b)=>a.idx-b.idx);f8=[];for(let a=0,c=b.length;a<c;a+=1){let d=b[a];try{f5(d)}catch(e){throw a+1<c&&(0===f8.length&&cJ(f9),b4.apply(f8,b2.call(b,a+1))),e}}}function ga(a){let{state:d}=a;if(1===d)return;a.state=1;let{connected:b}=fO;b&&fQ(a,b),gb(a)&&gz(a);let{connectedCallback:c}=a.def;ca(c)||fD(a,c)}function gb(a){return A(a.def.wire).length>0}function gc(a){cd(a.isDirty)&&(a.isDirty=!0),a.state=2;let{disconnected:b}=fO;b&&fQ(a,b),gb(a)&&gA(a);let{disconnectedCallback:c}=a.def;ca(c)||fD(a,c)}function gd(e){let{velements:b}=e;for(let a=b.length-1;a>=0;a-=1){let{elm:c}=b[a];if(!ca(c)){let d=f4(c);ca(d)||f$(d)}}}function ge(a){let{aChildren:b}=a;gf(b)}function gf(c){for(let b=0,d=c.length;b<d;b+=1){let a=c[b];if(!cb(a)&&!ca(a.elm))switch(a.type){case 2:gf(a.children);break;case 3:{let e=f3(a.elm);f$(e)}}}}function gg(a){let{children:d,renderRoot:e}=a;for(let b=0,f=d.length;b<f;b++){let c=d[b];cb(c)||ca(c.elm)||cR(c.elm,e)}a.children=cH,gd(a),a.velements=cH}function gh(a){cc(cL)||cc(a.isScheduled)||(a.isScheduled=!0,0===f8.length&&cJ(f9),b_.call(f8,a))}function gi(b){let a=b;for(;!cb(a);){if(!ca(a.def.errorCallback))return a;a=a.owner}}function gj(c,d,e,f,g){let a;e();try{f()}catch(h){a=Object(h)}finally{if(g(),!ca(a)){ds(c,a);let b=cb(d)?void 0:gi(d);if(ca(b))throw a;gg(c);let i=b.def.errorCallback;fD(b,i,[a,a.wcStack])}}}const gk="$$DeprecatedWiredElementHostKey$$",gl="$$DeprecatedWiredParamsMetaKey$$",gm=new Map;class gn extends CustomEvent{constructor(a,{setNewContext:b,setDisconnectedCallback:c}){super(a,{bubbles:!0,composed:!0}),q(this,{setNewContext:{value:b},setDisconnectedCallback:{value:c}})}}function go(a,b){let{cmpFields:c}=a;return d=>{d!==a.cmpFields[b]&&(c[b]=d,dn(a,b))}}function gp(a,b){return c=>{gj(a,a.owner,g,()=>{b.call(a.component,c)},g)}}function gq(c,d,e){let f=!1,a=new ax(()=>{!1===f&&(f=!0,Promise.resolve().then(()=>{f=!1,a.reset(),b()}))}),b=()=>{let b;a.observe(()=>b=d(c)),e(b)};return{computeConfigAndUpdate:b,ro:a}}function gr(a,b,f){let{adapter:c}=b,d=gu(c);if(ca(d))return;let{elm:g,context:{wiredConnecting:e,wiredDisconnecting:h}}=a;b_.call(e,()=>{let a=new gn(d,{setNewContext(a){f(a)},setDisconnectedCallback(a){b_.call(h,a)}});c3(g,a)})}function gs(a,e,b){let{method:c,adapter:f,configCallback:h,dynamic:i}=b,d=ca(c)?go(a,e):gp(a,c),m,k;j(d,"$$DeprecatedWiredElementHostKey$$",{value:a.elm}),j(d,"$$DeprecatedWiredParamsMetaKey$$",{value:i}),gj(a,a,g,()=>{k=new f(d)},g);let{computeConfigAndUpdate:l,ro:n}=gq(a.component,h,b=>{gj(a,a,g,()=>{k.update(b,m)},g)});return ca(f.contextSchema)||gr(a,b,b=>{m!==b&&(m=b,1===a.state&&l())}),{connector:k,computeConfigAndUpdate:l,resetConfigWatcher:()=>n.reset()}}const gt=new Map;function gu(a){return gt.get(a)}function gv(a,b){gt.set(a,b)}function gw(b,a,c,d){a.adapter&&(a=a.adapter);let e=b.value;gm.set(b,{adapter:a,method:e,configCallback:c,dynamic:d})}function gx(b,a,c,d){a.adapter&&(a=a.adapter),gm.set(b,{adapter:a,configCallback:c,dynamic:d})}function gy(b){let{context:c,def:{wire:d}}=b,f=c.wiredConnecting=[],g=c.wiredDisconnecting=[];for(let e in d){let h=d[e],a=gm.get(h);if(!ca(a)){let{connector:i,computeConfigAndUpdate:j,resetConfigWatcher:k}=gs(b,e,a),l=a.dynamic.length>0;b_.call(f,()=>{if(i.connect(),!cE.ENABLE_WIRE_SYNC_EMIT&&l){Promise.resolve().then(j);return}j()}),b_.call(g,()=>{i.disconnect(),k()})}}}function gz(c){let{wiredConnecting:b}=c.context;for(let a=0,d=b.length;a<d;a+=1)b[a]()}function gA(a){let{wiredDisconnecting:b}=a.context;gj(a,a,g,()=>{for(let a=0,c=b.length;a<c;a+=1)b[a]()},g)}function ba(a){let b=gu(a);if(!ca(b))throw new Error("Adapter already has a context provider.");gv(a,b=cK());let c=new WeakSet;return(a,d)=>{if(c.has(a))throw new Error(`Adapter was already installed on ${a}.`);c.add(a);let{consumerConnectedCallback:e,consumerDisconnectedCallback:f}=d;a.addEventListener(b,a=>{let{setNewContext:d,setDisconnectedCallback:b}=a,c={provide(a){d(a)}};b(()=>{ca(f)||f(c)}),e(c),a.stopImmediatePropagation()})}}function bb(a){return d3.getReadOnlyProxy(a)}let gB=!1;function bc(a){bP.isFalse(gB,"Hooks are already overridden, only one definition is allowed."),gB=!0,fj(a.sanitizeHtmlContent)}!function(a){a.Text="text",a.Comment="comment",a.Raw="raw",a.Element="element",a.ShadowRoot="shadow-root"}(i||(i={}));const gC=/\s+/g;function gD(a){return new Set(a.split(gC).filter(a=>a.length))}function gE(a){return Array.from(a).join(" ")}function a(a){return function(){throw new TypeError(`"${a}" is not supported in this environment`)}}function bd(a){return{type:i.Element,name:a,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const gF=b(null),gG=new WeakMap;function gH(a,b){if(a!==b9.call(a)||gF[a])throw new TypeError("Invalid Registration");gF[a]=b,gG.set(b,a)}class be{constructor(){let{constructor:b}=this,a=gG.get(b);if(!a)throw new TypeError("Invalid Construction");return bd(a)}}const gI=!0;function bf(){return!1}const gJ=!1,gK=!1;function bg(a,b,c){if(null!==a.parent&&a.parent!==b){let e=a.parent.children.indexOf(a);a.parent.children.splice(e,1)}a.parent=b;let d=cb(c)?-1:b.children.indexOf(c);-1===d?b.children.push(a):b.children.splice(d,0,a)}function bh(b,a){let c=a.children.indexOf(b);a.children.splice(c,1)}function bi(a){return{type:i.Text,value:String(a),parent:null}}function bj(a){return{type:i.Comment,value:a,parent:null}}function bk(b){let{parent:a}=b;if(cb(a))return null;let c=a.children.indexOf(b);return a.children[c+1]||null}function bl(a,b){return a.shadowRoot={type:i.ShadowRoot,children:[],mode:b.mode,delegatesFocus:!!b.delegatesFocus},a.shadowRoot}function bm(a,c){var d,e;if(c in a)return a[c];if(a.type===i.Element){let b=cz(c);if(cu(b,a.name))return null!==(d=bp(a,b))&& void 0!==d&&d;if(cw(b)||cn(b))return bp(a,b);if("input"===a.name&&"value"===c)return null!==(e=bp(a,"value"))&& void 0!==e?e:""}}function bn(a,d,b){if(d in a)return a[d]=b;if(a.type===i.Element){let c=cz(d);if("innerHTML"===d){a.children=[{type:i.Raw,parent:a,value:b},];return}if(cu(c,a.name))return!0===b?bq(a,c,""):br(a,c);if(cw(c)||cn(c))return bq(a,c,b);if("input"===a.name&&"value"===c)return cb(b)||ca(b)?br(a,"value"):bq(a,"value",b)}}function bo(a,b){a.type===i.Text?a.value=b:a.type===i.Element&&(a.children=[{type:i.Text,parent:a,value:b},])}function bp(b,c,d=null){let a=b.attributes.find(a=>a.name===c&&a.namespace===d);return a?a.value:null}function bq(b,e,c,a=null){let d=b.attributes.find(b=>b.name===e&&b.namespace===a);ca(a)&&(a=null),ca(d)?b.attributes.push({name:e,namespace:a,value:String(c)}):d.value=c}function br(a,b,c){a.attributes=a.attributes.filter(a=>a.name!==b&&a.namespace!==c)}function bs(a){function b(){let b=a.attributes.find(a=>"class"===a.name&&cb(a.namespace));return ca(b)&&(b={name:"class",namespace:null,value:""},a.attributes.push(b)),b}return{add(...c){let a=b(),d=gD(a.value);c.forEach(a=>d.add(a)),a.value=gE(d)},remove(...c){let a=b(),d=gD(a.value);c.forEach(a=>d.delete(a)),a.value=gE(d)}}}function bt(a,d,e,f){let b=a.attributes.find(a=>"style"===a.name&&cb(a.namespace)),c=`${d}: ${e}${f?" !important":""}`;ca(b)?a.attributes.push({name:"style",namespace:null,value:c}):b.value+=`; ${c}`}function bu(a){return!cb(a.parent)}const bv=g,bw=g,bx=g,by=g,bz=a("dispatchEvent"),bA=a("getBoundingClientRect"),bB=a("querySelector"),bC=a("querySelectorAll"),bD=a("getElementsByTagName"),bE=a("getElementsByClassName"),bF=a("getChildren"),bG=a("getChildNodes"),bH=a("getFirstChild"),bI=a("getFirstElementChild"),bJ=a("getLastChild"),bK=a("getLastElementChild");function bL(a,b,c){gH(a,b)}function bM(a){return gF[a]}const bN=be;T(bl),R(bj),P(bd),Q(bi),at(bL),aa(bz),X(bp),ae(bA),ak(bG),aj(bF),ac(bs),au(bM),ai(bE),ah(bD),al(bH),am(bI),an(bJ),ao(bK),U(bm),L(bN),N(bg),ar(bv),as(bw),aq(bu),M(bf),J(!1),K(!1),S(bk),af(bB),ag(bC),O(bh),Z(br),_(by),Y(bq),ad(bt),V(bn),W(bo),I(!0),$(bx);const gL={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function gM(a){return a.replace(/["'<>&]/g,a=>gL[a])}function gN(a){return a.map(a=>a.value.length?`${a.name}=${JSON.stringify(gM(a.value))}`:a.name).join(" ")}function gO(a){return a.map(a=>{switch(a.type){case i.Text:return""===a.value?"\u200D":gM(a.value);case i.Comment:return`<!--${gM(a.value)}-->`;case i.Raw:return a.value;case i.Element:return gQ(a)}}).join("")}function gP(a){let b=[`shadowroot="${a.mode}"`];return a.delegatesFocus&&b.push("shadowrootdelegatesfocus"),`<template ${b.join(" ")}>${gO(a.children)}</template>`}function gQ(a){let b="",{name:c}=a,d=a.attributes.length?` ${gN(a.attributes)}`:"",e=gO(a.children);return b+=`<${c}${d}>`,a.shadowRoot&&(b+=gP(a.shadowRoot)),b+=e,cs(c)||(b+=`</${c}>`),b}const gR={type:i.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};function bO(b,d,c={}){if(!ch(b))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${b}.`);if(!cf(d))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${d}.`);if(!cg(c)||cb(c))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${c}.`);let a=bd(b);for(let[e,f]of(f0(a,d,{mode:"open",owner:null,tagName:b}),Object.entries(c)))a[e]=f;return a.parent=gR,fX(a),gQ(a)}k(c),f(c.prototype),exports.LightningElement=c,exports.api=aL,exports.createContextProvider=ba,exports.getComponentDef=aU,exports.isComponentConstructor=aT,exports.readonly=bb,exports.register=a9,exports.registerComponent=a8,exports.registerDecorators=aO,exports.registerTemplate=aQ,exports.renderComponent=bO,exports.sanitizeAttribute=aR,exports.setFeatureFlag=G,exports.setFeatureFlagForTest=H,exports.setHooks=bc,exports.track=aM,exports.unwrap=aB,exports.wire=aN
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:l,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:k,reduce:x,reverse:M,shift:T,slice:S,sort:O,splice:A,unshift:P,forEach:$}=Array.prototype,{fromCharCode:N}=String,{charCodeAt:_,replace:R,slice:D,toLowerCase:F}=String.prototype;function L(e){return void 0===e}function I(e){return null===e}function H(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function W(e){return"string"==typeof e}function V(){}const K={}.toString;function G(e){return e&&e.toString?h(e)?v.call(E.call(e,G),","):e.toString():"object"==typeof e?K.call(e):e+""}function z(e,t){do{const n=l(e,t);if(!L(n))return n;e=a(e)}while(null!==e)}const U=["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:q,AriaPropNameToAttrNameMap:X}=(()=>{const e=n(null),t=n(null);return $.call(U,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Y(e){return e in q}const J=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}(),Q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","path","rect","source","track","wbr"]);const Z=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 ee(e,t){const n=Z.get(e);return void 0!==n&&(0===n.size||n.has(t))}const te=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function ne(e){return te.has(e)}const re=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"]]),oe=new Map;function ie(e){const t=X[e];if(!L(t))return t;const n=re.get(e);if(!L(n))return n;const r=oe.get(e);if(!L(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=_.call(e,t);o+=n>=65&&n<=90?"-"+N(n+32):N(n)}return oe.set(e,o),o}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const le={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const se=J.lwcRuntimeFlags;let ae=[];const ce=f(n(null)),ue=f([]);function de(){const e=ae;ae=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function fe(e){0===ae.length&&Promise.resolve().then(de),k.call(ae,e)}let pe,he,me,ge,we,ye,be,ve,Ee,Ce,ke,xe,Me,Te,Se,Oe,Ae,Pe,$e,Ne,_e,Re,De,Fe,Le,Ie,He,je,Be,We,Ve,Ke,Ge,ze,Ue,qe,Xe;const Ye=new WeakMap;let Je=null;function Qe(e,t){const n=Ye.get(e);if(!L(n)){const e=n[t];if(!L(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ze(e,t){if(null===Je)return;const r=Je,o=function(e){let t=Ye.get(e);if(L(t)){const r=n(null);t=r,Ye.set(e,r)}return t}(e);let i=o[t];if(L(i))i=[],o[t]=i;else if(i[0]===r)return;-1===b.call(i,r)&&r.link(i)}class et{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Je;let n;Je=this;try{e()}catch(e){n=Object(e)}finally{if(Je=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=b.call(e[n],this);A.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function tt(e,t){Qe(e.component,t)}function nt(e,t){Ze(e.component,t)}function rt(e){return`<${F.call(e.tagName)}>`}function ot(e,t){if(!u(t)&&L(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)k.call(t,rt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function it(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function lt(e){return B(e)&&c.call(e,"__circular__")}const st="undefined"!=typeof HTMLElement?HTMLElement:function(){},at=st.prototype;function ct(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:ct("offsetHeight")},offsetLeft:{readOnly:!0,error:ct("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ct("offsetTop")},offsetWidth:{readOnly:!0,error:ct("offsetWidth")},role:{attribute:"role"}});let ut,dt=null;function ft(e,t){return e!==dt||t!==ut}function pt(e,t){dt=null,ut=void 0}function ht(e,t){dt=e,ut=t}const mt=n(null);$.call(d(X),(e=>{const t=z(at,e);L(t)||(mt[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(at,e);L(t)||(mt[e]=t)}));const{isArray:gt}=Array,{prototype:wt,getPrototypeOf:yt,create:bt,defineProperty:vt,isExtensible:Et,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:kt,getOwnPropertySymbols:xt,preventExtensions:Mt,hasOwnProperty:Tt}=Object,{push:St,concat:Ot}=Array.prototype;function At(e){return void 0===e}function Pt(e){return"function"==typeof e}const $t=new WeakMap;function Nt(e,t){$t.set(e,t)}const _t=e=>$t.get(e)||e;class Rt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Tt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;At(n)||(e.get=this.wrapGetter(n)),At(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ct(n,t);if(!At(r)){const n=this.wrapDescriptor(r);vt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ot.call(kt(t),xt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;At(n)||Tt.call(e,n)||vt(e,n,bt(null)),Mt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=At(n)||Tt.call(t,n)?[]:[n];return St.apply(r,kt(t)),St.apply(r,xt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Et(e)&&(!!Et(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return yt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ct(n,t);if(At(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},vt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Dt=new WeakMap,Ft=new WeakMap,Lt=new WeakMap,It=new WeakMap;class Ht extends Rt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Dt.get(e);if(!At(t))return t;const n=this,r=function(){return n.wrapValue(e.call(_t(this)))};return Dt.set(e,r),Lt.set(r,e),r}wrapSetter(e){const t=Ft.get(e);if(!At(t))return t;const n=function(t){e.call(_t(this),_t(t))};return Ft.set(e,n),It.set(n,e),n}unwrapDescriptor(e){if(Tt.call(e,"value"))e.value=_t(e.value);else{const{set:t,get:n}=e;At(n)||(e.get=this.unwrapGetter(n)),At(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Lt.get(e);if(!At(t))return t;const n=this,r=function(){return _t(e.call(n.wrapValue(this)))};return Dt.set(r,e),Lt.set(e,r),r}unwrapSetter(e){const t=It.get(e);if(!At(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ft.set(r,e),It.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&&gt(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(Et(e)){const{originalTarget:t}=this;if(Mt(t),Et(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Tt.call(r,t)||(vt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const jt=new WeakMap,Bt=new WeakMap;class Wt extends Rt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=jt.get(e);if(!At(t))return t;const n=this,r=function(){return n.wrapValue(e.call(_t(this)))};return jt.set(e,r),r}wrapSetter(e){const t=Bt.get(e);if(!At(t))return t;const n=function(e){};return Bt.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 Vt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(gt(e))return!0;const t=yt(e);return t===wt||null===t||null===yt(t)}const Kt=(e,t)=>{},Gt=(e,t)=>{};function zt(e){return gt(e)?[]:{}}const Ut=Symbol.for("@@lockerLiveValue"),qt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Pt(t)?t:Gt,this.valueObserved=Pt(n)?n:Kt,this.valueIsObservable=Pt(r)?r:Vt,this.tagPropertyKey=o}getProxy(e){const t=_t(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=_t(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return _t(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(At(t)){const n=new Ht(this,e);t=new Proxy(zt(e),n),Nt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(At(t)){const n=new Wt(this,e);t=new Proxy(zt(e),n),Nt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ze,valueMutated:Qe,tagPropertyKey:Ut});function Xt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Fr(this);if(!hr(t))return nt(t,e),n.call(t.elm)},set(t){const n=Fr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,tt(n,e)),r.call(n.elm,t)}}}const Yt=function(){if(I(pr))throw new ReferenceError("Illegal constructor");const e=pr,{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 this[Ut]=void 0,Dr(o,e),Dr(n,e),1===e.renderMode?e.renderRoot=Jt(e):e.renderRoot=n,this};function Jt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=ke(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Dr(i,e),i}Yt.prototype={constructor:Yt,dispatchEvent(e){const{elm:t}=Fr(this);return Ne(t,e)},addEventListener(e,t,n){const r=Fr(this),{elm:o}=r,i=Cr(r,t);Pe(o,e,i,n)},removeEventListener(e,t,n){const r=Fr(this),{elm:o}=r,i=Cr(r,t);$e(o,e,i,n)},hasAttribute(e){const{elm:t}=Fr(this);return!I(Se(t,e))},hasAttributeNS(e,t){const{elm:n}=Fr(this);return!I(Se(n,t,e))},removeAttribute(e){const{elm:t}=Fr(this);ht(t,e),Ae(t,e),pt()},removeAttributeNS(e,t){const{elm:n}=Fr(this);ht(n,t),Ae(n,t,e),pt()},getAttribute(e){const{elm:t}=Fr(this);return Se(t,e)},getAttributeNS(e,t){const{elm:n}=Fr(this);return Se(n,t,e)},setAttribute(e,t){const n=Fr(this),{elm:r}=n;ht(r,e),Oe(r,e,t),pt()},setAttributeNS(e,t,n){const r=Fr(this),{elm:o}=r;ht(o,t),Oe(o,t,n,e),pt()},getBoundingClientRect(){const e=Fr(this),{elm:t}=e;return De(t)},get isConnected(){const{elm:e}=Fr(this);return ze(e)},get classList(){const e=Fr(this),{elm:t}=e;return _e(t)},get template(){return Fr(this).shadowRoot},get shadowRoot(){return null},render(){return Fr(this).def.template},toString(){return`[object ${Fr(this).def.name}]`}};const Qt=n(null),Zt=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function en(e){switch(e){case"children":return je;case"childNodes":return Be;case"firstChild":return We;case"firstElementChild":return Ve;case"lastChild":return Ke;case"lastElementChild":return Ge}}for(const e of Zt)Qt[e]={get(){const t=Fr(this),{elm:n}=t;return en(e)(n)},configurable:!0,enumerable:!0};const tn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function nn(e){switch(e){case"getElementsByClassName":return He;case"getElementsByTagName":return Ie;case"querySelector":return Fe;case"querySelectorAll":return Le}}for(const e of tn)Qt[e]={value(t){const n=Fr(this),{elm:r}=n;return nn(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};r(Yt.prototype,Qt);const rn=n(null);for(const e in mt)rn[e]=Xt(e,mt[e]);function on(e){return{get(){const t=Fr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Fr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,tt(n,e))},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=Fr(this);if(!hr(t))return nt(t,e),t.cmpProps[e]},set(t){const n=Fr(this);n.cmpProps[e]=t,tt(n,e)},enumerable:!0,configurable:!0}}r(Yt.prototype,rn),o(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class sn extends et{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,fe((()=>{if(H(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,H(e.isDirty)&&j(r)&&i>0&&$r(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function an(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Fr(this);if(r)if(se.ENABLE_REACTIVE_SETTER){let o=n.oar[e];L(o)&&(o=n.oar[e]=new sn(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function cn(e){return{get(){const t=Fr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Fr(this),r=qt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,tt(n,e))},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=Fr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Fr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,tt(n,e))},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:ce,apiFields:ce,apiFieldsConfig:ce,wiredMethods:ce,wiredFields:ce,observedFields:ce};const pn=new Set;function hn(){return[]}pn.add(hn);const mn=n(null),gn=n(null);function wn(e){let t=mn[e];return L(t)&&(t=mn[e]=function(){const t=Fr(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return L(t)&&(t=gn[e]=function(t){const n=Fr(this),{setHook:r}=n;t=qt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=Fr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,S.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];L(i)?L(t)||t.apply(this,arguments):ft(this,n)&&(this[i]=o)}}function En(e,t,i){let l;B(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),o(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=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];s[ie(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(s,a)},o(l,"observedAttributes",{get:()=>[...c,...d(s)]}),r(l.prototype,u),l}const Cn=En(st,s(mt),[]);i(Cn),f(Cn.prototype);const kn=new WeakMap;function xn(e){const{shadowSupportMode:o,renderMode:i}=e,l=function(e){const t=dn.get(e);return L(t)?fn:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(lt(t)){const e=it(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?Tn(E):Sn,k=En(C.bridge,d(s),d(u)),x=t(n(null),C.props,s),M=t(n(null),C.propsConfig,c),T=t(n(null),C.methods,u),S=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 O=C.shadowSupportMode;L(o)||(O=o);let A=C.renderMode;L(i)||(A="light"===i?0:1);const P=function(e){return wr.get(e)}(e)||C.template,$=e.name||C.name;r(m,h);return{ctor:e,name:$,wire:S,props:x,propsConfig:M,methods:T,bridge:k,template:P,renderMode:A,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Mn(e){if(!B(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(lt(t)){const e=it(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!I(t)&&(t=a(t)));return!1}function Tn(e){let t=kn.get(e);if(L(t)){if(lt(e)){return t=Tn(it(e)),kn.set(e,t),t}if(!Mn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=xn(e),kn.set(e,t)}return t}const Sn={ctor:Yt,name:Yt.name,props:rn,propsConfig:ce,methods:ce,renderMode:1,shadowSupportMode:"reset",wire:ce,bridge:Cn,template:hn,render:Yt.prototype.render};function On(e){const{type:t}=e;return 2===t||3===t}function An(e,t){return e.key===t.key&&e.sel===t.sel}function Pn(e,t){return"input"===e&&("value"===t||"checked"===t)}const $n=n(null);function Nn(e){if(null==e)return ce;e=W(e)?e:e+"";let t=$n[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===_.call(e,r)&&(r>o&&(t[D.call(e,o,r)]=!0),o=r+1);return r>o&&(t[D.call(e,o,r)]=!0),$n[e]=t,t}function _n(e,t,n){var r;r=t,Un.has(r)?function(e,t,n){let r=0,o=0,i=e.length-1,l=e[0],s=e[i];const a=t.length-1;let c,u,d,f,p=a,h=t[0],m=t[p],g=!1;for(;r<=i&&o<=p;)Hn(l)?Hn(s)?Hn(h)?Hn(m)?An(l,h)?(Rn(l,h),l=e[++r],h=t[++o]):An(s,m)?(Rn(s,m),s=e[--i],m=t[--p]):An(l,m)?(Rn(l,m),Kn(l.elm,n,Ce(s.elm)),l=e[++r],m=t[--p]):An(s,h)?(Rn(s,h),Kn(h.elm,n,l.elm),s=e[--i],h=t[++o]):(void 0===c&&(c=qn(e,r,i)),u=c[h.key],L(u)?(Dn(h,n,l.elm),h=t[++o]):(d=e[u],Hn(d)&&(d.sel!==h.sel?Dn(h,n,l.elm):(Rn(d,h),g||(g=!0,e=[...e]),e[u]=void 0,Kn(d.elm,n,l.elm))),h=t[++o])):m=t[--p]:h=t[++o]:s=e[--i]:l=e[++r];if(r<=i||o<=p)if(r>i){let e,r=p;do{e=t[++r]}while(!Hn(e)&&r<a);f=Hn(e)?e.elm:null,Fn(t,n,f,o,p+1)}else In(e,n,!0,r,i+1)}(e,t,n):function(e,t,n){const r=e.length,o=t.length;if(0===r)return void Fn(t,n,null);if(0===o)return void In(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],l=t[r];l!==o&&(Hn(o)?Hn(l)?(Rn(o,l),i=l.elm):Ln(o,n,!0):Hn(l)&&(Dn(l,n,i),i=l.elm))}}(e,t,n)}function Rn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Vn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Gn(e,t),_n(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Gn(e,t),L(r)||zn(t,r);_n(e.children,t.children,n),L(r)||$r(r)}(e,t)}}function Dn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=ve(e.text);Wn(o,r),Kn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=Ee(e.text);Wn(o,r),Kn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,l=H(i)?"http://www.w3.org/2000/svg":void 0,s=be(r,l);Wn(s,o),function(e,t){const{owner:n}=t;if(Bn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;L(r)||L(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),L(o)||jn(e,o)}}(s,e),e.elm=s,Gn(null,e),Kn(s,t,n),Fn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:r,owner:o}=e,i=function(e){e=e.toLowerCase();let t=Xe(e);return L(t)?(t=class extends ge{constructor(e){super(),B(e)&&e(this)}},qe(e,t),t):t}(r);let l;const s=new i((t=>{l=function(e,t){let n=Lr(e);if(!L(n))return n;const{sel:r,mode:o,ctor:i,owner:l}=t;if(Bn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;L(t)||jn(e,t)}return n=Rr(e,i,{mode:o,owner:l,tagName:r}),n}(t,e)}));if(Wn(s,o),e.elm=s,e.vm=l,l)zn(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Gn(null,e),Kn(s,t,n),l&&Br(l);Fn(e.children,s,null),l&&function(e){Ir(e)}(l)}(e,t,n)}}function Fn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];Hn(o)&&Dn(o,t,n)}}function Ln(e,t,n=!1){const{type:r,elm:o,sel:i}=e;switch(n&&function(e,t){ye(e,t)}(o,t),r){case 2:{const t="slot"===i&&1===e.owner.shadowMode;In(e.children,o,t);break}case 3:{const{vm:t}=e;L(t)||function(e){_r(e)}(t)}}}function In(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];Hn(o)&&Ln(o,t,n)}}function Hn(e){return null!=e}function jn(e,t){e.$shadowToken$=t}function Bn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!L(o)&&r.hasScopedStyles&&_e(e).add(o)}function Wn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;me&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function Vn(e){const{elm:t,text:n}=e;Te(t,n)}function Kn(e,t,n){we(e,t,n)}function Gn(e,t){I(e)&&(function(e){const{elm:t,data:{on:n}}=e;if(!L(n))for(const e in n){const r=n[e];Pe(t,e,r)}}(t),function(e){const{elm:t,data:{classMap:n}}=e;if(L(n))return;const r=_e(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!L(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];Re(t,r,o,i)}}(t)),function(e,t){const{elm:n,data:{className:r}}=t,o=I(e)?void 0:e.data.className;if(o===r)return;const i=_e(n),l=Nn(r),s=Nn(o);let a;for(a in s)L(l[a])&&i.remove(a);for(a in l)L(s[a])&&i.add(a)}(e,t),function(e,t){const{elm:n,data:{style:r}}=t;(I(e)?void 0:e.data.style)!==r&&(W(r)&&""!==r?Oe(n,"style",r):Ae(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(L(n))return;const r=I(e)?ce:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(ht(o,e),58===_.call(e,3)?Oe(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===_.call(e,5)?Oe(o,e,t,"http://www.w3.org/1999/xlink"):I(t)||L(t)?Ae(o,e):Oe(o,e,t),pt())}}(e,t),function(e,t){const{props:n}=t.data;if(L(n))return;const r=I(e)?ce:e.data.props;if(r===n)return;const o=I(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(o||t!==(Pn(l,e)?xe(i,e):r[e]))&&Me(i,e,t)}}(e,t)}function zn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(I(n))continue;let o="";On(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const l=i[o]=i[o]||[];k.call(l,n)}if(j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void vr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(L(i[r])||o[r].length!==i[r].length)return void vr(e);const l=o[r],s=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(l[t]!==s[t])return void vr(e)}}}(t,r),e.aChildren=r,e.children=ue)}const Un=new WeakMap;function qn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Hn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const Xn=Symbol.iterator;function Yn(e,t,n=ue){const r=ur();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Jn(e,t,n,r=ue){const o=ur(),{key:i}=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(ur().velements,e)}(l),l}const Qn=new Map;let Zn=0;function er(e){var t;return t=e,Un.set(t,1),e}let tr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const nr=i({s:function(e,t,n,r){L(r)||L(r[e])||0===r[e].length||(n=r[e]);const o=ur(),{renderMode:i,shadowMode:l}=o;return 0===i?(er(n),n):(1===l&&er(n),Yn("slot",t,n))},h:Yn,c:Jn,i:function(e,t){const n=[];if(er(n),L(e)||null===e)return n;const r=e[Xn]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);h(e)?k.apply(n,e):k.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];er(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:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=ur();if(I(t))throw new Error;const n=t;return function(t){gr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}},dc:function(e,t,n,r=ue){if(null==t)return null;if(!Mn(t))throw new Error(`Invalid LWC Constructor ${G(t)} for custom element <${e}>.`);let o=Qn.get(t);return L(o)&&(o=Zn++,Qn.set(t,o)),Jn(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(H(e)||j(e))?0:e},gid:function(e){const t=ur();if(L(e)||""===e)return e;if(I(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=ur();if(L(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return tr(e)}});function rr(e){return`${e}-host`}function or(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(h(l))k.apply(r,or(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(L(o)&&(o=lr(n)),a=I(o)||0===o.shadowMode),k.call(r,l(i,s,a))}}return r}function ir(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return L(n)||0===n.length||(o=or(n,r,e)),o}function lr(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function sr(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Ue(t[e]);else{if(pe||e.hydrated){const e=v.call(t,"\n");return o=e,nr.h("style",{key:"style",attrs:{type:"text/css"}},[nr.t(o)])}{const n=function(e){const t=lr(e);return I(t)||1!==t.shadowMode?t:null}(e),r=I(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)Ue(t[e],r)}}var o;return null}let ar=!1,cr=null;function ur(){return cr}function dr(e){cr=e}function fr(e,t){const r=ar,o=cr;let i=[];return zr(e,e.owner,(()=>{cr=e}),(()=>{const{component:r,context:o,cmpSlots:l,cmpTemplate:s,tro:a}=e;a.observe((()=>{if(t!==s){if(I(s)||Gr(e),a=t,!pn.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: ${G(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!L(t))for(let e=0;e<t.length;e++)if(H(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i}=e,{stylesheets:l,stylesheetToken:s}=t,a=1===o&&1===i,{hasScopedStyles:c}=r;let u,d,f;const{stylesheetToken:p,hasTokenInClass:h,hasTokenInAttribute:m}=r;L(p)||(h&&_e(n).remove(rr(p)),m&&Ae(n,rr(p))),L(l)||0===l.length||(u=s),L(u)||(c&&(_e(n).add(rr(u)),d=!0),a&&(Oe(n,rr(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const r=ir(e,t);o.styleVNode=0===r.length?null:sr(e,r)}var a;e.velements=[],ar=!0,i=t.call(void 0,nr,r,l,o.tplCache);const{styleVNode:c}=o;I(c)||P.call(i,c)}))}),(()=>{ar=r,cr=o})),i}let pr=null;function hr(e){return pr===e}function mr(e,t,n){const{component:r,callHook:o,owner:i}=e;zr(e,i,V,(()=>{o(r,t,n)}),V)}function gr(e,t,n,r){const{callHook:o,owner:i}=e;zr(e,i,V,(()=>{o(n,t,[r])}),V)}const wr=new Map;function yr(e){return new et((()=>{const{isDirty:t}=e;j(t)&&(vr(e),function(e){if(H(pe)||H(e.isScheduled))return;e.isScheduled=!0,0===Hr.length&&fe(jr);k.call(Hr,e)}(e))}))}function br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=ur();let l,s=!1;return zr(e,o,(()=>{dr(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{dr(i)})),s?fr(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function vr(e){e.isDirty=!0}const Er=new WeakMap;function Cr(e,t){if(!B(t))throw new TypeError;let n=Er.get(t);return L(n)&&(n=function(n){gr(e,t,void 0,n)},Er.set(t,n)),n}const kr=n(null),xr=["rendered","connected","disconnected"];function Mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Tr=0;const Sr=new WeakMap;function Or(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Pr(e,t){return e[t]}function $r(e){Ir(e)}function Nr(e){const t=Fr(e);1===t.state&&function(e){_r(Fr(e))}(e),Br(t),Ir(t)}function _r(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}=kr;t&&Mr(e,t);Wr(e)&&function(e){const{wiredDisconnecting:t}=e.context;zr(e,e,V,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),V)}(e);const{disconnectedCallback:n}=e.def;L(n)||mr(e,n)}(e),Vr(e),function(e){const{aChildren:t}=e;Kr(t)}(e)}}function Rr(e,t,r){const{mode:o,owner:i,tagName:l,hydrated:s}=r,a=Tn(t),c={elm:e,def:a,idx:Tr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,children:ue,aChildren:ue,velements:ue,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(s),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:ce,wiredConnecting:ue,wiredDisconnecting:ue},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Or,setHook:Ar,getHook:Pr};return c.shadowMode=function(e){const{def:t}=e;let n;if(me)if(0===t.renderMode)n=0;else if(he)if(se.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=I(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c),c.tro=yr(c),function(e,t){const n=pr;let r;pr=e;try{const o=new t;if(pr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(pr=n,!L(r))throw ot(e,r),r}}(c,a.ctor),Wr(c)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=Ur.get(i);if(!L(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=Xr(e,t,l),a=l.dynamic.length>0;k.call(r,(()=>{n.connect(),se.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),s()}))}}}(c),c}function Dr(e,t){Sr.set(e,t)}function Fr(e){return Sr.get(e)}function Lr(e){return Sr.get(e)}function Ir(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&zr(e,e,(()=>{}),(()=>{_n(r,t,n)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t}}=e;if(H(pe))return;const{rendered:n}=kr;n&&Mr(e,n);L(t)||mr(e,t)}(e)}(e,br(e))}}let Hr=[];function jr(){const e=Hr.sort(((e,t)=>e.idx-t.idx));Hr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Ir(r)}catch(r){throw t+1<n&&(0===Hr.length&&fe(jr),P.apply(Hr,S.call(e,t+1))),r}}}function Br(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=kr;n&&Mr(e,n),Wr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;L(r)||mr(e,r)}function Wr(e){return s(e.def.wire).length>0}function Vr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!L(n)){const e=Lr(n);L(e)||_r(e)}}}function Kr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!L(n.elm))switch(n.type){case 2:Kr(n.children);break;case 3:_r(Fr(n.elm));break}}}function Gr(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];I(r)||L(r.elm)||ye(r.elm,n)}e.children=ue,Vr(e),e.velements=ue}function zr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!L(i)){ot(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!L(t.def.errorCallback))return t;t=t.owner}}(t);if(L(n))throw i;Gr(e);mr(n,n.def.errorCallback,[i,i.wcStack])}}}const Ur=new Map;class qr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Xr(e,t,n){const{method:r,adapter:i,configCallback:l,dynamic:s}=n,a=L(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,tt(e,t))}}(e,t):function(e,t){return n=>{zr(e,e.owner,V,(()=>{t.call(e.component,n)}),V)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),zr(e,e,V,(()=>{u=new i(a)}),V);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new et((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,l,(t=>{zr(e,e,V,(()=>{u.update(t,c)}),V)}));return L(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jr(r);if(L(o))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;k.call(l,(()=>{const e=new qr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(s,e)}});Ne(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 Jr(e){return Yr.get(e)}function Qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Ur.set(e,o)}function Zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Ur.set(e,o)}let eo=!1;var to;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(to||(to={}));const no=/\s+/g;function ro(e){return new Set(e.split(no).filter((e=>e.length)))}function oo(e){return Array.from(e).join(" ")}function io(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function lo(e){return{type:to.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const so=n(null),ao=new WeakMap;function co(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null}function uo(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));L(r)&&(r=null),L(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n}function fo(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))}const po=V,ho=V,mo=V,go=io("dispatchEvent"),wo=io("getBoundingClientRect"),yo=io("querySelector"),bo=io("querySelectorAll"),vo=io("getElementsByTagName"),Eo=io("getElementsByClassName"),Co=io("getChildren"),ko=io("getChildNodes"),xo=io("getFirstChild"),Mo=io("getFirstElementChild"),To=io("getLastChild"),So=io("getLastElementChild");const Oo=class{constructor(){const{constructor:e}=this,t=ao.get(e);if(!t)throw new TypeError("Invalid Construction");return lo(t)}};ke=function(e,t){return e.shadowRoot={type:to.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot},Ee=function(e){return{type:to.Comment,value:e,parent:null}},be=lo,ve=function(e){return{type:to.Text,value:String(e),parent:null}},qe=function(e,t,n){!function(e,t){if(e!==F.call(e)||so[e])throw new TypeError("Invalid Registration");so[e]=t,ao.set(t,e)}(e,t)},Ne=go,Se=co,De=wo,Be=ko,je=Co,_e=function(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&I(e.namespace)));return L(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=ro(n.value);e.forEach((e=>r.add(e))),n.value=oo(r)},remove(...e){const n=t(),r=ro(n.value);e.forEach((e=>r.delete(e))),n.value=oo(r)}}},Xe=function(e){return so[e]},He=Eo,Ie=vo,We=xo,Ve=Mo,Ke=To,Ge=So,xe=function(e,t){var n,r;if(t in e)return e[t];if(e.type===to.Element){const o=ie(t);if(ee(o,e.name))return null!==(n=co(e,o))&&void 0!==n&&n;if(ne(o)||Y(o))return co(e,o);if("input"===e.name&&"value"===t)return null!==(r=co(e,"value"))&&void 0!==r?r:""}},function(e){ge=e}(Oo),we=function(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=I(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},ze=function(e){return!I(e.parent)},he=!1,me=!1,Ce=function(e){const{parent:t}=e;if(I(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},Fe=yo,Le=bo,ye=function(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},Ae=fo,$e=mo,Oe=uo,Re=function(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&I(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;L(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},Me=function(e,t,n){if(t in e)return e[t]=n;if(e.type===to.Element){const r=ie(t);if("innerHTML"===t)return void(e.children=[{type:to.Raw,parent:e,value:n}]);if(ee(r,e.name))return!0===n?uo(e,r,""):fo(e,r);if(ne(r)||Y(r))return uo(e,r,n);if("input"===e.name&&"value"===r)return I(n)||L(n)?fo(e,"value"):uo(e,"value",n)}},Te=function(e,t){e.type===to.Text?e.value=t:e.type===to.Element&&(e.children=[{type:to.Text,parent:e,value:t}])},pe=!0,Pe=ho,Ue=po;const Ao={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Po(e){return e.replace(/["'<>&]/g,(e=>Ao[e]))}function $o(e){return e.map((e=>{switch(e.type){case to.Text:return""===e.value?"‍":Po(e.value);case to.Comment:return`\x3c!--${Po(e.value)}--\x3e`;case to.Raw:return e.value;case to.Element:return No(e)}})).join("")}function No(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Po(e.value))}`:e.name)).join(" ")}`:"";var o;const i=$o(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${$o(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return Q.has(e)}(n)||(t+=`</${n}>`),t}const _o={type:to.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Yt),f(Yt.prototype),exports.LightningElement=Yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Jr(e);if(!L(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((()=>{L(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Tn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)s[e]={config:i[e]||0,type:"any",attr:ie(e)};const a={};for(const e in l)a[e]=l[e].value;return{ctor:n,name:r,props:s,methods:a}},exports.isComponentConstructor=Mn,exports.readonly=function(e){return qt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<xr.length;++t){const n=xr[t];if(n in e){let t=kr[n];L(t)&&(kr[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return B(e)&&wr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:s,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(!L(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=l(r,e),t.config>0){if(L(w))throw new Error;w=an(e,w)}else w=L(w)||L(w.get)?ln(e):an(e,w);f[e]=w,o(r,e,w)}if(L(s)||$.call(s,(e=>{if(w=l(r,e),L(w))throw new Error;d[e]=w})),!L(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:s=[]}=a[e];if(w=l(r,e),1===n){if(L(w))throw new Error;p[e]=w,Qr(w,t,i,s)}else w=un(e),h[e]=w,Zr(w,t,i,s),o(r,e,w)}if(!L(c))for(const e in c)w=l(r,e),w=cn(e),o(r,e,w);if(!L(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(r,t);const n=!L(i)&&t in i,o=!L(c)&&t in c;n||o||(m[t]=on(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return pn.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return L(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=L(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(!B(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||I(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=lo(e);Rr(r,t,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=_o,Nr(r),No(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(L(le[e])){const n=d(le).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=se[e];if(!L(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(se,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(eo,"Hooks are already overridden, only one definition is allowed."),eo=!0,n=t.sanitizeHtmlContent,tr=n},exports.track=function(e){if(1===arguments.length)return qt.getProxy(e);throw new Error},exports.unwrap=function(e){return qt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};