lwc 2.19.1 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +8 -8
- package/dist/engine-dom/iife/es2017/engine-dom.js +8 -8
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +6 -6
- package/dist/engine-dom/iife/es5/engine-dom.js +9 -9
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +6 -7
- package/dist/engine-dom/umd/es2017/engine-dom.js +8 -8
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +6 -6
- package/dist/engine-dom/umd/es5/engine-dom.js +9 -9
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +6 -7
- package/dist/engine-server/commonjs/es2017/engine-server.js +39 -51
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +39 -51
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(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 g(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)||y(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 y(e,t){if(e){if("string"==typeof e)return b(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)?b(e,t):void 0}}function b(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 w(e){return w="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},w(e)}var C=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,k=Object.create,S=Object.defineProperties,M=Object.defineProperty,T=Object.freeze,O=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,x=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,L=Object.keys,j=Object.seal,R=Object.setPrototypeOf,_=Array.isArray,D=Array.prototype,F=D.indexOf,H=D.join,I=D.map,B=D.push,W=D.slice,V=D.splice,$=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"===w(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?_(e)?H.call(I.call(e,ie),","):e.toString():"object"===w(e)?ae.call(e):e+""}function le(e,t){do{var n=O(e,t);if(!J(n))return n;e=x(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=k(null),t=k(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":w(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 ge=new WeakMap;function ye(e){var t=ge.get(e);return void 0===t&&(t={},ge.set(e,t)),t}function be(e,t){return{get:function(){var n=ye(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);ye(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function we(e){var t=be(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var Ce=L(se),Ee=0,ke=Ce.length;Ee<ke;Ee+=1){me(Ut=Ce[Ee])&&we(Ut)}var Se={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:k(null)});var Me=fe.lwcRuntimeFlags;var Te=[],Oe=j(k(null)),Ae=j([]);function xe(){var e=Te;Te=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Pe(e){0===Te.length&&Promise.resolve().then(xe),B.call(Te,e)}var Ne=/;(?![^(]*\))/g,Le=/:(.+)/;function je(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=y(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(Ne));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=g(o.split(Le),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 Re(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var _e=new WeakMap;var De=null;function Fe(e,t){var n=_e.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 He(e,t){if(null!==De){var n=De,r=function(e){var t=_e.get(e);if(J(t)){var n=k(null);t=n,_e.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===F.call(o,n)&&n.link(o)}}var Ie=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=De;De=this;try{e()}catch(e){t=Object(e)}finally{if(De=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=F.call(e[n],this);V.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){B.call(e,this),B.call(this.listeners,e)}}]),e}();function Be(e,t){Fe(e.component,t)}function We(e,t){He(e.component,t)}function Ve(e){return"<".concat(Y.call(e.tagName),">")}function $e(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)B.call(t,Ve(n)),n=n.owner;return t.reverse().join("\n\t")}(e);M(t,"wcStack",{get:function(){return n}})}}function Ke(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);)B.call(t,n+Ve(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function Ge(e,t){Ke("error",e,t)}function Ue(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ze(e){return te(e)&&P.call(e,"__circular__")}var qe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Xe=qe.prototype;function Ye(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(k(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:Ye("offsetHeight")},offsetLeft:{readOnly:!0,error:Ye("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ye("offsetTop")},offsetWidth:{readOnly:!0,error:Ye("offsetWidth")},role:{attribute:"role"}});var Je,Qe=null;function Ze(e,t){return e!==Qe||t!==Je}function et(e,t){Qe=null,Je=void 0}function tt(e,t){Qe=e,Je=t}var nt=k(null);K.call(L(se),(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)}));var rt=Array.isArray,ot=Object.prototype,at=Object.getPrototypeOf,it=Object.create,lt=Object.defineProperty,ut=Object.isExtensible,ct=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyNames,ft=Object.getOwnPropertySymbols,dt=Object.preventExtensions,vt=Object.hasOwnProperty,ht=Array.prototype,pt=ht.push,mt=ht.concat;function gt(e){return void 0===e}function yt(e){return"function"==typeof e}var bt=new WeakMap;function wt(e,t){bt.set(e,t)}var Ct=function(e){return bt.get(e)||e},Et=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.wrapGetter(n)),gt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=ct(n,t);if(!gt(r)){var o=this.wrapDescriptor(r);lt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;mt.call(st(n),ft(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;gt(r)||vt.call(e,r)||lt(e,r,it(null)),dt(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=gt(n)||vt.call(t,n)?[]:[n];return pt.apply(r,st(t)),pt.apply(r,ft(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!ut(e)&&(!!ut(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return at(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=ct(n,t);if(gt(i)){if(t!==a)return;return lt(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}(),kt=new WeakMap,St=new WeakMap,Mt=new WeakMap,Tt=new WeakMap,Ot=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=kt.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return kt.set(e,r),Mt.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=St.get(e);if(!gt(t))return t;var n=function(t){e.call(Ct(this),Ct(t))};return St.set(e,n),Tt.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=Ct(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.unwrapGetter(n)),gt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=Mt.get(e);if(!gt(t))return t;var n=this,r=function(){return Ct(e.call(n.wrapValue(this)))};return kt.set(r,e),Mt.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=Tt.get(e);if(!gt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return St.set(r,e),Tt.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&&rt(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(ut(e)){var t=this.originalTarget;if(dt(t),ut(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&&!vt.call(r,t)||(lt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(Et),At=new WeakMap,xt=new WeakMap,Pt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=At.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return At.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=xt.get(e);if(!gt(t))return t;var n=function(e){};return xt.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(Et);function Nt(e){if(null===e)return!1;if("object"!==w(e))return!1;if(rt(e))return!0;var t=at(e);return t===ot||null===t||null===at(t)}var Lt=function(e,t){},jt=function(e,t){};function Rt(e){return rt(e)?[]:{}}var _t=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=yt(n)?n:jt,this.valueObserved=yt(r)?r:Lt,this.valueIsObservable=yt(o)?o:Nt,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=Ct(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=Ct(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return Ct(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(gt(t)){var n=new Ot(this,e);wt(t=new Proxy(Rt(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(gt(t)){var n=new Pt(this,e);wt(t=new Proxy(Rt(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),Dt=Symbol.for("@@lockerLiveValue"),Ft=new _t({valueObserved:He,valueMutated:Fe,tagPropertyKey:Dt});function Ht(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=$r(this);if(!br(t))return We(t,e),n.call(t.elm)},set:function(t){var n=$r(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Be(n,e)),r.call(n.elm,t)}}}var It=function(){if(Q(yr))throw new ReferenceError("Illegal constructor");var e=yr,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return this[Dt]=void 0,Vr(o,e),Vr(n,e),1===e.renderMode?e.renderRoot=Bt(e):e.renderRoot=n,this};function Bt(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=(0,e.renderer.attachShadow)(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Vr(l,e),l}It.prototype={constructor:It,dispatchEvent:function(e){var t=$r(this),n=t.elm,r=t.renderer.dispatchEvent;return r(n,e)},addEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.addEventListener;a(o,e,Or(r,t),n)},removeEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.removeEventListener;a(o,e,Or(r,t),n)},hasAttribute:function(e){var t=$r(this),n=t.elm;return!Q((0,t.renderer.getAttribute)(n,e))},hasAttributeNS:function(e,t){var n=$r(this),r=n.elm;return!Q((0,n.renderer.getAttribute)(r,t,e))},removeAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.removeAttribute;tt(n,e),r(n,e),et()},removeAttributeNS:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.removeAttribute;tt(r,t),o(r,t,e),et()},getAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.getAttribute;return r(n,e)},getAttributeNS:function(e,t){var n=$r(this),r=n.elm;return(0,n.renderer.getAttribute)(r,t,e)},setAttribute:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.setAttribute;tt(r,e),o(r,e,t),et()},setAttributeNS:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.setAttribute;tt(o,t),a(o,t,n,e),et()},getBoundingClientRect:function(){var e=$r(this),t=e.elm,n=e.renderer.getBoundingClientRect;return n(t)},get isConnected(){var e=$r(this),t=e.elm;return(0,e.renderer.isConnected)(t)},get classList(){var e=$r(this),t=e.elm;return(0,e.renderer.getClassList)(t)},get template(){return $r(this).shadowRoot},get shadowRoot(){return null},get children(){var e=$r(this);return e.renderer.getChildren(e.elm)},get childNodes(){var e=$r(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){var e=$r(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){var e=$r(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){var e=$r(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){var e=$r(this);return e.renderer.getLastElementChild(e.elm)},render:function(){return $r(this).def.template},toString:function(){var e=$r(this);return"[object ".concat(e.def.name,"]")}};for(var Wt=k(null),Vt=function(){var e=Kt[$t];Wt[e]={value:function(t){var n=$r(this),r=n.elm;return n.renderer[e](r,t)},configurable:!0,enumerable:!0,writable:!0}},$t=0,Kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];$t<Kt.length;$t++)Vt();S(It.prototype,Wt);var Gt=k(null);for(var Ut in nt)Gt[Ut]=Ht(Ut,nt[Ut]);function zt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}function qt(e){return{get:function(){var t=$r(this);if(!br(t))return We(t,e),t.cmpProps[e]},set:function(t){var n=$r(this);n.cmpProps[e]=t,Be(n,e)},enumerable:!0,configurable:!0}}S(It.prototype,Gt),M(It,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Xt=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,Pe((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&&Dr(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}(Ie);function Yt(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=$r(this);if(r)if(Me.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Xt(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Jt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this),r=Ft.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Be(n,e))},enumerable:!0,configurable:!0}}function Qt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}var Zt=new Map;var en={apiMethods:Oe,apiFields:Oe,apiFieldsConfig:Oe,wiredMethods:Oe,wiredFields:Oe,observedFields:Oe};var tn=new Set;function nn(){return[]}tn.add(nn);var rn=k(null),on=k(null);function an(e){var t=rn[e];return J(t)&&(t=rn[e]=function(){var t=$r(this);return(0,t.getHook)(t.component,e)}),t}function ln(e){var t=on[e];return J(t)&&(t=on[e]=function(t){var n=$r(this),r=n.setHook;t=Ft.getReadOnlyProxy(t),r(n.component,e,t)}),t}function un(e){return function(){var t=$r(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function cn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Ze(this,n)&&(this[a]=o)}}}function sn(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(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),M(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=k(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=k(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[he(h)]=h,s[h]={get:an(h),set:ln(h),enumerable:!0,configurable:!0}}for(var g=0,y=n.length;g<y;g+=1){var b=n[g];s[b]={value:un(b),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:cn(o,a)},M(r,"observedAttributes",{get:function(){return[].concat(m(c),m(L(o)))}}),S(r.prototype,s),r}var fn=sn(qe,A(nt),[]);T(fn),j(fn.prototype);var dn=new WeakMap;function vn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Zt.get(e);return J(t)?en: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=x(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(ze(t)){var n=Ue(t);t=n===t?It:n}return t}(e),g=m!==It?pn(m):mn,y=sn(g.bridge,L(o),L(i)),b=E(k(null),g.props,o),w=E(k(null),g.propsConfig,a),C=E(k(null),g.methods,i),M=E(k(null),g.wire,l,u);f=f||g.connectedCallback,d=d||g.disconnectedCallback,v=v||g.renderedCallback,h=h||g.errorCallback,p=p||g.render;var T=g.shadowSupportMode;J(t)||(T=t);var O=g.renderMode;J(n)||(O="light"===n?0:1);var A=function(e){return Er.get(e)}(e)||g.template,P=e.name||g.name;return S(s,c),{ctor:e,name:P,wire:M,props:b,propsConfig:w,methods:C,bridge:y,template:A,renderMode:O,shadowSupportMode:T,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function hn(e){if(!te(e))return!1;if(e.prototype instanceof It)return!0;var t=e;do{if(ze(t)){var n=Ue(t);if(n===t)return!0;t=n}if(t===It)return!0}while(!Q(t)&&(t=x(t)));return!1}function pn(e){var t=dn.get(e);if(J(t)){if(ze(e))return t=pn(Ue(e)),dn.set(e,t),t;if(!hn(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=vn(e),dn.set(e,t)}return t}var mn={ctor:It,name:It.name,props:Gt,propsConfig:Oe,methods:Oe,renderMode:1,shadowSupportMode:"reset",wire:Oe,bridge:fn,template:nn,render:It.prototype.render};function gn(e,t){var n=t.getCustomElement,r=t.HTMLElementExported,o=t.defineCustomElement,a=n(e=e.toLowerCase());return J(a)?(o(e,a=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)}(r)),a):a}function yn(e){var t=e.type;return 2===t||3===t}function bn(e,t){return e.key===t.key&&e.sel===t.sel}function wn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Cn(e,t,n){var r=t.data.props;if(!J(r)){var o=Q(e)?Oe:e.data.props;if(o!==r){var a=Q(e),i=t.elm,l=t.sel,u=n.getProperty,c=n.setProperty;for(var s in r){var f=r[s];(a||f!==(wn(l,s)?u(i,s):o[s]))&&c(i,s,f)}}}}var En=k(null);function kn(e){if(null==e)return Oe;e=re(e)?e:e+"";var t=En[e];if(t)return t;t=k(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),En[e]=t,t}function Sn(e,t){var n=e.elm,r=e.data.on;if(!J(r)){var o=t.addEventListener;for(var a in r){o(n,a,r[a])}}}function Mn(e,t,n,r){var o;o=t,Bn.has(o)?function(e,t,n,r){var o,a,i,l=0,u=0,c=e.length-1,s=e[0],f=e[c],d=t.length-1,v=d,h=t[0],p=t[v],g=!1;for(;l<=c&&u<=v;)Nn(s)?Nn(f)?Nn(h)?Nn(p)?bn(s,h)?(Tn(s,h,r),s=e[++l],h=t[++u]):bn(f,p)?(Tn(f,p,r),f=e[--c],p=t[--v]):bn(s,p)?(Tn(s,p,r),Dn(s.elm,n,r.nextSibling(f.elm),r),s=e[++l],p=t[--v]):bn(f,h)?(Tn(f,h,r),Dn(h.elm,n,s.elm,r),f=e[--c],h=t[++u]):(void 0===o&&(o=Wn(e,l,c)),J(a=o[h.key])?(On(h,n,r,s.elm),h=t[++u]):(Nn(i=e[a])&&(i.sel!==h.sel?On(h,n,r,s.elm):(Tn(i,h,r),g||(g=!0,e=m(e)),e[a]=void 0,Dn(i.elm,n,s.elm,r))),h=t[++u])):p=t[--v]:h=t[++u]:f=e[--c]:s=e[++l];if(l<=c||u<=v)if(l>c){var y,b=v;do{y=t[++b]}while(!Nn(y)&&b<d);An(t,n,r,Nn(y)?y.elm:null,u,v+1)}else Pn(e,n,r,!0,l,c+1)}(e,t,n,r):function(e,t,n,r){var o=e.length,a=t.length;if(0===o)return void An(t,n,r,null);if(0===a)return void Pn(e,n,r,!0);for(var i=null,l=a-1;l>=0;l-=1){var u=e[l],c=t[l];c!==u&&(Nn(u)?Nn(c)?(Tn(u,c,r),i=c.elm):xn(u,n,r,!0):Nn(c)&&(On(c,n,r,i),i=c.elm))}}(e,t,n,r)}function Tn(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&_n(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){var r=t.elm=e.elm;Hn(e,t,n),Mn(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){var r=t.elm=e.elm,o=t.vm=e.vm;Hn(e,t,n),J(o)||In(t,o);Mn(e.children,t.children,r,n),J(o)||Dr(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function On(e,t,n,r){var o,a;switch(e.type){case 0:!function(e,t,n,r){var o=e.owner,a=r.createText,i=e.elm=a(e.text);Rn(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){var o=e.owner,a=r.createComment,i=e.elm=a(e.text);Rn(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){var o=e.owner,a=r.cloneNode,i=r.isSyntheticShadowDefined,l=e.elm=a(e.fragment,!0);Rn(l,o,r);var u=o.renderMode,c=o.shadowMode;i&&(1!==c&&0!==u||(l.$shadowStaticNode$=!0));Dn(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){var o=e.sel,a=e.owner,i=e.data.svg,l=r.createElement,u=Z(i)?pe:void 0,c=l(o,u);Rn(c,a,r),function(e,t,n){var r=t.owner;if(jn(e,r,n),1===r.shadowMode){var o=t.data.context,a=r.context.stylesheetToken;J(o)||J(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),J(a)||Ln(e,a)}}(c,e,r),e.elm=c,Hn(null,e,r),Dn(c,t,n,r),An(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){var o,a=e.sel,i=e.owner,l=gn(a,r),u=new l((function(t){o=function(e,t,n){var r=Kr(e);if(!J(r))return r;var o=t.sel,a=t.mode,i=t.ctor,l=t.owner;if(jn(e,l,n),1===l.shadowMode){var u=l.context.stylesheetToken;J(u)||Ln(e,u)}return r=Wr(e,i,n,{mode:a,owner:l,tagName:o})}(t,e,r)}));if(Rn(u,i,r),e.elm=u,e.vm=o,o)In(e,o);else if(e.ctor!==l)throw new TypeError("Incorrect Component Constructor");Hn(null,e,r),Dn(u,t,n,r),o&&Xr(o);An(e.children,u,r,null),o&&function(e){Gr(e)}(o)}(e,t,r,null!==(a=e.data.renderer)&&void 0!==a?a:n)}}function An(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Nn(i)&&On(i,t,n,r)}}function xn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.type,a=e.elm,i=e.sel;switch(r&&Fn(a,t,n),o){case 2:var l="slot"===i&&1===e.owner.shadowMode;Pn(e.children,a,n,l);break;case 3:var u=e.vm;J(u)||Br(u)}}function Pn(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Nn(i)&&xn(i,t,n,r)}}function Nn(e){return null!=e}function Ln(e,t){e.$shadowToken$=t}function jn(e,t,n){var r=t.cmpTemplate,o=t.context,a=n.getClassList,i=null==r?void 0:r.stylesheetToken;!J(i)&&o.hasScopedStyles&&a(e).add(i)}function Rn(e,t,n){var r=t.renderRoot,o=t.renderMode,a=t.shadowMode;n.isSyntheticShadowDefined&&(1!==a&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function _n(e,t){var n=e.elm,r=e.text;(0,t.setText)(n,r)}function Dn(e,t,n,r){r.insert(e,t,n)}function Fn(e,t,n){n.remove(e,t)}function Hn(e,t,n){Q(e)&&(Sn(t,n),function(e,t){var n=e.elm,r=e.data.classMap;if(!J(r)){var o=(0,t.getClassList)(n);for(var a in r)o.add(a)}}(t,n),function(e,t){var n=e.elm,r=e.data.styleDecls;if(!J(r))for(var o=t.setCSSStyleProperty,a=0;a<r.length;a++){var i=g(r[a],3);o(n,i[0],i[1],i[2])}}(t,n)),function(e,t,n){var r=t.elm,o=t.data.className,a=Q(e)?void 0:e.data.className;if(a!==o){var i,l=(0,n.getClassList)(r),u=kn(o),c=kn(a);for(i in c)J(u[i])&&l.remove(i);for(i in u)J(c[i])&&l.add(i)}}(e,t,n),function(e,t,n){var r=t.elm,o=t.data.style;if((Q(e)?void 0:e.data.style)!==o){var a=n.setAttribute,i=n.removeAttribute;re(o)&&""!==o?a(r,"style",o):i(r,"style")}}(e,t,n),function(e,t,n){var r=t.data.attrs;if(!J(r)){var o=Q(e)?Oe:e.data.attrs;if(o!==r){var a=t.elm,i=n.setAttribute,l=n.removeAttribute;for(var u in r){var c=r[u];o[u]!==c&&(tt(a,u),58===z.call(u,3)?i(a,u,c,"http://www.w3.org/XML/1998/namespace"):58===z.call(u,5)?i(a,u,c,"http://www.w3.org/1999/xlink"):Q(c)||J(c)?l(a,u):i(a,u,c),et())}}}}(e,t,n),Cn(e,t,n)}function In(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=k(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";yn(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];B.call(c,l)}}if(ee(e.isDirty)){var s=L(r);if(s.length!==L(o).length)return void Mr(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 Mr(e);for(var h=r[v],p=o[v],m=0,g=o[v].length;m<g;m+=1)if(h[m]!==p[m])return void Mr(e)}}}(t,n),e.aChildren=n,e.children=Ae)}var Bn=new WeakMap;function Wn(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(Nn(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Vn=Symbol.iterator;function $n(e){B.call(dr().velements,e)}function Kn(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ae,o=dr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Gn(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae,l=dr(),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 $n(c),c}var Un=new Map,zn=0;function qn(e){var t;return t=e,Bn.set(t,1),e}var Xn=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Yn=T({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=dr(),a=o.renderMode,i=o.shadowMode;return 0===a?(qn(n),n):(1===i&&qn(n),Kn("slot",t,n))},h:Kn,c:Gn,i:function(e,t){var n=[];if(qn(n),J(e)||null===e)return n;for(var r=e[Vn](),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));_(c)?B.apply(n,c):B.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];qn(n);for(var r=0;r<t;r+=1){var o=e[r];_(o)?B.apply(n,o):B.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=dr();if(Q(t))throw new Error;var n=t;return function(t){Cr(n,e,n.component,t)}},k:function(e,t){switch(w(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae;if(null==t)return null;if(!hn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Un.get(t);J(o)&&(o=zn++,Un.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Gn(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:dr()}},gid:function(e){var t=dr();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=dr();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 Xn(e)}});function Jn(e){return"".concat(e,"-host")}function Qn(e){return Yn.h("style",{key:"style",attrs:{type:"text/css"}},[Yn.t(e)])}function Zn(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(_(i))B.apply(o,Zn(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=tr(n)),s=Q(r)||0===r.shadowMode),B.call(o,i(u,c,s))}}return o}function er(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Zn(n,r,e)),o}function tr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function nr(e,t){var n=e.renderMode,r=e.shadowMode,o=e.renderer,a=o.ssr,i=o.insertStylesheet;if(1===n&&1===r)for(var l=0;l<t.length;l++)i(t[l]);else{if(a||e.hydrated)return I.call(t,Qn);for(var u=function(e){var t=tr(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(u)?void 0:u.shadowRoot,s=0;s<t.length;s++)i(t[s],c)}return null}var rr=!1,or=oe,ar={enableProfiler:function(){rr=!0},disableProfiler:function(){rr=!1},attachDispatcher:function(e){or=e,this.enableProfiler()},detachDispatcher:function(){var e=or;return or=oe,this.disableProfiler(),e}};function ir(e,t){rr&&or(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function lr(e,t){rr&&or(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ur(e,t){rr&&or(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 cr(e,t){rr&&or(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 sr=!1,fr=null;function dr(){return fr}function vr(e){fr=e}function hr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=k(null);return function(){var n=dr(),o=n.context,i=o.hasScopedStyles,l=o.stylesheetToken,u=n.shadowMode,c=n.renderer,s=!J(l),f=1===u,d=0;if(s&&i&&(d|=1),s&&f&&(d|=2),!J(a[d]))return a[d];for(var v=i&&s?" "+l:"",h=i&&s?' class="'.concat(l,'"'):"",p=s&&f?" "+l:"",m="",g=0,y=r.length;g<y;g++)switch(r[g]){case 0:m+=t[g]+v;break;case 1:m+=t[g]+h;break;case 2:m+=t[g]+p;break;case 3:m+=t[g]+h+p}return m+=t[t.length-1],a[d]=e(m,c),a[d]}}}var pr=hr((function(e,t){return(0,t.createFragment)(e)})),mr=hr((function(e,t){var n=t.createFragment;return(0,t.getFirstChild)(n("<svg>"+e+"</svg>"))}));function gr(e,t){var n=sr,r=fr,o=[];return eo(e,e.owner,(function(){fr=e,ir(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)||Zr(e),u=t,!tn.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=k(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=e.renderer,s=c.getClassList,f=c.removeAttribute,d=c.setAttribute,v=t.stylesheets,h=t.stylesheetToken,p=1===l&&1===u,m=i.hasScopedStyles,g=i.stylesheetToken,y=i.hasTokenInClass,b=i.hasTokenInAttribute;J(g)||(y&&s(a).remove(Jn(g)),b&&f(a,Jn(g))),J(v)||0===v.length||(n=h),J(n)||(m&&(s(a).add(Jn(n)),r=!0),p&&(d(a,Jn(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=er(e,t);r.styleVNodes=0===l.length?null:nr(e,l)}var u;e.velements=[],sr=!0,o=t.call(void 0,Yn,n,a,r.tplCache);var c=r.styleVNodes;Q(c)||$.apply(o,c)}))}),(function(){sr=n,fr=r,lr(1,e)})),o}var yr=null;function br(e){return yr===e}function wr(e,t,n){var r=e.component,o=e.callHook;eo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function Cr(e,t,n,r){var o=e.callHook;eo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var Er=new Map;function kr(e){return new Ie((function(){ee(e.isDirty)&&(Mr(e),function(e){if(Z(e.renderer.ssr)||Z(e.isScheduled))return;e.isScheduled=!0,0===zr.length&&Pe(qr);B.call(zr,e)}(e))}))}function Sr(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=dr(),l=!1;return eo(e,a,(function(){vr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){vr(i)})),l?gr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Mr(e){e.isDirty=!0}var Tr=new WeakMap;function Or(e,t){if(!te(t))throw new TypeError;var n=Tr.get(t);return J(n)&&(n=function(n){Cr(e,t,void 0,n)},Tr.set(t,n)),n}var Ar=k(null),xr=["rendered","connected","disconnected"];function Pr(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 Nr=0,Lr=new WeakMap;function jr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function Rr(e,t,n){e[t]=n}function _r(e,t){return e[t]}function Dr(e){Gr(e)}function Fr(e){var t=$r(e);ur(7,t),1===t.state&&Hr(e),Xr(t),Gr(t),cr(7,t)}function Hr(e){Ir($r(e))}function Ir(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=Ar.disconnected;t&&Pr(e,t);Yr(e)&&function(e){var t=e.context.wiredDisconnecting;eo(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)||(ir(5,e),wr(e,n),lr(5,e))}(e),Jr(e),function(e){Qr(e.aChildren)}(e)}}function Br(e){Ir(e)}function Wr(e,t,n,r){var o=r.mode,a=r.owner,i=r.tagName,l=r.hydrated,u=pn(t),c={elm:e,def:u,idx:Nr++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,children:Ae,aChildren:Ae,velements:Ae,cmpProps:k(null),cmpFields:k(null),cmpSlots:k(null),oar:k(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Oe,wiredConnecting:Ae,wiredDisconnecting:Ae},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:jr,setHook:Rr,getHook:_r,renderer:n};return c.shadowMode=function(e,t){var n,r=e.def,o=t.isSyntheticShadowDefined,a=t.isNativeShadowDefined;if(o)if(0===r.renderMode)n=0;else if(a)if(Me.ENABLE_MIXED_SHADOW_MODE)if("any"===r.shadowSupportMode)n=0;else{var i=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=Q(i)||0!==i.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c,n),c.tro=kr(c),function(e,t){var n,r=yr;ir(0,e),yr=e;try{var o=new t;if(yr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(lr(0,e),yr=r,!J(n))throw $e(e,n),n}}(c,u.ctor),Yr(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=to.get(i);J(l)||function(){var t=ro(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;B.call(r,(function(){n.connect(),Me.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),B.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function Vr(e,t){Lr.set(e,t)}function $r(e){return Lr.get(e)}function Kr(e){return Lr.get(e)}function Gr(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children,o=e.renderer;e.children=t,(t.length>0||r.length>0)&&r!==t&&eo(e,e,(function(){ir(2,e)}),(function(){Mn(r,t,n,o)}),(function(){lr(2,e)}));1===e.state&&Ur(e)}(e,Sr(e))}function Ur(e){var t=e.def.renderedCallback;if(!Z(e.renderer.ssr)){var n=Ar.rendered;n&&Pr(e,n),J(t)||(ir(4,e),wr(e,t),lr(4,e))}}var zr=[];function qr(){ur(8);var e=zr.sort((function(e,t){return e.idx-t.idx}));zr=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Gr(r)}catch(r){throw t+1<n&&(0===zr.length&&Pe(qr),$.apply(zr,W.call(e,t+1))),cr(8),r}}cr(8)}function Xr(e){if(1!==e.state){e.state=1;var t=Ar.connected;t&&Pr(e,t),Yr(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)||(ir(3,e),wr(e,n),lr(3,e))}}function Yr(e){return A(e.def.wire).length>0}function Jr(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Kr(r);J(o)||Ir(o)}}}function Qr(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:Qr(r.children);break;case 3:Ir($r(r.elm))}}}function Zr(e){for(var t=e.children,n=e.renderRoot,r=e.renderer.remove,o=0,a=t.length;o<a;o++){var i=t[o];Q(i)||J(i.elm)||r(i.elm,n)}e.children=Ae,Jr(e),e.velements=Ae}function eo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){$e(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;Zr(e),ir(6,e),wr(i,i.def.errorCallback,[a,a.wcStack]),lr(6,e)}}}var to=new Map,no=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}),S(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function ro(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,Be(e,t))}}(e,t):function(e,t){return function(n){eo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);M(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),M(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),eo(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Ie((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){eo(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=ao(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting,u=e.renderer.dispatchEvent;B.call(i,(function(){var e=new no(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){B.call(l,e)}});u(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var oo=new Map;function ao(e){return oo.get(e)}function io(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};to.set(e,o)}function lo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};to.set(e,o)}var uo=!1;function co(e){uo=!1,Xr(e),so(e),uo&&Ge("Hydration completed with errors.",e)}function so(e){var t=Sr(e);e.children=t;var n=e.renderRoot;vo((0,e.renderer.getFirstChild)(n),t,n,e),Ur(e)}function fo(e,t,n){var r,o,a;switch(t.type){case 0:a=function(e,t,n){var r;if(!mo(t,e,3,n))return ho(e,t,n);return(0,n.setText)(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:a=function(e,t,n){var r;if(!mo(t,e,8,n))return ho(e,t,n);return(0,n.setProperty)(e,"nodeValue",null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:a=function(e,t,n){if(!function(e,t,n,r){var o=r.getProperty,a=r.getAttribute;if(3===o(e,"nodeType"))return!!mo(n,t,3,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(8===o(e,"nodeType"))return!!mo(n,t,8,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(!mo(n,t,1,r))return!1;var i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((function(r){a(e,r)!==a(t,r)&&(Ge("Mismatch hydrating element <".concat(o(e,"tagName").toLowerCase(),'>: attribute "').concat(r,'" has different values, expected "').concat(a(e,r),'" but found "').concat(a(t,r),'"'),n.owner),i=!1)})),i}(t.fragment,e,t,n))return ho(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);t.elm=e;var r=t.owner,o=t.data.context,a=Boolean(!J(o)&&!J(o.lwc)&&"manual"===o.lwc.dom);if(a){var i=t.data.props,l=n.getProperty;J(i)||J(i.innerHTML)||l(e,"innerHTML")===i.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Re(i,"innerHTML")}))}if(po(t,n),!a){vo((0,n.getFirstChild)(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);var r=t.sel,o=t.mode,a=t.ctor,i=t.owner,l=Wr(e,a,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,In(t,l),po(t,n),Xr(l),0!==l.renderMode){vo((0,n.getFirstChild)(e),t.children,e,l)}return so(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(a)}function vo(e,t,n,r){for(var o=e,a=null,i=r.renderer,l=0;l<t.length;l++){var u=t[l];Q(u)||(o?(o=fo(o,u,i),a=u.elm):(uo=!0,On(u,n,i,a),a=u.elm))}if(o){uo=!0;var c=i.nextSibling;do{var s=o;o=c(o),Fn(s,n,i)}while(o)}}function ho(e,t,n){uo=!0;var r=(0,n.getProperty)(e,"parentNode");return On(t,r,n,e),Fn(e,r,n),t.elm}function po(e,t){Sn(e,t),Cn(null,e,t)}function mo(e,t,n,r){return(0,r.getProperty)(t,"nodeType")===n}function go(e,t,n){var r=n.getProperty;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;var o=function(e,t,n){for(var r=e.data.attrs,o=void 0===r?{}:r,a=!0,i=0,l=Object.entries(o);i<l.length;i++){var u=g(l[i],2),c=u[0],s=u[1];e.owner;var f=(0,n.getAttribute)(t,c);String(s)!==f&&(a=!1)}return a}(e,t,n),a=function(e,t,n){var r=e.data,o=r.className,a=r.classMap,i=n.getProperty,l=n.getClassList,u=!0;if(J(o)||String(o)===i(t,"className")){if(!J(a)){var c=l(t),s="";for(var f in a)s+=" "+f,c.contains(f)||(u=!1);s.trim(),c.length>L(a).length&&(u=!1)}}else u=!1;return u}(e,t,n),i=function(e,t,n){var r=e.data,o=r.style,a=r.styleDecls,i=(0,n.getAttribute)(t,"style")||"",l=!0;if(J(o)||o===i){if(!J(a)){for(var u=je(i),c=[],s=0,f=a.length;s<f;s++){var d=g(a[s],3),v=d[0],h=d[1],p=d[2];c.push("".concat(v,": ").concat(h+(p?" important!":"")));var m=u[v];J(m)?l=!1:m.startsWith(h)?p&&!m.endsWith("!important")&&(l=!1):l=!1}L(u).length>a.length&&(l=!1),H.call(c,";")}}else l=!1;return l}(e,t,n);return o&&a&&i}var yo=!1;var bo,wo,Co,Eo=te(CSSStyleSheet.prototype.replaceSync)&&_(document.adoptedStyleSheets),ko=Eo&&O(document.adoptedStyleSheets,"length").writable,So=!J(document.documentMode),Mo=new Map;function To(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Oo(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}function Ao(e,t,n){var r=function(e,t){var n=t.stylesheet;return t.used?So?To(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!J(e.head)}(t)?t.head:t).appendChild(r)}function xo(e,t,n){Eo?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;ko?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):Ao(e,t,n)}function Po(e){var t=Mo.get(e);return J(t)&&(t={stylesheet:Eo?Oo(e):To(e),roots:void 0,global:!1,used:!1},Mo.set(e,t)),t}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}}())bo=customElements.get.bind(customElements),wo=customElements.define.bind(customElements),Co=HTMLElement;else{var No=k(null),Lo=new WeakMap;wo=function(e,t){if(e!==Y.call(e)||No[e])throw new TypeError("Invalid Registration");No[e]=t,Lo.set(t,e)},bo=function(e){return No[e]},(Co=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=Lo.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return R(r,t.prototype),r}).prototype=HTMLElement.prototype}var jo=!1;function Ro(e){jo=e}var _o=fe.$isNativeShadowRootDefined$,Do=P.call(Element.prototype,"$shadowToken$");var Fo={ssr:!1,isNativeShadowDefined:_o,isSyntheticShadowDefined:Do,HTMLElementExported:Co,isHydrating:function(){return jo},insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:function(e){return document.createRange().createContextualFragment(e).firstChild},createElement:function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return jo?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},setAttribute:function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},removeAttribute:function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},insertStylesheet:function(e,t){J(t)?function(e){var t=Po(e);t.global||(t.global=!0,xo(e,document,t))}(e):function(e,t){var n=Po(e),r=n.roots;if(J(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),xo(e,t,n)}(e,t)},assertInstanceOfHTMLElement:function(e,t){C.invariant(e instanceof HTMLElement,t)},defineCustomElement:wo,getCustomElement:bo};function Ho(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 Io(e,t,n){for(var r=Wr(e,t,Fo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=g(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function Bo(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(Kr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Ro(!0);var r=Io(e,t,n);co(r),Ro(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),Ho(e,t),Io(e,t,n),Ro(!1),Fr(e)}finally{Ro(!1)}}var Wo=new WeakSet;function Vo(e){var t=function(e){return pn(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?(Bo(s(t),e,{}),Wo.add(s(t))):Wr(s(t),e,Fo,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Wo.has(this)?Wo.delete(this):Fr(this)}},{key:"disconnectedCallback",value:function(){Hr(this)}}]),r}(t)}var $o=Node,Ko=new WeakMap,Go=new WeakMap;function Uo(e,t){var n=t.get(e);return J(n)||n(e),e}var zo=$o.prototype,qo=zo.appendChild,Xo=zo.insertBefore,Yo=zo.removeChild,Jo=zo.replaceChild;E($o.prototype,{appendChild:function(e){return Uo(qo.call(this,e),Ko)},insertBefore:function(e,t){return Uo(Xo.call(this,e,t),Ko)},removeChild:function(e){return Uo(Yo.call(this,e),Go)},replaceChild:function(e,t){var n=Jo.call(this,e,t);return Uo(n,Go),Uo(e,Ko),n}});var Qo=Node;var Zo=new Map;M(It,"CustomElementConstructor",{get:function(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Zo.get(e);return J(t)&&(t=Vo(e),Zo.set(e,t)),t}(this)}}),T(It),j(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=ar,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=ao(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){oo.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=gn(e,Fo),o=!1,a=new r((function(r){Wr(r,n,Fo,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Ko.set(r,Fr),Go.set(r,Hr),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!J(e)){var n=Kr(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=pn(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=Bo,e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Qo))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(x(t),"synthetic")))||Do&&!J(e.$shadowResolver$)},e.parseFragment=pr,e.parseSVGFragment=mr,e.readonly=function(e){return Ft.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<xr.length;++t){var n=xr[t];if(n in e){var r=Ar[n];J(r)&&(Ar[n]=r=[]),B.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&Er.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=k(null),s=k(null),f=k(null),d=k(null),v=k(null),h=k(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=O(r,p),m.config>0){if(J(n))throw new Error;n=Yt(p,n)}else n=J(n)||J(n.get)?qt(p):Yt(p,n);s[p]=n,M(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=O(r,e)))throw new Error;c[e]=n})),!J(i))for(var g in i){var y=i[g],b=y.adapter,w=y.method,C=y.config,E=y.dynamic,S=void 0===E?[]:E;if(n=O(r,g),1===w){if(J(n))throw new Error;f[g]=n,io(n,b,C,S)}else n=Qt(g),d[g]=n,lo(n,b,C,S),M(r,g,n)}if(!J(l))for(var T in l)n=O(r,T),n=Jt(T),M(r,T,n);if(!J(u))for(var A=0,x=u.length;A<x;A++){var P=u[A];n=O(r,P);var N=!J(o)&&P in o,L=!J(l)&&P in l;N||L||(v[P]=zt(P))}return function(e,t){Zt.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return tn.add(e),M(e,"stylesheetTokens",{enumerable:!0,configurable:!0,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.renderer=Fo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Se[e])){var n=L(Se).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=Me[e];J(r)?M(Me,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;C.isFalse(yo,"Hooks are already overridden, only one definition is allowed."),yo=!0,t=e.sanitizeHtmlContent,Xn=t},e.swapComponent=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Ft.getProxy(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(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 g(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)||y(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 y(e,t){if(e){if("string"==typeof e)return b(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)?b(e,t):void 0}}function b(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 w(e){return w="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},w(e)}var C=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,k=Object.create,S=Object.defineProperties,M=Object.defineProperty,T=Object.freeze,O=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,x=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,L=Object.keys,j=Object.seal,R=Object.setPrototypeOf,_=Array.isArray,D=Array.prototype,F=D.indexOf,H=D.join,I=D.map,B=D.push,W=D.slice,V=D.splice,$=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"===w(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?_(e)?H.call(I.call(e,ie),","):e.toString():"object"===w(e)?ae.call(e):e+""}function le(e,t){do{var n=O(e,t);if(!J(n))return n;e=x(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=k(null),t=k(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":w(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="http://www.w3.org/2000/svg",ve=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"]]),he=new Map;function pe(e){var t=se[e];if(!J(t))return t;var n=ve.get(e);if(!J(n))return n;var r=he.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 he.set(e,o),o}function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ge=new WeakMap;function ye(e){var t=ge.get(e);return void 0===t&&(t={},ge.set(e,t)),t}function be(e,t){return{get:function(){var n=ye(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);ye(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function we(e){var t=be(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var Ce=L(se),Ee=0,ke=Ce.length;Ee<ke;Ee+=1){me(Ut=Ce[Ee])&&we(Ut)}var Se={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:k(null)});var Me=fe.lwcRuntimeFlags;var Te=[],Oe=j(k(null)),Ae=j([]);function xe(){var e=Te;Te=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Pe(e){0===Te.length&&Promise.resolve().then(xe),B.call(Te,e)}var Ne=/;(?![^(]*\))/g,Le=/:(.+)/;function je(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=y(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(Ne));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=g(o.split(Le),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 Re(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var _e=new WeakMap;var De=null;function Fe(e,t){var n=_e.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 He(e,t){if(null!==De){var n=De,r=function(e){var t=_e.get(e);if(J(t)){var n=k(null);t=n,_e.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===F.call(o,n)&&n.link(o)}}var Ie=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=De;De=this;try{e()}catch(e){t=Object(e)}finally{if(De=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=F.call(e[n],this);V.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){B.call(e,this),B.call(this.listeners,e)}}]),e}();function Be(e,t){Fe(e.component,t)}function We(e,t){He(e.component,t)}function Ve(e){return"<".concat(Y.call(e.tagName),">")}function $e(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)B.call(t,Ve(n)),n=n.owner;return t.reverse().join("\n\t")}(e);M(t,"wcStack",{get:function(){return n}})}}function Ke(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);)B.call(t,n+Ve(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function Ge(e,t){Ke("error",e,t)}function Ue(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ze(e){return te(e)&&P.call(e,"__circular__")}var qe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Xe=qe.prototype;function Ye(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(k(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:Ye("offsetHeight")},offsetLeft:{readOnly:!0,error:Ye("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ye("offsetTop")},offsetWidth:{readOnly:!0,error:Ye("offsetWidth")},role:{attribute:"role"}});var Je,Qe=null;function Ze(e,t){return e!==Qe||t!==Je}function et(e,t){Qe=null,Je=void 0}function tt(e,t){Qe=e,Je=t}var nt=k(null);K.call(L(se),(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Xe,e);J(t)||(nt[e]=t)}));var rt=Array.isArray,ot=Object.prototype,at=Object.getPrototypeOf,it=Object.create,lt=Object.defineProperty,ut=Object.isExtensible,ct=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyNames,ft=Object.getOwnPropertySymbols,dt=Object.preventExtensions,vt=Object.hasOwnProperty,ht=Array.prototype,pt=ht.push,mt=ht.concat;function gt(e){return void 0===e}function yt(e){return"function"==typeof e}var bt=new WeakMap;function wt(e,t){bt.set(e,t)}var Ct=function(e){return bt.get(e)||e},Et=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.wrapGetter(n)),gt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=ct(n,t);if(!gt(r)){var o=this.wrapDescriptor(r);lt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;mt.call(st(n),ft(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;gt(r)||vt.call(e,r)||lt(e,r,it(null)),dt(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=gt(n)||vt.call(t,n)?[]:[n];return pt.apply(r,st(t)),pt.apply(r,ft(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!ut(e)&&(!!ut(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return at(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=ct(n,t);if(gt(i)){if(t!==a)return;return lt(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}(),kt=new WeakMap,St=new WeakMap,Mt=new WeakMap,Tt=new WeakMap,Ot=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=kt.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return kt.set(e,r),Mt.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=St.get(e);if(!gt(t))return t;var n=function(t){e.call(Ct(this),Ct(t))};return St.set(e,n),Tt.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(vt.call(e,"value"))e.value=Ct(e.value);else{var t=e.set,n=e.get;gt(n)||(e.get=this.unwrapGetter(n)),gt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=Mt.get(e);if(!gt(t))return t;var n=this,r=function(){return Ct(e.call(n.wrapValue(this)))};return kt.set(r,e),Mt.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=Tt.get(e);if(!gt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return St.set(r,e),Tt.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&&rt(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(ut(e)){var t=this.originalTarget;if(dt(t),ut(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&&!vt.call(r,t)||(lt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(Et),At=new WeakMap,xt=new WeakMap,Pt=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=At.get(e);if(!gt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(Ct(this)))};return At.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=xt.get(e);if(!gt(t))return t;var n=function(e){};return xt.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(Et);function Nt(e){if(null===e)return!1;if("object"!==w(e))return!1;if(rt(e))return!0;var t=at(e);return t===ot||null===t||null===at(t)}var Lt=function(e,t){},jt=function(e,t){};function Rt(e){return rt(e)?[]:{}}var _t=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=yt(n)?n:jt,this.valueObserved=yt(r)?r:Lt,this.valueIsObservable=yt(o)?o:Nt,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=Ct(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=Ct(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return Ct(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(gt(t)){var n=new Ot(this,e);wt(t=new Proxy(Rt(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(gt(t)){var n=new Pt(this,e);wt(t=new Proxy(Rt(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),Dt=Symbol.for("@@lockerLiveValue"),Ft=new _t({valueObserved:He,valueMutated:Fe,tagPropertyKey:Dt});function Ht(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=$r(this);if(!br(t))return We(t,e),n.call(t.elm)},set:function(t){var n=$r(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Be(n,e)),r.call(n.elm,t)}}}var It=function(){if(Q(yr))throw new ReferenceError("Illegal constructor");var e=yr,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return this[Dt]=void 0,Vr(o,e),Vr(n,e),1===e.renderMode?e.renderRoot=Bt(e):e.renderRoot=n,this};function Bt(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=(0,e.renderer.attachShadow)(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Vr(l,e),l}It.prototype={constructor:It,dispatchEvent:function(e){var t=$r(this),n=t.elm,r=t.renderer.dispatchEvent;return r(n,e)},addEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.addEventListener;a(o,e,Or(r,t),n)},removeEventListener:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.removeEventListener;a(o,e,Or(r,t),n)},hasAttribute:function(e){var t=$r(this),n=t.elm;return!Q((0,t.renderer.getAttribute)(n,e))},hasAttributeNS:function(e,t){var n=$r(this),r=n.elm;return!Q((0,n.renderer.getAttribute)(r,t,e))},removeAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.removeAttribute;tt(n,e),r(n,e),et()},removeAttributeNS:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.removeAttribute;tt(r,t),o(r,t,e),et()},getAttribute:function(e){var t=$r(this),n=t.elm,r=t.renderer.getAttribute;return r(n,e)},getAttributeNS:function(e,t){var n=$r(this),r=n.elm;return(0,n.renderer.getAttribute)(r,t,e)},setAttribute:function(e,t){var n=$r(this),r=n.elm,o=n.renderer.setAttribute;tt(r,e),o(r,e,t),et()},setAttributeNS:function(e,t,n){var r=$r(this),o=r.elm,a=r.renderer.setAttribute;tt(o,t),a(o,t,n,e),et()},getBoundingClientRect:function(){var e=$r(this),t=e.elm,n=e.renderer.getBoundingClientRect;return n(t)},get isConnected(){var e=$r(this),t=e.elm;return(0,e.renderer.isConnected)(t)},get classList(){var e=$r(this),t=e.elm;return(0,e.renderer.getClassList)(t)},get template(){return $r(this).shadowRoot},get shadowRoot(){return null},get children(){var e=$r(this);return e.renderer.getChildren(e.elm)},get childNodes(){var e=$r(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){var e=$r(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){var e=$r(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){var e=$r(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){var e=$r(this);return e.renderer.getLastElementChild(e.elm)},render:function(){return $r(this).def.template},toString:function(){var e=$r(this);return"[object ".concat(e.def.name,"]")}};for(var Wt=k(null),Vt=function(){var e=Kt[$t];Wt[e]={value:function(t){var n=$r(this),r=n.elm;return n.renderer[e](r,t)},configurable:!0,enumerable:!0,writable:!0}},$t=0,Kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];$t<Kt.length;$t++)Vt();S(It.prototype,Wt);var Gt=k(null);for(var Ut in nt)Gt[Ut]=Ht(Ut,nt[Ut]);function zt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}function qt(e){return{get:function(){var t=$r(this);if(!br(t))return We(t,e),t.cmpProps[e]},set:function(t){var n=$r(this);n.cmpProps[e]=t,Be(n,e)},enumerable:!0,configurable:!0}}S(It.prototype,Gt),M(It,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Xt=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,Pe((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&&Dr(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}(Ie);function Yt(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=$r(this);if(r)if(Me.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Xt(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Jt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this),r=Ft.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Be(n,e))},enumerable:!0,configurable:!0}}function Qt(e){return{get:function(){var t=$r(this);return We(t,e),t.cmpFields[e]},set:function(t){var n=$r(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Be(n,e))},enumerable:!0,configurable:!0}}var Zt=new Map;var en={apiMethods:Oe,apiFields:Oe,apiFieldsConfig:Oe,wiredMethods:Oe,wiredFields:Oe,observedFields:Oe};var tn=new Set;function nn(){return[]}tn.add(nn);var rn=k(null),on=k(null);function an(e){var t=rn[e];return J(t)&&(t=rn[e]=function(){var t=$r(this);return(0,t.getHook)(t.component,e)}),t}function ln(e){var t=on[e];return J(t)&&(t=on[e]=function(t){var n=$r(this),r=n.setHook;t=Ft.getReadOnlyProxy(t),r(n.component,e,t)}),t}function un(e){return function(){var t=$r(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,W.call(arguments))}}function cn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Ze(this,n)&&(this[a]=o)}}}function sn(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(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),M(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=k(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=k(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[pe(h)]=h,s[h]={get:an(h),set:ln(h),enumerable:!0,configurable:!0}}for(var g=0,y=n.length;g<y;g+=1){var b=n[g];s[b]={value:un(b),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:cn(o,a)},M(r,"observedAttributes",{get:function(){return[].concat(m(c),m(L(o)))}}),S(r.prototype,s),r}var fn=sn(qe,A(nt),[]);T(fn),j(fn.prototype);var dn=new WeakMap;function vn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Zt.get(e);return J(t)?en: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=x(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(ze(t)){var n=Ue(t);t=n===t?It:n}return t}(e),g=m!==It?pn(m):mn,y=sn(g.bridge,L(o),L(i)),b=E(k(null),g.props,o),w=E(k(null),g.propsConfig,a),C=E(k(null),g.methods,i),M=E(k(null),g.wire,l,u);f=f||g.connectedCallback,d=d||g.disconnectedCallback,v=v||g.renderedCallback,h=h||g.errorCallback,p=p||g.render;var T=g.shadowSupportMode;J(t)||(T=t);var O=g.renderMode;J(n)||(O="light"===n?0:1);var A=function(e){return Er.get(e)}(e)||g.template,P=e.name||g.name;return S(s,c),{ctor:e,name:P,wire:M,props:b,propsConfig:w,methods:C,bridge:y,template:A,renderMode:O,shadowSupportMode:T,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function hn(e){if(!te(e))return!1;if(e.prototype instanceof It)return!0;var t=e;do{if(ze(t)){var n=Ue(t);if(n===t)return!0;t=n}if(t===It)return!0}while(!Q(t)&&(t=x(t)));return!1}function pn(e){var t=dn.get(e);if(J(t)){if(ze(e))return t=pn(Ue(e)),dn.set(e,t),t;if(!hn(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=vn(e),dn.set(e,t)}return t}var mn={ctor:It,name:It.name,props:Gt,propsConfig:Oe,methods:Oe,renderMode:1,shadowSupportMode:"reset",wire:Oe,bridge:fn,template:nn,render:It.prototype.render};function gn(e,t){var n=t.getCustomElement,r=t.HTMLElementExported,o=t.defineCustomElement,a=n(e=e.toLowerCase());return J(a)?(o(e,a=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)}(r)),a):a}function yn(e){var t=e.type;return 2===t||3===t}function bn(e,t){return e.key===t.key&&e.sel===t.sel}function wn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Cn(e,t,n){var r=t.data.props;if(!J(r)){var o=Q(e)?Oe:e.data.props;if(o!==r){var a=Q(e),i=t.elm,l=t.sel,u=n.getProperty,c=n.setProperty;for(var s in r){var f=r[s];(a||f!==(wn(l,s)?u(i,s):o[s]))&&c(i,s,f)}}}}var En=k(null);function kn(e){if(null==e)return Oe;e=re(e)?e:e+"";var t=En[e];if(t)return t;t=k(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),En[e]=t,t}function Sn(e,t){var n=e.elm,r=e.data.on;if(!J(r)){var o=t.addEventListener;for(var a in r){o(n,a,r[a])}}}function Mn(e,t,n,r){var o;o=t,Bn.has(o)?function(e,t,n,r){var o,a,i,l=0,u=0,c=e.length-1,s=e[0],f=e[c],d=t.length-1,v=d,h=t[0],p=t[v],g=!1;for(;l<=c&&u<=v;)Nn(s)?Nn(f)?Nn(h)?Nn(p)?bn(s,h)?(Tn(s,h,r),s=e[++l],h=t[++u]):bn(f,p)?(Tn(f,p,r),f=e[--c],p=t[--v]):bn(s,p)?(Tn(s,p,r),Dn(s.elm,n,r.nextSibling(f.elm),r),s=e[++l],p=t[--v]):bn(f,h)?(Tn(f,h,r),Dn(h.elm,n,s.elm,r),f=e[--c],h=t[++u]):(void 0===o&&(o=Wn(e,l,c)),J(a=o[h.key])?(On(h,n,r,s.elm),h=t[++u]):(Nn(i=e[a])&&(i.sel!==h.sel?On(h,n,r,s.elm):(Tn(i,h,r),g||(g=!0,e=m(e)),e[a]=void 0,Dn(i.elm,n,s.elm,r))),h=t[++u])):p=t[--v]:h=t[++u]:f=e[--c]:s=e[++l];if(l<=c||u<=v)if(l>c){var y,b=v;do{y=t[++b]}while(!Nn(y)&&b<d);An(t,n,r,Nn(y)?y.elm:null,u,v+1)}else Pn(e,n,r,!0,l,c+1)}(e,t,n,r):function(e,t,n,r){var o=e.length,a=t.length;if(0===o)return void An(t,n,r,null);if(0===a)return void Pn(e,n,r,!0);for(var i=null,l=a-1;l>=0;l-=1){var u=e[l],c=t[l];c!==u&&(Nn(u)?Nn(c)?(Tn(u,c,r),i=c.elm):xn(u,n,r,!0):Nn(c)&&(On(c,n,r,i),i=c.elm))}}(e,t,n,r)}function Tn(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&_n(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){var r=t.elm=e.elm;Hn(e,t,n),Mn(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){var r=t.elm=e.elm,o=t.vm=e.vm;Hn(e,t,n),J(o)||In(t,o);Mn(e.children,t.children,r,n),J(o)||Dr(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function On(e,t,n,r){var o,a;switch(e.type){case 0:!function(e,t,n,r){var o=e.owner,a=r.createText,i=e.elm=a(e.text);Rn(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){var o=e.owner,a=r.createComment,i=e.elm=a(e.text);Rn(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){var o=e.owner,a=r.cloneNode,i=r.isSyntheticShadowDefined,l=e.elm=a(e.fragment,!0);Rn(l,o,r);var u=o.renderMode,c=o.shadowMode;i&&(1!==c&&0!==u||(l.$shadowStaticNode$=!0));Dn(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){var o=e.sel,a=e.owner,i=e.data.svg,l=r.createElement,u=Z(i)?de:void 0,c=l(o,u);Rn(c,a,r),function(e,t,n){var r=t.owner;if(jn(e,r,n),1===r.shadowMode){var o=t.data.context,a=r.context.stylesheetToken;J(o)||J(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),J(a)||Ln(e,a)}}(c,e,r),e.elm=c,Hn(null,e,r),Dn(c,t,n,r),An(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){var o,a=e.sel,i=e.owner,l=gn(a,r),u=new l((function(t){o=function(e,t,n){var r=Kr(e);if(!J(r))return r;var o=t.sel,a=t.mode,i=t.ctor,l=t.owner;if(jn(e,l,n),1===l.shadowMode){var u=l.context.stylesheetToken;J(u)||Ln(e,u)}return r=Wr(e,i,n,{mode:a,owner:l,tagName:o})}(t,e,r)}));if(Rn(u,i,r),e.elm=u,e.vm=o,o)In(e,o);else if(e.ctor!==l)throw new TypeError("Incorrect Component Constructor");Hn(null,e,r),Dn(u,t,n,r),o&&Xr(o);An(e.children,u,r,null),o&&function(e){Gr(e)}(o)}(e,t,r,null!==(a=e.data.renderer)&&void 0!==a?a:n)}}function An(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Nn(i)&&On(i,t,n,r)}}function xn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.type,a=e.elm,i=e.sel;switch(r&&Fn(a,t,n),o){case 2:var l="slot"===i&&1===e.owner.shadowMode;Pn(e.children,a,n,l);break;case 3:var u=e.vm;J(u)||Br(u)}}function Pn(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.length;o<a;++o){var i=e[o];Nn(i)&&xn(i,t,n,r)}}function Nn(e){return null!=e}function Ln(e,t){e.$shadowToken$=t}function jn(e,t,n){var r=t.cmpTemplate,o=t.context,a=n.getClassList,i=null==r?void 0:r.stylesheetToken;!J(i)&&o.hasScopedStyles&&a(e).add(i)}function Rn(e,t,n){var r=t.renderRoot,o=t.renderMode,a=t.shadowMode;n.isSyntheticShadowDefined&&(1!==a&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function _n(e,t){var n=e.elm,r=e.text;(0,t.setText)(n,r)}function Dn(e,t,n,r){r.insert(e,t,n)}function Fn(e,t,n){n.remove(e,t)}function Hn(e,t,n){Q(e)&&(Sn(t,n),function(e,t){var n=e.elm,r=e.data.classMap;if(!J(r)){var o=(0,t.getClassList)(n);for(var a in r)o.add(a)}}(t,n),function(e,t){var n=e.elm,r=e.data.styleDecls;if(!J(r))for(var o=t.setCSSStyleProperty,a=0;a<r.length;a++){var i=g(r[a],3);o(n,i[0],i[1],i[2])}}(t,n)),function(e,t,n){var r=t.elm,o=t.data.className,a=Q(e)?void 0:e.data.className;if(a!==o){var i,l=(0,n.getClassList)(r),u=kn(o),c=kn(a);for(i in c)J(u[i])&&l.remove(i);for(i in u)J(c[i])&&l.add(i)}}(e,t,n),function(e,t,n){var r=t.elm,o=t.data.style;if((Q(e)?void 0:e.data.style)!==o){var a=n.setAttribute,i=n.removeAttribute;re(o)&&""!==o?a(r,"style",o):i(r,"style")}}(e,t,n),function(e,t,n){var r=t.data.attrs;if(!J(r)){var o=Q(e)?Oe:e.data.attrs;if(o!==r){var a=t.elm,i=n.setAttribute,l=n.removeAttribute;for(var u in r){var c=r[u];o[u]!==c&&(tt(a,u),58===z.call(u,3)?i(a,u,c,"http://www.w3.org/XML/1998/namespace"):58===z.call(u,5)?i(a,u,c,"http://www.w3.org/1999/xlink"):Q(c)||J(c)?l(a,u):i(a,u,c),et())}}}}(e,t,n),Cn(e,t,n)}function In(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=k(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";yn(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];B.call(c,l)}}if(ee(e.isDirty)){var s=L(r);if(s.length!==L(o).length)return void Mr(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 Mr(e);for(var h=r[v],p=o[v],m=0,g=o[v].length;m<g;m+=1)if(h[m]!==p[m])return void Mr(e)}}}(t,n),e.aChildren=n,e.children=Ae)}var Bn=new WeakMap;function Wn(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(Nn(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Vn=Symbol.iterator;function $n(e){B.call(dr().velements,e)}function Kn(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ae,o=dr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Gn(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae,l=dr(),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 $n(c),c}var Un=new Map,zn=0;function qn(e){var t;return t=e,Bn.set(t,1),e}var Xn=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Yn=T({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=dr(),a=o.renderMode,i=o.shadowMode;return 0===a?(qn(n),n):(1===i&&qn(n),Kn("slot",t,n))},h:Kn,c:Gn,i:function(e,t){var n=[];if(qn(n),J(e)||null===e)return n;for(var r=e[Vn](),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));_(c)?B.apply(n,c):B.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];qn(n);for(var r=0;r<t;r+=1){var o=e[r];_(o)?B.apply(n,o):B.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=dr();if(Q(t))throw new Error;var n=t;return function(t){Cr(n,e,n.component,t)}},k:function(e,t){switch(w(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:dr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ae;if(null==t)return null;if(!hn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Un.get(t);J(o)&&(o=zn++,Un.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Gn(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:dr()}},gid:function(e){var t=dr();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=dr();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 Xn(e)}});function Jn(e){return"".concat(e,"-host")}function Qn(e){return Yn.h("style",{key:"style",attrs:{type:"text/css"}},[Yn.t(e)])}function Zn(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(_(i))B.apply(o,Zn(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=tr(n)),s=Q(r)||0===r.shadowMode),B.call(o,i(u,c,s))}}return o}function er(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Zn(n,r,e)),o}function tr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function nr(e,t){var n=e.renderMode,r=e.shadowMode,o=e.renderer,a=o.ssr,i=o.insertStylesheet;if(1===n&&1===r)for(var l=0;l<t.length;l++)i(t[l]);else{if(a||e.hydrated)return I.call(t,Qn);for(var u=function(e){var t=tr(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(u)?void 0:u.shadowRoot,s=0;s<t.length;s++)i(t[s],c)}return null}var rr=!1,or=oe,ar={enableProfiler:function(){rr=!0},disableProfiler:function(){rr=!1},attachDispatcher:function(e){or=e,this.enableProfiler()},detachDispatcher:function(){var e=or;return or=oe,this.disableProfiler(),e}};function ir(e,t){rr&&or(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function lr(e,t){rr&&or(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ur(e,t){rr&&or(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 cr(e,t){rr&&or(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 sr=!1,fr=null;function dr(){return fr}function vr(e){fr=e}function hr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=k(null);return function(){var n=dr(),o=n.context,i=o.hasScopedStyles,l=o.stylesheetToken,u=n.shadowMode,c=n.renderer,s=!J(l),f=1===u,d=0;if(s&&i&&(d|=1),s&&f&&(d|=2),!J(a[d]))return a[d];for(var v=i&&s?" "+l:"",h=i&&s?' class="'.concat(l,'"'):"",p=s&&f?" "+l:"",m="",g=0,y=r.length;g<y;g++)switch(r[g]){case 0:m+=t[g]+v;break;case 1:m+=t[g]+h;break;case 2:m+=t[g]+p;break;case 3:m+=t[g]+h+p}return m+=t[t.length-1],a[d]=e(m,c),a[d]}}}var pr=hr((function(e,t){return(0,t.createFragment)(e)})),mr=hr((function(e,t){var n=t.createFragment;return(0,t.getFirstChild)(n("<svg>"+e+"</svg>"))}));function gr(e,t){var n=sr,r=fr,o=[];return eo(e,e.owner,(function(){fr=e,ir(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)||Zr(e),u=t,!tn.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=k(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=e.renderer,s=c.getClassList,f=c.removeAttribute,d=c.setAttribute,v=t.stylesheets,h=t.stylesheetToken,p=1===l&&1===u,m=i.hasScopedStyles,g=i.stylesheetToken,y=i.hasTokenInClass,b=i.hasTokenInAttribute;J(g)||(y&&s(a).remove(Jn(g)),b&&f(a,Jn(g))),J(v)||0===v.length||(n=h),J(n)||(m&&(s(a).add(Jn(n)),r=!0),p&&(d(a,Jn(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=er(e,t);r.styleVNodes=0===l.length?null:nr(e,l)}var u;e.velements=[],sr=!0,o=t.call(void 0,Yn,n,a,r.tplCache);var c=r.styleVNodes;Q(c)||$.apply(o,c)}))}),(function(){sr=n,fr=r,lr(1,e)})),o}var yr=null;function br(e){return yr===e}function wr(e,t,n){var r=e.component,o=e.callHook;eo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function Cr(e,t,n,r){var o=e.callHook;eo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var Er=new Map;function kr(e){return new Ie((function(){ee(e.isDirty)&&(Mr(e),function(e){if(Z(e.renderer.ssr)||Z(e.isScheduled))return;e.isScheduled=!0,0===zr.length&&Pe(qr);B.call(zr,e)}(e))}))}function Sr(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=dr(),l=!1;return eo(e,a,(function(){vr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){vr(i)})),l?gr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Mr(e){e.isDirty=!0}var Tr=new WeakMap;function Or(e,t){if(!te(t))throw new TypeError;var n=Tr.get(t);return J(n)&&(n=function(n){Cr(e,t,void 0,n)},Tr.set(t,n)),n}var Ar=k(null),xr=["rendered","connected","disconnected"];function Pr(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 Nr=0,Lr=new WeakMap;function jr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function Rr(e,t,n){e[t]=n}function _r(e,t){return e[t]}function Dr(e){Gr(e)}function Fr(e){var t=$r(e);ur(7,t),1===t.state&&Hr(e),Xr(t),Gr(t),cr(7,t)}function Hr(e){Ir($r(e))}function Ir(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=Ar.disconnected;t&&Pr(e,t);Yr(e)&&function(e){var t=e.context.wiredDisconnecting;eo(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)||(ir(5,e),wr(e,n),lr(5,e))}(e),Jr(e),function(e){Qr(e.aChildren)}(e)}}function Br(e){Ir(e)}function Wr(e,t,n,r){var o=r.mode,a=r.owner,i=r.tagName,l=r.hydrated,u=pn(t),c={elm:e,def:u,idx:Nr++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,children:Ae,aChildren:Ae,velements:Ae,cmpProps:k(null),cmpFields:k(null),cmpSlots:k(null),oar:k(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Oe,wiredConnecting:Ae,wiredDisconnecting:Ae},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:jr,setHook:Rr,getHook:_r,renderer:n};return c.shadowMode=function(e,t){var n,r=e.def,o=t.isSyntheticShadowDefined,a=t.isNativeShadowDefined;if(o)if(0===r.renderMode)n=0;else if(a)if(Me.ENABLE_MIXED_SHADOW_MODE)if("any"===r.shadowSupportMode)n=0;else{var i=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=Q(i)||0!==i.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c,n),c.tro=kr(c),function(e,t){var n,r=yr;ir(0,e),yr=e;try{var o=new t;if(yr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(lr(0,e),yr=r,!J(n))throw $e(e,n),n}}(c,u.ctor),Yr(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=to.get(i);J(l)||function(){var t=ro(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;B.call(r,(function(){n.connect(),Me.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),B.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function Vr(e,t){Lr.set(e,t)}function $r(e){return Lr.get(e)}function Kr(e){return Lr.get(e)}function Gr(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children,o=e.renderer;e.children=t,(t.length>0||r.length>0)&&r!==t&&eo(e,e,(function(){ir(2,e)}),(function(){Mn(r,t,n,o)}),(function(){lr(2,e)}));1===e.state&&Ur(e)}(e,Sr(e))}function Ur(e){var t=e.def.renderedCallback;if(!Z(e.renderer.ssr)){var n=Ar.rendered;n&&Pr(e,n),J(t)||(ir(4,e),wr(e,t),lr(4,e))}}var zr=[];function qr(){ur(8);var e=zr.sort((function(e,t){return e.idx-t.idx}));zr=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{Gr(r)}catch(r){throw t+1<n&&(0===zr.length&&Pe(qr),$.apply(zr,W.call(e,t+1))),cr(8),r}}cr(8)}function Xr(e){if(1!==e.state){e.state=1;var t=Ar.connected;t&&Pr(e,t),Yr(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)||(ir(3,e),wr(e,n),lr(3,e))}}function Yr(e){return A(e.def.wire).length>0}function Jr(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Kr(r);J(o)||Ir(o)}}}function Qr(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:Qr(r.children);break;case 3:Ir($r(r.elm))}}}function Zr(e){for(var t=e.children,n=e.renderRoot,r=e.renderer.remove,o=0,a=t.length;o<a;o++){var i=t[o];Q(i)||J(i.elm)||r(i.elm,n)}e.children=Ae,Jr(e),e.velements=Ae}function eo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){$e(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;Zr(e),ir(6,e),wr(i,i.def.errorCallback,[a,a.wcStack]),lr(6,e)}}}var to=new Map,no=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}),S(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function ro(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,Be(e,t))}}(e,t):function(e,t){return function(n){eo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);M(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),M(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),eo(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Ie((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){eo(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=ao(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting,u=e.renderer.dispatchEvent;B.call(i,(function(){var e=new no(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){B.call(l,e)}});u(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var oo=new Map;function ao(e){return oo.get(e)}function io(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};to.set(e,o)}function lo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};to.set(e,o)}var uo=!1;function co(e){uo=!1,Xr(e),so(e),uo&&Ge("Hydration completed with errors.",e)}function so(e){var t=Sr(e);e.children=t;var n=e.renderRoot;vo((0,e.renderer.getFirstChild)(n),t,n,e),Ur(e)}function fo(e,t,n){var r,o,a;switch(t.type){case 0:a=function(e,t,n){var r;if(!mo(t,e,3,n))return ho(e,t,n);return(0,n.setText)(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:a=function(e,t,n){var r;if(!mo(t,e,8,n))return ho(e,t,n);return(0,n.setProperty)(e,"nodeValue",null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:a=function(e,t,n){if(!function(e,t,n,r){var o=r.getProperty,a=r.getAttribute;if(3===o(e,"nodeType"))return!!mo(n,t,3,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(8===o(e,"nodeType"))return!!mo(n,t,8,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(!mo(n,t,1,r))return!1;var i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((function(r){a(e,r)!==a(t,r)&&(Ge("Mismatch hydrating element <".concat(o(e,"tagName").toLowerCase(),'>: attribute "').concat(r,'" has different values, expected "').concat(a(e,r),'" but found "').concat(a(t,r),'"'),n.owner),i=!1)})),i}(t.fragment,e,t,n))return ho(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);t.elm=e;var r=t.owner,o=t.data.context,a=Boolean(!J(o)&&!J(o.lwc)&&"manual"===o.lwc.dom);if(a){var i=t.data.props,l=n.getProperty;J(i)||J(i.innerHTML)||l(e,"innerHTML")===i.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Re(i,"innerHTML")}))}if(po(t,n),!a){vo((0,n.getFirstChild)(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:a=function(e,t,n){if(!mo(t,e,1,n)||!go(t,e,n))return ho(e,t,n);var r=t.sel,o=t.mode,a=t.ctor,i=t.owner,l=Wr(e,a,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,In(t,l),po(t,n),Xr(l),0!==l.renderMode){vo((0,n.getFirstChild)(e),t.children,e,l)}return so(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(a)}function vo(e,t,n,r){for(var o=e,a=null,i=r.renderer,l=0;l<t.length;l++){var u=t[l];Q(u)||(o?(o=fo(o,u,i),a=u.elm):(uo=!0,On(u,n,i,a),a=u.elm))}if(o){uo=!0;var c=i.nextSibling;do{var s=o;o=c(o),Fn(s,n,i)}while(o)}}function ho(e,t,n){uo=!0;var r=(0,n.getProperty)(e,"parentNode");return On(t,r,n,e),Fn(e,r,n),t.elm}function po(e,t){Sn(e,t),Cn(null,e,t)}function mo(e,t,n,r){return(0,r.getProperty)(t,"nodeType")===n}function go(e,t,n){var r=n.getProperty;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;var o=function(e,t,n){for(var r=e.data.attrs,o=void 0===r?{}:r,a=!0,i=0,l=Object.entries(o);i<l.length;i++){var u=g(l[i],2),c=u[0],s=u[1];e.owner;var f=(0,n.getAttribute)(t,c);String(s)!==f&&(a=!1)}return a}(e,t,n),a=function(e,t,n){var r=e.data,o=r.className,a=r.classMap,i=n.getProperty,l=n.getClassList,u=!0;if(J(o)||String(o)===i(t,"className")){if(!J(a)){var c=l(t),s="";for(var f in a)s+=" "+f,c.contains(f)||(u=!1);s.trim(),c.length>L(a).length&&(u=!1)}}else u=!1;return u}(e,t,n),i=function(e,t,n){var r=e.data,o=r.style,a=r.styleDecls,i=(0,n.getAttribute)(t,"style")||"",l=!0;if(J(o)||o===i){if(!J(a)){for(var u=je(i),c=[],s=0,f=a.length;s<f;s++){var d=g(a[s],3),v=d[0],h=d[1],p=d[2];c.push("".concat(v,": ").concat(h+(p?" important!":"")));var m=u[v];J(m)?l=!1:m.startsWith(h)?p&&!m.endsWith("!important")&&(l=!1):l=!1}L(u).length>a.length&&(l=!1),H.call(c,";")}}else l=!1;return l}(e,t,n);return o&&a&&i}var yo=!1;var bo,wo,Co,Eo=te(CSSStyleSheet.prototype.replaceSync)&&_(document.adoptedStyleSheets),ko=Eo&&O(document.adoptedStyleSheets,"length").writable,So=!J(document.documentMode),Mo=new Map;function To(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Oo(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}function Ao(e,t,n){var r=function(e,t){var n=t.stylesheet;return t.used?So?To(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!J(e.head)}(t)?t.head:t).appendChild(r)}function xo(e,t,n){Eo?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;ko?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):Ao(e,t,n)}function Po(e){var t=Mo.get(e);return J(t)&&(t={stylesheet:Eo?Oo(e):To(e),roots:void 0,global:!1,used:!1},Mo.set(e,t)),t}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}}())bo=customElements.get.bind(customElements),wo=customElements.define.bind(customElements),Co=HTMLElement;else{var No=k(null),Lo=new WeakMap;wo=function(e,t){if(e!==Y.call(e)||No[e])throw new TypeError("Invalid Registration");No[e]=t,Lo.set(t,e)},bo=function(e){return No[e]},(Co=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=Lo.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return R(r,t.prototype),r}).prototype=HTMLElement.prototype}var jo=!1;function Ro(e){jo=e}var _o=fe.$isNativeShadowRootDefined$,Do=P.call(Element.prototype,"$shadowToken$");var Fo={ssr:!1,isNativeShadowDefined:_o,isSyntheticShadowDefined:Do,HTMLElementExported:Co,isHydrating:function(){return jo},insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:function(e){return document.createRange().createContextualFragment(e).firstChild},createElement:function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return jo?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},setAttribute:function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},removeAttribute:function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},insertStylesheet:function(e,t){J(t)?function(e){var t=Po(e);t.global||(t.global=!0,xo(e,document,t))}(e):function(e,t){var n=Po(e),r=n.roots;if(J(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),xo(e,t,n)}(e,t)},assertInstanceOfHTMLElement:function(e,t){C.invariant(e instanceof HTMLElement,t)},defineCustomElement:wo,getCustomElement:bo};function Ho(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 Io(e,t,n){for(var r=Wr(e,t,Fo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=g(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function Bo(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(Kr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Ro(!0);var r=Io(e,t,n);co(r),Ro(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),Ho(e,t),Io(e,t,n),Ro(!1),Fr(e)}finally{Ro(!1)}}var Wo=new WeakSet;function Vo(e){var t=function(e){return pn(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?(Bo(s(t),e,{}),Wo.add(s(t))):Wr(s(t),e,Fo,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Wo.has(this)?Wo.delete(this):Fr(this)}},{key:"disconnectedCallback",value:function(){Hr(this)}}]),r}(t)}var $o=Node,Ko=new WeakMap,Go=new WeakMap;function Uo(e,t){var n=t.get(e);return J(n)||n(e),e}var zo=$o.prototype,qo=zo.appendChild,Xo=zo.insertBefore,Yo=zo.removeChild,Jo=zo.replaceChild;E($o.prototype,{appendChild:function(e){return Uo(qo.call(this,e),Ko)},insertBefore:function(e,t){return Uo(Xo.call(this,e,t),Ko)},removeChild:function(e){return Uo(Yo.call(this,e),Go)},replaceChild:function(e,t){var n=Jo.call(this,e,t);return Uo(n,Go),Uo(e,Ko),n}});var Qo=Node;var Zo=new Map;M(It,"CustomElementConstructor",{get:function(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Zo.get(e);return J(t)&&(t=Vo(e),Zo.set(e,t)),t}(this)}}),T(It),j(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=ar,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=ao(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){oo.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=gn(e,Fo),o=!1,a=new r((function(r){Wr(r,n,Fo,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Ko.set(r,Fr),Go.set(r,Hr),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!J(e)){var n=Kr(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=pn(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:pe(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Bo,e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Qo))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(x(t),"synthetic")))||Do&&!J(e.$shadowResolver$)},e.parseFragment=pr,e.parseSVGFragment=mr,e.readonly=function(e){return Ft.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<xr.length;++t){var n=xr[t];if(n in e){var r=Ar[n];J(r)&&(Ar[n]=r=[]),B.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&Er.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=k(null),s=k(null),f=k(null),d=k(null),v=k(null),h=k(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=O(r,p),m.config>0){if(J(n))throw new Error;n=Yt(p,n)}else n=J(n)||J(n.get)?qt(p):Yt(p,n);s[p]=n,M(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=O(r,e)))throw new Error;c[e]=n})),!J(i))for(var g in i){var y=i[g],b=y.adapter,w=y.method,C=y.config,E=y.dynamic,S=void 0===E?[]:E;if(n=O(r,g),1===w){if(J(n))throw new Error;f[g]=n,io(n,b,C,S)}else n=Qt(g),d[g]=n,lo(n,b,C,S),M(r,g,n)}if(!J(l))for(var T in l)n=O(r,T),n=Jt(T),M(r,T,n);if(!J(u))for(var A=0,x=u.length;A<x;A++){var P=u[A];n=O(r,P);var N=!J(o)&&P in o,L=!J(l)&&P in l;N||L||(v[P]=zt(P))}return function(e,t){Zt.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return tn.add(e),M(e,"stylesheetTokens",{enumerable:!0,configurable:!0,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.renderer=Fo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Se[e])){var n=L(Se).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=Me[e];J(r)?M(Me,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;C.isFalse(yo,"Hooks are already overridden, only one definition is allowed."),yo=!0,t=e.sanitizeHtmlContent,Xn=t},e.swapComponent=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Me.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Ft.getProxy(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -298,6 +298,9 @@
|
|
|
298
298
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
299
299
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
300
300
|
var KEY__SCOPED_CSS = '$scoped$';
|
|
301
|
+
var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
302
|
+
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
303
|
+
var XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
301
304
|
/**
|
|
302
305
|
* Map composed of properties to attributes not following the HTML property to attribute mapping
|
|
303
306
|
* convention.
|
|
@@ -346,11 +349,7 @@
|
|
|
346
349
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
347
350
|
return attributeName;
|
|
348
351
|
}
|
|
349
|
-
|
|
350
|
-
var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
351
|
-
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
352
|
-
var XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
353
|
-
/** version: 2.19.1 */
|
|
352
|
+
/** version: 2.20.0 */
|
|
354
353
|
|
|
355
354
|
/*
|
|
356
355
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6459,7 +6458,7 @@
|
|
|
6459
6458
|
|
|
6460
6459
|
return ctor;
|
|
6461
6460
|
}
|
|
6462
|
-
/* version: 2.
|
|
6461
|
+
/* version: 2.20.0 */
|
|
6463
6462
|
|
|
6464
6463
|
/*
|
|
6465
6464
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7257,7 +7256,7 @@
|
|
|
7257
7256
|
});
|
|
7258
7257
|
freeze(LightningElement);
|
|
7259
7258
|
seal(LightningElement.prototype);
|
|
7260
|
-
/* version: 2.
|
|
7259
|
+
/* version: 2.20.0 */
|
|
7261
7260
|
|
|
7262
7261
|
exports.LightningElement = LightningElement;
|
|
7263
7262
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -233,62 +233,44 @@ const KEY__SHADOW_STATIC = '$shadowStaticNode$';
|
|
|
233
233
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
234
234
|
const KEY__SCOPED_CSS = '$scoped$';
|
|
235
235
|
|
|
236
|
+
/*
|
|
237
|
+
* Copyright (c) 2022, salesforce.com, inc.
|
|
238
|
+
* All rights reserved.
|
|
239
|
+
* SPDX-License-Identifier: MIT
|
|
240
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
241
|
+
*/
|
|
242
|
+
const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
|
|
243
|
+
const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
244
|
+
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
245
|
+
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
246
|
+
|
|
236
247
|
/*
|
|
237
248
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
238
249
|
* All rights reserved.
|
|
239
250
|
* SPDX-License-Identifier: MIT
|
|
240
251
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
241
252
|
*/
|
|
242
|
-
//
|
|
243
|
-
//
|
|
244
|
-
|
|
253
|
+
// Void elements are elements that self-close even without an explicit solidus (slash),
|
|
254
|
+
// e.g. `</tagName>` or `<tagName />`. For instance, `<meta>` closes on its own; no need for a slash.
|
|
255
|
+
// These only come from HTML; there are no void elements in the SVG or MathML namespaces.
|
|
256
|
+
// See: https://html.spec.whatwg.org/multipage/syntax.html#syntax-tags
|
|
257
|
+
const VOID_ELEMENTS_SET = new Set([
|
|
245
258
|
'area',
|
|
246
259
|
'base',
|
|
247
260
|
'br',
|
|
248
|
-
'circle',
|
|
249
261
|
'col',
|
|
250
|
-
'ellipse',
|
|
251
|
-
'feBlend',
|
|
252
|
-
'feColorMatrix',
|
|
253
|
-
'feFuncR',
|
|
254
|
-
'feFuncG',
|
|
255
|
-
'feFuncB',
|
|
256
|
-
'feFuncA',
|
|
257
|
-
'feImage',
|
|
258
|
-
'feComposite',
|
|
259
|
-
'feConvolveMatrix',
|
|
260
|
-
'feDiffuseLighting',
|
|
261
|
-
'feDisplacementMap',
|
|
262
|
-
'feDropShadow',
|
|
263
|
-
'feFlood',
|
|
264
|
-
'feGaussianBlur',
|
|
265
|
-
'feMerge',
|
|
266
|
-
'feMergeNode',
|
|
267
|
-
'feMorphology',
|
|
268
|
-
'feOffset',
|
|
269
|
-
'feSpecularLighting',
|
|
270
|
-
'feTile',
|
|
271
|
-
'feTurbulence',
|
|
272
|
-
'fePointLight',
|
|
273
262
|
'embed',
|
|
274
263
|
'hr',
|
|
275
264
|
'img',
|
|
276
265
|
'input',
|
|
277
|
-
'keygen',
|
|
278
|
-
'line',
|
|
279
266
|
'link',
|
|
280
|
-
'menuitem',
|
|
281
267
|
'meta',
|
|
282
|
-
'param',
|
|
283
|
-
'path',
|
|
284
|
-
'rect',
|
|
285
268
|
'source',
|
|
286
269
|
'track',
|
|
287
270
|
'wbr',
|
|
288
|
-
];
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
return VOID_ELEMENTS_SET.has(name);
|
|
271
|
+
]);
|
|
272
|
+
function isVoidElement(name, namespace) {
|
|
273
|
+
return namespace === HTML_NAMESPACE && VOID_ELEMENTS_SET.has(name.toLowerCase());
|
|
292
274
|
}
|
|
293
275
|
|
|
294
276
|
/*
|
|
@@ -429,9 +411,6 @@ function htmlEscape(str, attrMode = false) {
|
|
|
429
411
|
const searchValue = attrMode ? /["&]/g : /["'<>&]/g;
|
|
430
412
|
return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);
|
|
431
413
|
}
|
|
432
|
-
const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
433
|
-
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
434
|
-
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
435
414
|
|
|
436
415
|
/*
|
|
437
416
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -440,9 +419,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
|
440
419
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
441
420
|
*/
|
|
442
421
|
// Increment whenever the LWC template compiler changes
|
|
443
|
-
const LWC_VERSION = "2.
|
|
422
|
+
const LWC_VERSION = "2.20.0";
|
|
444
423
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
445
|
-
/** version: 2.
|
|
424
|
+
/** version: 2.20.0 */
|
|
446
425
|
|
|
447
426
|
/*
|
|
448
427
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -551,7 +530,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
551
530
|
setFeatureFlag(name, value);
|
|
552
531
|
}
|
|
553
532
|
}
|
|
554
|
-
/** version: 2.
|
|
533
|
+
/** version: 2.20.0 */
|
|
555
534
|
|
|
556
535
|
/* proxy-compat-disable */
|
|
557
536
|
|
|
@@ -6294,7 +6273,7 @@ function freezeTemplate(tmpl) {
|
|
|
6294
6273
|
});
|
|
6295
6274
|
}
|
|
6296
6275
|
}
|
|
6297
|
-
/* version: 2.
|
|
6276
|
+
/* version: 2.20.0 */
|
|
6298
6277
|
|
|
6299
6278
|
/*
|
|
6300
6279
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6336,10 +6315,11 @@ function unsupportedMethod(name) {
|
|
|
6336
6315
|
throw new TypeError(`"${name}" is not supported in this environment`);
|
|
6337
6316
|
};
|
|
6338
6317
|
}
|
|
6339
|
-
function createElement(name) {
|
|
6318
|
+
function createElement(name, namespace) {
|
|
6340
6319
|
return {
|
|
6341
6320
|
type: HostNodeType.Element,
|
|
6342
6321
|
name,
|
|
6322
|
+
namespace: namespace !== null && namespace !== void 0 ? namespace : HTML_NAMESPACE,
|
|
6343
6323
|
parent: null,
|
|
6344
6324
|
shadowRoot: null,
|
|
6345
6325
|
children: [],
|
|
@@ -6686,15 +6666,22 @@ function serializeShadowRoot(shadowRoot) {
|
|
|
6686
6666
|
}
|
|
6687
6667
|
function serializeElement(element) {
|
|
6688
6668
|
let output = '';
|
|
6689
|
-
const { name } = element;
|
|
6669
|
+
const { name, namespace } = element;
|
|
6670
|
+
const isForeignElement = namespace !== HTML_NAMESPACE;
|
|
6671
|
+
const hasChildren = element.children.length > 0;
|
|
6690
6672
|
const attrs = element.attributes.length ? ` ${serializeAttributes(element.attributes)}` : '';
|
|
6691
|
-
|
|
6692
|
-
|
|
6673
|
+
output += `<${name}${attrs}`;
|
|
6674
|
+
// Note that foreign elements can have children but not shadow roots
|
|
6675
|
+
if (isForeignElement && !hasChildren) {
|
|
6676
|
+
output += '/>';
|
|
6677
|
+
return output;
|
|
6678
|
+
}
|
|
6679
|
+
output += '>';
|
|
6693
6680
|
if (element.shadowRoot) {
|
|
6694
6681
|
output += serializeShadowRoot(element.shadowRoot);
|
|
6695
6682
|
}
|
|
6696
|
-
output += children;
|
|
6697
|
-
if (!isVoidElement(name)) {
|
|
6683
|
+
output += serializeChildNodes(element.children);
|
|
6684
|
+
if (!isVoidElement(name, namespace) || hasChildren) {
|
|
6698
6685
|
output += `</${name}>`;
|
|
6699
6686
|
}
|
|
6700
6687
|
return output;
|
|
@@ -6709,6 +6696,7 @@ function serializeElement(element) {
|
|
|
6709
6696
|
const FakeRootElement = {
|
|
6710
6697
|
type: HostNodeType.Element,
|
|
6711
6698
|
name: 'fake-root-element',
|
|
6699
|
+
namespace: HTML_NAMESPACE,
|
|
6712
6700
|
parent: null,
|
|
6713
6701
|
shadowRoot: null,
|
|
6714
6702
|
children: [],
|
|
@@ -6747,7 +6735,7 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6747
6735
|
*/
|
|
6748
6736
|
freeze(LightningElement);
|
|
6749
6737
|
seal(LightningElement.prototype);
|
|
6750
|
-
/* version: 2.
|
|
6738
|
+
/* version: 2.20.0 */
|
|
6751
6739
|
|
|
6752
6740
|
exports.LightningElement = LightningElement;
|
|
6753
6741
|
exports.api = api$1;
|