@yourdash/uikit 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +590 -592
- package/package.json +4 -2
package/dist/index.mjs
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import * as
|
3
|
-
import
|
4
|
-
import { useNavigate as Pe,
|
1
|
+
import { jsx as s, jsxs as I, Fragment as A } from "react/jsx-runtime";
|
2
|
+
import * as je from "react";
|
3
|
+
import O, { createContext as ge, useRef as H, useEffect as U, useContext as ue, useState as L, memo as Ae } from "react";
|
4
|
+
import { useNavigate as Pe, Outlet as He } from "react-router";
|
5
|
+
import { NavLink as Le } from "react-router-dom";
|
5
6
|
import './index.css';var J = { exports: {} }, fe = {};
|
6
7
|
/**
|
7
8
|
* @license React
|
@@ -16,7 +17,7 @@ var Ne;
|
|
16
17
|
function ze() {
|
17
18
|
if (Ne) return fe;
|
18
19
|
Ne = 1;
|
19
|
-
var t =
|
20
|
+
var t = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
20
21
|
return fe.c = function(e) {
|
21
22
|
return t.H.useMemoCache(e);
|
22
23
|
}, fe;
|
@@ -34,7 +35,7 @@ var he = {};
|
|
34
35
|
var pe;
|
35
36
|
function qe() {
|
36
37
|
return pe || (pe = 1, process.env.NODE_ENV !== "production" && function() {
|
37
|
-
var t =
|
38
|
+
var t = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
38
39
|
he.c = function(e) {
|
39
40
|
var i = t.H;
|
40
41
|
return i === null && console.error(
|
@@ -47,22 +48,22 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
47
48
|
};
|
48
49
|
}()), he;
|
49
50
|
}
|
50
|
-
var
|
51
|
+
var $o = J.exports, xe;
|
51
52
|
function Ge() {
|
52
53
|
return xe || (xe = 1, process.env.NODE_ENV === "production" ? J.exports = ze() : J.exports = qe()), J.exports;
|
53
54
|
}
|
54
55
|
var N = Ge();
|
55
|
-
function
|
56
|
+
function De(t) {
|
56
57
|
var e, i, n = "";
|
57
58
|
if (typeof t == "string" || typeof t == "number") n += t;
|
58
59
|
else if (typeof t == "object") if (Array.isArray(t)) {
|
59
60
|
var o = t.length;
|
60
|
-
for (e = 0; e < o; e++) t[e] && (i =
|
61
|
+
for (e = 0; e < o; e++) t[e] && (i = De(t[e])) && (n && (n += " "), n += i);
|
61
62
|
} else for (i in t) t[i] && (n && (n += " "), n += i);
|
62
63
|
return n;
|
63
64
|
}
|
64
65
|
function Ye() {
|
65
|
-
for (var t, e, i = 0, n = "", o = arguments.length; i < o; i++) (t = arguments[i]) && (e =
|
66
|
+
for (var t, e, i = 0, n = "", o = arguments.length; i < o; i++) (t = arguments[i]) && (e = De(t)) && (n && (n += " "), n += e);
|
66
67
|
return n;
|
67
68
|
}
|
68
69
|
function v(...t) {
|
@@ -76,14 +77,14 @@ const We = "_component_8nm5z_10", Ve = {
|
|
76
77
|
let i;
|
77
78
|
e[0] !== t.className ? (i = v(Ve.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
78
79
|
let n;
|
79
|
-
return e[2] !== t.disabled || e[3] !== t.onClick || e[4] !== t.text || e[5] !== i ? (n = /* @__PURE__ */
|
80
|
-
},
|
80
|
+
return e[2] !== t.disabled || e[3] !== t.onClick || e[4] !== t.text || e[5] !== i ? (n = /* @__PURE__ */ s("button", { className: i, onClick: t.onClick, "aria-label": t.text, disabled: t.disabled, type: "button", children: t.text }), e[2] = t.disabled, e[3] = t.onClick, e[4] = t.text, e[5] = i, e[6] = n) : n = e[6], n;
|
81
|
+
}, Ue = ge({
|
81
82
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
82
83
|
createMenu: (t) => {
|
83
84
|
},
|
84
85
|
destroyMenu: () => {
|
85
86
|
}
|
86
|
-
}), Xe = "_component_p0do9_10", Ze = "_button_p0do9_29",
|
87
|
+
}), Xe = "_component_p0do9_10", Ze = "_button_p0do9_29", Be = {
|
87
88
|
component: Xe,
|
88
89
|
button: Ze
|
89
90
|
}, Qe = (t) => {
|
@@ -95,56 +96,56 @@ const We = "_component_8nm5z_10", Ve = {
|
|
95
96
|
x: 0,
|
96
97
|
y: 0
|
97
98
|
}, e[0] = n) : n = e[0];
|
98
|
-
const [o, l] =
|
99
|
-
let
|
100
|
-
e[1] === Symbol.for("react.memo_cache_sentinel") ? (
|
101
|
-
const [m, d] =
|
102
|
-
let
|
103
|
-
e[2] === Symbol.for("react.memo_cache_sentinel") ? (
|
99
|
+
const [o, l] = O.useState(n), [r, c] = O.useState(!1);
|
100
|
+
let a;
|
101
|
+
e[1] === Symbol.for("react.memo_cache_sentinel") ? (a = [], e[1] = a) : a = e[1];
|
102
|
+
const [m, d] = O.useState(a), u = H(null);
|
103
|
+
let _, b;
|
104
|
+
e[2] === Symbol.for("react.memo_cache_sentinel") ? (_ = () => {
|
104
105
|
window.addEventListener("resize", () => {
|
105
106
|
c(!1);
|
106
107
|
});
|
107
|
-
},
|
108
|
-
let
|
109
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (
|
108
|
+
}, b = [], e[2] = _, e[3] = b) : (_ = e[2], b = e[3]), U(_, b);
|
109
|
+
let f;
|
110
|
+
e[4] === Symbol.for("react.memo_cache_sentinel") ? (f = {
|
110
111
|
createMenu: (w) => {
|
111
112
|
var ye, Ce;
|
112
113
|
const {
|
113
114
|
x: y,
|
114
115
|
y: p,
|
115
116
|
items: k
|
116
|
-
} = w,
|
117
|
-
let
|
118
|
-
y +
|
119
|
-
x:
|
117
|
+
} = w, $ = window.innerWidth, R = window.innerHeight, M = ((ye = u.current) == null ? void 0 : ye.getBoundingClientRect().width) || 200, V = ((Ce = u.current) == null ? void 0 : Ce.getBoundingClientRect().height) || 200;
|
118
|
+
let X = y, Z = p;
|
119
|
+
y + M >= $ && (X = $ - M), p + V >= R && (Z = R - V), l({
|
120
|
+
x: X,
|
120
121
|
y: Z
|
121
122
|
}), d(k), c(!0);
|
122
123
|
},
|
123
124
|
destroyMenu: () => {
|
124
125
|
c(!1);
|
125
126
|
}
|
126
|
-
}, e[4] =
|
127
|
-
const
|
128
|
-
let
|
129
|
-
e[5] !== o.x || e[6] !== o.y || e[7] !==
|
130
|
-
display:
|
127
|
+
}, e[4] = f) : f = e[4];
|
128
|
+
const g = r ? "flex" : "none";
|
129
|
+
let h;
|
130
|
+
e[5] !== o.x || e[6] !== o.y || e[7] !== g ? (h = {
|
131
|
+
display: g,
|
131
132
|
left: o.x,
|
132
133
|
top: o.y
|
133
|
-
}, e[5] = o.x, e[6] = o.y, e[7] =
|
134
|
+
}, e[5] = o.x, e[6] = o.y, e[7] = g, e[8] = h) : h = e[8];
|
134
135
|
let C;
|
135
136
|
e[9] !== m ? (C = m.map(Je), e[9] = m, e[10] = C) : C = e[10];
|
136
|
-
let S;
|
137
|
-
e[11] !== _ || e[12] !== C ? (S = /* @__PURE__ */ a("div", { ref: u, style: _, className: Ue.component, children: C }), e[11] = _, e[12] = C, e[13] = S) : S = e[13];
|
138
137
|
let x;
|
139
|
-
|
140
|
-
|
138
|
+
e[11] !== h || e[12] !== C ? (x = /* @__PURE__ */ s("div", { ref: u, style: h, className: Be.component, children: C }), e[11] = h, e[12] = C, e[13] = x) : x = e[13];
|
139
|
+
let S;
|
140
|
+
return e[14] !== i || e[15] !== x ? (S = /* @__PURE__ */ I(Ue.Provider, { value: f, children: [
|
141
|
+
x,
|
141
142
|
i
|
142
|
-
] }), e[14] = i, e[15] =
|
143
|
+
] }), e[14] = i, e[15] = x, e[16] = S) : S = e[16], S;
|
143
144
|
};
|
144
145
|
function Je(t) {
|
145
|
-
return /* @__PURE__ */
|
146
|
+
return /* @__PURE__ */ s(ve, { className: Be.button, text: t.label, onClick: t.onClick }, t.label);
|
146
147
|
}
|
147
|
-
function
|
148
|
+
function Ee() {
|
148
149
|
const t = window.navigator;
|
149
150
|
if (new URLSearchParams(window.location.search).has("ukmobile")) return !0;
|
150
151
|
if (t != null && t.userAgentData)
|
@@ -154,7 +155,7 @@ function Be() {
|
|
154
155
|
return navigator.userAgent.match(i) !== null;
|
155
156
|
}
|
156
157
|
}
|
157
|
-
const et = "_component_psvf3_10", tt = "_h1component_psvf3_17", nt = "_h2component_psvf3_22", ot = "_h3component_psvf3_27", it = "_h4component_psvf3_32", lt = "_h5component_psvf3_37", ct = "_h6component_psvf3_42",
|
158
|
+
const et = "_component_psvf3_10", tt = "_h1component_psvf3_17", nt = "_h2component_psvf3_22", ot = "_h3component_psvf3_27", it = "_h4component_psvf3_32", lt = "_h5component_psvf3_37", ct = "_h6component_psvf3_42", T = {
|
158
159
|
component: et,
|
159
160
|
h1component: tt,
|
160
161
|
h2component: nt,
|
@@ -162,64 +163,64 @@ const et = "_component_psvf3_10", tt = "_h1component_psvf3_17", nt = "_h2compone
|
|
162
163
|
h4component: it,
|
163
164
|
h5component: lt,
|
164
165
|
h6component: ct
|
165
|
-
},
|
166
|
-
theme:
|
167
|
-
level0:
|
166
|
+
}, rt = "_theme_nrhjz_10", st = "_level0_nrhjz_27", at = "_level1_nrhjz_95", mt = "_level2_nrhjz_157", dt = "_level3_nrhjz_221", ut = "_mobile_nrhjz_284", F = {
|
167
|
+
theme: rt,
|
168
|
+
level0: st,
|
168
169
|
level1: at,
|
169
170
|
level2: mt,
|
170
171
|
level3: dt,
|
171
172
|
mobile: ut
|
172
|
-
}, ie = ge(0),
|
173
|
+
}, ie = ge(0), z = () => ue(ie), W = (t) => {
|
173
174
|
switch (t) {
|
174
175
|
case 0:
|
175
|
-
return
|
176
|
+
return F.level0;
|
176
177
|
case 1:
|
177
|
-
return
|
178
|
+
return F.level1;
|
178
179
|
case 2:
|
179
|
-
return
|
180
|
+
return F.level2;
|
180
181
|
case 3:
|
181
|
-
return
|
182
|
+
return F.level3;
|
182
183
|
default:
|
183
|
-
return
|
184
|
+
return F.level0;
|
184
185
|
}
|
185
186
|
}, le = (t) => {
|
186
187
|
const e = N.c(36), i = ue(ie);
|
187
188
|
switch (t.level || i || 1) {
|
188
189
|
case 1: {
|
189
190
|
let n;
|
190
|
-
e[0] !== t.className ? (n = v(
|
191
|
+
e[0] !== t.className ? (n = v(T.component, T.h1component, t.className), e[0] = t.className, e[1] = n) : n = e[1];
|
191
192
|
let o;
|
192
|
-
return e[2] !== t.style || e[3] !== t.text || e[4] !== n ? (o = /* @__PURE__ */
|
193
|
+
return e[2] !== t.style || e[3] !== t.text || e[4] !== n ? (o = /* @__PURE__ */ s("h1", { className: n, style: t.style, children: t.text }), e[2] = t.style, e[3] = t.text, e[4] = n, e[5] = o) : o = e[5], o;
|
193
194
|
}
|
194
195
|
case 2: {
|
195
196
|
let n;
|
196
|
-
e[6] !== t.className ? (n = v(
|
197
|
+
e[6] !== t.className ? (n = v(T.component, T.h2component, t.className), e[6] = t.className, e[7] = n) : n = e[7];
|
197
198
|
let o;
|
198
|
-
return e[8] !== t.style || e[9] !== t.text || e[10] !== n ? (o = /* @__PURE__ */
|
199
|
+
return e[8] !== t.style || e[9] !== t.text || e[10] !== n ? (o = /* @__PURE__ */ s("h2", { className: n, style: t.style, children: t.text }), e[8] = t.style, e[9] = t.text, e[10] = n, e[11] = o) : o = e[11], o;
|
199
200
|
}
|
200
201
|
case 3: {
|
201
202
|
let n;
|
202
|
-
e[12] !== t.className ? (n = v(
|
203
|
+
e[12] !== t.className ? (n = v(T.component, T.h3component, t.className), e[12] = t.className, e[13] = n) : n = e[13];
|
203
204
|
let o;
|
204
|
-
return e[14] !== t.style || e[15] !== t.text || e[16] !== n ? (o = /* @__PURE__ */
|
205
|
+
return e[14] !== t.style || e[15] !== t.text || e[16] !== n ? (o = /* @__PURE__ */ s("h3", { className: n, style: t.style, children: t.text }), e[14] = t.style, e[15] = t.text, e[16] = n, e[17] = o) : o = e[17], o;
|
205
206
|
}
|
206
207
|
case 4: {
|
207
208
|
let n;
|
208
|
-
e[18] !== t.className ? (n = v(
|
209
|
+
e[18] !== t.className ? (n = v(T.component, T.h4component, t.className), e[18] = t.className, e[19] = n) : n = e[19];
|
209
210
|
let o;
|
210
|
-
return e[20] !== t.style || e[21] !== t.text || e[22] !== n ? (o = /* @__PURE__ */
|
211
|
+
return e[20] !== t.style || e[21] !== t.text || e[22] !== n ? (o = /* @__PURE__ */ s("h4", { className: n, style: t.style, children: t.text }), e[20] = t.style, e[21] = t.text, e[22] = n, e[23] = o) : o = e[23], o;
|
211
212
|
}
|
212
213
|
case 5: {
|
213
214
|
let n;
|
214
|
-
e[24] !== t.className ? (n = v(
|
215
|
+
e[24] !== t.className ? (n = v(T.component, T.h5component, t.className), e[24] = t.className, e[25] = n) : n = e[25];
|
215
216
|
let o;
|
216
|
-
return e[26] !== t.style || e[27] !== t.text || e[28] !== n ? (o = /* @__PURE__ */
|
217
|
+
return e[26] !== t.style || e[27] !== t.text || e[28] !== n ? (o = /* @__PURE__ */ s("h5", { className: n, style: t.style, children: t.text }), e[26] = t.style, e[27] = t.text, e[28] = n, e[29] = o) : o = e[29], o;
|
217
218
|
}
|
218
219
|
case 6: {
|
219
220
|
let n;
|
220
|
-
e[30] !== t.className ? (n = v(
|
221
|
+
e[30] !== t.className ? (n = v(T.component, T.h6component, t.className), e[30] = t.className, e[31] = n) : n = e[31];
|
221
222
|
let o;
|
222
|
-
return e[32] !== t.style || e[33] !== t.text || e[34] !== n ? (o = /* @__PURE__ */
|
223
|
+
return e[32] !== t.style || e[33] !== t.text || e[34] !== n ? (o = /* @__PURE__ */ s("h6", { className: n, style: t.style, children: t.text }), e[32] = t.style, e[33] = t.text, e[34] = n, e[35] = o) : o = e[35], o;
|
223
224
|
}
|
224
225
|
}
|
225
226
|
}, ft = "_component_18a56_10", ht = "_row_18a56_16", _t = "_disableMargin_18a56_22", gt = "_column_18a56_28", _e = {
|
@@ -232,38 +233,38 @@ const et = "_component_psvf3_10", tt = "_h1component_psvf3_17", nt = "_h2compone
|
|
232
233
|
let o;
|
233
234
|
e[0] !== t.className || e[1] !== i || e[2] !== n ? (o = v(_e.component, i, n, t.className), e[0] = t.className, e[1] = i, e[2] = n, e[3] = o) : o = e[3];
|
234
235
|
let l;
|
235
|
-
return e[4] !== t.style || e[5] !== o ? (l = /* @__PURE__ */
|
236
|
+
return e[4] !== t.style || e[5] !== o ? (l = /* @__PURE__ */ s("div", { className: o, style: t.style }), e[4] = t.style, e[5] = o, e[6] = l) : l = e[6], l;
|
236
237
|
}, ne = (t) => {
|
237
|
-
const e = N.c(3), n =
|
238
|
+
const e = N.c(3), n = z() + 1;
|
238
239
|
let o;
|
239
|
-
return e[0] !== t.children || e[1] !== n ? (o = /* @__PURE__ */
|
240
|
+
return e[0] !== t.children || e[1] !== n ? (o = /* @__PURE__ */ s(ie.Provider, { value: n, children: t.children }), e[0] = t.children, e[1] = n, e[2] = o) : o = e[2], o;
|
240
241
|
}, vt = "_component_erxw3_10", bt = {
|
241
242
|
component: vt
|
242
243
|
}, ee = (t) => {
|
243
|
-
const e = t.level ||
|
244
|
-
return /* @__PURE__ */
|
245
|
-
}, yt = "_component_173cg_10", Ct = "_clickable_173cg_25", Nt = "_header_173cg_52", pt = "_actions_173cg_59", xt = "_content_173cg_67",
|
244
|
+
const e = t.level || z();
|
245
|
+
return /* @__PURE__ */ s("div", { className: v(bt.component, t.className, W(e)), style: t.style, children: /* @__PURE__ */ s(ne, { children: t.children }) });
|
246
|
+
}, yt = "_component_173cg_10", Ct = "_clickable_173cg_25", Nt = "_header_173cg_52", pt = "_actions_173cg_59", xt = "_content_173cg_67", B = {
|
246
247
|
component: yt,
|
247
248
|
clickable: Ct,
|
248
249
|
header: Nt,
|
249
250
|
actions: pt,
|
250
251
|
content: xt
|
251
252
|
}, St = (t) => {
|
252
|
-
const e = N.c(3), n =
|
253
|
+
const e = N.c(3), n = z() - 1;
|
253
254
|
let o;
|
254
|
-
return e[0] !== t.children || e[1] !== n ? (o = /* @__PURE__ */
|
255
|
+
return e[0] !== t.children || e[1] !== n ? (o = /* @__PURE__ */ s(ie.Provider, { value: n, children: t.children }), e[0] = t.children, e[1] = n, e[2] = o) : o = e[2], o;
|
255
256
|
}, ce = (t) => {
|
256
|
-
const e = t.level ||
|
257
|
-
return t.onClick ? /* @__PURE__ */
|
258
|
-
t.header && /* @__PURE__ */
|
259
|
-
/* @__PURE__ */
|
260
|
-
t.actions && /* @__PURE__ */
|
261
|
-
] }) }) }) : /* @__PURE__ */
|
262
|
-
t.header && /* @__PURE__ */
|
263
|
-
/* @__PURE__ */
|
264
|
-
/* @__PURE__ */
|
257
|
+
const e = t.level || z();
|
258
|
+
return t.onClick ? /* @__PURE__ */ s(A, { children: /* @__PURE__ */ s(ne, { children: /* @__PURE__ */ I("button", { style: t.style, className: v(B.component, W(e), t.containerClassName, B.clickable), onClick: t.onClick, children: [
|
259
|
+
t.header && /* @__PURE__ */ s(ee, { className: v(B.header, t.headerClassName), children: t.header }),
|
260
|
+
/* @__PURE__ */ s("div", { className: v(B.content, t.className), children: t.children }),
|
261
|
+
t.actions && /* @__PURE__ */ s(ee, { className: v(B.actions, t.actionsClassName), children: t.actions })
|
262
|
+
] }) }) }) : /* @__PURE__ */ s(A, { children: /* @__PURE__ */ s(ne, { children: /* @__PURE__ */ I("div", { style: t.style, className: v(B.component, W(e), t.containerClassName), children: [
|
263
|
+
t.header && /* @__PURE__ */ s(ee, { className: v(B.header, t.headerClassName), children: t.header }),
|
264
|
+
/* @__PURE__ */ s("div", { className: v(B.content, t.className), children: t.children }),
|
265
|
+
/* @__PURE__ */ s(St, { children: t.actions && /* @__PURE__ */ s(ee, { className: v(B.actions, t.actionsClassName), children: t.actions }) })
|
265
266
|
] }) }) });
|
266
|
-
},
|
267
|
+
}, K = {
|
267
268
|
Accessibility: () => import("./accessibility-16-uva4fZex.js"),
|
268
269
|
AccessibilityInset: () => import("./accessibility-inset-16-DWzB3IjG.js"),
|
269
270
|
Alert: () => import("./alert-16-DwAQwyBK.js"),
|
@@ -551,11 +552,11 @@ const et = "_component_psvf3_10", tt = "_h1component_psvf3_17", nt = "_h2compone
|
|
551
552
|
}, kt = "_component_15phv_6", wt = "_preserveColor_15phv_22", Se = {
|
552
553
|
component: kt,
|
553
554
|
preserveColor: wt
|
554
|
-
},
|
555
|
+
}, Oe = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%2012C3.11929%2012%202%2010.8807%202%209.5C2%208.27003%202.88822%207.24752%204.05823%207.03891C4.0201%206.86534%204%206.68502%204%206.5C4%205.11929%205.11929%204%206.5%204C7.74358%204%208.77509%204.908%208.96772%206.09719C9.13314%206.03438%209.31255%206%209.5%206C10.1768%206%2010.7489%206.4482%2010.9356%207.06396C11.117%207.02212%2011.3059%207%2011.5%207C12.8807%207%2014%208.11929%2014%209.5C14%2010.8807%2012.8807%2012%2011.5%2012H4.5ZM7.56111%207.81633L7.68889%209.63946H8.31111L8.43889%207.81633V7H7.56111V7.81633ZM7.61111%2010.8966C7.68889%2010.9655%207.79074%2011%207.91667%2011H8.07778C8.20741%2011%208.30926%2010.9655%208.38333%2010.8966C8.46111%2010.8277%208.5%2010.7351%208.5%2010.619C8.5%2010.5029%208.46111%2010.4104%208.38333%2010.3415C8.30926%2010.2726%208.20926%2010.2381%208.08333%2010.2381H7.91667C7.79074%2010.2381%207.68889%2010.2726%207.61111%2010.3415C7.53704%2010.4104%207.5%2010.5029%207.5%2010.619C7.5%2010.7315%207.53704%2010.824%207.61111%2010.8966Z'%20fill='white'/%3e%3c/svg%3e", $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
555
556
|
__proto__: null,
|
556
|
-
default:
|
557
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
558
|
-
const e = N.c(14), [i, n] =
|
557
|
+
default: Oe
|
558
|
+
}, Symbol.toStringTag, { value: "Module" })), re = (t) => {
|
559
|
+
const e = N.c(14), [i, n] = L(Oe);
|
559
560
|
let o;
|
560
561
|
e[0] !== t ? (o = () => {
|
561
562
|
typeof t.icon == "function" && t.icon().then((u) => {
|
@@ -563,43 +564,43 @@ const et = "_component_psvf3_10", tt = "_h1component_psvf3_17", nt = "_h2compone
|
|
563
564
|
});
|
564
565
|
}, e[0] = t, e[1] = o) : o = e[1];
|
565
566
|
let l;
|
566
|
-
e[2] !== t.icon ? (l = [t.icon], e[2] = t.icon, e[3] = l) : l = e[3],
|
567
|
-
const
|
568
|
-
let
|
569
|
-
e[4] !== t.color || e[5] !== t.preserveColor ? (
|
567
|
+
e[2] !== t.icon ? (l = [t.icon], e[2] = t.icon, e[3] = l) : l = e[3], U(o, l);
|
568
|
+
const r = `${Se.component} ${t.className} ${t.preserveColor ? Se.preserveColor : ""}`, c = `url("${i}")`;
|
569
|
+
let a;
|
570
|
+
e[4] !== t.color || e[5] !== t.preserveColor ? (a = t.preserveColor ? {} : {
|
570
571
|
"--color": t.color
|
571
|
-
}, e[4] = t.color, e[5] = t.preserveColor, e[6] =
|
572
|
+
}, e[4] = t.color, e[5] = t.preserveColor, e[6] = a) : a = e[6];
|
572
573
|
let m;
|
573
|
-
e[7] !== t.size || e[8] !== c || e[9] !==
|
574
|
+
e[7] !== t.size || e[8] !== c || e[9] !== a ? (m = {
|
574
575
|
"--icon": c,
|
575
|
-
...
|
576
|
+
...a,
|
576
577
|
"--size": t.size
|
577
|
-
}, e[7] = t.size, e[8] = c, e[9] =
|
578
|
+
}, e[7] = t.size, e[8] = c, e[9] = a, e[10] = m) : m = e[10];
|
578
579
|
let d;
|
579
|
-
return e[11] !==
|
580
|
+
return e[11] !== r || e[12] !== m ? (d = /* @__PURE__ */ s("div", { className: r, style: m }), e[11] = r, e[12] = m, e[13] = d) : d = e[13], d;
|
580
581
|
}, It = "_component_1g3hh_10", Rt = {
|
581
582
|
component: It
|
582
583
|
}, oe = (t) => {
|
583
584
|
const e = N.c(11), i = t.style, n = t.onClick, o = t.accessibleLabel;
|
584
585
|
let l;
|
585
586
|
e[0] !== t.className ? (l = v(Rt.component, t.className), e[0] = t.className, e[1] = l) : l = e[1];
|
586
|
-
let
|
587
|
-
e[2] !== t.icon || e[3] !== t.preserveColor ? (
|
587
|
+
let r;
|
588
|
+
e[2] !== t.icon || e[3] !== t.preserveColor ? (r = /* @__PURE__ */ s(re, { size: "1.25rem", preserveColor: t.preserveColor, icon: t.icon }), e[2] = t.icon, e[3] = t.preserveColor, e[4] = r) : r = e[4];
|
588
589
|
let c;
|
589
|
-
return e[5] !== t.accessibleLabel || e[6] !== t.onClick || e[7] !== t.style || e[8] !== l || e[9] !==
|
590
|
+
return e[5] !== t.accessibleLabel || e[6] !== t.onClick || e[7] !== t.style || e[8] !== l || e[9] !== r ? (c = /* @__PURE__ */ s("button", { style: i, onClick: n, "aria-label": o, className: l, children: r }), e[5] = t.accessibleLabel, e[6] = t.onClick, e[7] = t.style, e[8] = l, e[9] = r, e[10] = c) : c = e[10], c;
|
590
591
|
}, Tt = "_component_125pe_10", Pt = {
|
591
592
|
component: Tt
|
592
|
-
},
|
593
|
+
}, Y = (t) => {
|
593
594
|
const e = N.c(6);
|
594
595
|
let i;
|
595
596
|
e[0] !== t.className ? (i = v(Pt.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
596
597
|
let n;
|
597
|
-
return e[2] !== t.style || e[3] !== t.text || e[4] !== i ? (n = /* @__PURE__ */
|
598
|
-
},
|
598
|
+
return e[2] !== t.style || e[3] !== t.text || e[4] !== i ? (n = /* @__PURE__ */ s("div", { className: i, style: t.style, children: t.text }), e[2] = t.style, e[3] = t.text, e[4] = i, e[5] = n) : n = e[5], n;
|
599
|
+
}, Me = O.createContext({
|
599
600
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
600
601
|
showToast: (t) => {
|
601
602
|
}
|
602
|
-
}), Lt = "_container_1wk2b_6", Dt = "_component_1wk2b_20", Ut = "_cardContent_1wk2b_34", Bt = "_success_1wk2b_42", Et = "_error_1wk2b_46", Ot = "_warning_1wk2b_50", Mt = "_info_1wk2b_54", Ft = "_heading_1wk2b_58", Kt = "_pointerEvents_1wk2b_64",
|
603
|
+
}), Lt = "_container_1wk2b_6", Dt = "_component_1wk2b_20", Ut = "_cardContent_1wk2b_34", Bt = "_success_1wk2b_42", Et = "_error_1wk2b_46", Ot = "_warning_1wk2b_50", Mt = "_info_1wk2b_54", Ft = "_heading_1wk2b_58", Kt = "_pointerEvents_1wk2b_64", j = {
|
603
604
|
container: Lt,
|
604
605
|
component: Dt,
|
605
606
|
cardContent: Ut,
|
@@ -610,7 +611,7 @@ const et = "_component_psvf3_10", tt = "_h1component_psvf3_17", nt = "_h2compone
|
|
610
611
|
heading: Ft,
|
611
612
|
pointerEvents: Kt
|
612
613
|
};
|
613
|
-
function
|
614
|
+
function Fe() {
|
614
615
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
|
615
616
|
const e = Math.random() * 16 | 0;
|
616
617
|
return (t == "x" ? e : e & 3 | 8).toString(16);
|
@@ -622,51 +623,51 @@ const ke = 5e3, jt = (t) => {
|
|
622
623
|
} = t;
|
623
624
|
let n;
|
624
625
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = [], e[0] = n) : n = e[0];
|
625
|
-
const [o, l] =
|
626
|
-
let
|
627
|
-
e[1] === Symbol.for("react.memo_cache_sentinel") ? (
|
626
|
+
const [o, l] = L(n);
|
627
|
+
let r;
|
628
|
+
e[1] === Symbol.for("react.memo_cache_sentinel") ? (r = {
|
628
629
|
showToast: (d) => {
|
629
|
-
const u =
|
630
|
-
l((
|
630
|
+
const u = Fe();
|
631
|
+
l((_) => [..._, {
|
631
632
|
...d,
|
632
633
|
uuid: u,
|
633
634
|
animatingOut: !1
|
634
635
|
}]), d.persist || (setTimeout(() => {
|
635
|
-
l((
|
636
|
-
...
|
636
|
+
l((_) => _.map((b) => u === b.uuid ? {
|
637
|
+
...b,
|
637
638
|
animatingOut: !0
|
638
|
-
} :
|
639
|
+
} : b));
|
639
640
|
}, ke - 500), setTimeout(() => {
|
640
|
-
l((
|
641
|
+
l((_) => _.filter((b) => b.uuid !== u));
|
641
642
|
}, ke));
|
642
643
|
}
|
643
|
-
}, e[1] =
|
644
|
+
}, e[1] = r) : r = e[1];
|
644
645
|
let c;
|
645
646
|
if (e[2] !== o) {
|
646
647
|
let d;
|
647
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (d = (u) => /* @__PURE__ */
|
648
|
-
/* @__PURE__ */
|
649
|
-
/* @__PURE__ */
|
650
|
-
/* @__PURE__ */
|
648
|
+
e[4] === Symbol.for("react.memo_cache_sentinel") ? (d = (u) => /* @__PURE__ */ I(ce, { actions: u.persist ? /* @__PURE__ */ s(oe, { accessibleLabel: "Close toasts", icon: K.X, onClick: () => l((_) => _.filter((b) => b.uuid !== u.uuid)) }) : null, className: v(j.cardContent, u.type && j[u.type]), containerClassName: v(j.component, u.persist && j.pointerEvents, u.animatingOut ? "animate__animated animate__fadeOutRightBig" : "animate__animated animate__fadeInDown"), children: [
|
649
|
+
/* @__PURE__ */ s(le, { className: j.heading, level: 3, text: u.content.title }),
|
650
|
+
/* @__PURE__ */ s(de, { direction: "column" }),
|
651
|
+
/* @__PURE__ */ s(Y, { className: j.body, text: u.content.body })
|
651
652
|
] }, u.uuid), e[4] = d) : d = e[4], c = o.map(d), e[2] = o, e[3] = c;
|
652
653
|
} else
|
653
654
|
c = e[3];
|
654
|
-
let
|
655
|
-
e[5] !== c ? (
|
655
|
+
let a;
|
656
|
+
e[5] !== c ? (a = /* @__PURE__ */ s("div", { className: j.container, children: c }), e[5] = c, e[6] = a) : a = e[6];
|
656
657
|
let m;
|
657
|
-
return e[7] !== i || e[8] !==
|
658
|
-
|
658
|
+
return e[7] !== i || e[8] !== a ? (m = /* @__PURE__ */ I(Me.Provider, { value: r, children: [
|
659
|
+
a,
|
659
660
|
i
|
660
|
-
] }), e[7] = i, e[8] =
|
661
|
-
},
|
661
|
+
] }), e[7] = i, e[8] = a, e[9] = m) : m = e[9], m;
|
662
|
+
}, Io = (t) => {
|
662
663
|
const e = N.c(3);
|
663
664
|
let i;
|
664
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = v(
|
665
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = v(F.theme, F.level0, Ee() && F.mobile), e[0] = i) : i = e[0];
|
665
666
|
let n;
|
666
|
-
return e[1] !== t.children ? (n = /* @__PURE__ */
|
667
|
+
return e[1] !== t.children ? (n = /* @__PURE__ */ s("div", { className: i, children: /* @__PURE__ */ s(Qe, { children: /* @__PURE__ */ s(jt, { children: /* @__PURE__ */ s(ie.Provider, { value: 0, children: t.children }) }) }) }), e[1] = t.children, e[2] = n) : n = e[2], n;
|
667
668
|
};
|
668
|
-
function
|
669
|
-
const t = N.c(2), e =
|
669
|
+
function Ro() {
|
670
|
+
const t = N.c(2), e = O.useContext(Me);
|
670
671
|
let i;
|
671
672
|
return t[0] !== e ? (i = {
|
672
673
|
create(n) {
|
@@ -677,15 +678,15 @@ function $o() {
|
|
677
678
|
function At(t) {
|
678
679
|
return t * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
679
680
|
}
|
680
|
-
const
|
681
|
+
const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
681
682
|
__proto__: null,
|
682
683
|
clippy: v,
|
683
|
-
generateUUID:
|
684
|
-
isPhone:
|
684
|
+
generateUUID: Fe,
|
685
|
+
isPhone: Ee,
|
685
686
|
remToPx: At
|
686
687
|
}, Symbol.toStringTag, { value: "Module" })), Ht = "_component_7kjva_6", zt = {
|
687
688
|
component: Ht
|
688
|
-
},
|
689
|
+
}, Po = (t) => {
|
689
690
|
const e = N.c(5), {
|
690
691
|
children: i,
|
691
692
|
className: n
|
@@ -693,224 +694,221 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
693
694
|
let o;
|
694
695
|
e[0] !== n ? (o = v(zt.component, n), e[0] = n, e[1] = o) : o = e[1];
|
695
696
|
let l;
|
696
|
-
return e[2] !== i || e[3] !== o ? (l = /* @__PURE__ */
|
697
|
+
return e[2] !== i || e[3] !== o ? (l = /* @__PURE__ */ s("div", { className: o, children: i }), e[2] = i, e[3] = o, e[4] = l) : l = e[4], l;
|
697
698
|
}, qt = "_component_gvwt1_10", Gt = "_link_gvwt1_45", Yt = {
|
698
699
|
component: qt,
|
699
700
|
link: Gt
|
700
|
-
},
|
701
|
-
const e = N.c(
|
702
|
-
|
703
|
-
|
704
|
-
|
701
|
+
}, Lo = (t) => {
|
702
|
+
const e = N.c(8);
|
703
|
+
Pe();
|
704
|
+
const i = t.to, n = t.text;
|
705
|
+
let o;
|
706
|
+
e[0] !== t.className ? (o = v(Yt.component, t.className), e[0] = t.className, e[1] = o) : o = e[1];
|
705
707
|
let l;
|
706
|
-
e[
|
707
|
-
let
|
708
|
-
return e[5] !== t.
|
709
|
-
}
|
710
|
-
|
711
|
-
|
712
|
-
|
708
|
+
e[2] !== t.text || e[3] !== o ? (l = /* @__PURE__ */ s(ve, { onClick: Wt, text: n, className: o }), e[2] = t.text, e[3] = o, e[4] = l) : l = e[4];
|
709
|
+
let r;
|
710
|
+
return e[5] !== t.to || e[6] !== l ? (r = /* @__PURE__ */ s(Le, { to: i, children: l }), e[5] = t.to, e[6] = l, e[7] = r) : r = e[7], r;
|
711
|
+
};
|
712
|
+
function Wt() {
|
713
|
+
}
|
714
|
+
const Vt = "_component_11sed_10", Xt = "_icon_11sed_49", we = {
|
715
|
+
component: Vt,
|
716
|
+
icon: Xt
|
717
|
+
}, Zt = (t) => {
|
713
718
|
const e = N.c(10);
|
714
719
|
let i;
|
715
720
|
e[0] !== t.className ? (i = v(we.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
716
721
|
let n;
|
717
|
-
e[2] !== t.icon ? (n = /* @__PURE__ */
|
722
|
+
e[2] !== t.icon ? (n = /* @__PURE__ */ s(re, { size: "1.25rem", className: we.icon, icon: t.icon }), e[2] = t.icon, e[3] = n) : n = e[3];
|
718
723
|
let o;
|
719
|
-
return e[4] !== t.disabled || e[5] !== t.onClick || e[6] !== t.text || e[7] !== i || e[8] !== n ? (o = /* @__PURE__ */
|
724
|
+
return e[4] !== t.disabled || e[5] !== t.onClick || e[6] !== t.text || e[7] !== i || e[8] !== n ? (o = /* @__PURE__ */ I("button", { className: i, onClick: t.onClick, "aria-label": t.text, disabled: t.disabled, children: [
|
720
725
|
n,
|
721
726
|
t.text
|
722
727
|
] }), e[4] = t.disabled, e[5] = t.onClick, e[6] = t.text, e[7] = i, e[8] = n, e[9] = o) : o = e[9], o;
|
723
|
-
},
|
724
|
-
component:
|
725
|
-
disableRounding:
|
726
|
-
},
|
727
|
-
const e = t.level ||
|
728
|
-
return /* @__PURE__ */
|
729
|
-
},
|
728
|
+
}, Qt = "_component_194wg_10", Jt = "_disableRounding_194wg_23", $e = {
|
729
|
+
component: Qt,
|
730
|
+
disableRounding: Jt
|
731
|
+
}, en = (t) => {
|
732
|
+
const e = t.level || z();
|
733
|
+
return /* @__PURE__ */ s("div", { className: v($e.component, t.className, t.disableRounding && $e.disableRounding, W(e)), style: t.style, children: /* @__PURE__ */ s(ne, { children: t.children }) });
|
734
|
+
}, Do = (t) => {
|
730
735
|
const e = N.c(4), {
|
731
736
|
items: i,
|
732
737
|
children: n,
|
733
738
|
className: o
|
734
739
|
} = t;
|
735
740
|
let l;
|
736
|
-
return e[0] !== n || e[1] !== o || e[2] !== i ? (l = /* @__PURE__ */
|
741
|
+
return e[0] !== n || e[1] !== o || e[2] !== i ? (l = /* @__PURE__ */ s(Ue.Consumer, { children: (r) => /* @__PURE__ */ s("div", { className: o, onContextMenu: (c) => {
|
737
742
|
c.stopPropagation(), c.preventDefault();
|
738
|
-
const
|
739
|
-
|
743
|
+
const a = c.currentTarget.getBoundingClientRect();
|
744
|
+
r.createMenu({
|
740
745
|
x: c.pageX,
|
741
746
|
y: c.pageY,
|
742
|
-
width:
|
743
|
-
height:
|
747
|
+
width: a.width,
|
748
|
+
height: a.height,
|
744
749
|
items: i
|
745
750
|
});
|
746
751
|
const m = (d) => {
|
747
|
-
d.preventDefault(),
|
752
|
+
d.preventDefault(), r.destroyMenu(), window.removeEventListener("click", m), window.removeEventListener("contextmenu", m);
|
748
753
|
};
|
749
754
|
window.addEventListener("click", m), window.addEventListener("contextmenu", m);
|
750
755
|
}, children: n }) }), e[0] = n, e[1] = o, e[2] = i, e[3] = l) : l = e[3], l;
|
751
|
-
},
|
752
|
-
component:
|
753
|
-
row:
|
754
|
-
column:
|
755
|
-
centerHorizontally:
|
756
|
-
centerVertically:
|
757
|
-
padding:
|
756
|
+
}, tn = "_component_eathd_10", nn = "_row_eathd_15", on = "_column_eathd_19", ln = "_centerHorizontally_eathd_23", cn = "_centerVertically_eathd_27", rn = "_padding_eathd_31", Q = {
|
757
|
+
component: tn,
|
758
|
+
row: nn,
|
759
|
+
column: on,
|
760
|
+
centerHorizontally: ln,
|
761
|
+
centerVertically: cn,
|
762
|
+
padding: rn
|
758
763
|
}, te = (t) => {
|
759
|
-
const e = N.c(11), i = t.ref, n = t.style, o = Q[t.direction], l = t.centerHorizontally && Q.centerHorizontally,
|
760
|
-
let
|
761
|
-
e[0] !== t.className || e[1] !== o || e[2] !== l || e[3] !==
|
764
|
+
const e = N.c(11), i = t.ref, n = t.style, o = Q[t.direction], l = t.centerHorizontally && Q.centerHorizontally, r = t.centerVertically && Q.centerVertically, c = t.padding && Q.padding;
|
765
|
+
let a;
|
766
|
+
e[0] !== t.className || e[1] !== o || e[2] !== l || e[3] !== r || e[4] !== c ? (a = v(Q.component, o, t.className, l, r, c), e[0] = t.className, e[1] = o, e[2] = l, e[3] = r, e[4] = c, e[5] = a) : a = e[5];
|
762
767
|
let m;
|
763
|
-
return e[6] !== t.children || e[7] !== t.ref || e[8] !== t.style || e[9] !==
|
764
|
-
}, sn = "_componentContainer_nblot_10",
|
768
|
+
return e[6] !== t.children || e[7] !== t.ref || e[8] !== t.style || e[9] !== a ? (m = /* @__PURE__ */ s("div", { ref: i, style: n, className: a, children: t.children }), e[6] = t.children, e[7] = t.ref, e[8] = t.style, e[9] = a, e[10] = m) : m = e[10], m;
|
769
|
+
}, sn = "_componentContainer_nblot_10", an = "_component_nblot_10", mn = "_noRounding_nblot_28", dn = "_loading_nblot_32", un = "_serverError_nblot_47", fn = "_fail_nblot_1", q = {
|
765
770
|
componentContainer: sn,
|
766
|
-
component:
|
767
|
-
noRounding:
|
768
|
-
loading:
|
769
|
-
serverError:
|
770
|
-
fail:
|
771
|
-
},
|
772
|
-
const e = N.c(
|
773
|
-
let
|
774
|
-
e[0]
|
775
|
-
|
776
|
-
|
777
|
-
let r;
|
778
|
-
e[1] !== t.src ? (r = [t.src], e[1] = t.src, e[2] = r) : r = e[2], B(c, r);
|
779
|
-
const m = t.onClick, d = !n && Y.loading, u = l && Y.serverError;
|
780
|
-
let f;
|
781
|
-
e[3] !== t.containerClassName || e[4] !== d || e[5] !== u ? (f = v(Y.componentContainer, t.containerClassName, d, u), e[3] = t.containerClassName, e[4] = d, e[5] = u, e[6] = f) : f = e[6];
|
782
|
-
let g;
|
783
|
-
e[7] !== t.style ? (g = {
|
771
|
+
component: an,
|
772
|
+
noRounding: mn,
|
773
|
+
loading: dn,
|
774
|
+
serverError: un,
|
775
|
+
fail: fn
|
776
|
+
}, hn = (t) => {
|
777
|
+
const e = N.c(32), i = z(), [n, o] = L(!0), [l, r] = L(!1), c = t.onClick, a = !n && q.loading, m = l && q.serverError;
|
778
|
+
let d;
|
779
|
+
e[0] !== t.containerClassName || e[1] !== a || e[2] !== m ? (d = v(q.componentContainer, t.containerClassName, a, m), e[0] = t.containerClassName, e[1] = a, e[2] = m, e[3] = d) : d = e[3];
|
780
|
+
let u;
|
781
|
+
e[4] !== t.style ? (u = {
|
784
782
|
...t.style
|
785
|
-
}, e[
|
786
|
-
const
|
783
|
+
}, e[4] = t.style, e[5] = u) : u = e[5];
|
784
|
+
const _ = W(i), b = n && q.loaded, f = t.noRounding && q.noRounding;
|
785
|
+
let g;
|
786
|
+
e[6] !== t.className || e[7] !== _ || e[8] !== b || e[9] !== f ? (g = v(q.component, _, t.className, b, f), e[6] = t.className, e[7] = _, e[8] = b, e[9] = f, e[10] = g) : g = e[10];
|
787
|
+
const h = l ? 0 : 1;
|
787
788
|
let C;
|
788
|
-
e[
|
789
|
-
|
789
|
+
e[11] !== h ? (C = {
|
790
|
+
opacity: h
|
791
|
+
}, e[11] = h, e[12] = C) : C = e[12];
|
790
792
|
let x;
|
791
|
-
e[
|
792
|
-
|
793
|
-
}, e[
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
e[
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
793
|
+
e[13] === Symbol.for("react.memo_cache_sentinel") ? (x = () => {
|
794
|
+
r(!0);
|
795
|
+
}, e[13] = x) : x = e[13];
|
796
|
+
const S = t.disableLazyLoading ? "eager" : "lazy";
|
797
|
+
let w, y;
|
798
|
+
e[14] === Symbol.for("react.memo_cache_sentinel") ? (w = (M) => {
|
799
|
+
o(M.currentTarget.complete);
|
800
|
+
}, y = () => {
|
801
|
+
o(!1), r(!1);
|
802
|
+
}, e[14] = w, e[15] = y) : (w = e[14], y = e[15]);
|
803
|
+
const p = t.src ?? "/assets/branding/yourdash256.png";
|
804
|
+
let k;
|
805
|
+
e[16] !== t.accessibleLabel || e[17] !== t.height || e[18] !== t.width || e[19] !== C || e[20] !== S || e[21] !== p || e[22] !== g ? (k = /* @__PURE__ */ s("img", { className: g, style: C, draggable: !1, width: t.width, height: t.height, onError: x, loading: S, alt: t.accessibleLabel, onLoad: w, onLoadStart: y, src: p }), e[16] = t.accessibleLabel, e[17] = t.height, e[18] = t.width, e[19] = C, e[20] = S, e[21] = p, e[22] = g, e[23] = k) : k = e[23];
|
806
|
+
let $;
|
807
|
+
e[24] !== l ? ($ = l && /* @__PURE__ */ s(re, { icon: K.ServerError }), e[24] = l, e[25] = $) : $ = e[25];
|
806
808
|
let R;
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
] }), e[29] = t.onClick, e[30] = R, e[31] = T, e[32] = f, e[33] = g, e[34] = E) : E = e[34], E;
|
815
|
-
}, Fe = je(fn), hn = "_component_7iu6s_10", Ie = {
|
816
|
-
component: hn
|
817
|
-
}, Lo = (t) => {
|
809
|
+
return e[26] !== t.onClick || e[27] !== k || e[28] !== $ || e[29] !== d || e[30] !== u ? (R = /* @__PURE__ */ I("div", { onClick: c, className: d, style: u, children: [
|
810
|
+
k,
|
811
|
+
$
|
812
|
+
] }), e[26] = t.onClick, e[27] = k, e[28] = $, e[29] = d, e[30] = u, e[31] = R) : R = e[31], R;
|
813
|
+
}, Ke = Ae(hn), _n = "_component_7iu6s_10", Ie = {
|
814
|
+
component: _n
|
815
|
+
}, Uo = (t) => {
|
818
816
|
const e = N.c(10), i = t.to;
|
819
817
|
let n;
|
820
818
|
e[0] !== t.className ? (n = v(Ie.component, t.className), e[0] = t.className, e[1] = n) : n = e[1];
|
821
819
|
let o;
|
822
|
-
e[2] !== t.children || e[3] !== t.hideLinkIcon || e[4] !== t.text ? (o = t.children ? t.children : /* @__PURE__ */
|
820
|
+
e[2] !== t.children || e[3] !== t.hideLinkIcon || e[4] !== t.text ? (o = t.children ? t.children : /* @__PURE__ */ I(A, { children: [
|
823
821
|
t.text,
|
824
|
-
!t.hideLinkIcon && /* @__PURE__ */
|
822
|
+
!t.hideLinkIcon && /* @__PURE__ */ s(re, { icon: K.Link, className: Ie.icon })
|
825
823
|
] }), e[2] = t.children, e[3] = t.hideLinkIcon, e[4] = t.text, e[5] = o) : o = e[5];
|
826
824
|
let l;
|
827
|
-
return e[6] !== t.to || e[7] !== n || e[8] !== o ? (l = /* @__PURE__ */
|
828
|
-
},
|
825
|
+
return e[6] !== t.to || e[7] !== n || e[8] !== o ? (l = /* @__PURE__ */ s(Le, { to: i, viewTransition: !0, className: n, children: o }), e[6] = t.to, e[7] = n, e[8] = o, e[9] = l) : l = e[9], l;
|
826
|
+
}, Bo = (t) => {
|
829
827
|
const e = N.c(7), {
|
830
828
|
maxValue: i,
|
831
829
|
value: n,
|
832
830
|
className: o,
|
833
831
|
indeterminate: l
|
834
832
|
} = t;
|
835
|
-
let s;
|
836
|
-
e[0] !== o || e[1] !== i || e[2] !== n ? (s = /* @__PURE__ */ a("progress", { max: i, value: n, className: o }), e[0] = o, e[1] = i, e[2] = n, e[3] = s) : s = e[3];
|
837
|
-
const c = l && "This should be indeterminate";
|
838
833
|
let r;
|
839
|
-
|
840
|
-
|
834
|
+
e[0] !== o || e[1] !== i || e[2] !== n ? (r = /* @__PURE__ */ s("progress", { max: i, value: n, className: o }), e[0] = o, e[1] = i, e[2] = n, e[3] = r) : r = e[3];
|
835
|
+
const c = l && "This should be indeterminate";
|
836
|
+
let a;
|
837
|
+
return e[4] !== r || e[5] !== c ? (a = /* @__PURE__ */ I(A, { children: [
|
838
|
+
r,
|
841
839
|
c
|
842
|
-
] }), e[4] =
|
843
|
-
},
|
840
|
+
] }), e[4] = r, e[5] = c, e[6] = a) : a = e[6], a;
|
841
|
+
}, Eo = (t) => {
|
844
842
|
const e = N.c(2), i = Pe();
|
845
843
|
t.to !== null && i(t.to);
|
846
844
|
const n = `Redirecting to ${t.to}`;
|
847
845
|
let o;
|
848
|
-
return e[0] !== n ? (o = /* @__PURE__ */
|
849
|
-
},
|
850
|
-
component:
|
851
|
-
container:
|
852
|
-
infiniteSpin:
|
853
|
-
spinnerBack:
|
854
|
-
spinnerBorder:
|
855
|
-
spinnerCutoutContainer:
|
856
|
-
spinnerCutout:
|
857
|
-
spinnerCutoutOne:
|
858
|
-
spinnerCutoutTwo:
|
859
|
-
},
|
846
|
+
return e[0] !== n ? (o = /* @__PURE__ */ s(ce, { children: /* @__PURE__ */ s(Y, { text: n }) }), e[0] = n, e[1] = o) : o = e[1], o;
|
847
|
+
}, gn = "_component_7t5t1_6", vn = "_container_7t5t1_17", bn = "_infiniteSpin_7t5t1_1", yn = "_spinnerBack_7t5t1_26", Cn = "_spinnerBorder_7t5t1_37", Nn = "_spinnerCutoutContainer_7t5t1_48", pn = "_spinnerCutout_7t5t1_48", xn = "_spinnerCutoutOne_7t5t1_65", Sn = "_spinnerCutoutTwo_7t5t1_70", E = {
|
848
|
+
component: gn,
|
849
|
+
container: vn,
|
850
|
+
infiniteSpin: bn,
|
851
|
+
spinnerBack: yn,
|
852
|
+
spinnerBorder: Cn,
|
853
|
+
spinnerCutoutContainer: Nn,
|
854
|
+
spinnerCutout: pn,
|
855
|
+
spinnerCutoutOne: xn,
|
856
|
+
spinnerCutoutTwo: Sn
|
857
|
+
}, Oo = (t) => {
|
860
858
|
const e = N.c(5);
|
861
859
|
let i, n;
|
862
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */
|
860
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ s("div", { className: E.spinnerBorder }), n = /* @__PURE__ */ s("div", { className: E.spinnerBack }), e[0] = i, e[1] = n) : (i = e[0], n = e[1]);
|
863
861
|
let o;
|
864
|
-
e[2] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */
|
862
|
+
e[2] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ I("section", { className: E.container, children: [
|
865
863
|
i,
|
866
864
|
n,
|
867
|
-
/* @__PURE__ */
|
868
|
-
/* @__PURE__ */
|
869
|
-
/* @__PURE__ */
|
865
|
+
/* @__PURE__ */ I("div", { className: E.spinnerCutoutContainer, children: [
|
866
|
+
/* @__PURE__ */ s("div", { className: v(E.spinnerCutoutOne, E.spinnerCutout) }),
|
867
|
+
/* @__PURE__ */ s("div", { className: v(E.spinnerCutoutTwo, E.spinnerCutout) })
|
870
868
|
] })
|
871
869
|
] }), e[2] = o) : o = e[2];
|
872
870
|
let l;
|
873
|
-
return e[3] !== t.style ? (l = /* @__PURE__ */
|
874
|
-
},
|
875
|
-
component:
|
876
|
-
levelDefault:
|
877
|
-
},
|
871
|
+
return e[3] !== t.style ? (l = /* @__PURE__ */ s("div", { className: E.component, style: t.style, children: o }), e[3] = t.style, e[4] = l) : l = e[4], l;
|
872
|
+
}, kn = "_component_1drme_10", wn = "_levelDefault_1drme_15", $n = {
|
873
|
+
component: kn,
|
874
|
+
levelDefault: wn
|
875
|
+
}, Mo = (t) => {
|
878
876
|
const e = N.c(6);
|
879
877
|
let i;
|
880
|
-
e[0] !== t.className ? (i = v(
|
878
|
+
e[0] !== t.className ? (i = v($n.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
881
879
|
let n;
|
882
|
-
return e[2] !== t.style || e[3] !== t.text || e[4] !== i ? (n = /* @__PURE__ */
|
883
|
-
},
|
884
|
-
component:
|
885
|
-
},
|
880
|
+
return e[2] !== t.style || e[3] !== t.text || e[4] !== i ? (n = /* @__PURE__ */ s("div", { className: i, style: t.style, children: t.text }), e[2] = t.style, e[3] = t.text, e[4] = i, e[5] = n) : n = e[5], n;
|
881
|
+
}, In = "_component_125pe_10", Rn = {
|
882
|
+
component: In
|
883
|
+
}, Fo = (t) => {
|
886
884
|
const e = N.c(8);
|
887
885
|
let i;
|
888
|
-
e[0] !== t.className ? (i = v(
|
886
|
+
e[0] !== t.className ? (i = v(Rn.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
889
887
|
let n;
|
890
888
|
e[2] !== t.color ? (n = {
|
891
889
|
backgroundColor: t.color
|
892
890
|
}, e[2] = t.color, e[3] = n) : n = e[3];
|
893
891
|
let o;
|
894
|
-
return e[4] !== t.text || e[5] !== i || e[6] !== n ? (o = /* @__PURE__ */
|
895
|
-
},
|
896
|
-
component:
|
897
|
-
},
|
892
|
+
return e[4] !== t.text || e[5] !== i || e[6] !== n ? (o = /* @__PURE__ */ s("div", { className: i, style: n, children: t.text }), e[4] = t.text, e[5] = i, e[6] = n, e[7] = o) : o = e[7], o;
|
893
|
+
}, Tn = "_component_1y11j_10", Pn = {
|
894
|
+
component: Tn
|
895
|
+
}, Ko = (t) => {
|
898
896
|
const e = N.c(6);
|
899
897
|
let i;
|
900
|
-
e[0] !== t.className ? (i = v(
|
898
|
+
e[0] !== t.className ? (i = v(Pn.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
901
899
|
let n;
|
902
|
-
return e[2] !== t.onClick || e[3] !== t.text || e[4] !== i ? (n = /* @__PURE__ */
|
903
|
-
},
|
904
|
-
component:
|
905
|
-
icon:
|
906
|
-
input:
|
907
|
-
noIcon:
|
908
|
-
},
|
909
|
-
const e = N.c(23), i =
|
900
|
+
return e[2] !== t.onClick || e[3] !== t.text || e[4] !== i ? (n = /* @__PURE__ */ s("button", { className: i, onClick: t.onClick, "aria-label": t.text, children: t.text }), e[2] = t.onClick, e[3] = t.text, e[4] = i, e[5] = n) : n = e[5], n;
|
901
|
+
}, Ln = "_component_10l5e_10", Dn = "_icon_10l5e_28", Un = "_input_10l5e_36", Bn = "_noIcon_10l5e_44", se = {
|
902
|
+
component: Ln,
|
903
|
+
icon: Dn,
|
904
|
+
input: Un,
|
905
|
+
noIcon: Bn
|
906
|
+
}, jo = (t) => {
|
907
|
+
const e = N.c(23), i = H(null);
|
910
908
|
let n, o;
|
911
909
|
e[0] !== t.value ? (n = () => {
|
912
910
|
i.current && t.value && (i.current.value = t.value);
|
913
|
-
}, o = [t.value], e[0] = t.value, e[1] = n, e[2] = o) : (n = e[1], o = e[2]),
|
911
|
+
}, o = [t.value], e[0] = t.value, e[1] = n, e[2] = o) : (n = e[1], o = e[2]), U(n, o);
|
914
912
|
let l;
|
915
913
|
e[3] !== t ? (l = () => {
|
916
914
|
i.current && (i.current.onchange = () => {
|
@@ -919,68 +917,68 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
919
917
|
i.current && t.onSubmit && (t.getLiveValue && t.getLiveValue(i.current.value), C.key === "Enter" && t.onSubmit(i.current.value));
|
920
918
|
});
|
921
919
|
}, e[3] = t, e[4] = l) : l = e[4];
|
922
|
-
let s;
|
923
|
-
e[5] === Symbol.for("react.memo_cache_sentinel") ? (s = [], e[5] = s) : s = e[5], B(l, s);
|
924
|
-
let c;
|
925
|
-
e[6] !== t.className ? (c = v(re.component, t.className), e[6] = t.className, e[7] = c) : c = e[7];
|
926
920
|
let r;
|
927
|
-
e[
|
928
|
-
|
921
|
+
e[5] === Symbol.for("react.memo_cache_sentinel") ? (r = [], e[5] = r) : r = e[5], U(l, r);
|
922
|
+
let c;
|
923
|
+
e[6] !== t.className ? (c = v(se.component, t.className), e[6] = t.className, e[7] = c) : c = e[7];
|
924
|
+
let a;
|
925
|
+
e[8] !== t.icon ? (a = t.icon && /* @__PURE__ */ s(re, { className: se.icon, icon: t.icon }), e[8] = t.icon, e[9] = a) : a = e[9];
|
926
|
+
const m = t.autoComplete, d = t.type || "text", u = t.accessibleName, _ = t.defaultValue, b = !t.icon && se.noIcon;
|
927
|
+
let f;
|
928
|
+
e[10] !== b ? (f = v(se.input, b), e[10] = b, e[11] = f) : f = e[11];
|
929
|
+
let g;
|
930
|
+
e[12] !== t.accessibleName || e[13] !== t.autoComplete || e[14] !== t.defaultValue || e[15] !== t.placeholder || e[16] !== f || e[17] !== d ? (g = /* @__PURE__ */ s("input", { autoComplete: m, ref: i, type: d, "aria-label": u, defaultValue: _, className: f, placeholder: t.placeholder }), e[12] = t.accessibleName, e[13] = t.autoComplete, e[14] = t.defaultValue, e[15] = t.placeholder, e[16] = f, e[17] = d, e[18] = g) : g = e[18];
|
929
931
|
let h;
|
930
|
-
e[
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
r,
|
936
|
-
b
|
937
|
-
] }), e[19] = b, e[20] = c, e[21] = r, e[22] = _) : _ = e[22], _;
|
938
|
-
}, Ko = (t) => {
|
932
|
+
return e[19] !== g || e[20] !== c || e[21] !== a ? (h = /* @__PURE__ */ I("div", { className: c, children: [
|
933
|
+
a,
|
934
|
+
g
|
935
|
+
] }), e[19] = g, e[20] = c, e[21] = a, e[22] = h) : h = e[22], h;
|
936
|
+
}, Ao = (t) => {
|
939
937
|
const e = N.c(5), {
|
940
938
|
className: i,
|
941
939
|
onSeen: n
|
942
|
-
} = t, [o, l] =
|
940
|
+
} = t, [o, l] = L(!1), r = H(null);
|
943
941
|
let c;
|
944
942
|
e[0] !== n ? (c = () => {
|
945
|
-
if (!
|
943
|
+
if (!r.current)
|
946
944
|
return;
|
947
|
-
const d =
|
948
|
-
|
945
|
+
const d = r.current, u = new IntersectionObserver((_) => {
|
946
|
+
_[0].isIntersecting && (n(), u.disconnect(), l(!0));
|
949
947
|
});
|
950
948
|
return u.observe(d), () => {
|
951
949
|
u.disconnect();
|
952
950
|
};
|
953
951
|
}, e[0] = n, e[1] = c) : c = e[1];
|
954
|
-
let
|
955
|
-
if (e[2] === Symbol.for("react.memo_cache_sentinel") ? (
|
952
|
+
let a;
|
953
|
+
if (e[2] === Symbol.for("react.memo_cache_sentinel") ? (a = [], e[2] = a) : a = e[2], U(c, a), o)
|
956
954
|
return null;
|
957
955
|
let m;
|
958
|
-
return e[3] !== i ? (m = /* @__PURE__ */
|
959
|
-
},
|
956
|
+
return e[3] !== i ? (m = /* @__PURE__ */ s("div", { ref: r, className: i }), e[3] = i, e[4] = m) : m = e[4], m;
|
957
|
+
}, Ho = (t) => {
|
960
958
|
const e = N.c(7), {
|
961
959
|
className: i,
|
962
960
|
onEnterView: n,
|
963
961
|
onLeaveView: o
|
964
|
-
} = t, l =
|
962
|
+
} = t, l = H(!1), r = H(null);
|
965
963
|
let c;
|
966
964
|
e[0] !== n || e[1] !== o ? (c = () => {
|
967
|
-
if (!
|
965
|
+
if (!r.current)
|
968
966
|
return;
|
969
|
-
const u =
|
967
|
+
const u = r.current, _ = () => {
|
970
968
|
const {
|
971
|
-
top:
|
972
|
-
bottom:
|
973
|
-
left:
|
969
|
+
top: f,
|
970
|
+
bottom: g,
|
971
|
+
left: h,
|
974
972
|
right: C
|
975
973
|
} = u.getBoundingClientRect();
|
976
974
|
if (!l.current) {
|
977
|
-
if (
|
975
|
+
if (f < 0) {
|
978
976
|
n == null || n("up"), l.current = !0;
|
979
977
|
return;
|
980
|
-
} else if (
|
978
|
+
} else if (g > window.innerHeight) {
|
981
979
|
n == null || n("down"), l.current = !0;
|
982
980
|
return;
|
983
|
-
} else if (
|
981
|
+
} else if (h < 0) {
|
984
982
|
n == null || n("left"), l.current = !0;
|
985
983
|
return;
|
986
984
|
} else if (C > window.innerWidth) {
|
@@ -988,88 +986,88 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
988
986
|
return;
|
989
987
|
}
|
990
988
|
}
|
991
|
-
if (
|
989
|
+
if (f > window.innerHeight) {
|
992
990
|
o == null || o("down"), l.current = !1;
|
993
991
|
return;
|
994
|
-
} else if (
|
992
|
+
} else if (g < 0) {
|
995
993
|
o == null || o("up"), l.current = !1;
|
996
994
|
return;
|
997
|
-
} else if (
|
995
|
+
} else if (h > window.innerWidth) {
|
998
996
|
o == null || o("right"), l.current = !1;
|
999
997
|
return;
|
1000
998
|
} else if (C < 0) {
|
1001
999
|
o == null || o("left"), l.current = !1;
|
1002
1000
|
return;
|
1003
1001
|
}
|
1004
|
-
},
|
1005
|
-
|
1002
|
+
}, b = new IntersectionObserver(() => {
|
1003
|
+
_();
|
1006
1004
|
});
|
1007
|
-
return
|
1008
|
-
|
1005
|
+
return b.observe(u), () => {
|
1006
|
+
b.disconnect();
|
1009
1007
|
};
|
1010
1008
|
}, e[0] = n, e[1] = o, e[2] = c) : c = e[2];
|
1011
|
-
let
|
1012
|
-
e[3] === Symbol.for("react.memo_cache_sentinel") ? (
|
1009
|
+
let a;
|
1010
|
+
e[3] === Symbol.for("react.memo_cache_sentinel") ? (a = [], e[3] = a) : a = e[3], U(c, a);
|
1013
1011
|
let m;
|
1014
1012
|
e[4] === Symbol.for("react.memo_cache_sentinel") ? (m = {
|
1015
1013
|
height: 1,
|
1016
1014
|
width: 1
|
1017
1015
|
}, e[4] = m) : m = e[4];
|
1018
1016
|
let d;
|
1019
|
-
return e[5] !== i ? (d = /* @__PURE__ */
|
1020
|
-
},
|
1021
|
-
containerComponent:
|
1022
|
-
component:
|
1023
|
-
page:
|
1024
|
-
activePage:
|
1025
|
-
controls:
|
1026
|
-
indicatorContainer:
|
1027
|
-
indicator:
|
1028
|
-
pageIndicator:
|
1029
|
-
selected:
|
1030
|
-
},
|
1017
|
+
return e[5] !== i ? (d = /* @__PURE__ */ s("div", { ref: r, style: m, className: i }), e[5] = i, e[6] = d) : d = e[6], d;
|
1018
|
+
}, En = "_containerComponent_5q8wt_6", On = "_component_5q8wt_17", Mn = "_page_5q8wt_34", Fn = "_activePage_5q8wt_52", Kn = "_controls_5q8wt_56", jn = "_indicatorContainer_5q8wt_67", An = "_indicator_5q8wt_67", Hn = "_pageIndicator_5q8wt_80", zn = "_selected_5q8wt_89", D = {
|
1019
|
+
containerComponent: En,
|
1020
|
+
component: On,
|
1021
|
+
page: Mn,
|
1022
|
+
activePage: Fn,
|
1023
|
+
controls: Kn,
|
1024
|
+
indicatorContainer: jn,
|
1025
|
+
indicator: An,
|
1026
|
+
pageIndicator: Hn,
|
1027
|
+
selected: zn
|
1028
|
+
}, zo = (t) => {
|
1031
1029
|
const e = N.c(35), {
|
1032
1030
|
items: i,
|
1033
1031
|
className: n,
|
1034
1032
|
loopAround: o,
|
1035
1033
|
height: l
|
1036
|
-
} = t,
|
1034
|
+
} = t, r = H(null), [c, a] = L(0);
|
1037
1035
|
let m, d;
|
1038
1036
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (m = () => {
|
1039
|
-
const y =
|
1037
|
+
const y = r.current;
|
1040
1038
|
if (!y)
|
1041
1039
|
return;
|
1042
1040
|
const p = () => {
|
1043
1041
|
const k = y.getBoundingClientRect();
|
1044
|
-
let
|
1045
|
-
|
1042
|
+
let $;
|
1043
|
+
$ = 0;
|
1046
1044
|
let R;
|
1047
|
-
R = -1, Array.from(y.children).forEach((
|
1048
|
-
const
|
1049
|
-
Z >
|
1050
|
-
}), R !== -1 &&
|
1045
|
+
R = -1, Array.from(y.children).forEach((M, V) => {
|
1046
|
+
const X = M.getBoundingClientRect(), Z = Math.max(0, Math.min(X.right, k.right) - Math.max(X.left, k.left));
|
1047
|
+
Z > $ && ($ = Z, R = V);
|
1048
|
+
}), R !== -1 && a(R);
|
1051
1049
|
};
|
1052
1050
|
return y.addEventListener("scroll", p), () => {
|
1053
1051
|
y.removeEventListener("scroll", p);
|
1054
1052
|
};
|
1055
|
-
}, d = [], e[0] = m, e[1] = d) : (m = e[0], d = e[1]),
|
1053
|
+
}, d = [], e[0] = m, e[1] = d) : (m = e[0], d = e[1]), U(m, d);
|
1056
1054
|
let u;
|
1057
|
-
e[2] !== n ? (u = v(
|
1058
|
-
let
|
1059
|
-
e[4] !== l ? (
|
1055
|
+
e[2] !== n ? (u = v(D.containerComponent, n), e[2] = n, e[3] = u) : u = e[3];
|
1056
|
+
let _;
|
1057
|
+
e[4] !== l ? (_ = {
|
1060
1058
|
"--carousel-height": l
|
1061
|
-
}, e[4] = l, e[5] =
|
1062
|
-
let
|
1059
|
+
}, e[4] = l, e[5] = _) : _ = e[5];
|
1060
|
+
let b;
|
1063
1061
|
if (e[6] !== c || e[7] !== i) {
|
1064
1062
|
let y;
|
1065
|
-
e[9] !== c ? (y = (p, k) => /* @__PURE__ */
|
1063
|
+
e[9] !== c ? (y = (p, k) => /* @__PURE__ */ s("div", { className: v(D.page, k === c && D.activePage), children: p.element }, p.id), e[9] = c, e[10] = y) : y = e[10], b = i.map(y), e[6] = c, e[7] = i, e[8] = b;
|
1066
1064
|
} else
|
1067
|
-
|
1068
|
-
let
|
1069
|
-
e[11] !==
|
1070
|
-
let
|
1071
|
-
e[13] !== c || e[14] !== o ? (
|
1072
|
-
const y =
|
1065
|
+
b = e[8];
|
1066
|
+
let f;
|
1067
|
+
e[11] !== b ? (f = /* @__PURE__ */ s("div", { className: D.component, "data-pages": !0, ref: r, children: b }), e[11] = b, e[12] = f) : f = e[12];
|
1068
|
+
let g;
|
1069
|
+
e[13] !== c || e[14] !== o ? (g = /* @__PURE__ */ s(oe, { accessibleLabel: "previous page", icon: K.ChevronLeft, className: D.pageControl, onClick: () => {
|
1070
|
+
const y = r.current;
|
1073
1071
|
if (!y)
|
1074
1072
|
return;
|
1075
1073
|
const p = y.children[c - 1];
|
@@ -1078,36 +1076,36 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1078
1076
|
behavior: "smooth",
|
1079
1077
|
inline: "center",
|
1080
1078
|
block: "center"
|
1081
|
-
}),
|
1079
|
+
}), a(y.children.length - 1));
|
1082
1080
|
return;
|
1083
1081
|
}
|
1084
1082
|
p.scrollIntoView({
|
1085
1083
|
behavior: "smooth",
|
1086
1084
|
inline: "center",
|
1087
1085
|
block: "center"
|
1088
|
-
}),
|
1089
|
-
} }), e[13] = c, e[14] = o, e[15] =
|
1090
|
-
let
|
1086
|
+
}), a(c - 1);
|
1087
|
+
} }), e[13] = c, e[14] = o, e[15] = g) : g = e[15];
|
1088
|
+
let h;
|
1091
1089
|
if (e[16] !== c || e[17] !== i) {
|
1092
1090
|
let y;
|
1093
|
-
e[19] !== c ? (y = (p, k) => /* @__PURE__ */
|
1094
|
-
const
|
1095
|
-
if (
|
1091
|
+
e[19] !== c ? (y = (p, k) => /* @__PURE__ */ s("button", { className: v(D.pageIndicator, k === c && D.selected), onClick: () => {
|
1092
|
+
const $ = r.current;
|
1093
|
+
if (!$)
|
1096
1094
|
return;
|
1097
|
-
const R =
|
1098
|
-
|
1095
|
+
const R = $.children[k];
|
1096
|
+
a(k), R.scrollIntoView({
|
1099
1097
|
behavior: "smooth",
|
1100
1098
|
inline: "center",
|
1101
1099
|
block: "center"
|
1102
1100
|
});
|
1103
|
-
} }, p.id), e[19] = c, e[20] = y) : y = e[20],
|
1101
|
+
} }, p.id), e[19] = c, e[20] = y) : y = e[20], h = i.map(y), e[16] = c, e[17] = i, e[18] = h;
|
1104
1102
|
} else
|
1105
|
-
|
1103
|
+
h = e[18];
|
1106
1104
|
let C;
|
1107
|
-
e[21] !==
|
1108
|
-
let
|
1109
|
-
e[23] !== c || e[24] !== o ? (
|
1110
|
-
const y =
|
1105
|
+
e[21] !== h ? (C = /* @__PURE__ */ s(ce, { className: D.indicator, containerClassName: D.indicatorContainer, children: h }), e[21] = h, e[22] = C) : C = e[22];
|
1106
|
+
let x;
|
1107
|
+
e[23] !== c || e[24] !== o ? (x = /* @__PURE__ */ s(oe, { accessibleLabel: "next page", icon: K.ChevronRight, className: D.pageControl, onClick: () => {
|
1108
|
+
const y = r.current;
|
1111
1109
|
if (!y)
|
1112
1110
|
return;
|
1113
1111
|
const p = y.children[c + 1];
|
@@ -1116,45 +1114,45 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1116
1114
|
behavior: "smooth",
|
1117
1115
|
inline: "center",
|
1118
1116
|
block: "center"
|
1119
|
-
}),
|
1117
|
+
}), a(0));
|
1120
1118
|
return;
|
1121
1119
|
}
|
1122
1120
|
p.scrollIntoView({
|
1123
1121
|
behavior: "smooth",
|
1124
1122
|
inline: "center",
|
1125
1123
|
block: "center"
|
1126
|
-
}),
|
1127
|
-
} }), e[23] = c, e[24] = o, e[25] =
|
1128
|
-
let
|
1129
|
-
e[26] !==
|
1130
|
-
|
1124
|
+
}), a(c + 1);
|
1125
|
+
} }), e[23] = c, e[24] = o, e[25] = x) : x = e[25];
|
1126
|
+
let S;
|
1127
|
+
e[26] !== x || e[27] !== g || e[28] !== C ? (S = /* @__PURE__ */ I("div", { className: D.controls, children: [
|
1128
|
+
g,
|
1131
1129
|
C,
|
1132
|
-
S
|
1133
|
-
] }), e[26] = S, e[27] = b, e[28] = C, e[29] = x) : x = e[29];
|
1134
|
-
let w;
|
1135
|
-
return e[30] !== x || e[31] !== u || e[32] !== f || e[33] !== h ? (w = /* @__PURE__ */ $(Jt, { className: u, style: f, children: [
|
1136
|
-
h,
|
1137
1130
|
x
|
1138
|
-
] }), e[
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
},
|
1131
|
+
] }), e[26] = x, e[27] = g, e[28] = C, e[29] = S) : S = e[29];
|
1132
|
+
let w;
|
1133
|
+
return e[30] !== S || e[31] !== u || e[32] !== _ || e[33] !== f ? (w = /* @__PURE__ */ I(en, { className: u, style: _, children: [
|
1134
|
+
f,
|
1135
|
+
S
|
1136
|
+
] }), e[30] = S, e[31] = u, e[32] = _, e[33] = f, e[34] = w) : w = e[34], w;
|
1137
|
+
}, qn = "_background_l6sy4_26", Gn = "_backgroundFadeIn_l6sy4_1", Yn = "_view_l6sy4_39", Wn = "_fadeIn_l6sy4_1", Re = {
|
1138
|
+
background: qn,
|
1139
|
+
backgroundFadeIn: Gn,
|
1140
|
+
view: Yn,
|
1141
|
+
fadeIn: Wn
|
1142
|
+
}, qo = (t) => {
|
1145
1143
|
const e = N.c(7), {
|
1146
1144
|
children: i,
|
1147
1145
|
className: n,
|
1148
1146
|
actionsClassName: o,
|
1149
1147
|
headerClassName: l,
|
1150
|
-
actions:
|
1148
|
+
actions: r,
|
1151
1149
|
header: c
|
1152
1150
|
} = t;
|
1153
|
-
let
|
1154
|
-
return e[0] !==
|
1155
|
-
},
|
1156
|
-
view:
|
1157
|
-
},
|
1151
|
+
let a;
|
1152
|
+
return e[0] !== r || e[1] !== o || e[2] !== i || e[3] !== n || e[4] !== c || e[5] !== l ? (a = /* @__PURE__ */ s("div", { className: Re.background, children: /* @__PURE__ */ s(ce, { containerClassName: Re.view, actionsClassName: o, headerClassName: l, actions: r, header: c, className: n, children: i }) }), e[0] = r, e[1] = o, e[2] = i, e[3] = n, e[4] = c, e[5] = l, e[6] = a) : a = e[6], a;
|
1153
|
+
}, Vn = "_view_1557p_10", Xn = {
|
1154
|
+
view: Vn
|
1155
|
+
}, Go = (t) => {
|
1158
1156
|
const e = N.c(7), {
|
1159
1157
|
backgroundImage: i,
|
1160
1158
|
heading: n
|
@@ -1166,196 +1164,196 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1166
1164
|
backgroundImage: "linear-gradient(-45deg, #ff8093aa, #ffd264aa)"
|
1167
1165
|
}, e[0] = i, e[1] = o) : o = e[1];
|
1168
1166
|
let l;
|
1169
|
-
e[2] !== n ? (l = /* @__PURE__ */
|
1170
|
-
let
|
1171
|
-
return e[4] !== o || e[5] !== l ? (
|
1172
|
-
},
|
1167
|
+
e[2] !== n ? (l = /* @__PURE__ */ s(le, { level: 1, text: n }), e[2] = n, e[3] = l) : l = e[3];
|
1168
|
+
let r;
|
1169
|
+
return e[4] !== o || e[5] !== l ? (r = /* @__PURE__ */ s(A, { children: /* @__PURE__ */ s("div", { className: Xn.view, style: o, children: l }) }), e[4] = o, e[5] = l, e[6] = r) : r = e[6], r;
|
1170
|
+
}, Yo = ({
|
1173
1171
|
children: t,
|
1174
1172
|
minZoom: e,
|
1175
1173
|
maxZoom: i,
|
1176
1174
|
onScaleChange: n
|
1177
1175
|
}) => {
|
1178
|
-
const o =
|
1179
|
-
return n &&
|
1176
|
+
const o = H(null), [l, r] = L(0), [c, a] = L(0), [m, d] = L(1);
|
1177
|
+
return n && U(() => {
|
1180
1178
|
n(m);
|
1181
|
-
}, [m]), /* @__PURE__ */
|
1179
|
+
}, [m]), /* @__PURE__ */ s("div", { ref: o, style: {
|
1182
1180
|
width: "100%",
|
1183
1181
|
height: "100%",
|
1184
1182
|
overflow: "hidden",
|
1185
1183
|
display: "flex",
|
1186
1184
|
alignItems: "center",
|
1187
1185
|
justifyContent: "center"
|
1188
|
-
}, onWheel: (
|
1189
|
-
|
1190
|
-
const
|
1191
|
-
d(Math.min(Math.max(
|
1192
|
-
}, onMouseDown: (
|
1193
|
-
|
1194
|
-
const
|
1186
|
+
}, onWheel: (f) => {
|
1187
|
+
f.stopPropagation();
|
1188
|
+
const g = f.deltaY, h = m + g / 1e3;
|
1189
|
+
d(Math.min(Math.max(h, e ?? 0.1), i ?? 10));
|
1190
|
+
}, onMouseDown: (f) => {
|
1191
|
+
f.stopPropagation();
|
1192
|
+
const g = f.clientX, h = f.clientY, C = l, x = c, S = (y) => {
|
1195
1193
|
y.stopPropagation();
|
1196
|
-
const p = y.clientX -
|
1197
|
-
|
1194
|
+
const p = y.clientX - g, k = y.clientY - h;
|
1195
|
+
r(C + p), a(x + k);
|
1198
1196
|
}, w = () => {
|
1199
|
-
|
1197
|
+
f.stopPropagation(), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", w);
|
1200
1198
|
};
|
1201
|
-
document.addEventListener("mousemove",
|
1202
|
-
}, onTouchStart: (
|
1203
|
-
|
1204
|
-
const
|
1199
|
+
document.addEventListener("mousemove", S), document.addEventListener("mouseup", w);
|
1200
|
+
}, onTouchStart: (f) => {
|
1201
|
+
f.stopPropagation();
|
1202
|
+
const g = f.touches, h = l, C = c, x = (w) => {
|
1205
1203
|
w.stopPropagation();
|
1206
|
-
const y = w.touches, p = y[0].clientX -
|
1207
|
-
|
1208
|
-
},
|
1209
|
-
|
1204
|
+
const y = w.touches, p = y[0].clientX - g[0].clientX, k = y[0].clientY - g[0].clientY;
|
1205
|
+
r(h + p), a(C + k);
|
1206
|
+
}, S = () => {
|
1207
|
+
f.stopPropagation(), document.removeEventListener("touchmove", x), document.removeEventListener("touchend", S);
|
1210
1208
|
};
|
1211
|
-
document.addEventListener("touchmove",
|
1212
|
-
}, onDragStart: (
|
1213
|
-
|
1214
|
-
}, onContextMenu: (
|
1215
|
-
|
1216
|
-
}, children: /* @__PURE__ */
|
1209
|
+
document.addEventListener("touchmove", x), document.addEventListener("touchend", S);
|
1210
|
+
}, onDragStart: (f) => {
|
1211
|
+
f.stopPropagation(), f.preventDefault();
|
1212
|
+
}, onContextMenu: (f) => {
|
1213
|
+
f.preventDefault(), f.stopPropagation();
|
1214
|
+
}, children: /* @__PURE__ */ s("div", { style: {
|
1217
1215
|
transform: `translate(${l}px, ${c}px) scale(${m})`,
|
1218
1216
|
transformOrigin: "center center",
|
1219
1217
|
maxWidth: "max-content",
|
1220
1218
|
pointerEvents: "none"
|
1221
1219
|
}, children: t }) });
|
1222
|
-
},
|
1223
|
-
component:
|
1224
|
-
items:
|
1225
|
-
endOfItems:
|
1226
|
-
},
|
1220
|
+
}, Zn = "_component_7673o_10", Qn = "_items_7673o_19", Jn = "_endOfItems_7673o_23", ae = {
|
1221
|
+
component: Zn,
|
1222
|
+
items: Qn,
|
1223
|
+
endOfItems: Jn
|
1224
|
+
}, Wo = (t) => {
|
1227
1225
|
const e = N.c(22), {
|
1228
1226
|
children: i,
|
1229
1227
|
fetchNextPage: n,
|
1230
1228
|
containerClassName: o,
|
1231
1229
|
className: l,
|
1232
|
-
resetState:
|
1233
|
-
} = t, c =
|
1234
|
-
let
|
1235
|
-
e[0] !==
|
1236
|
-
|
1237
|
-
},
|
1238
|
-
async function
|
1230
|
+
resetState: r
|
1231
|
+
} = t, c = O.useRef(null), a = O.useRef(-1), [m, d] = L(!1), [u, _] = L(!1);
|
1232
|
+
let b;
|
1233
|
+
e[0] !== r ? (b = [r], e[0] = r, e[1] = b) : b = e[1], U(() => {
|
1234
|
+
a.current = -1, d(!1), _(!1), f();
|
1235
|
+
}, b);
|
1236
|
+
async function f() {
|
1239
1237
|
if (m)
|
1240
1238
|
return;
|
1241
1239
|
d(!0);
|
1242
1240
|
const {
|
1243
|
-
hasAnotherPage:
|
1244
|
-
} = await n(
|
1245
|
-
|
1241
|
+
hasAnotherPage: $
|
1242
|
+
} = await n(a.current + 1);
|
1243
|
+
a.current = a.current + 1, d(!1), _($ || !1);
|
1246
1244
|
}
|
1247
|
-
let
|
1248
|
-
e[2] !==
|
1245
|
+
let g;
|
1246
|
+
e[2] !== f ? (g = () => {
|
1249
1247
|
if (!c.current)
|
1250
1248
|
return;
|
1251
|
-
const
|
1252
|
-
new IntersectionObserver((
|
1253
|
-
console.log("observer update"),
|
1254
|
-
}).observe(
|
1255
|
-
}, e[2] =
|
1256
|
-
let
|
1257
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (
|
1249
|
+
const $ = c.current;
|
1250
|
+
new IntersectionObserver((M) => {
|
1251
|
+
console.log("observer update"), M[0].isIntersecting && f();
|
1252
|
+
}).observe($);
|
1253
|
+
}, e[2] = f, e[3] = g) : g = e[3];
|
1254
|
+
let h;
|
1255
|
+
e[4] === Symbol.for("react.memo_cache_sentinel") ? (h = [], e[4] = h) : h = e[4], U(g, h);
|
1258
1256
|
let C;
|
1259
1257
|
e[5] !== o ? (C = v(o, ae.component), e[5] = o, e[6] = C) : C = e[6];
|
1260
|
-
let S;
|
1261
|
-
e[7] !== i || e[8] !== l ? (S = (i == null ? void 0 : i.length) > 0 ? /* @__PURE__ */ a("div", { className: v(l, ae.items), children: i }) : /* @__PURE__ */ $("div", { className: "text-center", children: [
|
1262
|
-
/* @__PURE__ */ a(le, { level: 1, text: "Whoops." }),
|
1263
|
-
/* @__PURE__ */ a(de, { direction: "column" }),
|
1264
|
-
/* @__PURE__ */ a(V, { text: "It looks like nothing could be found..." })
|
1265
|
-
] }), e[7] = i, e[8] = l, e[9] = S) : S = e[9];
|
1266
1258
|
let x;
|
1267
|
-
e[
|
1259
|
+
e[7] !== i || e[8] !== l ? (x = (i == null ? void 0 : i.length) > 0 ? /* @__PURE__ */ s("div", { className: v(l, ae.items), children: i }) : /* @__PURE__ */ I("div", { className: "text-center", children: [
|
1260
|
+
/* @__PURE__ */ s(le, { level: 1, text: "Whoops." }),
|
1261
|
+
/* @__PURE__ */ s(de, { direction: "column" }),
|
1262
|
+
/* @__PURE__ */ s(Y, { text: "It looks like nothing could be found..." })
|
1263
|
+
] }), e[7] = i, e[8] = l, e[9] = x) : x = e[9];
|
1264
|
+
let S;
|
1265
|
+
e[10] !== m ? (S = m && /* @__PURE__ */ s(Y, { text: "Loading more content" }), e[10] = m, e[11] = S) : S = e[11];
|
1268
1266
|
let w;
|
1269
|
-
e[12] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */
|
1267
|
+
e[12] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ s(de, { direction: "column" }), e[12] = w) : w = e[12];
|
1270
1268
|
let y;
|
1271
|
-
e[13] !== u ? (y = u && /* @__PURE__ */
|
1269
|
+
e[13] !== u ? (y = u && /* @__PURE__ */ s(Y, { text: "No more items to load", className: ae.endOfItems }), e[13] = u, e[14] = y) : y = e[14];
|
1272
1270
|
let p;
|
1273
|
-
e[15] !==
|
1274
|
-
|
1271
|
+
e[15] !== S || e[16] !== y ? (p = /* @__PURE__ */ I("div", { ref: c, className: ae.endOfItems, children: [
|
1272
|
+
S,
|
1275
1273
|
w,
|
1276
1274
|
y
|
1277
|
-
] }), e[15] =
|
1275
|
+
] }), e[15] = S, e[16] = y, e[17] = p) : p = e[17];
|
1278
1276
|
let k;
|
1279
|
-
return e[18] !== C || e[19] !==
|
1280
|
-
|
1277
|
+
return e[18] !== C || e[19] !== x || e[20] !== p ? (k = /* @__PURE__ */ I("div", { className: C, children: [
|
1278
|
+
x,
|
1281
1279
|
p
|
1282
|
-
] }), e[18] = C, e[19] =
|
1283
|
-
},
|
1284
|
-
component:
|
1285
|
-
segment:
|
1286
|
-
},
|
1280
|
+
] }), e[18] = C, e[19] = x, e[20] = p, e[21] = k) : k = e[21], k;
|
1281
|
+
}, eo = "_component_yv1j4_6", to = "_segment_yv1j4_20", me = {
|
1282
|
+
component: eo,
|
1283
|
+
segment: to
|
1284
|
+
}, Vo = (t) => {
|
1287
1285
|
const e = N.c(13), {
|
1288
1286
|
leftSection: i,
|
1289
1287
|
centerSection: n,
|
1290
1288
|
rightSection: o,
|
1291
1289
|
className: l
|
1292
1290
|
} = t;
|
1293
|
-
let s;
|
1294
|
-
e[0] !== l ? (s = v(me.component, l), e[0] = l, e[1] = s) : s = e[1];
|
1295
|
-
let c;
|
1296
|
-
e[2] !== i ? (c = /* @__PURE__ */ a(te, { className: me.segment, direction: "row", children: i }), e[2] = i, e[3] = c) : c = e[3];
|
1297
1291
|
let r;
|
1298
|
-
e[
|
1292
|
+
e[0] !== l ? (r = v(me.component, l), e[0] = l, e[1] = r) : r = e[1];
|
1293
|
+
let c;
|
1294
|
+
e[2] !== i ? (c = /* @__PURE__ */ s(te, { className: me.segment, direction: "row", children: i }), e[2] = i, e[3] = c) : c = e[3];
|
1295
|
+
let a;
|
1296
|
+
e[4] !== n ? (a = /* @__PURE__ */ s(te, { className: me.segment, direction: "row", children: n }), e[4] = n, e[5] = a) : a = e[5];
|
1299
1297
|
let m;
|
1300
|
-
e[6] !== o ? (m = /* @__PURE__ */
|
1298
|
+
e[6] !== o ? (m = /* @__PURE__ */ s(te, { className: me.segment, direction: "row", children: o }), e[6] = o, e[7] = m) : m = e[7];
|
1301
1299
|
let d;
|
1302
|
-
return e[8] !==
|
1300
|
+
return e[8] !== r || e[9] !== c || e[10] !== a || e[11] !== m ? (d = /* @__PURE__ */ I(ee, { className: r, children: [
|
1303
1301
|
c,
|
1304
|
-
|
1302
|
+
a,
|
1305
1303
|
m
|
1306
|
-
] }), e[8] =
|
1307
|
-
},
|
1308
|
-
component:
|
1309
|
-
},
|
1304
|
+
] }), e[8] = r, e[9] = c, e[10] = a, e[11] = m, e[12] = d) : d = e[12], d;
|
1305
|
+
}, no = "_component_1kaw9_6", oo = {
|
1306
|
+
component: no
|
1307
|
+
}, Xo = (t) => {
|
1310
1308
|
const e = N.c(2), {
|
1311
1309
|
src: i
|
1312
1310
|
} = t;
|
1313
1311
|
let n;
|
1314
|
-
return e[0] !== i ? (n = /* @__PURE__ */
|
1315
|
-
},
|
1312
|
+
return e[0] !== i ? (n = /* @__PURE__ */ s(Ke, { accessibleLabel: "", src: i, className: oo.component }), e[0] = i, e[1] = n) : n = e[1], n;
|
1313
|
+
}, Zo = (t) => {
|
1316
1314
|
const e = N.c(2), {
|
1317
1315
|
title: i
|
1318
1316
|
} = t;
|
1319
1317
|
let n;
|
1320
|
-
return e[0] !== i ? (n = /* @__PURE__ */
|
1321
|
-
},
|
1322
|
-
page:
|
1323
|
-
fadeIn:
|
1324
|
-
card:
|
1325
|
-
cardContainer:
|
1318
|
+
return e[0] !== i ? (n = /* @__PURE__ */ s(le, { text: i, level: 2 }), e[0] = i, e[1] = n) : n = e[1], n;
|
1319
|
+
}, io = "_page_rjfsg_6", lo = "_fadeIn_rjfsg_1", co = "_card_rjfsg_40", ro = "_cardContainer_rjfsg_51", so = "_goBackButton_rjfsg_55", ao = "_headerImage_rjfsg_61", mo = "_header_rjfsg_61", uo = "_body_rjfsg_70", P = {
|
1320
|
+
page: io,
|
1321
|
+
fadeIn: lo,
|
1322
|
+
card: co,
|
1323
|
+
cardContainer: ro,
|
1326
1324
|
goBackButton: so,
|
1327
|
-
headerImage:
|
1328
|
-
header:
|
1329
|
-
body:
|
1330
|
-
},
|
1325
|
+
headerImage: ao,
|
1326
|
+
header: mo,
|
1327
|
+
body: uo
|
1328
|
+
}, Qo = (t) => {
|
1331
1329
|
const e = N.c(26), {
|
1332
1330
|
pages: i,
|
1333
1331
|
applicationId: n
|
1334
|
-
} = t, [o, l] =
|
1332
|
+
} = t, [o, l] = je.useState(0), r = i[o];
|
1335
1333
|
if (localStorage.getItem(`yourdash-application-visited-${n}`) || o > i.length - 1) {
|
1336
1334
|
localStorage.setItem(`yourdash-application-visited-${n}`, "true");
|
1337
|
-
let
|
1338
|
-
return e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
1335
|
+
let g;
|
1336
|
+
return e[0] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ s(He, {}), e[0] = g) : g = e[0], g;
|
1339
1337
|
}
|
1340
1338
|
let c;
|
1341
|
-
e[1] !== o || e[2] !==
|
1339
|
+
e[1] !== o || e[2] !== r.allowGoBack ? (c = r.allowGoBack && /* @__PURE__ */ s(oe, { className: v(P.goBackButton, "animate__animated animate__fadeInDown"), accessibleLabel: "Go back to the last page", icon: K.ChevronLeft, onClick: () => {
|
1342
1340
|
l(o - 1);
|
1343
|
-
} }, "GoBackButton"), e[1] = o, e[2] =
|
1344
|
-
let
|
1345
|
-
e[4] !==
|
1341
|
+
} }, "GoBackButton"), e[1] = o, e[2] = r.allowGoBack, e[3] = c) : c = e[3];
|
1342
|
+
let a;
|
1343
|
+
e[4] !== r.headerImage ? (a = /* @__PURE__ */ s(Ke, { className: P.headerImage, src: r.headerImage, accessibleLabel: "" }), e[4] = r.headerImage, e[5] = a) : a = e[5];
|
1346
1344
|
let m;
|
1347
|
-
e[6] !==
|
1345
|
+
e[6] !== r.header ? (m = /* @__PURE__ */ s(le, { className: P.header, text: r.header }), e[6] = r.header, e[7] = m) : m = e[7];
|
1348
1346
|
let d;
|
1349
|
-
e[8] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */
|
1347
|
+
e[8] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ s(de, { direction: "column" }), e[8] = d) : d = e[8];
|
1350
1348
|
let u;
|
1351
|
-
e[9] !==
|
1352
|
-
let
|
1353
|
-
if (e[11] !== o || e[12] !==
|
1354
|
-
let
|
1355
|
-
e[15] !== o || e[16] !== i.length ? (
|
1349
|
+
e[9] !== r.body ? (u = /* @__PURE__ */ s(Y, { className: P.body, text: r.body }), e[9] = r.body, e[10] = u) : u = e[10];
|
1350
|
+
let _;
|
1351
|
+
if (e[11] !== o || e[12] !== r.actions || e[13] !== i.length) {
|
1352
|
+
let g;
|
1353
|
+
e[15] !== o || e[16] !== i.length ? (g = (h) => h.icon ? /* @__PURE__ */ s(A, { children: /* @__PURE__ */ s(Zt, { className: v(P.action, P.actionWithIcon, "animate__animated animate__fadeInUp"), text: h.label, icon: h.icon, onClick: () => {
|
1356
1354
|
var C;
|
1357
|
-
if ((C =
|
1358
|
-
e: switch (
|
1355
|
+
if ((C = h.onClick) == null || C.call(h), h.changeTo)
|
1356
|
+
e: switch (h.changeTo) {
|
1359
1357
|
case "next": {
|
1360
1358
|
l(o + 1);
|
1361
1359
|
break e;
|
@@ -1372,10 +1370,10 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1372
1370
|
}
|
1373
1371
|
default:
|
1374
1372
|
}
|
1375
|
-
} },
|
1373
|
+
} }, h.label) }) : /* @__PURE__ */ s(A, { children: /* @__PURE__ */ s(ve, { className: v(P.action, P.actionWithoutIcon, "animate__animated animate__fadeInUp"), text: h.label, onClick: () => {
|
1376
1374
|
var C;
|
1377
|
-
if ((C =
|
1378
|
-
e: switch (
|
1375
|
+
if ((C = h.onClick) == null || C.call(h), h.changeTo)
|
1376
|
+
e: switch (h.changeTo) {
|
1379
1377
|
case "next": {
|
1380
1378
|
l(o + 1);
|
1381
1379
|
break e;
|
@@ -1392,23 +1390,23 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1392
1390
|
}
|
1393
1391
|
default:
|
1394
1392
|
}
|
1395
|
-
} },
|
1393
|
+
} }, h.label) }), e[15] = o, e[16] = i.length, e[17] = g) : g = e[17], _ = r.actions.map(g), e[11] = o, e[12] = r.actions, e[13] = i.length, e[14] = _;
|
1396
1394
|
} else
|
1397
|
-
|
1398
|
-
let
|
1399
|
-
e[18] !==
|
1400
|
-
let
|
1401
|
-
return e[20] !== c || e[21] !==
|
1395
|
+
_ = e[14];
|
1396
|
+
let b;
|
1397
|
+
e[18] !== _ ? (b = /* @__PURE__ */ s(te, { className: P.actions, direction: "row", children: _ }), e[18] = _, e[19] = b) : b = e[19];
|
1398
|
+
let f;
|
1399
|
+
return e[20] !== c || e[21] !== a || e[22] !== m || e[23] !== u || e[24] !== b ? (f = /* @__PURE__ */ s("div", { className: P.page, children: /* @__PURE__ */ I(ce, { className: P.card, containerClassName: P.cardContainer, children: [
|
1402
1400
|
c,
|
1403
|
-
|
1401
|
+
a,
|
1404
1402
|
m,
|
1405
1403
|
d,
|
1406
1404
|
u,
|
1407
|
-
|
1408
|
-
] }) }), e[20] = c, e[21] =
|
1409
|
-
},
|
1410
|
-
component:
|
1411
|
-
open:
|
1405
|
+
b
|
1406
|
+
] }) }), e[20] = c, e[21] = a, e[22] = m, e[23] = u, e[24] = b, e[25] = f) : f = e[25], f;
|
1407
|
+
}, fo = "_component_1xxhv_10", ho = "_open_1xxhv_40", Te = {
|
1408
|
+
component: fo,
|
1409
|
+
open: ho
|
1412
1410
|
}, be = ge({
|
1413
1411
|
openSidebar: () => {
|
1414
1412
|
},
|
@@ -1417,137 +1415,137 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1417
1415
|
toggleSidebar: () => {
|
1418
1416
|
},
|
1419
1417
|
isOpen: !0
|
1420
|
-
}),
|
1418
|
+
}), Jo = (t) => {
|
1421
1419
|
const e = N.c(6), {
|
1422
1420
|
children: i
|
1423
|
-
} = t, n = ue(be), o =
|
1421
|
+
} = t, n = ue(be), o = z(), l = n.isOpen && Te.open, r = W(o + 1);
|
1424
1422
|
let c;
|
1425
|
-
e[0] !== l || e[1] !==
|
1426
|
-
let
|
1427
|
-
return e[3] !== i || e[4] !== c ? (
|
1428
|
-
},
|
1429
|
-
component:
|
1430
|
-
},
|
1423
|
+
e[0] !== l || e[1] !== r ? (c = v(Te.component, l, r), e[0] = l, e[1] = r, e[2] = c) : c = e[2];
|
1424
|
+
let a;
|
1425
|
+
return e[3] !== i || e[4] !== c ? (a = /* @__PURE__ */ s(ne, { children: /* @__PURE__ */ s(te, { direction: "column", className: c, children: i }) }), e[3] = i, e[4] = c, e[5] = a) : a = e[5], a;
|
1426
|
+
}, _o = "_component_f16q1_10", go = {
|
1427
|
+
component: _o
|
1428
|
+
}, ei = (t) => {
|
1431
1429
|
const e = N.c(15), {
|
1432
1430
|
children: i,
|
1433
1431
|
showSidebarByDefault: n,
|
1434
1432
|
className: o
|
1435
|
-
} = t, [l,
|
1433
|
+
} = t, [l, r] = L(n || !0);
|
1436
1434
|
let c;
|
1437
1435
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (c = () => {
|
1438
|
-
|
1436
|
+
r(!1);
|
1439
1437
|
}, e[0] = c) : c = e[0];
|
1440
|
-
let
|
1441
|
-
e[1] !== l ? (
|
1442
|
-
|
1443
|
-
}, e[1] = l, e[2] =
|
1438
|
+
let a;
|
1439
|
+
e[1] !== l ? (a = () => {
|
1440
|
+
r(!l);
|
1441
|
+
}, e[1] = l, e[2] = a) : a = e[2];
|
1444
1442
|
let m;
|
1445
1443
|
e[3] === Symbol.for("react.memo_cache_sentinel") ? (m = () => {
|
1446
|
-
|
1444
|
+
r(!0);
|
1447
1445
|
}, e[3] = m) : m = e[3];
|
1448
1446
|
let d;
|
1449
|
-
e[4] !== l || e[5] !==
|
1447
|
+
e[4] !== l || e[5] !== a ? (d = {
|
1450
1448
|
closeSidebar: c,
|
1451
|
-
toggleSidebar:
|
1449
|
+
toggleSidebar: a,
|
1452
1450
|
openSidebar: m,
|
1453
1451
|
isOpen: l
|
1454
|
-
}, e[4] = l, e[5] =
|
1452
|
+
}, e[4] = l, e[5] = a, e[6] = d) : d = e[6];
|
1455
1453
|
let u;
|
1456
|
-
e[7] !== o ? (u = v(
|
1457
|
-
let
|
1458
|
-
e[9] !== i || e[10] !== u ? (
|
1459
|
-
let
|
1460
|
-
return e[12] !== d || e[13] !==
|
1461
|
-
},
|
1454
|
+
e[7] !== o ? (u = v(go.component, o), e[7] = o, e[8] = u) : u = e[8];
|
1455
|
+
let _;
|
1456
|
+
e[9] !== i || e[10] !== u ? (_ = /* @__PURE__ */ s("div", { className: u, children: i }), e[9] = i, e[10] = u, e[11] = _) : _ = e[11];
|
1457
|
+
let b;
|
1458
|
+
return e[12] !== d || e[13] !== _ ? (b = /* @__PURE__ */ s(be.Provider, { value: d, children: _ }), e[12] = d, e[13] = _, e[14] = b) : b = e[14], b;
|
1459
|
+
}, ti = (t) => {
|
1462
1460
|
const e = N.c(8), {
|
1463
1461
|
className: i,
|
1464
1462
|
style: n
|
1465
|
-
} = t, o = ue(be), l = o.isOpen ? "Collapse UKSidebar" : "Expand UKSidebar",
|
1463
|
+
} = t, o = ue(be), l = o.isOpen ? "Collapse UKSidebar" : "Expand UKSidebar", r = o.isOpen ? K.SidebarCollapse : K.SidebarExpand;
|
1466
1464
|
let c;
|
1467
1465
|
e[0] !== o ? (c = () => {
|
1468
1466
|
o.toggleSidebar();
|
1469
1467
|
}, e[0] = o, e[1] = c) : c = e[1];
|
1470
|
-
let
|
1471
|
-
return e[2] !== i || e[3] !== n || e[4] !== l || e[5] !==
|
1472
|
-
},
|
1473
|
-
layout:
|
1474
|
-
header:
|
1475
|
-
footer:
|
1476
|
-
children:
|
1477
|
-
primarySidebar:
|
1478
|
-
secondarySidebar:
|
1479
|
-
},
|
1468
|
+
let a;
|
1469
|
+
return e[2] !== i || e[3] !== n || e[4] !== l || e[5] !== r || e[6] !== c ? (a = /* @__PURE__ */ s(oe, { style: n, className: i, accessibleLabel: l, icon: r, onClick: c }), e[2] = i, e[3] = n, e[4] = l, e[5] = r, e[6] = c, e[7] = a) : a = e[7], a;
|
1470
|
+
}, vo = "_layout_25jum_1", bo = "_header_25jum_8", yo = "_footer_25jum_12", Co = "_children_25jum_16", No = "_primarySidebar_25jum_20", po = "_secondarySidebar_25jum_24", G = {
|
1471
|
+
layout: vo,
|
1472
|
+
header: bo,
|
1473
|
+
footer: yo,
|
1474
|
+
children: Co,
|
1475
|
+
primarySidebar: No,
|
1476
|
+
secondarySidebar: po
|
1477
|
+
}, ni = (t) => {
|
1480
1478
|
const e = N.c(16), {
|
1481
1479
|
primarySidebar: i,
|
1482
1480
|
secondarySidebar: n,
|
1483
1481
|
footer: o,
|
1484
1482
|
header: l,
|
1485
|
-
children:
|
1483
|
+
children: r
|
1486
1484
|
} = t;
|
1487
1485
|
let c;
|
1488
|
-
e[0] !== l ? (c = l && /* @__PURE__ */
|
1489
|
-
let
|
1490
|
-
e[2] !== i ? (
|
1486
|
+
e[0] !== l ? (c = l && /* @__PURE__ */ s("div", { className: G.header, children: l }), e[0] = l, e[1] = c) : c = e[1];
|
1487
|
+
let a;
|
1488
|
+
e[2] !== i ? (a = i && /* @__PURE__ */ s("div", { className: G.primarySidebar, children: i }), e[2] = i, e[3] = a) : a = e[3];
|
1491
1489
|
let m;
|
1492
|
-
e[4] !==
|
1490
|
+
e[4] !== r ? (m = /* @__PURE__ */ s("div", { className: G.children, children: r }), e[4] = r, e[5] = m) : m = e[5];
|
1493
1491
|
let d;
|
1494
|
-
e[6] !== n ? (d = n && /* @__PURE__ */
|
1492
|
+
e[6] !== n ? (d = n && /* @__PURE__ */ s("div", { className: G.secondarySidebar, children: n }), e[6] = n, e[7] = d) : d = e[7];
|
1495
1493
|
let u;
|
1496
|
-
e[8] !== o ? (u = o && /* @__PURE__ */
|
1497
|
-
let
|
1498
|
-
return e[10] !== c || e[11] !==
|
1494
|
+
e[8] !== o ? (u = o && /* @__PURE__ */ s("div", { className: G.footer, children: o }), e[8] = o, e[9] = u) : u = e[9];
|
1495
|
+
let _;
|
1496
|
+
return e[10] !== c || e[11] !== a || e[12] !== m || e[13] !== d || e[14] !== u ? (_ = /* @__PURE__ */ I("div", { className: G.layout, children: [
|
1499
1497
|
c,
|
1500
|
-
|
1498
|
+
a,
|
1501
1499
|
m,
|
1502
1500
|
d,
|
1503
1501
|
u
|
1504
|
-
] }), e[10] = c, e[11] =
|
1502
|
+
] }), e[10] = c, e[11] = a, e[12] = m, e[13] = d, e[14] = u, e[15] = _) : _ = e[15], _;
|
1505
1503
|
};
|
1506
1504
|
export {
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1505
|
+
Ao as HasBeenShown,
|
1506
|
+
Ho as OnInView,
|
1507
|
+
Io as UIKitRoot,
|
1510
1508
|
ee as UKBox,
|
1511
1509
|
ve as UKButton,
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1510
|
+
Po as UKButtonCombo,
|
1511
|
+
Lo as UKButtonLink,
|
1512
|
+
Zt as UKButtonWithIcon,
|
1515
1513
|
ce as UKCard,
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1514
|
+
zo as UKCarousel,
|
1515
|
+
en as UKContainer,
|
1516
|
+
Do as UKContextMenu,
|
1519
1517
|
St as UKDecrementLevel,
|
1520
|
-
|
1518
|
+
qo as UKDialog,
|
1521
1519
|
te as UKFlex,
|
1522
1520
|
le as UKHeading,
|
1523
|
-
|
1521
|
+
re as UKIcon,
|
1524
1522
|
oe as UKIconButton,
|
1525
|
-
|
1526
|
-
|
1523
|
+
K as UKIcons,
|
1524
|
+
Ke as UKImage,
|
1527
1525
|
ne as UKIncrementLevel,
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1526
|
+
Wo as UKInfiniteScroll,
|
1527
|
+
ni as UKLayout,
|
1528
|
+
Uo as UKLink,
|
1529
|
+
Vo as UKNavBar,
|
1530
|
+
Xo as UKNavBarImage,
|
1531
|
+
Zo as UKNavBarTitle,
|
1532
|
+
Qo as UKOnBoarding,
|
1533
|
+
Go as UKPageHeader,
|
1534
|
+
Yo as UKPanAndZoom,
|
1535
|
+
Bo as UKProgressBar,
|
1536
|
+
Eo as UKRedirect,
|
1539
1537
|
de as UKSeparator,
|
1540
|
-
|
1541
|
-
|
1538
|
+
Jo as UKSidebar,
|
1539
|
+
ei as UKSidebarContainer,
|
1542
1540
|
be as UKSidebarContext,
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1541
|
+
ti as UKSidebarToggleButton,
|
1542
|
+
Oo as UKSpinner,
|
1543
|
+
Mo as UKSubText,
|
1544
|
+
Fo as UKTag,
|
1545
|
+
Y as UKText,
|
1546
|
+
Ko as UKTextButton,
|
1547
|
+
jo as UKTextInput,
|
1550
1548
|
v as clippy,
|
1551
|
-
|
1552
|
-
|
1549
|
+
Ro as useToasts,
|
1550
|
+
To as utils
|
1553
1551
|
};
|