lwc 2.5.8 → 2.5.11
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 +93 -68
- package/dist/engine-dom/iife/es2017/engine-dom.js +93 -68
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +77 -65
- package/dist/engine-dom/iife/es5/engine-dom.js +102 -73
- package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +86 -70
- package/dist/engine-dom/umd/es2017/engine-dom.js +93 -68
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +77 -65
- package/dist/engine-dom/umd/es5/engine-dom.js +102 -73
- package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +86 -70
- package/dist/engine-server/commonjs/es2017/engine-server.js +93 -68
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
- package/dist/engine-server/esm/es2017/engine-server.js +93 -68
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- 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 +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- 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,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=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:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:a,getPrototypeOf:c,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:k,slice:S,splice:M,unshift:T,forEach:x}=Array.prototype,{fromCharCode:A}=String,{charCodeAt:N,replace:
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=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:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:a,getPrototypeOf:c,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:k,slice:S,splice:M,unshift:T,forEach:x}=Array.prototype,{fromCharCode:A}=String,{charCodeAt:N,replace:O,slice:L,toLowerCase:P}=String.prototype;function $(e){return void 0===e}function _(e){return null===e}function D(e){return!0===e}function R(e){return!1===e}function H(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function B(){}const j={}.toString;function W(e){return e&&e.toString?m(e)?b.call(v.call(e,W),","):e.toString():"object"==typeof e?j.call(e):e+""}function V(e,t){do{const n=l(e,t);if(!$(n))return n;e=c(e)}while(null!==e)}const K=["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:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=r(null),t=r(null);return x.call(K,(n=>{const r=P.call(O.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new 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"]]),X=new Map;function Y(e){const t=z[e];if(!$(t))return t;const n=q.get(e);if(!$(n))return n;const r=X.get(e);if(!$(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+A(n+32):A(n)}return X.set(e,o),o}function J(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Q=new WeakMap;function Z(e){let t=Q.get(e);return void 0===t&&(t={},Q.set(e,t)),t}function ee(e,t){return{get(){const n=Z(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;Z(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function te(e){const t=ee(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const ne=f(z);for(let e=0,t=ne.length;e<t;e+=1){const t=ne[e];J(t)&&te(t)}const re={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_NON_COMPOSED_EVENTS_LEAKAGE:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:r(null)});const oe=U.lwcRuntimeFlags;let ie=[];const se=h(r(null)),le=h([]);function ae(){const e=ie;ie=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ce(e){0===ie.length&&Promise.resolve().then(ae),C.call(ie,e)}const ue=new WeakMap;let de=null;function fe(e,t){const n=ue.get(e);if(!$(n)){const e=n[t];if(!$(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function he(e,t){if(null===de)return;const n=de,o=function(e){let t=ue.get(e);if($(t)){const n=r(null);t=n,ue.set(e,n)}return t}(e);let i=o[t];if($(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class pe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=de;let n;de=this;try{e()}catch(e){n=Object(e)}finally{if(de=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=y.call(e[n],this);M.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function me(e,t){fe(e.component,t)}function ge(e,t){he(e.component,t)}function we(e){return`<${P.call(e.tagName)}>`}function ye(e,t,n){let r=`[LWC ${e}]: ${t}`;$(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!_(e.owner);)C.call(t,n+we(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function be(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if($(n))return;const o=e.listener=function e(t){!function(e,t){const{type:n}=e,{data:{on:r}}=t,o=r&&r[n];o&&o.call(void 0,e)}(t,e.vnode)};let i;for(i in o.vnode=e,n)r.addEventListener(t,i,o)}var ve={update:function(e,t){$(e.listener)?be(t):(t.listener=e.listener,t.listener.vnode=t)},create:be};function Ce(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.`}n(r(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:Ce("offsetHeight")},offsetLeft:{readOnly:!0,error:Ce("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ce("offsetTop")},offsetWidth:{readOnly:!0,error:Ce("offsetWidth")},role:{attribute:"role"}});let Ee,ke=null;function Se(e,t){return e!==ke||t!==Ee}function Me(e,t){ke=null,Ee=void 0}function Te(e,t){ke=e,Ee=t}function xe(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if($(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:s,removeAttribute:l}=r;let a;for(a in o=$(o)?se:o,n){const e=n[a];o[a]!==e&&(Te(i,a),58===N.call(a,3)?s(i,a,e,"http://www.w3.org/XML/1998/namespace"):58===N.call(a,5)?s(i,a,e,"http://www.w3.org/1999/xlink"):_(e)?l(i,a):s(i,a,e),Me())}}const Ae={data:{}};var Ne={create:e=>xe(Ae,e),update:xe};function Oe(e,t){return"input"===e&&("value"===t||"checked"===t)}function Le(e,t){const n=t.data.props;if($(n))return;const r=e.data.props;if(r===n)return;const o=$(r),{elm:i,sel:s,owner:{renderer:l}}=t;for(const e in n){const t=n[e];(o||t!==(Oe(s,e)?l.getProperty(i,e):r[e]))&&l.setProperty(i,e,t)}}const Pe={data:{}};var $e={create:e=>Le(Pe,e),update:Le};const _e=r(null);function De(e){if(null==e)return se;e=F(e)?e:e+"";let t=_e[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[L.call(e,o,n)]=!0),o=n+1);return n>o&&(t[L.call(e,o,n)]=!0),_e[e]=t,t}function Re(e,t){const{elm:n,data:{className:r},owner:{renderer:o}}=t,{data:{className:i}}=e;if(i===r)return;const s=o.getClassList(n),l=De(r),a=De(i);let c;for(c in a)$(l[c])&&s.remove(c);for(c in l)$(a[c])&&s.add(c)}const He={data:{}};var Ie={create:e=>Re(He,e),update:Re};function Fe(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(F(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Be={data:{}};var je={create:e=>Fe(Be,e),update:Fe};var We={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if($(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var Ve={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!$(n))for(let e=0;e<n.length;e++){const[o,i,s]=n[e];r.setCSSStyleProperty(t,o,i,s)}}};
|
|
2
2
|
/**
|
|
3
3
|
@license
|
|
4
4
|
Copyright (c) 2015 Simon Friis Vindum.
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
7
7
|
Code distributed by Snabbdom as part of the Snabbdom project at
|
|
8
8
|
https://github.com/snabbdom/snabbdom/
|
|
9
|
-
*/function Ke(e){return void 0===e}function ze(e,t){return e.key===t.key&&e.sel===t.sel}function Ge(e){return null!=e}function Ue(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],Ge(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function qe(e,t,n,r,o){for(;r<=o;++r){const o=n[r];Ge(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Xe(e,t,n,r){for(;n<=r;++n){const r=t[n];Ge(r)&&r.hook.remove(r,e)}}function Ye(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],l=t[i];const a=n.length-1;let c,u,d,f,h=a,p=n[0],m=n[h];for(;r<=i&&o<=h;)Ge(s)?Ge(l)?Ge(p)?Ge(m)?ze(s,p)?(Qe(s,p),s=t[++r],p=n[++o]):ze(l,m)?(Qe(l,m),l=t[--i],m=n[--h]):ze(s,m)?(Qe(s,m),m.hook.move(s,e,l.owner.renderer.nextSibling(l.elm)),s=t[++r],m=n[--h]):ze(l,p)?(Qe(l,p),p.hook.move(l,e,s.elm),l=t[--i],p=n[++o]):(void 0===c&&(c=Ue(t,r,i)),u=c[p.key],Ke(u)?(p.hook.create(p),p.hook.insert(p,e,s.elm),p=n[++o]):(d=t[u],Ge(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,s.elm)):(Qe(d,p),t[u]=void 0,p.hook.move(d,e,s.elm))),p=n[++o])):m=n[--h]:p=n[++o]:l=t[--i]:s=t[++r];if(r<=i||o<=h)if(r>i){let t,r=h;do{t=n[++r]}while(!Ge(t)&&r<a);f=Ge(t)?t.elm:null,qe(e,f,n,o,h)}else Xe(e,t,r,i)}function Je(e,t,n){const r=t.length,o=n.length;if(0===r)return void qe(e,null,n,0,o);if(0===o)return void Xe(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],s=t[r];o!==s&&(Ge(s)?Ge(o)?(Qe(s,o),i=o.elm):s.hook.remove(s,e):Ge(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Qe(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Ze="undefined"!=typeof HTMLElement?HTMLElement:function(){},et=Ze.prototype,tt=r(null);x.call(f(G),(e=>{const t=V(et,e);$(t)||(tt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(et,e);$(t)||(tt[e]=t)}));const{isArray:nt}=Array,{getPrototypeOf:rt,create:ot,defineProperty:it,defineProperties:st,isExtensible:lt,getOwnPropertyDescriptor:at,getOwnPropertyNames:ct,getOwnPropertySymbols:ut,preventExtensions:dt,hasOwnProperty:ft}=Object,{push:ht,concat:pt,map:mt}=Array.prototype;function gt(e){return void 0===e}function wt(e){return"function"==typeof e}const yt=new WeakMap;function bt(e,t){yt.set(e,t)}const vt=e=>yt.get(e)||e;class Ct{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ft.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;gt(n)||(e.get=this.wrapGetter(n)),gt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=at(n,t);if(!gt(r)){const n=this.wrapDescriptor(r);it(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;pt.call(ct(t),ut(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;gt(n)||ft.call(e,n)||it(e,n,ot(null)),dt(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=gt(n)||ft.call(t,n)?[]:[n];return ht.apply(r,ct(t)),ht.apply(r,ut(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!lt(e)&&(!!lt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return rt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=at(n,t);if(gt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},it(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Et=new WeakMap,kt=new WeakMap,St=new WeakMap,Mt=new WeakMap;class Tt extends Ct{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Et.get(e);if(!gt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(vt(this)))};return Et.set(e,r),St.set(r,e),r}wrapSetter(e){const t=kt.get(e);if(!gt(t))return t;const n=function(t){e.call(vt(this),vt(t))};return kt.set(e,n),Mt.set(n,e),n}unwrapDescriptor(e){if(ft.call(e,"value"))e.value=vt(e.value);else{const{set:t,get:n}=e;gt(n)||(e.get=this.unwrapGetter(n)),gt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=St.get(e);if(!gt(t))return t;const n=this,r=function(){return vt(e.call(n.wrapValue(this)))};return Et.set(r,e),St.set(e,r),r}unwrapSetter(e){const t=Mt.get(e);if(!gt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return kt.set(r,e),Mt.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&&nt(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(lt(e)){const{originalTarget:t}=this;if(dt(t),lt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ft.call(r,t)||(it(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const xt=new WeakMap,At=new WeakMap;class Nt extends Ct{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=xt.get(e);if(!gt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(vt(this)))};return xt.set(e,r),r}wrapSetter(e){const t=At.get(e);if(!gt(t))return t;const n=function(e){};return At.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}}const Pt=Object.prototype;function Lt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(nt(e))return!0;const t=rt(e);return t===Pt||null===t||null===rt(t)}const Ot=(e,t)=>{},$t=(e,t)=>{},_t=e=>e;function Dt(e){return nt(e)?[]:{}}const Rt=Symbol.for("@@lockerLiveValue");function Ht(e){return e}const It=new class{constructor(e){if(this.valueDistortion=_t,this.valueMutated=$t,this.valueObserved=Ot,this.valueIsObservable=Lt,this.objectGraph=new WeakMap,!gt(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=wt(t)?t:_t,this.valueMutated=wt(n)?n:$t,this.valueObserved=wt(r)?r:Ot,this.valueIsObservable=wt(o)?o:Lt,this.tagPropertyKey=i}}getProxy(e){const t=vt(e),n=this.valueDistortion(t);if(this.valueIsObservable(n)){const r=this.getReactiveState(t,n);return r.readOnly===e?e:r.reactive}return n}getReadOnlyProxy(e){e=vt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return vt(e)}getReactiveState(e,t){const{objectGraph:n}=this;let r=n.get(t);if(r)return r;const o=this;return r={get reactive(){const n=new Tt(o,t),r=new Proxy(Dt(t),n);return bt(r,e),it(this,"reactive",{value:r}),r},get readOnly(){const n=new Nt(o,t),r=new Proxy(Dt(t),n);return bt(r,e),it(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:he,valueMutated:fe,valueDistortion:Ht,tagPropertyKey:Rt});function Ft(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Or(this);if(!ar(t))return ge(t,e),n.call(t.elm)},set(t){const n=Or(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,me(n,e)),r.call(n.elm,t)}}}const Bt=function(){if(_(lr))throw new ReferenceError("Illegal constructor");const e=lr,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Rt]=void 0,Lr(i,e),Lr(n,e),1===e.renderMode&&Wt(e),this};function Wt(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,s=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=s,Lr(s,e)}Bt.prototype={constructor:Bt,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=Or(this);return n(t,e)},addEventListener(e,t,n){const r=Or(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,gr(r,t),n)},removeEventListener(e,t,n){const r=Or(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,gr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Or(this);return!_(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Or(this);return!_(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=Or(this);Te(t,e),n(t,e),Me()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Or(this);Te(n,t),r(n,t,e),Me()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Or(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Or(this);return r(n,t,e)},setAttribute(e,t){const n=Or(this),{elm:r,renderer:{setAttribute:o}}=n;Te(r,e),o(r,e,t),Me()},setAttributeNS(e,t,n){const r=Or(this),{elm:o,renderer:{setAttribute:i}}=r;Te(o,t),i(o,t,n,e),Me()},getBoundingClientRect(){const e=Or(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=Or(this);return t(e)},get classList(){const e=Or(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Or(this).cmpRoot},get shadowRoot(){return null},render(){return Or(this).def.template},toString(){return`[object ${Or(this).def.name}]`}};const jt=r(null),Vt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Vt)jt[e]={get(){const e=Or(this),{elm:n,renderer:r}=e;return r[t](n)},configurable:!0,enumerable:!0};const Kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Kt)jt[e]={value(t){const n=Or(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Bt.prototype,jt);const zt=r(null);for(const e in tt)zt[e]=Ft(e,tt[e]);function Gt(e){return{get(){const t=Or(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,me(n,e))},enumerable:!0,configurable:!0}}function Ut(e){return{get(){const t=Or(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Or(this),r=It.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,me(n,e))},enumerable:!0,configurable:!0}}function qt(e){return{get(){const t=Or(this);if(!ar(t))return ge(t,e),t.cmpProps[e]},set(t){const n=Or(this);n.cmpProps[e]=t,me(n,e)},enumerable:!0,configurable:!0}}o(Bt.prototype,zt),i(Bt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Xt extends pe{constructor(e,t){super((()=>{R(this.debouncing)&&(this.debouncing=!0,ce((()=>{if(D(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,D(e.isDirty)&&R(r)&&i>0&&Mr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Yt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Or(this);if(r)if(oe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];$(o)&&(o=n.oar[e]=new Xt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Jt(e){return{get(){const t=Or(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,me(n,e))},enumerable:!0,configurable:!0}}const Qt=new Map;const Zt={apiMethods:se,apiFields:se,apiFieldsConfig:se,wiredMethods:se,wiredFields:se,observedFields:se};const en=new Set;function tn(){return[]}en.add(tn);const nn=r(null),rn=r(null);function on(e){let t=nn[e];return $(t)&&(t=nn[e]=function(){const t=Or(this),{getHook:n}=t;return n(t.component,e)}),t}function sn(e){let t=rn[e];return $(t)&&(t=rn[e]=function(t){const n=Or(this),{setHook:r}=n;t=It.getReadOnlyProxy(t),r(n.component,e,t)}),t}function ln(e){return function(){const t=Or(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,S.call(arguments))}}function an(e,t){return function(n,r,o){if(r===o)return;const i=e[n];$(i)?$(t)||t.apply(this,arguments):Se(this,n)&&(this[i]=o)}}function cn(e,t,n){let s;H(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[Y(n)]=n,u[n]={get:on(n),set:sn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:ln(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:an(l,a)},i(s,"observedAttributes",{get:()=>[...c,...f(l)]}),o(s.prototype,u),s}const un=cn(Ze,a(tt),[]);function dn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function fn(e){return H(e)&&u.call(e,"__circular__")}s(un),h(un.prototype);const hn=new WeakMap;function pn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Qt.get(e);return $(t)?Zt:t}(e),{apiFields:l,apiFieldsConfig:a,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=c(e);if(_(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(fn(t)){const e=dn(t);t=e===t?Bt:e}return t}(e),E=C!==Bt?gn(C):wn,k=cn(E.bridge,f(l),f(u)),S=n(r(null),E.props,l),M=n(r(null),E.propsConfig,a),T=n(r(null),E.methods,u),x=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;$(t)||(A=t);let N=E.renderMode;$(i)||(N="light"===i?0:1);const P=function(e){return dr.get(e)}(e)||E.template,L=e.name||E.name;o(m,p);return{ctor:e,name:L,wire:x,props:S,propsConfig:M,methods:T,bridge:k,template:P,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function mn(e){if(!H(e))return!1;if(e.prototype instanceof Bt)return!0;let t=e;do{if(fn(t)){const e=dn(t);if(e===t)return!0;t=e}if(t===Bt)return!0}while(!_(t)&&(t=c(t)));return!1}function gn(e){let t=hn.get(e);if($(t)){if(fn(e)){return t=gn(dn(e)),hn.set(e,t),t}if(!mn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=pn(e),hn.set(e,t)}return t}const wn={ctor:Bt,name:Bt.name,props:zt,propsConfig:se,methods:se,renderMode:1,shadowSupportMode:"reset",wire:se,bridge:un,template:tn,render:Bt.prototype.render};function yn(e,t){e.$shadowToken$=t}function bn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!$(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function vn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function Cn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function En(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function kn(e){ve.create(e),$e.create(e)}function Sn(e,t){const{children:n,owner:r}=t,o=Nn(n)?Ye:Je;Vr(r,r.owner,B,(()=>{o(t.elm,e.children,n)}),B)}function Mn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(_(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];$(n.key)||(n.key=`@${i}:${n.key}`),C.call(s,n)}if(R(e.isDirty)){const t=f(n);if(t.length!==f(o).length)return void pr(e);for(let r=0,i=t.length;r<i;r+=1){const i=t[r];if($(o[i])||n[i].length!==o[i].length)return void pr(e);const s=n[i],l=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==l[t])return void pr(e)}}}(t,n),e.aChildren=n,e.children=le)}function Tn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}function xn(e,t,n){let r=0;for(let n=0,o=t.length;n<o;n++){const o=t[n];if(null!=o){const t=e[r];o.hook.hydrate(o,t),r++}}}const An=new WeakMap;function Nn(e){return An.has(e)}function Pn(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return $(n)?(n=class extends t.HTMLElement{constructor(e){super(),H(e)&&e(this)}},t.defineCustomElement(e,n),n):n}const Ln=Symbol.iterator,On={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);Rn(r,t),e.elm=r},update:vn,insert:Cn,move:Cn,remove:En,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},$n={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);Rn(o,t),e.elm=o},update:vn,insert:Cn,move:Cn,remove:En,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},_n={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=D(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);Rn(s,n),function(e,t){const{owner:n}=t;if(bn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;$(r)||$(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),yn(e,o)}}(s,e),e.elm=s,function(e){ve.create(e),Ne.create(e),$e.create(e),je.create(e),Ve.create(e),Ie.create(e),We.create(e)}(e)},update:(e,t)=>{!function(e,t){Ne.update(e,t),$e.update(e,t),Ie.update(e,t),We.update(e,t)}(e,t),Sn(e,t)},insert:(e,t,n)=>{Cn(e,t,n),Tn(e)},move:(e,t,n)=>{Cn(e,t,n)},remove:(e,t)=>{En(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];_(r)||r.hook.remove(r,n)}}(e)},hydrate:(e,t)=>{const n=t;e.elm=n;const{context:r}=e.data,o=Boolean(!$(r)&&!$(r.lwc)&&"manual"===r.lwc.dom);if(o){const{props:t}=e.data;$(t)||$(t.innerHTML)||(n.innerHTML===t.innerHTML?delete t.innerHTML:(i=`Mismatch hydrating element <${n.tagName.toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`,s=e.owner,ye("warn",i,s)))}var i,s;kn(e),o||xn(e.elm.childNodes,e.children,e.owner)}},Dn={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=Pn(t,r),i=new o((t=>{!function(e,t){if(!$($r(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(bn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;yn(e,t)}Pr(e,gn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));Rn(i,n),e.elm=i;const s=$r(i);if(s)Mn(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ve.create(e),Ne.create(e),$e.create(e),je.create(e),Ve.create(e),Ie.create(e),We.create(e)}(e)},update:(e,t)=>{!function(e,t){Ne.update(e,t),$e.update(e,t),Ie.update(e,t),We.update(e,t)}(e,t);const n=$r(t.elm);n&&Mn(t,n),Sn(e,t),n&&Mr(n)},insert:(e,t,n)=>{Cn(e,t,n);const r=$r(e.elm);r&&Ir(r),Tn(e),r&&function(e){_r(e)}(r)},move:(e,t,n)=>{Cn(e,t,n)},remove:(e,t)=>{En(e,t);const n=$r(e.elm);n&&function(e){Nr(e)}(n)},hydrate:(e,t)=>{const{sel:n,mode:r,ctor:o,owner:i}=e;Pr(t,gn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer}),e.elm=t;const s=Or(t);Mn(e,s),kn(e),Ir(s),0!==s.renderMode&&xn(e.elm.childNodes,e.children),Ar(s)}};function Rn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Kr(t).$shadowResolver$))}function Hn(e,t,n){const r=rr();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:_n,owner:r}}function In(e,t,n,r=le){const o=rr(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:Dn,ctor:t,owner:o,mode:"open"};return function(e){C.call(rr().velements,e)}(s),s}const Fn=new Map;let Bn=0;function Wn(e){var t;return t=e,An.set(t,1),e}let jn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Vn=s({s:function(e,t,n,r){$(r)||$(r[e])||0===r[e].length||(n=r[e]);const o=rr(),{renderMode:i,shadowMode:s}=o;return 0===i?(Wn(n),n):(1===s&&Wn(n),Hn("slot",t,n))},h:Hn,c:In,i:function(e,t){const n=[];if(Wn(n),$(e)||null===e)return n;const r=e[Ln]();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);m(e)?C.apply(n,e):C.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Wn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{sel:undefined,data:se,children:undefined,text:e,elm:undefined,key:undefined,hook:On,owner:rr()}},d:function(e){return null==e?"":e},b:function(e){const t=rr();if(_(t))throw new Error;const n=t;return function(t){ur(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:se,children:undefined,text:e,elm:undefined,key:undefined,hook:$n,owner:rr()}},dc:function(e,t,n,r){if(null==t)return null;if(!mn(t))throw new Error(`Invalid LWC Constructor ${j(t)} for custom element <${e}>.`);let o=Fn.get(t);return $(o)&&(o=Bn++,Fn.set(t,o)),n.key=`dc:${o}:${n.key}`,In(e,t,n,r)},ti:function(e){return e>0&&!(D(e)||R(e))?0:e},gid:function(e){const t=rr();if($(e)||""===e)return e;if(_(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=rr();if($(e)||""===e)return e;if(_(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return jn(e)}});function Kn(e){return`${e}-host`}function zn(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(m(i))C.apply(r,zn(i,t,n));else{const e=i.$scoped$,o=0===n.renderMode?!e:0===n.shadowMode,s=e||1===n.shadowMode&&1===n.renderMode?t:void 0;C.call(r,i(o,s))}}return r}function Gn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return $(n)||0===n.length||(o=zn(n,r,e)),o}function Un(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr||n.isHydrating){const e=b.call(t,"\n");return i=e,Vn.h("style",{key:"style",attrs:{type:"text/css"}},[Vn.t(i)])}{const r=function(e){let t=e;for(;!_(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=_(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let qn=!1,Xn=B;const Yn={enableProfiler(){qn=!0},disableProfiler(){qn=!1},attachDispatcher(e){Xn=e,this.enableProfiler()},detachDispatcher(){const e=Xn;return Xn=B,this.disableProfiler(),e}};function Jn(e,t){qn&&Xn(e,0,t.tagName,t.idx)}function Qn(e,t){qn&&Xn(e,1,t.tagName,t.idx)}function Zn(e,t){qn&&Xn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx)}function er(e,t){qn&&Xn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx)}let tr=!1,nr=null;function rr(){return nr}function or(e){nr=e}function ir(e,t){const n=tr,o=nr;let i=[];return Vr(e,e.owner,(()=>{nr=e,Jn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(_(l)||jr(e),a=t,!en.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: ${j(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!$(t))for(let e=0;e<t.length;e++)if(D(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:l,stylesheetToken:a}=t,c=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Kn(p)),g&&o.removeAttribute(n,Kn(p)),$(l)||0===l.length||(d=a),$(d)||(u&&(o.getClassList(n).add(Kn(d)),f=!0),c&&(o.setAttribute(n,Kn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const n=Gn(e,t);o.styleVNode=0===n.length?null:Un(e,n)}var a;e.velements=[],tr=!0,i=t.call(void 0,Vn,n,s,o.tplCache);const{styleVNode:c}=o;_(c)||T.call(i,c)}))}),(()=>{tr=n,nr=o,Qn(1,e)})),i}function sr(e,t){if(!d(t)&&$(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!_(n);)C.call(t,we(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}let lr=null;function ar(e){return lr===e}function cr(e,t,n){const{component:r,callHook:o,owner:i}=e;Vr(e,i,B,(()=>{o(r,t,n)}),B)}function ur(e,t,n,r){const{callHook:o,owner:i}=e;Vr(e,i,B,(()=>{o(n,t,[r])}),B)}const dr=new Map;function fr(e){return new pe((()=>{const{isDirty:t}=e;R(t)&&(pr(e),function(e){if(D(e.renderer.ssr)||D(e.isScheduled))return;e.isScheduled=!0,0===Rr.length&&ce(Hr);C.call(Rr,e)}(e))}))}function hr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=rr();let s,l=!1;return Vr(e,o,(()=>{or(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{or(i)})),l?ir(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function pr(e){e.isDirty=!0}const mr=new WeakMap;function gr(e,t){if(!H(t))throw new TypeError;let n=mr.get(t);return $(n)&&(n=function(n){ur(e,t,void 0,n)},mr.set(t,n)),n}const wr=r(null),yr=["rendered","connected","disconnected"];function br(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 vr=0;const Cr=new WeakMap;function Er(e,t,n=[]){return t.apply(e,n)}function kr(e,t,n){e[t]=n}function Sr(e,t){return e[t]}function Mr(e){_r(e)}function Tr(e){const t=Or(e);Zn(7,t),1===t.state&&xr(e),Ir(t),_r(t),er(7,t)}function xr(e){Nr(Or(e))}function Ar(e){!function(e){if(D(e.isDirty)){const t=hr(e);e.children=t;xn(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),Dr(e)}}(e)}function Nr(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){R(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=wr;t&&br(e,t);Fr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Vr(e,e,B,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),B)}(e);const{disconnectedCallback:n}=e.def;$(n)||(Jn(5,e),cr(e,n),Qn(5,e))}(e),Br(e),function(e){const{aChildren:t}=e;Wr(t)}(e)}}function Pr(e,t,n){const{mode:o,owner:i,renderer:s,tagName:l}=n,a={elm:e,def:t,idx:vr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,renderer:s,children:le,aChildren:le,velements:le,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:se,wiredConnecting:le,wiredDisconnecting:le},tro:null,component:null,cmpRoot:null,callHook:Er,setHook:kr,getHook:Sr};return a.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!_(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=_(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(a),a.tro=fr(a),function(e,t){const n=lr;let r;Jn(0,e),lr=e;try{const o=new t;if(lr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Qn(0,e),lr=n,!$(r))throw sr(e,r),r}}(a,t.ctor),Fr(a)&&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=zr.get(i);if(!$(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Ur(e,t,s),a=s.dynamic.length>0;C.call(r,(()=>{n.connect(),oe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),C.call(o,(()=>{n.disconnect(),l()}))}}}(a),a}function Lr(e,t){Cr.set(e,t)}function Or(e){return Cr.get(e)}function $r(e){return Cr.get(e)}function _r(e){if(D(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=Nn(t)?Ye:Je;Vr(e,e,(()=>{Jn(2,e)}),(()=>{const o=Kr(e);r(o,n,t)}),(()=>{Qn(2,e)}))}1===e.state&&Dr(e)}(e,hr(e))}}function Dr(e){const{renderer:t,def:{renderedCallback:n}}=e;if(D(t.ssr))return;const{rendered:r}=wr;r&&br(e,r),$(n)||(Jn(4,e),cr(e,n),Qn(4,e))}let Rr=[];function Hr(){Zn(8);const e=Rr.sort(((e,t)=>e.idx-t.idx));Rr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{_r(r)}catch(r){throw t+1<n&&(0===Rr.length&&ce(Hr),T.apply(Rr,S.call(e,t+1))),er(8),r}}er(8)}function Ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=wr;n&&br(e,n),Fr(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;$(r)||(Jn(3,e),cr(e,r),Qn(3,e))}function Fr(e){return a(e.def.wire).length>0}function Br(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!$(n)){const e=$r(n);$(e)||Nr(e)}}}function Wr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];_(n)||!m(n.children)||$(n.elm)||($(n.ctor)?Wr(n.children):Nr(Or(n.elm)))}}function jr(e){const{children:t,renderer:n}=e,r=Kr(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];_(o)||$(o.elm)||n.remove(o.elm,r)}e.children=le,Br(e),e.velements=le}function Vr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!$(i)){sr(e,i);const n=_(t)?void 0:function(e){let t=e;for(;!_(t);){if(!$(t.def.errorCallback))return t;t=t.owner}}(t);if($(n))throw i;jr(e),Jn(6,e);cr(n,n.def.errorCallback,[i,i.wcStack]),Qn(6,e)}}}function Kr(e){return 1===e.renderMode?e.cmpRoot:e.elm}const zr=new Map;class Gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Ur(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,a=$(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,me(e,t))}}(e,t):function(e,t){return n=>{Vr(e,e.owner,B,(()=>{t.call(e.component,n)}),B)}}(e,r);let c,u;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Vr(e,e,B,(()=>{u=new o(a)}),B);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new pe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Vr(e,e,B,(()=>{u.update(t,c)}),B)}));return $(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Xr(r);if($(o))return;const{elm:i,renderer:s,context:{wiredConnecting:l,wiredDisconnecting:a}}=e;C.call(l,(()=>{const e=new Gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(a,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const qr=new Map;function Xr(e){return qr.get(e)}function Yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};zr.set(e,o)}function Jr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};zr.set(e,o)}let Qr=!1;const Zr=r(null),eo=document.head||document.body||document,to=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),no=r(null),ro=r(null),oo=new WeakMap;let io,so,lo;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())io=customElements.get.bind(customElements),so=customElements.define.bind(customElements),lo=HTMLElement;else{const e=r(null),t=new WeakMap;so=function(n,r){if(n!==O.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},io=function(t){return e[t]},lo=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},lo.prototype=HTMLElement.prototype}let ao=!1;function co(e){ao=e}const uo={ssr:!1,get isHydrating(){return ao},isNativeShadowDefined:U.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$"),createElement:(e,t)=>$(t)?document.createElement(e):document.createElementNS(t,e),createText:e=>document.createTextNode(e),createComment:e=>document.createComment(e),insert(e,t,n){t.insertBefore(e,n)},remove(e,t){t.removeChild(e)},nextSibling:e=>e.nextSibling,attachShadow:(e,t)=>ao?e.shadowRoot:e.attachShadow(t),setText(e,t){e.nodeValue=t},getProperty:(e,t)=>e[t],setProperty(e,t,n){e[t]=n},getAttribute:(e,t,n)=>$(n)?e.getAttribute(t):e.getAttributeNS(n,t),setAttribute:(e,t,n,r)=>$(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n),removeAttribute(e,t,n){$(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:(e,t)=>e.dispatchEvent(t),getClassList:e=>e.classList,setCSSStyleProperty(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:e=>e.getBoundingClientRect(),querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>e.querySelectorAll(t),getElementsByTagName:(e,t)=>e.getElementsByTagName(t),getElementsByClassName:(e,t)=>e.getElementsByClassName(t),getChildren:e=>e.children,getChildNodes:e=>e.childNodes,getFirstChild:e=>e.firstChild,getFirstElementChild:e=>e.firstElementChild,getLastChild:e=>e.lastChild,getLastElementChild:e=>e.lastElementChild,isConnected:e=>e.isConnected,insertGlobalStylesheet(e){if(!$(Zr[e]))return;Zr[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,eo.appendChild(t)},insertStylesheet(e,t){to?function(e,t){let n=ro[e];$(n)&&(n=new CSSStyleSheet,n.replaceSync(e),ro[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=oo.get(t);if($(n)&&(n=r(null),oo.set(t,n)),n[e])return;n[e]=!0;let o=no[e];$(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,no[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},assertInstanceOfHTMLElement(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:so,getCustomElement:io,HTMLElement:lo},fo=Node,ho=new WeakMap,po=new WeakMap;function mo(e,t){const n=t.get(e);return $(n)||n(e),e}const{appendChild:go,insertBefore:wo,removeChild:yo,replaceChild:bo}=fo.prototype;function vo(e,t){if(!I(t)||_(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${j(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Pn(e,uo);let o=!1;const i=new r((r=>{Pr(r,gn(n),{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null,renderer:uo}),ho.set(r,Tr),po.set(r,xr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i}n(fo.prototype,{appendChild(e){return mo(go.call(this,e),ho)},insertBefore(e,t){return mo(wo.call(this,e,t),ho)},removeChild(e){return mo(yo.call(this,e),po)},replaceChild(e,t){const n=bo.call(this,e,t);return mo(n,po),mo(e,ho),n}});const Co=Node;const Eo=new Map;function ko(e){if(e===Bt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Eo.get(e);return $(t)&&(t=function(e){const t=gn(e);return class extends t.bridge{constructor(){super(),Pr(this,t,{mode:"open",owner:null,tagName:this.tagName,renderer:uo})}connectedCallback(){Tr(this)}disconnectedCallback(){xr(this)}}}(e),Eo.set(e,t)),t}i(Bt,"CustomElementConstructor",{get(){return ko(this)}}),s(Bt),h(Bt.prototype),e.LightningElement=Bt,e.__unstable__ProfilerControl=Yn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Xr(e);if(!$(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){qr.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(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=vo,e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=$r(e);$(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=gn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:Y(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},e.hydrateComponent=function(e,t,n={}){if(!H(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||_(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);const r=gn(t);try{co(!0),Pr(e,r,{mode:"open",owner:null,renderer:uo,tagName:e.tagName.toLowerCase()});for(const[t,r]of Object.entries(n))e[t]=r;!function(e){const t=Or(e);Ir(t),Ar(t)}(e),co(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),co(!1);const o=vo(e.tagName,{is:t,mode:"open"});for(const[e,t]of Object.entries(n))o[e]=t;e.parentNode.replaceChild(o,e)}},e.isComponentConstructor=mn,e.isNodeFromTemplate=function(e){return!R(e instanceof Co)&&(!(e instanceof ShadowRoot)&&(uo.isSyntheticShadowDefined?!$(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return It.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<yr.length;++t){const n=yr[t];if(n in e){let t=wr[n];$(t)&&(wr[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return dr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:a,track:c,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!$(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if($(w))throw new Error;w=Yt(e,w)}else w=$(w)||$(w.get)?qt(e):Yt(e,w);f[e]=w,i(n,e,w)}if($(s)||x.call(s,(e=>{if(w=l(n,e),$(w))throw new Error;d[e]=w})),!$(a))for(const e in a){const{adapter:t,method:r,config:o,dynamic:s=[]}=a[e];if(w=l(n,e),1===r){if($(w))throw new Error;h[e]=w,Yr(w,t,o,s)}else w=Gt(e),p[e]=w,Jr(w,t,o,s),i(n,e,w)}if(!$(c))for(const e in c)w=l(n,e),w=Ut(e),i(n,e,w);if(!$(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!$(o)&&t in o,i=!$(c)&&t in c;r||i||(m[t]=Jt(t))}return function(e,t){Qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return en.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if($(re[e])){const n=f(re).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=oe[e];if(!$(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}".`);i(oe,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)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Qr,"Hooks are already overridden, only one definition is allowed."),Qr=!0,n=e.sanitizeHtmlContent,jn=n},e.swapComponent=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return It.getProxy(e);throw new Error},e.unwrap=function(e){const t=It.unwrapProxy(e);return t!==e?t:e},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
9
|
+
*/function Ke(e){return void 0===e}function Ge(e,t){return e.key===t.key&&e.sel===t.sel}function ze(e){return null!=e}function Ue(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],ze(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function qe(e,t,n,r,o){for(;r<=o;++r){const o=n[r];ze(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Xe(e,t,n,r){for(;n<=r;++n){const r=t[n];ze(r)&&r.hook.remove(r,e)}}function Ye(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],l=t[i];const a=n.length-1;let c,u,d,f,h=a,p=n[0],m=n[h];for(;r<=i&&o<=h;)ze(s)?ze(l)?ze(p)?ze(m)?Ge(s,p)?(Qe(s,p),s=t[++r],p=n[++o]):Ge(l,m)?(Qe(l,m),l=t[--i],m=n[--h]):Ge(s,m)?(Qe(s,m),m.hook.move(s,e,l.owner.renderer.nextSibling(l.elm)),s=t[++r],m=n[--h]):Ge(l,p)?(Qe(l,p),p.hook.move(l,e,s.elm),l=t[--i],p=n[++o]):(void 0===c&&(c=Ue(t,r,i)),u=c[p.key],Ke(u)?(p.hook.create(p),p.hook.insert(p,e,s.elm),p=n[++o]):(d=t[u],ze(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,s.elm)):(Qe(d,p),t[u]=void 0,p.hook.move(d,e,s.elm))),p=n[++o])):m=n[--h]:p=n[++o]:l=t[--i]:s=t[++r];if(r<=i||o<=h)if(r>i){let t,r=h;do{t=n[++r]}while(!ze(t)&&r<a);f=ze(t)?t.elm:null,qe(e,f,n,o,h)}else Xe(e,t,r,i)}function Je(e,t,n){const r=t.length,o=n.length;if(0===r)return void qe(e,null,n,0,o);if(0===o)return void Xe(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],s=t[r];o!==s&&(ze(s)?ze(o)?(Qe(s,o),i=o.elm):s.hook.remove(s,e):ze(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Qe(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Ze="undefined"!=typeof HTMLElement?HTMLElement:function(){},et=Ze.prototype,tt=r(null);x.call(f(z),(e=>{const t=V(et,e);$(t)||(tt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(et,e);$(t)||(tt[e]=t)}));const{isArray:nt}=Array,{getPrototypeOf:rt,create:ot,defineProperty:it,isExtensible:st,getOwnPropertyDescriptor:lt,getOwnPropertyNames:at,getOwnPropertySymbols:ct,preventExtensions:ut,hasOwnProperty:dt}=Object,{push:ft,concat:ht}=Array.prototype;function pt(e){return void 0===e}function mt(e){return"function"==typeof e}const gt=new WeakMap;function wt(e,t){gt.set(e,t)}const yt=e=>gt.get(e)||e;class bt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(dt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.wrapGetter(n)),pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=lt(n,t);if(!pt(r)){const n=this.wrapDescriptor(r);it(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ht.call(at(t),ct(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;pt(n)||dt.call(e,n)||it(e,n,ot(null)),ut(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=pt(n)||dt.call(t,n)?[]:[n];return ft.apply(r,at(t)),ft.apply(r,ct(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!st(e)&&(!!st(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return rt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=lt(n,t);if(pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},it(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const vt=new WeakMap,Ct=new WeakMap,Et=new WeakMap,kt=new WeakMap;class St extends bt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=vt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return vt.set(e,r),Et.set(r,e),r}wrapSetter(e){const t=Ct.get(e);if(!pt(t))return t;const n=function(t){e.call(yt(this),yt(t))};return Ct.set(e,n),kt.set(n,e),n}unwrapDescriptor(e){if(dt.call(e,"value"))e.value=yt(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.unwrapGetter(n)),pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Et.get(e);if(!pt(t))return t;const n=this,r=function(){return yt(e.call(n.wrapValue(this)))};return vt.set(r,e),Et.set(e,r),r}unwrapSetter(e){const t=kt.get(e);if(!pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ct.set(r,e),kt.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&&nt(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(st(e)){const{originalTarget:t}=this;if(ut(t),st(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!dt.call(r,t)||(it(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Mt=new WeakMap,Tt=new WeakMap;class xt extends bt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return Mt.set(e,r),r}wrapSetter(e){const t=Tt.get(e);if(!pt(t))return t;const n=function(e){};return Tt.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}}const At=Object.prototype;function Nt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(nt(e))return!0;const t=rt(e);return t===At||null===t||null===rt(t)}const Ot=(e,t)=>{},Lt=(e,t)=>{},Pt=e=>e;function $t(e){return nt(e)?[]:{}}const _t=Symbol.for("@@lockerLiveValue");function Dt(e){return e}const Rt=new class{constructor(e){if(this.valueDistortion=Pt,this.valueMutated=Lt,this.valueObserved=Ot,this.valueIsObservable=Nt,this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap,!pt(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=mt(t)?t:Pt,this.valueMutated=mt(n)?n:Lt,this.valueObserved=mt(r)?r:Ot,this.valueIsObservable=mt(o)?o:Nt,this.tagPropertyKey=i}}getProxy(e){const t=yt(e),n=this.valueDistortion(t);return this.valueIsObservable(n)?this.readOnlyObjectGraph.get(n)===e?e:this.getReactiveHandler(t,n):n}getReadOnlyProxy(e){e=yt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReadOnlyHandler(e,t):t}unwrapProxy(e){return yt(e)}getReactiveHandler(e,t){let n=this.reactiveObjectGraph.get(t);if(pt(n)){const r=new St(this,t);n=new Proxy($t(t),r),wt(n,e),this.reactiveObjectGraph.set(t,n)}return n}getReadOnlyHandler(e,t){let n=this.readOnlyObjectGraph.get(t);if(pt(n)){const r=new xt(this,t);n=new Proxy($t(t),r),wt(n,e),this.readOnlyObjectGraph.set(t,n)}return n}}({valueObserved:he,valueMutated:fe,valueDistortion:Dt,tagPropertyKey:_t});function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Or(this);if(!sr(t))return ge(t,e),n.call(t.elm)},set(t){const n=Or(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,me(n,e)),r.call(n.elm,t)}}}const It=function(){if(_(ir))throw new ReferenceError("Illegal constructor");const e=ir,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[_t]=void 0,Nr(i,e),Nr(n,e),1===e.renderMode&&Ft(e),this};function Ft(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,s=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=s,Nr(s,e)}It.prototype={constructor:It,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=Or(this);return n(t,e)},addEventListener(e,t,n){const r=Or(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,pr(r,t),n)},removeEventListener(e,t,n){const r=Or(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,pr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Or(this);return!_(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Or(this);return!_(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=Or(this);Te(t,e),n(t,e),Me()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Or(this);Te(n,t),r(n,t,e),Me()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Or(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Or(this);return r(n,t,e)},setAttribute(e,t){const n=Or(this),{elm:r,renderer:{setAttribute:o}}=n;Te(r,e),o(r,e,t),Me()},setAttributeNS(e,t,n){const r=Or(this),{elm:o,renderer:{setAttribute:i}}=r;Te(o,t),i(o,t,n,e),Me()},getBoundingClientRect(){const e=Or(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=Or(this);return t(e)},get classList(){const e=Or(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Or(this).cmpRoot},get shadowRoot(){return null},render(){return Or(this).def.template},toString(){return`[object ${Or(this).def.name}]`}};const Bt=r(null),jt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of jt)Bt[e]={get(){const e=Or(this),{elm:n,renderer:r}=e;return r[t](n)},configurable:!0,enumerable:!0};const Wt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Wt)Bt[e]={value(t){const n=Or(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(It.prototype,Bt);const Vt=r(null);for(const e in tt)Vt[e]=Ht(e,tt[e]);function Kt(e){return{get(){const t=Or(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,me(n,e))},enumerable:!0,configurable:!0}}function Gt(e){return{get(){const t=Or(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Or(this),r=Rt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,me(n,e))},enumerable:!0,configurable:!0}}function zt(e){return{get(){const t=Or(this);if(!sr(t))return ge(t,e),t.cmpProps[e]},set(t){const n=Or(this);n.cmpProps[e]=t,me(n,e)},enumerable:!0,configurable:!0}}o(It.prototype,Vt),i(It,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Ut extends pe{constructor(e,t){super((()=>{R(this.debouncing)&&(this.debouncing=!0,ce((()=>{if(D(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,D(e.isDirty)&&R(r)&&i>0&&kr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function qt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Or(this);if(r)if(oe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];$(o)&&(o=n.oar[e]=new Ut(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Xt(e){return{get(){const t=Or(this);return ge(t,e),t.cmpFields[e]},set(t){const n=Or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,me(n,e))},enumerable:!0,configurable:!0}}const Yt=new Map;const Jt={apiMethods:se,apiFields:se,apiFieldsConfig:se,wiredMethods:se,wiredFields:se,observedFields:se};const Qt=new Set;function Zt(){return[]}Qt.add(Zt);const en=r(null),tn=r(null);function nn(e){let t=en[e];return $(t)&&(t=en[e]=function(){const t=Or(this),{getHook:n}=t;return n(t.component,e)}),t}function rn(e){let t=tn[e];return $(t)&&(t=tn[e]=function(t){const n=Or(this),{setHook:r}=n;t=Rt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function on(e){return function(){const t=Or(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,S.call(arguments))}}function sn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];$(i)?$(t)||t.apply(this,arguments):Se(this,n)&&(this[i]=o)}}function ln(e,t,n){let s;H(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[Y(n)]=n,u[n]={get:nn(n),set:rn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:on(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:sn(l,a)},i(s,"observedAttributes",{get:()=>[...c,...f(l)]}),o(s.prototype,u),s}const an=ln(Ze,a(tt),[]);function cn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function un(e){return H(e)&&u.call(e,"__circular__")}s(an),h(an.prototype);const dn=new WeakMap;function fn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Yt.get(e);return $(t)?Jt:t}(e),{apiFields:l,apiFieldsConfig:a,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=c(e);if(_(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(un(t)){const e=cn(t);t=e===t?It:e}return t}(e),E=C!==It?pn(C):mn,k=ln(E.bridge,f(l),f(u)),S=n(r(null),E.props,l),M=n(r(null),E.propsConfig,a),T=n(r(null),E.methods,u),x=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;$(t)||(A=t);let N=E.renderMode;$(i)||(N="light"===i?0:1);const O=function(e){return cr.get(e)}(e)||E.template,L=e.name||E.name;o(m,p);return{ctor:e,name:L,wire:x,props:S,propsConfig:M,methods:T,bridge:k,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function hn(e){if(!H(e))return!1;if(e.prototype instanceof It)return!0;let t=e;do{if(un(t)){const e=cn(t);if(e===t)return!0;t=e}if(t===It)return!0}while(!_(t)&&(t=c(t)));return!1}function pn(e){let t=dn.get(e);if($(t)){if(un(e)){return t=pn(cn(e)),dn.set(e,t),t}if(!hn(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=fn(e),dn.set(e,t)}return t}const mn={ctor:It,name:It.name,props:Vt,propsConfig:se,methods:se,renderMode:1,shadowSupportMode:"reset",wire:se,bridge:an,template:Zt,render:It.prototype.render};function gn(e,t){e.$shadowToken$=t}function wn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!$(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function yn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function bn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function vn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function Cn(e){ve.create(e),$e.create(e)}function En(e,t){const{children:n,owner:r}=t,o=xn(n)?Ye:Je;jr(r,r.owner,B,(()=>{o(t.elm,e.children,n)}),B)}function kn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(_(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];$(n.key)||(n.key=`@${i}:${n.key}`),C.call(s,n)}if(R(e.isDirty)){const t=f(n);if(t.length!==f(o).length)return void fr(e);for(let r=0,i=t.length;r<i;r+=1){const i=t[r];if($(o[i])||n[i].length!==o[i].length)return void fr(e);const s=n[i],l=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==l[t])return void fr(e)}}}(t,n),e.aChildren=n,e.children=le)}function Sn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}function Mn(e,t,n){let r=0;for(let n=0,o=t.length;n<o;n++){const o=t[n];if(null!=o){const t=e[r];o.hook.hydrate(o,t),r++}}}const Tn=new WeakMap;function xn(e){return Tn.has(e)}function An(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return $(n)?(n=class extends t.HTMLElement{constructor(e){super(),H(e)&&e(this)}},t.defineCustomElement(e,n),n):n}const Nn=Symbol.iterator,On={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);_n(r,t),e.elm=r},update:yn,insert:bn,move:bn,remove:vn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},Ln={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);_n(o,t),e.elm=o},update:yn,insert:bn,move:bn,remove:vn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},Pn={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=D(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);_n(s,n),function(e,t){const{owner:n}=t;if(wn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;$(r)||$(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),gn(e,o)}}(s,e),e.elm=s,function(e){ve.create(e),Ne.create(e),$e.create(e),We.create(e),Ve.create(e),Ie.create(e),je.create(e)}(e)},update:(e,t)=>{!function(e,t){Ne.update(e,t),$e.update(e,t),Ie.update(e,t),je.update(e,t)}(e,t),En(e,t)},insert:(e,t,n)=>{bn(e,t,n),Sn(e)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];_(r)||r.hook.remove(r,n)}}(e)},hydrate:(e,t)=>{const n=t;e.elm=n;const{context:r}=e.data,o=Boolean(!$(r)&&!$(r.lwc)&&"manual"===r.lwc.dom);if(o){const{props:t}=e.data;$(t)||$(t.innerHTML)||(n.innerHTML===t.innerHTML?delete t.innerHTML:(i=`Mismatch hydrating element <${n.tagName.toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`,s=e.owner,ye("warn",i,s)))}var i,s;Cn(e),o||Mn(e.elm.childNodes,e.children,e.owner)}},$n={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=An(t,r),i=new o((t=>{!function(e,t){if(!$(Lr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(wn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;gn(e,t)}Ar(e,pn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));_n(i,n),e.elm=i;const s=Lr(i);if(s)kn(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ve.create(e),Ne.create(e),$e.create(e),We.create(e),Ve.create(e),Ie.create(e),je.create(e)}(e)},update:(e,t)=>{!function(e,t){Ne.update(e,t),$e.update(e,t),Ie.update(e,t),je.update(e,t)}(e,t);const n=Lr(t.elm);n&&kn(t,n),En(e,t),n&&kr(n)},insert:(e,t,n)=>{bn(e,t,n);const r=Lr(e.elm);r&&Rr(r),Sn(e),r&&function(e){Pr(e)}(r)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t);const n=Lr(e.elm);n&&function(e){xr(e)}(n)},hydrate:(e,t)=>{const{sel:n,mode:r,ctor:o,owner:i}=e;Ar(t,pn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer}),e.elm=t;const s=Or(t);kn(e,s),Cn(e),Rr(s),0!==s.renderMode&&Mn(e.elm.childNodes,e.children),Tr(s)}};function _n(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Wr(t).$shadowResolver$))}function Dn(e,t,n){const r=tr();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:Pn,owner:r}}function Rn(e,t,n,r=le){const o=tr(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:$n,ctor:t,owner:o,mode:"open"};return function(e){C.call(tr().velements,e)}(s),s}const Hn=new Map;let In=0;function Fn(e){var t;return t=e,Tn.set(t,1),e}let Bn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const jn=s({s:function(e,t,n,r){$(r)||$(r[e])||0===r[e].length||(n=r[e]);const o=tr(),{renderMode:i,shadowMode:s}=o;return 0===i?(Fn(n),n):(1===s&&Fn(n),Dn("slot",t,n))},h:Dn,c:Rn,i:function(e,t){const n=[];if(Fn(n),$(e)||null===e)return n;const r=e[Nn]();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);m(e)?C.apply(n,e):C.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Fn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{sel:undefined,data:se,children:undefined,text:e,elm:undefined,key:undefined,hook:On,owner:tr()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=tr();if(_(t))throw new Error;const n=t;return function(t){ar(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:se,children:undefined,text:e,elm:undefined,key:undefined,hook:Ln,owner:tr()}},dc:function(e,t,n,r){if(null==t)return null;if(!hn(t))throw new Error(`Invalid LWC Constructor ${W(t)} for custom element <${e}>.`);let o=Hn.get(t);return $(o)&&(o=In++,Hn.set(t,o)),n.key=`dc:${o}:${n.key}`,Rn(e,t,n,r)},ti:function(e){return e>0&&!(D(e)||R(e))?0:e},gid:function(e){const t=tr();if($(e)||""===e)return e;if(_(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?O.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=tr();if($(e)||""===e)return e;if(_(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Bn(e)}});function Wn(e){return`${e}-host`}function Vn(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(m(i))C.apply(r,Vn(i,t,n));else{const e=i.$scoped$,o=0===n.renderMode?!e:0===n.shadowMode,s=e||1===n.shadowMode&&1===n.renderMode?t:void 0;C.call(r,i(o,s))}}return r}function Kn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return $(n)||0===n.length||(o=Vn(n,r,e)),o}function Gn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr||n.isHydrating()){const e=b.call(t,"\n");return i=e,jn.h("style",{key:"style",attrs:{type:"text/css"}},[jn.t(i)])}{const r=function(e){let t=e;for(;!_(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=_(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let zn=!1,Un=B;const qn={enableProfiler(){zn=!0},disableProfiler(){zn=!1},attachDispatcher(e){Un=e,this.enableProfiler()},detachDispatcher(){const e=Un;return Un=B,this.disableProfiler(),e}};function Xn(e,t){zn&&Un(e,0,t.tagName,t.idx)}function Yn(e,t){zn&&Un(e,1,t.tagName,t.idx)}function Jn(e,t){zn&&Un(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx)}function Qn(e,t){zn&&Un(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx)}let Zn=!1,er=null;function tr(){return er}function nr(e){er=e}function rr(e,t){const n=Zn,o=er;let i=[];return jr(e,e.owner,(()=>{er=e,Xn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(_(l)||Br(e),a=t,!Qt.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: ${W(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!$(t))for(let e=0;e<t.length;e++)if(D(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:l,stylesheetToken:a}=t,c=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Wn(p)),g&&o.removeAttribute(n,Wn(p)),$(l)||0===l.length||(d=a),$(d)||(u&&(o.getClassList(n).add(Wn(d)),f=!0),c&&(o.setAttribute(n,Wn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const n=Kn(e,t);o.styleVNode=0===n.length?null:Gn(e,n)}var a;e.velements=[],Zn=!0,i=t.call(void 0,jn,n,s,o.tplCache);const{styleVNode:c}=o;_(c)||T.call(i,c)}))}),(()=>{Zn=n,er=o,Yn(1,e)})),i}function or(e,t){if(!d(t)&&$(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!_(n);)C.call(t,we(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}let ir=null;function sr(e){return ir===e}function lr(e,t,n){const{component:r,callHook:o,owner:i}=e;jr(e,i,B,(()=>{o(r,t,n)}),B)}function ar(e,t,n,r){const{callHook:o,owner:i}=e;jr(e,i,B,(()=>{o(n,t,[r])}),B)}const cr=new Map;function ur(e){return new pe((()=>{const{isDirty:t}=e;R(t)&&(fr(e),function(e){if(D(e.renderer.ssr)||D(e.isScheduled))return;e.isScheduled=!0,0===_r.length&&ce(Dr);C.call(_r,e)}(e))}))}function dr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=tr();let s,l=!1;return jr(e,o,(()=>{nr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{nr(i)})),l?rr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function fr(e){e.isDirty=!0}const hr=new WeakMap;function pr(e,t){if(!H(t))throw new TypeError;let n=hr.get(t);return $(n)&&(n=function(n){ar(e,t,void 0,n)},hr.set(t,n)),n}const mr=r(null),gr=["rendered","connected","disconnected"];function wr(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 yr=0;const br=new WeakMap;function vr(e,t,n=[]){return t.apply(e,n)}function Cr(e,t,n){e[t]=n}function Er(e,t){return e[t]}function kr(e){Pr(e)}function Sr(e){const t=Or(e);Jn(7,t),1===t.state&&Mr(e),Rr(t),Pr(t),Qn(7,t)}function Mr(e){xr(Or(e))}function Tr(e){!function(e){if(D(e.isDirty)){const t=dr(e);e.children=t;Mn(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),$r(e)}}(e)}function xr(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){R(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=mr;t&&wr(e,t);Hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;jr(e,e,B,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),B)}(e);const{disconnectedCallback:n}=e.def;$(n)||(Xn(5,e),lr(e,n),Yn(5,e))}(e),Ir(e),function(e){const{aChildren:t}=e;Fr(t)}(e)}}function Ar(e,t,n){const{mode:o,owner:i,renderer:s,tagName:l}=n,a={elm:e,def:t,idx:yr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,renderer:s,children:le,aChildren:le,velements:le,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:se,wiredConnecting:le,wiredDisconnecting:le},tro:null,component:null,cmpRoot:null,callHook:vr,setHook:Cr,getHook:Er};return a.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!_(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=_(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(a),a.tro=ur(a),function(e,t){const n=ir;let r;Xn(0,e),ir=e;try{const o=new t;if(ir.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Yn(0,e),ir=n,!$(r))throw or(e,r),r}}(a,t.ctor),Hr(a)&&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=Vr.get(i);if(!$(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Gr(e,t,s),a=s.dynamic.length>0;C.call(r,(()=>{n.connect(),oe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),C.call(o,(()=>{n.disconnect(),l()}))}}}(a),a}function Nr(e,t){br.set(e,t)}function Or(e){return br.get(e)}function Lr(e){return br.get(e)}function Pr(e){if(D(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=xn(t)?Ye:Je;jr(e,e,(()=>{Xn(2,e)}),(()=>{const o=Wr(e);r(o,n,t)}),(()=>{Yn(2,e)}))}1===e.state&&$r(e)}(e,dr(e))}}function $r(e){const{renderer:t,def:{renderedCallback:n}}=e;if(D(t.ssr))return;const{rendered:r}=mr;r&&wr(e,r),$(n)||(Xn(4,e),lr(e,n),Yn(4,e))}let _r=[];function Dr(){Jn(8);const e=_r.sort(((e,t)=>e.idx-t.idx));_r=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Pr(r)}catch(r){throw t+1<n&&(0===_r.length&&ce(Dr),T.apply(_r,S.call(e,t+1))),Qn(8),r}}Qn(8)}function Rr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=mr;n&&wr(e,n),Hr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;$(r)||(Xn(3,e),lr(e,r),Yn(3,e))}function Hr(e){return a(e.def.wire).length>0}function Ir(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!$(n)){const e=Lr(n);$(e)||xr(e)}}}function Fr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];_(n)||!m(n.children)||$(n.elm)||($(n.ctor)?Fr(n.children):xr(Or(n.elm)))}}function Br(e){const{children:t,renderer:n}=e,r=Wr(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];_(o)||$(o.elm)||n.remove(o.elm,r)}e.children=le,Ir(e),e.velements=le}function jr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!$(i)){or(e,i);const n=_(t)?void 0:function(e){let t=e;for(;!_(t);){if(!$(t.def.errorCallback))return t;t=t.owner}}(t);if($(n))throw i;Br(e),Xn(6,e);lr(n,n.def.errorCallback,[i,i.wcStack]),Yn(6,e)}}}function Wr(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Vr=new Map;class Kr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Gr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,a=$(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,me(e,t))}}(e,t):function(e,t){return n=>{jr(e,e.owner,B,(()=>{t.call(e.component,n)}),B)}}(e,r);let c,u;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),jr(e,e,B,(()=>{u=new o(a)}),B);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new pe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{jr(e,e,B,(()=>{u.update(t,c)}),B)}));return $(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ur(r);if($(o))return;const{elm:i,renderer:s,context:{wiredConnecting:l,wiredDisconnecting:a}}=e;C.call(l,(()=>{const e=new Kr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(a,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const zr=new Map;function Ur(e){return zr.get(e)}function qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Vr.set(e,o)}function Xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Vr.set(e,o)}let Yr=!1;const Jr=r(null),Qr=document.head||document.body||document,Zr=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),eo=r(null),to=r(null),no=new WeakMap;let ro,oo,io;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())ro=customElements.get.bind(customElements),oo=customElements.define.bind(customElements),io=HTMLElement;else{const e=r(null),t=new WeakMap;oo=function(n,r){if(n!==P.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},ro=function(t){return e[t]},io=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},io.prototype=HTMLElement.prototype}let so=!1;function lo(e){so=e}const ao={ssr:!1,isHydrating:()=>so,isNativeShadowDefined:U.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$"),createElement:(e,t)=>$(t)?document.createElement(e):document.createElementNS(t,e),createText:e=>document.createTextNode(e),createComment:e=>document.createComment(e),insert(e,t,n){t.insertBefore(e,n)},remove(e,t){t.removeChild(e)},nextSibling:e=>e.nextSibling,attachShadow:(e,t)=>so?e.shadowRoot:e.attachShadow(t),setText(e,t){e.nodeValue=t},getProperty:(e,t)=>e[t],setProperty(e,t,n){e[t]=n},getAttribute:(e,t,n)=>$(n)?e.getAttribute(t):e.getAttributeNS(n,t),setAttribute:(e,t,n,r)=>$(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n),removeAttribute(e,t,n){$(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:(e,t)=>e.dispatchEvent(t),getClassList:e=>e.classList,setCSSStyleProperty(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:e=>e.getBoundingClientRect(),querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>e.querySelectorAll(t),getElementsByTagName:(e,t)=>e.getElementsByTagName(t),getElementsByClassName:(e,t)=>e.getElementsByClassName(t),getChildren:e=>e.children,getChildNodes:e=>e.childNodes,getFirstChild:e=>e.firstChild,getFirstElementChild:e=>e.firstElementChild,getLastChild:e=>e.lastChild,getLastElementChild:e=>e.lastElementChild,isConnected:e=>e.isConnected,insertGlobalStylesheet(e){if(!$(Jr[e]))return;Jr[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Qr.appendChild(t)},insertStylesheet(e,t){Zr?function(e,t){let n=to[e];$(n)&&(n=new CSSStyleSheet,n.replaceSync(e),to[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=no.get(t);if($(n)&&(n=r(null),no.set(t,n)),n[e])return;n[e]=!0;let o=eo[e];$(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,eo[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},assertInstanceOfHTMLElement(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:oo,getCustomElement:ro,HTMLElement:io},co=Node,uo=new WeakMap,fo=new WeakMap;function ho(e,t){const n=t.get(e);return $(n)||n(e),e}const{appendChild:po,insertBefore:mo,removeChild:go,replaceChild:wo}=co.prototype;function yo(e,t){if(!I(t)||_(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${W(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=An(e,ao);let o=!1;const i=new r((r=>{Ar(r,pn(n),{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null,renderer:ao}),uo.set(r,Sr),fo.set(r,Mr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i}n(co.prototype,{appendChild(e){return ho(po.call(this,e),uo)},insertBefore(e,t){return ho(mo.call(this,e,t),uo)},removeChild(e){return ho(go.call(this,e),fo)},replaceChild(e,t){const n=wo.call(this,e,t);return ho(n,fo),ho(e,uo),n}});const bo=Node;const vo=new Map;function Co(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=vo.get(e);return $(t)&&(t=function(e){const t=pn(e);return class extends t.bridge{constructor(){super(),Ar(this,t,{mode:"open",owner:null,tagName:this.tagName,renderer:ao})}connectedCallback(){Sr(this)}disconnectedCallback(){Mr(this)}}}(e),vo.set(e,t)),t}i(It,"CustomElementConstructor",{get(){return Co(this)}}),s(It),h(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=qn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Ur(e);if(!$(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){zr.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(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=yo,e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=Lr(e);$(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=pn(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:Y(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},e.hydrateComponent=function(e,t,n={}){if(!H(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||_(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);const r=pn(t);try{lo(!0),Ar(e,r,{mode:"open",owner:null,renderer:ao,tagName:e.tagName.toLowerCase()});for(const[t,r]of Object.entries(n))e[t]=r;!function(e){const t=Or(e);Rr(t),Tr(t)}(e),lo(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),lo(!1);const o=yo(e.tagName,{is:t,mode:"open"});for(const[e,t]of Object.entries(n))o[e]=t;e.parentNode.replaceChild(o,e)}},e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){return!R(e instanceof bo)&&(!(e instanceof ShadowRoot)&&(ao.isSyntheticShadowDefined?!$(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return Rt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<gr.length;++t){const n=gr[t];if(n in e){let t=mr[n];$(t)&&(mr[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return cr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:a,track:c,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!$(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if($(w))throw new Error;w=qt(e,w)}else w=$(w)||$(w.get)?zt(e):qt(e,w);f[e]=w,i(n,e,w)}if($(s)||x.call(s,(e=>{if(w=l(n,e),$(w))throw new Error;d[e]=w})),!$(a))for(const e in a){const{adapter:t,method:r,config:o,dynamic:s=[]}=a[e];if(w=l(n,e),1===r){if($(w))throw new Error;h[e]=w,qr(w,t,o,s)}else w=Kt(e),p[e]=w,Xr(w,t,o,s),i(n,e,w)}if(!$(c))for(const e in c)w=l(n,e),w=Gt(e),i(n,e,w);if(!$(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!$(o)&&t in o,i=!$(c)&&t in c;r||i||(m[t]=Xt(t))}return function(e,t){Yt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Qt.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if($(re[e])){const n=f(re).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=oe[e];if(!$(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}".`);i(oe,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)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Yr,"Hooks are already overridden, only one definition is allowed."),Yr=!0,n=e.sanitizeHtmlContent,Bn=n},e.swapComponent=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Rt.getProxy(e);throw new Error},e.unwrap=function(e){const t=Rt.unwrapProxy(e);return t!==e?t:e},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
find: ArrayFind,
|
|
76
76
|
indexOf: ArrayIndexOf,
|
|
77
77
|
join: ArrayJoin,
|
|
78
|
-
map: ArrayMap
|
|
78
|
+
map: ArrayMap,
|
|
79
79
|
push: ArrayPush$1,
|
|
80
80
|
reduce: ArrayReduce,
|
|
81
81
|
reverse: ArrayReverse,
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
// Array.prototype.toString directly will cause an error Iterate through
|
|
139
139
|
// all the items and handle individually.
|
|
140
140
|
if (isArray$1(obj)) {
|
|
141
|
-
return ArrayJoin.call(ArrayMap
|
|
141
|
+
return ArrayJoin.call(ArrayMap.call(obj, toString$1), ',');
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
return obj.toString();
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
302
302
|
return attributeName;
|
|
303
303
|
}
|
|
304
|
-
/** version: 2.5.
|
|
304
|
+
/** version: 2.5.11 */
|
|
305
305
|
|
|
306
306
|
/*
|
|
307
307
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
|
|
474
474
|
function setFeatureFlagForTest(name, value) {
|
|
475
475
|
}
|
|
476
|
-
/** version: 2.5.
|
|
476
|
+
/** version: 2.5.11 */
|
|
477
477
|
|
|
478
478
|
/* proxy-compat-disable */
|
|
479
479
|
|
|
@@ -1499,7 +1499,6 @@
|
|
|
1499
1499
|
getPrototypeOf,
|
|
1500
1500
|
create: ObjectCreate,
|
|
1501
1501
|
defineProperty: ObjectDefineProperty,
|
|
1502
|
-
defineProperties: ObjectDefineProperties,
|
|
1503
1502
|
isExtensible,
|
|
1504
1503
|
getOwnPropertyDescriptor,
|
|
1505
1504
|
getOwnPropertyNames,
|
|
@@ -1509,8 +1508,7 @@
|
|
|
1509
1508
|
} = Object;
|
|
1510
1509
|
const {
|
|
1511
1510
|
push: ArrayPush,
|
|
1512
|
-
concat: ArrayConcat
|
|
1513
|
-
map: ArrayMap
|
|
1511
|
+
concat: ArrayConcat
|
|
1514
1512
|
} = Array.prototype;
|
|
1515
1513
|
|
|
1516
1514
|
function isUndefined(obj) {
|
|
@@ -1564,7 +1562,9 @@
|
|
|
1564
1562
|
// but it will always be compatible with the previous descriptor
|
|
1565
1563
|
// to preserve the object invariants, which makes these lines safe.
|
|
1566
1564
|
|
|
1567
|
-
const originalDescriptor = getOwnPropertyDescriptor(originalTarget, key);
|
|
1565
|
+
const originalDescriptor = getOwnPropertyDescriptor(originalTarget, key); // TODO: it should be impossible for the originalDescriptor to ever be undefined, this `if` can be removed
|
|
1566
|
+
|
|
1567
|
+
/* istanbul ignore else */
|
|
1568
1568
|
|
|
1569
1569
|
if (!isUndefined(originalDescriptor)) {
|
|
1570
1570
|
const wrappedDesc = this.wrapDescriptor(originalDescriptor);
|
|
@@ -1592,11 +1592,17 @@
|
|
|
1592
1592
|
|
|
1593
1593
|
preventExtensions(shadowTarget);
|
|
1594
1594
|
} // Shared Traps
|
|
1595
|
+
// TODO: apply() is never called
|
|
1596
|
+
|
|
1597
|
+
/* istanbul ignore next */
|
|
1595
1598
|
|
|
1596
1599
|
|
|
1597
1600
|
apply(shadowTarget, thisArg, argArray) {
|
|
1598
1601
|
/* No op */
|
|
1599
|
-
}
|
|
1602
|
+
} // TODO: construct() is never called
|
|
1603
|
+
|
|
1604
|
+
/* istanbul ignore next */
|
|
1605
|
+
|
|
1600
1606
|
|
|
1601
1607
|
construct(shadowTarget, argArray, newTarget) {
|
|
1602
1608
|
/* No op */
|
|
@@ -1709,8 +1715,8 @@
|
|
|
1709
1715
|
|
|
1710
1716
|
}
|
|
1711
1717
|
|
|
1712
|
-
const getterMap = new WeakMap();
|
|
1713
|
-
const setterMap = new WeakMap();
|
|
1718
|
+
const getterMap$1 = new WeakMap();
|
|
1719
|
+
const setterMap$1 = new WeakMap();
|
|
1714
1720
|
const reverseGetterMap = new WeakMap();
|
|
1715
1721
|
const reverseSetterMap = new WeakMap();
|
|
1716
1722
|
|
|
@@ -1720,7 +1726,7 @@
|
|
|
1720
1726
|
}
|
|
1721
1727
|
|
|
1722
1728
|
wrapGetter(originalGet) {
|
|
1723
|
-
const wrappedGetter = getterMap.get(originalGet);
|
|
1729
|
+
const wrappedGetter = getterMap$1.get(originalGet);
|
|
1724
1730
|
|
|
1725
1731
|
if (!isUndefined(wrappedGetter)) {
|
|
1726
1732
|
return wrappedGetter;
|
|
@@ -1733,13 +1739,13 @@
|
|
|
1733
1739
|
return handler.wrapValue(originalGet.call(unwrap$1(this)));
|
|
1734
1740
|
};
|
|
1735
1741
|
|
|
1736
|
-
getterMap.set(originalGet, get);
|
|
1742
|
+
getterMap$1.set(originalGet, get);
|
|
1737
1743
|
reverseGetterMap.set(get, originalGet);
|
|
1738
1744
|
return get;
|
|
1739
1745
|
}
|
|
1740
1746
|
|
|
1741
1747
|
wrapSetter(originalSet) {
|
|
1742
|
-
const wrappedSetter = setterMap.get(originalSet);
|
|
1748
|
+
const wrappedSetter = setterMap$1.get(originalSet);
|
|
1743
1749
|
|
|
1744
1750
|
if (!isUndefined(wrappedSetter)) {
|
|
1745
1751
|
return wrappedSetter;
|
|
@@ -1750,7 +1756,7 @@
|
|
|
1750
1756
|
originalSet.call(unwrap$1(this), unwrap$1(v));
|
|
1751
1757
|
};
|
|
1752
1758
|
|
|
1753
|
-
setterMap.set(originalSet, set);
|
|
1759
|
+
setterMap$1.set(originalSet, set);
|
|
1754
1760
|
reverseSetterMap.set(set, originalSet);
|
|
1755
1761
|
return set;
|
|
1756
1762
|
}
|
|
@@ -1791,7 +1797,7 @@
|
|
|
1791
1797
|
return unwrap$1(redGet.call(handler.wrapValue(this)));
|
|
1792
1798
|
};
|
|
1793
1799
|
|
|
1794
|
-
getterMap.set(get, redGet);
|
|
1800
|
+
getterMap$1.set(get, redGet);
|
|
1795
1801
|
reverseGetterMap.set(redGet, get);
|
|
1796
1802
|
return get;
|
|
1797
1803
|
}
|
|
@@ -1810,7 +1816,7 @@
|
|
|
1810
1816
|
redSet.call(handler.wrapValue(this), handler.wrapValue(v));
|
|
1811
1817
|
};
|
|
1812
1818
|
|
|
1813
|
-
setterMap.set(set, redSet);
|
|
1819
|
+
setterMap$1.set(set, redSet);
|
|
1814
1820
|
reverseSetterMap.set(redSet, set);
|
|
1815
1821
|
return set;
|
|
1816
1822
|
}
|
|
@@ -1861,6 +1867,11 @@
|
|
|
1861
1867
|
preventExtensions(originalTarget); // if the originalTarget is a proxy itself, it might reject
|
|
1862
1868
|
// the preventExtension call, in which case we should not attempt to lock down
|
|
1863
1869
|
// the shadow target.
|
|
1870
|
+
// TODO: It should not actually be possible to reach this `if` statement.
|
|
1871
|
+
// If a proxy rejects extensions, then calling preventExtensions will throw an error:
|
|
1872
|
+
// https://codepen.io/nolanlawson-the-selector/pen/QWMOjbY
|
|
1873
|
+
|
|
1874
|
+
/* istanbul ignore if */
|
|
1864
1875
|
|
|
1865
1876
|
if (isExtensible(originalTarget)) {
|
|
1866
1877
|
return false;
|
|
@@ -1902,8 +1913,8 @@
|
|
|
1902
1913
|
|
|
1903
1914
|
}
|
|
1904
1915
|
|
|
1905
|
-
const getterMap
|
|
1906
|
-
const setterMap
|
|
1916
|
+
const getterMap = new WeakMap();
|
|
1917
|
+
const setterMap = new WeakMap();
|
|
1907
1918
|
|
|
1908
1919
|
class ReadOnlyHandler extends BaseProxyHandler {
|
|
1909
1920
|
wrapValue(value) {
|
|
@@ -1911,7 +1922,7 @@
|
|
|
1911
1922
|
}
|
|
1912
1923
|
|
|
1913
1924
|
wrapGetter(originalGet) {
|
|
1914
|
-
const wrappedGetter = getterMap
|
|
1925
|
+
const wrappedGetter = getterMap.get(originalGet);
|
|
1915
1926
|
|
|
1916
1927
|
if (!isUndefined(wrappedGetter)) {
|
|
1917
1928
|
return wrappedGetter;
|
|
@@ -1924,12 +1935,12 @@
|
|
|
1924
1935
|
return handler.wrapValue(originalGet.call(unwrap$1(this)));
|
|
1925
1936
|
};
|
|
1926
1937
|
|
|
1927
|
-
getterMap
|
|
1938
|
+
getterMap.set(originalGet, get);
|
|
1928
1939
|
return get;
|
|
1929
1940
|
}
|
|
1930
1941
|
|
|
1931
1942
|
wrapSetter(originalSet) {
|
|
1932
|
-
const wrappedSetter = setterMap
|
|
1943
|
+
const wrappedSetter = setterMap.get(originalSet);
|
|
1933
1944
|
|
|
1934
1945
|
if (!isUndefined(wrappedSetter)) {
|
|
1935
1946
|
return wrappedSetter;
|
|
@@ -1938,16 +1949,20 @@
|
|
|
1938
1949
|
const set = function (v) {
|
|
1939
1950
|
};
|
|
1940
1951
|
|
|
1941
|
-
setterMap
|
|
1952
|
+
setterMap.set(originalSet, set);
|
|
1942
1953
|
return set;
|
|
1943
1954
|
}
|
|
1944
1955
|
|
|
1945
1956
|
set(shadowTarget, key, value) {
|
|
1957
|
+
/* istanbul ignore next */
|
|
1958
|
+
|
|
1946
1959
|
|
|
1947
1960
|
return false;
|
|
1948
1961
|
}
|
|
1949
1962
|
|
|
1950
1963
|
deleteProperty(shadowTarget, key) {
|
|
1964
|
+
/* istanbul ignore next */
|
|
1965
|
+
|
|
1951
1966
|
|
|
1952
1967
|
return false;
|
|
1953
1968
|
}
|
|
@@ -1956,11 +1971,15 @@
|
|
|
1956
1971
|
}
|
|
1957
1972
|
|
|
1958
1973
|
preventExtensions(shadowTarget) {
|
|
1974
|
+
/* istanbul ignore next */
|
|
1975
|
+
|
|
1959
1976
|
|
|
1960
1977
|
return false;
|
|
1961
1978
|
}
|
|
1962
1979
|
|
|
1963
1980
|
defineProperty(shadowTarget, key, descriptor) {
|
|
1981
|
+
/* istanbul ignore next */
|
|
1982
|
+
|
|
1964
1983
|
|
|
1965
1984
|
return false;
|
|
1966
1985
|
}
|
|
@@ -2008,7 +2027,8 @@
|
|
|
2008
2027
|
this.valueMutated = defaultValueMutated;
|
|
2009
2028
|
this.valueObserved = defaultValueObserved;
|
|
2010
2029
|
this.valueIsObservable = defaultValueIsObservable;
|
|
2011
|
-
this.
|
|
2030
|
+
this.readOnlyObjectGraph = new WeakMap();
|
|
2031
|
+
this.reactiveObjectGraph = new WeakMap();
|
|
2012
2032
|
|
|
2013
2033
|
if (!isUndefined(options)) {
|
|
2014
2034
|
const {
|
|
@@ -2031,10 +2051,13 @@
|
|
|
2031
2051
|
const distorted = this.valueDistortion(unwrappedValue);
|
|
2032
2052
|
|
|
2033
2053
|
if (this.valueIsObservable(distorted)) {
|
|
2034
|
-
|
|
2035
|
-
|
|
2054
|
+
if (this.readOnlyObjectGraph.get(distorted) === value) {
|
|
2055
|
+
// when trying to extract the writable version of a readonly
|
|
2056
|
+
// we return the readonly.
|
|
2057
|
+
return value;
|
|
2058
|
+
}
|
|
2036
2059
|
|
|
2037
|
-
return
|
|
2060
|
+
return this.getReactiveHandler(unwrappedValue, distorted);
|
|
2038
2061
|
}
|
|
2039
2062
|
|
|
2040
2063
|
return distorted;
|
|
@@ -2045,7 +2068,7 @@
|
|
|
2045
2068
|
const distorted = this.valueDistortion(value);
|
|
2046
2069
|
|
|
2047
2070
|
if (this.valueIsObservable(distorted)) {
|
|
2048
|
-
return this.
|
|
2071
|
+
return this.getReadOnlyHandler(value, distorted);
|
|
2049
2072
|
}
|
|
2050
2073
|
|
|
2051
2074
|
return distorted;
|
|
@@ -2055,47 +2078,36 @@
|
|
|
2055
2078
|
return unwrap$1(p);
|
|
2056
2079
|
}
|
|
2057
2080
|
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
objectGraph
|
|
2061
|
-
} = this;
|
|
2062
|
-
let reactiveState = objectGraph.get(distortedValue);
|
|
2081
|
+
getReactiveHandler(value, distortedValue) {
|
|
2082
|
+
let proxy = this.reactiveObjectGraph.get(distortedValue);
|
|
2063
2083
|
|
|
2064
|
-
if (
|
|
2065
|
-
|
|
2084
|
+
if (isUndefined(proxy)) {
|
|
2085
|
+
// caching the proxy after the first time it is accessed
|
|
2086
|
+
const handler = new ReactiveProxyHandler(this, distortedValue);
|
|
2087
|
+
proxy = new Proxy(createShadowTarget(distortedValue), handler);
|
|
2088
|
+
registerProxy(proxy, value);
|
|
2089
|
+
this.reactiveObjectGraph.set(distortedValue, proxy);
|
|
2066
2090
|
}
|
|
2067
2091
|
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
get reactive() {
|
|
2071
|
-
const reactiveHandler = new ReactiveProxyHandler(membrane, distortedValue); // caching the reactive proxy after the first time it is accessed
|
|
2072
|
-
|
|
2073
|
-
const proxy = new Proxy(createShadowTarget(distortedValue), reactiveHandler);
|
|
2074
|
-
registerProxy(proxy, value);
|
|
2075
|
-
ObjectDefineProperty(this, 'reactive', {
|
|
2076
|
-
value: proxy
|
|
2077
|
-
});
|
|
2078
|
-
return proxy;
|
|
2079
|
-
},
|
|
2092
|
+
return proxy;
|
|
2093
|
+
}
|
|
2080
2094
|
|
|
2081
|
-
|
|
2082
|
-
|
|
2095
|
+
getReadOnlyHandler(value, distortedValue) {
|
|
2096
|
+
let proxy = this.readOnlyObjectGraph.get(distortedValue);
|
|
2083
2097
|
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2098
|
+
if (isUndefined(proxy)) {
|
|
2099
|
+
// caching the proxy after the first time it is accessed
|
|
2100
|
+
const handler = new ReadOnlyHandler(this, distortedValue);
|
|
2101
|
+
proxy = new Proxy(createShadowTarget(distortedValue), handler);
|
|
2102
|
+
registerProxy(proxy, value);
|
|
2103
|
+
this.readOnlyObjectGraph.set(distortedValue, proxy);
|
|
2104
|
+
}
|
|
2091
2105
|
|
|
2092
|
-
|
|
2093
|
-
objectGraph.set(distortedValue, reactiveState);
|
|
2094
|
-
return reactiveState;
|
|
2106
|
+
return proxy;
|
|
2095
2107
|
}
|
|
2096
2108
|
|
|
2097
2109
|
}
|
|
2098
|
-
/** version: 1.
|
|
2110
|
+
/** version: 1.1.5 */
|
|
2099
2111
|
|
|
2100
2112
|
/*
|
|
2101
2113
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4179,7 +4191,7 @@
|
|
|
4179
4191
|
|
|
4180
4192
|
|
|
4181
4193
|
function d(value) {
|
|
4182
|
-
return value == null ? '' : value;
|
|
4194
|
+
return value == null ? '' : String(value);
|
|
4183
4195
|
} // [b]ind function
|
|
4184
4196
|
|
|
4185
4197
|
|
|
@@ -4528,7 +4540,7 @@
|
|
|
4528
4540
|
for (let i = 0; i < stylesheets.length; i++) {
|
|
4529
4541
|
renderer.insertGlobalStylesheet(stylesheets[i]);
|
|
4530
4542
|
}
|
|
4531
|
-
} else if (renderer.ssr || renderer.isHydrating) {
|
|
4543
|
+
} else if (renderer.ssr || renderer.isHydrating()) {
|
|
4532
4544
|
// Note: We need to ensure that during hydration, the stylesheets method is the same as those in ssr.
|
|
4533
4545
|
// This works in the client, because the stylesheets are created, and cached in the VM
|
|
4534
4546
|
// the first time the VM renders.
|
|
@@ -6051,7 +6063,7 @@
|
|
|
6051
6063
|
hooksAreSet = true;
|
|
6052
6064
|
setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
6053
6065
|
}
|
|
6054
|
-
/* version: 2.5.
|
|
6066
|
+
/* version: 2.5.11 */
|
|
6055
6067
|
|
|
6056
6068
|
/*
|
|
6057
6069
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6195,7 +6207,7 @@
|
|
|
6195
6207
|
const renderer = {
|
|
6196
6208
|
ssr: false,
|
|
6197
6209
|
|
|
6198
|
-
|
|
6210
|
+
isHydrating() {
|
|
6199
6211
|
return isHydrating;
|
|
6200
6212
|
},
|
|
6201
6213
|
|
|
@@ -6685,7 +6697,7 @@
|
|
|
6685
6697
|
});
|
|
6686
6698
|
freeze(LightningElement);
|
|
6687
6699
|
seal(LightningElement.prototype);
|
|
6688
|
-
/* version: 2.5.
|
|
6700
|
+
/* version: 2.5.11 */
|
|
6689
6701
|
|
|
6690
6702
|
exports.LightningElement = LightningElement;
|
|
6691
6703
|
exports.__unstable__ProfilerControl = profilerControl;
|