@duyluonganduin/acl-web-components 0.0.13 → 0.0.15

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.
@@ -3,18 +3,18 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const E1 = globalThis, c2 = E1.ShadowRoot && (E1.ShadyCSS === void 0 || E1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, p2 = Symbol(), i5 = /* @__PURE__ */ new WeakMap();
7
- let Z5 = class {
8
- constructor(e, t, C) {
9
- if (this._$cssResult$ = !0, C !== p2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
6
+ const P1 = globalThis, f2 = P1.ShadowRoot && (P1.ShadyCSS === void 0 || P1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, H2 = Symbol(), u5 = /* @__PURE__ */ new WeakMap();
7
+ let z5 = class {
8
+ constructor(e, t, i) {
9
+ if (this._$cssResult$ = !0, i !== H2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = e, this.t = t;
11
11
  }
12
12
  get styleSheet() {
13
13
  let e = this.o;
14
14
  const t = this.t;
15
- if (c2 && e === void 0) {
16
- const C = t !== void 0 && t.length === 1;
17
- C && (e = i5.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), C && i5.set(t, e));
15
+ if (f2 && e === void 0) {
16
+ const i = t !== void 0 && t.length === 1;
17
+ i && (e = u5.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && u5.set(t, e));
18
18
  }
19
19
  return e;
20
20
  }
@@ -22,105 +22,105 @@ let Z5 = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const q5 = (i) => new Z5(typeof i == "string" ? i : i + "", void 0, p2), h = (i, ...e) => {
26
- const t = i.length === 1 ? i[0] : e.reduce((C, o, l) => C + ((n) => {
27
- if (n._$cssResult$ === !0) return n.cssText;
28
- if (typeof n == "number") return n;
29
- throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
- })(o) + i[l + 1], i[0]);
31
- return new Z5(t, i, p2);
32
- }, G5 = (i, e) => {
33
- if (c2) i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
25
+ const l4 = (l) => new z5(typeof l == "string" ? l : l + "", void 0, H2), h = (l, ...e) => {
26
+ const t = l.length === 1 ? l[0] : e.reduce((i, o, r) => i + ((C) => {
27
+ if (C._$cssResult$ === !0) return C.cssText;
28
+ if (typeof C == "number") return C;
29
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + C + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
+ })(o) + l[r + 1], l[0]);
31
+ return new z5(t, l, H2);
32
+ }, r4 = (l, e) => {
33
+ if (f2) l.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
34
34
  else for (const t of e) {
35
- const C = document.createElement("style"), o = E1.litNonce;
36
- o !== void 0 && C.setAttribute("nonce", o), C.textContent = t.cssText, i.appendChild(C);
35
+ const i = document.createElement("style"), o = P1.litNonce;
36
+ o !== void 0 && i.setAttribute("nonce", o), i.textContent = t.cssText, l.appendChild(i);
37
37
  }
38
- }, l5 = c2 ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
38
+ }, h5 = f2 ? (l) => l : (l) => l instanceof CSSStyleSheet ? ((e) => {
39
39
  let t = "";
40
- for (const C of e.cssRules) t += C.cssText;
41
- return q5(t);
42
- })(i) : i;
40
+ for (const i of e.cssRules) t += i.cssText;
41
+ return l4(t);
42
+ })(l) : l;
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Y5, defineProperty: W5, getOwnPropertyDescriptor: X5, getOwnPropertyNames: K5, getOwnPropertySymbols: J5, getPrototypeOf: Q5 } = Object, B = globalThis, n5 = B.trustedTypes, e4 = n5 ? n5.emptyScript : "", N1 = B.reactiveElementPolyfillSupport, a1 = (i, e) => i, A1 = { toAttribute(i, e) {
48
+ const { is: C4, defineProperty: n4, getOwnPropertyDescriptor: a4, getOwnPropertyNames: s4, getOwnPropertySymbols: d4, getPrototypeOf: c4 } = Object, O = globalThis, g5 = O.trustedTypes, p4 = g5 ? g5.emptyScript : "", G1 = O.reactiveElementPolyfillSupport, h1 = (l, e) => l, S1 = { toAttribute(l, e) {
49
49
  switch (e) {
50
50
  case Boolean:
51
- i = i ? e4 : null;
51
+ l = l ? p4 : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
55
- i = i == null ? i : JSON.stringify(i);
55
+ l = l == null ? l : JSON.stringify(l);
56
56
  }
57
- return i;
58
- }, fromAttribute(i, e) {
59
- let t = i;
57
+ return l;
58
+ }, fromAttribute(l, e) {
59
+ let t = l;
60
60
  switch (e) {
61
61
  case Boolean:
62
- t = i !== null;
62
+ t = l !== null;
63
63
  break;
64
64
  case Number:
65
- t = i === null ? null : Number(i);
65
+ t = l === null ? null : Number(l);
66
66
  break;
67
67
  case Object:
68
68
  case Array:
69
69
  try {
70
- t = JSON.parse(i);
70
+ t = JSON.parse(l);
71
71
  } catch {
72
72
  t = null;
73
73
  }
74
74
  }
75
75
  return t;
76
- } }, u2 = (i, e) => !Y5(i, e), r5 = { attribute: !0, type: String, converter: A1, reflect: !1, useDefault: !1, hasChanged: u2 };
77
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), B.litPropertyMetadata ?? (B.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
- let K = class extends HTMLElement {
76
+ } }, V2 = (l, e) => !C4(l, e), v5 = { attribute: !0, type: String, converter: S1, reflect: !1, useDefault: !1, hasChanged: V2 };
77
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
+ let l1 = class extends HTMLElement {
79
79
  static addInitializer(e) {
80
80
  this._$Ei(), (this.l ?? (this.l = [])).push(e);
81
81
  }
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(e, t = r5) {
85
+ static createProperty(e, t = v5) {
86
86
  if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
87
- const C = Symbol(), o = this.getPropertyDescriptor(e, C, t);
88
- o !== void 0 && W5(this.prototype, e, o);
87
+ const i = Symbol(), o = this.getPropertyDescriptor(e, i, t);
88
+ o !== void 0 && n4(this.prototype, e, o);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(e, t, C) {
92
- const { get: o, set: l } = X5(this.prototype, e) ?? { get() {
91
+ static getPropertyDescriptor(e, t, i) {
92
+ const { get: o, set: r } = a4(this.prototype, e) ?? { get() {
93
93
  return this[t];
94
- }, set(n) {
95
- this[t] = n;
94
+ }, set(C) {
95
+ this[t] = C;
96
96
  } };
97
- return { get: o, set(n) {
97
+ return { get: o, set(C) {
98
98
  const a = o == null ? void 0 : o.call(this);
99
- l == null || l.call(this, n), this.requestUpdate(e, a, C);
99
+ r == null || r.call(this, C), this.requestUpdate(e, a, i);
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(e) {
103
- return this.elementProperties.get(e) ?? r5;
103
+ return this.elementProperties.get(e) ?? v5;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(a1("elementProperties"))) return;
107
- const e = Q5(this);
106
+ if (this.hasOwnProperty(h1("elementProperties"))) return;
107
+ const e = c4(this);
108
108
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
109
109
  }
110
110
  static finalize() {
111
- if (this.hasOwnProperty(a1("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(a1("properties"))) {
113
- const t = this.properties, C = [...K5(t), ...J5(t)];
114
- for (const o of C) this.createProperty(o, t[o]);
111
+ if (this.hasOwnProperty(h1("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(h1("properties"))) {
113
+ const t = this.properties, i = [...s4(t), ...d4(t)];
114
+ for (const o of i) this.createProperty(o, t[o]);
115
115
  }
116
116
  const e = this[Symbol.metadata];
117
117
  if (e !== null) {
118
118
  const t = litPropertyMetadata.get(e);
119
- if (t !== void 0) for (const [C, o] of t) this.elementProperties.set(C, o);
119
+ if (t !== void 0) for (const [i, o] of t) this.elementProperties.set(i, o);
120
120
  }
121
121
  this._$Eh = /* @__PURE__ */ new Map();
122
- for (const [t, C] of this.elementProperties) {
123
- const o = this._$Eu(t, C);
122
+ for (const [t, i] of this.elementProperties) {
123
+ const o = this._$Eu(t, i);
124
124
  o !== void 0 && this._$Eh.set(o, t);
125
125
  }
126
126
  this.elementStyles = this.finalizeStyles(this.styles);
@@ -128,14 +128,14 @@ let K = class extends HTMLElement {
128
128
  static finalizeStyles(e) {
129
129
  const t = [];
130
130
  if (Array.isArray(e)) {
131
- const C = new Set(e.flat(1 / 0).reverse());
132
- for (const o of C) t.unshift(l5(o));
133
- } else e !== void 0 && t.push(l5(e));
131
+ const i = new Set(e.flat(1 / 0).reverse());
132
+ for (const o of i) t.unshift(h5(o));
133
+ } else e !== void 0 && t.push(h5(e));
134
134
  return t;
135
135
  }
136
136
  static _$Eu(e, t) {
137
- const C = t.attribute;
138
- return C === !1 ? void 0 : typeof C == "string" ? C : typeof e == "string" ? e.toLowerCase() : void 0;
137
+ const i = t.attribute;
138
+ return i === !1 ? void 0 : typeof i == "string" ? i : typeof e == "string" ? e.toLowerCase() : void 0;
139
139
  }
140
140
  constructor() {
141
141
  super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
@@ -154,18 +154,18 @@ let K = class extends HTMLElement {
154
154
  }
155
155
  _$E_() {
156
156
  const e = /* @__PURE__ */ new Map(), t = this.constructor.elementProperties;
157
- for (const C of t.keys()) this.hasOwnProperty(C) && (e.set(C, this[C]), delete this[C]);
157
+ for (const i of t.keys()) this.hasOwnProperty(i) && (e.set(i, this[i]), delete this[i]);
158
158
  e.size > 0 && (this._$Ep = e);
159
159
  }
160
160
  createRenderRoot() {
161
161
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
162
- return G5(e, this.constructor.elementStyles), e;
162
+ return r4(e, this.constructor.elementStyles), e;
163
163
  }
164
164
  connectedCallback() {
165
165
  var e;
166
166
  this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (e = this._$EO) == null || e.forEach((t) => {
167
- var C;
168
- return (C = t.hostConnected) == null ? void 0 : C.call(t);
167
+ var i;
168
+ return (i = t.hostConnected) == null ? void 0 : i.call(t);
169
169
  });
170
170
  }
171
171
  enableUpdating(e) {
@@ -173,42 +173,42 @@ let K = class extends HTMLElement {
173
173
  disconnectedCallback() {
174
174
  var e;
175
175
  (e = this._$EO) == null || e.forEach((t) => {
176
- var C;
177
- return (C = t.hostDisconnected) == null ? void 0 : C.call(t);
176
+ var i;
177
+ return (i = t.hostDisconnected) == null ? void 0 : i.call(t);
178
178
  });
179
179
  }
180
- attributeChangedCallback(e, t, C) {
181
- this._$AK(e, C);
180
+ attributeChangedCallback(e, t, i) {
181
+ this._$AK(e, i);
182
182
  }
183
183
  _$ET(e, t) {
184
- var l;
185
- const C = this.constructor.elementProperties.get(e), o = this.constructor._$Eu(e, C);
186
- if (o !== void 0 && C.reflect === !0) {
187
- const n = (((l = C.converter) == null ? void 0 : l.toAttribute) !== void 0 ? C.converter : A1).toAttribute(t, C.type);
188
- this._$Em = e, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
184
+ var r;
185
+ const i = this.constructor.elementProperties.get(e), o = this.constructor._$Eu(e, i);
186
+ if (o !== void 0 && i.reflect === !0) {
187
+ const C = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : S1).toAttribute(t, i.type);
188
+ this._$Em = e, C == null ? this.removeAttribute(o) : this.setAttribute(o, C), this._$Em = null;
189
189
  }
190
190
  }
191
191
  _$AK(e, t) {
192
- var l, n;
193
- const C = this.constructor, o = C._$Eh.get(e);
192
+ var r, C;
193
+ const i = this.constructor, o = i._$Eh.get(e);
194
194
  if (o !== void 0 && this._$Em !== o) {
195
- const a = C.getPropertyOptions(o), s = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((l = a.converter) == null ? void 0 : l.fromAttribute) !== void 0 ? a.converter : A1;
195
+ const a = i.getPropertyOptions(o), d = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter : S1;
196
196
  this._$Em = o;
197
- const c = s.fromAttribute(t, a.type);
198
- this[o] = c ?? ((n = this._$Ej) == null ? void 0 : n.get(o)) ?? c, this._$Em = null;
197
+ const p = d.fromAttribute(t, a.type);
198
+ this[o] = p ?? ((C = this._$Ej) == null ? void 0 : C.get(o)) ?? p, this._$Em = null;
199
199
  }
200
200
  }
201
- requestUpdate(e, t, C, o = !1, l) {
202
- var n;
201
+ requestUpdate(e, t, i, o = !1, r) {
202
+ var C;
203
203
  if (e !== void 0) {
204
204
  const a = this.constructor;
205
- if (o === !1 && (l = this[e]), C ?? (C = a.getPropertyOptions(e)), !((C.hasChanged ?? u2)(l, t) || C.useDefault && C.reflect && l === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(a._$Eu(e, C)))) return;
206
- this.C(e, t, C);
205
+ if (o === !1 && (r = this[e]), i ?? (i = a.getPropertyOptions(e)), !((i.hasChanged ?? V2)(r, t) || i.useDefault && i.reflect && r === ((C = this._$Ej) == null ? void 0 : C.get(e)) && !this.hasAttribute(a._$Eu(e, i)))) return;
206
+ this.C(e, t, i);
207
207
  }
208
208
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
209
209
  }
210
- C(e, t, { useDefault: C, reflect: o, wrapped: l }, n) {
211
- C && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(e) && (this._$Ej.set(e, n ?? t ?? this[e]), l !== !0 || n !== void 0) || (this._$AL.has(e) || (this.hasUpdated || C || (t = void 0), this._$AL.set(e, t)), o === !0 && this._$Em !== e && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(e));
210
+ C(e, t, { useDefault: i, reflect: o, wrapped: r }, C) {
211
+ i && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(e) && (this._$Ej.set(e, C ?? t ?? this[e]), r !== !0 || C !== void 0) || (this._$AL.has(e) || (this.hasUpdated || i || (t = void 0), this._$AL.set(e, t)), o === !0 && this._$Em !== e && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(e));
212
212
  }
213
213
  async _$EP() {
214
214
  this.isUpdatePending = !0;
@@ -224,25 +224,25 @@ let K = class extends HTMLElement {
224
224
  return this.performUpdate();
225
225
  }
226
226
  performUpdate() {
227
- var C;
227
+ var i;
228
228
  if (!this.isUpdatePending) return;
229
229
  if (!this.hasUpdated) {
230
230
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
231
- for (const [l, n] of this._$Ep) this[l] = n;
231
+ for (const [r, C] of this._$Ep) this[r] = C;
232
232
  this._$Ep = void 0;
233
233
  }
234
234
  const o = this.constructor.elementProperties;
235
- if (o.size > 0) for (const [l, n] of o) {
236
- const { wrapped: a } = n, s = this[l];
237
- a !== !0 || this._$AL.has(l) || s === void 0 || this.C(l, void 0, n, s);
235
+ if (o.size > 0) for (const [r, C] of o) {
236
+ const { wrapped: a } = C, d = this[r];
237
+ a !== !0 || this._$AL.has(r) || d === void 0 || this.C(r, void 0, C, d);
238
238
  }
239
239
  }
240
240
  let e = !1;
241
241
  const t = this._$AL;
242
242
  try {
243
- e = this.shouldUpdate(t), e ? (this.willUpdate(t), (C = this._$EO) == null || C.forEach((o) => {
244
- var l;
245
- return (l = o.hostUpdate) == null ? void 0 : l.call(o);
243
+ e = this.shouldUpdate(t), e ? (this.willUpdate(t), (i = this._$EO) == null || i.forEach((o) => {
244
+ var r;
245
+ return (r = o.hostUpdate) == null ? void 0 : r.call(o);
246
246
  }), this.update(t)) : this._$EM();
247
247
  } catch (o) {
248
248
  throw e = !1, this._$EM(), o;
@@ -253,9 +253,9 @@ let K = class extends HTMLElement {
253
253
  }
254
254
  _$AE(e) {
255
255
  var t;
256
- (t = this._$EO) == null || t.forEach((C) => {
256
+ (t = this._$EO) == null || t.forEach((i) => {
257
257
  var o;
258
- return (o = C.hostUpdated) == null ? void 0 : o.call(C);
258
+ return (o = i.hostUpdated) == null ? void 0 : o.call(i);
259
259
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(e)), this.updated(e);
260
260
  }
261
261
  _$EM() {
@@ -278,76 +278,76 @@ let K = class extends HTMLElement {
278
278
  firstUpdated(e) {
279
279
  }
280
280
  };
281
- K.elementStyles = [], K.shadowRootOptions = { mode: "open" }, K[a1("elementProperties")] = /* @__PURE__ */ new Map(), K[a1("finalized")] = /* @__PURE__ */ new Map(), N1 == null || N1({ ReactiveElement: K }), (B.reactiveElementVersions ?? (B.reactiveElementVersions = [])).push("2.1.2");
281
+ l1.elementStyles = [], l1.shadowRootOptions = { mode: "open" }, l1[h1("elementProperties")] = /* @__PURE__ */ new Map(), l1[h1("finalized")] = /* @__PURE__ */ new Map(), G1 == null || G1({ ReactiveElement: l1 }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.1.2");
282
282
  /**
283
283
  * @license
284
284
  * Copyright 2017 Google LLC
285
285
  * SPDX-License-Identifier: BSD-3-Clause
286
286
  */
287
- const s1 = globalThis, a5 = (i) => i, B1 = s1.trustedTypes, s5 = B1 ? B1.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, y5 = "$lit$", A = `lit$${Math.random().toFixed(9).slice(2)}$`, _5 = "?" + A, t4 = `<${_5}>`, j = document, d1 = () => j.createComment(""), c1 = (i) => i === null || typeof i != "object" && typeof i != "function", h2 = Array.isArray, o4 = (i) => h2(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", j1 = `[
288
- \f\r]`, n1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, d5 = /-->/g, c5 = />/g, I = RegExp(`>|${j1}(?:([^\\s"'>=/]+)(${j1}*=${j1}*(?:[^
289
- \f\r"'\`<>=]|("|')|))|$)`, "g"), p5 = /'/g, u5 = /"/g, x5 = /^(?:script|style|textarea|title)$/i, R5 = (i) => (e, ...t) => ({ _$litType$: i, strings: e, values: t }), d = R5(1), X1 = R5(2), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), h5 = /* @__PURE__ */ new WeakMap(), T = j.createTreeWalker(j, 129);
290
- function w5(i, e) {
291
- if (!h2(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
292
- return s5 !== void 0 ? s5.createHTML(e) : e;
287
+ const g1 = globalThis, f5 = (l) => l, O1 = g1.trustedTypes, H5 = O1 ? O1.createPolicy("lit-html", { createHTML: (l) => l }) : void 0, F5 = "$lit$", S = `lit$${Math.random().toFixed(9).slice(2)}$`, P5 = "?" + S, u4 = `<${P5}>`, X = document, v1 = () => X.createComment(""), f1 = (l) => l === null || typeof l != "object" && typeof l != "function", L2 = Array.isArray, h4 = (l) => L2(l) || typeof (l == null ? void 0 : l[Symbol.iterator]) == "function", Y1 = `[
288
+ \f\r]`, p1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, V5 = /-->/g, L5 = />/g, W = RegExp(`>|${Y1}(?:([^\\s"'>=/]+)(${Y1}*=${Y1}*(?:[^
289
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), b5 = /'/g, m5 = /"/g, S5 = /^(?:script|style|textarea|title)$/i, O5 = (l) => (e, ...t) => ({ _$litType$: l, strings: e, values: t }), s = O5(1), t2 = O5(2), K = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), M5 = /* @__PURE__ */ new WeakMap(), G = X.createTreeWalker(X, 129);
290
+ function D5(l, e) {
291
+ if (!L2(l) || !l.hasOwnProperty("raw")) throw Error("invalid template strings array");
292
+ return H5 !== void 0 ? H5.createHTML(e) : e;
293
293
  }
294
- const C4 = (i, e) => {
295
- const t = i.length - 1, C = [];
296
- let o, l = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = n1;
294
+ const g4 = (l, e) => {
295
+ const t = l.length - 1, i = [];
296
+ let o, r = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", C = p1;
297
297
  for (let a = 0; a < t; a++) {
298
- const s = i[a];
299
- let c, H, v = -1, g = 0;
300
- for (; g < s.length && (n.lastIndex = g, H = n.exec(s), H !== null); ) g = n.lastIndex, n === n1 ? H[1] === "!--" ? n = d5 : H[1] !== void 0 ? n = c5 : H[2] !== void 0 ? (x5.test(H[2]) && (o = RegExp("</" + H[2], "g")), n = I) : H[3] !== void 0 && (n = I) : n === I ? H[0] === ">" ? (n = o ?? n1, v = -1) : H[1] === void 0 ? v = -2 : (v = n.lastIndex - H[2].length, c = H[1], n = H[3] === void 0 ? I : H[3] === '"' ? u5 : p5) : n === u5 || n === p5 ? n = I : n === d5 || n === c5 ? n = n1 : (n = I, o = void 0);
301
- const f = n === I && i[a + 1].startsWith("/>") ? " " : "";
302
- l += n === n1 ? s + t4 : v >= 0 ? (C.push(c), s.slice(0, v) + y5 + s.slice(v) + A + f) : s + A + (v === -2 ? a : f);
298
+ const d = l[a];
299
+ let p, g, v = -1, H = 0;
300
+ for (; H < d.length && (C.lastIndex = H, g = C.exec(d), g !== null); ) H = C.lastIndex, C === p1 ? g[1] === "!--" ? C = V5 : g[1] !== void 0 ? C = L5 : g[2] !== void 0 ? (S5.test(g[2]) && (o = RegExp("</" + g[2], "g")), C = W) : g[3] !== void 0 && (C = W) : C === W ? g[0] === ">" ? (C = o ?? p1, v = -1) : g[1] === void 0 ? v = -2 : (v = C.lastIndex - g[2].length, p = g[1], C = g[3] === void 0 ? W : g[3] === '"' ? m5 : b5) : C === m5 || C === b5 ? C = W : C === V5 || C === L5 ? C = p1 : (C = W, o = void 0);
301
+ const f = C === W && l[a + 1].startsWith("/>") ? " " : "";
302
+ r += C === p1 ? d + u4 : v >= 0 ? (i.push(p), d.slice(0, v) + F5 + d.slice(v) + S + f) : d + S + (v === -2 ? a : f);
303
303
  }
304
- return [w5(i, l + (i[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), C];
304
+ return [D5(l, r + (l[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
305
305
  };
306
- class p1 {
307
- constructor({ strings: e, _$litType$: t }, C) {
306
+ class H1 {
307
+ constructor({ strings: e, _$litType$: t }, i) {
308
308
  let o;
309
309
  this.parts = [];
310
- let l = 0, n = 0;
311
- const a = e.length - 1, s = this.parts, [c, H] = C4(e, t);
312
- if (this.el = p1.createElement(c, C), T.currentNode = this.el.content, t === 2 || t === 3) {
310
+ let r = 0, C = 0;
311
+ const a = e.length - 1, d = this.parts, [p, g] = g4(e, t);
312
+ if (this.el = H1.createElement(p, i), G.currentNode = this.el.content, t === 2 || t === 3) {
313
313
  const v = this.el.content.firstChild;
314
314
  v.replaceWith(...v.childNodes);
315
315
  }
316
- for (; (o = T.nextNode()) !== null && s.length < a; ) {
316
+ for (; (o = G.nextNode()) !== null && d.length < a; ) {
317
317
  if (o.nodeType === 1) {
318
- if (o.hasAttributes()) for (const v of o.getAttributeNames()) if (v.endsWith(y5)) {
319
- const g = H[n++], f = o.getAttribute(v).split(A), M = /([.?@])?(.*)/.exec(g);
320
- s.push({ type: 1, index: l, name: M[2], strings: f, ctor: M[1] === "." ? l4 : M[1] === "?" ? n4 : M[1] === "@" ? r4 : I1 }), o.removeAttribute(v);
321
- } else v.startsWith(A) && (s.push({ type: 6, index: l }), o.removeAttribute(v));
322
- if (x5.test(o.tagName)) {
323
- const v = o.textContent.split(A), g = v.length - 1;
324
- if (g > 0) {
325
- o.textContent = B1 ? B1.emptyScript : "";
326
- for (let f = 0; f < g; f++) o.append(v[f], d1()), T.nextNode(), s.push({ type: 2, index: ++l });
327
- o.append(v[g], d1());
318
+ if (o.hasAttributes()) for (const v of o.getAttributeNames()) if (v.endsWith(F5)) {
319
+ const H = g[C++], f = o.getAttribute(v).split(S), M = /([.?@])?(.*)/.exec(H);
320
+ d.push({ type: 1, index: r, name: M[2], strings: f, ctor: M[1] === "." ? f4 : M[1] === "?" ? H4 : M[1] === "@" ? V4 : q1 }), o.removeAttribute(v);
321
+ } else v.startsWith(S) && (d.push({ type: 6, index: r }), o.removeAttribute(v));
322
+ if (S5.test(o.tagName)) {
323
+ const v = o.textContent.split(S), H = v.length - 1;
324
+ if (H > 0) {
325
+ o.textContent = O1 ? O1.emptyScript : "";
326
+ for (let f = 0; f < H; f++) o.append(v[f], v1()), G.nextNode(), d.push({ type: 2, index: ++r });
327
+ o.append(v[H], v1());
328
328
  }
329
329
  }
330
- } else if (o.nodeType === 8) if (o.data === _5) s.push({ type: 2, index: l });
330
+ } else if (o.nodeType === 8) if (o.data === P5) d.push({ type: 2, index: r });
331
331
  else {
332
332
  let v = -1;
333
- for (; (v = o.data.indexOf(A, v + 1)) !== -1; ) s.push({ type: 7, index: l }), v += A.length - 1;
333
+ for (; (v = o.data.indexOf(S, v + 1)) !== -1; ) d.push({ type: 7, index: r }), v += S.length - 1;
334
334
  }
335
- l++;
335
+ r++;
336
336
  }
337
337
  }
338
338
  static createElement(e, t) {
339
- const C = j.createElement("template");
340
- return C.innerHTML = e, C;
339
+ const i = X.createElement("template");
340
+ return i.innerHTML = e, i;
341
341
  }
342
342
  }
343
- function J(i, e, t = i, C) {
344
- var n, a;
345
- if (e === U) return e;
346
- let o = C !== void 0 ? (n = t._$Co) == null ? void 0 : n[C] : t._$Cl;
347
- const l = c1(e) ? void 0 : e._$litDirective$;
348
- return (o == null ? void 0 : o.constructor) !== l && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), l === void 0 ? o = void 0 : (o = new l(i), o._$AT(i, t, C)), C !== void 0 ? (t._$Co ?? (t._$Co = []))[C] = o : t._$Cl = o), o !== void 0 && (e = J(i, o._$AS(i, e.values), o, C)), e;
343
+ function r1(l, e, t = l, i) {
344
+ var C, a;
345
+ if (e === K) return e;
346
+ let o = i !== void 0 ? (C = t._$Co) == null ? void 0 : C[i] : t._$Cl;
347
+ const r = f1(e) ? void 0 : e._$litDirective$;
348
+ return (o == null ? void 0 : o.constructor) !== r && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), r === void 0 ? o = void 0 : (o = new r(l), o._$AT(l, t, i)), i !== void 0 ? (t._$Co ?? (t._$Co = []))[i] = o : t._$Cl = o), o !== void 0 && (e = r1(l, o._$AS(l, e.values), o, i)), e;
349
349
  }
350
- class i4 {
350
+ class v4 {
351
351
  constructor(e, t) {
352
352
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
353
353
  }
@@ -358,30 +358,30 @@ class i4 {
358
358
  return this._$AM._$AU;
359
359
  }
360
360
  u(e) {
361
- const { el: { content: t }, parts: C } = this._$AD, o = ((e == null ? void 0 : e.creationScope) ?? j).importNode(t, !0);
362
- T.currentNode = o;
363
- let l = T.nextNode(), n = 0, a = 0, s = C[0];
364
- for (; s !== void 0; ) {
365
- if (n === s.index) {
366
- let c;
367
- s.type === 2 ? c = new Z1(l, l.nextSibling, this, e) : s.type === 1 ? c = new s.ctor(l, s.name, s.strings, this, e) : s.type === 6 && (c = new a4(l, this, e)), this._$AV.push(c), s = C[++a];
361
+ const { el: { content: t }, parts: i } = this._$AD, o = ((e == null ? void 0 : e.creationScope) ?? X).importNode(t, !0);
362
+ G.currentNode = o;
363
+ let r = G.nextNode(), C = 0, a = 0, d = i[0];
364
+ for (; d !== void 0; ) {
365
+ if (C === d.index) {
366
+ let p;
367
+ d.type === 2 ? p = new $1(r, r.nextSibling, this, e) : d.type === 1 ? p = new d.ctor(r, d.name, d.strings, this, e) : d.type === 6 && (p = new L4(r, this, e)), this._$AV.push(p), d = i[++a];
368
368
  }
369
- n !== (s == null ? void 0 : s.index) && (l = T.nextNode(), n++);
369
+ C !== (d == null ? void 0 : d.index) && (r = G.nextNode(), C++);
370
370
  }
371
- return T.currentNode = j, o;
371
+ return G.currentNode = X, o;
372
372
  }
373
373
  p(e) {
374
374
  let t = 0;
375
- for (const C of this._$AV) C !== void 0 && (C.strings !== void 0 ? (C._$AI(e, C, t), t += C.strings.length - 2) : C._$AI(e[t])), t++;
375
+ for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, t), t += i.strings.length - 2) : i._$AI(e[t])), t++;
376
376
  }
377
377
  }
378
- class Z1 {
378
+ class $1 {
379
379
  get _$AU() {
380
380
  var e;
381
381
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
382
382
  }
383
- constructor(e, t, C, o) {
384
- this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = C, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
383
+ constructor(e, t, i, o) {
384
+ this.type = 2, this._$AH = c, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = i, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
385
385
  }
386
386
  get parentNode() {
387
387
  let e = this._$AA.parentNode;
@@ -395,7 +395,7 @@ class Z1 {
395
395
  return this._$AB;
396
396
  }
397
397
  _$AI(e, t = this) {
398
- e = J(this, e, t), c1(e) ? e === p || e == null || e === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : e !== this._$AH && e !== U && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : o4(e) ? this.k(e) : this._(e);
398
+ e = r1(this, e, t), f1(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== K && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : h4(e) ? this.k(e) : this._(e);
399
399
  }
400
400
  O(e) {
401
401
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -404,33 +404,33 @@ class Z1 {
404
404
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
405
405
  }
406
406
  _(e) {
407
- this._$AH !== p && c1(this._$AH) ? this._$AA.nextSibling.data = e : this.T(j.createTextNode(e)), this._$AH = e;
407
+ this._$AH !== c && f1(this._$AH) ? this._$AA.nextSibling.data = e : this.T(X.createTextNode(e)), this._$AH = e;
408
408
  }
409
409
  $(e) {
410
- var l;
411
- const { values: t, _$litType$: C } = e, o = typeof C == "number" ? this._$AC(e) : (C.el === void 0 && (C.el = p1.createElement(w5(C.h, C.h[0]), this.options)), C);
412
- if (((l = this._$AH) == null ? void 0 : l._$AD) === o) this._$AH.p(t);
410
+ var r;
411
+ const { values: t, _$litType$: i } = e, o = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = H1.createElement(D5(i.h, i.h[0]), this.options)), i);
412
+ if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(t);
413
413
  else {
414
- const n = new i4(o, this), a = n.u(this.options);
415
- n.p(t), this.T(a), this._$AH = n;
414
+ const C = new v4(o, this), a = C.u(this.options);
415
+ C.p(t), this.T(a), this._$AH = C;
416
416
  }
417
417
  }
418
418
  _$AC(e) {
419
- let t = h5.get(e.strings);
420
- return t === void 0 && h5.set(e.strings, t = new p1(e)), t;
419
+ let t = M5.get(e.strings);
420
+ return t === void 0 && M5.set(e.strings, t = new H1(e)), t;
421
421
  }
422
422
  k(e) {
423
- h2(this._$AH) || (this._$AH = [], this._$AR());
423
+ L2(this._$AH) || (this._$AH = [], this._$AR());
424
424
  const t = this._$AH;
425
- let C, o = 0;
426
- for (const l of e) o === t.length ? t.push(C = new Z1(this.O(d1()), this.O(d1()), this, this.options)) : C = t[o], C._$AI(l), o++;
427
- o < t.length && (this._$AR(C && C._$AB.nextSibling, o), t.length = o);
425
+ let i, o = 0;
426
+ for (const r of e) o === t.length ? t.push(i = new $1(this.O(v1()), this.O(v1()), this, this.options)) : i = t[o], i._$AI(r), o++;
427
+ o < t.length && (this._$AR(i && i._$AB.nextSibling, o), t.length = o);
428
428
  }
429
429
  _$AR(e = this._$AA.nextSibling, t) {
430
- var C;
431
- for ((C = this._$AP) == null ? void 0 : C.call(this, !1, !0, t); e !== this._$AB; ) {
432
- const o = a5(e).nextSibling;
433
- a5(e).remove(), e = o;
430
+ var i;
431
+ for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, t); e !== this._$AB; ) {
432
+ const o = f5(e).nextSibling;
433
+ f5(e).remove(), e = o;
434
434
  }
435
435
  }
436
436
  setConnected(e) {
@@ -438,90 +438,90 @@ class Z1 {
438
438
  this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
439
439
  }
440
440
  }
441
- class I1 {
441
+ class q1 {
442
442
  get tagName() {
443
443
  return this.element.tagName;
444
444
  }
445
445
  get _$AU() {
446
446
  return this._$AM._$AU;
447
447
  }
448
- constructor(e, t, C, o, l) {
449
- this.type = 1, this._$AH = p, this._$AN = void 0, this.element = e, this.name = t, this._$AM = o, this.options = l, C.length > 2 || C[0] !== "" || C[1] !== "" ? (this._$AH = Array(C.length - 1).fill(new String()), this.strings = C) : this._$AH = p;
448
+ constructor(e, t, i, o, r) {
449
+ this.type = 1, this._$AH = c, this._$AN = void 0, this.element = e, this.name = t, this._$AM = o, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = c;
450
450
  }
451
- _$AI(e, t = this, C, o) {
452
- const l = this.strings;
453
- let n = !1;
454
- if (l === void 0) e = J(this, e, t, 0), n = !c1(e) || e !== this._$AH && e !== U, n && (this._$AH = e);
451
+ _$AI(e, t = this, i, o) {
452
+ const r = this.strings;
453
+ let C = !1;
454
+ if (r === void 0) e = r1(this, e, t, 0), C = !f1(e) || e !== this._$AH && e !== K, C && (this._$AH = e);
455
455
  else {
456
456
  const a = e;
457
- let s, c;
458
- for (e = l[0], s = 0; s < l.length - 1; s++) c = J(this, a[C + s], t, s), c === U && (c = this._$AH[s]), n || (n = !c1(c) || c !== this._$AH[s]), c === p ? e = p : e !== p && (e += (c ?? "") + l[s + 1]), this._$AH[s] = c;
457
+ let d, p;
458
+ for (e = r[0], d = 0; d < r.length - 1; d++) p = r1(this, a[i + d], t, d), p === K && (p = this._$AH[d]), C || (C = !f1(p) || p !== this._$AH[d]), p === c ? e = c : e !== c && (e += (p ?? "") + r[d + 1]), this._$AH[d] = p;
459
459
  }
460
- n && !o && this.j(e);
460
+ C && !o && this.j(e);
461
461
  }
462
462
  j(e) {
463
- e === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
463
+ e === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
464
464
  }
465
465
  }
466
- class l4 extends I1 {
466
+ class f4 extends q1 {
467
467
  constructor() {
468
468
  super(...arguments), this.type = 3;
469
469
  }
470
470
  j(e) {
471
- this.element[this.name] = e === p ? void 0 : e;
471
+ this.element[this.name] = e === c ? void 0 : e;
472
472
  }
473
473
  }
474
- class n4 extends I1 {
474
+ class H4 extends q1 {
475
475
  constructor() {
476
476
  super(...arguments), this.type = 4;
477
477
  }
478
478
  j(e) {
479
- this.element.toggleAttribute(this.name, !!e && e !== p);
479
+ this.element.toggleAttribute(this.name, !!e && e !== c);
480
480
  }
481
481
  }
482
- class r4 extends I1 {
483
- constructor(e, t, C, o, l) {
484
- super(e, t, C, o, l), this.type = 5;
482
+ class V4 extends q1 {
483
+ constructor(e, t, i, o, r) {
484
+ super(e, t, i, o, r), this.type = 5;
485
485
  }
486
486
  _$AI(e, t = this) {
487
- if ((e = J(this, e, t, 0) ?? p) === U) return;
488
- const C = this._$AH, o = e === p && C !== p || e.capture !== C.capture || e.once !== C.once || e.passive !== C.passive, l = e !== p && (C === p || o);
489
- o && this.element.removeEventListener(this.name, this, C), l && this.element.addEventListener(this.name, this, e), this._$AH = e;
487
+ if ((e = r1(this, e, t, 0) ?? c) === K) return;
488
+ const i = this._$AH, o = e === c && i !== c || e.capture !== i.capture || e.once !== i.once || e.passive !== i.passive, r = e !== c && (i === c || o);
489
+ o && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, e), this._$AH = e;
490
490
  }
491
491
  handleEvent(e) {
492
492
  var t;
493
493
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
494
494
  }
495
495
  }
496
- class a4 {
497
- constructor(e, t, C) {
498
- this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = C;
496
+ class L4 {
497
+ constructor(e, t, i) {
498
+ this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = i;
499
499
  }
500
500
  get _$AU() {
501
501
  return this._$AM._$AU;
502
502
  }
503
503
  _$AI(e) {
504
- J(this, e);
504
+ r1(this, e);
505
505
  }
506
506
  }
507
- const U1 = s1.litHtmlPolyfillSupport;
508
- U1 == null || U1(p1, Z1), (s1.litHtmlVersions ?? (s1.litHtmlVersions = [])).push("3.3.2");
509
- const s4 = (i, e, t) => {
510
- const C = (t == null ? void 0 : t.renderBefore) ?? e;
511
- let o = C._$litPart$;
507
+ const X1 = g1.litHtmlPolyfillSupport;
508
+ X1 == null || X1(H1, $1), (g1.litHtmlVersions ?? (g1.litHtmlVersions = [])).push("3.3.2");
509
+ const b4 = (l, e, t) => {
510
+ const i = (t == null ? void 0 : t.renderBefore) ?? e;
511
+ let o = i._$litPart$;
512
512
  if (o === void 0) {
513
- const l = (t == null ? void 0 : t.renderBefore) ?? null;
514
- C._$litPart$ = o = new Z1(e.insertBefore(d1(), l), l, void 0, t ?? {});
513
+ const r = (t == null ? void 0 : t.renderBefore) ?? null;
514
+ i._$litPart$ = o = new $1(e.insertBefore(v1(), r), r, void 0, t ?? {});
515
515
  }
516
- return o._$AI(i), o;
516
+ return o._$AI(l), o;
517
517
  };
518
518
  /**
519
519
  * @license
520
520
  * Copyright 2017 Google LLC
521
521
  * SPDX-License-Identifier: BSD-3-Clause
522
522
  */
523
- const N = globalThis;
524
- let u = class extends K {
523
+ const Y = globalThis;
524
+ let u = class extends l1 {
525
525
  constructor() {
526
526
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
527
527
  }
@@ -532,7 +532,7 @@ let u = class extends K {
532
532
  }
533
533
  update(e) {
534
534
  const t = this.render();
535
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = s4(t, this.renderRoot, this.renderOptions);
535
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = b4(t, this.renderRoot, this.renderOptions);
536
536
  }
537
537
  connectedCallback() {
538
538
  var e;
@@ -543,82 +543,82 @@ let u = class extends K {
543
543
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
544
544
  }
545
545
  render() {
546
- return U;
546
+ return K;
547
547
  }
548
548
  };
549
- var m5;
550
- u._$litElement$ = !0, u.finalized = !0, (m5 = N.litElementHydrateSupport) == null || m5.call(N, { LitElement: u });
551
- const q1 = N.litElementPolyfillSupport;
552
- q1 == null || q1({ LitElement: u });
553
- (N.litElementVersions ?? (N.litElementVersions = [])).push("4.2.2");
549
+ var B5;
550
+ u._$litElement$ = !0, u.finalized = !0, (B5 = Y.litElementHydrateSupport) == null || B5.call(Y, { LitElement: u });
551
+ const K1 = Y.litElementPolyfillSupport;
552
+ K1 == null || K1({ LitElement: u });
553
+ (Y.litElementVersions ?? (Y.litElementVersions = [])).push("4.2.2");
554
554
  /**
555
555
  * @license
556
556
  * Copyright 2017 Google LLC
557
557
  * SPDX-License-Identifier: BSD-3-Clause
558
558
  */
559
- const d4 = { attribute: !0, type: String, converter: A1, reflect: !1, hasChanged: u2 }, c4 = (i = d4, e, t) => {
560
- const { kind: C, metadata: o } = t;
561
- let l = globalThis.litPropertyMetadata.get(o);
562
- if (l === void 0 && globalThis.litPropertyMetadata.set(o, l = /* @__PURE__ */ new Map()), C === "setter" && ((i = Object.create(i)).wrapped = !0), l.set(t.name, i), C === "accessor") {
563
- const { name: n } = t;
559
+ const m4 = { attribute: !0, type: String, converter: S1, reflect: !1, hasChanged: V2 }, M4 = (l = m4, e, t) => {
560
+ const { kind: i, metadata: o } = t;
561
+ let r = globalThis.litPropertyMetadata.get(o);
562
+ if (r === void 0 && globalThis.litPropertyMetadata.set(o, r = /* @__PURE__ */ new Map()), i === "setter" && ((l = Object.create(l)).wrapped = !0), r.set(t.name, l), i === "accessor") {
563
+ const { name: C } = t;
564
564
  return { set(a) {
565
- const s = e.get.call(this);
566
- e.set.call(this, a), this.requestUpdate(n, s, i, !0, a);
565
+ const d = e.get.call(this);
566
+ e.set.call(this, a), this.requestUpdate(C, d, l, !0, a);
567
567
  }, init(a) {
568
- return a !== void 0 && this.C(n, void 0, i, a), a;
568
+ return a !== void 0 && this.C(C, void 0, l, a), a;
569
569
  } };
570
570
  }
571
- if (C === "setter") {
572
- const { name: n } = t;
571
+ if (i === "setter") {
572
+ const { name: C } = t;
573
573
  return function(a) {
574
- const s = this[n];
575
- e.call(this, a), this.requestUpdate(n, s, i, !0, a);
574
+ const d = this[C];
575
+ e.call(this, a), this.requestUpdate(C, d, l, !0, a);
576
576
  };
577
577
  }
578
- throw Error("Unsupported decorator location: " + C);
578
+ throw Error("Unsupported decorator location: " + i);
579
579
  };
580
- function r(i) {
581
- return (e, t) => typeof t == "object" ? c4(i, e, t) : ((C, o, l) => {
582
- const n = o.hasOwnProperty(l);
583
- return o.constructor.createProperty(l, C), n ? Object.getOwnPropertyDescriptor(o, l) : void 0;
584
- })(i, e, t);
580
+ function n(l) {
581
+ return (e, t) => typeof t == "object" ? M4(l, e, t) : ((i, o, r) => {
582
+ const C = o.hasOwnProperty(r);
583
+ return o.constructor.createProperty(r, i), C ? Object.getOwnPropertyDescriptor(o, r) : void 0;
584
+ })(l, e, t);
585
585
  }
586
586
  /**
587
587
  * @license
588
588
  * Copyright 2017 Google LLC
589
589
  * SPDX-License-Identifier: BSD-3-Clause
590
590
  */
591
- function x(i) {
592
- return r({ ...i, state: !0, attribute: !1 });
591
+ function y(l) {
592
+ return n({ ...l, state: !0, attribute: !1 });
593
593
  }
594
594
  /**
595
595
  * @license
596
596
  * Copyright 2017 Google LLC
597
597
  * SPDX-License-Identifier: BSD-3-Clause
598
598
  */
599
- const p4 = (i, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(i, e, t), t);
599
+ const Z4 = (l, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(l, e, t), t);
600
600
  /**
601
601
  * @license
602
602
  * Copyright 2017 Google LLC
603
603
  * SPDX-License-Identifier: BSD-3-Clause
604
604
  */
605
- function D(i, e) {
606
- return (t, C, o) => {
607
- const l = (n) => {
605
+ function w(l, e) {
606
+ return (t, i, o) => {
607
+ const r = (C) => {
608
608
  var a;
609
- return ((a = n.renderRoot) == null ? void 0 : a.querySelector(i)) ?? null;
609
+ return ((a = C.renderRoot) == null ? void 0 : a.querySelector(l)) ?? null;
610
610
  };
611
- return p4(t, C, { get() {
612
- return l(this);
611
+ return Z4(t, i, { get() {
612
+ return r(this);
613
613
  } });
614
614
  };
615
615
  }
616
- var u4 = Object.defineProperty, k5 = (i, e, t, C) => {
617
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
618
- (n = i[l]) && (o = n(e, t, o) || o);
619
- return o && u4(e, t, o), o;
616
+ var y4 = Object.defineProperty, I5 = (l, e, t, i) => {
617
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
618
+ (C = l[r]) && (o = C(e, t, o) || o);
619
+ return o && y4(e, t, o), o;
620
620
  };
621
- const V2 = class V2 extends u {
621
+ const Z2 = class Z2 extends u {
622
622
  constructor() {
623
623
  super(...arguments), this.size = "medium", this.percent = "";
624
624
  }
@@ -637,17 +637,17 @@ const V2 = class V2 extends u {
637
637
  }
638
638
  }
639
639
  render() {
640
- const [e, t] = this.getSizeParams(this.size), C = this.percent === "" || this.percent === null;
640
+ const [e, t] = this.getSizeParams(this.size), i = this.percent === "" || this.percent === null;
641
641
  let o;
642
- C ? o = 0.75 * Math.PI * e : o = (1 - Math.max(0, Math.min(1, parseFloat(this.percent) || 0))) * Math.PI * e;
643
- const l = t / 2, n = t + e, a = e / 2, s = Math.PI * e;
644
- return X1`
642
+ i ? o = 0.75 * Math.PI * e : o = (1 - Math.max(0, Math.min(1, parseFloat(this.percent) || 0))) * Math.PI * e;
643
+ const r = t / 2, C = t + e, a = e / 2, d = Math.PI * e;
644
+ return t2`
645
645
  <svg
646
- class=${C ? "spinner" : ""}
646
+ class=${i ? "spinner" : ""}
647
647
  width="${e}px"
648
648
  height="${e}px"
649
649
  transform="rotate(-90)"
650
- viewBox="-${l} -${l} ${n} ${n}"
650
+ viewBox="-${r} -${r} ${C} ${C}"
651
651
  xmlns="http://www.w3.org/2000/svg"
652
652
  >
653
653
  <circle
@@ -668,27 +668,27 @@ const V2 = class V2 extends u {
668
668
  cy="${a}"
669
669
  r="${a}"
670
670
  fill-opacity="0"
671
- stroke-dasharray="${s}"
671
+ stroke-dasharray="${d}"
672
672
  stroke-dashoffset="${o}"
673
673
  />
674
674
  </svg>
675
675
  `;
676
676
  }
677
677
  };
678
- V2.styles = h`
678
+ Z2.styles = h`
679
679
  :host { display: inline-block; line-height: 0; font-family: var(--font-sans); }
680
680
  .spinner { animation: circle 0.6s linear infinite; }
681
681
  @keyframes circle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
682
682
  `;
683
- let u1 = V2;
684
- k5([
685
- r()
686
- ], u1.prototype, "size");
687
- k5([
688
- r()
689
- ], u1.prototype, "percent");
690
- customElements.get("anduin-spinner") || customElements.define("anduin-spinner", u1);
691
- const H5 = {
683
+ let V1 = Z2;
684
+ I5([
685
+ n()
686
+ ], V1.prototype, "size");
687
+ I5([
688
+ n()
689
+ ], V1.prototype, "percent");
690
+ customElements.get("anduin-spinner") || customElements.define("anduin-spinner", V1);
691
+ const Z5 = {
692
692
  access: [{ d: "M13 2.5H3C2.72386 2.5 2.5 2.72386 2.5 3V5.75H1V3C1 1.89543 1.89543 1 3 1H13C14.1046 1 15 1.89543 15 3V13C15 14.1046 14.1046 15 13 15H3C1.89543 15 1 14.1046 1 13V10.25H2.5V13C2.5 13.2761 2.72386 13.5 3 13.5H13C13.2761 13.5 13.5 13.2761 13.5 13V3C13.5 2.72386 13.2761 2.5 13 2.5ZM7.53033 4.21979C7.23744 3.9269 6.76256 3.9269 6.46967 4.21979C6.17678 4.51269 6.17678 4.98756 6.46967 5.28045L8.43922 7.25L0.75 7.25C0.335786 7.25 0 7.58579 0 8C0 8.41421 0.335786 8.75 0.75 8.75L8.43946 8.75L6.46967 10.7198C6.17678 11.0127 6.17678 11.4876 6.46967 11.7805C6.76256 12.0733 7.23744 12.0733 7.53033 11.7805L10.7803 8.53044C11.0732 8.23755 11.0732 7.76268 10.7803 7.46978L7.53033 4.21979Z", fillRule: "evenodd", clipRule: "evenodd" }],
693
693
  alignCenter: [{ d: "M2 1C1.44772 1 1 1.44772 1 2C1 2.55228 1.44772 3 2 3H14C14.5523 3 15 2.55228 15 2C15 1.44772 14.5523 1 14 1H2ZM2 9C1.44772 9 1 9.44771 1 10C1 10.5523 1.44772 11 2 11H14C14.5523 11 15 10.5523 15 10C15 9.44771 14.5523 9 14 9H2ZM4 6C4 5.44772 4.44772 5 5 5H11C11.5523 5 12 5.44772 12 6C12 6.55228 11.5523 7 11 7H5C4.44772 7 4 6.55228 4 6ZM5 13C4.44772 13 4 13.4477 4 14C4 14.5523 4.44772 15 5 15H11C11.5523 15 12 14.5523 12 14C12 13.4477 11.5523 13 11 13H5Z", fillRule: "evenodd", clipRule: "evenodd" }],
694
694
  alignJustify: [{ d: "M2 1C1.44772 1 1 1.44772 1 2C1 2.55228 1.44772 3 2 3H14C14.5523 3 15 2.55228 15 2C15 1.44772 14.5523 1 14 1H2ZM2 9C1.44772 9 1 9.44771 1 10C1 10.5523 1.44772 11 2 11H14C14.5523 11 15 10.5523 15 10C15 9.44771 14.5523 9 14 9H2ZM1 6C1 5.44772 1.44772 5 2 5H14C14.5523 5 15 5.44772 15 6C15 6.55228 14.5523 7 14 7H2C1.44772 7 1 6.55228 1 6ZM2 13C1.44772 13 1 13.4477 1 14C1 14.5523 1.44772 15 2 15H14C14.5523 15 15 14.5523 15 14C15 13.4477 14.5523 13 14 13H2Z", fillRule: "evenodd", clipRule: "evenodd" }],
@@ -836,17 +836,23 @@ const H5 = {
836
836
  fastBackward: [{ d: "M2.5 4.75C2.5 4.33579 2.16421 4 1.75 4C1.33579 4 1 4.33579 1 4.75V11.25C1 11.6642 1.33579 12 1.75 12C2.16421 12 2.5 11.6642 2.5 11.25V4.75ZM4.34907 7.24109L8.17507 4.12109C8.49907 3.84409 9.00007 4.07409 9.00007 4.50109V11.4991C9.00007 11.9261 8.49907 12.1561 8.17507 11.8791L4.34907 8.76009C3.88307 8.36009 3.88307 7.64009 4.34907 7.24109ZM10.3491 7.24109L14.1751 4.12109C14.4991 3.84409 15.0001 4.07409 15.0001 4.50109V11.4991C15.0001 11.9261 14.4991 12.1561 14.1751 11.8791L10.3491 8.76009C9.88307 8.36009 9.88307 7.64009 10.3491 7.24109Z", fillRule: "evenodd", clipRule: "evenodd" }],
837
837
  fastForward: [{ d: "M14.25 4C14.6642 4 15 4.33579 15 4.75V11.25C15 11.6642 14.6642 12 14.25 12C13.8358 12 13.5 11.6642 13.5 11.25V4.75C13.5 4.33579 13.8358 4 14.25 4ZM1.825 4.12111C1.501 3.84411 1 4.07411 1 4.50111V11.4991C1 11.9261 1.501 12.1561 1.825 11.8791L5.651 8.75911C6.116 8.36011 6.116 7.64011 5.651 7.24011L1.825 4.12111ZM7.825 4.12111C7.501 3.84411 7 4.07411 7 4.50111V11.4991C7 11.9261 7.501 12.1561 7.825 11.8791L11.651 8.75911C12.117 8.36011 12.117 7.64011 11.651 7.24011L7.825 4.12111Z", fillRule: "evenodd", clipRule: "evenodd" }],
838
838
  fileAdd: [{ d: "M3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H8.33276C8.55486 15.0601 8.88043 15.568 9.28588 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08579C9.54992 0 9.99504 0.184375 10.3232 0.512563L13.4874 3.67678C13.8156 4.00497 14 4.45008 14 4.91421V8.16619C13.6017 8.05783 13.1826 8 12.75 8C12.6661 8 12.5828 8.00217 12.5 8.00647V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 1.81066L12.1893 4.5H9.75C9.61193 4.5 9.5 4.38807 9.5 4.25V1.81066ZM12.75 9.49994C13.1642 9.49994 13.5 9.83573 13.5 10.2499V11.9999H15.25C15.6642 11.9999 16 12.3357 16 12.7499C16 13.1642 15.6642 13.4999 15.25 13.4999H13.5V15.2499C13.5 15.6642 13.1642 15.9999 12.75 15.9999C12.3358 15.9999 12 15.6642 12 15.2499V13.4999H10.25C9.83579 13.4999 9.5 13.1642 9.5 12.7499C9.5 12.3357 9.83579 11.9999 10.25 11.9999H12V10.2499C12 9.83573 12.3358 9.49994 12.75 9.49994Z", fillRule: "evenodd", clipRule: "evenodd" }],
839
+ fileAudio: [{ d: "M11.5 4C11.7761 4 12 4.22386 12 4.5V6C12 6.27614 11.7761 6.5 11.5 6.5H9V10C9 11.1046 8.10457 12 7 12C5.89543 12 5 11.1046 5 10C5 8.89543 5.89543 8 7 8C7.36429 8 7.70583 8.09741 8 8.26758V4.5C8 4.22386 8.22386 4 8.5 4H11.5Z", fillRule: "", clipRule: "" }, { d: "M13 1C14.1046 1 15 1.89543 15 3V13C15 14.0357 14.2128 14.887 13.2041 14.9893L13 15H3L2.7959 14.9893C1.85435 14.8938 1.1062 14.1457 1.01074 13.2041L1 13V3C1 1.89543 1.89543 1 3 1H13ZM3 2.5C2.72386 2.5 2.5 2.72386 2.5 3V13C2.5 13.2761 2.72386 13.5 3 13.5H13C13.2761 13.5 13.5 13.2761 13.5 13V3C13.5 2.72386 13.2761 2.5 13 2.5H3Z", fillRule: "evenodd", clipRule: "evenodd" }],
840
+ fileBlueprint: [{ d: "M6.5 13.5H5C4.72386 13.5 4.5 13.2761 4.5 13V10H6.5V13.5Z", fillRule: "", clipRule: "" }, { d: "M11.5 13C11.5 13.2761 11.2761 13.5 11 13.5H7.5V10H11.5V13Z", fillRule: "", clipRule: "" }, { d: "M11 7C11.2761 7 11.5 7.22386 11.5 7.5V9H4.5V7.5C4.5 7.22386 4.72386 7 5 7H11Z", fillRule: "", clipRule: "" }, { d: "M9.08594 0C9.55001 4.00268e-05 9.99509 0.184542 10.3232 0.512695L13.4873 3.67676C13.8155 4.00491 14 4.44999 14 4.91406V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08594ZM3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1895L9.5 1.81055V4.25Z", fillRule: "evenodd", clipRule: "evenodd" }],
839
841
  fileBrush: [{ d: "M9.0859 0C9.54998 4.00266e-05 9.99505 0.184542 10.3232 0.512693L13.4873 3.67674C13.8154 4.0049 13.9999 4.44997 13.9999 4.91404V5.99998H9.74996C8.78347 5.99998 7.99997 5.21648 7.99997 4.24998V1.49999H3.74999C3.61192 1.49999 3.49999 1.61192 3.49999 1.74999V14.2499C3.49999 14.388 3.61191 14.4999 3.74999 14.4999H5.99998V15.9999H3.74999C2.78349 15.9999 1.99999 15.2164 1.99999 14.2499V1.74999C1.99999 0.783499 2.78349 0 3.74999 0H9.0859ZM9.49996 4.24998C9.49996 4.38805 9.61189 4.49998 9.74996 4.49998H12.1894L9.49996 1.81054V4.24998Z", fillRule: "evenodd", clipRule: "evenodd" }, { d: "M14.5595 13.7187C14.6934 13.8369 14.8013 13.9813 14.8769 14.1425C14.9526 14.3039 14.9941 14.4793 14.999 14.6572C15.0052 14.835 14.9745 15.012 14.9091 15.1777C14.8436 15.3435 14.7446 15.4947 14.6181 15.621C14.49 15.7474 14.3372 15.8461 14.1689 15.9111C14.0005 15.9761 13.8201 16.0062 13.6396 15.999C13.4615 15.9933 13.2863 15.9519 13.1249 15.8769C12.9636 15.8018 12.8196 15.6946 12.7011 15.5624L9.22262 11.7246C9.2401 11.718 9.258 11.7109 9.27536 11.7041C9.6122 11.5703 9.91814 11.3691 10.1748 11.1132C10.4096 10.879 10.5989 10.6028 10.7324 10.2998L14.5595 13.7187Z", fillRule: "", clipRule: "" }, { d: "M6.39353 7.10739C6.49717 6.96797 6.6969 6.97114 6.83298 7.07907C7.42814 7.55092 7.88161 7.50655 8.30173 7.46579C8.7112 7.42607 9.08906 7.38994 9.5361 7.83688C9.72471 8.0062 9.87706 8.21226 9.98336 8.44235C10.0896 8.67233 10.1475 8.92153 10.1543 9.17477C10.1609 9.42812 10.1165 9.68063 10.0224 9.91598C9.92837 10.1513 9.78683 10.3649 9.60739 10.5439C9.42795 10.7229 9.21406 10.8635 8.97848 10.957C8.74289 11.0505 8.49062 11.0951 8.23727 11.0878C7.98397 11.0805 7.73464 11.0218 7.50485 10.915C7.33243 10.8348 7.17404 10.7283 7.03415 10.6005L6.91208 10.4775C6.00899 9.56828 5.66717 8.08514 6.39353 7.10739Z", fillRule: "", clipRule: "" }],
840
842
  fileCheck: [{ d: "M3.5 1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8V4.25C8 5.2165 8.7835 6 9.75 6H12.5V10.3807L14 8.07602V4.91421C14 4.45008 13.8156 4.00497 13.4874 3.67678L10.3232 0.512563C9.99504 0.184375 9.54992 0 9.08579 0H3.75C2.7835 0 2 0.783502 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H9.77029L8.65836 14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75ZM12.1893 4.5L9.5 1.81066V4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1893ZM15.8922 10.1305C16.102 9.77336 15.9825 9.31376 15.6253 9.10398C15.2682 8.89419 14.8086 9.01366 14.5988 9.37082L11.9427 13.8929L10.3525 11.7477C10.1058 11.415 9.63612 11.3452 9.30337 11.5919C8.97061 11.8385 8.90082 12.3082 9.14749 12.641L11.4127 15.6968C11.5626 15.899 11.8039 16.0126 12.0553 15.9991C12.3066 15.9857 12.5345 15.8471 12.6619 15.63L15.8922 10.1305Z", fillRule: "evenodd", clipRule: "evenodd" }],
843
+ fileCSV: [{ d: "M9.08594 0C9.55001 4.00268e-05 9.99509 0.184542 10.3232 0.512695L13.4873 3.67676C13.8155 4.00491 14 4.44999 14 4.91406V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08594ZM7.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V12.3418H7.75V14.5ZM3.5 14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H6.25V12.3418H3.5V14.25ZM7.75 10.8418H12.5V8.8418H7.75V10.8418ZM3.5 10.8418H6.25V8.8418H3.5V10.8418ZM3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V7.3418H12.5V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1895L9.5 1.81055V4.25Z", fillRule: "", clipRule: "" }],
841
844
  fileDoc: [{ d: "M5.97724 8.35086C5.89487 8.08729 5.61443 7.94039 5.35086 8.02276C5.08729 8.10513 4.94039 8.38556 5.02276 8.64914L6.27276 12.6491C6.33799 12.8579 6.53131 13 6.75 13C6.96869 13 7.16201 12.8579 7.22724 12.6491L8 10.1763L8.77276 12.6491C8.83799 12.8579 9.03131 13 9.25 13C9.46869 13 9.66201 12.8579 9.72724 12.6491L10.9772 8.64914C11.0596 8.38556 10.9127 8.10513 10.6491 8.02276C10.3856 7.94039 10.1051 8.08729 10.0228 8.35086L9.25 10.8237L8.47724 8.35086C8.41201 8.14213 8.21869 8 8 8C7.78131 8 7.58799 8.14213 7.52276 8.35086L6.75 10.8237L5.97724 8.35086ZM2 1.75C2 0.783502 2.7835 0 3.75 0H9.08579C9.54992 0 9.99504 0.184375 10.3232 0.512563L13.4874 3.67678C13.8156 4.00497 14 4.45008 14 4.91421V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75ZM3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 1.81066L12.1893 4.5H9.75C9.61193 4.5 9.5 4.38807 9.5 4.25V1.81066Z", fillRule: "evenodd", clipRule: "evenodd" }],
842
845
  fileDownload: [{ d: "M3.5 1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8V4.25C8 5.2165 8.7835 6 9.75 6H12.5V6.51373C12.5821 6.50466 12.6655 6.5 12.75 6.5C13.2125 6.5 13.6425 6.63957 14 6.87889V4.91421C14 4.45008 13.8156 4.00497 13.4874 3.67678L10.3232 0.512563C9.99504 0.184375 9.54992 0 9.08579 0H3.75C2.7835 0 2 0.783502 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H10.318L8.81802 14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75ZM12.1893 4.5L9.5 1.81066V4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1893ZM12.75 8C13.1642 8 13.5 8.33579 13.5 8.75V13.4393L14.7197 12.2197C15.0126 11.9268 15.4874 11.9268 15.7803 12.2197C16.0732 12.5126 16.0732 12.9874 15.7803 13.2803L13.2803 15.7803C13.269 15.7917 13.2573 15.8026 13.2453 15.8132C13.1132 15.9295 12.9399 16 12.75 16C12.5416 16 12.353 15.915 12.2171 15.7778L9.71967 13.2803C9.42678 12.9874 9.42678 12.5126 9.71967 12.2197C10.0126 11.9268 10.4874 11.9268 10.7803 12.2197L12 13.4393V8.75C12 8.33579 12.3358 8 12.75 8Z", fillRule: "evenodd", clipRule: "evenodd" }],
843
846
  fileExport: [{ d: "M3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H7V16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08579C9.54992 0 9.99504 0.184375 10.3232 0.512563L13.4874 3.67678C13.8156 4.00497 14 4.45008 14 4.91421V8H12.5V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 1.81066L12.1893 4.5H9.75C9.61193 4.5 9.5 4.38807 9.5 4.25V1.81066ZM8 12.75C8 12.3358 8.33579 12 8.75 12L13.4393 12L12.2197 10.7803C11.9268 10.4874 11.9268 10.0126 12.2197 9.71967C12.5126 9.42678 12.9874 9.42678 13.2803 9.71967L15.7803 12.2197C15.921 12.3603 16 12.5511 16 12.75C16 12.9489 15.921 13.1397 15.7803 13.2803L13.2803 15.7803C12.9874 16.0732 12.5126 16.0732 12.2197 15.7803C11.9268 15.4874 11.9268 15.0126 12.2197 14.7197L13.4393 13.5L8.75 13.5C8.33579 13.5 8 13.1642 8 12.75Z", fillRule: "evenodd", clipRule: "evenodd" }],
844
847
  fileEye: [{ d: "M3.5 1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8V4.25C8 5.2165 8.7835 6 9.75 6H12.5V7.76747C13.025 7.91118 13.5272 8.11007 14 8.35745V4.91421C14 4.45008 13.8156 4.00497 13.4874 3.67678L10.3232 0.512563C9.99504 0.184375 9.54992 0 9.08579 0H3.75C2.7835 0 2 0.783502 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H5.97945C5.40792 15.5733 4.89861 15.0678 4.46744 14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75ZM12.1893 4.5L9.5 1.81066V4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1893ZM10.5 14C11.3284 14 12 13.3284 12 12.5C12 11.6716 11.3284 11 10.5 11C9.67157 11 9 11.6716 9 12.5C9 13.3284 9.67157 14 10.5 14ZM5.11489 12.9237C4.96259 12.6616 4.96259 12.3383 5.11489 12.0762C6.1828 10.2385 8.19441 9.00002 10.5 9.00002C12.8056 9.00002 14.8172 10.2385 15.8851 12.0762C16.0374 12.3383 16.0374 12.6616 15.8851 12.9237C14.8172 14.7614 12.8056 15.9999 10.5 15.9999C8.19441 15.9999 6.1828 14.7614 5.11489 12.9237ZM10.5 15C11.8807 15 13 13.8807 13 12.5C13 11.1193 11.8807 10 10.5 10C9.11929 10 8 11.1193 8 12.5C8 13.8807 9.11929 15 10.5 15Z", fillRule: "evenodd", clipRule: "evenodd" }],
848
+ fileForm: [{ d: "M6 10.75C6.27614 10.75 6.5 10.9739 6.5 11.25V12.25C6.5 12.5261 6.27614 12.75 6 12.75H5C4.72386 12.75 4.5 12.5261 4.5 12.25V11.25C4.5 10.9739 4.72386 10.75 5 10.75H6Z", fillRule: "", clipRule: "" }, { d: "M10.75 11C11.1642 11 11.5 11.3358 11.5 11.75C11.5 12.1642 11.1642 12.5 10.75 12.5H8C7.58579 12.5 7.25 12.1642 7.25 11.75C7.25 11.3358 7.58579 11 8 11H10.75Z", fillRule: "", clipRule: "" }, { d: "M6 7.75C6.27614 7.75 6.5 7.97386 6.5 8.25V9.25C6.5 9.52614 6.27614 9.75 6 9.75H5C4.72386 9.75 4.5 9.52614 4.5 9.25V8.25C4.5 7.97386 4.72386 7.75 5 7.75H6Z", fillRule: "", clipRule: "" }, { d: "M10.75 8C11.1642 8 11.5 8.33579 11.5 8.75C11.5 9.16421 11.1642 9.5 10.75 9.5H8C7.58579 9.5 7.25 9.16421 7.25 8.75C7.25 8.33579 7.58579 8 8 8H10.75Z", fillRule: "", clipRule: "" }, { d: "M9.08594 0C9.55001 4.00268e-05 9.99509 0.184542 10.3232 0.512695L13.4873 3.67676C13.8155 4.00491 14 4.44999 14 4.91406V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08594ZM3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1895L9.5 1.81055V4.25Z", fillRule: "evenodd", clipRule: "evenodd" }],
845
849
  fileGenerate: [{ d: "M3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H6V16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08579C9.54992 0 9.99504 0.184375 10.3232 0.512563L13.4874 3.67678C13.8156 4.00497 14 4.45008 14 4.91421V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 1.81066L12.1893 4.5H9.75C9.61193 4.5 9.5 4.38807 9.5 4.25V1.81066ZM11.2165 11.2164C11.5094 10.9235 11.9843 10.9235 12.2772 11.2164L15.7813 14.7206C16.0742 15.0135 16.0742 15.4884 15.7813 15.7813C15.4884 16.0742 15.0135 16.0742 14.7207 15.7813L11.2165 12.2771C10.9236 11.9842 10.9236 11.5093 11.2165 11.2164ZM12 7.5C12 7.22386 11.7761 7 11.5 7C11.2239 7 11 7.22386 11 7.5V9C11 9.27614 11.2239 9.5 11.5 9.5C11.7761 9.5 12 9.27614 12 9V7.5ZM8.14645 8.14645C8.34171 7.95118 8.65829 7.95118 8.85355 8.14645L10.3536 9.64645C10.5488 9.84171 10.5488 10.1583 10.3536 10.3536C10.1583 10.5488 9.84171 10.5488 9.64645 10.3536L8.14645 8.85355C7.95118 8.65829 7.95118 8.34171 8.14645 8.14645ZM14.1464 8.14645C14.3417 7.95118 14.6583 7.95118 14.8536 8.14645C15.0488 8.34171 15.0488 8.65829 14.8536 8.85355L13.3536 10.3536C13.1583 10.5488 12.8417 10.5488 12.6464 10.3536C12.4512 10.1583 12.4512 9.84171 12.6464 9.64645L14.1464 8.14645ZM7.00012 11.5029C7.00012 11.2268 7.22398 11.0029 7.50012 11.0029H9.00012C9.27626 11.0029 9.50012 11.2268 9.50012 11.5029C9.50012 11.7791 9.27626 12.0029 9.00012 12.0029H7.50012C7.22398 12.0029 7.00012 11.7791 7.00012 11.5029ZM10.3536 13.3536C10.5488 13.1583 10.5488 12.8417 10.3536 12.6464C10.1583 12.4512 9.84171 12.4512 9.64645 12.6464L8.14645 14.1464C7.95118 14.3417 7.95118 14.6583 8.14645 14.8536C8.34171 15.0488 8.65829 15.0488 8.85355 14.8536L10.3536 13.3536Z", fillRule: "evenodd", clipRule: "evenodd" }],
846
850
  fileGeneric: [{ d: "M3.75 0C2.7835 0 2 0.783502 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H12.25C13.2165 16 14 15.2165 14 14.25V4.91421C14 4.45008 13.8156 4.00497 13.4874 3.67678L10.3232 0.512563C9.99504 0.184375 9.54992 0 9.08579 0H3.75ZM3.5 1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8V4.25C8 5.2165 8.7835 6 9.75 6H12.5V14.25C12.5 14.3881 12.3881 14.5 12.25 14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75ZM12.1893 4.5L9.5 1.81066V4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1893Z", fillRule: "evenodd", clipRule: "evenodd" }],
847
851
  fileLock: [{ d: "M3.75 0C2.7835 0 2 0.783502 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H6.70802C6.57422 15.6938 6.5 15.3556 6.5 15V14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8V4.25C8 5.2165 8.7835 6 9.75 6H10.0631C10.6374 5.68142 11.2982 5.5 12.0015 5.5C12.7294 5.5 13.4119 5.69437 14 6.03404V4.91421C14 4.45008 13.8156 4.00497 13.4874 3.67678L10.3232 0.512563C9.99504 0.184375 9.54992 0 9.08579 0H3.75ZM12.1893 4.5L9.5 1.81066V4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1893Z M8 12C8 11.4477 8.44772 11 9 11H9.5V9.50149C9.5 8.11995 10.62 7 12.0015 7C13.383 7 14.503 8.11995 14.503 9.50149V11H15C15.5523 11 16 11.4477 16 12V15C16 15.5523 15.5523 16 15 16H9C8.44772 16 8 15.5523 8 15V12ZM13.003 11V9.50149C13.003 8.94838 12.5546 8.5 12.0015 8.5C11.4484 8.5 11 8.94838 11 9.50149V11H13.003Z", fillRule: "evenodd", clipRule: "evenodd" }],
848
852
  filePdf: [{ d: "M3.49999 1.75C3.49999 1.61193 3.61192 1.5 3.74999 1.5H7.99999V4.25C7.99999 5.2165 8.78349 6 9.74999 6H12.5V7.5H14V4.91421C14 4.45008 13.8156 4.00497 13.4874 3.67678L10.3232 0.512563C9.99503 0.184375 9.54991 0 9.08578 0H3.74999C2.78349 0 1.99999 0.783502 1.99999 1.75V7.5H3.49999V1.75ZM12.1893 4.5L9.49999 1.81066V4.25C9.49999 4.38807 9.61192 4.5 9.74999 4.5H12.1893ZM6.50385 9C6.2277 9 6.00385 9.22386 6.00385 9.5V14.5C6.00385 14.7761 6.2277 15 6.50385 15H7.50385C8.88456 15 10.0038 13.8807 10.0038 12.5V11.5C10.0038 10.1193 8.88456 9 7.50385 9H6.50385ZM7.50385 14H7.00385V10H7.50385C8.33227 10 9.00385 10.6716 9.00385 11.5V12.5C9.00385 13.3284 8.33227 14 7.50385 14ZM1.5 9.00397C1.22386 9.00397 1 9.22783 1 9.50397V14.504C1 14.7801 1.22386 15.004 1.5 15.004C1.77614 15.004 2 14.7801 2 14.504V13H3.00198C4.10546 13 5 12.1055 5 11.002C5 9.89851 4.10546 9.00397 3.00198 9.00397H1.5ZM3.00198 12H2V10.004H3.00198C3.55317 10.004 4 10.4508 4 11.002C4 11.5532 3.55317 12 3.00198 12ZM11 9.5C11 9.22386 11.2239 9 11.5 9H14.5C14.7761 9 15 9.22386 15 9.5C15 9.77615 14.7761 10 14.5 10H12V11.5H14C14.2761 11.5 14.5 11.7239 14.5 12C14.5 12.2761 14.2761 12.5 14 12.5H12V14.5C12 14.7761 11.7761 15 11.5 15C11.2239 15 11 14.7761 11 14.5V9.5Z", fillRule: "evenodd", clipRule: "evenodd" }],
853
+ filePowerPoint: [{ d: "M9.08594 0C9.55001 4.00268e-05 9.99509 0.184542 10.3232 0.512695L13.4873 3.67676C13.8155 4.00491 14 4.44999 14 4.91406V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08594ZM3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM8.25 7C9.49264 7 10.5 8.00736 10.5 9.25C10.5 10.4926 9.49264 11.5 8.25 11.5H7.5V12.75C7.5 13.1642 7.16421 13.5 6.75 13.5C6.33579 13.5 6 13.1642 6 12.75V7.75C6 7.33579 6.33579 7 6.75 7H8.25ZM7.5 10H8.25C8.66421 10 9 9.66421 9 9.25C9 8.83579 8.66421 8.5 8.25 8.5H7.5V10ZM9.5 4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1895L9.5 1.81055V4.25Z", fillRule: "", clipRule: "" }],
849
854
  fileSend: [{ d: "M9.08579,0 C9.54992,0 9.99504,0.184375 10.3232,0.512563 L13.3385,3.52788 C13.2273,3.51097 13.1135,3.5022 12.9976,3.5022 C12.4895,3.5022 12.0207,3.67069 11.6442,3.95485 L9.5,1.81066 L9.5,4.25 C9.5,4.38807 9.61193,4.5 9.75,4.5 L11.1285,4.5 C10.8886,4.85769 10.7487,5.28805 10.7487,5.7511 C10.7487,5.83522 10.7533,5.91827 10.7623,6 L9.75,6 C8.7835,6 8,5.2165 8,4.25 L8,1.5 L3.75,1.5 C3.61193,1.5 3.5,1.61193 3.5,1.75 L3.5,14.25 C3.5,14.3881 3.61193,14.5 3.75,14.5 L12.25,14.5 C12.3881,14.5 12.5,14.3881 12.5,14.25 L12.5,12 L14,12 L14,14 C14,15.1046 13.1046,16 12,16 L3.75,16 C2.7835,16 2,15.2165 2,14.25 L2,1.75 C2,0.783502 2.7835,0 3.75,0 L9.08579,0 Z M12.4697,5.21967 C12.7626,4.92678 13.2374,4.92678 13.5303,5.21967 L13.5303,5.21967 L15.4971,7.18643 C15.5199,7.20662 15.5414,7.22817 15.5616,7.25096 L15.5616,7.25096 L15.7784,7.46772 C16.0713,7.76061 16.0713,8.23548 15.7784,8.52838 L15.7784,8.52838 L13.5303,10.7764 C13.2374,11.0693 12.7626,11.0693 12.4697,10.7764 C12.1768,10.4835 12.1768,10.0087 12.4697,9.71576 L12.4697,9.71576 L13.6874,8.49805 L12.75,8.49805 C10.9551,8.49805 9.5,9.95312 9.5,11.748 L9.5,11.748 L9.5,12.2469 C9.5,12.6611 9.16421,12.9969 8.75,12.9969 C8.33579,12.9969 8,12.6611 8,12.2469 L8,12.2469 L8,11.748 C8,9.1247 10.1266,6.99805 12.75,6.99805 L12.75,6.99805 L13.1874,6.99805 L12.4697,6.28033 C12.1768,5.98744 12.1768,5.51256 12.4697,5.21967 Z", fillRule: "evenodd", clipRule: "evenodd" }],
855
+ fileSigned: [{ d: "M7.75 8C8.10985 8 8.47327 8.14708 8.69629 8.49707C8.87793 8.78216 8.89733 9.10183 8.89258 9.31348C8.88287 9.74278 8.74451 10.2778 8.64844 10.6758C8.58014 10.9588 8.5293 11.1912 8.5 11.376C8.59705 11.3018 8.71103 11.1902 8.84961 11.0225C8.96212 10.8862 9.15487 10.6313 9.30859 10.4688C9.45002 10.3192 9.77279 10 10.25 10C10.7837 10 11.0983 10.3547 11.2461 10.6299C11.3859 10.8903 11.4443 11.1845 11.4727 11.4033C11.5029 11.6362 11.5088 11.8607 11.5078 12.0205C11.5073 12.1016 11.5051 12.1697 11.5029 12.2188C11.5018 12.2434 11.5009 12.2637 11.5 12.2783C11.4996 12.2855 11.4993 12.2914 11.499 12.2959C11.4989 12.2982 11.498 12.3018 11.498 12.3018V12.3047C11.4673 12.7176 11.1073 13.0285 10.6943 12.998C10.2815 12.9673 9.97146 12.6073 10.002 12.1943C10.002 12.1943 10.0028 12.1911 10.0029 12.1885C10.0034 12.1811 10.0032 12.1685 10.0039 12.1523C10.0054 12.1194 10.0075 12.0699 10.0078 12.0107C10.0079 11.9993 10.0069 11.9875 10.0068 11.9756L10.0059 11.9775C9.69389 12.3552 9.11638 13 8.19531 13C7.84984 13 7.49072 12.8785 7.24316 12.5596C7.0269 12.2809 6.98082 11.9555 6.97363 11.7266C6.9595 11.2761 7.0924 10.7304 7.19043 10.3242C7.23687 10.1318 7.2758 9.96097 7.30859 9.81152C7.18067 9.94379 7.04336 10.1137 6.90527 10.3193C6.50286 10.9188 6.156 11.7126 5.97754 12.4307C5.87766 12.8326 5.47128 13.0774 5.06934 12.9775C4.66739 12.8777 4.42266 12.4713 4.52246 12.0693C4.74098 11.19 5.15585 10.2335 5.66016 9.48242C5.91221 9.10706 6.20462 8.75624 6.5293 8.49121C6.84588 8.23281 7.26359 8 7.75 8Z", fillRule: "", clipRule: "" }, { d: "M9.08594 0C9.55001 4.00268e-05 9.99509 0.184542 10.3232 0.512695L13.4873 3.67676C13.8155 4.00491 14 4.44999 14 4.91406V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08594ZM3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1895L9.5 1.81055V4.25Z", fillRule: "evenodd", clipRule: "evenodd" }],
850
856
  fileText: [{ d: "M5.75 8C5.33579 8 5 8.33579 5 8.75C5 9.16421 5.33579 9.5 5.75 9.5H10.25C10.6642 9.5 11 9.16421 11 8.75C11 8.33579 10.6642 8 10.25 8H5.75ZM5 11.75C5 11.3358 5.33579 11 5.75 11H10.25C10.6642 11 11 11.3358 11 11.75C11 12.1642 10.6642 12.5 10.25 12.5H5.75C5.33579 12.5 5 12.1642 5 11.75ZM3.75 0C2.7835 0 2 0.783502 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H12.25C13.2165 16 14 15.2165 14 14.25V4.91421C14 4.45008 13.8156 4.00497 13.4874 3.67678L10.3232 0.512563C9.99504 0.184375 9.54992 0 9.08579 0H3.75ZM3.5 1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8V4.25C8 5.2165 8.7835 6 9.75 6H12.5V14.25C12.5 14.3881 12.3881 14.5 12.25 14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75ZM12.1893 4.5L9.5 1.81066V4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1893Z", fillRule: "evenodd", clipRule: "evenodd" }],
851
857
  fileUnknown: [{ d: "M9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12ZM6.5 5.99969C6.5 5.17127 7.17157 4.49969 8 4.49969C8.82843 4.49969 9.5 5.17127 9.5 5.99969C9.5 6.59608 9.152 7.11266 8.64465 7.35468C8.06993 7.62885 7.25 8.24849 7.25 9.24969V9.75C7.25 10.1642 7.58579 10.5 8 10.5C8.41421 10.5 8.75 10.1642 8.75 9.75V9.24969C8.75 9.19909 8.76889 9.12246 8.86192 9.01588C8.95853 8.90519 9.10945 8.7949 9.2905 8.70852C10.2999 8.22698 11 7.19583 11 5.99969C11 4.34284 9.65685 2.99969 8 2.99969C6.34315 2.99969 5 4.34284 5 5.99969C5 6.41391 5.33579 6.74969 5.75 6.74969C6.16421 6.74969 6.5 6.41391 6.5 5.99969ZM2 1.75C2 0.783502 2.7835 0 3.75 0H9.08579C9.54992 0 9.99504 0.184375 10.3232 0.512563L13.4874 3.67678C13.8156 4.00497 14 4.45008 14 4.91421V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75ZM3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V4.91421C12.5 4.84791 12.4737 4.78432 12.4268 4.73744L9.26256 1.57322C9.21568 1.52634 9.15209 1.5 9.08579 1.5H3.75Z", fillRule: "evenodd", clipRule: "evenodd" }],
852
858
  fileXls: [{ d: "M6.24275 7.07125C6.47954 6.92918 6.78667 7.00596 6.92875 7.24275L8 9.02818L9.07125 7.24275C9.21333 7.00596 9.52046 6.92918 9.75725 7.07125C9.99404 7.21333 10.0708 7.52046 9.92875 7.75725L8.5831 10L9.92875 12.2428C10.0708 12.4795 9.99404 12.7867 9.75725 12.9287C9.52046 13.0708 9.21333 12.994 9.07125 12.7572L8 10.9718L6.92875 12.7572C6.78667 12.994 6.47954 13.0708 6.24275 12.9287C6.00596 12.7867 5.92918 12.4795 6.07125 12.2428L7.4169 10L6.07125 7.75725C5.92918 7.52046 6.00596 7.21333 6.24275 7.07125ZM3.75 0C2.7835 0 2 0.783502 2 1.75V14.25C2 15.2165 2.7835 16 3.75 16H12.25C13.2165 16 14 15.2165 14 14.25V4.91421C14 4.45008 13.8156 4.00497 13.4874 3.67678L10.3232 0.512563C9.99504 0.184375 9.54992 0 9.08579 0H3.75ZM3.5 1.75C3.5 1.61193 3.61193 1.5 3.75 1.5H8V4.25C8 5.2165 8.7835 6 9.75 6H12.5V14.25C12.5 14.3881 12.3881 14.5 12.25 14.5H3.75C3.61193 14.5 3.5 14.3881 3.5 14.25V1.75ZM12.1893 4.5L9.5 1.81066V4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1893Z", fillRule: "evenodd", clipRule: "evenodd" }],
@@ -1025,18 +1031,18 @@ const H5 = {
1025
1031
  zoomOut: [{ d: "M4.5 6.25C4.08579 6.25 3.75 6.58579 3.75 7C3.75 7.41421 4.08579 7.75 4.5 7.75H9.5C9.91421 7.75 10.25 7.41421 10.25 7C10.25 6.58579 9.91421 6.25 9.5 6.25H4.5ZM7 14C8.57591 14 10.0302 13.4792 11.2001 12.6004C11.2281 12.6376 11.259 12.6733 11.2929 12.7071L14.2929 15.7071C14.6834 16.0976 15.3166 16.0976 15.7071 15.7071C16.0976 15.3166 16.0976 14.6834 15.7071 14.2929L12.7071 11.2929C12.6733 11.259 12.6376 11.2281 12.6004 11.2001C13.4792 10.0302 14 8.57591 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM7 12.5C10.0376 12.5 12.5 10.0376 12.5 7C12.5 3.96243 10.0376 1.5 7 1.5C3.96243 1.5 1.5 3.96243 1.5 7C1.5 10.0376 3.96243 12.5 7 12.5Z", fillRule: "evenodd", clipRule: "evenodd" }],
1026
1032
  zz: [{ d: "M9.75 1.02686C9.33579 1.02686 9 1.36264 9 1.77686C9 2.19107 9.33579 2.52686 9.75 2.52686H12.8186L9.13336 7.84995C8.97457 8.07931 8.9562 8.37784 9.08567 8.62494C9.21513 8.87203 9.47104 9.02686 9.75 9.02686H14.25C14.6642 9.02686 15 8.69107 15 8.27686C15 7.86264 14.6642 7.52686 14.25 7.52686H11.1814L14.8666 2.20376C15.0254 1.97441 15.0438 1.67587 14.9143 1.42878C14.7849 1.18168 14.529 1.02686 14.25 1.02686H9.75ZM1.75 7.02686C1.33579 7.02686 1 7.36264 1 7.77686C1 8.19107 1.33579 8.52686 1.75 8.52686H4.81858L1.13336 13.8499C0.974572 14.0793 0.956201 14.3778 1.08567 14.6249C1.21513 14.872 1.47104 15.0269 1.75 15.0269H6.25C6.66422 15.0269 7 14.6911 7 14.2769C7 13.8626 6.66422 13.5269 6.25 13.5269H3.18143L6.86665 8.20376C7.02543 7.97441 7.0438 7.67587 6.91434 7.42878C6.78487 7.18168 6.52896 7.02686 6.25 7.02686H1.75Z", fillRule: "evenodd", clipRule: "evenodd" }]
1027
1033
  };
1028
- var h4 = Object.defineProperty, $5 = (i, e, t, C) => {
1029
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1030
- (n = i[l]) && (o = n(e, t, o) || o);
1031
- return o && h4(e, t, o), o;
1034
+ var _4 = Object.defineProperty, T5 = (l, e, t, i) => {
1035
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1036
+ (C = l[r]) && (o = C(e, t, o) || o);
1037
+ return o && _4(e, t, o), o;
1032
1038
  };
1033
- const g2 = class g2 extends u {
1039
+ const y2 = class y2 extends u {
1034
1040
  constructor() {
1035
1041
  super(...arguments), this.name = "", this.size = 16;
1036
1042
  }
1037
1043
  render() {
1038
- const e = this.name && H5[this.name] ? H5[this.name] : [], t = !this.name;
1039
- return X1`
1044
+ const e = this.name && Z5[this.name] ? Z5[this.name] : [], t = !this.name;
1045
+ return t2`
1040
1046
  <svg
1041
1047
  class=${t ? "icon--hidden" : ""}
1042
1048
  xmlns="http://www.w3.org/2000/svg"
@@ -1046,36 +1052,36 @@ const g2 = class g2 extends u {
1046
1052
  viewBox="0 0 16 16"
1047
1053
  >
1048
1054
  ${e.map(
1049
- (C) => X1`
1055
+ (i) => t2`
1050
1056
  <path
1051
1057
  fill="currentColor"
1052
- d="${C.d}"
1053
- fill-rule="${C.fillRule ?? p}"
1054
- clip-rule="${C.clipRule ?? p}"
1058
+ d="${i.d}"
1059
+ fill-rule="${i.fillRule ?? c}"
1060
+ clip-rule="${i.clipRule ?? c}"
1055
1061
  />`
1056
1062
  )}
1057
1063
  </svg>
1058
1064
  `;
1059
1065
  }
1060
1066
  };
1061
- g2.styles = h`
1067
+ y2.styles = h`
1062
1068
  :host { display: block; line-height: 0; font-family: var(--font-sans); }
1063
1069
  .icon--hidden { display: none; }
1064
1070
  `;
1065
- let h1 = g2;
1066
- $5([
1067
- r()
1068
- ], h1.prototype, "name");
1069
- $5([
1070
- r({ type: Number })
1071
- ], h1.prototype, "size");
1072
- customElements.get("anduin-icon") || customElements.define("anduin-icon", h1);
1073
- var H4 = Object.defineProperty, v4 = (i, e, t, C) => {
1074
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1075
- (n = i[l]) && (o = n(e, t, o) || o);
1076
- return o && H4(e, t, o), o;
1071
+ let L1 = y2;
1072
+ T5([
1073
+ n()
1074
+ ], L1.prototype, "name");
1075
+ T5([
1076
+ n({ type: Number })
1077
+ ], L1.prototype, "size");
1078
+ customElements.get("anduin-icon") || customElements.define("anduin-icon", L1);
1079
+ var x4 = Object.defineProperty, R4 = (l, e, t, i) => {
1080
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1081
+ (C = l[r]) && (o = C(e, t, o) || o);
1082
+ return o && x4(e, t, o), o;
1077
1083
  };
1078
- const E5 = h`
1084
+ const N5 = h`
1079
1085
  :host { display: inline-block; font-family: var(--font-sans); }
1080
1086
  .badge {
1081
1087
  border-radius: 9999px;
@@ -1102,7 +1108,7 @@ const E5 = h`
1102
1108
  .badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1103
1109
  .badge--hidden { display: none; }
1104
1110
  `;
1105
- function A5(i) {
1111
+ function j5(l) {
1106
1112
  return {
1107
1113
  gray: "badge--light-gray",
1108
1114
  primary: "badge--light-primary",
@@ -1114,29 +1120,29 @@ function A5(i) {
1114
1120
  boldSuccess: "badge--bold-success",
1115
1121
  boldWarning: "badge--bold-warning",
1116
1122
  boldDanger: "badge--bold-danger"
1117
- }[i || "gray"] || "badge--light-gray";
1123
+ }[l || "gray"] || "badge--light-gray";
1118
1124
  }
1119
- const L2 = class L2 extends u {
1125
+ const _2 = class _2 extends u {
1120
1126
  constructor() {
1121
1127
  super(...arguments), this.variant = "gray";
1122
1128
  }
1123
1129
  render() {
1124
- const e = A5(this.variant);
1125
- return d`<div class="badge ${e}" part="badge"><slot></slot></div>`;
1130
+ const e = j5(this.variant);
1131
+ return s`<div class="badge ${e}" part="badge"><slot></slot></div>`;
1126
1132
  }
1127
1133
  };
1128
- L2.styles = [E5];
1129
- let F1 = L2;
1130
- v4([
1131
- r()
1132
- ], F1.prototype, "variant");
1133
- customElements.get("anduin-badge") || customElements.define("anduin-badge", F1);
1134
- var f4 = Object.defineProperty, B5 = (i, e, t, C) => {
1135
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1136
- (n = i[l]) && (o = n(e, t, o) || o);
1137
- return o && f4(e, t, o), o;
1134
+ _2.styles = [N5];
1135
+ let D1 = _2;
1136
+ R4([
1137
+ n()
1138
+ ], D1.prototype, "variant");
1139
+ customElements.get("anduin-badge") || customElements.define("anduin-badge", D1);
1140
+ var w4 = Object.defineProperty, U5 = (l, e, t, i) => {
1141
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1142
+ (C = l[r]) && (o = C(e, t, o) || o);
1143
+ return o && w4(e, t, o), o;
1138
1144
  };
1139
- const b2 = class b2 extends u {
1145
+ const x2 = class x2 extends u {
1140
1146
  constructor() {
1141
1147
  super(...arguments), this.variant = "gray", this.count = 0;
1142
1148
  }
@@ -1144,33 +1150,33 @@ const b2 = class b2 extends u {
1144
1150
  return e > 99 ? "99+" : e.toString();
1145
1151
  }
1146
1152
  render() {
1147
- const e = A5(this.variant), t = this.count === 0, C = this.count > 0 && this.count < 10, o = [
1153
+ const e = j5(this.variant), t = this.count === 0, i = this.count > 0 && this.count < 10, o = [
1148
1154
  "badge",
1149
1155
  e,
1150
1156
  t ? "badge--hidden" : "",
1151
- C ? "badge--square" : ""
1157
+ i ? "badge--square" : ""
1152
1158
  ].filter(Boolean).join(" ");
1153
- return d`<div class="${o}" part="badge">${this.formatCount(this.count)}</div>`;
1159
+ return s`<div class="${o}" part="badge">${this.formatCount(this.count)}</div>`;
1154
1160
  }
1155
1161
  };
1156
- b2.styles = [E5];
1157
- let H1 = b2;
1158
- B5([
1159
- r()
1160
- ], H1.prototype, "variant");
1161
- B5([
1162
- r({ type: Number })
1163
- ], H1.prototype, "count");
1164
- customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", H1);
1165
- var V4 = Object.defineProperty, L = (i, e, t, C) => {
1166
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1167
- (n = i[l]) && (o = n(e, t, o) || o);
1168
- return o && V4(e, t, o), o;
1162
+ x2.styles = [N5];
1163
+ let b1 = x2;
1164
+ U5([
1165
+ n()
1166
+ ], b1.prototype, "variant");
1167
+ U5([
1168
+ n({ type: Number })
1169
+ ], b1.prototype, "count");
1170
+ customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", b1);
1171
+ var k4 = Object.defineProperty, m = (l, e, t, i) => {
1172
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1173
+ (C = l[r]) && (o = C(e, t, o) || o);
1174
+ return o && k4(e, t, o), o;
1169
1175
  };
1170
- function g4(i) {
1171
- return i.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1176
+ function $4(l) {
1177
+ return l.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1172
1178
  }
1173
- const M2 = class M2 extends u {
1179
+ const R2 = class R2 extends u {
1174
1180
  constructor() {
1175
1181
  super(...arguments), this.iconOnly = !1, this.appearance = "filled", this.variant = "", this.size = "medium", this.disabled = !1, this.loading = !1, this.fullWidth = !1, this.pill = !1, this.selected = !1, this.href = "", this.openNewTab = !1, this.download = "", this.startIcon = "", this.endIcon = "", this.label = "";
1176
1182
  }
@@ -1187,13 +1193,13 @@ const M2 = class M2 extends u {
1187
1193
  return this.variant ? this.variant : this.appearance === "filled" ? "gray0" : this.appearance === "text" ? "primary" : "gray9";
1188
1194
  }
1189
1195
  getSizeKebab() {
1190
- return g4(this.size);
1196
+ return $4(this.size);
1191
1197
  }
1192
1198
  iconSize() {
1193
1199
  return this.size === "tiny" || this.size === "extraSmall" || this.size === "small" ? "12" : "16";
1194
1200
  }
1195
1201
  render() {
1196
- const e = this.getVariant(), t = this.getSizeKebab(), C = [
1202
+ const e = this.getVariant(), t = this.getSizeKebab(), i = [
1197
1203
  "button",
1198
1204
  `button--${this.appearance}`,
1199
1205
  `button--${e}`,
@@ -1204,34 +1210,34 @@ const M2 = class M2 extends u {
1204
1210
  this.loading ? "button--loading" : "",
1205
1211
  this.selected ? "button--selected" : "",
1206
1212
  this.iconOnly && this.appearance !== "text" && !this.fullWidth ? "button--icon-only" : ""
1207
- ].filter(Boolean).join(" "), o = d`
1213
+ ].filter(Boolean).join(" "), o = s`
1208
1214
  <div class="button__content button__content--${t}">
1209
- ${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="${this.iconSize()}"></anduin-icon>` : p}
1215
+ ${this.startIcon ? s`<anduin-icon name="${this.startIcon}" size="${this.iconSize()}"></anduin-icon>` : c}
1210
1216
  <slot @slotchange=${this.onSlotChange}></slot>
1211
- ${this.endIcon ? d`<anduin-icon name="${this.endIcon}" size="${this.iconSize()}"></anduin-icon>` : p}
1217
+ ${this.endIcon ? s`<anduin-icon name="${this.endIcon}" size="${this.iconSize()}"></anduin-icon>` : c}
1212
1218
  </div>
1213
- ${this.loading && this.appearance !== "text" ? d`<div class="button__loading"><anduin-spinner size="small"></anduin-spinner></div>` : p}
1219
+ ${this.loading && this.appearance !== "text" ? s`<div class="button__loading"><anduin-spinner size="small"></anduin-spinner></div>` : c}
1214
1220
  `;
1215
- return this.href ? d`
1221
+ return this.href ? s`
1216
1222
  <a
1217
- class="${C}"
1223
+ class="${i}"
1218
1224
  href="${this.disabled ? "" : this.href}"
1219
- target="${this.openNewTab ? "_blank" : p}"
1220
- rel="${this.openNewTab ? "noreferrer noopener" : p}"
1221
- download="${this.download || p}"
1222
- aria-label="${this.label || p}"
1225
+ target="${this.openNewTab ? "_blank" : c}"
1226
+ rel="${this.openNewTab ? "noreferrer noopener" : c}"
1227
+ download="${this.download || c}"
1228
+ aria-label="${this.label || c}"
1223
1229
  >${o}</a>
1224
- ` : d`
1230
+ ` : s`
1225
1231
  <button
1226
1232
  type="button"
1227
- class="${C}"
1233
+ class="${i}"
1228
1234
  ?disabled="${this.disabled}"
1229
- aria-label="${this.label || p}"
1235
+ aria-label="${this.label || c}"
1230
1236
  >${o}</button>
1231
1237
  `;
1232
1238
  }
1233
1239
  };
1234
- M2.styles = h`
1240
+ R2.styles = h`
1235
1241
  :host { display: inline-block; font-family: var(--font-sans); }
1236
1242
  :host([full-width]) { display: block; width: 100%; }
1237
1243
  .button {
@@ -1333,64 +1339,64 @@ M2.styles = h`
1333
1339
  .button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
1334
1340
  .button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
1335
1341
  `;
1336
- let V = M2;
1337
- L([
1338
- x()
1339
- ], V.prototype, "iconOnly");
1340
- L([
1341
- r({ converter: (i) => i || "filled" })
1342
- ], V.prototype, "appearance");
1343
- L([
1344
- r()
1345
- ], V.prototype, "variant");
1346
- L([
1347
- r()
1348
- ], V.prototype, "size");
1349
- L([
1350
- r({ type: Boolean })
1351
- ], V.prototype, "disabled");
1352
- L([
1353
- r({ type: Boolean })
1354
- ], V.prototype, "loading");
1355
- L([
1356
- r({ type: Boolean, attribute: "full-width" })
1357
- ], V.prototype, "fullWidth");
1358
- L([
1359
- r({ type: Boolean })
1360
- ], V.prototype, "pill");
1361
- L([
1362
- r({ type: Boolean })
1363
- ], V.prototype, "selected");
1364
- L([
1365
- r()
1366
- ], V.prototype, "href");
1367
- L([
1368
- r({ type: Boolean, attribute: "open-new-tab" })
1369
- ], V.prototype, "openNewTab");
1370
- L([
1371
- r()
1372
- ], V.prototype, "download");
1373
- L([
1374
- r({ attribute: "start-icon" })
1375
- ], V.prototype, "startIcon");
1376
- L([
1377
- r({ attribute: "end-icon" })
1378
- ], V.prototype, "endIcon");
1379
- L([
1380
- r()
1381
- ], V.prototype, "label");
1382
- customElements.get("anduin-button") || customElements.define("anduin-button", V);
1383
- var L4 = Object.defineProperty, b4 = (i, e, t, C) => {
1384
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1385
- (n = i[l]) && (o = n(e, t, o) || o);
1386
- return o && L4(e, t, o), o;
1342
+ let L = R2;
1343
+ m([
1344
+ y()
1345
+ ], L.prototype, "iconOnly");
1346
+ m([
1347
+ n({ converter: (l) => l || "filled" })
1348
+ ], L.prototype, "appearance");
1349
+ m([
1350
+ n()
1351
+ ], L.prototype, "variant");
1352
+ m([
1353
+ n()
1354
+ ], L.prototype, "size");
1355
+ m([
1356
+ n({ type: Boolean })
1357
+ ], L.prototype, "disabled");
1358
+ m([
1359
+ n({ type: Boolean })
1360
+ ], L.prototype, "loading");
1361
+ m([
1362
+ n({ type: Boolean, attribute: "full-width" })
1363
+ ], L.prototype, "fullWidth");
1364
+ m([
1365
+ n({ type: Boolean })
1366
+ ], L.prototype, "pill");
1367
+ m([
1368
+ n({ type: Boolean })
1369
+ ], L.prototype, "selected");
1370
+ m([
1371
+ n()
1372
+ ], L.prototype, "href");
1373
+ m([
1374
+ n({ type: Boolean, attribute: "open-new-tab" })
1375
+ ], L.prototype, "openNewTab");
1376
+ m([
1377
+ n()
1378
+ ], L.prototype, "download");
1379
+ m([
1380
+ n({ attribute: "start-icon" })
1381
+ ], L.prototype, "startIcon");
1382
+ m([
1383
+ n({ attribute: "end-icon" })
1384
+ ], L.prototype, "endIcon");
1385
+ m([
1386
+ n()
1387
+ ], L.prototype, "label");
1388
+ customElements.get("anduin-button") || customElements.define("anduin-button", L);
1389
+ var E4 = Object.defineProperty, A4 = (l, e, t, i) => {
1390
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1391
+ (C = l[r]) && (o = C(e, t, o) || o);
1392
+ return o && E4(e, t, o), o;
1387
1393
  };
1388
- const m2 = class m2 extends u {
1394
+ const w2 = class w2 extends u {
1389
1395
  constructor() {
1390
1396
  super(...arguments), this.variant = "gray";
1391
1397
  }
1392
1398
  render() {
1393
- return d`
1399
+ return s`
1394
1400
  <div class="callout callout--${this.variant}" part="callout">
1395
1401
  <slot name="icon"></slot>
1396
1402
  <div><slot></slot></div>
@@ -1398,7 +1404,7 @@ const m2 = class m2 extends u {
1398
1404
  `;
1399
1405
  }
1400
1406
  };
1401
- m2.styles = h`
1407
+ w2.styles = h`
1402
1408
  :host { display: block; font-family: var(--font-sans); }
1403
1409
  .callout {
1404
1410
  display: flex; align-items: center; justify-content: center;
@@ -1410,17 +1416,17 @@ m2.styles = h`
1410
1416
  .callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1411
1417
  .callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1412
1418
  `;
1413
- let z1 = m2;
1414
- b4([
1415
- r()
1416
- ], z1.prototype, "variant");
1417
- customElements.get("anduin-callout") || customElements.define("anduin-callout", z1);
1418
- var M4 = Object.defineProperty, F5 = (i, e, t, C) => {
1419
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1420
- (n = i[l]) && (o = n(e, t, o) || o);
1421
- return o && M4(e, t, o), o;
1419
+ let I1 = w2;
1420
+ A4([
1421
+ n()
1422
+ ], I1.prototype, "variant");
1423
+ customElements.get("anduin-callout") || customElements.define("anduin-callout", I1);
1424
+ var B4 = Object.defineProperty, q5 = (l, e, t, i) => {
1425
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1426
+ (C = l[r]) && (o = C(e, t, o) || o);
1427
+ return o && B4(e, t, o), o;
1422
1428
  };
1423
- const Z2 = class Z2 extends u {
1429
+ const k2 = class k2 extends u {
1424
1430
  constructor() {
1425
1431
  super(...arguments), this.direction = "horizontal", this.hasContent = !1;
1426
1432
  }
@@ -1431,28 +1437,28 @@ const Z2 = class Z2 extends u {
1431
1437
  e.has("direction") && this.setAttribute("aria-orientation", this.direction === "vertical" ? "vertical" : "horizontal");
1432
1438
  }
1433
1439
  onSlotChange(e) {
1434
- const C = e.target.assignedNodes({ flatten: !0 });
1435
- this.hasContent = C.some((o) => {
1436
- var l;
1437
- return ((l = o.textContent) == null ? void 0 : l.trim()) !== "";
1440
+ const i = e.target.assignedNodes({ flatten: !0 });
1441
+ this.hasContent = i.some((o) => {
1442
+ var r;
1443
+ return ((r = o.textContent) == null ? void 0 : r.trim()) !== "";
1438
1444
  });
1439
1445
  }
1440
1446
  render() {
1441
- return this.direction === "vertical" ? this.hasContent ? d`
1447
+ return this.direction === "vertical" ? this.hasContent ? s`
1442
1448
  <div class="divider--vertical">
1443
1449
  <div class="divider__line--vertical"></div>
1444
1450
  <div><slot @slotchange=${this.onSlotChange}></slot></div>
1445
1451
  <div class="divider__line--vertical"></div>
1446
- </div>` : d`<div class="divider--vertical divider--vertical-empty"><slot @slotchange=${this.onSlotChange}></slot></div>` : this.hasContent ? d`
1452
+ </div>` : s`<div class="divider--vertical divider--vertical-empty"><slot @slotchange=${this.onSlotChange}></slot></div>` : this.hasContent ? s`
1447
1453
  <div class="divider--horizontal">
1448
1454
  <div class="divider__line--horizontal"></div>
1449
1455
  <div><slot @slotchange=${this.onSlotChange}></slot></div>
1450
1456
  <div class="divider__line--horizontal"></div>
1451
- </div>` : d`<div class="divider--horizontal divider--horizontal-empty"><slot @slotchange=${this.onSlotChange}></slot></div>`;
1457
+ </div>` : s`<div class="divider--horizontal divider--horizontal-empty"><slot @slotchange=${this.onSlotChange}></slot></div>`;
1452
1458
  }
1453
1459
  };
1454
- Z2.styles = h`
1455
- :host { width: 100%; font-family: var(--font-sans); }
1460
+ k2.styles = h`
1461
+ :host { display: block; width: 100%; font-family: var(--font-sans); }
1456
1462
  :host([direction="vertical"]) { width: auto; height: 100%; }
1457
1463
  .divider--horizontal { margin-top: 8px; margin-bottom: 8px; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 8px; text-align: center; }
1458
1464
  .divider--horizontal-empty { background-color: var(--color-gray-3); height: 1px; }
@@ -1461,28 +1467,28 @@ Z2.styles = h`
1461
1467
  .divider--vertical-empty { background-color: var(--color-gray-3); width: 1px; }
1462
1468
  .divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
1463
1469
  `;
1464
- let v1 = Z2;
1465
- F5([
1466
- r()
1467
- ], v1.prototype, "direction");
1468
- F5([
1469
- x()
1470
- ], v1.prototype, "hasContent");
1471
- customElements.get("anduin-divider") || customElements.define("anduin-divider", v1);
1472
- var m4 = Object.defineProperty, Z4 = (i, e, t, C) => {
1473
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1474
- (n = i[l]) && (o = n(e, t, o) || o);
1475
- return o && m4(e, t, o), o;
1470
+ let m1 = k2;
1471
+ q5([
1472
+ n()
1473
+ ], m1.prototype, "direction");
1474
+ q5([
1475
+ y()
1476
+ ], m1.prototype, "hasContent");
1477
+ customElements.get("anduin-divider") || customElements.define("anduin-divider", m1);
1478
+ var z4 = Object.defineProperty, F4 = (l, e, t, i) => {
1479
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1480
+ (C = l[r]) && (o = C(e, t, o) || o);
1481
+ return o && z4(e, t, o), o;
1476
1482
  };
1477
- const y2 = class y2 extends u {
1483
+ const $2 = class $2 extends u {
1478
1484
  constructor() {
1479
1485
  super(...arguments), this.variant = "gray";
1480
1486
  }
1481
1487
  render() {
1482
- return d`<div class="dot dot--${this.variant}" part="dot"></div>`;
1488
+ return s`<div class="dot dot--${this.variant}" part="dot"></div>`;
1483
1489
  }
1484
1490
  };
1485
- y2.styles = h`
1491
+ $2.styles = h`
1486
1492
  :host { display: inline-block; font-family: var(--font-sans); }
1487
1493
  .dot { width: 10px; height: 10px; border-radius: 9999px; }
1488
1494
  .dot--gray { background-color: var(--color-semantic-gray-6); color: var(--color-semantic-gray-0); }
@@ -1491,33 +1497,33 @@ y2.styles = h`
1491
1497
  .dot--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1492
1498
  .dot--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1493
1499
  `;
1494
- let P1 = y2;
1495
- Z4([
1496
- r()
1497
- ], P1.prototype, "variant");
1498
- customElements.get("anduin-dot") || customElements.define("anduin-dot", P1);
1499
- var y4 = Object.defineProperty, z5 = (i, e, t, C) => {
1500
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1501
- (n = i[l]) && (o = n(e, t, o) || o);
1502
- return o && y4(e, t, o), o;
1500
+ let T1 = $2;
1501
+ F4([
1502
+ n()
1503
+ ], T1.prototype, "variant");
1504
+ customElements.get("anduin-dot") || customElements.define("anduin-dot", T1);
1505
+ var P4 = Object.defineProperty, W5 = (l, e, t, i) => {
1506
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1507
+ (C = l[r]) && (o = C(e, t, o) || o);
1508
+ return o && P4(e, t, o), o;
1503
1509
  };
1504
- const _2 = class _2 extends u {
1510
+ const E2 = class E2 extends u {
1505
1511
  constructor() {
1506
1512
  super(...arguments), this.percent = "", this.height = "medium";
1507
1513
  }
1508
1514
  render() {
1509
1515
  const e = this.height === "large" ? 8 : 3, t = this.percent === "" || this.percent === null;
1510
- let C = "";
1516
+ let i = "";
1511
1517
  const o = ["progress__fill"];
1512
- return t ? o.push("progress__fill--indeterminate") : C = `width: ${Math.max(0, Math.min(1, parseFloat(this.percent) || 0)) * 100}%;`, d`
1518
+ return t ? o.push("progress__fill--indeterminate") : i = `width: ${Math.max(0, Math.min(1, parseFloat(this.percent) || 0)) * 100}%;`, s`
1513
1519
  <div class="progress" style="height: ${e}px;" part="progress">
1514
- <div class="${o.join(" ")}" style="${C}"></div>
1520
+ <div class="${o.join(" ")}" style="${i}"></div>
1515
1521
  <div class="progress__background"></div>
1516
1522
  </div>
1517
1523
  `;
1518
1524
  }
1519
1525
  };
1520
- _2.styles = h`
1526
+ E2.styles = h`
1521
1527
  :host { display: block; font-family: var(--font-sans); }
1522
1528
  .progress { overflow-x: hidden; position: relative; border-radius: 9999px; }
1523
1529
  .progress__fill {
@@ -1533,20 +1539,20 @@ _2.styles = h`
1533
1539
  to { transform: translateX(330%); }
1534
1540
  }
1535
1541
  `;
1536
- let f1 = _2;
1537
- z5([
1538
- r()
1539
- ], f1.prototype, "percent");
1540
- z5([
1541
- r()
1542
- ], f1.prototype, "height");
1543
- customElements.get("anduin-progress") || customElements.define("anduin-progress", f1);
1544
- var _4 = Object.defineProperty, C1 = (i, e, t, C) => {
1545
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1546
- (n = i[l]) && (o = n(e, t, o) || o);
1547
- return o && _4(e, t, o), o;
1542
+ let M1 = E2;
1543
+ W5([
1544
+ n()
1545
+ ], M1.prototype, "percent");
1546
+ W5([
1547
+ n()
1548
+ ], M1.prototype, "height");
1549
+ customElements.get("anduin-progress") || customElements.define("anduin-progress", M1);
1550
+ var S4 = Object.defineProperty, d1 = (l, e, t, i) => {
1551
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1552
+ (C = l[r]) && (o = C(e, t, o) || o);
1553
+ return o && S4(e, t, o), o;
1548
1554
  };
1549
- const x2 = class x2 extends u {
1555
+ const A2 = class A2 extends u {
1550
1556
  constructor() {
1551
1557
  super(...arguments), this.effect = "pulse", this.shape = "rectangle", this.height = "", this.width = "100%", this.duration = 1500, this.fontSize = "";
1552
1558
  }
@@ -1557,15 +1563,15 @@ const x2 = class x2 extends u {
1557
1563
  this.shape === "rounded" ? "skeleton--rounded" : "",
1558
1564
  this.shape === "rectangle" ? "skeleton--rectangle" : "",
1559
1565
  this.shape === "text" && this.fontSize ? "skeleton--text" : ""
1560
- ].filter(Boolean).join(" "), t = this.shape === "text" && this.fontSize ? `--anduin-skeleton-font-size: ${this.fontSize};` : "", C = `${this.height ? `height: ${this.height};` : ""} width: ${this.width};`, o = this.effect === "pulse" ? `animation: skeleton-pulse ${this.duration}ms ease-in-out infinite;` : "";
1561
- return d`
1562
- <div class="${e}" style="${t} ${C} ${o}" part="skeleton">
1563
- ${this.effect === "wave" ? d`<div class="skeleton__wave" style="animation: skeleton-wave ${this.duration}ms linear infinite;"></div>` : ""}
1566
+ ].filter(Boolean).join(" "), t = this.shape === "text" && this.fontSize ? `--anduin-skeleton-font-size: ${this.fontSize};` : "", i = `${this.height ? `height: ${this.height};` : ""} width: ${this.width};`, o = this.effect === "pulse" ? `animation: skeleton-pulse ${this.duration}ms ease-in-out infinite;` : "";
1567
+ return s`
1568
+ <div class="${e}" style="${t} ${i} ${o}" part="skeleton">
1569
+ ${this.effect === "wave" ? s`<div class="skeleton__wave" style="animation: skeleton-wave ${this.duration}ms linear infinite;"></div>` : ""}
1564
1570
  </div>
1565
1571
  `;
1566
1572
  }
1567
1573
  };
1568
- x2.styles = h`
1574
+ A2.styles = h`
1569
1575
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1570
1576
  .skeleton { background-color: var(--color-gray-3); position: relative; overflow: hidden; }
1571
1577
  .skeleton--circle { border-radius: 9999px; }
@@ -1584,37 +1590,37 @@ x2.styles = h`
1584
1590
  0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
1585
1591
  }
1586
1592
  `;
1587
- let R = x2;
1588
- C1([
1589
- r()
1590
- ], R.prototype, "effect");
1591
- C1([
1592
- r()
1593
- ], R.prototype, "shape");
1594
- C1([
1595
- r()
1596
- ], R.prototype, "height");
1597
- C1([
1598
- r()
1599
- ], R.prototype, "width");
1600
- C1([
1601
- r({ type: Number })
1602
- ], R.prototype, "duration");
1603
- C1([
1604
- r({ attribute: "font-size" })
1605
- ], R.prototype, "fontSize");
1606
- customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", R);
1607
- var x4 = Object.defineProperty, R4 = (i, e, t, C) => {
1608
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1609
- (n = i[l]) && (o = n(e, t, o) || o);
1610
- return o && x4(e, t, o), o;
1593
+ let A = A2;
1594
+ d1([
1595
+ n()
1596
+ ], A.prototype, "effect");
1597
+ d1([
1598
+ n()
1599
+ ], A.prototype, "shape");
1600
+ d1([
1601
+ n()
1602
+ ], A.prototype, "height");
1603
+ d1([
1604
+ n()
1605
+ ], A.prototype, "width");
1606
+ d1([
1607
+ n({ type: Number })
1608
+ ], A.prototype, "duration");
1609
+ d1([
1610
+ n({ attribute: "font-size" })
1611
+ ], A.prototype, "fontSize");
1612
+ customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", A);
1613
+ var O4 = Object.defineProperty, D4 = (l, e, t, i) => {
1614
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1615
+ (C = l[r]) && (o = C(e, t, o) || o);
1616
+ return o && O4(e, t, o), o;
1611
1617
  };
1612
- const R2 = class R2 extends u {
1618
+ const B2 = class B2 extends u {
1613
1619
  constructor() {
1614
1620
  super(...arguments), this.height = "256px";
1615
1621
  }
1616
1622
  render() {
1617
- return d`
1623
+ return s`
1618
1624
  <div class="loading-state" style="height: ${this.height};" part="loading-state">
1619
1625
  <div class="loading-state__indicator">
1620
1626
  <anduin-spinner size="large"></anduin-spinner>
@@ -1624,30 +1630,30 @@ const R2 = class R2 extends u {
1624
1630
  `;
1625
1631
  }
1626
1632
  };
1627
- R2.styles = h`
1633
+ B2.styles = h`
1628
1634
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1629
1635
  .loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
1630
1636
  .loading-state__indicator { color: var(--color-primary-4); }
1631
1637
  .loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-gray-6); }
1632
1638
  `;
1633
- let D1 = R2;
1634
- R4([
1635
- r()
1636
- ], D1.prototype, "height");
1637
- customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", D1);
1638
- var w4 = Object.defineProperty, H2 = (i, e, t, C) => {
1639
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1640
- (n = i[l]) && (o = n(e, t, o) || o);
1641
- return o && w4(e, t, o), o;
1639
+ let N1 = B2;
1640
+ D4([
1641
+ n()
1642
+ ], N1.prototype, "height");
1643
+ customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", N1);
1644
+ var I4 = Object.defineProperty, b2 = (l, e, t, i) => {
1645
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1646
+ (C = l[r]) && (o = C(e, t, o) || o);
1647
+ return o && I4(e, t, o), o;
1642
1648
  };
1643
- const P5 = "anduin-field:label-click", y1 = "anduin-field:label-click-coordinated", w2 = class w2 extends u {
1649
+ const G5 = "anduin-field:label-click", E1 = "anduin-field:label-click-coordinated", z2 = class z2 extends u {
1644
1650
  constructor() {
1645
1651
  super(...arguments), this.orientation = "vertical";
1646
1652
  }
1647
1653
  connectedCallback() {
1648
- super.connectedCallback(), this.addEventListener(P5, (e) => {
1654
+ super.connectedCallback(), this.addEventListener(G5, (e) => {
1649
1655
  const t = e;
1650
- this.dispatchEvent(new CustomEvent(y1, {
1656
+ this.dispatchEvent(new CustomEvent(E1, {
1651
1657
  detail: t.detail,
1652
1658
  bubbles: !1,
1653
1659
  composed: !1
@@ -1656,24 +1662,24 @@ const P5 = "anduin-field:label-click", y1 = "anduin-field:label-click-coordinate
1656
1662
  }
1657
1663
  render() {
1658
1664
  const e = this.orientation === "horizontal";
1659
- return d`
1665
+ return s`
1660
1666
  <div class="field ${e ? "field--horizontal" : "field--vertical"}" part="field">
1661
1667
  <slot></slot>
1662
1668
  </div>
1663
1669
  `;
1664
1670
  }
1665
1671
  };
1666
- w2.styles = h`
1672
+ z2.styles = h`
1667
1673
  :host { display: block; font-family: var(--font-sans); }
1668
1674
  .field { display: flex; flex-wrap: wrap; }
1669
1675
  .field--vertical { flex-direction: column; row-gap: 4px; }
1670
1676
  .field--horizontal { column-gap: 4px; }
1671
1677
  `;
1672
- let S1 = w2;
1673
- H2([
1674
- r()
1675
- ], S1.prototype, "orientation");
1676
- const k2 = class k2 extends u {
1678
+ let j1 = z2;
1679
+ b2([
1680
+ n()
1681
+ ], j1.prototype, "orientation");
1682
+ const F2 = class F2 extends u {
1677
1683
  constructor() {
1678
1684
  super(...arguments), this.htmlfor = "", this.required = !1;
1679
1685
  }
@@ -1681,91 +1687,91 @@ const k2 = class k2 extends u {
1681
1687
  super.connectedCallback();
1682
1688
  }
1683
1689
  onLabelClick(e) {
1684
- this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(P5, {
1690
+ this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(G5, {
1685
1691
  detail: this.htmlfor,
1686
1692
  bubbles: !0,
1687
1693
  composed: !0
1688
1694
  })));
1689
1695
  }
1690
1696
  render() {
1691
- return d`
1697
+ return s`
1692
1698
  <label
1693
1699
  class="field-label"
1694
1700
  part="label"
1695
1701
  for=${this.htmlfor || ""}
1696
1702
  @click=${this.onLabelClick}
1697
1703
  >
1698
- <slot></slot>${this.required ? d`<span class="field-label__required"> *</span>` : ""}
1704
+ <slot></slot>${this.required ? s`<span class="field-label__required"> *</span>` : ""}
1699
1705
  </label>
1700
1706
  `;
1701
1707
  }
1702
1708
  };
1703
- k2.styles = h`
1709
+ F2.styles = h`
1704
1710
  :host { display: inline-block; font-family: var(--font-sans); }
1705
1711
  .field-label { font-size: 13px; line-height: 20px; font-weight: 600; cursor: default; color: var(--color-gray-8, #101828); }
1706
1712
  .field-label__required { color: var(--color-danger-5); }
1707
1713
  `;
1708
- let V1 = k2;
1709
- H2([
1710
- r()
1711
- ], V1.prototype, "htmlfor");
1712
- H2([
1713
- r({ type: Boolean })
1714
- ], V1.prototype, "required");
1715
- const $2 = class $2 extends u {
1714
+ let Z1 = F2;
1715
+ b2([
1716
+ n()
1717
+ ], Z1.prototype, "htmlfor");
1718
+ b2([
1719
+ n({ type: Boolean })
1720
+ ], Z1.prototype, "required");
1721
+ const P2 = class P2 extends u {
1716
1722
  render() {
1717
- return d`<div class="field-description" part="description"><slot></slot></div>`;
1723
+ return s`<div class="field-description" part="description"><slot></slot></div>`;
1718
1724
  }
1719
1725
  };
1720
- $2.styles = h`
1726
+ P2.styles = h`
1721
1727
  :host { display: inline-block; font-family: var(--font-sans); }
1722
1728
  .field-description { display: block; line-height: 16px; font-size: 11px; color: var(--color-gray-7); }
1723
1729
  `;
1724
- let K1 = $2;
1725
- const E2 = class E2 extends u {
1730
+ let o2 = P2;
1731
+ const S2 = class S2 extends u {
1726
1732
  render() {
1727
- return d`<div class="field-error" part="error"><slot></slot></div>`;
1733
+ return s`<div class="field-error" part="error"><slot></slot></div>`;
1728
1734
  }
1729
1735
  };
1730
- E2.styles = h`
1736
+ S2.styles = h`
1731
1737
  :host { display: block; font-family: var(--font-sans); }
1732
1738
  .field-error { color: var(--color-danger-4); }
1733
1739
  `;
1734
- let J1 = E2;
1735
- const A2 = class A2 extends u {
1740
+ let i2 = S2;
1741
+ const O2 = class O2 extends u {
1736
1742
  render() {
1737
- return d`<div class="field-group" part="group"><slot></slot></div>`;
1743
+ return s`<div class="field-group" part="group"><slot></slot></div>`;
1738
1744
  }
1739
1745
  };
1740
- A2.styles = h`
1746
+ O2.styles = h`
1741
1747
  :host { display: block; font-family: var(--font-sans); }
1742
1748
  .field-group { display: flex; flex-direction: column; row-gap: 24px; }
1743
1749
  `;
1744
- let Q1 = A2;
1745
- customElements.get("anduin-field") || customElements.define("anduin-field", S1);
1746
- customElements.get("anduin-field-label") || customElements.define("anduin-field-label", V1);
1747
- customElements.get("anduin-field-description") || customElements.define("anduin-field-description", K1);
1748
- customElements.get("anduin-field-error") || customElements.define("anduin-field-error", J1);
1749
- customElements.get("anduin-field-group") || customElements.define("anduin-field-group", Q1);
1750
- var k4 = Object.defineProperty, _1 = (i, e, t, C) => {
1751
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1752
- (n = i[l]) && (o = n(e, t, o) || o);
1753
- return o && k4(e, t, o), o;
1750
+ let l2 = O2;
1751
+ customElements.get("anduin-field") || customElements.define("anduin-field", j1);
1752
+ customElements.get("anduin-field-label") || customElements.define("anduin-field-label", Z1);
1753
+ customElements.get("anduin-field-description") || customElements.define("anduin-field-description", o2);
1754
+ customElements.get("anduin-field-error") || customElements.define("anduin-field-error", i2);
1755
+ customElements.get("anduin-field-group") || customElements.define("anduin-field-group", l2);
1756
+ var T4 = Object.defineProperty, A1 = (l, e, t, i) => {
1757
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1758
+ (C = l[r]) && (o = C(e, t, o) || o);
1759
+ return o && T4(e, t, o), o;
1754
1760
  };
1755
- const $4 = "anduin-checkbox:change", B2 = class B2 extends u {
1761
+ const N4 = "anduin-checkbox:change", D2 = class D2 extends u {
1756
1762
  constructor() {
1757
1763
  super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
1758
1764
  }
1759
1765
  connectedCallback() {
1760
1766
  super.connectedCallback();
1761
1767
  const e = this.closest("anduin-field");
1762
- e && e.addEventListener(y1, (t) => {
1763
- const C = t;
1764
- this.inputid && this.inputid === C.detail && !this.disabled && !this.readonly && this.toggle();
1768
+ e && e.addEventListener(E1, (t) => {
1769
+ const i = t;
1770
+ this.inputid && this.inputid === i.detail && !this.disabled && !this.readonly && this.toggle();
1765
1771
  });
1766
1772
  }
1767
1773
  toggle() {
1768
- this.checked = !this.checked, this.dispatchEvent(new CustomEvent($4, {
1774
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(N4, {
1769
1775
  detail: this.checked,
1770
1776
  bubbles: !0,
1771
1777
  composed: !0
@@ -1781,11 +1787,11 @@ const $4 = "anduin-checkbox:change", B2 = class B2 extends u {
1781
1787
  this.readonly && !this.indeterminate && !this.checked ? "checkbox__box--readonly" : "",
1782
1788
  this.disabled && !this.indeterminate && !this.checked ? "checkbox__box--disabled" : "",
1783
1789
  !this.indeterminate && !this.checked && !this.readonly && !this.disabled ? "checkbox__box--unchecked" : ""
1784
- ].filter(Boolean).join(" "), t = this.indeterminate ? "minusBold" : this.checked ? "checkBold" : "", C = !this.disabled && !this.readonly, o = C ? 0 : -1;
1785
- return d`
1790
+ ].filter(Boolean).join(" "), t = this.indeterminate ? "minusBold" : this.checked ? "checkBold" : "", i = !this.disabled && !this.readonly, o = i ? 0 : -1;
1791
+ return s`
1786
1792
  <label class="${this.disabled ? "is-disabled" : ""}">
1787
1793
  <div
1788
- class="checkbox ${C ? "checkbox--interactive" : ""} ${this.disabled ? "checkbox--disabled" : ""}"
1794
+ class="checkbox ${i ? "checkbox--interactive" : ""} ${this.disabled ? "checkbox--disabled" : ""}"
1789
1795
  part="checkbox"
1790
1796
  >
1791
1797
  <input
@@ -1794,11 +1800,11 @@ const $4 = "anduin-checkbox:change", B2 = class B2 extends u {
1794
1800
  .checked=${this.checked}
1795
1801
  ?disabled=${this.disabled || this.readonly}
1796
1802
  tabindex="${o}"
1797
- @change=${C ? this.onInputChange : p}
1803
+ @change=${i ? this.onInputChange : c}
1798
1804
  />
1799
1805
  <div class="${e}" tabindex="${o}"></div>
1800
1806
  <div class="checkbox__icon ${this.indeterminate || this.checked ? "checkbox__icon--visible" : ""}">
1801
- ${t ? d`<anduin-icon name="${t}" size="16"></anduin-icon>` : p}
1807
+ ${t ? s`<anduin-icon name="${t}" size="16"></anduin-icon>` : c}
1802
1808
  </div>
1803
1809
  </div>
1804
1810
  <span class="checkbox__label"><slot></slot></span>
@@ -1806,7 +1812,7 @@ const $4 = "anduin-checkbox:change", B2 = class B2 extends u {
1806
1812
  `;
1807
1813
  }
1808
1814
  };
1809
- B2.styles = h`
1815
+ D2.styles = h`
1810
1816
  :host { display: inline-flex; font-family: var(--font-sans); }
1811
1817
 
1812
1818
  label {
@@ -1844,46 +1850,46 @@ B2.styles = h`
1844
1850
  .checkbox__icon { position: absolute; inset: 0; pointer-events: none; color: var(--color-gray-4); display: flex; align-items: center; justify-content: center; }
1845
1851
  .checkbox__icon--visible { color: var(--color-gray-0); }
1846
1852
  `;
1847
- let z = B2;
1848
- _1([
1849
- r({ type: Boolean })
1850
- ], z.prototype, "checked");
1851
- _1([
1852
- r({ type: Boolean })
1853
- ], z.prototype, "disabled");
1854
- _1([
1855
- r({ type: Boolean })
1856
- ], z.prototype, "indeterminate");
1857
- _1([
1858
- r({ type: Boolean })
1859
- ], z.prototype, "readonly");
1860
- _1([
1861
- r()
1862
- ], z.prototype, "inputid");
1863
- customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", z);
1864
- var E4 = Object.defineProperty, y = (i, e, t, C) => {
1865
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1866
- (n = i[l]) && (o = n(e, t, o) || o);
1867
- return o && E4(e, t, o), o;
1853
+ let I = D2;
1854
+ A1([
1855
+ n({ type: Boolean })
1856
+ ], I.prototype, "checked");
1857
+ A1([
1858
+ n({ type: Boolean })
1859
+ ], I.prototype, "disabled");
1860
+ A1([
1861
+ n({ type: Boolean })
1862
+ ], I.prototype, "indeterminate");
1863
+ A1([
1864
+ n({ type: Boolean })
1865
+ ], I.prototype, "readonly");
1866
+ A1([
1867
+ n()
1868
+ ], I.prototype, "inputid");
1869
+ customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", I);
1870
+ var j4 = Object.defineProperty, k = (l, e, t, i) => {
1871
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
1872
+ (C = l[r]) && (o = C(e, t, o) || o);
1873
+ return o && j4(e, t, o), o;
1868
1874
  };
1869
- const v5 = "anduin-input:change", A4 = "anduin-input:clear", F2 = class F2 extends u {
1875
+ const y5 = "anduin-input:change", U4 = "anduin-input:clear", I2 = class I2 extends u {
1870
1876
  constructor() {
1871
1877
  super(...arguments), this.value = "", this.size = "default", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.status = "", this.startIcon = "", this.endIcon = "", this.clearable = !1;
1872
1878
  }
1873
1879
  connectedCallback() {
1874
1880
  super.connectedCallback();
1875
1881
  const e = this.closest("anduin-field");
1876
- e && e.addEventListener(y1, (t) => {
1882
+ e && e.addEventListener(E1, (t) => {
1877
1883
  var o;
1878
- const C = t;
1879
- this.inputid && this.inputid === C.detail && ((o = this.inputEl) == null || o.focus());
1884
+ const i = t;
1885
+ this.inputid && this.inputid === i.detail && ((o = this.inputEl) == null || o.focus());
1880
1886
  });
1881
1887
  }
1882
1888
  updated() {
1883
1889
  this.inputEl && this.inputEl.value !== this.value && (this.inputEl.value = this.value);
1884
1890
  }
1885
1891
  onInput() {
1886
- this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(v5, {
1892
+ this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(y5, {
1887
1893
  detail: this.value,
1888
1894
  bubbles: !0,
1889
1895
  composed: !0
@@ -1891,21 +1897,21 @@ const v5 = "anduin-input:change", A4 = "anduin-input:clear", F2 = class F2 exten
1891
1897
  }
1892
1898
  onClear() {
1893
1899
  var e;
1894
- this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(v5, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(A4, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
1900
+ this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(y5, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(U4, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
1895
1901
  }
1896
1902
  render() {
1897
- const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", C = !!this.startIcon, o = !!this.endIcon || this.clearable && !!this.value, l = this.clearable && !!this.value && !this.disabled && !this.readonly, n = this.size === "small" ? "12" : this.size === "large" ? "20" : "16", a = this.size === "small" ? "10" : this.size === "large" ? "16" : "14";
1898
- return d`
1903
+ const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", i = !!this.startIcon, o = !!this.endIcon || this.clearable && !!this.value, r = this.clearable && !!this.value && !this.disabled && !this.readonly, C = this.size === "small" ? "12" : this.size === "large" ? "20" : "16", a = this.size === "small" ? "10" : this.size === "large" ? "16" : "14";
1904
+ return s`
1899
1905
  <div class="input-wrapper">
1900
- ${C ? d`
1906
+ ${i ? s`
1901
1907
  <span class="input__start">
1902
- <anduin-icon name=${this.startIcon} size=${n}></anduin-icon>
1908
+ <anduin-icon name=${this.startIcon} size=${C}></anduin-icon>
1903
1909
  </span>
1904
- ` : p}
1910
+ ` : c}
1905
1911
 
1906
1912
  <input
1907
1913
  class="input ${e}
1908
- ${C ? "input--has-start" : ""}
1914
+ ${i ? "input--has-start" : ""}
1909
1915
  ${o ? "input--has-end" : ""}
1910
1916
  ${this.disabled ? "input--disabled" : ""}
1911
1917
  ${this.readonly ? "input--readonly" : ""}
@@ -1919,23 +1925,23 @@ const v5 = "anduin-input:change", A4 = "anduin-input:clear", F2 = class F2 exten
1919
1925
  @input=${this.onInput}
1920
1926
  />
1921
1927
 
1922
- ${o ? d`
1928
+ ${o ? s`
1923
1929
  <span class="input__end">
1924
- ${l ? d`
1930
+ ${r ? s`
1925
1931
  <button class="input__clear" type="button" @click=${this.onClear} aria-label="Clear">
1926
1932
  <anduin-icon name="cross" size=${a}></anduin-icon>
1927
1933
  </button>
1928
- ` : p}
1929
- ${this.endIcon ? d`
1930
- <anduin-icon name=${this.endIcon} size=${n}></anduin-icon>
1931
- ` : p}
1934
+ ` : c}
1935
+ ${this.endIcon ? s`
1936
+ <anduin-icon name=${this.endIcon} size=${C}></anduin-icon>
1937
+ ` : c}
1932
1938
  </span>
1933
- ` : p}
1939
+ ` : c}
1934
1940
  </div>
1935
1941
  `;
1936
1942
  }
1937
1943
  };
1938
- F2.styles = h`
1944
+ I2.styles = h`
1939
1945
  :host { display: block; font-family: var(--font-sans); }
1940
1946
 
1941
1947
  .input-wrapper { position: relative; display: flex; align-items: center; }
@@ -1989,64 +1995,64 @@ F2.styles = h`
1989
1995
  }
1990
1996
  .input__clear:hover { color: var(--color-gray-7); }
1991
1997
  `;
1992
- let b = F2;
1993
- y([
1994
- r()
1995
- ], b.prototype, "value");
1996
- y([
1997
- r()
1998
- ], b.prototype, "size");
1999
- y([
2000
- r({ type: Boolean })
2001
- ], b.prototype, "disabled");
2002
- y([
2003
- r({ type: Boolean })
2004
- ], b.prototype, "readonly");
2005
- y([
2006
- r()
2007
- ], b.prototype, "placeholder");
2008
- y([
2009
- r()
2010
- ], b.prototype, "inputid");
2011
- y([
2012
- r()
2013
- ], b.prototype, "status");
2014
- y([
2015
- r({ attribute: "start-icon" })
2016
- ], b.prototype, "startIcon");
2017
- y([
2018
- r({ attribute: "end-icon" })
2019
- ], b.prototype, "endIcon");
2020
- y([
2021
- r({ type: Boolean })
2022
- ], b.prototype, "clearable");
2023
- y([
2024
- D("input")
2025
- ], b.prototype, "inputEl");
2026
- customElements.get("anduin-input") || customElements.define("anduin-input", b);
2027
- var B4 = Object.defineProperty, S = (i, e, t, C) => {
2028
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
2029
- (n = i[l]) && (o = n(e, t, o) || o);
2030
- return o && B4(e, t, o), o;
1998
+ let Z = I2;
1999
+ k([
2000
+ n()
2001
+ ], Z.prototype, "value");
2002
+ k([
2003
+ n()
2004
+ ], Z.prototype, "size");
2005
+ k([
2006
+ n({ type: Boolean })
2007
+ ], Z.prototype, "disabled");
2008
+ k([
2009
+ n({ type: Boolean })
2010
+ ], Z.prototype, "readonly");
2011
+ k([
2012
+ n()
2013
+ ], Z.prototype, "placeholder");
2014
+ k([
2015
+ n()
2016
+ ], Z.prototype, "inputid");
2017
+ k([
2018
+ n()
2019
+ ], Z.prototype, "status");
2020
+ k([
2021
+ n({ attribute: "start-icon" })
2022
+ ], Z.prototype, "startIcon");
2023
+ k([
2024
+ n({ attribute: "end-icon" })
2025
+ ], Z.prototype, "endIcon");
2026
+ k([
2027
+ n({ type: Boolean })
2028
+ ], Z.prototype, "clearable");
2029
+ k([
2030
+ w("input")
2031
+ ], Z.prototype, "inputEl");
2032
+ customElements.get("anduin-input") || customElements.define("anduin-input", Z);
2033
+ var q4 = Object.defineProperty, N = (l, e, t, i) => {
2034
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
2035
+ (C = l[r]) && (o = C(e, t, o) || o);
2036
+ return o && q4(e, t, o), o;
2031
2037
  };
2032
- const F4 = "anduin-textarea:change", z2 = class z2 extends u {
2038
+ const W4 = "anduin-textarea:change", T2 = class T2 extends u {
2033
2039
  constructor() {
2034
2040
  super(...arguments), this.value = "", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.rows = 3, this.status = "";
2035
2041
  }
2036
2042
  connectedCallback() {
2037
2043
  super.connectedCallback();
2038
2044
  const e = this.closest("anduin-field");
2039
- e && e.addEventListener(y1, (t) => {
2045
+ e && e.addEventListener(E1, (t) => {
2040
2046
  var o;
2041
- const C = t;
2042
- this.inputid && this.inputid === C.detail && ((o = this.textareaEl) == null || o.focus());
2047
+ const i = t;
2048
+ this.inputid && this.inputid === i.detail && ((o = this.textareaEl) == null || o.focus());
2043
2049
  });
2044
2050
  }
2045
2051
  updated() {
2046
2052
  this.textareaEl && this.textareaEl.value !== this.value && (this.textareaEl.value = this.value);
2047
2053
  }
2048
2054
  onInput() {
2049
- this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(F4, {
2055
+ this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(W4, {
2050
2056
  detail: this.value,
2051
2057
  bubbles: !0,
2052
2058
  composed: !0
@@ -2054,7 +2060,7 @@ const F4 = "anduin-textarea:change", z2 = class z2 extends u {
2054
2060
  }
2055
2061
  render() {
2056
2062
  const e = this.status ? `textarea--${this.status}` : "";
2057
- return d`
2063
+ return s`
2058
2064
  <textarea
2059
2065
  class="textarea
2060
2066
  ${this.disabled ? "textarea--disabled" : ""}
@@ -2071,7 +2077,7 @@ const F4 = "anduin-textarea:change", z2 = class z2 extends u {
2071
2077
  `;
2072
2078
  }
2073
2079
  };
2074
- z2.styles = h`
2080
+ T2.styles = h`
2075
2081
  :host { display: block; font-family: var(--font-sans); }
2076
2082
 
2077
2083
  .textarea {
@@ -2088,46 +2094,46 @@ z2.styles = h`
2088
2094
  .textarea--warning { border-color: var(--color-warning-4); }
2089
2095
  .textarea--loading { border-color: var(--color-gray-4); }
2090
2096
  `;
2091
- let Z = z2;
2092
- S([
2093
- r()
2094
- ], Z.prototype, "value");
2095
- S([
2096
- r({ type: Boolean })
2097
- ], Z.prototype, "disabled");
2098
- S([
2099
- r({ type: Boolean })
2100
- ], Z.prototype, "readonly");
2101
- S([
2102
- r()
2103
- ], Z.prototype, "placeholder");
2104
- S([
2105
- r()
2106
- ], Z.prototype, "inputid");
2107
- S([
2108
- r({ type: Number })
2109
- ], Z.prototype, "rows");
2110
- S([
2111
- r()
2112
- ], Z.prototype, "status");
2113
- S([
2114
- D("textarea")
2115
- ], Z.prototype, "textareaEl");
2116
- customElements.get("anduin-textarea") || customElements.define("anduin-textarea", Z);
2117
- var z4 = Object.defineProperty, m = (i, e, t, C) => {
2118
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
2119
- (n = i[l]) && (o = n(e, t, o) || o);
2120
- return o && z4(e, t, o), o;
2097
+ let x = T2;
2098
+ N([
2099
+ n()
2100
+ ], x.prototype, "value");
2101
+ N([
2102
+ n({ type: Boolean })
2103
+ ], x.prototype, "disabled");
2104
+ N([
2105
+ n({ type: Boolean })
2106
+ ], x.prototype, "readonly");
2107
+ N([
2108
+ n()
2109
+ ], x.prototype, "placeholder");
2110
+ N([
2111
+ n()
2112
+ ], x.prototype, "inputid");
2113
+ N([
2114
+ n({ type: Number })
2115
+ ], x.prototype, "rows");
2116
+ N([
2117
+ n()
2118
+ ], x.prototype, "status");
2119
+ N([
2120
+ w("textarea")
2121
+ ], x.prototype, "textareaEl");
2122
+ customElements.get("anduin-textarea") || customElements.define("anduin-textarea", x);
2123
+ var G4 = Object.defineProperty, _ = (l, e, t, i) => {
2124
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
2125
+ (C = l[r]) && (o = C(e, t, o) || o);
2126
+ return o && G4(e, t, o), o;
2121
2127
  };
2122
- const D5 = "anduin-tab:trigger-click", T1 = "anduin-tab:value-changed", P4 = "anduin-tab:change", P2 = class P2 extends u {
2128
+ const Y5 = "anduin-tab:trigger-click", W1 = "anduin-tab:value-changed", Y4 = "anduin-tab:change", N2 = class N2 extends u {
2123
2129
  constructor() {
2124
2130
  super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
2125
2131
  }
2126
2132
  connectedCallback() {
2127
- super.connectedCallback(), this.addEventListener(D5, (e) => {
2133
+ super.connectedCallback(), this.addEventListener(Y5, (e) => {
2128
2134
  e.stopPropagation();
2129
2135
  const t = e;
2130
- this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(P4, { detail: t.detail, bubbles: !0, composed: !0 }));
2136
+ this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(Y4, { detail: t.detail, bubbles: !0, composed: !0 }));
2131
2137
  }), requestAnimationFrame(() => {
2132
2138
  const e = this.value || this.defaultValue;
2133
2139
  e && (this.value || (this.value = e), this.broadcastValueChanged(e));
@@ -2137,39 +2143,39 @@ const D5 = "anduin-tab:trigger-click", T1 = "anduin-tab:value-changed", P4 = "an
2137
2143
  e.has("value") && this.value && this.broadcastValueChanged(this.value);
2138
2144
  }
2139
2145
  broadcastValueChanged(e) {
2140
- this.dispatchEvent(new CustomEvent(T1, { detail: e, bubbles: !1, composed: !1 }));
2146
+ this.dispatchEvent(new CustomEvent(W1, { detail: e, bubbles: !1, composed: !1 }));
2141
2147
  }
2142
2148
  render() {
2143
- return d`<div class="tabs" part="tabs"><slot></slot></div>`;
2149
+ return s`<div class="tabs" part="tabs"><slot></slot></div>`;
2144
2150
  }
2145
2151
  };
2146
- P2.styles = h`
2152
+ N2.styles = h`
2147
2153
  :host { display: flex; flex-direction: column; font-family: var(--font-sans); }
2148
2154
  :host([fill]) { flex: 1; min-height: 0; --_tab-fill-flex: 1; --_tab-fill-height: 100%; }
2149
2155
  .tabs { display: flex; flex-direction: column; width: 100%; }
2150
2156
  :host([fill]) .tabs { flex: 1; min-height: 0; }
2151
2157
  `;
2152
- let Q = P2;
2153
- m([
2154
- r({ attribute: "default-value" })
2155
- ], Q.prototype, "defaultValue");
2156
- m([
2157
- r()
2158
- ], Q.prototype, "value");
2159
- m([
2160
- r({ type: Boolean, reflect: !0 })
2161
- ], Q.prototype, "fill");
2162
- const D2 = class D2 extends u {
2158
+ let C1 = N2;
2159
+ _([
2160
+ n({ attribute: "default-value" })
2161
+ ], C1.prototype, "defaultValue");
2162
+ _([
2163
+ n()
2164
+ ], C1.prototype, "value");
2165
+ _([
2166
+ n({ type: Boolean, reflect: !0 })
2167
+ ], C1.prototype, "fill");
2168
+ const j2 = class j2 extends u {
2163
2169
  constructor() {
2164
2170
  super(...arguments), this.alignment = "left", this.lastActiveValue = "", this.resizeObserver = null;
2165
2171
  }
2166
2172
  connectedCallback() {
2167
2173
  super.connectedCallback();
2168
2174
  const e = this.closest("anduin-tabs");
2169
- e && e.addEventListener(T1, (t) => {
2170
- const C = t;
2171
- this.lastActiveValue = C.detail, requestAnimationFrame(() => {
2172
- this.animateIndicator(C.detail);
2175
+ e && e.addEventListener(W1, (t) => {
2176
+ const i = t;
2177
+ this.lastActiveValue = i.detail, requestAnimationFrame(() => {
2178
+ this.animateIndicator(i.detail);
2173
2179
  });
2174
2180
  });
2175
2181
  }
@@ -2184,17 +2190,17 @@ const D2 = class D2 extends u {
2184
2190
  }
2185
2191
  animateIndicator(e) {
2186
2192
  const t = this.querySelectorAll(":scope > anduin-tab-trigger");
2187
- for (let C = 0; C < t.length; C++) {
2188
- const o = t[C];
2193
+ for (let i = 0; i < t.length; i++) {
2194
+ const o = t[i];
2189
2195
  if (o.getAttribute("value") === e) {
2190
- const l = o.getBoundingClientRect(), n = this.getBoundingClientRect(), a = l.left - n.left + this.scrollLeft;
2191
- this.indicator && (this.indicator.style.width = `${l.width}px`, this.indicator.style.transform = `translateX(${a}px)`);
2196
+ const r = o.getBoundingClientRect(), C = this.getBoundingClientRect(), a = r.left - C.left + this.scrollLeft;
2197
+ this.indicator && (this.indicator.style.width = `${r.width}px`, this.indicator.style.transform = `translateX(${a}px)`);
2192
2198
  break;
2193
2199
  }
2194
2200
  }
2195
2201
  }
2196
2202
  render() {
2197
- return d`
2203
+ return s`
2198
2204
  <div class="tabs-list tabs-list--${this.alignment}" role="tablist" aria-orientation="horizontal" part="tabs-list">
2199
2205
  <slot></slot>
2200
2206
  <div class="tabs-list__indicator"></div>
@@ -2202,7 +2208,7 @@ const D2 = class D2 extends u {
2202
2208
  `;
2203
2209
  }
2204
2210
  };
2205
- D2.styles = h`
2211
+ j2.styles = h`
2206
2212
  :host { display: block; font-family: var(--font-sans); }
2207
2213
  .tabs-list {
2208
2214
  display: flex; background-color: var(--color-gray-0);
@@ -2217,30 +2223,30 @@ D2.styles = h`
2217
2223
  left: 0; height: 2px; transition-duration: 200ms; transition-property: transform, width;
2218
2224
  }
2219
2225
  `;
2220
- let g1 = D2;
2221
- m([
2222
- r()
2223
- ], g1.prototype, "alignment");
2224
- m([
2225
- D(".tabs-list__indicator")
2226
- ], g1.prototype, "indicator");
2227
- const S2 = class S2 extends u {
2226
+ let y1 = j2;
2227
+ _([
2228
+ n()
2229
+ ], y1.prototype, "alignment");
2230
+ _([
2231
+ w(".tabs-list__indicator")
2232
+ ], y1.prototype, "indicator");
2233
+ const U2 = class U2 extends u {
2228
2234
  constructor() {
2229
2235
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.showBadge = !1, this.badgeCount = "", this.isActive = !1;
2230
2236
  }
2231
2237
  connectedCallback() {
2232
2238
  super.connectedCallback();
2233
2239
  const e = this.closest("anduin-tabs");
2234
- e && e.addEventListener(T1, (t) => {
2235
- const C = t;
2236
- this.isActive = C.detail === this.value;
2240
+ e && e.addEventListener(W1, (t) => {
2241
+ const i = t;
2242
+ this.isActive = i.detail === this.value;
2237
2243
  });
2238
2244
  }
2239
2245
  onClick() {
2240
- this.dispatchEvent(new CustomEvent(D5, { detail: this.value, bubbles: !0, composed: !0 }));
2246
+ this.dispatchEvent(new CustomEvent(Y5, { detail: this.value, bubbles: !0, composed: !0 }));
2241
2247
  }
2242
2248
  render() {
2243
- return d`
2249
+ return s`
2244
2250
  <button
2245
2251
  class="tab-trigger ${this.isActive ? "tab-trigger--active" : "tab-trigger--normal"}"
2246
2252
  role="tab"
@@ -2250,15 +2256,15 @@ const S2 = class S2 extends u {
2250
2256
  @click=${this.onClick}
2251
2257
  >
2252
2258
  <div class="tab-trigger__content">
2253
- ${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="16"></anduin-icon>` : p}
2259
+ ${this.startIcon ? s`<anduin-icon name="${this.startIcon}" size="16"></anduin-icon>` : c}
2254
2260
  <slot></slot>
2255
- ${this.showBadge ? d`<span class="tab-trigger__badge">${this.badgeCount}</span>` : p}
2261
+ ${this.showBadge ? s`<span class="tab-trigger__badge">${this.badgeCount}</span>` : c}
2256
2262
  </div>
2257
2263
  </button>
2258
2264
  `;
2259
2265
  }
2260
2266
  };
2261
- S2.styles = h`
2267
+ U2.styles = h`
2262
2268
  :host { display: inline-block; font-family: var(--font-sans); }
2263
2269
  .tab-trigger {
2264
2270
  cursor: pointer; background: none; border: none; display: block;
@@ -2281,70 +2287,70 @@ S2.styles = h`
2281
2287
  color: var(--color-gray-7); white-space: nowrap;
2282
2288
  }
2283
2289
  `;
2284
- let w = S2;
2285
- m([
2286
- r()
2287
- ], w.prototype, "value");
2288
- m([
2289
- r({ attribute: "start-icon" })
2290
- ], w.prototype, "startIcon");
2291
- m([
2292
- r({ type: Boolean })
2293
- ], w.prototype, "disabled");
2294
- m([
2295
- r({ type: Boolean, attribute: "show-badge" })
2296
- ], w.prototype, "showBadge");
2297
- m([
2298
- r({ attribute: "badge-count" })
2299
- ], w.prototype, "badgeCount");
2300
- m([
2301
- x()
2302
- ], w.prototype, "isActive");
2303
- const O2 = class O2 extends u {
2290
+ let B = U2;
2291
+ _([
2292
+ n()
2293
+ ], B.prototype, "value");
2294
+ _([
2295
+ n({ attribute: "start-icon" })
2296
+ ], B.prototype, "startIcon");
2297
+ _([
2298
+ n({ type: Boolean })
2299
+ ], B.prototype, "disabled");
2300
+ _([
2301
+ n({ type: Boolean, attribute: "show-badge" })
2302
+ ], B.prototype, "showBadge");
2303
+ _([
2304
+ n({ attribute: "badge-count" })
2305
+ ], B.prototype, "badgeCount");
2306
+ _([
2307
+ y()
2308
+ ], B.prototype, "isActive");
2309
+ const q2 = class q2 extends u {
2304
2310
  constructor() {
2305
2311
  super(...arguments), this.value = "", this.isActive = !1;
2306
2312
  }
2307
2313
  connectedCallback() {
2308
2314
  super.connectedCallback();
2309
2315
  const e = this.closest("anduin-tabs");
2310
- e && e.addEventListener(T1, (t) => {
2311
- const C = t;
2312
- this.isActive = C.detail === this.value;
2316
+ e && e.addEventListener(W1, (t) => {
2317
+ const i = t;
2318
+ this.isActive = i.detail === this.value;
2313
2319
  });
2314
2320
  }
2315
2321
  updated(e) {
2316
2322
  e.has("isActive") && this.toggleAttribute("active", this.isActive);
2317
2323
  }
2318
2324
  render() {
2319
- return d`
2325
+ return s`
2320
2326
  <div class="tab-content" role="tabpanel" tabindex="0" part="tab-content">
2321
2327
  <slot></slot>
2322
2328
  </div>
2323
2329
  `;
2324
2330
  }
2325
2331
  };
2326
- O2.styles = h`
2332
+ q2.styles = h`
2327
2333
  :host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
2328
2334
  :host(:not([active])) { display: none; }
2329
2335
  .tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
2330
2336
  `;
2331
- let L1 = O2;
2332
- m([
2333
- r()
2334
- ], L1.prototype, "value");
2335
- m([
2336
- x()
2337
- ], L1.prototype, "isActive");
2338
- customElements.get("anduin-tabs") || customElements.define("anduin-tabs", Q);
2339
- customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", g1);
2340
- customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", w);
2341
- customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", L1);
2342
- var D4 = Object.defineProperty, v2 = (i, e, t, C) => {
2343
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
2344
- (n = i[l]) && (o = n(e, t, o) || o);
2345
- return o && D4(e, t, o), o;
2337
+ let _1 = q2;
2338
+ _([
2339
+ n()
2340
+ ], _1.prototype, "value");
2341
+ _([
2342
+ y()
2343
+ ], _1.prototype, "isActive");
2344
+ customElements.get("anduin-tabs") || customElements.define("anduin-tabs", C1);
2345
+ customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", y1);
2346
+ customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", B);
2347
+ customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", _1);
2348
+ var X4 = Object.defineProperty, m2 = (l, e, t, i) => {
2349
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
2350
+ (C = l[r]) && (o = C(e, t, o) || o);
2351
+ return o && X4(e, t, o), o;
2346
2352
  };
2347
- const S4 = "anduin-tag-close:click", O4 = {
2353
+ const K4 = "anduin-tag-close:click", J4 = {
2348
2354
  gray: "tag--light-gray",
2349
2355
  primary: "tag--light-primary",
2350
2356
  success: "tag--light-success",
@@ -2369,7 +2375,7 @@ const S4 = "anduin-tag-close:click", O4 = {
2369
2375
  customYellow: "tag--custom-yellow",
2370
2376
  customYellowGreen: "tag--custom-yellow-green",
2371
2377
  customYellowOrange: "tag--custom-yellow-orange"
2372
- }, I4 = {
2378
+ }, Q4 = {
2373
2379
  gray: "tag__icon--light-gray",
2374
2380
  primary: "tag__icon--light-primary",
2375
2381
  success: "tag__icon--light-success",
@@ -2394,22 +2400,22 @@ const S4 = "anduin-tag-close:click", O4 = {
2394
2400
  customMagenta: "tag__icon--custom-magenta",
2395
2401
  customBlueGreen: "tag__icon--custom-blue-green",
2396
2402
  customPink: "tag__icon--custom-pink"
2397
- }, I2 = class I2 extends u {
2403
+ }, W2 = class W2 extends u {
2398
2404
  constructor() {
2399
2405
  super(...arguments), this.variant = "gray", this.icon = "", this.disabled = !1;
2400
2406
  }
2401
2407
  render() {
2402
- const e = O4[this.variant] || "tag--light-gray", t = I4[this.variant] || "tag__icon--light-gray";
2403
- return d`
2408
+ const e = J4[this.variant] || "tag--light-gray", t = Q4[this.variant] || "tag__icon--light-gray";
2409
+ return s`
2404
2410
  <div class="tag ${e} ${this.disabled ? "tag--disabled" : ""}" part="tag">
2405
- ${this.icon ? d`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : p}
2411
+ ${this.icon ? s`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : c}
2406
2412
  <div class="tag__label"><slot></slot></div>
2407
2413
  <slot name="closeButton" class="tag__close"></slot>
2408
2414
  </div>
2409
2415
  `;
2410
2416
  }
2411
2417
  };
2412
- I2.styles = h`
2418
+ W2.styles = h`
2413
2419
  :host { display: inline-flex; max-width: 100%; font-family: var(--font-sans); }
2414
2420
  .tag {
2415
2421
  font-weight: 500; font-size: 11px; height: 20px; padding-left: 6px; padding-right: 6px;
@@ -2457,29 +2463,29 @@ I2.styles = h`
2457
2463
  .tag--custom-yellow-green { color: var(--color-gray-9); background-color: rgb(174,207,85); }
2458
2464
  .tag--custom-yellow-orange { color: var(--color-gray-9); background-color: rgb(255,193,107); }
2459
2465
  `;
2460
- let e1 = I2;
2461
- v2([
2462
- r()
2463
- ], e1.prototype, "variant");
2464
- v2([
2465
- r()
2466
- ], e1.prototype, "icon");
2467
- v2([
2468
- r({ type: Boolean })
2469
- ], e1.prototype, "disabled");
2470
- const T2 = class T2 extends u {
2466
+ let n1 = W2;
2467
+ m2([
2468
+ n()
2469
+ ], n1.prototype, "variant");
2470
+ m2([
2471
+ n()
2472
+ ], n1.prototype, "icon");
2473
+ m2([
2474
+ n({ type: Boolean })
2475
+ ], n1.prototype, "disabled");
2476
+ const G2 = class G2 extends u {
2471
2477
  onClick() {
2472
- this.dispatchEvent(new CustomEvent(S4, { bubbles: !0, composed: !0 }));
2478
+ this.dispatchEvent(new CustomEvent(K4, { bubbles: !0, composed: !0 }));
2473
2479
  }
2474
2480
  render() {
2475
- return d`
2481
+ return s`
2476
2482
  <button class="tag-close__button" part="tag-close" @click=${this.onClick}>
2477
2483
  <anduin-icon name="crossSmall" size="12"></anduin-icon>
2478
2484
  </button>
2479
2485
  `;
2480
2486
  }
2481
2487
  };
2482
- T2.styles = h`
2488
+ G2.styles = h`
2483
2489
  :host { display: inline-block; font-family: var(--font-sans); }
2484
2490
  .tag-close__button {
2485
2491
  flex: none; width: 16px; height: 16px; display: flex; align-items: center;
@@ -2489,15 +2495,15 @@ T2.styles = h`
2489
2495
  .tag-close__button:hover { opacity: 0.7; }
2490
2496
  .tag-close__button:active { opacity: 0.5; }
2491
2497
  `;
2492
- let e2 = T2;
2493
- customElements.get("anduin-tag") || customElements.define("anduin-tag", e1);
2494
- customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", e2);
2495
- var T4 = Object.defineProperty, S5 = (i, e, t, C) => {
2496
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
2497
- (n = i[l]) && (o = n(e, t, o) || o);
2498
- return o && T4(e, t, o), o;
2498
+ let r2 = G2;
2499
+ customElements.get("anduin-tag") || customElements.define("anduin-tag", n1);
2500
+ customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", r2);
2501
+ var e3 = Object.defineProperty, X5 = (l, e, t, i) => {
2502
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
2503
+ (C = l[r]) && (o = C(e, t, o) || o);
2504
+ return o && e3(e, t, o), o;
2499
2505
  };
2500
- const O5 = "anduin-tooltip:show", f2 = "anduin-tooltip:hide", I5 = "anduin-tooltip:trigger-mounted", T5 = "anduin-tooltip:content-popup-mounted", N5 = "anduin-tooltip:content-popup-unmounted", j5 = "anduin-tooltip:visibility-changed", N4 = [
2506
+ const K5 = "anduin-tooltip:show", M2 = "anduin-tooltip:hide", J5 = "anduin-tooltip:trigger-mounted", Q5 = "anduin-tooltip:content-popup-mounted", e4 = "anduin-tooltip:content-popup-unmounted", t4 = "anduin-tooltip:visibility-changed", t3 = [
2501
2507
  "top-start",
2502
2508
  "top-center",
2503
2509
  "top-end",
@@ -2511,94 +2517,94 @@ const O5 = "anduin-tooltip:show", f2 = "anduin-tooltip:hide", I5 = "anduin-toolt
2511
2517
  "left-center",
2512
2518
  "left-end"
2513
2519
  ];
2514
- function f5(i, e, t, C, o) {
2515
- switch (C) {
2520
+ function _5(l, e, t, i, o) {
2521
+ switch (i) {
2516
2522
  case "top-start":
2517
- return { left: i.left, top: i.top - t - o };
2523
+ return { left: l.left, top: l.top - t - o };
2518
2524
  case "top-center":
2519
- return { left: i.left + i.width / 2 - e / 2, top: i.top - t - o };
2525
+ return { left: l.left + l.width / 2 - e / 2, top: l.top - t - o };
2520
2526
  case "top-end":
2521
- return { left: i.left + i.width - e, top: i.top - t - o };
2527
+ return { left: l.left + l.width - e, top: l.top - t - o };
2522
2528
  case "right-start":
2523
- return { left: i.right + o, top: i.top };
2529
+ return { left: l.right + o, top: l.top };
2524
2530
  case "right-center":
2525
- return { left: i.right + o, top: i.top + i.height / 2 - t / 2 };
2531
+ return { left: l.right + o, top: l.top + l.height / 2 - t / 2 };
2526
2532
  case "right-end":
2527
- return { left: i.right + o, top: i.top + i.height - t };
2533
+ return { left: l.right + o, top: l.top + l.height - t };
2528
2534
  case "bottom-start":
2529
- return { left: i.left, top: i.bottom + o };
2535
+ return { left: l.left, top: l.bottom + o };
2530
2536
  case "bottom-center":
2531
- return { left: i.left + i.width / 2 - e / 2, top: i.bottom + o };
2537
+ return { left: l.left + l.width / 2 - e / 2, top: l.bottom + o };
2532
2538
  case "bottom-end":
2533
- return { left: i.left + i.width - e, top: i.bottom + o };
2539
+ return { left: l.left + l.width - e, top: l.bottom + o };
2534
2540
  case "left-start":
2535
- return { left: i.left - e - o, top: i.top };
2541
+ return { left: l.left - e - o, top: l.top };
2536
2542
  case "left-center":
2537
- return { left: i.left - e - o, top: i.top + i.height / 2 - t / 2 };
2543
+ return { left: l.left - e - o, top: l.top + l.height / 2 - t / 2 };
2538
2544
  case "left-end":
2539
- return { left: i.left - e - o, top: i.top + i.height - t };
2545
+ return { left: l.left - e - o, top: l.top + l.height - t };
2540
2546
  default:
2541
2547
  return { left: 0, top: 0 };
2542
2548
  }
2543
2549
  }
2544
- function V5(i, e) {
2545
- return e.right >= i.left && e.left <= i.right && e.top <= i.bottom && e.bottom >= i.top;
2550
+ function x5(l, e) {
2551
+ return e.right >= l.left && e.left <= l.right && e.top <= l.bottom && e.bottom >= l.top;
2546
2552
  }
2547
- function g5(i, e) {
2548
- const t = Math.max(i.left, e.left), C = Math.max(i.top, e.top), o = Math.min(i.right, e.right), l = Math.min(i.bottom, e.bottom);
2549
- return o < t || l < C ? 0 : (o - t) * (l - C);
2553
+ function R5(l, e) {
2554
+ const t = Math.max(l.left, e.left), i = Math.max(l.top, e.top), o = Math.min(l.right, e.right), r = Math.min(l.bottom, e.bottom);
2555
+ return o < t || r < i ? 0 : (o - t) * (r - i);
2550
2556
  }
2551
- function j4(i, e, t, C = 8) {
2552
- const o = window.innerWidth, l = window.innerHeight, n = { left: 0, top: 0, right: o, bottom: l }, a = e.width, s = e.height;
2553
- if (!V5(
2554
- { left: i.left, top: i.top, right: i.right, bottom: i.bottom },
2555
- n
2557
+ function o3(l, e, t, i = 8) {
2558
+ const o = window.innerWidth, r = window.innerHeight, C = { left: 0, top: 0, right: o, bottom: r }, a = e.width, d = e.height;
2559
+ if (!x5(
2560
+ { left: l.left, top: l.top, right: l.right, bottom: l.bottom },
2561
+ C
2556
2562
  )) return null;
2557
- const c = f5(i, a, s, t, C), H = N4.map((f) => ({ p: f, off: f5(i, a, s, f, C) })).filter(({ off: f }) => V5({ left: f.left, top: f.top, right: f.left + a, bottom: f.top + s }, n));
2558
- if (H.length === 0)
2563
+ const p = _5(l, a, d, t, i), g = t3.map((f) => ({ p: f, off: _5(l, a, d, f, i) })).filter(({ off: f }) => x5({ left: f.left, top: f.top, right: f.left + a, bottom: f.top + d }, C));
2564
+ if (g.length === 0)
2559
2565
  return {
2560
2566
  placement: t,
2561
- left: Math.round(Math.min(Math.max(c.left, 0), o - a)),
2562
- top: Math.round(Math.min(Math.max(c.top, 0), l - s))
2567
+ left: Math.round(Math.min(Math.max(p.left, 0), o - a)),
2568
+ top: Math.round(Math.min(Math.max(p.top, 0), r - d))
2563
2569
  };
2564
- H.sort((f, M) => {
2565
- const x1 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + s }, R1 = { left: M.off.left, top: M.off.top, right: M.off.left + a, bottom: M.off.top + s }, l1 = g5(x1, n), w1 = g5(R1, n);
2566
- if (w1 !== l1) return w1 - l1;
2567
- const k1 = Math.abs(f.off.left - c.left) + Math.abs(f.off.top - c.top), $1 = Math.abs(M.off.left - c.left) + Math.abs(M.off.top - c.top);
2568
- return k1 - $1;
2570
+ g.sort((f, M) => {
2571
+ const i1 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + d }, $ = { left: M.off.left, top: M.off.top, right: M.off.left + a, bottom: M.off.top + d }, q = R5(i1, C), B1 = R5($, C);
2572
+ if (B1 !== q) return B1 - q;
2573
+ const z1 = Math.abs(f.off.left - p.left) + Math.abs(f.off.top - p.top), F1 = Math.abs(M.off.left - p.left) + Math.abs(M.off.top - p.top);
2574
+ return z1 - F1;
2569
2575
  });
2570
- const { p: v, off: g } = H[0];
2576
+ const { p: v, off: H } = g[0];
2571
2577
  return {
2572
2578
  placement: v,
2573
- left: Math.round(Math.min(Math.max(g.left, 0), o - a)),
2574
- top: Math.round(Math.min(Math.max(g.top, 0), l - s))
2579
+ left: Math.round(Math.min(Math.max(H.left, 0), o - a)),
2580
+ top: Math.round(Math.min(Math.max(H.top, 0), r - d))
2575
2581
  };
2576
2582
  }
2577
- function t2(i) {
2578
- return i.split("-")[0] || "top";
2583
+ function C2(l) {
2584
+ return l.split("-")[0] || "top";
2579
2585
  }
2580
- function U4(i, e, t) {
2581
- let C = !1, o = t.length - 1;
2582
- for (let l = 0; l < t.length; l++) {
2583
- const n = t[l][0], a = t[l][1], s = t[o][0], c = t[o][1];
2584
- a > e != c > e && i < (s - n) * (e - a) / (c - a) + n && (C = !C), o = l;
2586
+ function i3(l, e, t) {
2587
+ let i = !1, o = t.length - 1;
2588
+ for (let r = 0; r < t.length; r++) {
2589
+ const C = t[r][0], a = t[r][1], d = t[o][0], p = t[o][1];
2590
+ a > e != p > e && l < (d - C) * (e - a) / (p - a) + C && (i = !i), o = r;
2585
2591
  }
2586
- return C;
2592
+ return i;
2587
2593
  }
2588
- const N2 = class N2 extends u {
2594
+ const Y2 = class Y2 extends u {
2589
2595
  constructor() {
2590
2596
  super(...arguments), this.disabled = !1, this.placement = "top-center", this.triggerElement = null, this.contentPopupElement = null, this.containingBlockLeft = 0, this.containingBlockTop = 0, this.rafId = 0, this.prevTriggerTop = NaN, this.prevTriggerLeft = NaN, this.isVisible = !1;
2591
2597
  }
2592
2598
  connectedCallback() {
2593
- super.connectedCallback(), this.addEventListener(I5, (e) => {
2599
+ super.connectedCallback(), this.addEventListener(J5, (e) => {
2594
2600
  e.stopPropagation(), this.triggerElement = e.detail, this.maybeStartPositionLoop();
2595
- }), this.addEventListener(T5, (e) => {
2601
+ }), this.addEventListener(Q5, (e) => {
2596
2602
  e.stopPropagation(), this.contentPopupElement = e.detail, this.computeContainingBlockOffset(this.contentPopupElement), this.maybeStartPositionLoop();
2597
- }), this.addEventListener(N5, (e) => {
2603
+ }), this.addEventListener(e4, (e) => {
2598
2604
  e.stopPropagation(), this.stopPositionLoop(), this.contentPopupElement = null;
2599
- }), this.addEventListener(O5, (e) => {
2605
+ }), this.addEventListener(K5, (e) => {
2600
2606
  e.stopPropagation(), !this.disabled && (this.isVisible = !0, this.broadcastVisibilityChanged(`show:${this.placement}`));
2601
- }), this.addEventListener(f2, (e) => {
2607
+ }), this.addEventListener(M2, (e) => {
2602
2608
  e.stopPropagation(), this.isVisible = !1, this.stopPositionLoop(), this.broadcastVisibilityChanged("hide");
2603
2609
  });
2604
2610
  }
@@ -2613,9 +2619,9 @@ const N2 = class N2 extends u {
2613
2619
  }
2614
2620
  startPositionLoop() {
2615
2621
  this.stopPositionLoop(), this.prevTriggerTop = NaN, this.prevTriggerLeft = NaN;
2616
- const e = this.triggerElement, t = this.contentPopupElement, C = this.placement, o = () => {
2617
- const l = e.getBoundingClientRect();
2618
- (l.top !== this.prevTriggerTop || l.left !== this.prevTriggerLeft) && (this.prevTriggerTop = l.top, this.prevTriggerLeft = l.left, this.positionPopup(t, e, C)), this.rafId = requestAnimationFrame(o);
2622
+ const e = this.triggerElement, t = this.contentPopupElement, i = this.placement, o = () => {
2623
+ const r = e.getBoundingClientRect();
2624
+ (r.top !== this.prevTriggerTop || r.left !== this.prevTriggerLeft) && (this.prevTriggerTop = r.top, this.prevTriggerLeft = r.left, this.positionPopup(t, e, i)), this.rafId = requestAnimationFrame(o);
2619
2625
  };
2620
2626
  this.rafId = requestAnimationFrame(o);
2621
2627
  }
@@ -2623,67 +2629,67 @@ const N2 = class N2 extends u {
2623
2629
  this.rafId && (cancelAnimationFrame(this.rafId), this.rafId = 0), this.prevTriggerTop = NaN, this.prevTriggerLeft = NaN;
2624
2630
  }
2625
2631
  computeContainingBlockOffset(e) {
2626
- const t = e, C = t.style.transform;
2632
+ const t = e, i = t.style.transform;
2627
2633
  t.style.transform = "none";
2628
2634
  const o = e.getBoundingClientRect();
2629
- this.containingBlockLeft = o.left, this.containingBlockTop = o.top, t.style.transform = C;
2635
+ this.containingBlockLeft = o.left, this.containingBlockTop = o.top, t.style.transform = i;
2630
2636
  }
2631
- positionPopup(e, t, C) {
2632
- const o = t.getBoundingClientRect(), l = e.getBoundingClientRect(), n = j4(o, l, C, 8);
2633
- if (n) {
2637
+ positionPopup(e, t, i) {
2638
+ const o = t.getBoundingClientRect(), r = e.getBoundingClientRect(), C = o3(o, r, i, 8);
2639
+ if (C) {
2634
2640
  const a = e;
2635
- a.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
2636
- const s = t2(n.placement), c = t2(C);
2637
- if (s !== c) {
2638
- const H = e.querySelector(".tooltip-arrow");
2639
- H && (H.classList.remove(`tooltip-arrow--${c}`), H.classList.add(`tooltip-arrow--${s}`));
2641
+ a.style.transform = `translate(${C.left - this.containingBlockLeft}px, ${C.top - this.containingBlockTop}px)`;
2642
+ const d = C2(C.placement), p = C2(i);
2643
+ if (d !== p) {
2644
+ const g = e.querySelector(".tooltip-arrow");
2645
+ g && (g.classList.remove(`tooltip-arrow--${p}`), g.classList.add(`tooltip-arrow--${d}`));
2640
2646
  }
2641
2647
  }
2642
2648
  }
2643
2649
  broadcastVisibilityChanged(e) {
2644
- this.dispatchEvent(new CustomEvent(j5, { detail: e, bubbles: !1, composed: !1 }));
2650
+ this.dispatchEvent(new CustomEvent(t4, { detail: e, bubbles: !1, composed: !1 }));
2645
2651
  }
2646
2652
  render() {
2647
- return d`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
2653
+ return s`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
2648
2654
  }
2649
2655
  };
2650
- N2.styles = h`
2656
+ Y2.styles = h`
2651
2657
  :host { display: inline-block; position: relative; max-width: 100%; font-family: var(--font-sans); }
2652
2658
  .tooltip-root { display: inline-block; position: relative; max-width: 100%; }
2653
2659
  `;
2654
- let b1 = N2;
2655
- S5([
2656
- r({ type: Boolean })
2657
- ], b1.prototype, "disabled");
2658
- S5([
2659
- r()
2660
- ], b1.prototype, "placement");
2661
- const j2 = class j2 extends u {
2660
+ let x1 = Y2;
2661
+ X5([
2662
+ n({ type: Boolean })
2663
+ ], x1.prototype, "disabled");
2664
+ X5([
2665
+ n()
2666
+ ], x1.prototype, "placement");
2667
+ const X2 = class X2 extends u {
2662
2668
  firstUpdated() {
2663
2669
  requestAnimationFrame(() => {
2664
- this.dispatchEvent(new CustomEvent(I5, { detail: this, bubbles: !0, composed: !0 }));
2670
+ this.dispatchEvent(new CustomEvent(J5, { detail: this, bubbles: !0, composed: !0 }));
2665
2671
  }), this.addEventListener("pointerenter", () => {
2666
- this.dispatchEvent(new CustomEvent(O5, { bubbles: !0, composed: !0 }));
2672
+ this.dispatchEvent(new CustomEvent(K5, { bubbles: !0, composed: !0 }));
2667
2673
  }), this.addEventListener("click", () => {
2668
- this.dispatchEvent(new CustomEvent(f2, { bubbles: !0, composed: !0 }));
2674
+ this.dispatchEvent(new CustomEvent(M2, { bubbles: !0, composed: !0 }));
2669
2675
  });
2670
2676
  }
2671
2677
  render() {
2672
- return d`<span class="tooltip-trigger" part="tooltip-trigger"><slot></slot></span>`;
2678
+ return s`<span class="tooltip-trigger" part="tooltip-trigger"><slot></slot></span>`;
2673
2679
  }
2674
2680
  };
2675
- j2.styles = h`
2681
+ X2.styles = h`
2676
2682
  :host { display: inline-block; max-width: 100%; font-family: var(--font-sans); }
2677
2683
  .tooltip-trigger { display: flex; align-items: center; max-width: 100%; }
2678
2684
  `;
2679
- let o2 = j2;
2680
- const U2 = class U2 extends u {
2685
+ let n2 = X2;
2686
+ const K2 = class K2 extends u {
2681
2687
  constructor() {
2682
2688
  super(...arguments), this.graceArea = null, this.triggerEl = null, this.popupEl = null, this.handlePointerMove = (e) => {
2683
- var l, n;
2689
+ var r, C;
2684
2690
  if (!this.graceArea) return;
2685
- const t = e.target, C = ((l = this.triggerEl) == null ? void 0 : l.contains(t)) ?? !1, o = ((n = this.popupEl) == null ? void 0 : n.contains(t)) ?? !1;
2686
- C || o ? this.graceArea = null : U4(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(f2, { bubbles: !0, composed: !0 })));
2691
+ const t = e.target, i = ((r = this.triggerEl) == null ? void 0 : r.contains(t)) ?? !1, o = ((C = this.popupEl) == null ? void 0 : C.contains(t)) ?? !1;
2692
+ i || o ? this.graceArea = null : i3(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(M2, { bubbles: !0, composed: !0 })));
2687
2693
  }, this.handleTriggerLeave = (e) => {
2688
2694
  this.triggerEl && this.popupEl && this.createGraceArea(this.triggerEl, this.popupEl, e);
2689
2695
  }, this.handleContentLeave = (e) => {
@@ -2693,18 +2699,18 @@ const U2 = class U2 extends u {
2693
2699
  connectedCallback() {
2694
2700
  super.connectedCallback();
2695
2701
  const e = this.closest("anduin-tooltip");
2696
- e && e.addEventListener(j5, (t) => {
2697
- const C = t.detail;
2698
- C.startsWith("show:") ? this.showPopup(C.slice(5)) : this.hidePopup();
2702
+ e && e.addEventListener(t4, (t) => {
2703
+ const i = t.detail;
2704
+ i.startsWith("show:") ? this.showPopup(i.slice(5)) : this.hidePopup();
2699
2705
  });
2700
2706
  }
2701
2707
  disconnectedCallback() {
2702
2708
  super.disconnectedCallback(), this.hidePopup();
2703
2709
  }
2704
- createGraceArea(e, t, C) {
2705
- const o = t.getBoundingClientRect(), l = C.clientX, n = C.clientY;
2710
+ createGraceArea(e, t, i) {
2711
+ const o = t.getBoundingClientRect(), r = i.clientX, C = i.clientY;
2706
2712
  this.graceArea = [
2707
- [l, n],
2713
+ [r, C],
2708
2714
  [o.left, o.top],
2709
2715
  [o.right, o.top],
2710
2716
  [o.right, o.bottom],
@@ -2719,29 +2725,29 @@ const U2 = class U2 extends u {
2719
2725
  }
2720
2726
  showPopup(e) {
2721
2727
  this.hidePopup();
2722
- const t = t2(e), C = document.createElement("div");
2723
- C.className = "tooltip-popup", C.setAttribute("role", "tooltip");
2728
+ const t = C2(e), i = document.createElement("div");
2729
+ i.className = "tooltip-popup", i.setAttribute("role", "tooltip");
2724
2730
  const o = document.createElement("div");
2725
2731
  o.className = `tooltip-arrow tooltip-arrow--${t}`;
2726
- const l = document.createElement("div");
2727
- l.className = "tooltip-body", l.appendChild(document.createElement("slot")), C.appendChild(o), C.appendChild(l);
2728
- const n = this.shadowRoot.querySelector(".tooltip-content-wrapper");
2729
- n && n.appendChild(C), this.popupEl = C;
2732
+ const r = document.createElement("div");
2733
+ r.className = "tooltip-body", r.appendChild(document.createElement("slot")), i.appendChild(o), i.appendChild(r);
2734
+ const C = this.shadowRoot.querySelector(".tooltip-content-wrapper");
2735
+ C && C.appendChild(i), this.popupEl = i;
2730
2736
  const a = this.closest("anduin-tooltip");
2731
2737
  if (a) {
2732
- const s = a.querySelector("anduin-tooltip-trigger");
2733
- s && this.setupGraceAreaListeners(s, C);
2738
+ const d = a.querySelector("anduin-tooltip-trigger");
2739
+ d && this.setupGraceAreaListeners(d, i);
2734
2740
  }
2735
- this.dispatchEvent(new CustomEvent(T5, { detail: C, bubbles: !0, composed: !0 }));
2741
+ this.dispatchEvent(new CustomEvent(Q5, { detail: i, bubbles: !0, composed: !0 }));
2736
2742
  }
2737
2743
  hidePopup() {
2738
- this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(N5, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
2744
+ this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(e4, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
2739
2745
  }
2740
2746
  render() {
2741
- return d`<div class="tooltip-content-wrapper"></div>`;
2747
+ return s`<div class="tooltip-content-wrapper"></div>`;
2742
2748
  }
2743
2749
  };
2744
- U2.styles = h`
2750
+ K2.styles = h`
2745
2751
  :host {
2746
2752
  display: contents;
2747
2753
  --tooltip-bg: var(--anduin-tooltip-content-background, var(--color-gray-9));
@@ -2765,21 +2771,21 @@ U2.styles = h`
2765
2771
  .tooltip-arrow--left { right: -4px; top: 50%; transform: translateY(-50%); border-left-color: var(--tooltip-bg); border-right: none; }
2766
2772
  .tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
2767
2773
  `;
2768
- let C2 = U2;
2769
- customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", b1);
2770
- customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", o2);
2771
- customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", C2);
2772
- var q4 = Object.defineProperty, G4 = (i, e, t, C) => {
2773
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
2774
- (n = i[l]) && (o = n(e, t, o) || o);
2775
- return o && q4(e, t, o), o;
2774
+ let a2 = K2;
2775
+ customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", x1);
2776
+ customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", n2);
2777
+ customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", a2);
2778
+ var l3 = Object.defineProperty, r3 = (l, e, t, i) => {
2779
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
2780
+ (C = l[r]) && (o = C(e, t, o) || o);
2781
+ return o && l3(e, t, o), o;
2776
2782
  };
2777
- const Y4 = "anduin-well-close:click", q2 = class q2 extends u {
2783
+ const C3 = "anduin-well-close:click", J2 = class J2 extends u {
2778
2784
  constructor() {
2779
2785
  super(...arguments), this.variant = "gray";
2780
2786
  }
2781
2787
  render() {
2782
- return d`
2788
+ return s`
2783
2789
  <div class="well well--${this.variant}" part="well">
2784
2790
  <div class="well__icon well__icon--${this.variant}">
2785
2791
  <slot name="icon"></slot>
@@ -2793,7 +2799,7 @@ const Y4 = "anduin-well-close:click", q2 = class q2 extends u {
2793
2799
  `;
2794
2800
  }
2795
2801
  };
2796
- q2.styles = h`
2802
+ J2.styles = h`
2797
2803
  :host {
2798
2804
  display: block;
2799
2805
  font-family: var(--font-sans);
@@ -2858,18 +2864,18 @@ q2.styles = h`
2858
2864
  color: var(--color-warning-4);
2859
2865
  }
2860
2866
  `;
2861
- let O1 = q2;
2862
- G4([
2863
- r()
2864
- ], O1.prototype, "variant");
2865
- const G2 = class G2 extends u {
2867
+ let U1 = J2;
2868
+ r3([
2869
+ n()
2870
+ ], U1.prototype, "variant");
2871
+ const Q2 = class Q2 extends u {
2866
2872
  onClick() {
2867
2873
  this.dispatchEvent(
2868
- new CustomEvent(Y4, { bubbles: !0, composed: !0 })
2874
+ new CustomEvent(C3, { bubbles: !0, composed: !0 })
2869
2875
  );
2870
2876
  }
2871
2877
  render() {
2872
- return d`
2878
+ return s`
2873
2879
  <button
2874
2880
  class="well-close__button"
2875
2881
  part="well-close"
@@ -2880,7 +2886,7 @@ const G2 = class G2 extends u {
2880
2886
  `;
2881
2887
  }
2882
2888
  };
2883
- G2.styles = h`
2889
+ Q2.styles = h`
2884
2890
  :host {
2885
2891
  display: inline-block;
2886
2892
  font-family: var(--font-sans);
@@ -2905,15 +2911,15 @@ G2.styles = h`
2905
2911
  background-color: var(--color-gray-3);
2906
2912
  }
2907
2913
  `;
2908
- let i2 = G2;
2909
- customElements.get("anduin-well") || customElements.define("anduin-well", O1);
2910
- customElements.get("anduin-well-close") || customElements.define("anduin-well-close", i2);
2911
- var W4 = Object.defineProperty, i1 = (i, e, t, C) => {
2912
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
2913
- (n = i[l]) && (o = n(e, t, o) || o);
2914
- return o && W4(e, t, o), o;
2914
+ let s2 = Q2;
2915
+ customElements.get("anduin-well") || customElements.define("anduin-well", U1);
2916
+ customElements.get("anduin-well-close") || customElements.define("anduin-well-close", s2);
2917
+ var n3 = Object.defineProperty, c1 = (l, e, t, i) => {
2918
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
2919
+ (C = l[r]) && (o = C(e, t, o) || o);
2920
+ return o && n3(e, t, o), o;
2915
2921
  };
2916
- const l2 = "anduin-popover:close", Y2 = class Y2 extends u {
2922
+ const d2 = "anduin-popover:close", e5 = class e5 extends u {
2917
2923
  constructor() {
2918
2924
  super(...arguments), this.open = !1, this.placement = "bottom-start", this._visible = !1, this._closing = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
2919
2925
  var t;
@@ -2928,10 +2934,10 @@ const l2 = "anduin-popover:close", Y2 = class Y2 extends u {
2928
2934
  this.open = !this.open;
2929
2935
  }
2930
2936
  connectedCallback() {
2931
- super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(l2, this._onPopoverClose);
2937
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(d2, this._onPopoverClose);
2932
2938
  }
2933
2939
  disconnectedCallback() {
2934
- super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(l2, this._onPopoverClose);
2940
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(d2, this._onPopoverClose);
2935
2941
  }
2936
2942
  updated(e) {
2937
2943
  e.has("open") && (this.open ? (this._cancelCloseAnimation(), this._closing = !1, this._visible = !0, requestAnimationFrame(() => this._updatePosition())) : this._startCloseAnimation());
@@ -2943,8 +2949,8 @@ const l2 = "anduin-popover:close", Y2 = class Y2 extends u {
2943
2949
  if (!this._visible) return;
2944
2950
  this._closing = !0;
2945
2951
  const e = (t) => {
2946
- var C;
2947
- t.propertyName === "opacity" && ((C = this._panelEl) == null || C.removeEventListener("transitionend", e), this._closeTransitionEndHandler = null, this._closing = !1, this._visible = !1);
2952
+ var i;
2953
+ t.propertyName === "opacity" && ((i = this._panelEl) == null || i.removeEventListener("transitionend", e), this._closeTransitionEndHandler = null, this._closing = !1, this._visible = !1);
2948
2954
  };
2949
2955
  this._closeTransitionEndHandler = e, requestAnimationFrame(() => {
2950
2956
  var t;
@@ -2954,19 +2960,19 @@ const l2 = "anduin-popover:close", Y2 = class Y2 extends u {
2954
2960
  _updatePosition() {
2955
2961
  const e = this._triggerEl, t = this._panelEl;
2956
2962
  if (!e || !t) return;
2957
- const C = e.getBoundingClientRect(), o = t.style.transform;
2963
+ const i = e.getBoundingClientRect(), o = t.style.transform;
2958
2964
  t.style.transform = "none";
2959
- const l = t.getBoundingClientRect();
2965
+ const r = t.getBoundingClientRect();
2960
2966
  t.style.transform = o;
2961
- const n = t.getBoundingClientRect(), a = 4, s = window.innerWidth, c = window.innerHeight, H = 8;
2962
- let v = 0, g = 0, f = "bottom";
2963
- const M = !this.placement.startsWith("top"), x1 = c - C.bottom - a, R1 = C.top - a, l1 = x1 >= n.height, w1 = R1 >= n.height, k1 = M ? l1 || x1 >= R1 : !w1 && l1;
2964
- f = k1 ? "bottom" : "top", g = k1 ? C.bottom + a : C.top - n.height - a;
2965
- const $1 = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
2966
- $1 === "start" ? v = C.left : $1 === "end" ? v = C.right - n.width : v = C.left + C.width / 2 - n.width / 2, v = Math.max(H, Math.min(v, s - n.width - H)), g = Math.max(H, Math.min(g, c - n.height - H)), t.style.transform = `translate(${Math.round(v - l.left)}px, ${Math.round(g - l.top)}px)`, t.dataset.side = f;
2967
+ const C = t.getBoundingClientRect(), a = 4, d = window.innerWidth, p = window.innerHeight, g = 8;
2968
+ let v = 0, H = 0, f = "bottom";
2969
+ const M = !this.placement.startsWith("top"), i1 = p - i.bottom - a, $ = i.top - a, q = i1 >= C.height, B1 = $ >= C.height, z1 = M ? q || i1 >= $ : !B1 && q;
2970
+ f = z1 ? "bottom" : "top", H = z1 ? i.bottom + a : i.top - C.height - a;
2971
+ const F1 = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
2972
+ F1 === "start" ? v = i.left : F1 === "end" ? v = i.right - C.width : v = i.left + i.width / 2 - C.width / 2, v = Math.max(g, Math.min(v, d - C.width - g)), H = Math.max(g, Math.min(H, p - C.height - g)), t.style.transform = `translate(${Math.round(v - r.left)}px, ${Math.round(H - r.top)}px)`, t.dataset.side = f;
2967
2973
  }
2968
2974
  render() {
2969
- return d`
2975
+ return s`
2970
2976
  <div class="popover__trigger" @click=${this._onTriggerClick} part="trigger">
2971
2977
  <slot name="trigger"></slot>
2972
2978
  </div>
@@ -2978,7 +2984,7 @@ const l2 = "anduin-popover:close", Y2 = class Y2 extends u {
2978
2984
  `;
2979
2985
  }
2980
2986
  };
2981
- Y2.styles = h`
2987
+ e5.styles = h`
2982
2988
  :host { display: inline-block; font-family: var(--font-sans); }
2983
2989
 
2984
2990
  .popover__trigger { display: inline-block; }
@@ -3025,43 +3031,43 @@ Y2.styles = h`
3025
3031
  transform: scale(1) translateY(0);
3026
3032
  }
3027
3033
  `;
3028
- let k = Y2;
3029
- i1([
3030
- r({ type: Boolean, reflect: !0 })
3031
- ], k.prototype, "open");
3032
- i1([
3033
- r()
3034
- ], k.prototype, "placement");
3035
- i1([
3036
- x()
3037
- ], k.prototype, "_visible");
3038
- i1([
3039
- x()
3040
- ], k.prototype, "_closing");
3041
- i1([
3042
- D(".popover__trigger")
3043
- ], k.prototype, "_triggerEl");
3044
- i1([
3045
- D(".popover__panel")
3046
- ], k.prototype, "_panelEl");
3047
- customElements.get("anduin-popover") || customElements.define("anduin-popover", k);
3048
- const W2 = class W2 extends u {
3034
+ let z = e5;
3035
+ c1([
3036
+ n({ type: Boolean, reflect: !0 })
3037
+ ], z.prototype, "open");
3038
+ c1([
3039
+ n()
3040
+ ], z.prototype, "placement");
3041
+ c1([
3042
+ y()
3043
+ ], z.prototype, "_visible");
3044
+ c1([
3045
+ y()
3046
+ ], z.prototype, "_closing");
3047
+ c1([
3048
+ w(".popover__trigger")
3049
+ ], z.prototype, "_triggerEl");
3050
+ c1([
3051
+ w(".popover__panel")
3052
+ ], z.prototype, "_panelEl");
3053
+ customElements.get("anduin-popover") || customElements.define("anduin-popover", z);
3054
+ const t5 = class t5 extends u {
3049
3055
  _onClick() {
3050
- this.dispatchEvent(new CustomEvent(l2, { bubbles: !0, composed: !0 }));
3056
+ this.dispatchEvent(new CustomEvent(d2, { bubbles: !0, composed: !0 }));
3051
3057
  }
3052
3058
  render() {
3053
- return d`<span @click=${this._onClick}><slot></slot></span>`;
3059
+ return s`<span @click=${this._onClick}><slot></slot></span>`;
3054
3060
  }
3055
3061
  };
3056
- W2.styles = h`:host { display: contents; }`;
3057
- let n2 = W2;
3058
- customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", n2);
3059
- var X4 = Object.defineProperty, G = (i, e, t, C) => {
3060
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
3061
- (n = i[l]) && (o = n(e, t, o) || o);
3062
- return o && X4(e, t, o), o;
3062
+ t5.styles = h`:host { display: contents; }`;
3063
+ let c2 = t5;
3064
+ customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", c2);
3065
+ var a3 = Object.defineProperty, Q = (l, e, t, i) => {
3066
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
3067
+ (C = l[r]) && (o = C(e, t, o) || o);
3068
+ return o && a3(e, t, o), o;
3063
3069
  };
3064
- const r2 = "anduin-menu-item:click", X2 = class X2 extends u {
3070
+ const p2 = "anduin-menu-item:click", o5 = class o5 extends u {
3065
3071
  constructor() {
3066
3072
  super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
3067
3073
  var t;
@@ -3076,10 +3082,10 @@ const r2 = "anduin-menu-item:click", X2 = class X2 extends u {
3076
3082
  this.open = !this.open;
3077
3083
  }
3078
3084
  connectedCallback() {
3079
- super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(r2, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
3085
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(p2, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
3080
3086
  }
3081
3087
  disconnectedCallback() {
3082
- super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(r2, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
3088
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(p2, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
3083
3089
  }
3084
3090
  updated(e) {
3085
3091
  e.has("open") && this.open && requestAnimationFrame(() => this._updatePosition());
@@ -3087,36 +3093,36 @@ const r2 = "anduin-menu-item:click", X2 = class X2 extends u {
3087
3093
  _updatePosition() {
3088
3094
  const e = this._triggerEl, t = this._panelEl;
3089
3095
  if (!e || !t) return;
3090
- const C = e.getBoundingClientRect(), o = t.style.transform;
3096
+ const i = e.getBoundingClientRect(), o = t.style.transform;
3091
3097
  t.style.transform = "none";
3092
- const l = t.getBoundingClientRect();
3098
+ const r = t.getBoundingClientRect();
3093
3099
  t.style.transform = o;
3094
- const n = t.getBoundingClientRect(), a = 4;
3095
- let s = 0, c = 0, H = "bottom";
3100
+ const C = t.getBoundingClientRect(), a = 4;
3101
+ let d = 0, p = 0, g = "bottom";
3096
3102
  switch (this.placement) {
3097
3103
  case "bottom-start":
3098
- s = C.left, c = C.bottom + a, H = "bottom";
3104
+ d = i.left, p = i.bottom + a, g = "bottom";
3099
3105
  break;
3100
3106
  case "bottom-end":
3101
- s = C.right - n.width, c = C.bottom + a, H = "bottom";
3107
+ d = i.right - C.width, p = i.bottom + a, g = "bottom";
3102
3108
  break;
3103
3109
  case "bottom":
3104
- s = C.left + C.width / 2 - n.width / 2, c = C.bottom + a, H = "bottom";
3110
+ d = i.left + i.width / 2 - C.width / 2, p = i.bottom + a, g = "bottom";
3105
3111
  break;
3106
3112
  case "top-start":
3107
- s = C.left, c = C.top - n.height - a, H = "top";
3113
+ d = i.left, p = i.top - C.height - a, g = "top";
3108
3114
  break;
3109
3115
  case "top-end":
3110
- s = C.right - n.width, c = C.top - n.height - a, H = "top";
3116
+ d = i.right - C.width, p = i.top - C.height - a, g = "top";
3111
3117
  break;
3112
3118
  case "top":
3113
- s = C.left + C.width / 2 - n.width / 2, c = C.top - n.height - a, H = "top";
3119
+ d = i.left + i.width / 2 - C.width / 2, p = i.top - C.height - a, g = "top";
3114
3120
  break;
3115
3121
  }
3116
- t.style.transform = `translate(${Math.round(s - l.left)}px, ${Math.round(c - l.top)}px)`, t.dataset.side = H;
3122
+ t.style.transform = `translate(${Math.round(d - r.left)}px, ${Math.round(p - r.top)}px)`, t.dataset.side = g;
3117
3123
  }
3118
3124
  render() {
3119
- return d`
3125
+ return s`
3120
3126
  <div class="menu__trigger" @click=${this._onTriggerClick} part="trigger">
3121
3127
  <slot name="trigger"></slot>
3122
3128
  </div>
@@ -3128,7 +3134,7 @@ const r2 = "anduin-menu-item:click", X2 = class X2 extends u {
3128
3134
  `;
3129
3135
  }
3130
3136
  };
3131
- X2.styles = h`
3137
+ o5.styles = h`
3132
3138
  :host { display: inline-block; font-family: var(--font-sans); }
3133
3139
 
3134
3140
  .menu__trigger { display: inline-block; }
@@ -3171,28 +3177,28 @@ X2.styles = h`
3171
3177
  transform: scale(1) translateY(0);
3172
3178
  }
3173
3179
  `;
3174
- let q = X2;
3175
- G([
3176
- r({ type: Boolean, reflect: !0 })
3177
- ], q.prototype, "open");
3178
- G([
3179
- r()
3180
- ], q.prototype, "placement");
3181
- G([
3182
- D(".menu__trigger")
3183
- ], q.prototype, "_triggerEl");
3184
- G([
3185
- D(".menu__panel")
3186
- ], q.prototype, "_panelEl");
3187
- const K2 = class K2 extends u {
3180
+ let J = o5;
3181
+ Q([
3182
+ n({ type: Boolean, reflect: !0 })
3183
+ ], J.prototype, "open");
3184
+ Q([
3185
+ n()
3186
+ ], J.prototype, "placement");
3187
+ Q([
3188
+ w(".menu__trigger")
3189
+ ], J.prototype, "_triggerEl");
3190
+ Q([
3191
+ w(".menu__panel")
3192
+ ], J.prototype, "_panelEl");
3193
+ const i5 = class i5 extends u {
3188
3194
  constructor() {
3189
3195
  super(...arguments), this.icon = "", this.variant = "default", this.disabled = !1;
3190
3196
  }
3191
3197
  _onClick() {
3192
- this.dispatchEvent(new CustomEvent(r2, { bubbles: !0, composed: !0 }));
3198
+ this.dispatchEvent(new CustomEvent(p2, { bubbles: !0, composed: !0 }));
3193
3199
  }
3194
3200
  render() {
3195
- return d`
3201
+ return s`
3196
3202
  <button
3197
3203
  class="menu-item ${this.variant === "danger" ? "menu-item--danger" : ""}"
3198
3204
  role="menuitem"
@@ -3200,13 +3206,13 @@ const K2 = class K2 extends u {
3200
3206
  part="menu-item"
3201
3207
  @click=${this._onClick}
3202
3208
  >
3203
- ${this.icon ? d`<anduin-icon name="${this.icon}" size="16"></anduin-icon>` : p}
3209
+ ${this.icon ? s`<anduin-icon name="${this.icon}" size="16"></anduin-icon>` : c}
3204
3210
  <span class="menu-item__label"><slot></slot></span>
3205
3211
  </button>
3206
3212
  `;
3207
3213
  }
3208
3214
  };
3209
- K2.styles = h`
3215
+ i5.styles = h`
3210
3216
  :host { display: block; width: 100%; font-family: var(--font-sans); }
3211
3217
  .menu-item {
3212
3218
  display: flex;
@@ -3236,26 +3242,26 @@ K2.styles = h`
3236
3242
  anduin-icon { color: var(--color-gray-7); }
3237
3243
  .menu-item--danger anduin-icon { color: var(--color-danger-4); }
3238
3244
  `;
3239
- let t1 = K2;
3240
- G([
3241
- r()
3242
- ], t1.prototype, "icon");
3243
- G([
3244
- r()
3245
- ], t1.prototype, "variant");
3246
- G([
3247
- r({ type: Boolean })
3248
- ], t1.prototype, "disabled");
3249
- customElements.get("anduin-menu") || customElements.define("anduin-menu", q);
3250
- customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", t1);
3251
- var K4 = Object.defineProperty, Y = (i, e, t, C) => {
3252
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
3253
- (n = i[l]) && (o = n(e, t, o) || o);
3254
- return o && K4(e, t, o), o;
3245
+ let a1 = i5;
3246
+ Q([
3247
+ n()
3248
+ ], a1.prototype, "icon");
3249
+ Q([
3250
+ n()
3251
+ ], a1.prototype, "variant");
3252
+ Q([
3253
+ n({ type: Boolean })
3254
+ ], a1.prototype, "disabled");
3255
+ customElements.get("anduin-menu") || customElements.define("anduin-menu", J);
3256
+ customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", a1);
3257
+ var s3 = Object.defineProperty, e1 = (l, e, t, i) => {
3258
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
3259
+ (C = l[r]) && (o = C(e, t, o) || o);
3260
+ return o && s3(e, t, o), o;
3255
3261
  };
3256
- const r1 = "anduin-close", G1 = 300, Y1 = 200, L5 = 250;
3257
- var F;
3258
- const O = (F = class extends u {
3262
+ const u1 = "anduin-close", d3 = "anduin-after-close", J1 = 300, Q1 = 200, w5 = 250;
3263
+ var D;
3264
+ const j = (D = class extends u {
3259
3265
  constructor() {
3260
3266
  super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.maxWidth = "480", this.fullscreen = !1, this._leaving = !1, this.onAnduinClose = (e) => {
3261
3267
  e.target !== this && e.stopPropagation();
@@ -3263,39 +3269,39 @@ const O = (F = class extends u {
3263
3269
  }
3264
3270
  updated(e) {
3265
3271
  if (e.has("maxWidth")) {
3266
- const t = this.maxWidth, C = F._PRESETS.has(t) ? `${t}px` : t;
3267
- this.style.setProperty("--_modal-width", C);
3272
+ const t = this.maxWidth, i = D._PRESETS.has(t) ? `${t}px` : t;
3273
+ this.style.setProperty("--_modal-width", i);
3268
3274
  }
3269
3275
  e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(() => {
3270
- this._leaving = !1, this.classList.remove("is-shown");
3271
- }, Math.max(Y1, L5))));
3276
+ this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(new CustomEvent(d3, { bubbles: !0, composed: !0 }));
3277
+ }, Math.max(Q1, w5))));
3272
3278
  }
3273
3279
  dispatch(e) {
3274
3280
  this.dispatchEvent(new CustomEvent(e, { bubbles: !0, composed: !0 }));
3275
3281
  }
3276
3282
  onOverlayClick() {
3277
- this.dispatch(r1);
3283
+ this.dispatch(u1);
3278
3284
  }
3279
3285
  onClose() {
3280
- this.dispatch(r1);
3286
+ this.dispatch(u1);
3281
3287
  }
3282
3288
  connectedCallback() {
3283
- super.connectedCallback(), this.addEventListener(r1, this.onAnduinClose);
3289
+ super.connectedCallback(), this.addEventListener(u1, this.onAnduinClose);
3284
3290
  }
3285
3291
  disconnectedCallback() {
3286
- super.disconnectedCallback(), this.removeEventListener(r1, this.onAnduinClose);
3292
+ super.disconnectedCallback(), this.removeEventListener(u1, this.onAnduinClose);
3287
3293
  }
3288
3294
  render() {
3289
3295
  const e = this._leaving, t = this.fullscreen;
3290
- return d`
3296
+ return s`
3291
3297
  <div class=${`overlay${e ? " is-leaving" : ""}`} @click=${this.onOverlayClick}></div>
3292
3298
  <div class=${`modal-wrapper${t ? " modal-wrapper--fullscreen" : ""}`}>
3293
3299
  <div class=${`modal${t ? " modal--fullscreen" : ""}${e ? " is-leaving" : ""}`} role="dialog" aria-modal="true" aria-labelledby="modal-title">
3294
- ${this.hideHeader ? p : d`
3300
+ ${this.hideHeader ? c : s`
3295
3301
  <div class="header">
3296
3302
  <div class="header-slot">
3297
3303
  <slot name="header">
3298
- ${this.heading ? d`<p id="modal-title" class="title">${this.heading}</p>` : p}
3304
+ ${this.heading ? s`<span id="modal-title" class="title">${this.heading}</span>` : c}
3299
3305
  </slot>
3300
3306
  </div>
3301
3307
  <span class="header-sep"></span>
@@ -3311,12 +3317,12 @@ const O = (F = class extends u {
3311
3317
  <div class="body">
3312
3318
  <slot></slot>
3313
3319
  </div>
3314
- ${this.hideFooter ? p : d`<div class="footer"><slot name="footer"></slot></div>`}
3320
+ ${this.hideFooter ? c : s`<div class="footer"><slot name="footer"></slot></div>`}
3315
3321
  </div>
3316
3322
  </div>
3317
3323
  `;
3318
3324
  }
3319
- }, F.styles = h`
3325
+ }, D.styles = h`
3320
3326
  :host {
3321
3327
  display: none;
3322
3328
  font-family: var(--font-sans);
@@ -3356,10 +3362,10 @@ const O = (F = class extends u {
3356
3362
  inset: 0;
3357
3363
  background: rgba(50, 60, 77, 0.6);
3358
3364
  cursor: default;
3359
- animation: overlayIn ${G1}ms cubic-bezier(0.2, 0, 0, 1) forwards;
3365
+ animation: overlayIn ${J1}ms cubic-bezier(0.2, 0, 0, 1) forwards;
3360
3366
  }
3361
3367
  .overlay.is-leaving {
3362
- animation: overlayOut ${L5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3368
+ animation: overlayOut ${w5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3363
3369
  }
3364
3370
  .modal-wrapper {
3365
3371
  position: absolute;
@@ -3382,10 +3388,10 @@ const O = (F = class extends u {
3382
3388
  max-height: calc(100vh - 64px);
3383
3389
  box-shadow: 0 8px 24px 0 rgba(29, 41, 57, 0.12), 0 2px 8px 0 rgba(29, 41, 57, 0.08);
3384
3390
  flex-shrink: 0;
3385
- animation: modalIn ${G1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3391
+ animation: modalIn ${J1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3386
3392
  }
3387
3393
  .modal.is-leaving {
3388
- animation: modalOut ${Y1}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3394
+ animation: modalOut ${Q1}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3389
3395
  }
3390
3396
  .modal-wrapper--fullscreen {
3391
3397
  padding: 0;
@@ -3414,10 +3420,10 @@ const O = (F = class extends u {
3414
3420
  max-height: 100%;
3415
3421
  height: 100%;
3416
3422
  box-shadow: none;
3417
- animation: modalFullscreenIn ${G1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3423
+ animation: modalFullscreenIn ${J1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3418
3424
  }
3419
3425
  .modal--fullscreen.is-leaving {
3420
- animation: modalFullscreenOut ${Y1}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3426
+ animation: modalFullscreenOut ${Q1}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3421
3427
  }
3422
3428
  .header {
3423
3429
  flex-shrink: 0;
@@ -3451,38 +3457,41 @@ const O = (F = class extends u {
3451
3457
  gap: 8px;
3452
3458
  padding: 24px 28px;
3453
3459
  }
3460
+ .modal--fullscreen .body {
3461
+ padding: 0;
3462
+ }
3454
3463
  .modal--fullscreen .footer {
3455
3464
  padding: 16px 24px;
3456
3465
  border-top: 1px solid var(--color-gray-3, #e4e7ec);
3457
3466
  }
3458
- `, F._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), F);
3459
- Y([
3460
- r({ type: Boolean, reflect: !0 })
3461
- ], O.prototype, "open");
3462
- Y([
3463
- r()
3464
- ], O.prototype, "heading");
3465
- Y([
3466
- r({ type: Boolean, attribute: "hide-header" })
3467
- ], O.prototype, "hideHeader");
3468
- Y([
3469
- r({ type: Boolean, attribute: "hide-footer" })
3470
- ], O.prototype, "hideFooter");
3471
- Y([
3472
- r({ attribute: "max-width" })
3473
- ], O.prototype, "maxWidth");
3474
- Y([
3475
- r({ type: Boolean })
3476
- ], O.prototype, "fullscreen");
3477
- Y([
3478
- x()
3479
- ], O.prototype, "_leaving");
3480
- let J4 = O;
3481
- customElements.get("anduin-modal") || customElements.define("anduin-modal", J4);
3482
- class Q4 extends HTMLElement {
3467
+ `, D._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), D);
3468
+ e1([
3469
+ n({ type: Boolean, reflect: !0 })
3470
+ ], j.prototype, "open");
3471
+ e1([
3472
+ n()
3473
+ ], j.prototype, "heading");
3474
+ e1([
3475
+ n({ type: Boolean, attribute: "hide-header" })
3476
+ ], j.prototype, "hideHeader");
3477
+ e1([
3478
+ n({ type: Boolean, attribute: "hide-footer" })
3479
+ ], j.prototype, "hideFooter");
3480
+ e1([
3481
+ n({ attribute: "max-width" })
3482
+ ], j.prototype, "maxWidth");
3483
+ e1([
3484
+ n({ type: Boolean })
3485
+ ], j.prototype, "fullscreen");
3486
+ e1([
3487
+ y()
3488
+ ], j.prototype, "_leaving");
3489
+ let c3 = j;
3490
+ customElements.get("anduin-modal") || customElements.define("anduin-modal", c3);
3491
+ class p3 extends HTMLElement {
3483
3492
  constructor() {
3484
3493
  super(...arguments), this._onClick = () => {
3485
- this.dispatchEvent(new CustomEvent(r1, { bubbles: !0, composed: !0 }));
3494
+ this.dispatchEvent(new CustomEvent(u1, { bubbles: !0, composed: !0 }));
3486
3495
  };
3487
3496
  }
3488
3497
  connectedCallback() {
@@ -3492,26 +3501,26 @@ class Q4 extends HTMLElement {
3492
3501
  this.removeEventListener("click", this._onClick);
3493
3502
  }
3494
3503
  }
3495
- customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", Q4);
3496
- var e3 = Object.defineProperty, E = (i, e, t, C) => {
3497
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
3498
- (n = i[l]) && (o = n(e, t, o) || o);
3499
- return o && e3(e, t, o), o;
3504
+ customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", p3);
3505
+ var u3 = Object.defineProperty, P = (l, e, t, i) => {
3506
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
3507
+ (C = l[r]) && (o = C(e, t, o) || o);
3508
+ return o && u3(e, t, o), o;
3500
3509
  };
3501
- const a2 = "anduin-radio:change", t3 = "anduin-radio-group:change", J2 = class J2 extends u {
3510
+ const u2 = "anduin-radio:change", h3 = "anduin-radio-group:change", l5 = class l5 extends u {
3502
3511
  constructor() {
3503
3512
  super(...arguments), this.checked = !1, this.disabled = !1, this.readonly = !1, this.value = "", this.name = "", this.inputid = "";
3504
3513
  }
3505
3514
  connectedCallback() {
3506
3515
  super.connectedCallback();
3507
3516
  const e = this.closest("anduin-field");
3508
- e && e.addEventListener(y1, (t) => {
3509
- const C = t;
3510
- this.inputid && this.inputid === C.detail && !this.disabled && !this.readonly && this._select();
3517
+ e && e.addEventListener(E1, (t) => {
3518
+ const i = t;
3519
+ this.inputid && this.inputid === i.detail && !this.disabled && !this.readonly && this._select();
3511
3520
  });
3512
3521
  }
3513
3522
  _select() {
3514
- this.checked || (this.checked = !0, this.dispatchEvent(new CustomEvent(a2, {
3523
+ this.checked || (this.checked = !0, this.dispatchEvent(new CustomEvent(u2, {
3515
3524
  detail: this.value,
3516
3525
  bubbles: !0,
3517
3526
  composed: !0
@@ -3528,7 +3537,7 @@ const a2 = "anduin-radio:change", t3 = "anduin-radio-group:change", J2 = class J
3528
3537
  !this.checked && this.disabled ? "radio__circle--disabled" : "",
3529
3538
  !this.checked && !this.readonly && !this.disabled ? "radio__circle--unchecked" : ""
3530
3539
  ].filter(Boolean).join(" ");
3531
- return d`
3540
+ return s`
3532
3541
  <label class="${this.disabled ? "is-disabled" : ""}">
3533
3542
  <div
3534
3543
  class="radio ${e ? "radio--interactive" : ""} ${this.disabled ? "radio--disabled" : ""}"
@@ -3539,10 +3548,10 @@ const a2 = "anduin-radio:change", t3 = "anduin-radio-group:change", J2 = class J
3539
3548
  type="radio"
3540
3549
  .checked=${this.checked}
3541
3550
  .value=${this.value}
3542
- name=${this.name || p}
3551
+ name=${this.name || c}
3543
3552
  ?disabled=${this.disabled || this.readonly}
3544
3553
  tabindex="${e ? 0 : -1}"
3545
- @change=${e ? this._onInputChange : p}
3554
+ @change=${e ? this._onInputChange : c}
3546
3555
  />
3547
3556
  <div class="${t}" tabindex="${e ? 0 : -1}"></div>
3548
3557
  <div class="radio__dot ${this.checked ? "radio__dot--visible" : ""}"></div>
@@ -3552,7 +3561,7 @@ const a2 = "anduin-radio:change", t3 = "anduin-radio-group:change", J2 = class J
3552
3561
  `;
3553
3562
  }
3554
3563
  };
3555
- J2.styles = h`
3564
+ l5.styles = h`
3556
3565
  :host { display: inline-flex; font-family: var(--font-sans); }
3557
3566
 
3558
3567
  label {
@@ -3623,55 +3632,55 @@ J2.styles = h`
3623
3632
  transform: scale(1);
3624
3633
  }
3625
3634
  `;
3626
- let $ = J2;
3627
- E([
3628
- r({ type: Boolean })
3629
- ], $.prototype, "checked");
3630
- E([
3631
- r({ type: Boolean })
3632
- ], $.prototype, "disabled");
3633
- E([
3634
- r({ type: Boolean })
3635
- ], $.prototype, "readonly");
3636
- E([
3637
- r()
3638
- ], $.prototype, "value");
3639
- E([
3640
- r()
3641
- ], $.prototype, "name");
3642
- E([
3643
- r()
3644
- ], $.prototype, "inputid");
3645
- customElements.get("anduin-radio") || customElements.define("anduin-radio", $);
3646
- const Q2 = class Q2 extends u {
3635
+ let F = l5;
3636
+ P([
3637
+ n({ type: Boolean })
3638
+ ], F.prototype, "checked");
3639
+ P([
3640
+ n({ type: Boolean })
3641
+ ], F.prototype, "disabled");
3642
+ P([
3643
+ n({ type: Boolean })
3644
+ ], F.prototype, "readonly");
3645
+ P([
3646
+ n()
3647
+ ], F.prototype, "value");
3648
+ P([
3649
+ n()
3650
+ ], F.prototype, "name");
3651
+ P([
3652
+ n()
3653
+ ], F.prototype, "inputid");
3654
+ customElements.get("anduin-radio") || customElements.define("anduin-radio", F);
3655
+ const r5 = class r5 extends u {
3647
3656
  constructor() {
3648
3657
  super(...arguments), this.value = "", this.name = "", this.orientation = "vertical", this._onRadioChange = (e) => {
3649
- const C = e.detail;
3650
- C !== this.value && (this.value = C, this.querySelectorAll("anduin-radio").forEach((o) => {
3651
- const l = o;
3652
- l.checked = l.value === C;
3653
- }), this.dispatchEvent(new CustomEvent(t3, {
3654
- detail: C,
3658
+ const i = e.detail;
3659
+ i !== this.value && (this.value = i, this.querySelectorAll("anduin-radio").forEach((o) => {
3660
+ const r = o;
3661
+ r.checked = r.value === i;
3662
+ }), this.dispatchEvent(new CustomEvent(h3, {
3663
+ detail: i,
3655
3664
  bubbles: !0,
3656
3665
  composed: !0
3657
3666
  })), e.stopPropagation());
3658
3667
  };
3659
3668
  }
3660
3669
  connectedCallback() {
3661
- super.connectedCallback(), this.addEventListener(a2, this._onRadioChange);
3670
+ super.connectedCallback(), this.addEventListener(u2, this._onRadioChange);
3662
3671
  }
3663
3672
  disconnectedCallback() {
3664
- super.disconnectedCallback(), this.removeEventListener(a2, this._onRadioChange);
3673
+ super.disconnectedCallback(), this.removeEventListener(u2, this._onRadioChange);
3665
3674
  }
3666
3675
  render() {
3667
- return d`
3676
+ return s`
3668
3677
  <div class="group group--${this.orientation}" role="radiogroup" part="group">
3669
3678
  <slot></slot>
3670
3679
  </div>
3671
3680
  `;
3672
3681
  }
3673
3682
  };
3674
- Q2.styles = h`
3683
+ r5.styles = h`
3675
3684
  :host { display: block; font-family: var(--font-sans); }
3676
3685
 
3677
3686
  .group {
@@ -3681,23 +3690,23 @@ Q2.styles = h`
3681
3690
  .group--vertical { flex-direction: column; }
3682
3691
  .group--horizontal { flex-direction: row; flex-wrap: wrap; align-items: center; }
3683
3692
  `;
3684
- let o1 = Q2;
3685
- E([
3686
- r()
3687
- ], o1.prototype, "value");
3688
- E([
3689
- r()
3690
- ], o1.prototype, "name");
3691
- E([
3692
- r()
3693
- ], o1.prototype, "orientation");
3694
- customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group", o1);
3695
- var o3 = Object.defineProperty, W = (i, e, t, C) => {
3696
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
3697
- (n = i[l]) && (o = n(e, t, o) || o);
3698
- return o && o3(e, t, o), o;
3693
+ let s1 = r5;
3694
+ P([
3695
+ n()
3696
+ ], s1.prototype, "value");
3697
+ P([
3698
+ n()
3699
+ ], s1.prototype, "name");
3700
+ P([
3701
+ n()
3702
+ ], s1.prototype, "orientation");
3703
+ customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group", s1);
3704
+ var g3 = Object.defineProperty, t1 = (l, e, t, i) => {
3705
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
3706
+ (C = l[r]) && (o = C(e, t, o) || o);
3707
+ return o && g3(e, t, o), o;
3699
3708
  };
3700
- const b5 = [
3709
+ const k5 = [
3701
3710
  { bg: "#6172F3", text: "#ffffff" },
3702
3711
  { bg: "#B692F6", text: "#ffffff" },
3703
3712
  { bg: "#F670C7", text: "#ffffff" },
@@ -3707,17 +3716,17 @@ const b5 = [
3707
3716
  { bg: "#F97066", text: "#ffffff" },
3708
3717
  { bg: "#7A5AF8", text: "#ffffff" }
3709
3718
  ];
3710
- function C3(i) {
3719
+ function v3(l) {
3711
3720
  let e = 0;
3712
- for (let t = 0; t < i.length; t++) e = e * 31 + i.charCodeAt(t) >>> 0;
3713
- return b5[e % b5.length];
3721
+ for (let t = 0; t < l.length; t++) e = e * 31 + l.charCodeAt(t) >>> 0;
3722
+ return k5[e % k5.length];
3714
3723
  }
3715
- function i3(i) {
3724
+ function f3(l) {
3716
3725
  var t;
3717
- const e = i.trim().split(/\s+/);
3726
+ const e = l.trim().split(/\s+/);
3718
3727
  return e.length === 1 ? ((t = e[0][0]) == null ? void 0 : t.toUpperCase()) ?? "" : ((e[0][0] ?? "") + (e[e.length - 1][0] ?? "")).toUpperCase();
3719
3728
  }
3720
- const e5 = class e5 extends u {
3729
+ const C5 = class C5 extends u {
3721
3730
  constructor() {
3722
3731
  super(...arguments), this.src = "", this.name = "", this.alt = "", this.icon = "", this.size = 32, this.shape = "circle", this._imgError = !1;
3723
3732
  }
@@ -3728,8 +3737,8 @@ const e5 = class e5 extends u {
3728
3737
  return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
3729
3738
  }
3730
3739
  render() {
3731
- const e = !!this.src && !this._imgError, t = this.name || this.icon ? C3(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, C = this.name ? i3(this.name) : "";
3732
- return d`
3740
+ const e = !!this.src && !this._imgError, t = this.name || this.icon ? v3(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, i = this.name ? f3(this.name) : "";
3741
+ return s`
3733
3742
  <div
3734
3743
  class="avatar avatar--${this.shape} avatar--${this.size}"
3735
3744
  style=${e ? "" : `background:${t.bg}`}
@@ -3737,7 +3746,7 @@ const e5 = class e5 extends u {
3737
3746
  role="img"
3738
3747
  part="avatar"
3739
3748
  >
3740
- ${e ? d`<img src=${this.src} alt=${this.alt || this.name} @error=${this._onImgError} />` : this.icon ? d`<span style="color:${t.text};width:100%;height:100%;display:flex;align-items:center;justify-content:center"><anduin-icon name=${this.icon} size=${this._iconSize()}></anduin-icon></span>` : C ? d`<span style="color:${t.text};background:${t.bg};width:100%;height:100%;display:flex;align-items:center;justify-content:center">${C}</span>` : d`<span style="color:#98A2B3;background:#F2F4F7;width:100%;height:100%;display:flex;align-items:center;justify-content:center">
3749
+ ${e ? s`<img src=${this.src} alt=${this.alt || this.name} @error=${this._onImgError} />` : this.icon ? s`<span style="color:${t.text};width:100%;height:100%;display:flex;align-items:center;justify-content:center"><anduin-icon name=${this.icon} size=${this._iconSize()}></anduin-icon></span>` : i ? s`<span style="color:${t.text};background:${t.bg};width:100%;height:100%;display:flex;align-items:center;justify-content:center">${i}</span>` : s`<span style="color:#98A2B3;background:#F2F4F7;width:100%;height:100%;display:flex;align-items:center;justify-content:center">
3741
3750
  <svg width="60%" height="60%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
3742
3751
  <path d="M8 8C9.93 8 11.5 6.43 11.5 4.5S9.93 1 8 1 4.5 2.57 4.5 4.5 6.07 8 8 8zm0 1.5C5.66 9.5 1 10.67 1 13v1h14v-1c0-2.33-4.66-3.5-7-3.5z" fill="currentColor"/>
3743
3752
  </svg>
@@ -3746,7 +3755,7 @@ const e5 = class e5 extends u {
3746
3755
  `;
3747
3756
  }
3748
3757
  };
3749
- e5.styles = h`
3758
+ C5.styles = h`
3750
3759
  :host { display: inline-flex; }
3751
3760
 
3752
3761
  .avatar {
@@ -3775,43 +3784,43 @@ e5.styles = h`
3775
3784
  display: block;
3776
3785
  }
3777
3786
  `;
3778
- let _ = e5;
3779
- W([
3780
- r()
3781
- ], _.prototype, "src");
3782
- W([
3783
- r()
3784
- ], _.prototype, "name");
3785
- W([
3786
- r()
3787
- ], _.prototype, "alt");
3788
- W([
3789
- r()
3790
- ], _.prototype, "icon");
3791
- W([
3792
- r({ type: Number })
3793
- ], _.prototype, "size");
3794
- W([
3795
- r()
3796
- ], _.prototype, "shape");
3797
- W([
3798
- x()
3799
- ], _.prototype, "_imgError");
3800
- customElements.get("anduin-avatar") || customElements.define("anduin-avatar", _);
3787
+ let E = C5;
3788
+ t1([
3789
+ n()
3790
+ ], E.prototype, "src");
3791
+ t1([
3792
+ n()
3793
+ ], E.prototype, "name");
3794
+ t1([
3795
+ n()
3796
+ ], E.prototype, "alt");
3797
+ t1([
3798
+ n()
3799
+ ], E.prototype, "icon");
3800
+ t1([
3801
+ n({ type: Number })
3802
+ ], E.prototype, "size");
3803
+ t1([
3804
+ n()
3805
+ ], E.prototype, "shape");
3806
+ t1([
3807
+ y()
3808
+ ], E.prototype, "_imgError");
3809
+ customElements.get("anduin-avatar") || customElements.define("anduin-avatar", E);
3801
3810
  /**
3802
3811
  * @license
3803
3812
  * Copyright 2017 Google LLC
3804
3813
  * SPDX-License-Identifier: BSD-3-Clause
3805
3814
  */
3806
- const l3 = { CHILD: 2 }, n3 = (i) => (...e) => ({ _$litDirective$: i, values: e });
3807
- class r3 {
3815
+ const H3 = { CHILD: 2 }, V3 = (l) => (...e) => ({ _$litDirective$: l, values: e });
3816
+ class L3 {
3808
3817
  constructor(e) {
3809
3818
  }
3810
3819
  get _$AU() {
3811
3820
  return this._$AM._$AU;
3812
3821
  }
3813
- _$AT(e, t, C) {
3814
- this._$Ct = e, this._$AM = t, this._$Ci = C;
3822
+ _$AT(e, t, i) {
3823
+ this._$Ct = e, this._$AM = t, this._$Ci = i;
3815
3824
  }
3816
3825
  _$AS(e, t) {
3817
3826
  return this.update(e, t);
@@ -3825,13 +3834,13 @@ class r3 {
3825
3834
  * Copyright 2017 Google LLC
3826
3835
  * SPDX-License-Identifier: BSD-3-Clause
3827
3836
  */
3828
- class s2 extends r3 {
3837
+ class h2 extends L3 {
3829
3838
  constructor(e) {
3830
- if (super(e), this.it = p, e.type !== l3.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3839
+ if (super(e), this.it = c, e.type !== H3.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3831
3840
  }
3832
3841
  render(e) {
3833
- if (e === p || e == null) return this._t = void 0, this.it = e;
3834
- if (e === U) return e;
3842
+ if (e === c || e == null) return this._t = void 0, this.it = e;
3843
+ if (e === K) return e;
3835
3844
  if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
3836
3845
  if (e === this.it) return this._t;
3837
3846
  this.it = e;
@@ -3839,16 +3848,16 @@ class s2 extends r3 {
3839
3848
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
3840
3849
  }
3841
3850
  }
3842
- s2.directiveName = "unsafeHTML", s2.resultType = 1;
3851
+ h2.directiveName = "unsafeHTML", h2.resultType = 1;
3843
3852
  /**
3844
3853
  * @license
3845
3854
  * Copyright 2017 Google LLC
3846
3855
  * SPDX-License-Identifier: BSD-3-Clause
3847
3856
  */
3848
- class d2 extends s2 {
3857
+ class g2 extends h2 {
3849
3858
  }
3850
- d2.directiveName = "unsafeSVG", d2.resultType = 2;
3851
- const a3 = n3(d2), s3 = {
3859
+ g2.directiveName = "unsafeSVG", g2.resultType = 2;
3860
+ const b3 = V3(g2), m3 = {
3852
3861
  archive: {
3853
3862
  16: { viewBox: "0 0 16 16", paths: `<path d="M2 1.5C2 0.671573 2.67157 0 3.5 0H9.17157C9.70201 0 10.2107 0.210714 10.5858 0.585786L13.4142 3.41421C13.7893 3.78929 14 4.29799 14 4.82843V14.5C14 15.3284 13.3284 16 12.5 16H3.5C2.67157 16 2 15.3284 2 14.5V1.5Z" fill="white"/>
3854
3863
  <path fill-rule="evenodd" clip-rule="evenodd" d="M13 5.5C13 5.22386 12.7761 5 12.5 5H9.5C9.22386 5 9 4.77614 9 4.5V1.5C9 1.22386 8.77614 1 8.5 1H6H3.5C3.22386 1 3 1.22386 3 1.5V14.5C3 14.7761 3.22386 15 3.5 15H12.5C12.7761 15 13 14.7761 13 14.5V8V5.5ZM14 8V14.5C14 15.3284 13.3284 16 12.5 16H3.5C2.67157 16 2 15.3284 2 14.5V1.5C2 0.671573 2.67157 0 3.5 0H6H9.17157C9.70201 0 10.2107 0.210714 10.5858 0.585786L13.4142 3.41421C13.7893 3.78929 14 4.29799 14 4.82843V8Z" fill="#CCD2DB"/>
@@ -4092,27 +4101,27 @@ const a3 = n3(d2), s3 = {
4092
4101
  <path fill-rule="evenodd" clip-rule="evenodd" d="M6 2H18.5H18.5147C18.8078 2 19.0982 2.02573 19.3829 2.07593C19.7452 2.22622 20 2.58335 20 3V8C20 8.55228 20.4477 9 21 9H26C26.4166 9 26.7738 9.25482 26.9241 9.6171C26.9743 9.90183 27 10.1922 27 10.4853V29C27 29.5523 26.5523 30 26 30H6C5.44772 30 5 29.5523 5 29V3C5 2.44772 5.44772 2 6 2ZM27.9804 10C27.9934 10.1608 28 10.3227 28 10.4853V29C28 30.1046 27.1046 31 26 31H6C4.89543 31 4 30.1046 4 29V3C4 1.89543 4.89543 1 6 1H18.5H18.5147C20.0951 1 21.6113 1.62353 22.7342 2.73435C22.742 2.742 22.7497 2.74967 22.7574 2.75736L26.2426 6.24264L26.5858 6.58579C27.4913 7.49129 28 8.71942 28 10H27.9804Z" fill="#AADAF9"/>
4093
4102
  <path d="M18.875 21.5385L20.3324 13.4117C20.3751 13.1734 20.5825 13 20.8246 13H22.1261C22.4436 13 22.6808 13.2921 22.6154 13.6029L20.3023 24.6029C20.2536 24.8343 20.0494 25 19.813 25H18.2572C18.0243 25 17.8223 24.8393 17.77 24.6124L16.0078 16.9725L14.2457 24.6124C14.1933 24.8393 13.9913 25 13.7584 25H12.2027C11.9662 25 11.762 24.8343 11.7134 24.6029L9.40022 13.6029C9.33487 13.2921 9.57198 13 9.88952 13H11.1916C11.4335 13 11.6406 13.1731 11.6836 13.4111L13.1484 21.522L14.9371 13.3926C14.9875 13.1633 15.1906 13 15.4254 13H16.6053C16.8403 13 17.0436 13.1636 17.0938 13.3932L18.875 21.5385Z" fill="#1075DC"/>` }
4094
4103
  }
4095
- }, d3 = [32, 24, 16];
4096
- function c3(i, e) {
4097
- const t = s3[i];
4104
+ }, M3 = [32, 24, 16];
4105
+ function Z3(l, e) {
4106
+ const t = m3[l];
4098
4107
  if (!t) return null;
4099
4108
  if (t[e]) return t[e];
4100
- for (const C of d3)
4101
- if (t[C]) return t[C];
4109
+ for (const i of M3)
4110
+ if (t[i]) return t[i];
4102
4111
  return null;
4103
4112
  }
4104
- var p3 = Object.defineProperty, U5 = (i, e, t, C) => {
4105
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
4106
- (n = i[l]) && (o = n(e, t, o) || o);
4107
- return o && p3(e, t, o), o;
4113
+ var y3 = Object.defineProperty, o4 = (l, e, t, i) => {
4114
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
4115
+ (C = l[r]) && (o = C(e, t, o) || o);
4116
+ return o && y3(e, t, o), o;
4108
4117
  };
4109
- const t5 = class t5 extends u {
4118
+ const n5 = class n5 extends u {
4110
4119
  constructor() {
4111
4120
  super(...arguments), this.type = "pdf", this.size = 32;
4112
4121
  }
4113
4122
  render() {
4114
- const e = c3(this.type, this.size);
4115
- return e ? d`
4123
+ const e = Z3(this.type, this.size);
4124
+ return e ? s`
4116
4125
  <svg
4117
4126
  width=${this.size}
4118
4127
  height=${this.size}
@@ -4122,35 +4131,35 @@ const t5 = class t5 extends u {
4122
4131
  aria-label="${this.type} file"
4123
4132
  role="img"
4124
4133
  >
4125
- ${a3(e.paths)}
4134
+ ${b3(e.paths)}
4126
4135
  </svg>
4127
- ` : p;
4136
+ ` : c;
4128
4137
  }
4129
4138
  };
4130
- t5.styles = h`
4139
+ n5.styles = h`
4131
4140
  :host { display: inline-flex; align-items: center; justify-content: center; }
4132
4141
  svg { display: block; }
4133
4142
  `;
4134
- let M1 = t5;
4135
- U5([
4136
- r()
4137
- ], M1.prototype, "type");
4138
- U5([
4139
- r({ type: Number })
4140
- ], M1.prototype, "size");
4141
- customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", M1);
4142
- var u3 = Object.defineProperty, X = (i, e, t, C) => {
4143
- for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
4144
- (n = i[l]) && (o = n(e, t, o) || o);
4145
- return o && u3(e, t, o), o;
4143
+ let R1 = n5;
4144
+ o4([
4145
+ n()
4146
+ ], R1.prototype, "type");
4147
+ o4([
4148
+ n({ type: Number })
4149
+ ], R1.prototype, "size");
4150
+ customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", R1);
4151
+ var _3 = Object.defineProperty, o1 = (l, e, t, i) => {
4152
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
4153
+ (C = l[r]) && (o = C(e, t, o) || o);
4154
+ return o && _3(e, t, o), o;
4146
4155
  };
4147
- const M5 = {
4156
+ const $5 = {
4148
4157
  gray: "info",
4149
4158
  primary: "infoCircleLine",
4150
4159
  success: "checkCircle",
4151
4160
  warning: "warning",
4152
4161
  danger: "error"
4153
- }, h3 = "anduin-toast:dismiss", o5 = class o5 extends u {
4162
+ }, x3 = "anduin-toast:dismiss", a5 = class a5 extends u {
4154
4163
  constructor() {
4155
4164
  super(...arguments), this.variant = "gray", this.heading = "", this.description = "", this._dismissing = !1;
4156
4165
  }
@@ -4158,10 +4167,10 @@ const M5 = {
4158
4167
  var t;
4159
4168
  if (this._dismissing) return;
4160
4169
  this._dismissing = !0;
4161
- const e = (C) => {
4170
+ const e = (i) => {
4162
4171
  var o;
4163
- C.propertyName === "opacity" && ((o = this._toastEl) == null || o.removeEventListener("transitionend", e), this.dispatchEvent(
4164
- new CustomEvent(h3, { bubbles: !0, composed: !0 })
4172
+ i.propertyName === "opacity" && ((o = this._toastEl) == null || o.removeEventListener("transitionend", e), this.dispatchEvent(
4173
+ new CustomEvent(x3, { bubbles: !0, composed: !0 })
4165
4174
  ));
4166
4175
  };
4167
4176
  (t = this._toastEl) == null || t.addEventListener("transitionend", e);
@@ -4170,8 +4179,8 @@ const M5 = {
4170
4179
  this.dismiss();
4171
4180
  }
4172
4181
  render() {
4173
- const e = M5[this.variant] ?? M5.gray;
4174
- return d`
4182
+ const e = $5[this.variant] ?? $5.gray;
4183
+ return s`
4175
4184
  <div
4176
4185
  class="toast toast--${this.variant} ${this._dismissing ? "toast--dismissing" : ""}"
4177
4186
  part="toast"
@@ -4182,8 +4191,8 @@ const M5 = {
4182
4191
  <anduin-icon name=${e} size="16"></anduin-icon>
4183
4192
  </div>
4184
4193
  <div class="toast__body">
4185
- ${this.heading ? d`<div class="toast__title">${this.heading}</div>` : ""}
4186
- ${this.description ? d`<div class="toast__description">${this.description}</div>` : d`<div class="toast__description"><slot></slot></div>`}
4194
+ ${this.heading ? s`<div class="toast__title">${this.heading}</div>` : ""}
4195
+ ${this.description ? s`<div class="toast__description">${this.description}</div>` : s`<div class="toast__description"><slot></slot></div>`}
4187
4196
  </div>
4188
4197
  <button
4189
4198
  class="toast__close"
@@ -4196,7 +4205,7 @@ const M5 = {
4196
4205
  `;
4197
4206
  }
4198
4207
  };
4199
- o5.styles = h`
4208
+ a5.styles = h`
4200
4209
  :host {
4201
4210
  display: block;
4202
4211
  font-family: var(--font-sans);
@@ -4280,7 +4289,7 @@ o5.styles = h`
4280
4289
 
4281
4290
  .toast__title {
4282
4291
  font-size: var(--text-13, 13px);
4283
- font-weight: 600;
4292
+ font-weight: 500;
4284
4293
  color: var(--color-gray-0, #ffffff);
4285
4294
  line-height: 20px;
4286
4295
  }
@@ -4315,30 +4324,30 @@ o5.styles = h`
4315
4324
  background: var(--color-gray-7, #344054);
4316
4325
  }
4317
4326
  `;
4318
- let P = o5;
4319
- X([
4320
- r()
4321
- ], P.prototype, "variant");
4322
- X([
4323
- r()
4324
- ], P.prototype, "heading");
4325
- X([
4326
- r()
4327
- ], P.prototype, "description");
4328
- X([
4329
- x()
4330
- ], P.prototype, "_dismissing");
4331
- X([
4332
- D(".toast")
4333
- ], P.prototype, "_toastEl");
4334
- customElements.get("anduin-toast") || customElements.define("anduin-toast", P);
4335
- const C5 = class C5 extends u {
4327
+ let T = a5;
4328
+ o1([
4329
+ n()
4330
+ ], T.prototype, "variant");
4331
+ o1([
4332
+ n()
4333
+ ], T.prototype, "heading");
4334
+ o1([
4335
+ n()
4336
+ ], T.prototype, "description");
4337
+ o1([
4338
+ y()
4339
+ ], T.prototype, "_dismissing");
4340
+ o1([
4341
+ w(".toast")
4342
+ ], T.prototype, "_toastEl");
4343
+ customElements.get("anduin-toast") || customElements.define("anduin-toast", T);
4344
+ const s5 = class s5 extends u {
4336
4345
  constructor() {
4337
4346
  super(...arguments), this.position = "bottom-left", this._toasts = [], this._nextId = 0;
4338
4347
  }
4339
4348
  show(e) {
4340
- const t = this._nextId++, C = e.position ?? this.position;
4341
- this._toasts = [...this._toasts, { id: t, opts: { ...e, position: C } }];
4349
+ const t = this._nextId++, i = e.position ?? this.position;
4350
+ this._toasts = [...this._toasts, { id: t, opts: { ...e, position: i } }];
4342
4351
  const o = e.duration ?? 4e3;
4343
4352
  return o > 0 && setTimeout(() => this._dismissById(t), o), t;
4344
4353
  }
@@ -4346,8 +4355,8 @@ const C5 = class C5 extends u {
4346
4355
  this._dismissById(e);
4347
4356
  }
4348
4357
  _dismissById(e) {
4349
- var C;
4350
- const t = (C = this.shadowRoot) == null ? void 0 : C.querySelector(
4358
+ var i;
4359
+ const t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(
4351
4360
  `anduin-toast[data-id="${e}"]`
4352
4361
  );
4353
4362
  t ? t.dismiss() : this._removeById(e);
@@ -4359,16 +4368,16 @@ const C5 = class C5 extends u {
4359
4368
  e.stopPropagation(), this._removeById(t);
4360
4369
  }
4361
4370
  render() {
4362
- return d`
4371
+ return s`
4363
4372
  <div class="toaster toaster--${this.position}" part="toaster">
4364
4373
  ${this._toasts.map(
4365
- ({ id: e, opts: t }) => d`
4374
+ ({ id: e, opts: t }) => s`
4366
4375
  <anduin-toast
4367
4376
  data-id=${e}
4368
4377
  variant=${t.variant ?? "gray"}
4369
4378
  heading=${t.heading ?? ""}
4370
4379
  description=${t.description ?? ""}
4371
- @anduin-toast:dismiss=${(C) => this._onDismiss(C, e)}
4380
+ @anduin-toast:dismiss=${(i) => this._onDismiss(i, e)}
4372
4381
  ></anduin-toast>
4373
4382
  `
4374
4383
  )}
@@ -4376,7 +4385,7 @@ const C5 = class C5 extends u {
4376
4385
  `;
4377
4386
  }
4378
4387
  };
4379
- C5.styles = h`
4388
+ s5.styles = h`
4380
4389
  :host {
4381
4390
  display: contents;
4382
4391
  pointer-events: none;
@@ -4423,107 +4432,808 @@ C5.styles = h`
4423
4432
  align-items: flex-end;
4424
4433
  }
4425
4434
  `;
4426
- let m1 = C5;
4427
- X([
4428
- r()
4429
- ], m1.prototype, "position");
4430
- X([
4431
- x()
4432
- ], m1.prototype, "_toasts");
4433
- customElements.get("anduin-toaster") || customElements.define("anduin-toaster", m1);
4434
- const g3 = {
4435
- show(i) {
4436
- return H3(i.position).show(i);
4435
+ let w1 = s5;
4436
+ o1([
4437
+ n()
4438
+ ], w1.prototype, "position");
4439
+ o1([
4440
+ y()
4441
+ ], w1.prototype, "_toasts");
4442
+ customElements.get("anduin-toaster") || customElements.define("anduin-toaster", w1);
4443
+ const D3 = {
4444
+ show(l) {
4445
+ return R3(l.position).show(l);
4437
4446
  },
4438
- success(i, e, t) {
4439
- return this.show({ ...t, variant: "success", heading: i, description: e });
4447
+ success(l, e, t) {
4448
+ return this.show({ ...t, variant: "success", heading: l, description: e });
4440
4449
  },
4441
- danger(i, e, t) {
4442
- return this.show({ ...t, variant: "danger", heading: i, description: e });
4450
+ danger(l, e, t) {
4451
+ return this.show({ ...t, variant: "danger", heading: l, description: e });
4443
4452
  },
4444
- warning(i, e, t) {
4445
- return this.show({ ...t, variant: "warning", heading: i, description: e });
4453
+ warning(l, e, t) {
4454
+ return this.show({ ...t, variant: "warning", heading: l, description: e });
4446
4455
  },
4447
- primary(i, e, t) {
4448
- return this.show({ ...t, variant: "primary", heading: i, description: e });
4456
+ primary(l, e, t) {
4457
+ return this.show({ ...t, variant: "primary", heading: l, description: e });
4449
4458
  },
4450
- gray(i, e, t) {
4451
- return this.show({ ...t, variant: "gray", heading: i, description: e });
4459
+ gray(l, e, t) {
4460
+ return this.show({ ...t, variant: "gray", heading: l, description: e });
4452
4461
  }
4453
- }, W1 = /* @__PURE__ */ new Map();
4454
- function H3(i = "bottom-left") {
4455
- if (W1.has(i)) return W1.get(i);
4462
+ }, e2 = /* @__PURE__ */ new Map();
4463
+ function R3(l = "bottom-left") {
4464
+ if (e2.has(l)) return e2.get(l);
4456
4465
  const e = document.createElement("anduin-toaster");
4457
- return e.position = i, document.body.appendChild(e), W1.set(i, e), e;
4466
+ return e.position = l, document.body.appendChild(e), e2.set(l, e), e;
4467
+ }
4468
+ var w3 = Object.defineProperty, i4 = (l, e, t, i) => {
4469
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
4470
+ (C = l[r]) && (o = C(e, t, o) || o);
4471
+ return o && w3(e, t, o), o;
4472
+ };
4473
+ const k3 = "anduin-switcher:change", d5 = class d5 extends u {
4474
+ constructor() {
4475
+ super(...arguments), this.checked = !1, this.disabled = !1;
4476
+ }
4477
+ onChange() {
4478
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(k3, {
4479
+ detail: this.checked,
4480
+ bubbles: !0,
4481
+ composed: !0
4482
+ }));
4483
+ }
4484
+ render() {
4485
+ return s`
4486
+ <label class="${this.disabled ? "is-disabled" : ""}">
4487
+ <div class="track${this.checked ? " track--checked" : ""}" part="track">
4488
+ <input
4489
+ class="switcher__input"
4490
+ type="checkbox"
4491
+ .checked=${this.checked}
4492
+ ?disabled=${this.disabled}
4493
+ @change=${this.onChange}
4494
+ />
4495
+ <div class="thumb${this.checked ? " thumb--checked" : ""}"></div>
4496
+ </div>
4497
+ <span class="switcher__label"><slot></slot></span>
4498
+ </label>
4499
+ `;
4500
+ }
4501
+ };
4502
+ d5.styles = h`
4503
+ :host { display: inline-flex; font-family: var(--font-sans); }
4504
+
4505
+ label {
4506
+ display: inline-flex;
4507
+ align-items: center;
4508
+ gap: 8px;
4509
+ cursor: pointer;
4510
+ user-select: none;
4511
+ }
4512
+ label.is-disabled {
4513
+ cursor: default;
4514
+ opacity: 0.4;
4515
+ }
4516
+
4517
+ .track {
4518
+ position: relative;
4519
+ width: 28px;
4520
+ height: 16px;
4521
+ border-radius: 999px;
4522
+ background: var(--color-gray-4, #cdd3da);
4523
+ flex-shrink: 0;
4524
+ transition: background 0.2s ease-in-out;
4525
+ }
4526
+ .track--checked {
4527
+ background: var(--color-primary-4, #106ef6);
4528
+ }
4529
+ .track:focus-within {
4530
+ outline: 2px solid #acdbf8;
4531
+ outline-offset: 2px;
4532
+ }
4533
+
4534
+ .switcher__input {
4535
+ position: absolute;
4536
+ inset: 0;
4537
+ width: 100%;
4538
+ height: 100%;
4539
+ opacity: 0;
4540
+ cursor: pointer;
4541
+ margin: 0;
4542
+ }
4543
+ .switcher__input:disabled { cursor: default; }
4544
+
4545
+ .thumb {
4546
+ position: absolute;
4547
+ top: 2px;
4548
+ left: 2px;
4549
+ width: 12px;
4550
+ height: 12px;
4551
+ border-radius: 50%;
4552
+ background: #ffffff;
4553
+ pointer-events: none;
4554
+ transition: transform 0.2s ease-in-out;
4555
+ }
4556
+ .thumb--checked {
4557
+ transform: translateX(12px);
4558
+ }
4559
+
4560
+ .switcher__label {
4561
+ font-size: var(--text-13, 13px);
4562
+ color: var(--color-gray-8, #101828);
4563
+ line-height: 20px;
4564
+ }
4565
+ `;
4566
+ let k1 = d5;
4567
+ i4([
4568
+ n({ type: Boolean })
4569
+ ], k1.prototype, "checked");
4570
+ i4([
4571
+ n({ type: Boolean })
4572
+ ], k1.prototype, "disabled");
4573
+ customElements.get("anduin-switcher") || customElements.define("anduin-switcher", k1);
4574
+ var $3 = Object.defineProperty, b = (l, e, t, i) => {
4575
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
4576
+ (C = l[r]) && (o = C(e, t, o) || o);
4577
+ return o && $3(e, t, o), o;
4578
+ };
4579
+ const E5 = "anduin-dropdown:change", c5 = class c5 extends u {
4580
+ constructor() {
4581
+ super(...arguments), this.value = "", this.placeholder = "Select...", this.options = [], this.icon = "", this.searchable = !0, this.disabled = !1, this.placement = "bottom-start", this.appearance = "filled", this.variant = "gray0", this.size = "default", this.fullWidth = !1, this._open = !1, this._query = "", this._onOutsideClick = (e) => {
4582
+ var t;
4583
+ !this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && (this._open = !1, this._query = "");
4584
+ }, this._onScrollOrResize = () => {
4585
+ this._open && this._updatePosition();
4586
+ };
4587
+ }
4588
+ connectedCallback() {
4589
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
4590
+ }
4591
+ disconnectedCallback() {
4592
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
4593
+ }
4594
+ updated(e) {
4595
+ e.has("_open") && this._open && requestAnimationFrame(() => {
4596
+ var t, i;
4597
+ if (this._updatePosition(), this.searchable) {
4598
+ const o = (i = (t = this._searchEl) == null ? void 0 : t.shadowRoot) == null ? void 0 : i.querySelector("input");
4599
+ o == null || o.focus();
4600
+ }
4601
+ });
4602
+ }
4603
+ _onTriggerClick() {
4604
+ this.disabled || (this._open = !this._open, this._open || (this._query = ""));
4605
+ }
4606
+ _onKeyDown(e) {
4607
+ var t;
4608
+ e.key === "Escape" && (this._open = !1, this._query = "", (t = this._triggerEl) == null || t.focus());
4609
+ }
4610
+ _onClear(e) {
4611
+ e.stopPropagation(), this.value = "", this.dispatchEvent(new CustomEvent(E5, {
4612
+ detail: "",
4613
+ bubbles: !0,
4614
+ composed: !0
4615
+ }));
4616
+ }
4617
+ _selectOption(e) {
4618
+ this.value = e.value, this._open = !1, this._query = "", this.dispatchEvent(new CustomEvent(E5, {
4619
+ detail: e.value,
4620
+ bubbles: !0,
4621
+ composed: !0
4622
+ }));
4623
+ }
4624
+ _updatePosition() {
4625
+ const e = this._triggerEl, t = this._panelEl;
4626
+ if (!e || !t) return;
4627
+ const i = e.getBoundingClientRect(), o = t.style.transform;
4628
+ t.style.transform = "none";
4629
+ const r = t.getBoundingClientRect();
4630
+ t.style.transform = o;
4631
+ const C = t.querySelector(".panel__inner");
4632
+ C && (C.style.minWidth = `${i.width}px`);
4633
+ const a = t.getBoundingClientRect(), d = 4, p = window.innerWidth, g = window.innerHeight, v = 8, H = g - i.bottom - d, f = i.top - d, i1 = a.height <= H || H >= f ? i.bottom + d : i.top - a.height - d;
4634
+ let $ = i.left;
4635
+ this.placement === "bottom-end" ? $ = i.right - a.width : this.placement === "bottom" && ($ = i.left + i.width / 2 - a.width / 2), $ = Math.max(v, Math.min($, p - a.width - v));
4636
+ const q = Math.max(v, Math.min(i1, g - a.height - v));
4637
+ t.style.transform = `translate(${Math.round($ - r.left)}px, ${Math.round(q - r.top)}px)`;
4638
+ }
4639
+ get _filteredOptions() {
4640
+ if (!this._query) return this.options;
4641
+ const e = this._query.toLowerCase();
4642
+ return this.options.filter((t) => t.label.toLowerCase().includes(e));
4643
+ }
4644
+ render() {
4645
+ const e = this.options.find((r) => r.value === this.value), t = (e == null ? void 0 : e.label) ?? "", i = e ? e.icon ?? "" : this.icon, o = this._filteredOptions;
4646
+ return s`
4647
+ <button
4648
+ class="trigger trigger--${this.appearance} trigger--${this.variant}${this.size === "small" ? " trigger--small" : ""}${this.value ? " has-value" : ""}"
4649
+ part="trigger"
4650
+ ?disabled=${this.disabled}
4651
+ aria-haspopup="listbox"
4652
+ aria-expanded=${this._open}
4653
+ @click=${this._onTriggerClick}
4654
+ @keydown=${this._onKeyDown}
4655
+ >
4656
+ ${i && t ? s`<anduin-icon name="${i}" size="16"></anduin-icon>` : c}
4657
+ <span class="trigger__label${t ? "" : " trigger__label--placeholder"}">${t || this.placeholder}</span>
4658
+ <span class="trigger__caret">
4659
+ <span class="trigger__chevron">
4660
+ <anduin-icon name="caretDown" size="16"></anduin-icon>
4661
+ </span>
4662
+ ${this.value && !this.disabled ? s`
4663
+ <span class="trigger__clear" @click=${this._onClear}>
4664
+ <anduin-icon name="crossSmall" size="16"></anduin-icon>
4665
+ </span>
4666
+ ` : c}
4667
+ </span>
4668
+ </button>
4669
+
4670
+ <div class="panel${this._open ? " panel--open" : ""}" part="panel" @keydown=${this._onKeyDown}>
4671
+ <div class="panel__inner" role="listbox">
4672
+ ${this.searchable ? s`
4673
+ <div class="search-wrap">
4674
+ <anduin-input
4675
+ placeholder="Search ..."
4676
+ .value=${this._query}
4677
+ @anduin-input:change=${(r) => {
4678
+ this._query = r.detail;
4679
+ }}
4680
+ ></anduin-input>
4681
+ </div>
4682
+ ` : c}
4683
+ <div class="options">
4684
+ ${o.length ? o.map((r) => s`
4685
+ <div
4686
+ class="option"
4687
+ role="option"
4688
+ aria-selected=${r.value === this.value}
4689
+ @click=${() => this._selectOption(r)}
4690
+ >
4691
+ <span class="option__check">
4692
+ ${r.value === this.value ? s`<anduin-icon name="checkSmall" size="16"></anduin-icon>` : c}
4693
+ </span>
4694
+ ${r.icon ? s`<anduin-icon name="${r.icon}" size="16"></anduin-icon>` : c}
4695
+ <span class="option__label">${r.label}</span>
4696
+ </div>
4697
+ `) : s`<div class="empty">No results</div>`}
4698
+ </div>
4699
+ </div>
4700
+ </div>
4701
+ `;
4702
+ }
4703
+ };
4704
+ c5.styles = h`
4705
+ :host { display: inline-block; font-family: var(--font-sans); }
4706
+ :host([full-width]) { display: block; width: 100%; }
4707
+ :host([full-width]) .trigger { width: 100%; }
4708
+
4709
+ /* ── Trigger ───────────────────────────────────────────────── */
4710
+ .trigger {
4711
+ display: inline-flex;
4712
+ align-items: center;
4713
+ gap: 6px;
4714
+ height: 32px;
4715
+ padding: 0 8px 0 12px;
4716
+ border-radius: 4px;
4717
+ border-width: 1px;
4718
+ border-style: solid;
4719
+ cursor: pointer;
4720
+ font-family: var(--font-sans);
4721
+ font-size: 13px;
4722
+ font-weight: 500;
4723
+ line-height: 20px;
4724
+ white-space: nowrap;
4725
+ user-select: none;
4726
+ box-sizing: border-box;
4727
+ }
4728
+ .trigger:disabled { opacity: 0.4; cursor: default; pointer-events: none; }
4729
+ .trigger__label { flex: 1; min-width: 0; }
4730
+ .trigger__label--placeholder { color: var(--color-gray-6, #667085); }
4731
+
4732
+ /* filled */
4733
+ .trigger--filled { box-shadow: 0 1px 2px 0 rgba(29,41,57,0.07); }
4734
+ .trigger--filled.trigger--gray0 { color: var(--color-gray-8); border-color: var(--color-gray-4); background-color: var(--color-gray-0); }
4735
+ .trigger--filled.trigger--gray0:hover { background-color: var(--color-gray-2); }
4736
+ .trigger--filled.trigger--gray0:active { background-color: var(--color-gray-3); }
4737
+ .trigger--filled.trigger--gray9 { color: var(--color-gray-0); border-color: transparent; background-color: var(--color-gray-7); }
4738
+ .trigger--filled.trigger--gray9:hover { background-color: var(--color-gray-6); }
4739
+ .trigger--filled.trigger--gray9:active { background-color: var(--color-gray-8); }
4740
+ .trigger--filled.trigger--primary { color: var(--color-gray-0); border-color: transparent; background-color: var(--color-primary-4); }
4741
+ .trigger--filled.trigger--primary:hover { background-color: var(--color-primary-3); }
4742
+ .trigger--filled.trigger--primary:active { background-color: var(--color-primary-5); }
4743
+ .trigger--filled.trigger--danger { color: var(--color-gray-0); border-color: transparent; background-color: var(--color-danger-4); }
4744
+ .trigger--filled.trigger--danger:hover { background-color: var(--color-danger-3); }
4745
+ .trigger--filled.trigger--danger:active { background-color: var(--color-danger-5); }
4746
+ .trigger--filled.trigger--success { color: var(--color-gray-0); border-color: transparent; background-color: var(--color-success-4); }
4747
+ .trigger--filled.trigger--success:hover { background-color: var(--color-success-3); }
4748
+ .trigger--filled.trigger--success:active { background-color: var(--color-success-5); }
4749
+ .trigger--filled.trigger--warning { color: var(--color-gray-8); border-color: transparent; background-color: var(--color-warning-3); }
4750
+ .trigger--filled.trigger--warning:hover { background-color: var(--color-warning-2); }
4751
+ .trigger--filled.trigger--warning:active { background-color: var(--color-warning-4); }
4752
+
4753
+ /* outlined */
4754
+ .trigger--outlined.trigger--gray9 { border-color: var(--color-gray-4); color: var(--color-gray-7); background-color: transparent; }
4755
+ .trigger--outlined.trigger--gray9:hover { background-color: var(--color-gray-3); }
4756
+ .trigger--outlined.trigger--gray9:active { background-color: var(--color-gray-4); }
4757
+ .trigger--outlined.trigger--gray0 { border-color: var(--color-gray-7); color: var(--color-gray-4); background-color: transparent; }
4758
+ .trigger--outlined.trigger--gray0:hover { background-color: var(--color-gray-7); }
4759
+ .trigger--outlined.trigger--gray0:active { background-color: var(--color-gray-3); }
4760
+ .trigger--outlined.trigger--primary { border-color: var(--color-primary-3); color: var(--color-primary-4); background-color: transparent; }
4761
+ .trigger--outlined.trigger--primary:hover { background-color: var(--color-primary-1); }
4762
+ .trigger--outlined.trigger--primary:active { background-color: var(--color-primary-2); }
4763
+ .trigger--outlined.trigger--danger { border-color: var(--color-danger-3); color: var(--color-danger-5); background-color: transparent; }
4764
+ .trigger--outlined.trigger--danger:hover { background-color: var(--color-danger-1); }
4765
+ .trigger--outlined.trigger--danger:active { background-color: var(--color-danger-2); }
4766
+ .trigger--outlined.trigger--success { border-color: var(--color-success-3); color: var(--color-success-5); background-color: transparent; }
4767
+ .trigger--outlined.trigger--success:hover { background-color: var(--color-success-1); }
4768
+ .trigger--outlined.trigger--success:active { background-color: var(--color-success-2); }
4769
+ .trigger--outlined.trigger--warning { border-color: var(--color-warning-3); color: var(--color-warning-5); background-color: transparent; }
4770
+ .trigger--outlined.trigger--warning:hover { background-color: var(--color-warning-1); }
4771
+ .trigger--outlined.trigger--warning:active { background-color: var(--color-warning-2); }
4772
+
4773
+ /* plain */
4774
+ .trigger--plain.trigger--gray9 { border-color: transparent; color: var(--color-gray-7); background-color: transparent; }
4775
+ .trigger--plain.trigger--gray9:hover { background-color: var(--color-gray-3); }
4776
+ .trigger--plain.trigger--gray9:active { background-color: var(--color-gray-4); }
4777
+ .trigger--plain.trigger--gray0 { border-color: transparent; color: var(--color-gray-4); background-color: transparent; }
4778
+ .trigger--plain.trigger--gray0:hover { background-color: var(--color-gray-7); }
4779
+ .trigger--plain.trigger--gray0:active { background-color: var(--color-gray-8); }
4780
+ .trigger--plain.trigger--primary { border-color: transparent; color: var(--color-primary-4); background-color: transparent; }
4781
+ .trigger--plain.trigger--primary:hover { background-color: var(--color-primary-1); }
4782
+ .trigger--plain.trigger--primary:active { background-color: var(--color-primary-2); }
4783
+ .trigger--plain.trigger--danger { border-color: transparent; color: var(--color-danger-5); background-color: transparent; }
4784
+ .trigger--plain.trigger--danger:hover { background-color: var(--color-danger-1); }
4785
+ .trigger--plain.trigger--danger:active { background-color: var(--color-danger-2); }
4786
+ .trigger--plain.trigger--success { border-color: transparent; color: var(--color-success-5); background-color: transparent; }
4787
+ .trigger--plain.trigger--success:hover { background-color: var(--color-success-1); }
4788
+ .trigger--plain.trigger--success:active { background-color: var(--color-success-2); }
4789
+ .trigger--plain.trigger--warning { border-color: transparent; color: var(--color-warning-5); background-color: transparent; }
4790
+ .trigger--plain.trigger--warning:hover { background-color: var(--color-warning-1); }
4791
+ .trigger--plain.trigger--warning:active { background-color: var(--color-warning-2); }
4792
+ .trigger__caret {
4793
+ position: relative;
4794
+ flex-shrink: 0;
4795
+ width: 16px;
4796
+ height: 16px;
4797
+ display: flex;
4798
+ align-items: center;
4799
+ justify-content: center;
4800
+ }
4801
+ .trigger--small { height: 24px; padding: 0 6px 0 8px; font-size: 11px; font-weight: 500; }
4802
+
4803
+ .trigger__chevron { display: flex; transition: opacity 100ms; color: var(--color-gray-7, #344054); }
4804
+ .trigger__clear {
4805
+ position: absolute;
4806
+ inset: 0;
4807
+ display: flex;
4808
+ align-items: center;
4809
+ justify-content: center;
4810
+ opacity: 0;
4811
+ transition: opacity 100ms;
4812
+ color: var(--color-gray-6, #667085);
4813
+ border-radius: 3px;
4814
+ }
4815
+ .trigger__clear:hover { color: var(--color-gray-9, #101828); background-color: var(--color-gray-3); }
4816
+ .trigger__clear:active { background-color: var(--color-gray-4); }
4817
+ .trigger__caret:hover .trigger__chevron { opacity: 0; }
4818
+ .trigger__caret:hover .trigger__clear { opacity: 1; }
4819
+
4820
+ /* ── Panel ─────────────────────────────────────────────────── */
4821
+ .panel {
4822
+ position: fixed;
4823
+ top: 0;
4824
+ left: 0;
4825
+ z-index: 200;
4826
+ visibility: hidden;
4827
+ pointer-events: none;
4828
+ }
4829
+ .panel--open { visibility: visible; pointer-events: auto; }
4830
+
4831
+ .panel__inner {
4832
+ background: #fff;
4833
+ border-radius: 8px;
4834
+ box-shadow: 0px 2px 8px 0px rgba(29, 41, 57, 0.08),
4835
+ 0px 8px 24px 0px rgba(29, 41, 57, 0.12);
4836
+ min-width: 200px;
4837
+ display: flex;
4838
+ flex-direction: column;
4839
+ overflow: hidden;
4840
+ opacity: 0;
4841
+ transform: scale(0.97) translateY(-4px);
4842
+ transform-origin: top left;
4843
+ transition: opacity 150ms ease, transform 150ms ease;
4844
+ }
4845
+ .panel--open .panel__inner {
4846
+ opacity: 1;
4847
+ transform: scale(1) translateY(0);
4848
+ }
4849
+
4850
+ /* ── Search ────────────────────────────────────────────────── */
4851
+ .search-wrap { padding: 8px 8px 4px; }
4852
+ .search-wrap anduin-input { display: block; }
4853
+
4854
+ /* ── Options ───────────────────────────────────────────────── */
4855
+ .options {
4856
+ overflow-y: auto;
4857
+ max-height: 280px;
4858
+ padding: 4px 8px 8px;
4859
+ }
4860
+ .option {
4861
+ display: flex;
4862
+ align-items: center;
4863
+ gap: 8px;
4864
+ padding: 8px;
4865
+ border-radius: 4px;
4866
+ cursor: pointer;
4867
+ font-size: 13px;
4868
+ line-height: 20px;
4869
+ color: var(--color-gray-9, #101828);
4870
+ user-select: none;
4871
+ }
4872
+ .option:hover { background: var(--color-gray-2, #f2f4f7); }
4873
+ .option:active { background: var(--color-gray-3, #e4e7ec); }
4874
+ .option__check { flex-shrink: 0; width: 16px; display: flex; align-items: center; color: var(--color-gray-7, #344054); }
4875
+ .option__label { flex: 1; min-width: 0; }
4876
+
4877
+ .empty {
4878
+ padding: 12px 16px;
4879
+ font-size: 13px;
4880
+ color: var(--color-gray-5, #98a1b2);
4881
+ text-align: center;
4882
+ }
4883
+ `;
4884
+ let V = c5;
4885
+ b([
4886
+ n()
4887
+ ], V.prototype, "value");
4888
+ b([
4889
+ n()
4890
+ ], V.prototype, "placeholder");
4891
+ b([
4892
+ n({ attribute: !1 })
4893
+ ], V.prototype, "options");
4894
+ b([
4895
+ n()
4896
+ ], V.prototype, "icon");
4897
+ b([
4898
+ n({ type: Boolean })
4899
+ ], V.prototype, "searchable");
4900
+ b([
4901
+ n({ type: Boolean })
4902
+ ], V.prototype, "disabled");
4903
+ b([
4904
+ n()
4905
+ ], V.prototype, "placement");
4906
+ b([
4907
+ n()
4908
+ ], V.prototype, "appearance");
4909
+ b([
4910
+ n()
4911
+ ], V.prototype, "variant");
4912
+ b([
4913
+ n()
4914
+ ], V.prototype, "size");
4915
+ b([
4916
+ n({ type: Boolean, attribute: "full-width" })
4917
+ ], V.prototype, "fullWidth");
4918
+ b([
4919
+ y()
4920
+ ], V.prototype, "_open");
4921
+ b([
4922
+ y()
4923
+ ], V.prototype, "_query");
4924
+ b([
4925
+ w(".trigger")
4926
+ ], V.prototype, "_triggerEl");
4927
+ b([
4928
+ w(".panel")
4929
+ ], V.prototype, "_panelEl");
4930
+ b([
4931
+ w("anduin-input")
4932
+ ], V.prototype, "_searchEl");
4933
+ customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", V);
4934
+ var E3 = Object.defineProperty, U = (l, e, t, i) => {
4935
+ for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
4936
+ (C = l[r]) && (o = C(e, t, o) || o);
4937
+ return o && E3(e, t, o), o;
4938
+ };
4939
+ const v2 = "anduin-close", A3 = "anduin-after-close", B3 = 300, A5 = 250, z3 = /* @__PURE__ */ new Map([
4940
+ ["320", 320],
4941
+ ["360", 360],
4942
+ ["400", 400],
4943
+ ["640", 640]
4944
+ ]), p5 = class p5 extends u {
4945
+ constructor() {
4946
+ super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.defaultWidth = "320", this.allowInteractOutside = !1, this._leaving = !1, this._width = 320, this._resizing = !1, this._startX = 0, this._startWidth = 0, this._onResizeStart = (e) => {
4947
+ this._resizing = !0, this._startX = e.clientX, this._startWidth = this._width, e.currentTarget.setPointerCapture(e.pointerId), e.preventDefault();
4948
+ }, this._onResizeMove = (e) => {
4949
+ var r;
4950
+ if (!this._resizing) return;
4951
+ const t = this._startX - e.clientX, i = Math.max(200, Math.min(window.innerWidth * 0.9, this._startWidth + t));
4952
+ this._width = Math.round(i);
4953
+ const o = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".drawer");
4954
+ o && (o.style.width = `${this._width}px`);
4955
+ }, this._onResizeEnd = () => {
4956
+ this._resizing = !1;
4957
+ };
4958
+ }
4959
+ willUpdate(e) {
4960
+ e.has("defaultWidth") && (this._width = z3.get(this.defaultWidth) ?? (parseInt(this.defaultWidth) || 320));
4961
+ }
4962
+ updated(e) {
4963
+ e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(() => {
4964
+ this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(new CustomEvent(A3, { bubbles: !0, composed: !0 }));
4965
+ }, A5)));
4966
+ }
4967
+ _dispatch(e) {
4968
+ this.dispatchEvent(new CustomEvent(e, { bubbles: !0, composed: !0 }));
4969
+ }
4970
+ _onClose() {
4971
+ this._dispatch(v2);
4972
+ }
4973
+ _onBackdropClick() {
4974
+ this._dispatch(v2);
4975
+ }
4976
+ render() {
4977
+ const e = this._leaving;
4978
+ return s`
4979
+ ${this.allowInteractOutside ? c : s`<div class="backdrop" @click=${this._onBackdropClick}></div>`}
4980
+ <div
4981
+ class=${`drawer${e ? " is-leaving" : ""}`}
4982
+ style="width: ${this._width}px"
4983
+ role="dialog"
4984
+ aria-modal="true"
4985
+ aria-labelledby="drawer-title"
4986
+ >
4987
+ <div
4988
+ class="resize-handle"
4989
+ @pointerdown=${this._onResizeStart}
4990
+ @pointermove=${this._onResizeMove}
4991
+ @pointerup=${this._onResizeEnd}
4992
+ @pointercancel=${this._onResizeEnd}
4993
+ ></div>
4994
+ ${this.hideHeader ? c : s`
4995
+ <div class="header">
4996
+ <slot name="header">
4997
+ ${this.heading ? s`<span id="drawer-title" class="title">${this.heading}</span>` : c}
4998
+ </slot>
4999
+ <anduin-button
5000
+ appearance="plain"
5001
+ variant="gray9"
5002
+ size="medium"
5003
+ label="Close"
5004
+ start-icon="cross"
5005
+ @click=${this._onClose}
5006
+ ></anduin-button>
5007
+ </div>`}
5008
+ <div class="body">
5009
+ <slot></slot>
5010
+ </div>
5011
+ ${this.hideFooter ? c : s`<div class="footer"><slot name="footer"></slot></div>`}
5012
+ </div>
5013
+ `;
5014
+ }
5015
+ };
5016
+ p5.styles = h`
5017
+ :host {
5018
+ display: none;
5019
+ font-family: var(--font-sans);
5020
+ }
5021
+ :host(.is-shown) {
5022
+ display: block;
5023
+ position: fixed;
5024
+ inset: 0;
5025
+ z-index: var(--z-modal, 1000);
5026
+ /* Host itself is transparent to pointer events — only drawer panel catches clicks */
5027
+ pointer-events: none;
5028
+ }
5029
+ @keyframes drawerIn {
5030
+ from { transform: translateX(100%); }
5031
+ to { transform: translateX(0); }
5032
+ }
5033
+ @keyframes drawerOut {
5034
+ from { transform: translateX(0); }
5035
+ to { transform: translateX(100%); }
5036
+ }
5037
+ /* Transparent backdrop — only rendered when dismiss-on-outside-click is set */
5038
+ .backdrop {
5039
+ position: absolute;
5040
+ inset: 0;
5041
+ pointer-events: auto;
5042
+ background: transparent;
5043
+ }
5044
+ .drawer {
5045
+ position: absolute;
5046
+ top: 0;
5047
+ right: 0;
5048
+ bottom: 0;
5049
+ display: flex;
5050
+ flex-direction: column;
5051
+ background: #fff;
5052
+ box-shadow: -8px 0 24px 0 rgba(29, 41, 57, 0.12), -2px 0 8px 0 rgba(29, 41, 57, 0.08);
5053
+ animation: drawerIn ${B3}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
5054
+ min-width: 200px;
5055
+ max-width: 90vw;
5056
+ pointer-events: auto;
5057
+ }
5058
+ .drawer.is-leaving {
5059
+ animation: drawerOut ${A5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
5060
+ }
5061
+ @media (max-width: 640px) {
5062
+ .drawer {
5063
+ top: 0;
5064
+ left: 0;
5065
+ right: 0;
5066
+ bottom: 0;
5067
+ width: 100% !important;
5068
+ max-width: 100%;
5069
+ min-width: unset;
5070
+ }
5071
+ .resize-handle { display: none; }
5072
+ }
5073
+ .resize-handle {
5074
+ position: absolute;
5075
+ left: 0;
5076
+ top: 0;
5077
+ bottom: 0;
5078
+ width: 4px;
5079
+ cursor: col-resize;
5080
+ z-index: 1;
5081
+ transition: background 150ms;
5082
+ }
5083
+ .resize-handle:hover {
5084
+ background: var(--color-primary-3, #84caff);
5085
+ }
5086
+ .header {
5087
+ flex-shrink: 0;
5088
+ display: flex;
5089
+ align-items: center;
5090
+ gap: 8px;
5091
+ padding: 12px 12px 12px 16px;
5092
+ border-bottom: 1px solid var(--color-gray-3, #e4e7ec);
5093
+ }
5094
+ .title {
5095
+ flex: 1;
5096
+ font-size: 16px;
5097
+ font-weight: 590;
5098
+ line-height: 24px;
5099
+ color: #323c4d;
5100
+ letter-spacing: -0.2px;
5101
+ font-family: var(--font-sans);
5102
+ margin: 0;
5103
+ }
5104
+ .body {
5105
+ flex: 1;
5106
+ overflow-y: auto;
5107
+ min-height: 0;
5108
+ padding: 16px;
5109
+ }
5110
+ .footer {
5111
+ flex-shrink: 0;
5112
+ display: flex;
5113
+ align-items: center;
5114
+ justify-content: flex-end;
5115
+ gap: 8px;
5116
+ padding: 16px 20px;
5117
+ border-top: 1px solid var(--color-gray-3, #e4e7ec);
5118
+ }
5119
+ `;
5120
+ let R = p5;
5121
+ U([
5122
+ n({ type: Boolean, reflect: !0 })
5123
+ ], R.prototype, "open");
5124
+ U([
5125
+ n()
5126
+ ], R.prototype, "heading");
5127
+ U([
5128
+ n({ type: Boolean, attribute: "hide-header" })
5129
+ ], R.prototype, "hideHeader");
5130
+ U([
5131
+ n({ type: Boolean, attribute: "hide-footer" })
5132
+ ], R.prototype, "hideFooter");
5133
+ U([
5134
+ n({ attribute: "default-width" })
5135
+ ], R.prototype, "defaultWidth");
5136
+ U([
5137
+ n({ type: Boolean, attribute: "allow-interact-outside" })
5138
+ ], R.prototype, "allowInteractOutside");
5139
+ U([
5140
+ y()
5141
+ ], R.prototype, "_leaving");
5142
+ U([
5143
+ y()
5144
+ ], R.prototype, "_width");
5145
+ customElements.get("anduin-drawer") || customElements.define("anduin-drawer", R);
5146
+ class F3 extends HTMLElement {
5147
+ constructor() {
5148
+ super(...arguments), this._onClick = () => {
5149
+ this.dispatchEvent(new CustomEvent(v2, { bubbles: !0, composed: !0 }));
5150
+ };
5151
+ }
5152
+ connectedCallback() {
5153
+ this.style.display = "contents", this.addEventListener("click", this._onClick);
5154
+ }
5155
+ disconnectedCallback() {
5156
+ this.removeEventListener("click", this._onClick);
5157
+ }
4458
5158
  }
5159
+ customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", F3);
4459
5160
  export {
4460
- P4 as $,
4461
- _ as A,
4462
- u1 as B,
4463
- L1 as C,
4464
- w as D,
4465
- Q as E,
4466
- g1 as F,
4467
- e1 as G,
4468
- e2 as H,
4469
- Z as I,
4470
- P as J,
4471
- m1 as K,
4472
- b1 as L,
4473
- C2 as M,
4474
- o2 as N,
4475
- O1 as O,
4476
- i2 as P,
4477
- E5 as Q,
4478
- $4 as R,
4479
- P5 as S,
4480
- y1 as T,
4481
- s3 as U,
4482
- v5 as V,
4483
- A4 as W,
4484
- r2 as X,
4485
- l2 as Y,
4486
- a2 as Z,
4487
- t3 as _,
4488
- F1 as a,
4489
- D5 as a0,
4490
- T1 as a1,
4491
- S4 as a2,
4492
- F4 as a3,
4493
- T5 as a4,
4494
- N5 as a5,
4495
- f2 as a6,
4496
- O5 as a7,
4497
- I5 as a8,
4498
- j5 as a9,
4499
- Y4 as aa,
4500
- A5 as ab,
4501
- c3 as ac,
4502
- g3 as ad,
4503
- r1 as ae,
4504
- H1 as b,
4505
- V as c,
4506
- z1 as d,
4507
- z as e,
4508
- v1 as f,
4509
- P1 as g,
4510
- S1 as h,
4511
- K1 as i,
4512
- J1 as j,
4513
- Q1 as k,
4514
- V1 as l,
4515
- M1 as m,
4516
- h1 as n,
4517
- b as o,
4518
- D1 as p,
4519
- q,
4520
- t1 as r,
4521
- J4 as s,
4522
- Q4 as t,
4523
- k as u,
4524
- n2 as v,
4525
- f1 as w,
4526
- $ as x,
4527
- o1 as y,
4528
- R as z
5161
+ m3 as $,
5162
+ E as A,
5163
+ F as B,
5164
+ s1 as C,
5165
+ A as D,
5166
+ V1 as E,
5167
+ k1 as F,
5168
+ _1 as G,
5169
+ B as H,
5170
+ C1 as I,
5171
+ y1 as J,
5172
+ n1 as K,
5173
+ r2 as L,
5174
+ x as M,
5175
+ T as N,
5176
+ w1 as O,
5177
+ x1 as P,
5178
+ a2 as Q,
5179
+ n2 as R,
5180
+ U1 as S,
5181
+ s2 as T,
5182
+ N5 as U,
5183
+ N4 as V,
5184
+ A3 as W,
5185
+ v2 as X,
5186
+ E5 as Y,
5187
+ G5 as Z,
5188
+ E1 as _,
5189
+ D1 as a,
5190
+ y5 as a0,
5191
+ U4 as a1,
5192
+ p2 as a2,
5193
+ d3 as a3,
5194
+ u1 as a4,
5195
+ d2 as a5,
5196
+ u2 as a6,
5197
+ h3 as a7,
5198
+ k3 as a8,
5199
+ Y4 as a9,
5200
+ Y5 as aa,
5201
+ W1 as ab,
5202
+ K4 as ac,
5203
+ W4 as ad,
5204
+ Q5 as ae,
5205
+ e4 as af,
5206
+ M2 as ag,
5207
+ K5 as ah,
5208
+ J5 as ai,
5209
+ t4 as aj,
5210
+ C3 as ak,
5211
+ j5 as al,
5212
+ Z3 as am,
5213
+ D3 as an,
5214
+ b1 as b,
5215
+ L as c,
5216
+ I1 as d,
5217
+ I as e,
5218
+ m1 as f,
5219
+ T1 as g,
5220
+ R as h,
5221
+ F3 as i,
5222
+ V as j,
5223
+ j1 as k,
5224
+ o2 as l,
5225
+ i2 as m,
5226
+ l2 as n,
5227
+ Z1 as o,
5228
+ R1 as p,
5229
+ L1 as q,
5230
+ Z as r,
5231
+ N1 as s,
5232
+ J as t,
5233
+ a1 as u,
5234
+ c3 as v,
5235
+ p3 as w,
5236
+ z as x,
5237
+ c2 as y,
5238
+ M1 as z
4529
5239
  };