@designcrowd/library.brand-page 5.10.7-bp-tr2 → 5.10.7-bp-tr3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/index.mjs +79 -76
- package/package.json +2 -2
package/lib/src/index.mjs
CHANGED
|
@@ -1319,22 +1319,22 @@ class s0 extends Ys {
|
|
|
1319
1319
|
};
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
const
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1322
|
+
const jt = s0.createInstance();
|
|
1323
|
+
jt.createInstance = s0.createInstance;
|
|
1324
|
+
jt.createInstance;
|
|
1325
|
+
jt.dir;
|
|
1326
|
+
jt.init;
|
|
1327
|
+
jt.loadResources;
|
|
1328
|
+
jt.reloadResources;
|
|
1329
|
+
jt.use;
|
|
1330
|
+
jt.changeLanguage;
|
|
1331
|
+
jt.getFixedT;
|
|
1332
|
+
jt.t;
|
|
1333
|
+
jt.exists;
|
|
1334
|
+
jt.setDefaultNamespace;
|
|
1335
|
+
jt.hasLoadedNamespace;
|
|
1336
|
+
jt.loadNamespaces;
|
|
1337
|
+
jt.loadLanguages;
|
|
1338
1338
|
const Ea = "en-US", AE = [
|
|
1339
1339
|
"en-US",
|
|
1340
1340
|
"de-DE",
|
|
@@ -1351,12 +1351,12 @@ const Ea = "en-US", AE = [
|
|
|
1351
1351
|
let t = e;
|
|
1352
1352
|
AE.includes(e) || (t = Ea), console.log("Initialising setLocaleAsync with language: ", t);
|
|
1353
1353
|
let n = (await wh[t]()).default;
|
|
1354
|
-
Object.keys(n).length === 0 && (console.log(`Falling back to ${Ea}`), n = (await wh["en-US"]()).default),
|
|
1354
|
+
Object.keys(n).length === 0 && (console.log(`Falling back to ${Ea}`), n = (await wh["en-US"]()).default), jt.isInitialized || await jt.init({
|
|
1355
1355
|
debug: !1,
|
|
1356
1356
|
fallbackLng: Ea,
|
|
1357
1357
|
lng: t
|
|
1358
|
-
}), await
|
|
1359
|
-
}, ce = (e, t = {}, n = "bp") =>
|
|
1358
|
+
}), await jt.addResourceBundle(t, "bp", { ...n }), console.log("Completed setup for setLocaleAsync");
|
|
1359
|
+
}, ce = (e, t = {}, n = "bp") => jt.t(e, { ns: n, ...t }), U3 = (e) => ce(`model.${e}`), Me = (e) => ce(`common.${e}`), $S = (e) => ce(`actionBar.${e}`), N6 = (e) => ce(`brandPageSettings.${e}`), $E = (e) => ce(`colorPalette.${e}`), PS = (e) => ce(`navigation.${e}`), Wt = (e) => ce(`converter.${e}`), C5 = (e) => ce(`backgroundSettings.${e}`), ac = (e) => ce(`colorPicker.${e}`), PE = (e) => ce(`colorReplacementField.${e}`), B = (e) => ce(`contentSettings.${e}`), BE = (e) => ce(`formFields.${e}`), OE = (e) => ce(`genericTextInput.${e}`), DE = (e) => ce(`imagesField.${e}`), NE = (e) => ce(`linksField.${e}`), z6 = (e) => ce(`paymentConfig.${e}`), RE = (e) => ce(`shapeField.${e}`), FE = (e) => ce(`testimonialItemsField.${e}`), ZE = (e) => ce(`textField.${e}`), UE = (e) => ce(`textImageField.${e}`), zE = (e) => ce(`textItemsField.${e}`), qE = (e) => ce(`textStyleField.${e}`), GE = (e) => ce(`textAreaField.${e}`), WE = (e) => ce(`productConfigOption.${e}`), lc = (e) => ce(`editLogoSettings.${e}`), BS = (e, t = {}) => ce(`myUploadSettings.${e}`, t), jE = (e) => ce(`pageSettings.${e}`), _5 = (e) => ce(`templateSettings.${e}`), n3 = (e) => ce(`seoSettings.${e}`), i2 = (e) => ce(`styleSettingsSection.${e}`), Aa = (e) => ce(`sensitiveContentSettings.${e}`), dc = (e) => ce(`socialShare.${e}`), $a = (e) => ce(`cookieSettings.${e}`), KE = (e) => ce(`googleAnalytics.${e}`), Pa = (e) => ce(`colorField.${e}`), s5 = (e) => ce(`validator.${e}`), Z3 = (e) => ce(`constants.${e}`), bh = (e) => ce(`layoutSwitcher.${e}`), YE = (e) => ce(`brandpageBackgroundSettings.${e}`), vh = (e) => ce(`loginMessage.${e}`), Sh = (e) => ce(`cookie.${e}`), kn = (e) => ce(`logoSelectionSettings.${e}`), JE = (e) => ce(`googleAddressField.${e}`), XE = (e) => ce(`myDesigns.${e}`), G8 = (e) => ce(`pageSettings.${e}`), QE = (e) => ce(`shapeLibrary.${e}`), At = (e, t = {}) => ce(`error.${e}`, t), e7 = (e) => ce(`dropzoneUploader.${e}`), _h = (e) => ce(`shop.${e}`), m9 = (e, t = {}) => ce(`payment.${e}`, t), eA = "Titles", tA = "Headings", nA = "Paragraphs", iA = "Button Texts", rA = void 0, sA = void 0, oA = "2.25rem", Vu = "1.5rem", g3 = "1rem", aA = "normal", Tt = "1.1", E2 = "1.4", be = "1.5", OS = 12, DS = 12, Tu = 128, NS = 0, RS = 100, FS = 1, ZS = 2.5, US = 200, zS = 1e3, lA = 2e3, Hu = () => At("maxCharacters"), dA = () => At("invalidUrlMessage"), cA = () => At("testimonialEmpty"), uA = () => At("textEmpty"), CA = "https://fonts.googleapis.com/css2", pA = "&display=swap", hA = "#000000", ds = {
|
|
1360
1360
|
url: "url",
|
|
1361
1361
|
google: "google"
|
|
1362
1362
|
};
|
|
@@ -3086,7 +3086,7 @@ function LA() {
|
|
|
3086
3086
|
return F ? "Symbol(src)_1." + F : "";
|
|
3087
3087
|
}(), de = v1.toString, pe = g1.hasOwnProperty, Ne = g1.toString, qt = RegExp(
|
|
3088
3088
|
"^" + de.call(pe).replace(F1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3089
|
-
), Et = Ct ? le.Buffer : void 0, St = le.Symbol, _2 = le.Uint8Array, a1 = Z(Object.getPrototypeOf, Object), A1 = Object.create, se = g1.propertyIsEnumerable, Ke = n1.splice, u1 = Object.getOwnPropertySymbols, z1 = Et ? Et.isBuffer : void 0, Ce = Z(Object.keys, Object), Ee = U5(le, "DataView"), ye = U5(le, "Map"), _t = U5(le, "Promise"), wt = U5(le, "Set"),
|
|
3089
|
+
), Et = Ct ? le.Buffer : void 0, St = le.Symbol, _2 = le.Uint8Array, a1 = Z(Object.getPrototypeOf, Object), A1 = Object.create, se = g1.propertyIsEnumerable, Ke = n1.splice, u1 = Object.getOwnPropertySymbols, z1 = Et ? Et.isBuffer : void 0, Ce = Z(Object.keys, Object), Ee = U5(le, "DataView"), ye = U5(le, "Map"), _t = U5(le, "Promise"), wt = U5(le, "Set"), Kt = U5(le, "WeakMap"), z2 = U5(Object, "create"), S3 = B6(Ee), l5 = B6(ye), L6 = B6(_t), D3 = B6(wt), N9 = B6(Kt), x6 = St ? St.prototype : void 0, i6 = x6 ? x6.valueOf : void 0;
|
|
3090
3090
|
function N3(F) {
|
|
3091
3091
|
var s1 = -1, S1 = F ? F.length : 0;
|
|
3092
3092
|
for (this.clear(); ++s1 < S1; ) {
|
|
@@ -3339,7 +3339,7 @@ function LA() {
|
|
|
3339
3339
|
return Go(S1) ? S1 : void 0;
|
|
3340
3340
|
}
|
|
3341
3341
|
var an = u1 ? Z(u1, Object) : la, d5 = qo;
|
|
3342
|
-
(Ee && d5(new Ee(new ArrayBuffer(1))) != O || ye && d5(new ye()) != f || _t && d5(_t.resolve()) != y || wt && d5(new wt()) != w ||
|
|
3342
|
+
(Ee && d5(new Ee(new ArrayBuffer(1))) != O || ye && d5(new ye()) != f || _t && d5(_t.resolve()) != y || wt && d5(new wt()) != w || Kt && d5(new Kt()) != T) && (d5 = function(F) {
|
|
3343
3343
|
var s1 = Ne.call(F), S1 = s1 == m ? F.constructor : void 0, oe = S1 ? B6(S1) : void 0;
|
|
3344
3344
|
if (oe)
|
|
3345
3345
|
switch (oe) {
|
|
@@ -7364,10 +7364,10 @@ function yP() {
|
|
|
7364
7364
|
return "css";
|
|
7365
7365
|
}
|
|
7366
7366
|
});
|
|
7367
|
-
var ye = O, _t = R, wt = b,
|
|
7367
|
+
var ye = O, _t = R, wt = b, Kt = y.unpack;
|
|
7368
7368
|
wt.format.gl = function() {
|
|
7369
7369
|
for (var _ = [], L = arguments.length; L--; ) _[L] = arguments[L];
|
|
7370
|
-
var I =
|
|
7370
|
+
var I = Kt(_, "rgba");
|
|
7371
7371
|
return I[0] *= 255, I[1] *= 255, I[2] *= 255, I;
|
|
7372
7372
|
}, _t.gl = function() {
|
|
7373
7373
|
for (var _ = [], L = arguments.length; L--; ) _[L] = arguments[L];
|
|
@@ -8563,7 +8563,7 @@ function yP() {
|
|
|
8563
8563
|
_ = new Gp(_), L = new Gp(L);
|
|
8564
8564
|
var I = _.luminance(), U = L.luminance();
|
|
8565
8565
|
return I > U ? (I + 0.05) / (U + 0.05) : (U + 0.05) / (I + 0.05);
|
|
8566
|
-
}, Wp = O, c5 = Math.sqrt,
|
|
8566
|
+
}, Wp = O, c5 = Math.sqrt, Yt = Math.pow, FI = Math.min, ZI = Math.max, jp = Math.atan2, Kp = Math.abs, Sn = Math.cos, Yp = Math.sin, UI = Math.exp, Jp = Math.PI, zI = function(_, L, I, U, K) {
|
|
8567
8567
|
I === void 0 && (I = 1), U === void 0 && (U = 1), K === void 0 && (K = 1);
|
|
8568
8568
|
var Y = function(U9) {
|
|
8569
8569
|
return 360 * U9 / (2 * Jp);
|
|
@@ -8571,9 +8571,9 @@ function yP() {
|
|
|
8571
8571
|
return 2 * Jp * U9 / 360;
|
|
8572
8572
|
};
|
|
8573
8573
|
_ = new Wp(_), L = new Wp(L);
|
|
8574
|
-
var i1 = Array.from(_.lab()), r1 = i1[0], m1 = i1[1], H1 = i1[2], G1 = Array.from(L.lab()), $1 = G1[0], ee = G1[1], Q1 = G1[2], Fe = (r1 + $1) / 2, Ge = c5(
|
|
8574
|
+
var i1 = Array.from(_.lab()), r1 = i1[0], m1 = i1[1], H1 = i1[2], G1 = Array.from(L.lab()), $1 = G1[0], ee = G1[1], Q1 = G1[2], Fe = (r1 + $1) / 2, Ge = c5(Yt(m1, 2) + Yt(H1, 2)), Qe = c5(Yt(ee, 2) + Yt(Q1, 2)), it = (Ge + Qe) / 2, k2 = 0.5 * (1 - c5(Yt(it, 7) / (Yt(it, 7) + Yt(25, 7)))), c2 = m1 * (1 + k2), e3 = ee * (1 + k2), Ye = c5(Yt(c2, 2) + Yt(H1, 2)), B1 = c5(Yt(e3, 2) + Yt(Q1, 2)), ve = (Ye + B1) / 2, ze = Y(jp(H1, c2)), Ze = Y(jp(Q1, e3)), V2 = ze >= 0 ? ze : ze + 360, Mt = Ze >= 0 ? Ze : Ze + 360, et = Kp(V2 - Mt) > 180 ? (V2 + Mt + 360) / 2 : (V2 + Mt) / 2, lt = 1 - 0.17 * Sn(q(et - 30)) + 0.24 * Sn(q(2 * et)) + 0.32 * Sn(q(3 * et + 6)) - 0.2 * Sn(q(4 * et - 63)), dt = Mt - V2;
|
|
8575
8575
|
dt = Kp(dt) <= 180 ? dt : Mt <= V2 ? dt + 360 : dt - 360, dt = 2 * c5(Ye * B1) * Yp(q(dt) / 2);
|
|
8576
|
-
var ht = $1 - r1, l6 = B1 - Ye, W5 = 1 + 0.015 *
|
|
8576
|
+
var ht = $1 - r1, l6 = B1 - Ye, W5 = 1 + 0.015 * Yt(Fe - 50, 2) / c5(20 + Yt(Fe - 50, 2)), j5 = 1 + 0.045 * ve, J4 = 1 + 0.015 * ve * lt, X4 = 30 * UI(-Yt((et - 275) / 25, 2)), u5 = 2 * c5(Yt(ve, 7) / (Yt(ve, 7) + Yt(25, 7))), Z9 = -u5 * Yp(2 * q(X4)), L8 = c5(Yt(ht / (I * W5), 2) + Yt(l6 / (U * j5), 2) + Yt(dt / (K * J4), 2) + Z9 * (l6 / (U * j5)) * (dt / (K * J4)));
|
|
8577
8577
|
return ZI(0, FI(100, L8));
|
|
8578
8578
|
}, Xp = O, qI = function(_, L, I) {
|
|
8579
8579
|
I === void 0 && (I = "lab"), _ = new Xp(_), L = new Xp(L);
|
|
@@ -14803,7 +14803,7 @@ function uD() {
|
|
|
14803
14803
|
Object.defineProperty(t, "__esModule", {
|
|
14804
14804
|
value: !0
|
|
14805
14805
|
}), t.default = void 0;
|
|
14806
|
-
var i = I1(/* @__PURE__ */ qu()), r = I1(/* @__PURE__ */ rM()), s = I1(/* @__PURE__ */ RB()), o = I1(/* @__PURE__ */ FB()), a = I1(/* @__PURE__ */ ZB()), l = I1(/* @__PURE__ */ UB()), d = I1(/* @__PURE__ */ zB()), c = I1(/* @__PURE__ */ aM()), u = I1(/* @__PURE__ */ lM()), f = I1(/* @__PURE__ */ qB()), g = I1(/* @__PURE__ */ po()), m = I1(/* @__PURE__ */ GB()), y = I1(/* @__PURE__ */ Gu()), b = I1(/* @__PURE__ */ dM()), w = I1(/* @__PURE__ */ WB()), S = I1(/* @__PURE__ */ jB()), k = I1(/* @__PURE__ */ KB()), T = E6(/* @__PURE__ */ YB()), A = E6(/* @__PURE__ */ JB()), O = I1(/* @__PURE__ */ XB()), W = I1(/* @__PURE__ */ QB()), R = I1(/* @__PURE__ */ eO()), D = I1(/* @__PURE__ */ tO()), N = I1(/* @__PURE__ */ nO()), j = I1(/* @__PURE__ */ iO()), o1 = I1(/* @__PURE__ */ rO()), X = I1(/* @__PURE__ */ cM()), C1 = I1(/* @__PURE__ */ uM()), R1 = I1(/* @__PURE__ */ sO()), F1 = I1(/* @__PURE__ */ oO()), ge = I1(/* @__PURE__ */ lO()), Z1 = I1(/* @__PURE__ */ dO()), me = I1(/* @__PURE__ */ Wu()), V1 = E6(/* @__PURE__ */ iM()), L1 = I1(/* @__PURE__ */ uO()), ae = I1(/* @__PURE__ */ CM()), le = I1(/* @__PURE__ */ CO()), Y1 = I1(/* @__PURE__ */ pO()), je = I1(/* @__PURE__ */ T_()), Ct = I1(/* @__PURE__ */ hO()), ke = I1(/* @__PURE__ */ fO()), P1 = I1(/* @__PURE__ */ gO()), h1 = E6(/* @__PURE__ */ mO()), Te = I1(/* @__PURE__ */ yO()), He = I1(/* @__PURE__ */ wO()), Se = I1(/* @__PURE__ */ bO()), at = I1(/* @__PURE__ */ vO()), nt = I1(/* @__PURE__ */ SO()), Bt = I1(/* @__PURE__ */ _O()), Z = I1(/* @__PURE__ */ MO()), z = I1(/* @__PURE__ */ oM()), n1 = I1(/* @__PURE__ */ kO()), v1 = I1(/* @__PURE__ */ VO()), g1 = I1(/* @__PURE__ */ TO()), T1 = I1(/* @__PURE__ */ HO()), te = I1(/* @__PURE__ */ LO()), de = I1(/* @__PURE__ */ fM()), pe = I1(/* @__PURE__ */ xO()), Ne = I1(/* @__PURE__ */ IO()), qt = I1(/* @__PURE__ */ EO()), Et = I1(/* @__PURE__ */ AO()), St = I1(/* @__PURE__ */ $O()), _2 = I1(/* @__PURE__ */ PO()), a1 = I1(/* @__PURE__ */ BO()), A1 = E6(/* @__PURE__ */ OO()), se = I1(/* @__PURE__ */ DO()), Ke = I1(/* @__PURE__ */ NO()), u1 = I1(/* @__PURE__ */ RO()), z1 = /* @__PURE__ */ FO(), Ce = I1(/* @__PURE__ */ ZO()), Ee = I1(/* @__PURE__ */ UO()), ye = I1(/* @__PURE__ */ zO()), _t = I1(/* @__PURE__ */ pM()), wt = I1(/* @__PURE__ */ qO()),
|
|
14806
|
+
var i = I1(/* @__PURE__ */ qu()), r = I1(/* @__PURE__ */ rM()), s = I1(/* @__PURE__ */ RB()), o = I1(/* @__PURE__ */ FB()), a = I1(/* @__PURE__ */ ZB()), l = I1(/* @__PURE__ */ UB()), d = I1(/* @__PURE__ */ zB()), c = I1(/* @__PURE__ */ aM()), u = I1(/* @__PURE__ */ lM()), f = I1(/* @__PURE__ */ qB()), g = I1(/* @__PURE__ */ po()), m = I1(/* @__PURE__ */ GB()), y = I1(/* @__PURE__ */ Gu()), b = I1(/* @__PURE__ */ dM()), w = I1(/* @__PURE__ */ WB()), S = I1(/* @__PURE__ */ jB()), k = I1(/* @__PURE__ */ KB()), T = E6(/* @__PURE__ */ YB()), A = E6(/* @__PURE__ */ JB()), O = I1(/* @__PURE__ */ XB()), W = I1(/* @__PURE__ */ QB()), R = I1(/* @__PURE__ */ eO()), D = I1(/* @__PURE__ */ tO()), N = I1(/* @__PURE__ */ nO()), j = I1(/* @__PURE__ */ iO()), o1 = I1(/* @__PURE__ */ rO()), X = I1(/* @__PURE__ */ cM()), C1 = I1(/* @__PURE__ */ uM()), R1 = I1(/* @__PURE__ */ sO()), F1 = I1(/* @__PURE__ */ oO()), ge = I1(/* @__PURE__ */ lO()), Z1 = I1(/* @__PURE__ */ dO()), me = I1(/* @__PURE__ */ Wu()), V1 = E6(/* @__PURE__ */ iM()), L1 = I1(/* @__PURE__ */ uO()), ae = I1(/* @__PURE__ */ CM()), le = I1(/* @__PURE__ */ CO()), Y1 = I1(/* @__PURE__ */ pO()), je = I1(/* @__PURE__ */ T_()), Ct = I1(/* @__PURE__ */ hO()), ke = I1(/* @__PURE__ */ fO()), P1 = I1(/* @__PURE__ */ gO()), h1 = E6(/* @__PURE__ */ mO()), Te = I1(/* @__PURE__ */ yO()), He = I1(/* @__PURE__ */ wO()), Se = I1(/* @__PURE__ */ bO()), at = I1(/* @__PURE__ */ vO()), nt = I1(/* @__PURE__ */ SO()), Bt = I1(/* @__PURE__ */ _O()), Z = I1(/* @__PURE__ */ MO()), z = I1(/* @__PURE__ */ oM()), n1 = I1(/* @__PURE__ */ kO()), v1 = I1(/* @__PURE__ */ VO()), g1 = I1(/* @__PURE__ */ TO()), T1 = I1(/* @__PURE__ */ HO()), te = I1(/* @__PURE__ */ LO()), de = I1(/* @__PURE__ */ fM()), pe = I1(/* @__PURE__ */ xO()), Ne = I1(/* @__PURE__ */ IO()), qt = I1(/* @__PURE__ */ EO()), Et = I1(/* @__PURE__ */ AO()), St = I1(/* @__PURE__ */ $O()), _2 = I1(/* @__PURE__ */ PO()), a1 = I1(/* @__PURE__ */ BO()), A1 = E6(/* @__PURE__ */ OO()), se = I1(/* @__PURE__ */ DO()), Ke = I1(/* @__PURE__ */ NO()), u1 = I1(/* @__PURE__ */ RO()), z1 = /* @__PURE__ */ FO(), Ce = I1(/* @__PURE__ */ ZO()), Ee = I1(/* @__PURE__ */ UO()), ye = I1(/* @__PURE__ */ zO()), _t = I1(/* @__PURE__ */ pM()), wt = I1(/* @__PURE__ */ qO()), Kt = I1(/* @__PURE__ */ GO()), z2 = I1(/* @__PURE__ */ WO()), S3 = I1(/* @__PURE__ */ jO()), l5 = I1(/* @__PURE__ */ hM()), L6 = I1(/* @__PURE__ */ KO()), D3 = I1(/* @__PURE__ */ YO()), N9 = I1(/* @__PURE__ */ JO()), x6 = I1(/* @__PURE__ */ XO()), i6 = I1(/* @__PURE__ */ QO()), N3 = E6(/* @__PURE__ */ eD()), u8 = I1(/* @__PURE__ */ yM()), O4 = I1(/* @__PURE__ */ mM()), D4 = I1(/* @__PURE__ */ wM()), C8 = I1(/* @__PURE__ */ tD()), p8 = I1(/* @__PURE__ */ nD()), _3 = I1(/* @__PURE__ */ iD()), F5 = I1(/* @__PURE__ */ rD()), h8 = I1(/* @__PURE__ */ bM()), N4 = I1(/* @__PURE__ */ sD()), f8 = I1(/* @__PURE__ */ oD()), g8 = I1(/* @__PURE__ */ aD()), I6 = I1(/* @__PURE__ */ lD()), R4 = I1(/* @__PURE__ */ dD()), m8 = I1(/* @__PURE__ */ cD());
|
|
14807
14807
|
function R9() {
|
|
14808
14808
|
if (typeof WeakMap != "function") return null;
|
|
14809
14809
|
var pt = /* @__PURE__ */ new WeakMap();
|
|
@@ -14910,7 +14910,7 @@ function uD() {
|
|
|
14910
14910
|
isRFC3339: ye.default,
|
|
14911
14911
|
isISO31661Alpha2: _t.default,
|
|
14912
14912
|
isISO31661Alpha3: wt.default,
|
|
14913
|
-
isISO4217:
|
|
14913
|
+
isISO4217: Kt.default,
|
|
14914
14914
|
isBase32: z2.default,
|
|
14915
14915
|
isBase58: S3.default,
|
|
14916
14916
|
isBase64: l5.default,
|
|
@@ -22101,7 +22101,7 @@ class U2 {
|
|
|
22101
22101
|
return Jl[t] = n, n.prototype.jsonID = t, n;
|
|
22102
22102
|
}
|
|
22103
22103
|
}
|
|
22104
|
-
class
|
|
22104
|
+
class Xt {
|
|
22105
22105
|
/**
|
|
22106
22106
|
@internal
|
|
22107
22107
|
*/
|
|
@@ -22112,13 +22112,13 @@ class Jt {
|
|
|
22112
22112
|
Create a successful step result.
|
|
22113
22113
|
*/
|
|
22114
22114
|
static ok(t) {
|
|
22115
|
-
return new
|
|
22115
|
+
return new Xt(t, null);
|
|
22116
22116
|
}
|
|
22117
22117
|
/**
|
|
22118
22118
|
Create a failed step result.
|
|
22119
22119
|
*/
|
|
22120
22120
|
static fail(t) {
|
|
22121
|
-
return new
|
|
22121
|
+
return new Xt(null, t);
|
|
22122
22122
|
}
|
|
22123
22123
|
/**
|
|
22124
22124
|
Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given
|
|
@@ -22127,10 +22127,10 @@ class Jt {
|
|
|
22127
22127
|
*/
|
|
22128
22128
|
static fromReplace(t, n, i, r) {
|
|
22129
22129
|
try {
|
|
22130
|
-
return
|
|
22130
|
+
return Xt.ok(t.replace(n, i, r));
|
|
22131
22131
|
} catch (s) {
|
|
22132
22132
|
if (s instanceof Ms)
|
|
22133
|
-
return
|
|
22133
|
+
return Xt.fail(s.message);
|
|
22134
22134
|
throw s;
|
|
22135
22135
|
}
|
|
22136
22136
|
}
|
|
@@ -22152,7 +22152,7 @@ class u9 extends U2 {
|
|
|
22152
22152
|
}
|
|
22153
22153
|
apply(t) {
|
|
22154
22154
|
let n = t.slice(this.from, this.to), i = t.resolve(this.from), r = i.node(i.sharedDepth(this.to)), s = new W1(dC(n.content, (o, a) => !o.isAtom || !a.type.allowsMarkType(this.mark.type) ? o : o.mark(this.mark.addToSet(o.marks)), r), n.openStart, n.openEnd);
|
|
22155
|
-
return
|
|
22155
|
+
return Xt.fromReplace(t, this.from, this.to, s);
|
|
22156
22156
|
}
|
|
22157
22157
|
invert() {
|
|
22158
22158
|
return new K6(this.from, this.to, this.mark);
|
|
@@ -22191,7 +22191,7 @@ class K6 extends U2 {
|
|
|
22191
22191
|
}
|
|
22192
22192
|
apply(t) {
|
|
22193
22193
|
let n = t.slice(this.from, this.to), i = new W1(dC(n.content, (r) => r.mark(this.mark.removeFromSet(r.marks)), t), n.openStart, n.openEnd);
|
|
22194
|
-
return
|
|
22194
|
+
return Xt.fromReplace(t, this.from, this.to, i);
|
|
22195
22195
|
}
|
|
22196
22196
|
invert() {
|
|
22197
22197
|
return new u9(this.from, this.to, this.mark);
|
|
@@ -22231,9 +22231,9 @@ class C9 extends U2 {
|
|
|
22231
22231
|
apply(t) {
|
|
22232
22232
|
let n = t.nodeAt(this.pos);
|
|
22233
22233
|
if (!n)
|
|
22234
|
-
return
|
|
22234
|
+
return Xt.fail("No node at mark step's position");
|
|
22235
22235
|
let i = n.type.create(n.attrs, null, this.mark.addToSet(n.marks));
|
|
22236
|
-
return
|
|
22236
|
+
return Xt.fromReplace(t, this.pos, this.pos + 1, new W1(M1.from(i), 0, n.isLeaf ? 0 : 1));
|
|
22237
22237
|
}
|
|
22238
22238
|
invert(t) {
|
|
22239
22239
|
let n = t.nodeAt(this.pos);
|
|
@@ -22275,9 +22275,9 @@ class S4 extends U2 {
|
|
|
22275
22275
|
apply(t) {
|
|
22276
22276
|
let n = t.nodeAt(this.pos);
|
|
22277
22277
|
if (!n)
|
|
22278
|
-
return
|
|
22278
|
+
return Xt.fail("No node at mark step's position");
|
|
22279
22279
|
let i = n.type.create(n.attrs, null, this.mark.removeFromSet(n.marks));
|
|
22280
|
-
return
|
|
22280
|
+
return Xt.fromReplace(t, this.pos, this.pos + 1, new W1(M1.from(i), 0, n.isLeaf ? 0 : 1));
|
|
22281
22281
|
}
|
|
22282
22282
|
invert(t) {
|
|
22283
22283
|
let n = t.nodeAt(this.pos);
|
|
@@ -22314,7 +22314,7 @@ class h2 extends U2 {
|
|
|
22314
22314
|
super(), this.from = t, this.to = n, this.slice = i, this.structure = r;
|
|
22315
22315
|
}
|
|
22316
22316
|
apply(t) {
|
|
22317
|
-
return this.structure && Rc(t, this.from, this.to) ?
|
|
22317
|
+
return this.structure && Rc(t, this.from, this.to) ? Xt.fail("Structure replace would overwrite content") : Xt.fromReplace(t, this.from, this.to, this.slice);
|
|
22318
22318
|
}
|
|
22319
22319
|
getMap() {
|
|
22320
22320
|
return new L3([this.from, this.to - this.from, this.slice.size]);
|
|
@@ -22364,12 +22364,12 @@ class m2 extends U2 {
|
|
|
22364
22364
|
}
|
|
22365
22365
|
apply(t) {
|
|
22366
22366
|
if (this.structure && (Rc(t, this.from, this.gapFrom) || Rc(t, this.gapTo, this.to)))
|
|
22367
|
-
return
|
|
22367
|
+
return Xt.fail("Structure gap-replace would overwrite content");
|
|
22368
22368
|
let n = t.slice(this.gapFrom, this.gapTo);
|
|
22369
22369
|
if (n.openStart || n.openEnd)
|
|
22370
|
-
return
|
|
22370
|
+
return Xt.fail("Gap is not a flat range");
|
|
22371
22371
|
let i = this.slice.insertAt(this.insert, n.content);
|
|
22372
|
-
return i ?
|
|
22372
|
+
return i ? Xt.fromReplace(t, this.from, this.to, i) : Xt.fail("Content does not fit in gap");
|
|
22373
22373
|
}
|
|
22374
22374
|
getMap() {
|
|
22375
22375
|
return new L3([
|
|
@@ -23005,13 +23005,13 @@ class I7 extends U2 {
|
|
|
23005
23005
|
apply(t) {
|
|
23006
23006
|
let n = t.nodeAt(this.pos);
|
|
23007
23007
|
if (!n)
|
|
23008
|
-
return
|
|
23008
|
+
return Xt.fail("No node at attribute step's position");
|
|
23009
23009
|
let i = /* @__PURE__ */ Object.create(null);
|
|
23010
23010
|
for (let s in n.attrs)
|
|
23011
23011
|
i[s] = n.attrs[s];
|
|
23012
23012
|
i[this.attr] = this.value;
|
|
23013
23013
|
let r = n.type.create(i, null, n.marks);
|
|
23014
|
-
return
|
|
23014
|
+
return Xt.fromReplace(t, this.pos, this.pos + 1, new W1(M1.from(r), 0, n.isLeaf ? 0 : 1));
|
|
23015
23015
|
}
|
|
23016
23016
|
getMap() {
|
|
23017
23017
|
return L3.empty;
|
|
@@ -23046,7 +23046,7 @@ class y0 extends U2 {
|
|
|
23046
23046
|
n[r] = t.attrs[r];
|
|
23047
23047
|
n[this.attr] = this.value;
|
|
23048
23048
|
let i = t.type.create(n, t.content, t.marks);
|
|
23049
|
-
return
|
|
23049
|
+
return Xt.ok(i);
|
|
23050
23050
|
}
|
|
23051
23051
|
getMap() {
|
|
23052
23052
|
return L3.empty;
|
|
@@ -26897,7 +26897,7 @@ class A3 {
|
|
|
26897
26897
|
}
|
|
26898
26898
|
}
|
|
26899
26899
|
const y7 = [], c4 = {};
|
|
26900
|
-
class
|
|
26900
|
+
class Jt {
|
|
26901
26901
|
/**
|
|
26902
26902
|
@internal
|
|
26903
26903
|
*/
|
|
@@ -26951,7 +26951,7 @@ class Yt {
|
|
|
26951
26951
|
let l = this.local[a].map(t, i, r);
|
|
26952
26952
|
l && l.type.valid(n, l) ? (o || (o = [])).push(l) : s.onRemove && s.onRemove(this.local[a].spec);
|
|
26953
26953
|
}
|
|
26954
|
-
return this.children.length ? AZ(this.children, o || [], t, n, i, r, s) : o ? new
|
|
26954
|
+
return this.children.length ? AZ(this.children, o || [], t, n, i, r, s) : o ? new Jt(o.sort(u4), y7) : D2;
|
|
26955
26955
|
}
|
|
26956
26956
|
/**
|
|
26957
26957
|
Add the given array of decorations to the ones in the set,
|
|
@@ -26960,7 +26960,7 @@ class Yt {
|
|
|
26960
26960
|
structure.
|
|
26961
26961
|
*/
|
|
26962
26962
|
add(t, n) {
|
|
26963
|
-
return n.length ? this == D2 ?
|
|
26963
|
+
return n.length ? this == D2 ? Jt.create(t, n) : this.addInner(t, n, 0) : this;
|
|
26964
26964
|
}
|
|
26965
26965
|
addInner(t, n, i) {
|
|
26966
26966
|
let r, s = 0;
|
|
@@ -26975,7 +26975,7 @@ class Yt {
|
|
|
26975
26975
|
let o = aV(s ? dV(n) : n, -i);
|
|
26976
26976
|
for (let a = 0; a < o.length; a++)
|
|
26977
26977
|
o[a].type.valid(t, o[a]) || o.splice(a--, 1);
|
|
26978
|
-
return new
|
|
26978
|
+
return new Jt(o.length ? this.local.concat(o).sort(u4) : this.local, r || this.children);
|
|
26979
26979
|
}
|
|
26980
26980
|
/**
|
|
26981
26981
|
Create a new set that contains the decorations in this set, minus
|
|
@@ -27002,13 +27002,13 @@ class Yt {
|
|
|
27002
27002
|
for (let a = 0; a < r.length; a++)
|
|
27003
27003
|
r[a].eq(o, n) && (r == this.local && (r = this.local.slice()), r.splice(a--, 1));
|
|
27004
27004
|
}
|
|
27005
|
-
return i == this.children && r == this.local ? this : r.length || i.length ? new
|
|
27005
|
+
return i == this.children && r == this.local ? this : r.length || i.length ? new Jt(r, i) : D2;
|
|
27006
27006
|
}
|
|
27007
27007
|
forChild(t, n) {
|
|
27008
27008
|
if (this == D2)
|
|
27009
27009
|
return this;
|
|
27010
27010
|
if (n.isLeaf)
|
|
27011
|
-
return
|
|
27011
|
+
return Jt.empty;
|
|
27012
27012
|
let i, r;
|
|
27013
27013
|
for (let a = 0; a < this.children.length; a += 3)
|
|
27014
27014
|
if (this.children[a] >= t) {
|
|
@@ -27024,7 +27024,7 @@ class Yt {
|
|
|
27024
27024
|
}
|
|
27025
27025
|
}
|
|
27026
27026
|
if (r) {
|
|
27027
|
-
let a = new
|
|
27027
|
+
let a = new Jt(r.sort(u4), y7);
|
|
27028
27028
|
return i ? new s9([a, i]) : a;
|
|
27029
27029
|
}
|
|
27030
27030
|
return i || D2;
|
|
@@ -27035,7 +27035,7 @@ class Yt {
|
|
|
27035
27035
|
eq(t) {
|
|
27036
27036
|
if (this == t)
|
|
27037
27037
|
return !0;
|
|
27038
|
-
if (!(t instanceof
|
|
27038
|
+
if (!(t instanceof Jt) || this.local.length != t.local.length || this.children.length != t.children.length)
|
|
27039
27039
|
return !1;
|
|
27040
27040
|
for (let n = 0; n < this.local.length; n++)
|
|
27041
27041
|
if (!this.local[n].eq(t.local[n]))
|
|
@@ -27068,9 +27068,9 @@ class Yt {
|
|
|
27068
27068
|
t(this);
|
|
27069
27069
|
}
|
|
27070
27070
|
}
|
|
27071
|
-
|
|
27072
|
-
|
|
27073
|
-
const D2 =
|
|
27071
|
+
Jt.empty = new Jt([], []);
|
|
27072
|
+
Jt.removeOverlap = SC;
|
|
27073
|
+
const D2 = Jt.empty;
|
|
27074
27074
|
class s9 {
|
|
27075
27075
|
constructor(t) {
|
|
27076
27076
|
this.members = t;
|
|
@@ -27081,7 +27081,7 @@ class s9 {
|
|
|
27081
27081
|
}
|
|
27082
27082
|
forChild(t, n) {
|
|
27083
27083
|
if (n.isLeaf)
|
|
27084
|
-
return
|
|
27084
|
+
return Jt.empty;
|
|
27085
27085
|
let i = [];
|
|
27086
27086
|
for (let r = 0; r < this.members.length; r++) {
|
|
27087
27087
|
let s = this.members[r].forChild(t, n);
|
|
@@ -27121,7 +27121,7 @@ class s9 {
|
|
|
27121
27121
|
case 1:
|
|
27122
27122
|
return t[0];
|
|
27123
27123
|
default:
|
|
27124
|
-
return new s9(t.every((n) => n instanceof
|
|
27124
|
+
return new s9(t.every((n) => n instanceof Jt) ? t : t.reduce((n, i) => n.concat(i instanceof Jt ? i : i.members), []));
|
|
27125
27125
|
}
|
|
27126
27126
|
}
|
|
27127
27127
|
forEachSet(t) {
|
|
@@ -27176,7 +27176,7 @@ function AZ(e, t, n, i, r, s, o) {
|
|
|
27176
27176
|
a.splice(f, 0, c.children[u], c.children[u + 1], c.children[u + 2]);
|
|
27177
27177
|
}
|
|
27178
27178
|
}
|
|
27179
|
-
return new
|
|
27179
|
+
return new Jt(t.sort(u4), a);
|
|
27180
27180
|
}
|
|
27181
27181
|
function aV(e, t) {
|
|
27182
27182
|
if (!t || !e.length)
|
|
@@ -27228,7 +27228,7 @@ function Es(e, t, n, i) {
|
|
|
27228
27228
|
let o = aV(s ? dV(e) : e, -n).sort(u4);
|
|
27229
27229
|
for (let a = 0; a < o.length; a++)
|
|
27230
27230
|
o[a].type.valid(t, o[a]) || (i.onRemove && i.onRemove(o[a].spec), o.splice(a--, 1));
|
|
27231
|
-
return o.length || r.length ? new
|
|
27231
|
+
return o.length || r.length ? new Jt(o, r) : D2;
|
|
27232
27232
|
}
|
|
27233
27233
|
function u4(e, t) {
|
|
27234
27234
|
return e.from - t.from || e.to - t.to;
|
|
@@ -27261,7 +27261,7 @@ function od(e) {
|
|
|
27261
27261
|
return e.someProp("decorations", (n) => {
|
|
27262
27262
|
let i = n(e.state);
|
|
27263
27263
|
i && i != D2 && t.push(i);
|
|
27264
|
-
}), e.cursorWrapper && t.push(
|
|
27264
|
+
}), e.cursorWrapper && t.push(Jt.create(e.state.doc, [e.cursorWrapper.deco])), s9.from(t);
|
|
27265
27265
|
}
|
|
27266
27266
|
const PZ = {
|
|
27267
27267
|
childList: !0,
|
|
@@ -32767,10 +32767,10 @@ function GG(e, t) {
|
|
|
32767
32767
|
var z1 = u1.target, Ce = X().contains(z1) || O.contains(z1);
|
|
32768
32768
|
if (!(u1.type === "mousemove" && Ce)) {
|
|
32769
32769
|
var Ee = T1().concat(O).map(function(ye) {
|
|
32770
|
-
var _t, wt = ye._tippy,
|
|
32771
|
-
return
|
|
32770
|
+
var _t, wt = ye._tippy, Kt = (_t = wt.popperInstance) == null ? void 0 : _t.state;
|
|
32771
|
+
return Kt ? {
|
|
32772
32772
|
popperRect: ye.getBoundingClientRect(),
|
|
32773
|
-
popperState:
|
|
32773
|
+
popperState: Kt,
|
|
32774
32774
|
props: n
|
|
32775
32775
|
} : null;
|
|
32776
32776
|
}).filter(Boolean);
|
|
@@ -32795,7 +32795,7 @@ function GG(e, t) {
|
|
|
32795
32795
|
}
|
|
32796
32796
|
function n1() {
|
|
32797
32797
|
v1();
|
|
32798
|
-
var u1 = T.props, z1 = u1.popperOptions, Ce = u1.placement, Ee = u1.offset, ye = u1.getReferenceClientRect, _t = u1.moveTransition, wt = o1() ? su(O).arrow : null,
|
|
32798
|
+
var u1 = T.props, z1 = u1.popperOptions, Ce = u1.placement, Ee = u1.offset, ye = u1.getReferenceClientRect, _t = u1.moveTransition, wt = o1() ? su(O).arrow : null, Kt = ye ? {
|
|
32799
32799
|
getBoundingClientRect: ye,
|
|
32800
32800
|
contextElement: ye.contextElement || X()
|
|
32801
32801
|
} : e, z2 = {
|
|
@@ -32844,7 +32844,7 @@ function GG(e, t) {
|
|
|
32844
32844
|
element: wt,
|
|
32845
32845
|
padding: 3
|
|
32846
32846
|
}
|
|
32847
|
-
}), S3.push.apply(S3, (z1 == null ? void 0 : z1.modifiers) || []), T.popperInstance = yG(
|
|
32847
|
+
}), S3.push.apply(S3, (z1 == null ? void 0 : z1.modifiers) || []), T.popperInstance = yG(Kt, O, Object.assign({}, z1, {
|
|
32848
32848
|
placement: Ce,
|
|
32849
32849
|
onFirstUpdate: f,
|
|
32850
32850
|
modifiers: S3
|
|
@@ -32919,8 +32919,8 @@ function GG(e, t) {
|
|
|
32919
32919
|
var u1 = T.state.isVisible, z1 = T.state.isDestroyed, Ce = !T.state.isEnabled, Ee = q6.isTouch && !T.props.touch, ye = pd(T.props.duration, 0, x3.duration);
|
|
32920
32920
|
if (!(u1 || z1 || Ce || Ee) && !X().hasAttribute("disabled") && (Z1("onShow", [T], !1), T.props.onShow(T) !== !1)) {
|
|
32921
32921
|
if (T.state.isVisible = !0, o1() && (O.style.visibility = "visible"), ge(), je(), T.state.isMounted || (O.style.transition = "none"), o1()) {
|
|
32922
|
-
var _t = R1(), wt = _t.box,
|
|
32923
|
-
hd([wt,
|
|
32922
|
+
var _t = R1(), wt = _t.box, Kt = _t.content;
|
|
32923
|
+
hd([wt, Kt], 0);
|
|
32924
32924
|
}
|
|
32925
32925
|
f = function() {
|
|
32926
32926
|
var S3;
|
|
@@ -34045,7 +34045,7 @@ function vW(e) {
|
|
|
34045
34045
|
if (!(e.selection instanceof Ut))
|
|
34046
34046
|
return null;
|
|
34047
34047
|
let t = document.createElement("div");
|
|
34048
|
-
return t.className = "ProseMirror-gapcursor",
|
|
34048
|
+
return t.className = "ProseMirror-gapcursor", Jt.create(e.doc, [A3.widget(e.selection.head, t, { key: "gapcursor" })]);
|
|
34049
34049
|
}
|
|
34050
34050
|
const SW = It.create({
|
|
34051
34051
|
name: "gapCursor",
|
|
@@ -35193,7 +35193,7 @@ const lT = aT(!1, !0), dT = aT(!0, !0), $W = It.create({
|
|
|
35193
35193
|
r.push(u);
|
|
35194
35194
|
}
|
|
35195
35195
|
return this.options.includeChildren;
|
|
35196
|
-
}),
|
|
35196
|
+
}), Jt.create(e, r);
|
|
35197
35197
|
}
|
|
35198
35198
|
}
|
|
35199
35199
|
})
|
|
@@ -48177,7 +48177,10 @@ const pg1 = /* @__PURE__ */ v(ug1, [["render", Cg1]]), Td = {
|
|
|
48177
48177
|
this.isMobile = window.innerWidth < Td.SMALL, this.isLargerThanMobile = window.innerWidth > Td.SMALL, this.isDesktop = window.innerWidth >= Td.LARGE;
|
|
48178
48178
|
}
|
|
48179
48179
|
}
|
|
48180
|
-
}, cb = (e, t = {}) =>
|
|
48180
|
+
}, cb = (e, t = {}) => {
|
|
48181
|
+
const n = jt.getDataByLanguage("en-US");
|
|
48182
|
+
return console.log("languages in the fesharedlib", n), jt.t(e, { ns: "fe-shared-lib", ...t });
|
|
48183
|
+
}, fg1 = "Buy matching domain name for your brand", kr = {
|
|
48181
48184
|
slug: "slug",
|
|
48182
48185
|
purchased: "purchased"
|
|
48183
48186
|
}, gg1 = "https://brandcrowd-cdn.s3.amazonaws.com/public/assets/images/icons/publish/dcom-free-url.svg", mg1 = "https://brandcrowd-cdn.s3.amazonaws.com/public/assets/images/icons/publish/bc-free-url.svg", yg1 = {
|
|
@@ -65877,13 +65880,13 @@ function oA1() {
|
|
|
65877
65880
|
ye = Ee;
|
|
65878
65881
|
e:
|
|
65879
65882
|
for (; ++Ke < z1; ) {
|
|
65880
|
-
var wt = a1[Ke],
|
|
65881
|
-
if (wt = wt !== 0 ? wt : 0, Ce &&
|
|
65883
|
+
var wt = a1[Ke], Kt = wt;
|
|
65884
|
+
if (wt = wt !== 0 ? wt : 0, Ce && Kt === Kt) {
|
|
65882
65885
|
for (var z2 = ye.length; z2--; )
|
|
65883
|
-
if (ye[z2] ===
|
|
65886
|
+
if (ye[z2] === Kt)
|
|
65884
65887
|
continue e;
|
|
65885
65888
|
Ee.push(wt);
|
|
65886
|
-
} else u1(ye,
|
|
65889
|
+
} else u1(ye, Kt, se) || (ye !== Ee && ye.push(Kt), Ee.push(wt));
|
|
65887
65890
|
}
|
|
65888
65891
|
return Ee;
|
|
65889
65892
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/library.brand-page",
|
|
3
3
|
"description": "A collection of Maker/Designer applications",
|
|
4
|
-
"version": "5.10.7-bp-
|
|
4
|
+
"version": "5.10.7-bp-tr3",
|
|
5
5
|
"author": "Design.com Eng",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@ckpack/vue-color": "1.4.1",
|
|
58
|
-
"@designcrowd/fe-shared-lib": "1.2.0-tr-
|
|
58
|
+
"@designcrowd/fe-shared-lib": "1.2.0-tr-9",
|
|
59
59
|
"@pinia/nuxt": "0.11.0",
|
|
60
60
|
"@storybook/react": "9.0.4",
|
|
61
61
|
"@tiptap/extension-character-count": "2.11.7",
|