@getblock/common 0.1.90 → 0.1.92
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.
|
@@ -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",
|
|
@@ -2842,6 +2842,10 @@ const Fs = {
|
|
|
2842
2842
|
appchain: {
|
|
2843
2843
|
title: "AppChain",
|
|
2844
2844
|
text: "Build custom blockchain"
|
|
2845
|
+
},
|
|
2846
|
+
"risk-api": {
|
|
2847
|
+
title: "Risk API",
|
|
2848
|
+
text: "Contract Scanner"
|
|
2845
2849
|
}
|
|
2846
2850
|
},
|
|
2847
2851
|
banner: {
|
|
@@ -2876,6 +2880,10 @@ const Fs = {
|
|
|
2876
2880
|
appchain: {
|
|
2877
2881
|
title: "AppChain",
|
|
2878
2882
|
text: "\u6784\u5EFA\u81EA\u5B9A\u4E49\u533A\u5757\u94FE"
|
|
2883
|
+
},
|
|
2884
|
+
"risk-api": {
|
|
2885
|
+
title: "Risk API",
|
|
2886
|
+
text: "\u5408\u7D04\u6383\u63CF\u5668"
|
|
2879
2887
|
}
|
|
2880
2888
|
},
|
|
2881
2889
|
banner: {
|
|
@@ -2984,7 +2992,7 @@ const Fs = {
|
|
|
2984
2992
|
"refund-policy": "legal_documents",
|
|
2985
2993
|
"media-kit": "media_kit",
|
|
2986
2994
|
"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"],
|
|
2995
|
+
}, 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
2996
|
key: 0,
|
|
2989
2997
|
class: "flex justify-between max-w-[1280px] gap-4 mx-auto xl:px-0 px-6"
|
|
2990
2998
|
}, 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 = {
|
|
@@ -3036,8 +3044,7 @@ const Fs = {
|
|
|
3036
3044
|
},
|
|
3037
3045
|
{
|
|
3038
3046
|
key: "appchain",
|
|
3039
|
-
path: "/appchain"
|
|
3040
|
-
beta: !0
|
|
3047
|
+
path: "/appchain"
|
|
3041
3048
|
},
|
|
3042
3049
|
{
|
|
3043
3050
|
key: "enterprise",
|
|
@@ -3050,6 +3057,10 @@ const Fs = {
|
|
|
3050
3057
|
{
|
|
3051
3058
|
key: "nodes-cluster",
|
|
3052
3059
|
path: "/node-clusters"
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
key: "risk-api",
|
|
3063
|
+
path: "/token-risks-api"
|
|
3053
3064
|
}
|
|
3054
3065
|
]
|
|
3055
3066
|
},
|
|
@@ -3132,26 +3143,30 @@ const Fs = {
|
|
|
3132
3143
|
}
|
|
3133
3144
|
]), n = g(0), x = g(!1), t = g(!1), M = g(0), v = () => {
|
|
3134
3145
|
x.value = !1, k("open-contact-modal");
|
|
3135
|
-
},
|
|
3146
|
+
}, f = () => {
|
|
3136
3147
|
const N = window == null ? void 0 : window.location.href, m = (window == null ? void 0 : window.location.pathname.replace(/^\/|\/$/g, "").split("/")[0]) || "/";
|
|
3137
3148
|
return { url: N, path: m };
|
|
3138
3149
|
}, G = F(() => window == null ? void 0 : window.location.href);
|
|
3139
|
-
ce(
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3150
|
+
ce(
|
|
3151
|
+
G,
|
|
3152
|
+
() => {
|
|
3153
|
+
if (window) {
|
|
3154
|
+
const { url: N, path: m } = f(), h = _s[m] || "";
|
|
3155
|
+
Ye.set("registration_source", h, {
|
|
3156
|
+
expires: 365,
|
|
3157
|
+
domain: ".getblock.io",
|
|
3158
|
+
path: "/",
|
|
3159
|
+
sameSite: "Lax"
|
|
3160
|
+
}), Ye.set("url", N, {
|
|
3161
|
+
expires: 365,
|
|
3162
|
+
domain: ".getblock.io",
|
|
3163
|
+
path: "/",
|
|
3164
|
+
sameSite: "Lax"
|
|
3165
|
+
});
|
|
3166
|
+
}
|
|
3167
|
+
},
|
|
3168
|
+
{ immediate: !0 }
|
|
3169
|
+
);
|
|
3155
3170
|
const E = () => {
|
|
3156
3171
|
k("account-button-pressed");
|
|
3157
3172
|
}, b = (N) => {
|
|
@@ -3183,7 +3198,7 @@ const Fs = {
|
|
|
3183
3198
|
});
|
|
3184
3199
|
return ve(() => {
|
|
3185
3200
|
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
|
-
}),
|
|
3201
|
+
}), We(() => {
|
|
3187
3202
|
typeof window < "u" && window.removeEventListener("scroll", Z), typeof window < "u" && window.removeEventListener("resize", w);
|
|
3188
3203
|
}), (N, m) => (s(), u("nav", {
|
|
3189
3204
|
class: "bg-text-color-bg sticky top-0 z-20",
|
|
@@ -3201,8 +3216,8 @@ const Fs = {
|
|
|
3201
3216
|
width: "182"
|
|
3202
3217
|
}, null, -1)
|
|
3203
3218
|
])], 8, Es),
|
|
3204
|
-
e("div",
|
|
3205
|
-
(s(!0), u(R, null,
|
|
3219
|
+
e("div", Ws, [
|
|
3220
|
+
(s(!0), u(R, null, W(o.value, (h) => (s(), u(R, null, [
|
|
3206
3221
|
h.key !== "pricing" ? (s(), ue(a(le), {
|
|
3207
3222
|
key: h.key,
|
|
3208
3223
|
"color-type": "transparent",
|
|
@@ -3210,7 +3225,7 @@ const Fs = {
|
|
|
3210
3225
|
onMouseover: (y) => C(h)
|
|
3211
3226
|
}, {
|
|
3212
3227
|
default: I(() => [
|
|
3213
|
-
e("p",
|
|
3228
|
+
e("p", fs, i(U.value[h.key].title), 1),
|
|
3214
3229
|
T(a(Y), {
|
|
3215
3230
|
"color-type": "secondary",
|
|
3216
3231
|
"icon-name": "chevron-down",
|
|
@@ -3328,13 +3343,13 @@ const Fs = {
|
|
|
3328
3343
|
})
|
|
3329
3344
|
])
|
|
3330
3345
|
]),
|
|
3331
|
-
(s(!0), u(R, null,
|
|
3346
|
+
(s(!0), u(R, null, W(o.value, (h) => K((s(), u("div", {
|
|
3332
3347
|
key: h.key,
|
|
3333
3348
|
class: r(["bg-text-color-bg navigation-block w-full absolute py-8 border-b-2 border-border-base", `top-[${Ue}px]`])
|
|
3334
3349
|
}, [
|
|
3335
3350
|
h.key !== "explorer" ? (s(), u("div", Ys, [
|
|
3336
3351
|
e("div", Gs, [
|
|
3337
|
-
(s(!0), u(R, null,
|
|
3352
|
+
(s(!0), u(R, null, W(h.items, (y) => (s(), u("a", {
|
|
3338
3353
|
key: y.key,
|
|
3339
3354
|
class: "min-w-[300px] cursor-pointer navigation-item flex gap-4 items-center hover:bg-surface-additional rounded-24 pl-2 py-2",
|
|
3340
3355
|
href: J(`${y.path}/`)
|
|
@@ -3443,12 +3458,12 @@ const Fs = {
|
|
|
3443
3458
|
})
|
|
3444
3459
|
], 8, dc)
|
|
3445
3460
|
]),
|
|
3446
|
-
(s(!0), u(R, null,
|
|
3461
|
+
(s(!0), u(R, null, W(o.value, (h) => (s(), u("div", {
|
|
3447
3462
|
key: h.key
|
|
3448
3463
|
}, [
|
|
3449
3464
|
e("p", rc, i(U.value[h.key].title), 1),
|
|
3450
3465
|
h.key !== "explorer" ? (s(), u("div", pc, [
|
|
3451
|
-
(s(!0), u(R, null,
|
|
3466
|
+
(s(!0), u(R, null, W(h.items, (y) => (s(), u("a", {
|
|
3452
3467
|
key: y.key,
|
|
3453
3468
|
class: "min-w-[300px] cursor-pointer navigation-item flex gap-4 items-center hover:bg-surface-additional rounded-24 pl-2 py-2",
|
|
3454
3469
|
href: J(`${y.path}/`)
|
|
@@ -3525,7 +3540,7 @@ const Fs = {
|
|
|
3525
3540
|
], 32));
|
|
3526
3541
|
}
|
|
3527
3542
|
});
|
|
3528
|
-
const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-
|
|
3543
|
+
const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-e28eb120"]]), _c = {
|
|
3529
3544
|
text: "New Here? Claim Your 30% Discount on Your First Blockchain Node Access!",
|
|
3530
3545
|
button: "Learn more"
|
|
3531
3546
|
}, Rc = {
|
|
@@ -3536,7 +3551,7 @@ const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-81ac79d8"]]), _c = {
|
|
|
3536
3551
|
href: "https://welcome-offer.getblock.io/",
|
|
3537
3552
|
target: "_blank",
|
|
3538
3553
|
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
|
-
},
|
|
3554
|
+
}, 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
3555
|
__name: "Announcement",
|
|
3541
3556
|
props: {
|
|
3542
3557
|
locale: {
|
|
@@ -3547,7 +3562,7 @@ const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-81ac79d8"]]), _c = {
|
|
|
3547
3562
|
setup(d) {
|
|
3548
3563
|
const c = d, l = F(() => c.locale === "en" || c.locale === "en-gb" ? _c : Rc);
|
|
3549
3564
|
return (k, o) => (s(), u("a", Ec, [
|
|
3550
|
-
e("p",
|
|
3565
|
+
e("p", Wc, i(l.value.text), 1),
|
|
3551
3566
|
o[0] || (o[0] = e("img", {
|
|
3552
3567
|
class: "xs:w-[190px] xs:h-[55px]",
|
|
3553
3568
|
width: "139",
|
|
@@ -3555,7 +3570,7 @@ const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-81ac79d8"]]), _c = {
|
|
|
3555
3570
|
alt: "banner image",
|
|
3556
3571
|
src: "https://storage.getblock.io/web/getblock-ui-kit/announcement/discounts/discount-text.svg"
|
|
3557
3572
|
}, null, -1)),
|
|
3558
|
-
e("button",
|
|
3573
|
+
e("button", fc, [
|
|
3559
3574
|
e("p", zc, i(l.value.button), 1),
|
|
3560
3575
|
T(a(Y), {
|
|
3561
3576
|
"color-type": "main",
|
|
@@ -4211,7 +4226,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4211
4226
|
email: "",
|
|
4212
4227
|
name: "",
|
|
4213
4228
|
company: ""
|
|
4214
|
-
}), v = g(""),
|
|
4229
|
+
}), v = g(""), f = g(null), G = g(!1), E = g({
|
|
4215
4230
|
name: !1,
|
|
4216
4231
|
email: !1
|
|
4217
4232
|
}), b = g(!1), Z = F(() => {
|
|
@@ -4223,7 +4238,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4223
4238
|
];
|
|
4224
4239
|
}), 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
4240
|
var _, D;
|
|
4226
|
-
return ((D = (_ =
|
|
4241
|
+
return ((D = (_ = f.value) == null ? void 0 : _.selectedItems) == null ? void 0 : D.length) !== 0;
|
|
4227
4242
|
}), ne = F(() => v.value.length < 15), U = (_) => {
|
|
4228
4243
|
var D, ae, Q;
|
|
4229
4244
|
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 +4265,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4250
4265
|
subject: t.value.value,
|
|
4251
4266
|
message: v.value
|
|
4252
4267
|
};
|
|
4253
|
-
t.value.value === "sales" && (D.selectedNodes = (_ =
|
|
4268
|
+
t.value.value === "sales" && (D.selectedNodes = (_ = f.value) == null ? void 0 : _.selectedItems), k("send", D);
|
|
4254
4269
|
}
|
|
4255
4270
|
};
|
|
4256
4271
|
return ce(() => l.locale, p, { immediate: !0 }), ce(
|
|
@@ -4275,7 +4290,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4275
4290
|
}
|
|
4276
4291
|
), j(l.placeOpenModal), ve(() => {
|
|
4277
4292
|
z();
|
|
4278
|
-
}),
|
|
4293
|
+
}), We(() => {
|
|
4279
4294
|
N();
|
|
4280
4295
|
}), (_, D) => {
|
|
4281
4296
|
var ae, Q, Ne, ge, Te, ze, Ie, Se, De;
|
|
@@ -4294,7 +4309,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4294
4309
|
e("div", {
|
|
4295
4310
|
class: r(l.modalOrPage === "modal" ? "grid grid-cols-2 gap-y-6 gap-x-4" : "flex flex-col gap-8")
|
|
4296
4311
|
}, [
|
|
4297
|
-
(s(!0), u(R, null,
|
|
4312
|
+
(s(!0), u(R, null, W(w.value, (P, Ae) => (s(), u("div", {
|
|
4298
4313
|
key: P,
|
|
4299
4314
|
class: r(["flex flex-col gap-1 first:col-span-2", { "last:col-span-2": Ae === w.value.length - 1 && P !== "company" }])
|
|
4300
4315
|
}, [
|
|
@@ -4323,7 +4338,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4323
4338
|
e("span", Hc, i((Q = a(o)) == null ? void 0 : Q.chainsOfInterest.label), 1),
|
|
4324
4339
|
T(a(so), {
|
|
4325
4340
|
ref_key: "dropdownWithCheckbox",
|
|
4326
|
-
ref:
|
|
4341
|
+
ref: f,
|
|
4327
4342
|
class: "z-10",
|
|
4328
4343
|
"update-signal": G.value,
|
|
4329
4344
|
locale: l.locale,
|
|
@@ -4334,7 +4349,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4334
4349
|
[oe, t.value.value === "sales"]
|
|
4335
4350
|
]),
|
|
4336
4351
|
e("div", Ac, [
|
|
4337
|
-
T(a(
|
|
4352
|
+
T(a(fe), {
|
|
4338
4353
|
"input-name": "message",
|
|
4339
4354
|
"input-value": v.value,
|
|
4340
4355
|
"onUpdate:inputValue": D[0] || (D[0] = (P) => v.value = P),
|
|
@@ -4478,7 +4493,7 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4478
4493
|
o.value--, o.value === 0 && (v(), clearInterval(p.value), o.value = 100);
|
|
4479
4494
|
}, k.duration / 100))) : (document.getElementsByTagName("body")[0].style.overflowY = "", document.getElementsByTagName("body")[0].style.touchAction = "");
|
|
4480
4495
|
});
|
|
4481
|
-
const
|
|
4496
|
+
const f = (b) => {
|
|
4482
4497
|
n.value = !0, x.value = b.changedTouches[0].clientY;
|
|
4483
4498
|
}, G = (b) => {
|
|
4484
4499
|
if (!n.value)
|
|
@@ -4496,7 +4511,7 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4496
4511
|
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
4512
|
ref_key: "panRef",
|
|
4498
4513
|
ref: t,
|
|
4499
|
-
onTouchstart:
|
|
4514
|
+
onTouchstart: f,
|
|
4500
4515
|
onTouchend: E,
|
|
4501
4516
|
onTouchmove: G
|
|
4502
4517
|
}, [
|
|
@@ -4612,7 +4627,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4612
4627
|
}, _i = { class: "text-[14px] font-bold gb-text-text-main" }, Ri = {
|
|
4613
4628
|
key: 1,
|
|
4614
4629
|
class: "flex flex-col gap-4"
|
|
4615
|
-
}, Ei = { class: "w-full flex items-center justify-between" },
|
|
4630
|
+
}, 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
4631
|
key: 2,
|
|
4617
4632
|
class: "flex flex-col gap-4"
|
|
4618
4633
|
}, 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 +4664,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4649
4664
|
telegram: ""
|
|
4650
4665
|
}), t = [400, 600, 800, "Custom"], M = [400, 600, 800, "Custom"], v = (U) => {
|
|
4651
4666
|
n.rps = U;
|
|
4652
|
-
},
|
|
4667
|
+
}, f = {
|
|
4653
4668
|
400: 2e11,
|
|
4654
4669
|
600: 3e11,
|
|
4655
4670
|
800: 4e11,
|
|
@@ -4660,8 +4675,8 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4660
4675
|
document.activeElement.blur();
|
|
4661
4676
|
return;
|
|
4662
4677
|
}
|
|
4663
|
-
if (U >
|
|
4664
|
-
n.cu_amount =
|
|
4678
|
+
if (U > f[n.rps]) {
|
|
4679
|
+
n.cu_amount = f[n.rps].toLocaleString("ru"), document.activeElement.blur();
|
|
4665
4680
|
return;
|
|
4666
4681
|
}
|
|
4667
4682
|
U = Number(U).toLocaleString("ru"), n.cu_amount = U;
|
|
@@ -4669,7 +4684,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4669
4684
|
ce(
|
|
4670
4685
|
() => n.rps,
|
|
4671
4686
|
(U) => {
|
|
4672
|
-
+n.cu_amount.replace(/\s/g, "") >
|
|
4687
|
+
+n.cu_amount.replace(/\s/g, "") > f[U] && (n.cu_amount = f[n.rps].toLocaleString("ru"));
|
|
4673
4688
|
},
|
|
4674
4689
|
{ deep: !0 }
|
|
4675
4690
|
);
|
|
@@ -4747,8 +4762,8 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4747
4762
|
}, {
|
|
4748
4763
|
label: I(() => [
|
|
4749
4764
|
e("div", Ei, [
|
|
4750
|
-
e("span",
|
|
4751
|
-
e("span",
|
|
4765
|
+
e("span", Wi, i(p.value.cuAmount), 1),
|
|
4766
|
+
e("span", fi, "MAX " + i(G(f[n.rps])), 1)
|
|
4752
4767
|
])
|
|
4753
4768
|
]),
|
|
4754
4769
|
_: 1
|
|
@@ -4878,7 +4893,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4878
4893
|
key: "0"
|
|
4879
4894
|
} : void 0
|
|
4880
4895
|
]), 1032, ["input-value", "placeholder"]),
|
|
4881
|
-
T(a(
|
|
4896
|
+
T(a(fe), {
|
|
4882
4897
|
"input-name": "message",
|
|
4883
4898
|
"input-value": n.message,
|
|
4884
4899
|
placeholder: p.value.textMessagePlaceholder,
|