@feedmepos/mf-common 1.12.0 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app.js +407 -405
- package/dist/components/Portal/PortalDesktop.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
var lm = Object.defineProperty;
|
2
2
|
var cm = (o, l, s) => l in o ? lm(o, l, { enumerable: !0, configurable: !0, writable: !0, value: s }) : o[l] = s;
|
3
3
|
var Pn = (o, l, s) => (cm(o, typeof l != "symbol" ? l + "" : l, s), s);
|
4
|
-
import { defineComponent as Ct, h as ff, getCurrentInstance as Wr, inject as dm, onMounted as Ho, onUnmounted as fm, shallowRef as vl, ref as Ue, computed as Ve, onBeforeMount as hm, watch as yn, Fragment as lt, effectScope as pm, createVNode as Pe, Text as mm, isRef as Ui, unref as we, nextTick as hf, getCurrentScope as gm, onScopeDispose as ym, reactive as Yu, onBeforeUnmount as pf, resolveComponent as Ze, openBlock as Te, createElementBlock as je, withCtx as Qe, createElementVNode as
|
4
|
+
import { defineComponent as Ct, h as ff, getCurrentInstance as Wr, inject as dm, onMounted as Ho, onUnmounted as fm, shallowRef as vl, ref as Ue, computed as Ve, onBeforeMount as hm, watch as yn, Fragment as lt, effectScope as pm, createVNode as Pe, Text as mm, isRef as Ui, unref as we, nextTick as hf, getCurrentScope as gm, onScopeDispose as ym, reactive as Yu, onBeforeUnmount as pf, resolveComponent as Ze, openBlock as Te, createElementBlock as je, withCtx as Qe, createElementVNode as _e, renderList as an, createBlock as ot, normalizeClass as on, toDisplayString as xe, withModifiers as No, resolveDirective as bm, withDirectives as Yo, createCommentVNode as nt, renderSlot as _l, createTextVNode as mf, mergeProps as gf, watchEffect as Ri, Teleport as jo, Transition as Oi, normalizeStyle as vm, resolveDynamicComponent as xo, vShow as Al, markRaw as uu } from "vue";
|
5
5
|
import { defineStore as _m, storeToRefs as Am } from "pinia";
|
6
6
|
import { useRouter as El, useRoute as yf } from "vue-router";
|
7
7
|
import { useDialog as Ca, setLocale as Em, useProxiedModel as li, useDialogChild as $l, useSnackbar as wl, components as $m, useBreakpoints as Fl } from "@feedmepos/ui-library";
|
@@ -29109,7 +29109,7 @@ const ob = (o) => {
|
|
29109
29109
|
}))(`axios@${Math.random()}`, []) : (s) => setTimeout(s))(
|
29110
29110
|
typeof setImmediate == "function",
|
29111
29111
|
ln(Zr.postMessage)
|
29112
|
-
), lb = typeof queueMicrotask < "u" ? queueMicrotask.bind(Zr) : typeof process < "u" && process.nextTick || Xh,
|
29112
|
+
), lb = typeof queueMicrotask < "u" ? queueMicrotask.bind(Zr) : typeof process < "u" && process.nextTick || Xh, Ae = {
|
29113
29113
|
isArray: aa,
|
29114
29114
|
isArrayBuffer: Hh,
|
29115
29115
|
isBuffer: Ty,
|
@@ -29172,7 +29172,7 @@ const ob = (o) => {
|
|
29172
29172
|
function Xe(o, l, s, h, m) {
|
29173
29173
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = o, this.name = "AxiosError", l && (this.code = l), s && (this.config = s), h && (this.request = h), m && (this.response = m, this.status = m.status ? m.status : null);
|
29174
29174
|
}
|
29175
|
-
|
29175
|
+
Ae.inherits(Xe, Error, {
|
29176
29176
|
toJSON: function() {
|
29177
29177
|
return {
|
29178
29178
|
// Standard
|
@@ -29187,7 +29187,7 @@ _e.inherits(Xe, Error, {
|
|
29187
29187
|
columnNumber: this.columnNumber,
|
29188
29188
|
stack: this.stack,
|
29189
29189
|
// Axios
|
29190
|
-
config:
|
29190
|
+
config: Ae.toJSONObject(this.config),
|
29191
29191
|
code: this.code,
|
29192
29192
|
status: this.status
|
29193
29193
|
};
|
@@ -29215,16 +29215,16 @@ Object.defineProperties(Xe, Jh);
|
|
29215
29215
|
Object.defineProperty(Qh, "isAxiosError", { value: !0 });
|
29216
29216
|
Xe.from = (o, l, s, h, m, y) => {
|
29217
29217
|
const _ = Object.create(Qh);
|
29218
|
-
return
|
29218
|
+
return Ae.toFlatObject(o, _, function(S) {
|
29219
29219
|
return S !== Error.prototype;
|
29220
29220
|
}, (A) => A !== "isAxiosError"), Xe.call(_, o.message, l, s, h, m), _.cause = o, _.name = o.name, y && Object.assign(_, y), _;
|
29221
29221
|
};
|
29222
29222
|
const cb = null;
|
29223
29223
|
function Qu(o) {
|
29224
|
-
return
|
29224
|
+
return Ae.isPlainObject(o) || Ae.isArray(o);
|
29225
29225
|
}
|
29226
29226
|
function ep(o) {
|
29227
|
-
return
|
29227
|
+
return Ae.endsWith(o, "[]") ? o.slice(0, -2) : o;
|
29228
29228
|
}
|
29229
29229
|
function dd(o, l, s) {
|
29230
29230
|
return o ? o.concat(l).map(function(m, y) {
|
@@ -29232,41 +29232,41 @@ function dd(o, l, s) {
|
|
29232
29232
|
}).join(s ? "." : "") : l;
|
29233
29233
|
}
|
29234
29234
|
function db(o) {
|
29235
|
-
return
|
29235
|
+
return Ae.isArray(o) && !o.some(Qu);
|
29236
29236
|
}
|
29237
|
-
const fb =
|
29237
|
+
const fb = Ae.toFlatObject(Ae, {}, null, function(l) {
|
29238
29238
|
return /^is[A-Z]/.test(l);
|
29239
29239
|
});
|
29240
29240
|
function Ls(o, l, s) {
|
29241
|
-
if (!
|
29241
|
+
if (!Ae.isObject(o))
|
29242
29242
|
throw new TypeError("target must be an object");
|
29243
|
-
l = l || new FormData(), s =
|
29243
|
+
l = l || new FormData(), s = Ae.toFlatObject(s, {
|
29244
29244
|
metaTokens: !0,
|
29245
29245
|
dots: !1,
|
29246
29246
|
indexes: !1
|
29247
29247
|
}, !1, function(te, J) {
|
29248
|
-
return !
|
29248
|
+
return !Ae.isUndefined(J[te]);
|
29249
29249
|
});
|
29250
|
-
const h = s.metaTokens, m = s.visitor || j, y = s.dots, _ = s.indexes, S = (s.Blob || typeof Blob < "u" && Blob) &&
|
29251
|
-
if (!
|
29250
|
+
const h = s.metaTokens, m = s.visitor || j, y = s.dots, _ = s.indexes, S = (s.Blob || typeof Blob < "u" && Blob) && Ae.isSpecCompliantForm(l);
|
29251
|
+
if (!Ae.isFunction(m))
|
29252
29252
|
throw new TypeError("visitor must be a function");
|
29253
29253
|
function P(ee) {
|
29254
29254
|
if (ee === null)
|
29255
29255
|
return "";
|
29256
|
-
if (
|
29256
|
+
if (Ae.isDate(ee))
|
29257
29257
|
return ee.toISOString();
|
29258
|
-
if (!S &&
|
29258
|
+
if (!S && Ae.isBlob(ee))
|
29259
29259
|
throw new Xe("Blob is not supported. Use a Buffer instead.");
|
29260
|
-
return
|
29260
|
+
return Ae.isArrayBuffer(ee) || Ae.isTypedArray(ee) ? S && typeof Blob == "function" ? new Blob([ee]) : Buffer.from(ee) : ee;
|
29261
29261
|
}
|
29262
29262
|
function j(ee, te, J) {
|
29263
29263
|
let oe = ee;
|
29264
29264
|
if (ee && !J && typeof ee == "object") {
|
29265
|
-
if (
|
29265
|
+
if (Ae.endsWith(te, "{}"))
|
29266
29266
|
te = h ? te : te.slice(0, -2), ee = JSON.stringify(ee);
|
29267
|
-
else if (
|
29267
|
+
else if (Ae.isArray(ee) && db(ee) || (Ae.isFileList(ee) || Ae.endsWith(te, "[]")) && (oe = Ae.toArray(ee)))
|
29268
29268
|
return te = ep(te), oe.forEach(function(G, ie) {
|
29269
|
-
!(
|
29269
|
+
!(Ae.isUndefined(G) || G === null) && l.append(
|
29270
29270
|
// eslint-disable-next-line no-nested-ternary
|
29271
29271
|
_ === !0 ? dd([te], ie, y) : _ === null ? te : te + "[]",
|
29272
29272
|
P(G)
|
@@ -29281,21 +29281,21 @@ function Ls(o, l, s) {
|
|
29281
29281
|
isVisitable: Qu
|
29282
29282
|
});
|
29283
29283
|
function V(ee, te) {
|
29284
|
-
if (!
|
29284
|
+
if (!Ae.isUndefined(ee)) {
|
29285
29285
|
if (B.indexOf(ee) !== -1)
|
29286
29286
|
throw Error("Circular reference detected in " + te.join("."));
|
29287
|
-
B.push(ee),
|
29288
|
-
(!(
|
29287
|
+
B.push(ee), Ae.forEach(ee, function(oe, Q) {
|
29288
|
+
(!(Ae.isUndefined(oe) || oe === null) && m.call(
|
29289
29289
|
l,
|
29290
29290
|
oe,
|
29291
|
-
|
29291
|
+
Ae.isString(Q) ? Q.trim() : Q,
|
29292
29292
|
te,
|
29293
29293
|
q
|
29294
29294
|
)) === !0 && V(oe, te ? te.concat(Q) : [Q]);
|
29295
29295
|
}), B.pop();
|
29296
29296
|
}
|
29297
29297
|
}
|
29298
|
-
if (!
|
29298
|
+
if (!Ae.isObject(o))
|
29299
29299
|
throw new TypeError("data must be an object");
|
29300
29300
|
return V(o), l;
|
29301
29301
|
}
|
@@ -29336,7 +29336,7 @@ function np(o, l, s) {
|
|
29336
29336
|
return o;
|
29337
29337
|
const h = s && s.encode || hb, m = s && s.serialize;
|
29338
29338
|
let y;
|
29339
|
-
if (m ? y = m(l, s) : y =
|
29339
|
+
if (m ? y = m(l, s) : y = Ae.isURLSearchParams(l) ? l.toString() : new lc(l, s).toString(h), y) {
|
29340
29340
|
const _ = o.indexOf("#");
|
29341
29341
|
_ !== -1 && (o = o.slice(0, _)), o += (o.indexOf("?") === -1 ? "?" : "&") + y;
|
29342
29342
|
}
|
@@ -29391,7 +29391,7 @@ class pb {
|
|
29391
29391
|
* @returns {void}
|
29392
29392
|
*/
|
29393
29393
|
forEach(l) {
|
29394
|
-
|
29394
|
+
Ae.forEach(this.handlers, function(h) {
|
29395
29395
|
h !== null && l(h);
|
29396
29396
|
});
|
29397
29397
|
}
|
@@ -29423,12 +29423,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
29423
29423
|
function $b(o, l) {
|
29424
29424
|
return Ls(o, new Jt.classes.URLSearchParams(), Object.assign({
|
29425
29425
|
visitor: function(s, h, m, y) {
|
29426
|
-
return Jt.isNode &&
|
29426
|
+
return Jt.isNode && Ae.isBuffer(s) ? (this.append(h, s.toString("base64")), !1) : y.defaultVisitor.apply(this, arguments);
|
29427
29427
|
}
|
29428
29428
|
}, l));
|
29429
29429
|
}
|
29430
29430
|
function wb(o) {
|
29431
|
-
return
|
29431
|
+
return Ae.matchAll(/\w+|\[(\w*)]/g, o).map((l) => l[0] === "[]" ? "" : l[1] || l[0]);
|
29432
29432
|
}
|
29433
29433
|
function Fb(o) {
|
29434
29434
|
const l = {}, s = Object.keys(o);
|
@@ -29445,20 +29445,20 @@ function ip(o) {
|
|
29445
29445
|
if (_ === "__proto__")
|
29446
29446
|
return !0;
|
29447
29447
|
const A = Number.isFinite(+_), S = y >= s.length;
|
29448
|
-
return _ = !_ &&
|
29448
|
+
return _ = !_ && Ae.isArray(m) ? m.length : _, S ? (Ae.hasOwnProp(m, _) ? m[_] = [m[_], h] : m[_] = h, !A) : ((!m[_] || !Ae.isObject(m[_])) && (m[_] = []), l(s, h, m[_], y) && Ae.isArray(m[_]) && (m[_] = Fb(m[_])), !A);
|
29449
29449
|
}
|
29450
|
-
if (
|
29450
|
+
if (Ae.isFormData(o) && Ae.isFunction(o.entries)) {
|
29451
29451
|
const s = {};
|
29452
|
-
return
|
29452
|
+
return Ae.forEachEntry(o, (h, m) => {
|
29453
29453
|
l(wb(h), m, s, 0);
|
29454
29454
|
}), s;
|
29455
29455
|
}
|
29456
29456
|
return null;
|
29457
29457
|
}
|
29458
29458
|
function Tb(o, l, s) {
|
29459
|
-
if (
|
29459
|
+
if (Ae.isString(o))
|
29460
29460
|
try {
|
29461
|
-
return (l || JSON.parse)(o),
|
29461
|
+
return (l || JSON.parse)(o), Ae.trim(o);
|
29462
29462
|
} catch (h) {
|
29463
29463
|
if (h.name !== "SyntaxError")
|
29464
29464
|
throw h;
|
@@ -29469,20 +29469,20 @@ const dc = {
|
|
29469
29469
|
transitional: rp,
|
29470
29470
|
adapter: ["xhr", "http", "fetch"],
|
29471
29471
|
transformRequest: [function(l, s) {
|
29472
|
-
const h = s.getContentType() || "", m = h.indexOf("application/json") > -1, y =
|
29473
|
-
if (y &&
|
29472
|
+
const h = s.getContentType() || "", m = h.indexOf("application/json") > -1, y = Ae.isObject(l);
|
29473
|
+
if (y && Ae.isHTMLForm(l) && (l = new FormData(l)), Ae.isFormData(l))
|
29474
29474
|
return m ? JSON.stringify(ip(l)) : l;
|
29475
|
-
if (
|
29475
|
+
if (Ae.isArrayBuffer(l) || Ae.isBuffer(l) || Ae.isStream(l) || Ae.isFile(l) || Ae.isBlob(l) || Ae.isReadableStream(l))
|
29476
29476
|
return l;
|
29477
|
-
if (
|
29477
|
+
if (Ae.isArrayBufferView(l))
|
29478
29478
|
return l.buffer;
|
29479
|
-
if (
|
29479
|
+
if (Ae.isURLSearchParams(l))
|
29480
29480
|
return s.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), l.toString();
|
29481
29481
|
let A;
|
29482
29482
|
if (y) {
|
29483
29483
|
if (h.indexOf("application/x-www-form-urlencoded") > -1)
|
29484
29484
|
return $b(l, this.formSerializer).toString();
|
29485
|
-
if ((A =
|
29485
|
+
if ((A = Ae.isFileList(l)) || h.indexOf("multipart/form-data") > -1) {
|
29486
29486
|
const S = this.env && this.env.FormData;
|
29487
29487
|
return Ls(
|
29488
29488
|
A ? { "files[]": l } : l,
|
@@ -29495,9 +29495,9 @@ const dc = {
|
|
29495
29495
|
}],
|
29496
29496
|
transformResponse: [function(l) {
|
29497
29497
|
const s = this.transitional || dc.transitional, h = s && s.forcedJSONParsing, m = this.responseType === "json";
|
29498
|
-
if (
|
29498
|
+
if (Ae.isResponse(l) || Ae.isReadableStream(l))
|
29499
29499
|
return l;
|
29500
|
-
if (l &&
|
29500
|
+
if (l && Ae.isString(l) && (h && !this.responseType || m)) {
|
29501
29501
|
const _ = !(s && s.silentJSONParsing) && m;
|
29502
29502
|
try {
|
29503
29503
|
return JSON.parse(l);
|
@@ -29531,10 +29531,10 @@ const dc = {
|
|
29531
29531
|
}
|
29532
29532
|
}
|
29533
29533
|
};
|
29534
|
-
|
29534
|
+
Ae.forEach(["delete", "get", "head", "post", "put", "patch"], (o) => {
|
29535
29535
|
dc.headers[o] = {};
|
29536
29536
|
});
|
29537
|
-
const fc = dc, zb =
|
29537
|
+
const fc = dc, zb = Ae.toObjectSet([
|
29538
29538
|
"age",
|
29539
29539
|
"authorization",
|
29540
29540
|
"content-length",
|
@@ -29564,7 +29564,7 @@ function da(o) {
|
|
29564
29564
|
return o && String(o).trim().toLowerCase();
|
29565
29565
|
}
|
29566
29566
|
function Oo(o) {
|
29567
|
-
return o === !1 || o == null ? o :
|
29567
|
+
return o === !1 || o == null ? o : Ae.isArray(o) ? o.map(Oo) : String(o);
|
29568
29568
|
}
|
29569
29569
|
function Sb(o) {
|
29570
29570
|
const l = /* @__PURE__ */ Object.create(null), s = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
@@ -29575,12 +29575,12 @@ function Sb(o) {
|
|
29575
29575
|
}
|
29576
29576
|
const Ib = (o) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(o.trim());
|
29577
29577
|
function Mu(o, l, s, h, m) {
|
29578
|
-
if (
|
29578
|
+
if (Ae.isFunction(h))
|
29579
29579
|
return h.call(this, l, s);
|
29580
|
-
if (m && (l = s), !!
|
29581
|
-
if (
|
29580
|
+
if (m && (l = s), !!Ae.isString(l)) {
|
29581
|
+
if (Ae.isString(h))
|
29582
29582
|
return l.indexOf(h) !== -1;
|
29583
|
-
if (
|
29583
|
+
if (Ae.isRegExp(h))
|
29584
29584
|
return h.test(l);
|
29585
29585
|
}
|
29586
29586
|
}
|
@@ -29588,7 +29588,7 @@ function Ob(o) {
|
|
29588
29588
|
return o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (l, s, h) => s.toUpperCase() + h);
|
29589
29589
|
}
|
29590
29590
|
function Pb(o, l) {
|
29591
|
-
const s =
|
29591
|
+
const s = Ae.toCamelCase(" " + l);
|
29592
29592
|
["get", "set", "has"].forEach((h) => {
|
29593
29593
|
Object.defineProperty(o, h + s, {
|
29594
29594
|
value: function(m, y, _) {
|
@@ -29608,15 +29608,15 @@ let Us = class {
|
|
29608
29608
|
const j = da(S);
|
29609
29609
|
if (!j)
|
29610
29610
|
throw new Error("header name must be a non-empty string");
|
29611
|
-
const B =
|
29611
|
+
const B = Ae.findKey(m, j);
|
29612
29612
|
(!B || m[B] === void 0 || P === !0 || P === void 0 && m[B] !== !1) && (m[B || S] = Oo(A));
|
29613
29613
|
}
|
29614
|
-
const _ = (A, S) =>
|
29615
|
-
if (
|
29614
|
+
const _ = (A, S) => Ae.forEach(A, (P, j) => y(P, j, S));
|
29615
|
+
if (Ae.isPlainObject(l) || l instanceof this.constructor)
|
29616
29616
|
_(l, s);
|
29617
|
-
else if (
|
29617
|
+
else if (Ae.isString(l) && (l = l.trim()) && !Ib(l))
|
29618
29618
|
_(Cb(l), s);
|
29619
|
-
else if (
|
29619
|
+
else if (Ae.isHeaders(l))
|
29620
29620
|
for (const [A, S] of l.entries())
|
29621
29621
|
y(S, A, h);
|
29622
29622
|
else
|
@@ -29625,16 +29625,16 @@ let Us = class {
|
|
29625
29625
|
}
|
29626
29626
|
get(l, s) {
|
29627
29627
|
if (l = da(l), l) {
|
29628
|
-
const h =
|
29628
|
+
const h = Ae.findKey(this, l);
|
29629
29629
|
if (h) {
|
29630
29630
|
const m = this[h];
|
29631
29631
|
if (!s)
|
29632
29632
|
return m;
|
29633
29633
|
if (s === !0)
|
29634
29634
|
return Sb(m);
|
29635
|
-
if (
|
29635
|
+
if (Ae.isFunction(s))
|
29636
29636
|
return s.call(this, m, h);
|
29637
|
-
if (
|
29637
|
+
if (Ae.isRegExp(s))
|
29638
29638
|
return s.exec(m);
|
29639
29639
|
throw new TypeError("parser must be boolean|regexp|function");
|
29640
29640
|
}
|
@@ -29642,7 +29642,7 @@ let Us = class {
|
|
29642
29642
|
}
|
29643
29643
|
has(l, s) {
|
29644
29644
|
if (l = da(l), l) {
|
29645
|
-
const h =
|
29645
|
+
const h = Ae.findKey(this, l);
|
29646
29646
|
return !!(h && this[h] !== void 0 && (!s || Mu(this, this[h], h, s)));
|
29647
29647
|
}
|
29648
29648
|
return !1;
|
@@ -29652,11 +29652,11 @@ let Us = class {
|
|
29652
29652
|
let m = !1;
|
29653
29653
|
function y(_) {
|
29654
29654
|
if (_ = da(_), _) {
|
29655
|
-
const A =
|
29655
|
+
const A = Ae.findKey(h, _);
|
29656
29656
|
A && (!s || Mu(h, h[A], A, s)) && (delete h[A], m = !0);
|
29657
29657
|
}
|
29658
29658
|
}
|
29659
|
-
return
|
29659
|
+
return Ae.isArray(l) ? l.forEach(y) : y(l), m;
|
29660
29660
|
}
|
29661
29661
|
clear(l) {
|
29662
29662
|
const s = Object.keys(this);
|
@@ -29669,8 +29669,8 @@ let Us = class {
|
|
29669
29669
|
}
|
29670
29670
|
normalize(l) {
|
29671
29671
|
const s = this, h = {};
|
29672
|
-
return
|
29673
|
-
const _ =
|
29672
|
+
return Ae.forEach(this, (m, y) => {
|
29673
|
+
const _ = Ae.findKey(h, y);
|
29674
29674
|
if (_) {
|
29675
29675
|
s[_] = Oo(m), delete s[y];
|
29676
29676
|
return;
|
@@ -29684,8 +29684,8 @@ let Us = class {
|
|
29684
29684
|
}
|
29685
29685
|
toJSON(l) {
|
29686
29686
|
const s = /* @__PURE__ */ Object.create(null);
|
29687
|
-
return
|
29688
|
-
h != null && h !== !1 && (s[m] = l &&
|
29687
|
+
return Ae.forEach(this, (h, m) => {
|
29688
|
+
h != null && h !== !1 && (s[m] = l && Ae.isArray(h) ? h.join(", ") : h);
|
29689
29689
|
}), s;
|
29690
29690
|
}
|
29691
29691
|
[Symbol.iterator]() {
|
@@ -29713,11 +29713,11 @@ let Us = class {
|
|
29713
29713
|
const A = da(_);
|
29714
29714
|
h[A] || (Pb(m, _), h[A] = !0);
|
29715
29715
|
}
|
29716
|
-
return
|
29716
|
+
return Ae.isArray(l) ? l.forEach(y) : y(l), this;
|
29717
29717
|
}
|
29718
29718
|
};
|
29719
29719
|
Us.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
29720
|
-
|
29720
|
+
Ae.reduceDescriptors(Us.prototype, ({ value: o }, l) => {
|
29721
29721
|
let s = l[0].toUpperCase() + l.slice(1);
|
29722
29722
|
return {
|
29723
29723
|
get: () => o,
|
@@ -29726,12 +29726,12 @@ _e.reduceDescriptors(Us.prototype, ({ value: o }, l) => {
|
|
29726
29726
|
}
|
29727
29727
|
};
|
29728
29728
|
});
|
29729
|
-
|
29729
|
+
Ae.freezeMethods(Us);
|
29730
29730
|
const zn = Us;
|
29731
29731
|
function Du(o, l) {
|
29732
29732
|
const s = this || fc, h = l || s, m = zn.from(h.headers);
|
29733
29733
|
let y = h.data;
|
29734
|
-
return
|
29734
|
+
return Ae.forEach(o, function(A) {
|
29735
29735
|
y = A.call(s, y, m.normalize(), l ? l.status : void 0);
|
29736
29736
|
}), m.normalize(), y;
|
29737
29737
|
}
|
@@ -29741,7 +29741,7 @@ function ap(o) {
|
|
29741
29741
|
function oa(o, l, s) {
|
29742
29742
|
Xe.call(this, o ?? "canceled", Xe.ERR_CANCELED, l, s), this.name = "CanceledError";
|
29743
29743
|
}
|
29744
|
-
|
29744
|
+
Ae.inherits(oa, Xe, {
|
29745
29745
|
__CANCEL__: !0
|
29746
29746
|
});
|
29747
29747
|
function op(o, l, s) {
|
@@ -29812,7 +29812,7 @@ const Do = (o, l, s = 3) => {
|
|
29812
29812
|
total: o,
|
29813
29813
|
loaded: h
|
29814
29814
|
}), l[1]];
|
29815
|
-
}, gd = (o) => (...l) =>
|
29815
|
+
}, gd = (o) => (...l) => Ae.asap(() => o(...l)), jb = Jt.hasStandardBrowserEnv ? (
|
29816
29816
|
// Standard browser envs have full support of the APIs needed to test
|
29817
29817
|
// whether the request URL is of the same origin as current location.
|
29818
29818
|
function() {
|
@@ -29832,7 +29832,7 @@ const Do = (o, l, s = 3) => {
|
|
29832
29832
|
};
|
29833
29833
|
}
|
29834
29834
|
return h = m(window.location.href), function(_) {
|
29835
|
-
const A =
|
29835
|
+
const A = Ae.isString(_) ? m(_) : _;
|
29836
29836
|
return A.protocol === h.protocol && A.host === h.host;
|
29837
29837
|
};
|
29838
29838
|
}()
|
@@ -29848,7 +29848,7 @@ const Do = (o, l, s = 3) => {
|
|
29848
29848
|
{
|
29849
29849
|
write(o, l, s, h, m, y) {
|
29850
29850
|
const _ = [o + "=" + encodeURIComponent(l)];
|
29851
|
-
|
29851
|
+
Ae.isNumber(s) && _.push("expires=" + new Date(s).toGMTString()), Ae.isString(h) && _.push("path=" + h), Ae.isString(m) && _.push("domain=" + m), y === !0 && _.push("secure"), document.cookie = _.join("; ");
|
29852
29852
|
},
|
29853
29853
|
read(o) {
|
29854
29854
|
const l = document.cookie.match(new RegExp("(^|;\\s*)(" + o + ")=([^;]*)"));
|
@@ -29884,22 +29884,22 @@ function ai(o, l) {
|
|
29884
29884
|
l = l || {};
|
29885
29885
|
const s = {};
|
29886
29886
|
function h(P, j, B) {
|
29887
|
-
return
|
29887
|
+
return Ae.isPlainObject(P) && Ae.isPlainObject(j) ? Ae.merge.call({ caseless: B }, P, j) : Ae.isPlainObject(j) ? Ae.merge({}, j) : Ae.isArray(j) ? j.slice() : j;
|
29888
29888
|
}
|
29889
29889
|
function m(P, j, B) {
|
29890
|
-
if (
|
29891
|
-
if (!
|
29890
|
+
if (Ae.isUndefined(j)) {
|
29891
|
+
if (!Ae.isUndefined(P))
|
29892
29892
|
return h(void 0, P, B);
|
29893
29893
|
} else
|
29894
29894
|
return h(P, j, B);
|
29895
29895
|
}
|
29896
29896
|
function y(P, j) {
|
29897
|
-
if (!
|
29897
|
+
if (!Ae.isUndefined(j))
|
29898
29898
|
return h(void 0, j);
|
29899
29899
|
}
|
29900
29900
|
function _(P, j) {
|
29901
|
-
if (
|
29902
|
-
if (!
|
29901
|
+
if (Ae.isUndefined(j)) {
|
29902
|
+
if (!Ae.isUndefined(P))
|
29903
29903
|
return h(void 0, P);
|
29904
29904
|
} else
|
29905
29905
|
return h(void 0, j);
|
@@ -29941,9 +29941,9 @@ function ai(o, l) {
|
|
29941
29941
|
validateStatus: A,
|
29942
29942
|
headers: (P, j) => m(yd(P), yd(j), !0)
|
29943
29943
|
};
|
29944
|
-
return
|
29944
|
+
return Ae.forEach(Object.keys(Object.assign({}, o, l)), function(j) {
|
29945
29945
|
const B = S[j] || m, q = B(o[j], l[j], j);
|
29946
|
-
|
29946
|
+
Ae.isUndefined(q) && B !== A || (s[j] = q);
|
29947
29947
|
}), s;
|
29948
29948
|
}
|
29949
29949
|
const up = (o) => {
|
@@ -29954,7 +29954,7 @@ const up = (o) => {
|
|
29954
29954
|
"Basic " + btoa((A.username || "") + ":" + (A.password ? unescape(encodeURIComponent(A.password)) : ""))
|
29955
29955
|
);
|
29956
29956
|
let S;
|
29957
|
-
if (
|
29957
|
+
if (Ae.isFormData(s)) {
|
29958
29958
|
if (Jt.hasStandardBrowserEnv || Jt.hasStandardBrowserWebWorkerEnv)
|
29959
29959
|
_.setContentType(void 0);
|
29960
29960
|
else if ((S = _.getContentType()) !== !1) {
|
@@ -29962,7 +29962,7 @@ const up = (o) => {
|
|
29962
29962
|
_.setContentType([P || "multipart/form-data", ...j].join("; "));
|
29963
29963
|
}
|
29964
29964
|
}
|
29965
|
-
if (Jt.hasStandardBrowserEnv && (h &&
|
29965
|
+
if (Jt.hasStandardBrowserEnv && (h && Ae.isFunction(h) && (h = h(l)), h || h !== !1 && jb(l.url))) {
|
29966
29966
|
const P = m && y && Mb.read(y);
|
29967
29967
|
P && _.set(m, P);
|
29968
29968
|
}
|
@@ -30012,9 +30012,9 @@ const up = (o) => {
|
|
30012
30012
|
o,
|
30013
30013
|
J
|
30014
30014
|
)), J = null;
|
30015
|
-
}, y === void 0 && _.setContentType(null), "setRequestHeader" in J &&
|
30015
|
+
}, y === void 0 && _.setContentType(null), "setRequestHeader" in J && Ae.forEach(_.toJSON(), function(ie, ue) {
|
30016
30016
|
J.setRequestHeader(ue, ie);
|
30017
|
-
}),
|
30017
|
+
}), Ae.isUndefined(m.withCredentials) || (J.withCredentials = !!m.withCredentials), A && A !== "json" && (J.responseType = m.responseType), P && ([q, ee] = Do(P, !0), J.addEventListener("progress", q)), S && J.upload && ([B, V] = Do(S), J.upload.addEventListener("progress", B), J.upload.addEventListener("loadend", V)), (m.cancelToken || m.signal) && (j = (G) => {
|
30018
30018
|
J && (h(!G || G.type ? new oa(null, o, J) : G), J.abort(), J = null);
|
30019
30019
|
}, m.cancelToken && m.cancelToken.subscribe(j), m.signal && (m.signal.aborted ? j() : m.signal.addEventListener("abort", j)));
|
30020
30020
|
const Q = Rb(m.url);
|
@@ -30045,7 +30045,7 @@ const up = (o) => {
|
|
30045
30045
|
};
|
30046
30046
|
o.forEach((P) => P.addEventListener("abort", y));
|
30047
30047
|
const { signal: S } = h;
|
30048
|
-
return S.unsubscribe = () =>
|
30048
|
+
return S.unsubscribe = () => Ae.asap(A), S;
|
30049
30049
|
}
|
30050
30050
|
}, Vb = qb, Gb = function* (o, l) {
|
30051
30051
|
let s = o.byteLength;
|
@@ -30120,12 +30120,12 @@ const up = (o) => {
|
|
30120
30120
|
}
|
30121
30121
|
}).headers.has("Content-Type");
|
30122
30122
|
return o && !l;
|
30123
|
-
}), vd = 64 * 1024, el = lp && cp(() =>
|
30123
|
+
}), vd = 64 * 1024, el = lp && cp(() => Ae.isReadableStream(new Response("").body)), Bo = {
|
30124
30124
|
stream: el && ((o) => o.body)
|
30125
30125
|
};
|
30126
30126
|
qs && ((o) => {
|
30127
30127
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((l) => {
|
30128
|
-
!Bo[l] && (Bo[l] =
|
30128
|
+
!Bo[l] && (Bo[l] = Ae.isFunction(o[l]) ? (s) => s[l]() : (s, h) => {
|
30129
30129
|
throw new Xe(`Response type '${l}' is not supported`, Xe.ERR_NOT_SUPPORT, h);
|
30130
30130
|
});
|
30131
30131
|
});
|
@@ -30133,19 +30133,19 @@ qs && ((o) => {
|
|
30133
30133
|
const Kb = async (o) => {
|
30134
30134
|
if (o == null)
|
30135
30135
|
return 0;
|
30136
|
-
if (
|
30136
|
+
if (Ae.isBlob(o))
|
30137
30137
|
return o.size;
|
30138
|
-
if (
|
30138
|
+
if (Ae.isSpecCompliantForm(o))
|
30139
30139
|
return (await new Request(Jt.origin, {
|
30140
30140
|
method: "POST",
|
30141
30141
|
body: o
|
30142
30142
|
}).arrayBuffer()).byteLength;
|
30143
|
-
if (
|
30143
|
+
if (Ae.isArrayBufferView(o) || Ae.isArrayBuffer(o))
|
30144
30144
|
return o.byteLength;
|
30145
|
-
if (
|
30145
|
+
if (Ae.isURLSearchParams(o) && (o = o + ""), Ae.isString(o))
|
30146
30146
|
return (await xb(o)).byteLength;
|
30147
30147
|
}, Wb = async (o, l) => {
|
30148
|
-
const s =
|
30148
|
+
const s = Ae.toFiniteNumber(o.getContentLength());
|
30149
30149
|
return s ?? Kb(l);
|
30150
30150
|
}, Xb = qs && (async (o) => {
|
30151
30151
|
let {
|
@@ -30175,7 +30175,7 @@ const Kb = async (o) => {
|
|
30175
30175
|
body: h,
|
30176
30176
|
duplex: "half"
|
30177
30177
|
}), ye;
|
30178
|
-
if (
|
30178
|
+
if (Ae.isFormData(h) && (ye = ue.headers.get("content-type")) && j.setContentType(ye), ue.body) {
|
30179
30179
|
const [le, he] = md(
|
30180
30180
|
J,
|
30181
30181
|
Do(gd(S))
|
@@ -30183,7 +30183,7 @@ const Kb = async (o) => {
|
|
30183
30183
|
h = bd(ue.body, vd, le, he);
|
30184
30184
|
}
|
30185
30185
|
}
|
30186
|
-
|
30186
|
+
Ae.isString(B) || (B = B ? "include" : "omit");
|
30187
30187
|
const oe = "credentials" in Request.prototype;
|
30188
30188
|
ee = new Request(l, {
|
30189
30189
|
...q,
|
@@ -30201,7 +30201,7 @@ const Kb = async (o) => {
|
|
30201
30201
|
["status", "statusText", "headers"].forEach((x) => {
|
30202
30202
|
ue[x] = Q[x];
|
30203
30203
|
});
|
30204
|
-
const ye =
|
30204
|
+
const ye = Ae.toFiniteNumber(Q.headers.get("content-length")), [le, he] = A && md(
|
30205
30205
|
ye,
|
30206
30206
|
Do(gd(A), !0)
|
30207
30207
|
) || [];
|
@@ -30213,7 +30213,7 @@ const Kb = async (o) => {
|
|
30213
30213
|
);
|
30214
30214
|
}
|
30215
30215
|
P = P || "text";
|
30216
|
-
let ie = await Bo[
|
30216
|
+
let ie = await Bo[Ae.findKey(Bo, P) || "text"](Q, o);
|
30217
30217
|
return !G && te && te(), await new Promise((ue, ye) => {
|
30218
30218
|
op(ue, ye, {
|
30219
30219
|
data: ie,
|
@@ -30237,7 +30237,7 @@ const Kb = async (o) => {
|
|
30237
30237
|
xhr: Ub,
|
30238
30238
|
fetch: Xb
|
30239
30239
|
};
|
30240
|
-
|
30240
|
+
Ae.forEach(tl, (o, l) => {
|
30241
30241
|
if (o) {
|
30242
30242
|
try {
|
30243
30243
|
Object.defineProperty(o, "name", { value: l });
|
@@ -30246,9 +30246,9 @@ _e.forEach(tl, (o, l) => {
|
|
30246
30246
|
Object.defineProperty(o, "adapterName", { value: l });
|
30247
30247
|
}
|
30248
30248
|
});
|
30249
|
-
const _d = (o) => `- ${o}`, Qb = (o) =>
|
30249
|
+
const _d = (o) => `- ${o}`, Qb = (o) => Ae.isFunction(o) || o === null || o === !1, dp = {
|
30250
30250
|
getAdapter: (o) => {
|
30251
|
-
o =
|
30251
|
+
o = Ae.isArray(o) ? o : [o];
|
30252
30252
|
const { length: l } = o;
|
30253
30253
|
let s, h;
|
30254
30254
|
const m = {};
|
@@ -30384,17 +30384,17 @@ let Lo = class {
|
|
30384
30384
|
silentJSONParsing: fr.transitional(fr.boolean),
|
30385
30385
|
forcedJSONParsing: fr.transitional(fr.boolean),
|
30386
30386
|
clarifyTimeoutError: fr.transitional(fr.boolean)
|
30387
|
-
}, !1), m != null && (
|
30387
|
+
}, !1), m != null && (Ae.isFunction(m) ? s.paramsSerializer = {
|
30388
30388
|
serialize: m
|
30389
30389
|
} : nl.assertOptions(m, {
|
30390
30390
|
encode: fr.function,
|
30391
30391
|
serialize: fr.function
|
30392
30392
|
}, !0)), s.method = (s.method || this.defaults.method || "get").toLowerCase();
|
30393
|
-
let _ = y &&
|
30393
|
+
let _ = y && Ae.merge(
|
30394
30394
|
y.common,
|
30395
30395
|
y[s.method]
|
30396
30396
|
);
|
30397
|
-
y &&
|
30397
|
+
y && Ae.forEach(
|
30398
30398
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
30399
30399
|
(ee) => {
|
30400
30400
|
delete y[ee];
|
@@ -30442,7 +30442,7 @@ let Lo = class {
|
|
30442
30442
|
return np(s, l.params, l.paramsSerializer);
|
30443
30443
|
}
|
30444
30444
|
};
|
30445
|
-
|
30445
|
+
Ae.forEach(["delete", "get", "head", "options"], function(l) {
|
30446
30446
|
Lo.prototype[l] = function(s, h) {
|
30447
30447
|
return this.request(ai(h || {}, {
|
30448
30448
|
method: l,
|
@@ -30451,7 +30451,7 @@ _e.forEach(["delete", "get", "head", "options"], function(l) {
|
|
30451
30451
|
}));
|
30452
30452
|
};
|
30453
30453
|
});
|
30454
|
-
|
30454
|
+
Ae.forEach(["post", "put", "patch"], function(l) {
|
30455
30455
|
function s(h) {
|
30456
30456
|
return function(y, _, A) {
|
30457
30457
|
return this.request(ai(A || {}, {
|
@@ -30548,7 +30548,7 @@ function nv(o) {
|
|
30548
30548
|
};
|
30549
30549
|
}
|
30550
30550
|
function rv(o) {
|
30551
|
-
return
|
30551
|
+
return Ae.isObject(o) && o.isAxiosError === !0;
|
30552
30552
|
}
|
30553
30553
|
const rl = {
|
30554
30554
|
Continue: 100,
|
@@ -30621,7 +30621,7 @@ Object.entries(rl).forEach(([o, l]) => {
|
|
30621
30621
|
const iv = rl;
|
30622
30622
|
function pp(o) {
|
30623
30623
|
const l = new Po(o), s = Gh(Po.prototype.request, l);
|
30624
|
-
return
|
30624
|
+
return Ae.extend(s, Po.prototype, l, { allOwnKeys: !0 }), Ae.extend(s, l, null, { allOwnKeys: !0 }), s.create = function(m) {
|
30625
30625
|
return pp(ai(o, m));
|
30626
30626
|
}, s;
|
30627
30627
|
}
|
@@ -30641,27 +30641,27 @@ Tt.spread = nv;
|
|
30641
30641
|
Tt.isAxiosError = rv;
|
30642
30642
|
Tt.mergeConfig = ai;
|
30643
30643
|
Tt.AxiosHeaders = zn;
|
30644
|
-
Tt.formToJSON = (o) => ip(
|
30644
|
+
Tt.formToJSON = (o) => ip(Ae.isHTMLForm(o) ? new FormData(o) : o);
|
30645
30645
|
Tt.getAdapter = dp.getAdapter;
|
30646
30646
|
Tt.HttpStatusCode = iv;
|
30647
30647
|
Tt.default = Tt;
|
30648
30648
|
const mp = Tt, {
|
30649
|
-
Axios:
|
30649
|
+
Axios: Ew,
|
30650
30650
|
AxiosError: av,
|
30651
|
-
CanceledError:
|
30652
|
-
isCancel:
|
30653
|
-
CancelToken:
|
30654
|
-
VERSION:
|
30655
|
-
all:
|
30656
|
-
Cancel:
|
30657
|
-
isAxiosError:
|
30658
|
-
spread:
|
30659
|
-
toFormData:
|
30660
|
-
AxiosHeaders:
|
30661
|
-
HttpStatusCode:
|
30662
|
-
formToJSON:
|
30663
|
-
getAdapter:
|
30664
|
-
mergeConfig:
|
30651
|
+
CanceledError: $w,
|
30652
|
+
isCancel: ww,
|
30653
|
+
CancelToken: Fw,
|
30654
|
+
VERSION: Tw,
|
30655
|
+
all: zw,
|
30656
|
+
Cancel: Cw,
|
30657
|
+
isAxiosError: Sw,
|
30658
|
+
spread: Iw,
|
30659
|
+
toFormData: Ow,
|
30660
|
+
AxiosHeaders: Pw,
|
30661
|
+
HttpStatusCode: Rw,
|
30662
|
+
formToJSON: kw,
|
30663
|
+
getAdapter: Nw,
|
30664
|
+
mergeConfig: jw
|
30665
30665
|
} = mp;
|
30666
30666
|
async function ov() {
|
30667
30667
|
return gn(await Ir("").post("/permissions/levels/0", {}));
|
@@ -35650,7 +35650,7 @@ const h3 = _m("portal-core", () => {
|
|
35650
35650
|
sublabel: "Optimize stock levels and track inventory in real-time"
|
35651
35651
|
},
|
35652
35652
|
brand: {
|
35653
|
-
label: "
|
35653
|
+
label: "Mini Program",
|
35654
35654
|
sublabel: "Elevate your brand with custom landing pages"
|
35655
35655
|
},
|
35656
35656
|
payment: {
|
@@ -35774,7 +35774,7 @@ const h3 = _m("portal-core", () => {
|
|
35774
35774
|
sublabel: "优化库存水平并实时跟踪库存"
|
35775
35775
|
},
|
35776
35776
|
brand: {
|
35777
|
-
label: "
|
35777
|
+
label: "Mini Program",
|
35778
35778
|
sublabel: "通过定制落地页提升品牌"
|
35779
35779
|
},
|
35780
35780
|
payment: {
|
@@ -36261,7 +36261,7 @@ const N3 = { class: "flex flex-col space-y-16" }, j3 = { class: "grow" }, M3 = {
|
|
36261
36261
|
]),
|
36262
36262
|
_: 1
|
36263
36263
|
}),
|
36264
|
-
|
36264
|
+
_e("div", {
|
36265
36265
|
ref_key: "element",
|
36266
36266
|
ref: s,
|
36267
36267
|
class: "flex flex-1 gap-16 overflow-scroll"
|
@@ -36288,15 +36288,15 @@ const N3 = { class: "flex flex-col space-y-16" }, j3 = { class: "grow" }, M3 = {
|
|
36288
36288
|
default: Qe(() => {
|
36289
36289
|
var ue;
|
36290
36290
|
return [
|
36291
|
-
|
36292
|
-
|
36291
|
+
_e("div", j3, [
|
36292
|
+
_e("div", {
|
36293
36293
|
class: on([[
|
36294
36294
|
ie._id === ((ue = A.value) == null ? void 0 : ue.id) ? "text-fm-color-primary" : "text-fm-color-typo-primary"
|
36295
36295
|
], "fm-typo-en-body-lg-600"])
|
36296
36296
|
}, xe(ie.name), 3),
|
36297
|
-
|
36297
|
+
_e("div", M3, xe(ie._id), 1)
|
36298
36298
|
]),
|
36299
|
-
|
36299
|
+
_e("div", D3, [
|
36300
36300
|
Pe(oe, {
|
36301
36301
|
outline: !0,
|
36302
36302
|
"prepend-icon": "file_copy",
|
@@ -36336,13 +36336,13 @@ const L3 = { class: "flex-1" }, U3 = { class: "profile-menu-item--title" }, q3 =
|
|
36336
36336
|
name: l.perpendIcon,
|
36337
36337
|
outline: ""
|
36338
36338
|
}, null, 8, ["name"])) : nt("", !0),
|
36339
|
-
|
36340
|
-
|
36339
|
+
_e("div", L3, [
|
36340
|
+
_e("p", U3, [
|
36341
36341
|
l.$slots["title-slot"] ? _l(l.$slots, "title-slot", { key: 0 }, void 0, !0) : (Te(), je(lt, { key: 1 }, [
|
36342
36342
|
mf(xe(l.title), 1)
|
36343
36343
|
], 64))
|
36344
36344
|
]),
|
36345
|
-
|
36345
|
+
_e("p", q3, xe(l.subtitle), 1)
|
36346
36346
|
]),
|
36347
36347
|
l.appendIcon ? (Te(), ot(h, {
|
36348
36348
|
key: 1,
|
@@ -36382,7 +36382,7 @@ const wi = (o, l) => {
|
|
36382
36382
|
mf(xe(we(s)("portalshell.myBusiness.title")), 1)
|
36383
36383
|
]),
|
36384
36384
|
default: Qe(() => [
|
36385
|
-
|
36385
|
+
_e("div", G3, [
|
36386
36386
|
Pe(q, { class: "rounded-md border border-fm-color-neutral-gray-100" }, {
|
36387
36387
|
prepend: Qe(() => {
|
36388
36388
|
var te, J, oe;
|
@@ -36399,11 +36399,11 @@ const wi = (o, l) => {
|
|
36399
36399
|
default: Qe(() => {
|
36400
36400
|
var te, J;
|
36401
36401
|
return [
|
36402
|
-
|
36403
|
-
|
36404
|
-
|
36402
|
+
_e("div", H3, [
|
36403
|
+
_e("div", Y3, xe((te = m.value) == null ? void 0 : te.name), 1),
|
36404
|
+
_e("div", x3, xe((J = m.value) == null ? void 0 : J._id), 1)
|
36405
36405
|
]),
|
36406
|
-
|
36406
|
+
_e("div", Z3, [
|
36407
36407
|
Pe(B, {
|
36408
36408
|
outline: !0,
|
36409
36409
|
"prepend-icon": "file_copy",
|
@@ -36419,17 +36419,17 @@ const wi = (o, l) => {
|
|
36419
36419
|
}),
|
36420
36420
|
_: 1
|
36421
36421
|
}),
|
36422
|
-
P[2] || (P[2] =
|
36422
|
+
P[2] || (P[2] = _e("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)),
|
36423
36423
|
(Te(!0), je(lt, null, an(y.value, (te) => (Te(), ot(V, {
|
36424
36424
|
key: te._id,
|
36425
36425
|
class: "rounded-md border border-fm-color-neutral-gray-100"
|
36426
36426
|
}, {
|
36427
36427
|
default: Qe(() => [
|
36428
|
-
|
36429
|
-
|
36430
|
-
|
36428
|
+
_e("div", K3, [
|
36429
|
+
_e("div", W3, xe(te == null ? void 0 : te.profile.name), 1),
|
36430
|
+
_e("div", X3, xe(te == null ? void 0 : te._id), 1)
|
36431
36431
|
]),
|
36432
|
-
|
36432
|
+
_e("div", Q3, [
|
36433
36433
|
Pe(B, {
|
36434
36434
|
outline: !0,
|
36435
36435
|
"prepend-icon": "file_copy",
|
@@ -36536,7 +36536,7 @@ const wi = (o, l) => {
|
|
36536
36536
|
"onUpdate:modelValue": B[0] || (B[0] = (q) => A.value = q),
|
36537
36537
|
label: we(l)("portalshell.changePassword.step1.currentPassword")
|
36538
36538
|
}, null, 8, ["modelValue", "label"]),
|
36539
|
-
|
36539
|
+
_e("button", {
|
36540
36540
|
class: "fm-typo-en-link-md-600 text-fm-color-typo-secondary",
|
36541
36541
|
onClick: P
|
36542
36542
|
}, xe(we(l)("portalshell.changePassword.step1.forgotPassword")), 1)
|
@@ -36741,7 +36741,7 @@ const wi = (o, l) => {
|
|
36741
36741
|
header: we(h)("portalshell.menu.manageAccount")
|
36742
36742
|
}, {
|
36743
36743
|
"side-sheet-footer": Qe(() => [
|
36744
|
-
|
36744
|
+
_e("div", dA, [
|
36745
36745
|
Pe(ue, {
|
36746
36746
|
loading: S.value,
|
36747
36747
|
label: we(h)("common.update"),
|
@@ -36758,10 +36758,10 @@ const wi = (o, l) => {
|
|
36758
36758
|
])
|
36759
36759
|
]),
|
36760
36760
|
default: Qe(() => [
|
36761
|
-
|
36762
|
-
|
36763
|
-
|
36764
|
-
|
36761
|
+
_e("div", iA, [
|
36762
|
+
_e("div", aA, [
|
36763
|
+
_e("p", oA, xe(we(h)("portalshell.manageAccount.basicInfo")), 1),
|
36764
|
+
_e("div", sA, [
|
36765
36765
|
Pe(Q, {
|
36766
36766
|
modelValue: j.value.name,
|
36767
36767
|
"onUpdate:modelValue": oe[0] || (oe[0] = (le) => j.value.name = le),
|
@@ -36785,9 +36785,9 @@ const wi = (o, l) => {
|
|
36785
36785
|
}, null, 8, ["modelValue", "label"])
|
36786
36786
|
])
|
36787
36787
|
]),
|
36788
|
-
|
36789
|
-
|
36790
|
-
|
36788
|
+
_e("div", uA, [
|
36789
|
+
_e("p", lA, xe(we(h)("portalshell.manageAccount.password")), 1),
|
36790
|
+
_e("p", cA, xe(we(h)("portalshell.manageAccount.passwordSubtitle")), 1),
|
36791
36791
|
Pe(ie, {
|
36792
36792
|
class: "border-fm-color-primary text-fm-color-primary",
|
36793
36793
|
label: we(h)("portalshell.manageAccount.changePassword"),
|
@@ -36908,20 +36908,20 @@ const wi = (o, l) => {
|
|
36908
36908
|
onPopoverChanged: fe[2] || (fe[2] = (Ne) => y.value = Ne)
|
36909
36909
|
}, {
|
36910
36910
|
"popover-button": Qe(() => [
|
36911
|
-
|
36911
|
+
_e("div", fA, xe(Q.value), 1)
|
36912
36912
|
]),
|
36913
36913
|
default: Qe(() => {
|
36914
36914
|
var Ne, E, Oe;
|
36915
36915
|
return [
|
36916
|
-
|
36917
|
-
|
36918
|
-
|
36919
|
-
|
36920
|
-
|
36921
|
-
|
36916
|
+
_e("div", hA, [
|
36917
|
+
_e("div", pA, [
|
36918
|
+
_e("div", mA, xe(Q.value), 1),
|
36919
|
+
_e("div", gA, [
|
36920
|
+
_e("p", yA, xe((Ne = o.user) == null ? void 0 : Ne.displayName), 1),
|
36921
|
+
_e("p", bA, xe((E = o.user) == null ? void 0 : E.email), 1)
|
36922
36922
|
])
|
36923
36923
|
]),
|
36924
|
-
|
36924
|
+
_e("div", vA, [
|
36925
36925
|
Pe($n, {
|
36926
36926
|
subtitle: (Oe = o.currentBusiness) == null ? void 0 : Oe.name,
|
36927
36927
|
title: we(m)("portalshell.menu.business"),
|
@@ -36932,8 +36932,8 @@ const wi = (o, l) => {
|
|
36932
36932
|
onClick: oe
|
36933
36933
|
}, null, 8, ["title"])
|
36934
36934
|
]),
|
36935
|
-
fe[3] || (fe[3] =
|
36936
|
-
|
36935
|
+
fe[3] || (fe[3] = _e("div", { class: "profile-menu--divider" }, null, -1)),
|
36936
|
+
_e("div", _A, [
|
36937
36937
|
Pe(e, {
|
36938
36938
|
offset: 12,
|
36939
36939
|
placement: we(V).sm || we(V).xs ? "left-end" : "left-start",
|
@@ -36956,7 +36956,7 @@ const wi = (o, l) => {
|
|
36956
36956
|
"onUpdate:modelValue": () => P(qe, !0)
|
36957
36957
|
}, {
|
36958
36958
|
prepend: Qe(() => [
|
36959
|
-
|
36959
|
+
_e("span", {
|
36960
36960
|
class: "h-auto w-[20px]",
|
36961
36961
|
innerHTML: ie[qe.code]
|
36962
36962
|
}, null, 8, AA)
|
@@ -36992,11 +36992,11 @@ const wi = (o, l) => {
|
|
36992
36992
|
_: 1
|
36993
36993
|
}, 8, ["placement"])
|
36994
36994
|
])) : nt("", !0),
|
36995
|
-
fe[4] || (fe[4] =
|
36996
|
-
|
36995
|
+
fe[4] || (fe[4] = _e("div", { class: "profile-menu--divider" }, null, -1)),
|
36996
|
+
_e("div", $A, [
|
36997
36997
|
Pe($n, { onClick: q }, {
|
36998
36998
|
"title-slot": Qe(() => [
|
36999
|
-
|
36999
|
+
_e("span", wA, xe(we(m)("portalshell.menu.logOut")), 1)
|
37000
37000
|
]),
|
37001
37001
|
_: 1
|
37002
37002
|
})
|
@@ -37139,11 +37139,11 @@ const PA = { key: 0 }, RA = ["href"], kA = ["src"], Cc = /* @__PURE__ */ Ct({
|
|
37139
37139
|
return (h, m) => {
|
37140
37140
|
var y, _, A, S, P;
|
37141
37141
|
return (_ = (y = we(s).adsConfig.value) == null ? void 0 : y[l.platform]) != null && _.imageUrl ? (Te(), je("div", PA, [
|
37142
|
-
|
37142
|
+
_e("a", {
|
37143
37143
|
href: (A = we(s).adsConfig.value) == null ? void 0 : A.url,
|
37144
37144
|
target: "_blank"
|
37145
37145
|
}, [
|
37146
|
-
|
37146
|
+
_e("img", {
|
37147
37147
|
class: "fm-corner-radius-md",
|
37148
37148
|
src: (P = (S = we(s).adsConfig.value) == null ? void 0 : S[l.platform]) == null ? void 0 : P.imageUrl
|
37149
37149
|
}, null, 8, kA)
|
@@ -37154,22 +37154,22 @@ const PA = { key: 0 }, RA = ["href"], kA = ["src"], Cc = /* @__PURE__ */ Ct({
|
|
37154
37154
|
}), NA = {
|
37155
37155
|
key: 0,
|
37156
37156
|
class: "app-header"
|
37157
|
-
}, jA = { class: "flex flex-1 gap-12" }, MA = {
|
37157
|
+
}, jA = { class: "flex flex-1 gap-12" }, MA = { class: "relative p-24 flex flex-col overflow-y-auto bg-fm-color-neutral-white shadow-light-300 fm-corner-radius-lg" }, DA = {
|
37158
37158
|
class: "overflow-auto",
|
37159
37159
|
style: { width: "600px" }
|
37160
|
-
},
|
37160
|
+
}, BA = { class: "app-menu" }, LA = { class: "app-menu--content" }, UA = { class: "space-y-8" }, qA = { class: "fm-typo-en-body-sm-600" }, VA = { class: "app-menu--list flex flex-wrap gap-24" }, GA = ["onClick"], HA = { class: "app-menu--item" }, YA = ["innerHTML"], xA = {
|
37161
37161
|
key: 1,
|
37162
37162
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
37163
|
-
},
|
37163
|
+
}, ZA = { class: "app-menu--item--content" }, KA = { class: "app-menu--name" }, WA = {
|
37164
37164
|
key: 0,
|
37165
37165
|
class: "app-menu--description"
|
37166
|
-
},
|
37166
|
+
}, XA = { class: "space-y-8" }, QA = { class: "fm-typo-en-body-sm-600" }, JA = { class: "app-menu--list flex flex-wrap gap-24" }, eE = ["onClick"], tE = { class: "app-menu--item" }, nE = ["innerHTML"], rE = {
|
37167
37167
|
key: 1,
|
37168
37168
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
37169
|
-
},
|
37169
|
+
}, iE = { class: "app-menu--item--content" }, aE = { class: "app-menu--name" }, oE = {
|
37170
37170
|
key: 0,
|
37171
37171
|
class: "app-menu--description"
|
37172
|
-
},
|
37172
|
+
}, sE = { class: "flex gap-8" }, uE = { class: "flex-1 overflow-hidden" }, lE = { class: "flex justify-end" }, pa = "clickable-item", cE = /* @__PURE__ */ Ct({
|
37173
37173
|
__name: "PortalDesktop",
|
37174
37174
|
props: {
|
37175
37175
|
dropdownOpened: { type: Boolean },
|
@@ -37190,7 +37190,7 @@ const PA = { key: 0 }, RA = ["href"], kA = ["src"], Cc = /* @__PURE__ */ Ct({
|
|
37190
37190
|
return (q, V) => {
|
37191
37191
|
const ee = Ze("fm-button"), te = Ze("FmIcon"), J = Ze("FmButton"), oe = Ze("fm-menu");
|
37192
37192
|
return q.embedded ? nt("", !0) : (Te(), je("div", NA, [
|
37193
|
-
|
37193
|
+
_e("div", jA, [
|
37194
37194
|
Pe(oe, {
|
37195
37195
|
ref: "menuRef",
|
37196
37196
|
"max-height": 1e3,
|
@@ -37208,46 +37208,15 @@ const PA = { key: 0 }, RA = ["href"], kA = ["src"], Cc = /* @__PURE__ */ Ct({
|
|
37208
37208
|
}, null, 8, ["label"])
|
37209
37209
|
];
|
37210
37210
|
}),
|
37211
|
-
|
37212
|
-
|
37213
|
-
|
37214
|
-
|
37215
|
-
|
37216
|
-
|
37217
|
-
|
37218
|
-
(
|
37219
|
-
|
37220
|
-
}, [
|
37221
|
-
!Q.breakpoints || Q.breakpoints.includes("md") || Q.breakpoints.includes("lg") ? (Te(), je("div", {
|
37222
|
-
key: 0,
|
37223
|
-
class: on(["w-[264px] cursor-pointer", pa]),
|
37224
|
-
onClick: (G) => B(Q)
|
37225
|
-
}, [
|
37226
|
-
Ae("div", GA, [
|
37227
|
-
Q.icon ? (Te(), je("div", {
|
37228
|
-
key: 0,
|
37229
|
-
class: "app-menu--item--icon",
|
37230
|
-
innerHTML: Q.icon
|
37231
|
-
}, null, 8, HA)) : (Te(), je("div", YA)),
|
37232
|
-
Ae("div", xA, [
|
37233
|
-
Ae("p", ZA, xe(Q.name), 1),
|
37234
|
-
Q.description ? (Te(), je("p", KA, xe(Q.description), 1)) : nt("", !0)
|
37235
|
-
]),
|
37236
|
-
Pe(te, {
|
37237
|
-
name: "chevron_right",
|
37238
|
-
size: "md"
|
37239
|
-
})
|
37240
|
-
])
|
37241
|
-
], 8, VA)) : nt("", !0)
|
37242
|
-
], 64))), 128))
|
37243
|
-
])
|
37244
|
-
]),
|
37245
|
-
j.value.length > 0 ? (Te(), je(lt, { key: 0 }, [
|
37246
|
-
V[8] || (V[8] = Ae("div", { class: "bg-fm-color-neutral-gray-100 w-full h-[1px]" }, null, -1)),
|
37247
|
-
Ae("div", WA, [
|
37248
|
-
Ae("p", XA, xe(we(h)("portalshell.apps.section.devSpace")), 1),
|
37249
|
-
Ae("div", QA, [
|
37250
|
-
(Te(!0), je(lt, null, an(j.value, (Q) => (Te(), je(lt, {
|
37211
|
+
"menu-wrapper": Qe(() => [
|
37212
|
+
_e("div", MA, [
|
37213
|
+
_e("div", DA, [
|
37214
|
+
_e("div", BA, [
|
37215
|
+
_e("div", LA, [
|
37216
|
+
_e("div", UA, [
|
37217
|
+
_e("p", qA, xe(we(h)("portalshell.apps.section.switchTo")), 1),
|
37218
|
+
_e("div", VA, [
|
37219
|
+
(Te(!0), je(lt, null, an(q.apps, (Q) => (Te(), je(lt, {
|
37251
37220
|
key: Q.name
|
37252
37221
|
}, [
|
37253
37222
|
!Q.breakpoints || Q.breakpoints.includes("md") || Q.breakpoints.includes("lg") ? (Te(), je("div", {
|
@@ -37255,42 +37224,75 @@ const PA = { key: 0 }, RA = ["href"], kA = ["src"], Cc = /* @__PURE__ */ Ct({
|
|
37255
37224
|
class: on(["w-[264px] cursor-pointer", pa]),
|
37256
37225
|
onClick: (G) => B(Q)
|
37257
37226
|
}, [
|
37258
|
-
|
37227
|
+
_e("div", HA, [
|
37259
37228
|
Q.icon ? (Te(), je("div", {
|
37260
37229
|
key: 0,
|
37261
37230
|
class: "app-menu--item--icon",
|
37262
37231
|
innerHTML: Q.icon
|
37263
|
-
}, null, 8,
|
37264
|
-
|
37265
|
-
|
37266
|
-
Q.description ? (Te(), je("p",
|
37232
|
+
}, null, 8, YA)) : (Te(), je("div", xA)),
|
37233
|
+
_e("div", ZA, [
|
37234
|
+
_e("p", KA, xe(Q.name), 1),
|
37235
|
+
Q.description ? (Te(), je("p", WA, xe(Q.description), 1)) : nt("", !0)
|
37267
37236
|
]),
|
37268
37237
|
Pe(te, {
|
37269
37238
|
name: "chevron_right",
|
37270
37239
|
size: "md"
|
37271
37240
|
})
|
37272
37241
|
])
|
37273
|
-
], 8,
|
37242
|
+
], 8, GA)) : nt("", !0)
|
37274
37243
|
], 64))), 128))
|
37275
37244
|
])
|
37245
|
+
]),
|
37246
|
+
j.value.length > 0 ? (Te(), je(lt, { key: 0 }, [
|
37247
|
+
V[8] || (V[8] = _e("div", { class: "bg-fm-color-neutral-gray-100 w-full h-[1px]" }, null, -1)),
|
37248
|
+
_e("div", XA, [
|
37249
|
+
_e("p", QA, xe(we(h)("portalshell.apps.section.devSpace")), 1),
|
37250
|
+
_e("div", JA, [
|
37251
|
+
(Te(!0), je(lt, null, an(j.value, (Q) => (Te(), je(lt, {
|
37252
|
+
key: Q.name
|
37253
|
+
}, [
|
37254
|
+
!Q.breakpoints || Q.breakpoints.includes("md") || Q.breakpoints.includes("lg") ? (Te(), je("div", {
|
37255
|
+
key: 0,
|
37256
|
+
class: on(["w-[264px] cursor-pointer", pa]),
|
37257
|
+
onClick: (G) => B(Q)
|
37258
|
+
}, [
|
37259
|
+
_e("div", tE, [
|
37260
|
+
Q.icon ? (Te(), je("div", {
|
37261
|
+
key: 0,
|
37262
|
+
class: "app-menu--item--icon",
|
37263
|
+
innerHTML: Q.icon
|
37264
|
+
}, null, 8, nE)) : (Te(), je("div", rE)),
|
37265
|
+
_e("div", iE, [
|
37266
|
+
_e("p", aE, xe(Q.name), 1),
|
37267
|
+
Q.description ? (Te(), je("p", oE, xe(Q.description), 1)) : nt("", !0)
|
37268
|
+
]),
|
37269
|
+
Pe(te, {
|
37270
|
+
name: "chevron_right",
|
37271
|
+
size: "md"
|
37272
|
+
})
|
37273
|
+
])
|
37274
|
+
], 8, eE)) : nt("", !0)
|
37275
|
+
], 64))), 128))
|
37276
|
+
])
|
37277
|
+
])
|
37278
|
+
], 64)) : nt("", !0),
|
37279
|
+
Pe(Cc, { platform: "desktop" }),
|
37280
|
+
_e("div", sE, [
|
37281
|
+
Pe(J, {
|
37282
|
+
label: we(h)("portalshell.apps.actions.settings"),
|
37283
|
+
icon: "settings",
|
37284
|
+
variant: "tertiary",
|
37285
|
+
class: on(pa),
|
37286
|
+
onClick: V[0] || (V[0] = (Q) => P("goto:settings"))
|
37287
|
+
}, null, 8, ["label"]),
|
37288
|
+
Pe(J, {
|
37289
|
+
label: we(h)("portalshell.apps.actions.switchToV2"),
|
37290
|
+
icon: "undo",
|
37291
|
+
variant: "tertiary",
|
37292
|
+
class: on(pa),
|
37293
|
+
onClick: V[1] || (V[1] = (Q) => P("goto:portal-v2"))
|
37294
|
+
}, null, 8, ["label"])
|
37276
37295
|
])
|
37277
|
-
], 64)) : nt("", !0),
|
37278
|
-
Pe(Cc, { platform: "desktop" }),
|
37279
|
-
Ae("div", oE, [
|
37280
|
-
Pe(J, {
|
37281
|
-
label: we(h)("portalshell.apps.actions.settings"),
|
37282
|
-
icon: "settings",
|
37283
|
-
variant: "tertiary",
|
37284
|
-
class: on(pa),
|
37285
|
-
onClick: V[0] || (V[0] = (Q) => P("goto:settings"))
|
37286
|
-
}, null, 8, ["label"]),
|
37287
|
-
Pe(J, {
|
37288
|
-
label: we(h)("portalshell.apps.actions.switchToV2"),
|
37289
|
-
icon: "undo",
|
37290
|
-
variant: "tertiary",
|
37291
|
-
class: on(pa),
|
37292
|
-
onClick: V[1] || (V[1] = (Q) => P("goto:portal-v2"))
|
37293
|
-
}, null, 8, ["label"])
|
37294
37296
|
])
|
37295
37297
|
])
|
37296
37298
|
])
|
@@ -37300,8 +37302,8 @@ const PA = { key: 0 }, RA = ["href"], kA = ["src"], Cc = /* @__PURE__ */ Ct({
|
|
37300
37302
|
}, 8, ["custom-element-class-list-for-close-on-click"])
|
37301
37303
|
]),
|
37302
37304
|
Pe(SA),
|
37303
|
-
|
37304
|
-
|
37305
|
+
_e("div", uE, [
|
37306
|
+
_e("div", lE, [
|
37305
37307
|
we(_) || we(A) ? (Te(), ot(ee, {
|
37306
37308
|
key: 0,
|
37307
37309
|
icon: "bug_report",
|
@@ -37331,35 +37333,35 @@ const PA = { key: 0 }, RA = ["href"], kA = ["src"], Cc = /* @__PURE__ */ Ct({
|
|
37331
37333
|
};
|
37332
37334
|
}
|
37333
37335
|
});
|
37334
|
-
const
|
37336
|
+
const dE = /* @__PURE__ */ wi(cE, [["__scopeId", "data-v-0e7910e3"]]), fE = {
|
37335
37337
|
key: 0,
|
37336
37338
|
class: /* @__PURE__ */ on([
|
37337
37339
|
"w-screen bg-fm-color-neutral-white",
|
37338
37340
|
"h-56 px-24 py-4",
|
37339
37341
|
"flex items-center justify-between"
|
37340
37342
|
])
|
37341
|
-
},
|
37343
|
+
}, hE = {
|
37342
37344
|
key: 0,
|
37343
37345
|
class: "flex-1 overflow-hidden"
|
37344
|
-
},
|
37346
|
+
}, pE = {
|
37345
37347
|
key: 0,
|
37346
37348
|
class: "flex justify-end"
|
37347
|
-
},
|
37349
|
+
}, mE = { class: "relative flex-1 bg-fm-color-neutral-white" }, gE = { class: "h-full" }, yE = {
|
37348
37350
|
key: 0,
|
37349
37351
|
class: "absolute inset-0 space-y-24 bg-fm-color-neutral-white px-24 py-16"
|
37350
|
-
},
|
37352
|
+
}, bE = { class: "space-y-24" }, vE = { class: "space-y-8" }, _E = { class: "fm-typo-en-body-sm-600" }, AE = { class: "grid grid-cols-2 gap-24" }, EE = ["onClick"], $E = { class: "flex items-center space-x-8" }, wE = ["innerHTML"], FE = {
|
37351
37353
|
key: 1,
|
37352
37354
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
37353
|
-
},
|
37355
|
+
}, TE = { class: "flex-1" }, zE = { class: "fm-typo-en-body-lg-600" }, CE = {
|
37354
37356
|
key: 0,
|
37355
37357
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary line-clamp-2"
|
37356
|
-
},
|
37358
|
+
}, SE = { class: "space-y-8" }, IE = { class: "fm-typo-en-body-sm-600" }, OE = { class: "grid grid-cols-2 gap-24" }, PE = ["onClick"], RE = { class: "flex items-center space-x-8" }, kE = ["innerHTML"], NE = {
|
37357
37359
|
key: 1,
|
37358
37360
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
37359
|
-
},
|
37361
|
+
}, jE = { class: "flex-1" }, ME = { class: "fm-typo-en-body-lg-600" }, DE = {
|
37360
37362
|
key: 0,
|
37361
37363
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary line-clamp-2"
|
37362
|
-
},
|
37364
|
+
}, BE = { class: "flex gap-8" }, LE = /* @__PURE__ */ Ct({
|
37363
37365
|
__name: "PortalTablet",
|
37364
37366
|
props: {
|
37365
37367
|
dropdownOpened: { type: Boolean },
|
@@ -37406,7 +37408,7 @@ const cE = /* @__PURE__ */ wi(lE, [["__scopeId", "data-v-03234dab"]]), dE = {
|
|
37406
37408
|
]),
|
37407
37409
|
_: 1
|
37408
37410
|
}),
|
37409
|
-
|
37411
|
+
_e("div", {
|
37410
37412
|
class: on([
|
37411
37413
|
"flex flex-col",
|
37412
37414
|
"h-dvh w-screen",
|
@@ -37417,11 +37419,11 @@ const cE = /* @__PURE__ */ wi(lE, [["__scopeId", "data-v-03234dab"]]), dE = {
|
|
37417
37419
|
top: we(y) ? "0px" : `${te.value - 56}px`
|
37418
37420
|
})
|
37419
37421
|
}, [
|
37420
|
-
|
37422
|
+
_e("div", {
|
37421
37423
|
class: on([we(y) ? ["h-64"] : ["h-0"], "transition-[height] duration-300"]),
|
37422
37424
|
onClick: Q[0] || (Q[0] = (he) => y.value = !1)
|
37423
37425
|
}, null, 2),
|
37424
|
-
oe.embedded && we(y) ? nt("", !0) : (Te(), je("div",
|
37426
|
+
oe.embedded && we(y) ? nt("", !0) : (Te(), je("div", fE, [
|
37425
37427
|
Pe(ie, {
|
37426
37428
|
label: ((le = oe.currentApp) == null ? void 0 : le.name) || "Portal",
|
37427
37429
|
"prepend-icon": we(y) ? q.value === "PLATFORM" ? "arrow_back" : "close" : "apps",
|
@@ -37429,8 +37431,8 @@ const cE = /* @__PURE__ */ wi(lE, [["__scopeId", "data-v-03234dab"]]), dE = {
|
|
37429
37431
|
variant: "tertiary",
|
37430
37432
|
onClick: V
|
37431
37433
|
}, null, 8, ["label", "prepend-icon"]),
|
37432
|
-
!we(y) || we(y) && q.value === "PORTAL" ? (Te(), je("div",
|
37433
|
-
oe.embedded ? nt("", !0) : (Te(), je("div",
|
37434
|
+
!we(y) || we(y) && q.value === "PORTAL" ? (Te(), je("div", hE, [
|
37435
|
+
oe.embedded ? nt("", !0) : (Te(), je("div", pE, [
|
37434
37436
|
we(A) || we(S) ? (Te(), ot(ie, {
|
37435
37437
|
key: 0,
|
37436
37438
|
"icon-color": we(S) ? "primary" : void 0,
|
@@ -37459,8 +37461,8 @@ const cE = /* @__PURE__ */ wi(lE, [["__scopeId", "data-v-03234dab"]]), dE = {
|
|
37459
37461
|
]))
|
37460
37462
|
])) : nt("", !0)
|
37461
37463
|
])),
|
37462
|
-
|
37463
|
-
Yo(
|
37464
|
+
_e("div", mE, [
|
37465
|
+
Yo(_e("div", gE, [
|
37464
37466
|
(Te(), ot(xo(we(m).sidebarComponent.value), {
|
37465
37467
|
onCloseNavigation: Q[6] || (Q[6] = (he) => y.value = !1)
|
37466
37468
|
}, null, 32))
|
@@ -37473,11 +37475,11 @@ const cE = /* @__PURE__ */ wi(lE, [["__scopeId", "data-v-03234dab"]]), dE = {
|
|
37473
37475
|
]),
|
37474
37476
|
Pe(Oi, { name: "slide-right" }, {
|
37475
37477
|
default: Qe(() => [
|
37476
|
-
q.value === "PORTAL" ? (Te(), je("div",
|
37477
|
-
|
37478
|
-
|
37479
|
-
|
37480
|
-
|
37478
|
+
q.value === "PORTAL" ? (Te(), je("div", yE, [
|
37479
|
+
_e("div", bE, [
|
37480
|
+
_e("div", vE, [
|
37481
|
+
_e("p", _E, xe(we(s)("portalshell.apps.section.switchTo")), 1),
|
37482
|
+
_e("div", AE, [
|
37481
37483
|
(Te(!0), je(lt, null, an(oe.apps, (he) => (Te(), je(lt, {
|
37482
37484
|
key: he.name
|
37483
37485
|
}, [
|
@@ -37486,30 +37488,30 @@ const cE = /* @__PURE__ */ wi(lE, [["__scopeId", "data-v-03234dab"]]), dE = {
|
|
37486
37488
|
class: "w-full cursor-pointer",
|
37487
37489
|
onClick: (x) => _("select-app", he)
|
37488
37490
|
}, [
|
37489
|
-
|
37491
|
+
_e("div", $E, [
|
37490
37492
|
he.icon ? (Te(), je("div", {
|
37491
37493
|
key: 0,
|
37492
37494
|
class: "h-48 w-48",
|
37493
37495
|
innerHTML: he.icon
|
37494
|
-
}, null, 8,
|
37495
|
-
|
37496
|
-
|
37497
|
-
he.description ? (Te(), je("p",
|
37496
|
+
}, null, 8, wE)) : (Te(), je("div", FE)),
|
37497
|
+
_e("div", TE, [
|
37498
|
+
_e("p", zE, xe(he.name), 1),
|
37499
|
+
he.description ? (Te(), je("p", CE, xe(he.description), 1)) : nt("", !0)
|
37498
37500
|
]),
|
37499
37501
|
Pe(ue, {
|
37500
37502
|
name: "chevron_right",
|
37501
37503
|
size: "md"
|
37502
37504
|
})
|
37503
37505
|
])
|
37504
|
-
], 8,
|
37506
|
+
], 8, EE)) : nt("", !0)
|
37505
37507
|
], 64))), 128))
|
37506
37508
|
])
|
37507
37509
|
]),
|
37508
37510
|
B.value.length > 0 ? (Te(), je(lt, { key: 0 }, [
|
37509
|
-
Q[9] || (Q[9] =
|
37510
|
-
|
37511
|
-
|
37512
|
-
|
37511
|
+
Q[9] || (Q[9] = _e("div", { class: "bg-fm-color-neutral-gray-100 w-full h-[1px]" }, null, -1)),
|
37512
|
+
_e("div", SE, [
|
37513
|
+
_e("p", IE, xe(we(s)("portalshell.apps.section.devSpace")), 1),
|
37514
|
+
_e("div", OE, [
|
37513
37515
|
(Te(!0), je(lt, null, an(B.value, (he) => (Te(), je(lt, {
|
37514
37516
|
key: he.name
|
37515
37517
|
}, [
|
@@ -37518,28 +37520,28 @@ const cE = /* @__PURE__ */ wi(lE, [["__scopeId", "data-v-03234dab"]]), dE = {
|
|
37518
37520
|
class: "w-full cursor-pointer",
|
37519
37521
|
onClick: (x) => _("select-app", he)
|
37520
37522
|
}, [
|
37521
|
-
|
37523
|
+
_e("div", RE, [
|
37522
37524
|
he.icon ? (Te(), je("div", {
|
37523
37525
|
key: 0,
|
37524
37526
|
class: "h-48 w-48",
|
37525
37527
|
innerHTML: he.icon
|
37526
|
-
}, null, 8,
|
37527
|
-
|
37528
|
-
|
37529
|
-
he.description ? (Te(), je("p",
|
37528
|
+
}, null, 8, kE)) : (Te(), je("div", NE)),
|
37529
|
+
_e("div", jE, [
|
37530
|
+
_e("p", ME, xe(he.name), 1),
|
37531
|
+
he.description ? (Te(), je("p", DE, xe(he.description), 1)) : nt("", !0)
|
37530
37532
|
]),
|
37531
37533
|
Pe(ue, {
|
37532
37534
|
name: "chevron_right",
|
37533
37535
|
size: "md"
|
37534
37536
|
})
|
37535
37537
|
])
|
37536
|
-
], 8,
|
37538
|
+
], 8, PE)) : nt("", !0)
|
37537
37539
|
], 64))), 128))
|
37538
37540
|
])
|
37539
37541
|
])
|
37540
37542
|
], 64)) : nt("", !0),
|
37541
37543
|
Pe(Cc, { platform: "tablet" }),
|
37542
|
-
|
37544
|
+
_e("div", BE, [
|
37543
37545
|
Pe(ye, {
|
37544
37546
|
label: we(s)("portalshell.apps.actions.settings"),
|
37545
37547
|
icon: "settings",
|
@@ -37566,7 +37568,7 @@ const cE = /* @__PURE__ */ wi(lE, [["__scopeId", "data-v-03234dab"]]), dE = {
|
|
37566
37568
|
};
|
37567
37569
|
}
|
37568
37570
|
});
|
37569
|
-
const
|
37571
|
+
const UE = /* @__PURE__ */ wi(LE, [["__scopeId", "data-v-5bfcd01f"]]), qE = { class: "flex h-dvh w-screen flex-col bg-fm-color-neutral-white" }, VE = { class: "flex items-center justify-between px-16 pb-8 pt-16" }, GE = { class: "fm-typo-en-title-md-600" }, HE = { class: "p-16" }, YE = { class: "grow" }, xE = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ZE = { class: "flex flex-col items-end" }, KE = { class: "flex space-x-8 px-24 py-16" }, WE = /* @__PURE__ */ Ct({
|
37570
37572
|
__name: "BusinessDialogMobile",
|
37571
37573
|
props: {
|
37572
37574
|
modelValue: { type: Boolean },
|
@@ -37616,16 +37618,16 @@ const LE = /* @__PURE__ */ wi(BE, [["__scopeId", "data-v-5bfcd01f"]]), UE = { cl
|
|
37616
37618
|
"z-index": 51
|
37617
37619
|
}, {
|
37618
37620
|
default: Qe(() => [
|
37619
|
-
|
37620
|
-
|
37621
|
-
|
37621
|
+
_e("div", qE, [
|
37622
|
+
_e("div", VE, [
|
37623
|
+
_e("h2", GE, xe(we(s)("portalshell.selectBusiness.title")), 1),
|
37622
37624
|
Pe(te, {
|
37623
37625
|
"prepend-icon": "close",
|
37624
37626
|
variant: "tertiary",
|
37625
37627
|
onClick: ee[0] || (ee[0] = (le) => A.value = !1)
|
37626
37628
|
})
|
37627
37629
|
]),
|
37628
|
-
|
37630
|
+
_e("div", HE, [
|
37629
37631
|
Pe(oe, null, {
|
37630
37632
|
default: Qe(() => [
|
37631
37633
|
Pe(J, {
|
@@ -37638,7 +37640,7 @@ const LE = /* @__PURE__ */ wi(BE, [["__scopeId", "data-v-5bfcd01f"]]), UE = { cl
|
|
37638
37640
|
_: 1
|
37639
37641
|
})
|
37640
37642
|
]),
|
37641
|
-
|
37643
|
+
_e("div", {
|
37642
37644
|
ref_key: "element",
|
37643
37645
|
ref: h,
|
37644
37646
|
class: "flex flex-1 gap-16 overflow-scroll"
|
@@ -37665,15 +37667,15 @@ const LE = /* @__PURE__ */ wi(BE, [["__scopeId", "data-v-5bfcd01f"]]), UE = { cl
|
|
37665
37667
|
default: Qe(() => {
|
37666
37668
|
var he;
|
37667
37669
|
return [
|
37668
|
-
|
37669
|
-
|
37670
|
+
_e("div", YE, [
|
37671
|
+
_e("div", {
|
37670
37672
|
class: on([[
|
37671
37673
|
le._id === ((he = P.value) == null ? void 0 : he.id) ? "text-fm-color-primary" : "text-fm-color-typo-primary"
|
37672
37674
|
], "fm-typo-en-body-lg-600"])
|
37673
37675
|
}, xe(le.name), 3),
|
37674
|
-
|
37676
|
+
_e("div", xE, xe(le._id), 1)
|
37675
37677
|
]),
|
37676
|
-
|
37678
|
+
_e("div", ZE, [
|
37677
37679
|
Pe(G, {
|
37678
37680
|
outline: !0,
|
37679
37681
|
"prepend-icon": "file_copy",
|
@@ -37690,7 +37692,7 @@ const LE = /* @__PURE__ */ wi(BE, [["__scopeId", "data-v-5bfcd01f"]]), UE = { cl
|
|
37690
37692
|
_: 1
|
37691
37693
|
})
|
37692
37694
|
], 512),
|
37693
|
-
|
37695
|
+
_e("div", KE, [
|
37694
37696
|
Pe(te, {
|
37695
37697
|
label: we(s)("common.confirm"),
|
37696
37698
|
onClick: B
|
@@ -37712,38 +37714,38 @@ const LE = /* @__PURE__ */ wi(BE, [["__scopeId", "data-v-5bfcd01f"]]), UE = { cl
|
|
37712
37714
|
};
|
37713
37715
|
}
|
37714
37716
|
});
|
37715
|
-
const
|
37717
|
+
const XE = /* @__PURE__ */ wi(WE, [["__scopeId", "data-v-0a3da373"]]), QE = { class: "flex h-full w-screen flex-col bg-fm-color-neutral-white" }, JE = {
|
37716
37718
|
key: 0,
|
37717
37719
|
class: "flex h-56 items-center space-x-8 border-b border-b-fm-color-neutral-gray-100 px-16"
|
37718
|
-
},
|
37720
|
+
}, e$ = {
|
37719
37721
|
key: 0,
|
37720
37722
|
class: "fm-typo-en-body-lg-600"
|
37721
|
-
},
|
37723
|
+
}, t$ = { class: "flex-1 min-h-0 overflow-auto pb-32" }, n$ = { class: "h-full" }, r$ = {
|
37722
37724
|
key: 0,
|
37723
37725
|
class: "space-y-24 bg-fm-color-neutral-white px-24 py-16"
|
37724
|
-
},
|
37726
|
+
}, i$ = { class: "space-y-24" }, a$ = { class: "space-y-8" }, o$ = { class: "fm-typo-en-body-sm-600" }, s$ = { class: "space-y-24" }, u$ = ["onClick"], l$ = { class: "flex items-center space-x-8" }, c$ = ["innerHTML"], d$ = {
|
37725
37727
|
key: 1,
|
37726
37728
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
37727
|
-
},
|
37729
|
+
}, f$ = { class: "flex-1" }, h$ = { class: "fm-typo-en-body-lg-600" }, p$ = {
|
37728
37730
|
key: 0,
|
37729
37731
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
37730
|
-
},
|
37732
|
+
}, m$ = { class: "space-y-8" }, g$ = { class: "fm-typo-en-body-sm-600" }, y$ = { class: "space-y-24" }, b$ = ["onClick"], v$ = { class: "flex items-center space-x-8" }, _$ = ["innerHTML"], A$ = {
|
37731
37733
|
key: 1,
|
37732
37734
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
37733
|
-
},
|
37735
|
+
}, E$ = { class: "flex-1" }, $$ = { class: "fm-typo-en-body-lg-600" }, w$ = {
|
37734
37736
|
key: 0,
|
37735
37737
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
37736
|
-
},
|
37738
|
+
}, F$ = { class: "space-y-8" }, T$ = { class: "fm-typo-en-body-md-400 flex-1" }, z$ = { class: "fm-typo-en-body-md-400 flex-1" }, C$ = { class: "fm-typo-en-body-md-400 flex-1" }, S$ = { class: "px-4" }, I$ = ["innerHTML"], O$ = { class: "px-4" }, P$ = { class: "pb-32" }, R$ = { class: "flex items-center space-x-8 px-16 py-4" }, k$ = { class: "user-info-icon" }, N$ = { class: "flex-1" }, j$ = { class: "fm-typo-en-body-lg-400" }, M$ = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, D$ = { class: "text-fm-color-typo-error" }, B$ = {
|
37737
37739
|
class: /* @__PURE__ */ on([
|
37738
37740
|
"fixed bottom-0 left-0 right-0",
|
37739
37741
|
"w-screen bg-fm-color-neutral-white",
|
37740
37742
|
"px-16 py-[10px]",
|
37741
37743
|
"flex items-center justify-between"
|
37742
37744
|
])
|
37743
|
-
},
|
37745
|
+
}, L$ = {
|
37744
37746
|
key: 0,
|
37745
37747
|
class: "flex items-center"
|
37746
|
-
},
|
37748
|
+
}, U$ = /* @__PURE__ */ Ct({
|
37747
37749
|
__name: "PortalMobile",
|
37748
37750
|
props: {
|
37749
37751
|
dropdownOpened: { type: Boolean },
|
@@ -37848,17 +37850,17 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
37848
37850
|
default: Qe(() => {
|
37849
37851
|
var b;
|
37850
37852
|
return [
|
37851
|
-
|
37852
|
-
d.embedded ? nt("", !0) : (Te(), je("div",
|
37853
|
+
_e("div", QE, [
|
37854
|
+
d.embedded ? nt("", !0) : (Te(), je("div", JE, [
|
37853
37855
|
Pe(r, {
|
37854
37856
|
"prepend-icon": J.value === "PLATFORM" ? "arrow_back" : "close",
|
37855
37857
|
variant: "tertiary",
|
37856
37858
|
onClick: ie
|
37857
37859
|
}, null, 8, ["prepend-icon"]),
|
37858
|
-
J.value === "PLATFORM" ? (Te(), je("h2",
|
37860
|
+
J.value === "PLATFORM" ? (Te(), je("h2", e$, xe(((b = d.currentApp) == null ? void 0 : b.name) ?? "Portal"), 1)) : nt("", !0)
|
37859
37861
|
])),
|
37860
|
-
|
37861
|
-
Yo(
|
37862
|
+
_e("div", t$, [
|
37863
|
+
Yo(_e("div", n$, [
|
37862
37864
|
(Te(), ot(xo(we(P).sidebarComponent.value), {
|
37863
37865
|
onCloseNavigation: n[2] || (n[2] = ($) => j.value = !1)
|
37864
37866
|
}, null, 32))
|
@@ -37871,11 +37873,11 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
37871
37873
|
]),
|
37872
37874
|
Pe(Oi, { name: "slide-right" }, {
|
37873
37875
|
default: Qe(() => [
|
37874
|
-
J.value === "PORTAL" ? (Te(), je("div",
|
37875
|
-
|
37876
|
-
|
37877
|
-
|
37878
|
-
|
37876
|
+
J.value === "PORTAL" ? (Te(), je("div", r$, [
|
37877
|
+
_e("div", i$, [
|
37878
|
+
_e("div", a$, [
|
37879
|
+
_e("p", o$, xe(we(s)("portalshell.apps.section.switchTo")), 1),
|
37880
|
+
_e("div", s$, [
|
37879
37881
|
(Te(!0), je(lt, null, an(d.apps, ($) => (Te(), je(lt, {
|
37880
37882
|
key: $.name
|
37881
37883
|
}, [
|
@@ -37886,30 +37888,30 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
37886
37888
|
j.value = !1, B("select-app", $);
|
37887
37889
|
}
|
37888
37890
|
}, [
|
37889
|
-
|
37891
|
+
_e("div", l$, [
|
37890
37892
|
$.icon ? (Te(), je("div", {
|
37891
37893
|
key: 0,
|
37892
37894
|
class: "h-48 w-48",
|
37893
37895
|
innerHTML: $.icon
|
37894
|
-
}, null, 8,
|
37895
|
-
|
37896
|
-
|
37897
|
-
$.description ? (Te(), je("p",
|
37896
|
+
}, null, 8, c$)) : (Te(), je("div", d$)),
|
37897
|
+
_e("div", f$, [
|
37898
|
+
_e("p", h$, xe($.name), 1),
|
37899
|
+
$.description ? (Te(), je("p", p$, xe($.description), 1)) : nt("", !0)
|
37898
37900
|
]),
|
37899
37901
|
Pe(a, {
|
37900
37902
|
name: "chevron_right",
|
37901
37903
|
size: "md"
|
37902
37904
|
})
|
37903
37905
|
])
|
37904
|
-
], 8,
|
37906
|
+
], 8, u$)) : nt("", !0)
|
37905
37907
|
], 64))), 128))
|
37906
37908
|
])
|
37907
37909
|
]),
|
37908
37910
|
te.value.length > 0 ? (Te(), je(lt, { key: 0 }, [
|
37909
|
-
n[22] || (n[22] =
|
37910
|
-
|
37911
|
-
|
37912
|
-
|
37911
|
+
n[22] || (n[22] = _e("div", { class: "bg-fm-color-neutral-gray-100 w-full h-[1px]" }, null, -1)),
|
37912
|
+
_e("div", m$, [
|
37913
|
+
_e("p", g$, xe(we(s)("portalshell.apps.section.devSpace")), 1),
|
37914
|
+
_e("div", y$, [
|
37913
37915
|
(Te(!0), je(lt, null, an(te.value, ($) => (Te(), je(lt, {
|
37914
37916
|
key: $.name
|
37915
37917
|
}, [
|
@@ -37918,28 +37920,28 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
37918
37920
|
class: "w-full cursor-pointer",
|
37919
37921
|
onClick: (F) => B("select-app", $)
|
37920
37922
|
}, [
|
37921
|
-
|
37923
|
+
_e("div", v$, [
|
37922
37924
|
$.icon ? (Te(), je("div", {
|
37923
37925
|
key: 0,
|
37924
37926
|
class: "h-48 w-48",
|
37925
37927
|
innerHTML: $.icon
|
37926
|
-
}, null, 8,
|
37927
|
-
|
37928
|
-
|
37929
|
-
$.description ? (Te(), je("p",
|
37928
|
+
}, null, 8, _$)) : (Te(), je("div", A$)),
|
37929
|
+
_e("div", E$, [
|
37930
|
+
_e("p", $$, xe($.name), 1),
|
37931
|
+
$.description ? (Te(), je("p", w$, xe($.description), 1)) : nt("", !0)
|
37930
37932
|
]),
|
37931
37933
|
Pe(a, {
|
37932
37934
|
name: "chevron_right",
|
37933
37935
|
size: "md"
|
37934
37936
|
})
|
37935
37937
|
])
|
37936
|
-
], 8,
|
37938
|
+
], 8, b$)) : nt("", !0)
|
37937
37939
|
], 64))), 128))
|
37938
37940
|
])
|
37939
37941
|
])
|
37940
37942
|
], 64)) : nt("", !0),
|
37941
37943
|
Pe(Cc, { platform: "mobile" }),
|
37942
|
-
|
37944
|
+
_e("div", F$, [
|
37943
37945
|
Pe(u, {
|
37944
37946
|
label: "Settings",
|
37945
37947
|
icon: "settings",
|
@@ -37977,8 +37979,8 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
37977
37979
|
"no-header": ""
|
37978
37980
|
}, {
|
37979
37981
|
default: Qe(() => [
|
37980
|
-
|
37981
|
-
|
37982
|
+
_e("div", null, [
|
37983
|
+
_e("div", {
|
37982
37984
|
class: "flex items-center space-x-8 px-16 py-8",
|
37983
37985
|
onClick: n[6] || (n[6] = (b) => me.value = !0)
|
37984
37986
|
}, [
|
@@ -37986,7 +37988,7 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
37986
37988
|
name: "account_circle",
|
37987
37989
|
outline: ""
|
37988
37990
|
}),
|
37989
|
-
|
37991
|
+
_e("p", T$, xe(we(s)("portalshell.menu.account")), 1),
|
37990
37992
|
Pe(c, {
|
37991
37993
|
class: "text-fm-color-neutral-gray-300",
|
37992
37994
|
name: "chevron_right"
|
@@ -38004,9 +38006,9 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38004
38006
|
color: we(V) ? "primary" : void 0,
|
38005
38007
|
outline: ""
|
38006
38008
|
}, null, 8, ["color"]),
|
38007
|
-
|
38009
|
+
_e("p", z$, xe(we(V) ? we(s)("portalshell.menu.stopDebug") : we(s)("portalshell.menu.debug")), 1)
|
38008
38010
|
])) : nt("", !0),
|
38009
|
-
|
38011
|
+
_e("div", {
|
38010
38012
|
class: "flex items-center space-x-8 px-16 py-8 cursor-pointer",
|
38011
38013
|
onClick: n[8] || (n[8] = () => {
|
38012
38014
|
B("open-my-business"), he();
|
@@ -38016,13 +38018,13 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38016
38018
|
name: "storefront",
|
38017
38019
|
outline: ""
|
38018
38020
|
}),
|
38019
|
-
|
38021
|
+
_e("p", C$, xe(we(s)("portalshell.menu.myBusiness")), 1)
|
38020
38022
|
])
|
38021
38023
|
])
|
38022
38024
|
]),
|
38023
38025
|
_: 1
|
38024
38026
|
}, 8, ["modelValue"]),
|
38025
|
-
Pe(
|
38027
|
+
Pe(XE, {
|
38026
38028
|
modelValue: ve.value,
|
38027
38029
|
"onUpdate:modelValue": n[10] || (n[10] = (b) => ve.value = b),
|
38028
38030
|
"select-business": ue
|
@@ -38035,7 +38037,7 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38035
38037
|
title: we(s)("portalshell.menu.country.label")
|
38036
38038
|
}, {
|
38037
38039
|
default: Qe(() => [
|
38038
|
-
|
38040
|
+
_e("div", S$, [
|
38039
38041
|
(Te(!0), je(lt, null, an(d.countries, (b) => (Te(), ot(p, {
|
38040
38042
|
id: "country-menu-item",
|
38041
38043
|
key: b.code,
|
@@ -38046,10 +38048,10 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38046
38048
|
}
|
38047
38049
|
}, {
|
38048
38050
|
prepend: Qe(() => [
|
38049
|
-
|
38051
|
+
_e("span", {
|
38050
38052
|
class: "h-auto w-[20px]",
|
38051
38053
|
innerHTML: Oe[b.code]
|
38052
|
-
}, null, 8,
|
38054
|
+
}, null, 8, I$)
|
38053
38055
|
]),
|
38054
38056
|
_: 2
|
38055
38057
|
}, 1032, ["label", "model-value", "onUpdate:modelValue"]))), 128))
|
@@ -38065,7 +38067,7 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38065
38067
|
title: we(s)("portalshell.menu.language")
|
38066
38068
|
}, {
|
38067
38069
|
default: Qe(() => [
|
38068
|
-
|
38070
|
+
_e("div", O$, [
|
38069
38071
|
(Te(!0), je(lt, null, an(we(y), (b) => (Te(), ot(p, {
|
38070
38072
|
key: b.code,
|
38071
38073
|
label: b.name,
|
@@ -38087,12 +38089,12 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38087
38089
|
default: Qe(() => {
|
38088
38090
|
var b, $, F;
|
38089
38091
|
return [
|
38090
|
-
|
38091
|
-
|
38092
|
-
|
38093
|
-
|
38094
|
-
|
38095
|
-
|
38092
|
+
_e("div", P$, [
|
38093
|
+
_e("div", R$, [
|
38094
|
+
_e("div", k$, xe(i.value), 1),
|
38095
|
+
_e("div", N$, [
|
38096
|
+
_e("p", j$, xe(((b = S.user) == null ? void 0 : b.displayName) ?? "Feed Me"), 1),
|
38097
|
+
_e("p", M$, xe((($ = S.user) == null ? void 0 : $.email) ?? "feed-me@feedme.cc"), 1)
|
38096
38098
|
])
|
38097
38099
|
]),
|
38098
38100
|
Pe($n, {
|
@@ -38108,7 +38110,7 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38108
38110
|
oe.value = !0, he();
|
38109
38111
|
})
|
38110
38112
|
}, null, 8, ["title"]),
|
38111
|
-
n[23] || (n[23] =
|
38113
|
+
n[23] || (n[23] = _e("div", { class: "profile-menu--divider" }, null, -1)),
|
38112
38114
|
Pe($n, {
|
38113
38115
|
"perpend-icon": "storefront",
|
38114
38116
|
title: we(s)("portalshell.menu.myBusiness"),
|
@@ -38129,14 +38131,14 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38129
38131
|
title: we(s)("portalshell.menu.language"),
|
38130
38132
|
onClick: n[17] || (n[17] = (C) => v.value = !0)
|
38131
38133
|
}, null, 8, ["subtitle", "title"])) : nt("", !0),
|
38132
|
-
n[24] || (n[24] =
|
38134
|
+
n[24] || (n[24] = _e("div", { class: "profile-menu--divider" }, null, -1)),
|
38133
38135
|
Pe($n, {
|
38134
38136
|
onClick: n[18] || (n[18] = () => {
|
38135
38137
|
le(), he();
|
38136
38138
|
})
|
38137
38139
|
}, {
|
38138
38140
|
"title-slot": Qe(() => [
|
38139
|
-
|
38141
|
+
_e("span", D$, xe(we(s)("portalshell.menu.logOut")), 1)
|
38140
38142
|
]),
|
38141
38143
|
_: 1
|
38142
38144
|
})
|
@@ -38146,7 +38148,7 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38146
38148
|
_: 1
|
38147
38149
|
}, 8, ["modelValue"]),
|
38148
38150
|
(Te(), ot(jo, { to: "body" }, [
|
38149
|
-
|
38151
|
+
_e("div", B$, [
|
38150
38152
|
Pe(r, {
|
38151
38153
|
label: ((g = d.currentApp) == null ? void 0 : g.name) || "Portal",
|
38152
38154
|
"prepend-icon": "apps",
|
@@ -38154,7 +38156,7 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38154
38156
|
variant: "tertiary",
|
38155
38157
|
onClick: n[20] || (n[20] = (b) => j.value = !we(j))
|
38156
38158
|
}, null, 8, ["label"]),
|
38157
|
-
d.embedded ? nt("", !0) : (Te(), je("div",
|
38159
|
+
d.embedded ? nt("", !0) : (Te(), je("div", L$, [
|
38158
38160
|
Pe(r, {
|
38159
38161
|
"prepend-icon": "more_vert",
|
38160
38162
|
size: "md",
|
@@ -38168,7 +38170,7 @@ const WE = /* @__PURE__ */ wi(KE, [["__scopeId", "data-v-0a3da373"]]), XE = { cl
|
|
38168
38170
|
};
|
38169
38171
|
}
|
38170
38172
|
});
|
38171
|
-
const
|
38173
|
+
const q$ = /* @__PURE__ */ wi(U$, [["__scopeId", "data-v-0fe7cb75"]]), V$ = /* @__PURE__ */ Ct({
|
38172
38174
|
__name: "PortalSidebar",
|
38173
38175
|
setup(o) {
|
38174
38176
|
const l = zt(), { breakpoints: s } = Fl();
|
@@ -38183,7 +38185,7 @@ const U$ = /* @__PURE__ */ wi(L$, [["__scopeId", "data-v-0fe7cb75"]]), q$ = /* @
|
|
38183
38185
|
[Al, we(s).md || we(s).lg]
|
38184
38186
|
]);
|
38185
38187
|
}
|
38186
|
-
}),
|
38188
|
+
}), G$ = { class: "w-full h-full overflow-auto" }, H$ = /* @__PURE__ */ Ct({
|
38187
38189
|
__name: "index",
|
38188
38190
|
props: {
|
38189
38191
|
dropdownOpened: { type: Boolean },
|
@@ -38205,11 +38207,11 @@ const U$ = /* @__PURE__ */ wi(L$, [["__scopeId", "data-v-0fe7cb75"]]), q$ = /* @
|
|
38205
38207
|
}
|
38206
38208
|
const P = Ue(!1), j = Ve(() => {
|
38207
38209
|
if (s.value.md || s.value.lg)
|
38208
|
-
return uu(
|
38210
|
+
return uu(dE);
|
38209
38211
|
if (s.value.sm)
|
38210
|
-
return uu(
|
38212
|
+
return uu(UE);
|
38211
38213
|
if (s.value.xs)
|
38212
|
-
return uu(
|
38214
|
+
return uu(q$);
|
38213
38215
|
});
|
38214
38216
|
return (B, q) => (Te(), je(lt, null, [
|
38215
38217
|
Pe(Tc, {
|
@@ -38226,22 +38228,22 @@ const U$ = /* @__PURE__ */ wi(L$, [["__scopeId", "data-v-0fe7cb75"]]), q$ = /* @
|
|
38226
38228
|
"onGoto:portalV2": q[7] || (q[7] = (V) => m("goto:portal-v2")),
|
38227
38229
|
"onGoto:settings": S
|
38228
38230
|
}), null, 16)),
|
38229
|
-
|
38230
|
-
|
38231
|
+
_e("div", null, [
|
38232
|
+
_e("main", {
|
38231
38233
|
class: on(["h-dvh flex", {
|
38232
38234
|
"pt-56": !B.embedded && (we(s).md || we(s).lg),
|
38233
38235
|
"pb-56": !B.embedded && (we(s).sm || we(s).xs)
|
38234
38236
|
}])
|
38235
38237
|
}, [
|
38236
|
-
Pe(
|
38237
|
-
|
38238
|
+
Pe(V$),
|
38239
|
+
_e("div", G$, [
|
38238
38240
|
_l(B.$slots, "default")
|
38239
38241
|
])
|
38240
38242
|
], 2)
|
38241
38243
|
])
|
38242
38244
|
], 64));
|
38243
38245
|
}
|
38244
|
-
}),
|
38246
|
+
}), Mw = /* @__PURE__ */ Ct({
|
38245
38247
|
__name: "App",
|
38246
38248
|
setup(o) {
|
38247
38249
|
const { t: l } = jt(), s = zt(), h = Ve(() => s.sessionUser.value), m = Ve(() => s.getApps(l)), y = Ve(() => s.selectedApp.value), _ = Ve(() => [
|
@@ -38270,7 +38272,7 @@ const U$ = /* @__PURE__ */ wi(L$, [["__scopeId", "data-v-0fe7cb75"]]), q$ = /* @
|
|
38270
38272
|
function oe(Q) {
|
38271
38273
|
Q.external ? window.open(Q.path, "_blank") : (J.push(Q.path), s.selectApp(Q));
|
38272
38274
|
}
|
38273
|
-
return (Q, G) => (Te(), ot(
|
38275
|
+
return (Q, G) => (Te(), ot(H$, {
|
38274
38276
|
"dropdown-opened": te.value,
|
38275
38277
|
"onUpdate:dropdownOpened": G[0] || (G[0] = (ie) => te.value = ie),
|
38276
38278
|
apps: m.value,
|
@@ -38699,18 +38701,18 @@ var om = { exports: {} };
|
|
38699
38701
|
]);
|
38700
38702
|
});
|
38701
38703
|
})(om);
|
38702
|
-
var
|
38703
|
-
const
|
38704
|
+
var Y$ = om.exports;
|
38705
|
+
const x$ = /* @__PURE__ */ zm(Y$);
|
38704
38706
|
function uf(o, l) {
|
38705
38707
|
for (var s = 0; s < l.length; s++) {
|
38706
38708
|
var h = l[s];
|
38707
38709
|
h.enumerable = h.enumerable || !1, h.configurable = !0, "value" in h && (h.writable = !0), Object.defineProperty(o, h.key, h);
|
38708
38710
|
}
|
38709
38711
|
}
|
38710
|
-
function
|
38712
|
+
function Z$(o, l, s) {
|
38711
38713
|
return l && uf(o.prototype, l), s && uf(o, s), o;
|
38712
38714
|
}
|
38713
|
-
function
|
38715
|
+
function K$(o, l) {
|
38714
38716
|
o.prototype = Object.create(l.prototype), o.prototype.constructor = o, o.__proto__ = l;
|
38715
38717
|
}
|
38716
38718
|
function gl(o) {
|
@@ -38723,7 +38725,7 @@ function Vo(o, l) {
|
|
38723
38725
|
return h.__proto__ = m, h;
|
38724
38726
|
}, Vo(o, l);
|
38725
38727
|
}
|
38726
|
-
function
|
38728
|
+
function W$() {
|
38727
38729
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
38728
38730
|
return !1;
|
38729
38731
|
if (typeof Proxy == "function")
|
@@ -38736,20 +38738,20 @@ function K$() {
|
|
38736
38738
|
}
|
38737
38739
|
}
|
38738
38740
|
function ko(o, l, s) {
|
38739
|
-
return
|
38741
|
+
return W$() ? ko = Reflect.construct : ko = function(m, y, _) {
|
38740
38742
|
var A = [null];
|
38741
38743
|
A.push.apply(A, y);
|
38742
38744
|
var S = Function.bind.apply(m, A), P = new S();
|
38743
38745
|
return _ && Vo(P, _.prototype), P;
|
38744
38746
|
}, ko.apply(null, arguments);
|
38745
38747
|
}
|
38746
|
-
function
|
38748
|
+
function X$(o) {
|
38747
38749
|
return Function.toString.call(o).indexOf("[native code]") !== -1;
|
38748
38750
|
}
|
38749
38751
|
function yl(o) {
|
38750
38752
|
var l = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
38751
38753
|
return yl = function(h) {
|
38752
|
-
if (h === null || !
|
38754
|
+
if (h === null || !X$(h))
|
38753
38755
|
return h;
|
38754
38756
|
if (typeof h != "function")
|
38755
38757
|
throw new TypeError("Super expression must either be null or a function");
|
@@ -38778,8 +38780,8 @@ function lf(o) {
|
|
38778
38780
|
}
|
38779
38781
|
var sm = function(l) {
|
38780
38782
|
return 'Cannot execute "' + l.action + '" on "' + l.subjectName + '"';
|
38781
|
-
}, To = sm,
|
38782
|
-
|
38783
|
+
}, To = sm, Q$ = /* @__PURE__ */ function(o) {
|
38784
|
+
K$(l, o), l.setDefaultMessage = function(m) {
|
38783
38785
|
m === null ? To = sm : To = typeof m == "string" ? function() {
|
38784
38786
|
return m;
|
38785
38787
|
} : m;
|
@@ -38817,36 +38819,36 @@ var sm = function(l) {
|
|
38817
38819
|
function bl(o) {
|
38818
38820
|
return Array.isArray(o) ? o : [o];
|
38819
38821
|
}
|
38820
|
-
function
|
38822
|
+
function J$(o) {
|
38821
38823
|
if (!o || typeof o == "string")
|
38822
38824
|
return o;
|
38823
38825
|
var l = typeof o == "object" ? o.constructor : o;
|
38824
38826
|
return l.modelName || l.name;
|
38825
38827
|
}
|
38826
|
-
function
|
38828
|
+
function ew(o) {
|
38827
38829
|
return JSON.parse(JSON.stringify(o));
|
38828
38830
|
}
|
38829
|
-
var
|
38830
|
-
function
|
38831
|
-
var h = s[0] === "*" || o[0] === "." && o[o.length - 1] === "." ? "+" : "*", m = o.indexOf("**") === -1 ? "[^.]" : ".", y = o.replace(
|
38831
|
+
var tw = /[-/\\^$+?.()|[\]{}]/g, nw = /\.?\*+\.?/g, rw = /\*+/, iw = /\./g;
|
38832
|
+
function aw(o, l, s) {
|
38833
|
+
var h = s[0] === "*" || o[0] === "." && o[o.length - 1] === "." ? "+" : "*", m = o.indexOf("**") === -1 ? "[^.]" : ".", y = o.replace(iw, "\\$&").replace(rw, m + h);
|
38832
38834
|
return l + o.length === s.length ? "(?:" + y + ")?" : y;
|
38833
38835
|
}
|
38834
|
-
function
|
38836
|
+
function ow(o, l, s) {
|
38835
38837
|
return o === "." && (s[l - 1] === "*" || s[l + 1] === "*") ? o : "\\" + o;
|
38836
38838
|
}
|
38837
|
-
function
|
38839
|
+
function sw(o) {
|
38838
38840
|
var l = o.map(function(h) {
|
38839
|
-
return h.replace(
|
38841
|
+
return h.replace(tw, ow).replace(nw, aw);
|
38840
38842
|
}), s = l.length > 1 ? "(?:" + l.join("|") + ")" : l[0];
|
38841
38843
|
return new RegExp("^" + s + "$");
|
38842
38844
|
}
|
38843
|
-
var
|
38845
|
+
var uw = /* @__PURE__ */ function() {
|
38844
38846
|
function o(s) {
|
38845
38847
|
this.actions = s.actions || s.action, this.subject = s.subject, this.fields = !s.fields || s.fields.length === 0 ? void 0 : bl(s.fields), Object.defineProperty(this, "_fieldsPattern", {
|
38846
38848
|
writable: !0
|
38847
38849
|
}), this.inverted = !!s.inverted, this.conditions = s.conditions, Object.defineProperty(this, "_matches", {
|
38848
38850
|
writable: !0,
|
38849
|
-
value: this.conditions ?
|
38851
|
+
value: this.conditions ? x$(this.conditions) : void 0
|
38850
38852
|
}), this.reason = s.reason;
|
38851
38853
|
}
|
38852
38854
|
var l = o.prototype;
|
@@ -38855,7 +38857,7 @@ var sw = /* @__PURE__ */ function() {
|
|
38855
38857
|
}, l.isRelevantFor = function(h, m) {
|
38856
38858
|
return this.fields ? m ? this.matchesField(m) : !this.inverted : !0;
|
38857
38859
|
}, l.matchesField = function(h) {
|
38858
|
-
return typeof this._fieldsPattern > "u" && (this._fieldsPattern = this.fields.join("").indexOf("*") === -1 ? null :
|
38860
|
+
return typeof this._fieldsPattern > "u" && (this._fieldsPattern = this.fields.join("").indexOf("*") === -1 ? null : sw(this.fields)), this._fieldsPattern === null || h.indexOf("*") !== -1 ? this.fields.indexOf(h) !== -1 : this._fieldsPattern.test(h);
|
38859
38861
|
}, o;
|
38860
38862
|
}(), tn = typeof Symbol < "u" ? Symbol("private") : "__" + Date.now(), cf = {
|
38861
38863
|
crud: ["create", "read", "update", "delete"]
|
@@ -38863,7 +38865,7 @@ var sw = /* @__PURE__ */ function() {
|
|
38863
38865
|
function df(o, l) {
|
38864
38866
|
return o === l || Array.isArray(l) && l.indexOf(o) !== -1;
|
38865
38867
|
}
|
38866
|
-
var
|
38868
|
+
var lw = /* @__PURE__ */ function() {
|
38867
38869
|
o.addAlias = function(h, m) {
|
38868
38870
|
if (h === "manage" || df("manage", m))
|
38869
38871
|
throw new Error('Cannot add alias for "manage" action because it represents any action');
|
@@ -38873,15 +38875,15 @@ var uw = /* @__PURE__ */ function() {
|
|
38873
38875
|
};
|
38874
38876
|
function o(s, h) {
|
38875
38877
|
h === void 0 && (h = {}), Object.defineProperty(this, "subjectName", {
|
38876
|
-
value: h.subjectName ||
|
38878
|
+
value: h.subjectName || J$
|
38877
38879
|
}), this[tn] = {
|
38878
|
-
RuleType: h.RuleType ||
|
38880
|
+
RuleType: h.RuleType || uw,
|
38879
38881
|
originalRules: s || [],
|
38880
38882
|
hasPerFieldRules: !1,
|
38881
38883
|
indexedRules: /* @__PURE__ */ Object.create(null),
|
38882
38884
|
mergedRules: /* @__PURE__ */ Object.create(null),
|
38883
38885
|
events: {},
|
38884
|
-
aliases:
|
38886
|
+
aliases: ew(cf)
|
38885
38887
|
}, this.update(s);
|
38886
38888
|
}
|
38887
38889
|
var l = o.prototype;
|
@@ -38950,7 +38952,7 @@ var uw = /* @__PURE__ */ function() {
|
|
38950
38952
|
console.warn(`
|
38951
38953
|
Ability.throwUnlessCan is deprecated and will be removed in 4.x version.
|
38952
38954
|
Please use "ForbiddenError.from(ability).throwUnlessCan(...)" instead.
|
38953
|
-
`.trim()), (h =
|
38955
|
+
`.trim()), (h = Q$.from(this)).throwUnlessCan.apply(h, arguments);
|
38954
38956
|
}, l.on = function(h, m) {
|
38955
38957
|
var y = this[tn].events, _ = !0;
|
38956
38958
|
return y[h] || (y[h] = []), y[h].push(m), function() {
|
@@ -38964,7 +38966,7 @@ var uw = /* @__PURE__ */ function() {
|
|
38964
38966
|
y && y.slice(0).forEach(function(_) {
|
38965
38967
|
return _(m);
|
38966
38968
|
});
|
38967
|
-
},
|
38969
|
+
}, Z$(o, [{
|
38968
38970
|
key: "rules",
|
38969
38971
|
get: function() {
|
38970
38972
|
return this[tn].originalRules;
|
@@ -38991,7 +38993,7 @@ var uw = /* @__PURE__ */ function() {
|
|
38991
38993
|
})(l.Restaurant || (l.Restaurant = {}));
|
38992
38994
|
})(o.Subject || (o.Subject = {}));
|
38993
38995
|
})(Go || (Go = {}));
|
38994
|
-
async function
|
38996
|
+
async function cw(o) {
|
38995
38997
|
const { sessionUser: l, validationManifest: s } = o, { requiredRoles: h, requiredCaslPermissions: m, customValidationFunction: y } = s;
|
38996
38998
|
if (!l)
|
38997
38999
|
return { canAccess: !1 };
|
@@ -39001,7 +39003,7 @@ async function lw(o) {
|
|
39001
39003
|
message: "User does not have permission to access"
|
39002
39004
|
});
|
39003
39005
|
if (m && m.length > 0) {
|
39004
|
-
const _ = new
|
39006
|
+
const _ = new lw(l.permissions);
|
39005
39007
|
if (m.every(
|
39006
39008
|
(A) => !_.can(A.action, A.subject, A.field)
|
39007
39009
|
))
|
@@ -39018,10 +39020,10 @@ async function lw(o) {
|
|
39018
39020
|
return Promise.resolve({ canAccess: !0 });
|
39019
39021
|
}
|
39020
39022
|
const um = "access-denied";
|
39021
|
-
async function
|
39023
|
+
async function dw(o) {
|
39022
39024
|
for (const l of o.matched)
|
39023
39025
|
if (l.meta.validationManifest) {
|
39024
|
-
const s = await
|
39026
|
+
const s = await cw({
|
39025
39027
|
sessionUser: zt().sessionUser.value,
|
39026
39028
|
validationManifest: l.meta.validationManifest
|
39027
39029
|
});
|
@@ -39036,51 +39038,51 @@ async function cw(o) {
|
|
39036
39038
|
canAccess: !0
|
39037
39039
|
};
|
39038
39040
|
}
|
39039
|
-
function
|
39041
|
+
function Dw(o) {
|
39040
39042
|
o.beforeEach(async (l, s, h) => {
|
39041
|
-
const m = await
|
39043
|
+
const m = await dw(l);
|
39042
39044
|
m.canAccess ? h() : m.redirectTo ? h({ name: m.redirectTo }) : h({ name: um });
|
39043
39045
|
});
|
39044
39046
|
}
|
39045
|
-
function
|
39047
|
+
function Bw(o, l) {
|
39046
39048
|
l && zt().setNamespace(l);
|
39047
39049
|
const s = "DEBUG_ACCOUNT_URL", h = window.localStorage.getItem(s);
|
39048
39050
|
h && $t.setBaseUrl(h), $t.initialize({ clientId: o, loginMode: "iframe", oneTapMode: "full_screen" });
|
39049
39051
|
const m = zt();
|
39050
39052
|
m.sessionUser.value || m.signIn();
|
39051
39053
|
}
|
39052
|
-
const
|
39054
|
+
const Lw = $t.onAuthStateChanged, fw = Jp.map((o) => o.code), hw = {
|
39053
39055
|
"en-US": m3,
|
39054
39056
|
"zh-CN": y3
|
39055
39057
|
};
|
39056
|
-
function
|
39058
|
+
function Uw(o) {
|
39057
39059
|
if (o.messages)
|
39058
|
-
for (const l of
|
39060
|
+
for (const l of fw) {
|
39059
39061
|
const s = o.messages[l] || {};
|
39060
39062
|
o.messages[l] = {
|
39061
39063
|
...s,
|
39062
|
-
...
|
39064
|
+
...hw[l]
|
39063
39065
|
};
|
39064
39066
|
}
|
39065
39067
|
return d3(o);
|
39066
39068
|
}
|
39067
|
-
function
|
39069
|
+
function qw() {
|
39068
39070
|
const o = Pi.value.length > 0 ? Pi.value[0] : "en-US", l = localStorage.getItem("locale") || navigator.language, s = Pi.value.includes(l) ? l : o;
|
39069
39071
|
return localStorage.getItem("locale") !== s && localStorage.setItem("locale", s), s;
|
39070
39072
|
}
|
39071
39073
|
export {
|
39072
39074
|
Ea as CountryOptions,
|
39073
39075
|
$t as FeedMeAuth,
|
39074
|
-
|
39076
|
+
Mw as FmNavBar,
|
39075
39077
|
f3 as FmpUser,
|
39076
39078
|
Go as Permission,
|
39077
39079
|
Ir as baseClientInstance,
|
39078
|
-
|
39079
|
-
|
39080
|
-
|
39081
|
-
|
39082
|
-
|
39083
|
-
|
39080
|
+
Uw as createFeedMeI18n,
|
39081
|
+
qw as detectLocale,
|
39082
|
+
Bw as initialize,
|
39083
|
+
Dw as installRouteValidation,
|
39084
|
+
Lw as onAuthStateChanged,
|
39085
|
+
hw as portalShellI18nMessages,
|
39084
39086
|
b3 as setEnabledLocales,
|
39085
39087
|
zt as useCoreStore,
|
39086
39088
|
jt as useI18n,
|