@feedmepos/mf-payment 1.4.28 → 1.4.29
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/{OnboardForm-OsCSZD51.js → OnboardForm-CWMouF7e.js} +2 -2
- package/dist/{OnboardForm-hY9l_enH.js → OnboardForm-DsjxJ5rn.js} +2 -2
- package/dist/{OnboardSubmission-ByDceZ70.js → OnboardSubmission-Bdd38hsp.js} +1 -1
- package/dist/{OnboardSubmission-CttvUQ4D.js → OnboardSubmission-CwvVOaj_.js} +1 -1
- package/dist/{PayoutAccount-BdasKqjH.js → PayoutAccount-HhE-cOzl.js} +3 -3
- package/dist/{PayoutAccount-eW-MqpMH.js → PayoutAccount-YqtpXBBe.js} +1 -1
- package/dist/{app--H8J5dFW.js → app-BkzaKCP4.js} +57 -57
- package/dist/app.js +1 -1
- package/dist/{index-BsbqgL6x.js → index-DOv6nss7.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-BQpkiil1.js → payout-account-B378Z3Wv.js} +2 -2
- package/dist/{plugins-CMp8J-MM.js → plugins-BikZSYoK.js} +1 -1
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@ import { defineComponent as U, ref as D, computed as vf, resolveComponent as w,
|
|
|
2
2
|
import { z as d, a as s } from "./validator-D5jtpt9A.js";
|
|
3
3
|
import { P as jf, _ as bf } from "./PDFViewer-DlSCBBxr.js";
|
|
4
4
|
import { useCoreStore as xf } from "@feedmepos/mf-common";
|
|
5
|
-
import { o as F } from "./index-
|
|
5
|
+
import { o as F } from "./index-DOv6nss7.js";
|
|
6
6
|
import { p as af } from "./index-DvDscxQR.js";
|
|
7
7
|
import { useSnackbar as df } from "@feedmepos/ui-library";
|
|
8
8
|
import { u as Af } from "./index-C3ZceSMT.js";
|
|
9
9
|
import { s as sf } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
10
|
-
import { P as Lf } from "./payout-account-
|
|
10
|
+
import { P as Lf } from "./payout-account-B378Z3Wv.js";
|
|
11
11
|
import { useRouter as yf } from "vue-router";
|
|
12
12
|
const uf = { class: "flex" }, pf = { class: "justify-self-center" }, Df = ["src"], o = /* @__PURE__ */ U({
|
|
13
13
|
__name: "UploadButton",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as R, createElementVNode as n, toDisplayString as B, Fragment as z, createBlock as T, withCtx as c, createVNode as o, createCommentVNode as j, unref as e, createTextVNode as E, onMounted as X, resolveDynamicComponent as Z } from "vue";
|
|
2
|
-
import { o as _ } from "./index-
|
|
2
|
+
import { o as _ } from "./index-DOv6nss7.js";
|
|
3
3
|
import { u as M } from "./index-C3ZceSMT.js";
|
|
4
4
|
import { useRouter as h } from "vue-router";
|
|
5
5
|
import { z as u, a as d } from "./validator-D5jtpt9A.js";
|
|
6
|
-
import { P as ee } from "./payout-account-
|
|
6
|
+
import { P as ee } from "./payout-account-B378Z3Wv.js";
|
|
7
7
|
import { P as le } from "./PDFViewer-DlSCBBxr.js";
|
|
8
8
|
import { s as te } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
9
9
|
import { _ as ae } from "./Status.vue_vue_type_script_setup_true_lang-COp6-_i4.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as w, watch as f, computed as y, resolveComponent as _, openBlock as k, createBlock as F, withCtx as b, createElementVNode as K, createVNode as m, unref as o, isRef as n, h as O } from "vue";
|
|
2
|
-
import { o as R } from "./index-
|
|
2
|
+
import { o as R } from "./index-DOv6nss7.js";
|
|
3
3
|
import { p as d } from "./index-C3ZceSMT.js";
|
|
4
4
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-D__Vi_FK.js";
|
|
5
5
|
import { useRouter as D } from "vue-router";
|
|
@@ -3,7 +3,7 @@ import { _ as q } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js
|
|
|
3
3
|
import { u as G, p as J, e as L } from "./index-C3ZceSMT.js";
|
|
4
4
|
import { useI18n as K, useCoreStore as Q } from "@feedmepos/mf-common";
|
|
5
5
|
import { _ as X } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js";
|
|
6
|
-
import { o as Z } from "./index-
|
|
6
|
+
import { o as Z } from "./index-DOv6nss7.js";
|
|
7
7
|
import { useRouter as w } from "vue-router";
|
|
8
8
|
import { i as ss } from "./softspace-25X2bjBx.js";
|
|
9
9
|
const es = { class: "flex justify-left items-center mb-6" }, ts = { class: "grid grid-cols-3 gap-6" }, os = { class: "flex items-center" }, ns = ["src"], is = { class: "px-16 text-sm flex-grow" }, rs = { class: "list-disc pl-6" }, ms = {
|
|
@@ -3,12 +3,12 @@ import { p as K } from "./index-DvDscxQR.js";
|
|
|
3
3
|
import { p as U, u as gA, e as lA } from "./index-C3ZceSMT.js";
|
|
4
4
|
import { defineStore as rA } from "pinia";
|
|
5
5
|
import { useI18n as R, useCoreStore as eA } from "@feedmepos/mf-common";
|
|
6
|
-
import { c as cA, a as _, P as J } from "./payout-account-
|
|
6
|
+
import { c as cA, a as _, P as J } from "./payout-account-B378Z3Wv.js";
|
|
7
7
|
import { useDialogChild as nA, useDialog as BA } from "@feedmepos/ui-library";
|
|
8
8
|
import { z as F, a as H } from "./validator-D5jtpt9A.js";
|
|
9
9
|
import { P as $ } from "./PDFViewer-DlSCBBxr.js";
|
|
10
|
-
import "./app
|
|
11
|
-
import "./plugins-
|
|
10
|
+
import "./app-BkzaKCP4.js";
|
|
11
|
+
import "./plugins-BikZSYoK.js";
|
|
12
12
|
import { _ as uA } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
|
13
13
|
function wA() {
|
|
14
14
|
return {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as y, resolveComponent as u, openBlock as h, createBloc
|
|
|
2
2
|
import { u as O } from "./index-DrP0JZhQ.js";
|
|
3
3
|
import { p as K } from "./index-C3ZceSMT.js";
|
|
4
4
|
import { _ as A } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
|
5
|
-
import { P as V } from "./payout-account-
|
|
5
|
+
import { P as V } from "./payout-account-B378Z3Wv.js";
|
|
6
6
|
import { p as D } from "./index-DvDscxQR.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-D__Vi_FK.js";
|
|
@@ -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-YqtpXBBe.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-Bdd38hsp.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-DsjxJ5rn.js")
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
416
|
path: "/admin/terminal/pos",
|
|
@@ -516,7 +516,7 @@ const Gn = {
|
|
|
516
516
|
{
|
|
517
517
|
path: "/payout-account",
|
|
518
518
|
name: "mf-payment-payout-account",
|
|
519
|
-
component: () => import("./PayoutAccount-
|
|
519
|
+
component: () => import("./PayoutAccount-HhE-cOzl.js"),
|
|
520
520
|
meta: {
|
|
521
521
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
|
522
522
|
}
|
|
@@ -524,7 +524,7 @@ const Gn = {
|
|
|
524
524
|
{
|
|
525
525
|
path: "/onboard-submission",
|
|
526
526
|
name: "mf-payment-onboard-submission",
|
|
527
|
-
component: () => import("./OnboardSubmission-
|
|
527
|
+
component: () => import("./OnboardSubmission-CwvVOaj_.js"),
|
|
528
528
|
meta: {
|
|
529
529
|
sidebarDisplay: "i18n:payment.routes.onboard_submission",
|
|
530
530
|
region: { MY: !0 }
|
|
@@ -534,7 +534,7 @@ const Gn = {
|
|
|
534
534
|
path: "/onboard-submission/:type/:submission?",
|
|
535
535
|
name: "mf-payment-onboard-submission-form",
|
|
536
536
|
props: !0,
|
|
537
|
-
component: () => import("./OnboardForm-
|
|
537
|
+
component: () => import("./OnboardForm-CWMouF7e.js"),
|
|
538
538
|
meta: {
|
|
539
539
|
parent: "mf-payment-onboard-submission"
|
|
540
540
|
}
|
|
@@ -1604,7 +1604,7 @@ class zt {
|
|
|
1604
1604
|
}
|
|
1605
1605
|
const Ar = (n, e) => e.some((t) => n instanceof t);
|
|
1606
1606
|
let ct, lt;
|
|
1607
|
-
function
|
|
1607
|
+
function Rr() {
|
|
1608
1608
|
return ct || (ct = [
|
|
1609
1609
|
IDBDatabase,
|
|
1610
1610
|
IDBObjectStore,
|
|
@@ -1613,7 +1613,7 @@ function Cr() {
|
|
|
1613
1613
|
IDBTransaction
|
|
1614
1614
|
]);
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1616
|
+
function Cr() {
|
|
1617
1617
|
return lt || (lt = [
|
|
1618
1618
|
IDBCursor.prototype.advance,
|
|
1619
1619
|
IDBCursor.prototype.continue,
|
|
@@ -1676,16 +1676,16 @@ function Dr(n) {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
function Nr(n) {
|
|
1678
1678
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
|
1679
|
-
const r = n.call(
|
|
1679
|
+
const r = n.call(Re(this), e, ...t);
|
|
1680
1680
|
return qt.set(r, e.sort ? e.sort() : [e]), O(r);
|
|
1681
|
-
} :
|
|
1682
|
-
return n.apply(
|
|
1681
|
+
} : Cr().includes(n) ? function(...e) {
|
|
1682
|
+
return n.apply(Re(this), e), O(Gt.get(this));
|
|
1683
1683
|
} : function(...e) {
|
|
1684
|
-
return O(n.apply(
|
|
1684
|
+
return O(n.apply(Re(this), e));
|
|
1685
1685
|
};
|
|
1686
1686
|
}
|
|
1687
1687
|
function Lr(n) {
|
|
1688
|
-
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, Rr()) ? new Proxy(n, Ue) : n);
|
|
1689
1689
|
}
|
|
1690
1690
|
function O(n) {
|
|
1691
1691
|
if (n instanceof IDBRequest)
|
|
@@ -1695,7 +1695,7 @@ function O(n) {
|
|
|
1695
1695
|
const e = Lr(n);
|
|
1696
1696
|
return e !== n && (Ae.set(n, e), Ge.set(e, n)), e;
|
|
1697
1697
|
}
|
|
1698
|
-
const
|
|
1698
|
+
const Re = (n) => Ge.get(n);
|
|
1699
1699
|
function Mr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1700
1700
|
const a = indexedDB.open(n, e), c = O(a);
|
|
1701
1701
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
|
@@ -1710,12 +1710,12 @@ function Mr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
|
1710
1710
|
}).catch(() => {
|
|
1711
1711
|
}), c;
|
|
1712
1712
|
}
|
|
1713
|
-
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"], Ce = /* @__PURE__ */ new Map();
|
|
1714
1714
|
function ut(n, e) {
|
|
1715
1715
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
|
1716
1716
|
return;
|
|
1717
|
-
if (
|
|
1718
|
-
return
|
|
1717
|
+
if (Ce.get(e))
|
|
1718
|
+
return Ce.get(e);
|
|
1719
1719
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = xr.includes(t);
|
|
1720
1720
|
if (
|
|
1721
1721
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
@@ -1730,7 +1730,7 @@ function ut(n, e) {
|
|
|
1730
1730
|
i && o.done
|
|
1731
1731
|
]))[0];
|
|
1732
1732
|
};
|
|
1733
|
-
return
|
|
1733
|
+
return Ce.set(e, s), s;
|
|
1734
1734
|
}
|
|
1735
1735
|
Dr((n) => ({
|
|
1736
1736
|
...n,
|
|
@@ -2276,7 +2276,7 @@ function ki(n) {
|
|
|
2276
2276
|
)), $(xe, dt, n), $(xe, dt, "esm2017"), $("fire-js", "");
|
|
2277
2277
|
}
|
|
2278
2278
|
ki("");
|
|
2279
|
-
var Ai = "firebase",
|
|
2279
|
+
var Ai = "firebase", Ri = "10.14.1";
|
|
2280
2280
|
/**
|
|
2281
2281
|
* @license
|
|
2282
2282
|
* Copyright 2020 Google LLC
|
|
@@ -2293,7 +2293,7 @@ var Ai = "firebase", Ci = "10.14.1";
|
|
|
2293
2293
|
* See the License for the specific language governing permissions and
|
|
2294
2294
|
* limitations under the License.
|
|
2295
2295
|
*/
|
|
2296
|
-
$(Ai,
|
|
2296
|
+
$(Ai, Ri, "app");
|
|
2297
2297
|
var gt = function() {
|
|
2298
2298
|
return gt = Object.assign || function(e) {
|
|
2299
2299
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
|
@@ -2316,7 +2316,7 @@ function Qt() {
|
|
|
2316
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."
|
|
2317
2317
|
};
|
|
2318
2318
|
}
|
|
2319
|
-
const
|
|
2319
|
+
const Ci = Qt, Zt = new Q("auth", "Firebase", Qt());
|
|
2320
2320
|
/**
|
|
2321
2321
|
* @license
|
|
2322
2322
|
* Copyright 2020 Google LLC
|
|
@@ -2363,7 +2363,7 @@ function _(n, ...e) {
|
|
|
2363
2363
|
return Ke(n, ...e);
|
|
2364
2364
|
}
|
|
2365
2365
|
function en(n, e, t) {
|
|
2366
|
-
const r = Object.assign(Object.assign({},
|
|
2366
|
+
const r = Object.assign(Object.assign({}, Ci()), { [e]: t });
|
|
2367
2367
|
return new Q("auth", "Firebase", r).create(e, {
|
|
2368
2368
|
appName: n.name
|
|
2369
2369
|
});
|
|
@@ -4579,7 +4579,7 @@ A.PROVIDER_ID = "facebook.com";
|
|
|
4579
4579
|
* See the License for the specific language governing permissions and
|
|
4580
4580
|
* limitations under the License.
|
|
4581
4581
|
*/
|
|
4582
|
-
class
|
|
4582
|
+
class R extends ne {
|
|
4583
4583
|
constructor() {
|
|
4584
4584
|
super(
|
|
4585
4585
|
"google.com"
|
|
@@ -4601,8 +4601,8 @@ class C extends ne {
|
|
|
4601
4601
|
*/
|
|
4602
4602
|
static credential(e, t) {
|
|
4603
4603
|
return U._fromParams({
|
|
4604
|
-
providerId:
|
|
4605
|
-
signInMethod:
|
|
4604
|
+
providerId: R.PROVIDER_ID,
|
|
4605
|
+
signInMethod: R.GOOGLE_SIGN_IN_METHOD,
|
|
4606
4606
|
idToken: e,
|
|
4607
4607
|
accessToken: t
|
|
4608
4608
|
});
|
|
@@ -4613,7 +4613,7 @@ class C extends ne {
|
|
|
4613
4613
|
* @param userCredential - The user credential.
|
|
4614
4614
|
*/
|
|
4615
4615
|
static credentialFromResult(e) {
|
|
4616
|
-
return
|
|
4616
|
+
return R.credentialFromTaggedObject(e);
|
|
4617
4617
|
}
|
|
4618
4618
|
/**
|
|
4619
4619
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
|
@@ -4622,7 +4622,7 @@ class C extends ne {
|
|
|
4622
4622
|
* @param userCredential - The user credential.
|
|
4623
4623
|
*/
|
|
4624
4624
|
static credentialFromError(e) {
|
|
4625
|
-
return
|
|
4625
|
+
return R.credentialFromTaggedObject(e.customData || {});
|
|
4626
4626
|
}
|
|
4627
4627
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
|
4628
4628
|
if (!e)
|
|
@@ -4631,14 +4631,14 @@ class C extends ne {
|
|
|
4631
4631
|
if (!t && !r)
|
|
4632
4632
|
return null;
|
|
4633
4633
|
try {
|
|
4634
|
-
return
|
|
4634
|
+
return R.credential(t, r);
|
|
4635
4635
|
} catch {
|
|
4636
4636
|
return null;
|
|
4637
4637
|
}
|
|
4638
4638
|
}
|
|
4639
4639
|
}
|
|
4640
|
-
|
|
4641
|
-
|
|
4640
|
+
R.GOOGLE_SIGN_IN_METHOD = "google.com";
|
|
4641
|
+
R.PROVIDER_ID = "google.com";
|
|
4642
4642
|
/**
|
|
4643
4643
|
* @license
|
|
4644
4644
|
* Copyright 2020 Google LLC
|
|
@@ -4655,7 +4655,7 @@ C.PROVIDER_ID = "google.com";
|
|
|
4655
4655
|
* See the License for the specific language governing permissions and
|
|
4656
4656
|
* limitations under the License.
|
|
4657
4657
|
*/
|
|
4658
|
-
class
|
|
4658
|
+
class C extends ne {
|
|
4659
4659
|
constructor() {
|
|
4660
4660
|
super(
|
|
4661
4661
|
"github.com"
|
|
@@ -4669,8 +4669,8 @@ class R extends ne {
|
|
|
4669
4669
|
*/
|
|
4670
4670
|
static credential(e) {
|
|
4671
4671
|
return U._fromParams({
|
|
4672
|
-
providerId:
|
|
4673
|
-
signInMethod:
|
|
4672
|
+
providerId: C.PROVIDER_ID,
|
|
4673
|
+
signInMethod: C.GITHUB_SIGN_IN_METHOD,
|
|
4674
4674
|
accessToken: e
|
|
4675
4675
|
});
|
|
4676
4676
|
}
|
|
@@ -4680,7 +4680,7 @@ class R extends ne {
|
|
|
4680
4680
|
* @param userCredential - The user credential.
|
|
4681
4681
|
*/
|
|
4682
4682
|
static credentialFromResult(e) {
|
|
4683
|
-
return
|
|
4683
|
+
return C.credentialFromTaggedObject(e);
|
|
4684
4684
|
}
|
|
4685
4685
|
/**
|
|
4686
4686
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
|
@@ -4689,20 +4689,20 @@ class R extends ne {
|
|
|
4689
4689
|
* @param userCredential - The user credential.
|
|
4690
4690
|
*/
|
|
4691
4691
|
static credentialFromError(e) {
|
|
4692
|
-
return
|
|
4692
|
+
return C.credentialFromTaggedObject(e.customData || {});
|
|
4693
4693
|
}
|
|
4694
4694
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
|
4695
4695
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
|
4696
4696
|
return null;
|
|
4697
4697
|
try {
|
|
4698
|
-
return
|
|
4698
|
+
return C.credential(e.oauthAccessToken);
|
|
4699
4699
|
} catch {
|
|
4700
4700
|
return null;
|
|
4701
4701
|
}
|
|
4702
4702
|
}
|
|
4703
4703
|
}
|
|
4704
|
-
|
|
4705
|
-
|
|
4704
|
+
C.GITHUB_SIGN_IN_METHOD = "github.com";
|
|
4705
|
+
C.PROVIDER_ID = "github.com";
|
|
4706
4706
|
/**
|
|
4707
4707
|
* @license
|
|
4708
4708
|
* Copyright 2020 Google LLC
|
|
@@ -5459,7 +5459,7 @@ function Es() {
|
|
|
5459
5459
|
* See the License for the specific language governing permissions and
|
|
5460
5460
|
* limitations under the License.
|
|
5461
5461
|
*/
|
|
5462
|
-
const An = "firebaseLocalStorageDb", Ts = 1, _e = "firebaseLocalStorage",
|
|
5462
|
+
const An = "firebaseLocalStorageDb", Ts = 1, _e = "firebaseLocalStorage", Rn = "fbase_key";
|
|
5463
5463
|
class re {
|
|
5464
5464
|
constructor(e) {
|
|
5465
5465
|
this.request = e;
|
|
@@ -5489,7 +5489,7 @@ function Ve() {
|
|
|
5489
5489
|
}), n.addEventListener("upgradeneeded", () => {
|
|
5490
5490
|
const r = n.result;
|
|
5491
5491
|
try {
|
|
5492
|
-
r.createObjectStore(_e, { keyPath:
|
|
5492
|
+
r.createObjectStore(_e, { keyPath: Rn });
|
|
5493
5493
|
} catch (i) {
|
|
5494
5494
|
t(i);
|
|
5495
5495
|
}
|
|
@@ -5501,7 +5501,7 @@ function Ve() {
|
|
|
5501
5501
|
}
|
|
5502
5502
|
async function St(n, e, t) {
|
|
5503
5503
|
const r = Ie(n, !0).put({
|
|
5504
|
-
[
|
|
5504
|
+
[Rn]: e,
|
|
5505
5505
|
value: t
|
|
5506
5506
|
});
|
|
5507
5507
|
return new re(r).toPromise();
|
|
@@ -5514,8 +5514,8 @@ function kt(n, e) {
|
|
|
5514
5514
|
const t = Ie(n, !0).delete(e);
|
|
5515
5515
|
return new re(t).toPromise();
|
|
5516
5516
|
}
|
|
5517
|
-
const As = 800,
|
|
5518
|
-
class
|
|
5517
|
+
const As = 800, Rs = 3;
|
|
5518
|
+
class Cn {
|
|
5519
5519
|
constructor() {
|
|
5520
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(() => {
|
|
5521
5521
|
}, () => {
|
|
@@ -5531,7 +5531,7 @@ class Rn {
|
|
|
5531
5531
|
const r = await this._openDb();
|
|
5532
5532
|
return await e(r);
|
|
5533
5533
|
} catch (r) {
|
|
5534
|
-
if (t++ >
|
|
5534
|
+
if (t++ > Rs)
|
|
5535
5535
|
throw r;
|
|
5536
5536
|
this.db && (this.db.close(), this.db = void 0);
|
|
5537
5537
|
}
|
|
@@ -5664,8 +5664,8 @@ class Rn {
|
|
|
5664
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();
|
|
5665
5665
|
}
|
|
5666
5666
|
}
|
|
5667
|
-
|
|
5668
|
-
const
|
|
5667
|
+
Cn.type = "LOCAL";
|
|
5668
|
+
const Cs = Cn;
|
|
5669
5669
|
new te(3e4, 6e4);
|
|
5670
5670
|
/**
|
|
5671
5671
|
* @license
|
|
@@ -6166,7 +6166,7 @@ function Js(n) {
|
|
|
6166
6166
|
* limitations under the License.
|
|
6167
6167
|
*/
|
|
6168
6168
|
const Ys = new te(3e4, 6e4);
|
|
6169
|
-
function
|
|
6169
|
+
function Rt() {
|
|
6170
6170
|
const n = y().___jsl;
|
|
6171
6171
|
if (n != null && n.H) {
|
|
6172
6172
|
for (const e of Object.keys(n.H))
|
|
@@ -6179,12 +6179,12 @@ function Xs(n) {
|
|
|
6179
6179
|
return new Promise((e, t) => {
|
|
6180
6180
|
var r, i, s;
|
|
6181
6181
|
function a() {
|
|
6182
|
-
|
|
6182
|
+
Rt(), gapi.load("gapi.iframes", {
|
|
6183
6183
|
callback: () => {
|
|
6184
6184
|
e(gapi.iframes.getContext());
|
|
6185
6185
|
},
|
|
6186
6186
|
ontimeout: () => {
|
|
6187
|
-
|
|
6187
|
+
Rt(), t(_(
|
|
6188
6188
|
n,
|
|
6189
6189
|
"network-request-failed"
|
|
6190
6190
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
|
@@ -6318,7 +6318,7 @@ const aa = {
|
|
|
6318
6318
|
statusbar: "yes",
|
|
6319
6319
|
toolbar: "no"
|
|
6320
6320
|
}, oa = 500, ca = 600, la = "_blank", ua = "http://localhost";
|
|
6321
|
-
class
|
|
6321
|
+
class Ct {
|
|
6322
6322
|
constructor(e) {
|
|
6323
6323
|
this.window = e, this.associatedEvent = null;
|
|
6324
6324
|
}
|
|
@@ -6342,7 +6342,7 @@ function da(n, e, t, r = oa, i = ca) {
|
|
|
6342
6342
|
t && (c = dn(l) ? la : t), ln(l) && (e = e || ua, o.scrollbars = "yes");
|
|
6343
6343
|
const u = Object.entries(o).reduce((p, [g, F]) => `${p}${g}=${F},`, "");
|
|
6344
6344
|
if (zi(l) && c !== "_self")
|
|
6345
|
-
return ha(e || "", c), new
|
|
6345
|
+
return ha(e || "", c), new Ct(null);
|
|
6346
6346
|
const h = window.open(e || "", c, u);
|
|
6347
6347
|
d(
|
|
6348
6348
|
h,
|
|
@@ -6354,7 +6354,7 @@ function da(n, e, t, r = oa, i = ca) {
|
|
|
6354
6354
|
h.focus();
|
|
6355
6355
|
} catch {
|
|
6356
6356
|
}
|
|
6357
|
-
return new
|
|
6357
|
+
return new Ct(h);
|
|
6358
6358
|
}
|
|
6359
6359
|
function ha(n, e) {
|
|
6360
6360
|
const t = document.createElement("a");
|
|
@@ -6660,7 +6660,7 @@ function Sa(n = _i()) {
|
|
|
6660
6660
|
const t = ns(n, {
|
|
6661
6661
|
popupRedirectResolver: ya,
|
|
6662
6662
|
persistence: [
|
|
6663
|
-
|
|
6663
|
+
Cs,
|
|
6664
6664
|
_s,
|
|
6665
6665
|
Sn
|
|
6666
6666
|
]
|
|
@@ -6750,7 +6750,7 @@ Aa.beforeEach(async (n) => {
|
|
|
6750
6750
|
})
|
|
6751
6751
|
]).then((a) => !0)), Le) : !0;
|
|
6752
6752
|
});
|
|
6753
|
-
const
|
|
6753
|
+
const Ra = /* @__PURE__ */ Mt({
|
|
6754
6754
|
__name: "AppSidebar",
|
|
6755
6755
|
setup(n) {
|
|
6756
6756
|
const e = je(), t = Un(), { t: r } = jn(), i = Fn(t.currentRoute.value.name);
|
|
@@ -6836,11 +6836,11 @@ const Ca = /* @__PURE__ */ Mt({
|
|
|
6836
6836
|
};
|
|
6837
6837
|
}
|
|
6838
6838
|
});
|
|
6839
|
-
var
|
|
6839
|
+
var Ca = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
|
|
6840
6840
|
const xa = /* @__PURE__ */ Mt({
|
|
6841
6841
|
__name: "App",
|
|
6842
6842
|
setup(n) {
|
|
6843
|
-
const { state: e } = Yn(), t = je(), r = xn(), i = Jt(
|
|
6843
|
+
const { state: e } = Yn(), t = je(), r = xn(), i = Jt(Ca.firebase);
|
|
6844
6844
|
async function s() {
|
|
6845
6845
|
const a = t.sessionUser.value;
|
|
6846
6846
|
if (!a || !a.token) return;
|
|
@@ -6850,7 +6850,7 @@ const xa = /* @__PURE__ */ Mt({
|
|
|
6850
6850
|
return s(), q(t.sessionUser, s), $n(() => {
|
|
6851
6851
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
|
6852
6852
|
}), Hn(() => {
|
|
6853
|
-
t.registerSidebarComponent(
|
|
6853
|
+
t.registerSidebarComponent(Ra);
|
|
6854
6854
|
}), (a, c) => {
|
|
6855
6855
|
const o = Ut("RouterView");
|
|
6856
6856
|
return xt(), Ft(o, {
|
package/dist/app.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as j } from "./plugins-
|
|
1
|
+
import { f as j } from "./plugins-BikZSYoK.js";
|
|
2
2
|
import { c as st, a as it, B as at, p as E } from "./index-C3ZceSMT.js";
|
|
3
3
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
|
4
|
-
import { _ as ot } from "./app
|
|
4
|
+
import { _ as ot } from "./app-BkzaKCP4.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as be, C as we, r as K, g as C, b as Te, c as ye, d as H, S as ke, e as Ee, F as Ae } from "./app
|
|
1
|
+
import { a as be, C as we, r as K, g as C, b as Te, c as ye, d as H, S as ke, e as Ee, F as Ae } from "./app-BkzaKCP4.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|