kss-modern 0.0.19 → 0.0.21

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.
@@ -0,0 +1 @@
1
+ import "./main-DJu5Mg_E.js";
@@ -0,0 +1,104 @@
1
+ class c {
2
+ modifier;
3
+ placeholder;
4
+ constructor(e) {
5
+ this.modifier = e.modifier, this.placeholder = e.placeholder || "{{modifier_class}}";
6
+ }
7
+ initialize(e = document) {
8
+ this.modifier && this.replaceInDocument(e);
9
+ }
10
+ static fromIframe(e = document) {
11
+ if (!window.frameElement)
12
+ throw new Error("ModifierReplacer can only be initialized from an iframe context.");
13
+ const i = window.frameElement.getAttribute("data-modifier");
14
+ if (!i)
15
+ return null;
16
+ const t = i.split(".").filter((r) => r.length > 0).join(" "), n = new c({ modifier: t });
17
+ return n.initialize(e), n;
18
+ }
19
+ static fromUrl(e = document) {
20
+ const t = new URLSearchParams(window.location.search).get("modifier");
21
+ if (!t)
22
+ return null;
23
+ const n = t.split(".").filter((o) => o.length > 0).join(" "), r = new c({ modifier: n });
24
+ return r.initialize(e), r;
25
+ }
26
+ replaceAll(e) {
27
+ const i = encodeURIComponent(JSON.stringify(this.placeholder)), t = JSON.stringify({ modifierClass: this.placeholder }), n = encodeURIComponent(t);
28
+ return e.replace(new RegExp(this.escapeRegExp(this.placeholder), "g"), this.modifier).replace(new RegExp(this.escapeRegExp(i), "g"), this.modifier).replace(new RegExp(this.escapeRegExp(n), "g"), this.modifier);
29
+ }
30
+ escapeRegExp(e) {
31
+ return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
32
+ }
33
+ replaceInDocument(e) {
34
+ const i = e.createTreeWalker(
35
+ e.body,
36
+ NodeFilter.SHOW_TEXT | NodeFilter.SHOW_ELEMENT,
37
+ {
38
+ acceptNode: () => NodeFilter.FILTER_ACCEPT
39
+ }
40
+ );
41
+ for (; i.nextNode(); ) {
42
+ const t = i.currentNode;
43
+ t.nodeType === Node.TEXT_NODE ? this.replaceInTextNode(t) : t.nodeType === Node.ELEMENT_NODE && this.replaceInElementAttributes(t);
44
+ }
45
+ }
46
+ replaceInTextNode(e) {
47
+ if (e.textContent) {
48
+ const i = e.textContent, t = this.replaceAll(i);
49
+ i !== t && (e.textContent = t);
50
+ }
51
+ }
52
+ replaceInElementAttributes(e) {
53
+ Array.from(e.attributes).forEach((i) => {
54
+ const t = i.value, n = this.replaceAll(t);
55
+ t !== n && (i.value = n);
56
+ });
57
+ }
58
+ }
59
+ window.frameElement ? (window.frameElement.getAttribute("data-preview") === "true" && document.documentElement.classList.add("styleguide-preview"), window.frameElement.hasAttribute("data-modifier") && c.fromIframe(), window.runAccessibilityTest = async () => {
60
+ const u = async () => {
61
+ const { default: r } = await import("./axe-B2M3jwef.js").then((s) => s.a), o = await r.run("body").catch(console.error);
62
+ if (!o)
63
+ throw new Error("No results from html-validate");
64
+ const d = /* @__PURE__ */ new Map(), l = (s) => {
65
+ s.forEach((m) => {
66
+ m.nodes.forEach((f) => {
67
+ f.target.forEach((a) => {
68
+ const p = r.utils.shadowSelect(a);
69
+ if (!p)
70
+ throw new Error(`Could not find element for selector: ${a}`);
71
+ d.set(a, p);
72
+ });
73
+ });
74
+ });
75
+ };
76
+ return l(o.violations), l(o.inapplicable), l(o.passes), l(o.incomplete), {
77
+ result: o,
78
+ targetMap: d
79
+ };
80
+ }, e = async () => {
81
+ const { HtmlValidate: r, StaticConfigLoader: o } = await import("./browser-ImNvK64W.js"), d = new o(), l = new r(d), s = document.documentElement.outerHTML, { results: m } = await l.validateString(s, {
82
+ rules: {
83
+ "no-trailing-whitespace": "off",
84
+ "no-inline-style": "off"
85
+ }
86
+ }), f = m.map((a) => a.messages).flat();
87
+ return await Promise.all(f.map(async (a) => {
88
+ const w = (await l.getContextualDocumentation(a))?.description;
89
+ return {
90
+ ...a,
91
+ ruleDescription: w
92
+ };
93
+ }));
94
+ }, [i, t] = await Promise.all([
95
+ u(),
96
+ e()
97
+ ]), n = new CustomEvent("accessibility-result", {
98
+ detail: {
99
+ axe: i,
100
+ htmlValidate: t
101
+ }
102
+ });
103
+ window.frameElement?.dispatchEvent(n);
104
+ }) : new URLSearchParams(window.location.search).get("modifier") && c.fromUrl();
@@ -0,0 +1,171 @@
1
+ import { b as $, a as p } from "./main-DJu5Mg_E.js";
2
+ function C(n, i, e) {
3
+ var t = e || {}, a = t.noTrailing, s = a === void 0 ? !1 : a, r = t.noLeading, u = r === void 0 ? !1 : r, c = t.debounceMode, m = c === void 0 ? void 0 : c, d, b = !1, w = 0;
4
+ function E() {
5
+ d && clearTimeout(d);
6
+ }
7
+ function M(h) {
8
+ var g = h || {}, o = g.upcomingOnly, T = o === void 0 ? !1 : o;
9
+ E(), b = !T;
10
+ }
11
+ function R() {
12
+ for (var h = arguments.length, g = new Array(h), o = 0; o < h; o++)
13
+ g[o] = arguments[o];
14
+ var T = this, A = Date.now() - w;
15
+ if (b)
16
+ return;
17
+ function v() {
18
+ w = Date.now(), i.apply(T, g);
19
+ }
20
+ function I() {
21
+ d = void 0;
22
+ }
23
+ !u && m && !d && v(), E(), m === void 0 && A > n ? u ? (w = Date.now(), s || (d = setTimeout(m ? I : v, n))) : v() : s !== !0 && (d = setTimeout(m ? I : v, m === void 0 ? n - A : n));
24
+ }
25
+ return R.cancel = M, R;
26
+ }
27
+ function D(n, i, e) {
28
+ var t = e || {}, a = t.atBegin, s = a === void 0 ? !1 : a;
29
+ return C(n, i, {
30
+ debounceMode: s !== !1
31
+ });
32
+ }
33
+ function B(...n) {
34
+ return D(...n);
35
+ }
36
+ class _ {
37
+ callback;
38
+ interval;
39
+ isRunning;
40
+ timeoutId;
41
+ remaining;
42
+ startTime;
43
+ /**
44
+ * Creates a new PausableInterval instance
45
+ * @param callback The function to call on each interval
46
+ * @param interval The interval duration in milliseconds
47
+ */
48
+ constructor(i, e) {
49
+ this.callback = i, this.interval = e, this.isRunning = !1, this.timeoutId = null, this.remaining = e, this.startTime = null;
50
+ }
51
+ /**
52
+ * Start the interval timer
53
+ */
54
+ start() {
55
+ this.isRunning || (this.isRunning = !0, this.startTime = Date.now(), this.timeoutId = window.setTimeout(() => {
56
+ this.callback(), this.remaining = this.interval, this.isRunning && this.start();
57
+ }, this.remaining));
58
+ }
59
+ /**
60
+ * Pause the interval timer
61
+ */
62
+ pause() {
63
+ !this.isRunning || this.timeoutId === null || this.startTime === null || (this.isRunning = !1, window.clearTimeout(this.timeoutId), this.remaining -= Date.now() - this.startTime, this.remaining < 0 && (this.remaining = 0));
64
+ }
65
+ /**
66
+ * Resume the interval timer
67
+ */
68
+ resume() {
69
+ this.start();
70
+ }
71
+ /**
72
+ * Stop and reset the interval timer
73
+ */
74
+ stop() {
75
+ this.isRunning = !1, this.timeoutId !== null && (window.clearTimeout(this.timeoutId), this.timeoutId = null), this.remaining = this.interval;
76
+ }
77
+ /**
78
+ * Check if the interval is currently running
79
+ * @returns True if the interval is running, false otherwise
80
+ */
81
+ isActive() {
82
+ return this.isRunning;
83
+ }
84
+ /**
85
+ * Change the interval duration
86
+ * @param newInterval The new interval duration in milliseconds
87
+ */
88
+ setInterval(i) {
89
+ const e = this.isRunning;
90
+ e && this.pause(), this.interval = i, this.remaining = i, e && this.resume();
91
+ }
92
+ }
93
+ const y = 3e3, O = document.querySelector("#alerts");
94
+ if (!O)
95
+ throw new Error("Alert container not found");
96
+ const l = [], f = $(!1);
97
+ f.effect(B(50, () => {
98
+ l.toReversed().forEach(({ element: n, interval: i }, e) => {
99
+ f.value ? (i.setInterval(y - e * 250), i.pause()) : i.resume();
100
+ const t = 1 - e * 0.1, a = e === 0 ? 0 : -10 * e, s = l.slice(0, e), r = 5;
101
+ p(n, {
102
+ y: f.value ? s.reduce((u, { element: c }) => u + c.offsetHeight + r, 0) * -1 : a,
103
+ scale: f.value ? 1 : t
104
+ }, {
105
+ ease: "easeOut",
106
+ duration: 0.3
107
+ });
108
+ });
109
+ }));
110
+ function L(n, i) {
111
+ const e = l.length - 1, t = l.shift();
112
+ if (!t)
113
+ throw new Error("First alert not found");
114
+ t.interval.stop();
115
+ let a = -10 * (e + 1), s = e === 1 ? 1 : 1 - e * 0.1;
116
+ i && (a += 10, s -= 0.1), p(t.element, {
117
+ y: n === "top" ? a : "50%",
118
+ scale: s,
119
+ opacity: 0
120
+ }, {
121
+ duration: n === "top" ? 0.2 : 0.3,
122
+ ease: "easeOut"
123
+ }).then(() => {
124
+ t.element.remove();
125
+ });
126
+ }
127
+ function x(n, i) {
128
+ l.length === 3 && L("top", !0);
129
+ const e = document.createElement("div");
130
+ e.setAttribute("role", "alert"), e.classList.add("c-toast", "z-50"), e.style.opacity = "0%";
131
+ const t = document.createElement("span");
132
+ t.textContent = n, e.append(t);
133
+ {
134
+ const s = document.createElement("div");
135
+ s.innerHTML = i, e.prepend(s);
136
+ }
137
+ e.addEventListener("mouseenter", () => f.value = !0), e.addEventListener("mouseleave", () => f.value = !1), O?.append(e), p(e, {
138
+ y: ["100%", 0],
139
+ scale: 1,
140
+ opacity: 1
141
+ }, {
142
+ ease: "easeOut",
143
+ duration: 0.3
144
+ }), l.toReversed().forEach(({ element: s }, r) => {
145
+ const u = 1 - (r + 1) * 0.1, c = -10 * (r + 1);
146
+ p(s, {
147
+ y: c,
148
+ scale: u
149
+ }, { ease: "easeOut", duration: 0.3 });
150
+ });
151
+ const a = new _(() => L("bottom", !1), y);
152
+ l.push({ element: e, interval: a }), a.start();
153
+ }
154
+ const U = (n, i) => {
155
+ n.forEach((e) => {
156
+ let t = e.getAttribute(i);
157
+ if (!t)
158
+ return;
159
+ e.getAttribute("data-clipboard-uri-encoded") === "true" && (t = decodeURIComponent(t)), e.addEventListener("click", async () => {
160
+ await navigator.clipboard.writeText(t).catch(console.error);
161
+ const s = e.getAttribute("data-clipboard-alert-message");
162
+ x(
163
+ s ?? "Copied to clipboard!",
164
+ '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="size-4"><path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm3.844-8.791a.75.75 0 0 0-1.188-.918l-3.7 4.79-1.649-1.833a.75.75 0 1 0-1.114 1.004l2.25 2.5a.75.75 0 0 0 1.15-.043l4.25-5.5Z" clip-rule="evenodd" /></svg>'
165
+ );
166
+ });
167
+ });
168
+ };
169
+ export {
170
+ U as default
171
+ };
@@ -0,0 +1,28 @@
1
+ const c = "in2editor", n = {
2
+ phpstorm: "editor-phpstorm",
3
+ vscode: "editor-vscode"
4
+ }, i = (r) => {
5
+ function a() {
6
+ const e = localStorage.getItem(c);
7
+ return e || localStorage.setItem(c, "normal"), e;
8
+ }
9
+ function s(e = !1) {
10
+ let t = a();
11
+ t || (t = "phpstorm", localStorage.setItem(c, t));
12
+ const d = n[t];
13
+ if (Object.values(n).forEach((o) => document.body.classList.remove(o)), document.body.classList.add(d), e) {
14
+ const o = r.querySelector(`input[value="${t}"]`);
15
+ o && (o.checked = !0);
16
+ }
17
+ }
18
+ s(!0), r.addEventListener("change", () => {
19
+ const e = r.querySelector('input[name="editor"]:checked');
20
+ if (!e)
21
+ throw new Error("No checked editor theme found");
22
+ const t = e.value;
23
+ localStorage.setItem(c, t), s(!1);
24
+ });
25
+ };
26
+ export {
27
+ i as default
28
+ };
@@ -0,0 +1,229 @@
1
+ import { h as H } from "./main-DJu5Mg_E.js";
2
+ const m = (c, d) => c ? d() : "";
3
+ function y(c, d) {
4
+ return c.map((x, h) => d(x, h)).join("");
5
+ }
6
+ const $ = {
7
+ header: [
8
+ "background: #ff5757",
9
+ "color: white",
10
+ "padding: 8px 12px",
11
+ "border-radius: 4px 4px 0 0",
12
+ "font-weight: bold",
13
+ "font-size: 14px"
14
+ ].join(";"),
15
+ elementStyle: [
16
+ "color: #d32f2f",
17
+ "font-weight: bold",
18
+ "font-family: monospace"
19
+ ].join(";"),
20
+ messageStyle: [
21
+ "color: #333",
22
+ "font-style: italic"
23
+ ].join(";")
24
+ };
25
+ function T(c, d) {
26
+ console.group("%cValidation Error", $.header), console.info(
27
+ "%c%o",
28
+ $.elementStyle,
29
+ d
30
+ ), console.info(
31
+ "%c%s",
32
+ $.messageStyle,
33
+ c
34
+ ), console.groupEnd();
35
+ }
36
+ async function U(c, d, x) {
37
+ const h = c.getAttribute("data-code-audit-iframe");
38
+ if (!h)
39
+ throw new Error("No code audit template selector provided");
40
+ const a = document.querySelector(`#${h}`);
41
+ if (!a)
42
+ throw new Error("Code audit template not found");
43
+ if (!a.contentWindow)
44
+ throw new Error("Code audit iframe has no content window");
45
+ const f = d.querySelector(".audit-results");
46
+ if (!f)
47
+ throw new Error("No audit results list found");
48
+ const p = await new Promise((e, n) => {
49
+ const i = setTimeout(() => {
50
+ n(new Error("Accessibility audit timed out"));
51
+ }, 3e4), o = (v) => {
52
+ const b = v;
53
+ clearTimeout(i), a.removeEventListener("accessibility-result", o), e(b.detail);
54
+ };
55
+ a.addEventListener("accessibility-result", o);
56
+ const r = a.contentWindow;
57
+ r.runAccessibilityTest ? r.runAccessibilityTest() : (clearTimeout(i), a.removeEventListener("accessibility-result", o), n(new Error("runAxe function not found in iframe")));
58
+ }), l = {
59
+ violations: [],
60
+ incomplete: [],
61
+ passes: [],
62
+ inapplicable: []
63
+ }, g = (e, n) => {
64
+ const i = n.map((o) => ({
65
+ id: o.id,
66
+ description: o.description,
67
+ helpUrl: o.helpUrl,
68
+ impact: o.impact,
69
+ nodes: o.nodes.map((r) => ({
70
+ type: "axe",
71
+ html: r.html || "",
72
+ target: r.target
73
+ }))
74
+ }));
75
+ l[e].push(...i);
76
+ };
77
+ g("violations", p.axe.result.violations), g("incomplete", p.axe.result.incomplete), g("passes", p.axe.result.passes), g("inapplicable", p.axe.result.inapplicable);
78
+ function E(e, n) {
79
+ switch (n) {
80
+ case "off":
81
+ case "0":
82
+ return "minor";
83
+ case "warn":
84
+ case "1":
85
+ return "moderate";
86
+ case "error":
87
+ case "2":
88
+ return "serious";
89
+ default:
90
+ throw new Error(`Invalid severity "${n}" for rule "${e}"`);
91
+ }
92
+ }
93
+ p.htmlValidate.forEach((e) => {
94
+ l.violations.push({
95
+ id: e.ruleId,
96
+ description: e.ruleDescription || e.message,
97
+ helpUrl: e.ruleUrl || "",
98
+ impact: E(e.ruleId, e.severity.toString()),
99
+ nodes: [{
100
+ type: "htmlvalidate",
101
+ selector: e.selector
102
+ }]
103
+ });
104
+ });
105
+ const A = p.axe.targetMap, w = (e, n, i) => {
106
+ const o = e.charAt(0).toUpperCase() + e.slice(1), r = ["critical", "serious", "moderate", "minor"], v = i.toSorted((t, s) => {
107
+ const u = r.indexOf(t.impact || "minor"), L = r.indexOf(s.impact || "minor");
108
+ return u - L;
109
+ }), b = (t) => {
110
+ const s = t.target.map((u) => A.get(u)).filter(Boolean);
111
+ if (s.length === 0)
112
+ throw new Error(`No elements found for axe-core target: ${t.target}`);
113
+ return `
114
+ ${y(s, (u) => `
115
+ <div
116
+ class="overflow-x-auto w-full code-highlight"
117
+ data-source-code="${encodeURIComponent(u.outerHTML)}"
118
+ data-source-lang="html"
119
+ ></div>
120
+ `)}
121
+ `;
122
+ }, C = (t) => {
123
+ const s = a.contentWindow?.document.querySelector(t.selector);
124
+ if (!s)
125
+ throw new Error(`Element not found for selector: ${t.selector}`);
126
+ return `
127
+ <div
128
+ class="overflow-x-auto w-full code-highlight"
129
+ data-source-code="${encodeURIComponent(s.outerHTML)}"
130
+ data-source-lang="html"
131
+ ></div>
132
+ `;
133
+ };
134
+ return `
135
+ ${m(v.length > 0, () => `
136
+ <li>
137
+ <details${["violations", "incomplete"].includes(e) ? " open" : ""}>
138
+ <summary class="cursor-pointer">
139
+ <h3 class="px-6 py-4 text-sm font-semibold leading-[1]">
140
+ <span class="mr-2" aria-hidden="true">${n}</span>
141
+ <span class="text-styleguide-highlight">${o}:</span>
142
+ <span class="ml-2">(${i.length})</span>
143
+ </h3>
144
+ </summary>
145
+
146
+ <div class="px-6 pb-6 text-sm code-audit-container">
147
+ <ol>
148
+ ${y(v, (t) => `
149
+ <li class="ml-6 border-b border-styleguide-border">
150
+ <details class="group">
151
+ <summary class="flex cursor-pointer group-open:text-styleguide-highlight justify-between items-center py-4 text-sm gap-2 transition">
152
+ <span>
153
+ <span class="font-semibold">${t.id}</span>
154
+ ${m(t.impact && ["violations", "incomplete"].includes(e), () => `<span>${t.impact}</span>`)}
155
+ </span>
156
+
157
+ <svg class="h-4 w-4 group-open:rotate-90 transition-transform" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
158
+ <path fill-rule="evenodd" d="M6.22 4.22a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06l-3.25 3.25a.75.75 0 0 1-1.06-1.06L8.94 8 6.22 5.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"></path>
159
+ </svg>
160
+ </summary>
161
+
162
+ <div class="pt-2 pb-6 text-sm code-audit-container">
163
+ <p class="mb-3">
164
+ ${t.description.replace(/`([^`]*)`/g, "<code>$1</code>")}
165
+ </p>
166
+
167
+ <p class="mb-3 pb-3 border-b border-styleguide-border">
168
+ <a
169
+ class="flex gap-1 group/link items-center text-sm text-blue-600"
170
+ href="${t.helpUrl}"
171
+ target="_blank"
172
+ >
173
+ Learn more about the rule
174
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="h-3 w-3">
175
+ <path class="transition group-hover/link:translate-x-px group-hover/link:-translate-y-px group-focus/link:translate-x-px group-focus/link:-translate-y-px" d="M6.22 8.72a.75.75 0 0 0 1.06 1.06l5.22-5.22v1.69a.75.75 0 0 0 1.5 0v-3.5a.75.75 0 0 0-.75-.75h-3.5a.75.75 0 0 0 0 1.5h1.69L6.22 8.72Z"></path>
176
+ <path d="M3.5 6.75c0-.69.56-1.25 1.25-1.25H7A.75.75 0 0 0 7 4H4.75A2.75 2.75 0 0 0 2 6.75v4.5A2.75 2.75 0 0 0 4.75 14h4.5A2.75 2.75 0 0 0 12 11.25V9a.75.75 0 0 0-1.5 0v2.25c0 .69-.56 1.25-1.25 1.25h-4.5c-.69 0-1.25-.56-1.25-1.25v-4.5Z"></path>
177
+ </svg>
178
+ </a>
179
+ </p>
180
+
181
+ ${m(["violations", "incomplete"].includes(e) && t.nodes.length > 0, () => `
182
+ <h3 class="font-semibold mb-2">Affected nodes (${t.nodes.length}):</h3>
183
+
184
+ <ol class="!pl-0 !list-none">
185
+ ${y(t.nodes, (s) => `
186
+ <li class="mb-4 last:mb-0">
187
+ ${m(s.type === "axe", () => `${b(s)}`)}
188
+ ${m(s.type === "htmlvalidate", () => `${C(s)}`)}
189
+ </li>
190
+ `)}
191
+ </ol>
192
+ `)}
193
+ </div>
194
+ </details>
195
+ </li>
196
+ `)}
197
+ </ol>
198
+ </div>
199
+ </details>
200
+ </li>
201
+ `)}
202
+ `;
203
+ }, S = l.violations.length > 0 ? "🔴" : "🟢", I = l.incomplete.length > 0 ? "🟠" : "🟢";
204
+ f.innerHTML = `
205
+ ${w("violations", S, l.violations)}
206
+ ${w("incomplete", I, l.incomplete)}
207
+ ${w("passes", "🟢", l.passes)}
208
+ ${w("inapplicable", "⚪", l.inapplicable)}
209
+ `, f.querySelectorAll("[data-source-code]").forEach((e) => H(e)), f.querySelectorAll("[data-iframe-selector]").forEach((e) => {
210
+ const n = e.getAttribute("data-iframe-selector");
211
+ if (!n)
212
+ throw new Error("No message found");
213
+ e.addEventListener("click", async () => {
214
+ await x();
215
+ const i = e.textContent;
216
+ if (!i)
217
+ throw new Error("No selector found");
218
+ const o = a.contentDocument?.querySelectorAll(i);
219
+ if (!o)
220
+ throw new Error("No elements found");
221
+ o.forEach((r) => {
222
+ T(n, r), r.style.outline = "2px solid red", r.scrollIntoView({ behavior: "smooth", block: "center" }), setTimeout(() => r.style.outline = "", 5e3);
223
+ });
224
+ });
225
+ });
226
+ }
227
+ export {
228
+ U as auditCode
229
+ };
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
2
+ <path fill="#264de4" d="M71.357 460.819L30.272 0h451.456l-41.129 460.746L255.724 512z"/>
3
+ <path fill="#2965f1" d="M405.388 431.408l35.148-393.73H256v435.146z"/>
4
+ <path fill="#ebebeb" d="M124.46 208.59l5.065 56.517H256V208.59zM119.419 150.715H256V94.197H114.281zM256 355.372l-.248.066-62.944-16.996-4.023-45.076h-56.736l7.919 88.741 115.772 32.14.26-.073z"/>
5
+ <path fill="#fff" d="M255.805 208.59v56.517H325.4l-6.56 73.299-63.035 17.013v58.8l115.864-32.112.85-9.549 13.28-148.792 1.38-15.176 10.203-114.393H255.805v56.518h79.639L330.3 208.59z"/>
6
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><path d="M0 0h512v512H0V0Z" id="a"/></defs><g fill-rule="nonzero" fill="none"><path fill="#E44D26" d="M71.114 460.974 30 0h452l-41.114 460.725L255.626 512"/><path fill="#F16529" d="M256 473V38h185l-35.303 393.305"/><path d="M114 94h142v56.463h-79.968l5.231 57.832H256v56.339H129.446m2.49 28.356h56.8l3.987 45.145L256 355.05V414l-116.091-32.336" fill="#EBEBEB"/><path d="M398 94H256v56.507h136.76m-5.117 57.877H256v56.507h69.877l-6.613 73.434L256 355.252V414l116.046-32.112" fill="#FFF"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><path d="M0 0h512v512H0V0Z" id="a"/></defs><g fill-rule="nonzero" fill="none"><path d="M429.433 203.31c-.8-17.584 1.599-33.17-6.394-46.357C403.858 124.183 355.904 105 259.997 105v2.797H258h1.998V105c-95.907 0-146.258 19.183-165.44 52.352-7.592 13.588-6.793 28.774-7.992 46.358-.8 13.987-7.193 28.774-4.396 44.76 3.197 20.78 4.396 41.561 7.593 60.744 2.398 15.586 23.977 28.773 25.975 43.56 5.594 40.763 47.953 59.546 143.86 59.546v3.197H257.2 259.997v-3.197c95.907 0 136.668-18.783 141.863-59.546 1.998-15.186 21.978-27.974 24.376-43.56 3.197-19.183 4.396-39.964 7.593-60.745 2.797-15.985-3.597-31.171-4.396-45.159Z" fill="#EFCCA3"/><path d="M258.399 217.697c17.183.4 29.171 11.19 40.36 21.18 13.188 11.59 35.566 19.583 44.757 29.574 9.191 9.99 21.18 19.982 25.575 35.567 4.396 15.586 5.595 35.568 5.595 40.763 0 5.196 2.797 3.997 10.79 0 18.781-9.191 39.561-33.969 39.561-33.969-2.397 15.586-22.778 29.573-24.776 44.36-4.795 40.763-44.357 60.345-142.262 60.345h-.4 2.398" fill="#CCAC8D"/><path d="M321.538 186.526c3.596 12.388 16.384 54.35-8.392 40.363 0 0 10.39 5.994 16.783 28.774 6.794 22.779 23.178 25.576 23.178 25.576s26.774 5.196 46.755-11.989c16.783-14.387 19.58-39.963 12.388-59.546-7.193-19.182-19.981-25.177-38.763-29.173-18.782-4.396-56.345-7.993-51.95 5.995Z" fill="#CCAC8D"/><g transform="translate(333.925 196.916)"><ellipse fill="#000" cx="35.166" cy="35.168" rx="35.166" ry="35.168"/><ellipse fill="#FFF" cx="25.975" cy="19.582" rx="9.191" ry="9.192"/></g><path d="M315.543 230.486s31.57 21.58 48.753 42.76c17.183 21.181 16.784 25.178 16.784 25.178l-12.388 5.594s-17.583-33.17-39.162-45.558c-21.979-12.389-24.377-22.78-24.377-22.78l10.39-5.194Z" fill="#EFCCA3"/><path d="M259.597 217.697c-17.183.4-29.97 11.19-41.56 21.18-13.187 11.59-36.364 19.583-45.555 29.574-9.191 9.99-21.58 19.982-25.975 35.567-4.396 15.586-5.994 35.568-5.994 40.763 0 5.196.799 5.595-10.79 0-18.782-8.792-39.561-33.969-39.561-33.969 2.397 15.586 22.777 29.573 24.776 44.36 5.594 40.763 45.156 60.345 143.061 60.345H259.997" fill="#CCAC8D"/><path d="M352.308 285.236c-19.182-23.579-49.952-45.559-92.71-45.559h-.4c-42.759 0-73.529 21.98-92.71 45.559-19.981 24.377-18.383 33.969-18.383 57.147 0 83.924 29.572 59.946 49.153 70.336 19.98 9.991 40.76 6.794 61.94 6.794h.4c21.579 0 41.959 2.798 61.94-7.193 19.58-9.991 49.152 14.786 49.152-69.137.4-23.18 1.598-33.57-18.382-57.947Z" fill="#56332B"/><path d="M257.6 260.458s-2.798 38.765-8.392 46.358l10.39-2.398-1.999-43.96Z" fill="#442823"/><path d="M260.397 260.458s2.797 38.765 8.392 46.358l-10.39-2.398 1.998-43.96Z" fill="#442823"/><path d="M226.83 251.267c-3.997-9.192 10.39-23.979 33.167-24.378 22.778 0 37.164 14.786 33.168 24.378-3.996 9.59-18.382 12.388-33.168 12.788-14.386-.4-29.172-3.197-33.168-12.788Z" fill="#56332B"/><path d="M259.997 260.458c0-1.598 13.587-1.998 20.78-6.794 0 0-14.786 4.796-17.983 2.798-3.197-1.599-3.996-6.394-3.996-6.394s-1.199 4.795-3.596 6.394c-2.798 1.598-19.581-2.798-19.581-2.798s22.378 5.595 22.378 6.794c0 1.2-.4 5.195-.4 7.993 0 9.99 0 34.768 1.599 36.766 2.398 3.597 1.598-26.775 1.598-36.766-.4-3.197-.4-6.394-.799-7.993Z" fill="#000"/><path d="M260.796 314.01c6.794 0 18.782 4.795 29.572 12.388-10.39-11.59-22.778-19.582-29.572-19.582-7.193 0-22.378 8.792-33.168 21.58 11.19-8.792 25.576-14.387 33.168-14.387Z" fill="#7F4A41"/><path d="M257.999 384.745c-15.185 0-29.97-4.796-43.558-8.393-2.797-.799-5.594 1.2-8.392.4-25.175-7.993-45.556-21.58-57.944-38.765v3.997c0 83.923 29.572 60.345 49.153 70.336 19.98 9.99 40.76 6.793 61.94 6.793h.4c21.579 0 41.959 2.798 61.94-7.193 19.58-9.99 49.152 14.387 49.152-69.537 0-3.197 0-6.394.4-9.191-11.59 18.783-32.769 33.57-59.143 42.361-2.398.8-7.992-1.199-10.39-.8-14.386 4.797-27.174 9.992-43.558 9.992Z" fill="#442823"/><path d="M220.036 339.586s-9.99 29.973-3.197 43.16l-9.191-3.996s6.793-30.372 12.388-39.164ZM299.16 339.586s9.99 29.973 3.196 43.16l9.191-3.996s-7.193-30.372-12.388-39.164Z" fill="#442823"/><path d="M194.46 186.526c-3.596 12.388-16.384 54.35 8.392 40.363 0 0-10.39 5.994-16.783 28.774-6.394 22.779-23.178 25.576-23.178 25.576s-26.774 5.196-46.755-11.989c-16.783-14.387-19.58-39.963-12.388-59.546 7.193-19.582 19.981-25.177 38.763-29.173 18.782-4.396 55.946-7.993 51.95 5.995Z" fill="#CCAC8D"/><path d="M259.597 306.816c10.79 0 44.358 23.179 44.757 51.553v-1.599c0-29.573-27.174-53.151-44.757-53.151-17.582 0-44.756 23.978-44.756 53.151v1.599c.4-28.374 33.967-51.553 44.756-51.553Z" fill="#000"/><g transform="translate(244.727 239.026)" fill="#331712"><ellipse transform="rotate(-14.46 22.097 6.653)" cx="22.097" cy="6.653" rx="3.197" ry="5.994"/><ellipse transform="rotate(17.235 4.83 6.673)" cx="4.829" cy="6.673" rx="3.197" ry="5.995"/></g><g transform="translate(113.739 196.916)"><ellipse fill="#000" cx="35.166" cy="35.168" rx="35.166" ry="35.168"/><ellipse fill="#FFF" cx="44.357" cy="19.582" rx="9.191" ry="9.192"/></g><path d="M269.987 232.484c0-.4-9.19 3.996-11.588 4.396-2.398-.4-11.59-4.796-11.59-4.396H269.988Z" fill="#7F4A41"/><path d="M200.055 230.486s-31.57 21.58-48.753 42.76c-17.183 21.181-16.783 25.178-16.783 25.178l12.388 5.594s17.583-33.17 39.162-45.558c21.579-12.389 24.376-22.78 24.376-22.78l-10.39-5.194Z" fill="#EFCCA3"/><path d="M130.922 166.544s-10.79 29.573-34.766 41.962c0 0 37.563-4.396 34.766-41.962ZM383.078 166.544s10.79 29.573 34.766 41.962c0 0-37.563-4.396-34.766-41.962ZM314.744 221.694s-23.577-24.778-55.147-25.577h.8c-31.97.8-55.147 25.577-55.147 25.577 27.573-19.183 51.15-18.783 55.147-18.783-.4 0 26.774-.4 54.347 18.783ZM287.17 169.74s-11.988-16.784-27.972-17.183h.8c-11.99.4-27.574 17.184-27.574 17.184 13.587-13.188 27.573-12.788 27.573-12.788s13.187-.4 27.174 12.788ZM148.905 292.429s-18.782 9.192-32.369 3.597h-.4c-11.988-6.794-17.982-27.175-17.982-27.175s11.988 35.967 50.75 23.578ZM367.893 292.429s18.781 9.192 32.368 3.597c15.985-6.794 18.382-27.175 18.382-27.175s-11.988 35.967-50.75 23.578Z" fill="#CCAC8D"/><path d="M170.484 164.546c10.39-1.998 27.573-2.398 41.16 1.998 17.183 5.994 3.197 27.974 6.793 29.173 3.597 1.2 8.392-15.186 40.361-13.587 32.369 1.598 35.965 15.985 40.361 13.587 4.396-2.398-4.396-39.963 43.958-31.171 0 0-50.751-13.588-48.354 23.179 0 0-29.171-22.38-69.932-2.398.4 0 10.79-34.369-54.347-20.781ZM347.512 164.546c.8 0 1.2.4 1.599.4.4 0-.4-.4-1.599-.4ZM156.497 115.39s-43.158 54.35-49.552 75.132c-6.394 21.18-11.189 107.902-16.783 120.29L70.18 225.29l36.764-89.118 49.552-20.781ZM359.5 115.39s43.159 54.35 49.553 75.132c6.394 21.18 11.189 107.902 16.784 120.29l19.98-85.522-36.764-89.118L359.5 115.39Z" fill="#CCAC8D"/><path d="M357.503 115.39s46.355 38.765 59.942 83.524c13.587 44.76 7.992 99.11 18.382 105.904 14.786 9.591 31.57-47.557 37.164-53.551 8.791-9.592 37.963-33.97 39.961-38.365 1.998-4.396-59.143-71.136-85.917-84.324-32.368-15.186-72.33-16.385-69.532-13.187Z" fill="#56332B"/><path d="M397.064 139.369s54.747 69.936 53.948 157.056l21.979-44.759c-.4 0-19.581-57.148-75.927-112.297Z" fill="#442823"/><path d="M156.497 115.39s-46.355 38.765-59.942 83.524c-13.587 44.76-7.992 99.11-18.382 105.904-14.786 9.591-31.57-47.557-37.164-53.551-8.791-9.592-37.963-33.97-39.961-38.365-1.998-4.396 59.143-71.136 85.917-84.324 32.368-15.186 72.33-16.385 69.532-13.187Z" fill="#56332B"/><path d="M116.936 139.369s-54.747 69.936-53.948 157.056l-21.58-44.759s19.182-57.148 75.528-112.297Z" fill="#442823"/><path d="M87.364 298.024s3.996 21.58 10.39 28.374c6.394 6.794 1.998-5.195 1.998-5.195s-6.793-3.597-5.594-31.172c1.199-27.575-6.794 7.993-6.794 7.993ZM428.234 298.024s-3.996 21.58-10.39 28.374c-6.394 6.794-1.998-5.195-1.998-5.195s6.794-3.597 5.595-31.172c-1.2-27.575 6.793 7.993 6.793 7.993Z" fill="#CCAC8D"/><g transform="translate(190.464 278.442)" fill="#442823"><circle cx="27.573" cy="3.197" r="3.197"/><circle cx="9.191" cy="22.38" r="3.197"/><circle cx="3.197" cy="3.197" r="3.197"/></g><g transform="translate(292.765 278.442)" fill="#442823"><circle cx="3.197" cy="3.197" r="3.197"/><circle cx="21.579" cy="22.38" r="3.197"/><circle cx="27.573" cy="3.197" r="3.197"/></g></g></svg>
@@ -1,4 +1,4 @@
1
- import { a as i, s as l } from "./main-CTV8iVap.js";
1
+ import { a as i, s as l } from "./main-DJu5Mg_E.js";
2
2
  const p = (o, s, a) => {
3
3
  o.addEventListener("input", () => {
4
4
  const t = o.value.toLowerCase();