lwc 2.11.3 → 2.11.6

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 +35 -5
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +35 -5
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +34 -4
  5. package/dist/engine-dom/iife/es5/engine-dom.js +39 -6
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +38 -5
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +35 -5
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +34 -4
  11. package/dist/engine-dom/umd/es5/engine-dom.js +39 -6
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +38 -5
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +35 -5
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +35 -5
  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: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: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||function(e,t){return e.__proto__=t,e},l(e,t)}function c(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 u(this,n)}}function u(e,t){if(t&&("object"===b(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: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)||g(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)||g(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){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 b(e){return b="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},b(e)}var k=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)}}),E=Object.assign,C=Object.create,M=Object.defineProperties,O=Object.defineProperty,S=Object.freeze,T=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,A=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,j=Object.keys,R=Object.seal,_=Object.setPrototypeOf,L=Array.isArray,D=Array.prototype,I=D.indexOf,H=D.join,F=D.map,W=D.push,B=D.slice,$=D.splice,V=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===b(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?L(e)?H.call(F.call(e,ie),","):e.toString():"object"===b(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=A(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"],ue=function(){var e=C(null),t=C(null);return K.call(ce,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ue.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":b(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}(),de=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"]]),ve=new Map;function he(e){var t=se[e];if(!J(t))return t;var n=de.get(e);if(!J(n))return n;var r=ve.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return ve.set(e,o),o}var pe="http://www.w3.org/2000/svg";function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ye=new WeakMap;function ge(e){var t=ye.get(e);return void 0===t&&(t={},ye.set(e,t)),t}function we(e,t){return{get:function(){var n=ge(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ge(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function be(e){var t=we(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var ke=j(se),Ee=0,Ce=ke.length;Ee<Ce;Ee+=1){var Me=ke[Ee];me(Me)&&be(Me)}var Oe={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:C(null)});var Se=fe.lwcRuntimeFlags;var Te=[],xe=R(C(null)),Ae=R([]);function Pe(){var e=Te;Te=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Ne(e){0===Te.length&&Promise.resolve().then(Pe),W.call(Te,e)}var je,Re,_e,Le,De,Ie,He,Fe,We,Be,$e,Ve,Ke,Ge,Ue,ze,qe,Xe,Ye,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,lt,ct,ut,st,ft,dt,vt,ht,pt,mt,yt=/;(?![^(]*\))/g,gt=/:(.+)/;function wt(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g(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}}}}(e.split(yt));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=y(o.split(gt),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}function bt(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}var kt=new WeakMap;var Et=null;function Ct(e,t){var n=kt.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function Mt(e,t){if(null!==Et){var n=Et,r=function(e){var t=kt.get(e);if(J(t)){var n=C(null);t=n,kt.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===I.call(o,n)&&n.link(o)}}var Ot=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=Et;Et=this;try{e()}catch(e){t=Object(e)}finally{if(Et=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=I.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){W.call(e,this),W.call(this.listeners,e)}}]),e}();function St(e,t){Ct(e.component,t)}function Tt(e,t){Mt(e.component,t)}function xt(e){return"<".concat(Y.call(e.tagName),">")}function At(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)W.call(t,xt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);O(t,"wcStack",{get:function(){return n}})}}function Pt(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)W.call(t,n+xt(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}var Nt="undefined"!=typeof HTMLElement?HTMLElement:function(){},jt=Nt.prototype;function Rt(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.")}E(C(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:Rt("offsetHeight")},offsetLeft:{readOnly:!0,error:Rt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Rt("offsetTop")},offsetWidth:{readOnly:!0,error:Rt("offsetWidth")},role:{attribute:"role"}});var _t,Lt=null;function Dt(e,t){return e!==Lt||t!==_t}function It(e,t){Lt=null,_t=void 0}function Ht(e,t){Lt=e,_t=t}var Ft=C(null);K.call(j(se),(function(e){var t=le(jt,e);J(t)||(Ft[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(jt,e);J(t)||(Ft[e]=t)}));var Wt=Array.isArray,Bt=Object.prototype,$t=Object.getPrototypeOf,Vt=Object.create,Kt=Object.defineProperty,Gt=Object.isExtensible,Ut=Object.getOwnPropertyDescriptor,zt=Object.getOwnPropertyNames,qt=Object.getOwnPropertySymbols,Xt=Object.preventExtensions,Yt=Object.hasOwnProperty,Jt=Array.prototype,Qt=Jt.push,Zt=Jt.concat;function en(e){return void 0===e}function tn(e){return"function"==typeof e}var nn=new WeakMap;function rn(e,t){nn.set(e,t)}var on=function(e){return nn.get(e)||e},an=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(Yt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;en(n)||(e.get=this.wrapGetter(n)),en(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=Ut(n,t);if(!en(r)){var o=this.wrapDescriptor(r);Kt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;Zt.call(zt(n),qt(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;en(r)||Yt.call(e,r)||Kt(e,r,Vt(null)),Xt(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=en(n)||Yt.call(t,n)?[]:[n];return Qt.apply(r,zt(t)),Qt.apply(r,qt(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!Gt(e)&&(!!Gt(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return $t(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=Ut(n,t);if(en(i)){if(t!==a)return;return Kt(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}(),ln=new WeakMap,cn=new WeakMap,un=new WeakMap,sn=new WeakMap,fn=function(e){i(n,e);var t=c(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=ln.get(e);if(!en(t))return t;var n=this,r=function(){return n.wrapValue(e.call(on(this)))};return ln.set(e,r),un.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=cn.get(e);if(!en(t))return t;var n=function(t){e.call(on(this),on(t))};return cn.set(e,n),sn.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(Yt.call(e,"value"))e.value=on(e.value);else{var t=e.set,n=e.get;en(n)||(e.get=this.unwrapGetter(n)),en(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=un.get(e);if(!en(t))return t;var n=this,r=function(){return on(e.call(n.wrapValue(this)))};return ln.set(r,e),un.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=sn.get(e);if(!en(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return cn.set(r,e),sn.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&&Wt(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(Gt(e)){var t=this.originalTarget;if(Xt(t),Gt(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&&!Yt.call(r,t)||(Kt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(an),dn=new WeakMap,vn=new WeakMap,hn=function(e){i(n,e);var t=c(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=dn.get(e);if(!en(t))return t;var n=this,r=function(){return n.wrapValue(e.call(on(this)))};return dn.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=vn.get(e);if(!en(t))return t;var n=function(e){};return vn.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}(an);function pn(e){if(null===e)return!1;if("object"!==b(e))return!1;if(Wt(e))return!0;var t=$t(e);return t===Bt||null===t||null===$t(t)}var mn=function(e,t){},yn=function(e,t){};function gn(e){return Wt(e)?[]:{}}var wn=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=tn(n)?n:yn,this.valueObserved=tn(r)?r:mn,this.valueIsObservable=tn(o)?o:pn,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=on(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=on(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return on(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(en(t)){var n=new fn(this,e);rn(t=new Proxy(gn(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(en(t)){var n=new hn(this,e);rn(t=new Proxy(gn(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),bn=Symbol.for("@@lockerLiveValue"),kn=new wn({valueObserved:Mt,valueMutated:Ct,tagPropertyKey:bn});function En(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=xo(this);if(!ro(t))return Tt(t,e),n.call(t.elm)},set:function(t){var n=xo(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,St(n,e)),r.call(n.elm,t)}}}var Cn=function(){if(Q(no))throw new ReferenceError("Illegal constructor");var e=no,t=e.def,n=e.elm,r=t.bridge,o=this;if(_(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,c=a.getHook;e.callHook=i,e.setHook=l,e.getHook=c}return this[bn]=void 0,To(o,e),To(n,e),1===e.renderMode?e.renderRoot=Mn(e):e.renderRoot=n,this};function Mn(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=Ve(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,To(l,e),l}Cn.prototype={constructor:Cn,dispatchEvent:function(e){var t=xo(this).elm;return Qe(t,e)},addEventListener:function(e,t,n){var r=xo(this),o=r.elm,a=fo(r,t);Ye(o,e,a,n)},removeEventListener:function(e,t,n){var r=xo(this),o=r.elm,a=fo(r,t);Je(o,e,a,n)},hasAttribute:function(e){var t=xo(this).elm;return!Q(ze(t,e))},hasAttributeNS:function(e,t){var n=xo(this).elm;return!Q(ze(n,t,e))},removeAttribute:function(e){var t=xo(this).elm;Ht(t,e),Xe(t,e),It()},removeAttributeNS:function(e,t){var n=xo(this).elm;Ht(n,t),Xe(n,t,e),It()},getAttribute:function(e){var t=xo(this).elm;return ze(t,e)},getAttributeNS:function(e,t){var n=xo(this).elm;return ze(n,t,e)},setAttribute:function(e,t){var n=xo(this).elm;Ht(n,e),qe(n,e,t),It()},setAttributeNS:function(e,t,n){var r=xo(this).elm;Ht(r,t),qe(r,t,n,e),It()},getBoundingClientRect:function(){var e=xo(this).elm;return tt(e)},get isConnected(){var e=xo(this).elm;return dt(e)},get classList(){var e=xo(this).elm;return Ze(e)},get template(){return xo(this).shadowRoot},get shadowRoot(){return null},render:function(){return xo(this).def.template},toString:function(){var e=xo(this);return"[object ".concat(e.def.name,"]")}};var On=C(null);for(var Sn=function(){var e=xn[Tn];On[e]={get:function(){var t=xo(this).elm;return function(e){switch(e){case"children":return it;case"childNodes":return lt;case"firstChild":return ct;case"firstElementChild":return ut;case"lastChild":return st;case"lastElementChild":return ft}}(e)(t)},configurable:!0,enumerable:!0}},Tn=0,xn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];Tn<xn.length;Tn++)Sn();for(var An=function(){var e=Nn[Pn];On[e]={value:function(t){var n=xo(this).elm;return function(e){switch(e){case"getElementsByClassName":return at;case"getElementsByTagName":return ot;case"querySelector":return nt;case"querySelectorAll":return rt}}(e)(n,t)},configurable:!0,enumerable:!0,writable:!0}},Pn=0,Nn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];Pn<Nn.length;Pn++)An();M(Cn.prototype,On);var jn=C(null);for(var Rn in Ft)jn[Rn]=En(Rn,Ft[Rn]);function _n(e){return{get:function(){var t=xo(this);return Tt(t,e),t.cmpFields[e]},set:function(t){var n=xo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,St(n,e))},enumerable:!0,configurable:!0}}function Ln(e){return{get:function(){var t=xo(this);return Tt(t,e),t.cmpFields[e]},set:function(t){var n=xo(this),r=kn.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,St(n,e))},enumerable:!0,configurable:!0}}function Dn(e){return{get:function(){var t=xo(this);if(!ro(t))return Tt(t,e),t.cmpProps[e]},set:function(t){var n=xo(this);n.cmpProps[e]=t,St(n,e)},enumerable:!0,configurable:!0}}M(Cn.prototype,jn),O(Cn,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var In=function(e){i(n,e);var t=c(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,Ne((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&ko(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}(Ot);function Hn(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=xo(this);if(r)if(Se.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new In(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Fn(e){return{get:function(){var t=xo(this);return Tt(t,e),t.cmpFields[e]},set:function(t){var n=xo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,St(n,e))},enumerable:!0,configurable:!0}}var Wn=new Map;var Bn={apiMethods:xe,apiFields:xe,apiFieldsConfig:xe,wiredMethods:xe,wiredFields:xe,observedFields:xe};var $n=new Set;function Vn(){return[]}$n.add(Vn);var Kn=C(null),Gn=C(null);function Un(e){var t=Kn[e];return J(t)&&(t=Kn[e]=function(){var t=xo(this);return(0,t.getHook)(t.component,e)}),t}function zn(e){var t=Gn[e];return J(t)&&(t=Gn[e]=function(t){var n=xo(this),r=n.setHook;t=kn.getReadOnlyProxy(t),r(n.component,e,t)}),t}function qn(e){return function(){var t=xo(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,B.call(arguments))}}function Xn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Dt(this,n)&&(this[a]=o)}}}function Yn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(_(r=function(){throw new TypeError("Illegal constructor")},e),_(r.prototype,e.prototype),O(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=C(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,u=void 0===l?[]:l,s=C(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[he(h)]=h,s[h]={get:Un(h),set:zn(h),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var w=n[y];s[w]={value:qn(w),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:Xn(o,a)},O(r,"observedAttributes",{get:function(){return[].concat(m(u),m(j(o)))}}),M(r.prototype,s),r}var Jn=Yn(Nt,x(Ft),[]);function Qn(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Zn(e){return te(e)&&P.call(e,"__circular__")}S(Jn),R(Jn.prototype);var er=new WeakMap;function tr(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Wn.get(e);return J(t)?Bn:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,c=r.wiredMethods,u=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=A(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(Zn(t)){var n=Qn(t);t=n===t?Cn:n}return t}(e),y=m!==Cn?rr(m):or,g=Yn(y.bridge,j(o),j(i)),w=E(C(null),y.props,o),b=E(C(null),y.propsConfig,a),k=E(C(null),y.methods,i),O=E(C(null),y.wire,l,c);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var S=y.shadowSupportMode;J(t)||(S=t);var T=y.renderMode;J(n)||(T="light"===n?0:1);var x=function(e){return io.get(e)}(e)||y.template,P=e.name||y.name;return M(s,u),{ctor:e,name:P,wire:O,props:w,propsConfig:b,methods:k,bridge:g,template:x,renderMode:T,shadowSupportMode:S,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function nr(e){if(!te(e))return!1;if(e.prototype instanceof Cn)return!0;var t=e;do{if(Zn(t)){var n=Qn(t);if(n===t)return!0;t=n}if(t===Cn)return!0}while(!Q(t)&&(t=A(t)));return!1}function rr(e){var t=er.get(e);if(J(t)){if(Zn(e))return t=rr(Qn(e)),er.set(e,t),t;if(!nr(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=tr(e),er.set(e,t)}return t}var or={ctor:Cn,name:Cn.name,props:jn,propsConfig:xe,methods:xe,renderMode:1,shadowSupportMode:"reset",wire:xe,bridge:Jn,template:Vn,render:Cn.prototype.render};function ar(e){e=e.toLowerCase();var t=mt(e);return J(t)?(pt(e,t=function(e){i(n,e);var t=c(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(Le)),t):t}function ir(e){var t=e.type;return 2===t||3===t}function lr(e,t){return e.key===t.key&&e.sel===t.sel}function cr(e,t){return"input"===e&&("value"===t||"checked"===t)}function ur(e,t){var n=t.data.props;if(!J(n)){var r=Q(e)?xe:e.data.props;if(r!==n){var o=Q(e),a=t.elm,i=t.sel;for(var l in n){var c=n[l];(o||c!==(cr(i,l)?Ke(a,l):r[l]))&&Ge(a,l,c)}}}}var sr=C(null);function fr(e){if(null==e)return xe;e=re(e)?e:e+"";var t=sr[e];if(t)return t;t=C(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.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),sr[e]=t,t}function dr(e){var t=e.elm,n=e.data.on;if(!J(n))for(var r in n){var o=n[r];Ye(t,r,o)}}function vr(e,t,n){var r;r=t,xr.has(r)?function(e,t,n){var r,o,a,i=0,l=0,c=e.length-1,u=e[0],s=e[c],f=t.length-1,d=f,v=t[0],h=t[d],p=!1;for(;i<=c&&l<=d;)wr(u)?wr(s)?wr(v)?wr(h)?lr(u,v)?(hr(u,v),u=e[++i],v=t[++l]):lr(s,h)?(hr(s,h),s=e[--c],h=t[--d]):lr(u,h)?(hr(u,h),Mr(u.elm,n,$e(s.elm)),u=e[++i],h=t[--d]):lr(s,v)?(hr(s,v),Mr(v.elm,n,u.elm),s=e[--c],v=t[++l]):(void 0===r&&(r=Ar(e,i,c)),J(o=r[v.key])?(pr(v,n,u.elm),v=t[++l]):(wr(a=e[o])&&(a.sel!==v.sel?pr(v,n,u.elm):(hr(a,v),p||(p=!0,e=m(e)),e[o]=void 0,Mr(a.elm,n,u.elm))),v=t[++l])):h=t[--d]:v=t[++l]:s=e[--c]:u=e[++i];if(i<=c||l<=d)if(i>c){var y,g=d;do{y=t[++g]}while(!wr(y)&&g<f);mr(t,n,wr(y)?y.elm:null,l,d+1)}else gr(e,n,!0,i,c+1)}(e,t,n):function(e,t,n){var r=e.length,o=t.length;if(0===r)return void mr(t,n,null);if(0===o)return void gr(e,n,!0);for(var a=null,i=o-1;i>=0;i-=1){var l=e[i],c=t[i];c!==l&&(wr(l)?wr(c)?(hr(l,c),a=c.elm):yr(l,n,!0):wr(c)&&(pr(c,n,a),a=c.elm))}}(e,t,n)}function hr(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Cr(t)}(e,t);break;case 2:!function(e,t){var n=t.elm=e.elm;Sr(e,t),vr(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){var n=t.elm=e.elm,r=t.vm=e.vm;Sr(e,t),J(r)||Tr(t,r);vr(e.children,t.children,n),J(r)||ko(r)}(e,t)}}function pr(e,t,n){switch(e.type){case 0:!function(e,t,n){var r=e.owner,o=e.elm=We(e.text);Er(o,r),Mr(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){var r=e.owner,o=e.elm=Be(e.text);Er(o,r),Mr(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){var r=e.sel,o=e.owner,a=Z(e.data.svg)?pe:void 0,i=Fe(r,a);Er(i,o),function(e,t){var n=t.owner;if(kr(e,n),1===n.shadowMode){var r=t.data.context,o=n.context.stylesheetToken;J(r)||J(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),J(o)||br(e,o)}}(i,e),e.elm=i,Sr(null,e),Mr(i,t,n),mr(e.children,i,null)}(e,t,n);break;case 3:!function(e,t,n){var r,o=e.sel,a=e.owner,i=ar(o),l=new i((function(t){r=function(e,t){var n=Ao(e);if(!J(n))return n;var r=t.sel,o=t.mode,a=t.ctor,i=t.owner;if(kr(e,i),1===i.shadowMode){var l=i.context.stylesheetToken;J(l)||br(e,l)}return n=So(e,a,{mode:o,owner:i,tagName:r})}(t,e)}));if(Er(l,a),e.elm=l,e.vm=r,r)Tr(e,r);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Sr(null,e),Mr(l,t,n),r&&_o(r);mr(e.children,l,null),r&&function(e){Po(e)}(r)}(e,t,n)}}function mr(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];wr(a)&&pr(a,t,n)}}function yr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.type,o=e.elm;switch(n&&Or(o,t),r){case 2:gr(e.children,o);break;case 3:var a=e.vm;J(a)||Oo(a)}}function gr(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];wr(a)&&yr(a,t,n)}}function wr(e){return null!=e}function br(e,t){e.$shadowToken$=t}function kr(e,t){var n=t.cmpTemplate,r=t.context,o=null==n?void 0:n.stylesheetToken;!J(o)&&r.hasScopedStyles&&Ze(e).add(o)}function Er(e,t){var n=t.renderRoot,r=t.renderMode,o=t.shadowMode;_e&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function Cr(e){var t=e.elm,n=e.text;Ue(t,n)}function Mr(e,t,n){Ie(e,t,n)}function Or(e,t){He(e,t)}function Sr(e,t){Q(e)&&(dr(t),function(e){var t=e.elm,n=e.data.classMap;if(!J(n)){var r=Ze(t);for(var o in n)r.add(o)}}(t),function(e){var t=e.elm,n=e.data.styleDecls;if(!J(n))for(var r=0;r<n.length;r++){var o=y(n[r],3),a=o[0],i=o[1],l=o[2];et(t,a,i,l)}}(t)),function(e,t){var n=t.elm,r=t.data.className,o=Q(e)?void 0:e.data.className;if(o!==r){var a,i=Ze(n),l=fr(r),c=fr(o);for(a in c)J(l[a])&&i.remove(a);for(a in l)J(c[a])&&i.add(a)}}(e,t),function(e,t){var n=t.elm,r=t.data.style;(Q(e)?void 0:e.data.style)!==r&&(re(r)&&""!==r?qe(n,"style",r):Xe(n,"style"))}(e,t),function(e,t){var n=t.data.attrs;if(!J(n)){var r=Q(e)?xe:e.data.attrs;if(r!==n){var o=t.elm;for(var a in n){var i=n[a];r[a]!==i&&(Ht(o,a),58===z.call(a,3)?qe(o,a,i,"http://www.w3.org/XML/1998/namespace"):58===z.call(a,5)?qe(o,a,i,"http://www.w3.org/1999/xlink"):Q(i)||J(i)?Xe(o,a):qe(o,a,i),It())}}}}(e,t),ur(e,t)}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=C(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var c="";ir(l)&&(c=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var u=o[c]=o[c]||[];J(l.key)||(l.key="@".concat(c,":").concat(l.key)),W.call(u,l)}}if(ee(e.isDirty)){var s=j(r);if(s.length!==j(o).length)return void uo(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void uo(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 uo(e)}}}(t,n),e.aChildren=n,e.children=Ae)}var xr=new WeakMap;function Ar(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(wr(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Pr=Symbol.iterator;function Nr(e){W.call(Zr().velements,e)}function jr(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ae,o=Zr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Rr(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae,l=Zr(),c=n.key,u={type:3,sel:e,data:n,children:i,elm:r,key:c,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return Nr(u),u}var _r=new Map,Lr=0;function Dr(e){var t;return t=e,xr.set(t,1),e}var Ir=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Hr=S({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=Zr(),a=o.renderMode,i=o.shadowMode;return 0===a?(Dr(n),n):(1===i&&Dr(n),jr("slot",t,n))},h:jr,c:Rr,i:function(e,t){var n=[];if(Dr(n),J(e)||null===e)return n;for(var r=e[Pr](),o=r.next(),a=0,i=o,l=i.value,c=i.done;!1===c;){var u=t(l,a,0===a,!0===(c=(o=r.next()).done));L(u)?W.apply(n,u):W.call(n,u),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];Dr(n);for(var r=0;r<t;r+=1){var o=e[r];L(o)?W.apply(n,o):W.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Zr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=Zr();if(Q(t))throw new Error;var n=t;return function(t){ao(n,e,n.component,t)}},k:function(e,t){switch(b(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Zr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae;if(null==t)return null;if(!nr(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=_r.get(t);J(o)&&(o=Lr++,_r.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Rr(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},gid:function(e){var t=Zr();if(J(e)||""===e)return e;if(Q(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=Zr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return Ir(e)}});function Fr(e){return"".concat(e,"-host")}function Wr(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(L(i))W.apply(o,Wr(i,t,n));else{var l=i.$scoped$,c=l||1===n.shadowMode&&1===n.renderMode?t:void 0,u=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=$r(n)),s=Q(r)||0===r.shadowMode),W.call(o,i(c,u,s))}}return o}function Br(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Wr(n,r,e)),o}function $r(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Vr(e,t){var n,r=e.renderMode,o=e.shadowMode;if(1===r&&1===o)for(var a=0;a<t.length;a++)vt(t[a]);else{if(je||De()){var i=H.call(t,"\n");return n=i,Hr.h("style",{key:"style",attrs:{type:"text/css"}},[Hr.t(n)])}for(var l=function(e){var t=$r(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(l),u=0;u<t.length;u++)c?vt(t[u]):ht(t[u],l.shadowRoot)}return null}var Kr=!1,Gr=oe,Ur={enableProfiler:function(){Kr=!0},disableProfiler:function(){Kr=!1},attachDispatcher:function(e){Gr=e,this.enableProfiler()},detachDispatcher:function(){var e=Gr;return Gr=oe,this.disableProfiler(),e}};function zr(e,t){Kr&&Gr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function qr(e,t){Kr&&Gr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Xr(e,t){Kr&&Gr(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 Yr(e,t){Kr&&Gr(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 Jr=!1,Qr=null;function Zr(){return Qr}function eo(e){Qr=e}function to(e,t){var n=Jr,r=Qr,o=[];return Fo(e,e.owner,(function(){Qr=e,zr(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Ho(e),c=t,!$n.has(c))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(ie(t),"."));e.cmpTemplate=t,r.tplCache=C(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,c=e.shadowMode,u=t.stylesheets,s=t.stylesheetToken,f=1===l&&1===c,d=i.hasScopedStyles,v=i.stylesheetToken,h=i.hasTokenInClass,p=i.hasTokenInAttribute;J(v)||(h&&Ze(a).remove(Fr(v)),p&&Xe(a,Fr(v))),J(u)||0===u.length||(n=s),J(n)||(d&&(Ze(a).add(Fr(n)),r=!0),f&&(qe(a,Fr(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=Br(e,t);r.styleVNode=0===l.length?null:Vr(e,l)}var c;e.velements=[],Jr=!0,o=t.call(void 0,Hr,n,a,r.tplCache);var u=r.styleVNode;Q(u)||V.call(o,u)}))}),(function(){Jr=n,Qr=r,qr(1,e)})),o}var no=null;function ro(e){return no===e}function oo(e,t,n){var r=e.component,o=e.callHook;Fo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function ao(e,t,n,r){var o=e.callHook;Fo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var io=new Map;function lo(e){return new Ot((function(){ee(e.isDirty)&&(uo(e),function(e){if(Z(je)||Z(e.isScheduled))return;e.isScheduled=!0,0===jo.length&&Ne(Ro);W.call(jo,e)}(e))}))}function co(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=Zr(),l=!1;return Fo(e,a,(function(){eo(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){eo(i)})),l?to(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function uo(e){e.isDirty=!0}var so=new WeakMap;function fo(e,t){if(!te(t))throw new TypeError;var n=so.get(t);return J(n)&&(n=function(n){ao(e,t,void 0,n)},so.set(t,n)),n}var vo=C(null),ho=["rendered","connected","disconnected"];function po(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 mo=0,yo=new WeakMap;function go(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function wo(e,t,n){e[t]=n}function bo(e,t){return e[t]}function ko(e){Po(e)}function Eo(e){var t=xo(e);Xr(7,t),1===t.state&&Co(e),_o(t),Po(t),Yr(7,t)}function Co(e){Mo(xo(e))}function Mo(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=vo.disconnected;t&&po(e,t);Lo(e)&&function(e){var t=e.context.wiredDisconnecting;Fo(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(zr(5,e),oo(e,n),qr(5,e))}(e),Do(e),function(e){Io(e.aChildren)}(e)}}function Oo(e){Mo(e)}function So(e,t,n){var r=n.mode,o=n.owner,a=n.tagName,i=rr(t),l={elm:e,def:i,idx:mo++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:r,owner:o,children:Ae,aChildren:Ae,velements:Ae,cmpProps:C(null),cmpFields:C(null),cmpSlots:C(null),oar:C(null),cmpTemplate:null,renderMode:i.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:xe,wiredConnecting:Ae,wiredDisconnecting:Ae},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:go,setHook:wo,getHook:bo};return l.shadowMode=function(e){var t,n=e.def;if(_e)if(0===n.renderMode)t=0;else if(Re)if(Se.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)t=0;else{var r=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);t=Q(r)||0!==r.shadowMode?1:0}else t=1;else t=1;else t=0;return t}(l),l.tro=lo(l),function(e,t){var n,r=no;zr(0,e),no=e;try{var o=new t;if(no.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(qr(0,e),no=r,!J(n))throw At(e,n),n}}(l,i.ctor),Lo(l)&&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=Wo.get(i);J(l)||function(){var t=$o(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,c=t.resetConfigWatcher,u=l.dynamic.length>0;W.call(r,(function(){n.connect(),Se.ENABLE_WIRE_SYNC_EMIT||!u?i():Promise.resolve().then(i)})),W.call(o,(function(){n.disconnect(),c()}))}()}}(l),l}function To(e,t){yo.set(e,t)}function xo(e){return yo.get(e)}function Ao(e){return yo.get(e)}function Po(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children;e.children=t,(t.length>0||r.length>0)&&r!==t&&Fo(e,e,(function(){zr(2,e)}),(function(){vr(r,t,n)}),(function(){qr(2,e)}));1===e.state&&No(e)}(e,co(e))}function No(e){var t=e.def.renderedCallback;if(!Z(je)){var n=vo.rendered;n&&po(e,n),J(t)||(zr(4,e),oo(e,t),qr(4,e))}}var jo=[];function Ro(){Xr(8);var e=jo.sort((function(e,t){return e.idx-t.idx}));jo=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Po(r)}catch(r){throw t+1<n&&(0===jo.length&&Ne(Ro),V.apply(jo,B.call(e,t+1))),Yr(8),r}}Yr(8)}function _o(e){if(1!==e.state){e.state=1;var t=vo.connected;t&&po(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;J(n)||(zr(3,e),oo(e,n),qr(3,e))}}function Lo(e){return x(e.def.wire).length>0}function Do(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Ao(r);J(o)||Mo(o)}}}function Io(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Io(r.children);break;case 3:Mo(xo(r.elm))}}}function Ho(e){for(var t=e.children,n=e.renderRoot,r=0,o=t.length;r<o;r++){var a=t[r];Q(a)||J(a.elm)||He(a.elm,n)}e.children=Ae,Do(e),e.velements=Ae}function Fo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){At(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Ho(e),zr(6,e),oo(i,i.def.errorCallback,[a,a.wcStack]),qr(6,e)}}}var Wo=new Map,Bo=function(e){i(n,e);var t=c(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 $o(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,c=n.dynamic,u=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,St(e,t))}}(e,t):function(e,t){return function(n){Fo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);O(u,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),O(u,"$$DeprecatedWiredParamsMetaKey$$",{value:c}),Fo(e,e,oe,(function(){o=new i(u)}),oe);var s=function(e,t,n){var r=!1,o=new Ot((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,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=Ko(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting;W.call(i,(function(){var e=new Bo(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){W.call(l,e)}});Qe(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var Vo=new Map;function Ko(e){return Vo.get(e)}function Go(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};Wo.set(e,o)}function Uo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};Wo.set(e,o)}var zo=!1;function qo(e){zo=!1,_o(e),Xo(e),zo&&function(e,t){Pt("error",e,t)}("Hydration completed with errors.",e)}function Xo(e){var t=co(e);e.children=t;var n=e.renderRoot;Jo(ct(n),t,n),No(e)}function Yo(e,t){var n;switch(t.type){case 0:n=function(e,t){var n;if(!ea(t,e,3))return Qo(e,t);return Ue(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!ea(t,e,8))return Qo(e,t);return Ge(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!ea(t,e,1)||!ta(t,e))return Qo(e,t);t.elm=e;var n=t.data.context,r=Boolean(!J(n)&&!J(n.lwc)&&"manual"===n.lwc.dom);if(r){var o=t.data.props;J(o)||J(o.innerHTML)||Ke(e,"innerHTML")===o.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:bt(o,"innerHTML")}))}Zo(t),r||Jo(ct(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!ea(t,e,1)||!ta(t,e))return Qo(e,t);var n=t.sel,r=t.mode,o=t.ctor,a=t.owner,i=So(e,o,{mode:r,owner:a,tagName:n});t.elm=e,t.vm=i,Tr(t,i),Zo(t),_o(i),0!==i.renderMode&&Jo(ct(e),t.children,e);return Xo(i),e}(e,t)}return $e(n)}function Jo(e,t,n,r){for(var o=e,a=null,i=0;i<t.length;i++){var l=t[i];Q(l)||(o?(o=Yo(o,l),a=l.elm):(zo=!0,pr(l,n,a),a=l.elm))}if(o){zo=!0;do{var c=o;o=$e(o),Or(c,n)}while(o)}}function Qo(e,t,n){zo=!0;var r=Ke(e,"parentNode");return pr(t,r,e),Or(e,r),t.elm}function Zo(e){dr(e),ur(null,e)}function ea(e,t,n){return Ke(t,"nodeType")===n}function ta(e,t){if(e.sel.toLowerCase()!==Ke(t,"tagName").toLowerCase())return!1;var n=function(e,t){for(var n=e.data.attrs,r=void 0===n?{}:n,o=!0,a=0,i=Object.entries(r);a<i.length;a++){var l=y(i[a],2),c=l[0],u=l[1],s=ze(t,c);String(u)!==s&&(o=!1)}return o}(e,t),r=function(e,t){var n=e.data,r=n.className,o=n.classMap,a=!0;if(J(r)||String(r)===Ke(t,"className")){if(!J(o)){var i=Ze(t),l="";for(var c in o)l+=" "+c,i.contains(c)||(a=!1);l.trim(),i.length>j(o).length&&(a=!1)}}else a=!1;return a}(e,t),o=function(e,t){var n=e.data,r=n.style,o=n.styleDecls,a=ze(t,"style")||"",i=!0;if(J(r)||r===a){if(!J(o)){for(var l=wt(a),c=[],u=0,s=o.length;u<s;u++){var f=y(o[u],3),d=f[0],v=f[1],h=f[2];c.push("".concat(d,": ").concat(v+(h?" important!":"")));var p=l[d];J(p)?i=!1:p.startsWith(v)?h&&!p.endsWith("!important")&&(i=!1):i=!1}j(l).length>o.length&&(i=!1),H.call(c,";")}}else i=!1;return i}(e,t);return n&&r&&o}var na=!1;var ra,oa,aa,ia=C(null),la=document.head||document.body||document,ca=te(CSSStyleSheet.prototype.replaceSync)&&L(document.adoptedStyleSheets),ua=ca&&T(document.adoptedStyleSheets,"length").writable,sa=C(null),fa=C(null),da=new WeakMap;if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=c(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}}())ra=customElements.get.bind(customElements),oa=customElements.define.bind(customElements),aa=HTMLElement;else{var va=C(null),ha=new WeakMap;oa=function(e,t){if(e!==Y.call(e)||va[e])throw new TypeError("Invalid Registration");va[e]=t,ha.set(t,e)},ra=function(e){return va[e]},(aa=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=ha.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return _(r,t.prototype),r}).prototype=HTMLElement.prototype}var pa=!1;function ma(e){pa=e}var ya=fe.$isNativeShadowRootDefined$,ga=P.call(Element.prototype,"$shadowToken$");function wa(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function ba(e,t,n){for(var r=So(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()}),o=0,a=Object.entries(n);o<a.length;o++){var i=y(a[o],2),l=i[0],c=i[1];e[l]=c}return r}function ka(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(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(Ao(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{ma(!0);var r=ba(e,t,n);qo(r),ma(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),wa(e,t),ba(e,t,n),ma(!1),Eo(e)}finally{ma(!1)}}Ve=function(e,t){return pa?e.shadowRoot:e.attachShadow(t)},Be=function(e){return document.createComment(e)},Fe=function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},We=function(e){return document.createTextNode(e)},pt=oa,Qe=function(e,t){return e.dispatchEvent(t)},ze=function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},tt=function(e){return e.getBoundingClientRect()},lt=function(e){return e.childNodes},it=function(e){return e.children},Ze=function(e){return e.classList},mt=ra,at=function(e,t){return e.getElementsByClassName(t)},ot=function(e,t){return e.getElementsByTagName(t)},ct=function(e){return e.firstChild},ut=function(e){return e.firstElementChild},st=function(e){return e.lastChild},ft=function(e){return e.lastElementChild},Ke=function(e,t){return e[t]},Le=aa,Ie=function(e,t,n){t.insertBefore(e,n)},vt=function(e){if(J(ia[e])){ia[e]=!0;var t=document.createElement("style");t.type="text/css",t.textContent=e,la.appendChild(t)}},ht=function(e,t){ca?function(e,t){var n=fa[e];J(n)&&((n=new CSSStyleSheet).replaceSync(e),fa[e]=n);var r=t.adoptedStyleSheets;r.includes(n)||(ua?r.push(n):t.adoptedStyleSheets=[].concat(m(r),[n]))}(e,t):function(e,t){var n=da.get(t);if(J(n)&&(n=C(null),da.set(t,n)),!n[e]){n[e]=!0;var r=sa[e];J(r)?((r=document.createElement("style")).type="text/css",r.textContent=e,sa[e]=r):r=r.cloneNode(!0),t.appendChild(r)}}(e,t)},dt=function(e){return e.isConnected},De=function(){return pa},Re=ya,_e=ga,$e=function(e){return e.nextSibling},nt=function(e,t){return e.querySelector(t)},rt=function(e,t){return e.querySelectorAll(t)},He=function(e,t){t.removeChild(e)},Xe=function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Je=function(e,t,n,r){e.removeEventListener(t,n,r)},qe=function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},et=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},Ge=function(e,t,n){e[t]=n},Ue=function(e,t){e.nodeValue=t},je=!1,Ye=function(e,t,n,r){e.addEventListener(t,n,r)};var Ea=new WeakSet;function Ca(e){var t=function(e){return rr(e).bridge}(e);return function(t){i(r,t);var n=c(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(ka(s(t),e,{}),Ea.add(s(t))):So(s(t),e,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Ea.has(this)?Ea.delete(this):Eo(this)}},{key:"disconnectedCallback",value:function(){Co(this)}}]),r}(t)}var Ma=Node,Oa=new WeakMap,Sa=new WeakMap;function Ta(e,t){var n=t.get(e);return J(n)||n(e),e}var xa=Ma.prototype,Aa=xa.appendChild,Pa=xa.insertBefore,Na=xa.removeChild,ja=xa.replaceChild;E(Ma.prototype,{appendChild:function(e){return Ta(Aa.call(this,e),Oa)},insertBefore:function(e,t){return Ta(Pa.call(this,e,t),Oa)},removeChild:function(e){return Ta(Na.call(this,e),Sa)},replaceChild:function(e,t){var n=ja.call(this,e,t);return Ta(n,Sa),Ta(e,Oa),n}});var Ra=Node;var _a=new Map;O(Cn,"CustomElementConstructor",{get:function(){return function(e){if(e===Cn)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=_a.get(e);return J(t)&&(t=Ca(e),_a.set(e,t)),t}(this)}}),S(Cn),R(Cn.prototype),e.LightningElement=Cn,e.__unstable__ProfilerControl=Ur,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=Ko(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){Vo.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(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=ar(e),o=!1,a=new r((function(r){So(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Oa.set(r,Eo),Sa.set(r,Co),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.getComponentConstructor=function(e){var t=null;if(e instanceof HTMLElement){var n=Ao(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=rr(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var c in o)l[c]={config:a[c]||0,type:"any",attr:he(c)};var u={};for(var s in i)u[s]=i[s].value;return{ctor:n,name:r,props:l,methods:u}},e.hydrateComponent=ka,e.isComponentConstructor=nr,e.isNodeFromTemplate=function(e){if(ee(e instanceof Ra))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(A(t),"synthetic")))||ga&&!J(e.$shadowResolver$)},e.readonly=function(e){return kn.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<ho.length;++t){var n=ho[t];if(n in e){var r=vo[n];J(r)&&(vo[n]=r=[]),W.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&io.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,c=t.fields,u=C(null),s=C(null),f=C(null),d=C(null),v=C(null),h=C(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=Hn(p,n)}else n=J(n)||J(n.get)?Dn(p):Hn(p,n);s[p]=n,O(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;u[e]=n})),!J(i))for(var y in i){var g=i[y],w=g.adapter,b=g.method,k=g.config,E=g.dynamic,M=void 0===E?[]:E;if(n=T(r,y),1===b){if(J(n))throw new Error;f[y]=n,Go(n,w,k,M)}else n=_n(y),d[y]=n,Uo(n,w,k,M),O(r,y,n)}if(!J(l))for(var S in l)n=T(r,S),n=Ln(S),O(r,S,n);if(!J(c))for(var x=0,A=c.length;x<A;x++){var P=c[x];n=T(r,P);var N=!J(o)&&P in o,j=!J(l)&&P in l;N||j||(v[P]=Fn(P))}return function(e,t){Wn.set(e,t)}(e,{apiMethods:u,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return $n.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Oe[e])){var n=j(Oe).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=Se[e];J(r)?O(Se,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;k.isFalse(na,"Hooks are already overridden, only one definition is allowed."),na=!0,t=e.sanitizeHtmlContent,Ir=t},e.swapComponent=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return kn.getProxy(e);throw new Error},e.unwrap=function(e){return kn.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: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: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||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"===b(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: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)||g(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)||g(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){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 b(e){return b="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},b(e)}var k=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)}}),E=Object.assign,C=Object.create,M=Object.defineProperties,O=Object.defineProperty,S=Object.freeze,T=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,A=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,j=Object.keys,R=Object.seal,_=Object.setPrototypeOf,L=Array.isArray,D=Array.prototype,I=D.indexOf,H=D.join,F=D.map,W=D.push,B=D.slice,$=D.splice,V=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===b(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?L(e)?H.call(F.call(e,ie),","):e.toString():"object"===b(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=A(e)}while(null!==e)}var ue=["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"],ce=function(){var e=C(null),t=C(null);return K.call(ue,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ce.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":b(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}(),de=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"]]),ve=new Map;function he(e){var t=se[e];if(!J(t))return t;var n=de.get(e);if(!J(n))return n;var r=ve.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return ve.set(e,o),o}var pe="http://www.w3.org/2000/svg";function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ye=new WeakMap;function ge(e){var t=ye.get(e);return void 0===t&&(t={},ye.set(e,t)),t}function we(e,t){return{get:function(){var n=ge(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ge(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function be(e){var t=we(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var ke=j(se),Ee=0,Ce=ke.length;Ee<Ce;Ee+=1){var Me=ke[Ee];me(Me)&&be(Me)}var Oe={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:C(null)});var Se=fe.lwcRuntimeFlags;var Te=[],xe=R(C(null)),Ae=R([]);function Pe(){var e=Te;Te=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Ne(e){0===Te.length&&Promise.resolve().then(Pe),W.call(Te,e)}var je,Re,_e,Le,De,Ie,He,Fe,We,Be,$e,Ve,Ke,Ge,Ue,ze,qe,Xe,Ye,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,lt,ut,ct,st,ft,dt,vt,ht,pt,mt,yt=/;(?![^(]*\))/g,gt=/:(.+)/;function wt(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g(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}}}}(e.split(yt));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=y(o.split(gt),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}function bt(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}var kt=new WeakMap;var Et=null;function Ct(e,t){var n=kt.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function Mt(e,t){if(null!==Et){var n=Et,r=function(e){var t=kt.get(e);if(J(t)){var n=C(null);t=n,kt.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===I.call(o,n)&&n.link(o)}}var Ot=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=Et;Et=this;try{e()}catch(e){t=Object(e)}finally{if(Et=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=I.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){W.call(e,this),W.call(this.listeners,e)}}]),e}();function St(e,t){Ct(e.component,t)}function Tt(e,t){Mt(e.component,t)}function xt(e){return"<".concat(Y.call(e.tagName),">")}function At(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)W.call(t,xt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);O(t,"wcStack",{get:function(){return n}})}}function Pt(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)W.call(t,n+xt(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}var Nt="undefined"!=typeof HTMLElement?HTMLElement:function(){},jt=Nt.prototype;function Rt(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.")}E(C(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:Rt("offsetHeight")},offsetLeft:{readOnly:!0,error:Rt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Rt("offsetTop")},offsetWidth:{readOnly:!0,error:Rt("offsetWidth")},role:{attribute:"role"}});var _t,Lt=null;function Dt(e,t){return e!==Lt||t!==_t}function It(e,t){Lt=null,_t=void 0}function Ht(e,t){Lt=e,_t=t}var Ft=C(null);K.call(j(se),(function(e){var t=le(jt,e);J(t)||(Ft[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(jt,e);J(t)||(Ft[e]=t)}));var Wt=Array.isArray,Bt=Object.prototype,$t=Object.getPrototypeOf,Vt=Object.create,Kt=Object.defineProperty,Gt=Object.isExtensible,Ut=Object.getOwnPropertyDescriptor,zt=Object.getOwnPropertyNames,qt=Object.getOwnPropertySymbols,Xt=Object.preventExtensions,Yt=Object.hasOwnProperty,Jt=Array.prototype,Qt=Jt.push,Zt=Jt.concat;function en(e){return void 0===e}function tn(e){return"function"==typeof e}var nn=new WeakMap;function rn(e,t){nn.set(e,t)}var on=function(e){return nn.get(e)||e},an=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(Yt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;en(n)||(e.get=this.wrapGetter(n)),en(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=Ut(n,t);if(!en(r)){var o=this.wrapDescriptor(r);Kt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;Zt.call(zt(n),qt(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;en(r)||Yt.call(e,r)||Kt(e,r,Vt(null)),Xt(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=en(n)||Yt.call(t,n)?[]:[n];return Qt.apply(r,zt(t)),Qt.apply(r,qt(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!Gt(e)&&(!!Gt(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return $t(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=Ut(n,t);if(en(i)){if(t!==a)return;return Kt(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}(),ln=new WeakMap,un=new WeakMap,cn=new WeakMap,sn=new WeakMap,fn=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=ln.get(e);if(!en(t))return t;var n=this,r=function(){return n.wrapValue(e.call(on(this)))};return ln.set(e,r),cn.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=un.get(e);if(!en(t))return t;var n=function(t){e.call(on(this),on(t))};return un.set(e,n),sn.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(Yt.call(e,"value"))e.value=on(e.value);else{var t=e.set,n=e.get;en(n)||(e.get=this.unwrapGetter(n)),en(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=cn.get(e);if(!en(t))return t;var n=this,r=function(){return on(e.call(n.wrapValue(this)))};return ln.set(r,e),cn.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=sn.get(e);if(!en(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return un.set(r,e),sn.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&&Wt(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(Gt(e)){var t=this.originalTarget;if(Xt(t),Gt(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&&!Yt.call(r,t)||(Kt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(an),dn=new WeakMap,vn=new WeakMap,hn=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=dn.get(e);if(!en(t))return t;var n=this,r=function(){return n.wrapValue(e.call(on(this)))};return dn.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=vn.get(e);if(!en(t))return t;var n=function(e){};return vn.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}(an);function pn(e){if(null===e)return!1;if("object"!==b(e))return!1;if(Wt(e))return!0;var t=$t(e);return t===Bt||null===t||null===$t(t)}var mn=function(e,t){},yn=function(e,t){};function gn(e){return Wt(e)?[]:{}}var wn=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=tn(n)?n:yn,this.valueObserved=tn(r)?r:mn,this.valueIsObservable=tn(o)?o:pn,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=on(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=on(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return on(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(en(t)){var n=new fn(this,e);rn(t=new Proxy(gn(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(en(t)){var n=new hn(this,e);rn(t=new Proxy(gn(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),bn=Symbol.for("@@lockerLiveValue"),kn=new wn({valueObserved:Mt,valueMutated:Ct,tagPropertyKey:bn});function En(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=xo(this);if(!ro(t))return Tt(t,e),n.call(t.elm)},set:function(t){var n=xo(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,St(n,e)),r.call(n.elm,t)}}}var Cn=function(){if(Q(no))throw new ReferenceError("Illegal constructor");var e=no,t=e.def,n=e.elm,r=t.bridge,o=this;if(_(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 this[bn]=void 0,To(o,e),To(n,e),1===e.renderMode?e.renderRoot=Mn(e):e.renderRoot=n,this};function Mn(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=Ve(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,To(l,e),l}Cn.prototype={constructor:Cn,dispatchEvent:function(e){var t=xo(this).elm;return Qe(t,e)},addEventListener:function(e,t,n){var r=xo(this),o=r.elm,a=fo(r,t);Ye(o,e,a,n)},removeEventListener:function(e,t,n){var r=xo(this),o=r.elm,a=fo(r,t);Je(o,e,a,n)},hasAttribute:function(e){var t=xo(this).elm;return!Q(ze(t,e))},hasAttributeNS:function(e,t){var n=xo(this).elm;return!Q(ze(n,t,e))},removeAttribute:function(e){var t=xo(this).elm;Ht(t,e),Xe(t,e),It()},removeAttributeNS:function(e,t){var n=xo(this).elm;Ht(n,t),Xe(n,t,e),It()},getAttribute:function(e){var t=xo(this).elm;return ze(t,e)},getAttributeNS:function(e,t){var n=xo(this).elm;return ze(n,t,e)},setAttribute:function(e,t){var n=xo(this).elm;Ht(n,e),qe(n,e,t),It()},setAttributeNS:function(e,t,n){var r=xo(this).elm;Ht(r,t),qe(r,t,n,e),It()},getBoundingClientRect:function(){var e=xo(this).elm;return tt(e)},get isConnected(){var e=xo(this).elm;return dt(e)},get classList(){var e=xo(this).elm;return Ze(e)},get template(){return xo(this).shadowRoot},get shadowRoot(){return null},render:function(){return xo(this).def.template},toString:function(){var e=xo(this);return"[object ".concat(e.def.name,"]")}};var On=C(null);for(var Sn=function(){var e=xn[Tn];On[e]={get:function(){var t=xo(this).elm;return function(e){switch(e){case"children":return it;case"childNodes":return lt;case"firstChild":return ut;case"firstElementChild":return ct;case"lastChild":return st;case"lastElementChild":return ft}}(e)(t)},configurable:!0,enumerable:!0}},Tn=0,xn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];Tn<xn.length;Tn++)Sn();for(var An=function(){var e=Nn[Pn];On[e]={value:function(t){var n=xo(this).elm;return function(e){switch(e){case"getElementsByClassName":return at;case"getElementsByTagName":return ot;case"querySelector":return nt;case"querySelectorAll":return rt}}(e)(n,t)},configurable:!0,enumerable:!0,writable:!0}},Pn=0,Nn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];Pn<Nn.length;Pn++)An();M(Cn.prototype,On);var jn=C(null);for(var Rn in Ft)jn[Rn]=En(Rn,Ft[Rn]);function _n(e){return{get:function(){var t=xo(this);return Tt(t,e),t.cmpFields[e]},set:function(t){var n=xo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,St(n,e))},enumerable:!0,configurable:!0}}function Ln(e){return{get:function(){var t=xo(this);return Tt(t,e),t.cmpFields[e]},set:function(t){var n=xo(this),r=kn.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,St(n,e))},enumerable:!0,configurable:!0}}function Dn(e){return{get:function(){var t=xo(this);if(!ro(t))return Tt(t,e),t.cmpProps[e]},set:function(t){var n=xo(this);n.cmpProps[e]=t,St(n,e)},enumerable:!0,configurable:!0}}M(Cn.prototype,jn),O(Cn,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var In=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,Ne((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&ko(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}(Ot);function Hn(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=xo(this);if(r)if(Se.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new In(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Fn(e){return{get:function(){var t=xo(this);return Tt(t,e),t.cmpFields[e]},set:function(t){var n=xo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,St(n,e))},enumerable:!0,configurable:!0}}var Wn=new Map;var Bn={apiMethods:xe,apiFields:xe,apiFieldsConfig:xe,wiredMethods:xe,wiredFields:xe,observedFields:xe};var $n=new Set;function Vn(){return[]}$n.add(Vn);var Kn=C(null),Gn=C(null);function Un(e){var t=Kn[e];return J(t)&&(t=Kn[e]=function(){var t=xo(this);return(0,t.getHook)(t.component,e)}),t}function zn(e){var t=Gn[e];return J(t)&&(t=Gn[e]=function(t){var n=xo(this),r=n.setHook;t=kn.getReadOnlyProxy(t),r(n.component,e,t)}),t}function qn(e){return function(){var t=xo(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,B.call(arguments))}}function Xn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Dt(this,n)&&(this[a]=o)}}}function Yn(e,t,n){var r;te(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=function(){throw new TypeError("Illegal constructor")},e),_(r.prototype,e.prototype),O(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=C(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=C(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[he(h)]=h,s[h]={get:Un(h),set:zn(h),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var w=n[y];s[w]={value:qn(w),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:Xn(o,a)},O(r,"observedAttributes",{get:function(){return[].concat(m(c),m(j(o)))}}),M(r.prototype,s),r}var Jn=Yn(Nt,x(Ft),[]);function Qn(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Zn(e){return te(e)&&P.call(e,"__circular__")}S(Jn),R(Jn.prototype);var er=new WeakMap;function tr(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Wn.get(e);return J(t)?Bn: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=A(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(Zn(t)){var n=Qn(t);t=n===t?Cn:n}return t}(e),y=m!==Cn?rr(m):or,g=Yn(y.bridge,j(o),j(i)),w=E(C(null),y.props,o),b=E(C(null),y.propsConfig,a),k=E(C(null),y.methods,i),O=E(C(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 S=y.shadowSupportMode;J(t)||(S=t);var T=y.renderMode;J(n)||(T="light"===n?0:1);var x=function(e){return io.get(e)}(e)||y.template,P=e.name||y.name;return M(s,c),{ctor:e,name:P,wire:O,props:w,propsConfig:b,methods:k,bridge:g,template:x,renderMode:T,shadowSupportMode:S,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function nr(e){if(!te(e))return!1;if(e.prototype instanceof Cn)return!0;var t=e;do{if(Zn(t)){var n=Qn(t);if(n===t)return!0;t=n}if(t===Cn)return!0}while(!Q(t)&&(t=A(t)));return!1}function rr(e){var t=er.get(e);if(J(t)){if(Zn(e))return t=rr(Qn(e)),er.set(e,t),t;if(!nr(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=tr(e),er.set(e,t)}return t}var or={ctor:Cn,name:Cn.name,props:jn,propsConfig:xe,methods:xe,renderMode:1,shadowSupportMode:"reset",wire:xe,bridge:Jn,template:Vn,render:Cn.prototype.render};function ar(e){e=e.toLowerCase();var t=mt(e);return J(t)?(pt(e,t=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(Le)),t):t}function ir(e){var t=e.type;return 2===t||3===t}function lr(e,t){return e.key===t.key&&e.sel===t.sel}function ur(e,t){return"input"===e&&("value"===t||"checked"===t)}function cr(e,t){var n=t.data.props;if(!J(n)){var r=Q(e)?xe:e.data.props;if(r!==n){var o=Q(e),a=t.elm,i=t.sel;for(var l in n){var u=n[l];(o||u!==(ur(i,l)?Ke(a,l):r[l]))&&Ge(a,l,u)}}}}var sr=C(null);function fr(e){if(null==e)return xe;e=re(e)?e:e+"";var t=sr[e];if(t)return t;t=C(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.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),sr[e]=t,t}function dr(e){var t=e.elm,n=e.data.on;if(!J(n))for(var r in n){var o=n[r];Ye(t,r,o)}}function vr(e,t,n){var r;r=t,xr.has(r)?function(e,t,n){var r,o,a,i=0,l=0,u=e.length-1,c=e[0],s=e[u],f=t.length-1,d=f,v=t[0],h=t[d],p=!1;for(;i<=u&&l<=d;)wr(c)?wr(s)?wr(v)?wr(h)?lr(c,v)?(hr(c,v),c=e[++i],v=t[++l]):lr(s,h)?(hr(s,h),s=e[--u],h=t[--d]):lr(c,h)?(hr(c,h),Mr(c.elm,n,$e(s.elm)),c=e[++i],h=t[--d]):lr(s,v)?(hr(s,v),Mr(v.elm,n,c.elm),s=e[--u],v=t[++l]):(void 0===r&&(r=Ar(e,i,u)),J(o=r[v.key])?(pr(v,n,c.elm),v=t[++l]):(wr(a=e[o])&&(a.sel!==v.sel?pr(v,n,c.elm):(hr(a,v),p||(p=!0,e=m(e)),e[o]=void 0,Mr(a.elm,n,c.elm))),v=t[++l])):h=t[--d]:v=t[++l]:s=e[--u]:c=e[++i];if(i<=u||l<=d)if(i>u){var y,g=d;do{y=t[++g]}while(!wr(y)&&g<f);mr(t,n,wr(y)?y.elm:null,l,d+1)}else gr(e,n,!0,i,u+1)}(e,t,n):function(e,t,n){var r=e.length,o=t.length;if(0===r)return void mr(t,n,null);if(0===o)return void gr(e,n,!0);for(var a=null,i=o-1;i>=0;i-=1){var l=e[i],u=t[i];u!==l&&(wr(l)?wr(u)?(hr(l,u),a=u.elm):yr(l,n,!0):wr(u)&&(pr(u,n,a),a=u.elm))}}(e,t,n)}function hr(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Cr(t)}(e,t);break;case 2:!function(e,t){var n=t.elm=e.elm;Sr(e,t),vr(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){var n=t.elm=e.elm,r=t.vm=e.vm;Sr(e,t),J(r)||Tr(t,r);vr(e.children,t.children,n),J(r)||ko(r)}(e,t)}}function pr(e,t,n){switch(e.type){case 0:!function(e,t,n){var r=e.owner,o=e.elm=We(e.text);Er(o,r),Mr(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){var r=e.owner,o=e.elm=Be(e.text);Er(o,r),Mr(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){var r=e.sel,o=e.owner,a=Z(e.data.svg)?pe:void 0,i=Fe(r,a);Er(i,o),function(e,t){var n=t.owner;if(kr(e,n),1===n.shadowMode){var r=t.data.context,o=n.context.stylesheetToken;J(r)||J(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),J(o)||br(e,o)}}(i,e),e.elm=i,Sr(null,e),Mr(i,t,n),mr(e.children,i,null)}(e,t,n);break;case 3:!function(e,t,n){var r,o=e.sel,a=e.owner,i=ar(o),l=new i((function(t){r=function(e,t){var n=Ao(e);if(!J(n))return n;var r=t.sel,o=t.mode,a=t.ctor,i=t.owner;if(kr(e,i),1===i.shadowMode){var l=i.context.stylesheetToken;J(l)||br(e,l)}return n=So(e,a,{mode:o,owner:i,tagName:r})}(t,e)}));if(Er(l,a),e.elm=l,e.vm=r,r)Tr(e,r);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Sr(null,e),Mr(l,t,n),r&&_o(r);mr(e.children,l,null),r&&function(e){Po(e)}(r)}(e,t,n)}}function mr(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];wr(a)&&pr(a,t,n)}}function yr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.type,o=e.elm;switch(n&&Or(o,t),r){case 2:gr(e.children,o);break;case 3:var a=e.vm;J(a)||Oo(a)}}function gr(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];wr(a)&&yr(a,t,n)}}function wr(e){return null!=e}function br(e,t){e.$shadowToken$=t}function kr(e,t){var n=t.cmpTemplate,r=t.context,o=null==n?void 0:n.stylesheetToken;!J(o)&&r.hasScopedStyles&&Ze(e).add(o)}function Er(e,t){var n=t.renderRoot,r=t.renderMode,o=t.shadowMode;_e&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function Cr(e){var t=e.elm,n=e.text;Ue(t,n)}function Mr(e,t,n){Ie(e,t,n)}function Or(e,t){He(e,t)}function Sr(e,t){Q(e)&&(dr(t),function(e){var t=e.elm,n=e.data.classMap;if(!J(n)){var r=Ze(t);for(var o in n)r.add(o)}}(t),function(e){var t=e.elm,n=e.data.styleDecls;if(!J(n))for(var r=0;r<n.length;r++){var o=y(n[r],3),a=o[0],i=o[1],l=o[2];et(t,a,i,l)}}(t)),function(e,t){var n=t.elm,r=t.data.className,o=Q(e)?void 0:e.data.className;if(o!==r){var a,i=Ze(n),l=fr(r),u=fr(o);for(a in u)J(l[a])&&i.remove(a);for(a in l)J(u[a])&&i.add(a)}}(e,t),function(e,t){var n=t.elm,r=t.data.style;(Q(e)?void 0:e.data.style)!==r&&(re(r)&&""!==r?qe(n,"style",r):Xe(n,"style"))}(e,t),function(e,t){var n=t.data.attrs;if(!J(n)){var r=Q(e)?xe:e.data.attrs;if(r!==n){var o=t.elm;for(var a in n){var i=n[a];r[a]!==i&&(Ht(o,a),58===z.call(a,3)?qe(o,a,i,"http://www.w3.org/XML/1998/namespace"):58===z.call(a,5)?qe(o,a,i,"http://www.w3.org/1999/xlink"):Q(i)||J(i)?Xe(o,a):qe(o,a,i),It())}}}}(e,t),cr(e,t)}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=C(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";ir(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];J(l.key)||(l.key="@".concat(u,":").concat(l.key)),W.call(c,l)}}if(ee(e.isDirty)){var s=j(r);if(s.length!==j(o).length)return void co(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void co(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 co(e)}}}(t,n),e.aChildren=n,e.children=Ae)}var xr=new WeakMap;function Ar(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(wr(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Pr=Symbol.iterator;function Nr(e){W.call(Zr().velements,e)}function jr(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ae,o=Zr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Rr(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae,l=Zr(),u=n.key,c={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return Nr(c),c}var _r=new Map,Lr=0;function Dr(e){var t;return t=e,xr.set(t,1),e}var Ir=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Hr=S({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=Zr(),a=o.renderMode,i=o.shadowMode;return 0===a?(Dr(n),n):(1===i&&Dr(n),jr("slot",t,n))},h:jr,c:Rr,i:function(e,t){var n=[];if(Dr(n),J(e)||null===e)return n;for(var r=e[Pr](),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));L(c)?W.apply(n,c):W.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];Dr(n);for(var r=0;r<t;r+=1){var o=e[r];L(o)?W.apply(n,o):W.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Zr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=Zr();if(Q(t))throw new Error;var n=t;return function(t){ao(n,e,n.component,t)}},k:function(e,t){switch(b(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Zr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae;if(null==t)return null;if(!nr(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=_r.get(t);J(o)&&(o=Lr++,_r.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Rr(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},gid:function(e){var t=Zr();if(J(e)||""===e)return e;if(Q(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=Zr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return Ir(e)}});function Fr(e){return"".concat(e,"-host")}function Wr(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(L(i))W.apply(o,Wr(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:(J(r)&&(r=$r(n)),s=Q(r)||0===r.shadowMode),W.call(o,i(u,c,s))}}return o}function Br(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Wr(n,r,e)),o}function $r(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Vr(e,t){var n,r=e.renderMode,o=e.shadowMode;if(1===r&&1===o)for(var a=0;a<t.length;a++)vt(t[a]);else{if(je||De()){var i=H.call(t,"\n");return n=i,Hr.h("style",{key:"style",attrs:{type:"text/css"}},[Hr.t(n)])}for(var l=function(e){var t=$r(e);return Q(t)||1!==t.shadowMode?t:null}(e),u=Q(l),c=0;c<t.length;c++)u?vt(t[c]):ht(t[c],l.shadowRoot)}return null}var Kr=!1,Gr=oe,Ur={enableProfiler:function(){Kr=!0},disableProfiler:function(){Kr=!1},attachDispatcher:function(e){Gr=e,this.enableProfiler()},detachDispatcher:function(){var e=Gr;return Gr=oe,this.disableProfiler(),e}};function zr(e,t){Kr&&Gr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function qr(e,t){Kr&&Gr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Xr(e,t){Kr&&Gr(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 Yr(e,t){Kr&&Gr(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 Jr=!1,Qr=null;function Zr(){return Qr}function eo(e){Qr=e}function to(e,t){var n=Jr,r=Qr,o=[];return Fo(e,e.owner,(function(){Qr=e,zr(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Ho(e),u=t,!$n.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(ie(t),"."));e.cmpTemplate=t,r.tplCache=C(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(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=t.stylesheets,s=t.stylesheetToken,f=1===l&&1===u,d=i.hasScopedStyles,v=i.stylesheetToken,h=i.hasTokenInClass,p=i.hasTokenInAttribute;J(v)||(h&&Ze(a).remove(Fr(v)),p&&Xe(a,Fr(v))),J(c)||0===c.length||(n=s),J(n)||(d&&(Ze(a).add(Fr(n)),r=!0),f&&(qe(a,Fr(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=Br(e,t);r.styleVNode=0===l.length?null:Vr(e,l)}var u;e.velements=[],Jr=!0,o=t.call(void 0,Hr,n,a,r.tplCache);var c=r.styleVNode;Q(c)||V.call(o,c)}))}),(function(){Jr=n,Qr=r,qr(1,e)})),o}var no=null;function ro(e){return no===e}function oo(e,t,n){var r=e.component,o=e.callHook;Fo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function ao(e,t,n,r){var o=e.callHook;Fo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var io=new Map;function lo(e){return new Ot((function(){ee(e.isDirty)&&(co(e),function(e){if(Z(je)||Z(e.isScheduled))return;e.isScheduled=!0,0===jo.length&&Ne(Ro);W.call(jo,e)}(e))}))}function uo(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=Zr(),l=!1;return Fo(e,a,(function(){eo(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){eo(i)})),l?to(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function co(e){e.isDirty=!0}var so=new WeakMap;function fo(e,t){if(!te(t))throw new TypeError;var n=so.get(t);return J(n)&&(n=function(n){ao(e,t,void 0,n)},so.set(t,n)),n}var vo=C(null),ho=["rendered","connected","disconnected"];function po(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 mo=0,yo=new WeakMap;function go(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function wo(e,t,n){e[t]=n}function bo(e,t){return e[t]}function ko(e){Po(e)}function Eo(e){var t=xo(e);Xr(7,t),1===t.state&&Co(e),_o(t),Po(t),Yr(7,t)}function Co(e){Mo(xo(e))}function Mo(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=vo.disconnected;t&&po(e,t);Lo(e)&&function(e){var t=e.context.wiredDisconnecting;Fo(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(zr(5,e),oo(e,n),qr(5,e))}(e),Do(e),function(e){Io(e.aChildren)}(e)}}function Oo(e){Mo(e)}function So(e,t,n){var r=n.mode,o=n.owner,a=n.tagName,i=rr(t),l={elm:e,def:i,idx:mo++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:r,owner:o,children:Ae,aChildren:Ae,velements:Ae,cmpProps:C(null),cmpFields:C(null),cmpSlots:C(null),oar:C(null),cmpTemplate:null,renderMode:i.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:xe,wiredConnecting:Ae,wiredDisconnecting:Ae},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:go,setHook:wo,getHook:bo};return l.shadowMode=function(e){var t,n=e.def;if(_e)if(0===n.renderMode)t=0;else if(Re)if(Se.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)t=0;else{var r=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);t=Q(r)||0!==r.shadowMode?1:0}else t=1;else t=1;else t=0;return t}(l),l.tro=lo(l),function(e,t){var n,r=no;zr(0,e),no=e;try{var o=new t;if(no.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(qr(0,e),no=r,!J(n))throw At(e,n),n}}(l,i.ctor),Lo(l)&&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=Wo.get(i);J(l)||function(){var t=$o(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;W.call(r,(function(){n.connect(),Se.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),W.call(o,(function(){n.disconnect(),u()}))}()}}(l),l}function To(e,t){yo.set(e,t)}function xo(e){return yo.get(e)}function Ao(e){return yo.get(e)}function Po(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children;e.children=t,(t.length>0||r.length>0)&&r!==t&&Fo(e,e,(function(){zr(2,e)}),(function(){vr(r,t,n)}),(function(){qr(2,e)}));1===e.state&&No(e)}(e,uo(e))}function No(e){var t=e.def.renderedCallback;if(!Z(je)){var n=vo.rendered;n&&po(e,n),J(t)||(zr(4,e),oo(e,t),qr(4,e))}}var jo=[];function Ro(){Xr(8);var e=jo.sort((function(e,t){return e.idx-t.idx}));jo=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Po(r)}catch(r){throw t+1<n&&(0===jo.length&&Ne(Ro),V.apply(jo,B.call(e,t+1))),Yr(8),r}}Yr(8)}function _o(e){if(1!==e.state){e.state=1;var t=vo.connected;t&&po(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;J(n)||(zr(3,e),oo(e,n),qr(3,e))}}function Lo(e){return x(e.def.wire).length>0}function Do(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Ao(r);J(o)||Mo(o)}}}function Io(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Io(r.children);break;case 3:Mo(xo(r.elm))}}}function Ho(e){for(var t=e.children,n=e.renderRoot,r=0,o=t.length;r<o;r++){var a=t[r];Q(a)||J(a.elm)||He(a.elm,n)}e.children=Ae,Do(e),e.velements=Ae}function Fo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){At(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Ho(e),zr(6,e),oo(i,i.def.errorCallback,[a,a.wcStack]),qr(6,e)}}}var Wo=new Map,Bo=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 $o(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,St(e,t))}}(e,t):function(e,t){return function(n){Fo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);O(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),O(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),Fo(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Ot((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,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=Ko(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting;W.call(i,(function(){var e=new Bo(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){W.call(l,e)}});Qe(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var Vo=new Map;function Ko(e){return Vo.get(e)}function Go(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};Wo.set(e,o)}function Uo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};Wo.set(e,o)}var zo=!1;function qo(e){zo=!1,_o(e),Xo(e),zo&&function(e,t){Pt("error",e,t)}("Hydration completed with errors.",e)}function Xo(e){var t=uo(e);e.children=t;var n=e.renderRoot;Jo(ut(n),t,n),No(e)}function Yo(e,t){var n;switch(t.type){case 0:n=function(e,t){var n;if(!ea(t,e,3))return Qo(e,t);return Ue(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!ea(t,e,8))return Qo(e,t);return Ge(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!ea(t,e,1)||!ta(t,e))return Qo(e,t);t.elm=e;var n=t.data.context,r=Boolean(!J(n)&&!J(n.lwc)&&"manual"===n.lwc.dom);if(r){var o=t.data.props;J(o)||J(o.innerHTML)||Ke(e,"innerHTML")===o.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:bt(o,"innerHTML")}))}Zo(t),r||Jo(ut(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!ea(t,e,1)||!ta(t,e))return Qo(e,t);var n=t.sel,r=t.mode,o=t.ctor,a=t.owner,i=So(e,o,{mode:r,owner:a,tagName:n});t.elm=e,t.vm=i,Tr(t,i),Zo(t),_o(i),0!==i.renderMode&&Jo(ut(e),t.children,e);return Xo(i),e}(e,t)}return $e(n)}function Jo(e,t,n,r){for(var o=e,a=null,i=0;i<t.length;i++){var l=t[i];Q(l)||(o?(o=Yo(o,l),a=l.elm):(zo=!0,pr(l,n,a),a=l.elm))}if(o){zo=!0;do{var u=o;o=$e(o),Or(u,n)}while(o)}}function Qo(e,t,n){zo=!0;var r=Ke(e,"parentNode");return pr(t,r,e),Or(e,r),t.elm}function Zo(e){dr(e),cr(null,e)}function ea(e,t,n){return Ke(t,"nodeType")===n}function ta(e,t){if(e.sel.toLowerCase()!==Ke(t,"tagName").toLowerCase())return!1;var n=function(e,t){for(var n=e.data.attrs,r=void 0===n?{}:n,o=!0,a=0,i=Object.entries(r);a<i.length;a++){var l=y(i[a],2),u=l[0],c=l[1],s=ze(t,u);String(c)!==s&&(o=!1)}return o}(e,t),r=function(e,t){var n=e.data,r=n.className,o=n.classMap,a=!0;if(J(r)||String(r)===Ke(t,"className")){if(!J(o)){var i=Ze(t),l="";for(var u in o)l+=" "+u,i.contains(u)||(a=!1);l.trim(),i.length>j(o).length&&(a=!1)}}else a=!1;return a}(e,t),o=function(e,t){var n=e.data,r=n.style,o=n.styleDecls,a=ze(t,"style")||"",i=!0;if(J(r)||r===a){if(!J(o)){for(var l=wt(a),u=[],c=0,s=o.length;c<s;c++){var f=y(o[c],3),d=f[0],v=f[1],h=f[2];u.push("".concat(d,": ").concat(v+(h?" important!":"")));var p=l[d];J(p)?i=!1:p.startsWith(v)?h&&!p.endsWith("!important")&&(i=!1):i=!1}j(l).length>o.length&&(i=!1),H.call(u,";")}}else i=!1;return i}(e,t);return n&&r&&o}var na=!1;var ra,oa,aa,ia=C(null),la=document.head||document.body||document,ua=te(CSSStyleSheet.prototype.replaceSync)&&L(document.adoptedStyleSheets),ca=ua&&T(document.adoptedStyleSheets,"length").writable,sa=C(null),fa=C(null),da=new WeakMap;if(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}}())ra=customElements.get.bind(customElements),oa=customElements.define.bind(customElements),aa=HTMLElement;else{var va=C(null),ha=new WeakMap;oa=function(e,t){if(e!==Y.call(e)||va[e])throw new TypeError("Invalid Registration");va[e]=t,ha.set(t,e)},ra=function(e){return va[e]},(aa=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=ha.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return _(r,t.prototype),r}).prototype=HTMLElement.prototype}var pa=!1;function ma(e){pa=e}var ya=fe.$isNativeShadowRootDefined$,ga=P.call(Element.prototype,"$shadowToken$");function wa(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function ba(e,t,n){for(var r=So(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()}),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 ka(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(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(Ao(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{ma(!0);var r=ba(e,t,n);qo(r),ma(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),wa(e,t),ba(e,t,n),ma(!1),Eo(e)}finally{ma(!1)}}Ve=function(e,t){return pa?e.shadowRoot:e.attachShadow(t)},Be=function(e){return document.createComment(e)},Fe=function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},We=function(e){return document.createTextNode(e)},pt=oa,Qe=function(e,t){return e.dispatchEvent(t)},ze=function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},tt=function(e){return e.getBoundingClientRect()},lt=function(e){return e.childNodes},it=function(e){return e.children},Ze=function(e){return e.classList},mt=ra,at=function(e,t){return e.getElementsByClassName(t)},ot=function(e,t){return e.getElementsByTagName(t)},ut=function(e){return e.firstChild},ct=function(e){return e.firstElementChild},st=function(e){return e.lastChild},ft=function(e){return e.lastElementChild},Ke=function(e,t){return e[t]},Le=aa,Ie=function(e,t,n){t.insertBefore(e,n)},vt=function(e){if(J(ia[e])){ia[e]=!0;var t=document.createElement("style");t.type="text/css",t.textContent=e,la.appendChild(t)}},ht=function(e,t){ua?function(e,t){var n=fa[e];J(n)&&((n=new CSSStyleSheet).replaceSync(e),fa[e]=n);var r=t.adoptedStyleSheets;r.includes(n)||(ca?r.push(n):t.adoptedStyleSheets=[].concat(m(r),[n]))}(e,t):function(e,t){var n=da.get(t);if(J(n)&&(n=C(null),da.set(t,n)),!n[e]){n[e]=!0;var r=sa[e];J(r)?((r=document.createElement("style")).type="text/css",r.textContent=e,sa[e]=r):r=r.cloneNode(!0),t.appendChild(r)}}(e,t)},dt=function(e){return e.isConnected},De=function(){return pa},Re=ya,_e=ga,$e=function(e){return e.nextSibling},nt=function(e,t){return e.querySelector(t)},rt=function(e,t){return e.querySelectorAll(t)},He=function(e,t){t.removeChild(e)},Xe=function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Je=function(e,t,n,r){e.removeEventListener(t,n,r)},qe=function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},et=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},Ge=function(e,t,n){e[t]=n},Ue=function(e,t){e.nodeValue=t},je=!1,Ye=function(e,t,n,r){e.addEventListener(t,n,r)};var Ea=new WeakSet;function Ca(e){var t=function(e){return rr(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?(ka(s(t),e,{}),Ea.add(s(t))):So(s(t),e,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Ea.has(this)?Ea.delete(this):Eo(this)}},{key:"disconnectedCallback",value:function(){Co(this)}}]),r}(t)}var Ma=Node,Oa=new WeakMap,Sa=new WeakMap;function Ta(e,t){var n=t.get(e);return J(n)||n(e),e}var xa=Ma.prototype,Aa=xa.appendChild,Pa=xa.insertBefore,Na=xa.removeChild,ja=xa.replaceChild;E(Ma.prototype,{appendChild:function(e){return Ta(Aa.call(this,e),Oa)},insertBefore:function(e,t){return Ta(Pa.call(this,e,t),Oa)},removeChild:function(e){return Ta(Na.call(this,e),Sa)},replaceChild:function(e,t){var n=ja.call(this,e,t);return Ta(n,Sa),Ta(e,Oa),n}});var Ra=Node;var _a=new Map;O(Cn,"CustomElementConstructor",{get:function(){return function(e){if(e===Cn)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=_a.get(e);return J(t)&&(t=Ca(e),_a.set(e,t)),t}(this)}}),S(Cn),R(Cn.prototype),e.LightningElement=Cn,e.__unstable__ProfilerControl=Ur,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=Ko(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){Vo.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(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=ar(e),o=!1,a=new r((function(r){So(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Oa.set(r,Eo),Sa.set(r,Co),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.getComponentConstructor=function(e){var t=null;if(e instanceof HTMLElement){var n=Ao(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=rr(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:he(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ka,e.isComponentConstructor=nr,e.isNodeFromTemplate=function(e){if(ee(e instanceof Ra))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(A(t),"synthetic")))||ga&&!J(e.$shadowResolver$)},e.readonly=function(e){return kn.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<ho.length;++t){var n=ho[t];if(n in e){var r=vo[n];J(r)&&(vo[n]=r=[]),W.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&io.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=C(null),s=C(null),f=C(null),d=C(null),v=C(null),h=C(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=Hn(p,n)}else n=J(n)||J(n.get)?Dn(p):Hn(p,n);s[p]=n,O(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;c[e]=n})),!J(i))for(var y in i){var g=i[y],w=g.adapter,b=g.method,k=g.config,E=g.dynamic,M=void 0===E?[]:E;if(n=T(r,y),1===b){if(J(n))throw new Error;f[y]=n,Go(n,w,k,M)}else n=_n(y),d[y]=n,Uo(n,w,k,M),O(r,y,n)}if(!J(l))for(var S in l)n=T(r,S),n=Ln(S),O(r,S,n);if(!J(u))for(var x=0,A=u.length;x<A;x++){var P=u[x];n=T(r,P);var N=!J(o)&&P in o,j=!J(l)&&P in l;N||j||(v[P]=Fn(P))}return function(e,t){Wn.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return $n.add(e),O(e,"stylesheetTokens",{get:function(){var e=this.stylesheetToken;return J(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=J(e)?void 0:e.shadowAttribute}}),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Oe[e])){var n=j(Oe).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=Se[e];J(r)?O(Se,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;k.isFalse(na,"Hooks are already overridden, only one definition is allowed."),na=!0,t=e.sanitizeHtmlContent,Ir=t},e.swapComponent=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return kn.getProxy(e);throw new Error},e.unwrap=function(e){return kn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -350,7 +350,7 @@
350
350
  var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
351
351
  var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
352
352
  var XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
353
- /** version: 2.11.3 */
353
+ /** version: 2.11.6 */
354
354
 
355
355
  /*
356
356
  * Copyright (c) 2018, salesforce.com, inc.
@@ -520,7 +520,7 @@
520
520
 
521
521
  function setFeatureFlagForTest(name, value) {
522
522
  }
523
- /** version: 2.11.3 */
523
+ /** version: 2.11.6 */
524
524
 
525
525
  /* proxy-compat-disable */
526
526
 
@@ -2632,6 +2632,13 @@
2632
2632
  var meta = signedDecoratorToMetaMap.get(Ctor);
2633
2633
  return isUndefined$1(meta) ? defaultMeta : meta;
2634
2634
  }
2635
+ /*
2636
+ * Copyright (c) 2018, salesforce.com, inc.
2637
+ * All rights reserved.
2638
+ * SPDX-License-Identifier: MIT
2639
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2640
+ */
2641
+
2635
2642
 
2636
2643
  var signedTemplateSet = new Set();
2637
2644
 
@@ -2652,7 +2659,33 @@
2652
2659
 
2653
2660
  function registerTemplate(tpl) {
2654
2661
 
2655
- signedTemplateSet.add(tpl); // chaining this method as a way to wrap existing
2662
+ signedTemplateSet.add(tpl); // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2663
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2664
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2665
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2666
+
2667
+ defineProperty(tpl, 'stylesheetTokens', {
2668
+ get: function get() {
2669
+ var stylesheetToken = this.stylesheetToken;
2670
+
2671
+ if (isUndefined$1(stylesheetToken)) {
2672
+ return stylesheetToken;
2673
+ } // Shim for the old `stylesheetTokens` property
2674
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2675
+
2676
+
2677
+ return {
2678
+ hostAttribute: "".concat(stylesheetToken, "-host"),
2679
+ shadowAttribute: stylesheetToken
2680
+ };
2681
+ },
2682
+ set: function set(value) {
2683
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2684
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2685
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2686
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2687
+ }
2688
+ }); // chaining this method as a way to wrap existing
2656
2689
  // assignment of templates easily, without too much transformation
2657
2690
 
2658
2691
  return tpl;
@@ -6362,7 +6395,7 @@
6362
6395
  hooksAreSet = true;
6363
6396
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
6364
6397
  }
6365
- /* version: 2.11.3 */
6398
+ /* version: 2.11.6 */
6366
6399
 
6367
6400
  /*
6368
6401
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7107,7 +7140,7 @@
7107
7140
  });
7108
7141
  freeze(LightningElement);
7109
7142
  seal(LightningElement.prototype);
7110
- /* version: 2.11.3 */
7143
+ /* version: 2.11.6 */
7111
7144
 
7112
7145
  exports.LightningElement = LightningElement;
7113
7146
  exports.__unstable__ProfilerControl = profilerControl;
@@ -421,9 +421,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
421
421
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
422
422
  */
423
423
  // Increment whenever the LWC template compiler changes
424
- const LWC_VERSION = "2.11.3";
424
+ const LWC_VERSION = "2.11.6";
425
425
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
426
- /** version: 2.11.3 */
426
+ /** version: 2.11.6 */
427
427
 
428
428
  /*
429
429
  * Copyright (c) 2020, salesforce.com, inc.
@@ -531,7 +531,7 @@ function setFeatureFlagForTest(name, value) {
531
531
  setFeatureFlag(name, value);
532
532
  }
533
533
  }
534
- /** version: 2.11.3 */
534
+ /** version: 2.11.6 */
535
535
 
536
536
  /* proxy-compat-disable */
537
537
 
@@ -2806,6 +2806,12 @@ function checkVersionMismatch(func, type) {
2806
2806
  }
2807
2807
  }
2808
2808
 
2809
+ /*
2810
+ * Copyright (c) 2018, salesforce.com, inc.
2811
+ * All rights reserved.
2812
+ * SPDX-License-Identifier: MIT
2813
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2814
+ */
2809
2815
  const signedTemplateSet = new Set();
2810
2816
  function defaultEmptyTemplate() {
2811
2817
  return [];
@@ -2823,6 +2829,30 @@ function registerTemplate(tpl) {
2823
2829
  checkVersionMismatch(tpl, 'template');
2824
2830
  }
2825
2831
  signedTemplateSet.add(tpl);
2832
+ // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2833
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2834
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2835
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2836
+ defineProperty(tpl, 'stylesheetTokens', {
2837
+ get() {
2838
+ const { stylesheetToken } = this;
2839
+ if (isUndefined$1(stylesheetToken)) {
2840
+ return stylesheetToken;
2841
+ }
2842
+ // Shim for the old `stylesheetTokens` property
2843
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2844
+ return {
2845
+ hostAttribute: `${stylesheetToken}-host`,
2846
+ shadowAttribute: stylesheetToken,
2847
+ };
2848
+ },
2849
+ set(value) {
2850
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2851
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2852
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2853
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2854
+ },
2855
+ });
2826
2856
  // chaining this method as a way to wrap existing
2827
2857
  // assignment of templates easily, without too much transformation
2828
2858
  return tpl;
@@ -6152,7 +6182,7 @@ function setHooks(hooks) {
6152
6182
  hooksAreSet = true;
6153
6183
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
6154
6184
  }
6155
- /* version: 2.11.3 */
6185
+ /* version: 2.11.6 */
6156
6186
 
6157
6187
  /*
6158
6188
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6619,7 +6649,7 @@ function renderComponent(tagName, Ctor, props = {}) {
6619
6649
  */
6620
6650
  freeze(LightningElement);
6621
6651
  seal(LightningElement.prototype);
6622
- /* version: 2.11.3 */
6652
+ /* version: 2.11.6 */
6623
6653
 
6624
6654
  exports.LightningElement = LightningElement;
6625
6655
  exports.api = api$1;