@feedmepos/mf-payment 1.5.0-dev → 1.5.0
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-Do6ar3sx.js → OnboardForm-DHU4ObZ0.js} +1 -1
- package/dist/{OnboardForm-Cc6JOr09.js → OnboardForm-DodpwAN3.js} +1 -1
- package/dist/{PayoutAccount--1J5ubvX.js → PayoutAccount-D7hkn2Nh.js} +1 -1
- package/dist/{PayoutAccount-ChGlsZ-O.js → PayoutAccount-DrKTDnEx.js} +1 -1
- package/dist/{app-D6U0uODp.js → app-O6x_RyMi.js} +57 -57
- package/dist/app.js +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-CVYMFqu9.js → payout-account-DbgXMpEF.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { o as A } from "./index-CbONxZz2.js";
|
|
|
3
3
|
import { u as J } from "./index-BJNCcdvT.js";
|
|
4
4
|
import { useRouter as ee } from "vue-router";
|
|
5
5
|
import { z as u, a as d } from "./validator-DzjyJnvv.js";
|
|
6
|
-
import { P as le } from "./payout-account-
|
|
6
|
+
import { P as le } from "./payout-account-DbgXMpEF.js";
|
|
7
7
|
import { _ } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-CzwG5dCO.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-BP5m6Vic.js";
|
|
@@ -7,7 +7,7 @@ import { p as Df } from "./index-D69RnDa7.js";
|
|
|
7
7
|
import { useSnackbar as Vf } from "@feedmepos/ui-library";
|
|
8
8
|
import { u as Hf } from "./index-BJNCcdvT.js";
|
|
9
9
|
import { s as Nf } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
10
|
-
import { P as mf } from "./payout-account-
|
|
10
|
+
import { P as mf } from "./payout-account-DbgXMpEF.js";
|
|
11
11
|
import { useRouter as Jf } from "vue-router";
|
|
12
12
|
import { _ as qf } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const Wf = { class: "flex" }, cf = { class: "justify-self-center" }, kf = ["src"], Tf = ["src"], o = /* @__PURE__ */ Y({
|
|
@@ -3,7 +3,7 @@ import { p as K } from "./index-D69RnDa7.js";
|
|
|
3
3
|
import { p as U, u as rA, e as lA } from "./index-BJNCcdvT.js";
|
|
4
4
|
import { defineStore as cA } from "pinia";
|
|
5
5
|
import { useI18n as T, useCoreStore as aA } from "@feedmepos/mf-common";
|
|
6
|
-
import { c as nA, a as $, P as J } from "./payout-account-
|
|
6
|
+
import { c as nA, a as $, P as J } from "./payout-account-DbgXMpEF.js";
|
|
7
7
|
import { useDialogChild as BA, useDialog as uA } from "@feedmepos/ui-library";
|
|
8
8
|
import { z as q, a as F } from "./validator-DzjyJnvv.js";
|
|
9
9
|
import { P as AA } from "./PDFViewer-DgyyGDHl.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as y, resolveComponent as p, openBlock as h, createBloc
|
|
|
2
2
|
import { u as O } from "./index-CtkwL_6R.js";
|
|
3
3
|
import { p as K } from "./index-BJNCcdvT.js";
|
|
4
4
|
import { _ as A } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
5
|
-
import { P as V } from "./payout-account-
|
|
5
|
+
import { P as V } from "./payout-account-DbgXMpEF.js";
|
|
6
6
|
import { p as D } from "./index-D69RnDa7.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-zxkA_YTt.js";
|
|
@@ -384,7 +384,7 @@ const Kn = {
|
|
|
384
384
|
sidebarDisplay: "Payout Accounts",
|
|
385
385
|
section: "payment-gateway"
|
|
386
386
|
},
|
|
387
|
-
component: () => import("./PayoutAccount-
|
|
387
|
+
component: () => import("./PayoutAccount-DrKTDnEx.js")
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
390
|
path: "/admin/payout-accounts/:accountId",
|
|
@@ -411,7 +411,7 @@ const Kn = {
|
|
|
411
411
|
meta: {
|
|
412
412
|
parent: "mf-payment-admin.onboard-submission"
|
|
413
413
|
},
|
|
414
|
-
component: () => import("./OnboardForm-
|
|
414
|
+
component: () => import("./OnboardForm-DHU4ObZ0.js")
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
417
|
path: "/admin/terminal/pos",
|
|
@@ -517,7 +517,7 @@ const Kn = {
|
|
|
517
517
|
{
|
|
518
518
|
path: "/payout-account",
|
|
519
519
|
name: "mf-payment-payout-account",
|
|
520
|
-
component: () => import("./PayoutAccount
|
|
520
|
+
component: () => import("./PayoutAccount-D7hkn2Nh.js"),
|
|
521
521
|
meta: {
|
|
522
522
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
|
523
523
|
}
|
|
@@ -535,7 +535,7 @@ const Kn = {
|
|
|
535
535
|
path: "/onboard-submission/:type/:submission?",
|
|
536
536
|
name: "mf-payment-onboard-submission-form",
|
|
537
537
|
props: !0,
|
|
538
|
-
component: () => import("./OnboardForm-
|
|
538
|
+
component: () => import("./OnboardForm-DodpwAN3.js"),
|
|
539
539
|
meta: {
|
|
540
540
|
parent: "mf-payment-onboard-submission"
|
|
541
541
|
}
|
|
@@ -1497,16 +1497,16 @@ const kr = {
|
|
|
1497
1497
|
warn: f.WARN,
|
|
1498
1498
|
error: f.ERROR,
|
|
1499
1499
|
silent: f.SILENT
|
|
1500
|
-
}, Ar = f.INFO,
|
|
1500
|
+
}, Ar = f.INFO, Rr = {
|
|
1501
1501
|
[f.DEBUG]: "log",
|
|
1502
1502
|
[f.VERBOSE]: "log",
|
|
1503
1503
|
[f.INFO]: "info",
|
|
1504
1504
|
[f.WARN]: "warn",
|
|
1505
1505
|
[f.ERROR]: "error"
|
|
1506
|
-
},
|
|
1506
|
+
}, Cr = (n, e, ...t) => {
|
|
1507
1507
|
if (e < n.logLevel)
|
|
1508
1508
|
return;
|
|
1509
|
-
const r = (/* @__PURE__ */ new Date()).toISOString(), i =
|
|
1509
|
+
const r = (/* @__PURE__ */ new Date()).toISOString(), i = Rr[e];
|
|
1510
1510
|
if (i)
|
|
1511
1511
|
console[i](`[${r}] ${n.name}:`, ...t);
|
|
1512
1512
|
else
|
|
@@ -1520,7 +1520,7 @@ class zt {
|
|
|
1520
1520
|
* @param name The name that the logs will be associated with
|
|
1521
1521
|
*/
|
|
1522
1522
|
constructor(e) {
|
|
1523
|
-
this.name = e, this._logLevel = Ar, this._logHandler =
|
|
1523
|
+
this.name = e, this._logLevel = Ar, this._logHandler = Cr, this._userLogHandler = null;
|
|
1524
1524
|
}
|
|
1525
1525
|
get logLevel() {
|
|
1526
1526
|
return this._logLevel;
|
|
@@ -1641,12 +1641,12 @@ function Mr(n) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
function Ur(n) {
|
|
1643
1643
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
|
1644
|
-
const r = n.call(
|
|
1644
|
+
const r = n.call(Re(this), e, ...t);
|
|
1645
1645
|
return qt.set(r, e.sort ? e.sort() : [e]), O(r);
|
|
1646
1646
|
} : Dr().includes(n) ? function(...e) {
|
|
1647
|
-
return n.apply(
|
|
1647
|
+
return n.apply(Re(this), e), O(Gt.get(this));
|
|
1648
1648
|
} : function(...e) {
|
|
1649
|
-
return O(n.apply(
|
|
1649
|
+
return O(n.apply(Re(this), e));
|
|
1650
1650
|
};
|
|
1651
1651
|
}
|
|
1652
1652
|
function xr(n) {
|
|
@@ -1660,7 +1660,7 @@ function O(n) {
|
|
|
1660
1660
|
const e = xr(n);
|
|
1661
1661
|
return e !== n && (Ae.set(n, e), ze.set(e, n)), e;
|
|
1662
1662
|
}
|
|
1663
|
-
const
|
|
1663
|
+
const Re = (n) => ze.get(n);
|
|
1664
1664
|
function Fr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1665
1665
|
const a = indexedDB.open(n, e), c = O(a);
|
|
1666
1666
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
|
@@ -1675,12 +1675,12 @@ function Fr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
|
1675
1675
|
}).catch(() => {
|
|
1676
1676
|
}), c;
|
|
1677
1677
|
}
|
|
1678
|
-
const Br = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"],
|
|
1678
|
+
const Br = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"], Ce = /* @__PURE__ */ new Map();
|
|
1679
1679
|
function lt(n, e) {
|
|
1680
1680
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
|
1681
1681
|
return;
|
|
1682
|
-
if (
|
|
1683
|
-
return
|
|
1682
|
+
if (Ce.get(e))
|
|
1683
|
+
return Ce.get(e);
|
|
1684
1684
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
|
|
1685
1685
|
if (
|
|
1686
1686
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
@@ -1695,7 +1695,7 @@ function lt(n, e) {
|
|
|
1695
1695
|
i && o.done
|
|
1696
1696
|
]))[0];
|
|
1697
1697
|
};
|
|
1698
|
-
return
|
|
1698
|
+
return Ce.set(e, s), s;
|
|
1699
1699
|
}
|
|
1700
1700
|
Mr((n) => ({
|
|
1701
1701
|
...n,
|
|
@@ -2093,7 +2093,7 @@ class ki {
|
|
|
2093
2093
|
constructor(e) {
|
|
2094
2094
|
this.container = e, this._heartbeatsCache = null;
|
|
2095
2095
|
const t = this.container.getProvider("app").getImmediate();
|
|
2096
|
-
this._storage = new
|
|
2096
|
+
this._storage = new Ri(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
|
|
2097
2097
|
}
|
|
2098
2098
|
/**
|
|
2099
2099
|
* Called to report a heartbeat. The function will generate
|
|
@@ -2160,7 +2160,7 @@ function Ai(n, e = Ti) {
|
|
|
2160
2160
|
unsentEntries: r
|
|
2161
2161
|
};
|
|
2162
2162
|
}
|
|
2163
|
-
class
|
|
2163
|
+
class Ri {
|
|
2164
2164
|
constructor(e) {
|
|
2165
2165
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
|
2166
2166
|
}
|
|
@@ -2227,7 +2227,7 @@ function pt(n) {
|
|
|
2227
2227
|
* See the License for the specific language governing permissions and
|
|
2228
2228
|
* limitations under the License.
|
|
2229
2229
|
*/
|
|
2230
|
-
function
|
|
2230
|
+
function Ci(n) {
|
|
2231
2231
|
Y(new W(
|
|
2232
2232
|
"platform-logger",
|
|
2233
2233
|
(e) => new Hr(e),
|
|
@@ -2240,7 +2240,7 @@ function Ri(n) {
|
|
|
2240
2240
|
/* ComponentType.PRIVATE */
|
|
2241
2241
|
)), $(xe, ut, n), $(xe, ut, "esm2017"), $("fire-js", "");
|
|
2242
2242
|
}
|
|
2243
|
-
|
|
2243
|
+
Ci("");
|
|
2244
2244
|
var Pi = "firebase", Oi = "10.14.1";
|
|
2245
2245
|
/**
|
|
2246
2246
|
* @license
|
|
@@ -4544,7 +4544,7 @@ A.PROVIDER_ID = "facebook.com";
|
|
|
4544
4544
|
* See the License for the specific language governing permissions and
|
|
4545
4545
|
* limitations under the License.
|
|
4546
4546
|
*/
|
|
4547
|
-
class
|
|
4547
|
+
class R extends re {
|
|
4548
4548
|
constructor() {
|
|
4549
4549
|
super(
|
|
4550
4550
|
"google.com"
|
|
@@ -4566,8 +4566,8 @@ class C extends re {
|
|
|
4566
4566
|
*/
|
|
4567
4567
|
static credential(e, t) {
|
|
4568
4568
|
return U._fromParams({
|
|
4569
|
-
providerId:
|
|
4570
|
-
signInMethod:
|
|
4569
|
+
providerId: R.PROVIDER_ID,
|
|
4570
|
+
signInMethod: R.GOOGLE_SIGN_IN_METHOD,
|
|
4571
4571
|
idToken: e,
|
|
4572
4572
|
accessToken: t
|
|
4573
4573
|
});
|
|
@@ -4578,7 +4578,7 @@ class C extends re {
|
|
|
4578
4578
|
* @param userCredential - The user credential.
|
|
4579
4579
|
*/
|
|
4580
4580
|
static credentialFromResult(e) {
|
|
4581
|
-
return
|
|
4581
|
+
return R.credentialFromTaggedObject(e);
|
|
4582
4582
|
}
|
|
4583
4583
|
/**
|
|
4584
4584
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
|
@@ -4587,7 +4587,7 @@ class C extends re {
|
|
|
4587
4587
|
* @param userCredential - The user credential.
|
|
4588
4588
|
*/
|
|
4589
4589
|
static credentialFromError(e) {
|
|
4590
|
-
return
|
|
4590
|
+
return R.credentialFromTaggedObject(e.customData || {});
|
|
4591
4591
|
}
|
|
4592
4592
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
|
4593
4593
|
if (!e)
|
|
@@ -4596,14 +4596,14 @@ class C extends re {
|
|
|
4596
4596
|
if (!t && !r)
|
|
4597
4597
|
return null;
|
|
4598
4598
|
try {
|
|
4599
|
-
return
|
|
4599
|
+
return R.credential(t, r);
|
|
4600
4600
|
} catch {
|
|
4601
4601
|
return null;
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
4604
4604
|
}
|
|
4605
|
-
|
|
4606
|
-
|
|
4605
|
+
R.GOOGLE_SIGN_IN_METHOD = "google.com";
|
|
4606
|
+
R.PROVIDER_ID = "google.com";
|
|
4607
4607
|
/**
|
|
4608
4608
|
* @license
|
|
4609
4609
|
* Copyright 2020 Google LLC
|
|
@@ -4620,7 +4620,7 @@ C.PROVIDER_ID = "google.com";
|
|
|
4620
4620
|
* See the License for the specific language governing permissions and
|
|
4621
4621
|
* limitations under the License.
|
|
4622
4622
|
*/
|
|
4623
|
-
class
|
|
4623
|
+
class C extends re {
|
|
4624
4624
|
constructor() {
|
|
4625
4625
|
super(
|
|
4626
4626
|
"github.com"
|
|
@@ -4634,8 +4634,8 @@ class R extends re {
|
|
|
4634
4634
|
*/
|
|
4635
4635
|
static credential(e) {
|
|
4636
4636
|
return U._fromParams({
|
|
4637
|
-
providerId:
|
|
4638
|
-
signInMethod:
|
|
4637
|
+
providerId: C.PROVIDER_ID,
|
|
4638
|
+
signInMethod: C.GITHUB_SIGN_IN_METHOD,
|
|
4639
4639
|
accessToken: e
|
|
4640
4640
|
});
|
|
4641
4641
|
}
|
|
@@ -4645,7 +4645,7 @@ class R extends re {
|
|
|
4645
4645
|
* @param userCredential - The user credential.
|
|
4646
4646
|
*/
|
|
4647
4647
|
static credentialFromResult(e) {
|
|
4648
|
-
return
|
|
4648
|
+
return C.credentialFromTaggedObject(e);
|
|
4649
4649
|
}
|
|
4650
4650
|
/**
|
|
4651
4651
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
|
@@ -4654,20 +4654,20 @@ class R extends re {
|
|
|
4654
4654
|
* @param userCredential - The user credential.
|
|
4655
4655
|
*/
|
|
4656
4656
|
static credentialFromError(e) {
|
|
4657
|
-
return
|
|
4657
|
+
return C.credentialFromTaggedObject(e.customData || {});
|
|
4658
4658
|
}
|
|
4659
4659
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
|
4660
4660
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
|
4661
4661
|
return null;
|
|
4662
4662
|
try {
|
|
4663
|
-
return
|
|
4663
|
+
return C.credential(e.oauthAccessToken);
|
|
4664
4664
|
} catch {
|
|
4665
4665
|
return null;
|
|
4666
4666
|
}
|
|
4667
4667
|
}
|
|
4668
4668
|
}
|
|
4669
|
-
|
|
4670
|
-
|
|
4669
|
+
C.GITHUB_SIGN_IN_METHOD = "github.com";
|
|
4670
|
+
C.PROVIDER_ID = "github.com";
|
|
4671
4671
|
/**
|
|
4672
4672
|
* @license
|
|
4673
4673
|
* Copyright 2020 Google LLC
|
|
@@ -5424,7 +5424,7 @@ function ks() {
|
|
|
5424
5424
|
* See the License for the specific language governing permissions and
|
|
5425
5425
|
* limitations under the License.
|
|
5426
5426
|
*/
|
|
5427
|
-
const An = "firebaseLocalStorageDb", As = 1, _e = "firebaseLocalStorage",
|
|
5427
|
+
const An = "firebaseLocalStorageDb", As = 1, _e = "firebaseLocalStorage", Rn = "fbase_key";
|
|
5428
5428
|
class ie {
|
|
5429
5429
|
constructor(e) {
|
|
5430
5430
|
this.request = e;
|
|
@@ -5442,7 +5442,7 @@ class ie {
|
|
|
5442
5442
|
function Ie(n, e) {
|
|
5443
5443
|
return n.transaction([_e], e ? "readwrite" : "readonly").objectStore(_e);
|
|
5444
5444
|
}
|
|
5445
|
-
function
|
|
5445
|
+
function Rs() {
|
|
5446
5446
|
const n = indexedDB.deleteDatabase(An);
|
|
5447
5447
|
return new ie(n).toPromise();
|
|
5448
5448
|
}
|
|
@@ -5454,24 +5454,24 @@ function Ve() {
|
|
|
5454
5454
|
}), n.addEventListener("upgradeneeded", () => {
|
|
5455
5455
|
const r = n.result;
|
|
5456
5456
|
try {
|
|
5457
|
-
r.createObjectStore(_e, { keyPath:
|
|
5457
|
+
r.createObjectStore(_e, { keyPath: Rn });
|
|
5458
5458
|
} catch (i) {
|
|
5459
5459
|
t(i);
|
|
5460
5460
|
}
|
|
5461
5461
|
}), n.addEventListener("success", async () => {
|
|
5462
5462
|
const r = n.result;
|
|
5463
|
-
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await
|
|
5463
|
+
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await Rs(), e(await Ve()));
|
|
5464
5464
|
});
|
|
5465
5465
|
});
|
|
5466
5466
|
}
|
|
5467
5467
|
async function Tt(n, e, t) {
|
|
5468
5468
|
const r = Ie(n, !0).put({
|
|
5469
|
-
[
|
|
5469
|
+
[Rn]: e,
|
|
5470
5470
|
value: t
|
|
5471
5471
|
});
|
|
5472
5472
|
return new ie(r).toPromise();
|
|
5473
5473
|
}
|
|
5474
|
-
async function
|
|
5474
|
+
async function Cs(n, e) {
|
|
5475
5475
|
const t = Ie(n, !1).get(e), r = await new ie(t).toPromise();
|
|
5476
5476
|
return r === void 0 ? null : r.value;
|
|
5477
5477
|
}
|
|
@@ -5480,7 +5480,7 @@ function St(n, e) {
|
|
|
5480
5480
|
return new ie(t).toPromise();
|
|
5481
5481
|
}
|
|
5482
5482
|
const Ps = 800, Os = 3;
|
|
5483
|
-
class
|
|
5483
|
+
class Cn {
|
|
5484
5484
|
constructor() {
|
|
5485
5485
|
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(() => {
|
|
5486
5486
|
}, () => {
|
|
@@ -5586,7 +5586,7 @@ class Rn {
|
|
|
5586
5586
|
return this._withPendingWrite(async () => (await this._withRetries((r) => Tt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
|
5587
5587
|
}
|
|
5588
5588
|
async _get(e) {
|
|
5589
|
-
const t = await this._withRetries((r) =>
|
|
5589
|
+
const t = await this._withRetries((r) => Cs(r, e));
|
|
5590
5590
|
return this.localCache[e] = t, t;
|
|
5591
5591
|
}
|
|
5592
5592
|
async _remove(e) {
|
|
@@ -5629,8 +5629,8 @@ class Rn {
|
|
|
5629
5629
|
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();
|
|
5630
5630
|
}
|
|
5631
5631
|
}
|
|
5632
|
-
|
|
5633
|
-
const Ds =
|
|
5632
|
+
Cn.type = "LOCAL";
|
|
5633
|
+
const Ds = Cn;
|
|
5634
5634
|
new ne(3e4, 6e4);
|
|
5635
5635
|
/**
|
|
5636
5636
|
* @license
|
|
@@ -6283,7 +6283,7 @@ const la = {
|
|
|
6283
6283
|
statusbar: "yes",
|
|
6284
6284
|
toolbar: "no"
|
|
6285
6285
|
}, ua = 500, da = 600, ha = "_blank", fa = "http://localhost";
|
|
6286
|
-
class
|
|
6286
|
+
class Rt {
|
|
6287
6287
|
constructor(e) {
|
|
6288
6288
|
this.window = e, this.associatedEvent = null;
|
|
6289
6289
|
}
|
|
@@ -6307,7 +6307,7 @@ function pa(n, e, t, r = ua, i = da) {
|
|
|
6307
6307
|
t && (c = dn(l) ? ha : t), ln(l) && (e = e || fa, o.scrollbars = "yes");
|
|
6308
6308
|
const u = Object.entries(o).reduce((p, [m, F]) => `${p}${m}=${F},`, "");
|
|
6309
6309
|
if (Ki(l) && c !== "_self")
|
|
6310
|
-
return ma(e || "", c), new
|
|
6310
|
+
return ma(e || "", c), new Rt(null);
|
|
6311
6311
|
const d = window.open(e || "", c, u);
|
|
6312
6312
|
h(
|
|
6313
6313
|
d,
|
|
@@ -6319,7 +6319,7 @@ function pa(n, e, t, r = ua, i = da) {
|
|
|
6319
6319
|
d.focus();
|
|
6320
6320
|
} catch {
|
|
6321
6321
|
}
|
|
6322
|
-
return new
|
|
6322
|
+
return new Rt(d);
|
|
6323
6323
|
}
|
|
6324
6324
|
function ma(n, e) {
|
|
6325
6325
|
const t = document.createElement("a");
|
|
@@ -6344,7 +6344,7 @@ function ma(n, e) {
|
|
|
6344
6344
|
* limitations under the License.
|
|
6345
6345
|
*/
|
|
6346
6346
|
const ga = "__/auth/handler", _a = "emulator/auth/handler", ya = encodeURIComponent("fac");
|
|
6347
|
-
async function
|
|
6347
|
+
async function Ct(n, e, t, r, i, s) {
|
|
6348
6348
|
h(
|
|
6349
6349
|
n.config.authDomain,
|
|
6350
6350
|
n,
|
|
@@ -6409,12 +6409,12 @@ class ba {
|
|
|
6409
6409
|
async _openPopup(e, t, r, i) {
|
|
6410
6410
|
var s;
|
|
6411
6411
|
S((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
|
6412
|
-
const a = await
|
|
6412
|
+
const a = await Ct(e, t, r, $e(), i);
|
|
6413
6413
|
return pa(e, a, Qe());
|
|
6414
6414
|
}
|
|
6415
6415
|
async _openRedirect(e, t, r, i) {
|
|
6416
6416
|
await this._originValidation(e);
|
|
6417
|
-
const s = await
|
|
6417
|
+
const s = await Ct(e, t, r, $e(), i);
|
|
6418
6418
|
return Es(s), new Promise(() => {
|
|
6419
6419
|
});
|
|
6420
6420
|
}
|
|
@@ -6618,7 +6618,7 @@ const Aa = (n) => async (e) => {
|
|
|
6618
6618
|
} : {}
|
|
6619
6619
|
}));
|
|
6620
6620
|
};
|
|
6621
|
-
function
|
|
6621
|
+
function Ra(n = bi()) {
|
|
6622
6622
|
const e = Kt(n, "auth");
|
|
6623
6623
|
if (e.isInitialized())
|
|
6624
6624
|
return e.getImmediate();
|
|
@@ -6640,7 +6640,7 @@ function Ca(n = bi()) {
|
|
|
6640
6640
|
const i = ar("auth");
|
|
6641
6641
|
return i && os(t, `http://${i}`), t;
|
|
6642
6642
|
}
|
|
6643
|
-
function
|
|
6643
|
+
function Ca() {
|
|
6644
6644
|
var n, e;
|
|
6645
6645
|
return (e = (n = document.getElementsByTagName("head")) === null || n === void 0 ? void 0 : n[0]) !== null && e !== void 0 ? e : document;
|
|
6646
6646
|
}
|
|
@@ -6654,7 +6654,7 @@ ts({
|
|
|
6654
6654
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
6655
6655
|
);
|
|
6656
6656
|
s.customData = i, t(s);
|
|
6657
|
-
}, r.type = "text/javascript", r.charset = "UTF-8",
|
|
6657
|
+
}, r.type = "text/javascript", r.charset = "UTF-8", Ca().appendChild(r);
|
|
6658
6658
|
});
|
|
6659
6659
|
},
|
|
6660
6660
|
gapiScript: "https://apis.google.com/js/api.js",
|
|
@@ -6815,7 +6815,7 @@ const Oa = /* @__PURE__ */ Mt({
|
|
|
6815
6815
|
};
|
|
6816
6816
|
}
|
|
6817
6817
|
});
|
|
6818
|
-
var Da = { firebase: { apiKey: "
|
|
6818
|
+
var Da = { 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" } };
|
|
6819
6819
|
const Ba = /* @__PURE__ */ Mt({
|
|
6820
6820
|
__name: "App",
|
|
6821
6821
|
setup(n) {
|
|
@@ -6823,7 +6823,7 @@ const Ba = /* @__PURE__ */ Mt({
|
|
|
6823
6823
|
async function s() {
|
|
6824
6824
|
const a = t.sessionUser.value;
|
|
6825
6825
|
if (!a || !a.token) return;
|
|
6826
|
-
const c = await a.getCustomToken(), o =
|
|
6826
|
+
const c = await a.getCustomToken(), o = Ra(i);
|
|
6827
6827
|
await ms(o, c);
|
|
6828
6828
|
}
|
|
6829
6829
|
return s(), q(t.sessionUser, s), Vn(() => {
|
package/dist/app.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as st, c as it, p as E, B as at } from "./index-BJNCcdvT.js";
|
|
2
2
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
|
3
3
|
import { d as H } from "./index-_u7l8cO3.js";
|
|
4
|
-
import { _ as ot } from "./app-
|
|
4
|
+
import { _ as ot } from "./app-O6x_RyMi.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|