@prozilla-os/file-explorer 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,3799 +1,321 @@
1
- import { utilStyles as $t, VirtualFile as _a, useSystemManager as Xn, WindowedModal as Ca, ImagePreview as nn, StorageManager as an, useVirtualRoot as Ia, useWindowsManager as Na, useHistory as Ma, useAlert as Ra, useWindowedModal as La, useContextMenu as rn, Actions as on, ClickAction as Ce, Vector2 as We, Divider as ja, VirtualRoot as sn, DialogBox as fn, ModalsConfig as cn, DirectoryList as za, CODE_EXTENSIONS as Da, App as Fa, AppsConfig as $a } from "@prozilla-os/core";
2
- import { jsxs as V, jsx as E } from "react/jsx-runtime";
3
- import Kn, { useState as dt, useCallback as Ya, useEffect as ln } from "react";
4
- import './assets/main.css';const Ha = "_FileExplorer_10w0u_1", Ua = "_Header_10w0u_25", Wa = "_IconButton_10w0u_45", Ba = "_PathInput_10w0u_137", Va = "_Body_10w0u_159", qa = "_Sidebar_10w0u_175", Ga = "_NavButton_10w0u_203", Xa = "_Main_10w0u_249", Ka = "_Footer_10w0u_277", Ja = "_Selector_10w0u_315", G = {
5
- FileExplorer: Ha,
6
- Header: Ua,
7
- IconButton: Wa,
8
- PathInput: Ba,
9
- Body: Va,
10
- Sidebar: qa,
11
- NavButton: Ga,
12
- Main: Xa,
13
- Footer: Ka,
14
- Selector: Ja
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('._FileExplorer_10w0u_1{--header-height: 3.5rem;--sidebar-width: 10rem;--footer-height: 1.75rem;--scale: 1.15rem;display:flex;flex-direction:column;width:100%;height:100%}._Header_10w0u_25{display:flex;gap:1rem;align-items:center;width:100%;height:var(--header-height);padding:1rem;background-color:var(--background-color-0)}._IconButton_10w0u_45{--color: var(--foreground-color-0);position:relative;height:1.25rem;width:auto;padding:0;background:none;border:none;outline:none;aspect-ratio:1;cursor:pointer}._IconButton_10w0u_45:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff0;border-radius:var(--border-radius-99);transform:scale(1);transform-origin:center;transition:all .2s ease-in-out}._IconButton_10w0u_45:hover:after,._IconButton_10w0u_45:focus-visible:after{background-color:#ffffff1a;transform:scale(1.5)}._IconButton_10w0u_45:disabled{--color: var(--background-color-1)}._IconButton_10w0u_45 svg{height:100%}._IconButton_10w0u_45 svg path{fill:var(--color);transition:fill .1s ease-in-out}._PathInput_10w0u_137{flex:1;padding:.25rem .5rem;background-color:var(--background-color-2);border:none;border-radius:var(--border-radius-1);outline:none;font-family:inherit;font-size:inherit}._Body_10w0u_159{flex:1;display:flex;width:100%;height:calc(100% - var(--header-height));background-color:var(--background-color-2)}._Sidebar_10w0u_175{display:flex;gap:.25rem;flex-direction:column;min-width:calc(var(--sidebar-width) / 2);width:var(--sidebar-width);height:100%;max-width:50%;padding:.5rem;background-color:var(--background-color-1);resize:horizontal;overflow:hidden}._NavButton_10w0u_203{display:flex;gap:.5rem;align-items:center;width:100%;padding:.5rem;background:none;border:none;border-radius:var(--border-radius-1);outline:none;cursor:pointer;transition:background-color .1s ease-in-out}._NavButton_10w0u_203:hover,._NavButton_10w0u_203:focus-visible{background-color:color-mix(in srgb,var(--background-color-0) 75%,transparent)}._NavButton_10w0u_203 svg{height:1.35rem;aspect-ratio:1}._Main_10w0u_249{--scale: inherit !important;position:relative;flex:1;display:flex;flex-wrap:wrap;align-content:flex-start;height:100%;padding:.5rem;padding-bottom:calc(.5rem + var(--footer-height));overflow:auto}._Footer_10w0u_277{position:absolute;display:flex;justify-content:flex-start;align-items:center;bottom:0;left:0;width:100%;height:var(--footer-height);padding:0 .75rem;border-top:.25rem solid var(--background-color-0);background-color:var(--background-color-2)}._Footer_10w0u_277 p{margin:0;font-size:.875em}._Selector_10w0u_315{--footer-height: 4rem}._FileProperties_s5har_1{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:1rem}._Icon_s5har_17{width:3rem;height:3rem}._Icon_s5har_17 div{width:inherit;height:inherit;object-fit:contain}._Icon_s5har_17 svg{max-width:100%;max-height:100%}._Section_s5har_49{--divider-width: .25rem;position:relative;display:flex;gap:.25rem;justify-content:flex-start;align-items:flex-start;flex-direction:column;width:100%;padding:1rem 0;padding-bottom:calc(1rem + var(--divider-width))}._Section_s5har_49:first-child{gap:.5rem;align-items:center;flex-direction:row;padding-top:0}._Section_s5har_49:first-child ._Line_s5har_91{font-size:1.25rem}._Section_s5har_49:not(:last-child):after{content:"";position:absolute;bottom:0;left:0;width:100%;height:var(--divider-width);border-radius:var(--border-radius-0);background-color:var(--background-color-0)}._Line_s5har_91{margin:0;text-align:left;padding-left:2rem;text-indent:-2rem}._AppIcon_s5har_135{display:inline-block;width:2rem;height:2rem;vertical-align:middle;margin-left:.5rem;margin-right:.25rem}._AppIcon_s5har_135 div{position:relative;width:inherit;height:inherit;object-fit:contain}._AppIcon_s5har_135 svg{position:absolute;top:0;left:0;max-width:100%;max-height:100%}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { utilStyles as P, VirtualFile as te, useSystemManager as G, WindowedModal as ne, ImagePreview as O, StorageManager as D, useVirtualRoot as oe, useWindowsManager as re, useHistory as se, useAlert as ie, useWindowedModal as ae, useContextMenu as M, Actions as F, ClickAction as x, Vector2 as f, Divider as le, VirtualRoot as U, DialogBox as $, ModalsConfig as z, DirectoryList as ce, CODE_EXTENSIONS as de, App as ue, AppsConfig as pe } from "@prozilla-os/core";
3
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
4
+ import { useState as S, useCallback as me, useEffect as H } from "react";
5
+ import { FontAwesomeIcon as m } from "@fortawesome/react-fontawesome";
6
+ import { faDownload as he, faTrash as V, faCircleInfo as Ne, faCaretLeft as _e, faCaretRight as Ie, faArrowUp as ge, faPlus as xe, faSearch as Ee, faCog as fe, faHouse as be, faDesktop as ye, faImage as we, faFileLines as Ce } from "@fortawesome/free-solid-svg-icons";
7
+ const Be = "_FileExplorer_10w0u_1", ve = "_Header_10w0u_25", Ae = "_IconButton_10w0u_45", Se = "_PathInput_10w0u_137", Pe = "_Body_10w0u_159", Le = "_Sidebar_10w0u_175", Te = "_NavButton_10w0u_203", ke = "_Main_10w0u_249", Oe = "_Footer_10w0u_277", De = "_Selector_10w0u_315", l = {
8
+ FileExplorer: Be,
9
+ Header: ve,
10
+ IconButton: Ae,
11
+ PathInput: Se,
12
+ Body: Pe,
13
+ Sidebar: Le,
14
+ NavButton: Te,
15
+ Main: ke,
16
+ Footer: Oe,
17
+ Selector: De
15
18
  };
16
- function un(e, t) {
17
- var n = Object.keys(e);
18
- if (Object.getOwnPropertySymbols) {
19
- var a = Object.getOwnPropertySymbols(e);
20
- t && (a = a.filter(function(r) {
21
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
22
- })), n.push.apply(n, a);
23
- }
24
- return n;
25
- }
26
- function p(e) {
27
- for (var t = 1; t < arguments.length; t++) {
28
- var n = arguments[t] != null ? arguments[t] : {};
29
- t % 2 ? un(Object(n), !0).forEach(function(a) {
30
- q(e, a, n[a]);
31
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : un(Object(n)).forEach(function(a) {
32
- Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
33
- });
34
- }
35
- return e;
36
- }
37
- function rt(e) {
38
- "@babel/helpers - typeof";
39
- return rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
40
- return typeof t;
41
- } : function(t) {
42
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
43
- }, rt(e);
44
- }
45
- function Qa(e, t) {
46
- if (!(e instanceof t))
47
- throw new TypeError("Cannot call a class as a function");
48
- }
49
- function Za(e, t) {
50
- for (var n = 0; n < t.length; n++) {
51
- var a = t[n];
52
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a);
53
- }
54
- }
55
- function er(e, t, n) {
56
- return t && Za(e.prototype, t), Object.defineProperty(e, "prototype", {
57
- writable: !1
58
- }), e;
59
- }
60
- function q(e, t, n) {
61
- return t in e ? Object.defineProperty(e, t, {
62
- value: n,
63
- enumerable: !0,
64
- configurable: !0,
65
- writable: !0
66
- }) : e[t] = n, e;
67
- }
68
- function Yt(e, t) {
69
- return nr(e) || rr(e, t) || Jn(e, t) || or();
70
- }
71
- function Fe(e) {
72
- return tr(e) || ar(e) || Jn(e) || ir();
73
- }
74
- function tr(e) {
75
- if (Array.isArray(e)) return Ot(e);
76
- }
77
- function nr(e) {
78
- if (Array.isArray(e)) return e;
79
- }
80
- function ar(e) {
81
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
82
- }
83
- function rr(e, t) {
84
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
85
- if (n != null) {
86
- var a = [], r = !0, i = !1, o, s;
87
- try {
88
- for (n = n.call(e); !(r = (o = n.next()).done) && (a.push(o.value), !(t && a.length === t)); r = !0)
89
- ;
90
- } catch (f) {
91
- i = !0, s = f;
92
- } finally {
93
- try {
94
- !r && n.return != null && n.return();
95
- } finally {
96
- if (i) throw s;
97
- }
98
- }
99
- return a;
100
- }
101
- }
102
- function Jn(e, t) {
103
- if (e) {
104
- if (typeof e == "string") return Ot(e, t);
105
- var n = Object.prototype.toString.call(e).slice(8, -1);
106
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
107
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ot(e, t);
108
- }
109
- }
110
- function Ot(e, t) {
111
- (t == null || t > e.length) && (t = e.length);
112
- for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
113
- return a;
114
- }
115
- function ir() {
116
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
117
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
118
- }
119
- function or() {
120
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
121
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
122
- }
123
- var mn = function() {
124
- }, Ht = {}, Qn = {}, Zn = null, ea = {
125
- mark: mn,
126
- measure: mn
127
- };
128
- try {
129
- typeof window < "u" && (Ht = window), typeof document < "u" && (Qn = document), typeof MutationObserver < "u" && (Zn = MutationObserver), typeof performance < "u" && (ea = performance);
130
- } catch {
131
- }
132
- var sr = Ht.navigator || {}, dn = sr.userAgent, vn = dn === void 0 ? "" : dn, ve = Ht, W = Qn, pn = Zn, Be = ea;
133
- ve.document;
134
- var me = !!W.documentElement && !!W.head && typeof W.addEventListener == "function" && typeof W.createElement == "function", ta = ~vn.indexOf("MSIE") || ~vn.indexOf("Trident/"), Ve, qe, Ge, Xe, Ke, ce = "___FONT_AWESOME___", St = 16, na = "fa", aa = "svg-inline--fa", xe = "data-fa-i2svg", Pt = "data-fa-pseudo-element", fr = "data-fa-pseudo-element-pending", Ut = "data-prefix", Wt = "data-icon", bn = "fontawesome-i2svg", cr = "async", lr = ["HTML", "HEAD", "STYLE", "SCRIPT"], ra = function() {
135
- try {
136
- return process.env.NODE_ENV === "production";
137
- } catch {
138
- return !1;
139
- }
140
- }(), U = "classic", B = "sharp", Bt = [U, B];
141
- function $e(e) {
142
- return new Proxy(e, {
143
- get: function(n, a) {
144
- return a in n ? n[a] : n[U];
145
- }
146
- });
147
- }
148
- var Re = $e((Ve = {}, q(Ve, U, {
149
- fa: "solid",
150
- fas: "solid",
151
- "fa-solid": "solid",
152
- far: "regular",
153
- "fa-regular": "regular",
154
- fal: "light",
155
- "fa-light": "light",
156
- fat: "thin",
157
- "fa-thin": "thin",
158
- fad: "duotone",
159
- "fa-duotone": "duotone",
160
- fab: "brands",
161
- "fa-brands": "brands",
162
- fak: "kit",
163
- fakd: "kit",
164
- "fa-kit": "kit",
165
- "fa-kit-duotone": "kit"
166
- }), q(Ve, B, {
167
- fa: "solid",
168
- fass: "solid",
169
- "fa-solid": "solid",
170
- fasr: "regular",
171
- "fa-regular": "regular",
172
- fasl: "light",
173
- "fa-light": "light",
174
- fast: "thin",
175
- "fa-thin": "thin"
176
- }), Ve)), Le = $e((qe = {}, q(qe, U, {
177
- solid: "fas",
178
- regular: "far",
179
- light: "fal",
180
- thin: "fat",
181
- duotone: "fad",
182
- brands: "fab",
183
- kit: "fak"
184
- }), q(qe, B, {
185
- solid: "fass",
186
- regular: "fasr",
187
- light: "fasl",
188
- thin: "fast"
189
- }), qe)), je = $e((Ge = {}, q(Ge, U, {
190
- fab: "fa-brands",
191
- fad: "fa-duotone",
192
- fak: "fa-kit",
193
- fal: "fa-light",
194
- far: "fa-regular",
195
- fas: "fa-solid",
196
- fat: "fa-thin"
197
- }), q(Ge, B, {
198
- fass: "fa-solid",
199
- fasr: "fa-regular",
200
- fasl: "fa-light",
201
- fast: "fa-thin"
202
- }), Ge)), ur = $e((Xe = {}, q(Xe, U, {
203
- "fa-brands": "fab",
204
- "fa-duotone": "fad",
205
- "fa-kit": "fak",
206
- "fa-light": "fal",
207
- "fa-regular": "far",
208
- "fa-solid": "fas",
209
- "fa-thin": "fat"
210
- }), q(Xe, B, {
211
- "fa-solid": "fass",
212
- "fa-regular": "fasr",
213
- "fa-light": "fasl",
214
- "fa-thin": "fast"
215
- }), Xe)), mr = /fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/, ia = "fa-layers-text", dr = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i, vr = $e((Ke = {}, q(Ke, U, {
216
- 900: "fas",
217
- 400: "far",
218
- normal: "far",
219
- 300: "fal",
220
- 100: "fat"
221
- }), q(Ke, B, {
222
- 900: "fass",
223
- 400: "fasr",
224
- 300: "fasl",
225
- 100: "fast"
226
- }), Ke)), oa = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], pr = oa.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), br = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ye = {
227
- GROUP: "duotone-group",
228
- SWAP_OPACITY: "swap-opacity",
229
- PRIMARY: "primary",
230
- SECONDARY: "secondary"
231
- }, ze = /* @__PURE__ */ new Set();
232
- Object.keys(Le[U]).map(ze.add.bind(ze));
233
- Object.keys(Le[B]).map(ze.add.bind(ze));
234
- var gr = [].concat(Bt, Fe(ze), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", ye.GROUP, ye.SWAP_OPACITY, ye.PRIMARY, ye.SECONDARY]).concat(oa.map(function(e) {
235
- return "".concat(e, "x");
236
- })).concat(pr.map(function(e) {
237
- return "w-".concat(e);
238
- })), Ne = ve.FontAwesomeConfig || {};
239
- function yr(e) {
240
- var t = W.querySelector("script[" + e + "]");
241
- if (t)
242
- return t.getAttribute(e);
243
- }
244
- function hr(e) {
245
- return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
246
- }
247
- if (W && typeof W.querySelector == "function") {
248
- var xr = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
249
- xr.forEach(function(e) {
250
- var t = Yt(e, 2), n = t[0], a = t[1], r = hr(yr(n));
251
- r != null && (Ne[a] = r);
252
- });
253
- }
254
- var sa = {
255
- styleDefault: "solid",
256
- familyDefault: "classic",
257
- cssPrefix: na,
258
- replacementClass: aa,
259
- autoReplaceSvg: !0,
260
- autoAddCss: !0,
261
- autoA11y: !0,
262
- searchPseudoElements: !1,
263
- observeMutations: !0,
264
- mutateApproach: "async",
265
- keepOriginalSource: !0,
266
- measurePerformance: !1,
267
- showMissingIcons: !0
268
- };
269
- Ne.familyPrefix && (Ne.cssPrefix = Ne.familyPrefix);
270
- var Pe = p(p({}, sa), Ne);
271
- Pe.autoReplaceSvg || (Pe.observeMutations = !1);
272
- var y = {};
273
- Object.keys(sa).forEach(function(e) {
274
- Object.defineProperty(y, e, {
275
- enumerable: !0,
276
- set: function(n) {
277
- Pe[e] = n, Me.forEach(function(a) {
278
- return a(y);
279
- });
280
- },
281
- get: function() {
282
- return Pe[e];
283
- }
284
- });
285
- });
286
- Object.defineProperty(y, "familyPrefix", {
287
- enumerable: !0,
288
- set: function(t) {
289
- Pe.cssPrefix = t, Me.forEach(function(n) {
290
- return n(y);
291
- });
292
- },
293
- get: function() {
294
- return Pe.cssPrefix;
295
- }
296
- });
297
- ve.FontAwesomeConfig = y;
298
- var Me = [];
299
- function wr(e) {
300
- return Me.push(e), function() {
301
- Me.splice(Me.indexOf(e), 1);
302
- };
303
- }
304
- var de = St, se = {
305
- size: 16,
306
- x: 0,
307
- y: 0,
308
- rotate: 0,
309
- flipX: !1,
310
- flipY: !1
311
- };
312
- function kr(e) {
313
- if (!(!e || !me)) {
314
- var t = W.createElement("style");
315
- t.setAttribute("type", "text/css"), t.innerHTML = e;
316
- for (var n = W.head.childNodes, a = null, r = n.length - 1; r > -1; r--) {
317
- var i = n[r], o = (i.tagName || "").toUpperCase();
318
- ["STYLE", "LINK"].indexOf(o) > -1 && (a = i);
319
- }
320
- return W.head.insertBefore(t, a), e;
321
- }
322
- }
323
- var Er = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
324
- function De() {
325
- for (var e = 12, t = ""; e-- > 0; )
326
- t += Er[Math.random() * 62 | 0];
327
- return t;
328
- }
329
- function Te(e) {
330
- for (var t = [], n = (e || []).length >>> 0; n--; )
331
- t[n] = e[n];
332
- return t;
333
- }
334
- function Vt(e) {
335
- return e.classList ? Te(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
336
- return t;
337
- });
338
- }
339
- function fa(e) {
340
- return "".concat(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
341
- }
342
- function Ar(e) {
343
- return Object.keys(e || {}).reduce(function(t, n) {
344
- return t + "".concat(n, '="').concat(fa(e[n]), '" ');
345
- }, "").trim();
346
- }
347
- function ft(e) {
348
- return Object.keys(e || {}).reduce(function(t, n) {
349
- return t + "".concat(n, ": ").concat(e[n].trim(), ";");
350
- }, "");
351
- }
352
- function qt(e) {
353
- return e.size !== se.size || e.x !== se.x || e.y !== se.y || e.rotate !== se.rotate || e.flipX || e.flipY;
354
- }
355
- function Or(e) {
356
- var t = e.transform, n = e.containerWidth, a = e.iconWidth, r = {
357
- transform: "translate(".concat(n / 2, " 256)")
358
- }, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), s = "rotate(".concat(t.rotate, " 0 0)"), f = {
359
- transform: "".concat(i, " ").concat(o, " ").concat(s)
360
- }, l = {
361
- transform: "translate(".concat(a / 2 * -1, " -256)")
362
- };
363
- return {
364
- outer: r,
365
- inner: f,
366
- path: l
367
- };
368
- }
369
- function Sr(e) {
370
- var t = e.transform, n = e.width, a = n === void 0 ? St : n, r = e.height, i = r === void 0 ? St : r, o = e.startCentered, s = o === void 0 ? !1 : o, f = "";
371
- return s && ta ? f += "translate(".concat(t.x / de - a / 2, "em, ").concat(t.y / de - i / 2, "em) ") : s ? f += "translate(calc(-50% + ".concat(t.x / de, "em), calc(-50% + ").concat(t.y / de, "em)) ") : f += "translate(".concat(t.x / de, "em, ").concat(t.y / de, "em) "), f += "scale(".concat(t.size / de * (t.flipX ? -1 : 1), ", ").concat(t.size / de * (t.flipY ? -1 : 1), ") "), f += "rotate(".concat(t.rotate, "deg) "), f;
372
- }
373
- var Pr = `:root, :host {
374
- --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
375
- --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
376
- --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
377
- --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
378
- --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
379
- --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
380
- --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
381
- --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
382
- --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
383
- --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
384
- }
385
-
386
- svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
387
- overflow: visible;
388
- box-sizing: content-box;
389
- }
390
-
391
- .svg-inline--fa {
392
- display: var(--fa-display, inline-block);
393
- height: 1em;
394
- overflow: visible;
395
- vertical-align: -0.125em;
396
- }
397
- .svg-inline--fa.fa-2xs {
398
- vertical-align: 0.1em;
399
- }
400
- .svg-inline--fa.fa-xs {
401
- vertical-align: 0em;
402
- }
403
- .svg-inline--fa.fa-sm {
404
- vertical-align: -0.0714285705em;
405
- }
406
- .svg-inline--fa.fa-lg {
407
- vertical-align: -0.2em;
408
- }
409
- .svg-inline--fa.fa-xl {
410
- vertical-align: -0.25em;
411
- }
412
- .svg-inline--fa.fa-2xl {
413
- vertical-align: -0.3125em;
414
- }
415
- .svg-inline--fa.fa-pull-left {
416
- margin-right: var(--fa-pull-margin, 0.3em);
417
- width: auto;
418
- }
419
- .svg-inline--fa.fa-pull-right {
420
- margin-left: var(--fa-pull-margin, 0.3em);
421
- width: auto;
422
- }
423
- .svg-inline--fa.fa-li {
424
- width: var(--fa-li-width, 2em);
425
- top: 0.25em;
426
- }
427
- .svg-inline--fa.fa-fw {
428
- width: var(--fa-fw-width, 1.25em);
429
- }
430
-
431
- .fa-layers svg.svg-inline--fa {
432
- bottom: 0;
433
- left: 0;
434
- margin: auto;
435
- position: absolute;
436
- right: 0;
437
- top: 0;
438
- }
439
-
440
- .fa-layers-counter, .fa-layers-text {
441
- display: inline-block;
442
- position: absolute;
443
- text-align: center;
444
- }
445
-
446
- .fa-layers {
447
- display: inline-block;
448
- height: 1em;
449
- position: relative;
450
- text-align: center;
451
- vertical-align: -0.125em;
452
- width: 1em;
453
- }
454
- .fa-layers svg.svg-inline--fa {
455
- -webkit-transform-origin: center center;
456
- transform-origin: center center;
457
- }
458
-
459
- .fa-layers-text {
460
- left: 50%;
461
- top: 50%;
462
- -webkit-transform: translate(-50%, -50%);
463
- transform: translate(-50%, -50%);
464
- -webkit-transform-origin: center center;
465
- transform-origin: center center;
466
- }
467
-
468
- .fa-layers-counter {
469
- background-color: var(--fa-counter-background-color, #ff253a);
470
- border-radius: var(--fa-counter-border-radius, 1em);
471
- box-sizing: border-box;
472
- color: var(--fa-inverse, #fff);
473
- line-height: var(--fa-counter-line-height, 1);
474
- max-width: var(--fa-counter-max-width, 5em);
475
- min-width: var(--fa-counter-min-width, 1.5em);
476
- overflow: hidden;
477
- padding: var(--fa-counter-padding, 0.25em 0.5em);
478
- right: var(--fa-right, 0);
479
- text-overflow: ellipsis;
480
- top: var(--fa-top, 0);
481
- -webkit-transform: scale(var(--fa-counter-scale, 0.25));
482
- transform: scale(var(--fa-counter-scale, 0.25));
483
- -webkit-transform-origin: top right;
484
- transform-origin: top right;
485
- }
486
-
487
- .fa-layers-bottom-right {
488
- bottom: var(--fa-bottom, 0);
489
- right: var(--fa-right, 0);
490
- top: auto;
491
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
492
- transform: scale(var(--fa-layers-scale, 0.25));
493
- -webkit-transform-origin: bottom right;
494
- transform-origin: bottom right;
495
- }
496
-
497
- .fa-layers-bottom-left {
498
- bottom: var(--fa-bottom, 0);
499
- left: var(--fa-left, 0);
500
- right: auto;
501
- top: auto;
502
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
503
- transform: scale(var(--fa-layers-scale, 0.25));
504
- -webkit-transform-origin: bottom left;
505
- transform-origin: bottom left;
506
- }
507
-
508
- .fa-layers-top-right {
509
- top: var(--fa-top, 0);
510
- right: var(--fa-right, 0);
511
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
512
- transform: scale(var(--fa-layers-scale, 0.25));
513
- -webkit-transform-origin: top right;
514
- transform-origin: top right;
515
- }
516
-
517
- .fa-layers-top-left {
518
- left: var(--fa-left, 0);
519
- right: auto;
520
- top: var(--fa-top, 0);
521
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
522
- transform: scale(var(--fa-layers-scale, 0.25));
523
- -webkit-transform-origin: top left;
524
- transform-origin: top left;
525
- }
526
-
527
- .fa-1x {
528
- font-size: 1em;
529
- }
530
-
531
- .fa-2x {
532
- font-size: 2em;
533
- }
534
-
535
- .fa-3x {
536
- font-size: 3em;
537
- }
538
-
539
- .fa-4x {
540
- font-size: 4em;
541
- }
542
-
543
- .fa-5x {
544
- font-size: 5em;
545
- }
546
-
547
- .fa-6x {
548
- font-size: 6em;
549
- }
550
-
551
- .fa-7x {
552
- font-size: 7em;
553
- }
554
-
555
- .fa-8x {
556
- font-size: 8em;
557
- }
558
-
559
- .fa-9x {
560
- font-size: 9em;
561
- }
562
-
563
- .fa-10x {
564
- font-size: 10em;
565
- }
566
-
567
- .fa-2xs {
568
- font-size: 0.625em;
569
- line-height: 0.1em;
570
- vertical-align: 0.225em;
571
- }
572
-
573
- .fa-xs {
574
- font-size: 0.75em;
575
- line-height: 0.0833333337em;
576
- vertical-align: 0.125em;
577
- }
578
-
579
- .fa-sm {
580
- font-size: 0.875em;
581
- line-height: 0.0714285718em;
582
- vertical-align: 0.0535714295em;
583
- }
584
-
585
- .fa-lg {
586
- font-size: 1.25em;
587
- line-height: 0.05em;
588
- vertical-align: -0.075em;
589
- }
590
-
591
- .fa-xl {
592
- font-size: 1.5em;
593
- line-height: 0.0416666682em;
594
- vertical-align: -0.125em;
595
- }
596
-
597
- .fa-2xl {
598
- font-size: 2em;
599
- line-height: 0.03125em;
600
- vertical-align: -0.1875em;
601
- }
602
-
603
- .fa-fw {
604
- text-align: center;
605
- width: 1.25em;
606
- }
607
-
608
- .fa-ul {
609
- list-style-type: none;
610
- margin-left: var(--fa-li-margin, 2.5em);
611
- padding-left: 0;
612
- }
613
- .fa-ul > li {
614
- position: relative;
615
- }
616
-
617
- .fa-li {
618
- left: calc(var(--fa-li-width, 2em) * -1);
619
- position: absolute;
620
- text-align: center;
621
- width: var(--fa-li-width, 2em);
622
- line-height: inherit;
623
- }
624
-
625
- .fa-border {
626
- border-color: var(--fa-border-color, #eee);
627
- border-radius: var(--fa-border-radius, 0.1em);
628
- border-style: var(--fa-border-style, solid);
629
- border-width: var(--fa-border-width, 0.08em);
630
- padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
631
- }
632
-
633
- .fa-pull-left {
634
- float: left;
635
- margin-right: var(--fa-pull-margin, 0.3em);
636
- }
637
-
638
- .fa-pull-right {
639
- float: right;
640
- margin-left: var(--fa-pull-margin, 0.3em);
641
- }
642
-
643
- .fa-beat {
644
- -webkit-animation-name: fa-beat;
645
- animation-name: fa-beat;
646
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
647
- animation-delay: var(--fa-animation-delay, 0s);
648
- -webkit-animation-direction: var(--fa-animation-direction, normal);
649
- animation-direction: var(--fa-animation-direction, normal);
650
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
651
- animation-duration: var(--fa-animation-duration, 1s);
652
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
653
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
654
- -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
655
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
656
- }
657
-
658
- .fa-bounce {
659
- -webkit-animation-name: fa-bounce;
660
- animation-name: fa-bounce;
661
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
662
- animation-delay: var(--fa-animation-delay, 0s);
663
- -webkit-animation-direction: var(--fa-animation-direction, normal);
664
- animation-direction: var(--fa-animation-direction, normal);
665
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
666
- animation-duration: var(--fa-animation-duration, 1s);
667
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
668
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
669
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
670
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
671
- }
672
-
673
- .fa-fade {
674
- -webkit-animation-name: fa-fade;
675
- animation-name: fa-fade;
676
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
677
- animation-delay: var(--fa-animation-delay, 0s);
678
- -webkit-animation-direction: var(--fa-animation-direction, normal);
679
- animation-direction: var(--fa-animation-direction, normal);
680
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
681
- animation-duration: var(--fa-animation-duration, 1s);
682
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
683
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
684
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
685
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
686
- }
687
-
688
- .fa-beat-fade {
689
- -webkit-animation-name: fa-beat-fade;
690
- animation-name: fa-beat-fade;
691
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
692
- animation-delay: var(--fa-animation-delay, 0s);
693
- -webkit-animation-direction: var(--fa-animation-direction, normal);
694
- animation-direction: var(--fa-animation-direction, normal);
695
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
696
- animation-duration: var(--fa-animation-duration, 1s);
697
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
698
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
699
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
700
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
701
- }
702
-
703
- .fa-flip {
704
- -webkit-animation-name: fa-flip;
705
- animation-name: fa-flip;
706
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
707
- animation-delay: var(--fa-animation-delay, 0s);
708
- -webkit-animation-direction: var(--fa-animation-direction, normal);
709
- animation-direction: var(--fa-animation-direction, normal);
710
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
711
- animation-duration: var(--fa-animation-duration, 1s);
712
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
713
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
714
- -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
715
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
716
- }
717
-
718
- .fa-shake {
719
- -webkit-animation-name: fa-shake;
720
- animation-name: fa-shake;
721
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
722
- animation-delay: var(--fa-animation-delay, 0s);
723
- -webkit-animation-direction: var(--fa-animation-direction, normal);
724
- animation-direction: var(--fa-animation-direction, normal);
725
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
726
- animation-duration: var(--fa-animation-duration, 1s);
727
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
728
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
729
- -webkit-animation-timing-function: var(--fa-animation-timing, linear);
730
- animation-timing-function: var(--fa-animation-timing, linear);
731
- }
732
-
733
- .fa-spin {
734
- -webkit-animation-name: fa-spin;
735
- animation-name: fa-spin;
736
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
737
- animation-delay: var(--fa-animation-delay, 0s);
738
- -webkit-animation-direction: var(--fa-animation-direction, normal);
739
- animation-direction: var(--fa-animation-direction, normal);
740
- -webkit-animation-duration: var(--fa-animation-duration, 2s);
741
- animation-duration: var(--fa-animation-duration, 2s);
742
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
743
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
744
- -webkit-animation-timing-function: var(--fa-animation-timing, linear);
745
- animation-timing-function: var(--fa-animation-timing, linear);
746
- }
747
-
748
- .fa-spin-reverse {
749
- --fa-animation-direction: reverse;
750
- }
751
-
752
- .fa-pulse,
753
- .fa-spin-pulse {
754
- -webkit-animation-name: fa-spin;
755
- animation-name: fa-spin;
756
- -webkit-animation-direction: var(--fa-animation-direction, normal);
757
- animation-direction: var(--fa-animation-direction, normal);
758
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
759
- animation-duration: var(--fa-animation-duration, 1s);
760
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
761
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
762
- -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
763
- animation-timing-function: var(--fa-animation-timing, steps(8));
764
- }
765
-
766
- @media (prefers-reduced-motion: reduce) {
767
- .fa-beat,
768
- .fa-bounce,
769
- .fa-fade,
770
- .fa-beat-fade,
771
- .fa-flip,
772
- .fa-pulse,
773
- .fa-shake,
774
- .fa-spin,
775
- .fa-spin-pulse {
776
- -webkit-animation-delay: -1ms;
777
- animation-delay: -1ms;
778
- -webkit-animation-duration: 1ms;
779
- animation-duration: 1ms;
780
- -webkit-animation-iteration-count: 1;
781
- animation-iteration-count: 1;
782
- -webkit-transition-delay: 0s;
783
- transition-delay: 0s;
784
- -webkit-transition-duration: 0s;
785
- transition-duration: 0s;
786
- }
787
- }
788
- @-webkit-keyframes fa-beat {
789
- 0%, 90% {
790
- -webkit-transform: scale(1);
791
- transform: scale(1);
792
- }
793
- 45% {
794
- -webkit-transform: scale(var(--fa-beat-scale, 1.25));
795
- transform: scale(var(--fa-beat-scale, 1.25));
796
- }
797
- }
798
- @keyframes fa-beat {
799
- 0%, 90% {
800
- -webkit-transform: scale(1);
801
- transform: scale(1);
802
- }
803
- 45% {
804
- -webkit-transform: scale(var(--fa-beat-scale, 1.25));
805
- transform: scale(var(--fa-beat-scale, 1.25));
806
- }
807
- }
808
- @-webkit-keyframes fa-bounce {
809
- 0% {
810
- -webkit-transform: scale(1, 1) translateY(0);
811
- transform: scale(1, 1) translateY(0);
812
- }
813
- 10% {
814
- -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
815
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
816
- }
817
- 30% {
818
- -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
819
- transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
820
- }
821
- 50% {
822
- -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
823
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
824
- }
825
- 57% {
826
- -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
827
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
828
- }
829
- 64% {
830
- -webkit-transform: scale(1, 1) translateY(0);
831
- transform: scale(1, 1) translateY(0);
832
- }
833
- 100% {
834
- -webkit-transform: scale(1, 1) translateY(0);
835
- transform: scale(1, 1) translateY(0);
836
- }
837
- }
838
- @keyframes fa-bounce {
839
- 0% {
840
- -webkit-transform: scale(1, 1) translateY(0);
841
- transform: scale(1, 1) translateY(0);
842
- }
843
- 10% {
844
- -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
845
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
846
- }
847
- 30% {
848
- -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
849
- transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
850
- }
851
- 50% {
852
- -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
853
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
854
- }
855
- 57% {
856
- -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
857
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
858
- }
859
- 64% {
860
- -webkit-transform: scale(1, 1) translateY(0);
861
- transform: scale(1, 1) translateY(0);
862
- }
863
- 100% {
864
- -webkit-transform: scale(1, 1) translateY(0);
865
- transform: scale(1, 1) translateY(0);
866
- }
867
- }
868
- @-webkit-keyframes fa-fade {
869
- 50% {
870
- opacity: var(--fa-fade-opacity, 0.4);
871
- }
872
- }
873
- @keyframes fa-fade {
874
- 50% {
875
- opacity: var(--fa-fade-opacity, 0.4);
876
- }
877
- }
878
- @-webkit-keyframes fa-beat-fade {
879
- 0%, 100% {
880
- opacity: var(--fa-beat-fade-opacity, 0.4);
881
- -webkit-transform: scale(1);
882
- transform: scale(1);
883
- }
884
- 50% {
885
- opacity: 1;
886
- -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
887
- transform: scale(var(--fa-beat-fade-scale, 1.125));
888
- }
889
- }
890
- @keyframes fa-beat-fade {
891
- 0%, 100% {
892
- opacity: var(--fa-beat-fade-opacity, 0.4);
893
- -webkit-transform: scale(1);
894
- transform: scale(1);
895
- }
896
- 50% {
897
- opacity: 1;
898
- -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
899
- transform: scale(var(--fa-beat-fade-scale, 1.125));
900
- }
901
- }
902
- @-webkit-keyframes fa-flip {
903
- 50% {
904
- -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
905
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
906
- }
907
- }
908
- @keyframes fa-flip {
909
- 50% {
910
- -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
911
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
912
- }
913
- }
914
- @-webkit-keyframes fa-shake {
915
- 0% {
916
- -webkit-transform: rotate(-15deg);
917
- transform: rotate(-15deg);
918
- }
919
- 4% {
920
- -webkit-transform: rotate(15deg);
921
- transform: rotate(15deg);
922
- }
923
- 8%, 24% {
924
- -webkit-transform: rotate(-18deg);
925
- transform: rotate(-18deg);
926
- }
927
- 12%, 28% {
928
- -webkit-transform: rotate(18deg);
929
- transform: rotate(18deg);
930
- }
931
- 16% {
932
- -webkit-transform: rotate(-22deg);
933
- transform: rotate(-22deg);
934
- }
935
- 20% {
936
- -webkit-transform: rotate(22deg);
937
- transform: rotate(22deg);
938
- }
939
- 32% {
940
- -webkit-transform: rotate(-12deg);
941
- transform: rotate(-12deg);
942
- }
943
- 36% {
944
- -webkit-transform: rotate(12deg);
945
- transform: rotate(12deg);
946
- }
947
- 40%, 100% {
948
- -webkit-transform: rotate(0deg);
949
- transform: rotate(0deg);
950
- }
951
- }
952
- @keyframes fa-shake {
953
- 0% {
954
- -webkit-transform: rotate(-15deg);
955
- transform: rotate(-15deg);
956
- }
957
- 4% {
958
- -webkit-transform: rotate(15deg);
959
- transform: rotate(15deg);
960
- }
961
- 8%, 24% {
962
- -webkit-transform: rotate(-18deg);
963
- transform: rotate(-18deg);
964
- }
965
- 12%, 28% {
966
- -webkit-transform: rotate(18deg);
967
- transform: rotate(18deg);
968
- }
969
- 16% {
970
- -webkit-transform: rotate(-22deg);
971
- transform: rotate(-22deg);
972
- }
973
- 20% {
974
- -webkit-transform: rotate(22deg);
975
- transform: rotate(22deg);
976
- }
977
- 32% {
978
- -webkit-transform: rotate(-12deg);
979
- transform: rotate(-12deg);
980
- }
981
- 36% {
982
- -webkit-transform: rotate(12deg);
983
- transform: rotate(12deg);
984
- }
985
- 40%, 100% {
986
- -webkit-transform: rotate(0deg);
987
- transform: rotate(0deg);
988
- }
989
- }
990
- @-webkit-keyframes fa-spin {
991
- 0% {
992
- -webkit-transform: rotate(0deg);
993
- transform: rotate(0deg);
994
- }
995
- 100% {
996
- -webkit-transform: rotate(360deg);
997
- transform: rotate(360deg);
998
- }
999
- }
1000
- @keyframes fa-spin {
1001
- 0% {
1002
- -webkit-transform: rotate(0deg);
1003
- transform: rotate(0deg);
1004
- }
1005
- 100% {
1006
- -webkit-transform: rotate(360deg);
1007
- transform: rotate(360deg);
1008
- }
1009
- }
1010
- .fa-rotate-90 {
1011
- -webkit-transform: rotate(90deg);
1012
- transform: rotate(90deg);
1013
- }
1014
-
1015
- .fa-rotate-180 {
1016
- -webkit-transform: rotate(180deg);
1017
- transform: rotate(180deg);
1018
- }
1019
-
1020
- .fa-rotate-270 {
1021
- -webkit-transform: rotate(270deg);
1022
- transform: rotate(270deg);
1023
- }
1024
-
1025
- .fa-flip-horizontal {
1026
- -webkit-transform: scale(-1, 1);
1027
- transform: scale(-1, 1);
1028
- }
1029
-
1030
- .fa-flip-vertical {
1031
- -webkit-transform: scale(1, -1);
1032
- transform: scale(1, -1);
1033
- }
1034
-
1035
- .fa-flip-both,
1036
- .fa-flip-horizontal.fa-flip-vertical {
1037
- -webkit-transform: scale(-1, -1);
1038
- transform: scale(-1, -1);
1039
- }
1040
-
1041
- .fa-rotate-by {
1042
- -webkit-transform: rotate(var(--fa-rotate-angle, 0));
1043
- transform: rotate(var(--fa-rotate-angle, 0));
1044
- }
1045
-
1046
- .fa-stack {
1047
- display: inline-block;
1048
- vertical-align: middle;
1049
- height: 2em;
1050
- position: relative;
1051
- width: 2.5em;
1052
- }
1053
-
1054
- .fa-stack-1x,
1055
- .fa-stack-2x {
1056
- bottom: 0;
1057
- left: 0;
1058
- margin: auto;
1059
- position: absolute;
1060
- right: 0;
1061
- top: 0;
1062
- z-index: var(--fa-stack-z-index, auto);
1063
- }
1064
-
1065
- .svg-inline--fa.fa-stack-1x {
1066
- height: 1em;
1067
- width: 1.25em;
1068
- }
1069
- .svg-inline--fa.fa-stack-2x {
1070
- height: 2em;
1071
- width: 2.5em;
1072
- }
1073
-
1074
- .fa-inverse {
1075
- color: var(--fa-inverse, #fff);
1076
- }
1077
-
1078
- .sr-only,
1079
- .fa-sr-only {
1080
- position: absolute;
1081
- width: 1px;
1082
- height: 1px;
1083
- padding: 0;
1084
- margin: -1px;
1085
- overflow: hidden;
1086
- clip: rect(0, 0, 0, 0);
1087
- white-space: nowrap;
1088
- border-width: 0;
1089
- }
1090
-
1091
- .sr-only-focusable:not(:focus),
1092
- .fa-sr-only-focusable:not(:focus) {
1093
- position: absolute;
1094
- width: 1px;
1095
- height: 1px;
1096
- padding: 0;
1097
- margin: -1px;
1098
- overflow: hidden;
1099
- clip: rect(0, 0, 0, 0);
1100
- white-space: nowrap;
1101
- border-width: 0;
1102
- }
1103
-
1104
- .svg-inline--fa .fa-primary {
1105
- fill: var(--fa-primary-color, currentColor);
1106
- opacity: var(--fa-primary-opacity, 1);
1107
- }
1108
-
1109
- .svg-inline--fa .fa-secondary {
1110
- fill: var(--fa-secondary-color, currentColor);
1111
- opacity: var(--fa-secondary-opacity, 0.4);
1112
- }
1113
-
1114
- .svg-inline--fa.fa-swap-opacity .fa-primary {
1115
- opacity: var(--fa-secondary-opacity, 0.4);
1116
- }
1117
-
1118
- .svg-inline--fa.fa-swap-opacity .fa-secondary {
1119
- opacity: var(--fa-primary-opacity, 1);
1120
- }
1121
-
1122
- .svg-inline--fa mask .fa-primary,
1123
- .svg-inline--fa mask .fa-secondary {
1124
- fill: black;
1125
- }
1126
-
1127
- .fad.fa-inverse,
1128
- .fa-duotone.fa-inverse {
1129
- color: var(--fa-inverse, #fff);
1130
- }`;
1131
- function ca() {
1132
- var e = na, t = aa, n = y.cssPrefix, a = y.replacementClass, r = Pr;
1133
- if (n !== e || a !== t) {
1134
- var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
1135
- r = r.replace(i, ".".concat(n, "-")).replace(o, "--".concat(n, "-")).replace(s, ".".concat(a));
1136
- }
1137
- return r;
1138
- }
1139
- var gn = !1;
1140
- function vt() {
1141
- y.autoAddCss && !gn && (kr(ca()), gn = !0);
1142
- }
1143
- var Tr = {
1144
- mixout: function() {
1145
- return {
1146
- dom: {
1147
- css: ca,
1148
- insertCss: vt
1149
- }
1150
- };
1151
- },
1152
- hooks: function() {
1153
- return {
1154
- beforeDOMElementCreation: function() {
1155
- vt();
1156
- },
1157
- beforeI2svg: function() {
1158
- vt();
1159
- }
1160
- };
1161
- }
1162
- }, le = ve || {};
1163
- le[ce] || (le[ce] = {});
1164
- le[ce].styles || (le[ce].styles = {});
1165
- le[ce].hooks || (le[ce].hooks = {});
1166
- le[ce].shims || (le[ce].shims = []);
1167
- var ae = le[ce], la = [], _r = function e() {
1168
- W.removeEventListener("DOMContentLoaded", e), it = 1, la.map(function(t) {
1169
- return t();
1170
- });
1171
- }, it = !1;
1172
- me && (it = (W.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(W.readyState), it || W.addEventListener("DOMContentLoaded", _r));
1173
- function Cr(e) {
1174
- me && (it ? setTimeout(e, 0) : la.push(e));
1175
- }
1176
- function Ye(e) {
1177
- var t = e.tag, n = e.attributes, a = n === void 0 ? {} : n, r = e.children, i = r === void 0 ? [] : r;
1178
- return typeof e == "string" ? fa(e) : "<".concat(t, " ").concat(Ar(a), ">").concat(i.map(Ye).join(""), "</").concat(t, ">");
1179
- }
1180
- function yn(e, t, n) {
1181
- if (e && e[t] && e[t][n])
1182
- return {
1183
- prefix: t,
1184
- iconName: n,
1185
- icon: e[t][n]
1186
- };
1187
- }
1188
- var pt = function(t, n, a, r) {
1189
- var i = Object.keys(t), o = i.length, s = n, f, l, c;
1190
- for (a === void 0 ? (f = 1, c = t[i[0]]) : (f = 0, c = a); f < o; f++)
1191
- l = i[f], c = s(c, t[l], l, t);
1192
- return c;
1193
- };
1194
- function Ir(e) {
1195
- for (var t = [], n = 0, a = e.length; n < a; ) {
1196
- var r = e.charCodeAt(n++);
1197
- if (r >= 55296 && r <= 56319 && n < a) {
1198
- var i = e.charCodeAt(n++);
1199
- (i & 64512) == 56320 ? t.push(((r & 1023) << 10) + (i & 1023) + 65536) : (t.push(r), n--);
1200
- } else
1201
- t.push(r);
1202
- }
1203
- return t;
1204
- }
1205
- function Tt(e) {
1206
- var t = Ir(e);
1207
- return t.length === 1 ? t[0].toString(16) : null;
1208
- }
1209
- function Nr(e, t) {
1210
- var n = e.length, a = e.charCodeAt(t), r;
1211
- return a >= 55296 && a <= 56319 && n > t + 1 && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (a - 55296) * 1024 + r - 56320 + 65536 : a;
1212
- }
1213
- function hn(e) {
1214
- return Object.keys(e).reduce(function(t, n) {
1215
- var a = e[n], r = !!a.icon;
1216
- return r ? t[a.iconName] = a.icon : t[n] = a, t;
1217
- }, {});
1218
- }
1219
- function _t(e, t) {
1220
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.skipHooks, r = a === void 0 ? !1 : a, i = hn(t);
1221
- typeof ae.hooks.addPack == "function" && !r ? ae.hooks.addPack(e, hn(t)) : ae.styles[e] = p(p({}, ae.styles[e] || {}), i), e === "fas" && _t("fa", t);
1222
- }
1223
- var Je, Qe, Ze, Ee = ae.styles, Mr = ae.shims, Rr = (Je = {}, q(Je, U, Object.values(je[U])), q(Je, B, Object.values(je[B])), Je), Gt = null, ua = {}, ma = {}, da = {}, va = {}, pa = {}, Lr = (Qe = {}, q(Qe, U, Object.keys(Re[U])), q(Qe, B, Object.keys(Re[B])), Qe);
1224
- function jr(e) {
1225
- return ~gr.indexOf(e);
1226
- }
1227
- function zr(e, t) {
1228
- var n = t.split("-"), a = n[0], r = n.slice(1).join("-");
1229
- return a === e && r !== "" && !jr(r) ? r : null;
1230
- }
1231
- var ba = function() {
1232
- var t = function(i) {
1233
- return pt(Ee, function(o, s, f) {
1234
- return o[f] = pt(s, i, {}), o;
1235
- }, {});
1236
- };
1237
- ua = t(function(r, i, o) {
1238
- if (i[3] && (r[i[3]] = o), i[2]) {
1239
- var s = i[2].filter(function(f) {
1240
- return typeof f == "number";
1241
- });
1242
- s.forEach(function(f) {
1243
- r[f.toString(16)] = o;
1244
- });
1245
- }
1246
- return r;
1247
- }), ma = t(function(r, i, o) {
1248
- if (r[o] = o, i[2]) {
1249
- var s = i[2].filter(function(f) {
1250
- return typeof f == "string";
1251
- });
1252
- s.forEach(function(f) {
1253
- r[f] = o;
1254
- });
1255
- }
1256
- return r;
1257
- }), pa = t(function(r, i, o) {
1258
- var s = i[2];
1259
- return r[o] = o, s.forEach(function(f) {
1260
- r[f] = o;
1261
- }), r;
1262
- });
1263
- var n = "far" in Ee || y.autoFetchSvg, a = pt(Mr, function(r, i) {
1264
- var o = i[0], s = i[1], f = i[2];
1265
- return s === "far" && !n && (s = "fas"), typeof o == "string" && (r.names[o] = {
1266
- prefix: s,
1267
- iconName: f
1268
- }), typeof o == "number" && (r.unicodes[o.toString(16)] = {
1269
- prefix: s,
1270
- iconName: f
1271
- }), r;
1272
- }, {
1273
- names: {},
1274
- unicodes: {}
1275
- });
1276
- da = a.names, va = a.unicodes, Gt = ct(y.styleDefault, {
1277
- family: y.familyDefault
1278
- });
1279
- };
1280
- wr(function(e) {
1281
- Gt = ct(e.styleDefault, {
1282
- family: y.familyDefault
1283
- });
1284
- });
1285
- ba();
1286
- function Xt(e, t) {
1287
- return (ua[e] || {})[t];
1288
- }
1289
- function Dr(e, t) {
1290
- return (ma[e] || {})[t];
1291
- }
1292
- function he(e, t) {
1293
- return (pa[e] || {})[t];
1294
- }
1295
- function ga(e) {
1296
- return da[e] || {
1297
- prefix: null,
1298
- iconName: null
1299
- };
1300
- }
1301
- function Fr(e) {
1302
- var t = va[e], n = Xt("fas", e);
1303
- return t || (n ? {
1304
- prefix: "fas",
1305
- iconName: n
1306
- } : null) || {
1307
- prefix: null,
1308
- iconName: null
1309
- };
1310
- }
1311
- function pe() {
1312
- return Gt;
1313
- }
1314
- var Kt = function() {
1315
- return {
1316
- prefix: null,
1317
- iconName: null,
1318
- rest: []
1319
- };
1320
- };
1321
- function ct(e) {
1322
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? U : n, r = Re[a][e], i = Le[a][e] || Le[a][r], o = e in ae.styles ? e : null;
1323
- return i || o || null;
1324
- }
1325
- var xn = (Ze = {}, q(Ze, U, Object.keys(je[U])), q(Ze, B, Object.keys(je[B])), Ze);
1326
- function lt(e) {
1327
- var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.skipLookups, r = a === void 0 ? !1 : a, i = (t = {}, q(t, U, "".concat(y.cssPrefix, "-").concat(U)), q(t, B, "".concat(y.cssPrefix, "-").concat(B)), t), o = null, s = U;
1328
- (e.includes(i[U]) || e.some(function(l) {
1329
- return xn[U].includes(l);
1330
- })) && (s = U), (e.includes(i[B]) || e.some(function(l) {
1331
- return xn[B].includes(l);
1332
- })) && (s = B);
1333
- var f = e.reduce(function(l, c) {
1334
- var u = zr(y.cssPrefix, c);
1335
- if (Ee[c] ? (c = Rr[s].includes(c) ? ur[s][c] : c, o = c, l.prefix = c) : Lr[s].indexOf(c) > -1 ? (o = c, l.prefix = ct(c, {
1336
- family: s
1337
- })) : u ? l.iconName = u : c !== y.replacementClass && c !== i[U] && c !== i[B] && l.rest.push(c), !r && l.prefix && l.iconName) {
1338
- var g = o === "fa" ? ga(l.iconName) : {}, h = he(l.prefix, l.iconName);
1339
- g.prefix && (o = null), l.iconName = g.iconName || h || l.iconName, l.prefix = g.prefix || l.prefix, l.prefix === "far" && !Ee.far && Ee.fas && !y.autoFetchSvg && (l.prefix = "fas");
1340
- }
1341
- return l;
1342
- }, Kt());
1343
- return (e.includes("fa-brands") || e.includes("fab")) && (f.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (f.prefix = "fad"), !f.prefix && s === B && (Ee.fass || y.autoFetchSvg) && (f.prefix = "fass", f.iconName = he(f.prefix, f.iconName) || f.iconName), (f.prefix === "fa" || o === "fa") && (f.prefix = pe() || "fas"), f;
1344
- }
1345
- var $r = /* @__PURE__ */ function() {
1346
- function e() {
1347
- Qa(this, e), this.definitions = {};
1348
- }
1349
- return er(e, [{
1350
- key: "add",
1351
- value: function() {
1352
- for (var n = this, a = arguments.length, r = new Array(a), i = 0; i < a; i++)
1353
- r[i] = arguments[i];
1354
- var o = r.reduce(this._pullDefinitions, {});
1355
- Object.keys(o).forEach(function(s) {
1356
- n.definitions[s] = p(p({}, n.definitions[s] || {}), o[s]), _t(s, o[s]);
1357
- var f = je[U][s];
1358
- f && _t(f, o[s]), ba();
1359
- });
1360
- }
1361
- }, {
1362
- key: "reset",
1363
- value: function() {
1364
- this.definitions = {};
1365
- }
1366
- }, {
1367
- key: "_pullDefinitions",
1368
- value: function(n, a) {
1369
- var r = a.prefix && a.iconName && a.icon ? {
1370
- 0: a
1371
- } : a;
1372
- return Object.keys(r).map(function(i) {
1373
- var o = r[i], s = o.prefix, f = o.iconName, l = o.icon, c = l[2];
1374
- n[s] || (n[s] = {}), c.length > 0 && c.forEach(function(u) {
1375
- typeof u == "string" && (n[s][u] = l);
1376
- }), n[s][f] = l;
1377
- }), n;
1378
- }
1379
- }]), e;
1380
- }(), wn = [], Ae = {}, Se = {}, Yr = Object.keys(Se);
1381
- function Hr(e, t) {
1382
- var n = t.mixoutsTo;
1383
- return wn = e, Ae = {}, Object.keys(Se).forEach(function(a) {
1384
- Yr.indexOf(a) === -1 && delete Se[a];
1385
- }), wn.forEach(function(a) {
1386
- var r = a.mixout ? a.mixout() : {};
1387
- if (Object.keys(r).forEach(function(o) {
1388
- typeof r[o] == "function" && (n[o] = r[o]), rt(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
1389
- n[o] || (n[o] = {}), n[o][s] = r[o][s];
1390
- });
1391
- }), a.hooks) {
1392
- var i = a.hooks();
1393
- Object.keys(i).forEach(function(o) {
1394
- Ae[o] || (Ae[o] = []), Ae[o].push(i[o]);
1395
- });
1396
- }
1397
- a.provides && a.provides(Se);
1398
- }), n;
1399
- }
1400
- function Ct(e, t) {
1401
- for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
1402
- a[r - 2] = arguments[r];
1403
- var i = Ae[e] || [];
1404
- return i.forEach(function(o) {
1405
- t = o.apply(null, [t].concat(a));
1406
- }), t;
1407
- }
1408
- function we(e) {
1409
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
1410
- n[a - 1] = arguments[a];
1411
- var r = Ae[e] || [];
1412
- r.forEach(function(i) {
1413
- i.apply(null, n);
1414
- });
1415
- }
1416
- function ue() {
1417
- var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
1418
- return Se[e] ? Se[e].apply(null, t) : void 0;
1419
- }
1420
- function It(e) {
1421
- e.prefix === "fa" && (e.prefix = "fas");
1422
- var t = e.iconName, n = e.prefix || pe();
1423
- if (t)
1424
- return t = he(n, t) || t, yn(ya.definitions, n, t) || yn(ae.styles, n, t);
1425
- }
1426
- var ya = new $r(), Ur = function() {
1427
- y.autoReplaceSvg = !1, y.observeMutations = !1, we("noAuto");
1428
- }, Wr = {
1429
- i2svg: function() {
1430
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1431
- return me ? (we("beforeI2svg", t), ue("pseudoElements2svg", t), ue("i2svg", t)) : Promise.reject("Operation requires a DOM of some kind.");
1432
- },
1433
- watch: function() {
1434
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
1435
- y.autoReplaceSvg === !1 && (y.autoReplaceSvg = !0), y.observeMutations = !0, Cr(function() {
1436
- Vr({
1437
- autoReplaceSvgRoot: n
1438
- }), we("watch", t);
1439
- });
1440
- }
1441
- }, Br = {
1442
- icon: function(t) {
1443
- if (t === null)
1444
- return null;
1445
- if (rt(t) === "object" && t.prefix && t.iconName)
1446
- return {
1447
- prefix: t.prefix,
1448
- iconName: he(t.prefix, t.iconName) || t.iconName
1449
- };
1450
- if (Array.isArray(t) && t.length === 2) {
1451
- var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], a = ct(t[0]);
1452
- return {
1453
- prefix: a,
1454
- iconName: he(a, n) || n
1455
- };
1456
- }
1457
- if (typeof t == "string" && (t.indexOf("".concat(y.cssPrefix, "-")) > -1 || t.match(mr))) {
1458
- var r = lt(t.split(" "), {
1459
- skipLookups: !0
1460
- });
1461
- return {
1462
- prefix: r.prefix || pe(),
1463
- iconName: he(r.prefix, r.iconName) || r.iconName
1464
- };
1465
- }
1466
- if (typeof t == "string") {
1467
- var i = pe();
1468
- return {
1469
- prefix: i,
1470
- iconName: he(i, t) || t
1471
- };
1472
- }
1473
- }
1474
- }, te = {
1475
- noAuto: Ur,
1476
- config: y,
1477
- dom: Wr,
1478
- parse: Br,
1479
- library: ya,
1480
- findIconDefinition: It,
1481
- toHtml: Ye
1482
- }, Vr = function() {
1483
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, a = n === void 0 ? W : n;
1484
- (Object.keys(ae.styles).length > 0 || y.autoFetchSvg) && me && y.autoReplaceSvg && te.dom.i2svg({
1485
- node: a
1486
- });
1487
- };
1488
- function ut(e, t) {
1489
- return Object.defineProperty(e, "abstract", {
1490
- get: t
1491
- }), Object.defineProperty(e, "html", {
1492
- get: function() {
1493
- return e.abstract.map(function(a) {
1494
- return Ye(a);
1495
- });
1496
- }
1497
- }), Object.defineProperty(e, "node", {
1498
- get: function() {
1499
- if (me) {
1500
- var a = W.createElement("div");
1501
- return a.innerHTML = e.html, a.children;
1502
- }
1503
- }
1504
- }), e;
1505
- }
1506
- function qr(e) {
1507
- var t = e.children, n = e.main, a = e.mask, r = e.attributes, i = e.styles, o = e.transform;
1508
- if (qt(o) && n.found && !a.found) {
1509
- var s = n.width, f = n.height, l = {
1510
- x: s / f / 2,
1511
- y: 0.5
1512
- };
1513
- r.style = ft(p(p({}, i), {}, {
1514
- "transform-origin": "".concat(l.x + o.x / 16, "em ").concat(l.y + o.y / 16, "em")
1515
- }));
1516
- }
1517
- return [{
1518
- tag: "svg",
1519
- attributes: r,
1520
- children: t
1521
- }];
1522
- }
1523
- function Gr(e) {
1524
- var t = e.prefix, n = e.iconName, a = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(y.cssPrefix, "-").concat(n) : i;
1525
- return [{
1526
- tag: "svg",
1527
- attributes: {
1528
- style: "display: none;"
1529
- },
1530
- children: [{
1531
- tag: "symbol",
1532
- attributes: p(p({}, r), {}, {
1533
- id: o
1534
- }),
1535
- children: a
1536
- }]
1537
- }];
1538
- }
1539
- function Jt(e) {
1540
- var t = e.icons, n = t.main, a = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, f = e.title, l = e.maskId, c = e.titleId, u = e.extra, g = e.watchable, h = g === void 0 ? !1 : g, S = a.found ? a : n, x = S.width, w = S.height, N = r === "fak", $ = [y.replacementClass, i ? "".concat(y.cssPrefix, "-").concat(i) : ""].filter(function(J) {
1541
- return u.classes.indexOf(J) === -1;
1542
- }).filter(function(J) {
1543
- return J !== "" || !!J;
1544
- }).concat(u.classes).join(" "), A = {
1545
- children: [],
1546
- attributes: p(p({}, u.attributes), {}, {
1547
- "data-prefix": r,
1548
- "data-icon": i,
1549
- class: $,
1550
- role: u.attributes.role || "img",
1551
- xmlns: "http://www.w3.org/2000/svg",
1552
- viewBox: "0 0 ".concat(x, " ").concat(w)
1553
- })
1554
- }, M = N && !~u.classes.indexOf("fa-fw") ? {
1555
- width: "".concat(x / w * 16 * 0.0625, "em")
1556
- } : {};
1557
- h && (A.attributes[xe] = ""), f && (A.children.push({
1558
- tag: "title",
1559
- attributes: {
1560
- id: A.attributes["aria-labelledby"] || "title-".concat(c || De())
1561
- },
1562
- children: [f]
1563
- }), delete A.attributes.title);
1564
- var m = p(p({}, A), {}, {
1565
- prefix: r,
1566
- iconName: i,
1567
- main: n,
1568
- mask: a,
1569
- maskId: l,
1570
- transform: o,
1571
- symbol: s,
1572
- styles: p(p({}, M), u.styles)
1573
- }), X = a.found && n.found ? ue("generateAbstractMask", m) || {
1574
- children: [],
1575
- attributes: {}
1576
- } : ue("generateAbstractIcon", m) || {
1577
- children: [],
1578
- attributes: {}
1579
- }, K = X.children, fe = X.attributes;
1580
- return m.children = K, m.attributes = fe, s ? Gr(m) : qr(m);
1581
- }
1582
- function kn(e) {
1583
- var t = e.content, n = e.width, a = e.height, r = e.transform, i = e.title, o = e.extra, s = e.watchable, f = s === void 0 ? !1 : s, l = p(p(p({}, o.attributes), i ? {
1584
- title: i
1585
- } : {}), {}, {
1586
- class: o.classes.join(" ")
1587
- });
1588
- f && (l[xe] = "");
1589
- var c = p({}, o.styles);
1590
- qt(r) && (c.transform = Sr({
1591
- transform: r,
1592
- startCentered: !0,
1593
- width: n,
1594
- height: a
1595
- }), c["-webkit-transform"] = c.transform);
1596
- var u = ft(c);
1597
- u.length > 0 && (l.style = u);
1598
- var g = [];
1599
- return g.push({
1600
- tag: "span",
1601
- attributes: l,
1602
- children: [t]
1603
- }), i && g.push({
1604
- tag: "span",
1605
- attributes: {
1606
- class: "sr-only"
1607
- },
1608
- children: [i]
1609
- }), g;
1610
- }
1611
- function Xr(e) {
1612
- var t = e.content, n = e.title, a = e.extra, r = p(p(p({}, a.attributes), n ? {
1613
- title: n
1614
- } : {}), {}, {
1615
- class: a.classes.join(" ")
1616
- }), i = ft(a.styles);
1617
- i.length > 0 && (r.style = i);
1618
- var o = [];
1619
- return o.push({
1620
- tag: "span",
1621
- attributes: r,
1622
- children: [t]
1623
- }), n && o.push({
1624
- tag: "span",
1625
- attributes: {
1626
- class: "sr-only"
1627
- },
1628
- children: [n]
1629
- }), o;
1630
- }
1631
- var bt = ae.styles;
1632
- function Nt(e) {
1633
- var t = e[0], n = e[1], a = e.slice(4), r = Yt(a, 1), i = r[0], o = null;
1634
- return Array.isArray(i) ? o = {
1635
- tag: "g",
1636
- attributes: {
1637
- class: "".concat(y.cssPrefix, "-").concat(ye.GROUP)
1638
- },
1639
- children: [{
1640
- tag: "path",
1641
- attributes: {
1642
- class: "".concat(y.cssPrefix, "-").concat(ye.SECONDARY),
1643
- fill: "currentColor",
1644
- d: i[0]
1645
- }
1646
- }, {
1647
- tag: "path",
1648
- attributes: {
1649
- class: "".concat(y.cssPrefix, "-").concat(ye.PRIMARY),
1650
- fill: "currentColor",
1651
- d: i[1]
1652
- }
1653
- }]
1654
- } : o = {
1655
- tag: "path",
1656
- attributes: {
1657
- fill: "currentColor",
1658
- d: i
1659
- }
1660
- }, {
1661
- found: !0,
1662
- width: t,
1663
- height: n,
1664
- icon: o
1665
- };
1666
- }
1667
- var Kr = {
1668
- found: !1,
1669
- width: 512,
1670
- height: 512
1671
- };
1672
- function Jr(e, t) {
1673
- !ra && !y.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
1674
- }
1675
- function Mt(e, t) {
1676
- var n = t;
1677
- return t === "fa" && y.styleDefault !== null && (t = pe()), new Promise(function(a, r) {
1678
- if (ue("missingIconAbstract"), n === "fa") {
1679
- var i = ga(e) || {};
1680
- e = i.iconName || e, t = i.prefix || t;
1681
- }
1682
- if (e && t && bt[t] && bt[t][e]) {
1683
- var o = bt[t][e];
1684
- return a(Nt(o));
1685
- }
1686
- Jr(e, t), a(p(p({}, Kr), {}, {
1687
- icon: y.showMissingIcons && e ? ue("missingIconAbstract") || {} : {}
1688
- }));
1689
- });
1690
- }
1691
- var En = function() {
1692
- }, Rt = y.measurePerformance && Be && Be.mark && Be.measure ? Be : {
1693
- mark: En,
1694
- measure: En
1695
- }, Ie = 'FA "6.5.2"', Qr = function(t) {
1696
- return Rt.mark("".concat(Ie, " ").concat(t, " begins")), function() {
1697
- return ha(t);
1698
- };
1699
- }, ha = function(t) {
1700
- Rt.mark("".concat(Ie, " ").concat(t, " ends")), Rt.measure("".concat(Ie, " ").concat(t), "".concat(Ie, " ").concat(t, " begins"), "".concat(Ie, " ").concat(t, " ends"));
1701
- }, Qt = {
1702
- begin: Qr,
1703
- end: ha
1704
- }, nt = function() {
1705
- };
1706
- function An(e) {
1707
- var t = e.getAttribute ? e.getAttribute(xe) : null;
1708
- return typeof t == "string";
1709
- }
1710
- function Zr(e) {
1711
- var t = e.getAttribute ? e.getAttribute(Ut) : null, n = e.getAttribute ? e.getAttribute(Wt) : null;
1712
- return t && n;
1713
- }
1714
- function ei(e) {
1715
- return e && e.classList && e.classList.contains && e.classList.contains(y.replacementClass);
1716
- }
1717
- function ti() {
1718
- if (y.autoReplaceSvg === !0)
1719
- return at.replace;
1720
- var e = at[y.autoReplaceSvg];
1721
- return e || at.replace;
1722
- }
1723
- function ni(e) {
1724
- return W.createElementNS("http://www.w3.org/2000/svg", e);
1725
- }
1726
- function ai(e) {
1727
- return W.createElement(e);
1728
- }
1729
- function xa(e) {
1730
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.ceFn, a = n === void 0 ? e.tag === "svg" ? ni : ai : n;
1731
- if (typeof e == "string")
1732
- return W.createTextNode(e);
1733
- var r = a(e.tag);
1734
- Object.keys(e.attributes || []).forEach(function(o) {
1735
- r.setAttribute(o, e.attributes[o]);
1736
- });
1737
- var i = e.children || [];
1738
- return i.forEach(function(o) {
1739
- r.appendChild(xa(o, {
1740
- ceFn: a
1741
- }));
1742
- }), r;
1743
- }
1744
- function ri(e) {
1745
- var t = " ".concat(e.outerHTML, " ");
1746
- return t = "".concat(t, "Font Awesome fontawesome.com "), t;
1747
- }
1748
- var at = {
1749
- replace: function(t) {
1750
- var n = t[0];
1751
- if (n.parentNode)
1752
- if (t[1].forEach(function(r) {
1753
- n.parentNode.insertBefore(xa(r), n);
1754
- }), n.getAttribute(xe) === null && y.keepOriginalSource) {
1755
- var a = W.createComment(ri(n));
1756
- n.parentNode.replaceChild(a, n);
1757
- } else
1758
- n.remove();
1759
- },
1760
- nest: function(t) {
1761
- var n = t[0], a = t[1];
1762
- if (~Vt(n).indexOf(y.replacementClass))
1763
- return at.replace(t);
1764
- var r = new RegExp("".concat(y.cssPrefix, "-.*"));
1765
- if (delete a[0].attributes.id, a[0].attributes.class) {
1766
- var i = a[0].attributes.class.split(" ").reduce(function(s, f) {
1767
- return f === y.replacementClass || f.match(r) ? s.toSvg.push(f) : s.toNode.push(f), s;
1768
- }, {
1769
- toNode: [],
1770
- toSvg: []
1771
- });
1772
- a[0].attributes.class = i.toSvg.join(" "), i.toNode.length === 0 ? n.removeAttribute("class") : n.setAttribute("class", i.toNode.join(" "));
1773
- }
1774
- var o = a.map(function(s) {
1775
- return Ye(s);
1776
- }).join(`
1777
- `);
1778
- n.setAttribute(xe, ""), n.innerHTML = o;
1779
- }
1780
- };
1781
- function On(e) {
1782
- e();
1783
- }
1784
- function wa(e, t) {
1785
- var n = typeof t == "function" ? t : nt;
1786
- if (e.length === 0)
1787
- n();
1788
- else {
1789
- var a = On;
1790
- y.mutateApproach === cr && (a = ve.requestAnimationFrame || On), a(function() {
1791
- var r = ti(), i = Qt.begin("mutate");
1792
- e.map(r), i(), n();
1793
- });
1794
- }
1795
- }
1796
- var Zt = !1;
1797
- function ka() {
1798
- Zt = !0;
1799
- }
1800
- function Lt() {
1801
- Zt = !1;
1802
- }
1803
- var ot = null;
1804
- function Sn(e) {
1805
- if (pn && y.observeMutations) {
1806
- var t = e.treeCallback, n = t === void 0 ? nt : t, a = e.nodeCallback, r = a === void 0 ? nt : a, i = e.pseudoElementsCallback, o = i === void 0 ? nt : i, s = e.observeMutationsRoot, f = s === void 0 ? W : s;
1807
- ot = new pn(function(l) {
1808
- if (!Zt) {
1809
- var c = pe();
1810
- Te(l).forEach(function(u) {
1811
- if (u.type === "childList" && u.addedNodes.length > 0 && !An(u.addedNodes[0]) && (y.searchPseudoElements && o(u.target), n(u.target)), u.type === "attributes" && u.target.parentNode && y.searchPseudoElements && o(u.target.parentNode), u.type === "attributes" && An(u.target) && ~br.indexOf(u.attributeName))
1812
- if (u.attributeName === "class" && Zr(u.target)) {
1813
- var g = lt(Vt(u.target)), h = g.prefix, S = g.iconName;
1814
- u.target.setAttribute(Ut, h || c), S && u.target.setAttribute(Wt, S);
1815
- } else ei(u.target) && r(u.target);
1816
- });
1817
- }
1818
- }), me && ot.observe(f, {
1819
- childList: !0,
1820
- attributes: !0,
1821
- characterData: !0,
1822
- subtree: !0
1823
- });
1824
- }
1825
- }
1826
- function ii() {
1827
- ot && ot.disconnect();
1828
- }
1829
- function oi(e) {
1830
- var t = e.getAttribute("style"), n = [];
1831
- return t && (n = t.split(";").reduce(function(a, r) {
1832
- var i = r.split(":"), o = i[0], s = i.slice(1);
1833
- return o && s.length > 0 && (a[o] = s.join(":").trim()), a;
1834
- }, {})), n;
1835
- }
1836
- function si(e) {
1837
- var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "", r = lt(Vt(e));
1838
- return r.prefix || (r.prefix = pe()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Dr(r.prefix, e.innerText) || Xt(r.prefix, Tt(e.innerText))), !r.iconName && y.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
1839
- }
1840
- function fi(e) {
1841
- var t = Te(e.attributes).reduce(function(r, i) {
1842
- return r.name !== "class" && r.name !== "style" && (r[i.name] = i.value), r;
1843
- }, {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
1844
- return y.autoA11y && (n ? t["aria-labelledby"] = "".concat(y.replacementClass, "-title-").concat(a || De()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
1845
- }
1846
- function ci() {
1847
- return {
1848
- iconName: null,
1849
- title: null,
1850
- titleId: null,
1851
- prefix: null,
1852
- transform: se,
1853
- symbol: !1,
1854
- mask: {
1855
- iconName: null,
1856
- prefix: null,
1857
- rest: []
1858
- },
1859
- maskId: null,
1860
- extra: {
1861
- classes: [],
1862
- styles: {},
1863
- attributes: {}
1864
- }
1865
- };
1866
- }
1867
- function Pn(e) {
1868
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
1869
- styleParser: !0
1870
- }, n = si(e), a = n.iconName, r = n.prefix, i = n.rest, o = fi(e), s = Ct("parseNodeAttributes", {}, e), f = t.styleParser ? oi(e) : [];
1871
- return p({
1872
- iconName: a,
1873
- title: e.getAttribute("title"),
1874
- titleId: e.getAttribute("data-fa-title-id"),
1875
- prefix: r,
1876
- transform: se,
1877
- mask: {
1878
- iconName: null,
1879
- prefix: null,
1880
- rest: []
1881
- },
1882
- maskId: null,
1883
- symbol: !1,
1884
- extra: {
1885
- classes: i,
1886
- styles: f,
1887
- attributes: o
1888
- }
1889
- }, s);
1890
- }
1891
- var li = ae.styles;
1892
- function Ea(e) {
1893
- var t = y.autoReplaceSvg === "nest" ? Pn(e, {
1894
- styleParser: !1
1895
- }) : Pn(e);
1896
- return ~t.extra.classes.indexOf(ia) ? ue("generateLayersText", e, t) : ue("generateSvgReplacementMutation", e, t);
1897
- }
1898
- var be = /* @__PURE__ */ new Set();
1899
- Bt.map(function(e) {
1900
- be.add("fa-".concat(e));
1901
- });
1902
- Object.keys(Re[U]).map(be.add.bind(be));
1903
- Object.keys(Re[B]).map(be.add.bind(be));
1904
- be = Fe(be);
1905
- function Tn(e) {
1906
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
1907
- if (!me) return Promise.resolve();
1908
- var n = W.documentElement.classList, a = function(u) {
1909
- return n.add("".concat(bn, "-").concat(u));
1910
- }, r = function(u) {
1911
- return n.remove("".concat(bn, "-").concat(u));
1912
- }, i = y.autoFetchSvg ? be : Bt.map(function(c) {
1913
- return "fa-".concat(c);
1914
- }).concat(Object.keys(li));
1915
- i.includes("fa") || i.push("fa");
1916
- var o = [".".concat(ia, ":not([").concat(xe, "])")].concat(i.map(function(c) {
1917
- return ".".concat(c, ":not([").concat(xe, "])");
1918
- })).join(", ");
1919
- if (o.length === 0)
1920
- return Promise.resolve();
1921
- var s = [];
1922
- try {
1923
- s = Te(e.querySelectorAll(o));
1924
- } catch {
1925
- }
1926
- if (s.length > 0)
1927
- a("pending"), r("complete");
1928
- else
1929
- return Promise.resolve();
1930
- var f = Qt.begin("onTree"), l = s.reduce(function(c, u) {
1931
- try {
1932
- var g = Ea(u);
1933
- g && c.push(g);
1934
- } catch (h) {
1935
- ra || h.name === "MissingIcon" && console.error(h);
1936
- }
1937
- return c;
1938
- }, []);
1939
- return new Promise(function(c, u) {
1940
- Promise.all(l).then(function(g) {
1941
- wa(g, function() {
1942
- a("active"), a("complete"), r("pending"), typeof t == "function" && t(), f(), c();
1943
- });
1944
- }).catch(function(g) {
1945
- f(), u(g);
1946
- });
1947
- });
1948
- }
1949
- function ui(e) {
1950
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
1951
- Ea(e).then(function(n) {
1952
- n && wa([n], t);
1953
- });
1954
- }
1955
- function mi(e) {
1956
- return function(t) {
1957
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = (t || {}).icon ? t : It(t || {}), r = n.mask;
1958
- return r && (r = (r || {}).icon ? r : It(r || {})), e(a, p(p({}, n), {}, {
1959
- mask: r
1960
- }));
1961
- };
1962
- }
1963
- var di = function(t) {
1964
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? se : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, f = s === void 0 ? null : s, l = n.maskId, c = l === void 0 ? null : l, u = n.title, g = u === void 0 ? null : u, h = n.titleId, S = h === void 0 ? null : h, x = n.classes, w = x === void 0 ? [] : x, N = n.attributes, $ = N === void 0 ? {} : N, A = n.styles, M = A === void 0 ? {} : A;
1965
- if (t) {
1966
- var m = t.prefix, X = t.iconName, K = t.icon;
1967
- return ut(p({
1968
- type: "icon"
1969
- }, t), function() {
1970
- return we("beforeDOMElementCreation", {
1971
- iconDefinition: t,
1972
- params: n
1973
- }), y.autoA11y && (g ? $["aria-labelledby"] = "".concat(y.replacementClass, "-title-").concat(S || De()) : ($["aria-hidden"] = "true", $.focusable = "false")), Jt({
1974
- icons: {
1975
- main: Nt(K),
1976
- mask: f ? Nt(f.icon) : {
1977
- found: !1,
1978
- width: null,
1979
- height: null,
1980
- icon: {}
1981
- }
1982
- },
1983
- prefix: m,
1984
- iconName: X,
1985
- transform: p(p({}, se), r),
1986
- symbol: o,
1987
- title: g,
1988
- maskId: c,
1989
- titleId: S,
1990
- extra: {
1991
- attributes: $,
1992
- styles: M,
1993
- classes: w
1994
- }
1995
- });
1996
- });
1997
- }
1998
- }, vi = {
1999
- mixout: function() {
2000
- return {
2001
- icon: mi(di)
2002
- };
2003
- },
2004
- hooks: function() {
2005
- return {
2006
- mutationObserverCallbacks: function(n) {
2007
- return n.treeCallback = Tn, n.nodeCallback = ui, n;
2008
- }
2009
- };
2010
- },
2011
- provides: function(t) {
2012
- t.i2svg = function(n) {
2013
- var a = n.node, r = a === void 0 ? W : a, i = n.callback, o = i === void 0 ? function() {
2014
- } : i;
2015
- return Tn(r, o);
2016
- }, t.generateSvgReplacementMutation = function(n, a) {
2017
- var r = a.iconName, i = a.title, o = a.titleId, s = a.prefix, f = a.transform, l = a.symbol, c = a.mask, u = a.maskId, g = a.extra;
2018
- return new Promise(function(h, S) {
2019
- Promise.all([Mt(r, s), c.iconName ? Mt(c.iconName, c.prefix) : Promise.resolve({
2020
- found: !1,
2021
- width: 512,
2022
- height: 512,
2023
- icon: {}
2024
- })]).then(function(x) {
2025
- var w = Yt(x, 2), N = w[0], $ = w[1];
2026
- h([n, Jt({
2027
- icons: {
2028
- main: N,
2029
- mask: $
2030
- },
2031
- prefix: s,
2032
- iconName: r,
2033
- transform: f,
2034
- symbol: l,
2035
- maskId: u,
2036
- title: i,
2037
- titleId: o,
2038
- extra: g,
2039
- watchable: !0
2040
- })]);
2041
- }).catch(S);
2042
- });
2043
- }, t.generateAbstractIcon = function(n) {
2044
- var a = n.children, r = n.attributes, i = n.main, o = n.transform, s = n.styles, f = ft(s);
2045
- f.length > 0 && (r.style = f);
2046
- var l;
2047
- return qt(o) && (l = ue("generateAbstractTransformGrouping", {
2048
- main: i,
2049
- transform: o,
2050
- containerWidth: i.width,
2051
- iconWidth: i.width
2052
- })), a.push(l || i.icon), {
2053
- children: a,
2054
- attributes: r
2055
- };
2056
- };
2057
- }
2058
- }, pi = {
2059
- mixout: function() {
2060
- return {
2061
- layer: function(n) {
2062
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.classes, i = r === void 0 ? [] : r;
2063
- return ut({
2064
- type: "layer"
2065
- }, function() {
2066
- we("beforeDOMElementCreation", {
2067
- assembler: n,
2068
- params: a
2069
- });
2070
- var o = [];
2071
- return n(function(s) {
2072
- Array.isArray(s) ? s.map(function(f) {
2073
- o = o.concat(f.abstract);
2074
- }) : o = o.concat(s.abstract);
2075
- }), [{
2076
- tag: "span",
2077
- attributes: {
2078
- class: ["".concat(y.cssPrefix, "-layers")].concat(Fe(i)).join(" ")
2079
- },
2080
- children: o
2081
- }];
2082
- });
2083
- }
2084
- };
2085
- }
2086
- }, bi = {
2087
- mixout: function() {
2088
- return {
2089
- counter: function(n) {
2090
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.title, i = r === void 0 ? null : r, o = a.classes, s = o === void 0 ? [] : o, f = a.attributes, l = f === void 0 ? {} : f, c = a.styles, u = c === void 0 ? {} : c;
2091
- return ut({
2092
- type: "counter",
2093
- content: n
2094
- }, function() {
2095
- return we("beforeDOMElementCreation", {
2096
- content: n,
2097
- params: a
2098
- }), Xr({
2099
- content: n.toString(),
2100
- title: i,
2101
- extra: {
2102
- attributes: l,
2103
- styles: u,
2104
- classes: ["".concat(y.cssPrefix, "-layers-counter")].concat(Fe(s))
2105
- }
2106
- });
2107
- });
2108
- }
2109
- };
2110
- }
2111
- }, gi = {
2112
- mixout: function() {
2113
- return {
2114
- text: function(n) {
2115
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ? se : r, o = a.title, s = o === void 0 ? null : o, f = a.classes, l = f === void 0 ? [] : f, c = a.attributes, u = c === void 0 ? {} : c, g = a.styles, h = g === void 0 ? {} : g;
2116
- return ut({
2117
- type: "text",
2118
- content: n
2119
- }, function() {
2120
- return we("beforeDOMElementCreation", {
2121
- content: n,
2122
- params: a
2123
- }), kn({
2124
- content: n,
2125
- transform: p(p({}, se), i),
2126
- title: s,
2127
- extra: {
2128
- attributes: u,
2129
- styles: h,
2130
- classes: ["".concat(y.cssPrefix, "-layers-text")].concat(Fe(l))
2131
- }
2132
- });
2133
- });
2134
- }
2135
- };
2136
- },
2137
- provides: function(t) {
2138
- t.generateLayersText = function(n, a) {
2139
- var r = a.title, i = a.transform, o = a.extra, s = null, f = null;
2140
- if (ta) {
2141
- var l = parseInt(getComputedStyle(n).fontSize, 10), c = n.getBoundingClientRect();
2142
- s = c.width / l, f = c.height / l;
2143
- }
2144
- return y.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([n, kn({
2145
- content: n.innerHTML,
2146
- width: s,
2147
- height: f,
2148
- transform: i,
2149
- title: r,
2150
- extra: o,
2151
- watchable: !0
2152
- })]);
2153
- };
2154
- }
2155
- }, yi = new RegExp('"', "ug"), _n = [1105920, 1112319];
2156
- function hi(e) {
2157
- var t = e.replace(yi, ""), n = Nr(t, 0), a = n >= _n[0] && n <= _n[1], r = t.length === 2 ? t[0] === t[1] : !1;
2158
- return {
2159
- value: Tt(r ? t[0] : t),
2160
- isSecondary: a || r
2161
- };
2162
- }
2163
- function Cn(e, t) {
2164
- var n = "".concat(fr).concat(t.replace(":", "-"));
2165
- return new Promise(function(a, r) {
2166
- if (e.getAttribute(n) !== null)
2167
- return a();
2168
- var i = Te(e.children), o = i.filter(function(K) {
2169
- return K.getAttribute(Pt) === t;
2170
- })[0], s = ve.getComputedStyle(e, t), f = s.getPropertyValue("font-family").match(dr), l = s.getPropertyValue("font-weight"), c = s.getPropertyValue("content");
2171
- if (o && !f)
2172
- return e.removeChild(o), a();
2173
- if (f && c !== "none" && c !== "") {
2174
- var u = s.getPropertyValue("content"), g = ~["Sharp"].indexOf(f[2]) ? B : U, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(f[2]) ? Le[g][f[2].toLowerCase()] : vr[g][l], S = hi(u), x = S.value, w = S.isSecondary, N = f[0].startsWith("FontAwesome"), $ = Xt(h, x), A = $;
2175
- if (N) {
2176
- var M = Fr(x);
2177
- M.iconName && M.prefix && ($ = M.iconName, h = M.prefix);
2178
- }
2179
- if ($ && !w && (!o || o.getAttribute(Ut) !== h || o.getAttribute(Wt) !== A)) {
2180
- e.setAttribute(n, A), o && e.removeChild(o);
2181
- var m = ci(), X = m.extra;
2182
- X.attributes[Pt] = t, Mt($, h).then(function(K) {
2183
- var fe = Jt(p(p({}, m), {}, {
2184
- icons: {
2185
- main: K,
2186
- mask: Kt()
2187
- },
2188
- prefix: h,
2189
- iconName: A,
2190
- extra: X,
2191
- watchable: !0
2192
- })), J = W.createElementNS("http://www.w3.org/2000/svg", "svg");
2193
- t === "::before" ? e.insertBefore(J, e.firstChild) : e.appendChild(J), J.outerHTML = fe.map(function(ee) {
2194
- return Ye(ee);
2195
- }).join(`
2196
- `), e.removeAttribute(n), a();
2197
- }).catch(r);
2198
- } else
2199
- a();
2200
- } else
2201
- a();
2202
- });
2203
- }
2204
- function xi(e) {
2205
- return Promise.all([Cn(e, "::before"), Cn(e, "::after")]);
2206
- }
2207
- function wi(e) {
2208
- return e.parentNode !== document.head && !~lr.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Pt) && (!e.parentNode || e.parentNode.tagName !== "svg");
2209
- }
2210
- function In(e) {
2211
- if (me)
2212
- return new Promise(function(t, n) {
2213
- var a = Te(e.querySelectorAll("*")).filter(wi).map(xi), r = Qt.begin("searchPseudoElements");
2214
- ka(), Promise.all(a).then(function() {
2215
- r(), Lt(), t();
2216
- }).catch(function() {
2217
- r(), Lt(), n();
2218
- });
2219
- });
2220
- }
2221
- var ki = {
2222
- hooks: function() {
2223
- return {
2224
- mutationObserverCallbacks: function(n) {
2225
- return n.pseudoElementsCallback = In, n;
2226
- }
2227
- };
2228
- },
2229
- provides: function(t) {
2230
- t.pseudoElements2svg = function(n) {
2231
- var a = n.node, r = a === void 0 ? W : a;
2232
- y.searchPseudoElements && In(r);
2233
- };
2234
- }
2235
- }, Nn = !1, Ei = {
2236
- mixout: function() {
2237
- return {
2238
- dom: {
2239
- unwatch: function() {
2240
- ka(), Nn = !0;
2241
- }
2242
- }
2243
- };
2244
- },
2245
- hooks: function() {
2246
- return {
2247
- bootstrap: function() {
2248
- Sn(Ct("mutationObserverCallbacks", {}));
2249
- },
2250
- noAuto: function() {
2251
- ii();
2252
- },
2253
- watch: function(n) {
2254
- var a = n.observeMutationsRoot;
2255
- Nn ? Lt() : Sn(Ct("mutationObserverCallbacks", {
2256
- observeMutationsRoot: a
2257
- }));
2258
- }
2259
- };
2260
- }
2261
- }, Mn = function(t) {
2262
- var n = {
2263
- size: 16,
2264
- x: 0,
2265
- y: 0,
2266
- flipX: !1,
2267
- flipY: !1,
2268
- rotate: 0
2269
- };
2270
- return t.toLowerCase().split(" ").reduce(function(a, r) {
2271
- var i = r.toLowerCase().split("-"), o = i[0], s = i.slice(1).join("-");
2272
- if (o && s === "h")
2273
- return a.flipX = !0, a;
2274
- if (o && s === "v")
2275
- return a.flipY = !0, a;
2276
- if (s = parseFloat(s), isNaN(s))
2277
- return a;
2278
- switch (o) {
2279
- case "grow":
2280
- a.size = a.size + s;
2281
- break;
2282
- case "shrink":
2283
- a.size = a.size - s;
2284
- break;
2285
- case "left":
2286
- a.x = a.x - s;
2287
- break;
2288
- case "right":
2289
- a.x = a.x + s;
2290
- break;
2291
- case "up":
2292
- a.y = a.y - s;
2293
- break;
2294
- case "down":
2295
- a.y = a.y + s;
2296
- break;
2297
- case "rotate":
2298
- a.rotate = a.rotate + s;
2299
- break;
2300
- }
2301
- return a;
2302
- }, n);
2303
- }, Ai = {
2304
- mixout: function() {
2305
- return {
2306
- parse: {
2307
- transform: function(n) {
2308
- return Mn(n);
2309
- }
2310
- }
2311
- };
2312
- },
2313
- hooks: function() {
2314
- return {
2315
- parseNodeAttributes: function(n, a) {
2316
- var r = a.getAttribute("data-fa-transform");
2317
- return r && (n.transform = Mn(r)), n;
2318
- }
2319
- };
2320
- },
2321
- provides: function(t) {
2322
- t.generateAbstractTransformGrouping = function(n) {
2323
- var a = n.main, r = n.transform, i = n.containerWidth, o = n.iconWidth, s = {
2324
- transform: "translate(".concat(i / 2, " 256)")
2325
- }, f = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), l = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), c = "rotate(".concat(r.rotate, " 0 0)"), u = {
2326
- transform: "".concat(f, " ").concat(l, " ").concat(c)
2327
- }, g = {
2328
- transform: "translate(".concat(o / 2 * -1, " -256)")
2329
- }, h = {
2330
- outer: s,
2331
- inner: u,
2332
- path: g
2333
- };
2334
- return {
2335
- tag: "g",
2336
- attributes: p({}, h.outer),
2337
- children: [{
2338
- tag: "g",
2339
- attributes: p({}, h.inner),
2340
- children: [{
2341
- tag: a.icon.tag,
2342
- children: a.icon.children,
2343
- attributes: p(p({}, a.icon.attributes), h.path)
2344
- }]
2345
- }]
2346
- };
2347
- };
2348
- }
2349
- }, gt = {
2350
- x: 0,
2351
- y: 0,
2352
- width: "100%",
2353
- height: "100%"
2354
- };
2355
- function Rn(e) {
2356
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
2357
- return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
2358
- }
2359
- function Oi(e) {
2360
- return e.tag === "g" ? e.children : [e];
2361
- }
2362
- var Si = {
2363
- hooks: function() {
2364
- return {
2365
- parseNodeAttributes: function(n, a) {
2366
- var r = a.getAttribute("data-fa-mask"), i = r ? lt(r.split(" ").map(function(o) {
2367
- return o.trim();
2368
- })) : Kt();
2369
- return i.prefix || (i.prefix = pe()), n.mask = i, n.maskId = a.getAttribute("data-fa-mask-id"), n;
2370
- }
2371
- };
2372
- },
2373
- provides: function(t) {
2374
- t.generateAbstractMask = function(n) {
2375
- var a = n.children, r = n.attributes, i = n.main, o = n.mask, s = n.maskId, f = n.transform, l = i.width, c = i.icon, u = o.width, g = o.icon, h = Or({
2376
- transform: f,
2377
- containerWidth: u,
2378
- iconWidth: l
2379
- }), S = {
2380
- tag: "rect",
2381
- attributes: p(p({}, gt), {}, {
2382
- fill: "white"
2383
- })
2384
- }, x = c.children ? {
2385
- children: c.children.map(Rn)
2386
- } : {}, w = {
2387
- tag: "g",
2388
- attributes: p({}, h.inner),
2389
- children: [Rn(p({
2390
- tag: c.tag,
2391
- attributes: p(p({}, c.attributes), h.path)
2392
- }, x))]
2393
- }, N = {
2394
- tag: "g",
2395
- attributes: p({}, h.outer),
2396
- children: [w]
2397
- }, $ = "mask-".concat(s || De()), A = "clip-".concat(s || De()), M = {
2398
- tag: "mask",
2399
- attributes: p(p({}, gt), {}, {
2400
- id: $,
2401
- maskUnits: "userSpaceOnUse",
2402
- maskContentUnits: "userSpaceOnUse"
2403
- }),
2404
- children: [S, N]
2405
- }, m = {
2406
- tag: "defs",
2407
- children: [{
2408
- tag: "clipPath",
2409
- attributes: {
2410
- id: A
2411
- },
2412
- children: Oi(g)
2413
- }, M]
2414
- };
2415
- return a.push(m, {
2416
- tag: "rect",
2417
- attributes: p({
2418
- fill: "currentColor",
2419
- "clip-path": "url(#".concat(A, ")"),
2420
- mask: "url(#".concat($, ")")
2421
- }, gt)
2422
- }), {
2423
- children: a,
2424
- attributes: r
2425
- };
2426
- };
2427
- }
2428
- }, Pi = {
2429
- provides: function(t) {
2430
- var n = !1;
2431
- ve.matchMedia && (n = ve.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
2432
- var a = [], r = {
2433
- fill: "currentColor"
2434
- }, i = {
2435
- attributeType: "XML",
2436
- repeatCount: "indefinite",
2437
- dur: "2s"
2438
- };
2439
- a.push({
2440
- tag: "path",
2441
- attributes: p(p({}, r), {}, {
2442
- d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
2443
- })
2444
- });
2445
- var o = p(p({}, i), {}, {
2446
- attributeName: "opacity"
2447
- }), s = {
2448
- tag: "circle",
2449
- attributes: p(p({}, r), {}, {
2450
- cx: "256",
2451
- cy: "364",
2452
- r: "28"
2453
- }),
2454
- children: []
2455
- };
2456
- return n || s.children.push({
2457
- tag: "animate",
2458
- attributes: p(p({}, i), {}, {
2459
- attributeName: "r",
2460
- values: "28;14;28;28;14;28;"
2461
- })
2462
- }, {
2463
- tag: "animate",
2464
- attributes: p(p({}, o), {}, {
2465
- values: "1;0;1;1;0;1;"
2466
- })
2467
- }), a.push(s), a.push({
2468
- tag: "path",
2469
- attributes: p(p({}, r), {}, {
2470
- opacity: "1",
2471
- d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
2472
- }),
2473
- children: n ? [] : [{
2474
- tag: "animate",
2475
- attributes: p(p({}, o), {}, {
2476
- values: "1;0;0;0;0;1;"
2477
- })
2478
- }]
2479
- }), n || a.push({
2480
- tag: "path",
2481
- attributes: p(p({}, r), {}, {
2482
- opacity: "0",
2483
- d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
2484
- }),
2485
- children: [{
2486
- tag: "animate",
2487
- attributes: p(p({}, o), {}, {
2488
- values: "0;0;1;1;0;0;"
2489
- })
2490
- }]
2491
- }), {
2492
- tag: "g",
2493
- attributes: {
2494
- class: "missing"
2495
- },
2496
- children: a
2497
- };
2498
- };
2499
- }
2500
- }, Ti = {
2501
- hooks: function() {
2502
- return {
2503
- parseNodeAttributes: function(n, a) {
2504
- var r = a.getAttribute("data-fa-symbol"), i = r === null ? !1 : r === "" ? !0 : r;
2505
- return n.symbol = i, n;
2506
- }
2507
- };
2508
- }
2509
- }, _i = [Tr, vi, pi, bi, gi, ki, Ei, Ai, Si, Pi, Ti];
2510
- Hr(_i, {
2511
- mixoutsTo: te
2512
- });
2513
- te.noAuto;
2514
- te.config;
2515
- te.library;
2516
- te.dom;
2517
- var jt = te.parse;
2518
- te.findIconDefinition;
2519
- te.toHtml;
2520
- var Ci = te.icon;
2521
- te.layer;
2522
- te.text;
2523
- te.counter;
2524
- function Ii(e) {
2525
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2526
- }
2527
- var zt = { exports: {} }, et = { exports: {} }, D = {};
2528
- /** @license React v16.13.1
2529
- * react-is.production.min.js
2530
- *
2531
- * Copyright (c) Facebook, Inc. and its affiliates.
2532
- *
2533
- * This source code is licensed under the MIT license found in the
2534
- * LICENSE file in the root directory of this source tree.
2535
- */
2536
- var Ln;
2537
- function Ni() {
2538
- if (Ln) return D;
2539
- Ln = 1;
2540
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
2541
- function A(m) {
2542
- if (typeof m == "object" && m !== null) {
2543
- var X = m.$$typeof;
2544
- switch (X) {
2545
- case t:
2546
- switch (m = m.type, m) {
2547
- case f:
2548
- case l:
2549
- case a:
2550
- case i:
2551
- case r:
2552
- case u:
2553
- return m;
2554
- default:
2555
- switch (m = m && m.$$typeof, m) {
2556
- case s:
2557
- case c:
2558
- case S:
2559
- case h:
2560
- case o:
2561
- return m;
2562
- default:
2563
- return X;
2564
- }
2565
- }
2566
- case n:
2567
- return X;
2568
- }
2569
- }
2570
- }
2571
- function M(m) {
2572
- return A(m) === l;
2573
- }
2574
- return D.AsyncMode = f, D.ConcurrentMode = l, D.ContextConsumer = s, D.ContextProvider = o, D.Element = t, D.ForwardRef = c, D.Fragment = a, D.Lazy = S, D.Memo = h, D.Portal = n, D.Profiler = i, D.StrictMode = r, D.Suspense = u, D.isAsyncMode = function(m) {
2575
- return M(m) || A(m) === f;
2576
- }, D.isConcurrentMode = M, D.isContextConsumer = function(m) {
2577
- return A(m) === s;
2578
- }, D.isContextProvider = function(m) {
2579
- return A(m) === o;
2580
- }, D.isElement = function(m) {
2581
- return typeof m == "object" && m !== null && m.$$typeof === t;
2582
- }, D.isForwardRef = function(m) {
2583
- return A(m) === c;
2584
- }, D.isFragment = function(m) {
2585
- return A(m) === a;
2586
- }, D.isLazy = function(m) {
2587
- return A(m) === S;
2588
- }, D.isMemo = function(m) {
2589
- return A(m) === h;
2590
- }, D.isPortal = function(m) {
2591
- return A(m) === n;
2592
- }, D.isProfiler = function(m) {
2593
- return A(m) === i;
2594
- }, D.isStrictMode = function(m) {
2595
- return A(m) === r;
2596
- }, D.isSuspense = function(m) {
2597
- return A(m) === u;
2598
- }, D.isValidElementType = function(m) {
2599
- return typeof m == "string" || typeof m == "function" || m === a || m === l || m === i || m === r || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === S || m.$$typeof === h || m.$$typeof === o || m.$$typeof === s || m.$$typeof === c || m.$$typeof === w || m.$$typeof === N || m.$$typeof === $ || m.$$typeof === x);
2600
- }, D.typeOf = A, D;
2601
- }
2602
- var F = {};
2603
- /** @license React v16.13.1
2604
- * react-is.development.js
2605
- *
2606
- * Copyright (c) Facebook, Inc. and its affiliates.
2607
- *
2608
- * This source code is licensed under the MIT license found in the
2609
- * LICENSE file in the root directory of this source tree.
2610
- */
2611
- var jn;
2612
- function Mi() {
2613
- return jn || (jn = 1, process.env.NODE_ENV !== "production" && function() {
2614
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
2615
- function A(v) {
2616
- return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2617
- v === a || v === l || v === i || v === r || v === u || v === g || typeof v == "object" && v !== null && (v.$$typeof === S || v.$$typeof === h || v.$$typeof === o || v.$$typeof === s || v.$$typeof === c || v.$$typeof === w || v.$$typeof === N || v.$$typeof === $ || v.$$typeof === x);
2618
- }
2619
- function M(v) {
2620
- if (typeof v == "object" && v !== null) {
2621
- var re = v.$$typeof;
2622
- switch (re) {
2623
- case t:
2624
- var Ue = v.type;
2625
- switch (Ue) {
2626
- case f:
2627
- case l:
2628
- case a:
2629
- case i:
2630
- case r:
2631
- case u:
2632
- return Ue;
2633
- default:
2634
- var tn = Ue && Ue.$$typeof;
2635
- switch (tn) {
2636
- case s:
2637
- case c:
2638
- case S:
2639
- case h:
2640
- case o:
2641
- return tn;
2642
- default:
2643
- return re;
2644
- }
2645
- }
2646
- case n:
2647
- return re;
2648
- }
2649
- }
2650
- }
2651
- var m = f, X = l, K = s, fe = o, J = t, ee = c, ke = a, _e = S, ge = h, Y = n, z = i, O = r, ne = u, He = !1;
2652
- function mt(v) {
2653
- return He || (He = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), d(v) || M(v) === f;
2654
- }
2655
- function d(v) {
2656
- return M(v) === l;
2657
- }
2658
- function b(v) {
2659
- return M(v) === s;
2660
- }
2661
- function I(v) {
2662
- return M(v) === o;
2663
- }
2664
- function _(v) {
2665
- return typeof v == "object" && v !== null && v.$$typeof === t;
2666
- }
2667
- function k(v) {
2668
- return M(v) === c;
2669
- }
2670
- function R(v) {
2671
- return M(v) === a;
2672
- }
2673
- function P(v) {
2674
- return M(v) === S;
2675
- }
2676
- function C(v) {
2677
- return M(v) === h;
2678
- }
2679
- function L(v) {
2680
- return M(v) === n;
2681
- }
2682
- function H(v) {
2683
- return M(v) === i;
2684
- }
2685
- function j(v) {
2686
- return M(v) === r;
2687
- }
2688
- function Q(v) {
2689
- return M(v) === u;
2690
- }
2691
- F.AsyncMode = m, F.ConcurrentMode = X, F.ContextConsumer = K, F.ContextProvider = fe, F.Element = J, F.ForwardRef = ee, F.Fragment = ke, F.Lazy = _e, F.Memo = ge, F.Portal = Y, F.Profiler = z, F.StrictMode = O, F.Suspense = ne, F.isAsyncMode = mt, F.isConcurrentMode = d, F.isContextConsumer = b, F.isContextProvider = I, F.isElement = _, F.isForwardRef = k, F.isFragment = R, F.isLazy = P, F.isMemo = C, F.isPortal = L, F.isProfiler = H, F.isStrictMode = j, F.isSuspense = Q, F.isValidElementType = A, F.typeOf = M;
2692
- }()), F;
2693
- }
2694
- var zn;
2695
- function Aa() {
2696
- return zn || (zn = 1, process.env.NODE_ENV === "production" ? et.exports = Ni() : et.exports = Mi()), et.exports;
2697
- }
2698
- /*
2699
- object-assign
2700
- (c) Sindre Sorhus
2701
- @license MIT
2702
- */
2703
- var yt, Dn;
2704
- function Ri() {
2705
- if (Dn) return yt;
2706
- Dn = 1;
2707
- var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
2708
- function a(i) {
2709
- if (i == null)
2710
- throw new TypeError("Object.assign cannot be called with null or undefined");
2711
- return Object(i);
2712
- }
2713
- function r() {
2714
- try {
2715
- if (!Object.assign)
2716
- return !1;
2717
- var i = new String("abc");
2718
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
2719
- return !1;
2720
- for (var o = {}, s = 0; s < 10; s++)
2721
- o["_" + String.fromCharCode(s)] = s;
2722
- var f = Object.getOwnPropertyNames(o).map(function(c) {
2723
- return o[c];
2724
- });
2725
- if (f.join("") !== "0123456789")
2726
- return !1;
2727
- var l = {};
2728
- return "abcdefghijklmnopqrst".split("").forEach(function(c) {
2729
- l[c] = c;
2730
- }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
2731
- } catch {
2732
- return !1;
2733
- }
2734
- }
2735
- return yt = r() ? Object.assign : function(i, o) {
2736
- for (var s, f = a(i), l, c = 1; c < arguments.length; c++) {
2737
- s = Object(arguments[c]);
2738
- for (var u in s)
2739
- t.call(s, u) && (f[u] = s[u]);
2740
- if (e) {
2741
- l = e(s);
2742
- for (var g = 0; g < l.length; g++)
2743
- n.call(s, l[g]) && (f[l[g]] = s[l[g]]);
2744
- }
2745
- }
2746
- return f;
2747
- }, yt;
2748
- }
2749
- var ht, Fn;
2750
- function en() {
2751
- if (Fn) return ht;
2752
- Fn = 1;
2753
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
2754
- return ht = e, ht;
2755
- }
2756
- var xt, $n;
2757
- function Oa() {
2758
- return $n || ($n = 1, xt = Function.call.bind(Object.prototype.hasOwnProperty)), xt;
2759
- }
2760
- var wt, Yn;
2761
- function Li() {
2762
- if (Yn) return wt;
2763
- Yn = 1;
2764
- var e = function() {
2765
- };
2766
- if (process.env.NODE_ENV !== "production") {
2767
- var t = en(), n = {}, a = Oa();
2768
- e = function(i) {
2769
- var o = "Warning: " + i;
2770
- typeof console < "u" && console.error(o);
2771
- try {
2772
- throw new Error(o);
2773
- } catch {
2774
- }
2775
- };
2776
- }
2777
- function r(i, o, s, f, l) {
2778
- if (process.env.NODE_ENV !== "production") {
2779
- for (var c in i)
2780
- if (a(i, c)) {
2781
- var u;
2782
- try {
2783
- if (typeof i[c] != "function") {
2784
- var g = Error(
2785
- (f || "React class") + ": " + s + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2786
- );
2787
- throw g.name = "Invariant Violation", g;
2788
- }
2789
- u = i[c](o, c, f, s, null, t);
2790
- } catch (S) {
2791
- u = S;
2792
- }
2793
- if (u && !(u instanceof Error) && e(
2794
- (f || "React class") + ": type specification of " + s + " `" + c + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2795
- ), u instanceof Error && !(u.message in n)) {
2796
- n[u.message] = !0;
2797
- var h = l ? l() : "";
2798
- e(
2799
- "Failed " + s + " type: " + u.message + (h ?? "")
2800
- );
2801
- }
2802
- }
2803
- }
2804
- }
2805
- return r.resetWarningCache = function() {
2806
- process.env.NODE_ENV !== "production" && (n = {});
2807
- }, wt = r, wt;
2808
- }
2809
- var kt, Hn;
2810
- function ji() {
2811
- if (Hn) return kt;
2812
- Hn = 1;
2813
- var e = Aa(), t = Ri(), n = en(), a = Oa(), r = Li(), i = function() {
2814
- };
2815
- process.env.NODE_ENV !== "production" && (i = function(s) {
2816
- var f = "Warning: " + s;
2817
- typeof console < "u" && console.error(f);
2818
- try {
2819
- throw new Error(f);
2820
- } catch {
2821
- }
2822
- });
2823
- function o() {
2824
- return null;
2825
- }
2826
- return kt = function(s, f) {
2827
- var l = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
2828
- function u(d) {
2829
- var b = d && (l && d[l] || d[c]);
2830
- if (typeof b == "function")
2831
- return b;
2832
- }
2833
- var g = "<<anonymous>>", h = {
2834
- array: N("array"),
2835
- bigint: N("bigint"),
2836
- bool: N("boolean"),
2837
- func: N("function"),
2838
- number: N("number"),
2839
- object: N("object"),
2840
- string: N("string"),
2841
- symbol: N("symbol"),
2842
- any: $(),
2843
- arrayOf: A,
2844
- element: M(),
2845
- elementType: m(),
2846
- instanceOf: X,
2847
- node: ee(),
2848
- objectOf: fe,
2849
- oneOf: K,
2850
- oneOfType: J,
2851
- shape: _e,
2852
- exact: ge
2853
- };
2854
- function S(d, b) {
2855
- return d === b ? d !== 0 || 1 / d === 1 / b : d !== d && b !== b;
2856
- }
2857
- function x(d, b) {
2858
- this.message = d, this.data = b && typeof b == "object" ? b : {}, this.stack = "";
2859
- }
2860
- x.prototype = Error.prototype;
2861
- function w(d) {
2862
- if (process.env.NODE_ENV !== "production")
2863
- var b = {}, I = 0;
2864
- function _(R, P, C, L, H, j, Q) {
2865
- if (L = L || g, j = j || C, Q !== n) {
2866
- if (f) {
2867
- var v = new Error(
2868
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
2869
- );
2870
- throw v.name = "Invariant Violation", v;
2871
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2872
- var re = L + ":" + C;
2873
- !b[re] && // Avoid spamming the console because they are often not actionable except for lib authors
2874
- I < 3 && (i(
2875
- "You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + L + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2876
- ), b[re] = !0, I++);
2877
- }
2878
- }
2879
- return P[C] == null ? R ? P[C] === null ? new x("The " + H + " `" + j + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new x("The " + H + " `" + j + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : d(P, C, L, H, j);
2880
- }
2881
- var k = _.bind(null, !1);
2882
- return k.isRequired = _.bind(null, !0), k;
2883
- }
2884
- function N(d) {
2885
- function b(I, _, k, R, P, C) {
2886
- var L = I[_], H = O(L);
2887
- if (H !== d) {
2888
- var j = ne(L);
2889
- return new x(
2890
- "Invalid " + R + " `" + P + "` of type " + ("`" + j + "` supplied to `" + k + "`, expected ") + ("`" + d + "`."),
2891
- { expectedType: d }
2892
- );
2893
- }
2894
- return null;
2895
- }
2896
- return w(b);
2897
- }
2898
- function $() {
2899
- return w(o);
2900
- }
2901
- function A(d) {
2902
- function b(I, _, k, R, P) {
2903
- if (typeof d != "function")
2904
- return new x("Property `" + P + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
2905
- var C = I[_];
2906
- if (!Array.isArray(C)) {
2907
- var L = O(C);
2908
- return new x("Invalid " + R + " `" + P + "` of type " + ("`" + L + "` supplied to `" + k + "`, expected an array."));
2909
- }
2910
- for (var H = 0; H < C.length; H++) {
2911
- var j = d(C, H, k, R, P + "[" + H + "]", n);
2912
- if (j instanceof Error)
2913
- return j;
2914
- }
2915
- return null;
2916
- }
2917
- return w(b);
2918
- }
2919
- function M() {
2920
- function d(b, I, _, k, R) {
2921
- var P = b[I];
2922
- if (!s(P)) {
2923
- var C = O(P);
2924
- return new x("Invalid " + k + " `" + R + "` of type " + ("`" + C + "` supplied to `" + _ + "`, expected a single ReactElement."));
2925
- }
2926
- return null;
2927
- }
2928
- return w(d);
2929
- }
2930
- function m() {
2931
- function d(b, I, _, k, R) {
2932
- var P = b[I];
2933
- if (!e.isValidElementType(P)) {
2934
- var C = O(P);
2935
- return new x("Invalid " + k + " `" + R + "` of type " + ("`" + C + "` supplied to `" + _ + "`, expected a single ReactElement type."));
2936
- }
2937
- return null;
2938
- }
2939
- return w(d);
2940
- }
2941
- function X(d) {
2942
- function b(I, _, k, R, P) {
2943
- if (!(I[_] instanceof d)) {
2944
- var C = d.name || g, L = mt(I[_]);
2945
- return new x("Invalid " + R + " `" + P + "` of type " + ("`" + L + "` supplied to `" + k + "`, expected ") + ("instance of `" + C + "`."));
2946
- }
2947
- return null;
2948
- }
2949
- return w(b);
2950
- }
2951
- function K(d) {
2952
- if (!Array.isArray(d))
2953
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
2954
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2955
- ) : i("Invalid argument supplied to oneOf, expected an array.")), o;
2956
- function b(I, _, k, R, P) {
2957
- for (var C = I[_], L = 0; L < d.length; L++)
2958
- if (S(C, d[L]))
2959
- return null;
2960
- var H = JSON.stringify(d, function(Q, v) {
2961
- var re = ne(v);
2962
- return re === "symbol" ? String(v) : v;
2963
- });
2964
- return new x("Invalid " + R + " `" + P + "` of value `" + String(C) + "` " + ("supplied to `" + k + "`, expected one of " + H + "."));
2965
- }
2966
- return w(b);
2967
- }
2968
- function fe(d) {
2969
- function b(I, _, k, R, P) {
2970
- if (typeof d != "function")
2971
- return new x("Property `" + P + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
2972
- var C = I[_], L = O(C);
2973
- if (L !== "object")
2974
- return new x("Invalid " + R + " `" + P + "` of type " + ("`" + L + "` supplied to `" + k + "`, expected an object."));
2975
- for (var H in C)
2976
- if (a(C, H)) {
2977
- var j = d(C, H, k, R, P + "." + H, n);
2978
- if (j instanceof Error)
2979
- return j;
2980
- }
2981
- return null;
2982
- }
2983
- return w(b);
2984
- }
2985
- function J(d) {
2986
- if (!Array.isArray(d))
2987
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), o;
2988
- for (var b = 0; b < d.length; b++) {
2989
- var I = d[b];
2990
- if (typeof I != "function")
2991
- return i(
2992
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + He(I) + " at index " + b + "."
2993
- ), o;
2994
- }
2995
- function _(k, R, P, C, L) {
2996
- for (var H = [], j = 0; j < d.length; j++) {
2997
- var Q = d[j], v = Q(k, R, P, C, L, n);
2998
- if (v == null)
2999
- return null;
3000
- v.data && a(v.data, "expectedType") && H.push(v.data.expectedType);
3001
- }
3002
- var re = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
3003
- return new x("Invalid " + C + " `" + L + "` supplied to " + ("`" + P + "`" + re + "."));
3004
- }
3005
- return w(_);
3006
- }
3007
- function ee() {
3008
- function d(b, I, _, k, R) {
3009
- return Y(b[I]) ? null : new x("Invalid " + k + " `" + R + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
3010
- }
3011
- return w(d);
3012
- }
3013
- function ke(d, b, I, _, k) {
3014
- return new x(
3015
- (d || "React class") + ": " + b + " type `" + I + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + k + "`."
3016
- );
3017
- }
3018
- function _e(d) {
3019
- function b(I, _, k, R, P) {
3020
- var C = I[_], L = O(C);
3021
- if (L !== "object")
3022
- return new x("Invalid " + R + " `" + P + "` of type `" + L + "` " + ("supplied to `" + k + "`, expected `object`."));
3023
- for (var H in d) {
3024
- var j = d[H];
3025
- if (typeof j != "function")
3026
- return ke(k, R, P, H, ne(j));
3027
- var Q = j(C, H, k, R, P + "." + H, n);
3028
- if (Q)
3029
- return Q;
3030
- }
3031
- return null;
3032
- }
3033
- return w(b);
3034
- }
3035
- function ge(d) {
3036
- function b(I, _, k, R, P) {
3037
- var C = I[_], L = O(C);
3038
- if (L !== "object")
3039
- return new x("Invalid " + R + " `" + P + "` of type `" + L + "` " + ("supplied to `" + k + "`, expected `object`."));
3040
- var H = t({}, I[_], d);
3041
- for (var j in H) {
3042
- var Q = d[j];
3043
- if (a(d, j) && typeof Q != "function")
3044
- return ke(k, R, P, j, ne(Q));
3045
- if (!Q)
3046
- return new x(
3047
- "Invalid " + R + " `" + P + "` key `" + j + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(I[_], null, " ") + `
3048
- Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
3049
- );
3050
- var v = Q(C, j, k, R, P + "." + j, n);
3051
- if (v)
3052
- return v;
3053
- }
3054
- return null;
3055
- }
3056
- return w(b);
3057
- }
3058
- function Y(d) {
3059
- switch (typeof d) {
3060
- case "number":
3061
- case "string":
3062
- case "undefined":
3063
- return !0;
3064
- case "boolean":
3065
- return !d;
3066
- case "object":
3067
- if (Array.isArray(d))
3068
- return d.every(Y);
3069
- if (d === null || s(d))
3070
- return !0;
3071
- var b = u(d);
3072
- if (b) {
3073
- var I = b.call(d), _;
3074
- if (b !== d.entries) {
3075
- for (; !(_ = I.next()).done; )
3076
- if (!Y(_.value))
3077
- return !1;
3078
- } else
3079
- for (; !(_ = I.next()).done; ) {
3080
- var k = _.value;
3081
- if (k && !Y(k[1]))
3082
- return !1;
3083
- }
3084
- } else
3085
- return !1;
3086
- return !0;
3087
- default:
3088
- return !1;
3089
- }
3090
- }
3091
- function z(d, b) {
3092
- return d === "symbol" ? !0 : b ? b["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && b instanceof Symbol : !1;
3093
- }
3094
- function O(d) {
3095
- var b = typeof d;
3096
- return Array.isArray(d) ? "array" : d instanceof RegExp ? "object" : z(b, d) ? "symbol" : b;
3097
- }
3098
- function ne(d) {
3099
- if (typeof d > "u" || d === null)
3100
- return "" + d;
3101
- var b = O(d);
3102
- if (b === "object") {
3103
- if (d instanceof Date)
3104
- return "date";
3105
- if (d instanceof RegExp)
3106
- return "regexp";
3107
- }
3108
- return b;
3109
- }
3110
- function He(d) {
3111
- var b = ne(d);
3112
- switch (b) {
3113
- case "array":
3114
- case "object":
3115
- return "an " + b;
3116
- case "boolean":
3117
- case "date":
3118
- case "regexp":
3119
- return "a " + b;
3120
- default:
3121
- return b;
3122
- }
3123
- }
3124
- function mt(d) {
3125
- return !d.constructor || !d.constructor.name ? g : d.constructor.name;
3126
- }
3127
- return h.checkPropTypes = r, h.resetWarningCache = r.resetWarningCache, h.PropTypes = h, h;
3128
- }, kt;
3129
- }
3130
- var Et, Un;
3131
- function zi() {
3132
- if (Un) return Et;
3133
- Un = 1;
3134
- var e = en();
3135
- function t() {
3136
- }
3137
- function n() {
3138
- }
3139
- return n.resetWarningCache = t, Et = function() {
3140
- function a(o, s, f, l, c, u) {
3141
- if (u !== e) {
3142
- var g = new Error(
3143
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
3144
- );
3145
- throw g.name = "Invariant Violation", g;
3146
- }
3147
- }
3148
- a.isRequired = a;
3149
- function r() {
3150
- return a;
3151
- }
3152
- var i = {
3153
- array: a,
3154
- bigint: a,
3155
- bool: a,
3156
- func: a,
3157
- number: a,
3158
- object: a,
3159
- string: a,
3160
- symbol: a,
3161
- any: a,
3162
- arrayOf: r,
3163
- element: a,
3164
- elementType: a,
3165
- instanceOf: r,
3166
- node: a,
3167
- objectOf: r,
3168
- oneOf: r,
3169
- oneOfType: r,
3170
- shape: r,
3171
- exact: r,
3172
- checkPropTypes: n,
3173
- resetWarningCache: t
3174
- };
3175
- return i.PropTypes = i, i;
3176
- }, Et;
3177
- }
3178
- if (process.env.NODE_ENV !== "production") {
3179
- var Di = Aa(), Fi = !0;
3180
- zt.exports = ji()(Di.isElement, Fi);
3181
- } else
3182
- zt.exports = zi()();
3183
- var $i = zt.exports;
3184
- const T = /* @__PURE__ */ Ii($i);
3185
- function Wn(e, t) {
3186
- var n = Object.keys(e);
3187
- if (Object.getOwnPropertySymbols) {
3188
- var a = Object.getOwnPropertySymbols(e);
3189
- t && (a = a.filter(function(r) {
3190
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
3191
- })), n.push.apply(n, a);
3192
- }
3193
- return n;
3194
- }
3195
- function ie(e) {
3196
- for (var t = 1; t < arguments.length; t++) {
3197
- var n = arguments[t] != null ? arguments[t] : {};
3198
- t % 2 ? Wn(Object(n), !0).forEach(function(a) {
3199
- Oe(e, a, n[a]);
3200
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wn(Object(n)).forEach(function(a) {
3201
- Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
3202
- });
3203
- }
3204
- return e;
3205
- }
3206
- function st(e) {
3207
- "@babel/helpers - typeof";
3208
- return st = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3209
- return typeof t;
3210
- } : function(t) {
3211
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3212
- }, st(e);
3213
- }
3214
- function Oe(e, t, n) {
3215
- return t in e ? Object.defineProperty(e, t, {
3216
- value: n,
3217
- enumerable: !0,
3218
- configurable: !0,
3219
- writable: !0
3220
- }) : e[t] = n, e;
3221
- }
3222
- function Yi(e, t) {
3223
- if (e == null) return {};
3224
- var n = {}, a = Object.keys(e), r, i;
3225
- for (i = 0; i < a.length; i++)
3226
- r = a[i], !(t.indexOf(r) >= 0) && (n[r] = e[r]);
3227
- return n;
3228
- }
3229
- function Hi(e, t) {
3230
- if (e == null) return {};
3231
- var n = Yi(e, t), a, r;
3232
- if (Object.getOwnPropertySymbols) {
3233
- var i = Object.getOwnPropertySymbols(e);
3234
- for (r = 0; r < i.length; r++)
3235
- a = i[r], !(t.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (n[a] = e[a]);
3236
- }
3237
- return n;
3238
- }
3239
- function Dt(e) {
3240
- return Ui(e) || Wi(e) || Bi(e) || Vi();
3241
- }
3242
- function Ui(e) {
3243
- if (Array.isArray(e)) return Ft(e);
3244
- }
3245
- function Wi(e) {
3246
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
3247
- }
3248
- function Bi(e, t) {
3249
- if (e) {
3250
- if (typeof e == "string") return Ft(e, t);
3251
- var n = Object.prototype.toString.call(e).slice(8, -1);
3252
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
3253
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ft(e, t);
3254
- }
3255
- }
3256
- function Ft(e, t) {
3257
- (t == null || t > e.length) && (t = e.length);
3258
- for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
3259
- return a;
3260
- }
3261
- function Vi() {
3262
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
3263
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3264
- }
3265
- function qi(e) {
3266
- var t, n = e.beat, a = e.fade, r = e.beatFade, i = e.bounce, o = e.shake, s = e.flash, f = e.spin, l = e.spinPulse, c = e.spinReverse, u = e.pulse, g = e.fixedWidth, h = e.inverse, S = e.border, x = e.listItem, w = e.flip, N = e.size, $ = e.rotation, A = e.pull, M = (t = {
3267
- "fa-beat": n,
3268
- "fa-fade": a,
3269
- "fa-beat-fade": r,
3270
- "fa-bounce": i,
3271
- "fa-shake": o,
3272
- "fa-flash": s,
3273
- "fa-spin": f,
3274
- "fa-spin-reverse": c,
3275
- "fa-spin-pulse": l,
3276
- "fa-pulse": u,
3277
- "fa-fw": g,
3278
- "fa-inverse": h,
3279
- "fa-border": S,
3280
- "fa-li": x,
3281
- "fa-flip": w === !0,
3282
- "fa-flip-horizontal": w === "horizontal" || w === "both",
3283
- "fa-flip-vertical": w === "vertical" || w === "both"
3284
- }, Oe(t, "fa-".concat(N), typeof N < "u" && N !== null), Oe(t, "fa-rotate-".concat($), typeof $ < "u" && $ !== null && $ !== 0), Oe(t, "fa-pull-".concat(A), typeof A < "u" && A !== null), Oe(t, "fa-swap-opacity", e.swapOpacity), t);
3285
- return Object.keys(M).map(function(m) {
3286
- return M[m] ? m : null;
3287
- }).filter(function(m) {
3288
- return m;
3289
- });
3290
- }
3291
- function Gi(e) {
3292
- return e = e - 0, e === e;
3293
- }
3294
- function Sa(e) {
3295
- return Gi(e) ? e : (e = e.replace(/[\-_\s]+(.)?/g, function(t, n) {
3296
- return n ? n.toUpperCase() : "";
3297
- }), e.substr(0, 1).toLowerCase() + e.substr(1));
3298
- }
3299
- var Xi = ["style"];
3300
- function Ki(e) {
3301
- return e.charAt(0).toUpperCase() + e.slice(1);
3302
- }
3303
- function Ji(e) {
3304
- return e.split(";").map(function(t) {
3305
- return t.trim();
3306
- }).filter(function(t) {
3307
- return t;
3308
- }).reduce(function(t, n) {
3309
- var a = n.indexOf(":"), r = Sa(n.slice(0, a)), i = n.slice(a + 1).trim();
3310
- return r.startsWith("webkit") ? t[Ki(r)] = i : t[r] = i, t;
3311
- }, {});
3312
- }
3313
- function Pa(e, t) {
3314
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3315
- if (typeof t == "string")
3316
- return t;
3317
- var a = (t.children || []).map(function(f) {
3318
- return Pa(e, f);
3319
- }), r = Object.keys(t.attributes || {}).reduce(function(f, l) {
3320
- var c = t.attributes[l];
3321
- switch (l) {
3322
- case "class":
3323
- f.attrs.className = c, delete t.attributes.class;
3324
- break;
3325
- case "style":
3326
- f.attrs.style = Ji(c);
3327
- break;
3328
- default:
3329
- l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? f.attrs[l.toLowerCase()] = c : f.attrs[Sa(l)] = c;
3330
- }
3331
- return f;
3332
- }, {
3333
- attrs: {}
3334
- }), i = n.style, o = i === void 0 ? {} : i, s = Hi(n, Xi);
3335
- return r.attrs.style = ie(ie({}, r.attrs.style), o), e.apply(void 0, [t.tag, ie(ie({}, r.attrs), s)].concat(Dt(a)));
3336
- }
3337
- var Ta = !1;
3338
- try {
3339
- Ta = process.env.NODE_ENV === "production";
3340
- } catch {
3341
- }
3342
- function Qi() {
3343
- if (!Ta && console && typeof console.error == "function") {
3344
- var e;
3345
- (e = console).error.apply(e, arguments);
3346
- }
3347
- }
3348
- function Bn(e) {
3349
- if (e && st(e) === "object" && e.prefix && e.iconName && e.icon)
3350
- return e;
3351
- if (jt.icon)
3352
- return jt.icon(e);
3353
- if (e === null)
3354
- return null;
3355
- if (e && st(e) === "object" && e.prefix && e.iconName)
3356
- return e;
3357
- if (Array.isArray(e) && e.length === 2)
3358
- return {
3359
- prefix: e[0],
3360
- iconName: e[1]
3361
- };
3362
- if (typeof e == "string")
3363
- return {
3364
- prefix: "fas",
3365
- iconName: e
3366
- };
3367
- }
3368
- function At(e, t) {
3369
- return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? Oe({}, e, t) : {};
3370
- }
3371
- var Vn = {
3372
- border: !1,
3373
- className: "",
3374
- mask: null,
3375
- maskId: null,
3376
- fixedWidth: !1,
3377
- inverse: !1,
3378
- flip: !1,
3379
- icon: null,
3380
- listItem: !1,
3381
- pull: null,
3382
- pulse: !1,
3383
- rotation: null,
3384
- size: null,
3385
- spin: !1,
3386
- spinPulse: !1,
3387
- spinReverse: !1,
3388
- beat: !1,
3389
- fade: !1,
3390
- beatFade: !1,
3391
- bounce: !1,
3392
- shake: !1,
3393
- symbol: !1,
3394
- title: "",
3395
- titleId: null,
3396
- transform: null,
3397
- swapOpacity: !1
3398
- }, oe = /* @__PURE__ */ Kn.forwardRef(function(e, t) {
3399
- var n = ie(ie({}, Vn), e), a = n.icon, r = n.mask, i = n.symbol, o = n.className, s = n.title, f = n.titleId, l = n.maskId, c = Bn(a), u = At("classes", [].concat(Dt(qi(n)), Dt((o || "").split(" ")))), g = At("transform", typeof n.transform == "string" ? jt.transform(n.transform) : n.transform), h = At("mask", Bn(r)), S = Ci(c, ie(ie(ie(ie({}, u), g), h), {}, {
3400
- symbol: i,
3401
- title: s,
3402
- titleId: f,
3403
- maskId: l
3404
- }));
3405
- if (!S)
3406
- return Qi("Could not find icon", c), null;
3407
- var x = S.abstract, w = {
3408
- ref: t
3409
- };
3410
- return Object.keys(n).forEach(function(N) {
3411
- Vn.hasOwnProperty(N) || (w[N] = n[N]);
3412
- }), Zi(x[0], w);
3413
- });
3414
- oe.displayName = "FontAwesomeIcon";
3415
- oe.propTypes = {
3416
- beat: T.bool,
3417
- border: T.bool,
3418
- beatFade: T.bool,
3419
- bounce: T.bool,
3420
- className: T.string,
3421
- fade: T.bool,
3422
- flash: T.bool,
3423
- mask: T.oneOfType([T.object, T.array, T.string]),
3424
- maskId: T.string,
3425
- fixedWidth: T.bool,
3426
- inverse: T.bool,
3427
- flip: T.oneOf([!0, !1, "horizontal", "vertical", "both"]),
3428
- icon: T.oneOfType([T.object, T.array, T.string]),
3429
- listItem: T.bool,
3430
- pull: T.oneOf(["right", "left"]),
3431
- pulse: T.bool,
3432
- rotation: T.oneOf([0, 90, 180, 270]),
3433
- shake: T.bool,
3434
- size: T.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
3435
- spin: T.bool,
3436
- spinPulse: T.bool,
3437
- spinReverse: T.bool,
3438
- symbol: T.oneOfType([T.bool, T.string]),
3439
- title: T.string,
3440
- titleId: T.string,
3441
- transform: T.oneOfType([T.string, T.object]),
3442
- swapOpacity: T.bool
3443
- };
3444
- var Zi = Pa.bind(null, Kn.createElement), eo = {
3445
- prefix: "fas",
3446
- iconName: "file-lines",
3447
- icon: [384, 512, [128441, 128462, 61686, "file-alt", "file-text"], "f15c", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
3448
- }, to = {
3449
- prefix: "fas",
3450
- iconName: "caret-right",
3451
- icon: [256, 512, [], "f0da", "M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]
3452
- }, no = {
3453
- prefix: "fas",
3454
- iconName: "caret-left",
3455
- icon: [256, 512, [], "f0d9", "M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"]
3456
- }, ao = {
3457
- prefix: "fas",
3458
- iconName: "image",
3459
- icon: [512, 512, [], "f03e", "M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]
3460
- }, qn = {
3461
- prefix: "fas",
3462
- iconName: "trash",
3463
- icon: [448, 512, [], "f1f8", "M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]
3464
- }, ro = {
3465
- prefix: "fas",
3466
- iconName: "circle-info",
3467
- icon: [512, 512, ["info-circle"], "f05a", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]
3468
- }, io = {
3469
- prefix: "fas",
3470
- iconName: "gear",
3471
- icon: [512, 512, [9881, "cog"], "f013", "M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]
3472
- }, oo = io, so = {
3473
- prefix: "fas",
3474
- iconName: "download",
3475
- icon: [512, 512, [], "f019", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]
3476
- }, fo = {
3477
- prefix: "fas",
3478
- iconName: "house",
3479
- icon: [576, 512, [127968, 63498, 63500, "home", "home-alt", "home-lg-alt"], "f015", "M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]
3480
- }, co = {
3481
- prefix: "fas",
3482
- iconName: "magnifying-glass",
3483
- icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
3484
- }, lo = co, uo = {
3485
- prefix: "fas",
3486
- iconName: "arrow-up",
3487
- icon: [384, 512, [8593], "f062", "M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]
3488
- }, mo = {
3489
- prefix: "fas",
3490
- iconName: "plus",
3491
- icon: [448, 512, [10133, 61543, "add"], "2b", "M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]
3492
- }, vo = {
3493
- prefix: "fas",
3494
- iconName: "desktop",
3495
- icon: [576, 512, [128421, 61704, "desktop-alt"], "f390", "M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64H240l-10.7 32H160c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H346.7L336 416H512c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM512 64V288H64V64H512z"]
3496
- };
3497
- function tt({ onClick: e, icon: t, name: n }) {
3498
- return /* @__PURE__ */ V(
19
+ function b({ onClick: o, icon: h, name: a }) {
20
+ return /* @__PURE__ */ i(
3499
21
  "button",
3500
22
  {
3501
23
  tabIndex: 0,
3502
- className: `${G.NavButton} ${$t.TextSemibold}`,
3503
- onClick: e,
24
+ className: `${l.NavButton} ${P.TextSemibold}`,
25
+ onClick: o,
3504
26
  children: [
3505
- /* @__PURE__ */ E(oe, { icon: t }),
3506
- n
27
+ /* @__PURE__ */ e(m, { icon: h }),
28
+ a
3507
29
  ]
3508
30
  }
3509
31
  );
3510
32
  }
3511
- function po({ directory: e }) {
3512
- const t = (n) => {
3513
- const a = n.target.files;
3514
- a != null && Array.from(a).forEach((r) => {
3515
- const { name: i, extension: o } = _a.splitId(r.name), s = new FileReader();
3516
- s.onload = (f) => {
3517
- const { result: l } = f.target;
3518
- e.createFile(i, o, (c) => {
3519
- c.setSource(l);
33
+ function Me({ directory: o }) {
34
+ const h = (a) => {
35
+ const N = a.target.files;
36
+ N != null && Array.from(N).forEach((p) => {
37
+ const { name: u, extension: _ } = te.splitId(p.name), r = new FileReader();
38
+ r.onload = (I) => {
39
+ const { result: y } = I.target;
40
+ o.createFile(u, _, (c) => {
41
+ c.setSource(y);
3520
42
  });
3521
- }, s.readAsDataURL(r);
43
+ }, r.readAsDataURL(p);
3522
44
  });
3523
45
  };
3524
- return /* @__PURE__ */ V("label", { title: "Import", tabIndex: 0, className: G.IconButton, children: [
3525
- /* @__PURE__ */ E(
46
+ return /* @__PURE__ */ i("label", { title: "Import", tabIndex: 0, className: l.IconButton, children: [
47
+ /* @__PURE__ */ e(
3526
48
  "input",
3527
49
  {
3528
50
  type: "file",
3529
51
  id: "import",
3530
52
  multiple: !0,
3531
53
  style: { display: "none" },
3532
- onChange: t
54
+ onChange: h
3533
55
  }
3534
56
  ),
3535
- /* @__PURE__ */ E(oe, { icon: so })
57
+ /* @__PURE__ */ e(m, { icon: he })
3536
58
  ] });
3537
59
  }
3538
- const Gn = {
60
+ const R = {
3539
61
  NONE: 0,
3540
62
  SINGLE: 1,
3541
63
  MULTIPLE: 2
3542
- }, bo = "_FileProperties_s5har_1", go = "_Icon_s5har_17", yo = "_Section_s5har_49", ho = "_Line_s5har_91", xo = "_AppIcon_s5har_135", Z = {
3543
- FileProperties: bo,
3544
- Icon: go,
3545
- Section: yo,
3546
- Line: ho,
3547
- AppIcon: xo
64
+ }, Fe = "_FileProperties_s5har_1", Ue = "_Icon_s5har_17", $e = "_Section_s5har_49", ze = "_Line_s5har_91", He = "_AppIcon_s5har_135", d = {
65
+ FileProperties: Fe,
66
+ Icon: Ue,
67
+ Section: $e,
68
+ Line: ze,
69
+ AppIcon: He
3548
70
  };
3549
- function wo({ modal: e, params: t, file: n, ...a }) {
3550
- const { appsConfig: r } = Xn(), i = n.extension != null ? r.getAppByFileExtension(n.extension) : null;
3551
- return /* @__PURE__ */ V(Ca, { className: Z.FileProperties, modal: e, params: t, ...a, children: [
3552
- /* @__PURE__ */ V("span", { className: Z.Section, children: [
3553
- /* @__PURE__ */ E(nn, { className: Z.Icon, source: n.getIconUrl() }),
3554
- /* @__PURE__ */ E("p", { className: `${Z.Line} ${$t.TextBold}`, children: n.id })
71
+ function Ve({ modal: o, params: h, file: a, ...N }) {
72
+ const { appsConfig: p } = G(), u = a.extension != null ? p.getAppByFileExtension(a.extension) : null;
73
+ return /* @__PURE__ */ i(ne, { className: d.FileProperties, modal: o, params: h, ...N, children: [
74
+ /* @__PURE__ */ i("span", { className: d.Section, children: [
75
+ /* @__PURE__ */ e(O, { className: d.Icon, source: a.getIconUrl() }),
76
+ /* @__PURE__ */ e("p", { className: `${d.Line} ${P.TextBold}`, children: a.id })
3555
77
  ] }),
3556
- /* @__PURE__ */ V("span", { className: Z.Section, children: [
3557
- /* @__PURE__ */ V("p", { className: Z.Line, children: [
78
+ /* @__PURE__ */ i("span", { className: d.Section, children: [
79
+ /* @__PURE__ */ i("p", { className: d.Line, children: [
3558
80
  "Type: ",
3559
- n.getType()
81
+ a.getType()
3560
82
  ] }),
3561
- i != null && /* @__PURE__ */ V("span", { className: Z.Line, children: [
83
+ u != null && /* @__PURE__ */ i("span", { className: d.Line, children: [
3562
84
  "Opens with:",
3563
- /* @__PURE__ */ E(nn, { className: Z.AppIcon, source: i.iconUrl ?? "" }),
3564
- i.name
85
+ /* @__PURE__ */ e(O, { className: d.AppIcon, source: u.iconUrl ?? "" }),
86
+ u.name
3565
87
  ] })
3566
88
  ] }),
3567
- /* @__PURE__ */ V("span", { className: Z.Section, children: [
3568
- /* @__PURE__ */ V("p", { className: Z.Line, children: [
89
+ /* @__PURE__ */ i("span", { className: d.Section, children: [
90
+ /* @__PURE__ */ i("p", { className: d.Line, children: [
3569
91
  "Location: ",
3570
- n.path
92
+ a.path
3571
93
  ] }),
3572
- /* @__PURE__ */ V("p", { className: Z.Line, children: [
94
+ /* @__PURE__ */ i("p", { className: d.Line, children: [
3573
95
  "Size: ",
3574
- an.getByteSize(n.source ?? n.content),
96
+ D.getByteSize(a.source ?? a.content),
3575
97
  " bytes"
3576
98
  ] }),
3577
- /* @__PURE__ */ V("p", { className: Z.Line, children: [
99
+ /* @__PURE__ */ i("p", { className: d.Line, children: [
3578
100
  "Size on drive: ",
3579
- an.getByteSize(n.toString()),
101
+ D.getByteSize(a.toString()),
3580
102
  " bytes"
3581
103
  ] })
3582
104
  ] }),
3583
- /* @__PURE__ */ E("span", { className: Z.Section, children: /* @__PURE__ */ V("p", { className: Z.Line, children: [
105
+ /* @__PURE__ */ e("span", { className: d.Section, children: /* @__PURE__ */ i("p", { className: d.Line, children: [
3584
106
  "Attributes: ",
3585
- n.isProtected ? "Protected" : "N/A"
107
+ a.isProtected ? "Protected" : "N/A"
3586
108
  ] }) })
3587
109
  ] });
3588
110
  }
3589
- function ko({ app: e, path: t, selectorMode: n, Footer: a, onSelectionChange: r, onSelectionFinish: i }) {
3590
- const o = a != null && n != null && n !== Gn.NONE, s = Ia(), f = Na(), { windowsConfig: l } = Xn(), [c, u] = dt(s == null ? void 0 : s.navigate(t ?? "~")), [g, h] = dt((c == null ? void 0 : c.path) ?? ""), [S] = dt(!0), { history: x, stateIndex: w, pushState: N, undo: $, redo: A, undoAvailable: M, redoAvailable: m } = Ma(c.path), { alert: X } = Ra(), { openWindowedModal: K } = La(), { onContextMenu: fe } = rn({
3591
- Actions: (Y) => /* @__PURE__ */ V(on, { ...Y, children: [
3592
- /* @__PURE__ */ E(Ce, { label: o ? "Select" : "Open", onTrigger: (z, O) => {
3593
- if (o) {
3594
- r == null || r({ files: [O.id], directory: c }), i == null || i();
111
+ function Re({ app: o, path: h, selectorMode: a, Footer: N, onSelectionChange: p, onSelectionFinish: u }) {
112
+ const _ = N != null && a != null && a !== R.NONE, r = oe(), I = re(), { windowsConfig: y } = G(), [c, w] = S(r == null ? void 0 : r.navigate(h ?? "~")), [W, E] = S((c == null ? void 0 : c.path) ?? ""), [L] = S(!0), { history: C, stateIndex: T, pushState: k, undo: Y, redo: j, undoAvailable: K, redoAvailable: Q } = se(c.path), { alert: X } = ie(), { openWindowedModal: B } = ae(), { onContextMenu: q } = M({
113
+ Actions: (s) => /* @__PURE__ */ i(F, { ...s, children: [
114
+ /* @__PURE__ */ e(x, { label: _ ? "Select" : "Open", onTrigger: (t, n) => {
115
+ if (_) {
116
+ p == null || p({ files: [n.id], directory: c }), u == null || u();
3595
117
  return;
3596
118
  }
3597
- f != null && O.open(f);
119
+ I != null && n.open(I);
3598
120
  } }),
3599
- /* @__PURE__ */ E(Ce, { label: "Delete", icon: qn, onTrigger: (z, O) => {
3600
- O.delete();
121
+ /* @__PURE__ */ e(x, { label: "Delete", icon: V, onTrigger: (t, n) => {
122
+ n.delete();
3601
123
  } }),
3602
- /* @__PURE__ */ E(Ce, { label: "Properties", icon: ro, onTrigger: (z, O) => {
3603
- K({
3604
- title: `${O.id} ${l.titleSeparator} Properties`,
3605
- iconUrl: O.getIconUrl(),
3606
- size: new We(400, 500),
3607
- Modal: (ne) => /* @__PURE__ */ E(wo, { file: O, ...ne })
124
+ /* @__PURE__ */ e(x, { label: "Properties", icon: Ne, onTrigger: (t, n) => {
125
+ B({
126
+ title: `${n.id} ${y.titleSeparator} Properties`,
127
+ iconUrl: n.getIconUrl(),
128
+ size: new f(400, 500),
129
+ Modal: (A) => /* @__PURE__ */ e(Ve, { file: n, ...A })
3608
130
  });
3609
131
  } })
3610
132
  ] })
3611
- }), { onContextMenu: J } = rn({
3612
- Actions: (Y) => /* @__PURE__ */ V(on, { ...Y, children: [
3613
- /* @__PURE__ */ E(Ce, { label: "Open", onTrigger: (z, O) => {
3614
- ee(O.linkedPath ?? O.name);
133
+ }), { onContextMenu: J } = M({
134
+ Actions: (s) => /* @__PURE__ */ i(F, { ...s, children: [
135
+ /* @__PURE__ */ e(x, { label: "Open", onTrigger: (t, n) => {
136
+ g(n.linkedPath ?? n.name);
3615
137
  } }),
3616
- /* @__PURE__ */ E(ja, {}),
3617
- /* @__PURE__ */ E(Ce, { label: "Delete", icon: qn, onTrigger: (z, O) => {
3618
- O.delete();
138
+ /* @__PURE__ */ e(le, {}),
139
+ /* @__PURE__ */ e(x, { label: "Delete", icon: V, onTrigger: (t, n) => {
140
+ n.delete();
3619
141
  } })
3620
142
  ] })
3621
- }), ee = Ya((Y, z = !1) => {
3622
- if (Y == null)
143
+ }), g = me((s, t = !1) => {
144
+ if (s == null)
3623
145
  return;
3624
- c == null && (z = !0);
3625
- const O = z ? s == null ? void 0 : s.navigate(Y) : c.navigate(Y);
3626
- O != null && (u(O), h(O.root ? "/" : O.path), N(O.path));
3627
- }, [c, N, s]);
3628
- ln(() => {
3629
- if (x.length === 0)
146
+ c == null && (t = !0);
147
+ const n = t ? r == null ? void 0 : r.navigate(s) : c.navigate(s);
148
+ n != null && (w(n), E(n.root ? "/" : n.path), k(n.path));
149
+ }, [c, k, r]);
150
+ H(() => {
151
+ if (C.length === 0)
3630
152
  return;
3631
- const Y = x[w], z = s == null ? void 0 : s.navigate(Y);
3632
- z != null && (u(z), h(z.root ? "/" : z.path));
3633
- }, [x, w, s]), ln(() => {
3634
- const Y = (z) => {
153
+ const s = C[T], t = r == null ? void 0 : r.navigate(s);
154
+ t != null && (w(t), E(t.root ? "/" : t.path));
155
+ }, [C, T, r]), H(() => {
156
+ const s = (t) => {
3635
157
  X({
3636
- title: z.message,
158
+ title: t.message,
3637
159
  text: "You have exceeded the virtual drive capacity. Files and folders will not be saved until more storage is freed.",
3638
- iconUrl: e == null ? void 0 : e.iconUrl,
3639
- size: new We(300, 200),
160
+ iconUrl: o == null ? void 0 : o.iconUrl,
161
+ size: new f(300, 200),
3640
162
  single: !0
3641
163
  });
3642
164
  };
3643
- return s == null || s.on(sn.EVENT_NAMES.ERROR, Y), () => {
3644
- s == null || s.off(sn.EVENT_NAMES.ERROR, Y);
165
+ return r == null || r.on(U.EVENT_NAMES.ERROR, s), () => {
166
+ r == null || r.off(U.EVENT_NAMES.ERROR, s);
3645
167
  };
3646
168
  }, []);
3647
- const ke = (Y) => {
3648
- h(Y.target.value);
3649
- }, _e = (Y) => {
3650
- let z = Y.target.value;
3651
- if (Y.key === "Enter") {
3652
- z === "" && (z = "~");
3653
- const O = s == null ? void 0 : s.navigate(z);
3654
- if (O == null) {
3655
- K({
169
+ const Z = (s) => {
170
+ E(s.target.value);
171
+ }, ee = (s) => {
172
+ let t = s.target.value;
173
+ if (s.key === "Enter") {
174
+ t === "" && (t = "~");
175
+ const n = r == null ? void 0 : r.navigate(t);
176
+ if (n == null) {
177
+ B({
3656
178
  title: "Error",
3657
- iconUrl: e == null ? void 0 : e.iconUrl,
3658
- size: new We(300, 150),
3659
- Modal: (ne) => /* @__PURE__ */ V(fn, { ...ne, children: [
3660
- /* @__PURE__ */ V("p", { children: [
179
+ iconUrl: o == null ? void 0 : o.iconUrl,
180
+ size: new f(300, 150),
181
+ Modal: (A) => /* @__PURE__ */ i($, { ...A, children: [
182
+ /* @__PURE__ */ i("p", { children: [
3661
183
  'Invalid path: "',
3662
- z,
184
+ t,
3663
185
  '"'
3664
186
  ] }),
3665
- /* @__PURE__ */ E("button", { "data-type": cn.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
187
+ /* @__PURE__ */ e("button", { "data-type": z.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
3666
188
  ] })
3667
189
  });
3668
190
  return;
3669
191
  }
3670
- u(O), h(O.root ? "/" : O.path);
192
+ w(n), E(n.root ? "/" : n.path);
3671
193
  }
3672
- }, ge = c.getItemCount(S);
3673
- return /* @__PURE__ */ V("div", { className: o ? `${G.FileExplorer} ${G.Selector}` : G.FileExplorer, children: [
3674
- /* @__PURE__ */ V("div", { className: G.Header, children: [
3675
- /* @__PURE__ */ E(
194
+ }, v = c.getItemCount(L);
195
+ return /* @__PURE__ */ i("div", { className: _ ? `${l.FileExplorer} ${l.Selector}` : l.FileExplorer, children: [
196
+ /* @__PURE__ */ i("div", { className: l.Header, children: [
197
+ /* @__PURE__ */ e(
3676
198
  "button",
3677
199
  {
3678
200
  title: "Back",
3679
201
  tabIndex: 0,
3680
- className: G.IconButton,
202
+ className: l.IconButton,
3681
203
  onClick: () => {
3682
- $();
204
+ Y();
3683
205
  },
3684
- disabled: !M,
3685
- children: /* @__PURE__ */ E(oe, { icon: no })
206
+ disabled: !K,
207
+ children: /* @__PURE__ */ e(m, { icon: _e })
3686
208
  }
3687
209
  ),
3688
- /* @__PURE__ */ E(
210
+ /* @__PURE__ */ e(
3689
211
  "button",
3690
212
  {
3691
213
  title: "Forward",
3692
214
  tabIndex: 0,
3693
- className: G.IconButton,
215
+ className: l.IconButton,
3694
216
  onClick: () => {
3695
- A();
217
+ j();
3696
218
  },
3697
- disabled: !m,
3698
- children: /* @__PURE__ */ E(oe, { icon: to })
219
+ disabled: !Q,
220
+ children: /* @__PURE__ */ e(m, { icon: Ie })
3699
221
  }
3700
222
  ),
3701
- /* @__PURE__ */ E(
223
+ /* @__PURE__ */ e(
3702
224
  "button",
3703
225
  {
3704
226
  title: "Up",
3705
227
  tabIndex: 0,
3706
- className: G.IconButton,
228
+ className: l.IconButton,
3707
229
  onClick: () => {
3708
- ee("..");
230
+ g("..");
3709
231
  },
3710
232
  disabled: c.isRoot != null && c.isRoot,
3711
- children: /* @__PURE__ */ E(oe, { icon: uo })
233
+ children: /* @__PURE__ */ e(m, { icon: ge })
3712
234
  }
3713
235
  ),
3714
- /* @__PURE__ */ E(
236
+ /* @__PURE__ */ e(
3715
237
  "button",
3716
238
  {
3717
239
  title: "New",
3718
240
  tabIndex: 0,
3719
- className: G.IconButton,
241
+ className: l.IconButton,
3720
242
  onClick: () => {
3721
- K({
243
+ B({
3722
244
  title: "Error",
3723
- iconUrl: e == null ? void 0 : e.iconUrl,
3724
- size: new We(300, 150),
3725
- Modal: (Y) => /* @__PURE__ */ V(fn, { ...Y, children: [
3726
- /* @__PURE__ */ E("p", { children: "This folder is protected." }),
3727
- /* @__PURE__ */ E("button", { "data-type": cn.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
245
+ iconUrl: o == null ? void 0 : o.iconUrl,
246
+ size: new f(300, 150),
247
+ Modal: (s) => /* @__PURE__ */ i($, { ...s, children: [
248
+ /* @__PURE__ */ e("p", { children: "This folder is protected." }),
249
+ /* @__PURE__ */ e("button", { "data-type": z.DIALOG_CONTENT_TYPES.CloseButton, children: "Ok" })
3728
250
  ] })
3729
251
  });
3730
252
  },
3731
253
  disabled: !c.canBeEdited,
3732
- children: /* @__PURE__ */ E(oe, { icon: mo })
254
+ children: /* @__PURE__ */ e(m, { icon: xe })
3733
255
  }
3734
256
  ),
3735
- /* @__PURE__ */ E(
257
+ /* @__PURE__ */ e(
3736
258
  "input",
3737
259
  {
3738
- value: g,
260
+ value: W,
3739
261
  type: "text",
3740
262
  "aria-label": "Path",
3741
- className: G.PathInput,
263
+ className: l.PathInput,
3742
264
  tabIndex: 0,
3743
- onChange: ke,
3744
- onKeyDown: _e,
265
+ onChange: Z,
266
+ onKeyDown: ee,
3745
267
  placeholder: "Enter a path..."
3746
268
  }
3747
269
  ),
3748
- /* @__PURE__ */ E(po, { directory: c }),
3749
- /* @__PURE__ */ E("button", { title: "Search", tabIndex: 0, className: G.IconButton, children: /* @__PURE__ */ E(oe, { icon: lo }) }),
3750
- /* @__PURE__ */ E("button", { title: "Settings", tabIndex: 0, className: G.IconButton, children: /* @__PURE__ */ E(oe, { icon: oo }) })
270
+ /* @__PURE__ */ e(Me, { directory: c }),
271
+ /* @__PURE__ */ e("button", { title: "Search", tabIndex: 0, className: l.IconButton, children: /* @__PURE__ */ e(m, { icon: Ee }) }),
272
+ /* @__PURE__ */ e("button", { title: "Settings", tabIndex: 0, className: l.IconButton, children: /* @__PURE__ */ e(m, { icon: fe }) })
3751
273
  ] }),
3752
- /* @__PURE__ */ V("div", { className: G.Body, children: [
3753
- /* @__PURE__ */ V("div", { className: G.Sidebar, children: [
3754
- /* @__PURE__ */ E(tt, { name: "Home", onClick: () => {
3755
- ee("~");
3756
- }, icon: fo }),
3757
- /* @__PURE__ */ E(tt, { name: "Desktop", onClick: () => {
3758
- ee("~/Desktop");
3759
- }, icon: vo }),
3760
- /* @__PURE__ */ E(tt, { name: "Images", onClick: () => {
3761
- ee("~/Pictures");
3762
- }, icon: ao }),
3763
- /* @__PURE__ */ E(tt, { name: "Documents", onClick: () => {
3764
- ee("~/Documents");
3765
- }, icon: eo })
274
+ /* @__PURE__ */ i("div", { className: l.Body, children: [
275
+ /* @__PURE__ */ i("div", { className: l.Sidebar, children: [
276
+ /* @__PURE__ */ e(b, { name: "Home", onClick: () => {
277
+ g("~");
278
+ }, icon: be }),
279
+ /* @__PURE__ */ e(b, { name: "Desktop", onClick: () => {
280
+ g("~/Desktop");
281
+ }, icon: ye }),
282
+ /* @__PURE__ */ e(b, { name: "Images", onClick: () => {
283
+ g("~/Pictures");
284
+ }, icon: we }),
285
+ /* @__PURE__ */ e(b, { name: "Documents", onClick: () => {
286
+ g("~/Documents");
287
+ }, icon: Ce })
3766
288
  ] }),
3767
- /* @__PURE__ */ E(
3768
- za,
289
+ /* @__PURE__ */ e(
290
+ ce,
3769
291
  {
3770
292
  directory: c,
3771
293
  id: "main",
3772
- className: G.Main,
3773
- showHidden: S,
3774
- onOpenFile: (Y, z) => {
3775
- if (Y.preventDefault(), o)
3776
- return void (i == null ? void 0 : i());
3777
- const O = {};
3778
- (z.extension === "md" || z.extension != null && Da.includes(z.extension)) && (O.mode = "view"), f == null || f.openFile(z, O);
294
+ className: l.Main,
295
+ showHidden: L,
296
+ onOpenFile: (s, t) => {
297
+ if (s.preventDefault(), _)
298
+ return void (u == null ? void 0 : u());
299
+ const n = {};
300
+ (t.extension === "md" || t.extension != null && de.includes(t.extension)) && (n.mode = "view"), I == null || I.openFile(t, n);
3779
301
  },
3780
- onOpenFolder: (Y, z) => {
3781
- ee(z.linkedPath ?? z.name);
302
+ onOpenFolder: (s, t) => {
303
+ g(t.linkedPath ?? t.name);
3782
304
  },
3783
- onContextMenuFile: fe,
305
+ onContextMenuFile: q,
3784
306
  onContextMenuFolder: J,
3785
- allowMultiSelect: n !== Gn.SINGLE,
3786
- onSelectionChange: r
307
+ allowMultiSelect: a !== R.SINGLE,
308
+ onSelectionChange: p
3787
309
  }
3788
310
  )
3789
311
  ] }),
3790
- o ? /* @__PURE__ */ E("div", { className: G.Footer, children: /* @__PURE__ */ E(a, {}) }) : /* @__PURE__ */ E("span", { className: G.Footer, children: /* @__PURE__ */ E("p", { className: $t.TextLight, children: ge === 1 ? ge + " item" : ge + " items" }) })
312
+ _ ? /* @__PURE__ */ e("div", { className: l.Footer, children: /* @__PURE__ */ e(N, {}) }) : /* @__PURE__ */ e("span", { className: l.Footer, children: /* @__PURE__ */ e("p", { className: P.TextLight, children: v === 1 ? v + " item" : v + " items" }) })
3791
313
  ] });
3792
314
  }
3793
- var Eo = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multi = 2] = "Multi", e))(Eo || {});
3794
- const Po = new Fa("File Explorer", "file-explorer", ko).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole($a.APP_ROLES.FileExplorer);
315
+ var Ge = /* @__PURE__ */ ((o) => (o[o.None = 0] = "None", o[o.Single = 1] = "Single", o[o.Multi = 2] = "Multi", o))(Ge || {});
316
+ const Xe = new ue("File Explorer", "file-explorer", Re).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole(pe.APP_ROLES.FileExplorer);
3795
317
  export {
3796
- Eo as FileSelectorMode,
3797
- Po as fileExplorer
318
+ Ge as FileSelectorMode,
319
+ Xe as fileExplorer
3798
320
  };
3799
321
  //# sourceMappingURL=main.js.map