@feedmepos/mf-payment 1.4.21 → 1.4.23
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-CXzcR3lA.js → Actions.vue_vue_type_script_setup_true_lang-ClTndbYh.js} +1 -1
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DP8STuAT.js +47 -0
- package/dist/Chargeback-B0gRIpiJ.js +413 -0
- package/dist/{OnboardForm-DRTeMI32.js → OnboardForm-Bhqt-Q6k.js} +2 -2
- package/dist/{OnboardForm-BHT2IaUt.js → OnboardForm-BvrKiqP1.js} +2 -2
- package/dist/{OnboardSubmission-D_T1RJQH.js → OnboardSubmission-B-0uJv51.js} +1 -1
- package/dist/{OnboardSubmission-LNBKTrDd.js → OnboardSubmission-DFreyD4V.js} +1 -1
- package/dist/{PayoutAccount-DqLL0Lc0.js → PayoutAccount-BsxNx86g.js} +3 -3
- package/dist/{PayoutAccount-t-t5ndKZ.js → PayoutAccount-DrwnZPIB.js} +1 -1
- package/dist/{Restaurant-ZTbhEMio.js → Restaurant-CCaYPuWH.js} +1 -1
- package/dist/{Settlement-CqZSTDvu.js → Settlement-BQNJSUCM.js} +1 -1
- package/dist/{Settlement-CR8qyWus.js → Settlement-BU-jCEbB.js} +1 -1
- package/dist/{SettlementTransactions-C9jYK2Ne.js → SettlementTransactions-CqELsVFS.js} +6 -5
- package/dist/{SettlementTransactions-BX1D315E.js → SettlementTransactions-T6k6cAin.js} +4 -3
- package/dist/{Transaction-NaM-tip2.js → Transaction-B85QLk-_.js} +5 -4
- package/dist/{Transaction-8hEjSIV1.js → Transaction-CgFaGqHr.js} +9 -8
- package/dist/{TransactionOld-Qhbe5ao8.js → TransactionOld-BlSmbndR.js} +23 -22
- package/dist/api/transaction/index.d.ts +17 -0
- package/dist/{app-CDr59oLf.js → app-DlAaBxih.js} +73 -65
- package/dist/app.js +1 -1
- package/dist/{assets-BGs9zWOF.js → assets-B8TAgjHY.js} +90 -201
- package/dist/components/AutoCopyCell.vue.d.ts +4 -0
- package/dist/index-CYHO6usZ.js +145 -0
- package/dist/{index-DhUIX6ww.js → index-JNhw7LUy.js} +1 -1
- package/dist/model/chargeback.d.ts +24 -0
- package/dist/package.json +1 -1
- package/dist/{payout-account-D91l85XC.js → payout-account-B8gx9H3E.js} +2 -2
- package/dist/{plugins-Cyj2wAwo.js → plugins-Cp96IRMs.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/chargeback/Chargeback.vue.d.ts +2 -0
- package/dist/views/admin/chargeback/CreateChargebackDialog.vue.d.ts +2 -0
- package/dist/views/admin/chargeback/UpdateChargebackDialog.vue.d.ts +6 -0
- package/dist/views/admin/chargeback/cell/Actions.vue.d.ts +8 -0
- package/package.json +1 -1
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-XC4V0tsX.js +0 -40
|
@@ -365,7 +365,7 @@ const Gn = {
|
|
|
365
365
|
sidebarDisplay: "Restaurants",
|
|
366
366
|
section: "payment-gateway"
|
|
367
367
|
},
|
|
368
|
-
component: () => import("./Restaurant-
|
|
368
|
+
component: () => import("./Restaurant-CCaYPuWH.js")
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
371
|
path: "/admin/restaurants/:restaurantId",
|
|
@@ -383,7 +383,7 @@ const Gn = {
|
|
|
383
383
|
sidebarDisplay: "Payout Accounts",
|
|
384
384
|
section: "payment-gateway"
|
|
385
385
|
},
|
|
386
|
-
component: () => import("./PayoutAccount-
|
|
386
|
+
component: () => import("./PayoutAccount-DrwnZPIB.js")
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
path: "/admin/payout-accounts/:accountId",
|
|
@@ -401,7 +401,7 @@ const Gn = {
|
|
|
401
401
|
sidebarDisplay: "Payment Onboarding",
|
|
402
402
|
section: "payment-gateway"
|
|
403
403
|
},
|
|
404
|
-
component: () => import("./OnboardSubmission-
|
|
404
|
+
component: () => import("./OnboardSubmission-DFreyD4V.js")
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
407
|
path: "/admin/onboarding/:submissionId",
|
|
@@ -410,7 +410,7 @@ const Gn = {
|
|
|
410
410
|
meta: {
|
|
411
411
|
parent: "mf-payment-admin.onboard-submission"
|
|
412
412
|
},
|
|
413
|
-
component: () => import("./OnboardForm-
|
|
413
|
+
component: () => import("./OnboardForm-BvrKiqP1.js")
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
416
|
path: "/admin/terminal/pos",
|
|
@@ -481,7 +481,15 @@ const Gn = {
|
|
|
481
481
|
meta: {
|
|
482
482
|
sidebarDisplay: "Transactions"
|
|
483
483
|
},
|
|
484
|
-
component: () => import("./Transaction-
|
|
484
|
+
component: () => import("./Transaction-B85QLk-_.js")
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
path: "/admin/chargeback",
|
|
488
|
+
name: "mf-payment-admin.chargeback",
|
|
489
|
+
meta: {
|
|
490
|
+
sidebarDisplay: "Chargebacks"
|
|
491
|
+
},
|
|
492
|
+
component: () => import("./Chargeback-B0gRIpiJ.js")
|
|
485
493
|
},
|
|
486
494
|
{
|
|
487
495
|
path: "/admin/settlement",
|
|
@@ -489,7 +497,7 @@ const Gn = {
|
|
|
489
497
|
meta: {
|
|
490
498
|
sidebarDisplay: "Settlements"
|
|
491
499
|
},
|
|
492
|
-
component: () => import("./Settlement-
|
|
500
|
+
component: () => import("./Settlement-BQNJSUCM.js")
|
|
493
501
|
},
|
|
494
502
|
{
|
|
495
503
|
path: "/admin/settlement/:settlementId",
|
|
@@ -498,7 +506,7 @@ const Gn = {
|
|
|
498
506
|
meta: {
|
|
499
507
|
parent: "mf-payment-admin.settlement"
|
|
500
508
|
},
|
|
501
|
-
component: () => import("./SettlementTransactions-
|
|
509
|
+
component: () => import("./SettlementTransactions-T6k6cAin.js")
|
|
502
510
|
}
|
|
503
511
|
], We = [
|
|
504
512
|
{
|
|
@@ -508,7 +516,7 @@ const Gn = {
|
|
|
508
516
|
{
|
|
509
517
|
path: "/payout-account",
|
|
510
518
|
name: "mf-payment-payout-account",
|
|
511
|
-
component: () => import("./PayoutAccount-
|
|
519
|
+
component: () => import("./PayoutAccount-BsxNx86g.js"),
|
|
512
520
|
meta: {
|
|
513
521
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
|
514
522
|
}
|
|
@@ -516,7 +524,7 @@ const Gn = {
|
|
|
516
524
|
{
|
|
517
525
|
path: "/onboard-submission",
|
|
518
526
|
name: "mf-payment-onboard-submission",
|
|
519
|
-
component: () => import("./OnboardSubmission-
|
|
527
|
+
component: () => import("./OnboardSubmission-B-0uJv51.js"),
|
|
520
528
|
meta: {
|
|
521
529
|
sidebarDisplay: "i18n:payment.routes.onboard_submission",
|
|
522
530
|
region: { MY: !0 }
|
|
@@ -526,7 +534,7 @@ const Gn = {
|
|
|
526
534
|
path: "/onboard-submission/:type/:submission?",
|
|
527
535
|
name: "mf-payment-onboard-submission-form",
|
|
528
536
|
props: !0,
|
|
529
|
-
component: () => import("./OnboardForm-
|
|
537
|
+
component: () => import("./OnboardForm-Bhqt-Q6k.js"),
|
|
530
538
|
meta: {
|
|
531
539
|
parent: "mf-payment-onboard-submission"
|
|
532
540
|
}
|
|
@@ -534,7 +542,7 @@ const Gn = {
|
|
|
534
542
|
{
|
|
535
543
|
path: "/transaction-old",
|
|
536
544
|
name: "mf-payment-old-transaction",
|
|
537
|
-
component: () => import("./TransactionOld-
|
|
545
|
+
component: () => import("./TransactionOld-BlSmbndR.js"),
|
|
538
546
|
meta: {
|
|
539
547
|
sidebarDisplay: "i18n:payment.routes.transaction"
|
|
540
548
|
}
|
|
@@ -542,7 +550,7 @@ const Gn = {
|
|
|
542
550
|
{
|
|
543
551
|
path: "/transaction",
|
|
544
552
|
name: "mf-payment-transaction",
|
|
545
|
-
component: () => import("./Transaction-
|
|
553
|
+
component: () => import("./Transaction-CgFaGqHr.js"),
|
|
546
554
|
meta: {
|
|
547
555
|
sidebarDisplay: "i18n:payment.routes.transaction-new",
|
|
548
556
|
sidebarNew: !0
|
|
@@ -551,7 +559,7 @@ const Gn = {
|
|
|
551
559
|
{
|
|
552
560
|
path: "/settlement",
|
|
553
561
|
name: "mf-payment-settlement",
|
|
554
|
-
component: () => import("./Settlement-
|
|
562
|
+
component: () => import("./Settlement-BU-jCEbB.js"),
|
|
555
563
|
meta: {
|
|
556
564
|
sidebarDisplay: "i18n:payment.routes.settlement"
|
|
557
565
|
}
|
|
@@ -560,7 +568,7 @@ const Gn = {
|
|
|
560
568
|
path: "/settlement/:settlementId",
|
|
561
569
|
name: "mf-payment-settlement-transaction",
|
|
562
570
|
props: !0,
|
|
563
|
-
component: () => import("./SettlementTransactions-
|
|
571
|
+
component: () => import("./SettlementTransactions-CqELsVFS.js"),
|
|
564
572
|
meta: {
|
|
565
573
|
parent: "mf-payment-settlement"
|
|
566
574
|
}
|
|
@@ -1596,7 +1604,7 @@ class zt {
|
|
|
1596
1604
|
}
|
|
1597
1605
|
const Ar = (n, e) => e.some((t) => n instanceof t);
|
|
1598
1606
|
let ct, lt;
|
|
1599
|
-
function
|
|
1607
|
+
function Cr() {
|
|
1600
1608
|
return ct || (ct = [
|
|
1601
1609
|
IDBDatabase,
|
|
1602
1610
|
IDBObjectStore,
|
|
@@ -1605,7 +1613,7 @@ function Rr() {
|
|
|
1605
1613
|
IDBTransaction
|
|
1606
1614
|
]);
|
|
1607
1615
|
}
|
|
1608
|
-
function
|
|
1616
|
+
function Rr() {
|
|
1609
1617
|
return lt || (lt = [
|
|
1610
1618
|
IDBCursor.prototype.advance,
|
|
1611
1619
|
IDBCursor.prototype.continue,
|
|
@@ -1668,16 +1676,16 @@ function Dr(n) {
|
|
|
1668
1676
|
}
|
|
1669
1677
|
function Nr(n) {
|
|
1670
1678
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
|
1671
|
-
const r = n.call(
|
|
1679
|
+
const r = n.call(Ce(this), e, ...t);
|
|
1672
1680
|
return qt.set(r, e.sort ? e.sort() : [e]), O(r);
|
|
1673
|
-
} :
|
|
1674
|
-
return n.apply(
|
|
1681
|
+
} : Rr().includes(n) ? function(...e) {
|
|
1682
|
+
return n.apply(Ce(this), e), O(Gt.get(this));
|
|
1675
1683
|
} : function(...e) {
|
|
1676
|
-
return O(n.apply(
|
|
1684
|
+
return O(n.apply(Ce(this), e));
|
|
1677
1685
|
};
|
|
1678
1686
|
}
|
|
1679
1687
|
function Lr(n) {
|
|
1680
|
-
return typeof n == "function" ? Nr(n) : (n instanceof IDBTransaction && Or(n), Ar(n,
|
|
1688
|
+
return typeof n == "function" ? Nr(n) : (n instanceof IDBTransaction && Or(n), Ar(n, Cr()) ? new Proxy(n, Ue) : n);
|
|
1681
1689
|
}
|
|
1682
1690
|
function O(n) {
|
|
1683
1691
|
if (n instanceof IDBRequest)
|
|
@@ -1687,7 +1695,7 @@ function O(n) {
|
|
|
1687
1695
|
const e = Lr(n);
|
|
1688
1696
|
return e !== n && (Ae.set(n, e), Ge.set(e, n)), e;
|
|
1689
1697
|
}
|
|
1690
|
-
const
|
|
1698
|
+
const Ce = (n) => Ge.get(n);
|
|
1691
1699
|
function Mr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1692
1700
|
const a = indexedDB.open(n, e), c = O(a);
|
|
1693
1701
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
|
@@ -1702,12 +1710,12 @@ function Mr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
|
1702
1710
|
}).catch(() => {
|
|
1703
1711
|
}), c;
|
|
1704
1712
|
}
|
|
1705
|
-
const Ur = ["get", "getKey", "getAll", "getAllKeys", "count"], xr = ["put", "add", "delete", "clear"],
|
|
1713
|
+
const Ur = ["get", "getKey", "getAll", "getAllKeys", "count"], xr = ["put", "add", "delete", "clear"], Re = /* @__PURE__ */ new Map();
|
|
1706
1714
|
function ut(n, e) {
|
|
1707
1715
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
|
1708
1716
|
return;
|
|
1709
|
-
if (
|
|
1710
|
-
return
|
|
1717
|
+
if (Re.get(e))
|
|
1718
|
+
return Re.get(e);
|
|
1711
1719
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = xr.includes(t);
|
|
1712
1720
|
if (
|
|
1713
1721
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
@@ -1722,7 +1730,7 @@ function ut(n, e) {
|
|
|
1722
1730
|
i && o.done
|
|
1723
1731
|
]))[0];
|
|
1724
1732
|
};
|
|
1725
|
-
return
|
|
1733
|
+
return Re.set(e, s), s;
|
|
1726
1734
|
}
|
|
1727
1735
|
Dr((n) => ({
|
|
1728
1736
|
...n,
|
|
@@ -2268,7 +2276,7 @@ function ki(n) {
|
|
|
2268
2276
|
)), $(xe, dt, n), $(xe, dt, "esm2017"), $("fire-js", "");
|
|
2269
2277
|
}
|
|
2270
2278
|
ki("");
|
|
2271
|
-
var Ai = "firebase",
|
|
2279
|
+
var Ai = "firebase", Ci = "10.14.1";
|
|
2272
2280
|
/**
|
|
2273
2281
|
* @license
|
|
2274
2282
|
* Copyright 2020 Google LLC
|
|
@@ -2285,7 +2293,7 @@ var Ai = "firebase", Ri = "10.14.1";
|
|
|
2285
2293
|
* See the License for the specific language governing permissions and
|
|
2286
2294
|
* limitations under the License.
|
|
2287
2295
|
*/
|
|
2288
|
-
$(Ai,
|
|
2296
|
+
$(Ai, Ci, "app");
|
|
2289
2297
|
var gt = function() {
|
|
2290
2298
|
return gt = Object.assign || function(e) {
|
|
2291
2299
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
|
@@ -2308,7 +2316,7 @@ function Qt() {
|
|
|
2308
2316
|
"dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
|
|
2309
2317
|
};
|
|
2310
2318
|
}
|
|
2311
|
-
const
|
|
2319
|
+
const Ri = Qt, Zt = new Q("auth", "Firebase", Qt());
|
|
2312
2320
|
/**
|
|
2313
2321
|
* @license
|
|
2314
2322
|
* Copyright 2020 Google LLC
|
|
@@ -2355,7 +2363,7 @@ function _(n, ...e) {
|
|
|
2355
2363
|
return Ke(n, ...e);
|
|
2356
2364
|
}
|
|
2357
2365
|
function en(n, e, t) {
|
|
2358
|
-
const r = Object.assign(Object.assign({},
|
|
2366
|
+
const r = Object.assign(Object.assign({}, Ri()), { [e]: t });
|
|
2359
2367
|
return new Q("auth", "Firebase", r).create(e, {
|
|
2360
2368
|
appName: n.name
|
|
2361
2369
|
});
|
|
@@ -4571,7 +4579,7 @@ A.PROVIDER_ID = "facebook.com";
|
|
|
4571
4579
|
* See the License for the specific language governing permissions and
|
|
4572
4580
|
* limitations under the License.
|
|
4573
4581
|
*/
|
|
4574
|
-
class
|
|
4582
|
+
class C extends ne {
|
|
4575
4583
|
constructor() {
|
|
4576
4584
|
super(
|
|
4577
4585
|
"google.com"
|
|
@@ -4593,8 +4601,8 @@ class R extends ne {
|
|
|
4593
4601
|
*/
|
|
4594
4602
|
static credential(e, t) {
|
|
4595
4603
|
return U._fromParams({
|
|
4596
|
-
providerId:
|
|
4597
|
-
signInMethod:
|
|
4604
|
+
providerId: C.PROVIDER_ID,
|
|
4605
|
+
signInMethod: C.GOOGLE_SIGN_IN_METHOD,
|
|
4598
4606
|
idToken: e,
|
|
4599
4607
|
accessToken: t
|
|
4600
4608
|
});
|
|
@@ -4605,7 +4613,7 @@ class R extends ne {
|
|
|
4605
4613
|
* @param userCredential - The user credential.
|
|
4606
4614
|
*/
|
|
4607
4615
|
static credentialFromResult(e) {
|
|
4608
|
-
return
|
|
4616
|
+
return C.credentialFromTaggedObject(e);
|
|
4609
4617
|
}
|
|
4610
4618
|
/**
|
|
4611
4619
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
|
@@ -4614,7 +4622,7 @@ class R extends ne {
|
|
|
4614
4622
|
* @param userCredential - The user credential.
|
|
4615
4623
|
*/
|
|
4616
4624
|
static credentialFromError(e) {
|
|
4617
|
-
return
|
|
4625
|
+
return C.credentialFromTaggedObject(e.customData || {});
|
|
4618
4626
|
}
|
|
4619
4627
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
|
4620
4628
|
if (!e)
|
|
@@ -4623,14 +4631,14 @@ class R extends ne {
|
|
|
4623
4631
|
if (!t && !r)
|
|
4624
4632
|
return null;
|
|
4625
4633
|
try {
|
|
4626
|
-
return
|
|
4634
|
+
return C.credential(t, r);
|
|
4627
4635
|
} catch {
|
|
4628
4636
|
return null;
|
|
4629
4637
|
}
|
|
4630
4638
|
}
|
|
4631
4639
|
}
|
|
4632
|
-
|
|
4633
|
-
|
|
4640
|
+
C.GOOGLE_SIGN_IN_METHOD = "google.com";
|
|
4641
|
+
C.PROVIDER_ID = "google.com";
|
|
4634
4642
|
/**
|
|
4635
4643
|
* @license
|
|
4636
4644
|
* Copyright 2020 Google LLC
|
|
@@ -4647,7 +4655,7 @@ R.PROVIDER_ID = "google.com";
|
|
|
4647
4655
|
* See the License for the specific language governing permissions and
|
|
4648
4656
|
* limitations under the License.
|
|
4649
4657
|
*/
|
|
4650
|
-
class
|
|
4658
|
+
class R extends ne {
|
|
4651
4659
|
constructor() {
|
|
4652
4660
|
super(
|
|
4653
4661
|
"github.com"
|
|
@@ -4661,8 +4669,8 @@ class C extends ne {
|
|
|
4661
4669
|
*/
|
|
4662
4670
|
static credential(e) {
|
|
4663
4671
|
return U._fromParams({
|
|
4664
|
-
providerId:
|
|
4665
|
-
signInMethod:
|
|
4672
|
+
providerId: R.PROVIDER_ID,
|
|
4673
|
+
signInMethod: R.GITHUB_SIGN_IN_METHOD,
|
|
4666
4674
|
accessToken: e
|
|
4667
4675
|
});
|
|
4668
4676
|
}
|
|
@@ -4672,7 +4680,7 @@ class C extends ne {
|
|
|
4672
4680
|
* @param userCredential - The user credential.
|
|
4673
4681
|
*/
|
|
4674
4682
|
static credentialFromResult(e) {
|
|
4675
|
-
return
|
|
4683
|
+
return R.credentialFromTaggedObject(e);
|
|
4676
4684
|
}
|
|
4677
4685
|
/**
|
|
4678
4686
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
|
@@ -4681,20 +4689,20 @@ class C extends ne {
|
|
|
4681
4689
|
* @param userCredential - The user credential.
|
|
4682
4690
|
*/
|
|
4683
4691
|
static credentialFromError(e) {
|
|
4684
|
-
return
|
|
4692
|
+
return R.credentialFromTaggedObject(e.customData || {});
|
|
4685
4693
|
}
|
|
4686
4694
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
|
4687
4695
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
|
4688
4696
|
return null;
|
|
4689
4697
|
try {
|
|
4690
|
-
return
|
|
4698
|
+
return R.credential(e.oauthAccessToken);
|
|
4691
4699
|
} catch {
|
|
4692
4700
|
return null;
|
|
4693
4701
|
}
|
|
4694
4702
|
}
|
|
4695
4703
|
}
|
|
4696
|
-
|
|
4697
|
-
|
|
4704
|
+
R.GITHUB_SIGN_IN_METHOD = "github.com";
|
|
4705
|
+
R.PROVIDER_ID = "github.com";
|
|
4698
4706
|
/**
|
|
4699
4707
|
* @license
|
|
4700
4708
|
* Copyright 2020 Google LLC
|
|
@@ -5451,7 +5459,7 @@ function Es() {
|
|
|
5451
5459
|
* See the License for the specific language governing permissions and
|
|
5452
5460
|
* limitations under the License.
|
|
5453
5461
|
*/
|
|
5454
|
-
const An = "firebaseLocalStorageDb", Ts = 1, _e = "firebaseLocalStorage",
|
|
5462
|
+
const An = "firebaseLocalStorageDb", Ts = 1, _e = "firebaseLocalStorage", Cn = "fbase_key";
|
|
5455
5463
|
class re {
|
|
5456
5464
|
constructor(e) {
|
|
5457
5465
|
this.request = e;
|
|
@@ -5481,7 +5489,7 @@ function Ve() {
|
|
|
5481
5489
|
}), n.addEventListener("upgradeneeded", () => {
|
|
5482
5490
|
const r = n.result;
|
|
5483
5491
|
try {
|
|
5484
|
-
r.createObjectStore(_e, { keyPath:
|
|
5492
|
+
r.createObjectStore(_e, { keyPath: Cn });
|
|
5485
5493
|
} catch (i) {
|
|
5486
5494
|
t(i);
|
|
5487
5495
|
}
|
|
@@ -5493,7 +5501,7 @@ function Ve() {
|
|
|
5493
5501
|
}
|
|
5494
5502
|
async function St(n, e, t) {
|
|
5495
5503
|
const r = Ie(n, !0).put({
|
|
5496
|
-
[
|
|
5504
|
+
[Cn]: e,
|
|
5497
5505
|
value: t
|
|
5498
5506
|
});
|
|
5499
5507
|
return new re(r).toPromise();
|
|
@@ -5506,8 +5514,8 @@ function kt(n, e) {
|
|
|
5506
5514
|
const t = Ie(n, !0).delete(e);
|
|
5507
5515
|
return new re(t).toPromise();
|
|
5508
5516
|
}
|
|
5509
|
-
const As = 800,
|
|
5510
|
-
class
|
|
5517
|
+
const As = 800, Cs = 3;
|
|
5518
|
+
class Rn {
|
|
5511
5519
|
constructor() {
|
|
5512
5520
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
|
5513
5521
|
}, () => {
|
|
@@ -5523,7 +5531,7 @@ class Cn {
|
|
|
5523
5531
|
const r = await this._openDb();
|
|
5524
5532
|
return await e(r);
|
|
5525
5533
|
} catch (r) {
|
|
5526
|
-
if (t++ >
|
|
5534
|
+
if (t++ > Cs)
|
|
5527
5535
|
throw r;
|
|
5528
5536
|
this.db && (this.db.close(), this.db = void 0);
|
|
5529
5537
|
}
|
|
@@ -5656,8 +5664,8 @@ class Cn {
|
|
|
5656
5664
|
this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
|
|
5657
5665
|
}
|
|
5658
5666
|
}
|
|
5659
|
-
|
|
5660
|
-
const
|
|
5667
|
+
Rn.type = "LOCAL";
|
|
5668
|
+
const Rs = Rn;
|
|
5661
5669
|
new te(3e4, 6e4);
|
|
5662
5670
|
/**
|
|
5663
5671
|
* @license
|
|
@@ -6158,7 +6166,7 @@ function Js(n) {
|
|
|
6158
6166
|
* limitations under the License.
|
|
6159
6167
|
*/
|
|
6160
6168
|
const Ys = new te(3e4, 6e4);
|
|
6161
|
-
function
|
|
6169
|
+
function Ct() {
|
|
6162
6170
|
const n = y().___jsl;
|
|
6163
6171
|
if (n != null && n.H) {
|
|
6164
6172
|
for (const e of Object.keys(n.H))
|
|
@@ -6171,12 +6179,12 @@ function Xs(n) {
|
|
|
6171
6179
|
return new Promise((e, t) => {
|
|
6172
6180
|
var r, i, s;
|
|
6173
6181
|
function a() {
|
|
6174
|
-
|
|
6182
|
+
Ct(), gapi.load("gapi.iframes", {
|
|
6175
6183
|
callback: () => {
|
|
6176
6184
|
e(gapi.iframes.getContext());
|
|
6177
6185
|
},
|
|
6178
6186
|
ontimeout: () => {
|
|
6179
|
-
|
|
6187
|
+
Ct(), t(_(
|
|
6180
6188
|
n,
|
|
6181
6189
|
"network-request-failed"
|
|
6182
6190
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
|
@@ -6310,7 +6318,7 @@ const aa = {
|
|
|
6310
6318
|
statusbar: "yes",
|
|
6311
6319
|
toolbar: "no"
|
|
6312
6320
|
}, oa = 500, ca = 600, la = "_blank", ua = "http://localhost";
|
|
6313
|
-
class
|
|
6321
|
+
class Rt {
|
|
6314
6322
|
constructor(e) {
|
|
6315
6323
|
this.window = e, this.associatedEvent = null;
|
|
6316
6324
|
}
|
|
@@ -6334,7 +6342,7 @@ function da(n, e, t, r = oa, i = ca) {
|
|
|
6334
6342
|
t && (c = dn(l) ? la : t), ln(l) && (e = e || ua, o.scrollbars = "yes");
|
|
6335
6343
|
const u = Object.entries(o).reduce((p, [g, F]) => `${p}${g}=${F},`, "");
|
|
6336
6344
|
if (zi(l) && c !== "_self")
|
|
6337
|
-
return ha(e || "", c), new
|
|
6345
|
+
return ha(e || "", c), new Rt(null);
|
|
6338
6346
|
const h = window.open(e || "", c, u);
|
|
6339
6347
|
d(
|
|
6340
6348
|
h,
|
|
@@ -6346,7 +6354,7 @@ function da(n, e, t, r = oa, i = ca) {
|
|
|
6346
6354
|
h.focus();
|
|
6347
6355
|
} catch {
|
|
6348
6356
|
}
|
|
6349
|
-
return new
|
|
6357
|
+
return new Rt(h);
|
|
6350
6358
|
}
|
|
6351
6359
|
function ha(n, e) {
|
|
6352
6360
|
const t = document.createElement("a");
|
|
@@ -6652,7 +6660,7 @@ function Sa(n = _i()) {
|
|
|
6652
6660
|
const t = ns(n, {
|
|
6653
6661
|
popupRedirectResolver: ya,
|
|
6654
6662
|
persistence: [
|
|
6655
|
-
|
|
6663
|
+
Rs,
|
|
6656
6664
|
_s,
|
|
6657
6665
|
Sn
|
|
6658
6666
|
]
|
|
@@ -6742,7 +6750,7 @@ Aa.beforeEach(async (n) => {
|
|
|
6742
6750
|
})
|
|
6743
6751
|
]).then((a) => !0)), Le) : !0;
|
|
6744
6752
|
});
|
|
6745
|
-
const
|
|
6753
|
+
const Ca = /* @__PURE__ */ Mt({
|
|
6746
6754
|
__name: "AppSidebar",
|
|
6747
6755
|
setup(n) {
|
|
6748
6756
|
const e = je(), t = Un(), { t: r } = jn(), i = Fn(t.currentRoute.value.name);
|
|
@@ -6828,11 +6836,11 @@ const Ra = /* @__PURE__ */ Mt({
|
|
|
6828
6836
|
};
|
|
6829
6837
|
}
|
|
6830
6838
|
});
|
|
6831
|
-
var
|
|
6839
|
+
var Ra = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
|
6832
6840
|
const xa = /* @__PURE__ */ Mt({
|
|
6833
6841
|
__name: "App",
|
|
6834
6842
|
setup(n) {
|
|
6835
|
-
const { state: e } = Yn(), t = je(), r = xn(), i = Jt(
|
|
6843
|
+
const { state: e } = Yn(), t = je(), r = xn(), i = Jt(Ra.firebase);
|
|
6836
6844
|
async function s() {
|
|
6837
6845
|
const a = t.sessionUser.value;
|
|
6838
6846
|
if (!a || !a.token) return;
|
|
@@ -6842,7 +6850,7 @@ const xa = /* @__PURE__ */ Mt({
|
|
|
6842
6850
|
return s(), q(t.sessionUser, s), $n(() => {
|
|
6843
6851
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
|
6844
6852
|
}), Hn(() => {
|
|
6845
|
-
t.registerSidebarComponent(
|
|
6853
|
+
t.registerSidebarComponent(Ca);
|
|
6846
6854
|
}), (a, c) => {
|
|
6847
6855
|
const o = Ut("RouterView");
|
|
6848
6856
|
return xt(), Ft(o, {
|
package/dist/app.js
CHANGED