@okam/directus-block 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/BlockDispatcher/config.d.ts +2 -1
- package/components/BlockSerializer/interface.d.ts +2 -2
- package/index.d.ts +3 -0
- package/index.js +10 -10
- package/index.mjs +653 -629
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import { jsx as g, jsxs as q } from "react/jsx-runtime";
|
|
|
2
2
|
import { QueryClient as gn, QueryCache as vn } from "@tanstack/react-query";
|
|
3
3
|
import { get as wn } from "radash";
|
|
4
4
|
import { GraphQLClient as Ar } from "graphql-request";
|
|
5
|
-
import L, { useMemo as Nr, useRef as
|
|
6
|
-
import { tv as
|
|
7
|
-
import { useLink as xn, FocusRing as we, useButton as Tn, useDialog as kr, FocusScope as zr, useModalOverlay as Pn, OverlayContainer as
|
|
5
|
+
import L, { useMemo as Nr, useRef as Z, memo as z, lazy as bn, Suspense as yn, createContext as qe, forwardRef as fe, useState as me, useEffect as St, useLayoutEffect as Sn } from "react";
|
|
6
|
+
import { tv as E } from "tailwind-variants";
|
|
7
|
+
import { useLink as xn, FocusRing as we, useButton as Tn, useDialog as kr, FocusScope as zr, useModalOverlay as Pn, OverlayContainer as En, useOverlay as _n, useModal as Cn, mergeProps as Mn, DismissButton as On } from "react-aria";
|
|
8
8
|
import "react-use";
|
|
9
9
|
import { useTransition as Ct, animated as Mt, config as jr } from "react-spring";
|
|
10
10
|
import "react-stately";
|
|
@@ -80,14 +80,14 @@ function Vn(e, ...t) {
|
|
|
80
80
|
return t.reduce((n, i) => i ? { components: { ...n.components, ...i.components } } : n, e);
|
|
81
81
|
}
|
|
82
82
|
const Br = { kind: "Document", definitions: [{ kind: "FragmentDefinition", name: { kind: "Name", value: "BlockSettings" }, typeCondition: { kind: "NamedType", name: { kind: "Name", value: "block_settings" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "tokens" } }, { kind: "Field", name: { kind: "Name", value: "variant" } }] } }] }, qn = (e) => {
|
|
83
|
-
var b, h,
|
|
83
|
+
var b, h, _;
|
|
84
84
|
const { item: t, collection: r, config: n, variables: i, defaultVariant: s, ...l } = e;
|
|
85
85
|
if (!r || !t || !n)
|
|
86
86
|
return null;
|
|
87
87
|
const a = (b = n == null ? void 0 : n.components) == null ? void 0 : b[r];
|
|
88
88
|
if (!a)
|
|
89
89
|
return null;
|
|
90
|
-
const { id: o, settings: u } = t, { variant: c } = Dr(Br, u) ?? {}, d = ((h = a.getVariant) == null ? void 0 : h.call(a, e)) ?? c ?? s, { default: f, document: p } = a, m = ((
|
|
90
|
+
const { id: o, settings: u } = t, { variant: c } = Dr(Br, u) ?? {}, d = ((h = a.getVariant) == null ? void 0 : h.call(a, e)) ?? c ?? s, { default: f, document: p } = a, m = ((_ = a.variants) == null ? void 0 : _[d ?? ""]) ?? f;
|
|
91
91
|
return m ? /* @__PURE__ */ g(
|
|
92
92
|
m,
|
|
93
93
|
{
|
|
@@ -116,7 +116,7 @@ function Un({ children: e, brandTheme: t = Hn }) {
|
|
|
116
116
|
const r = Nr(() => ({ brandTheme: t }), [t]);
|
|
117
117
|
return /* @__PURE__ */ g(Wn, { value: r, children: e });
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const Yn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, children: r }), Xn = E({
|
|
120
120
|
base: "[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",
|
|
121
121
|
defaultVariants: {
|
|
122
122
|
textAlign: "left",
|
|
@@ -128,7 +128,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
128
128
|
left: "text-left"
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
}), Kn =
|
|
131
|
+
}), Kn = E({
|
|
132
132
|
base: "grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",
|
|
133
133
|
variants: {
|
|
134
134
|
titleBold: {
|
|
@@ -148,7 +148,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
148
148
|
textAlign: "left",
|
|
149
149
|
bgColor: "white"
|
|
150
150
|
}
|
|
151
|
-
}),
|
|
151
|
+
}), Zn = E({
|
|
152
152
|
base: "",
|
|
153
153
|
defaultVariants: {
|
|
154
154
|
textAlign: "left"
|
|
@@ -159,7 +159,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
159
159
|
left: "justify-self-start"
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
}),
|
|
162
|
+
}), Qn = E({
|
|
163
163
|
base: "text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",
|
|
164
164
|
variants: {
|
|
165
165
|
isOpen: {
|
|
@@ -167,7 +167,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
167
167
|
false: ""
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
}), Jn =
|
|
170
|
+
}), Jn = E({
|
|
171
171
|
base: `
|
|
172
172
|
font-body
|
|
173
173
|
text-inherit
|
|
@@ -183,7 +183,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
183
183
|
left: "grid-cols-[1fr_3rem] text-left"
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
}), ei =
|
|
186
|
+
}), ei = E({
|
|
187
187
|
base: "overflow-hidden flex flex-col gap-2 items-start",
|
|
188
188
|
defaultVariants: {
|
|
189
189
|
textAlign: "left"
|
|
@@ -195,13 +195,13 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
}), ti = {
|
|
198
|
-
container: (e) =>
|
|
198
|
+
container: (e) => Xn(e),
|
|
199
199
|
button: (e) => Kn(e),
|
|
200
|
-
title: (e) =>
|
|
201
|
-
icon: (e) =>
|
|
200
|
+
title: (e) => Zn(e),
|
|
201
|
+
icon: (e) => Qn(e),
|
|
202
202
|
region: (e) => Jn(e),
|
|
203
203
|
content: (e) => ei(e)
|
|
204
|
-
}, ue =
|
|
204
|
+
}, ue = E({
|
|
205
205
|
base: `
|
|
206
206
|
flex
|
|
207
207
|
items-center
|
|
@@ -268,7 +268,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
268
268
|
circular: "rounded-full"
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
}),
|
|
271
|
+
}), Y = E({
|
|
272
272
|
variants: {
|
|
273
273
|
size: {
|
|
274
274
|
h1: "text-5xl",
|
|
@@ -307,31 +307,31 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
307
307
|
size: "paragraph",
|
|
308
308
|
font: "body"
|
|
309
309
|
}
|
|
310
|
-
}), ri =
|
|
310
|
+
}), ri = E({
|
|
311
311
|
base: "bg-color-1-200 p-4 flex flex-col gap-4"
|
|
312
|
-
}), ni =
|
|
313
|
-
base: "flex justify-between items-center gap-4"
|
|
314
|
-
}), ii =
|
|
312
|
+
}), ni = E({
|
|
313
|
+
base: "flex justify-between items-center gap-4 relative"
|
|
314
|
+
}), ii = E({
|
|
315
315
|
extend: ue,
|
|
316
316
|
base: "self-end"
|
|
317
|
-
}), si =
|
|
317
|
+
}), si = E({
|
|
318
318
|
base: "bg-color-1-300 m-2 rounded-lg order-2"
|
|
319
|
-
}), oi =
|
|
319
|
+
}), oi = E({
|
|
320
320
|
base: "m-4"
|
|
321
|
-
}), ai =
|
|
321
|
+
}), ai = E({
|
|
322
322
|
base: ""
|
|
323
|
-
}), li =
|
|
323
|
+
}), li = E({
|
|
324
324
|
base: ""
|
|
325
|
-
}), ci =
|
|
326
|
-
extend:
|
|
325
|
+
}), ci = E({
|
|
326
|
+
extend: Y,
|
|
327
327
|
defaultVariants: {
|
|
328
328
|
size: "h1"
|
|
329
329
|
}
|
|
330
|
-
}), ui =
|
|
331
|
-
extend:
|
|
332
|
-
}), di =
|
|
330
|
+
}), ui = E({
|
|
331
|
+
extend: Y
|
|
332
|
+
}), di = E({
|
|
333
333
|
base: "block w-min bg-color-1-400 p-2 rounded-lg"
|
|
334
|
-
}), fi =
|
|
334
|
+
}), fi = E({
|
|
335
335
|
extend: ue,
|
|
336
336
|
variants: {
|
|
337
337
|
order: {
|
|
@@ -339,11 +339,11 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
339
339
|
next: "order-3"
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
}), pi =
|
|
343
|
-
base: "flex gap-4 justify-center"
|
|
344
|
-
}), hi =
|
|
342
|
+
}), pi = E({
|
|
343
|
+
base: "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"
|
|
344
|
+
}), hi = E({
|
|
345
345
|
base: "w-4 h-4 rounded-full block bg-color-1-600"
|
|
346
|
-
}), mi =
|
|
346
|
+
}), mi = E({
|
|
347
347
|
base: "!bg-color-1-100"
|
|
348
348
|
}), gi = {
|
|
349
349
|
wrapper: ri,
|
|
@@ -368,9 +368,9 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
368
368
|
bullet: hi,
|
|
369
369
|
activeBullet: mi
|
|
370
370
|
}
|
|
371
|
-
}, vi =
|
|
371
|
+
}, vi = E({
|
|
372
372
|
base: "w-full bg-slate-100"
|
|
373
|
-
}), Vr =
|
|
373
|
+
}), Vr = E({
|
|
374
374
|
base: "max-w-screen-lg mx-auto w-full",
|
|
375
375
|
variants: {
|
|
376
376
|
fullWidth: {
|
|
@@ -383,7 +383,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
383
383
|
none: "mb-0"
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
}), wi =
|
|
386
|
+
}), wi = E({
|
|
387
387
|
extend: Vr,
|
|
388
388
|
base: "grid grid-cols-12 gap-6 px-4 col-span-full",
|
|
389
389
|
variants: {
|
|
@@ -391,7 +391,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
391
391
|
true: "max-w-full col-span-full p-0"
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
}), bi =
|
|
394
|
+
}), bi = E({
|
|
395
395
|
base: "bg-slate-300 h-64 p-4 flex justify-start items-end",
|
|
396
396
|
defaultVariants: {
|
|
397
397
|
size: "small"
|
|
@@ -403,19 +403,19 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
403
403
|
large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
}),
|
|
406
|
+
}), yi = E({
|
|
407
407
|
base: "inline-block text-gray-800"
|
|
408
|
-
}),
|
|
408
|
+
}), Si = E({
|
|
409
409
|
base: "flex items-center justify-between pb-4"
|
|
410
|
-
}), xi =
|
|
410
|
+
}), xi = E({
|
|
411
411
|
base: "flex items-center gap-1"
|
|
412
|
-
}), Ti =
|
|
412
|
+
}), Ti = E({
|
|
413
413
|
base: "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"
|
|
414
|
-
}), Pi =
|
|
414
|
+
}), Pi = E({
|
|
415
415
|
base: "flex-1"
|
|
416
|
-
}),
|
|
416
|
+
}), Ei = E({
|
|
417
417
|
base: "text-center"
|
|
418
|
-
}),
|
|
418
|
+
}), _i = E({
|
|
419
419
|
base: "py-0.5 relative",
|
|
420
420
|
variants: {
|
|
421
421
|
isFocusVisible: {
|
|
@@ -423,7 +423,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
423
423
|
false: ""
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
}), Ci =
|
|
426
|
+
}), Ci = E({
|
|
427
427
|
base: "w-10 h-10 outline-none group",
|
|
428
428
|
variants: {
|
|
429
429
|
isSelected: {
|
|
@@ -459,7 +459,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
459
459
|
class: "bg-color-1-300"
|
|
460
460
|
}
|
|
461
461
|
]
|
|
462
|
-
}), Mi =
|
|
462
|
+
}), Mi = E({
|
|
463
463
|
base: "w-full h-full rounded-full flex items-center justify-center cursor-pointer",
|
|
464
464
|
variants: {
|
|
465
465
|
isSelected: {
|
|
@@ -551,15 +551,15 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
551
551
|
class: "hover:bg-red-400"
|
|
552
552
|
}
|
|
553
553
|
]
|
|
554
|
-
}), Oi =
|
|
554
|
+
}), Oi = E({
|
|
555
555
|
base: "flex justify-between items-center relative h-[475px] mb-18 lg:h-[650px]"
|
|
556
|
-
}), Ii =
|
|
556
|
+
}), Ii = E({
|
|
557
557
|
base: "flex justify-center m-auto px-8 w-full h-full"
|
|
558
|
-
}), Ri =
|
|
558
|
+
}), Ri = E({
|
|
559
559
|
base: "bg-color-1-500 rounded-full p-4 text-white"
|
|
560
|
-
}), Li =
|
|
560
|
+
}), Li = E({
|
|
561
561
|
base: "flex focus-ring-black"
|
|
562
|
-
}), Ai =
|
|
562
|
+
}), Ai = E({
|
|
563
563
|
base: "hover:cursor-pointer",
|
|
564
564
|
variants: {
|
|
565
565
|
color: {
|
|
@@ -573,7 +573,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
573
573
|
defaultVariants: {
|
|
574
574
|
color: "black"
|
|
575
575
|
}
|
|
576
|
-
}), Ni =
|
|
576
|
+
}), Ni = E({
|
|
577
577
|
base: "w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",
|
|
578
578
|
variants: {
|
|
579
579
|
isDisabled: {
|
|
@@ -586,33 +586,33 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
586
586
|
true: "border-red-500"
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
}), ki =
|
|
589
|
+
}), ki = E({
|
|
590
590
|
base: "hidden w-4 h-4 bg-gray-300 rounded-full",
|
|
591
591
|
variants: {
|
|
592
592
|
selected: {
|
|
593
593
|
true: "block text-white"
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
}), zi =
|
|
596
|
+
}), zi = E({
|
|
597
597
|
base: "text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"
|
|
598
|
-
}), ji =
|
|
598
|
+
}), ji = E({
|
|
599
599
|
base: "block",
|
|
600
600
|
variants: {
|
|
601
601
|
isDisabled: {
|
|
602
602
|
true: "opacity-60 pointer-events-none"
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
}), Di =
|
|
605
|
+
}), Di = E({
|
|
606
606
|
base: "flex flex-col gap-4 py-8"
|
|
607
|
-
}), Bi =
|
|
607
|
+
}), Bi = E({
|
|
608
608
|
base: "relative inline-flex flex-col text-left"
|
|
609
|
-
}), Vi =
|
|
609
|
+
}), Vi = E({
|
|
610
610
|
base: "flex items-center border-2 border-color-1-500 rounded focus-ring-black"
|
|
611
|
-
}), qi =
|
|
611
|
+
}), qi = E({
|
|
612
612
|
base: "fixed inset-0"
|
|
613
|
-
}), Gi =
|
|
613
|
+
}), Gi = E({
|
|
614
614
|
base: "absolute top-full bg-white border border-gray-300 rounded-md shadow-lg mt-2 p-8 z-10"
|
|
615
|
-
}), $i =
|
|
615
|
+
}), $i = E({
|
|
616
616
|
base: "pr-1 flex gap-2",
|
|
617
617
|
defaultVariants: {
|
|
618
618
|
dateFieldShown: !0
|
|
@@ -623,19 +623,19 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
623
623
|
false: "hidden"
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
}), Hi =
|
|
626
|
+
}), Hi = E({
|
|
627
627
|
base: "focus-ring-black"
|
|
628
|
-
}), Fi =
|
|
628
|
+
}), Fi = E({
|
|
629
629
|
base: "text-color-1-500 bg-color-1-100 border-l-2 border-color-1-500 h-full py-2 px-2"
|
|
630
|
-
}), Wi =
|
|
630
|
+
}), Wi = E({
|
|
631
631
|
base: "text-color-1-500 font-bold px-2"
|
|
632
|
-
}), Ui =
|
|
632
|
+
}), Ui = E({
|
|
633
633
|
base: "object-contain"
|
|
634
|
-
}),
|
|
634
|
+
}), Yi = (e) => Ui(e), Xi = E({
|
|
635
635
|
base: "focus-ring-black"
|
|
636
|
-
}), Ki =
|
|
636
|
+
}), Ki = E({
|
|
637
637
|
base: "rounded-3xl overflow-hidden"
|
|
638
|
-
}),
|
|
638
|
+
}), Zi = E({
|
|
639
639
|
base: `
|
|
640
640
|
absolute
|
|
641
641
|
xl:top-10
|
|
@@ -648,33 +648,33 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
648
648
|
size-10
|
|
649
649
|
focus-ring-black
|
|
650
650
|
`
|
|
651
|
-
}),
|
|
652
|
-
extend:
|
|
651
|
+
}), Qi = E({
|
|
652
|
+
extend: Y,
|
|
653
653
|
base: "sr-only"
|
|
654
|
-
}), Ji =
|
|
654
|
+
}), Ji = E({
|
|
655
655
|
base: "w-screen h-screen bg-black/50 absolute top-0 left-0 flex justify-center items-center"
|
|
656
|
-
}), es =
|
|
656
|
+
}), es = E({
|
|
657
657
|
base: ""
|
|
658
|
-
}), ts =
|
|
658
|
+
}), ts = E({
|
|
659
659
|
base: "flex flex-col gap-4 items-center"
|
|
660
660
|
}), rs = {
|
|
661
|
-
wrapper:
|
|
661
|
+
wrapper: Xi,
|
|
662
662
|
container: Ki,
|
|
663
|
-
label:
|
|
664
|
-
closeBtn:
|
|
663
|
+
label: Qi,
|
|
664
|
+
closeBtn: Zi,
|
|
665
665
|
modal: {
|
|
666
666
|
underlay: Ji,
|
|
667
667
|
overlay: es,
|
|
668
668
|
dialog: ts
|
|
669
669
|
}
|
|
670
|
-
}, ns =
|
|
670
|
+
}, ns = E({
|
|
671
671
|
base: "text-black flex flex-row items-center hover:cursor-pointer focus-ring-black",
|
|
672
672
|
variants: {
|
|
673
673
|
isDisabled: {
|
|
674
674
|
true: "text-gray-6"
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
}), is =
|
|
677
|
+
}), is = E({
|
|
678
678
|
base: "w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",
|
|
679
679
|
variants: {
|
|
680
680
|
isDisabled: {
|
|
@@ -684,30 +684,30 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
684
684
|
true: "outline-black [outline-offset: 2px]"
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
}), ss =
|
|
687
|
+
}), ss = E({
|
|
688
688
|
base: "hidden w-4 h-4 bg-gray-300 rounded-full",
|
|
689
689
|
variants: {
|
|
690
690
|
selected: {
|
|
691
691
|
true: "block text-white"
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
|
-
}), os =
|
|
694
|
+
}), os = E({
|
|
695
695
|
base: "block",
|
|
696
696
|
variants: {
|
|
697
697
|
isDisabled: {
|
|
698
698
|
true: "opacity-60 pointer-events-none"
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
|
-
}), as =
|
|
701
|
+
}), as = E({
|
|
702
702
|
base: "flex flex-col gap-4 py-8"
|
|
703
|
-
}), ls =
|
|
703
|
+
}), ls = E({
|
|
704
704
|
base: "p-4 w-full outline-0 search-cancel:appearance-none",
|
|
705
705
|
variants: {
|
|
706
706
|
isDisabled: {
|
|
707
707
|
true: "opacity-60 pointer-events-none"
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
}), cs =
|
|
710
|
+
}), cs = E({
|
|
711
711
|
base: `
|
|
712
712
|
box-border
|
|
713
713
|
absolute
|
|
@@ -715,7 +715,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
715
715
|
focus-ring-black
|
|
716
716
|
outline-0
|
|
717
717
|
`
|
|
718
|
-
}), us =
|
|
718
|
+
}), us = E({
|
|
719
719
|
base: "flex print:hidden relative",
|
|
720
720
|
defaultVariants: {
|
|
721
721
|
listDirection: "row"
|
|
@@ -726,7 +726,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
726
726
|
column: "flex-col"
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
|
-
}), ds =
|
|
729
|
+
}), ds = E({
|
|
730
730
|
base: "relative z-20 !bg-color-1-500 hover:!bg-color-1-400 w-16 h-16 flex justify-center items-center active:!bg-color-1-400 rounded-full text-white focus-ring-black",
|
|
731
731
|
variants: {
|
|
732
732
|
isOpen: {
|
|
@@ -734,7 +734,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
734
734
|
false: ""
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
|
-
}), fs =
|
|
737
|
+
}), fs = E({
|
|
738
738
|
base: "!bg-color-1-200 absolute opacity-0 invisible flex transition duration-300 items-center p-0 bg-primary-1 z-0 rounded-b-full rounded-t-full",
|
|
739
739
|
defaultVariants: {
|
|
740
740
|
listDirection: "row"
|
|
@@ -749,7 +749,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
749
749
|
false: ""
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
|
-
}), ps =
|
|
752
|
+
}), ps = E({
|
|
753
753
|
base: `
|
|
754
754
|
flex
|
|
755
755
|
items-center
|
|
@@ -774,13 +774,13 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
774
774
|
column: "last:rounded-b-full"
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
|
-
}), hs =
|
|
777
|
+
}), hs = E({
|
|
778
778
|
base: "text-white"
|
|
779
|
-
}), ms =
|
|
779
|
+
}), ms = E({
|
|
780
780
|
base: ""
|
|
781
|
-
}), gs =
|
|
781
|
+
}), gs = E({
|
|
782
782
|
base: "m-auto fixed right-0 top-0 bottom-0 w-full max-w-[512px] [&>div]:h-full"
|
|
783
|
-
}), vs =
|
|
783
|
+
}), vs = E({ base: "h-full w-full flex justify-end" }), ws = E({ base: "bg-black h-full w-full overflow-y-auto" }), bs = E({
|
|
784
784
|
base: `
|
|
785
785
|
w-full
|
|
786
786
|
min-h-32
|
|
@@ -802,7 +802,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
802
802
|
true: "border-red-500"
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
}),
|
|
805
|
+
}), ys = Gn({
|
|
806
806
|
main: (e) => vi(e),
|
|
807
807
|
gridItem: (e) => bi(e),
|
|
808
808
|
grid: (e) => wi(e),
|
|
@@ -814,13 +814,13 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
814
814
|
navigationButtons: (e) => Ri(e)
|
|
815
815
|
},
|
|
816
816
|
calendar: {
|
|
817
|
-
container: (e) =>
|
|
818
|
-
header: (e) =>
|
|
817
|
+
container: (e) => yi(e),
|
|
818
|
+
header: (e) => Si(e),
|
|
819
819
|
navigationButtonsContainer: (e) => xi(e),
|
|
820
820
|
navigationButtons: (e) => Ti(e),
|
|
821
821
|
table: (e) => Pi(e),
|
|
822
|
-
dayLabel: (e) =>
|
|
823
|
-
cellContainer: (e) =>
|
|
822
|
+
dayLabel: (e) => Ei(e),
|
|
823
|
+
cellContainer: (e) => _i(e),
|
|
824
824
|
cell: (e) => Ci(e),
|
|
825
825
|
cellDate: (e) => Mi(e)
|
|
826
826
|
},
|
|
@@ -838,7 +838,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
838
838
|
button: (e) => ue(e),
|
|
839
839
|
popover: () => "border-2 text-black p-4 bg-gray-300"
|
|
840
840
|
},
|
|
841
|
-
typography: (e) =>
|
|
841
|
+
typography: (e) => Y(e),
|
|
842
842
|
button: (e) => ue(e),
|
|
843
843
|
sidePanel: {
|
|
844
844
|
wrapper: (e) => gs(e),
|
|
@@ -860,32 +860,32 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
860
860
|
checkBox: (e) => Ni(e),
|
|
861
861
|
checkMark: (e) => ki(e),
|
|
862
862
|
checkMarkIcon: (e) => zi(e),
|
|
863
|
-
errorMessage: (e) =>
|
|
863
|
+
errorMessage: (e) => Y(e)
|
|
864
864
|
},
|
|
865
865
|
radio: {
|
|
866
866
|
label: (e) => ns(e),
|
|
867
867
|
radio: (e) => is(e),
|
|
868
868
|
selectedMark: (e) => ss(e),
|
|
869
|
-
errorMessage: (e) =>
|
|
869
|
+
errorMessage: (e) => Y(e)
|
|
870
870
|
},
|
|
871
871
|
radioGroup: {
|
|
872
872
|
radioGroup: (e) => os(e),
|
|
873
873
|
radioGroupItemsGroup: (e) => as(e),
|
|
874
|
-
errorMessage: (e) =>
|
|
874
|
+
errorMessage: (e) => Y(e)
|
|
875
875
|
},
|
|
876
876
|
checkboxGroup: {
|
|
877
877
|
checkboxGroup: (e) => ji(e),
|
|
878
878
|
checkboxGroupItemsGroup: (e) => Di(e),
|
|
879
|
-
errormessage: (e) =>
|
|
879
|
+
errormessage: (e) => Y(e)
|
|
880
880
|
},
|
|
881
881
|
select: {
|
|
882
882
|
button: (e) => ue(e),
|
|
883
|
-
ul: (e) =>
|
|
883
|
+
ul: (e) => Y({
|
|
884
884
|
...e,
|
|
885
885
|
className: "outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"
|
|
886
886
|
}),
|
|
887
887
|
popover: (e) => ue({ ...e, className: "w-[var(--select-container-width)]" }),
|
|
888
|
-
errorMessage: (e) =>
|
|
888
|
+
errorMessage: (e) => Y({ ...e, size: "footnotes", isError: !0 }),
|
|
889
889
|
wrapper: () => "flex flex-col gap-4 relative",
|
|
890
890
|
container: () => "flex flex-col gap-4",
|
|
891
891
|
li: () => "transition w-full hover:text-gray-300 focus-ring-white"
|
|
@@ -895,7 +895,7 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
895
895
|
container: () => "flex items-center gap-4",
|
|
896
896
|
label: () => "text-gray-3 px-6",
|
|
897
897
|
input: (e) => bs(e),
|
|
898
|
-
errorMessage: (e) =>
|
|
898
|
+
errorMessage: (e) => Y({ ...e, size: "footnotes", isError: !0 })
|
|
899
899
|
},
|
|
900
900
|
search: {
|
|
901
901
|
wrapper: () => "min-w-fit sm:w-80 flex flex-col gap-2",
|
|
@@ -903,14 +903,14 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
903
903
|
label: () => "text-gray-3",
|
|
904
904
|
input: (e) => ls(e),
|
|
905
905
|
icon: (e) => cs(e),
|
|
906
|
-
errorMessage: (e) =>
|
|
906
|
+
errorMessage: (e) => Y({ ...e, size: "footnotes", isError: !0 })
|
|
907
907
|
},
|
|
908
908
|
textInput: {
|
|
909
909
|
wrapper: () => "group flex flex-col rounded-md px-4 py-1 mb-3 m-0.5 border-2 aria-disabled:pointer-events-none aria-disabled:opacity-30 focus-ring-black",
|
|
910
910
|
label: () => 'group-has-[:required]:after:content-["_*"] group-has-[:required]:after:text-red-500 text-xs',
|
|
911
911
|
container: () => "flex items-center gap-4",
|
|
912
912
|
input: () => "",
|
|
913
|
-
errorMessage: (e) =>
|
|
913
|
+
errorMessage: (e) => Y({ ...e, className: "ml-0", size: "footnotes", isError: !0 })
|
|
914
914
|
},
|
|
915
915
|
menu: {
|
|
916
916
|
sidePanel: {
|
|
@@ -927,11 +927,11 @@ const Xn = (e) => ({ children: r }) => /* @__PURE__ */ g(Un, { brandTheme: e, ch
|
|
|
927
927
|
button: () => "",
|
|
928
928
|
anchor: () => ""
|
|
929
929
|
},
|
|
930
|
-
img:
|
|
930
|
+
img: Yi,
|
|
931
931
|
alerts: gi
|
|
932
932
|
});
|
|
933
|
-
L.memo(
|
|
934
|
-
const
|
|
933
|
+
L.memo(Yn(ys));
|
|
934
|
+
const Q = (e, t = {}, r = null) => {
|
|
935
935
|
const n = Fn();
|
|
936
936
|
if (n != null && e != null) {
|
|
937
937
|
const { brandTheme: i } = n, s = wn(i, e);
|
|
@@ -943,7 +943,7 @@ const Z = (e, t = {}, r = null) => {
|
|
|
943
943
|
}
|
|
944
944
|
if (r)
|
|
945
945
|
return r;
|
|
946
|
-
},
|
|
946
|
+
}, Ss = ({
|
|
947
947
|
as: e = "span",
|
|
948
948
|
themeName: t = "typography",
|
|
949
949
|
tokens: r,
|
|
@@ -951,11 +951,11 @@ const Z = (e, t = {}, r = null) => {
|
|
|
951
951
|
children: i,
|
|
952
952
|
...s
|
|
953
953
|
}) => {
|
|
954
|
-
const l =
|
|
954
|
+
const l = Q(t, r, n);
|
|
955
955
|
return /* @__PURE__ */ g(e, { ...s, className: l, children: i });
|
|
956
956
|
};
|
|
957
957
|
L.forwardRef((e, t) => {
|
|
958
|
-
const { as: r = "span", tokens: n, themeName: i = "typography", customTheme: s, children: l, ...a } = e, o =
|
|
958
|
+
const { as: r = "span", tokens: n, themeName: i = "typography", customTheme: s, children: l, ...a } = e, o = Q(i, n, s);
|
|
959
959
|
return /* @__PURE__ */ g(r, { ...a, ref: t, className: o, children: l });
|
|
960
960
|
});
|
|
961
961
|
function Ot() {
|
|
@@ -986,10 +986,10 @@ const xt = ({
|
|
|
986
986
|
className: s,
|
|
987
987
|
...l
|
|
988
988
|
}) => {
|
|
989
|
-
const a =
|
|
989
|
+
const a = Q(t, r, n);
|
|
990
990
|
return /* @__PURE__ */ g(e, { ...l, className: a, children: i });
|
|
991
991
|
}, It = L.forwardRef((e, t) => {
|
|
992
|
-
const { as: r = "div", tokens: n, themeName: i = "box", customTheme: s, children: l, ...a } = e, o =
|
|
992
|
+
const { as: r = "div", tokens: n, themeName: i = "box", customTheme: s, children: l, ...a } = e, o = Q(i, n, s);
|
|
993
993
|
return /* @__PURE__ */ g(r, { ...a, ref: t, className: o, children: l });
|
|
994
994
|
}), Gr = L.forwardRef(
|
|
995
995
|
(e, t) => {
|
|
@@ -1013,7 +1013,7 @@ const xt = ({
|
|
|
1013
1013
|
onPress: n
|
|
1014
1014
|
},
|
|
1015
1015
|
t ?? d
|
|
1016
|
-
), p =
|
|
1016
|
+
), p = Q(o, a, l);
|
|
1017
1017
|
return /* @__PURE__ */ g(we, { focusRingClass: "has-focus-ring", children: /* @__PURE__ */ g(r, { ref: d, ...f, ...u, ...c, className: p, children: i }) });
|
|
1018
1018
|
}
|
|
1019
1019
|
), $r = L.forwardRef((e, t) => {
|
|
@@ -1030,7 +1030,7 @@ const xt = ({
|
|
|
1030
1030
|
} = e, d = t, { buttonProps: f } = Tn(
|
|
1031
1031
|
{ ...e, isDisabled: u, elementType: s, onPress: n },
|
|
1032
1032
|
t ?? d
|
|
1033
|
-
), p =
|
|
1033
|
+
), p = Q(o, a, l);
|
|
1034
1034
|
return /* @__PURE__ */ g(we, { within: !0, focusRingClass: "has-focus-ring", children: /* @__PURE__ */ g(r, { ref: d, ...f, ...c, className: p, children: i }) });
|
|
1035
1035
|
}), xs = L.forwardRef(
|
|
1036
1036
|
(e, t) => {
|
|
@@ -1038,7 +1038,7 @@ const xt = ({
|
|
|
1038
1038
|
return r === "a" ? /* @__PURE__ */ g(Gr, { ref: t, ...e }) : /* @__PURE__ */ g($r, { ref: t, ...e });
|
|
1039
1039
|
}
|
|
1040
1040
|
), Ts = (e) => {
|
|
1041
|
-
const { as: t } = e, r =
|
|
1041
|
+
const { as: t } = e, r = Z(null);
|
|
1042
1042
|
return t === "a" ? /* @__PURE__ */ g(Gr, { ref: r, ...e }) : /* @__PURE__ */ g($r, { ref: r, ...e });
|
|
1043
1043
|
};
|
|
1044
1044
|
L.memo(Ts);
|
|
@@ -1047,14 +1047,14 @@ const Ps = (e, t) => {
|
|
|
1047
1047
|
return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((n, i) => {
|
|
1048
1048
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(i.bind(null, new Error("Unknown variable dynamic import: " + t)));
|
|
1049
1049
|
});
|
|
1050
|
-
},
|
|
1050
|
+
}, Es = (e) => /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", height: 48, width: 48, fill: "currentColor", ...e }), Hr = z(Es), _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1051
1051
|
__proto__: null,
|
|
1052
1052
|
default: Hr
|
|
1053
1053
|
}, Symbol.toStringTag, { value: "Module" })), Cs = (e) => {
|
|
1054
|
-
const { icon: t, ...r } = e, n = Nr(() => bn(() => Ps(/* @__PURE__ */ Object.assign({ "../icons/ArrowDown.tsx": () => Promise.resolve().then(() =>
|
|
1055
|
-
return /* @__PURE__ */ g(
|
|
1054
|
+
const { icon: t, ...r } = e, n = Nr(() => bn(() => Ps(/* @__PURE__ */ Object.assign({ "../icons/ArrowDown.tsx": () => Promise.resolve().then(() => tl), "../icons/ArrowLeft.tsx": () => Promise.resolve().then(() => il), "../icons/ArrowRight.tsx": () => Promise.resolve().then(() => al), "../icons/Check.tsx": () => Promise.resolve().then(() => ul), "../icons/ChevronLeft.tsx": () => Promise.resolve().then(() => pl), "../icons/ChevronRight.tsx": () => Promise.resolve().then(() => gl), "../icons/CloseBtn.tsx": () => Promise.resolve().then(() => Bs), "../icons/Facebook.tsx": () => Promise.resolve().then(() => bl), "../icons/FacebookColored.tsx": () => Promise.resolve().then(() => xl), "../icons/FacebookRounded.tsx": () => Promise.resolve().then(() => El), "../icons/Globe.tsx": () => Promise.resolve().then(() => Ml), "../icons/IconFallback.tsx": () => Promise.resolve().then(() => _s), "../icons/Instagram.tsx": () => Promise.resolve().then(() => Rl), "../icons/InstagramColored.tsx": () => Promise.resolve().then(() => Nl), "../icons/Link.tsx": () => Promise.resolve().then(() => jl), "../icons/LinkedIn.tsx": () => Promise.resolve().then(() => Vl), "../icons/Mail.tsx": () => Promise.resolve().then(() => $l), "../icons/Plus.tsx": () => Promise.resolve().then(() => Wl), "../icons/Search.tsx": () => Promise.resolve().then(() => Gs), "../icons/Share.tsx": () => Promise.resolve().then(() => Xl), "../icons/Twitter.tsx": () => Promise.resolve().then(() => Ql), "../icons/TwitterColored.tsx": () => Promise.resolve().then(() => tc), "../icons/Upload.tsx": () => Promise.resolve().then(() => ic), "../icons/X.tsx": () => Promise.resolve().then(() => ac), "../icons/YouTube.tsx": () => Promise.resolve().then(() => uc), "../icons/YouTubeColored.tsx": () => Promise.resolve().then(() => pc) }), `../icons/${t || "ArrowRight"}.tsx`)), [t]);
|
|
1055
|
+
return /* @__PURE__ */ g(yn, { fallback: /* @__PURE__ */ g(Hr, { className: "overflow-visible pointer-events-none" }), children: /* @__PURE__ */ g(n, { ...r, className: "overflow-visible pointer-events-none", ...e }) });
|
|
1056
1056
|
}, Rt = (e) => {
|
|
1057
|
-
const { icon: t, as: r = "span", tokens: n, customTheme: i, themeName: s = "icon", children: l, ...a } = e, o =
|
|
1057
|
+
const { icon: t, as: r = "span", tokens: n, customTheme: i, themeName: s = "icon", children: l, ...a } = e, o = Q(s, n, i);
|
|
1058
1058
|
return typeof t != "string" ? /* @__PURE__ */ q(r, { ...a, className: o, children: [
|
|
1059
1059
|
l,
|
|
1060
1060
|
t
|
|
@@ -1062,7 +1062,7 @@ const Ps = (e, t) => {
|
|
|
1062
1062
|
l,
|
|
1063
1063
|
/* @__PURE__ */ g(Cs, { icon: t, ...a })
|
|
1064
1064
|
] });
|
|
1065
|
-
}, [Ms,
|
|
1065
|
+
}, [Ms, Uc] = Ot(), Os = ({ isVisible: e, children: t }) => Ct(e, {
|
|
1066
1066
|
from: { opacity: 0, translateX: "100%" },
|
|
1067
1067
|
enter: { opacity: 1, translateX: "0%" },
|
|
1068
1068
|
leave: { opacity: 0, translateX: "25%" }
|
|
@@ -1116,7 +1116,7 @@ const Ps = (e, t) => {
|
|
|
1116
1116
|
}
|
|
1117
1117
|
);
|
|
1118
1118
|
}, Ns = (e) => {
|
|
1119
|
-
const { themeName: t, tokens: r, customTheme: n, children: i, state: s, ...l } = e, a =
|
|
1119
|
+
const { themeName: t, tokens: r, customTheme: n, children: i, state: s, ...l } = e, a = Z(null), { modalProps: o, underlayProps: u } = Pn(l, s, a);
|
|
1120
1120
|
return /* @__PURE__ */ g(xt, { themeName: `${t}.underlay`, tokens: r, customTheme: n, ...u, children: /* @__PURE__ */ g(It, { ref: a, themeName: `${t}.overlay`, tokens: r, ...o, children: i }) });
|
|
1121
1121
|
}, ks = (e) => {
|
|
1122
1122
|
const {
|
|
@@ -1127,7 +1127,7 @@ const Ps = (e, t) => {
|
|
|
1127
1127
|
tokens: s,
|
|
1128
1128
|
...l
|
|
1129
1129
|
} = e;
|
|
1130
|
-
return /* @__PURE__ */ g(
|
|
1130
|
+
return /* @__PURE__ */ g(En, { children: /* @__PURE__ */ g(r, { isVisible: n.isOpen, children: /* @__PURE__ */ g(Ns, { themeName: i, tokens: s, state: n, ...l, children: /* @__PURE__ */ g(As, { themeName: i, tokens: s, ...l, children: t }) }) }) });
|
|
1131
1131
|
}, zs = (e) => {
|
|
1132
1132
|
const {
|
|
1133
1133
|
children: t,
|
|
@@ -1137,7 +1137,7 @@ const Ps = (e, t) => {
|
|
|
1137
1137
|
TransitionAnimation: s = Os,
|
|
1138
1138
|
PanelTransition: l = Rs,
|
|
1139
1139
|
customTheme: a
|
|
1140
|
-
} = e, o =
|
|
1140
|
+
} = e, o = Q(`${n}.wrapper`, i, a), u = Q(`${n}.container`, i, a), c = Q(`${n}.innerContainer`, i, a), { overlayState: d, overlayProps: f } = Ms();
|
|
1141
1141
|
return /* @__PURE__ */ g(ks, { state: d, ...f, transitionComponent: l, isDismissable: !0, children: /* @__PURE__ */ q(In, { className: o, children: [
|
|
1142
1142
|
r && r(),
|
|
1143
1143
|
/* @__PURE__ */ g(s, { isVisible: d.isOpen, children: /* @__PURE__ */ g("div", { className: u, children: /* @__PURE__ */ g("div", { className: c, children: t }) }) })
|
|
@@ -1156,7 +1156,7 @@ L.forwardRef((e, t) => {
|
|
|
1156
1156
|
isDismissable: u,
|
|
1157
1157
|
shouldCloseOnBlur: c,
|
|
1158
1158
|
...d
|
|
1159
|
-
} = e, { overlayProps: f } =
|
|
1159
|
+
} = e, { overlayProps: f } = _n(
|
|
1160
1160
|
{
|
|
1161
1161
|
isDismissable: u,
|
|
1162
1162
|
shouldCloseOnBlur: c,
|
|
@@ -1164,7 +1164,7 @@ L.forwardRef((e, t) => {
|
|
|
1164
1164
|
onClose: n
|
|
1165
1165
|
},
|
|
1166
1166
|
t
|
|
1167
|
-
), { modalProps: p } = Cn(), { dialogProps: v } = kr({}, t), m =
|
|
1167
|
+
), { modalProps: p } = Cn(), { dialogProps: v } = kr({}, t), m = Q(`${l}.popover`, a, o);
|
|
1168
1168
|
return /* @__PURE__ */ g(zr, { autoFocus: !0, restoreFocus: !0, contain: !0, children: /* @__PURE__ */ q(
|
|
1169
1169
|
It,
|
|
1170
1170
|
{
|
|
@@ -1181,7 +1181,7 @@ L.forwardRef((e, t) => {
|
|
|
1181
1181
|
) });
|
|
1182
1182
|
});
|
|
1183
1183
|
const js = ({ content: e, themeName: t = "wysiwyg", ...r }) => /* @__PURE__ */ g(
|
|
1184
|
-
|
|
1184
|
+
Ss,
|
|
1185
1185
|
{
|
|
1186
1186
|
...r,
|
|
1187
1187
|
themeName: t,
|
|
@@ -1210,9 +1210,9 @@ const Ds = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "curre
|
|
|
1210
1210
|
qe(null);
|
|
1211
1211
|
qe(null);
|
|
1212
1212
|
qr();
|
|
1213
|
-
var Gt = { exports: {} }, ve = {};
|
|
1214
|
-
ve._ = ve._interop_require_default =
|
|
1215
|
-
function
|
|
1213
|
+
var $s = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Gt = { exports: {} }, ve = {};
|
|
1214
|
+
ve._ = ve._interop_require_default = Hs;
|
|
1215
|
+
function Hs(e) {
|
|
1216
1216
|
return e && e.__esModule ? e : { default: e };
|
|
1217
1217
|
}
|
|
1218
1218
|
var Te = { exports: {} }, He = {}, $t;
|
|
@@ -1268,7 +1268,7 @@ function Wr() {
|
|
|
1268
1268
|
}(He)), He;
|
|
1269
1269
|
}
|
|
1270
1270
|
var Fe = {}, Pe = {}, Ht;
|
|
1271
|
-
function
|
|
1271
|
+
function Fs() {
|
|
1272
1272
|
if (Ht)
|
|
1273
1273
|
return Pe;
|
|
1274
1274
|
Ht = 1;
|
|
@@ -1323,7 +1323,7 @@ function Ur() {
|
|
|
1323
1323
|
return a;
|
|
1324
1324
|
}
|
|
1325
1325
|
});
|
|
1326
|
-
const n = /* @__PURE__ */
|
|
1326
|
+
const n = /* @__PURE__ */ Fs()._(Wr()), i = /https?|ftp|gopher|file/;
|
|
1327
1327
|
function s(o) {
|
|
1328
1328
|
let { auth: u, hostname: c } = o, d = o.protocol || "", f = o.pathname || "", p = o.hash || "", v = o.query || "", m = !1;
|
|
1329
1329
|
u = u ? encodeURIComponent(u).replace(/%3A/i, ":") + "@" : "", o.host ? m = u + o.host : c && (m = u + (~c.indexOf(":") ? "[" + c + "]" : c), o.port && (m += ":" + o.port)), v && typeof v == "object" && (v = String(n.urlQueryToSearchParams(v)));
|
|
@@ -1352,7 +1352,7 @@ function Ur() {
|
|
|
1352
1352
|
}(Fe)), Fe;
|
|
1353
1353
|
}
|
|
1354
1354
|
var We = {}, Wt;
|
|
1355
|
-
function
|
|
1355
|
+
function Ws() {
|
|
1356
1356
|
return Wt || (Wt = 1, function(e) {
|
|
1357
1357
|
Object.defineProperty(e, "__esModule", {
|
|
1358
1358
|
value: !0
|
|
@@ -1376,11 +1376,11 @@ function Ge() {
|
|
|
1376
1376
|
Object.defineProperty(e, "__esModule", {
|
|
1377
1377
|
value: !0
|
|
1378
1378
|
});
|
|
1379
|
-
function t(w,
|
|
1380
|
-
for (var x in
|
|
1379
|
+
function t(w, S) {
|
|
1380
|
+
for (var x in S)
|
|
1381
1381
|
Object.defineProperty(w, x, {
|
|
1382
1382
|
enumerable: !0,
|
|
1383
|
-
get:
|
|
1383
|
+
get: S[x]
|
|
1384
1384
|
});
|
|
1385
1385
|
}
|
|
1386
1386
|
t(e, {
|
|
@@ -1430,10 +1430,10 @@ function Ge() {
|
|
|
1430
1430
|
return h;
|
|
1431
1431
|
},
|
|
1432
1432
|
MiddlewareNotFoundError: function() {
|
|
1433
|
-
return
|
|
1433
|
+
return _;
|
|
1434
1434
|
},
|
|
1435
1435
|
stringifyError: function() {
|
|
1436
|
-
return
|
|
1436
|
+
return y;
|
|
1437
1437
|
}
|
|
1438
1438
|
});
|
|
1439
1439
|
const r = [
|
|
@@ -1445,21 +1445,21 @@ function Ge() {
|
|
|
1445
1445
|
"TTFB"
|
|
1446
1446
|
];
|
|
1447
1447
|
function n(w) {
|
|
1448
|
-
let
|
|
1448
|
+
let S = !1, x;
|
|
1449
1449
|
return function() {
|
|
1450
1450
|
for (var O = arguments.length, C = new Array(O), P = 0; P < O; P++)
|
|
1451
1451
|
C[P] = arguments[P];
|
|
1452
|
-
return
|
|
1452
|
+
return S || (S = !0, x = w(...C)), x;
|
|
1453
1453
|
};
|
|
1454
1454
|
}
|
|
1455
1455
|
const i = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, s = (w) => i.test(w);
|
|
1456
1456
|
function l() {
|
|
1457
|
-
const { protocol: w, hostname:
|
|
1458
|
-
return w + "//" +
|
|
1457
|
+
const { protocol: w, hostname: S, port: x } = window.location;
|
|
1458
|
+
return w + "//" + S + (x ? ":" + x : "");
|
|
1459
1459
|
}
|
|
1460
1460
|
function a() {
|
|
1461
|
-
const { href: w } = window.location,
|
|
1462
|
-
return w.substring(
|
|
1461
|
+
const { href: w } = window.location, S = l();
|
|
1462
|
+
return w.substring(S.length);
|
|
1463
1463
|
}
|
|
1464
1464
|
function o(w) {
|
|
1465
1465
|
return typeof w == "string" ? w : w.displayName || w.name || "Unknown";
|
|
@@ -1468,10 +1468,10 @@ function Ge() {
|
|
|
1468
1468
|
return w.finished || w.headersSent;
|
|
1469
1469
|
}
|
|
1470
1470
|
function c(w) {
|
|
1471
|
-
const
|
|
1472
|
-
return
|
|
1471
|
+
const S = w.split("?");
|
|
1472
|
+
return S[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (S[1] ? "?" + S.slice(1).join("?") : "");
|
|
1473
1473
|
}
|
|
1474
|
-
async function d(w,
|
|
1474
|
+
async function d(w, S) {
|
|
1475
1475
|
if (process.env.NODE_ENV !== "production") {
|
|
1476
1476
|
var x;
|
|
1477
1477
|
if ((x = w.prototype) != null && x.getInitialProps) {
|
|
@@ -1479,19 +1479,19 @@ function Ge() {
|
|
|
1479
1479
|
throw new Error(P);
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
|
-
const O =
|
|
1482
|
+
const O = S.res || S.ctx && S.ctx.res;
|
|
1483
1483
|
if (!w.getInitialProps)
|
|
1484
|
-
return
|
|
1485
|
-
pageProps: await d(
|
|
1484
|
+
return S.ctx && S.Component ? {
|
|
1485
|
+
pageProps: await d(S.Component, S.ctx)
|
|
1486
1486
|
} : {};
|
|
1487
|
-
const C = await w.getInitialProps(
|
|
1487
|
+
const C = await w.getInitialProps(S);
|
|
1488
1488
|
if (O && u(O))
|
|
1489
1489
|
return C;
|
|
1490
1490
|
if (!C) {
|
|
1491
1491
|
const P = '"' + o(w) + '.getInitialProps()" should resolve to an object. But found "' + C + '" instead.';
|
|
1492
1492
|
throw new Error(P);
|
|
1493
1493
|
}
|
|
1494
|
-
return process.env.NODE_ENV !== "production" && Object.keys(C).length === 0 && !
|
|
1494
|
+
return process.env.NODE_ENV !== "production" && Object.keys(C).length === 0 && !S.ctx && console.warn("" + o(w) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), C;
|
|
1495
1495
|
}
|
|
1496
1496
|
const f = typeof performance < "u", p = f && [
|
|
1497
1497
|
"mark",
|
|
@@ -1503,21 +1503,21 @@ function Ge() {
|
|
|
1503
1503
|
class m extends Error {
|
|
1504
1504
|
}
|
|
1505
1505
|
class b extends Error {
|
|
1506
|
-
constructor(
|
|
1507
|
-
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " +
|
|
1506
|
+
constructor(S) {
|
|
1507
|
+
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + S;
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
1510
|
class h extends Error {
|
|
1511
|
-
constructor(
|
|
1512
|
-
super(), this.message = "Failed to load static file for page: " +
|
|
1511
|
+
constructor(S, x) {
|
|
1512
|
+
super(), this.message = "Failed to load static file for page: " + S + " " + x;
|
|
1513
1513
|
}
|
|
1514
1514
|
}
|
|
1515
|
-
class
|
|
1515
|
+
class _ extends Error {
|
|
1516
1516
|
constructor() {
|
|
1517
1517
|
super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
|
|
1518
1518
|
}
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1520
|
+
function y(w) {
|
|
1521
1521
|
return JSON.stringify({
|
|
1522
1522
|
message: w.message,
|
|
1523
1523
|
stack: w.stack
|
|
@@ -1525,9 +1525,9 @@ function Ge() {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
}(Ue)), Ue;
|
|
1527
1527
|
}
|
|
1528
|
-
var
|
|
1529
|
-
function
|
|
1530
|
-
return
|
|
1528
|
+
var Ee = { exports: {} }, Ye = {}, Yt;
|
|
1529
|
+
function Yr() {
|
|
1530
|
+
return Yt || (Yt = 1, function(e) {
|
|
1531
1531
|
Object.defineProperty(e, "__esModule", {
|
|
1532
1532
|
value: !0
|
|
1533
1533
|
}), Object.defineProperty(e, "removeTrailingSlash", {
|
|
@@ -1539,11 +1539,11 @@ function Xr() {
|
|
|
1539
1539
|
function t(r) {
|
|
1540
1540
|
return r.replace(/\/$/, "") || "/";
|
|
1541
1541
|
}
|
|
1542
|
-
}(
|
|
1542
|
+
}(Ye)), Ye;
|
|
1543
1543
|
}
|
|
1544
|
-
var
|
|
1544
|
+
var Xe = {}, Xt;
|
|
1545
1545
|
function Lt() {
|
|
1546
|
-
return
|
|
1546
|
+
return Xt || (Xt = 1, function(e) {
|
|
1547
1547
|
Object.defineProperty(e, "__esModule", {
|
|
1548
1548
|
value: !0
|
|
1549
1549
|
}), Object.defineProperty(e, "parsePath", {
|
|
@@ -1564,7 +1564,7 @@ function Lt() {
|
|
|
1564
1564
|
hash: ""
|
|
1565
1565
|
};
|
|
1566
1566
|
}
|
|
1567
|
-
}(
|
|
1567
|
+
}(Xe)), Xe;
|
|
1568
1568
|
}
|
|
1569
1569
|
var Kt;
|
|
1570
1570
|
function $e() {
|
|
@@ -1577,18 +1577,18 @@ function $e() {
|
|
|
1577
1577
|
return i;
|
|
1578
1578
|
}
|
|
1579
1579
|
});
|
|
1580
|
-
const r =
|
|
1580
|
+
const r = Yr(), n = Lt(), i = (s) => {
|
|
1581
1581
|
if (!s.startsWith("/") || process.env.__NEXT_MANUAL_TRAILING_SLASH)
|
|
1582
1582
|
return s;
|
|
1583
1583
|
const { pathname: l, query: a, hash: o } = (0, n.parsePath)(s);
|
|
1584
1584
|
return process.env.__NEXT_TRAILING_SLASH ? /\.[^/]+\/?$/.test(l) ? "" + (0, r.removeTrailingSlash)(l) + a + o : l.endsWith("/") ? "" + l + a + o : l + "/" + a + o : "" + (0, r.removeTrailingSlash)(l) + a + o;
|
|
1585
1585
|
};
|
|
1586
1586
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
1587
|
-
}(
|
|
1587
|
+
}(Ee, Ee.exports)), Ee.exports;
|
|
1588
1588
|
}
|
|
1589
|
-
var Ke = {},
|
|
1590
|
-
function
|
|
1591
|
-
return
|
|
1589
|
+
var Ke = {}, _e = { exports: {} }, Ze = {}, Zt;
|
|
1590
|
+
function Xr() {
|
|
1591
|
+
return Zt || (Zt = 1, function(e) {
|
|
1592
1592
|
Object.defineProperty(e, "__esModule", {
|
|
1593
1593
|
value: !0
|
|
1594
1594
|
}), Object.defineProperty(e, "pathHasPrefix", {
|
|
@@ -1604,11 +1604,11 @@ function Yr() {
|
|
|
1604
1604
|
const { pathname: s } = (0, t.parsePath)(n);
|
|
1605
1605
|
return s === i || s.startsWith(i + "/");
|
|
1606
1606
|
}
|
|
1607
|
-
}(
|
|
1607
|
+
}(Ze)), Ze;
|
|
1608
1608
|
}
|
|
1609
|
-
var
|
|
1610
|
-
function
|
|
1611
|
-
return
|
|
1609
|
+
var Qt;
|
|
1610
|
+
function Us() {
|
|
1611
|
+
return Qt || (Qt = 1, function(e, t) {
|
|
1612
1612
|
Object.defineProperty(t, "__esModule", {
|
|
1613
1613
|
value: !0
|
|
1614
1614
|
}), Object.defineProperty(t, "hasBasePath", {
|
|
@@ -1617,12 +1617,12 @@ function Ws() {
|
|
|
1617
1617
|
return i;
|
|
1618
1618
|
}
|
|
1619
1619
|
});
|
|
1620
|
-
const r =
|
|
1620
|
+
const r = Xr(), n = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
1621
1621
|
function i(s) {
|
|
1622
1622
|
return (0, r.pathHasPrefix)(s, n);
|
|
1623
1623
|
}
|
|
1624
1624
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
1625
|
-
}(
|
|
1625
|
+
}(_e, _e.exports)), _e.exports;
|
|
1626
1626
|
}
|
|
1627
1627
|
var Jt;
|
|
1628
1628
|
function Kr() {
|
|
@@ -1635,7 +1635,7 @@ function Kr() {
|
|
|
1635
1635
|
return n;
|
|
1636
1636
|
}
|
|
1637
1637
|
});
|
|
1638
|
-
const t = Ge(), r =
|
|
1638
|
+
const t = Ge(), r = Us();
|
|
1639
1639
|
function n(i) {
|
|
1640
1640
|
if (!(0, t.isAbsoluteUrl)(i))
|
|
1641
1641
|
return !0;
|
|
@@ -1648,8 +1648,8 @@ function Kr() {
|
|
|
1648
1648
|
}
|
|
1649
1649
|
}(Ke)), Ke;
|
|
1650
1650
|
}
|
|
1651
|
-
var
|
|
1652
|
-
function
|
|
1651
|
+
var Qe = {}, Je = {}, er;
|
|
1652
|
+
function Ys() {
|
|
1653
1653
|
return er || (er = 1, function(e) {
|
|
1654
1654
|
Object.defineProperty(e, "__esModule", {
|
|
1655
1655
|
value: !0
|
|
@@ -1752,7 +1752,7 @@ function Xs() {
|
|
|
1752
1752
|
}(nt)), nt;
|
|
1753
1753
|
}
|
|
1754
1754
|
var it = {}, rr;
|
|
1755
|
-
function
|
|
1755
|
+
function Ks() {
|
|
1756
1756
|
return rr || (rr = 1, function(e) {
|
|
1757
1757
|
Object.defineProperty(e, "__esModule", {
|
|
1758
1758
|
value: !0
|
|
@@ -1768,7 +1768,7 @@ function Ys() {
|
|
|
1768
1768
|
}(it)), it;
|
|
1769
1769
|
}
|
|
1770
1770
|
var nr;
|
|
1771
|
-
function
|
|
1771
|
+
function Zs() {
|
|
1772
1772
|
return nr || (nr = 1, function(e) {
|
|
1773
1773
|
Object.defineProperty(e, "__esModule", {
|
|
1774
1774
|
value: !0
|
|
@@ -1788,7 +1788,7 @@ function Ks() {
|
|
|
1788
1788
|
return s;
|
|
1789
1789
|
}
|
|
1790
1790
|
});
|
|
1791
|
-
const r = Xs(), n =
|
|
1791
|
+
const r = Xs(), n = Ks();
|
|
1792
1792
|
function i(l) {
|
|
1793
1793
|
return (0, r.ensureLeadingSlash)(l.split("/").reduce((a, o, u, c) => !o || (0, n.isGroupSegment)(o) || o[0] === "@" || (o === "page" || o === "route") && u === c.length - 1 ? a : a + "/" + o, ""));
|
|
1794
1794
|
}
|
|
@@ -1802,7 +1802,7 @@ function Ks() {
|
|
|
1802
1802
|
}(rt)), rt;
|
|
1803
1803
|
}
|
|
1804
1804
|
var ir;
|
|
1805
|
-
function
|
|
1805
|
+
function Zr() {
|
|
1806
1806
|
return ir || (ir = 1, function(e) {
|
|
1807
1807
|
Object.defineProperty(e, "__esModule", {
|
|
1808
1808
|
value: !0
|
|
@@ -1825,7 +1825,7 @@ function Qr() {
|
|
|
1825
1825
|
return s;
|
|
1826
1826
|
}
|
|
1827
1827
|
});
|
|
1828
|
-
const r =
|
|
1828
|
+
const r = Zs(), n = [
|
|
1829
1829
|
"(..)(..)",
|
|
1830
1830
|
"(.)",
|
|
1831
1831
|
"(..)",
|
|
@@ -1882,14 +1882,14 @@ function Qs() {
|
|
|
1882
1882
|
return n;
|
|
1883
1883
|
}
|
|
1884
1884
|
});
|
|
1885
|
-
const t =
|
|
1885
|
+
const t = Zr(), r = /\/\[[^/]+?\](?=\/|$)/;
|
|
1886
1886
|
function n(i) {
|
|
1887
1887
|
return (0, t.isInterceptionRouteAppPath)(i) && (i = (0, t.extractInterceptionRouteInformation)(i).interceptedRoute), r.test(i);
|
|
1888
1888
|
}
|
|
1889
1889
|
}(et)), et;
|
|
1890
1890
|
}
|
|
1891
1891
|
var or;
|
|
1892
|
-
function
|
|
1892
|
+
function Js() {
|
|
1893
1893
|
return or || (or = 1, function(e) {
|
|
1894
1894
|
Object.defineProperty(e, "__esModule", {
|
|
1895
1895
|
value: !0
|
|
@@ -1909,11 +1909,11 @@ function Zs() {
|
|
|
1909
1909
|
return n.isDynamicRoute;
|
|
1910
1910
|
}
|
|
1911
1911
|
});
|
|
1912
|
-
const r =
|
|
1913
|
-
}(
|
|
1912
|
+
const r = Ys(), n = Qs();
|
|
1913
|
+
}(Qe)), Qe;
|
|
1914
1914
|
}
|
|
1915
1915
|
var st = {}, ot = {}, ar;
|
|
1916
|
-
function
|
|
1916
|
+
function eo() {
|
|
1917
1917
|
return ar || (ar = 1, function(e) {
|
|
1918
1918
|
Object.defineProperty(e, "__esModule", {
|
|
1919
1919
|
value: !0
|
|
@@ -1948,7 +1948,7 @@ function Js() {
|
|
|
1948
1948
|
}(ot)), ot;
|
|
1949
1949
|
}
|
|
1950
1950
|
var at = {}, lt = {}, lr;
|
|
1951
|
-
function
|
|
1951
|
+
function to() {
|
|
1952
1952
|
return lr || (lr = 1, function(e) {
|
|
1953
1953
|
Object.defineProperty(e, "__esModule", {
|
|
1954
1954
|
value: !0
|
|
@@ -1965,7 +1965,7 @@ function eo() {
|
|
|
1965
1965
|
}(lt)), lt;
|
|
1966
1966
|
}
|
|
1967
1967
|
var cr;
|
|
1968
|
-
function
|
|
1968
|
+
function ro() {
|
|
1969
1969
|
return cr || (cr = 1, function(e) {
|
|
1970
1970
|
Object.defineProperty(e, "__esModule", {
|
|
1971
1971
|
value: !0
|
|
@@ -1988,7 +1988,7 @@ function to() {
|
|
|
1988
1988
|
return v;
|
|
1989
1989
|
}
|
|
1990
1990
|
});
|
|
1991
|
-
const r =
|
|
1991
|
+
const r = Zr(), n = to(), i = Yr(), s = "nxtP", l = "nxtI";
|
|
1992
1992
|
function a(m) {
|
|
1993
1993
|
const b = m.startsWith("[") && m.endsWith("]");
|
|
1994
1994
|
b && (m = m.slice(1, -1));
|
|
@@ -2001,26 +2001,26 @@ function to() {
|
|
|
2001
2001
|
}
|
|
2002
2002
|
function o(m) {
|
|
2003
2003
|
const b = (0, i.removeTrailingSlash)(m).slice(1).split("/"), h = {};
|
|
2004
|
-
let
|
|
2004
|
+
let _ = 1;
|
|
2005
2005
|
return {
|
|
2006
|
-
parameterizedRoute: b.map((
|
|
2007
|
-
const w = r.INTERCEPTION_ROUTE_MARKERS.find((x) =>
|
|
2008
|
-
if (w &&
|
|
2009
|
-
const { key: x, optional: O, repeat: C } = a(
|
|
2006
|
+
parameterizedRoute: b.map((y) => {
|
|
2007
|
+
const w = r.INTERCEPTION_ROUTE_MARKERS.find((x) => y.startsWith(x)), S = y.match(/\[((?:\[.*\])|.+)\]/);
|
|
2008
|
+
if (w && S) {
|
|
2009
|
+
const { key: x, optional: O, repeat: C } = a(S[1]);
|
|
2010
2010
|
return h[x] = {
|
|
2011
|
-
pos:
|
|
2011
|
+
pos: _++,
|
|
2012
2012
|
repeat: C,
|
|
2013
2013
|
optional: O
|
|
2014
2014
|
}, "/" + (0, n.escapeStringRegexp)(w) + "([^/]+?)";
|
|
2015
|
-
} else if (
|
|
2016
|
-
const { key: x, repeat: O, optional: C } = a(
|
|
2015
|
+
} else if (S) {
|
|
2016
|
+
const { key: x, repeat: O, optional: C } = a(S[1]);
|
|
2017
2017
|
return h[x] = {
|
|
2018
|
-
pos:
|
|
2018
|
+
pos: _++,
|
|
2019
2019
|
repeat: O,
|
|
2020
2020
|
optional: C
|
|
2021
2021
|
}, O ? C ? "(?:/(.+?))?" : "/(.+?)" : "/([^/]+?)";
|
|
2022
2022
|
} else
|
|
2023
|
-
return "/" + (0, n.escapeStringRegexp)(
|
|
2023
|
+
return "/" + (0, n.escapeStringRegexp)(y);
|
|
2024
2024
|
}).join(""),
|
|
2025
2025
|
groups: h
|
|
2026
2026
|
};
|
|
@@ -2042,38 +2042,38 @@ function to() {
|
|
|
2042
2042
|
};
|
|
2043
2043
|
}
|
|
2044
2044
|
function d(m) {
|
|
2045
|
-
let { interceptionMarker: b, getSafeRouteKey: h, segment:
|
|
2046
|
-
const { key:
|
|
2047
|
-
let C =
|
|
2045
|
+
let { interceptionMarker: b, getSafeRouteKey: h, segment: _, routeKeys: y, keyPrefix: w } = m;
|
|
2046
|
+
const { key: S, optional: x, repeat: O } = a(_);
|
|
2047
|
+
let C = S.replace(/\W/g, "");
|
|
2048
2048
|
w && (C = "" + w + C);
|
|
2049
2049
|
let P = !1;
|
|
2050
|
-
(C.length === 0 || C.length > 30) && (P = !0), isNaN(parseInt(C.slice(0, 1))) || (P = !0), P && (C = h()), w ?
|
|
2050
|
+
(C.length === 0 || C.length > 30) && (P = !0), isNaN(parseInt(C.slice(0, 1))) || (P = !0), P && (C = h()), w ? y[C] = "" + w + S : y[C] = S;
|
|
2051
2051
|
const T = b ? (0, n.escapeStringRegexp)(b) : "";
|
|
2052
2052
|
return O ? x ? "(?:/" + T + "(?<" + C + ">.+?))?" : "/" + T + "(?<" + C + ">.+?)" : "/" + T + "(?<" + C + ">[^/]+?)";
|
|
2053
2053
|
}
|
|
2054
2054
|
function f(m, b) {
|
|
2055
|
-
const h = (0, i.removeTrailingSlash)(m).slice(1).split("/"),
|
|
2055
|
+
const h = (0, i.removeTrailingSlash)(m).slice(1).split("/"), _ = c(), y = {};
|
|
2056
2056
|
return {
|
|
2057
2057
|
namedParameterizedRoute: h.map((w) => {
|
|
2058
|
-
const
|
|
2059
|
-
if (
|
|
2058
|
+
const S = r.INTERCEPTION_ROUTE_MARKERS.some((O) => w.startsWith(O)), x = w.match(/\[((?:\[.*\])|.+)\]/);
|
|
2059
|
+
if (S && x) {
|
|
2060
2060
|
const [O] = w.split(x[0]);
|
|
2061
2061
|
return d({
|
|
2062
|
-
getSafeRouteKey:
|
|
2062
|
+
getSafeRouteKey: _,
|
|
2063
2063
|
interceptionMarker: O,
|
|
2064
2064
|
segment: x[1],
|
|
2065
|
-
routeKeys:
|
|
2065
|
+
routeKeys: y,
|
|
2066
2066
|
keyPrefix: b ? l : void 0
|
|
2067
2067
|
});
|
|
2068
2068
|
} else
|
|
2069
2069
|
return x ? d({
|
|
2070
|
-
getSafeRouteKey:
|
|
2070
|
+
getSafeRouteKey: _,
|
|
2071
2071
|
segment: x[1],
|
|
2072
|
-
routeKeys:
|
|
2072
|
+
routeKeys: y,
|
|
2073
2073
|
keyPrefix: b ? s : void 0
|
|
2074
2074
|
}) : "/" + (0, n.escapeStringRegexp)(w);
|
|
2075
2075
|
}).join(""),
|
|
2076
|
-
routeKeys:
|
|
2076
|
+
routeKeys: y
|
|
2077
2077
|
};
|
|
2078
2078
|
}
|
|
2079
2079
|
function p(m, b) {
|
|
@@ -2085,21 +2085,21 @@ function to() {
|
|
|
2085
2085
|
};
|
|
2086
2086
|
}
|
|
2087
2087
|
function v(m, b) {
|
|
2088
|
-
const { parameterizedRoute: h } = o(m), { catchAll:
|
|
2088
|
+
const { parameterizedRoute: h } = o(m), { catchAll: _ = !0 } = b;
|
|
2089
2089
|
if (h === "/")
|
|
2090
2090
|
return {
|
|
2091
|
-
namedRegex: "^/" + (
|
|
2091
|
+
namedRegex: "^/" + (_ ? ".*" : "") + "$"
|
|
2092
2092
|
};
|
|
2093
|
-
const { namedParameterizedRoute:
|
|
2094
|
-
let w =
|
|
2093
|
+
const { namedParameterizedRoute: y } = f(m, !1);
|
|
2094
|
+
let w = _ ? "(?:(/.*)?)" : "";
|
|
2095
2095
|
return {
|
|
2096
|
-
namedRegex: "^" +
|
|
2096
|
+
namedRegex: "^" + y + w + "$"
|
|
2097
2097
|
};
|
|
2098
2098
|
}
|
|
2099
2099
|
}(at)), at;
|
|
2100
2100
|
}
|
|
2101
2101
|
var ur;
|
|
2102
|
-
function
|
|
2102
|
+
function no() {
|
|
2103
2103
|
return ur || (ur = 1, function(e) {
|
|
2104
2104
|
Object.defineProperty(e, "__esModule", {
|
|
2105
2105
|
value: !0
|
|
@@ -2109,7 +2109,7 @@ function ro() {
|
|
|
2109
2109
|
return n;
|
|
2110
2110
|
}
|
|
2111
2111
|
});
|
|
2112
|
-
const t =
|
|
2112
|
+
const t = eo(), r = ro();
|
|
2113
2113
|
function n(i, s, l) {
|
|
2114
2114
|
let a = "";
|
|
2115
2115
|
const o = (0, r.getRouteRegex)(i), u = o.groups, c = (
|
|
@@ -2142,7 +2142,7 @@ function ro() {
|
|
|
2142
2142
|
}(st)), st;
|
|
2143
2143
|
}
|
|
2144
2144
|
var dr;
|
|
2145
|
-
function
|
|
2145
|
+
function io() {
|
|
2146
2146
|
return dr || (dr = 1, function(e, t) {
|
|
2147
2147
|
Object.defineProperty(t, "__esModule", {
|
|
2148
2148
|
value: !0
|
|
@@ -2152,14 +2152,14 @@ function no() {
|
|
|
2152
2152
|
return c;
|
|
2153
2153
|
}
|
|
2154
2154
|
});
|
|
2155
|
-
const r = Wr(), n = Ur(), i =
|
|
2155
|
+
const r = Wr(), n = Ur(), i = Ws(), s = Ge(), l = $e(), a = Kr(), o = Js(), u = no();
|
|
2156
2156
|
function c(d, f, p) {
|
|
2157
2157
|
let v, m = typeof f == "string" ? f : (0, n.formatWithValidation)(f);
|
|
2158
2158
|
const b = m.match(/^[a-zA-Z]{1,}:\/\//), h = b ? m.slice(b[0].length) : m;
|
|
2159
2159
|
if ((h.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
|
|
2160
2160
|
console.error("Invalid href '" + m + "' passed to next/router in page: '" + d.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
|
|
2161
|
-
const
|
|
2162
|
-
m = (b ? b[0] : "") +
|
|
2161
|
+
const y = (0, s.normalizeRepeatedSlashes)(h);
|
|
2162
|
+
m = (b ? b[0] : "") + y;
|
|
2163
2163
|
}
|
|
2164
2164
|
if (!(0, a.isLocalURL)(m))
|
|
2165
2165
|
return p ? [
|
|
@@ -2171,22 +2171,22 @@ function no() {
|
|
|
2171
2171
|
v = new URL("/", "http://n");
|
|
2172
2172
|
}
|
|
2173
2173
|
try {
|
|
2174
|
-
const
|
|
2175
|
-
|
|
2174
|
+
const y = new URL(m, v);
|
|
2175
|
+
y.pathname = (0, l.normalizePathTrailingSlash)(y.pathname);
|
|
2176
2176
|
let w = "";
|
|
2177
|
-
if ((0, o.isDynamicRoute)(
|
|
2178
|
-
const x = (0, r.searchParamsToUrlQuery)(
|
|
2177
|
+
if ((0, o.isDynamicRoute)(y.pathname) && y.searchParams && p) {
|
|
2178
|
+
const x = (0, r.searchParamsToUrlQuery)(y.searchParams), { result: O, params: C } = (0, u.interpolateAs)(y.pathname, y.pathname, x);
|
|
2179
2179
|
O && (w = (0, n.formatWithValidation)({
|
|
2180
2180
|
pathname: O,
|
|
2181
|
-
hash:
|
|
2181
|
+
hash: y.hash,
|
|
2182
2182
|
query: (0, i.omit)(x, C)
|
|
2183
2183
|
}));
|
|
2184
2184
|
}
|
|
2185
|
-
const
|
|
2185
|
+
const S = y.origin === v.origin ? y.href.slice(y.origin.length) : y.href;
|
|
2186
2186
|
return p ? [
|
|
2187
|
-
|
|
2188
|
-
w ||
|
|
2189
|
-
] :
|
|
2187
|
+
S,
|
|
2188
|
+
w || S
|
|
2189
|
+
] : S;
|
|
2190
2190
|
} catch {
|
|
2191
2191
|
return p ? [
|
|
2192
2192
|
m
|
|
@@ -2197,7 +2197,7 @@ function no() {
|
|
|
2197
2197
|
}(Te, Te.exports)), Te.exports;
|
|
2198
2198
|
}
|
|
2199
2199
|
var Ce = { exports: {} }, ct = {}, ut = {}, fr;
|
|
2200
|
-
function
|
|
2200
|
+
function Qr() {
|
|
2201
2201
|
return fr || (fr = 1, function(e) {
|
|
2202
2202
|
Object.defineProperty(e, "__esModule", {
|
|
2203
2203
|
value: !0
|
|
@@ -2217,7 +2217,7 @@ function Zr() {
|
|
|
2217
2217
|
}(ut)), ut;
|
|
2218
2218
|
}
|
|
2219
2219
|
var pr;
|
|
2220
|
-
function
|
|
2220
|
+
function so() {
|
|
2221
2221
|
return pr || (pr = 1, function(e) {
|
|
2222
2222
|
Object.defineProperty(e, "__esModule", {
|
|
2223
2223
|
value: !0
|
|
@@ -2227,7 +2227,7 @@ function io() {
|
|
|
2227
2227
|
return n;
|
|
2228
2228
|
}
|
|
2229
2229
|
});
|
|
2230
|
-
const t =
|
|
2230
|
+
const t = Qr(), r = Xr();
|
|
2231
2231
|
function n(i, s, l, a) {
|
|
2232
2232
|
if (!s || s === l)
|
|
2233
2233
|
return i;
|
|
@@ -2237,7 +2237,7 @@ function io() {
|
|
|
2237
2237
|
}(ct)), ct;
|
|
2238
2238
|
}
|
|
2239
2239
|
var hr;
|
|
2240
|
-
function
|
|
2240
|
+
function oo() {
|
|
2241
2241
|
return hr || (hr = 1, function(e, t) {
|
|
2242
2242
|
Object.defineProperty(t, "__esModule", {
|
|
2243
2243
|
value: !0
|
|
@@ -2250,13 +2250,13 @@ function so() {
|
|
|
2250
2250
|
const r = $e(), n = function(i) {
|
|
2251
2251
|
for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), a = 1; a < s; a++)
|
|
2252
2252
|
l[a - 1] = arguments[a];
|
|
2253
|
-
return process.env.__NEXT_I18N_SUPPORT ? (0, r.normalizePathTrailingSlash)(
|
|
2253
|
+
return process.env.__NEXT_I18N_SUPPORT ? (0, r.normalizePathTrailingSlash)(so().addLocale(i, ...l)) : i;
|
|
2254
2254
|
};
|
|
2255
2255
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
2256
2256
|
}(Ce, Ce.exports)), Ce.exports;
|
|
2257
2257
|
}
|
|
2258
2258
|
var dt = {}, mr;
|
|
2259
|
-
function
|
|
2259
|
+
function ao() {
|
|
2260
2260
|
return mr || (mr = 1, function(e) {
|
|
2261
2261
|
Object.defineProperty(e, "__esModule", {
|
|
2262
2262
|
value: !0
|
|
@@ -2271,7 +2271,7 @@ function oo() {
|
|
|
2271
2271
|
}(dt)), dt;
|
|
2272
2272
|
}
|
|
2273
2273
|
var ft = {}, gr;
|
|
2274
|
-
function
|
|
2274
|
+
function lo() {
|
|
2275
2275
|
return gr || (gr = 1, function(e) {
|
|
2276
2276
|
"use client";
|
|
2277
2277
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -2311,7 +2311,7 @@ function ao() {
|
|
|
2311
2311
|
}(ft)), ft;
|
|
2312
2312
|
}
|
|
2313
2313
|
var Me = { exports: {} }, Oe = { exports: {} }, vr;
|
|
2314
|
-
function
|
|
2314
|
+
function co() {
|
|
2315
2315
|
return vr || (vr = 1, function(e, t) {
|
|
2316
2316
|
Object.defineProperty(t, "__esModule", {
|
|
2317
2317
|
value: !0
|
|
@@ -2348,7 +2348,7 @@ function lo() {
|
|
|
2348
2348
|
}(Oe, Oe.exports)), Oe.exports;
|
|
2349
2349
|
}
|
|
2350
2350
|
var wr;
|
|
2351
|
-
function
|
|
2351
|
+
function uo() {
|
|
2352
2352
|
return wr || (wr = 1, function(e, t) {
|
|
2353
2353
|
Object.defineProperty(t, "__esModule", {
|
|
2354
2354
|
value: !0
|
|
@@ -2358,7 +2358,7 @@ function co() {
|
|
|
2358
2358
|
return u;
|
|
2359
2359
|
}
|
|
2360
2360
|
});
|
|
2361
|
-
const r = L, n =
|
|
2361
|
+
const r = L, n = co(), i = typeof IntersectionObserver == "function", s = /* @__PURE__ */ new Map(), l = [];
|
|
2362
2362
|
function a(c) {
|
|
2363
2363
|
const d = {
|
|
2364
2364
|
root: c.root || null,
|
|
@@ -2369,8 +2369,8 @@ function co() {
|
|
|
2369
2369
|
return p;
|
|
2370
2370
|
const v = /* @__PURE__ */ new Map(), m = new IntersectionObserver((b) => {
|
|
2371
2371
|
b.forEach((h) => {
|
|
2372
|
-
const
|
|
2373
|
-
|
|
2372
|
+
const _ = v.get(h.target), y = h.isIntersecting || h.intersectionRatio > 0;
|
|
2373
|
+
_ && y && _(y);
|
|
2374
2374
|
});
|
|
2375
2375
|
}, c);
|
|
2376
2376
|
return p = {
|
|
@@ -2384,14 +2384,14 @@ function co() {
|
|
|
2384
2384
|
return m.set(c, d), v.observe(c), function() {
|
|
2385
2385
|
if (m.delete(c), v.unobserve(c), m.size === 0) {
|
|
2386
2386
|
v.disconnect(), s.delete(p);
|
|
2387
|
-
const h = l.findIndex((
|
|
2387
|
+
const h = l.findIndex((_) => _.root === p.root && _.margin === p.margin);
|
|
2388
2388
|
h > -1 && l.splice(h, 1);
|
|
2389
2389
|
}
|
|
2390
2390
|
};
|
|
2391
2391
|
}
|
|
2392
2392
|
function u(c) {
|
|
2393
2393
|
let { rootRef: d, rootMargin: f, disabled: p } = c;
|
|
2394
|
-
const v = p || !i, [m, b] = (0, r.useState)(!1), h = (0, r.useRef)(null),
|
|
2394
|
+
const v = p || !i, [m, b] = (0, r.useState)(!1), h = (0, r.useRef)(null), _ = (0, r.useCallback)((w) => {
|
|
2395
2395
|
h.current = w;
|
|
2396
2396
|
}, []);
|
|
2397
2397
|
(0, r.useEffect)(() => {
|
|
@@ -2415,20 +2415,20 @@ function co() {
|
|
|
2415
2415
|
m,
|
|
2416
2416
|
h.current
|
|
2417
2417
|
]);
|
|
2418
|
-
const
|
|
2418
|
+
const y = (0, r.useCallback)(() => {
|
|
2419
2419
|
b(!1);
|
|
2420
2420
|
}, []);
|
|
2421
2421
|
return [
|
|
2422
|
-
|
|
2422
|
+
_,
|
|
2423
2423
|
m,
|
|
2424
|
-
|
|
2424
|
+
y
|
|
2425
2425
|
];
|
|
2426
2426
|
}
|
|
2427
2427
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
2428
2428
|
}(Me, Me.exports)), Me.exports;
|
|
2429
2429
|
}
|
|
2430
2430
|
var Ie = { exports: {} }, Re = { exports: {} }, pt = {}, br;
|
|
2431
|
-
function
|
|
2431
|
+
function fo() {
|
|
2432
2432
|
return br || (br = 1, function(e) {
|
|
2433
2433
|
Object.defineProperty(e, "__esModule", {
|
|
2434
2434
|
value: !0
|
|
@@ -2448,9 +2448,9 @@ function uo() {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
}(pt)), pt;
|
|
2450
2450
|
}
|
|
2451
|
-
var
|
|
2452
|
-
function
|
|
2453
|
-
return
|
|
2451
|
+
var yr;
|
|
2452
|
+
function po() {
|
|
2453
|
+
return yr || (yr = 1, function(e, t) {
|
|
2454
2454
|
Object.defineProperty(t, "__esModule", {
|
|
2455
2455
|
value: !0
|
|
2456
2456
|
}), Object.defineProperty(t, "normalizeLocalePath", {
|
|
@@ -2459,16 +2459,16 @@ function fo() {
|
|
|
2459
2459
|
return r;
|
|
2460
2460
|
}
|
|
2461
2461
|
});
|
|
2462
|
-
const r = (n, i) => process.env.__NEXT_I18N_SUPPORT ?
|
|
2462
|
+
const r = (n, i) => process.env.__NEXT_I18N_SUPPORT ? fo().normalizeLocalePath(n, i) : {
|
|
2463
2463
|
pathname: n,
|
|
2464
2464
|
detectedLocale: void 0
|
|
2465
2465
|
};
|
|
2466
2466
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
2467
2467
|
}(Re, Re.exports)), Re.exports;
|
|
2468
2468
|
}
|
|
2469
|
-
var Le = { exports: {} }, ht = {},
|
|
2470
|
-
function
|
|
2471
|
-
return
|
|
2469
|
+
var Le = { exports: {} }, ht = {}, Sr;
|
|
2470
|
+
function ho() {
|
|
2471
|
+
return Sr || (Sr = 1, function(e) {
|
|
2472
2472
|
Object.defineProperty(e, "__esModule", {
|
|
2473
2473
|
value: !0
|
|
2474
2474
|
}), Object.defineProperty(e, "detectDomainLocale", {
|
|
@@ -2491,7 +2491,7 @@ function po() {
|
|
|
2491
2491
|
}(ht)), ht;
|
|
2492
2492
|
}
|
|
2493
2493
|
var xr;
|
|
2494
|
-
function
|
|
2494
|
+
function mo() {
|
|
2495
2495
|
return xr || (xr = 1, function(e, t) {
|
|
2496
2496
|
Object.defineProperty(t, "__esModule", {
|
|
2497
2497
|
value: !0
|
|
@@ -2505,13 +2505,13 @@ function ho() {
|
|
|
2505
2505
|
for (var n = arguments.length, i = new Array(n), s = 0; s < n; s++)
|
|
2506
2506
|
i[s] = arguments[s];
|
|
2507
2507
|
if (process.env.__NEXT_I18N_SUPPORT)
|
|
2508
|
-
return
|
|
2508
|
+
return ho().detectDomainLocale(...i);
|
|
2509
2509
|
};
|
|
2510
2510
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
2511
2511
|
}(Le, Le.exports)), Le.exports;
|
|
2512
2512
|
}
|
|
2513
2513
|
var Tr;
|
|
2514
|
-
function
|
|
2514
|
+
function go() {
|
|
2515
2515
|
return Tr || (Tr = 1, function(e, t) {
|
|
2516
2516
|
Object.defineProperty(t, "__esModule", {
|
|
2517
2517
|
value: !0
|
|
@@ -2524,7 +2524,7 @@ function mo() {
|
|
|
2524
2524
|
const r = $e(), n = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
2525
2525
|
function i(s, l, a, o) {
|
|
2526
2526
|
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
2527
|
-
const u =
|
|
2527
|
+
const u = po().normalizeLocalePath, c = mo().detectDomainLocale, d = l || u(s, a).detectedLocale, f = c(o, void 0, d);
|
|
2528
2528
|
if (f) {
|
|
2529
2529
|
const p = "http" + (f.http ? "" : "s") + "://", v = d === f.defaultLocale ? "" : "/" + d;
|
|
2530
2530
|
return "" + p + f.domain + (0, r.normalizePathTrailingSlash)("" + n + v + s);
|
|
@@ -2537,7 +2537,7 @@ function mo() {
|
|
|
2537
2537
|
}(Ie, Ie.exports)), Ie.exports;
|
|
2538
2538
|
}
|
|
2539
2539
|
var Ae = { exports: {} }, Pr;
|
|
2540
|
-
function
|
|
2540
|
+
function vo() {
|
|
2541
2541
|
return Pr || (Pr = 1, function(e, t) {
|
|
2542
2542
|
Object.defineProperty(t, "__esModule", {
|
|
2543
2543
|
value: !0
|
|
@@ -2547,16 +2547,16 @@ function go() {
|
|
|
2547
2547
|
return s;
|
|
2548
2548
|
}
|
|
2549
2549
|
});
|
|
2550
|
-
const r =
|
|
2550
|
+
const r = Qr(), n = $e(), i = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
2551
2551
|
function s(l, a) {
|
|
2552
2552
|
return (0, n.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !a ? l : (0, r.addPathPrefix)(l, i));
|
|
2553
2553
|
}
|
|
2554
2554
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
2555
2555
|
}(Ae, Ae.exports)), Ae.exports;
|
|
2556
2556
|
}
|
|
2557
|
-
var Ne = { exports: {} },
|
|
2558
|
-
function
|
|
2559
|
-
return
|
|
2557
|
+
var Ne = { exports: {} }, Er;
|
|
2558
|
+
function wo() {
|
|
2559
|
+
return Er || (Er = 1, function(e, t) {
|
|
2560
2560
|
Object.defineProperty(t, "__esModule", {
|
|
2561
2561
|
value: !0
|
|
2562
2562
|
});
|
|
@@ -2614,10 +2614,10 @@ function vo() {
|
|
|
2614
2614
|
}), Object.defineProperty(t, "default", {
|
|
2615
2615
|
enumerable: !0,
|
|
2616
2616
|
get: function() {
|
|
2617
|
-
return
|
|
2617
|
+
return S;
|
|
2618
2618
|
}
|
|
2619
2619
|
});
|
|
2620
|
-
const n = /* @__PURE__ */ ve._(L), i =
|
|
2620
|
+
const n = /* @__PURE__ */ ve._(L), i = io(), s = Kr(), l = Ur(), a = Ge(), o = oo(), u = ao(), c = lo(), d = uo(), f = go(), p = vo(), v = wo(), m = /* @__PURE__ */ new Set();
|
|
2621
2621
|
function b(x, O, C, P, T, M) {
|
|
2622
2622
|
if (typeof window > "u" || !M && !(0, s.isLocalURL)(O))
|
|
2623
2623
|
return;
|
|
@@ -2641,7 +2641,7 @@ function vo() {
|
|
|
2641
2641
|
return C && C !== "_self" || x.metaKey || x.ctrlKey || x.shiftKey || x.altKey || // triggers resource download
|
|
2642
2642
|
x.nativeEvent && x.nativeEvent.which === 2;
|
|
2643
2643
|
}
|
|
2644
|
-
function
|
|
2644
|
+
function _(x, O, C, P, T, M, R, I, k) {
|
|
2645
2645
|
const { nodeName: D } = x.currentTarget;
|
|
2646
2646
|
if (D.toUpperCase() === "A" && (h(x) || // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.
|
|
2647
2647
|
!k && !(0, s.isLocalURL)(C)))
|
|
@@ -2659,14 +2659,14 @@ function vo() {
|
|
|
2659
2659
|
};
|
|
2660
2660
|
k ? n.default.startTransition(se) : se();
|
|
2661
2661
|
}
|
|
2662
|
-
function
|
|
2662
|
+
function y(x) {
|
|
2663
2663
|
return typeof x == "string" ? x : (0, l.formatUrl)(x);
|
|
2664
2664
|
}
|
|
2665
|
-
const
|
|
2665
|
+
const S = /* @__PURE__ */ n.default.forwardRef(function(O, C) {
|
|
2666
2666
|
let P;
|
|
2667
2667
|
const { href: T, as: M, children: R, prefetch: I = null, passHref: k, replace: D, shallow: F, scroll: se, locale: $, onClick: B, onMouseEnter: H, onTouchStart: be, legacyBehavior: W = !1, ...pn } = O;
|
|
2668
2668
|
P = R, W && (typeof P == "string" || typeof P == "number") && (P = /* @__PURE__ */ n.default.createElement("a", null, P));
|
|
2669
|
-
const V = n.default.useContext(u.RouterContext), hn = n.default.useContext(c.AppRouterContext), J = V ?? hn, ee = !V,
|
|
2669
|
+
const V = n.default.useContext(u.RouterContext), hn = n.default.useContext(c.AppRouterContext), J = V ?? hn, ee = !V, ye = I !== !1, Se = I === null ? v.PrefetchKind.AUTO : v.PrefetchKind.FULL;
|
|
2670
2670
|
if (process.env.NODE_ENV !== "production") {
|
|
2671
2671
|
let A = function(N) {
|
|
2672
2672
|
return new Error("Failed prop type: The prop `" + N.key + "` expects a " + N.expected + " in `<Link>`, but got `" + N.actual + "` instead." + (typeof window < "u" ? `
|
|
@@ -2733,10 +2733,10 @@ Open your browser's console to view the Component stack trace.` : ""));
|
|
|
2733
2733
|
}
|
|
2734
2734
|
const { href: te, as: U } = n.default.useMemo(() => {
|
|
2735
2735
|
if (!V) {
|
|
2736
|
-
const ce =
|
|
2736
|
+
const ce = y(T);
|
|
2737
2737
|
return {
|
|
2738
2738
|
href: ce,
|
|
2739
|
-
as: M ?
|
|
2739
|
+
as: M ? y(M) : ce
|
|
2740
2740
|
};
|
|
2741
2741
|
}
|
|
2742
2742
|
const [A, he] = (0, i.resolveHref)(V, T, !0);
|
|
@@ -2776,47 +2776,47 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
2776
2776
|
Dt
|
|
2777
2777
|
]);
|
|
2778
2778
|
n.default.useEffect(() => {
|
|
2779
|
-
process.env.NODE_ENV === "production" && J && (!Bt || !
|
|
2779
|
+
process.env.NODE_ENV === "production" && J && (!Bt || !ye || b(J, te, U, {
|
|
2780
2780
|
locale: $
|
|
2781
2781
|
}, {
|
|
2782
|
-
kind:
|
|
2782
|
+
kind: Se
|
|
2783
2783
|
}, ee));
|
|
2784
2784
|
}, [
|
|
2785
2785
|
U,
|
|
2786
2786
|
te,
|
|
2787
2787
|
Bt,
|
|
2788
2788
|
$,
|
|
2789
|
-
|
|
2789
|
+
ye,
|
|
2790
2790
|
V == null ? void 0 : V.locale,
|
|
2791
2791
|
J,
|
|
2792
2792
|
ee,
|
|
2793
|
-
|
|
2793
|
+
Se
|
|
2794
2794
|
]);
|
|
2795
2795
|
const xe = {
|
|
2796
2796
|
ref: mn,
|
|
2797
2797
|
onClick(A) {
|
|
2798
2798
|
if (process.env.NODE_ENV !== "production" && !A)
|
|
2799
2799
|
throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');
|
|
2800
|
-
!W && typeof B == "function" && B(A), W && G.props && typeof G.props.onClick == "function" && G.props.onClick(A), J && (A.defaultPrevented ||
|
|
2800
|
+
!W && typeof B == "function" && B(A), W && G.props && typeof G.props.onClick == "function" && G.props.onClick(A), J && (A.defaultPrevented || _(A, J, te, U, D, F, se, $, ee));
|
|
2801
2801
|
},
|
|
2802
2802
|
onMouseEnter(A) {
|
|
2803
|
-
!W && typeof H == "function" && H(A), W && G.props && typeof G.props.onMouseEnter == "function" && G.props.onMouseEnter(A), J && ((!
|
|
2803
|
+
!W && typeof H == "function" && H(A), W && G.props && typeof G.props.onMouseEnter == "function" && G.props.onMouseEnter(A), J && ((!ye || process.env.NODE_ENV === "development") && ee || b(J, te, U, {
|
|
2804
2804
|
locale: $,
|
|
2805
2805
|
priority: !0,
|
|
2806
2806
|
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
2807
2807
|
bypassPrefetchedCheck: !0
|
|
2808
2808
|
}, {
|
|
2809
|
-
kind:
|
|
2809
|
+
kind: Se
|
|
2810
2810
|
}, ee));
|
|
2811
2811
|
},
|
|
2812
2812
|
onTouchStart(A) {
|
|
2813
|
-
!W && typeof be == "function" && be(A), W && G.props && typeof G.props.onTouchStart == "function" && G.props.onTouchStart(A), J && (!
|
|
2813
|
+
!W && typeof be == "function" && be(A), W && G.props && typeof G.props.onTouchStart == "function" && G.props.onTouchStart(A), J && (!ye && ee || b(J, te, U, {
|
|
2814
2814
|
locale: $,
|
|
2815
2815
|
priority: !0,
|
|
2816
2816
|
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
2817
2817
|
bypassPrefetchedCheck: !0
|
|
2818
2818
|
}, {
|
|
2819
|
-
kind:
|
|
2819
|
+
kind: Se
|
|
2820
2820
|
}, ee));
|
|
2821
2821
|
}
|
|
2822
2822
|
};
|
|
@@ -2833,17 +2833,17 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
2833
2833
|
});
|
|
2834
2834
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
2835
2835
|
})(Gt, Gt.exports);
|
|
2836
|
-
const
|
|
2836
|
+
const bo = fe((e, t) => {
|
|
2837
2837
|
const { themeName: r = "alerts.closeBtn", ...n } = e;
|
|
2838
2838
|
return /* @__PURE__ */ g(xs, { ref: t, themeName: r, ...n, children: /* @__PURE__ */ g(Rt, { icon: /* @__PURE__ */ g(Fr, {}) }) });
|
|
2839
2839
|
});
|
|
2840
|
-
|
|
2841
|
-
function
|
|
2840
|
+
bo.displayName = "AlertsCloseButton";
|
|
2841
|
+
function _r(e) {
|
|
2842
2842
|
return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
|
|
2843
2843
|
}
|
|
2844
2844
|
function At(e, t) {
|
|
2845
2845
|
e === void 0 && (e = {}), t === void 0 && (t = {}), Object.keys(t).forEach((r) => {
|
|
2846
|
-
typeof e[r] > "u" ? e[r] = t[r] :
|
|
2846
|
+
typeof e[r] > "u" ? e[r] = t[r] : _r(t[r]) && _r(e[r]) && Object.keys(t[r]).length > 0 && At(e[r], t[r]);
|
|
2847
2847
|
});
|
|
2848
2848
|
}
|
|
2849
2849
|
const Jr = {
|
|
@@ -2905,7 +2905,7 @@ function pe() {
|
|
|
2905
2905
|
const e = typeof document < "u" ? document : {};
|
|
2906
2906
|
return At(e, Jr), e;
|
|
2907
2907
|
}
|
|
2908
|
-
const
|
|
2908
|
+
const yo = {
|
|
2909
2909
|
document: Jr,
|
|
2910
2910
|
navigator: {
|
|
2911
2911
|
userAgent: ""
|
|
@@ -2965,12 +2965,12 @@ const bo = {
|
|
|
2965
2965
|
};
|
|
2966
2966
|
function K() {
|
|
2967
2967
|
const e = typeof window < "u" ? window : {};
|
|
2968
|
-
return At(e,
|
|
2968
|
+
return At(e, yo), e;
|
|
2969
2969
|
}
|
|
2970
2970
|
function So(e) {
|
|
2971
2971
|
return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
|
|
2972
2972
|
}
|
|
2973
|
-
function
|
|
2973
|
+
function xo(e) {
|
|
2974
2974
|
const t = e;
|
|
2975
2975
|
Object.keys(t).forEach((r) => {
|
|
2976
2976
|
try {
|
|
@@ -2989,33 +2989,33 @@ function Tt(e, t) {
|
|
|
2989
2989
|
function De() {
|
|
2990
2990
|
return Date.now();
|
|
2991
2991
|
}
|
|
2992
|
-
function
|
|
2992
|
+
function To(e) {
|
|
2993
2993
|
const t = K();
|
|
2994
2994
|
let r;
|
|
2995
2995
|
return t.getComputedStyle && (r = t.getComputedStyle(e, null)), !r && e.currentStyle && (r = e.currentStyle), r || (r = e.style), r;
|
|
2996
2996
|
}
|
|
2997
|
-
function
|
|
2997
|
+
function Po(e, t) {
|
|
2998
2998
|
t === void 0 && (t = "x");
|
|
2999
2999
|
const r = K();
|
|
3000
3000
|
let n, i, s;
|
|
3001
|
-
const l =
|
|
3001
|
+
const l = To(e);
|
|
3002
3002
|
return r.WebKitCSSMatrix ? (i = l.transform || l.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((a) => a.replace(",", ".")).join(", ")), s = new r.WebKitCSSMatrix(i === "none" ? "" : i)) : (s = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = s.toString().split(",")), t === "x" && (r.WebKitCSSMatrix ? i = s.m41 : n.length === 16 ? i = parseFloat(n[12]) : i = parseFloat(n[4])), t === "y" && (r.WebKitCSSMatrix ? i = s.m42 : n.length === 16 ? i = parseFloat(n[13]) : i = parseFloat(n[5])), i || 0;
|
|
3003
3003
|
}
|
|
3004
3004
|
function ke(e) {
|
|
3005
3005
|
return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
3006
3006
|
}
|
|
3007
|
-
function
|
|
3007
|
+
function Eo(e) {
|
|
3008
3008
|
return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
|
3009
3009
|
}
|
|
3010
|
-
function
|
|
3010
|
+
function X() {
|
|
3011
3011
|
const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
|
|
3012
3012
|
for (let r = 1; r < arguments.length; r += 1) {
|
|
3013
3013
|
const n = r < 0 || arguments.length <= r ? void 0 : arguments[r];
|
|
3014
|
-
if (n != null && !
|
|
3014
|
+
if (n != null && !Eo(n)) {
|
|
3015
3015
|
const i = Object.keys(Object(n)).filter((s) => t.indexOf(s) < 0);
|
|
3016
3016
|
for (let s = 0, l = i.length; s < l; s += 1) {
|
|
3017
3017
|
const a = i[s], o = Object.getOwnPropertyDescriptor(n, a);
|
|
3018
|
-
o !== void 0 && o.enumerable && (ke(e[a]) && ke(n[a]) ? n[a].__swiper__ ? e[a] = n[a] :
|
|
3018
|
+
o !== void 0 && o.enumerable && (ke(e[a]) && ke(n[a]) ? n[a].__swiper__ ? e[a] = n[a] : X(e[a], n[a]) : !ke(e[a]) && ke(n[a]) ? (e[a] = {}, n[a].__swiper__ ? e[a] = n[a] : X(e[a], n[a])) : e[a] = n[a]);
|
|
3019
3019
|
}
|
|
3020
3020
|
}
|
|
3021
3021
|
}
|
|
@@ -3075,7 +3075,7 @@ function _o(e, t) {
|
|
|
3075
3075
|
}
|
|
3076
3076
|
return r;
|
|
3077
3077
|
}
|
|
3078
|
-
function
|
|
3078
|
+
function Co(e, t) {
|
|
3079
3079
|
const r = [];
|
|
3080
3080
|
for (; e.nextElementSibling; ) {
|
|
3081
3081
|
const n = e.nextElementSibling;
|
|
@@ -3094,7 +3094,7 @@ function Cr(e) {
|
|
|
3094
3094
|
return r;
|
|
3095
3095
|
}
|
|
3096
3096
|
}
|
|
3097
|
-
function
|
|
3097
|
+
function Mo(e, t) {
|
|
3098
3098
|
const r = [];
|
|
3099
3099
|
let n = e.parentElement;
|
|
3100
3100
|
for (; n; )
|
|
@@ -3106,7 +3106,7 @@ function Mr(e, t, r) {
|
|
|
3106
3106
|
return r ? e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom")) : e.offsetWidth;
|
|
3107
3107
|
}
|
|
3108
3108
|
let mt;
|
|
3109
|
-
function
|
|
3109
|
+
function Oo() {
|
|
3110
3110
|
const e = K(), t = pe();
|
|
3111
3111
|
return {
|
|
3112
3112
|
smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
|
|
@@ -3114,10 +3114,10 @@ function Mo() {
|
|
|
3114
3114
|
};
|
|
3115
3115
|
}
|
|
3116
3116
|
function tn() {
|
|
3117
|
-
return mt || (mt =
|
|
3117
|
+
return mt || (mt = Oo()), mt;
|
|
3118
3118
|
}
|
|
3119
3119
|
let gt;
|
|
3120
|
-
function
|
|
3120
|
+
function Io(e) {
|
|
3121
3121
|
let {
|
|
3122
3122
|
userAgent: t
|
|
3123
3123
|
} = e === void 0 ? {} : e;
|
|
@@ -3132,10 +3132,10 @@ function Oo(e) {
|
|
|
3132
3132
|
return !c && v && r.touch && m.indexOf(`${a}x${o}`) >= 0 && (c = s.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), v = !1), u && !p && (l.os = "android", l.android = !0), (c || f || d) && (l.os = "ios", l.ios = !0), l;
|
|
3133
3133
|
}
|
|
3134
3134
|
function rn(e) {
|
|
3135
|
-
return e === void 0 && (e = {}), gt || (gt =
|
|
3135
|
+
return e === void 0 && (e = {}), gt || (gt = Io(e)), gt;
|
|
3136
3136
|
}
|
|
3137
3137
|
let vt;
|
|
3138
|
-
function
|
|
3138
|
+
function Ro() {
|
|
3139
3139
|
const e = K(), t = rn();
|
|
3140
3140
|
let r = !1;
|
|
3141
3141
|
function n() {
|
|
@@ -3157,10 +3157,10 @@ function Io() {
|
|
|
3157
3157
|
isWebView: i
|
|
3158
3158
|
};
|
|
3159
3159
|
}
|
|
3160
|
-
function
|
|
3161
|
-
return vt || (vt =
|
|
3160
|
+
function Lo() {
|
|
3161
|
+
return vt || (vt = Ro()), vt;
|
|
3162
3162
|
}
|
|
3163
|
-
function
|
|
3163
|
+
function Ao(e) {
|
|
3164
3164
|
let {
|
|
3165
3165
|
swiper: t,
|
|
3166
3166
|
on: r,
|
|
@@ -3181,10 +3181,10 @@ function Lo(e) {
|
|
|
3181
3181
|
d.forEach((b) => {
|
|
3182
3182
|
let {
|
|
3183
3183
|
contentBoxSize: h,
|
|
3184
|
-
contentRect:
|
|
3185
|
-
target:
|
|
3184
|
+
contentRect: _,
|
|
3185
|
+
target: y
|
|
3186
3186
|
} = b;
|
|
3187
|
-
|
|
3187
|
+
y && y !== t.el || (v = _ ? _.width : (h[0] || h).inlineSize, m = _ ? _.height : (h[0] || h).blockSize);
|
|
3188
3188
|
}), (v !== f || m !== p) && a();
|
|
3189
3189
|
});
|
|
3190
3190
|
}), s.observe(t.el));
|
|
@@ -3203,7 +3203,7 @@ function Lo(e) {
|
|
|
3203
3203
|
u(), i.removeEventListener("resize", a), i.removeEventListener("orientationchange", c);
|
|
3204
3204
|
});
|
|
3205
3205
|
}
|
|
3206
|
-
function
|
|
3206
|
+
function No(e) {
|
|
3207
3207
|
let {
|
|
3208
3208
|
swiper: t,
|
|
3209
3209
|
extendParams: r,
|
|
@@ -3232,7 +3232,7 @@ function Ao(e) {
|
|
|
3232
3232
|
}, o = () => {
|
|
3233
3233
|
if (t.params.observer) {
|
|
3234
3234
|
if (t.params.observeParents) {
|
|
3235
|
-
const c =
|
|
3235
|
+
const c = Mo(t.hostEl);
|
|
3236
3236
|
for (let d = 0; d < c.length; d += 1)
|
|
3237
3237
|
a(c[d]);
|
|
3238
3238
|
}
|
|
@@ -3253,7 +3253,7 @@ function Ao(e) {
|
|
|
3253
3253
|
observeSlideChildren: !1
|
|
3254
3254
|
}), n("init", o), n("destroy", u);
|
|
3255
3255
|
}
|
|
3256
|
-
var
|
|
3256
|
+
var ko = {
|
|
3257
3257
|
on(e, t, r) {
|
|
3258
3258
|
const n = this;
|
|
3259
3259
|
if (!n.eventsListeners || n.destroyed || typeof t != "function")
|
|
@@ -3313,7 +3313,7 @@ var No = {
|
|
|
3313
3313
|
}), e;
|
|
3314
3314
|
}
|
|
3315
3315
|
};
|
|
3316
|
-
function
|
|
3316
|
+
function zo() {
|
|
3317
3317
|
const e = this;
|
|
3318
3318
|
let t, r;
|
|
3319
3319
|
const n = e.el;
|
|
@@ -3323,7 +3323,7 @@ function ko() {
|
|
|
3323
3323
|
size: e.isHorizontal() ? t : r
|
|
3324
3324
|
}));
|
|
3325
3325
|
}
|
|
3326
|
-
function
|
|
3326
|
+
function jo() {
|
|
3327
3327
|
const e = this;
|
|
3328
3328
|
function t(T, M) {
|
|
3329
3329
|
return parseFloat(T.getPropertyValue(e.getDirectionLabel(M)) || 0);
|
|
@@ -3341,11 +3341,11 @@ function zo() {
|
|
|
3341
3341
|
typeof m == "function" && (m = r.slidesOffsetBefore.call(e));
|
|
3342
3342
|
let b = r.slidesOffsetAfter;
|
|
3343
3343
|
typeof b == "function" && (b = r.slidesOffsetAfter.call(e));
|
|
3344
|
-
const h = e.snapGrid.length,
|
|
3345
|
-
let
|
|
3344
|
+
const h = e.snapGrid.length, _ = e.slidesGrid.length;
|
|
3345
|
+
let y = r.spaceBetween, w = -m, S = 0, x = 0;
|
|
3346
3346
|
if (typeof s > "u")
|
|
3347
3347
|
return;
|
|
3348
|
-
typeof
|
|
3348
|
+
typeof y == "string" && y.indexOf("%") >= 0 ? y = parseFloat(y.replace("%", "")) / 100 * s : typeof y == "string" && (y = parseFloat(y)), e.virtualSize = -y, c.forEach((T) => {
|
|
3349
3349
|
l ? T.style.marginLeft = "" : T.style.marginRight = "", T.style.marginBottom = "", T.style.marginTop = "";
|
|
3350
3350
|
}), r.centeredSlides && r.cssMode && (ze(n, "--swiper-centered-offset-before", ""), ze(n, "--swiper-centered-offset-after", ""));
|
|
3351
3351
|
const O = r.grid && r.grid.rows > 1 && e.grid;
|
|
@@ -3375,11 +3375,11 @@ function zo() {
|
|
|
3375
3375
|
}
|
|
3376
3376
|
I && (M.style.transform = I), k && (M.style.webkitTransform = k), r.roundLengths && (C = Math.floor(C));
|
|
3377
3377
|
} else
|
|
3378
|
-
C = (s - (r.slidesPerView - 1) *
|
|
3379
|
-
c[T] && (c[T].swiperSlideSize = C), v.push(C), r.centeredSlides ? (w = w + C / 2 +
|
|
3378
|
+
C = (s - (r.slidesPerView - 1) * y) / r.slidesPerView, r.roundLengths && (C = Math.floor(C)), c[T] && (c[T].style[e.getDirectionLabel("width")] = `${C}px`);
|
|
3379
|
+
c[T] && (c[T].swiperSlideSize = C), v.push(C), r.centeredSlides ? (w = w + C / 2 + S / 2 + y, S === 0 && T !== 0 && (w = w - s / 2 - y), T === 0 && (w = w - s / 2 - y), Math.abs(w) < 1 / 1e3 && (w = 0), r.roundLengths && (w = Math.floor(w)), x % r.slidesPerGroup === 0 && f.push(w), p.push(w)) : (r.roundLengths && (w = Math.floor(w)), (x - Math.min(e.params.slidesPerGroupSkip, x)) % e.params.slidesPerGroup === 0 && f.push(w), p.push(w), w = w + C + y), e.virtualSize += C + y, S = C, x += 1;
|
|
3380
3380
|
}
|
|
3381
3381
|
}
|
|
3382
|
-
if (e.virtualSize = Math.max(e.virtualSize, s) + b, l && a && (r.effect === "slide" || r.effect === "coverflow") && (n.style.width = `${e.virtualSize +
|
|
3382
|
+
if (e.virtualSize = Math.max(e.virtualSize, s) + b, l && a && (r.effect === "slide" || r.effect === "coverflow") && (n.style.width = `${e.virtualSize + y}px`), r.setWrapperSize && (n.style[e.getDirectionLabel("width")] = `${e.virtualSize + y}px`), O && e.grid.updateWrapperSize(C, f), !r.centeredSlides) {
|
|
3383
3383
|
const T = [];
|
|
3384
3384
|
for (let M = 0; M < f.length; M += 1) {
|
|
3385
3385
|
let R = f[M];
|
|
@@ -3388,7 +3388,7 @@ function zo() {
|
|
|
3388
3388
|
f = T, Math.floor(e.virtualSize - s) - Math.floor(f[f.length - 1]) > 1 && f.push(e.virtualSize - s);
|
|
3389
3389
|
}
|
|
3390
3390
|
if (o && r.loop) {
|
|
3391
|
-
const T = v[0] +
|
|
3391
|
+
const T = v[0] + y;
|
|
3392
3392
|
if (r.slidesPerGroup > 1) {
|
|
3393
3393
|
const M = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / r.slidesPerGroup), R = T * r.slidesPerGroup;
|
|
3394
3394
|
for (let I = 0; I < M; I += 1)
|
|
@@ -3397,25 +3397,25 @@ function zo() {
|
|
|
3397
3397
|
for (let M = 0; M < e.virtual.slidesBefore + e.virtual.slidesAfter; M += 1)
|
|
3398
3398
|
r.slidesPerGroup === 1 && f.push(f[f.length - 1] + T), p.push(p[p.length - 1] + T), e.virtualSize += T;
|
|
3399
3399
|
}
|
|
3400
|
-
if (f.length === 0 && (f = [0]),
|
|
3400
|
+
if (f.length === 0 && (f = [0]), y !== 0) {
|
|
3401
3401
|
const T = e.isHorizontal() && l ? "marginLeft" : e.getDirectionLabel("marginRight");
|
|
3402
3402
|
c.filter((M, R) => !r.cssMode || r.loop ? !0 : R !== c.length - 1).forEach((M) => {
|
|
3403
|
-
M.style[T] = `${
|
|
3403
|
+
M.style[T] = `${y}px`;
|
|
3404
3404
|
});
|
|
3405
3405
|
}
|
|
3406
3406
|
if (r.centeredSlides && r.centeredSlidesBounds) {
|
|
3407
3407
|
let T = 0;
|
|
3408
3408
|
v.forEach((R) => {
|
|
3409
|
-
T += R + (
|
|
3410
|
-
}), T -=
|
|
3409
|
+
T += R + (y || 0);
|
|
3410
|
+
}), T -= y;
|
|
3411
3411
|
const M = T - s;
|
|
3412
3412
|
f = f.map((R) => R <= 0 ? -m : R > M ? M + b : R);
|
|
3413
3413
|
}
|
|
3414
3414
|
if (r.centerInsufficientSlides) {
|
|
3415
3415
|
let T = 0;
|
|
3416
3416
|
if (v.forEach((M) => {
|
|
3417
|
-
T += M + (
|
|
3418
|
-
}), T -=
|
|
3417
|
+
T += M + (y || 0);
|
|
3418
|
+
}), T -= y, T < s) {
|
|
3419
3419
|
const M = (s - T) / 2;
|
|
3420
3420
|
f.forEach((R, I) => {
|
|
3421
3421
|
f[I] = R - M;
|
|
@@ -3434,12 +3434,12 @@ function zo() {
|
|
|
3434
3434
|
const T = -e.snapGrid[0], M = -e.slidesGrid[0];
|
|
3435
3435
|
e.snapGrid = e.snapGrid.map((R) => R + T), e.slidesGrid = e.slidesGrid.map((R) => R + M);
|
|
3436
3436
|
}
|
|
3437
|
-
if (d !== u && e.emit("slidesLengthChange"), f.length !== h && (e.params.watchOverflow && e.checkOverflow(), e.emit("snapGridLengthChange")), p.length !==
|
|
3437
|
+
if (d !== u && e.emit("slidesLengthChange"), f.length !== h && (e.params.watchOverflow && e.checkOverflow(), e.emit("snapGridLengthChange")), p.length !== _ && e.emit("slidesGridLengthChange"), r.watchSlidesProgress && e.updateSlidesOffset(), e.emit("slidesUpdated"), !o && !r.cssMode && (r.effect === "slide" || r.effect === "fade")) {
|
|
3438
3438
|
const T = `${r.containerModifierClass}backface-hidden`, M = e.el.classList.contains(T);
|
|
3439
3439
|
d <= r.maxBackfaceHiddenSlides ? M || e.el.classList.add(T) : M && e.el.classList.remove(T);
|
|
3440
3440
|
}
|
|
3441
3441
|
}
|
|
3442
|
-
function
|
|
3442
|
+
function Do(e) {
|
|
3443
3443
|
const t = this, r = [], n = t.virtual && t.params.virtual.enabled;
|
|
3444
3444
|
let i = 0, s;
|
|
3445
3445
|
typeof e == "number" ? t.setTransition(e) : e === !0 && t.setTransition(t.params.speed);
|
|
@@ -3465,12 +3465,12 @@ function jo(e) {
|
|
|
3465
3465
|
}
|
|
3466
3466
|
(i || i === 0) && (t.wrapperEl.style.height = `${i}px`);
|
|
3467
3467
|
}
|
|
3468
|
-
function
|
|
3468
|
+
function Bo() {
|
|
3469
3469
|
const e = this, t = e.slides, r = e.isElement ? e.isHorizontal() ? e.wrapperEl.offsetLeft : e.wrapperEl.offsetTop : 0;
|
|
3470
3470
|
for (let n = 0; n < t.length; n += 1)
|
|
3471
3471
|
t[n].swiperSlideOffset = (e.isHorizontal() ? t[n].offsetLeft : t[n].offsetTop) - r - e.cssOverflowAdjustment();
|
|
3472
3472
|
}
|
|
3473
|
-
function
|
|
3473
|
+
function Vo(e) {
|
|
3474
3474
|
e === void 0 && (e = this && this.translate || 0);
|
|
3475
3475
|
const t = this, r = t.params, {
|
|
3476
3476
|
slides: n,
|
|
@@ -3494,7 +3494,7 @@ function Bo(e) {
|
|
|
3494
3494
|
(p >= 0 && p < t.size - 1 || v > 1 && v <= t.size || p <= 0 && v >= t.size) && (t.visibleSlides.push(u), t.visibleSlidesIndexes.push(o), n[o].classList.add(r.slideVisibleClass)), m && n[o].classList.add(r.slideFullyVisibleClass), u.progress = i ? -d : d, u.originalProgress = i ? -f : f;
|
|
3495
3495
|
}
|
|
3496
3496
|
}
|
|
3497
|
-
function
|
|
3497
|
+
function qo(e) {
|
|
3498
3498
|
const t = this;
|
|
3499
3499
|
if (typeof e > "u") {
|
|
3500
3500
|
const c = t.rtlTranslate ? -1 : 1;
|
|
@@ -3526,7 +3526,7 @@ function Vo(e) {
|
|
|
3526
3526
|
isEnd: l
|
|
3527
3527
|
}), (r.watchSlidesProgress || r.centeredSlides && r.autoHeight) && t.updateSlidesProgress(e), s && !o && t.emit("reachBeginning toEdge"), l && !u && t.emit("reachEnd toEdge"), (o && !s || u && !l) && t.emit("fromEdge"), t.emit("progress", i);
|
|
3528
3528
|
}
|
|
3529
|
-
function
|
|
3529
|
+
function Go() {
|
|
3530
3530
|
const e = this, {
|
|
3531
3531
|
slides: t,
|
|
3532
3532
|
params: r,
|
|
@@ -3545,7 +3545,7 @@ function qo() {
|
|
|
3545
3545
|
o = a(`[data-swiper-slide-index="${i}"]`);
|
|
3546
3546
|
else
|
|
3547
3547
|
l ? (o = t.filter((d) => d.column === i)[0], c = t.filter((d) => d.column === i + 1)[0], u = t.filter((d) => d.column === i - 1)[0]) : o = t[i];
|
|
3548
|
-
o && (o.classList.add(r.slideActiveClass), l ? (c && c.classList.add(r.slideNextClass), u && u.classList.add(r.slidePrevClass)) : (c =
|
|
3548
|
+
o && (o.classList.add(r.slideActiveClass), l ? (c && c.classList.add(r.slideNextClass), u && u.classList.add(r.slidePrevClass)) : (c = Co(o, `.${r.slideClass}, swiper-slide`)[0], r.loop && !c && (c = t[0]), c && c.classList.add(r.slideNextClass), u = _o(o, `.${r.slideClass}, swiper-slide`)[0], r.loop && !u === 0 && (u = t[t.length - 1]), u && u.classList.add(r.slidePrevClass))), e.emitSlidesClasses();
|
|
3549
3549
|
}
|
|
3550
3550
|
const je = (e, t) => {
|
|
3551
3551
|
if (!e || e.destroyed || !e.params)
|
|
@@ -3562,7 +3562,7 @@ const je = (e, t) => {
|
|
|
3562
3562
|
return;
|
|
3563
3563
|
const r = e.slides[t].querySelector('[loading="lazy"]');
|
|
3564
3564
|
r && r.removeAttribute("loading");
|
|
3565
|
-
},
|
|
3565
|
+
}, Et = (e) => {
|
|
3566
3566
|
if (!e || e.destroyed || !e.params)
|
|
3567
3567
|
return;
|
|
3568
3568
|
let t = e.params.lazyPreloadPrevNext;
|
|
@@ -3590,7 +3590,7 @@ const je = (e, t) => {
|
|
|
3590
3590
|
for (let l = Math.max(i - t, 0); l <= Math.min(s + t, r - 1); l += 1)
|
|
3591
3591
|
l !== i && (l > s || l < i) && wt(e, l);
|
|
3592
3592
|
};
|
|
3593
|
-
function
|
|
3593
|
+
function $o(e) {
|
|
3594
3594
|
const {
|
|
3595
3595
|
slidesGrid: t,
|
|
3596
3596
|
params: r
|
|
@@ -3600,7 +3600,7 @@ function Go(e) {
|
|
|
3600
3600
|
typeof t[s + 1] < "u" ? n >= t[s] && n < t[s + 1] - (t[s + 1] - t[s]) / 2 ? i = s : n >= t[s] && n < t[s + 1] && (i = s + 1) : n >= t[s] && (i = s);
|
|
3601
3601
|
return r.normalizeSlideIndex && (i < 0 || typeof i > "u") && (i = 0), i;
|
|
3602
3602
|
}
|
|
3603
|
-
function
|
|
3603
|
+
function Ho(e) {
|
|
3604
3604
|
const t = this, r = t.rtlTranslate ? t.translate : -t.translate, {
|
|
3605
3605
|
snapGrid: n,
|
|
3606
3606
|
params: i,
|
|
@@ -3613,7 +3613,7 @@ function $o(e) {
|
|
|
3613
3613
|
let v = p - t.virtual.slidesBefore;
|
|
3614
3614
|
return v < 0 && (v = t.virtual.slides.length + v), v >= t.virtual.slides.length && (v -= t.virtual.slides.length), v;
|
|
3615
3615
|
};
|
|
3616
|
-
if (typeof o > "u" && (o =
|
|
3616
|
+
if (typeof o > "u" && (o = $o(t)), n.indexOf(r) >= 0)
|
|
3617
3617
|
u = n.indexOf(r);
|
|
3618
3618
|
else {
|
|
3619
3619
|
const p = Math.min(i.slidesPerGroupSkip, o);
|
|
@@ -3647,9 +3647,9 @@ function $o(e) {
|
|
|
3647
3647
|
realIndex: f,
|
|
3648
3648
|
previousIndex: s,
|
|
3649
3649
|
activeIndex: o
|
|
3650
|
-
}), t.initialized &&
|
|
3650
|
+
}), t.initialized && Et(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && (l !== f && t.emit("realIndexChange"), t.emit("slideChange"));
|
|
3651
3651
|
}
|
|
3652
|
-
function
|
|
3652
|
+
function Fo(e, t) {
|
|
3653
3653
|
const r = this, n = r.params;
|
|
3654
3654
|
let i = e.closest(`.${n.slideClass}, swiper-slide`);
|
|
3655
3655
|
!i && r.isElement && t && t.length > 1 && t.includes(e) && [...t.slice(t.indexOf(e) + 1, t.length)].forEach((a) => {
|
|
@@ -3671,18 +3671,18 @@ function Ho(e, t) {
|
|
|
3671
3671
|
}
|
|
3672
3672
|
n.slideToClickedSlide && r.clickedIndex !== void 0 && r.clickedIndex !== r.activeIndex && r.slideToClickedSlide();
|
|
3673
3673
|
}
|
|
3674
|
-
var
|
|
3675
|
-
updateSize:
|
|
3676
|
-
updateSlides:
|
|
3677
|
-
updateAutoHeight:
|
|
3678
|
-
updateSlidesOffset:
|
|
3679
|
-
updateSlidesProgress:
|
|
3680
|
-
updateProgress:
|
|
3681
|
-
updateSlidesClasses:
|
|
3682
|
-
updateActiveIndex:
|
|
3683
|
-
updateClickedSlide:
|
|
3674
|
+
var Wo = {
|
|
3675
|
+
updateSize: zo,
|
|
3676
|
+
updateSlides: jo,
|
|
3677
|
+
updateAutoHeight: Do,
|
|
3678
|
+
updateSlidesOffset: Bo,
|
|
3679
|
+
updateSlidesProgress: Vo,
|
|
3680
|
+
updateProgress: qo,
|
|
3681
|
+
updateSlidesClasses: Go,
|
|
3682
|
+
updateActiveIndex: Ho,
|
|
3683
|
+
updateClickedSlide: Fo
|
|
3684
3684
|
};
|
|
3685
|
-
function
|
|
3685
|
+
function Uo(e) {
|
|
3686
3686
|
e === void 0 && (e = this.isHorizontal() ? "x" : "y");
|
|
3687
3687
|
const t = this, {
|
|
3688
3688
|
params: r,
|
|
@@ -3694,10 +3694,10 @@ function Wo(e) {
|
|
|
3694
3694
|
return n ? -i : i;
|
|
3695
3695
|
if (r.cssMode)
|
|
3696
3696
|
return i;
|
|
3697
|
-
let l =
|
|
3697
|
+
let l = Po(s, e);
|
|
3698
3698
|
return l += t.cssOverflowAdjustment(), n && (l = -l), l || 0;
|
|
3699
3699
|
}
|
|
3700
|
-
function
|
|
3700
|
+
function Yo(e, t) {
|
|
3701
3701
|
const r = this, {
|
|
3702
3702
|
rtlTranslate: n,
|
|
3703
3703
|
params: i,
|
|
@@ -3714,10 +3714,10 @@ function Uo(e, t) {
|
|
|
3714
3714
|
function Xo() {
|
|
3715
3715
|
return -this.snapGrid[0];
|
|
3716
3716
|
}
|
|
3717
|
-
function
|
|
3717
|
+
function Ko() {
|
|
3718
3718
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
3719
3719
|
}
|
|
3720
|
-
function
|
|
3720
|
+
function Zo(e, t, r, n, i) {
|
|
3721
3721
|
e === void 0 && (e = 0), t === void 0 && (t = this.params.speed), r === void 0 && (r = !0), n === void 0 && (n = !0);
|
|
3722
3722
|
const s = this, {
|
|
3723
3723
|
params: l,
|
|
@@ -3750,13 +3750,13 @@ function Ko(e, t, r, n, i) {
|
|
|
3750
3750
|
}), s.wrapperEl.addEventListener("transitionend", s.onTranslateToWrapperTransitionEnd))), !0;
|
|
3751
3751
|
}
|
|
3752
3752
|
var Qo = {
|
|
3753
|
-
getTranslate:
|
|
3754
|
-
setTranslate:
|
|
3753
|
+
getTranslate: Uo,
|
|
3754
|
+
setTranslate: Yo,
|
|
3755
3755
|
minTranslate: Xo,
|
|
3756
|
-
maxTranslate:
|
|
3757
|
-
translateTo:
|
|
3756
|
+
maxTranslate: Ko,
|
|
3757
|
+
translateTo: Zo
|
|
3758
3758
|
};
|
|
3759
|
-
function
|
|
3759
|
+
function Jo(e, t) {
|
|
3760
3760
|
const r = this;
|
|
3761
3761
|
r.params.cssMode || (r.wrapperEl.style.transitionDuration = `${e}ms`, r.wrapperEl.style.transitionDelay = e === 0 ? "0ms" : ""), r.emit("setTransition", e, t);
|
|
3762
3762
|
}
|
|
@@ -3780,7 +3780,7 @@ function nn(e) {
|
|
|
3780
3780
|
t.emit(`slideChangeTransition${i}`), a === "next" ? t.emit(`slideNextTransition${i}`) : t.emit(`slidePrevTransition${i}`);
|
|
3781
3781
|
}
|
|
3782
3782
|
}
|
|
3783
|
-
function
|
|
3783
|
+
function ea(e, t) {
|
|
3784
3784
|
e === void 0 && (e = !0);
|
|
3785
3785
|
const r = this, {
|
|
3786
3786
|
params: n
|
|
@@ -3792,7 +3792,7 @@ function Jo(e, t) {
|
|
|
3792
3792
|
step: "Start"
|
|
3793
3793
|
}));
|
|
3794
3794
|
}
|
|
3795
|
-
function
|
|
3795
|
+
function ta(e, t) {
|
|
3796
3796
|
e === void 0 && (e = !0);
|
|
3797
3797
|
const r = this, {
|
|
3798
3798
|
params: n
|
|
@@ -3804,12 +3804,12 @@ function ea(e, t) {
|
|
|
3804
3804
|
step: "End"
|
|
3805
3805
|
}));
|
|
3806
3806
|
}
|
|
3807
|
-
var
|
|
3808
|
-
setTransition:
|
|
3809
|
-
transitionStart:
|
|
3810
|
-
transitionEnd:
|
|
3807
|
+
var ra = {
|
|
3808
|
+
setTransition: Jo,
|
|
3809
|
+
transitionStart: ea,
|
|
3810
|
+
transitionEnd: ta
|
|
3811
3811
|
};
|
|
3812
|
-
function
|
|
3812
|
+
function na(e, t, r, n, i) {
|
|
3813
3813
|
e === void 0 && (e = 0), t === void 0 && (t = this.params.speed), r === void 0 && (r = !0), typeof e == "string" && (e = parseInt(e, 10));
|
|
3814
3814
|
const s = this;
|
|
3815
3815
|
let l = e;
|
|
@@ -3831,23 +3831,23 @@ function ra(e, t, r, n, i) {
|
|
|
3831
3831
|
b >= o.length && (b = o.length - 1);
|
|
3832
3832
|
const h = -o[b];
|
|
3833
3833
|
if (a.normalizeSlideIndex)
|
|
3834
|
-
for (let
|
|
3835
|
-
const w = -Math.floor(h * 100),
|
|
3836
|
-
typeof u[
|
|
3834
|
+
for (let y = 0; y < u.length; y += 1) {
|
|
3835
|
+
const w = -Math.floor(h * 100), S = Math.floor(u[y] * 100), x = Math.floor(u[y + 1] * 100);
|
|
3836
|
+
typeof u[y + 1] < "u" ? w >= S && w < x - (x - S) / 2 ? l = y : w >= S && w < x && (l = y + 1) : w >= S && (l = y);
|
|
3837
3837
|
}
|
|
3838
3838
|
if (s.initialized && l !== d && (!s.allowSlideNext && (f ? h > s.translate && h > s.minTranslate() : h < s.translate && h < s.minTranslate()) || !s.allowSlidePrev && h > s.translate && h > s.maxTranslate() && (d || 0) !== l))
|
|
3839
3839
|
return !1;
|
|
3840
3840
|
l !== (c || 0) && r && s.emit("beforeSlideChangeStart"), s.updateProgress(h);
|
|
3841
|
-
let
|
|
3842
|
-
if (l > d ?
|
|
3843
|
-
return s.updateActiveIndex(l), a.autoHeight && s.updateAutoHeight(), s.updateSlidesClasses(), a.effect !== "slide" && s.setTranslate(h),
|
|
3841
|
+
let _;
|
|
3842
|
+
if (l > d ? _ = "next" : l < d ? _ = "prev" : _ = "reset", f && -h === s.translate || !f && h === s.translate)
|
|
3843
|
+
return s.updateActiveIndex(l), a.autoHeight && s.updateAutoHeight(), s.updateSlidesClasses(), a.effect !== "slide" && s.setTranslate(h), _ !== "reset" && (s.transitionStart(r, _), s.transitionEnd(r, _)), !1;
|
|
3844
3844
|
if (a.cssMode) {
|
|
3845
|
-
const
|
|
3845
|
+
const y = s.isHorizontal(), w = f ? h : -h;
|
|
3846
3846
|
if (t === 0) {
|
|
3847
|
-
const
|
|
3848
|
-
|
|
3849
|
-
p[
|
|
3850
|
-
})) : p[
|
|
3847
|
+
const S = s.virtual && s.params.virtual.enabled;
|
|
3848
|
+
S && (s.wrapperEl.style.scrollSnapType = "none", s._immediateVirtual = !0), S && !s._cssModeVirtualInitialSet && s.params.initialSlide > 0 ? (s._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
|
|
3849
|
+
p[y ? "scrollLeft" : "scrollTop"] = w;
|
|
3850
|
+
})) : p[y ? "scrollLeft" : "scrollTop"] = w, S && requestAnimationFrame(() => {
|
|
3851
3851
|
s.wrapperEl.style.scrollSnapType = "", s._immediateVirtual = !1;
|
|
3852
3852
|
});
|
|
3853
3853
|
} else {
|
|
@@ -3855,20 +3855,20 @@ function ra(e, t, r, n, i) {
|
|
|
3855
3855
|
return en({
|
|
3856
3856
|
swiper: s,
|
|
3857
3857
|
targetPosition: w,
|
|
3858
|
-
side:
|
|
3858
|
+
side: y ? "left" : "top"
|
|
3859
3859
|
}), !0;
|
|
3860
3860
|
p.scrollTo({
|
|
3861
|
-
[
|
|
3861
|
+
[y ? "left" : "top"]: w,
|
|
3862
3862
|
behavior: "smooth"
|
|
3863
3863
|
});
|
|
3864
3864
|
}
|
|
3865
3865
|
return !0;
|
|
3866
3866
|
}
|
|
3867
|
-
return s.setTransition(t), s.setTranslate(h), s.updateActiveIndex(l), s.updateSlidesClasses(), s.emit("beforeTransitionStart", t, n), s.transitionStart(r,
|
|
3868
|
-
!s || s.destroyed || w.target === this && (s.wrapperEl.removeEventListener("transitionend", s.onSlideToWrapperTransitionEnd), s.onSlideToWrapperTransitionEnd = null, delete s.onSlideToWrapperTransitionEnd, s.transitionEnd(r,
|
|
3867
|
+
return s.setTransition(t), s.setTranslate(h), s.updateActiveIndex(l), s.updateSlidesClasses(), s.emit("beforeTransitionStart", t, n), s.transitionStart(r, _), t === 0 ? s.transitionEnd(r, _) : s.animating || (s.animating = !0, s.onSlideToWrapperTransitionEnd || (s.onSlideToWrapperTransitionEnd = function(w) {
|
|
3868
|
+
!s || s.destroyed || w.target === this && (s.wrapperEl.removeEventListener("transitionend", s.onSlideToWrapperTransitionEnd), s.onSlideToWrapperTransitionEnd = null, delete s.onSlideToWrapperTransitionEnd, s.transitionEnd(r, _));
|
|
3869
3869
|
}), s.wrapperEl.addEventListener("transitionend", s.onSlideToWrapperTransitionEnd)), !0;
|
|
3870
3870
|
}
|
|
3871
|
-
function
|
|
3871
|
+
function ia(e, t, r, n) {
|
|
3872
3872
|
e === void 0 && (e = 0), t === void 0 && (t = this.params.speed), r === void 0 && (r = !0), typeof e == "string" && (e = parseInt(e, 10));
|
|
3873
3873
|
const i = this;
|
|
3874
3874
|
if (i.destroyed)
|
|
@@ -3910,7 +3910,7 @@ function na(e, t, r, n) {
|
|
|
3910
3910
|
i.slideTo(l, t, r, n);
|
|
3911
3911
|
}), i;
|
|
3912
3912
|
}
|
|
3913
|
-
function
|
|
3913
|
+
function sa(e, t, r) {
|
|
3914
3914
|
e === void 0 && (e = this.params.speed), t === void 0 && (t = !0);
|
|
3915
3915
|
const n = this, {
|
|
3916
3916
|
enabled: i,
|
|
@@ -3934,7 +3934,7 @@ function ia(e, t, r) {
|
|
|
3934
3934
|
}
|
|
3935
3935
|
return s.rewind && n.isEnd ? n.slideTo(0, e, t, r) : n.slideTo(n.activeIndex + o, e, t, r);
|
|
3936
3936
|
}
|
|
3937
|
-
function
|
|
3937
|
+
function oa(e, t, r) {
|
|
3938
3938
|
e === void 0 && (e = this.params.speed), t === void 0 && (t = !0);
|
|
3939
3939
|
const n = this, {
|
|
3940
3940
|
params: i,
|
|
@@ -3962,8 +3962,8 @@ function sa(e, t, r) {
|
|
|
3962
3962
|
let m = s[v.indexOf(p) - 1];
|
|
3963
3963
|
if (typeof m > "u" && i.cssMode) {
|
|
3964
3964
|
let h;
|
|
3965
|
-
s.forEach((
|
|
3966
|
-
p >=
|
|
3965
|
+
s.forEach((_, y) => {
|
|
3966
|
+
p >= _ && (h = y);
|
|
3967
3967
|
}), typeof h < "u" && (m = s[h > 0 ? h - 1 : h]);
|
|
3968
3968
|
}
|
|
3969
3969
|
let b = 0;
|
|
@@ -3976,13 +3976,13 @@ function sa(e, t, r) {
|
|
|
3976
3976
|
}), !0;
|
|
3977
3977
|
return n.slideTo(b, e, t, r);
|
|
3978
3978
|
}
|
|
3979
|
-
function
|
|
3979
|
+
function aa(e, t, r) {
|
|
3980
3980
|
e === void 0 && (e = this.params.speed), t === void 0 && (t = !0);
|
|
3981
3981
|
const n = this;
|
|
3982
3982
|
if (!n.destroyed)
|
|
3983
3983
|
return n.slideTo(n.activeIndex, e, t, r);
|
|
3984
3984
|
}
|
|
3985
|
-
function
|
|
3985
|
+
function la(e, t, r, n) {
|
|
3986
3986
|
e === void 0 && (e = this.params.speed), t === void 0 && (t = !0), n === void 0 && (n = 0.5);
|
|
3987
3987
|
const i = this;
|
|
3988
3988
|
if (i.destroyed)
|
|
@@ -3998,7 +3998,7 @@ function aa(e, t, r, n) {
|
|
|
3998
3998
|
}
|
|
3999
3999
|
return s = Math.max(s, 0), s = Math.min(s, i.slidesGrid.length - 1), i.slideTo(s, e, t, r);
|
|
4000
4000
|
}
|
|
4001
|
-
function
|
|
4001
|
+
function ca() {
|
|
4002
4002
|
const e = this;
|
|
4003
4003
|
if (e.destroyed)
|
|
4004
4004
|
return;
|
|
@@ -4019,16 +4019,16 @@ function la() {
|
|
|
4019
4019
|
} else
|
|
4020
4020
|
e.slideTo(i);
|
|
4021
4021
|
}
|
|
4022
|
-
var
|
|
4023
|
-
slideTo:
|
|
4024
|
-
slideToLoop:
|
|
4025
|
-
slideNext:
|
|
4026
|
-
slidePrev:
|
|
4027
|
-
slideReset:
|
|
4028
|
-
slideToClosest:
|
|
4029
|
-
slideToClickedSlide:
|
|
4022
|
+
var ua = {
|
|
4023
|
+
slideTo: na,
|
|
4024
|
+
slideToLoop: ia,
|
|
4025
|
+
slideNext: sa,
|
|
4026
|
+
slidePrev: oa,
|
|
4027
|
+
slideReset: aa,
|
|
4028
|
+
slideToClosest: la,
|
|
4029
|
+
slideToClickedSlide: ca
|
|
4030
4030
|
};
|
|
4031
|
-
function
|
|
4031
|
+
function da(e) {
|
|
4032
4032
|
const t = this, {
|
|
4033
4033
|
params: r,
|
|
4034
4034
|
slidesEl: n
|
|
@@ -4066,7 +4066,7 @@ function ua(e) {
|
|
|
4066
4066
|
direction: r.centeredSlides ? void 0 : "next"
|
|
4067
4067
|
});
|
|
4068
4068
|
}
|
|
4069
|
-
function
|
|
4069
|
+
function fa(e) {
|
|
4070
4070
|
let {
|
|
4071
4071
|
slideRealIndex: t,
|
|
4072
4072
|
slideTo: r = !0,
|
|
@@ -4098,57 +4098,57 @@ function da(e) {
|
|
|
4098
4098
|
const b = p.slidesPerGroupAuto ? m : p.slidesPerGroup;
|
|
4099
4099
|
let h = b;
|
|
4100
4100
|
h % b !== 0 && (h += b - h % b), h += p.loopAdditionalSlides, o.loopedSlides = h;
|
|
4101
|
-
const
|
|
4102
|
-
u.length < m + h ? Be("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") :
|
|
4103
|
-
const
|
|
4104
|
-
let
|
|
4105
|
-
typeof s > "u" ? s = o.getSlideIndex(u.filter((I) => I.classList.contains(p.slideActiveClass))[0]) :
|
|
4101
|
+
const _ = o.grid && p.grid && p.grid.rows > 1;
|
|
4102
|
+
u.length < m + h ? Be("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : _ && p.grid.fill === "row" && Be("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
4103
|
+
const y = [], w = [];
|
|
4104
|
+
let S = o.activeIndex;
|
|
4105
|
+
typeof s > "u" ? s = o.getSlideIndex(u.filter((I) => I.classList.contains(p.slideActiveClass))[0]) : S = s;
|
|
4106
4106
|
const x = n === "next" || !n, O = n === "prev" || !n;
|
|
4107
4107
|
let C = 0, P = 0;
|
|
4108
|
-
const T =
|
|
4108
|
+
const T = _ ? Math.ceil(u.length / p.grid.rows) : u.length, R = (_ ? u[s].column : s) + (v && typeof i > "u" ? -m / 2 + 0.5 : 0);
|
|
4109
4109
|
if (R < h) {
|
|
4110
4110
|
C = Math.max(h - R, b);
|
|
4111
4111
|
for (let I = 0; I < h - R; I += 1) {
|
|
4112
4112
|
const k = I - Math.floor(I / T) * T;
|
|
4113
|
-
if (
|
|
4113
|
+
if (_) {
|
|
4114
4114
|
const D = T - k - 1;
|
|
4115
4115
|
for (let F = u.length - 1; F >= 0; F -= 1)
|
|
4116
|
-
u[F].column === D &&
|
|
4116
|
+
u[F].column === D && y.push(F);
|
|
4117
4117
|
} else
|
|
4118
|
-
|
|
4118
|
+
y.push(T - k - 1);
|
|
4119
4119
|
}
|
|
4120
4120
|
} else if (R + m > T - h) {
|
|
4121
4121
|
P = Math.max(R - (T - h * 2), b);
|
|
4122
4122
|
for (let I = 0; I < P; I += 1) {
|
|
4123
4123
|
const k = I - Math.floor(I / T) * T;
|
|
4124
|
-
|
|
4124
|
+
_ ? u.forEach((D, F) => {
|
|
4125
4125
|
D.column === k && w.push(F);
|
|
4126
4126
|
}) : w.push(k);
|
|
4127
4127
|
}
|
|
4128
4128
|
}
|
|
4129
4129
|
if (o.__preventObserver__ = !0, requestAnimationFrame(() => {
|
|
4130
4130
|
o.__preventObserver__ = !1;
|
|
4131
|
-
}), O &&
|
|
4131
|
+
}), O && y.forEach((I) => {
|
|
4132
4132
|
u[I].swiperLoopMoveDOM = !0, f.prepend(u[I]), u[I].swiperLoopMoveDOM = !1;
|
|
4133
4133
|
}), x && w.forEach((I) => {
|
|
4134
4134
|
u[I].swiperLoopMoveDOM = !0, f.append(u[I]), u[I].swiperLoopMoveDOM = !1;
|
|
4135
|
-
}), o.recalcSlides(), p.slidesPerView === "auto" ? o.updateSlides() :
|
|
4135
|
+
}), o.recalcSlides(), p.slidesPerView === "auto" ? o.updateSlides() : _ && (y.length > 0 && O || w.length > 0 && x) && o.slides.forEach((I, k) => {
|
|
4136
4136
|
o.grid.updateSlide(k, I, o.slides);
|
|
4137
4137
|
}), p.watchSlidesProgress && o.updateSlidesOffset(), r) {
|
|
4138
|
-
if (
|
|
4138
|
+
if (y.length > 0 && O) {
|
|
4139
4139
|
if (typeof t > "u") {
|
|
4140
|
-
const I = o.slidesGrid[
|
|
4141
|
-
a ? o.setTranslate(o.translate - D) : (o.slideTo(
|
|
4140
|
+
const I = o.slidesGrid[S], D = o.slidesGrid[S + C] - I;
|
|
4141
|
+
a ? o.setTranslate(o.translate - D) : (o.slideTo(S + C, 0, !1, !0), i && (o.touchEventsData.startTranslate = o.touchEventsData.startTranslate - D, o.touchEventsData.currentTranslate = o.touchEventsData.currentTranslate - D));
|
|
4142
4142
|
} else if (i) {
|
|
4143
|
-
const I =
|
|
4143
|
+
const I = _ ? y.length / p.grid.rows : y.length;
|
|
4144
4144
|
o.slideTo(o.activeIndex + I, 0, !1, !0), o.touchEventsData.currentTranslate = o.translate;
|
|
4145
4145
|
}
|
|
4146
4146
|
} else if (w.length > 0 && x)
|
|
4147
4147
|
if (typeof t > "u") {
|
|
4148
|
-
const I = o.slidesGrid[
|
|
4149
|
-
a ? o.setTranslate(o.translate - D) : (o.slideTo(
|
|
4148
|
+
const I = o.slidesGrid[S], D = o.slidesGrid[S - P] - I;
|
|
4149
|
+
a ? o.setTranslate(o.translate - D) : (o.slideTo(S - P, 0, !1, !0), i && (o.touchEventsData.startTranslate = o.touchEventsData.startTranslate - D, o.touchEventsData.currentTranslate = o.touchEventsData.currentTranslate - D));
|
|
4150
4150
|
} else {
|
|
4151
|
-
const I =
|
|
4151
|
+
const I = _ ? w.length / p.grid.rows : w.length;
|
|
4152
4152
|
o.slideTo(o.activeIndex - I, 0, !1, !0);
|
|
4153
4153
|
}
|
|
4154
4154
|
}
|
|
@@ -4172,7 +4172,7 @@ function da(e) {
|
|
|
4172
4172
|
}
|
|
4173
4173
|
o.emit("loopFix");
|
|
4174
4174
|
}
|
|
4175
|
-
function
|
|
4175
|
+
function pa() {
|
|
4176
4176
|
const e = this, {
|
|
4177
4177
|
params: t,
|
|
4178
4178
|
slidesEl: r
|
|
@@ -4190,12 +4190,12 @@ function fa() {
|
|
|
4190
4190
|
r.append(i);
|
|
4191
4191
|
}), e.recalcSlides(), e.slideTo(e.realIndex, 0);
|
|
4192
4192
|
}
|
|
4193
|
-
var
|
|
4194
|
-
loopCreate:
|
|
4195
|
-
loopFix:
|
|
4196
|
-
loopDestroy:
|
|
4193
|
+
var ha = {
|
|
4194
|
+
loopCreate: da,
|
|
4195
|
+
loopFix: fa,
|
|
4196
|
+
loopDestroy: pa
|
|
4197
4197
|
};
|
|
4198
|
-
function
|
|
4198
|
+
function ma(e) {
|
|
4199
4199
|
const t = this;
|
|
4200
4200
|
if (!t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode)
|
|
4201
4201
|
return;
|
|
@@ -4204,17 +4204,17 @@ function ha(e) {
|
|
|
4204
4204
|
t.__preventObserver__ = !1;
|
|
4205
4205
|
});
|
|
4206
4206
|
}
|
|
4207
|
-
function
|
|
4207
|
+
function ga() {
|
|
4208
4208
|
const e = this;
|
|
4209
4209
|
e.params.watchOverflow && e.isLocked || e.params.cssMode || (e.isElement && (e.__preventObserver__ = !0), e[e.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", e.isElement && requestAnimationFrame(() => {
|
|
4210
4210
|
e.__preventObserver__ = !1;
|
|
4211
4211
|
}));
|
|
4212
4212
|
}
|
|
4213
|
-
var
|
|
4214
|
-
setGrabCursor:
|
|
4215
|
-
unsetGrabCursor:
|
|
4213
|
+
var va = {
|
|
4214
|
+
setGrabCursor: ma,
|
|
4215
|
+
unsetGrabCursor: ga
|
|
4216
4216
|
};
|
|
4217
|
-
function
|
|
4217
|
+
function wa(e, t) {
|
|
4218
4218
|
t === void 0 && (t = this);
|
|
4219
4219
|
function r(n) {
|
|
4220
4220
|
if (!n || n === pe() || n === K())
|
|
@@ -4231,7 +4231,7 @@ function Or(e, t, r) {
|
|
|
4231
4231
|
} = e, s = i.edgeSwipeDetection, l = i.edgeSwipeThreshold;
|
|
4232
4232
|
return s && (r <= l || r >= n.innerWidth - l) ? s === "prevent" ? (t.preventDefault(), !0) : !1 : !0;
|
|
4233
4233
|
}
|
|
4234
|
-
function
|
|
4234
|
+
function ba(e) {
|
|
4235
4235
|
const t = this, r = pe();
|
|
4236
4236
|
let n = e;
|
|
4237
4237
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -4260,7 +4260,7 @@ function wa(e) {
|
|
|
4260
4260
|
const u = !!s.noSwipingClass && s.noSwipingClass !== "", c = n.composedPath ? n.composedPath() : n.path;
|
|
4261
4261
|
u && n.target && n.target.shadowRoot && c && (o = c[0]);
|
|
4262
4262
|
const d = s.noSwipingSelector ? s.noSwipingSelector : `.${s.noSwipingClass}`, f = !!(n.target && n.target.shadowRoot);
|
|
4263
|
-
if (s.noSwiping && (f ?
|
|
4263
|
+
if (s.noSwiping && (f ? wa(d, o) : o.closest(d))) {
|
|
4264
4264
|
t.allowClick = !0;
|
|
4265
4265
|
return;
|
|
4266
4266
|
}
|
|
@@ -4282,7 +4282,7 @@ function wa(e) {
|
|
|
4282
4282
|
const b = m && t.allowTouchMove && s.touchStartPreventDefault;
|
|
4283
4283
|
(s.touchStartForcePreventDefault || b) && !o.isContentEditable && n.preventDefault(), s.freeMode && s.freeMode.enabled && t.freeMode && t.animating && !s.cssMode && t.freeMode.onTouchStart(), t.emit("touchStart", n);
|
|
4284
4284
|
}
|
|
4285
|
-
function
|
|
4285
|
+
function ya(e) {
|
|
4286
4286
|
const t = pe(), r = this, n = r.touchEventsData, {
|
|
4287
4287
|
params: i,
|
|
4288
4288
|
touches: s,
|
|
@@ -4350,9 +4350,9 @@ function ba(e) {
|
|
|
4350
4350
|
i.oneWayMovement && (v = Math.abs(v) * (l ? 1 : -1), m = Math.abs(m) * (l ? 1 : -1)), s.diff = v, v *= i.touchRatio, l && (v = -v, m = -m);
|
|
4351
4351
|
const b = r.touchesDirection;
|
|
4352
4352
|
r.swipeDirection = v > 0 ? "prev" : "next", r.touchesDirection = m > 0 ? "prev" : "next";
|
|
4353
|
-
const h = r.params.loop && !i.cssMode,
|
|
4353
|
+
const h = r.params.loop && !i.cssMode, _ = r.touchesDirection === "next" && r.allowSlideNext || r.touchesDirection === "prev" && r.allowSlidePrev;
|
|
4354
4354
|
if (!n.isMoved) {
|
|
4355
|
-
if (h &&
|
|
4355
|
+
if (h && _ && r.loopFix({
|
|
4356
4356
|
direction: r.swipeDirection
|
|
4357
4357
|
}), n.startTranslate = r.getTranslate(), r.setTransition(0), r.animating) {
|
|
4358
4358
|
const x = new window.CustomEvent("transitionend", {
|
|
@@ -4363,8 +4363,8 @@ function ba(e) {
|
|
|
4363
4363
|
}
|
|
4364
4364
|
n.allowMomentumBounce = !1, i.grabCursor && (r.allowSlideNext === !0 || r.allowSlidePrev === !0) && r.setGrabCursor(!0), r.emit("sliderFirstMove", o);
|
|
4365
4365
|
}
|
|
4366
|
-
let
|
|
4367
|
-
if ((/* @__PURE__ */ new Date()).getTime(), n.isMoved && n.allowThresholdMove && b !== r.touchesDirection && h &&
|
|
4366
|
+
let y;
|
|
4367
|
+
if ((/* @__PURE__ */ new Date()).getTime(), n.isMoved && n.allowThresholdMove && b !== r.touchesDirection && h && _ && Math.abs(v) >= 1) {
|
|
4368
4368
|
Object.assign(s, {
|
|
4369
4369
|
startX: c,
|
|
4370
4370
|
startY: d,
|
|
@@ -4375,16 +4375,16 @@ function ba(e) {
|
|
|
4375
4375
|
return;
|
|
4376
4376
|
}
|
|
4377
4377
|
r.emit("sliderMove", o), n.isMoved = !0, n.currentTranslate = v + n.startTranslate;
|
|
4378
|
-
let w = !0,
|
|
4379
|
-
if (i.touchReleaseOnEdges && (
|
|
4378
|
+
let w = !0, S = i.resistanceRatio;
|
|
4379
|
+
if (i.touchReleaseOnEdges && (S = 0), v > 0 ? (h && _ && !y && n.allowThresholdMove && n.currentTranslate > (i.centeredSlides ? r.minTranslate() - r.slidesSizesGrid[r.activeIndex + 1] : r.minTranslate()) && r.loopFix({
|
|
4380
4380
|
direction: "prev",
|
|
4381
4381
|
setTranslate: !0,
|
|
4382
4382
|
activeSlideIndex: 0
|
|
4383
|
-
}), n.currentTranslate > r.minTranslate() && (w = !1, i.resistance && (n.currentTranslate = r.minTranslate() - 1 + (-r.minTranslate() + n.startTranslate + v) **
|
|
4383
|
+
}), n.currentTranslate > r.minTranslate() && (w = !1, i.resistance && (n.currentTranslate = r.minTranslate() - 1 + (-r.minTranslate() + n.startTranslate + v) ** S))) : v < 0 && (h && _ && !y && n.allowThresholdMove && n.currentTranslate < (i.centeredSlides ? r.maxTranslate() + r.slidesSizesGrid[r.slidesSizesGrid.length - 1] : r.maxTranslate()) && r.loopFix({
|
|
4384
4384
|
direction: "next",
|
|
4385
4385
|
setTranslate: !0,
|
|
4386
4386
|
activeSlideIndex: r.slides.length - (i.slidesPerView === "auto" ? r.slidesPerViewDynamic() : Math.ceil(parseFloat(i.slidesPerView, 10)))
|
|
4387
|
-
}), n.currentTranslate < r.maxTranslate() && (w = !1, i.resistance && (n.currentTranslate = r.maxTranslate() + 1 - (r.maxTranslate() - n.startTranslate - v) **
|
|
4387
|
+
}), n.currentTranslate < r.maxTranslate() && (w = !1, i.resistance && (n.currentTranslate = r.maxTranslate() + 1 - (r.maxTranslate() - n.startTranslate - v) ** S))), w && (o.preventedByNestedSwiper = !0), !r.allowSlideNext && r.swipeDirection === "next" && n.currentTranslate < n.startTranslate && (n.currentTranslate = n.startTranslate), !r.allowSlidePrev && r.swipeDirection === "prev" && n.currentTranslate > n.startTranslate && (n.currentTranslate = n.startTranslate), !r.allowSlidePrev && !r.allowSlideNext && (n.currentTranslate = n.startTranslate), i.threshold > 0)
|
|
4388
4388
|
if (Math.abs(v) > i.threshold || n.allowThresholdMove) {
|
|
4389
4389
|
if (!n.allowThresholdMove) {
|
|
4390
4390
|
n.allowThresholdMove = !0, s.startX = s.currentX, s.startY = s.currentY, n.currentTranslate = n.startTranslate, s.diff = r.isHorizontal() ? s.currentX - s.startX : s.currentY - s.startY;
|
|
@@ -4402,7 +4402,7 @@ function Sa(e) {
|
|
|
4402
4402
|
n.originalEvent && (n = n.originalEvent);
|
|
4403
4403
|
let i;
|
|
4404
4404
|
if (n.type === "touchend" || n.type === "touchcancel") {
|
|
4405
|
-
if (i = [...n.changedTouches].filter((
|
|
4405
|
+
if (i = [...n.changedTouches].filter((S) => S.identifier === r.touchId)[0], !i || i.identifier !== r.touchId)
|
|
4406
4406
|
return;
|
|
4407
4407
|
} else {
|
|
4408
4408
|
if (r.touchId !== null || n.pointerId !== r.pointerId)
|
|
@@ -4428,8 +4428,8 @@ function Sa(e) {
|
|
|
4428
4428
|
l.grabCursor && r.isMoved && r.isTouched && (t.allowSlideNext === !0 || t.allowSlidePrev === !0) && t.setGrabCursor(!1);
|
|
4429
4429
|
const d = De(), f = d - r.touchStartTime;
|
|
4430
4430
|
if (t.allowClick) {
|
|
4431
|
-
const
|
|
4432
|
-
t.updateClickedSlide(
|
|
4431
|
+
const S = n.path || n.composedPath && n.composedPath();
|
|
4432
|
+
t.updateClickedSlide(S && S[0] || n.target, S), t.emit("tap click", n), f < 300 && d - r.lastClickTime < 300 && t.emit("doubleTap doubleClick", n);
|
|
4433
4433
|
}
|
|
4434
4434
|
if (r.lastClickTime = De(), Tt(() => {
|
|
4435
4435
|
t.destroyed || (t.allowClick = !0);
|
|
@@ -4449,25 +4449,25 @@ function Sa(e) {
|
|
|
4449
4449
|
}
|
|
4450
4450
|
const v = p >= -t.maxTranslate() && !t.params.loop;
|
|
4451
4451
|
let m = 0, b = t.slidesSizesGrid[0];
|
|
4452
|
-
for (let
|
|
4453
|
-
const x =
|
|
4454
|
-
typeof u[
|
|
4452
|
+
for (let S = 0; S < u.length; S += S < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
|
|
4453
|
+
const x = S < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
|
|
4454
|
+
typeof u[S + x] < "u" ? (v || p >= u[S] && p < u[S + x]) && (m = S, b = u[S + x] - u[S]) : (v || p >= u[S]) && (m = S, b = u[u.length - 1] - u[u.length - 2]);
|
|
4455
4455
|
}
|
|
4456
|
-
let h = null,
|
|
4457
|
-
l.rewind && (t.isBeginning ?
|
|
4458
|
-
const
|
|
4456
|
+
let h = null, _ = null;
|
|
4457
|
+
l.rewind && (t.isBeginning ? _ = l.virtual && l.virtual.enabled && t.virtual ? t.virtual.slides.length - 1 : t.slides.length - 1 : t.isEnd && (h = 0));
|
|
4458
|
+
const y = (p - u[m]) / b, w = m < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
|
|
4459
4459
|
if (f > l.longSwipesMs) {
|
|
4460
4460
|
if (!l.longSwipes) {
|
|
4461
4461
|
t.slideTo(t.activeIndex);
|
|
4462
4462
|
return;
|
|
4463
4463
|
}
|
|
4464
|
-
t.swipeDirection === "next" && (
|
|
4464
|
+
t.swipeDirection === "next" && (y >= l.longSwipesRatio ? t.slideTo(l.rewind && t.isEnd ? h : m + w) : t.slideTo(m)), t.swipeDirection === "prev" && (y > 1 - l.longSwipesRatio ? t.slideTo(m + w) : _ !== null && y < 0 && Math.abs(y) > l.longSwipesRatio ? t.slideTo(_) : t.slideTo(m));
|
|
4465
4465
|
} else {
|
|
4466
4466
|
if (!l.shortSwipes) {
|
|
4467
4467
|
t.slideTo(t.activeIndex);
|
|
4468
4468
|
return;
|
|
4469
4469
|
}
|
|
4470
|
-
t.navigation && (n.target === t.navigation.nextEl || n.target === t.navigation.prevEl) ? n.target === t.navigation.nextEl ? t.slideTo(m + w) : t.slideTo(m) : (t.swipeDirection === "next" && t.slideTo(h !== null ? h : m + w), t.swipeDirection === "prev" && t.slideTo(
|
|
4470
|
+
t.navigation && (n.target === t.navigation.nextEl || n.target === t.navigation.prevEl) ? n.target === t.navigation.nextEl ? t.slideTo(m + w) : t.slideTo(m) : (t.swipeDirection === "next" && t.slideTo(h !== null ? h : m + w), t.swipeDirection === "prev" && t.slideTo(_ !== null ? _ : m));
|
|
4471
4471
|
}
|
|
4472
4472
|
}
|
|
4473
4473
|
function Ir() {
|
|
@@ -4489,11 +4489,11 @@ function Ir() {
|
|
|
4489
4489
|
e.autoplay && e.autoplay.running && e.autoplay.paused && e.autoplay.resume();
|
|
4490
4490
|
}, 500)), e.allowSlidePrev = i, e.allowSlideNext = n, e.params.watchOverflow && s !== e.snapGrid && e.checkOverflow();
|
|
4491
4491
|
}
|
|
4492
|
-
function
|
|
4492
|
+
function xa(e) {
|
|
4493
4493
|
const t = this;
|
|
4494
4494
|
t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
|
|
4495
4495
|
}
|
|
4496
|
-
function
|
|
4496
|
+
function Ta() {
|
|
4497
4497
|
const e = this, {
|
|
4498
4498
|
wrapperEl: t,
|
|
4499
4499
|
rtlTranslate: r,
|
|
@@ -4506,11 +4506,11 @@ function xa() {
|
|
|
4506
4506
|
const s = e.maxTranslate() - e.minTranslate();
|
|
4507
4507
|
s === 0 ? i = 0 : i = (e.translate - e.minTranslate()) / s, i !== e.progress && e.updateProgress(r ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1);
|
|
4508
4508
|
}
|
|
4509
|
-
function
|
|
4509
|
+
function Pa(e) {
|
|
4510
4510
|
const t = this;
|
|
4511
4511
|
je(t, e.target), !(t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update();
|
|
4512
4512
|
}
|
|
4513
|
-
function
|
|
4513
|
+
function Ea() {
|
|
4514
4514
|
const e = this;
|
|
4515
4515
|
e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
|
|
4516
4516
|
}
|
|
@@ -4556,17 +4556,17 @@ function _a() {
|
|
|
4556
4556
|
const e = this, {
|
|
4557
4557
|
params: t
|
|
4558
4558
|
} = e;
|
|
4559
|
-
e.onTouchStart =
|
|
4559
|
+
e.onTouchStart = ba.bind(e), e.onTouchMove = ya.bind(e), e.onTouchEnd = Sa.bind(e), e.onDocumentTouchStart = Ea.bind(e), t.cssMode && (e.onScroll = Ta.bind(e)), e.onClick = xa.bind(e), e.onLoad = Pa.bind(e), sn(e, "on");
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function Ca() {
|
|
4562
4562
|
sn(this, "off");
|
|
4563
4563
|
}
|
|
4564
|
-
var
|
|
4564
|
+
var Ma = {
|
|
4565
4565
|
attachEvents: _a,
|
|
4566
|
-
detachEvents:
|
|
4566
|
+
detachEvents: Ca
|
|
4567
4567
|
};
|
|
4568
4568
|
const Rr = (e, t) => e.grid && t.grid && t.grid.rows > 1;
|
|
4569
|
-
function
|
|
4569
|
+
function Oa() {
|
|
4570
4570
|
const e = this, {
|
|
4571
4571
|
realIndex: t,
|
|
4572
4572
|
initialized: r,
|
|
@@ -4582,11 +4582,11 @@ function Ma() {
|
|
|
4582
4582
|
u && !c ? (i.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), e.emitContainerClasses()) : !u && c && (i.classList.add(`${n.containerModifierClass}grid`), (o.grid.fill && o.grid.fill === "column" || !o.grid.fill && n.grid.fill === "column") && i.classList.add(`${n.containerModifierClass}grid-column`), e.emitContainerClasses()), ["navigation", "pagination", "scrollbar"].forEach((h) => {
|
|
4583
4583
|
if (typeof o[h] > "u")
|
|
4584
4584
|
return;
|
|
4585
|
-
const
|
|
4586
|
-
|
|
4585
|
+
const _ = n[h] && n[h].enabled, y = o[h] && o[h].enabled;
|
|
4586
|
+
_ && !y && e[h].disable(), !_ && y && e[h].enable();
|
|
4587
4587
|
});
|
|
4588
4588
|
const f = o.direction && o.direction !== n.direction, p = n.loop && (o.slidesPerView !== n.slidesPerView || f), v = n.loop;
|
|
4589
|
-
f && r && e.changeDirection(),
|
|
4589
|
+
f && r && e.changeDirection(), X(e.params, o);
|
|
4590
4590
|
const m = e.params.enabled, b = e.params.loop;
|
|
4591
4591
|
Object.assign(e, {
|
|
4592
4592
|
allowTouchMove: e.params.allowTouchMove,
|
|
@@ -4594,7 +4594,7 @@ function Ma() {
|
|
|
4594
4594
|
allowSlidePrev: e.params.allowSlidePrev
|
|
4595
4595
|
}), d && !m ? e.disable() : !d && m && e.enable(), e.currentBreakpoint = l, e.emit("_beforeBreakpoint", o), r && (p ? (e.loopDestroy(), e.loopCreate(t), e.updateSlides()) : !v && b ? (e.loopCreate(t), e.updateSlides()) : v && !b && e.loopDestroy()), e.emit("breakpoint", o);
|
|
4596
4596
|
}
|
|
4597
|
-
function
|
|
4597
|
+
function Ia(e, t, r) {
|
|
4598
4598
|
if (t === void 0 && (t = "window"), !e || t === "container" && !r)
|
|
4599
4599
|
return;
|
|
4600
4600
|
let n = !1;
|
|
@@ -4621,11 +4621,11 @@ function Oa(e, t, r) {
|
|
|
4621
4621
|
}
|
|
4622
4622
|
return n || "max";
|
|
4623
4623
|
}
|
|
4624
|
-
var
|
|
4625
|
-
setBreakpoint:
|
|
4626
|
-
getBreakpoint:
|
|
4624
|
+
var Ra = {
|
|
4625
|
+
setBreakpoint: Oa,
|
|
4626
|
+
getBreakpoint: Ia
|
|
4627
4627
|
};
|
|
4628
|
-
function
|
|
4628
|
+
function La(e, t) {
|
|
4629
4629
|
const r = [];
|
|
4630
4630
|
return e.forEach((n) => {
|
|
4631
4631
|
typeof n == "object" ? Object.keys(n).forEach((i) => {
|
|
@@ -4633,14 +4633,14 @@ function Ra(e, t) {
|
|
|
4633
4633
|
}) : typeof n == "string" && r.push(t + n);
|
|
4634
4634
|
}), r;
|
|
4635
4635
|
}
|
|
4636
|
-
function
|
|
4636
|
+
function Aa() {
|
|
4637
4637
|
const e = this, {
|
|
4638
4638
|
classNames: t,
|
|
4639
4639
|
params: r,
|
|
4640
4640
|
rtl: n,
|
|
4641
4641
|
el: i,
|
|
4642
4642
|
device: s
|
|
4643
|
-
} = e, l =
|
|
4643
|
+
} = e, l = La(["initialized", r.direction, {
|
|
4644
4644
|
"free-mode": e.params.freeMode && r.freeMode.enabled
|
|
4645
4645
|
}, {
|
|
4646
4646
|
autoheight: r.autoHeight
|
|
@@ -4663,18 +4663,18 @@ function La() {
|
|
|
4663
4663
|
}], r.containerModifierClass);
|
|
4664
4664
|
t.push(...l), i.classList.add(...t), e.emitContainerClasses();
|
|
4665
4665
|
}
|
|
4666
|
-
function
|
|
4666
|
+
function Na() {
|
|
4667
4667
|
const e = this, {
|
|
4668
4668
|
el: t,
|
|
4669
4669
|
classNames: r
|
|
4670
4670
|
} = e;
|
|
4671
4671
|
t.classList.remove(...r), e.emitContainerClasses();
|
|
4672
4672
|
}
|
|
4673
|
-
var
|
|
4674
|
-
addClasses:
|
|
4675
|
-
removeClasses:
|
|
4673
|
+
var ka = {
|
|
4674
|
+
addClasses: Aa,
|
|
4675
|
+
removeClasses: Na
|
|
4676
4676
|
};
|
|
4677
|
-
function
|
|
4677
|
+
function za() {
|
|
4678
4678
|
const e = this, {
|
|
4679
4679
|
isLocked: t,
|
|
4680
4680
|
params: r
|
|
@@ -4688,9 +4688,9 @@ function ka() {
|
|
|
4688
4688
|
e.isLocked = e.snapGrid.length === 1;
|
|
4689
4689
|
r.allowSlideNext === !0 && (e.allowSlideNext = !e.isLocked), r.allowSlidePrev === !0 && (e.allowSlidePrev = !e.isLocked), t && t !== e.isLocked && (e.isEnd = !1), t !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
|
|
4690
4690
|
}
|
|
4691
|
-
var
|
|
4692
|
-
checkOverflow:
|
|
4693
|
-
},
|
|
4691
|
+
var ja = {
|
|
4692
|
+
checkOverflow: za
|
|
4693
|
+
}, _t = {
|
|
4694
4694
|
init: !0,
|
|
4695
4695
|
direction: "horizontal",
|
|
4696
4696
|
oneWayMovement: !1,
|
|
@@ -4811,49 +4811,49 @@ var za = {
|
|
|
4811
4811
|
// Internals
|
|
4812
4812
|
_emitClasses: !1
|
|
4813
4813
|
};
|
|
4814
|
-
function
|
|
4814
|
+
function Da(e, t) {
|
|
4815
4815
|
return function(n) {
|
|
4816
4816
|
n === void 0 && (n = {});
|
|
4817
4817
|
const i = Object.keys(n)[0], s = n[i];
|
|
4818
4818
|
if (typeof s != "object" || s === null) {
|
|
4819
|
-
|
|
4819
|
+
X(t, n);
|
|
4820
4820
|
return;
|
|
4821
4821
|
}
|
|
4822
4822
|
if (e[i] === !0 && (e[i] = {
|
|
4823
4823
|
enabled: !0
|
|
4824
4824
|
}), i === "navigation" && e[i] && e[i].enabled && !e[i].prevEl && !e[i].nextEl && (e[i].auto = !0), ["pagination", "scrollbar"].indexOf(i) >= 0 && e[i] && e[i].enabled && !e[i].el && (e[i].auto = !0), !(i in e && "enabled" in s)) {
|
|
4825
|
-
|
|
4825
|
+
X(t, n);
|
|
4826
4826
|
return;
|
|
4827
4827
|
}
|
|
4828
4828
|
typeof e[i] == "object" && !("enabled" in e[i]) && (e[i].enabled = !0), e[i] || (e[i] = {
|
|
4829
4829
|
enabled: !1
|
|
4830
|
-
}),
|
|
4830
|
+
}), X(t, n);
|
|
4831
4831
|
};
|
|
4832
4832
|
}
|
|
4833
4833
|
const bt = {
|
|
4834
|
-
eventsEmitter:
|
|
4835
|
-
update:
|
|
4834
|
+
eventsEmitter: ko,
|
|
4835
|
+
update: Wo,
|
|
4836
4836
|
translate: Qo,
|
|
4837
|
-
transition:
|
|
4838
|
-
slide:
|
|
4839
|
-
loop:
|
|
4840
|
-
grabCursor:
|
|
4841
|
-
events:
|
|
4842
|
-
breakpoints:
|
|
4843
|
-
checkOverflow:
|
|
4844
|
-
classes:
|
|
4845
|
-
},
|
|
4837
|
+
transition: ra,
|
|
4838
|
+
slide: ua,
|
|
4839
|
+
loop: ha,
|
|
4840
|
+
grabCursor: va,
|
|
4841
|
+
events: Ma,
|
|
4842
|
+
breakpoints: Ra,
|
|
4843
|
+
checkOverflow: ja,
|
|
4844
|
+
classes: ka
|
|
4845
|
+
}, yt = {};
|
|
4846
4846
|
let Nt = class ne {
|
|
4847
4847
|
constructor() {
|
|
4848
4848
|
let t, r;
|
|
4849
4849
|
for (var n = arguments.length, i = new Array(n), s = 0; s < n; s++)
|
|
4850
4850
|
i[s] = arguments[s];
|
|
4851
|
-
i.length === 1 && i[0].constructor && Object.prototype.toString.call(i[0]).slice(8, -1) === "Object" ? r = i[0] : [t, r] = i, r || (r = {}), r =
|
|
4851
|
+
i.length === 1 && i[0].constructor && Object.prototype.toString.call(i[0]).slice(8, -1) === "Object" ? r = i[0] : [t, r] = i, r || (r = {}), r = X({}, r), t && !r.el && (r.el = t);
|
|
4852
4852
|
const l = pe();
|
|
4853
4853
|
if (r.el && typeof r.el == "string" && l.querySelectorAll(r.el).length > 1) {
|
|
4854
4854
|
const c = [];
|
|
4855
4855
|
return l.querySelectorAll(r.el).forEach((d) => {
|
|
4856
|
-
const f =
|
|
4856
|
+
const f = X({}, r, {
|
|
4857
4857
|
el: d
|
|
4858
4858
|
});
|
|
4859
4859
|
c.push(new ne(f));
|
|
@@ -4862,21 +4862,21 @@ let Nt = class ne {
|
|
|
4862
4862
|
const a = this;
|
|
4863
4863
|
a.__swiper__ = !0, a.support = tn(), a.device = rn({
|
|
4864
4864
|
userAgent: r.userAgent
|
|
4865
|
-
}), a.browser =
|
|
4865
|
+
}), a.browser = Lo(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], r.modules && Array.isArray(r.modules) && a.modules.push(...r.modules);
|
|
4866
4866
|
const o = {};
|
|
4867
4867
|
a.modules.forEach((c) => {
|
|
4868
4868
|
c({
|
|
4869
4869
|
params: r,
|
|
4870
4870
|
swiper: a,
|
|
4871
|
-
extendParams:
|
|
4871
|
+
extendParams: Da(r, o),
|
|
4872
4872
|
on: a.on.bind(a),
|
|
4873
4873
|
once: a.once.bind(a),
|
|
4874
4874
|
off: a.off.bind(a),
|
|
4875
4875
|
emit: a.emit.bind(a)
|
|
4876
4876
|
});
|
|
4877
4877
|
});
|
|
4878
|
-
const u =
|
|
4879
|
-
return a.params =
|
|
4878
|
+
const u = X({}, _t, o);
|
|
4879
|
+
return a.params = X({}, u, yt, r), a.originalParams = X({}, a.params), a.passedParams = X({}, r), a.params && a.params.on && Object.keys(a.params.on).forEach((c) => {
|
|
4880
4880
|
a.on(c, a.params.on[c]);
|
|
4881
4881
|
}), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
|
|
4882
4882
|
enabled: a.params.enabled,
|
|
@@ -5118,7 +5118,7 @@ let Nt = class ne {
|
|
|
5118
5118
|
s.complete ? je(r, s) : s.addEventListener("load", (l) => {
|
|
5119
5119
|
je(r, l.target);
|
|
5120
5120
|
});
|
|
5121
|
-
}),
|
|
5121
|
+
}), Et(r), r.initialized = !0, Et(r), r.emit("init"), r.emit("afterInit"), r;
|
|
5122
5122
|
}
|
|
5123
5123
|
destroy(t, r) {
|
|
5124
5124
|
t === void 0 && (t = !0), r === void 0 && (r = !0);
|
|
@@ -5132,16 +5132,16 @@ let Nt = class ne {
|
|
|
5132
5132
|
o.classList.remove(i.slideVisibleClass, i.slideFullyVisibleClass, i.slideActiveClass, i.slideNextClass, i.slidePrevClass), o.removeAttribute("style"), o.removeAttribute("data-swiper-slide-index");
|
|
5133
5133
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((o) => {
|
|
5134
5134
|
n.off(o);
|
|
5135
|
-
}), t !== !1 && (n.el.swiper = null,
|
|
5135
|
+
}), t !== !1 && (n.el.swiper = null, xo(n)), n.destroyed = !0), null;
|
|
5136
5136
|
}
|
|
5137
5137
|
static extendDefaults(t) {
|
|
5138
|
-
|
|
5138
|
+
X(yt, t);
|
|
5139
5139
|
}
|
|
5140
5140
|
static get extendedDefaults() {
|
|
5141
|
-
return
|
|
5141
|
+
return yt;
|
|
5142
5142
|
}
|
|
5143
5143
|
static get defaults() {
|
|
5144
|
-
return
|
|
5144
|
+
return _t;
|
|
5145
5145
|
}
|
|
5146
5146
|
static installModule(t) {
|
|
5147
5147
|
ne.prototype.__modules__ || (ne.prototype.__modules__ = []);
|
|
@@ -5157,7 +5157,7 @@ Object.keys(bt).forEach((e) => {
|
|
|
5157
5157
|
Nt.prototype[t] = bt[e][t];
|
|
5158
5158
|
});
|
|
5159
5159
|
});
|
|
5160
|
-
Nt.use([
|
|
5160
|
+
Nt.use([Ao, No]);
|
|
5161
5161
|
const on = [
|
|
5162
5162
|
"eventsPrefix",
|
|
5163
5163
|
"injectStyles",
|
|
@@ -5302,10 +5302,10 @@ function un(e) {
|
|
|
5302
5302
|
r.indexOf(n) < 0 && r.push(n);
|
|
5303
5303
|
}), r.join(" ");
|
|
5304
5304
|
}
|
|
5305
|
-
function
|
|
5305
|
+
function Ba(e) {
|
|
5306
5306
|
return e === void 0 && (e = ""), e ? e.includes("swiper-wrapper") ? e : `swiper-wrapper ${e}` : "swiper-wrapper";
|
|
5307
5307
|
}
|
|
5308
|
-
function
|
|
5308
|
+
function Va(e) {
|
|
5309
5309
|
let {
|
|
5310
5310
|
swiper: t,
|
|
5311
5311
|
slides: r,
|
|
@@ -5324,26 +5324,26 @@ function Ba(e) {
|
|
|
5324
5324
|
virtual: v,
|
|
5325
5325
|
thumbs: m
|
|
5326
5326
|
} = t;
|
|
5327
|
-
let b, h,
|
|
5328
|
-
i.includes("thumbs") && n.thumbs && n.thumbs.swiper && c.thumbs && !c.thumbs.swiper && (b = !0), i.includes("controller") && n.controller && n.controller.control && c.controller && !c.controller.control && (h = !0), i.includes("pagination") && n.pagination && (n.pagination.el || o) && (c.pagination || c.pagination === !1) && d && !d.el && (
|
|
5327
|
+
let b, h, _, y, w, S, x, O;
|
|
5328
|
+
i.includes("thumbs") && n.thumbs && n.thumbs.swiper && c.thumbs && !c.thumbs.swiper && (b = !0), i.includes("controller") && n.controller && n.controller.control && c.controller && !c.controller.control && (h = !0), i.includes("pagination") && n.pagination && (n.pagination.el || o) && (c.pagination || c.pagination === !1) && d && !d.el && (_ = !0), i.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || a) && (c.scrollbar || c.scrollbar === !1) && p && !p.el && (y = !0), i.includes("navigation") && n.navigation && (n.navigation.prevEl || l) && (n.navigation.nextEl || s) && (c.navigation || c.navigation === !1) && f && !f.prevEl && !f.nextEl && (w = !0);
|
|
5329
5329
|
const C = (P) => {
|
|
5330
5330
|
t[P] && (t[P].destroy(), P === "navigation" ? (t.isElement && (t[P].prevEl.remove(), t[P].nextEl.remove()), c[P].prevEl = void 0, c[P].nextEl = void 0, t[P].prevEl = void 0, t[P].nextEl = void 0) : (t.isElement && t[P].el.remove(), c[P].el = void 0, t[P].el = void 0));
|
|
5331
5331
|
};
|
|
5332
|
-
i.includes("loop") && t.isElement && (c.loop && !n.loop ?
|
|
5332
|
+
i.includes("loop") && t.isElement && (c.loop && !n.loop ? S = !0 : !c.loop && n.loop ? x = !0 : O = !0), u.forEach((P) => {
|
|
5333
5333
|
if (ae(c[P]) && ae(n[P]))
|
|
5334
5334
|
Object.assign(c[P], n[P]), (P === "navigation" || P === "pagination" || P === "scrollbar") && "enabled" in n[P] && !n[P].enabled && C(P);
|
|
5335
5335
|
else {
|
|
5336
5336
|
const T = n[P];
|
|
5337
5337
|
(T === !0 || T === !1) && (P === "navigation" || P === "pagination" || P === "scrollbar") ? T === !1 && C(P) : c[P] = n[P];
|
|
5338
5338
|
}
|
|
5339
|
-
}), u.includes("controller") && !h && t.controller && t.controller.control && c.controller && c.controller.control && (t.controller.control = c.controller.control), i.includes("children") && r && v && c.virtual.enabled ? (v.slides = r, v.update(!0)) : i.includes("virtual") && v && c.virtual.enabled && (r && (v.slides = r), v.update(!0)), i.includes("children") && r && c.loop && (O = !0), b && m.init() && m.update(!0), h && (t.controller.control = c.controller.control),
|
|
5339
|
+
}), u.includes("controller") && !h && t.controller && t.controller.control && c.controller && c.controller.control && (t.controller.control = c.controller.control), i.includes("children") && r && v && c.virtual.enabled ? (v.slides = r, v.update(!0)) : i.includes("virtual") && v && c.virtual.enabled && (r && (v.slides = r), v.update(!0)), i.includes("children") && r && c.loop && (O = !0), b && m.init() && m.update(!0), h && (t.controller.control = c.controller.control), _ && (t.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), t.el.appendChild(o)), o && (c.pagination.el = o), d.init(), d.render(), d.update()), y && (t.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), t.el.appendChild(a)), a && (c.scrollbar.el = a), p.init(), p.updateSize(), p.setTranslate()), w && (t.isElement && ((!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-button-next"), s.innerHTML = t.hostEl.constructor.nextButtonSvg, s.part.add("button-next"), t.el.appendChild(s)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), l.innerHTML = t.hostEl.constructor.prevButtonSvg, l.part.add("button-prev"), t.el.appendChild(l))), s && (c.navigation.nextEl = s), l && (c.navigation.prevEl = l), f.init(), f.update()), i.includes("allowSlideNext") && (t.allowSlideNext = n.allowSlideNext), i.includes("allowSlidePrev") && (t.allowSlidePrev = n.allowSlidePrev), i.includes("direction") && t.changeDirection(n.direction, !1), (S || O) && t.loopDestroy(), (x || O) && t.loopCreate(), t.update();
|
|
5340
5340
|
}
|
|
5341
|
-
function
|
|
5341
|
+
function qa(e, t) {
|
|
5342
5342
|
e === void 0 && (e = {}), t === void 0 && (t = !0);
|
|
5343
5343
|
const r = {
|
|
5344
5344
|
on: {}
|
|
5345
5345
|
}, n = {}, i = {};
|
|
5346
|
-
de(r,
|
|
5346
|
+
de(r, _t), r._emitClasses = !0, r.init = !1;
|
|
5347
5347
|
const s = {}, l = on.map((o) => o.replace(/_/, "")), a = Object.assign({}, e);
|
|
5348
5348
|
return Object.keys(a).forEach((o) => {
|
|
5349
5349
|
typeof e[o] > "u" || (l.indexOf(o) >= 0 ? ae(e[o]) ? (r[o] = {}, i[o] = {}, de(r[o], e[o]), de(i[o], e[o])) : (r[o] = e[o], i[o] = e[o]) : o.search(/on[A-Z]/) === 0 && typeof e[o] == "function" ? t ? n[`${o[2].toLowerCase()}${o.substr(3)}`] = e[o] : r.on[`${o[2].toLowerCase()}${o.substr(3)}`] = e[o] : s[o] = e[o]);
|
|
@@ -5356,7 +5356,7 @@ function Va(e, t) {
|
|
|
5356
5356
|
events: n
|
|
5357
5357
|
};
|
|
5358
5358
|
}
|
|
5359
|
-
function
|
|
5359
|
+
function Ga(e, t) {
|
|
5360
5360
|
let {
|
|
5361
5361
|
el: r,
|
|
5362
5362
|
nextEl: n,
|
|
@@ -5367,7 +5367,7 @@ function qa(e, t) {
|
|
|
5367
5367
|
} = e;
|
|
5368
5368
|
an(t) && n && i && (a.params.navigation.nextEl = n, a.originalParams.navigation.nextEl = n, a.params.navigation.prevEl = i, a.originalParams.navigation.prevEl = i), ln(t) && s && (a.params.pagination.el = s, a.originalParams.pagination.el = s), cn(t) && l && (a.params.scrollbar.el = l, a.originalParams.scrollbar.el = l), a.init(r);
|
|
5369
5369
|
}
|
|
5370
|
-
function
|
|
5370
|
+
function $a(e, t, r, n, i) {
|
|
5371
5371
|
const s = [];
|
|
5372
5372
|
if (!t)
|
|
5373
5373
|
return s;
|
|
@@ -5391,7 +5391,7 @@ function Ga(e, t, r, n, i) {
|
|
|
5391
5391
|
e[o] !== t[o] && l(o);
|
|
5392
5392
|
}), s;
|
|
5393
5393
|
}
|
|
5394
|
-
const
|
|
5394
|
+
const Ha = (e) => {
|
|
5395
5395
|
!e || e.destroyed || !e.params.virtual || e.params.virtual && !e.params.virtual.enabled || (e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.parallax && e.params.parallax && e.params.parallax.enabled && e.parallax.setTranslate());
|
|
5396
5396
|
};
|
|
5397
5397
|
function Ve() {
|
|
@@ -5413,7 +5413,7 @@ function fn(e) {
|
|
|
5413
5413
|
dn(r) ? t.push(r) : r.props && r.props.children && fn(r.props.children).forEach((n) => t.push(n));
|
|
5414
5414
|
}), t;
|
|
5415
5415
|
}
|
|
5416
|
-
function
|
|
5416
|
+
function Fa(e) {
|
|
5417
5417
|
const t = [], r = {
|
|
5418
5418
|
"container-start": [],
|
|
5419
5419
|
"container-end": [],
|
|
@@ -5435,7 +5435,7 @@ function Ha(e) {
|
|
|
5435
5435
|
slots: r
|
|
5436
5436
|
};
|
|
5437
5437
|
}
|
|
5438
|
-
function
|
|
5438
|
+
function Wa(e, t, r) {
|
|
5439
5439
|
if (!r)
|
|
5440
5440
|
return null;
|
|
5441
5441
|
const n = (c) => {
|
|
@@ -5458,9 +5458,9 @@ function Fa(e, t, r) {
|
|
|
5458
5458
|
}));
|
|
5459
5459
|
}
|
|
5460
5460
|
function ge(e, t) {
|
|
5461
|
-
return typeof window > "u" ?
|
|
5461
|
+
return typeof window > "u" ? St(e, t) : Sn(e, t);
|
|
5462
5462
|
}
|
|
5463
|
-
const Lr = /* @__PURE__ */ qe(null),
|
|
5463
|
+
const Lr = /* @__PURE__ */ qe(null), Ua = /* @__PURE__ */ qe(null), Ya = /* @__PURE__ */ fe(function(e, t) {
|
|
5464
5464
|
let {
|
|
5465
5465
|
className: r,
|
|
5466
5466
|
tag: n = "div",
|
|
@@ -5469,15 +5469,15 @@ const Lr = /* @__PURE__ */ qe(null), Wa = /* @__PURE__ */ qe(null), Ua = /* @__P
|
|
|
5469
5469
|
onSwiper: l,
|
|
5470
5470
|
...a
|
|
5471
5471
|
} = e === void 0 ? {} : e, o = !1;
|
|
5472
|
-
const [u, c] = me("swiper"), [d, f] = me(null), [p, v] = me(!1), m =
|
|
5472
|
+
const [u, c] = me("swiper"), [d, f] = me(null), [p, v] = me(!1), m = Z(!1), b = Z(null), h = Z(null), _ = Z(null), y = Z(null), w = Z(null), S = Z(null), x = Z(null), O = Z(null), {
|
|
5473
5473
|
params: C,
|
|
5474
5474
|
passedParams: P,
|
|
5475
5475
|
rest: T,
|
|
5476
5476
|
events: M
|
|
5477
|
-
} =
|
|
5477
|
+
} = qa(a), {
|
|
5478
5478
|
slides: R,
|
|
5479
5479
|
slots: I
|
|
5480
|
-
} =
|
|
5480
|
+
} = Fa(s), k = () => {
|
|
5481
5481
|
v(!p);
|
|
5482
5482
|
};
|
|
5483
5483
|
Object.assign(C.on, {
|
|
@@ -5511,16 +5511,16 @@ const Lr = /* @__PURE__ */ qe(null), Wa = /* @__PURE__ */ qe(null), Ua = /* @__P
|
|
|
5511
5511
|
h.current.off(B, M[B]);
|
|
5512
5512
|
});
|
|
5513
5513
|
};
|
|
5514
|
-
|
|
5514
|
+
St(() => () => {
|
|
5515
5515
|
h.current && h.current.off("_beforeBreakpoint", k);
|
|
5516
|
-
}),
|
|
5516
|
+
}), St(() => {
|
|
5517
5517
|
!m.current && h.current && (h.current.emitSlidesClasses(), m.current = !0);
|
|
5518
5518
|
}), ge(() => {
|
|
5519
5519
|
if (t && (t.current = b.current), !!b.current)
|
|
5520
|
-
return h.current.destroyed && D(),
|
|
5520
|
+
return h.current.destroyed && D(), Ga({
|
|
5521
5521
|
el: b.current,
|
|
5522
5522
|
nextEl: w.current,
|
|
5523
|
-
prevEl:
|
|
5523
|
+
prevEl: S.current,
|
|
5524
5524
|
paginationEl: x.current,
|
|
5525
5525
|
scrollbarEl: O.current,
|
|
5526
5526
|
swiper: h.current
|
|
@@ -5529,24 +5529,24 @@ const Lr = /* @__PURE__ */ qe(null), Wa = /* @__PURE__ */ qe(null), Ua = /* @__P
|
|
|
5529
5529
|
};
|
|
5530
5530
|
}, []), ge(() => {
|
|
5531
5531
|
F();
|
|
5532
|
-
const B =
|
|
5533
|
-
return
|
|
5532
|
+
const B = $a(P, _.current, R, y.current, (H) => H.key);
|
|
5533
|
+
return _.current = P, y.current = R, B.length && h.current && !h.current.destroyed && Va({
|
|
5534
5534
|
swiper: h.current,
|
|
5535
5535
|
slides: R,
|
|
5536
5536
|
passedParams: P,
|
|
5537
5537
|
changedParams: B,
|
|
5538
5538
|
nextEl: w.current,
|
|
5539
|
-
prevEl:
|
|
5539
|
+
prevEl: S.current,
|
|
5540
5540
|
scrollbarEl: O.current,
|
|
5541
5541
|
paginationEl: x.current
|
|
5542
5542
|
}), () => {
|
|
5543
5543
|
se();
|
|
5544
5544
|
};
|
|
5545
5545
|
}), ge(() => {
|
|
5546
|
-
|
|
5546
|
+
Ha(h.current);
|
|
5547
5547
|
}, [d]);
|
|
5548
5548
|
function $() {
|
|
5549
|
-
return C.virtual ?
|
|
5549
|
+
return C.virtual ? Wa(h.current, R, d) : R.map((B, H) => /* @__PURE__ */ L.cloneElement(B, {
|
|
5550
5550
|
swiper: h.current,
|
|
5551
5551
|
swiperSlideIndex: H
|
|
5552
5552
|
}));
|
|
@@ -5554,12 +5554,12 @@ const Lr = /* @__PURE__ */ qe(null), Wa = /* @__PURE__ */ qe(null), Ua = /* @__P
|
|
|
5554
5554
|
return /* @__PURE__ */ L.createElement(n, Ve({
|
|
5555
5555
|
ref: b,
|
|
5556
5556
|
className: un(`${u}${r ? ` ${r}` : ""}`)
|
|
5557
|
-
}, T), /* @__PURE__ */ L.createElement(
|
|
5557
|
+
}, T), /* @__PURE__ */ L.createElement(Ua.Provider, {
|
|
5558
5558
|
value: h.current
|
|
5559
5559
|
}, I["container-start"], /* @__PURE__ */ L.createElement(i, {
|
|
5560
|
-
className:
|
|
5560
|
+
className: Ba(C.wrapperClass)
|
|
5561
5561
|
}, I["wrapper-start"], $(), I["wrapper-end"]), an(C) && /* @__PURE__ */ L.createElement(L.Fragment, null, /* @__PURE__ */ L.createElement("div", {
|
|
5562
|
-
ref:
|
|
5562
|
+
ref: S,
|
|
5563
5563
|
className: "swiper-button-prev"
|
|
5564
5564
|
}), /* @__PURE__ */ L.createElement("div", {
|
|
5565
5565
|
ref: w,
|
|
@@ -5572,7 +5572,7 @@ const Lr = /* @__PURE__ */ qe(null), Wa = /* @__PURE__ */ qe(null), Ua = /* @__P
|
|
|
5572
5572
|
className: "swiper-pagination"
|
|
5573
5573
|
}), I["container-end"]));
|
|
5574
5574
|
});
|
|
5575
|
-
|
|
5575
|
+
Ya.displayName = "Swiper";
|
|
5576
5576
|
const Xa = /* @__PURE__ */ fe(function(e, t) {
|
|
5577
5577
|
let {
|
|
5578
5578
|
tag: r = "div",
|
|
@@ -5585,9 +5585,9 @@ const Xa = /* @__PURE__ */ fe(function(e, t) {
|
|
|
5585
5585
|
swiperSlideIndex: u,
|
|
5586
5586
|
...c
|
|
5587
5587
|
} = e === void 0 ? {} : e;
|
|
5588
|
-
const d =
|
|
5589
|
-
function b(w,
|
|
5590
|
-
|
|
5588
|
+
const d = Z(null), [f, p] = me("swiper-slide"), [v, m] = me(!1);
|
|
5589
|
+
function b(w, S, x) {
|
|
5590
|
+
S === d.current && p(x);
|
|
5591
5591
|
}
|
|
5592
5592
|
ge(() => {
|
|
5593
5593
|
if (typeof u < "u" && (d.current.swiperSlideIndex = u), t && (t.current = d.current), !(!d.current || !s)) {
|
|
@@ -5607,74 +5607,95 @@ const Xa = /* @__PURE__ */ fe(function(e, t) {
|
|
|
5607
5607
|
isVisible: f.indexOf("swiper-slide-visible") >= 0,
|
|
5608
5608
|
isPrev: f.indexOf("swiper-slide-prev") >= 0,
|
|
5609
5609
|
isNext: f.indexOf("swiper-slide-next") >= 0
|
|
5610
|
-
},
|
|
5610
|
+
}, _ = () => typeof n == "function" ? n(h) : n, y = () => {
|
|
5611
5611
|
m(!0);
|
|
5612
5612
|
};
|
|
5613
5613
|
return /* @__PURE__ */ L.createElement(r, Ve({
|
|
5614
5614
|
ref: d,
|
|
5615
5615
|
className: un(`${f}${i ? ` ${i}` : ""}`),
|
|
5616
5616
|
"data-swiper-slide-index": o,
|
|
5617
|
-
onLoad:
|
|
5617
|
+
onLoad: y
|
|
5618
5618
|
}, c), l && /* @__PURE__ */ L.createElement(Lr.Provider, {
|
|
5619
5619
|
value: h
|
|
5620
5620
|
}, /* @__PURE__ */ L.createElement("div", {
|
|
5621
5621
|
className: "swiper-zoom-container",
|
|
5622
5622
|
"data-swiper-zoom": typeof l == "number" ? l : void 0
|
|
5623
|
-
},
|
|
5623
|
+
}, _(), a && !v && /* @__PURE__ */ L.createElement("div", {
|
|
5624
5624
|
className: "swiper-lazy-preloader"
|
|
5625
5625
|
}))), !l && /* @__PURE__ */ L.createElement(Lr.Provider, {
|
|
5626
5626
|
value: h
|
|
5627
|
-
},
|
|
5627
|
+
}, _(), a && !v && /* @__PURE__ */ L.createElement("div", {
|
|
5628
5628
|
className: "swiper-lazy-preloader"
|
|
5629
5629
|
})));
|
|
5630
5630
|
});
|
|
5631
5631
|
Xa.displayName = "SwiperSlide";
|
|
5632
|
+
var Ka = { exports: {} };
|
|
5633
|
+
(function(e, t) {
|
|
5634
|
+
(function(r, n, i) {
|
|
5635
|
+
e.exports = i(), e.exports.default = i();
|
|
5636
|
+
})("slugify", $s, function() {
|
|
5637
|
+
var r = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), n = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
|
|
5638
|
+
function i(s, l) {
|
|
5639
|
+
if (typeof s != "string")
|
|
5640
|
+
throw new Error("slugify: string argument expected");
|
|
5641
|
+
l = typeof l == "string" ? { replacement: l } : l || {};
|
|
5642
|
+
var a = n[l.locale] || {}, o = l.replacement === void 0 ? "-" : l.replacement, u = l.trim === void 0 ? !0 : l.trim, c = s.normalize().split("").reduce(function(d, f) {
|
|
5643
|
+
var p = a[f];
|
|
5644
|
+
return p === void 0 && (p = r[f]), p === void 0 && (p = f), p === o && (p = " "), d + p.replace(l.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
|
|
5645
|
+
}, "");
|
|
5646
|
+
return l.strict && (c = c.replace(/[^A-Za-z0-9\s]/g, "")), u && (c = c.trim()), c = c.replace(/\s+/g, o), l.lower && (c = c.toLowerCase()), c;
|
|
5647
|
+
}
|
|
5648
|
+
return i.extend = function(s) {
|
|
5649
|
+
Object.assign(r, s);
|
|
5650
|
+
}, i;
|
|
5651
|
+
});
|
|
5652
|
+
})(Ka);
|
|
5632
5653
|
const kt = fe((e, t) => {
|
|
5633
|
-
const { themeName: r = "alerts.navigationBtn", tokens: n, customTheme: i, children: s, ...l } = e, a =
|
|
5654
|
+
const { themeName: r = "alerts.navigationBtn", tokens: n, customTheme: i, children: s, ...l } = e, a = Q(r, n, i);
|
|
5634
5655
|
return /* @__PURE__ */ g(we, { within: !0, focusRingClass: "has-focus-ring", children: /* @__PURE__ */ g("button", { className: a, ref: t, type: "button", ...l, children: s }) });
|
|
5635
|
-
}),
|
|
5656
|
+
}), Za = fe(
|
|
5636
5657
|
(e, t) => /* @__PURE__ */ g(kt, { ...e, ref: t, children: /* @__PURE__ */ g(Rt, { icon: "ArrowRight" }) })
|
|
5637
|
-
),
|
|
5658
|
+
), Qa = fe(
|
|
5638
5659
|
(e, t) => /* @__PURE__ */ g(kt, { ...e, ref: t, children: /* @__PURE__ */ g(Rt, { icon: "ArrowLeft" }) })
|
|
5639
5660
|
);
|
|
5640
5661
|
kt.displayName = "AlertsNavigationButton";
|
|
5641
|
-
|
|
5642
|
-
|
|
5662
|
+
Za.displayName = "AlertsNextNavigationButton";
|
|
5663
|
+
Qa.displayName = "AlertsPrevNavigationButton";
|
|
5643
5664
|
process.env.NEXT_PUBLIC_IMG_DOMAIN;
|
|
5644
|
-
const
|
|
5665
|
+
const Ja = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ g("path", { d: "M17.728 13.66 12.388 19 7.05 13.66M12.4 5v14", stroke: "currentColor" }) }), el = z(Ja, j), tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5645
5666
|
__proto__: null,
|
|
5646
|
-
default:
|
|
5647
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5667
|
+
default: el
|
|
5668
|
+
}, Symbol.toStringTag, { value: "Module" })), rl = (e) => /* @__PURE__ */ q("svg", { width: 24, height: 24, fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...e, children: [
|
|
5648
5669
|
/* @__PURE__ */ g("g", { children: /* @__PURE__ */ g("path", { d: "M.075 11.622a1 1 0 0 0 0 .76 1 1 0 0 0 .21.33l8 8a1.004 1.004 0 0 0 1.42-1.42l-6.3-6.29h19.59a1 1 0 0 0 0-2H3.405l6.3-6.29a1 1 0 0 0 0-1.42 1 1 0 0 0-1.42 0l-8 8a1 1 0 0 0-.21.33Z" }) }),
|
|
5649
5670
|
/* @__PURE__ */ g("defs", { children: /* @__PURE__ */ g("clipPath", { children: /* @__PURE__ */ g("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
5650
|
-
] }),
|
|
5671
|
+
] }), nl = z(rl, j), il = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5651
5672
|
__proto__: null,
|
|
5652
|
-
default:
|
|
5653
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5673
|
+
default: nl
|
|
5674
|
+
}, Symbol.toStringTag, { value: "Module" })), sl = (e) => /* @__PURE__ */ q("svg", { width: 24, height: 24, fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...e, children: [
|
|
5654
5675
|
/* @__PURE__ */ g("g", { children: /* @__PURE__ */ g("path", { d: "M23.92 12.38a1 1 0 0 0 0-.76 1 1 0 0 0-.21-.33l-8-8a1.003 1.003 0 1 0-1.42 1.42l6.3 6.29H1a1 1 0 1 0 0 2h19.59l-6.3 6.29a1 1 0 0 0 0 1.42 1.002 1.002 0 0 0 1.42 0l8-8c.091-.095.162-.207.21-.33Z" }) }),
|
|
5655
5676
|
/* @__PURE__ */ g("defs", { children: /* @__PURE__ */ g("clipPath", { children: /* @__PURE__ */ g("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
5656
|
-
] }),
|
|
5677
|
+
] }), ol = z(sl, j), al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5657
5678
|
__proto__: null,
|
|
5658
|
-
default:
|
|
5659
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5679
|
+
default: ol
|
|
5680
|
+
}, Symbol.toStringTag, { value: "Module" })), ll = (e) => /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", height: 48, width: 48, fill: "currentColor", viewBox: "0 0 48 48", ...e, children: /* @__PURE__ */ g("path", { d: "M21.05 33.1 35.2 18.95l-2.3-2.25-11.85 11.85-6-6-2.25 2.25ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 24q0-4.15 1.575-7.8 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24 4q4.15 0 7.8 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Z" }) }), cl = z(ll, j), ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5660
5681
|
__proto__: null,
|
|
5661
|
-
default:
|
|
5662
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5682
|
+
default: cl
|
|
5683
|
+
}, Symbol.toStringTag, { value: "Module" })), dl = (e) => /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", height: "48", width: "48", fill: "currentColor", ...e, children: /* @__PURE__ */ g("path", { d: "M28.05 36 16 23.95 28.05 11.9l2.15 2.15-9.9 9.9 9.9 9.9Z" }) }), fl = z(dl, j), pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5663
5684
|
__proto__: null,
|
|
5664
|
-
default:
|
|
5665
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5685
|
+
default: fl
|
|
5686
|
+
}, Symbol.toStringTag, { value: "Module" })), hl = (e) => /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", height: "48", width: "48", fill: "currentColor", ...e, children: /* @__PURE__ */ g("path", { d: "m18.75 36-2.15-2.15 9.9-9.9-9.9-9.9 2.15-2.15L30.8 23.95Z" }) }), ml = z(hl, j), gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5666
5687
|
__proto__: null,
|
|
5667
|
-
default:
|
|
5668
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5688
|
+
default: ml
|
|
5689
|
+
}, Symbol.toStringTag, { value: "Module" })), vl = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ g(
|
|
5669
5690
|
"path",
|
|
5670
5691
|
{
|
|
5671
5692
|
d: "M9.161 5.889v2.753H7V12h2.161v10h4.442V12h2.977s.28-1.614.417-3.38h-3.379V6.316a.963.963 0 0 1 .332-.558c.174-.146.396-.233.63-.248H17V2h-3.275C9.063 2 9.173 5.37 9.173 5.889h-.012Z",
|
|
5672
5693
|
fill: "currentColor"
|
|
5673
5694
|
}
|
|
5674
|
-
) }),
|
|
5695
|
+
) }), wl = z(vl, j), bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5675
5696
|
__proto__: null,
|
|
5676
|
-
default:
|
|
5677
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5697
|
+
default: wl
|
|
5698
|
+
}, Symbol.toStringTag, { value: "Module" })), yl = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ g(
|
|
5678
5699
|
"path",
|
|
5679
5700
|
{
|
|
5680
5701
|
fill: "#3b5998",
|
|
@@ -5682,10 +5703,10 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5682
5703
|
strokeWidth: "0",
|
|
5683
5704
|
d: "M147.5 254.3V139.1h38.7l6-45h-44.7V65.2c0-13 3.6-21.9 22.3-21.9h23.7V3.2c-11.6-1.2-23.1-1.8-34.7-1.8-34.3 0-57.8 20.9-57.8 59.4V94H62.2v45.1H101v115.2h46.5z"
|
|
5684
5705
|
}
|
|
5685
|
-
) }),
|
|
5706
|
+
) }), Sl = z(yl, j), xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5686
5707
|
__proto__: null,
|
|
5687
|
-
default:
|
|
5688
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5708
|
+
default: Sl
|
|
5709
|
+
}, Symbol.toStringTag, { value: "Module" })), Tl = (e) => /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 25, viewBox: "0 0 24 25", fill: "none", ...e, children: /* @__PURE__ */ g(
|
|
5689
5710
|
"path",
|
|
5690
5711
|
{
|
|
5691
5712
|
fillRule: "evenodd",
|
|
@@ -5693,10 +5714,10 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5693
5714
|
d: "M2 12.5001C2 17.4501 5.6 21.5501 10.35 22.4001L10.4094 22.3515C10.4063 22.3509 10.4032 22.3503 10.4001 22.3498V15.2998H7.90015V12.4998H10.4001V10.2998C10.4001 7.79978 12.0001 6.39978 14.3001 6.39978C15.0001 6.39978 15.8001 6.49978 16.5001 6.59978V9.14978H15.2001C14.0001 9.14978 13.7001 9.74978 13.7001 10.5498V12.4998H16.3501L15.9001 15.2998H13.7001V22.3498C13.6696 22.3553 13.639 22.3608 13.6084 22.366L13.65 22.4001C18.4 21.5501 22 17.4501 22 12.5001C22 7.00006 17.5 2.50006 12 2.50006C6.5 2.50006 2 7.00006 2 12.5001Z",
|
|
5694
5715
|
fill: "currentColor"
|
|
5695
5716
|
}
|
|
5696
|
-
) }),
|
|
5717
|
+
) }), Pl = z(Tl, j), El = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5697
5718
|
__proto__: null,
|
|
5698
|
-
default:
|
|
5699
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5719
|
+
default: Pl
|
|
5720
|
+
}, Symbol.toStringTag, { value: "Module" })), _l = (e) => /* @__PURE__ */ q("svg", { width: "40", height: "40", viewBox: "0 0 67 67", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
5700
5721
|
/* @__PURE__ */ g(
|
|
5701
5722
|
"path",
|
|
5702
5723
|
{
|
|
@@ -5737,16 +5758,16 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5737
5758
|
strokeLinejoin: "round"
|
|
5738
5759
|
}
|
|
5739
5760
|
)
|
|
5740
|
-
] }),
|
|
5761
|
+
] }), Cl = z(_l, j), Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5741
5762
|
__proto__: null,
|
|
5742
|
-
default:
|
|
5743
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5763
|
+
default: Cl
|
|
5764
|
+
}, Symbol.toStringTag, { value: "Module" })), Ol = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ q("g", { fill: "currentColor", strokeMiterlimit: "10", strokeWidth: "0", children: [
|
|
5744
5765
|
/* @__PURE__ */ g("path", { d: "M253.5 75.7a92.8 92.8 0 0 0-5.8-30.7A62 62 0 0 0 233 22.6 62 62 0 0 0 210.7 8c-8-3-17.2-5.2-30.7-5.8-13.5-.6-17.8-.8-52.1-.8s-38.7.2-52.2.8A92.8 92.8 0 0 0 45 8c-8.4 3.2-16 8.2-22.4 14.6A62 62 0 0 0 8 45c-3 8-5.2 17.3-5.8 30.7a890 890 0 0 0-.8 52.2c0 34.3.2 38.6.8 52.1A92.8 92.8 0 0 0 8 210.7a62 62 0 0 0 14.5 22.4A62 62 0 0 0 45 247.7c8 3.1 17.3 5.2 30.7 5.9 13.5.6 17.8.7 52.2.7s38.6-.1 52-.7a92.8 92.8 0 0 0 30.8-6c17-6.5 30.4-20 37-36.9 3-8 5.2-17.2 5.8-30.7.7-13.5.8-17.8.8-52.1s-.1-38.7-.8-52.2zM230.8 179c-.6 12.3-2.6 19-4.4 23.4-4.2 11-13 19.8-24 24a69.9 69.9 0 0 1-23.4 4.4c-13.4.6-17.4.7-51.1.7-33.8 0-37.8-.1-51.1-.7-12.4-.6-19-2.6-23.5-4.4-5.5-2-10.5-5.2-14.5-9.4-4.2-4.1-7.5-9-9.5-14.6a69.9 69.9 0 0 1-4.4-23.4c-.6-13.4-.7-17.4-.7-51.1s.1-37.8.7-51.1c.6-12.4 2.6-19 4.4-23.5 2-5.5 5.2-10.5 9.4-14.6 4.1-4.2 9-7.4 14.6-9.4a69.9 69.9 0 0 1 23.5-4.4c13.3-.6 17.3-.7 51-.7 33.8 0 37.8.1 51.1.7 12.4.6 19 2.7 23.5 4.4 5.5 2 10.5 5.2 14.6 9.4 4.2 4.1 7.4 9.1 9.4 14.6a69.9 69.9 0 0 1 4.4 23.5c.6 13.3.7 17.3.7 51s-.1 37.8-.7 51.2z" }),
|
|
5745
5766
|
/* @__PURE__ */ g("path", { d: "M127.9 63a65 65 0 1 0 0 129.8 65 65 0 0 0 0-129.9zm0 107a42.2 42.2 0 1 1 0-84.3 42.2 42.2 0 0 1 0 84.3zM210.5 60.4a15.2 15.2 0 1 1-30.3 0 15.2 15.2 0 0 1 30.3 0z" })
|
|
5746
|
-
] }) }),
|
|
5767
|
+
] }) }), Il = z(Ol, j), Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5747
5768
|
__proto__: null,
|
|
5748
|
-
default:
|
|
5749
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5769
|
+
default: Il
|
|
5770
|
+
}, Symbol.toStringTag, { value: "Module" })), Ll = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ q("g", { fill: "none", strokeMiterlimit: "10", strokeWidth: "0", transform: "matrix(2.8 0 0 2.8 1.4 1.4)", children: [
|
|
5750
5771
|
/* @__PURE__ */ q(
|
|
5751
5772
|
"linearGradient",
|
|
5752
5773
|
{
|
|
@@ -5812,16 +5833,16 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5812
5833
|
}
|
|
5813
5834
|
),
|
|
5814
5835
|
/* @__PURE__ */ g("path", { fill: "url(#c)", d: "M74.4 21a5.4 5.4 0 1 1-10.8 0 5.4 5.4 0 0 1 10.8 0z" })
|
|
5815
|
-
] }) }),
|
|
5836
|
+
] }) }), Al = z(Ll, j), Nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5816
5837
|
__proto__: null,
|
|
5817
|
-
default:
|
|
5818
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5838
|
+
default: Al
|
|
5839
|
+
}, Symbol.toStringTag, { value: "Module" })), kl = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ q("g", { fill: "currentColor", strokeMiterlimit: "10", strokeWidth: "0", children: [
|
|
5819
5840
|
/* @__PURE__ */ g("path", { d: "M61.4 254.3A59.8 59.8 0 0 1 19 151.8L65.8 105a11.2 11.2 0 0 1 15.9 16l-46.8 46.7a37.3 37.3 0 0 0 0 53.1 37.6 37.6 0 0 0 53 0l46.9-46.8a11.2 11.2 0 1 1 15.9 16l-46.8 46.7a59.8 59.8 0 0 1-42.5 17.6zM182 154a11.2 11.2 0 0 1-8-19.2L220.8 88a37.6 37.6 0 0 0-53-53.1l-46.9 46.8a11.2 11.2 0 0 1-15.9-16L151.8 19a59.6 59.6 0 0 1 85 0 60.1 60.1 0 0 1 0 84.9l-46.9 46.8c-2.2 2.2-5 3.3-8 3.3z" }),
|
|
5820
5841
|
/* @__PURE__ */ g("path", { d: "M72.6 194.3a11.2 11.2 0 0 1-8-19.1L175.3 64.7A11.2 11.2 0 1 1 191 80.6L80.6 191c-2.2 2.2-5.1 3.2-8 3.2z" })
|
|
5821
|
-
] }) }),
|
|
5842
|
+
] }) }), zl = z(kl, j), jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5822
5843
|
__proto__: null,
|
|
5823
|
-
default:
|
|
5824
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5844
|
+
default: zl
|
|
5845
|
+
}, Symbol.toStringTag, { value: "Module" })), Dl = (e) => /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 19, viewBox: "0 0 18 19", fill: "none", ...e, children: /* @__PURE__ */ g(
|
|
5825
5846
|
"path",
|
|
5826
5847
|
{
|
|
5827
5848
|
fillRule: "evenodd",
|
|
@@ -5829,18 +5850,18 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5829
5850
|
d: "M0 1.79773C0 1.07677 0.604838 0.5 1.33064 0.5H16.6694C17.3952 0.5 18 1.07677 18 1.79773V17.2023C18 17.9232 17.3952 18.5 16.6694 18.5H1.33064C0.604838 18.5 0 17.9232 0 17.2023V1.79773ZM5.44373 15.5677V7.44492H2.73405V15.5677H5.44373ZM4.08889 6.31541C5.03244 6.31541 5.63728 5.69058 5.63728 4.92155C5.61308 4.1285 5.05663 3.52769 4.11308 3.52769C3.19373 3.52769 2.5647 4.1285 2.5647 4.92155C2.5647 5.69058 3.14534 6.31541 4.08889 6.31541ZM9.65304 15.5677H6.94336C6.94336 15.5677 6.99175 8.18991 6.94336 7.44492H9.67723V8.58586C9.66903 8.59819 9.66097 8.6104 9.65304 8.62249H9.67723V8.58586C10.0439 8.03441 10.6772 7.25266 12.1208 7.25266C13.9111 7.25266 15.2417 8.4062 15.2417 10.9055V15.5677H12.5321V11.2179C12.5321 10.1365 12.145 9.39151 11.153 9.39151C10.403 9.39151 9.94336 9.89619 9.74981 10.3768C9.67723 10.5451 9.65304 10.7854 9.65304 11.0257V15.5677Z",
|
|
5830
5851
|
fill: "currentColor"
|
|
5831
5852
|
}
|
|
5832
|
-
) }),
|
|
5853
|
+
) }), Bl = z(Dl, j), Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5833
5854
|
__proto__: null,
|
|
5834
|
-
default:
|
|
5835
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5855
|
+
default: Bl
|
|
5856
|
+
}, Symbol.toStringTag, { value: "Module" })), ql = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ q("g", { fill: "currentColor", strokeMiterlimit: "10", strokeWidth: "0", transform: "matrix(2.8 0 0 2.8 1.4 1.4)", children: [
|
|
5836
5857
|
/* @__PURE__ */ g("path", { d: "M80.9 78.8H9c-5 0-9.1-4.1-9.1-9.1V20.3c0-5 4-9 9.1-9H81c5 0 9.1 4 9.1 9v49.4c0 5-4 9-9.1 9zM9 17.2A3.1 3.1 0 0 0 6 20.3v49.4c0 1.7 1.4 3 3.1 3H81c1.7 0 3.1-1.3 3.1-3V20.3c0-1.7-1.4-3-3.1-3H9z" }),
|
|
5837
5858
|
/* @__PURE__ */ g("path", { d: "M45 55.4c-5.4 0-10.6-2.3-14.2-6.3l-28.3-31 4.4-4 28.3 31c2.5 2.8 6 4.3 9.8 4.3 3.8 0 7.3-1.5 9.8-4.3l28.3-31 4.4 4-28.3 31c-3.6 4-8.8 6.3-14.2 6.3z" }),
|
|
5838
5859
|
/* @__PURE__ */ g("rect", { width: "39", height: "6", x: "-1", y: "57.2", rx: "0", ry: "0", transform: "rotate(-45.1 18.5 60.2)" }),
|
|
5839
5860
|
/* @__PURE__ */ g("rect", { width: "6", height: "39", x: "68.5", y: "40.7", rx: "0", ry: "0", transform: "rotate(-44.8 71.5 60.2)" })
|
|
5840
|
-
] }) }),
|
|
5861
|
+
] }) }), Gl = z(ql, j), $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5841
5862
|
__proto__: null,
|
|
5842
|
-
default:
|
|
5843
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5863
|
+
default: Gl
|
|
5864
|
+
}, Symbol.toStringTag, { value: "Module" })), Hl = (e) => /* @__PURE__ */ q("svg", { height: 48, width: 48, fill: "currentColor", ...e, xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5844
5865
|
/* @__PURE__ */ g("ellipse", { cx: "26", cy: "24.095", rx: "26", ry: "23.547", fill: "#fff" }),
|
|
5845
5866
|
/* @__PURE__ */ g(
|
|
5846
5867
|
"path",
|
|
@@ -5852,10 +5873,10 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5852
5873
|
strokeLinejoin: "round"
|
|
5853
5874
|
}
|
|
5854
5875
|
)
|
|
5855
|
-
] }),
|
|
5876
|
+
] }), Fl = z(Hl, j), Wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5856
5877
|
__proto__: null,
|
|
5857
|
-
default:
|
|
5858
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5878
|
+
default: Fl
|
|
5879
|
+
}, Symbol.toStringTag, { value: "Module" })), Ul = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ g(
|
|
5859
5880
|
"path",
|
|
5860
5881
|
{
|
|
5861
5882
|
fill: "currentColor",
|
|
@@ -5863,10 +5884,10 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5863
5884
|
strokeWidth: "0",
|
|
5864
5885
|
d: "M199.75 145.13a54.45 54.45 0 0 0-43.54 21.82l-47.88-23.93c1.4-4.82 2.2-9.9 2.2-15.17a54.3 54.3 0 0 0-2.2-15.16l47.88-23.93a54.45 54.45 0 0 0 43.54 21.82 54.61 54.61 0 0 0 54.56-54.56c0-30.08-24.48-54.56-54.56-54.56s-54.56 24.48-54.56 54.56c0 5.27.79 10.35 2.19 15.17L99.5 95.11A54.45 54.45 0 0 0 55.97 73.3C25.88 73.3 1.4 97.77 1.4 127.86s24.47 54.56 54.56 54.56c17.79 0 33.56-8.6 43.53-21.82l47.88 23.92a54.32 54.32 0 0 0-2.2 15.17c0 30.09 24.48 54.56 54.57 54.56s54.56-24.47 54.56-54.56a54.62 54.62 0 0 0-54.56-54.56zm0-124c19.24 0 34.89 15.65 34.89 34.9s-15.65 34.88-34.9 34.88-34.88-15.65-34.88-34.89 15.65-34.89 34.89-34.89zM55.97 162.75c-19.24 0-34.9-15.65-34.9-34.9s15.66-34.88 34.9-34.88 34.88 15.65 34.88 34.89-15.65 34.89-34.88 34.89zm143.78 71.83a34.93 34.93 0 0 1-34.9-34.89c0-19.24 15.66-34.89 34.9-34.89s34.89 15.65 34.89 34.9a34.93 34.93 0 0 1-34.9 34.88z"
|
|
5865
5886
|
}
|
|
5866
|
-
) }),
|
|
5887
|
+
) }), Yl = z(Ul, j), Xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5867
5888
|
__proto__: null,
|
|
5868
|
-
default:
|
|
5869
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5889
|
+
default: Yl
|
|
5890
|
+
}, Symbol.toStringTag, { value: "Module" })), Kl = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ g(
|
|
5870
5891
|
"path",
|
|
5871
5892
|
{
|
|
5872
5893
|
fill: "currentColor",
|
|
@@ -5874,10 +5895,10 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5874
5895
|
strokeWidth: "0",
|
|
5875
5896
|
d: "M81 231A147 147 0 0 0 228 76c11-7 19-16 26-27-9 5-19 7-29 9 10-7 18-17 22-29-10 6-21 10-33 12a52 52 0 0 0-88 48C83 87 45 66 19 35a52 52 0 0 0 16 69c-8 0-16-3-23-7v1c0 25 17 46 41 51a52 52 0 0 1-23 1c6 20 26 35 48 36a104 104 0 0 1-77 21c23 15 51 24 80 24"
|
|
5876
5897
|
}
|
|
5877
|
-
) }),
|
|
5898
|
+
) }), Zl = z(Kl, j), Ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5878
5899
|
__proto__: null,
|
|
5879
|
-
default:
|
|
5880
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5900
|
+
default: Zl
|
|
5901
|
+
}, Symbol.toStringTag, { value: "Module" })), Jl = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ g(
|
|
5881
5902
|
"path",
|
|
5882
5903
|
{
|
|
5883
5904
|
fill: "#1da1f2",
|
|
@@ -5885,28 +5906,28 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5885
5906
|
strokeWidth: "0",
|
|
5886
5907
|
d: "M81 230.6c95.4 0 147.6-79 147.6-147.6 0-2.3 0-4.5-.2-6.7 10.2-7.4 19-16.5 25.9-26.9-9.5 4.2-19.5 7-29.8 8.2a52 52 0 0 0 22.8-28.7 104 104 0 0 1-33 12.6A52 52 0 0 0 126 88.8C84.2 86.7 45.4 67 19 34.6a52 52 0 0 0 16 69.2 51.5 51.5 0 0 1-23.5-6.5v.7c0 24.7 17.4 46 41.6 50.9-7.6 2-15.6 2.4-23.4.9a52 52 0 0 0 48.5 36 104.1 104.1 0 0 1-76.8 21.5A146.9 146.9 0 0 0 81 230.6"
|
|
5887
5908
|
}
|
|
5888
|
-
) }),
|
|
5909
|
+
) }), ec = z(Jl, j), tc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5889
5910
|
__proto__: null,
|
|
5890
|
-
default:
|
|
5891
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5911
|
+
default: ec
|
|
5912
|
+
}, Symbol.toStringTag, { value: "Module" })), rc = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ g(
|
|
5892
5913
|
"path",
|
|
5893
5914
|
{
|
|
5894
5915
|
d: "M17 21H7a4 4 0 0 1-4-4v-1a1 1 0 1 1 2 0v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1a1 1 0 0 1 2 0v1a4 4 0 0 1-4 4Zm-5-4a1 1 0 0 1-1-1V6.41l-2.29 2.3a1.004 1.004 0 0 1-1.42-1.42l4-4a1 1 0 0 1 .33-.21A1 1 0 0 1 12 3a1 1 0 0 1 .38.08 1 1 0 0 1 .33.21l4 4a1.004 1.004 0 1 1-1.42 1.42L13 6.41V16a1 1 0 0 1-1 1Z",
|
|
5895
5916
|
fill: "currentColor"
|
|
5896
5917
|
}
|
|
5897
|
-
) }),
|
|
5918
|
+
) }), nc = z(rc, j), ic = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5898
5919
|
__proto__: null,
|
|
5899
|
-
default:
|
|
5900
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5920
|
+
default: nc
|
|
5921
|
+
}, Symbol.toStringTag, { value: "Module" })), sc = (e) => /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 25, viewBox: "0 0 24 25", fill: "none", ...e, children: /* @__PURE__ */ g(
|
|
5901
5922
|
"path",
|
|
5902
5923
|
{
|
|
5903
5924
|
d: "M14.119 11.7052L20.4486 4.5H18.9492L13.4509 10.7549L9.0626 4.5H4L10.6374 13.9594L4 21.5142H5.4994L11.3021 14.9074L15.9374 21.5142H21M6.04057 5.60727H8.34407L18.9481 20.4613H16.644",
|
|
5904
5925
|
fill: "currentColor"
|
|
5905
5926
|
}
|
|
5906
|
-
) }),
|
|
5927
|
+
) }), oc = z(sc, j), ac = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5907
5928
|
__proto__: null,
|
|
5908
|
-
default:
|
|
5909
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5929
|
+
default: oc
|
|
5930
|
+
}, Symbol.toStringTag, { value: "Module" })), lc = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ g(
|
|
5910
5931
|
"path",
|
|
5911
5932
|
{
|
|
5912
5933
|
fill: "currentColor",
|
|
@@ -5914,10 +5935,10 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5914
5935
|
strokeWidth: "0",
|
|
5915
5936
|
d: "M249 67c-3-11-11-19-22-22-20-6-99-6-99-6s-79 0-99 6C18 48 10 56 7 67c-6 20-6 61-6 61s0 41 6 61c3 11 11 19 22 22 20 5 99 5 99 5s79 0 99-5c11-3 19-11 22-22 5-20 5-61 5-61s0-41-5-61zm-146 99V90l65 38-65 38z"
|
|
5916
5937
|
}
|
|
5917
|
-
) }),
|
|
5938
|
+
) }), cc = z(lc, j), uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5918
5939
|
__proto__: null,
|
|
5919
|
-
default:
|
|
5920
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5940
|
+
default: cc
|
|
5941
|
+
}, Symbol.toStringTag, { value: "Module" })), dc = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 256 256", ...e, children: /* @__PURE__ */ q("g", { fill: "currentColor", strokeMiterlimit: "10", strokeWidth: "0", children: [
|
|
5921
5942
|
/* @__PURE__ */ g(
|
|
5922
5943
|
"path",
|
|
5923
5944
|
{
|
|
@@ -5926,12 +5947,12 @@ const Qa = (e) => /* @__PURE__ */ g("svg", { width: 24, height: 24, fill: "none"
|
|
|
5926
5947
|
}
|
|
5927
5948
|
),
|
|
5928
5949
|
/* @__PURE__ */ g("path", { fill: "#fff", d: "m102.57 165.8 65.7-37.94-65.7-37.94z" })
|
|
5929
|
-
] }) }),
|
|
5950
|
+
] }) }), fc = z(dc, j), pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5930
5951
|
__proto__: null,
|
|
5931
|
-
default:
|
|
5952
|
+
default: fc
|
|
5932
5953
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5933
5954
|
Ot();
|
|
5934
|
-
const
|
|
5955
|
+
const hc = async (e) => {
|
|
5935
5956
|
const { variables: t, themeName: r = "wysiwyg", tokens: n, item: i, document: s } = e, l = await Bn({
|
|
5936
5957
|
item: i,
|
|
5937
5958
|
blockKey: "block_wysiwyg_by_id",
|
|
@@ -5945,16 +5966,16 @@ const fc = async (e) => {
|
|
|
5945
5966
|
o && u && /* @__PURE__ */ g(xt, { as: "span", themeName: r, tokens: { ...n, ...d }, children: L.createElement(u, {}, o) }),
|
|
5946
5967
|
a && /* @__PURE__ */ g(js, { themeName: r, tokens: { ...n, ...d }, content: a })
|
|
5947
5968
|
] });
|
|
5948
|
-
},
|
|
5969
|
+
}, mc = {
|
|
5949
5970
|
block_wysiwyg: {
|
|
5950
|
-
default: (e) => /* @__PURE__ */ g(
|
|
5971
|
+
default: (e) => /* @__PURE__ */ g(hc, { ...e })
|
|
5951
5972
|
}
|
|
5952
|
-
},
|
|
5973
|
+
}, gc = {
|
|
5953
5974
|
components: {
|
|
5954
|
-
...
|
|
5975
|
+
...mc
|
|
5955
5976
|
}
|
|
5956
|
-
},
|
|
5957
|
-
const { children: t, config: r, ...n } = e, i = Vn(
|
|
5977
|
+
}, Yc = (e) => {
|
|
5978
|
+
const { children: t, config: r, ...n } = e, i = Vn(gc, r), s = (a) => t ? t({ ...n, ...a }) : /* @__PURE__ */ g(qn, { ...n, ...a, config: i });
|
|
5958
5979
|
if ("blocks" in e) {
|
|
5959
5980
|
const { blocks: a } = e;
|
|
5960
5981
|
return a.map(s);
|
|
@@ -5963,8 +5984,11 @@ const fc = async (e) => {
|
|
|
5963
5984
|
return s(l);
|
|
5964
5985
|
};
|
|
5965
5986
|
export {
|
|
5966
|
-
|
|
5987
|
+
Yc as BlockDispatcher,
|
|
5967
5988
|
qn as BlockSerializer,
|
|
5968
|
-
|
|
5969
|
-
|
|
5989
|
+
hc as BlockWysiwyg,
|
|
5990
|
+
gc as baseConfig,
|
|
5991
|
+
mc as blockWysiwygConfig,
|
|
5992
|
+
Bn as getBlockProps,
|
|
5993
|
+
Vn as mergeConfigs
|
|
5970
5994
|
};
|