@politiet/sheriff-web-components 1.0.2 → 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 (84) hide show
  1. package/dist/sds-button/sds-button.d.ts.map +1 -1
  2. package/dist/sds-button/sds-button.js +3 -2
  3. package/dist/sds-button/sds-button.js.map +1 -1
  4. package/dist/sds-checkbox/sds-checkbox.d.ts.map +1 -1
  5. package/dist/sds-checkbox/sds-checkbox.js +3 -2
  6. package/dist/sds-checkbox/sds-checkbox.js.map +1 -1
  7. package/dist/sds-checkbox-group/sds-checkbox-group.d.ts.map +1 -1
  8. package/dist/sds-checkbox-group/sds-checkbox-group.js +3 -2
  9. package/dist/sds-checkbox-group/sds-checkbox-group.js.map +1 -1
  10. package/dist/sds-chip/sds-chip.d.ts.map +1 -1
  11. package/dist/sds-chip/sds-chip.js +3 -2
  12. package/dist/sds-chip/sds-chip.js.map +1 -1
  13. package/dist/sds-detail/sds-detail.d.ts.map +1 -1
  14. package/dist/sds-detail/sds-detail.js +3 -2
  15. package/dist/sds-detail/sds-detail.js.map +1 -1
  16. package/dist/sds-heading/sds-heading.d.ts.map +1 -1
  17. package/dist/sds-heading/sds-heading.js +3 -2
  18. package/dist/sds-heading/sds-heading.js.map +1 -1
  19. package/dist/sds-icon/sds-icon.allowed-colors.d.ts +3 -0
  20. package/dist/sds-icon/sds-icon.allowed-colors.d.ts.map +1 -0
  21. package/dist/sds-icon/sds-icon.allowed-colors.js +17 -0
  22. package/dist/sds-icon/sds-icon.allowed-colors.js.map +1 -0
  23. package/dist/sds-icon/sds-icon.allowed-names.d.ts +3 -0
  24. package/dist/sds-icon/sds-icon.allowed-names.d.ts.map +1 -0
  25. package/dist/sds-icon/sds-icon.allowed-names.js +2 -0
  26. package/dist/sds-icon/sds-icon.allowed-names.js.map +1 -0
  27. package/dist/sds-icon/sds-icon.color-types.d.ts +2 -0
  28. package/dist/sds-icon/sds-icon.color-types.d.ts.map +1 -0
  29. package/dist/sds-icon/sds-icon.color-types.js +2 -0
  30. package/dist/sds-icon/sds-icon.color-types.js.map +1 -0
  31. package/dist/sds-icon/sds-icon.d.ts.map +1 -1
  32. package/dist/sds-icon/sds-icon.icon-types.d.ts +2 -0
  33. package/dist/sds-icon/sds-icon.icon-types.d.ts.map +1 -0
  34. package/dist/sds-icon/sds-icon.icon-types.js +2 -0
  35. package/dist/sds-icon/sds-icon.icon-types.js.map +1 -0
  36. package/dist/sds-icon/sds-icon.js +3 -2
  37. package/dist/sds-icon/sds-icon.js.map +1 -1
  38. package/dist/sds-label/sds-label.d.ts.map +1 -1
  39. package/dist/sds-label/sds-label.js +3 -2
  40. package/dist/sds-label/sds-label.js.map +1 -1
  41. package/dist/sds-link/sds-link.d.ts.map +1 -1
  42. package/dist/sds-link/sds-link.js +3 -2
  43. package/dist/sds-link/sds-link.js.map +1 -1
  44. package/dist/sds-loader/sds-loader.d.ts.map +1 -1
  45. package/dist/sds-loader/sds-loader.js +3 -2
  46. package/dist/sds-loader/sds-loader.js.map +1 -1
  47. package/dist/sds-nav-card/sds-nav-card.d.ts.map +1 -1
  48. package/dist/sds-nav-card/sds-nav-card.js +3 -2
  49. package/dist/sds-nav-card/sds-nav-card.js.map +1 -1
  50. package/dist/sds-notification/sds-notification.d.ts.map +1 -1
  51. package/dist/sds-notification/sds-notification.js +3 -2
  52. package/dist/sds-notification/sds-notification.js.map +1 -1
  53. package/dist/sds-paragraph/sds-paragraph.d.ts.map +1 -1
  54. package/dist/sds-paragraph/sds-paragraph.js +3 -2
  55. package/dist/sds-paragraph/sds-paragraph.js.map +1 -1
  56. package/dist/sds-radio/sds-radio.d.ts.map +1 -1
  57. package/dist/sds-radio/sds-radio.js +3 -2
  58. package/dist/sds-radio/sds-radio.js.map +1 -1
  59. package/dist/sds-radio-group/sds-radio-group.d.ts.map +1 -1
  60. package/dist/sds-radio-group/sds-radio-group.js +3 -2
  61. package/dist/sds-radio-group/sds-radio-group.js.map +1 -1
  62. package/dist/sds-switch/sds-switch.d.ts.map +1 -1
  63. package/dist/sds-switch/sds-switch.js +3 -2
  64. package/dist/sds-switch/sds-switch.js.map +1 -1
  65. package/dist/sds-text/sds-text.d.ts.map +1 -1
  66. package/dist/sds-text/sds-text.js +3 -2
  67. package/dist/sds-text/sds-text.js.map +1 -1
  68. package/dist/sds-textfield/sds-textfield.d.ts.map +1 -1
  69. package/dist/sds-textfield/sds-textfield.js +3 -2
  70. package/dist/sds-textfield/sds-textfield.js.map +1 -1
  71. package/dist/sheriff-web-components.js +274 -264
  72. package/dist/utils/guarded-custom-element.d.ts +7 -0
  73. package/dist/utils/guarded-custom-element.d.ts.map +1 -0
  74. package/dist/utils/guarded-custom-element.js +9 -0
  75. package/dist/utils/guarded-custom-element.js.map +1 -0
  76. package/dist/utils/hmr-helper.d.ts +2 -0
  77. package/dist/utils/hmr-helper.d.ts.map +1 -0
  78. package/dist/utils/hmr-helper.js +17 -0
  79. package/dist/utils/hmr-helper.js.map +1 -0
  80. package/dist/utils/safe-custom-element.d.ts +2 -0
  81. package/dist/utils/safe-custom-element.d.ts.map +1 -0
  82. package/dist/utils/safe-custom-element.js +9 -0
  83. package/dist/utils/safe-custom-element.js.map +1 -0
  84. package/package.json +1 -1
@@ -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;
@@ -1202,7 +1212,7 @@ __decorateClass$g([
1202
1212
  e$3("#control")
1203
1213
  ], SDSCheckbox.prototype, "control", 2);
1204
1214
  SDSCheckbox = __decorateClass$g([
1205
- t$2("sds-checkbox")
1215
+ guardedCustomElement("sds-checkbox")
1206
1216
  ], SDSCheckbox);
1207
1217
  const styles$f = i$4`
1208
1218
  :host {
@@ -1259,17 +1269,17 @@ const styles$f = i$4`
1259
1269
  * Copyright 2017 Google LLC
1260
1270
  * SPDX-License-Identifier: BSD-3-Clause
1261
1271
  */
1262
- class e extends i {
1263
- constructor(i2) {
1264
- if (super(i2), this.it = E, i2.type !== t$1.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1265
- }
1266
- render(r3) {
1267
- if (r3 === E || null == r3) return this._t = void 0, this.it = r3;
1268
- if (r3 === T) return r3;
1269
- if ("string" != typeof r3) throw Error(this.constructor.directiveName + "() called with a non-string value");
1270
- if (r3 === this.it) return this._t;
1271
- this.it = r3;
1272
- 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];
1273
1283
  return s2.raw = s2, this._t = { _$litType$: this.constructor.resultType, strings: s2, values: [] };
1274
1284
  }
1275
1285
  }
@@ -1346,13 +1356,13 @@ var __defProp$f = Object.defineProperty;
1346
1356
  var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
1347
1357
  var __decorateClass$f = (decorators, target, key, kind) => {
1348
1358
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
1349
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1350
- if (decorator = decorators[i2])
1359
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1360
+ if (decorator = decorators[i3])
1351
1361
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1352
1362
  if (kind && result) __defProp$f(target, key, result);
1353
1363
  return result;
1354
1364
  };
1355
- let SDSIcon = class extends r$2 {
1365
+ let SDSIcon = class extends i$1 {
1356
1366
  constructor() {
1357
1367
  super(...arguments);
1358
1368
  this.name = "";
@@ -1416,22 +1426,22 @@ __decorateClass$f([
1416
1426
  n2({ type: String, reflect: true })
1417
1427
  ], SDSIcon.prototype, "label", 2);
1418
1428
  __decorateClass$f([
1419
- r2()
1429
+ r()
1420
1430
  ], SDSIcon.prototype, "svg", 2);
1421
1431
  SDSIcon = __decorateClass$f([
1422
- t$2("sds-icon")
1432
+ guardedCustomElement("sds-icon")
1423
1433
  ], SDSIcon);
1424
1434
  var __defProp$e = Object.defineProperty;
1425
1435
  var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
1426
1436
  var __decorateClass$e = (decorators, target, key, kind) => {
1427
1437
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
1428
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1429
- if (decorator = decorators[i2])
1438
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1439
+ if (decorator = decorators[i3])
1430
1440
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1431
1441
  if (kind && result) __defProp$e(target, key, result);
1432
1442
  return result;
1433
1443
  };
1434
- let SDSCheckboxGroup = class extends r$2 {
1444
+ let SDSCheckboxGroup = class extends i$1 {
1435
1445
  constructor() {
1436
1446
  super(...arguments);
1437
1447
  this._selectedValues = [];
@@ -1486,10 +1496,10 @@ __decorateClass$e([
1486
1496
  n2({ type: String, attribute: "error-message", reflect: true })
1487
1497
  ], SDSCheckboxGroup.prototype, "errorMessage", 2);
1488
1498
  __decorateClass$e([
1489
- r2()
1499
+ r()
1490
1500
  ], SDSCheckboxGroup.prototype, "_selectedValues", 2);
1491
1501
  SDSCheckboxGroup = __decorateClass$e([
1492
- t$2("sds-checkbox-group")
1502
+ guardedCustomElement("sds-checkbox-group")
1493
1503
  ], SDSCheckboxGroup);
1494
1504
  const styles$d = i$4`
1495
1505
  .sds-chip {
@@ -1569,13 +1579,13 @@ var __defProp$d = Object.defineProperty;
1569
1579
  var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
1570
1580
  var __decorateClass$d = (decorators, target, key, kind) => {
1571
1581
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
1572
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1573
- if (decorator = decorators[i2])
1582
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1583
+ if (decorator = decorators[i3])
1574
1584
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1575
1585
  if (kind && result) __defProp$d(target, key, result);
1576
1586
  return result;
1577
1587
  };
1578
- let SDSChip = class extends r$2 {
1588
+ let SDSChip = class extends i$1 {
1579
1589
  constructor() {
1580
1590
  super();
1581
1591
  this.variant = "selectable";
@@ -1676,7 +1686,7 @@ __decorateClass$d([
1676
1686
  e$3("#control")
1677
1687
  ], SDSChip.prototype, "control", 2);
1678
1688
  SDSChip = __decorateClass$d([
1679
- t$2("sds-chip")
1689
+ guardedCustomElement("sds-chip")
1680
1690
  ], SDSChip);
1681
1691
  const styles$c = i$4`
1682
1692
  :host {
@@ -1705,13 +1715,13 @@ var __defProp$c = Object.defineProperty;
1705
1715
  var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
1706
1716
  var __decorateClass$c = (decorators, target, key, kind) => {
1707
1717
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
1708
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1709
- if (decorator = decorators[i2])
1718
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1719
+ if (decorator = decorators[i3])
1710
1720
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1711
1721
  if (kind && result) __defProp$c(target, key, result);
1712
1722
  return result;
1713
1723
  };
1714
- let SDSDetail = class extends r$2 {
1724
+ let SDSDetail = class extends i$1 {
1715
1725
  constructor() {
1716
1726
  super(...arguments);
1717
1727
  this.variation = "text";
@@ -1731,7 +1741,7 @@ __decorateClass$c([
1731
1741
  n2({ type: String })
1732
1742
  ], SDSDetail.prototype, "variation", 2);
1733
1743
  SDSDetail = __decorateClass$c([
1734
- t$2("sds-detail")
1744
+ guardedCustomElement("sds-detail")
1735
1745
  ], SDSDetail);
1736
1746
  const styles$b = i$4`
1737
1747
  :host {
@@ -1840,13 +1850,13 @@ var __defProp$b = Object.defineProperty;
1840
1850
  var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
1841
1851
  var __decorateClass$b = (decorators, target, key, kind) => {
1842
1852
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
1843
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1844
- if (decorator = decorators[i2])
1853
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1854
+ if (decorator = decorators[i3])
1845
1855
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1846
1856
  if (kind && result) __defProp$b(target, key, result);
1847
1857
  return result;
1848
1858
  };
1849
- let SDSHeading = class extends r$2 {
1859
+ let SDSHeading = class extends i$1 {
1850
1860
  constructor() {
1851
1861
  super(...arguments);
1852
1862
  this.level = "h1";
@@ -1887,7 +1897,7 @@ __decorateClass$b([
1887
1897
  n2({ type: String })
1888
1898
  ], SDSHeading.prototype, "as", 2);
1889
1899
  SDSHeading = __decorateClass$b([
1890
- t$2("sds-heading")
1900
+ guardedCustomElement("sds-heading")
1891
1901
  ], SDSHeading);
1892
1902
  const styles$a = i$4`
1893
1903
  :host {
@@ -1922,13 +1932,13 @@ var __defProp$a = Object.defineProperty;
1922
1932
  var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
1923
1933
  var __decorateClass$a = (decorators, target, key, kind) => {
1924
1934
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
1925
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1926
- if (decorator = decorators[i2])
1935
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1936
+ if (decorator = decorators[i3])
1927
1937
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1928
1938
  if (kind && result) __defProp$a(target, key, result);
1929
1939
  return result;
1930
1940
  };
1931
- let SDSLabel = class extends r$2 {
1941
+ let SDSLabel = class extends i$1 {
1932
1942
  constructor() {
1933
1943
  super(...arguments);
1934
1944
  this.size = "l";
@@ -1952,7 +1962,7 @@ __decorateClass$a([
1952
1962
  n2({ type: String })
1953
1963
  ], SDSLabel.prototype, "for", 2);
1954
1964
  SDSLabel = __decorateClass$a([
1955
- t$2("sds-label")
1965
+ guardedCustomElement("sds-label")
1956
1966
  ], SDSLabel);
1957
1967
  const styles$9 = i$4`
1958
1968
  :host {
@@ -2030,13 +2040,13 @@ var __defProp$9 = Object.defineProperty;
2030
2040
  var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
2031
2041
  var __decorateClass$9 = (decorators, target, key, kind) => {
2032
2042
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
2033
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2034
- if (decorator = decorators[i2])
2043
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2044
+ if (decorator = decorators[i3])
2035
2045
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2036
2046
  if (kind && result) __defProp$9(target, key, result);
2037
2047
  return result;
2038
2048
  };
2039
- let SDSLink = class extends r$2 {
2049
+ let SDSLink = class extends i$1 {
2040
2050
  constructor() {
2041
2051
  super(...arguments);
2042
2052
  this.size = "m";
@@ -2065,7 +2075,7 @@ __decorateClass$9([
2065
2075
  n2({ type: String })
2066
2076
  ], SDSLink.prototype, "target", 2);
2067
2077
  SDSLink = __decorateClass$9([
2068
- t$2("sds-link")
2078
+ guardedCustomElement("sds-link")
2069
2079
  ], SDSLink);
2070
2080
  const styles$8 = i$4`
2071
2081
  :host {
@@ -2108,13 +2118,13 @@ var __defProp$8 = Object.defineProperty;
2108
2118
  var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
2109
2119
  var __decorateClass$8 = (decorators, target, key, kind) => {
2110
2120
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
2111
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2112
- if (decorator = decorators[i2])
2121
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2122
+ if (decorator = decorators[i3])
2113
2123
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2114
2124
  if (kind && result) __defProp$8(target, key, result);
2115
2125
  return result;
2116
2126
  };
2117
- let SDSLoader = class extends r$2 {
2127
+ let SDSLoader = class extends i$1 {
2118
2128
  constructor() {
2119
2129
  super(...arguments);
2120
2130
  this.size = "large";
@@ -2137,7 +2147,7 @@ __decorateClass$8([
2137
2147
  n2({ type: String, reflect: true })
2138
2148
  ], SDSLoader.prototype, "color", 2);
2139
2149
  SDSLoader = __decorateClass$8([
2140
- t$2("sds-loader")
2150
+ guardedCustomElement("sds-loader")
2141
2151
  ], SDSLoader);
2142
2152
  const styles$7 = i$4`
2143
2153
  :host {
@@ -2291,13 +2301,13 @@ var __defProp$7 = Object.defineProperty;
2291
2301
  var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
2292
2302
  var __decorateClass$7 = (decorators, target, key, kind) => {
2293
2303
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
2294
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2295
- if (decorator = decorators[i2])
2304
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2305
+ if (decorator = decorators[i3])
2296
2306
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2297
2307
  if (kind && result) __defProp$7(target, key, result);
2298
2308
  return result;
2299
2309
  };
2300
- let SDSNavCard = class extends r$2 {
2310
+ let SDSNavCard = class extends i$1 {
2301
2311
  constructor() {
2302
2312
  super(...arguments);
2303
2313
  this.size = "large";
@@ -2374,13 +2384,13 @@ __decorateClass$7([
2374
2384
  n2({ type: String, reflect: true })
2375
2385
  ], SDSNavCard.prototype, "link", 2);
2376
2386
  __decorateClass$7([
2377
- r2()
2387
+ r()
2378
2388
  ], SDSNavCard.prototype, "hasIcon", 2);
2379
2389
  __decorateClass$7([
2380
2390
  e$3("slot")
2381
2391
  ], SDSNavCard.prototype, "iconSlot", 2);
2382
2392
  SDSNavCard = __decorateClass$7([
2383
- t$2("sds-nav-card")
2393
+ guardedCustomElement("sds-nav-card")
2384
2394
  ], SDSNavCard);
2385
2395
  const styles$6 = i$4`
2386
2396
  :host {
@@ -2544,8 +2554,8 @@ var __defProp$6 = Object.defineProperty;
2544
2554
  var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
2545
2555
  var __decorateClass$6 = (decorators, target, key, kind) => {
2546
2556
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
2547
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2548
- if (decorator = decorators[i2])
2557
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2558
+ if (decorator = decorators[i3])
2549
2559
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2550
2560
  if (kind && result) __defProp$6(target, key, result);
2551
2561
  return result;
@@ -2557,7 +2567,7 @@ const notificationIcons = {
2557
2567
  warning: "warning-material-filled",
2558
2568
  critical: "dangerous-material-filled"
2559
2569
  };
2560
- let SDSNotification = class extends r$2 {
2570
+ let SDSNotification = class extends i$1 {
2561
2571
  constructor() {
2562
2572
  super(...arguments);
2563
2573
  this.variant = "info";
@@ -2603,7 +2613,7 @@ __decorateClass$6([
2603
2613
  n2({ type: String, attribute: "removable-label", reflect: true })
2604
2614
  ], SDSNotification.prototype, "removableLabel", 2);
2605
2615
  SDSNotification = __decorateClass$6([
2606
- t$2("sds-notification")
2616
+ guardedCustomElement("sds-notification")
2607
2617
  ], SDSNotification);
2608
2618
  const styles$5 = i$4`
2609
2619
  :host {
@@ -2644,13 +2654,13 @@ var __defProp$5 = Object.defineProperty;
2644
2654
  var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
2645
2655
  var __decorateClass$5 = (decorators, target, key, kind) => {
2646
2656
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
2647
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2648
- if (decorator = decorators[i2])
2657
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2658
+ if (decorator = decorators[i3])
2649
2659
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2650
2660
  if (kind && result) __defProp$5(target, key, result);
2651
2661
  return result;
2652
2662
  };
2653
- let SDSParagraph = class extends r$2 {
2663
+ let SDSParagraph = class extends i$1 {
2654
2664
  constructor() {
2655
2665
  super(...arguments);
2656
2666
  this.size = "xl";
@@ -2671,7 +2681,7 @@ __decorateClass$5([
2671
2681
  n2({ type: String })
2672
2682
  ], SDSParagraph.prototype, "size", 2);
2673
2683
  SDSParagraph = __decorateClass$5([
2674
- t$2("sds-paragraph")
2684
+ guardedCustomElement("sds-paragraph")
2675
2685
  ], SDSParagraph);
2676
2686
  const styles$4 = i$4`
2677
2687
  :host {
@@ -2785,13 +2795,13 @@ var __defProp$4 = Object.defineProperty;
2785
2795
  var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
2786
2796
  var __decorateClass$4 = (decorators, target, key, kind) => {
2787
2797
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
2788
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2789
- if (decorator = decorators[i2])
2798
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2799
+ if (decorator = decorators[i3])
2790
2800
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2791
2801
  if (kind && result) __defProp$4(target, key, result);
2792
2802
  return result;
2793
2803
  };
2794
- let SDSRadio = class extends r$2 {
2804
+ let SDSRadio = class extends i$1 {
2795
2805
  constructor() {
2796
2806
  super();
2797
2807
  this.disabled = false;
@@ -3026,7 +3036,7 @@ __decorateClass$4([
3026
3036
  e$3("#control")
3027
3037
  ], SDSRadio.prototype, "control", 2);
3028
3038
  SDSRadio = __decorateClass$4([
3029
- t$2("sds-radio")
3039
+ guardedCustomElement("sds-radio")
3030
3040
  ], SDSRadio);
3031
3041
  const styles$3 = i$4`
3032
3042
  .sds-radio-group {
@@ -3077,13 +3087,13 @@ var __defProp$3 = Object.defineProperty;
3077
3087
  var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
3078
3088
  var __decorateClass$3 = (decorators, target, key, kind) => {
3079
3089
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
3080
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3081
- if (decorator = decorators[i2])
3090
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3091
+ if (decorator = decorators[i3])
3082
3092
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3083
3093
  if (kind && result) __defProp$3(target, key, result);
3084
3094
  return result;
3085
3095
  };
3086
- let SDSRadioGroup = class extends r$2 {
3096
+ let SDSRadioGroup = class extends i$1 {
3087
3097
  constructor() {
3088
3098
  super(...arguments);
3089
3099
  this._selectedValue = null;
@@ -3134,10 +3144,10 @@ __decorateClass$3([
3134
3144
  n2({ type: String, attribute: "error-message" })
3135
3145
  ], SDSRadioGroup.prototype, "errorMessage", 2);
3136
3146
  __decorateClass$3([
3137
- r2()
3147
+ r()
3138
3148
  ], SDSRadioGroup.prototype, "_selectedValue", 2);
3139
3149
  SDSRadioGroup = __decorateClass$3([
3140
- t$2("sds-radio-group")
3150
+ guardedCustomElement("sds-radio-group")
3141
3151
  ], SDSRadioGroup);
3142
3152
  const styles$2 = i$4`
3143
3153
  :host {
@@ -3266,13 +3276,13 @@ var __defProp$2 = Object.defineProperty;
3266
3276
  var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
3267
3277
  var __decorateClass$2 = (decorators, target, key, kind) => {
3268
3278
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
3269
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3270
- if (decorator = decorators[i2])
3279
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3280
+ if (decorator = decorators[i3])
3271
3281
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3272
3282
  if (kind && result) __defProp$2(target, key, result);
3273
3283
  return result;
3274
3284
  };
3275
- let SDSSwitch = class extends r$2 {
3285
+ let SDSSwitch = class extends i$1 {
3276
3286
  constructor() {
3277
3287
  super();
3278
3288
  this.disabled = false;
@@ -3396,7 +3406,7 @@ __decorateClass$2([
3396
3406
  e$3("#control")
3397
3407
  ], SDSSwitch.prototype, "control", 2);
3398
3408
  SDSSwitch = __decorateClass$2([
3399
- t$2("sds-switch")
3409
+ guardedCustomElement("sds-switch")
3400
3410
  ], SDSSwitch);
3401
3411
  const styles$1 = i$4`
3402
3412
  :host {
@@ -3431,13 +3441,13 @@ var __defProp$1 = Object.defineProperty;
3431
3441
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
3432
3442
  var __decorateClass$1 = (decorators, target, key, kind) => {
3433
3443
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
3434
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3435
- if (decorator = decorators[i2])
3444
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3445
+ if (decorator = decorators[i3])
3436
3446
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3437
3447
  if (kind && result) __defProp$1(target, key, result);
3438
3448
  return result;
3439
3449
  };
3440
- let SDSText = class extends r$2 {
3450
+ let SDSText = class extends i$1 {
3441
3451
  constructor() {
3442
3452
  super(...arguments);
3443
3453
  this.size = "l";
@@ -3458,7 +3468,7 @@ __decorateClass$1([
3458
3468
  n2({ type: String })
3459
3469
  ], SDSText.prototype, "size", 2);
3460
3470
  SDSText = __decorateClass$1([
3461
- t$2("sds-text")
3471
+ guardedCustomElement("sds-text")
3462
3472
  ], SDSText);
3463
3473
  const styles = i$4`
3464
3474
  :host {
@@ -3578,13 +3588,13 @@ var __defProp = Object.defineProperty;
3578
3588
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3579
3589
  var __decorateClass = (decorators, target, key, kind) => {
3580
3590
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
3581
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3582
- if (decorator = decorators[i2])
3591
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3592
+ if (decorator = decorators[i3])
3583
3593
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3584
3594
  if (kind && result) __defProp(target, key, result);
3585
3595
  return result;
3586
3596
  };
3587
- let SDSTextField = class extends r$2 {
3597
+ let SDSTextField = class extends i$1 {
3588
3598
  constructor() {
3589
3599
  super();
3590
3600
  this.type = "text";
@@ -3777,13 +3787,13 @@ __decorateClass([
3777
3787
  n2({ type: Number, reflect: true })
3778
3788
  ], SDSTextField.prototype, "maxlength", 2);
3779
3789
  __decorateClass([
3780
- r2()
3790
+ r()
3781
3791
  ], SDSTextField.prototype, "hasIcon", 2);
3782
3792
  __decorateClass([
3783
3793
  e$3("#sds-textfield")
3784
3794
  ], SDSTextField.prototype, "control", 2);
3785
3795
  SDSTextField = __decorateClass([
3786
- t$2("sds-textfield")
3796
+ guardedCustomElement("sds-textfield")
3787
3797
  ], SDSTextField);
3788
3798
  export {
3789
3799
  SDSButton,