ikoneme-lib 0.5.0 → 0.6.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.
@@ -1,12 +1,12 @@
1
- import { jsx as F, Fragment as oe, jsxs as S } from "react/jsx-runtime";
2
- import { forwardRef as Me, createElement as pe, useState as G, useEffect as ke, useCallback as Be } from "react";
1
+ import { jsx as c, Fragment as ie, jsxs as k } from "react/jsx-runtime";
2
+ import { forwardRef as je, createElement as me, useState as M, useEffect as _e, useCallback as We } from "react";
3
3
  /**
4
4
  * @license lucide-react v0.294.0 - ISC
5
5
  *
6
6
  * This source code is licensed under the ISC license.
7
7
  * See the LICENSE file in the root directory of this source tree.
8
8
  */
9
- var Ne = {
9
+ var He = {
10
10
  xmlns: "http://www.w3.org/2000/svg",
11
11
  width: 24,
12
12
  height: 24,
@@ -23,22 +23,22 @@ var Ne = {
23
23
  * This source code is licensed under the ISC license.
24
24
  * See the LICENSE file in the root directory of this source tree.
25
25
  */
26
- const Le = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim(), U = (e, t) => {
27
- const r = Me(
28
- ({ color: l = "currentColor", size: i = 24, strokeWidth: o = 2, absoluteStrokeWidth: c, className: g = "", children: x, ...a }, h) => pe(
26
+ const ze = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim(), U = (e, t) => {
27
+ const r = je(
28
+ ({ color: l = "currentColor", size: i = 24, strokeWidth: F = 2, absoluteStrokeWidth: n, className: d = "", children: x, ...a }, h) => me(
29
29
  "svg",
30
30
  {
31
31
  ref: h,
32
- ...Ne,
32
+ ...He,
33
33
  width: i,
34
34
  height: i,
35
35
  stroke: l,
36
- strokeWidth: c ? Number(o) * 24 / Number(i) : o,
37
- className: ["lucide", `lucide-${Le(e)}`, g].join(" "),
36
+ strokeWidth: n ? Number(F) * 24 / Number(i) : F,
37
+ className: ["lucide", `lucide-${ze(e)}`, d].join(" "),
38
38
  ...a
39
39
  },
40
40
  [
41
- ...t.map(([m, f]) => pe(m, f)),
41
+ ...t.map(([w, s]) => me(w, s)),
42
42
  ...Array.isArray(x) ? x : [x]
43
43
  ]
44
44
  )
@@ -51,7 +51,7 @@ const Le = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim(),
51
51
  * This source code is licensed under the ISC license.
52
52
  * See the LICENSE file in the root directory of this source tree.
53
53
  */
54
- const De = U("ArrowLeft", [
54
+ const Ue = U("ArrowLeft", [
55
55
  ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
56
56
  ["path", { d: "M19 12H5", key: "x3x0zl" }]
57
57
  ]);
@@ -61,7 +61,7 @@ const De = U("ArrowLeft", [
61
61
  * This source code is licensed under the ISC license.
62
62
  * See the LICENSE file in the root directory of this source tree.
63
63
  */
64
- const Oe = U("Pen", [
64
+ const Ye = U("Pen", [
65
65
  ["path", { d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z", key: "5qss01" }]
66
66
  ]);
67
67
  /**
@@ -70,7 +70,7 @@ const Oe = U("Pen", [
70
70
  * This source code is licensed under the ISC license.
71
71
  * See the LICENSE file in the root directory of this source tree.
72
72
  */
73
- const Re = U("Search", [
73
+ const qe = U("Search", [
74
74
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
75
75
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
76
76
  ]);
@@ -80,7 +80,7 @@ const Re = U("Search", [
80
80
  * This source code is licensed under the ISC license.
81
81
  * See the LICENSE file in the root directory of this source tree.
82
82
  */
83
- const Ge = U("Trash2", [
83
+ const Ze = U("Trash2", [
84
84
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
85
85
  ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
86
86
  ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
@@ -93,117 +93,200 @@ const Ge = U("Trash2", [
93
93
  * This source code is licensed under the ISC license.
94
94
  * See the LICENSE file in the root directory of this source tree.
95
95
  */
96
- const Ke = U("X", [
96
+ const Xe = U("X", [
97
97
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
98
98
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
99
- ]), J = "https://ikondb.iigap.com", Pe = 60 * 60 * 1e3;
100
- let H = null, $ = null;
101
- const W = /* @__PURE__ */ new Map();
102
- function ne(e) {
99
+ ]), X = "https://ikondb.iigap.com", Qe = 60 * 60 * 1e3;
100
+ let H = null, A = null;
101
+ const z = /* @__PURE__ */ new Map();
102
+ function re(e) {
103
103
  return !e || Array.isArray(e) ? null : e.origin || e.preview || e.thumb || e.svg || null;
104
104
  }
105
- function $e(e) {
105
+ function Je(e) {
106
106
  if (!e || Array.isArray(e)) return {};
107
107
  const { origin: t = null, preview: r = null, thumb: l = null, svg: i = null } = e;
108
108
  return { origin: t, preview: r, thumb: l, svg: i };
109
109
  }
110
- async function je(e) {
110
+ async function et(e) {
111
111
  const t = await fetch(`${e}/api/ikons`);
112
112
  if (!t.ok) throw new Error(`IkonDB GET /api/ikons -> ${t.status}`);
113
113
  const r = await t.json();
114
114
  return (Array.isArray(r == null ? void 0 : r.data) ? r.data : []).map((i) => ({
115
115
  id: i.id,
116
116
  name: i.description || "",
117
- url: ne(i.media)
117
+ url: re(i.media)
118
118
  })).filter((i) => i.url);
119
119
  }
120
- async function Ae({ baseUrl: e = J } = {}) {
121
- return H && Date.now() - H.at < Pe ? H.list : $ || ($ = je(e).then((t) => (H = { at: Date.now(), list: t }, t)).finally(() => {
122
- $ = null;
123
- }), $);
120
+ async function tt({ baseUrl: e = X } = {}) {
121
+ return H && Date.now() - H.at < Qe ? H.list : A || (A = et(e).then((t) => (H = { at: Date.now(), list: t }, t)).finally(() => {
122
+ A = null;
123
+ }), A);
124
124
  }
125
- async function Ie(e, { baseUrl: t = J, limit: r = 20 } = {}) {
125
+ async function Te(e, { baseUrl: t = X, limit: r = 20 } = {}) {
126
126
  const l = (e || "").trim().toLowerCase();
127
127
  if (!l) return [];
128
- const i = await Ae({ baseUrl: t }), o = [];
129
- for (const c of i)
130
- if (c.name.toLowerCase().includes(l) && (o.push(c), o.length >= r))
128
+ const i = await tt({ baseUrl: t }), F = [];
129
+ for (const n of i)
130
+ if (n.name.toLowerCase().includes(l) && (F.push(n), F.length >= r))
131
131
  break;
132
- return o;
132
+ return F;
133
133
  }
134
- const He = 50;
135
- function We(e, t, r) {
136
- const l = Array.isArray(e.translations) ? e.translations : [], i = r && l.find((c) => {
137
- var g;
138
- return ((g = c.language) == null ? void 0 : g.toLowerCase()) === r.toLowerCase();
134
+ const it = 50;
135
+ function rt(e, t, r) {
136
+ const l = Array.isArray(e.translations) ? e.translations : [], i = r && l.find((n) => {
137
+ var d;
138
+ return ((d = n.language) == null ? void 0 : d.toLowerCase()) === r.toLowerCase();
139
139
  });
140
140
  if (i != null && i.title) return i.title;
141
- const o = l.find((c) => {
142
- var g;
143
- return ((g = c.title) == null ? void 0 : g.toLowerCase()) === t;
141
+ const F = l.find((n) => {
142
+ var d;
143
+ return ((d = n.title) == null ? void 0 : d.toLowerCase()) === t;
144
144
  });
145
- return (o == null ? void 0 : o.title) || e.description || "";
145
+ return (F == null ? void 0 : F.title) || e.description || "";
146
146
  }
147
- function me(e, t) {
147
+ function ye(e, t) {
148
148
  var i;
149
149
  if (((i = e.description) == null ? void 0 : i.toLowerCase()) === t) return !0;
150
- const r = (e.translations || []).map((o) => o.title), l = (e.tags || []).map((o) => o.term);
151
- return [...r, ...l].some((o) => (o == null ? void 0 : o.toLowerCase()) === t);
150
+ const r = (e.translations || []).map((F) => F.title), l = (e.tags || []).map((F) => F.term);
151
+ return [...r, ...l].some((F) => (F == null ? void 0 : F.toLowerCase()) === t);
152
152
  }
153
- async function Vt(e, { token: t, lang: r, baseUrl: l = J, limit: i = 20 } = {}) {
154
- const o = (e || "").trim().toLowerCase();
155
- if (!o) return [];
156
- const c = new URLSearchParams({
157
- q: o,
153
+ async function Wt(e, { token: t, lang: r, baseUrl: l = X, limit: i = 20 } = {}) {
154
+ const F = (e || "").trim().toLowerCase();
155
+ if (!F) return [];
156
+ const n = new URLSearchParams({
157
+ q: F,
158
158
  // Ask for a few extra so exact matches further down the page can be
159
159
  // promoted before trimming to `limit`.
160
- per_page: String(Math.min(He, Math.max(i, 10)))
160
+ per_page: String(Math.min(it, Math.max(i, 10)))
161
161
  });
162
- r && c.set("lang", r);
163
- const g = await fetch(`${l}/api/v2/icons/search?${c}`, {
162
+ r && n.set("lang", r);
163
+ const d = await fetch(`${l}/api/v2/icons/search?${n}`, {
164
164
  headers: { Accept: "application/json", Authorization: `Bearer ${t}` }
165
165
  });
166
- if (!g.ok) {
167
- const f = new Error(`IkonDB GET /api/v2/icons/search -> ${g.status}`);
168
- throw f.status = g.status, f;
166
+ if (!d.ok) {
167
+ const s = new Error(`IkonDB GET /api/v2/icons/search -> ${d.status}`);
168
+ throw s.status = d.status, s;
169
169
  }
170
- const x = await g.json(), h = (Array.isArray(x == null ? void 0 : x.data) ? x.data : []).filter((f) => ne(f.media));
170
+ const x = await d.json(), h = (Array.isArray(x == null ? void 0 : x.data) ? x.data : []).filter((s) => re(s.media));
171
171
  return [
172
- ...h.filter((f) => me(f, o)),
173
- ...h.filter((f) => !me(f, o))
174
- ].slice(0, i).map((f) => ({
175
- id: f.id,
176
- name: We(f, o, r),
177
- url: ne(f.media)
172
+ ...h.filter((s) => ye(s, F)),
173
+ ...h.filter((s) => !ye(s, F))
174
+ ].slice(0, i).map((s) => ({
175
+ id: s.id,
176
+ name: rt(s, F, r),
177
+ url: re(s.media)
178
178
  }));
179
179
  }
180
- async function ze(e, { baseUrl: t = J } = {}) {
180
+ async function lt(e, { baseUrl: t = X } = {}) {
181
181
  if (e == null) return null;
182
- if (W.has(e)) return W.get(e);
182
+ if (z.has(e)) return z.get(e);
183
183
  const r = await fetch(`${t}/api/ikons/${encodeURIComponent(e)}`);
184
184
  if (!r.ok) throw new Error(`IkonDB GET /api/ikons/${e} -> ${r.status}`);
185
185
  const l = await r.json();
186
186
  if ((l == null ? void 0 : l.status) !== "success" || !(l != null && l.data))
187
- return W.set(e, null), null;
188
- const i = $e(l.data.media), o = {
187
+ return z.set(e, null), null;
188
+ const i = Je(l.data.media), F = {
189
189
  id: l.data.id,
190
190
  name: l.data.description || "",
191
191
  url: i.origin || i.preview || i.thumb || i.svg || null,
192
192
  ...i
193
193
  };
194
- return W.set(e, o), o;
194
+ return z.set(e, F), F;
195
195
  }
196
- async function Ue(e) {
196
+ async function Ft(e) {
197
197
  try {
198
- return await Ie(e);
198
+ return await Te(e);
199
199
  } catch {
200
200
  return [];
201
201
  }
202
202
  }
203
- function Mt() {
204
- H = null, $ = null, W.clear();
203
+ function Ht() {
204
+ H = null, A = null, z.clear();
205
205
  }
206
- const Ye = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='30'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='75'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e", Ze = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3cg%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='75'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/svg%3e", qe = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='58.5'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='1.5'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e", Xe = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='12'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='21'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='48'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='57'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='66'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='4.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='7.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='10.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='13.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='19.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='22.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='25.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='28.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='34.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='37.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='40.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='43.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='49.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='52.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='55.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='58.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='64.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='67.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='70.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='12'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='15'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='18'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='27'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='33'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='42'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='45'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='48'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='57'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='60'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='63'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='72'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='4.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='7.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='10.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='13.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='19.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='22.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='25.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='28.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='34.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='37.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='40.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='43.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='49.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='52.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='55.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='64.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='67.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='70.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e", Qe = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e", Je = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2028.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20style='enable-background:new%200%200%2078%2078;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill-rule:evenodd;clip-rule:evenodd;fill:%236F6F6F;}%20.st1{fill:%23303030;}%20%3c/style%3e%3cg%20id='Neutral_00000127737234708554144110000011539647311500563641_'%3e%3cg%3e%3cpath%20class='st0'%20d='M3,3L3,3C1.4,4.4,0,7.2,0,9.3V78h68.9c2.2,0,4.7-1.3,6.1-3l0,0H3V3z'/%3e%3cpath%20class='st0'%20d='M75,75L75,75c1.6-1.4,3-4.2,3-6.3V0H9.1C6.9,0,4.4,1.3,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20class='st1'%20width='3'%20height='3'/%3e%3crect%20y='75'%20class='st1'%20width='3'%20height='3'/%3e%3c/g%3e%3c/svg%3e", et = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261L0.102,78h140.921%20c2.063,0,4.583-1.348,5.977-3h0.102h-144L3,3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261L150.102,0H9.181%20C6.914,0,4.395,1.346,3,3h0.102h144L147,75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='65.102'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='65.102'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='147'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e", tt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='81'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='96'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='111'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='126'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='141'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3cg%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='76.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='91.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='106.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='121.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='136.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3c/g%3e%3crect%20x='147'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3cg%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3c/svg%3e", it = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M3.084,3L3.084,3c-1.562,1.392-3,4.172-3,6.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0h-144V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M147.084,75L147.084,75c1.562-1.391,3-4.174,3-6.261V0H9.163%20C6.998,0,4.479,1.346,3.084,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='130.584'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='147.084'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.584'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='1.584'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e", rt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M2.917,3L2.917,3c-1.562,1.392-3,4.172-3,6.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0h-144V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M146.917,75L146.917,75c1.562-1.391,3-4.174,3-6.261V0H8.996%20C6.831,0,4.312,1.346,2.917,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/g%3e%3crect%20x='1.5'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='12'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='21'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='48'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='57'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='66'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='4.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='7.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='10.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='13.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='19.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='22.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='25.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='28.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='34.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='37.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='40.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='43.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='49.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='52.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='55.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='58.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='64.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='67.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='70.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='144'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='142.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3cg%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='12'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='15'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='18'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='27'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='33'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='42'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='45'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='48'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='57'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='60'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='63'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='72'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='78'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='81'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='84'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='87'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='90'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='93'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='96'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='99'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='102'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='105'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='108'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='111'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='114'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='117'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='120'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='123'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='126'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='129'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='132'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='135'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='138'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='141'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='73.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='76.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='79.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='82.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='85.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='88.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='91.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='94.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='97.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='100.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='103.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='106.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='109.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='112.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='115.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='118.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='121.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='124.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='127.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='130.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='133.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='136.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='139.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='147.002'%20y='4.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='7.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='10.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='13.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='19.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='22.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='25.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='28.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='34.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='37.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='40.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='43.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='49.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='52.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='55.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='64.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='67.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='70.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3c/svg%3e", lt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e", ot = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%236F6F6F'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%236F6F6F'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/svg%3e", I = {
206
+ const Ve = 20, Be = [
207
+ ...[0, 1, 2, 3, 4, 5].map((e) => ({ row: 0, col: e })),
208
+ // 0-5 top, left to right
209
+ ...[1, 2, 3, 4].map((e) => ({ row: e, col: 5 })),
210
+ // 6-9 right, top to bottom
211
+ ...[5, 4, 3, 2, 1, 0].map((e) => ({ row: 5, col: e })),
212
+ // 10-15 bottom, right to left
213
+ ...[4, 3, 2, 1].map((e) => ({ row: e, col: 0 }))
214
+ // 16-19 left, bottom to top
215
+ ], Q = [
216
+ { id: "context", label: "Gender" },
217
+ { id: "reference", label: "Reference" },
218
+ { id: "role", label: "Role" },
219
+ { id: "modes", label: "Mode" },
220
+ { id: "tenses", label: "Tense" }
221
+ ], Le = new Set(Q.map((e) => e.id));
222
+ function zt(e) {
223
+ return Q.find((t) => t.id === e) ?? null;
224
+ }
225
+ function ot(e) {
226
+ return Le.has(e) ? D[e] : [];
227
+ }
228
+ const R = {
229
+ context: 0,
230
+ // top-left corner
231
+ referenceLeft: 2,
232
+ // top row, middle
233
+ referenceRight: 3,
234
+ role: 5,
235
+ // top-right corner
236
+ modes: 18,
237
+ // left column, middle
238
+ tenses: 13
239
+ // bottom row, middle
240
+ };
241
+ function le() {
242
+ return Array.from({ length: Ve }, () => null);
243
+ }
244
+ function nt(e) {
245
+ return e == null ? null : typeof e == "string" ? e || null : e.url || null;
246
+ }
247
+ function ct(e, t, r) {
248
+ var i;
249
+ const l = (i = D[e]) == null ? void 0 : i.find((F) => F.url === t);
250
+ return (l == null ? void 0 : l.tooltip) ?? r ?? "";
251
+ }
252
+ function G(e, t) {
253
+ const r = nt(t);
254
+ if (!r) return null;
255
+ const l = typeof t == "object" ? t.name : null;
256
+ return { category: e, name: ct(e, r, l), url: r };
257
+ }
258
+ function ht(e) {
259
+ return !e || typeof e != "object" || !Le.has(e.category) ? null : G(e.category, e);
260
+ }
261
+ function $(e) {
262
+ var r, l;
263
+ if (Array.isArray(e == null ? void 0 : e.slots)) {
264
+ const i = le();
265
+ return e.slots.slice(0, Ve).forEach((F, n) => {
266
+ i[n] = ht(F);
267
+ }), i;
268
+ }
269
+ const t = le();
270
+ return e && (t[R.context] = G("context", e.context), t[R.referenceLeft] = G("reference", (r = e.reference) == null ? void 0 : r.left), t[R.referenceRight] = G("reference", (l = e.reference) == null ? void 0 : l.right), t[R.role] = G("role", e.role), t[R.modes] = G("modes", e.modes), t[R.tenses] = G("tenses", e.tenses)), t;
271
+ }
272
+ function se(e) {
273
+ const t = (r, l = 0) => {
274
+ const i = e.filter((F) => (F == null ? void 0 : F.category) === r)[l];
275
+ return i ? { name: i.name, url: i.url } : null;
276
+ };
277
+ return {
278
+ context: t("context"),
279
+ reference: { left: t("reference"), right: t("reference", 1) },
280
+ role: t("role"),
281
+ modes: t("modes"),
282
+ tenses: t("tenses")
283
+ };
284
+ }
285
+ function ve(e, t, r) {
286
+ const l = $(e);
287
+ return l[t] = r ? G(r.category, r) : null, { ...e, slots: l, ...se(l) };
288
+ }
289
+ const at = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='30'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='75'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e", st = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3cg%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='75'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/svg%3e", dt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='58.5'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='1.5'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e", gt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='12'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='21'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='48'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='57'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='66'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='4.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='7.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='10.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='13.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='19.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='22.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='25.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='28.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='34.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='37.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='40.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='43.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='49.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='52.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='55.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='58.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='64.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='67.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='70.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='12'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='15'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='18'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='27'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='33'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='42'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='45'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='48'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='57'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='60'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='63'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='72'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='4.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='7.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='10.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='13.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='19.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='22.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='25.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='28.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='34.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='37.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='40.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='43.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='49.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='52.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='55.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='64.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='67.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='70.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e", xt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e", ft = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2028.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20style='enable-background:new%200%200%2078%2078;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill-rule:evenodd;clip-rule:evenodd;fill:%236F6F6F;}%20.st1{fill:%23303030;}%20%3c/style%3e%3cg%20id='Neutral_00000127737234708554144110000011539647311500563641_'%3e%3cg%3e%3cpath%20class='st0'%20d='M3,3L3,3C1.4,4.4,0,7.2,0,9.3V78h68.9c2.2,0,4.7-1.3,6.1-3l0,0H3V3z'/%3e%3cpath%20class='st0'%20d='M75,75L75,75c1.6-1.4,3-4.2,3-6.3V0H9.1C6.9,0,4.4,1.3,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20class='st1'%20width='3'%20height='3'/%3e%3crect%20y='75'%20class='st1'%20width='3'%20height='3'/%3e%3c/g%3e%3c/svg%3e", ut = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261L0.102,78h140.921%20c2.063,0,4.583-1.348,5.977-3h0.102h-144L3,3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261L150.102,0H9.181%20C6.914,0,4.395,1.346,3,3h0.102h144L147,75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='65.102'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='65.102'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='147'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e", pt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='81'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='96'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='111'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='126'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='141'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3cg%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='76.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='91.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='106.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='121.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='136.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3c/g%3e%3crect%20x='147'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3cg%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3c/svg%3e", wt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M3.084,3L3.084,3c-1.562,1.392-3,4.172-3,6.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0h-144V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M147.084,75L147.084,75c1.562-1.391,3-4.174,3-6.261V0H9.163%20C6.998,0,4.479,1.346,3.084,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='130.584'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='147.084'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.584'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='1.584'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e", mt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M2.917,3L2.917,3c-1.562,1.392-3,4.172-3,6.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0h-144V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M146.917,75L146.917,75c1.562-1.391,3-4.174,3-6.261V0H8.996%20C6.831,0,4.312,1.346,2.917,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/g%3e%3crect%20x='1.5'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='12'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='21'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='48'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='57'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='66'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='4.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='7.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='10.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='13.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='19.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='22.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='25.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='28.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='34.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='37.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='40.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='43.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='49.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='52.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='55.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='58.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='64.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='67.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='70.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='144'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='142.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3cg%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='12'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='15'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='18'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='27'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='33'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='42'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='45'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='48'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='57'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='60'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='63'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='72'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='78'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='81'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='84'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='87'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='90'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='93'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='96'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='99'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='102'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='105'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='108'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='111'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='114'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='117'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='120'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='123'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='126'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='129'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='132'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='135'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='138'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='141'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='73.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='76.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='79.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='82.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='85.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='88.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='91.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='94.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='97.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='100.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='103.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='106.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='109.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='112.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='115.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='118.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='121.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='124.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='127.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='130.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='133.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='136.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='139.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='147.002'%20y='4.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='7.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='10.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='13.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='19.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='22.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='25.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='28.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='34.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='37.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='40.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='43.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='49.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='52.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='55.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='64.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='67.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='70.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3c/svg%3e", yt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e", vt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%236F6F6F'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%236F6F6F'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/svg%3e", D = {
207
290
  context: [
208
291
  { tooltip: "Male", url: "https://text2ikon.komunikon.com/gender-assets/KomunIKON_Male.svg" },
209
292
  {
@@ -369,79 +452,79 @@ const Ye = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c
369
452
  url: "https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_os.svg"
370
453
  }
371
454
  ]
372
- }, z = [
373
- { id: "name", label: "Name", color: "#E6BE1E", plural: !1, image: Ye },
374
- { id: "verb", label: "Verb", color: "#960000", plural: !1, image: Ze },
375
- { id: "adjective", label: "Adjective", color: "#006E96", plural: !1, image: qe },
376
- { id: "adverb", label: "Adverb", color: "#E6821E", plural: !1, image: Xe },
455
+ }, Z = [
456
+ { id: "name", label: "Name", color: "#E6BE1E", plural: !1, image: at },
457
+ { id: "verb", label: "Verb", color: "#960000", plural: !1, image: st },
458
+ { id: "adjective", label: "Adjective", color: "#006E96", plural: !1, image: dt },
459
+ { id: "adverb", label: "Adverb", color: "#E6821E", plural: !1, image: gt },
377
460
  {
378
461
  id: "conjunction",
379
462
  label: "Conjunction",
380
463
  color: "#508C50",
381
464
  plural: !1,
382
- image: Qe
465
+ image: xt
383
466
  },
384
- { id: "neutral", label: "Neutral", color: "#6F6F6F", plural: !1, image: Je },
467
+ { id: "neutral", label: "Neutral", color: "#6F6F6F", plural: !1, image: ft },
385
468
  {
386
469
  id: "name_plural",
387
470
  label: "Name (plural)",
388
471
  color: "#E6BE1E",
389
472
  plural: !0,
390
- image: et
473
+ image: ut
391
474
  },
392
475
  {
393
476
  id: "verb_plural",
394
477
  label: "Verb (plural)",
395
478
  color: "#960000",
396
479
  plural: !0,
397
- image: tt
480
+ image: pt
398
481
  },
399
482
  {
400
483
  id: "adjective_plural",
401
484
  label: "Adjective (plural)",
402
485
  color: "#006E96",
403
486
  plural: !0,
404
- image: it
487
+ image: wt
405
488
  },
406
489
  {
407
490
  id: "adverb_plural",
408
491
  label: "Adverb (plural)",
409
492
  color: "#E6821E",
410
493
  plural: !0,
411
- image: rt
494
+ image: mt
412
495
  },
413
496
  {
414
497
  id: "conjunction_plural",
415
498
  label: "Conjunction (plural)",
416
499
  color: "#508C50",
417
500
  plural: !0,
418
- image: lt
501
+ image: yt
419
502
  },
420
503
  {
421
504
  id: "neutral_plural",
422
505
  label: "Neutral (plural)",
423
506
  color: "#6F6F6F",
424
507
  plural: !0,
425
- image: ot
508
+ image: vt
426
509
  }
427
- ], nt = z.map((e) => e.id), Ft = new Set(nt);
428
- function ae(e) {
429
- return z.find((t) => t.id === e) ?? null;
430
- }
510
+ ], bt = Z.map((e) => e.id), kt = new Set(bt);
431
511
  function de(e) {
512
+ return Z.find((t) => t.id === e) ?? null;
513
+ }
514
+ function ge(e) {
432
515
  const t = e / 78, r = Math.max(2, Math.round(3 * t));
433
516
  return { frame: r, corner: Math.max(r, Math.round(9 * t)) };
434
517
  }
435
518
  function Fe(e, t) {
436
- const r = typeof e == "string" ? ae(e) : e;
519
+ const r = typeof e == "string" ? de(e) : e;
437
520
  if (!r) return {};
438
- const { frame: l, corner: i } = de(t), o = r.plural ? "11.538% 6%" : "11.538%";
521
+ const { frame: l, corner: i } = ge(t), F = r.plural ? "11.538% 6%" : "11.538%";
439
522
  return {
440
523
  borderStyle: "solid",
441
524
  borderColor: "transparent",
442
525
  borderWidth: `${l}px`,
443
526
  borderImageSource: `url("${r.image}")`,
444
- borderImageSlice: o,
527
+ borderImageSlice: F,
445
528
  borderImageWidth: `${i}px`,
446
529
  borderImageRepeat: "stretch",
447
530
  // The artwork draws its own rounded outer corners and has a square inner
@@ -451,92 +534,79 @@ function Fe(e, t) {
451
534
  backgroundClip: "padding-box"
452
535
  };
453
536
  }
454
- function D(e, t) {
537
+ function L(e, t) {
455
538
  var r;
456
- return (r = I[e]) == null ? void 0 : r.find((l) => l.url === t);
539
+ return (r = D[e]) == null ? void 0 : r.find((l) => l.url === t);
457
540
  }
458
- function Bt(e, t) {
541
+ function Ut(e, t) {
459
542
  var r, l;
460
- return (l = (r = I[e]) == null ? void 0 : r[t]) == null ? void 0 : l.url;
543
+ return (l = (r = D[e]) == null ? void 0 : r[t]) == null ? void 0 : l.url;
461
544
  }
462
- function N(e) {
545
+ function xe(e) {
463
546
  return e == null ? null : typeof e == "object" && "url" in e ? e.url : e;
464
547
  }
465
- function ce(e) {
548
+ function oe(e) {
466
549
  return e == null ? null : typeof e == "object" ? e.svg || e.url || null : e;
467
550
  }
468
- function V(e) {
551
+ function B(e) {
469
552
  return { name: e.tooltip, url: e.url };
470
553
  }
471
- function we() {
472
- return {
473
- context: V(I.context[0]),
554
+ const St = "neutral";
555
+ function Yt() {
556
+ const e = {
557
+ context: B(D.context[0]),
474
558
  reference: {
475
559
  left: null,
476
560
  right: null
477
561
  },
478
- role: V(I.role[0]),
479
- modes: V(I.modes[0]),
480
- root: V(I.root[0]),
562
+ role: B(D.role[0]),
563
+ modes: B(D.modes[0]),
564
+ root: B(D.root[0]),
481
565
  rootName: null,
482
- tenses: V(I.tenses[0]),
566
+ tenses: B(D.tenses[0]),
483
567
  border: null
484
568
  };
569
+ return { ...e, slots: $(e) };
485
570
  }
486
- function Nt() {
571
+ function be({ root: e = null, rootName: t = null } = {}) {
487
572
  return {
573
+ slots: le(),
488
574
  context: null,
489
575
  reference: { left: null, right: null },
490
576
  role: null,
491
577
  modes: null,
492
- root: null,
493
- rootName: null,
578
+ root: e,
579
+ rootName: t,
494
580
  tenses: null,
495
- border: null
581
+ border: St
496
582
  };
497
583
  }
498
- function ct(e) {
499
- var x, a, h, m, f, C, k;
584
+ function It(e) {
585
+ var a, h, w, s, y, v, E;
500
586
  if (!e) return e;
501
- const t = e.reference || { left: null, right: null }, r = typeof e.context == "string" ? D("context", e.context) : null, l = typeof e.role == "string" ? D("role", e.role) : null, i = typeof e.modes == "string" ? D("modes", e.modes) : null, o = typeof e.root == "string" ? D("root", e.root) : null, c = typeof e.tenses == "string" ? D("tenses", e.tenses) : null, g = e.border != null && Ft.has(e.border) ? e.border : null;
587
+ const t = e.reference || { left: null, right: null }, r = typeof e.context == "string" ? L("context", e.context) : null, l = typeof e.role == "string" ? L("role", e.role) : null, i = typeof e.modes == "string" ? L("modes", e.modes) : null, F = typeof e.root == "string" ? L("root", e.root) : null, n = typeof e.tenses == "string" ? L("tenses", e.tenses) : null, d = e.border != null && kt.has(e.border) ? e.border : null, x = $(e);
502
588
  return {
503
589
  ...e,
504
- context: typeof e.context == "object" && ((x = e.context) == null ? void 0 : x.url) != null ? e.context : r ? V(r) : { name: "", url: e.context || "" },
590
+ slots: x,
591
+ context: typeof e.context == "object" && ((a = e.context) == null ? void 0 : a.url) != null ? e.context : r ? B(r) : { name: "", url: e.context || "" },
505
592
  reference: {
506
- left: t.left == null ? null : typeof t.left == "object" && ((a = t.left) == null ? void 0 : a.url) != null ? t.left : D("reference", t.left) ? V(D("reference", t.left)) : { name: "", url: t.left },
507
- right: t.right == null ? null : typeof t.right == "object" && ((h = t.right) == null ? void 0 : h.url) != null ? t.right : D("reference", t.right) ? V(D("reference", t.right)) : { name: "", url: t.right }
593
+ left: t.left == null ? null : typeof t.left == "object" && ((h = t.left) == null ? void 0 : h.url) != null ? t.left : L("reference", t.left) ? B(L("reference", t.left)) : { name: "", url: t.left },
594
+ right: t.right == null ? null : typeof t.right == "object" && ((w = t.right) == null ? void 0 : w.url) != null ? t.right : L("reference", t.right) ? B(L("reference", t.right)) : { name: "", url: t.right }
508
595
  },
509
- role: typeof e.role == "object" && ((m = e.role) == null ? void 0 : m.url) != null ? e.role : l ? V(l) : { name: "", url: e.role || "" },
510
- modes: typeof e.modes == "object" && ((f = e.modes) == null ? void 0 : f.url) != null ? e.modes : i ? V(i) : { name: "", url: e.modes || "" },
511
- root: typeof e.root == "object" && ((C = e.root) == null ? void 0 : C.url) != null ? { ...e.root, name: e.rootName ?? e.root.name } : o ? { name: e.rootName ?? o.tooltip, url: o.url } : { name: e.rootName ?? "", url: e.root || "" },
512
- tenses: typeof e.tenses == "object" && ((k = e.tenses) == null ? void 0 : k.url) != null ? e.tenses : c ? V(c) : { name: "", url: e.tenses || "" },
513
- border: g
596
+ role: typeof e.role == "object" && ((s = e.role) == null ? void 0 : s.url) != null ? e.role : l ? B(l) : { name: "", url: e.role || "" },
597
+ modes: typeof e.modes == "object" && ((y = e.modes) == null ? void 0 : y.url) != null ? e.modes : i ? B(i) : { name: "", url: e.modes || "" },
598
+ root: typeof e.root == "object" && ((v = e.root) == null ? void 0 : v.url) != null ? { ...e.root, name: e.rootName ?? e.root.name } : F ? { name: e.rootName ?? F.tooltip, url: F.url } : { name: e.rootName ?? "", url: e.root || "" },
599
+ tenses: typeof e.tenses == "object" && ((E = e.tenses) == null ? void 0 : E.url) != null ? e.tenses : n ? B(n) : { name: "", url: e.tenses || "" },
600
+ // Keep the fixed zone fields in step with the slots for consumers that
601
+ // still read them (e.g. the NLP pipeline).
602
+ ...Array.isArray(e.slots) ? se(x) : {},
603
+ border: d
514
604
  };
515
605
  }
516
- function Lt(e) {
517
- return (e || []).map(ct);
518
- }
519
- function ht(e) {
520
- let t = 0;
521
- for (let r = 0; r < e.length; r++) {
522
- const l = e.charCodeAt(r);
523
- t = (t << 5) - t + l, t = t & t;
524
- }
525
- return Math.abs(t);
526
- }
527
- class st {
528
- constructor(t) {
529
- this.seed = t;
530
- }
531
- next() {
532
- const l = Math.pow(2, 32);
533
- return this.seed = (1664525 * this.seed + 1013904223) % l, this.seed / l;
534
- }
535
- nextInt(t, r) {
536
- return Math.floor(this.next() * (r - t)) + t;
537
- }
606
+ function qt(e) {
607
+ return (e || []).map(It);
538
608
  }
539
- async function at(e, t) {
609
+ async function Et(e, t) {
540
610
  try {
541
611
  const [r] = await t(e, { limit: 1 });
542
612
  return r ? { name: r.name, url: r.url } : null;
@@ -544,55 +614,33 @@ async function at(e, t) {
544
614
  return null;
545
615
  }
546
616
  }
547
- const dt = { name: "Not found", url: null };
548
- async function Dt(e, { search: t = Ie } = {}) {
617
+ const Ct = { name: "Not found", url: null };
618
+ async function Zt(e, { search: t = Te } = {}) {
549
619
  const r = e.toLowerCase().split(/\s+/).filter(Boolean), l = await Promise.all(
550
620
  r.map(async (i) => {
551
- const o = { ...we() }, c = ht(i), g = new st(c);
552
- o.context = V(I.context[g.nextInt(0, I.context.length)]);
553
- const x = g.next() > 0.5, a = g.nextInt(1, I.reference.length);
554
- o.reference = {
555
- left: x ? V(I.reference[0]) : null,
556
- right: V(I.reference[a])
557
- }, o.role = V(I.role[g.nextInt(0, I.role.length)]), o.modes = V(I.modes[g.nextInt(0, I.modes.length)]);
558
- const h = await at(i, t);
559
- o.root = h ?? dt, o.rootName = (h == null ? void 0 : h.name) ?? null, o.tenses = V(I.tenses[g.nextInt(0, I.tenses.length)]);
560
- const m = z.filter((f) => !f.plural);
561
- return o.border = m[g.nextInt(0, m.length)].id, o;
621
+ const F = await Et(i, t);
622
+ return {
623
+ ...be({ root: F ?? Ct, rootName: (F == null ? void 0 : F.name) ?? null }),
624
+ word: i
625
+ };
562
626
  })
563
627
  );
564
- return l.length > 0 ? l : [we()];
628
+ return l.length > 0 ? l : [be()];
565
629
  }
566
- const ye = 1.18, q = 0.95, he = [ye, q, q, q, q, ye], Se = [0.6, 1.4, 1.4, 0.6], K = {
567
- context: "rgba(100, 50, 150, 0.1)",
568
- reference: "rgba(50, 100, 200, 0.1)",
569
- role: "rgba(200, 50, 50, 0.1)",
570
- modes: "rgba(50, 150, 100, 0.1)",
571
- root: "rgba(150, 150, 50, 0.1)",
572
- east: "rgba(0, 0, 0, 0.05)",
573
- tenses: "rgba(100, 100, 200, 0.1)"
574
- }, M = "rgba(0, 0, 0, 0.14)", gt = {
575
- context: { cols: [0, 1], rows: [0, 1] },
576
- reference: { cols: [1, 5], rows: [0, 1] },
577
- role: { cols: [5, 6], rows: [0, 1] },
578
- modes: { cols: [0, 1], rows: [1, 5] },
579
- root: { cols: [1, 5], rows: [1, 5] },
580
- east: { cols: [5, 6], rows: [1, 5] },
581
- tenses: { cols: [0, 6], rows: [5, 6] }
582
- };
583
- function Ce(e) {
630
+ const ke = 1, Y = 1, ne = [ke, Y, Y, Y, Y, ke], Me = "#E3E5E8", Oe = "#FFFFFF", De = "#FFFFFF", ce = "rgba(0, 0, 0, 0.14)";
631
+ function Ne(e) {
584
632
  return {
585
633
  framePad: Math.max(2, Math.round(e / 44)),
586
634
  zonePad: Math.max(2, Math.round(e / 72)),
587
635
  rootPad: Math.max(2, Math.round(e / 40))
588
636
  };
589
637
  }
590
- function re(e, t) {
591
- const r = t.reduce((i, o) => i + o, 0), l = [0];
638
+ function Se(e, t) {
639
+ const r = t.reduce((i, F) => i + F, 0), l = [0];
592
640
  for (const i of t) l.push(l[l.length - 1] + e * i / r);
593
641
  return l;
594
642
  }
595
- const le = {
643
+ const _t = {
596
644
  maxWidth: "100%",
597
645
  maxHeight: "100%",
598
646
  width: "100%",
@@ -600,71 +648,62 @@ const le = {
600
648
  objectFit: "contain",
601
649
  display: "block",
602
650
  boxSizing: "border-box"
603
- }, ve = (e) => ({
604
- display: "flex",
605
- alignItems: "center",
606
- justifyContent: "center",
607
- minWidth: 0,
608
- minHeight: 0,
609
- overflow: "hidden",
610
- boxSizing: "border-box",
611
- padding: `${e}px`
612
- });
613
- function xt(e = 768) {
614
- const [t, r] = G(
651
+ };
652
+ function Tt(e = 768) {
653
+ const [t, r] = M(
615
654
  () => typeof window < "u" && window.innerWidth < e
616
655
  );
617
- return ke(() => {
656
+ return _e(() => {
618
657
  const l = window.matchMedia(`(max-width: ${e - 1}px)`), i = () => r(l.matches);
619
658
  return l.addEventListener("change", i), () => l.removeEventListener("change", i);
620
659
  }, [e]), t;
621
660
  }
622
- function ge({
661
+ function fe({
623
662
  ikon: e,
624
663
  onClick: t,
625
664
  size: r = 64,
626
665
  onZoneClick: l,
627
666
  selectedZone: i,
628
- isSelected: o = !1,
629
- isPaired: c = !1,
630
- onEdit: g,
667
+ isSelected: F = !1,
668
+ isPaired: n = !1,
669
+ onEdit: d,
631
670
  onDelete: x,
632
- hideActionOverlay: a = !1
671
+ hideActionOverlay: a = !1,
672
+ label: h = null
633
673
  }) {
634
- var fe, ue;
635
- const [h, m] = G(!1), f = xt(), C = e != null && e.border ? ae(e.border) : null, k = (d, T) => {
636
- l ? (T.stopPropagation(), l(d)) : t && t(T);
637
- }, E = (d) => {
638
- l && (d.currentTarget.style.filter = "brightness(1.3)");
639
- }, b = (d) => {
640
- l && (d.currentTarget.style.filter = "brightness(1)");
641
- }, w = (d, T) => {
642
- const A = i === d;
674
+ const [w, s] = M(!1), y = Tt(), v = e != null && e.border ? de(e.border) : null, E = (f, I) => {
675
+ l ? (I.stopPropagation(), l(f)) : t && t(I);
676
+ }, m = (f) => {
677
+ l && (f.currentTarget.style.filter = "brightness(1.3)");
678
+ }, b = (f) => {
679
+ l && (f.currentTarget.style.filter = "brightness(1)");
680
+ }, V = (f, I) => {
681
+ const N = i === f;
643
682
  return {
644
683
  // A selected zone draws a 2px inset outline; border-box keeps that
645
684
  // outline (and every zone's padding) inside the slot the grid gave it,
646
685
  // so it can't nudge a neighbour or the card edge.
647
686
  boxSizing: "border-box",
648
- ...T,
687
+ ...I,
649
688
  cursor: l || t ? "pointer" : "default",
650
689
  transition: "all 0.2s, filter 0.2s",
651
- border: A ? "2px solid var(--ikoneme-primary)" : T.border || "none",
652
- boxShadow: A ? "0 0 8px var(--ikoneme-primary)" : "none",
690
+ border: N ? "2px solid var(--ikoneme-primary)" : I.border || "none",
691
+ boxShadow: N ? "0 0 8px var(--ikoneme-primary)" : I.boxShadow || "none",
653
692
  position: "relative"
654
693
  };
655
- }, B = (d, T) => {
656
- const A = ce(T), ie = D(d, N(T)), Te = T && typeof T == "object" && T.name || (ie == null ? void 0 : ie.tooltip) || d;
657
- return A ? /* @__PURE__ */ F(
694
+ }, C = (f, I) => {
695
+ const N = oe(I), P = L(f, xe(I)), O = I && typeof I == "object" && I.name || (P == null ? void 0 : P.tooltip) || f;
696
+ return N ? /* @__PURE__ */ c(
658
697
  "img",
659
698
  {
660
- src: A,
661
- alt: Te,
662
- style: le,
663
- onError: (Ve) => {
664
- Ve.target.style.display = "none";
699
+ src: N,
700
+ alt: O,
701
+ style: _t,
702
+ onError: (te) => {
703
+ te.target.style.display = "none";
665
704
  }
666
705
  }
667
- ) : T != null && T.name ? /* @__PURE__ */ F(
706
+ ) : I != null && I.name ? /* @__PURE__ */ c(
668
707
  "span",
669
708
  {
670
709
  style: {
@@ -675,21 +714,21 @@ function ge({
675
714
  wordBreak: "break-word",
676
715
  padding: "2px"
677
716
  },
678
- children: T.name
717
+ children: I.name
679
718
  }
680
719
  ) : null;
681
- }, n = !a && !l && (g || x), s = f ? 28 : 24, u = 4, p = 3 * s + 2 * u, y = n ? p : r, v = f || h, _ = y, { framePad: P, zonePad: L, rootPad: Y } = Ce(_), R = (d) => d.map((T) => `minmax(0, ${T}fr)`).join(" "), O = R(he), j = R(Se), ee = C ? Fe(C, _) : {
682
- border: o && !c ? "2px solid rgba(0, 168, 132, 0.8)" : "1px solid rgba(255, 255, 255, 0.1)"
683
- }, te = o && !c ? "rgba(0, 168, 132, 0.15)" : "white", Z = [
684
- o && !c ? "0 0 12px rgba(0, 168, 132, 0.4)" : null,
720
+ }, _ = !a && !l && (d || x), T = y ? 28 : 24, S = 4, o = 3 * T + 2 * S, g = _ ? o : r, p = y || w, u = g, { framePad: K, zonePad: j, rootPad: W } = Ne(u), pe = ((f) => f.map((I) => `minmax(0, ${I}fr)`).join(" "))(ne), Ke = $(e), Pe = v ? Fe(v, u) : {
721
+ border: F && !n ? "2px solid rgba(0, 168, 132, 0.8)" : "1px solid rgba(255, 255, 255, 0.1)"
722
+ }, Re = F && !n ? "rgba(0, 168, 132, 0.15)" : "white", we = [
723
+ F && !n ? "0 0 12px rgba(0, 168, 132, 0.4)" : null,
685
724
  i === "border" ? "0 0 0 3px var(--ikoneme-primary)" : null
686
- ].filter(Boolean).join(", "), Ee = "0 0 10px rgba(0, 168, 132, 0.5)", xe = /* @__PURE__ */ F(oe, { children: /* @__PURE__ */ S(
725
+ ].filter(Boolean).join(", "), Ae = "0 0 10px rgba(0, 168, 132, 0.5)", J = /* @__PURE__ */ c(ie, { children: /* @__PURE__ */ k(
687
726
  "div",
688
727
  {
689
- onClick: l ? () => l("border") : t ? (d) => t(d) : void 0,
728
+ onClick: l ? () => l("border") : t ? (f) => t(f) : void 0,
690
729
  style: {
691
- width: `${_}px`,
692
- height: `${_}px`,
730
+ width: `${u}px`,
731
+ height: `${u}px`,
693
732
  // border-box: the coloured border is drawn *inside* renderSize, so a
694
733
  // card always occupies exactly the box its parent reserved for it and
695
734
  // the grid tracks are sized within `renderSize` minus the frame.
@@ -698,12 +737,12 @@ function ge({
698
737
  boxSizing: "border-box",
699
738
  display: "grid",
700
739
  // Inset ring so the slot layout never sits flush against the border.
701
- padding: `${P}px`,
740
+ padding: `${K}px`,
702
741
  // See `edgeFr`/`midFr` above. `minmax(0, …fr)` on every track is what
703
742
  // stops a large-intrinsic icon from inflating its track and shoving
704
743
  // the neighbouring slots (and the whole layout) past the card border.
705
- gridTemplateColumns: O,
706
- gridTemplateRows: O,
744
+ gridTemplateColumns: pe,
745
+ gridTemplateRows: pe,
707
746
  cursor: t || l ? "pointer" : "default",
708
747
  borderRadius: "4px",
709
748
  // Absolute clip boundary: nothing rendered by any slot can be seen
@@ -711,271 +750,105 @@ function ge({
711
750
  overflow: "hidden",
712
751
  flexShrink: 0,
713
752
  transition: "transform 0.2s, box-shadow 0.2s, border 0.2s",
714
- backgroundColor: te,
715
- boxShadow: Z,
716
- ...ee
753
+ backgroundColor: Re,
754
+ boxShadow: we,
755
+ ...Pe
717
756
  },
718
- onMouseEnter: (d) => {
719
- t && !l && !c && (d.currentTarget.style.transform = "scale(1.05)", o || (d.currentTarget.style.boxShadow = Ee));
757
+ onMouseEnter: (f) => {
758
+ t && !l && !n && (f.currentTarget.style.transform = "scale(1.05)", F || (f.currentTarget.style.boxShadow = Ae));
720
759
  },
721
- onMouseLeave: (d) => {
722
- t && !l && !c && (d.currentTarget.style.transform = "scale(1)", o || (d.currentTarget.style.boxShadow = Z));
760
+ onMouseLeave: (f) => {
761
+ t && !l && !n && (f.currentTarget.style.transform = "scale(1)", F || (f.currentTarget.style.boxShadow = we));
723
762
  },
724
763
  children: [
725
- /* @__PURE__ */ F(
726
- "div",
727
- {
728
- onClick: (d) => k("context", d),
729
- onMouseEnter: E,
730
- onMouseLeave: b,
731
- style: w("context", {
732
- gridColumn: "1 / 2",
733
- gridRow: "1 / 2",
734
- display: "flex",
735
- alignItems: "center",
736
- justifyContent: "center",
737
- background: K.context,
738
- borderRight: `1px solid ${M}`,
739
- borderBottom: `1px solid ${M}`,
740
- minWidth: 0,
741
- minHeight: 0,
742
- overflow: "hidden",
743
- padding: `${L}px`
744
- }),
745
- className: "ikoneme-zone",
746
- children: B("context", e.context)
747
- }
748
- ),
749
- /* @__PURE__ */ S(
750
- "div",
751
- {
752
- onClick: (d) => k("reference", d),
753
- onMouseEnter: E,
754
- onMouseLeave: b,
755
- style: w("reference", {
756
- gridColumn: "2 / 6",
757
- gridRow: "1 / 2",
758
- display: "grid",
759
- // Same treatment as the outer grid: bounded tracks + a single full-
760
- // height row so each reference sub-slot has a definite size and its
761
- // icon (sized against it) stays put.
762
- gridTemplateColumns: j,
763
- gridTemplateRows: "minmax(0, 1fr)",
764
- background: K.reference,
765
- borderRight: `1px solid ${M}`,
766
- borderBottom: `1px solid ${M}`,
767
- minWidth: 0,
768
- minHeight: 0,
769
- overflow: "hidden"
770
- }),
771
- className: "ikoneme-zone",
772
- children: [
773
- /* @__PURE__ */ F(
774
- "div",
775
- {
776
- style: {
777
- minWidth: 0,
778
- minHeight: 0,
779
- overflow: "hidden",
780
- borderRight: `1px solid ${M}`
781
- }
782
- }
783
- ),
784
- /* @__PURE__ */ F(
785
- "div",
786
- {
787
- style: {
788
- ...ve(L),
789
- borderRight: `1px solid ${M}`
790
- },
791
- children: N((fe = e.reference) == null ? void 0 : fe.left) && /* @__PURE__ */ F(
792
- "img",
793
- {
794
- src: N(e.reference.left),
795
- alt: "Asterisk",
796
- style: le,
797
- onError: (d) => {
798
- d.target.style.display = "none";
799
- }
800
- }
801
- )
802
- }
803
- ),
804
- /* @__PURE__ */ F(
805
- "div",
806
- {
807
- style: {
808
- ...ve(L),
809
- borderRight: `1px solid ${M}`
810
- },
811
- children: N((ue = e.reference) == null ? void 0 : ue.right) && /* @__PURE__ */ F(
812
- "img",
813
- {
814
- src: N(e.reference.right),
815
- alt: "Number",
816
- style: le,
817
- onError: (d) => {
818
- d.target.style.display = "none";
819
- }
820
- }
821
- )
822
- }
823
- ),
824
- /* @__PURE__ */ F("div", { style: { minWidth: 0, minHeight: 0, overflow: "hidden" } })
825
- ]
826
- }
827
- ),
828
- /* @__PURE__ */ F(
829
- "div",
830
- {
831
- onClick: (d) => k("role", d),
832
- onMouseEnter: E,
833
- onMouseLeave: b,
834
- style: w("role", {
835
- gridColumn: "6 / 7",
836
- gridRow: "1 / 2",
837
- display: "flex",
838
- alignItems: "center",
839
- justifyContent: "center",
840
- background: K.role,
841
- borderBottom: `1px solid ${M}`,
842
- minWidth: 0,
843
- minHeight: 0,
844
- overflow: "hidden",
845
- padding: `${L}px`
846
- }),
847
- className: "ikoneme-zone",
848
- children: B("role", e.role)
849
- }
850
- ),
851
- /* @__PURE__ */ F(
852
- "div",
853
- {
854
- onClick: (d) => k("modes", d),
855
- onMouseEnter: E,
856
- onMouseLeave: b,
857
- style: w("modes", {
858
- gridColumn: "1 / 2",
859
- gridRow: "2 / 6",
860
- display: "flex",
861
- alignItems: "center",
862
- justifyContent: "center",
863
- background: K.modes,
864
- borderRight: `1px solid ${M}`,
865
- borderBottom: `1px solid ${M}`,
866
- minWidth: 0,
867
- minHeight: 0,
868
- overflow: "hidden",
869
- padding: `${L}px`
870
- }),
871
- className: "ikoneme-zone",
872
- children: B("modes", e.modes)
873
- }
874
- ),
875
- /* @__PURE__ */ F(
764
+ Be.map(({ row: f, col: I }, N) => {
765
+ const P = `slot-${N}`, O = Ke[N];
766
+ return /* @__PURE__ */ c(
767
+ "div",
768
+ {
769
+ onClick: (te) => E(P, te),
770
+ onMouseEnter: m,
771
+ onMouseLeave: b,
772
+ title: (O == null ? void 0 : O.name) || void 0,
773
+ style: V(P, {
774
+ gridColumn: `${I + 1} / ${I + 2}`,
775
+ gridRow: `${f + 1} / ${f + 2}`,
776
+ display: "flex",
777
+ alignItems: "center",
778
+ justifyContent: "center",
779
+ background: O ? Oe : Me,
780
+ // Hairline grid between squares, drawn inside each square.
781
+ boxShadow: `inset 0 0 0 0.5px ${ce}`,
782
+ minWidth: 0,
783
+ minHeight: 0,
784
+ overflow: "hidden",
785
+ padding: `${j}px`
786
+ }),
787
+ className: "ikoneme-zone",
788
+ children: O && C(O.category, O)
789
+ },
790
+ P
791
+ );
792
+ }),
793
+ /* @__PURE__ */ c(
876
794
  "div",
877
795
  {
878
- onClick: (d) => k("root", d),
879
- onMouseEnter: E,
796
+ onClick: (f) => E("root", f),
797
+ onMouseEnter: m,
880
798
  onMouseLeave: b,
881
- style: w("root", {
882
- // Kept at 4 columns (not spanning into column 6) so root — and the
883
- // whole icon — stays horizontally centered: column 1 (modes) and
884
- // column 6 (below) are the same width on both sides of root.
799
+ style: V("root", {
885
800
  gridColumn: "2 / 6",
886
801
  gridRow: "2 / 6",
887
802
  display: "flex",
888
803
  alignItems: "center",
889
804
  justifyContent: "center",
890
- background: K.root,
891
- borderRight: `1px solid ${M}`,
892
- borderBottom: `1px solid ${M}`,
893
- minWidth: 0,
894
- minHeight: 0,
895
- overflow: "hidden",
896
- padding: `${Y}px`
897
- }),
898
- className: "ikoneme-zone",
899
- children: B("root", e.root)
900
- }
901
- ),
902
- /* @__PURE__ */ F(
903
- "div",
904
- {
905
- onClick: (d) => {
906
- l && (d.stopPropagation(), l("border"));
907
- },
908
- style: {
909
- gridColumn: "6 / 7",
910
- gridRow: "2 / 6",
911
- background: K.east,
912
- borderBottom: `1px solid ${M}`,
913
- minWidth: 0,
914
- minHeight: 0,
915
- overflow: "hidden",
916
- boxSizing: "border-box",
917
- cursor: l ? "pointer" : "default"
918
- }
919
- }
920
- ),
921
- /* @__PURE__ */ F(
922
- "div",
923
- {
924
- onClick: (d) => k("tenses", d),
925
- onMouseEnter: E,
926
- onMouseLeave: b,
927
- style: w("tenses", {
928
- gridColumn: "1 / 7",
929
- gridRow: "6 / 7",
930
- display: "flex",
931
- alignItems: "center",
932
- justifyContent: "center",
933
- background: K.tenses,
805
+ background: De,
806
+ boxShadow: `inset 0 0 0 0.5px ${ce}`,
934
807
  minWidth: 0,
935
808
  minHeight: 0,
936
809
  overflow: "hidden",
937
- padding: `${L}px`
810
+ padding: `${W}px`
938
811
  }),
939
812
  className: "ikoneme-zone",
940
- children: B("tenses", e.tenses)
813
+ children: C("root", e.root)
941
814
  }
942
815
  )
943
816
  ]
944
817
  }
945
- ) }), _e = /* @__PURE__ */ F(
818
+ ) }), $e = /* @__PURE__ */ c(
946
819
  "div",
947
820
  {
948
821
  style: {
949
- minHeight: `${s}px`,
822
+ minHeight: `${T}px`,
950
823
  flexShrink: 0,
951
824
  display: "flex",
952
825
  alignItems: "center",
953
826
  justifyContent: "center"
954
827
  },
955
- "aria-hidden": !v,
956
- children: /* @__PURE__ */ S(
828
+ "aria-hidden": !p,
829
+ children: /* @__PURE__ */ k(
957
830
  "div",
958
831
  {
959
832
  style: {
960
833
  display: "flex",
961
- gap: `${u}px`,
834
+ gap: `${S}px`,
962
835
  flexWrap: "nowrap",
963
- width: `${p}px`,
836
+ width: `${o}px`,
964
837
  justifyContent: "center",
965
- opacity: v ? 1 : 0,
966
- pointerEvents: v ? "auto" : "none",
838
+ opacity: p ? 1 : 0,
839
+ pointerEvents: p ? "auto" : "none",
967
840
  transition: "opacity 0.15s ease"
968
841
  },
969
842
  children: [
970
- g && /* @__PURE__ */ F(
843
+ d && /* @__PURE__ */ c(
971
844
  "button",
972
845
  {
973
- onClick: (d) => {
974
- d.stopPropagation(), g();
846
+ onClick: (f) => {
847
+ f.stopPropagation(), d();
975
848
  },
976
849
  style: {
977
- width: `${s}px`,
978
- height: `${s}px`,
850
+ width: `${T}px`,
851
+ height: `${T}px`,
979
852
  borderRadius: "6px",
980
853
  border: "none",
981
854
  background: "rgba(0, 168, 132, 0.95)",
@@ -986,21 +859,21 @@ function ge({
986
859
  transition: "background 0.2s",
987
860
  boxShadow: "0 2px 4px rgba(0, 0, 0, 0.3)"
988
861
  },
989
- onMouseEnter: (d) => d.currentTarget.style.background = "rgba(0, 168, 132, 1)",
990
- onMouseLeave: (d) => d.currentTarget.style.background = "rgba(0, 168, 132, 0.95)",
862
+ onMouseEnter: (f) => f.currentTarget.style.background = "rgba(0, 168, 132, 1)",
863
+ onMouseLeave: (f) => f.currentTarget.style.background = "rgba(0, 168, 132, 0.95)",
991
864
  title: "Edit",
992
- children: /* @__PURE__ */ F(Oe, { size: f ? 16 : 14, color: "white" })
865
+ children: /* @__PURE__ */ c(Ye, { size: y ? 16 : 14, color: "white" })
993
866
  }
994
867
  ),
995
- x && /* @__PURE__ */ F(
868
+ x && /* @__PURE__ */ c(
996
869
  "button",
997
870
  {
998
- onClick: (d) => {
999
- d.stopPropagation(), x();
871
+ onClick: (f) => {
872
+ f.stopPropagation(), x();
1000
873
  },
1001
874
  style: {
1002
- width: `${s}px`,
1003
- height: `${s}px`,
875
+ width: `${T}px`,
876
+ height: `${T}px`,
1004
877
  borderRadius: "6px",
1005
878
  border: "none",
1006
879
  background: "rgba(220, 38, 38, 0.95)",
@@ -1011,36 +884,70 @@ function ge({
1011
884
  transition: "background 0.2s",
1012
885
  boxShadow: "0 2px 4px rgba(0, 0, 0, 0.3)"
1013
886
  },
1014
- onMouseEnter: (d) => d.currentTarget.style.background = "rgba(220, 38, 38, 1)",
1015
- onMouseLeave: (d) => d.currentTarget.style.background = "rgba(220, 38, 38, 0.95)",
887
+ onMouseEnter: (f) => f.currentTarget.style.background = "rgba(220, 38, 38, 1)",
888
+ onMouseLeave: (f) => f.currentTarget.style.background = "rgba(220, 38, 38, 0.95)",
1016
889
  title: "Delete",
1017
- children: /* @__PURE__ */ F(Ge, { size: f ? 16 : 14, color: "white" })
890
+ children: /* @__PURE__ */ c(Ze, { size: y ? 16 : 14, color: "white" })
1018
891
  }
1019
892
  )
1020
893
  ]
1021
894
  }
1022
895
  )
1023
896
  }
1024
- );
1025
- return n ? /* @__PURE__ */ S(
897
+ ), ee = h != null && h !== "" ? /* @__PURE__ */ c(
898
+ "div",
899
+ {
900
+ style: {
901
+ maxWidth: `${Math.max(u, 48)}px`,
902
+ fontSize: `${Math.max(10, Math.min(14, Math.round(u / 7)))}px`,
903
+ lineHeight: 1.2,
904
+ color: "var(--ikoneme-text-primary, #222)",
905
+ textAlign: "center",
906
+ overflow: "hidden",
907
+ textOverflow: "ellipsis",
908
+ whiteSpace: "nowrap"
909
+ },
910
+ title: h,
911
+ children: h
912
+ }
913
+ ) : null;
914
+ return _ ? /* @__PURE__ */ k(
1026
915
  "div",
1027
916
  {
1028
917
  style: {
1029
918
  display: "flex",
1030
919
  flexDirection: "column",
1031
920
  alignItems: "center",
1032
- width: `${p}px`,
921
+ width: `${o}px`,
1033
922
  flexShrink: 0,
1034
923
  gap: "6px"
1035
924
  },
1036
- onMouseEnter: () => m(!0),
1037
- onMouseLeave: () => m(!1),
925
+ onMouseEnter: () => s(!0),
926
+ onMouseLeave: () => s(!1),
927
+ children: [
928
+ /* @__PURE__ */ c("div", { style: { position: "relative", width: `${u}px`, height: `${u}px` }, children: J }),
929
+ ee,
930
+ $e
931
+ ]
932
+ }
933
+ ) : ee ? /* @__PURE__ */ k(
934
+ "div",
935
+ {
936
+ style: {
937
+ display: "flex",
938
+ flexDirection: "column",
939
+ alignItems: "center",
940
+ gap: "4px",
941
+ flexShrink: 0
942
+ },
943
+ onMouseEnter: () => s(!0),
944
+ onMouseLeave: () => s(!1),
1038
945
  children: [
1039
- /* @__PURE__ */ F("div", { style: { position: "relative", width: `${_}px`, height: `${_}px` }, children: xe }),
1040
- _e
946
+ /* @__PURE__ */ c("div", { style: { position: "relative", width: `${r}px`, height: `${r}px` }, children: J }),
947
+ ee
1041
948
  ]
1042
949
  }
1043
- ) : /* @__PURE__ */ F(
950
+ ) : /* @__PURE__ */ c(
1044
951
  "div",
1045
952
  {
1046
953
  style: {
@@ -1049,111 +956,97 @@ function ge({
1049
956
  height: `${r}px`,
1050
957
  flexShrink: 0
1051
958
  },
1052
- onMouseEnter: () => m(!0),
1053
- onMouseLeave: () => m(!1),
1054
- children: xe
959
+ onMouseEnter: () => s(!0),
960
+ onMouseLeave: () => s(!1),
961
+ children: J
1055
962
  }
1056
963
  );
1057
964
  }
1058
- const X = {
1059
- context: { name: "Context", description: "Northwest - Contextual information" },
1060
- reference: { name: "Reference", description: "North - Reference point" },
1061
- role: { name: "Role", description: "Northeast - Role indicator" },
1062
- modes: { name: "Modes", description: "West - Mode settings" },
965
+ const Ge = {
1063
966
  root: { name: "Root", description: "Center - Core meaning" },
1064
- tenses: { name: "Tenses", description: "South - Time/tense indicator" },
1065
967
  border: {
1066
968
  name: "Border",
1067
969
  description: "Grammatical category — singular (single frame) or plural (double frame)"
1068
970
  }
1069
- }, ft = 1, ut = 300, pt = 10, mt = 5;
1070
- function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1071
- const [i, o] = G({
971
+ }, Vt = 1, Bt = 300, Lt = 10, Mt = 5;
972
+ function he(e) {
973
+ const t = /^slot-(\d+)$/.exec(e || "");
974
+ return t ? Number(t[1]) : null;
975
+ }
976
+ function Ie(e) {
977
+ const t = he(e);
978
+ return t == null ? Ge[e].name : `Square ${t + 1}`;
979
+ }
980
+ function Ot({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ft }) {
981
+ const [i, F] = M({
1072
982
  ...e,
1073
983
  reference: e.reference ? { ...e.reference } : { left: null, right: null },
1074
- rootName: e.rootName ?? null
1075
- }), [c, g] = G("root"), [x, a] = G(""), [h, m] = G([]), [f, C] = G(!1), k = (n, s) => {
1076
- const u = D(n === "reference" ? "reference" : n, s), p = u ? { name: u.tooltip, url: u.url } : { name: "", url: s };
1077
- if (n === "reference") {
1078
- const y = I.reference[0].url;
1079
- o(s === y ? (v) => {
1080
- var _;
1081
- return {
1082
- ...v,
1083
- reference: {
1084
- ...v.reference,
1085
- left: N((_ = v.reference) == null ? void 0 : _.left) === y ? null : { name: I.reference[0].tooltip, url: y }
1086
- }
1087
- };
1088
- } : (v) => {
1089
- var _;
1090
- return {
1091
- ...v,
1092
- reference: {
1093
- ...v.reference,
1094
- right: N((_ = v.reference) == null ? void 0 : _.right) === s ? null : p
1095
- }
1096
- };
1097
- });
1098
- } else
1099
- o((y) => ({
1100
- ...y,
1101
- [n]: N(y[n]) === s ? null : p
1102
- }));
1103
- }, E = (n) => {
1104
- g(n);
1105
- }, b = (n) => {
1106
- o((s) => ({
1107
- ...s,
1108
- border: n == null || s.border === n ? null : n
984
+ rootName: e.rootName ?? null,
985
+ slots: $(e)
986
+ }), [n, d] = M("root"), [x, a] = M(Q[0].id), h = he(n), [w, s] = M(""), [y, v] = M([]), [E, m] = M(!1), b = (o, g) => {
987
+ F((p) => {
988
+ const u = p.slots[h], K = (u == null ? void 0 : u.category) === o && (u == null ? void 0 : u.url) === g.url;
989
+ return ve(p, h, K ? null : { category: o, url: g.url });
990
+ });
991
+ }, V = () => {
992
+ F((o) => ve(o, h, null));
993
+ }, C = (o) => {
994
+ var u;
995
+ d(o);
996
+ const g = he(o), p = g == null ? null : (u = i.slots[g]) == null ? void 0 : u.category;
997
+ p && a(p);
998
+ }, _ = (o) => {
999
+ F((g) => ({
1000
+ ...g,
1001
+ border: o == null || g.border === o ? null : o
1109
1002
  }));
1110
1003
  };
1111
- ke(() => {
1112
- if (c !== "root" || x.length < ft) {
1113
- m([]);
1004
+ _e(() => {
1005
+ if (n !== "root" || w.length < Vt) {
1006
+ v([]);
1114
1007
  return;
1115
1008
  }
1116
- const n = setTimeout(async () => {
1117
- C(!0);
1009
+ const o = setTimeout(async () => {
1010
+ m(!0);
1118
1011
  try {
1119
- const s = await l(x.trim());
1120
- m((s || []).slice(0, pt));
1012
+ const g = await l(w.trim());
1013
+ v((g || []).slice(0, Lt));
1121
1014
  } catch {
1122
- m([]);
1015
+ v([]);
1123
1016
  } finally {
1124
- C(!1);
1017
+ m(!1);
1125
1018
  }
1126
- }, ut);
1127
- return () => clearTimeout(n);
1128
- }, [c, x, l]);
1129
- const w = Be(async (n) => {
1130
- if (o((s) => ({
1131
- ...s,
1132
- root: { id: n.id ?? null, name: n.name, url: n.url },
1133
- rootName: n.name
1134
- })), n.id != null)
1019
+ }, Bt);
1020
+ return () => clearTimeout(o);
1021
+ }, [n, w, l]);
1022
+ const T = We(async (o) => {
1023
+ if (F((g) => ({
1024
+ ...g,
1025
+ root: { id: o.id ?? null, name: o.name, url: o.url },
1026
+ rootName: o.name
1027
+ })), o.id != null)
1135
1028
  try {
1136
- const s = await ze(n.id);
1137
- if (!s) return;
1138
- o((u) => {
1139
- var p;
1140
- return ((p = u.root) == null ? void 0 : p.id) !== n.id ? u : {
1141
- ...u,
1029
+ const g = await lt(o.id);
1030
+ if (!g) return;
1031
+ F((p) => {
1032
+ var u;
1033
+ return ((u = p.root) == null ? void 0 : u.id) !== o.id ? p : {
1034
+ ...p,
1142
1035
  root: {
1143
- id: s.id,
1144
- name: n.name,
1145
- url: s.origin || n.url,
1146
- svg: s.svg || void 0,
1147
- thumb: s.thumb || void 0,
1148
- preview: s.preview || void 0
1036
+ id: g.id,
1037
+ name: o.name,
1038
+ url: g.origin || o.url,
1039
+ svg: g.svg || void 0,
1040
+ thumb: g.thumb || void 0,
1041
+ preview: g.preview || void 0
1149
1042
  },
1150
- rootName: n.name
1043
+ rootName: o.name
1151
1044
  };
1152
1045
  });
1153
1046
  } catch {
1154
1047
  }
1155
1048
  }, []);
1156
- return /* @__PURE__ */ S(
1049
+ return /* @__PURE__ */ k(
1157
1050
  "div",
1158
1051
  {
1159
1052
  style: {
@@ -1169,7 +1062,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1169
1062
  overflow: "hidden"
1170
1063
  },
1171
1064
  children: [
1172
- /* @__PURE__ */ S(
1065
+ /* @__PURE__ */ k(
1173
1066
  "div",
1174
1067
  {
1175
1068
  style: {
@@ -1181,7 +1074,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1181
1074
  gap: "12px"
1182
1075
  },
1183
1076
  children: [
1184
- /* @__PURE__ */ S(
1077
+ /* @__PURE__ */ k(
1185
1078
  "div",
1186
1079
  {
1187
1080
  style: {
@@ -1191,7 +1084,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1191
1084
  flex: 1
1192
1085
  },
1193
1086
  children: [
1194
- /* @__PURE__ */ F(
1087
+ /* @__PURE__ */ c(
1195
1088
  "button",
1196
1089
  {
1197
1090
  onClick: r,
@@ -1205,10 +1098,10 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1205
1098
  justifyContent: "center"
1206
1099
  },
1207
1100
  title: "Back",
1208
- children: /* @__PURE__ */ F(De, { color: "var(--ikoneme-text-primary)", size: 24 })
1101
+ children: /* @__PURE__ */ c(Ue, { color: "var(--ikoneme-text-primary)", size: 24 })
1209
1102
  }
1210
1103
  ),
1211
- /* @__PURE__ */ F(
1104
+ /* @__PURE__ */ c(
1212
1105
  "h2",
1213
1106
  {
1214
1107
  style: {
@@ -1223,11 +1116,11 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1223
1116
  ]
1224
1117
  }
1225
1118
  ),
1226
- /* @__PURE__ */ F(
1119
+ /* @__PURE__ */ c(
1227
1120
  "button",
1228
1121
  {
1229
1122
  onClick: () => {
1230
- t(i), r();
1123
+ t({ ...i, ...se(i.slots) }), r();
1231
1124
  },
1232
1125
  style: {
1233
1126
  padding: "10px 24px",
@@ -1241,15 +1134,15 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1241
1134
  transition: "background 0.2s",
1242
1135
  whiteSpace: "nowrap"
1243
1136
  },
1244
- onMouseEnter: (n) => n.currentTarget.style.background = "var(--ikoneme-primary-dark)",
1245
- onMouseLeave: (n) => n.currentTarget.style.background = "var(--ikoneme-primary)",
1137
+ onMouseEnter: (o) => o.currentTarget.style.background = "var(--ikoneme-primary-dark)",
1138
+ onMouseLeave: (o) => o.currentTarget.style.background = "var(--ikoneme-primary)",
1246
1139
  children: "Save"
1247
1140
  }
1248
1141
  )
1249
1142
  ]
1250
1143
  }
1251
1144
  ),
1252
- /* @__PURE__ */ S(
1145
+ /* @__PURE__ */ k(
1253
1146
  "div",
1254
1147
  {
1255
1148
  style: {
@@ -1262,7 +1155,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1262
1155
  WebkitOverflowScrolling: "touch"
1263
1156
  },
1264
1157
  children: [
1265
- /* @__PURE__ */ S(
1158
+ /* @__PURE__ */ k(
1266
1159
  "div",
1267
1160
  {
1268
1161
  style: {
@@ -1273,7 +1166,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1273
1166
  gap: "12px"
1274
1167
  },
1275
1168
  children: [
1276
- /* @__PURE__ */ F(
1169
+ /* @__PURE__ */ c(
1277
1170
  "p",
1278
1171
  {
1279
1172
  style: {
@@ -1281,19 +1174,19 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1281
1174
  fontSize: "clamp(12px, 3vw, 13px)",
1282
1175
  textAlign: "center"
1283
1176
  },
1284
- children: "Click on a zone or the border area to edit it"
1177
+ children: "Tap the center image, the border or any square around it"
1285
1178
  }
1286
1179
  ),
1287
- /* @__PURE__ */ F(
1288
- ge,
1180
+ /* @__PURE__ */ c(
1181
+ fe,
1289
1182
  {
1290
1183
  ikon: i,
1291
1184
  size: 280,
1292
- onZoneClick: E,
1293
- selectedZone: c
1185
+ onZoneClick: C,
1186
+ selectedZone: n
1294
1187
  }
1295
1188
  ),
1296
- /* @__PURE__ */ F(
1189
+ /* @__PURE__ */ c(
1297
1190
  "div",
1298
1191
  {
1299
1192
  style: {
@@ -1305,14 +1198,31 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1305
1198
  background: "var(--ikoneme-primary)",
1306
1199
  borderRadius: "20px"
1307
1200
  },
1308
- children: X[c].name
1201
+ children: Ie(n)
1309
1202
  }
1310
- )
1203
+ ),
1204
+ /* @__PURE__ */ c("div", { style: { display: "flex", gap: "8px" }, children: ["root", "border"].map((o) => /* @__PURE__ */ c(
1205
+ "button",
1206
+ {
1207
+ onClick: () => C(o),
1208
+ style: {
1209
+ padding: "6px 14px",
1210
+ borderRadius: "999px",
1211
+ border: "1px solid var(--ikoneme-border)",
1212
+ background: n === o ? "var(--ikoneme-primary)" : "transparent",
1213
+ color: n === o ? "white" : "var(--ikoneme-text-primary)",
1214
+ cursor: "pointer",
1215
+ fontSize: "13px"
1216
+ },
1217
+ children: o === "root" ? "Center image" : "Border"
1218
+ },
1219
+ o
1220
+ )) })
1311
1221
  ]
1312
1222
  }
1313
1223
  ),
1314
- /* @__PURE__ */ S("div", { style: { marginBottom: "20px" }, children: [
1315
- /* @__PURE__ */ F(
1224
+ /* @__PURE__ */ k("div", { style: { marginBottom: "20px" }, children: [
1225
+ /* @__PURE__ */ c(
1316
1226
  "h3",
1317
1227
  {
1318
1228
  style: {
@@ -1321,10 +1231,10 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1321
1231
  marginBottom: "8px",
1322
1232
  fontWeight: "500"
1323
1233
  },
1324
- children: c === "border" ? "Select Border Type" : "Choose Icon for: " + X[c].name
1234
+ children: n === "border" ? "Select Border Type" : "Choose Icon for: " + Ie(n)
1325
1235
  }
1326
1236
  ),
1327
- c === "border" ? /* @__PURE__ */ S(
1237
+ n === "border" ? /* @__PURE__ */ k(
1328
1238
  "p",
1329
1239
  {
1330
1240
  style: {
@@ -1333,28 +1243,11 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1333
1243
  marginBottom: "12px"
1334
1244
  },
1335
1245
  children: [
1336
- X.border.description,
1246
+ Ge.border.description,
1337
1247
  ". Click the same border again to clear."
1338
1248
  ]
1339
1249
  }
1340
- ) : c === "reference" ? /* @__PURE__ */ S(
1341
- "p",
1342
- {
1343
- style: {
1344
- color: "var(--ikoneme-text-secondary)",
1345
- fontSize: "clamp(11px, 2.5vw, 12px)",
1346
- marginBottom: "12px"
1347
- },
1348
- children: [
1349
- "Click ",
1350
- /* @__PURE__ */ F("strong", { children: "Asterisk" }),
1351
- " to toggle left cell. Click any ",
1352
- /* @__PURE__ */ F("strong", { children: "number" }),
1353
- " ",
1354
- "to toggle right cell."
1355
- ]
1356
- }
1357
- ) : c === "root" ? /* @__PURE__ */ F(
1250
+ ) : n === "root" ? /* @__PURE__ */ c(
1358
1251
  "p",
1359
1252
  {
1360
1253
  style: {
@@ -1364,7 +1257,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1364
1257
  },
1365
1258
  children: "Search for an icon below. The icon's name is stored with the ikon."
1366
1259
  }
1367
- ) : /* @__PURE__ */ S(
1260
+ ) : /* @__PURE__ */ c(
1368
1261
  "p",
1369
1262
  {
1370
1263
  style: {
@@ -1372,17 +1265,14 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1372
1265
  fontSize: "clamp(11px, 2.5vw, 12px)",
1373
1266
  marginBottom: "12px"
1374
1267
  },
1375
- children: [
1376
- X[c].description,
1377
- ". Click the same icon again to clear."
1378
- ]
1268
+ children: "Pick a category, then an icon. Click the same icon again to clear the square."
1379
1269
  }
1380
1270
  ),
1381
- c === "border" ? /* @__PURE__ */ S(oe, { children: [
1382
- /* @__PURE__ */ F("div", { style: { marginBottom: "12px" }, children: /* @__PURE__ */ F(
1271
+ n === "border" ? /* @__PURE__ */ k(ie, { children: [
1272
+ /* @__PURE__ */ c("div", { style: { marginBottom: "12px" }, children: /* @__PURE__ */ c(
1383
1273
  "button",
1384
1274
  {
1385
- onClick: () => b(null),
1275
+ onClick: () => _(null),
1386
1276
  style: {
1387
1277
  width: "100%",
1388
1278
  padding: "10px 14px",
@@ -1399,7 +1289,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1399
1289
  children: "No border"
1400
1290
  }
1401
1291
  ) }),
1402
- /* @__PURE__ */ F("div", { style: { marginBottom: "8px" }, children: /* @__PURE__ */ F(
1292
+ /* @__PURE__ */ c("div", { style: { marginBottom: "8px" }, children: /* @__PURE__ */ c(
1403
1293
  "span",
1404
1294
  {
1405
1295
  style: {
@@ -1410,7 +1300,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1410
1300
  children: "Singular"
1411
1301
  }
1412
1302
  ) }),
1413
- /* @__PURE__ */ F(
1303
+ /* @__PURE__ */ c(
1414
1304
  "div",
1415
1305
  {
1416
1306
  style: {
@@ -1419,17 +1309,17 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1419
1309
  gap: "10px",
1420
1310
  marginBottom: "16px"
1421
1311
  },
1422
- children: z.filter((n) => !n.plural).map((n) => {
1423
- const s = i.border === n.id;
1424
- return /* @__PURE__ */ S(
1312
+ children: Z.filter((o) => !o.plural).map((o) => {
1313
+ const g = i.border === o.id;
1314
+ return /* @__PURE__ */ k(
1425
1315
  "button",
1426
1316
  {
1427
- onClick: () => b(n.id),
1428
- title: n.label,
1317
+ onClick: () => _(o.id),
1318
+ title: o.label,
1429
1319
  style: {
1430
1320
  padding: "8px",
1431
- background: s ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1432
- border: `2px solid ${s ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)"}`,
1321
+ background: g ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1322
+ border: `2px solid ${g ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)"}`,
1433
1323
  borderRadius: "8px",
1434
1324
  cursor: "pointer",
1435
1325
  display: "flex",
@@ -1439,14 +1329,14 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1439
1329
  transition: "all 0.2s",
1440
1330
  position: "relative"
1441
1331
  },
1442
- onMouseEnter: (u) => {
1443
- s || (u.currentTarget.style.background = "var(--ikoneme-hover)");
1332
+ onMouseEnter: (p) => {
1333
+ g || (p.currentTarget.style.background = "var(--ikoneme-hover)");
1444
1334
  },
1445
- onMouseLeave: (u) => {
1446
- s || (u.currentTarget.style.background = "var(--ikoneme-surface)");
1335
+ onMouseLeave: (p) => {
1336
+ g || (p.currentTarget.style.background = "var(--ikoneme-surface)");
1447
1337
  },
1448
1338
  children: [
1449
- /* @__PURE__ */ F(
1339
+ /* @__PURE__ */ c(
1450
1340
  "div",
1451
1341
  {
1452
1342
  style: {
@@ -1456,22 +1346,22 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1456
1346
  flexShrink: 0,
1457
1347
  // Drawn at the scale of a ~160px ikon so the frame's
1458
1348
  // dash pattern stays readable in a 64px swatch.
1459
- ...Fe(n, 160)
1349
+ ...Fe(o, 160)
1460
1350
  }
1461
1351
  }
1462
1352
  ),
1463
- /* @__PURE__ */ F(
1353
+ /* @__PURE__ */ c(
1464
1354
  "span",
1465
1355
  {
1466
1356
  style: {
1467
1357
  fontSize: "11px",
1468
- color: s ? "white" : "var(--ikoneme-text-primary)",
1469
- fontWeight: s ? "600" : "400"
1358
+ color: g ? "white" : "var(--ikoneme-text-primary)",
1359
+ fontWeight: g ? "600" : "400"
1470
1360
  },
1471
- children: n.label
1361
+ children: o.label
1472
1362
  }
1473
1363
  ),
1474
- /* @__PURE__ */ F(
1364
+ /* @__PURE__ */ c(
1475
1365
  "div",
1476
1366
  {
1477
1367
  className: "ikon-tooltip",
@@ -1492,17 +1382,17 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1492
1382
  marginBottom: "8px",
1493
1383
  zIndex: 100
1494
1384
  },
1495
- children: n.label
1385
+ children: o.label
1496
1386
  }
1497
1387
  )
1498
1388
  ]
1499
1389
  },
1500
- n.id
1390
+ o.id
1501
1391
  );
1502
1392
  })
1503
1393
  }
1504
1394
  ),
1505
- /* @__PURE__ */ F("div", { style: { marginBottom: "8px" }, children: /* @__PURE__ */ F(
1395
+ /* @__PURE__ */ c("div", { style: { marginBottom: "8px" }, children: /* @__PURE__ */ c(
1506
1396
  "span",
1507
1397
  {
1508
1398
  style: {
@@ -1513,17 +1403,17 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1513
1403
  children: "Plural"
1514
1404
  }
1515
1405
  ) }),
1516
- /* @__PURE__ */ F("div", { style: { display: "grid", gridTemplateColumns: "repeat(3, 1fr)", gap: "10px" }, children: z.filter((n) => n.plural).map((n) => {
1517
- const s = i.border === n.id;
1518
- return /* @__PURE__ */ S(
1406
+ /* @__PURE__ */ c("div", { style: { display: "grid", gridTemplateColumns: "repeat(3, 1fr)", gap: "10px" }, children: Z.filter((o) => o.plural).map((o) => {
1407
+ const g = i.border === o.id;
1408
+ return /* @__PURE__ */ k(
1519
1409
  "button",
1520
1410
  {
1521
- onClick: () => b(n.id),
1522
- title: n.label,
1411
+ onClick: () => _(o.id),
1412
+ title: o.label,
1523
1413
  style: {
1524
1414
  padding: "8px",
1525
- background: s ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1526
- border: `2px solid ${s ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)"}`,
1415
+ background: g ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1416
+ border: `2px solid ${g ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)"}`,
1527
1417
  borderRadius: "8px",
1528
1418
  cursor: "pointer",
1529
1419
  display: "flex",
@@ -1533,14 +1423,14 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1533
1423
  transition: "all 0.2s",
1534
1424
  position: "relative"
1535
1425
  },
1536
- onMouseEnter: (u) => {
1537
- s || (u.currentTarget.style.background = "var(--ikoneme-hover)");
1426
+ onMouseEnter: (p) => {
1427
+ g || (p.currentTarget.style.background = "var(--ikoneme-hover)");
1538
1428
  },
1539
- onMouseLeave: (u) => {
1540
- s || (u.currentTarget.style.background = "var(--ikoneme-surface)");
1429
+ onMouseLeave: (p) => {
1430
+ g || (p.currentTarget.style.background = "var(--ikoneme-surface)");
1541
1431
  },
1542
1432
  children: [
1543
- /* @__PURE__ */ F(
1433
+ /* @__PURE__ */ c(
1544
1434
  "div",
1545
1435
  {
1546
1436
  style: {
@@ -1550,22 +1440,22 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1550
1440
  flexShrink: 0,
1551
1441
  // Drawn at the scale of a ~160px ikon so the frame's
1552
1442
  // dash pattern stays readable in a 64px swatch.
1553
- ...Fe(n, 160)
1443
+ ...Fe(o, 160)
1554
1444
  }
1555
1445
  }
1556
1446
  ),
1557
- /* @__PURE__ */ F(
1447
+ /* @__PURE__ */ c(
1558
1448
  "span",
1559
1449
  {
1560
1450
  style: {
1561
1451
  fontSize: "11px",
1562
- color: s ? "white" : "var(--ikoneme-text-primary)",
1563
- fontWeight: s ? "600" : "400"
1452
+ color: g ? "white" : "var(--ikoneme-text-primary)",
1453
+ fontWeight: g ? "600" : "400"
1564
1454
  },
1565
- children: n.label
1455
+ children: o.label
1566
1456
  }
1567
1457
  ),
1568
- /* @__PURE__ */ F(
1458
+ /* @__PURE__ */ c(
1569
1459
  "div",
1570
1460
  {
1571
1461
  className: "ikon-tooltip",
@@ -1586,16 +1476,16 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1586
1476
  marginBottom: "8px",
1587
1477
  zIndex: 100
1588
1478
  },
1589
- children: n.label
1479
+ children: o.label
1590
1480
  }
1591
1481
  )
1592
1482
  ]
1593
1483
  },
1594
- n.id
1484
+ o.id
1595
1485
  );
1596
1486
  }) })
1597
- ] }) : c === "root" ? /* @__PURE__ */ S(oe, { children: [
1598
- /* @__PURE__ */ S(
1487
+ ] }) : n === "root" ? /* @__PURE__ */ k(ie, { children: [
1488
+ /* @__PURE__ */ k(
1599
1489
  "div",
1600
1490
  {
1601
1491
  style: {
@@ -1609,13 +1499,13 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1609
1499
  border: "1px solid var(--ikoneme-border)"
1610
1500
  },
1611
1501
  children: [
1612
- /* @__PURE__ */ F(Re, { size: 18, color: "var(--ikoneme-text-secondary)" }),
1613
- /* @__PURE__ */ F(
1502
+ /* @__PURE__ */ c(qe, { size: 18, color: "var(--ikoneme-text-secondary)" }),
1503
+ /* @__PURE__ */ c(
1614
1504
  "input",
1615
1505
  {
1616
1506
  type: "text",
1617
- value: x,
1618
- onChange: (n) => a(n.target.value),
1507
+ value: w,
1508
+ onChange: (o) => s(o.target.value),
1619
1509
  placeholder: "Search icons...",
1620
1510
  style: {
1621
1511
  flex: 1,
@@ -1630,7 +1520,7 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1630
1520
  ]
1631
1521
  }
1632
1522
  ),
1633
- f && /* @__PURE__ */ F(
1523
+ E && /* @__PURE__ */ c(
1634
1524
  "p",
1635
1525
  {
1636
1526
  style: {
@@ -1641,26 +1531,26 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1641
1531
  children: "Searching…"
1642
1532
  }
1643
1533
  ),
1644
- /* @__PURE__ */ F(
1534
+ /* @__PURE__ */ c(
1645
1535
  "div",
1646
1536
  {
1647
1537
  style: {
1648
1538
  display: "grid",
1649
- gridTemplateColumns: `repeat(${mt}, 1fr)`,
1539
+ gridTemplateColumns: `repeat(${Mt}, 1fr)`,
1650
1540
  gap: "10px"
1651
1541
  },
1652
- children: h.map((n, s) => {
1653
- const u = N(i.root) === n.url;
1654
- return /* @__PURE__ */ S(
1542
+ children: y.map((o, g) => {
1543
+ const p = xe(i.root) === o.url;
1544
+ return /* @__PURE__ */ k(
1655
1545
  "button",
1656
1546
  {
1657
- onClick: () => w(n),
1658
- title: n.name,
1547
+ onClick: () => T(o),
1548
+ title: o.name,
1659
1549
  style: {
1660
1550
  padding: "12px",
1661
- background: u ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1551
+ background: p ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1662
1552
  border: "2px solid",
1663
- borderColor: u ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)",
1553
+ borderColor: p ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)",
1664
1554
  borderRadius: "8px",
1665
1555
  cursor: "pointer",
1666
1556
  transition: "all 0.2s",
@@ -1673,14 +1563,14 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1673
1563
  minHeight: "70px",
1674
1564
  minWidth: "70px"
1675
1565
  },
1676
- onMouseEnter: (p) => {
1677
- p.currentTarget.style.transform = "scale(1.05)", u || (p.currentTarget.style.background = "var(--ikoneme-hover)");
1566
+ onMouseEnter: (u) => {
1567
+ u.currentTarget.style.transform = "scale(1.05)", p || (u.currentTarget.style.background = "var(--ikoneme-hover)");
1678
1568
  },
1679
- onMouseLeave: (p) => {
1680
- p.currentTarget.style.transform = "scale(1)", u || (p.currentTarget.style.background = "var(--ikoneme-surface)");
1569
+ onMouseLeave: (u) => {
1570
+ u.currentTarget.style.transform = "scale(1)", p || (u.currentTarget.style.background = "var(--ikoneme-surface)");
1681
1571
  },
1682
1572
  children: [
1683
- /* @__PURE__ */ F(
1573
+ /* @__PURE__ */ c(
1684
1574
  "div",
1685
1575
  {
1686
1576
  style: {
@@ -1693,11 +1583,11 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1693
1583
  justifyContent: "center",
1694
1584
  padding: "4px"
1695
1585
  },
1696
- children: /* @__PURE__ */ F(
1586
+ children: /* @__PURE__ */ c(
1697
1587
  "img",
1698
1588
  {
1699
- src: n.url,
1700
- alt: n.name,
1589
+ src: o.url,
1590
+ alt: o.name,
1701
1591
  style: {
1702
1592
  maxWidth: "100%",
1703
1593
  maxHeight: "100%",
@@ -1705,14 +1595,14 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1705
1595
  height: "100%",
1706
1596
  objectFit: "contain"
1707
1597
  },
1708
- onError: (p) => {
1709
- p.target.style.display = "none";
1598
+ onError: (u) => {
1599
+ u.target.style.display = "none";
1710
1600
  }
1711
1601
  }
1712
1602
  )
1713
1603
  }
1714
1604
  ),
1715
- /* @__PURE__ */ F(
1605
+ /* @__PURE__ */ c(
1716
1606
  "div",
1717
1607
  {
1718
1608
  className: "ikon-tooltip",
@@ -1733,123 +1623,28 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1733
1623
  marginBottom: "8px",
1734
1624
  zIndex: 100
1735
1625
  },
1736
- children: n.name
1626
+ children: o.name
1737
1627
  }
1738
1628
  )
1739
1629
  ]
1740
1630
  },
1741
- `${n.url}-${s}`
1631
+ `${o.url}-${g}`
1742
1632
  );
1743
1633
  })
1744
1634
  }
1745
1635
  )
1746
- ] }) : /* @__PURE__ */ F(
1747
- "div",
1636
+ ] }) : /* @__PURE__ */ c(
1637
+ Dt,
1748
1638
  {
1749
- style: {
1750
- display: "grid",
1751
- gridTemplateColumns: I[c].length <= 3 ? "repeat(3, 1fr)" : "repeat(auto-fit, minmax(90px, 1fr))",
1752
- gap: "10px"
1753
- },
1754
- children: I[c].map((n, s) => {
1755
- var p, y;
1756
- let u = !1;
1757
- if (c === "reference") {
1758
- const v = I.reference[0].url;
1759
- n.url === v ? u = N((p = i.reference) == null ? void 0 : p.left) === v : u = N((y = i.reference) == null ? void 0 : y.right) === n.url;
1760
- } else
1761
- u = N(i[c]) === n.url;
1762
- return /* @__PURE__ */ S(
1763
- "button",
1764
- {
1765
- onClick: () => k(c, n.url),
1766
- title: n.tooltip,
1767
- style: {
1768
- padding: "12px",
1769
- background: u ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1770
- border: "2px solid",
1771
- borderColor: u ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)",
1772
- borderRadius: "8px",
1773
- cursor: "pointer",
1774
- transition: "all 0.2s",
1775
- display: "flex",
1776
- flexDirection: "column",
1777
- alignItems: "center",
1778
- justifyContent: "center",
1779
- aspectRatio: "1",
1780
- position: "relative",
1781
- minHeight: "70px",
1782
- minWidth: "70px"
1783
- },
1784
- onMouseEnter: (v) => {
1785
- v.currentTarget.style.transform = "scale(1.05)", u || (v.currentTarget.style.background = "var(--ikoneme-hover)");
1786
- },
1787
- onMouseLeave: (v) => {
1788
- v.currentTarget.style.transform = "scale(1)", u || (v.currentTarget.style.background = "var(--ikoneme-surface)");
1789
- },
1790
- children: [
1791
- /* @__PURE__ */ F(
1792
- "div",
1793
- {
1794
- style: {
1795
- width: "100%",
1796
- height: "100%",
1797
- background: "white",
1798
- borderRadius: "4px",
1799
- display: "flex",
1800
- alignItems: "center",
1801
- justifyContent: "center",
1802
- padding: "4px"
1803
- },
1804
- children: /* @__PURE__ */ F(
1805
- "img",
1806
- {
1807
- src: n.url,
1808
- alt: n.tooltip,
1809
- style: {
1810
- maxWidth: "100%",
1811
- maxHeight: "100%",
1812
- width: "100%",
1813
- height: "100%",
1814
- objectFit: "contain"
1815
- }
1816
- }
1817
- )
1818
- }
1819
- ),
1820
- /* @__PURE__ */ F(
1821
- "div",
1822
- {
1823
- style: {
1824
- position: "absolute",
1825
- bottom: "100%",
1826
- left: "50%",
1827
- transform: "translateX(-50%)",
1828
- background: "rgba(0, 0, 0, 0.95)",
1829
- color: "white",
1830
- padding: "6px 10px",
1831
- borderRadius: "6px",
1832
- fontSize: "11px",
1833
- whiteSpace: "nowrap",
1834
- opacity: 0,
1835
- pointerEvents: "none",
1836
- transition: "opacity 0.2s",
1837
- marginBottom: "8px",
1838
- zIndex: 100
1839
- },
1840
- className: "ikon-tooltip",
1841
- children: n.tooltip
1842
- }
1843
- )
1844
- ]
1845
- },
1846
- s
1847
- );
1848
- })
1639
+ slot: i.slots[h],
1640
+ category: x,
1641
+ onCategoryChange: a,
1642
+ onPick: b,
1643
+ onClear: V
1849
1644
  }
1850
1645
  )
1851
1646
  ] }),
1852
- /* @__PURE__ */ F("style", { children: `
1647
+ /* @__PURE__ */ c("style", { children: `
1853
1648
  button:hover .ikon-tooltip {
1854
1649
  opacity: 1 !important;
1855
1650
  }
@@ -1861,9 +1656,128 @@ function wt({ ikon: e, onSave: t, onClose: r, searchRoot: l = Ue }) {
1861
1656
  }
1862
1657
  );
1863
1658
  }
1864
- function yt({ ikon: e, size: t = 320, onClose: r }) {
1659
+ function Dt({ slot: e, category: t, onCategoryChange: r, onPick: l, onClear: i }) {
1660
+ const F = ot(t);
1661
+ return /* @__PURE__ */ k("div", { style: { display: "flex", flexDirection: "column", gap: "12px" }, children: [
1662
+ /* @__PURE__ */ k("div", { style: { display: "flex", flexWrap: "wrap", gap: "8px" }, children: [
1663
+ Q.map((n) => {
1664
+ const d = n.id === t;
1665
+ return /* @__PURE__ */ c(
1666
+ "button",
1667
+ {
1668
+ onClick: () => r(n.id),
1669
+ style: {
1670
+ padding: "8px 14px",
1671
+ borderRadius: "999px",
1672
+ border: "1px solid",
1673
+ borderColor: d ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)",
1674
+ background: d ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1675
+ color: d ? "white" : "var(--ikoneme-text-primary)",
1676
+ cursor: "pointer",
1677
+ fontSize: "13px",
1678
+ fontWeight: 500
1679
+ },
1680
+ children: n.label
1681
+ },
1682
+ n.id
1683
+ );
1684
+ }),
1685
+ e && /* @__PURE__ */ c(
1686
+ "button",
1687
+ {
1688
+ onClick: i,
1689
+ style: {
1690
+ padding: "8px 14px",
1691
+ borderRadius: "999px",
1692
+ border: "1px solid rgba(220, 38, 38, 0.5)",
1693
+ background: "transparent",
1694
+ color: "#f87171",
1695
+ cursor: "pointer",
1696
+ fontSize: "13px",
1697
+ marginLeft: "auto"
1698
+ },
1699
+ children: "Clear square"
1700
+ }
1701
+ )
1702
+ ] }),
1703
+ /* @__PURE__ */ c(
1704
+ "div",
1705
+ {
1706
+ style: {
1707
+ display: "grid",
1708
+ gridTemplateColumns: "repeat(auto-fill, minmax(64px, 1fr))",
1709
+ gap: "8px"
1710
+ },
1711
+ children: F.map((n) => {
1712
+ const d = (e == null ? void 0 : e.category) === t && xe(e) === n.url;
1713
+ return /* @__PURE__ */ k(
1714
+ "button",
1715
+ {
1716
+ onClick: () => l(t, n),
1717
+ title: n.tooltip,
1718
+ style: {
1719
+ padding: "6px",
1720
+ background: d ? "var(--ikoneme-primary)" : "var(--ikoneme-surface)",
1721
+ border: "2px solid",
1722
+ borderColor: d ? "var(--ikoneme-primary-dark)" : "var(--ikoneme-border)",
1723
+ borderRadius: "8px",
1724
+ cursor: "pointer",
1725
+ display: "flex",
1726
+ flexDirection: "column",
1727
+ alignItems: "center",
1728
+ gap: "4px"
1729
+ },
1730
+ children: [
1731
+ /* @__PURE__ */ c(
1732
+ "div",
1733
+ {
1734
+ style: {
1735
+ width: "100%",
1736
+ aspectRatio: "1",
1737
+ background: "white",
1738
+ borderRadius: "4px",
1739
+ display: "flex",
1740
+ alignItems: "center",
1741
+ justifyContent: "center",
1742
+ padding: "4px",
1743
+ boxSizing: "border-box"
1744
+ },
1745
+ children: /* @__PURE__ */ c(
1746
+ "img",
1747
+ {
1748
+ src: n.url,
1749
+ alt: n.tooltip,
1750
+ style: { maxWidth: "100%", maxHeight: "100%", objectFit: "contain" }
1751
+ }
1752
+ )
1753
+ }
1754
+ ),
1755
+ /* @__PURE__ */ c(
1756
+ "span",
1757
+ {
1758
+ style: {
1759
+ fontSize: "10px",
1760
+ color: d ? "white" : "var(--ikoneme-text-secondary)",
1761
+ maxWidth: "100%",
1762
+ overflow: "hidden",
1763
+ textOverflow: "ellipsis",
1764
+ whiteSpace: "nowrap"
1765
+ },
1766
+ children: n.tooltip
1767
+ }
1768
+ )
1769
+ ]
1770
+ },
1771
+ n.url
1772
+ );
1773
+ })
1774
+ }
1775
+ )
1776
+ ] });
1777
+ }
1778
+ function Nt({ ikon: e, size: t = 320, onClose: r }) {
1865
1779
  const l = typeof window < "u" ? Math.max(120, Math.min(t, window.innerWidth - 48, window.innerHeight - 156)) : t;
1866
- return /* @__PURE__ */ F(
1780
+ return /* @__PURE__ */ c(
1867
1781
  "div",
1868
1782
  {
1869
1783
  role: "dialog",
@@ -1880,7 +1794,7 @@ function yt({ ikon: e, size: t = 320, onClose: r }) {
1880
1794
  zIndex: 1e3,
1881
1795
  padding: "24px"
1882
1796
  },
1883
- children: /* @__PURE__ */ S(
1797
+ children: /* @__PURE__ */ k(
1884
1798
  "div",
1885
1799
  {
1886
1800
  onClick: (i) => i.stopPropagation(),
@@ -1892,8 +1806,8 @@ function yt({ ikon: e, size: t = 320, onClose: r }) {
1892
1806
  maxWidth: "100%"
1893
1807
  },
1894
1808
  children: [
1895
- /* @__PURE__ */ F(ge, { ikon: e, size: l }),
1896
- /* @__PURE__ */ F(
1809
+ /* @__PURE__ */ c(fe, { ikon: e, size: l }),
1810
+ /* @__PURE__ */ c(
1897
1811
  "button",
1898
1812
  {
1899
1813
  onClick: r,
@@ -1911,7 +1825,7 @@ function yt({ ikon: e, size: t = 320, onClose: r }) {
1911
1825
  },
1912
1826
  title: "Close",
1913
1827
  "aria-label": "Close",
1914
- children: /* @__PURE__ */ F(Ke, { size: 20 })
1828
+ children: /* @__PURE__ */ c(Xe, { size: 20 })
1915
1829
  }
1916
1830
  )
1917
1831
  ]
@@ -1920,7 +1834,7 @@ function yt({ ikon: e, size: t = 320, onClose: r }) {
1920
1834
  }
1921
1835
  );
1922
1836
  }
1923
- const vt = {
1837
+ const Gt = {
1924
1838
  "--ikoneme-primary": "#00a884",
1925
1839
  "--ikoneme-primary-dark": "#008069",
1926
1840
  "--ikoneme-background": "#0c0e12",
@@ -1931,28 +1845,28 @@ const vt = {
1931
1845
  "--ikoneme-text-secondary": "#8696a0",
1932
1846
  "--ikoneme-hover": "#2a2e36"
1933
1847
  };
1934
- function Ot({
1848
+ function Xt({
1935
1849
  ikons: e = [],
1936
1850
  mode: t = "view",
1937
1851
  size: r = 64,
1938
1852
  gap: l = 6,
1939
1853
  zoom: i = !0,
1940
- zoomSize: o = 320,
1941
- onChange: c,
1942
- onIkonClick: g,
1854
+ zoomSize: F = 320,
1855
+ onChange: n,
1856
+ onIkonClick: d,
1943
1857
  searchRoot: x,
1944
1858
  theme: a,
1945
1859
  className: h,
1946
- style: m
1860
+ style: w
1947
1861
  }) {
1948
- const [f, C] = G(null), [k, E] = G(null), b = t === "edit", w = (p) => {
1949
- c && c(e.filter((y, v) => v !== p));
1950
- }, B = (p) => {
1951
- f != null && c && c(e.map((y, v) => v === f ? p : y)), C(null);
1952
- }, n = (p, y) => {
1953
- !b && g && g(p, y), i && E(y);
1954
- }, s = { ...vt, ...a }, u = i || !b && !!g;
1955
- return /* @__PURE__ */ S(
1862
+ const [s, y] = M(null), [v, E] = M(null), m = t === "edit", b = (S) => {
1863
+ n && n(e.filter((o, g) => g !== S));
1864
+ }, V = (S) => {
1865
+ s != null && n && n(e.map((o, g) => g === s ? S : o)), y(null);
1866
+ }, C = (S, o) => {
1867
+ !m && d && d(S, o), i && E(o);
1868
+ }, _ = { ...Gt, ...a }, T = i || !m && !!d;
1869
+ return /* @__PURE__ */ k(
1956
1870
  "div",
1957
1871
  {
1958
1872
  className: ["ikoneme", h].filter(Boolean).join(" "),
@@ -1961,35 +1875,35 @@ function Ot({
1961
1875
  flexWrap: "wrap",
1962
1876
  alignItems: "center",
1963
1877
  gap: `${l}px`,
1964
- ...s,
1965
- ...m
1878
+ ..._,
1879
+ ...w
1966
1880
  },
1967
1881
  children: [
1968
- e.map((p, y) => /* @__PURE__ */ F(
1969
- ge,
1882
+ e.map((S, o) => /* @__PURE__ */ c(
1883
+ fe,
1970
1884
  {
1971
- ikon: p,
1885
+ ikon: S,
1972
1886
  size: r,
1973
- onClick: u ? () => n(p, y) : void 0,
1974
- onEdit: b ? () => C(y) : void 0,
1975
- onDelete: b && c ? () => w(y) : void 0
1887
+ onClick: T ? () => C(S, o) : void 0,
1888
+ onEdit: m ? () => y(o) : void 0,
1889
+ onDelete: m && n ? () => b(o) : void 0
1976
1890
  },
1977
- y
1891
+ o
1978
1892
  )),
1979
- b && f != null && e[f] && /* @__PURE__ */ F("div", { style: s, children: /* @__PURE__ */ F(
1980
- wt,
1893
+ m && s != null && e[s] && /* @__PURE__ */ c("div", { style: _, children: /* @__PURE__ */ c(
1894
+ Ot,
1981
1895
  {
1982
- ikon: e[f],
1896
+ ikon: e[s],
1983
1897
  searchRoot: x,
1984
- onSave: B,
1985
- onClose: () => C(null)
1898
+ onSave: V,
1899
+ onClose: () => y(null)
1986
1900
  }
1987
1901
  ) }),
1988
- i && k != null && e[k] && /* @__PURE__ */ F("div", { style: s, children: /* @__PURE__ */ F(
1989
- yt,
1902
+ i && v != null && e[v] && /* @__PURE__ */ c("div", { style: _, children: /* @__PURE__ */ c(
1903
+ Nt,
1990
1904
  {
1991
- ikon: e[k],
1992
- size: o,
1905
+ ikon: e[v],
1906
+ size: F,
1993
1907
  onClose: () => E(null)
1994
1908
  }
1995
1909
  ) })
@@ -1997,162 +1911,141 @@ function Ot({
1997
1911
  }
1998
1912
  );
1999
1913
  }
2000
- const bt = {
2001
- context: { right: !0, bottom: !0 },
2002
- reference: { right: !0, bottom: !0 },
2003
- role: { right: !1, bottom: !0 },
2004
- modes: { right: !0, bottom: !0 },
2005
- root: { right: !0, bottom: !0 },
2006
- east: { right: !1, bottom: !0 },
2007
- tenses: { right: !1, bottom: !1 }
2008
- }, Q = /* @__PURE__ */ new Map();
2009
- function se(e) {
2010
- return e ? (Q.has(e) || Q.set(
1914
+ const q = /* @__PURE__ */ new Map();
1915
+ function ae(e) {
1916
+ return e ? (q.has(e) || q.set(
2011
1917
  e,
2012
1918
  new Promise((t) => {
2013
1919
  const r = new Image();
2014
1920
  r.crossOrigin = "anonymous", r.onload = () => t(r), r.onerror = () => {
2015
- Q.delete(e), t(null);
1921
+ q.delete(e), t(null);
2016
1922
  }, r.src = e;
2017
1923
  })
2018
- ), Q.get(e)) : Promise.resolve(null);
1924
+ ), q.get(e)) : Promise.resolve(null);
2019
1925
  }
2020
- function be(e, t, r, l, i, o) {
2021
- if (!t || i <= 0 || o <= 0) return;
2022
- const c = t.naturalWidth || t.width, g = t.naturalHeight || t.height;
2023
- if (!c || !g) return;
2024
- const x = Math.min(i / c, o / g), a = c * x, h = g * x;
2025
- e.drawImage(t, r + (i - a) / 2, l + (o - h) / 2, a, h);
1926
+ function Ee(e, t, r, l, i, F) {
1927
+ if (!t || i <= 0 || F <= 0) return;
1928
+ const n = t.naturalWidth || t.width, d = t.naturalHeight || t.height;
1929
+ if (!n || !d) return;
1930
+ const x = Math.min(i / n, F / d), a = n * x, h = d * x;
1931
+ e.drawImage(t, r + (i - a) / 2, l + (F - h) / 2, a, h);
2026
1932
  }
2027
- function kt(e, t, r, l, i, o, c) {
2028
- e.save(), e.fillStyle = "#888", e.font = `${Math.max(10, Math.round(c / 12))}px sans-serif`, e.textAlign = "center", e.textBaseline = "middle", e.fillText(t, r + i / 2, l + o / 2, i), e.restore();
1933
+ function Kt(e, t, r, l, i, F, n) {
1934
+ e.save(), e.fillStyle = "#888", e.font = `${Math.max(10, Math.round(n / 12))}px sans-serif`, e.textAlign = "center", e.textBaseline = "middle", e.fillText(t, r + i / 2, l + F / 2, i), e.restore();
2029
1935
  }
2030
- function It(e, t, r, l, i, o) {
2031
- const { right: c, bottom: g } = bt[t];
2032
- e.fillStyle = M, c && e.fillRect(r + i - 1, l, 1, o), g && e.fillRect(r, l + o - 1, i, 1);
1936
+ function Ce(e, t, r, l, i) {
1937
+ e.save(), e.strokeStyle = ce, e.lineWidth = 0.5, e.strokeRect(t + 0.25, r + 0.25, l - 0.5, i - 0.5), e.restore();
2033
1938
  }
2034
- async function St(e, t, r, l, i) {
2035
- const o = await se(t.image);
2036
- if (!o) return;
2037
- const c = t.plural ? 150 : 78, g = i / 78 * 2, x = document.createElement("canvas");
2038
- x.width = Math.round(c * g), x.height = Math.round(78 * g), x.getContext("2d").drawImage(o, 0, 0, x.width, x.height);
2039
- const a = 9 * g, { corner: h } = de(i), m = x.width, f = x.height, C = [
1939
+ async function Pt(e, t, r, l, i) {
1940
+ const F = await ae(t.image);
1941
+ if (!F) return;
1942
+ const n = t.plural ? 150 : 78, d = i / 78 * 2, x = document.createElement("canvas");
1943
+ x.width = Math.round(n * d), x.height = Math.round(78 * d), x.getContext("2d").drawImage(F, 0, 0, x.width, x.height);
1944
+ const a = 9 * d, { corner: h } = ge(i), w = x.width, s = x.height, y = [
2040
1945
  [0, 0, a, a, r, l, h, h],
2041
- [m - a, 0, a, a, r + i - h, l, h, h],
2042
- [0, f - a, a, a, r, l + i - h, h, h],
2043
- [m - a, f - a, a, a, r + i - h, l + i - h, h, h],
2044
- [a, 0, m - 2 * a, a, r + h, l, i - 2 * h, h],
2045
- [a, f - a, m - 2 * a, a, r + h, l + i - h, i - 2 * h, h],
2046
- [0, a, a, f - 2 * a, r, l + h, h, i - 2 * h],
2047
- [m - a, a, a, f - 2 * a, r + i - h, l + h, h, i - 2 * h]
1946
+ [w - a, 0, a, a, r + i - h, l, h, h],
1947
+ [0, s - a, a, a, r, l + i - h, h, h],
1948
+ [w - a, s - a, a, a, r + i - h, l + i - h, h, h],
1949
+ [a, 0, w - 2 * a, a, r + h, l, i - 2 * h, h],
1950
+ [a, s - a, w - 2 * a, a, r + h, l + i - h, i - 2 * h, h],
1951
+ [0, a, a, s - 2 * a, r, l + h, h, i - 2 * h],
1952
+ [w - a, a, a, s - 2 * a, r + i - h, l + h, h, i - 2 * h]
2048
1953
  ];
2049
- for (const [k, E, b, w, B, n, s, u] of C)
2050
- e.drawImage(x, k, E, b, w, B, n, s, u);
1954
+ for (const [v, E, m, b, V, C, _, T] of y)
1955
+ e.drawImage(x, v, E, m, b, V, C, _, T);
2051
1956
  }
2052
- async function Ct(e, t, r, l, i) {
2053
- var E, b;
2054
- const o = t != null && t.border ? ae(t.border) : null, c = o ? de(i).frame : 1, { framePad: g, zonePad: x, rootPad: a } = Ce(i);
2055
- e.fillStyle = "#ffffff", e.fillRect(r + c, l + c, i - 2 * c, i - 2 * c), o ? await St(e, o, r, l, i) : (e.strokeStyle = "rgba(255, 255, 255, 0.1)", e.lineWidth = 1, e.strokeRect(r + 0.5, l + 0.5, i - 1, i - 1));
2056
- const h = c + g, m = i - 2 * h, f = re(m, he).map((w) => r + h + w), C = re(m, he).map((w) => l + h + w), k = [];
2057
- for (const [
2058
- w,
2059
- {
2060
- cols: [B, n],
2061
- rows: [s, u]
2062
- }
2063
- ] of Object.entries(gt)) {
2064
- const p = f[B], y = C[s], v = f[n] - p, _ = C[u] - y;
2065
- if (e.fillStyle = K[w], e.fillRect(p, y, v, _), It(e, w, p, y, v, _), w === "reference") {
2066
- const R = re(v, Se).map((O) => p + O);
2067
- e.fillStyle = M;
2068
- for (let O = 1; O <= 3; O++) e.fillRect(R[O] - 1, y, 1, _ - 1);
2069
- [
2070
- [(E = t == null ? void 0 : t.reference) == null ? void 0 : E.left, 1],
2071
- [(b = t == null ? void 0 : t.reference) == null ? void 0 : b.right, 2]
2072
- ].forEach(([O, j]) => {
2073
- const ee = R[j] + x, te = R[j + 1] - R[j] - 2 * x;
2074
- k.push(
2075
- se(ce(O)).then(
2076
- (Z) => be(e, Z, ee, y + x, te, _ - 2 * x)
2077
- )
2078
- );
2079
- });
2080
- continue;
2081
- }
2082
- if (w === "east") continue;
2083
- const P = t == null ? void 0 : t[w], L = w === "root" ? a : x, Y = ce(P);
2084
- if (!Y) {
2085
- P != null && P.name && kt(e, P.name, p, y, v, _, i);
2086
- continue;
2087
- }
2088
- k.push(
2089
- se(Y).then(
2090
- (R) => be(e, R, p + L, y + L, v - 2 * L, _ - 2 * L)
1957
+ async function Rt(e, t, r, l, i) {
1958
+ var T;
1959
+ const F = t != null && t.border ? de(t.border) : null, n = F ? ge(i).frame : 1, { framePad: d, zonePad: x, rootPad: a } = Ne(i);
1960
+ e.fillStyle = "#ffffff", e.fillRect(r + n, l + n, i - 2 * n, i - 2 * n), F ? await Pt(e, F, r, l, i) : (e.strokeStyle = "rgba(255, 255, 255, 0.1)", e.lineWidth = 1, e.strokeRect(r + 0.5, l + 0.5, i - 1, i - 1));
1961
+ const h = n + d, w = i - 2 * h, s = Se(w, ne).map((S) => r + h + S), y = Se(w, ne).map((S) => l + h + S), v = [], E = $(t);
1962
+ Be.forEach(({ row: S, col: o }, g) => {
1963
+ const p = s[o], u = y[S], K = s[o + 1] - p, j = y[S + 1] - u, W = E[g];
1964
+ e.fillStyle = W ? Oe : Me, e.fillRect(p, u, K, j), Ce(e, p, u, K, j), W && v.push(
1965
+ ae(oe(W)).then(
1966
+ (ue) => Ee(e, ue, p + x, u + x, K - 2 * x, j - 2 * x)
2091
1967
  )
2092
1968
  );
2093
- }
2094
- await Promise.all(k);
1969
+ });
1970
+ const m = s[1], b = y[1], V = s[5] - m, C = y[5] - b;
1971
+ e.fillStyle = De, e.fillRect(m, b, V, C), Ce(e, m, b, V, C);
1972
+ const _ = oe(t == null ? void 0 : t.root);
1973
+ _ ? v.push(
1974
+ ae(_).then(
1975
+ (S) => Ee(e, S, m + a, b + a, V - 2 * a, C - 2 * a)
1976
+ )
1977
+ ) : (T = t == null ? void 0 : t.root) != null && T.name && Kt(e, t.root.name, m, b, V, C, i), await Promise.all(v);
2095
1978
  }
2096
- async function Et(e, {
1979
+ async function At(e, {
2097
1980
  size: t = 120,
2098
1981
  gap: r = 0,
2099
1982
  padding: l = 40,
2100
1983
  perRow: i = 8,
2101
- background: o = "#ffffff",
2102
- title: c = null,
2103
- titleColor: g = "#000000",
1984
+ background: F = "#ffffff",
1985
+ title: n = null,
1986
+ titleColor: d = "#000000",
2104
1987
  titleFont: x = "16px sans-serif",
2105
1988
  pixelRatio: a = 1
2106
1989
  } = {}) {
2107
- const h = e != null && e.length ? e : [], m = Math.max(1, Math.min(h.length, i)), f = Math.max(1, Math.ceil(h.length / m)), C = c ? 60 : 0, k = l * 2 + m * t + (m - 1) * r, E = l * 2 + C + f * t + (f - 1) * r, b = document.createElement("canvas");
2108
- b.width = Math.round(k * a), b.height = Math.round(E * a);
2109
- const w = b.getContext("2d");
2110
- return w.scale(a, a), w.fillStyle = o, w.fillRect(0, 0, k, E), c && (w.fillStyle = g, w.font = x, w.fillText(c, l, Math.max(16, l - 10))), await Promise.all(
2111
- h.map((B, n) => {
2112
- const s = l + n % m * (t + r), u = l + C + Math.floor(n / m) * (t + r);
2113
- return Ct(w, B, s, u, t);
1990
+ const h = e != null && e.length ? e : [], w = Math.max(1, Math.min(h.length, i)), s = Math.max(1, Math.ceil(h.length / w)), y = n ? 60 : 0, v = l * 2 + w * t + (w - 1) * r, E = l * 2 + y + s * t + (s - 1) * r, m = document.createElement("canvas");
1991
+ m.width = Math.round(v * a), m.height = Math.round(E * a);
1992
+ const b = m.getContext("2d");
1993
+ return b.scale(a, a), b.fillStyle = F, b.fillRect(0, 0, v, E), n && (b.fillStyle = d, b.font = x, b.fillText(n, l, Math.max(16, l - 10))), await Promise.all(
1994
+ h.map((V, C) => {
1995
+ const _ = l + C % w * (t + r), T = l + y + Math.floor(C / w) * (t + r);
1996
+ return Rt(b, V, _, T, t);
2114
1997
  })
2115
- ), b;
1998
+ ), m;
2116
1999
  }
2117
- async function Rt(e, t) {
2118
- const r = await Et(e, t);
2000
+ async function Qt(e, t) {
2001
+ const r = await At(e, t);
2119
2002
  return new Promise((l, i) => {
2120
2003
  r.toBlob(
2121
- (o) => o ? l(o) : i(new Error("Could not encode the PNG")),
2004
+ (F) => F ? l(F) : i(new Error("Could not encode the PNG")),
2122
2005
  "image/png"
2123
2006
  );
2124
2007
  });
2125
2008
  }
2126
2009
  export {
2127
- z as BORDER_CONFIG,
2128
- nt as BORDER_IDS,
2129
- vt as DEFAULT_THEME,
2130
- J as IKONDB_BASE_URL,
2131
- ge as Ikon,
2132
- wt as IkonEditor,
2133
- yt as IkonZoomView,
2134
- Ot as Ikoneme,
2135
- I as ZONE_CONFIG,
2136
- Mt as clearIkonDbCache,
2137
- we as createDefaultIkon,
2138
- Nt as createEmptyIkon,
2139
- Ue as defaultSearchRoot,
2140
- Ct as drawIkon,
2141
- Dt as generateIkonemeFromText,
2142
- ae as getBorderConfig,
2010
+ Z as BORDER_CONFIG,
2011
+ bt as BORDER_IDS,
2012
+ St as DEFAULT_BORDER,
2013
+ Gt as DEFAULT_THEME,
2014
+ X as IKONDB_BASE_URL,
2015
+ fe as Ikon,
2016
+ Ot as IkonEditor,
2017
+ Nt as IkonZoomView,
2018
+ Xt as Ikoneme,
2019
+ Q as SLOT_CATEGORIES,
2020
+ Ve as SLOT_COUNT,
2021
+ Be as SLOT_POSITIONS,
2022
+ D as ZONE_CONFIG,
2023
+ Ht as clearIkonDbCache,
2024
+ Yt as createDefaultIkon,
2025
+ be as createEmptyIkon,
2026
+ Ft as defaultSearchRoot,
2027
+ Rt as drawIkon,
2028
+ le as emptySlots,
2029
+ Zt as generateIkonemeFromText,
2030
+ de as getBorderConfig,
2143
2031
  Fe as getBorderImageStyle,
2144
- de as getBorderMetrics,
2145
- D as getIconConfig,
2146
- ce as getIconDisplayUrl,
2147
- N as getIconUrl,
2148
- Bt as getIconUrlByIndex,
2149
- ze as getIkonDetails,
2150
- Ae as getIkonList,
2151
- ct as normalizeIkon,
2152
- Lt as normalizeIkoneme,
2153
- Et as renderIkonemeToCanvas,
2154
- Rt as renderIkonemeToPng,
2155
- Ie as searchIkons,
2156
- Vt as searchIkonsV2
2032
+ ge as getBorderMetrics,
2033
+ ot as getCategoryIcons,
2034
+ L as getIconConfig,
2035
+ oe as getIconDisplayUrl,
2036
+ xe as getIconUrl,
2037
+ Ut as getIconUrlByIndex,
2038
+ lt as getIkonDetails,
2039
+ tt as getIkonList,
2040
+ zt as getSlotCategory,
2041
+ se as legacyZonesFromSlots,
2042
+ It as normalizeIkon,
2043
+ qt as normalizeIkoneme,
2044
+ At as renderIkonemeToCanvas,
2045
+ Qt as renderIkonemeToPng,
2046
+ Te as searchIkons,
2047
+ Wt as searchIkonsV2,
2048
+ ve as setSlot,
2049
+ $ as slotsOf
2157
2050
  };
2158
2051
  //# sourceMappingURL=ikoneme-lib.js.map