lwc 2.34.0 → 2.35.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +939 -763
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +939 -762
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +846 -684
  5. package/dist/engine-dom/iife/es5/engine-dom.js +1115 -922
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +801 -619
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +939 -762
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +846 -684
  11. package/dist/engine-dom/umd/es5/engine-dom.js +1115 -922
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +801 -619
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +1025 -1082
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +1025 -1082
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +21 -41
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +21 -41
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +20 -39
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +24 -38
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +23 -36
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +21 -41
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +20 -39
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +24 -38
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +23 -36
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  35. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  36. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  37. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  39. package/package.json +7 -7
@@ -44,7 +44,7 @@ var assert = /*#__PURE__*/Object.freeze({
44
44
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
45
45
  const { isArray } = Array;
46
46
  const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
47
- const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
47
+ const { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
48
48
  function isUndefined(obj) {
49
49
  return obj === undefined;
50
50
  }
@@ -88,41 +88,11 @@ function toString(obj) {
88
88
  * SPDX-License-Identifier: MIT
89
89
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
90
90
  */
91
- // Inspired from: https://mathiasbynens.be/notes/globalthis
92
- const _globalThis = /*@__PURE__*/ (function () {
93
- // On recent browsers, `globalThis` is already defined. In this case return it directly.
94
- if (typeof globalThis === 'object') {
95
- return globalThis;
96
- }
97
- let _globalThis;
98
- try {
99
- // eslint-disable-next-line no-extend-native
100
- Object.defineProperty(Object.prototype, '__magic__', {
101
- get: function () {
102
- return this;
103
- },
104
- configurable: true,
105
- });
106
- // __magic__ is undefined in Safari 10 and IE10 and older.
107
- // @ts-ignore
108
- // eslint-disable-next-line no-undef
109
- _globalThis = __magic__;
110
- // @ts-ignore
111
- delete Object.prototype.__magic__;
112
- }
113
- catch (ex) {
114
- // In IE8, Object.defineProperty only works on DOM objects.
115
- }
116
- finally {
117
- // If the magic above fails for some reason we assume that we are in a legacy browser.
118
- // Assume `window` exists in this case.
119
- if (typeof _globalThis === 'undefined') {
120
- // @ts-ignore
121
- _globalThis = window;
122
- }
123
- }
124
- return _globalThis;
125
- })();
91
+ // See browser support for globalThis:
92
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
93
+ /* istanbul ignore next */
94
+ // @ts-ignore
95
+ const _globalThis = typeof globalThis === 'object' ? globalThis : window;
126
96
 
127
97
  /*
128
98
  * Copyright (c) 2018, salesforce.com, inc.
@@ -138,6 +108,8 @@ const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';
138
108
  const KEY__SHADOW_TOKEN = '$shadowToken$';
139
109
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
140
110
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
111
+ const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
112
+ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
141
113
 
142
114
  /*
143
115
  * Copyright (c) 2018, salesforce.com, inc.
@@ -148,7 +120,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
148
120
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
149
121
  // we can't use typeof since it will fail when transpiling.
150
122
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
151
- /** version: 2.34.0 */
123
+ /** version: 2.35.1 */
152
124
 
153
125
  /*
154
126
  * Copyright (c) 2018, salesforce.com, inc.
@@ -463,7 +435,7 @@ if (!_globalThis.lwcRuntimeFlags) {
463
435
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
464
436
  }
465
437
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
466
- /** version: 2.34.0 */
438
+ /** version: 2.35.1 */
467
439
 
468
440
  /*
469
441
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1805,6 +1777,15 @@ defineProperty(_Node.prototype, KEY__SHADOW_RESOLVER, {
1805
1777
  defineProperty(_globalThis, KEY__IS_NATIVE_SHADOW_ROOT_DEFINED, {
1806
1778
  value: isNativeShadowRootDefined,
1807
1779
  });
1780
+ // The isUndefined check is because two copies of synthetic shadow may be loaded on the same page, and this
1781
+ // would throw an error if we tried to redefine it. Plus the whole point is to expose the native method.
1782
+ if (isUndefined(_globalThis[KEY__NATIVE_GET_ELEMENT_BY_ID])) {
1783
+ defineProperty(_globalThis, KEY__NATIVE_GET_ELEMENT_BY_ID, { value: getElementById });
1784
+ }
1785
+ // See note above.
1786
+ if (isUndefined(_globalThis[KEY__NATIVE_QUERY_SELECTOR_ALL])) {
1787
+ defineProperty(_globalThis, KEY__NATIVE_QUERY_SELECTOR_ALL, { value: querySelectorAll });
1788
+ }
1808
1789
  function getShadowRootResolver(node) {
1809
1790
  return node[KEY__SHADOW_RESOLVER];
1810
1791
  }
@@ -4701,8 +4682,7 @@ defineProperty(Element.prototype, '$domManual$', {
4701
4682
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4702
4683
  */
4703
4684
  // Only used in LWC's Karma tests
4704
- // @ts-ignore
4705
- if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
4685
+ if (process.env.NODE_ENV === 'test-karma-lwc') {
4706
4686
  window.addEventListener('test-dummy-flag', () => {
4707
4687
  let hasFlag = false;
4708
4688
  if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
@@ -4716,4 +4696,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
4716
4696
  }));
4717
4697
  });
4718
4698
  }
4719
- /** version: 2.34.0 */
4699
+ /** version: 2.35.1 */
@@ -47,7 +47,7 @@
47
47
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
48
48
  const { isArray } = Array;
49
49
  const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
50
- const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
50
+ const { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
51
51
  function isUndefined(obj) {
52
52
  return obj === undefined;
53
53
  }
@@ -91,41 +91,11 @@
91
91
  * SPDX-License-Identifier: MIT
92
92
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
93
93
  */
94
- // Inspired from: https://mathiasbynens.be/notes/globalthis
95
- const _globalThis = /*@__PURE__*/ (function () {
96
- // On recent browsers, `globalThis` is already defined. In this case return it directly.
97
- if (typeof globalThis === 'object') {
98
- return globalThis;
99
- }
100
- let _globalThis;
101
- try {
102
- // eslint-disable-next-line no-extend-native
103
- Object.defineProperty(Object.prototype, '__magic__', {
104
- get: function () {
105
- return this;
106
- },
107
- configurable: true,
108
- });
109
- // __magic__ is undefined in Safari 10 and IE10 and older.
110
- // @ts-ignore
111
- // eslint-disable-next-line no-undef
112
- _globalThis = __magic__;
113
- // @ts-ignore
114
- delete Object.prototype.__magic__;
115
- }
116
- catch (ex) {
117
- // In IE8, Object.defineProperty only works on DOM objects.
118
- }
119
- finally {
120
- // If the magic above fails for some reason we assume that we are in a legacy browser.
121
- // Assume `window` exists in this case.
122
- if (typeof _globalThis === 'undefined') {
123
- // @ts-ignore
124
- _globalThis = window;
125
- }
126
- }
127
- return _globalThis;
128
- })();
94
+ // See browser support for globalThis:
95
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
96
+ /* istanbul ignore next */
97
+ // @ts-ignore
98
+ const _globalThis = typeof globalThis === 'object' ? globalThis : window;
129
99
 
130
100
  /*
131
101
  * Copyright (c) 2018, salesforce.com, inc.
@@ -141,6 +111,8 @@
141
111
  const KEY__SHADOW_TOKEN = '$shadowToken$';
142
112
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
143
113
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
114
+ const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
115
+ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
144
116
 
145
117
  /*
146
118
  * Copyright (c) 2018, salesforce.com, inc.
@@ -151,7 +123,7 @@
151
123
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
152
124
  // we can't use typeof since it will fail when transpiling.
153
125
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
154
- /** version: 2.34.0 */
126
+ /** version: 2.35.1 */
155
127
 
156
128
  /*
157
129
  * Copyright (c) 2018, salesforce.com, inc.
@@ -466,7 +438,7 @@
466
438
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
467
439
  }
468
440
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
469
- /** version: 2.34.0 */
441
+ /** version: 2.35.1 */
470
442
 
471
443
  /*
472
444
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1808,6 +1780,15 @@
1808
1780
  defineProperty(_globalThis, KEY__IS_NATIVE_SHADOW_ROOT_DEFINED, {
1809
1781
  value: isNativeShadowRootDefined,
1810
1782
  });
1783
+ // The isUndefined check is because two copies of synthetic shadow may be loaded on the same page, and this
1784
+ // would throw an error if we tried to redefine it. Plus the whole point is to expose the native method.
1785
+ if (isUndefined(_globalThis[KEY__NATIVE_GET_ELEMENT_BY_ID])) {
1786
+ defineProperty(_globalThis, KEY__NATIVE_GET_ELEMENT_BY_ID, { value: getElementById });
1787
+ }
1788
+ // See note above.
1789
+ if (isUndefined(_globalThis[KEY__NATIVE_QUERY_SELECTOR_ALL])) {
1790
+ defineProperty(_globalThis, KEY__NATIVE_QUERY_SELECTOR_ALL, { value: querySelectorAll });
1791
+ }
1811
1792
  function getShadowRootResolver(node) {
1812
1793
  return node[KEY__SHADOW_RESOLVER];
1813
1794
  }
@@ -4704,8 +4685,7 @@
4704
4685
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4705
4686
  */
4706
4687
  // Only used in LWC's Karma tests
4707
- // @ts-ignore
4708
- if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
4688
+ if (process.env.NODE_ENV === 'test-karma-lwc') {
4709
4689
  window.addEventListener('test-dummy-flag', () => {
4710
4690
  let hasFlag = false;
4711
4691
  if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
@@ -4719,6 +4699,6 @@
4719
4699
  }));
4720
4700
  });
4721
4701
  }
4722
- /** version: 2.34.0 */
4702
+ /** version: 2.35.1 */
4723
4703
 
4724
4704
  })();
@@ -1,4 +1,4 @@
1
- !function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,fill:m,filter:b,find:d,indexOf:y,join:E,map:w,pop:v,push:T,reduce:N,reverse:M,shift:L,slice:S,some:C,sort:O,splice:H,unshift:D,forEach:R}=Array.prototype,{charCodeAt:P,replace:I,slice:A,toLowerCase:_}=String.prototype;function B(e){return void 0===e}function $(e){return null===e}function x(e){return!0===e}function F(e){return!1===e}function k(e){return"function"==typeof e}function W(e){return"object"==typeof e}const j=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),U="$shadowResolver$",G="$$ShadowResolverKey$$",K="$shadowStaticNodeKey$",q="$shadowToken$",Y="$$ShadowTokenKey$$",X=Node,V=X.prototype,{DOCUMENT_POSITION_CONTAINED_BY:z,DOCUMENT_POSITION_CONTAINS:J,DOCUMENT_POSITION_PRECEDING:Q,DOCUMENT_POSITION_FOLLOWING:Z,ELEMENT_NODE:ee,TEXT_NODE:te,CDATA_SECTION_NODE:ne,PROCESSING_INSTRUCTION_NODE:le,COMMENT_NODE:oe,DOCUMENT_FRAGMENT_NODE:re}=X,{appendChild:ae,cloneNode:ie,compareDocumentPosition:ce,insertBefore:ue,removeChild:se,replaceChild:fe,hasChildNodes:pe}=V,{contains:he}=HTMLElement.prototype,ge=r(V,"firstChild").get,me=r(V,"lastChild").get,be=r(V,"textContent").get,de=r(V,"parentNode").get,ye=r(V,"ownerDocument").get,Ee=c.call(V,"parentElement")?r(V,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,we=r(V,"textContent").set,ve=c.call(V,"childNodes")?r(V,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Te=c.call(V,"isConnected")?r(V,"isConnected").get:function(){const e=ye.call(this);return null===e||0!=(ce.call(e,this)&z)},{getAttribute:Ne,getBoundingClientRect:Me,getElementsByTagName:Le,getElementsByTagNameNS:Se,hasAttribute:Ce,querySelector:Oe,querySelectorAll:He,removeAttribute:De,setAttribute:Re}=Element.prototype,Pe=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ie=r(Element.prototype,"childElementCount").get,Ae=r(Element.prototype,"firstElementChild").get,_e=r(Element.prototype,"lastElementChild").get,Be=r(HTMLElement.prototype,"innerText"),$e=Be?Be.get:null,xe=Be?Be.set:null,Fe=r(HTMLElement.prototype,"outerText"),ke=Fe?Fe.get:null,We=Fe?Fe.set:null,je=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Ue=je.get,Ge=je.set,Ke=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),qe=Ke.get,Ye=Ke.set,Xe=r(Element.prototype,"tagName").get,Ve=r(HTMLElement.prototype,"tabIndex"),ze=Ve.get,Je=Ve.set,Qe=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ze=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:et}=HTMLElement.prototype,tt=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,nt=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let lt,ot;"undefined"!=typeof HTMLSlotElement?(lt=HTMLSlotElement.prototype.assignedNodes,ot=HTMLSlotElement.prototype.assignedElements):(lt=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},ot=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const rt=r(Event.prototype,"target").get,at=r(Event.prototype,"currentTarget").get,it=r(FocusEvent.prototype,"relatedTarget").get,ct=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],ut=r(Document.prototype,"activeElement").get,st=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,ft=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,pt=r(Document.prototype,"defaultView").get,{createComment:ht,querySelectorAll:gt,getElementById:mt,getElementsByClassName:bt,getElementsByTagName:dt,getElementsByTagNameNS:yt}=Document.prototype,{getElementsByName:Et}=HTMLDocument.prototype,{addEventListener:wt,removeEventListener:vt,getComputedStyle:Tt,getSelection:Nt}=window,Mt=MutationObserver,Lt=Mt.prototype.observe;let St=null;"undefined"!=typeof ShadowRoot&&(St=ShadowRoot);const Ct=!$(St),Ot=$(St)?()=>!1:e=>e instanceof St;const{createElement:Ht}=Document.prototype;function Dt(e){const t=ye.call(e);return null===t?e:t}function Rt(e){const t=Dt(e),n=pt.call(t);if(null===n)throw new TypeError;return n}let Pt;function It(e){if(B(Pt)){const t=Dt(e);Pt=t.body&&"temporary-bypass"===Ne.call(t.body,"data-global-patching-bypass")}return x(Pt)}function At(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Ht.apply(this,S.call(arguments));return 4===t.length&&115===P.call(t,0)&&108===P.call(t,1)&&111===P.call(t,2)&&116===P.call(t,3)&&p(l,e.prototype),l}})}();const _t="undefined"!=typeof EventTarget?EventTarget.prototype:X.prototype,{addEventListener:Bt,dispatchEvent:$t,removeEventListener:xt}=_t;j.lwcRuntimeFlags||Object.defineProperty(j,"lwcRuntimeFlags",{value:t(null)});const Ft=j.lwcRuntimeFlags,kt="$$HostElementKey$$",Wt="$$ShadowedNodeKey$$";function jt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Ut(e){return e[kt]}function Gt(e){let t,n=e;for(;!$(n);){if(t=Ut(n),!B(t))return t;if(n=de.call(n),Ft.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!$(n)&&zt(n))return}}function Kt(e){return e[Wt]}function qt(e){return!B(Ut(e))}function Yt(e){let t=Ee.call(e);for(;!$(t)&&Jt(t);)e=t,t=Ee.call(e);return e}function Xt(e,t){const n=Kt(e);let l=t instanceof Element?t:Ee.call(t);for(;!$(l)&&l!==e;){const t=Gt(l),o=Ee.call(l);if(t===n)return Jt(l);if(o===e)return!1;if($(o)||Gt(o)===t)l=o;else{if(!Jt(o))return!1;if(l=Vt(Yt(o)),!$(l)){if(l===e)return!0;if(Gt(l)===n)return!0}}}return!1}function Vt(e){if(!(e instanceof X))return null;const t=Gt(e);if(B(t))return null;let n=e;for(;!$(n)&&Kt(n)!==t;)n=de.call(n);return $(n)?null:n}function zt(e){return Jt(e)&&qt(e)}function Jt(e){return e instanceof HTMLSlotElement}function Qt(e,t){const n=Gt(t);if(B(n)){if(Ft.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=de.call(t);if(!$(e)&&zt(e))return!1}return!0}return Kt(e)===n}function Zt(e){const t=ul(e);return nn(t,At(ve.call(t)))}function en(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Qt(e,o)&&Xt(e,o)&&T.call(n,o)}return n}function tn(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Qt(e,l)&&Xt(e,l))return l}return null}function nn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Qt(e,o)&&T.call(n,o)}return n}function ln(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Qt(e,t[n]))return t[n];return null}function on(e){if(!fl(e)&&!Jt(e)){return At(ve.call(e))}if(fl(e)){const t=At(He.call(e,"slot")),n=al(sl(e));return N.call(t,((e,t)=>(n===al(t)&&T.apply(e,rn(t)),e)),[])}{const t=At(ve.call(e)),n=al(e);return b.call(t,(e=>n===al(e)))}}function rn(e){const t=Vt(e);if($(t))return[];const n=At(ve.call(e));return b.call(n,(e=>!qt(e)||!Qt(t,e)))}const an=/[&\u00A0"]/g,cn=/[&\u00A0<>]/g,{replace:un,toLowerCase:sn}=String.prototype;function fn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function pn(e){return un.call(e,an,fn)}const hn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),gn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function mn(e){switch(e.nodeType){case ee:{const{attributes:t}=e,n=Xe.call(e);let l="<"+sn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+pn(e.value)+'"';return l+=">",hn.has(n)?l:l+function(e){let t="";const n=on(e);for(let e=0,l=n.length;e<l;e+=1)t+=mn(n[e]);return t}(e)+"</"+sn.call(n)+">"}case te:{const{data:n,parentNode:l}=e;return l instanceof Element&&gn.has(Xe.call(l))?n:(t=n,un.call(t,cn,fn))}case ne:return`<!CDATA[[${e.data}]]>`;case le:return`<?${e.target} ${e.data}?>`;case oe:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function bn(e){if(e.nodeType===ee){const t=on(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==oe&&(n+=bn(l))}return n}return e.nodeValue}const dn=new WeakMap;function yn(){throw new TypeError("Illegal constructor")}function En(e){const n=t(yn.prototype);return dn.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}yn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:yn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return dn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){R.call(dn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(dn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(dn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return dn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=dn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),p(yn,NodeList);const wn=(e,t)=>{let n;for(;!B(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function vn(e,t,n,l){const o=ft.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!B(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!$(o))for(let e=0;e<o.length;e++){const t=o[e];if(zt(t))continue;const n=t.getRootNode();if(-1!==y.call(a,n)){T.call(r,t);continue}const l=wn(n,a[0]);B(l)||-1!==y.call(o,l)||-1!==y.call(r,l)||T.call(r,l)}return r}const Tn=new WeakMap;function Nn(){throw new TypeError("Illegal constructor")}function Mn(e){const n=t(Nn.prototype);return Tn.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Ln(e){return zt(e)||fl(e)}function Sn(e,t){const n=Vt(e);if(t===n)return sl(n);if(t instanceof Element){if(Gt(e)===Gt(t))return t;if(!$(n)&&Jt(t)){const e=Vt(t);if(!$(e)&&Qt(n,e))return e}}return null}function Cn(){return Fn(this).length>0}function On(){return Fn(this)[0]||null}function Hn(){const e=Fn(this);return e[e.length-1]||null}function Dn(){return bn(this)}function Rn(){const e=de.call(this);return $(e)?e:Sn(this,e)}function Pn(){const e=de.call(this);if($(e))return null;const t=Sn(this,e);return t instanceof Element?t:null}function In(e){return this===e?0:this.getRootNode()===e?10:Ut(this)!==Ut(e)?35:ce.call(this,e)}function An(e){return null!=e&&Ut(this)===Ut(e)&&0!=(ce.call(this,e)&z)}function _n(e){const t=ie.call(this,!1);if(!e)return t;const n=Fn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Bn(){if(fl(this)){const e=Vt(this);return En($(e)?[]:nn(e,on(this)))}return ve.call(this)}Nn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Nn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Tn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Tn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Ne.call(n,"id")||e===Ne.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Nn,HTMLCollection);const $n=X.prototype.getRootNode,xn=B($n)?function(){let e,t=this;for(;!$(e=de.call(t));)t=e;return t}:$n;n(X.prototype,{firstChild:{get(){return Ln(this)?On.call(this):ge.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Ln(this)?Hn.call(this):me.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return qt(this)||fl(this)?Dn.call(this):be.call(this)},set:function(e){we.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(qt(this))return Rn.call(this);const e=de.call(this);return!$(e)&&zt(e)?Vt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(qt(this))return Pn.call(this);const e=Ee.call(this);return!$(e)&&zt(e)?Vt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Ln(this)?Bn.call(this):ve.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Ln(this)?Cn.call(this):pe.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return It(this)?ce.call(this,e):In.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(qt(this)||fl(this)?An.call(this,e):he.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return qt(this)||fl(this)?_n.call(this,e):ie.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return x(!B(e)&&!!e.composed)?xn.call(this,e):function(e){const t=Vt(e);return $(t)?xn.call(e):sl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Te.call(this)}}});const Fn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(X.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(X.prototype,"parentElement"));const kn=new WeakMap,Wn=new WeakMap;function jn(e,t,n){if(t===n)return!0;let l=Wn.get(e);return B(l)&&(l=e.composedPath(),Wn.set(e,l)),l.includes(n)}function Un(e){if(!function(e){return k(e)||W(e)&&!$(e)&&k(e.handleEvent)}(e))return e;let t=kn.get(e);return B(t)&&(t=function(t){const n=at.call(t);if(jn(t,Yn(t),n))return k(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},kn.set(e,t)),t}const Gn=new WeakMap,Kn=new WeakMap;function qn(e){let n=Kn.get(e);return B(n)&&(n=t(null),Kn.set(e,n)),n}function Yn(e){var t;return null!==(t=dl.get(e))&&void 0!==t?t:rt.call(e)}const Xn=new WeakMap;function Vn(e){if(!k(e))throw new TypeError;let t=Xn.get(e);return B(t)&&(t=function(t){let n=at.call(t);Ot(n)||(n=sl(n));jn(t,Yn(t),n)&&e.call(n,t)},t.placement=1,Xn.set(e,t)),t}const zn=new WeakMap;function Jn(e){if(!k(e))throw new TypeError;let t=zn.get(e);return B(t)&&(t=function(t){const n=at.call(t);jn(t,Yn(t),n)&&e.call(n,t)},t.placement=0,zn.set(e,t)),t}function Qn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=qn(at.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=S.call(i);function u(n){R.call(c,(l=>{F(t)&&l.placement===n&&-1!==y.call(i,l)&&l.call(void 0,e)}))}Gn.set(e,1),u(1),F(t)&&F(n)&&(Gn.set(e,0),u(0)),Gn.set(e,2)}function Zn(e,t,n){const l=qn(e);let o=l[t];B(o)&&(o=l[t]=[]),-1===y.call(o,n)&&(0===o.length&&Bt.call(e,t,Qn),T.call(o,n))}function el(e,t,n){let l,o;B(o=qn(e)[t])||-1===(l=y.call(o,n))||(H.call(o,l,1),0===o.length&&xt.call(e,t,Qn))}function tl(e,t,n){if(k(t)){Zn(this,e,Jn(t))}}function nl(e,t,n){if(k(t)){el(this,e,Jn(t))}}const ll=new WeakMap,{createDocumentFragment:ol}=document;function rl(e){const t=ll.get(e);if(B(t))throw new TypeError;return t}function al(e){return e[U]}function il(e,t){e[U]=t}function cl(e){return rl(e).delegatesFocus}function ul(e){return rl(e).host}function sl(e){return rl(e).shadowRoot}function fl(e){const t=ll.get(e);return!B(t)&&e===t.host}function pl(e){const t=ll.get(e);return!B(t)&&e===t.shadowRoot}l(X.prototype,U,{set(e){var t,n;B(e)||(this[G]=e,t=this,n=e.nodeKey,jt(t,kt,{value:n,configurable:!0}))},get(){return this[G]},configurable:!0,enumerable:!0}),l(j,"$isNativeShadowRootDefined$",{value:Ct});let hl=0;function gl(e,t){if(ll.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=Dt(e),r=ol.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};ll.set(r,a),ll.set(e,a);const i=()=>r,c=i.nodeKey=hl++;return jt(e,Wt,{value:c}),il(r,i),p(r,El.prototype),r}const ml={constructor:{writable:!0,configurable:!0,value:El},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},bl={activeElement:{enumerable:!0,configurable:!0,get(){const e=ul(this),t=Dt(e),n=ut.call(t);if($(n))return n;if(0==(ce.call(e,n)&z))return null;let l=n;for(;!Qt(e,l);)l=Ee.call(l);return Jt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return rl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Tl(this,Dt(ul(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return vn(this,Dt(ul(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return ul(this)}},mode:{configurable:!0,get(){return rl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},dl=new WeakMap,yl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ue.call(ul(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return se.call(ul(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ae.call(ul(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return fe.call(ul(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&Zn(ul(e),t,Vn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return dl.set(e,this),$t.apply(ul(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&el(ul(e),t,Vn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return ul(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return En(Zt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=ul(this);return this===e?0:this.contains(e)?20:ce.call(t,e)&z?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=ul(this);return 0!=(ce.call(t,e)&z)&&Qt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Fn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Fn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Fn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Te.call(ul(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return ul(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Fn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==oe&&(t+=bn(l))}return t},set(e){const t=ul(this);we.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!B(e)&&x(e.composed)?ul(this).getRootNode(e):this}}};function El(){throw new TypeError("Illegal constructor")}function wl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof X))return n;l=e.getRootNode()}let o,r=e;for(;!$(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=$(e)?r.parentNode:e}else r=!pl(r)&&!Ot(r)||!t&&r===l?r instanceof X?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Dt(e),n[n.length-1]===o&&n.push(window),n}
1
+ !function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,fill:m,filter:b,find:d,indexOf:y,join:E,map:w,pop:v,push:T,reduce:N,reverse:M,shift:L,slice:S,some:C,sort:H,splice:O,unshift:D,forEach:R}=Array.prototype,{charCodeAt:P,replace:I,split:A,slice:$,toLowerCase:B}=String.prototype;function _(e){return void 0===e}function x(e){return null===e}function F(e){return!0===e}function k(e){return!1===e}function W(e){return"function"==typeof e}function U(e){return"object"==typeof e}const G="object"==typeof globalThis?globalThis:window,j="$shadowResolver$",K="$$ShadowResolverKey$$",q="$shadowStaticNodeKey$",Y="$shadowToken$",X="$$ShadowTokenKey$$",V="$nativeGetElementById$",z="$nativeQuerySelectorAll$",Q=Node,J=Q.prototype,{DOCUMENT_POSITION_CONTAINED_BY:Z,DOCUMENT_POSITION_CONTAINS:ee,DOCUMENT_POSITION_PRECEDING:te,DOCUMENT_POSITION_FOLLOWING:ne,ELEMENT_NODE:le,TEXT_NODE:oe,CDATA_SECTION_NODE:re,PROCESSING_INSTRUCTION_NODE:ae,COMMENT_NODE:ie,DOCUMENT_FRAGMENT_NODE:ce}=Q,{appendChild:ue,cloneNode:se,compareDocumentPosition:fe,insertBefore:pe,removeChild:he,replaceChild:ge,hasChildNodes:me}=J,{contains:be}=HTMLElement.prototype,de=r(J,"firstChild").get,ye=r(J,"lastChild").get,Ee=r(J,"textContent").get,we=r(J,"parentNode").get,ve=r(J,"ownerDocument").get,Te=c.call(J,"parentElement")?r(J,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Ne=r(J,"textContent").set,Me=c.call(J,"childNodes")?r(J,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Le=c.call(J,"isConnected")?r(J,"isConnected").get:function(){const e=ve.call(this);return null===e||0!=(fe.call(e,this)&Z)},{getAttribute:Se,getBoundingClientRect:Ce,getElementsByTagName:He,getElementsByTagNameNS:Oe,hasAttribute:De,querySelector:Re,querySelectorAll:Pe,removeAttribute:Ie,setAttribute:Ae}=Element.prototype,$e=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Be=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,xe=r(Element.prototype,"lastElementChild").get,Fe=r(HTMLElement.prototype,"innerText"),ke=Fe?Fe.get:null,We=Fe?Fe.set:null,Ue=r(HTMLElement.prototype,"outerText"),Ge=Ue?Ue.get:null,je=Ue?Ue.set:null,Ke=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),qe=Ke.get,Ye=Ke.set,Xe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ve=Xe.get,ze=Xe.set,Qe=r(Element.prototype,"tagName").get,Je=r(HTMLElement.prototype,"tabIndex"),Ze=Je.get,et=Je.set,tt=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,nt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:lt}=HTMLElement.prototype,ot=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,rt=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let at,it;"undefined"!=typeof HTMLSlotElement?(at=HTMLSlotElement.prototype.assignedNodes,it=HTMLSlotElement.prototype.assignedElements):(at=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},it=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const ct=r(Event.prototype,"target").get,ut=r(Event.prototype,"currentTarget").get,st=r(FocusEvent.prototype,"relatedTarget").get,ft=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],pt=r(Document.prototype,"activeElement").get,ht=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,gt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,mt=r(Document.prototype,"defaultView").get,{createComment:bt,querySelectorAll:dt,getElementById:yt,getElementsByClassName:Et,getElementsByTagName:wt,getElementsByTagNameNS:vt}=Document.prototype,{getElementsByName:Tt}=HTMLDocument.prototype,{addEventListener:Nt,removeEventListener:Mt,getComputedStyle:Lt,getSelection:St}=window,Ct=MutationObserver,Ht=Ct.prototype.observe;let Ot=null;"undefined"!=typeof ShadowRoot&&(Ot=ShadowRoot);const Dt=!x(Ot),Rt=x(Ot)?()=>!1:e=>e instanceof Ot;const{createElement:Pt}=Document.prototype;function It(e){const t=ve.call(e);return null===t?e:t}function At(e){const t=It(e),n=mt.call(t);if(null===n)throw new TypeError;return n}let $t;function Bt(e){if(_($t)){const t=It(e);$t=t.body&&"temporary-bypass"===Se.call(t.body,"data-global-patching-bypass")}return F($t)}function _t(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Pt.apply(this,S.call(arguments));return 4===t.length&&115===P.call(t,0)&&108===P.call(t,1)&&111===P.call(t,2)&&116===P.call(t,3)&&p(l,e.prototype),l}})}();const xt="undefined"!=typeof EventTarget?EventTarget.prototype:Q.prototype,{addEventListener:Ft,dispatchEvent:kt,removeEventListener:Wt}=xt;G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:t(null)});const Ut=G.lwcRuntimeFlags,Gt="$$HostElementKey$$",jt="$$ShadowedNodeKey$$";function Kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function qt(e){return e[Gt]}function Yt(e){let t,n=e;for(;!x(n);){if(t=qt(n),!_(t))return t;if(n=we.call(n),Ut.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!x(n)&&Zt(n))return}}function Xt(e){return e[jt]}function Vt(e){return!_(qt(e))}function zt(e){let t=Te.call(e);for(;!x(t)&&en(t);)e=t,t=Te.call(e);return e}function Qt(e,t){const n=Xt(e);let l=t instanceof Element?t:Te.call(t);for(;!x(l)&&l!==e;){const t=Yt(l),o=Te.call(l);if(t===n)return en(l);if(o===e)return!1;if(x(o)||Yt(o)===t)l=o;else{if(!en(o))return!1;if(l=Jt(zt(o)),!x(l)){if(l===e)return!0;if(Yt(l)===n)return!0}}}return!1}function Jt(e){if(!(e instanceof Q))return null;const t=Yt(e);if(_(t))return null;let n=e;for(;!x(n)&&Xt(n)!==t;)n=we.call(n);return x(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){const n=Yt(t);if(_(n)){if(Ut.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=we.call(t);if(!x(e)&&Zt(e))return!1}return!0}return Xt(e)===n}function nn(e){const t=pl(e);return rn(t,_t(Me.call(t)))}function ln(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!tn(e,o)&&Qt(e,o)&&T.call(n,o)}return n}function on(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!tn(e,l)&&Qt(e,l))return l}return null}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];tn(e,o)&&T.call(n,o)}return n}function an(e,t){for(let n=0,l=t.length;n<l;n+=1)if(tn(e,t[n]))return t[n];return null}function cn(e){if(!gl(e)&&!en(e)){return _t(Me.call(e))}if(gl(e)){const t=_t(Pe.call(e,"slot")),n=ul(hl(e));return N.call(t,((e,t)=>(n===ul(t)&&T.apply(e,un(t)),e)),[])}{const t=_t(Me.call(e)),n=ul(e);return b.call(t,(e=>n===ul(e)))}}function un(e){const t=Jt(e);if(x(t))return[];const n=_t(Me.call(e));return b.call(n,(e=>!Vt(e)||!tn(t,e)))}const sn=/[&\u00A0"]/g,fn=/[&\u00A0<>]/g,{replace:pn,toLowerCase:hn}=String.prototype;function gn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function mn(e){return pn.call(e,sn,gn)}const bn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),dn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function yn(e){switch(e.nodeType){case le:{const{attributes:t}=e,n=Qe.call(e);let l="<"+hn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+mn(e.value)+'"';return l+=">",bn.has(n)?l:l+function(e){let t="";const n=cn(e);for(let e=0,l=n.length;e<l;e+=1)t+=yn(n[e]);return t}(e)+"</"+hn.call(n)+">"}case oe:{const{data:n,parentNode:l}=e;return l instanceof Element&&dn.has(Qe.call(l))?n:(t=n,pn.call(t,fn,gn))}case re:return`<!CDATA[[${e.data}]]>`;case ae:return`<?${e.target} ${e.data}?>`;case ie:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function En(e){if(e.nodeType===le){const t=cn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ie&&(n+=En(l))}return n}return e.nodeValue}const wn=new WeakMap;function vn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(vn.prototype);return wn.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}vn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:vn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return wn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){R.call(wn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return wn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=wn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),p(vn,NodeList);const Nn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Mn(e,t,n,l){const o=gt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!_(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!x(o))for(let e=0;e<o.length;e++){const t=o[e];if(Zt(t))continue;const n=t.getRootNode();if(-1!==y.call(a,n)){T.call(r,t);continue}const l=Nn(n,a[0]);_(l)||-1!==y.call(o,l)||-1!==y.call(r,l)||T.call(r,l)}return r}const Ln=new WeakMap;function Sn(){throw new TypeError("Illegal constructor")}function Cn(e){const n=t(Sn.prototype);return Ln.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Hn(e){return Zt(e)||gl(e)}function On(e,t){const n=Jt(e);if(t===n)return hl(n);if(t instanceof Element){if(Yt(e)===Yt(t))return t;if(!x(n)&&en(t)){const e=Jt(t);if(!x(e)&&tn(n,e))return e}}return null}function Dn(){return Un(this).length>0}function Rn(){return Un(this)[0]||null}function Pn(){const e=Un(this);return e[e.length-1]||null}function In(){return En(this)}function An(){const e=we.call(this);return x(e)?e:On(this,e)}function $n(){const e=we.call(this);if(x(e))return null;const t=On(this,e);return t instanceof Element?t:null}function Bn(e){return this===e?0:this.getRootNode()===e?10:qt(this)!==qt(e)?35:fe.call(this,e)}function _n(e){return null!=e&&qt(this)===qt(e)&&0!=(fe.call(this,e)&Z)}function xn(e){const t=se.call(this,!1);if(!e)return t;const n=Un(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Fn(){if(gl(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)}Sn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Sn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Ln.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Ln.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Se.call(n,"id")||e===Se.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Sn,HTMLCollection);const kn=Q.prototype.getRootNode,Wn=_(kn)?function(){let e,t=this;for(;!x(e=we.call(t));)t=e;return t}:kn;n(Q.prototype,{firstChild:{get(){return Hn(this)?Rn.call(this):de.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Hn(this)?Pn.call(this):ye.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Vt(this)||gl(this)?In.call(this):Ee.call(this)},set:function(e){Ne.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Vt(this))return An.call(this);const e=we.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Vt(this))return $n.call(this);const e=Te.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Hn(this)?Fn.call(this):Me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Hn(this)?Dn.call(this):me.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Bt(this)?fe.call(this,e):Bn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Vt(this)||gl(this)?_n.call(this,e):be.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Vt(this)||gl(this)?xn.call(this,e):se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return F(!_(e)&&!!e.composed)?Wn.call(this,e):function(e){const t=Jt(e);return x(t)?Wn.call(e):hl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(this)}}});const Un=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(Q.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(Q.prototype,"parentElement"));const Gn=new WeakMap,jn=new WeakMap;function Kn(e,t,n){if(t===n)return!0;let l=jn.get(e);return _(l)&&(l=e.composedPath(),jn.set(e,l)),l.includes(n)}function qn(e){if(!function(e){return W(e)||U(e)&&!x(e)&&W(e.handleEvent)}(e))return e;let t=Gn.get(e);return _(t)&&(t=function(t){const n=ut.call(t);if(Kn(t,zn(t),n))return W(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Gn.set(e,t)),t}const Yn=new WeakMap,Xn=new WeakMap;function Vn(e){let n=Xn.get(e);return _(n)&&(n=t(null),Xn.set(e,n)),n}function zn(e){var t;return null!==(t=wl.get(e))&&void 0!==t?t:ct.call(e)}const Qn=new WeakMap;function Jn(e){if(!W(e))throw new TypeError;let t=Qn.get(e);return _(t)&&(t=function(t){let n=ut.call(t);Rt(n)||(n=hl(n));Kn(t,zn(t),n)&&e.call(n,t)},t.placement=1,Qn.set(e,t)),t}const Zn=new WeakMap;function el(e){if(!W(e))throw new TypeError;let t=Zn.get(e);return _(t)&&(t=function(t){const n=ut.call(t);Kn(t,zn(t),n)&&e.call(n,t)},t.placement=0,Zn.set(e,t)),t}function tl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Vn(ut.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=S.call(i);function u(n){R.call(c,(l=>{k(t)&&l.placement===n&&-1!==y.call(i,l)&&l.call(void 0,e)}))}Yn.set(e,1),u(1),k(t)&&k(n)&&(Yn.set(e,0),u(0)),Yn.set(e,2)}function nl(e,t,n){const l=Vn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===y.call(o,n)&&(0===o.length&&Ft.call(e,t,tl),T.call(o,n))}function ll(e,t,n){let l,o;_(o=Vn(e)[t])||-1===(l=y.call(o,n))||(O.call(o,l,1),0===o.length&&Wt.call(e,t,tl))}function ol(e,t,n){if(W(t)){nl(this,e,el(t))}}function rl(e,t,n){if(W(t)){ll(this,e,el(t))}}const al=new WeakMap,{createDocumentFragment:il}=document;function cl(e){const t=al.get(e);if(_(t))throw new TypeError;return t}function ul(e){return e[j]}function sl(e,t){e[j]=t}function fl(e){return cl(e).delegatesFocus}function pl(e){return cl(e).host}function hl(e){return cl(e).shadowRoot}function gl(e){const t=al.get(e);return!_(t)&&e===t.host}function ml(e){const t=al.get(e);return!_(t)&&e===t.shadowRoot}l(Q.prototype,j,{set(e){var t,n;_(e)||(this[K]=e,t=this,n=e.nodeKey,Kt(t,Gt,{value:n,configurable:!0}))},get(){return this[K]},configurable:!0,enumerable:!0}),l(G,"$isNativeShadowRootDefined$",{value:Dt}),_(G[V])&&l(G,V,{value:yt}),_(G[z])&&l(G,z,{value:dt});let bl=0;function dl(e,t){if(al.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=It(e),r=il.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};al.set(r,a),al.set(e,a);const i=()=>r,c=i.nodeKey=bl++;return Kt(e,jt,{value:c}),sl(r,i),p(r,Tl.prototype),r}const yl={constructor:{writable:!0,configurable:!0,value:Tl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},El={activeElement:{enumerable:!0,configurable:!0,get(){const e=pl(this),t=It(e),n=pt.call(t);if(x(n))return n;if(0==(fe.call(e,n)&Z))return null;let l=n;for(;!tn(e,l);)l=Te.call(l);return en(l)?null:l}},delegatesFocus:{configurable:!0,get(){return cl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ll(this,It(pl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Mn(this,It(pl(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return pl(this)}},mode:{configurable:!0,get(){return cl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},wl=new WeakMap,vl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return pe.call(pl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return he.call(pl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ue.call(pl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ge.call(pl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&nl(pl(e),t,Jn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return wl.set(e,this),kt.apply(pl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&ll(pl(e),t,Jn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return pl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Tn(nn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=pl(this);return this===e?0:this.contains(e)?20:fe.call(t,e)&Z?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=pl(this);return 0!=(fe.call(t,e)&Z)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Un(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Un(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Un(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(pl(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return pl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==ie&&(t+=En(l))}return t},set(e){const t=pl(this);Ne.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&F(e.composed)?pl(this).getRootNode(e):this}}};function Tl(){throw new TypeError("Illegal constructor")}function Nl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof Q))return n;l=e.getRootNode()}let o,r=e;for(;!x(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=x(e)?r.parentNode:e}else r=!ml(r)&&!Rt(r)||!t&&r===l?r instanceof Q?r.parentNode:null:r.host;return o=e instanceof Window?e.document:It(e),n[n.length-1]===o&&n.push(window),n}
2
2
  /**
3
3
  @license
4
4
  Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
@@ -7,4 +7,4 @@
7
7
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8
8
  Code distributed by Google as part of the polymer project is also
9
9
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10
- */function vl(e,t){if($(e))return null;const n=wl(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!pl(o)||!B(r)&&r>-1)return e;return null}function Tl(e,t,n,l){const o=st.call(t,n,l);return $(o)?o:vl(e,wl(o,!0))}e(ml,yl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Mn(b.call(Zt(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=ul(e);return ln(n,At(He.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return En(function(e,t){const n=ul(e);return nn(n,At(He.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Fn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=mn(e[n]);return t},set(e){const t=ul(this);Ge.call(t,e)}}},bl),El.prototype=t(DocumentFragment.prototype,ml),l(El,Symbol.hasInstance,{value:function(e){return W(e)&&!$(e)&&(Ot(e)||i(e)===El.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Tl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return vn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=ut.call(this);if($(e))return e;for(;!B(Ut(e));)if(e=Ee.call(e),$(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=mt.apply(this,S.call(arguments));return $(e)?null:B(Ut(e))||It(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=At(gt.apply(this,S.call(arguments))),t=d.call(e,(e=>B(Ut(e))||It(e)));return B(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=At(gt.apply(this,S.call(arguments)));return En(b.call(e,(e=>B(Ut(e))||It(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=At(bt.apply(this,S.call(arguments)));return Mn(b.call(e,(e=>B(Ut(e))||It(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=At(dt.apply(this,S.call(arguments)));return Mn(b.call(e,(e=>B(Ut(e))||It(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=At(yt.apply(this,S.call(arguments)));return Mn(b.call(e,(e=>B(Ut(e))||It(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=At(Et.apply(this,S.call(arguments)));return En(b.call(e,(e=>B(Ut(e))||It(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:El,configurable:!0,writable:!0});const Nl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Ml=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Ll(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Nl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Nl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Bt.call(this,"click",Ll);try{Ml.value.call(this)}finally{xt.call(this,"click",Ll)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const Sl=CustomEvent;function Cl(e,t){const n=new Sl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Cl.prototype=Sl.prototype,window.CustomEvent=Cl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}(function(){const e="undefined"!=typeof HTMLIFrameElement,t="undefined"!=typeof Proxy&&x(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return $(e)||B(Ut(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Ol=MutationObserver,{disconnect:Hl,observe:Dl,takeRecords:Rl}=Ol.prototype,Pl="$$lwcObserverCallbackWrapper$$",Il="$$lwcNodeObservers$$",Al=new WeakMap;function _l(e){return e[Il]}function Bl(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function $l(e,t){let n=t;for(;!$(n);){const t=_l(n);if(!B(t)&&(t[0]===e||-1!==y.call(t,e)))return!0;n=n.parentNode}return!1}function xl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||B(Kt(l)))$l(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if($l(t,r)){const o=_l(l);!o||o[0]!==t&&-1===y.call(o,t)?T.call(e,Bl(n)):T.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Gt(l)===Gt(a)&&$l(t,l))T.call(e,n);else if(o){const l=_l(o);!l||l[0]!==t&&-1===y.call(l,t)||T.call(e,Bl(n))}}return e}),[])}function Fl(e){const t=function(e){let t=e[Pl];return B(t)&&(t=e[Pl]=(t,n)=>{const l=xl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Ol(t)}function kl(e,t,n){if(arguments.length>1){const e=S.call(arguments);return e[1]=Un(e[1]),wt.apply(this,e)}return wt.apply(this,arguments)}function Wl(e,t,n){if(arguments.length>1){const e=S.call(arguments);e[1]=Un(e[1]),vt.apply(this,e)}vt.apply(this,arguments)}function jl(){const e=rt.call(this);if(!(e instanceof X))return e;const t=Dt(e),n=wl(e,this.composed),l=at.call(this);if(!(l instanceof X))return $(l)&&B(Ut(e))?e:vl(t,n);if(l===t||l===t.body)return B(Ut(e))?e:vl(t,n);let o=l,r=n;if(fl(l)){1===Gn.get(this)&&(o=sl(l))}return fl(e)&&dl.has(this)&&(r=wl(sl(e),this.composed)),vl(o,r)}function Ul(){const e=rt.call(this);if(!(e instanceof X))return[];const t=Boolean(e.shadowRoot),n=(l=e,ll.has(l));var l;if(t&&!n)return ct.call(this);if($(at.call(this)))return[];let o=e;return fl(e)&&dl.has(this)&&(o=sl(e)),wl(o,this.composed)}function Gl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if($(e))return null;if(!(e instanceof X&&qt(e)))return e;let n=at.call(this);return $(n)&&(n=Dt(e)),vl(n,wl(e,!0))},enumerable:!0,configurable:!0})}Fl.prototype=Ol.prototype,Fl.prototype.disconnect=function(){Hl.call(this);const e=Al.get(this);B(e)||(R.call(e,(e=>{const t=e[Il];if(!B(t)){const e=y.call(t,this);-1!==e&&H.call(t,e,1)}})),e.length=0)},Fl.prototype.observe=function(e,t){let n=_l(e);var l;if(B(n)&&(n=[],l=n,e[Il]=l),-1===y.call(n,this)&&T.call(n,this),pl(e)&&(e=e.host),Al.has(this)){const t=Al.get(this);-1===y.call(t,e)&&T.call(t,e)}else Al.set(this,[e]);return Dl.call(this,e,t)},Fl.prototype.takeRecords=function(){return xl(Rl.call(this),this)},l(window,"MutationObserver",{value:Fl,configurable:!0,writable:!0}),n(_t,{addEventListener:{value:function(e,t,n){if(fl(this))return tl.apply(this,arguments);if(arguments.length<2){const e=S.call(arguments);return e.length>1&&(e[1]=Un(e[1])),Bt.apply(this,e)}const l=Un(t);return Bt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(fl(this))return nl.apply(this,arguments);const l=S.call(arguments);arguments.length>1&&(l[1]=Un(l[1])),xt.apply(this,l),xt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:kl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Wl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:jl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=at.call(this);return $(e)?null:1===Gn.get(this)?sl(e):e},enumerable:!0,configurable:!0},composedPath:{value:Ul,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:jl,enumerable:!0,configurable:!0},path:{get:Ul,enumerable:!0,configurable:!0}}),Gl(FocusEvent),Gl(MouseEvent);const Kl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let ql;const Yl={childList:!0},Xl=new WeakMap;function Vl(e){const t=At(ve.call(e));return N.call(t,((e,t)=>(t instanceof Element&&Jt(t)?T.apply(e,Vl(t)):T.call(e,t),e)),[])}function zl(){const e=de.call(this);if(e instanceof Element){const t=tt.call(e);if(Ot(t))return this instanceof Text?Kl.call(this):nt.call(this)}return!$(e)&&Jt(e)&&Ut(e)!==Ut(this)?e:null}function Jl(e,t){let n;const l=Ut(e);if(B(l))n=e instanceof HTMLBodyElement?b.call(t,(t=>B(Ut(t))||It(e))):S.call(t);else if(fl(e)){const l=Vt(e);n=$(l)?[]:Kt(e)?en(e,t):nn(l,t)}else n=b.call(t,(e=>Gt(e)===l));return n}function Ql(){const e=Fn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=mn(e[n]);return t}function Zl(){return mn(this)}function eo(){const e=Vt(this),t=$(e)?[]:nn(e,on(this));return Mn(b.call(t,(e=>e instanceof Element)))}function to(){return this.children.length}function no(){return this.children[0]||null}function lo(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Xl.get(this)||(Xl.set(this,!0),ql||(ql=new Mt((e=>{const t=[];R.call(e,(e=>{const{target:n}=e;-1===y.call(t,n)&&(T.call(t,n),$t.call(n,new CustomEvent("slotchange")))}))}))),Lt.call(ql,this,Yl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(qt(this)){const t=!B(e)&&x(e.flatten)?Vl(this):rn(this);return b.call(t,(e=>e instanceof Element))}return ot.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(qt(this)){return!B(e)&&x(e.flatten)?Vl(this):rn(this)}return lt.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ne.call(this,"name");return $(e)?"":e},set(e){Re.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(qt(this)){const e=Vt(this);return En($(e)?[]:nn(e,on(this)))}return ve.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:zl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return qt(this)||fl(this)?Ql.call(this):Ue.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return qt(this)||fl(this)?Zl.call(this):qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?gl(this,e):Pe.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(fl(this)){const e=sl(this);if("open"===e.mode)return e}return tt.call(this)},enumerable:!0,configurable:!0},children:{get(){return Ln(this)?eo.call(this):Ze.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Ln(this)?to.call(this):Ie.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Ln(this)?no.call(this):Ae.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Ln(this)?lo.call(this):_e.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:zl,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=At(He.apply(this,S.call(arguments)));if(fl(this)){const t=Vt(this);return B(Kt(this))?$(t)?null:ln(t,e):tn(this,e)}if(qt(this)){const t=Ut(this);if(B(t))return 0===e.length?null:e[0];{const n=d.call(e,(e=>Gt(e)===t));return B(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return B(t)?null:t}const t=d.call(e,(e=>B(Ut(e))||It(this)));return B(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return En(function(e,t){let n;if(fl(e)){const l=Vt(e);n=B(Kt(e))?$(l)?[]:nn(l,t):en(e,t)}else if(qt(e)){const l=Ut(e);n=B(l)?S.call(t):b.call(t,(e=>Gt(e)===l))}else n=e instanceof HTMLBodyElement?b.call(t,(t=>B(Ut(t))||It(e))):S.call(t);return n}(this,At(He.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Mn(Jl(this,At(et.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Mn(Jl(this,At(Le.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Mn(Jl(this,At(Se.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const oo="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ro=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ao(e){return e.filter((e=>Ce.call(e,"tabindex")?"0"===Ne.call(e,"tabindex"):!ro.has(Xe.call(e))||!Ce.call(e,"disabled")))}const io=new WeakMap;function co(e){return(!fl(e)||!cl(e))&&(Qe.call(e,oo)&&function(e){const{width:t,height:n}=Me.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function uo(){const e=this.getRootNode();if(e===this){const e=Oe.call(this,oo);return void($(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=At(He.call(this,oo));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function so(e){const t=Dt(e),n=ao(At(gt.call(t,oo))),l=ao(At(He.call(e,oo))),o=l[0],r=l[l.length-1],a=y.call(n,e),i=a>-1?a:y.call(n,o),c=0===l.length?i+1:y.call(n,r)+1;return{prev:S.call(n,0,i),inner:l,next:S.call(n,c)}}function fo(e,t){const n=ce.call(e,t);return n&z?0:n&Q?1:n&Z?2:-1}function po(e){e.preventDefault(),e.stopPropagation()}function ho(e,t){wt.call(e,"focusin",po,!0),wt.call(e,"focusout",po,!0),t(),vt.call(e,"focusin",po,!0),vt.call(e,"focusout",po,!0)}function go(e,t,n){const l=Rt(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(To(t.getRootNode(),n))return n}return null}(e,n);$(o)?ho(l,(()=>{t.blur()})):ho(l,(()=>{o.focus()}))}let mo=!1;function bo(){mo=!0}function yo(){mo=!1}function Eo(){return!mo}function wo(e){if(mo)return;const t=at.call(e),n=rt.call(e);if(t!==n)return;const l=it.call(e);if($(l))return;const o=so(t);if(1===fo(t,l)){const e=To.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(B(r))go(o.next,n,l);else{ho(Rt(r),(()=>{r.focus()}))}}else t===n&&go(M.call(o.prev),n,l)}function vo(e){if(mo)return;const t=it.call(e);if($(t))return;const n=at.call(e),l=so(n);if(-1!==y.call(l.inner,t))return;const o=rt.call(e),r=fo(n,t);1===r&&go(l.next,o,t),2===r&&go(M.call(l.prev),o,t)}function To(e,t){if(!co(t))return!1;const n=Dt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Ne.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function No(e){xt.call(e,"focusin",wo,!0)}function Mo(e){const t=Dt(e);io.get(t)||(io.set(t,!0),Bt.call(t,"mousedown",bo,!0),Bt.call(t,"mouseup",(()=>{setTimeout(yo)}),!0),Bt.call(t,"dragstart",yo,!0))}function Lo(e){xt.call(e,"focusin",vo,!0)}const{blur:So,focus:Co}=HTMLElement.prototype;function Oo(){return cl(this)&&F(Ce.call(this,"tabindex"))?0:ze.call(this)}function Ho(e){const t=cl(this),n=ze.call(this),l=Ce.call(this,"tabindex");Je.call(this,e);const o=ze.call(this),r=Ce.call(this,"tabindex"),a=n!==o;var i;(l&&(a||F(r))&&(-1===n&&Lo(this),0===n&&t&&No(this)),F(r))||(l&&r&&F(a)||(-1===o&&(Mo(i=this),No(i),Bt.call(i,"focusin",vo,!0)),0===o&&t&&function(e){Mo(e),Lo(e),Bt.call(e,"focusin",wo,!0)}(this)))}function Do(){if(cl(this)){const e=function(e){const t=Dt(e),n=ut.call(t);return $(n)||0!=(ce.call(e,n)&z)?n:null}(this);if(!$(e))return void e.blur()}return So.call(this)}function Ro(){const e=Eo();e&&bo(),fl(this)&&cl(this)?uo.call(this):(Co.apply(this,arguments),e&&yo())}function Po(e,t){e[U]=t;const n=ve.call(e);for(let e=0,l=n.length;e<l;e++)Po(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return fl(this)?Oo.call(this):ze.call(this)},set(e){return fl(this)?Ho.call(this,e):Je.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(fl(this))return Do.call(this);So.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ro.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==$e&&null!==xe&&l(HTMLElement.prototype,"innerText",{get(){return $e.call(this)},set(e){xe.call(this,e)},enumerable:!0,configurable:!0}),null!==ke&&null!==We&&l(HTMLElement.prototype,"outerText",{get(){return ke.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,q,{set(e){const t=this[Y];B(t)||t===e||De.call(this,t),B(e)||Re.call(this,e,""),this[Y]=e},get(){return this[Y]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){Po(this,this[U])}this[K]=e},get(){return this[K]},configurable:!0});const Io="$$DomManualKey$$",Ao=function(){};let _o;const Bo={childList:!0};function $o(e,t,n){const l=al(e);if(l!==t&&(il(e,t),e instanceof Element)){if(function(e,t){e[q]=t}(e,n),fl(e))return;B(l)&&Lt.call(_o,e,Bo);const o=ve.call(e);for(let e=0,l=o.length;e<l;e+=1)$o(o[e],t,n)}}function xo(){return new Mt((e=>{R.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=al(t),r=t[q];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];ce.call(t,n)&X.DOCUMENT_POSITION_CONTAINED_BY||$o(n,Ao,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];ce.call(t,l)&X.DOCUMENT_POSITION_CONTAINED_BY&&$o(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[Io]=e,x(e)&&function(e){if(B(_o)&&(_o=xo()),B(al(e)))throw new Error("Invalid Element");Lt.call(_o,e,Bo)}(this)},get(){return this[Io]},configurable:!0})}();
10
+ */function Ml(e,t){if(x(e))return null;const n=Nl(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!ml(o)||!_(r)&&r>-1)return e;return null}function Ll(e,t,n,l){const o=ht.call(t,n,l);return x(o)?o:Ml(e,Nl(o,!0))}e(yl,vl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Cn(b.call(nn(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=pl(e);return an(n,_t(Pe.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return Tn(function(e,t){const n=pl(e);return rn(n,_t(Pe.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t},set(e){const t=pl(this);Ye.call(t,e)}}},El),Tl.prototype=t(DocumentFragment.prototype,yl),l(Tl,Symbol.hasInstance,{value:function(e){return U(e)&&!x(e)&&(Rt(e)||i(e)===Tl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Ll(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Mn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=pt.call(this);if(x(e))return e;for(;!_(qt(e));)if(e=Te.call(e),x(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=yt.apply(this,S.call(arguments));return x(e)?null:_(qt(e))||Bt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=_t(dt.apply(this,S.call(arguments))),t=d.call(e,(e=>_(qt(e))||Bt(e)));return _(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=_t(dt.apply(this,S.call(arguments)));return Tn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=_t(Et.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=_t(wt.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=_t(vt.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=_t(Tt.apply(this,S.call(arguments)));return Tn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Tl,configurable:!0,writable:!0});const Sl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Cl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Hl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Sl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Sl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ft.call(this,"click",Hl);try{Cl.value.call(this)}finally{Wt.call(this,"click",Hl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const Ol=CustomEvent;function Dl(e,t){const n=new Ol(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Dl.prototype=Ol.prototype,window.CustomEvent=Dl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}(function(){const e="undefined"!=typeof HTMLIFrameElement,t="undefined"!=typeof Proxy&&F(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return x(e)||_(qt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Rl=MutationObserver,{disconnect:Pl,observe:Il,takeRecords:Al}=Rl.prototype,$l="$$lwcObserverCallbackWrapper$$",Bl="$$lwcNodeObservers$$",_l=new WeakMap;function xl(e){return e[Bl]}function Fl(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function kl(e,t){let n=t;for(;!x(n);){const t=xl(n);if(!_(t)&&(t[0]===e||-1!==y.call(t,e)))return!0;n=n.parentNode}return!1}function Wl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||_(Xt(l)))kl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(kl(t,r)){const o=xl(l);!o||o[0]!==t&&-1===y.call(o,t)?T.call(e,Fl(n)):T.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Yt(l)===Yt(a)&&kl(t,l))T.call(e,n);else if(o){const l=xl(o);!l||l[0]!==t&&-1===y.call(l,t)||T.call(e,Fl(n))}}return e}),[])}function Ul(e){const t=function(e){let t=e[$l];return _(t)&&(t=e[$l]=(t,n)=>{const l=Wl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Rl(t)}function Gl(e,t,n){if(arguments.length>1){const e=S.call(arguments);return e[1]=qn(e[1]),Nt.apply(this,e)}return Nt.apply(this,arguments)}function jl(e,t,n){if(arguments.length>1){const e=S.call(arguments);e[1]=qn(e[1]),Mt.apply(this,e)}Mt.apply(this,arguments)}function Kl(){const e=ct.call(this);if(!(e instanceof Q))return e;const t=It(e),n=Nl(e,this.composed),l=ut.call(this);if(!(l instanceof Q))return x(l)&&_(qt(e))?e:Ml(t,n);if(l===t||l===t.body)return _(qt(e))?e:Ml(t,n);let o=l,r=n;if(gl(l)){1===Yn.get(this)&&(o=hl(l))}return gl(e)&&wl.has(this)&&(r=Nl(hl(e),this.composed)),Ml(o,r)}function ql(){const e=ct.call(this);if(!(e instanceof Q))return[];const t=Boolean(e.shadowRoot),n=(l=e,al.has(l));var l;if(t&&!n)return ft.call(this);if(x(ut.call(this)))return[];let o=e;return gl(e)&&wl.has(this)&&(o=hl(e)),Nl(o,this.composed)}function Yl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(x(e))return null;if(!(e instanceof Q&&Vt(e)))return e;let n=ut.call(this);return x(n)&&(n=It(e)),Ml(n,Nl(e,!0))},enumerable:!0,configurable:!0})}Ul.prototype=Rl.prototype,Ul.prototype.disconnect=function(){Pl.call(this);const e=_l.get(this);_(e)||(R.call(e,(e=>{const t=e[Bl];if(!_(t)){const e=y.call(t,this);-1!==e&&O.call(t,e,1)}})),e.length=0)},Ul.prototype.observe=function(e,t){let n=xl(e);var l;if(_(n)&&(n=[],l=n,e[Bl]=l),-1===y.call(n,this)&&T.call(n,this),ml(e)&&(e=e.host),_l.has(this)){const t=_l.get(this);-1===y.call(t,e)&&T.call(t,e)}else _l.set(this,[e]);return Il.call(this,e,t)},Ul.prototype.takeRecords=function(){return Wl(Al.call(this),this)},l(window,"MutationObserver",{value:Ul,configurable:!0,writable:!0}),n(xt,{addEventListener:{value:function(e,t,n){if(gl(this))return ol.apply(this,arguments);if(arguments.length<2){const e=S.call(arguments);return e.length>1&&(e[1]=qn(e[1])),Ft.apply(this,e)}const l=qn(t);return Ft.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(gl(this))return rl.apply(this,arguments);const l=S.call(arguments);arguments.length>1&&(l[1]=qn(l[1])),Wt.apply(this,l),Wt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Gl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:jl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Kl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=ut.call(this);return x(e)?null:1===Yn.get(this)?hl(e):e},enumerable:!0,configurable:!0},composedPath:{value:ql,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Kl,enumerable:!0,configurable:!0},path:{get:ql,enumerable:!0,configurable:!0}}),Yl(FocusEvent),Yl(MouseEvent);const Xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Vl;const zl={childList:!0},Ql=new WeakMap;function Jl(e){const t=_t(Me.call(e));return N.call(t,((e,t)=>(t instanceof Element&&en(t)?T.apply(e,Jl(t)):T.call(e,t),e)),[])}function Zl(){const e=we.call(this);if(e instanceof Element){const t=ot.call(e);if(Rt(t))return this instanceof Text?Xl.call(this):rt.call(this)}return!x(e)&&en(e)&&qt(e)!==qt(this)?e:null}function eo(e,t){let n;const l=qt(e);if(_(l))n=e instanceof HTMLBodyElement?b.call(t,(t=>_(qt(t))||Bt(e))):S.call(t);else if(gl(e)){const l=Jt(e);n=x(l)?[]:Xt(e)?ln(e,t):rn(l,t)}else n=b.call(t,(e=>Yt(e)===l));return n}function to(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t}function no(){return yn(this)}function lo(){const e=Jt(this),t=x(e)?[]:rn(e,cn(this));return Cn(b.call(t,(e=>e instanceof Element)))}function oo(){return this.children.length}function ro(){return this.children[0]||null}function ao(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Ql.get(this)||(Ql.set(this,!0),Vl||(Vl=new Ct((e=>{const t=[];R.call(e,(e=>{const{target:n}=e;-1===y.call(t,n)&&(T.call(t,n),kt.call(n,new CustomEvent("slotchange")))}))}))),Ht.call(Vl,this,zl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Vt(this)){const t=!_(e)&&F(e.flatten)?Jl(this):un(this);return b.call(t,(e=>e instanceof Element))}return it.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Vt(this)){return!_(e)&&F(e.flatten)?Jl(this):un(this)}return at.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Se.call(this,"name");return x(e)?"":e},set(e){Ae.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Vt(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Zl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Vt(this)||gl(this)?to.call(this):qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Vt(this)||gl(this)?no.call(this):Ve.call(this)},set(e){ze.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?dl(this,e):$e.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(gl(this)){const e=hl(this);if("open"===e.mode)return e}return ot.call(this)},enumerable:!0,configurable:!0},children:{get(){return Hn(this)?lo.call(this):nt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Hn(this)?oo.call(this):Be.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Hn(this)?ro.call(this):_e.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Hn(this)?ao.call(this):xe.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Zl,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=_t(Pe.apply(this,S.call(arguments)));if(gl(this)){const t=Jt(this);return _(Xt(this))?x(t)?null:an(t,e):on(this,e)}if(Vt(this)){const t=qt(this);if(_(t))return 0===e.length?null:e[0];{const n=d.call(e,(e=>Yt(e)===t));return _(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return _(t)?null:t}const t=d.call(e,(e=>_(qt(e))||Bt(this)));return _(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return Tn(function(e,t){let n;if(gl(e)){const l=Jt(e);n=_(Xt(e))?x(l)?[]:rn(l,t):ln(e,t)}else if(Vt(e)){const l=qt(e);n=_(l)?S.call(t):b.call(t,(e=>Yt(e)===l))}else n=e instanceof HTMLBodyElement?b.call(t,(t=>_(qt(t))||Bt(e))):S.call(t);return n}(this,_t(Pe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Cn(eo(this,_t(lt.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Cn(eo(this,_t(He.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Cn(eo(this,_t(Oe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const io="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",co=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function uo(e){return e.filter((e=>De.call(e,"tabindex")?"0"===Se.call(e,"tabindex"):!co.has(Qe.call(e))||!De.call(e,"disabled")))}const so=new WeakMap;function fo(e){return(!gl(e)||!fl(e))&&(tt.call(e,io)&&function(e){const{width:t,height:n}=Ce.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function po(){const e=this.getRootNode();if(e===this){const e=Re.call(this,io);return void(x(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=_t(Pe.call(this,io));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function ho(e){const t=It(e),n=uo(_t(dt.call(t,io))),l=uo(_t(Pe.call(e,io))),o=l[0],r=l[l.length-1],a=y.call(n,e),i=a>-1?a:y.call(n,o),c=0===l.length?i+1:y.call(n,r)+1;return{prev:S.call(n,0,i),inner:l,next:S.call(n,c)}}function go(e,t){const n=fe.call(e,t);return n&Z?0:n&te?1:n&ne?2:-1}function mo(e){e.preventDefault(),e.stopPropagation()}function bo(e,t){Nt.call(e,"focusin",mo,!0),Nt.call(e,"focusout",mo,!0),t(),Mt.call(e,"focusin",mo,!0),Mt.call(e,"focusout",mo,!0)}function yo(e,t,n){const l=At(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(Lo(t.getRootNode(),n))return n}return null}(e,n);x(o)?bo(l,(()=>{t.blur()})):bo(l,(()=>{o.focus()}))}let Eo=!1;function wo(){Eo=!0}function vo(){Eo=!1}function To(){return!Eo}function No(e){if(Eo)return;const t=ut.call(e),n=ct.call(e);if(t!==n)return;const l=st.call(e);if(x(l))return;const o=ho(t);if(1===go(t,l)){const e=Lo.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(_(r))yo(o.next,n,l);else{bo(At(r),(()=>{r.focus()}))}}else t===n&&yo(M.call(o.prev),n,l)}function Mo(e){if(Eo)return;const t=st.call(e);if(x(t))return;const n=ut.call(e),l=ho(n);if(-1!==y.call(l.inner,t))return;const o=ct.call(e),r=go(n,t);1===r&&yo(l.next,o,t),2===r&&yo(M.call(l.prev),o,t)}function Lo(e,t){if(!fo(t))return!1;const n=It(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Se.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function So(e){Wt.call(e,"focusin",No,!0)}function Co(e){const t=It(e);so.get(t)||(so.set(t,!0),Ft.call(t,"mousedown",wo,!0),Ft.call(t,"mouseup",(()=>{setTimeout(vo)}),!0),Ft.call(t,"dragstart",vo,!0))}function Ho(e){Wt.call(e,"focusin",Mo,!0)}const{blur:Oo,focus:Do}=HTMLElement.prototype;function Ro(){return fl(this)&&k(De.call(this,"tabindex"))?0:Ze.call(this)}function Po(e){const t=fl(this),n=Ze.call(this),l=De.call(this,"tabindex");et.call(this,e);const o=Ze.call(this),r=De.call(this,"tabindex"),a=n!==o;var i;(l&&(a||k(r))&&(-1===n&&Ho(this),0===n&&t&&So(this)),k(r))||(l&&r&&k(a)||(-1===o&&(Co(i=this),So(i),Ft.call(i,"focusin",Mo,!0)),0===o&&t&&function(e){Co(e),Ho(e),Ft.call(e,"focusin",No,!0)}(this)))}function Io(){if(fl(this)){const e=function(e){const t=It(e),n=pt.call(t);return x(n)||0!=(fe.call(e,n)&Z)?n:null}(this);if(!x(e))return void e.blur()}return Oo.call(this)}function Ao(){const e=To();e&&wo(),gl(this)&&fl(this)?po.call(this):(Do.apply(this,arguments),e&&vo())}function $o(e,t){e[j]=t;const n=Me.call(e);for(let e=0,l=n.length;e<l;e++)$o(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return gl(this)?Ro.call(this):Ze.call(this)},set(e){return gl(this)?Po.call(this,e):et.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(gl(this))return Io.call(this);Oo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ao.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==ke&&null!==We&&l(HTMLElement.prototype,"innerText",{get(){return ke.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0}),null!==Ge&&null!==je&&l(HTMLElement.prototype,"outerText",{get(){return Ge.call(this)},set(e){je.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,Y,{set(e){const t=this[X];_(t)||t===e||Ie.call(this,t),_(e)||Ae.call(this,e,""),this[X]=e},get(){return this[X]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){$o(this,this[j])}this[q]=e},get(){return this[q]},configurable:!0});const Bo="$$DomManualKey$$",_o=function(){};let xo;const Fo={childList:!0};function ko(e,t,n){const l=ul(e);if(l!==t&&(sl(e,t),e instanceof Element)){if(function(e,t){e[Y]=t}(e,n),gl(e))return;_(l)&&Ht.call(xo,e,Fo);const o=Me.call(e);for(let e=0,l=o.length;e<l;e+=1)ko(o[e],t,n)}}function Wo(){return new Ct((e=>{R.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ul(t),r=t[Y];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];fe.call(t,n)&Q.DOCUMENT_POSITION_CONTAINED_BY||ko(n,_o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];fe.call(t,l)&Q.DOCUMENT_POSITION_CONTAINED_BY&&ko(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[Bo]=e,F(e)&&function(e){if(_(xo)&&(xo=Wo()),_(ul(e)))throw new Error("Invalid Element");Ht.call(xo,e,Fo)}(this)},get(){return this[Bo]},configurable:!0})}();
@@ -11,7 +11,7 @@
11
11
  */
12
12
  const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
13
13
  const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
14
- const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
14
+ const { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
15
15
  function isUndefined(obj) {
16
16
  return obj === undefined;
17
17
  }
@@ -37,41 +37,11 @@
37
37
  * SPDX-License-Identifier: MIT
38
38
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
39
39
  */
40
- // Inspired from: https://mathiasbynens.be/notes/globalthis
41
- const _globalThis = /*@__PURE__*/ (function () {
42
- // On recent browsers, `globalThis` is already defined. In this case return it directly.
43
- if (typeof globalThis === 'object') {
44
- return globalThis;
45
- }
46
- let _globalThis;
47
- try {
48
- // eslint-disable-next-line no-extend-native
49
- Object.defineProperty(Object.prototype, '__magic__', {
50
- get: function () {
51
- return this;
52
- },
53
- configurable: true,
54
- });
55
- // __magic__ is undefined in Safari 10 and IE10 and older.
56
- // @ts-ignore
57
- // eslint-disable-next-line no-undef
58
- _globalThis = __magic__;
59
- // @ts-ignore
60
- delete Object.prototype.__magic__;
61
- }
62
- catch (ex) {
63
- // In IE8, Object.defineProperty only works on DOM objects.
64
- }
65
- finally {
66
- // If the magic above fails for some reason we assume that we are in a legacy browser.
67
- // Assume `window` exists in this case.
68
- if (typeof _globalThis === 'undefined') {
69
- // @ts-ignore
70
- _globalThis = window;
71
- }
72
- }
73
- return _globalThis;
74
- })();
40
+ // See browser support for globalThis:
41
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
42
+ /* istanbul ignore next */
43
+ // @ts-ignore
44
+ const _globalThis = typeof globalThis === 'object' ? globalThis : window;
75
45
 
76
46
  /*
77
47
  * Copyright (c) 2018, salesforce.com, inc.
@@ -87,7 +57,9 @@
87
57
  const KEY__SHADOW_TOKEN = '$shadowToken$';
88
58
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
89
59
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
90
- /** version: 2.34.0 */
60
+ const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
61
+ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
62
+ /** version: 2.35.1 */
91
63
 
92
64
  /*
93
65
  * Copyright (c) 2018, salesforce.com, inc.
@@ -402,7 +374,7 @@
402
374
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
403
375
  }
404
376
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
405
- /** version: 2.34.0 */
377
+ /** version: 2.35.1 */
406
378
 
407
379
  /*
408
380
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1678,6 +1650,15 @@
1678
1650
  defineProperty(_globalThis, KEY__IS_NATIVE_SHADOW_ROOT_DEFINED, {
1679
1651
  value: isNativeShadowRootDefined,
1680
1652
  });
1653
+ // The isUndefined check is because two copies of synthetic shadow may be loaded on the same page, and this
1654
+ // would throw an error if we tried to redefine it. Plus the whole point is to expose the native method.
1655
+ if (isUndefined(_globalThis[KEY__NATIVE_GET_ELEMENT_BY_ID])) {
1656
+ defineProperty(_globalThis, KEY__NATIVE_GET_ELEMENT_BY_ID, { value: getElementById });
1657
+ }
1658
+ // See note above.
1659
+ if (isUndefined(_globalThis[KEY__NATIVE_QUERY_SELECTOR_ALL])) {
1660
+ defineProperty(_globalThis, KEY__NATIVE_QUERY_SELECTOR_ALL, { value: querySelectorAll });
1661
+ }
1681
1662
  function getShadowRootResolver(node) {
1682
1663
  return node[KEY__SHADOW_RESOLVER];
1683
1664
  }
@@ -4518,6 +4499,6 @@
4518
4499
  },
4519
4500
  configurable: true,
4520
4501
  });
4521
- /** version: 2.34.0 */
4502
+ /** version: 2.35.1 */
4522
4503
 
4523
4504
  })();