lwc 2.14.2 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +155 -13
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +156 -12
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +147 -10
  5. package/dist/engine-dom/iife/es5/engine-dom.js +268 -40
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +253 -38
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +156 -12
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +147 -10
  11. package/dist/engine-dom/umd/es5/engine-dom.js +268 -40
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +253 -38
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +129 -29
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +128 -30
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +24 -4
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +24 -4
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +24 -4
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +29 -3
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +29 -3
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +24 -4
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +24 -4
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +29 -3
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +29 -3
  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
@@ -225,6 +225,7 @@ const _globalThis = /*@__PURE__*/ (function () {
225
225
  return _globalThis;
226
226
  })();
227
227
  const KEY__SHADOW_RESOLVER = '$shadowResolver$';
228
+ const KEY__SHADOW_STATIC = '$shadowStaticNode$';
228
229
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
229
230
  const KEY__SCOPED_CSS = '$scoped$';
230
231
 
@@ -406,6 +407,24 @@ function htmlPropertyToAttribute(propName) {
406
407
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
407
408
  return attributeName;
408
409
  }
410
+
411
+ /*
412
+ * Copyright (c) 2020, salesforce.com, inc.
413
+ * All rights reserved.
414
+ * SPDX-License-Identifier: MIT
415
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
416
+ */
417
+ const ESCAPED_CHARS = {
418
+ '"': '"',
419
+ "'": ''',
420
+ '<': '&lt;',
421
+ '>': '&gt;',
422
+ '&': '&amp;',
423
+ };
424
+ function htmlEscape(str, attrMode = false) {
425
+ const searchValue = attrMode ? /["&]/g : /["'<>&]/g;
426
+ return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);
427
+ }
409
428
  const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
410
429
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
411
430
  const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
@@ -417,9 +436,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
417
436
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
418
437
  */
419
438
  // Increment whenever the LWC template compiler changes
420
- const LWC_VERSION = "2.14.2";
439
+ const LWC_VERSION = "2.17.0";
421
440
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
422
- /** version: 2.14.2 */
441
+ /** version: 2.17.0 */
423
442
 
424
443
  /*
425
444
  * Copyright (c) 2020, salesforce.com, inc.
@@ -528,7 +547,7 @@ function setFeatureFlagForTest(name, value) {
528
547
  setFeatureFlag(name, value);
529
548
  }
530
549
  }
531
- /** version: 2.14.2 */
550
+ /** version: 2.17.0 */
532
551
 
533
552
  /* proxy-compat-disable */
534
553
 
@@ -3557,6 +3576,9 @@ function patch(n1, n2, renderer) {
3557
3576
  // VComment has no special capability, fallback to the owner's renderer
3558
3577
  patchComment(n1, n2, renderer);
3559
3578
  break;
3579
+ case 4 /* Static */:
3580
+ n2.elm = n1.elm;
3581
+ break;
3560
3582
  case 2 /* Element */:
3561
3583
  patchElement(n1, n2, (_a = n2.data.renderer) !== null && _a !== void 0 ? _a : renderer);
3562
3584
  break;
@@ -3576,6 +3598,10 @@ function mount(node, parent, renderer, anchor) {
3576
3598
  // VComment has no special capability, fallback to the owner's renderer
3577
3599
  mountComment(node, parent, anchor, renderer);
3578
3600
  break;
3601
+ case 4 /* Static */:
3602
+ // VStatic cannot have a custom renderer associated to them, using owner's renderer
3603
+ mountStatic(node, parent, anchor, renderer);
3604
+ break;
3579
3605
  case 2 /* Element */:
3580
3606
  // If the vnode data has a renderer override use it, else fallback to owner's renderer
3581
3607
  mountElement(node, parent, anchor, (_a = node.data.renderer) !== null && _a !== void 0 ? _a : renderer);
@@ -3631,6 +3657,24 @@ function patchElement(n1, n2, renderer) {
3631
3657
  patchElementPropsAndAttrs$1(n1, n2, renderer);
3632
3658
  patchChildren(n1.children, n2.children, elm, renderer);
3633
3659
  }
3660
+ function mountStatic(vnode, parent, anchor, renderer) {
3661
+ const { owner } = vnode;
3662
+ const { cloneNode, isSyntheticShadowDefined } = renderer;
3663
+ const elm = (vnode.elm = cloneNode(vnode.fragment, true));
3664
+ linkNodeToShadow(elm, owner, renderer);
3665
+ // Marks this node as Static to propagate the shadow resolver. must happen after elm is assigned to the proper shadow
3666
+ const { renderMode, shadowMode } = owner;
3667
+ if (isSyntheticShadowDefined) {
3668
+ if (shadowMode === 1 /* Synthetic */ || renderMode === 0 /* Light */) {
3669
+ elm[KEY__SHADOW_STATIC] = true;
3670
+ }
3671
+ }
3672
+ if (process.env.NODE_ENV !== 'production') {
3673
+ const isLight = renderMode === 0 /* Light */;
3674
+ patchElementWithRestrictions(elm, { isPortal: false, isLight });
3675
+ }
3676
+ insertNode(elm, parent, anchor, renderer);
3677
+ }
3634
3678
  function mountCustomElement(vnode, parent, anchor, renderer) {
3635
3679
  const { sel, owner } = vnode;
3636
3680
  const UpgradableConstructor = getUpgradableConstructor(sel, renderer);
@@ -4099,6 +4143,17 @@ const SymbolIterator = Symbol.iterator;
4099
4143
  function addVNodeToChildLWC(vnode) {
4100
4144
  ArrayPush$1.call(getVMBeingRendered().velements, vnode);
4101
4145
  }
4146
+ // [st]atic node
4147
+ function st(fragment, key) {
4148
+ return {
4149
+ type: 4 /* Static */,
4150
+ sel: undefined,
4151
+ key,
4152
+ elm: undefined,
4153
+ fragment,
4154
+ owner: getVMBeingRendered(),
4155
+ };
4156
+ }
4102
4157
  // [h]tml node
4103
4158
  function h(sel, data, children = EmptyArray) {
4104
4159
  const vmBeingRendered = getVMBeingRendered();
@@ -4488,6 +4543,7 @@ const api = freeze({
4488
4543
  co,
4489
4544
  dc,
4490
4545
  ti,
4546
+ st,
4491
4547
  gid,
4492
4548
  fid,
4493
4549
  shc,
@@ -4639,8 +4695,7 @@ function createStylesheet(vm, stylesheets) {
4639
4695
  // This works in the client, because the stylesheets are created, and cached in the VM
4640
4696
  // the first time the VM renders.
4641
4697
  // native shadow or light DOM, SSR
4642
- const combinedStylesheetContent = ArrayJoin.call(stylesheets, '\n');
4643
- return createInlineStyleVNode(combinedStylesheetContent);
4698
+ return ArrayMap.call(stylesheets, createInlineStyleVNode);
4644
4699
  }
4645
4700
  else {
4646
4701
  // native shadow or light DOM, DOM renderer
@@ -4774,6 +4829,54 @@ function validateLightDomTemplate(template, vm) {
4774
4829
  assert.isTrue(isUndefined$1(template.renderMode), `Shadow DOM components template can't render light DOM templates. Either remove the 'lwc:render-mode' directive from ${getComponentTag(vm)} or set it to 'lwc:render-mode="shadow"`);
4775
4830
  }
4776
4831
  }
4832
+ function buildParseFragmentFn(createFragmentFn) {
4833
+ return (strings, ...keys) => {
4834
+ const cache = create(null);
4835
+ return function () {
4836
+ const { context: { hasScopedStyles, stylesheetToken }, shadowMode, renderer, } = getVMBeingRendered();
4837
+ const hasStyleToken = !isUndefined$1(stylesheetToken);
4838
+ const isSyntheticShadow = shadowMode === 1 /* Synthetic */;
4839
+ let cacheKey = 0;
4840
+ if (hasStyleToken && hasScopedStyles) {
4841
+ cacheKey |= 1 /* HAS_SCOPED_STYLE */;
4842
+ }
4843
+ if (hasStyleToken && isSyntheticShadow) {
4844
+ cacheKey |= 2 /* SHADOW_MODE_SYNTHETIC */;
4845
+ }
4846
+ if (!isUndefined$1(cache[cacheKey])) {
4847
+ return cache[cacheKey];
4848
+ }
4849
+ const classToken = hasScopedStyles && hasStyleToken ? ' ' + stylesheetToken : '';
4850
+ const classAttrToken = hasScopedStyles && hasStyleToken ? ` class="${stylesheetToken}"` : '';
4851
+ const attrToken = hasStyleToken && isSyntheticShadow ? ' ' + stylesheetToken : '';
4852
+ let htmlFragment = '';
4853
+ for (let i = 0, n = keys.length; i < n; i++) {
4854
+ switch (keys[i]) {
4855
+ case 0: // styleToken in existing class attr
4856
+ htmlFragment += strings[i] + classToken;
4857
+ break;
4858
+ case 1: // styleToken for added class attr
4859
+ htmlFragment += strings[i] + classAttrToken;
4860
+ break;
4861
+ case 2: // styleToken as attr
4862
+ htmlFragment += strings[i] + attrToken;
4863
+ break;
4864
+ case 3: // ${1}${2}
4865
+ htmlFragment += strings[i] + classAttrToken + attrToken;
4866
+ break;
4867
+ }
4868
+ }
4869
+ htmlFragment += strings[strings.length - 1];
4870
+ cache[cacheKey] = createFragmentFn(htmlFragment, renderer);
4871
+ return cache[cacheKey];
4872
+ };
4873
+ };
4874
+ }
4875
+ // Note: at the moment this code executes, we don't have a renderer yet.
4876
+ const parseFragment = buildParseFragmentFn((html, renderer) => {
4877
+ const { createFragment } = renderer;
4878
+ return createFragment(html);
4879
+ });
4777
4880
  function evaluateTemplate(vm, html) {
4778
4881
  if (process.env.NODE_ENV !== 'production') {
4779
4882
  assert.isTrue(isFunction$1(html), `evaluateTemplate() second argument must be an imported template instead of ${toString$1(html)}`);
@@ -4820,7 +4923,7 @@ function evaluateTemplate(vm, html) {
4820
4923
  // Evaluate, create stylesheet and cache the produced VNode for future
4821
4924
  // re-rendering.
4822
4925
  const stylesheetsContent = getStylesheetsContent(vm, html);
4823
- context.styleVNode =
4926
+ context.styleVNodes =
4824
4927
  stylesheetsContent.length === 0
4825
4928
  ? null
4826
4929
  : createStylesheet(vm, stylesheetsContent);
@@ -4837,9 +4940,9 @@ function evaluateTemplate(vm, html) {
4837
4940
  // Set the global flag that template is being updated
4838
4941
  isUpdatingTemplate = true;
4839
4942
  vnodes = html.call(undefined, api, component, cmpSlots, context.tplCache);
4840
- const { styleVNode } = context;
4841
- if (!isNull(styleVNode)) {
4842
- ArrayUnshift.call(vnodes, styleVNode);
4943
+ const { styleVNodes } = context;
4944
+ if (!isNull(styleVNodes)) {
4945
+ ArrayUnshift.apply(vnodes, styleVNodes);
4843
4946
  }
4844
4947
  });
4845
4948
  }, () => {
@@ -5204,7 +5307,7 @@ function createVM(elm, ctor, renderer, options) {
5204
5307
  hasTokenInClass: undefined,
5205
5308
  hasTokenInAttribute: undefined,
5206
5309
  hasScopedStyles: undefined,
5207
- styleVNode: null,
5310
+ styleVNodes: null,
5208
5311
  tplCache: EmptyObject,
5209
5312
  wiredConnecting: EmptyArray,
5210
5313
  wiredDisconnecting: EmptyArray
@@ -6187,7 +6290,7 @@ function freezeTemplate(tmpl) {
6187
6290
  });
6188
6291
  }
6189
6292
  }
6190
- /* version: 2.14.2 */
6293
+ /* version: 2.17.0 */
6191
6294
 
6192
6295
  /*
6193
6296
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6283,6 +6386,16 @@ function remove(node, parent) {
6283
6386
  const nodeIndex = parent.children.indexOf(node);
6284
6387
  parent.children.splice(nodeIndex, 1);
6285
6388
  }
6389
+ function cloneNode(node) {
6390
+ return node;
6391
+ }
6392
+ function createFragment(html) {
6393
+ return {
6394
+ type: HostNodeType.Raw,
6395
+ parent: null,
6396
+ value: html,
6397
+ };
6398
+ }
6286
6399
  function createText(content) {
6287
6400
  return {
6288
6401
  type: HostNodeType.Text,
@@ -6497,6 +6610,8 @@ const renderer = {
6497
6610
  isHydrating,
6498
6611
  insert,
6499
6612
  remove,
6613
+ cloneNode,
6614
+ createFragment,
6500
6615
  createElement,
6501
6616
  createText,
6502
6617
  createComment,
@@ -6531,23 +6646,6 @@ const renderer = {
6531
6646
  getCustomElement,
6532
6647
  };
6533
6648
 
6534
- /*
6535
- * Copyright (c) 2020, salesforce.com, inc.
6536
- * All rights reserved.
6537
- * SPDX-License-Identifier: MIT
6538
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6539
- */
6540
- const ESCAPED_CHARS = {
6541
- '"': '&quot;',
6542
- "'": '&#x27;',
6543
- '<': '&lt;',
6544
- '>': '&gt;',
6545
- '&': '&amp;',
6546
- };
6547
- function htmlEscape(str) {
6548
- return str.replace(/["'<>&]/g, (char) => ESCAPED_CHARS[char]);
6549
- }
6550
-
6551
6649
  /*
6552
6650
  * Copyright (c) 2020, salesforce.com, inc.
6553
6651
  * All rights reserved.
@@ -6645,6 +6743,6 @@ function renderComponent(tagName, Ctor, props = {}) {
6645
6743
  */
6646
6744
  freeze(LightningElement);
6647
6745
  seal(LightningElement.prototype);
6648
- /* version: 2.14.2 */
6746
+ /* version: 2.17.0 */
6649
6747
 
6650
- export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
6748
+ export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
@@ -133,6 +133,8 @@ const _globalThis = /*@__PURE__*/ (function () {
133
133
  const KEY__IS_NATIVE_SHADOW_ROOT_DEFINED = '$isNativeShadowRootDefined$';
134
134
  const KEY__SHADOW_RESOLVER = '$shadowResolver$';
135
135
  const KEY__SHADOW_RESOLVER_PRIVATE = '$$ShadowResolverKey$$';
136
+ const KEY__SHADOW_STATIC = '$shadowStaticNode$';
137
+ const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';
136
138
  const KEY__SHADOW_TOKEN = '$shadowToken$';
137
139
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
138
140
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
@@ -146,7 +148,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
146
148
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
147
149
  // we can't use typeof since it will fail when transpiling.
148
150
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
149
- /** version: 2.14.2 */
151
+ /** version: 2.17.0 */
150
152
 
151
153
  /*
152
154
  * Copyright (c) 2018, salesforce.com, inc.
@@ -297,7 +299,7 @@ const elementsFromPoint = hasOwnProperty.call(Document.prototype, 'elementsFromP
297
299
  // defaultView can be null when a document has no browsing context. For example, the owner document
298
300
  // of a node in a template doesn't have a default view: https://jsfiddle.net/hv9z0q5a/
299
301
  const defaultViewGetter = getOwnPropertyDescriptor(Document.prototype, 'defaultView').get;
300
- const { createComment, querySelectorAll, getElementById, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, } = Document.prototype;
302
+ const { createComment, createTreeWalker, querySelectorAll, getElementById, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, } = Document.prototype;
301
303
  // In Firefox v57 and lower, getElementsByName is defined on HTMLDocument.prototype
302
304
  // In all other browsers have the method on Document.prototype
303
305
  const { getElementsByName } = HTMLDocument.prototype;
@@ -1122,7 +1124,7 @@ if (!_globalThis.lwcRuntimeFlags) {
1122
1124
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
1123
1125
  }
1124
1126
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1125
- /** version: 2.14.2 */
1127
+ /** version: 2.17.0 */
1126
1128
 
1127
1129
  /*
1128
1130
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4951,6 +4953,24 @@ defineProperty(Element.prototype, KEY__SHADOW_TOKEN, {
4951
4953
  },
4952
4954
  configurable: true,
4953
4955
  });
4956
+ defineProperty(Element.prototype, KEY__SHADOW_STATIC, {
4957
+ set(v) {
4958
+ // Marking an element as static will propagate the shadow resolver to the children.
4959
+ const fn = this[KEY__SHADOW_RESOLVER];
4960
+ if (v) {
4961
+ const treeWalker = createTreeWalker.call(getOwnerDocument(this), this, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT, () => NodeFilter.FILTER_ACCEPT, false);
4962
+ let currentNode;
4963
+ while ((currentNode = treeWalker.nextNode())) {
4964
+ currentNode[KEY__SHADOW_RESOLVER] = fn;
4965
+ }
4966
+ }
4967
+ this[KEY__SHADOW_STATIC_PRIVATE] = v;
4968
+ },
4969
+ get() {
4970
+ return this[KEY__SHADOW_STATIC_PRIVATE];
4971
+ },
4972
+ configurable: true,
4973
+ });
4954
4974
 
4955
4975
  /*
4956
4976
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5091,4 +5111,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
5091
5111
  }));
5092
5112
  });
5093
5113
  }
5094
- /** version: 2.14.2 */
5114
+ /** version: 2.17.0 */
@@ -136,6 +136,8 @@
136
136
  const KEY__IS_NATIVE_SHADOW_ROOT_DEFINED = '$isNativeShadowRootDefined$';
137
137
  const KEY__SHADOW_RESOLVER = '$shadowResolver$';
138
138
  const KEY__SHADOW_RESOLVER_PRIVATE = '$$ShadowResolverKey$$';
139
+ const KEY__SHADOW_STATIC = '$shadowStaticNode$';
140
+ const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';
139
141
  const KEY__SHADOW_TOKEN = '$shadowToken$';
140
142
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
141
143
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
@@ -149,7 +151,7 @@
149
151
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
150
152
  // we can't use typeof since it will fail when transpiling.
151
153
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
152
- /** version: 2.14.2 */
154
+ /** version: 2.17.0 */
153
155
 
154
156
  /*
155
157
  * Copyright (c) 2018, salesforce.com, inc.
@@ -300,7 +302,7 @@
300
302
  // defaultView can be null when a document has no browsing context. For example, the owner document
301
303
  // of a node in a template doesn't have a default view: https://jsfiddle.net/hv9z0q5a/
302
304
  const defaultViewGetter = getOwnPropertyDescriptor(Document.prototype, 'defaultView').get;
303
- const { createComment, querySelectorAll, getElementById, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, } = Document.prototype;
305
+ const { createComment, createTreeWalker, querySelectorAll, getElementById, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, } = Document.prototype;
304
306
  // In Firefox v57 and lower, getElementsByName is defined on HTMLDocument.prototype
305
307
  // In all other browsers have the method on Document.prototype
306
308
  const { getElementsByName } = HTMLDocument.prototype;
@@ -1125,7 +1127,7 @@
1125
1127
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
1126
1128
  }
1127
1129
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1128
- /** version: 2.14.2 */
1130
+ /** version: 2.17.0 */
1129
1131
 
1130
1132
  /*
1131
1133
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4954,6 +4956,24 @@
4954
4956
  },
4955
4957
  configurable: true,
4956
4958
  });
4959
+ defineProperty(Element.prototype, KEY__SHADOW_STATIC, {
4960
+ set(v) {
4961
+ // Marking an element as static will propagate the shadow resolver to the children.
4962
+ const fn = this[KEY__SHADOW_RESOLVER];
4963
+ if (v) {
4964
+ const treeWalker = createTreeWalker.call(getOwnerDocument(this), this, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT, () => NodeFilter.FILTER_ACCEPT, false);
4965
+ let currentNode;
4966
+ while ((currentNode = treeWalker.nextNode())) {
4967
+ currentNode[KEY__SHADOW_RESOLVER] = fn;
4968
+ }
4969
+ }
4970
+ this[KEY__SHADOW_STATIC_PRIVATE] = v;
4971
+ },
4972
+ get() {
4973
+ return this[KEY__SHADOW_STATIC_PRIVATE];
4974
+ },
4975
+ configurable: true,
4976
+ });
4957
4977
 
4958
4978
  /*
4959
4979
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5094,6 +5114,6 @@
5094
5114
  }));
5095
5115
  });
5096
5116
  }
5097
- /** version: 2.14.2 */
5117
+ /** version: 2.17.0 */
5098
5118
 
5099
5119
  })();
@@ -1,4 +1,4 @@
1
- !function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:h}=Object,{copyWithin:p,fill:g,filter:m,find:d,indexOf:b,join:E,map:y,pop:w,push:T,reduce:v,reverse:N,shift:L,slice:M,sort:C,splice:S,unshift:O,forEach:H}=Array.prototype,{charCodeAt:A,replace:R,slice:_,toLowerCase:P}=String.prototype;function D(e){return void 0===e}function $(e){return null===e}function I(e){return!0===e}function B(e){return!1===e}function k(e){return"function"==typeof e}function x(e){return"object"==typeof e}const F=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}(),W="$shadowResolver$",U="$shadowToken$",j=Node,K=j.prototype,{DOCUMENT_POSITION_CONTAINED_BY:G,DOCUMENT_POSITION_CONTAINS:q,DOCUMENT_POSITION_PRECEDING:X,DOCUMENT_POSITION_FOLLOWING:Y,ELEMENT_NODE:V,TEXT_NODE:z,CDATA_SECTION_NODE:J,PROCESSING_INSTRUCTION_NODE:Q,COMMENT_NODE:Z,DOCUMENT_FRAGMENT_NODE:ee}=j,{appendChild:te,cloneNode:ne,compareDocumentPosition:le,insertBefore:oe,removeChild:re,replaceChild:ie,hasChildNodes:ae}=K,{contains:ce}=HTMLElement.prototype,ue=r(K,"firstChild").get,se=r(K,"lastChild").get,fe=r(K,"textContent").get,he=r(K,"parentNode").get,pe=r(K,"ownerDocument").get,ge=c.call(K,"parentElement")?r(K,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,me=r(K,"textContent").set,de=c.call(K,"childNodes")?r(K,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,be=c.call(K,"isConnected")?r(K,"isConnected").get:function(){const e=pe.call(this);return null===e||0!=(le.call(e,this)&G)},{getAttribute:Ee,getBoundingClientRect:ye,getElementsByTagName:we,getElementsByTagNameNS:Te,hasAttribute:ve,querySelector:Ne,querySelectorAll:Le,removeAttribute:Me,setAttribute:Ce}=Element.prototype,Se=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")},Oe=r(Element.prototype,"childElementCount").get,He=r(Element.prototype,"firstElementChild").get,Ae=r(Element.prototype,"lastElementChild").get,Re=r(HTMLElement.prototype,"innerText"),_e=Re?Re.get:null,Pe=Re?Re.set:null,De=r(HTMLElement.prototype,"outerText"),$e=De?De.get:null,Ie=De?De.set:null,Be=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),ke=Be.get,xe=Be.set,Fe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),We=Fe.get,Ue=Fe.set,je=r(Element.prototype,"tagName").get,Ke=r(HTMLElement.prototype,"tabIndex"),Ge=Ke.get,qe=Ke.set,Xe=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ve}=HTMLElement.prototype,ze=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Je=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Qe,Ze;"undefined"!=typeof HTMLSlotElement?(Qe=HTMLSlotElement.prototype.assignedNodes,Ze=HTMLSlotElement.prototype.assignedElements):(Qe=()=>{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")},Ze=()=>{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 et=r(Event.prototype,"target").get,tt=r(Event.prototype,"currentTarget").get,nt=r(FocusEvent.prototype,"relatedTarget").get,lt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],ot=r(Document.prototype,"activeElement").get,rt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,it=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,at=r(Document.prototype,"defaultView").get,{createComment:ct,querySelectorAll:ut,getElementById:st,getElementsByClassName:ft,getElementsByTagName:ht,getElementsByTagNameNS:pt}=Document.prototype,{getElementsByName:gt}=HTMLDocument.prototype,{addEventListener:mt,removeEventListener:dt,getComputedStyle:bt,getSelection:Et}=window,yt=MutationObserver,wt=yt.prototype.observe;let Tt=null;"undefined"!=typeof ShadowRoot&&(Tt=ShadowRoot);const vt=!$(Tt),Nt=$(Tt)?()=>!1:e=>e instanceof Tt;const{createElement:Lt}=Document.prototype;function Mt(e){const t=pe.call(e);return null===t?e:t}function Ct(e){const t=Mt(e),n=at.call(t);if(null===n)throw new TypeError;return n}let St;function Ot(e){if(D(St)){const t=Mt(e);St=t.body&&"temporary-bypass"===Ee.call(t.body,"data-global-patching-bypass")}return I(St)}function Ht(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{}h(e,HTMLElement.constructor),h(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Lt.apply(this,M.call(arguments));return 4===t.length&&115===A.call(t,0)&&108===A.call(t,1)&&111===A.call(t,2)&&116===A.call(t,3)&&h(l,e.prototype),l}})}();const At="undefined"!=typeof EventTarget?EventTarget.prototype:j.prototype,{addEventListener:Rt,dispatchEvent:_t,removeEventListener:Pt}=At,Dt="$$HostElementKey$$",$t="$$ShadowedNodeKey$$";function It(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Bt(e){return e[Dt]}function kt(e){let t,n=e;for(;!$(n);){if(t=Bt(n),!D(t))return t;n=he.call(n)}}function xt(e){return e[$t]}function Ft(e){return!D(Bt(e))}function Wt(e){let t=ge.call(e);for(;!$(t)&&Gt(t);)e=t,t=ge.call(e);return e}function Ut(e,t){const n=xt(e);let l=t instanceof Element?t:ge.call(t);for(;!$(l)&&l!==e;){const t=kt(l),o=ge.call(l);if(t===n)return Gt(l);if(o===e)return!1;if($(o)||kt(o)===t)l=o;else{if(!Gt(o))return!1;if(l=jt(Wt(o)),!$(l)){if(l===e)return!0;if(kt(l)===n)return!0}}}return!1}function jt(e){if(!(e instanceof j))return null;const t=kt(e);if(D(t))return null;let n=e;for(;!$(n)&&xt(n)!==t;)n=he.call(n);return $(n)?null:n}function Kt(e){return Gt(e)&&Ft(e)}function Gt(e){return e instanceof HTMLSlotElement}function qt(e,t){const n=kt(t);return D(n)||xt(e)===n}function Xt(e){const t=ol(e);return zt(t,Ht(de.call(t)))}function Yt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!qt(e,o)&&Ut(e,o)&&T.call(n,o)}return n}function Vt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!qt(e,l)&&Ut(e,l))return l}return null}function zt(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 Jt(e,t){for(let n=0,l=t.length;n<l;n+=1)if(qt(e,t[n]))return t[n];return null}function Qt(e){if(!il(e)&&!Gt(e)){return Ht(de.call(e))}if(il(e)){const t=Ht(Le.call(e,"slot")),n=tl(rl(e));return v.call(t,((e,t)=>(n===tl(t)&&T.apply(e,Zt(t)),e)),[])}{const t=Ht(de.call(e)),n=tl(e);return m.call(t,(e=>n===tl(e)))}}function Zt(e){const t=jt(e);if($(t))return[];const n=Ht(de.call(e));return m.call(n,(e=>!Ft(e)||!qt(t,e)))}const en=/[&\u00A0"]/g,tn=/[&\u00A0<>]/g,{replace:nn,toLowerCase:ln}=String.prototype;function on(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function rn(e){return nn.call(e,en,on)}const an=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),cn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function un(e){switch(e.nodeType){case V:{const{attributes:t}=e,n=je.call(e);let l="<"+ln.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+rn(e.value)+'"';return l+=">",an.has(n)?l:l+function(e){let t="";const n=Qt(e);for(let e=0,l=n.length;e<l;e+=1)t+=un(n[e]);return t}(e)+"</"+ln.call(n)+">"}case z:{const{data:n,parentNode:l}=e;return l instanceof Element&&cn.has(je.call(l))?n:(t=n,nn.call(t,tn,on))}case J:return`<!CDATA[[${e.data}]]>`;case Q:return`<?${e.target} ${e.data}?>`;case Z:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function sn(e){if(e.nodeType===V){const t=Qt(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==Z&&(n+=sn(l))}return n}return e.nodeValue}const fn=new WeakMap;function hn(){throw new TypeError("Illegal constructor")}function pn(e){const n=t(hn.prototype);return fn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}hn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:hn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return fn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){H.call(fn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(fn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(fn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return fn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=fn.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]"}}),h(hn,NodeList);const gn=(e,t)=>{let n;for(;!D(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function mn(e,t,n,l){const o=it.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!D(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(Kt(t))continue;const n=t.getRootNode();if(-1!==b.call(i,n)){T.call(r,t);continue}const l=gn(n,i[0]);D(l)||-1!==b.call(o,l)||-1!==b.call(r,l)||T.call(r,l)}return r}const dn=new WeakMap;function bn(){throw new TypeError("Illegal constructor")}function En(e){const n=t(bn.prototype);return dn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}bn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:bn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return dn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=dn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Ee.call(n,"id")||e===Ee.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(bn,HTMLCollection),F.lwcRuntimeFlags||Object.defineProperty(F,"lwcRuntimeFlags",{value:t(null)});const yn=F.lwcRuntimeFlags;function wn(e){return Kt(e)||il(e)}function Tn(e,t){const n=jt(e);if(t===n)return rl(n);if(t instanceof Element){if(kt(e)===kt(t))return t;if(!$(n)&&Gt(t)){const e=jt(t);if(!$(e)&&qt(n,e))return e}}return null}function vn(){return Dn(this).length>0}function Nn(){return Dn(this)[0]||null}function Ln(){const e=Dn(this);return e[e.length-1]||null}function Mn(){return sn(this)}function Cn(){const e=he.call(this);return $(e)?e:Tn(this,e)}function Sn(){const e=he.call(this);if($(e))return null;const t=Tn(this,e);return t instanceof Element?t:null}function On(e){return this===e?0:this.getRootNode()===e?10:Bt(this)!==Bt(e)?35:le.call(this,e)}function Hn(e){return null!=e&&Bt(this)===Bt(e)&&0!=(le.call(this,e)&G)}function An(e){const t=ne.call(this,!1);if(!e)return t;const n=Dn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Rn(){if(il(this)){const e=jt(this);return pn($(e)?[]:zt(e,Qt(this)))}return de.call(this)}const _n=j.prototype.getRootNode,Pn=D(_n)?function(){let e,t=this;for(;!$(e=he.call(t));)t=e;return t}:_n;n(j.prototype,{firstChild:{get(){return wn(this)?Nn.call(this):ue.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return wn(this)?Ln.call(this):se.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return yn.ENABLE_NODE_PATCH?Ot(this)?fe.call(this):Mn.call(this):Ft(this)||il(this)?Mn.call(this):fe.call(this)},set:function(e){me.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Ft(this))return Cn.call(this);const e=he.call(this);return!$(e)&&Kt(e)?jt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Ft(this))return Sn.call(this);const e=ge.call(this);return!$(e)&&Kt(e)?jt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return wn(this)?Rn.call(this):de.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return wn(this)?vn.call(this):ae.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ot(this)?le.call(this,e):On.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(yn.ENABLE_NODE_PATCH?Ot(this)?ce.call(this,e):Hn.call(this,e):null!=e&&(Ft(this)||il(this)?Hn.call(this,e):ce.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return yn.ENABLE_NODE_PATCH?I(e)?Ot(this)?ne.call(this,e):An.call(this,e):ne.call(this,e):Ft(this)||il(this)?An.call(this,e):ne.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return I(!D(e)&&!!e.composed)?Pn.call(this,e):function(e){const t=jt(e);return $(t)?Pn.call(e):rl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(this)}}});const Dn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(j.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(j.prototype,"parentElement"));const $n=new WeakMap,In=new WeakMap;function Bn(e,t,n){if(t===n)return!0;let l=In.get(e);return D(l)&&(l=e.composedPath(),In.set(e,l)),l.includes(n)}function kn(e){if(!function(e){return k(e)||x(e)&&!$(e)&&k(e.handleEvent)}(e))return e;let t=$n.get(e);return D(t)&&(t=function(t){const n=tt.call(t);if(Bn(t,Un(t),n))return k(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},$n.set(e,t)),t}const xn=new WeakMap,Fn=new WeakMap;function Wn(e){let n=Fn.get(e);return D(n)&&(n=t(null),Fn.set(e,n)),n}function Un(e){var t;return null!==(t=hl.get(e))&&void 0!==t?t:et.call(e)}const jn=new WeakMap;function Kn(e){if(!k(e))throw new TypeError;let t=jn.get(e);return D(t)&&(t=function(t){let n=tt.call(t);Nt(n)||(n=rl(n));Bn(t,Un(t),n)&&e.call(n,t)},t.placement=1,jn.set(e,t)),t}const Gn=new WeakMap;function qn(e){if(!k(e))throw new TypeError;let t=Gn.get(e);return D(t)&&(t=function(t){const n=tt.call(t);Bn(t,Un(t),n)&&e.call(n,t)},t.placement=0,Gn.set(e,t)),t}function Xn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=Wn(tt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=M.call(a);function u(n){H.call(c,(l=>{B(t)&&l.placement===n&&-1!==b.call(a,l)&&l.call(void 0,e)}))}xn.set(e,1),u(1),B(t)&&B(n)&&(xn.set(e,0),u(0)),xn.set(e,2)}function Yn(e,t,n){const l=Wn(e);let o=l[t];D(o)&&(o=l[t]=[]),-1===b.call(o,n)&&(0===o.length&&Rt.call(e,t,Xn),T.call(o,n))}function Vn(e,t,n){let l,o;D(o=Wn(e)[t])||-1===(l=b.call(o,n))||(S.call(o,l,1),0===o.length&&Pt.call(e,t,Xn))}function zn(e,t,n){if(k(t)){Yn(this,e,qn(t))}}function Jn(e,t,n){if(k(t)){Vn(this,e,qn(t))}}const Qn=new WeakMap,{createDocumentFragment:Zn}=document;function el(e){const t=Qn.get(e);if(D(t))throw new TypeError;return t}function tl(e){return e.$shadowResolver$}function nl(e,t){e.$shadowResolver$=t}function ll(e){return el(e).delegatesFocus}function ol(e){return el(e).host}function rl(e){return el(e).shadowRoot}function il(e){const t=Qn.get(e);return!D(t)&&e===t.host}function al(e){const t=Qn.get(e);return!D(t)&&e===t.shadowRoot}l(j.prototype,W,{set(e){var t,n;D(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,It(t,Dt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(F,"$isNativeShadowRootDefined$",{value:vt});let cl=0;function ul(e,t){if(Qn.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=Mt(e),r=Zn.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};Qn.set(r,i),Qn.set(e,i);const a=()=>r,c=a.nodeKey=cl++;return It(e,$t,{value:c}),nl(r,a),h(r,gl.prototype),r}const sl={constructor:{writable:!0,configurable:!0,value:gl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},fl={activeElement:{enumerable:!0,configurable:!0,get(){const e=ol(this),t=Mt(e),n=ot.call(t);if($(n))return n;if(0==(le.call(e,n)&G))return null;let l=n;for(;!qt(e,l);)l=ge.call(l);return Gt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return el(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return bl(this,Mt(ol(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return mn(this,Mt(ol(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 ol(this)}},mode:{configurable:!0,get(){return el(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},hl=new WeakMap,pl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return oe.call(ol(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return re.call(ol(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return te.call(ol(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(ol(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&Yn(ol(e),t,Kn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return hl.set(e,this),_t.apply(ol(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&Vn(ol(e),t,Kn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return ol(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return pn(Xt(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=ol(this);return this===e?0:this.contains(e)?20:le.call(t,e)&G?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=ol(this);return 0!=(le.call(t,e)&G)&&qt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Dn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Dn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Dn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(ol(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 ol(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==Z&&(t+=sn(l))}return t},set(e){const t=ol(this);me.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!D(e)&&I(e.composed)?ol(this).getRootNode(e):this}}};function gl(){throw new TypeError("Illegal constructor")}function ml(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof j))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=!al(r)&&!Nt(r)||!t&&r===l?r instanceof j?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Mt(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:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:s,keys:u,seal:h,setPrototypeOf:f}=Object,{copyWithin:p,fill:g,filter:m,find:d,indexOf:b,join:E,map:y,pop:w,push:T,reduce:v,reverse:N,shift:L,slice:M,sort:C,splice:S,unshift:O,forEach:H}=Array.prototype,{charCodeAt:A,replace:_,slice:R,toLowerCase:$}=String.prototype;function P(e){return void 0===e}function D(e){return null===e}function I(e){return!0===e}function B(e){return!1===e}function k(e){return"function"==typeof e}function F(e){return"object"==typeof e}const x=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}(),W="$shadowResolver$",U="$shadowToken$",j=Node,K=j.prototype,{DOCUMENT_POSITION_CONTAINED_BY:G,DOCUMENT_POSITION_CONTAINS:q,DOCUMENT_POSITION_PRECEDING:X,DOCUMENT_POSITION_FOLLOWING:Y,ELEMENT_NODE:V,TEXT_NODE:z,CDATA_SECTION_NODE:J,PROCESSING_INSTRUCTION_NODE:Q,COMMENT_NODE:Z,DOCUMENT_FRAGMENT_NODE:ee}=j,{appendChild:te,cloneNode:ne,compareDocumentPosition:le,insertBefore:oe,removeChild:re,replaceChild:ie,hasChildNodes:ae}=K,{contains:ce}=HTMLElement.prototype,se=r(K,"firstChild").get,ue=r(K,"lastChild").get,he=r(K,"textContent").get,fe=r(K,"parentNode").get,pe=r(K,"ownerDocument").get,ge=c.call(K,"parentElement")?r(K,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,me=r(K,"textContent").set,de=c.call(K,"childNodes")?r(K,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,be=c.call(K,"isConnected")?r(K,"isConnected").get:function(){const e=pe.call(this);return null===e||0!=(le.call(e,this)&G)},{getAttribute:Ee,getBoundingClientRect:ye,getElementsByTagName:we,getElementsByTagNameNS:Te,hasAttribute:ve,querySelector:Ne,querySelectorAll:Le,removeAttribute:Me,setAttribute:Ce}=Element.prototype,Se=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")},Oe=r(Element.prototype,"childElementCount").get,He=r(Element.prototype,"firstElementChild").get,Ae=r(Element.prototype,"lastElementChild").get,_e=r(HTMLElement.prototype,"innerText"),Re=_e?_e.get:null,$e=_e?_e.set:null,Pe=r(HTMLElement.prototype,"outerText"),De=Pe?Pe.get:null,Ie=Pe?Pe.set:null,Be=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),ke=Be.get,Fe=Be.set,xe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),We=xe.get,Ue=xe.set,je=r(Element.prototype,"tagName").get,Ke=r(HTMLElement.prototype,"tabIndex"),Ge=Ke.get,qe=Ke.set,Xe=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ve}=HTMLElement.prototype,ze=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Je=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Qe,Ze;"undefined"!=typeof HTMLSlotElement?(Qe=HTMLSlotElement.prototype.assignedNodes,Ze=HTMLSlotElement.prototype.assignedElements):(Qe=()=>{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")},Ze=()=>{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 et=r(Event.prototype,"target").get,tt=r(Event.prototype,"currentTarget").get,nt=r(FocusEvent.prototype,"relatedTarget").get,lt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],ot=r(Document.prototype,"activeElement").get,rt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,it=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,at=r(Document.prototype,"defaultView").get,{createComment:ct,createTreeWalker:st,querySelectorAll:ut,getElementById:ht,getElementsByClassName:ft,getElementsByTagName:pt,getElementsByTagNameNS:gt}=Document.prototype,{getElementsByName:mt}=HTMLDocument.prototype,{addEventListener:dt,removeEventListener:bt,getComputedStyle:Et,getSelection:yt}=window,wt=MutationObserver,Tt=wt.prototype.observe;let vt=null;"undefined"!=typeof ShadowRoot&&(vt=ShadowRoot);const Nt=!D(vt),Lt=D(vt)?()=>!1:e=>e instanceof vt;const{createElement:Mt}=Document.prototype;function Ct(e){const t=pe.call(e);return null===t?e:t}function St(e){const t=Ct(e),n=at.call(t);if(null===n)throw new TypeError;return n}let Ot;function Ht(e){if(P(Ot)){const t=Ct(e);Ot=t.body&&"temporary-bypass"===Ee.call(t.body,"data-global-patching-bypass")}return I(Ot)}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{}f(e,HTMLElement.constructor),f(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Mt.apply(this,M.call(arguments));return 4===t.length&&115===A.call(t,0)&&108===A.call(t,1)&&111===A.call(t,2)&&116===A.call(t,3)&&f(l,e.prototype),l}})}();const _t="undefined"!=typeof EventTarget?EventTarget.prototype:j.prototype,{addEventListener:Rt,dispatchEvent:$t,removeEventListener:Pt}=_t,Dt="$$HostElementKey$$",It="$$ShadowedNodeKey$$";function Bt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function kt(e){return e[Dt]}function Ft(e){let t,n=e;for(;!D(n);){if(t=kt(n),!P(t))return t;n=fe.call(n)}}function xt(e){return e[It]}function Wt(e){return!P(kt(e))}function Ut(e){let t=ge.call(e);for(;!D(t)&&qt(t);)e=t,t=ge.call(e);return e}function jt(e,t){const n=xt(e);let l=t instanceof Element?t:ge.call(t);for(;!D(l)&&l!==e;){const t=Ft(l),o=ge.call(l);if(t===n)return qt(l);if(o===e)return!1;if(D(o)||Ft(o)===t)l=o;else{if(!qt(o))return!1;if(l=Kt(Ut(o)),!D(l)){if(l===e)return!0;if(Ft(l)===n)return!0}}}return!1}function Kt(e){if(!(e instanceof j))return null;const t=Ft(e);if(P(t))return null;let n=e;for(;!D(n)&&xt(n)!==t;)n=fe.call(n);return D(n)?null:n}function Gt(e){return qt(e)&&Wt(e)}function qt(e){return e instanceof HTMLSlotElement}function Xt(e,t){const n=Ft(t);return P(n)||xt(e)===n}function Yt(e){const t=rl(e);return Jt(t,At(de.call(t)))}function Vt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Xt(e,o)&&jt(e,o)&&T.call(n,o)}return n}function zt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Xt(e,l)&&jt(e,l))return l}return null}function Jt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Xt(e,o)&&T.call(n,o)}return n}function Qt(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Xt(e,t[n]))return t[n];return null}function Zt(e){if(!al(e)&&!qt(e)){return At(de.call(e))}if(al(e)){const t=At(Le.call(e,"slot")),n=nl(il(e));return v.call(t,((e,t)=>(n===nl(t)&&T.apply(e,en(t)),e)),[])}{const t=At(de.call(e)),n=nl(e);return m.call(t,(e=>n===nl(e)))}}function en(e){const t=Kt(e);if(D(t))return[];const n=At(de.call(e));return m.call(n,(e=>!Wt(e)||!Xt(t,e)))}const tn=/[&\u00A0"]/g,nn=/[&\u00A0<>]/g,{replace:ln,toLowerCase:on}=String.prototype;function rn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function an(e){return ln.call(e,tn,rn)}const cn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),sn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function un(e){switch(e.nodeType){case V:{const{attributes:t}=e,n=je.call(e);let l="<"+on.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+an(e.value)+'"';return l+=">",cn.has(n)?l:l+function(e){let t="";const n=Zt(e);for(let e=0,l=n.length;e<l;e+=1)t+=un(n[e]);return t}(e)+"</"+on.call(n)+">"}case z:{const{data:n,parentNode:l}=e;return l instanceof Element&&sn.has(je.call(l))?n:(t=n,ln.call(t,nn,rn))}case J:return`<!CDATA[[${e.data}]]>`;case Q:return`<?${e.target} ${e.data}?>`;case Z:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function hn(e){if(e.nodeType===V){const t=Zt(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==Z&&(n+=hn(l))}return n}return e.nodeValue}const fn=new WeakMap;function pn(){throw new TypeError("Illegal constructor")}function gn(e){const n=t(pn.prototype);return fn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}pn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:pn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return fn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){H.call(fn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(fn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(fn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return fn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=fn.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]"}}),f(pn,NodeList);const mn=(e,t)=>{let n;for(;!P(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function dn(e,t,n,l){const o=it.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!P(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!D(o))for(let e=0;e<o.length;e++){const t=o[e];if(Gt(t))continue;const n=t.getRootNode();if(-1!==b.call(i,n)){T.call(r,t);continue}const l=mn(n,i[0]);P(l)||-1!==b.call(o,l)||-1!==b.call(r,l)||T.call(r,l)}return r}const bn=new WeakMap;function En(){throw new TypeError("Illegal constructor")}function yn(e){const n=t(En.prototype);return bn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}En.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:En},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return bn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=bn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Ee.call(n,"id")||e===Ee.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),f(En,HTMLCollection),x.lwcRuntimeFlags||Object.defineProperty(x,"lwcRuntimeFlags",{value:t(null)});const wn=x.lwcRuntimeFlags;function Tn(e){return Gt(e)||al(e)}function vn(e,t){const n=Kt(e);if(t===n)return il(n);if(t instanceof Element){if(Ft(e)===Ft(t))return t;if(!D(n)&&qt(t)){const e=Kt(t);if(!D(e)&&Xt(n,e))return e}}return null}function Nn(){return Dn(this).length>0}function Ln(){return Dn(this)[0]||null}function Mn(){const e=Dn(this);return e[e.length-1]||null}function Cn(){return hn(this)}function Sn(){const e=fe.call(this);return D(e)?e:vn(this,e)}function On(){const e=fe.call(this);if(D(e))return null;const t=vn(this,e);return t instanceof Element?t:null}function Hn(e){return this===e?0:this.getRootNode()===e?10:kt(this)!==kt(e)?35:le.call(this,e)}function An(e){return null!=e&&kt(this)===kt(e)&&0!=(le.call(this,e)&G)}function _n(e){const t=ne.call(this,!1);if(!e)return t;const n=Dn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Rn(){if(al(this)){const e=Kt(this);return gn(D(e)?[]:Jt(e,Zt(this)))}return de.call(this)}const $n=j.prototype.getRootNode,Pn=P($n)?function(){let e,t=this;for(;!D(e=fe.call(t));)t=e;return t}:$n;n(j.prototype,{firstChild:{get(){return Tn(this)?Ln.call(this):se.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Tn(this)?Mn.call(this):ue.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return wn.ENABLE_NODE_PATCH?Ht(this)?he.call(this):Cn.call(this):Wt(this)||al(this)?Cn.call(this):he.call(this)},set:function(e){me.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Wt(this))return Sn.call(this);const e=fe.call(this);return!D(e)&&Gt(e)?Kt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Wt(this))return On.call(this);const e=ge.call(this);return!D(e)&&Gt(e)?Kt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Tn(this)?Rn.call(this):de.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Tn(this)?Nn.call(this):ae.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ht(this)?le.call(this,e):Hn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(wn.ENABLE_NODE_PATCH?Ht(this)?ce.call(this,e):An.call(this,e):null!=e&&(Wt(this)||al(this)?An.call(this,e):ce.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return wn.ENABLE_NODE_PATCH?I(e)?Ht(this)?ne.call(this,e):_n.call(this,e):ne.call(this,e):Wt(this)||al(this)?_n.call(this,e):ne.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return I(!P(e)&&!!e.composed)?Pn.call(this,e):function(e){const t=Kt(e);return D(t)?Pn.call(e):il(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(this)}}});const Dn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(j.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(j.prototype,"parentElement"));const In=new WeakMap,Bn=new WeakMap;function kn(e,t,n){if(t===n)return!0;let l=Bn.get(e);return P(l)&&(l=e.composedPath(),Bn.set(e,l)),l.includes(n)}function Fn(e){if(!function(e){return k(e)||F(e)&&!D(e)&&k(e.handleEvent)}(e))return e;let t=In.get(e);return P(t)&&(t=function(t){const n=tt.call(t);if(kn(t,jn(t),n))return k(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},In.set(e,t)),t}const xn=new WeakMap,Wn=new WeakMap;function Un(e){let n=Wn.get(e);return P(n)&&(n=t(null),Wn.set(e,n)),n}function jn(e){var t;return null!==(t=pl.get(e))&&void 0!==t?t:et.call(e)}const Kn=new WeakMap;function Gn(e){if(!k(e))throw new TypeError;let t=Kn.get(e);return P(t)&&(t=function(t){let n=tt.call(t);Lt(n)||(n=il(n));kn(t,jn(t),n)&&e.call(n,t)},t.placement=1,Kn.set(e,t)),t}const qn=new WeakMap;function Xn(e){if(!k(e))throw new TypeError;let t=qn.get(e);return P(t)&&(t=function(t){const n=tt.call(t);kn(t,jn(t),n)&&e.call(n,t)},t.placement=0,qn.set(e,t)),t}function Yn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=Un(tt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=M.call(a);function s(n){H.call(c,(l=>{B(t)&&l.placement===n&&-1!==b.call(a,l)&&l.call(void 0,e)}))}xn.set(e,1),s(1),B(t)&&B(n)&&(xn.set(e,0),s(0)),xn.set(e,2)}function Vn(e,t,n){const l=Un(e);let o=l[t];P(o)&&(o=l[t]=[]),-1===b.call(o,n)&&(0===o.length&&Rt.call(e,t,Yn),T.call(o,n))}function zn(e,t,n){let l,o;P(o=Un(e)[t])||-1===(l=b.call(o,n))||(S.call(o,l,1),0===o.length&&Pt.call(e,t,Yn))}function Jn(e,t,n){if(k(t)){Vn(this,e,Xn(t))}}function Qn(e,t,n){if(k(t)){zn(this,e,Xn(t))}}const Zn=new WeakMap,{createDocumentFragment:el}=document;function tl(e){const t=Zn.get(e);if(P(t))throw new TypeError;return t}function nl(e){return e.$shadowResolver$}function ll(e,t){e.$shadowResolver$=t}function ol(e){return tl(e).delegatesFocus}function rl(e){return tl(e).host}function il(e){return tl(e).shadowRoot}function al(e){const t=Zn.get(e);return!P(t)&&e===t.host}function cl(e){const t=Zn.get(e);return!P(t)&&e===t.shadowRoot}l(j.prototype,W,{set(e){var t,n;P(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Bt(t,Dt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(x,"$isNativeShadowRootDefined$",{value:Nt});let sl=0;function ul(e,t){if(Zn.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=Ct(e),r=el.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};Zn.set(r,i),Zn.set(e,i);const a=()=>r,c=a.nodeKey=sl++;return Bt(e,It,{value:c}),ll(r,a),f(r,ml.prototype),r}const hl={constructor:{writable:!0,configurable:!0,value:ml},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},fl={activeElement:{enumerable:!0,configurable:!0,get(){const e=rl(this),t=Ct(e),n=ot.call(t);if(D(n))return n;if(0==(le.call(e,n)&G))return null;let l=n;for(;!Xt(e,l);)l=ge.call(l);return qt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return tl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return El(this,Ct(rl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return dn(this,Ct(rl(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 rl(this)}},mode:{configurable:!0,get(){return tl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},pl=new WeakMap,gl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return oe.call(rl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return re.call(rl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return te.call(rl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(rl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&Vn(rl(e),t,Gn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return pl.set(e,this),$t.apply(rl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&zn(rl(e),t,Gn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return rl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return gn(Yt(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=rl(this);return this===e?0:this.contains(e)?20:le.call(t,e)&G?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=rl(this);return 0!=(le.call(t,e)&G)&&Xt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Dn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Dn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Dn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(rl(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 rl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==Z&&(t+=hn(l))}return t},set(e){const t=rl(this);me.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!P(e)&&I(e.composed)?rl(this).getRootNode(e):this}}};function ml(){throw new TypeError("Illegal constructor")}function dl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof j))return n;l=e.getRootNode()}let o,r=e;for(;!D(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=D(e)?r.parentNode:e}else r=!cl(r)&&!Lt(r)||!t&&r===l?r instanceof j?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Ct(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 dl(e,t){if($(e))return null;const n=ml(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!al(o)||!D(r)&&r>-1)return e;return null}function bl(e,t,n,l){const o=rt.call(t,n,l);return $(o)?o:dl(e,ml(o,!0))}e(sl,pl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return En(m.call(Xt(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=ol(e);return Jt(n,Ht(Le.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return pn(function(e,t){const n=ol(e);return zt(n,Ht(Le.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t},set(e){const t=ol(this);xe.call(t,e)}}},fl),gl.prototype=t(DocumentFragment.prototype,sl),l(gl,Symbol.hasInstance,{value:function(e){return x(e)&&!$(e)&&(Nt(e)||a(e)===gl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return bl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return mn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=ot.call(this);if($(e))return e;for(;!D(Bt(e));)if(e=ge.call(e),$(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=st.apply(this,M.call(arguments));return $(e)?null:D(Bt(e))||Ot(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=Ht(ut.apply(this,M.call(arguments))),t=d.call(e,(e=>D(Bt(e))||Ot(e)));return D(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=Ht(ut.apply(this,M.call(arguments)));return pn(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=Ht(ft.apply(this,M.call(arguments)));return En(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=Ht(ht.apply(this,M.call(arguments)));return En(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=Ht(pt.apply(this,M.call(arguments)));return En(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=Ht(gt.apply(this,M.call(arguments)));return pn(m.call(e,(e=>D(Bt(e))||Ot(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:gl,configurable:!0,writable:!0});const El=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const yl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function wl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!El)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!El.get.call(e)})()&&(HTMLElement.prototype.click=function(){Rt.call(this,"click",wl);try{yl.value.call(this)}finally{Pt.call(this,"click",wl)}}),!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 Tl=CustomEvent;function vl(e,t){const n=new Tl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(vl.prototype=Tl.prototype,window.CustomEvent=vl,"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}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return $(e)||D(Bt(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 Nl=MutationObserver,{disconnect:Ll,observe:Ml,takeRecords:Cl}=Nl.prototype,Sl="$$lwcObserverCallbackWrapper$$",Ol=new WeakMap;function Hl(e){return e.$$lwcNodeObservers$$}function Al(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function Rl(e,t){let n=t;for(;!$(n);){const t=Hl(n);if(!D(t)&&(t[0]===e||-1!==b.call(t,e)))return!0;n=n.parentNode}return!1}function _l(e,t){return v.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||D(xt(l)))Rl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(Rl(t,r)){const o=Hl(l);!o||o[0]!==t&&-1===b.call(o,t)?T.call(e,Al(n)):T.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(kt(l)===kt(i)&&Rl(t,l))T.call(e,n);else if(o){const l=Hl(o);!l||l[0]!==t&&-1===b.call(l,t)||T.call(e,Al(n))}}return e}),[])}function Pl(e){const t=function(e){let t=e[Sl];return D(t)&&(t=e[Sl]=(t,n)=>{const l=_l(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Nl(t)}function Dl(e,t,n){if(arguments.length>1){const e=M.call(arguments);return e[1]=kn(e[1]),mt.apply(this,e)}return mt.apply(this,arguments)}function $l(e,t,n){if(arguments.length>1){const e=M.call(arguments);e[1]=kn(e[1]),dt.apply(this,e)}dt.apply(this,arguments)}function Il(){const e=et.call(this);if(!(e instanceof j))return e;const t=Mt(e),n=ml(e,this.composed),l=tt.call(this);if(!(l instanceof j))return $(l)&&D(Bt(e))?e:dl(t,n);if(l===t||l===t.body)return D(Bt(e))?e:dl(t,n);let o=l,r=n;if(il(l)){1===xn.get(this)&&(o=rl(l))}return il(e)&&hl.has(this)&&(r=ml(rl(e),this.composed)),dl(o,r)}function Bl(){const e=et.call(this);if(!(e instanceof j))return[];const t=Boolean(e.shadowRoot),n=(l=e,Qn.has(l));var l;if(t&&!n)return lt.call(this);if($(tt.call(this)))return[];let o=e;return il(e)&&hl.has(this)&&(o=rl(e)),ml(o,this.composed)}function kl(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 j&&Ft(e)))return e;let n=tt.call(this);return $(n)&&(n=Mt(e)),dl(n,ml(e,!0))},enumerable:!0,configurable:!0})}Pl.prototype=Nl.prototype,Pl.prototype.disconnect=function(){Ll.call(this);const e=Ol.get(this);D(e)||(H.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!D(t)){const e=b.call(t,this);-1!==e&&S.call(t,e,1)}})),e.length=0)},Pl.prototype.observe=function(e,t){let n=Hl(e);var l;if(D(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===b.call(n,this)&&T.call(n,this),al(e)&&(e=e.host),Ol.has(this)){const t=Ol.get(this);-1===b.call(t,e)&&T.call(t,e)}else Ol.set(this,[e]);return Ml.call(this,e,t)},Pl.prototype.takeRecords=function(){return _l(Cl.call(this),this)},l(window,"MutationObserver",{value:Pl,configurable:!0,writable:!0}),n(At,{addEventListener:{value:function(e,t,n){if(il(this))return zn.apply(this,arguments);if(arguments.length<2){const e=M.call(arguments);return e.length>1&&(e[1]=kn(e[1])),Rt.apply(this,e)}const l=kn(t);return Rt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(il(this))return Jn.apply(this,arguments);const l=M.call(arguments);arguments.length>1&&(l[1]=kn(l[1])),Pt.apply(this,l),Pt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Dl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:$l,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Il,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=tt.call(this);return $(e)?null:1===xn.get(this)?rl(e):e},enumerable:!0,configurable:!0},composedPath:{value:Bl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Il,enumerable:!0,configurable:!0},path:{get:Bl,enumerable:!0,configurable:!0}}),kl(FocusEvent),kl(MouseEvent);const xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Fl;const Wl={childList:!0},Ul=new WeakMap;function jl(e){const t=Ht(de.call(e));return v.call(t,((e,t)=>(t instanceof Element&&Gt(t)?T.apply(e,jl(t)):T.call(e,t),e)),[])}function Kl(){const e=he.call(this);if(e instanceof Element){const t=ze.call(e);if(Nt(t))return this instanceof Text?xl.call(this):Je.call(this)}return!$(e)&&Gt(e)&&Bt(e)!==Bt(this)?e:null}function Gl(e,t){let n;const l=Bt(e);if(D(l))n=e instanceof HTMLBodyElement?m.call(t,(t=>D(Bt(t))||Ot(e))):M.call(t);else if(il(e)){const l=jt(e);n=$(l)?[]:xt(e)?Yt(e,t):zt(l,t)}else n=m.call(t,(e=>kt(e)===l));return n}function ql(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t}function Xl(){return un(this)}function Yl(){const e=jt(this),t=$(e)?[]:zt(e,Qt(this));return En(m.call(t,(e=>e instanceof Element)))}function Vl(){return this.children.length}function zl(){return this.children[0]||null}function Jl(){const{children:e}=this;return e.item(e.length-1)||null}function Ql(e,t,n){let l;if(il(e)){const n=jt(e);l=$(n)?[]:xt(e)?Yt(e,t):zt(n,t)}else if(Ft(e)){const o=Bt(e);if(D(o))if(1===n){const n=kt(e);l=m.call(t,(e=>kt(e)===n))}else l=M.call(t);else l=m.call(t,(e=>kt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?m.call(t,(t=>D(Bt(t))||Ot(e))):M.call(t);return l}function Zl(e){const t=Ct(e);return bt.call(t,e)}function eo(e){const t=Ct(e);return Et.call(t)}function to(e){return"visible"===e.visibility&&"none"!==e.display}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Ul.get(this)||(Ul.set(this,!0),Fl||(Fl=new yt((e=>{const t=[];H.call(e,(e=>{const{target:n}=e;-1===b.call(t,n)&&(T.call(t,n),_t.call(n,new CustomEvent("slotchange")))}))}))),wt.call(Fl,this,Wl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Ft(this)){const t=!D(e)&&I(e.flatten)?jl(this):Zt(this);return m.call(t,(e=>e instanceof Element))}return Ze.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Ft(this)){return!D(e)&&I(e.flatten)?jl(this):Zt(this)}return Qe.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ee.call(this,"name");return $(e)?"":e},set(e){Ce.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Ft(this)){const e=jt(this);return pn($(e)?[]:zt(e,Qt(this)))}return de.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Kl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return yn.ENABLE_ELEMENT_PATCH?Ot(this)?ke.call(this):ql.call(this):Ft(this)||il(this)?ql.call(this):ke.call(this)},set(e){xe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return yn.ENABLE_ELEMENT_PATCH?Ot(this)?We.call(this):Xl.call(this):Ft(this)||il(this)?Xl.call(this):We.call(this)},set(e){Ue.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ul(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(il(this)){const e=rl(this);if("open"===e.mode)return e}return ze.call(this)},enumerable:!0,configurable:!0},children:{get(){return wn(this)?Yl.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return wn(this)?Vl.call(this):Oe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return wn(this)?zl.call(this):He.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return wn(this)?Jl.call(this):Ae.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Kl,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=Ht(Le.apply(this,M.call(arguments)));if(il(this)){const t=jt(this);return $(t)?null:xt(this)?Vt(this,e):Jt(t,e)}if(Ft(this)){const t=Bt(this);if(D(t)){if(!yn.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=kt(this),n=d.call(e,(e=>kt(e)===t));return D(n)?null:n}{const n=d.call(e,(e=>kt(e)===t));return D(n)?null:n}}{if(!(yn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return D(t)?null:t}const t=d.call(e,(e=>D(Bt(e))||Ot(this)));return D(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=Ht(Le.apply(this,M.call(arguments)));if(!yn.ENABLE_NODE_LIST_PATCH){return pn(Ql(this,e,0))}return pn(Ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=Ht(Ve.apply(this,M.call(arguments)));if(!yn.ENABLE_HTML_COLLECTIONS_PATCH)return En(Gl(this,e));return En(Ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=Ht(we.apply(this,M.call(arguments)));if(!yn.ENABLE_HTML_COLLECTIONS_PATCH)return En(Gl(this,e));return En(Ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=Ht(Te.apply(this,M.call(arguments)));if(!yn.ENABLE_HTML_COLLECTIONS_PATCH)return En(Gl(this,e));return En(Ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function no(e){const t=[];if((e=>e.nodeType===V)(e)){const{tagName:n}=e,l=Zl(e);if("OPTION"===n)return[1,_e.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)T.apply(t,no(n[e]))}if(!to(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===z)(e)&&t.push(function(e){const t=eo(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function lo(e){if(!to(Zl(e)))return sn(e)||"";const t=function(e){const t=Ct(e),n=eo(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)T.apply(n,no(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=Ct(t),a=eo(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}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 io(e){return e.filter((e=>ve.call(e,"tabindex")?"0"===Ee.call(e,"tabindex"):!ro.has(je.call(e))||!ve.call(e,"disabled")))}const ao=new WeakMap;function co(e){return(!il(e)||!ll(e))&&(Xe.call(e,oo)&&function(e){const{width:t,height:n}=ye.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=Ne.call(this,oo);return void($(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=Ht(Le.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=Mt(e),n=io(Ht(ut.call(t,oo))),l=io(Ht(Le.call(e,oo))),o=l[0],r=l[l.length-1],i=b.call(n,e),a=i>-1?i:b.call(n,o),c=0===l.length?a+1:b.call(n,r)+1;return{prev:M.call(n,0,a),inner:l,next:M.call(n,c)}}function fo(e,t){const n=le.call(e,t);return n&G?0:n&X?1:n&Y?2:-1}function ho(e){e.preventDefault(),e.stopPropagation()}function po(e,t){mt.call(e,"focusin",ho,!0),mt.call(e,"focusout",ho,!0),t(),dt.call(e,"focusin",ho,!0),dt.call(e,"focusout",ho,!0)}function go(e,t,n){const l=Ct(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(vo(t.getRootNode(),n))return n}return null}(e,n);$(o)?po(l,(()=>{t.blur()})):po(l,(()=>{o.focus()}))}let mo=!1;function bo(){mo=!0}function Eo(){mo=!1}function yo(){return!mo}function wo(e){if(mo)return;const t=tt.call(e),n=et.call(e);if(t!==n)return;const l=nt.call(e);if($(l))return;const o=so(t);if(1===fo(t,l)){const e=vo.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(D(r))go(o.next,n,l);else{po(Ct(r),(()=>{r.focus()}))}}else t===n&&go(N.call(o.prev),n,l)}function To(e){if(mo)return;const t=nt.call(e);if($(t))return;const n=tt.call(e),l=so(n);if(-1!==b.call(l.inner,t))return;const o=et.call(e),r=fo(n,t);1===r&&go(l.next,o,t),2===r&&go(N.call(l.prev),o,t)}function vo(e,t){if(!co(t))return!1;const n=Mt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Ee.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function No(e){Pt.call(e,"focusin",wo,!0)}function Lo(e){const t=Mt(e);ao.get(t)||(ao.set(t,!0),Rt.call(t,"mousedown",bo,!0),Rt.call(t,"mouseup",(()=>{setTimeout(Eo)}),!0),Rt.call(t,"dragstart",Eo,!0))}function Mo(e){Pt.call(e,"focusin",To,!0)}const{blur:Co,focus:So}=HTMLElement.prototype;function Oo(){return ll(this)&&B(ve.call(this,"tabindex"))?0:Ge.call(this)}function Ho(e){const t=ll(this),n=Ge.call(this),l=ve.call(this,"tabindex");qe.call(this,e);const o=Ge.call(this),r=ve.call(this,"tabindex"),i=n!==o;var a;(l&&(i||B(r))&&(-1===n&&Mo(this),0===n&&t&&No(this)),B(r))||(l&&r&&B(i)||(-1===o&&(Lo(a=this),No(a),Rt.call(a,"focusin",To,!0)),0===o&&t&&function(e){Lo(e),Mo(e),Rt.call(e,"focusin",wo,!0)}(this)))}function Ao(){if(ll(this)){const e=function(e){const t=Mt(e),n=ot.call(t);return $(n)||0!=(le.call(e,n)&G)?n:null}(this);if(!$(e))return void e.blur()}return Co.call(this)}function Ro(){const e=yo();e&&bo(),il(this)&&ll(this)?uo.call(this):(So.apply(this,arguments),e&&Eo())}n(HTMLElement.prototype,{tabIndex:{get(){return il(this)?Oo.call(this):Ge.call(this)},set(e){return il(this)?Ho.call(this,e):qe.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(il(this))return Ao.call(this);Co.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ro.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==_e&&null!==Pe&&l(HTMLElement.prototype,"innerText",{get(){return yn.ENABLE_INNER_OUTER_TEXT_PATCH?yn.ENABLE_ELEMENT_PATCH?Ot(this)?_e.call(this):lo(this):Ft(this)||il(this)?lo(this):_e.call(this):_e.call(this)},set(e){Pe.call(this,e)},enumerable:!0,configurable:!0}),null!==$e&&null!==Ie&&l(HTMLElement.prototype,"outerText",{get(){return yn.ENABLE_INNER_OUTER_TEXT_PATCH?yn.ENABLE_ELEMENT_PATCH?Ot(this)?$e.call(this):lo(this):Ft(this)||il(this)?lo(this):$e.call(this):$e.call(this)},set(e){Ie.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,U,{set(e){const t=this.$$ShadowTokenKey$$;D(t)||t===e||Me.call(this,t),D(e)||Ce.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0});const _o=function(){};let Po;const Do={childList:!0};function $o(e,t,n){const l=tl(e);if(l!==t&&(nl(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),il(e))return;D(l)&&wt.call(Po,e,Do);const o=de.call(e);for(let e=0,l=o.length;e<l;e+=1)$o(o[e],t,n)}}function Io(e){if(D(Po)&&(Po=new yt((e=>{H.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=tl(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];le.call(t,n)&j.DOCUMENT_POSITION_CONTAINED_BY||$o(n,_o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];le.call(t,l)&j.DOCUMENT_POSITION_CONTAINED_BY&&$o(l,o,r)}}))}))),D(tl(e)))throw new Error("Invalid Element");wt.call(Po,e,Do)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,I(e)&&Io(this)},get(){return this.$$DomManualKey$$},configurable:!0})}();
10
+ */function bl(e,t){if(D(e))return null;const n=dl(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!cl(o)||!P(r)&&r>-1)return e;return null}function El(e,t,n,l){const o=rt.call(t,n,l);return D(o)?o:bl(e,dl(o,!0))}e(hl,gl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return yn(m.call(Yt(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=rl(e);return Qt(n,At(Le.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return gn(function(e,t){const n=rl(e);return Jt(n,At(Le.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t},set(e){const t=rl(this);Fe.call(t,e)}}},fl),ml.prototype=t(DocumentFragment.prototype,hl),l(ml,Symbol.hasInstance,{value:function(e){return F(e)&&!D(e)&&(Lt(e)||a(e)===ml.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return El(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return dn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=ot.call(this);if(D(e))return e;for(;!P(kt(e));)if(e=ge.call(e),D(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=ht.apply(this,M.call(arguments));return D(e)?null:P(kt(e))||Ht(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=At(ut.apply(this,M.call(arguments))),t=d.call(e,(e=>P(kt(e))||Ht(e)));return P(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=At(ut.apply(this,M.call(arguments)));return gn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=At(ft.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=At(pt.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=At(gt.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=At(mt.apply(this,M.call(arguments)));return gn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ml,configurable:!0,writable:!0});const yl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const wl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Tl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!yl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!yl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Rt.call(this,"click",Tl);try{wl.value.call(this)}finally{Pt.call(this,"click",Tl)}}),!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 vl=CustomEvent;function Nl(e,t){const n=new vl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Nl.prototype=vl.prototype,window.CustomEvent=Nl,"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}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return D(e)||P(kt(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 Ll=MutationObserver,{disconnect:Ml,observe:Cl,takeRecords:Sl}=Ll.prototype,Ol="$$lwcObserverCallbackWrapper$$",Hl=new WeakMap;function Al(e){return e.$$lwcNodeObservers$$}function _l(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function Rl(e,t){let n=t;for(;!D(n);){const t=Al(n);if(!P(t)&&(t[0]===e||-1!==b.call(t,e)))return!0;n=n.parentNode}return!1}function $l(e,t){return v.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||P(xt(l)))Rl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(Rl(t,r)){const o=Al(l);!o||o[0]!==t&&-1===b.call(o,t)?T.call(e,_l(n)):T.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Ft(l)===Ft(i)&&Rl(t,l))T.call(e,n);else if(o){const l=Al(o);!l||l[0]!==t&&-1===b.call(l,t)||T.call(e,_l(n))}}return e}),[])}function Pl(e){const t=function(e){let t=e[Ol];return P(t)&&(t=e[Ol]=(t,n)=>{const l=$l(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Ll(t)}function Dl(e,t,n){if(arguments.length>1){const e=M.call(arguments);return e[1]=Fn(e[1]),dt.apply(this,e)}return dt.apply(this,arguments)}function Il(e,t,n){if(arguments.length>1){const e=M.call(arguments);e[1]=Fn(e[1]),bt.apply(this,e)}bt.apply(this,arguments)}function Bl(){const e=et.call(this);if(!(e instanceof j))return e;const t=Ct(e),n=dl(e,this.composed),l=tt.call(this);if(!(l instanceof j))return D(l)&&P(kt(e))?e:bl(t,n);if(l===t||l===t.body)return P(kt(e))?e:bl(t,n);let o=l,r=n;if(al(l)){1===xn.get(this)&&(o=il(l))}return al(e)&&pl.has(this)&&(r=dl(il(e),this.composed)),bl(o,r)}function kl(){const e=et.call(this);if(!(e instanceof j))return[];const t=Boolean(e.shadowRoot),n=(l=e,Zn.has(l));var l;if(t&&!n)return lt.call(this);if(D(tt.call(this)))return[];let o=e;return al(e)&&pl.has(this)&&(o=il(e)),dl(o,this.composed)}function Fl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(D(e))return null;if(!(e instanceof j&&Wt(e)))return e;let n=tt.call(this);return D(n)&&(n=Ct(e)),bl(n,dl(e,!0))},enumerable:!0,configurable:!0})}Pl.prototype=Ll.prototype,Pl.prototype.disconnect=function(){Ml.call(this);const e=Hl.get(this);P(e)||(H.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!P(t)){const e=b.call(t,this);-1!==e&&S.call(t,e,1)}})),e.length=0)},Pl.prototype.observe=function(e,t){let n=Al(e);var l;if(P(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===b.call(n,this)&&T.call(n,this),cl(e)&&(e=e.host),Hl.has(this)){const t=Hl.get(this);-1===b.call(t,e)&&T.call(t,e)}else Hl.set(this,[e]);return Cl.call(this,e,t)},Pl.prototype.takeRecords=function(){return $l(Sl.call(this),this)},l(window,"MutationObserver",{value:Pl,configurable:!0,writable:!0}),n(_t,{addEventListener:{value:function(e,t,n){if(al(this))return Jn.apply(this,arguments);if(arguments.length<2){const e=M.call(arguments);return e.length>1&&(e[1]=Fn(e[1])),Rt.apply(this,e)}const l=Fn(t);return Rt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(al(this))return Qn.apply(this,arguments);const l=M.call(arguments);arguments.length>1&&(l[1]=Fn(l[1])),Pt.apply(this,l),Pt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Dl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Il,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Bl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=tt.call(this);return D(e)?null:1===xn.get(this)?il(e):e},enumerable:!0,configurable:!0},composedPath:{value:kl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Bl,enumerable:!0,configurable:!0},path:{get:kl,enumerable:!0,configurable:!0}}),Fl(FocusEvent),Fl(MouseEvent);const xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Wl;const Ul={childList:!0},jl=new WeakMap;function Kl(e){const t=At(de.call(e));return v.call(t,((e,t)=>(t instanceof Element&&qt(t)?T.apply(e,Kl(t)):T.call(e,t),e)),[])}function Gl(){const e=fe.call(this);if(e instanceof Element){const t=ze.call(e);if(Lt(t))return this instanceof Text?xl.call(this):Je.call(this)}return!D(e)&&qt(e)&&kt(e)!==kt(this)?e:null}function ql(e,t){let n;const l=kt(e);if(P(l))n=e instanceof HTMLBodyElement?m.call(t,(t=>P(kt(t))||Ht(e))):M.call(t);else if(al(e)){const l=Kt(e);n=D(l)?[]:xt(e)?Vt(e,t):Jt(l,t)}else n=m.call(t,(e=>Ft(e)===l));return n}function Xl(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t}function Yl(){return un(this)}function Vl(){const e=Kt(this),t=D(e)?[]:Jt(e,Zt(this));return yn(m.call(t,(e=>e instanceof Element)))}function zl(){return this.children.length}function Jl(){return this.children[0]||null}function Ql(){const{children:e}=this;return e.item(e.length-1)||null}function Zl(e,t,n){let l;if(al(e)){const n=Kt(e);l=D(n)?[]:xt(e)?Vt(e,t):Jt(n,t)}else if(Wt(e)){const o=kt(e);if(P(o))if(1===n){const n=Ft(e);l=m.call(t,(e=>Ft(e)===n))}else l=M.call(t);else l=m.call(t,(e=>Ft(e)===o))}else l=e instanceof HTMLBodyElement||1===n?m.call(t,(t=>P(kt(t))||Ht(e))):M.call(t);return l}function eo(e){const t=St(e);return Et.call(t,e)}function to(e){const t=St(e);return yt.call(t)}function no(e){return"visible"===e.visibility&&"none"!==e.display}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||jl.get(this)||(jl.set(this,!0),Wl||(Wl=new wt((e=>{const t=[];H.call(e,(e=>{const{target:n}=e;-1===b.call(t,n)&&(T.call(t,n),$t.call(n,new CustomEvent("slotchange")))}))}))),Tt.call(Wl,this,Ul))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Wt(this)){const t=!P(e)&&I(e.flatten)?Kl(this):en(this);return m.call(t,(e=>e instanceof Element))}return Ze.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Wt(this)){return!P(e)&&I(e.flatten)?Kl(this):en(this)}return Qe.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ee.call(this,"name");return D(e)?"":e},set(e){Ce.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Wt(this)){const e=Kt(this);return gn(D(e)?[]:Jt(e,Zt(this)))}return de.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Gl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return wn.ENABLE_ELEMENT_PATCH?Ht(this)?ke.call(this):Xl.call(this):Wt(this)||al(this)?Xl.call(this):ke.call(this)},set(e){Fe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return wn.ENABLE_ELEMENT_PATCH?Ht(this)?We.call(this):Yl.call(this):Wt(this)||al(this)?Yl.call(this):We.call(this)},set(e){Ue.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ul(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(al(this)){const e=il(this);if("open"===e.mode)return e}return ze.call(this)},enumerable:!0,configurable:!0},children:{get(){return Tn(this)?Vl.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Tn(this)?zl.call(this):Oe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Tn(this)?Jl.call(this):He.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Tn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Gl,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(Le.apply(this,M.call(arguments)));if(al(this)){const t=Kt(this);return D(t)?null:xt(this)?zt(this,e):Qt(t,e)}if(Wt(this)){const t=kt(this);if(P(t)){if(!wn.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Ft(this),n=d.call(e,(e=>Ft(e)===t));return P(n)?null:n}{const n=d.call(e,(e=>Ft(e)===t));return P(n)?null:n}}{if(!(wn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return P(t)?null:t}const t=d.call(e,(e=>P(kt(e))||Ht(this)));return P(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=At(Le.apply(this,M.call(arguments)));if(!wn.ENABLE_NODE_LIST_PATCH){return gn(Zl(this,e,0))}return gn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=At(Ve.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=At(we.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=At(Te.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function lo(e){const t=[];if((e=>e.nodeType===V)(e)){const{tagName:n}=e,l=eo(e);if("OPTION"===n)return[1,Re.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)T.apply(t,lo(n[e]))}if(!no(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===z)(e)&&t.push(function(e){const t=to(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function oo(e){if(!no(eo(e)))return hn(e)||"";const t=function(e){const t=St(e),n=to(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)T.apply(n,lo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=St(t),a=to(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const ro="\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",io=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ao(e){return e.filter((e=>ve.call(e,"tabindex")?"0"===Ee.call(e,"tabindex"):!io.has(je.call(e))||!ve.call(e,"disabled")))}const co=new WeakMap;function so(e){return(!al(e)||!ol(e))&&(Xe.call(e,ro)&&function(e){const{width:t,height:n}=ye.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=Ne.call(this,ro);return void(D(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=At(Le.call(this,ro));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=Ct(e),n=ao(At(ut.call(t,ro))),l=ao(At(Le.call(e,ro))),o=l[0],r=l[l.length-1],i=b.call(n,e),a=i>-1?i:b.call(n,o),c=0===l.length?a+1:b.call(n,r)+1;return{prev:M.call(n,0,a),inner:l,next:M.call(n,c)}}function fo(e,t){const n=le.call(e,t);return n&G?0:n&X?1:n&Y?2:-1}function po(e){e.preventDefault(),e.stopPropagation()}function go(e,t){dt.call(e,"focusin",po,!0),dt.call(e,"focusout",po,!0),t(),bt.call(e,"focusin",po,!0),bt.call(e,"focusout",po,!0)}function mo(e,t,n){const l=St(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(No(t.getRootNode(),n))return n}return null}(e,n);D(o)?go(l,(()=>{t.blur()})):go(l,(()=>{o.focus()}))}let bo=!1;function Eo(){bo=!0}function yo(){bo=!1}function wo(){return!bo}function To(e){if(bo)return;const t=tt.call(e),n=et.call(e);if(t!==n)return;const l=nt.call(e);if(D(l))return;const o=ho(t);if(1===fo(t,l)){const e=No.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(P(r))mo(o.next,n,l);else{go(St(r),(()=>{r.focus()}))}}else t===n&&mo(N.call(o.prev),n,l)}function vo(e){if(bo)return;const t=nt.call(e);if(D(t))return;const n=tt.call(e),l=ho(n);if(-1!==b.call(l.inner,t))return;const o=et.call(e),r=fo(n,t);1===r&&mo(l.next,o,t),2===r&&mo(N.call(l.prev),o,t)}function No(e,t){if(!so(t))return!1;const n=Ct(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Ee.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Lo(e){Pt.call(e,"focusin",To,!0)}function Mo(e){const t=Ct(e);co.get(t)||(co.set(t,!0),Rt.call(t,"mousedown",Eo,!0),Rt.call(t,"mouseup",(()=>{setTimeout(yo)}),!0),Rt.call(t,"dragstart",yo,!0))}function Co(e){Pt.call(e,"focusin",vo,!0)}const{blur:So,focus:Oo}=HTMLElement.prototype;function Ho(){return ol(this)&&B(ve.call(this,"tabindex"))?0:Ge.call(this)}function Ao(e){const t=ol(this),n=Ge.call(this),l=ve.call(this,"tabindex");qe.call(this,e);const o=Ge.call(this),r=ve.call(this,"tabindex"),i=n!==o;var a;(l&&(i||B(r))&&(-1===n&&Co(this),0===n&&t&&Lo(this)),B(r))||(l&&r&&B(i)||(-1===o&&(Mo(a=this),Lo(a),Rt.call(a,"focusin",vo,!0)),0===o&&t&&function(e){Mo(e),Co(e),Rt.call(e,"focusin",To,!0)}(this)))}function _o(){if(ol(this)){const e=function(e){const t=Ct(e),n=ot.call(t);return D(n)||0!=(le.call(e,n)&G)?n:null}(this);if(!D(e))return void e.blur()}return So.call(this)}function Ro(){const e=wo();e&&Eo(),al(this)&&ol(this)?uo.call(this):(Oo.apply(this,arguments),e&&yo())}n(HTMLElement.prototype,{tabIndex:{get(){return al(this)?Ho.call(this):Ge.call(this)},set(e){return al(this)?Ao.call(this,e):qe.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(al(this))return _o.call(this);So.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ro.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Re&&null!==$e&&l(HTMLElement.prototype,"innerText",{get(){return wn.ENABLE_INNER_OUTER_TEXT_PATCH?wn.ENABLE_ELEMENT_PATCH?Ht(this)?Re.call(this):oo(this):Wt(this)||al(this)?oo(this):Re.call(this):Re.call(this)},set(e){$e.call(this,e)},enumerable:!0,configurable:!0}),null!==De&&null!==Ie&&l(HTMLElement.prototype,"outerText",{get(){return wn.ENABLE_INNER_OUTER_TEXT_PATCH?wn.ENABLE_ELEMENT_PATCH?Ht(this)?De.call(this):oo(this):Wt(this)||al(this)?oo(this):De.call(this):De.call(this)},set(e){Ie.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,U,{set(e){const t=this.$$ShadowTokenKey$$;P(t)||t===e||Me.call(this,t),P(e)||Ce.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){const t=this.$shadowResolver$;if(e){const e=st.call(Ct(this),this,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT,(()=>NodeFilter.FILTER_ACCEPT),!1);let n;for(;n=e.nextNode();)n.$shadowResolver$=t}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const $o=function(){};let Po;const Do={childList:!0};function Io(e,t,n){const l=nl(e);if(l!==t&&(ll(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),al(e))return;P(l)&&Tt.call(Po,e,Do);const o=de.call(e);for(let e=0,l=o.length;e<l;e+=1)Io(o[e],t,n)}}function Bo(e){if(P(Po)&&(Po=new wt((e=>{H.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=nl(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];le.call(t,n)&j.DOCUMENT_POSITION_CONTAINED_BY||Io(n,$o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];le.call(t,l)&j.DOCUMENT_POSITION_CONTAINED_BY&&Io(l,o,r)}}))}))),P(nl(e)))throw new Error("Invalid Element");Tt.call(Po,e,Do)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,I(e)&&Bo(this)},get(){return this.$$DomManualKey$$},configurable:!0})}();