ma-icons 0.4.21 → 0.4.22

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.
@@ -46,7 +46,7 @@ const r0 = (i) => new t0(typeof i == "string" ? i : i + "", void 0, W), n0 = (i,
46
46
  * Copyright 2017 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const { is: a0, defineProperty: l0, getOwnPropertyDescriptor: h0, getOwnPropertyNames: d0, getOwnPropertySymbols: p0, getPrototypeOf: g0 } = Object, m = globalThis, q2 = m.trustedTypes, k0 = q2 ? q2.emptyScript : "", z = m.reactiveElementPolyfillSupport, H = (i, t) => i, T = { toAttribute(i, t) {
49
+ const { is: a0, defineProperty: l0, getOwnPropertyDescriptor: h0, getOwnPropertyNames: d0, getOwnPropertySymbols: p0, getPrototypeOf: g0 } = Object, m = globalThis, q2 = m.trustedTypes, k0 = q2 ? q2.emptyScript : "", z = m.reactiveElementPolyfillSupport, A = (i, t) => i, T = { toAttribute(i, t) {
50
50
  switch (t) {
51
51
  case Boolean:
52
52
  i = i ? k0 : null;
@@ -104,13 +104,13 @@ let x = class extends HTMLElement {
104
104
  return this.elementProperties.get(t) ?? W2;
105
105
  }
106
106
  static _$Ei() {
107
- if (this.hasOwnProperty(H("elementProperties"))) return;
107
+ if (this.hasOwnProperty(A("elementProperties"))) return;
108
108
  const t = g0(this);
109
109
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
110
110
  }
111
111
  static finalize() {
112
- if (this.hasOwnProperty(H("finalized"))) return;
113
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(H("properties"))) {
112
+ if (this.hasOwnProperty(A("finalized"))) return;
113
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(A("properties"))) {
114
114
  const e = this.properties, s = [...d0(e), ...p0(e)];
115
115
  for (const o of s) this.createProperty(o, e[o]);
116
116
  }
@@ -277,15 +277,15 @@ let x = class extends HTMLElement {
277
277
  firstUpdated(t) {
278
278
  }
279
279
  };
280
- x.elementStyles = [], x.shadowRootOptions = { mode: "open" }, x[H("elementProperties")] = /* @__PURE__ */ new Map(), x[H("finalized")] = /* @__PURE__ */ new Map(), z == null || z({ ReactiveElement: x }), (m.reactiveElementVersions ?? (m.reactiveElementVersions = [])).push("2.1.0");
280
+ x.elementStyles = [], x.shadowRootOptions = { mode: "open" }, x[A("elementProperties")] = /* @__PURE__ */ new Map(), x[A("finalized")] = /* @__PURE__ */ new Map(), z == null || z({ ReactiveElement: x }), (m.reactiveElementVersions ?? (m.reactiveElementVersions = [])).push("2.1.0");
281
281
  /**
282
282
  * @license
283
283
  * Copyright 2017 Google LLC
284
284
  * SPDX-License-Identifier: BSD-3-Clause
285
285
  */
286
- const S = globalThis, N = S.trustedTypes, F2 = N ? N.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, e0 = "$lit$", u = `lit$${Math.random().toFixed(9).slice(2)}$`, s0 = "?" + u, w0 = `<${s0}>`, $ = document, E = () => $.createComment(""), P = (i) => i === null || typeof i != "object" && typeof i != "function", J = Array.isArray, v0 = (i) => J(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", j = `[
286
+ const H = globalThis, N = H.trustedTypes, F2 = N ? N.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, e0 = "$lit$", u = `lit$${Math.random().toFixed(9).slice(2)}$`, s0 = "?" + u, w0 = `<${s0}>`, $ = document, V = () => $.createComment(""), E = (i) => i === null || typeof i != "object" && typeof i != "function", J = Array.isArray, v0 = (i) => J(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", j = `[
287
287
  \f\r]`, y = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, J2 = /-->/g, K2 = />/g, b = RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^
288
- \f\r"'\`<>=]|("|')|))|$)`, "g"), G2 = /'/g, Q2 = /"/g, o0 = /^(?:script|style|textarea|title)$/i, _0 = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), A = _0(1), M = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), X2 = /* @__PURE__ */ new WeakMap(), f = $.createTreeWalker($, 129);
288
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), G2 = /'/g, Q2 = /"/g, o0 = /^(?:script|style|textarea|title)$/i, _0 = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), U = _0(1), M = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), X2 = /* @__PURE__ */ new WeakMap(), f = $.createTreeWalker($, 129);
289
289
  function i0(i, t) {
290
290
  if (!J(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
291
291
  return F2 !== void 0 ? F2.createHTML(t) : t;
@@ -302,28 +302,28 @@ const u0 = (i, t) => {
302
302
  }
303
303
  return [i0(i, n + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
304
304
  };
305
- class B {
305
+ class P {
306
306
  constructor({ strings: t, _$litType$: e }, s) {
307
307
  let o;
308
308
  this.parts = [];
309
309
  let n = 0, r = 0;
310
310
  const a = t.length - 1, c = this.parts, [h, p] = u0(t, e);
311
- if (this.el = B.createElement(h, s), f.currentNode = this.el.content, e === 2 || e === 3) {
311
+ if (this.el = P.createElement(h, s), f.currentNode = this.el.content, e === 2 || e === 3) {
312
312
  const l = this.el.content.firstChild;
313
313
  l.replaceWith(...l.childNodes);
314
314
  }
315
315
  for (; (o = f.nextNode()) !== null && c.length < a; ) {
316
316
  if (o.nodeType === 1) {
317
317
  if (o.hasAttributes()) for (const l of o.getAttributeNames()) if (l.endsWith(e0)) {
318
- const v = p[r++], _ = o.getAttribute(l).split(u), U = /([.?@])?(.*)/.exec(v);
319
- c.push({ type: 1, index: n, name: U[2], strings: _, ctor: U[1] === "." ? b0 : U[1] === "?" ? f0 : U[1] === "@" ? C0 : R }), o.removeAttribute(l);
318
+ const v = p[r++], _ = o.getAttribute(l).split(u), O = /([.?@])?(.*)/.exec(v);
319
+ c.push({ type: 1, index: n, name: O[2], strings: _, ctor: O[1] === "." ? b0 : O[1] === "?" ? f0 : O[1] === "@" ? C0 : R }), o.removeAttribute(l);
320
320
  } else l.startsWith(u) && (c.push({ type: 6, index: n }), o.removeAttribute(l));
321
321
  if (o0.test(o.tagName)) {
322
322
  const l = o.textContent.split(u), v = l.length - 1;
323
323
  if (v > 0) {
324
324
  o.textContent = N ? N.emptyScript : "";
325
- for (let _ = 0; _ < v; _++) o.append(l[_], E()), f.nextNode(), c.push({ type: 2, index: ++n });
326
- o.append(l[v], E());
325
+ for (let _ = 0; _ < v; _++) o.append(l[_], V()), f.nextNode(), c.push({ type: 2, index: ++n });
326
+ o.append(l[v], V());
327
327
  }
328
328
  }
329
329
  } else if (o.nodeType === 8) if (o.data === s0) c.push({ type: 2, index: n });
@@ -343,7 +343,7 @@ function L(i, t, e = i, s) {
343
343
  var r, a;
344
344
  if (t === M) return t;
345
345
  let o = s !== void 0 ? (r = e._$Co) == null ? void 0 : r[s] : e._$Cl;
346
- const n = P(t) ? void 0 : t._$litDirective$;
346
+ const n = E(t) ? void 0 : t._$litDirective$;
347
347
  return (o == null ? void 0 : o.constructor) !== n && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), n === void 0 ? o = void 0 : (o = new n(i), o._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = o : e._$Cl = o), o !== void 0 && (t = L(i, o._$AS(i, t.values), o, s)), t;
348
348
  }
349
349
  class m0 {
@@ -363,7 +363,7 @@ class m0 {
363
363
  for (; c !== void 0; ) {
364
364
  if (r === c.index) {
365
365
  let h;
366
- c.type === 2 ? h = new O(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new $0(n, this, t)), this._$AV.push(h), c = s[++a];
366
+ c.type === 2 ? h = new B(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new $0(n, this, t)), this._$AV.push(h), c = s[++a];
367
367
  }
368
368
  r !== (c == null ? void 0 : c.index) && (n = f.nextNode(), r++);
369
369
  }
@@ -374,7 +374,7 @@ class m0 {
374
374
  for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
375
375
  }
376
376
  }
377
- class O {
377
+ class B {
378
378
  get _$AU() {
379
379
  var t;
380
380
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -394,7 +394,7 @@ class O {
394
394
  return this._$AB;
395
395
  }
396
396
  _$AI(t, e = this) {
397
- t = L(this, t, e), P(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== M && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : v0(t) ? this.k(t) : this._(t);
397
+ t = L(this, t, e), E(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== M && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : v0(t) ? this.k(t) : this._(t);
398
398
  }
399
399
  O(t) {
400
400
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -403,11 +403,11 @@ class O {
403
403
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
404
404
  }
405
405
  _(t) {
406
- this._$AH !== d && P(this._$AH) ? this._$AA.nextSibling.data = t : this.T($.createTextNode(t)), this._$AH = t;
406
+ this._$AH !== d && E(this._$AH) ? this._$AA.nextSibling.data = t : this.T($.createTextNode(t)), this._$AH = t;
407
407
  }
408
408
  $(t) {
409
409
  var n;
410
- const { values: e, _$litType$: s } = t, o = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = B.createElement(i0(s.h, s.h[0]), this.options)), s);
410
+ const { values: e, _$litType$: s } = t, o = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = P.createElement(i0(s.h, s.h[0]), this.options)), s);
411
411
  if (((n = this._$AH) == null ? void 0 : n._$AD) === o) this._$AH.p(e);
412
412
  else {
413
413
  const r = new m0(o, this), a = r.u(this.options);
@@ -416,13 +416,13 @@ class O {
416
416
  }
417
417
  _$AC(t) {
418
418
  let e = X2.get(t.strings);
419
- return e === void 0 && X2.set(t.strings, e = new B(t)), e;
419
+ return e === void 0 && X2.set(t.strings, e = new P(t)), e;
420
420
  }
421
421
  k(t) {
422
422
  J(this._$AH) || (this._$AH = [], this._$AR());
423
423
  const e = this._$AH;
424
424
  let s, o = 0;
425
- for (const n of t) o === e.length ? e.push(s = new O(this.O(E()), this.O(E()), this, this.options)) : s = e[o], s._$AI(n), o++;
425
+ for (const n of t) o === e.length ? e.push(s = new B(this.O(V()), this.O(V()), this, this.options)) : s = e[o], s._$AI(n), o++;
426
426
  o < e.length && (this._$AR(s && s._$AB.nextSibling, o), e.length = o);
427
427
  }
428
428
  _$AR(t = this._$AA.nextSibling, e) {
@@ -450,11 +450,11 @@ class R {
450
450
  _$AI(t, e = this, s, o) {
451
451
  const n = this.strings;
452
452
  let r = !1;
453
- if (n === void 0) t = L(this, t, e, 0), r = !P(t) || t !== this._$AH && t !== M, r && (this._$AH = t);
453
+ if (n === void 0) t = L(this, t, e, 0), r = !E(t) || t !== this._$AH && t !== M, r && (this._$AH = t);
454
454
  else {
455
455
  const a = t;
456
456
  let c, h;
457
- for (t = n[0], c = 0; c < n.length - 1; c++) h = L(this, a[s + c], e, c), h === M && (h = this._$AH[c]), r || (r = !P(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
457
+ for (t = n[0], c = 0; c < n.length - 1; c++) h = L(this, a[s + c], e, c), h === M && (h = this._$AH[c]), r || (r = !E(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
458
458
  }
459
459
  r && !o && this.j(t);
460
460
  }
@@ -503,14 +503,14 @@ class $0 {
503
503
  L(this, t);
504
504
  }
505
505
  }
506
- const D = S.litHtmlPolyfillSupport;
507
- D == null || D(B, O), (S.litHtmlVersions ?? (S.litHtmlVersions = [])).push("3.3.0");
506
+ const D = H.litHtmlPolyfillSupport;
507
+ D == null || D(P, B), (H.litHtmlVersions ?? (H.litHtmlVersions = [])).push("3.3.0");
508
508
  const x0 = (i, t, e) => {
509
509
  const s = (e == null ? void 0 : e.renderBefore) ?? t;
510
510
  let o = s._$litPart$;
511
511
  if (o === void 0) {
512
512
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
513
- s._$litPart$ = o = new O(t.insertBefore(E(), n), n, void 0, e ?? {});
513
+ s._$litPart$ = o = new B(t.insertBefore(V(), n), n, void 0, e ?? {});
514
514
  }
515
515
  return o._$AI(i), o;
516
516
  };
@@ -520,7 +520,7 @@ const x0 = (i, t, e) => {
520
520
  * SPDX-License-Identifier: BSD-3-Clause
521
521
  */
522
522
  const C = globalThis;
523
- class V extends x {
523
+ class S extends x {
524
524
  constructor() {
525
525
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
526
526
  }
@@ -546,9 +546,9 @@ class V extends x {
546
546
  }
547
547
  }
548
548
  var Y2;
549
- V._$litElement$ = !0, V.finalized = !0, (Y2 = C.litElementHydrateSupport) == null || Y2.call(C, { LitElement: V });
549
+ S._$litElement$ = !0, S.finalized = !0, (Y2 = C.litElementHydrateSupport) == null || Y2.call(C, { LitElement: S });
550
550
  const I = C.litElementPolyfillSupport;
551
- I == null || I({ LitElement: V });
551
+ I == null || I({ LitElement: S });
552
552
  (C.litElementVersions ?? (C.litElementVersions = [])).push("4.2.0");
553
553
  /**
554
554
  * @license
@@ -605,7 +605,7 @@ var H0 = Object.defineProperty, S0 = Object.getOwnPropertyDescriptor, k = (i, t,
605
605
  (r = i[n]) && (o = (s ? r(t, e, o) : r(o)) || o);
606
606
  return s && o && H0(t, e, o), o;
607
607
  };
608
- let g = class extends V {
608
+ let g = class extends S {
609
609
  constructor() {
610
610
  super(...arguments), this.styled = !1, this.download = !1, this.leading = !1, this.name = "top-right", this.altname = "not-found", this.size = "16", this.weight = "5", this.color = "hsl(0deg 0% 0%)", this.svg = null;
611
611
  }
@@ -617,10 +617,10 @@ let g = class extends V {
617
617
  }
618
618
  }*/
619
619
  render() {
620
- const i = this.svg ? A`<span .innerHTML=${this.modifySvg()}></span>` : A``;
621
- return this.href ? A`
620
+ const i = U`<span .innerHTML=${this.modifySvg()}></span>`;
621
+ return this.href ? U`
622
622
  <a ${this.download ? 'download="' + this.download + '"' : ""} href=${this.href} class="${this.styled ? "styled" : ""}">
623
- ${this.leading ? A`${i}&thinsp;` : ""}<slot></slot>${this.leading ? "" : A`&thinsp;${i}`}
623
+ ${this.leading ? U`${i}&thinsp;` : ""}<slot></slot>${this.leading ? "" : U`&thinsp;${i}`}
624
624
  </a>
625
625
  ` : i;
626
626
  }
@@ -2,21 +2,21 @@ var MaIcons=function(p){"use strict";var r0;var x=typeof document<"u"?document.c
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const T=globalThis,z=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,D=Symbol(),I2=new WeakMap;let G2=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==D)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(z&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=I2.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&I2.set(e,t))}return t}toString(){return this.cssText}};const n0=o=>new G2(typeof o=="string"?o:o+"",void 0,D),c0=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((s,i,n)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[n+1],o[0]);return new G2(e,o,D)},l0=(o,t)=>{if(z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=T.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},q2=z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return n0(e)})(o):o;/**
5
+ */const O=globalThis,z=O.ShadowRoot&&(O.ShadyCSS===void 0||O.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,D=Symbol(),I2=new WeakMap;let G2=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==D)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(z&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=I2.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&I2.set(e,t))}return t}toString(){return this.cssText}};const n0=o=>new G2(typeof o=="string"?o:o+"",void 0,D),c0=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((s,i,n)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[n+1],o[0]);return new G2(e,o,D)},l0=(o,t)=>{if(z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=O.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},q2=z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return n0(e)})(o):o;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:a0,defineProperty:h0,getOwnPropertyDescriptor:d0,getOwnPropertyNames:p0,getOwnPropertySymbols:g0,getPrototypeOf:k0}=Object,u=globalThis,W2=u.trustedTypes,w0=W2?W2.emptyScript:"",I=u.reactiveElementPolyfillSupport,A=(o,t)=>o,Z={toAttribute(o,t){switch(t){case Boolean:o=o?w0:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},G=(o,t)=>!a0(o,t),F2={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:G};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),u.litPropertyMetadata??(u.litPropertyMetadata=new WeakMap);let M=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=F2){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&h0(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=d0(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get:i,set(r){const l=i==null?void 0:i.call(this);n==null||n.call(this,r),this.requestUpdate(t,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??F2}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const t=k0(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const e=this.properties,s=[...p0(e),...g0(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(q2(i))}else t!==void 0&&e.push(q2(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l0(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:Z).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var n,r;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const l=s.getPropertyOptions(i),c=typeof l.converter=="function"?{fromAttribute:l.converter}:((n=l.converter)==null?void 0:n.fromAttribute)!==void 0?l.converter:Z;this._$Em=i,this[i]=c.fromAttribute(e,l.type)??((r=this._$Ej)==null?void 0:r.get(i))??null,this._$Em=null}}requestUpdate(t,e,s){var i;if(t!==void 0){const n=this.constructor,r=this[t];if(s??(s=n.getPropertyOptions(t)),!((s.hasChanged??G)(r,e)||s.useDefault&&s.reflect&&r===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,r??e??this[t]),n!==!0||r!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,r]of i){const{wrapped:l}=r,c=this[n];l!==!0||this._$AL.has(n)||c===void 0||this.C(n,void 0,r,c)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};M.elementStyles=[],M.shadowRootOptions={mode:"open"},M[A("elementProperties")]=new Map,M[A("finalized")]=new Map,I==null||I({ReactiveElement:M}),(u.reactiveElementVersions??(u.reactiveElementVersions=[])).push("2.1.0");/**
9
+ */const{is:a0,defineProperty:h0,getOwnPropertyDescriptor:d0,getOwnPropertyNames:p0,getOwnPropertySymbols:g0,getPrototypeOf:k0}=Object,u=globalThis,W2=u.trustedTypes,w0=W2?W2.emptyScript:"",I=u.reactiveElementPolyfillSupport,A=(o,t)=>o,T={toAttribute(o,t){switch(t){case Boolean:o=o?w0:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},G=(o,t)=>!a0(o,t),F2={attribute:!0,type:String,converter:T,reflect:!1,useDefault:!1,hasChanged:G};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),u.litPropertyMetadata??(u.litPropertyMetadata=new WeakMap);let M=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=F2){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&h0(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=d0(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get:i,set(r){const l=i==null?void 0:i.call(this);n==null||n.call(this,r),this.requestUpdate(t,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??F2}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const t=k0(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const e=this.properties,s=[...p0(e),...g0(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(q2(i))}else t!==void 0&&e.push(q2(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l0(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:T).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var n,r;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const l=s.getPropertyOptions(i),c=typeof l.converter=="function"?{fromAttribute:l.converter}:((n=l.converter)==null?void 0:n.fromAttribute)!==void 0?l.converter:T;this._$Em=i,this[i]=c.fromAttribute(e,l.type)??((r=this._$Ej)==null?void 0:r.get(i))??null,this._$Em=null}}requestUpdate(t,e,s){var i;if(t!==void 0){const n=this.constructor,r=this[t];if(s??(s=n.getPropertyOptions(t)),!((s.hasChanged??G)(r,e)||s.useDefault&&s.reflect&&r===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,r??e??this[t]),n!==!0||r!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,r]of i){const{wrapped:l}=r,c=this[n];l!==!0||this._$AL.has(n)||c===void 0||this.C(n,void 0,r,c)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};M.elementStyles=[],M.shadowRootOptions={mode:"open"},M[A("elementProperties")]=new Map,M[A("finalized")]=new Map,I==null||I({ReactiveElement:M}),(u.reactiveElementVersions??(u.reactiveElementVersions=[])).push("2.1.0");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const S=globalThis,R=S.trustedTypes,J2=R?R.createPolicy("lit-html",{createHTML:o=>o}):void 0,K2="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,Q2="?"+_,v0=`<${Q2}>`,b=document,H=()=>b.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",q=Array.isArray,u0=o=>q(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",W=`[
13
+ */const S=globalThis,Z=S.trustedTypes,J2=Z?Z.createPolicy("lit-html",{createHTML:o=>o}):void 0,K2="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,Q2="?"+_,v0=`<${Q2}>`,b=document,H=()=>b.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",q=Array.isArray,u0=o=>q(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",W=`[
14
14
  \f\r]`,E=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,X2=/-->/g,Y2=/>/g,f=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),t0=/'/g,e0=/"/g,s0=/^(?:script|style|textarea|title)$/i,_0=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),P=_0(1),L=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),i0=new WeakMap,C=b.createTreeWalker(b,129);function o0(o,t){if(!q(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return J2!==void 0?J2.createHTML(t):t}const m0=(o,t)=>{const e=o.length-1,s=[];let i,n=t===2?"<svg>":t===3?"<math>":"",r=E;for(let l=0;l<e;l++){const c=o[l];let d,g,a=-1,v=0;for(;v<c.length&&(r.lastIndex=v,g=r.exec(c),g!==null);)v=r.lastIndex,r===E?g[1]==="!--"?r=X2:g[1]!==void 0?r=Y2:g[2]!==void 0?(s0.test(g[2])&&(i=RegExp("</"+g[2],"g")),r=f):g[3]!==void 0&&(r=f):r===f?g[0]===">"?(r=i??E,a=-1):g[1]===void 0?a=-2:(a=r.lastIndex-g[2].length,d=g[1],r=g[3]===void 0?f:g[3]==='"'?e0:t0):r===e0||r===t0?r=f:r===X2||r===Y2?r=E:(r=f,i=void 0);const m=r===f&&o[l+1].startsWith("/>")?" ":"";n+=r===E?c+v0:a>=0?(s.push(d),c.slice(0,a)+K2+c.slice(a)+_+m):c+_+(a===-2?l:m)}return[o0(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class B{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0;const l=t.length-1,c=this.parts,[d,g]=m0(t,e);if(this.el=B.createElement(d,s),C.currentNode=this.el.content,e===2||e===3){const a=this.el.content.firstChild;a.replaceWith(...a.childNodes)}for(;(i=C.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const a of i.getAttributeNames())if(a.endsWith(K2)){const v=g[r++],m=i.getAttribute(a).split(_),j=/([.?@])?(.*)/.exec(v);c.push({type:1,index:n,name:j[2],strings:m,ctor:j[1]==="."?f0:j[1]==="?"?C0:j[1]==="@"?$0:N}),i.removeAttribute(a)}else a.startsWith(_)&&(c.push({type:6,index:n}),i.removeAttribute(a));if(s0.test(i.tagName)){const a=i.textContent.split(_),v=a.length-1;if(v>0){i.textContent=R?R.emptyScript:"";for(let m=0;m<v;m++)i.append(a[m],H()),C.nextNode(),c.push({type:2,index:++n});i.append(a[v],H())}}}else if(i.nodeType===8)if(i.data===Q2)c.push({type:2,index:n});else{let a=-1;for(;(a=i.data.indexOf(_,a+1))!==-1;)c.push({type:7,index:n}),a+=_.length-1}n++}}static createElement(t,e){const s=b.createElement("template");return s.innerHTML=t,s}}function y(o,t,e=o,s){var r,l;if(t===L)return t;let i=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const n=V(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=y(o,i._$AS(o,t.values),i,s)),t}class b0{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??b).importNode(e,!0);C.currentNode=i;let n=C.nextNode(),r=0,l=0,c=s[0];for(;c!==void 0;){if(r===c.index){let d;c.type===2?d=new U(n,n.nextSibling,this,t):c.type===1?d=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(d=new x0(n,this,t)),this._$AV.push(d),c=s[++l]}r!==(c==null?void 0:c.index)&&(n=C.nextNode(),r++)}return C.currentNode=b,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class U{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=y(this,t,e),V(t)?t===h||t==null||t===""?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==L&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):u0(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==h&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(b.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(o0(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{const r=new b0(i,this),l=r.u(this.options);r.p(e),this.T(l),this._$AH=r}}_$AC(t){let e=i0.get(t.strings);return e===void 0&&i0.set(t.strings,e=new B(t)),e}k(t){q(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new U(this.O(H()),this.O(H()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=h}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(n===void 0)t=y(this,t,e,0),r=!V(t)||t!==this._$AH&&t!==L,r&&(this._$AH=t);else{const l=t;let c,d;for(t=n[0],c=0;c<n.length-1;c++)d=y(this,l[s+c],e,c),d===L&&(d=this._$AH[c]),r||(r=!V(d)||d!==this._$AH[c]),d===h?t=h:t!==h&&(t+=(d??"")+n[c+1]),this._$AH[c]=d}r&&!i&&this.j(t)}j(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class f0 extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===h?void 0:t}}class C0 extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}class $0 extends N{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=y(this,t,e,0)??h)===L)return;const s=this._$AH,i=t===h&&s!==h||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==h&&(s===h||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class x0{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){y(this,t)}}const F=S.litHtmlPolyfillSupport;F==null||F(B,U),(S.litHtmlVersions??(S.litHtmlVersions=[])).push("3.3.0");const M0=(o,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new U(t.insertBefore(H(),n),n,void 0,e??{})}return i._$AI(o),i};/**
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),t0=/'/g,e0=/"/g,s0=/^(?:script|style|textarea|title)$/i,_0=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),R=_0(1),L=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),i0=new WeakMap,C=b.createTreeWalker(b,129);function o0(o,t){if(!q(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return J2!==void 0?J2.createHTML(t):t}const m0=(o,t)=>{const e=o.length-1,s=[];let i,n=t===2?"<svg>":t===3?"<math>":"",r=E;for(let l=0;l<e;l++){const c=o[l];let d,g,a=-1,v=0;for(;v<c.length&&(r.lastIndex=v,g=r.exec(c),g!==null);)v=r.lastIndex,r===E?g[1]==="!--"?r=X2:g[1]!==void 0?r=Y2:g[2]!==void 0?(s0.test(g[2])&&(i=RegExp("</"+g[2],"g")),r=f):g[3]!==void 0&&(r=f):r===f?g[0]===">"?(r=i??E,a=-1):g[1]===void 0?a=-2:(a=r.lastIndex-g[2].length,d=g[1],r=g[3]===void 0?f:g[3]==='"'?e0:t0):r===e0||r===t0?r=f:r===X2||r===Y2?r=E:(r=f,i=void 0);const m=r===f&&o[l+1].startsWith("/>")?" ":"";n+=r===E?c+v0:a>=0?(s.push(d),c.slice(0,a)+K2+c.slice(a)+_+m):c+_+(a===-2?l:m)}return[o0(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class P{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0;const l=t.length-1,c=this.parts,[d,g]=m0(t,e);if(this.el=P.createElement(d,s),C.currentNode=this.el.content,e===2||e===3){const a=this.el.content.firstChild;a.replaceWith(...a.childNodes)}for(;(i=C.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const a of i.getAttributeNames())if(a.endsWith(K2)){const v=g[r++],m=i.getAttribute(a).split(_),j=/([.?@])?(.*)/.exec(v);c.push({type:1,index:n,name:j[2],strings:m,ctor:j[1]==="."?f0:j[1]==="?"?C0:j[1]==="@"?$0:N}),i.removeAttribute(a)}else a.startsWith(_)&&(c.push({type:6,index:n}),i.removeAttribute(a));if(s0.test(i.tagName)){const a=i.textContent.split(_),v=a.length-1;if(v>0){i.textContent=Z?Z.emptyScript:"";for(let m=0;m<v;m++)i.append(a[m],H()),C.nextNode(),c.push({type:2,index:++n});i.append(a[v],H())}}}else if(i.nodeType===8)if(i.data===Q2)c.push({type:2,index:n});else{let a=-1;for(;(a=i.data.indexOf(_,a+1))!==-1;)c.push({type:7,index:n}),a+=_.length-1}n++}}static createElement(t,e){const s=b.createElement("template");return s.innerHTML=t,s}}function y(o,t,e=o,s){var r,l;if(t===L)return t;let i=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const n=V(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=y(o,i._$AS(o,t.values),i,s)),t}class b0{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??b).importNode(e,!0);C.currentNode=i;let n=C.nextNode(),r=0,l=0,c=s[0];for(;c!==void 0;){if(r===c.index){let d;c.type===2?d=new B(n,n.nextSibling,this,t):c.type===1?d=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(d=new x0(n,this,t)),this._$AV.push(d),c=s[++l]}r!==(c==null?void 0:c.index)&&(n=C.nextNode(),r++)}return C.currentNode=b,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class B{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=y(this,t,e),V(t)?t===h||t==null||t===""?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==L&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):u0(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==h&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(b.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=P.createElement(o0(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{const r=new b0(i,this),l=r.u(this.options);r.p(e),this.T(l),this._$AH=r}}_$AC(t){let e=i0.get(t.strings);return e===void 0&&i0.set(t.strings,e=new P(t)),e}k(t){q(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new B(this.O(H()),this.O(H()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=h}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(n===void 0)t=y(this,t,e,0),r=!V(t)||t!==this._$AH&&t!==L,r&&(this._$AH=t);else{const l=t;let c,d;for(t=n[0],c=0;c<n.length-1;c++)d=y(this,l[s+c],e,c),d===L&&(d=this._$AH[c]),r||(r=!V(d)||d!==this._$AH[c]),d===h?t=h:t!==h&&(t+=(d??"")+n[c+1]),this._$AH[c]=d}r&&!i&&this.j(t)}j(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class f0 extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===h?void 0:t}}class C0 extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}class $0 extends N{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=y(this,t,e,0)??h)===L)return;const s=this._$AH,i=t===h&&s!==h||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==h&&(s===h||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class x0{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){y(this,t)}}const F=S.litHtmlPolyfillSupport;F==null||F(P,B),(S.litHtmlVersions??(S.litHtmlVersions=[])).push("3.3.0");const M0=(o,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new B(t.insertBefore(H(),n),n,void 0,e??{})}return i._$AI(o),i};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */const $=globalThis;class O extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=M0(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return L}}O._$litElement$=!0,O.finalized=!0,(r0=$.litElementHydrateSupport)==null||r0.call($,{LitElement:O});const J=$.litElementPolyfillSupport;J==null||J({LitElement:O}),($.litElementVersions??($.litElementVersions=[])).push("4.2.0");/**
19
+ */const $=globalThis;class U extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=M0(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return L}}U._$litElement$=!0,U.finalized=!0,(r0=$.litElementHydrateSupport)==null||r0.call($,{LitElement:U});const J=$.litElementPolyfillSupport;J==null||J({LitElement:U}),($.litElementVersions??($.litElementVersions=[])).push("4.2.0");/**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
@@ -24,13 +24,13 @@ var MaIcons=function(p){"use strict";var r0;var x=typeof document<"u"?document.c
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */const y0={attribute:!0,type:String,converter:Z,reflect:!1,hasChanged:G},A0=(o=y0,t,e)=>{const{kind:s,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),s==="setter"&&((o=Object.create(o)).wrapped=!0),n.set(e.name,o),s==="accessor"){const{name:r}=e;return{set(l){const c=t.get.call(this);t.set.call(this,l),this.requestUpdate(r,c,o)},init(l){return l!==void 0&&this.C(r,void 0,o,l),l}}}if(s==="setter"){const{name:r}=e;return function(l){const c=this[r];t.call(this,l),this.requestUpdate(r,c,o)}}throw Error("Unsupported decorator location: "+s)};function w(o){return(t,e)=>typeof e=="object"?A0(o,t,e):((s,i,n)=>{const r=i.hasOwnProperty(n);return i.constructor.createProperty(n,s),r?Object.getOwnPropertyDescriptor(i,n):void 0})(o,t,e)}/**
27
+ */const y0={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:G},A0=(o=y0,t,e)=>{const{kind:s,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),s==="setter"&&((o=Object.create(o)).wrapped=!0),n.set(e.name,o),s==="accessor"){const{name:r}=e;return{set(l){const c=t.get.call(this);t.set.call(this,l),this.requestUpdate(r,c,o)},init(l){return l!==void 0&&this.C(r,void 0,o,l),l}}}if(s==="setter"){const{name:r}=e;return function(l){const c=this[r];t.call(this,l),this.requestUpdate(r,c,o)}}throw Error("Unsupported decorator location: "+s)};function w(o){return(t,e)=>typeof e=="object"?A0(o,t,e):((s,i,n)=>{const r=i.hasOwnProperty(n);return i.constructor.createProperty(n,s),r?Object.getOwnPropertyDescriptor(i,n):void 0})(o,t,e)}/**
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
- */function S0(o){return w({...o,state:!0,attribute:!1})}var H0=Object.defineProperty,V0=Object.getOwnPropertyDescriptor,k=(o,t,e,s)=>{for(var i=s>1?void 0:s?V0(t,e):t,n=o.length-1,r;n>=0;n--)(r=o[n])&&(i=(s?r(t,e,i):r(i))||i);return s&&i&&H0(t,e,i),i};return p.SimpleGreeting=class extends O{constructor(){super(...arguments),this.styled=!1,this.download=!1,this.leading=!1,this.name="top-right",this.altname="not-found",this.size="16",this.weight="5",this.color="hsl(0deg 0% 0%)",this.svg=null}render(){const t=this.svg?P`<span .innerHTML=${this.modifySvg()}></span>`:P``;return this.href?P`
31
+ */function S0(o){return w({...o,state:!0,attribute:!1})}var H0=Object.defineProperty,V0=Object.getOwnPropertyDescriptor,k=(o,t,e,s)=>{for(var i=s>1?void 0:s?V0(t,e):t,n=o.length-1,r;n>=0;n--)(r=o[n])&&(i=(s?r(t,e,i):r(i))||i);return s&&i&&H0(t,e,i),i};return p.SimpleGreeting=class extends U{constructor(){super(...arguments),this.styled=!1,this.download=!1,this.leading=!1,this.name="top-right",this.altname="not-found",this.size="16",this.weight="5",this.color="hsl(0deg 0% 0%)",this.svg=null}render(){const t=R`<span .innerHTML=${this.modifySvg()}></span>`;return this.href?R`
32
32
  <a ${this.download?'download="'+this.download+'"':""} href=${this.href} class="${this.styled?"styled":""}">
33
- ${this.leading?P`${t}&thinsp;`:""}<slot></slot>${this.leading?"":P`&thinsp;${t}`}
33
+ ${this.leading?R`${t}&thinsp;`:""}<slot></slot>${this.leading?"":R`&thinsp;${t}`}
34
34
  </a>
35
35
  `:t}async modifySvg(){const t=this.download?"download":this.name;let e;try{e=new URL(Object.assign({"../icons/add-circle.svg":K,"../icons/audio.svg":Q,"../icons/bottom-left.svg":X,"../icons/bottom-right.svg":Y,"../icons/camera-video.svg":t2,"../icons/camera.svg":e2,"../icons/check.svg":s2,"../icons/cmd.svg":i2,"../icons/code.svg":o2,"../icons/down.svg":r2,"../icons/download.svg":n2,"../icons/edit.svg":c2,"../icons/explore.svg":l2,"../icons/external-2.svg":a2,"../icons/fullscreen-exit.svg":h2,"../icons/fullscreen.svg":d2,"../icons/github.svg":p2,"../icons/heart-filled.svg":g2,"../icons/heart.svg":k2,"../icons/home.svg":w2,"../icons/info.svg":v2,"../icons/input.svg":u2,"../icons/instagram.svg":_2,"../icons/language.svg":m2,"../icons/left.svg":b2,"../icons/lock-closed.svg":f2,"../icons/lock-open.svg":C2,"../icons/lock.svg":$2,"../icons/login.svg":x2,"../icons/ma-2.svg":M2,"../icons/ma.svg":L2,"../icons/menu.svg":y2,"../icons/options.svg":A2,"../icons/pants.svg":S2,"../icons/pause.svg":H2,"../icons/person.svg":V2,"../icons/play.svg":E2,"../icons/remove-circle.svg":P2,"../icons/right.svg":B2,"../icons/search.svg":U2,"../icons/send.svg":O2,"../icons/settings.svg":T2,"../icons/tiktok.svg":Z2,"../icons/top-left.svg":R2,"../icons/top-right.svg":N2,"../icons/trash.svg":j2,"../icons/up.svg":z2,"../icons/youtube.svg":D2})[`../icons/${t}.svg`],x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("ma-icons.iife.js",document.baseURI).href).href}catch{e=`/icons/${t}.svg`}let s;try{s=new URL(Object.assign({"../icons/add-circle.svg":K,"../icons/audio.svg":Q,"../icons/bottom-left.svg":X,"../icons/bottom-right.svg":Y,"../icons/camera-video.svg":t2,"../icons/camera.svg":e2,"../icons/check.svg":s2,"../icons/cmd.svg":i2,"../icons/code.svg":o2,"../icons/down.svg":r2,"../icons/download.svg":n2,"../icons/edit.svg":c2,"../icons/explore.svg":l2,"../icons/external-2.svg":a2,"../icons/fullscreen-exit.svg":h2,"../icons/fullscreen.svg":d2,"../icons/github.svg":p2,"../icons/heart-filled.svg":g2,"../icons/heart.svg":k2,"../icons/home.svg":w2,"../icons/info.svg":v2,"../icons/input.svg":u2,"../icons/instagram.svg":_2,"../icons/language.svg":m2,"../icons/left.svg":b2,"../icons/lock-closed.svg":f2,"../icons/lock-open.svg":C2,"../icons/lock.svg":$2,"../icons/login.svg":x2,"../icons/ma-2.svg":M2,"../icons/ma.svg":L2,"../icons/menu.svg":y2,"../icons/options.svg":A2,"../icons/pants.svg":S2,"../icons/pause.svg":H2,"../icons/person.svg":V2,"../icons/play.svg":E2,"../icons/remove-circle.svg":P2,"../icons/right.svg":B2,"../icons/search.svg":U2,"../icons/send.svg":O2,"../icons/settings.svg":T2,"../icons/tiktok.svg":Z2,"../icons/top-left.svg":R2,"../icons/top-right.svg":N2,"../icons/trash.svg":j2,"../icons/up.svg":z2,"../icons/youtube.svg":D2})[`../icons/${this.altname}.svg`],x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("ma-icons.iife.js",document.baseURI).href).href}catch{s=`/icons/${this.altname}.svg`}let i,n;try{i=await fetch(e),n=await i.text()}catch{i=await fetch(s),n=await i.text()}const r=new DOMParser().parseFromString(n,"image/svg+xml"),l=r.querySelector("svg");return l?(l==null||l.setAttribute("width",this.size),l==null||l.setAttribute("height",this.size),l==null||l.setAttribute("fill","none"),r.querySelectorAll("[stroke]").forEach(c=>c.setAttribute("stroke",this.styled?"hsl(0deg 0% 0% / calc(100% * 3/8))":this.color)),r.querySelectorAll("[stroke-width]").forEach(c=>c.setAttribute("stroke-width",this.weight)),this.svg=l==null?void 0:l.outerHTML,this.svg):"error"}},p.SimpleGreeting.styles=c0`
36
36
  svg {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ma-icons",
3
- "version": "0.4.21",
3
+ "version": "0.4.22",
4
4
  "description": "Ma Icons by Taavi Rübenhagen",
5
5
  "type": "module",
6
6
  "main": "dist/ma-icons.iife.js",