@prozilla-os/browser 1.1.6 → 1.1.8

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