@ganpatiinfo/gids-core-web 2.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/elements.css.map +1 -0
- package/dist/{index.css → css/index.css} +402 -4
- package/dist/css/index.css.map +1 -0
- package/dist/custom-elements.json +143 -4
- package/dist/gids-icon.d.ts +11 -0
- package/dist/gids-icon.js +1 -0
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -130
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -5
- package/dist/p-CgujYzVX.js +1 -0
- package/dist/types/components/html/GidsBaseCard/GidsBaseCard.d.ts +6 -0
- package/dist/types/components/html/GidsCard/GidsCard.d.ts +5 -0
- package/dist/types/components/html/GidsPagination/GidsPagination.d.ts +7 -0
- package/dist/types/components/html/_GidsPaginationItem/GidsPaginationItem.d.ts +7 -0
- package/dist/types/components/webComponents/GidsIcon/GidsIcon.d.ts +12 -0
- package/dist/types/components.d.ts +48 -2
- package/dist/types/index.d.ts +1 -10
- package/dist/types/stencil-public-runtime.d.ts +170 -12
- package/dist/types/utils/assets.d.ts +6 -0
- package/dist-bundled/es/assets-Drv1fXkA.js +73 -0
- package/dist-bundled/es/clsx-OuTLNxxd.js +16 -0
- package/dist-bundled/es/gids-icon.js +216 -0
- package/dist-bundled/es/gids-toggle-button.js +87 -0
- package/dist-bundled/es/index.js +22 -0
- package/dist-bundled/es/p-CgujYzVX-xo1axnk6.js +465 -0
- package/dist-bundled/umd/gids-icon.umd.js +1 -0
- package/dist-bundled/umd/gids-toggle-button.umd.js +3 -0
- package/dist-bundled/umd/index.umd.js +1 -0
- package/dist-bundled/umd-complete/gids-core-web.umd.js +3 -0
- package/distPaths.js +34 -0
- package/package.json +191 -158
- package/scriptUtils.js +6 -0
- package/dist/elements.css.map +0 -1
- package/dist/gids-toggle-button.js.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/p-C0FfV2mK.js +0 -1134
- package/dist/p-C0FfV2mK.js.map +0 -1
- /package/dist/{elements.css → css/elements.css} +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { u as O, c as M, _ as $, g as j, E as s, x as B, p } from "./p-CgujYzVX-xo1axnk6.js";
|
|
2
|
+
import { c as _ } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
const z = ({ size: e, indeterminate: t, value: n }, i) => _("gids-spinner-control", {
|
|
4
|
+
"gids-spinner-control--xs": e === "xs",
|
|
5
|
+
"gids-spinner-control--sm": e === "sm",
|
|
6
|
+
// 'gids-spinner-control--md': size === 'md',
|
|
7
|
+
"gids-spinner-control--lg": e === "lg",
|
|
8
|
+
"gids-spinner-control--xl": e === "xl",
|
|
9
|
+
"gids-spinner-control--2xl": e === "2xl",
|
|
10
|
+
"gids-spinner-control--determinate": t === !1
|
|
11
|
+
}, n, i), D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12
|
+
__proto__: null,
|
|
13
|
+
getGidsSpinnerControlClassNames: z
|
|
14
|
+
}, Symbol.toStringTag, { value: "Module" })), G = ({ appearance: e, size: t, width: n, destructive: i, loading: l }, o, a) => _("gids-button", {
|
|
15
|
+
"gids-button--primary": e === "primary",
|
|
16
|
+
"gids-button--subtle": e === "subtle",
|
|
17
|
+
"gids-button--xs": t === "xs",
|
|
18
|
+
"gids-button--sm": t === "sm",
|
|
19
|
+
// 'gids-button--md': size === 'md',
|
|
20
|
+
"gids-button--lg": t === "lg",
|
|
21
|
+
"gids-button--full-width": n === "full",
|
|
22
|
+
"gids-button--destructive": i,
|
|
23
|
+
"gids-button--icon-only": o,
|
|
24
|
+
"gids-button--loading": l
|
|
25
|
+
}, a), N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26
|
+
__proto__: null,
|
|
27
|
+
getGidsButtonClassNames: G
|
|
28
|
+
}, Symbol.toStringTag, { value: "Module" })), r = 64, y = 10, x = r / 2 - y / 2, L = r / 2, u = 2 * Math.PI * x, P = `0 0 ${r} ${r}`, T = (e = 0, t) => {
|
|
29
|
+
const n = typeof t == "number" && t > 0 ? t : 1, l = Math.max(0, Math.min(n, e)) / n * 100, o = (u * l / 100).toFixed(2), a = (u - parseFloat(o)).toFixed(2);
|
|
30
|
+
return `${o} ${a}`;
|
|
31
|
+
}, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32
|
+
__proto__: null,
|
|
33
|
+
calculateStrokeDasharray: T,
|
|
34
|
+
centerPosition: L,
|
|
35
|
+
circumference: u,
|
|
36
|
+
radius: x,
|
|
37
|
+
thickness: y,
|
|
38
|
+
viewBox: P
|
|
39
|
+
}, Symbol.toStringTag, { value: "Module" })), b = (e) => e !== void 0 && (!Array.isArray(e) || e.length > 0), { getGidsSpinnerControlClassNames: F } = D, { calculateStrokeDasharray: H, thickness: f, radius: m, centerPosition: c, viewBox: V } = A, R = ({ size: e, indeterminate: t, value: n, max: i, ...l }) => {
|
|
40
|
+
let o;
|
|
41
|
+
return t || (o = { strokeDashArray: H(n, i || 0), strokeDashoffset: "0" }), s("svg", { class: F({ size: e, indeterminate: t, value: n }), viewBox: V, ...l }, s("circle", { class: "gids-spinner-control__track", cx: c, cy: c, r: m, "stroke-width": f }), s("circle", { style: o, class: "gids-spinner-control__progress", cx: c, cy: c, r: m, "stroke-width": f }));
|
|
42
|
+
}, { getGidsButtonClassNames: q } = N, J = ({ appearance: e, size: t, destructive: n, loading: i, width: l, leadingIcon: o, trailingIcon: a, as: w, disabled: S, class: I, forceIconOnly: C = !1, ...d }, h) => {
|
|
43
|
+
const g = w || "button", E = t === "lg" || t === void 0 ? "md" : t;
|
|
44
|
+
return g !== "button" || "type" in d || (d.type = "button"), s(g, { class: q({ appearance: e, size: t, destructive: n, loading: i, width: l }, C || h.length === 0 && b(o) && !b(a), I), disabled: g === "button" ? S : void 0, ...d }, s("span", { class: "gids-button__content" }, o, h), i && s(R, { size: E, indeterminate: !0 }), a);
|
|
45
|
+
}, v = O(class extends M {
|
|
46
|
+
get selected() {
|
|
47
|
+
return this.#e ?? this.defaultSelected;
|
|
48
|
+
}
|
|
49
|
+
set selected(e) {
|
|
50
|
+
this.#e = e === void 0 ? void 0 : !!e;
|
|
51
|
+
}
|
|
52
|
+
constructor(e) {
|
|
53
|
+
super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = $(this, "select"), this._toggle = this._toggle.bind(this);
|
|
54
|
+
}
|
|
55
|
+
#e;
|
|
56
|
+
connectedCallback() {
|
|
57
|
+
const e = j();
|
|
58
|
+
e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e);
|
|
59
|
+
}
|
|
60
|
+
_toggle() {
|
|
61
|
+
const e = !this.selected;
|
|
62
|
+
this._el.selected = e, this.select?.emit(e);
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
return s(B, { key: "222a7976cfa0daa12d2db51e405d8f3e894209d9" }, s("style", { key: "04b1d2f9a184e830b949691e789deaaaea987303" }, `:host {
|
|
66
|
+
display: ${this.width === "full" ? "block" : "inline-block"}
|
|
67
|
+
}`), s(J, { key: "18ef39dcc5b3a532a347e530784ec4915719f914", appearance: this.appearance, size: this.size, width: this.width, disabled: this.disabled, onClick: this._toggle, "aria-pressed": this.selected ? "true" : "false", leadingIcon: s("slot", { name: "leadingIcon" }), trailingIcon: s("slot", { name: "trailingIcon" }), forceIconOnly: this._onlyHasLeadingIcon() }, s("slot", { key: "f82ab35082be6b10d0fb76b11c8250cd6ab374a4" })));
|
|
68
|
+
}
|
|
69
|
+
_onlyHasLeadingIcon() {
|
|
70
|
+
const e = this._el.childNodes;
|
|
71
|
+
return e.length === 1 && e[0] instanceof window.Element && e[0].slot === "leadingIcon";
|
|
72
|
+
}
|
|
73
|
+
get _el() {
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
}, [257, "gids-toggle-button", { disabled: [516], appearance: [513], size: [513], width: [513], defaultSelected: [516, "default-selected"], selected: [6660] }]);
|
|
77
|
+
function k() {
|
|
78
|
+
typeof customElements < "u" && ["gids-toggle-button"].forEach(((e) => {
|
|
79
|
+
e === "gids-toggle-button" && (customElements.get(p(e)) || customElements.define(p(e), v));
|
|
80
|
+
}));
|
|
81
|
+
}
|
|
82
|
+
k();
|
|
83
|
+
const U = v, W = k;
|
|
84
|
+
export {
|
|
85
|
+
U as GidsToggleButton,
|
|
86
|
+
W as defineCustomElement
|
|
87
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { a as n, g as f, $ as P, h as A, w as G, b as c, f as l } from "./p-CgujYzVX-xo1axnk6.js";
|
|
2
|
+
import { s as a } from "./assets-Drv1fXkA.js";
|
|
3
|
+
function t(s, e) {
|
|
4
|
+
a(s, e);
|
|
5
|
+
}
|
|
6
|
+
const r = (s) => {
|
|
7
|
+
t(s);
|
|
8
|
+
}, i = (s) => {
|
|
9
|
+
t(s);
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
n as getAssetPath,
|
|
13
|
+
f as getConstructedGidsStylesheet,
|
|
14
|
+
P as refreshConstructedGidsStylesheet,
|
|
15
|
+
A as render,
|
|
16
|
+
G as setAssetPath,
|
|
17
|
+
r as setGidsAssetFilePaths,
|
|
18
|
+
t as setGidsAssetPaths,
|
|
19
|
+
i as setGidsDefaultAssetDirPath,
|
|
20
|
+
c as setNonce,
|
|
21
|
+
l as setPlatformOptions
|
|
22
|
+
};
|
|
@@ -0,0 +1,465 @@
|
|
|
1
|
+
function ie(e, t, o) {
|
|
2
|
+
const n = typeof HTMLElement < "u" ? HTMLElement.prototype : null;
|
|
3
|
+
for (; e && e !== n; ) {
|
|
4
|
+
const s = Object.getOwnPropertyDescriptor(e, t);
|
|
5
|
+
if (s && (!o || s.get)) return s;
|
|
6
|
+
e = Object.getPrototypeOf(e);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
var A, be = (e, t) => {
|
|
10
|
+
var o;
|
|
11
|
+
Object.entries((o = t.l.t) != null ? o : {}).map((([n, [s]]) => {
|
|
12
|
+
if (31 & s || 32 & s) {
|
|
13
|
+
const a = e[n], l = ie(Object.getPrototypeOf(e), n, !0) || Object.getOwnPropertyDescriptor(e, n);
|
|
14
|
+
l && Object.defineProperty(e, n, { get() {
|
|
15
|
+
return l.get.call(this);
|
|
16
|
+
}, set(i) {
|
|
17
|
+
l.set.call(this, i);
|
|
18
|
+
}, configurable: !0, enumerable: !0 }), t.o.has(n) ? e[n] = t.o.get(n) : a !== void 0 && (e[n] = a);
|
|
19
|
+
}
|
|
20
|
+
}));
|
|
21
|
+
}, E = (e) => {
|
|
22
|
+
if (e.__stencil__getHostRef) return e.__stencil__getHostRef();
|
|
23
|
+
}, Z = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), M = /* @__PURE__ */ new Map(), $ = typeof window < "u" ? window : {}, De = $.HTMLElement || class {
|
|
24
|
+
}, O = { i: 0, u: "", jmp: (e) => e(), raf: (e) => requestAnimationFrame(e), ael: (e, t, o, n) => e.addEventListener(t, o, n), rel: (e, t, o, n) => e.removeEventListener(t, o, n), ce: (e, t) => new CustomEvent(e, t) }, F = (() => {
|
|
25
|
+
try {
|
|
26
|
+
return !!$.document.adoptedStyleSheets && (new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function");
|
|
27
|
+
} catch {
|
|
28
|
+
}
|
|
29
|
+
return !1;
|
|
30
|
+
})(), U = !!F && !!$.document && Object.getOwnPropertyDescriptor($.document.adoptedStyleSheets, "length").writable, B = !1, J = [], ce = [], we = (e, t) => (o) => {
|
|
31
|
+
e.push(o), B || (B = !0, 4 & O.i ? G(V) : O.raf(V));
|
|
32
|
+
}, K = (e) => {
|
|
33
|
+
for (let t = 0; t < e.length; t++) try {
|
|
34
|
+
e[t](performance.now());
|
|
35
|
+
} catch (o) {
|
|
36
|
+
L(o);
|
|
37
|
+
}
|
|
38
|
+
e.length = 0;
|
|
39
|
+
}, V = () => {
|
|
40
|
+
K(J), K(ce), (B = J.length > 0) && O.raf(V);
|
|
41
|
+
}, G = (e) => Promise.resolve(void 0).then(e), Oe = we(ce), He = (e) => {
|
|
42
|
+
const t = new URL(e, O.u);
|
|
43
|
+
return t.origin !== $.location.origin ? t.href : t.pathname;
|
|
44
|
+
}, Te = (e) => O.u = e;
|
|
45
|
+
function $e() {
|
|
46
|
+
const e = this.attachShadow({ mode: "open" });
|
|
47
|
+
A === void 0 && (A = null), A && (U ? e.adoptedStyleSheets.push(A) : e.adoptedStyleSheets = [...e.adoptedStyleSheets, A]);
|
|
48
|
+
}
|
|
49
|
+
var T, k = /* @__PURE__ */ new WeakMap(), ae = (e) => "sc-" + e.h, I = (e) => (e = typeof e) == "object" || e === "function", ue = (e, t, ...o) => {
|
|
50
|
+
let n = null, s = null, a = !1, l = !1;
|
|
51
|
+
const i = [], r = (d) => {
|
|
52
|
+
for (let c = 0; c < d.length; c++) n = d[c], Array.isArray(n) ? r(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !I(n)) && (n = String(n)), a && l ? i[i.length - 1].p += n : i.push(a ? D(null, n) : n), l = a);
|
|
53
|
+
};
|
|
54
|
+
if (r(o), t && t.key && (s = t.key), typeof e == "function") return e(t === null ? {} : t, i, _e);
|
|
55
|
+
const u = D(e, null);
|
|
56
|
+
return u.m = t, i.length > 0 && (u.v = i), u.$ = s, u;
|
|
57
|
+
}, D = (e, t) => ({ i: 0, S: e, p: t ?? null, O: null, v: null, m: null, $: null }), Ce = {}, _e = { forEach: (e, t) => e.map(Q).forEach(t), map: (e, t) => e.map(Q).map(t).map(ke) }, Q = (e) => ({ vattrs: e.m, vchildren: e.v, vkey: e.$, vname: e.j, vtag: e.S, vtext: e.p }), ke = (e) => {
|
|
58
|
+
if (typeof e.vtag == "function") {
|
|
59
|
+
const o = { ...e.vattrs };
|
|
60
|
+
return e.vkey && (o.key = e.vkey), e.vname && (o.name = e.vname), ue(e.vtag, o, ...e.vchildren || []);
|
|
61
|
+
}
|
|
62
|
+
const t = D(e.vtag, e.vtext);
|
|
63
|
+
return t.m = e.vattrs, t.v = e.vchildren, t.$ = e.vkey, t.j = e.vname, t;
|
|
64
|
+
}, de = (e, t) => e == null || I(e) ? e : 4 & t ? e !== "false" && (e === "" || !!e) : 1 & t ? String(e) : e, We = (e, t) => {
|
|
65
|
+
const o = e;
|
|
66
|
+
return { emit: (n) => he(o, t, { bubbles: !0, composed: !0, cancelable: !0, detail: n }) };
|
|
67
|
+
}, he = (e, t, o) => {
|
|
68
|
+
const n = O.ce(t, o);
|
|
69
|
+
return e.dispatchEvent(n), n;
|
|
70
|
+
}, X = (e, t, o, n, s, a) => {
|
|
71
|
+
if (o === n) return;
|
|
72
|
+
let l = Z(e, t), i = t.toLowerCase();
|
|
73
|
+
if (t !== "key") {
|
|
74
|
+
if (e.__lookupSetter__(t) || t[0] !== "o" || t[1] !== "n") {
|
|
75
|
+
if (t[0] === "a" && t.startsWith("attr:")) {
|
|
76
|
+
const r = t.slice(5);
|
|
77
|
+
let u;
|
|
78
|
+
{
|
|
79
|
+
const d = E(e);
|
|
80
|
+
if (d && d.l && d.l.t) {
|
|
81
|
+
const c = d.l.t[r];
|
|
82
|
+
c && c[1] && (u = c[1]);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return u || (u = r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase()), void (n == null || n === !1 ? n === !1 && e.getAttribute(u) !== "" || e.removeAttribute(u) : e.setAttribute(u, n === !0 ? "" : n));
|
|
86
|
+
}
|
|
87
|
+
if (t[0] === "p" && t.startsWith("prop:")) {
|
|
88
|
+
const r = t.slice(5);
|
|
89
|
+
try {
|
|
90
|
+
e[r] = n;
|
|
91
|
+
} catch {
|
|
92
|
+
}
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
{
|
|
96
|
+
const r = I(n);
|
|
97
|
+
if ((l || r && n !== null) && !s) try {
|
|
98
|
+
if (e.tagName.includes("-")) e[t] !== n && (e[t] = n);
|
|
99
|
+
else {
|
|
100
|
+
const u = n ?? "";
|
|
101
|
+
t === "list" ? l = !1 : o != null && e[t] === u || (typeof e.__lookupSetter__(t) == "function" ? e[t] = u : e.setAttribute(t, u));
|
|
102
|
+
}
|
|
103
|
+
} catch {
|
|
104
|
+
}
|
|
105
|
+
n == null || n === !1 ? n === !1 && e.getAttribute(t) !== "" || e.removeAttribute(t) : (!l || 4 & a || s) && !r && e.nodeType === 1 && e.setAttribute(t, n = n === !0 ? "" : n);
|
|
106
|
+
}
|
|
107
|
+
} else if (t = t[2] === "-" ? t.slice(3) : Z($, i) ? i.slice(2) : i[2] + t.slice(3), o || n) {
|
|
108
|
+
const r = t.endsWith(fe);
|
|
109
|
+
t = t.replace(Ee, ""), o && O.rel(e, t, o, r), n && O.ael(e, t, n, r);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}, fe = "Capture", Ee = new RegExp(fe + "$"), pe = (e, t, o) => {
|
|
113
|
+
const n = t.O.nodeType === 11 && t.O.host ? t.O.host : t.O, s = e && e.m || {}, a = t.m || {};
|
|
114
|
+
for (const l of ee(Object.keys(s))) l in a || X(n, l, s[l], void 0, o, t.i);
|
|
115
|
+
for (const l of ee(Object.keys(a))) X(n, l, s[l], a[l], o, t.i);
|
|
116
|
+
};
|
|
117
|
+
function ee(e) {
|
|
118
|
+
return e.includes("ref") ? [...e.filter(((t) => t !== "ref")), "ref"] : e;
|
|
119
|
+
}
|
|
120
|
+
var me = !1, ye = !1, H = (e, t, o) => {
|
|
121
|
+
const n = t.v[o];
|
|
122
|
+
let s, a, l = 0;
|
|
123
|
+
if (n.p != null) s = n.O = $.document.createTextNode(n.p);
|
|
124
|
+
else {
|
|
125
|
+
if (!$.document) throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
126
|
+
if (s = n.O = $.document.createElement(n.S), pe(null, n, ye), n.v) {
|
|
127
|
+
const i = n.S === "template" ? s.content : s;
|
|
128
|
+
for (l = 0; l < n.v.length; ++l) a = H(e, n, l), a && i.appendChild(a);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return s["s-hn"] = T, s;
|
|
132
|
+
}, te = (e, t, o, n, s, a) => {
|
|
133
|
+
let l, i = e;
|
|
134
|
+
for (i.shadowRoot && i.tagName === T && (i = i.shadowRoot), o.S === "template" && (i = i.content); s <= a; ++s) n[s] && (l = H(null, o, s), l && (n[s].O = l, N(i, l, t)));
|
|
135
|
+
}, ne = (e, t, o) => {
|
|
136
|
+
for (let n = t; n <= o; ++n) {
|
|
137
|
+
const s = e[n];
|
|
138
|
+
if (s) {
|
|
139
|
+
const a = s.O;
|
|
140
|
+
a && a.remove();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}, P = (e, t, o = !1) => e.S === t.S && (o ? (o && !e.$ && t.$ && (e.$ = t.$), !0) : e.$ === t.$), j = (e, t, o = !1) => {
|
|
144
|
+
const n = t.O = e.O, s = e.v, a = t.v, l = t.p;
|
|
145
|
+
l == null ? (t.S !== "slot" || me || e.j !== t.j && (t.O["s-sn"] = t.j || "", ((i) => {
|
|
146
|
+
O.i |= 1;
|
|
147
|
+
const r = i.closest(T.toLowerCase());
|
|
148
|
+
if (r != null) {
|
|
149
|
+
const u = Array.from(r.__childNodes || r.childNodes).find(((c) => c["s-cr"])), d = Array.from(i.__childNodes || i.childNodes);
|
|
150
|
+
for (const c of u ? d.reverse() : d) c["s-sh"] != null && (N(r, c, u ?? null), c["s-sh"] = void 0);
|
|
151
|
+
}
|
|
152
|
+
O.i &= -2;
|
|
153
|
+
})(t.O.parentElement)), pe(e, t, ye), s !== null && a !== null ? ((i, r, u, d, c = !1) => {
|
|
154
|
+
let v, C, w = 0, b = 0, g = 0, m = 0, p = r.length - 1, h = r[0], S = r[p], f = d.length - 1, y = d[0], _ = d[f];
|
|
155
|
+
const Y = u.S === "template" ? i.content : i;
|
|
156
|
+
for (; w <= p && b <= f; ) if (h == null) h = r[++w];
|
|
157
|
+
else if (S == null) S = r[--p];
|
|
158
|
+
else if (y == null) y = d[++b];
|
|
159
|
+
else if (_ == null) _ = d[--f];
|
|
160
|
+
else if (P(h, y, c)) j(h, y, c), h = r[++w], y = d[++b];
|
|
161
|
+
else if (P(S, _, c)) j(S, _, c), S = r[--p], _ = d[--f];
|
|
162
|
+
else if (P(h, _, c)) j(h, _, c), N(Y, h.O, S.O.nextSibling), h = r[++w], _ = d[--f];
|
|
163
|
+
else if (P(S, y, c)) j(S, y, c), N(Y, S.O, h.O), S = r[--p], y = d[++b];
|
|
164
|
+
else {
|
|
165
|
+
for (g = -1, m = w; m <= p; ++m) if (r[m] && r[m].$ !== null && r[m].$ === y.$) {
|
|
166
|
+
g = m;
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
g >= 0 ? (C = r[g], C.S !== y.S ? v = H(r && r[b], u, g) : (j(C, y, c), r[g] = void 0, v = C.O), y = d[++b]) : (v = H(r && r[b], u, b), y = d[++b]), v && N(h.O.parentNode, v, h.O);
|
|
170
|
+
}
|
|
171
|
+
w > p ? te(i, d[f + 1] == null ? null : d[f + 1].O, u, d, b, f) : b > f && ne(r, w, p);
|
|
172
|
+
})(n, s, t, a, o) : a !== null ? (e.p !== null && (n.textContent = ""), te(n, null, t, a, 0, a.length - 1)) : !o && s !== null && ne(s, 0, s.length - 1)) : e.p !== l && (n.data = l);
|
|
173
|
+
}, N = (e, t, o) => e.__insertBefore ? e.__insertBefore(t, o) : e?.insertBefore(t, o), Se = (e, t, o = !1) => {
|
|
174
|
+
const n = e.$hostElement$, s = e.l, a = e.M || D(null, null);
|
|
175
|
+
var l;
|
|
176
|
+
const i = (l = t) && l.S === Ce ? t : ue(null, null, t);
|
|
177
|
+
if (T = n.tagName, s.k && (i.m = i.m || {}, s.k.forEach((([r, u]) => {
|
|
178
|
+
i.m[u] = n[r];
|
|
179
|
+
}))), o && i.m) for (const r of Object.keys(i.m)) n.hasAttribute(r) && !["key", "ref", "style", "class"].includes(r) && (i.m[r] = n[r]);
|
|
180
|
+
i.S = null, i.i |= 4, e.M = i, i.O = a.O = n.shadowRoot || n, me = !(!(1 & s.i) || 128 & s.i), j(a, i, o);
|
|
181
|
+
}, ve = (e, t) => {
|
|
182
|
+
if (t && !e.C && t["s-p"]) {
|
|
183
|
+
const o = t["s-p"].push(new Promise(((n) => e.C = () => {
|
|
184
|
+
t["s-p"].splice(o - 1, 1), n();
|
|
185
|
+
})));
|
|
186
|
+
}
|
|
187
|
+
}, z = (e, t) => {
|
|
188
|
+
if (e.i |= 16, 4 & e.i) return void (e.i |= 512);
|
|
189
|
+
ve(e, e.A);
|
|
190
|
+
const o = () => je(e, t);
|
|
191
|
+
if (!t) return Oe(o);
|
|
192
|
+
queueMicrotask((() => {
|
|
193
|
+
o();
|
|
194
|
+
}));
|
|
195
|
+
}, je = (e, t) => {
|
|
196
|
+
const o = e.$hostElement$, n = o;
|
|
197
|
+
if (!n) throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);
|
|
198
|
+
let s;
|
|
199
|
+
return s = x(n, t ? "componentWillLoad" : "componentWillUpdate", void 0, o), s = oe(s, (() => x(n, "componentWillRender", void 0, o))), oe(s, (() => Ae(e, n, t)));
|
|
200
|
+
}, oe = (e, t) => Re(e) ? e.then(t).catch(((o) => {
|
|
201
|
+
console.error(o), t();
|
|
202
|
+
})) : t(), Re = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ae = async (e, t, o) => {
|
|
203
|
+
var n;
|
|
204
|
+
const s = e.$hostElement$, a = s["s-rc"];
|
|
205
|
+
o && ((l) => {
|
|
206
|
+
const i = l.l, r = l.$hostElement$, u = i.i, d = ((c, v) => {
|
|
207
|
+
var C, w, b;
|
|
208
|
+
const g = ae(v), m = M.get(g);
|
|
209
|
+
if (!$.document) return g;
|
|
210
|
+
if (c = c.nodeType === 11 ? c : $.document, m) if (typeof m == "string") {
|
|
211
|
+
let p, h = k.get(c = c.head || c);
|
|
212
|
+
if (h || k.set(c, h = /* @__PURE__ */ new Set()), !h.has(g)) {
|
|
213
|
+
p = $.document.createElement("style"), p.textContent = m;
|
|
214
|
+
const S = (C = O.D) != null ? C : (function() {
|
|
215
|
+
var f, y, _;
|
|
216
|
+
return (_ = (y = (f = $.document.head) == null ? void 0 : f.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : y.getAttribute("content")) != null ? _ : void 0;
|
|
217
|
+
})();
|
|
218
|
+
if (S != null && p.setAttribute("nonce", S), !(1 & v.i)) if (c.nodeName === "HEAD") {
|
|
219
|
+
const f = c.querySelectorAll("link[rel=preconnect]"), y = f.length > 0 ? f[f.length - 1].nextSibling : c.querySelector("style");
|
|
220
|
+
c.insertBefore(p, y?.parentNode === c ? y : null);
|
|
221
|
+
} else if ("host" in c) if (F) {
|
|
222
|
+
const f = new ((w = c.defaultView) != null ? w : c.ownerDocument.defaultView).CSSStyleSheet();
|
|
223
|
+
f.replaceSync(m), U ? c.adoptedStyleSheets.unshift(f) : c.adoptedStyleSheets = [f, ...c.adoptedStyleSheets];
|
|
224
|
+
} else {
|
|
225
|
+
const f = c.querySelector("style");
|
|
226
|
+
f ? f.textContent = m + f.textContent : c.prepend(p);
|
|
227
|
+
}
|
|
228
|
+
else c.append(p);
|
|
229
|
+
1 & v.i && c.insertBefore(p, null), 4 & v.i && (p.textContent += "slot-fb{display:contents}slot-fb[hidden]{display:none}"), h && h.add(g);
|
|
230
|
+
}
|
|
231
|
+
} else {
|
|
232
|
+
let p = k.get(c);
|
|
233
|
+
if (p || k.set(c, p = /* @__PURE__ */ new Set()), !p.has(g)) {
|
|
234
|
+
const h = (b = c.defaultView) != null ? b : c.ownerDocument.defaultView;
|
|
235
|
+
let S;
|
|
236
|
+
if (m.constructor === h.CSSStyleSheet) S = m;
|
|
237
|
+
else {
|
|
238
|
+
S = new h.CSSStyleSheet();
|
|
239
|
+
for (let f = 0; f < m.cssRules.length; f++) S.insertRule(m.cssRules[f].cssText, f);
|
|
240
|
+
}
|
|
241
|
+
U ? c.adoptedStyleSheets.push(S) : c.adoptedStyleSheets = [...c.adoptedStyleSheets, S], p.add(g);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return g;
|
|
245
|
+
})(r.shadowRoot ? r.shadowRoot : r.getRootNode(), i);
|
|
246
|
+
10 & u && (r["s-sc"] = d, r.classList.add(d + "-h"));
|
|
247
|
+
})(e), Ne(e, t, s, o), a && (a.map(((l) => l())), s["s-rc"] = void 0);
|
|
248
|
+
{
|
|
249
|
+
const l = (n = s["s-p"]) != null ? n : [], i = () => xe(e);
|
|
250
|
+
l.length === 0 ? i() : (Promise.all(l).then(i).catch(i), e.i |= 4, l.length = 0);
|
|
251
|
+
}
|
|
252
|
+
}, Ne = (e, t, o, n) => {
|
|
253
|
+
try {
|
|
254
|
+
t = t.render(), e.i &= -17, e.i |= 2, Se(e, t, n);
|
|
255
|
+
} catch (s) {
|
|
256
|
+
L(s, e.$hostElement$);
|
|
257
|
+
}
|
|
258
|
+
return null;
|
|
259
|
+
}, xe = (e) => {
|
|
260
|
+
const t = e.$hostElement$, o = t, n = e.A;
|
|
261
|
+
x(o, "componentDidRender", void 0, t), 64 & e.i ? x(o, "componentDidUpdate", void 0, t) : (e.i |= 64, Pe(t), x(o, "componentDidLoad", void 0, t), e.L(t), n || Le()), e.C && (e.C(), e.C = void 0), 512 & e.i && G((() => z(e, !1))), e.i &= -517;
|
|
262
|
+
}, Le = () => {
|
|
263
|
+
G((() => he($, "appload", { detail: { namespace: "gids-core-web" } })));
|
|
264
|
+
}, x = (e, t, o, n) => {
|
|
265
|
+
if (e && e[t]) try {
|
|
266
|
+
return e[t](o);
|
|
267
|
+
} catch (s) {
|
|
268
|
+
L(s, n);
|
|
269
|
+
}
|
|
270
|
+
}, Pe = (e) => e.classList.add("hydrated"), le = (e, t, o, n) => {
|
|
271
|
+
const s = E(e);
|
|
272
|
+
if (!s) return;
|
|
273
|
+
const a = e, l = s.o.get(t), i = s.i, r = a;
|
|
274
|
+
o = de(o, n.t[t][0]);
|
|
275
|
+
const u = Number.isNaN(l) && Number.isNaN(o);
|
|
276
|
+
if (o !== l && !u && (s.o.set(t, o), 2 & i)) {
|
|
277
|
+
if (r.componentShouldUpdate && r.componentShouldUpdate(o, l, t) === !1 && !(16 & i)) return;
|
|
278
|
+
16 & i || z(s, !1);
|
|
279
|
+
}
|
|
280
|
+
}, Me = (e, t) => {
|
|
281
|
+
var o, n;
|
|
282
|
+
const s = e.prototype;
|
|
283
|
+
if (t.t) {
|
|
284
|
+
const a = Object.entries((o = t.t) != null ? o : {});
|
|
285
|
+
a.map((([l, [i]]) => {
|
|
286
|
+
if (31 & i || 32 & i) {
|
|
287
|
+
const { get: r, set: u } = ie(s, l) || {};
|
|
288
|
+
r && (t.t[l][0] |= 2048), u && (t.t[l][0] |= 4096), Object.defineProperty(s, l, { get() {
|
|
289
|
+
return r ? r.apply(this) : (d = l, E(this).o.get(d));
|
|
290
|
+
var d;
|
|
291
|
+
}, configurable: !0, enumerable: !0 }), Object.defineProperty(s, l, { set(d) {
|
|
292
|
+
const c = E(this);
|
|
293
|
+
if (c) {
|
|
294
|
+
if (u) return (32 & i ? this[l] : c.$hostElement$[l]) === void 0 && c.o.get(l) && (d = c.o.get(l)), u.apply(this, [de(d, i)]), void le(this, l, d = 32 & i ? this[l] : c.$hostElement$[l], t);
|
|
295
|
+
le(this, l, d, t);
|
|
296
|
+
}
|
|
297
|
+
} });
|
|
298
|
+
}
|
|
299
|
+
}));
|
|
300
|
+
{
|
|
301
|
+
const l = /* @__PURE__ */ new Map();
|
|
302
|
+
s.attributeChangedCallback = function(i, r, u) {
|
|
303
|
+
O.jmp((() => {
|
|
304
|
+
var d;
|
|
305
|
+
const c = l.get(i), v = E(this);
|
|
306
|
+
if (this.hasOwnProperty(c), s.hasOwnProperty(c) && typeof this[c] == "number" && this[c] == u) return;
|
|
307
|
+
if (c == null) {
|
|
308
|
+
const m = v?.i;
|
|
309
|
+
if (v && m && !(8 & m) && u !== r) {
|
|
310
|
+
const p = this, h = (d = t.R) == null ? void 0 : d[i];
|
|
311
|
+
h?.forEach(((S) => {
|
|
312
|
+
const [[f, y]] = Object.entries(S);
|
|
313
|
+
p[f] != null && (128 & m || 1 & y) && p[f].call(p, u, r, i);
|
|
314
|
+
}));
|
|
315
|
+
}
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
const C = a.find((([m]) => m === c)), w = C && 4 & C[1][0], b = w && u === null && this[c] === void 0;
|
|
319
|
+
w && (u = u !== null && u !== "false");
|
|
320
|
+
const g = Object.getOwnPropertyDescriptor(s, c);
|
|
321
|
+
b || u == this[c] || g.get && !g.set || (this[c] = u);
|
|
322
|
+
}));
|
|
323
|
+
}, e.observedAttributes = Array.from(/* @__PURE__ */ new Set([...Object.keys((n = t.R) != null ? n : {}), ...a.filter((([i, r]) => 31 & r[0])).map((([i, r]) => {
|
|
324
|
+
var u;
|
|
325
|
+
const d = r[1] || i;
|
|
326
|
+
return l.set(d, i), 512 & r[0] && ((u = t.k) == null || u.push([i, d])), d;
|
|
327
|
+
}))]));
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
return e;
|
|
331
|
+
}, qe = (e, t) => {
|
|
332
|
+
const o = { i: t[0], h: t[1] };
|
|
333
|
+
try {
|
|
334
|
+
o.t = t[2], o.k = [];
|
|
335
|
+
const n = e.prototype.connectedCallback, s = e.prototype.disconnectedCallback;
|
|
336
|
+
return Object.assign(e.prototype, { __hasHostListenerAttached: !1, __registerHost() {
|
|
337
|
+
((a, l) => {
|
|
338
|
+
const i = { i: 0, $hostElement$: a, l, o: /* @__PURE__ */ new Map(), _: /* @__PURE__ */ new Map() };
|
|
339
|
+
i.H = new Promise(((u) => i.L = u)), a["s-p"] = [], a["s-rc"] = [];
|
|
340
|
+
const r = i;
|
|
341
|
+
a.__stencil__getHostRef = () => r, 512 & l.i && be(a, i);
|
|
342
|
+
})(this, o);
|
|
343
|
+
}, connectedCallback() {
|
|
344
|
+
if (!this.__hasHostListenerAttached) {
|
|
345
|
+
if (!E(this)) return;
|
|
346
|
+
this.__hasHostListenerAttached = !0;
|
|
347
|
+
}
|
|
348
|
+
((a) => {
|
|
349
|
+
if (!(1 & O.i)) {
|
|
350
|
+
const l = E(a);
|
|
351
|
+
if (!l) return;
|
|
352
|
+
const i = l.l;
|
|
353
|
+
if (1 & l.i) l?.P || l?.H && l.H.then((() => {
|
|
354
|
+
}));
|
|
355
|
+
else {
|
|
356
|
+
l.i |= 1;
|
|
357
|
+
{
|
|
358
|
+
let r = a;
|
|
359
|
+
for (; r = r.parentNode || r.host; ) if (r["s-p"]) {
|
|
360
|
+
ve(l, l.A = r);
|
|
361
|
+
break;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
i.t && Object.entries(i.t).map((([r, [u]]) => {
|
|
365
|
+
if (31 & u && Object.prototype.hasOwnProperty.call(a, r)) {
|
|
366
|
+
const d = a[r];
|
|
367
|
+
delete a[r], a[r] = d;
|
|
368
|
+
}
|
|
369
|
+
})), (async (r, u, d) => {
|
|
370
|
+
let c;
|
|
371
|
+
try {
|
|
372
|
+
if (!(32 & u.i) && (u.i |= 32, c = r.constructor, customElements.whenDefined(r.localName).then((() => u.i |= 128)), c && c.style)) {
|
|
373
|
+
let w;
|
|
374
|
+
typeof c.style == "string" && (w = c.style);
|
|
375
|
+
const b = ae(d);
|
|
376
|
+
M.has(b) || ((g, m, p) => {
|
|
377
|
+
let h = M.get(g);
|
|
378
|
+
F && p ? (h = h || new CSSStyleSheet(), typeof h == "string" ? h = m : h.replaceSync(m)) : h = m, M.set(g, h);
|
|
379
|
+
})(b, w, !!(1 & d.i));
|
|
380
|
+
}
|
|
381
|
+
const v = u.A, C = () => z(u, !0);
|
|
382
|
+
v && v["s-rc"] ? v["s-rc"].push(C) : C();
|
|
383
|
+
} catch (v) {
|
|
384
|
+
L(v, r), u.C && (u.C(), u.C = void 0), u.L && u.L(r);
|
|
385
|
+
}
|
|
386
|
+
})(a, l, i);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
})(this), n && n.call(this);
|
|
390
|
+
}, disconnectedCallback() {
|
|
391
|
+
(async (a) => {
|
|
392
|
+
1 & O.i || E(a), k.has(a) && k.delete(a), a.shadowRoot && k.has(a.shadowRoot) && k.delete(a.shadowRoot);
|
|
393
|
+
})(this), s && s.call(this);
|
|
394
|
+
}, __attachShadow() {
|
|
395
|
+
if (this.shadowRoot) {
|
|
396
|
+
if (this.shadowRoot.mode !== "open") throw new Error(`Unable to re-use existing shadow root for ${o.h}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`);
|
|
397
|
+
} else $e.call(this, o);
|
|
398
|
+
} }), Object.defineProperty(e, "is", { value: o.h, configurable: !0 }), Me(e, o);
|
|
399
|
+
} catch (n) {
|
|
400
|
+
return L(n), e;
|
|
401
|
+
}
|
|
402
|
+
}, Ue = (e) => O.D = e, Be = (e) => Object.assign(O, e), se = /* @__PURE__ */ new WeakMap();
|
|
403
|
+
function Ve(e, t) {
|
|
404
|
+
let o = se.get(t);
|
|
405
|
+
o || (o = { i: 0, l: { i: 0, h: t.tagName }, $hostElement$: t }, se.set(t, o)), Se(o, e);
|
|
406
|
+
}
|
|
407
|
+
function Fe(e) {
|
|
408
|
+
return e;
|
|
409
|
+
}
|
|
410
|
+
const R = globalThis.CSSStyleSheet !== void 0 ? new CSSStyleSheet() : void 0;
|
|
411
|
+
let re = !1;
|
|
412
|
+
R && document.adoptedStyleSheets ? document.adoptedStyleSheets.push(R) : console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");
|
|
413
|
+
let W = null;
|
|
414
|
+
const q = globalThis.MutationObserver !== void 0 ? new MutationObserver((() => {
|
|
415
|
+
ge();
|
|
416
|
+
})) : void 0, ge = () => {
|
|
417
|
+
if (R === void 0) return !1;
|
|
418
|
+
const e = (() => {
|
|
419
|
+
if (R === void 0) return;
|
|
420
|
+
const t = [];
|
|
421
|
+
for (let o = 0; o < document.styleSheets.length; o++) {
|
|
422
|
+
const n = document.styleSheets.item(o);
|
|
423
|
+
if (n) try {
|
|
424
|
+
let s = -1, a = 0;
|
|
425
|
+
for (let l = 0; l < n.cssRules.length; l++) {
|
|
426
|
+
const i = n.cssRules.item(l);
|
|
427
|
+
if (i?.cssText.startsWith("gids-global-styles-start")) s = l;
|
|
428
|
+
else if (s > -1) {
|
|
429
|
+
if (i?.cssText.startsWith("gids-global-styles-end")) {
|
|
430
|
+
a = l - s + 1;
|
|
431
|
+
break;
|
|
432
|
+
}
|
|
433
|
+
t.push(i);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
if (s > -1) return { rulesStartIndex: s, originalRulesCount: a, rules: t, styleSheet: n };
|
|
437
|
+
} catch (s) {
|
|
438
|
+
if (!(s instanceof DOMException)) throw s;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
})();
|
|
442
|
+
if (e !== void 0) {
|
|
443
|
+
const t = e.styleSheet.ownerNode;
|
|
444
|
+
return q !== void 0 && t !== W && (W && q.disconnect(), t instanceof Element && q.observe(t, { childList: !0, characterData: !0, subtree: !0 }), W = t), R.replaceSync(((o) => o.rules.map(((n) => n.cssText)).join(""))(e)), ((o) => {
|
|
445
|
+
const { rulesStartIndex: n, originalRulesCount: s, styleSheet: a } = o;
|
|
446
|
+
for (let l = 0; l < s; l++) a.deleteRule(n);
|
|
447
|
+
})(e), !0;
|
|
448
|
+
}
|
|
449
|
+
return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."), !1;
|
|
450
|
+
}, Ge = () => (re || (re = ge()), R);
|
|
451
|
+
export {
|
|
452
|
+
ge as $,
|
|
453
|
+
ue as E,
|
|
454
|
+
We as _,
|
|
455
|
+
He as a,
|
|
456
|
+
Ue as b,
|
|
457
|
+
De as c,
|
|
458
|
+
Be as f,
|
|
459
|
+
Ge as g,
|
|
460
|
+
Ve as h,
|
|
461
|
+
Fe as p,
|
|
462
|
+
qe as u,
|
|
463
|
+
Te as w,
|
|
464
|
+
Ce as x
|
|
465
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(E,P){typeof exports=="object"&&typeof module<"u"?P(exports):typeof define=="function"&&define.amd?define(["exports"],P):(E=typeof globalThis<"u"?globalThis:E||self,P(E.gidsCoreWebGidsIcon={}))})(this,(function(E){"use strict";function P(e,t,s){const n=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==n;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!s||o.get))return o;e=Object.getPrototypeOf(e)}}var N,je=(e,t)=>{var s;Object.entries((s=t.l.t)!=null?s:{}).map((([n,[o]])=>{if(31&o||32&o){const u=e[n],i=P(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(e,n,{get(){return i.get.call(this)},set(l){i.set.call(this,l)},configurable:!0,enumerable:!0}),t.o.has(n)?e[n]=t.o.get(n):u!==void 0&&(e[n]=u)}}))},C=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},te=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),T=new Map,$=typeof window<"u"?window:{},xe=$.HTMLElement||class{},A={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},B=(()=>{try{return!!$.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),z=!!B&&!!$.document&&Object.getOwnPropertyDescriptor($.document.adoptedStyleSheets,"length").writable,q=!1,ne=[],se=[],Re=(e,t)=>s=>{e.push(s),q||(q=!0,4&A.i?K(U):A.raf(U))},oe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){I(s)}e.length=0},U=()=>{oe(ne),oe(se),(q=ne.length>0)&&A.raf(U)},K=e=>Promise.resolve(void 0).then(e),Ne=Re(se);function Ie(){const e=this.attachShadow({mode:"open"});N===void 0&&(N=null),N&&(z?e.adoptedStyleSheets.push(N):e.adoptedStyleSheets=[...e.adoptedStyleSheets,N])}var G,k=new WeakMap,ie=e=>"sc-"+e.h,V=e=>(e=typeof e)=="object"||e==="function",j=(e,t,...s)=>{let n=null,o=null,u=!1,i=!1;const l=[],r=d=>{for(let a=0;a<d.length;a++)n=d[a],Array.isArray(n)?r(n):n!=null&&typeof n!="boolean"&&((u=typeof e!="function"&&!V(n))&&(n=String(n)),u&&i?l[l.length-1].p+=n:l.push(u?D(null,n):n),i=u)};if(r(s),t&&t.key&&(o=t.key),typeof e=="function")return e(t===null?{}:t,l,Me);const c=D(e,null);return c.m=t,l.length>0&&(c.v=l),c.$=o,c},D=(e,t)=>({i:0,S:e,p:t??null,O:null,v:null,m:null,$:null}),Le={},Me={forEach:(e,t)=>e.map(re).forEach(t),map:(e,t)=>e.map(re).map(t).map(Te)},re=e=>({vattrs:e.m,vchildren:e.v,vkey:e.$,vname:e.j,vtag:e.S,vtext:e.p}),Te=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),j(e.vtag,s,...e.vchildren||[])}const t=D(e.vtag,e.vtext);return t.m=e.vattrs,t.v=e.vchildren,t.$=e.vkey,t.j=e.vname,t},le=(e,t)=>e==null||V(e)?e:4&t?e!=="false"&&(e===""||!!e):1&t?String(e):e,Ge=(e,t,s)=>{const n=A.ce(t,s);return e.dispatchEvent(n),n},ae=(e,t,s,n,o,u)=>{if(s===n)return;let i=te(e,t),l=t.toLowerCase();if(t!=="key"){if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let c;{const d=C(e);if(d&&d.l&&d.l.t){const a=d.l.t[r];a&&a[1]&&(c=a[1])}}return c||(c=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(n==null||n===!1?n===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,n===!0?"":n))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=n}catch{}return}{const r=V(n);if((i||r&&n!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{const c=n??"";t==="list"?i=!1:s!=null&&e[t]===c||(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch{}n==null||n===!1?n===!1&&e.getAttribute(t)!==""||e.removeAttribute(t):(!i||4&u||o)&&!r&&e.nodeType===1&&e.setAttribute(t,n=n===!0?"":n)}}else if(t=t[2]==="-"?t.slice(3):te($,l)?l.slice(2):l[2]+t.slice(3),s||n){const r=t.endsWith(ce);t=t.replace(De,""),s&&A.rel(e,t,s,r),n&&A.ael(e,t,n,r)}}},ce="Capture",De=new RegExp(ce+"$"),ue=(e,t,s)=>{const n=t.O.nodeType===11&&t.O.host?t.O.host:t.O,o=e&&e.m||{},u=t.m||{};for(const i of de(Object.keys(o)))i in u||ae(n,i,o[i],void 0,s,t.i);for(const i of de(Object.keys(u)))ae(n,i,o[i],u[i],s,t.i)};function de(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var he=!1,fe=!1,H=(e,t,s)=>{const n=t.v[s];let o,u,i=0;if(n.p!=null)o=n.O=$.document.createTextNode(n.p);else{if(!$.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=n.O=$.document.createElement(n.S),ue(null,n,fe),n.v){const l=n.S==="template"?o.content:o;for(i=0;i<n.v.length;++i)u=H(e,n,i),u&&l.appendChild(u)}}return o["s-hn"]=G,o},pe=(e,t,s,n,o,u)=>{let i,l=e;for(l.shadowRoot&&l.tagName===G&&(l=l.shadowRoot),s.S==="template"&&(l=l.content);o<=u;++o)n[o]&&(i=H(null,s,o),i&&(n[o].O=i,L(l,i,t)))},me=(e,t,s)=>{for(let n=t;n<=s;++n){const o=e[n];if(o){const u=o.O;u&&u.remove()}}},W=(e,t,s=!1)=>e.S===t.S&&(s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),x=(e,t,s=!1)=>{const n=t.O=e.O,o=e.v,u=t.v,i=t.p;i==null?(t.S!=="slot"||he||e.j!==t.j&&(t.O["s-sn"]=t.j||"",(l=>{A.i|=1;const r=l.closest(G.toLowerCase());if(r!=null){const c=Array.from(r.__childNodes||r.childNodes).find((a=>a["s-cr"])),d=Array.from(l.__childNodes||l.childNodes);for(const a of c?d.reverse():d)a["s-sh"]!=null&&(L(r,a,c??null),a["s-sh"]=void 0)}A.i&=-2})(t.O.parentElement)),ue(e,t,fe),o!==null&&u!==null?((l,r,c,d,a=!1)=>{let g,O,b=0,w=0,S=0,m=0,p=r.length-1,h=r[0],v=r[p],f=d.length-1,y=d[0],_=d[f];const Pe=c.S==="template"?l.content:l;for(;b<=p&&w<=f;)if(h==null)h=r[++b];else if(v==null)v=r[--p];else if(y==null)y=d[++w];else if(_==null)_=d[--f];else if(W(h,y,a))x(h,y,a),h=r[++b],y=d[++w];else if(W(v,_,a))x(v,_,a),v=r[--p],_=d[--f];else if(W(h,_,a))x(h,_,a),L(Pe,h.O,v.O.nextSibling),h=r[++b],_=d[--f];else if(W(v,y,a))x(v,y,a),L(Pe,v.O,h.O),v=r[--p],y=d[++w];else{for(S=-1,m=b;m<=p;++m)if(r[m]&&r[m].$!==null&&r[m].$===y.$){S=m;break}S>=0?(O=r[S],O.S!==y.S?g=H(r&&r[w],c,S):(x(O,y,a),r[S]=void 0,g=O.O),y=d[++w]):(g=H(r&&r[w],c,w),y=d[++w]),g&&L(h.O.parentNode,g,h.O)}b>p?pe(l,d[f+1]==null?null:d[f+1].O,c,d,w,f):w>f&&me(r,b,p)})(n,o,t,u,s):u!==null?(e.p!==null&&(n.textContent=""),pe(n,null,t,u,0,u.length-1)):!s&&o!==null&&me(o,0,o.length-1)):e.p!==i&&(n.data=i)},L=(e,t,s)=>e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s),He=(e,t,s=!1)=>{const n=e.$hostElement$,o=e.l,u=e.M||D(null,null);var i;const l=(i=t)&&i.S===Le?t:j(null,null,t);if(G=n.tagName,o.k&&(l.m=l.m||{},o.k.forEach((([r,c])=>{l.m[c]=n[r]}))),s&&l.m)for(const r of Object.keys(l.m))n.hasAttribute(r)&&!["key","ref","style","class"].includes(r)&&(l.m[r]=n[r]);l.S=null,l.i|=4,e.M=l,l.O=u.O=n.shadowRoot||n,he=!(!(1&o.i)||128&o.i),x(u,l,s)},ge=(e,t)=>{if(t&&!e.C&&t["s-p"]){const s=t["s-p"].push(new Promise((n=>e.C=()=>{t["s-p"].splice(s-1,1),n()})))}},F=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);ge(e,e.A);const s=()=>We(e,t);if(!t)return Ne(s);queueMicrotask((()=>{s()}))},We=(e,t)=>{const s=e.$hostElement$,n=s;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=M(n,t?"componentWillLoad":"componentWillUpdate",void 0,s),o=ye(o,(()=>M(n,"componentWillRender",void 0,s))),ye(o,(()=>ze(e,n,t)))},ye=(e,t)=>Be(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Be=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ze=async(e,t,s)=>{var n;const o=e.$hostElement$,u=o["s-rc"];s&&(i=>{const l=i.l,r=i.$hostElement$,c=l.i,d=((a,g)=>{var O,b,w;const S=ie(g),m=T.get(S);if(!$.document)return S;if(a=a.nodeType===11?a:$.document,m)if(typeof m=="string"){let p,h=k.get(a=a.head||a);if(h||k.set(a,h=new Set),!h.has(S)){p=$.document.createElement("style"),p.textContent=m;const v=(O=A.D)!=null?O:(function(){var f,y,_;return(_=(y=(f=$.document.head)==null?void 0:f.querySelector('meta[name="csp-nonce"]'))==null?void 0:y.getAttribute("content"))!=null?_:void 0})();if(v!=null&&p.setAttribute("nonce",v),!(1&g.i))if(a.nodeName==="HEAD"){const f=a.querySelectorAll("link[rel=preconnect]"),y=f.length>0?f[f.length-1].nextSibling:a.querySelector("style");a.insertBefore(p,y?.parentNode===a?y:null)}else if("host"in a)if(B){const f=new((b=a.defaultView)!=null?b:a.ownerDocument.defaultView).CSSStyleSheet;f.replaceSync(m),z?a.adoptedStyleSheets.unshift(f):a.adoptedStyleSheets=[f,...a.adoptedStyleSheets]}else{const f=a.querySelector("style");f?f.textContent=m+f.textContent:a.prepend(p)}else a.append(p);1&g.i&&a.insertBefore(p,null),4&g.i&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),h&&h.add(S)}}else{let p=k.get(a);if(p||k.set(a,p=new Set),!p.has(S)){const h=(w=a.defaultView)!=null?w:a.ownerDocument.defaultView;let v;if(m.constructor===h.CSSStyleSheet)v=m;else{v=new h.CSSStyleSheet;for(let f=0;f<m.cssRules.length;f++)v.insertRule(m.cssRules[f].cssText,f)}z?a.adoptedStyleSheets.push(v):a.adoptedStyleSheets=[...a.adoptedStyleSheets,v],p.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),l);10&c&&(r["s-sc"]=d,r.classList.add(d+"-h"))})(e),qe(e,t,o,s),u&&(u.map((i=>i())),o["s-rc"]=void 0);{const i=(n=o["s-p"])!=null?n:[],l=()=>Ue(e);i.length===0?l():(Promise.all(i).then(l).catch(l),e.i|=4,i.length=0)}},qe=(e,t,s,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,He(e,t,n)}catch(o){I(o,e.$hostElement$)}return null},Ue=e=>{const t=e.$hostElement$,s=t,n=e.A;M(s,"componentDidRender",void 0,t),64&e.i?M(s,"componentDidUpdate",void 0,t):(e.i|=64,Ve(t),M(s,"componentDidLoad",void 0,t),e.L(t),n||Ke()),e.C&&(e.C(),e.C=void 0),512&e.i&&K((()=>F(e,!1))),e.i&=-517},Ke=()=>{K((()=>Ge($,"appload",{detail:{namespace:"gids-core-web"}})))},M=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(o){I(o,n)}},Ve=e=>e.classList.add("hydrated"),ve=(e,t,s,n)=>{const o=C(e);if(!o)return;const u=e,i=o.o.get(t),l=o.i,r=u;s=le(s,n.t[t][0]);const c=Number.isNaN(i)&&Number.isNaN(s);if(s!==i&&!c&&(o.o.set(t,s),2&l)){if(r.componentShouldUpdate&&r.componentShouldUpdate(s,i,t)===!1&&!(16&l))return;16&l||F(o,!1)}},Fe=(e,t)=>{var s,n;const o=e.prototype;if(t.t){const u=Object.entries((s=t.t)!=null?s:{});u.map((([i,[l]])=>{if(31&l||32&l){const{get:r,set:c}=P(o,i)||{};r&&(t.t[i][0]|=2048),c&&(t.t[i][0]|=4096),Object.defineProperty(o,i,{get(){return r?r.apply(this):(d=i,C(this).o.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,i,{set(d){const a=C(this);if(a){if(c)return(32&l?this[i]:a.$hostElement$[i])===void 0&&a.o.get(i)&&(d=a.o.get(i)),c.apply(this,[le(d,l)]),void ve(this,i,d=32&l?this[i]:a.$hostElement$[i],t);ve(this,i,d,t)}}})}}));{const i=new Map;o.attributeChangedCallback=function(l,r,c){A.jmp((()=>{var d;const a=i.get(l),g=C(this);if(this.hasOwnProperty(a),o.hasOwnProperty(a)&&typeof this[a]=="number"&&this[a]==c)return;if(a==null){const m=g?.i;if(g&&m&&!(8&m)&&c!==r){const p=this,h=(d=t.R)==null?void 0:d[l];h?.forEach((v=>{const[[f,y]]=Object.entries(v);p[f]!=null&&(128&m||1&y)&&p[f].call(p,c,r,l)}))}return}const O=u.find((([m])=>m===a)),b=O&&4&O[1][0],w=b&&c===null&&this[a]===void 0;b&&(c=c!==null&&c!=="false");const S=Object.getOwnPropertyDescriptor(o,a);w||c==this[a]||S.get&&!S.set||(this[a]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.R)!=null?n:{}),...u.filter((([l,r])=>31&r[0])).map((([l,r])=>{var c;const d=r[1]||l;return i.set(d,l),512&r[0]&&((c=t.k)==null||c.push([l,d])),d}))]))}}return e},Ye=(e,t)=>{const s={i:t[0],h:t[1]};try{s.t=t[2],s.k=[];const n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((u,i)=>{const l={i:0,$hostElement$:u,l:i,o:new Map,_:new Map};l.H=new Promise((c=>l.L=c)),u["s-p"]=[],u["s-rc"]=[];const r=l;u.__stencil__getHostRef=()=>r,512&i.i&&je(u,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!C(this))return;this.__hasHostListenerAttached=!0}(u=>{if(!(1&A.i)){const i=C(u);if(!i)return;const l=i.l;if(1&i.i)i?.P||i?.H&&i.H.then((()=>{}));else{i.i|=1;{let r=u;for(;r=r.parentNode||r.host;)if(r["s-p"]){ge(i,i.A=r);break}}l.t&&Object.entries(l.t).map((([r,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(u,r)){const d=u[r];delete u[r],u[r]=d}})),(async(r,c,d)=>{let a;try{if(!(32&c.i)&&(c.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>c.i|=128)),a&&a.style)){let b;typeof a.style=="string"&&(b=a.style);const w=ie(d);T.has(w)||((S,m,p)=>{let h=T.get(S);B&&p?(h=h||new CSSStyleSheet,typeof h=="string"?h=m:h.replaceSync(m)):h=m,T.set(S,h)})(w,b,!!(1&d.i))}const g=c.A,O=()=>F(c,!0);g&&g["s-rc"]?g["s-rc"].push(O):O()}catch(g){I(g,r),c.C&&(c.C(),c.C=void 0),c.L&&c.L(r)}})(u,i,l)}}})(this),n&&n.call(this)},disconnectedCallback(){(async u=>{1&A.i||C(u),k.has(u)&&k.delete(u),u.shadowRoot&&k.has(u.shadowRoot)&&k.delete(u.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.h}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ie.call(this,s)}}),Object.defineProperty(e,"is",{value:s.h,configurable:!0}),Fe(e,s)}catch(n){return I(n),e}};function dt(e){return e}const R=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Se=!1;R&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(R):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let Y=null;const Z=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{be()})):void 0,be=()=>{if(R===void 0)return!1;const e=(()=>{if(R===void 0)return;const t=[];for(let s=0;s<document.styleSheets.length;s++){const n=document.styleSheets.item(s);if(n)try{let o=-1,u=0;for(let i=0;i<n.cssRules.length;i++){const l=n.cssRules.item(i);if(l?.cssText.startsWith("gids-global-styles-start"))o=i;else if(o>-1){if(l?.cssText.startsWith("gids-global-styles-end")){u=i-o+1;break}t.push(l)}}if(o>-1)return{rulesStartIndex:o,originalRulesCount:u,rules:t,styleSheet:n}}catch(o){if(!(o instanceof DOMException))throw o}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return Z!==void 0&&t!==Y&&(Y&&Z.disconnect(),t instanceof Element&&Z.observe(t,{childList:!0,characterData:!0,subtree:!0}),Y=t),R.replaceSync((s=>s.rules.map((n=>n.cssText)).join(""))(e)),(s=>{const{rulesStartIndex:n,originalRulesCount:o,styleSheet:u}=s;for(let i=0;i<o;i++)u.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Ze=()=>(Se||(Se=be()),R),we={"icons-other.svg":["accessibility","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","new","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Oe=new Map;for(const e in we)for(const t of we[e])Oe.set(t,e);function Je(e){return Oe.get(e)}function $e(e,t="regular",s){const n=Je(e);let o=n??"";return s&&n&&(o=s(n)??n),`${o}#${e}${t==="filled"?"--filled":""}`}function Ae(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=Ae(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Qe(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=Ae(e))&&(n&&(n+=" "),n+=t);return n}const Xe=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Qe("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),J=Symbol("defaultPath"),_e=Symbol("pathSet"),Q="gids-asset-paths-set";class et extends EventTarget{#n=new Map;constructor(){super()}#e(t,s){this.#n.set(t,s)}#t(t){return this.#n.get(t)??null}#s=()=>{this.dispatchEvent(new Event(Q))};haveAssetPathsBeenSet(){return this.#t(_e)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(J,t);else{for(const n in t)this.#e(n,t[n]);s&&this.#e(J,s)}this.#e(_e,"true"),setTimeout(this.#s,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const n=this.#t(J);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(Q,t,{once:!0}),()=>{this.removeEventListener(Q,t)}}}const X=Symbol.for("GIDS"),tt=()=>(globalThis[X]===void 0&&(globalThis[X]={assetPaths:{}}),globalThis[X]),nt=e=>{const t=tt().assetPaths;return t[e]===void 0&&(t[e]=new et),t[e]};function ee(){return nt("@ganpatiinfo/gids-web-shared")}function st(){return ee().haveAssetPathsBeenSet()}function Ce(e){return ee().getAssetFilePath(e)}function ot(e){return ee().onAssetPathsSet(e)}let it=0;const rt=(e,t="gids")=>e||`${t}-${it++}`,{getGidsIconClassNames:lt}=Xe,at=({name:e,size:t,appearance:s,alt:n,class:o,titleId:u,src:i,...l})=>{const r=rt(u);let c=i;return c===void 0&&st()&&(c=$e(e,s,Ce)),j("svg",{ref:d=>{c===void 0&&ot((()=>{(function(a,g,O){if(!a)return;const b=document.createElementNS("http://www.w3.org/2000/svg","use");b.setAttribute("href",$e(g,O,Ce)),a.appendChild(b)})(d,e,s)}))},width:"16",height:"16",class:lt({size:t},o),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:r,...l},n!==""&&j("title",{id:r},n||e),c!==void 0?j("use",{href:c}):null)},ke=Ye(class extends xe{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow()}connectedCallback(){const e=Ze();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}render(){return j(at,{key:"2459cf3111612150342d5a57574fd61157a9c591",name:this.name,size:this.size,appearance:this.appearance,alt:this.alt,titleId:this.titleId})}get _el(){return this}static get style(){return".gids-icon{fill:var(--gidsIcon-color, var(--gids-color-icon-default));width:auto;height:var(--gidsIcon-height, 100%)}.gids-icon--xs{--gidsIcon-height:var(--gids-size-120)}.gids-icon--sm{--gidsIcon-height:var(--gids-size-160)}.gids-icon--md{--gidsIcon-height:var(--gids-size-240)}.gids-icon--lg{--gidsIcon-height:var(--gids-size-320)}"}},[1,"gids-icon",{name:[1],size:[1],appearance:[1],alt:[1],titleId:[1,"title-id"]}]);function Ee(){typeof customElements<"u"&&["gids-icon"].forEach((e=>{e==="gids-icon"&&(customElements.get(e)||customElements.define(e,ke))}))}Ee();const ct=ke,ut=Ee;E.GidsIcon=ct,E.defineCustomElement=ut,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})}));
|