@getblock/common 0.1.89 → 0.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/getblock-common.es.ts +110 -110
- package/dist/getblock-common.umd.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as H, computed as F, openBlock as s, createElementBlock as u, normalizeClass as r, unref as a, renderSlot as $, ref as g, useSlots as Re, createCommentVNode as S, createElementVNode as e, createBlock as ue, withDirectives as K, isRef as Je, vModelDynamic as Pe, createVNode as T, vShow as oe, onMounted as ve, watch as ce, resolveDirective as Oe, Fragment as R, toDisplayString as i, renderList as
|
|
1
|
+
import { defineComponent as H, computed as F, openBlock as s, createElementBlock as u, normalizeClass as r, unref as a, renderSlot as $, ref as g, useSlots as Re, createCommentVNode as S, createElementVNode as e, createBlock as ue, withDirectives as K, isRef as Je, vModelDynamic as Pe, createVNode as T, vShow as oe, onMounted as ve, watch as ce, resolveDirective as Oe, Fragment as R, toDisplayString as i, renderList as W, withModifiers as he, onBeforeUnmount as Ke, Teleport as $e, normalizeStyle as Ee, vModelText as qe, createTextVNode as ie, nextTick as et, onUnmounted as We, useCssVars as Le, createSlots as me, withCtx as I, withKeys as Fe, reactive as je } from "vue";
|
|
2
2
|
const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_7", at = "_getblock_ui_buttonTint_1pp63_8", ot = "_getblock_ui_buttonPrimary_1pp63_9", nt = "_getblock_ui_buttonSecondary_1pp63_10", st = "_getblock_ui_buttonOutline_1pp63_11", ct = "_getblock_ui_buttonTransparent_1pp63_12", it = "_getblock_ui_buttonDestructiveAccent_1pp63_13", ut = "_getblock_ui_buttonDestructiveTint_1pp63_14", dt = "_getblock_ui_buttonDestructiveSecondary_1pp63_15", rt = "_getblock_ui_buttonDestructiveOutline_1pp63_16", pt = "_getblock_ui_buttonDestructiveTransparent_1pp63_17", mt = "dark", ht = "_getblock_ui_buttonLarge_1pp63_42", kt = "_getblock_ui_buttonMedium_1pp63_46", xt = "_getblock_ui_buttonSmall_1pp63_50", Nt = "_getblock_ui_buttonBase_1pp63_57", gt = "_getblock_ui_buttonAttention_1pp63_91", Tt = "_getblock_ui_buttonViolet_1pp63_96", Mt = "_getblock_ui_buttonSpecial_1pp63_101", bt = "_getblock_ui_buttonPinkGradient_1pp63_107", Vt = "_getblock_ui_buttonWhite_1pp63_116", vt = "_getblock_ui_buttonTinyWhite_1pp63_120", yt = "_getblock_ui_buttonDestructive_1pp63_13", Ut = "_getblock_ui_iconButtonLarge_1pp63_165", Ft = "_getblock_ui_iconButtonMedium_1pp63_169", Zt = "_getblock_ui_iconButtonSmall_1pp63_173", L = {
|
|
3
3
|
button: tt,
|
|
4
4
|
buttonAccent: lt,
|
|
@@ -105,11 +105,11 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
105
105
|
$(k.$slots, "right-icon")
|
|
106
106
|
], 10, _t));
|
|
107
107
|
}
|
|
108
|
-
}), Rt = "_getblock_ui_iconXs_15uci_2", Et = "_getblock_ui_iconSmall_15uci_6",
|
|
108
|
+
}), Rt = "_getblock_ui_iconXs_15uci_2", Et = "_getblock_ui_iconSmall_15uci_6", Wt = "_getblock_ui_iconMedium_15uci_10", ft = "_getblock_ui_iconLarge_15uci_14", zt = "_getblock_ui_iconMain_15uci_21", It = "dark", St = "_getblock_ui_iconSecondary_15uci_31", Dt = "_getblock_ui_iconTertiary_15uci_41", jt = "_getblock_ui_iconDisable_15uci_51", Qt = "_getblock_ui_iconAction_15uci_61", wt = "_getblock_ui_iconTintBlue_15uci_71", Bt = "_getblock_ui_iconAttention_15uci_81", Yt = "_getblock_ui_iconAlert_15uci_91", Gt = "_getblock_ui_iconSuccess_15uci_101", Ct = "_getblock_ui_iconColorBG_15uci_111", Jt = "_getblock_ui_iconLightBG_15uci_121", Ot = "_getblock_ui_iconTintRed_15uci_131", Lt = "_getblock_ui_iconDefault_15uci_141", Xt = "_getblock_ui_iconReverseMain_15uci_151", Ht = "_getblock_ui_iconContrast_15uci_158", At = "_getblock_ui_iconViolet_15uci_167", Pt = "_getblock_ui_iconAccentHover_15uci_178", Kt = "_getblock_ui_iconTintHover_15uci_187", $t = "_getblock_ui_iconAttentionHover_15uci_196", qt = "_getblock_ui_iconErrorHover_15uci_205", X = {
|
|
109
109
|
iconXs: Rt,
|
|
110
110
|
iconSmall: Et,
|
|
111
|
-
iconMedium:
|
|
112
|
-
iconLarge:
|
|
111
|
+
iconMedium: Wt,
|
|
112
|
+
iconLarge: ft,
|
|
113
113
|
iconMain: zt,
|
|
114
114
|
dark: It,
|
|
115
115
|
iconSecondary: St,
|
|
@@ -309,7 +309,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
309
309
|
})), v = F(() => ({
|
|
310
310
|
[te.inputHint]: !l.error,
|
|
311
311
|
[te.inputHintError]: l.error
|
|
312
|
-
})),
|
|
312
|
+
})), f = F(() => ({
|
|
313
313
|
[te.inputLabel]: !0,
|
|
314
314
|
[te.inputLabelDisabled]: l.disabled
|
|
315
315
|
})), G = () => {
|
|
@@ -329,7 +329,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
329
329
|
}, [
|
|
330
330
|
a(J).label ? (s(), u("p", {
|
|
331
331
|
key: 0,
|
|
332
|
-
class: r([a(
|
|
332
|
+
class: r([a(f), "input__label"])
|
|
333
333
|
}, [
|
|
334
334
|
$(B.$slots, "label")
|
|
335
335
|
], 2)) : S("", !0),
|
|
@@ -395,7 +395,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
395
395
|
], 2)) : S("", !0)
|
|
396
396
|
], 2));
|
|
397
397
|
}
|
|
398
|
-
}), gl = "_getblock_ui_dropdown_3s0v7_2", Tl = "dark", Ml = "_getblock_ui_dropdownFocused_3s0v7_6", bl = "_getblock_ui_dropdownWrapper_3s0v7_11", Vl = "_getblock_ui_dropdownFiltersWrapper_3s0v7_17", vl = "_getblock_ui_dropdownItemsListWrapper_3s0v7_21", yl = "_getblock_ui_dropdownList_3s0v7_25", Ul = "_getblock_ui_scrollTrack_3s0v7_33", Fl = "_getblock_ui_scrollTrackWithFilters_3s0v7_42", Zl = "_getblock_ui_scrollBar_3s0v7_51", _l = "_getblock_ui_dropdownListItem_3s0v7_73", Rl = "_getblock_ui_dropdownListItemText_3s0v7_77", El = "_getblock_ui_dropdownListSelectedItemText_3s0v7_81",
|
|
398
|
+
}), gl = "_getblock_ui_dropdown_3s0v7_2", Tl = "dark", Ml = "_getblock_ui_dropdownFocused_3s0v7_6", bl = "_getblock_ui_dropdownWrapper_3s0v7_11", Vl = "_getblock_ui_dropdownFiltersWrapper_3s0v7_17", vl = "_getblock_ui_dropdownItemsListWrapper_3s0v7_21", yl = "_getblock_ui_dropdownList_3s0v7_25", Ul = "_getblock_ui_scrollTrack_3s0v7_33", Fl = "_getblock_ui_scrollTrackWithFilters_3s0v7_42", Zl = "_getblock_ui_scrollBar_3s0v7_51", _l = "_getblock_ui_dropdownListItem_3s0v7_73", Rl = "_getblock_ui_dropdownListItemText_3s0v7_77", El = "_getblock_ui_dropdownListSelectedItemText_3s0v7_81", Wl = "_getblock_ui_dropdownNotFoundListItem_3s0v7_85", fl = "_getblock_ui_dropdownNotFoundListItemText_3s0v7_89", zl = "_getblock_ui_dropdownSmall_3s0v7_95", Il = "_getblock_ui_dropdownMedium_3s0v7_99", Sl = "_getblock_ui_dropdownLarge_3s0v7_103", Dl = "_getblock_ui_dropdownFill_3s0v7_109", jl = "_getblock_ui_dropdownFillDisabled_3s0v7_114", Ql = "_getblock_ui_dropdownOutline_3s0v7_122", wl = "_getblock_ui_dropdownOutlineDisabled_3s0v7_127", Bl = "_getblock_ui_dropdownError_3s0v7_135", Yl = "_getblock_ui_hoveredChevron_3s0v7_142", Gl = "_getblock_ui_rotateChevron_3s0v7_150", Cl = "_getblock_ui_search_3s0v7_156", Jl = "_getblock_ui_placeholder_3s0v7_162", Ol = "_getblock_ui_placeholderWithoutText_3s0v7_166", O = {
|
|
399
399
|
dropdown: gl,
|
|
400
400
|
dark: Tl,
|
|
401
401
|
dropdownFocused: Ml,
|
|
@@ -409,8 +409,8 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
409
409
|
dropdownListItem: _l,
|
|
410
410
|
dropdownListItemText: Rl,
|
|
411
411
|
dropdownListSelectedItemText: El,
|
|
412
|
-
dropdownNotFoundListItem:
|
|
413
|
-
dropdownNotFoundListItemText:
|
|
412
|
+
dropdownNotFoundListItem: Wl,
|
|
413
|
+
dropdownNotFoundListItemText: fl,
|
|
414
414
|
dropdownSmall: zl,
|
|
415
415
|
dropdownMedium: Il,
|
|
416
416
|
dropdownLarge: Sl,
|
|
@@ -507,7 +507,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
507
507
|
},
|
|
508
508
|
emits: ["selectItem", "resetError"],
|
|
509
509
|
setup(d, { emit: c }) {
|
|
510
|
-
const l = d, k = Re(), o = g(!1), p = g(null), n = g(-1), x = g(null), t = g(null), M = g(null), v = g(!1),
|
|
510
|
+
const l = d, k = Re(), o = g(!1), p = g(null), n = g(-1), x = g(null), t = g(null), M = g(null), v = g(!1), f = (h) => {
|
|
511
511
|
const y = x.value, j = t.value, q = M.value, ee = y.scrollTop / (y.scrollHeight - y.clientHeight);
|
|
512
512
|
q.style.transform = `translateY(${ee * (j.clientHeight - 50)}px)`;
|
|
513
513
|
}, G = (h) => {
|
|
@@ -526,7 +526,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
526
526
|
};
|
|
527
527
|
ve(() => {
|
|
528
528
|
var h;
|
|
529
|
-
(h = x.value) == null || h.addEventListener("scroll",
|
|
529
|
+
(h = x.value) == null || h.addEventListener("scroll", f);
|
|
530
530
|
});
|
|
531
531
|
const b = g(""), Z = (h) => {
|
|
532
532
|
b.value = h.target.value;
|
|
@@ -621,7 +621,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
621
621
|
ref_key: "dropdownContent",
|
|
622
622
|
ref: x
|
|
623
623
|
}, [
|
|
624
|
-
(s(!0), u(R, null,
|
|
624
|
+
(s(!0), u(R, null, W(a(w), (A, _) => (s(), u("div", {
|
|
625
625
|
key: `${A.value}_${_}`,
|
|
626
626
|
class: r(["flex items-center justify-between dropdown-item", [a(O).dropdownListItem, { "bg-gray-100": n.value === _ }]]),
|
|
627
627
|
onClick: he((D) => C(A), ["stop"]),
|
|
@@ -795,7 +795,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
795
795
|
p.value = !0, x();
|
|
796
796
|
}, v = () => {
|
|
797
797
|
p.value = !1, t();
|
|
798
|
-
},
|
|
798
|
+
}, f = () => {
|
|
799
799
|
p.value = !0;
|
|
800
800
|
}, G = () => {
|
|
801
801
|
p.value = !1, t();
|
|
@@ -817,7 +817,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
817
817
|
ref: k,
|
|
818
818
|
class: "z-50 fixed tooltip-shadow bg-surface-base dark:bg-surface-dark-base text-xs leading-5 text-text-main dark:text-text-dark-main py-3 px-3 rounded-lg",
|
|
819
819
|
style: Ee(n.value),
|
|
820
|
-
onMouseenter:
|
|
820
|
+
onMouseenter: f,
|
|
821
821
|
onMouseleave: G
|
|
822
822
|
}, [
|
|
823
823
|
$(E.$slots, "tooltip-body")
|
|
@@ -842,7 +842,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
842
842
|
textareaHintError: Ta,
|
|
843
843
|
textareaHint: Ma,
|
|
844
844
|
textareaLabel: ba
|
|
845
|
-
}, Va = ["tabindex", "disabled", "maxlength", "name", "placeholder"],
|
|
845
|
+
}, Va = ["tabindex", "disabled", "maxlength", "name", "placeholder"], fe = /* @__PURE__ */ H({
|
|
846
846
|
__name: "TextArea",
|
|
847
847
|
props: {
|
|
848
848
|
disabled: {
|
|
@@ -899,7 +899,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
899
899
|
})), v = () => {
|
|
900
900
|
var E;
|
|
901
901
|
c("resetError"), o.value = !0, (E = k.value) == null || E.focus();
|
|
902
|
-
},
|
|
902
|
+
}, f = () => {
|
|
903
903
|
o.value = !1;
|
|
904
904
|
}, G = Re();
|
|
905
905
|
return (E, b) => (s(), u("div", {
|
|
@@ -922,7 +922,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
922
922
|
tabindex: "0",
|
|
923
923
|
class: r(["textarea__wrapper", [a(x), a(se).textarea]]),
|
|
924
924
|
onFocusin: v,
|
|
925
|
-
onFocusout:
|
|
925
|
+
onFocusout: f
|
|
926
926
|
}, [
|
|
927
927
|
K(e("textarea", {
|
|
928
928
|
ref_key: "inputRef",
|
|
@@ -993,10 +993,10 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
993
993
|
Ra
|
|
994
994
|
], 2));
|
|
995
995
|
}
|
|
996
|
-
}), Ea = "_getblock_ui_tabBarContainer_12dgf_2",
|
|
996
|
+
}), Ea = "_getblock_ui_tabBarContainer_12dgf_2", Wa = "dark", fa = "_getblock_ui_tabBarItem_12dgf_7", za = "_getblock_ui_tabBarItemStretched_12dgf_11", Ia = "_getblock_ui_tabBarSelected_12dgf_17", Sa = "_getblock_ui_tabBarNotSelected_12dgf_29", Da = "_getblock_ui_tabBarSelectedDisabled_12dgf_41", ja = "_getblock_ui_tabBarNotSelectedDisabled_12dgf_42", ke = {
|
|
997
997
|
tabBarContainer: Ea,
|
|
998
|
-
dark:
|
|
999
|
-
tabBarItem:
|
|
998
|
+
dark: Wa,
|
|
999
|
+
tabBarItem: fa,
|
|
1000
1000
|
tabBarItemStretched: za,
|
|
1001
1001
|
tabBarSelected: Ia,
|
|
1002
1002
|
tabBarNotSelected: Sa,
|
|
@@ -1030,7 +1030,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1030
1030
|
return (o, p) => (s(), u("div", {
|
|
1031
1031
|
class: r([a(ke).tabBarContainer, l.stretched ? "w-full" : "max-w-max"])
|
|
1032
1032
|
}, [
|
|
1033
|
-
(s(!0), u(R, null,
|
|
1033
|
+
(s(!0), u(R, null, W(d.tabItems, (n) => (s(), u("div", {
|
|
1034
1034
|
key: n.value,
|
|
1035
1035
|
class: r([
|
|
1036
1036
|
a(ke).tabBarItem,
|
|
@@ -1136,11 +1136,11 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1136
1136
|
other: "\u5176\u4ED6",
|
|
1137
1137
|
inputPlaceholder: "\u641C\u7D22"
|
|
1138
1138
|
}
|
|
1139
|
-
}, o = g(!1), p = g(""), n = g(!1), x = g([]), t = g(!1), M = g(null), v = F(() => o.value ? "main" : "tertiary"),
|
|
1139
|
+
}, o = g(!1), p = g(""), n = g(!1), x = g([]), t = g(!1), M = g(null), v = F(() => o.value ? "main" : "tertiary"), f = F(() => l.items.filter(
|
|
1140
1140
|
(m) => m.value.toLowerCase().includes(p.value.toLowerCase()) || m.generalText.toLowerCase().includes(p.value.toLowerCase()) || m.additionalText.toLowerCase().includes(p.value.toLowerCase())
|
|
1141
1141
|
)), G = (m) => {
|
|
1142
1142
|
n.value && (n.value = !1, x.value = []);
|
|
1143
|
-
for (const h of
|
|
1143
|
+
for (const h of f.value)
|
|
1144
1144
|
if (h.value === m.id) {
|
|
1145
1145
|
h.checked = !h.checked, h.checked ? x.value.push(h.generalText) : x.value = x.value.filter((y) => y !== h.generalText);
|
|
1146
1146
|
break;
|
|
@@ -1167,7 +1167,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1167
1167
|
t.value = !1;
|
|
1168
1168
|
}, 0), o.value = !0);
|
|
1169
1169
|
}
|
|
1170
|
-
),
|
|
1170
|
+
), We(() => {
|
|
1171
1171
|
M.value && clearTimeout(M.value);
|
|
1172
1172
|
});
|
|
1173
1173
|
const J = g(null), B = g(null), C = g(null), ne = g(!1), U = (m) => {
|
|
@@ -1232,9 +1232,9 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1232
1232
|
ref_key: "dropdownContent",
|
|
1233
1233
|
ref: J
|
|
1234
1234
|
}, [
|
|
1235
|
-
(s(!0), u(R, null,
|
|
1235
|
+
(s(!0), u(R, null, W(a(f), (j) => (s(), u("div", {
|
|
1236
1236
|
key: j.value,
|
|
1237
|
-
class: r(["flex gap-3 p-3 items-center", { "pr-6": a(
|
|
1237
|
+
class: r(["flex gap-3 p-3 items-center", { "pr-6": a(f).length >= 2 }])
|
|
1238
1238
|
}, [
|
|
1239
1239
|
T(Qe, {
|
|
1240
1240
|
checked: j.checked,
|
|
@@ -1255,7 +1255,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1255
1255
|
e("span", oo, i(k[l.locale].other), 1)
|
|
1256
1256
|
])
|
|
1257
1257
|
], 512),
|
|
1258
|
-
a(
|
|
1258
|
+
a(f).length >= 2 ? (s(), u("div", {
|
|
1259
1259
|
key: 0,
|
|
1260
1260
|
class: "absolute right-1 top-0 h-full w-[10px]",
|
|
1261
1261
|
ref_key: "scrollBar",
|
|
@@ -1352,14 +1352,14 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1352
1352
|
onInput: x
|
|
1353
1353
|
}, null, 40, mo),
|
|
1354
1354
|
e("div", ho, [
|
|
1355
|
-
(s(!0), u(R, null,
|
|
1355
|
+
(s(!0), u(R, null, W(d.marks, (v) => (s(), u("div", {
|
|
1356
1356
|
key: v,
|
|
1357
1357
|
class: r(["dot", [{ "!bg-[#DEDFE0]": d.value < Number(v) }]])
|
|
1358
1358
|
}, null, 2))), 128))
|
|
1359
1359
|
])
|
|
1360
1360
|
]),
|
|
1361
1361
|
e("div", ko, [
|
|
1362
|
-
(s(!0), u(R, null,
|
|
1362
|
+
(s(!0), u(R, null, W(d.marks, (v) => (s(), u("span", {
|
|
1363
1363
|
key: v,
|
|
1364
1364
|
class: "slider-mark"
|
|
1365
1365
|
}, i(v), 1))), 128))
|
|
@@ -1419,7 +1419,7 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1419
1419
|
},
|
|
1420
1420
|
emits: ["contactFormSent"],
|
|
1421
1421
|
setup(d, { emit: c }) {
|
|
1422
|
-
const l = d, k = c, { getText: o, loadTexts: p } = Vo(), n = g(""), x = g(!1), t = g(""), M = g(!1), v = g(""),
|
|
1422
|
+
const l = d, k = c, { getText: o, loadTexts: p } = Vo(), n = g(""), x = g(!1), t = g(""), M = g(!1), v = g(""), f = g(!1), G = g(null), E = g(""), b = g(!1), Z = g(""), w = g(!1), J = F(() => {
|
|
1423
1423
|
const N = /^\S+@\S+\.\S+$/;
|
|
1424
1424
|
return n.value.trim().length === 0 || v.value.trim().length === 0 || !N.test(v.value.trim()) || E.value.trim().length === 0 || Z.value.trim().length === 0;
|
|
1425
1425
|
});
|
|
@@ -1433,14 +1433,14 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1433
1433
|
}, C = (N) => {
|
|
1434
1434
|
if (N === "name" && (x.value = n.value.trim().length === 0), N === "company" && (M.value = t.value.trim().length === 0), N === "email") {
|
|
1435
1435
|
const m = v.value.trim();
|
|
1436
|
-
m.length === 0 ? (
|
|
1436
|
+
m.length === 0 ? (f.value = !0, G.value = "empty") : /^\S+@\S+\.\S+$/.test(m) ? (f.value = !1, G.value = null) : (f.value = !0, G.value = "invalid");
|
|
1437
1437
|
}
|
|
1438
1438
|
N === "contact" && (b.value = E.value.trim().length === 0), N === "message" && (w.value = Z.value.trim().length === 0);
|
|
1439
1439
|
}, ne = () => {
|
|
1440
1440
|
let N = !0;
|
|
1441
1441
|
n.value.trim().length === 0 && (x.value = !0, N = !1);
|
|
1442
1442
|
const m = v.value.trim();
|
|
1443
|
-
return m.length === 0 ? (
|
|
1443
|
+
return m.length === 0 ? (f.value = !0, G.value = "empty", N = !1) : /^\S+@\S+\.\S+$/.test(m) || (f.value = !0, G.value = "invalid", N = !1), E.value.trim().length === 0 && (b.value = !0, N = !1), Z.value.trim().length === 0 && (w.value = !0, N = !1), N;
|
|
1444
1444
|
}, U = () => {
|
|
1445
1445
|
ne() && (k("contactFormSent", {
|
|
1446
1446
|
name: n.value,
|
|
@@ -1468,9 +1468,9 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1468
1468
|
height: "72",
|
|
1469
1469
|
src: bo
|
|
1470
1470
|
}, null, -1)),
|
|
1471
|
-
e("
|
|
1471
|
+
e("h2", yo, i((h = a(o)) == null ? void 0 : h.title), 1),
|
|
1472
1472
|
e("p", Uo, i((y = a(o)) == null ? void 0 : y.description), 1)
|
|
1473
|
-
])) : (s(), u("
|
|
1473
|
+
])) : (s(), u("h2", Fo, i(l.title), 1))
|
|
1474
1474
|
], 2),
|
|
1475
1475
|
e("div", Zo, [
|
|
1476
1476
|
T(a(de), {
|
|
@@ -1524,23 +1524,23 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1524
1524
|
} : void 0
|
|
1525
1525
|
]), 1032, ["class", "custom-event-right-button", "error", "placeholder", "input-value"]),
|
|
1526
1526
|
T(a(de), {
|
|
1527
|
-
class: r(["appearance-none gap-0 contact-form__input", [{ "contact-form__input--error":
|
|
1527
|
+
class: r(["appearance-none gap-0 contact-form__input", [{ "contact-form__input--error": f.value }]]),
|
|
1528
1528
|
"icon-name": "mail-01",
|
|
1529
1529
|
"input-name": "email",
|
|
1530
1530
|
"input-type": "text",
|
|
1531
1531
|
"size-type": "medium",
|
|
1532
1532
|
"color-type": "outline",
|
|
1533
1533
|
"tab-index": 3,
|
|
1534
|
-
"custom-event-right-button": !
|
|
1534
|
+
"custom-event-right-button": !f.value,
|
|
1535
1535
|
"right-icon-name": "check-circle-green",
|
|
1536
|
-
error:
|
|
1536
|
+
error: f.value,
|
|
1537
1537
|
placeholder: (ee = a(o)) == null ? void 0 : ee.form.placeholders.email,
|
|
1538
1538
|
"input-value": v.value,
|
|
1539
1539
|
"onUpdate:inputValue": m[6] || (m[6] = (Q) => v.value = Q),
|
|
1540
1540
|
onInput: m[7] || (m[7] = (Q) => C("email")),
|
|
1541
1541
|
onChange: m[8] || (m[8] = (Q) => C("email"))
|
|
1542
1542
|
}, me({ _: 2 }, [
|
|
1543
|
-
|
|
1543
|
+
f.value ? {
|
|
1544
1544
|
name: "hint",
|
|
1545
1545
|
fn: I(() => [
|
|
1546
1546
|
e("span", null, i(B("email")), 1)
|
|
@@ -1573,7 +1573,7 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1573
1573
|
key: "0"
|
|
1574
1574
|
} : void 0
|
|
1575
1575
|
]), 1032, ["class", "custom-event-right-button", "error", "placeholder", "input-value"]),
|
|
1576
|
-
T(a(
|
|
1576
|
+
T(a(fe), {
|
|
1577
1577
|
class: r(["contact-form__input contact-form__input--textarea", [{ "contact-form__input--error": w.value }]]),
|
|
1578
1578
|
"input-name": "message",
|
|
1579
1579
|
"tab-index": 5,
|
|
@@ -1629,7 +1629,7 @@ const xe = (d, c) => {
|
|
|
1629
1629
|
for (const [k, o] of c)
|
|
1630
1630
|
l[k] = o;
|
|
1631
1631
|
return l;
|
|
1632
|
-
}, Eo = /* @__PURE__ */ xe(Ro, [["__scopeId", "data-v-
|
|
1632
|
+
}, Eo = /* @__PURE__ */ xe(Ro, [["__scopeId", "data-v-d5e82026"]]), Wo = /* @__PURE__ */ H({
|
|
1633
1633
|
__name: "ContactModal",
|
|
1634
1634
|
props: {
|
|
1635
1635
|
locale: {
|
|
@@ -1691,8 +1691,8 @@ const xe = (d, c) => {
|
|
|
1691
1691
|
], 2));
|
|
1692
1692
|
}
|
|
1693
1693
|
});
|
|
1694
|
-
const ou = /* @__PURE__ */ xe(
|
|
1695
|
-
cookie:
|
|
1694
|
+
const ou = /* @__PURE__ */ xe(Wo, [["__scopeId", "data-v-ccb6ae10"]]), fo = "_getblock_ui_cookie_1m598_1", zo = "dark", Io = "_getblock_ui_cookieManageModal_1m598_9", So = "_getblock_ui_cookieManageContainer_1m598_14", ye = {
|
|
1695
|
+
cookie: fo,
|
|
1696
1696
|
dark: zo,
|
|
1697
1697
|
cookieManageModal: Io,
|
|
1698
1698
|
cookieManageContainer: So
|
|
@@ -1815,7 +1815,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
1815
1815
|
() => n.value ? Do : jo
|
|
1816
1816
|
), v = (E) => {
|
|
1817
1817
|
o.value = E;
|
|
1818
|
-
},
|
|
1818
|
+
}, f = () => {
|
|
1819
1819
|
const E = [];
|
|
1820
1820
|
p.value.forEach((b) => {
|
|
1821
1821
|
b.checked && E.push(b.id);
|
|
@@ -1873,7 +1873,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
1873
1873
|
class: "sm:row-span-2 xs:ml-0 xs:w-full sm:w-full md:w-full justify-center",
|
|
1874
1874
|
"size-type": "medium",
|
|
1875
1875
|
"color-type": "accent",
|
|
1876
|
-
onClick:
|
|
1876
|
+
onClick: f
|
|
1877
1877
|
}, {
|
|
1878
1878
|
default: I(() => [
|
|
1879
1879
|
e("span", Oo, i(M.value.manage.accept), 1)
|
|
@@ -1909,7 +1909,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
1909
1909
|
})
|
|
1910
1910
|
]),
|
|
1911
1911
|
e("div", Ho, [
|
|
1912
|
-
(s(!0), u(R, null,
|
|
1912
|
+
(s(!0), u(R, null, W(p.value, (Z) => (s(), u("div", {
|
|
1913
1913
|
key: Z.id,
|
|
1914
1914
|
class: "flex gap-8"
|
|
1915
1915
|
}, [
|
|
@@ -1930,7 +1930,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
1930
1930
|
"size-type": "medium",
|
|
1931
1931
|
class: "w-full justify-center flex-shrink-0",
|
|
1932
1932
|
"color-type": "accent",
|
|
1933
|
-
onClick:
|
|
1933
|
+
onClick: f
|
|
1934
1934
|
}, {
|
|
1935
1935
|
default: I(() => [
|
|
1936
1936
|
e("span", qo, i(M.value.manage["accept-part"]), 1)
|
|
@@ -2075,7 +2075,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2075
2075
|
}, ln = "_getblock_ui_navigationItemTitle_pc7nq_1", an = "_getblock_ui_navigationItemLink_pc7nq_4", V = {
|
|
2076
2076
|
navigationItemTitle: ln,
|
|
2077
2077
|
navigationItemLink: an
|
|
2078
|
-
}, on = { class: "max-w-[1280px] flex flex-col px-6 mx-auto" }, nn = { class: "justify-between footer--desktop" }, sn = { class: "flex flex-col" }, cn = ["href"], un = { class: "flex flex-col" }, dn = ["href"], rn = { class: "flex flex-col" }, pn = { class: "flex flex-col" }, mn = ["href"], hn = { class: "flex flex-col mt-[20px]" }, kn = ["href"], xn = { class: "flex flex-col" }, Nn = ["rel", "href"], gn = { class: "flex flex-col" }, Tn = ["href"], Mn = { class: "flex flex-col" }, bn = ["href"], Vn = { class: "justify-between gap-4 footer--tablet" }, vn = { class: "flex flex-col" }, yn = ["href"], Un = { class: "flex flex-col" }, Fn = ["href"], Zn = { class: "flex flex-col" }, _n = { class: "flex flex-col" }, Rn = ["href"], En = { class: "flex flex-col mt-[20px]" },
|
|
2078
|
+
}, on = { class: "max-w-[1280px] flex flex-col px-6 mx-auto" }, nn = { class: "justify-between footer--desktop" }, sn = { class: "flex flex-col" }, cn = ["href"], un = { class: "flex flex-col" }, dn = ["href"], rn = { class: "flex flex-col" }, pn = { class: "flex flex-col" }, mn = ["href"], hn = { class: "flex flex-col mt-[20px]" }, kn = ["href"], xn = { class: "flex flex-col" }, Nn = ["rel", "href"], gn = { class: "flex flex-col" }, Tn = ["href"], Mn = { class: "flex flex-col" }, bn = ["href"], Vn = { class: "justify-between gap-4 footer--tablet" }, vn = { class: "flex flex-col" }, yn = ["href"], Un = { class: "flex flex-col" }, Fn = ["href"], Zn = { class: "flex flex-col" }, _n = { class: "flex flex-col" }, Rn = ["href"], En = { class: "flex flex-col mt-[20px]" }, Wn = ["href"], fn = { class: "flex flex-col" }, zn = { class: "flex flex-col" }, In = ["rel", "href"], Sn = { class: "flex flex-col mt-[20px]" }, Dn = ["href"], jn = { class: "flex flex-col" }, Qn = ["href"], wn = { class: "justify-between footer--tablet--small" }, Bn = { class: "flex flex-col" }, Yn = ["href"], Gn = { class: "flex flex-col mt-[20px]" }, Cn = ["href"], Jn = { class: "flex flex-col" }, On = ["href"], Ln = { class: "flex flex-col mt-[20px]" }, Xn = ["href"], Hn = { class: "flex flex-col" }, An = { class: "flex flex-col" }, Pn = ["rel", "href"], Kn = { class: "flex flex-col mt-[20px]" }, $n = ["href"], qn = { class: "flex flex-col mt-[20px]" }, es = ["href"], ts = { class: "gap-5 justify-between footer--mobile" }, ls = { class: "flex flex-col gap-5" }, as = { class: "flex flex-col" }, os = ["href"], ns = { class: "flex flex-col" }, ss = ["href"], cs = { class: "flex flex-col" }, is = ["rel", "href"], us = { class: "flex flex-col" }, ds = ["href"], rs = { class: "flex flex-col gap-5" }, ps = { class: "flex flex-col" }, ms = ["href"], hs = { class: "flex flex-col" }, ks = ["href"], xs = { class: "flex flex-col" }, Ns = ["href"], gs = { class: "copyright flex xs:flex-col xs:gap-8 xs:items-center justify-between py-8 border-t border-t-[#F2F2F2] mt-24" }, Ts = {
|
|
2079
2079
|
class: "copyright__socials flex gap-2",
|
|
2080
2080
|
"aria-label": "Our social networks"
|
|
2081
2081
|
}, Ms = ["href", "aria-balel"], bs = ["alt", "src"], Vs = { class: "flex flex-col gap-2" }, vs = { class: "text-sm leading-5 xs:text-center" }, ys = /* @__PURE__ */ H({
|
|
@@ -2331,7 +2331,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2331
2331
|
e("p", {
|
|
2332
2332
|
class: r(a(V).navigationItemTitle)
|
|
2333
2333
|
}, i(o.value.product.title), 3),
|
|
2334
|
-
(s(!0), u(R, null,
|
|
2334
|
+
(s(!0), u(R, null, W(l.value[0].items, (t) => (s(), u("a", {
|
|
2335
2335
|
key: t.key,
|
|
2336
2336
|
class: r(a(V).navigationItemLink),
|
|
2337
2337
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2341,7 +2341,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2341
2341
|
e("p", {
|
|
2342
2342
|
class: r(a(V).navigationItemTitle)
|
|
2343
2343
|
}, i(o.value.chains.title), 3),
|
|
2344
|
-
(s(!0), u(R, null,
|
|
2344
|
+
(s(!0), u(R, null, W(l.value[1].items, (t) => (s(), u("a", {
|
|
2345
2345
|
key: t.key,
|
|
2346
2346
|
class: r(a(V).navigationItemLink),
|
|
2347
2347
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2352,7 +2352,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2352
2352
|
e("p", {
|
|
2353
2353
|
class: r(a(V).navigationItemTitle)
|
|
2354
2354
|
}, i(o.value.explorers.title), 3),
|
|
2355
|
-
(s(!0), u(R, null,
|
|
2355
|
+
(s(!0), u(R, null, W(l.value[2].items, (t) => (s(), u("a", {
|
|
2356
2356
|
key: t.key,
|
|
2357
2357
|
class: r(a(V).navigationItemLink),
|
|
2358
2358
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2362,7 +2362,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2362
2362
|
e("p", {
|
|
2363
2363
|
class: r(a(V).navigationItemTitle)
|
|
2364
2364
|
}, i(o.value["for-developers"].title), 3),
|
|
2365
|
-
(s(!0), u(R, null,
|
|
2365
|
+
(s(!0), u(R, null, W(l.value[3].items, (t) => (s(), u("a", {
|
|
2366
2366
|
key: t.key,
|
|
2367
2367
|
class: r(a(V).navigationItemLink),
|
|
2368
2368
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2373,7 +2373,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2373
2373
|
e("p", {
|
|
2374
2374
|
class: r(a(V).navigationItemTitle)
|
|
2375
2375
|
}, i(o.value.company.title), 3),
|
|
2376
|
-
(s(!0), u(R, null,
|
|
2376
|
+
(s(!0), u(R, null, W(l.value[4].items, (t) => (s(), u("a", {
|
|
2377
2377
|
key: t.key,
|
|
2378
2378
|
rel: t.nofollow ? "nofollow" : void 0,
|
|
2379
2379
|
class: r(a(V).navigationItemLink),
|
|
@@ -2384,7 +2384,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2384
2384
|
e("p", {
|
|
2385
2385
|
class: r(a(V).navigationItemTitle)
|
|
2386
2386
|
}, i(o.value.partnerships.title), 3),
|
|
2387
|
-
(s(!0), u(R, null,
|
|
2387
|
+
(s(!0), u(R, null, W(l.value[5].items, (t) => (s(), u("a", {
|
|
2388
2388
|
key: t.key,
|
|
2389
2389
|
class: r(a(V).navigationItemLink),
|
|
2390
2390
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2394,7 +2394,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2394
2394
|
e("p", {
|
|
2395
2395
|
class: r(a(V).navigationItemTitle)
|
|
2396
2396
|
}, i(o.value["legal-documents"].title), 3),
|
|
2397
|
-
(s(!0), u(R, null,
|
|
2397
|
+
(s(!0), u(R, null, W(l.value[6].items, (t) => (s(), u("a", {
|
|
2398
2398
|
key: t.key,
|
|
2399
2399
|
class: r(a(V).navigationItemLink),
|
|
2400
2400
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2406,7 +2406,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2406
2406
|
e("p", {
|
|
2407
2407
|
class: r(a(V).navigationItemTitle)
|
|
2408
2408
|
}, i(o.value.product.title), 3),
|
|
2409
|
-
(s(!0), u(R, null,
|
|
2409
|
+
(s(!0), u(R, null, W(l.value[0].items, (t) => (s(), u("a", {
|
|
2410
2410
|
key: t.key,
|
|
2411
2411
|
class: r(a(V).navigationItemLink),
|
|
2412
2412
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2416,7 +2416,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2416
2416
|
e("p", {
|
|
2417
2417
|
class: r(a(V).navigationItemTitle)
|
|
2418
2418
|
}, i(o.value.chains.title), 3),
|
|
2419
|
-
(s(!0), u(R, null,
|
|
2419
|
+
(s(!0), u(R, null, W(l.value[1].items, (t) => (s(), u("a", {
|
|
2420
2420
|
key: t.key,
|
|
2421
2421
|
class: r(a(V).navigationItemLink),
|
|
2422
2422
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2427,7 +2427,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2427
2427
|
e("p", {
|
|
2428
2428
|
class: r(a(V).navigationItemTitle)
|
|
2429
2429
|
}, i(o.value.explorers.title), 3),
|
|
2430
|
-
(s(!0), u(R, null,
|
|
2430
|
+
(s(!0), u(R, null, W(l.value[2].items, (t) => (s(), u("a", {
|
|
2431
2431
|
key: t.key,
|
|
2432
2432
|
class: r(a(V).navigationItemLink),
|
|
2433
2433
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2437,19 +2437,19 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2437
2437
|
e("p", {
|
|
2438
2438
|
class: r(a(V).navigationItemTitle)
|
|
2439
2439
|
}, i(o.value["for-developers"].title), 3),
|
|
2440
|
-
(s(!0), u(R, null,
|
|
2440
|
+
(s(!0), u(R, null, W(l.value[3].items, (t) => (s(), u("a", {
|
|
2441
2441
|
key: t.key,
|
|
2442
2442
|
class: r(a(V).navigationItemLink),
|
|
2443
2443
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
2444
|
-
}, i(o.value["for-developers"][t.key]), 11,
|
|
2444
|
+
}, i(o.value["for-developers"][t.key]), 11, Wn))), 128))
|
|
2445
2445
|
])
|
|
2446
2446
|
]),
|
|
2447
|
-
e("div",
|
|
2447
|
+
e("div", fn, [
|
|
2448
2448
|
e("div", zn, [
|
|
2449
2449
|
e("p", {
|
|
2450
2450
|
class: r(a(V).navigationItemTitle)
|
|
2451
2451
|
}, i(o.value.company.title), 3),
|
|
2452
|
-
(s(!0), u(R, null,
|
|
2452
|
+
(s(!0), u(R, null, W(l.value[4].items, (t) => (s(), u("a", {
|
|
2453
2453
|
key: t.key,
|
|
2454
2454
|
rel: t.nofollow ? "nofollow" : void 0,
|
|
2455
2455
|
class: r(a(V).navigationItemLink),
|
|
@@ -2460,7 +2460,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2460
2460
|
e("p", {
|
|
2461
2461
|
class: r(a(V).navigationItemTitle)
|
|
2462
2462
|
}, i(o.value.partnerships.title), 3),
|
|
2463
|
-
(s(!0), u(R, null,
|
|
2463
|
+
(s(!0), u(R, null, W(l.value[5].items, (t) => (s(), u("a", {
|
|
2464
2464
|
key: t.key,
|
|
2465
2465
|
class: r(a(V).navigationItemLink),
|
|
2466
2466
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2471,7 +2471,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2471
2471
|
e("p", {
|
|
2472
2472
|
class: r(a(V).navigationItemTitle)
|
|
2473
2473
|
}, i(o.value["legal-documents"].title), 3),
|
|
2474
|
-
(s(!0), u(R, null,
|
|
2474
|
+
(s(!0), u(R, null, W(l.value[6].items, (t) => (s(), u("a", {
|
|
2475
2475
|
key: t.key,
|
|
2476
2476
|
class: r(a(V).navigationItemLink),
|
|
2477
2477
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2484,7 +2484,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2484
2484
|
e("p", {
|
|
2485
2485
|
class: r(a(V).navigationItemTitle)
|
|
2486
2486
|
}, i(o.value.product.title), 3),
|
|
2487
|
-
(s(!0), u(R, null,
|
|
2487
|
+
(s(!0), u(R, null, W(l.value[0].items, (t) => (s(), u("a", {
|
|
2488
2488
|
key: t.key,
|
|
2489
2489
|
class: r(a(V).navigationItemLink),
|
|
2490
2490
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2494,7 +2494,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2494
2494
|
e("p", {
|
|
2495
2495
|
class: r(a(V).navigationItemTitle)
|
|
2496
2496
|
}, i(o.value.explorers.title), 3),
|
|
2497
|
-
(s(!0), u(R, null,
|
|
2497
|
+
(s(!0), u(R, null, W(l.value[2].items, (t) => (s(), u("a", {
|
|
2498
2498
|
key: t.key,
|
|
2499
2499
|
class: r(a(V).navigationItemLink),
|
|
2500
2500
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2506,7 +2506,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2506
2506
|
e("p", {
|
|
2507
2507
|
class: r(a(V).navigationItemTitle)
|
|
2508
2508
|
}, i(o.value.chains.title), 3),
|
|
2509
|
-
(s(!0), u(R, null,
|
|
2509
|
+
(s(!0), u(R, null, W(l.value[1].items, (t) => (s(), u("a", {
|
|
2510
2510
|
key: t.key,
|
|
2511
2511
|
class: r(a(V).navigationItemLink),
|
|
2512
2512
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2516,7 +2516,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2516
2516
|
e("p", {
|
|
2517
2517
|
class: r(a(V).navigationItemTitle)
|
|
2518
2518
|
}, i(o.value["for-developers"].title), 3),
|
|
2519
|
-
(s(!0), u(R, null,
|
|
2519
|
+
(s(!0), u(R, null, W(l.value[3].items, (t) => (s(), u("a", {
|
|
2520
2520
|
key: t.key,
|
|
2521
2521
|
class: r(a(V).navigationItemLink),
|
|
2522
2522
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2528,7 +2528,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2528
2528
|
e("p", {
|
|
2529
2529
|
class: r(a(V).navigationItemTitle)
|
|
2530
2530
|
}, i(o.value.company.title), 3),
|
|
2531
|
-
(s(!0), u(R, null,
|
|
2531
|
+
(s(!0), u(R, null, W(l.value[4].items, (t) => (s(), u("a", {
|
|
2532
2532
|
key: t.key,
|
|
2533
2533
|
rel: t.nofollow ? "nofollow" : void 0,
|
|
2534
2534
|
class: r(a(V).navigationItemLink),
|
|
@@ -2539,7 +2539,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2539
2539
|
e("p", {
|
|
2540
2540
|
class: r(a(V).navigationItemTitle)
|
|
2541
2541
|
}, i(o.value.partnerships.title), 3),
|
|
2542
|
-
(s(!0), u(R, null,
|
|
2542
|
+
(s(!0), u(R, null, W(l.value[5].items, (t) => (s(), u("a", {
|
|
2543
2543
|
key: t.key,
|
|
2544
2544
|
class: r(a(V).navigationItemLink),
|
|
2545
2545
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2549,7 +2549,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2549
2549
|
e("p", {
|
|
2550
2550
|
class: r(a(V).navigationItemTitle)
|
|
2551
2551
|
}, i(o.value["legal-documents"].title), 3),
|
|
2552
|
-
(s(!0), u(R, null,
|
|
2552
|
+
(s(!0), u(R, null, W(l.value[6].items, (t) => (s(), u("a", {
|
|
2553
2553
|
key: t.key,
|
|
2554
2554
|
class: r(a(V).navigationItemLink),
|
|
2555
2555
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2563,7 +2563,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2563
2563
|
e("p", {
|
|
2564
2564
|
class: r(a(V).navigationItemTitle)
|
|
2565
2565
|
}, i(o.value.product.title), 3),
|
|
2566
|
-
(s(!0), u(R, null,
|
|
2566
|
+
(s(!0), u(R, null, W(l.value[0].items, (t) => (s(), u("a", {
|
|
2567
2567
|
key: t.key,
|
|
2568
2568
|
class: r(a(V).navigationItemLink),
|
|
2569
2569
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2573,7 +2573,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2573
2573
|
e("p", {
|
|
2574
2574
|
class: r(a(V).navigationItemTitle)
|
|
2575
2575
|
}, i(o.value.explorers.title), 3),
|
|
2576
|
-
(s(!0), u(R, null,
|
|
2576
|
+
(s(!0), u(R, null, W(l.value[2].items, (t) => (s(), u("a", {
|
|
2577
2577
|
key: t.key,
|
|
2578
2578
|
class: r(a(V).navigationItemLink),
|
|
2579
2579
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2583,7 +2583,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2583
2583
|
e("p", {
|
|
2584
2584
|
class: r(a(V).navigationItemTitle)
|
|
2585
2585
|
}, i(o.value.company.title), 3),
|
|
2586
|
-
(s(!0), u(R, null,
|
|
2586
|
+
(s(!0), u(R, null, W(l.value[4].items, (t) => (s(), u("a", {
|
|
2587
2587
|
key: t.key,
|
|
2588
2588
|
rel: t.nofollow ? "nofollow" : void 0,
|
|
2589
2589
|
class: r(a(V).navigationItemLink),
|
|
@@ -2594,7 +2594,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2594
2594
|
e("p", {
|
|
2595
2595
|
class: r(a(V).navigationItemTitle)
|
|
2596
2596
|
}, i(o.value.partnerships.title), 3),
|
|
2597
|
-
(s(!0), u(R, null,
|
|
2597
|
+
(s(!0), u(R, null, W(l.value[5].items, (t) => (s(), u("a", {
|
|
2598
2598
|
key: t.key,
|
|
2599
2599
|
class: r(a(V).navigationItemLink),
|
|
2600
2600
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2606,7 +2606,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2606
2606
|
e("p", {
|
|
2607
2607
|
class: r(a(V).navigationItemTitle)
|
|
2608
2608
|
}, i(o.value.chains.title), 3),
|
|
2609
|
-
(s(!0), u(R, null,
|
|
2609
|
+
(s(!0), u(R, null, W(l.value[1].items, (t) => (s(), u("a", {
|
|
2610
2610
|
key: t.key,
|
|
2611
2611
|
class: r(a(V).navigationItemLink),
|
|
2612
2612
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2616,7 +2616,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2616
2616
|
e("p", {
|
|
2617
2617
|
class: r(a(V).navigationItemTitle)
|
|
2618
2618
|
}, i(o.value["for-developers"].title), 3),
|
|
2619
|
-
(s(!0), u(R, null,
|
|
2619
|
+
(s(!0), u(R, null, W(l.value[3].items, (t) => (s(), u("a", {
|
|
2620
2620
|
key: t.key,
|
|
2621
2621
|
class: r(a(V).navigationItemLink),
|
|
2622
2622
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2626,7 +2626,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2626
2626
|
e("p", {
|
|
2627
2627
|
class: r(a(V).navigationItemTitle)
|
|
2628
2628
|
}, i(o.value["legal-documents"].title), 3),
|
|
2629
|
-
(s(!0), u(R, null,
|
|
2629
|
+
(s(!0), u(R, null, W(l.value[6].items, (t) => (s(), u("a", {
|
|
2630
2630
|
key: t.key,
|
|
2631
2631
|
class: r(a(V).navigationItemLink),
|
|
2632
2632
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2636,7 +2636,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2636
2636
|
]),
|
|
2637
2637
|
e("div", gs, [
|
|
2638
2638
|
e("section", Ts, [
|
|
2639
|
-
(s(!0), u(R, null,
|
|
2639
|
+
(s(!0), u(R, null, W(k.value, (t) => (s(), u("a", {
|
|
2640
2640
|
rel: "noopener noreferrer",
|
|
2641
2641
|
key: t.name,
|
|
2642
2642
|
class: "flex items-center justify-center w-10 h-10 bg-[#f5f8ff] rounded-full",
|
|
@@ -2741,7 +2741,7 @@ function _e(d, c) {
|
|
|
2741
2741
|
}
|
|
2742
2742
|
var Ye = _e(Us, { path: "/" });
|
|
2743
2743
|
const Fs = {
|
|
2744
|
-
contact: "Request a
|
|
2744
|
+
contact: "Request a demo",
|
|
2745
2745
|
dashboard: "Dashboard",
|
|
2746
2746
|
settings: "Settings",
|
|
2747
2747
|
language: "Language",
|
|
@@ -2984,7 +2984,7 @@ const Fs = {
|
|
|
2984
2984
|
"refund-policy": "legal_documents",
|
|
2985
2985
|
"media-kit": "media_kit",
|
|
2986
2986
|
"near-startup-program": "near_startup"
|
|
2987
|
-
}, Rs = { class: "border-b-2 border-border-base py-4 flex justify-between items-center max-w-[1248px] mx-auto xl:px-0 lg:px-2 md:px-4 sm:px-4 xs:px-4" }, Es = ["href"],
|
|
2987
|
+
}, Rs = { class: "border-b-2 border-border-base py-4 flex justify-between items-center max-w-[1248px] mx-auto xl:px-0 lg:px-2 md:px-4 sm:px-4 xs:px-4" }, Es = ["href"], Ws = { class: "xl:flex lg:flex md:hidden sm:hidden xs:hidden gap-2 items-center justify-center" }, fs = { class: "text-text-main dark:text-text-dark-main" }, zs = ["href"], Is = { class: "text-text-main dark:text-text-dark-main" }, Ss = { class: "xl:flex lg:flex md:hidden sm:hidden xs:hidden gap-2 items-center" }, Ds = { class: "relative" }, js = { class: "right-0 top-[55px] absolute lang-dropdown rounded-16 border-border-base bg-text-color-bg p-[6px] w-[197px]" }, Qs = ["href"], ws = { class: "xl:hidden lg:hidden md:block sm:block xs:block" }, Bs = { src: "https://storage.getblock.io/web/getblock-ui-kit/navbar/hamburger.svg" }, Ys = {
|
|
2988
2988
|
key: 0,
|
|
2989
2989
|
class: "flex justify-between max-w-[1280px] gap-4 mx-auto xl:px-0 px-6"
|
|
2990
2990
|
}, Gs = { class: "grid grid-cols-2 gap-x-4 gap-y-2 flex-shrink-0 h-fit" }, Cs = ["href"], Js = { class: "relative navigation-item__icon flex items-center justify-center w-[52px] h-[52px] rounded-16" }, Os = {
|
|
@@ -3132,13 +3132,13 @@ const Fs = {
|
|
|
3132
3132
|
}
|
|
3133
3133
|
]), n = g(0), x = g(!1), t = g(!1), M = g(0), v = () => {
|
|
3134
3134
|
x.value = !1, k("open-contact-modal");
|
|
3135
|
-
},
|
|
3135
|
+
}, f = () => {
|
|
3136
3136
|
const N = window == null ? void 0 : window.location.href, m = (window == null ? void 0 : window.location.pathname.replace(/^\/|\/$/g, "").split("/")[0]) || "/";
|
|
3137
3137
|
return { url: N, path: m };
|
|
3138
3138
|
}, G = F(() => window == null ? void 0 : window.location.href);
|
|
3139
3139
|
ce(G, () => {
|
|
3140
3140
|
if (window) {
|
|
3141
|
-
const { url: N, path: m } =
|
|
3141
|
+
const { url: N, path: m } = f(), h = _s[m] || "";
|
|
3142
3142
|
Ye.set("registration_source", h, {
|
|
3143
3143
|
expires: 365,
|
|
3144
3144
|
domain: ".getblock.io",
|
|
@@ -3183,7 +3183,7 @@ const Fs = {
|
|
|
3183
3183
|
});
|
|
3184
3184
|
return ve(() => {
|
|
3185
3185
|
w(), Z(), typeof window < "u" && (window.location.search && localStorage.setItem("queryString", window.location.search), window.addEventListener("scroll", Z, { passive: !0 }), window.addEventListener("resize", w, { passive: !0 }));
|
|
3186
|
-
}),
|
|
3186
|
+
}), We(() => {
|
|
3187
3187
|
typeof window < "u" && window.removeEventListener("scroll", Z), typeof window < "u" && window.removeEventListener("resize", w);
|
|
3188
3188
|
}), (N, m) => (s(), u("nav", {
|
|
3189
3189
|
class: "bg-text-color-bg sticky top-0 z-20",
|
|
@@ -3201,8 +3201,8 @@ const Fs = {
|
|
|
3201
3201
|
width: "182"
|
|
3202
3202
|
}, null, -1)
|
|
3203
3203
|
])], 8, Es),
|
|
3204
|
-
e("div",
|
|
3205
|
-
(s(!0), u(R, null,
|
|
3204
|
+
e("div", Ws, [
|
|
3205
|
+
(s(!0), u(R, null, W(o.value, (h) => (s(), u(R, null, [
|
|
3206
3206
|
h.key !== "pricing" ? (s(), ue(a(le), {
|
|
3207
3207
|
key: h.key,
|
|
3208
3208
|
"color-type": "transparent",
|
|
@@ -3210,7 +3210,7 @@ const Fs = {
|
|
|
3210
3210
|
onMouseover: (y) => C(h)
|
|
3211
3211
|
}, {
|
|
3212
3212
|
default: I(() => [
|
|
3213
|
-
e("p",
|
|
3213
|
+
e("p", fs, i(U.value[h.key].title), 1),
|
|
3214
3214
|
T(a(Y), {
|
|
3215
3215
|
"color-type": "secondary",
|
|
3216
3216
|
"icon-name": "chevron-down",
|
|
@@ -3328,13 +3328,13 @@ const Fs = {
|
|
|
3328
3328
|
})
|
|
3329
3329
|
])
|
|
3330
3330
|
]),
|
|
3331
|
-
(s(!0), u(R, null,
|
|
3331
|
+
(s(!0), u(R, null, W(o.value, (h) => K((s(), u("div", {
|
|
3332
3332
|
key: h.key,
|
|
3333
3333
|
class: r(["bg-text-color-bg navigation-block w-full absolute py-8 border-b-2 border-border-base", `top-[${Ue}px]`])
|
|
3334
3334
|
}, [
|
|
3335
3335
|
h.key !== "explorer" ? (s(), u("div", Ys, [
|
|
3336
3336
|
e("div", Gs, [
|
|
3337
|
-
(s(!0), u(R, null,
|
|
3337
|
+
(s(!0), u(R, null, W(h.items, (y) => (s(), u("a", {
|
|
3338
3338
|
key: y.key,
|
|
3339
3339
|
class: "min-w-[300px] cursor-pointer navigation-item flex gap-4 items-center hover:bg-surface-additional rounded-24 pl-2 py-2",
|
|
3340
3340
|
href: J(`${y.path}/`)
|
|
@@ -3443,12 +3443,12 @@ const Fs = {
|
|
|
3443
3443
|
})
|
|
3444
3444
|
], 8, dc)
|
|
3445
3445
|
]),
|
|
3446
|
-
(s(!0), u(R, null,
|
|
3446
|
+
(s(!0), u(R, null, W(o.value, (h) => (s(), u("div", {
|
|
3447
3447
|
key: h.key
|
|
3448
3448
|
}, [
|
|
3449
3449
|
e("p", rc, i(U.value[h.key].title), 1),
|
|
3450
3450
|
h.key !== "explorer" ? (s(), u("div", pc, [
|
|
3451
|
-
(s(!0), u(R, null,
|
|
3451
|
+
(s(!0), u(R, null, W(h.items, (y) => (s(), u("a", {
|
|
3452
3452
|
key: y.key,
|
|
3453
3453
|
class: "min-w-[300px] cursor-pointer navigation-item flex gap-4 items-center hover:bg-surface-additional rounded-24 pl-2 py-2",
|
|
3454
3454
|
href: J(`${y.path}/`)
|
|
@@ -3536,7 +3536,7 @@ const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-81ac79d8"]]), _c = {
|
|
|
3536
3536
|
href: "https://welcome-offer.getblock.io/",
|
|
3537
3537
|
target: "_blank",
|
|
3538
3538
|
class: "getblock-ui-kit-announcement min-h-max flex gap-x-14 xs:gap-x-6 items-center justify-center px-6 xs:py-5"
|
|
3539
|
-
},
|
|
3539
|
+
}, Wc = { class: "xs:hidden z-2 max-w-[340px] text-lg leading-6 text-left font-bold text-black py-2" }, fc = { class: "xs:hidden lg:flex xl:flex md:flex sm:flex items-center justify-center gap-2 shrink-0" }, zc = { class: "text-sm leading-5 font-medium" }, iu = /* @__PURE__ */ H({
|
|
3540
3540
|
__name: "Announcement",
|
|
3541
3541
|
props: {
|
|
3542
3542
|
locale: {
|
|
@@ -3547,7 +3547,7 @@ const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-81ac79d8"]]), _c = {
|
|
|
3547
3547
|
setup(d) {
|
|
3548
3548
|
const c = d, l = F(() => c.locale === "en" || c.locale === "en-gb" ? _c : Rc);
|
|
3549
3549
|
return (k, o) => (s(), u("a", Ec, [
|
|
3550
|
-
e("p",
|
|
3550
|
+
e("p", Wc, i(l.value.text), 1),
|
|
3551
3551
|
o[0] || (o[0] = e("img", {
|
|
3552
3552
|
class: "xs:w-[190px] xs:h-[55px]",
|
|
3553
3553
|
width: "139",
|
|
@@ -3555,7 +3555,7 @@ const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-81ac79d8"]]), _c = {
|
|
|
3555
3555
|
alt: "banner image",
|
|
3556
3556
|
src: "https://storage.getblock.io/web/getblock-ui-kit/announcement/discounts/discount-text.svg"
|
|
3557
3557
|
}, null, -1)),
|
|
3558
|
-
e("button",
|
|
3558
|
+
e("button", fc, [
|
|
3559
3559
|
e("p", zc, i(l.value.button), 1),
|
|
3560
3560
|
T(a(Y), {
|
|
3561
3561
|
"color-type": "main",
|
|
@@ -4211,7 +4211,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4211
4211
|
email: "",
|
|
4212
4212
|
name: "",
|
|
4213
4213
|
company: ""
|
|
4214
|
-
}), v = g(""),
|
|
4214
|
+
}), v = g(""), f = g(null), G = g(!1), E = g({
|
|
4215
4215
|
name: !1,
|
|
4216
4216
|
email: !1
|
|
4217
4217
|
}), b = g(!1), Z = F(() => {
|
|
@@ -4223,7 +4223,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4223
4223
|
];
|
|
4224
4224
|
}), w = F(() => t.value.value === "support" ? n.filter((_) => _ !== "company") : n), J = F(() => !/^\S+@\S+\.\S+$/.test(M.value.email.trim()) || !M.value.email.trim()), B = F(() => M.value.name.length !== 0), C = F(() => {
|
|
4225
4225
|
var _, D;
|
|
4226
|
-
return ((D = (_ =
|
|
4226
|
+
return ((D = (_ = f.value) == null ? void 0 : _.selectedItems) == null ? void 0 : D.length) !== 0;
|
|
4227
4227
|
}), ne = F(() => v.value.length < 15), U = (_) => {
|
|
4228
4228
|
var D, ae, Q;
|
|
4229
4229
|
return _ !== "email" ? (D = o.value) == null ? void 0 : D.errors.name : M.value[_].length < 1 ? (ae = o.value) == null ? void 0 : ae.errors.email.empty : (Q = o.value) == null ? void 0 : Q.errors.email.noValid;
|
|
@@ -4250,7 +4250,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4250
4250
|
subject: t.value.value,
|
|
4251
4251
|
message: v.value
|
|
4252
4252
|
};
|
|
4253
|
-
t.value.value === "sales" && (D.selectedNodes = (_ =
|
|
4253
|
+
t.value.value === "sales" && (D.selectedNodes = (_ = f.value) == null ? void 0 : _.selectedItems), k("send", D);
|
|
4254
4254
|
}
|
|
4255
4255
|
};
|
|
4256
4256
|
return ce(() => l.locale, p, { immediate: !0 }), ce(
|
|
@@ -4275,7 +4275,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4275
4275
|
}
|
|
4276
4276
|
), j(l.placeOpenModal), ve(() => {
|
|
4277
4277
|
z();
|
|
4278
|
-
}),
|
|
4278
|
+
}), We(() => {
|
|
4279
4279
|
N();
|
|
4280
4280
|
}), (_, D) => {
|
|
4281
4281
|
var ae, Q, Ne, ge, Te, ze, Ie, Se, De;
|
|
@@ -4294,7 +4294,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4294
4294
|
e("div", {
|
|
4295
4295
|
class: r(l.modalOrPage === "modal" ? "grid grid-cols-2 gap-y-6 gap-x-4" : "flex flex-col gap-8")
|
|
4296
4296
|
}, [
|
|
4297
|
-
(s(!0), u(R, null,
|
|
4297
|
+
(s(!0), u(R, null, W(w.value, (P, Ae) => (s(), u("div", {
|
|
4298
4298
|
key: P,
|
|
4299
4299
|
class: r(["flex flex-col gap-1 first:col-span-2", { "last:col-span-2": Ae === w.value.length - 1 && P !== "company" }])
|
|
4300
4300
|
}, [
|
|
@@ -4323,7 +4323,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4323
4323
|
e("span", Hc, i((Q = a(o)) == null ? void 0 : Q.chainsOfInterest.label), 1),
|
|
4324
4324
|
T(a(so), {
|
|
4325
4325
|
ref_key: "dropdownWithCheckbox",
|
|
4326
|
-
ref:
|
|
4326
|
+
ref: f,
|
|
4327
4327
|
class: "z-10",
|
|
4328
4328
|
"update-signal": G.value,
|
|
4329
4329
|
locale: l.locale,
|
|
@@ -4334,7 +4334,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4334
4334
|
[oe, t.value.value === "sales"]
|
|
4335
4335
|
]),
|
|
4336
4336
|
e("div", Ac, [
|
|
4337
|
-
T(a(
|
|
4337
|
+
T(a(fe), {
|
|
4338
4338
|
"input-name": "message",
|
|
4339
4339
|
"input-value": v.value,
|
|
4340
4340
|
"onUpdate:inputValue": D[0] || (D[0] = (P) => v.value = P),
|
|
@@ -4478,7 +4478,7 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4478
4478
|
o.value--, o.value === 0 && (v(), clearInterval(p.value), o.value = 100);
|
|
4479
4479
|
}, k.duration / 100))) : (document.getElementsByTagName("body")[0].style.overflowY = "", document.getElementsByTagName("body")[0].style.touchAction = "");
|
|
4480
4480
|
});
|
|
4481
|
-
const
|
|
4481
|
+
const f = (b) => {
|
|
4482
4482
|
n.value = !0, x.value = b.changedTouches[0].clientY;
|
|
4483
4483
|
}, G = (b) => {
|
|
4484
4484
|
if (!n.value)
|
|
@@ -4496,7 +4496,7 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4496
4496
|
class: "pan bg-white p-[30px] rounded-32 w-[400px] flex flex-col items-center gap-6 xs:w-full xs:!rounded-b dark:bg-[#1e1e1f]",
|
|
4497
4497
|
ref_key: "panRef",
|
|
4498
4498
|
ref: t,
|
|
4499
|
-
onTouchstart:
|
|
4499
|
+
onTouchstart: f,
|
|
4500
4500
|
onTouchend: E,
|
|
4501
4501
|
onTouchmove: G
|
|
4502
4502
|
}, [
|
|
@@ -4612,7 +4612,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4612
4612
|
}, _i = { class: "text-[14px] font-bold gb-text-text-main" }, Ri = {
|
|
4613
4613
|
key: 1,
|
|
4614
4614
|
class: "flex flex-col gap-4"
|
|
4615
|
-
}, Ei = { class: "w-full flex items-center justify-between" },
|
|
4615
|
+
}, Ei = { class: "w-full flex items-center justify-between" }, Wi = { class: "text-xs gb-text-text-secondary" }, fi = { class: "gb-text-text-main" }, zi = { class: "text-xs gb-text-text-secondary font-bold mb-2" }, Ii = { class: "flex w-full items-center justify-between" }, Si = { class: "flex items-center gap-2" }, Di = { class: "text-[12px] font-bold gb-text-text-main" }, ji = { class: "min-w-[150px]" }, Qi = { class: "flex w-full items-center justify-between" }, wi = { class: "flex items-center gap-2" }, Bi = { class: "text-[12px] font-bold gb-text-text-main" }, Yi = { class: "min-w-[150px]" }, Gi = {
|
|
4616
4616
|
key: 2,
|
|
4617
4617
|
class: "flex flex-col gap-4"
|
|
4618
4618
|
}, Ci = { class: "text-xs text-[#8E8E93]" }, Ji = { class: "text-red-500" }, Oi = { class: "text-xs text-[#8E8E93]" }, Li = { class: "text-red-500" }, Xi = { class: "text-xs text-[#8E8E93]" }, Hi = { class: "text-red-500" }, Ai = {
|
|
@@ -4649,7 +4649,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4649
4649
|
telegram: ""
|
|
4650
4650
|
}), t = [400, 600, 800, "Custom"], M = [400, 600, 800, "Custom"], v = (U) => {
|
|
4651
4651
|
n.rps = U;
|
|
4652
|
-
},
|
|
4652
|
+
}, f = {
|
|
4653
4653
|
400: 2e11,
|
|
4654
4654
|
600: 3e11,
|
|
4655
4655
|
800: 4e11,
|
|
@@ -4660,8 +4660,8 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4660
4660
|
document.activeElement.blur();
|
|
4661
4661
|
return;
|
|
4662
4662
|
}
|
|
4663
|
-
if (U >
|
|
4664
|
-
n.cu_amount =
|
|
4663
|
+
if (U > f[n.rps]) {
|
|
4664
|
+
n.cu_amount = f[n.rps].toLocaleString("ru"), document.activeElement.blur();
|
|
4665
4665
|
return;
|
|
4666
4666
|
}
|
|
4667
4667
|
U = Number(U).toLocaleString("ru"), n.cu_amount = U;
|
|
@@ -4669,7 +4669,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4669
4669
|
ce(
|
|
4670
4670
|
() => n.rps,
|
|
4671
4671
|
(U) => {
|
|
4672
|
-
+n.cu_amount.replace(/\s/g, "") >
|
|
4672
|
+
+n.cu_amount.replace(/\s/g, "") > f[U] && (n.cu_amount = f[n.rps].toLocaleString("ru"));
|
|
4673
4673
|
},
|
|
4674
4674
|
{ deep: !0 }
|
|
4675
4675
|
);
|
|
@@ -4747,8 +4747,8 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4747
4747
|
}, {
|
|
4748
4748
|
label: I(() => [
|
|
4749
4749
|
e("div", Ei, [
|
|
4750
|
-
e("span",
|
|
4751
|
-
e("span",
|
|
4750
|
+
e("span", Wi, i(p.value.cuAmount), 1),
|
|
4751
|
+
e("span", fi, "MAX " + i(G(f[n.rps])), 1)
|
|
4752
4752
|
])
|
|
4753
4753
|
]),
|
|
4754
4754
|
_: 1
|
|
@@ -4878,7 +4878,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4878
4878
|
key: "0"
|
|
4879
4879
|
} : void 0
|
|
4880
4880
|
]), 1032, ["input-value", "placeholder"]),
|
|
4881
|
-
T(a(
|
|
4881
|
+
T(a(fe), {
|
|
4882
4882
|
"input-name": "message",
|
|
4883
4883
|
"input-value": n.message,
|
|
4884
4884
|
placeholder: p.value.textMessagePlaceholder,
|