lwc 2.33.0 → 2.34.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 (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +166 -42
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +166 -42
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +170 -39
  5. package/dist/engine-dom/iife/es5/engine-dom.js +204 -91
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +217 -88
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +166 -42
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +170 -39
  11. package/dist/engine-dom/umd/es5/engine-dom.js +204 -91
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +217 -88
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +158 -39
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +158 -39
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +7 -7
@@ -472,9 +472,9 @@ function htmlEscape(str, attrMode = false) {
472
472
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
473
473
  */
474
474
  // Increment whenever the LWC template compiler changes
475
- const LWC_VERSION = "2.33.0";
475
+ const LWC_VERSION = "2.34.0";
476
476
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
477
- /** version: 2.33.0 */
477
+ /** version: 2.34.0 */
478
478
 
479
479
  /*
480
480
  * Copyright (c) 2020, salesforce.com, inc.
@@ -529,6 +529,7 @@ const features = {
529
529
  ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY: null,
530
530
  ENABLE_FROZEN_TEMPLATE: null,
531
531
  DISABLE_ARIA_REFLECTION_POLYFILL: null,
532
+ ENABLE_PROGRAMMATIC_STYLESHEETS: null,
532
533
  };
533
534
  if (!_globalThis.lwcRuntimeFlags) {
534
535
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
@@ -582,7 +583,7 @@ function setFeatureFlagForTest(name, value) {
582
583
  setFeatureFlag(name, value);
583
584
  }
584
585
  }
585
- /** version: 2.33.0 */
586
+ /** version: 2.34.0 */
586
587
 
587
588
  /**
588
589
  * Copyright (C) 2018 salesforce.com, inc.
@@ -646,7 +647,7 @@ function applyAriaReflection(prototype = Element.prototype) {
646
647
  }
647
648
  }
648
649
  }
649
- /** version: 2.33.0 */
650
+ /** version: 2.34.0 */
650
651
 
651
652
  /* proxy-compat-disable */
652
653
 
@@ -812,6 +813,7 @@ function log(method, message, vm) {
812
813
  if (!isUndefined$1(vm)) {
813
814
  msg = `${msg}\n${getComponentStack(vm)}`;
814
815
  }
816
+ // In Jest tests, reduce the warning and error verbosity by not printing the callstack
815
817
  if (process.env.NODE_ENV === 'test') {
816
818
  /* eslint-disable-next-line no-console */
817
819
  console[method](msg);
@@ -878,6 +880,9 @@ function offsetPropertyErrorMessage(name) {
878
880
  // Global HTML Attributes & Properties
879
881
  // https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes
880
882
  // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
883
+ //
884
+ // If you update this list, check for test files that recapitulate the same list. Searching the codebase
885
+ // for e.g. "dropzone" should suffice.
881
886
  const globalHTMLProperties = assign(create(null), {
882
887
  accessKey: {
883
888
  attribute: 'accesskey',
@@ -3346,6 +3351,9 @@ function updateStylesheetToken(vm, template) {
3346
3351
  stylesheets: newStylesheets,
3347
3352
  stylesheetToken: newStylesheetToken
3348
3353
  } = template;
3354
+ const {
3355
+ stylesheets: newVmStylesheets
3356
+ } = vm;
3349
3357
  const isSyntheticShadow = renderMode === 1 /* RenderMode.Shadow */ && shadowMode === 1 /* ShadowMode.Synthetic */;
3350
3358
  const {
3351
3359
  hasScopedStyles
@@ -3369,7 +3377,9 @@ function updateStylesheetToken(vm, template) {
3369
3377
  }
3370
3378
  // Apply the new template styling token to the host element, if the new template has any
3371
3379
  // associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
3372
- if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0) {
3380
+ const hasNewStylesheets = hasStyles(newStylesheets);
3381
+ const hasNewVmStylesheets = hasStyles(newVmStylesheets);
3382
+ if (hasNewStylesheets || hasNewVmStylesheets) {
3373
3383
  newToken = newStylesheetToken;
3374
3384
  }
3375
3385
  // Set the new styling token on the host element
@@ -3441,10 +3451,17 @@ function getStylesheetsContent(vm, template) {
3441
3451
  stylesheets,
3442
3452
  stylesheetToken
3443
3453
  } = template;
3454
+ const {
3455
+ stylesheets: vmStylesheets
3456
+ } = vm;
3444
3457
  let content = [];
3445
- if (!isUndefined$1(stylesheets) && stylesheets.length !== 0) {
3458
+ if (hasStyles(stylesheets)) {
3446
3459
  content = evaluateStylesheetsContent(stylesheets, stylesheetToken, vm);
3447
3460
  }
3461
+ // VM (component) stylesheets apply after template stylesheets
3462
+ if (hasStyles(vmStylesheets)) {
3463
+ ArrayPush$1.apply(content, evaluateStylesheetsContent(vmStylesheets, stylesheetToken, vm));
3464
+ }
3448
3465
  return content;
3449
3466
  }
3450
3467
  // It might be worth caching this to avoid doing the lookup repeatedly, but
@@ -4050,6 +4067,28 @@ function patchCustomElement(n1, n2, parent, renderer) {
4050
4067
  // in fallback mode, the allocation will always set children to
4051
4068
  // empty and delegate the real allocation to the slot elements
4052
4069
  allocateChildren(n2, vm);
4070
+ // Solves an edge case with slotted VFragments in native shadow mode.
4071
+ //
4072
+ // During allocation, in native shadow, slotted VFragment nodes are flattened and their text delimiters are removed
4073
+ // to avoid interfering with native slot behavior. When this happens, if any of the fragments
4074
+ // were not stable, the children must go through the dynamic diffing algo.
4075
+ //
4076
+ // If the new children (n2.children) contain no VFragments, but the previous children (n1.children) were dynamic,
4077
+ // the new nodes must be marked dynamic so that all nodes are properly updated. The only indicator that the new
4078
+ // nodes need to be dynamic comes from the previous children, so we check that to determine whether we need to
4079
+ // mark the new children dynamic.
4080
+ //
4081
+ // Example:
4082
+ // n1.children: [div, VFragment('', div, null, ''), div] => [div, div, null, div]; // marked dynamic
4083
+ // n2.children: [div, null, div] => [div, null, div] // marked ???
4084
+ const {
4085
+ shadowMode,
4086
+ renderMode
4087
+ } = vm;
4088
+ if (shadowMode == 0 /* ShadowMode.Native */ && renderMode !== 0 /* RenderMode.Light */ && hasDynamicChildren(n1.children)) {
4089
+ // No-op if children has already been marked dynamic by 'allocateChildren()'.
4090
+ markAsDynamicChildren(n2.children);
4091
+ }
4053
4092
  }
4054
4093
  // in fallback mode, the children will be always empty, so, nothing
4055
4094
  // will happen, but in native, it does allocate the light dom
@@ -4242,7 +4281,6 @@ function allocateChildren(vnode, vm) {
4242
4281
  //
4243
4282
  // In case #2, we will always get a fresh VCustomElement.
4244
4283
  const children = vnode.aChildren || vnode.children;
4245
- vm.aChildren = children;
4246
4284
  const {
4247
4285
  renderMode,
4248
4286
  shadowMode
@@ -4255,15 +4293,61 @@ function allocateChildren(vnode, vm) {
4255
4293
  logError(`Invalid usage of 'lwc:slot-data' on ${getComponentTag(vm)} tag. Scoped slot content can only be passed to a light dom child.`);
4256
4294
  }
4257
4295
  }
4296
+ // If any of the children being allocated are VFragments, we remove the text delimiters and flatten all immediate
4297
+ // children VFragments to avoid them interfering with default slot behavior.
4298
+ const allocatedChildren = flattenFragmentsInChildren(children);
4299
+ vnode.children = allocatedChildren;
4300
+ vm.aChildren = allocatedChildren;
4258
4301
  if (shadowMode === 1 /* ShadowMode.Synthetic */ || renderMode === 0 /* RenderMode.Light */) {
4259
4302
  // slow path
4260
- allocateInSlot(vm, children, vnode.owner);
4303
+ allocateInSlot(vm, allocatedChildren, vnode.owner);
4261
4304
  // save the allocated children in case this vnode is reused.
4262
- vnode.aChildren = children;
4305
+ vnode.aChildren = allocatedChildren;
4263
4306
  // every child vnode is now allocated, and the host should receive none directly, it receives them via the shadow!
4264
4307
  vnode.children = EmptyArray;
4265
4308
  }
4266
4309
  }
4310
+ /**
4311
+ * Flattens the contents of all VFragments in an array of VNodes, removes the text delimiters on those VFragments, and
4312
+ * marks the resulting children array as dynamic. Uses a stack (array) to iteratively traverse the nested VFragments
4313
+ * and avoid the perf overhead of creating/destroying throwaway arrays/objects in a recursive approach.
4314
+ *
4315
+ * With the delimiters removed, the contents are marked dynamic so they are diffed correctly.
4316
+ *
4317
+ * This function is used for slotted VFragments to avoid the text delimiters interfering with slotting functionality.
4318
+ */
4319
+ function flattenFragmentsInChildren(children) {
4320
+ const flattenedChildren = [];
4321
+ // Initialize our stack with the direct children of the custom component and check whether we have a VFragment.
4322
+ // If no VFragment is found in children, we don't need to traverse anything or mark the children dynamic and can return early.
4323
+ const nodeStack = [];
4324
+ let fragmentFound = false;
4325
+ for (let i = children.length - 1; i > -1; i -= 1) {
4326
+ const child = children[i];
4327
+ ArrayPush$1.call(nodeStack, child);
4328
+ fragmentFound = fragmentFound || !!(child && isVFragment(child));
4329
+ }
4330
+ if (!fragmentFound) {
4331
+ return children;
4332
+ }
4333
+ let currentNode;
4334
+ while (!isUndefined$1(currentNode = ArrayPop.call(nodeStack))) {
4335
+ if (!isNull(currentNode) && isVFragment(currentNode)) {
4336
+ const fChildren = currentNode.children;
4337
+ // Ignore the start and end text node delimiters
4338
+ for (let i = fChildren.length - 2; i > 0; i -= 1) {
4339
+ ArrayPush$1.call(nodeStack, fChildren[i]);
4340
+ }
4341
+ } else {
4342
+ ArrayPush$1.call(flattenedChildren, currentNode);
4343
+ }
4344
+ }
4345
+ // We always mark the children as dynamic because nothing generates stable VFragments yet.
4346
+ // If/when stable VFragments are generated by the compiler, this code should be updated to
4347
+ // not mark dynamic if all flattened VFragments were stable.
4348
+ markAsDynamicChildren(flattenedChildren);
4349
+ return flattenedChildren;
4350
+ }
4267
4351
  function createViewModelHook(elm, vnode, renderer) {
4268
4352
  let vm = getAssociatedVMIfPresent(elm);
4269
4353
  // There is a possibility that a custom element is registered under tagName, in which case, the
@@ -4288,22 +4372,20 @@ function createViewModelHook(elm, vnode, renderer) {
4288
4372
  }
4289
4373
  return vm;
4290
4374
  }
4291
- /**
4292
- * Collects all slots into a SlotSet, traversing through VFragment Nodes
4293
- */
4294
- function collectSlots(vm, children, cmpSlotsMapping) {
4375
+ function allocateInSlot(vm, children, owner) {
4295
4376
  var _a, _b;
4377
+ const {
4378
+ cmpSlots: {
4379
+ slotAssignments: oldSlotsMapping
4380
+ }
4381
+ } = vm;
4382
+ const cmpSlotsMapping = create(null);
4383
+ // Collect all slots into cmpSlotsMapping
4296
4384
  for (let i = 0, len = children.length; i < len; i += 1) {
4297
4385
  const vnode = children[i];
4298
4386
  if (isNull(vnode)) {
4299
4387
  continue;
4300
4388
  }
4301
- // Dive further iff the content is wrapped in a VFragment
4302
- if (isVFragment(vnode)) {
4303
- // Remove the text delimiter nodes to avoid overriding default slot content
4304
- collectSlots(vm, vnode.children.slice(1, -1), cmpSlotsMapping);
4305
- continue;
4306
- }
4307
4389
  let slotName = '';
4308
4390
  if (isVBaseElement(vnode)) {
4309
4391
  slotName = (_b = (_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot) !== null && _b !== void 0 ? _b : '';
@@ -4313,15 +4395,6 @@ function collectSlots(vm, children, cmpSlotsMapping) {
4313
4395
  const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
4314
4396
  ArrayPush$1.call(vnodes, vnode);
4315
4397
  }
4316
- }
4317
- function allocateInSlot(vm, children, owner) {
4318
- const {
4319
- cmpSlots: {
4320
- slotAssignments: oldSlotsMapping
4321
- }
4322
- } = vm;
4323
- const cmpSlotsMapping = create(null);
4324
- collectSlots(vm, children, cmpSlotsMapping);
4325
4398
  vm.cmpSlots = {
4326
4399
  owner,
4327
4400
  slotAssignments: cmpSlotsMapping
@@ -4352,14 +4425,14 @@ function allocateInSlot(vm, children, owner) {
4352
4425
  }
4353
4426
  }
4354
4427
  // Using a WeakMap instead of a WeakSet because this one works in IE11 :(
4355
- const FromIteration = new WeakMap();
4356
- // dynamic children means it was generated by an iteration
4357
- // in a template, and will require a more complex diffing algo.
4428
+ const DynamicChildren = new WeakMap();
4429
+ // dynamic children means it was either generated by an iteration in a template
4430
+ // or part of an unstable fragment, and will require a more complex diffing algo.
4358
4431
  function markAsDynamicChildren(children) {
4359
- FromIteration.set(children, 1);
4432
+ DynamicChildren.set(children, 1);
4360
4433
  }
4361
4434
  function hasDynamicChildren(children) {
4362
- return FromIteration.has(children);
4435
+ return DynamicChildren.has(children);
4363
4436
  }
4364
4437
  function createKeyToOldIdx(children, beginIdx, endIdx) {
4365
4438
  const map = {};
@@ -5186,7 +5259,7 @@ function evaluateTemplate(vm, html) {
5186
5259
  // Create a brand new template cache for the swapped templated.
5187
5260
  context.tplCache = create(null);
5188
5261
  // Set the computeHasScopedStyles property in the context, to avoid recomputing it repeatedly.
5189
- context.hasScopedStyles = computeHasScopedStyles(html);
5262
+ context.hasScopedStyles = computeHasScopedStyles(html, vm);
5190
5263
  // Update the scoping token on the host element.
5191
5264
  updateStylesheetToken(vm, html);
5192
5265
  // Evaluate, create stylesheet and cache the produced VNode for future
@@ -5229,9 +5302,8 @@ function evaluateTemplate(vm, html) {
5229
5302
  }
5230
5303
  return vnodes;
5231
5304
  }
5232
- function computeHasScopedStyles(template) {
5233
- const { stylesheets } = template;
5234
- if (!isUndefined$1(stylesheets)) {
5305
+ function computeHasScopedStylesInStylesheets(stylesheets) {
5306
+ if (hasStyles(stylesheets)) {
5235
5307
  for (let i = 0; i < stylesheets.length; i++) {
5236
5308
  if (isTrue(stylesheets[i][KEY__SCOPED_CSS])) {
5237
5309
  return true;
@@ -5240,6 +5312,15 @@ function computeHasScopedStyles(template) {
5240
5312
  }
5241
5313
  return false;
5242
5314
  }
5315
+ function computeHasScopedStyles(template, vm) {
5316
+ const { stylesheets } = template;
5317
+ const vmStylesheets = !isUndefined$1(vm) ? vm.stylesheets : null;
5318
+ return (computeHasScopedStylesInStylesheets(stylesheets) ||
5319
+ computeHasScopedStylesInStylesheets(vmStylesheets));
5320
+ }
5321
+ function hasStyles(stylesheets) {
5322
+ return !isUndefined$1(stylesheets) && !isNull(stylesheets) && stylesheets.length > 0;
5323
+ }
5243
5324
 
5244
5325
  /*
5245
5326
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5549,6 +5630,7 @@ function createVM(elm, ctor, renderer, options) {
5549
5630
  // Properties set right after VM creation.
5550
5631
  tro: null,
5551
5632
  shadowMode: null,
5633
+ stylesheets: null,
5552
5634
  // Properties set by the LightningElement constructor.
5553
5635
  component: null,
5554
5636
  shadowRoot: null,
@@ -5561,6 +5643,7 @@ function createVM(elm, ctor, renderer, options) {
5561
5643
  if (process.env.NODE_ENV !== 'production') {
5562
5644
  vm.debugInfo = create(null);
5563
5645
  }
5646
+ vm.stylesheets = computeStylesheets(vm, def.ctor);
5564
5647
  vm.shadowMode = computeShadowMode(vm, renderer);
5565
5648
  vm.tro = getTemplateReactiveObserver();
5566
5649
  if (process.env.NODE_ENV !== 'production') {
@@ -5579,6 +5662,42 @@ function createVM(elm, ctor, renderer, options) {
5579
5662
  }
5580
5663
  return vm;
5581
5664
  }
5665
+ function validateComponentStylesheets(vm, stylesheets) {
5666
+ let valid = true;
5667
+ const validate = arrayOrStylesheet => {
5668
+ if (isArray$1(arrayOrStylesheet)) {
5669
+ for (let i = 0; i < arrayOrStylesheet.length; i++) {
5670
+ validate(arrayOrStylesheet[i]);
5671
+ }
5672
+ } else if (!isFunction$1(arrayOrStylesheet)) {
5673
+ // function assumed to be a stylesheet factory
5674
+ valid = false;
5675
+ }
5676
+ };
5677
+ if (!isArray$1(stylesheets)) {
5678
+ valid = false;
5679
+ } else {
5680
+ validate(stylesheets);
5681
+ }
5682
+ return valid;
5683
+ }
5684
+ // Validate and flatten any stylesheets defined as `static stylesheets`
5685
+ function computeStylesheets(vm, ctor) {
5686
+ if (lwcRuntimeFlags.ENABLE_PROGRAMMATIC_STYLESHEETS) {
5687
+ const {
5688
+ stylesheets
5689
+ } = ctor;
5690
+ if (!isUndefined$1(stylesheets)) {
5691
+ const valid = validateComponentStylesheets(vm, stylesheets);
5692
+ if (valid) {
5693
+ return flattenStylesheets(stylesheets);
5694
+ } else if (process.env.NODE_ENV !== 'production') {
5695
+ logError(`static stylesheets must be an array of CSS stylesheets. Found invalid stylesheets on <${vm.tagName}>`, vm);
5696
+ }
5697
+ }
5698
+ }
5699
+ return null;
5700
+ }
5582
5701
  function computeShadowMode(vm, renderer) {
5583
5702
  const {
5584
5703
  def
@@ -6379,7 +6498,7 @@ function freezeTemplate(tmpl) {
6379
6498
  }
6380
6499
  }
6381
6500
  }
6382
- /* version: 2.33.0 */
6501
+ /* version: 2.34.0 */
6383
6502
 
6384
6503
  /*
6385
6504
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6850,7 +6969,7 @@ function renderComponent(tagName, Ctor, props = {}) {
6850
6969
  */
6851
6970
  freeze(LightningElement);
6852
6971
  seal(LightningElement.prototype);
6853
- /* version: 2.33.0 */
6972
+ /* version: 2.34.0 */
6854
6973
 
6855
6974
  exports.LightningElement = LightningElement;
6856
6975
  exports.api = api$1;
@@ -1 +1 @@
1
- "use strict";var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:A,slice:x,some:O,sort:N,splice:_,unshift:P,forEach:L}=Array.prototype,{fromCharCode:R}=String,{charCodeAt:D,replace:$,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function Y(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const q=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:X,AriaPropNameToAttrNameMap:Z}=(()=>{const e=n(null),t=n(null);return L.call(q,(n=>{const r=F.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function J(e){return e in X}const Q=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}(),ee="$shadowResolver$",te="$shadowStaticNode$",ne="$scoped$",re="http://www.w3.org/1999/xhtml",oe="http://www.w3.org/XML/1998/namespace",ie="http://www.w3.org/2000/svg",se="http://www.w3.org/1999/xlink",le=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ae=/-([a-z])/g,ce=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function ue(e,t){const n=ce.get(e);return void 0!==n&&(0===n.size||n.has(t))}const de=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function fe(e){return de.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:pe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:he}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),me=new Map,ge=new Map;function we(e){const t=Z[e];if(!H(t))return t;const n=he.get(e);if(!H(n))return n;const r=me.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+R(n+32):R(n)}return me.set(e,o),o}function ye(e){const t=X[e];if(!H(t))return t;const n=pe.get(e);if(!H(n))return n;const r=ge.get(e);if(!H(r))return r;const o=$.call(e,ae,(e=>e[1].toUpperCase()));return ge.set(e,o),o}const be={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function ve(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>be[e]))}if("function"!=typeof Event){class e{}o(Q,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Q,"CustomEvent",{value:e,configurable:!0,writable:!0})}const Ee={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:n(null)});const Ce=Q.lwcRuntimeFlags;function Se(e,t){return H(s(t,e))}function ke(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){B(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(Z[e]);o(t,e,n)}const Te=f(n(null)),Me=f([]);function Ae(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const xe=new WeakMap;const Oe={observe(e){e()},reset(){},link(){}};function Ne(e){return Oe}function _e(e){return`<${F.call(e.tagName)}>`}function Pe(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,_e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Le(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+_e(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Re(e,t){Le("error",e,t)}function De(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function $e(e){return W(e)&&c.call(e,"__circular__")}const Ie="undefined"!=typeof HTMLElement?HTMLElement:function(){},Fe=Ie.prototype;function He(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:He("offsetHeight")},offsetLeft:{readOnly:!0,error:He("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:He("offsetTop")},offsetWidth:{readOnly:!0,error:He("offsetWidth")},role:{attribute:"role"}});let Be,Ve=null;function je(e,t){return e!==Ve||t!==Be}function We(e,t){Ve=null,Be=void 0}function Ge(e,t){Ve=e,Be=t}const Ue=n(null);function Ke(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(Z),(e=>{const t=Y(Fe,e);H(t)||(Ue[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Y(Fe,e);H(t)||(Ue[e]=t)}));const{isArray:ze}=Array,{prototype:Ye,getPrototypeOf:qe,create:Xe,defineProperty:Ze,isExtensible:Je,getOwnPropertyDescriptor:Qe,getOwnPropertyNames:et,getOwnPropertySymbols:tt,preventExtensions:nt,hasOwnProperty:rt}=Object,{push:ot,concat:it}=Array.prototype;function st(e){return void 0===e}function lt(e){return"function"==typeof e}const at=new WeakMap;function ct(e,t){at.set(e,t)}const ut=e=>at.get(e)||e;class dt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(rt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;st(n)||(e.get=this.wrapGetter(n)),st(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Qe(n,t);if(!st(r)){const n=this.wrapDescriptor(r);Ze(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;it.call(et(t),tt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;st(n)||rt.call(e,n)||Ze(e,n,Xe(null)),nt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=st(n)||rt.call(t,n)?[]:[n];return ot.apply(r,et(t)),ot.apply(r,tt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Je(e)&&(!!Je(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return qe(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Qe(n,t);if(st(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Ze(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const ft=new WeakMap,pt=new WeakMap,ht=new WeakMap,mt=new WeakMap;class gt extends dt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ft.get(e);if(!st(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ut(this)))};return ft.set(e,r),ht.set(r,e),r}wrapSetter(e){const t=pt.get(e);if(!st(t))return t;const n=function(t){e.call(ut(this),ut(t))};return pt.set(e,n),mt.set(n,e),n}unwrapDescriptor(e){if(rt.call(e,"value"))e.value=ut(e.value);else{const{set:t,get:n}=e;st(n)||(e.get=this.unwrapGetter(n)),st(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ht.get(e);if(!st(t))return t;const n=this,r=function(){return ut(e.call(n.wrapValue(this)))};return ft.set(r,e),ht.set(e,r),r}unwrapSetter(e){const t=mt.get(e);if(!st(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return pt.set(r,e),mt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&ze(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Je(e)){const{originalTarget:t}=this;if(nt(t),Je(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!rt.call(r,t)||(Ze(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const wt=new WeakMap,yt=new WeakMap;class bt extends dt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=wt.get(e);if(!st(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ut(this)))};return wt.set(e,r),r}wrapSetter(e){const t=yt.get(e);if(!st(t))return t;const n=function(e){};return yt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function vt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ze(e))return!0;const t=qe(e);return t===Ye||null===t||null===qe(t)}const Et=(e,t)=>{},Ct=(e,t)=>{};function St(e){return ze(e)?[]:{}}const kt=Symbol.for("@@lockerLiveValue"),Tt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=lt(t)?t:Ct,this.valueObserved=lt(n)?n:Et,this.valueIsObservable=lt(r)?r:vt,this.tagPropertyKey=o}getProxy(e){const t=ut(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ut(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ut(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(st(t)){const n=new gt(this,e);t=new Proxy(St(e),n),ct(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(st(t)){const n=new bt(this,e);t=new Proxy(St(e),n),ct(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=xe.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:kt});function Mt(e){return Tt.getReadOnlyProxy(e)}function At(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=yr(this);if(!Zn(e))return n.call(e.elm)},set(t){const n=yr(this);return Ke(n,e,t),r.call(n.elm,t)}}}const xt=i(n(null)),Ot=new WeakMap,Nt=function(){if(B(Xn))throw new TypeError("Illegal constructor");const e=Xn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return wr(o,e),wr(n,e),1===e.renderMode?e.renderRoot=_t(e):e.renderRoot=n,this};function _t(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,wr(s,e),s}Nt.prototype={constructor:Nt,dispatchEvent(e){const t=yr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=yr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,or(r,t),n)},removeEventListener(e,t,n){const r=yr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,or(r,t),n)},hasAttribute(e){const t=yr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=yr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=yr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ge(n,e),r(n,e),We()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=yr(this);Ge(n,t),r(n,t,e),We()},getAttribute(e){const t=yr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=yr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=yr(this),{elm:r,renderer:{setAttribute:o}}=n;Ge(r,e),o(r,e,t),We()},setAttributeNS(e,t,n){const r=yr(this),{elm:o,renderer:{setAttribute:i}}=r;Ge(o,t),i(o,t,n,e),We()},getBoundingClientRect(){const e=yr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=yr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=yr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return yr(this).shadowRoot},get refs(){const e=yr(this);if(Wn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return xt;let s=Ot.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),Ot.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=yr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=yr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=yr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=yr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=yr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=yr(this);return e.renderer.getLastElementChild(e.elm)},render(){return yr(this).def.template},toString(){return`[object ${yr(this).def.name}]`}};const Pt=n(null),Lt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Lt)Pt[e]={value(t){const n=yr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Nt.prototype,Pt);const Rt=n(null);for(const e in Ue)Rt[e]=At(e,Ue[e]);function Dt(){!function(e=Element.prototype){const t=d(Z);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Se(r,e)&&ke(r,e)}}(Nt.prototype)}function $t(e){return{get(){return yr(this).cmpFields[e]},set(t){Ke(yr(this),e,t)},enumerable:!0,configurable:!0}}function It(e){return{get(){const t=yr(this);if(!Zn(t))return t.cmpProps[e]},set(t){yr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Ft(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(e){yr(this),r&&r.call(this,e)},enumerable:o,configurable:i}}function Ht(e){return{get(){return yr(this).cmpFields[e]},set(t){Ke(yr(this),e,t)},enumerable:!0,configurable:!0}}function Bt(e){return{get(){return yr(this).cmpFields[e]},set(t){Ke(yr(this),e,t)},enumerable:!0,configurable:!0}}r(Nt.prototype,Rt),Ce.DISABLE_ARIA_REFLECTION_POLYFILL,Dt(),o(Nt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Vt=new Map;const jt={apiMethods:Te,apiFields:Te,apiFieldsConfig:Te,wiredMethods:Te,wiredFields:Te,observedFields:Te};const Wt=new Set;function Gt(){return[]}Wt.add(Gt);const Ut=n(null),Kt=n(null);function zt(e){let t=Ut[e];return H(t)&&(t=Ut[e]=function(){const t=yr(this),{getHook:n}=t;return n(t.component,e)}),t}function Yt(e){let t=Kt[e];return H(t)&&(t=Kt[e]=function(t){const n=yr(this),{setHook:r}=n;t=Mt(t),r(n.component,e,t)}),t}function qt(e){return function(){const t=yr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function Xt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):je(this,n)&&(this[i]=o)}}function Zt(e,t,i){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[we(n)]=n,u[n]={get:zt(n),set:Yt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:qt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Xt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Jt=Zt(Ie,l(Ue),[]);i(Jt),f(Jt.prototype);const Qt=new WeakMap;function en(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Vt.get(e);return H(t)?jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if($e(t)){const e=De(t);t=e===t?Nt:e}return t}(e),C=E!==Nt?nn(E):rn,S=Zt(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),A=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let x=C.shadowSupportMode;H(o)||(x=o);let O=C.renderMode;H(i)||(O="light"===i?0:1);const N=function(e){return er.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:A,props:k,propsConfig:T,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function tn(e){if(!W(e))return!1;if(e.prototype instanceof Nt)return!0;let t=e;do{if($e(t)){const e=De(t);if(e===t)return!0;t=e}if(t===Nt)return!0}while(!B(t)&&(t=a(t)));return!1}function nn(e){let t=Qt.get(e);if(H(t)){if($e(e)){return t=nn(De(e)),Qt.set(e,t),t}if(!tn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=en(e),Qt.set(e,t)}return t}const rn={ctor:Nt,name:Nt.name,props:Rt,propsConfig:Te,methods:Te,renderMode:1,shadowSupportMode:"reset",wire:Te,bridge:Jt,template:Gt,render:Nt.prototype.render};function on(e){return`${e}-host`}function sn(e){return jn.h("style",{key:"style",attrs:{type:"text/css"}},[jn.t(e)])}function ln(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,ln(s,t,n));else{const e=s[ne];if(Ce.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Re("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=cn(n)),a=B(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function an(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=ln(n,r,e)),o}function cn(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function un(e){const{type:t}=e;return 2===t||3===t}function dn(e,t){return e.key===t.key&&e.sel===t.sel}function fn(e){return 5===e.type}function pn(e){return 6===e.type}function hn(e,t){return"input"===e&&("value"===t||"checked"===t)}const mn=n(null);function gn(e){if(null==e)return Te;e=G(e)?e:e+"";let t=mn[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===D.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),mn[e]=t,t}function wn(e,t,n,r){var o;o=t,Pn.has(o)?Rn(e,t,n,r):Dn(e,t,n,r)}function yn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Mn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Dn(e.children,o,n,r):Rn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;xn(e,t,n),wn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Cn(e,n,r,!0),vn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;xn(e,t,r),H(o)||Nn(t,o),wn(e.children,t.children,n,r),H(o)||function(e){vr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function bn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Tn(s,o,r),An(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Tn(s,o,r),An(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Tn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l[te]=!0));An(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;En(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=V(s)?ie:void 0,c=e.elm=l(o,a);Tn(c,i,r),On(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),xn(null,e,r),An(c,t,n,r),En(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:vn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function vn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let a,c;Ce.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{pr(e)},c=e=>{hr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=br(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=gr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,Tn(u,i,r),On(u,i,r),l&&Nn(e,l),xn(null,e,r),An(u,t,n,r),l&&Er(l),En(e.children,u,r,null),l&&function(e){vr(e)}(l)}function En(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];kn(i)&&bn(i,t,n,r)}}function Cn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Sn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Sn(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){mr(e)}(t)}}}function Sn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];kn(i)&&Cn(i,t,n,r)}}function kn(e){return null!=e}function Tn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e[ee]=r[ee]))}function Mn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function An(e,t,n,r){r.insert(e,t,n)}function xn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=gn(o),c=gn(i);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(H(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,a=B(e)?Te:e.data.attrs;for(const e in r){const t=r[e];a[e]!==t&&(ye(e)in o?l(o,e,t):58===D.call(e,3)?s(o,e,t,oe):58===D.call(e,5)?s(o,e,t,se):B(t)||H(t)?i(o,e):s(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?Te:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ge(i,e),58===D.call(e,3)?s(i,e,t,oe):58===D.call(e,5)?s(i,e,t,se):B(t)||H(t)?l(i,e):s(i,e,t),We())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;H(s)&&(s=Te),H(n)||(s=t({},s,n))}H(i)||(o=t({},o,i));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(hn(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function On(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function Nn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){const{cmpSlots:{slotAssignments:o}}=e,i=n(null);if(_n(e,t,i),e.cmpSlots={owner:r,slotAssignments:i},j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void nr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(i[r])||o[r].length!==i[r].length)return void nr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void nr(e)}}}(t,r,e.owner),e.aChildren=r,e.children=Me)}function _n(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(B(s))continue;if(fn(s)){_n(e,s.children.slice(1,-1),n);continue}let l="";un(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":pn(s)&&(l=s.slotName);const a=n[l]=n[l]||[];k.call(a,s)}}const Pn=new WeakMap;function Ln(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(kn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Rn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)kn(l)?kn(a)?kn(m)?kn(g)?dn(l,m)?(yn(l,m,n,r),l=e[++o],m=t[++i]):dn(a,g)?(yn(a,g,n,r),a=e[--s],g=t[--h]):dn(l,g)?(yn(l,g,n,r),An(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):dn(a,m)?(yn(a,m,n,r),An(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=Ln(e,o,s)),d=u[m.key],H(d)?(bn(m,n,r,l.elm),m=t[++i]):(f=e[d],kn(f)&&(f.sel!==m.sel?bn(m,n,r,l.elm):(yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,An(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!kn(e)&&o<c);p=kn(e)?e.elm:null,En(t,n,r,p,i,h+1)}else Sn(e,n,r,!0,o,s+1)}function Dn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void En(t,n,r,null);if(0===i)return void Sn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(kn(i)?kn(l)?(yn(i,l,n,r),s=l.elm):Cn(i,n,r,!0):kn(l)&&(bn(l,n,r,s),s=l.elm))}}const $n=Symbol.iterator;function In(e,t,n=Me){const r=Un(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||Ae(r,i,s),s}function Fn(e,t,n,r=Me){const o=Un(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Un().velements,e)}(l),H(s)||Ae(o,s,l),l}function Hn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Un()}}function Bn(e){var t;return t=e,Pn.set(t,1),e}let Vn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const jn=i({s:function(e,t,n,r){if(!H(r)&&!H(r.slotAssignments)&&!H(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!B(n)){const e=pn(n);if(e!==!H(t.slotData))continue;if(e){const e=Un();Kn(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{Kn(e)}}else k.call(o,n)}}n=o}const o=Un(),{renderMode:i,shadowMode:s}=o;return 0===i?(Bn(n),n):(1===s&&Bn(n),In("slot",t,n))},h:In,c:Fn,i:function(e,t){const n=[];if(Bn(n),H(e)||null===e)return n;const r=e[$n]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Bn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:Hn,d:function(e){return null==e?"":String(e)},b:function(e){const t=Un();if(B(t))throw new Error;const n=t;return function(t){Qn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:Un()}},dc:function(e,t,n,r=Me){if(null==t)return null;if(!tn(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Fn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Hn(""),...t,Hn("")],stable:n,owner:Un()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Un()}},gid:function(e){const t=Un();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Un();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Vn(e)},ssf:function(e,t){return{type:6,factory:t,owner:Un(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Wn=!1,Gn=null;function Un(){return Gn}function Kn(e){Gn=e}const zn=(Yn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=Un(),l=!H(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Yn(p,s),r[c]}});var Yn;function qn(e,t){const r=Wn,o=Gn;let i=[];return Mr(e,e.owner,(()=>{Gn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||Tr(e),a=t,!Wt.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e][ne]))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(on(g)),y&&l(n,on(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(on(p)),h=!0),d&&(a(n,on(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=an(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,sn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],Wn=!0,i=t.call(void 0,jn,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||P.apply(i,u)}))}),(()=>{Wn=r,Gn=o})),i}let Xn=null;function Zn(e){return Xn===e}function Jn(e,t,n){const{component:r,callHook:o,owner:i}=e;Mr(e,i,U,(()=>{o(r,t,n)}),U)}function Qn(e,t,n,r){const{callHook:o,owner:i}=e;Mr(e,i,U,(()=>{o(n,t,[r])}),U)}const er=new Map;function tr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Un();let s,l=!1;return Mr(e,o,(()=>{Kn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Kn(i)})),l?qn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function nr(e){e.isDirty=!0}const rr=new WeakMap;function or(e,t){if(!W(t))throw new TypeError;let n=rr.get(t);return H(n)&&(n=function(n){Qn(e,t,void 0,n)},rr.set(t,n)),n}const ir=n(null),sr=["rendered","connected","disconnected"];function lr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let ar=0;const cr=new WeakMap;function ur(e,t,n=[]){return t.apply(e,n)}function dr(e,t,n){e[t]=n}function fr(e,t){return e[t]}function pr(e){const t=yr(e);1===t.state&&hr(e),Er(t),vr(t)}function hr(e){mr(yr(e))}function mr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=ir;t&&lr(e,t);Cr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Mr(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||Jn(e,n)}(e),Sr(e),function(e){const{aChildren:t}=e;kr(t)}(e)}}function gr(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=nn(t),u={elm:e,def:c,idx:ar++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:Me,aChildren:Me,velements:Me,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Te,wiredConnecting:Me,wiredDisconnecting:Me},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:ur,setHook:dr,getHook:fr,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(Ce.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=Ne(),function(e,t){const n=Xn;let r;Xn=e;try{const o=new t;if(Xn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Xn=n,!H(r))throw Pe(e,r),r}}(u,c.ctor),Cr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Ar.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Or(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),Ce.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function wr(e,t){cr.set(e,t)}function yr(e){return cr.get(e)}function br(e){return cr.get(e)}function vr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Mr(e,e,(()=>{}),(()=>{wn(r,t,n,o)}),(()=>{}));e.state}(e,tr(e))}}function Er(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=ir;n&&lr(e,n),Cr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||Jn(e,r)}function Cr(e){return l(e.def.wire).length>0}function Sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=br(n);H(e)||mr(e)}}}function kr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:kr(n.children);break;case 3:mr(yr(n.elm));break}}}function Tr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=Me,Sr(e),e.velements=Me}function Mr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){Pe(e,i);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;Tr(e);Jn(n,n.def.errorCallback,[i,i.wcStack])}}}const Ar=new Map;class xr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Or(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{Ke(e,t,n)}}(e,t):function(e,t){return n=>{Mr(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r),c=e=>{a(e)};let u,d;o(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Mr(e,e,U,(()=>{d=new i(c)}),U);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=Ne();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{Mr(e,e,U,(()=>{d.update(t,u)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=_r(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new xr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}const Nr=new Map;function _r(e){return Nr.get(e)}function Pr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Ar.set(e,o)}function Lr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Ar.set(e,o)}let Rr=!1;function Dr(e){$r(e,(e=>{i(e)}))}function $r(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];h(r)?$r(r,t):t(r)}}const Ir=Symbol("namespace"),Fr=Symbol("type"),Hr=Symbol("parent"),Br=Symbol("shadow-root"),Vr=Symbol("children"),jr=Symbol("attributes"),Wr=Symbol("event-listeners"),Gr=Symbol("value");var Ur;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Ur||(Ur={}));const Kr=/\s+/g;function zr(e){return new Set(e.split(Kr).filter((e=>e.length)))}function Yr(e){return Array.from(e).join(" ")}function qr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Xr(e,t){return{[Fr]:Ur.Element,tagName:e,[Ir]:null!=t?t:re,[Hr]:null,[Br]:null,[Vr]:[],[jr]:[],[Wr]:{}}}function Zr(e,t,n=null){const r=e[jr].find((e=>e.name===t&&e[Ir]===n));return r?r.value:null}function Jr(e,t,n,r=null){const o=e[jr].find((e=>e.name===t&&e[Ir]===r));H(r)&&(r=null),H(o)?e[jr].push({name:t,[Ir]:r,value:String(n)}):o.value=n}function Qr(e,t,n){e[jr]=e[jr].filter((e=>e.name!==t&&e[Ir]!==n))}const eo=U,to=U,no=U,ro=qr("dispatchEvent"),oo=qr("getBoundingClientRect"),io=qr("querySelector"),so=qr("querySelectorAll"),lo=qr("getElementsByTagName"),ao=qr("getElementsByClassName"),co=qr("getChildren"),uo=qr("getChildNodes"),fo=qr("getFirstChild"),po=qr("getFirstElementChild"),ho=qr("getLastChild"),mo=qr("getLastElementChild"),go=U,wo=new Map;function yo(e){let t=wo.get(e);return H(t)?(t=function(e){return function(t){const n=Xr(e);return W(t)&&t(n),n}}(e),wo.set(e,t),t):t}const bo={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Hr];if(null!==r&&r!==t){const t=r[Vr].indexOf(e);r[Vr].splice(t,1)}e[Hr]=t;const o=B(n)?-1:t[Vr].indexOf(n);-1===o?t[Vr].push(e):t[Vr].splice(o,0,e)},remove:function(e,t){const n=t[Vr].indexOf(e);t[Vr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[Fr]:Ur.Raw,[Hr]:null,[Gr]:e}},createElement:Xr,createText:function(e){return{[Fr]:Ur.Text,[Gr]:String(e),[Hr]:null}},createComment:function(e){return{[Fr]:Ur.Comment,[Gr]:e,[Hr]:null}},createCustomElement:function(e,t){return new(yo(e))(t)},nextSibling:function(e){const t=e[Hr];if(B(t))return null;const n=t[Vr].indexOf(e);return t[Vr][n+1]||null},attachShadow:function(e,t){return e[Br]={[Fr]:Ur.ShadowRoot,[Vr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Br]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Fr]===Ur.Element){const o=we(t);if(ue(o,e.tagName))return null!==(n=Zr(e,o))&&void 0!==n&&n;if(fe(o)||J(o))return Zr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Zr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Fr]===Ur.Element){const r=we(t);if("innerHTML"===t)return void(e[Vr]=[{[Fr]:Ur.Raw,[Hr]:e,[Gr]:n}]);if(ue(r,e.tagName))return!0===n?Jr(e,r,""):Qr(e,r);if(fe(r)||J(r))return Jr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Qr(e,"value"):Jr(e,"value",n)}},setText:function(e,t){e[Fr]===Ur.Text?e[Gr]=t:e[Fr]===Ur.Element&&(e[Vr]=[{[Fr]:Ur.Text,[Hr]:e,[Gr]:t}])},getAttribute:Zr,setAttribute:Jr,removeAttribute:Qr,addEventListener:to,removeEventListener:no,dispatchEvent:ro,getClassList:function(e){function t(){let t=e[jr].find((e=>"class"===e.name&&B(e[Ir])));return H(t)&&(t={name:"class",[Ir]:null,value:""},e[jr].push(t)),t}return{add(...e){const n=t(),r=zr(n.value);e.forEach((e=>r.add(e))),n.value=Yr(r)},remove(...e){const n=t(),r=zr(n.value);e.forEach((e=>r.delete(e))),n.value=Yr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[jr].find((e=>"style"===e.name&&B(e[Ir]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[jr].push({name:"style",[Ir]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:oo,querySelector:io,querySelectorAll:so,getElementsByTagName:lo,getElementsByClassName:ao,getChildren:co,getChildNodes:uo,getFirstChild:fo,getFirstElementChild:po,getLastChild:ho,getLastElementChild:mo,isConnected:function(e){return!B(e[Hr])},insertStylesheet:eo,assertInstanceOfHTMLElement:go};function vo(e){return e.map((e=>{switch(e[Fr]){case Ur.Text:return""===e[Gr]?"‍":ve(e[Gr]);case Ur.Comment:return`\x3c!--${ve(e[Gr])}--\x3e`;case Ur.Raw:return e[Gr];case Ur.Element:return Eo(e)}})).join("")}function Eo(e){let t="";const n=e.tagName,r=e[Ir],o=r!==re,i=e[Vr].length>0;var s;return t+=`<${n}${e[jr].length?` ${s=e[jr],s.map((e=>e.value.length?`${e.name}="${ve(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Br]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${vo(e[Vr])}</template>`}(e[Br])),t+=vo(e[Vr]),function(e,t){return t===re&&le.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const Co={[Fr]:Ur.Element,tagName:"fake-root-element",[Ir]:re,[Hr]:null,[Br]:null,[Vr]:[],[jr]:[],[Wr]:{}};i(Nt),f(Nt.prototype),exports.LightningElement=Nt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=_r(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Nr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){Ce.ENABLE_FROZEN_TEMPLATE?(i(e),H(e.stylesheets)||Dr(e.stylesheets)):o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}})},exports.getComponentDef=function(e){const t=nn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:we(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=tn,exports.parseFragment=zn,exports.parseSVGFragment=zn,exports.readonly=function(e){return Mt(e)},exports.register=function(e){for(let t=0;t<sr.length;++t){const n=sr[t];if(n in e){let t=ir[n];H(t)&&(ir[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&er.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!H(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(H(w))throw new Error;w=Ft(0,w)}else w=H(w)||H(w.get)?It(e):Ft(0,w);f[e]=w,o(r,e,w)}if(H(l)||L.call(l,(e=>{if(w=s(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(H(w))throw new Error;p[e]=w,Pr(w,t,i,l)}else w=Bt(e),h[e]=w,Lr(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=Ht(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!H(i)&&t in i,o=!H(c)&&t in c;n||o||(m[t]=$t(t))}return function(e,t){Vt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Wt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=bo.createElement(e);gr(r,t,bo,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Hr]=Co,pr(r),Eo(r)},exports.renderer=bo,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(Ee[e])){const n=d(Ee).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=Ce[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(Ce,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Rr,"Hooks are already overridden, only one definition is allowed."),Rr=!0,n=t.sanitizeHtmlContent,Vn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
1
+ "use strict";var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:s,getOwnPropertyDescriptor:i,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:A,slice:x,some:O,sort:N,splice:_,unshift:P,forEach:L}=Array.prototype,{fromCharCode:R}=String,{charCodeAt:D,replace:$,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function Y(e,t){do{const n=i(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const q=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:X,AriaPropNameToAttrNameMap:Z}=(()=>{const e=n(null),t=n(null);return L.call(q,(n=>{const r=F.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function J(e){return e in X}const Q=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}(),ee="$shadowResolver$",te="$shadowStaticNode$",ne="$scoped$",re="http://www.w3.org/1999/xhtml",oe="http://www.w3.org/XML/1998/namespace",se="http://www.w3.org/2000/svg",ie="http://www.w3.org/1999/xlink",le=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ae=/-([a-z])/g,ce=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function ue(e,t){const n=ce.get(e);return void 0!==n&&(0===n.size||n.has(t))}const de=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function fe(e){return de.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:pe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:he}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),me=new Map,ge=new Map;function we(e){const t=Z[e];if(!H(t))return t;const n=he.get(e);if(!H(n))return n;const r=me.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+R(n+32):R(n)}return me.set(e,o),o}function ye(e){const t=X[e];if(!H(t))return t;const n=pe.get(e);if(!H(n))return n;const r=ge.get(e);if(!H(r))return r;const o=$.call(e,ae,(e=>e[1].toUpperCase()));return ge.set(e,o),o}const be={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function ve(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>be[e]))}if("function"!=typeof Event){class e{}o(Q,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Q,"CustomEvent",{value:e,configurable:!0,writable:!0})}const Ee={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null,ENABLE_PROGRAMMATIC_STYLESHEETS:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:n(null)});const Ce=Q.lwcRuntimeFlags;function Se(e,t){return H(i(t,e))}function ke(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){B(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(Z[e]);o(t,e,n)}const Te=f(n(null)),Me=f([]);function Ae(e){const t=[];for(const n of e)Array.isArray(n)?t.push(...Ae(n)):t.push(n);return t}function xe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Oe=new WeakMap;const Ne={observe(e){e()},reset(){},link(){}};function _e(e){return Ne}function Pe(e){return`<${F.call(e.tagName)}>`}function Le(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,Pe(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Re(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+Pe(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function De(e,t){Re("error",e,t)}function $e(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Ie(e){return W(e)&&c.call(e,"__circular__")}const Fe="undefined"!=typeof HTMLElement?HTMLElement:function(){},He=Fe.prototype;function Be(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Be("offsetHeight")},offsetLeft:{readOnly:!0,error:Be("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Be("offsetTop")},offsetWidth:{readOnly:!0,error:Be("offsetWidth")},role:{attribute:"role"}});let Ve,je=null;function We(e,t){return e!==je||t!==Ve}function Ge(e,t){je=null,Ve=void 0}function Ue(e,t){je=e,Ve=t}const Ke=n(null);function ze(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(Z),(e=>{const t=Y(He,e);H(t)||(Ke[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Y(He,e);H(t)||(Ke[e]=t)}));const{isArray:Ye}=Array,{prototype:qe,getPrototypeOf:Xe,create:Ze,defineProperty:Je,isExtensible:Qe,getOwnPropertyDescriptor:et,getOwnPropertyNames:tt,getOwnPropertySymbols:nt,preventExtensions:rt,hasOwnProperty:ot}=Object,{push:st,concat:it}=Array.prototype;function lt(e){return void 0===e}function at(e){return"function"==typeof e}const ct=new WeakMap;function ut(e,t){ct.set(e,t)}const dt=e=>ct.get(e)||e;class ft{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ot.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;lt(n)||(e.get=this.wrapGetter(n)),lt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=et(n,t);if(!lt(r)){const n=this.wrapDescriptor(r);Je(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;it.call(tt(t),nt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;lt(n)||ot.call(e,n)||Je(e,n,Ze(null)),rt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=lt(n)||ot.call(t,n)?[]:[n];return st.apply(r,tt(t)),st.apply(r,nt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Qe(e)&&(!!Qe(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Xe(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=et(n,t);if(lt(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},Je(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const pt=new WeakMap,ht=new WeakMap,mt=new WeakMap,gt=new WeakMap;class wt extends ft{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=pt.get(e);if(!lt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(dt(this)))};return pt.set(e,r),mt.set(r,e),r}wrapSetter(e){const t=ht.get(e);if(!lt(t))return t;const n=function(t){e.call(dt(this),dt(t))};return ht.set(e,n),gt.set(n,e),n}unwrapDescriptor(e){if(ot.call(e,"value"))e.value=dt(e.value);else{const{set:t,get:n}=e;lt(n)||(e.get=this.unwrapGetter(n)),lt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=mt.get(e);if(!lt(t))return t;const n=this,r=function(){return dt(e.call(n.wrapValue(this)))};return pt.set(r,e),mt.set(e,r),r}unwrapSetter(e){const t=gt.get(e);if(!lt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ht.set(r,e),gt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Ye(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Qe(e)){const{originalTarget:t}=this;if(rt(t),Qe(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!ot.call(r,t)||(Je(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const yt=new WeakMap,bt=new WeakMap;class vt extends ft{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=yt.get(e);if(!lt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(dt(this)))};return yt.set(e,r),r}wrapSetter(e){const t=bt.get(e);if(!lt(t))return t;const n=function(e){};return bt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function Et(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ye(e))return!0;const t=Xe(e);return t===qe||null===t||null===Xe(t)}const Ct=(e,t)=>{},St=(e,t)=>{};function kt(e){return Ye(e)?[]:{}}const Tt=Symbol.for("@@lockerLiveValue"),Mt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=at(t)?t:St,this.valueObserved=at(n)?n:Ct,this.valueIsObservable=at(r)?r:Et,this.tagPropertyKey=o}getProxy(e){const t=dt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=dt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return dt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(lt(t)){const n=new wt(this,e);t=new Proxy(kt(e),n),ut(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(lt(t)){const n=new vt(this,e);t=new Proxy(kt(e),n),ut(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=Oe.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:Tt});function At(e){return Mt.getReadOnlyProxy(e)}function xt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const e=Er(this);if(!er(e))return n.call(e.elm)},set(t){const n=Er(this);return ze(n,e,t),r.call(n.elm,t)}}}const Ot=s(n(null)),Nt=new WeakMap,_t=function(){if(B(Qn))throw new TypeError("Illegal constructor");const e=Qn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return vr(o,e),vr(n,e),1===e.renderMode?e.renderRoot=Pt(e):e.renderRoot=n,this};function Pt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,vr(i,e),i}_t.prototype={constructor:_t,dispatchEvent(e){const t=Er(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Er(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,lr(r,t),n)},removeEventListener(e,t,n){const r=Er(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,lr(r,t),n)},hasAttribute(e){const t=Er(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=Er(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=Er(this),{elm:n,renderer:{removeAttribute:r}}=t;Ue(n,e),r(n,e),Ge()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Er(this);Ue(n,t),r(n,t,e),Ge()},getAttribute(e){const t=Er(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Er(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Er(this),{elm:r,renderer:{setAttribute:o}}=n;Ue(r,e),o(r,e,t),Ge()},setAttributeNS(e,t,n){const r=Er(this),{elm:o,renderer:{setAttribute:s}}=r;Ue(o,t),s(o,t,n,e),Ge()},getBoundingClientRect(){const e=Er(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Er(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Er(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Er(this).shadowRoot},get refs(){const e=Er(this);if(Gn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return Ot;let i=Nt.get(t);if(H(i)){i=n(null);for(const e of d(t))i[e]=t[e].elm;s(i),Nt.set(t,i)}return i},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Er(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Er(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Er(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Er(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Er(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Er(this);return e.renderer.getLastElementChild(e.elm)},render(){return Er(this).def.template},toString(){return`[object ${Er(this).def.name}]`}};const Lt=n(null),Rt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Rt)Lt[e]={value(t){const n=Er(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(_t.prototype,Lt);const Dt=n(null);for(const e in Ke)Dt[e]=xt(e,Ke[e]);function $t(){!function(e=Element.prototype){const t=d(Z);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Se(r,e)&&ke(r,e)}}(_t.prototype)}function It(e){return{get(){return Er(this).cmpFields[e]},set(t){ze(Er(this),e,t)},enumerable:!0,configurable:!0}}function Ft(e){return{get(){const t=Er(this);if(!er(t))return t.cmpProps[e]},set(t){Er(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(e){Er(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function Bt(e){return{get(){return Er(this).cmpFields[e]},set(t){ze(Er(this),e,t)},enumerable:!0,configurable:!0}}function Vt(e){return{get(){return Er(this).cmpFields[e]},set(t){ze(Er(this),e,t)},enumerable:!0,configurable:!0}}r(_t.prototype,Dt),Ce.DISABLE_ARIA_REFLECTION_POLYFILL,$t(),o(_t,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const jt=new Map;const Wt={apiMethods:Te,apiFields:Te,apiFieldsConfig:Te,wiredMethods:Te,wiredFields:Te,observedFields:Te};const Gt=new Set;function Ut(){return[]}Gt.add(Ut);const Kt=n(null),zt=n(null);function Yt(e){let t=Kt[e];return H(t)&&(t=Kt[e]=function(){const t=Er(this),{getHook:n}=t;return n(t.component,e)}),t}function qt(e){let t=zt[e];return H(t)&&(t=zt[e]=function(t){const n=Er(this),{setHook:r}=n;t=At(t),r(n.component,e,t)}),t}function Xt(e){return function(){const t=Er(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function Zt(e,t){return function(n,r,o){if(r===o)return;const s=e[n];H(s)?H(t)||t.apply(this,arguments):We(this,n)&&(this[s]=o)}}function Jt(e,t,s){let i;W(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),o(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[we(n)]=n,u[n]={get:Yt(n),set:qt(n),enumerable:!0,configurable:!0}}for(let e=0,t=s.length;e<t;e+=1){const t=s[e];u[t]={value:Xt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Zt(l,a)},o(i,"observedAttributes",{get:()=>[...c,...d(l)]}),r(i.prototype,u),i}const Qt=Jt(Fe,l(Ke),[]);s(Qt),f(Qt.prototype);const en=new WeakMap;function tn(e){const{shadowSupportMode:o,renderMode:s}=e,i=function(e){const t=jt.get(e);return H(t)?Wt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Ie(t)){const e=$e(t);t=e===t?_t:e}return t}(e),C=E!==_t?rn(E):on,S=Jt(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),A=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let x=C.shadowSupportMode;H(o)||(x=o);let O=C.renderMode;H(s)||(O="light"===s?0:1);const N=function(e){return rr.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:A,props:k,propsConfig:T,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function nn(e){if(!W(e))return!1;if(e.prototype instanceof _t)return!0;let t=e;do{if(Ie(t)){const e=$e(t);if(e===t)return!0;t=e}if(t===_t)return!0}while(!B(t)&&(t=a(t)));return!1}function rn(e){let t=en.get(e);if(H(t)){if(Ie(e)){return t=rn($e(e)),en.set(e,t),t}if(!nn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=tn(e),en.set(e,t)}return t}const on={ctor:_t,name:_t.name,props:Dt,propsConfig:Te,methods:Te,renderMode:1,shadowSupportMode:"reset",wire:Te,bridge:Qt,template:Ut,render:_t.prototype.render};function sn(e){return`${e}-host`}function ln(e){return Wn.h("style",{key:"style",attrs:{type:"text/css"}},[Wn.t(e)])}function an(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(h(i))k.apply(r,an(i,t,n));else{const e=i[ne];if(Ce.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){De("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=cn(n)),a=B(o)||0===o.shadowMode),k.call(r,i(s,l,a))}}return r}function cn(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function un(e){const{type:t}=e;return 2===t||3===t}function dn(e,t){return e.key===t.key&&e.sel===t.sel}function fn(e){return 5===e.type}function pn(e){return 6===e.type}function hn(e,t){return"input"===e&&("value"===t||"checked"===t)}const mn=n(null);function gn(e){if(null==e)return Te;e=G(e)?e:e+"";let t=mn[e];if(t)return t;t=n(null);let r,o=0;const s=e.length;for(r=0;r<s;r++)32===D.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),mn[e]=t,t}function wn(e,t,n,r){Ln(t)?Dn(e,t,n,r):$n(e,t,n,r)}function yn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Mn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?$n(e.children,o,n,r):Dn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;xn(e,t,n),wn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Cn(e,n,r,!0),vn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(xn(e,t,r),!H(o)){Nn(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&Ln(e.children)&&Pn(t.children)}wn(e.children,t.children,n,r),H(o)||function(e){Sr(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function bn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Tn(i,o,r),An(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Tn(i,o,r),An(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Tn(l,o,r);const{renderMode:a,shadowMode:c}=o;i&&(1!==c&&0!==a||(l[te]=!0));An(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;En(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,a=V(i)?se:void 0,c=e.elm=l(o,a);Tn(c,s,r),On(c,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),xn(null,e,r),An(c,t,n,r),En(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:vn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function vn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let a,c;Ce.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{gr(e)},c=e=>{wr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Cr(e);if(!H(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=br(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,Tn(u,s,r),On(u,s,r),l&&Nn(e,l),xn(null,e,r),An(u,t,n,r),l&&kr(l),En(e.children,u,r,null),l&&function(e){Sr(e)}(l)}function En(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];kn(s)&&bn(s,t,n,r)}}function Cn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Sn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Sn(e.children,s,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){yr(e)}(t)}}}function Sn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];kn(s)&&Cn(s,t,n,r)}}function kn(e){return null!=e}function Tn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[ee]=r[ee]))}function Mn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function An(e,t,n,r){r.insert(e,t,n)}function xn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=B(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),a=gn(o),c=gn(s);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;G(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(H(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,a=B(e)?Te:e.data.attrs;for(const e in r){const t=r[e];a[e]!==t&&(ye(e)in o?l(o,e,t):58===D.call(e,3)?i(o,e,t,oe):58===D.call(e,5)?i(o,e,t,ie):B(t)||H(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?Te:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ue(s,e),58===D.call(e,3)?i(s,e,t,oe):58===D.call(e,5)?i(s,e,t,ie):B(t)||H(t)?l(s,e):i(s,e,t),Ge())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:s}=n.data;if(H(o)&&H(s))return;let i;if(!B(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;H(i)&&(i=Te),H(n)||(i=t({},i,n))}H(s)||(o=t({},o,s));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(hn(c,e)?u(a,e):i[e])&&e in i||d(a,e,t)}}(e,n,r)}function On(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function Nn(e,t){const r=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];k.call(n,r),o=o||!(!r||!fn(r))}if(!o)return e;for(;!H(r=S.call(n));)if(!B(r)&&fn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)k.call(n,e[t])}else k.call(t,r);return Pn(t),t}(r);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,r){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(B(n))continue;let r="";un(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":pn(n)&&(r=n.slotName);const i=l[r]=l[r]||[];k.call(i,n)}if(e.cmpSlots={owner:r,slotAssignments:l},j(e.isDirty)){const t=d(i);if(t.length!==d(l).length)return void sr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(l[r])||i[r].length!==l[r].length)return void sr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void sr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Me)}const _n=new WeakMap;function Pn(e){_n.set(e,1)}function Ln(e){return _n.has(e)}function Rn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(kn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Dn(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],a=e[i];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=i&&s<=h;)kn(l)?kn(a)?kn(m)?kn(g)?dn(l,m)?(yn(l,m,n,r),l=e[++o],m=t[++s]):dn(a,g)?(yn(a,g,n,r),a=e[--i],g=t[--h]):dn(l,g)?(yn(l,g,n,r),An(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):dn(a,m)?(yn(a,m,n,r),An(m.elm,n,l.elm,r),a=e[--i],m=t[++s]):(void 0===u&&(u=Rn(e,o,i)),d=u[m.key],H(d)?(bn(m,n,r,l.elm),m=t[++s]):(f=e[d],kn(f)&&(f.sel!==m.sel?bn(m,n,r,l.elm):(yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,An(f.elm,n,l.elm,r))),m=t[++s])):g=t[--h]:m=t[++s]:a=e[--i]:l=e[++o];if(o<=i||s<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!kn(e)&&o<c);p=kn(e)?e.elm:null,En(t,n,r,p,s,h+1)}else Sn(e,n,r,!0,o,i+1)}function $n(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void En(t,n,r,null);if(0===s)return void Sn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(kn(s)?kn(l)?(yn(s,l,n,r),i=l.elm):Cn(s,n,r,!0):kn(l)&&(bn(l,n,r,i),i=l.elm))}}const In=Symbol.iterator;function Fn(e,t,n=Me){const r=Kn(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(s)||xe(r,s,i),i}function Hn(e,t,n,r=Me){const o=Kn(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Kn().velements,e)}(l),H(i)||xe(o,i,l),l}function Bn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Kn()}}function Vn(e){return Pn(e),e}let jn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Wn=s({s:function(e,t,n,r){if(!H(r)&&!H(r.slotAssignments)&&!H(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!B(n)){const e=pn(n);if(e!==!H(t.slotData))continue;if(e){const e=Kn();zn(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{zn(e)}}else k.call(o,n)}}n=o}const o=Kn(),{renderMode:s,shadowMode:i}=o;return 0===s?(Vn(n),n):(1===i&&Vn(n),Fn("slot",t,n))},h:Fn,c:Hn,i:function(e,t){const n=[];if(Vn(n),H(e)||null===e)return n;const r=e[In]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);h(e)?k.apply(n,e):k.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];Vn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:Bn,d:function(e){return null==e?"":String(e)},b:function(e){const t=Kn();if(B(t))throw new Error;const n=t;return function(t){nr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:Kn()}},dc:function(e,t,n,r=Me){if(null==t)return null;if(!nn(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Hn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Bn(""),...t,Bn("")],stable:n,owner:Kn()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Kn()}},gid:function(e){const t=Kn();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Kn();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return jn(e)},ssf:function(e,t){return{type:6,factory:t,owner:Kn(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Gn=!1,Un=null;function Kn(){return Un}function zn(e){Un=e}const Yn=(qn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:s,renderer:i}=Kn(),l=!H(o),a=1===s;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=qn(p,i),r[c]}});var qn;function Xn(e,t){const r=Gn,o=Un;let s=[];return Or(e,e.owner,(()=>{Un=e}),(()=>{const{component:r,context:o,cmpSlots:i,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||xr(e),a=t,!Gt.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=H(t)?null:t.stylesheets;return Zn(n)||Zn(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:p}=r;let h,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;H(w)||(y&&i(n).remove(sn(w)),b&&l(n,sn(w)));const v=Jn(c),E=Jn(d);(v||E)&&(h=u),H(h)||(p&&(i(n).add(sn(h)),m=!0),f&&(a(n,sn(h),""),g=!0)),r.stylesheetToken=h,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const r=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Jn(n)&&(s=an(n,r,e)),Jn(o)&&k.apply(s,an(o,r,e)),s}(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,ln);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],Gn=!0,s=t.call(void 0,Wn,r,i,o.tplCache);const{styleVNodes:u}=o;B(u)||P.apply(s,u)}))}),(()=>{Gn=r,Un=o})),s}function Zn(e){if(Jn(e))for(let t=0;t<e.length;t++)if(V(e[t][ne]))return!0;return!1}function Jn(e){return!H(e)&&!B(e)&&e.length>0}let Qn=null;function er(e){return Qn===e}function tr(e,t,n){const{component:r,callHook:o,owner:s}=e;Or(e,s,U,(()=>{o(r,t,n)}),U)}function nr(e,t,n,r){const{callHook:o,owner:s}=e;Or(e,s,U,(()=>{o(n,t,[r])}),U)}const rr=new Map;function or(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Kn();let i,l=!1;return Or(e,o,(()=>{zn(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{zn(s)})),l?Xn(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function sr(e){e.isDirty=!0}const ir=new WeakMap;function lr(e,t){if(!W(t))throw new TypeError;let n=ir.get(t);return H(n)&&(n=function(n){nr(e,t,void 0,n)},ir.set(t,n)),n}const ar=n(null),cr=["rendered","connected","disconnected"];function ur(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let dr=0;const fr=new WeakMap;function pr(e,t,n=[]){return t.apply(e,n)}function hr(e,t,n){e[t]=n}function mr(e,t){return e[t]}function gr(e){const t=Er(e);1===t.state&&wr(e),kr(t),Sr(t)}function wr(e){yr(Er(e))}function yr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=ar;t&&ur(e,t);Tr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Or(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||tr(e,n)}(e),Mr(e),function(e){const{aChildren:t}=e;Ar(t)}(e)}}function br(e,t,r,o){const{mode:s,owner:i,tagName:l,hydrated:a}=o,c=rn(t),u={elm:e,def:c,idx:dr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,hasRefVNodes:!1,children:Me,aChildren:Me,velements:Me,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Te,wiredConnecting:Me,wiredDisconnecting:Me},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:pr,setHook:hr,getHook:mr,renderer:r};return u.stylesheets=function(e,t){if(Ce.ENABLE_PROGRAMMATIC_STYLESHEETS){const{stylesheets:e}=t;if(!H(e)){const t=function(e,t){let n=!0;const r=e=>{if(h(e))for(let t=0;t<e.length;t++)r(e[t]);else W(e)||(n=!1)};h(t)?r(t):n=!1;return n}(0,e);if(t)return Ae(e)}}return null}(0,c.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(Ce.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=B(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,r),u.tro=_e(),function(e,t){const n=Qn;let r;Qn=e;try{const o=new t;if(Qn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Qn=n,!H(r))throw Le(e,r),r}}(u,c.ctor),Tr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Nr.get(s);if(!H(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Pr(e,t,i),a=i.dynamic.length>0;k.call(r,(()=>{n.connect(),Ce.ENABLE_WIRE_SYNC_EMIT||!a?s():Promise.resolve().then(s)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function vr(e,t){fr.set(e,t)}function Er(e){return fr.get(e)}function Cr(e){return fr.get(e)}function Sr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Or(e,e,(()=>{}),(()=>{wn(r,t,n,o)}),(()=>{}));e.state}(e,or(e))}}function kr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=ar;n&&ur(e,n),Tr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||tr(e,r)}function Tr(e){return l(e.def.wire).length>0}function Mr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=Cr(n);H(e)||yr(e)}}}function Ar(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:Ar(n.children);break;case 3:yr(Er(n.elm));break}}}function xr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=Me,Mr(e),e.velements=Me}function Or(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!H(s)){Le(e,s);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw s;xr(e);tr(n,n.def.errorCallback,[s,s.wcStack])}}}const Nr=new Map;class _r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Pr(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{ze(e,t,n)}}(e,t):function(e,t){return n=>{Or(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r),c=e=>{a(e)};let u,d;o(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Or(e,e,U,(()=>{d=new s(c)}),U);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=_e();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Or(e,e,U,(()=>{d.update(t,u)}),U)}));return H(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Rr(r);if(H(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(i,(()=>{const e=new _r(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}const Lr=new Map;function Rr(e){return Lr.get(e)}function Dr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Nr.set(e,o)}function $r(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Nr.set(e,o)}let Ir=!1;function Fr(e){Hr(e,(e=>{s(e)}))}function Hr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];h(r)?Hr(r,t):t(r)}}const Br=Symbol("namespace"),Vr=Symbol("type"),jr=Symbol("parent"),Wr=Symbol("shadow-root"),Gr=Symbol("children"),Ur=Symbol("attributes"),Kr=Symbol("event-listeners"),zr=Symbol("value");var Yr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Yr||(Yr={}));const qr=/\s+/g;function Xr(e){return new Set(e.split(qr).filter((e=>e.length)))}function Zr(e){return Array.from(e).join(" ")}function Jr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Qr(e,t){return{[Vr]:Yr.Element,tagName:e,[Br]:null!=t?t:re,[jr]:null,[Wr]:null,[Gr]:[],[Ur]:[],[Kr]:{}}}function eo(e,t,n=null){const r=e[Ur].find((e=>e.name===t&&e[Br]===n));return r?r.value:null}function to(e,t,n,r=null){const o=e[Ur].find((e=>e.name===t&&e[Br]===r));H(r)&&(r=null),H(o)?e[Ur].push({name:t,[Br]:r,value:String(n)}):o.value=n}function no(e,t,n){e[Ur]=e[Ur].filter((e=>e.name!==t&&e[Br]!==n))}const ro=U,oo=U,so=U,io=Jr("dispatchEvent"),lo=Jr("getBoundingClientRect"),ao=Jr("querySelector"),co=Jr("querySelectorAll"),uo=Jr("getElementsByTagName"),fo=Jr("getElementsByClassName"),po=Jr("getChildren"),ho=Jr("getChildNodes"),mo=Jr("getFirstChild"),go=Jr("getFirstElementChild"),wo=Jr("getLastChild"),yo=Jr("getLastElementChild"),bo=U,vo=new Map;function Eo(e){let t=vo.get(e);return H(t)?(t=function(e){return function(t){const n=Qr(e);return W(t)&&t(n),n}}(e),vo.set(e,t),t):t}const Co={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[jr];if(null!==r&&r!==t){const t=r[Gr].indexOf(e);r[Gr].splice(t,1)}e[jr]=t;const o=B(n)?-1:t[Gr].indexOf(n);-1===o?t[Gr].push(e):t[Gr].splice(o,0,e)},remove:function(e,t){const n=t[Gr].indexOf(e);t[Gr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[Vr]:Yr.Raw,[jr]:null,[zr]:e}},createElement:Qr,createText:function(e){return{[Vr]:Yr.Text,[zr]:String(e),[jr]:null}},createComment:function(e){return{[Vr]:Yr.Comment,[zr]:e,[jr]:null}},createCustomElement:function(e,t){return new(Eo(e))(t)},nextSibling:function(e){const t=e[jr];if(B(t))return null;const n=t[Gr].indexOf(e);return t[Gr][n+1]||null},attachShadow:function(e,t){return e[Wr]={[Vr]:Yr.ShadowRoot,[Gr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Wr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Vr]===Yr.Element){const o=we(t);if(ue(o,e.tagName))return null!==(n=eo(e,o))&&void 0!==n&&n;if(fe(o)||J(o))return eo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=eo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Vr]===Yr.Element){const r=we(t);if("innerHTML"===t)return void(e[Gr]=[{[Vr]:Yr.Raw,[jr]:e,[zr]:n}]);if(ue(r,e.tagName))return!0===n?to(e,r,""):no(e,r);if(fe(r)||J(r))return to(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?no(e,"value"):to(e,"value",n)}},setText:function(e,t){e[Vr]===Yr.Text?e[zr]=t:e[Vr]===Yr.Element&&(e[Gr]=[{[Vr]:Yr.Text,[jr]:e,[zr]:t}])},getAttribute:eo,setAttribute:to,removeAttribute:no,addEventListener:oo,removeEventListener:so,dispatchEvent:io,getClassList:function(e){function t(){let t=e[Ur].find((e=>"class"===e.name&&B(e[Br])));return H(t)&&(t={name:"class",[Br]:null,value:""},e[Ur].push(t)),t}return{add(...e){const n=t(),r=Xr(n.value);e.forEach((e=>r.add(e))),n.value=Zr(r)},remove(...e){const n=t(),r=Xr(n.value);e.forEach((e=>r.delete(e))),n.value=Zr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Ur].find((e=>"style"===e.name&&B(e[Br]))),s=`${t}: ${n}${r?" !important":""}`;H(o)?e[Ur].push({name:"style",[Br]:null,value:s}):o.value+=`; ${s}`},getBoundingClientRect:lo,querySelector:ao,querySelectorAll:co,getElementsByTagName:uo,getElementsByClassName:fo,getChildren:po,getChildNodes:ho,getFirstChild:mo,getFirstElementChild:go,getLastChild:wo,getLastElementChild:yo,isConnected:function(e){return!B(e[jr])},insertStylesheet:ro,assertInstanceOfHTMLElement:bo};function So(e){return e.map((e=>{switch(e[Vr]){case Yr.Text:return""===e[zr]?"‍":ve(e[zr]);case Yr.Comment:return`\x3c!--${ve(e[zr])}--\x3e`;case Yr.Raw:return e[zr];case Yr.Element:return ko(e)}})).join("")}function ko(e){let t="";const n=e.tagName,r=e[Br],o=r!==re,s=e[Gr].length>0;var i;return t+=`<${n}${e[Ur].length?` ${i=e[Ur],i.map((e=>e.value.length?`${e.name}="${ve(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!s?(t+="/>",t):(t+=">",e[Wr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${So(e[Gr])}</template>`}(e[Wr])),t+=So(e[Gr]),function(e,t){return t===re&&le.has(e.toLowerCase())}(n,r)&&!s||(t+=`</${n}>`),t)}const To={[Vr]:Yr.Element,tagName:"fake-root-element",[Br]:re,[jr]:null,[Wr]:null,[Gr]:[],[Ur]:[],[Kr]:{}};s(_t),f(_t.prototype),exports.LightningElement=_t,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Rr(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Lr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){Ce.ENABLE_FROZEN_TEMPLATE?(s(e),H(e.stylesheets)||Fr(e.stylesheets)):o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}})},exports.getComponentDef=function(e){const t=rn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:we(e)};const a={};for(const e in i)a[e]=i[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=nn,exports.parseFragment=Yn,exports.parseSVGFragment=Yn,exports.readonly=function(e){return At(e)},exports.register=function(e){for(let t=0;t<cr.length;++t){const n=cr[t];if(n in e){let t=ar[n];H(t)&&(ar[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&rr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:s,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!H(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(H(w))throw new Error;w=Ht(0,w)}else w=H(w)||H(w.get)?Ft(e):Ht(0,w);f[e]=w,o(r,e,w)}if(H(l)||L.call(l,(e=>{if(w=i(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:s,dynamic:l=[]}=a[e];if(w=i(r,e),1===n){if(H(w))throw new Error;p[e]=w,Dr(w,t,s,l)}else w=Vt(e),h[e]=w,$r(w,t,s,l),o(r,e,w)}if(!H(c))for(const e in c)w=i(r,e),w=Bt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!H(s)&&t in s,o=!H(c)&&t in c;n||o||(m[t]=It(t))}return function(e,t){jt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Gt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Co.createElement(e);br(r,t,Co,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[jr]=To,gr(r),ko(r)},exports.renderer=Co,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(Ee[e])){const n=d(Ee).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=Ce[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(Ce,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Ir,"Hooks are already overridden, only one definition is allowed."),Ir=!0,n=t.sanitizeHtmlContent,jn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};