lwc 2.6.1 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +16 -14
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +16 -14
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +16 -14
  5. package/dist/engine-dom/iife/es5/engine-dom.js +23 -21
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +23 -21
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +16 -14
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +16 -14
  11. package/dist/engine-dom/umd/es5/engine-dom.js +23 -21
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +23 -21
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +27 -22
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
  16. package/dist/engine-server/esm/es2017/engine-server.js +27 -22
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +10 -6
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +10 -6
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +10 -6
  26. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +10 -6
  28. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  29. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  31. package/dist/wire-service/iife/es5/wire-service.js +11 -11
  32. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  33. package/dist/wire-service/iife/es5/wire-service_debug.js +11 -11
  34. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  35. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  36. package/dist/wire-service/umd/es5/wire-service.js +11 -11
  37. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  38. package/dist/wire-service/umd/es5/wire-service_debug.js +11 -11
  39. package/package.json +8 -8
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:h}=Object,{isArray:p}=Array,{filter:m,find:g,indexOf:w,join:y,map:b,push:v,reduce:C,reverse:E,slice:k,splice:x,unshift:S,forEach:M}=Array.prototype,{fromCharCode:T}=String,{charCodeAt:A,replace:O,slice:P,toLowerCase:$}=String.prototype;function L(e){return void 0===e}function N(e){return null===e}function R(e){return!0===e}function F(e){return!1===e}function _(e){return"function"==typeof e}function D(e){return"string"==typeof e}function H(){}const I={}.toString;function j(e){return e&&e.toString?p(e)?y.call(b.call(e,j),","):e.toString():"object"==typeof e?I.call(e):e+""}function B(e,t){do{const n=l(e,t);if(!L(n))return n;e=a(e)}while(null!==e)}const W=["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:V,AriaPropNameToAttrNameMap:G}=(()=>{const e=n(null),t=n(null);return M.call(W,(n=>{const r=$.call(O.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function K(e){return e in V}const z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","rect","source","track","wbr"]);const U=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function X(e,t){const n=U.get(e);return void 0!==n&&(0===n.size||n.has(t))}const Y=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function J(e){return Y.has(e)}const 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"]]),Z=new Map;function ee(e){const t=G[e];if(!L(t))return t;const n=Q.get(e);if(!L(n))return n;const r=Z.get(e);if(!L(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=A.call(e,t);o+=n>=65&&n<=90?"-"+T(n+32):T(n)}return Z.set(e,o),o}if("function"!=typeof Event&&"function"!=typeof CustomEvent){class e{}class t extends e{}r(z,{Event:{value:e,configurable:!0,writable:!0},CustomEvent:{value:t,configurable:!0,writable:!0}})}const te={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_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};z.lwcRuntimeFlags||Object.defineProperty(z,"lwcRuntimeFlags",{value:n(null)});const ne=z.lwcRuntimeFlags;let re=[];const oe=f(n(null)),ie=f([]);function le(){const e=re;re=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function se(e){0===re.length&&Promise.resolve().then(le),v.call(re,e)}const ae=new WeakMap;let ce=null;function ue(e,t){const n=ae.get(e);if(!L(n)){const e=n[t];if(!L(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function de(e,t){if(null===ce)return;const r=ce,o=function(e){let t=ae.get(e);if(L(t)){const r=n(null);t=r,ae.set(e,r)}return t}(e);let i=o[t];if(L(i))i=[],o[t]=i;else if(i[0]===r)return;-1===w.call(i,r)&&r.link(i)}class fe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ce;let n;ce=this;try{e()}catch(e){n=Object(e)}finally{if(ce=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=w.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){v.call(e,this),v.call(this.listeners,e)}}function he(e,t){ue(e.component,t)}function pe(e,t){de(e.component,t)}function me(e){return`<${$.call(e.tagName)}>`}function ge(e,t,n){let r=`[LWC ${e}]: ${t}`;L(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!N(e.owner);)v.call(t,n+me(e)),e=e.owner,n+="\t";return y.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function we(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if(L(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 ye={update:function(e,t){L(e.listener)?we(t):(t.listener=e.listener,t.listener.vnode=t)},create:we};function be(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:be("offsetHeight")},offsetLeft:{readOnly:!0,error:be("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:be("offsetTop")},offsetWidth:{readOnly:!0,error:be("offsetWidth")},role:{attribute:"role"}});let ve,Ce=null;function Ee(e,t){return e!==Ce||t!==ve}function ke(e,t){Ce=null,ve=void 0}function xe(e,t){Ce=e,ve=t}function Se(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if(L(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:l,removeAttribute:s}=r;let a;for(a in o=L(o)?oe:o,n){const e=n[a];o[a]!==e&&(xe(i,a),58===A.call(a,3)?l(i,a,e,"http://www.w3.org/XML/1998/namespace"):58===A.call(a,5)?l(i,a,e,"http://www.w3.org/1999/xlink"):N(e)?s(i,a):l(i,a,e),ke())}}const Me={data:{}};var Te={create:e=>Se(Me,e),update:Se};function Ae(e,t){return"input"===e&&("value"===t||"checked"===t)}function Oe(e,t){const n=t.data.props;if(L(n))return;const r=e.data.props;if(r===n)return;const o=L(r),{elm:i,sel:l,owner:{renderer:s}}=t;for(const e in n){const t=n[e];(o||t!==(Ae(l,e)?s.getProperty(i,e):r[e]))&&s.setProperty(i,e,t)}}const Pe={data:{}};var $e={create:e=>Oe(Pe,e),update:Oe};const Le=n(null);function Ne(e){if(null==e)return oe;e=D(e)?e:e+"";let t=Le[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===A.call(e,r)&&(r>o&&(t[P.call(e,o,r)]=!0),o=r+1);return r>o&&(t[P.call(e,o,r)]=!0),Le[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 l=o.getClassList(n),s=Ne(r),a=Ne(i);let c;for(c in a)L(s[c])&&l.remove(c);for(c in s)L(a[c])&&l.add(c)}const Fe={data:{}};var _e={create:e=>Re(Fe,e),update:Re};function De(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:l}=o;e.data.style!==r&&(D(r)&&""!==r?i(n,"style",r):l(n,"style"))}const He={data:{}};var Ie={create:e=>De(He,e),update:De};var je={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if(L(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var Be={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!L(n))for(let e=0;e<n.length;e++){const[o,i,l]=n[e];r.setCSSStyleProperty(t,o,i,l)}}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:h}=Object,{isArray:p}=Array,{filter:m,find:g,indexOf:w,join:y,map:b,push:v,reduce:C,reverse:E,slice:k,splice:x,unshift:S,forEach:M}=Array.prototype,{fromCharCode:T}=String,{charCodeAt:A,replace:O,slice:P,toLowerCase:$}=String.prototype;function L(e){return void 0===e}function N(e){return null===e}function R(e){return!0===e}function F(e){return!1===e}function _(e){return"function"==typeof e}function D(e){return"string"==typeof e}function H(){}const I={}.toString;function j(e){return e&&e.toString?p(e)?y.call(b.call(e,j),","):e.toString():"object"==typeof e?I.call(e):e+""}function B(e,t){do{const n=l(e,t);if(!L(n))return n;e=a(e)}while(null!==e)}const W=["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:V,AriaPropNameToAttrNameMap:G}=(()=>{const e=n(null),t=n(null);return M.call(W,(n=>{const r=$.call(O.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function K(e){return e in V}const z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","rect","source","track","wbr"]);const U=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function X(e,t){const n=U.get(e);return void 0!==n&&(0===n.size||n.has(t))}const Y=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function J(e){return Y.has(e)}const 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"]]),Z=new Map;function ee(e){const t=G[e];if(!L(t))return t;const n=Q.get(e);if(!L(n))return n;const r=Z.get(e);if(!L(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=A.call(e,t);o+=n>=65&&n<=90?"-"+T(n+32):T(n)}return Z.set(e,o),o}if("function"!=typeof Event){class e{}o(z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const te={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_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};z.lwcRuntimeFlags||Object.defineProperty(z,"lwcRuntimeFlags",{value:n(null)});const ne=z.lwcRuntimeFlags;let re=[];const oe=f(n(null)),ie=f([]);function le(){const e=re;re=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function se(e){0===re.length&&Promise.resolve().then(le),v.call(re,e)}const ae=new WeakMap;let ce=null;function ue(e,t){const n=ae.get(e);if(!L(n)){const e=n[t];if(!L(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function de(e,t){if(null===ce)return;const r=ce,o=function(e){let t=ae.get(e);if(L(t)){const r=n(null);t=r,ae.set(e,r)}return t}(e);let i=o[t];if(L(i))i=[],o[t]=i;else if(i[0]===r)return;-1===w.call(i,r)&&r.link(i)}class fe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ce;let n;ce=this;try{e()}catch(e){n=Object(e)}finally{if(ce=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=w.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){v.call(e,this),v.call(this.listeners,e)}}function he(e,t){ue(e.component,t)}function pe(e,t){de(e.component,t)}function me(e){return`<${$.call(e.tagName)}>`}function ge(e,t,n){let r=`[LWC ${e}]: ${t}`;L(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!N(e.owner);)v.call(t,n+me(e)),e=e.owner,n+="\t";return y.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function we(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if(L(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 ye={update:function(e,t){L(e.listener)?we(t):(t.listener=e.listener,t.listener.vnode=t)},create:we};function be(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:be("offsetHeight")},offsetLeft:{readOnly:!0,error:be("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:be("offsetTop")},offsetWidth:{readOnly:!0,error:be("offsetWidth")},role:{attribute:"role"}});let ve,Ce=null;function Ee(e,t){return e!==Ce||t!==ve}function ke(e,t){Ce=null,ve=void 0}function xe(e,t){Ce=e,ve=t}function Se(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if(L(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:l,removeAttribute:s}=r;let a;for(a in o=L(o)?oe:o,n){const e=n[a];o[a]!==e&&(xe(i,a),58===A.call(a,3)?l(i,a,e,"http://www.w3.org/XML/1998/namespace"):58===A.call(a,5)?l(i,a,e,"http://www.w3.org/1999/xlink"):N(e)?s(i,a):l(i,a,e),ke())}}const Me={data:{}};var Te={create:e=>Se(Me,e),update:Se};function Ae(e,t){return"input"===e&&("value"===t||"checked"===t)}function Oe(e,t){const n=t.data.props;if(L(n))return;const r=e.data.props;if(r===n)return;const o=L(r),{elm:i,sel:l,owner:{renderer:s}}=t;for(const e in n){const t=n[e];(o||t!==(Ae(l,e)?s.getProperty(i,e):r[e]))&&s.setProperty(i,e,t)}}const Pe={data:{}};var $e={create:e=>Oe(Pe,e),update:Oe};const Le=n(null);function Ne(e){if(null==e)return oe;e=D(e)?e:e+"";let t=Le[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===A.call(e,r)&&(r>o&&(t[P.call(e,o,r)]=!0),o=r+1);return r>o&&(t[P.call(e,o,r)]=!0),Le[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 l=o.getClassList(n),s=Ne(r),a=Ne(i);let c;for(c in a)L(s[c])&&l.remove(c);for(c in s)L(a[c])&&l.add(c)}const Fe={data:{}};var _e={create:e=>Re(Fe,e),update:Re};function De(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:l}=o;e.data.style!==r&&(D(r)&&""!==r?i(n,"style",r):l(n,"style"))}const He={data:{}};var Ie={create:e=>De(He,e),update:De};var je={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if(L(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var Be={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!L(n))for(let e=0;e<n.length;e++){const[o,i,l]=n[e];r.setCSSStyleProperty(t,o,i,l)}}};
2
2
  /**
3
3
  @license
4
4
  Copyright (c) 2015 Simon Friis Vindum.
@@ -6,4 +6,4 @@ This code may only be used under the MIT License found at
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 We(e){return void 0===e}function Ve(e,t){return e.key===t.key&&e.sel===t.sel}function Ge(e){return null!=e}function Ke(e,t,n){const r={};let o,i,l;for(o=t;o<=n;++o)l=e[o],Ge(l)&&(i=l.key,void 0!==i&&(r[i]=o));return r}function ze(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 qe(e,t,n,r){for(;n<=r;++n){const r=t[n];Ge(r)&&r.hook.remove(r,e)}}function Ue(e,t,n){let r=0,o=0,i=t.length-1,l=t[0],s=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(l)?Ge(s)?Ge(p)?Ge(m)?Ve(l,p)?(Ye(l,p),l=t[++r],p=n[++o]):Ve(s,m)?(Ye(s,m),s=t[--i],m=n[--h]):Ve(l,m)?(Ye(l,m),m.hook.move(l,e,s.owner.renderer.nextSibling(s.elm)),l=t[++r],m=n[--h]):Ve(s,p)?(Ye(s,p),p.hook.move(s,e,l.elm),s=t[--i],p=n[++o]):(void 0===c&&(c=Ke(t,r,i)),u=c[p.key],We(u)?(p.hook.create(p),p.hook.insert(p,e,l.elm),p=n[++o]):(d=t[u],Ge(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,l.elm)):(Ye(d,p),t[u]=void 0,p.hook.move(d,e,l.elm))),p=n[++o])):m=n[--h]:p=n[++o]:s=t[--i]:l=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,ze(e,f,n,o,h)}else qe(e,t,r,i)}function Xe(e,t,n){const r=t.length,o=n.length;if(0===r)return void ze(e,null,n,0,o);if(0===o)return void qe(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],l=t[r];o!==l&&(Ge(l)?Ge(o)?(Ye(l,o),i=o.elm):l.hook.remove(l,e):Ge(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Ye(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Je="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Je.prototype,Ze=n(null);M.call(d(G),(e=>{const t=B(Qe,e);L(t)||(Ze[e]=t)})),M.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=B(Qe,e);L(t)||(Ze[e]=t)}));const{isArray:et}=Array,{prototype:tt,getPrototypeOf:nt,create:rt,defineProperty:ot,isExtensible:it,getOwnPropertyDescriptor:lt,getOwnPropertyNames:st,getOwnPropertySymbols:at,preventExtensions:ct,hasOwnProperty:ut}=Object,{push:dt,concat:ft}=Array.prototype;function ht(e){return void 0===e}function pt(e){return"function"==typeof e}const mt=new WeakMap;function gt(e,t){mt.set(e,t)}const wt=e=>mt.get(e)||e;class yt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ut.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ht(n)||(e.get=this.wrapGetter(n)),ht(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=lt(n,t);if(!ht(r)){const n=this.wrapDescriptor(r);ot(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ft.call(st(t),at(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ht(n)||ut.call(e,n)||ot(e,n,rt(null)),ct(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=ht(n)||ut.call(t,n)?[]:[n];return dt.apply(r,st(t)),dt.apply(r,at(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!it(e)&&(!!it(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return nt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=lt(n,t);if(ht(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},ot(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const bt=new WeakMap,vt=new WeakMap,Ct=new WeakMap,Et=new WeakMap;class kt extends yt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=bt.get(e);if(!ht(t))return t;const n=this,r=function(){return n.wrapValue(e.call(wt(this)))};return bt.set(e,r),Ct.set(r,e),r}wrapSetter(e){const t=vt.get(e);if(!ht(t))return t;const n=function(t){e.call(wt(this),wt(t))};return vt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(ut.call(e,"value"))e.value=wt(e.value);else{const{set:t,get:n}=e;ht(n)||(e.get=this.unwrapGetter(n)),ht(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ct.get(e);if(!ht(t))return t;const n=this,r=function(){return wt(e.call(n.wrapValue(this)))};return bt.set(r,e),Ct.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!ht(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return vt.set(r,e),Et.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&&et(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(it(e)){const{originalTarget:t}=this;if(ct(t),it(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ut.call(r,t)||(ot(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const xt=new WeakMap,St=new WeakMap;class Mt extends yt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=xt.get(e);if(!ht(t))return t;const n=this,r=function(){return n.wrapValue(e.call(wt(this)))};return xt.set(e,r),r}wrapSetter(e){const t=St.get(e);if(!ht(t))return t;const n=function(e){};return St.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function Tt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(et(e))return!0;const t=nt(e);return t===tt||null===t||null===nt(t)}const At=(e,t)=>{},Ot=(e,t)=>{};function Pt(e){return et(e)?[]:{}}const $t=Symbol.for("@@lockerLiveValue"),Lt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=pt(t)?t:Ot,this.valueObserved=pt(n)?n:At,this.valueIsObservable=pt(r)?r:Tt,this.tagPropertyKey=o}getProxy(e){const t=wt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=wt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return wt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ht(t)){const n=new kt(this,e);t=new Proxy(Pt(e),n),gt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ht(t)){const n=new Mt(this,e);t=new Proxy(Pt(e),n),gt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:de,valueMutated:ue,tagPropertyKey:$t});function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!_(n))throw new TypeError;if(!_(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=wr(this);if(!Xn(t))return pe(t,e),n.call(t.elm)},set(t){const n=wr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,he(n,e)),r.call(n.elm,t)}}}const Rt=function(){if(N(Un))throw new ReferenceError("Illegal constructor");const e=Un,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(h(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,gr(i,e),gr(n,e),1===e.renderMode&&Ft(e),this};function Ft(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,l=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=l,gr(l,e)}Rt.prototype={constructor:Rt,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=wr(this);return n(t,e)},addEventListener(e,t,n){const r=wr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,rr(r,t),n)},removeEventListener(e,t,n){const r=wr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,rr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=wr(this);return!N(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=wr(this);return!N(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=wr(this);xe(t,e),n(t,e),ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=wr(this);xe(n,t),r(n,t,e),ke()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=wr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=wr(this);return r(n,t,e)},setAttribute(e,t){const n=wr(this),{elm:r,renderer:{setAttribute:o}}=n;xe(r,e),o(r,e,t),ke()},setAttributeNS(e,t,n){const r=wr(this),{elm:o,renderer:{setAttribute:i}}=r;xe(o,t),i(o,t,n,e),ke()},getBoundingClientRect(){const e=wr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=wr(this);return t(e)},get classList(){const e=wr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return wr(this).cmpRoot},get shadowRoot(){return null},render(){return wr(this).def.template},toString(){return`[object ${wr(this).def.name}]`}};const _t=n(null),Dt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Dt)_t[e]={get(){const e=wr(this),{elm:n,renderer:r}=e;return r[t](n)},configurable:!0,enumerable:!0};const Ht=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Ht)_t[e]={value(t){const n=wr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Rt.prototype,_t);const It=n(null);for(const e in Ze)It[e]=Nt(e,Ze[e]);function jt(e){return{get(){const t=wr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=wr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,he(n,e))},enumerable:!0,configurable:!0}}function Bt(e){return{get(){const t=wr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=wr(this),r=Lt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,he(n,e))},enumerable:!0,configurable:!0}}function Wt(e){return{get(){const t=wr(this);if(!Xn(t))return pe(t,e),t.cmpProps[e]},set(t){const n=wr(this);n.cmpProps[e]=t,he(n,e)},enumerable:!0,configurable:!0}}r(Rt.prototype,It),o(Rt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Vt extends fe{constructor(e,t){super((()=>{F(this.debouncing)&&(this.debouncing=!0,se((()=>{if(R(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,R(e.isDirty)&&F(r)&&i>0&&fr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!_(n))throw new Error;return{get(){return n.call(this)},set(t){const n=wr(this);if(r)if(ne.ENABLE_REACTIVE_SETTER){let o=n.oar[e];L(o)&&(o=n.oar[e]=new Vt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Kt(e){return{get(){const t=wr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=wr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,he(n,e))},enumerable:!0,configurable:!0}}const zt=new Map;const qt={apiMethods:oe,apiFields:oe,apiFieldsConfig:oe,wiredMethods:oe,wiredFields:oe,observedFields:oe};const Ut=new Set;function Xt(){return[]}Ut.add(Xt);const Yt=n(null),Jt=n(null);function Qt(e){let t=Yt[e];return L(t)&&(t=Yt[e]=function(){const t=wr(this),{getHook:n}=t;return n(t.component,e)}),t}function Zt(e){let t=Jt[e];return L(t)&&(t=Jt[e]=function(t){const n=wr(this),{setHook:r}=n;t=Lt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function en(e){return function(){const t=wr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function tn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];L(i)?L(t)||t.apply(this,arguments):Ee(this,n)&&(this[i]=o)}}function nn(e,t,i){let l;_(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},h(l,e),h(l.prototype,e.prototype),o(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[ee(n)]=n,u[n]={get:Qt(n),set:Zt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:en(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:tn(s,a)},o(l,"observedAttributes",{get:()=>[...c,...d(s)]}),r(l.prototype,u),l}const rn=nn(Je,s(Ze),[]);function on(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ln(e){return _(e)&&c.call(e,"__circular__")}i(rn),f(rn.prototype);const sn=new WeakMap;function an(e){const{shadowSupportMode:o,renderMode:i}=e,l=function(e){const t=zt.get(e);return L(t)?qt:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(N(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ln(t)){const e=on(t);t=e===t?Rt:e}return t}(e),E=C!==Rt?un(C):dn,k=nn(E.bridge,d(s),d(u)),x=t(n(null),E.props,s),S=t(n(null),E.propsConfig,c),M=t(n(null),E.methods,u),T=t(n(null),E.wire,f,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;L(o)||(A=o);let O=E.renderMode;L(i)||(O="light"===i?0:1);const P=function(e){return Qn.get(e)}(e)||E.template,$=e.name||E.name;r(m,p);return{ctor:e,name:$,wire:T,props:x,propsConfig:S,methods:M,bridge:k,template:P,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function cn(e){if(!_(e))return!1;if(e.prototype instanceof Rt)return!0;let t=e;do{if(ln(t)){const e=on(t);if(e===t)return!0;t=e}if(t===Rt)return!0}while(!N(t)&&(t=a(t)));return!1}function un(e){let t=sn.get(e);if(L(t)){if(ln(e)){return t=un(on(e)),sn.set(e,t),t}if(!cn(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=an(e),sn.set(e,t)}return t}const dn={ctor:Rt,name:Rt.name,props:It,propsConfig:oe,methods:oe,renderMode:1,shadowSupportMode:"reset",wire:oe,bridge:rn,template:Xt,render:Rt.prototype.render};function fn(e,t){e.$shadowToken$=t}function hn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!L(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function pn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function mn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function gn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function wn(e){ye.create(e),$e.create(e)}function yn(e,t){const{children:n,owner:r}=t,o=kn(n)?Ue:Xe;Ar(r,r.owner,H,(()=>{o(t.elm,e.children,n)}),H)}function bn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:r}=e,o=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(N(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",l=o[i]=o[i]||[];L(n.key)||(n.key=`@${i}:${n.key}`),v.call(l,n)}if(F(e.isDirty)){const t=d(r);if(t.length!==d(o).length)return void tr(e);for(let n=0,i=t.length;n<i;n+=1){const i=t[n];if(L(o[i])||r[i].length!==o[i].length)return void tr(e);const l=r[i],s=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(l[t]!==s[t])return void tr(e)}}}(t,r),e.aChildren=r,e.children=ie)}function vn(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 Cn(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 En=new WeakMap;function kn(e){return En.has(e)}const xn=Symbol.iterator,Sn={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);On(r,t),e.elm=r},update:pn,insert:mn,move:mn,remove:gn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},Mn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);On(o,t),e.elm=o},update:pn,insert:mn,move:mn,remove:gn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},Tn={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=R(r)?"http://www.w3.org/2000/svg":void 0,l=o.createElement(t,i);On(l,n),function(e,t){const{owner:n}=t;if(hn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;L(r)||L(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),fn(e,o)}}(l,e),e.elm=l,function(e){ye.create(e),Te.create(e),$e.create(e),je.create(e),Be.create(e),_e.create(e),Ie.create(e)}(e)},update:(e,t)=>{!function(e,t){Te.update(e,t),$e.update(e,t),_e.update(e,t),Ie.update(e,t)}(e,t),yn(e,t)},insert:(e,t,n)=>{mn(e,t,n),vn(e)},move:(e,t,n)=>{mn(e,t,n)},remove:(e,t)=>{gn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];N(r)||r.hook.remove(r,n)}}(e)},hydrate:(e,t)=>{const n=t;e.elm=n;const{context:r}=e.data,o=Boolean(!L(r)&&!L(r.lwc)&&"manual"===r.lwc.dom);if(o){const{props:t}=e.data;L(t)||L(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`,l=e.owner,ge("warn",i,l)))}var i,l;wn(e),o||Cn(e.elm.childNodes,e.children,e.owner)}},An={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=function(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return L(n)?(n=class extends t.HTMLElement{constructor(e){super(),_(e)&&e(this)}},t.defineCustomElement(e,n),n):n}(t,r),i=new o((t=>{!function(e,t){if(!L(yr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(hn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;fn(e,t)}mr(e,un(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));On(i,n),e.elm=i;const l=yr(i);if(l)bn(e,l);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ye.create(e),Te.create(e),$e.create(e),je.create(e),Be.create(e),_e.create(e),Ie.create(e)}(e)},update:(e,t)=>{!function(e,t){Te.update(e,t),$e.update(e,t),_e.update(e,t),Ie.update(e,t)}(e,t);const n=yr(t.elm);n&&bn(t,n),yn(e,t),n&&fr(n)},insert:(e,t,n)=>{mn(e,t,n);const r=yr(e.elm);r&&kr(r),vn(e),r&&function(e){br(e)}(r)},move:(e,t,n)=>{mn(e,t,n)},remove:(e,t)=>{gn(e,t);const n=yr(e.elm);n&&function(e){pr(e)}(n)},hydrate:(e,t)=>{const{sel:n,mode:r,ctor:o,owner:i}=e;mr(t,un(o),{mode:r,owner:i,tagName:n,renderer:i.renderer}),e.elm=t;const l=wr(t);bn(e,l),wn(e),kr(l),0!==l.renderMode&&Cn(e.elm.childNodes,e.children),function(e){!function(e){if(R(e.isDirty)){const t=er(e);e.children=t;Cn(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),vr(e)}}(e)}(l)}};function On(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Or(t).$shadowResolver$))}function Pn(e,t,n){const r=Gn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:Tn,owner:r}}function $n(e,t,n,r=ie){const o=Gn(),{key:i}=n;const l={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:An,ctor:t,owner:o,mode:"open"};return function(e){v.call(Gn().velements,e)}(l),l}const Ln=new Map;let Nn=0;function Rn(e){var t;return t=e,En.set(t,1),e}let Fn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const _n=i({s:function(e,t,n,r){L(r)||L(r[e])||0===r[e].length||(n=r[e]);const o=Gn(),{renderMode:i,shadowMode:l}=o;return 0===i?(Rn(n),n):(1===l&&Rn(n),Pn("slot",t,n))},h:Pn,c:$n,i:function(e,t){const n=[];if(Rn(n),L(e)||null===e)return n;const r=e[xn]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);p(e)?v.apply(n,e):v.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];Rn(n);for(let r=0;r<t;r+=1){const t=e[r];p(t)?v.apply(n,t):v.call(n,t)}return n},t:function(e){return{sel:undefined,data:oe,children:undefined,text:e,elm:undefined,key:undefined,hook:Sn,owner:Gn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Gn();if(N(t))throw new Error;const n=t;return function(t){Jn(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:oe,children:undefined,text:e,elm:undefined,key:undefined,hook:Mn,owner:Gn()}},dc:function(e,t,n,r){if(null==t)return null;if(!cn(t))throw new Error(`Invalid LWC Constructor ${j(t)} for custom element <${e}>.`);let o=Ln.get(t);return L(o)&&(o=Nn++,Ln.set(t,o)),n.key=`dc:${o}:${n.key}`,$n(e,t,n,r)},ti:function(e){return e>0&&!(R(e)||F(e))?0:e},gid:function(e){const t=Gn();if(L(e)||""===e)return e;if(N(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=Gn();if(L(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Fn(e)}});function Dn(e){return`${e}-host`}function Hn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(p(l))v.apply(r,Hn(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(L(o)&&(o=jn(n)),a=N(o)||0===o.shadowMode),v.call(r,l(i,s,a))}}return r}function In(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return L(n)||0===n.length||(o=Hn(n,r,e)),o}function jn(e){let t=e;for(;!N(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Bn(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=y.call(t,"\n");return i=e,_n.h("style",{key:"style",attrs:{type:"text/css"}},[_n.t(i)])}{const r=function(e){const t=jn(e);return N(t)||1!==t.shadowMode?t:null}(e),o=N(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 Wn=!1,Vn=null;function Gn(){return Vn}function Kn(e){Vn=e}function zn(e,t){const r=Wn,o=Vn;let i=[];return Ar(e,e.owner,(()=>{Vn=e}),(()=>{const{component:r,context:o,cmpSlots:l,cmpTemplate:s,tro:a}=e;a.observe((()=>{if(t!==s){if(N(s)||Tr(e),a=t,!Ut.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=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!L(t))for(let e=0;e<t.length;e++)if(R(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:l}=e,{stylesheets:s,stylesheetToken:a}=t,c=1===i&&1===l,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Dn(p)),g&&o.removeAttribute(n,Dn(p)),L(s)||0===s.length||(d=a),L(d)||(u&&(o.getClassList(n).add(Dn(d)),f=!0),c&&(o.setAttribute(n,Dn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const r=In(e,t);o.styleVNode=0===r.length?null:Bn(e,r)}var a;e.velements=[],Wn=!0,i=t.call(void 0,_n,r,l,o.tplCache);const{styleVNode:c}=o;N(c)||S.call(i,c)}))}),(()=>{Wn=r,Vn=o})),i}function qn(e,t){if(!u(t)&&L(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!N(n);)v.call(t,me(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}let Un=null;function Xn(e){return Un===e}function Yn(e,t,n){const{component:r,callHook:o,owner:i}=e;Ar(e,i,H,(()=>{o(r,t,n)}),H)}function Jn(e,t,n,r){const{callHook:o,owner:i}=e;Ar(e,i,H,(()=>{o(n,t,[r])}),H)}const Qn=new Map;function Zn(e){return new fe((()=>{const{isDirty:t}=e;F(t)&&(tr(e),function(e){if(R(e.renderer.ssr)||R(e.isScheduled))return;e.isScheduled=!0,0===Cr.length&&se(Er);v.call(Cr,e)}(e))}))}function er(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Gn();let l,s=!1;return Ar(e,o,(()=>{Kn(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{Kn(i)})),s?zn(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function tr(e){e.isDirty=!0}const nr=new WeakMap;function rr(e,t){if(!_(t))throw new TypeError;let n=nr.get(t);return L(n)&&(n=function(n){Jn(e,t,void 0,n)},nr.set(t,n)),n}const or=n(null),ir=["rendered","connected","disconnected"];function lr(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 sr=0;const ar=new WeakMap;function cr(e,t,n=[]){return t.apply(e,n)}function ur(e,t,n){e[t]=n}function dr(e,t){return e[t]}function fr(e){br(e)}function hr(e){const t=wr(e);1===t.state&&function(e){pr(wr(e))}(e),kr(t),br(t)}function pr(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){F(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=or;t&&lr(e,t);xr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ar(e,e,H,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),H)}(e);const{disconnectedCallback:n}=e.def;L(n)||Yn(e,n)}(e),Sr(e),function(e){const{aChildren:t}=e;Mr(t)}(e)}}function mr(e,t,r){const{mode:o,owner:i,renderer:l,tagName:s}=r,a={elm:e,def:t,idx:sr++,state:0,isScheduled:!1,isDirty:!0,tagName:s,mode:o,owner:i,renderer:l,children:ie,aChildren:ie,velements:ie,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:oe,wiredConnecting:ie,wiredDisconnecting:ie},tro:null,component:null,cmpRoot:null,callHook:cr,setHook:ur,getHook:dr};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(;!N(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=N(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(a),a.tro=Zn(a),function(e,t){const n=Un;let r;Un=e;try{const o=new t;if(Un.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Un=n,!L(r))throw qn(e,r),r}}(a,t.ctor),xr(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],l=Pr.get(i);if(!L(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=Lr(e,t,l),a=l.dynamic.length>0;v.call(r,(()=>{n.connect(),ne.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),v.call(o,(()=>{n.disconnect(),s()}))}}}(a),a}function gr(e,t){ar.set(e,t)}function wr(e){return ar.get(e)}function yr(e){return ar.get(e)}function br(e){if(R(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=kn(t)?Ue:Xe;Ar(e,e,(()=>{}),(()=>{const o=Or(e);r(o,n,t)}),(()=>{}))}1===e.state&&vr(e)}(e,er(e))}}function vr(e){const{renderer:t,def:{renderedCallback:n}}=e;if(R(t.ssr))return;const{rendered:r}=or;r&&lr(e,r),L(n)||Yn(e,n)}let Cr=[];function Er(){const e=Cr.sort(((e,t)=>e.idx-t.idx));Cr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{br(r)}catch(r){throw t+1<n&&(0===Cr.length&&se(Er),S.apply(Cr,k.call(e,t+1))),r}}}function kr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=or;n&&lr(e,n),xr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;L(r)||Yn(e,r)}function xr(e){return s(e.def.wire).length>0}function Sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!L(n)){const e=yr(n);L(e)||pr(e)}}}function Mr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];N(n)||!p(n.children)||L(n.elm)||(L(n.ctor)?Mr(n.children):pr(wr(n.elm)))}}function Tr(e){const{children:t,renderer:n}=e,r=Or(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];N(o)||L(o.elm)||n.remove(o.elm,r)}e.children=ie,Sr(e),e.velements=ie}function Ar(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!L(i)){qn(e,i);const n=N(t)?void 0:function(e){let t=e;for(;!N(t);){if(!L(t.def.errorCallback))return t;t=t.owner}}(t);if(L(n))throw i;Tr(e);Yn(n,n.def.errorCallback,[i,i.wcStack])}}}function Or(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Pr=new Map;class $r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Lr(e,t,n){const{method:r,adapter:i,configCallback:l,dynamic:s}=n,a=L(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,he(e,t))}}(e,t):function(e,t){return n=>{Ar(e,e.owner,H,(()=>{t.call(e.component,n)}),H)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),Ar(e,e,H,(()=>{u=new i(a)}),H);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new fe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,l,(t=>{Ar(e,e,H,(()=>{u.update(t,c)}),H)}));return L(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Rr(r);if(L(o))return;const{elm:i,renderer:l,context:{wiredConnecting:s,wiredDisconnecting:a}}=e;v.call(s,(()=>{const e=new $r(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){v.call(a,e)}});l.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Nr=new Map;function Rr(e){return Nr.get(e)}function Fr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Pr.set(e,o)}function _r(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Pr.set(e,o)}let Dr=!1;var Hr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Hr||(Hr={}));const Ir=/\s+/g;function jr(e){return new Set(e.split(Ir).filter((e=>e.length)))}function Br(e){return Array.from(e).join(" ")}function Wr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Vr(e){return{type:Hr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const Gr=n(null),Kr=new WeakMap;const zr={ssr:!0,isHydrating:()=>!1,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=N(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},remove(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},createElement:Vr,createText:e=>({type:Hr.Text,value:String(e),parent:null}),createComment:e=>({type:Hr.Comment,value:e,parent:null}),nextSibling(e){const{parent:t}=e;if(N(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},attachShadow:(e,t)=>(e.shadowRoot={type:Hr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot),getProperty(e,t){var n,r;if(t in e)return e[t];if(e.type===Hr.Element){const o=ee(t);if(X(o,e.name))return null!==(n=this.getAttribute(e,o))&&void 0!==n&&n;if(J(o)||K(o))return this.getAttribute(e,o);if("input"===e.name&&"value"===t)return null!==(r=this.getAttribute(e,"value"))&&void 0!==r?r:""}},setProperty(e,t,n){if(t in e)return e[t]=n;if(e.type===Hr.Element){const r=ee(t);if("innerHTML"===t)return void(e.children=[{type:Hr.Raw,parent:e,value:n}]);if(X(r,e.name))return!0===n?this.setAttribute(e,r,""):this.removeAttribute(e,r);if(J(r)||K(r))return this.setAttribute(e,r,n);if("input"===e.name&&"value"===r)return N(n)||L(n)?this.removeAttribute(e,"value"):this.setAttribute(e,"value",n)}},setText(e,t){e.type===Hr.Text?e.value=t:e.type===Hr.Element&&(e.children=[{type:Hr.Text,parent:e,value:t}])},getAttribute(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null},setAttribute(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));L(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n},removeAttribute(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))},getClassList(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&N(e.namespace)));return L(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=jr(n.value);e.forEach((e=>r.add(e))),n.value=Br(r)},remove(...e){const n=t(),r=jr(n.value);e.forEach((e=>r.delete(e))),n.value=Br(r)}}},setCSSStyleProperty(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&N(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;L(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},isConnected:e=>!N(e.parent),insertGlobalStylesheet(){},insertStylesheet(){},addEventListener(){},removeEventListener(){},dispatchEvent:Wr("dispatchEvent"),getBoundingClientRect:Wr("getBoundingClientRect"),querySelector:Wr("querySelector"),querySelectorAll:Wr("querySelectorAll"),getElementsByTagName:Wr("getElementsByTagName"),getElementsByClassName:Wr("getElementsByClassName"),getChildren:Wr("getChildren"),getChildNodes:Wr("getChildNodes"),getFirstChild:Wr("getFirstChild"),getFirstElementChild:Wr("getFirstElementChild"),getLastChild:Wr("getLastChild"),getLastElementChild:Wr("getLastElementChild"),defineCustomElement(e,t,n){!function(e,t){if(e!==$.call(e)||Gr[e])throw new TypeError("Invalid Registration");Gr[e]=t,Kr.set(t,e)}(e,t)},getCustomElement:e=>Gr[e],HTMLElement:class{constructor(){const{constructor:e}=this,t=Kr.get(e);if(!t)throw new TypeError("Invalid Construction");return Vr(t)}}},qr={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Ur(e){return e.replace(/["'<>&]/g,(e=>qr[e]))}function Xr(e){return e.map((e=>{switch(e.type){case Hr.Text:return Ur(e.value);case Hr.Comment:return`\x3c!--${Ur(e.value)}--\x3e`;case Hr.Raw:return e.value;case Hr.Element:return Yr(e)}})).join("")}function Yr(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Ur(e.value))}`:e.name)).join(" ")}`:"";var o;const i=Xr(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Xr(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Jr={type:Hr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Rt),f(Rt.prototype),exports.LightningElement=Rt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Rr(e);if(!L(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Nr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{L(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.getComponentDef=function(e){const t=un(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)s[e]={config:i[e]||0,type:"any",attr:ee(e)};const a={};for(const e in l)a[e]=l[e].value;return{ctor:n,name:r,props:s,methods:a}},exports.isComponentConstructor=cn,exports.readonly=function(e){return Lt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<ir.length;++t){const n=ir[t];if(n in e){let t=or[n];L(t)&&(or[n]=t=[]),v.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return Qn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:s,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),h=n(null),p=n(null),m=n(null),g=n(null);let w;if(!L(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=l(r,e),t.config>0){if(L(w))throw new Error;w=Gt(e,w)}else w=L(w)||L(w.get)?Wt(e):Gt(e,w);f[e]=w,o(r,e,w)}if(L(s)||M.call(s,(e=>{if(w=l(r,e),L(w))throw new Error;d[e]=w})),!L(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:s=[]}=a[e];if(w=l(r,e),1===n){if(L(w))throw new Error;h[e]=w,Fr(w,t,i,s)}else w=jt(e),p[e]=w,_r(w,t,i,s),o(r,e,w)}if(!L(c))for(const e in c)w=l(r,e),w=Bt(e),o(r,e,w);if(!L(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(r,t);const n=!L(i)&&t in i,o=!L(c)&&t in c;n||o||(m[t]=Kt(t))}return function(e,t){zt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},exports.registerTemplate=function(e){return Ut.add(e),e},exports.renderComponent=function(e,t,n={}){if(!D(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!_(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||N(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=zr.createElement(e);mr(r,un(t),{mode:"open",owner:null,renderer:zr,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Jr,hr(r),Yr(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(L(te[e])){const n=d(te).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=ne[e];if(!L(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ne,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Dr,"Hooks are already overridden, only one definition is allowed."),Dr=!0,n=t.sanitizeHtmlContent,Fn=n},exports.track=function(e){if(1===arguments.length)return Lt.getProxy(e);throw new Error},exports.unwrap=function(e){return Lt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
9
+ */function We(e){return void 0===e}function Ve(e,t){return e.key===t.key&&e.sel===t.sel}function Ge(e){return null!=e}function Ke(e,t,n){const r={};let o,i,l;for(o=t;o<=n;++o)l=e[o],Ge(l)&&(i=l.key,void 0!==i&&(r[i]=o));return r}function ze(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 qe(e,t,n,r){for(;n<=r;++n){const r=t[n];Ge(r)&&r.hook.remove(r,e)}}function Ue(e,t,n){let r=0,o=0,i=t.length-1,l=t[0],s=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(l)?Ge(s)?Ge(p)?Ge(m)?Ve(l,p)?(Ye(l,p),l=t[++r],p=n[++o]):Ve(s,m)?(Ye(s,m),s=t[--i],m=n[--h]):Ve(l,m)?(Ye(l,m),m.hook.move(l,e,s.owner.renderer.nextSibling(s.elm)),l=t[++r],m=n[--h]):Ve(s,p)?(Ye(s,p),p.hook.move(s,e,l.elm),s=t[--i],p=n[++o]):(void 0===c&&(c=Ke(t,r,i)),u=c[p.key],We(u)?(p.hook.create(p),p.hook.insert(p,e,l.elm),p=n[++o]):(d=t[u],Ge(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,l.elm)):(Ye(d,p),t[u]=void 0,p.hook.move(d,e,l.elm))),p=n[++o])):m=n[--h]:p=n[++o]:s=t[--i]:l=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,ze(e,f,n,o,h)}else qe(e,t,r,i)}function Xe(e,t,n){const r=t.length,o=n.length;if(0===r)return void ze(e,null,n,0,o);if(0===o)return void qe(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],l=t[r];o!==l&&(Ge(l)?Ge(o)?(Ye(l,o),i=o.elm):l.hook.remove(l,e):Ge(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Ye(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Je="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Je.prototype,Ze=n(null);M.call(d(G),(e=>{const t=B(Qe,e);L(t)||(Ze[e]=t)})),M.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=B(Qe,e);L(t)||(Ze[e]=t)}));const{isArray:et}=Array,{prototype:tt,getPrototypeOf:nt,create:rt,defineProperty:ot,isExtensible:it,getOwnPropertyDescriptor:lt,getOwnPropertyNames:st,getOwnPropertySymbols:at,preventExtensions:ct,hasOwnProperty:ut}=Object,{push:dt,concat:ft}=Array.prototype;function ht(e){return void 0===e}function pt(e){return"function"==typeof e}const mt=new WeakMap;function gt(e,t){mt.set(e,t)}const wt=e=>mt.get(e)||e;class yt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ut.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ht(n)||(e.get=this.wrapGetter(n)),ht(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=lt(n,t);if(!ht(r)){const n=this.wrapDescriptor(r);ot(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ft.call(st(t),at(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ht(n)||ut.call(e,n)||ot(e,n,rt(null)),ct(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=ht(n)||ut.call(t,n)?[]:[n];return dt.apply(r,st(t)),dt.apply(r,at(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!it(e)&&(!!it(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return nt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=lt(n,t);if(ht(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},ot(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const bt=new WeakMap,vt=new WeakMap,Ct=new WeakMap,Et=new WeakMap;class kt extends yt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=bt.get(e);if(!ht(t))return t;const n=this,r=function(){return n.wrapValue(e.call(wt(this)))};return bt.set(e,r),Ct.set(r,e),r}wrapSetter(e){const t=vt.get(e);if(!ht(t))return t;const n=function(t){e.call(wt(this),wt(t))};return vt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(ut.call(e,"value"))e.value=wt(e.value);else{const{set:t,get:n}=e;ht(n)||(e.get=this.unwrapGetter(n)),ht(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ct.get(e);if(!ht(t))return t;const n=this,r=function(){return wt(e.call(n.wrapValue(this)))};return bt.set(r,e),Ct.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!ht(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return vt.set(r,e),Et.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&&et(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(it(e)){const{originalTarget:t}=this;if(ct(t),it(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ut.call(r,t)||(ot(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const xt=new WeakMap,St=new WeakMap;class Mt extends yt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=xt.get(e);if(!ht(t))return t;const n=this,r=function(){return n.wrapValue(e.call(wt(this)))};return xt.set(e,r),r}wrapSetter(e){const t=St.get(e);if(!ht(t))return t;const n=function(e){};return St.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function Tt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(et(e))return!0;const t=nt(e);return t===tt||null===t||null===nt(t)}const At=(e,t)=>{},Ot=(e,t)=>{};function Pt(e){return et(e)?[]:{}}const $t=Symbol.for("@@lockerLiveValue"),Lt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=pt(t)?t:Ot,this.valueObserved=pt(n)?n:At,this.valueIsObservable=pt(r)?r:Tt,this.tagPropertyKey=o}getProxy(e){const t=wt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=wt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return wt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ht(t)){const n=new kt(this,e);t=new Proxy(Pt(e),n),gt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ht(t)){const n=new Mt(this,e);t=new Proxy(Pt(e),n),gt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:de,valueMutated:ue,tagPropertyKey:$t});function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!_(n))throw new TypeError;if(!_(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=wr(this);if(!Xn(t))return pe(t,e),n.call(t.elm)},set(t){const n=wr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,he(n,e)),r.call(n.elm,t)}}}const Rt=function(){if(N(Un))throw new ReferenceError("Illegal constructor");const e=Un,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(h(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,gr(i,e),gr(n,e),1===e.renderMode&&Ft(e),this};function Ft(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,l=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=l,gr(l,e)}Rt.prototype={constructor:Rt,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=wr(this);return n(t,e)},addEventListener(e,t,n){const r=wr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,rr(r,t),n)},removeEventListener(e,t,n){const r=wr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,rr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=wr(this);return!N(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=wr(this);return!N(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=wr(this);xe(t,e),n(t,e),ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=wr(this);xe(n,t),r(n,t,e),ke()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=wr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=wr(this);return r(n,t,e)},setAttribute(e,t){const n=wr(this),{elm:r,renderer:{setAttribute:o}}=n;xe(r,e),o(r,e,t),ke()},setAttributeNS(e,t,n){const r=wr(this),{elm:o,renderer:{setAttribute:i}}=r;xe(o,t),i(o,t,n,e),ke()},getBoundingClientRect(){const e=wr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=wr(this);return t(e)},get classList(){const e=wr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return wr(this).cmpRoot},get shadowRoot(){return null},render(){return wr(this).def.template},toString(){return`[object ${wr(this).def.name}]`}};const _t=n(null),Dt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Dt)_t[e]={get(){const e=wr(this),{elm:n,renderer:r}=e;return r[t](n)},configurable:!0,enumerable:!0};const Ht=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Ht)_t[e]={value(t){const n=wr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Rt.prototype,_t);const It=n(null);for(const e in Ze)It[e]=Nt(e,Ze[e]);function jt(e){return{get(){const t=wr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=wr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,he(n,e))},enumerable:!0,configurable:!0}}function Bt(e){return{get(){const t=wr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=wr(this),r=Lt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,he(n,e))},enumerable:!0,configurable:!0}}function Wt(e){return{get(){const t=wr(this);if(!Xn(t))return pe(t,e),t.cmpProps[e]},set(t){const n=wr(this);n.cmpProps[e]=t,he(n,e)},enumerable:!0,configurable:!0}}r(Rt.prototype,It),o(Rt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Vt extends fe{constructor(e,t){super((()=>{F(this.debouncing)&&(this.debouncing=!0,se((()=>{if(R(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,R(e.isDirty)&&F(r)&&i>0&&fr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!_(n))throw new Error;return{get(){return n.call(this)},set(t){const n=wr(this);if(r)if(ne.ENABLE_REACTIVE_SETTER){let o=n.oar[e];L(o)&&(o=n.oar[e]=new Vt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Kt(e){return{get(){const t=wr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=wr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,he(n,e))},enumerable:!0,configurable:!0}}const zt=new Map;const qt={apiMethods:oe,apiFields:oe,apiFieldsConfig:oe,wiredMethods:oe,wiredFields:oe,observedFields:oe};const Ut=new Set;function Xt(){return[]}Ut.add(Xt);const Yt=n(null),Jt=n(null);function Qt(e){let t=Yt[e];return L(t)&&(t=Yt[e]=function(){const t=wr(this),{getHook:n}=t;return n(t.component,e)}),t}function Zt(e){let t=Jt[e];return L(t)&&(t=Jt[e]=function(t){const n=wr(this),{setHook:r}=n;t=Lt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function en(e){return function(){const t=wr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function tn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];L(i)?L(t)||t.apply(this,arguments):Ee(this,n)&&(this[i]=o)}}function nn(e,t,i){let l;_(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},h(l,e),h(l.prototype,e.prototype),o(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[ee(n)]=n,u[n]={get:Qt(n),set:Zt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:en(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:tn(s,a)},o(l,"observedAttributes",{get:()=>[...c,...d(s)]}),r(l.prototype,u),l}const rn=nn(Je,s(Ze),[]);function on(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ln(e){return _(e)&&c.call(e,"__circular__")}i(rn),f(rn.prototype);const sn=new WeakMap;function an(e){const{shadowSupportMode:o,renderMode:i}=e,l=function(e){const t=zt.get(e);return L(t)?qt:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(N(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ln(t)){const e=on(t);t=e===t?Rt:e}return t}(e),E=C!==Rt?un(C):dn,k=nn(E.bridge,d(s),d(u)),x=t(n(null),E.props,s),S=t(n(null),E.propsConfig,c),M=t(n(null),E.methods,u),T=t(n(null),E.wire,f,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;L(o)||(A=o);let O=E.renderMode;L(i)||(O="light"===i?0:1);const P=function(e){return Qn.get(e)}(e)||E.template,$=e.name||E.name;r(m,p);return{ctor:e,name:$,wire:T,props:x,propsConfig:S,methods:M,bridge:k,template:P,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function cn(e){if(!_(e))return!1;if(e.prototype instanceof Rt)return!0;let t=e;do{if(ln(t)){const e=on(t);if(e===t)return!0;t=e}if(t===Rt)return!0}while(!N(t)&&(t=a(t)));return!1}function un(e){let t=sn.get(e);if(L(t)){if(ln(e)){return t=un(on(e)),sn.set(e,t),t}if(!cn(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=an(e),sn.set(e,t)}return t}const dn={ctor:Rt,name:Rt.name,props:It,propsConfig:oe,methods:oe,renderMode:1,shadowSupportMode:"reset",wire:oe,bridge:rn,template:Xt,render:Rt.prototype.render};function fn(e,t){e.$shadowToken$=t}function hn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!L(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function pn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function mn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function gn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function wn(e){ye.create(e),$e.create(e)}function yn(e,t){const{elm:n,children:r}=t;kn(r)?Ue(n,e.children,r):Xe(n,e.children,r)}function bn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:r}=e,o=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(N(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",l=o[i]=o[i]||[];L(n.key)||(n.key=`@${i}:${n.key}`),v.call(l,n)}if(F(e.isDirty)){const t=d(r);if(t.length!==d(o).length)return void tr(e);for(let n=0,i=t.length;n<i;n+=1){const i=t[n];if(L(o[i])||r[i].length!==o[i].length)return void tr(e);const l=r[i],s=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(l[t]!==s[t])return void tr(e)}}}(t,r),e.aChildren=r,e.children=ie)}function vn(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 Cn(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 En=new WeakMap;function kn(e){return En.has(e)}const xn=Symbol.iterator,Sn={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);On(r,t),e.elm=r},update:pn,insert:mn,move:mn,remove:gn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},Mn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);On(o,t),e.elm=o},update:pn,insert:mn,move:mn,remove:gn,hydrate:(e,t)=>{var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}},Tn={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=R(r)?"http://www.w3.org/2000/svg":void 0,l=o.createElement(t,i);On(l,n),function(e,t){const{owner:n}=t;if(hn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;L(r)||L(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),fn(e,o)}}(l,e),e.elm=l,function(e){ye.create(e),Te.create(e),$e.create(e),je.create(e),Be.create(e),_e.create(e),Ie.create(e)}(e)},update:(e,t)=>{!function(e,t){Te.update(e,t),$e.update(e,t),_e.update(e,t),Ie.update(e,t)}(e,t),yn(e,t)},insert:(e,t,n)=>{mn(e,t,n),vn(e)},move:(e,t,n)=>{mn(e,t,n)},remove:(e,t)=>{gn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];N(r)||r.hook.remove(r,n)}}(e)},hydrate:(e,t)=>{const n=t;e.elm=n;const{context:r}=e.data,o=Boolean(!L(r)&&!L(r.lwc)&&"manual"===r.lwc.dom);if(o){const{props:t}=e.data;L(t)||L(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`,l=e.owner,ge("warn",i,l)))}var i,l;wn(e),o||Cn(e.elm.childNodes,e.children,e.owner)}},An={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=function(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return L(n)?(n=class extends t.HTMLElement{constructor(e){super(),_(e)&&e(this)}},t.defineCustomElement(e,n),n):n}(t,r),i=new o((t=>{!function(e,t){if(!L(yr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(hn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;fn(e,t)}mr(e,un(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));On(i,n),e.elm=i;const l=yr(i);if(l)bn(e,l);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ye.create(e),Te.create(e),$e.create(e),je.create(e),Be.create(e),_e.create(e),Ie.create(e)}(e)},update:(e,t)=>{!function(e,t){Te.update(e,t),$e.update(e,t),_e.update(e,t),Ie.update(e,t)}(e,t);const n=yr(t.elm);n&&bn(t,n),yn(e,t),n&&fr(n)},insert:(e,t,n)=>{mn(e,t,n);const r=yr(e.elm);r&&kr(r),vn(e),r&&function(e){br(e)}(r)},move:(e,t,n)=>{mn(e,t,n)},remove:(e,t)=>{gn(e,t);const n=yr(e.elm);n&&function(e){pr(e)}(n)},hydrate:(e,t)=>{const{sel:n,mode:r,ctor:o,owner:i}=e;mr(t,un(o),{mode:r,owner:i,tagName:n,renderer:i.renderer}),e.elm=t;const l=wr(t);bn(e,l),wn(e),kr(l),0!==l.renderMode&&Cn(e.elm.childNodes,e.children),function(e){!function(e){if(R(e.isDirty)){const t=er(e);e.children=t;Cn(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),vr(e)}}(e)}(l)}};function On(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Or(t).$shadowResolver$))}function Pn(e,t,n){const r=Gn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:Tn,owner:r}}function $n(e,t,n,r=ie){const o=Gn(),{key:i}=n;const l={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:An,ctor:t,owner:o,mode:"open"};return function(e){v.call(Gn().velements,e)}(l),l}const Ln=new Map;let Nn=0;function Rn(e){var t;return t=e,En.set(t,1),e}let Fn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const _n=i({s:function(e,t,n,r){L(r)||L(r[e])||0===r[e].length||(n=r[e]);const o=Gn(),{renderMode:i,shadowMode:l}=o;return 0===i?(Rn(n),n):(1===l&&Rn(n),Pn("slot",t,n))},h:Pn,c:$n,i:function(e,t){const n=[];if(Rn(n),L(e)||null===e)return n;const r=e[xn]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);p(e)?v.apply(n,e):v.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];Rn(n);for(let r=0;r<t;r+=1){const t=e[r];p(t)?v.apply(n,t):v.call(n,t)}return n},t:function(e){return{sel:undefined,data:oe,children:undefined,text:e,elm:undefined,key:undefined,hook:Sn,owner:Gn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Gn();if(N(t))throw new Error;const n=t;return function(t){Jn(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:oe,children:undefined,text:e,elm:undefined,key:undefined,hook:Mn,owner:Gn()}},dc:function(e,t,n,r){if(null==t)return null;if(!cn(t))throw new Error(`Invalid LWC Constructor ${j(t)} for custom element <${e}>.`);let o=Ln.get(t);return L(o)&&(o=Nn++,Ln.set(t,o)),n.key=`dc:${o}:${n.key}`,$n(e,t,n,r)},ti:function(e){return e>0&&!(R(e)||F(e))?0:e},gid:function(e){const t=Gn();if(L(e)||""===e)return e;if(N(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=Gn();if(L(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Fn(e)}});function Dn(e){return`${e}-host`}function Hn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(p(l))v.apply(r,Hn(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(L(o)&&(o=jn(n)),a=N(o)||0===o.shadowMode),v.call(r,l(i,s,a))}}return r}function In(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return L(n)||0===n.length||(o=Hn(n,r,e)),o}function jn(e){let t=e;for(;!N(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Bn(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=y.call(t,"\n");return i=e,_n.h("style",{key:"style",attrs:{type:"text/css"}},[_n.t(i)])}{const r=function(e){const t=jn(e);return N(t)||1!==t.shadowMode?t:null}(e),o=N(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 Wn=!1,Vn=null;function Gn(){return Vn}function Kn(e){Vn=e}function zn(e,t){const r=Wn,o=Vn;let i=[];return Ar(e,e.owner,(()=>{Vn=e}),(()=>{const{component:r,context:o,cmpSlots:l,cmpTemplate:s,tro:a}=e;a.observe((()=>{if(t!==s){if(N(s)||Tr(e),a=t,!Ut.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=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!L(t))for(let e=0;e<t.length;e++)if(R(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:l}=e,{stylesheets:s,stylesheetToken:a}=t,c=1===i&&1===l,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Dn(p)),g&&o.removeAttribute(n,Dn(p)),L(s)||0===s.length||(d=a),L(d)||(u&&(o.getClassList(n).add(Dn(d)),f=!0),c&&(o.setAttribute(n,Dn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const r=In(e,t);o.styleVNode=0===r.length?null:Bn(e,r)}var a;e.velements=[],Wn=!0,i=t.call(void 0,_n,r,l,o.tplCache);const{styleVNode:c}=o;N(c)||S.call(i,c)}))}),(()=>{Wn=r,Vn=o})),i}function qn(e,t){if(!u(t)&&L(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!N(n);)v.call(t,me(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}let Un=null;function Xn(e){return Un===e}function Yn(e,t,n){const{component:r,callHook:o,owner:i}=e;Ar(e,i,H,(()=>{o(r,t,n)}),H)}function Jn(e,t,n,r){const{callHook:o,owner:i}=e;Ar(e,i,H,(()=>{o(n,t,[r])}),H)}const Qn=new Map;function Zn(e){return new fe((()=>{const{isDirty:t}=e;F(t)&&(tr(e),function(e){if(R(e.renderer.ssr)||R(e.isScheduled))return;e.isScheduled=!0,0===Cr.length&&se(Er);v.call(Cr,e)}(e))}))}function er(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Gn();let l,s=!1;return Ar(e,o,(()=>{Kn(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{Kn(i)})),s?zn(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function tr(e){e.isDirty=!0}const nr=new WeakMap;function rr(e,t){if(!_(t))throw new TypeError;let n=nr.get(t);return L(n)&&(n=function(n){Jn(e,t,void 0,n)},nr.set(t,n)),n}const or=n(null),ir=["rendered","connected","disconnected"];function lr(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 sr=0;const ar=new WeakMap;function cr(e,t,n=[]){return t.apply(e,n)}function ur(e,t,n){e[t]=n}function dr(e,t){return e[t]}function fr(e){br(e)}function hr(e){const t=wr(e);1===t.state&&function(e){pr(wr(e))}(e),kr(t),br(t)}function pr(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){F(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=or;t&&lr(e,t);xr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ar(e,e,H,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),H)}(e);const{disconnectedCallback:n}=e.def;L(n)||Yn(e,n)}(e),Sr(e),function(e){const{aChildren:t}=e;Mr(t)}(e)}}function mr(e,t,r){const{mode:o,owner:i,renderer:l,tagName:s}=r,a={elm:e,def:t,idx:sr++,state:0,isScheduled:!1,isDirty:!0,tagName:s,mode:o,owner:i,renderer:l,children:ie,aChildren:ie,velements:ie,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:oe,wiredConnecting:ie,wiredDisconnecting:ie},tro:null,component:null,cmpRoot:null,callHook:cr,setHook:ur,getHook:dr};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(;!N(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=N(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(a),a.tro=Zn(a),function(e,t){const n=Un;let r;Un=e;try{const o=new t;if(Un.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Un=n,!L(r))throw qn(e,r),r}}(a,t.ctor),xr(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],l=Pr.get(i);if(!L(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=Lr(e,t,l),a=l.dynamic.length>0;v.call(r,(()=>{n.connect(),ne.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),v.call(o,(()=>{n.disconnect(),s()}))}}}(a),a}function gr(e,t){ar.set(e,t)}function wr(e){return ar.get(e)}function yr(e){return ar.get(e)}function br(e){if(R(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=kn(t)?Ue:Xe;Ar(e,e,(()=>{}),(()=>{const o=Or(e);r(o,n,t)}),(()=>{}))}1===e.state&&vr(e)}(e,er(e))}}function vr(e){const{renderer:t,def:{renderedCallback:n}}=e;if(R(t.ssr))return;const{rendered:r}=or;r&&lr(e,r),L(n)||Yn(e,n)}let Cr=[];function Er(){const e=Cr.sort(((e,t)=>e.idx-t.idx));Cr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{br(r)}catch(r){throw t+1<n&&(0===Cr.length&&se(Er),S.apply(Cr,k.call(e,t+1))),r}}}function kr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=or;n&&lr(e,n),xr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;L(r)||Yn(e,r)}function xr(e){return s(e.def.wire).length>0}function Sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!L(n)){const e=yr(n);L(e)||pr(e)}}}function Mr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];N(n)||!p(n.children)||L(n.elm)||(L(n.ctor)?Mr(n.children):pr(wr(n.elm)))}}function Tr(e){const{children:t,renderer:n}=e,r=Or(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];N(o)||L(o.elm)||n.remove(o.elm,r)}e.children=ie,Sr(e),e.velements=ie}function Ar(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!L(i)){qn(e,i);const n=N(t)?void 0:function(e){let t=e;for(;!N(t);){if(!L(t.def.errorCallback))return t;t=t.owner}}(t);if(L(n))throw i;Tr(e);Yn(n,n.def.errorCallback,[i,i.wcStack])}}}function Or(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Pr=new Map;class $r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Lr(e,t,n){const{method:r,adapter:i,configCallback:l,dynamic:s}=n,a=L(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,he(e,t))}}(e,t):function(e,t){return n=>{Ar(e,e.owner,H,(()=>{t.call(e.component,n)}),H)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),Ar(e,e,H,(()=>{u=new i(a)}),H);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new fe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,l,(t=>{Ar(e,e,H,(()=>{u.update(t,c)}),H)}));return L(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Rr(r);if(L(o))return;const{elm:i,renderer:l,context:{wiredConnecting:s,wiredDisconnecting:a}}=e;v.call(s,(()=>{const e=new $r(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){v.call(a,e)}});l.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Nr=new Map;function Rr(e){return Nr.get(e)}function Fr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Pr.set(e,o)}function _r(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Pr.set(e,o)}let Dr=!1;var Hr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Hr||(Hr={}));const Ir=/\s+/g;function jr(e){return new Set(e.split(Ir).filter((e=>e.length)))}function Br(e){return Array.from(e).join(" ")}function Wr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Vr(e){return{type:Hr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const Gr=n(null),Kr=new WeakMap;const zr={ssr:!0,isHydrating:()=>!1,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=N(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},remove(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},createElement:Vr,createText:e=>({type:Hr.Text,value:String(e),parent:null}),createComment:e=>({type:Hr.Comment,value:e,parent:null}),nextSibling(e){const{parent:t}=e;if(N(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},attachShadow:(e,t)=>(e.shadowRoot={type:Hr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot),getProperty(e,t){var n,r;if(t in e)return e[t];if(e.type===Hr.Element){const o=ee(t);if(X(o,e.name))return null!==(n=this.getAttribute(e,o))&&void 0!==n&&n;if(J(o)||K(o))return this.getAttribute(e,o);if("input"===e.name&&"value"===t)return null!==(r=this.getAttribute(e,"value"))&&void 0!==r?r:""}},setProperty(e,t,n){if(t in e)return e[t]=n;if(e.type===Hr.Element){const r=ee(t);if("innerHTML"===t)return void(e.children=[{type:Hr.Raw,parent:e,value:n}]);if(X(r,e.name))return!0===n?this.setAttribute(e,r,""):this.removeAttribute(e,r);if(J(r)||K(r))return this.setAttribute(e,r,n);if("input"===e.name&&"value"===r)return N(n)||L(n)?this.removeAttribute(e,"value"):this.setAttribute(e,"value",n)}},setText(e,t){e.type===Hr.Text?e.value=t:e.type===Hr.Element&&(e.children=[{type:Hr.Text,parent:e,value:t}])},getAttribute(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null},setAttribute(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));L(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n},removeAttribute(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))},getClassList(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&N(e.namespace)));return L(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=jr(n.value);e.forEach((e=>r.add(e))),n.value=Br(r)},remove(...e){const n=t(),r=jr(n.value);e.forEach((e=>r.delete(e))),n.value=Br(r)}}},setCSSStyleProperty(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&N(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;L(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},isConnected:e=>!N(e.parent),insertGlobalStylesheet(){},insertStylesheet(){},addEventListener(){},removeEventListener(){},dispatchEvent:Wr("dispatchEvent"),getBoundingClientRect:Wr("getBoundingClientRect"),querySelector:Wr("querySelector"),querySelectorAll:Wr("querySelectorAll"),getElementsByTagName:Wr("getElementsByTagName"),getElementsByClassName:Wr("getElementsByClassName"),getChildren:Wr("getChildren"),getChildNodes:Wr("getChildNodes"),getFirstChild:Wr("getFirstChild"),getFirstElementChild:Wr("getFirstElementChild"),getLastChild:Wr("getLastChild"),getLastElementChild:Wr("getLastElementChild"),defineCustomElement(e,t,n){!function(e,t){if(e!==$.call(e)||Gr[e])throw new TypeError("Invalid Registration");Gr[e]=t,Kr.set(t,e)}(e,t)},getCustomElement:e=>Gr[e],HTMLElement:class{constructor(){const{constructor:e}=this,t=Kr.get(e);if(!t)throw new TypeError("Invalid Construction");return Vr(t)}}},qr={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Ur(e){return e.replace(/["'<>&]/g,(e=>qr[e]))}function Xr(e){return e.map((e=>{switch(e.type){case Hr.Text:return Ur(e.value);case Hr.Comment:return`\x3c!--${Ur(e.value)}--\x3e`;case Hr.Raw:return e.value;case Hr.Element:return Yr(e)}})).join("")}function Yr(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Ur(e.value))}`:e.name)).join(" ")}`:"";var o;const i=Xr(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Xr(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Jr={type:Hr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Rt),f(Rt.prototype),exports.LightningElement=Rt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Rr(e);if(!L(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Nr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{L(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.getComponentDef=function(e){const t=un(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)s[e]={config:i[e]||0,type:"any",attr:ee(e)};const a={};for(const e in l)a[e]=l[e].value;return{ctor:n,name:r,props:s,methods:a}},exports.isComponentConstructor=cn,exports.readonly=function(e){return Lt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<ir.length;++t){const n=ir[t];if(n in e){let t=or[n];L(t)&&(or[n]=t=[]),v.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return Qn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:s,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),h=n(null),p=n(null),m=n(null),g=n(null);let w;if(!L(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=l(r,e),t.config>0){if(L(w))throw new Error;w=Gt(e,w)}else w=L(w)||L(w.get)?Wt(e):Gt(e,w);f[e]=w,o(r,e,w)}if(L(s)||M.call(s,(e=>{if(w=l(r,e),L(w))throw new Error;d[e]=w})),!L(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:s=[]}=a[e];if(w=l(r,e),1===n){if(L(w))throw new Error;h[e]=w,Fr(w,t,i,s)}else w=jt(e),p[e]=w,_r(w,t,i,s),o(r,e,w)}if(!L(c))for(const e in c)w=l(r,e),w=Bt(e),o(r,e,w);if(!L(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(r,t);const n=!L(i)&&t in i,o=!L(c)&&t in c;n||o||(m[t]=Kt(t))}return function(e,t){zt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},exports.registerTemplate=function(e){return Ut.add(e),e},exports.renderComponent=function(e,t,n={}){if(!D(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!_(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||N(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=zr.createElement(e);mr(r,un(t),{mode:"open",owner:null,renderer:zr,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Jr,hr(r),Yr(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(L(te[e])){const n=d(te).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=ne[e];if(!L(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ne,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Dr,"Hooks are already overridden, only one definition is allowed."),Dr=!0,n=t.sanitizeHtmlContent,Fn=n},exports.track=function(e){if(1===arguments.length)return Lt.getProxy(e);throw new Error},exports.unwrap=function(e){return Lt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
@@ -335,7 +335,7 @@ function htmlPropertyToAttribute(propName) {
335
335
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
336
336
  return attributeName;
337
337
  }
338
- /** version: 2.6.1 */
338
+ /** version: 2.6.2 */
339
339
 
340
340
  /*
341
341
  * Copyright (c) 2020, salesforce.com, inc.
@@ -348,25 +348,28 @@ function htmlPropertyToAttribute(propName) {
348
348
  * The following constructor might be used in either the constructor or the connectedCallback. In
349
349
  * order to ensure that the component evaluates, we attach those mock constructors to the global
350
350
  * object.
351
+ * Also note that Event is defined in Node 16+, but CustomEvent is not, so they have to be
352
+ * polyfilled separately.
351
353
  */
352
354
 
353
355
 
354
- if (typeof Event !== 'function' && typeof CustomEvent !== 'function') {
356
+ if (typeof Event !== 'function') {
355
357
  class Event {}
356
358
 
359
+ defineProperty(_globalThis, 'Event', {
360
+ value: Event,
361
+ configurable: true,
362
+ writable: true
363
+ });
364
+ }
365
+
366
+ if (typeof CustomEvent !== 'function') {
357
367
  class CustomEvent extends Event {}
358
368
 
359
- defineProperties(_globalThis, {
360
- Event: {
361
- value: Event,
362
- configurable: true,
363
- writable: true
364
- },
365
- CustomEvent: {
366
- value: CustomEvent,
367
- configurable: true,
368
- writable: true
369
- }
369
+ defineProperty(_globalThis, 'CustomEvent', {
370
+ value: CustomEvent,
371
+ configurable: true,
372
+ writable: true
370
373
  });
371
374
  }
372
375
  /**
@@ -455,7 +458,7 @@ function setFeatureFlagForTest(name, value) {
455
458
  setFeatureFlag(name, value);
456
459
  }
457
460
  }
458
- /** version: 2.6.1 */
461
+ /** version: 2.6.2 */
459
462
 
460
463
  /* proxy-compat-disable */
461
464
 
@@ -4546,13 +4549,15 @@ function updateElmHook(oldVnode, vnode) {
4546
4549
 
4547
4550
  function updateChildrenHook(oldVnode, vnode) {
4548
4551
  const {
4549
- children,
4550
- owner
4552
+ elm,
4553
+ children
4551
4554
  } = vnode;
4552
- const fn = hasDynamicChildren(children) ? updateDynamicChildren : updateStaticChildren;
4553
- runWithBoundaryProtection(owner, owner.owner, noop, () => {
4554
- fn(vnode.elm, oldVnode.children, children);
4555
- }, noop);
4555
+
4556
+ if (hasDynamicChildren(children)) {
4557
+ updateDynamicChildren(elm, oldVnode.children, children);
4558
+ } else {
4559
+ updateStaticChildren(elm, oldVnode.children, children);
4560
+ }
4556
4561
  }
4557
4562
 
4558
4563
  function allocateChildrenHook(vnode, vm) {
@@ -7560,7 +7565,7 @@ function setHooks(hooks) {
7560
7565
  hooksAreSet = true;
7561
7566
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7562
7567
  }
7563
- /* version: 2.6.1 */
7568
+ /* version: 2.6.2 */
7564
7569
 
7565
7570
  /*
7566
7571
  * Copyright (c) 2020, salesforce.com, inc.
@@ -8056,6 +8061,6 @@ function renderComponent(tagName, Ctor, props = {}) {
8056
8061
 
8057
8062
  freeze(LightningElement);
8058
8063
  seal(LightningElement.prototype);
8059
- /* version: 2.6.1 */
8064
+ /* version: 2.6.2 */
8060
8065
 
8061
8066
  export { LightningElement, api$1 as api, createContextProvider, getComponentDef, isComponentConstructor, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
@@ -194,7 +194,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
194
194
  // we can't use typeof since it will fail when transpiling.
195
195
 
196
196
  const hasNativeSymbolSupport = /*@__PURE__*/(() => Symbol('x').toString() === 'Symbol(x)')();
197
- /** version: 2.6.1 */
197
+ /** version: 2.6.2 */
198
198
 
199
199
  /*
200
200
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1561,7 +1561,7 @@ if (!_globalThis.lwcRuntimeFlags) {
1561
1561
  }
1562
1562
 
1563
1563
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1564
- /** version: 2.6.1 */
1564
+ /** version: 2.6.2 */
1565
1565
 
1566
1566
  /*
1567
1567
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5722,4 +5722,4 @@ defineProperty(Element.prototype, '$domManual$', {
5722
5722
 
5723
5723
  configurable: true
5724
5724
  });
5725
- /** version: 2.6.1 */
5725
+ /** version: 2.6.2 */
@@ -197,7 +197,7 @@
197
197
  // we can't use typeof since it will fail when transpiling.
198
198
 
199
199
  const hasNativeSymbolSupport = /*@__PURE__*/(() => Symbol('x').toString() === 'Symbol(x)')();
200
- /** version: 2.6.1 */
200
+ /** version: 2.6.2 */
201
201
 
202
202
  /*
203
203
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1564,7 +1564,7 @@
1564
1564
  }
1565
1565
 
1566
1566
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1567
- /** version: 2.6.1 */
1567
+ /** version: 2.6.2 */
1568
1568
 
1569
1569
  /*
1570
1570
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5725,6 +5725,6 @@
5725
5725
 
5726
5726
  configurable: true
5727
5727
  });
5728
- /** version: 2.6.1 */
5728
+ /** version: 2.6.2 */
5729
5729
 
5730
5730
  })();
@@ -125,7 +125,7 @@
125
125
  const KEY__SHADOW_TOKEN = '$shadowToken$';
126
126
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
127
127
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
128
- /** version: 2.6.1 */
128
+ /** version: 2.6.2 */
129
129
 
130
130
  /*
131
131
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1465,7 +1465,7 @@
1465
1465
  }
1466
1466
 
1467
1467
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1468
- /** version: 2.6.1 */
1468
+ /** version: 2.6.2 */
1469
1469
 
1470
1470
  /*
1471
1471
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5533,6 +5533,6 @@
5533
5533
 
5534
5534
  configurable: true
5535
5535
  });
5536
- /** version: 2.6.1 */
5536
+ /** version: 2.6.2 */
5537
5537
 
5538
5538
  })();
@@ -5,9 +5,13 @@
5
5
 
6
6
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
7
 
8
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
9
+
10
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
11
+
8
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9
13
 
10
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
14
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
15
 
12
16
  /* proxy-compat-disable */
13
17
 
@@ -193,7 +197,7 @@
193
197
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
194
198
  return Symbol('x').toString() === 'Symbol(x)';
195
199
  }();
196
- /** version: 2.6.1 */
200
+ /** version: 2.6.2 */
197
201
 
198
202
  /*
199
203
  * Copyright (c) 2018, salesforce.com, inc.
@@ -426,9 +430,9 @@
426
430
  function apply$4() {
427
431
  // IE11 does not have this element definition
428
432
  // we don't care much about the construction phase, just the prototype
429
- var HTMLSlotElement = function HTMLSlotElement() {
433
+ var HTMLSlotElement = /*#__PURE__*/_createClass(function HTMLSlotElement() {
430
434
  _classCallCheck(this, HTMLSlotElement);
431
- }; // prototype inheritance dance
435
+ }); // prototype inheritance dance
432
436
 
433
437
 
434
438
  setPrototypeOf(HTMLSlotElement, HTMLElement.constructor);
@@ -1516,7 +1520,7 @@
1516
1520
  }
1517
1521
 
1518
1522
  var runtimeFlags = _globalThis.lwcRuntimeFlags;
1519
- /** version: 2.6.1 */
1523
+ /** version: 2.6.2 */
1520
1524
 
1521
1525
  /*
1522
1526
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5530,6 +5534,6 @@
5530
5534
  },
5531
5535
  configurable: true
5532
5536
  });
5533
- /** version: 2.6.1 */
5537
+ /** version: 2.6.2 */
5534
5538
 
5535
5539
  })();