@feedmepos/mf-payment 1.9.2-dev → 1.9.3-dev
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/{Actions.vue_vue_type_script_setup_true_lang-Cj53GO_N.js → Actions.vue_vue_type_script_setup_true_lang-C9cv5yKo.js} +1 -1
- package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-wKI4THJI.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-NKO6-sgg.js} +3 -3
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-F4XF1EBH.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-uhnNKle-.js} +2 -2
- package/dist/{Chargeback-Q9TwfBua.js → Chargeback-C5c2ggX9.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-BoA7oU4w.js → DocumentViewer.vue_vue_type_script_setup_true_lang-DbDKfWJX.js} +1 -1
- package/dist/ExternalTerminal-Cd_azqjT.js +502 -0
- package/dist/{OnboardForm-BqR1LMiZ.js → OnboardForm-COJfmIJt.js} +6 -6
- package/dist/{OnboardForm-JO-C9g8W.js → OnboardForm-CVuu8ixt.js} +6 -6
- package/dist/{OnboardSubmission-CHT-P-Ic.js → OnboardSubmission-CuH1DxWt.js} +3 -3
- package/dist/{OnboardSubmission-CN5Tj-jX.js → OnboardSubmission-Tl3HQgov.js} +6 -6
- package/dist/{PayoutAccount-BWLfwV2s.js → PayoutAccount-CmHNLOdq.js} +5 -5
- package/dist/{PayoutAccount-DAhF8-VH.js → PayoutAccount-PXQSHup9.js} +7 -7
- package/dist/{PayoutAccountSetting-C0UFWM2S.js → PayoutAccountSetting-cV5Ts_Qq.js} +6 -6
- package/dist/{Restaurant-DVMOyNO2.js → Restaurant-LzRSv42P.js} +4 -4
- package/dist/{RestaurantSetting-BmUp1cQC.js → RestaurantSetting-CsnW19gh.js} +3 -3
- package/dist/{Settlement-C1PNJ1An.js → Settlement-BycHPszE.js} +3 -3
- package/dist/{Settlement-D6aPHxlg.js → Settlement-eq9msmbN.js} +4 -4
- package/dist/{SettlementTransactions-9T0Bf8En.js → SettlementTransactions-BiDjpqc3.js} +5 -5
- package/dist/{SettlementTransactions-DFxZEQ60.js → SettlementTransactions-Ccm_gaYg.js} +5 -5
- package/dist/{Status.vue_vue_type_script_setup_true_lang-BFY-fAA2.js → Status.vue_vue_type_script_setup_true_lang-DuVSuCqQ.js} +1 -1
- package/dist/{Terminal-C2DGfldl.js → Terminal-ZRi75g3B.js} +386 -387
- package/dist/{TerminalSetting-BJNeeFK7.js → TerminalSetting-CpIOhxYF.js} +5 -5
- package/dist/{Transaction-DwgWU5Ad.js → Transaction-ClDKUNW6.js} +10 -10
- package/dist/{Transaction-CeBgamlO.js → Transaction-Dfty1Pkq.js} +11 -11
- package/dist/{TransactionOld-CqyshxAx.js → TransactionOld-CkoAQGox.js} +7 -7
- package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-m6NY2_t1.js → TransactionStatus.vue_vue_type_script_setup_true_lang-BU1aDd8a.js} +1 -1
- package/dist/api/external-terminal/index.d.ts +13 -0
- package/dist/{app-BNOT8745.js → app-BO87oXyA.js} +279 -270
- package/dist/app.js +1 -1
- package/dist/{assets-DEgje5FK.js → assets-CEy6OF2t.js} +1 -1
- package/dist/{grafana-RTLPQTk6.js → grafana-BL6EdH24.js} +1 -1
- package/dist/{index-C1Xfilha.js → index--870P92-.js} +2 -2
- package/dist/{index-BgHlIItQ.js → index-By1YYoRG.js} +1 -1
- package/dist/{index-DE270fHE.js → index-CAd13T_z.js} +1 -1
- package/dist/{index-C1quqYTh.js → index-CGfEnp2P.js} +1 -1
- package/dist/{index-BisMRIXk.js → index-CXpoEy-p.js} +1 -1
- package/dist/{index-CXRxF0Ou.js → index-DEPKBu9W.js} +1 -1
- package/dist/{index-BC32-A2y.js → index-NcS-Zyhu.js} +1 -1
- package/dist/{index-DbzekTz-.js → index-nn5zFo8I.js} +1 -1
- package/dist/{index-Bq9WMucY.js → index-zzOpgyK_.js} +3080 -3021
- package/dist/{index.vue_vue_type_script_setup_true_lang-4Dnkhy4y.js → index.vue_vue_type_script_setup_true_lang-DZQR-ukK.js} +1 -1
- package/dist/{onboard-submission-CsuFLqQF.js → onboard-submission-29LM4jfB.js} +1 -1
- package/dist/package.json +3 -3
- package/dist/{payout-account-C1mPet3p.js → payout-account-HS9MHh85.js} +3 -3
- package/dist/stores/payoutAccount.d.ts +20 -20
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/external-terminal/ExternalTerminal.vue.d.ts +2 -0
- package/dist/views/admin/external-terminal/ExternalTerminalDialog.vue.d.ts +65 -0
- package/dist/views/admin/external-terminal/ExternalTerminalPairDialog.vue.d.ts +67 -0
- package/dist/views/admin/external-terminal/cell/Actions.vue.d.ts +14 -0
- package/dist/views/admin/external-terminal/cell/ID.vue.d.ts +7 -0
- package/dist/views/admin/external-terminal/pair/BRITerminal.vue.d.ts +76 -0
- package/dist/views/admin/external-terminal/pair/BeamTerminal.vue.d.ts +76 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +20 -20
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +42 -42
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +42 -42
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +20 -20
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +20 -20
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +42 -42
- package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/BeamGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/MaybankGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/MonetapayGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +2 -2
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/PaymentCheckout.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +18 -20
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +18 -20
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +40 -40
- package/package.json +2 -2
|
@@ -1256,12 +1256,12 @@ function ca(t, e, n) {
|
|
|
1256
1256
|
shallow: a = !0,
|
|
1257
1257
|
onError: c = oa
|
|
1258
1258
|
} = r, l = St(!s), A = a ? Ni(e) : St(e);
|
|
1259
|
-
let
|
|
1259
|
+
let f = 0;
|
|
1260
1260
|
return Hi(async (p) => {
|
|
1261
1261
|
if (!l.value)
|
|
1262
1262
|
return;
|
|
1263
|
-
|
|
1264
|
-
const B =
|
|
1263
|
+
f++;
|
|
1264
|
+
const B = f;
|
|
1265
1265
|
let w = !1;
|
|
1266
1266
|
i && Promise.resolve().then(() => {
|
|
1267
1267
|
i.value = !0;
|
|
@@ -1272,11 +1272,11 @@ function ca(t, e, n) {
|
|
|
1272
1272
|
i && (i.value = !1), w || I();
|
|
1273
1273
|
});
|
|
1274
1274
|
});
|
|
1275
|
-
B ===
|
|
1275
|
+
B === f && (A.value = O);
|
|
1276
1276
|
} catch (O) {
|
|
1277
1277
|
c(O);
|
|
1278
1278
|
} finally {
|
|
1279
|
-
i && B ===
|
|
1279
|
+
i && B === f && (i.value = !1), w = !0;
|
|
1280
1280
|
}
|
|
1281
1281
|
}), s ? Nn(() => (l.value = !0, A.value)) : A;
|
|
1282
1282
|
}
|
|
@@ -1348,16 +1348,16 @@ var rs = { exports: {} };
|
|
|
1348
1348
|
},
|
|
1349
1349
|
function(n, r, s) {
|
|
1350
1350
|
function i(u) {
|
|
1351
|
-
return (i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1352
|
-
return typeof
|
|
1353
|
-
} : function(
|
|
1354
|
-
return
|
|
1351
|
+
return (i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
|
|
1352
|
+
return typeof m;
|
|
1353
|
+
} : function(m) {
|
|
1354
|
+
return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
|
|
1355
1355
|
})(u);
|
|
1356
1356
|
}
|
|
1357
1357
|
function a(u) {
|
|
1358
|
-
var
|
|
1358
|
+
var m = "[object " + u + "]";
|
|
1359
1359
|
return function(g) {
|
|
1360
|
-
return Object.prototype.toString.call(g) ===
|
|
1360
|
+
return Object.prototype.toString.call(g) === m;
|
|
1361
1361
|
};
|
|
1362
1362
|
}
|
|
1363
1363
|
s.r(r), s.d(r, "default", function() {
|
|
@@ -1368,99 +1368,99 @@ var rs = { exports: {} };
|
|
|
1368
1368
|
return q;
|
|
1369
1369
|
});
|
|
1370
1370
|
var c = a("Array"), l = a("Object"), A = a("Function");
|
|
1371
|
-
function
|
|
1372
|
-
return A(u.get) ? u.get(
|
|
1371
|
+
function f(u, m) {
|
|
1372
|
+
return A(u.get) ? u.get(m) : u[m];
|
|
1373
1373
|
}
|
|
1374
1374
|
function p(u) {
|
|
1375
|
-
return function(
|
|
1376
|
-
if (!c(g) || !g.length) return u(
|
|
1375
|
+
return function(m, g) {
|
|
1376
|
+
if (!c(g) || !g.length) return u(m, g);
|
|
1377
1377
|
for (var y = 0, b = g.length; y < b; y++)
|
|
1378
|
-
if (u(
|
|
1378
|
+
if (u(m, f(g, y))) return !0;
|
|
1379
1379
|
return !1;
|
|
1380
1380
|
};
|
|
1381
1381
|
}
|
|
1382
1382
|
function B(u) {
|
|
1383
|
-
return function(
|
|
1384
|
-
if (!c(g) || !g.length) return u(
|
|
1383
|
+
return function(m, g) {
|
|
1384
|
+
if (!c(g) || !g.length) return u(m, g);
|
|
1385
1385
|
for (var y = 0, b = g.length; y < b; y++)
|
|
1386
|
-
if (!u(
|
|
1386
|
+
if (!u(m, f(g, y))) return !1;
|
|
1387
1387
|
return !0;
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
|
-
function w(u,
|
|
1391
|
-
return u.validate(u.options,
|
|
1390
|
+
function w(u, m, g, y) {
|
|
1391
|
+
return u.validate(u.options, m, g, y);
|
|
1392
1392
|
}
|
|
1393
1393
|
var O = {
|
|
1394
|
-
$eq: p(function(u,
|
|
1395
|
-
return u(
|
|
1394
|
+
$eq: p(function(u, m) {
|
|
1395
|
+
return u(m);
|
|
1396
1396
|
}),
|
|
1397
|
-
$ne: B(function(u,
|
|
1398
|
-
return u(
|
|
1397
|
+
$ne: B(function(u, m) {
|
|
1398
|
+
return u(m);
|
|
1399
1399
|
}),
|
|
1400
|
-
$gt: p(function(u,
|
|
1401
|
-
return u(
|
|
1400
|
+
$gt: p(function(u, m) {
|
|
1401
|
+
return u(m);
|
|
1402
1402
|
}),
|
|
1403
|
-
$gte: p(function(u,
|
|
1404
|
-
return u(
|
|
1403
|
+
$gte: p(function(u, m) {
|
|
1404
|
+
return u(m);
|
|
1405
1405
|
}),
|
|
1406
|
-
$lt: p(function(u,
|
|
1407
|
-
return u(
|
|
1406
|
+
$lt: p(function(u, m) {
|
|
1407
|
+
return u(m);
|
|
1408
1408
|
}),
|
|
1409
|
-
$lte: p(function(u,
|
|
1410
|
-
return u(
|
|
1409
|
+
$lte: p(function(u, m) {
|
|
1410
|
+
return u(m);
|
|
1411
1411
|
}),
|
|
1412
|
-
$mod: p(function(u,
|
|
1413
|
-
return u(
|
|
1412
|
+
$mod: p(function(u, m) {
|
|
1413
|
+
return u(m);
|
|
1414
1414
|
}),
|
|
1415
|
-
$in: function(u,
|
|
1416
|
-
return u(
|
|
1415
|
+
$in: function(u, m) {
|
|
1416
|
+
return u(m);
|
|
1417
1417
|
},
|
|
1418
|
-
$nin: function(u,
|
|
1419
|
-
return u(
|
|
1418
|
+
$nin: function(u, m) {
|
|
1419
|
+
return u(m);
|
|
1420
1420
|
},
|
|
1421
|
-
$not: function(u,
|
|
1422
|
-
return u(
|
|
1421
|
+
$not: function(u, m, g, y) {
|
|
1422
|
+
return u(m, g, y);
|
|
1423
1423
|
},
|
|
1424
|
-
$type: function(u,
|
|
1425
|
-
return u(
|
|
1424
|
+
$type: function(u, m) {
|
|
1425
|
+
return u(m);
|
|
1426
1426
|
},
|
|
1427
|
-
$all: function(u,
|
|
1428
|
-
return O.$and(u,
|
|
1427
|
+
$all: function(u, m, g, y) {
|
|
1428
|
+
return O.$and(u, m, g, y);
|
|
1429
1429
|
},
|
|
1430
|
-
$size: function(u,
|
|
1431
|
-
return !!
|
|
1430
|
+
$size: function(u, m) {
|
|
1431
|
+
return !!m && u === m.length;
|
|
1432
1432
|
},
|
|
1433
|
-
$or: function(u,
|
|
1433
|
+
$or: function(u, m, g, y) {
|
|
1434
1434
|
for (var b = 0, E = u.length; b < E; b++)
|
|
1435
|
-
if (w(
|
|
1435
|
+
if (w(f(u, b), m, g, y)) return !0;
|
|
1436
1436
|
return !1;
|
|
1437
1437
|
},
|
|
1438
|
-
$nor: function(u,
|
|
1439
|
-
return !O.$or(u,
|
|
1438
|
+
$nor: function(u, m, g, y) {
|
|
1439
|
+
return !O.$or(u, m, g, y);
|
|
1440
1440
|
},
|
|
1441
|
-
$and: function(u,
|
|
1441
|
+
$and: function(u, m, g, y) {
|
|
1442
1442
|
for (var b = 0, E = u.length; b < E; b++)
|
|
1443
|
-
if (!w(
|
|
1443
|
+
if (!w(f(u, b), m, g, y)) return !1;
|
|
1444
1444
|
return !0;
|
|
1445
1445
|
},
|
|
1446
|
-
$regex: p(function(u,
|
|
1447
|
-
return typeof
|
|
1446
|
+
$regex: p(function(u, m) {
|
|
1447
|
+
return typeof m == "string" && u.test(m);
|
|
1448
1448
|
}),
|
|
1449
|
-
$where: function(u,
|
|
1450
|
-
return u.call(
|
|
1449
|
+
$where: function(u, m, g, y) {
|
|
1450
|
+
return u.call(m, m, g, y);
|
|
1451
1451
|
},
|
|
1452
|
-
$elemMatch: function(u,
|
|
1453
|
-
return c(
|
|
1452
|
+
$elemMatch: function(u, m, g, y) {
|
|
1453
|
+
return c(m) ? !!~function(b, E) {
|
|
1454
1454
|
for (var P = 0; P < b.length; P++)
|
|
1455
|
-
if (
|
|
1455
|
+
if (f(b, P), w(E, f(b, P))) return P;
|
|
1456
1456
|
return -1;
|
|
1457
|
-
}(
|
|
1457
|
+
}(m, u) : w(u, m, g, y);
|
|
1458
1458
|
},
|
|
1459
|
-
$exists: function(u,
|
|
1459
|
+
$exists: function(u, m, g, y) {
|
|
1460
1460
|
return y.hasOwnProperty(g) === u;
|
|
1461
1461
|
}
|
|
1462
1462
|
}, I = {
|
|
1463
|
-
$eq: function(u,
|
|
1463
|
+
$eq: function(u, m, g) {
|
|
1464
1464
|
var y = g.comparable, b = g.compare;
|
|
1465
1465
|
return u instanceof RegExp ? p(function(E) {
|
|
1466
1466
|
return typeof E == "string" && u.test(E);
|
|
@@ -1474,31 +1474,31 @@ var rs = { exports: {} };
|
|
|
1474
1474
|
}
|
|
1475
1475
|
);
|
|
1476
1476
|
},
|
|
1477
|
-
$gt: function(u,
|
|
1477
|
+
$gt: function(u, m, g) {
|
|
1478
1478
|
var y = g.comparable, b = g.compare;
|
|
1479
1479
|
return function(E) {
|
|
1480
1480
|
return b(y(E), y(u)) > 0;
|
|
1481
1481
|
};
|
|
1482
1482
|
},
|
|
1483
|
-
$gte: function(u,
|
|
1483
|
+
$gte: function(u, m, g) {
|
|
1484
1484
|
var y = g.comparable, b = g.compare;
|
|
1485
1485
|
return function(E) {
|
|
1486
1486
|
return b(y(E), y(u)) >= 0;
|
|
1487
1487
|
};
|
|
1488
1488
|
},
|
|
1489
|
-
$lt: function(u,
|
|
1489
|
+
$lt: function(u, m, g) {
|
|
1490
1490
|
var y = g.comparable, b = g.compare;
|
|
1491
1491
|
return function(E) {
|
|
1492
1492
|
return b(y(E), y(u)) < 0;
|
|
1493
1493
|
};
|
|
1494
1494
|
},
|
|
1495
|
-
$lte: function(u,
|
|
1495
|
+
$lte: function(u, m, g) {
|
|
1496
1496
|
var y = g.comparable, b = g.compare;
|
|
1497
1497
|
return function(E) {
|
|
1498
1498
|
return b(y(E), y(u)) <= 0;
|
|
1499
1499
|
};
|
|
1500
1500
|
},
|
|
1501
|
-
$in: function(u,
|
|
1501
|
+
$in: function(u, m, g) {
|
|
1502
1502
|
var y = g.comparable;
|
|
1503
1503
|
return function(b) {
|
|
1504
1504
|
if (!(b instanceof Array)) {
|
|
@@ -1512,59 +1512,59 @@ var rs = { exports: {} };
|
|
|
1512
1512
|
for (j = u.length; j--; ) if (u[j] == null) return !0;
|
|
1513
1513
|
}
|
|
1514
1514
|
for (j = u.length; j--; ) {
|
|
1515
|
-
var P = w(H(
|
|
1515
|
+
var P = w(H(f(u, j), g), E, j, u);
|
|
1516
1516
|
if (P && String(P) !== "[object Object]" && String(E) !== "[object Object]")
|
|
1517
1517
|
return !0;
|
|
1518
1518
|
}
|
|
1519
1519
|
return !!~u.indexOf(E);
|
|
1520
1520
|
}
|
|
1521
1521
|
for (var j = b.length; j--; )
|
|
1522
|
-
if (~u.indexOf(y(
|
|
1522
|
+
if (~u.indexOf(y(f(b, j)))) return !0;
|
|
1523
1523
|
return !1;
|
|
1524
1524
|
};
|
|
1525
1525
|
},
|
|
1526
|
-
$nin: function(u,
|
|
1527
|
-
var y = I.$in(u,
|
|
1526
|
+
$nin: function(u, m, g) {
|
|
1527
|
+
var y = I.$in(u, m, g);
|
|
1528
1528
|
return function(b, E, P, j) {
|
|
1529
1529
|
return !y(b, E, P, j);
|
|
1530
1530
|
};
|
|
1531
1531
|
},
|
|
1532
1532
|
$mod: function(u) {
|
|
1533
|
-
return function(
|
|
1534
|
-
return
|
|
1533
|
+
return function(m) {
|
|
1534
|
+
return m % u[0] == u[1];
|
|
1535
1535
|
};
|
|
1536
1536
|
},
|
|
1537
|
-
$ne: function(u,
|
|
1538
|
-
var y = I.$eq(u,
|
|
1537
|
+
$ne: function(u, m, g) {
|
|
1538
|
+
var y = I.$eq(u, m, g);
|
|
1539
1539
|
return B(function(b, E, P, j) {
|
|
1540
1540
|
return !y(b, E, P, j);
|
|
1541
1541
|
});
|
|
1542
1542
|
},
|
|
1543
|
-
$and: function(u,
|
|
1543
|
+
$and: function(u, m, g) {
|
|
1544
1544
|
return u.map(Y(g));
|
|
1545
1545
|
},
|
|
1546
|
-
$all: function(u,
|
|
1547
|
-
return I.$and(u,
|
|
1546
|
+
$all: function(u, m, g) {
|
|
1547
|
+
return I.$and(u, m, g);
|
|
1548
1548
|
},
|
|
1549
|
-
$or: function(u,
|
|
1549
|
+
$or: function(u, m, g) {
|
|
1550
1550
|
return u.map(Y(g));
|
|
1551
1551
|
},
|
|
1552
|
-
$nor: function(u,
|
|
1552
|
+
$nor: function(u, m, g) {
|
|
1553
1553
|
return u.map(Y(g));
|
|
1554
1554
|
},
|
|
1555
|
-
$not: function(u,
|
|
1555
|
+
$not: function(u, m, g) {
|
|
1556
1556
|
var y = Y(g)(u);
|
|
1557
1557
|
return function(b, E, P) {
|
|
1558
1558
|
return !w(y, b, E, P);
|
|
1559
1559
|
};
|
|
1560
1560
|
},
|
|
1561
1561
|
$type: function(u) {
|
|
1562
|
-
return function(
|
|
1563
|
-
return
|
|
1562
|
+
return function(m, g, y) {
|
|
1563
|
+
return m != null && (m instanceof u || m.constructor == u);
|
|
1564
1564
|
};
|
|
1565
1565
|
},
|
|
1566
|
-
$regex: function(u,
|
|
1567
|
-
return new RegExp(u,
|
|
1566
|
+
$regex: function(u, m) {
|
|
1567
|
+
return new RegExp(u, m.$options);
|
|
1568
1568
|
},
|
|
1569
1569
|
$where: function(u) {
|
|
1570
1570
|
if (typeof u == "function") return u;
|
|
@@ -1572,26 +1572,26 @@ var rs = { exports: {} };
|
|
|
1572
1572
|
'In CSP mode, sift does not support strings in "$where" condition'
|
|
1573
1573
|
);
|
|
1574
1574
|
},
|
|
1575
|
-
$elemMatch: function(u,
|
|
1575
|
+
$elemMatch: function(u, m, g) {
|
|
1576
1576
|
return Y(g)(u);
|
|
1577
1577
|
},
|
|
1578
1578
|
$exists: function(u) {
|
|
1579
1579
|
return !!u;
|
|
1580
1580
|
}
|
|
1581
1581
|
};
|
|
1582
|
-
function V(u,
|
|
1583
|
-
return { options: u, validate:
|
|
1582
|
+
function V(u, m) {
|
|
1583
|
+
return { options: u, validate: m };
|
|
1584
1584
|
}
|
|
1585
|
-
function R(u,
|
|
1585
|
+
function R(u, m) {
|
|
1586
1586
|
var g = u.keyPath, y = u.child, b = u.query, E = [];
|
|
1587
|
-
if (function tr(Ce,
|
|
1588
|
-
if (gt ===
|
|
1589
|
-
return void ln.push([Ce,
|
|
1590
|
-
var nr =
|
|
1587
|
+
if (function tr(Ce, ft, gt, Fi, ln) {
|
|
1588
|
+
if (gt === ft.length || Ce == null)
|
|
1589
|
+
return void ln.push([Ce, ft[gt - 1], Fi]);
|
|
1590
|
+
var nr = f(ft, gt);
|
|
1591
1591
|
if (c(Ce) && isNaN(Number(nr)))
|
|
1592
|
-
for (var An = 0, ki = Ce.length; An < ki; An++) tr(
|
|
1593
|
-
else tr(
|
|
1594
|
-
}(
|
|
1592
|
+
for (var An = 0, ki = Ce.length; An < ki; An++) tr(f(Ce, An), ft, gt, Ce, ln);
|
|
1593
|
+
else tr(f(Ce, nr), ft, gt + 1, Ce, ln);
|
|
1594
|
+
}(m, g, 0, m, E), E.length === 1) {
|
|
1595
1595
|
var P = E[0];
|
|
1596
1596
|
return w(y, P[0], P[1], P[2]);
|
|
1597
1597
|
}
|
|
@@ -1601,21 +1601,21 @@ var rs = { exports: {} };
|
|
|
1601
1601
|
}
|
|
1602
1602
|
return W;
|
|
1603
1603
|
}
|
|
1604
|
-
function Q(u,
|
|
1605
|
-
return V({ keyPath: u, child:
|
|
1604
|
+
function Q(u, m, g) {
|
|
1605
|
+
return V({ keyPath: u, child: m, query: g }, R);
|
|
1606
1606
|
}
|
|
1607
1607
|
function Y(u) {
|
|
1608
|
-
var
|
|
1608
|
+
var m = u.comparable, g = u.expressions, y = function(P) {
|
|
1609
1609
|
var j;
|
|
1610
1610
|
return (!P || !(j = P) || j.constructor !== Object && j.constructor !== Array && j.constructor.toString() !== "function Object() { [native code] }" && j.constructor.toString() !== "function Array() { [native code] }" || j.toJSON) && (P = { $eq: P }), P;
|
|
1611
1611
|
}, b = function(P) {
|
|
1612
|
-
P =
|
|
1612
|
+
P = m(P);
|
|
1613
1613
|
var j = [];
|
|
1614
1614
|
for (var W in P) {
|
|
1615
1615
|
var _ = P[W];
|
|
1616
1616
|
if (W !== "$options") {
|
|
1617
1617
|
var he = O[W] || u && g && g[W];
|
|
1618
|
-
if (he) I[W] && (_ = I[W](_, P, u)), j.push(V(
|
|
1618
|
+
if (he) I[W] && (_ = I[W](_, P, u)), j.push(V(m(_), he));
|
|
1619
1619
|
else {
|
|
1620
1620
|
if (W.charCodeAt(0) === 36)
|
|
1621
1621
|
throw new Error("Unknown operation " + W);
|
|
@@ -1636,42 +1636,42 @@ var rs = { exports: {} };
|
|
|
1636
1636
|
return b(y(P));
|
|
1637
1637
|
};
|
|
1638
1638
|
}
|
|
1639
|
-
function v(u,
|
|
1640
|
-
if (Object.prototype.toString.call(u) !== Object.prototype.toString.call(
|
|
1639
|
+
function v(u, m) {
|
|
1640
|
+
if (Object.prototype.toString.call(u) !== Object.prototype.toString.call(m))
|
|
1641
1641
|
return !1;
|
|
1642
1642
|
if (l(u)) {
|
|
1643
|
-
if (Object.keys(u).length !== Object.keys(
|
|
1644
|
-
for (var g in u) if (!v(u[g],
|
|
1643
|
+
if (Object.keys(u).length !== Object.keys(m).length) return !1;
|
|
1644
|
+
for (var g in u) if (!v(u[g], m[g])) return !1;
|
|
1645
1645
|
return !0;
|
|
1646
1646
|
}
|
|
1647
1647
|
if (c(u)) {
|
|
1648
|
-
if (u.length !==
|
|
1648
|
+
if (u.length !== m.length) return !1;
|
|
1649
1649
|
for (var y = 0, b = u.length; y < b; y++)
|
|
1650
|
-
if (!v(u[y],
|
|
1650
|
+
if (!v(u[y], m[y])) return !1;
|
|
1651
1651
|
return !0;
|
|
1652
1652
|
}
|
|
1653
|
-
return u ===
|
|
1653
|
+
return u === m;
|
|
1654
1654
|
}
|
|
1655
|
-
function H(u,
|
|
1656
|
-
var g = Y(
|
|
1657
|
-
return
|
|
1655
|
+
function H(u, m) {
|
|
1656
|
+
var g = Y(m)(u);
|
|
1657
|
+
return m && m.select && (g = {
|
|
1658
1658
|
options: g,
|
|
1659
1659
|
validate: function(y, b, E, P) {
|
|
1660
|
-
return w(y, b &&
|
|
1660
|
+
return w(y, b && m.select(b), E, P);
|
|
1661
1661
|
}
|
|
1662
1662
|
}), g;
|
|
1663
1663
|
}
|
|
1664
|
-
function U(u,
|
|
1665
|
-
var g = H(u,
|
|
1664
|
+
function U(u, m) {
|
|
1665
|
+
var g = H(u, m = Object.assign({ compare: ee, comparable: q }, m));
|
|
1666
1666
|
return function(y, b, E) {
|
|
1667
1667
|
return w(g, y, b, E);
|
|
1668
1668
|
};
|
|
1669
1669
|
}
|
|
1670
|
-
function ee(u,
|
|
1671
|
-
if (v(u,
|
|
1672
|
-
if (i(u) === i(
|
|
1673
|
-
if (u >
|
|
1674
|
-
if (u <
|
|
1670
|
+
function ee(u, m) {
|
|
1671
|
+
if (v(u, m)) return 0;
|
|
1672
|
+
if (i(u) === i(m)) {
|
|
1673
|
+
if (u > m) return 1;
|
|
1674
|
+
if (u < m) return -1;
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
1677
|
function q(u) {
|
|
@@ -1689,10 +1689,10 @@ function ha(t, e) {
|
|
|
1689
1689
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1692
|
+
function ma(t, e, n) {
|
|
1693
1693
|
return e && ha(t.prototype, e), t;
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function fa(t, e) {
|
|
1696
1696
|
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, t.__proto__ = e;
|
|
1697
1697
|
}
|
|
1698
1698
|
function wn(t) {
|
|
@@ -1757,7 +1757,7 @@ function ir(t) {
|
|
|
1757
1757
|
var ss = function(e) {
|
|
1758
1758
|
return 'Cannot execute "' + e.action + '" on "' + e.subjectName + '"';
|
|
1759
1759
|
}, Ft = ss, ya = /* @__PURE__ */ function(t) {
|
|
1760
|
-
|
|
1760
|
+
fa(e, t), e.setDefaultMessage = function(s) {
|
|
1761
1761
|
s === null ? Ft = ss : Ft = typeof s == "string" ? function() {
|
|
1762
1762
|
return s;
|
|
1763
1763
|
} : s;
|
|
@@ -1875,13 +1875,13 @@ var Oa = /* @__PURE__ */ function() {
|
|
|
1875
1875
|
return process.env.NODE_ENV !== "production" && i.isAllInverted && r.length && console.warn("[casl]: Ability contains only inverted rules. That means user will not be able to do any actions. This will be changed to Error throw in the next major version"), this[te].indexedRules = i.rules, this[te].hasPerFieldRules = i.hasPerFieldRules, this.emit("updated", s), this;
|
|
1876
1876
|
}, e.buildIndexFor = function(r) {
|
|
1877
1877
|
for (var s = /* @__PURE__ */ Object.create(null), i = this[te].RuleType, a = !0, c = !1, l = 0; l < r.length; l++) {
|
|
1878
|
-
var A = new i(r[l]),
|
|
1878
|
+
var A = new i(r[l]), f = this.expandActions(A.actions), p = Dn(A.subject), B = r.length - l - 1;
|
|
1879
1879
|
a = !!(a && A.inverted), !c && A.fields && (c = !0);
|
|
1880
1880
|
for (var w = 0; w < p.length; w++) {
|
|
1881
1881
|
var O = p[w];
|
|
1882
1882
|
s[O] = s[O] || /* @__PURE__ */ Object.create(null);
|
|
1883
|
-
for (var I = 0; I <
|
|
1884
|
-
var V =
|
|
1883
|
+
for (var I = 0; I < f.length; I++) {
|
|
1884
|
+
var V = f[I];
|
|
1885
1885
|
s[O][V] = s[O][V] || /* @__PURE__ */ Object.create(null), s[O][V][B] = A;
|
|
1886
1886
|
}
|
|
1887
1887
|
}
|
|
@@ -1942,7 +1942,7 @@ var Oa = /* @__PURE__ */ function() {
|
|
|
1942
1942
|
i && i.slice(0).forEach(function(a) {
|
|
1943
1943
|
return a(s);
|
|
1944
1944
|
});
|
|
1945
|
-
},
|
|
1945
|
+
}, ma(t, [{
|
|
1946
1946
|
key: "rules",
|
|
1947
1947
|
get: function() {
|
|
1948
1948
|
return this[te].originalRules;
|
|
@@ -1982,9 +1982,9 @@ function Va(t) {
|
|
|
1982
1982
|
return new Oa(Ya(t));
|
|
1983
1983
|
}
|
|
1984
1984
|
function xa(t, e, n) {
|
|
1985
|
-
const r = Array.isArray(t) ? t : [t], s = Va(e), i = (
|
|
1985
|
+
const r = Array.isArray(t) ? t : [t], s = Va(e), i = (f) => f.subject, a = (f) => s.can(f.action, i(f), f.field) ? !0 : f.coverSubject !== void 0 ? s.can(f.action, f.coverSubject, f.field) : !1, c = r.find((f) => !a(f));
|
|
1986
1986
|
if (c) {
|
|
1987
|
-
const
|
|
1987
|
+
const f = s.relevantRuleFor(
|
|
1988
1988
|
c.action,
|
|
1989
1989
|
i(c),
|
|
1990
1990
|
c.field
|
|
@@ -1992,7 +1992,7 @@ function xa(t, e, n) {
|
|
|
1992
1992
|
return {
|
|
1993
1993
|
granted: !1,
|
|
1994
1994
|
decisivePermission: c,
|
|
1995
|
-
decisiveRule:
|
|
1995
|
+
decisiveRule: f ?? null
|
|
1996
1996
|
};
|
|
1997
1997
|
}
|
|
1998
1998
|
const l = r[0], A = s.relevantRuleFor(l.action, i(l), l.field);
|
|
@@ -2312,7 +2312,7 @@ const k = [
|
|
|
2312
2312
|
o.delete
|
|
2313
2313
|
]
|
|
2314
2314
|
}
|
|
2315
|
-
],
|
|
2315
|
+
], mo = [
|
|
2316
2316
|
...k,
|
|
2317
2317
|
{
|
|
2318
2318
|
label: "Credit",
|
|
@@ -2324,7 +2324,7 @@ const k = [
|
|
|
2324
2324
|
o.delete
|
|
2325
2325
|
]
|
|
2326
2326
|
}
|
|
2327
|
-
],
|
|
2327
|
+
], fo = [
|
|
2328
2328
|
...k,
|
|
2329
2329
|
{
|
|
2330
2330
|
label: "Experience",
|
|
@@ -2384,7 +2384,7 @@ const k = [
|
|
|
2384
2384
|
o.delete
|
|
2385
2385
|
]
|
|
2386
2386
|
}
|
|
2387
|
-
],
|
|
2387
|
+
], ms = [
|
|
2388
2388
|
...k,
|
|
2389
2389
|
{
|
|
2390
2390
|
label: "Loyalty Card",
|
|
@@ -2396,7 +2396,7 @@ const k = [
|
|
|
2396
2396
|
o.delete
|
|
2397
2397
|
]
|
|
2398
2398
|
}
|
|
2399
|
-
],
|
|
2399
|
+
], fs = [
|
|
2400
2400
|
...k,
|
|
2401
2401
|
{
|
|
2402
2402
|
label: "Bin",
|
|
@@ -2417,10 +2417,10 @@ const k = [
|
|
|
2417
2417
|
ho
|
|
2418
2418
|
), vs = $(
|
|
2419
2419
|
se,
|
|
2420
|
-
|
|
2420
|
+
mo
|
|
2421
2421
|
), ws = $(
|
|
2422
2422
|
se,
|
|
2423
|
-
|
|
2423
|
+
fo
|
|
2424
2424
|
), Bs = $(
|
|
2425
2425
|
se,
|
|
2426
2426
|
go
|
|
@@ -2477,8 +2477,8 @@ const k = [
|
|
|
2477
2477
|
Ds,
|
|
2478
2478
|
ds,
|
|
2479
2479
|
hs,
|
|
2480
|
-
|
|
2481
|
-
|
|
2480
|
+
ms,
|
|
2481
|
+
fs
|
|
2482
2482
|
), Bo = $(
|
|
2483
2483
|
se,
|
|
2484
2484
|
ls,
|
|
@@ -2565,7 +2565,7 @@ const k = [
|
|
|
2565
2565
|
[`set_${d.crm_loyaltyCard}`]: {
|
|
2566
2566
|
key: "sys:crm:loyaltyCard",
|
|
2567
2567
|
name: "CRM Loyalty Card",
|
|
2568
|
-
permissions:
|
|
2568
|
+
permissions: ms
|
|
2569
2569
|
},
|
|
2570
2570
|
[`set_${d.crm_referral}`]: {
|
|
2571
2571
|
key: "sys:crm:referral",
|
|
@@ -2590,7 +2590,7 @@ const k = [
|
|
|
2590
2590
|
[`set_${d.crm_bin}`]: {
|
|
2591
2591
|
key: "sys:crm:bin",
|
|
2592
2592
|
name: "CRM Bin",
|
|
2593
|
-
permissions:
|
|
2593
|
+
permissions: fs
|
|
2594
2594
|
}
|
|
2595
2595
|
};
|
|
2596
2596
|
var C = /* @__PURE__ */ ((t) => (t.inventory = "inventory", t.inventory_stock = "inventory::stock", t.inventory_stockAdjustment = "inventory::stockAdjustment", t.inventory_stockRecalculation = "inventory::stockRecalculation", t.inventory_unitCostHistory = "inventory::unitCostHistory", t.inventory_wastageTemplate = "inventory::wastageTemplate", t.inventory_closing = "inventory::closing", t.inventory_closingDraft = "inventory::closingDraft", t.inventory_closingTemplate = "inventory::closingTemplate", t.inventory_ingredient = "inventory::ingredient", t.inventory_ingredientGroup = "inventory::ingredientGroup", t.inventory_recipe = "inventory::recipe", t.inventory_unit = "inventory::unit", t.inventory_orderTemplate = "inventory::orderTemplate", t.inventory_orderDraft = "inventory::orderDraft", t.inventory_printTemplate = "inventory::printTemplate", t.inventory_purchaseOrder = "inventory::purchaseOrder", t.inventory_transferOutApproval = "inventory::transferOutApproval", t.inventory_adjustmentTemplate = "inventory::adjustmentTemplate", t.inventory_surcharge = "inventory::surcharge", t.inventory_supplier = "inventory::supplier", t.inventory_warehouse = "inventory::warehouse", t.inventory_publish = "inventory::publish", t.inventory_integration = "inventory::integration", t.inventory_deliveryOrder = "inventory::deliveryOrder", t.inventory_shipment = "inventory::shipment", t.inventory_orderDraftApproval = "inventory::orderDraftApproval", t))(C || {});
|
|
@@ -3163,7 +3163,7 @@ const Ho = () => ({
|
|
|
3163
3163
|
sidebarDisplay: "Restaurants",
|
|
3164
3164
|
section: "payment-gateway"
|
|
3165
3165
|
},
|
|
3166
|
-
component: () => import("./Restaurant-
|
|
3166
|
+
component: () => import("./Restaurant-LzRSv42P.js")
|
|
3167
3167
|
},
|
|
3168
3168
|
{
|
|
3169
3169
|
path: "/admin/restaurants/:restaurantId",
|
|
@@ -3172,7 +3172,7 @@ const Ho = () => ({
|
|
|
3172
3172
|
meta: {
|
|
3173
3173
|
parent: "mf-payment-admin.restaurant"
|
|
3174
3174
|
},
|
|
3175
|
-
component: () => import("./RestaurantSetting-
|
|
3175
|
+
component: () => import("./RestaurantSetting-CsnW19gh.js")
|
|
3176
3176
|
},
|
|
3177
3177
|
{
|
|
3178
3178
|
path: "/admin/payout-accounts",
|
|
@@ -3181,7 +3181,7 @@ const Ho = () => ({
|
|
|
3181
3181
|
sidebarDisplay: "Payout Accounts",
|
|
3182
3182
|
section: "payment-gateway"
|
|
3183
3183
|
},
|
|
3184
|
-
component: () => import("./PayoutAccount-
|
|
3184
|
+
component: () => import("./PayoutAccount-PXQSHup9.js")
|
|
3185
3185
|
},
|
|
3186
3186
|
{
|
|
3187
3187
|
path: "/admin/payout-accounts/:accountId",
|
|
@@ -3190,7 +3190,7 @@ const Ho = () => ({
|
|
|
3190
3190
|
meta: {
|
|
3191
3191
|
parent: "mf-payment-admin.payout-account"
|
|
3192
3192
|
},
|
|
3193
|
-
component: () => import("./PayoutAccountSetting-
|
|
3193
|
+
component: () => import("./PayoutAccountSetting-cV5Ts_Qq.js")
|
|
3194
3194
|
},
|
|
3195
3195
|
{
|
|
3196
3196
|
path: "/admin/onboarding",
|
|
@@ -3199,7 +3199,7 @@ const Ho = () => ({
|
|
|
3199
3199
|
sidebarDisplay: "Payment Onboarding",
|
|
3200
3200
|
section: "payment-gateway"
|
|
3201
3201
|
},
|
|
3202
|
-
component: () => import("./OnboardSubmission-
|
|
3202
|
+
component: () => import("./OnboardSubmission-Tl3HQgov.js")
|
|
3203
3203
|
},
|
|
3204
3204
|
{
|
|
3205
3205
|
path: "/admin/onboarding/:submissionId",
|
|
@@ -3208,7 +3208,7 @@ const Ho = () => ({
|
|
|
3208
3208
|
meta: {
|
|
3209
3209
|
parent: "mf-payment-admin.onboard-submission"
|
|
3210
3210
|
},
|
|
3211
|
-
component: () => import("./OnboardForm-
|
|
3211
|
+
component: () => import("./OnboardForm-COJfmIJt.js")
|
|
3212
3212
|
},
|
|
3213
3213
|
{
|
|
3214
3214
|
path: "/admin/terminal/pos",
|
|
@@ -3217,7 +3217,7 @@ const Ho = () => ({
|
|
|
3217
3217
|
sidebarDisplay: "POS",
|
|
3218
3218
|
section: "device"
|
|
3219
3219
|
},
|
|
3220
|
-
component: () => import("./Terminal-
|
|
3220
|
+
component: () => import("./Terminal-ZRi75g3B.js"),
|
|
3221
3221
|
props: {
|
|
3222
3222
|
type: "POS"
|
|
3223
3223
|
}
|
|
@@ -3229,7 +3229,7 @@ const Ho = () => ({
|
|
|
3229
3229
|
sidebarDisplay: "Kiosks",
|
|
3230
3230
|
section: "device"
|
|
3231
3231
|
},
|
|
3232
|
-
component: () => import("./Terminal-
|
|
3232
|
+
component: () => import("./Terminal-ZRi75g3B.js"),
|
|
3233
3233
|
props: {
|
|
3234
3234
|
type: "KIOSK"
|
|
3235
3235
|
}
|
|
@@ -3241,11 +3241,20 @@ const Ho = () => ({
|
|
|
3241
3241
|
sidebarDisplay: "Terminals",
|
|
3242
3242
|
section: "device"
|
|
3243
3243
|
},
|
|
3244
|
-
component: () => import("./Terminal-
|
|
3244
|
+
component: () => import("./Terminal-ZRi75g3B.js"),
|
|
3245
3245
|
props: {
|
|
3246
3246
|
type: "TERMINAL"
|
|
3247
3247
|
}
|
|
3248
3248
|
},
|
|
3249
|
+
{
|
|
3250
|
+
path: "/admin/terminal/external",
|
|
3251
|
+
name: "mf-payment-admin.external-terminal",
|
|
3252
|
+
meta: {
|
|
3253
|
+
sidebarDisplay: "External Terminals",
|
|
3254
|
+
section: "device"
|
|
3255
|
+
},
|
|
3256
|
+
component: () => import("./ExternalTerminal-Cd_azqjT.js")
|
|
3257
|
+
},
|
|
3249
3258
|
{
|
|
3250
3259
|
path: "/admin/terminal/pos/:terminalId",
|
|
3251
3260
|
name: "mf-payment-admin.pos-setting",
|
|
@@ -3253,7 +3262,7 @@ const Ho = () => ({
|
|
|
3253
3262
|
meta: {
|
|
3254
3263
|
parent: "mf-payment-admin.pos"
|
|
3255
3264
|
},
|
|
3256
|
-
component: () => import("./TerminalSetting-
|
|
3265
|
+
component: () => import("./TerminalSetting-CpIOhxYF.js")
|
|
3257
3266
|
},
|
|
3258
3267
|
{
|
|
3259
3268
|
path: "/admin/terminal/kiosk/:terminalId",
|
|
@@ -3262,7 +3271,7 @@ const Ho = () => ({
|
|
|
3262
3271
|
meta: {
|
|
3263
3272
|
parent: "mf-payment-admin.kiosk"
|
|
3264
3273
|
},
|
|
3265
|
-
component: () => import("./TerminalSetting-
|
|
3274
|
+
component: () => import("./TerminalSetting-CpIOhxYF.js")
|
|
3266
3275
|
},
|
|
3267
3276
|
{
|
|
3268
3277
|
path: "/admin/terminal/terminal/:terminalId",
|
|
@@ -3271,7 +3280,7 @@ const Ho = () => ({
|
|
|
3271
3280
|
meta: {
|
|
3272
3281
|
parent: "mf-payment-admin.terminal"
|
|
3273
3282
|
},
|
|
3274
|
-
component: () => import("./TerminalSetting-
|
|
3283
|
+
component: () => import("./TerminalSetting-CpIOhxYF.js")
|
|
3275
3284
|
},
|
|
3276
3285
|
{
|
|
3277
3286
|
path: "/admin/transaction",
|
|
@@ -3279,7 +3288,7 @@ const Ho = () => ({
|
|
|
3279
3288
|
meta: {
|
|
3280
3289
|
sidebarDisplay: "Transactions"
|
|
3281
3290
|
},
|
|
3282
|
-
component: () => import("./Transaction-
|
|
3291
|
+
component: () => import("./Transaction-Dfty1Pkq.js")
|
|
3283
3292
|
},
|
|
3284
3293
|
{
|
|
3285
3294
|
path: "/admin/chargeback",
|
|
@@ -3287,7 +3296,7 @@ const Ho = () => ({
|
|
|
3287
3296
|
meta: {
|
|
3288
3297
|
sidebarDisplay: "Chargebacks"
|
|
3289
3298
|
},
|
|
3290
|
-
component: () => import("./Chargeback-
|
|
3299
|
+
component: () => import("./Chargeback-C5c2ggX9.js")
|
|
3291
3300
|
},
|
|
3292
3301
|
{
|
|
3293
3302
|
path: "/admin/settlement",
|
|
@@ -3295,7 +3304,7 @@ const Ho = () => ({
|
|
|
3295
3304
|
meta: {
|
|
3296
3305
|
sidebarDisplay: "Settlements"
|
|
3297
3306
|
},
|
|
3298
|
-
component: () => import("./Settlement-
|
|
3307
|
+
component: () => import("./Settlement-BycHPszE.js")
|
|
3299
3308
|
},
|
|
3300
3309
|
{
|
|
3301
3310
|
path: "/admin/settlement/:settlementId",
|
|
@@ -3304,7 +3313,7 @@ const Ho = () => ({
|
|
|
3304
3313
|
meta: {
|
|
3305
3314
|
parent: "mf-payment-admin.settlement"
|
|
3306
3315
|
},
|
|
3307
|
-
component: () => import("./SettlementTransactions-
|
|
3316
|
+
component: () => import("./SettlementTransactions-Ccm_gaYg.js")
|
|
3308
3317
|
}
|
|
3309
3318
|
].map((t) => ({
|
|
3310
3319
|
...t,
|
|
@@ -3320,7 +3329,7 @@ const Ho = () => ({
|
|
|
3320
3329
|
{
|
|
3321
3330
|
path: "/payout-account",
|
|
3322
3331
|
name: "mf-payment-payout-account",
|
|
3323
|
-
component: () => import("./PayoutAccount-
|
|
3332
|
+
component: () => import("./PayoutAccount-CmHNLOdq.js"),
|
|
3324
3333
|
meta: {
|
|
3325
3334
|
sidebarDisplay: "i18n:payment.routes.payout_account",
|
|
3326
3335
|
region: { MY: !0 },
|
|
@@ -3337,7 +3346,7 @@ const Ho = () => ({
|
|
|
3337
3346
|
{
|
|
3338
3347
|
path: "/onboard-submission",
|
|
3339
3348
|
name: "mf-payment-onboard-submission",
|
|
3340
|
-
component: () => import("./OnboardSubmission-
|
|
3349
|
+
component: () => import("./OnboardSubmission-CuH1DxWt.js"),
|
|
3341
3350
|
meta: {
|
|
3342
3351
|
sidebarDisplay: "i18n:payment.routes.onboard_submission",
|
|
3343
3352
|
region: { MY: !0, TH: !0, AU: !0 },
|
|
@@ -3355,7 +3364,7 @@ const Ho = () => ({
|
|
|
3355
3364
|
path: "/onboard-submission/restaurant/:restaurantId/:type/:submission?",
|
|
3356
3365
|
name: "mf-payment-onboard-submission-form",
|
|
3357
3366
|
props: !0,
|
|
3358
|
-
component: () => import("./OnboardForm-
|
|
3367
|
+
component: () => import("./OnboardForm-CVuu8ixt.js"),
|
|
3359
3368
|
meta: {
|
|
3360
3369
|
parent: "mf-payment-onboard-submission",
|
|
3361
3370
|
validationManifest: {
|
|
@@ -3371,7 +3380,7 @@ const Ho = () => ({
|
|
|
3371
3380
|
{
|
|
3372
3381
|
path: "/transaction-old",
|
|
3373
3382
|
name: "mf-payment-old-transaction",
|
|
3374
|
-
component: () => import("./TransactionOld-
|
|
3383
|
+
component: () => import("./TransactionOld-CkoAQGox.js"),
|
|
3375
3384
|
meta: {
|
|
3376
3385
|
sidebarDisplay: "i18n:payment.routes.transaction",
|
|
3377
3386
|
validationManifest: {
|
|
@@ -3387,7 +3396,7 @@ const Ho = () => ({
|
|
|
3387
3396
|
{
|
|
3388
3397
|
path: "/transaction",
|
|
3389
3398
|
name: "mf-payment-transaction",
|
|
3390
|
-
component: () => import("./Transaction-
|
|
3399
|
+
component: () => import("./Transaction-ClDKUNW6.js"),
|
|
3391
3400
|
meta: {
|
|
3392
3401
|
sidebarDisplay: "i18n:payment.routes.transaction_new",
|
|
3393
3402
|
sidebarNew: !0,
|
|
@@ -3404,7 +3413,7 @@ const Ho = () => ({
|
|
|
3404
3413
|
{
|
|
3405
3414
|
path: "/settlement",
|
|
3406
3415
|
name: "mf-payment-settlement",
|
|
3407
|
-
component: () => import("./Settlement-
|
|
3416
|
+
component: () => import("./Settlement-eq9msmbN.js"),
|
|
3408
3417
|
meta: {
|
|
3409
3418
|
sidebarDisplay: "i18n:payment.routes.settlement",
|
|
3410
3419
|
region: { MY: !0, SG: !0 },
|
|
@@ -3422,7 +3431,7 @@ const Ho = () => ({
|
|
|
3422
3431
|
path: "/settlement/:settlementId",
|
|
3423
3432
|
name: "mf-payment-settlement-transaction",
|
|
3424
3433
|
props: !0,
|
|
3425
|
-
component: () => import("./SettlementTransactions-
|
|
3434
|
+
component: () => import("./SettlementTransactions-BiDjpqc3.js"),
|
|
3426
3435
|
meta: {
|
|
3427
3436
|
parent: "mf-payment-settlement",
|
|
3428
3437
|
validationManifest: {
|
|
@@ -3589,9 +3598,9 @@ const Vs = function(t) {
|
|
|
3589
3598
|
this.init_();
|
|
3590
3599
|
const n = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
|
3591
3600
|
for (let s = 0; s < t.length; s += 3) {
|
|
3592
|
-
const i = t[s], a = s + 1 < t.length, c = a ? t[s + 1] : 0, l = s + 2 < t.length, A = l ? t[s + 2] : 0,
|
|
3601
|
+
const i = t[s], a = s + 1 < t.length, c = a ? t[s + 1] : 0, l = s + 2 < t.length, A = l ? t[s + 2] : 0, f = i >> 2, p = (i & 3) << 4 | c >> 4;
|
|
3593
3602
|
let B = (c & 15) << 2 | A >> 6, w = A & 63;
|
|
3594
|
-
l || (w = 64, a || (B = 64)), r.push(n[
|
|
3603
|
+
l || (w = 64, a || (B = 64)), r.push(n[f], n[p], n[B], n[w]);
|
|
3595
3604
|
}
|
|
3596
3605
|
return r.join("");
|
|
3597
3606
|
},
|
|
@@ -4173,7 +4182,7 @@ class dc {
|
|
|
4173
4182
|
if (this.component)
|
|
4174
4183
|
throw Error(`Component for ${this.name} has already been provided`);
|
|
4175
4184
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
|
4176
|
-
if (
|
|
4185
|
+
if (mc(e))
|
|
4177
4186
|
try {
|
|
4178
4187
|
this.getOrInitializeService({ instanceIdentifier: Ne });
|
|
4179
4188
|
} catch {
|
|
@@ -4279,7 +4288,7 @@ class dc {
|
|
|
4279
4288
|
function hc(t) {
|
|
4280
4289
|
return t === Ne ? void 0 : t;
|
|
4281
4290
|
}
|
|
4282
|
-
function
|
|
4291
|
+
function mc(t) {
|
|
4283
4292
|
return t.instantiationMode === "EAGER";
|
|
4284
4293
|
}
|
|
4285
4294
|
/**
|
|
@@ -4298,7 +4307,7 @@ function fc(t) {
|
|
|
4298
4307
|
* See the License for the specific language governing permissions and
|
|
4299
4308
|
* limitations under the License.
|
|
4300
4309
|
*/
|
|
4301
|
-
class
|
|
4310
|
+
class fc {
|
|
4302
4311
|
constructor(e) {
|
|
4303
4312
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
|
4304
4313
|
}
|
|
@@ -4452,7 +4461,7 @@ function Bc() {
|
|
|
4452
4461
|
IDBCursor.prototype.continuePrimaryKey
|
|
4453
4462
|
]);
|
|
4454
4463
|
}
|
|
4455
|
-
const Hs = /* @__PURE__ */ new WeakMap(), En = /* @__PURE__ */ new WeakMap(), Qs = /* @__PURE__ */ new WeakMap(),
|
|
4464
|
+
const Hs = /* @__PURE__ */ new WeakMap(), En = /* @__PURE__ */ new WeakMap(), Qs = /* @__PURE__ */ new WeakMap(), mn = /* @__PURE__ */ new WeakMap(), Un = /* @__PURE__ */ new WeakMap();
|
|
4456
4465
|
function Dc(t) {
|
|
4457
4466
|
const e = new Promise((n, r) => {
|
|
4458
4467
|
const s = () => {
|
|
@@ -4508,12 +4517,12 @@ function Ec(t) {
|
|
|
4508
4517
|
}
|
|
4509
4518
|
function Mc(t) {
|
|
4510
4519
|
return t === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...n) {
|
|
4511
|
-
const r = t.call(
|
|
4520
|
+
const r = t.call(fn(this), e, ...n);
|
|
4512
4521
|
return Qs.set(r, e.sort ? e.sort() : [e]), Fe(r);
|
|
4513
4522
|
} : Bc().includes(t) ? function(...e) {
|
|
4514
|
-
return t.apply(
|
|
4523
|
+
return t.apply(fn(this), e), Fe(Hs.get(this));
|
|
4515
4524
|
} : function(...e) {
|
|
4516
|
-
return Fe(t.apply(
|
|
4525
|
+
return Fe(t.apply(fn(this), e));
|
|
4517
4526
|
};
|
|
4518
4527
|
}
|
|
4519
4528
|
function Ic(t) {
|
|
@@ -4522,12 +4531,12 @@ function Ic(t) {
|
|
|
4522
4531
|
function Fe(t) {
|
|
4523
4532
|
if (t instanceof IDBRequest)
|
|
4524
4533
|
return Dc(t);
|
|
4525
|
-
if (
|
|
4526
|
-
return
|
|
4534
|
+
if (mn.has(t))
|
|
4535
|
+
return mn.get(t);
|
|
4527
4536
|
const e = Ic(t);
|
|
4528
|
-
return e !== t && (
|
|
4537
|
+
return e !== t && (mn.set(t, e), Un.set(e, t)), e;
|
|
4529
4538
|
}
|
|
4530
|
-
const
|
|
4539
|
+
const fn = (t) => Un.get(t);
|
|
4531
4540
|
function Pc(t, e, { blocked: n, upgrade: r, blocking: s, terminated: i } = {}) {
|
|
4532
4541
|
const a = indexedDB.open(t, e), c = Fe(a);
|
|
4533
4542
|
return r && a.addEventListener("upgradeneeded", (l) => {
|
|
@@ -4686,7 +4695,7 @@ const Pn = "[DEFAULT]", au = {
|
|
|
4686
4695
|
* limitations under the License.
|
|
4687
4696
|
*/
|
|
4688
4697
|
const zt = /* @__PURE__ */ new Map(), ou = /* @__PURE__ */ new Map(), On = /* @__PURE__ */ new Map();
|
|
4689
|
-
function
|
|
4698
|
+
function mr(t, e) {
|
|
4690
4699
|
try {
|
|
4691
4700
|
t.container.addComponent(e);
|
|
4692
4701
|
} catch (n) {
|
|
@@ -4699,9 +4708,9 @@ function vt(t) {
|
|
|
4699
4708
|
return we.debug(`There were multiple attempts to register component ${e}.`), !1;
|
|
4700
4709
|
On.set(e, t);
|
|
4701
4710
|
for (const n of zt.values())
|
|
4702
|
-
|
|
4711
|
+
mr(n, t);
|
|
4703
4712
|
for (const n of ou.values())
|
|
4704
|
-
|
|
4713
|
+
mr(n, t);
|
|
4705
4714
|
return !0;
|
|
4706
4715
|
}
|
|
4707
4716
|
function Xs(t, e) {
|
|
@@ -4837,7 +4846,7 @@ function Ss(t, e = {}) {
|
|
|
4837
4846
|
return i;
|
|
4838
4847
|
throw ke.create("duplicate-app", { appName: s });
|
|
4839
4848
|
}
|
|
4840
|
-
const a = new
|
|
4849
|
+
const a = new fc(s);
|
|
4841
4850
|
for (const l of On.values())
|
|
4842
4851
|
a.addComponent(l);
|
|
4843
4852
|
const c = new uu(n, r, a);
|
|
@@ -4921,7 +4930,7 @@ async function hu(t) {
|
|
|
4921
4930
|
}
|
|
4922
4931
|
}
|
|
4923
4932
|
}
|
|
4924
|
-
async function
|
|
4933
|
+
async function fr(t, e) {
|
|
4925
4934
|
try {
|
|
4926
4935
|
const r = (await Us()).transaction(wt, "readwrite");
|
|
4927
4936
|
await r.objectStore(wt).put(e, Ws(t)), await r.done;
|
|
@@ -4955,7 +4964,7 @@ function Ws(t) {
|
|
|
4955
4964
|
* See the License for the specific language governing permissions and
|
|
4956
4965
|
* limitations under the License.
|
|
4957
4966
|
*/
|
|
4958
|
-
const
|
|
4967
|
+
const mu = 1024, fu = 30 * 24 * 60 * 60 * 1e3;
|
|
4959
4968
|
class gu {
|
|
4960
4969
|
constructor(e) {
|
|
4961
4970
|
this.container = e, this._heartbeatsCache = null;
|
|
@@ -4975,7 +4984,7 @@ class gu {
|
|
|
4975
4984
|
const s = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), i = gr();
|
|
4976
4985
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((n = this._heartbeatsCache) === null || n === void 0 ? void 0 : n.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === i || this._heartbeatsCache.heartbeats.some((a) => a.date === i) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: i, agent: s }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
|
4977
4986
|
const c = new Date(a.date).valueOf();
|
|
4978
|
-
return Date.now() - c <=
|
|
4987
|
+
return Date.now() - c <= fu;
|
|
4979
4988
|
}), this._storage.overwrite(this._heartbeatsCache));
|
|
4980
4989
|
} catch (r) {
|
|
4981
4990
|
we.warn(r);
|
|
@@ -5003,7 +5012,7 @@ class gu {
|
|
|
5003
5012
|
function gr() {
|
|
5004
5013
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
|
5005
5014
|
}
|
|
5006
|
-
function pu(t, e =
|
|
5015
|
+
function pu(t, e = mu) {
|
|
5007
5016
|
const n = [];
|
|
5008
5017
|
let r = t.slice();
|
|
5009
5018
|
for (const s of t) {
|
|
@@ -5049,7 +5058,7 @@ class yu {
|
|
|
5049
5058
|
var n;
|
|
5050
5059
|
if (await this._canUseIndexedDBPromise) {
|
|
5051
5060
|
const s = await this.read();
|
|
5052
|
-
return
|
|
5061
|
+
return fr(this.app, {
|
|
5053
5062
|
lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : s.lastSentHeartbeatDate,
|
|
5054
5063
|
heartbeats: e.heartbeats
|
|
5055
5064
|
});
|
|
@@ -5061,7 +5070,7 @@ class yu {
|
|
|
5061
5070
|
var n;
|
|
5062
5071
|
if (await this._canUseIndexedDBPromise) {
|
|
5063
5072
|
const s = await this.read();
|
|
5064
|
-
return
|
|
5073
|
+
return fr(this.app, {
|
|
5065
5074
|
lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : s.lastSentHeartbeatDate,
|
|
5066
5075
|
heartbeats: [
|
|
5067
5076
|
...s.heartbeats,
|
|
@@ -5494,7 +5503,7 @@ const Pu = new Gt(3e4, 6e4);
|
|
|
5494
5503
|
function sn(t, e) {
|
|
5495
5504
|
return t.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: t.tenantId }) : e;
|
|
5496
5505
|
}
|
|
5497
|
-
async function
|
|
5506
|
+
async function mt(t, e, n, r, s = {}) {
|
|
5498
5507
|
return Js(t, s, async () => {
|
|
5499
5508
|
let i = {}, a = {};
|
|
5500
5509
|
r && (e === "GET" ? a = r : i = {
|
|
@@ -5537,10 +5546,10 @@ async function Js(t, e, n) {
|
|
|
5537
5546
|
throw kt(t, "email-already-in-use", a);
|
|
5538
5547
|
if (l === "USER_DISABLED")
|
|
5539
5548
|
throw kt(t, "user-disabled", a);
|
|
5540
|
-
const
|
|
5549
|
+
const f = r[l] || l.toLowerCase().replace(/[_\s]+/g, "-");
|
|
5541
5550
|
if (A)
|
|
5542
|
-
throw Ls(t,
|
|
5543
|
-
Be(t,
|
|
5551
|
+
throw Ls(t, f, A);
|
|
5552
|
+
Be(t, f);
|
|
5544
5553
|
}
|
|
5545
5554
|
} catch (s) {
|
|
5546
5555
|
if (s instanceof qe)
|
|
@@ -5549,7 +5558,7 @@ async function Js(t, e, n) {
|
|
|
5549
5558
|
}
|
|
5550
5559
|
}
|
|
5551
5560
|
async function _s(t, e, n, r, s = {}) {
|
|
5552
|
-
const i = await
|
|
5561
|
+
const i = await mt(t, e, n, r, s);
|
|
5553
5562
|
return "mfaPendingCredential" in i && Be(t, "multi-factor-auth-required", {
|
|
5554
5563
|
_serverResponse: i
|
|
5555
5564
|
}), i;
|
|
@@ -5597,10 +5606,10 @@ function kt(t, e, n) {
|
|
|
5597
5606
|
* limitations under the License.
|
|
5598
5607
|
*/
|
|
5599
5608
|
async function Tu(t, e) {
|
|
5600
|
-
return
|
|
5609
|
+
return mt(t, "POST", "/v1/accounts:delete", e);
|
|
5601
5610
|
}
|
|
5602
5611
|
async function ei(t, e) {
|
|
5603
|
-
return
|
|
5612
|
+
return mt(t, "POST", "/v1/accounts:lookup", e);
|
|
5604
5613
|
}
|
|
5605
5614
|
/**
|
|
5606
5615
|
* @license
|
|
@@ -5826,7 +5835,7 @@ async function Lt(t) {
|
|
|
5826
5835
|
);
|
|
5827
5836
|
const i = s.users[0];
|
|
5828
5837
|
t._notifyReloadListener(i);
|
|
5829
|
-
const a = !((e = i.providerUserInfo) === null || e === void 0) && e.length ? ti(i.providerUserInfo) : [], c = xu(t.providerData, a), l = t.isAnonymous, A = !(t.email && i.passwordHash) && !(c != null && c.length),
|
|
5838
|
+
const a = !((e = i.providerUserInfo) === null || e === void 0) && e.length ? ti(i.providerUserInfo) : [], c = xu(t.providerData, a), l = t.isAnonymous, A = !(t.email && i.passwordHash) && !(c != null && c.length), f = l ? A : !1, p = {
|
|
5830
5839
|
uid: i.localId,
|
|
5831
5840
|
displayName: i.displayName || null,
|
|
5832
5841
|
photoURL: i.photoUrl || null,
|
|
@@ -5836,7 +5845,7 @@ async function Lt(t) {
|
|
|
5836
5845
|
tenantId: i.tenantId || null,
|
|
5837
5846
|
providerData: c,
|
|
5838
5847
|
metadata: new Gn(i.createdAt, i.lastLoginAt),
|
|
5839
|
-
isAnonymous:
|
|
5848
|
+
isAnonymous: f
|
|
5840
5849
|
};
|
|
5841
5850
|
Object.assign(t, p);
|
|
5842
5851
|
}
|
|
@@ -5898,7 +5907,7 @@ async function Fu(t, e) {
|
|
|
5898
5907
|
};
|
|
5899
5908
|
}
|
|
5900
5909
|
async function ku(t, e) {
|
|
5901
|
-
return
|
|
5910
|
+
return mt(t, "POST", "/v2/accounts:revokeToken", sn(t, e));
|
|
5902
5911
|
}
|
|
5903
5912
|
/**
|
|
5904
5913
|
* @license
|
|
@@ -6097,8 +6106,8 @@ class be {
|
|
|
6097
6106
|
return this.stsTokenManager.refreshToken || "";
|
|
6098
6107
|
}
|
|
6099
6108
|
static _fromJSON(e, n) {
|
|
6100
|
-
var r, s, i, a, c, l, A,
|
|
6101
|
-
const p = (r = n.displayName) !== null && r !== void 0 ? r : void 0, B = (s = n.email) !== null && s !== void 0 ? s : void 0, w = (i = n.phoneNumber) !== null && i !== void 0 ? i : void 0, O = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, I = (c = n.tenantId) !== null && c !== void 0 ? c : void 0, V = (l = n._redirectEventId) !== null && l !== void 0 ? l : void 0, R = (A = n.createdAt) !== null && A !== void 0 ? A : void 0, Q = (
|
|
6109
|
+
var r, s, i, a, c, l, A, f;
|
|
6110
|
+
const p = (r = n.displayName) !== null && r !== void 0 ? r : void 0, B = (s = n.email) !== null && s !== void 0 ? s : void 0, w = (i = n.phoneNumber) !== null && i !== void 0 ? i : void 0, O = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, I = (c = n.tenantId) !== null && c !== void 0 ? c : void 0, V = (l = n._redirectEventId) !== null && l !== void 0 ? l : void 0, R = (A = n.createdAt) !== null && A !== void 0 ? A : void 0, Q = (f = n.lastLoginAt) !== null && f !== void 0 ? f : void 0, { uid: Y, emailVerified: v, isAnonymous: H, providerData: U, stsTokenManager: ee } = n;
|
|
6102
6111
|
M(
|
|
6103
6112
|
Y && ee,
|
|
6104
6113
|
e,
|
|
@@ -6136,7 +6145,7 @@ class be {
|
|
|
6136
6145
|
createdAt: R,
|
|
6137
6146
|
lastLoginAt: Q
|
|
6138
6147
|
});
|
|
6139
|
-
return U && Array.isArray(U) && (u.providerData = U.map((
|
|
6148
|
+
return U && Array.isArray(U) && (u.providerData = U.map((m) => Object.assign({}, m))), V && (u._redirectEventId = V), u;
|
|
6140
6149
|
}
|
|
6141
6150
|
/**
|
|
6142
6151
|
* Initialize a User from an idToken server response
|
|
@@ -6310,9 +6319,9 @@ class tt {
|
|
|
6310
6319
|
let c = null;
|
|
6311
6320
|
for (const A of n)
|
|
6312
6321
|
try {
|
|
6313
|
-
const
|
|
6314
|
-
if (
|
|
6315
|
-
const p = be._fromJSON(e,
|
|
6322
|
+
const f = await A._get(a);
|
|
6323
|
+
if (f) {
|
|
6324
|
+
const p = be._fromJSON(e, f);
|
|
6316
6325
|
A !== i && (c = p), i = A;
|
|
6317
6326
|
break;
|
|
6318
6327
|
}
|
|
@@ -6513,7 +6522,7 @@ class Nu {
|
|
|
6513
6522
|
* limitations under the License.
|
|
6514
6523
|
*/
|
|
6515
6524
|
async function Hu(t, e = {}) {
|
|
6516
|
-
return
|
|
6525
|
+
return mt(t, "GET", "/v2/passwordPolicy", sn(t, e));
|
|
6517
6526
|
}
|
|
6518
6527
|
/**
|
|
6519
6528
|
* @license
|
|
@@ -7252,7 +7261,7 @@ class Ze extends hi {
|
|
|
7252
7261
|
* See the License for the specific language governing permissions and
|
|
7253
7262
|
* limitations under the License.
|
|
7254
7263
|
*/
|
|
7255
|
-
class
|
|
7264
|
+
class mi {
|
|
7256
7265
|
/**
|
|
7257
7266
|
* Constructor for generic OAuth providers.
|
|
7258
7267
|
*
|
|
@@ -7305,7 +7314,7 @@ class fi {
|
|
|
7305
7314
|
* See the License for the specific language governing permissions and
|
|
7306
7315
|
* limitations under the License.
|
|
7307
7316
|
*/
|
|
7308
|
-
class jt extends
|
|
7317
|
+
class jt extends mi {
|
|
7309
7318
|
constructor() {
|
|
7310
7319
|
super(...arguments), this.scopes = [];
|
|
7311
7320
|
}
|
|
@@ -7681,7 +7690,7 @@ class Kt extends qe {
|
|
|
7681
7690
|
return new Kt(e, n, r, s);
|
|
7682
7691
|
}
|
|
7683
7692
|
}
|
|
7684
|
-
function
|
|
7693
|
+
function fi(t, e, n, r) {
|
|
7685
7694
|
return (e === "reauthenticate" ? n._getReauthenticationResolver(t) : n._getIdTokenResponse(t)).catch((i) => {
|
|
7686
7695
|
throw i.code === "auth/multi-factor-auth-required" ? Kt._fromErrorAndOperation(t, i, e, r) : i;
|
|
7687
7696
|
});
|
|
@@ -7712,7 +7721,7 @@ async function nl(t, e, n = !1) {
|
|
|
7712
7721
|
return Promise.reject(Re(r));
|
|
7713
7722
|
const s = "reauthenticate";
|
|
7714
7723
|
try {
|
|
7715
|
-
const i = await Bt(t,
|
|
7724
|
+
const i = await Bt(t, fi(r, s, e, t), n);
|
|
7716
7725
|
M(
|
|
7717
7726
|
i.idToken,
|
|
7718
7727
|
r,
|
|
@@ -7760,7 +7769,7 @@ async function nl(t, e, n = !1) {
|
|
|
7760
7769
|
async function rl(t, e, n = !1) {
|
|
7761
7770
|
if (pe(t.app))
|
|
7762
7771
|
return Promise.reject(Re(t));
|
|
7763
|
-
const r = "signIn", s = await
|
|
7772
|
+
const r = "signIn", s = await fi(t, r, e), i = await Le._fromIdTokenResponse(t, r, s);
|
|
7764
7773
|
return n || await t._updateCurrentUser(i.user), i;
|
|
7765
7774
|
}
|
|
7766
7775
|
/**
|
|
@@ -8173,7 +8182,7 @@ class dl {
|
|
|
8173
8182
|
return new Promise((c, l) => {
|
|
8174
8183
|
const A = _n("", 20);
|
|
8175
8184
|
s.port1.start();
|
|
8176
|
-
const
|
|
8185
|
+
const f = setTimeout(() => {
|
|
8177
8186
|
l(new Error(
|
|
8178
8187
|
"unsupported_event"
|
|
8179
8188
|
/* _MessageError.UNSUPPORTED_EVENT */
|
|
@@ -8186,7 +8195,7 @@ class dl {
|
|
|
8186
8195
|
if (B.data.eventId === A)
|
|
8187
8196
|
switch (B.data.status) {
|
|
8188
8197
|
case "ack":
|
|
8189
|
-
clearTimeout(
|
|
8198
|
+
clearTimeout(f), i = setTimeout(
|
|
8190
8199
|
() => {
|
|
8191
8200
|
l(new Error(
|
|
8192
8201
|
"timeout"
|
|
@@ -8201,7 +8210,7 @@ class dl {
|
|
|
8201
8210
|
clearTimeout(i), c(B.data.response);
|
|
8202
8211
|
break;
|
|
8203
8212
|
default:
|
|
8204
|
-
clearTimeout(
|
|
8213
|
+
clearTimeout(f), clearTimeout(i), l(new Error(
|
|
8205
8214
|
"invalid_response"
|
|
8206
8215
|
/* _MessageError.INVALID_RESPONSE */
|
|
8207
8216
|
));
|
|
@@ -8259,7 +8268,7 @@ function hl(t) {
|
|
|
8259
8268
|
function vi() {
|
|
8260
8269
|
return typeof de().WorkerGlobalScope < "u" && typeof de().importScripts == "function";
|
|
8261
8270
|
}
|
|
8262
|
-
async function
|
|
8271
|
+
async function ml() {
|
|
8263
8272
|
if (!(navigator != null && navigator.serviceWorker))
|
|
8264
8273
|
return null;
|
|
8265
8274
|
try {
|
|
@@ -8268,7 +8277,7 @@ async function fl() {
|
|
|
8268
8277
|
return null;
|
|
8269
8278
|
}
|
|
8270
8279
|
}
|
|
8271
|
-
function
|
|
8280
|
+
function fl() {
|
|
8272
8281
|
var t;
|
|
8273
8282
|
return ((t = navigator == null ? void 0 : navigator.serviceWorker) === null || t === void 0 ? void 0 : t.controller) || null;
|
|
8274
8283
|
}
|
|
@@ -8395,7 +8404,7 @@ class Di {
|
|
|
8395
8404
|
*/
|
|
8396
8405
|
async initializeSender() {
|
|
8397
8406
|
var e, n;
|
|
8398
|
-
if (this.activeServiceWorker = await
|
|
8407
|
+
if (this.activeServiceWorker = await ml(), !this.activeServiceWorker)
|
|
8399
8408
|
return;
|
|
8400
8409
|
this.sender = new dl(this.activeServiceWorker);
|
|
8401
8410
|
const r = await this.sender._send(
|
|
@@ -8419,7 +8428,7 @@ class Di {
|
|
|
8419
8428
|
* @param key - Storage key which changed.
|
|
8420
8429
|
*/
|
|
8421
8430
|
async notifyServiceWorker(e) {
|
|
8422
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
|
8431
|
+
if (!(!this.sender || !this.activeServiceWorker || fl() !== this.activeServiceWorker))
|
|
8423
8432
|
try {
|
|
8424
8433
|
await this.sender._send(
|
|
8425
8434
|
"keyChanged",
|
|
@@ -8933,7 +8942,7 @@ function kl(t) {
|
|
|
8933
8942
|
* limitations under the License.
|
|
8934
8943
|
*/
|
|
8935
8944
|
async function Rl(t, e = {}) {
|
|
8936
|
-
return
|
|
8945
|
+
return mt(t, "GET", "/v1/projects", e);
|
|
8937
8946
|
}
|
|
8938
8947
|
/**
|
|
8939
8948
|
* @license
|
|
@@ -9172,10 +9181,10 @@ function sA(t, e, n, r = eA, s = tA) {
|
|
|
9172
9181
|
left: a
|
|
9173
9182
|
}), A = K().toLowerCase();
|
|
9174
9183
|
n && (c = ii(A) ? nA : n), ri(A) && (e = e || rA, l.scrollbars = "yes");
|
|
9175
|
-
const
|
|
9184
|
+
const f = Object.entries(l).reduce((B, [w, O]) => `${B}${w}=${O},`, "");
|
|
9176
9185
|
if (Ru(A) && c !== "_self")
|
|
9177
9186
|
return iA(e || "", c), new Gr(null);
|
|
9178
|
-
const p = window.open(e || "", c,
|
|
9187
|
+
const p = window.open(e || "", c, f);
|
|
9179
9188
|
M(
|
|
9180
9189
|
p,
|
|
9181
9190
|
t,
|
|
@@ -9231,19 +9240,19 @@ async function jr(t, e, n, r, s, i) {
|
|
|
9231
9240
|
v: Tt,
|
|
9232
9241
|
eventId: s
|
|
9233
9242
|
};
|
|
9234
|
-
if (e instanceof
|
|
9243
|
+
if (e instanceof mi) {
|
|
9235
9244
|
e.setDefaultLanguage(t.languageCode), a.providerId = e.providerId || "", cc(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
|
|
9236
|
-
for (const [
|
|
9237
|
-
a[
|
|
9245
|
+
for (const [f, p] of Object.entries({}))
|
|
9246
|
+
a[f] = p;
|
|
9238
9247
|
}
|
|
9239
9248
|
if (e instanceof jt) {
|
|
9240
|
-
const
|
|
9241
|
-
|
|
9249
|
+
const f = e.getScopes().filter((p) => p !== "");
|
|
9250
|
+
f.length > 0 && (a.scopes = f.join(","));
|
|
9242
9251
|
}
|
|
9243
9252
|
t.tenantId && (a.tid = t.tenantId);
|
|
9244
9253
|
const c = a;
|
|
9245
|
-
for (const
|
|
9246
|
-
c[
|
|
9254
|
+
for (const f of Object.keys(c))
|
|
9255
|
+
c[f] === void 0 && delete c[f];
|
|
9247
9256
|
const l = await t._getAppCheckToken(), A = l ? `#${cA}=${encodeURIComponent(l)}` : "";
|
|
9248
9257
|
return `${uA(t)}?${Ot(c).slice(1)}${A}`;
|
|
9249
9258
|
}
|
|
@@ -9412,7 +9421,7 @@ function hA(t) {
|
|
|
9412
9421
|
return;
|
|
9413
9422
|
}
|
|
9414
9423
|
}
|
|
9415
|
-
function
|
|
9424
|
+
function mA(t) {
|
|
9416
9425
|
vt(new dt(
|
|
9417
9426
|
"auth",
|
|
9418
9427
|
(e, { options: n }) => {
|
|
@@ -9471,7 +9480,7 @@ function fA(t) {
|
|
|
9471
9480
|
* See the License for the specific language governing permissions and
|
|
9472
9481
|
* limitations under the License.
|
|
9473
9482
|
*/
|
|
9474
|
-
const
|
|
9483
|
+
const fA = 5 * 60, gA = qs("authIdTokenMaxAge") || fA;
|
|
9475
9484
|
let xr = null;
|
|
9476
9485
|
const pA = (t) => async (e) => {
|
|
9477
9486
|
const n = e && await e.getIdTokenResult(), r = n && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(n.issuedAtTime)) / 1e3;
|
|
@@ -9528,7 +9537,7 @@ Uu({
|
|
|
9528
9537
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
|
9529
9538
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
|
9530
9539
|
});
|
|
9531
|
-
|
|
9540
|
+
mA(
|
|
9532
9541
|
"Browser"
|
|
9533
9542
|
/* ClientPlatform.BROWSER */
|
|
9534
9543
|
);
|
|
@@ -9713,10 +9722,10 @@ function xn(t, e, n = 0) {
|
|
|
9713
9722
|
if (!r && !(Fn(t) && Fn(e))) return e;
|
|
9714
9723
|
const i = (r ? t : Object.keys(t)).length, a = r ? e : Object.keys(e), c = a.length, l = r ? new Array(c) : {};
|
|
9715
9724
|
let A = 0;
|
|
9716
|
-
for (let
|
|
9717
|
-
const p = r ?
|
|
9725
|
+
for (let f = 0; f < c; f++) {
|
|
9726
|
+
const p = r ? f : a[f], B = t[p], w = e[p];
|
|
9718
9727
|
if (B === w) {
|
|
9719
|
-
l[p] = B, (r ?
|
|
9728
|
+
l[p] = B, (r ? f < i : OA.call(t, p)) && A++;
|
|
9720
9729
|
continue;
|
|
9721
9730
|
}
|
|
9722
9731
|
if (B === null || w === null || typeof B != "object" || typeof w != "object") {
|
|
@@ -9956,7 +9965,7 @@ function Ti(t) {
|
|
|
9956
9965
|
e = !0;
|
|
9957
9966
|
}, l = () => {
|
|
9958
9967
|
e = !1;
|
|
9959
|
-
}, A = () => Mi.isFocused() && (t.networkMode === "always" || en.isOnline()) && t.canRun(),
|
|
9968
|
+
}, A = () => Mi.isFocused() && (t.networkMode === "always" || en.isOnline()) && t.canRun(), f = () => Oi(t.networkMode) && t.canRun(), p = (I) => {
|
|
9960
9969
|
i() || (r == null || r(), s.resolve(I));
|
|
9961
9970
|
}, B = (I) => {
|
|
9962
9971
|
i() || (r == null || r(), s.reject(I));
|
|
@@ -9999,8 +10008,8 @@ function Ti(t) {
|
|
|
9999
10008
|
continue: () => (r == null || r(), s),
|
|
10000
10009
|
cancelRetry: c,
|
|
10001
10010
|
continueRetry: l,
|
|
10002
|
-
canStart:
|
|
10003
|
-
start: () => (
|
|
10011
|
+
canStart: f,
|
|
10012
|
+
start: () => (f() ? O() : w().then(O), s)
|
|
10004
10013
|
};
|
|
10005
10014
|
}
|
|
10006
10015
|
var Xe, Wr, Gi = (Wr = class {
|
|
@@ -10028,8 +10037,8 @@ var Xe, Wr, Gi = (Wr = class {
|
|
|
10028
10037
|
function NA(t) {
|
|
10029
10038
|
return {
|
|
10030
10039
|
onFetch: (e, n) => {
|
|
10031
|
-
var
|
|
10032
|
-
const r = e.options, s = (B = (p = (
|
|
10040
|
+
var f, p, B, w, O;
|
|
10041
|
+
const r = e.options, s = (B = (p = (f = e.fetchOptions) == null ? void 0 : f.meta) == null ? void 0 : p.fetchMore) == null ? void 0 : B.direction, i = ((w = e.state.data) == null ? void 0 : w.pages) || [], a = ((O = e.state.data) == null ? void 0 : O.pageParams) || [];
|
|
10033
10042
|
let c = { pages: [], pageParams: [] }, l = 0;
|
|
10034
10043
|
const A = async () => {
|
|
10035
10044
|
let I = !1;
|
|
@@ -10053,10 +10062,10 @@ function NA(t) {
|
|
|
10053
10062
|
meta: e.options.meta
|
|
10054
10063
|
};
|
|
10055
10064
|
return V(g), g;
|
|
10056
|
-
})(), q = await R(ee), { maxPages: u } = e.options,
|
|
10065
|
+
})(), q = await R(ee), { maxPages: u } = e.options, m = H ? YA : jA;
|
|
10057
10066
|
return {
|
|
10058
|
-
pages:
|
|
10059
|
-
pageParams:
|
|
10067
|
+
pages: m(Y.pages, q, u),
|
|
10068
|
+
pageParams: m(Y.pageParams, v, u)
|
|
10060
10069
|
};
|
|
10061
10070
|
};
|
|
10062
10071
|
if (s && i.length) {
|
|
@@ -10106,7 +10115,7 @@ function HA(t, { pages: e, pageParams: n }) {
|
|
|
10106
10115
|
var r;
|
|
10107
10116
|
return e.length > 0 ? (r = t.getPreviousPageParam) == null ? void 0 : r.call(t, e[0], e, n[0], n) : void 0;
|
|
10108
10117
|
}
|
|
10109
|
-
var at, Se, ot, re, Ue, S, Et, We, ne, ji,
|
|
10118
|
+
var at, Se, ot, re, Ue, S, Et, We, ne, ji, me, zr, QA = (zr = class extends Gi {
|
|
10110
10119
|
constructor(e) {
|
|
10111
10120
|
super();
|
|
10112
10121
|
G(this, ne);
|
|
@@ -10143,7 +10152,7 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, fe, zr, QA = (zr = class extends Gi {
|
|
|
10143
10152
|
}
|
|
10144
10153
|
setData(e, n) {
|
|
10145
10154
|
const r = GA(this.state.data, e, this.options);
|
|
10146
|
-
return z(this, ne,
|
|
10155
|
+
return z(this, ne, me).call(this, {
|
|
10147
10156
|
data: r,
|
|
10148
10157
|
type: "success",
|
|
10149
10158
|
dataUpdatedAt: n == null ? void 0 : n.updatedAt,
|
|
@@ -10151,7 +10160,7 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, fe, zr, QA = (zr = class extends Gi {
|
|
|
10151
10160
|
}), r;
|
|
10152
10161
|
}
|
|
10153
10162
|
setState(e) {
|
|
10154
|
-
z(this, ne,
|
|
10163
|
+
z(this, ne, me).call(this, { type: "setState", state: e });
|
|
10155
10164
|
}
|
|
10156
10165
|
cancel(e) {
|
|
10157
10166
|
var r, s;
|
|
@@ -10211,10 +10220,10 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, fe, zr, QA = (zr = class extends Gi {
|
|
|
10211
10220
|
return this.observers.length;
|
|
10212
10221
|
}
|
|
10213
10222
|
invalidate() {
|
|
10214
|
-
this.state.isInvalidated || z(this, ne,
|
|
10223
|
+
this.state.isInvalidated || z(this, ne, me).call(this, { type: "invalidate" });
|
|
10215
10224
|
}
|
|
10216
10225
|
async fetch(e, n) {
|
|
10217
|
-
var A,
|
|
10226
|
+
var A, f, p, B, w, O, I, V, R, Q, Y;
|
|
10218
10227
|
if (this.state.fetchStatus !== "idle" && // If the promise in the retryer is already rejected, we have to definitely
|
|
10219
10228
|
// re-start the fetch; there is a chance that the query is still in a
|
|
10220
10229
|
// pending state when that happens
|
|
@@ -10263,7 +10272,7 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, fe, zr, QA = (zr = class extends Gi {
|
|
|
10263
10272
|
})(), l = h(this, at) === "infinite" ? NA(
|
|
10264
10273
|
this.options.pages
|
|
10265
10274
|
) : this.options.behavior;
|
|
10266
|
-
l == null || l.onFetch(c, this), D(this, ot, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((
|
|
10275
|
+
l == null || l.onFetch(c, this), D(this, ot, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((f = c.fetchOptions) == null ? void 0 : f.meta)) && z(this, ne, me).call(this, { type: "fetch", meta: (p = c.fetchOptions) == null ? void 0 : p.meta }), D(this, S, Ti({
|
|
10267
10276
|
initialPromise: n == null ? void 0 : n.initialPromise,
|
|
10268
10277
|
fn: c.fetchFn,
|
|
10269
10278
|
onCancel: (v) => {
|
|
@@ -10273,13 +10282,13 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, fe, zr, QA = (zr = class extends Gi {
|
|
|
10273
10282
|
}), r.abort();
|
|
10274
10283
|
},
|
|
10275
10284
|
onFail: (v, H) => {
|
|
10276
|
-
z(this, ne,
|
|
10285
|
+
z(this, ne, me).call(this, { type: "failed", failureCount: v, error: H });
|
|
10277
10286
|
},
|
|
10278
10287
|
onPause: () => {
|
|
10279
|
-
z(this, ne,
|
|
10288
|
+
z(this, ne, me).call(this, { type: "pause" });
|
|
10280
10289
|
},
|
|
10281
10290
|
onContinue: () => {
|
|
10282
|
-
z(this, ne,
|
|
10291
|
+
z(this, ne, me).call(this, { type: "continue" });
|
|
10283
10292
|
},
|
|
10284
10293
|
retry: c.options.retry,
|
|
10285
10294
|
retryDelay: c.options.retryDelay,
|
|
@@ -10308,7 +10317,7 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, fe, zr, QA = (zr = class extends Gi {
|
|
|
10308
10317
|
return this.state.data;
|
|
10309
10318
|
}
|
|
10310
10319
|
}
|
|
10311
|
-
throw z(this, ne,
|
|
10320
|
+
throw z(this, ne, me).call(this, {
|
|
10312
10321
|
type: "error",
|
|
10313
10322
|
error: v
|
|
10314
10323
|
}), (R = (V = h(this, re).config).onError) == null || R.call(
|
|
@@ -10327,7 +10336,7 @@ var at, Se, ot, re, Ue, S, Et, We, ne, ji, fe, zr, QA = (zr = class extends Gi {
|
|
|
10327
10336
|
}
|
|
10328
10337
|
}, at = new WeakMap(), Se = new WeakMap(), ot = new WeakMap(), re = new WeakMap(), Ue = new WeakMap(), S = new WeakMap(), Et = new WeakMap(), We = new WeakMap(), ne = new WeakSet(), ji = function() {
|
|
10329
10338
|
return this.state.fetchStatus === "paused" && this.state.status === "pending";
|
|
10330
|
-
},
|
|
10339
|
+
}, me = function(e) {
|
|
10331
10340
|
const n = (r) => {
|
|
10332
10341
|
switch (e.type) {
|
|
10333
10342
|
case "failed":
|
|
@@ -10473,7 +10482,7 @@ var Mt, ce, Z, ze, ue, Me, Zr, SA = (Zr = class extends Gi {
|
|
|
10473
10482
|
this.execute(this.state.variables);
|
|
10474
10483
|
}
|
|
10475
10484
|
async execute(e) {
|
|
10476
|
-
var a, c, l, A,
|
|
10485
|
+
var a, c, l, A, f, p, B, w, O, I, V, R, Q, Y, v, H, U, ee;
|
|
10477
10486
|
const n = () => {
|
|
10478
10487
|
z(this, ue, Me).call(this, { type: "continue" });
|
|
10479
10488
|
}, r = {
|
|
@@ -10525,8 +10534,8 @@ var Mt, ce, Z, ze, ue, Me, Zr, SA = (Zr = class extends Gi {
|
|
|
10525
10534
|
this.state.context,
|
|
10526
10535
|
this,
|
|
10527
10536
|
r
|
|
10528
|
-
)), await ((p = (
|
|
10529
|
-
|
|
10537
|
+
)), await ((p = (f = this.options).onSuccess) == null ? void 0 : p.call(
|
|
10538
|
+
f,
|
|
10530
10539
|
q,
|
|
10531
10540
|
e,
|
|
10532
10541
|
this.state.context,
|
|
@@ -10678,13 +10687,13 @@ function UA() {
|
|
|
10678
10687
|
submittedAt: 0
|
|
10679
10688
|
};
|
|
10680
10689
|
}
|
|
10681
|
-
var
|
|
10690
|
+
var fe, ae, It, Lr, Yi = (Lr = class extends un {
|
|
10682
10691
|
constructor(n = {}) {
|
|
10683
10692
|
super();
|
|
10684
|
-
G(this,
|
|
10693
|
+
G(this, fe);
|
|
10685
10694
|
G(this, ae);
|
|
10686
10695
|
G(this, It);
|
|
10687
|
-
this.config = n, D(this,
|
|
10696
|
+
this.config = n, D(this, fe, /* @__PURE__ */ new Set()), D(this, ae, /* @__PURE__ */ new Map()), D(this, It, 0);
|
|
10688
10697
|
}
|
|
10689
10698
|
build(n, r, s) {
|
|
10690
10699
|
const i = new SA({
|
|
@@ -10697,7 +10706,7 @@ var me, ae, It, Lr, Yi = (Lr = class extends un {
|
|
|
10697
10706
|
return this.add(i), i;
|
|
10698
10707
|
}
|
|
10699
10708
|
add(n) {
|
|
10700
|
-
h(this,
|
|
10709
|
+
h(this, fe).add(n);
|
|
10701
10710
|
const r = Rt(n);
|
|
10702
10711
|
if (typeof r == "string") {
|
|
10703
10712
|
const s = h(this, ae).get(r);
|
|
@@ -10706,7 +10715,7 @@ var me, ae, It, Lr, Yi = (Lr = class extends un {
|
|
|
10706
10715
|
this.notify({ type: "added", mutation: n });
|
|
10707
10716
|
}
|
|
10708
10717
|
remove(n) {
|
|
10709
|
-
if (h(this,
|
|
10718
|
+
if (h(this, fe).delete(n)) {
|
|
10710
10719
|
const r = Rt(n);
|
|
10711
10720
|
if (typeof r == "string") {
|
|
10712
10721
|
const s = h(this, ae).get(r);
|
|
@@ -10740,13 +10749,13 @@ var me, ae, It, Lr, Yi = (Lr = class extends un {
|
|
|
10740
10749
|
}
|
|
10741
10750
|
clear() {
|
|
10742
10751
|
L.batch(() => {
|
|
10743
|
-
h(this,
|
|
10752
|
+
h(this, fe).forEach((n) => {
|
|
10744
10753
|
this.notify({ type: "removed", mutation: n });
|
|
10745
|
-
}), h(this,
|
|
10754
|
+
}), h(this, fe).clear(), h(this, ae).clear();
|
|
10746
10755
|
});
|
|
10747
10756
|
}
|
|
10748
10757
|
getAll() {
|
|
10749
|
-
return Array.from(h(this,
|
|
10758
|
+
return Array.from(h(this, fe));
|
|
10750
10759
|
}
|
|
10751
10760
|
find(n) {
|
|
10752
10761
|
const r = { exact: !0, ...n };
|
|
@@ -10772,7 +10781,7 @@ var me, ae, It, Lr, Yi = (Lr = class extends un {
|
|
|
10772
10781
|
)
|
|
10773
10782
|
);
|
|
10774
10783
|
}
|
|
10775
|
-
},
|
|
10784
|
+
}, fe = new WeakMap(), ae = new WeakMap(), It = new WeakMap(), Lr);
|
|
10776
10785
|
function Rt(t) {
|
|
10777
10786
|
var e;
|
|
10778
10787
|
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
@@ -11262,8 +11271,8 @@ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ *
|
|
|
11262
11271
|
var B, w;
|
|
11263
11272
|
if (!((B = A.meta) != null && B.sidebarDisplay) || A.meta.region && !((w = A.meta.region) != null && w[e.currentCountry.value]) || A.meta.section)
|
|
11264
11273
|
return;
|
|
11265
|
-
const
|
|
11266
|
-
label:
|
|
11274
|
+
const f = A.meta.sidebarDisplay, p = {
|
|
11275
|
+
label: f.startsWith("i18n:") ? r(f.replaceAll("i18n:", "")) : f,
|
|
11267
11276
|
value: A.name,
|
|
11268
11277
|
action: () => {
|
|
11269
11278
|
if (n.currentRoute.value.name !== A.name)
|
|
@@ -11272,10 +11281,10 @@ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ *
|
|
|
11272
11281
|
};
|
|
11273
11282
|
return A.meta.sidebarNew && (p.badge = () => vn(ea.FmPill, { label: "New" })), p;
|
|
11274
11283
|
}).filter((A) => !!A);
|
|
11275
|
-
function a(A,
|
|
11284
|
+
function a(A, f) {
|
|
11276
11285
|
return A.map((p) => {
|
|
11277
11286
|
var B, w;
|
|
11278
|
-
return (B = p.meta) != null && B.useChildrenRoutes ? a(p.children || [],
|
|
11287
|
+
return (B = p.meta) != null && B.useChildrenRoutes ? a(p.children || [], f) : (w = p.meta) != null && w.sidebarDisplay ? p.meta.section !== f ? [] : [
|
|
11279
11288
|
{
|
|
11280
11289
|
label: p.meta.sidebarDisplay.startsWith("i18n:") ? r(p.meta.sidebarDisplay.replaceAll("i18n:", "")) : p.meta.sidebarDisplay,
|
|
11281
11290
|
value: p.name,
|
|
@@ -11288,8 +11297,8 @@ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ *
|
|
|
11288
11297
|
}).flat().filter((p) => !!p);
|
|
11289
11298
|
}
|
|
11290
11299
|
const c = pt.map((A) => {
|
|
11291
|
-
var
|
|
11292
|
-
if ((
|
|
11300
|
+
var f;
|
|
11301
|
+
if ((f = A.meta) != null && f.sidebarDisplay && !A.meta.section)
|
|
11293
11302
|
return {
|
|
11294
11303
|
label: A.meta.sidebarDisplay.startsWith("i18n:") ? r(A.meta.sidebarDisplay.replaceAll("i18n:", "")) : A.meta.sidebarDisplay,
|
|
11295
11304
|
value: A.name,
|
|
@@ -11338,11 +11347,11 @@ const ed = (t) => t ? t.role.isAdmin || t.role.isStaff : !1, td = /* @__PURE__ *
|
|
|
11338
11347
|
disabled: !0
|
|
11339
11348
|
}), A.push(...c)), A;
|
|
11340
11349
|
});
|
|
11341
|
-
return (A,
|
|
11350
|
+
return (A, f) => {
|
|
11342
11351
|
const p = es("FmCollapsibleTabs");
|
|
11343
11352
|
return nn(), Hn(p, {
|
|
11344
11353
|
modelValue: s.value,
|
|
11345
|
-
"onUpdate:modelValue":
|
|
11354
|
+
"onUpdate:modelValue": f[0] || (f[0] = (B) => s.value = B),
|
|
11346
11355
|
items: l.value,
|
|
11347
11356
|
class: "py-16 px-8 w-[240px]"
|
|
11348
11357
|
}, null, 8, ["modelValue", "items"]);
|