lwc 2.26.2 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +137 -31
- package/dist/engine-dom/iife/es2017/engine-dom.js +137 -31
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +119 -27
- package/dist/engine-dom/iife/es5/engine-dom.js +179 -44
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +158 -40
- package/dist/engine-dom/umd/es2017/engine-dom.js +137 -31
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +119 -27
- package/dist/engine-dom/umd/es5/engine-dom.js +179 -44
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +158 -40
- package/dist/engine-server/commonjs/es2017/engine-server.js +99 -25
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +99 -25
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:S,reduce:k,reverse:T,shift:M,slice:x,sort:A,splice:O,unshift:N,forEach:_}=Array.prototype,{fromCharCode:L}=String,{charCodeAt:$,replace:P,slice:D,toLowerCase:R}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function H(e){return!0===e}function B(e){return!1===e}function V(e){return"function"==typeof e}function j(e){return"string"==typeof e}function W(){}const G={}.toString;function U(e){return e&&e.toString?h(e)?v.call(E.call(e,U),","):e.toString():"object"==typeof e?G.call(e):e+""}function K(e,t){do{const n=s(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const z=["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:Y}=(()=>{const e=n(null),t=n(null);return _.call(z,(n=>{const r=R.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function X(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="http://www.w3.org/1999/xhtml",Z=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ee=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 te(e,t){const n=ee.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ne=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function re(e){return ne.has(e)}const oe=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"]]),ie=new Map;function se(e){const t=Y[e];if(!I(t))return t;const n=oe.get(e);if(!I(n))return n;const r=ie.get(e);if(!I(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?"-"+L(n+32):L(n)}return ie.set(e,o),o}const le={'"':""","'":"'","<":"<",">":">","&":"&"};function ae(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>le[e]))}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 ce={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const ue=J.lwcRuntimeFlags;const de=f(n(null)),fe=f([]);function pe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const he=new WeakMap;const me={observe(e){e()},reset(){},link(){}};function ge(e){return me}function we(e){return`<${R.call(e.tagName)}>`}function ye(e,t){if(!u(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)S.call(t,we(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function be(e,t,n){let r=`[LWC ${e}]: ${t}`;I(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!F(e.owner);)S.call(t,n+we(e)),e=e.owner,n+="\t";return v.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function ve(e,t){be("error",e,t)}function Ee(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Ce(e){return V(e)&&c.call(e,"__circular__")}const Se="undefined"!=typeof HTMLElement?HTMLElement:function(){},ke=Se.prototype;function Te(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:Te("offsetHeight")},offsetLeft:{readOnly:!0,error:Te("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Te("offsetTop")},offsetWidth:{readOnly:!0,error:Te("offsetWidth")},role:{attribute:"role"}});let Me,xe=null;function Ae(e,t){return e!==xe||t!==Me}function Oe(e,t){xe=null,Me=void 0}function Ne(e,t){xe=e,Me=t}const _e=n(null);function Le(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}_.call(d(Y),(e=>{const t=K(ke,e);I(t)||(_e[e]=t)})),_.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=K(ke,e);I(t)||(_e[e]=t)}));const{isArray:$e}=Array,{prototype:Pe,getPrototypeOf:De,create:Re,defineProperty:Ie,isExtensible:Fe,getOwnPropertyDescriptor:He,getOwnPropertyNames:Be,getOwnPropertySymbols:Ve,preventExtensions:je,hasOwnProperty:We}=Object,{push:Ge,concat:Ue}=Array.prototype;function Ke(e){return void 0===e}function ze(e){return"function"==typeof e}const qe=new WeakMap;function Ye(e,t){qe.set(e,t)}const Xe=e=>qe.get(e)||e;class Je{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(We.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ke(n)||(e.get=this.wrapGetter(n)),Ke(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=He(n,t);if(!Ke(r)){const n=this.wrapDescriptor(r);Ie(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ue.call(Be(t),Ve(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ke(n)||We.call(e,n)||Ie(e,n,Re(null)),je(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=Ke(n)||We.call(t,n)?[]:[n];return Ge.apply(r,Be(t)),Ge.apply(r,Ve(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Fe(e)&&(!!Fe(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return De(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=He(n,t);if(Ke(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Ie(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Qe=new WeakMap,Ze=new WeakMap,et=new WeakMap,tt=new WeakMap;class nt extends Je{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Qe.get(e);if(!Ke(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Xe(this)))};return Qe.set(e,r),et.set(r,e),r}wrapSetter(e){const t=Ze.get(e);if(!Ke(t))return t;const n=function(t){e.call(Xe(this),Xe(t))};return Ze.set(e,n),tt.set(n,e),n}unwrapDescriptor(e){if(We.call(e,"value"))e.value=Xe(e.value);else{const{set:t,get:n}=e;Ke(n)||(e.get=this.unwrapGetter(n)),Ke(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=et.get(e);if(!Ke(t))return t;const n=this,r=function(){return Xe(e.call(n.wrapValue(this)))};return Qe.set(r,e),et.set(e,r),r}unwrapSetter(e){const t=tt.get(e);if(!Ke(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ze.set(r,e),tt.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&&$e(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(Fe(e)){const{originalTarget:t}=this;if(je(t),Fe(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!We.call(r,t)||(Ie(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const rt=new WeakMap,ot=new WeakMap;class it extends Je{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=rt.get(e);if(!Ke(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Xe(this)))};return rt.set(e,r),r}wrapSetter(e){const t=ot.get(e);if(!Ke(t))return t;const n=function(e){};return ot.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function st(e){if(null===e)return!1;if("object"!=typeof e)return!1;if($e(e))return!0;const t=De(e);return t===Pe||null===t||null===De(t)}const lt=(e,t)=>{},at=(e,t)=>{};function ct(e){return $e(e)?[]:{}}const ut=Symbol.for("@@lockerLiveValue"),dt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ze(t)?t:at,this.valueObserved=ze(n)?n:lt,this.valueIsObservable=ze(r)?r:st,this.tagPropertyKey=o}getProxy(e){const t=Xe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Xe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Xe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ke(t)){const n=new nt(this,e);t=new Proxy(ct(e),n),Ye(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ke(t)){const n=new it(this,e);t=new Proxy(ct(e),n),Ye(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=he.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ut});function ft(e){return dt.getReadOnlyProxy(e)}function pt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!V(n))throw new TypeError;if(!V(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=tr(this);if(!Pn(e))return n.call(e.elm)},set(t){const n=tr(this);return Le(n,e,t),r.call(n.elm,t)}}}const ht=i(n(null)),mt=new WeakMap,gt=function(){if(F($n))throw new TypeError("Illegal constructor");const e=$n,{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 er(o,e),er(n,e),1===e.renderMode?e.renderRoot=wt(e):e.renderRoot=n,this};function wt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,er(s,e),s}gt.prototype={constructor:gt,dispatchEvent(e){const t=tr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=tr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Vn(r,t),n)},removeEventListener(e,t,n){const r=tr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Vn(r,t),n)},hasAttribute(e){const t=tr(this),{elm:n,renderer:{getAttribute:r}}=t;return!F(r(n,e))},hasAttributeNS(e,t){const n=tr(this),{elm:r,renderer:{getAttribute:o}}=n;return!F(o(r,t,e))},removeAttribute(e){const t=tr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ne(n,e),r(n,e),Oe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=tr(this);Ne(n,t),r(n,t,e),Oe()},getAttribute(e){const t=tr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=tr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=tr(this),{elm:r,renderer:{setAttribute:o}}=n;Ne(r,e),o(r,e,t),Oe()},setAttributeNS(e,t,n){const r=tr(this),{elm:o,renderer:{setAttribute:i}}=r;Ne(o,t),i(o,t,n,e),Oe()},getBoundingClientRect(){const e=tr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=tr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=tr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return tr(this).shadowRoot},get refs(){const e=tr(this);if(Mn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(F(t))return ht;let s=mt.get(t);if(I(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),mt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=tr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=tr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=tr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=tr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=tr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=tr(this);return e.renderer.getLastElementChild(e.elm)},render(){return tr(this).def.template},toString(){return`[object ${tr(this).def.name}]`}};const yt=n(null),bt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of bt)yt[e]={value(t){const n=tr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(gt.prototype,yt);const vt=n(null);for(const e in _e)vt[e]=pt(e,_e[e]);function Et(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}r(gt.prototype,vt),o(gt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ct={observe(e){e()},reset(){},link(){}};function St(e){return{get(){const t=tr(this);if(!Pn(t))return t.cmpProps[e]},set(t){tr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!V(n))throw new Error;return{get(){return n.call(this)},set(t){const n=tr(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];I(o)&&(o=n.oar[e]=Ct),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Tt(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}function Mt(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}const xt=new Map;const At={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const Ot=new Set;function Nt(){return[]}Ot.add(Nt);const _t=n(null),Lt=n(null);function $t(e){let t=_t[e];return I(t)&&(t=_t[e]=function(){const t=tr(this),{getHook:n}=t;return n(t.component,e)}),t}function Pt(e){let t=Lt[e];return I(t)&&(t=Lt[e]=function(t){const n=tr(this),{setHook:r}=n;t=ft(t),r(n.component,e,t)}),t}function Dt(e){return function(){const t=tr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function Rt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):Ae(this,n)&&(this[i]=o)}}function It(e,t,i){let s;V(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[se(n)]=n,u[n]={get:$t(n),set:Pt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Dt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Rt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Ft=It(Se,l(_e),[]);i(Ft),f(Ft.prototype);const Ht=new WeakMap;function Bt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=xt.get(e);return I(t)?At:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Ce(t)){const e=Ee(t);t=e===t?gt:e}return t}(e),C=E!==gt?jt(E):Wt,S=It(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;I(o)||(A=o);let O=C.renderMode;I(i)||(O="light"===i?0:1);const N=function(e){return In.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Vt(e){if(!V(e))return!1;if(e.prototype instanceof gt)return!0;let t=e;do{if(Ce(t)){const e=Ee(t);if(e===t)return!0;t=e}if(t===gt)return!0}while(!F(t)&&(t=a(t)));return!1}function jt(e){let t=Ht.get(e);if(I(t)){if(Ce(e)){return t=jt(Ee(e)),Ht.set(e,t),t}if(!Vt(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=Bt(e),Ht.set(e,t)}return t}const Wt={ctor:gt,name:gt.name,props:vt,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:Ft,template:Nt,render:gt.prototype.render};function Gt(e){return`${e}-host`}function Ut(e){return Tn.h("style",{key:"style",attrs:{type:"text/css"}},[Tn.t(e)])}function Kt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))S.apply(r,Kt(s,t,n));else{const e=s.$scoped$;if(ue.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){ve("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(I(o)&&(o=qt(n)),a=F(o)||0===o.shadowMode),S.call(r,s(i,l,a))}}return r}function zt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return I(n)||0===n.length||(o=Kt(n,r,e)),o}function qt(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Yt(e){const{type:t}=e;return 2===t||3===t}function Xt(e,t){return e.key===t.key&&e.sel===t.sel}function Jt(e,t){return"input"===e&&("value"===t||"checked"===t)}const Qt=n(null);function Zt(e){if(null==e)return de;e=j(e)?e:e+"";let t=Qt[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),Qt[e]=t,t}function en(e,t,n,r){var o;o=t,mn.has(o)?wn(e,t,n,r):yn(e,t,n,r)}function tn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&un(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?yn(e.children,o,n,r):wn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;fn(e,t,n),en(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);sn(e,n,r,!0),rn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;fn(e,t,r),I(o)||hn(t,o),en(e.children,t.children,n,r),I(o)||function(e){rr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function nn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);cn(s,o,r),dn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);cn(s,o,r),dn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);cn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));dn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;on(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=H(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);cn(c,i,r),pn(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),fn(null,e,r),dn(c,t,n,r),on(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:rn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function rn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=nr(e);if(!I(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Zn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Xn(e)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Jn(e)}));e.elm=a,e.vm=l,cn(a,i,r),pn(a,i,r),l&&hn(e,l),fn(null,e,r),dn(a,t,n,r),l&&or(l),on(e.children,a,r,null),l&&function(e){rr(e)}(l)}function on(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];an(i)&&nn(i,t,n,r)}}function sn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?ln(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;ln(e.children,i,n,t);break}case 3:{const{vm:t}=e;I(t)||function(e){Qn(e)}(t)}}}function ln(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];an(i)&&sn(i,t,n,r)}}function an(e){return null!=e}function cn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function un(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function dn(e,t,n,r){r.insert(e,t,n)}function fn(e,n,r){F(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(I(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(I(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(I(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=F(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=Zt(o),c=Zt(i);let u;for(u in c)I(a[u])&&l.remove(u);for(u in a)I(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((F(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;j(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(I(r))return;const o=F(e)?de:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ne(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?l(i,e):s(i,e,t),Oe())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(I(o)&&I(i))return;let s;if(!F(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;I(s)&&(s=de),I(n)||(s=t({},s,n))}I(i)||(o=t({},o,i));const l=F(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Jt(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function pn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!F(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||I(o)||(e.$shadowToken$=o)}function hn(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(F(n))continue;let o="";Yt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];S.call(s,n)}if(B(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Hn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(I(i[r])||o[r].length!==i[r].length)return void Hn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Hn(e)}}}(t,r),e.aChildren=r,e.children=fe)}const mn=new WeakMap;function gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(an(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function wn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)an(l)?an(a)?an(m)?an(g)?Xt(l,m)?(tn(l,m,n,r),l=e[++o],m=t[++i]):Xt(a,g)?(tn(a,g,n,r),a=e[--s],g=t[--h]):Xt(l,g)?(tn(l,g,n,r),dn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Xt(a,m)?(tn(a,m,n,r),dn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=gn(e,o,s)),d=u[m.key],I(d)?(nn(m,n,r,l.elm),m=t[++i]):(f=e[d],an(f)&&(f.sel!==m.sel?nn(m,n,r,l.elm):(tn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,dn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!an(e)&&o<c);p=an(e)?e.elm:null,on(t,n,r,p,i,h+1)}else ln(e,n,r,!0,o,s+1)}function yn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void on(t,n,r,null);if(0===i)return void ln(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(an(i)?an(l)?(tn(i,l,n,r),s=l.elm):sn(i,n,r,!0):an(l)&&(nn(l,n,r,s),s=l.elm))}}const bn=Symbol.iterator;function vn(e,t,n=fe){const r=An(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return I(i)||pe(r,i,s),s}function En(e,t,n,r=fe){const o=An(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){S.call(An().velements,e)}(l),I(s)||pe(o,s,l),l}function Cn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:An()}}function Sn(e){var t;return t=e,mn.set(t,1),e}let kn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Tn=i({s:function(e,t,n,r){I(r)||I(r[e])||0===r[e].length||(n=r[e]);const o=An(),{renderMode:i,shadowMode:s}=o;return 0===i?(Sn(n),n):(1===s&&Sn(n),vn("slot",t,n))},h:vn,c:En,i:function(e,t){const n=[];if(Sn(n),I(e)||null===e)return n;const r=e[bn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Sn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?S.apply(n,t):S.call(n,t)}return n},t:Cn,d:function(e){return null==e?"":String(e)},b:function(e){const t=An();if(F(t))throw new Error;const n=t;return function(t){Rn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:An()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!Vt(t))throw new Error(`Invalid LWC Constructor ${U(t)} for custom element <${e}>.`);return En(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Cn(""),...t,Cn("")],stable:n,owner:An()}},ti:function(e){return e>0&&!(H(e)||B(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:An()}},gid:function(e){const t=An();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=An();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return kn(e)}});let Mn=!1,xn=null;function An(){return xn}function On(e){xn=e}const Nn=(_n=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=An(),l=!I(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!I(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=_n(p,s),r[c]}});var _n;function Ln(e,t){const r=Mn,o=xn;let i=[];return cr(e,e.owner,(()=>{xn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(F(l)||ar(e),a=t,!Ot.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${U(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(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,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;I(g)||(w&&s(n).remove(Gt(g)),y&&l(n,Gt(g))),I(c)||0===c.length||(p=u),I(p)||(f&&(s(n).add(Gt(p)),h=!0),d&&(a(n,Gt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=zt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return E.call(t,Ut);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],Mn=!0,i=t.call(void 0,Tn,r,s,o.tplCache);const{styleVNodes:u}=o;F(u)||N.apply(i,u)}))}),(()=>{Mn=r,xn=o})),i}let $n=null;function Pn(e){return $n===e}function Dn(e,t,n){const{component:r,callHook:o,owner:i}=e;cr(e,i,W,(()=>{o(r,t,n)}),W)}function Rn(e,t,n,r){const{callHook:o,owner:i}=e;cr(e,i,W,(()=>{o(n,t,[r])}),W)}const In=new Map;function Fn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=An();let s,l=!1;return cr(e,o,(()=>{On(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{On(i)})),l?Ln(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Hn(e){e.isDirty=!0}const Bn=new WeakMap;function Vn(e,t){if(!V(t))throw new TypeError;let n=Bn.get(t);return I(n)&&(n=function(n){Rn(e,t,void 0,n)},Bn.set(t,n)),n}const jn=n(null),Wn=["rendered","connected","disconnected"];function Gn(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 Un=0;const Kn=new WeakMap;function zn(e,t,n=[]){return t.apply(e,n)}function qn(e,t,n){e[t]=n}function Yn(e,t){return e[t]}function Xn(e){const t=tr(e);1===t.state&&Jn(e),or(t),rr(t)}function Jn(e){Qn(tr(e))}function Qn(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){B(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=jn;t&&Gn(e,t);ir(e)&&function(e){const{wiredDisconnecting:t}=e.context;cr(e,e,W,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),W)}(e);const{disconnectedCallback:n}=e.def;I(n)||Dn(e,n)}(e),sr(e),function(e){const{aChildren:t}=e;lr(t)}(e)}}function Zn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=jt(t),u={elm:e,def:c,idx:Un++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:zn,setHook:qn,getHook:Yn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!F(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=F(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ge(),function(e,t){const n=$n;let r;$n=e;try{const o=new t;if($n.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if($n=n,!I(r))throw ye(e,r),r}}(u,c.ctor),ir(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=ur.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=fr(e,t,s),a=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function er(e,t){Kn.set(e,t)}function tr(e){return Kn.get(e)}function nr(e){return Kn.get(e)}function rr(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&cr(e,e,(()=>{}),(()=>{en(r,t,n,o)}),(()=>{}));e.state}(e,Fn(e))}}function or(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=jn;n&&Gn(e,n),ir(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;I(r)||Dn(e,r)}function ir(e){return l(e.def.wire).length>0}function sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!I(n)){const e=nr(n);I(e)||Qn(e)}}}function lr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:lr(n.children);break;case 3:Qn(tr(n.elm));break}}}function ar(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||r(o.elm,n)}e.children=fe,sr(e),e.velements=fe}function cr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!I(i)){ye(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;ar(e);Dn(n,n.def.errorCallback,[i,i.wcStack])}}}const ur=new Map;class dr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function fr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=I(r)?function(e,t){return n=>{Le(e,t,n)}}(e,t):function(e,t){return n=>{cr(e,e.owner,W,(()=>{t.call(e.component,n)}),W)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),cr(e,e,W,(()=>{u=new i(a)}),W);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ge();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{cr(e,e,W,(()=>{u.update(t,c)}),W)}));return I(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=hr(r);if(I(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;S.call(s,(()=>{const e=new dr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const pr=new Map;function hr(e){return pr.get(e)}function mr(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 gr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};ur.set(e,o)}let wr=!1;const yr=Symbol("namespace"),br=Symbol("type"),vr=Symbol("parent"),Er=Symbol("shadow-root"),Cr=Symbol("children"),Sr=Symbol("attributes"),kr=Symbol("event-listeners"),Tr=Symbol("value");var Mr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Mr||(Mr={}));const xr=/\s+/g;function Ar(e){return new Set(e.split(xr).filter((e=>e.length)))}function Or(e){return Array.from(e).join(" ")}function Nr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function _r(e,t){return{[br]:Mr.Element,tagName:e,[yr]:null!=t?t:Q,[vr]:null,[Er]:null,[Cr]:[],[Sr]:[],[kr]:{}}}function Lr(e,t,n=null){const r=e[Sr].find((e=>e.name===t&&e[yr]===n));return r?r.value:null}function $r(e,t,n,r=null){const o=e[Sr].find((e=>e.name===t&&e[yr]===r));I(r)&&(r=null),I(o)?e[Sr].push({name:t,[yr]:r,value:String(n)}):o.value=n}function Pr(e,t,n){e[Sr]=e[Sr].filter((e=>e.name!==t&&e[yr]!==n))}const Dr=W,Rr=W,Ir=W,Fr=Nr("dispatchEvent"),Hr=Nr("getBoundingClientRect"),Br=Nr("querySelector"),Vr=Nr("querySelectorAll"),jr=Nr("getElementsByTagName"),Wr=Nr("getElementsByClassName"),Gr=Nr("getChildren"),Ur=Nr("getChildNodes"),Kr=Nr("getFirstChild"),zr=Nr("getFirstElementChild"),qr=Nr("getLastChild"),Yr=Nr("getLastElementChild"),Xr=W,Jr=new Map;function Qr(e){let t=Jr.get(e);return I(t)?(t=function(e){return function(t){const n=_r(e);return V(t)&&t(n),n}}(e),Jr.set(e,t),t):t}const Zr={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[vr];if(null!==r&&r!==t){const t=r[Cr].indexOf(e);r[Cr].splice(t,1)}e[vr]=t;const o=F(n)?-1:t[Cr].indexOf(n);-1===o?t[Cr].push(e):t[Cr].splice(o,0,e)},remove:function(e,t){const n=t[Cr].indexOf(e);t[Cr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[br]:Mr.Raw,[vr]:null,[Tr]:e}},createElement:_r,createText:function(e){return{[br]:Mr.Text,[Tr]:String(e),[vr]:null}},createComment:function(e){return{[br]:Mr.Comment,[Tr]:e,[vr]:null}},createCustomElement:function(e,t){return new(Qr(e))(t)},nextSibling:function(e){const t=e[vr];if(F(t))return null;const n=t[Cr].indexOf(e);return t[Cr][n+1]||null},attachShadow:function(e,t){return e[Er]={[br]:Mr.ShadowRoot,[Cr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Er]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[br]===Mr.Element){const o=se(t);if(te(o,e.tagName))return null!==(n=Lr(e,o))&&void 0!==n&&n;if(re(o)||X(o))return Lr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Lr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[br]===Mr.Element){const r=se(t);if("innerHTML"===t)return void(e[Cr]=[{[br]:Mr.Raw,[vr]:e,[Tr]:n}]);if(te(r,e.tagName))return!0===n?$r(e,r,""):Pr(e,r);if(re(r)||X(r))return $r(e,r,n);if("input"===e.tagName&&"value"===r)return F(n)||I(n)?Pr(e,"value"):$r(e,"value",n)}},setText:function(e,t){e[br]===Mr.Text?e[Tr]=t:e[br]===Mr.Element&&(e[Cr]=[{[br]:Mr.Text,[vr]:e,[Tr]:t}])},getAttribute:Lr,setAttribute:$r,removeAttribute:Pr,addEventListener:Rr,removeEventListener:Ir,dispatchEvent:Fr,getClassList:function(e){function t(){let t=e[Sr].find((e=>"class"===e.name&&F(e[yr])));return I(t)&&(t={name:"class",[yr]:null,value:""},e[Sr].push(t)),t}return{add(...e){const n=t(),r=Ar(n.value);e.forEach((e=>r.add(e))),n.value=Or(r)},remove(...e){const n=t(),r=Ar(n.value);e.forEach((e=>r.delete(e))),n.value=Or(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Sr].find((e=>"style"===e.name&&F(e[yr]))),i=`${t}: ${n}${r?" !important":""}`;I(o)?e[Sr].push({name:"style",[yr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Hr,querySelector:Br,querySelectorAll:Vr,getElementsByTagName:jr,getElementsByClassName:Wr,getChildren:Gr,getChildNodes:Ur,getFirstChild:Kr,getFirstElementChild:zr,getLastChild:qr,getLastElementChild:Yr,isConnected:function(e){return!F(e[vr])},insertStylesheet:Dr,assertInstanceOfHTMLElement:Xr};function eo(e){return e.map((e=>{switch(e[br]){case Mr.Text:return""===e[Tr]?"":ae(e[Tr]);case Mr.Comment:return`\x3c!--${ae(e[Tr])}--\x3e`;case Mr.Raw:return e[Tr];case Mr.Element:return to(e)}})).join("")}function to(e){let t="";const n=e.tagName,r=e[yr],o=r!==Q,i=e[Cr].length>0;var s;return t+=`<${n}${e[Sr].length?` ${s=e[Sr],s.map((e=>e.value.length?`${e.name}="${ae(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Er]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${eo(e[Cr])}</template>`}(e[Er])),t+=eo(e[Cr]),function(e,t){return t===Q&&Z.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const no={[br]:Mr.Element,tagName:"fake-root-element",[yr]:Q,[vr]:null,[Er]:null,[Cr]:[],[Sr]:[],[kr]:{}};i(gt),f(gt.prototype),exports.LightningElement=gt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=hr(e);if(!I(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){pr.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((()=>{I(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=jt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:se(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Vt,exports.parseFragment=Nn,exports.parseSVGFragment=Nn,exports.readonly=function(e){return ft(e)},exports.register=function(e){for(let t=0;t<Wn.length;++t){const n=Wn[t];if(n in e){let t=jn[n];I(t)&&(jn[n]=t=[]),S.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return V(e)&&In.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!I(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(I(w))throw new Error;w=kt(e,w)}else w=I(w)||I(w.get)?St(e):kt(e,w);f[e]=w,o(r,e,w)}if(I(l)||_.call(l,(e=>{if(w=s(r,e),I(w))throw new Error;d[e]=w})),!I(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(I(w))throw new Error;p[e]=w,mr(w,t,i,l)}else w=Mt(e),h[e]=w,gr(w,t,i,l),o(r,e,w)}if(!I(c))for(const e in c)w=s(r,e),w=Tt(e),o(r,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!I(i)&&t in i,o=!I(c)&&t in c;n||o||(m[t]=Et(t))}return function(e,t){xt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Ot.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!j(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!V(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||F(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Zr.createElement(e);Zn(r,t,Zr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[vr]=no,Xn(r),to(r)},exports.renderer=Zr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ce[e])){const n=d(ce).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!I(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(ue,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(wr,"Hooks are already overridden, only one definition is allowed."),wr=!0,n=t.sanitizeHtmlContent,kn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:x,slice:A,some:N,sort:O,splice:_,unshift:L,forEach:$}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:D,replace:R,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function q(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const Y=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return $.call(Y,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in X}const Z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),ee="http://www.w3.org/1999/xhtml",te=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ne=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function re(e,t){const n=ne.get(e);return void 0!==n&&(0===n.size||n.has(t))}const oe=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function ie(e){return oe.has(e)}const se=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),le=new Map;function ae(e){const t=J[e];if(!H(t))return t;const n=se.get(e);if(!H(n))return n;const r=le.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return le.set(e,o),o}const ce={'"':""","'":"'","<":"<",">":">","&":"&"};function ue(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ce[e]))}if("function"!=typeof Event){class e{}o(Z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:n(null)});const fe=Z.lwcRuntimeFlags;const pe=f(n(null)),he=f([]);function me(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ge=new WeakMap;const we={observe(e){e()},reset(){},link(){}};function ye(e){return we}function be(e){return`<${F.call(e.tagName)}>`}function ve(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,be(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Ee(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+be(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ce(e,t){Ee("error",e,t)}function Se(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ke(e){return W(e)&&c.call(e,"__circular__")}const Te="undefined"!=typeof HTMLElement?HTMLElement:function(){},Me=Te.prototype;function xe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:xe("offsetHeight")},offsetLeft:{readOnly:!0,error:xe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:xe("offsetTop")},offsetWidth:{readOnly:!0,error:xe("offsetWidth")},role:{attribute:"role"}});let Ae,Ne=null;function Oe(e,t){return e!==Ne||t!==Ae}function _e(e,t){Ne=null,Ae=void 0}function Le(e,t){Ne=e,Ae=t}const $e=n(null);function Pe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}$.call(d(J),(e=>{const t=q(Me,e);H(t)||($e[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(Me,e);H(t)||($e[e]=t)}));const{isArray:De}=Array,{prototype:Re,getPrototypeOf:Ie,create:Fe,defineProperty:He,isExtensible:Be,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:je,getOwnPropertySymbols:We,preventExtensions:Ge,hasOwnProperty:Ue}=Object,{push:Ke,concat:ze}=Array.prototype;function qe(e){return void 0===e}function Ye(e){return"function"==typeof e}const Xe=new WeakMap;function Je(e,t){Xe.set(e,t)}const Qe=e=>Xe.get(e)||e;class Ze{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ue.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.wrapGetter(n)),qe(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ve(n,t);if(!qe(r)){const n=this.wrapDescriptor(r);He(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ze.call(je(t),We(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;qe(n)||Ue.call(e,n)||He(e,n,Fe(null)),Ge(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=qe(n)||Ue.call(t,n)?[]:[n];return Ke.apply(r,je(t)),Ke.apply(r,We(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Be(e)&&(!!Be(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ie(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ve(n,t);if(qe(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},He(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap;class ot extends Ze{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=et.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return et.set(e,r),nt.set(r,e),r}wrapSetter(e){const t=tt.get(e);if(!qe(t))return t;const n=function(t){e.call(Qe(this),Qe(t))};return tt.set(e,n),rt.set(n,e),n}unwrapDescriptor(e){if(Ue.call(e,"value"))e.value=Qe(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.unwrapGetter(n)),qe(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=nt.get(e);if(!qe(t))return t;const n=this,r=function(){return Qe(e.call(n.wrapValue(this)))};return et.set(r,e),nt.set(e,r),r}unwrapSetter(e){const t=rt.get(e);if(!qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return tt.set(r,e),rt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&De(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Be(e)){const{originalTarget:t}=this;if(Ge(t),Be(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ue.call(r,t)||(He(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const it=new WeakMap,st=new WeakMap;class lt extends Ze{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=it.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return it.set(e,r),r}wrapSetter(e){const t=st.get(e);if(!qe(t))return t;const n=function(e){};return st.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function at(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(De(e))return!0;const t=Ie(e);return t===Re||null===t||null===Ie(t)}const ct=(e,t)=>{},ut=(e,t)=>{};function dt(e){return De(e)?[]:{}}const ft=Symbol.for("@@lockerLiveValue"),pt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ye(t)?t:ut,this.valueObserved=Ye(n)?n:ct,this.valueIsObservable=Ye(r)?r:at,this.tagPropertyKey=o}getProxy(e){const t=Qe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Qe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Qe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(qe(t)){const n=new ot(this,e);t=new Proxy(dt(e),n),Je(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(qe(t)){const n=new lt(this,e);t=new Proxy(dt(e),n),Je(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ge.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ft});function ht(e){return pt.getReadOnlyProxy(e)}function mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=or(this);if(!In(e))return n.call(e.elm)},set(t){const n=or(this);return Pe(n,e,t),r.call(n.elm,t)}}}const gt=i(n(null)),wt=new WeakMap,yt=function(){if(B(Rn))throw new TypeError("Illegal constructor");const e=Rn,{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 rr(o,e),rr(n,e),1===e.renderMode?e.renderRoot=bt(e):e.renderRoot=n,this};function bt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,rr(s,e),s}yt.prototype={constructor:yt,dispatchEvent(e){const t=or(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=or(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Gn(r,t),n)},removeEventListener(e,t,n){const r=or(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Gn(r,t),n)},hasAttribute(e){const t=or(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=or(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=or(this),{elm:n,renderer:{removeAttribute:r}}=t;Le(n,e),r(n,e),_e()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=or(this);Le(n,t),r(n,t,e),_e()},getAttribute(e){const t=or(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=or(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=or(this),{elm:r,renderer:{setAttribute:o}}=n;Le(r,e),o(r,e,t),_e()},setAttributeNS(e,t,n){const r=or(this),{elm:o,renderer:{setAttribute:i}}=r;Le(o,t),i(o,t,n,e),_e()},getBoundingClientRect(){const e=or(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=or(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=or(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return or(this).shadowRoot},get refs(){const e=or(this);if(Nn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return gt;let s=wt.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),wt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=or(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=or(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=or(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=or(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=or(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=or(this);return e.renderer.getLastElementChild(e.elm)},render(){return or(this).def.template},toString(){return`[object ${or(this).def.name}]`}};const vt=n(null),Et=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Et)vt[e]={value(t){const n=or(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(yt.prototype,vt);const Ct=n(null);for(const e in $e)Ct[e]=mt(e,$e[e]);function St(e){return{get(){return or(this).cmpFields[e]},set(t){Pe(or(this),e,t)},enumerable:!0,configurable:!0}}r(yt.prototype,Ct),o(yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const kt={observe(e){e()},reset(){},link(){}};function Tt(e){return{get(){const t=or(this);if(!In(t))return t.cmpProps[e]},set(t){or(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=or(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=kt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function xt(e){return{get(){return or(this).cmpFields[e]},set(t){Pe(or(this),e,t)},enumerable:!0,configurable:!0}}function At(e){return{get(){return or(this).cmpFields[e]},set(t){Pe(or(this),e,t)},enumerable:!0,configurable:!0}}const Nt=new Map;const Ot={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const _t=new Set;function Lt(){return[]}_t.add(Lt);const $t=n(null),Pt=n(null);function Dt(e){let t=$t[e];return H(t)&&(t=$t[e]=function(){const t=or(this),{getHook:n}=t;return n(t.component,e)}),t}function Rt(e){let t=Pt[e];return H(t)&&(t=Pt[e]=function(t){const n=or(this),{setHook:r}=n;t=ht(t),r(n.component,e,t)}),t}function It(e){return function(){const t=or(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function Ft(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Oe(this,n)&&(this[i]=o)}}function Ht(e,t,i){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ae(n)]=n,u[n]={get:Dt(n),set:Rt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:It(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Ft(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Bt=Ht(Te,l($e),[]);i(Bt),f(Bt.prototype);const Vt=new WeakMap;function jt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Nt.get(e);return H(t)?Ot:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ke(t)){const e=Se(t);t=e===t?yt:e}return t}(e),C=E!==yt?Gt(E):Ut,S=Ht(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;H(o)||(A=o);let N=C.renderMode;H(i)||(N="light"===i?0:1);const O=function(e){return Bn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Wt(e){if(!W(e))return!1;if(e.prototype instanceof yt)return!0;let t=e;do{if(ke(t)){const e=Se(t);if(e===t)return!0;t=e}if(t===yt)return!0}while(!B(t)&&(t=a(t)));return!1}function Gt(e){let t=Vt.get(e);if(H(t)){if(ke(e)){return t=Gt(Se(e)),Vt.set(e,t),t}if(!Wt(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=jt(e),Vt.set(e,t)}return t}const Ut={ctor:yt,name:yt.name,props:Ct,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Bt,template:Lt,render:yt.prototype.render};function Kt(e){return`${e}-host`}function zt(e){return An.h("style",{key:"style",attrs:{type:"text/css"}},[An.t(e)])}function qt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,qt(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Ce("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=Xt(n)),a=B(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function Yt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=qt(n,r,e)),o}function Xt(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Jt(e){const{type:t}=e;return 2===t||3===t}function Qt(e,t){return e.key===t.key&&e.sel===t.sel}function Zt(e){return 6===e.type}function en(e,t){return"input"===e&&("value"===t||"checked"===t)}const tn=n(null);function nn(e){if(null==e)return pe;e=G(e)?e:e+"";let t=tn[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===D.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),tn[e]=t,t}function rn(e,t,n,r){var o;o=t,yn.has(o)?vn(e,t,n,r):En(e,t,n,r)}function on(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&pn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?En(e.children,o,n,r):vn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;mn(e,t,n),rn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);cn(e,n,r,!0),ln(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;mn(e,t,r),H(o)||wn(t,o),rn(e.children,t.children,n,r),H(o)||function(e){sr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function sn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);fn(s,o,r),hn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);fn(s,o,r),hn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);fn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));hn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;an(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=V(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);fn(c,i,r),gn(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),mn(null,e,r),hn(c,t,n,r),an(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:ln(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function ln(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=ir(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=nr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Zn(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&er(e)}));e.elm=a,e.vm=l,fn(a,i,r),gn(a,i,r),l&&wn(e,l),mn(null,e,r),hn(a,t,n,r),l&&lr(l),an(e.children,a,r,null),l&&function(e){sr(e)}(l)}function an(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];dn(i)&&sn(i,t,n,r)}}function cn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?un(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;un(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){tr(e)}(t)}}}function un(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];dn(i)&&cn(i,t,n,r)}}function dn(e){return null!=e}function fn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function pn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function hn(e,t,n,r){r.insert(e,t,n)}function mn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=nn(o),c=nn(i);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Le(i,e),58===D.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===D.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),_e())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;H(s)&&(s=pe),H(n)||(s=t({},s,n))}H(i)||(o=t({},o,i));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(en(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function gn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function wn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=n(null);e.cmpSlots={owner:r,slotAssignments:l};for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(B(n))continue;let r="";Jt(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":Zt(n)&&(r=n.slotName);const s=l[r]=l[r]||[];k.call(s,n)}if(j(e.isDirty)){const t=d(s);if(t.length!==d(l).length)return void jn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(l[r])||s[r].length!==l[r].length)return void jn(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void jn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=he)}const yn=new WeakMap;function bn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(dn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function vn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)dn(l)?dn(a)?dn(m)?dn(g)?Qt(l,m)?(on(l,m,n,r),l=e[++o],m=t[++i]):Qt(a,g)?(on(a,g,n,r),a=e[--s],g=t[--h]):Qt(l,g)?(on(l,g,n,r),hn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Qt(a,m)?(on(a,m,n,r),hn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=bn(e,o,s)),d=u[m.key],H(d)?(sn(m,n,r,l.elm),m=t[++i]):(f=e[d],dn(f)&&(f.sel!==m.sel?sn(m,n,r,l.elm):(on(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,hn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!dn(e)&&o<c);p=dn(e)?e.elm:null,an(t,n,r,p,i,h+1)}else un(e,n,r,!0,o,s+1)}function En(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void an(t,n,r,null);if(0===i)return void un(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(dn(i)?dn(l)?(on(i,l,n,r),s=l.elm):cn(i,n,r,!0):dn(l)&&(sn(l,n,r,s),s=l.elm))}}const Cn=Symbol.iterator;function Sn(e,t,n=he){const r=_n(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||me(r,i,s),s}function kn(e,t,n,r=he){const o=_n(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(_n().velements,e)}(l),H(s)||me(o,s,l),l}function Tn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:_n()}}function Mn(e){var t;return t=e,yn.set(t,1),e}let xn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const An=i({s:function(e,t,n,r){H(r)||H(r.slotAssignments)||H(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=Zt(n);if(o!==!H(t.slotData))return e;if(o){const o=_n();let i=[];Ln(r.owner);try{i=n.factory(t.slotData)}finally{Ln(o)}return m.call(e,i)}return m.call(e,n)}return e}),[]));const o=_n(),{renderMode:i,shadowMode:s}=o;return 0===i?(Mn(n),n):(1===s&&Mn(n),Sn("slot",t,n))},h:Sn,c:kn,i:function(e,t){const n=[];if(Mn(n),H(e)||null===e)return n;const r=e[Cn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Mn(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:Tn,d:function(e){return null==e?"":String(e)},b:function(e){const t=_n();if(B(t))throw new Error;const n=t;return function(t){Hn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:_n()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!Wt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return kn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Tn(""),...t,Tn("")],stable:n,owner:_n()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:_n()}},gid:function(e){const t=_n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=_n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return xn(e)},ssf:function(e,t){return{type:6,factory:t,owner:_n(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Nn=!1,On=null;function _n(){return On}function Ln(e){On=e}const $n=(Pn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=_n(),l=!H(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Pn(p,s),r[c]}});var Pn;function Dn(e,t){const r=Nn,o=On;let i=[];return fr(e,e.owner,(()=>{On=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||dr(e),a=t,!_t.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Kt(g)),y&&l(n,Kt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(Kt(p)),h=!0),d&&(a(n,Kt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Yt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,zt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],Nn=!0,i=t.call(void 0,An,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||L.apply(i,u)}))}),(()=>{Nn=r,On=o})),i}let Rn=null;function In(e){return Rn===e}function Fn(e,t,n){const{component:r,callHook:o,owner:i}=e;fr(e,i,U,(()=>{o(r,t,n)}),U)}function Hn(e,t,n,r){const{callHook:o,owner:i}=e;fr(e,i,U,(()=>{o(n,t,[r])}),U)}const Bn=new Map;function Vn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=_n();let s,l=!1;return fr(e,o,(()=>{Ln(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Ln(i)})),l?Dn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function jn(e){e.isDirty=!0}const Wn=new WeakMap;function Gn(e,t){if(!W(t))throw new TypeError;let n=Wn.get(t);return H(n)&&(n=function(n){Hn(e,t,void 0,n)},Wn.set(t,n)),n}const Un=n(null),Kn=["rendered","connected","disconnected"];function zn(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 qn=0;const Yn=new WeakMap;function Xn(e,t,n=[]){return t.apply(e,n)}function Jn(e,t,n){e[t]=n}function Qn(e,t){return e[t]}function Zn(e){const t=or(e);1===t.state&&er(e),lr(t),sr(t)}function er(e){tr(or(e))}function tr(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}=Un;t&&zn(e,t);ar(e)&&function(e){const{wiredDisconnecting:t}=e.context;fr(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||Fn(e,n)}(e),cr(e),function(e){const{aChildren:t}=e;ur(t)}(e)}}function nr(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Gt(t),u={elm:e,def:c,idx:qn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:he,aChildren:he,velements:he,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Xn,setHook:Jn,getHook:Qn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ye(),function(e,t){const n=Rn;let r;Rn=e;try{const o=new t;if(Rn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Rn=n,!H(r))throw ve(e,r),r}}(u,c.ctor),ar(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=pr.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=mr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function rr(e,t){Yn.set(e,t)}function or(e){return Yn.get(e)}function ir(e){return Yn.get(e)}function sr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&fr(e,e,(()=>{}),(()=>{rn(r,t,n,o)}),(()=>{}));e.state}(e,Vn(e))}}function lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Un;n&&zn(e,n),ar(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||Fn(e,r)}function ar(e){return l(e.def.wire).length>0}function cr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=ir(n);H(e)||tr(e)}}}function ur(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:ur(n.children);break;case 3:tr(or(n.elm));break}}}function dr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=he,cr(e),e.velements=he}function fr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){ve(e,i);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;dr(e);Fn(n,n.def.errorCallback,[i,i.wcStack])}}}const pr=new Map;class hr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function mr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=H(r)?function(e,t){return n=>{Pe(e,t,n)}}(e,t):function(e,t){return n=>{fr(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),fr(e,e,U,(()=>{u=new i(a)}),U);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ye();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{fr(e,e,U,(()=>{u.update(t,c)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=wr(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new hr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const gr=new Map;function wr(e){return gr.get(e)}function yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};pr.set(e,o)}function br(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};pr.set(e,o)}let vr=!1;const Er=Symbol("namespace"),Cr=Symbol("type"),Sr=Symbol("parent"),kr=Symbol("shadow-root"),Tr=Symbol("children"),Mr=Symbol("attributes"),xr=Symbol("event-listeners"),Ar=Symbol("value");var Nr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Nr||(Nr={}));const Or=/\s+/g;function _r(e){return new Set(e.split(Or).filter((e=>e.length)))}function Lr(e){return Array.from(e).join(" ")}function $r(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Pr(e,t){return{[Cr]:Nr.Element,tagName:e,[Er]:null!=t?t:ee,[Sr]:null,[kr]:null,[Tr]:[],[Mr]:[],[xr]:{}}}function Dr(e,t,n=null){const r=e[Mr].find((e=>e.name===t&&e[Er]===n));return r?r.value:null}function Rr(e,t,n,r=null){const o=e[Mr].find((e=>e.name===t&&e[Er]===r));H(r)&&(r=null),H(o)?e[Mr].push({name:t,[Er]:r,value:String(n)}):o.value=n}function Ir(e,t,n){e[Mr]=e[Mr].filter((e=>e.name!==t&&e[Er]!==n))}const Fr=U,Hr=U,Br=U,Vr=$r("dispatchEvent"),jr=$r("getBoundingClientRect"),Wr=$r("querySelector"),Gr=$r("querySelectorAll"),Ur=$r("getElementsByTagName"),Kr=$r("getElementsByClassName"),zr=$r("getChildren"),qr=$r("getChildNodes"),Yr=$r("getFirstChild"),Xr=$r("getFirstElementChild"),Jr=$r("getLastChild"),Qr=$r("getLastElementChild"),Zr=U,eo=new Map;function to(e){let t=eo.get(e);return H(t)?(t=function(e){return function(t){const n=Pr(e);return W(t)&&t(n),n}}(e),eo.set(e,t),t):t}const no={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Sr];if(null!==r&&r!==t){const t=r[Tr].indexOf(e);r[Tr].splice(t,1)}e[Sr]=t;const o=B(n)?-1:t[Tr].indexOf(n);-1===o?t[Tr].push(e):t[Tr].splice(o,0,e)},remove:function(e,t){const n=t[Tr].indexOf(e);t[Tr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[Cr]:Nr.Raw,[Sr]:null,[Ar]:e}},createElement:Pr,createText:function(e){return{[Cr]:Nr.Text,[Ar]:String(e),[Sr]:null}},createComment:function(e){return{[Cr]:Nr.Comment,[Ar]:e,[Sr]:null}},createCustomElement:function(e,t){return new(to(e))(t)},nextSibling:function(e){const t=e[Sr];if(B(t))return null;const n=t[Tr].indexOf(e);return t[Tr][n+1]||null},attachShadow:function(e,t){return e[kr]={[Cr]:Nr.ShadowRoot,[Tr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[kr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Cr]===Nr.Element){const o=ae(t);if(re(o,e.tagName))return null!==(n=Dr(e,o))&&void 0!==n&&n;if(ie(o)||Q(o))return Dr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Dr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Cr]===Nr.Element){const r=ae(t);if("innerHTML"===t)return void(e[Tr]=[{[Cr]:Nr.Raw,[Sr]:e,[Ar]:n}]);if(re(r,e.tagName))return!0===n?Rr(e,r,""):Ir(e,r);if(ie(r)||Q(r))return Rr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Ir(e,"value"):Rr(e,"value",n)}},setText:function(e,t){e[Cr]===Nr.Text?e[Ar]=t:e[Cr]===Nr.Element&&(e[Tr]=[{[Cr]:Nr.Text,[Sr]:e,[Ar]:t}])},getAttribute:Dr,setAttribute:Rr,removeAttribute:Ir,addEventListener:Hr,removeEventListener:Br,dispatchEvent:Vr,getClassList:function(e){function t(){let t=e[Mr].find((e=>"class"===e.name&&B(e[Er])));return H(t)&&(t={name:"class",[Er]:null,value:""},e[Mr].push(t)),t}return{add(...e){const n=t(),r=_r(n.value);e.forEach((e=>r.add(e))),n.value=Lr(r)},remove(...e){const n=t(),r=_r(n.value);e.forEach((e=>r.delete(e))),n.value=Lr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Mr].find((e=>"style"===e.name&&B(e[Er]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[Mr].push({name:"style",[Er]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:jr,querySelector:Wr,querySelectorAll:Gr,getElementsByTagName:Ur,getElementsByClassName:Kr,getChildren:zr,getChildNodes:qr,getFirstChild:Yr,getFirstElementChild:Xr,getLastChild:Jr,getLastElementChild:Qr,isConnected:function(e){return!B(e[Sr])},insertStylesheet:Fr,assertInstanceOfHTMLElement:Zr};function ro(e){return e.map((e=>{switch(e[Cr]){case Nr.Text:return""===e[Ar]?"":ue(e[Ar]);case Nr.Comment:return`\x3c!--${ue(e[Ar])}--\x3e`;case Nr.Raw:return e[Ar];case Nr.Element:return oo(e)}})).join("")}function oo(e){let t="";const n=e.tagName,r=e[Er],o=r!==ee,i=e[Tr].length>0;var s;return t+=`<${n}${e[Mr].length?` ${s=e[Mr],s.map((e=>e.value.length?`${e.name}="${ue(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[kr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${ro(e[Tr])}</template>`}(e[kr])),t+=ro(e[Tr]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const io={[Cr]:Nr.Element,tagName:"fake-root-element",[Er]:ee,[Sr]:null,[kr]:null,[Tr]:[],[Mr]:[],[xr]:{}};i(yt),f(yt.prototype),exports.LightningElement=yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=wr(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){gr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Gt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ae(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Wt,exports.parseFragment=$n,exports.parseSVGFragment=$n,exports.readonly=function(e){return ht(e)},exports.register=function(e){for(let t=0;t<Kn.length;++t){const n=Kn[t];if(n in e){let t=Un[n];H(t)&&(Un[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&Bn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!H(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(H(w))throw new Error;w=Mt(e,w)}else w=H(w)||H(w.get)?Tt(e):Mt(e,w);f[e]=w,o(r,e,w)}if(H(l)||$.call(l,(e=>{if(w=s(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(H(w))throw new Error;p[e]=w,yr(w,t,i,l)}else w=At(e),h[e]=w,br(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=xt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!H(i)&&t in i,o=!H(c)&&t in c;n||o||(m[t]=St(t))}return function(e,t){Nt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return _t.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=no.createElement(e);nr(r,t,no,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Sr]=io,Zn(r),oo(r)},exports.renderer=no,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(de[e])){const n=d(de).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=fe[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(vr,"Hooks are already overridden, only one definition is allowed."),vr=!0,n=t.sanitizeHtmlContent,xn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
@@ -43,7 +43,7 @@ var assert = /*#__PURE__*/Object.freeze({
|
|
|
43
43
|
*/
|
|
44
44
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor: getOwnPropertyDescriptor$1, getOwnPropertyNames: getOwnPropertyNames$1, getPrototypeOf: getPrototypeOf$1, hasOwnProperty: hasOwnProperty$1, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
45
45
|
const { isArray: isArray$1 } = Array;
|
|
46
|
-
const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
46
|
+
const { concat: ArrayConcat$1, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
47
47
|
const { fromCharCode: StringFromCharCode } = String;
|
|
48
48
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
49
49
|
function isUndefined$1(obj) {
|
|
@@ -432,9 +432,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
432
432
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
433
433
|
*/
|
|
434
434
|
// Increment whenever the LWC template compiler changes
|
|
435
|
-
const LWC_VERSION = "2.
|
|
435
|
+
const LWC_VERSION = "2.28.0";
|
|
436
436
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
437
|
-
/** version: 2.
|
|
437
|
+
/** version: 2.28.0 */
|
|
438
438
|
|
|
439
439
|
/*
|
|
440
440
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -546,7 +546,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
546
546
|
setFeatureFlag(name, value);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
/** version: 2.
|
|
549
|
+
/** version: 2.28.0 */
|
|
550
550
|
|
|
551
551
|
/* proxy-compat-disable */
|
|
552
552
|
|
|
@@ -3437,6 +3437,9 @@ function isVBaseElement(vnode) {
|
|
|
3437
3437
|
function isSameVnode(vnode1, vnode2) {
|
|
3438
3438
|
return vnode1.key === vnode2.key && vnode1.sel === vnode2.sel;
|
|
3439
3439
|
}
|
|
3440
|
+
function isVScopedSlotFragment(vnode) {
|
|
3441
|
+
return vnode.type === 6 /* VNodeType.ScopedSlotFragment */;
|
|
3442
|
+
}
|
|
3440
3443
|
|
|
3441
3444
|
/*
|
|
3442
3445
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4254,13 +4257,24 @@ function allocateChildren(vnode, vm) {
|
|
|
4254
4257
|
shadowMode
|
|
4255
4258
|
} = vm;
|
|
4256
4259
|
|
|
4260
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
4261
|
+
// If any of the children being allocated is a scoped slot fragment, make sure the receiving
|
|
4262
|
+
// component is a light DOM component. This is mainly to validate light dom parent running
|
|
4263
|
+
// in native shadow mode.
|
|
4264
|
+
if (renderMode !== 0
|
|
4265
|
+
/* RenderMode.Light */
|
|
4266
|
+
&& ArraySome.call(children, child => !isNull(child) && isVScopedSlotFragment(child))) {
|
|
4267
|
+
logError(`Invalid usage of 'lwc:slot-data' on ${getComponentTag(vm)} tag. Scoped slot content can only be passed to a light dom child.`);
|
|
4268
|
+
}
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4257
4271
|
if (shadowMode === 1
|
|
4258
4272
|
/* ShadowMode.Synthetic */
|
|
4259
4273
|
|| renderMode === 0
|
|
4260
4274
|
/* RenderMode.Light */
|
|
4261
4275
|
) {
|
|
4262
4276
|
// slow path
|
|
4263
|
-
allocateInSlot(vm, children); // save the allocated children in case this vnode is reused.
|
|
4277
|
+
allocateInSlot(vm, children, vnode.owner); // save the allocated children in case this vnode is reused.
|
|
4264
4278
|
|
|
4265
4279
|
vnode.aChildren = children; // every child vnode is now allocated, and the host should receive none directly, it receives them via the shadow!
|
|
4266
4280
|
|
|
@@ -4296,13 +4310,19 @@ function createViewModelHook(elm, vnode, renderer) {
|
|
|
4296
4310
|
return vm;
|
|
4297
4311
|
}
|
|
4298
4312
|
|
|
4299
|
-
function allocateInSlot(vm, children) {
|
|
4300
|
-
var _a;
|
|
4313
|
+
function allocateInSlot(vm, children, owner) {
|
|
4314
|
+
var _a, _b;
|
|
4301
4315
|
|
|
4302
4316
|
const {
|
|
4303
|
-
cmpSlots:
|
|
4317
|
+
cmpSlots: {
|
|
4318
|
+
slotAssignments: oldSlotsMapping
|
|
4319
|
+
}
|
|
4304
4320
|
} = vm;
|
|
4305
|
-
const
|
|
4321
|
+
const cmpSlotsMapping = create(null);
|
|
4322
|
+
vm.cmpSlots = {
|
|
4323
|
+
owner,
|
|
4324
|
+
slotAssignments: cmpSlotsMapping
|
|
4325
|
+
};
|
|
4306
4326
|
|
|
4307
4327
|
for (let i = 0, len = children.length; i < len; i += 1) {
|
|
4308
4328
|
const vnode = children[i];
|
|
@@ -4314,19 +4334,21 @@ function allocateInSlot(vm, children) {
|
|
|
4314
4334
|
let slotName = '';
|
|
4315
4335
|
|
|
4316
4336
|
if (isVBaseElement(vnode)) {
|
|
4317
|
-
slotName = ((_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot)
|
|
4337
|
+
slotName = (_b = (_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot) !== null && _b !== void 0 ? _b : '';
|
|
4338
|
+
} else if (isVScopedSlotFragment(vnode)) {
|
|
4339
|
+
slotName = vnode.slotName;
|
|
4318
4340
|
}
|
|
4319
4341
|
|
|
4320
|
-
const vnodes =
|
|
4342
|
+
const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
|
|
4321
4343
|
ArrayPush$1.call(vnodes, vnode);
|
|
4322
4344
|
}
|
|
4323
4345
|
|
|
4324
4346
|
if (isFalse(vm.isDirty)) {
|
|
4325
4347
|
// We need to determine if the old allocation is really different from the new one
|
|
4326
4348
|
// and mark the vm as dirty
|
|
4327
|
-
const oldKeys = keys(
|
|
4349
|
+
const oldKeys = keys(oldSlotsMapping);
|
|
4328
4350
|
|
|
4329
|
-
if (oldKeys.length !== keys(
|
|
4351
|
+
if (oldKeys.length !== keys(cmpSlotsMapping).length) {
|
|
4330
4352
|
markComponentAsDirty(vm);
|
|
4331
4353
|
return;
|
|
4332
4354
|
}
|
|
@@ -4334,15 +4356,15 @@ function allocateInSlot(vm, children) {
|
|
|
4334
4356
|
for (let i = 0, len = oldKeys.length; i < len; i += 1) {
|
|
4335
4357
|
const key = oldKeys[i];
|
|
4336
4358
|
|
|
4337
|
-
if (isUndefined$1(
|
|
4359
|
+
if (isUndefined$1(cmpSlotsMapping[key]) || oldSlotsMapping[key].length !== cmpSlotsMapping[key].length) {
|
|
4338
4360
|
markComponentAsDirty(vm);
|
|
4339
4361
|
return;
|
|
4340
4362
|
}
|
|
4341
4363
|
|
|
4342
|
-
const oldVNodes =
|
|
4343
|
-
const vnodes =
|
|
4364
|
+
const oldVNodes = oldSlotsMapping[key];
|
|
4365
|
+
const vnodes = cmpSlotsMapping[key];
|
|
4344
4366
|
|
|
4345
|
-
for (let j = 0, a =
|
|
4367
|
+
for (let j = 0, a = cmpSlotsMapping[key].length; j < a; j += 1) {
|
|
4346
4368
|
if (oldVNodes[j] !== vnodes[j]) {
|
|
4347
4369
|
markComponentAsDirty(vm);
|
|
4348
4370
|
return;
|
|
@@ -4542,6 +4564,18 @@ const SymbolIterator = Symbol.iterator;
|
|
|
4542
4564
|
function addVNodeToChildLWC(vnode) {
|
|
4543
4565
|
ArrayPush$1.call(getVMBeingRendered().velements, vnode);
|
|
4544
4566
|
}
|
|
4567
|
+
// [s]coped [s]lot [f]actory
|
|
4568
|
+
function ssf(slotName, factory) {
|
|
4569
|
+
return {
|
|
4570
|
+
type: 6 /* VNodeType.ScopedSlotFragment */,
|
|
4571
|
+
factory,
|
|
4572
|
+
owner: getVMBeingRendered(),
|
|
4573
|
+
elm: undefined,
|
|
4574
|
+
sel: undefined,
|
|
4575
|
+
key: undefined,
|
|
4576
|
+
slotName,
|
|
4577
|
+
};
|
|
4578
|
+
}
|
|
4545
4579
|
// [st]atic node
|
|
4546
4580
|
function st(fragment, key) {
|
|
4547
4581
|
return {
|
|
@@ -4625,9 +4659,46 @@ function s(slotName, data, children, slotset) {
|
|
|
4625
4659
|
assert.isTrue(isArray$1(children), `h() 3rd argument children must be an array.`);
|
|
4626
4660
|
}
|
|
4627
4661
|
if (!isUndefined$1(slotset) &&
|
|
4628
|
-
!isUndefined$1(slotset
|
|
4629
|
-
slotset[slotName]
|
|
4630
|
-
|
|
4662
|
+
!isUndefined$1(slotset.slotAssignments) &&
|
|
4663
|
+
!isUndefined$1(slotset.slotAssignments[slotName]) &&
|
|
4664
|
+
slotset.slotAssignments[slotName].length !== 0) {
|
|
4665
|
+
children = slotset.slotAssignments[slotName].reduce((accumulator, vnode) => {
|
|
4666
|
+
if (vnode) {
|
|
4667
|
+
const assignedNodeIsScopedSlot = isVScopedSlotFragment(vnode);
|
|
4668
|
+
// The only sniff test for a scoped <slot> element is the presence of `slotData`
|
|
4669
|
+
const isScopedSlotElement = !isUndefined$1(data.slotData);
|
|
4670
|
+
// Check if slot types of parent and child are matching
|
|
4671
|
+
if (assignedNodeIsScopedSlot !== isScopedSlotElement) {
|
|
4672
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
4673
|
+
logError(`Mismatched slot types for ${slotName === '' ? '(default)' : slotName} slot. Both parent and child component must use standard type or scoped type for a given slot.`, slotset.owner);
|
|
4674
|
+
}
|
|
4675
|
+
// Ignore slot content from parent
|
|
4676
|
+
return accumulator;
|
|
4677
|
+
}
|
|
4678
|
+
// If the passed slot content is factory, evaluate it and add the produced vnodes
|
|
4679
|
+
if (assignedNodeIsScopedSlot) {
|
|
4680
|
+
const vmBeingRenderedInception = getVMBeingRendered();
|
|
4681
|
+
let scopedSlotChildren = [];
|
|
4682
|
+
// Evaluate in the scope of the slot content's owner
|
|
4683
|
+
// if a slotset is provided, there will always be an owner. The only case where owner is
|
|
4684
|
+
// undefined is for root components, but root components cannot accept slotted content
|
|
4685
|
+
setVMBeingRendered(slotset.owner);
|
|
4686
|
+
try {
|
|
4687
|
+
scopedSlotChildren = vnode.factory(data.slotData);
|
|
4688
|
+
}
|
|
4689
|
+
finally {
|
|
4690
|
+
setVMBeingRendered(vmBeingRenderedInception);
|
|
4691
|
+
}
|
|
4692
|
+
return ArrayConcat$1.call(accumulator, scopedSlotChildren);
|
|
4693
|
+
}
|
|
4694
|
+
else {
|
|
4695
|
+
// If the slot content is standard type, the content is static, no additional
|
|
4696
|
+
// processing needed on the vnode
|
|
4697
|
+
return ArrayConcat$1.call(accumulator, vnode);
|
|
4698
|
+
}
|
|
4699
|
+
}
|
|
4700
|
+
return accumulator;
|
|
4701
|
+
}, []);
|
|
4631
4702
|
}
|
|
4632
4703
|
const vmBeingRendered = getVMBeingRendered();
|
|
4633
4704
|
const { renderMode, shadowMode } = vmBeingRendered;
|
|
@@ -4947,6 +5018,7 @@ const api = freeze({
|
|
|
4947
5018
|
gid,
|
|
4948
5019
|
fid,
|
|
4949
5020
|
shc,
|
|
5021
|
+
ssf,
|
|
4950
5022
|
});
|
|
4951
5023
|
|
|
4952
5024
|
/*
|
|
@@ -5049,9 +5121,9 @@ function validateSlots(vm, html) {
|
|
|
5049
5121
|
}
|
|
5050
5122
|
const { cmpSlots } = vm;
|
|
5051
5123
|
const { slots = EmptyArray } = html;
|
|
5052
|
-
for (const slotName in cmpSlots) {
|
|
5124
|
+
for (const slotName in cmpSlots.slotAssignments) {
|
|
5053
5125
|
// eslint-disable-next-line @lwc/lwc-internal/no-production-assert
|
|
5054
|
-
assert.isTrue(isArray$1(cmpSlots[slotName]), `Slots can only be set to an array, instead received ${toString$1(cmpSlots[slotName])} for slot "${slotName}" in ${vm}.`);
|
|
5126
|
+
assert.isTrue(isArray$1(cmpSlots.slotAssignments[slotName]), `Slots can only be set to an array, instead received ${toString$1(cmpSlots.slotAssignments[slotName])} for slot "${slotName}" in ${vm}.`);
|
|
5055
5127
|
if (slotName !== '' && ArrayIndexOf.call(slots, slotName) === -1) {
|
|
5056
5128
|
// TODO [#1297]: this should never really happen because the compiler should always validate
|
|
5057
5129
|
// eslint-disable-next-line @lwc/lwc-internal/no-production-assert
|
|
@@ -5537,7 +5609,9 @@ function createVM(elm, ctor, renderer, options) {
|
|
|
5537
5609
|
velements: EmptyArray,
|
|
5538
5610
|
cmpProps: create(null),
|
|
5539
5611
|
cmpFields: create(null),
|
|
5540
|
-
cmpSlots:
|
|
5612
|
+
cmpSlots: {
|
|
5613
|
+
slotAssignments: create(null)
|
|
5614
|
+
},
|
|
5541
5615
|
oar: create(null),
|
|
5542
5616
|
cmpTemplate: null,
|
|
5543
5617
|
hydrated: Boolean(hydrated),
|
|
@@ -6409,7 +6483,7 @@ function freezeTemplate(tmpl) {
|
|
|
6409
6483
|
});
|
|
6410
6484
|
}
|
|
6411
6485
|
}
|
|
6412
|
-
/* version: 2.
|
|
6486
|
+
/* version: 2.28.0 */
|
|
6413
6487
|
|
|
6414
6488
|
/*
|
|
6415
6489
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6874,6 +6948,6 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6874
6948
|
*/
|
|
6875
6949
|
freeze(LightningElement);
|
|
6876
6950
|
seal(LightningElement.prototype);
|
|
6877
|
-
/* version: 2.
|
|
6951
|
+
/* version: 2.28.0 */
|
|
6878
6952
|
|
|
6879
6953
|
export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
|
|
@@ -43,7 +43,7 @@ var assert = /*#__PURE__*/Object.freeze({
|
|
|
43
43
|
*/
|
|
44
44
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
45
45
|
const { isArray } = Array;
|
|
46
|
-
const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
46
|
+
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
47
47
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
48
48
|
function isUndefined(obj) {
|
|
49
49
|
return obj === undefined;
|
|
@@ -148,7 +148,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
|
148
148
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
149
149
|
// we can't use typeof since it will fail when transpiling.
|
|
150
150
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
151
|
-
/** version: 2.
|
|
151
|
+
/** version: 2.28.0 */
|
|
152
152
|
|
|
153
153
|
/*
|
|
154
154
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -462,7 +462,7 @@ if (!_globalThis.lwcRuntimeFlags) {
|
|
|
462
462
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
463
463
|
}
|
|
464
464
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
465
|
-
/** version: 2.
|
|
465
|
+
/** version: 2.28.0 */
|
|
466
466
|
|
|
467
467
|
/*
|
|
468
468
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5170,4 +5170,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
|
5170
5170
|
}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}
|
|
5173
|
-
/** version: 2.
|
|
5173
|
+
/** version: 2.28.0 */
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
*/
|
|
47
47
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
48
48
|
const { isArray } = Array;
|
|
49
|
-
const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
49
|
+
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
50
50
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
51
51
|
function isUndefined(obj) {
|
|
52
52
|
return obj === undefined;
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
152
152
|
// we can't use typeof since it will fail when transpiling.
|
|
153
153
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
154
|
-
/** version: 2.
|
|
154
|
+
/** version: 2.28.0 */
|
|
155
155
|
|
|
156
156
|
/*
|
|
157
157
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
466
466
|
}
|
|
467
467
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
468
|
-
/** version: 2.
|
|
468
|
+
/** version: 2.28.0 */
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
471
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5173,6 +5173,6 @@
|
|
|
5173
5173
|
}));
|
|
5174
5174
|
});
|
|
5175
5175
|
}
|
|
5176
|
-
/** version: 2.
|
|
5176
|
+
/** version: 2.28.0 */
|
|
5177
5177
|
|
|
5178
5178
|
})();
|