react-pp-bundle
Version:
Polaris组件库扩展包
6,544 lines • 246 kB
JavaScript
import te, { useRef as Et, useState as xe, useEffect as Fe, useMemo as Z, createContext as SP, useContext as FP, useCallback as $P, useLayoutEffect as IP } from "react";
import { Text as N, Button as et, Card as wt, BlockStack as Se, InlineStack as fe, Popover as AP, ActionList as RP, Tooltip as EP, RadioButton as wP, RangeSlider as jP, Box as DP, Badge as gt, Layout as ht, LegacyCard as ie, TextContainer as Re, SkeletonDisplayText as Ee, SkeletonBodyText as oe } from "@shopify/polaris";
import { cloneDeep as Qe } from "lodash-es";
import Je from "axios";
var bT = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function CP(n) {
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
}
var bt = { exports: {} }, we = {};
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Jt;
function LP() {
if (Jt) return we;
Jt = 1;
var n = te, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
function o(s, l, c) {
var d, f = {}, T = null, P = null;
c !== void 0 && (T = "" + c), l.key !== void 0 && (T = "" + l.key), l.ref !== void 0 && (P = l.ref);
for (d in l) r.call(l, d) && !i.hasOwnProperty(d) && (f[d] = l[d]);
if (s && s.defaultProps) for (d in l = s.defaultProps, l) f[d] === void 0 && (f[d] = l[d]);
return { $$typeof: e, type: s, key: T, ref: P, props: f, _owner: a.current };
}
return we.Fragment = t, we.jsx = o, we.jsxs = o, we;
}
var je = {};
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Zt;
function NP() {
return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
var n = te, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), v = Symbol.iterator, k = "@@iterator";
function O(u) {
if (u === null || typeof u != "object")
return null;
var h = v && u[v] || u[k];
return typeof h == "function" ? h : null;
}
var m = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function b(u) {
{
for (var h = arguments.length, y = new Array(h > 1 ? h - 1 : 0), x = 1; x < h; x++)
y[x - 1] = arguments[x];
C("error", u, y);
}
}
function C(u, h, y) {
{
var x = m.ReactDebugCurrentFrame, D = x.getStackAddendum();
D !== "" && (h += "%s", y = y.concat([D]));
var L = y.map(function(E) {
return String(E);
});
L.unshift("Warning: " + h), Function.prototype.apply.call(console[u], console, L);
}
}
var I = !1, w = !1, j = !1, X = !1, F = !1, $;
$ = Symbol.for("react.module.reference");
function A(u) {
return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || F || u === a || u === c || u === d || X || u === P || I || w || j || typeof u == "object" && u !== null && (u.$$typeof === T || u.$$typeof === f || u.$$typeof === o || u.$$typeof === s || u.$$typeof === l || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
u.$$typeof === $ || u.getModuleId !== void 0));
}
function q(u, h, y) {
var x = u.displayName;
if (x)
return x;
var D = h.displayName || h.name || "";
return D !== "" ? y + "(" + D + ")" : y;
}
function ee(u) {
return u.displayName || "Context";
}
function M(u) {
if (u == null)
return null;
if (typeof u.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof u == "function")
return u.displayName || u.name || null;
if (typeof u == "string")
return u;
switch (u) {
case r:
return "Fragment";
case t:
return "Portal";
case i:
return "Profiler";
case a:
return "StrictMode";
case c:
return "Suspense";
case d:
return "SuspenseList";
}
if (typeof u == "object")
switch (u.$$typeof) {
case s:
var h = u;
return ee(h) + ".Consumer";
case o:
var y = u;
return ee(y._context) + ".Provider";
case l:
return q(u, u.render, "ForwardRef");
case f:
var x = u.displayName || null;
return x !== null ? x : M(u.type) || "Memo";
case T: {
var D = u, L = D._payload, E = D._init;
try {
return M(E(L));
} catch {
return null;
}
}
}
return null;
}
var B = Object.assign, le = 0, Q, G, ce, he, Ie, W, ne;
function ue() {
}
ue.__reactDisabledLog = !0;
function Ye() {
{
if (le === 0) {
Q = console.log, G = console.info, ce = console.warn, he = console.error, Ie = console.group, W = console.groupCollapsed, ne = console.groupEnd;
var u = {
configurable: !0,
enumerable: !0,
value: ue,
writable: !0
};
Object.defineProperties(console, {
info: u,
log: u,
warn: u,
error: u,
group: u,
groupCollapsed: u,
groupEnd: u
});
}
le++;
}
}
function He() {
{
if (le--, le === 0) {
var u = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: B({}, u, {
value: Q
}),
info: B({}, u, {
value: G
}),
warn: B({}, u, {
value: ce
}),
error: B({}, u, {
value: he
}),
group: B({}, u, {
value: Ie
}),
groupCollapsed: B({}, u, {
value: W
}),
groupEnd: B({}, u, {
value: ne
})
});
}
le < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var ot = m.ReactCurrentDispatcher, st;
function Ue(u, h, y) {
{
if (st === void 0)
try {
throw Error();
} catch (D) {
var x = D.stack.trim().match(/\n( *(at )?)/);
st = x && x[1] || "";
}
return `
` + st + u;
}
}
var lt = !1, We;
{
var tP = typeof WeakMap == "function" ? WeakMap : Map;
We = new tP();
}
function Lt(u, h) {
if (!u || lt)
return "";
{
var y = We.get(u);
if (y !== void 0)
return y;
}
var x;
lt = !0;
var D = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var L;
L = ot.current, ot.current = null, Ye();
try {
if (h) {
var E = function() {
throw Error();
};
if (Object.defineProperty(E.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(E, []);
} catch (K) {
x = K;
}
Reflect.construct(u, [], E);
} else {
try {
E.call();
} catch (K) {
x = K;
}
u.call(E.prototype);
}
} else {
try {
throw Error();
} catch (K) {
x = K;
}
u();
}
} catch (K) {
if (K && x && typeof K.stack == "string") {
for (var R = K.stack.split(`
`), V = x.stack.split(`
`), z = R.length - 1, Y = V.length - 1; z >= 1 && Y >= 0 && R[z] !== V[Y]; )
Y--;
for (; z >= 1 && Y >= 0; z--, Y--)
if (R[z] !== V[Y]) {
if (z !== 1 || Y !== 1)
do
if (z--, Y--, Y < 0 || R[z] !== V[Y]) {
var J = `
` + R[z].replace(" at new ", " at ");
return u.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", u.displayName)), typeof u == "function" && We.set(u, J), J;
}
while (z >= 1 && Y >= 0);
break;
}
}
} finally {
lt = !1, ot.current = L, He(), Error.prepareStackTrace = D;
}
var _e = u ? u.displayName || u.name : "", Pe = _e ? Ue(_e) : "";
return typeof u == "function" && We.set(u, Pe), Pe;
}
function nP(u, h, y) {
return Lt(u, !1);
}
function rP(u) {
var h = u.prototype;
return !!(h && h.isReactComponent);
}
function Ve(u, h, y) {
if (u == null)
return "";
if (typeof u == "function")
return Lt(u, rP(u));
if (typeof u == "string")
return Ue(u);
switch (u) {
case c:
return Ue("Suspense");
case d:
return Ue("SuspenseList");
}
if (typeof u == "object")
switch (u.$$typeof) {
case l:
return nP(u.render);
case f:
return Ve(u.type, h, y);
case T: {
var x = u, D = x._payload, L = x._init;
try {
return Ve(L(D), h, y);
} catch {
}
}
}
return "";
}
var Ae = Object.prototype.hasOwnProperty, Nt = {}, Mt = m.ReactDebugCurrentFrame;
function Ke(u) {
if (u) {
var h = u._owner, y = Ve(u.type, u._source, h ? h.type : null);
Mt.setExtraStackFrame(y);
} else
Mt.setExtraStackFrame(null);
}
function aP(u, h, y, x, D) {
{
var L = Function.call.bind(Ae);
for (var E in u)
if (L(u, E)) {
var R = void 0;
try {
if (typeof u[E] != "function") {
var V = Error((x || "React class") + ": " + y + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw V.name = "Invariant Violation", V;
}
R = u[E](h, E, x, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (z) {
R = z;
}
R && !(R instanceof Error) && (Ke(D), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", y, E, typeof R), Ke(null)), R instanceof Error && !(R.message in Nt) && (Nt[R.message] = !0, Ke(D), b("Failed %s type: %s", y, R.message), Ke(null));
}
}
}
var iP = Array.isArray;
function ct(u) {
return iP(u);
}
function oP(u) {
{
var h = typeof Symbol == "function" && Symbol.toStringTag, y = h && u[Symbol.toStringTag] || u.constructor.name || "Object";
return y;
}
}
function sP(u) {
try {
return Xt(u), !1;
} catch {
return !0;
}
}
function Xt(u) {
return "" + u;
}
function qt(u) {
if (sP(u))
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", oP(u)), Xt(u);
}
var Bt = m.ReactCurrentOwner, lP = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, zt, Yt;
function cP(u) {
if (Ae.call(u, "ref")) {
var h = Object.getOwnPropertyDescriptor(u, "ref").get;
if (h && h.isReactWarning)
return !1;
}
return u.ref !== void 0;
}
function uP(u) {
if (Ae.call(u, "key")) {
var h = Object.getOwnPropertyDescriptor(u, "key").get;
if (h && h.isReactWarning)
return !1;
}
return u.key !== void 0;
}
function dP(u, h) {
typeof u.ref == "string" && Bt.current;
}
function fP(u, h) {
{
var y = function() {
zt || (zt = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
};
y.isReactWarning = !0, Object.defineProperty(u, "key", {
get: y,
configurable: !0
});
}
}
function pP(u, h) {
{
var y = function() {
Yt || (Yt = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
};
y.isReactWarning = !0, Object.defineProperty(u, "ref", {
get: y,
configurable: !0
});
}
}
var gP = function(u, h, y, x, D, L, E) {
var R = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: e,
// Built-in properties that belong on the element
type: u,
key: h,
ref: y,
props: E,
// Record the component responsible for creating this element.
_owner: L
};
return R._store = {}, Object.defineProperty(R._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(R, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: x
}), Object.defineProperty(R, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: D
}), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
};
function hP(u, h, y, x, D) {
{
var L, E = {}, R = null, V = null;
y !== void 0 && (qt(y), R = "" + y), uP(h) && (qt(h.key), R = "" + h.key), cP(h) && (V = h.ref, dP(h, D));
for (L in h)
Ae.call(h, L) && !lP.hasOwnProperty(L) && (E[L] = h[L]);
if (u && u.defaultProps) {
var z = u.defaultProps;
for (L in z)
E[L] === void 0 && (E[L] = z[L]);
}
if (R || V) {
var Y = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
R && fP(E, Y), V && pP(E, Y);
}
return gP(u, R, V, D, x, Bt.current, E);
}
}
var ut = m.ReactCurrentOwner, Ht = m.ReactDebugCurrentFrame;
function ye(u) {
if (u) {
var h = u._owner, y = Ve(u.type, u._source, h ? h.type : null);
Ht.setExtraStackFrame(y);
} else
Ht.setExtraStackFrame(null);
}
var dt;
dt = !1;
function ft(u) {
return typeof u == "object" && u !== null && u.$$typeof === e;
}
function Ut() {
{
if (ut.current) {
var u = M(ut.current.type);
if (u)
return `
Check the render method of \`` + u + "`.";
}
return "";
}
}
function PP(u) {
return "";
}
var Wt = {};
function vP(u) {
{
var h = Ut();
if (!h) {
var y = typeof u == "string" ? u : u.displayName || u.name;
y && (h = `
Check the top-level render call using <` + y + ">.");
}
return h;
}
}
function Vt(u, h) {
{
if (!u._store || u._store.validated || u.key != null)
return;
u._store.validated = !0;
var y = vP(h);
if (Wt[y])
return;
Wt[y] = !0;
var x = "";
u && u._owner && u._owner !== ut.current && (x = " It was passed a child from " + M(u._owner.type) + "."), ye(u), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, x), ye(null);
}
}
function Kt(u, h) {
{
if (typeof u != "object")
return;
if (ct(u))
for (var y = 0; y < u.length; y++) {
var x = u[y];
ft(x) && Vt(x, h);
}
else if (ft(u))
u._store && (u._store.validated = !0);
else if (u) {
var D = O(u);
if (typeof D == "function" && D !== u.entries)
for (var L = D.call(u), E; !(E = L.next()).done; )
ft(E.value) && Vt(E.value, h);
}
}
}
function mP(u) {
{
var h = u.type;
if (h == null || typeof h == "string")
return;
var y;
if (typeof h == "function")
y = h.propTypes;
else if (typeof h == "object" && (h.$$typeof === l || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
h.$$typeof === f))
y = h.propTypes;
else
return;
if (y) {
var x = M(h);
aP(y, u.props, "prop", x, u);
} else if (h.PropTypes !== void 0 && !dt) {
dt = !0;
var D = M(h);
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
}
typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function TP(u) {
{
for (var h = Object.keys(u.props), y = 0; y < h.length; y++) {
var x = h[y];
if (x !== "children" && x !== "key") {
ye(u), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), ye(null);
break;
}
}
u.ref !== null && (ye(u), b("Invalid attribute `ref` supplied to `React.Fragment`."), ye(null));
}
}
var Qt = {};
function Gt(u, h, y, x, D, L) {
{
var E = A(u);
if (!E) {
var R = "";
(u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
var V = PP();
V ? R += V : R += Ut();
var z;
u === null ? z = "null" : ct(u) ? z = "array" : u !== void 0 && u.$$typeof === e ? (z = "<" + (M(u.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : z = typeof u, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, R);
}
var Y = hP(u, h, y, D, L);
if (Y == null)
return Y;
if (E) {
var J = h.children;
if (J !== void 0)
if (x)
if (ct(J)) {
for (var _e = 0; _e < J.length; _e++)
Kt(J[_e], u);
Object.freeze && Object.freeze(J);
} else
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
else
Kt(J, u);
}
if (Ae.call(h, "key")) {
var Pe = M(u), K = Object.keys(h).filter(function(xP) {
return xP !== "key";
}), pt = K.length > 0 ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}";
if (!Qt[Pe + pt]) {
var OP = K.length > 0 ? "{" + K.join(": ..., ") + ": ...}" : "{}";
b(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`, pt, Pe, OP, Pe), Qt[Pe + pt] = !0;
}
}
return u === r ? TP(Y) : mP(Y), Y;
}
}
function yP(u, h, y) {
return Gt(u, h, y, !0);
}
function _P(u, h, y) {
return Gt(u, h, y, !1);
}
var bP = _P, kP = yP;
je.Fragment = r, je.jsx = bP, je.jsxs = kP;
}()), je;
}
process.env.NODE_ENV === "production" ? bt.exports = LP() : bt.exports = NP();
var g = bt.exports, wn = { exports: {} };
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
(function(n) {
(function() {
var e = {}.hasOwnProperty;
function t() {
for (var i = "", o = 0; o < arguments.length; o++) {
var s = arguments[o];
s && (i = a(i, r(s)));
}
return i;
}
function r(i) {
if (typeof i == "string" || typeof i == "number")
return i;
if (typeof i != "object")
return "";
if (Array.isArray(i))
return t.apply(null, i);
if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
return i.toString();
var o = "";
for (var s in i)
e.call(i, s) && i[s] && (o = a(o, s));
return o;
}
function a(i, o) {
return o ? i ? i + " " + o : i + o : i;
}
n.exports ? (t.default = t, n.exports = t) : window.classNames = t;
})();
})(wn);
var MP = wn.exports;
const Le = /* @__PURE__ */ CP(MP), XP = "_radiosBoxBorderWrapper_1vmjb_14", qP = "_radiosBox_1vmjb_14", BP = "_radioBox_1vmjb_34", zP = "_radio_1vmjb_14", YP = "_radioActive_1vmjb_67", HP = "_radioActiveBgBox_1vmjb_72", UP = "_radioActiveBg_1vmjb_72", ve = {
radiosBoxBorderWrapper: XP,
radiosBox: qP,
radioBox: BP,
radio: zP,
radioActive: YP,
radioActiveBgBox: HP,
radioActiveBg: UP
}, WP = (n) => {
const { className: e, options: t, value: r, onChange: a } = n, i = Et([]), [o, s] = xe(0);
Fe(() => {
if (i.current = new Array(t.length).fill(null).map((c, d) => i.current[d] || null), t.length) {
let c = null;
t.forEach((d, f) => {
d.value === r && (c = i.current[f]);
}), c && s(c.clientWidth);
}
}, [t]);
const l = Z(() => {
var d;
const c = t.findIndex((f) => f.value === r);
if (c !== -1) {
let f = 0;
for (let T = 0; T < c; T++)
f += ((d = i.current[T]) == null ? void 0 : d.clientWidth) ?? 0, f !== 0 && (f += 6);
return f;
}
return 0;
}, [r, t, i.current]);
return /* @__PURE__ */ g.jsx("div", { className: Le(ve.radiosBoxBorderWrapper, e), children: /* @__PURE__ */ g.jsxs("div", { className: ve.radiosBox, children: [
/* @__PURE__ */ g.jsx("div", { className: ve.radioActiveBgBox, children: !!o && /* @__PURE__ */ g.jsx(
"div",
{
className: ve.radioActiveBg,
style: {
width: `${o}px`,
transform: `translateX(${l}px)`
}
}
) }),
t.map((c, d) => /* @__PURE__ */ g.jsx(
"div",
{
className: ve.radioBox,
ref: (f) => i.current[d] = f,
onClick: () => a(c.value),
children: /* @__PURE__ */ g.jsx(
"div",
{
className: Le({
[ve.radio]: !0,
[ve.radioActive]: r === c.value
}),
children: /* @__PURE__ */ g.jsx(N, { as: "span", variant: "bodyMd", fontWeight: "medium", children: c.label })
}
)
},
c.value
))
] }) });
}, jn = (n) => function(t) {
return /* @__PURE__ */ g.jsx("div", { style: n, children: /* @__PURE__ */ g.jsx(WP, { ...t }) });
}, kT = jn({
"--pb-toggle-text-color-active": "#FFFFFF",
"--pb-toggle-box-bg": "linear-gradient(90deg, #68A5FE 0%, #0067FF 100%)",
"--pb-toggle-bg-active": "linear-gradient(90deg, #68A5FE 0%, #68A5FE 0.01%, #0067FF 48.96%, #0067FF 100%)"
}), VP = jn({
"--pb-toggle-box-bg": "linear-gradient(90deg, #B1EDFA 0%, #4DFF9E 100%)",
"--pb-toggle-bg-active": "linear-gradient(90deg, #B1F5FA 0%, #B0F5FA 0.01%, #4DFF9E 48.96%, #4DFF9E 100%)"
});
var Dn = function(e) {
return /* @__PURE__ */ te.createElement("svg", Object.assign({
viewBox: "0 0 20 20"
}, e), /* @__PURE__ */ te.createElement("path", {
d: "M11.75 4.5a.75.75 0 0 0 0 1.5h1.19l-2.72 2.72a.75.75 0 1 0 1.06 1.06l2.72-2.72v1.19a.75.75 0 0 0 1.5 0v-3a.75.75 0 0 0-.75-.75h-3Z"
}), /* @__PURE__ */ te.createElement("path", {
d: "M15 11.25a.75.75 0 0 0-1.5 0v1c0 .69-.56 1.25-1.25 1.25h-4.5c-.69 0-1.25-.56-1.25-1.25v-4.5c0-.69.56-1.25 1.25-1.25h1a.75.75 0 0 0 0-1.5h-1a2.75 2.75 0 0 0-2.75 2.75v4.5a2.75 2.75 0 0 0 2.75 2.75h4.5a2.75 2.75 0 0 0 2.75-2.75v-1Z"
}));
};
Dn.displayName = "ExternalSmallIcon";
var Cn = function(e) {
return /* @__PURE__ */ te.createElement("svg", Object.assign({
viewBox: "0 0 20 20"
}, e), /* @__PURE__ */ te.createElement("path", {
d: "M6 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"
}), /* @__PURE__ */ te.createElement("path", {
d: "M11.5 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"
}), /* @__PURE__ */ te.createElement("path", {
d: "M17 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"
}));
};
Cn.displayName = "MenuHorizontalIcon";
var Ln = function(e) {
return /* @__PURE__ */ te.createElement("svg", Object.assign({
viewBox: "0 0 20 20"
}, e), /* @__PURE__ */ te.createElement("path", {
d: "M13.97 15.03a.75.75 0 1 0 1.06-1.06l-3.97-3.97 3.97-3.97a.75.75 0 0 0-1.06-1.06l-3.97 3.97-3.97-3.97a.75.75 0 0 0-1.06 1.06l3.97 3.97-3.97 3.97a.75.75 0 1 0 1.06 1.06l3.97-3.97 3.97 3.97Z"
}));
};
Ln.displayName = "XIcon";
const KP = (n) => {
const { onClose: e, period: t } = n, a = {
1: "https://cdn.parcelpanel.com/front-end/2026/subscription/bundle-monthly-firstsub-50pct-10pct.jpg",
2: "https://cdn.parcelpanel.com/front-end/2026/subscription/bundle-annual-lifetime-10pct.jpg"
}[t] ?? "https://cdn.parcelpanel.com/front-end/2026/subscription/bundle-monthly-firstsub-50pct-10pct.jpg";
return /* @__PURE__ */ g.jsxs("div", { className: "pb-w-full pb-relative pb-mb-4 pb-mt-5 sm:pb-rounded-xl pb-overflow-hidden", children: [
/* @__PURE__ */ g.jsx("div", { className: "pb-absolute md:pb-top-4 md:pb-right-4 pb-top-1 pb-right-1", children: /* @__PURE__ */ g.jsx(et, { icon: Ln, variant: "plain", onClick: e }) }),
/* @__PURE__ */ g.jsx("img", { className: "pb-w-full pb-flex", src: a, alt: "" })
] });
};
var re = /* @__PURE__ */ ((n) => (n[n.Month = 1] = "Month", n[n.Year = 2] = "Year", n))(re || {}), _ = /* @__PURE__ */ ((n) => (n[n.Essential = 2] = "Essential", n[n.Professional = 3] = "Professional", n[n.Enterprise = 4] = "Enterprise", n))(_ || {}), p = /* @__PURE__ */ ((n) => (n[n.Tracking = 1] = "Tracking", n[n.Returns = 2] = "Returns", n[n.Protection = 3] = "Protection", n))(p || {}), Ze = /* @__PURE__ */ ((n) => (n[n.Trial = 1] = "Trial", n[n.Normal = 2] = "Normal", n))(Ze || {});
const QP = (n, e, t, r) => {
var i, o, s, l;
const a = [t, {
code: e,
...r || {}
}];
if ((o = (i = n == null ? void 0 : n.services) == null ? void 0 : i.logger) != null && o.forward)
return n.services.logger.forward(a, "warn", "react-i18next::", !0);
me(a[0]) && (a[0] = `react-i18next:: ${a[0]}`), (l = (s = n == null ? void 0 : n.services) == null ? void 0 : s.logger) != null && l.warn ? n.services.logger.warn(...a) : console != null && console.warn && console.warn(...a);
}, en = {}, kt = (n, e, t, r) => {
me(t) && en[t] || (me(t) && (en[t] = /* @__PURE__ */ new Date()), QP(n, e, t, r));
}, Nn = (n, e) => () => {
if (n.isInitialized)
e();
else {
const t = () => {
setTimeout(() => {
n.off("initialized", t);
}, 0), e();
};
n.on("initialized", t);
}
}, Ot = (n, e, t) => {
n.loadNamespaces(e, Nn(n, t));
}, tn = (n, e, t, r) => {
if (me(t) && (t = [t]), n.options.preload && n.options.preload.indexOf(e) > -1) return Ot(n, t, r);
t.forEach((a) => {
n.options.ns.indexOf(a) < 0 && n.options.ns.push(a);
}), n.loadLanguages(e, Nn(n, r));
}, GP = (n, e, t = {}) => !e.languages || !e.languages.length ? (kt(e, "NO_LANGUAGES", "i18n.languages were undefined or empty", {
languages: e.languages
}), !0) : e.hasLoadedNamespace(n, {
lng: t.lng,
precheck: (r, a) => {
var i;
if (((i = t.bindI18n) == null ? void 0 : i.indexOf("languageChanging")) > -1 && r.services.backendConnector.backend && r.isLanguageChangingTo && !a(r.isLanguageChangingTo, n)) return !1;
}
}), me = (n) => typeof n == "string", JP = (n) => typeof n == "object" && n !== null, ZP = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, ev = {
"&": "&",
"&": "&",
"<": "<",
"<": "<",
">": ">",
">": ">",
"'": "'",
"'": "'",
""": '"',
""": '"',
" ": " ",
" ": " ",
"©": "©",
"©": "©",
"®": "®",
"®": "®",
"…": "…",
"…": "…",
"/": "/",
"/": "/"
}, tv = (n) => ev[n], nv = (n) => n.replace(ZP, tv);
let xt = {
bindI18n: "languageChanged",
bindI18nStore: "",
transEmptyNodeValue: "",
transSupportBasicHtmlNodes: !0,
transWrapTextNodes: "",
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
useSuspense: !0,
unescape: nv
};
const rv = (n = {}) => {
xt = {
...xt,
...n
};
}, av = () => xt;
let Mn;
const iv = (n) => {
Mn = n;
}, ov = () => Mn, sv = {
type: "3rdParty",
init(n) {
rv(n.options.react), iv(n);
}
}, lv = SP();
class cv {
constructor() {
this.usedNamespaces = {};
}
addUsedNamespaces(e) {
e.forEach((t) => {
this.usedNamespaces[t] || (this.usedNamespaces[t] = !0);
});
}
getUsedNamespaces() {
return Object.keys(this.usedNamespaces);
}
}
const uv = (n, e) => {
const t = Et();
return Fe(() => {
t.current = n;
}, [n, e]), t.current;
}, Xn = (n, e, t, r) => n.getFixedT(e, t, r), dv = (n, e, t, r) => $P(Xn(n, e, t, r), [n, e, t, r]), qe = (n, e = {}) => {
var I, w, j, X;
const {
i18n: t
} = e, {
i18n: r,
defaultNS: a
} = FP(lv) || {}, i = t || r || ov();
if (i && !i.reportNamespaces && (i.reportNamespaces = new cv()), !i) {
kt(i, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
const F = (A, q) => me(q) ? q : JP(q) && me(q.defaultValue) ? q.defaultValue : Array.isArray(A) ? A[A.length - 1] : A, $ = [F, {}, !1];
return $.t = F, $.i18n = {}, $.ready = !1, $;
}
(I = i.options.react) != null && I.wait && kt(i, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
const o = {
...av(),
...i.options.react,
...e
}, {
useSuspense: s,
keyPrefix: l
} = o;
let c = a || ((w = i.options) == null ? void 0 : w.defaultNS);
c = me(c) ? [c] : c || ["translation"], (X = (j = i.reportNamespaces).addUsedNamespaces) == null || X.call(j, c);
const d = (i.isInitialized || i.initializedStoreOnce) && c.every((F) => GP(F, i, o)), f = dv(i, e.lng || null, o.nsMode === "fallback" ? c : c[0], l), T = () => f, P = () => Xn(i, e.lng || null, o.nsMode === "fallback" ? c : c[0], l), [v, k] = xe(T);
let O = c.join();
e.lng && (O = `${e.lng}${O}`);
const m = uv(O), b = Et(!0);
Fe(() => {
const {
bindI18n: F,
bindI18nStore: $
} = o;
b.current = !0, !d && !s && (e.lng ? tn(i, e.lng, c, () => {
b.current && k(P);
}) : Ot(i, c, () => {
b.current && k(P);
})), d && m && m !== O && b.current && k(P);
const A = () => {
b.current && k(P);
};
return F && (i == null || i.on(F, A)), $ && (i == null || i.store.on($, A)), () => {
b.current = !1, i && (F == null || F.split(" ").forEach((q) => i.off(q, A))), $ && i && $.split(" ").forEach((q) => i.store.off(q, A));
};
}, [i, O]), Fe(() => {
b.current && d && k(T);
}, [i, l, d]);
const C = [v, i, d];
if (C.t = v, C.i18n = i, C.ready = d, d || !d && !s) return C;
throw new Promise((F) => {
e.lng ? tn(i, e.lng, c, () => F()) : Ot(i, c, () => F());
});
}, qn = (n) => {
const e = {
[re.Year]: {
[p.Tracking]: {
[_.Essential]: [],
[_.Professional]: [],
[_.Enterprise]: []
},
[p.Returns]: {
[_.Essential]: [],
[_.Professional]: [],
[_.Enterprise]: []
}
},
[re.Month]: {
[p.Tracking]: {
[_.Essential]: [],
[_.Professional]: [],
[_.Enterprise]: []
},
[p.Returns]: {
[_.Essential]: [],
[_.Professional]: [],
[_.Enterprise]: []
}
}
};
return n.pkg_list.forEach((t) => {
[p.Tracking, p.Returns].forEach((r) => {
t.app_id === r && t.plans.forEach((a) => {
e[re.Year][r][a.kind] = a.price_year, e[re.Month][r][a.kind] = a.price_month;
});
});
}), e;
}, Be = (n, e) => qn(n)[e], ze = (n, e) => {
const t = Be(n, e);
return {
[p.Tracking]: [
...t[p.Tracking][_.Essential],
...t[p.Tracking][_.Professional],
...t[p.Tracking][_.Enterprise]
],
[p.Returns]: [
...t[p.Returns][_.Essential],
...t[p.Returns][_.Professional],
...t[p.Returns][_.Enterprise]
]
};
}, fv = (n, e, t) => {
const r = ze(n, e), a = Be(n, e);
return {
[p.Tracking]: r[p.Tracking],
[p.Returns]: a[p.Returns][t]
};
};
function Pt(n, e, t, r) {
const a = t[p.Tracking][r];
return ze(n, e)[p.Tracking][a];
}
function vt(n, e, t, r) {
const a = t[p.Returns][r];
return Be(n, e)[p.Returns][r][a];
}
const Bn = (n, e, t) => ({
[p.Tracking]: {
[_.Essential]: Pt(
n,
e,
t,
_.Essential
),
[_.Professional]: Pt(
n,
e,
t,
_.Professional
),
[_.Enterprise]: Pt(
n,
e,
t,
_.Enterprise
)
},
[p.Returns]: {
[_.Essential]: vt(
n,
e,
t,
_.Essential
),
[_.Professional]: vt(
n,
e,
t,
_.Professional
),
[_.Enterprise]: vt(
n,
e,
t,
_.Enterprise
)
}
}), pv = (n, e, t, r) => {
const a = Bn(n, e, r);
return {
[p.Tracking]: a[p.Tracking][t[p.Tracking].kind],
[p.Returns]: a[p.Returns][t[p.Returns].kind]
};
}, jt = (n) => ({
[p.Tracking]: n.user_pkg.app.find(
(e) => e.app_id === p.Tracking
),
[p.Returns]: n.user_pkg.app.find(
(e) => e.app_id === p.Returns
)
}), gv = (n) => {
const e = jt(n), t = ze(n, n.user_pkg.subscribe_period ?? n.user_pkg.default_plan_period);
return {
[p.Tracking]: t[p.Tracking].find(
(r) => {
var a;
return r.app_plan_id === ((a = e[p.Tracking]) == null ? void 0 : a.subscribe_app_plan_id);
}
),
[p.Returns]: t[p.Returns].find(
(r) => {
var a;
return r.app_plan_id === ((a = e[p.Returns]) == null ? void 0 : a.subscribe_app_plan_id);
}
)
};
}, hv = (n, e, t, r, a) => {
const i = jt(n), o = Be(n, e), s = e === re.Month ? "default_month_plan_id" : "default_year_plan_id", l = ze(n, e), c = {
[p.Tracking]: {
[_.Essential]: 0,
[_.Professional]: o[p.Tracking][_.Essential].length,
[_.Enterprise]: o[p.Tracking][_.Essential].length + o[p.Tracking][_.Professional].length
},
[p.Returns]: {
[_.Essential]: 0,
[_.Professional]: 0,
[_.Enterprise]: 0
}
}, d = {
[p.Tracking]: {
step: c[p.Tracking][_.Professional],
kind: _.Professional
},
[p.Returns]: {
step: c[p.Returns][_.Professional],
kind: _.Professional
}
};
function f() {
var m;
if (t === p.Tracking) {
if (a)
return a;
if (r) {
const b = l[p.Tracking].find(
(C) => C.kind === r
);
if (b)
return b.app_plan_id;
}
}
return ((m = i[p.Tracking]) == null ? void 0 : m[s]) ?? 0;
}
const T = f(), P = l[p.Tracking].find(
(m) => +m.app_plan_id == +T
);
if (P != null && P.kind) {
const m = l[p.Tracking].findIndex(
(b) => +b.app_plan_id == +T
);
m > -1 && (c[p.Tracking][P.kind] = m, d[p.Tracking].kind = P.kind, d[p.Tracking].step = m);
}
function v() {
var m;
if (t === p.Returns) {
if (a)
return a;
if (r) {
const b = l[p.Returns].find(
(C) => C.kind === r
);
if (b)
return b.app_plan_id;
}
}
return ((m = i[p.Returns]) == null ? void 0 : m[s]) ?? 0;
}
const k = v(), O = l[p.Returns].find(
(m) => +m.app_plan_id == +k
);
if (O != null && O.kind) {
const m = o[p.Returns][O.kind].findIndex(
(b) => +b.app_plan_id == +k
);
m > -1 && (c[p.Returns][O.kind] = m, d[p.Returns].kind = O.kind, d[p.Returns].step = m);
}
return {
defaultInfo: d,
defaultSteps: c
};
}, Pv = (n) => {
const e = qn(n.data), t = Be(n.data, n.period), r = ze(n.data, n.period), a = fv(n.data, n.period, n.info[p.Returns].kind), i = Bn(n.data, n.period, n.steps), o = pv(n.data, n.period, n.info, n.steps), s = jt(n.data), l = gv(n.data);
return {
combinedData: e,
pkgList: t,
priceList: r,
rangList: a,
pkgPriceInfo: i,
currentPriceInfo: o,
appInfo: s,
subscribePriceInfo: l
};
};
function pe(n) {
if (n == null || n === "") return "0";
const e = Number(n);
return isNaN(e) ? String(n) : e.toLocaleString("en-US");
}
const mt = (n) => {
const { title: e, price: t, originPrice: r, justShowOriginPrice: a = !1 } = n, { t: i } = qe();
return /* @__PURE__ */ g.jsx("div", { className: "pb-page-charge-card", children: /* @__PURE__ */ g.jsx(wt, { padding: "300", roundedAbove: "xs", background: "bg-surface-secondary", children: /* @__PURE__ */ g.jsxs(Se, { gap: "300", children: [
/* @__PURE__ */ g.jsx(N, { variant: "headingMd", as: "h2", children: e }),
a ? /* @__PURE__ */ g.jsxs("div", { children: [
/* @__PURE__ */ g.jsxs(N, { as: "span", variant: "headingLg", children: [
"$",
pe(r)
] }),
/* @__PURE__ */ g.jsxs(
N,
{
as: "span",
variant: "bodyMd",
tone: "subdued",
fontWeight: "medium",
children: [
"/",
i("month")
]
}
)
] }) : /* @__PURE__ */ g.jsxs(fe, { gap: "200", blockAlign: "end", children: [
/* @__PURE__ */ g.jsxs(
N,
{
as: "span",
variant: "headingLg",
tone: "subdued",
textDecorationLine: "line-through",
children: [
"$",
pe(r)
]
}
),
/* @__PURE__ */ g.jsx("div", { className: "pb-bg-[#A4E8F2] pb-rounded-lg pb-px-2", children: /* @__PURE__ */ g.jsxs(N, { as: "span", variant: "headingLg", children: [
"$",
pe(t),
/* @__PURE__ */ g.jsxs(
N,
{
as: "span",
variant: "bodyMd",
fontWeight: "medium",
tone: "subdued",
children: [
"/",
i("month")
]
}
)
] }) })
] })
] }) }) });
}, St = {
[_.Essential]: "Essential",
[_.Professional]: "Professional",
[_.Enterprise]: "Enterprise"
}, zn = window.PB_URL || "https://cw3-mid-api.parcelpanel.com", vv = (n) => {
const {
onAction: e,
currentPriceInfo: t,
btnLoading: r,
data: a,
appInfo: i,
btnDisabled: o,
period: s
} = n, [l, c] = xe(!1), { t: d } = qe(), f = {
[Ze.Trial]: {
text: "50% off + 10% off",
tooltip: d("FiftyOffYourFirstMonthThen_10OffFor")
},
[Ze.Normal]: {
text: "10% off",
tooltip: d("TenOffForLife")
}
}, T = s === re.Year ? Ze.Normal : a.user_pkg.discount_kind, P = Z(() => i[p.Tracking] && i[p.Tracking].subscribe_app_plan_id > 1 && i[p.Returns] && i[p.Returns].subscribe_app_plan_id > 1, [i]), v = Z(() => i[p.Tracking] && i[p.Tracking].next_plan_id > 0 && i[p.Returns] && i[p.Returns].next_plan_id > 0, [i]), k = Z(() => {
var w, j;
return ((w = i[p.Tracking]) == null ? void 0 : w.next_plan_id) === 1 && ((j = i[p.Returns]) == null ? void 0 : j.next_plan_id) === 1;
}, [i, t]), O = Z(() => {
var w, j;
return t[p.Tracking].app_plan_id == ((w = i[p.Tracking]) == null ? void 0 : w.subscribe_app_plan_id) && t[p.Returns].app_plan_id == ((j = i[p.Returns]) == null ? void 0 : j.subscribe_app_plan_id);
}, [i, t]), m = Z(() => {
var w, j;
return t[p.Tracking].app_plan_id == ((w = i[p.Tracking]) == null ? void 0 : w.next_plan_id) && t[p.Returns].app_plan_id == ((j = i[p.Returns]) == null ? void 0 : j.next_plan_id);
}, [i, t]), b = Z(() => m ? d("NextPlan") : O ? d("CurrentPlan") : a.user_pkg.trial_days_left > 0 ? d("StartXDayFreeTrial", { x: a.user_pkg.trial_days_left }) : d("ChooseThisPlan"), [a.user_pkg.trial_days_left, O, m, d]), C = Z(() => O || m ? t[p.Tracking].origin_price + t[p.Returns].origin_price : t[p.Tracking].actual_price + t[p.Returns].actual_price, [t, O, m]), I = Z(() => {
if (P || v) {
let w = function() {
return v ? k ? j.slice(0, 1) : j : P ? j.slice(1) : [];
};
const j = [
{
content: d("ResumePlan"),
onAction: () => {
c(!1), e == null || e("resumePlan");
}
},
{
content: d("CancelPlan"),
destructive: !0,
onAction: () => {
c(!1), e == null || e("cancelPlan");
}
}
], X = w();
return X.length === 0 ? null : /* @__PURE__ */ g.jsx(
AP,
{
active: l,
activator: /* @__PURE__ */ g.jsx(
et,
{
onClick: () => {
c(!l);
},
size: "large",
icon: Cn
}
),
onClose: () => c(!1),
preferredAlignment: "left",
children: /* @__PURE__ */ g.jsx(RP, { actionRole: "menuitem", items: X })
}
);
}
return null;
}, [l, v, P, k, e, d]);
return /* @__PURE__ */ g.jsx(wt, { children: /* @__PURE__ */ g.jsxs(Se, { gap: "400", children: [
/* @__PURE__ */ g.jsxs(Se, { gap: "100", children: [
/* @__PURE__ */ g.jsx(N, { variant: "headingMd", as: "h2", children: "ParcelWILL Bundle" }),
/* @__PURE__ */ g.jsxs(N, { as: "p", variant: "bodyMd", tone: "subdued", children: [
d("TakeTheFirstStepInDeliveringTheBe"),
" "
] })
] }),
/* @__PURE__ */ g.jsx(
mt,
{
title: `Tracking - ${St[t[p.Tracking].kind]}`,
price: t[p.Tracking].actual_price,
originPrice: t[p.Tracking].origin_price,
justShowOriginPrice: O
}
),
/* @__PURE__ */ g.jsx(
mt,
{
title: `Returns - ${St[t[p.Returns].kind]}`,
price: t[p.Returns].actual_price,
originPrice: t[p.Returns].origin_price,
justShowOriginPrice: O
}
),
/* @__PURE__ */ g.jsx(
mt,
{
title: "Protection - Free",
price: 0,
originPrice: 0,
justShowOriginPrice: !0
}
),
!O && /* @__PURE__ */ g.jsxs(fe, { gap: "200", align: "space-between", children: [
/* @__PURE__ */ g.jsxs(N, { as: "span", variant: "bodyMd", fontWeight: "medium", tone: "subdued", children: [
d("Discount"),
" "
] }),
/* @__PURE__ */ g.jsx(EP, { content: f[T].tooltip, hasUnderline: !0, children: /* @__PURE__ */ g.jsx(
N,
{
as: "span",
variant: "bodyMd",
fontWeight: "medium",
tone: "success",
children: /* @__PURE__ */ g.jsx("span", { children: f[T].text })
}
) })
] }),
/* @__PURE__ */ g.jsxs(fe, { gap: "200", blockAlign: "center", align: "space-between", children: [
/* @__PURE__ */ g.jsxs(N, { as: "span", variant: "headingLg", tone: "subdued", children: [
d("Total"),
" "
] }),
/* @__PURE__ */ g.jsxs(N, { as: "span", variant: "headingXl", children: [
"$",
pe(C),
/* @__PURE__ */ g.jsxs(N, { as: "span", variant: "bodyMd", tone: "subdued", fontWeight: "medium", children: [
"/",
d("month")
] })
] })
] }),
/* @__PURE__ */ g.jsxs(
fe,
{
gap: "200",
blockAlign: "end",
wrap: !1,
align: "space-between",
children: [
/* @__PURE__ */ g.jsx(
et,
{
variant: "primary",
fullWidth: !0,
size: "large",
onClick: async () => {
await (e == null ? void 0 : e("choosePlan"));
},
loading: r,
disabled: r || O || m || o,
children: b
}
),
I
]
}
)
] }) });
}, nn = ({
title: n,
price: e,
isHot: t,
checked: r,
disabled: a,
onClick: i
}) => {
const { t: o } = qe();
return /* @__PURE__ */ g.jsx(
"div",
{
className: Le("pb-w-full pb-cursor-pointer pb-page-plan-card", {
"pb-pointer-events-none": a
}),
onClick: () => {
a || i == null || i();
},
children: /* @__PURE__ */ g.jsxs(
"div",
{
className: "pb-p-3",
style: {
border: r ? "1px solid var(--p-color-border-focus, #f9f9f9)" : "1px solid #dedede",
borderRadius: "var(--p-border-radius-base, 8px)"
},
children: [
/* @__PURE__ */ g.jsxs(
fe,
{
gap: "200",
blockAlign: "start",
align: "space-between",
wrap: !1,
children: [
/* @__PURE__ */ g.jsx(
wP,
{
label: /* @__PURE__ */ g.jsx(N, { as: "h4", variant: "headingMd", children: n }),
checked: r,
disabled: a,
onChange: i
}
),
t && /* @__PURE__ */ g.jsx("div", { className: "pb-text-white pb-bg-[#F36A5A] pb-py-[2px] pb-px-2 pb-h-5 pb-rounded-lg pb-inline-flex", children: /* @__PURE__ */ g.jsx(N, { as: "span", variant: "bodySm", fontWeight: "medium", children: "Hot" }) })
]
}
),
/* @__PURE__ */ g.jsxs("div", { className: "pb-ml-6 pb-mt-3", children: [
/* @__PURE__ */ g.jsxs(N, { as: "span", variant: "headingLg", children: [
"$",
pe(e)
] }),
/* @__PURE__ */ g.jsxs(N, { as: "span", variant: "bodyMd", tone: "subdued", children: [
"/",
o("month")
] })
] })
]
}
)
}
);
}, mv = (n) => {
var P, v, k, O;
const { t: e } = qe(), {
info: t,
setInfo: r,
rangList: a,
steps: i,
setSteps: o,
pkgPriceInfo: s,
currentPriceInfo: l,
installInfo: c,
period: d
} = n, f = [
{
appId: p.Tracking,
icon: "https://return-cdn.parcelpanel.com/public/ParcelLogo.png",
title: "ParcelWILL Tracking",
desc: e("DeliverEngagingBrandOrderTrackingEx"),
plans: [
_.Essential,
_.Professional,
_.Enterprise
],
quotaText: d === re.Year ? e("quotaYear") : e("quotaMonth"),
avgText: e("AvgXPerOrder", {
replace: {
x: `$${((P = l[p.Tracking]) == null ? void 0 : P.avg_price_per_order) ?? 0}`
}
}),
additionalText: e("XPerAdditionalQuota", {
replace: {
x: `$${((v = l[p.Tracking]) == null ? void 0 : v.one_price) ?? 0}`
}
})
},
{
appId: p.Returns,
icon: "https://return-cdn.parcelpanel.com/public/ParcelLogo.png",
title: "ParcelWILL Returns",
desc: e("DeliverHassleFreeReturnAndEnticing"),
plans: [
_.Essential,
_.Professional,
_.Enterprise
],
quotaText: d === re.Year ? e("returnsYear") : e("returnsMonth"),
avgText: e("AvgXPerReturn", {
replace: {
x: `$${((k = l[p.Returns]) == null ? void 0 : k.avg_price_per_order) ?? 0}`
}
}),
additionalText: e("XPerAdditionalReturn", {
replace: {
x: `$${((O = l[p.Returns]) == null ? void 0 : O.one_price) ?? 0}`
}
})
},
{
appId: p.Protection,
icon: "https://return-cdn.parcelpanel.com/public/ParcelLogo.png",
title: "ParcelWILL Protection",
desc: e("DeliverTopTierShippingProtectionSer"),
plans: []
}
], T = (m) => {
var b;
return c ? m.appId === p.Protection ? /* @__PURE__ */ g.jsx(gt, { children: e("TheProtectionTabInParcelpanelTracki") }) : ((b = c[m.appId]) == null ? void 0 : b.is_installed) === 1 ? /* @__PURE__ */ g.jsx(gt, { tone: "success", children: e("Installed") }) : /* @__PURE__ */ g.jsx(gt, { tone: "warning", children: e("NotInstalled") }) : null;
};
return /* @__PURE__ */ g.jsx(Se, { gap: "400", children: f.map((m) => {
var I, w, j, X;
const b = ((I = c == null ? void 0 : c[m.appId]) == null ? void 0 : I.is_installed) === 1, C = T(m);
return /* @__PURE__ */ g.jsx(wt, { padding: "400", children: /* @__PURE__ */ g.jsxs(Se, { gap: "400", children: [
/* @__PURE__ */ g.jsxs(Se, { gap: "100", children: [
/* @__PURE__ */ g.jsxs("div", { className: "pb-flex pb-justify-between", children: [
/* @__PURE__ */ g.jsxs(fe, { gap: "100", children: [
/* @__PURE__ */ g.jsx(
"img",
{
src: m.icon,
alt: m.title,
className: "pb-w-5 pb-h-5 pb-flex pb-flex-shrink-0"
}
),
/* @__PURE__ */ g.jsx(N, { as: "h3", variant: "headingMd", children: m.title }),
C
] }),
!b && m.appId !== p.Protection && ((w = c == null ? void 0 : c[m.appId]) == null ? void 0 : w.install_url) && /* @__PURE__ */ g.jsxs(
et,
{
icon: Dn,
variant: "plain",
external: !0,
removeUnderline: !0,
url: (j = c[m.appId]) == null ? void 0 : j.install_url,
id: "pb-external-link",
children: [
e("InstallNow"),
" "
]
}
)
] }),
/* @__PURE__ */ g.jsx(N, { as: "p", variant: "bodyMd", tone: "subdued", children: m.desc })
] }),
/* @__PURE__ */ g.jsxs(
"div",
{
className: "pb-flex md:pb-flex-nowrap pb-flex-wrap pb-gap-4 pb-whitespace-nowrap",
style: {
"--p-color-text-disabled": "#303030"
},
children: [
m.appId !== p.Protection && m.plans.map((F) => {
const $ = s[m.appId][F];
return $ ? /* @__PURE__ */ g.jsx(
nn,
{
title: St[F],
price: $.origin_price,
isHot: F === _.Professional,
checked: t[m.appId].kind === F,
disabled: !1,
onClick: () => {
r({
...t,
[m.appId]: {
kind: F,
step: i[m.appId][F]
}
});
}
},
F
) : null;
}),
m.appId === p.Protection && /* @__PURE__ */ g.jsx(
nn,
{
title: e("OneHundredFreeForParcelpanelTrackingPaying"),
price: "0",
isHot: !0,
checked: !0,
disabled: !0
}
)
]
}
),
m.appId !== p.Protection && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
/* @__PURE__ */ g.jsxs(fe, { gap: "200", wrap: !1, blockAlign: "center", children: [
/* @__PURE__ */ g.jsx(N, { as: "span", variant: "bodyMd", children: pe(a[m.appId][0].quota) }),
/* @__PURE__ */ g.jsx("div", { className: "pb-w-full", children: /* @__PURE__ */ g.jsx(
jP,
{
value: t[m.appId].step,
onChange: (F) => {
const $ = a[m.appId][+F].kind;
r({
...t,
[m.appId]: {
step: +F,
kind: $
}
}), o({
...i,
[m.appId]: {
...i[m.appId],
[$]: +F
}
});
},
label: "",
min: 0,
max: a[m.appId].length - 1
}
) }),
/* @__PURE__ */ g.jsx(N, { as: "span", variant: "bodyMd", children: pe(
a[m.appId][a[m.appId].length - 1].quota
) })
] }),
/* @__PURE__ */ g.jsxs(fe, { gap: "400", blockAlign: "center", children: [
/* @__PURE__ */ g.jsxs(DP, { as: "span", children: [
/* @__PURE__ */ g.jsx(N, { as: "span", variant: "headingMd", children: pe((X = l[m.appId]) == null ? void 0 : X.quota) }),
" ",
/* @__PURE__ */ g.jsx(N, { as: "span", variant: "bodyMd", tone: "subdued", children: m.quotaText })
] }),
/* @__PURE__ */ g.jsx(N, { as: "span", variant: "bodyMd", tone: "subdued", children: m.avgText }),
/* @__PURE__ */ g.jsx(N, { as: "span", variant: "bodyMd", tone: "subdued", children: d === re.Year ? e("UnavailableAfterExceeded") : m.additionalText })
] })
] })
] }) }, m.appId);
}) });
}, Yn = "%[a-f0-9]{2}", rn = new RegExp("(" + Yn + ")|([^%]+?)", "gi"), an = new RegExp("(" + Yn + ")+", "gi");
function Ft(n, e) {
try {
return [decodeURIComponent(n.join(""))];
} catch {
}
if (n.length === 1)
return n;
e = e || 1;
const t = n.slice(0, e), r = n.slice(e);
return Array.prototype.concat.call([], Ft(t), Ft(r));
}
function Tv(n) {
try {
return decodeURIComponent(n);
} catch {
let e = n.match(rn) || [];
for (let t = 1; t < e.length; t++)
n = Ft(e, t).join(""), e = n.match(rn) || [];
return n;
}
}
function yv(n) {
const e = {
"%FE%FF": "��",
"%FF%FE": "��"
};
let t = an.exec(n);
for (; t; ) {
try {
e[t[0]] = decodeURIComponent(t[0]);
} catch {
const a = Tv(t[0]);
a !== t[0] && (e[t[0]] = a);
}
t = an.exec(n);
}
e["%C2"] = "�";
const r = Object.keys(e);
for (const a of r)
n = n.replace(new RegExp(a, "g"), e[a]);
return n;
}
function _v(n) {
if (typeof n != "string")
throw new TypeError("Expected `encodedURI` to be of type `string`, got `" + typeof n + "`");
try {
return decodeURIComponent(n);
} catch {
return yv(n);
}
}
function bv(n, e) {
const t = {};
if (Array.isArray(e))
for (const r of e) {
const a = Object.getOwnPropertyDescriptor(n, r);
a != null && a.enumerable && Object.defineProperty(t, r, a);
}
else
for (const r of Reflect.ownKeys(n)) {
const a = Object.getOwnPropertyDescriptor(n, r);
if (a.enumerable) {
const i = n[r];
e(r, i, n) && Object.defineProperty(t, r, a);
}
}
return t;
}
function Hn(n, e) {
if (!(typeof n == "string" && typeof e == "string"))
throw new TypeError("Expected the arguments to be of type `string`");
if (n === "" || e === "")
return [];
const t = n.indexOf(e);
return t === -1 ? [] : [
n.slice(0, t),
n.slice(t + e.length)
];
}
const kv = (n) => n == null, Ov = (n) => encodeURIComponent(n).replaceAll(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), $t = Symbol("encodeFragmentIdentifier");
function xv(n) {
switch (n.arrayFormat) {
case "index":
return (e) => (t, r) => {
const a = t.length;
return r === void 0 || n.skipNull && r === null || n.skipEmptyString && r === "" ? t : r === null ? [
...t,
[H(e, n), "[", a, "]"].join("")
] : [
...t,
[H(e, n), "[", H(a, n), "]=", H(r, n)].join("")
];
};
case "bracket":
return (e) => (t, r) => r === void 0 || n.skipNull && r === null || n.skipEmptyString && r === "" ? t : r === null ? [
...t,
[H(e, n), "[]"].join("")
] : [
...t,
[H(e, n), "[]=", H(r, n)].join("")
];
case "colon-list-separator":
return (e) => (t, r) => r === void 0 || n.skipNull && r === null || n.skipEmptyString && r === "" ? t : r === null ? [
...t,
[H(e, n), ":list="].join("")
] : [
...t,
[H(e, n), ":list=", H(r, n)].join("")
];
case "comma":
case "separator":
case "bracket-separator": {
const e = n.arrayFormat === "bracket-separator" ? "[]=" : "=";
return (t) => (r, a) => a === void 0 || n.skipNull && a === null || n.skipEmptyString && a === "" ? r : (a = a === null ? "" : a, r.length === 0 ? [[H(t, n), e, H(a, n)].join("")] : [[r, H(a, n)].join(n.arrayFormatSeparator)]);
}
default:
return (e) => (t, r) => r === void 0 || n.skipNull && r === null || n.skipEmptyString && r === "" ? t : r === null ? [
...t,
H(e, n)
] : [
...t,
[H(e, n), "=", H(r, n)].join("")
];
}
}
function Sv(n) {
let e;
switch (n.arrayFormat) {
case "index":
return (t, r, a) => {
if (e = /\[(\d*)]$/.exec(t), t = t.replace(/\[\d*]$/, ""), !e) {
a[t] = r;
return;
}
a[t] === void 0 && (a[t] = {}), a[t][e[1]] = r;
};
case "bracket":
return (t, r, a) => {
if (e = /(\[])$/.exec(t), t = t.replace(/\[]$/, ""), !e) {
a[t] = r;
return;
}
if (a[t] === void 0) {
a[t] = [r];
return;
}
a[t] = [...a[t], r];
};
case "colon-list-separator":
return (t, r, a) => {
if (e = /(:list)$/.exec(t), t = t.replace(/:list$/, ""), !e) {
a[t] = r;
return;
}
if (a[t] === void 0) {
a[t] = [r];
return;
}
a[t] = [...a[t], r];
};
case "comma":
case "separator":
return (t, r, a) => {
const i = typeof r == "string" && r.includes(n.arrayFormatSeparator), o = typeof r == "string" && !i && se(r, n).includes(n.arrayFormatSeparator);
r = o ? se(r, n) : r;
const s = i || o ? r.split(n.arrayFormatSeparator).map((l) => se(l, n)) : r === null ? r : se(r, n);
a[t] = s;
};
case "bracket-separator":
return (t, r, a) => {
const i = /(\[])$/.test(t);
if (t = t.replace(/\[]$/, ""), !i) {
a[t] = r && se(r, n);
return;
}
const o = r === null ? [] : se(r, n).split(n.arrayFormatSeparator);
if (a[t] === void 0) {
a[t] = o;
return;
}
a[t] = [...a[t], ...o];
};
default:
return (t, r, a) => {
if (a[t] === void 0) {
a[t] = r;
return;
}
a[t] = [...[a[t]].flat(), r];
};
}
}
function Un(n) {
if (typeof n != "string" || n.length !== 1)
throw new TypeError("arrayFormatSeparator must be single character string");
}
function H(n, e) {
return e.encode ? e.strict ? Ov(n) : encodeURIComponent(n) : n;
}
function se(n, e) {
return e.decode ? _v(n) : n;
}
function Wn(n) {
return Array.isArray(n) ? n.sort() : typeof n == "object" ? Wn(Object.keys(n)).sort((e, t) => Number(e) - Number(t)).map((e) => n[e]) : n;
}
function Vn(n) {
const e = n.indexOf("#");
return e !== -1 && (n = n.slice(0, e)), n;
}
function Fv(n) {
let e = "";
const t = n.indexOf("#");
return t !== -1 && (e = n.slice(t)), e;
}
function on(n, e, t) {
return t === "string" && typeof n == "string" ? n : typeof t == "function" && typeof n == "string" ? t(n) : t === "boolean" && n === null ? !0 : t === "boolean" && n !== null && (n.toLowerCase() === "true" || n.toLowerCase() === "false") ? n.toLowerCase() === "true" : t === "boolean" && n !== null && (n.toLowerCase() === "1" || n.toLowerCase() === "0") ? n.toLowerCase() === "1" : t === "string[]" && e.arrayFormat !== "none" && typeof n == "string" ? [n] : t === "number[]" && e.arrayFormat !== "none" && !Number.isNaN(Number(n)) && typeof n == "string" && n.trim() !== "" ? [Number(n)] : t === "number" && !Number.isNaN(Number(n)) && typeof n == "string" && n.trim() !== "" ? Number(n) : e.parseBooleans && n !== null && (n.toLowerCase() === "true" || n.toLowerCase() === "false") ? n.toLowerCase() === "true" : e.parseNumbers && !Number.isNaN(Number(n)) && typeof n == "string" && n.trim() !== "" ? Number(n) : n;
}
function Dt(n) {
n = Vn(n);
const e = n.indexOf("?");
return e === -1 ? "" : n.slice(e + 1);
}
function Ct(n, e) {
e = {
decode: !0,
sort: !0,
arrayFormat: "none",
arrayFormatSeparator: ",",
parseNumbers: !1,
parseBooleans: !1,
types: /* @__PURE__ */ Object.create(null),
...e
}, Un(e.arrayFormatSeparator);
const t = Sv(e), r = /* @__PURE__ */ Object.create(null);
if (typeof n != "string" || (n = n.trim().replace(/^[?#&]/, ""), !n))
return r;
for (const a of n.split("&")) {
if (a === "")
continue;
const i = e.decode ? a.replaceAll("+", " ") : a;
let [o, s] = Hn(i, "=");
o === void 0 && (o = i), s = s === void 0 ? null : ["comma", "separator", "bracket-separator"].includes(e.arrayFormat) ? s : se(s, e), t(se(o, e), s, r);
}
for (const [a, i] of Object.entries(r))
if (typeof i == "object" && i !== null && e.types[a] !== "string")
for (const [o, s] of Object.entries(i)) {
const l = e.types[a] ? e.types[a].replace("[]", "") : void 0;
i[o] = on(s, e, l);
}
else typeof i == "object" && i !== null && e.types[a] === "string" ? r[a] = Object.values(i).join(e.arrayFormatSeparator) : r[a] = on(i, e, e.types[a]);
return e.sort === !1 ? r : (e.sort === !0 ? Object.keys(r).sort() : Object.keys(r).sort(e.sort)).reduce((a, i) => {
const o = r[i];
return a[i] = o && typeof o == "object" && !Array.isArray(o) ? Wn(o) : o, a;
}, /* @__PURE__ */ Object.create(null));
}
function Kn(n, e) {
if (!n)
return "";
e = {
encode: !0,
strict: !0,
arrayFormat: "none",
arrayFormatSeparator: ",",
...e
}, Un(e.arrayFormatSeparator);
const t = (o) => e.skipNull && kv(n[o]) || e.skipEmptyString && n[o] === "", r = xv(e), a = {};
for (const [o, s] of Object.entries(n))
t(o) || (a[o] = s);
const i = Object.keys(a);
return e.sort !== !1 && i.sort(e.sort), i.map((o) => {
const s = n[o];
return s === void 0 ? "" : s === null ? H(o, e) : Array.isArray(s) ? s.length === 0 && e.arrayFormat === "bracket-separator" ? H(o, e) + "[]" : s.reduce(r(o), []).join("&") : H(o, e) + "=" + H(s, e);
}).filter((o) => o.length > 0).join("&");
}
function Qn(n, e) {
var a;
e = {
decode: !0,
...e
};
let [t, r] = Hn(n, "#");
return t === void 0 && (t = n), {
url: ((a = t == null ? void 0 : t.split("?")) == null ? void 0 : a[0]) ?? "",
query: Ct(Dt(n), e),
...e && e.parseFragmentIdentifier && r ? { fragmentIdentifier: se(r, e) } : {}
};
}
function Gn(n, e) {
e = {
encode: !0,
strict: !0,
[$t]: !0,
...e
};
const t = Vn(n.url).split("?")[0] || "", r = Dt(n.url), a = {
...Ct(r, { sort: !1, ...e }),
...n.query
};
let i = Kn(a, e);
i && (i = `?${i}`);
let o = Fv(n.url);
if (typeof n.fragmentIdentifier == "string") {
const s = new URL(t);
s.hash = n.fragmentIdentifier, o = e[$t] ? s.hash : `#${n.fragmentIdentifier}`;
}
return `${t}${i}${o}`;
}
function Jn(n, e, t) {
t = {
parseFragmentIdentifier: !0,
[$t]: !1,
...t
};
const { url: r, query: a, fragmentIdentifier: i } = Qn(n, t);
return Gn({
url: r,
query: bv(a, e),
fragmentIdentifier: i
}, t);
}
function $v(n, e, t) {
const r = Array.isArray(e) ? (a) => !e.includes(a) : (a, i) => !e(a, i);
return Jn(n, r, t);
}
const sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
exclude: $v,
extract: Dt,
parse: Ct,
parseUrl: Qn,
pick: Jn,
stringify: Kn,
stringifyUrl: Gn
}, Symbol.toStringTag, { value: "Module" }));
function Iv(n, e) {
const t = /* @__PURE__ */ new Map(), r = (l) => {
const d = [l.method, l.url, sn.stringify(l.params)].join("&");
l.cancelToken = new Je.CancelToken((f) => {
t.has(d) || t.set(d, f);
});
}, a = (l) => {
const d = [l.method, l.url, sn.stringify(l.params)].join("&");
t.has(d) && (t.get(d)(d), t.delete(d));
}, i = () => {
t.forEach((l, c) => {
l(c);
}), t.clear();
}, o = Je.create(n);
o.interceptors.request.use(
async (l) => {
var c;
return a(l), r(l), await ((c = e == null ? void 0 : e.request) == null ? void 0 : c.call(e, l)), l;
},
(l) => (console.error("Request Error:", l), Promise.reject(l))
), o.interceptors.response.use(
async (l) => {
var c;
return a(l.config), await ((c = e == null ? void 0 : e.response) == null ? void 0 : c.call(e, l)), l.data;
},
(l) => Je.isCancel(l) ? new Promise(() => {
}) : (console.error("Response Error:", l), Promise.reject(l))
);
function s(l) {
return o(l);
}
return {
request: s,
ctx: {
pending: t,
removePending: a,
clearPending: i,
addPending: r
}
};
}
const { request: de } = Iv({
baseURL: zn,
timeout: 60 * 1e3,
headers: {
"Content-Type": "application/json"
}
}, {
request: async (n) => {
var t;
const e = await ((t = window.PB_ID_TOKEN) == null ? void 0 : t.call(window));
n.headers.Authorization = e;
}
}), ln = {
async getBundleList() {
const [n, e] = await Promise.all([
de({
url: "/api/subscribe/package_list"
}),
de({
url: "/api/subscribe/install_info"
})
]);
return n.code === 1e3 && e.code === 1e3 && (n.data.install_info = e.data), n;
},
getInstallInfo() {
return de({
url: "/api/subscribe/install_info"
});
},
getPkgList() {
return de({
url: "/api/subscribe/package_list"
});
},
closeBanner() {
return de({
url: "/api/subscribe/close_banner",
method: "POST"
});
},
getResumePlan() {
return de({
url: "/api/subscribe/resume",
method: "POST"
});
},
createSubscribe(n) {
return de({
url: "/api/subscribe/create",
method: "POST",
data: n
});
},
cancelSubscribe() {
return de({
url: "/api/subscribe/cancel",
method: "POST"
});
}
}, OT = async (n) => {
var t;
return "Bearer " + (((t = (await Je.post(zn + "/api/auth/token", {
...n,
pwd: "RcnCC9fYk9AGJ"
})).data) == null ? void 0 : t.data) ?? "");
}, Av = [
{
app_id: 1,
app_name: "ParcelWILL Tracking",
is_install: 1,
install_url: "https://amber371.myshopify.com/admin/oauth/authorize?client_id=b0a707c367144cf6f582b39cdd095def&scope=write_discounts,write_price_rules,write_customers,write_themes,read_products,write_products,write_orders,read_orders,read_customers,read_returns,write_returns,read_assigned_fulfillment_orders,read_locations,write_inventory,read_gift_cards,write_gift_cards,read_locales,read_markets,unauthenticated_read_product_listings,unauthenticated_read_product_inventory,read_draft_orders,write_draft_orders,read_publications,write_publications,read_assigned_fulfillment_orders,read_merchant_managed_fulfillment_orders,read_third_party_fulfillment_orders,write_merchant_managed_fulfillment_orders,write_third_party_fulfillment_orders,write_files,read_checkout_branding_settings,write_checkout_branding_settings,write_app_proxy&redirect_uri=https://api-return-test.parcelpanel.com/v1/authorization/callback",
plans: [
{
kind: 2,
package_name: "Essential",
price_month: [
{
id: 27,
app_plan_id: 62,
kind: 2,
period: 1,
level: 2,
origin_price: 11,
actual_price: 5.5,
one_price: 0,
quota: 200,
avg_price_per_order: 0.055
},
{
id: 28,
app_plan_id: 63,
kind: 2,
period: 1,
level: 2,
origin_price: 23,
actual_price: 11.5,
one_price: 0,
quota: 500,
avg_price_per_order: 0.046
},
{
id: 29,
app_plan_id: 64,
kind: 2,
period: 1,
level: 2,
origin_price: 35,
actual_price: 17.5,
one_price: 0,
quota: 1e3,
avg_price_per_order: 0.035
}
],
price_year: [
{
id: 39,
app_plan_id: 74,
kind: 2,
period: 2,
level: 2,
origin_price: 9,
actual_price: 8.1,
one_price: 0,
quota: 2400,
avg_price_per_order: 38e-4
},
{
id: 40,
app_plan_id: 75,
kind: 2,
period: 2,
level: 2,
origin_price: 18,
actual_price: 16.2,
one_price: 0,
quota: 6e3,
avg_price_per_order: 3e-3
},
{
id: 41,
app_plan_id: 76,
kind: 2,
period: 2,
level: 2,
origin_price: 28,
actual_price: 25.2,
one_price: 0,
quota: 12e3,
avg_price_per_order: 23e-4
}
]
},
{
kind: 3,
package_name: "Professional",
price_month: [
{
id: 30,
app_plan_id: 65,
kind: 3,
period: 1,
level: 3,
origin_price: 59,
actual_price: 29.5,
one_price: 0,
quota: 2e3,
avg_price_per_order: 0.0295
},
{
id: 31,
app_plan_id: 66,
kind: 3,
period: 1,
level: 3,
origin_price: 119,
actual_price: 59.5,
one_price: 0,
quota: 5e3,
avg_price_per_order: 0.0238
},
{
id: 32,
app_plan_id: 67,
kind: 3,
period: 1,
level: 3,
origin_price: 215,
actual_price: 107.5,
one_price: 0,
quota: 1e4,
avg_price_per_order: 0.0215
},
{
id: 33,
app_plan_id: 68,
kind: 3,
period: 1,
level: 3,
origin_price: 311,
actual_price: 155.5,
one_price: 0,
quota: 15e3,
avg_price_per_order: 0.0207
},
{
id: 34,
app_plan_id: 69,
kind: 3,
period: 1,
level: 3,
origin_price: 395,
actual_price: 197.5,
one_price: 0,
quota: 2e4,
avg_price_per_order: 0.0198
}
],
price_year: [
{
id: 42,
app_plan_id: 77,
kind: 3,
period: 2,
level: 3,
origin_price: 47,
actual_price: 42.3,
one_price: 0,
quota: 24e3,
avg_price_per_order: 2e-3
},
{
id: 43,
app_plan_id: 78,
kind: 3,
period: 2,
level: 3,
origin_price: 95,
actual_price: 85.5,
one_price: 0,
quota: 6e4,
avg_price_per_order: 16e-4
},
{
id: 44,
app_plan_id: 79,
kind: 3,
period: 2,
level: 3,
origin_price: 172,
actual_price: 154.8,
one_price: 0,
quota: 12e4,
avg_price_per_order: 14e-4
},
{
id: 45,
app_plan_id: 80,
kind: 3,
period: 2,
level: 3,
origin_price: 249,
actual_price: 224.1,
one_price: 0,
quota: 18e4,
avg_price_per_order: 14e-4
},
{
id: 46,
app_plan_id: 81,
kind: 3,
period: 2,
level: 3,
origin_price: 319,
actual_price: 287.1,
one_price: 0,
quota: 24e4,
avg_price_per_order: 13e-4
}
]
},
{
kind: 4,
package_name: "Enterprise",
price_month: [
{
id: 35,
app_plan_id: 70,
kind: 4,
period: 1,
level: 4,
origin_price: 479,
actual_price: 239.5,
one_price: 0,
quota: 25e3,
avg_price_per_order: 0.0192
},
{
id: 36,
app_plan_id: 71,
kind: 4,
period: 1,
level: 4,
origin_price: 551,
actual_price: 275.5,
one_price: 0,
quota: 3e4,
avg_price_per_order: 0.0184
},
{
id: 37,
app_plan_id: 72,
kind: 4,
period: 1,
level: 4,
origin_price: 707,
actual_price: 353.5,
one_price: 0,
quota: 4e4,
avg_price_per_order: 0.0177
},
{
id: 38,
app_plan_id: 73,
kind: 4,
period: 1,
level: 4,
origin_price: 851,
actual_price: 425.5,
one_price: 0,
quota: 5e4,
avg_price_per_order: 0.017
}
],
price_year: [
{
id: 47,
app_plan_id: 82,
kind: 4,
period: 2,
level: 4,
origin_price: 379,
actual_price: 341.1,
one_price: 0,
quota: 3e5,
avg_price_per_order: 13e-4
},
{
id: 48,
app_plan_id: 83,
kind: 4,
period: 2,
level: 4,
origin_price: 439,
actual_price: 395.1,
one_price: 0,
quota: 36e4,
avg_price_per_order: 12e-4
},
{
id: 49,
app_plan_id: 84,
kind: 4,
period: 2,
level: 4,
origin_price: 569,
actual_price: 512.1,
one_price: 0,
quota: 48e4,
avg_price_per_order: 12e-4
},
{
id: 50,
app_plan_id: 85,
kind: 4,
period: 2,
level: 4,
origin_price: 679,
actual_price: 611.1,
one_price: 0,
quota: 6e5,
avg_price_per_order: 11e-4
}
]
}
]
},
{
app_id: 2,
app_name: "ParcelWILL Returns",
is_install: 1,
install_url: "https://amber371.myshopify.com/admin/oauth/authorize?client_id=b0a707c367144cf6f582b39cdd095def&scope=write_discounts,write_price_rules,write_customers,write_themes,read_products,write_products,write_orders,read_orders,read_customers,read_returns,write_returns,read_assigned_fulfillment_orders,read_locations,write_inventory,read_gift_cards,write_gift_cards,read_locales,read_markets,unauthenticated_read_product_listings,unauthenticated_read_product_inventory,read_draft_orders,write_draft_orders,read_publications,write_publications,read_assigned_fulfillment_orders,read_merchant_managed_fulfillment_orders,read_third_party_fulfillment_orders,write_merchant_managed_fulfillment_orders,write_third_party_fulfillment_orders,write_files,read_checkout_branding_settings,write_checkout_branding_settings,write_app_proxy&redirect_uri=https://api-return-test.parcelpanel.com/v1/authorization/callback",
plans: [
{
kind: 2,
package_name: "Essential",
price_month: [
{
id: 2,
app_plan_id: 2,
kind: 2,
period: 1,
level: 2,
origin_price: 20,
actual_price: 10,
one_price: 0.05,
quota: 60,
avg_price_per_order: 0.3333
},
{
id: 3,
app_plan_id: 3,
kind: 2,
period: 1,
level: 3,
origin_price: 29,
actual_price: 14.5,
one_price: 0.05,
quota: 100,
avg_price_per_order: 0.29
},
{
id: 4,
app_plan_id: 4,
kind: 2,
period: 1,
level: 4,
origin_price: 49,
actual_price: 24.5,
one_price: 0.05,
quota: 200,
avg_price_per_order: 0.245
}
],
price_year: [
{
id: 5,
app_plan_id: 5,
kind: 2,
period: 2,
level: 22,
origin_price: 16,
actual_price: 14.4,
one_price: 0,
quota: 720,
avg_price_per_order: 0.0222
},
{
id: 6,
app_plan_id: 6,
kind: 2,
period: 2,
level: 24,
origin_price: 23,
actual_price: 20.7,
one_price: 0,
quota: 1200,
avg_price_per_order: 0.0192
},
{
id: 7,
app_plan_id: 7,
kind: 2,
period: 2,
level: 25,
origin_price: 39,
actual_price: 35.1,
one_price: 0,
quota: 2400,
avg_price_per_order: 0.0163
}
]
},
{
kind: 3,
package_name: "Professional",
price_month: [
{
id: 8,
app_plan_id: 8,
kind: 3,
period: 1,
level: 10,
origin_price: 59,
actual_price: 29.5,
one_price: 0.05,
quota: 120,
avg_price_per_order: 0.4917
},
{
id: 9,
app_plan_id: 9,
kind: 3,
period: 1,
level: 11,
origin_price: 99,
actual_price: 49.5,
one_price: 0.05,
quota: 240,
avg_price_per_order: 0.4125
},
{
id: 10,
app_plan_id: 10,
kind: 3,
period: 1,
level: 12,
origin_price: 199,
actual_price: 99.5,
one_price: 0.05,
quota: 500,
avg_price_per_order: 0.398
},
{
id: 11,
app_plan_id: 11,
kind: 3,
period: 1,
level: 13,
origin_price: 289,
actual_price: 144.5,
one_price: 0.05,
quota: 800,
avg_price_per_order: 0.3613
},
{
id: 12,
app_plan_id: 12,
kind: 3,
period: 1,
level: 15,
origin_price: 469,
actual_price: 234.5,
one_price: 0.05,
quota: 1500,
avg_price_per_order: 0.3127
}
],
price_year: [
{
id: 13,
app_plan_id: 13,
kind: 3,
period: 2,
level: 29,
origin_price: 46,
actual_price: 41.4,
one_price: 0,
quota: 1440,
avg_price_per_order: 0.0319
},
{
id: 14,
app_plan_id: 14,
kind: 3,
period: 2,
level: 32,
origin_price: 79,
actual_price: 71.1,
one_price: 0,
quota: 2880,
avg_price_per_order: 0.0274
},
{
id: 15,
app_plan_id: 15,
kind: 3,
period: 2,
level: 33,
origin_price: 159,
actual_price: 143.1,
one_price: 0,
quota: 6e3,
avg_price_per_order: 0.0265
},
{
id: 16,
app_plan_id: 16,
kind: 3,
period: 2,
level: 34,
origin_price: 229,
actual_price: 206.1,
one_price: 0,
quota: 9600,
avg_price_per_order: 0.0239
},
{
id: 17,
app_plan_id: 17,
kind: 3,
period: 2,
level: 35,
origin_price: 369,
actual_price: 332.1,
one_price: 0,
quota: 18e3,
avg_price_per_order: 0.0205
}
]
},
{
kind: 4,
package_name: "Enterprise",
price_month: [
{
id: 18,
app_plan_id: 18,
kind: 4,
period: 1,
level: 17,
origin_price: 239,
actual_price: 119.5,
one_price: 0.05,
quota: 300,
avg_price_per_order: 0.7967
},
{
id: 19,
app_plan_id: 19,
kind: 4,
period: 1,
level: 18,
origin_price: 329,
actual_price: 164.5,
one_price: 0.05,
quota: 600,
avg_price_per_order: 0.5483
},
{
id: 20,
app_plan_id: 20,
kind: 4,
period: 1,
level: 19,
origin_price: 429,
actual_price: 214.5,
one_price: 0.05,
quota: 1200,
avg_price_per_order: 0.3575
},
{
id: 21,
app_plan_id: 21,
kind: 4,
period: 1,
level: 20,
origin_price: 699,
actual_price: 349.5,
one_price: 0.05,
quota: 2e3,
avg_price_per_order: 0.3495
}
],
price_year: [
{
id: 22,
app_plan_id: 22,
kind: 4,
period: 2,
level: 37,
origin_price: 189,
actual_price: 170.1,
one_price: 0,
quota: 3600,
avg_price_per_order: 0.0525
},
{
id: 23,
app_plan_id: 23,
kind: 4,
period: 2,
level: 38,
origin_price: 259,
actual_price: 233.1,
one_price: 0,
quota: 7200,
avg_price_per_order: 0.036
},
{
id: 24,
app_plan_id: 24,
kind: 4,
period: 2,
level: 39,
origin_price: 339,
actual_price: 305.1,
one_price: 0,
quota: 14400,
avg_price_per_order: 0.0235
},
{
id: 25,
app_plan_id: 25,
kind: 4,
period: 2,
level: 40,
origin_price: 559,
actual_price: 503.1,
one_price: 0,
quota: 24e3,
avg_price_per_order: 0.0233
}
]
}
]
}
], Rv = {
charge_id: 0,
plan_order_id: 0,
subscribe_app_id: 0,
default_plan_period: 1,
subscribe_trial_day: 0,
trial_days_left: 0,
trial_start_time: 0,
discount_kind: 1,
show_banner: 2,
app: [
{
app_id: 1,
subscribe_app_plan_id: 1,
default_month_plan_id: 30,
default_year_plan_id: 0
},
{
app_id: 2,
subscribe_app_plan_id: 1,
default_month_plan_id: 8,
default_year_plan_id: 0
}
]
}, Ev = {
pkg_list: Av,
user_pkg: Rv
};
function wv(n) {
IP(() => {
const e = () => {
n(document.visibilityState === "visible");
};
return document.addEventListener("visibilitychange", e), () => {
document.removeEventListener("visibilitychange", e);
};
}, [n]);
}
let Tt = null;
const xT = (n) => {
var X;
const {
onAction: e,
btnLoading: t,
data: r,
setData: a,
loading: i,
isStandardWidth: o = !0,
period: s = 1,
setPeriod: l,
app: c,
perferKind: d,
perferPlanId: f,
btnDisabled: T
} = n, [P, v] = xe(null);
wv((F) => {
F && ln.getInstallInfo().then(($) => {
var A, q;
if ($.code === 1e3 && $.data) {
const ee = {
[p.Tracking]: {
app_id: p.Tracking,
app_name: "ParcelWILL Tracking",
install_url: "",
is_installed: 1
},
[p.Returns]: {
app_id: p.Returns,
app_name: "ParcelWILL Returns",
install_url: "",
is_installed: 1
}
};
(q = (A = $.data) == null ? void 0 : A.app_list) == null || q.forEach((M) => {
ee[M.app_id] = M;
}), Tt = JSON.parse(JSON.stringify(ee)), v(ee);
}
});
});
const k = Z(() => {
var $, A;
if (P)
return P;
if (Tt)
return Tt;
const F = {
[p.Tracking]: {
app_id: p.Tracking,
app_name: "ParcelWILL Tracking",
install_url: "",
is_installed: 1
},
[p.Returns]: {
app_id: p.Returns,
app_name: "ParcelWILL Returns",
install_url: "",
is_installed: 1
}
};
return (A = ($ = r == null ? void 0 : r.install_info) == null ? void 0 : $.app_list) == null || A.forEach((q) => {
F[q.app_id] = q;
}), F;
}, [(X = r == null ? void 0 : r.install_info) == null ? void 0 : X.app_list, P]), [O, m] = xe({
[p.Tracking]: {
[_.Essential]: 0,
[_.Professional]: 0,
[_.Enterprise]: 0
},
[p.Returns]: {
[_.Essential]: 0,
[_.Professional]: 0,
[_.Enterprise]: 0
}
}), [b, C] = xe({
[p.Tracking]: {
step: 0,
kind: _.Professional
},
[p.Returns]: {
step: 0,
kind: _.Professional
}
}), I = Z(() => r ? Pv({
data: r ?? Ev,
period: s,
info: b,
steps: O
}) : null, [r, b, s, O]), w = Z(() => r ? hv(r, s, c, d, f) : null, [r, s, c, d, f]);
Fe(() => {
w && (m(Qe(w.defaultSteps)), C(Qe(w.defaultInfo)));
}, [w]);
const { t: j } = qe();
return /* @__PURE__ */ g.jsxs(
"div",
{
id: "pp-bundle-page",
className: Le({
"pb-page-standard-width": o
}),
children: [
/* @__PURE__ */ g.jsx(
"div",
{
className: Le("pb-flex pb-justify-center pb-mb-4", {
"pb-pointer-events-none": i
}),
children: /* @__PURE__ */ g.jsx(
VP,
{
options: [
{
label: j("PayMonthly"),
value: 1
},
{
label: j("PayAnnuallySave_20"),
value: 2
}
],
value: s,
onChange: (F) => {
l(F);
}
}
)
}
),
(r == null ? void 0 : r.user_pkg.show_banner) === 1 && /* @__PURE__ */ g.jsx(
KP,
{
period: s,
onClose: async () => {
var A, q, ee, M;
(A = window.PB_PAGE_LOADING) == null || A.call(window, !0);
const F = Qe(r);
if (F.user_pkg.show_banner = 2, a(F), (await ln.closeBanner()).code !== 1e3) {
const B = Qe(r);
a(B), (q = window.PB_TOAST) == null || q.call(window, j("OperationFailed"), 3e3, !0);
} else
(ee = window.PB_TOAST) == null || ee.call(window, j("OperationSuccessful"), 3e3);
(M = window.PB_PAGE_LOADING) == null || M.call(window, !1);
}
}
),
/* @__PURE__ */ g.jsxs(ht, { children: [
/* @__PURE__ */ g.jsx(ht.Section, { children: i || !I || !r ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
/* @__PURE__ */ g.jsx(ie, { sectioned: !0, children: /* @__PURE__ */ g.jsxs(Re, { children: [
/* @__PURE__ */ g.jsx(Ee, { size: "small" }),
/* @__PURE__ */ g.jsx(oe, {}),
/* @__PURE__ */ g.jsx(oe, { lines: 2 })
] }) }),
/* @__PURE__ */ g.jsx(ie, { sectioned: !0, children: /* @__PURE__ */ g.jsxs(Re, { children: [
/* @__PURE__ */ g.jsx(Ee, { size: "small" }),
/* @__PURE__ */ g.jsx(oe, {}),
/* @__PURE__ */ g.jsx(oe, { lines: 2 })
] }) }),
/* @__PURE__ */ g.jsx(ie, { sectioned: !0, children: /* @__PURE__ */ g.jsxs(Re, { children: [
/* @__PURE__ */ g.jsx(Ee, { size: "small" }),
/* @__PURE__ */ g.jsx(oe, {})
] }) })
] }) : /* @__PURE__ */ g.jsx(
mv,
{
data: r,
info: b,
setInfo: C,
period: s,
rangList: I.rangList,
pkgList: I.pkgList,
installInfo: k,
steps: O,
setSteps: m,
pkgPriceInfo: I.pkgPriceInfo,
currentPriceInfo: I.currentPriceInfo
}
) }),
/* @__PURE__ */ g.jsx(ht.Section, { variant: "oneThird", children: i || !I || !r ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
/* @__PURE__ */ g.jsxs(ie, { children: [
/* @__PURE__ */ g.jsx(ie.Section, { children: /* @__PURE__ */ g.jsxs(Re, { children: [
/* @__PURE__ */ g.jsx(Ee, { size: "small" }),
/* @__PURE__ */ g.jsx(oe, { lines: 4 })
] }) }),
/* @__PURE__ */ g.jsx(ie.Section, { children: /* @__PURE__ */ g.jsx(oe, { lines: 3 }) })
] }),
/* @__PURE__ */ g.jsxs(ie, { children: [
/* @__PURE__ */ g.jsx(ie.Section, { children: /* @__PURE__ */ g.jsxs(Re, { children: [
/* @__PURE__ */ g.jsx(Ee, { size: "small" }),
/* @__PURE__ */ g.jsx(oe, { lines: 4 })
] }) }),
/* @__PURE__ */ g.jsx(ie.Section, { children: /* @__PURE__ */ g.jsx(oe, { lines: 3 }) })
] })
] }) : I.currentPriceInfo[p.Tracking] && I.currentPriceInfo[p.Returns] && /* @__PURE__ */ g.jsx(
vv,
{
currentPriceInfo: I.currentPriceInfo,
data: r,
btnLoading: t ?? !1,
btnDisabled: T ?? !1,
appInfo: I.appInfo,
period: s,
onAction: async (F) => {
var $, A;
e == null || e(F, {
pbData: I,
period: s,
data: r,
plans: [
{
app_id: p.Tracking,
plan_id: I.currentPriceInfo[p.Tracking].app_plan_id
},
{
app_id: p.Returns,
plan_id: I.currentPriceInfo[p.Returns].app_plan_id
}
],
resumePlan: [
{
app_id: p.Tracking,
plan_id: (($ = I.subscribePriceInfo[p.Tracking]) == null ? void 0 : $.app_plan_id) ?? 1
},
{
app_id: p.Returns,
plan_id: ((A = I.subscribePriceInfo[p.Returns]) == null ? void 0 : A.app_plan_id) ?? 1
}
]
});
}
}
) })
] })
]
}
);
}, Zn = "Zajištěte špičkové služby ochrany při dopravě zboží, abyste podpořili důvěru zákazníků při nákupu, zvýšili spokojenost a dosáhli vyšších zisků.", er = "Platit měsíčně", tr = "Platit ročně (Ušetřete 20%)", nr = "Přineste atraktivní značkové zkušenosti se sledováním objednávek, abyste snížili počet dotazů typu „Kde je moje objednávka?“, posílili loajálnost zákazníků a podpořili prodeje.", rr = "Zajistěte bezproblémovou zkušenost s návraty a lákavými výměnami, abyste minimalizovali ztráty, snížili komplikace a uchovali tržby.", ar = "měsíc", ir = "Zcela zdarma pro obchodníky využívající placené služby ParcelWILL Tracking ❤️", or = "Průměrně {{x}} za objednávku", sr = "Průměrně {{x}} za návrat zboží", lr = "kvóta/měsíc", cr = "návraty/měsíc", ur = "{{x}} za každou další kvótu", dr = "{{x}} za každý další návrat zboží", fr = "Udělejte první krok směrem k poskytování nejlepšího záručního servisu po nákupu.", pr = "Sleva", gr = "Celkem", hr = "Vybrat tento plán", Pr = "Zrušit plán", vr = "50 % sleva na první měsíc, poté 10 % sleva po celou dobu", mr = "10 % sleva po celou dobu", Tr = "Začněte {{x}}denní bezplatnou zkušební verzí", yr = "Aktuální plán", _r = "Nainstalováno", br = "Nenainstalováno", kr = "Záložka Ochrana v aplikaci ParcelWILL Tracking", Or = "Nainstalujte nyní", xr = "Operace se nezdařila", Sr = "Operace byla úspěšná", Fr = "Další plán", $r = "Obnovit plán", Ir = "Není k dispozici po překročení", Ar = "kvóta/rok", Rr = "vrácení/rok", jv = {
DeliverTopTierShippingProtectionSer: Zn,
PayMonthly: er,
PayAnnuallySave_20: tr,
DeliverEngagingBrandOrderTrackingEx: nr,
DeliverHassleFreeReturnAndEnticing: rr,
month: ar,
OneHundredFreeForParcelpanelTrackingPaying: ir,
AvgXPerOrder: or,
AvgXPerReturn: sr,
quotaMonth: lr,
returnsMonth: cr,
XPerAdditionalQuota: ur,
XPerAdditionalReturn: dr,
TakeTheFirstStepInDeliveringTheBe: fr,
Discount: pr,
Total: gr,
ChooseThisPlan: hr,
CancelPlan: Pr,
FiftyOffYourFirstMonthThen_10OffFor: vr,
TenOffForLife: mr,
StartXDayFreeTrial: Tr,
CurrentPlan: yr,
Installed: _r,
NotInstalled: br,
TheProtectionTabInParcelpanelTracki: kr,
InstallNow: Or,
OperationFailed: xr,
OperationSuccessful: Sr,
NextPlan: Fr,
ResumePlan: $r,
UnavailableAfterExceeded: Ir,
quotaYear: Ar,
returnsYear: Rr
}, Dv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: or,
AvgXPerReturn: sr,
CancelPlan: Pr,
ChooseThisPlan: hr,
CurrentPlan: yr,
DeliverEngagingBrandOrderTrackingEx: nr,
DeliverHassleFreeReturnAndEnticing: rr,
DeliverTopTierShippingProtectionSer: Zn,
Discount: pr,
FiftyOffYourFirstMonthThen_10OffFor: vr,
InstallNow: Or,
Installed: _r,
NextPlan: Fr,
NotInstalled: br,
OneHundredFreeForParcelpanelTrackingPaying: ir,
OperationFailed: xr,
OperationSuccessful: Sr,
PayAnnuallySave_20: tr,
PayMonthly: er,
ResumePlan: $r,
StartXDayFreeTrial: Tr,
TakeTheFirstStepInDeliveringTheBe: fr,
TenOffForLife: mr,
TheProtectionTabInParcelpanelTracki: kr,
Total: gr,
UnavailableAfterExceeded: Ir,
XPerAdditionalQuota: ur,
XPerAdditionalReturn: dr,
default: jv,
month: ar,
quotaMonth: lr,
quotaYear: Ar,
returnsMonth: cr,
returnsYear: Rr
}, Symbol.toStringTag, { value: "Module" })), Er = "Lever top-tier leveringssikkerhedstjenester til at støtte købsikkerheden, forbedre kundetilfredshed og øge profitter.", wr = "Betale månedligt", jr = "Betale årligt (Spar 20%)", Dr = "Lever engagerende ordrehåndteringserfaringer for at reducere WISMO-henvendelser, fremme kundelojalitet og drive salg.", Cr = "Lever nem retur og fristende ombytningserfaringer til at minimere tab, reducere friktion og fastholde omsætning.", Lr = "måned", Nr = "100% gratis for ParcelWILL Tracking betalende sælgere ❤️", Mr = "Gennemsnit. {{x}} per ordre", Xr = "Gennemsnit. {{x}} per retur", qr = "kontingent/måned", Br = "returer/måned", zr = "{{x}} per ekstra kontingent", Yr = "{{x}} per ekstra retur", Hr = "Tag det første skridt mod at levere den bedste postkøbserfaring.", Ur = "Rabat", Wr = "I alt", Vr = "Vælg dette abonnement", Kr = "Annullér plan", Qr = "50% rabat på din første måned, derefter 10% rabat for altid", Gr = "10% rabat for altid", Jr = "Start {{x}}-dages gratis prøveperiode", Zr = "Nuværende plan", ea = "Installeret", ta = "Ikke installeret", na = "Beskyttelses-fanen i ParcelWILL Tracking", ra = "Installer nu", aa = "Handling mislykkedes", ia = "Handling lykkedes", oa = "Næste plan", sa = "Genoptag plan", la = "Ikke tilgængelig efter overskridelse", ca = "kontingent/år", ua = "returer/år", Cv = {
DeliverTopTierShippingProtectionSer: Er,
PayMonthly: wr,
PayAnnuallySave_20: jr,
DeliverEngagingBrandOrderTrackingEx: Dr,
DeliverHassleFreeReturnAndEnticing: Cr,
month: Lr,
OneHundredFreeForParcelpanelTrackingPaying: Nr,
AvgXPerOrder: Mr,
AvgXPerReturn: Xr,
quotaMonth: qr,
returnsMonth: Br,
XPerAdditionalQuota: zr,
XPerAdditionalReturn: Yr,
TakeTheFirstStepInDeliveringTheBe: Hr,
Discount: Ur,
Total: Wr,
ChooseThisPlan: Vr,
CancelPlan: Kr,
FiftyOffYourFirstMonthThen_10OffFor: Qr,
TenOffForLife: Gr,
StartXDayFreeTrial: Jr,
CurrentPlan: Zr,
Installed: ea,
NotInstalled: ta,
TheProtectionTabInParcelpanelTracki: na,
InstallNow: ra,
OperationFailed: aa,
OperationSuccessful: ia,
NextPlan: oa,
ResumePlan: sa,
UnavailableAfterExceeded: la,
quotaYear: ca,
returnsYear: ua
}, Lv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: Mr,
AvgXPerReturn: Xr,
CancelPlan: Kr,
ChooseThisPlan: Vr,
CurrentPlan: Zr,
DeliverEngagingBrandOrderTrackingEx: Dr,
DeliverHassleFreeReturnAndEnticing: Cr,
DeliverTopTierShippingProtectionSer: Er,
Discount: Ur,
FiftyOffYourFirstMonthThen_10OffFor: Qr,
InstallNow: ra,
Installed: ea,
NextPlan: oa,
NotInstalled: ta,
OneHundredFreeForParcelpanelTrackingPaying: Nr,
OperationFailed: aa,
OperationSuccessful: ia,
PayAnnuallySave_20: jr,
PayMonthly: wr,
ResumePlan: sa,
StartXDayFreeTrial: Jr,
TakeTheFirstStepInDeliveringTheBe: Hr,
TenOffForLife: Gr,
TheProtectionTabInParcelpanelTracki: na,
Total: Wr,
UnavailableAfterExceeded: la,
XPerAdditionalQuota: zr,
XPerAdditionalReturn: Yr,
default: Cv,
month: Lr,
quotaMonth: qr,
quotaYear: ca,
returnsMonth: Br,
returnsYear: ua
}, Symbol.toStringTag, { value: "Module" })), da = "Bieten Sie Schutzservices auf höchstem Niveau an, um das Kaufvertrauen zu stärken, die Kundenzufriedenheit zu erhöhen und Gewinne zu steigern.", fa = "Monatlich bezahlen", pa = "Jährlich bezahlen (20 % sparen)", ga = "Bieten Sie ansprechende Marken-Order-Tracking-Erlebnisse, um WISMO-Anfragen zu reduzieren, Kundenbindung zu fördern und Umsätze zu steigern.", ha = "Bieten Sie einen reibungslosen Rückgabe- und attraktive Umtauschservice, um Verluste zu minimieren, Hemmnisse abzubauen und Einnahmen zu sichern.", Pa = "Monat", va = "100 % kostenlos für ParcelWILL Tracking-Nutzer ❤️", ma = "Durchschnittlich {{x}} pro Bestellung", Ta = "Durchschnittlich {{x}} pro Rückgabe", ya = "Kontingent/Monat", _a = "Rückgaben/Monat", ba = "{{x}} pro zusätzlichem Kontingent", ka = "{{x}} pro zusätzlicher Rückgabe", Oa = "Treten Sie den ersten Schritt zur Bereitstellung des besten Post-Purchase-Erlebnisses an.", xa = "Rabatt", Sa = "Gesamt", Fa = "Diesen Plan auswählen", $a = "Plan kündigen", Ia = "50 % Rabatt im ersten Monat, danach 10 % Rabatt für die gesamte Laufzeit", Aa = "10 % Rabatt für immer", Ra = "{{x}}-tägige kostenlose Testphase starten", Ea = "Aktueller Plan", wa = "Installiert", ja = "Nicht installiert", Da = "Der Schutz-Tab in ParcelWILL Tracking", Ca = "Jetzt installieren", La = "Vorgang fehlgeschlagen", Na = "Vorgang erfolgreich", Ma = "Nächster Plan", Xa = "Plan fortsetzen", qa = "Nicht verfügbar nach Überschreitung", Ba = "Kontingent/Jahr", za = "Rückgaben/Jahr", Nv = {
DeliverTopTierShippingProtectionSer: da,
PayMonthly: fa,
PayAnnuallySave_20: pa,
DeliverEngagingBrandOrderTrackingEx: ga,
DeliverHassleFreeReturnAndEnticing: ha,
month: Pa,
OneHundredFreeForParcelpanelTrackingPaying: va,
AvgXPerOrder: ma,
AvgXPerReturn: Ta,
quotaMonth: ya,
returnsMonth: _a,
XPerAdditionalQuota: ba,
XPerAdditionalReturn: ka,
TakeTheFirstStepInDeliveringTheBe: Oa,
Discount: xa,
Total: Sa,
ChooseThisPlan: Fa,
CancelPlan: $a,
FiftyOffYourFirstMonthThen_10OffFor: Ia,
TenOffForLife: Aa,
StartXDayFreeTrial: Ra,
CurrentPlan: Ea,
Installed: wa,
NotInstalled: ja,
TheProtectionTabInParcelpanelTracki: Da,
InstallNow: Ca,
OperationFailed: La,
OperationSuccessful: Na,
NextPlan: Ma,
ResumePlan: Xa,
UnavailableAfterExceeded: qa,
quotaYear: Ba,
returnsYear: za
}, Mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: ma,
AvgXPerReturn: Ta,
CancelPlan: $a,
ChooseThisPlan: Fa,
CurrentPlan: Ea,
DeliverEngagingBrandOrderTrackingEx: ga,
DeliverHassleFreeReturnAndEnticing: ha,
DeliverTopTierShippingProtectionSer: da,
Discount: xa,
FiftyOffYourFirstMonthThen_10OffFor: Ia,
InstallNow: Ca,
Installed: wa,
NextPlan: Ma,
NotInstalled: ja,
OneHundredFreeForParcelpanelTrackingPaying: va,
OperationFailed: La,
OperationSuccessful: Na,
PayAnnuallySave_20: pa,
PayMonthly: fa,
ResumePlan: Xa,
StartXDayFreeTrial: Ra,
TakeTheFirstStepInDeliveringTheBe: Oa,
TenOffForLife: Aa,
TheProtectionTabInParcelpanelTracki: Da,
Total: Sa,
UnavailableAfterExceeded: qa,
XPerAdditionalQuota: ba,
XPerAdditionalReturn: ka,
default: Nv,
month: Pa,
quotaMonth: ya,
quotaYear: Ba,
returnsMonth: _a,
returnsYear: za
}, Symbol.toStringTag, { value: "Module" })), Ya = "Deliver top-tier shipping protection services to boost shopping confidence, enhance customer satisfaction, and increase profits.", Ha = "Pay monthly", Ua = "Pay annually (Save 20%)", Wa = "Deliver engaging brand order tracking experiences to reduce WISMO tickets, foster customer loyalty, and drive sales.", Va = "Deliver hassle-free return and enticing exchanges experience to minimize losses, reduce friction, and retain revenue.", Ka = "month", Qa = "100% Free for ParcelWILL Tracking paying merchants ❤️", Ga = "Avg. {{x}} per order", Ja = "Avg. {{x}} per return", Za = "quota/month", ei = "quota/year", ti = "returns/month", ni = "returns/year", ri = "{{x}} per additional quota", ai = "{{x}} per additional return", ii = "Take the first step in delivering the best post-purchase experience.", oi = "Discount", si = "Total", li = "Choose this plan", ci = "Cancel plan", ui = "50% off your first month, then 10% off for the lifetime", di = "10% off for life", fi = "Start {{x}}-day free trial", pi = "Current plan", gi = "Installed", hi = "Not installed", Pi = "The Protection tab in ParcelWILL Tracking", vi = "Install now", mi = "Operation failed", Ti = "Operation successful", yi = "Next Plan", _i = "Resume plan", bi = "Unavailable after exceeded", Xv = {
DeliverTopTierShippingProtectionSer: Ya,
PayMonthly: Ha,
PayAnnuallySave_20: Ua,
DeliverEngagingBrandOrderTrackingEx: Wa,
DeliverHassleFreeReturnAndEnticing: Va,
month: Ka,
OneHundredFreeForParcelpanelTrackingPaying: Qa,
AvgXPerOrder: Ga,
AvgXPerReturn: Ja,
quotaMonth: Za,
quotaYear: ei,
returnsMonth: ti,
returnsYear: ni,
XPerAdditionalQuota: ri,
XPerAdditionalReturn: ai,
TakeTheFirstStepInDeliveringTheBe: ii,
Discount: oi,
Total: si,
ChooseThisPlan: li,
CancelPlan: ci,
FiftyOffYourFirstMonthThen_10OffFor: ui,
TenOffForLife: di,
StartXDayFreeTrial: fi,
CurrentPlan: pi,
Installed: gi,
NotInstalled: hi,
TheProtectionTabInParcelpanelTracki: Pi,
InstallNow: vi,
OperationFailed: mi,
OperationSuccessful: Ti,
NextPlan: yi,
ResumePlan: _i,
UnavailableAfterExceeded: bi
}, qv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: Ga,
AvgXPerReturn: Ja,
CancelPlan: ci,
ChooseThisPlan: li,
CurrentPlan: pi,
DeliverEngagingBrandOrderTrackingEx: Wa,
DeliverHassleFreeReturnAndEnticing: Va,
DeliverTopTierShippingProtectionSer: Ya,
Discount: oi,
FiftyOffYourFirstMonthThen_10OffFor: ui,
InstallNow: vi,
Installed: gi,
NextPlan: yi,
NotInstalled: hi,
OneHundredFreeForParcelpanelTrackingPaying: Qa,
OperationFailed: mi,
OperationSuccessful: Ti,
PayAnnuallySave_20: Ua,
PayMonthly: Ha,
ResumePlan: _i,
StartXDayFreeTrial: fi,
TakeTheFirstStepInDeliveringTheBe: ii,
TenOffForLife: di,
TheProtectionTabInParcelpanelTracki: Pi,
Total: si,
UnavailableAfterExceeded: bi,
XPerAdditionalQuota: ri,
XPerAdditionalReturn: ai,
default: Xv,
month: Ka,
quotaMonth: Za,
quotaYear: ei,
returnsMonth: ti,
returnsYear: ni
}, Symbol.toStringTag, { value: "Module" })), ki = "Ofrece servicios de protección de envío de primera calidad para aumentar la confianza en las compras, mejorar la satisfacción del cliente y aumentar las ganancias.", Oi = "Paga mensualmente", xi = "Paga anualmente (Ahorra 20%)", Si = "Ofrece experiencias atractivas de seguimiento de pedidos de marca para reducir tickets WISMO, fomentar la lealtad del cliente y impulsar ventas.", Fi = "Ofrece una experiencia sencilla de devoluciones y cambios atractivos para minimizar pérdidas, reducir fricciones y retener ingresos.", $i = "mes", Ii = "100% Gratis para comerciantes que pagan por ParcelWILL Tracking ❤️", Ai = "Promedio {{x}} por pedido", Ri = "Promedio {{x}} por devolución", Ei = "cuota/mes", wi = "devoluciones/mes", ji = "{{x}} por cuota adicional", Di = "{{x}} por devolución adicional", Ci = "Da el primer paso para ofrecer la mejor experiencia posterior a la compra.", Li = "Descuento", Ni = "Total", Mi = "Elige este plan", Xi = "Cancelar plan", qi = "50% de descuento en tu primer mes, luego 10% de descuento para siempre", Bi = "10% de descuento de por vida", zi = "Empieza tu prueba gratuita de {{x}} días", Yi = "Plan actual", Hi = "Instalado", Ui = "No instalado", Wi = "La pestaña Protección en ParcelWILL Tracking", Vi = "Instalar ahora", Ki = "Operación fallida", Qi = "Operación exitosa", Gi = "Próximo plan", Ji = "Reanudar plan", Zi = "No disponible después de excedido", eo = "cuota/año", to = "devoluciones/año", Bv = {
DeliverTopTierShippingProtectionSer: ki,
PayMonthly: Oi,
PayAnnuallySave_20: xi,
DeliverEngagingBrandOrderTrackingEx: Si,
DeliverHassleFreeReturnAndEnticing: Fi,
month: $i,
OneHundredFreeForParcelpanelTrackingPaying: Ii,
AvgXPerOrder: Ai,
AvgXPerReturn: Ri,
quotaMonth: Ei,
returnsMonth: wi,
XPerAdditionalQuota: ji,
XPerAdditionalReturn: Di,
TakeTheFirstStepInDeliveringTheBe: Ci,
Discount: Li,
Total: Ni,
ChooseThisPlan: Mi,
CancelPlan: Xi,
FiftyOffYourFirstMonthThen_10OffFor: qi,
TenOffForLife: Bi,
StartXDayFreeTrial: zi,
CurrentPlan: Yi,
Installed: Hi,
NotInstalled: Ui,
TheProtectionTabInParcelpanelTracki: Wi,
InstallNow: Vi,
OperationFailed: Ki,
OperationSuccessful: Qi,
NextPlan: Gi,
ResumePlan: Ji,
UnavailableAfterExceeded: Zi,
quotaYear: eo,
returnsYear: to
}, zv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: Ai,
AvgXPerReturn: Ri,
CancelPlan: Xi,
ChooseThisPlan: Mi,
CurrentPlan: Yi,
DeliverEngagingBrandOrderTrackingEx: Si,
DeliverHassleFreeReturnAndEnticing: Fi,
DeliverTopTierShippingProtectionSer: ki,
Discount: Li,
FiftyOffYourFirstMonthThen_10OffFor: qi,
InstallNow: Vi,
Installed: Hi,
NextPlan: Gi,
NotInstalled: Ui,
OneHundredFreeForParcelpanelTrackingPaying: Ii,
OperationFailed: Ki,
OperationSuccessful: Qi,
PayAnnuallySave_20: xi,
PayMonthly: Oi,
ResumePlan: Ji,
StartXDayFreeTrial: zi,
TakeTheFirstStepInDeliveringTheBe: Ci,
TenOffForLife: Bi,
TheProtectionTabInParcelpanelTracki: Wi,
Total: Ni,
UnavailableAfterExceeded: Zi,
XPerAdditionalQuota: ji,
XPerAdditionalReturn: Di,
default: Bv,
month: $i,
quotaMonth: Ei,
quotaYear: eo,
returnsMonth: wi,
returnsYear: to
}, Symbol.toStringTag, { value: "Module" })), no = "Tarjoa huippuluokan kuljetussuojapalvelut ostamisen luottamuksen vahvistamiseksi, asiakastyytyväisyyden parantamiseksi ja voittojen kasvattamiseksi.", ro = "Maksa kuukausittain", ao = "Maksa vuosittain (Säästä 20 %)", io = "Tarjoa miellyttävä brändin tilausten seuranta kokemus vähentääksesi WISMO-tikettejä, lisätäksesi asiakasuskollisuutta ja kasvattaaksesi myyntiä.", oo = "Tarjoa vaivaton palautus- ja houkutteleva vaihtomahdollisuus minimoidaksesi tappiot, vähentääksesi kitkaa ja säilyttääksesi tulot.", so = "kuukausi", lo = "100 % ilmainen ParcelWILL Tracking -maksaville kauppiaille ❤️", co = "Keskimäärin {{x}} per tilaus", uo = "Keskimäärin {{x}} per palautus", fo = "kiintiö/kuukausi", po = "palautukset/kuukausi", go = "{{x}} per lisäkiintiö", ho = "{{x}} per lisäpalautus", Po = "Aloita parhaan ostopalvelun tarjoaminen ottamalla ensimmäinen askel.", vo = "Alennus", mo = "Yhteensä", To = "Valitse tämä suunnitelma", yo = "Peruuta suunnitelma", _o = "50 % alennus ensimmäisestä kuukaudestasi, jonka jälkeen 10 % alennus koko käyttöösi", bo = "10 % alennus ikuisesti", ko = "Aloita {{x}} päivän ilmainen kokeilujakso", Oo = "Nykyinen suunnitelma", xo = "Asennettu", So = "Ei asennettu", Fo = "Protection-välilehti ParcelWILL Trackingissa", $o = "Asenna nyt", Io = "Toiminto epäonnistui", Ao = "Toiminto onnistui", Ro = "Seuraava suunnitelma", Eo = "Jatka suunnitelmaa", wo = "Ei saatavilla ylityksen jälkeen", jo = "kierrätys/vuosi", Do = "palautukset/vuosi", Yv = {
DeliverTopTierShippingProtectionSer: no,
PayMonthly: ro,
PayAnnuallySave_20: ao,
DeliverEngagingBrandOrderTrackingEx: io,
DeliverHassleFreeReturnAndEnticing: oo,
month: so,
OneHundredFreeForParcelpanelTrackingPaying: lo,
AvgXPerOrder: co,
AvgXPerReturn: uo,
quotaMonth: fo,
returnsMonth: po,
XPerAdditionalQuota: go,
XPerAdditionalReturn: ho,
TakeTheFirstStepInDeliveringTheBe: Po,
Discount: vo,
Total: mo,
ChooseThisPlan: To,
CancelPlan: yo,
FiftyOffYourFirstMonthThen_10OffFor: _o,
TenOffForLife: bo,
StartXDayFreeTrial: ko,
CurrentPlan: Oo,
Installed: xo,
NotInstalled: So,
TheProtectionTabInParcelpanelTracki: Fo,
InstallNow: $o,
OperationFailed: Io,
OperationSuccessful: Ao,
NextPlan: Ro,
ResumePlan: Eo,
UnavailableAfterExceeded: wo,
quotaYear: jo,
returnsYear: Do
}, Hv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: co,
AvgXPerReturn: uo,
CancelPlan: yo,
ChooseThisPlan: To,
CurrentPlan: Oo,
DeliverEngagingBrandOrderTrackingEx: io,
DeliverHassleFreeReturnAndEnticing: oo,
DeliverTopTierShippingProtectionSer: no,
Discount: vo,
FiftyOffYourFirstMonthThen_10OffFor: _o,
InstallNow: $o,
Installed: xo,
NextPlan: Ro,
NotInstalled: So,
OneHundredFreeForParcelpanelTrackingPaying: lo,
OperationFailed: Io,
OperationSuccessful: Ao,
PayAnnuallySave_20: ao,
PayMonthly: ro,
ResumePlan: Eo,
StartXDayFreeTrial: ko,
TakeTheFirstStepInDeliveringTheBe: Po,
TenOffForLife: bo,
TheProtectionTabInParcelpanelTracki: Fo,
Total: mo,
UnavailableAfterExceeded: wo,
XPerAdditionalQuota: go,
XPerAdditionalReturn: ho,
default: Yv,
month: so,
quotaMonth: fo,
quotaYear: jo,
returnsMonth: po,
returnsYear: Do
}, Symbol.toStringTag, { value: "Module" })), Co = "Fournissez des services de protection d'expédition haut de gamme pour renforcer la confiance d'achat, améliorer la satisfaction client et augmenter les profits.", Lo = "Payer mensuellement", No = "Payer annuellement (Économisez 20 %)", Mo = "Proposez une expérience de suivi des commandes captivante pour réduire les tickets WISMO, favoriser la fidélité des clients et stimuler les ventes.", Xo = "Offrez un processus de retour simple et des échanges attrayants pour minimiser les pertes, réduire les frictions et conserver les revenus.", qo = "mois", Bo = "100 % gratuit pour les marchands payants utilisant le suivi ParcelWILL ❤️", zo = "Moy. {{x}} par commande", Yo = "Moy. {{x}} par retour", Ho = "quota/mois", Uo = "retours/mois", Wo = "{{x}} par quota supplémentaire", Vo = "{{x}} par retour supplémentaire", Ko = "Faites le premier pas vers la meilleure expérience post-achat.", Qo = "Remise", Go = "Total", Jo = "Choisir ce plan", Zo = "Annuler le plan", es = "50 % de réduction sur votre premier mois, puis 10 % de réduction à vie", ts = "10 % de réduction à vie", ns = "Commencer un essai gratuit de {{x}} jours", rs = "Plan actuel", as = "Installé", is = "Non installé", os = "L'onglet Protection dans ParcelWILL Tracking", ss = "Installer maintenant", ls = "Opération échouée", cs = "Opération réussie", us = "Plan suivant", ds = "Reprendre le plan", fs = "Indisponible après dépassement", ps = "quota/an", gs = "retours/an", Uv = {
DeliverTopTierShippingProtectionSer: Co,
PayMonthly: Lo,
PayAnnuallySave_20: No,
DeliverEngagingBrandOrderTrackingEx: Mo,
DeliverHassleFreeReturnAndEnticing: Xo,
month: qo,
OneHundredFreeForParcelpanelTrackingPaying: Bo,
AvgXPerOrder: zo,
AvgXPerReturn: Yo,
quotaMonth: Ho,
returnsMonth: Uo,
XPerAdditionalQuota: Wo,
XPerAdditionalReturn: Vo,
TakeTheFirstStepInDeliveringTheBe: Ko,
Discount: Qo,
Total: Go,
ChooseThisPlan: Jo,
CancelPlan: Zo,
FiftyOffYourFirstMonthThen_10OffFor: es,
TenOffForLife: ts,
StartXDayFreeTrial: ns,
CurrentPlan: rs,
Installed: as,
NotInstalled: is,
TheProtectionTabInParcelpanelTracki: os,
InstallNow: ss,
OperationFailed: ls,
OperationSuccessful: cs,
NextPlan: us,
ResumePlan: ds,
UnavailableAfterExceeded: fs,
quotaYear: ps,
returnsYear: gs
}, Wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: zo,
AvgXPerReturn: Yo,
CancelPlan: Zo,
ChooseThisPlan: Jo,
CurrentPlan: rs,
DeliverEngagingBrandOrderTrackingEx: Mo,
DeliverHassleFreeReturnAndEnticing: Xo,
DeliverTopTierShippingProtectionSer: Co,
Discount: Qo,
FiftyOffYourFirstMonthThen_10OffFor: es,
InstallNow: ss,
Installed: as,
NextPlan: us,
NotInstalled: is,
OneHundredFreeForParcelpanelTrackingPaying: Bo,
OperationFailed: ls,
OperationSuccessful: cs,
PayAnnuallySave_20: No,
PayMonthly: Lo,
ResumePlan: ds,
StartXDayFreeTrial: ns,
TakeTheFirstStepInDeliveringTheBe: Ko,
TenOffForLife: ts,
TheProtectionTabInParcelpanelTracki: os,
Total: Go,
UnavailableAfterExceeded: fs,
XPerAdditionalQuota: Wo,
XPerAdditionalReturn: Vo,
default: Uv,
month: qo,
quotaMonth: Ho,
quotaYear: ps,
returnsMonth: Uo,
returnsYear: gs
}, Symbol.toStringTag, { value: "Module" })), hs = "Fornisci servizi di protezione spedizione di primissima qualità per aumentare la fiducia degli acquirenti, migliorare la soddisfazione del cliente e incrementare i profitti.", Ps = "Paga mensilmente", vs = "Paga annualmente (Risparmia il 20%)", ms = "Offri un'esperienza coinvolgente di tracciamento degli ordini del brand per ridurre i ticket WISMO, favorire la fedeltà dei clienti e stimolare le vendite.", Ts = "Fornisci esperienze di reso semplici e scambio allettanti per minimizzare le perdite, ridurre le difficoltà e mantenere i ricavi.", ys = "mese", _s = "100% gratuito per i merchant che utilizzano ParcelWILL Tracking ❤️", bs = "Media {{x}} per ordine", ks = "Media {{x}} per reso", Os = "quote/mese", xs = "resi/mese", Ss = "{{x}} per quota aggiuntiva", Fs = "{{x}} per reso aggiuntivo", $s = "Fai il primo passo verso l'erogazione della migliore esperienza post-acquisto.", Is = "Sconto", As = "Totale", Rs = "Scegli questo piano", Es = "Annulla piano", ws = "50% di sconto sul primo mese, poi 10% di sconto per tutta la vita", js = "10% di sconto per sempre", Ds = "Inizia una prova gratuita di {{x}} giorni", Cs = "Piano attuale", Ls = "Installato", Ns = "Non installato", Ms = "La scheda Protezione in ParcelWILL Tracking", Xs = "Installa ora", qs = "Operazione fallita", Bs = "Operazione completata con successo", zs = "Piano successivo", Ys = "Riprendi piano", Hs = "Non disponibile dopo il superamento", Us = "quota/anno", Ws = "resi/anno", Vv = {
DeliverTopTierShippingProtectionSer: hs,
PayMonthly: Ps,
PayAnnuallySave_20: vs,
DeliverEngagingBrandOrderTrackingEx: ms,
DeliverHassleFreeReturnAndEnticing: Ts,
month: ys,
OneHundredFreeForParcelpanelTrackingPaying: _s,
AvgXPerOrder: bs,
AvgXPerReturn: ks,
quotaMonth: Os,
returnsMonth: xs,
XPerAdditionalQuota: Ss,
XPerAdditionalReturn: Fs,
TakeTheFirstStepInDeliveringTheBe: $s,
Discount: Is,
Total: As,
ChooseThisPlan: Rs,
CancelPlan: Es,
FiftyOffYourFirstMonthThen_10OffFor: ws,
TenOffForLife: js,
StartXDayFreeTrial: Ds,
CurrentPlan: Cs,
Installed: Ls,
NotInstalled: Ns,
TheProtectionTabInParcelpanelTracki: Ms,
InstallNow: Xs,
OperationFailed: qs,
OperationSuccessful: Bs,
NextPlan: zs,
ResumePlan: Ys,
UnavailableAfterExceeded: Hs,
quotaYear: Us,
returnsYear: Ws
}, Kv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: bs,
AvgXPerReturn: ks,
CancelPlan: Es,
ChooseThisPlan: Rs,
CurrentPlan: Cs,
DeliverEngagingBrandOrderTrackingEx: ms,
DeliverHassleFreeReturnAndEnticing: Ts,
DeliverTopTierShippingProtectionSer: hs,
Discount: Is,
FiftyOffYourFirstMonthThen_10OffFor: ws,
InstallNow: Xs,
Installed: Ls,
NextPlan: zs,
NotInstalled: Ns,
OneHundredFreeForParcelpanelTrackingPaying: _s,
OperationFailed: qs,
OperationSuccessful: Bs,
PayAnnuallySave_20: vs,
PayMonthly: Ps,
ResumePlan: Ys,
StartXDayFreeTrial: Ds,
TakeTheFirstStepInDeliveringTheBe: $s,
TenOffForLife: js,
TheProtectionTabInParcelpanelTracki: Ms,
Total: As,
UnavailableAfterExceeded: Hs,
XPerAdditionalQuota: Ss,
XPerAdditionalReturn: Fs,
default: Vv,
month: ys,
quotaMonth: Os,
quotaYear: Us,
returnsMonth: xs,
returnsYear: Ws
}, Symbol.toStringTag, { value: "Module" })), Vs = "最高クラスの配送保護サービスを提供して、買い物への信頼感を高め、顧客満足度を向上させ、利益を増加させましょう。", Ks = "月額支払い", Qs = "年額支払い(20%節約)", Gs = "魅力的なブランド注文追跡体験を提供して、WISMOチケットを削減し、顧客ロイヤルティを育み、売上を促進しましょう。", Js = "手間のかからない返品と魅力的な交換体験を提供して、損失を最小限に抑え、摩擦を減らし、収益を維持しましょう。", Zs = "ヶ月", el = "100% 無料(ParcelWILL Tracking利用有料 merchants ❤️ 対象)", tl = "注文あたり平均 {{x}}", nl = "返品あたり平均 {{x}}", rl = "クォータ/月", al = "返品数/月", il = "追加クォータあたり{{x}}", ol = "追加返品あたり{{x}}", sl = "最高の購入後体験を提供するための第一歩を踏み出しましょう。", ll = "割引", cl = "合計", ul = "このプランを選択", dl = "プランをキャンセル", fl = "初月50%オフ、その後一生涯10%オフ", pl = "一生涯10%オフ", gl = "{{x}}日間無料トライアルを開始", hl = "現在のプラン", Pl = "インストール済み", vl = "未インストール", ml = "ParcelWILL Trackingの「プロテクション」タブ", Tl = "今すぐインストール", yl = "操作が失敗しました", _l = "操作が成功しました", bl = "次のプラン", kl = "プランを再開", Ol = "超過後は利用不可", xl = "クォータ/年", Sl = "返品/年", Qv = {
DeliverTopTierShippingProtectionSer: Vs,
PayMonthly: Ks,
PayAnnuallySave_20: Qs,
DeliverEngagingBrandOrderTrackingEx: Gs,
DeliverHassleFreeReturnAndEnticing: Js,
month: Zs,
OneHundredFreeForParcelpanelTrackingPaying: el,
AvgXPerOrder: tl,
AvgXPerReturn: nl,
quotaMonth: rl,
returnsMonth: al,
XPerAdditionalQuota: il,
XPerAdditionalReturn: ol,
TakeTheFirstStepInDeliveringTheBe: sl,
Discount: ll,
Total: cl,
ChooseThisPlan: ul,
CancelPlan: dl,
FiftyOffYourFirstMonthThen_10OffFor: fl,
TenOffForLife: pl,
StartXDayFreeTrial: gl,
CurrentPlan: hl,
Installed: Pl,
NotInstalled: vl,
TheProtectionTabInParcelpanelTracki: ml,
InstallNow: Tl,
OperationFailed: yl,
OperationSuccessful: _l,
NextPlan: bl,
ResumePlan: kl,
UnavailableAfterExceeded: Ol,
quotaYear: xl,
returnsYear: Sl
}, Gv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: tl,
AvgXPerReturn: nl,
CancelPlan: dl,
ChooseThisPlan: ul,
CurrentPlan: hl,
DeliverEngagingBrandOrderTrackingEx: Gs,
DeliverHassleFreeReturnAndEnticing: Js,
DeliverTopTierShippingProtectionSer: Vs,
Discount: ll,
FiftyOffYourFirstMonthThen_10OffFor: fl,
InstallNow: Tl,
Installed: Pl,
NextPlan: bl,
NotInstalled: vl,
OneHundredFreeForParcelpanelTrackingPaying: el,
OperationFailed: yl,
OperationSuccessful: _l,
PayAnnuallySave_20: Qs,
PayMonthly: Ks,
ResumePlan: kl,
StartXDayFreeTrial: gl,
TakeTheFirstStepInDeliveringTheBe: sl,
TenOffForLife: pl,
TheProtectionTabInParcelpanelTracki: ml,
Total: cl,
UnavailableAfterExceeded: Ol,
XPerAdditionalQuota: il,
XPerAdditionalReturn: ol,
default: Qv,
month: Zs,
quotaMonth: rl,
quotaYear: xl,
returnsMonth: al,
returnsYear: Sl
}, Symbol.toStringTag, { value: "Module" })), Fl = "최고 수준의 운송 보호 서비스를 제공하여 쇼핑 자신감을 높이고 고객 만족도를 개선하며 수익을 증대하십시오.", $l = "월별 결제", Il = "연간 결제 (20% 절약)", Al = "주문 추적과 몰입감 있는 브랜드 경험을 제공하여 WISMO 티켓 수를 줄이고 고객 충성도를 높이며 매출을 촉진하십시오.", Rl = "복잡함 없는 반품 및 매력적인 교환 경험을 제공하여 손실을 최소화하고 갈등을 줄이며 수익을 유지하십시오.", El = "월", wl = "100% ParcelWILL 추적 유료 가맹점에게 무료 ❤️", jl = "주문당 평균 {{x}}", Dl = "반품당 평균 {{x}}", Cl = "쿼터/월", Ll = "반품/월", Nl = "추가 쿼터당 {{x}}", Ml = "추가 반품당 {{x}}", Xl = "최고의 구매 후 경험을 제공하는 첫 걸음을 내딛으세요.", ql = "할인", Bl = "총액", zl = "이 요금제 선택", Yl = "요금제 취소", Hl = "첫 달 50% 할인, 이후 영구적으로 10% 할인", Ul = "평생 10% 할인", Wl = "{{x}}일 무료 체험 시작", Vl = "현재 요금제", Kl = "설치됨", Ql = "미설치", Gl = "ParcelWILL 추적의 '보호' 탭", Jl = "지금 설치", Zl = "작업 실패", ec = "작업 성공", tc = "다음 플랜", nc = "플랜 재개", rc = "초과 후 사용 불가", ac = "쿼터/년", ic = "반품/년", Jv = {
DeliverTopTierShippingProtectionSer: Fl,
PayMonthly: $l,
PayAnnuallySave_20: Il,
DeliverEngagingBrandOrderTrackingEx: Al,
DeliverHassleFreeReturnAndEnticing: Rl,
month: El,
OneHundredFreeForParcelpanelTrackingPaying: wl,
AvgXPerOrder: jl,
AvgXPerReturn: Dl,
quotaMonth: Cl,
returnsMonth: Ll,
XPerAdditionalQuota: Nl,
XPerAdditionalReturn: Ml,
TakeTheFirstStepInDeliveringTheBe: Xl,
Discount: ql,
Total: Bl,
ChooseThisPlan: zl,
CancelPlan: Yl,
FiftyOffYourFirstMonthThen_10OffFor: Hl,
TenOffForLife: Ul,
StartXDayFreeTrial: Wl,
CurrentPlan: Vl,
Installed: Kl,
NotInstalled: Ql,
TheProtectionTabInParcelpanelTracki: Gl,
InstallNow: Jl,
OperationFailed: Zl,
OperationSuccessful: ec,
NextPlan: tc,
ResumePlan: nc,
UnavailableAfterExceeded: rc,
quotaYear: ac,
returnsYear: ic
}, Zv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: jl,
AvgXPerReturn: Dl,
CancelPlan: Yl,
ChooseThisPlan: zl,
CurrentPlan: Vl,
DeliverEngagingBrandOrderTrackingEx: Al,
DeliverHassleFreeReturnAndEnticing: Rl,
DeliverTopTierShippingProtectionSer: Fl,
Discount: ql,
FiftyOffYourFirstMonthThen_10OffFor: Hl,
InstallNow: Jl,
Installed: Kl,
NextPlan: tc,
NotInstalled: Ql,
OneHundredFreeForParcelpanelTrackingPaying: wl,
OperationFailed: Zl,
OperationSuccessful: ec,
PayAnnuallySave_20: Il,
PayMonthly: $l,
ResumePlan: nc,
StartXDayFreeTrial: Wl,
TakeTheFirstStepInDeliveringTheBe: Xl,
TenOffForLife: Ul,
TheProtectionTabInParcelpanelTracki: Gl,
Total: Bl,
UnavailableAfterExceeded: rc,
XPerAdditionalQuota: Nl,
XPerAdditionalReturn: Ml,
default: Jv,
month: El,
quotaMonth: Cl,
quotaYear: ac,
returnsMonth: Ll,
returnsYear: ic
}, Symbol.toStringTag, { value: "Module" })), oc = "Levere topp-kvalitet fyringsbeskyttelse for å øke kjøpsslutning, kundetilfredshet og profitt.", sc = "Betale månedlig", lc = "Betale årlig (Spare 20%)", cc = "Levere engasjerende merkevare-bestillingsfølging for å redusere WISMO-saker, fremme kundetilfredshet og drive salg.", uc = "Levere problemfri retur og fristende veksling for å minimere tap, redusere motstand og beholde inntekter.", dc = "måned", fc = "100 % gratis for betalande handlere med ParcelWILL Tracking ❤️", pc = "Gjennomsnittlig {{x}} per ordre", gc = "Gjennomsnittlig {{x}} per retur", hc = "kvote/måned", Pc = "returer/måned", vc = "{{x}} per ekstra kvote", mc = "{{x}} per ekstra retur", Tc = "Ta første skritt i å levere den beste postkjøpsopplevelsen.", yc = "Rabatt", _c = "Totalt", bc = "Velg dette abonnementet", kc = "Avbryt planen", Oc = "50 % rabatt på din første måned, deretter 10 % rabatt for alltid", xc = "10 % rabatt for alltid", Sc = "Start {{x}}-dagers gratis prøveperiode", Fc = "Nåværende plan", $c = "Installert", Ic = "Ikke installert", Ac = "Beskyttelses-fanen i ParcelWILL Tracking", Rc = "Installer nå", Ec = "Operasjon feilet", wc = "Operasjon vellykket", jc = "Neste plan", Dc = "Gjenoppta plan", Cc = "Ikke tilgjengelig etter overskridelse", Lc = "kontingent/år", Nc = "returer/år", em = {
DeliverTopTierShippingProtectionSer: oc,
PayMonthly: sc,
PayAnnuallySave_20: lc,
DeliverEngagingBrandOrderTrackingEx: cc,
DeliverHassleFreeReturnAndEnticing: uc,
month: dc,
OneHundredFreeForParcelpanelTrackingPaying: fc,
AvgXPerOrder: pc,
AvgXPerReturn: gc,
quotaMonth: hc,
returnsMonth: Pc,
XPerAdditionalQuota: vc,
XPerAdditionalReturn: mc,
TakeTheFirstStepInDeliveringTheBe: Tc,
Discount: yc,
Total: _c,
ChooseThisPlan: bc,
CancelPlan: kc,
FiftyOffYourFirstMonthThen_10OffFor: Oc,
TenOffForLife: xc,
StartXDayFreeTrial: Sc,
CurrentPlan: Fc,
Installed: $c,
NotInstalled: Ic,
TheProtectionTabInParcelpanelTracki: Ac,
InstallNow: Rc,
OperationFailed: Ec,
OperationSuccessful: wc,
NextPlan: jc,
ResumePlan: Dc,
UnavailableAfterExceeded: Cc,
quotaYear: Lc,
returnsYear: Nc
}, tm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: pc,
AvgXPerReturn: gc,
CancelPlan: kc,
ChooseThisPlan: bc,
CurrentPlan: Fc,
DeliverEngagingBrandOrderTrackingEx: cc,
DeliverHassleFreeReturnAndEnticing: uc,
DeliverTopTierShippingProtectionSer: oc,
Discount: yc,
FiftyOffYourFirstMonthThen_10OffFor: Oc,
InstallNow: Rc,
Installed: $c,
NextPlan: jc,
NotInstalled: Ic,
OneHundredFreeForParcelpanelTrackingPaying: fc,
OperationFailed: Ec,
OperationSuccessful: wc,
PayAnnuallySave_20: lc,
PayMonthly: sc,
ResumePlan: Dc,
StartXDayFreeTrial: Sc,
TakeTheFirstStepInDeliveringTheBe: Tc,
TenOffForLife: xc,
TheProtectionTabInParcelpanelTracki: Ac,
Total: _c,
UnavailableAfterExceeded: Cc,
XPerAdditionalQuota: vc,
XPerAdditionalReturn: mc,
default: em,
month: dc,
quotaMonth: hc,
quotaYear: Lc,
returnsMonth: Pc,
returnsYear: Nc
}, Symbol.toStringTag, { value: "Module" })), Mc = "Bied topklasse verzekerde verzendingsdiensten aan om het winkelvertrouwen te vergroten, de klanttevredenheid te verbeteren en winst te genereren.", Xc = "Betaal maandelijks", qc = "Betaal jaarlijks (Bespaar 20%)", Bc = "Bied boeiende trackervaringen voor merporden om het aantal WISMO-tickets te verminderen, klantloyaliteit te bevorderen en de verkoop te stimuleren.", zc = "Bied een probleemloze retour- en aantrekkelijke ruilbeleving om verliezen te minimaliseren, wrijving te verminderen en inkomsten vast te houden.", Yc = "maand", Hc = "100% Gratis voor betalende merchants met ParcelWILL Tracking ❤️", Uc = "Gem. {{x}} per bestelling", Wc = "Gem. {{x}} per retour", Vc = "quotum/maand", Kc = "retours/maand", Qc = "{{x}} per extra quotum", Gc = "{{x}} per extra retour", Jc = "Zet de eerste stap in het bieden van de beste post-aankoopervaring.", Zc = "Korting", eu = "Totaal", tu = "Kies dit abonnement", nu = "Plan annuleren", ru = "50% korting op je eerste maand, daarna 10% korting voor de rest van de tijd", au = "10% korting voor altijd", iu = "Start een {{x}}-daagse gratis proefperiode", ou = "Huidig plan", su = "Geïnstalleerd", lu = "Niet geïnstalleerd", cu = "Het Bescherming tabblad in ParcelWILL Tracking", uu = "Installeer nu", du = "Bewerking mislukt", fu = "Bewerking geslaagd", pu = "Volgend plan", gu = "Hervat plan", hu = "Niet beschikbaar na overschrijding", Pu = "quota/jaar", vu = "retours/jaar", nm = {
DeliverTopTierShippingProtectionSer: Mc,
PayMonthly: Xc,
PayAnnuallySave_20: qc,
DeliverEngagingBrandOrderTrackingEx: Bc,
DeliverHassleFreeReturnAndEnticing: zc,
month: Yc,
OneHundredFreeForParcelpanelTrackingPaying: Hc,
AvgXPerOrder: Uc,
AvgXPerReturn: Wc,
quotaMonth: Vc,
returnsMonth: Kc,
XPerAdditionalQuota: Qc,
XPerAdditionalReturn: Gc,
TakeTheFirstStepInDeliveringTheBe: Jc,
Discount: Zc,
Total: eu,
ChooseThisPlan: tu,
CancelPlan: nu,
FiftyOffYourFirstMonthThen_10OffFor: ru,
TenOffForLife: au,
StartXDayFreeTrial: iu,
CurrentPlan: ou,
Installed: su,
NotInstalled: lu,
TheProtectionTabInParcelpanelTracki: cu,
InstallNow: uu,
OperationFailed: du,
OperationSuccessful: fu,
NextPlan: pu,
ResumePlan: gu,
UnavailableAfterExceeded: hu,
quotaYear: Pu,
returnsYear: vu
}, rm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: Uc,
AvgXPerReturn: Wc,
CancelPlan: nu,
ChooseThisPlan: tu,
CurrentPlan: ou,
DeliverEngagingBrandOrderTrackingEx: Bc,
DeliverHassleFreeReturnAndEnticing: zc,
DeliverTopTierShippingProtectionSer: Mc,
Discount: Zc,
FiftyOffYourFirstMonthThen_10OffFor: ru,
InstallNow: uu,
Installed: su,
NextPlan: pu,
NotInstalled: lu,
OneHundredFreeForParcelpanelTrackingPaying: Hc,
OperationFailed: du,
OperationSuccessful: fu,
PayAnnuallySave_20: qc,
PayMonthly: Xc,
ResumePlan: gu,
StartXDayFreeTrial: iu,
TakeTheFirstStepInDeliveringTheBe: Jc,
TenOffForLife: au,
TheProtectionTabInParcelpanelTracki: cu,
Total: eu,
UnavailableAfterExceeded: hu,
XPerAdditionalQuota: Qc,
XPerAdditionalReturn: Gc,
default: nm,
month: Yc,
quotaMonth: Vc,
quotaYear: Pu,
returnsMonth: Kc,
returnsYear: vu
}, Symbol.toStringTag, { value: "Module" })), mu = "Levere topp kvalitet på fraktsikringstjenester for å øke kjøpsslutning, kundetilfredshet og profitt.", Tu = "Betale månedlig", yu = "Betale årlig (Spar 20%)", _u = "Levere engasjerende merkevare-bestillingsfølging for å redusere WISMO-henvendelser, fremme kundetilholdenhet og drive salg.", bu = "Levere problemfri retur og fristende veksling for å minimere tap, redusere motstand og beholde inntekter.", ku = "måned", Ou = "100% gratis for ParcelWILL Tracking betalande selgere ❤️", xu = "Gjennomsnittlig {{x}} per ordre", Su = "Gjennomsnittlig {{x}} per retur", Fu = "kvote/måned", $u = "returer/måned", Iu = "{{x}} per ekstra kvote", Au = "{{x}} per ekstra retur", Ru = "Ta første skritt i å levere den beste post-kjøpsopplevelsen.", Eu = "Rabatt", wu = "Totalt", ju = "Velg dette abonnementet", Du = "Avslutt abonnement", Cu = "50% rabatt på din første måned, deretter 10% rabatt for alltid", Lu = "10% rabatt for alltid", Nu = "Start {{x}}-dagers gratisprøve", Mu = "Nåværende plan", Xu = "Installert", qu = "Ikke installert", Bu = "Verne-fanen i ParcelWILL Tracking", zu = "Installer nå", Yu = "Operasjon mislyktes", Hu = "Operasjon vellykket", Uu = "Neste plan", Wu = "Gjenoppta plan", Vu = "Utilgjengelig etter at det er overskredet", Ku = "kontingent/år", Qu = "returer/år", am = {
DeliverTopTierShippingProtectionSer: mu,
PayMonthly: Tu,
PayAnnuallySave_20: yu,
DeliverEngagingBrandOrderTrackingEx: _u,
DeliverHassleFreeReturnAndEnticing: bu,
month: ku,
OneHundredFreeForParcelpanelTrackingPaying: Ou,
AvgXPerOrder: xu,
AvgXPerReturn: Su,
quotaMonth: Fu,
returnsMonth: $u,
XPerAdditionalQuota: Iu,
XPerAdditionalReturn: Au,
TakeTheFirstStepInDeliveringTheBe: Ru,
Discount: Eu,
Total: wu,
ChooseThisPlan: ju,
CancelPlan: Du,
FiftyOffYourFirstMonthThen_10OffFor: Cu,
TenOffForLife: Lu,
StartXDayFreeTrial: Nu,
CurrentPlan: Mu,
Installed: Xu,
NotInstalled: qu,
TheProtectionTabInParcelpanelTracki: Bu,
InstallNow: zu,
OperationFailed: Yu,
OperationSuccessful: Hu,
NextPlan: Uu,
ResumePlan: Wu,
UnavailableAfterExceeded: Vu,
quotaYear: Ku,
returnsYear: Qu
}, im = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: xu,
AvgXPerReturn: Su,
CancelPlan: Du,
ChooseThisPlan: ju,
CurrentPlan: Mu,
DeliverEngagingBrandOrderTrackingEx: _u,
DeliverHassleFreeReturnAndEnticing: bu,
DeliverTopTierShippingProtectionSer: mu,
Discount: Eu,
FiftyOffYourFirstMonthThen_10OffFor: Cu,
InstallNow: zu,
Installed: Xu,
NextPlan: Uu,
NotInstalled: qu,
OneHundredFreeForParcelpanelTrackingPaying: Ou,
OperationFailed: Yu,
OperationSuccessful: Hu,
PayAnnuallySave_20: yu,
PayMonthly: Tu,
ResumePlan: Wu,
StartXDayFreeTrial: Nu,
TakeTheFirstStepInDeliveringTheBe: Ru,
TenOffForLife: Lu,
TheProtectionTabInParcelpanelTracki: Bu,
Total: wu,
UnavailableAfterExceeded: Vu,
XPerAdditionalQuota: Iu,
XPerAdditionalReturn: Au,
default: am,
month: ku,
quotaMonth: Fu,
quotaYear: Ku,
returnsMonth: $u,
returnsYear: Qu
}, Symbol.toStringTag, { value: "Module" })), Gu = "Dostarczaj usług ochrony przesyłek najwyższej klasy, aby zwiększyć zaufanie klientów do zakupów, poprawić satysfakcję i zwiększyć zyski.", Ju = "Płać miesięcznie", Zu = "Płać rocznie (Oszczędź 20%)", ed = "Dostarczaj angażujące doświadczenia śledzenia zamówień marki, aby zmniejszyć liczbę zgłoszeń WISMO, budować lojalność klientów i zwiększać sprzedaż.", td = "Zapewnij prosty proces zwrotów i atrakcyjne opcje wymiany, aby zminimalizować straty, ograniczyć tarcie i zachować przychody.", nd = "miesiąc", rd = "100% bezpłatnie dla sprzedawców płacących za ParcelWILL Tracking ❤️", ad = "Średnio {{x}} na zamówienie", id = "Średnio {{x}} na zwrot", od = "limit/miesiąc", sd = "zwroty/miesiąc", ld = "{{x}} za dodatkowy limit", cd = "{{x}} za dodatkowy zwrot", ud = "Podjęcie pierwszego kroku w dostarczaniu najlepszego doświadczenia po zakupach.", dd = "Rabat", fd = "Łącznie", pd = "Wybierz ten plan", gd = "Anuluj plan", hd = "50% zniżki na pierwszy miesiąc, następnie 10% zniżki przez całe działanie subskrypcji", Pd = "10% zniżki na stałe", vd = "Rozpocznij {{x}}-dniowy okres próbny", md = "Obecny plan", Td = "Zainstalowane", yd = "Nie zainstalowane", _d = "Karta Ochrona w ParcelWILL Tracking", bd = "Zainstaluj teraz", kd = "Operacja nieudana", Od = "Operacja zakończona pomyślnie", xd = "Następny plan", Sd = "Wznów plan", Fd = "Niedostępne po przekroczeniu", $d = "limit roczny", Id = "zwroty rocznie", om = {
DeliverTopTierShippingProtectionSer: Gu,
PayMonthly: Ju,
PayAnnuallySave_20: Zu,
DeliverEngagingBrandOrderTrackingEx: ed,
DeliverHassleFreeReturnAndEnticing: td,
month: nd,
OneHundredFreeForParcelpanelTrackingPaying: rd,
AvgXPerOrder: ad,
AvgXPerReturn: id,
quotaMonth: od,
returnsMonth: sd,
XPerAdditionalQuota: ld,
XPerAdditionalReturn: cd,
TakeTheFirstStepInDeliveringTheBe: ud,
Discount: dd,
Total: fd,
ChooseThisPlan: pd,
CancelPlan: gd,
FiftyOffYourFirstMonthThen_10OffFor: hd,
TenOffForLife: Pd,
StartXDayFreeTrial: vd,
CurrentPlan: md,
Installed: Td,
NotInstalled: yd,
TheProtectionTabInParcelpanelTracki: _d,
InstallNow: bd,
OperationFailed: kd,
OperationSuccessful: Od,
NextPlan: xd,
ResumePlan: Sd,
UnavailableAfterExceeded: Fd,
quotaYear: $d,
returnsYear: Id
}, sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: ad,
AvgXPerReturn: id,
CancelPlan: gd,
ChooseThisPlan: pd,
CurrentPlan: md,
DeliverEngagingBrandOrderTrackingEx: ed,
DeliverHassleFreeReturnAndEnticing: td,
DeliverTopTierShippingProtectionSer: Gu,
Discount: dd,
FiftyOffYourFirstMonthThen_10OffFor: hd,
InstallNow: bd,
Installed: Td,
NextPlan: xd,
NotInstalled: yd,
OneHundredFreeForParcelpanelTrackingPaying: rd,
OperationFailed: kd,
OperationSuccessful: Od,
PayAnnuallySave_20: Zu,
PayMonthly: Ju,
ResumePlan: Sd,
StartXDayFreeTrial: vd,
TakeTheFirstStepInDeliveringTheBe: ud,
TenOffForLife: Pd,
TheProtectionTabInParcelpanelTracki: _d,
Total: fd,
UnavailableAfterExceeded: Fd,
XPerAdditionalQuota: ld,
XPerAdditionalReturn: cd,
default: om,
month: nd,
quotaMonth: od,
quotaYear: $d,
returnsMonth: sd,
returnsYear: Id
}, Symbol.toStringTag, { value: "Module" })), Ad = "Ofereça serviços de proteção de envio de alta qualidade para aumentar a confiança na compra, melhorar a satisfação do cliente e aumentar os lucros.", Rd = "Pagar mensalmente", Ed = "Pagar anualmente (Economize 20%)", wd = "Ofereça experiências envolventes de rastreamento de pedidos da marca para reduzir tickets WISMO, fomentar a lealdade dos clientes e impulsionar as vendas.", jd = "Ofereça uma experiência tranquila de devolução e trocas atrativas para minimizar perdas, reduzir fricções e reter receita.", Dd = "mês", Cd = "100% gratuito para lojistas que pagam pelo ParcelWILL Tracking ❤️", Ld = "Média de {{x}} por pedido", Nd = "Média de {{x}} por devolução", Md = "cota/mês", Xd = "devoluções/mês", qd = "{{x}} por cota adicional", Bd = "{{x}} por devolução adicional", zd = "Dê o primeiro passo para oferecer a melhor experiência pós-compra.", Yd = "Desconto", Hd = "Total", Ud = "Escolher este plano", Wd = "Cancelar plano", Vd = "50% de desconto no primeiro mês, depois 10% de desconto pelo tempo que for assinante", Kd = "10% de desconto pelo tempo que for assinante", Qd = "Começar teste gratuito de {{x}} dias", Gd = "Plano atual", Jd = "Instalado", Zd = "Não instalado", ef = "A aba Proteção no ParcelWILL Tracking", tf = "Instalar agora", nf = "Operação falhou", rf = "Operação bem-sucedida", af = "Próximo Plano", of = "Retomar plano", sf = "Indisponível após excedido", lf = "cota/ano", cf = "devoluções/ano", lm = {
DeliverTopTierShippingProtectionSer: Ad,
PayMonthly: Rd,
PayAnnuallySave_20: Ed,
DeliverEngagingBrandOrderTrackingEx: wd,
DeliverHassleFreeReturnAndEnticing: jd,
month: Dd,
OneHundredFreeForParcelpanelTrackingPaying: Cd,
AvgXPerOrder: Ld,
AvgXPerReturn: Nd,
quotaMonth: Md,
returnsMonth: Xd,
XPerAdditionalQuota: qd,
XPerAdditionalReturn: Bd,
TakeTheFirstStepInDeliveringTheBe: zd,
Discount: Yd,
Total: Hd,
ChooseThisPlan: Ud,
CancelPlan: Wd,
FiftyOffYourFirstMonthThen_10OffFor: Vd,
TenOffForLife: Kd,
StartXDayFreeTrial: Qd,
CurrentPlan: Gd,
Installed: Jd,
NotInstalled: Zd,
TheProtectionTabInParcelpanelTracki: ef,
InstallNow: tf,
OperationFailed: nf,
OperationSuccessful: rf,
NextPlan: af,
ResumePlan: of,
UnavailableAfterExceeded: sf,
quotaYear: lf,
returnsYear: cf
}, cm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: Ld,
AvgXPerReturn: Nd,
CancelPlan: Wd,
ChooseThisPlan: Ud,
CurrentPlan: Gd,
DeliverEngagingBrandOrderTrackingEx: wd,
DeliverHassleFreeReturnAndEnticing: jd,
DeliverTopTierShippingProtectionSer: Ad,
Discount: Yd,
FiftyOffYourFirstMonthThen_10OffFor: Vd,
InstallNow: tf,
Installed: Jd,
NextPlan: af,
NotInstalled: Zd,
OneHundredFreeForParcelpanelTrackingPaying: Cd,
OperationFailed: nf,
OperationSuccessful: rf,
PayAnnuallySave_20: Ed,
PayMonthly: Rd,
ResumePlan: of,
StartXDayFreeTrial: Qd,
TakeTheFirstStepInDeliveringTheBe: zd,
TenOffForLife: Kd,
TheProtectionTabInParcelpanelTracki: ef,
Total: Hd,
UnavailableAfterExceeded: sf,
XPerAdditionalQuota: qd,
XPerAdditionalReturn: Bd,
default: lm,
month: Dd,
quotaMonth: Md,
quotaYear: lf,
returnsMonth: Xd,
returnsYear: cf
}, Symbol.toStringTag, { value: "Module" })), uf = "Ofereça serviços de proteção de envio de alta qualidade para aumentar a confiança na compra, melhorar a satisfação do cliente e aumentar os lucros.", df = "Pagar mensalmente", ff = "Pagar anualmente (Economize 20%)", pf = "Ofereça experiências envolventes de rastreamento de pedidos da marca para reduzir tickets WISMO, fomentar a lealdade dos clientes e impulsionar vendas.", gf = "Ofereça uma experiência tranquila de devolução e trocas atrativas para minimizar perdas, reduzir fricções e reter receita.", hf = "mês", Pf = "100% Gratuito para comerciantes que pagam pelo ParcelWILL Tracking ❤️", vf = "Média de {{x}} por encomenda", mf = "Média de {{x}} por devolução", Tf = "cota/mês", yf = "devoluções/mês", _f = "{{x}} por cota adicional", bf = "{{x}} por devolução adicional", kf = "Dê o primeiro passo para oferecer a melhor experiência pós-compra.", Of = "Desconto", xf = "Total", Sf = "Escolher este plano", Ff = "Cancelar plano", $f = "50% de desconto no primeiro mês, depois 10% de desconto pelo tempo que for assinante", If = "10% de desconto para sempre", Af = "Iniciar teste gratuito de {{x}} dias", Rf = "Plano atual", Ef = "Instalado", wf = "Não instalado", jf = "O separador Proteção no ParcelWILL Tracking", Df = "Instalar agora", Cf = "Operação falhou", Lf = "Operação bem-sucedida", Nf = "Próximo Plano", Mf = "Retomar plano", Xf = "Indisponível após excedido", qf = "cota/anual", Bf = "devoluções/anual", um = {
DeliverTopTierShippingProtectionSer: uf,
PayMonthly: df,
PayAnnuallySave_20: ff,
DeliverEngagingBrandOrderTrackingEx: pf,
DeliverHassleFreeReturnAndEnticing: gf,
month: hf,
OneHundredFreeForParcelpanelTrackingPaying: Pf,
AvgXPerOrder: vf,
AvgXPerReturn: mf,
quotaMonth: Tf,
returnsMonth: yf,
XPerAdditionalQuota: _f,
XPerAdditionalReturn: bf,
TakeTheFirstStepInDeliveringTheBe: kf,
Discount: Of,
Total: xf,
ChooseThisPlan: Sf,
CancelPlan: Ff,
FiftyOffYourFirstMonthThen_10OffFor: $f,
TenOffForLife: If,
StartXDayFreeTrial: Af,
CurrentPlan: Rf,
Installed: Ef,
NotInstalled: wf,
TheProtectionTabInParcelpanelTracki: jf,
InstallNow: Df,
OperationFailed: Cf,
OperationSuccessful: Lf,
NextPlan: Nf,
ResumePlan: Mf,
UnavailableAfterExceeded: Xf,
quotaYear: qf,
returnsYear: Bf
}, dm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: vf,
AvgXPerReturn: mf,
CancelPlan: Ff,
ChooseThisPlan: Sf,
CurrentPlan: Rf,
DeliverEngagingBrandOrderTrackingEx: pf,
DeliverHassleFreeReturnAndEnticing: gf,
DeliverTopTierShippingProtectionSer: uf,
Discount: Of,
FiftyOffYourFirstMonthThen_10OffFor: $f,
InstallNow: Df,
Installed: Ef,
NextPlan: Nf,
NotInstalled: wf,
OneHundredFreeForParcelpanelTrackingPaying: Pf,
OperationFailed: Cf,
OperationSuccessful: Lf,
PayAnnuallySave_20: ff,
PayMonthly: df,
ResumePlan: Mf,
StartXDayFreeTrial: Af,
TakeTheFirstStepInDeliveringTheBe: kf,
TenOffForLife: If,
TheProtectionTabInParcelpanelTracki: jf,
Total: xf,
UnavailableAfterExceeded: Xf,
XPerAdditionalQuota: _f,
XPerAdditionalReturn: bf,
default: um,
month: hf,
quotaMonth: Tf,
quotaYear: qf,
returnsMonth: yf,
returnsYear: Bf
}, Symbol.toStringTag, { value: "Module" })), zf = "Erbjuda toppmodern försäkringstjänst för frakt för att öka kundens självtillit, förbättra kundnöjdheten och öka vinsterna.", Yf = "Betala månatligen", Hf = "Betala årligen (Spara 20%)", Uf = "Erbbjud intressant orderföljning för varumärket för att minska WISMO-samtal, främja kundlojalitet och driva försäljningen.", Wf = "Erbbjud problemfri retur och lockande byte för att minimera förluster, minska konflikter och behålla intäkterna.", Vf = "månad", Kf = "100 % gratis för ParcelWILL Tracking betalande handlare ❤️", Qf = "Genomsnittligt {{x}} per order", Gf = "Genomsnittligt {{x}} per retur", Jf = "kvot/månad", Zf = "returer/månad", ep = "{{x}} per extra kvot", tp = "{{x}} per extra retur", np = "Ta det första steget mot att erbjuda bästa möjliga efterföljande kundupplevelse.", rp = "Rabatt", ap = "Totalt", ip = "Välj denna plan", op = "Avbryt planen", sp = "50% rabatt på din första månad, sedan 10% rabatt för resten av tiden", lp = "10% rabatt för livet", cp = "Börja {{x}}-dagars gratis provperiod", up = "Nuvarande plan", dp = "Installerad", fp = "Ej installerad", pp = "Fliken Skydd i ParcelWILL Tracking", gp = "Installera nu", hp = "Åtgärden misslyckades", Pp = "Åtgärden lyckades", vp = "Nästa plan", mp = "Återuppta plan", Tp = "Otillgänglig efter överskridande", yp = "kvot/år", _p = "returer/år", fm = {
DeliverTopTierShippingProtectionSer: zf,
PayMonthly: Yf,
PayAnnuallySave_20: Hf,
DeliverEngagingBrandOrderTrackingEx: Uf,
DeliverHassleFreeReturnAndEnticing: Wf,
month: Vf,
OneHundredFreeForParcelpanelTrackingPaying: Kf,
AvgXPerOrder: Qf,
AvgXPerReturn: Gf,
quotaMonth: Jf,
returnsMonth: Zf,
XPerAdditionalQuota: ep,
XPerAdditionalReturn: tp,
TakeTheFirstStepInDeliveringTheBe: np,
Discount: rp,
Total: ap,
ChooseThisPlan: ip,
CancelPlan: op,
FiftyOffYourFirstMonthThen_10OffFor: sp,
TenOffForLife: lp,
StartXDayFreeTrial: cp,
CurrentPlan: up,
Installed: dp,
NotInstalled: fp,
TheProtectionTabInParcelpanelTracki: pp,
InstallNow: gp,
OperationFailed: hp,
OperationSuccessful: Pp,
NextPlan: vp,
ResumePlan: mp,
UnavailableAfterExceeded: Tp,
quotaYear: yp,
returnsYear: _p
}, pm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: Qf,
AvgXPerReturn: Gf,
CancelPlan: op,
ChooseThisPlan: ip,
CurrentPlan: up,
DeliverEngagingBrandOrderTrackingEx: Uf,
DeliverHassleFreeReturnAndEnticing: Wf,
DeliverTopTierShippingProtectionSer: zf,
Discount: rp,
FiftyOffYourFirstMonthThen_10OffFor: sp,
InstallNow: gp,
Installed: dp,
NextPlan: vp,
NotInstalled: fp,
OneHundredFreeForParcelpanelTrackingPaying: Kf,
OperationFailed: hp,
OperationSuccessful: Pp,
PayAnnuallySave_20: Hf,
PayMonthly: Yf,
ResumePlan: mp,
StartXDayFreeTrial: cp,
TakeTheFirstStepInDeliveringTheBe: np,
TenOffForLife: lp,
TheProtectionTabInParcelpanelTracki: pp,
Total: ap,
UnavailableAfterExceeded: Tp,
XPerAdditionalQuota: ep,
XPerAdditionalReturn: tp,
default: fm,
month: Vf,
quotaMonth: Jf,
quotaYear: yp,
returnsMonth: Zf,
returnsYear: _p
}, Symbol.toStringTag, { value: "Module" })), bp = "มอบบริการปกป้องการจัดส่งอันดับหนึ่งเพื่อเพิ่มความมั่นใจในการซื้อของ ส่งเสริมความพึงพอใจลูกค้า และเพิ่มกำไร", kp = "ชำระรายเดือน", Op = "ชำระรายปี (ประหยัด 20%)", xp = "มอบประสบการณ์ติดตามคำสั่งซื้อแบรนด์ที่น่าสนใจเพื่อลดจำนวนตั๋ว WISMO เพิ่มความภักดีจากลูกค้า และกระตุ้นยอดขาย", Sp = "มอบประสบการณ์การคืนสินค้าแบบไร้ความยุ่งยากและการแลกเปลี่ยนที่น่าสนใจเพื่อลดความเสียหาย ลดข้อขัดข้อง และรักษายอดรายได้", Fp = "เดือน", $p = "ใช้งานฟรี 100% สำหรับผู้ขายที่ชำระเงินบริการ ParcelWILL Tracking ❤️", Ip = "เฉลี่ย {{x}} ต่อคำสั่งซื้อ", Ap = "เฉลี่ย {{x}} ต่อกลับสินค้า", Rp = "โควตา/เดือน", Ep = "คืนสินค้า/เดือน", wp = "{{x}} ต่อโควตาเพิ่มเติม", jp = "{{x}} ต่อกลับสินค้าเพิ่มเติม", Dp = "เริ่มก้าวแรกในการมอบประสบการณ์หลังการซื้อที่ดีที่สุด", Cp = "ส่วนลด", Lp = "รวมทั้งหมด", Np = "เลือกแผนนี้", Mp = "ยกเลิกแผน", Xp = "ส่วนลด 50% ในเดือนแรก จากนั้นส่วนลด 10% ตลอดอายุการใช้งาน", qp = "ส่วนลด 10% ตลอดอายุการใช้งาน", Bp = "เริ่มทดลองใช้งานฟรี {{x}} วัน", zp = "แผนปัจจุบัน", Yp = "ติดตั้งแล้ว", Hp = "ยังไม่ได้ติดตั้ง", Up = "แท็บ Protection ใน ParcelWILL Tracking", Wp = "ติดตั้งตอนนี้", Vp = "ดำเนินการล้มเหลว", Kp = "ดำเนินการสำเร็จ", Qp = "แผนถัดไป", Gp = "ดำเนินการแผนต่อ", Jp = "ไม่สามารถใช้งานได้หลังจากเกินจำนวนครั้งที่กำหนด", Zp = "โควตา/ปี", eg = "การคืนสินค้า/ปี", gm = {
DeliverTopTierShippingProtectionSer: bp,
PayMonthly: kp,
PayAnnuallySave_20: Op,
DeliverEngagingBrandOrderTrackingEx: xp,
DeliverHassleFreeReturnAndEnticing: Sp,
month: Fp,
OneHundredFreeForParcelpanelTrackingPaying: $p,
AvgXPerOrder: Ip,
AvgXPerReturn: Ap,
quotaMonth: Rp,
returnsMonth: Ep,
XPerAdditionalQuota: wp,
XPerAdditionalReturn: jp,
TakeTheFirstStepInDeliveringTheBe: Dp,
Discount: Cp,
Total: Lp,
ChooseThisPlan: Np,
CancelPlan: Mp,
FiftyOffYourFirstMonthThen_10OffFor: Xp,
TenOffForLife: qp,
StartXDayFreeTrial: Bp,
CurrentPlan: zp,
Installed: Yp,
NotInstalled: Hp,
TheProtectionTabInParcelpanelTracki: Up,
InstallNow: Wp,
OperationFailed: Vp,
OperationSuccessful: Kp,
NextPlan: Qp,
ResumePlan: Gp,
UnavailableAfterExceeded: Jp,
quotaYear: Zp,
returnsYear: eg
}, hm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: Ip,
AvgXPerReturn: Ap,
CancelPlan: Mp,
ChooseThisPlan: Np,
CurrentPlan: zp,
DeliverEngagingBrandOrderTrackingEx: xp,
DeliverHassleFreeReturnAndEnticing: Sp,
DeliverTopTierShippingProtectionSer: bp,
Discount: Cp,
FiftyOffYourFirstMonthThen_10OffFor: Xp,
InstallNow: Wp,
Installed: Yp,
NextPlan: Qp,
NotInstalled: Hp,
OneHundredFreeForParcelpanelTrackingPaying: $p,
OperationFailed: Vp,
OperationSuccessful: Kp,
PayAnnuallySave_20: Op,
PayMonthly: kp,
ResumePlan: Gp,
StartXDayFreeTrial: Bp,
TakeTheFirstStepInDeliveringTheBe: Dp,
TenOffForLife: qp,
TheProtectionTabInParcelpanelTracki: Up,
Total: Lp,
UnavailableAfterExceeded: Jp,
XPerAdditionalQuota: wp,
XPerAdditionalReturn: jp,
default: gm,
month: Fp,
quotaMonth: Rp,
quotaYear: Zp,
returnsMonth: Ep,
returnsYear: eg
}, Symbol.toStringTag, { value: "Module" })), tg = "Alışveriş güvenini artırmak, müşteri memnuniyetini yükseltmek ve karları artırmak için birinci sınıf sevkiyat koruma hizmetleri sunun.", ng = "Aylık ödeme yap", rg = "Yıllık öde (20% tasarruf edin)", ag = "WISMO taleplerini azaltmak, müşteri sadakatini artırmak ve satışları teşvik etmek için ilham verici marka sipariş takip deneyimi sunun.", ig = "Kayıp miktarını en aza indirgemek, sürtünmeleri azaltmak ve geliri korumak için sorunsuz iade ve cazip değiştirme deneyimi sunun.", og = "ay", sg = "ParcelWILL Tracking ödeme yapan satıcılar için %100 ücretsiz ❤️", lg = "Sipariş başına ortalama {{x}}", cg = "İade başına ortalama {{x}}", ug = "kota/ay", dg = "iadeler/ay", fg = "Ek kota başına {{x}}", pg = "Ek iade başına {{x}}", gg = "En iyi post-alışveriş deneyimini sunmada ilk adımı atın.", hg = "İndirim", Pg = "Toplam", vg = "Bu planı seçin", mg = "Planı iptal et", Tg = "İlk ay için %50 indirimli, ardından ömür boyu %10 indirimli", yg = "Ömür boyu %10 indirimli", _g = "{{x}} günlük ücretsiz deneme başlat", bg = "Mevcut plan", kg = "Yüklendi", Og = "Yüklenmedi", xg = "ParcelWILL Tracking'te Korumaya İlişkin Sekme", Sg = "Şimdi yükle", Fg = "İşlem başarısız oldu", $g = "İşlem başarılı", Ig = "Sonraki Plan", Ag = "Planı Devam Ettir", Rg = "Aşım sonrası kullanılamaz", Eg = "kota/yıl", wg = "iade/yıl", Pm = {
DeliverTopTierShippingProtectionSer: tg,
PayMonthly: ng,
PayAnnuallySave_20: rg,
DeliverEngagingBrandOrderTrackingEx: ag,
DeliverHassleFreeReturnAndEnticing: ig,
month: og,
OneHundredFreeForParcelpanelTrackingPaying: sg,
AvgXPerOrder: lg,
AvgXPerReturn: cg,
quotaMonth: ug,
returnsMonth: dg,
XPerAdditionalQuota: fg,
XPerAdditionalReturn: pg,
TakeTheFirstStepInDeliveringTheBe: gg,
Discount: hg,
Total: Pg,
ChooseThisPlan: vg,
CancelPlan: mg,
FiftyOffYourFirstMonthThen_10OffFor: Tg,
TenOffForLife: yg,
StartXDayFreeTrial: _g,
CurrentPlan: bg,
Installed: kg,
NotInstalled: Og,
TheProtectionTabInParcelpanelTracki: xg,
InstallNow: Sg,
OperationFailed: Fg,
OperationSuccessful: $g,
NextPlan: Ig,
ResumePlan: Ag,
UnavailableAfterExceeded: Rg,
quotaYear: Eg,
returnsYear: wg
}, vm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: lg,
AvgXPerReturn: cg,
CancelPlan: mg,
ChooseThisPlan: vg,
CurrentPlan: bg,
DeliverEngagingBrandOrderTrackingEx: ag,
DeliverHassleFreeReturnAndEnticing: ig,
DeliverTopTierShippingProtectionSer: tg,
Discount: hg,
FiftyOffYourFirstMonthThen_10OffFor: Tg,
InstallNow: Sg,
Installed: kg,
NextPlan: Ig,
NotInstalled: Og,
OneHundredFreeForParcelpanelTrackingPaying: sg,
OperationFailed: Fg,
OperationSuccessful: $g,
PayAnnuallySave_20: rg,
PayMonthly: ng,
ResumePlan: Ag,
StartXDayFreeTrial: _g,
TakeTheFirstStepInDeliveringTheBe: gg,
TenOffForLife: yg,
TheProtectionTabInParcelpanelTracki: xg,
Total: Pg,
UnavailableAfterExceeded: Rg,
XPerAdditionalQuota: fg,
XPerAdditionalReturn: pg,
default: Pm,
month: og,
quotaMonth: ug,
quotaYear: Eg,
returnsMonth: dg,
returnsYear: wg
}, Symbol.toStringTag, { value: "Module" })), jg = "提供顶级运输保护服务,以提升购物信心、增强客户满意度并增加利润。", Dg = "按月付费", Cg = "按年付费(节省20%)", Lg = "提供引人入胜的品牌订单追踪体验,以减少WISMO咨询票数、培养客户忠诚度并推动销售。", Ng = "提供无忧退货和吸引人的换货体验,以最小化损失、减少摩擦并保留收入。", Mg = "月", Xg = "100% 免费适用于ParcelWILL Tracking付费商户 ❤️", qg = "每单平均 {{x}}", Bg = "每退货单平均 {{x}}", zg = "配额/月", Yg = "退货单/月", Hg = "每额外配额 {{x}}", Ug = "每额外退货单 {{x}}", Wg = "迈出提供最佳售后体验的第一步。", Vg = "折扣", Kg = "总计", Qg = "选择此计划", Gg = "取消计划", Jg = "首月五折,之后终身一折", Zg = "终身九折优惠", eh = "开始 {{x}} 天免费试用", th = "当前计划", nh = "已安装", rh = "未安装", ah = "ParcelWILL Tracking 中的运输保险菜单栏", ih = "立即安装", oh = "操作失败", sh = "操作成功", lh = "下一个计划", ch = "恢复计划", uh = "超过后不可用", dh = "配额/年", fh = "退货/年", mm = {
DeliverTopTierShippingProtectionSer: jg,
PayMonthly: Dg,
PayAnnuallySave_20: Cg,
DeliverEngagingBrandOrderTrackingEx: Lg,
DeliverHassleFreeReturnAndEnticing: Ng,
month: Mg,
OneHundredFreeForParcelpanelTrackingPaying: Xg,
AvgXPerOrder: qg,
AvgXPerReturn: Bg,
quotaMonth: zg,
returnsMonth: Yg,
XPerAdditionalQuota: Hg,
XPerAdditionalReturn: Ug,
TakeTheFirstStepInDeliveringTheBe: Wg,
Discount: Vg,
Total: Kg,
ChooseThisPlan: Qg,
CancelPlan: Gg,
FiftyOffYourFirstMonthThen_10OffFor: Jg,
TenOffForLife: Zg,
StartXDayFreeTrial: eh,
CurrentPlan: th,
Installed: nh,
NotInstalled: rh,
TheProtectionTabInParcelpanelTracki: ah,
InstallNow: ih,
OperationFailed: oh,
OperationSuccessful: sh,
NextPlan: lh,
ResumePlan: ch,
UnavailableAfterExceeded: uh,
quotaYear: dh,
returnsYear: fh
}, Tm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: qg,
AvgXPerReturn: Bg,
CancelPlan: Gg,
ChooseThisPlan: Qg,
CurrentPlan: th,
DeliverEngagingBrandOrderTrackingEx: Lg,
DeliverHassleFreeReturnAndEnticing: Ng,
DeliverTopTierShippingProtectionSer: jg,
Discount: Vg,
FiftyOffYourFirstMonthThen_10OffFor: Jg,
InstallNow: ih,
Installed: nh,
NextPlan: lh,
NotInstalled: rh,
OneHundredFreeForParcelpanelTrackingPaying: Xg,
OperationFailed: oh,
OperationSuccessful: sh,
PayAnnuallySave_20: Cg,
PayMonthly: Dg,
ResumePlan: ch,
StartXDayFreeTrial: eh,
TakeTheFirstStepInDeliveringTheBe: Wg,
TenOffForLife: Zg,
TheProtectionTabInParcelpanelTracki: ah,
Total: Kg,
UnavailableAfterExceeded: uh,
XPerAdditionalQuota: Hg,
XPerAdditionalReturn: Ug,
default: mm,
month: Mg,
quotaMonth: zg,
quotaYear: dh,
returnsMonth: Yg,
returnsYear: fh
}, Symbol.toStringTag, { value: "Module" })), ph = "提供頂級的運輸保障服務,提升購物信心、增強客戶滿意度並增加利潤。", gh = "按月付費", hh = "按年付費(節省 20%)", Ph = "提供引人入勝的品牌訂單追蹤體驗,減少 WISMO 查詢票數、培養客戶忠誠度並促進銷售。", vh = "提供無痛退貨與吸引人的換貨體驗,最大限度減少損失、降低摩擦並保留收入。", mh = "個月", Th = "100% 免費提供給使用 ParcelWILL 追蹤功能的付費用戶 ❤️", yh = "平均每筆訂單 {{x}}", _h = "平均每筆退貨 {{x}}", bh = "配額/每月", kh = "退貨/每月", Oh = "每增加一個配額為 {{x}}", xh = "每增加一筆退貨為 {{x}}", Sh = "邁出提供最佳購後體驗的第一步。", Fh = "折扣", $h = "總計", Ih = "選擇此方案", Ah = "取消方案", Rh = "首月享 50% 折扣,之後永久享有 10% 折扣", Eh = "終身享有 10% 折扣", wh = "啟動 {{x}} 天免費試用", jh = "目前方案", Dh = "已安裝", Ch = "未安裝", Lh = "ParcelWILL 追蹤中的「保障」分頁", Nh = "立即安裝", Mh = "操作失敗", Xh = "操作成功", qh = "下一個方案", Bh = "恢復方案", zh = "超過後不可用", Yh = "配額/年", Hh = "退貨/年", ym = {
DeliverTopTierShippingProtectionSer: ph,
PayMonthly: gh,
PayAnnuallySave_20: hh,
DeliverEngagingBrandOrderTrackingEx: Ph,
DeliverHassleFreeReturnAndEnticing: vh,
month: mh,
OneHundredFreeForParcelpanelTrackingPaying: Th,
AvgXPerOrder: yh,
AvgXPerReturn: _h,
quotaMonth: bh,
returnsMonth: kh,
XPerAdditionalQuota: Oh,
XPerAdditionalReturn: xh,
TakeTheFirstStepInDeliveringTheBe: Sh,
Discount: Fh,
Total: $h,
ChooseThisPlan: Ih,
CancelPlan: Ah,
FiftyOffYourFirstMonthThen_10OffFor: Rh,
TenOffForLife: Eh,
StartXDayFreeTrial: wh,
CurrentPlan: jh,
Installed: Dh,
NotInstalled: Ch,
TheProtectionTabInParcelpanelTracki: Lh,
InstallNow: Nh,
OperationFailed: Mh,
OperationSuccessful: Xh,
NextPlan: qh,
ResumePlan: Bh,
UnavailableAfterExceeded: zh,
quotaYear: Yh,
returnsYear: Hh
}, _m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
AvgXPerOrder: yh,
AvgXPerReturn: _h,
CancelPlan: Ah,
ChooseThisPlan: Ih,
CurrentPlan: jh,
DeliverEngagingBrandOrderTrackingEx: Ph,
DeliverHassleFreeReturnAndEnticing: vh,
DeliverTopTierShippingProtectionSer: ph,
Discount: Fh,
FiftyOffYourFirstMonthThen_10OffFor: Rh,
InstallNow: Nh,
Installed: Dh,
NextPlan: qh,
NotInstalled: Ch,
OneHundredFreeForParcelpanelTrackingPaying: Th,
OperationFailed: Mh,
OperationSuccessful: Xh,
PayAnnuallySave_20: hh,
PayMonthly: gh,
ResumePlan: Bh,
StartXDayFreeTrial: wh,
TakeTheFirstStepInDeliveringTheBe: Sh,
TenOffForLife: Eh,
TheProtectionTabInParcelpanelTracki: Lh,
Total: $h,
UnavailableAfterExceeded: zh,
XPerAdditionalQuota: Oh,
XPerAdditionalReturn: xh,
default: ym,
month: mh,
quotaMonth: bh,
quotaYear: Yh,
returnsMonth: kh,
returnsYear: Hh
}, Symbol.toStringTag, { value: "Module" })), S = (n) => typeof n == "string", De = () => {
let n, e;
const t = new Promise((r, a) => {
n = r, e = a;
});
return t.resolve = n, t.reject = e, t;
}, cn = (n) => n == null ? "" : "" + n, bm = (n, e, t) => {
n.forEach((r) => {
e[r] && (t[r] = e[r]);
});
}, km = /###/g, un = (n) => n && n.indexOf("###") > -1 ? n.replace(km, ".") : n, dn = (n) => !n || S(n), Ce = (n, e, t) => {
const r = S(e) ? e.split(".") : e;
let a = 0;
for (; a < r.length - 1; ) {
if (dn(n)) return {};
const i = un(r[a]);
!n[i] && t && (n[i] = new t()), Object.prototype.hasOwnProperty.call(n, i) ? n = n[i] : n = {}, ++a;
}
return dn(n) ? {} : {
obj: n,
k: un(r[a])
};
}, fn = (n, e, t) => {
const {
obj: r,
k: a
} = Ce(n, e, Object);
if (r !== void 0 || e.length === 1) {
r[a] = t;
return;
}
let i = e[e.length - 1], o = e.slice(0, e.length - 1), s = Ce(n, o, Object);
for (; s.obj === void 0 && o.length; )
i = `${o[o.length - 1]}.${i}`, o = o.slice(0, o.length - 1), s = Ce(n, o, Object), s != null && s.obj && typeof s.obj[`${s.k}.${i}`] < "u" && (s.obj = void 0);
s.obj[`${s.k}.${i}`] = t;
}, Om = (n, e, t, r) => {
const {
obj: a,
k: i
} = Ce(n, e, Object);
a[i] = a[i] || [], a[i].push(t);
}, tt = (n, e) => {
const {
obj: t,
k: r
} = Ce(n, e);
if (t && Object.prototype.hasOwnProperty.call(t, r))
return t[r];
}, xm = (n, e, t) => {
const r = tt(n, t);
return r !== void 0 ? r : tt(e, t);
}, Uh = (n, e, t) => {
for (const r in e)
r !== "__proto__" && r !== "constructor" && (r in n ? S(n[r]) || n[r] instanceof String || S(e[r]) || e[r] instanceof String ? t && (n[r] = e[r]) : Uh(n[r], e[r], t) : n[r] = e[r]);
return n;
}, be = (n) => n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
var Sm = {
"&": "&",
"<": "<",
">": ">",
'"': """,
"'": "'",
"/": "/"
};
const Fm = (n) => S(n) ? n.replace(/[&<>"'\/]/g, (e) => Sm[e]) : n;
class $m {
constructor(e) {
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
}
getRegExp(e) {
const t = this.regExpMap.get(e);
if (t !== void 0)
return t;
const r = new RegExp(e);
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, r), this.regExpQueue.push(e), r;
}
}
const Im = [" ", ",", "?", "!", ";"], Am = new $m(20), Rm = (n, e, t) => {
e = e || "", t = t || "";
const r = Im.filter((o) => e.indexOf(o) < 0 && t.indexOf(o) < 0);
if (r.length === 0) return !0;
const a = Am.getRegExp(`(${r.map((o) => o === "?" ? "\\?" : o).join("|")})`);
let i = !a.test(n);
if (!i) {
const o = n.indexOf(t);
o > 0 && !a.test(n.substring(0, o)) && (i = !0);
}
return i;
}, It = (n, e, t = ".") => {
if (!n) return;
if (n[e])
return Object.prototype.hasOwnProperty.call(n, e) ? n[e] : void 0;
const r = e.split(t);
let a = n;
for (let i = 0; i < r.length; ) {
if (!a || typeof a != "object")
return;
let o, s = "";
for (let l = i; l < r.length; ++l)
if (l !== i && (s += t), s += r[l], o = a[s], o !== void 0) {
if (["string", "number", "boolean"].indexOf(typeof o) > -1 && l < r.length - 1)
continue;
i += l - i + 1;
break;
}
a = o;
}
return a;
}, Ne = (n) => n == null ? void 0 : n.replace("_", "-"), Em = {
type: "logger",
log(n) {
this.output("log", n);
},
warn(n) {
this.output("warn", n);
},
error(n) {
this.output("error", n);
},
output(n, e) {
var t, r;
(r = (t = console == null ? void 0 : console[n]) == null ? void 0 : t.apply) == null || r.call(t, console, e);
}
};
class nt {
constructor(e, t = {}) {
this.init(e, t);
}
init(e, t = {}) {
this.prefix = t.prefix || "i18next:", this.logger = e || Em, this.options = t, this.debug = t.debug;
}
log(...e) {
return this.forward(e, "log", "", !0);
}
warn(...e) {
return this.forward(e, "warn", "", !0);
}
error(...e) {
return this.forward(e, "error", "");
}
deprecate(...e) {
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
}
forward(e, t, r, a) {
return a && !this.debug ? null : (S(e[0]) && (e[0] = `${r}${this.prefix} ${e[0]}`), this.logger[t](e));
}
create(e) {
return new nt(this.logger, {
prefix: `${this.prefix}:${e}:`,
...this.options
});
}
clone(e) {
return e = e || this.options, e.prefix = e.prefix || this.prefix, new nt(this.logger, e);
}
}
var ae = new nt();
class it {
constructor() {
this.observers = {};
}
on(e, t) {
return e.split(" ").forEach((r) => {
this.observers[r] || (this.observers[r] = /* @__PURE__ */ new Map());
const a = this.observers[r].get(t) || 0;
this.observers[r].set(t, a + 1);
}), this;
}
off(e, t) {
if (this.observers[e]) {
if (!t) {
delete this.observers[e];
return;
}
this.observers[e].delete(t);
}
}
emit(e, ...t) {
this.observers[e] && Array.from(this.observers[e].entries()).forEach(([a, i]) => {
for (let o = 0; o < i; o++)
a(...t);
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([a, i]) => {
for (let o = 0; o < i; o++)
a.apply(a, [e, ...t]);
});
}
}
class pn extends it {
constructor(e, t = {
ns: ["translation"],
defaultNS: "translation"
}) {
super(), this.data = e || {}, this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0);
}
addNamespaces(e) {
this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
}
removeNamespaces(e) {
const t = this.options.ns.indexOf(e);
t > -1 && this.options.ns.splice(t, 1);
}
getResource(e, t, r, a = {}) {
var c, d;
const i = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator, o = a.ignoreJSONStructure !== void 0 ? a.ignoreJSONStructure : this.options.ignoreJSONStructure;
let s;
e.indexOf(".") > -1 ? s = e.split(".") : (s = [e, t], r && (Array.isArray(r) ? s.push(...r) : S(r) && i ? s.push(...r.split(i)) : s.push(r)));
const l = tt(this.data, s);
return !l && !t && !r && e.indexOf(".") > -1 && (e = s[0], t = s[1], r = s.slice(2).join(".")), l || !o || !S(r) ? l : It((d = (c = this.data) == null ? void 0 : c[e]) == null ? void 0 : d[t], r, i);
}
addResource(e, t, r, a, i = {
silent: !1
}) {
const o = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator;
let s = [e, t];
r && (s = s.concat(o ? r.split(o) : r)), e.indexOf(".") > -1 && (s = e.split("."), a = t, t = s[1]), this.addNamespaces(t), fn(this.data, s, a), i.silent || this.emit("added", e, t, r, a);
}
addResources(e, t, r, a = {
silent: !1
}) {
for (const i in r)
(S(r[i]) || Array.isArray(r[i])) && this.addResource(e, t, i, r[i], {
silent: !0
});
a.silent || this.emit("added", e, t, r);
}
addResourceBundle(e, t, r, a, i, o = {
silent: !1,
skipCopy: !1
}) {
let s = [e, t];
e.indexOf(".") > -1 && (s = e.split("."), a = r, r = t, t = s[1]), this.addNamespaces(t);
let l = tt(this.data, s) || {};
o.skipCopy || (r = JSON.parse(JSON.stringify(r))), a ? Uh(l, r, i) : l = {
...l,
...r
}, fn(this.data, s, l), o.silent || this.emit("added", e, t, r);
}
removeResourceBundle(e, t) {
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
}
hasResourceBundle(e, t) {
return this.getResource(e, t) !== void 0;
}
getResourceBundle(e, t) {
return t || (t = this.options.defaultNS), this.getResource(e, t);
}
getDataByLanguage(e) {
return this.data[e];
}
hasLanguageSomeTranslations(e) {
const t = this.getDataByLanguage(e);
return !!(t && Object.keys(t) || []).find((a) => t[a] && Object.keys(t[a]).length > 0);
}
toJSON() {
return this.data;
}
}
var Wh = {
processors: {},
addPostProcessor(n) {
this.processors[n.name] = n;
},
handle(n, e, t, r, a) {
return n.forEach((i) => {
var o;
e = ((o = this.processors[i]) == null ? void 0 : o.process(e, t, r, a)) ?? e;
}), e;
}
};
const gn = {}, hn = (n) => !S(n) && typeof n != "boolean" && typeof n != "number";
class rt extends it {
constructor(e, t = {}) {
super(), bm(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = ae.create("translator");
}
changeLanguage(e) {
e && (this.language = e);
}
exists(e, t = {
interpolation: {}
}) {
const r = {
...t
};
if (e == null) return !1;
const a = this.resolve(e, r);
return (a == null ? void 0 : a.res) !== void 0;
}
extractFromKey(e, t) {
let r = t.nsSeparator !== void 0 ? t.nsSeparator : this.options.nsSeparator;
r === void 0 && (r = ":");
const a = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
let i = t.ns || this.options.defaultNS || [];
const o = r && e.indexOf(r) > -1, s = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Rm(e, r, a);
if (o && !s) {
const l = e.match(this.interpolator.nestingRegexp);
if (l && l.length > 0)
return {
key: e,
namespaces: S(i) ? [i] : i
};
const c = e.split(r);
(r !== a || r === a && this.options.ns.indexOf(c[0]) > -1) && (i = c.shift()), e = c.join(a);
}
return {
key: e,
namespaces: S(i) ? [i] : i
};
}
translate(e, t, r) {
let a = typeof t == "object" ? {
...t
} : t;
if (typeof a != "object" && this.options.overloadTranslationOptionHandler && (a = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (a = {
...a
}), a || (a = {}), e == null) return "";
Array.isArray(e) || (e = [String(e)]);
const i = a.returnDetails !== void 0 ? a.returnDetails : this.options.returnDetails, o = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator, {
key: s,
namespaces: l
} = this.extractFromKey(e[e.length - 1], a), c = l[l.length - 1];
let d = a.nsSeparator !== void 0 ? a.nsSeparator : this.options.nsSeparator;
d === void 0 && (d = ":");
const f = a.lng || this.language, T = a.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
if ((f == null ? void 0 : f.toLowerCase()) === "cimode")
return T ? i ? {
res: `${c}${d}${s}`,
usedKey: s,
exactUsedKey: s,
usedLng: f,
usedNS: c,
usedParams: this.getUsedParamsDetails(a)
} : `${c}${d}${s}` : i ? {
res: s,
usedKey: s,
exactUsedKey: s,
usedLng: f,
usedNS: c,
usedParams: this.getUsedParamsDetails(a)
} : s;
const P = this.resolve(e, a);
let v = P == null ? void 0 : P.res;
const k = (P == null ? void 0 : P.usedKey) || s, O = (P == null ? void 0 : P.exactUsedKey) || s, m = ["[object Number]", "[object Function]", "[object RegExp]"], b = a.joinArrays !== void 0 ? a.joinArrays : this.options.joinArrays, C = !this.i18nFormat || this.i18nFormat.handleAsObject, I = a.count !== void 0 && !S(a.count), w = rt.hasDefaultValue(a), j = I ? this.pluralResolver.getSuffix(f, a.count, a) : "", X = a.ordinal && I ? this.pluralResolver.getSuffix(f, a.count, {
ordinal: !1
}) : "", F = I && !a.ordinal && a.count === 0, $ = F && a[`defaultValue${this.options.pluralSeparator}zero`] || a[`defaultValue${j}`] || a[`defaultValue${X}`] || a.defaultValue;
let A = v;
C && !v && w && (A = $);
const q = hn(A), ee = Object.prototype.toString.apply(A);
if (C && A && q && m.indexOf(ee) < 0 && !(S(b) && Array.isArray(A))) {
if (!a.returnObjects && !this.options.returnObjects) {
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
const M = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(k, A, {
...a,
ns: l
}) : `key '${s} (${this.language})' returned an object instead of string.`;
return i ? (P.res = M, P.usedParams = this.getUsedParamsDetails(a), P) : M;
}
if (o) {
const M = Array.isArray(A), B = M ? [] : {}, le = M ? O : k;
for (const Q in A)
if (Object.prototype.hasOwnProperty.call(A, Q)) {
const G = `${le}${o}${Q}`;
w && !v ? B[Q] = this.translate(G, {
...a,
defaultValue: hn($) ? $[Q] : void 0,
joinArrays: !1,
ns: l
}) : B[Q] = this.translate(G, {
...a,
joinArrays: !1,
ns: l
}), B[Q] === G && (B[Q] = A[Q]);
}
v = B;
}
} else if (C && S(b) && Array.isArray(v))
v = v.join(b), v && (v = this.extendTranslation(v, e, a, r));
else {
let M = !1, B = !1;
!this.isValidLookup(v) && w && (M = !0, v = $), this.isValidLookup(v) || (B = !0, v = s);
const Q = (a.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && B ? void 0 : v, G = w && $ !== v && this.options.updateMissing;
if (B || M || G) {
if (this.logger.log(G ? "updateKey" : "missingKey", f, c, s, G ? $ : v), o) {
const W = this.resolve(s, {
...a,
keySeparator: !1
});
W && W.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
}
let ce = [];
const he = this.languageUtils.getFallbackCodes(this.options.fallbackLng, a.lng || this.language);
if (this.options.saveMissingTo === "fallback" && he && he[0])
for (let W = 0; W < he.length; W++)
ce.push(he[W]);
else this.options.saveMissingTo === "all" ? ce = this.languageUtils.toResolveHierarchy(a.lng || this.language) : ce.push(a.lng || this.language);
const Ie = (W, ne, ue) => {
var He;
const Ye = w && ue !== v ? ue : Q;
this.options.missingKeyHandler ? this.options.missingKeyHandler(W, c, ne, Ye, G, a) : (He = this.backendConnector) != null && He.saveMissing && this.backendConnector.saveMissing(W, c, ne, Ye, G, a), this.emit("missingKey", W, c, ne, v);
};
this.options.saveMissing && (this.options.saveMissingPlurals && I ? ce.forEach((W) => {
const ne = this.pluralResolver.getSuffixes(W, a);
F && a[`defaultValue${this.options.pluralSeparator}zero`] && ne.indexOf(`${this.options.pluralSeparator}zero`) < 0 && ne.push(`${this.options.pluralSeparator}zero`), ne.forEach((ue) => {
Ie([W], s + ue, a[`defaultValue${ue}`] || $);
});
}) : Ie(ce, s, $));
}
v = this.extendTranslation(v, e, a, P, r), B && v === s && this.options.appendNamespaceToMissingKey && (v = `${c}${d}${s}`), (B || M) && this.options.parseMissingKeyHandler && (v = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${d}${s}` : s, M ? v : void 0, a));
}
return i ? (P.res = v, P.usedParams = this.getUsedParamsDetails(a), P) : v;
}
extendTranslation(e, t, r, a, i) {
var l, c;
if ((l = this.i18nFormat) != null && l.parse)
e = this.i18nFormat.parse(e, {
...this.options.interpolation.defaultVariables,
...r
}, r.lng || this.language || a.usedLng, a.usedNS, a.usedKey, {
resolved: a
});
else if (!r.skipInterpolation) {
r.interpolation && this.interpolator.init({
...r,
interpolation: {
...this.options.interpolation,
...r.interpolation
}
});
const d = S(e) && (((c = r == null ? void 0 : r.interpolation) == null ? void 0 : c.skipOnVariables) !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
let f;
if (d) {
const P = e.match(this.interpolator.nestingRegexp);
f = P && P.length;
}
let T = r.replace && !S(r.replace) ? r.replace : r;
if (this.options.interpolation.defaultVariables && (T = {
...this.options.interpolation.defaultVariables,
...T
}), e = this.interpolator.interpolate(e, T, r.lng || this.language || a.usedLng, r), d) {
const P = e.match(this.interpolator.nestingRegexp), v = P && P.length;
f < v && (r.nest = !1);
}
!r.lng && a && a.res && (r.lng = this.language || a.usedLng), r.nest !== !1 && (e = this.interpolator.nest(e, (...P) => (i == null ? void 0 : i[0]) === P[0] && !r.context ? (this.logger.warn(`It seems you are nesting recursively key: ${P[0]} in key: ${t[0]}`), null) : this.translate(...P, t), r)), r.interpolation && this.interpolator.reset();
}
const o = r.postProcess || this.options.postProcess, s = S(o) ? [o] : o;
return e != null && (s != null && s.length) && r.applyPostProcessor !== !1 && (e = Wh.handle(s, e, t, this.options && this.options.postProcessPassResolved ? {
i18nResolved: {
...a,
usedParams: this.getUsedParamsDetails(r)
},
...r
} : r, this)), e;
}
resolve(e, t = {}) {
let r, a, i, o, s;
return S(e) && (e = [e]), e.forEach((l) => {
if (this.isValidLookup(r)) return;
const c = this.extractFromKey(l, t), d = c.key;
a = d;
let f = c.namespaces;
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
const T = t.count !== void 0 && !S(t.count), P = T && !t.ordinal && t.count === 0, v = t.context !== void 0 && (S(t.context) || typeof t.context == "number") && t.context !== "", k = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
f.forEach((O) => {
var m, b;
this.isValidLookup(r) || (s = O, !gn[`${k[0]}-${O}`] && ((m = this.utils) != null && m.hasLoadedNamespace) && !((b = this.utils) != null && b.hasLoadedNamespace(s)) && (gn[`${k[0]}-${O}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((C) => {
var j;
if (this.isValidLookup(r)) return;
o = C;
const I = [d];
if ((j = this.i18nFormat) != null && j.addLookupKeys)
this.i18nFormat.addLookupKeys(I, d, C, O, t);
else {
let X;
T && (X = this.pluralResolver.getSuffix(C, t.count, t));
const F = `${this.options.pluralSeparator}zero`, $ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
if (T && (I.push(d + X), t.ordinal && X.indexOf($) === 0 && I.push(d + X.replace($, this.options.pluralSeparator)), P && I.push(d + F)), v) {
const A = `${d}${this.options.contextSeparator}${t.context}`;
I.push(A), T && (I.push(A + X), t.ordinal && X.indexOf($) === 0 && I.push(A + X.replace($, this.options.pluralSeparator)), P && I.push(A + F));
}
}
let w;
for (; w = I.pop(); )
this.isValidLookup(r) || (i = w, r = this.getResource(C, O, w, t));
}));
});
}), {
res: r,
usedKey: a,
exactUsedKey: i,
usedLng: o,
usedNS: s
};
}
isValidLookup(e) {
return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === "");
}
getResource(e, t, r, a = {}) {
var i;
return (i = this.i18nFormat) != null && i.getResource ? this.i18nFormat.getResource(e, t, r, a) : this.resourceStore.getResource(e, t, r, a);
}
getUsedParamsDetails(e = {}) {
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = e.replace && !S(e.replace);
let a = r ? e.replace : e;
if (r && typeof e.count < "u" && (a.count = e.count), this.options.interpolation.defaultVariables && (a = {
...this.options.interpolation.defaultVariables,
...a
}), !r) {
a = {
...a
};
for (const i of t)
delete a[i];
}
return a;
}
static hasDefaultValue(e) {
const t = "defaultValue";
for (const r in e)
if (Object.prototype.hasOwnProperty.call(e, r) && t === r.substring(0, t.length) && e[r] !== void 0)
return !0;
return !1;
}
}
class Pn {
constructor(e) {
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ae.create("languageUtils");
}
getScriptPartFromCode(e) {
if (e = Ne(e), !e || e.indexOf("-") < 0) return null;
const t = e.split("-");
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
}
getLanguagePartFromCode(e) {
if (e = Ne(e), !e || e.indexOf("-") < 0) return e;
const t = e.split("-");
return this.formatLanguageCode(t[0]);
}
formatLanguageCode(e) {
if (S(e) && e.indexOf("-") > -1) {
let t;
try {
t = Intl.getCanonicalLocales(e)[0];
} catch {
}
return t && this.options.lowerCaseLng && (t = t.toLowerCase()), t || (this.options.lowerCaseLng ? e.toLowerCase() : e);
}
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
}
isSupportedCode(e) {
return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (e = this.getLanguagePartFromCode(e)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(e) > -1;
}
getBestMatchFromCodes(e) {
if (!e) return null;
let t;
return e.forEach((r) => {
if (t) return;
const a = this.formatLanguageCode(r);
(!this.options.supportedLngs || this.isSupportedCode(a)) && (t = a);
}), !t && this.options.supportedLngs && e.forEach((r) => {
if (t) return;
const a = this.getScriptPartFromCode(r);
if (this.isSupportedCode(a)) return t = a;
const i = this.getLanguagePartFromCode(r);
if (this.isSupportedCode(i)) return t = i;
t = this.options.supportedLngs.find((o) => {
if (o === i) return o;
if (!(o.indexOf("-") < 0 && i.indexOf("-") < 0) && (o.indexOf("-") > 0 && i.indexOf("-") < 0 && o.substring(0, o.indexOf("-")) === i || o.indexOf(i) === 0 && i.length > 1))
return o;
});
}), t || (t = this.getFallbackCodes(this.options.fallbackLng)[0]), t;
}
getFallbackCodes(e, t) {
if (!e) return [];
if (typeof e == "function" && (e = e(t)), S(e) && (e = [e]), Array.isArray(e)) return e;
if (!t) return e.default || [];
let r = e[t];
return r || (r = e[this.getScriptPartFromCode(t)]), r || (r = e[this.formatLanguageCode(t)]), r || (r = e[this.getLanguagePartFromCode(t)]), r || (r = e.default), r || [];
}
toResolveHierarchy(e, t) {
const r = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), a = [], i = (o) => {
o && (this.isSupportedCode(o) ? a.push(o) : this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`));
};
return S(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : S(e) && i(this.formatLanguageCode(e)), r.forEach((o) => {
a.indexOf(o) < 0 && i(this.formatLanguageCode(o));
}), a;
}
}
const vn = {
zero: 0,
one: 1,
two: 2,
few: 3,
many: 4,
other: 5
}, mn = {
select: (n) => n === 1 ? "one" : "other",
resolvedOptions: () => ({
pluralCategories: ["one", "other"]
})
};
class wm {
constructor(e, t = {}) {
this.languageUtils = e, this.options = t, this.logger = ae.create("pluralResolver"), this.pluralRulesCache = {};
}
addRule(e, t) {
this.rules[e] = t;
}
clearCache() {
this.pluralRulesCache = {};
}
getRule(e, t = {}) {
const r = Ne(e === "dev" ? "en" : e), a = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
cleanedCode: r,
type: a
});
if (i in this.pluralRulesCache)
return this.pluralRulesCache[i];
let o;
try {
o = new Intl.PluralRules(r, {
type: a
});
} catch {
if (!Intl)
return this.logger.error("No Intl support, please use an Intl polyfill!"), mn;
if (!e.match(/-|_/)) return mn;
const l = this.languageUtils.getLanguagePartFromCode(e);
o = this.getRule(l, t);
}
return this.pluralRulesCache[i] = o, o;
}
needsPlural(e, t = {}) {
let r = this.getRule(e, t);
return r || (r = this.getRule("dev", t)), (r == null ? void 0 : r.resolvedOptions().pluralCategories.length) > 1;
}
getPluralFormsOfKey(e, t, r = {}) {
return this.getSuffixes(e, r).map((a) => `${t}${a}`);
}
getSuffixes(e, t = {}) {
let r = this.getRule(e, t);
return r || (r = this.getRule("dev", t)), r ? r.resolvedOptions().pluralCategories.sort((a, i) => vn[a] - vn[i]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : [];
}
getSuffix(e, t, r = {}) {
const a = this.getRule(e, r);
return a ? `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${a.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, r));
}
}
const Tn = (n, e, t, r = ".", a = !0) => {
let i = xm(n, e, t);
return !i && a && S(t) && (i = It(n, t, r), i === void 0 && (i = It(e, t, r))), i;
}, yt = (n) => n.replace(/\$/g, "$$$$");
class jm {
constructor(e = {}) {
var t;
this.logger = ae.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((r) => r), this.init(e);
}
init(e = {}) {
e.interpolation || (e.interpolation = {
escapeValue: !0
});
const {
escape: t,
escapeValue: r,
useRawValueToEscape: a,
prefix: i,
prefixEscaped: o,
suffix: s,
suffixEscaped: l,
formatSeparator: c,
unescapeSuffix: d,
unescapePrefix: f,
nestingPrefix: T,
nestingPrefixEscaped: P,
nestingSuffix: v,
nestingSuffixEscaped: k,
nestingOptionsSeparator: O,
maxReplaces: m,
alwaysFormat: b
} = e.interpolation;
this.escape = t !== void 0 ? t : Fm, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = i ? be(i) : o || "{{", this.suffix = s ? be(s) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = T ? be(T) : P || be("$t("), this.nestingSuffix = v ? be(v) : k || be(")"), this.nestingOptionsSeparator = O || ",", this.maxReplaces = m || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
}
reset() {
this.options && this.init(this.options);
}
resetRegExp() {
const e = (t, r) => (t == null ? void 0 : t.source) === r ? (t.lastIndex = 0, t) : new RegExp(r, "g");
this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
}
interpolate(e, t, r, a) {
var P;
let i, o, s;
const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (v) => {
if (v.indexOf(this.formatSeparator) < 0) {
const b = Tn(t, l, v, this.options.keySeparator, this.options.ignoreJSONStructure);
return this.alwaysFormat ? this.format(b, void 0, r, {
...a,
...t,
interpolationkey: v
}) : b;
}
const k = v.split(this.formatSeparator), O = k.shift().trim(), m = k.join(this.formatSeparator).trim();
return this.format(Tn(t, l, O, this.options.keySeparator, this.options.ignoreJSONStructure), m, r, {
...a,
...t,
interpolationkey: O
});
};
this.resetRegExp();
const d = (a == null ? void 0 : a.missingInterpolationHandler) || this.options.missingInterpolationHandler, f = ((P = a == null ? void 0 : a.interpolation) == null ? void 0 : P.skipOnVariables) !== void 0 ? a.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
return [{
regex: this.regexpUnescape,
safeValue: (v) => yt(v)
}, {
regex: this.regexp,
safeValue: (v) => this.escapeValue ? yt(this.escape(v)) : yt(v)
}].forEach((v) => {
for (s = 0; i = v.regex.exec(e); ) {
const k = i[1].trim();
if (o = c(k), o === void 0)
if (typeof d == "function") {
const m = d(e, i, a);
o = S(m) ? m : "";
} else if (a && Object.prototype.hasOwnProperty.call(a, k))
o = "";
else if (f) {
o = i[0];
continue;
} else
this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), o = "";
else !S(o) && !this.useRawValueToEscape && (o = cn(o));
const O = v.safeValue(o);
if (e = e.replace(i[0], O), f ? (v.regex.lastIndex += o.length, v.regex.lastIndex -= i[0].length) : v.regex.lastIndex = 0, s++, s >= this.maxReplaces)
break;
}
}), e;
}
nest(e, t, r = {}) {
let a, i, o;
const s = (l, c) => {
const d = this.nestingOptionsSeparator;
if (l.indexOf(d) < 0) return l;
const f = l.split(new RegExp(`${d}[ ]*{`));
let T = `{${f[1]}`;
l = f[0], T = this.interpolate(T, o);
const P = T.match(/'/g), v = T.match(/"/g);
(((P == null ? void 0 : P.length) ?? 0) % 2 === 0 && !v || v.length % 2 !== 0) && (T = T.replace(/'/g, '"'));
try {
o = JSON.parse(T), c && (o = {
...c,
...o
});
} catch (k) {
return this.logger.warn(`failed parsing options string in nesting for key ${l}`, k), `${l}${d}${T}`;
}
return o.defaultValue && o.defaultValue.indexOf(this.prefix) > -1 && delete o.defaultValue, l;
};
for (; a = this.nestingRegexp.exec(e); ) {
let l = [];
o = {
...r
}, o = o.replace && !S(o.replace) ? o.replace : o, o.applyPostProcessor = !1, delete o.defaultValue;
const c = /{.*}/.test(a[1]) ? a[1].lastIndexOf("}") + 1 : a[1].indexOf(this.formatSeparator);
if (c !== -1 && (l = a[1].slice(c).split(this.formatSeparator).map((d) => d.trim()).filter(Boolean), a[1] = a[1].slice(0, c)), i = t(s.call(this, a[1].trim(), o), o), i && a[0] === e && !S(i)) return i;
S(i) || (i = cn(i)), i || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), i = ""), l.length && (i = l.reduce((d, f) => this.format(d, f, r.lng, {
...r,
interpolationkey: a[1].trim()
}), i.trim())), e = e.replace(a[0], i), this.regexp.lastIndex = 0;
}
return e;
}
}
const Dm = (n) => {
let e = n.toLowerCase().trim();
const t = {};
if (n.indexOf("(") > -1) {
const r = n.split("(");
e = r[0].toLowerCase().trim();
const a = r[1].substring(0, r[1].length - 1);
e === "currency" && a.indexOf(":") < 0 ? t.currency || (t.currency = a.trim()) : e === "relativetime" && a.indexOf(":") < 0 ? t.range || (t.range = a.trim()) : a.split(";").forEach((o) => {
if (o) {
const [s, ...l] = o.split(":"), c = l.join(":").trim().replace(/^'+|'+$/g, ""), d = s.trim();
t[d] || (t[d] = c), c === "false" && (t[d] = !1), c === "true" && (t[d] = !0), isNaN(c) || (t[d] = parseInt(c, 10));
}
});
}
return {
formatName: e,
formatOptions: t
};
}, yn = (n) => {
const e = {};
return (t, r, a) => {
let i = a;
a && a.interpolationkey && a.formatParams && a.formatParams[a.interpolationkey] && a[a.interpolationkey] && (i = {
...i,
[a.interpolationkey]: void 0
});
const o = r + JSON.stringify(i);
let s = e[o];
return s || (s = n(Ne(r), a), e[o] = s), s(t);
};
}, Cm = (n) => (e, t, r) => n(Ne(t), r)(e);
class Lm {
constructor(e = {}) {
this.logger = ae.create("formatter"), this.options = e, this.init(e);
}
init(e, t = {
interpolation: {}
}) {
this.formatSeparator = t.interpolation.formatSeparator || ",";
const r = t.cacheInBuiltFormats ? yn : Cm;
this.formats = {
number: r((a, i) => {
const o = new Intl.NumberFormat(a, {
...i
});
return (s) => o.format(s);
}),
currency: r((a, i) => {
const o = new Intl.NumberFormat(a, {
...i,
style: "currency"
});
return (s) => o.format(s);
}),
datetime: r((a, i) => {
const o = new Intl.DateTimeFormat(a, {
...i
});
return (s) => o.format(s);
}),
relativetime: r((a, i) => {
const o = new Intl.RelativeTimeFormat(a, {
...i
});
return (s) => o.format(s, i.range || "day");
}),
list: r((a, i) => {
const o = new Intl.ListFormat(a, {
...i
});
return (s) => o.format(s);
})
};
}
add(e, t) {
this.formats[e.toLowerCase().trim()] = t;
}
addCached(e, t) {
this.formats[e.toLowerCase().trim()] = yn(t);
}
format(e, t, r, a = {}) {
const i = t.split(this.formatSeparator);
if (i.length > 1 && i[0].indexOf("(") > 1 && i[0].indexOf(")") < 0 && i.find((s) => s.indexOf(")") > -1)) {
const s = i.findIndex((l) => l.indexOf(")") > -1);
i[0] = [i[0], ...i.splice(1, s)].join(this.formatSeparator);
}
return i.reduce((s, l) => {
var f;
const {
formatName: c,
formatOptions: d
} = Dm(l);
if (this.formats[c]) {
let T = s;
try {
const P = ((f = a == null ? void 0 : a.formatParams) == null ? void 0 : f[a.interpolationkey]) || {}, v = P.locale || P.lng || a.locale || a.lng || r;
T = this.formats[c](s, v, {
...d,
...a,
...P
});
} catch (P) {
this.logger.warn(P);
}
return T;
} else
this.logger.warn(`there was no format function for ${c}`);
return s;
}, e);
}
}
const Nm = (n, e) => {
n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
};
class Mm extends it {
constructor(e, t, r, a = {}) {
var i, o;
super(), this.backend = e, this.store = t, this.services = r, this.languageUtils = r.languageUtils, this.options = a, this.logger = ae.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], (o = (i = this.backend) == null ? void 0 : i.init) == null || o.call(i, r, a.backend, a);
}
queueLoad(e, t, r, a) {
const i = {}, o = {}, s = {}, l = {};
return e.forEach((c) => {
let d = !0;
t.forEach((f) => {
const T = `${c}|${f}`;
!r.reload && this.store.hasResourceBundle(c, f) ? this.state[T] = 2 : this.state[T] < 0 || (this.state[T] === 1 ? o[T] === void 0 && (o[T] = !0) : (this.state[T] = 1, d = !1, o[T] === void 0 && (o[T] = !0), i[T] === void 0 && (i[T] = !0), l[f] === void 0 && (l[f] = !0)));
}), d || (s[c] = !0);
}), (Object.keys(i).length || Object.keys(o).length) && this.queue.push({
pending: o,
pendingCount: Object.keys(o).length,
loaded: {},
errors: [],
callback: a
}), {
toLoad: Object.keys(i),
pending: Object.keys(o),
toLoadLanguages: Object.keys(s),
toLoadNamespaces: Object.keys(l)
};
}
loaded(e, t, r) {
const a = e.split("|"), i = a[0], o = a[1];
t && this.emit("failedLoading", i, o, t), !t && r && this.store.addResourceBundle(i, o, r, void 0, void 0, {
skipCopy: !0
}), this.state[e] = t ? -1 : 2, t && r && (this.state[e] = 0);
const s = {};
this.queue.forEach((l) => {
Om(l.loaded, [i], o), Nm(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
s[c] || (s[c] = {});
const d = l.loaded[c];
d.length && d.forEach((f) => {
s[c][f] === void 0 && (s[c][f] = !0);
});
}), l.done = !0, l.errors.length ? l.callback(l.errors) : l.callback());
}), this.emit("loaded", s), this.queue = this.queue.filter((l) => !l.done);
}
read(e, t, r, a = 0, i = this.retryTimeout, o) {
if (!e.length) return o(null, {});
if (this.readingCalls >= this.maxParallelReads) {
this.waitingReads.push({
lng: e,
ns: t,
fcName: r,
tried: a,
wait: i,
callback: o
});
return;
}
this.readingCalls++;
const s = (c, d) => {
if (this.readingCalls--, this.waitingReads.length > 0) {
const f = this.waitingReads.shift();
this.read(f.lng, f.ns, f.fcName, f.tried, f.wait, f.callback);
}
if (c && d && a < this.maxRetries) {
setTimeout(() => {
this.read.call(this, e, t, r, a + 1, i * 2, o);
}, i);
return;
}
o(c, d);
}, l = this.backend[r].bind(this.backend);
if (l.length === 2) {
try {
const c = l(e, t);
c && typeof c.then == "function" ? c.then((d) => s(null, d)).catch(s) : s(null, c);
} catch (c) {
s(c);
}
return;
}
return l(e, t, s);
}
prepareLoading(e, t, r = {}, a) {
if (!this.backend)
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), a && a();
S(e) && (e = this.languageUtils.toResolveHierarchy(e)), S(t) && (t = [t]);
const i = this.queueLoad(e, t, r, a);
if (!i.toLoad.length)
return i.pending.length || a(), null;
i.toLoad.forEach((o) => {
this.loadOne(o);
});
}
load(e, t, r) {
this.prepareLoading(e, t, {}, r);
}
reload(e, t, r) {
this.prepareLoading(e, t, {
reload: !0
}, r);
}
loadOne(e, t = "") {
const r = e.split("|"), a = r[0], i = r[1];
this.read(a, i, "read", void 0, void 0, (o, s) => {
o && this.logger.warn(`${t}loading namespace ${i} for language ${a} failed`, o), !o && s && this.logger.log(`${t}loaded namespace ${i} for language ${a}`, s), this.loaded(e, o, s);
});
}
saveMissing(e, t, r, a, i, o = {}, s = () => {
}) {
var l, c, d, f, T;
if ((c = (l = this.services) == null ? void 0 : l.utils) != null && c.hasLoadedNamespace && !((f = (d = this.services) == null ? void 0 : d.utils) != null && f.hasLoadedNamespace(t))) {
this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
return;
}
if (!(r == null || r === "")) {
if ((T = this.backend) != null && T.create) {
const P = {
...o,
isUpdate: i
}, v = this.backend.create.bind(this.backend);
if (v.length < 6)
try {
let k;
v.length === 5 ? k = v(e, t, r, a, P) : k = v(e, t, r, a), k && typeof k.then == "function" ? k.then((O) => s(null, O)).catch(s) : s(null, k);
} catch (k) {
s(k);
}
else
v(e, t, r, a, s, P);
}
!e || !e[0] || this.store.addResource(e[0], t, r, a);
}
}
}
const _n = () => ({
debug: !1,
initAsync: !0,
ns: ["translation"],
defaultNS: ["translation"],
fallbackLng: ["dev"],
fallbackNS: !1,
supportedLngs: !1,
nonExplicitSupportedLngs: !1,
load: "all",
preload: !1,
simplifyPluralSuffix: !0,
keySeparator: ".",
nsSeparator: ":",
pluralSeparator: "_",
contextSeparator: "_",
partialBundledLanguages: !1,
saveMissing: !1,
updateMissing: !1,
saveMissingTo: "fallback",
saveMissingPlurals: !0,
missingKeyHandler: !1,
missingInterpolationHandler: !1,
postProcess: !1,
postProcessPassResolved: !1,
returnNull: !1,
returnEmptyString: !0,
returnObjects: !1,
joinArrays: !1,
returnedObjectHandler: !1,
parseMissingKeyHandler: !1,
appendNamespaceToMissingKey: !1,
appendNamespaceToCIMode: !1,
overloadTranslationOptionHandler: (n) => {
let e = {};
if (typeof n[1] == "object" && (e = n[1]), S(n[1]) && (e.defaultValue = n[1]), S(n[2]) && (e.tDescription = n[2]), typeof n[2] == "object" || typeof n[3] == "object") {
const t = n[3] || n[2];
Object.keys(t).forEach((r) => {
e[r] = t[r];
});
}
return e;
},
interpolation: {
escapeValue: !0,
format: (n) => n,
prefix: "{{",
suffix: "}}",
formatSeparator: ",",
unescapePrefix: "-",
nestingPrefix: "$t(",
nestingSuffix: ")",
nestingOptionsSeparator: ",",
maxReplaces: 1e3,
skipOnVariables: !0
},
cacheInBuiltFormats: !0
}), bn = (n) => {
var e, t;
return S(n.ns) && (n.ns = [n.ns]), S(n.fallbackLng) && (n.fallbackLng = [n.fallbackLng]), S(n.fallbackNS) && (n.fallbackNS = [n.fallbackNS]), ((t = (e = n.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), typeof n.initImmediate == "boolean" && (n.initAsync = n.initImmediate), n;
}, Ge = () => {
}, Xm = (n) => {
Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
typeof n[t] == "function" && (n[t] = n[t].bind(n));
});
};
class Me extends it {
constructor(e = {}, t) {
if (super(), this.options = bn(e), this.services = {}, this.logger = ae, this.modules = {
external: []
}, Xm(this), t && !this.isInitialized && !e.isClone) {
if (!this.options.initAsync)
return this.init(e, t), this;
setTimeout(() => {
this.init(e, t);
}, 0);
}
}
init(e = {}, t) {
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (S(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
const r = _n();
this.options = {
...r,
...this.options,
...bn(e)
}, this.options.interpolation = {
...r.interpolation,
...this.options.interpolation
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator);
const a = (c) => c ? typeof c == "function" ? new c() : c : null;
if (!this.options.isClone) {
this.modules.logger ? ae.init(a(this.modules.logger), this.options) : ae.init(null, this.options);
let c;
this.modules.formatter ? c = this.modules.formatter : c = Lm;
const d = new Pn(this.options);
this.store = new pn(this.options.resources, this.options);
const f = this.services;
f.logger = ae, f.resourceStore = this.store, f.languageUtils = d, f.pluralResolver = new wm(d, {
prepend: this.options.pluralSeparator,
simplifyPluralSuffix: this.options.simplifyPluralSuffix
}), this.options.interpolation.format && this.options.interpolation.format !== r.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), c && (!this.options.interpolation.format || this.options.interpolation.format === r.interpolation.format) && (f.formatter = a(c), f.formatter.init && f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new jm(this.options), f.utils = {
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
}, f.backendConnector = new Mm(a(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", (P, ...v) => {
this.emit(P, ...v);
}), this.modules.languageDetector && (f.languageDetector = a(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = a(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new rt(this.services, this.options), this.translator.on("*", (P, ...v) => {
this.emit(P, ...v);
}), this.modules.external.forEach((P) => {
P.init && P.init(this);
});
}
if (this.format = this.options.interpolation.format, t || (t = Ge), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
const c = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
c.length > 0 && c[0] !== "dev" && (this.options.lng = c[0]);
}
!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((c) => {
this[c] = (...d) => this.store[c](...d);
}), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((c) => {
this[c] = (...d) => (this.store[c](...d), this);
});
const s = De(), l = () => {
const c = (d, f) => {
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), s.resolve(f), t(d, f);
};
if (this.languages && !this.isInitialized) return c(null, this.t.bind(this));
this.changeLanguage(this.options.lng, c);
};
return this.options.resources || !this.options.initAsync ? l() : setTimeout(l, 0), s;
}
loadResources(e, t = Ge) {
var i, o;
let r = t;
const a = S(e) ? e : this.language;
if (typeof e == "function" && (r = e), !this.options.resources || this.options.partialBundledLanguages) {
if ((a == null ? void 0 : a.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r();
const s = [], l = (c) => {
if (!c || c === "cimode") return;
this.services.languageUtils.toResolveHierarchy(c).forEach((f) => {
f !== "cimode" && s.indexOf(f) < 0 && s.push(f);
});
};
a ? l(a) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((d) => l(d)), (o = (i = this.options.preload) == null ? void 0 : i.forEach) == null || o.call(i, (c) => l(c)), this.services.backendConnector.load(s, this.options.ns, (c) => {
!c && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), r(c);
});
} else
r(null);
}
reloadResources(e, t, r) {
const a = De();
return typeof e == "function" && (r = e, e = void 0), typeof t == "function" && (r = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), r || (r = Ge), this.services.backendConnector.reload(e, t, (i) => {
a.resolve(), r(i);
}), a;
}
use(e) {
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Wh.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
}
setResolvedLanguage(e) {
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
for (let t = 0; t < this.languages.length; t++) {
const r = this.languages[t];
if (!(["cimode", "dev"].indexOf(r) > -1) && this.store.hasLanguageSomeTranslations(r)) {
this.resolvedLanguage = r;
break;
}
}
!this.resolvedLanguage && this.languages.indexOf(e) < 0 && this.store.hasLanguageSomeTranslations(e) && (this.resolvedLanguage = e, this.languages.unshift(e));
}
}
changeLanguage(e, t) {
this.isLanguageChangingTo = e;
const r = De();
this.emit("languageChanging", e);
const a = (s) => {
this.language = s, this.languages = this.services.languageUtils.toResolveHierarchy(s), this.resolvedLanguage = void 0, this.setResolvedLanguage(s);
}, i = (s, l) => {
l ? this.isLanguageChangingTo === e && (a(l), this.translator.changeLanguage(l), this.isLanguageChangingTo = void 0, this.emit("languageChanged", l), this.logger.log("languageChanged", l)) : this.isLanguageChangingTo = void 0, r.resolve((...c) => this.t(...c)), t && t(s, (...c) => this.t(...c));
}, o = (s) => {
var d, f;
!e && !s && this.services.languageDetector && (s = []);
const l = S(s) ? s : s && s[0], c = this.store.hasLanguageSomeTranslations(l) ? l : this.services.languageUtils.getBestMatchFromCodes(S(s) ? [s] : s);
c && (this.language || a(c), this.translator.language || this.translator.changeLanguage(c), (f = (d = this.services.languageDetector) == null ? void 0 : d.cacheUserLanguage) == null || f.call(d, c)), this.loadResources(c, (T) => {
i(T, c);
});
};
return !e && this.services.languageDetector && !this.services.languageDetector.async ? o(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(o) : this.services.languageDetector.detect(o) : o(e), r;
}
getFixedT(e, t, r) {
const a = (i, o, ...s) => {
let l;
typeof o != "object" ? l = this.options.overloadTranslationOptionHandler([i, o].concat(s)) : l = {
...o
}, l.lng = l.lng || a.lng, l.lngs = l.lngs || a.lngs, l.ns = l.ns || a.ns, l.keyPrefix !== "" && (l.keyPrefix = l.keyPrefix || r || a.keyPrefix);
const c = this.options.keySeparator || ".";
let d;
return l.keyPrefix && Array.isArray(i) ? d = i.map((f) => `${l.keyPrefix}${c}${f}`) : d = l.keyPrefix ? `${l.keyPrefix}${c}${i}` : i, this.t(d, l);
};
return S(e) ? a.lng = e : a.lngs = e, a.ns = t, a.keyPrefix = r, a;
}
t(...e) {
var t;
return (t = this.translator) == null ? void 0 : t.translate(...e);
}
exists(...e) {
var t;
return (t = this.translator) == null ? void 0 : t.exists(...e);
}
setDefaultNamespace(e) {
this.options.defaultNS = e;
}
hasLoadedNamespace(e, t = {}) {
if (!this.isInitialized)
return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
if (!this.languages || !this.languages.length)
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
const r = t.lng || this.resolvedLanguage || this.languages[0], a = this.options ? this.options.fallbackLng : !1, i = this.languages[this.languages.length - 1];
if (r.toLowerCase() === "cimode") return !0;
const o = (s, l) => {
const c = this.services.backendConnector.state[`${s}|${l}`];
return c === -1 || c === 0 || c === 2;
};
if (t.precheck) {
const s = t.precheck(this, o);
if (s !== void 0) return s;
}
return !!(this.hasResourceBundle(r, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || o(r, e) && (!a || o(i, e)));
}
loadNamespaces(e, t) {
const r = De();
return this.options.ns ? (S(e) && (e = [e]), e.forEach((a) => {
this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
}), this.loadResources((a) => {
r.resolve(), t && t(a);
}), r) : (t && t(), Promise.resolve());
}
loadLanguages(e, t) {
const r = De();
S(e) && (e = [e]);
const a = this.options.preload || [], i = e.filter((o) => a.indexOf(o) < 0 && this.services.languageUtils.isSupportedCode(o));
return i.length ? (this.options.preload = a.concat(i), this.loadResources((o) => {
r.resolve(), t && t(o);
}), r) : (t && t(), Promise.resolve());
}
dir(e) {
var a, i;
if (e || (e = this.resolvedLanguage || (((a = this.languages) == null ? void 0 : a.length) > 0 ? this.languages[0] : this.language)), !e) return "rtl";
if (Intl.Locale) {
const o = new Intl.Locale(e);
if (o && o.getTextInfo) {
const s = o.getTextInfo();
if (s && s.direction) return s.direction;
}
}
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = ((i = this.services) == null ? void 0 : i.languageUtils) || new Pn(_n());
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(r.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
}
static createInstance(e = {}, t) {
return new Me(e, t);
}
cloneInstance(e = {}, t = Ge) {
const r = e.forkResourceStore;
r && delete e.forkResourceStore;
const a = {
...this.options,
...e,
isClone: !0
}, i = new Me(a);
if ((e.debug !== void 0 || e.prefix !== void 0) && (i.logger = i.logger.clone(e)), ["store", "services", "language"].forEach((s) => {
i[s] = this[s];
}), i.services = {
...this.services
}, i.services.utils = {
hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
}, r) {
const s = Object.keys(this.store.data).reduce((l, c) => (l[c] = {
...this.store.data[c]
}, l[c] = Object.keys(l[c]).reduce((d, f) => (d[f] = {
...l[c][f]
}, d), l[c]), l), {});
i.store = new pn(s, a), i.services.resourceStore = i.store;
}
return i.translator = new rt(i.services, a), i.translator.on("*", (s, ...l) => {
i.emit(s, ...l);
}), i.init(a, t), i.translator.options = a, i.translator.backendConnector.services.utils = {
hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
}, i;
}
toJSON() {
return {
options: this.options,
store: this.store,
language: this.language,
languages: this.languages,
resolvedLanguage: this.resolvedLanguage
};
}
}
const U = Me.createInstance();
U.createInstance = Me.createInstance;
U.createInstance;
U.dir;
U.init;
U.loadResources;
U.reloadResources;
U.use;
U.changeLanguage;
U.getFixedT;
U.t;
U.exists;
U.setDefaultNamespace;
U.hasLoadedNamespace;
U.loadNamespaces;
U.loadLanguages;
const {
slice: qm,
forEach: Bm
} = [];
function zm(n) {
return Bm.call(qm.call(arguments, 1), (e) => {
if (e)
for (const t in e)
n[t] === void 0 && (n[t] = e[t]);
}), n;
}
function Ym(n) {
return typeof n != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((t) => t.test(n));
}
const kn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Hm = function(n, e) {
const r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
path: "/"
}, a = encodeURIComponent(e);
let i = `${n}=${a}`;
if (r.maxAge > 0) {
const o = r.maxAge - 0;
if (Number.isNaN(o)) throw new Error("maxAge should be a Number");
i += `; Max-Age=${Math.floor(o)}`;
}
if (r.domain) {
if (!kn.test(r.domain))
throw new TypeError("option domain is invalid");
i += `; Domain=${r.domain}`;
}
if (r.path) {
if (!kn.test(r.path))
throw new TypeError("option path is invalid");
i += `; Path=${r.path}`;
}
if (r.expires) {
if (typeof r.expires.toUTCString != "function")
throw new TypeError("option expires is invalid");
i += `; Expires=${r.expires.toUTCString()}`;
}
if (r.httpOnly && (i += "; HttpOnly"), r.secure && (i += "; Secure"), r.sameSite)
switch (typeof r.sameSite == "string" ? r.sameSite.toLowerCase() : r.sameSite) {
case !0:
i += "; SameSite=Strict";
break;
case "lax":
i += "; SameSite=Lax";
break;
case "strict":
i += "; SameSite=Strict";
break;
case "none":
i += "; SameSite=None";
break;
default:
throw new TypeError("option sameSite is invalid");
}
return r.partitioned && (i += "; Partitioned"), i;
}, On = {
create(n, e, t, r) {
let a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
path: "/",
sameSite: "strict"
};
t && (a.expires = /* @__PURE__ */ new Date(), a.expires.setTime(a.expires.getTime() + t * 60 * 1e3)), r && (a.domain = r), document.cookie = Hm(n, e, a);
},
read(n) {
const e = `${n}=`, t = document.cookie.split(";");
for (let r = 0; r < t.length; r++) {
let a = t[r];
for (; a.charAt(0) === " "; ) a = a.substring(1, a.length);
if (a.indexOf(e) === 0) return a.substring(e.length, a.length);
}
return null;
},
remove(n, e) {
this.create(n, "", -1, e);
}
};
var Um = {
name: "cookie",
// Deconstruct the options object and extract the lookupCookie property
lookup(n) {
let {
lookupCookie: e
} = n;
if (e && typeof document < "u")
return On.read(e) || void 0;
},
// Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
cacheUserLanguage(n, e) {
let {
lookupCookie: t,
cookieMinutes: r,
cookieDomain: a,
cookieOptions: i
} = e;
t && typeof document < "u" && On.create(t, n, r, a, i);
}
}, Wm = {
name: "querystring",
// Deconstruct the options object and extract the lookupQuerystring property
lookup(n) {
var r;
let {
lookupQuerystring: e
} = n, t;
if (typeof window < "u") {
let {
search: a
} = window.location;
!window.location.search && ((r = window.location.hash) == null ? void 0 : r.indexOf("?")) > -1 && (a = window.location.hash.substring(window.location.hash.indexOf("?")));
const o = a.substring(1).split("&");
for (let s = 0; s < o.length; s++) {
const l = o[s].indexOf("=");
l > 0 && o[s].substring(0, l) === e && (t = o[s].substring(l + 1));
}
}
return t;
}
}, Vm = {
name: "hash",
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
lookup(n) {
var a;
let {
lookupHash: e,
lookupFromHashIndex: t
} = n, r;
if (typeof window < "u") {
const {
hash: i
} = window.location;
if (i && i.length > 2) {
const o = i.substring(1);
if (e) {
const s = o.split("&");
for (let l = 0; l < s.length; l++) {
const c = s[l].indexOf("=");
c > 0 && s[l].substring(0, c) === e && (r = s[l].substring(c + 1));
}
}
if (r) return r;
if (!r && t > -1) {
const s = i.match(/\/([a-zA-Z-]*)/g);
return Array.isArray(s) ? (a = s[typeof t == "number" ? t : 0]) == null ? void 0 : a.replace("/", "") : void 0;
}
}
}
return r;
}
};
let ke = null;
const xn = () => {
if (ke !== null) return ke;
try {
if (ke = typeof window < "u" && window.localStorage !== null, !ke)
return !1;
const n = "i18next.translate.boo";
window.localStorage.setItem(n, "foo"), window.localStorage.removeItem(n);
} catch {
ke = !1;
}
return ke;
};
var Km = {
name: "localStorage",
// Deconstruct the options object and extract the lookupLocalStorage property
lookup(n) {
let {
lookupLocalStorage: e
} = n;
if (e && xn())
return window.localStorage.getItem(e) || void 0;
},
// Deconstruct the options object and extract the lookupLocalStorage property
cacheUserLanguage(n, e) {
let {
lookupLocalStorage: t
} = e;
t && xn() && window.localStorage.setItem(t, n);
}
};
let Oe = null;
const Sn = () => {
if (Oe !== null) return Oe;
try {
if (Oe = typeof window < "u" && window.sessionStorage !== null, !Oe)
return !1;
const n = "i18next.translate.boo";
window.sessionStorage.setItem(n, "foo"), window.sessionStorage.removeItem(n);
} catch {
Oe = !1;
}
return Oe;
};
var Qm = {
name: "sessionStorage",
lookup(n) {
let {
lookupSessionStorage: e
} = n;
if (e && Sn())
return window.sessionStorage.getItem(e) || void 0;
},
cacheUserLanguage(n, e) {
let {
lookupSessionStorage: t
} = e;
t && Sn() && window.sessionStorage.setItem(t, n);
}
}, Gm = {
name: "navigator",
lookup(n) {
const e = [];
if (typeof navigator < "u") {
const {
languages: t,
userLanguage: r,
language: a
} = navigator;
if (t)
for (let i = 0; i < t.length; i++)
e.push(t[i]);
r && e.push(r), a && e.push(a);
}
return e.length > 0 ? e : void 0;
}
}, Jm = {
name: "htmlTag",
// Deconstruct the options object and extract the htmlTag property
lookup(n) {
let {
htmlTag: e
} = n, t;
const r = e || (typeof document < "u" ? document.documentElement : null);
return r && typeof r.getAttribute == "function" && (t = r.getAttribute("lang")), t;
}
}, Zm = {
name: "path",
// Deconstruct the options object and extract the lookupFromPathIndex property
lookup(n) {
var a;
let {
lookupFromPathIndex: e
} = n;
if (typeof window > "u") return;
const t = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
return Array.isArray(t) ? (a = t[typeof e == "number" ? e : 0]) == null ? void 0 : a.replace("/", "") : void 0;
}
}, eT = {
name: "subdomain",
lookup(n) {
var a, i;
let {
lookupFromSubdomainIndex: e
} = n;
const t = typeof e == "number" ? e + 1 : 1, r = typeof window < "u" && ((i = (a = window.location) == null ? void 0 : a.hostname) == null ? void 0 : i.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));
if (r)
return r[t];
}
};
let Vh = !1;
try {
document.cookie, Vh = !0;
} catch {
}
const Kh = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
Vh || Kh.splice(1, 1);
const tT = () => ({
order: Kh,
lookupQuerystring: "lng",
lookupCookie: "i18next",
lookupLocalStorage: "i18nextLng",
lookupSessionStorage: "i18nextLng",
// cache user language
caches: ["localStorage"],
excludeCacheFor: ["cimode"],
// cookieMinutes: 10,
// cookieDomain: 'myDomain'
convertDetectedLanguage: (n) => n
});
class Qh {
constructor(e) {
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
this.type = "languageDetector", this.detectors = {}, this.init(e, t);
}
init() {
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
languageUtils: {}
}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
this.services = e, this.options = zm(t, this.options || {}, tT()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (a) => a.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(Um), this.addDetector(Wm), this.addDetector(Km), this.addDetector(Qm), this.addDetector(Gm), this.addDetector(Jm), this.addDetector(Zm), this.addDetector(eT), this.addDetector(Vm);
}
addDetector(e) {
return this.detectors[e.name] = e, this;
}
detect() {
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.order, t = [];
return e.forEach((r) => {
if (this.detectors[r]) {
let a = this.detectors[r].lookup(this.options);
a && typeof a == "string" && (a = [a]), a && (t = t.concat(a));
}
}), t = t.filter((r) => r != null && !Ym(r)).map((r) => this.options.convertDetectedLanguage(r)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? t : t.length > 0 ? t[0] : null;
}
cacheUserLanguage(e) {
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
t && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(e) > -1 || t.forEach((r) => {
this.detectors[r] && this.detectors[r].cacheUserLanguage(e, this.options);
}));
}
}
Qh.type = "languageDetector";
function At(n) {
"@babel/helpers - typeof";
return At = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
return typeof e;
} : function(e) {
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
}, At(n);
}
function Gh() {
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : At(XMLHttpRequest)) === "object";
}
function nT(n) {
return !!n && typeof n.then == "function";
}
function rT(n) {
return nT(n) ? n : Promise.resolve(n);
}
function Fn(n, e) {
var t = Object.keys(n);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(n);
e && (r = r.filter(function(a) {
return Object.getOwnPropertyDescriptor(n, a).enumerable;
})), t.push.apply(t, r);
}
return t;
}
function $n(n) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e] != null ? arguments[e] : {};
e % 2 ? Fn(Object(t), !0).forEach(function(r) {
aT(n, r, t[r]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : Fn(Object(t)).forEach(function(r) {
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(t, r));
});
}
return n;
}
function aT(n, e, t) {
return (e = iT(e)) in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
}
function iT(n) {
var e = oT(n, "string");
return Te(e) == "symbol" ? e : e + "";
}
function oT(n, e) {
if (Te(n) != "object" || !n) return n;
var t = n[Symbol.toPrimitive];
if (t !== void 0) {
var r = t.call(n, e);
if (Te(r) != "object") return r;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (e === "string" ? String : Number)(n);
}
function Te(n) {
"@babel/helpers - typeof";
return Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
return typeof e;
} : function(e) {
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
}, Te(n);
}
var ge = typeof fetch == "function" ? fetch : void 0;
typeof global < "u" && global.fetch ? ge = global.fetch : typeof window < "u" && window.fetch && (ge = window.fetch);
var Xe;
Gh() && (typeof global < "u" && global.XMLHttpRequest ? Xe = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (Xe = window.XMLHttpRequest));
var at;
typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? at = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (at = window.ActiveXObject));
typeof ge != "function" && (ge = void 0);
if (!ge && !Xe && !at)
try {
import("./browser-ponyfill-B6QIjZPC.js").then((n) => n.b).then(function(n) {
ge = n.default;
}).catch(function() {
});
} catch {
}
var Rt = function(e, t) {
if (t && Te(t) === "object") {
var r = "";
for (var a in t)
r += "&" + encodeURIComponent(a) + "=" + encodeURIComponent(t[a]);
if (!r) return e;
e = e + (e.indexOf("?") !== -1 ? "&" : "?") + r.slice(1);
}
return e;
}, In = function(e, t, r, a) {
var i = function(l) {
if (!l.ok) return r(l.statusText || "Error", {
status: l.status
});
l.text().then(function(c) {
r(null, {
status: l.status,
data: c
});
}).catch(r);
};
if (a) {
var o = a(e, t);
if (o instanceof Promise) {
o.then(i).catch(r);
return;
}
}
typeof fetch == "function" ? fetch(e, t).then(i).catch(r) : ge(e, t).then(i).catch(r);
}, An = !1, sT = function(e, t, r, a) {
e.queryStringParams && (t = Rt(t, e.queryStringParams));
var i = $n({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
typeof window > "u" && typeof global < "u" && typeof global.process < "u" && global.process.versions && global.process.versions.node && (i["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")")), r && (i["Content-Type"] = "application/json");
var o = typeof e.requestOptions == "function" ? e.requestOptions(r) : e.requestOptions, s = $n({
method: r ? "POST" : "GET",
body: r ? e.stringify(r) : void 0,
headers: i
}, An ? {} : o), l = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
try {
In(t, s, a, l);
} catch (c) {
if (!o || Object.keys(o).length === 0 || !c.message || c.message.indexOf("not implemented") < 0)
return a(c);
try {
Object.keys(o).forEach(function(d) {
delete s[d];
}), In(t, s, a, l), An = !0;
} catch (d) {
a(d);
}
}
}, lT = function(e, t, r, a) {
r && Te(r) === "object" && (r = Rt("", r).slice(1)), e.queryStringParams && (t = Rt(t, e.queryStringParams));
try {
var i = Xe ? new Xe() : new at("MSXML2.XMLHTTP.3.0");
i.open(r ? "POST" : "GET", t, 1), e.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!e.withCredentials, r && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json");
var o = e.customHeaders;
if (o = typeof o == "function" ? o() : o, o)
for (var s in o)
i.setRequestHeader(s, o[s]);
i.onreadystatechange = function() {
i.readyState > 3 && a(i.status >= 400 ? i.statusText : null, {
status: i.status,
data: i.responseText
});
}, i.send(r);
} catch (l) {
console && console.log(l);
}
}, cT = function(e, t, r, a) {
if (typeof r == "function" && (a = r, r = void 0), a = a || function() {
}, ge && t.indexOf("file:") !== 0)
return sT(e, t, r, a);
if (Gh() || typeof ActiveXObject == "function")
return lT(e, t, r, a);
a(new Error("No fetch and no xhr implementation found!"));
};
function $e(n) {
"@babel/helpers - typeof";
return $e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
return typeof e;
} : function(e) {
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
}, $e(n);
}
function Rn(n, e) {
var t = Object.keys(n);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(n);
e && (r = r.filter(function(a) {
return Object.getOwnPropertyDescriptor(n, a).enumerable;
})), t.push.apply(t, r);
}
return t;
}
function _t(n) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e] != null ? arguments[e] : {};
e % 2 ? Rn(Object(t), !0).forEach(function(r) {
Jh(n, r, t[r]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : Rn(Object(t)).forEach(function(r) {
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(t, r));
});
}
return n;
}
function uT(n, e) {
if (!(n instanceof e)) throw new TypeError("Cannot call a class as a function");
}
function dT(n, e) {
for (var t = 0; t < e.length; t++) {
var r = e[t];
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, Zh(r.key), r);
}
}
function fT(n, e, t) {
return e && dT(n.prototype, e), Object.defineProperty(n, "prototype", { writable: !1 }), n;
}
function Jh(n, e, t) {
return (e = Zh(e)) in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
}
function Zh(n) {
var e = pT(n, "string");
return $e(e) == "symbol" ? e : e + "";
}
function pT(n, e) {
if ($e(n) != "object" || !n) return n;
var t = n[Symbol.toPrimitive];
if (t !== void 0) {
var r = t.call(n, e);
if ($e(r) != "object") return r;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return String(n);
}
var gT = function() {
return {
loadPath: "/locales/{{lng}}/{{ns}}.json",
addPath: "/locales/add/{{lng}}/{{ns}}",
parse: function(t) {
return JSON.parse(t);
},
stringify: JSON.stringify,
parsePayload: function(t, r, a) {
return Jh({}, r, a || "");
},
parseLoadPayload: function(t, r) {
},
request: cT,
reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3,
customHeaders: {},
queryStringParams: {},
crossDomain: !1,
withCredentials: !1,
overrideMimeType: !1,
requestOptions: {
mode: "cors",
credentials: "same-origin",
cache: "default"
}
};
}, eP = function() {
function n(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
uT(this, n), this.services = e, this.options = t, this.allOptions = r, this.type = "backend", this.init(e, t, r);
}
return fT(n, [{
key: "init",
value: function(t) {
var r = this, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
if (this.services = t, this.options = _t(_t(_t({}, gT()), this.options || {}), a), this.allOptions = i, this.services && this.options.reloadInterval) {
var o = setInterval(function() {
return r.reload();
}, this.options.reloadInterval);
$e(o) === "object" && typeof o.unref == "function" && o.unref();
}
}
}, {
key: "readMulti",
value: function(t, r, a) {
this._readAny(t, t, r, r, a);
}
}, {
key: "read",
value: function(t, r, a) {
this._readAny([t], t, [r], r, a);
}
}, {
key: "_readAny",
value: function(t, r, a, i, o) {
var s = this, l = this.options.loadPath;
typeof this.options.loadPath == "function" && (l = this.options.loadPath(t, a)), l = rT(l), l.then(function(c) {
if (!c) return o(null, {});
var d = s.services.interpolator.interpolate(c, {
lng: t.join("+"),
ns: a.join("+")
});
s.loadUrl(d, o, r, i);
});
}
}, {
key: "loadUrl",
value: function(t, r, a, i) {
var o = this, s = typeof a == "string" ? [a] : a, l = typeof i == "string" ? [i] : i, c = this.options.parseLoadPayload(s, l);
this.options.request(this.options, t, c, function(d, f) {
if (f && (f.status >= 500 && f.status < 600 || !f.status)) return r("failed loading " + t + "; status code: " + f.status, !0);
if (f && f.status >= 400 && f.status < 500) return r("failed loading " + t + "; status code: " + f.status, !1);
if (!f && d && d.message) {
var T = d.message.toLowerCase(), P = ["failed", "fetch", "network", "load"].find(function(O) {
return T.indexOf(O) > -1;
});
if (P)
return r("failed loading " + t + ": " + d.message, !0);
}
if (d) return r(d, !1);
var v, k;
try {
typeof f.data == "string" ? v = o.options.parse(f.data, a, i) : v = f.data;
} catch {
k = "failed parsing " + t + " to json";
}
if (k) return r(k, !1);
r(null, v);
});
}
}, {
key: "create",
value: function(t, r, a, i, o) {
var s = this;
if (this.options.addPath) {
typeof t == "string" && (t = [t]);
var l = this.options.parsePayload(r, a, i), c = 0, d = [], f = [];
t.forEach(function(T) {
var P = s.options.addPath;
typeof s.options.addPath == "function" && (P = s.options.addPath(T, r));
var v = s.services.interpolator.interpolate(P, {
lng: T,
ns: r
});
s.options.request(s.options, v, l, function(k, O) {
c += 1, d.push(k), f.push(O), c === t.length && typeof o == "function" && o(d, f);
});
});
}
}
}, {
key: "reload",
value: function() {
var t = this, r = this.services, a = r.backendConnector, i = r.languageUtils, o = r.logger, s = a.language;
if (!(s && s.toLowerCase() === "cimode")) {
var l = [], c = function(f) {
var T = i.toResolveHierarchy(f);
T.forEach(function(P) {
l.indexOf(P) < 0 && l.push(P);
});
};
c(s), this.allOptions.preload && this.allOptions.preload.forEach(function(d) {
return c(d);
}), l.forEach(function(d) {
t.allOptions.ns.forEach(function(f) {
a.read(d, f, "read", null, null, function(T, P) {
T && o.warn("loading namespace ".concat(f, " for language ").concat(d, " failed"), T), !T && P && o.log("loaded namespace ".concat(f, " for language ").concat(d), P), a.loaded("".concat(d, "|").concat(f), T, P);
});
});
});
}
}
}]);
}();
eP.type = "backend";
U.use(Qh).use(eP).use(sv).init({
saveMissing: !0,
// the translations
// (tip move them in a JSON file and import them,
// or even better, manage them via a UI: https://react.i18next.com/guides/multiple-translation-files#manage-your-translations-with-a-management-gui)
resources: vT(),
lng: "en",
// if you're using a language detector, do not define the lng option
fallbackLng: "en",
interpolation: {
escapeValue: !1
// react already safes from xss => https://www.i18next.com/translation-function/interpolation#unescape
}
});
function hT(n) {
U.changeLanguage(n);
}
function PT(n) {
var t;
if (!En.some((r) => r.value === n)) {
const r = n == null ? void 0 : n.split("-")[0];
((t = En.find(
(i) => i.value.startsWith(r)
)) == null ? void 0 : t.value) ? n = r : n = "en";
}
return n;
}
const En = [
{ label: "Chinese (Simplified)", value: "zh-CN" },
{ label: "Chinese (Traditional)", value: "zh-TW" },
{ label: "Czech", value: "cs" },
{ label: "Danish", value: "da" },
{ label: "Dutch", value: "nl" },
{ label: "English", value: "en" },
{ label: "Finnish", value: "fi" },
{ label: "French", value: "fr" },
{ label: "German", value: "de" },
{ label: "Italian", value: "it" },
{ label: "Japanese", value: "ja" },
{ label: "Korean", value: "ko" },
{ label: "Norwegian", value: "no" },
{ label: "Norwegian (Bokmål)", value: "nb" },
{ label: "Polish", value: "pl" },
{ label: "Portuguese (Brazil)", value: "pt-BR" },
{ label: "Portuguese (Portugal)", value: "pt-PT" },
{ label: "Spanish", value: "es" },
{ label: "Swedish", value: "sv" },
{ label: "Thai", value: "th" },
{ label: "Turkish", value: "tr" }
];
function vT() {
const n = {};
return Object.entries(/* @__PURE__ */ Object.assign({ "./cs.json": Dv, "./da.json": Lv, "./de.json": Mv, "./en.json": qv, "./es.json": zv, "./fi.json": Hv, "./fr.json": Wv, "./it.json": Kv, "./ja.json": Gv, "./ko.json": Zv, "./nb.json": tm, "./nl.json": rm, "./no.json": im, "./pl.json": sm, "./pt-BR.json": cm, "./pt-PT.json": dm, "./sv.json": pm, "./th.json": hm, "./tr.json": vm, "./zh-CN.json": Tm, "./zh-TW.json": _m })).forEach(([t, r]) => {
const a = t.match(/\/(.+)\.json/);
a != null && a[1] && (n[a[1]] = {
translation: r
});
}), n;
}
const ST = (n) => {
const { language: e } = n;
return Fe(() => {
hT(PT(e));
}, [e]), n.children;
};
export {
p as A,
Ze as D,
xT as P,
ST as a,
kT as b,
bT as c,
VP as d,
ln as e,
OT as f,
CP as g,
zn as h,
qn as i,
Be as j,
St as k,
ze as l,
fv as m,
Bn as n,
pv as o,
jt as p,
gv as q,
hv as r,
Pv as s,
pe as t,
re as u,
_ as v,
jn as w
};