@politiet/sheriff-web-components 1.0.1 → 1.0.3-alpha.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 (85) hide show
  1. package/dist/playwright-util/custom-matchers.d.ts +6 -0
  2. package/dist/playwright-util/custom-matchers.d.ts.map +1 -0
  3. package/dist/playwright-util/custom-matchers.js +12 -0
  4. package/dist/playwright-util/custom-matchers.js.map +1 -0
  5. package/dist/playwright-util/form.d.ts +3 -0
  6. package/dist/playwright-util/form.d.ts.map +1 -0
  7. package/dist/playwright-util/form.js +39 -0
  8. package/dist/playwright-util/form.js.map +1 -0
  9. package/dist/sds-button/sds-button.d.ts.map +1 -1
  10. package/dist/sds-button/sds-button.js +3 -2
  11. package/dist/sds-button/sds-button.js.map +1 -1
  12. package/dist/sds-button/sds-button.spec.d.ts +2 -0
  13. package/dist/sds-button/sds-button.spec.d.ts.map +1 -0
  14. package/dist/sds-button/sds-button.spec.js +131 -0
  15. package/dist/sds-button/sds-button.spec.js.map +1 -0
  16. package/dist/sds-checkbox/sds-checkbox.d.ts +1 -0
  17. package/dist/sds-checkbox/sds-checkbox.d.ts.map +1 -1
  18. package/dist/sds-checkbox/sds-checkbox.js +18 -3
  19. package/dist/sds-checkbox/sds-checkbox.js.map +1 -1
  20. package/dist/sds-checkbox/sds-checkbox.spec.d.ts +2 -0
  21. package/dist/sds-checkbox/sds-checkbox.spec.d.ts.map +1 -0
  22. package/dist/sds-checkbox/sds-checkbox.spec.js +68 -0
  23. package/dist/sds-checkbox/sds-checkbox.spec.js.map +1 -0
  24. package/dist/sds-checkbox-group/sds-checkbox-group.d.ts.map +1 -1
  25. package/dist/sds-checkbox-group/sds-checkbox-group.js +3 -2
  26. package/dist/sds-checkbox-group/sds-checkbox-group.js.map +1 -1
  27. package/dist/sds-chip/sds-chip.d.ts.map +1 -1
  28. package/dist/sds-chip/sds-chip.js +3 -2
  29. package/dist/sds-chip/sds-chip.js.map +1 -1
  30. package/dist/sds-detail/sds-detail.d.ts.map +1 -1
  31. package/dist/sds-detail/sds-detail.js +3 -2
  32. package/dist/sds-detail/sds-detail.js.map +1 -1
  33. package/dist/sds-heading/sds-heading.d.ts.map +1 -1
  34. package/dist/sds-heading/sds-heading.js +3 -2
  35. package/dist/sds-heading/sds-heading.js.map +1 -1
  36. package/dist/sds-icon/sds-icon.d.ts.map +1 -1
  37. package/dist/sds-icon/sds-icon.js +3 -2
  38. package/dist/sds-icon/sds-icon.js.map +1 -1
  39. package/dist/sds-label/sds-label.d.ts.map +1 -1
  40. package/dist/sds-label/sds-label.js +3 -2
  41. package/dist/sds-label/sds-label.js.map +1 -1
  42. package/dist/sds-link/sds-link.d.ts.map +1 -1
  43. package/dist/sds-link/sds-link.js +3 -2
  44. package/dist/sds-link/sds-link.js.map +1 -1
  45. package/dist/sds-loader/sds-loader.d.ts.map +1 -1
  46. package/dist/sds-loader/sds-loader.js +3 -2
  47. package/dist/sds-loader/sds-loader.js.map +1 -1
  48. package/dist/sds-nav-card/sds-nav-card.d.ts.map +1 -1
  49. package/dist/sds-nav-card/sds-nav-card.js +3 -2
  50. package/dist/sds-nav-card/sds-nav-card.js.map +1 -1
  51. package/dist/sds-notification/sds-notification.d.ts.map +1 -1
  52. package/dist/sds-notification/sds-notification.js +3 -2
  53. package/dist/sds-notification/sds-notification.js.map +1 -1
  54. package/dist/sds-paragraph/sds-paragraph.d.ts.map +1 -1
  55. package/dist/sds-paragraph/sds-paragraph.js +3 -2
  56. package/dist/sds-paragraph/sds-paragraph.js.map +1 -1
  57. package/dist/sds-radio/sds-radio.d.ts.map +1 -1
  58. package/dist/sds-radio/sds-radio.js +4 -2
  59. package/dist/sds-radio/sds-radio.js.map +1 -1
  60. package/dist/sds-radio-group/sds-radio-group.d.ts.map +1 -1
  61. package/dist/sds-radio-group/sds-radio-group.js +3 -2
  62. package/dist/sds-radio-group/sds-radio-group.js.map +1 -1
  63. package/dist/sds-switch/sds-switch.d.ts.map +1 -1
  64. package/dist/sds-switch/sds-switch.js +3 -2
  65. package/dist/sds-switch/sds-switch.js.map +1 -1
  66. package/dist/sds-text/sds-text.d.ts.map +1 -1
  67. package/dist/sds-text/sds-text.js +3 -2
  68. package/dist/sds-text/sds-text.js.map +1 -1
  69. package/dist/sds-textfield/sds-textfield.d.ts.map +1 -1
  70. package/dist/sds-textfield/sds-textfield.js +3 -2
  71. package/dist/sds-textfield/sds-textfield.js.map +1 -1
  72. package/dist/sheriff-web-components.js +289 -265
  73. package/dist/utils/guarded-custom-element.d.ts +7 -0
  74. package/dist/utils/guarded-custom-element.d.ts.map +1 -0
  75. package/dist/utils/guarded-custom-element.js +9 -0
  76. package/dist/utils/guarded-custom-element.js.map +1 -0
  77. package/dist/utils/hmr-helper.d.ts +2 -0
  78. package/dist/utils/hmr-helper.d.ts.map +1 -0
  79. package/dist/utils/hmr-helper.js +17 -0
  80. package/dist/utils/hmr-helper.js.map +1 -0
  81. package/dist/utils/safe-custom-element.d.ts +2 -0
  82. package/dist/utils/safe-custom-element.d.ts.map +1 -0
  83. package/dist/utils/safe-custom-element.js +9 -0
  84. package/dist/utils/safe-custom-element.js.map +1 -0
  85. package/package.json +2 -2
@@ -3,10 +3,10 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t$4 = globalThis, e$7 = t$4.ShadowRoot && (void 0 === t$4.ShadyCSS || t$4.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$1 = Symbol(), o$5 = /* @__PURE__ */ new WeakMap();
6
+ const t$4 = globalThis, e$7 = t$4.ShadowRoot && (void 0 === t$4.ShadyCSS || t$4.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$2 = Symbol(), o$6 = /* @__PURE__ */ new WeakMap();
7
7
  let n$3 = class n {
8
8
  constructor(t2, e2, o2) {
9
- if (this._$cssResult$ = true, o2 !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
9
+ if (this._$cssResult$ = true, o2 !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = t2, this.t = e2;
11
11
  }
12
12
  get styleSheet() {
@@ -14,7 +14,7 @@ let n$3 = class n {
14
14
  const s2 = this.t;
15
15
  if (e$7 && void 0 === t2) {
16
16
  const e2 = void 0 !== s2 && 1 === s2.length;
17
- e2 && (t2 = o$5.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && o$5.set(s2, t2));
17
+ e2 && (t2 = o$6.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && o$6.set(s2, t2));
18
18
  }
19
19
  return t2;
20
20
  }
@@ -22,13 +22,13 @@ let n$3 = class n {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const r$5 = (t2) => new n$3("string" == typeof t2 ? t2 : t2 + "", void 0, s$1), i$4 = (t2, ...e2) => {
25
+ const r$4 = (t2) => new n$3("string" == typeof t2 ? t2 : t2 + "", void 0, s$2), i$4 = (t2, ...e2) => {
26
26
  const o2 = 1 === t2.length ? t2[0] : e2.reduce((e3, s2, o3) => e3 + ((t3) => {
27
27
  if (true === t3._$cssResult$) return t3.cssText;
28
28
  if ("number" == typeof t3) return t3;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t3 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
30
  })(s2) + t2[o3 + 1], t2[0]);
31
- return new n$3(o2, t2, s$1);
31
+ return new n$3(o2, t2, s$2);
32
32
  }, S$1 = (s2, o2) => {
33
33
  if (e$7) s2.adoptedStyleSheets = o2.map((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet);
34
34
  else for (const e2 of o2) {
@@ -38,14 +38,14 @@ const r$5 = (t2) => new n$3("string" == typeof t2 ? t2 : t2 + "", void 0, s$1),
38
38
  }, c$2 = e$7 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
39
39
  let e2 = "";
40
40
  for (const s2 of t3.cssRules) e2 += s2.cssText;
41
- return r$5(e2);
41
+ return r$4(e2);
42
42
  })(t2) : t2;
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: i$3, defineProperty: e$6, getOwnPropertyDescriptor: r$4, getOwnPropertyNames: h$1, getOwnPropertySymbols: o$4, getPrototypeOf: n$2 } = Object, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = (t2, s2) => t2, u$1 = { toAttribute(t2, s2) {
48
+ const { is: i$3, defineProperty: e$6, getOwnPropertyDescriptor: h$1, getOwnPropertyNames: r$3, getOwnPropertySymbols: o$5, getPrototypeOf: n$2 } = Object, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = (t2, s2) => t2, u$1 = { toAttribute(t2, s2) {
49
49
  switch (s2) {
50
50
  case Boolean:
51
51
  t2 = t2 ? l$1 : null;
@@ -56,53 +56,51 @@ const { is: i$3, defineProperty: e$6, getOwnPropertyDescriptor: r$4, getOwnPrope
56
56
  }
57
57
  return t2;
58
58
  }, fromAttribute(t2, s2) {
59
- let i2 = t2;
59
+ let i3 = t2;
60
60
  switch (s2) {
61
61
  case Boolean:
62
- i2 = null !== t2;
62
+ i3 = null !== t2;
63
63
  break;
64
64
  case Number:
65
- i2 = null === t2 ? null : Number(t2);
65
+ i3 = null === t2 ? null : Number(t2);
66
66
  break;
67
67
  case Object:
68
68
  case Array:
69
69
  try {
70
- i2 = JSON.parse(t2);
70
+ i3 = JSON.parse(t2);
71
71
  } catch (t3) {
72
- i2 = null;
72
+ i3 = null;
73
73
  }
74
74
  }
75
- return i2;
76
- } }, f$1 = (t2, s2) => !i$3(t2, s2), y$1 = { attribute: true, type: String, converter: u$1, reflect: false, hasChanged: f$1 };
75
+ return i3;
76
+ } }, f$1 = (t2, s2) => !i$3(t2, s2), b = { attribute: true, type: String, converter: u$1, reflect: false, useDefault: false, hasChanged: f$1 };
77
77
  Symbol.metadata ??= Symbol("metadata"), a$1.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
78
- class b extends HTMLElement {
78
+ let y$1 = class y extends HTMLElement {
79
79
  static addInitializer(t2) {
80
80
  this._$Ei(), (this.l ??= []).push(t2);
81
81
  }
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(t2, s2 = y$1) {
86
- if (s2.state && (s2.attribute = false), this._$Ei(), this.elementProperties.set(t2, s2), !s2.noAccessor) {
87
- const i2 = Symbol(), r3 = this.getPropertyDescriptor(t2, i2, s2);
88
- void 0 !== r3 && e$6(this.prototype, t2, r3);
85
+ static createProperty(t2, s2 = b) {
86
+ if (s2.state && (s2.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t2) && ((s2 = Object.create(s2)).wrapped = true), this.elementProperties.set(t2, s2), !s2.noAccessor) {
87
+ const i3 = Symbol(), h2 = this.getPropertyDescriptor(t2, i3, s2);
88
+ void 0 !== h2 && e$6(this.prototype, t2, h2);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(t2, s2, i2) {
92
- const { get: e2, set: h2 } = r$4(this.prototype, t2) ?? { get() {
91
+ static getPropertyDescriptor(t2, s2, i3) {
92
+ const { get: e2, set: r2 } = h$1(this.prototype, t2) ?? { get() {
93
93
  return this[s2];
94
94
  }, set(t3) {
95
95
  this[s2] = t3;
96
96
  } };
97
- return { get() {
98
- return e2?.call(this);
99
- }, set(s3) {
100
- const r3 = e2?.call(this);
101
- h2.call(this, s3), this.requestUpdate(t2, r3, i2);
97
+ return { get: e2, set(s3) {
98
+ const h2 = e2?.call(this);
99
+ r2?.call(this, s3), this.requestUpdate(t2, h2, i3);
102
100
  }, configurable: true, enumerable: true };
103
101
  }
104
102
  static getPropertyOptions(t2) {
105
- return this.elementProperties.get(t2) ?? y$1;
103
+ return this.elementProperties.get(t2) ?? b;
106
104
  }
107
105
  static _$Ei() {
108
106
  if (this.hasOwnProperty(d$1("elementProperties"))) return;
@@ -112,32 +110,32 @@ class b extends HTMLElement {
112
110
  static finalize() {
113
111
  if (this.hasOwnProperty(d$1("finalized"))) return;
114
112
  if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
115
- const t3 = this.properties, s2 = [...h$1(t3), ...o$4(t3)];
116
- for (const i2 of s2) this.createProperty(i2, t3[i2]);
113
+ const t3 = this.properties, s2 = [...r$3(t3), ...o$5(t3)];
114
+ for (const i3 of s2) this.createProperty(i3, t3[i3]);
117
115
  }
118
116
  const t2 = this[Symbol.metadata];
119
117
  if (null !== t2) {
120
118
  const s2 = litPropertyMetadata.get(t2);
121
- if (void 0 !== s2) for (const [t3, i2] of s2) this.elementProperties.set(t3, i2);
119
+ if (void 0 !== s2) for (const [t3, i3] of s2) this.elementProperties.set(t3, i3);
122
120
  }
123
121
  this._$Eh = /* @__PURE__ */ new Map();
124
122
  for (const [t3, s2] of this.elementProperties) {
125
- const i2 = this._$Eu(t3, s2);
126
- void 0 !== i2 && this._$Eh.set(i2, t3);
123
+ const i3 = this._$Eu(t3, s2);
124
+ void 0 !== i3 && this._$Eh.set(i3, t3);
127
125
  }
128
126
  this.elementStyles = this.finalizeStyles(this.styles);
129
127
  }
130
128
  static finalizeStyles(s2) {
131
- const i2 = [];
129
+ const i3 = [];
132
130
  if (Array.isArray(s2)) {
133
131
  const e2 = new Set(s2.flat(1 / 0).reverse());
134
- for (const s3 of e2) i2.unshift(c$2(s3));
135
- } else void 0 !== s2 && i2.push(c$2(s2));
136
- return i2;
132
+ for (const s3 of e2) i3.unshift(c$2(s3));
133
+ } else void 0 !== s2 && i3.push(c$2(s2));
134
+ return i3;
137
135
  }
138
136
  static _$Eu(t2, s2) {
139
- const i2 = s2.attribute;
140
- return false === i2 ? void 0 : "string" == typeof i2 ? i2 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
137
+ const i3 = s2.attribute;
138
+ return false === i3 ? void 0 : "string" == typeof i3 ? i3 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
141
139
  }
142
140
  constructor() {
143
141
  super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
@@ -153,7 +151,7 @@ class b extends HTMLElement {
153
151
  }
154
152
  _$E_() {
155
153
  const t2 = /* @__PURE__ */ new Map(), s2 = this.constructor.elementProperties;
156
- for (const i2 of s2.keys()) this.hasOwnProperty(i2) && (t2.set(i2, this[i2]), delete this[i2]);
154
+ for (const i3 of s2.keys()) this.hasOwnProperty(i3) && (t2.set(i3, this[i3]), delete this[i3]);
157
155
  t2.size > 0 && (this._$Ep = t2);
158
156
  }
159
157
  createRenderRoot() {
@@ -168,34 +166,35 @@ class b extends HTMLElement {
168
166
  disconnectedCallback() {
169
167
  this._$EO?.forEach((t2) => t2.hostDisconnected?.());
170
168
  }
171
- attributeChangedCallback(t2, s2, i2) {
172
- this._$AK(t2, i2);
169
+ attributeChangedCallback(t2, s2, i3) {
170
+ this._$AK(t2, i3);
173
171
  }
174
- _$EC(t2, s2) {
175
- const i2 = this.constructor.elementProperties.get(t2), e2 = this.constructor._$Eu(t2, i2);
176
- if (void 0 !== e2 && true === i2.reflect) {
177
- const r3 = (void 0 !== i2.converter?.toAttribute ? i2.converter : u$1).toAttribute(s2, i2.type);
178
- this._$Em = t2, null == r3 ? this.removeAttribute(e2) : this.setAttribute(e2, r3), this._$Em = null;
172
+ _$ET(t2, s2) {
173
+ const i3 = this.constructor.elementProperties.get(t2), e2 = this.constructor._$Eu(t2, i3);
174
+ if (void 0 !== e2 && true === i3.reflect) {
175
+ const h2 = (void 0 !== i3.converter?.toAttribute ? i3.converter : u$1).toAttribute(s2, i3.type);
176
+ this._$Em = t2, null == h2 ? this.removeAttribute(e2) : this.setAttribute(e2, h2), this._$Em = null;
179
177
  }
180
178
  }
181
179
  _$AK(t2, s2) {
182
- const i2 = this.constructor, e2 = i2._$Eh.get(t2);
180
+ const i3 = this.constructor, e2 = i3._$Eh.get(t2);
183
181
  if (void 0 !== e2 && this._$Em !== e2) {
184
- const t3 = i2.getPropertyOptions(e2), r3 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== t3.converter?.fromAttribute ? t3.converter : u$1;
185
- this._$Em = e2, this[e2] = r3.fromAttribute(s2, t3.type), this._$Em = null;
182
+ const t3 = i3.getPropertyOptions(e2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== t3.converter?.fromAttribute ? t3.converter : u$1;
183
+ this._$Em = e2, this[e2] = h2.fromAttribute(s2, t3.type) ?? this._$Ej?.get(e2) ?? null, this._$Em = null;
186
184
  }
187
185
  }
188
- requestUpdate(t2, s2, i2) {
186
+ requestUpdate(t2, s2, i3) {
189
187
  if (void 0 !== t2) {
190
- if (i2 ??= this.constructor.getPropertyOptions(t2), !(i2.hasChanged ?? f$1)(this[t2], s2)) return;
191
- this.P(t2, s2, i2);
188
+ const e2 = this.constructor, h2 = this[t2];
189
+ if (i3 ??= e2.getPropertyOptions(t2), !((i3.hasChanged ?? f$1)(h2, s2) || i3.useDefault && i3.reflect && h2 === this._$Ej?.get(t2) && !this.hasAttribute(e2._$Eu(t2, i3)))) return;
190
+ this.C(t2, s2, i3);
192
191
  }
193
- false === this.isUpdatePending && (this._$ES = this._$ET());
192
+ false === this.isUpdatePending && (this._$ES = this._$EP());
194
193
  }
195
- P(t2, s2, i2) {
196
- this._$AL.has(t2) || this._$AL.set(t2, s2), true === i2.reflect && this._$Em !== t2 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t2);
194
+ C(t2, s2, { useDefault: i3, reflect: e2, wrapped: h2 }, r2) {
195
+ i3 && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t2) && (this._$Ej.set(t2, r2 ?? s2 ?? this[t2]), true !== h2 || void 0 !== r2) || (this._$AL.has(t2) || (this.hasUpdated || i3 || (s2 = void 0), this._$AL.set(t2, s2)), true === e2 && this._$Em !== t2 && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t2));
197
196
  }
198
- async _$ET() {
197
+ async _$EP() {
199
198
  this.isUpdatePending = true;
200
199
  try {
201
200
  await this._$ES;
@@ -216,14 +215,17 @@ class b extends HTMLElement {
216
215
  this._$Ep = void 0;
217
216
  }
218
217
  const t3 = this.constructor.elementProperties;
219
- if (t3.size > 0) for (const [s3, i2] of t3) true !== i2.wrapped || this._$AL.has(s3) || void 0 === this[s3] || this.P(s3, this[s3], i2);
218
+ if (t3.size > 0) for (const [s3, i3] of t3) {
219
+ const { wrapped: t4 } = i3, e2 = this[s3];
220
+ true !== t4 || this._$AL.has(s3) || void 0 === e2 || this.C(s3, void 0, i3, e2);
221
+ }
220
222
  }
221
223
  let t2 = false;
222
224
  const s2 = this._$AL;
223
225
  try {
224
- t2 = this.shouldUpdate(s2), t2 ? (this.willUpdate(s2), this._$EO?.forEach((t3) => t3.hostUpdate?.()), this.update(s2)) : this._$EU();
226
+ t2 = this.shouldUpdate(s2), t2 ? (this.willUpdate(s2), this._$EO?.forEach((t3) => t3.hostUpdate?.()), this.update(s2)) : this._$EM();
225
227
  } catch (s3) {
226
- throw t2 = false, this._$EU(), s3;
228
+ throw t2 = false, this._$EM(), s3;
227
229
  }
228
230
  t2 && this._$AE(s2);
229
231
  }
@@ -232,7 +234,7 @@ class b extends HTMLElement {
232
234
  _$AE(t2) {
233
235
  this._$EO?.forEach((t3) => t3.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t2)), this.updated(t2);
234
236
  }
235
- _$EU() {
237
+ _$EM() {
236
238
  this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
237
239
  }
238
240
  get updateComplete() {
@@ -245,40 +247,40 @@ class b extends HTMLElement {
245
247
  return true;
246
248
  }
247
249
  update(t2) {
248
- this._$Ej &&= this._$Ej.forEach((t3) => this._$EC(t3, this[t3])), this._$EU();
250
+ this._$Eq &&= this._$Eq.forEach((t3) => this._$ET(t3, this[t3])), this._$EM();
249
251
  }
250
252
  updated(t2) {
251
253
  }
252
254
  firstUpdated(t2) {
253
255
  }
254
- }
255
- b.elementStyles = [], b.shadowRootOptions = { mode: "open" }, b[d$1("elementProperties")] = /* @__PURE__ */ new Map(), b[d$1("finalized")] = /* @__PURE__ */ new Map(), p$1?.({ ReactiveElement: b }), (a$1.reactiveElementVersions ??= []).push("2.0.4");
256
+ };
257
+ y$1.elementStyles = [], y$1.shadowRootOptions = { mode: "open" }, y$1[d$1("elementProperties")] = /* @__PURE__ */ new Map(), y$1[d$1("finalized")] = /* @__PURE__ */ new Map(), p$1?.({ ReactiveElement: y$1 }), (a$1.reactiveElementVersions ??= []).push("2.1.0");
256
258
  /**
257
259
  * @license
258
260
  * Copyright 2017 Google LLC
259
261
  * SPDX-License-Identifier: BSD-3-Clause
260
262
  */
261
- const t$3 = globalThis, i$2 = t$3.trustedTypes, s = i$2 ? i$2.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, e$5 = "$lit$", h = `lit$${Math.random().toFixed(9).slice(2)}$`, o$3 = "?" + h, n$1 = `<${o$3}>`, r$3 = document, l = () => r$3.createComment(""), c = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, a = Array.isArray, u = (t2) => a(t2) || "function" == typeof t2?.[Symbol.iterator], d = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^
262
- \f\r"'\`<>=]|("|')|))|$)`, "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y = (t2) => (i2, ...s2) => ({ _$litType$: t2, strings: i2, values: s2 }), x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = /* @__PURE__ */ new WeakMap(), C = r$3.createTreeWalker(r$3, 129);
263
- function P(t2, i2) {
263
+ const t$3 = globalThis, i$2 = t$3.trustedTypes, s$1 = i$2 ? i$2.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, e$5 = "$lit$", h = `lit$${Math.random().toFixed(9).slice(2)}$`, o$4 = "?" + h, n$1 = `<${o$4}>`, r$2 = document, l = () => r$2.createComment(""), c = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, a = Array.isArray, u = (t2) => a(t2) || "function" == typeof t2?.[Symbol.iterator], d = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^
264
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y2 = (t2) => (i3, ...s2) => ({ _$litType$: t2, strings: i3, values: s2 }), x = y2(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = /* @__PURE__ */ new WeakMap(), C = r$2.createTreeWalker(r$2, 129);
265
+ function P(t2, i3) {
264
266
  if (!a(t2) || !t2.hasOwnProperty("raw")) throw Error("invalid template strings array");
265
- return void 0 !== s ? s.createHTML(i2) : i2;
267
+ return void 0 !== s$1 ? s$1.createHTML(i3) : i3;
266
268
  }
267
- const V = (t2, i2) => {
269
+ const V = (t2, i3) => {
268
270
  const s2 = t2.length - 1, o2 = [];
269
- let r3, l2 = 2 === i2 ? "<svg>" : 3 === i2 ? "<math>" : "", c2 = f;
270
- for (let i3 = 0; i3 < s2; i3++) {
271
- const s3 = t2[i3];
272
- let a2, u2, d2 = -1, y2 = 0;
273
- for (; y2 < s3.length && (c2.lastIndex = y2, u2 = c2.exec(s3), null !== u2); ) y2 = c2.lastIndex, c2 === f ? "!--" === u2[1] ? c2 = v : void 0 !== u2[1] ? c2 = _ : void 0 !== u2[2] ? ($.test(u2[2]) && (r3 = RegExp("</" + u2[2], "g")), c2 = m) : void 0 !== u2[3] && (c2 = m) : c2 === m ? ">" === u2[0] ? (c2 = r3 ?? f, d2 = -1) : void 0 === u2[1] ? d2 = -2 : (d2 = c2.lastIndex - u2[2].length, a2 = u2[1], c2 = void 0 === u2[3] ? m : '"' === u2[3] ? g : p) : c2 === g || c2 === p ? c2 = m : c2 === v || c2 === _ ? c2 = f : (c2 = m, r3 = void 0);
274
- const x2 = c2 === m && t2[i3 + 1].startsWith("/>") ? " " : "";
275
- l2 += c2 === f ? s3 + n$1 : d2 >= 0 ? (o2.push(a2), s3.slice(0, d2) + e$5 + s3.slice(d2) + h + x2) : s3 + h + (-2 === d2 ? i3 : x2);
276
- }
277
- return [P(t2, l2 + (t2[s2] || "<?>") + (2 === i2 ? "</svg>" : 3 === i2 ? "</math>" : "")), o2];
271
+ let r2, l2 = 2 === i3 ? "<svg>" : 3 === i3 ? "<math>" : "", c2 = f;
272
+ for (let i4 = 0; i4 < s2; i4++) {
273
+ const s3 = t2[i4];
274
+ let a2, u2, d2 = -1, y3 = 0;
275
+ for (; y3 < s3.length && (c2.lastIndex = y3, u2 = c2.exec(s3), null !== u2); ) y3 = c2.lastIndex, c2 === f ? "!--" === u2[1] ? c2 = v : void 0 !== u2[1] ? c2 = _ : void 0 !== u2[2] ? ($.test(u2[2]) && (r2 = RegExp("</" + u2[2], "g")), c2 = m) : void 0 !== u2[3] && (c2 = m) : c2 === m ? ">" === u2[0] ? (c2 = r2 ?? f, d2 = -1) : void 0 === u2[1] ? d2 = -2 : (d2 = c2.lastIndex - u2[2].length, a2 = u2[1], c2 = void 0 === u2[3] ? m : '"' === u2[3] ? g : p) : c2 === g || c2 === p ? c2 = m : c2 === v || c2 === _ ? c2 = f : (c2 = m, r2 = void 0);
276
+ const x2 = c2 === m && t2[i4 + 1].startsWith("/>") ? " " : "";
277
+ l2 += c2 === f ? s3 + n$1 : d2 >= 0 ? (o2.push(a2), s3.slice(0, d2) + e$5 + s3.slice(d2) + h + x2) : s3 + h + (-2 === d2 ? i4 : x2);
278
+ }
279
+ return [P(t2, l2 + (t2[s2] || "<?>") + (2 === i3 ? "</svg>" : 3 === i3 ? "</math>" : "")), o2];
278
280
  };
279
281
  class N {
280
282
  constructor({ strings: t2, _$litType$: s2 }, n3) {
281
- let r3;
283
+ let r2;
282
284
  this.parts = [];
283
285
  let c2 = 0, a2 = 0;
284
286
  const u2 = t2.length - 1, d2 = this.parts, [f2, v2] = V(t2, s2);
@@ -286,42 +288,42 @@ class N {
286
288
  const t3 = this.el.content.firstChild;
287
289
  t3.replaceWith(...t3.childNodes);
288
290
  }
289
- for (; null !== (r3 = C.nextNode()) && d2.length < u2; ) {
290
- if (1 === r3.nodeType) {
291
- if (r3.hasAttributes()) for (const t3 of r3.getAttributeNames()) if (t3.endsWith(e$5)) {
292
- const i2 = v2[a2++], s3 = r3.getAttribute(t3).split(h), e2 = /([.?@])?(.*)/.exec(i2);
293
- d2.push({ type: 1, index: c2, name: e2[2], strings: s3, ctor: "." === e2[1] ? H : "?" === e2[1] ? I : "@" === e2[1] ? L : k }), r3.removeAttribute(t3);
294
- } else t3.startsWith(h) && (d2.push({ type: 6, index: c2 }), r3.removeAttribute(t3));
295
- if ($.test(r3.tagName)) {
296
- const t3 = r3.textContent.split(h), s3 = t3.length - 1;
291
+ for (; null !== (r2 = C.nextNode()) && d2.length < u2; ) {
292
+ if (1 === r2.nodeType) {
293
+ if (r2.hasAttributes()) for (const t3 of r2.getAttributeNames()) if (t3.endsWith(e$5)) {
294
+ const i3 = v2[a2++], s3 = r2.getAttribute(t3).split(h), e2 = /([.?@])?(.*)/.exec(i3);
295
+ d2.push({ type: 1, index: c2, name: e2[2], strings: s3, ctor: "." === e2[1] ? H : "?" === e2[1] ? I : "@" === e2[1] ? L : k }), r2.removeAttribute(t3);
296
+ } else t3.startsWith(h) && (d2.push({ type: 6, index: c2 }), r2.removeAttribute(t3));
297
+ if ($.test(r2.tagName)) {
298
+ const t3 = r2.textContent.split(h), s3 = t3.length - 1;
297
299
  if (s3 > 0) {
298
- r3.textContent = i$2 ? i$2.emptyScript : "";
299
- for (let i2 = 0; i2 < s3; i2++) r3.append(t3[i2], l()), C.nextNode(), d2.push({ type: 2, index: ++c2 });
300
- r3.append(t3[s3], l());
300
+ r2.textContent = i$2 ? i$2.emptyScript : "";
301
+ for (let i3 = 0; i3 < s3; i3++) r2.append(t3[i3], l()), C.nextNode(), d2.push({ type: 2, index: ++c2 });
302
+ r2.append(t3[s3], l());
301
303
  }
302
304
  }
303
- } else if (8 === r3.nodeType) if (r3.data === o$3) d2.push({ type: 2, index: c2 });
305
+ } else if (8 === r2.nodeType) if (r2.data === o$4) d2.push({ type: 2, index: c2 });
304
306
  else {
305
307
  let t3 = -1;
306
- for (; -1 !== (t3 = r3.data.indexOf(h, t3 + 1)); ) d2.push({ type: 7, index: c2 }), t3 += h.length - 1;
308
+ for (; -1 !== (t3 = r2.data.indexOf(h, t3 + 1)); ) d2.push({ type: 7, index: c2 }), t3 += h.length - 1;
307
309
  }
308
310
  c2++;
309
311
  }
310
312
  }
311
- static createElement(t2, i2) {
312
- const s2 = r$3.createElement("template");
313
+ static createElement(t2, i3) {
314
+ const s2 = r$2.createElement("template");
313
315
  return s2.innerHTML = t2, s2;
314
316
  }
315
317
  }
316
- function S(t2, i2, s2 = t2, e2) {
317
- if (i2 === T) return i2;
318
+ function S(t2, i3, s2 = t2, e2) {
319
+ if (i3 === T) return i3;
318
320
  let h2 = void 0 !== e2 ? s2._$Co?.[e2] : s2._$Cl;
319
- const o2 = c(i2) ? void 0 : i2._$litDirective$;
320
- return h2?.constructor !== o2 && (h2?._$AO?.(false), void 0 === o2 ? h2 = void 0 : (h2 = new o2(t2), h2._$AT(t2, s2, e2)), void 0 !== e2 ? (s2._$Co ??= [])[e2] = h2 : s2._$Cl = h2), void 0 !== h2 && (i2 = S(t2, h2._$AS(t2, i2.values), h2, e2)), i2;
321
+ const o2 = c(i3) ? void 0 : i3._$litDirective$;
322
+ return h2?.constructor !== o2 && (h2?._$AO?.(false), void 0 === o2 ? h2 = void 0 : (h2 = new o2(t2), h2._$AT(t2, s2, e2)), void 0 !== e2 ? (s2._$Co ??= [])[e2] = h2 : s2._$Cl = h2), void 0 !== h2 && (i3 = S(t2, h2._$AS(t2, i3.values), h2, e2)), i3;
321
323
  }
322
324
  class M {
323
- constructor(t2, i2) {
324
- this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
325
+ constructor(t2, i3) {
326
+ this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i3;
325
327
  }
326
328
  get parentNode() {
327
329
  return this._$AM.parentNode;
@@ -330,34 +332,34 @@ class M {
330
332
  return this._$AM._$AU;
331
333
  }
332
334
  u(t2) {
333
- const { el: { content: i2 }, parts: s2 } = this._$AD, e2 = (t2?.creationScope ?? r$3).importNode(i2, true);
335
+ const { el: { content: i3 }, parts: s2 } = this._$AD, e2 = (t2?.creationScope ?? r$2).importNode(i3, true);
334
336
  C.currentNode = e2;
335
337
  let h2 = C.nextNode(), o2 = 0, n3 = 0, l2 = s2[0];
336
338
  for (; void 0 !== l2; ) {
337
339
  if (o2 === l2.index) {
338
- let i3;
339
- 2 === l2.type ? i3 = new R(h2, h2.nextSibling, this, t2) : 1 === l2.type ? i3 = new l2.ctor(h2, l2.name, l2.strings, this, t2) : 6 === l2.type && (i3 = new z(h2, this, t2)), this._$AV.push(i3), l2 = s2[++n3];
340
+ let i4;
341
+ 2 === l2.type ? i4 = new R(h2, h2.nextSibling, this, t2) : 1 === l2.type ? i4 = new l2.ctor(h2, l2.name, l2.strings, this, t2) : 6 === l2.type && (i4 = new z(h2, this, t2)), this._$AV.push(i4), l2 = s2[++n3];
340
342
  }
341
343
  o2 !== l2?.index && (h2 = C.nextNode(), o2++);
342
344
  }
343
- return C.currentNode = r$3, e2;
345
+ return C.currentNode = r$2, e2;
344
346
  }
345
347
  p(t2) {
346
- let i2 = 0;
347
- for (const s2 of this._$AV) void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i2), i2 += s2.strings.length - 2) : s2._$AI(t2[i2])), i2++;
348
+ let i3 = 0;
349
+ for (const s2 of this._$AV) void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i3), i3 += s2.strings.length - 2) : s2._$AI(t2[i3])), i3++;
348
350
  }
349
351
  }
350
352
  class R {
351
353
  get _$AU() {
352
354
  return this._$AM?._$AU ?? this._$Cv;
353
355
  }
354
- constructor(t2, i2, s2, e2) {
355
- this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s2, this.options = e2, this._$Cv = e2?.isConnected ?? true;
356
+ constructor(t2, i3, s2, e2) {
357
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t2, this._$AB = i3, this._$AM = s2, this.options = e2, this._$Cv = e2?.isConnected ?? true;
356
358
  }
357
359
  get parentNode() {
358
360
  let t2 = this._$AA.parentNode;
359
- const i2 = this._$AM;
360
- return void 0 !== i2 && 11 === t2?.nodeType && (t2 = i2.parentNode), t2;
361
+ const i3 = this._$AM;
362
+ return void 0 !== i3 && 11 === t2?.nodeType && (t2 = i3.parentNode), t2;
361
363
  }
362
364
  get startNode() {
363
365
  return this._$AA;
@@ -365,8 +367,8 @@ class R {
365
367
  get endNode() {
366
368
  return this._$AB;
367
369
  }
368
- _$AI(t2, i2 = this) {
369
- t2 = S(this, t2, i2), c(t2) ? t2 === E || null == t2 || "" === t2 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : u(t2) ? this.k(t2) : this._(t2);
370
+ _$AI(t2, i3 = this) {
371
+ t2 = S(this, t2, i3), c(t2) ? t2 === E || null == t2 || "" === t2 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : u(t2) ? this.k(t2) : this._(t2);
370
372
  }
371
373
  O(t2) {
372
374
  return this._$AA.parentNode.insertBefore(t2, this._$AB);
@@ -375,31 +377,31 @@ class R {
375
377
  this._$AH !== t2 && (this._$AR(), this._$AH = this.O(t2));
376
378
  }
377
379
  _(t2) {
378
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r$3.createTextNode(t2)), this._$AH = t2;
380
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r$2.createTextNode(t2)), this._$AH = t2;
379
381
  }
380
382
  $(t2) {
381
- const { values: i2, _$litType$: s2 } = t2, e2 = "number" == typeof s2 ? this._$AC(t2) : (void 0 === s2.el && (s2.el = N.createElement(P(s2.h, s2.h[0]), this.options)), s2);
382
- if (this._$AH?._$AD === e2) this._$AH.p(i2);
383
+ const { values: i3, _$litType$: s2 } = t2, e2 = "number" == typeof s2 ? this._$AC(t2) : (void 0 === s2.el && (s2.el = N.createElement(P(s2.h, s2.h[0]), this.options)), s2);
384
+ if (this._$AH?._$AD === e2) this._$AH.p(i3);
383
385
  else {
384
386
  const t3 = new M(e2, this), s3 = t3.u(this.options);
385
- t3.p(i2), this.T(s3), this._$AH = t3;
387
+ t3.p(i3), this.T(s3), this._$AH = t3;
386
388
  }
387
389
  }
388
390
  _$AC(t2) {
389
- let i2 = A.get(t2.strings);
390
- return void 0 === i2 && A.set(t2.strings, i2 = new N(t2)), i2;
391
+ let i3 = A.get(t2.strings);
392
+ return void 0 === i3 && A.set(t2.strings, i3 = new N(t2)), i3;
391
393
  }
392
394
  k(t2) {
393
395
  a(this._$AH) || (this._$AH = [], this._$AR());
394
- const i2 = this._$AH;
396
+ const i3 = this._$AH;
395
397
  let s2, e2 = 0;
396
- for (const h2 of t2) e2 === i2.length ? i2.push(s2 = new R(this.O(l()), this.O(l()), this, this.options)) : s2 = i2[e2], s2._$AI(h2), e2++;
397
- e2 < i2.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i2.length = e2);
398
+ for (const h2 of t2) e2 === i3.length ? i3.push(s2 = new R(this.O(l()), this.O(l()), this, this.options)) : s2 = i3[e2], s2._$AI(h2), e2++;
399
+ e2 < i3.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i3.length = e2);
398
400
  }
399
- _$AR(t2 = this._$AA.nextSibling, i2) {
400
- for (this._$AP?.(false, true, i2); t2 && t2 !== this._$AB; ) {
401
- const i3 = t2.nextSibling;
402
- t2.remove(), t2 = i3;
401
+ _$AR(t2 = this._$AA.nextSibling, i3) {
402
+ for (this._$AP?.(false, true, i3); t2 && t2 !== this._$AB; ) {
403
+ const i4 = t2.nextSibling;
404
+ t2.remove(), t2 = i4;
403
405
  }
404
406
  }
405
407
  setConnected(t2) {
@@ -413,17 +415,17 @@ class k {
413
415
  get _$AU() {
414
416
  return this._$AM._$AU;
415
417
  }
416
- constructor(t2, i2, s2, e2, h2) {
417
- this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = h2, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = E;
418
+ constructor(t2, i3, s2, e2, h2) {
419
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t2, this.name = i3, this._$AM = e2, this.options = h2, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = E;
418
420
  }
419
- _$AI(t2, i2 = this, s2, e2) {
421
+ _$AI(t2, i3 = this, s2, e2) {
420
422
  const h2 = this.strings;
421
423
  let o2 = false;
422
- if (void 0 === h2) t2 = S(this, t2, i2, 0), o2 = !c(t2) || t2 !== this._$AH && t2 !== T, o2 && (this._$AH = t2);
424
+ if (void 0 === h2) t2 = S(this, t2, i3, 0), o2 = !c(t2) || t2 !== this._$AH && t2 !== T, o2 && (this._$AH = t2);
423
425
  else {
424
426
  const e3 = t2;
425
- let n3, r3;
426
- for (t2 = h2[0], n3 = 0; n3 < h2.length - 1; n3++) r3 = S(this, e3[s2 + n3], i2, n3), r3 === T && (r3 = this._$AH[n3]), o2 ||= !c(r3) || r3 !== this._$AH[n3], r3 === E ? t2 = E : t2 !== E && (t2 += (r3 ?? "") + h2[n3 + 1]), this._$AH[n3] = r3;
427
+ let n3, r2;
428
+ for (t2 = h2[0], n3 = 0; n3 < h2.length - 1; n3++) r2 = S(this, e3[s2 + n3], i3, n3), r2 === T && (r2 = this._$AH[n3]), o2 ||= !c(r2) || r2 !== this._$AH[n3], r2 === E ? t2 = E : t2 !== E && (t2 += (r2 ?? "") + h2[n3 + 1]), this._$AH[n3] = r2;
427
429
  }
428
430
  o2 && !e2 && this.j(t2);
429
431
  }
@@ -448,11 +450,11 @@ class I extends k {
448
450
  }
449
451
  }
450
452
  class L extends k {
451
- constructor(t2, i2, s2, e2, h2) {
452
- super(t2, i2, s2, e2, h2), this.type = 5;
453
+ constructor(t2, i3, s2, e2, h2) {
454
+ super(t2, i3, s2, e2, h2), this.type = 5;
453
455
  }
454
- _$AI(t2, i2 = this) {
455
- if ((t2 = S(this, t2, i2, 0) ?? E) === T) return;
456
+ _$AI(t2, i3 = this) {
457
+ if ((t2 = S(this, t2, i3, 0) ?? E) === T) return;
456
458
  const s2 = this._$AH, e2 = t2 === E && s2 !== E || t2.capture !== s2.capture || t2.once !== s2.once || t2.passive !== s2.passive, h2 = t2 !== E && (s2 === E || e2);
457
459
  e2 && this.element.removeEventListener(this.name, this, s2), h2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
458
460
  }
@@ -461,8 +463,8 @@ class L extends k {
461
463
  }
462
464
  }
463
465
  class z {
464
- constructor(t2, i2, s2) {
465
- this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s2;
466
+ constructor(t2, i3, s2) {
467
+ this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i3, this.options = s2;
466
468
  }
467
469
  get _$AU() {
468
470
  return this._$AM._$AU;
@@ -472,13 +474,13 @@ class z {
472
474
  }
473
475
  }
474
476
  const j = t$3.litHtmlPolyfillSupport;
475
- j?.(N, R), (t$3.litHtmlVersions ??= []).push("3.2.1");
476
- const B = (t2, i2, s2) => {
477
- const e2 = s2?.renderBefore ?? i2;
477
+ j?.(N, R), (t$3.litHtmlVersions ??= []).push("3.3.0");
478
+ const B = (t2, i3, s2) => {
479
+ const e2 = s2?.renderBefore ?? i3;
478
480
  let h2 = e2._$litPart$;
479
481
  if (void 0 === h2) {
480
482
  const t3 = s2?.renderBefore ?? null;
481
- e2._$litPart$ = h2 = new R(i2.insertBefore(l(), t3), t3, void 0, s2 ?? {});
483
+ e2._$litPart$ = h2 = new R(i3.insertBefore(l(), t3), t3, void 0, s2 ?? {});
482
484
  }
483
485
  return h2._$AI(t2), h2;
484
486
  };
@@ -487,7 +489,8 @@ const B = (t2, i2, s2) => {
487
489
  * Copyright 2017 Google LLC
488
490
  * SPDX-License-Identifier: BSD-3-Clause
489
491
  */
490
- let r$2 = class r extends b {
492
+ const s = globalThis;
493
+ let i$1 = class i extends y$1 {
491
494
  constructor() {
492
495
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
493
496
  }
@@ -496,8 +499,8 @@ let r$2 = class r extends b {
496
499
  return this.renderOptions.renderBefore ??= t2.firstChild, t2;
497
500
  }
498
501
  update(t2) {
499
- const s2 = this.render();
500
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = B(s2, this.renderRoot, this.renderOptions);
502
+ const r2 = this.render();
503
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = B(r2, this.renderRoot, this.renderOptions);
501
504
  }
502
505
  connectedCallback() {
503
506
  super.connectedCallback(), this._$Do?.setConnected(true);
@@ -509,10 +512,10 @@ let r$2 = class r extends b {
509
512
  return T;
510
513
  }
511
514
  };
512
- r$2._$litElement$ = true, r$2["finalized"] = true, globalThis.litElementHydrateSupport?.({ LitElement: r$2 });
513
- const i$1 = globalThis.litElementPolyfillSupport;
514
- i$1?.({ LitElement: r$2 });
515
- (globalThis.litElementVersions ??= []).push("4.1.1");
515
+ i$1._$litElement$ = true, i$1["finalized"] = true, s.litElementHydrateSupport?.({ LitElement: i$1 });
516
+ const o$3 = s.litElementPolyfillSupport;
517
+ o$3?.({ LitElement: i$1 });
518
+ (s.litElementVersions ??= []).push("4.2.0");
516
519
  /**
517
520
  * @license
518
521
  * Copyright 2017 Google LLC
@@ -528,31 +531,31 @@ const t$2 = (t2) => (e2, o2) => {
528
531
  * Copyright 2017 Google LLC
529
532
  * SPDX-License-Identifier: BSD-3-Clause
530
533
  */
531
- const o$2 = { attribute: true, type: String, converter: u$1, reflect: false, hasChanged: f$1 }, r$1 = (t2 = o$2, e2, r3) => {
532
- const { kind: n3, metadata: i2 } = r3;
533
- let s2 = globalThis.litPropertyMetadata.get(i2);
534
- if (void 0 === s2 && globalThis.litPropertyMetadata.set(i2, s2 = /* @__PURE__ */ new Map()), s2.set(r3.name, t2), "accessor" === n3) {
535
- const { name: o2 } = r3;
536
- return { set(r4) {
534
+ const o$2 = { attribute: true, type: String, converter: u$1, reflect: false, hasChanged: f$1 }, r$1 = (t2 = o$2, e2, r2) => {
535
+ const { kind: n3, metadata: i3 } = r2;
536
+ let s2 = globalThis.litPropertyMetadata.get(i3);
537
+ if (void 0 === s2 && globalThis.litPropertyMetadata.set(i3, s2 = /* @__PURE__ */ new Map()), "setter" === n3 && ((t2 = Object.create(t2)).wrapped = true), s2.set(r2.name, t2), "accessor" === n3) {
538
+ const { name: o2 } = r2;
539
+ return { set(r3) {
537
540
  const n4 = e2.get.call(this);
538
- e2.set.call(this, r4), this.requestUpdate(o2, n4, t2);
541
+ e2.set.call(this, r3), this.requestUpdate(o2, n4, t2);
539
542
  }, init(e3) {
540
- return void 0 !== e3 && this.P(o2, void 0, t2), e3;
543
+ return void 0 !== e3 && this.C(o2, void 0, t2, e3), e3;
541
544
  } };
542
545
  }
543
546
  if ("setter" === n3) {
544
- const { name: o2 } = r3;
545
- return function(r4) {
547
+ const { name: o2 } = r2;
548
+ return function(r3) {
546
549
  const n4 = this[o2];
547
- e2.call(this, r4), this.requestUpdate(o2, n4, t2);
550
+ e2.call(this, r3), this.requestUpdate(o2, n4, t2);
548
551
  };
549
552
  }
550
553
  throw Error("Unsupported decorator location: " + n3);
551
554
  };
552
555
  function n2(t2) {
553
556
  return (e2, o2) => "object" == typeof o2 ? r$1(t2, e2, o2) : ((t3, e3, o3) => {
554
- const r3 = e3.hasOwnProperty(o3);
555
- return e3.constructor.createProperty(o3, r3 ? { ...t3, wrapped: true } : t3), r3 ? Object.getOwnPropertyDescriptor(e3, o3) : void 0;
557
+ const r2 = e3.hasOwnProperty(o3);
558
+ return e3.constructor.createProperty(o3, t3), r2 ? Object.getOwnPropertyDescriptor(e3, o3) : void 0;
556
559
  })(t2, e2, o2);
557
560
  }
558
561
  /**
@@ -560,8 +563,8 @@ function n2(t2) {
560
563
  * Copyright 2017 Google LLC
561
564
  * SPDX-License-Identifier: BSD-3-Clause
562
565
  */
563
- function r2(r3) {
564
- return n2({ ...r3, state: true, attribute: false });
566
+ function r(r2) {
567
+ return n2({ ...r2, state: true, attribute: false });
565
568
  }
566
569
  /**
567
570
  * @license
@@ -574,8 +577,8 @@ const e$4 = (e2, t2, c2) => (c2.configurable = true, c2.enumerable = true, Refle
574
577
  * Copyright 2017 Google LLC
575
578
  * SPDX-License-Identifier: BSD-3-Clause
576
579
  */
577
- function e$3(e2, r3) {
578
- return (n3, s2, i2) => {
580
+ function e$3(e2, r2) {
581
+ return (n3, s2, i3) => {
579
582
  const o2 = (t2) => t2.renderRoot?.querySelector(e2) ?? null;
580
583
  return e$4(n3, s2, { get() {
581
584
  return o2(this);
@@ -588,14 +591,14 @@ function e$3(e2, r3) {
588
591
  * SPDX-License-Identifier: BSD-3-Clause
589
592
  */
590
593
  const t$1 = { ATTRIBUTE: 1, CHILD: 2 }, e$2 = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
591
- class i {
594
+ class i2 {
592
595
  constructor(t2) {
593
596
  }
594
597
  get _$AU() {
595
598
  return this._$AM._$AU;
596
599
  }
597
- _$AT(t2, e2, i2) {
598
- this._$Ct = t2, this._$AM = e2, this._$Ci = i2;
600
+ _$AT(t2, e2, i3) {
601
+ this._$Ct = t2, this._$AM = e2, this._$Ci = i3;
599
602
  }
600
603
  _$AS(t2, e2) {
601
604
  return this.update(t2, e2);
@@ -609,24 +612,24 @@ class i {
609
612
  * Copyright 2018 Google LLC
610
613
  * SPDX-License-Identifier: BSD-3-Clause
611
614
  */
612
- const e$1 = e$2(class extends i {
615
+ const e$1 = e$2(class extends i2 {
613
616
  constructor(t2) {
614
617
  if (super(t2), t2.type !== t$1.ATTRIBUTE || "class" !== t2.name || t2.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
615
618
  }
616
619
  render(t2) {
617
620
  return " " + Object.keys(t2).filter((s2) => t2[s2]).join(" ") + " ";
618
621
  }
619
- update(s2, [i2]) {
622
+ update(s2, [i3]) {
620
623
  if (void 0 === this.st) {
621
624
  this.st = /* @__PURE__ */ new Set(), void 0 !== s2.strings && (this.nt = new Set(s2.strings.join(" ").split(/\s/).filter((t2) => "" !== t2)));
622
- for (const t2 in i2) i2[t2] && !this.nt?.has(t2) && this.st.add(t2);
623
- return this.render(i2);
625
+ for (const t2 in i3) i3[t2] && !this.nt?.has(t2) && this.st.add(t2);
626
+ return this.render(i3);
624
627
  }
625
- const r3 = s2.element.classList;
626
- for (const t2 of this.st) t2 in i2 || (r3.remove(t2), this.st.delete(t2));
627
- for (const t2 in i2) {
628
- const s3 = !!i2[t2];
629
- s3 === this.st.has(t2) || this.nt?.has(t2) || (s3 ? (r3.add(t2), this.st.add(t2)) : (r3.remove(t2), this.st.delete(t2)));
628
+ const r2 = s2.element.classList;
629
+ for (const t2 of this.st) t2 in i3 || (r2.remove(t2), this.st.delete(t2));
630
+ for (const t2 in i3) {
631
+ const s3 = !!i3[t2];
632
+ s3 === this.st.has(t2) || this.nt?.has(t2) || (s3 ? (r2.add(t2), this.st.add(t2)) : (r2.remove(t2), this.st.delete(t2)));
630
633
  }
631
634
  return T;
632
635
  }
@@ -637,6 +640,13 @@ const e$1 = e$2(class extends i {
637
640
  * SPDX-License-Identifier: BSD-3-Clause
638
641
  */
639
642
  const o$1 = (o2) => o2 ?? E;
643
+ function guardedCustomElement(tagName) {
644
+ return (cls) => {
645
+ if (!customElements.get(tagName)) {
646
+ t$2(tagName)(cls);
647
+ }
648
+ };
649
+ }
640
650
  const styles$h = i$4`
641
651
  :host {
642
652
  --_color-semantic-surface-critical-hover: #b32a23;
@@ -788,13 +798,13 @@ var __defProp$h = Object.defineProperty;
788
798
  var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
789
799
  var __decorateClass$h = (decorators, target, key, kind) => {
790
800
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
791
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
792
- if (decorator = decorators[i2])
801
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
802
+ if (decorator = decorators[i3])
793
803
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
794
804
  if (kind && result) __defProp$h(target, key, result);
795
805
  return result;
796
806
  };
797
- let SDSButton = class extends r$2 {
807
+ let SDSButton = class extends i$1 {
798
808
  constructor() {
799
809
  super();
800
810
  this.type = "button";
@@ -916,7 +926,7 @@ __decorateClass$h([
916
926
  n2({ type: String, reflect: true })
917
927
  ], SDSButton.prototype, "form", 2);
918
928
  SDSButton = __decorateClass$h([
919
- t$2("sds-button")
929
+ guardedCustomElement("sds-button")
920
930
  ], SDSButton);
921
931
  const styles$g = i$4`
922
932
  :host {
@@ -1031,13 +1041,13 @@ var __defProp$g = Object.defineProperty;
1031
1041
  var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
1032
1042
  var __decorateClass$g = (decorators, target, key, kind) => {
1033
1043
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
1034
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1035
- if (decorator = decorators[i2])
1044
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1045
+ if (decorator = decorators[i3])
1036
1046
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1037
1047
  if (kind && result) __defProp$g(target, key, result);
1038
1048
  return result;
1039
1049
  };
1040
- let SDSCheckbox = class extends r$2 {
1050
+ let SDSCheckbox = class extends i$1 {
1041
1051
  constructor() {
1042
1052
  super();
1043
1053
  this.checked = false;
@@ -1078,6 +1088,12 @@ let SDSCheckbox = class extends r$2 {
1078
1088
  })
1079
1089
  );
1080
1090
  };
1091
+ this._handleClick = (event) => {
1092
+ event.stopImmediatePropagation();
1093
+ if (event.currentTarget === event.target && !this.disabled) {
1094
+ this.shadowRoot?.querySelector("input")?.click();
1095
+ }
1096
+ };
1081
1097
  this.internals = this.attachInternals();
1082
1098
  this.attachShadow({ mode: "open", delegatesFocus: true });
1083
1099
  }
@@ -1085,6 +1101,14 @@ let SDSCheckbox = class extends r$2 {
1085
1101
  super.connectedCallback();
1086
1102
  this._initialChecked = this.checked;
1087
1103
  this.internals.role = "checkbox";
1104
+ if ("FormDataEvent" in window) {
1105
+ this.internals.form?.addEventListener("formdata", (event) => {
1106
+ if (this.disabled || !this.name || !this.checked) {
1107
+ return;
1108
+ }
1109
+ event.formData.set(this.name, this.value ?? "on");
1110
+ });
1111
+ }
1088
1112
  if (this.checked) {
1089
1113
  this.internals.setFormValue(this.value ? this.value : "");
1090
1114
  }
@@ -1140,7 +1164,7 @@ let SDSCheckbox = class extends r$2 {
1140
1164
  "sds-checkbox__input--error": Boolean(this.error)
1141
1165
  };
1142
1166
  return x`
1143
- <div class="${e$1(checkboxClasses)}">
1167
+ <div class="${e$1(checkboxClasses)}" @click="${this._handleClick}">
1144
1168
  <label class="sds-checkbox__label">
1145
1169
  <input
1146
1170
  id="control"
@@ -1188,7 +1212,7 @@ __decorateClass$g([
1188
1212
  e$3("#control")
1189
1213
  ], SDSCheckbox.prototype, "control", 2);
1190
1214
  SDSCheckbox = __decorateClass$g([
1191
- t$2("sds-checkbox")
1215
+ guardedCustomElement("sds-checkbox")
1192
1216
  ], SDSCheckbox);
1193
1217
  const styles$f = i$4`
1194
1218
  :host {
@@ -1245,17 +1269,17 @@ const styles$f = i$4`
1245
1269
  * Copyright 2017 Google LLC
1246
1270
  * SPDX-License-Identifier: BSD-3-Clause
1247
1271
  */
1248
- class e extends i {
1249
- constructor(i2) {
1250
- if (super(i2), this.it = E, i2.type !== t$1.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1251
- }
1252
- render(r3) {
1253
- if (r3 === E || null == r3) return this._t = void 0, this.it = r3;
1254
- if (r3 === T) return r3;
1255
- if ("string" != typeof r3) throw Error(this.constructor.directiveName + "() called with a non-string value");
1256
- if (r3 === this.it) return this._t;
1257
- this.it = r3;
1258
- const s2 = [r3];
1272
+ class e extends i2 {
1273
+ constructor(i3) {
1274
+ if (super(i3), this.it = E, i3.type !== t$1.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1275
+ }
1276
+ render(r2) {
1277
+ if (r2 === E || null == r2) return this._t = void 0, this.it = r2;
1278
+ if (r2 === T) return r2;
1279
+ if ("string" != typeof r2) throw Error(this.constructor.directiveName + "() called with a non-string value");
1280
+ if (r2 === this.it) return this._t;
1281
+ this.it = r2;
1282
+ const s2 = [r2];
1259
1283
  return s2.raw = s2, this._t = { _$litType$: this.constructor.resultType, strings: s2, values: [] };
1260
1284
  }
1261
1285
  }
@@ -1332,13 +1356,13 @@ var __defProp$f = Object.defineProperty;
1332
1356
  var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
1333
1357
  var __decorateClass$f = (decorators, target, key, kind) => {
1334
1358
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
1335
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1336
- if (decorator = decorators[i2])
1359
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1360
+ if (decorator = decorators[i3])
1337
1361
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1338
1362
  if (kind && result) __defProp$f(target, key, result);
1339
1363
  return result;
1340
1364
  };
1341
- let SDSIcon = class extends r$2 {
1365
+ let SDSIcon = class extends i$1 {
1342
1366
  constructor() {
1343
1367
  super(...arguments);
1344
1368
  this.name = "";
@@ -1402,22 +1426,22 @@ __decorateClass$f([
1402
1426
  n2({ type: String, reflect: true })
1403
1427
  ], SDSIcon.prototype, "label", 2);
1404
1428
  __decorateClass$f([
1405
- r2()
1429
+ r()
1406
1430
  ], SDSIcon.prototype, "svg", 2);
1407
1431
  SDSIcon = __decorateClass$f([
1408
- t$2("sds-icon")
1432
+ guardedCustomElement("sds-icon")
1409
1433
  ], SDSIcon);
1410
1434
  var __defProp$e = Object.defineProperty;
1411
1435
  var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
1412
1436
  var __decorateClass$e = (decorators, target, key, kind) => {
1413
1437
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
1414
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1415
- if (decorator = decorators[i2])
1438
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1439
+ if (decorator = decorators[i3])
1416
1440
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1417
1441
  if (kind && result) __defProp$e(target, key, result);
1418
1442
  return result;
1419
1443
  };
1420
- let SDSCheckboxGroup = class extends r$2 {
1444
+ let SDSCheckboxGroup = class extends i$1 {
1421
1445
  constructor() {
1422
1446
  super(...arguments);
1423
1447
  this._selectedValues = [];
@@ -1472,10 +1496,10 @@ __decorateClass$e([
1472
1496
  n2({ type: String, attribute: "error-message", reflect: true })
1473
1497
  ], SDSCheckboxGroup.prototype, "errorMessage", 2);
1474
1498
  __decorateClass$e([
1475
- r2()
1499
+ r()
1476
1500
  ], SDSCheckboxGroup.prototype, "_selectedValues", 2);
1477
1501
  SDSCheckboxGroup = __decorateClass$e([
1478
- t$2("sds-checkbox-group")
1502
+ guardedCustomElement("sds-checkbox-group")
1479
1503
  ], SDSCheckboxGroup);
1480
1504
  const styles$d = i$4`
1481
1505
  .sds-chip {
@@ -1555,13 +1579,13 @@ var __defProp$d = Object.defineProperty;
1555
1579
  var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
1556
1580
  var __decorateClass$d = (decorators, target, key, kind) => {
1557
1581
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
1558
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1559
- if (decorator = decorators[i2])
1582
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1583
+ if (decorator = decorators[i3])
1560
1584
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1561
1585
  if (kind && result) __defProp$d(target, key, result);
1562
1586
  return result;
1563
1587
  };
1564
- let SDSChip = class extends r$2 {
1588
+ let SDSChip = class extends i$1 {
1565
1589
  constructor() {
1566
1590
  super();
1567
1591
  this.variant = "selectable";
@@ -1662,7 +1686,7 @@ __decorateClass$d([
1662
1686
  e$3("#control")
1663
1687
  ], SDSChip.prototype, "control", 2);
1664
1688
  SDSChip = __decorateClass$d([
1665
- t$2("sds-chip")
1689
+ guardedCustomElement("sds-chip")
1666
1690
  ], SDSChip);
1667
1691
  const styles$c = i$4`
1668
1692
  :host {
@@ -1691,13 +1715,13 @@ var __defProp$c = Object.defineProperty;
1691
1715
  var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
1692
1716
  var __decorateClass$c = (decorators, target, key, kind) => {
1693
1717
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
1694
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1695
- if (decorator = decorators[i2])
1718
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1719
+ if (decorator = decorators[i3])
1696
1720
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1697
1721
  if (kind && result) __defProp$c(target, key, result);
1698
1722
  return result;
1699
1723
  };
1700
- let SDSDetail = class extends r$2 {
1724
+ let SDSDetail = class extends i$1 {
1701
1725
  constructor() {
1702
1726
  super(...arguments);
1703
1727
  this.variation = "text";
@@ -1717,7 +1741,7 @@ __decorateClass$c([
1717
1741
  n2({ type: String })
1718
1742
  ], SDSDetail.prototype, "variation", 2);
1719
1743
  SDSDetail = __decorateClass$c([
1720
- t$2("sds-detail")
1744
+ guardedCustomElement("sds-detail")
1721
1745
  ], SDSDetail);
1722
1746
  const styles$b = i$4`
1723
1747
  :host {
@@ -1826,13 +1850,13 @@ var __defProp$b = Object.defineProperty;
1826
1850
  var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
1827
1851
  var __decorateClass$b = (decorators, target, key, kind) => {
1828
1852
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
1829
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1830
- if (decorator = decorators[i2])
1853
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1854
+ if (decorator = decorators[i3])
1831
1855
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1832
1856
  if (kind && result) __defProp$b(target, key, result);
1833
1857
  return result;
1834
1858
  };
1835
- let SDSHeading = class extends r$2 {
1859
+ let SDSHeading = class extends i$1 {
1836
1860
  constructor() {
1837
1861
  super(...arguments);
1838
1862
  this.level = "h1";
@@ -1873,7 +1897,7 @@ __decorateClass$b([
1873
1897
  n2({ type: String })
1874
1898
  ], SDSHeading.prototype, "as", 2);
1875
1899
  SDSHeading = __decorateClass$b([
1876
- t$2("sds-heading")
1900
+ guardedCustomElement("sds-heading")
1877
1901
  ], SDSHeading);
1878
1902
  const styles$a = i$4`
1879
1903
  :host {
@@ -1908,13 +1932,13 @@ var __defProp$a = Object.defineProperty;
1908
1932
  var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
1909
1933
  var __decorateClass$a = (decorators, target, key, kind) => {
1910
1934
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
1911
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1912
- if (decorator = decorators[i2])
1935
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1936
+ if (decorator = decorators[i3])
1913
1937
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1914
1938
  if (kind && result) __defProp$a(target, key, result);
1915
1939
  return result;
1916
1940
  };
1917
- let SDSLabel = class extends r$2 {
1941
+ let SDSLabel = class extends i$1 {
1918
1942
  constructor() {
1919
1943
  super(...arguments);
1920
1944
  this.size = "l";
@@ -1938,7 +1962,7 @@ __decorateClass$a([
1938
1962
  n2({ type: String })
1939
1963
  ], SDSLabel.prototype, "for", 2);
1940
1964
  SDSLabel = __decorateClass$a([
1941
- t$2("sds-label")
1965
+ guardedCustomElement("sds-label")
1942
1966
  ], SDSLabel);
1943
1967
  const styles$9 = i$4`
1944
1968
  :host {
@@ -2016,13 +2040,13 @@ var __defProp$9 = Object.defineProperty;
2016
2040
  var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
2017
2041
  var __decorateClass$9 = (decorators, target, key, kind) => {
2018
2042
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
2019
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2020
- if (decorator = decorators[i2])
2043
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2044
+ if (decorator = decorators[i3])
2021
2045
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2022
2046
  if (kind && result) __defProp$9(target, key, result);
2023
2047
  return result;
2024
2048
  };
2025
- let SDSLink = class extends r$2 {
2049
+ let SDSLink = class extends i$1 {
2026
2050
  constructor() {
2027
2051
  super(...arguments);
2028
2052
  this.size = "m";
@@ -2051,7 +2075,7 @@ __decorateClass$9([
2051
2075
  n2({ type: String })
2052
2076
  ], SDSLink.prototype, "target", 2);
2053
2077
  SDSLink = __decorateClass$9([
2054
- t$2("sds-link")
2078
+ guardedCustomElement("sds-link")
2055
2079
  ], SDSLink);
2056
2080
  const styles$8 = i$4`
2057
2081
  :host {
@@ -2094,13 +2118,13 @@ var __defProp$8 = Object.defineProperty;
2094
2118
  var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
2095
2119
  var __decorateClass$8 = (decorators, target, key, kind) => {
2096
2120
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
2097
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2098
- if (decorator = decorators[i2])
2121
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2122
+ if (decorator = decorators[i3])
2099
2123
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2100
2124
  if (kind && result) __defProp$8(target, key, result);
2101
2125
  return result;
2102
2126
  };
2103
- let SDSLoader = class extends r$2 {
2127
+ let SDSLoader = class extends i$1 {
2104
2128
  constructor() {
2105
2129
  super(...arguments);
2106
2130
  this.size = "large";
@@ -2123,7 +2147,7 @@ __decorateClass$8([
2123
2147
  n2({ type: String, reflect: true })
2124
2148
  ], SDSLoader.prototype, "color", 2);
2125
2149
  SDSLoader = __decorateClass$8([
2126
- t$2("sds-loader")
2150
+ guardedCustomElement("sds-loader")
2127
2151
  ], SDSLoader);
2128
2152
  const styles$7 = i$4`
2129
2153
  :host {
@@ -2277,13 +2301,13 @@ var __defProp$7 = Object.defineProperty;
2277
2301
  var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
2278
2302
  var __decorateClass$7 = (decorators, target, key, kind) => {
2279
2303
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
2280
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2281
- if (decorator = decorators[i2])
2304
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2305
+ if (decorator = decorators[i3])
2282
2306
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2283
2307
  if (kind && result) __defProp$7(target, key, result);
2284
2308
  return result;
2285
2309
  };
2286
- let SDSNavCard = class extends r$2 {
2310
+ let SDSNavCard = class extends i$1 {
2287
2311
  constructor() {
2288
2312
  super(...arguments);
2289
2313
  this.size = "large";
@@ -2360,13 +2384,13 @@ __decorateClass$7([
2360
2384
  n2({ type: String, reflect: true })
2361
2385
  ], SDSNavCard.prototype, "link", 2);
2362
2386
  __decorateClass$7([
2363
- r2()
2387
+ r()
2364
2388
  ], SDSNavCard.prototype, "hasIcon", 2);
2365
2389
  __decorateClass$7([
2366
2390
  e$3("slot")
2367
2391
  ], SDSNavCard.prototype, "iconSlot", 2);
2368
2392
  SDSNavCard = __decorateClass$7([
2369
- t$2("sds-nav-card")
2393
+ guardedCustomElement("sds-nav-card")
2370
2394
  ], SDSNavCard);
2371
2395
  const styles$6 = i$4`
2372
2396
  :host {
@@ -2530,8 +2554,8 @@ var __defProp$6 = Object.defineProperty;
2530
2554
  var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
2531
2555
  var __decorateClass$6 = (decorators, target, key, kind) => {
2532
2556
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
2533
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2534
- if (decorator = decorators[i2])
2557
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2558
+ if (decorator = decorators[i3])
2535
2559
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2536
2560
  if (kind && result) __defProp$6(target, key, result);
2537
2561
  return result;
@@ -2543,7 +2567,7 @@ const notificationIcons = {
2543
2567
  warning: "warning-material-filled",
2544
2568
  critical: "dangerous-material-filled"
2545
2569
  };
2546
- let SDSNotification = class extends r$2 {
2570
+ let SDSNotification = class extends i$1 {
2547
2571
  constructor() {
2548
2572
  super(...arguments);
2549
2573
  this.variant = "info";
@@ -2589,7 +2613,7 @@ __decorateClass$6([
2589
2613
  n2({ type: String, attribute: "removable-label", reflect: true })
2590
2614
  ], SDSNotification.prototype, "removableLabel", 2);
2591
2615
  SDSNotification = __decorateClass$6([
2592
- t$2("sds-notification")
2616
+ guardedCustomElement("sds-notification")
2593
2617
  ], SDSNotification);
2594
2618
  const styles$5 = i$4`
2595
2619
  :host {
@@ -2630,13 +2654,13 @@ var __defProp$5 = Object.defineProperty;
2630
2654
  var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
2631
2655
  var __decorateClass$5 = (decorators, target, key, kind) => {
2632
2656
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
2633
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2634
- if (decorator = decorators[i2])
2657
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2658
+ if (decorator = decorators[i3])
2635
2659
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2636
2660
  if (kind && result) __defProp$5(target, key, result);
2637
2661
  return result;
2638
2662
  };
2639
- let SDSParagraph = class extends r$2 {
2663
+ let SDSParagraph = class extends i$1 {
2640
2664
  constructor() {
2641
2665
  super(...arguments);
2642
2666
  this.size = "xl";
@@ -2657,7 +2681,7 @@ __decorateClass$5([
2657
2681
  n2({ type: String })
2658
2682
  ], SDSParagraph.prototype, "size", 2);
2659
2683
  SDSParagraph = __decorateClass$5([
2660
- t$2("sds-paragraph")
2684
+ guardedCustomElement("sds-paragraph")
2661
2685
  ], SDSParagraph);
2662
2686
  const styles$4 = i$4`
2663
2687
  :host {
@@ -2771,13 +2795,13 @@ var __defProp$4 = Object.defineProperty;
2771
2795
  var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
2772
2796
  var __decorateClass$4 = (decorators, target, key, kind) => {
2773
2797
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
2774
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2775
- if (decorator = decorators[i2])
2798
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2799
+ if (decorator = decorators[i3])
2776
2800
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2777
2801
  if (kind && result) __defProp$4(target, key, result);
2778
2802
  return result;
2779
2803
  };
2780
- let SDSRadio = class extends r$2 {
2804
+ let SDSRadio = class extends i$1 {
2781
2805
  constructor() {
2782
2806
  super();
2783
2807
  this.disabled = false;
@@ -3012,7 +3036,7 @@ __decorateClass$4([
3012
3036
  e$3("#control")
3013
3037
  ], SDSRadio.prototype, "control", 2);
3014
3038
  SDSRadio = __decorateClass$4([
3015
- t$2("sds-radio")
3039
+ guardedCustomElement("sds-radio")
3016
3040
  ], SDSRadio);
3017
3041
  const styles$3 = i$4`
3018
3042
  .sds-radio-group {
@@ -3063,13 +3087,13 @@ var __defProp$3 = Object.defineProperty;
3063
3087
  var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
3064
3088
  var __decorateClass$3 = (decorators, target, key, kind) => {
3065
3089
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
3066
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3067
- if (decorator = decorators[i2])
3090
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3091
+ if (decorator = decorators[i3])
3068
3092
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3069
3093
  if (kind && result) __defProp$3(target, key, result);
3070
3094
  return result;
3071
3095
  };
3072
- let SDSRadioGroup = class extends r$2 {
3096
+ let SDSRadioGroup = class extends i$1 {
3073
3097
  constructor() {
3074
3098
  super(...arguments);
3075
3099
  this._selectedValue = null;
@@ -3120,10 +3144,10 @@ __decorateClass$3([
3120
3144
  n2({ type: String, attribute: "error-message" })
3121
3145
  ], SDSRadioGroup.prototype, "errorMessage", 2);
3122
3146
  __decorateClass$3([
3123
- r2()
3147
+ r()
3124
3148
  ], SDSRadioGroup.prototype, "_selectedValue", 2);
3125
3149
  SDSRadioGroup = __decorateClass$3([
3126
- t$2("sds-radio-group")
3150
+ guardedCustomElement("sds-radio-group")
3127
3151
  ], SDSRadioGroup);
3128
3152
  const styles$2 = i$4`
3129
3153
  :host {
@@ -3252,13 +3276,13 @@ var __defProp$2 = Object.defineProperty;
3252
3276
  var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
3253
3277
  var __decorateClass$2 = (decorators, target, key, kind) => {
3254
3278
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
3255
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3256
- if (decorator = decorators[i2])
3279
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3280
+ if (decorator = decorators[i3])
3257
3281
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3258
3282
  if (kind && result) __defProp$2(target, key, result);
3259
3283
  return result;
3260
3284
  };
3261
- let SDSSwitch = class extends r$2 {
3285
+ let SDSSwitch = class extends i$1 {
3262
3286
  constructor() {
3263
3287
  super();
3264
3288
  this.disabled = false;
@@ -3382,7 +3406,7 @@ __decorateClass$2([
3382
3406
  e$3("#control")
3383
3407
  ], SDSSwitch.prototype, "control", 2);
3384
3408
  SDSSwitch = __decorateClass$2([
3385
- t$2("sds-switch")
3409
+ guardedCustomElement("sds-switch")
3386
3410
  ], SDSSwitch);
3387
3411
  const styles$1 = i$4`
3388
3412
  :host {
@@ -3417,13 +3441,13 @@ var __defProp$1 = Object.defineProperty;
3417
3441
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
3418
3442
  var __decorateClass$1 = (decorators, target, key, kind) => {
3419
3443
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
3420
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3421
- if (decorator = decorators[i2])
3444
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3445
+ if (decorator = decorators[i3])
3422
3446
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3423
3447
  if (kind && result) __defProp$1(target, key, result);
3424
3448
  return result;
3425
3449
  };
3426
- let SDSText = class extends r$2 {
3450
+ let SDSText = class extends i$1 {
3427
3451
  constructor() {
3428
3452
  super(...arguments);
3429
3453
  this.size = "l";
@@ -3444,7 +3468,7 @@ __decorateClass$1([
3444
3468
  n2({ type: String })
3445
3469
  ], SDSText.prototype, "size", 2);
3446
3470
  SDSText = __decorateClass$1([
3447
- t$2("sds-text")
3471
+ guardedCustomElement("sds-text")
3448
3472
  ], SDSText);
3449
3473
  const styles = i$4`
3450
3474
  :host {
@@ -3564,13 +3588,13 @@ var __defProp = Object.defineProperty;
3564
3588
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3565
3589
  var __decorateClass = (decorators, target, key, kind) => {
3566
3590
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
3567
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3568
- if (decorator = decorators[i2])
3591
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3592
+ if (decorator = decorators[i3])
3569
3593
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3570
3594
  if (kind && result) __defProp(target, key, result);
3571
3595
  return result;
3572
3596
  };
3573
- let SDSTextField = class extends r$2 {
3597
+ let SDSTextField = class extends i$1 {
3574
3598
  constructor() {
3575
3599
  super();
3576
3600
  this.type = "text";
@@ -3763,13 +3787,13 @@ __decorateClass([
3763
3787
  n2({ type: Number, reflect: true })
3764
3788
  ], SDSTextField.prototype, "maxlength", 2);
3765
3789
  __decorateClass([
3766
- r2()
3790
+ r()
3767
3791
  ], SDSTextField.prototype, "hasIcon", 2);
3768
3792
  __decorateClass([
3769
3793
  e$3("#sds-textfield")
3770
3794
  ], SDSTextField.prototype, "control", 2);
3771
3795
  SDSTextField = __decorateClass([
3772
- t$2("sds-textfield")
3796
+ guardedCustomElement("sds-textfield")
3773
3797
  ], SDSTextField);
3774
3798
  export {
3775
3799
  SDSButton,