lwc 2.24.0 → 2.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +256 -141
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +256 -141
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +243 -128
  5. package/dist/engine-dom/iife/es5/engine-dom.js +44 -12
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +42 -10
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +256 -141
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +243 -128
  11. package/dist/engine-dom/umd/es5/engine-dom.js +44 -12
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +42 -10
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +208 -122
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +208 -122
  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 +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +7 -7
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=b(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function b(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}var C=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),k=Object.assign,S=Object.create,M=Object.defineProperties,T=Object.defineProperty,O=Object.freeze,A=Object.getOwnPropertyDescriptor,N=Object.getOwnPropertyNames,L=Object.getPrototypeOf,x=Object.hasOwnProperty,_=Object.isFrozen,P=Object.keys,R=Object.seal,j=Object.setPrototypeOf,I=Array.isArray,D=Array.prototype,H=D.indexOf,F=D.join,B=D.map,V=D.push,W=D.slice,$=D.splice,U=D.unshift,G=D.forEach,K=String.fromCharCode,z=String.prototype,Y=z.charCodeAt,q=z.replace,X=z.slice,J=z.toLowerCase;function Q(e){return void 0===e}function Z(e){return null===e}function ee(e){return!0===e}function te(e){return!1===e}function ne(e){return"function"==typeof e}function re(e){return"object"===E(e)}function oe(e){return"string"==typeof e}function ae(){}var ie={}.toString;function le(e){return e&&e.toString?I(e)?F.call(B.call(e,le),","):e.toString():"object"===E(e)?ie.call(e):e+""}function ue(e,t){do{var n=A(e,t);if(!Q(n))return n;e=L(e)}while(null!==e)}var ce=["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"],se=function(){var e=S(null),t=S(null);return G.call(ce,(function(n){var r=J.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),fe=se.AriaPropNameToAttrNameMap,de=function(){if("object"===("undefined"==typeof globalThis?"undefined":E(globalThis)))return globalThis;var 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}(),ve="http://www.w3.org/2000/svg",he=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"]]),pe=new Map;function me(e){var t=fe[e];if(!Q(t))return t;var n=he.get(e);if(!Q(n))return n;var r=pe.get(e);if(!Q(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=Y.call(e,a);o+=l>=65&&l<=90?"-"+K(l+32):K(l)}return pe.set(e,o),o}function ye(e){return void 0===A(Element.prototype,e)}var ge=new WeakMap;function be(e){var t=ge.get(e);return void 0===t&&(t={},ge.set(e,t)),t}function we(e,t){return{get:function(){var n=be(this);return x.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);be(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function Ee(e){var t=we(e,fe[e]);Object.defineProperty(Element.prototype,e,t)}for(var Ce=P(fe),ke=0,Se=Ce.length;ke<Se;ke+=1){ye(en=Ce[ke])&&Ee(en)}var Me={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null};de.lwcRuntimeFlags||Object.defineProperty(de,"lwcRuntimeFlags",{value:S(null)});var Te=de.lwcRuntimeFlags;var Oe=[],Ae=R(S(null)),Ne=R([]);function Le(){var e=Oe;Oe=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function xe(e){0===Oe.length&&Promise.resolve().then(Le),V.call(Oe,e)}var _e=/;(?![^(]*\))/g,Pe=/:(.+)/;function Re(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}function je(e,t,n){var r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}var Ie=new WeakMap;var De=null;function He(e,t){var n=Ie.get(e);if(!Q(n)){var r=n[t];if(!Q(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function Fe(e,t){if(null!==De){var n=De,r=function(e){var t=Ie.get(e);if(Q(t)){var n=S(null);t=n,Ie.set(e,n)}return t}(e),o=r[t];if(Q(o))o=[],r[t]=o;else if(o[0]===n)return;-1===H.call(o,n)&&n.link(o)}}var Be=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=De;De=this;try{e()}catch(e){t=Object(e)}finally{if(De=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=H.call(e[n],this);$.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){V.call(e,this),V.call(this.listeners,e)}}]),e}();function Ve(e,t){He(e.component,t)}function We(e,t){Fe(e.component,t)}function $e(e){return new Be(e)}function Ue(e){return"<".concat(J.call(e.tagName),">")}function Ge(e,t){if(!_(t)&&Q(t.wcStack)){var n=function(e){for(var t=[],n=e;!Z(n);)V.call(t,Ue(n)),n=n.owner;return t.reverse().join("\n\t")}(e);T(t,"wcStack",{get:function(){return n}})}}function Ke(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);Q(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Z(e.owner);)V.call(t,n+Ue(e)),e=e.owner,n+="\t";return F.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function ze(e,t){Ke("error",e,t)}function Ye(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function qe(e){return ne(e)&&x.call(e,"__circular__")}var Xe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Je=Xe.prototype;function Qe(e){return"Using the `".concat(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.")}k(S(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:Qe("offsetHeight")},offsetLeft:{readOnly:!0,error:Qe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Qe("offsetTop")},offsetWidth:{readOnly:!0,error:Qe("offsetWidth")},role:{attribute:"role"}});var Ze,et=null;function tt(e,t){return e!==et||t!==Ze}function nt(e,t){et=null,Ze=void 0}function rt(e,t){et=e,Ze=t}var ot=S(null);function at(e,t,n){var r=e.cmpFields;n!==r[t]&&(r[t]=n,Ve(e,t))}G.call(P(fe),(function(e){var t=ue(Je,e);Q(t)||(ot[e]=t)})),G.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=ue(Je,e);Q(t)||(ot[e]=t)}));var it=Array.isArray,lt=Object.prototype,ut=Object.getPrototypeOf,ct=Object.create,st=Object.defineProperty,ft=Object.isExtensible,dt=Object.getOwnPropertyDescriptor,vt=Object.getOwnPropertyNames,ht=Object.getOwnPropertySymbols,pt=Object.preventExtensions,mt=Object.hasOwnProperty,yt=Array.prototype,gt=yt.push,bt=yt.concat;function wt(e){return void 0===e}function Et(e){return"function"==typeof e}var Ct=new WeakMap;function kt(e,t){Ct.set(e,t)}var St=function(e){return Ct.get(e)||e},Mt=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(mt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;wt(n)||(e.get=this.wrapGetter(n)),wt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=dt(n,t);if(!wt(r)){var o=this.wrapDescriptor(r);st(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;bt.call(vt(n),ht(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;wt(r)||mt.call(e,r)||st(e,r,ct(null)),pt(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=wt(n)||mt.call(t,n)?[]:[n];return gt.apply(r,vt(t)),gt.apply(r,ht(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!ft(e)&&(!!ft(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return ut(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=dt(n,t);if(wt(i)){if(t!==a)return;return st(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),Tt=new WeakMap,Ot=new WeakMap,At=new WeakMap,Nt=new WeakMap,Lt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=Tt.get(e);if(!wt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(St(this)))};return Tt.set(e,r),At.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=Ot.get(e);if(!wt(t))return t;var n=function(t){e.call(St(this),St(t))};return Ot.set(e,n),Nt.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(mt.call(e,"value"))e.value=St(e.value);else{var t=e.set,n=e.get;wt(n)||(e.get=this.unwrapGetter(n)),wt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=At.get(e);if(!wt(t))return t;var n=this,r=function(){return St(e.call(n.wrapValue(this)))};return Tt.set(r,e),At.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=Nt.get(e);if(!wt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ot.set(r,e),Nt.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&it(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if(ft(e)){var t=this.originalTarget;if(pt(t),ft(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!mt.call(r,t)||(st(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(Mt),xt=new WeakMap,_t=new WeakMap,Pt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=xt.get(e);if(!wt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(St(this)))};return xt.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=_t.get(e);if(!wt(t))return t;var n=function(e){};return _t.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(Mt);function Rt(e){if(null===e)return!1;if("object"!==E(e))return!1;if(it(e))return!0;var t=ut(e);return t===lt||null===t||null===ut(t)}var jt=function(e,t){},It=function(e,t){};function Dt(e){return it(e)?[]:{}}var Ht=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=Et(n)?n:It,this.valueObserved=Et(r)?r:jt,this.valueIsObservable=Et(o)?o:Rt,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=St(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=St(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return St(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(wt(t)){var n=new Lt(this,e);kt(t=new Proxy(Dt(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(wt(t)){var n=new Pt(this,e);kt(t=new Proxy(Dt(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),Ft=Symbol.for("@@lockerLiveValue"),Bt=new Ht({valueObserved:Fe,valueMutated:He,tagPropertyKey:Ft});function Vt(e){return Bt.getReadOnlyProxy(e)}function Wt(e){return Bt.getProxy(e)}function $t(e){e[Ft]=void 0}function Ut(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!ne(n))throw new TypeError;if(!ne(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=eo(this);if(!Lr(t))return We(t,e),n.call(t.elm)},set:function(t){var n=eo(this);return at(n,e,t),r.call(n.elm,t)}}}var Gt=O(S(null)),Kt=new WeakMap,zt=function(){if(Z(Nr))throw new ReferenceError("Illegal constructor");var e=Nr,t=e.def,n=e.elm,r=t.bridge,o=this;if(j(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return $t(this),Zr(o,e),Zr(n,e),1===e.renderMode?e.renderRoot=Yt(e):e.renderRoot=n,this};function Yt(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=(0,e.renderer.attachShadow)(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Zr(l,e),l}zt.prototype={constructor:zt,dispatchEvent:function(e){var t=eo(this),n=t.elm,r=t.renderer.dispatchEvent;return r(n,e)},addEventListener:function(e,t,n){var r=eo(this),o=r.elm,a=r.renderer.addEventListener;a(o,e,Hr(r,t),n)},removeEventListener:function(e,t,n){var r=eo(this),o=r.elm,a=r.renderer.removeEventListener;a(o,e,Hr(r,t),n)},hasAttribute:function(e){var t=eo(this),n=t.elm;return!Z((0,t.renderer.getAttribute)(n,e))},hasAttributeNS:function(e,t){var n=eo(this),r=n.elm;return!Z((0,n.renderer.getAttribute)(r,t,e))},removeAttribute:function(e){var t=eo(this),n=t.elm,r=t.renderer.removeAttribute;rt(n,e),r(n,e),nt()},removeAttributeNS:function(e,t){var n=eo(this),r=n.elm,o=n.renderer.removeAttribute;rt(r,t),o(r,t,e),nt()},getAttribute:function(e){var t=eo(this),n=t.elm,r=t.renderer.getAttribute;return r(n,e)},getAttributeNS:function(e,t){var n=eo(this),r=n.elm;return(0,n.renderer.getAttribute)(r,t,e)},setAttribute:function(e,t){var n=eo(this),r=n.elm,o=n.renderer.setAttribute;rt(r,e),o(r,e,t),nt()},setAttributeNS:function(e,t,n){var r=eo(this),o=r.elm,a=r.renderer.setAttribute;rt(o,t),a(o,t,n,e),nt()},getBoundingClientRect:function(){var e=eo(this),t=e.elm,n=e.renderer.getBoundingClientRect;return n(t)},get isConnected(){var e=eo(this),t=e.elm;return(0,e.renderer.isConnected)(t)},get classList(){var e=eo(this),t=e.elm;return(0,e.renderer.getClassList)(t)},get template(){return eo(this).shadowRoot},get refs(){var e=eo(this);if(!Er){var t=e.refVNodes,n=e.hasRefVNodes;if(e.cmpTemplate,n){if(Z(t))return Gt;var r=Kt.get(t);if(Q(r)){r=S(null);var o,a=g(P(t));try{for(a.s();!(o=a.n()).done;){var i=o.value;r[i]=t[i].elm}}catch(e){a.e(e)}finally{a.f()}O(r),Kt.set(t,r)}return r}}},set refs(e){T(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){var e=eo(this);return e.renderer.getChildren(e.elm)},get childNodes(){var e=eo(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){var e=eo(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){var e=eo(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){var e=eo(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){var e=eo(this);return e.renderer.getLastElementChild(e.elm)},render:function(){return eo(this).def.template},toString:function(){var e=eo(this);return"[object ".concat(e.def.name,"]")}};for(var qt=S(null),Xt=function(){var e=Qt[Jt];qt[e]={value:function(t){var n=eo(this),r=n.elm;return n.renderer[e](r,t)},configurable:!0,enumerable:!0,writable:!0}},Jt=0,Qt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];Jt<Qt.length;Jt++)Xt();M(zt.prototype,qt);var Zt=S(null);for(var en in ot)Zt[en]=Ut(en,ot[en]);function tn(e){return{get:function(){var t=eo(this);return We(t,e),t.cmpFields[e]},set:function(t){at(eo(this),e,t)},enumerable:!0,configurable:!0}}M(zt.prototype,Zt),T(zt,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var nn=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){te(o.debouncing)&&(o.debouncing=!0,xe((function(){if(ee(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,ee(e.isDirty)&&te(n)&&i>0&&zr(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Be);function rn(e){return{get:function(){var t=eo(this);if(!Lr(t))return We(t,e),t.cmpProps[e]},set:function(t){var n=eo(this);n.cmpProps[e]=t,Ve(n,e)},enumerable:!0,configurable:!0}}function on(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!ne(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=eo(this);if(r)if(Te.ENABLE_REACTIVE_SETTER){var a=o.oar[e];Q(a)&&(a=o.oar[e]=function(e,t){return new nn(e,t)}(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function an(e){return{get:function(){var t=eo(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=eo(this),r=Wt(t);at(n,e,r)},enumerable:!0,configurable:!0}}function ln(e){return{get:function(){var t=eo(this);return We(t,e),t.cmpFields[e]},set:function(t){at(eo(this),e,t)},enumerable:!0,configurable:!0}}var un=new Map;var cn={apiMethods:Ae,apiFields:Ae,apiFieldsConfig:Ae,wiredMethods:Ae,wiredFields:Ae,observedFields:Ae};var sn=new Set;function fn(){return[]}sn.add(fn);var dn=S(null),vn=S(null);function hn(e){var t=dn[e];return Q(t)&&(t=dn[e]=function(){var t=eo(this);return(0,t.getHook)(t.component,e)}),t}function pn(e){var t=vn[e];return Q(t)&&(t=vn[e]=function(t){var n=eo(this),r=n.setHook;t=Vt(t),r(n.component,e,t)}),t}function mn(e){return function(){var t=eo(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function yn(e,t){return function(n,r,o){if(r!==o){var a=e[n];Q(a)?Q(t)||t.apply(this,arguments):tt(this,n)&&(this[a]=o)}}}function gn(e,t,n){var r;ne(e)?r=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(j(r=function(){throw new TypeError("Illegal constructor")},e),j(r.prototype,e.prototype),T(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=S(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=S(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[me(h)]=h,s[h]={get:hn(h),set:pn(h),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var b=n[y];s[b]={value:mn(b),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:yn(o,a)},T(r,"observedAttributes",{get:function(){return[].concat(m(c),m(P(o)))}}),M(r.prototype,s),r}var bn=gn(Xe,N(ot),[]);O(bn),R(bn.prototype);var wn=new WeakMap;function En(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=un.get(e);return Q(t)?cn:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,u=r.wiredMethods,c=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=L(e);if(Z(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(qe(t)){var n=Ye(t);t=n===t?zt:n}return t}(e),y=m!==zt?kn(m):Sn,g=gn(y.bridge,P(o),P(i)),b=k(S(null),y.props,o),w=k(S(null),y.propsConfig,a),E=k(S(null),y.methods,i),C=k(S(null),y.wire,l,u);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var T=y.shadowSupportMode;Q(t)||(T=t);var O=y.renderMode;Q(n)||(O="light"===n?0:1);var A=function(e){return Pr.get(e)}(e)||y.template,N=e.name||y.name;return M(s,c),{ctor:e,name:N,wire:C,props:b,propsConfig:w,methods:E,bridge:g,template:A,renderMode:O,shadowSupportMode:T,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function Cn(e){if(!ne(e))return!1;if(e.prototype instanceof zt)return!0;var t=e;do{if(qe(t)){var n=Ye(t);if(n===t)return!0;t=n}if(t===zt)return!0}while(!Z(t)&&(t=L(t)));return!1}function kn(e){var t=wn.get(e);if(Q(t)){if(qe(e))return t=kn(Ye(e)),wn.set(e,t),t;if(!Cn(e))throw new TypeError("".concat(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=En(e),wn.set(e,t)}return t}var Sn={ctor:zt,name:zt.name,props:Zt,propsConfig:Ae,methods:Ae,renderMode:1,shadowSupportMode:"reset",wire:Ae,bridge:bn,template:fn,render:zt.prototype.render};function Mn(e){return"".concat(e,"-host")}function Tn(e){return vr.h("style",{key:"style",attrs:{type:"text/css"}},[vr.t(e)])}function On(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(I(i))V.apply(o,On(i,t,n));else{var l=i.$scoped$,u=l||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(Q(r)&&(r=Nn(n)),s=Z(r)||0===r.shadowMode),V.call(o,i(u,c,s))}}return o}function An(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return Q(n)||0===n.length||(o=On(n,r,e)),o}function Nn(e){for(var t=e;!Z(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Ln(e){var t=e.cmpTemplate;return e.context.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function xn(e,t){var n=e.renderMode,r=e.shadowMode,o=e.renderer.insertStylesheet;if(1===n&&1===r)for(var a=0;a<t.length;a++)o(t[a]);else{if(e.hydrated)return B.call(t,Tn);for(var i=function(e){var t=Nn(e);return Z(t)||1!==t.shadowMode?t:null}(e),l=Z(i)?void 0:i.shadowRoot,u=0;u<t.length;u++)o(t[u],l)}return null}function _n(e){return!Q(to(e))}function Pn(e,t){var n=t.getCustomElement,r=t.HTMLElementExported,o=t.defineCustomElement,a=n(e=e.toLowerCase());return Q(a)?(a=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),ne(e)&&e(s(r)),r}return p(n)}(r),Te.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a.prototype.connectedCallback=function(){_n(this)&&Yr(this)},a.prototype.disconnectedCallback=function(){_n(this)&&qr(this)}),o(e,a),a):a}function Rn(e){var t=e.type;return 2===t||3===t}function jn(e,t){return e.key===t.key&&e.sel===t.sel}function In(e,t){return"input"===e&&("value"===t||"checked"===t)}function Dn(e,t,n){var r=t.data.props,o=t.data.spread;if(!Q(r)||!Q(o)){var a;if(!Z(e)){a=e.data.props;var i=e.data.spread;if(a===r&&i===o)return;Q(a)&&(a=Ae),Q(i)||(a=k({},a,i))}Q(o)||(r=k({},r,o));var l=Z(e),u=t.elm,c=t.sel,s=n.getProperty,f=n.setProperty;for(var d in r){var v=r[d];!l&&v===(In(c,d)?s(u,d):a[d])&&d in a||f(u,d,v)}}}var Hn=S(null);function Fn(e){if(null==e)return Ae;e=oe(e)?e:e+"";var t=Hn[e];if(t)return t;t=S(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===Y.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),Hn[e]=t,t}function Bn(e,t){var n=e.elm,r=e.data.on;if(!Q(r)){var o=t.addEventListener;for(var a in r){o(n,a,r[a])}}}function Vn(e,t,n,r){var o;o=t,nr.has(o)?or(e,t,n,r):ar(e,t,n,r)}function Wn(e,t,n,r){var o,a;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Xn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){var o=t.children;t.stable?ar(e.children,o,n,r):or(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){var r=t.elm=e.elm;Zn(e,t,n),Vn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){var o=r.nextSibling(e.elm);Kn(e,n,r,!0),Un(t,n,o,r)}else{var a=t.elm=e.elm,i=t.vm=e.vm;Zn(e,t,r),Q(i)||tr(t,i),Vn(e.children,t.children,a,r),Q(i)||zr(i)}}(e,t,n,null!==(a=t.data.renderer)&&void 0!==a?a:r)}}function $n(e,t,n,r){var o,a;switch(e.type){case 0:!function(e,t,n,r){var o=e.owner,a=r.createText,i=e.elm=a(e.text);qn(i,o,r),Jn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){var o=e.owner,a=r.createComment,i=e.elm=a(e.text);qn(i,o,r),Jn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){var o=e.owner,a=r.cloneNode,i=r.isSyntheticShadowDefined,l=e.elm=a(e.fragment,!0);qn(l,o,r);var u=o.renderMode,c=o.shadowMode;i&&(1!==c&&0!==u||(l.$shadowStaticNode$=!0));Jn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){var o=e.children;Gn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){var o=e.sel,a=e.owner,i=e.data.svg,l=r.createElement,u=ee(i)?ve:void 0,c=e.elm=l(o,u);qn(c,a,r),er(c,a,r),function(e,t){var n,r=t.owner,o=t.data.context;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),Zn(null,e,r),Jn(c,t,n,r),Gn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Un(e,t,r,null!==(a=e.data.renderer)&&void 0!==a?a:n)}}function Un(e,t,n,r){var o,a=e.sel,i=e.owner,l=Pn(a,r),u=new l((function(t){o=function(e,t,n){var r=to(e);if(!Q(r))return r;var o=t.sel,a=t.mode,i=t.ctor,l=t.owner;return r=Qr(e,i,n,{mode:a,owner:l,tagName:o})}(t,e,r)}));if(e.elm=u,e.vm=o,qn(u,i,r),er(u,i,r),o)tr(e,o);else if(e.ctor!==l)throw new TypeError("Incorrect Component Constructor");Zn(null,e,r),Jn(u,t,n,r),o&&(Te.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||io(o)),Gn(e.children,u,r,null),o&&function(e){no(e)}(o)}function Gn(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Yn(i)&&$n(i,t,n,r)}}function Kn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.type,a=e.elm,i=e.sel;switch(r&&(5===o?zn(e.children,t,n,r):Qn(a,t,n)),o){case 2:var l="slot"===i&&1===e.owner.shadowMode;zn(e.children,a,n,l);break;case 3:var u=e.vm;Q(u)||Jr(u)}}function zn(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Yn(i)&&Kn(i,t,n,r)}}function Yn(e){return null!=e}function qn(e,t,n){var r=t.renderRoot,o=t.renderMode,a=t.shadowMode;n.isSyntheticShadowDefined&&(1!==a&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function Xn(e,t){var n=e.elm,r=e.text;(0,t.setText)(n,r)}function Jn(e,t,n,r){r.insert(e,t,n)}function Qn(e,t,n){n.remove(e,t)}function Zn(e,t,n){Z(e)&&(Bn(t,n),function(e,t){var n=e.elm,r=e.data.classMap;if(!Q(r)){var o=(0,t.getClassList)(n);for(var a in r)o.add(a)}}(t,n),function(e,t){var n=e.elm,r=e.data.styleDecls;if(!Q(r))for(var o=t.setCSSStyleProperty,a=0;a<r.length;a++){var i=y(r[a],3);o(n,i[0],i[1],i[2])}}(t,n)),function(e,t,n){var r=t.elm,o=t.data.className,a=Z(e)?void 0:e.data.className;if(a!==o){var i,l=(0,n.getClassList)(r),u=Fn(o),c=Fn(a);for(i in c)Q(u[i])&&l.remove(i);for(i in u)Q(c[i])&&l.add(i)}}(e,t,n),function(e,t,n){var r=t.elm,o=t.data.style;if((Z(e)?void 0:e.data.style)!==o){var a=n.setAttribute,i=n.removeAttribute;oe(o)&&""!==o?a(r,"style",o):i(r,"style")}}(e,t,n),function(e,t,n){var r=t.data.attrs;if(!Q(r)){var o=Z(e)?Ae:e.data.attrs;if(o!==r){var a=t.elm,i=n.setAttribute,l=n.removeAttribute;for(var u in r){var c=r[u];o[u]!==c&&(rt(a,u),58===Y.call(u,3)?i(a,u,c,"http://www.w3.org/XML/1998/namespace"):58===Y.call(u,5)?i(a,u,c,"http://www.w3.org/1999/xlink"):Z(c)||Q(c)?l(a,u):i(a,u,c),nt())}}}}(e,t,n),Dn(e,t,n)}function er(e,t,n){var r=Ln(t);Z(r)||(0,n.getClassList)(e).add(r);var o=t.context.stylesheetToken;1!==t.shadowMode||Q(o)||(e.$shadowToken$=o)}function tr(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=S(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Z(l)){var u="";Rn(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];V.call(c,l)}}if(te(e.isDirty)){var s=P(r);if(s.length!==P(o).length)return void Ir(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(Q(o[v])||r[v].length!==o[v].length)return void Ir(e);for(var h=r[v],p=o[v],m=0,y=o[v].length;m<y;m+=1)if(h[m]!==p[m])return void Ir(e)}}}(t,n),e.aChildren=n,e.children=Ne)}var nr=new WeakMap;function rr(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(Yn(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}function or(e,t,n,r){for(var o,a,i,l=0,u=0,c=e.length-1,s=e[0],f=e[c],d=t.length-1,v=d,h=t[0],p=t[v],y=!1;l<=c&&u<=v;)Yn(s)?Yn(f)?Yn(h)?Yn(p)?jn(s,h)?(Wn(s,h,n,r),s=e[++l],h=t[++u]):jn(f,p)?(Wn(f,p,n,r),f=e[--c],p=t[--v]):jn(s,p)?(Wn(s,p,n,r),Jn(s.elm,n,r.nextSibling(f.elm),r),s=e[++l],p=t[--v]):jn(f,h)?(Wn(f,h,n,r),Jn(h.elm,n,s.elm,r),f=e[--c],h=t[++u]):(void 0===o&&(o=rr(e,l,c)),Q(a=o[h.key])?($n(h,n,r,s.elm),h=t[++u]):(Yn(i=e[a])&&(i.sel!==h.sel?$n(h,n,r,s.elm):(Wn(i,h,n,r),y||(y=!0,e=m(e)),e[a]=void 0,Jn(i.elm,n,s.elm,r))),h=t[++u])):p=t[--v]:h=t[++u]:f=e[--c]:s=e[++l];if(l<=c||u<=v)if(l>c){var g,b=v;do{g=t[++b]}while(!Yn(g)&&b<d);Gn(t,n,r,Yn(g)?g.elm:null,u,v+1)}else zn(e,n,r,!0,l,c+1)}function ar(e,t,n,r){var o=e.length,a=t.length;if(0!==o)if(0!==a)for(var i=null,l=a-1;l>=0;l-=1){var u=e[l],c=t[l];c!==u&&(Yn(u)?Yn(c)?(Wn(u,c,n,r),i=c.elm):Kn(u,n,r,!0):Yn(c)&&($n(c,n,r,i),i=c.elm))}else zn(e,n,r,!0);else Gn(t,n,r,null)}var ir=Symbol.iterator;function lr(e){V.call(kr().velements,e)}function ur(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ne,r=kr(),o=t.key,a=t.ref,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return Q(a)||je(r,a,i),i}function cr(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ne,l=kr(),u=n.key,c=n.ref,s={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return lr(s),Q(c)||je(l,c,s),s}function sr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:kr()}}function fr(e){var t;return t=e,nr.set(t,1),e}var dr=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var vr=O({s:function(e,t,n,r){Q(r)||Q(r[e])||0===r[e].length||(n=r[e]);var o=kr(),a=o.renderMode,i=o.shadowMode;return 0===a?(fr(n),n):(1===i&&fr(n),ur("slot",t,n))},h:ur,c:cr,i:function(e,t){var n=[];if(fr(n),Q(e)||null===e)return n;for(var r=e[ir](),o=r.next(),a=0,i=o,l=i.value,u=i.done;!1===u;){var c=t(l,a,0===a,!0===(u=(o=r.next()).done));I(c)?V.apply(n,c):V.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];fr(n);for(var r=0;r<t;r+=1){var o=e[r];I(o)?V.apply(n,o):V.call(n,o)}return n},t:sr,d:function(e){return null==e?"":String(e)},b:function(e){var t=kr();if(Z(t))throw new Error;var n=t;return function(t){_r(n,e,n.component,t)}},k:function(e,t){switch(E(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:kr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ne;if(null==t)return null;if(!Cn(t))throw new Error("Invalid LWC Constructor ".concat(le(t)," for custom element <").concat(e,">."));return cr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[sr("")].concat(m(t),[sr("")]),stable:n,owner:kr()}},ti:function(e){return e>0&&!(ee(e)||te(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:kr()}},gid:function(e){var t=kr();if(Q(e)||""===e)return e;if(Z(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=kr();if(Q(e)||""===e)return e;if(Z(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return dr(e)}}),hr=!1,pr=ae,mr={enableProfiler:function(){hr=!0},disableProfiler:function(){hr=!1},attachDispatcher:function(e){pr=e,this.enableProfiler()},detachDispatcher:function(){var e=pr;return pr=ae,this.disableProfiler(),e}};function yr(e,t){hr&&pr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function gr(e,t){hr&&pr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function br(e,t){hr&&pr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function wr(e,t){hr&&pr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}var Er=!1,Cr=null;function kr(){return Cr}function Sr(e){Cr=e}function Mr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=S(null);return function(){var n=kr(),o=n.context,i=o.hasScopedStyles,l=o.stylesheetToken,u=n.shadowMode,c=n.renderer,s=!Q(l),f=1===u,d=0;if(s&&i&&(d|=1),s&&f&&(d|=2),!Q(a[d]))return a[d];for(var v=i&&s?" "+l:"",h=i&&s?' class="'.concat(l,'"'):"",p=s&&f?" "+l:"",m="",y=0,g=r.length;y<g;y++)switch(r[y]){case 0:m+=t[y]+v;break;case 1:m+=t[y]+h;break;case 2:m+=t[y]+p;break;case 3:m+=t[y]+h+p}return m+=t[t.length-1],a[d]=e(m,c),a[d]}}}var Tr=Mr((function(e,t){return(0,t.createFragment)(e)})),Or=Mr((function(e,t){var n=t.createFragment;return(0,t.getFirstChild)(n("<svg>"+e+"</svg>"))}));function Ar(e,t){var n=Er,r=Cr,o=[];return fo(e,e.owner,(function(){Cr=e,yr(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Z(i)||so(e),u=t,!sn.has(u))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(le(t),"."));e.cmpTemplate=t,r.tplCache=S(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!Q(t))for(var n=0;n<t.length;n++)if(ee(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,u=e.shadowMode,c=e.renderer,s=c.getClassList,f=c.removeAttribute,d=c.setAttribute,v=t.stylesheets,h=t.stylesheetToken,p=1===l&&1===u,m=i.hasScopedStyles,y=i.stylesheetToken,g=i.hasTokenInClass,b=i.hasTokenInAttribute;Q(y)||(g&&s(a).remove(Mn(y)),b&&f(a,Mn(y))),Q(v)||0===v.length||(n=h),Q(n)||(m&&(s(a).add(Mn(n)),r=!0),p&&(d(a,Mn(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=An(e,t);r.styleVNodes=0===l.length?null:xn(e,l)}var u;var c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?S(null):null,e.velements=[],Er=!0,o=t.call(void 0,vr,n,a,r.tplCache);var s=r.styleVNodes;Z(s)||U.apply(o,s)}))}),(function(){Er=n,Cr=r,gr(1,e)})),o}var Nr=null;function Lr(e){return Nr===e}function xr(e,t,n){var r=e.component,o=e.callHook;fo(e,e.owner,ae,(function(){o(r,t,n)}),ae)}function _r(e,t,n,r){var o=e.callHook;fo(e,e.owner,ae,(function(){o(n,t,[r])}),ae)}var Pr=new Map;function Rr(e){return $e((function(){te(e.isDirty)&&(Ir(e),function(e){if(ee(e.isScheduled))return;e.isScheduled=!0,0===oo.length&&xe(ao);V.call(oo,e)}(e))}))}function jr(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=kr(),l=!1;return fo(e,a,(function(){Sr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){Sr(i)})),l?Ar(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Ir(e){e.isDirty=!0}var Dr=new WeakMap;function Hr(e,t){if(!ne(t))throw new TypeError;var n=Dr.get(t);return Q(n)&&(n=function(n){_r(e,t,void 0,n)},Dr.set(t,n)),n}var Fr=S(null),Br=["rendered","connected","disconnected"];function Vr(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}var Wr=0,$r=new WeakMap;function Ur(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function Gr(e,t,n){e[t]=n}function Kr(e,t){return e[t]}function zr(e){no(e)}function Yr(e){var t=eo(e);br(7,t),1===t.state&&qr(e),io(t),no(t),wr(7,t)}function qr(e){Xr(eo(e))}function Xr(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){te(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=Fr.disconnected;t&&Vr(e,t);lo(e)&&function(e){var t=e.context.wiredDisconnecting;fo(e,e,ae,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),ae)}(e);var n=e.def.disconnectedCallback;Q(n)||(yr(5,e),xr(e,n),gr(5,e))}(e),uo(e),function(e){co(e.aChildren)}(e)}}function Jr(e){Xr(e)}function Qr(e,t,n,r){var o=r.mode,a=r.owner,i=r.tagName,l=r.hydrated,u=kn(t),c={elm:e,def:u,idx:Wr++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,refVNodes:null,hasRefVNodes:!1,children:Ne,aChildren:Ne,velements:Ne,cmpProps:S(null),cmpFields:S(null),cmpSlots:S(null),oar:S(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Ae,wiredConnecting:Ne,wiredDisconnecting:Ne},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Ur,setHook:Gr,getHook:Kr,renderer:n};return c.shadowMode=function(e,t){var n,r=e.def,o=t.isSyntheticShadowDefined,a=t.isNativeShadowDefined;if(o)if(0===r.renderMode)n=0;else if(a)if(Te.ENABLE_MIXED_SHADOW_MODE)if("any"===r.shadowSupportMode)n=0;else{var i=function(e){for(var t=e.owner;!Z(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=Z(i)||0!==i.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c,n),c.tro=Rr(c),function(e,t){var n,r=Nr;yr(0,e),Nr=e;try{var o=new t;if(Nr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(gr(0,e),Nr=r,!Q(n))throw Ge(e,n),n}}(c,u.ctor),lo(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=vo.get(i);Q(l)||function(){var t=po(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;V.call(r,(function(){n.connect(),Te.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),V.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function Zr(e,t){$r.set(e,t)}function eo(e){return $r.get(e)}function to(e){return $r.get(e)}function no(e){ee(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children,o=e.renderer;e.children=t,(t.length>0||r.length>0)&&r!==t&&fo(e,e,(function(){yr(2,e)}),(function(){Vn(r,t,n,o)}),(function(){gr(2,e)}));1===e.state&&ro(e)}(e,jr(e))}function ro(e){var t=e.def.renderedCallback,n=Fr.rendered;n&&Vr(e,n),Q(t)||(yr(4,e),xr(e,t),gr(4,e))}var oo=[];function ao(){br(8);var e=oo.sort((function(e,t){return e.idx-t.idx}));oo=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{no(r)}catch(r){throw t+1<n&&(0===oo.length&&xe(ao),U.apply(oo,W.call(e,t+1))),wr(8),r}}wr(8)}function io(e){if(1!==e.state){e.state=1;var t=Fr.connected;t&&Vr(e,t),lo(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;Q(n)||(yr(3,e),xr(e,n),gr(3,e))}}function lo(e){return N(e.def.wire).length>0}function uo(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!Q(r)){var o=to(r);Q(o)||Xr(o)}}}function co(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Z(r)&&!Q(r.elm))switch(r.type){case 2:co(r.children);break;case 3:Xr(eo(r.elm))}}}function so(e){for(var t=e.children,n=e.renderRoot,r=e.renderer.remove,o=0,a=t.length;o<a;o++){var i=t[o];Z(i)||Q(i.elm)||r(i.elm,n)}e.children=Ne,uo(e),e.velements=Ne}function fo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!Q(a)){Ge(e,a);var i=Z(t)?void 0:function(e){for(var t=e;!Z(t);){if(!Q(t.def.errorCallback))return t;t=t.owner}}(t);if(Q(i))throw a;so(e),yr(6,e),xr(i,i.def.errorCallback,[a,a.wcStack]),gr(6,e)}}}var vo=new Map,ho=function(e){i(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),M(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function po(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=Q(a)?function(e,t){return function(n){at(e,t,n)}}(e,t):function(e,t){return function(n){fo(e,e.owner,ae,(function(){t.call(e.component,n)}),ae)}}(e,a);T(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),T(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),fo(e,e,ae,(function(){o=new i(c)}),ae);var s=function(e,t,n){var r=!1,o=$e((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){fo(e,e,ae,(function(){o.update(t,r)}),ae)})),f=s.computeConfigAndUpdate,d=s.ro;return Q(i.contextSchema)||function(e,t,n){var r=yo(t.adapter);if(!Q(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting,u=e.renderer.dispatchEvent;V.call(i,(function(){var e=new ho(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){V.call(l,e)}});u(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var mo=new Map;function yo(e){return mo.get(e)}function go(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};vo.set(e,o)}function bo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};vo.set(e,o)}var wo=!1;function Eo(e){wo=!1,io(e),Co(e),wo&&ze("Hydration completed with errors.",e)}function Co(e){var t=jr(e);e.children=t;var n=e.renderRoot;Mo((0,e.renderer.getFirstChild)(n),t,n,e),ro(e)}function ko(e,t,n){var r,o,a;switch(t.type){case 0:a=function(e,t,n){var r;if(!Ao(t,e,3,n))return To(e,t,n);return(0,n.setText)(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:a=function(e,t,n){var r;if(!Ao(t,e,8,n))return To(e,t,n);return(0,n.setProperty)(e,So,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:a=function(e,t,n){if(!function(e,t,n,r){var o=r.getProperty,a=r.getAttribute;if(3===o(e,"nodeType"))return!!Ao(n,t,3,r)&&o(e,So)===o(t,So);if(8===o(e,"nodeType"))return!!Ao(n,t,8,r)&&o(e,So)===o(t,So);if(!Ao(n,t,1,r))return!1;var i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((function(r){a(e,r)!==a(t,r)&&(ze("Mismatch hydrating element <".concat(o(e,"tagName").toLowerCase(),'>: attribute "').concat(r,'" has different values, expected "').concat(a(e,r),'" but found "').concat(a(t,r),'"'),n.owner),i=!1)})),i}(t.fragment,e,t,n))return To(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:a=function(e,t,n){var r=t.children,o=t.owner;return Mo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:a=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return To(e,t,n);t.elm=e;var r=t.owner,o=t.data.context,a=Boolean(!Q(o)&&!Q(o.lwc)&&"manual"===o.lwc.dom);if(a){var i=t.data.props,l=n.getProperty;Q(i)||Q(i.innerHTML)||l(e,"innerHTML")===i.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Re(i,"innerHTML")}))}if(Oo(t,n),!a){Mo((0,n.getFirstChild)(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:a=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return To(e,t,n);var r=t.sel,o=t.mode,a=t.ctor,i=t.owner,l=Qr(e,a,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,tr(t,l),Oo(t,n),io(l),0!==l.renderMode){Mo((0,n.getFirstChild)(e),t.children,e,l)}return Co(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(a)}var So="nodeValue";function Mo(e,t,n,r){for(var o=e,a=null,i=r.renderer,l=0;l<t.length;l++){var u=t[l];Z(u)||(o?(o=ko(o,u,i),a=u.elm):(wo=!0,$n(u,n,i,a),a=u.elm))}if(o){wo=!0;var c=i.nextSibling;do{var s=o;o=c(o),Qn(s,n,i)}while(o)}}function To(e,t,n){wo=!0;var r=(0,n.getProperty)(e,"parentNode");return $n(t,r,n,e),Qn(e,r,n),t.elm}function Oo(e,t){Bn(e,t),Dn(null,e,t)}function Ao(e,t,n,r){return(0,r.getProperty)(t,"nodeType")===n}function No(e,t,n){var r=n.getProperty;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;var o=function(e,t,n){for(var r=e.data.attrs,o=void 0===r?{}:r,a=!0,i=0,l=Object.entries(o);i<l.length;i++){var u=y(l[i],2),c=u[0],s=u[1];e.owner;var f=(0,n.getAttribute)(t,c);String(s)!==f&&(a=!1)}return a}(e,t,n),i=function(e,t,n){var r=e.data,o=e.owner,i=r.className,l=r.classMap,u=n.getProperty,c=n.getClassList,s=Ln(o);s&&(Q(i)?Q(l)||(l=Object.assign(Object.assign({},l),a({},s,!0))):i="".concat(s," ").concat(i));var f=!0;if(Q(i)||String(i)===u(t,"className")){if(!Q(l)){var d=c(t),v="";for(var h in l)v+=" "+h,d.contains(h)||(f=!1);v.trim(),d.length>P(l).length&&(f=!1)}}else f=!1;return f}(e,t,n),l=function(e,t,n){var r=e.data,o=r.style,a=r.styleDecls,i=(0,n.getAttribute)(t,"style")||"",l=!0;if(Q(o)||o===i){if(!Q(a)){for(var u=function(e){var t,n={},r=g(e.split(_e));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=y(o.split(Pe),2),i=a[0],l=a[1];void 0!==i&&void 0!==l&&(n[i.trim()]=l.trim())}}}catch(e){r.e(e)}finally{r.f()}return n}(i),c=[],s=0,f=a.length;s<f;s++){var d=y(a[s],3),v=d[0],h=d[1],p=d[2];c.push("".concat(v,": ").concat(h+(p?" important!":"")));var m=u[v];Q(m)?l=!1:m.startsWith(h)?p&&!m.endsWith("!important")&&(l=!1):l=!1}P(u).length>a.length&&(l=!1),F.call(c,";")}}else l=!1;return l}(e,t,n);return o&&i&&l}var Lo=!1;var xo=ne(CSSStyleSheet.prototype.replaceSync)&&I(document.adoptedStyleSheets),_o=xo&&A(document.adoptedStyleSheets,"length").writable,Po=!Q(document.documentMode),Ro=new Map;function jo(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Io(e,t,n){var r=function(e,t){var n=t.element;return t.usedElement?Po?jo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Do(e,t){var n=Ro.get(e);return Q(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Ro.set(e,n)),t&&Q(n.stylesheet)?n.stylesheet=function(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&Q(n.element)&&(n.element=jo(e)),n}function Ho(e,t){var n=Do(e,xo),r=n.roots;if(Q(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),xo?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;_o?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):Io(e,t,n)}function Fo(e){var t=function(e){var t,n=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}});function r(e){return void 0===e}if(e.getCustomElement=void 0,e.defineCustomElement=void 0,function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())e.getCustomElement=customElements.get.bind(customElements),e.defineCustomElement=customElements.define.bind(customElements),t=HTMLElement;else{var o=Object.create(null),a=new WeakMap;e.defineCustomElement=function(e,t){if(e!==String.prototype.toLowerCase.call(e)||o[e])throw new TypeError("Invalid Registration");o[e]=t,a.set(t,e)},e.getCustomElement=function(e){return o[e]},(t=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=a.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return Object.setPrototypeOf(r,t.prototype),r}).prototype=HTMLElement.prototype}if(e.createFragment=void 0,"function"==typeof HTMLTemplateElement)e.createFragment=function(e){var t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{var l={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]};e.createFragment=function(e){var t,n=l[(t=e,(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase())];if(!r(n)){var o,a=g(n);try{for(a.s();!(o=a.n()).done;){var i=o.value;e="<".concat(i,">").concat(e,"</").concat(i,">")}}catch(e){a.e(e)}finally{a.f()}}var u=document.implementation.createHTMLDocument("");u.body.innerHTML=e;var c=u.body;if(!r(n))for(var s=0;s<n.length;s++)c=c.firstChild;return c.firstChild}}var c=t;return e.HTMLElementExported=c,e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,t){n.invariant(e instanceof HTMLElement,t)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return r(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,n){return r(n)?e.getAttribute(t):e.getAttributeNS(n,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,n){r(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,n,o){return r(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}var Bo=k(Fo(null),{insertStylesheet:function(e,t){Q(t)?function(e){var t=Do(e,!1);t.global||(t.global=!0,Io(e,document.head,t))}(e):Ho(e,t)},isNativeShadowDefined:de.$isNativeShadowRootDefined$,isSyntheticShadowDefined:x.call(Element.prototype,"$shadowToken$")});function Vo(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Z(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Z(e.firstChild);)e.removeChild(e.firstChild)}function Wo(e,t,n){for(var r=Qr(e,t,Bo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=y(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function $o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!ne(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!re(n)||Z(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(to(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{var r=Wo(e,t,n);Eo(r)}catch(r){console.error("Recovering from error while hydrating: ",r),Vo(e,t),Wo(e,t,n),Yr(e)}}var Uo=new WeakSet;function Go(e){var t=function(e){return kn(e).bridge}(e);return function(t){i(r,t);var n=u(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?($o(s(t),e,{}),Uo.add(s(t))):Qr(s(t),e,Bo,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Uo.has(this)?Uo.delete(this):Yr(this)}},{key:"disconnectedCallback",value:function(){qr(this)}}]),r}(t)}var Ko=Node,zo=new WeakMap,Yo=new WeakMap;function qo(e,t){var n=t.get(e);return Q(n)||n(e),e}if(!Te.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){var Xo=Ko.prototype,Jo=Xo.appendChild,Qo=Xo.insertBefore,Zo=Xo.removeChild,ea=Xo.replaceChild;k(Ko.prototype,{appendChild:function(e){return qo(Jo.call(this,e),zo)},insertBefore:function(e,t){return qo(Qo.call(this,e,t),zo)},removeChild:function(e){return qo(Zo.call(this,e),Yo)},replaceChild:function(e,t){var n=ea.call(this,e,t);return qo(n,Yo),qo(e,zo),n}})}var ta=Node;var na=new Map;T(zt,"CustomElementConstructor",{get:function(){return function(e){if(e===zt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=na.get(e);return Q(t)&&(t=Go(e),na.set(e,t)),t}(this)}}),O(zt),R(zt.prototype),e.LightningElement=zt,e.__unstable__ProfilerControl=mr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=yo(e);if(!Q(t))throw new Error("Adapter already has a context provider.");!function(e,t){mo.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){Q(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!re(t)||Z(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(le(t),'".'));var n=t.is;if(!ne(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=Pn(e,Bo),o=!1,a=new r((function(r){Qr(r,n,Bo,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Te.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(zo.set(r,Yr),Yo.set(r,qr)),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!Q(e)){var n=to(e);Q(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=kn(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var u in o)l[u]={config:a[u]||0,type:"any",attr:me(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=$o,e.isComponentConstructor=Cn,e.isNodeFromTemplate=function(e){if(te(e instanceof ta))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&te(x.call(L(t),"synthetic")))||Bo.isSyntheticShadowDefined&&!Q(e.$shadowResolver$)},e.parseFragment=Tr,e.parseSVGFragment=Or,e.readonly=function(e){return Vt(e)},e.register=function(e){for(var t=0;t<Br.length;++t){var n=Br[t];if(n in e){var r=Fr[n];Q(r)&&(Fr[n]=r=[]),V.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return ne(e)&&Pr.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,u=t.fields,c=S(null),s=S(null),f=S(null),d=S(null),v=S(null),h=S(null);if(!Q(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=A(r,p),m.config>0){if(Q(n))throw new Error;n=on(p,n)}else n=Q(n)||Q(n.get)?rn(p):on(p,n);s[p]=n,T(r,p,n)}if(Q(a)||G.call(a,(function(e){if(Q(n=A(r,e)))throw new Error;c[e]=n})),!Q(i))for(var y in i){var g=i[y],b=g.adapter,w=g.method,E=g.config,C=g.dynamic,k=void 0===C?[]:C;if(n=A(r,y),1===w){if(Q(n))throw new Error;f[y]=n,go(n,b,E,k)}else n=ln(y),d[y]=n,bo(n,b,E,k),T(r,y,n)}if(!Q(l))for(var M in l)n=A(r,M),n=an(M),T(r,M,n);if(!Q(u))for(var O=0,N=u.length;O<N;O++){var L=u[O];n=A(r,L);var x=!Q(o)&&L in o,_=!Q(l)&&L in l;x||_||(v[L]=tn(L))}return function(e,t){un.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return sn.add(e),T(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:function(){var e=this.stylesheetToken;return Q(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=Q(e)?void 0:e.shadowAttribute}}),e},e.renderer=Bo,e.rendererFactory=Fo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(Q(Me[e])){var n=P(Me).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Te[e];Q(r)?T(Te,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;C.isFalse(Lo,"Hooks are already overridden, only one definition is allowed."),Lo=!0,t=e.sanitizeHtmlContent,dr=t},e.swapComponent=function(e,t){if(!Te.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Te.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Te.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Wt(e);throw new Error},e.unwrap=function(e){return Bt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=b(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function b(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}var C=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),k=Object.assign,S=Object.create,M=Object.defineProperties,T=Object.defineProperty,O=Object.freeze,A=Object.getOwnPropertyDescriptor,N=Object.getOwnPropertyNames,L=Object.getPrototypeOf,_=Object.hasOwnProperty,x=Object.isFrozen,P=Object.keys,j=Object.seal,R=Object.setPrototypeOf,D=Array.isArray,I=Array.prototype,H=I.indexOf,F=I.join,B=I.map,V=I.push,W=I.slice,$=I.splice,U=I.unshift,G=I.forEach,K=String.fromCharCode,z=String.prototype,Y=z.charCodeAt,q=z.replace,X=z.slice,J=z.toLowerCase;function Q(e){return void 0===e}function Z(e){return null===e}function ee(e){return!0===e}function te(e){return!1===e}function ne(e){return"function"==typeof e}function re(e){return"object"===E(e)}function oe(e){return"string"==typeof e}function ae(){}var ie={}.toString;function le(e){return e&&e.toString?D(e)?F.call(B.call(e,le),","):e.toString():"object"===E(e)?ie.call(e):e+""}function ue(e,t){do{var n=A(e,t);if(!Q(n))return n;e=L(e)}while(null!==e)}var ce=["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"],se=function(){var e=S(null),t=S(null);return G.call(ce,(function(n){var r=J.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),fe=se.AriaPropNameToAttrNameMap,de=function(){if("object"===("undefined"==typeof globalThis?"undefined":E(globalThis)))return globalThis;var 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}(),ve="http://www.w3.org/2000/svg",he=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"]]),pe=new Map;function me(e){var t=fe[e];if(!Q(t))return t;var n=he.get(e);if(!Q(n))return n;var r=pe.get(e);if(!Q(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=Y.call(e,a);o+=l>=65&&l<=90?"-"+K(l+32):K(l)}return pe.set(e,o),o}function ye(e){return void 0===A(Element.prototype,e)}var ge=new WeakMap;function be(e){var t=ge.get(e);return void 0===t&&(t={},ge.set(e,t)),t}function we(e,t){return{get:function(){var n=be(this);return _.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);be(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function Ee(e){var t=we(e,fe[e]);Object.defineProperty(Element.prototype,e,t)}for(var Ce=P(fe),ke=0,Se=Ce.length;ke<Se;ke+=1){ye(en=Ce[ke])&&Ee(en)}var Me={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null};de.lwcRuntimeFlags||Object.defineProperty(de,"lwcRuntimeFlags",{value:S(null)});var Te=de.lwcRuntimeFlags;var Oe=[],Ae=j(S(null)),Ne=j([]);function Le(){var e=Oe;Oe=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function _e(e){0===Oe.length&&Promise.resolve().then(Le),V.call(Oe,e)}var xe=/;(?![^(]*\))/g,Pe=/:(.+)/;function je(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}function Re(e,t,n){var r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}var De=new WeakMap;var Ie=null;function He(e,t){var n=De.get(e);if(!Q(n)){var r=n[t];if(!Q(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function Fe(e,t){if(null!==Ie){var n=Ie,r=function(e){var t=De.get(e);if(Q(t)){var n=S(null);t=n,De.set(e,n)}return t}(e),o=r[t];if(Q(o))o=[],r[t]=o;else if(o[0]===n)return;-1===H.call(o,n)&&n.link(o)}}var Be=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=Ie;Ie=this;try{e()}catch(e){t=Object(e)}finally{if(Ie=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=H.call(e[n],this);$.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){V.call(e,this),V.call(this.listeners,e)}}]),e}();function Ve(e,t){He(e.component,t)}function We(e,t){Fe(e.component,t)}function $e(e){return new Be(e)}function Ue(e){return"<".concat(J.call(e.tagName),">")}function Ge(e,t){if(!x(t)&&Q(t.wcStack)){var n=function(e){for(var t=[],n=e;!Z(n);)V.call(t,Ue(n)),n=n.owner;return t.reverse().join("\n\t")}(e);T(t,"wcStack",{get:function(){return n}})}}function Ke(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);Q(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Z(e.owner);)V.call(t,n+Ue(e)),e=e.owner,n+="\t";return F.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function ze(e,t){Ke("error",e,t)}function Ye(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function qe(e){return ne(e)&&_.call(e,"__circular__")}var Xe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Je=Xe.prototype;function Qe(e){return"Using the `".concat(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.")}k(S(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:Qe("offsetHeight")},offsetLeft:{readOnly:!0,error:Qe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Qe("offsetTop")},offsetWidth:{readOnly:!0,error:Qe("offsetWidth")},role:{attribute:"role"}});var Ze,et=null;function tt(e,t){return e!==et||t!==Ze}function nt(e,t){et=null,Ze=void 0}function rt(e,t){et=e,Ze=t}var ot=S(null);function at(e,t,n){var r=e.cmpFields;n!==r[t]&&(r[t]=n,Ve(e,t))}G.call(P(fe),(function(e){var t=ue(Je,e);Q(t)||(ot[e]=t)})),G.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=ue(Je,e);Q(t)||(ot[e]=t)}));var it=Array.isArray,lt=Object.prototype,ut=Object.getPrototypeOf,ct=Object.create,st=Object.defineProperty,ft=Object.isExtensible,dt=Object.getOwnPropertyDescriptor,vt=Object.getOwnPropertyNames,ht=Object.getOwnPropertySymbols,pt=Object.preventExtensions,mt=Object.hasOwnProperty,yt=Array.prototype,gt=yt.push,bt=yt.concat;function wt(e){return void 0===e}function Et(e){return"function"==typeof e}var Ct=new WeakMap;function kt(e,t){Ct.set(e,t)}var St=function(e){return Ct.get(e)||e},Mt=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(mt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;wt(n)||(e.get=this.wrapGetter(n)),wt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=dt(n,t);if(!wt(r)){var o=this.wrapDescriptor(r);st(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;bt.call(vt(n),ht(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;wt(r)||mt.call(e,r)||st(e,r,ct(null)),pt(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=wt(n)||mt.call(t,n)?[]:[n];return gt.apply(r,vt(t)),gt.apply(r,ht(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!ft(e)&&(!!ft(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return ut(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=dt(n,t);if(wt(i)){if(t!==a)return;return st(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),Tt=new WeakMap,Ot=new WeakMap,At=new WeakMap,Nt=new WeakMap,Lt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=Tt.get(e);if(!wt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(St(this)))};return Tt.set(e,r),At.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=Ot.get(e);if(!wt(t))return t;var n=function(t){e.call(St(this),St(t))};return Ot.set(e,n),Nt.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(mt.call(e,"value"))e.value=St(e.value);else{var t=e.set,n=e.get;wt(n)||(e.get=this.unwrapGetter(n)),wt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=At.get(e);if(!wt(t))return t;var n=this,r=function(){return St(e.call(n.wrapValue(this)))};return Tt.set(r,e),At.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=Nt.get(e);if(!wt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ot.set(r,e),Nt.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&it(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if(ft(e)){var t=this.originalTarget;if(pt(t),ft(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!mt.call(r,t)||(st(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(Mt),_t=new WeakMap,xt=new WeakMap,Pt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=_t.get(e);if(!wt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(St(this)))};return _t.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=xt.get(e);if(!wt(t))return t;var n=function(e){};return xt.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(Mt);function jt(e){if(null===e)return!1;if("object"!==E(e))return!1;if(it(e))return!0;var t=ut(e);return t===lt||null===t||null===ut(t)}var Rt=function(e,t){},Dt=function(e,t){};function It(e){return it(e)?[]:{}}var Ht=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=Et(n)?n:Dt,this.valueObserved=Et(r)?r:Rt,this.valueIsObservable=Et(o)?o:jt,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=St(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=St(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return St(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(wt(t)){var n=new Lt(this,e);kt(t=new Proxy(It(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(wt(t)){var n=new Pt(this,e);kt(t=new Proxy(It(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),Ft=Symbol.for("@@lockerLiveValue"),Bt=new Ht({valueObserved:Fe,valueMutated:He,tagPropertyKey:Ft});function Vt(e){return Bt.getReadOnlyProxy(e)}function Wt(e){return Bt.getProxy(e)}function $t(e){e[Ft]=void 0}function Ut(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!ne(n))throw new TypeError;if(!ne(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=eo(this);if(!Lr(t))return We(t,e),n.call(t.elm)},set:function(t){var n=eo(this);return at(n,e,t),r.call(n.elm,t)}}}var Gt=O(S(null)),Kt=new WeakMap,zt=function(){if(Z(Nr))throw new ReferenceError("Illegal constructor");var e=Nr,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return $t(this),Zr(o,e),Zr(n,e),1===e.renderMode?e.renderRoot=Yt(e):e.renderRoot=n,this};function Yt(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=(0,e.renderer.attachShadow)(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Zr(l,e),l}zt.prototype={constructor:zt,dispatchEvent:function(e){var t=eo(this),n=t.elm,r=t.renderer.dispatchEvent;return r(n,e)},addEventListener:function(e,t,n){var r=eo(this),o=r.elm,a=r.renderer.addEventListener;a(o,e,Hr(r,t),n)},removeEventListener:function(e,t,n){var r=eo(this),o=r.elm,a=r.renderer.removeEventListener;a(o,e,Hr(r,t),n)},hasAttribute:function(e){var t=eo(this),n=t.elm;return!Z((0,t.renderer.getAttribute)(n,e))},hasAttributeNS:function(e,t){var n=eo(this),r=n.elm;return!Z((0,n.renderer.getAttribute)(r,t,e))},removeAttribute:function(e){var t=eo(this),n=t.elm,r=t.renderer.removeAttribute;rt(n,e),r(n,e),nt()},removeAttributeNS:function(e,t){var n=eo(this),r=n.elm,o=n.renderer.removeAttribute;rt(r,t),o(r,t,e),nt()},getAttribute:function(e){var t=eo(this),n=t.elm,r=t.renderer.getAttribute;return r(n,e)},getAttributeNS:function(e,t){var n=eo(this),r=n.elm;return(0,n.renderer.getAttribute)(r,t,e)},setAttribute:function(e,t){var n=eo(this),r=n.elm,o=n.renderer.setAttribute;rt(r,e),o(r,e,t),nt()},setAttributeNS:function(e,t,n){var r=eo(this),o=r.elm,a=r.renderer.setAttribute;rt(o,t),a(o,t,n,e),nt()},getBoundingClientRect:function(){var e=eo(this),t=e.elm,n=e.renderer.getBoundingClientRect;return n(t)},get isConnected(){var e=eo(this),t=e.elm;return(0,e.renderer.isConnected)(t)},get classList(){var e=eo(this),t=e.elm;return(0,e.renderer.getClassList)(t)},get template(){return eo(this).shadowRoot},get refs(){var e=eo(this);if(!Er){var t=e.refVNodes,n=e.hasRefVNodes;if(e.cmpTemplate,n){if(Z(t))return Gt;var r=Kt.get(t);if(Q(r)){r=S(null);var o,a=g(P(t));try{for(a.s();!(o=a.n()).done;){var i=o.value;r[i]=t[i].elm}}catch(e){a.e(e)}finally{a.f()}O(r),Kt.set(t,r)}return r}}},set refs(e){T(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){var e=eo(this);return e.renderer.getChildren(e.elm)},get childNodes(){var e=eo(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){var e=eo(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){var e=eo(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){var e=eo(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){var e=eo(this);return e.renderer.getLastElementChild(e.elm)},render:function(){return eo(this).def.template},toString:function(){var e=eo(this);return"[object ".concat(e.def.name,"]")}};for(var qt=S(null),Xt=function(){var e=Qt[Jt];qt[e]={value:function(t){var n=eo(this),r=n.elm;return n.renderer[e](r,t)},configurable:!0,enumerable:!0,writable:!0}},Jt=0,Qt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];Jt<Qt.length;Jt++)Xt();M(zt.prototype,qt);var Zt=S(null);for(var en in ot)Zt[en]=Ut(en,ot[en]);function tn(e){return{get:function(){var t=eo(this);return We(t,e),t.cmpFields[e]},set:function(t){at(eo(this),e,t)},enumerable:!0,configurable:!0}}M(zt.prototype,Zt),T(zt,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var nn=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){te(o.debouncing)&&(o.debouncing=!0,_e((function(){if(ee(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,ee(e.isDirty)&&te(n)&&i>0&&zr(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Be);function rn(e){return{get:function(){var t=eo(this);if(!Lr(t))return We(t,e),t.cmpProps[e]},set:function(t){var n=eo(this);n.cmpProps[e]=t,Ve(n,e)},enumerable:!0,configurable:!0}}function on(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!ne(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=eo(this);if(r)if(Te.ENABLE_REACTIVE_SETTER){var a=o.oar[e];Q(a)&&(a=o.oar[e]=function(e,t){return new nn(e,t)}(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function an(e){return{get:function(){var t=eo(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=eo(this),r=Wt(t);at(n,e,r)},enumerable:!0,configurable:!0}}function ln(e){return{get:function(){var t=eo(this);return We(t,e),t.cmpFields[e]},set:function(t){at(eo(this),e,t)},enumerable:!0,configurable:!0}}var un=new Map;var cn={apiMethods:Ae,apiFields:Ae,apiFieldsConfig:Ae,wiredMethods:Ae,wiredFields:Ae,observedFields:Ae};var sn=new Set;function fn(){return[]}sn.add(fn);var dn=S(null),vn=S(null);function hn(e){var t=dn[e];return Q(t)&&(t=dn[e]=function(){var t=eo(this);return(0,t.getHook)(t.component,e)}),t}function pn(e){var t=vn[e];return Q(t)&&(t=vn[e]=function(t){var n=eo(this),r=n.setHook;t=Vt(t),r(n.component,e,t)}),t}function mn(e){return function(){var t=eo(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function yn(e,t){return function(n,r,o){if(r!==o){var a=e[n];Q(a)?Q(t)||t.apply(this,arguments):tt(this,n)&&(this[a]=o)}}}function gn(e,t,n){var r;ne(e)?r=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(R(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),T(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=S(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=S(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[me(h)]=h,s[h]={get:hn(h),set:pn(h),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var b=n[y];s[b]={value:mn(b),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:yn(o,a)},T(r,"observedAttributes",{get:function(){return[].concat(m(c),m(P(o)))}}),M(r.prototype,s),r}var bn=gn(Xe,N(ot),[]);O(bn),j(bn.prototype);var wn=new WeakMap;function En(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=un.get(e);return Q(t)?cn:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,u=r.wiredMethods,c=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=L(e);if(Z(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(qe(t)){var n=Ye(t);t=n===t?zt:n}return t}(e),y=m!==zt?kn(m):Sn,g=gn(y.bridge,P(o),P(i)),b=k(S(null),y.props,o),w=k(S(null),y.propsConfig,a),E=k(S(null),y.methods,i),C=k(S(null),y.wire,l,u);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var T=y.shadowSupportMode;Q(t)||(T=t);var O=y.renderMode;Q(n)||(O="light"===n?0:1);var A=function(e){return Pr.get(e)}(e)||y.template,N=e.name||y.name;return M(s,c),{ctor:e,name:N,wire:C,props:b,propsConfig:w,methods:E,bridge:g,template:A,renderMode:O,shadowSupportMode:T,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function Cn(e){if(!ne(e))return!1;if(e.prototype instanceof zt)return!0;var t=e;do{if(qe(t)){var n=Ye(t);if(n===t)return!0;t=n}if(t===zt)return!0}while(!Z(t)&&(t=L(t)));return!1}function kn(e){var t=wn.get(e);if(Q(t)){if(qe(e))return t=kn(Ye(e)),wn.set(e,t),t;if(!Cn(e))throw new TypeError("".concat(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=En(e),wn.set(e,t)}return t}var Sn={ctor:zt,name:zt.name,props:Zt,propsConfig:Ae,methods:Ae,renderMode:1,shadowSupportMode:"reset",wire:Ae,bridge:bn,template:fn,render:zt.prototype.render};function Mn(e){return"".concat(e,"-host")}function Tn(e){return vr.h("style",{key:"style",attrs:{type:"text/css"}},[vr.t(e)])}function On(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(D(i))V.apply(o,On(i,t,n));else{var l=i.$scoped$;if(Te.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!l&&0===n.renderMode){ze("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}var u=l||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(Q(r)&&(r=Nn(n)),s=Z(r)||0===r.shadowMode),V.call(o,i(u,c,s))}}return o}function An(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return Q(n)||0===n.length||(o=On(n,r,e)),o}function Nn(e){for(var t=e;!Z(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Ln(e){var t=e.cmpTemplate;return e.context.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function _n(e,t){var n=e.renderMode,r=e.shadowMode,o=e.renderer.insertStylesheet;if(1===n&&1===r)for(var a=0;a<t.length;a++)o(t[a]);else{if(e.hydrated)return B.call(t,Tn);for(var i=function(e){var t=Nn(e);return Z(t)||1!==t.shadowMode?t:null}(e),l=Z(i)?void 0:i.shadowRoot,u=0;u<t.length;u++)o(t[u],l)}return null}function xn(e){return!Q(to(e))}function Pn(e,t){var n=t.getCustomElement,r=t.HTMLElementExported,o=t.defineCustomElement,a=n(e=e.toLowerCase());return Q(a)?(a=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),ne(e)&&e(s(r)),r}return p(n)}(r),Te.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a.prototype.connectedCallback=function(){xn(this)&&Yr(this)},a.prototype.disconnectedCallback=function(){xn(this)&&qr(this)}),o(e,a),a):a}function jn(e){var t=e.type;return 2===t||3===t}function Rn(e,t){return e.key===t.key&&e.sel===t.sel}function Dn(e,t){return"input"===e&&("value"===t||"checked"===t)}function In(e,t,n){var r=t.data.props,o=t.data.spread;if(!Q(r)||!Q(o)){var a;if(!Z(e)){a=e.data.props;var i=e.data.spread;if(a===r&&i===o)return;Q(a)&&(a=Ae),Q(i)||(a=k({},a,i))}Q(o)||(r=k({},r,o));var l=Z(e),u=t.elm,c=t.sel,s=n.getProperty,f=n.setProperty;for(var d in r){var v=r[d];!l&&v===(Dn(c,d)?s(u,d):a[d])&&d in a||f(u,d,v)}}}var Hn=S(null);function Fn(e){if(null==e)return Ae;e=oe(e)?e:e+"";var t=Hn[e];if(t)return t;t=S(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===Y.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),Hn[e]=t,t}function Bn(e,t){var n=e.elm,r=e.data.on;if(!Q(r)){var o=t.addEventListener;for(var a in r){o(n,a,r[a])}}}function Vn(e,t,n,r){var o;o=t,nr.has(o)?or(e,t,n,r):ar(e,t,n,r)}function Wn(e,t,n,r){var o,a;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Xn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){var o=t.children;t.stable?ar(e.children,o,n,r):or(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){var r=t.elm=e.elm;Zn(e,t,n),Vn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){var o=r.nextSibling(e.elm);Kn(e,n,r,!0),Un(t,n,o,r)}else{var a=t.elm=e.elm,i=t.vm=e.vm;Zn(e,t,r),Q(i)||tr(t,i),Vn(e.children,t.children,a,r),Q(i)||zr(i)}}(e,t,n,null!==(a=t.data.renderer)&&void 0!==a?a:r)}}function $n(e,t,n,r){var o,a;switch(e.type){case 0:!function(e,t,n,r){var o=e.owner,a=r.createText,i=e.elm=a(e.text);qn(i,o,r),Jn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){var o=e.owner,a=r.createComment,i=e.elm=a(e.text);qn(i,o,r),Jn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){var o=e.owner,a=r.cloneNode,i=r.isSyntheticShadowDefined,l=e.elm=a(e.fragment,!0);qn(l,o,r);var u=o.renderMode,c=o.shadowMode;i&&(1!==c&&0!==u||(l.$shadowStaticNode$=!0));Jn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){var o=e.children;Gn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){var o=e.sel,a=e.owner,i=e.data.svg,l=r.createElement,u=ee(i)?ve:void 0,c=e.elm=l(o,u);qn(c,a,r),er(c,a,r),function(e,t){var n,r=t.owner,o=t.data.context;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),Zn(null,e,r),Jn(c,t,n,r),Gn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Un(e,t,r,null!==(a=e.data.renderer)&&void 0!==a?a:n)}}function Un(e,t,n,r){var o,a=e.sel,i=e.owner,l=Pn(a,r),u=new l((function(t){o=function(e,t,n){var r=to(e);if(!Q(r))return r;var o=t.sel,a=t.mode,i=t.ctor,l=t.owner;return r=Qr(e,i,n,{mode:a,owner:l,tagName:o})}(t,e,r)}));if(e.elm=u,e.vm=o,qn(u,i,r),er(u,i,r),o)tr(e,o);else if(e.ctor!==l)throw new TypeError("Incorrect Component Constructor");Zn(null,e,r),Jn(u,t,n,r),o&&(Te.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||io(o)),Gn(e.children,u,r,null),o&&function(e){no(e)}(o)}function Gn(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Yn(i)&&$n(i,t,n,r)}}function Kn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.type,a=e.elm,i=e.sel;switch(r&&(5===o?zn(e.children,t,n,r):Qn(a,t,n)),o){case 2:var l="slot"===i&&1===e.owner.shadowMode;zn(e.children,a,n,l);break;case 3:var u=e.vm;Q(u)||Jr(u)}}function zn(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Yn(i)&&Kn(i,t,n,r)}}function Yn(e){return null!=e}function qn(e,t,n){var r=t.renderRoot,o=t.renderMode,a=t.shadowMode;n.isSyntheticShadowDefined&&(1!==a&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function Xn(e,t){var n=e.elm,r=e.text;(0,t.setText)(n,r)}function Jn(e,t,n,r){r.insert(e,t,n)}function Qn(e,t,n){n.remove(e,t)}function Zn(e,t,n){Z(e)&&(Bn(t,n),function(e,t){var n=e.elm,r=e.data.classMap;if(!Q(r)){var o=(0,t.getClassList)(n);for(var a in r)o.add(a)}}(t,n),function(e,t){var n=e.elm,r=e.data.styleDecls;if(!Q(r))for(var o=t.setCSSStyleProperty,a=0;a<r.length;a++){var i=y(r[a],3);o(n,i[0],i[1],i[2])}}(t,n)),function(e,t,n){var r=t.elm,o=t.data.className,a=Z(e)?void 0:e.data.className;if(a!==o){var i,l=(0,n.getClassList)(r),u=Fn(o),c=Fn(a);for(i in c)Q(u[i])&&l.remove(i);for(i in u)Q(c[i])&&l.add(i)}}(e,t,n),function(e,t,n){var r=t.elm,o=t.data.style;if((Z(e)?void 0:e.data.style)!==o){var a=n.setAttribute,i=n.removeAttribute;oe(o)&&""!==o?a(r,"style",o):i(r,"style")}}(e,t,n),function(e,t,n){var r=t.data.attrs;if(!Q(r)){var o=Z(e)?Ae:e.data.attrs;if(o!==r){var a=t.elm,i=n.setAttribute,l=n.removeAttribute;for(var u in r){var c=r[u];o[u]!==c&&(rt(a,u),58===Y.call(u,3)?i(a,u,c,"http://www.w3.org/XML/1998/namespace"):58===Y.call(u,5)?i(a,u,c,"http://www.w3.org/1999/xlink"):Z(c)||Q(c)?l(a,u):i(a,u,c),nt())}}}}(e,t,n),In(e,t,n)}function er(e,t,n){var r=Ln(t);Z(r)||(0,n.getClassList)(e).add(r);var o=t.context.stylesheetToken;1!==t.shadowMode||Q(o)||(e.$shadowToken$=o)}function tr(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=S(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Z(l)){var u="";jn(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];V.call(c,l)}}if(te(e.isDirty)){var s=P(r);if(s.length!==P(o).length)return void Dr(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(Q(o[v])||r[v].length!==o[v].length)return void Dr(e);for(var h=r[v],p=o[v],m=0,y=o[v].length;m<y;m+=1)if(h[m]!==p[m])return void Dr(e)}}}(t,n),e.aChildren=n,e.children=Ne)}var nr=new WeakMap;function rr(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(Yn(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}function or(e,t,n,r){for(var o,a,i,l=0,u=0,c=e.length-1,s=e[0],f=e[c],d=t.length-1,v=d,h=t[0],p=t[v],y=!1;l<=c&&u<=v;)Yn(s)?Yn(f)?Yn(h)?Yn(p)?Rn(s,h)?(Wn(s,h,n,r),s=e[++l],h=t[++u]):Rn(f,p)?(Wn(f,p,n,r),f=e[--c],p=t[--v]):Rn(s,p)?(Wn(s,p,n,r),Jn(s.elm,n,r.nextSibling(f.elm),r),s=e[++l],p=t[--v]):Rn(f,h)?(Wn(f,h,n,r),Jn(h.elm,n,s.elm,r),f=e[--c],h=t[++u]):(void 0===o&&(o=rr(e,l,c)),Q(a=o[h.key])?($n(h,n,r,s.elm),h=t[++u]):(Yn(i=e[a])&&(i.sel!==h.sel?$n(h,n,r,s.elm):(Wn(i,h,n,r),y||(y=!0,e=m(e)),e[a]=void 0,Jn(i.elm,n,s.elm,r))),h=t[++u])):p=t[--v]:h=t[++u]:f=e[--c]:s=e[++l];if(l<=c||u<=v)if(l>c){var g,b=v;do{g=t[++b]}while(!Yn(g)&&b<d);Gn(t,n,r,Yn(g)?g.elm:null,u,v+1)}else zn(e,n,r,!0,l,c+1)}function ar(e,t,n,r){var o=e.length,a=t.length;if(0!==o)if(0!==a)for(var i=null,l=a-1;l>=0;l-=1){var u=e[l],c=t[l];c!==u&&(Yn(u)?Yn(c)?(Wn(u,c,n,r),i=c.elm):Kn(u,n,r,!0):Yn(c)&&($n(c,n,r,i),i=c.elm))}else zn(e,n,r,!0);else Gn(t,n,r,null)}var ir=Symbol.iterator;function lr(e){V.call(kr().velements,e)}function ur(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ne,r=kr(),o=t.key,a=t.ref,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return Q(a)||Re(r,a,i),i}function cr(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ne,l=kr(),u=n.key,c=n.ref,s={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return lr(s),Q(c)||Re(l,c,s),s}function sr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:kr()}}function fr(e){var t;return t=e,nr.set(t,1),e}var dr=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var vr=O({s:function(e,t,n,r){Q(r)||Q(r[e])||0===r[e].length||(n=r[e]);var o=kr(),a=o.renderMode,i=o.shadowMode;return 0===a?(fr(n),n):(1===i&&fr(n),ur("slot",t,n))},h:ur,c:cr,i:function(e,t){var n=[];if(fr(n),Q(e)||null===e)return n;for(var r=e[ir](),o=r.next(),a=0,i=o,l=i.value,u=i.done;!1===u;){var c=t(l,a,0===a,!0===(u=(o=r.next()).done));D(c)?V.apply(n,c):V.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];fr(n);for(var r=0;r<t;r+=1){var o=e[r];D(o)?V.apply(n,o):V.call(n,o)}return n},t:sr,d:function(e){return null==e?"":String(e)},b:function(e){var t=kr();if(Z(t))throw new Error;var n=t;return function(t){xr(n,e,n.component,t)}},k:function(e,t){switch(E(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:kr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ne;if(null==t)return null;if(!Cn(t))throw new Error("Invalid LWC Constructor ".concat(le(t)," for custom element <").concat(e,">."));return cr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[sr("")].concat(m(t),[sr("")]),stable:n,owner:kr()}},ti:function(e){return e>0&&!(ee(e)||te(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:kr()}},gid:function(e){var t=kr();if(Q(e)||""===e)return e;if(Z(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=kr();if(Q(e)||""===e)return e;if(Z(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return dr(e)}}),hr=!1,pr=ae,mr={enableProfiler:function(){hr=!0},disableProfiler:function(){hr=!1},attachDispatcher:function(e){pr=e,this.enableProfiler()},detachDispatcher:function(){var e=pr;return pr=ae,this.disableProfiler(),e}};function yr(e,t){hr&&pr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function gr(e,t){hr&&pr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function br(e,t){hr&&pr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function wr(e,t){hr&&pr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}var Er=!1,Cr=null;function kr(){return Cr}function Sr(e){Cr=e}function Mr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=S(null);return function(){var n=kr(),o=n.context,i=o.hasScopedStyles,l=o.stylesheetToken,u=n.shadowMode,c=n.renderer,s=!Q(l),f=1===u,d=0;if(s&&i&&(d|=1),s&&f&&(d|=2),!Q(a[d]))return a[d];for(var v=i&&s?" "+l:"",h=i&&s?' class="'.concat(l,'"'):"",p=s&&f?" "+l:"",m="",y=0,g=r.length;y<g;y++)switch(r[y]){case 0:m+=t[y]+v;break;case 1:m+=t[y]+h;break;case 2:m+=t[y]+p;break;case 3:m+=t[y]+h+p}return m+=t[t.length-1],a[d]=e(m,c),a[d]}}}var Tr=Mr((function(e,t){return(0,t.createFragment)(e)})),Or=Mr((function(e,t){var n=t.createFragment;return(0,t.getFirstChild)(n("<svg>"+e+"</svg>"))}));function Ar(e,t){var n=Er,r=Cr,o=[];return fo(e,e.owner,(function(){Cr=e,yr(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Z(i)||so(e),u=t,!sn.has(u))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(le(t),"."));e.cmpTemplate=t,r.tplCache=S(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!Q(t))for(var n=0;n<t.length;n++)if(ee(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,u=e.shadowMode,c=e.renderer,s=c.getClassList,f=c.removeAttribute,d=c.setAttribute,v=t.stylesheets,h=t.stylesheetToken,p=1===l&&1===u,m=i.hasScopedStyles,y=i.stylesheetToken,g=i.hasTokenInClass,b=i.hasTokenInAttribute;Q(y)||(g&&s(a).remove(Mn(y)),b&&f(a,Mn(y))),Q(v)||0===v.length||(n=h),Q(n)||(m&&(s(a).add(Mn(n)),r=!0),p&&(d(a,Mn(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=An(e,t);r.styleVNodes=0===l.length?null:_n(e,l)}var u;var c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?S(null):null,e.velements=[],Er=!0,o=t.call(void 0,vr,n,a,r.tplCache);var s=r.styleVNodes;Z(s)||U.apply(o,s)}))}),(function(){Er=n,Cr=r,gr(1,e)})),o}var Nr=null;function Lr(e){return Nr===e}function _r(e,t,n){var r=e.component,o=e.callHook;fo(e,e.owner,ae,(function(){o(r,t,n)}),ae)}function xr(e,t,n,r){var o=e.callHook;fo(e,e.owner,ae,(function(){o(n,t,[r])}),ae)}var Pr=new Map;function jr(e){return $e((function(){te(e.isDirty)&&(Dr(e),function(e){if(ee(e.isScheduled))return;e.isScheduled=!0,0===oo.length&&_e(ao);V.call(oo,e)}(e))}))}function Rr(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=kr(),l=!1;return fo(e,a,(function(){Sr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){Sr(i)})),l?Ar(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Dr(e){e.isDirty=!0}var Ir=new WeakMap;function Hr(e,t){if(!ne(t))throw new TypeError;var n=Ir.get(t);return Q(n)&&(n=function(n){xr(e,t,void 0,n)},Ir.set(t,n)),n}var Fr=S(null),Br=["rendered","connected","disconnected"];function Vr(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}var Wr=0,$r=new WeakMap;function Ur(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function Gr(e,t,n){e[t]=n}function Kr(e,t){return e[t]}function zr(e){no(e)}function Yr(e){var t=eo(e);br(7,t),1===t.state&&qr(e),io(t),no(t),wr(7,t)}function qr(e){Xr(eo(e))}function Xr(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){te(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=Fr.disconnected;t&&Vr(e,t);lo(e)&&function(e){var t=e.context.wiredDisconnecting;fo(e,e,ae,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),ae)}(e);var n=e.def.disconnectedCallback;Q(n)||(yr(5,e),_r(e,n),gr(5,e))}(e),uo(e),function(e){co(e.aChildren)}(e)}}function Jr(e){Xr(e)}function Qr(e,t,n,r){var o=r.mode,a=r.owner,i=r.tagName,l=r.hydrated,u=kn(t),c={elm:e,def:u,idx:Wr++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,refVNodes:null,hasRefVNodes:!1,children:Ne,aChildren:Ne,velements:Ne,cmpProps:S(null),cmpFields:S(null),cmpSlots:S(null),oar:S(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Ae,wiredConnecting:Ne,wiredDisconnecting:Ne},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Ur,setHook:Gr,getHook:Kr,renderer:n};return c.shadowMode=function(e,t){var n,r=e.def,o=t.isSyntheticShadowDefined,a=t.isNativeShadowDefined;if(o)if(0===r.renderMode)n=0;else if(a)if(Te.ENABLE_MIXED_SHADOW_MODE)if("any"===r.shadowSupportMode)n=0;else{var i=function(e){for(var t=e.owner;!Z(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=Z(i)||0!==i.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c,n),c.tro=jr(c),function(e,t){var n,r=Nr;yr(0,e),Nr=e;try{var o=new t;if(Nr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(gr(0,e),Nr=r,!Q(n))throw Ge(e,n),n}}(c,u.ctor),lo(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=vo.get(i);Q(l)||function(){var t=po(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;V.call(r,(function(){n.connect(),Te.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),V.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function Zr(e,t){$r.set(e,t)}function eo(e){return $r.get(e)}function to(e){return $r.get(e)}function no(e){ee(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children,o=e.renderer;e.children=t,(t.length>0||r.length>0)&&r!==t&&fo(e,e,(function(){yr(2,e)}),(function(){Vn(r,t,n,o)}),(function(){gr(2,e)}));1===e.state&&ro(e)}(e,Rr(e))}function ro(e){var t=e.def.renderedCallback,n=Fr.rendered;n&&Vr(e,n),Q(t)||(yr(4,e),_r(e,t),gr(4,e))}var oo=[];function ao(){br(8);var e=oo.sort((function(e,t){return e.idx-t.idx}));oo=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{no(r)}catch(r){throw t+1<n&&(0===oo.length&&_e(ao),U.apply(oo,W.call(e,t+1))),wr(8),r}}wr(8)}function io(e){if(1!==e.state){e.state=1;var t=Fr.connected;t&&Vr(e,t),lo(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;Q(n)||(yr(3,e),_r(e,n),gr(3,e))}}function lo(e){return N(e.def.wire).length>0}function uo(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!Q(r)){var o=to(r);Q(o)||Xr(o)}}}function co(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Z(r)&&!Q(r.elm))switch(r.type){case 2:co(r.children);break;case 3:Xr(eo(r.elm))}}}function so(e){for(var t=e.children,n=e.renderRoot,r=e.renderer.remove,o=0,a=t.length;o<a;o++){var i=t[o];Z(i)||Q(i.elm)||r(i.elm,n)}e.children=Ne,uo(e),e.velements=Ne}function fo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!Q(a)){Ge(e,a);var i=Z(t)?void 0:function(e){for(var t=e;!Z(t);){if(!Q(t.def.errorCallback))return t;t=t.owner}}(t);if(Q(i))throw a;so(e),yr(6,e),_r(i,i.def.errorCallback,[a,a.wcStack]),gr(6,e)}}}var vo=new Map,ho=function(e){i(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),M(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function po(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=Q(a)?function(e,t){return function(n){at(e,t,n)}}(e,t):function(e,t){return function(n){fo(e,e.owner,ae,(function(){t.call(e.component,n)}),ae)}}(e,a);T(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),T(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),fo(e,e,ae,(function(){o=new i(c)}),ae);var s=function(e,t,n){var r=!1,o=$e((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){fo(e,e,ae,(function(){o.update(t,r)}),ae)})),f=s.computeConfigAndUpdate,d=s.ro;return Q(i.contextSchema)||function(e,t,n){var r=yo(t.adapter);if(!Q(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting,u=e.renderer.dispatchEvent;V.call(i,(function(){var e=new ho(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){V.call(l,e)}});u(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var mo=new Map;function yo(e){return mo.get(e)}function go(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};vo.set(e,o)}function bo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};vo.set(e,o)}var wo=!1;function Eo(e){wo=!1,io(e),Co(e),wo&&ze("Hydration completed with errors.",e)}function Co(e){var t=Rr(e);e.children=t;var n=e.renderRoot;Mo((0,e.renderer.getFirstChild)(n),t,n,e),ro(e)}function ko(e,t,n){var r,o,a;switch(t.type){case 0:a=function(e,t,n){var r;if(!Ao(t,e,3,n))return To(e,t,n);return(0,n.setText)(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:a=function(e,t,n){var r;if(!Ao(t,e,8,n))return To(e,t,n);return(0,n.setProperty)(e,So,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:a=function(e,t,n){if(!function(e,t,n,r){var o=r.getProperty,a=r.getAttribute;if(3===o(e,"nodeType"))return!!Ao(n,t,3,r)&&o(e,So)===o(t,So);if(8===o(e,"nodeType"))return!!Ao(n,t,8,r)&&o(e,So)===o(t,So);if(!Ao(n,t,1,r))return!1;var i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((function(r){a(e,r)!==a(t,r)&&(ze("Mismatch hydrating element <".concat(o(e,"tagName").toLowerCase(),'>: attribute "').concat(r,'" has different values, expected "').concat(a(e,r),'" but found "').concat(a(t,r),'"'),n.owner),i=!1)})),i}(t.fragment,e,t,n))return To(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:a=function(e,t,n){var r=t.children,o=t.owner;return Mo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:a=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return To(e,t,n);t.elm=e;var r=t.owner,o=t.data.context,a=Boolean(!Q(o)&&!Q(o.lwc)&&"manual"===o.lwc.dom);if(a){var i=t.data.props,l=n.getProperty;Q(i)||Q(i.innerHTML)||l(e,"innerHTML")===i.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:je(i,"innerHTML")}))}if(Oo(t,n),!a){Mo((0,n.getFirstChild)(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:a=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return To(e,t,n);var r=t.sel,o=t.mode,a=t.ctor,i=t.owner,l=Qr(e,a,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,tr(t,l),Oo(t,n),io(l),0!==l.renderMode){Mo((0,n.getFirstChild)(e),t.children,e,l)}return Co(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(a)}var So="nodeValue";function Mo(e,t,n,r){for(var o=e,a=null,i=r.renderer,l=0;l<t.length;l++){var u=t[l];Z(u)||(o?(o=ko(o,u,i),a=u.elm):(wo=!0,$n(u,n,i,a),a=u.elm))}if(o){wo=!0;var c=i.nextSibling;do{var s=o;o=c(o),Qn(s,n,i)}while(o)}}function To(e,t,n){wo=!0;var r=(0,n.getProperty)(e,"parentNode");return $n(t,r,n,e),Qn(e,r,n),t.elm}function Oo(e,t){Bn(e,t),In(null,e,t)}function Ao(e,t,n,r){return(0,r.getProperty)(t,"nodeType")===n}function No(e,t,n){var r=n.getProperty;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;var o=function(e,t,n){for(var r=e.data.attrs,o=void 0===r?{}:r,a=!0,i=0,l=Object.entries(o);i<l.length;i++){var u=y(l[i],2),c=u[0],s=u[1];e.owner;var f=(0,n.getAttribute)(t,c);String(s)!==f&&(a=!1)}return a}(e,t,n),i=function(e,t,n){var r=e.data,o=e.owner,i=r.className,l=r.classMap,u=n.getProperty,c=n.getClassList,s=Ln(o),f=function(e){return 3===e.type}(e)?function(e){var t=kn(e.ctor).template.stylesheetToken;return Q(t)?null:Mn(t)}(e):null;s&&(Q(i)?Q(l)?i=Z(f)?"".concat(s):"".concat(s," ").concat(f):l=Object.assign(Object.assign(Object.assign({},l),a({},s,!0)),Z(f)?{}:a({},f,!0)):i=Z(f)?"".concat(s," ").concat(i):"".concat(s," ").concat(i," ").concat(f));var d=!0;if(Q(i)||String(i)===u(t,"className")){if(!Q(l)){var v=c(t),h="";for(var p in l)h+=" "+p,v.contains(p)||(d=!1);h.trim(),v.length>P(l).length&&(d=!1)}}else d=!1;return d}(e,t,n),l=function(e,t,n){var r=e.data,o=r.style,a=r.styleDecls,i=(0,n.getAttribute)(t,"style")||"",l=!0;if(Q(o)||o===i){if(!Q(a)){for(var u=function(e){var t,n={},r=g(e.split(xe));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=y(o.split(Pe),2),i=a[0],l=a[1];void 0!==i&&void 0!==l&&(n[i.trim()]=l.trim())}}}catch(e){r.e(e)}finally{r.f()}return n}(i),c=[],s=0,f=a.length;s<f;s++){var d=y(a[s],3),v=d[0],h=d[1],p=d[2];c.push("".concat(v,": ").concat(h+(p?" important!":"")));var m=u[v];Q(m)?l=!1:m.startsWith(h)?p&&!m.endsWith("!important")&&(l=!1):l=!1}P(u).length>a.length&&(l=!1),F.call(c,";")}}else l=!1;return l}(e,t,n);return o&&i&&l}var Lo=!1;var _o=ne(CSSStyleSheet.prototype.replaceSync)&&D(document.adoptedStyleSheets),xo=_o&&A(document.adoptedStyleSheets,"length").writable,Po=!Q(document.documentMode),jo=new Map;function Ro(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Do(e,t,n){var r=function(e,t){var n=t.element;return t.usedElement?Po?Ro(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Io(e,t){var n=jo.get(e);return Q(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},jo.set(e,n)),t&&Q(n.stylesheet)?n.stylesheet=function(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&Q(n.element)&&(n.element=Ro(e)),n}function Ho(e,t){var n=Io(e,_o),r=n.roots;if(Q(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),_o?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;xo?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):Do(e,t,n)}function Fo(e){var t=function(e){var t,n=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}});function r(e){return void 0===e}if(e.getCustomElement=void 0,e.defineCustomElement=void 0,function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())e.getCustomElement=customElements.get.bind(customElements),e.defineCustomElement=customElements.define.bind(customElements),t=HTMLElement;else{var o=Object.create(null),a=new WeakMap;e.defineCustomElement=function(e,t){if(e!==String.prototype.toLowerCase.call(e)||o[e])throw new TypeError("Invalid Registration");o[e]=t,a.set(t,e)},e.getCustomElement=function(e){return o[e]},(t=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=a.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return Object.setPrototypeOf(r,t.prototype),r}).prototype=HTMLElement.prototype}if(e.createFragment=void 0,"function"==typeof HTMLTemplateElement)e.createFragment=function(e){var t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{var l={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]};e.createFragment=function(e){var t,n=l[(t=e,(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase())];if(!r(n)){var o,a=g(n);try{for(a.s();!(o=a.n()).done;){var i=o.value;e="<".concat(i,">").concat(e,"</").concat(i,">")}}catch(e){a.e(e)}finally{a.f()}}var u=document.implementation.createHTMLDocument("");u.body.innerHTML=e;var c=u.body;if(!r(n))for(var s=0;s<n.length;s++)c=c.firstChild;return c.firstChild}}var c=t;return e.HTMLElementExported=c,e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,t){n.invariant(e instanceof HTMLElement,t)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return r(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,n){return r(n)?e.getAttribute(t):e.getAttributeNS(n,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,n){r(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,n,o){return r(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}var Bo=k(Fo(null),{insertStylesheet:function(e,t){Q(t)?function(e){var t=Io(e,!1);t.global||(t.global=!0,Do(e,document.head,t))}(e):Ho(e,t)},isNativeShadowDefined:de.$isNativeShadowRootDefined$,isSyntheticShadowDefined:_.call(Element.prototype,"$shadowToken$")});function Vo(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Z(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Z(e.firstChild);)e.removeChild(e.firstChild)}function Wo(e,t,n){for(var r=Qr(e,t,Bo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=y(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function $o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!ne(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!re(n)||Z(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(to(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{var r=Wo(e,t,n);Eo(r)}catch(r){console.error("Recovering from error while hydrating: ",r),Vo(e,t),Wo(e,t,n),Yr(e)}}var Uo=new WeakSet;function Go(e){var t=function(e){return kn(e).bridge}(e);return function(t){i(r,t);var n=u(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?($o(s(t),e,{}),Uo.add(s(t))):Qr(s(t),e,Bo,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Uo.has(this)?Uo.delete(this):Yr(this)}},{key:"disconnectedCallback",value:function(){qr(this)}}]),r}(t)}var Ko=Node,zo=new WeakMap,Yo=new WeakMap;function qo(e,t){var n=t.get(e);return Q(n)||n(e),e}if(!Te.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){var Xo=Ko.prototype,Jo=Xo.appendChild,Qo=Xo.insertBefore,Zo=Xo.removeChild,ea=Xo.replaceChild;k(Ko.prototype,{appendChild:function(e){return qo(Jo.call(this,e),zo)},insertBefore:function(e,t){return qo(Qo.call(this,e,t),zo)},removeChild:function(e){return qo(Zo.call(this,e),Yo)},replaceChild:function(e,t){var n=ea.call(this,e,t);return qo(n,Yo),qo(e,zo),n}})}var ta=Node;var na=new Map;T(zt,"CustomElementConstructor",{get:function(){return function(e){if(e===zt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=na.get(e);return Q(t)&&(t=Go(e),na.set(e,t)),t}(this)}}),O(zt),j(zt.prototype),e.LightningElement=zt,e.__unstable__ProfilerControl=mr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=yo(e);if(!Q(t))throw new Error("Adapter already has a context provider.");!function(e,t){mo.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){Q(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!re(t)||Z(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(le(t),'".'));var n=t.is;if(!ne(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=Pn(e,Bo),o=!1,a=new r((function(r){Qr(r,n,Bo,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Te.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(zo.set(r,Yr),Yo.set(r,qr)),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!Q(e)){var n=to(e);Q(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=kn(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var u in o)l[u]={config:a[u]||0,type:"any",attr:me(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=$o,e.isComponentConstructor=Cn,e.isNodeFromTemplate=function(e){if(te(e instanceof ta))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&te(_.call(L(t),"synthetic")))||Bo.isSyntheticShadowDefined&&!Q(e.$shadowResolver$)},e.parseFragment=Tr,e.parseSVGFragment=Or,e.readonly=function(e){return Vt(e)},e.register=function(e){for(var t=0;t<Br.length;++t){var n=Br[t];if(n in e){var r=Fr[n];Q(r)&&(Fr[n]=r=[]),V.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return ne(e)&&Pr.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,u=t.fields,c=S(null),s=S(null),f=S(null),d=S(null),v=S(null),h=S(null);if(!Q(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=A(r,p),m.config>0){if(Q(n))throw new Error;n=on(p,n)}else n=Q(n)||Q(n.get)?rn(p):on(p,n);s[p]=n,T(r,p,n)}if(Q(a)||G.call(a,(function(e){if(Q(n=A(r,e)))throw new Error;c[e]=n})),!Q(i))for(var y in i){var g=i[y],b=g.adapter,w=g.method,E=g.config,C=g.dynamic,k=void 0===C?[]:C;if(n=A(r,y),1===w){if(Q(n))throw new Error;f[y]=n,go(n,b,E,k)}else n=ln(y),d[y]=n,bo(n,b,E,k),T(r,y,n)}if(!Q(l))for(var M in l)n=A(r,M),n=an(M),T(r,M,n);if(!Q(u))for(var O=0,N=u.length;O<N;O++){var L=u[O];n=A(r,L);var _=!Q(o)&&L in o,x=!Q(l)&&L in l;_||x||(v[L]=tn(L))}return function(e,t){un.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return sn.add(e),T(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:function(){var e=this.stylesheetToken;return Q(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=Q(e)?void 0:e.shadowAttribute}}),e},e.renderer=Bo,e.rendererFactory=Fo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(Q(Me[e])){var n=P(Me).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Te[e];Q(r)?T(Te,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;C.isFalse(Lo,"Hooks are already overridden, only one definition is allowed."),Lo=!0,t=e.sanitizeHtmlContent,dr=t},e.swapComponent=function(e,t){if(!Te.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Te.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Te.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Wt(e);throw new Error},e.unwrap=function(e){return Bt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -349,7 +349,7 @@
349
349
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
350
350
  return attributeName;
351
351
  }
352
- /** version: 2.24.0 */
352
+ /** version: 2.25.1 */
353
353
 
354
354
  /**
355
355
  * Copyright (C) 2018 salesforce.com, inc.
@@ -443,7 +443,7 @@
443
443
  patch$1(propName);
444
444
  }
445
445
  }
446
- /** version: 2.24.0 */
446
+ /** version: 2.25.1 */
447
447
 
448
448
  /**
449
449
  * Copyright (C) 2018 salesforce.com, inc.
@@ -470,7 +470,8 @@
470
470
  ENABLE_NODE_PATCH: null,
471
471
  ENABLE_REACTIVE_SETTER: null,
472
472
  ENABLE_WIRE_SYNC_EMIT: null,
473
- ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null
473
+ ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null,
474
+ DISABLE_LIGHT_DOM_UNSCOPED_CSS: null
474
475
  };
475
476
 
476
477
  if (!_globalThis.lwcRuntimeFlags) {
@@ -3121,7 +3122,17 @@
3121
3122
  ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, stylesheetToken, vm));
3122
3123
  } else {
3123
3124
 
3124
- var isScopedCss = stylesheet[KEY__SCOPED_CSS]; // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
3125
+ var isScopedCss = stylesheet[KEY__SCOPED_CSS];
3126
+
3127
+ if (lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS) {
3128
+ if (!isScopedCss && vm.renderMode === 0
3129
+ /* RenderMode.Light */
3130
+ ) {
3131
+ logError('Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).');
3132
+ continue;
3133
+ }
3134
+ } // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
3135
+
3125
3136
 
3126
3137
  var scopeToken = isScopedCss || vm.shadowMode === 1
3127
3138
  /* ShadowMode.Synthetic */
@@ -3207,6 +3218,18 @@
3207
3218
  context = owner.context;
3208
3219
  return context.hasScopedStyles && (cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken) || null;
3209
3220
  }
3221
+ /**
3222
+ * This function returns the host style token for a custom element if it
3223
+ * exists. Otherwise it returns null.
3224
+ */
3225
+
3226
+
3227
+ function getStylesheetTokenHost(vnode) {
3228
+ var _getComponentInternal = getComponentInternalDef(vnode.ctor),
3229
+ stylesheetToken = _getComponentInternal.template.stylesheetToken;
3230
+
3231
+ return !isUndefined$1(stylesheetToken) ? makeHostToken(stylesheetToken) : null;
3232
+ }
3210
3233
 
3211
3234
  function getNearestNativeShadowComponent(vm) {
3212
3235
  var owner = getNearestShadowComponent(vm);
@@ -3346,6 +3369,12 @@
3346
3369
  function isSameVnode(vnode1, vnode2) {
3347
3370
  return vnode1.key === vnode2.key && vnode1.sel === vnode2.sel;
3348
3371
  }
3372
+
3373
+ function isVCustomElement(vnode) {
3374
+ return vnode.type === 3
3375
+ /* VNodeType.CustomElement */
3376
+ ;
3377
+ }
3349
3378
  /*
3350
3379
  * Copyright (c) 2018, salesforce.com, inc.
3351
3380
  * All rights reserved.
@@ -6501,7 +6530,8 @@
6501
6530
  classMap = data.classMap;
6502
6531
  var getProperty = renderer.getProperty,
6503
6532
  getClassList = renderer.getClassList;
6504
- var scopedToken = getScopeTokenClass(owner); // Classnames for scoped CSS are added directly to the DOM during rendering,
6533
+ var scopedToken = getScopeTokenClass(owner);
6534
+ var stylesheetTokenHost = isVCustomElement(vnode) ? getStylesheetTokenHost(vnode) : null; // Classnames for scoped CSS are added directly to the DOM during rendering,
6505
6535
  // or to the VDOM on the server in the case of SSR. As such, these classnames
6506
6536
  // are never present in VDOM nodes in the browser.
6507
6537
  //
@@ -6510,9 +6540,11 @@
6510
6540
 
6511
6541
  if (scopedToken) {
6512
6542
  if (!isUndefined$1(className)) {
6513
- className = "".concat(scopedToken, " ").concat(className);
6543
+ className = isNull(stylesheetTokenHost) ? "".concat(scopedToken, " ").concat(className) : "".concat(scopedToken, " ").concat(className, " ").concat(stylesheetTokenHost);
6514
6544
  } else if (!isUndefined$1(classMap)) {
6515
- classMap = Object.assign(Object.assign({}, classMap), _defineProperty({}, scopedToken, true));
6545
+ classMap = Object.assign(Object.assign(Object.assign({}, classMap), _defineProperty({}, scopedToken, true)), isNull(stylesheetTokenHost) ? {} : _defineProperty({}, stylesheetTokenHost, true));
6546
+ } else {
6547
+ className = isNull(stylesheetTokenHost) ? "".concat(scopedToken) : "".concat(scopedToken, " ").concat(stylesheetTokenHost);
6516
6548
  }
6517
6549
  }
6518
6550
 
@@ -6683,7 +6715,7 @@
6683
6715
 
6684
6716
  return ctor;
6685
6717
  }
6686
- /* version: 2.24.0 */
6718
+ /* version: 2.25.1 */
6687
6719
 
6688
6720
  /*
6689
6721
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6902,7 +6934,7 @@
6902
6934
  function isNull(obj) {
6903
6935
  return obj === null;
6904
6936
  }
6905
- /** version: 2.24.0 */
6937
+ /** version: 2.25.1 */
6906
6938
 
6907
6939
  /*
6908
6940
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7625,7 +7657,7 @@
7625
7657
  });
7626
7658
  freeze(LightningElement);
7627
7659
  seal(LightningElement.prototype);
7628
- /* version: 2.24.0 */
7660
+ /* version: 2.25.1 */
7629
7661
 
7630
7662
  exports.LightningElement = LightningElement;
7631
7663
  exports.__unstable__ProfilerControl = profilerControl;