@fluid-app/fluid-cli-theme-dev 0.1.661 → 0.1.662
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/dist-cli-preview/.vite/manifest.json +255 -255
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Combobox-DGJF6eef.js → Combobox-ykwFNIpt.js} +32 -32
- package/dist/dist-cli-preview/chunks/{ContactsScreen-kXio3iGD.js → ContactsScreen-D-cXJmwj.js} +90 -90
- package/dist/dist-cli-preview/chunks/MediaScreen-Cmpb6mF6.js +8 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-Dv3CgPld.js → MemberManagementProviders-D_I1530j.js} +6 -6
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-nCGegB8o.js → MemberShareablesScreen-ZOp5ukHq.js} +21 -21
- package/dist/dist-cli-preview/chunks/MessagingScreen-Dg6KgVgn.js +76797 -0
- package/dist/dist-cli-preview/chunks/{MobileActionSheet-qMZ3m1BF.js → MobileActionSheet-DDZqk9Eo.js} +4 -4
- package/dist/dist-cli-preview/chunks/{MySiteScreen-Px837-KC.js → MySiteScreen-BcyOZOdQ.js} +11 -11
- package/dist/dist-cli-preview/chunks/{OrdersScreen-DjwRZIxy.js → OrdersScreen-DTUJ-gAg.js} +8 -8
- package/dist/dist-cli-preview/chunks/OrdersScreen-ozApDGze.js +9 -0
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-BGT2hzdJ.js +8 -0
- package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-CLmrO2fg.js → PortalTenantClientProvider-BEuv6kSA.js} +1 -1
- package/dist/dist-cli-preview/chunks/{ProfileScreen-D5Zcmwv7.js → ProfileScreen-BV1hisqf.js} +14 -14
- package/dist/dist-cli-preview/chunks/{ResponsiveDialog-DR-fHMJK.js → ResponsiveDialog-hhAZBsRG.js} +18 -18
- package/dist/dist-cli-preview/chunks/{Select-DrTLVALd.js → Select-BbnW6Y84.js} +2 -2
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-Bv5cw7qU.js → SubscriptionsScreen-rNY3sM2-.js} +3 -3
- package/dist/dist-cli-preview/chunks/{Textarea-IzZh0Pfp.js → Textarea-DiiN2VUa.js} +2 -2
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-C8lMDfDL.js → account-screen-runtime-CCY1xG25.js} +368 -366
- package/dist/dist-cli-preview/chunks/{arrow-left-CJkHH4Jg.js → arrow-left-B8Vg8Lwo.js} +1 -1
- package/dist/dist-cli-preview/chunks/{cli-preview-BeqlW9Ba.js → cli-preview-D-HIj5MV.js} +10 -10
- package/dist/dist-cli-preview/chunks/{client.gen-pJAqgWpY.js → client.gen-w-HAml8M.js} +1 -1
- package/dist/dist-cli-preview/chunks/{copy-DW9LzXk7.js → copy-CCacWyxZ.js} +1 -1
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-B8yZ_82o.js → countries-api-adapter-lxM2cPcp.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-CeQ-UIbM.js → create-card-entry-container-CFVzOM8o.js} +17 -17
- package/dist/dist-cli-preview/chunks/{hey-api-client-BumHMBjP.js → hey-api-client-Dm2hkDoI.js} +1 -1
- package/dist/dist-cli-preview/chunks/{index-ijwz1qG_.js → index-CD2NsR2x.js} +41 -41
- package/dist/dist-cli-preview/chunks/{index-CYU-MZrg.js → index-DVJL6Ccz.js} +3 -3
- package/dist/dist-cli-preview/chunks/{index-DFrHmTxC.js → index-uk-PtND-.js} +1 -1
- package/dist/dist-cli-preview/chunks/{map-pin-D3wDCjbL.js → map-pin-CmkGf2EW.js} +1 -1
- package/dist/dist-cli-preview/chunks/messaging-Bl8xGGUe.js +4 -0
- package/dist/dist-cli-preview/chunks/{mount-account-screen-BIJcuiA7.js → mount-account-screen-DchehZSF.js} +8 -8
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-CnvevqUk.js → navigate-account-screen-B7131MH8.js} +1 -1
- package/dist/dist-cli-preview/chunks/{schemas-CVvtmAr9.js → schemas-Cg7EObbC.js} +2 -2
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-ox5lRB88.js → screen-route-slug-utils-CxmIAepD.js} +1 -1
- package/dist/dist-cli-preview/chunks/{search-Bloto9t9.js → search-QWTY3jlc.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sheet-haptics-context-CD7T6hN_.js → sheet-haptics-context-Ne6R0IeV.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sidebar-CN1PfrpQ.js → sidebar-l4Cov_Nb.js} +2 -2
- package/dist/dist-cli-preview/chunks/{sortable.esm-B4sp_xaL.js → sortable.esm-3jKc2Tve.js} +2 -2
- package/dist/dist-cli-preview/chunks/{store-api-context-Bf5GjbFO.js → store-api-context-C1xY0aMw.js} +1 -1
- package/dist/dist-cli-preview/chunks/{translation-api-context-factory-BpilYMox.js → translation-api-context-factory-BvgIQ7Kx.js} +1 -1
- package/dist/dist-cli-preview/chunks/{use-mobile-D1-qhgeU.js → use-mobile-BDfn_zLE.js} +1 -1
- package/dist/dist-cli-preview/chunks/{use-optional-store-Dw_b7sBO.js → use-optional-store-DAJqLcKr.js} +2 -2
- package/dist/dist-cli-preview/chunks/{use-store-CbbJzg7Q.js → use-store-BfHGqPT0.js} +3 -3
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-B2bH0BDw.js → useInfiniteQuery-BNm7VYEX.js} +1 -1
- package/dist/dist-cli-preview/chunks/{users-iw23utkG.js → users-DLLq0Qf1.js} +1 -1
- package/package.json +1 -1
- package/dist/dist-cli-preview/chunks/MediaScreen-B_5nkDlg.js +0 -8
- package/dist/dist-cli-preview/chunks/MessagingScreen-Dm-wBpaB.js +0 -55989
- package/dist/dist-cli-preview/chunks/OrdersScreen-DeBpOwrt.js +0 -9
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-Bg6xbHH5.js +0 -8
- package/dist/dist-cli-preview/chunks/messaging-CkGDp6PW.js +0 -4
|
@@ -4,56 +4,56 @@ var l = (t, e, s) => b(t, typeof e != "symbol" ? e + "" : e, s);
|
|
|
4
4
|
const p = {
|
|
5
5
|
subscriptions: async () => {
|
|
6
6
|
const [t, e] = await Promise.all([
|
|
7
|
-
import("./SubscriptionsScreen-
|
|
7
|
+
import("./SubscriptionsScreen-rNY3sM2-.js"),
|
|
8
8
|
import("./subscriptions-CApMYo4X.js")
|
|
9
9
|
]);
|
|
10
10
|
return { Component: t.SubscriptionsScreen, styles: e.default };
|
|
11
11
|
},
|
|
12
12
|
orders: async () => {
|
|
13
13
|
const [t, e] = await Promise.all([
|
|
14
|
-
import("./OrdersScreen-
|
|
14
|
+
import("./OrdersScreen-ozApDGze.js"),
|
|
15
15
|
import("./orders-BHDWH1fk.js")
|
|
16
16
|
]);
|
|
17
17
|
return { Component: t.OrdersScreen, styles: e.default };
|
|
18
18
|
},
|
|
19
19
|
media: async () => {
|
|
20
20
|
const [t, e] = await Promise.all([
|
|
21
|
-
import("./MediaScreen-
|
|
21
|
+
import("./MediaScreen-Cmpb6mF6.js"),
|
|
22
22
|
import("./media-7vUjJ3C6.js")
|
|
23
23
|
]);
|
|
24
24
|
return { Component: t.MediaScreen, styles: e.default };
|
|
25
25
|
},
|
|
26
26
|
playlists: async () => {
|
|
27
27
|
const [t, e] = await Promise.all([
|
|
28
|
-
import("./PlaylistsScreen-
|
|
28
|
+
import("./PlaylistsScreen-BGT2hzdJ.js"),
|
|
29
29
|
import("./playlists-7vUjJ3C6.js")
|
|
30
30
|
]);
|
|
31
31
|
return { Component: t.PlaylistsScreen, styles: e.default };
|
|
32
32
|
},
|
|
33
33
|
profile: async () => {
|
|
34
34
|
const [t, e] = await Promise.all([
|
|
35
|
-
import("./ProfileScreen-
|
|
35
|
+
import("./ProfileScreen-BV1hisqf.js"),
|
|
36
36
|
import("./profile-DWuGW-yL.js")
|
|
37
37
|
]);
|
|
38
38
|
return { Component: t.default, styles: e.default };
|
|
39
39
|
},
|
|
40
40
|
messaging: async () => {
|
|
41
41
|
const [t, e] = await Promise.all([
|
|
42
|
-
import("./MessagingScreen-
|
|
43
|
-
import("./messaging-
|
|
42
|
+
import("./MessagingScreen-Dg6KgVgn.js"),
|
|
43
|
+
import("./messaging-Bl8xGGUe.js")
|
|
44
44
|
]);
|
|
45
45
|
return { Component: t.default, styles: e.default };
|
|
46
46
|
},
|
|
47
47
|
contacts: async () => {
|
|
48
48
|
const [t, e] = await Promise.all([
|
|
49
|
-
import("./ContactsScreen-
|
|
49
|
+
import("./ContactsScreen-D-cXJmwj.js"),
|
|
50
50
|
import("./contacts-BVcLgWkz.js")
|
|
51
51
|
]);
|
|
52
52
|
return { Component: t.default, styles: e.default };
|
|
53
53
|
},
|
|
54
54
|
"my-site": async () => {
|
|
55
55
|
const [t, e] = await Promise.all([
|
|
56
|
-
import("./MySiteScreen-
|
|
56
|
+
import("./MySiteScreen-BcyOZOdQ.js"),
|
|
57
57
|
import("./mysite-f4Rrey_c.js")
|
|
58
58
|
]);
|
|
59
59
|
return { Component: t.default, styles: e.default };
|
|
@@ -132,7 +132,7 @@ function h(t = "fluid-account-screen", e, s = !1) {
|
|
|
132
132
|
this.status(!1);
|
|
133
133
|
try {
|
|
134
134
|
const [a, i] = await Promise.all([
|
|
135
|
-
import("./mount-account-screen-
|
|
135
|
+
import("./mount-account-screen-DchehZSF.js"),
|
|
136
136
|
w(r)
|
|
137
137
|
]);
|
|
138
138
|
if (!this.isConnected || this.generation !== n) return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Y = Object.defineProperty;
|
|
2
2
|
var Z = (t, e, r) => e in t ? Y(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var v = (t, e, r) => Z(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import {
|
|
4
|
+
import { aQ as O, aP as ee, au as C } from "./account-screen-runtime-CCY1xG25.js";
|
|
5
5
|
function j(t) {
|
|
6
6
|
if (typeof t != "string")
|
|
7
7
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as i } from "./account-screen-runtime-
|
|
2
|
-
import { c as p, a as l } from "./client.gen-
|
|
1
|
+
import { l as i } from "./account-screen-runtime-CCY1xG25.js";
|
|
2
|
+
import { c as p, a as l } from "./client.gen-w-HAml8M.js";
|
|
3
3
|
const c = i.createContext(null), A = c.Provider;
|
|
4
4
|
function E() {
|
|
5
5
|
const e = i.use(c);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
var Us = Object.defineProperty;
|
|
2
2
|
var Gs = (e, n, t) => n in e ? Us(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var q = (e, n, t) => Gs(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import { c as at, l as m, H as Pt, as as Ws, j as i, G as Ks, J as en, O as Gn, K as dt, al as ot, am as Ys, at as Qs, X as le, _ as Ne, n as Xs, Y as Ae, a6 as ii, au as Zs, aj as Wn, $ as Z, an as tn, a7 as ve, av as si, aw as Et, ax as Js, Z as l, a1 as oi, ay as eo, az as to, aA as no, aB as ro, B as ci, ak as di, ar as Fe, ap as Qr, P as ui, aC as mi, a3 as lo, a2 as ao, aD as io, aE as so, ah as oo } from "./account-screen-runtime-
|
|
5
|
-
import { u as hi } from "./PortalTenantClientProvider-
|
|
6
|
-
import { k as fi, l as co, m as uo, n as mo, o as ho, q as fo, r as po, t as vo, u as go, v as yo, w as xo, x as _o, y as bo } from "./hey-api-client-
|
|
7
|
-
import { a as wo, c as Eo, b as $o, u as Fo } from "./translation-api-context-factory-
|
|
8
|
-
import { u as pe, C as $t, f as Xr, o as Ft, d as Tt, s as de, g as Co, n as fn } from "./schemas-
|
|
9
|
-
import { I as nn, B as pi, a as vi, b as Er, c as gi, S as oe, d as zo, e as Mo } from "./sheet-haptics-context-
|
|
10
|
-
import { u as it, r as En, p as Kn, d as No, n as $n, i as Fn, e as Cn, I as Yn, R as yi, b as rn, P as Qn, g as So } from "./MemberManagementProviders-
|
|
11
|
-
import { u as Po } from "./useInfiniteQuery-
|
|
12
|
-
import { u as Zr } from "./countries-api-adapter-
|
|
13
|
-
import { E as Fl, D as xi, a as _i, b as bi, c as kt, i as Cl, P as Xn, g as Zn, h as Jn, j as zl, M as jo } from "./MobileActionSheet-
|
|
14
|
-
import { u as ht, a as Ao } from "./sidebar-
|
|
15
|
-
import { M as Jr, f as Ml, T as zn, R as Ue, e as nt, D as wi, a as Ei, b as $i, i as Do, c as Ho, P as ko } from "./ResponsiveDialog-
|
|
16
|
-
import { T as Fi, C as el, a as Ci, P as zi, b as To, M as Io, B as Lo } from "./Textarea-
|
|
17
|
-
import { P as H, u as Oo } from "./use-store-
|
|
18
|
-
import { S as ln, e as an, f as sn, g as on, h as cn, d as Mi } from "./Select-
|
|
4
|
+
import { c as at, l as m, H as Pt, as as Ws, j as i, G as Ks, J as en, O as Gn, K as dt, al as ot, am as Ys, at as Qs, X as le, _ as Ne, n as Xs, Y as Ae, a6 as ii, au as Zs, aj as Wn, $ as Z, an as tn, a7 as ve, av as si, aw as Et, ax as Js, Z as l, a1 as oi, ay as eo, az as to, aA as no, aB as ro, B as ci, ak as di, ar as Fe, ap as Qr, P as ui, aC as mi, a3 as lo, a2 as ao, aD as io, aE as so, ah as oo } from "./account-screen-runtime-CCY1xG25.js";
|
|
5
|
+
import { u as hi } from "./PortalTenantClientProvider-BEuv6kSA.js";
|
|
6
|
+
import { k as fi, l as co, m as uo, n as mo, o as ho, q as fo, r as po, t as vo, u as go, v as yo, w as xo, x as _o, y as bo } from "./hey-api-client-Dm2hkDoI.js";
|
|
7
|
+
import { a as wo, c as Eo, b as $o, u as Fo } from "./translation-api-context-factory-BvgIQ7Kx.js";
|
|
8
|
+
import { u as pe, C as $t, f as Xr, o as Ft, d as Tt, s as de, g as Co, n as fn } from "./schemas-Cg7EObbC.js";
|
|
9
|
+
import { I as nn, B as pi, a as vi, b as Er, c as gi, S as oe, d as zo, e as Mo } from "./sheet-haptics-context-Ne6R0IeV.js";
|
|
10
|
+
import { u as it, r as En, p as Kn, d as No, n as $n, i as Fn, e as Cn, I as Yn, R as yi, b as rn, P as Qn, g as So } from "./MemberManagementProviders-D_I1530j.js";
|
|
11
|
+
import { u as Po } from "./useInfiniteQuery-BNm7VYEX.js";
|
|
12
|
+
import { u as Zr } from "./countries-api-adapter-lxM2cPcp.js";
|
|
13
|
+
import { E as Fl, D as xi, a as _i, b as bi, c as kt, i as Cl, P as Xn, g as Zn, h as Jn, j as zl, M as jo } from "./MobileActionSheet-DDZqk9Eo.js";
|
|
14
|
+
import { u as ht, a as Ao } from "./sidebar-l4Cov_Nb.js";
|
|
15
|
+
import { M as Jr, f as Ml, T as zn, R as Ue, e as nt, D as wi, a as Ei, b as $i, i as Do, c as Ho, P as ko } from "./ResponsiveDialog-hhAZBsRG.js";
|
|
16
|
+
import { T as Fi, C as el, a as Ci, P as zi, b as To, M as Io, B as Lo } from "./Textarea-DiiN2VUa.js";
|
|
17
|
+
import { P as H, u as Oo } from "./use-store-BfHGqPT0.js";
|
|
18
|
+
import { S as ln, e as an, f as sn, g as on, h as cn, d as Mi } from "./Select-BbnW6Y84.js";
|
|
19
19
|
import { a as jt, b as tl, g as Ni, t as mt, c as et, m as Bo, d as Ro, e as Vo, f as qo, s as $r, h as Si, i as Uo, j as Go, k as Pi, l as Wo, n as Nl, o as Ko, w as Sl, p as Yo, q as lt, r as Qo } from "./isAfter-BR4uNpua.js";
|
|
20
|
-
import { C as Xo, a as Zo, b as Jo, c as e2, d as t2, e as n2, f as r2, g as ji, h as l2 } from "./Combobox-
|
|
21
|
-
import { u as a2 } from "./use-optional-store-
|
|
20
|
+
import { C as Xo, a as Zo, b as Jo, c as e2, d as t2, e as n2, f as r2, g as ji, h as l2 } from "./Combobox-ykwFNIpt.js";
|
|
21
|
+
import { u as a2 } from "./use-optional-store-DAJqLcKr.js";
|
|
22
22
|
/**
|
|
23
23
|
* @license lucide-react v0.575.0 - ISC
|
|
24
24
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as d } from "./use-store-
|
|
1
|
+
import { aR as D, ax as di, l as s, Z as mi } from "./account-screen-runtime-CCY1xG25.js";
|
|
2
|
+
import { P as d } from "./use-store-BfHGqPT0.js";
|
|
3
3
|
const ui = /* @__PURE__ */ new Map([
|
|
4
4
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
5
5
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
@@ -1205,7 +1205,7 @@ const ui = /* @__PURE__ */ new Map([
|
|
|
1205
1205
|
]);
|
|
1206
1206
|
function F(a, i, t) {
|
|
1207
1207
|
const n = vi(a), { webkitRelativePath: p } = a, o = typeof i == "string" ? i : typeof p == "string" && p.length > 0 ? p : `./${a.name}`;
|
|
1208
|
-
return typeof n.path != "string" &&
|
|
1208
|
+
return typeof n.path != "string" && Ia(n, "path", o), Ia(n, "relativePath", o), n;
|
|
1209
1209
|
}
|
|
1210
1210
|
function vi(a) {
|
|
1211
1211
|
const { name: i } = a;
|
|
@@ -1220,7 +1220,7 @@ function vi(a) {
|
|
|
1220
1220
|
}
|
|
1221
1221
|
return a;
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1223
|
+
function Ia(a, i, t) {
|
|
1224
1224
|
Object.defineProperty(a, i, {
|
|
1225
1225
|
value: t,
|
|
1226
1226
|
writable: !1,
|
|
@@ -1237,16 +1237,16 @@ const fi = [
|
|
|
1237
1237
|
];
|
|
1238
1238
|
function xi(a) {
|
|
1239
1239
|
return D(this, void 0, void 0, function* () {
|
|
1240
|
-
return
|
|
1240
|
+
return V(a) && gi(a.dataTransfer) ? wi(a.dataTransfer, a.type) : bi(a) ? hi(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? yi(a) : [];
|
|
1241
1241
|
});
|
|
1242
1242
|
}
|
|
1243
1243
|
function gi(a) {
|
|
1244
|
-
return
|
|
1244
|
+
return V(a);
|
|
1245
1245
|
}
|
|
1246
1246
|
function bi(a) {
|
|
1247
|
-
return
|
|
1247
|
+
return V(a) && V(a.target);
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function V(a) {
|
|
1250
1250
|
return typeof a == "object" && a !== null;
|
|
1251
1251
|
}
|
|
1252
1252
|
function hi(a) {
|
|
@@ -1286,7 +1286,7 @@ function ki(a) {
|
|
|
1286
1286
|
if (typeof a.webkitGetAsEntry != "function")
|
|
1287
1287
|
return La(a);
|
|
1288
1288
|
const i = a.webkitGetAsEntry();
|
|
1289
|
-
return i && i.isDirectory ?
|
|
1289
|
+
return i && i.isDirectory ? Va(i) : La(a, i);
|
|
1290
1290
|
}
|
|
1291
1291
|
function Ja(a) {
|
|
1292
1292
|
return a.reduce((i, t) => [
|
|
@@ -1314,10 +1314,10 @@ function La(a, i) {
|
|
|
1314
1314
|
}
|
|
1315
1315
|
function ji(a) {
|
|
1316
1316
|
return D(this, void 0, void 0, function* () {
|
|
1317
|
-
return a.isDirectory ?
|
|
1317
|
+
return a.isDirectory ? Va(a) : Di(a);
|
|
1318
1318
|
});
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function Va(a) {
|
|
1321
1321
|
const i = a.createReader();
|
|
1322
1322
|
return new Promise((t, n) => {
|
|
1323
1323
|
const p = [];
|
|
@@ -1371,7 +1371,7 @@ function zi() {
|
|
|
1371
1371
|
var Ei = zi();
|
|
1372
1372
|
const ua = /* @__PURE__ */ di(Ei);
|
|
1373
1373
|
function Ka(a) {
|
|
1374
|
-
return Fi(a) || Oi(a) ||
|
|
1374
|
+
return Fi(a) || Oi(a) || Qa(a) || Ai();
|
|
1375
1375
|
}
|
|
1376
1376
|
function Ai() {
|
|
1377
1377
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -1397,24 +1397,24 @@ function Wa(a) {
|
|
|
1397
1397
|
for (var i = 1; i < arguments.length; i++) {
|
|
1398
1398
|
var t = arguments[i] != null ? arguments[i] : {};
|
|
1399
1399
|
i % 2 ? Ha(Object(t), !0).forEach(function(n) {
|
|
1400
|
-
|
|
1400
|
+
Za(a, n, t[n]);
|
|
1401
1401
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Ha(Object(t)).forEach(function(n) {
|
|
1402
1402
|
Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(t, n));
|
|
1403
1403
|
});
|
|
1404
1404
|
}
|
|
1405
1405
|
return a;
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1407
|
+
function Za(a, i, t) {
|
|
1408
1408
|
return i in a ? Object.defineProperty(a, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[i] = t, a;
|
|
1409
1409
|
}
|
|
1410
1410
|
function $(a, i) {
|
|
1411
|
-
return Ci(a) || Pi(a, i) ||
|
|
1411
|
+
return Ci(a) || Pi(a, i) || Qa(a, i) || _i();
|
|
1412
1412
|
}
|
|
1413
1413
|
function _i() {
|
|
1414
1414
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1415
1415
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function Qa(a, i) {
|
|
1418
1418
|
if (a) {
|
|
1419
1419
|
if (typeof a == "string") return xa(a, i);
|
|
1420
1420
|
var t = Object.prototype.toString.call(a).slice(8, -1);
|
|
@@ -1450,7 +1450,7 @@ function Pi(a, i) {
|
|
|
1450
1450
|
function Ci(a) {
|
|
1451
1451
|
if (Array.isArray(a)) return a;
|
|
1452
1452
|
}
|
|
1453
|
-
var qi = typeof ua == "function" ? ua : ua.default, Si = "file-invalid-type", Ti = "file-too-large",
|
|
1453
|
+
var qi = typeof ua == "function" ? ua : ua.default, Si = "file-invalid-type", Ti = "file-too-large", Ri = "file-too-small", Ii = "too-many-files", Mi = function() {
|
|
1454
1454
|
var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = i.split(","), n = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
|
|
1455
1455
|
return {
|
|
1456
1456
|
code: Si,
|
|
@@ -1463,11 +1463,11 @@ var qi = typeof ua == "function" ? ua : ua.default, Si = "file-invalid-type", Ti
|
|
|
1463
1463
|
};
|
|
1464
1464
|
}, Na = function(i) {
|
|
1465
1465
|
return {
|
|
1466
|
-
code:
|
|
1466
|
+
code: Ri,
|
|
1467
1467
|
message: "File is smaller than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
|
|
1468
1468
|
};
|
|
1469
1469
|
}, Li = {
|
|
1470
|
-
code:
|
|
1470
|
+
code: Ii,
|
|
1471
1471
|
message: "Too many files"
|
|
1472
1472
|
};
|
|
1473
1473
|
function Xa(a, i) {
|
|
@@ -1491,11 +1491,11 @@ function j(a) {
|
|
|
1491
1491
|
function $i(a) {
|
|
1492
1492
|
var i = a.files, t = a.accept, n = a.minSize, p = a.maxSize, o = a.multiple, l = a.maxFiles, r = a.validator;
|
|
1493
1493
|
return !o && i.length > 1 || o && l >= 1 && i.length > l ? !1 : i.every(function(x) {
|
|
1494
|
-
var _ = Xa(x, t), P = $(_, 1), C = P[0], q = ai(x, n, p), S = $(q, 1), T = S[0],
|
|
1495
|
-
return C && T && !
|
|
1494
|
+
var _ = Xa(x, t), P = $(_, 1), C = P[0], q = ai(x, n, p), S = $(q, 1), T = S[0], R = r ? r(x) : null;
|
|
1495
|
+
return C && T && !R;
|
|
1496
1496
|
});
|
|
1497
1497
|
}
|
|
1498
|
-
function
|
|
1498
|
+
function Z(a) {
|
|
1499
1499
|
return typeof a.isPropagationStopped == "function" ? a.isPropagationStopped() : typeof a.cancelBubble < "u" ? a.cancelBubble : !1;
|
|
1500
1500
|
}
|
|
1501
1501
|
function J(a) {
|
|
@@ -1523,7 +1523,7 @@ function y() {
|
|
|
1523
1523
|
for (var p = arguments.length, o = new Array(p > 1 ? p - 1 : 0), l = 1; l < p; l++)
|
|
1524
1524
|
o[l - 1] = arguments[l];
|
|
1525
1525
|
return i.some(function(r) {
|
|
1526
|
-
return !
|
|
1526
|
+
return !Z(n) && r && r.apply(void 0, [n].concat(o)), Z(n);
|
|
1527
1527
|
});
|
|
1528
1528
|
};
|
|
1529
1529
|
}
|
|
@@ -1537,7 +1537,7 @@ function Ni(a) {
|
|
|
1537
1537
|
return ii(p) || (console.warn('Skipped "'.concat(p, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), l = !1), (!Array.isArray(o) || !o.every(ti)) && (console.warn('Skipped "'.concat(p, '" because an invalid file extension was provided.')), l = !1), l;
|
|
1538
1538
|
}).reduce(function(t, n) {
|
|
1539
1539
|
var p = $(n, 2), o = p[0], l = p[1];
|
|
1540
|
-
return Wa(Wa({}, t), {},
|
|
1540
|
+
return Wa(Wa({}, t), {}, Za({}, o, l));
|
|
1541
1541
|
}, {});
|
|
1542
1542
|
return [{
|
|
1543
1543
|
// description is required due to https://crbug.com/1264708
|
|
@@ -1568,7 +1568,7 @@ function ii(a) {
|
|
|
1568
1568
|
function ti(a) {
|
|
1569
1569
|
return /^.*\.[\w]+$/.test(a);
|
|
1570
1570
|
}
|
|
1571
|
-
var Ji = ["children"],
|
|
1571
|
+
var Ji = ["children"], Vi = ["open"], Zi = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Qi = ["refKey", "onChange", "onClick"];
|
|
1572
1572
|
function Xi(a) {
|
|
1573
1573
|
return tt(a) || it(a) || ni(a) || at();
|
|
1574
1574
|
}
|
|
@@ -1649,7 +1649,7 @@ function m(a) {
|
|
|
1649
1649
|
function ba(a, i, t) {
|
|
1650
1650
|
return i in a ? Object.defineProperty(a, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[i] = t, a;
|
|
1651
1651
|
}
|
|
1652
|
-
function
|
|
1652
|
+
function Q(a, i) {
|
|
1653
1653
|
if (a == null) return {};
|
|
1654
1654
|
var t = ot(a, i), n, p;
|
|
1655
1655
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1667,7 +1667,7 @@ function ot(a, i) {
|
|
|
1667
1667
|
return t;
|
|
1668
1668
|
}
|
|
1669
1669
|
var ya = /* @__PURE__ */ s.forwardRef(function(a, i) {
|
|
1670
|
-
var t = a.children, n =
|
|
1670
|
+
var t = a.children, n = Q(a, Ji), p = ct(n), o = p.open, l = Q(p, Vi);
|
|
1671
1671
|
return s.useImperativeHandle(i, function() {
|
|
1672
1672
|
return {
|
|
1673
1673
|
open: o
|
|
@@ -1872,15 +1872,15 @@ var ha = {
|
|
|
1872
1872
|
fileRejections: []
|
|
1873
1873
|
};
|
|
1874
1874
|
function ct() {
|
|
1875
|
-
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = m(m({}, ei), a), t = i.accept, n = i.disabled, p = i.getFilesFromEvent, o = i.maxSize, l = i.minSize, r = i.multiple, x = i.maxFiles, _ = i.onDragEnter, P = i.onDragLeave, C = i.onDragOver, q = i.onDrop, S = i.onDropAccepted, T = i.onDropRejected,
|
|
1875
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = m(m({}, ei), a), t = i.accept, n = i.disabled, p = i.getFilesFromEvent, o = i.maxSize, l = i.minSize, r = i.multiple, x = i.maxFiles, _ = i.onDragEnter, P = i.onDragLeave, C = i.onDragOver, q = i.onDrop, S = i.onDropAccepted, T = i.onDropRejected, R = i.onFileDialogCancel, X = i.onFileDialogOpen, wa = i.useFsAccessApi, ka = i.autoFocus, aa = i.preventDropOnDocument, ja = i.noClick, ia = i.noKeyboard, Da = i.noDrag, w = i.noDragEventsBubbling, ta = i.onError, I = i.validator, M = s.useMemo(function() {
|
|
1876
1876
|
return Ui(t);
|
|
1877
1877
|
}, [t]), za = s.useMemo(function() {
|
|
1878
1878
|
return Ni(t);
|
|
1879
1879
|
}, [t]), na = s.useMemo(function() {
|
|
1880
1880
|
return typeof X == "function" ? X : Ga;
|
|
1881
1881
|
}, [X]), K = s.useMemo(function() {
|
|
1882
|
-
return typeof
|
|
1883
|
-
}, [
|
|
1882
|
+
return typeof R == "function" ? R : Ga;
|
|
1883
|
+
}, [R]), f = s.useRef(null), h = s.useRef(null), pi = s.useReducer(lt, ha), Ea = va(pi, 2), ea = Ea[0], g = Ea[1], oi = ea.isFocused, Aa = ea.isFileDialogActive, H = s.useRef(typeof window < "u" && window.isSecureContext && wa && Bi()), Oa = function() {
|
|
1884
1884
|
!H.current && Aa && setTimeout(function() {
|
|
1885
1885
|
if (h.current) {
|
|
1886
1886
|
var c = h.current.files;
|
|
@@ -1910,7 +1910,7 @@ function ct() {
|
|
|
1910
1910
|
ta ? ta(e) : console.error(e);
|
|
1911
1911
|
}, [ta]), _a = s.useCallback(function(e) {
|
|
1912
1912
|
e.preventDefault(), e.persist(), U(e), z.current = [].concat(Xi(z.current), [e.target]), J(e) && Promise.resolve(p(e)).then(function(c) {
|
|
1913
|
-
if (!(
|
|
1913
|
+
if (!(Z(e) && !w)) {
|
|
1914
1914
|
var u = c.length, v = u > 0 && $i({
|
|
1915
1915
|
files: c,
|
|
1916
1916
|
accept: M,
|
|
@@ -1918,7 +1918,7 @@ function ct() {
|
|
|
1918
1918
|
maxSize: o,
|
|
1919
1919
|
multiple: r,
|
|
1920
1920
|
maxFiles: x,
|
|
1921
|
-
validator:
|
|
1921
|
+
validator: I
|
|
1922
1922
|
}), b = u > 0 && !v;
|
|
1923
1923
|
g({
|
|
1924
1924
|
isDragAccept: v,
|
|
@@ -1930,7 +1930,7 @@ function ct() {
|
|
|
1930
1930
|
}).catch(function(c) {
|
|
1931
1931
|
return k(c);
|
|
1932
1932
|
});
|
|
1933
|
-
}, [p, _, k, w, M, l, o, r, x,
|
|
1933
|
+
}, [p, _, k, w, M, l, o, r, x, I]), Pa = s.useCallback(function(e) {
|
|
1934
1934
|
e.preventDefault(), e.persist(), U(e);
|
|
1935
1935
|
var c = J(e);
|
|
1936
1936
|
if (c && e.dataTransfer)
|
|
@@ -1953,7 +1953,7 @@ function ct() {
|
|
|
1953
1953
|
}, [f, P, w]), W = s.useCallback(function(e, c) {
|
|
1954
1954
|
var u = [], v = [];
|
|
1955
1955
|
e.forEach(function(b) {
|
|
1956
|
-
var L = Xa(b, M), O = va(L, 2), oa = O[0], ca = O[1], la = ai(b, l, o), Y = va(la, 2), ra = Y[0], sa = Y[1], da =
|
|
1956
|
+
var L = Xa(b, M), O = va(L, 2), oa = O[0], ca = O[1], la = ai(b, l, o), Y = va(la, 2), ra = Y[0], sa = Y[1], da = I ? I(b) : null;
|
|
1957
1957
|
if (oa && ra && !da)
|
|
1958
1958
|
u.push(b);
|
|
1959
1959
|
else {
|
|
@@ -1976,9 +1976,9 @@ function ct() {
|
|
|
1976
1976
|
isDragReject: v.length > 0,
|
|
1977
1977
|
type: "setFiles"
|
|
1978
1978
|
}), q && q(u, v, c), v.length > 0 && T && T(v, c), u.length > 0 && S && S(u, c);
|
|
1979
|
-
}, [g, r, M, l, o, x, q, S, T,
|
|
1979
|
+
}, [g, r, M, l, o, x, q, S, T, I]), B = s.useCallback(function(e) {
|
|
1980
1980
|
e.preventDefault(), e.persist(), U(e), z.current = [], J(e) && Promise.resolve(p(e)).then(function(c) {
|
|
1981
|
-
|
|
1981
|
+
Z(e) && !w || W(c, e);
|
|
1982
1982
|
}).catch(function(c) {
|
|
1983
1983
|
return k(c);
|
|
1984
1984
|
}), g({
|
|
@@ -2019,7 +2019,7 @@ function ct() {
|
|
|
2019
2019
|
g({
|
|
2020
2020
|
type: "blur"
|
|
2021
2021
|
});
|
|
2022
|
-
}, []),
|
|
2022
|
+
}, []), Ra = s.useCallback(function() {
|
|
2023
2023
|
ja || (Wi() ? setTimeout(E, 0) : E());
|
|
2024
2024
|
}, [ja, E]), A = function(c) {
|
|
2025
2025
|
return n ? null : c;
|
|
@@ -2031,12 +2031,12 @@ function ct() {
|
|
|
2031
2031
|
w && c.stopPropagation();
|
|
2032
2032
|
}, ci = s.useMemo(function() {
|
|
2033
2033
|
return function() {
|
|
2034
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = e.refKey, u = c === void 0 ? "ref" : c, v = e.role, b = e.onKeyDown, L = e.onFocus, O = e.onBlur, oa = e.onClick, ca = e.onDragEnter, la = e.onDragOver, Y = e.onDragLeave, ra = e.onDrop, sa =
|
|
2034
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = e.refKey, u = c === void 0 ? "ref" : c, v = e.role, b = e.onKeyDown, L = e.onFocus, O = e.onBlur, oa = e.onClick, ca = e.onDragEnter, la = e.onDragOver, Y = e.onDragLeave, ra = e.onDrop, sa = Q(e, Zi);
|
|
2035
2035
|
return m(m(ba({
|
|
2036
2036
|
onKeyDown: pa(y(b, qa)),
|
|
2037
2037
|
onFocus: pa(y(L, Sa)),
|
|
2038
2038
|
onBlur: pa(y(O, Ta)),
|
|
2039
|
-
onClick: A(y(oa,
|
|
2039
|
+
onClick: A(y(oa, Ra)),
|
|
2040
2040
|
onDragEnter: N(y(ca, _a)),
|
|
2041
2041
|
onDragOver: N(y(la, Pa)),
|
|
2042
2042
|
onDragLeave: N(y(Y, Ca)),
|
|
@@ -2046,11 +2046,11 @@ function ct() {
|
|
|
2046
2046
|
tabIndex: 0
|
|
2047
2047
|
} : {}), sa);
|
|
2048
2048
|
};
|
|
2049
|
-
}, [f, qa, Sa, Ta,
|
|
2049
|
+
}, [f, qa, Sa, Ta, Ra, _a, Pa, Ca, B, ia, Da, n]), li = s.useCallback(function(e) {
|
|
2050
2050
|
e.stopPropagation();
|
|
2051
2051
|
}, []), ri = s.useMemo(function() {
|
|
2052
2052
|
return function() {
|
|
2053
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = e.refKey, u = c === void 0 ? "ref" : c, v = e.onChange, b = e.onClick, L =
|
|
2053
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = e.refKey, u = c === void 0 ? "ref" : c, v = e.onChange, b = e.onClick, L = Q(e, Qi), O = ba({
|
|
2054
2054
|
accept: M,
|
|
2055
2055
|
multiple: r,
|
|
2056
2056
|
type: "file",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c, l as p, as as $, N as H, j as i, G as I, M as E, J as y, K as b, O as R, X as m } from "./account-screen-runtime-
|
|
2
|
-
import { u as M, v as z, w as P } from "./MobileActionSheet-
|
|
3
|
-
import { k as F, M as G, a as U } from "./index-
|
|
1
|
+
import { c, l as p, as as $, N as H, j as i, G as I, M as E, J as y, K as b, O as R, X as m } from "./account-screen-runtime-CCY1xG25.js";
|
|
2
|
+
import { u as M, v as z, w as P } from "./MobileActionSheet-DDZqk9Eo.js";
|
|
3
|
+
import { k as F, M as G, a as U } from "./index-uk-PtND-.js";
|
|
4
4
|
/**
|
|
5
5
|
* @license lucide-react v0.575.0 - ISC
|
|
6
6
|
*
|