@duyluonganduin/acl-web-components 0.0.8 → 0.0.10

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.
@@ -1,21 +1,21 @@
1
- const b5 = ':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';
1
+ const S5 = ':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const H1 = globalThis, U1 = H1.ShadowRoot && (H1.ShadyCSS === void 0 || H1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, j1 = Symbol(), A2 = /* @__PURE__ */ new WeakMap();
8
- let X2 = class {
7
+ const m1 = globalThis, Q1 = m1.ShadowRoot && (m1.ShadyCSS === void 0 || m1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, e2 = Symbol(), q2 = /* @__PURE__ */ new WeakMap();
8
+ let p5 = class {
9
9
  constructor(e, t, o) {
10
- if (this._$cssResult$ = !0, o !== j1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
+ if (this._$cssResult$ = !0, o !== e2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
11
  this.cssText = e, this.t = t;
12
12
  }
13
13
  get styleSheet() {
14
14
  let e = this.o;
15
15
  const t = this.t;
16
- if (U1 && e === void 0) {
16
+ if (Q1 && e === void 0) {
17
17
  const o = t !== void 0 && t.length === 1;
18
- o && (e = A2.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && A2.set(t, e));
18
+ o && (e = q2.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && q2.set(t, e));
19
19
  }
20
20
  return e;
21
21
  }
@@ -23,33 +23,33 @@ let X2 = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const m5 = (l) => new X2(typeof l == "string" ? l : l + "", void 0, j1), H = (l, ...e) => {
26
+ const D5 = (l) => new p5(typeof l == "string" ? l : l + "", void 0, e2), H = (l, ...e) => {
27
27
  const t = l.length === 1 ? l[0] : e.reduce((o, C, i) => o + ((n) => {
28
28
  if (n._$cssResult$ === !0) return n.cssText;
29
29
  if (typeof n == "number") return n;
30
30
  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.");
31
31
  })(C) + l[i + 1], l[0]);
32
- return new X2(t, l, j1);
33
- }, y5 = (l, e) => {
34
- if (U1) l.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
32
+ return new p5(t, l, e2);
33
+ }, O5 = (l, e) => {
34
+ if (Q1) l.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
35
35
  else for (const t of e) {
36
- const o = document.createElement("style"), C = H1.litNonce;
36
+ const o = document.createElement("style"), C = m1.litNonce;
37
37
  C !== void 0 && o.setAttribute("nonce", C), o.textContent = t.cssText, l.appendChild(o);
38
38
  }
39
- }, B2 = U1 ? (l) => l : (l) => l instanceof CSSStyleSheet ? ((e) => {
39
+ }, G2 = Q1 ? (l) => l : (l) => l instanceof CSSStyleSheet ? ((e) => {
40
40
  let t = "";
41
41
  for (const o of e.cssRules) t += o.cssText;
42
- return m5(t);
42
+ return D5(t);
43
43
  })(l) : l;
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2017 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const { is: R5, defineProperty: x5, getOwnPropertyDescriptor: _5, getOwnPropertyNames: w5, getOwnPropertySymbols: k5, getPrototypeOf: $5 } = Object, w = globalThis, F2 = w.trustedTypes, E5 = F2 ? F2.emptyScript : "", _1 = w.reactiveElementPolyfillSupport, K = (l, e) => l, v1 = { toAttribute(l, e) {
49
+ const { is: I5, defineProperty: T5, getOwnPropertyDescriptor: N5, getOwnPropertyNames: j5, getOwnPropertySymbols: U5, getPrototypeOf: q5 } = Object, E = globalThis, Y2 = E.trustedTypes, G5 = Y2 ? Y2.emptyScript : "", A1 = E.reactiveElementPolyfillSupport, o1 = (l, e) => l, M1 = { toAttribute(l, e) {
50
50
  switch (e) {
51
51
  case Boolean:
52
- l = l ? E5 : null;
52
+ l = l ? G5 : null;
53
53
  break;
54
54
  case Object:
55
55
  case Array:
@@ -74,23 +74,23 @@ const { is: R5, defineProperty: x5, getOwnPropertyDescriptor: _5, getOwnProperty
74
74
  }
75
75
  }
76
76
  return t;
77
- } }, q1 = (l, e) => !R5(l, e), z2 = { attribute: !0, type: String, converter: v1, reflect: !1, useDefault: !1, hasChanged: q1 };
78
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
79
- let T = class extends HTMLElement {
77
+ } }, t2 = (l, e) => !I5(l, e), W2 = { attribute: !0, type: String, converter: M1, reflect: !1, useDefault: !1, hasChanged: t2 };
78
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), E.litPropertyMetadata ?? (E.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
79
+ let W = class extends HTMLElement {
80
80
  static addInitializer(e) {
81
81
  this._$Ei(), (this.l ?? (this.l = [])).push(e);
82
82
  }
83
83
  static get observedAttributes() {
84
84
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
85
85
  }
86
- static createProperty(e, t = z2) {
86
+ static createProperty(e, t = W2) {
87
87
  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) {
88
88
  const o = Symbol(), C = this.getPropertyDescriptor(e, o, t);
89
- C !== void 0 && x5(this.prototype, e, C);
89
+ C !== void 0 && T5(this.prototype, e, C);
90
90
  }
91
91
  }
92
92
  static getPropertyDescriptor(e, t, o) {
93
- const { get: C, set: i } = _5(this.prototype, e) ?? { get() {
93
+ const { get: C, set: i } = N5(this.prototype, e) ?? { get() {
94
94
  return this[t];
95
95
  }, set(n) {
96
96
  this[t] = n;
@@ -101,17 +101,17 @@ let T = class extends HTMLElement {
101
101
  }, configurable: !0, enumerable: !0 };
102
102
  }
103
103
  static getPropertyOptions(e) {
104
- return this.elementProperties.get(e) ?? z2;
104
+ return this.elementProperties.get(e) ?? W2;
105
105
  }
106
106
  static _$Ei() {
107
- if (this.hasOwnProperty(K("elementProperties"))) return;
108
- const e = $5(this);
107
+ if (this.hasOwnProperty(o1("elementProperties"))) return;
108
+ const e = q5(this);
109
109
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
110
110
  }
111
111
  static finalize() {
112
- if (this.hasOwnProperty(K("finalized"))) return;
113
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(K("properties"))) {
114
- const t = this.properties, o = [...w5(t), ...k5(t)];
112
+ if (this.hasOwnProperty(o1("finalized"))) return;
113
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(o1("properties"))) {
114
+ const t = this.properties, o = [...j5(t), ...U5(t)];
115
115
  for (const C of o) this.createProperty(C, t[C]);
116
116
  }
117
117
  const e = this[Symbol.metadata];
@@ -130,8 +130,8 @@ let T = class extends HTMLElement {
130
130
  const t = [];
131
131
  if (Array.isArray(e)) {
132
132
  const o = new Set(e.flat(1 / 0).reverse());
133
- for (const C of o) t.unshift(B2(C));
134
- } else e !== void 0 && t.push(B2(e));
133
+ for (const C of o) t.unshift(G2(C));
134
+ } else e !== void 0 && t.push(G2(e));
135
135
  return t;
136
136
  }
137
137
  static _$Eu(e, t) {
@@ -160,7 +160,7 @@ let T = class extends HTMLElement {
160
160
  }
161
161
  createRenderRoot() {
162
162
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
163
- return y5(e, this.constructor.elementStyles), e;
163
+ return O5(e, this.constructor.elementStyles), e;
164
164
  }
165
165
  connectedCallback() {
166
166
  var e;
@@ -185,7 +185,7 @@ let T = class extends HTMLElement {
185
185
  var i;
186
186
  const o = this.constructor.elementProperties.get(e), C = this.constructor._$Eu(e, o);
187
187
  if (C !== void 0 && o.reflect === !0) {
188
- const n = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter : v1).toAttribute(t, o.type);
188
+ const n = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter : M1).toAttribute(t, o.type);
189
189
  this._$Em = e, n == null ? this.removeAttribute(C) : this.setAttribute(C, n), this._$Em = null;
190
190
  }
191
191
  }
@@ -193,7 +193,7 @@ let T = class extends HTMLElement {
193
193
  var i, n;
194
194
  const o = this.constructor, C = o._$Eh.get(e);
195
195
  if (C !== void 0 && this._$Em !== C) {
196
- const a = o.getPropertyOptions(C), s = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : v1;
196
+ const a = o.getPropertyOptions(C), s = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : M1;
197
197
  this._$Em = C;
198
198
  const c = s.fromAttribute(t, a.type);
199
199
  this[C] = c ?? ((n = this._$Ej) == null ? void 0 : n.get(C)) ?? c, this._$Em = null;
@@ -203,7 +203,7 @@ let T = class extends HTMLElement {
203
203
  var n;
204
204
  if (e !== void 0) {
205
205
  const a = this.constructor;
206
- if (C === !1 && (i = this[e]), o ?? (o = a.getPropertyOptions(e)), !((o.hasChanged ?? q1)(i, t) || o.useDefault && o.reflect && i === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(a._$Eu(e, o)))) return;
206
+ if (C === !1 && (i = this[e]), o ?? (o = a.getPropertyOptions(e)), !((o.hasChanged ?? t2)(i, t) || o.useDefault && o.reflect && i === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(a._$Eu(e, o)))) return;
207
207
  this.C(e, t, o);
208
208
  }
209
209
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -279,76 +279,76 @@ let T = class extends HTMLElement {
279
279
  firstUpdated(e) {
280
280
  }
281
281
  };
282
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[K("elementProperties")] = /* @__PURE__ */ new Map(), T[K("finalized")] = /* @__PURE__ */ new Map(), _1 == null || _1({ ReactiveElement: T }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.1.2");
282
+ W.elementStyles = [], W.shadowRootOptions = { mode: "open" }, W[o1("elementProperties")] = /* @__PURE__ */ new Map(), W[o1("finalized")] = /* @__PURE__ */ new Map(), A1 == null || A1({ ReactiveElement: W }), (E.reactiveElementVersions ?? (E.reactiveElementVersions = [])).push("2.1.2");
283
283
  /**
284
284
  * @license
285
285
  * Copyright 2017 Google LLC
286
286
  * SPDX-License-Identifier: BSD-3-Clause
287
287
  */
288
- const X = globalThis, P2 = (l) => l, V1 = X.trustedTypes, S2 = V1 ? V1.createPolicy("lit-html", { createHTML: (l) => l }) : void 0, J2 = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, Q2 = "?" + _, A5 = `<${Q2}>`, z = document, J = () => z.createComment(""), Q = (l) => l === null || typeof l != "object" && typeof l != "function", G1 = Array.isArray, B5 = (l) => G1(l) || typeof (l == null ? void 0 : l[Symbol.iterator]) == "function", w1 = `[
289
- \f\r]`, W = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, D2 = /-->/g, O2 = />/g, A = RegExp(`>|${w1}(?:([^\\s"'>=/]+)(${w1}*=${w1}*(?:[^
290
- \f\r"'\`<>=]|("|')|))|$)`, "g"), I2 = /'/g, T2 = /"/g, e5 = /^(?:script|style|textarea|title)$/i, t5 = (l) => (e, ...t) => ({ _$litType$: l, strings: e, values: t }), d = t5(1), E1 = t5(2), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), N2 = /* @__PURE__ */ new WeakMap(), B = z.createTreeWalker(z, 129);
291
- function C5(l, e) {
292
- if (!G1(l) || !l.hasOwnProperty("raw")) throw Error("invalid template strings array");
293
- return S2 !== void 0 ? S2.createHTML(e) : e;
288
+ const l1 = globalThis, X2 = (l) => l, b1 = l1.trustedTypes, K2 = b1 ? b1.createPolicy("lit-html", { createHTML: (l) => l }) : void 0, u5 = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, h5 = "?" + $, Y5 = `<${h5}>`, T = document, i1 = () => T.createComment(""), n1 = (l) => l === null || typeof l != "object" && typeof l != "function", C2 = Array.isArray, W5 = (l) => C2(l) || typeof (l == null ? void 0 : l[Symbol.iterator]) == "function", B1 = `[
289
+ \f\r]`, C1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, J2 = /-->/g, Q2 = />/g, D = RegExp(`>|${B1}(?:([^\\s"'>=/]+)(${B1}*=${B1}*(?:[^
290
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), e5 = /'/g, t5 = /"/g, H5 = /^(?:script|style|textarea|title)$/i, v5 = (l) => (e, ...t) => ({ _$litType$: l, strings: e, values: t }), d = v5(1), D1 = v5(2), N = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), C5 = /* @__PURE__ */ new WeakMap(), O = T.createTreeWalker(T, 129);
291
+ function f5(l, e) {
292
+ if (!C2(l) || !l.hasOwnProperty("raw")) throw Error("invalid template strings array");
293
+ return K2 !== void 0 ? K2.createHTML(e) : e;
294
294
  }
295
- const F5 = (l, e) => {
295
+ const X5 = (l, e) => {
296
296
  const t = l.length - 1, o = [];
297
- let C, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = W;
297
+ let C, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = C1;
298
298
  for (let a = 0; a < t; a++) {
299
299
  const s = l[a];
300
- let c, p, v = -1, Z = 0;
301
- for (; Z < s.length && (n.lastIndex = Z, p = n.exec(s), p !== null); ) Z = n.lastIndex, n === W ? p[1] === "!--" ? n = D2 : p[1] !== void 0 ? n = O2 : p[2] !== void 0 ? (e5.test(p[2]) && (C = RegExp("</" + p[2], "g")), n = A) : p[3] !== void 0 && (n = A) : n === A ? p[0] === ">" ? (n = C ?? W, v = -1) : p[1] === void 0 ? v = -2 : (v = n.lastIndex - p[2].length, c = p[1], n = p[3] === void 0 ? A : p[3] === '"' ? T2 : I2) : n === T2 || n === I2 ? n = A : n === D2 || n === O2 ? n = W : (n = A, C = void 0);
302
- const V = n === A && l[a + 1].startsWith("/>") ? " " : "";
303
- i += n === W ? s + A5 : v >= 0 ? (o.push(c), s.slice(0, v) + J2 + s.slice(v) + _ + V) : s + _ + (v === -2 ? a : V);
300
+ let c, h, v = -1, M = 0;
301
+ for (; M < s.length && (n.lastIndex = M, h = n.exec(s), h !== null); ) M = n.lastIndex, n === C1 ? h[1] === "!--" ? n = J2 : h[1] !== void 0 ? n = Q2 : h[2] !== void 0 ? (H5.test(h[2]) && (C = RegExp("</" + h[2], "g")), n = D) : h[3] !== void 0 && (n = D) : n === D ? h[0] === ">" ? (n = C ?? C1, v = -1) : h[1] === void 0 ? v = -2 : (v = n.lastIndex - h[2].length, c = h[1], n = h[3] === void 0 ? D : h[3] === '"' ? t5 : e5) : n === t5 || n === e5 ? n = D : n === J2 || n === Q2 ? n = C1 : (n = D, C = void 0);
302
+ const f = n === D && l[a + 1].startsWith("/>") ? " " : "";
303
+ i += n === C1 ? s + Y5 : v >= 0 ? (o.push(c), s.slice(0, v) + u5 + s.slice(v) + $ + f) : s + $ + (v === -2 ? a : f);
304
304
  }
305
- return [C5(l, i + (l[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
305
+ return [f5(l, i + (l[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
306
306
  };
307
- class e1 {
307
+ class r1 {
308
308
  constructor({ strings: e, _$litType$: t }, o) {
309
309
  let C;
310
310
  this.parts = [];
311
311
  let i = 0, n = 0;
312
- const a = e.length - 1, s = this.parts, [c, p] = F5(e, t);
313
- if (this.el = e1.createElement(c, o), B.currentNode = this.el.content, t === 2 || t === 3) {
312
+ const a = e.length - 1, s = this.parts, [c, h] = X5(e, t);
313
+ if (this.el = r1.createElement(c, o), O.currentNode = this.el.content, t === 2 || t === 3) {
314
314
  const v = this.el.content.firstChild;
315
315
  v.replaceWith(...v.childNodes);
316
316
  }
317
- for (; (C = B.nextNode()) !== null && s.length < a; ) {
317
+ for (; (C = O.nextNode()) !== null && s.length < a; ) {
318
318
  if (C.nodeType === 1) {
319
- if (C.hasAttributes()) for (const v of C.getAttributeNames()) if (v.endsWith(J2)) {
320
- const Z = p[n++], V = C.getAttribute(v).split(_), b = /([.?@])?(.*)/.exec(Z);
321
- s.push({ type: 1, index: i, name: b[2], strings: V, ctor: b[1] === "." ? P5 : b[1] === "?" ? S5 : b[1] === "@" ? D5 : m1 }), C.removeAttribute(v);
322
- } else v.startsWith(_) && (s.push({ type: 6, index: i }), C.removeAttribute(v));
323
- if (e5.test(C.tagName)) {
324
- const v = C.textContent.split(_), Z = v.length - 1;
325
- if (Z > 0) {
326
- C.textContent = V1 ? V1.emptyScript : "";
327
- for (let V = 0; V < Z; V++) C.append(v[V], J()), B.nextNode(), s.push({ type: 2, index: ++i });
328
- C.append(v[Z], J());
319
+ if (C.hasAttributes()) for (const v of C.getAttributeNames()) if (v.endsWith(u5)) {
320
+ const M = h[n++], f = C.getAttribute(v).split($), b = /([.?@])?(.*)/.exec(M);
321
+ s.push({ type: 1, index: i, name: b[2], strings: f, ctor: b[1] === "." ? J5 : b[1] === "?" ? Q5 : b[1] === "@" ? e4 : k1 }), C.removeAttribute(v);
322
+ } else v.startsWith($) && (s.push({ type: 6, index: i }), C.removeAttribute(v));
323
+ if (H5.test(C.tagName)) {
324
+ const v = C.textContent.split($), M = v.length - 1;
325
+ if (M > 0) {
326
+ C.textContent = b1 ? b1.emptyScript : "";
327
+ for (let f = 0; f < M; f++) C.append(v[f], i1()), O.nextNode(), s.push({ type: 2, index: ++i });
328
+ C.append(v[M], i1());
329
329
  }
330
330
  }
331
- } else if (C.nodeType === 8) if (C.data === Q2) s.push({ type: 2, index: i });
331
+ } else if (C.nodeType === 8) if (C.data === h5) s.push({ type: 2, index: i });
332
332
  else {
333
333
  let v = -1;
334
- for (; (v = C.data.indexOf(_, v + 1)) !== -1; ) s.push({ type: 7, index: i }), v += _.length - 1;
334
+ for (; (v = C.data.indexOf($, v + 1)) !== -1; ) s.push({ type: 7, index: i }), v += $.length - 1;
335
335
  }
336
336
  i++;
337
337
  }
338
338
  }
339
339
  static createElement(e, t) {
340
- const o = z.createElement("template");
340
+ const o = T.createElement("template");
341
341
  return o.innerHTML = e, o;
342
342
  }
343
343
  }
344
- function N(l, e, t = l, o) {
344
+ function X(l, e, t = l, o) {
345
345
  var n, a;
346
- if (e === P) return e;
346
+ if (e === N) return e;
347
347
  let C = o !== void 0 ? (n = t._$Co) == null ? void 0 : n[o] : t._$Cl;
348
- const i = Q(e) ? void 0 : e._$litDirective$;
349
- return (C == null ? void 0 : C.constructor) !== i && ((a = C == null ? void 0 : C._$AO) == null || a.call(C, !1), i === void 0 ? C = void 0 : (C = new i(l), C._$AT(l, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = C : t._$Cl = C), C !== void 0 && (e = N(l, C._$AS(l, e.values), C, o)), e;
348
+ const i = n1(e) ? void 0 : e._$litDirective$;
349
+ return (C == null ? void 0 : C.constructor) !== i && ((a = C == null ? void 0 : C._$AO) == null || a.call(C, !1), i === void 0 ? C = void 0 : (C = new i(l), C._$AT(l, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = C : t._$Cl = C), C !== void 0 && (e = X(l, C._$AS(l, e.values), C, o)), e;
350
350
  }
351
- class z5 {
351
+ class K5 {
352
352
  constructor(e, t) {
353
353
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
354
354
  }
@@ -359,30 +359,30 @@ class z5 {
359
359
  return this._$AM._$AU;
360
360
  }
361
361
  u(e) {
362
- const { el: { content: t }, parts: o } = this._$AD, C = ((e == null ? void 0 : e.creationScope) ?? z).importNode(t, !0);
363
- B.currentNode = C;
364
- let i = B.nextNode(), n = 0, a = 0, s = o[0];
362
+ const { el: { content: t }, parts: o } = this._$AD, C = ((e == null ? void 0 : e.creationScope) ?? T).importNode(t, !0);
363
+ O.currentNode = C;
364
+ let i = O.nextNode(), n = 0, a = 0, s = o[0];
365
365
  for (; s !== void 0; ) {
366
366
  if (n === s.index) {
367
367
  let c;
368
- s.type === 2 ? c = new c1(i, i.nextSibling, this, e) : s.type === 1 ? c = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (c = new O5(i, this, e)), this._$AV.push(c), s = o[++a];
368
+ s.type === 2 ? c = new g1(i, i.nextSibling, this, e) : s.type === 1 ? c = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (c = new t4(i, this, e)), this._$AV.push(c), s = o[++a];
369
369
  }
370
- n !== (s == null ? void 0 : s.index) && (i = B.nextNode(), n++);
370
+ n !== (s == null ? void 0 : s.index) && (i = O.nextNode(), n++);
371
371
  }
372
- return B.currentNode = z, C;
372
+ return O.currentNode = T, C;
373
373
  }
374
374
  p(e) {
375
375
  let t = 0;
376
376
  for (const o of this._$AV) o !== void 0 && (o.strings !== void 0 ? (o._$AI(e, o, t), t += o.strings.length - 2) : o._$AI(e[t])), t++;
377
377
  }
378
378
  }
379
- class c1 {
379
+ class g1 {
380
380
  get _$AU() {
381
381
  var e;
382
382
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
383
383
  }
384
384
  constructor(e, t, o, C) {
385
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = o, this.options = C, this._$Cv = (C == null ? void 0 : C.isConnected) ?? !0;
385
+ this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = o, this.options = C, this._$Cv = (C == null ? void 0 : C.isConnected) ?? !0;
386
386
  }
387
387
  get parentNode() {
388
388
  let e = this._$AA.parentNode;
@@ -396,7 +396,7 @@ class c1 {
396
396
  return this._$AB;
397
397
  }
398
398
  _$AI(e, t = this) {
399
- e = N(this, e, t), Q(e) ? e === u || e == null || e === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : e !== this._$AH && e !== P && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : B5(e) ? this.k(e) : this._(e);
399
+ e = X(this, e, t), n1(e) ? e === p || e == null || e === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : e !== this._$AH && e !== N && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : W5(e) ? this.k(e) : this._(e);
400
400
  }
401
401
  O(e) {
402
402
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -405,33 +405,33 @@ class c1 {
405
405
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
406
406
  }
407
407
  _(e) {
408
- this._$AH !== u && Q(this._$AH) ? this._$AA.nextSibling.data = e : this.T(z.createTextNode(e)), this._$AH = e;
408
+ this._$AH !== p && n1(this._$AH) ? this._$AA.nextSibling.data = e : this.T(T.createTextNode(e)), this._$AH = e;
409
409
  }
410
410
  $(e) {
411
411
  var i;
412
- const { values: t, _$litType$: o } = e, C = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = e1.createElement(C5(o.h, o.h[0]), this.options)), o);
412
+ const { values: t, _$litType$: o } = e, C = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = r1.createElement(f5(o.h, o.h[0]), this.options)), o);
413
413
  if (((i = this._$AH) == null ? void 0 : i._$AD) === C) this._$AH.p(t);
414
414
  else {
415
- const n = new z5(C, this), a = n.u(this.options);
415
+ const n = new K5(C, this), a = n.u(this.options);
416
416
  n.p(t), this.T(a), this._$AH = n;
417
417
  }
418
418
  }
419
419
  _$AC(e) {
420
- let t = N2.get(e.strings);
421
- return t === void 0 && N2.set(e.strings, t = new e1(e)), t;
420
+ let t = C5.get(e.strings);
421
+ return t === void 0 && C5.set(e.strings, t = new r1(e)), t;
422
422
  }
423
423
  k(e) {
424
- G1(this._$AH) || (this._$AH = [], this._$AR());
424
+ C2(this._$AH) || (this._$AH = [], this._$AR());
425
425
  const t = this._$AH;
426
426
  let o, C = 0;
427
- for (const i of e) C === t.length ? t.push(o = new c1(this.O(J()), this.O(J()), this, this.options)) : o = t[C], o._$AI(i), C++;
427
+ for (const i of e) C === t.length ? t.push(o = new g1(this.O(i1()), this.O(i1()), this, this.options)) : o = t[C], o._$AI(i), C++;
428
428
  C < t.length && (this._$AR(o && o._$AB.nextSibling, C), t.length = C);
429
429
  }
430
430
  _$AR(e = this._$AA.nextSibling, t) {
431
431
  var o;
432
432
  for ((o = this._$AP) == null ? void 0 : o.call(this, !1, !0, t); e !== this._$AB; ) {
433
- const C = P2(e).nextSibling;
434
- P2(e).remove(), e = C;
433
+ const C = X2(e).nextSibling;
434
+ X2(e).remove(), e = C;
435
435
  }
436
436
  }
437
437
  setConnected(e) {
@@ -439,7 +439,7 @@ class c1 {
439
439
  this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
440
440
  }
441
441
  }
442
- class m1 {
442
+ class k1 {
443
443
  get tagName() {
444
444
  return this.element.tagName;
445
445
  }
@@ -447,46 +447,46 @@ class m1 {
447
447
  return this._$AM._$AU;
448
448
  }
449
449
  constructor(e, t, o, C, i) {
450
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = e, this.name = t, this._$AM = C, this.options = i, o.length > 2 || o[0] !== "" || o[1] !== "" ? (this._$AH = Array(o.length - 1).fill(new String()), this.strings = o) : this._$AH = u;
450
+ this.type = 1, this._$AH = p, this._$AN = void 0, this.element = e, this.name = t, this._$AM = C, this.options = i, o.length > 2 || o[0] !== "" || o[1] !== "" ? (this._$AH = Array(o.length - 1).fill(new String()), this.strings = o) : this._$AH = p;
451
451
  }
452
452
  _$AI(e, t = this, o, C) {
453
453
  const i = this.strings;
454
454
  let n = !1;
455
- if (i === void 0) e = N(this, e, t, 0), n = !Q(e) || e !== this._$AH && e !== P, n && (this._$AH = e);
455
+ if (i === void 0) e = X(this, e, t, 0), n = !n1(e) || e !== this._$AH && e !== N, n && (this._$AH = e);
456
456
  else {
457
457
  const a = e;
458
458
  let s, c;
459
- for (e = i[0], s = 0; s < i.length - 1; s++) c = N(this, a[o + s], t, s), c === P && (c = this._$AH[s]), n || (n = !Q(c) || c !== this._$AH[s]), c === u ? e = u : e !== u && (e += (c ?? "") + i[s + 1]), this._$AH[s] = c;
459
+ for (e = i[0], s = 0; s < i.length - 1; s++) c = X(this, a[o + s], t, s), c === N && (c = this._$AH[s]), n || (n = !n1(c) || c !== this._$AH[s]), c === p ? e = p : e !== p && (e += (c ?? "") + i[s + 1]), this._$AH[s] = c;
460
460
  }
461
461
  n && !C && this.j(e);
462
462
  }
463
463
  j(e) {
464
- e === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
464
+ e === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
465
465
  }
466
466
  }
467
- class P5 extends m1 {
467
+ class J5 extends k1 {
468
468
  constructor() {
469
469
  super(...arguments), this.type = 3;
470
470
  }
471
471
  j(e) {
472
- this.element[this.name] = e === u ? void 0 : e;
472
+ this.element[this.name] = e === p ? void 0 : e;
473
473
  }
474
474
  }
475
- class S5 extends m1 {
475
+ class Q5 extends k1 {
476
476
  constructor() {
477
477
  super(...arguments), this.type = 4;
478
478
  }
479
479
  j(e) {
480
- this.element.toggleAttribute(this.name, !!e && e !== u);
480
+ this.element.toggleAttribute(this.name, !!e && e !== p);
481
481
  }
482
482
  }
483
- class D5 extends m1 {
483
+ class e4 extends k1 {
484
484
  constructor(e, t, o, C, i) {
485
485
  super(e, t, o, C, i), this.type = 5;
486
486
  }
487
487
  _$AI(e, t = this) {
488
- if ((e = N(this, e, t, 0) ?? u) === P) return;
489
- const o = this._$AH, C = e === u && o !== u || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, i = e !== u && (o === u || C);
488
+ if ((e = X(this, e, t, 0) ?? p) === N) return;
489
+ const o = this._$AH, C = e === p && o !== p || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, i = e !== p && (o === p || C);
490
490
  C && this.element.removeEventListener(this.name, this, o), i && this.element.addEventListener(this.name, this, e), this._$AH = e;
491
491
  }
492
492
  handleEvent(e) {
@@ -494,7 +494,7 @@ class D5 extends m1 {
494
494
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
495
495
  }
496
496
  }
497
- class O5 {
497
+ class t4 {
498
498
  constructor(e, t, o) {
499
499
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = o;
500
500
  }
@@ -502,17 +502,17 @@ class O5 {
502
502
  return this._$AM._$AU;
503
503
  }
504
504
  _$AI(e) {
505
- N(this, e);
505
+ X(this, e);
506
506
  }
507
507
  }
508
- const k1 = X.litHtmlPolyfillSupport;
509
- k1 == null || k1(e1, c1), (X.litHtmlVersions ?? (X.litHtmlVersions = [])).push("3.3.2");
510
- const I5 = (l, e, t) => {
508
+ const z1 = l1.litHtmlPolyfillSupport;
509
+ z1 == null || z1(r1, g1), (l1.litHtmlVersions ?? (l1.litHtmlVersions = [])).push("3.3.2");
510
+ const C4 = (l, e, t) => {
511
511
  const o = (t == null ? void 0 : t.renderBefore) ?? e;
512
512
  let C = o._$litPart$;
513
513
  if (C === void 0) {
514
514
  const i = (t == null ? void 0 : t.renderBefore) ?? null;
515
- o._$litPart$ = C = new c1(e.insertBefore(J(), i), i, void 0, t ?? {});
515
+ o._$litPart$ = C = new g1(e.insertBefore(i1(), i), i, void 0, t ?? {});
516
516
  }
517
517
  return C._$AI(l), C;
518
518
  };
@@ -521,8 +521,8 @@ const I5 = (l, e, t) => {
521
521
  * Copyright 2017 Google LLC
522
522
  * SPDX-License-Identifier: BSD-3-Clause
523
523
  */
524
- const F = globalThis;
525
- let h = class extends T {
524
+ const I = globalThis;
525
+ let u = class extends W {
526
526
  constructor() {
527
527
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
528
528
  }
@@ -533,7 +533,7 @@ let h = class extends T {
533
533
  }
534
534
  update(e) {
535
535
  const t = this.render();
536
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = I5(t, this.renderRoot, this.renderOptions);
536
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = C4(t, this.renderRoot, this.renderOptions);
537
537
  }
538
538
  connectedCallback() {
539
539
  var e;
@@ -544,20 +544,20 @@ let h = class extends T {
544
544
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
545
545
  }
546
546
  render() {
547
- return P;
547
+ return N;
548
548
  }
549
549
  };
550
- var K2;
551
- h._$litElement$ = !0, h.finalized = !0, (K2 = F.litElementHydrateSupport) == null || K2.call(F, { LitElement: h });
552
- const $1 = F.litElementPolyfillSupport;
553
- $1 == null || $1({ LitElement: h });
554
- (F.litElementVersions ?? (F.litElementVersions = [])).push("4.2.2");
550
+ var c5;
551
+ u._$litElement$ = !0, u.finalized = !0, (c5 = I.litElementHydrateSupport) == null || c5.call(I, { LitElement: u });
552
+ const F1 = I.litElementPolyfillSupport;
553
+ F1 == null || F1({ LitElement: u });
554
+ (I.litElementVersions ?? (I.litElementVersions = [])).push("4.2.2");
555
555
  /**
556
556
  * @license
557
557
  * Copyright 2017 Google LLC
558
558
  * SPDX-License-Identifier: BSD-3-Clause
559
559
  */
560
- const T5 = { attribute: !0, type: String, converter: v1, reflect: !1, hasChanged: q1 }, N5 = (l = T5, e, t) => {
560
+ const o4 = { attribute: !0, type: String, converter: M1, reflect: !1, hasChanged: t2 }, l4 = (l = o4, e, t) => {
561
561
  const { kind: o, metadata: C } = t;
562
562
  let i = globalThis.litPropertyMetadata.get(C);
563
563
  if (i === void 0 && globalThis.litPropertyMetadata.set(C, i = /* @__PURE__ */ new Map()), o === "setter" && ((l = Object.create(l)).wrapped = !0), i.set(t.name, l), o === "accessor") {
@@ -579,7 +579,7 @@ const T5 = { attribute: !0, type: String, converter: v1, reflect: !1, hasChanged
579
579
  throw Error("Unsupported decorator location: " + o);
580
580
  };
581
581
  function r(l) {
582
- return (e, t) => typeof t == "object" ? N5(l, e, t) : ((o, C, i) => {
582
+ return (e, t) => typeof t == "object" ? l4(l, e, t) : ((o, C, i) => {
583
583
  const n = C.hasOwnProperty(i);
584
584
  return C.constructor.createProperty(i, o), n ? Object.getOwnPropertyDescriptor(C, i) : void 0;
585
585
  })(l, e, t);
@@ -589,7 +589,7 @@ function r(l) {
589
589
  * Copyright 2017 Google LLC
590
590
  * SPDX-License-Identifier: BSD-3-Clause
591
591
  */
592
- function u1(l) {
592
+ function _(l) {
593
593
  return r({ ...l, state: !0, attribute: !1 });
594
594
  }
595
595
  /**
@@ -597,29 +597,29 @@ function u1(l) {
597
597
  * Copyright 2017 Google LLC
598
598
  * SPDX-License-Identifier: BSD-3-Clause
599
599
  */
600
- const U5 = (l, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(l, e, t), t);
600
+ const i4 = (l, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(l, e, t), t);
601
601
  /**
602
602
  * @license
603
603
  * Copyright 2017 Google LLC
604
604
  * SPDX-License-Identifier: BSD-3-Clause
605
605
  */
606
- function O(l, e) {
606
+ function F(l, e) {
607
607
  return (t, o, C) => {
608
608
  const i = (n) => {
609
609
  var a;
610
610
  return ((a = n.renderRoot) == null ? void 0 : a.querySelector(l)) ?? null;
611
611
  };
612
- return U5(t, o, { get() {
612
+ return i4(t, o, { get() {
613
613
  return i(this);
614
614
  } });
615
615
  };
616
616
  }
617
- var j5 = Object.defineProperty, o5 = (l, e, t, o) => {
617
+ var n4 = Object.defineProperty, V5 = (l, e, t, o) => {
618
618
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
619
619
  (n = l[i]) && (C = n(e, t, C) || C);
620
- return C && j5(e, t, C), C;
620
+ return C && n4(e, t, C), C;
621
621
  };
622
- const X1 = class X1 extends h {
622
+ const n2 = class n2 extends u {
623
623
  constructor() {
624
624
  super(...arguments), this.size = "medium", this.percent = "";
625
625
  }
@@ -642,7 +642,7 @@ const X1 = class X1 extends h {
642
642
  let C;
643
643
  o ? C = 0.75 * Math.PI * e : C = (1 - Math.max(0, Math.min(1, parseFloat(this.percent) || 0))) * Math.PI * e;
644
644
  const i = t / 2, n = t + e, a = e / 2, s = Math.PI * e;
645
- return E1`
645
+ return D1`
646
646
  <svg
647
647
  class=${o ? "spinner" : ""}
648
648
  width="${e}px"
@@ -676,20 +676,20 @@ const X1 = class X1 extends h {
676
676
  `;
677
677
  }
678
678
  };
679
- X1.styles = H`
679
+ n2.styles = H`
680
680
  :host { display: inline-block; line-height: 0; font-family: var(--font-sans); }
681
681
  .spinner { animation: circle 0.6s linear infinite; }
682
682
  @keyframes circle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
683
683
  `;
684
- let t1 = X1;
685
- o5([
684
+ let a1 = n2;
685
+ V5([
686
686
  r()
687
- ], t1.prototype, "size");
688
- o5([
687
+ ], a1.prototype, "size");
688
+ V5([
689
689
  r()
690
- ], t1.prototype, "percent");
691
- customElements.get("anduin-spinner") || customElements.define("anduin-spinner", t1);
692
- const U2 = {
690
+ ], a1.prototype, "percent");
691
+ customElements.get("anduin-spinner") || customElements.define("anduin-spinner", a1);
692
+ const o5 = {
693
693
  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" }],
694
694
  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" }],
695
695
  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" }],
@@ -1026,18 +1026,18 @@ const U2 = {
1026
1026
  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" }],
1027
1027
  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" }]
1028
1028
  };
1029
- var q5 = Object.defineProperty, l5 = (l, e, t, o) => {
1029
+ var r4 = Object.defineProperty, g5 = (l, e, t, o) => {
1030
1030
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1031
1031
  (n = l[i]) && (C = n(e, t, C) || C);
1032
- return C && q5(e, t, C), C;
1032
+ return C && r4(e, t, C), C;
1033
1033
  };
1034
- const J1 = class J1 extends h {
1034
+ const r2 = class r2 extends u {
1035
1035
  constructor() {
1036
1036
  super(...arguments), this.name = "", this.size = 16;
1037
1037
  }
1038
1038
  render() {
1039
- const e = this.name && U2[this.name] ? U2[this.name] : [], t = !this.name;
1040
- return E1`
1039
+ const e = this.name && o5[this.name] ? o5[this.name] : [], t = !this.name;
1040
+ return D1`
1041
1041
  <svg
1042
1042
  class=${t ? "icon--hidden" : ""}
1043
1043
  xmlns="http://www.w3.org/2000/svg"
@@ -1047,36 +1047,36 @@ const J1 = class J1 extends h {
1047
1047
  viewBox="0 0 16 16"
1048
1048
  >
1049
1049
  ${e.map(
1050
- (o) => E1`
1050
+ (o) => D1`
1051
1051
  <path
1052
1052
  fill="currentColor"
1053
1053
  d="${o.d}"
1054
- fill-rule="${o.fillRule ?? u}"
1055
- clip-rule="${o.clipRule ?? u}"
1054
+ fill-rule="${o.fillRule ?? p}"
1055
+ clip-rule="${o.clipRule ?? p}"
1056
1056
  />`
1057
1057
  )}
1058
1058
  </svg>
1059
1059
  `;
1060
1060
  }
1061
1061
  };
1062
- J1.styles = H`
1062
+ r2.styles = H`
1063
1063
  :host { display: block; line-height: 0; font-family: var(--font-sans); }
1064
1064
  .icon--hidden { display: none; }
1065
1065
  `;
1066
- let C1 = J1;
1067
- l5([
1066
+ let s1 = r2;
1067
+ g5([
1068
1068
  r()
1069
- ], C1.prototype, "name");
1070
- l5([
1069
+ ], s1.prototype, "name");
1070
+ g5([
1071
1071
  r({ type: Number })
1072
- ], C1.prototype, "size");
1073
- customElements.get("anduin-icon") || customElements.define("anduin-icon", C1);
1074
- var G5 = Object.defineProperty, Y5 = (l, e, t, o) => {
1072
+ ], s1.prototype, "size");
1073
+ customElements.get("anduin-icon") || customElements.define("anduin-icon", s1);
1074
+ var a4 = Object.defineProperty, s4 = (l, e, t, o) => {
1075
1075
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1076
1076
  (n = l[i]) && (C = n(e, t, C) || C);
1077
- return C && G5(e, t, C), C;
1077
+ return C && a4(e, t, C), C;
1078
1078
  };
1079
- const i5 = H`
1079
+ const L5 = H`
1080
1080
  :host { display: inline-block; font-family: var(--font-sans); }
1081
1081
  .badge {
1082
1082
  border-radius: 9999px;
@@ -1103,7 +1103,7 @@ const i5 = H`
1103
1103
  .badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1104
1104
  .badge--hidden { display: none; }
1105
1105
  `;
1106
- function n5(l) {
1106
+ function m5(l) {
1107
1107
  return {
1108
1108
  gray: "badge--light-gray",
1109
1109
  primary: "badge--light-primary",
@@ -1117,27 +1117,27 @@ function n5(l) {
1117
1117
  boldDanger: "badge--bold-danger"
1118
1118
  }[l || "gray"] || "badge--light-gray";
1119
1119
  }
1120
- const Q1 = class Q1 extends h {
1120
+ const a2 = class a2 extends u {
1121
1121
  constructor() {
1122
1122
  super(...arguments), this.variant = "gray";
1123
1123
  }
1124
1124
  render() {
1125
- const e = n5(this.variant);
1125
+ const e = m5(this.variant);
1126
1126
  return d`<div class="badge ${e}" part="badge"><slot></slot></div>`;
1127
1127
  }
1128
1128
  };
1129
- Q1.styles = [i5];
1130
- let f1 = Q1;
1131
- Y5([
1129
+ a2.styles = [L5];
1130
+ let Z1 = a2;
1131
+ s4([
1132
1132
  r()
1133
- ], f1.prototype, "variant");
1134
- customElements.get("anduin-badge") || customElements.define("anduin-badge", f1);
1135
- var W5 = Object.defineProperty, r5 = (l, e, t, o) => {
1133
+ ], Z1.prototype, "variant");
1134
+ customElements.get("anduin-badge") || customElements.define("anduin-badge", Z1);
1135
+ var d4 = Object.defineProperty, M5 = (l, e, t, o) => {
1136
1136
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1137
1137
  (n = l[i]) && (C = n(e, t, C) || C);
1138
- return C && W5(e, t, C), C;
1138
+ return C && d4(e, t, C), C;
1139
1139
  };
1140
- const e2 = class e2 extends h {
1140
+ const s2 = class s2 extends u {
1141
1141
  constructor() {
1142
1142
  super(...arguments), this.variant = "gray", this.count = 0;
1143
1143
  }
@@ -1145,7 +1145,7 @@ const e2 = class e2 extends h {
1145
1145
  return e > 99 ? "99+" : e.toString();
1146
1146
  }
1147
1147
  render() {
1148
- const e = n5(this.variant), t = this.count === 0, o = this.count > 0 && this.count < 10, C = [
1148
+ const e = m5(this.variant), t = this.count === 0, o = this.count > 0 && this.count < 10, C = [
1149
1149
  "badge",
1150
1150
  e,
1151
1151
  t ? "badge--hidden" : "",
@@ -1154,24 +1154,24 @@ const e2 = class e2 extends h {
1154
1154
  return d`<div class="${C}" part="badge">${this.formatCount(this.count)}</div>`;
1155
1155
  }
1156
1156
  };
1157
- e2.styles = [i5];
1158
- let o1 = e2;
1159
- r5([
1157
+ s2.styles = [L5];
1158
+ let d1 = s2;
1159
+ M5([
1160
1160
  r()
1161
- ], o1.prototype, "variant");
1162
- r5([
1161
+ ], d1.prototype, "variant");
1162
+ M5([
1163
1163
  r({ type: Number })
1164
- ], o1.prototype, "count");
1165
- customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", o1);
1166
- var K5 = Object.defineProperty, L = (l, e, t, o) => {
1164
+ ], d1.prototype, "count");
1165
+ customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", d1);
1166
+ var c4 = Object.defineProperty, g = (l, e, t, o) => {
1167
1167
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1168
1168
  (n = l[i]) && (C = n(e, t, C) || C);
1169
- return C && K5(e, t, C), C;
1169
+ return C && c4(e, t, C), C;
1170
1170
  };
1171
- function X5(l) {
1171
+ function p4(l) {
1172
1172
  return l.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1173
1173
  }
1174
- const t2 = class t2 extends h {
1174
+ const d2 = class d2 extends u {
1175
1175
  constructor() {
1176
1176
  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 = "";
1177
1177
  }
@@ -1188,7 +1188,7 @@ const t2 = class t2 extends h {
1188
1188
  return this.variant ? this.variant : this.appearance === "filled" ? "gray0" : this.appearance === "text" ? "primary" : "gray9";
1189
1189
  }
1190
1190
  getSizeKebab() {
1191
- return X5(this.size);
1191
+ return p4(this.size);
1192
1192
  }
1193
1193
  iconSize() {
1194
1194
  return this.size === "tiny" || this.size === "extraSmall" || this.size === "small" ? "12" : "16";
@@ -1207,32 +1207,32 @@ const t2 = class t2 extends h {
1207
1207
  this.iconOnly && this.appearance !== "text" && !this.fullWidth ? "button--icon-only" : ""
1208
1208
  ].filter(Boolean).join(" "), C = d`
1209
1209
  <div class="button__content button__content--${t}">
1210
- ${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="${this.iconSize()}"></anduin-icon>` : u}
1210
+ ${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="${this.iconSize()}"></anduin-icon>` : p}
1211
1211
  <slot @slotchange=${this.onSlotChange}></slot>
1212
- ${this.endIcon ? d`<anduin-icon name="${this.endIcon}" size="${this.iconSize()}"></anduin-icon>` : u}
1212
+ ${this.endIcon ? d`<anduin-icon name="${this.endIcon}" size="${this.iconSize()}"></anduin-icon>` : p}
1213
1213
  </div>
1214
- ${this.loading && this.appearance !== "text" ? d`<div class="button__loading"><anduin-spinner size="small"></anduin-spinner></div>` : u}
1214
+ ${this.loading && this.appearance !== "text" ? d`<div class="button__loading"><anduin-spinner size="small"></anduin-spinner></div>` : p}
1215
1215
  `;
1216
1216
  return this.href ? d`
1217
1217
  <a
1218
1218
  class="${o}"
1219
1219
  href="${this.disabled ? "" : this.href}"
1220
- target="${this.openNewTab ? "_blank" : u}"
1221
- rel="${this.openNewTab ? "noreferrer noopener" : u}"
1222
- download="${this.download || u}"
1223
- aria-label="${this.label || u}"
1220
+ target="${this.openNewTab ? "_blank" : p}"
1221
+ rel="${this.openNewTab ? "noreferrer noopener" : p}"
1222
+ download="${this.download || p}"
1223
+ aria-label="${this.label || p}"
1224
1224
  >${C}</a>
1225
1225
  ` : d`
1226
1226
  <button
1227
1227
  type="button"
1228
1228
  class="${o}"
1229
1229
  ?disabled="${this.disabled}"
1230
- aria-label="${this.label || u}"
1230
+ aria-label="${this.label || p}"
1231
1231
  >${C}</button>
1232
1232
  `;
1233
1233
  }
1234
1234
  };
1235
- t2.styles = H`
1235
+ d2.styles = H`
1236
1236
  :host { display: inline-block; font-family: var(--font-sans); }
1237
1237
  :host([full-width]) { display: block; width: 100%; }
1238
1238
  .button {
@@ -1334,59 +1334,59 @@ t2.styles = H`
1334
1334
  .button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
1335
1335
  .button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
1336
1336
  `;
1337
- let f = t2;
1338
- L([
1339
- u1()
1340
- ], f.prototype, "iconOnly");
1341
- L([
1337
+ let V = d2;
1338
+ g([
1339
+ _()
1340
+ ], V.prototype, "iconOnly");
1341
+ g([
1342
1342
  r({ converter: (l) => l || "filled" })
1343
- ], f.prototype, "appearance");
1344
- L([
1343
+ ], V.prototype, "appearance");
1344
+ g([
1345
1345
  r()
1346
- ], f.prototype, "variant");
1347
- L([
1346
+ ], V.prototype, "variant");
1347
+ g([
1348
1348
  r()
1349
- ], f.prototype, "size");
1350
- L([
1349
+ ], V.prototype, "size");
1350
+ g([
1351
1351
  r({ type: Boolean })
1352
- ], f.prototype, "disabled");
1353
- L([
1352
+ ], V.prototype, "disabled");
1353
+ g([
1354
1354
  r({ type: Boolean })
1355
- ], f.prototype, "loading");
1356
- L([
1355
+ ], V.prototype, "loading");
1356
+ g([
1357
1357
  r({ type: Boolean, attribute: "full-width" })
1358
- ], f.prototype, "fullWidth");
1359
- L([
1358
+ ], V.prototype, "fullWidth");
1359
+ g([
1360
1360
  r({ type: Boolean })
1361
- ], f.prototype, "pill");
1362
- L([
1361
+ ], V.prototype, "pill");
1362
+ g([
1363
1363
  r({ type: Boolean })
1364
- ], f.prototype, "selected");
1365
- L([
1364
+ ], V.prototype, "selected");
1365
+ g([
1366
1366
  r()
1367
- ], f.prototype, "href");
1368
- L([
1367
+ ], V.prototype, "href");
1368
+ g([
1369
1369
  r({ type: Boolean, attribute: "open-new-tab" })
1370
- ], f.prototype, "openNewTab");
1371
- L([
1370
+ ], V.prototype, "openNewTab");
1371
+ g([
1372
1372
  r()
1373
- ], f.prototype, "download");
1374
- L([
1373
+ ], V.prototype, "download");
1374
+ g([
1375
1375
  r({ attribute: "start-icon" })
1376
- ], f.prototype, "startIcon");
1377
- L([
1376
+ ], V.prototype, "startIcon");
1377
+ g([
1378
1378
  r({ attribute: "end-icon" })
1379
- ], f.prototype, "endIcon");
1380
- L([
1379
+ ], V.prototype, "endIcon");
1380
+ g([
1381
1381
  r()
1382
- ], f.prototype, "label");
1383
- customElements.get("anduin-button") || customElements.define("anduin-button", f);
1384
- var J5 = Object.defineProperty, Q5 = (l, e, t, o) => {
1382
+ ], V.prototype, "label");
1383
+ customElements.get("anduin-button") || customElements.define("anduin-button", V);
1384
+ var u4 = Object.defineProperty, h4 = (l, e, t, o) => {
1385
1385
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1386
1386
  (n = l[i]) && (C = n(e, t, C) || C);
1387
- return C && J5(e, t, C), C;
1387
+ return C && u4(e, t, C), C;
1388
1388
  };
1389
- const C2 = class C2 extends h {
1389
+ const c2 = class c2 extends u {
1390
1390
  constructor() {
1391
1391
  super(...arguments), this.variant = "gray";
1392
1392
  }
@@ -1399,7 +1399,7 @@ const C2 = class C2 extends h {
1399
1399
  `;
1400
1400
  }
1401
1401
  };
1402
- C2.styles = H`
1402
+ c2.styles = H`
1403
1403
  :host { display: block; font-family: var(--font-sans); }
1404
1404
  .callout {
1405
1405
  display: flex; align-items: center; justify-content: center;
@@ -1411,17 +1411,17 @@ C2.styles = H`
1411
1411
  .callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1412
1412
  .callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1413
1413
  `;
1414
- let L1 = C2;
1415
- Q5([
1414
+ let y1 = c2;
1415
+ h4([
1416
1416
  r()
1417
- ], L1.prototype, "variant");
1418
- customElements.get("anduin-callout") || customElements.define("anduin-callout", L1);
1419
- var e4 = Object.defineProperty, a5 = (l, e, t, o) => {
1417
+ ], y1.prototype, "variant");
1418
+ customElements.get("anduin-callout") || customElements.define("anduin-callout", y1);
1419
+ var H4 = Object.defineProperty, b5 = (l, e, t, o) => {
1420
1420
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1421
1421
  (n = l[i]) && (C = n(e, t, C) || C);
1422
- return C && e4(e, t, C), C;
1422
+ return C && H4(e, t, C), C;
1423
1423
  };
1424
- const o2 = class o2 extends h {
1424
+ const p2 = class p2 extends u {
1425
1425
  constructor() {
1426
1426
  super(...arguments), this.direction = "horizontal", this.hasContent = !1;
1427
1427
  }
@@ -1452,7 +1452,7 @@ const o2 = class o2 extends h {
1452
1452
  </div>` : d`<div class="divider--horizontal divider--horizontal-empty"><slot @slotchange=${this.onSlotChange}></slot></div>`;
1453
1453
  }
1454
1454
  };
1455
- o2.styles = H`
1455
+ p2.styles = H`
1456
1456
  :host { width: 100%; font-family: var(--font-sans); }
1457
1457
  :host([direction="vertical"]) { width: auto; height: 100%; }
1458
1458
  .divider--horizontal { margin-top: 8px; margin-bottom: 8px; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 8px; text-align: center; }
@@ -1462,20 +1462,20 @@ o2.styles = H`
1462
1462
  .divider--vertical-empty { background-color: var(--color-gray-3); width: 1px; }
1463
1463
  .divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
1464
1464
  `;
1465
- let l1 = o2;
1466
- a5([
1465
+ let c1 = p2;
1466
+ b5([
1467
1467
  r()
1468
- ], l1.prototype, "direction");
1469
- a5([
1470
- u1()
1471
- ], l1.prototype, "hasContent");
1472
- customElements.get("anduin-divider") || customElements.define("anduin-divider", l1);
1473
- var t4 = Object.defineProperty, C4 = (l, e, t, o) => {
1468
+ ], c1.prototype, "direction");
1469
+ b5([
1470
+ _()
1471
+ ], c1.prototype, "hasContent");
1472
+ customElements.get("anduin-divider") || customElements.define("anduin-divider", c1);
1473
+ var v4 = Object.defineProperty, f4 = (l, e, t, o) => {
1474
1474
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1475
1475
  (n = l[i]) && (C = n(e, t, C) || C);
1476
- return C && t4(e, t, C), C;
1476
+ return C && v4(e, t, C), C;
1477
1477
  };
1478
- const l2 = class l2 extends h {
1478
+ const u2 = class u2 extends u {
1479
1479
  constructor() {
1480
1480
  super(...arguments), this.variant = "gray";
1481
1481
  }
@@ -1483,7 +1483,7 @@ const l2 = class l2 extends h {
1483
1483
  return d`<div class="dot dot--${this.variant}" part="dot"></div>`;
1484
1484
  }
1485
1485
  };
1486
- l2.styles = H`
1486
+ u2.styles = H`
1487
1487
  :host { display: inline-block; font-family: var(--font-sans); }
1488
1488
  .dot { width: 10px; height: 10px; border-radius: 9999px; }
1489
1489
  .dot--gray { background-color: var(--color-semantic-gray-6); color: var(--color-semantic-gray-0); }
@@ -1492,17 +1492,17 @@ l2.styles = H`
1492
1492
  .dot--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1493
1493
  .dot--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1494
1494
  `;
1495
- let g1 = l2;
1496
- C4([
1495
+ let x1 = u2;
1496
+ f4([
1497
1497
  r()
1498
- ], g1.prototype, "variant");
1499
- customElements.get("anduin-dot") || customElements.define("anduin-dot", g1);
1500
- var o4 = Object.defineProperty, s5 = (l, e, t, o) => {
1498
+ ], x1.prototype, "variant");
1499
+ customElements.get("anduin-dot") || customElements.define("anduin-dot", x1);
1500
+ var V4 = Object.defineProperty, Z5 = (l, e, t, o) => {
1501
1501
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1502
1502
  (n = l[i]) && (C = n(e, t, C) || C);
1503
- return C && o4(e, t, C), C;
1503
+ return C && V4(e, t, C), C;
1504
1504
  };
1505
- const i2 = class i2 extends h {
1505
+ const h2 = class h2 extends u {
1506
1506
  constructor() {
1507
1507
  super(...arguments), this.percent = "", this.height = "medium";
1508
1508
  }
@@ -1518,7 +1518,7 @@ const i2 = class i2 extends h {
1518
1518
  `;
1519
1519
  }
1520
1520
  };
1521
- i2.styles = H`
1521
+ h2.styles = H`
1522
1522
  :host { display: block; font-family: var(--font-sans); }
1523
1523
  .progress { overflow-x: hidden; position: relative; border-radius: 9999px; }
1524
1524
  .progress__fill {
@@ -1534,20 +1534,20 @@ i2.styles = H`
1534
1534
  to { transform: translateX(330%); }
1535
1535
  }
1536
1536
  `;
1537
- let i1 = i2;
1538
- s5([
1537
+ let p1 = h2;
1538
+ Z5([
1539
1539
  r()
1540
- ], i1.prototype, "percent");
1541
- s5([
1540
+ ], p1.prototype, "percent");
1541
+ Z5([
1542
1542
  r()
1543
- ], i1.prototype, "height");
1544
- customElements.get("anduin-progress") || customElements.define("anduin-progress", i1);
1545
- var l4 = Object.defineProperty, G = (l, e, t, o) => {
1543
+ ], p1.prototype, "height");
1544
+ customElements.get("anduin-progress") || customElements.define("anduin-progress", p1);
1545
+ var g4 = Object.defineProperty, e1 = (l, e, t, o) => {
1546
1546
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1547
1547
  (n = l[i]) && (C = n(e, t, C) || C);
1548
- return C && l4(e, t, C), C;
1548
+ return C && g4(e, t, C), C;
1549
1549
  };
1550
- const n2 = class n2 extends h {
1550
+ const H2 = class H2 extends u {
1551
1551
  constructor() {
1552
1552
  super(...arguments), this.effect = "pulse", this.shape = "rectangle", this.height = "", this.width = "100%", this.duration = 1500, this.fontSize = "";
1553
1553
  }
@@ -1566,7 +1566,7 @@ const n2 = class n2 extends h {
1566
1566
  `;
1567
1567
  }
1568
1568
  };
1569
- n2.styles = H`
1569
+ H2.styles = H`
1570
1570
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1571
1571
  .skeleton { background-color: var(--color-gray-3); position: relative; overflow: hidden; }
1572
1572
  .skeleton--circle { border-radius: 9999px; }
@@ -1585,32 +1585,32 @@ n2.styles = H`
1585
1585
  0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
1586
1586
  }
1587
1587
  `;
1588
- let R = n2;
1589
- G([
1588
+ let R = H2;
1589
+ e1([
1590
1590
  r()
1591
1591
  ], R.prototype, "effect");
1592
- G([
1592
+ e1([
1593
1593
  r()
1594
1594
  ], R.prototype, "shape");
1595
- G([
1595
+ e1([
1596
1596
  r()
1597
1597
  ], R.prototype, "height");
1598
- G([
1598
+ e1([
1599
1599
  r()
1600
1600
  ], R.prototype, "width");
1601
- G([
1601
+ e1([
1602
1602
  r({ type: Number })
1603
1603
  ], R.prototype, "duration");
1604
- G([
1604
+ e1([
1605
1605
  r({ attribute: "font-size" })
1606
1606
  ], R.prototype, "fontSize");
1607
1607
  customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", R);
1608
- var i4 = Object.defineProperty, n4 = (l, e, t, o) => {
1608
+ var L4 = Object.defineProperty, m4 = (l, e, t, o) => {
1609
1609
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1610
1610
  (n = l[i]) && (C = n(e, t, C) || C);
1611
- return C && i4(e, t, C), C;
1611
+ return C && L4(e, t, C), C;
1612
1612
  };
1613
- const r2 = class r2 extends h {
1613
+ const v2 = class v2 extends u {
1614
1614
  constructor() {
1615
1615
  super(...arguments), this.height = "256px";
1616
1616
  }
@@ -1625,30 +1625,30 @@ const r2 = class r2 extends h {
1625
1625
  `;
1626
1626
  }
1627
1627
  };
1628
- r2.styles = H`
1628
+ v2.styles = H`
1629
1629
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1630
1630
  .loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
1631
1631
  .loading-state__indicator { color: var(--color-primary-4); }
1632
1632
  .loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-gray-6); }
1633
1633
  `;
1634
- let M1 = r2;
1635
- n4([
1634
+ let _1 = v2;
1635
+ m4([
1636
1636
  r()
1637
- ], M1.prototype, "height");
1638
- customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", M1);
1639
- var r4 = Object.defineProperty, Y1 = (l, e, t, o) => {
1637
+ ], _1.prototype, "height");
1638
+ customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", _1);
1639
+ var M4 = Object.defineProperty, o2 = (l, e, t, o) => {
1640
1640
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1641
1641
  (n = l[i]) && (C = n(e, t, C) || C);
1642
- return C && r4(e, t, C), C;
1642
+ return C && M4(e, t, C), C;
1643
1643
  };
1644
- const d5 = "anduin-field:label-click", y1 = "anduin-field:label-click-coordinated", a2 = class a2 extends h {
1644
+ const y5 = "anduin-field:label-click", $1 = "anduin-field:label-click-coordinated", f2 = class f2 extends u {
1645
1645
  constructor() {
1646
1646
  super(...arguments), this.orientation = "vertical";
1647
1647
  }
1648
1648
  connectedCallback() {
1649
- super.connectedCallback(), this.addEventListener(d5, (e) => {
1649
+ super.connectedCallback(), this.addEventListener(y5, (e) => {
1650
1650
  const t = e;
1651
- this.dispatchEvent(new CustomEvent(y1, {
1651
+ this.dispatchEvent(new CustomEvent($1, {
1652
1652
  detail: t.detail,
1653
1653
  bubbles: !1,
1654
1654
  composed: !1
@@ -1664,17 +1664,17 @@ const d5 = "anduin-field:label-click", y1 = "anduin-field:label-click-coordinate
1664
1664
  `;
1665
1665
  }
1666
1666
  };
1667
- a2.styles = H`
1667
+ f2.styles = H`
1668
1668
  :host { display: block; font-family: var(--font-sans); }
1669
1669
  .field { display: flex; flex-wrap: wrap; }
1670
1670
  .field--vertical { flex-direction: column; row-gap: 4px; }
1671
1671
  .field--horizontal { column-gap: 4px; }
1672
1672
  `;
1673
- let Z1 = a2;
1674
- Y1([
1673
+ let R1 = f2;
1674
+ o2([
1675
1675
  r()
1676
- ], Z1.prototype, "orientation");
1677
- const s2 = class s2 extends h {
1676
+ ], R1.prototype, "orientation");
1677
+ const V2 = class V2 extends u {
1678
1678
  constructor() {
1679
1679
  super(...arguments), this.htmlfor = "", this.required = !1;
1680
1680
  }
@@ -1682,7 +1682,7 @@ const s2 = class s2 extends h {
1682
1682
  super.connectedCallback();
1683
1683
  }
1684
1684
  onLabelClick(e) {
1685
- this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(d5, {
1685
+ this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(y5, {
1686
1686
  detail: this.htmlfor,
1687
1687
  bubbles: !0,
1688
1688
  composed: !0
@@ -1701,72 +1701,72 @@ const s2 = class s2 extends h {
1701
1701
  `;
1702
1702
  }
1703
1703
  };
1704
- s2.styles = H`
1704
+ V2.styles = H`
1705
1705
  :host { display: inline-block; font-family: var(--font-sans); }
1706
1706
  .field-label { font-size: 13px; line-height: 20px; font-weight: 600; cursor: default; }
1707
1707
  .field-label__required { color: var(--color-danger-5); }
1708
1708
  `;
1709
- let n1 = s2;
1710
- Y1([
1709
+ let u1 = V2;
1710
+ o2([
1711
1711
  r()
1712
- ], n1.prototype, "htmlfor");
1713
- Y1([
1712
+ ], u1.prototype, "htmlfor");
1713
+ o2([
1714
1714
  r({ type: Boolean })
1715
- ], n1.prototype, "required");
1716
- const d2 = class d2 extends h {
1715
+ ], u1.prototype, "required");
1716
+ const g2 = class g2 extends u {
1717
1717
  render() {
1718
1718
  return d`<div class="field-description" part="description"><slot></slot></div>`;
1719
1719
  }
1720
1720
  };
1721
- d2.styles = H`
1721
+ g2.styles = H`
1722
1722
  :host { display: inline-block; font-family: var(--font-sans); }
1723
1723
  .field-description { display: block; line-height: 16px; font-size: 11px; color: var(--color-gray-7); }
1724
1724
  `;
1725
- let A1 = d2;
1726
- const c2 = class c2 extends h {
1725
+ let O1 = g2;
1726
+ const L2 = class L2 extends u {
1727
1727
  render() {
1728
1728
  return d`<div class="field-error" part="error"><slot></slot></div>`;
1729
1729
  }
1730
1730
  };
1731
- c2.styles = H`
1731
+ L2.styles = H`
1732
1732
  :host { display: block; font-family: var(--font-sans); }
1733
1733
  .field-error { color: var(--color-danger-4); }
1734
1734
  `;
1735
- let B1 = c2;
1736
- const u2 = class u2 extends h {
1735
+ let I1 = L2;
1736
+ const m2 = class m2 extends u {
1737
1737
  render() {
1738
1738
  return d`<div class="field-group" part="group"><slot></slot></div>`;
1739
1739
  }
1740
1740
  };
1741
- u2.styles = H`
1741
+ m2.styles = H`
1742
1742
  :host { display: block; font-family: var(--font-sans); }
1743
1743
  .field-group { display: flex; flex-direction: column; row-gap: 24px; }
1744
1744
  `;
1745
- let F1 = u2;
1746
- customElements.get("anduin-field") || customElements.define("anduin-field", Z1);
1747
- customElements.get("anduin-field-label") || customElements.define("anduin-field-label", n1);
1748
- customElements.get("anduin-field-description") || customElements.define("anduin-field-description", A1);
1749
- customElements.get("anduin-field-error") || customElements.define("anduin-field-error", B1);
1750
- customElements.get("anduin-field-group") || customElements.define("anduin-field-group", F1);
1751
- var a4 = Object.defineProperty, p1 = (l, e, t, o) => {
1745
+ let T1 = m2;
1746
+ customElements.get("anduin-field") || customElements.define("anduin-field", R1);
1747
+ customElements.get("anduin-field-label") || customElements.define("anduin-field-label", u1);
1748
+ customElements.get("anduin-field-description") || customElements.define("anduin-field-description", O1);
1749
+ customElements.get("anduin-field-error") || customElements.define("anduin-field-error", I1);
1750
+ customElements.get("anduin-field-group") || customElements.define("anduin-field-group", T1);
1751
+ var b4 = Object.defineProperty, L1 = (l, e, t, o) => {
1752
1752
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1753
1753
  (n = l[i]) && (C = n(e, t, C) || C);
1754
- return C && a4(e, t, C), C;
1754
+ return C && b4(e, t, C), C;
1755
1755
  };
1756
- const s4 = "anduin-checkbox:change", p2 = class p2 extends h {
1756
+ const Z4 = "anduin-checkbox:change", M2 = class M2 extends u {
1757
1757
  constructor() {
1758
1758
  super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
1759
1759
  }
1760
1760
  connectedCallback() {
1761
1761
  super.connectedCallback();
1762
1762
  const e = this.closest("anduin-field");
1763
- e && e.addEventListener(y1, (t) => {
1763
+ e && e.addEventListener($1, (t) => {
1764
1764
  const o = t;
1765
1765
  this.inputid && this.inputid === o.detail && !this.disabled && !this.readonly && this.toggle();
1766
1766
  });
1767
1767
  }
1768
1768
  toggle() {
1769
- this.checked = !this.checked, this.dispatchEvent(new CustomEvent(s4, {
1769
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(Z4, {
1770
1770
  detail: this.checked,
1771
1771
  bubbles: !0,
1772
1772
  composed: !0
@@ -1794,17 +1794,17 @@ const s4 = "anduin-checkbox:change", p2 = class p2 extends h {
1794
1794
  .checked=${this.checked}
1795
1795
  ?disabled=${this.disabled || this.readonly}
1796
1796
  tabindex="${C}"
1797
- @change=${o ? this.onInputChange : u}
1797
+ @change=${o ? this.onInputChange : p}
1798
1798
  />
1799
1799
  <div class="${e}" tabindex="${C}"></div>
1800
1800
  <div class="checkbox__icon ${this.indeterminate || this.checked ? "checkbox__icon--visible" : ""}">
1801
- ${t ? d`<anduin-icon name="${t}" size="16"></anduin-icon>` : u}
1801
+ ${t ? d`<anduin-icon name="${t}" size="16"></anduin-icon>` : p}
1802
1802
  </div>
1803
1803
  </div>
1804
1804
  `;
1805
1805
  }
1806
1806
  };
1807
- p2.styles = H`
1807
+ M2.styles = H`
1808
1808
  :host { display: inline-flex; font-family: var(--font-sans); }
1809
1809
  .checkbox { width: 16px; height: 16px; position: relative; }
1810
1810
  .checkbox--interactive { cursor: pointer; }
@@ -1827,36 +1827,36 @@ p2.styles = H`
1827
1827
  .checkbox__icon { position: absolute; inset: 0; pointer-events: none; color: var(--color-gray-4); display: flex; align-items: center; justify-content: center; }
1828
1828
  .checkbox__icon--visible { color: var(--color-gray-0); }
1829
1829
  `;
1830
- let $ = p2;
1831
- p1([
1830
+ let B = M2;
1831
+ L1([
1832
1832
  r({ type: Boolean })
1833
- ], $.prototype, "checked");
1834
- p1([
1833
+ ], B.prototype, "checked");
1834
+ L1([
1835
1835
  r({ type: Boolean })
1836
- ], $.prototype, "disabled");
1837
- p1([
1836
+ ], B.prototype, "disabled");
1837
+ L1([
1838
1838
  r({ type: Boolean })
1839
- ], $.prototype, "indeterminate");
1840
- p1([
1839
+ ], B.prototype, "indeterminate");
1840
+ L1([
1841
1841
  r({ type: Boolean })
1842
- ], $.prototype, "readonly");
1843
- p1([
1842
+ ], B.prototype, "readonly");
1843
+ L1([
1844
1844
  r()
1845
- ], $.prototype, "inputid");
1846
- customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", $);
1847
- var d4 = Object.defineProperty, y = (l, e, t, o) => {
1845
+ ], B.prototype, "inputid");
1846
+ customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", B);
1847
+ var y4 = Object.defineProperty, y = (l, e, t, o) => {
1848
1848
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1849
1849
  (n = l[i]) && (C = n(e, t, C) || C);
1850
- return C && d4(e, t, C), C;
1850
+ return C && y4(e, t, C), C;
1851
1851
  };
1852
- const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 extends h {
1852
+ const l5 = "anduin-input:change", x4 = "anduin-input:clear", b2 = class b2 extends u {
1853
1853
  constructor() {
1854
1854
  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;
1855
1855
  }
1856
1856
  connectedCallback() {
1857
1857
  super.connectedCallback();
1858
1858
  const e = this.closest("anduin-field");
1859
- e && e.addEventListener(y1, (t) => {
1859
+ e && e.addEventListener($1, (t) => {
1860
1860
  var C;
1861
1861
  const o = t;
1862
1862
  this.inputid && this.inputid === o.detail && ((C = this.inputEl) == null || C.focus());
@@ -1866,7 +1866,7 @@ const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 exten
1866
1866
  this.inputEl && this.inputEl.value !== this.value && (this.inputEl.value = this.value);
1867
1867
  }
1868
1868
  onInput() {
1869
- this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(j2, {
1869
+ this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(l5, {
1870
1870
  detail: this.value,
1871
1871
  bubbles: !0,
1872
1872
  composed: !0
@@ -1874,7 +1874,7 @@ const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 exten
1874
1874
  }
1875
1875
  onClear() {
1876
1876
  var e;
1877
- this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(j2, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(c4, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
1877
+ this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(l5, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(x4, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
1878
1878
  }
1879
1879
  render() {
1880
1880
  const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", o = !!this.startIcon, C = !!this.endIcon || this.clearable && !!this.value, i = 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";
@@ -1884,7 +1884,7 @@ const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 exten
1884
1884
  <span class="input__start">
1885
1885
  <anduin-icon name=${this.startIcon} size=${n}></anduin-icon>
1886
1886
  </span>
1887
- ` : u}
1887
+ ` : p}
1888
1888
 
1889
1889
  <input
1890
1890
  class="input ${e}
@@ -1908,17 +1908,17 @@ const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 exten
1908
1908
  <button class="input__clear" type="button" @click=${this.onClear} aria-label="Clear">
1909
1909
  <anduin-icon name="cross" size=${a}></anduin-icon>
1910
1910
  </button>
1911
- ` : u}
1911
+ ` : p}
1912
1912
  ${this.endIcon ? d`
1913
1913
  <anduin-icon name=${this.endIcon} size=${n}></anduin-icon>
1914
- ` : u}
1914
+ ` : p}
1915
1915
  </span>
1916
- ` : u}
1916
+ ` : p}
1917
1917
  </div>
1918
1918
  `;
1919
1919
  }
1920
1920
  };
1921
- h2.styles = H`
1921
+ b2.styles = H`
1922
1922
  :host { display: block; font-family: var(--font-sans); }
1923
1923
 
1924
1924
  .input-wrapper { position: relative; display: flex; align-items: center; }
@@ -1972,54 +1972,54 @@ h2.styles = H`
1972
1972
  }
1973
1973
  .input__clear:hover { color: var(--color-gray-7); }
1974
1974
  `;
1975
- let g = h2;
1975
+ let L = b2;
1976
1976
  y([
1977
1977
  r()
1978
- ], g.prototype, "value");
1978
+ ], L.prototype, "value");
1979
1979
  y([
1980
1980
  r()
1981
- ], g.prototype, "size");
1981
+ ], L.prototype, "size");
1982
1982
  y([
1983
1983
  r({ type: Boolean })
1984
- ], g.prototype, "disabled");
1984
+ ], L.prototype, "disabled");
1985
1985
  y([
1986
1986
  r({ type: Boolean })
1987
- ], g.prototype, "readonly");
1987
+ ], L.prototype, "readonly");
1988
1988
  y([
1989
1989
  r()
1990
- ], g.prototype, "placeholder");
1990
+ ], L.prototype, "placeholder");
1991
1991
  y([
1992
1992
  r()
1993
- ], g.prototype, "inputid");
1993
+ ], L.prototype, "inputid");
1994
1994
  y([
1995
1995
  r()
1996
- ], g.prototype, "status");
1996
+ ], L.prototype, "status");
1997
1997
  y([
1998
1998
  r({ attribute: "start-icon" })
1999
- ], g.prototype, "startIcon");
1999
+ ], L.prototype, "startIcon");
2000
2000
  y([
2001
2001
  r({ attribute: "end-icon" })
2002
- ], g.prototype, "endIcon");
2002
+ ], L.prototype, "endIcon");
2003
2003
  y([
2004
2004
  r({ type: Boolean })
2005
- ], g.prototype, "clearable");
2005
+ ], L.prototype, "clearable");
2006
2006
  y([
2007
- O("input")
2008
- ], g.prototype, "inputEl");
2009
- customElements.get("anduin-input") || customElements.define("anduin-input", g);
2010
- var u4 = Object.defineProperty, E = (l, e, t, o) => {
2007
+ F("input")
2008
+ ], L.prototype, "inputEl");
2009
+ customElements.get("anduin-input") || customElements.define("anduin-input", L);
2010
+ var _4 = Object.defineProperty, P = (l, e, t, o) => {
2011
2011
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2012
2012
  (n = l[i]) && (C = n(e, t, C) || C);
2013
- return C && u4(e, t, C), C;
2013
+ return C && _4(e, t, C), C;
2014
2014
  };
2015
- const p4 = "anduin-textarea:change", H2 = class H2 extends h {
2015
+ const R4 = "anduin-textarea:change", Z2 = class Z2 extends u {
2016
2016
  constructor() {
2017
2017
  super(...arguments), this.value = "", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.rows = 3, this.status = "";
2018
2018
  }
2019
2019
  connectedCallback() {
2020
2020
  super.connectedCallback();
2021
2021
  const e = this.closest("anduin-field");
2022
- e && e.addEventListener(y1, (t) => {
2022
+ e && e.addEventListener($1, (t) => {
2023
2023
  var C;
2024
2024
  const o = t;
2025
2025
  this.inputid && this.inputid === o.detail && ((C = this.textareaEl) == null || C.focus());
@@ -2029,7 +2029,7 @@ const p4 = "anduin-textarea:change", H2 = class H2 extends h {
2029
2029
  this.textareaEl && this.textareaEl.value !== this.value && (this.textareaEl.value = this.value);
2030
2030
  }
2031
2031
  onInput() {
2032
- this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(p4, {
2032
+ this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(R4, {
2033
2033
  detail: this.value,
2034
2034
  bubbles: !0,
2035
2035
  composed: !0
@@ -2054,7 +2054,7 @@ const p4 = "anduin-textarea:change", H2 = class H2 extends h {
2054
2054
  `;
2055
2055
  }
2056
2056
  };
2057
- H2.styles = H`
2057
+ Z2.styles = H`
2058
2058
  :host { display: block; font-family: var(--font-sans); }
2059
2059
 
2060
2060
  .textarea {
@@ -2071,46 +2071,46 @@ H2.styles = H`
2071
2071
  .textarea--warning { border-color: var(--color-warning-4); }
2072
2072
  .textarea--loading { border-color: var(--color-gray-4); }
2073
2073
  `;
2074
- let m = H2;
2075
- E([
2074
+ let Z = Z2;
2075
+ P([
2076
2076
  r()
2077
- ], m.prototype, "value");
2078
- E([
2077
+ ], Z.prototype, "value");
2078
+ P([
2079
2079
  r({ type: Boolean })
2080
- ], m.prototype, "disabled");
2081
- E([
2080
+ ], Z.prototype, "disabled");
2081
+ P([
2082
2082
  r({ type: Boolean })
2083
- ], m.prototype, "readonly");
2084
- E([
2083
+ ], Z.prototype, "readonly");
2084
+ P([
2085
2085
  r()
2086
- ], m.prototype, "placeholder");
2087
- E([
2086
+ ], Z.prototype, "placeholder");
2087
+ P([
2088
2088
  r()
2089
- ], m.prototype, "inputid");
2090
- E([
2089
+ ], Z.prototype, "inputid");
2090
+ P([
2091
2091
  r({ type: Number })
2092
- ], m.prototype, "rows");
2093
- E([
2092
+ ], Z.prototype, "rows");
2093
+ P([
2094
2094
  r()
2095
- ], m.prototype, "status");
2096
- E([
2097
- O("textarea")
2098
- ], m.prototype, "textareaEl");
2099
- customElements.get("anduin-textarea") || customElements.define("anduin-textarea", m);
2100
- var h4 = Object.defineProperty, M = (l, e, t, o) => {
2095
+ ], Z.prototype, "status");
2096
+ P([
2097
+ F("textarea")
2098
+ ], Z.prototype, "textareaEl");
2099
+ customElements.get("anduin-textarea") || customElements.define("anduin-textarea", Z);
2100
+ var w4 = Object.defineProperty, m = (l, e, t, o) => {
2101
2101
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2102
2102
  (n = l[i]) && (C = n(e, t, C) || C);
2103
- return C && h4(e, t, C), C;
2103
+ return C && w4(e, t, C), C;
2104
2104
  };
2105
- const c5 = "anduin-tab:trigger-click", R1 = "anduin-tab:value-changed", H4 = "anduin-tab:change", v2 = class v2 extends h {
2105
+ const x5 = "anduin-tab:trigger-click", E1 = "anduin-tab:value-changed", k4 = "anduin-tab:change", y2 = class y2 extends u {
2106
2106
  constructor() {
2107
2107
  super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
2108
2108
  }
2109
2109
  connectedCallback() {
2110
- super.connectedCallback(), this.addEventListener(c5, (e) => {
2110
+ super.connectedCallback(), this.addEventListener(x5, (e) => {
2111
2111
  e.stopPropagation();
2112
2112
  const t = e;
2113
- this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(H4, { detail: t.detail, bubbles: !0, composed: !0 }));
2113
+ this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(k4, { detail: t.detail, bubbles: !0, composed: !0 }));
2114
2114
  }), requestAnimationFrame(() => {
2115
2115
  const e = this.value || this.defaultValue;
2116
2116
  e && (this.value || (this.value = e), this.broadcastValueChanged(e));
@@ -2120,36 +2120,36 @@ const c5 = "anduin-tab:trigger-click", R1 = "anduin-tab:value-changed", H4 = "an
2120
2120
  e.has("value") && this.value && this.broadcastValueChanged(this.value);
2121
2121
  }
2122
2122
  broadcastValueChanged(e) {
2123
- this.dispatchEvent(new CustomEvent(R1, { detail: e, bubbles: !1, composed: !1 }));
2123
+ this.dispatchEvent(new CustomEvent(E1, { detail: e, bubbles: !1, composed: !1 }));
2124
2124
  }
2125
2125
  render() {
2126
2126
  return d`<div class="tabs" part="tabs"><slot></slot></div>`;
2127
2127
  }
2128
2128
  };
2129
- v2.styles = H`
2129
+ y2.styles = H`
2130
2130
  :host { display: flex; flex-direction: column; font-family: var(--font-sans); }
2131
2131
  :host([fill]) { flex: 1; min-height: 0; --_tab-fill-flex: 1; --_tab-fill-height: 100%; }
2132
2132
  .tabs { display: flex; flex-direction: column; width: 100%; }
2133
2133
  :host([fill]) .tabs { flex: 1; min-height: 0; }
2134
2134
  `;
2135
- let U = v2;
2136
- M([
2135
+ let K = y2;
2136
+ m([
2137
2137
  r({ attribute: "default-value" })
2138
- ], U.prototype, "defaultValue");
2139
- M([
2138
+ ], K.prototype, "defaultValue");
2139
+ m([
2140
2140
  r()
2141
- ], U.prototype, "value");
2142
- M([
2141
+ ], K.prototype, "value");
2142
+ m([
2143
2143
  r({ type: Boolean, reflect: !0 })
2144
- ], U.prototype, "fill");
2145
- const V2 = class V2 extends h {
2144
+ ], K.prototype, "fill");
2145
+ const x2 = class x2 extends u {
2146
2146
  constructor() {
2147
2147
  super(...arguments), this.alignment = "left", this.lastActiveValue = "", this.resizeObserver = null;
2148
2148
  }
2149
2149
  connectedCallback() {
2150
2150
  super.connectedCallback();
2151
2151
  const e = this.closest("anduin-tabs");
2152
- e && e.addEventListener(R1, (t) => {
2152
+ e && e.addEventListener(E1, (t) => {
2153
2153
  const o = t;
2154
2154
  this.lastActiveValue = o.detail, requestAnimationFrame(() => {
2155
2155
  this.animateIndicator(o.detail);
@@ -2185,7 +2185,7 @@ const V2 = class V2 extends h {
2185
2185
  `;
2186
2186
  }
2187
2187
  };
2188
- V2.styles = H`
2188
+ x2.styles = H`
2189
2189
  :host { display: block; font-family: var(--font-sans); }
2190
2190
  .tabs-list {
2191
2191
  display: flex; background-color: var(--color-gray-0);
@@ -2200,27 +2200,27 @@ V2.styles = H`
2200
2200
  left: 0; height: 2px; transition-duration: 200ms; transition-property: transform, width;
2201
2201
  }
2202
2202
  `;
2203
- let r1 = V2;
2204
- M([
2203
+ let h1 = x2;
2204
+ m([
2205
2205
  r()
2206
- ], r1.prototype, "alignment");
2207
- M([
2208
- O(".tabs-list__indicator")
2209
- ], r1.prototype, "indicator");
2210
- const f2 = class f2 extends h {
2206
+ ], h1.prototype, "alignment");
2207
+ m([
2208
+ F(".tabs-list__indicator")
2209
+ ], h1.prototype, "indicator");
2210
+ const _2 = class _2 extends u {
2211
2211
  constructor() {
2212
2212
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.showBadge = !1, this.badgeCount = "", this.isActive = !1;
2213
2213
  }
2214
2214
  connectedCallback() {
2215
2215
  super.connectedCallback();
2216
2216
  const e = this.closest("anduin-tabs");
2217
- e && e.addEventListener(R1, (t) => {
2217
+ e && e.addEventListener(E1, (t) => {
2218
2218
  const o = t;
2219
2219
  this.isActive = o.detail === this.value;
2220
2220
  });
2221
2221
  }
2222
2222
  onClick() {
2223
- this.dispatchEvent(new CustomEvent(c5, { detail: this.value, bubbles: !0, composed: !0 }));
2223
+ this.dispatchEvent(new CustomEvent(x5, { detail: this.value, bubbles: !0, composed: !0 }));
2224
2224
  }
2225
2225
  render() {
2226
2226
  return d`
@@ -2233,15 +2233,15 @@ const f2 = class f2 extends h {
2233
2233
  @click=${this.onClick}
2234
2234
  >
2235
2235
  <div class="tab-trigger__content">
2236
- ${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="16"></anduin-icon>` : u}
2236
+ ${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="16"></anduin-icon>` : p}
2237
2237
  <slot></slot>
2238
- ${this.showBadge ? d`<span class="tab-trigger__badge">${this.badgeCount}</span>` : u}
2238
+ ${this.showBadge ? d`<span class="tab-trigger__badge">${this.badgeCount}</span>` : p}
2239
2239
  </div>
2240
2240
  </button>
2241
2241
  `;
2242
2242
  }
2243
2243
  };
2244
- f2.styles = H`
2244
+ _2.styles = H`
2245
2245
  :host { display: inline-block; font-family: var(--font-sans); }
2246
2246
  .tab-trigger {
2247
2247
  cursor: pointer; background: none; border: none; display: block;
@@ -2264,33 +2264,33 @@ f2.styles = H`
2264
2264
  color: var(--color-gray-7); white-space: nowrap;
2265
2265
  }
2266
2266
  `;
2267
- let x = f2;
2268
- M([
2267
+ let w = _2;
2268
+ m([
2269
2269
  r()
2270
- ], x.prototype, "value");
2271
- M([
2270
+ ], w.prototype, "value");
2271
+ m([
2272
2272
  r({ attribute: "start-icon" })
2273
- ], x.prototype, "startIcon");
2274
- M([
2273
+ ], w.prototype, "startIcon");
2274
+ m([
2275
2275
  r({ type: Boolean })
2276
- ], x.prototype, "disabled");
2277
- M([
2276
+ ], w.prototype, "disabled");
2277
+ m([
2278
2278
  r({ type: Boolean, attribute: "show-badge" })
2279
- ], x.prototype, "showBadge");
2280
- M([
2279
+ ], w.prototype, "showBadge");
2280
+ m([
2281
2281
  r({ attribute: "badge-count" })
2282
- ], x.prototype, "badgeCount");
2283
- M([
2284
- u1()
2285
- ], x.prototype, "isActive");
2286
- const L2 = class L2 extends h {
2282
+ ], w.prototype, "badgeCount");
2283
+ m([
2284
+ _()
2285
+ ], w.prototype, "isActive");
2286
+ const R2 = class R2 extends u {
2287
2287
  constructor() {
2288
2288
  super(...arguments), this.value = "", this.isActive = !1;
2289
2289
  }
2290
2290
  connectedCallback() {
2291
2291
  super.connectedCallback();
2292
2292
  const e = this.closest("anduin-tabs");
2293
- e && e.addEventListener(R1, (t) => {
2293
+ e && e.addEventListener(E1, (t) => {
2294
2294
  const o = t;
2295
2295
  this.isActive = o.detail === this.value;
2296
2296
  });
@@ -2306,28 +2306,28 @@ const L2 = class L2 extends h {
2306
2306
  `;
2307
2307
  }
2308
2308
  };
2309
- L2.styles = H`
2309
+ R2.styles = H`
2310
2310
  :host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
2311
2311
  :host(:not([active])) { display: none; }
2312
2312
  .tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
2313
2313
  `;
2314
- let a1 = L2;
2315
- M([
2314
+ let H1 = R2;
2315
+ m([
2316
2316
  r()
2317
- ], a1.prototype, "value");
2318
- M([
2319
- u1()
2320
- ], a1.prototype, "isActive");
2321
- customElements.get("anduin-tabs") || customElements.define("anduin-tabs", U);
2322
- customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", r1);
2323
- customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", x);
2324
- customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", a1);
2325
- var v4 = Object.defineProperty, W1 = (l, e, t, o) => {
2317
+ ], H1.prototype, "value");
2318
+ m([
2319
+ _()
2320
+ ], H1.prototype, "isActive");
2321
+ customElements.get("anduin-tabs") || customElements.define("anduin-tabs", K);
2322
+ customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", h1);
2323
+ customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", w);
2324
+ customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", H1);
2325
+ var $4 = Object.defineProperty, l2 = (l, e, t, o) => {
2326
2326
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2327
2327
  (n = l[i]) && (C = n(e, t, C) || C);
2328
- return C && v4(e, t, C), C;
2328
+ return C && $4(e, t, C), C;
2329
2329
  };
2330
- const V4 = "anduin-tag-close:click", f4 = {
2330
+ const E4 = "anduin-tag-close:click", A4 = {
2331
2331
  gray: "tag--light-gray",
2332
2332
  primary: "tag--light-primary",
2333
2333
  success: "tag--light-success",
@@ -2352,7 +2352,7 @@ const V4 = "anduin-tag-close:click", f4 = {
2352
2352
  customYellow: "tag--custom-yellow",
2353
2353
  customYellowGreen: "tag--custom-yellow-green",
2354
2354
  customYellowOrange: "tag--custom-yellow-orange"
2355
- }, L4 = {
2355
+ }, B4 = {
2356
2356
  gray: "tag__icon--light-gray",
2357
2357
  primary: "tag__icon--light-primary",
2358
2358
  success: "tag__icon--light-success",
@@ -2377,22 +2377,22 @@ const V4 = "anduin-tag-close:click", f4 = {
2377
2377
  customMagenta: "tag__icon--custom-magenta",
2378
2378
  customBlueGreen: "tag__icon--custom-blue-green",
2379
2379
  customPink: "tag__icon--custom-pink"
2380
- }, g2 = class g2 extends h {
2380
+ }, w2 = class w2 extends u {
2381
2381
  constructor() {
2382
2382
  super(...arguments), this.variant = "gray", this.icon = "", this.disabled = !1;
2383
2383
  }
2384
2384
  render() {
2385
- const e = f4[this.variant] || "tag--light-gray", t = L4[this.variant] || "tag__icon--light-gray";
2385
+ const e = A4[this.variant] || "tag--light-gray", t = B4[this.variant] || "tag__icon--light-gray";
2386
2386
  return d`
2387
2387
  <div class="tag ${e} ${this.disabled ? "tag--disabled" : ""}" part="tag">
2388
- ${this.icon ? d`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : u}
2388
+ ${this.icon ? d`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : p}
2389
2389
  <div class="tag__label"><slot></slot></div>
2390
2390
  <slot name="closeButton" class="tag__close"></slot>
2391
2391
  </div>
2392
2392
  `;
2393
2393
  }
2394
2394
  };
2395
- g2.styles = H`
2395
+ w2.styles = H`
2396
2396
  :host { display: inline-flex; max-width: 100%; font-family: var(--font-sans); }
2397
2397
  .tag {
2398
2398
  font-weight: 500; font-size: 11px; height: 20px; padding-left: 6px; padding-right: 6px;
@@ -2440,19 +2440,19 @@ g2.styles = H`
2440
2440
  .tag--custom-yellow-green { color: var(--color-gray-9); background-color: rgb(174,207,85); }
2441
2441
  .tag--custom-yellow-orange { color: var(--color-gray-9); background-color: rgb(255,193,107); }
2442
2442
  `;
2443
- let j = g2;
2444
- W1([
2443
+ let J = w2;
2444
+ l2([
2445
2445
  r()
2446
- ], j.prototype, "variant");
2447
- W1([
2446
+ ], J.prototype, "variant");
2447
+ l2([
2448
2448
  r()
2449
- ], j.prototype, "icon");
2450
- W1([
2449
+ ], J.prototype, "icon");
2450
+ l2([
2451
2451
  r({ type: Boolean })
2452
- ], j.prototype, "disabled");
2453
- const M2 = class M2 extends h {
2452
+ ], J.prototype, "disabled");
2453
+ const k2 = class k2 extends u {
2454
2454
  onClick() {
2455
- this.dispatchEvent(new CustomEvent(V4, { bubbles: !0, composed: !0 }));
2455
+ this.dispatchEvent(new CustomEvent(E4, { bubbles: !0, composed: !0 }));
2456
2456
  }
2457
2457
  render() {
2458
2458
  return d`
@@ -2462,7 +2462,7 @@ const M2 = class M2 extends h {
2462
2462
  `;
2463
2463
  }
2464
2464
  };
2465
- M2.styles = H`
2465
+ k2.styles = H`
2466
2466
  :host { display: inline-block; font-family: var(--font-sans); }
2467
2467
  .tag-close__button {
2468
2468
  flex: none; width: 16px; height: 16px; display: flex; align-items: center;
@@ -2472,15 +2472,15 @@ M2.styles = H`
2472
2472
  .tag-close__button:hover { opacity: 0.7; }
2473
2473
  .tag-close__button:active { opacity: 0.5; }
2474
2474
  `;
2475
- let z1 = M2;
2476
- customElements.get("anduin-tag") || customElements.define("anduin-tag", j);
2477
- customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", z1);
2478
- var g4 = Object.defineProperty, u5 = (l, e, t, o) => {
2475
+ let N1 = k2;
2476
+ customElements.get("anduin-tag") || customElements.define("anduin-tag", J);
2477
+ customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", N1);
2478
+ var z4 = Object.defineProperty, _5 = (l, e, t, o) => {
2479
2479
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2480
2480
  (n = l[i]) && (C = n(e, t, C) || C);
2481
- return C && g4(e, t, C), C;
2481
+ return C && z4(e, t, C), C;
2482
2482
  };
2483
- const p5 = "anduin-tooltip:show", K1 = "anduin-tooltip:hide", h5 = "anduin-tooltip:trigger-mounted", H5 = "anduin-tooltip:content-popup-mounted", v5 = "anduin-tooltip:content-popup-unmounted", V5 = "anduin-tooltip:visibility-changed", M4 = [
2483
+ const R5 = "anduin-tooltip:show", i2 = "anduin-tooltip:hide", w5 = "anduin-tooltip:trigger-mounted", k5 = "anduin-tooltip:content-popup-mounted", $5 = "anduin-tooltip:content-popup-unmounted", E5 = "anduin-tooltip:visibility-changed", F4 = [
2484
2484
  "top-start",
2485
2485
  "top-center",
2486
2486
  "top-end",
@@ -2494,7 +2494,7 @@ const p5 = "anduin-tooltip:show", K1 = "anduin-tooltip:hide", h5 = "anduin-toolt
2494
2494
  "left-center",
2495
2495
  "left-end"
2496
2496
  ];
2497
- function q2(l, e, t, o, C) {
2497
+ function i5(l, e, t, o, C) {
2498
2498
  switch (o) {
2499
2499
  case "top-start":
2500
2500
  return { left: l.left, top: l.top - t - C };
@@ -2524,43 +2524,43 @@ function q2(l, e, t, o, C) {
2524
2524
  return { left: 0, top: 0 };
2525
2525
  }
2526
2526
  }
2527
- function G2(l, e) {
2527
+ function n5(l, e) {
2528
2528
  return e.right >= l.left && e.left <= l.right && e.top <= l.bottom && e.bottom >= l.top;
2529
2529
  }
2530
- function Y2(l, e) {
2530
+ function r5(l, e) {
2531
2531
  const t = Math.max(l.left, e.left), o = Math.max(l.top, e.top), C = Math.min(l.right, e.right), i = Math.min(l.bottom, e.bottom);
2532
2532
  return C < t || i < o ? 0 : (C - t) * (i - o);
2533
2533
  }
2534
- function Z4(l, e, t, o = 8) {
2534
+ function P4(l, e, t, o = 8) {
2535
2535
  const C = window.innerWidth, i = window.innerHeight, n = { left: 0, top: 0, right: C, bottom: i }, a = e.width, s = e.height;
2536
- if (!G2(
2536
+ if (!n5(
2537
2537
  { left: l.left, top: l.top, right: l.right, bottom: l.bottom },
2538
2538
  n
2539
2539
  )) return null;
2540
- const c = q2(l, a, s, t, o), p = M4.map((V) => ({ p: V, off: q2(l, a, s, V, o) })).filter(({ off: V }) => G2({ left: V.left, top: V.top, right: V.left + a, bottom: V.top + s }, n));
2541
- if (p.length === 0)
2540
+ const c = i5(l, a, s, t, o), h = F4.map((f) => ({ p: f, off: i5(l, a, s, f, o) })).filter(({ off: f }) => n5({ left: f.left, top: f.top, right: f.left + a, bottom: f.top + s }, n));
2541
+ if (h.length === 0)
2542
2542
  return {
2543
2543
  placement: t,
2544
2544
  left: Math.round(Math.min(Math.max(c.left, 0), C - a)),
2545
2545
  top: Math.round(Math.min(Math.max(c.top, 0), i - s))
2546
2546
  };
2547
- p.sort((V, b) => {
2548
- const L5 = { left: V.off.left, top: V.off.top, right: V.off.left + a, bottom: V.off.top + s }, g5 = { left: b.off.left, top: b.off.top, right: b.off.left + a, bottom: b.off.top + s }, $2 = Y2(L5, n), E2 = Y2(g5, n);
2549
- if (E2 !== $2) return E2 - $2;
2550
- const M5 = Math.abs(V.off.left - c.left) + Math.abs(V.off.top - c.top), Z5 = Math.abs(b.off.left - c.left) + Math.abs(b.off.top - c.top);
2551
- return M5 - Z5;
2547
+ h.sort((f, b) => {
2548
+ const B5 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + s }, z5 = { left: b.off.left, top: b.off.top, right: b.off.left + a, bottom: b.off.top + s }, j2 = r5(B5, n), U2 = r5(z5, n);
2549
+ if (U2 !== j2) return U2 - j2;
2550
+ const F5 = Math.abs(f.off.left - c.left) + Math.abs(f.off.top - c.top), P5 = Math.abs(b.off.left - c.left) + Math.abs(b.off.top - c.top);
2551
+ return F5 - P5;
2552
2552
  });
2553
- const { p: v, off: Z } = p[0];
2553
+ const { p: v, off: M } = h[0];
2554
2554
  return {
2555
2555
  placement: v,
2556
- left: Math.round(Math.min(Math.max(Z.left, 0), C - a)),
2557
- top: Math.round(Math.min(Math.max(Z.top, 0), i - s))
2556
+ left: Math.round(Math.min(Math.max(M.left, 0), C - a)),
2557
+ top: Math.round(Math.min(Math.max(M.top, 0), i - s))
2558
2558
  };
2559
2559
  }
2560
- function P1(l) {
2560
+ function j1(l) {
2561
2561
  return l.split("-")[0] || "top";
2562
2562
  }
2563
- function b4(l, e, t) {
2563
+ function S4(l, e, t) {
2564
2564
  let o = !1, C = t.length - 1;
2565
2565
  for (let i = 0; i < t.length; i++) {
2566
2566
  const n = t[i][0], a = t[i][1], s = t[C][0], c = t[C][1];
@@ -2568,20 +2568,20 @@ function b4(l, e, t) {
2568
2568
  }
2569
2569
  return o;
2570
2570
  }
2571
- const Z2 = class Z2 extends h {
2571
+ const $2 = class $2 extends u {
2572
2572
  constructor() {
2573
2573
  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;
2574
2574
  }
2575
2575
  connectedCallback() {
2576
- super.connectedCallback(), this.addEventListener(h5, (e) => {
2576
+ super.connectedCallback(), this.addEventListener(w5, (e) => {
2577
2577
  e.stopPropagation(), this.triggerElement = e.detail, this.maybeStartPositionLoop();
2578
- }), this.addEventListener(H5, (e) => {
2578
+ }), this.addEventListener(k5, (e) => {
2579
2579
  e.stopPropagation(), this.contentPopupElement = e.detail, this.computeContainingBlockOffset(this.contentPopupElement), this.maybeStartPositionLoop();
2580
- }), this.addEventListener(v5, (e) => {
2580
+ }), this.addEventListener($5, (e) => {
2581
2581
  e.stopPropagation(), this.stopPositionLoop(), this.contentPopupElement = null;
2582
- }), this.addEventListener(p5, (e) => {
2582
+ }), this.addEventListener(R5, (e) => {
2583
2583
  e.stopPropagation(), !this.disabled && (this.isVisible = !0, this.broadcastVisibilityChanged(`show:${this.placement}`));
2584
- }), this.addEventListener(K1, (e) => {
2584
+ }), this.addEventListener(i2, (e) => {
2585
2585
  e.stopPropagation(), this.isVisible = !1, this.stopPositionLoop(), this.broadcastVisibilityChanged("hide");
2586
2586
  });
2587
2587
  }
@@ -2612,61 +2612,61 @@ const Z2 = class Z2 extends h {
2612
2612
  this.containingBlockLeft = C.left, this.containingBlockTop = C.top, t.style.transform = o;
2613
2613
  }
2614
2614
  positionPopup(e, t, o) {
2615
- const C = t.getBoundingClientRect(), i = e.getBoundingClientRect(), n = Z4(C, i, o, 8);
2615
+ const C = t.getBoundingClientRect(), i = e.getBoundingClientRect(), n = P4(C, i, o, 8);
2616
2616
  if (n) {
2617
2617
  const a = e;
2618
2618
  a.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
2619
- const s = P1(n.placement), c = P1(o);
2619
+ const s = j1(n.placement), c = j1(o);
2620
2620
  if (s !== c) {
2621
- const p = e.querySelector(".tooltip-arrow");
2622
- p && (p.classList.remove(`tooltip-arrow--${c}`), p.classList.add(`tooltip-arrow--${s}`));
2621
+ const h = e.querySelector(".tooltip-arrow");
2622
+ h && (h.classList.remove(`tooltip-arrow--${c}`), h.classList.add(`tooltip-arrow--${s}`));
2623
2623
  }
2624
2624
  }
2625
2625
  }
2626
2626
  broadcastVisibilityChanged(e) {
2627
- this.dispatchEvent(new CustomEvent(V5, { detail: e, bubbles: !1, composed: !1 }));
2627
+ this.dispatchEvent(new CustomEvent(E5, { detail: e, bubbles: !1, composed: !1 }));
2628
2628
  }
2629
2629
  render() {
2630
2630
  return d`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
2631
2631
  }
2632
2632
  };
2633
- Z2.styles = H`
2633
+ $2.styles = H`
2634
2634
  :host { display: inline-block; position: relative; max-width: 100%; font-family: var(--font-sans); }
2635
2635
  .tooltip-root { display: inline-block; position: relative; max-width: 100%; }
2636
2636
  `;
2637
- let s1 = Z2;
2638
- u5([
2637
+ let v1 = $2;
2638
+ _5([
2639
2639
  r({ type: Boolean })
2640
- ], s1.prototype, "disabled");
2641
- u5([
2640
+ ], v1.prototype, "disabled");
2641
+ _5([
2642
2642
  r()
2643
- ], s1.prototype, "placement");
2644
- const b2 = class b2 extends h {
2643
+ ], v1.prototype, "placement");
2644
+ const E2 = class E2 extends u {
2645
2645
  firstUpdated() {
2646
2646
  requestAnimationFrame(() => {
2647
- this.dispatchEvent(new CustomEvent(h5, { detail: this, bubbles: !0, composed: !0 }));
2647
+ this.dispatchEvent(new CustomEvent(w5, { detail: this, bubbles: !0, composed: !0 }));
2648
2648
  }), this.addEventListener("pointerenter", () => {
2649
- this.dispatchEvent(new CustomEvent(p5, { bubbles: !0, composed: !0 }));
2649
+ this.dispatchEvent(new CustomEvent(R5, { bubbles: !0, composed: !0 }));
2650
2650
  }), this.addEventListener("click", () => {
2651
- this.dispatchEvent(new CustomEvent(K1, { bubbles: !0, composed: !0 }));
2651
+ this.dispatchEvent(new CustomEvent(i2, { bubbles: !0, composed: !0 }));
2652
2652
  });
2653
2653
  }
2654
2654
  render() {
2655
2655
  return d`<span class="tooltip-trigger" part="tooltip-trigger"><slot></slot></span>`;
2656
2656
  }
2657
2657
  };
2658
- b2.styles = H`
2658
+ E2.styles = H`
2659
2659
  :host { display: inline-block; max-width: 100%; font-family: var(--font-sans); }
2660
2660
  .tooltip-trigger { display: flex; align-items: center; max-width: 100%; }
2661
2661
  `;
2662
- let S1 = b2;
2663
- const m2 = class m2 extends h {
2662
+ let U1 = E2;
2663
+ const A2 = class A2 extends u {
2664
2664
  constructor() {
2665
2665
  super(...arguments), this.graceArea = null, this.triggerEl = null, this.popupEl = null, this.handlePointerMove = (e) => {
2666
2666
  var i, n;
2667
2667
  if (!this.graceArea) return;
2668
2668
  const t = e.target, o = ((i = this.triggerEl) == null ? void 0 : i.contains(t)) ?? !1, C = ((n = this.popupEl) == null ? void 0 : n.contains(t)) ?? !1;
2669
- o || C ? this.graceArea = null : b4(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(K1, { bubbles: !0, composed: !0 })));
2669
+ o || C ? this.graceArea = null : S4(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(i2, { bubbles: !0, composed: !0 })));
2670
2670
  }, this.handleTriggerLeave = (e) => {
2671
2671
  this.triggerEl && this.popupEl && this.createGraceArea(this.triggerEl, this.popupEl, e);
2672
2672
  }, this.handleContentLeave = (e) => {
@@ -2676,7 +2676,7 @@ const m2 = class m2 extends h {
2676
2676
  connectedCallback() {
2677
2677
  super.connectedCallback();
2678
2678
  const e = this.closest("anduin-tooltip");
2679
- e && e.addEventListener(V5, (t) => {
2679
+ e && e.addEventListener(E5, (t) => {
2680
2680
  const o = t.detail;
2681
2681
  o.startsWith("show:") ? this.showPopup(o.slice(5)) : this.hidePopup();
2682
2682
  });
@@ -2702,7 +2702,7 @@ const m2 = class m2 extends h {
2702
2702
  }
2703
2703
  showPopup(e) {
2704
2704
  this.hidePopup();
2705
- const t = P1(e), o = document.createElement("div");
2705
+ const t = j1(e), o = document.createElement("div");
2706
2706
  o.className = "tooltip-popup", o.setAttribute("role", "tooltip");
2707
2707
  const C = document.createElement("div");
2708
2708
  C.className = `tooltip-arrow tooltip-arrow--${t}`;
@@ -2715,16 +2715,16 @@ const m2 = class m2 extends h {
2715
2715
  const s = a.querySelector("anduin-tooltip-trigger");
2716
2716
  s && this.setupGraceAreaListeners(s, o);
2717
2717
  }
2718
- this.dispatchEvent(new CustomEvent(H5, { detail: o, bubbles: !0, composed: !0 }));
2718
+ this.dispatchEvent(new CustomEvent(k5, { detail: o, bubbles: !0, composed: !0 }));
2719
2719
  }
2720
2720
  hidePopup() {
2721
- this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(v5, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
2721
+ this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent($5, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
2722
2722
  }
2723
2723
  render() {
2724
2724
  return d`<div class="tooltip-content-wrapper"></div>`;
2725
2725
  }
2726
2726
  };
2727
- m2.styles = H`
2727
+ A2.styles = H`
2728
2728
  :host {
2729
2729
  display: contents;
2730
2730
  --tooltip-bg: var(--anduin-tooltip-content-background, var(--color-gray-9));
@@ -2748,16 +2748,16 @@ m2.styles = H`
2748
2748
  .tooltip-arrow--left { right: -4px; top: 50%; transform: translateY(-50%); border-left-color: var(--tooltip-bg); border-right: none; }
2749
2749
  .tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
2750
2750
  `;
2751
- let D1 = m2;
2752
- customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", s1);
2753
- customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", S1);
2754
- customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", D1);
2755
- var m4 = Object.defineProperty, y4 = (l, e, t, o) => {
2751
+ let q1 = A2;
2752
+ customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", v1);
2753
+ customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", U1);
2754
+ customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", q1);
2755
+ var D4 = Object.defineProperty, O4 = (l, e, t, o) => {
2756
2756
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2757
2757
  (n = l[i]) && (C = n(e, t, C) || C);
2758
- return C && m4(e, t, C), C;
2758
+ return C && D4(e, t, C), C;
2759
2759
  };
2760
- const R4 = "anduin-well-close:click", y2 = class y2 extends h {
2760
+ const I4 = "anduin-well-close:click", B2 = class B2 extends u {
2761
2761
  constructor() {
2762
2762
  super(...arguments), this.variant = "gray";
2763
2763
  }
@@ -2776,7 +2776,7 @@ const R4 = "anduin-well-close:click", y2 = class y2 extends h {
2776
2776
  `;
2777
2777
  }
2778
2778
  };
2779
- y2.styles = H`
2779
+ B2.styles = H`
2780
2780
  :host {
2781
2781
  display: block;
2782
2782
  font-family: var(--font-sans);
@@ -2841,14 +2841,14 @@ y2.styles = H`
2841
2841
  color: var(--color-warning-4);
2842
2842
  }
2843
2843
  `;
2844
- let b1 = y2;
2845
- y4([
2844
+ let w1 = B2;
2845
+ O4([
2846
2846
  r()
2847
- ], b1.prototype, "variant");
2848
- const R2 = class R2 extends h {
2847
+ ], w1.prototype, "variant");
2848
+ const z2 = class z2 extends u {
2849
2849
  onClick() {
2850
2850
  this.dispatchEvent(
2851
- new CustomEvent(R4, { bubbles: !0, composed: !0 })
2851
+ new CustomEvent(I4, { bubbles: !0, composed: !0 })
2852
2852
  );
2853
2853
  }
2854
2854
  render() {
@@ -2863,7 +2863,7 @@ const R2 = class R2 extends h {
2863
2863
  `;
2864
2864
  }
2865
2865
  };
2866
- R2.styles = H`
2866
+ z2.styles = H`
2867
2867
  :host {
2868
2868
  display: inline-block;
2869
2869
  font-family: var(--font-sans);
@@ -2888,34 +2888,51 @@ R2.styles = H`
2888
2888
  background-color: var(--color-gray-3);
2889
2889
  }
2890
2890
  `;
2891
- let O1 = R2;
2892
- customElements.get("anduin-well") || customElements.define("anduin-well", b1);
2893
- customElements.get("anduin-well-close") || customElements.define("anduin-well-close", O1);
2894
- var x4 = Object.defineProperty, x1 = (l, e, t, o) => {
2891
+ let G1 = z2;
2892
+ customElements.get("anduin-well") || customElements.define("anduin-well", w1);
2893
+ customElements.get("anduin-well-close") || customElements.define("anduin-well-close", G1);
2894
+ var T4 = Object.defineProperty, t1 = (l, e, t, o) => {
2895
2895
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2896
2896
  (n = l[i]) && (C = n(e, t, C) || C);
2897
- return C && x4(e, t, C), C;
2897
+ return C && T4(e, t, C), C;
2898
2898
  };
2899
- const x2 = class x2 extends h {
2899
+ const Y1 = "anduin-popover:close", F2 = class F2 extends u {
2900
2900
  constructor() {
2901
- super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
2901
+ super(...arguments), this.open = !1, this.placement = "bottom-start", this._visible = !1, this._closing = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
2902
2902
  var t;
2903
2903
  !this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && (this.open = !1);
2904
2904
  }, this._onScrollOrResize = () => {
2905
2905
  this.open && this._updatePosition();
2906
+ }, this._onPopoverClose = () => {
2907
+ this.open = !1;
2906
2908
  };
2907
2909
  }
2908
2910
  _onTriggerClick() {
2909
2911
  this.open = !this.open;
2910
2912
  }
2911
2913
  connectedCallback() {
2912
- super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
2914
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(Y1, this._onPopoverClose);
2913
2915
  }
2914
2916
  disconnectedCallback() {
2915
- super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
2917
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(Y1, this._onPopoverClose);
2916
2918
  }
2917
2919
  updated(e) {
2918
- e.has("open") && this.open && requestAnimationFrame(() => this._updatePosition());
2920
+ e.has("open") && (this.open ? (this._cancelCloseAnimation(), this._closing = !1, this._visible = !0, requestAnimationFrame(() => this._updatePosition())) : this._startCloseAnimation());
2921
+ }
2922
+ _cancelCloseAnimation() {
2923
+ this._closeTransitionEndHandler && this._panelEl && (this._panelEl.removeEventListener("transitionend", this._closeTransitionEndHandler), this._closeTransitionEndHandler = null), this._closing = !1;
2924
+ }
2925
+ _startCloseAnimation() {
2926
+ if (!this._visible) return;
2927
+ this._closing = !0;
2928
+ const e = (t) => {
2929
+ var o;
2930
+ t.propertyName === "opacity" && ((o = this._panelEl) == null || o.removeEventListener("transitionend", e), this._closeTransitionEndHandler = null, this._closing = !1, this._visible = !1);
2931
+ };
2932
+ this._closeTransitionEndHandler = e, requestAnimationFrame(() => {
2933
+ var t;
2934
+ return (t = this._panelEl) == null ? void 0 : t.addEventListener("transitionend", e);
2935
+ });
2919
2936
  }
2920
2937
  _updatePosition() {
2921
2938
  const e = this._triggerEl, t = this._panelEl;
@@ -2925,35 +2942,35 @@ const x2 = class x2 extends h {
2925
2942
  const i = t.getBoundingClientRect();
2926
2943
  t.style.transform = C;
2927
2944
  const n = t.getBoundingClientRect(), a = 4;
2928
- let s = 0, c = 0, p = "bottom";
2945
+ let s = 0, c = 0, h = "bottom";
2929
2946
  switch (this.placement) {
2930
2947
  case "bottom-start":
2931
- s = o.left, c = o.bottom + a, p = "bottom";
2948
+ s = o.left, c = o.bottom + a, h = "bottom";
2932
2949
  break;
2933
2950
  case "bottom-end":
2934
- s = o.right - n.width, c = o.bottom + a, p = "bottom";
2951
+ s = o.right - n.width, c = o.bottom + a, h = "bottom";
2935
2952
  break;
2936
2953
  case "bottom":
2937
- s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, p = "bottom";
2954
+ s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, h = "bottom";
2938
2955
  break;
2939
2956
  case "top-start":
2940
- s = o.left, c = o.top - n.height - a, p = "top";
2957
+ s = o.left, c = o.top - n.height - a, h = "top";
2941
2958
  break;
2942
2959
  case "top-end":
2943
- s = o.right - n.width, c = o.top - n.height - a, p = "top";
2960
+ s = o.right - n.width, c = o.top - n.height - a, h = "top";
2944
2961
  break;
2945
2962
  case "top":
2946
- s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, p = "top";
2963
+ s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, h = "top";
2947
2964
  break;
2948
2965
  }
2949
- t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = p;
2966
+ t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = h;
2950
2967
  }
2951
2968
  render() {
2952
2969
  return d`
2953
2970
  <div class="popover__trigger" @click=${this._onTriggerClick} part="trigger">
2954
2971
  <slot name="trigger"></slot>
2955
2972
  </div>
2956
- <div class="popover__panel ${this.open ? "popover__panel--open" : ""}" part="popover">
2973
+ <div class="popover__panel ${this._visible && !this._closing ? "popover__panel--open" : this._closing ? "popover__panel--closing" : ""}" part="popover">
2957
2974
  <div class="popover__inner">
2958
2975
  <slot></slot>
2959
2976
  </div>
@@ -2961,7 +2978,7 @@ const x2 = class x2 extends h {
2961
2978
  `;
2962
2979
  }
2963
2980
  };
2964
- x2.styles = H`
2981
+ F2.styles = H`
2965
2982
  :host { display: inline-block; font-family: var(--font-sans); }
2966
2983
 
2967
2984
  .popover__trigger { display: inline-block; }
@@ -2974,7 +2991,8 @@ x2.styles = H`
2974
2991
  visibility: hidden;
2975
2992
  pointer-events: none;
2976
2993
  }
2977
- .popover__panel--open { visibility: visible; pointer-events: auto; }
2994
+ .popover__panel--open { visibility: visible; pointer-events: auto; }
2995
+ .popover__panel--closing { visibility: visible; pointer-events: none; }
2978
2996
 
2979
2997
  .popover__inner {
2980
2998
  background-color: var(--color-white, white);
@@ -3007,26 +3025,43 @@ x2.styles = H`
3007
3025
  transform: scale(1) translateY(0);
3008
3026
  }
3009
3027
  `;
3010
- let S = x2;
3011
- x1([
3028
+ let k = F2;
3029
+ t1([
3012
3030
  r({ type: Boolean, reflect: !0 })
3013
- ], S.prototype, "open");
3014
- x1([
3031
+ ], k.prototype, "open");
3032
+ t1([
3015
3033
  r()
3016
- ], S.prototype, "placement");
3017
- x1([
3018
- O(".popover__trigger")
3019
- ], S.prototype, "_triggerEl");
3020
- x1([
3021
- O(".popover__panel")
3022
- ], S.prototype, "_panelEl");
3023
- customElements.get("anduin-popover") || customElements.define("anduin-popover", S);
3024
- var _4 = Object.defineProperty, I = (l, e, t, o) => {
3034
+ ], k.prototype, "placement");
3035
+ t1([
3036
+ _()
3037
+ ], k.prototype, "_visible");
3038
+ t1([
3039
+ _()
3040
+ ], k.prototype, "_closing");
3041
+ t1([
3042
+ F(".popover__trigger")
3043
+ ], k.prototype, "_triggerEl");
3044
+ t1([
3045
+ F(".popover__panel")
3046
+ ], k.prototype, "_panelEl");
3047
+ customElements.get("anduin-popover") || customElements.define("anduin-popover", k);
3048
+ const P2 = class P2 extends u {
3049
+ _onClick() {
3050
+ this.dispatchEvent(new CustomEvent(Y1, { bubbles: !0, composed: !0 }));
3051
+ }
3052
+ render() {
3053
+ return d`<span @click=${this._onClick}><slot></slot></span>`;
3054
+ }
3055
+ };
3056
+ P2.styles = H`:host { display: contents; }`;
3057
+ let W1 = P2;
3058
+ customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", W1);
3059
+ var N4 = Object.defineProperty, U = (l, e, t, o) => {
3025
3060
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3026
3061
  (n = l[i]) && (C = n(e, t, C) || C);
3027
- return C && _4(e, t, C), C;
3062
+ return C && N4(e, t, C), C;
3028
3063
  };
3029
- const I1 = "anduin-menu-item:click", _2 = class _2 extends h {
3064
+ const X1 = "anduin-menu-item:click", S2 = class S2 extends u {
3030
3065
  constructor() {
3031
3066
  super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
3032
3067
  var t;
@@ -3041,10 +3076,10 @@ const I1 = "anduin-menu-item:click", _2 = class _2 extends h {
3041
3076
  this.open = !this.open;
3042
3077
  }
3043
3078
  connectedCallback() {
3044
- super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(I1, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
3079
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(X1, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
3045
3080
  }
3046
3081
  disconnectedCallback() {
3047
- super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(I1, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
3082
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(X1, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
3048
3083
  }
3049
3084
  updated(e) {
3050
3085
  e.has("open") && this.open && requestAnimationFrame(() => this._updatePosition());
@@ -3057,28 +3092,28 @@ const I1 = "anduin-menu-item:click", _2 = class _2 extends h {
3057
3092
  const i = t.getBoundingClientRect();
3058
3093
  t.style.transform = C;
3059
3094
  const n = t.getBoundingClientRect(), a = 4;
3060
- let s = 0, c = 0, p = "bottom";
3095
+ let s = 0, c = 0, h = "bottom";
3061
3096
  switch (this.placement) {
3062
3097
  case "bottom-start":
3063
- s = o.left, c = o.bottom + a, p = "bottom";
3098
+ s = o.left, c = o.bottom + a, h = "bottom";
3064
3099
  break;
3065
3100
  case "bottom-end":
3066
- s = o.right - n.width, c = o.bottom + a, p = "bottom";
3101
+ s = o.right - n.width, c = o.bottom + a, h = "bottom";
3067
3102
  break;
3068
3103
  case "bottom":
3069
- s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, p = "bottom";
3104
+ s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, h = "bottom";
3070
3105
  break;
3071
3106
  case "top-start":
3072
- s = o.left, c = o.top - n.height - a, p = "top";
3107
+ s = o.left, c = o.top - n.height - a, h = "top";
3073
3108
  break;
3074
3109
  case "top-end":
3075
- s = o.right - n.width, c = o.top - n.height - a, p = "top";
3110
+ s = o.right - n.width, c = o.top - n.height - a, h = "top";
3076
3111
  break;
3077
3112
  case "top":
3078
- s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, p = "top";
3113
+ s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, h = "top";
3079
3114
  break;
3080
3115
  }
3081
- t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = p;
3116
+ t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = h;
3082
3117
  }
3083
3118
  render() {
3084
3119
  return d`
@@ -3093,7 +3128,7 @@ const I1 = "anduin-menu-item:click", _2 = class _2 extends h {
3093
3128
  `;
3094
3129
  }
3095
3130
  };
3096
- _2.styles = H`
3131
+ S2.styles = H`
3097
3132
  :host { display: inline-block; font-family: var(--font-sans); }
3098
3133
 
3099
3134
  .menu__trigger { display: inline-block; }
@@ -3136,25 +3171,25 @@ _2.styles = H`
3136
3171
  transform: scale(1) translateY(0);
3137
3172
  }
3138
3173
  `;
3139
- let D = _2;
3140
- I([
3174
+ let j = S2;
3175
+ U([
3141
3176
  r({ type: Boolean, reflect: !0 })
3142
- ], D.prototype, "open");
3143
- I([
3177
+ ], j.prototype, "open");
3178
+ U([
3144
3179
  r()
3145
- ], D.prototype, "placement");
3146
- I([
3147
- O(".menu__trigger")
3148
- ], D.prototype, "_triggerEl");
3149
- I([
3150
- O(".menu__panel")
3151
- ], D.prototype, "_panelEl");
3152
- const w2 = class w2 extends h {
3180
+ ], j.prototype, "placement");
3181
+ U([
3182
+ F(".menu__trigger")
3183
+ ], j.prototype, "_triggerEl");
3184
+ U([
3185
+ F(".menu__panel")
3186
+ ], j.prototype, "_panelEl");
3187
+ const D2 = class D2 extends u {
3153
3188
  constructor() {
3154
3189
  super(...arguments), this.icon = "", this.variant = "default", this.disabled = !1;
3155
3190
  }
3156
3191
  _onClick() {
3157
- this.dispatchEvent(new CustomEvent(I1, { bubbles: !0, composed: !0 }));
3192
+ this.dispatchEvent(new CustomEvent(X1, { bubbles: !0, composed: !0 }));
3158
3193
  }
3159
3194
  render() {
3160
3195
  return d`
@@ -3165,13 +3200,13 @@ const w2 = class w2 extends h {
3165
3200
  part="menu-item"
3166
3201
  @click=${this._onClick}
3167
3202
  >
3168
- ${this.icon ? d`<anduin-icon name="${this.icon}" size="16"></anduin-icon>` : u}
3203
+ ${this.icon ? d`<anduin-icon name="${this.icon}" size="16"></anduin-icon>` : p}
3169
3204
  <span class="menu-item__label"><slot></slot></span>
3170
3205
  </button>
3171
3206
  `;
3172
3207
  }
3173
3208
  };
3174
- w2.styles = H`
3209
+ D2.styles = H`
3175
3210
  :host { display: block; width: 100%; font-family: var(--font-sans); }
3176
3211
  .menu-item {
3177
3212
  display: flex;
@@ -3201,33 +3236,33 @@ w2.styles = H`
3201
3236
  anduin-icon { color: var(--color-gray-7); }
3202
3237
  .menu-item--danger anduin-icon { color: var(--color-danger-4); }
3203
3238
  `;
3204
- let q = w2;
3205
- I([
3239
+ let Q = D2;
3240
+ U([
3206
3241
  r()
3207
- ], q.prototype, "icon");
3208
- I([
3242
+ ], Q.prototype, "icon");
3243
+ U([
3209
3244
  r()
3210
- ], q.prototype, "variant");
3211
- I([
3245
+ ], Q.prototype, "variant");
3246
+ U([
3212
3247
  r({ type: Boolean })
3213
- ], q.prototype, "disabled");
3214
- customElements.get("anduin-menu") || customElements.define("anduin-menu", D);
3215
- customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", q);
3216
- var w4 = Object.defineProperty, h1 = (l, e, t, o) => {
3248
+ ], Q.prototype, "disabled");
3249
+ customElements.get("anduin-menu") || customElements.define("anduin-menu", j);
3250
+ customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", Q);
3251
+ var j4 = Object.defineProperty, q = (l, e, t, o) => {
3217
3252
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3218
3253
  (n = l[i]) && (C = n(e, t, C) || C);
3219
- return C && w4(e, t, C), C;
3254
+ return C && j4(e, t, C), C;
3220
3255
  };
3221
- const W2 = 300, k4 = 200, $4 = 250;
3222
- var k;
3223
- const Y = (k = class extends h {
3256
+ const P1 = 300, a5 = 200, U4 = 250;
3257
+ var A;
3258
+ const S = (A = class extends u {
3224
3259
  constructor() {
3225
- super(...arguments), this.open = !1, this.heading = "", this.hideFooter = !1, this.maxWidth = "480", this._leaving = !1;
3260
+ super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.maxWidth = "480", this.fullscreen = !1, this._leaving = !1;
3226
3261
  }
3227
3262
  updated(e) {
3228
3263
  var t;
3229
3264
  if (e.has("maxWidth")) {
3230
- const o = this.maxWidth, C = k._PRESETS.has(o) ? `${o}px` : o;
3265
+ const o = this.maxWidth, C = A._PRESETS.has(o) ? `${o}px` : o;
3231
3266
  this.style.setProperty("--_modal-width", C);
3232
3267
  }
3233
3268
  if (e.has("open")) {
@@ -3252,13 +3287,19 @@ const Y = (k = class extends h {
3252
3287
  this.dispatch("close");
3253
3288
  }
3254
3289
  render() {
3255
- const e = this._leaving;
3290
+ const e = this._leaving, t = this.fullscreen;
3256
3291
  return d`
3257
3292
  <div class=${`overlay${e ? " is-leaving" : ""}`} @click=${this.onOverlayClick}></div>
3258
- <div class="modal-wrapper">
3259
- <div class=${`modal${e ? " is-leaving" : ""}`} role="dialog" aria-modal="true" aria-labelledby="modal-title">
3293
+ <div class=${`modal-wrapper${t ? " modal-wrapper--fullscreen" : ""}`}>
3294
+ <div class=${`modal${t ? " modal--fullscreen" : ""}${e ? " is-leaving" : ""}`} role="dialog" aria-modal="true" aria-labelledby="modal-title">
3295
+ ${this.hideHeader ? p : d`
3260
3296
  <div class="header">
3261
- ${this.heading ? d`<p id="modal-title" class="title">${this.heading}</p>` : u}
3297
+ <div class="header-slot">
3298
+ <slot name="header">
3299
+ ${this.heading ? d`<p id="modal-title" class="title">${this.heading}</p>` : p}
3300
+ </slot>
3301
+ </div>
3302
+ <span class="header-sep"></span>
3262
3303
  <anduin-button
3263
3304
  appearance="plain"
3264
3305
  variant="gray9"
@@ -3267,16 +3308,16 @@ const Y = (k = class extends h {
3267
3308
  start-icon="cross"
3268
3309
  @click=${this.onClose}
3269
3310
  ></anduin-button>
3270
- </div>
3311
+ </div>`}
3271
3312
  <div class="body">
3272
3313
  <slot></slot>
3273
3314
  </div>
3274
- ${this.hideFooter ? u : d`<div class="footer"><slot name="footer"></slot></div>`}
3315
+ ${this.hideFooter ? p : d`<div class="footer"><slot name="footer"></slot></div>`}
3275
3316
  </div>
3276
3317
  </div>
3277
3318
  `;
3278
3319
  }
3279
- }, k.styles = H`
3320
+ }, A.styles = H`
3280
3321
  :host {
3281
3322
  display: none;
3282
3323
  font-family: var(--font-sans);
@@ -3303,15 +3344,23 @@ const Y = (k = class extends h {
3303
3344
  from { opacity: 1; transform: translateY(0); }
3304
3345
  to { opacity: 0; transform: translateY(12px); }
3305
3346
  }
3347
+ @keyframes modalFullscreenIn {
3348
+ from { opacity: 0; transform: translateY(24px); }
3349
+ to { opacity: 1; transform: translateY(0); }
3350
+ }
3351
+ @keyframes modalFullscreenOut {
3352
+ from { opacity: 1; transform: translateY(0); }
3353
+ to { opacity: 0; transform: translateY(24px); }
3354
+ }
3306
3355
  .overlay {
3307
3356
  position: absolute;
3308
3357
  inset: 0;
3309
3358
  background: rgba(50, 60, 77, 0.6);
3310
3359
  cursor: default;
3311
- animation: overlayIn ${W2}ms cubic-bezier(0.2, 0, 0, 1) forwards;
3360
+ animation: overlayIn ${P1}ms cubic-bezier(0.2, 0, 0, 1) forwards;
3312
3361
  }
3313
3362
  .overlay.is-leaving {
3314
- animation: overlayOut ${$4}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3363
+ animation: overlayOut ${U4}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3315
3364
  }
3316
3365
  .modal-wrapper {
3317
3366
  position: absolute;
@@ -3334,10 +3383,42 @@ const Y = (k = class extends h {
3334
3383
  max-height: calc(100vh - 64px);
3335
3384
  box-shadow: 0 8px 24px 0 rgba(29, 41, 57, 0.12), 0 2px 8px 0 rgba(29, 41, 57, 0.08);
3336
3385
  flex-shrink: 0;
3337
- animation: modalIn ${W2}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3386
+ animation: modalIn ${P1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3338
3387
  }
3339
3388
  .modal.is-leaving {
3340
- animation: modalOut ${k4}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3389
+ animation: modalOut ${a5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3390
+ }
3391
+ .modal-wrapper--fullscreen {
3392
+ padding: 0;
3393
+ align-items: stretch;
3394
+ height: 100%;
3395
+ overflow: hidden;
3396
+ }
3397
+ .modal--fullscreen .header {
3398
+ flex-direction: row-reverse;
3399
+ align-items: center;
3400
+ padding: 8px;
3401
+ border-bottom: 1px solid var(--color-gray-3, #e4e7ec);
3402
+ }
3403
+ .modal--fullscreen .header-sep {
3404
+ display: block;
3405
+ width: 1px;
3406
+ height: 20px;
3407
+ margin-left: 8px;
3408
+ margin-right: 16px;
3409
+ background: var(--color-gray-3, #e4e7ec);
3410
+ flex-shrink: 0;
3411
+ }
3412
+ .modal--fullscreen {
3413
+ border-radius: 0;
3414
+ max-width: 100%;
3415
+ max-height: 100%;
3416
+ height: 100%;
3417
+ box-shadow: none;
3418
+ animation: modalFullscreenIn ${P1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3419
+ }
3420
+ .modal--fullscreen.is-leaving {
3421
+ animation: modalFullscreenOut ${a5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3341
3422
  }
3342
3423
  .header {
3343
3424
  flex-shrink: 0;
@@ -3345,6 +3426,8 @@ const Y = (k = class extends h {
3345
3426
  align-items: flex-start;
3346
3427
  padding: 20px 28px;
3347
3428
  }
3429
+ .header-slot { flex: 1; min-width: 0; }
3430
+ .header-sep { display: none; }
3348
3431
  .title {
3349
3432
  flex: 1;
3350
3433
  font-size: 20px;
@@ -3369,25 +3452,35 @@ const Y = (k = class extends h {
3369
3452
  gap: 8px;
3370
3453
  padding: 24px 28px;
3371
3454
  }
3372
- `, k._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), k);
3373
- h1([
3455
+ .modal--fullscreen .footer {
3456
+ padding: 16px 24px;
3457
+ border-top: 1px solid var(--color-gray-3, #e4e7ec);
3458
+ }
3459
+ `, A._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), A);
3460
+ q([
3374
3461
  r({ type: Boolean, reflect: !0 })
3375
- ], Y.prototype, "open");
3376
- h1([
3462
+ ], S.prototype, "open");
3463
+ q([
3377
3464
  r()
3378
- ], Y.prototype, "heading");
3379
- h1([
3465
+ ], S.prototype, "heading");
3466
+ q([
3467
+ r({ type: Boolean, attribute: "hide-header" })
3468
+ ], S.prototype, "hideHeader");
3469
+ q([
3380
3470
  r({ type: Boolean, attribute: "hide-footer" })
3381
- ], Y.prototype, "hideFooter");
3382
- h1([
3471
+ ], S.prototype, "hideFooter");
3472
+ q([
3383
3473
  r({ attribute: "max-width" })
3384
- ], Y.prototype, "maxWidth");
3385
- h1([
3386
- u1()
3387
- ], Y.prototype, "_leaving");
3388
- let E4 = Y;
3389
- customElements.get("anduin-modal") || customElements.define("anduin-modal", E4);
3390
- class A4 extends HTMLElement {
3474
+ ], S.prototype, "maxWidth");
3475
+ q([
3476
+ r({ type: Boolean })
3477
+ ], S.prototype, "fullscreen");
3478
+ q([
3479
+ _()
3480
+ ], S.prototype, "_leaving");
3481
+ let q4 = S;
3482
+ customElements.get("anduin-modal") || customElements.define("anduin-modal", q4);
3483
+ class G4 extends HTMLElement {
3391
3484
  constructor() {
3392
3485
  super(...arguments), this._onClick = () => {
3393
3486
  this.dispatchEvent(new CustomEvent("close", { bubbles: !0, composed: !0 }));
@@ -3400,14 +3493,120 @@ class A4 extends HTMLElement {
3400
3493
  this.removeEventListener("click", this._onClick);
3401
3494
  }
3402
3495
  }
3403
- customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", A4);
3496
+ customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", G4);
3497
+ var Y4 = Object.defineProperty, G = (l, e, t, o) => {
3498
+ for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3499
+ (n = l[i]) && (C = n(e, t, C) || C);
3500
+ return C && Y4(e, t, C), C;
3501
+ };
3502
+ const s5 = [
3503
+ { bg: "#6172F3", text: "#ffffff" },
3504
+ { bg: "#B692F6", text: "#ffffff" },
3505
+ { bg: "#F670C7", text: "#ffffff" },
3506
+ { bg: "#F79009", text: "#ffffff" },
3507
+ { bg: "#32D583", text: "#ffffff" },
3508
+ { bg: "#36BFFA", text: "#ffffff" },
3509
+ { bg: "#F97066", text: "#ffffff" },
3510
+ { bg: "#7A5AF8", text: "#ffffff" }
3511
+ ];
3512
+ function W4(l) {
3513
+ let e = 0;
3514
+ for (let t = 0; t < l.length; t++) e = e * 31 + l.charCodeAt(t) >>> 0;
3515
+ return s5[e % s5.length];
3516
+ }
3517
+ function X4(l) {
3518
+ var t;
3519
+ const e = l.trim().split(/\s+/);
3520
+ return e.length === 1 ? ((t = e[0][0]) == null ? void 0 : t.toUpperCase()) ?? "" : ((e[0][0] ?? "") + (e[e.length - 1][0] ?? "")).toUpperCase();
3521
+ }
3522
+ const O2 = class O2 extends u {
3523
+ constructor() {
3524
+ super(...arguments), this.src = "", this.name = "", this.alt = "", this.icon = "", this.size = 32, this.shape = "circle", this._imgError = !1;
3525
+ }
3526
+ _onImgError() {
3527
+ this._imgError = !0;
3528
+ }
3529
+ _iconSize() {
3530
+ return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
3531
+ }
3532
+ render() {
3533
+ const e = !!this.src && !this._imgError, t = this.name || this.icon ? W4(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, o = this.name ? X4(this.name) : "";
3534
+ return d`
3535
+ <div
3536
+ class="avatar avatar--${this.shape} avatar--${this.size}"
3537
+ style=${e ? "" : `background:${t.bg}`}
3538
+ aria-label=${this.alt || this.name || this.icon || "avatar"}
3539
+ role="img"
3540
+ part="avatar"
3541
+ >
3542
+ ${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>` : o ? d`<span style="color:${t.text};background:${t.bg};width:100%;height:100%;display:flex;align-items:center;justify-content:center">${o}</span>` : d`<span style="color:#98A2B3;background:#F2F4F7;width:100%;height:100%;display:flex;align-items:center;justify-content:center">
3543
+ <svg width="60%" height="60%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
3544
+ <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"/>
3545
+ </svg>
3546
+ </span>`}
3547
+ </div>
3548
+ `;
3549
+ }
3550
+ };
3551
+ O2.styles = H`
3552
+ :host { display: inline-flex; }
3553
+
3554
+ .avatar {
3555
+ display: inline-flex;
3556
+ align-items: center;
3557
+ justify-content: center;
3558
+ overflow: hidden;
3559
+ flex-shrink: 0;
3560
+ user-select: none;
3561
+ font-family: var(--font-sans);
3562
+ font-weight: 600;
3563
+ line-height: 1;
3564
+ }
3565
+ .avatar--circle { border-radius: 50%; }
3566
+ .avatar--rounded { border-radius: 4px; }
3567
+
3568
+ .avatar--16 { width: 16px; height: 16px; font-size: 8px; }
3569
+ .avatar--20 { width: 20px; height: 20px; font-size: 9px; }
3570
+ .avatar--24 { width: 24px; height: 24px; font-size: 10px; }
3571
+ .avatar--32 { width: 32px; height: 32px; font-size: 13px; }
3572
+
3573
+ img {
3574
+ width: 100%;
3575
+ height: 100%;
3576
+ object-fit: cover;
3577
+ display: block;
3578
+ }
3579
+ `;
3580
+ let x = O2;
3581
+ G([
3582
+ r()
3583
+ ], x.prototype, "src");
3584
+ G([
3585
+ r()
3586
+ ], x.prototype, "name");
3587
+ G([
3588
+ r()
3589
+ ], x.prototype, "alt");
3590
+ G([
3591
+ r()
3592
+ ], x.prototype, "icon");
3593
+ G([
3594
+ r({ type: Number })
3595
+ ], x.prototype, "size");
3596
+ G([
3597
+ r()
3598
+ ], x.prototype, "shape");
3599
+ G([
3600
+ _()
3601
+ ], x.prototype, "_imgError");
3602
+ customElements.get("anduin-avatar") || customElements.define("anduin-avatar", x);
3404
3603
  /**
3405
3604
  * @license
3406
3605
  * Copyright 2017 Google LLC
3407
3606
  * SPDX-License-Identifier: BSD-3-Clause
3408
3607
  */
3409
- const B4 = { CHILD: 2 }, F4 = (l) => (...e) => ({ _$litDirective$: l, values: e });
3410
- class z4 {
3608
+ const K4 = { CHILD: 2 }, J4 = (l) => (...e) => ({ _$litDirective$: l, values: e });
3609
+ class Q4 {
3411
3610
  constructor(e) {
3412
3611
  }
3413
3612
  get _$AU() {
@@ -3428,13 +3627,13 @@ class z4 {
3428
3627
  * Copyright 2017 Google LLC
3429
3628
  * SPDX-License-Identifier: BSD-3-Clause
3430
3629
  */
3431
- class T1 extends z4 {
3630
+ class K1 extends Q4 {
3432
3631
  constructor(e) {
3433
- if (super(e), this.it = u, e.type !== B4.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3632
+ if (super(e), this.it = p, e.type !== K4.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3434
3633
  }
3435
3634
  render(e) {
3436
- if (e === u || e == null) return this._t = void 0, this.it = e;
3437
- if (e === P) return e;
3635
+ if (e === p || e == null) return this._t = void 0, this.it = e;
3636
+ if (e === N) return e;
3438
3637
  if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
3439
3638
  if (e === this.it) return this._t;
3440
3639
  this.it = e;
@@ -3442,16 +3641,16 @@ class T1 extends z4 {
3442
3641
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
3443
3642
  }
3444
3643
  }
3445
- T1.directiveName = "unsafeHTML", T1.resultType = 1;
3644
+ K1.directiveName = "unsafeHTML", K1.resultType = 1;
3446
3645
  /**
3447
3646
  * @license
3448
3647
  * Copyright 2017 Google LLC
3449
3648
  * SPDX-License-Identifier: BSD-3-Clause
3450
3649
  */
3451
- class N1 extends T1 {
3650
+ class J1 extends K1 {
3452
3651
  }
3453
- N1.directiveName = "unsafeSVG", N1.resultType = 2;
3454
- const P4 = F4(N1), S4 = {
3652
+ J1.directiveName = "unsafeSVG", J1.resultType = 2;
3653
+ const e3 = J4(J1), t3 = {
3455
3654
  archive: {
3456
3655
  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"/>
3457
3656
  <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"/>
@@ -3695,26 +3894,26 @@ const P4 = F4(N1), S4 = {
3695
3894
  <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"/>
3696
3895
  <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"/>` }
3697
3896
  }
3698
- }, D4 = [32, 24, 16];
3699
- function O4(l, e) {
3700
- const t = S4[l];
3897
+ }, C3 = [32, 24, 16];
3898
+ function o3(l, e) {
3899
+ const t = t3[l];
3701
3900
  if (!t) return null;
3702
3901
  if (t[e]) return t[e];
3703
- for (const o of D4)
3902
+ for (const o of C3)
3704
3903
  if (t[o]) return t[o];
3705
3904
  return null;
3706
3905
  }
3707
- var I4 = Object.defineProperty, f5 = (l, e, t, o) => {
3906
+ var l3 = Object.defineProperty, A5 = (l, e, t, o) => {
3708
3907
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3709
3908
  (n = l[i]) && (C = n(e, t, C) || C);
3710
- return C && I4(e, t, C), C;
3909
+ return C && l3(e, t, C), C;
3711
3910
  };
3712
- const k2 = class k2 extends h {
3911
+ const I2 = class I2 extends u {
3713
3912
  constructor() {
3714
3913
  super(...arguments), this.type = "pdf", this.size = 32;
3715
3914
  }
3716
3915
  render() {
3717
- const e = O4(this.type, this.size);
3916
+ const e = o3(this.type, this.size);
3718
3917
  return e ? d`
3719
3918
  <svg
3720
3919
  width=${this.size}
@@ -3725,84 +3924,407 @@ const k2 = class k2 extends h {
3725
3924
  aria-label="${this.type} file"
3726
3925
  role="img"
3727
3926
  >
3728
- ${P4(e.paths)}
3927
+ ${e3(e.paths)}
3729
3928
  </svg>
3730
- ` : u;
3929
+ ` : p;
3731
3930
  }
3732
3931
  };
3733
- k2.styles = H`
3932
+ I2.styles = H`
3734
3933
  :host { display: inline-flex; align-items: center; justify-content: center; }
3735
3934
  svg { display: block; }
3736
3935
  `;
3737
- let d1 = k2;
3738
- f5([
3936
+ let f1 = I2;
3937
+ A5([
3739
3938
  r()
3740
- ], d1.prototype, "type");
3741
- f5([
3939
+ ], f1.prototype, "type");
3940
+ A5([
3742
3941
  r({ type: Number })
3743
- ], d1.prototype, "size");
3744
- customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", d1);
3942
+ ], f1.prototype, "size");
3943
+ customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", f1);
3944
+ var i3 = Object.defineProperty, Y = (l, e, t, o) => {
3945
+ for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3946
+ (n = l[i]) && (C = n(e, t, C) || C);
3947
+ return C && i3(e, t, C), C;
3948
+ };
3949
+ const d5 = {
3950
+ gray: "info",
3951
+ primary: "infoCircleLine",
3952
+ success: "checkCircle",
3953
+ warning: "warning",
3954
+ danger: "error"
3955
+ }, n3 = "anduin-toast:dismiss", T2 = class T2 extends u {
3956
+ constructor() {
3957
+ super(...arguments), this.variant = "gray", this.heading = "", this.description = "", this._dismissing = !1;
3958
+ }
3959
+ dismiss() {
3960
+ var t;
3961
+ if (this._dismissing) return;
3962
+ this._dismissing = !0;
3963
+ const e = (o) => {
3964
+ var C;
3965
+ o.propertyName === "opacity" && ((C = this._toastEl) == null || C.removeEventListener("transitionend", e), this.dispatchEvent(
3966
+ new CustomEvent(n3, { bubbles: !0, composed: !0 })
3967
+ ));
3968
+ };
3969
+ (t = this._toastEl) == null || t.addEventListener("transitionend", e);
3970
+ }
3971
+ _onClose() {
3972
+ this.dismiss();
3973
+ }
3974
+ render() {
3975
+ const e = d5[this.variant] ?? d5.gray;
3976
+ return d`
3977
+ <div
3978
+ class="toast toast--${this.variant} ${this._dismissing ? "toast--dismissing" : ""}"
3979
+ part="toast"
3980
+ role="alert"
3981
+ aria-live="assertive"
3982
+ >
3983
+ <div class="toast__icon toast__icon--${this.variant}">
3984
+ <anduin-icon name=${e} size="16"></anduin-icon>
3985
+ </div>
3986
+ <div class="toast__body">
3987
+ ${this.heading ? d`<div class="toast__title">${this.heading}</div>` : ""}
3988
+ ${this.description ? d`<div class="toast__description">${this.description}</div>` : d`<div class="toast__description"><slot></slot></div>`}
3989
+ </div>
3990
+ <button
3991
+ class="toast__close"
3992
+ aria-label="Dismiss"
3993
+ @click=${this._onClose}
3994
+ >
3995
+ <anduin-icon name="cross" size="14"></anduin-icon>
3996
+ </button>
3997
+ </div>
3998
+ `;
3999
+ }
4000
+ };
4001
+ T2.styles = H`
4002
+ :host {
4003
+ display: block;
4004
+ font-family: var(--font-sans);
4005
+ pointer-events: auto;
4006
+ }
4007
+
4008
+ @keyframes toast-in {
4009
+ from {
4010
+ opacity: 0;
4011
+ transform: translateX(-12px) scale(0.97);
4012
+ }
4013
+ to {
4014
+ opacity: 1;
4015
+ transform: translateX(0) scale(1);
4016
+ }
4017
+ }
4018
+
4019
+ .toast {
4020
+ display: flex;
4021
+ align-items: flex-start;
4022
+ gap: 10px;
4023
+ padding: 12px;
4024
+ border-radius: 8px;
4025
+ box-shadow: var(
4026
+ --shadow-4,
4027
+ 0px 4px 8px rgba(29, 41, 57, 0.08),
4028
+ 0px 16px 48px rgba(29, 41, 57, 0.16)
4029
+ );
4030
+ min-width: 300px;
4031
+ max-width: 420px;
4032
+ width: max-content;
4033
+ opacity: 1;
4034
+ transform: translateX(0) scale(1);
4035
+ transition:
4036
+ opacity 200ms ease,
4037
+ transform 200ms ease;
4038
+ animation: toast-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
4039
+ }
4040
+
4041
+ .toast--dismissing {
4042
+ opacity: 0;
4043
+ transform: translateX(-12px) scale(0.97);
4044
+ }
4045
+
4046
+ /* Dark gray9 background for all variants */
4047
+ .toast {
4048
+ background: var(--color-gray-9, #101828);
4049
+ border: 1px solid var(--color-gray-8, #1d2939);
4050
+ }
4051
+
4052
+ .toast__icon {
4053
+ flex-shrink: 0;
4054
+ display: flex;
4055
+ align-items: center;
4056
+ justify-content: center;
4057
+ margin-top: 2px;
4058
+ }
4059
+ .toast__icon--gray {
4060
+ color: var(--color-gray-4, #98a2b3);
4061
+ }
4062
+ .toast__icon--primary {
4063
+ color: var(--color-primary-3, #8098f9);
4064
+ }
4065
+ .toast__icon--success {
4066
+ color: var(--color-success-3, #47cd89);
4067
+ }
4068
+ .toast__icon--warning {
4069
+ color: var(--color-warning-3, #fdb022);
4070
+ }
4071
+ .toast__icon--danger {
4072
+ color: var(--color-danger-3, #f97066);
4073
+ }
4074
+
4075
+ .toast__body {
4076
+ flex: 1;
4077
+ min-width: 0;
4078
+ display: flex;
4079
+ flex-direction: column;
4080
+ gap: 2px;
4081
+ }
4082
+
4083
+ .toast__title {
4084
+ font-size: var(--text-13, 13px);
4085
+ font-weight: 600;
4086
+ color: var(--color-gray-0, #ffffff);
4087
+ line-height: 20px;
4088
+ }
4089
+
4090
+ .toast__description {
4091
+ font-size: var(--text-13, 13px);
4092
+ font-weight: 400;
4093
+ color: var(--color-gray-4, #98a2b3);
4094
+ line-height: 20px;
4095
+ }
4096
+
4097
+ .toast__close {
4098
+ flex-shrink: 0;
4099
+ display: inline-flex;
4100
+ align-items: center;
4101
+ justify-content: center;
4102
+ width: 24px;
4103
+ height: 24px;
4104
+ background: none;
4105
+ border: none;
4106
+ cursor: pointer;
4107
+ border-radius: 4px;
4108
+ padding: 0;
4109
+ color: var(--color-gray-5, #667085);
4110
+ margin-top: -2px;
4111
+ }
4112
+ .toast__close:hover {
4113
+ background: var(--color-gray-8, #1d2939);
4114
+ color: var(--color-gray-2, #eaecf0);
4115
+ }
4116
+ .toast__close:active {
4117
+ background: var(--color-gray-7, #344054);
4118
+ }
4119
+ `;
4120
+ let z = T2;
4121
+ Y([
4122
+ r()
4123
+ ], z.prototype, "variant");
4124
+ Y([
4125
+ r()
4126
+ ], z.prototype, "heading");
4127
+ Y([
4128
+ r()
4129
+ ], z.prototype, "description");
4130
+ Y([
4131
+ _()
4132
+ ], z.prototype, "_dismissing");
4133
+ Y([
4134
+ F(".toast")
4135
+ ], z.prototype, "_toastEl");
4136
+ customElements.get("anduin-toast") || customElements.define("anduin-toast", z);
4137
+ const N2 = class N2 extends u {
4138
+ constructor() {
4139
+ super(...arguments), this.position = "bottom-left", this._toasts = [], this._nextId = 0;
4140
+ }
4141
+ show(e) {
4142
+ const t = this._nextId++, o = e.position ?? this.position;
4143
+ this._toasts = [...this._toasts, { id: t, opts: { ...e, position: o } }];
4144
+ const C = e.duration ?? 4e3;
4145
+ return C > 0 && setTimeout(() => this._dismissById(t), C), t;
4146
+ }
4147
+ dismiss(e) {
4148
+ this._dismissById(e);
4149
+ }
4150
+ _dismissById(e) {
4151
+ var o;
4152
+ const t = (o = this.shadowRoot) == null ? void 0 : o.querySelector(
4153
+ `anduin-toast[data-id="${e}"]`
4154
+ );
4155
+ t ? t.dismiss() : this._removeById(e);
4156
+ }
4157
+ _removeById(e) {
4158
+ this._toasts = this._toasts.filter((t) => t.id !== e);
4159
+ }
4160
+ _onDismiss(e, t) {
4161
+ e.stopPropagation(), this._removeById(t);
4162
+ }
4163
+ render() {
4164
+ return d`
4165
+ <div class="toaster toaster--${this.position}" part="toaster">
4166
+ ${this._toasts.map(
4167
+ ({ id: e, opts: t }) => d`
4168
+ <anduin-toast
4169
+ data-id=${e}
4170
+ variant=${t.variant ?? "gray"}
4171
+ heading=${t.heading ?? ""}
4172
+ description=${t.description ?? ""}
4173
+ @anduin-toast:dismiss=${(o) => this._onDismiss(o, e)}
4174
+ ></anduin-toast>
4175
+ `
4176
+ )}
4177
+ </div>
4178
+ `;
4179
+ }
4180
+ };
4181
+ N2.styles = H`
4182
+ :host {
4183
+ display: contents;
4184
+ pointer-events: none;
4185
+ }
4186
+
4187
+ .toaster {
4188
+ position: fixed;
4189
+ z-index: 9999;
4190
+ display: flex;
4191
+ flex-direction: column;
4192
+ gap: 8px;
4193
+ pointer-events: none;
4194
+ }
4195
+
4196
+ /* Vertical positioning */
4197
+ .toaster--top-left,
4198
+ .toaster--top-center,
4199
+ .toaster--top-right {
4200
+ top: 20px;
4201
+ flex-direction: column;
4202
+ }
4203
+ .toaster--bottom-left,
4204
+ .toaster--bottom-center,
4205
+ .toaster--bottom-right {
4206
+ bottom: 20px;
4207
+ flex-direction: column-reverse;
4208
+ }
4209
+
4210
+ /* Horizontal positioning */
4211
+ .toaster--top-left,
4212
+ .toaster--bottom-left {
4213
+ left: 20px;
4214
+ align-items: flex-start;
4215
+ }
4216
+ .toaster--top-center,
4217
+ .toaster--bottom-center {
4218
+ left: 50%;
4219
+ transform: translateX(-50%);
4220
+ align-items: center;
4221
+ }
4222
+ .toaster--top-right,
4223
+ .toaster--bottom-right {
4224
+ right: 20px;
4225
+ align-items: flex-end;
4226
+ }
4227
+ `;
4228
+ let V1 = N2;
4229
+ Y([
4230
+ r()
4231
+ ], V1.prototype, "position");
4232
+ Y([
4233
+ _()
4234
+ ], V1.prototype, "_toasts");
4235
+ customElements.get("anduin-toaster") || customElements.define("anduin-toaster", V1);
4236
+ const c3 = {
4237
+ show(l) {
4238
+ return r3(l.position).show(l);
4239
+ },
4240
+ success(l, e, t) {
4241
+ return this.show({ ...t, variant: "success", heading: l, description: e });
4242
+ },
4243
+ danger(l, e, t) {
4244
+ return this.show({ ...t, variant: "danger", heading: l, description: e });
4245
+ },
4246
+ warning(l, e, t) {
4247
+ return this.show({ ...t, variant: "warning", heading: l, description: e });
4248
+ },
4249
+ primary(l, e, t) {
4250
+ return this.show({ ...t, variant: "primary", heading: l, description: e });
4251
+ },
4252
+ gray(l, e, t) {
4253
+ return this.show({ ...t, variant: "gray", heading: l, description: e });
4254
+ }
4255
+ }, S1 = /* @__PURE__ */ new Map();
4256
+ function r3(l = "bottom-left") {
4257
+ if (S1.has(l)) return S1.get(l);
4258
+ const e = document.createElement("anduin-toaster");
4259
+ return e.position = l, document.body.appendChild(e), S1.set(l, e), e;
4260
+ }
3745
4261
  if (typeof document < "u" && !document.getElementById("acl-tokens")) {
3746
4262
  const l = document.createElement("style");
3747
- l.id = "acl-tokens", l.textContent = b5, document.head.appendChild(l);
4263
+ l.id = "acl-tokens", l.textContent = S5, document.head.appendChild(l);
3748
4264
  }
3749
4265
  export {
3750
- f1 as AnduinBadge,
3751
- o1 as AnduinBadgeCount,
3752
- f as AnduinButton,
3753
- L1 as AnduinCallout,
3754
- $ as AnduinCheckbox,
3755
- l1 as AnduinDivider,
3756
- g1 as AnduinDot,
3757
- Z1 as AnduinField,
3758
- A1 as AnduinFieldDescription,
3759
- B1 as AnduinFieldError,
3760
- F1 as AnduinFieldGroup,
3761
- n1 as AnduinFieldLabel,
3762
- d1 as AnduinFileIcon,
3763
- C1 as AnduinIcon,
3764
- g as AnduinInput,
3765
- M1 as AnduinLoadingState,
3766
- D as AnduinMenu,
3767
- q as AnduinMenuItem,
3768
- E4 as AnduinModal,
3769
- A4 as AnduinModalClose,
3770
- S as AnduinPopover,
3771
- i1 as AnduinProgress,
4266
+ x as AnduinAvatar,
4267
+ Z1 as AnduinBadge,
4268
+ d1 as AnduinBadgeCount,
4269
+ V as AnduinButton,
4270
+ y1 as AnduinCallout,
4271
+ B as AnduinCheckbox,
4272
+ c1 as AnduinDivider,
4273
+ x1 as AnduinDot,
4274
+ R1 as AnduinField,
4275
+ O1 as AnduinFieldDescription,
4276
+ I1 as AnduinFieldError,
4277
+ T1 as AnduinFieldGroup,
4278
+ u1 as AnduinFieldLabel,
4279
+ f1 as AnduinFileIcon,
4280
+ s1 as AnduinIcon,
4281
+ L as AnduinInput,
4282
+ _1 as AnduinLoadingState,
4283
+ j as AnduinMenu,
4284
+ Q as AnduinMenuItem,
4285
+ q4 as AnduinModal,
4286
+ G4 as AnduinModalClose,
4287
+ k as AnduinPopover,
4288
+ W1 as AnduinPopoverClose,
4289
+ p1 as AnduinProgress,
3772
4290
  R as AnduinSkeleton,
3773
- t1 as AnduinSpinner,
3774
- a1 as AnduinTabContent,
3775
- x as AnduinTabTrigger,
3776
- U as AnduinTabs,
3777
- r1 as AnduinTabsList,
3778
- j as AnduinTag,
3779
- z1 as AnduinTagClose,
3780
- m as AnduinTextarea,
3781
- s1 as AnduinTooltip,
3782
- D1 as AnduinTooltipContent,
3783
- S1 as AnduinTooltipTrigger,
3784
- b1 as AnduinWell,
3785
- O1 as AnduinWellClose,
3786
- i5 as BADGE_STYLES,
3787
- s4 as CHECKBOX_CHANGE,
3788
- d5 as FIELD_LABEL_CLICK,
3789
- y1 as FIELD_LABEL_CLICK_COORDINATED,
3790
- S4 as FILE_ICONS,
3791
- j2 as INPUT_CHANGE,
3792
- c4 as INPUT_CLEAR,
3793
- I1 as MENU_ITEM_CLICK,
3794
- H4 as TAB_CHANGE,
3795
- c5 as TAB_TRIGGER_CLICK,
3796
- R1 as TAB_VALUE_CHANGED,
3797
- V4 as TAG_CLOSE_CLICK,
3798
- p4 as TEXTAREA_CHANGE,
3799
- H5 as TOOLTIP_CONTENT_POPUP_MOUNTED,
3800
- v5 as TOOLTIP_CONTENT_POPUP_UNMOUNTED,
3801
- K1 as TOOLTIP_HIDE,
3802
- p5 as TOOLTIP_SHOW,
3803
- h5 as TOOLTIP_TRIGGER_MOUNTED,
3804
- V5 as TOOLTIP_VISIBILITY_CHANGED,
3805
- R4 as WELL_CLOSE_CLICK,
3806
- n5 as getBadgeVariantClass,
3807
- O4 as resolveFileIcon
4291
+ a1 as AnduinSpinner,
4292
+ H1 as AnduinTabContent,
4293
+ w as AnduinTabTrigger,
4294
+ K as AnduinTabs,
4295
+ h1 as AnduinTabsList,
4296
+ J as AnduinTag,
4297
+ N1 as AnduinTagClose,
4298
+ Z as AnduinTextarea,
4299
+ z as AnduinToast,
4300
+ V1 as AnduinToaster,
4301
+ v1 as AnduinTooltip,
4302
+ q1 as AnduinTooltipContent,
4303
+ U1 as AnduinTooltipTrigger,
4304
+ w1 as AnduinWell,
4305
+ G1 as AnduinWellClose,
4306
+ L5 as BADGE_STYLES,
4307
+ Z4 as CHECKBOX_CHANGE,
4308
+ y5 as FIELD_LABEL_CLICK,
4309
+ $1 as FIELD_LABEL_CLICK_COORDINATED,
4310
+ t3 as FILE_ICONS,
4311
+ l5 as INPUT_CHANGE,
4312
+ x4 as INPUT_CLEAR,
4313
+ X1 as MENU_ITEM_CLICK,
4314
+ Y1 as POPOVER_CLOSE,
4315
+ k4 as TAB_CHANGE,
4316
+ x5 as TAB_TRIGGER_CLICK,
4317
+ E1 as TAB_VALUE_CHANGED,
4318
+ E4 as TAG_CLOSE_CLICK,
4319
+ R4 as TEXTAREA_CHANGE,
4320
+ k5 as TOOLTIP_CONTENT_POPUP_MOUNTED,
4321
+ $5 as TOOLTIP_CONTENT_POPUP_UNMOUNTED,
4322
+ i2 as TOOLTIP_HIDE,
4323
+ R5 as TOOLTIP_SHOW,
4324
+ w5 as TOOLTIP_TRIGGER_MOUNTED,
4325
+ E5 as TOOLTIP_VISIBILITY_CHANGED,
4326
+ I4 as WELL_CLOSE_CLICK,
4327
+ m5 as getBadgeVariantClass,
4328
+ o3 as resolveFileIcon,
4329
+ c3 as toast
3808
4330
  };