@dcodegroup-au/page-builder 0.5.1 → 0.5.2
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/page-builder.css +1 -1
- package/dist/page-builder.es.js +523 -515
- package/dist/page-builder.umd.js +3 -3
- package/example/src/App.vue +4 -3
- package/example/src/pages/OurGroups.js +103 -0
- package/package.json +1 -1
- package/src/components/presenters/modules/BulletPoints.vue +1 -1
- package/src/components/presenters/modules/TwoColumnsImageContent.vue +14 -5
package/dist/page-builder.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Kl = Object.defineProperty;
|
|
2
2
|
var Zl = (t, e, n) => e in t ? Kl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var $e = (t, e, n) => Zl(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { createElementBlock as i, openBlock as s, createElementVNode as o, createStaticVNode as eo, ref as
|
|
4
|
+
import { createElementBlock as i, openBlock as s, createElementVNode as o, createStaticVNode as eo, ref as Ce, resolveDirective as Ys, withDirectives as ht, createCommentVNode as de, createVNode as me, unref as ye, defineComponent as p0, reactive as un, computed as Te, normalizeClass as Re, Transition as Js, withCtx as Xe, renderSlot as a0, toDisplayString as be, withModifiers as _n, Fragment as ze, renderList as Qe, createTextVNode as P1, onMounted as I1, vShow as ei, mergeModels as ti, useModel as dn, vModelSelect as ni, createBlock as Ze, vModelText as Lt, inject as Gt, vModelRadio as ri, resolveDynamicComponent as Y1, shallowRef as Ql, watch as P0, vModelDynamic as Yl, nextTick as oi, onBeforeUnmount as si, markRaw as We, h as jt, shallowReactive as x2, watchEffect as Qr, provide as ii, toRefs as Jl, useId as ea, getCurrentInstance as ta, onUnmounted as na, onUpdated as ra, cloneVNode as oa, normalizeStyle as sa } from "vue";
|
|
5
5
|
const ia = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
fill: "none",
|
|
@@ -220,7 +220,7 @@ const Aa = { render: Ma }, ci = {
|
|
|
220
220
|
},
|
|
221
221
|
emits: ["removeItem"],
|
|
222
222
|
setup(t, { emit: e }) {
|
|
223
|
-
const n =
|
|
223
|
+
const n = Ce(!1), r = e, l = () => {
|
|
224
224
|
n.value && (n.value = !1);
|
|
225
225
|
}, u = () => {
|
|
226
226
|
r("removeItem"), n.value = !1;
|
|
@@ -234,7 +234,7 @@ const Aa = { render: Ma }, ci = {
|
|
|
234
234
|
class: "cursor-pointer text-gray-600 rounded-full hover:bg-gray-50 p-2.5 block",
|
|
235
235
|
onClick: a[0] || (a[0] = (f) => n.value = !n.value)
|
|
236
236
|
}, [
|
|
237
|
-
me(
|
|
237
|
+
me(ye(ka), { class: "w-5" })
|
|
238
238
|
]),
|
|
239
239
|
n.value ? (s(), i("div", Ba, [
|
|
240
240
|
t.enableEdit ? (s(), i("a", {
|
|
@@ -242,14 +242,14 @@ const Aa = { render: Ma }, ci = {
|
|
|
242
242
|
class: "flex items-center gap-2 px-2.5 cursor-pointer h-[48px] w-auto hover:bg-gray-100 rounded-lg m-1.5 text-gray-700",
|
|
243
243
|
onClick: c
|
|
244
244
|
}, [
|
|
245
|
-
me(
|
|
245
|
+
me(ye(Aa), { class: "w-4 text-gray-500" }),
|
|
246
246
|
a[1] || (a[1] = o("span", { class: "font-medium" }, " Edit ", -1))
|
|
247
247
|
])) : de("", !0),
|
|
248
248
|
o("a", {
|
|
249
249
|
class: "flex items-center gap-2 px-2.5 cursor-pointer h-[48px] w-auto hover:bg-gray-100 rounded-lg m-1.5 text-gray-700",
|
|
250
250
|
onClick: u
|
|
251
251
|
}, [
|
|
252
|
-
me(
|
|
252
|
+
me(ye(ai), { class: "w-4 text-gray-500" }),
|
|
253
253
|
a[2] || (a[2] = o("span", { class: "font-medium" }, " Delete ", -1))
|
|
254
254
|
])
|
|
255
255
|
])) : de("", !0)
|
|
@@ -292,7 +292,7 @@ const La = { render: ja }, Ta = {
|
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
294
|
setup(t, { expose: e }) {
|
|
295
|
-
const n = t, r =
|
|
295
|
+
const n = t, r = Ce(!1), l = un({
|
|
296
296
|
cancelTitle: null,
|
|
297
297
|
confirmTitle: null,
|
|
298
298
|
scrollable: !0,
|
|
@@ -312,22 +312,22 @@ const La = { render: ja }, Ta = {
|
|
|
312
312
|
open: d,
|
|
313
313
|
close: a
|
|
314
314
|
}), (f, m) => (s(), i("div", {
|
|
315
|
-
class:
|
|
315
|
+
class: Re([{ "-open": r.value }, "v-modal"])
|
|
316
316
|
}, [
|
|
317
317
|
me(Js, { name: "fade" }, {
|
|
318
318
|
default: Xe(() => [
|
|
319
319
|
r.value ? (s(), i("div", Ta, [
|
|
320
320
|
a0(f.$slots, "default", {}, () => [
|
|
321
321
|
o("div", {
|
|
322
|
-
class:
|
|
322
|
+
class: Re(["relative min-h-[260px] overflow-y-auto flex", { "overflow-y-visible": !f.scrollable }])
|
|
323
323
|
}, [
|
|
324
324
|
o("div", Ea, [
|
|
325
325
|
o("div", null, [
|
|
326
326
|
o("div", Ha, [
|
|
327
327
|
o("span", Oa, [
|
|
328
|
-
me(
|
|
328
|
+
me(ye(ai), { class: "w-6 h-6" })
|
|
329
329
|
]),
|
|
330
|
-
me(
|
|
330
|
+
me(ye(La), {
|
|
331
331
|
class: "w-6 h-6 text-gray-400 hover:bg-gray-100 rounded-md cursor-pointer",
|
|
332
332
|
onClick: a
|
|
333
333
|
})
|
|
@@ -366,7 +366,7 @@ const La = { render: ja }, Ta = {
|
|
|
366
366
|
},
|
|
367
367
|
emits: ["update"],
|
|
368
368
|
setup(t, { emit: e }) {
|
|
369
|
-
const n = e, r = t, l =
|
|
369
|
+
const n = e, r = t, l = Ce(r.data.component), u = l.value.type, c = Ce(null), d = `${u.value}-openItemStates`, a = Ce(JSON.parse(window.localStorage.getItem(d)));
|
|
370
370
|
a.value || (a.value = {}, l.value.data.forEach((v, x) => {
|
|
371
371
|
a.value[x] = !1;
|
|
372
372
|
}), window.localStorage.setItem(d, JSON.stringify(a.value)));
|
|
@@ -395,24 +395,24 @@ const La = { render: ja }, Ta = {
|
|
|
395
395
|
o("div", Wa, [
|
|
396
396
|
o("div", Xa, [
|
|
397
397
|
o("div", Ka, [
|
|
398
|
-
o("div", Za, be(
|
|
399
|
-
o("div", Qa, "This " + be(
|
|
398
|
+
o("div", Za, be(ye(Jr)(ye(u))), 1),
|
|
399
|
+
o("div", Qa, "This " + be(ye(Yr)(ye(u))) + " can contain up to " + be(l.value.max_items) + " " + be(ye(Jr)(ye(u), !1)), 1)
|
|
400
400
|
]),
|
|
401
401
|
o("div", null, [
|
|
402
402
|
o("button", {
|
|
403
403
|
disabled: l.value.data.length >= l.value.max_items,
|
|
404
404
|
onClick: f,
|
|
405
405
|
type: "button",
|
|
406
|
-
class:
|
|
406
|
+
class: Re(["text-sm cursor-pointer flex items-center justify-center gap-1 rounded-[99px] border border-brand-600 bg-brand-500 px-3.5 py-2 font-semibold text-white hover:bg-brand-600", { "border-gray-100 bg-gray-100 !text-gray-400 hover:bg-gray-100": l.value.data.length >= l.value.max_items }])
|
|
407
407
|
}, [
|
|
408
|
-
me(
|
|
408
|
+
me(ye(m0), { class: "h-5 w-5" }),
|
|
409
409
|
x[0] || (x[0] = o("span", null, "Add", -1))
|
|
410
410
|
], 10, Ya)
|
|
411
411
|
])
|
|
412
412
|
]),
|
|
413
413
|
o("div", Ja, [
|
|
414
414
|
(s(!0), i(ze, null, Qe(l.value.data, (C, b) => (s(), i("div", {
|
|
415
|
-
class:
|
|
415
|
+
class: Re(["flex items-center gap-4 px-2 py-1 hover:bg-gray-100 rounded-lg", { "bg-gray-200 hover:bg-gray-200": a.value[b] }])
|
|
416
416
|
}, [
|
|
417
417
|
o("div", {
|
|
418
418
|
class: "flex flex-1 items-center justify-between relative",
|
|
@@ -424,7 +424,7 @@ const La = { render: ja }, Ta = {
|
|
|
424
424
|
class: "flex flex-1 flex-col cursor-pointer",
|
|
425
425
|
onClick: (A) => w(C, b)
|
|
426
426
|
}, [
|
|
427
|
-
o("div", n3, be(
|
|
427
|
+
o("div", n3, be(ye(Yr)(ye(Jr)(ye(u)))) + " #" + be(b + 1), 1),
|
|
428
428
|
o("div", r3, be(C.title), 1)
|
|
429
429
|
], 8, t3),
|
|
430
430
|
me(Bn, {
|
|
@@ -441,7 +441,7 @@ const La = { render: ja }, Ta = {
|
|
|
441
441
|
me($n, {
|
|
442
442
|
ref_key: "modalRef",
|
|
443
443
|
ref: c,
|
|
444
|
-
entity:
|
|
444
|
+
entity: ye(Yr)(ye(u)),
|
|
445
445
|
callback: p
|
|
446
446
|
}, null, 8, ["entity"])
|
|
447
447
|
], 64));
|
|
@@ -2189,24 +2189,24 @@ vt.getAdapter = Li.getAdapter;
|
|
|
2189
2189
|
vt.HttpStatusCode = _2;
|
|
2190
2190
|
vt.default = vt;
|
|
2191
2191
|
const {
|
|
2192
|
-
Axios:
|
|
2193
|
-
AxiosError:
|
|
2194
|
-
CanceledError:
|
|
2195
|
-
isCancel:
|
|
2196
|
-
CancelToken:
|
|
2197
|
-
VERSION:
|
|
2198
|
-
all:
|
|
2199
|
-
Cancel:
|
|
2200
|
-
isAxiosError:
|
|
2201
|
-
spread:
|
|
2202
|
-
toFormData:
|
|
2203
|
-
AxiosHeaders:
|
|
2204
|
-
HttpStatusCode:
|
|
2205
|
-
formToJSON:
|
|
2206
|
-
getAdapter:
|
|
2207
|
-
mergeConfig:
|
|
2192
|
+
Axios: ike,
|
|
2193
|
+
AxiosError: lke,
|
|
2194
|
+
CanceledError: ake,
|
|
2195
|
+
isCancel: cke,
|
|
2196
|
+
CancelToken: uke,
|
|
2197
|
+
VERSION: dke,
|
|
2198
|
+
all: hke,
|
|
2199
|
+
Cancel: fke,
|
|
2200
|
+
isAxiosError: pke,
|
|
2201
|
+
spread: mke,
|
|
2202
|
+
toFormData: vke,
|
|
2203
|
+
AxiosHeaders: wke,
|
|
2204
|
+
HttpStatusCode: gke,
|
|
2205
|
+
formToJSON: xke,
|
|
2206
|
+
getAdapter: kke,
|
|
2207
|
+
mergeConfig: Cke
|
|
2208
2208
|
} = vt;
|
|
2209
|
-
var
|
|
2209
|
+
var W1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2210
2210
|
function oo(t) {
|
|
2211
2211
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
2212
2212
|
}
|
|
@@ -4174,20 +4174,20 @@ function Pc() {
|
|
|
4174
4174
|
ot in Fe || b(Fe, ot, Je[ot]);
|
|
4175
4175
|
}), Fe.prototype = et) : (Fe = re(function(ot, Ue, lt, ge) {
|
|
4176
4176
|
x(ot, Fe, Se);
|
|
4177
|
-
var _e = 0,
|
|
4177
|
+
var _e = 0, Ne = 0, Ie, Pe, tt;
|
|
4178
4178
|
if (!W(Ue))
|
|
4179
4179
|
tt = $(Ue), Pe = tt * ve, Ie = new we(Pe);
|
|
4180
4180
|
else if (z(Ue)) {
|
|
4181
|
-
Ie = Ue,
|
|
4181
|
+
Ie = Ue, Ne = R(lt, ve);
|
|
4182
4182
|
var at = Ue.byteLength;
|
|
4183
4183
|
if (ge === void 0) {
|
|
4184
|
-
if (at % ve || (Pe = at -
|
|
4185
|
-
} else if (Pe = A(ge) * ve, Pe +
|
|
4184
|
+
if (at % ve || (Pe = at - Ne, Pe < 0)) throw Be(E);
|
|
4185
|
+
} else if (Pe = A(ge) * ve, Pe + Ne > at) throw Be(E);
|
|
4186
4186
|
tt = Pe / ve;
|
|
4187
4187
|
} else return k(Ue) ? O(Fe, Ue) : N.call(Fe, Ue);
|
|
4188
4188
|
for (ne(ot, {
|
|
4189
4189
|
buffer: Ie,
|
|
4190
|
-
byteOffset:
|
|
4190
|
+
byteOffset: Ne,
|
|
4191
4191
|
byteLength: Pe,
|
|
4192
4192
|
length: tt,
|
|
4193
4193
|
view: new He(Ie)
|
|
@@ -5292,7 +5292,7 @@ function Pc() {
|
|
|
5292
5292
|
return H === "." || H.toLowerCase() === "%2e";
|
|
5293
5293
|
}, Fe = function(H) {
|
|
5294
5294
|
return H = H.toLowerCase(), H === ".." || H === "%2e." || H === ".%2e" || H === "%2e%2e";
|
|
5295
|
-
}, et = {}, wt = {}, kt = {}, Zt = {}, Et = {}, ot = {}, Ue = {}, lt = {}, ge = {}, _e = {},
|
|
5295
|
+
}, et = {}, wt = {}, kt = {}, Zt = {}, Et = {}, ot = {}, Ue = {}, lt = {}, ge = {}, _e = {}, Ne = {}, Ie = {}, Pe = {}, tt = {}, at = {}, mt = {}, _t = {}, Bt = {}, Wt = {}, Qt = {}, bt = {}, Ft = function(H, ce, ie, he) {
|
|
5296
5296
|
var pe = ie || et, De = 0, je = "", Ye = !1, nt = !1, ut = !1, Ot, fe, gt, Xt;
|
|
5297
5297
|
for (ie || (H.scheme = "", H.username = "", H.password = "", H.host = null, H.port = null, H.path = [], H.query = null, H.fragment = null, H.cannotBeABaseURL = !1, ce = ce.replace(S, "")), ce = ce.replace(T, ""), Ot = A(ce); De <= Ot.length; ) {
|
|
5298
5298
|
switch (fe = Ot[De], pe) {
|
|
@@ -5390,16 +5390,16 @@ function Pc() {
|
|
|
5390
5390
|
ut = !0;
|
|
5391
5391
|
continue;
|
|
5392
5392
|
}
|
|
5393
|
-
var
|
|
5394
|
-
ut ? H.password +=
|
|
5393
|
+
var z1 = Y(S1, J);
|
|
5394
|
+
ut ? H.password += z1 : H.username += z1;
|
|
5395
5395
|
}
|
|
5396
5396
|
je = "";
|
|
5397
5397
|
} else if (fe == _ || fe == "/" || fe == "?" || fe == "#" || fe == "\\" && re(H)) {
|
|
5398
5398
|
if (Ye && je == "") return F;
|
|
5399
|
-
De -= A(je).length + 1, je = "", pe =
|
|
5399
|
+
De -= A(je).length + 1, je = "", pe = Ne;
|
|
5400
5400
|
} else je += fe;
|
|
5401
5401
|
break;
|
|
5402
|
-
case
|
|
5402
|
+
case Ne:
|
|
5403
5403
|
case Ie:
|
|
5404
5404
|
if (ie && H.scheme == "file") {
|
|
5405
5405
|
pe = mt;
|
|
@@ -5512,11 +5512,11 @@ function Pc() {
|
|
|
5512
5512
|
var nt = De.searchParams = new se(), ut = K(nt);
|
|
5513
5513
|
ut.updateSearchParams(De.query), ut.updateURL = function() {
|
|
5514
5514
|
De.query = String(nt) || null;
|
|
5515
|
-
}, f || (ie.href = $1.call(ie), ie.origin =
|
|
5515
|
+
}, f || (ie.href = $1.call(ie), ie.origin = U1.call(ie), ie.protocol = Ct.call(ie), ie.username = y0.call(ie), ie.password = b0.call(ie), ie.host = M0.call(ie), ie.hostname = A0.call(ie), ie.port = _0.call(ie), ie.pathname = Mt.call(ie), ie.search = B0.call(ie), ie.searchParams = $0.call(ie), ie.hash = S0.call(ie));
|
|
5516
5516
|
}, n0 = o1.prototype, $1 = function() {
|
|
5517
5517
|
var H = N(this), ce = H.scheme, ie = H.username, he = H.password, pe = H.host, De = H.port, je = H.path, Ye = H.query, nt = H.fragment, ut = ce + ":";
|
|
5518
5518
|
return pe !== null ? (ut += "//", ae(H) && (ut += ie + (he ? ":" + he : "") + "@"), ut += O(pe), De !== null && (ut += ":" + De)) : ce == "file" && (ut += "//"), ut += H.cannotBeABaseURL ? je[0] : je.length ? "/" + je.join("/") : "", Ye !== null && (ut += "?" + Ye), nt !== null && (ut += "#" + nt), ut;
|
|
5519
|
-
},
|
|
5519
|
+
}, U1 = function() {
|
|
5520
5520
|
var H = N(this), ce = H.scheme, ie = H.port;
|
|
5521
5521
|
if (ce == "blob") try {
|
|
5522
5522
|
return new URL(ce.path[0]).origin;
|
|
@@ -5563,7 +5563,7 @@ function Pc() {
|
|
|
5563
5563
|
}),
|
|
5564
5564
|
// `URL.prototype.origin` getter
|
|
5565
5565
|
// https://url.spec.whatwg.org/#dom-url-origin
|
|
5566
|
-
origin: Ht(
|
|
5566
|
+
origin: Ht(U1),
|
|
5567
5567
|
// `URL.prototype.protocol` accessors pair
|
|
5568
5568
|
// https://url.spec.whatwg.org/#dom-url-protocol
|
|
5569
5569
|
protocol: Ht(Ct, function(H) {
|
|
@@ -5594,7 +5594,7 @@ function Pc() {
|
|
|
5594
5594
|
// https://url.spec.whatwg.org/#dom-url-host
|
|
5595
5595
|
host: Ht(M0, function(H) {
|
|
5596
5596
|
var ce = N(this);
|
|
5597
|
-
ce.cannotBeABaseURL || Ft(ce, String(H),
|
|
5597
|
+
ce.cannotBeABaseURL || Ft(ce, String(H), Ne);
|
|
5598
5598
|
}),
|
|
5599
5599
|
// `URL.prototype.hostname` accessors pair
|
|
5600
5600
|
// https://url.spec.whatwg.org/#dom-url-hostname
|
|
@@ -8030,12 +8030,12 @@ const Uc = { render: Fc }, zc = { class: "file-upload" }, qc = ["name", "value"]
|
|
|
8030
8030
|
emits: ["update:modelValue"],
|
|
8031
8031
|
setup(t, { emit: e }) {
|
|
8032
8032
|
o2.autoDiscover = !1;
|
|
8033
|
-
const n = t, r =
|
|
8033
|
+
const n = t, r = Ce([]), l = Ce(o2), u = Ce(null), c = Te(() => JSON.stringify(r)), d = (h) => ["image/gif", "image/jpeg", "image/png", "image/tiff"].includes(h), a = (h) => {
|
|
8034
8034
|
vt.delete(n.deleteEndpoint + "?" + h.id).then(() => {
|
|
8035
8035
|
r.value = null;
|
|
8036
8036
|
}).catch(console.error);
|
|
8037
8037
|
};
|
|
8038
|
-
return
|
|
8038
|
+
return I1(() => {
|
|
8039
8039
|
var f;
|
|
8040
8040
|
u.value = n.formData;
|
|
8041
8041
|
const h = n.csrf;
|
|
@@ -8093,7 +8093,7 @@ const Uc = { render: Fc }, zc = { class: "file-upload" }, qc = ["name", "value"]
|
|
|
8093
8093
|
])
|
|
8094
8094
|
])) : de("", !0),
|
|
8095
8095
|
ht(o("div", {
|
|
8096
|
-
class:
|
|
8096
|
+
class: Re("relative rounded-lg " + t.background)
|
|
8097
8097
|
}, [
|
|
8098
8098
|
o("div", {
|
|
8099
8099
|
class: "dropzone border border-dashed rounded-lg z-10 h-[200px] w-full cursor-pointer relative",
|
|
@@ -8102,7 +8102,7 @@ const Uc = { render: Fc }, zc = { class: "file-upload" }, qc = ["name", "value"]
|
|
|
8102
8102
|
}, null, 512),
|
|
8103
8103
|
o("div", t4, [
|
|
8104
8104
|
o("div", null, [
|
|
8105
|
-
me(
|
|
8105
|
+
me(ye(Uc), { class: "w-6 h-6" })
|
|
8106
8106
|
]),
|
|
8107
8107
|
f[2] || (f[2] = o("div", { class: "text-sm text-center" }, [
|
|
8108
8108
|
o("p", null, [
|
|
@@ -8151,14 +8151,14 @@ const Uc = { render: Fc }, zc = { class: "file-upload" }, qc = ["name", "value"]
|
|
|
8151
8151
|
return (c, d) => (s(), i("div", n4, [
|
|
8152
8152
|
o("button", {
|
|
8153
8153
|
type: "button",
|
|
8154
|
-
class:
|
|
8154
|
+
class: Re(["relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent bg-gray-100 transition-colors duration-200 ease-in-out", l.value]),
|
|
8155
8155
|
role: "switch",
|
|
8156
8156
|
"aria-checked": t.modelValue,
|
|
8157
8157
|
onClick: u
|
|
8158
8158
|
}, [
|
|
8159
8159
|
o("span", {
|
|
8160
8160
|
"aria-hidden": "true",
|
|
8161
|
-
class:
|
|
8161
|
+
class: Re(["pointer-events-none inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out", {
|
|
8162
8162
|
"translate-x-5": t.modelValue,
|
|
8163
8163
|
"translate-x-0": !t.modelValue,
|
|
8164
8164
|
"!translate-x-3": t.small && t.modelValue,
|
|
@@ -8317,7 +8317,7 @@ const Uc = { render: Fc }, zc = { class: "file-upload" }, qc = ["name", "value"]
|
|
|
8317
8317
|
},
|
|
8318
8318
|
setup(t) {
|
|
8319
8319
|
return (e, n) => (s(), i("div", {
|
|
8320
|
-
class:
|
|
8320
|
+
class: Re(["rounded-xl px-6 py-5", t.classes])
|
|
8321
8321
|
}, [
|
|
8322
8322
|
t.title ? (s(), i("div", w4, [
|
|
8323
8323
|
o("div", g4, be(t.title), 1),
|
|
@@ -28894,7 +28894,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
28894
28894
|
}, c = () => {
|
|
28895
28895
|
l("selectIcon", n.icon);
|
|
28896
28896
|
};
|
|
28897
|
-
return
|
|
28897
|
+
return I1(() => {
|
|
28898
28898
|
u(n.icon);
|
|
28899
28899
|
}), (d, a) => (s(), i("div", null, [
|
|
28900
28900
|
r.value ? (s(), i("div", {
|
|
@@ -28902,7 +28902,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
28902
28902
|
onClick: c
|
|
28903
28903
|
}, [
|
|
28904
28904
|
(s(), Ze(Y1(r.value), {
|
|
28905
|
-
class:
|
|
28905
|
+
class: Re(t.iconClasses)
|
|
28906
28906
|
}, null, 8, ["class"]))
|
|
28907
28907
|
])) : de("", !0)
|
|
28908
28908
|
]));
|
|
@@ -28921,7 +28921,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
28921
28921
|
},
|
|
28922
28922
|
emits: ["update:modelValue"],
|
|
28923
28923
|
setup(t, { emit: e }) {
|
|
28924
|
-
const r =
|
|
28924
|
+
const r = Ce(t.modelValue), l = Ce(""), u = Ce([]), c = Ce(!1), d = e;
|
|
28925
28925
|
function a() {
|
|
28926
28926
|
c.value = !c.value;
|
|
28927
28927
|
}
|
|
@@ -28936,7 +28936,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
28936
28936
|
function f() {
|
|
28937
28937
|
c.value && a();
|
|
28938
28938
|
}
|
|
28939
|
-
return
|
|
28939
|
+
return I1(() => {
|
|
28940
28940
|
u.value = Do.slice(0, 30);
|
|
28941
28941
|
}), (m, p) => {
|
|
28942
28942
|
const w = Ys("click-outside");
|
|
@@ -28949,7 +28949,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
28949
28949
|
icon: r.value,
|
|
28950
28950
|
"icon-classes": "w-5 h-5",
|
|
28951
28951
|
key: r.value
|
|
28952
|
-
}, null, 8, ["icon"])) : (s(), Ze(
|
|
28952
|
+
}, null, 8, ["icon"])) : (s(), Ze(ye(m0), {
|
|
28953
28953
|
key: 1,
|
|
28954
28954
|
class: "h-5 w-5"
|
|
28955
28955
|
}))
|
|
@@ -29024,7 +29024,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29024
29024
|
return t.button ? (s(), Ze(t1, {
|
|
29025
29025
|
key: 0,
|
|
29026
29026
|
title: ((r = t.button) == null ? void 0 : r.name) ?? "Button",
|
|
29027
|
-
class:
|
|
29027
|
+
class: Re(["flex flex-col gap-4 rounded-xl px-6 py-5 mt-4", t.classes]),
|
|
29028
29028
|
classes: t.classes
|
|
29029
29029
|
}, {
|
|
29030
29030
|
default: Xe(() => {
|
|
@@ -29063,7 +29063,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29063
29063
|
key: 0,
|
|
29064
29064
|
"is-vertical": "",
|
|
29065
29065
|
field: (u = t.button) == null ? void 0 : u.type,
|
|
29066
|
-
"label-text": `${
|
|
29066
|
+
"label-text": `${ye(li)((c = t.button) == null ? void 0 : c.type)} *`,
|
|
29067
29067
|
class: "w-full mb-4",
|
|
29068
29068
|
value: t.button.address,
|
|
29069
29069
|
limit: 100
|
|
@@ -29116,21 +29116,21 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29116
29116
|
emits: ["update"],
|
|
29117
29117
|
setup(t, { emit: e }) {
|
|
29118
29118
|
var u;
|
|
29119
|
-
const n = Gt("VFileUpload", J1), r = t, l =
|
|
29119
|
+
const n = Gt("VFileUpload", J1), r = t, l = Ce(((u = r.data) == null ? void 0 : u.component) ?? r.data);
|
|
29120
29120
|
return (c, d) => {
|
|
29121
29121
|
var a, h, f, m, p, w, v;
|
|
29122
29122
|
return s(), i("div", {
|
|
29123
|
-
class:
|
|
29123
|
+
class: Re({ "bg-gray-50 px-6 py-5 rounded-xl": !((a = l.value) != null && a.as_item), "-mx-6 -my-5": (h = l.value) == null ? void 0 : h.as_item })
|
|
29124
29124
|
}, [
|
|
29125
29125
|
o("p", {
|
|
29126
|
-
class:
|
|
29126
|
+
class: Re(["text-lg font-semibold text-gray-900 pb-4", { "border-b border-gray-200": !((f = l.value) != null && f.has_extra) }])
|
|
29127
29127
|
}, be((m = l.value) == null ? void 0 : m.name), 3),
|
|
29128
29128
|
o("div", {
|
|
29129
|
-
class:
|
|
29129
|
+
class: Re(["flex flex-col gap-4 rounded-xl py-5 bg-gray-50 px-0", { "!bg-gray-200 !px-6": (p = l.value) == null ? void 0 : p.hasOwnProperty("has_extra") }])
|
|
29130
29130
|
}, [
|
|
29131
29131
|
l.value.hasOwnProperty("icon") || l.value.hasOwnProperty("title") ? (s(), i("div", {
|
|
29132
29132
|
key: 0,
|
|
29133
|
-
class:
|
|
29133
|
+
class: Re({ "flex gap-4": l.value.hasOwnProperty("icon") })
|
|
29134
29134
|
}, [
|
|
29135
29135
|
l.value.hasOwnProperty("icon") ? (s(), Ze(pt, {
|
|
29136
29136
|
key: 0,
|
|
@@ -29215,7 +29215,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29215
29215
|
supporting_text: "Recommended dimension: 1200*1060px"
|
|
29216
29216
|
}, {
|
|
29217
29217
|
default: Xe(() => [
|
|
29218
|
-
me(
|
|
29218
|
+
me(ye(n), {
|
|
29219
29219
|
name: "image",
|
|
29220
29220
|
class: "!bg-gray-200",
|
|
29221
29221
|
height: "h-[395px]",
|
|
@@ -29233,7 +29233,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29233
29233
|
supporting_text: "Recommended dimension: 1200*1060px"
|
|
29234
29234
|
}, {
|
|
29235
29235
|
default: Xe(() => [
|
|
29236
|
-
me(
|
|
29236
|
+
me(ye(n), {
|
|
29237
29237
|
name: "image",
|
|
29238
29238
|
class: "!bg-gray-200",
|
|
29239
29239
|
height: "h-[395px]",
|
|
@@ -29260,7 +29260,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29260
29260
|
},
|
|
29261
29261
|
emits: ["update"],
|
|
29262
29262
|
setup(t, { emit: e }) {
|
|
29263
|
-
const n = Gt("VFileUpload", J1), r = e, l = t, u = [{ value: "content", label: "Content" }, { value: "image_only", label: "Image Only" }], c =
|
|
29263
|
+
const n = Gt("VFileUpload", J1), r = e, l = t, u = [{ value: "content", label: "Content" }, { value: "image_only", label: "Image Only" }], c = Ce(l.data.component), d = Ce(null), a = Ce(null), h = Ce(null), f = Te(() => c.value.type === "bullet_points"), m = Te(() => c.value.type === "feature_items");
|
|
29264
29264
|
function p() {
|
|
29265
29265
|
var C, b;
|
|
29266
29266
|
c.value.hasOwnProperty("data") || (c.value.data = []), !(((C = c.value.data) == null ? void 0 : C.length) >= c.value.max_items) && ((b = c.value.data) == null || b.push(wa({}, f.value, m.value)), oi(() => {
|
|
@@ -29289,9 +29289,9 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29289
29289
|
o("div", null, [
|
|
29290
29290
|
o("a", {
|
|
29291
29291
|
onClick: p,
|
|
29292
|
-
class:
|
|
29292
|
+
class: Re(["text-sm cursor-pointer flex items-center justify-center gap-1 rounded-[99px] border border-brand-600 bg-brand-500 px-3.5 py-2 font-semibold text-white hover:bg-brand-600", { "border-gray-100 bg-gray-100 !text-gray-400 hover:bg-gray-100": ((A = c.value.data) == null ? void 0 : A.length) >= c.value.max_items }])
|
|
29293
29293
|
}, [
|
|
29294
|
-
me(
|
|
29294
|
+
me(ye(m0), { class: "h-5 w-5" }),
|
|
29295
29295
|
b[0] || (b[0] = o("span", null, "Add", -1))
|
|
29296
29296
|
], 2)
|
|
29297
29297
|
])
|
|
@@ -29393,7 +29393,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29393
29393
|
value: $.image
|
|
29394
29394
|
}, {
|
|
29395
29395
|
default: Xe(() => [
|
|
29396
|
-
me(
|
|
29396
|
+
me(ye(n), {
|
|
29397
29397
|
modelValue: $.image,
|
|
29398
29398
|
"onUpdate:modelValue": (W) => $.image = W
|
|
29399
29399
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -29422,7 +29422,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29422
29422
|
},
|
|
29423
29423
|
emits: ["update"],
|
|
29424
29424
|
setup(t, { emit: e }) {
|
|
29425
|
-
const n = Gt("VFileUpload", J1), r = e, u =
|
|
29425
|
+
const n = Gt("VFileUpload", J1), r = e, u = Ce(t.data.component), c = Ce(null), d = Ce(null), a = Ce(null);
|
|
29426
29426
|
function h() {
|
|
29427
29427
|
var p, w;
|
|
29428
29428
|
u.value.hasOwnProperty("data") || (u.value.data = []), !(((p = u.value.data) == null ? void 0 : p.length) >= u.value.max_items) && ((w = u.value.data) == null || w.push({
|
|
@@ -29452,9 +29452,9 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29452
29452
|
o("div", null, [
|
|
29453
29453
|
o("a", {
|
|
29454
29454
|
onClick: h,
|
|
29455
|
-
class:
|
|
29455
|
+
class: Re(["text-sm cursor-pointer flex items-center justify-center gap-1 rounded-[99px] border border-brand-600 bg-brand-500 px-3.5 py-2 font-semibold text-white hover:bg-brand-600", { "border-gray-100 bg-gray-100 !text-gray-400 hover:bg-gray-100": ((v = u.value.data) == null ? void 0 : v.length) >= u.value.max_items }])
|
|
29456
29456
|
}, [
|
|
29457
|
-
me(
|
|
29457
|
+
me(ye(m0), { class: "h-5 w-5" }),
|
|
29458
29458
|
w[0] || (w[0] = o("span", null, "Add", -1))
|
|
29459
29459
|
], 2)
|
|
29460
29460
|
])
|
|
@@ -29477,7 +29477,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29477
29477
|
]),
|
|
29478
29478
|
o("div", f8e, [
|
|
29479
29479
|
o("div", p8e, [
|
|
29480
|
-
me(
|
|
29480
|
+
me(ye(n), {
|
|
29481
29481
|
name: "image",
|
|
29482
29482
|
modelValue: x.logo,
|
|
29483
29483
|
"onUpdate:modelValue": (b) => x.logo = b
|
|
@@ -29529,7 +29529,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29529
29529
|
},
|
|
29530
29530
|
emits: ["update"],
|
|
29531
29531
|
setup(t, { emit: e }) {
|
|
29532
|
-
const r =
|
|
29532
|
+
const r = Ce(t.data.component);
|
|
29533
29533
|
return (l, u) => {
|
|
29534
29534
|
var c, d, a;
|
|
29535
29535
|
return s(), i("div", w8e, [
|
|
@@ -29597,7 +29597,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29597
29597
|
},
|
|
29598
29598
|
emits: ["update"],
|
|
29599
29599
|
setup(t, { emit: e }) {
|
|
29600
|
-
const r =
|
|
29600
|
+
const r = Ce(t.data.component);
|
|
29601
29601
|
return (l, u) => {
|
|
29602
29602
|
var c, d, a;
|
|
29603
29603
|
return s(), i("div", A8e, [
|
|
@@ -29660,7 +29660,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29660
29660
|
},
|
|
29661
29661
|
emits: ["update"],
|
|
29662
29662
|
setup(t, { emit: e }) {
|
|
29663
|
-
const n = Gt("VFileUpload", J1), r = e, u =
|
|
29663
|
+
const n = Gt("VFileUpload", J1), r = e, u = Ce(t.data.component), c = Ce(null), d = Ce(null), a = Ce(null);
|
|
29664
29664
|
function h() {
|
|
29665
29665
|
var p, w;
|
|
29666
29666
|
u.value.hasOwnProperty("data") || (u.value.data = []), !(((p = u.value.data) == null ? void 0 : p.length) >= u.value.max_items) && ((w = u.value.data) == null || w.push({
|
|
@@ -29687,9 +29687,9 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29687
29687
|
o("div", null, [
|
|
29688
29688
|
o("a", {
|
|
29689
29689
|
onClick: h,
|
|
29690
|
-
class:
|
|
29690
|
+
class: Re(["text-sm cursor-pointer flex items-center justify-center gap-1 rounded-[99px] border border-brand-600 bg-brand-500 px-3.5 py-2 font-semibold text-white hover:bg-brand-600", { "border-gray-100 bg-gray-100 !text-gray-400 hover:bg-gray-100": ((v = u.value.data) == null ? void 0 : v.length) >= u.value.max_items }])
|
|
29691
29691
|
}, [
|
|
29692
|
-
me(
|
|
29692
|
+
me(ye(m0), { class: "h-5 w-5" }),
|
|
29693
29693
|
w[0] || (w[0] = o("span", null, "Add", -1))
|
|
29694
29694
|
], 2)
|
|
29695
29695
|
])
|
|
@@ -29712,7 +29712,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29712
29712
|
]),
|
|
29713
29713
|
o("div", I8e, [
|
|
29714
29714
|
o("div", D8e, [
|
|
29715
|
-
me(
|
|
29715
|
+
me(ye(n), {
|
|
29716
29716
|
name: "image",
|
|
29717
29717
|
type: "video",
|
|
29718
29718
|
height: "h-[250px]",
|
|
@@ -29734,7 +29734,7 @@ const b5e = { render: y5e }, M5e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
|
|
|
29734
29734
|
};
|
|
29735
29735
|
}
|
|
29736
29736
|
};
|
|
29737
|
-
var Ri = typeof global == "object" && global && global.Object === Object && global, U8e = typeof self == "object" && self && self.Object === Object && self, B1 = Ri || U8e || Function("return this")(),
|
|
29737
|
+
var Ri = typeof global == "object" && global && global.Object === Object && global, U8e = typeof self == "object" && self && self.Object === Object && self, B1 = Ri || U8e || Function("return this")(), Q1 = B1.Symbol, Ni = Object.prototype, z8e = Ni.hasOwnProperty, q8e = Ni.toString, on = Q1 ? Q1.toStringTag : void 0;
|
|
29738
29738
|
function G8e(t) {
|
|
29739
29739
|
var e = z8e.call(t, on), n = t[on];
|
|
29740
29740
|
try {
|
|
@@ -29749,7 +29749,7 @@ var W8e = Object.prototype, X8e = W8e.toString;
|
|
|
29749
29749
|
function K8e(t) {
|
|
29750
29750
|
return X8e.call(t);
|
|
29751
29751
|
}
|
|
29752
|
-
var Z8e = "[object Null]", Q8e = "[object Undefined]", Fo =
|
|
29752
|
+
var Z8e = "[object Null]", Q8e = "[object Undefined]", Fo = Q1 ? Q1.toStringTag : void 0;
|
|
29753
29753
|
function Y0(t) {
|
|
29754
29754
|
return t == null ? t === void 0 ? Q8e : Z8e : Fo && Fo in Object(t) ? G8e(t) : K8e(t);
|
|
29755
29755
|
}
|
|
@@ -30097,23 +30097,23 @@ function U6e(t, e) {
|
|
|
30097
30097
|
var n = this.__data__, r = Sr(n, t);
|
|
30098
30098
|
return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
|
|
30099
30099
|
}
|
|
30100
|
-
function
|
|
30100
|
+
function D1(t) {
|
|
30101
30101
|
var e = -1, n = t == null ? 0 : t.length;
|
|
30102
30102
|
for (this.clear(); ++e < n; ) {
|
|
30103
30103
|
var r = t[e];
|
|
30104
30104
|
this.set(r[0], r[1]);
|
|
30105
30105
|
}
|
|
30106
30106
|
}
|
|
30107
|
-
|
|
30108
|
-
|
|
30109
|
-
|
|
30110
|
-
|
|
30111
|
-
|
|
30107
|
+
D1.prototype.clear = N6e;
|
|
30108
|
+
D1.prototype.delete = I6e;
|
|
30109
|
+
D1.prototype.get = D6e;
|
|
30110
|
+
D1.prototype.has = F6e;
|
|
30111
|
+
D1.prototype.set = U6e;
|
|
30112
30112
|
var kn = w0(B1, "Map");
|
|
30113
30113
|
function z6e() {
|
|
30114
30114
|
this.size = 0, this.__data__ = {
|
|
30115
30115
|
hash: new d0(),
|
|
30116
|
-
map: new (kn ||
|
|
30116
|
+
map: new (kn || D1)(),
|
|
30117
30117
|
string: new d0()
|
|
30118
30118
|
};
|
|
30119
30119
|
}
|
|
@@ -30167,7 +30167,7 @@ function n7e(t) {
|
|
|
30167
30167
|
return typeof n == "function" && n instanceof n && Ki.call(n) == t7e;
|
|
30168
30168
|
}
|
|
30169
30169
|
function r7e() {
|
|
30170
|
-
this.__data__ = new
|
|
30170
|
+
this.__data__ = new D1(), this.size = 0;
|
|
30171
30171
|
}
|
|
30172
30172
|
function o7e(t) {
|
|
30173
30173
|
var e = this.__data__, n = e.delete(t);
|
|
@@ -30182,7 +30182,7 @@ function i7e(t) {
|
|
|
30182
30182
|
var l7e = 200;
|
|
30183
30183
|
function a7e(t, e) {
|
|
30184
30184
|
var n = this.__data__;
|
|
30185
|
-
if (n instanceof
|
|
30185
|
+
if (n instanceof D1) {
|
|
30186
30186
|
var r = n.__data__;
|
|
30187
30187
|
if (!kn || r.length < l7e - 1)
|
|
30188
30188
|
return r.push([t, e]), this.size = ++n.size, this;
|
|
@@ -30191,7 +30191,7 @@ function a7e(t, e) {
|
|
|
30191
30191
|
return n.set(t, e), this.size = n.size, this;
|
|
30192
30192
|
}
|
|
30193
30193
|
function y1(t) {
|
|
30194
|
-
var e = this.__data__ = new
|
|
30194
|
+
var e = this.__data__ = new D1(t);
|
|
30195
30195
|
this.size = e.size;
|
|
30196
30196
|
}
|
|
30197
30197
|
y1.prototype.clear = r7e;
|
|
@@ -30265,7 +30265,7 @@ function B7e(t) {
|
|
|
30265
30265
|
var e = new t.constructor(t.source, _7e.exec(t));
|
|
30266
30266
|
return e.lastIndex = t.lastIndex, e;
|
|
30267
30267
|
}
|
|
30268
|
-
var ss =
|
|
30268
|
+
var ss = Q1 ? Q1.prototype : void 0, is = ss ? ss.valueOf : void 0;
|
|
30269
30269
|
function $7e(t) {
|
|
30270
30270
|
return is ? Object(is.call(t)) : {};
|
|
30271
30271
|
}
|
|
@@ -30429,7 +30429,7 @@ function Ohe(t) {
|
|
|
30429
30429
|
n[++e] = r;
|
|
30430
30430
|
}), n;
|
|
30431
30431
|
}
|
|
30432
|
-
var Rhe = 1, Nhe = 2, Vhe = "[object Boolean]", Phe = "[object Date]", Ihe = "[object Error]", Dhe = "[object Map]", Fhe = "[object Number]", Uhe = "[object RegExp]", zhe = "[object Set]", qhe = "[object String]", Ghe = "[object Symbol]", Whe = "[object ArrayBuffer]", Xhe = "[object DataView]", cs =
|
|
30432
|
+
var Rhe = 1, Nhe = 2, Vhe = "[object Boolean]", Phe = "[object Date]", Ihe = "[object Error]", Dhe = "[object Map]", Fhe = "[object Number]", Uhe = "[object RegExp]", zhe = "[object Set]", qhe = "[object String]", Ghe = "[object Symbol]", Whe = "[object ArrayBuffer]", Xhe = "[object DataView]", cs = Q1 ? Q1.prototype : void 0, l2 = cs ? cs.valueOf : void 0;
|
|
30433
30433
|
function Khe(t, e, n, r, l, u, c) {
|
|
30434
30434
|
switch (n) {
|
|
30435
30435
|
case Xhe:
|
|
@@ -30571,7 +30571,7 @@ function sl(t, e, n, r, l) {
|
|
|
30571
30571
|
function ho(t, e) {
|
|
30572
30572
|
return ol(t, e);
|
|
30573
30573
|
}
|
|
30574
|
-
var
|
|
30574
|
+
var Z1 = Hde(function(t, e, n) {
|
|
30575
30575
|
sl(t, e, n);
|
|
30576
30576
|
}), Oe = /* @__PURE__ */ ((t) => (t[t.TYPE = 3] = "TYPE", t[t.LEVEL = 12] = "LEVEL", t[t.ATTRIBUTE = 13] = "ATTRIBUTE", t[t.BLOT = 14] = "BLOT", t[t.INLINE = 7] = "INLINE", t[t.BLOCK = 11] = "BLOCK", t[t.BLOCK_BLOT = 10] = "BLOCK_BLOT", t[t.INLINE_BLOT = 6] = "INLINE_BLOT", t[t.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", t[t.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", t[t.ANY = 15] = "ANY", t))(Oe || {});
|
|
30577
30577
|
class M1 {
|
|
@@ -30963,7 +30963,7 @@ function ps(t, e) {
|
|
|
30963
30963
|
}), t.parentNode && t.parentNode.replaceChild(r.domNode, t), r.attach(), r;
|
|
30964
30964
|
}
|
|
30965
30965
|
}
|
|
30966
|
-
const ul = class
|
|
30966
|
+
const ul = class G1 extends al {
|
|
30967
30967
|
constructor(e, n) {
|
|
30968
30968
|
super(e, n), this.uiNode = null, this.build();
|
|
30969
30969
|
}
|
|
@@ -30976,7 +30976,7 @@ const ul = class q1 extends al {
|
|
|
30976
30976
|
});
|
|
30977
30977
|
}
|
|
30978
30978
|
attachUI(e) {
|
|
30979
|
-
this.uiNode != null && this.uiNode.remove(), this.uiNode = e,
|
|
30979
|
+
this.uiNode != null && this.uiNode.remove(), this.uiNode = e, G1.uiClass && this.uiNode.classList.add(G1.uiClass), this.uiNode.setAttribute("contenteditable", "false"), this.domNode.insertBefore(this.uiNode, this.domNode.firstChild);
|
|
30980
30980
|
}
|
|
30981
30981
|
/**
|
|
30982
30982
|
* Called during construction, should fill its own children LinkedList.
|
|
@@ -31002,7 +31002,7 @@ const ul = class q1 extends al {
|
|
|
31002
31002
|
}
|
|
31003
31003
|
descendant(e, n = 0) {
|
|
31004
31004
|
const [r, l] = this.children.find(n);
|
|
31005
|
-
return e.blotName == null && e(r) || e.blotName != null && r instanceof e ? [r, l] : r instanceof
|
|
31005
|
+
return e.blotName == null && e(r) || e.blotName != null && r instanceof e ? [r, l] : r instanceof G1 ? r.descendant(e, l) : [null, -1];
|
|
31006
31006
|
}
|
|
31007
31007
|
descendants(e, n = 0, r = Number.MAX_VALUE) {
|
|
31008
31008
|
let l = [], u = r;
|
|
@@ -31010,7 +31010,7 @@ const ul = class q1 extends al {
|
|
|
31010
31010
|
n,
|
|
31011
31011
|
r,
|
|
31012
31012
|
(c, d, a) => {
|
|
31013
|
-
(e.blotName == null && e(c) || e.blotName != null && c instanceof e) && l.push(c), c instanceof
|
|
31013
|
+
(e.blotName == null && e(c) || e.blotName != null && c instanceof e) && l.push(c), c instanceof G1 && (l = l.concat(
|
|
31014
31014
|
c.descendants(e, d, u)
|
|
31015
31015
|
)), u -= a;
|
|
31016
31016
|
}
|
|
@@ -31026,7 +31026,7 @@ const ul = class q1 extends al {
|
|
|
31026
31026
|
this.children.forEach((n) => {
|
|
31027
31027
|
e || this.statics.allowedChildren.some(
|
|
31028
31028
|
(r) => n instanceof r
|
|
31029
|
-
) || (n.statics.scope === Oe.BLOCK_BLOT ? (n.next != null && this.splitAfter(n), n.prev != null && this.splitAfter(n.prev), n.parent.unwrap(), e = !0) : n instanceof
|
|
31029
|
+
) || (n.statics.scope === Oe.BLOCK_BLOT ? (n.next != null && this.splitAfter(n), n.prev != null && this.splitAfter(n.prev), n.parent.unwrap(), e = !0) : n instanceof G1 ? n.unwrap() : n.remove());
|
|
31030
31030
|
});
|
|
31031
31031
|
}
|
|
31032
31032
|
formatAt(e, n, r, l) {
|
|
@@ -31066,14 +31066,14 @@ const ul = class q1 extends al {
|
|
|
31066
31066
|
}
|
|
31067
31067
|
path(e, n = !1) {
|
|
31068
31068
|
const [r, l] = this.children.find(e, n), u = [[this, e]];
|
|
31069
|
-
return r instanceof
|
|
31069
|
+
return r instanceof G1 ? u.concat(r.path(l, n)) : (r != null && u.push([r, l]), u);
|
|
31070
31070
|
}
|
|
31071
31071
|
removeChild(e) {
|
|
31072
31072
|
this.children.remove(e);
|
|
31073
31073
|
}
|
|
31074
31074
|
replaceWith(e, n) {
|
|
31075
31075
|
const r = typeof e == "string" ? this.scroll.create(e, n) : e;
|
|
31076
|
-
return r instanceof
|
|
31076
|
+
return r instanceof G1 && this.moveChildren(r), super.replaceWith(r);
|
|
31077
31077
|
}
|
|
31078
31078
|
split(e, n = !1) {
|
|
31079
31079
|
if (!n) {
|
|
@@ -31789,7 +31789,7 @@ function hl() {
|
|
|
31789
31789
|
return vs || (vs = 1, function(t, e) {
|
|
31790
31790
|
var n = 200, r = "__lodash_hash_undefined__", l = 9007199254740991, u = "[object Arguments]", c = "[object Array]", d = "[object Boolean]", a = "[object Date]", h = "[object Error]", f = "[object Function]", m = "[object GeneratorFunction]", p = "[object Map]", w = "[object Number]", v = "[object Object]", x = "[object Promise]", C = "[object RegExp]", b = "[object Set]", A = "[object String]", $ = "[object Symbol]", R = "[object WeakMap]", V = "[object ArrayBuffer]", I = "[object DataView]", X = "[object Float32Array]", W = "[object Float64Array]", se = "[object Int8Array]", K = "[object Int16Array]", M = "[object Int32Array]", N = "[object Uint8Array]", j = "[object Uint8ClampedArray]", q = "[object Uint16Array]", F = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, Q = /\w*$/, G = /^\[object .+?Constructor\]$/, te = /^(?:0|[1-9]\d*)$/, ne = {};
|
|
31791
31791
|
ne[u] = ne[c] = ne[V] = ne[I] = ne[d] = ne[a] = ne[X] = ne[W] = ne[se] = ne[K] = ne[M] = ne[p] = ne[w] = ne[v] = ne[C] = ne[b] = ne[A] = ne[$] = ne[N] = ne[j] = ne[q] = ne[F] = !0, ne[h] = ne[f] = ne[R] = !1;
|
|
31792
|
-
var xe = typeof
|
|
31792
|
+
var xe = typeof W1 == "object" && W1 && W1.Object === Object && W1, ke = typeof self == "object" && self && self.Object === Object && self, Me = xe || ke || Function("return this")(), Be = e && !e.nodeType && e, we = Be && !0 && t && !t.nodeType && t, He = we && we.exports === Be;
|
|
31793
31793
|
function Ae(g, B) {
|
|
31794
31794
|
return g.set(B[0], B[1]), g;
|
|
31795
31795
|
}
|
|
@@ -31850,7 +31850,7 @@ function hl() {
|
|
|
31850
31850
|
return g ? "Symbol(src)_1." + g : "";
|
|
31851
31851
|
}(), ae = J.toString, ve = Y.hasOwnProperty, Se = Y.toString, Ke = RegExp(
|
|
31852
31852
|
"^" + ae.call(ve).replace(U, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
31853
|
-
), it = He ? Me.Buffer : void 0, Je = Me.Symbol, Fe = Me.Uint8Array, et = D(Object.getPrototypeOf, Object), wt = Object.create, kt = Y.propertyIsEnumerable, Zt = Z.splice, Et = Object.getOwnPropertySymbols, ot = it ? it.isBuffer : void 0, Ue = D(Object.keys, Object), lt = i1(Me, "DataView"), ge = i1(Me, "Map"), _e = i1(Me, "Promise"),
|
|
31853
|
+
), it = He ? Me.Buffer : void 0, Je = Me.Symbol, Fe = Me.Uint8Array, et = D(Object.getPrototypeOf, Object), wt = Object.create, kt = Y.propertyIsEnumerable, Zt = Z.splice, Et = Object.getOwnPropertySymbols, ot = it ? it.isBuffer : void 0, Ue = D(Object.keys, Object), lt = i1(Me, "DataView"), ge = i1(Me, "Map"), _e = i1(Me, "Promise"), Ne = i1(Me, "Set"), Ie = i1(Me, "WeakMap"), Pe = i1(Object, "create"), tt = Dt(lt), at = Dt(ge), mt = Dt(_e), _t = Dt(Ne), Bt = Dt(Ie), Wt = Je ? Je.prototype : void 0, Qt = Wt ? Wt.valueOf : void 0;
|
|
31854
31854
|
function bt(g) {
|
|
31855
31855
|
var B = -1, P = g ? g.length : 0;
|
|
31856
31856
|
for (this.clear(); ++B < P; ) {
|
|
@@ -31876,11 +31876,11 @@ function hl() {
|
|
|
31876
31876
|
var B = this.__data__;
|
|
31877
31877
|
return Pe ? B[g] !== void 0 : ve.call(B, g);
|
|
31878
31878
|
}
|
|
31879
|
-
function
|
|
31879
|
+
function U1(g, B) {
|
|
31880
31880
|
var P = this.__data__;
|
|
31881
31881
|
return P[g] = Pe && B === void 0 ? r : B, this;
|
|
31882
31882
|
}
|
|
31883
|
-
bt.prototype.clear = Ft, bt.prototype.delete = o1, bt.prototype.get = n0, bt.prototype.has = $1, bt.prototype.set =
|
|
31883
|
+
bt.prototype.clear = Ft, bt.prototype.delete = o1, bt.prototype.get = n0, bt.prototype.has = $1, bt.prototype.set = U1;
|
|
31884
31884
|
function Ct(g) {
|
|
31885
31885
|
var B = -1, P = g ? g.length : 0;
|
|
31886
31886
|
for (this.clear(); ++B < P; ) {
|
|
@@ -32047,12 +32047,12 @@ function hl() {
|
|
|
32047
32047
|
var P = new g.constructor(g.length);
|
|
32048
32048
|
return g.copy(P), P;
|
|
32049
32049
|
}
|
|
32050
|
-
function
|
|
32050
|
+
function z1(g) {
|
|
32051
32051
|
var B = new g.constructor(g.byteLength);
|
|
32052
32052
|
return new Fe(B).set(new Fe(g)), B;
|
|
32053
32053
|
}
|
|
32054
32054
|
function s1(g, B) {
|
|
32055
|
-
var P = B ?
|
|
32055
|
+
var P = B ? z1(g.buffer) : g.buffer;
|
|
32056
32056
|
return new g.constructor(P, g.byteOffset, g.byteLength);
|
|
32057
32057
|
}
|
|
32058
32058
|
function Nn(g, B, P) {
|
|
@@ -32071,7 +32071,7 @@ function hl() {
|
|
|
32071
32071
|
return Qt ? Object(Qt.call(g)) : {};
|
|
32072
32072
|
}
|
|
32073
32073
|
function Pr(g, B) {
|
|
32074
|
-
var P = B ?
|
|
32074
|
+
var P = B ? z1(g.buffer) : g.buffer;
|
|
32075
32075
|
return new g.constructor(P, g.byteOffset, g.length);
|
|
32076
32076
|
}
|
|
32077
32077
|
function Ir(g, B) {
|
|
@@ -32103,7 +32103,7 @@ function hl() {
|
|
|
32103
32103
|
return Xt(P) ? P : void 0;
|
|
32104
32104
|
}
|
|
32105
32105
|
var j1 = Et ? D(Et, Object) : Kr, L1 = gt;
|
|
32106
|
-
(lt && L1(new lt(new ArrayBuffer(1))) != I || ge && L1(new ge()) != p || _e && L1(_e.resolve()) != x ||
|
|
32106
|
+
(lt && L1(new lt(new ArrayBuffer(1))) != I || ge && L1(new ge()) != p || _e && L1(_e.resolve()) != x || Ne && L1(new Ne()) != b || Ie && L1(new Ie()) != R) && (L1 = function(g) {
|
|
32107
32107
|
var B = Se.call(g), P = B == v ? g.constructor : void 0, le = P ? Dt(P) : void 0;
|
|
32108
32108
|
if (le)
|
|
32109
32109
|
switch (le) {
|
|
@@ -32131,7 +32131,7 @@ function hl() {
|
|
|
32131
32131
|
var qe = g.constructor;
|
|
32132
32132
|
switch (B) {
|
|
32133
32133
|
case V:
|
|
32134
|
-
return
|
|
32134
|
+
return z1(g);
|
|
32135
32135
|
case d:
|
|
32136
32136
|
case a:
|
|
32137
32137
|
return new qe(+g);
|
|
@@ -32237,7 +32237,7 @@ function fl() {
|
|
|
32237
32237
|
return ws || (ws = 1, function(t, e) {
|
|
32238
32238
|
var n = 200, r = "__lodash_hash_undefined__", l = 1, u = 2, c = 9007199254740991, d = "[object Arguments]", a = "[object Array]", h = "[object AsyncFunction]", f = "[object Boolean]", m = "[object Date]", p = "[object Error]", w = "[object Function]", v = "[object GeneratorFunction]", x = "[object Map]", C = "[object Number]", b = "[object Null]", A = "[object Object]", $ = "[object Promise]", R = "[object Proxy]", V = "[object RegExp]", I = "[object Set]", X = "[object String]", W = "[object Symbol]", se = "[object Undefined]", K = "[object WeakMap]", M = "[object ArrayBuffer]", N = "[object DataView]", j = "[object Float32Array]", q = "[object Float64Array]", F = "[object Int8Array]", U = "[object Int16Array]", Q = "[object Int32Array]", G = "[object Uint8Array]", te = "[object Uint8ClampedArray]", ne = "[object Uint16Array]", xe = "[object Uint32Array]", ke = /[\\^$.*+?()[\]{}|]/g, Me = /^\[object .+?Constructor\]$/, Be = /^(?:0|[1-9]\d*)$/, we = {};
|
|
32239
32239
|
we[j] = we[q] = we[F] = we[U] = we[Q] = we[G] = we[te] = we[ne] = we[xe] = !0, we[d] = we[a] = we[M] = we[f] = we[N] = we[m] = we[p] = we[w] = we[x] = we[C] = we[A] = we[V] = we[I] = we[X] = we[K] = !1;
|
|
32240
|
-
var He = typeof
|
|
32240
|
+
var He = typeof W1 == "object" && W1 && W1.Object === Object && W1, Ae = typeof self == "object" && self && self.Object === Object && self, S = He || Ae || Function("return this")(), T = e && !e.nodeType && e, _ = T && !0 && t && !t.nodeType && t, L = _ && _.exports === T, k = L && He.process, y = function() {
|
|
32241
32241
|
try {
|
|
32242
32242
|
return k && k.binding && k.binding("util");
|
|
32243
32243
|
} catch {
|
|
@@ -32299,7 +32299,7 @@ function fl() {
|
|
|
32299
32299
|
return g ? "Symbol(src)_1." + g : "";
|
|
32300
32300
|
}(), kt = it.toString, Zt = RegExp(
|
|
32301
32301
|
"^" + Fe.call(et).replace(ke, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
32302
|
-
), Et = L ? S.Buffer : void 0, ot = S.Symbol, Ue = S.Uint8Array, lt = it.propertyIsEnumerable, ge = Se.splice, _e = ot ? ot.toStringTag : void 0,
|
|
32302
|
+
), Et = L ? S.Buffer : void 0, ot = S.Symbol, Ue = S.Uint8Array, lt = it.propertyIsEnumerable, ge = Se.splice, _e = ot ? ot.toStringTag : void 0, Ne = Object.getOwnPropertySymbols, Ie = Et ? Et.isBuffer : void 0, Pe = ae(Object.keys, Object), tt = j1(S, "DataView"), at = j1(S, "Map"), mt = j1(S, "Promise"), _t = j1(S, "Set"), Bt = j1(S, "WeakMap"), Wt = j1(Object, "create"), Qt = Dt(tt), bt = Dt(at), Ft = Dt(mt), o1 = Dt(_t), n0 = Dt(Bt), $1 = ot ? ot.prototype : void 0, U1 = $1 ? $1.valueOf : void 0;
|
|
32303
32303
|
function Ct(g) {
|
|
32304
32304
|
var B = -1, P = g == null ? 0 : g.length;
|
|
32305
32305
|
for (this.clear(); ++B < P; ) {
|
|
@@ -32445,7 +32445,7 @@ function fl() {
|
|
|
32445
32445
|
return P;
|
|
32446
32446
|
return -1;
|
|
32447
32447
|
}
|
|
32448
|
-
function
|
|
32448
|
+
function z1(g, B, P) {
|
|
32449
32449
|
var le = B(g);
|
|
32450
32450
|
return L0(g) ? le : D(le, P(g));
|
|
32451
32451
|
}
|
|
@@ -32472,8 +32472,8 @@ function fl() {
|
|
|
32472
32472
|
if (!(P & l)) {
|
|
32473
32473
|
var Nt = Rt && et.call(g, "__wrapped__"), St = Ut && et.call(B, "__wrapped__");
|
|
32474
32474
|
if (Nt || St) {
|
|
32475
|
-
var
|
|
32476
|
-
return Ve || (Ve = new nt()), qe(
|
|
32475
|
+
var q1 = Nt ? g.value() : g, T1 = St ? B.value() : B;
|
|
32476
|
+
return Ve || (Ve = new nt()), qe(q1, T1, P, le, Ve);
|
|
32477
32477
|
}
|
|
32478
32478
|
}
|
|
32479
32479
|
return At ? (Ve || (Ve = new nt()), Fr(g, B, P, le, qe, Ve)) : !1;
|
|
@@ -32506,9 +32506,9 @@ function fl() {
|
|
|
32506
32506
|
for (Ve.set(g, B), Ve.set(B, g); ++Rt < rt; ) {
|
|
32507
32507
|
var Nt = g[Rt], St = B[Rt];
|
|
32508
32508
|
if (le)
|
|
32509
|
-
var
|
|
32510
|
-
if (
|
|
32511
|
-
if (
|
|
32509
|
+
var q1 = st ? le(St, Nt, Rt, B, g, Ve) : le(Nt, St, Rt, g, B, Ve);
|
|
32510
|
+
if (q1 !== void 0) {
|
|
32511
|
+
if (q1)
|
|
32512
32512
|
continue;
|
|
32513
32513
|
Ut = !1;
|
|
32514
32514
|
break;
|
|
@@ -32558,8 +32558,8 @@ function fl() {
|
|
|
32558
32558
|
var Rt = J0(rt(g), rt(B), le, qe, Ve, st);
|
|
32559
32559
|
return st.delete(g), Rt;
|
|
32560
32560
|
case W:
|
|
32561
|
-
if (
|
|
32562
|
-
return
|
|
32561
|
+
if (U1)
|
|
32562
|
+
return U1.call(g) == U1.call(B);
|
|
32563
32563
|
}
|
|
32564
32564
|
return !1;
|
|
32565
32565
|
}
|
|
@@ -32577,7 +32577,7 @@ function fl() {
|
|
|
32577
32577
|
return Nt == B;
|
|
32578
32578
|
var St = !0;
|
|
32579
32579
|
Ve.set(g, B), Ve.set(B, g);
|
|
32580
|
-
for (var
|
|
32580
|
+
for (var q1 = st; ++Ut < yt; ) {
|
|
32581
32581
|
At = rt[Ut];
|
|
32582
32582
|
var T1 = g[At], s0 = B[At];
|
|
32583
32583
|
if (le)
|
|
@@ -32586,16 +32586,16 @@ function fl() {
|
|
|
32586
32586
|
St = !1;
|
|
32587
32587
|
break;
|
|
32588
32588
|
}
|
|
32589
|
-
|
|
32589
|
+
q1 || (q1 = At == "constructor");
|
|
32590
32590
|
}
|
|
32591
|
-
if (St && !
|
|
32591
|
+
if (St && !q1) {
|
|
32592
32592
|
var qn = g.constructor, Gn = B.constructor;
|
|
32593
32593
|
qn != Gn && "constructor" in g && "constructor" in B && !(typeof qn == "function" && qn instanceof qn && typeof Gn == "function" && Gn instanceof Gn) && (St = !1);
|
|
32594
32594
|
}
|
|
32595
32595
|
return Ve.delete(g), Ve.delete(B), St;
|
|
32596
32596
|
}
|
|
32597
32597
|
function o0(g) {
|
|
32598
|
-
return
|
|
32598
|
+
return z1(g, nn, Ur);
|
|
32599
32599
|
}
|
|
32600
32600
|
function i1(g, B) {
|
|
32601
32601
|
var P = g.__data__;
|
|
@@ -32615,8 +32615,8 @@ function fl() {
|
|
|
32615
32615
|
var qe = kt.call(g);
|
|
32616
32616
|
return le && (B ? g[_e] = P : delete g[_e]), qe;
|
|
32617
32617
|
}
|
|
32618
|
-
var Ur =
|
|
32619
|
-
return g == null ? [] : (g = Object(g), O(
|
|
32618
|
+
var Ur = Ne ? function(g) {
|
|
32619
|
+
return g == null ? [] : (g = Object(g), O(Ne(g), function(B) {
|
|
32620
32620
|
return lt.call(g, B);
|
|
32621
32621
|
}));
|
|
32622
32622
|
} : Kr, w1 = s1;
|
|
@@ -33462,14 +33462,14 @@ function vl(t) {
|
|
|
33462
33462
|
console[t](...n);
|
|
33463
33463
|
}
|
|
33464
33464
|
}
|
|
33465
|
-
function
|
|
33465
|
+
function F1(t) {
|
|
33466
33466
|
return D2.reduce((e, n) => (e[n] = vl.bind(console, n, t), e), {});
|
|
33467
33467
|
}
|
|
33468
|
-
|
|
33468
|
+
F1.level = (t) => {
|
|
33469
33469
|
F2 = t;
|
|
33470
33470
|
};
|
|
33471
|
-
vl.level =
|
|
33472
|
-
const d2 =
|
|
33471
|
+
vl.level = F1.level;
|
|
33472
|
+
const d2 = F1("quill:events"), Tfe = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
33473
33473
|
Tfe.forEach((t) => {
|
|
33474
33474
|
document.addEventListener(t, function() {
|
|
33475
33475
|
for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
|
|
@@ -33526,7 +33526,7 @@ $e(Le, "events", {
|
|
|
33526
33526
|
SILENT: "silent",
|
|
33527
33527
|
USER: "user"
|
|
33528
33528
|
});
|
|
33529
|
-
const h2 =
|
|
33529
|
+
const h2 = F1("quill:selection");
|
|
33530
33530
|
class h0 {
|
|
33531
33531
|
constructor(e) {
|
|
33532
33532
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
@@ -33772,10 +33772,10 @@ class Ofe {
|
|
|
33772
33772
|
m = !v.endsWith(`
|
|
33773
33773
|
`) && (n <= c || !!this.scroll.descendant(n1, c)[0]), this.scroll.insertAt(c, v);
|
|
33774
33774
|
const [x, C] = this.scroll.line(c);
|
|
33775
|
-
let b =
|
|
33775
|
+
let b = Z1({}, Jt(x));
|
|
33776
33776
|
if (x instanceof Tt) {
|
|
33777
33777
|
const [A] = x.descendant(Pt, C);
|
|
33778
|
-
A && (b =
|
|
33778
|
+
A && (b = Z1(b, Jt(A)));
|
|
33779
33779
|
}
|
|
33780
33780
|
h = r1.AttributeMap.diff(b, h) || {};
|
|
33781
33781
|
} else if (typeof d.insert == "object") {
|
|
@@ -33792,7 +33792,7 @@ class Ofe {
|
|
|
33792
33792
|
if (this.scroll.insertAt(c, v, d.insert[v]), x) {
|
|
33793
33793
|
const [C] = this.scroll.descendant(Pt, c);
|
|
33794
33794
|
if (C) {
|
|
33795
|
-
const b =
|
|
33795
|
+
const b = Z1({}, Jt(C));
|
|
33796
33796
|
h = r1.AttributeMap.diff(b, h) || {};
|
|
33797
33797
|
}
|
|
33798
33798
|
}
|
|
@@ -34172,11 +34172,11 @@ const Pfe = (t) => t.parentElement || t.getRootNode().host || null, Ife = (t) =>
|
|
|
34172
34172
|
break;
|
|
34173
34173
|
}
|
|
34174
34174
|
}), r;
|
|
34175
|
-
}, F0 =
|
|
34175
|
+
}, F0 = F1("quill"), nr = new q0();
|
|
34176
34176
|
d1.uiClass = "ql-ui";
|
|
34177
34177
|
const a1 = class a1 {
|
|
34178
34178
|
static debug(e) {
|
|
34179
|
-
e === !0 && (e = "log"),
|
|
34179
|
+
e === !0 && (e = "log"), F1.level(e);
|
|
34180
34180
|
}
|
|
34181
34181
|
static find(e) {
|
|
34182
34182
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
@@ -34486,7 +34486,7 @@ function qfe(t, e) {
|
|
|
34486
34486
|
container: h.toolbar
|
|
34487
34487
|
}
|
|
34488
34488
|
});
|
|
34489
|
-
const f =
|
|
34489
|
+
const f = Z1({}, m2(u), m2(d), h), m = {
|
|
34490
34490
|
...c,
|
|
34491
34491
|
...$s(a),
|
|
34492
34492
|
...$s(e)
|
|
@@ -34504,7 +34504,7 @@ function qfe(t, e) {
|
|
|
34504
34504
|
return b == null ? (F0.error(`Cannot load ${x} module. Are you sure you registered it?`), w) : {
|
|
34505
34505
|
...w,
|
|
34506
34506
|
// @ts-expect-error
|
|
34507
|
-
[x]:
|
|
34507
|
+
[x]: Z1({}, b.DEFAULTS || {}, C)
|
|
34508
34508
|
};
|
|
34509
34509
|
}, {}),
|
|
34510
34510
|
bounds: Bs(m.bounds)
|
|
@@ -34845,7 +34845,7 @@ const Al = new Kfe("font", "font-family", bl), _l = new p1("size", "ql-size", {
|
|
|
34845
34845
|
}), Bl = new t0("size", "font-size", {
|
|
34846
34846
|
scope: Oe.INLINE,
|
|
34847
34847
|
whitelist: ["10px", "18px", "32px"]
|
|
34848
|
-
}), Zfe =
|
|
34848
|
+
}), Zfe = F1("quill:keyboard"), Qfe = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
|
|
34849
34849
|
class Hr extends v1 {
|
|
34850
34850
|
static match(e, n) {
|
|
34851
34851
|
return ["altKey", "ctrlKey", "metaKey", "shiftKey"].some((r) => !!n[r] !== e[r] && n[r] !== null) ? !1 : n.key === e.key || n.key === e.which;
|
|
@@ -35394,7 +35394,7 @@ const hpe = [dpe, spe], fpe = (t) => {
|
|
|
35394
35394
|
t.documentElement && hpe.forEach((e) => {
|
|
35395
35395
|
e(t);
|
|
35396
35396
|
});
|
|
35397
|
-
}, ppe =
|
|
35397
|
+
}, ppe = F1("quill:clipboard"), mpe = [[Node.TEXT_NODE, Bpe], [Node.TEXT_NODE, Rs], ["br", kpe], [Node.ELEMENT_NODE, Rs], [Node.ELEMENT_NODE, xpe], [Node.ELEMENT_NODE, gpe], [Node.ELEMENT_NODE, Ape], ["li", bpe], ["ol, ul", Mpe], ["pre", Cpe], ["tr", _pe], ["b", g2("bold")], ["i", g2("italic")], ["strike", g2("strike")], ["style", ype]], vpe = [Gfe, kl].reduce((t, e) => (t[e.keyName] = e, t), {}), Os = [gl, go, wo, yl, Al, Bl].reduce((t, e) => (t[e.keyName] = e, t), {});
|
|
35398
35398
|
class $l extends v1 {
|
|
35399
35399
|
constructor(e, n) {
|
|
35400
35400
|
super(e, n), this.quill.root.addEventListener("copy", (r) => this.onCaptureCopy(r, !1)), this.quill.root.addEventListener("cut", (r) => this.onCaptureCopy(r, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], mpe.concat(this.options.matchers ?? []).forEach((r) => {
|
|
@@ -35570,13 +35570,13 @@ function En(t, e) {
|
|
|
35570
35570
|
}
|
|
35571
35571
|
return n.slice(-1 * e.length) === e;
|
|
35572
35572
|
}
|
|
35573
|
-
function
|
|
35573
|
+
function X1(t, e) {
|
|
35574
35574
|
if (!(t instanceof Element)) return !1;
|
|
35575
35575
|
const n = e.query(t);
|
|
35576
35576
|
return n && n.prototype instanceof Kt ? !1 : ["address", "article", "blockquote", "canvas", "dd", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "iframe", "li", "main", "nav", "ol", "output", "p", "pre", "section", "table", "td", "tr", "ul", "video"].includes(t.tagName.toLowerCase());
|
|
35577
35577
|
}
|
|
35578
35578
|
function wpe(t, e) {
|
|
35579
|
-
return t.previousElementSibling && t.nextElementSibling && !
|
|
35579
|
+
return t.previousElementSibling && t.nextElementSibling && !X1(t.previousElementSibling, e) && !X1(t.nextElementSibling, e);
|
|
35580
35580
|
}
|
|
35581
35581
|
const or = /* @__PURE__ */ new WeakMap();
|
|
35582
35582
|
function Sl(t) {
|
|
@@ -35649,13 +35649,13 @@ function Mpe(t, e, n) {
|
|
|
35649
35649
|
function Rs(t, e, n) {
|
|
35650
35650
|
if (!En(e, `
|
|
35651
35651
|
`)) {
|
|
35652
|
-
if (
|
|
35652
|
+
if (X1(t, n) && (t.childNodes.length > 0 || t instanceof HTMLParagraphElement))
|
|
35653
35653
|
return e.insert(`
|
|
35654
35654
|
`);
|
|
35655
35655
|
if (e.length() > 0 && t.nextSibling) {
|
|
35656
35656
|
let r = t.nextSibling;
|
|
35657
35657
|
for (; r != null; ) {
|
|
35658
|
-
if (
|
|
35658
|
+
if (X1(r, n))
|
|
35659
35659
|
return e.insert(`
|
|
35660
35660
|
`);
|
|
35661
35661
|
const l = n.query(r);
|
|
@@ -35695,7 +35695,7 @@ function Bpe(t, e, n) {
|
|
|
35695
35695
|
if (r.trim().length === 0 && r.includes(`
|
|
35696
35696
|
`) && !wpe(t, n))
|
|
35697
35697
|
return e;
|
|
35698
|
-
r = r.replace(/[^\S\u00a0]/g, " "), r = r.replace(/ {2,}/g, " "), (t.previousSibling == null && t.parentElement != null &&
|
|
35698
|
+
r = r.replace(/[^\S\u00a0]/g, " "), r = r.replace(/ {2,}/g, " "), (t.previousSibling == null && t.parentElement != null && X1(t.parentElement, n) || t.previousSibling instanceof Element && X1(t.previousSibling, n)) && (r = r.replace(/^ /, "")), (t.nextSibling == null && t.parentElement != null && X1(t.parentElement, n) || t.nextSibling instanceof Element && X1(t.nextSibling, n)) && (r = r.replace(/ $/, "")), r = r.replaceAll(" ", " ");
|
|
35699
35699
|
}
|
|
35700
35700
|
return e.insert(r);
|
|
35701
35701
|
}
|
|
@@ -36057,7 +36057,7 @@ $e(bn, "blotName", "bold"), $e(bn, "tagName", ["STRONG", "B"]);
|
|
|
36057
36057
|
class G2 extends bn {
|
|
36058
36058
|
}
|
|
36059
36059
|
$e(G2, "blotName", "italic"), $e(G2, "tagName", ["EM", "I"]);
|
|
36060
|
-
class
|
|
36060
|
+
class K1 extends A1 {
|
|
36061
36061
|
static create(e) {
|
|
36062
36062
|
const n = super.create(e);
|
|
36063
36063
|
return n.setAttribute("href", this.sanitize(e)), n.setAttribute("rel", "noopener noreferrer"), n.setAttribute("target", "_blank"), n;
|
|
@@ -36072,7 +36072,7 @@ class X1 extends A1 {
|
|
|
36072
36072
|
e !== this.statics.blotName || !n ? super.format(e, n) : this.domNode.setAttribute("href", this.constructor.sanitize(n));
|
|
36073
36073
|
}
|
|
36074
36074
|
}
|
|
36075
|
-
$e(
|
|
36075
|
+
$e(K1, "blotName", "link"), $e(K1, "tagName", "A"), $e(K1, "SANITIZED_URL", "about:blank"), $e(K1, "PROTOCOL_WHITELIST", ["http", "https", "mailto", "tel", "sms"]);
|
|
36076
36076
|
function Tl(t, e) {
|
|
36077
36077
|
const n = document.createElement("a");
|
|
36078
36078
|
n.href = t;
|
|
@@ -36149,7 +36149,7 @@ class hr extends n1 {
|
|
|
36149
36149
|
return Ps.reduce((n, r) => (e.hasAttribute(r) && (n[r] = e.getAttribute(r)), n), {});
|
|
36150
36150
|
}
|
|
36151
36151
|
static sanitize(e) {
|
|
36152
|
-
return
|
|
36152
|
+
return K1.sanitize(e);
|
|
36153
36153
|
}
|
|
36154
36154
|
static value(e) {
|
|
36155
36155
|
return e.getAttribute("src");
|
|
@@ -36577,7 +36577,7 @@ class Ipe extends v1 {
|
|
|
36577
36577
|
});
|
|
36578
36578
|
}
|
|
36579
36579
|
}
|
|
36580
|
-
const Is =
|
|
36580
|
+
const Is = F1("quill:toolbar");
|
|
36581
36581
|
class Mo extends v1 {
|
|
36582
36582
|
constructor(e, n) {
|
|
36583
36583
|
var r, l;
|
|
@@ -36967,7 +36967,7 @@ class Rn extends W0 {
|
|
|
36967
36967
|
this.quill.on(Le.events.EDITOR_CHANGE, r);
|
|
36968
36968
|
}
|
|
36969
36969
|
}
|
|
36970
|
-
Rn.DEFAULTS =
|
|
36970
|
+
Rn.DEFAULTS = Z1({}, W0.DEFAULTS, {
|
|
36971
36971
|
modules: {
|
|
36972
36972
|
toolbar: {
|
|
36973
36973
|
handlers: {
|
|
@@ -37110,7 +37110,7 @@ class Pl extends Rn {
|
|
|
37110
37110
|
this.tooltip = new Vl(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), Mn), this.buildPickers(e.container.querySelectorAll("select"), Mn));
|
|
37111
37111
|
}
|
|
37112
37112
|
}
|
|
37113
|
-
Pl.DEFAULTS =
|
|
37113
|
+
Pl.DEFAULTS = Z1({}, Rn.DEFAULTS, {
|
|
37114
37114
|
modules: {
|
|
37115
37115
|
toolbar: {
|
|
37116
37116
|
handlers: {
|
|
@@ -37145,10 +37145,10 @@ class Il extends Nl {
|
|
|
37145
37145
|
}), this.quill.on(Le.events.SELECTION_CHANGE, (n, r, l) => {
|
|
37146
37146
|
if (n != null) {
|
|
37147
37147
|
if (n.length === 0 && l === Le.sources.USER) {
|
|
37148
|
-
const [u, c] = this.quill.scroll.descendant(
|
|
37148
|
+
const [u, c] = this.quill.scroll.descendant(K1, n.index);
|
|
37149
37149
|
if (u != null) {
|
|
37150
37150
|
this.linkRange = new h0(n.index - c, u.length());
|
|
37151
|
-
const d =
|
|
37151
|
+
const d = K1.formats(u.domNode);
|
|
37152
37152
|
this.preview.textContent = d, this.preview.setAttribute("href", d), this.show();
|
|
37153
37153
|
const a = this.quill.getBounds(this.linkRange);
|
|
37154
37154
|
a != null && this.position(a);
|
|
@@ -37178,7 +37178,7 @@ class Dl extends Rn {
|
|
|
37178
37178
|
}));
|
|
37179
37179
|
}
|
|
37180
37180
|
}
|
|
37181
|
-
Dl.DEFAULTS =
|
|
37181
|
+
Dl.DEFAULTS = Z1({}, Rn.DEFAULTS, {
|
|
37182
37182
|
modules: {
|
|
37183
37183
|
toolbar: {
|
|
37184
37184
|
handlers: {
|
|
@@ -37229,7 +37229,7 @@ ue.register({
|
|
|
37229
37229
|
"formats/bold": bn,
|
|
37230
37230
|
"formats/code": xo,
|
|
37231
37231
|
"formats/italic": G2,
|
|
37232
|
-
"formats/link":
|
|
37232
|
+
"formats/link": K1,
|
|
37233
37233
|
"formats/script": W2,
|
|
37234
37234
|
"formats/strike": X2,
|
|
37235
37235
|
"formats/underline": K2,
|
|
@@ -37278,9 +37278,9 @@ const L9e = {
|
|
|
37278
37278
|
},
|
|
37279
37279
|
emits: ["update:modelValue"],
|
|
37280
37280
|
setup(t, { emit: e }) {
|
|
37281
|
-
const n =
|
|
37281
|
+
const n = Ce(null);
|
|
37282
37282
|
let r = null;
|
|
37283
|
-
return
|
|
37283
|
+
return I1(() => {
|
|
37284
37284
|
r = new ue(n.value, t.options), r.root.innerHTML = t.modelValue, r.on("text-change", () => {
|
|
37285
37285
|
e("update:modelValue", r.root.innerHTML);
|
|
37286
37286
|
});
|
|
@@ -37311,7 +37311,7 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37311
37311
|
},
|
|
37312
37312
|
emits: ["update"],
|
|
37313
37313
|
setup(t, { emit: e }) {
|
|
37314
|
-
const n = Gt("VFileUpload", J1), l =
|
|
37314
|
+
const n = Gt("VFileUpload", J1), l = Ce(t.data.component), u = Te(() => {
|
|
37315
37315
|
var a;
|
|
37316
37316
|
return ((a = l.value.paragraph) == null ? void 0 : a.replace(/<[^>]*>/g, " ").trim()).split(/\s+/).filter((h) => h.length > 0).length;
|
|
37317
37317
|
});
|
|
@@ -37389,7 +37389,7 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37389
37389
|
supporting_text: "Recommended dimension: 1200*1060px"
|
|
37390
37390
|
}, {
|
|
37391
37391
|
default: Xe(() => [
|
|
37392
|
-
me(
|
|
37392
|
+
me(ye(n), {
|
|
37393
37393
|
name: "image",
|
|
37394
37394
|
height: "h-[395px]",
|
|
37395
37395
|
modelValue: l.value.featured_image,
|
|
@@ -37414,7 +37414,7 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37414
37414
|
},
|
|
37415
37415
|
emits: ["update"],
|
|
37416
37416
|
setup(t, { emit: e }) {
|
|
37417
|
-
const n = Gt("VFileUpload", J1), l =
|
|
37417
|
+
const n = Gt("VFileUpload", J1), l = Ce(t.data.component), u = Te(() => {
|
|
37418
37418
|
var a;
|
|
37419
37419
|
return ((a = l.value.caption) == null ? void 0 : a.replace(/<[^>]*>/g, " ").trim()).split(/\s+/).filter((h) => h.length > 0).length;
|
|
37420
37420
|
});
|
|
@@ -37427,7 +37427,7 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37427
37427
|
supporting_text: "Recommended dimension: 1200*1060px"
|
|
37428
37428
|
}, {
|
|
37429
37429
|
default: Xe(() => [
|
|
37430
|
-
me(
|
|
37430
|
+
me(ye(n), {
|
|
37431
37431
|
name: "image",
|
|
37432
37432
|
height: "h-[395px]",
|
|
37433
37433
|
modelValue: l.value.featured_image,
|
|
@@ -37465,7 +37465,7 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37465
37465
|
},
|
|
37466
37466
|
emits: ["update"],
|
|
37467
37467
|
setup(t, { emit: e }) {
|
|
37468
|
-
const r =
|
|
37468
|
+
const r = Ce(t.data.component), l = Ce(null);
|
|
37469
37469
|
return (u, c) => (s(!0), i(ze, null, Qe(r.value.data, (d, a) => (s(), i("div", {
|
|
37470
37470
|
class: "flex flex-col rounded-xl",
|
|
37471
37471
|
key: a,
|
|
@@ -37484,7 +37484,7 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37484
37484
|
}, lme = { class: "flex flex-col gap-1 pt-6 text-gray-600" }, ame = ["value"], cme = {
|
|
37485
37485
|
key: 1,
|
|
37486
37486
|
class: "rounded-xl bg-gray-50 px-6 py-5"
|
|
37487
|
-
}, ume = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6" },
|
|
37487
|
+
}, ume = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6" }, Bke = {
|
|
37488
37488
|
__name: "PageBuilder",
|
|
37489
37489
|
props: {
|
|
37490
37490
|
modelValue: {
|
|
@@ -37503,9 +37503,9 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37503
37503
|
emits: ["save", "close"],
|
|
37504
37504
|
setup(t, { emit: e }) {
|
|
37505
37505
|
var w;
|
|
37506
|
-
const n = e, r = t, l =
|
|
37507
|
-
let c =
|
|
37508
|
-
const d =
|
|
37506
|
+
const n = e, r = t, l = Ce(JSON.parse(window.localStorage.getItem("pageBuilderOpenStates"))), u = Ce(((w = r.modelValue) == null ? void 0 : w.sections) ?? []);
|
|
37507
|
+
let c = Ce(null);
|
|
37508
|
+
const d = Ce({
|
|
37509
37509
|
sliders: We(Wn),
|
|
37510
37510
|
vertical_tabs: We(Wn),
|
|
37511
37511
|
links: We(Xn),
|
|
@@ -37557,10 +37557,10 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37557
37557
|
o("span", Q9e, be(A.title), 1),
|
|
37558
37558
|
o("div", Y9e, [
|
|
37559
37559
|
o("div", J9e, [
|
|
37560
|
-
l.value[$] ? (s(), Ze(
|
|
37560
|
+
l.value[$] ? (s(), Ze(ye(ua), {
|
|
37561
37561
|
key: 1,
|
|
37562
37562
|
class: "h-5 w-5"
|
|
37563
|
-
})) : (s(), Ze(
|
|
37563
|
+
})) : (s(), Ze(ye(k2), {
|
|
37564
37564
|
key: 0,
|
|
37565
37565
|
class: "h-5 w-5"
|
|
37566
37566
|
}))
|
|
@@ -37572,14 +37572,14 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37572
37572
|
var I, X;
|
|
37573
37573
|
return s(), i("div", {
|
|
37574
37574
|
onClick: (W) => h($, R, V),
|
|
37575
|
-
class:
|
|
37575
|
+
class: Re(["flex cursor-pointer items-center justify-between rounded-lg py-1.5 pl-6 pr-2 hover:bg-gray-100", { "bg-gray-200 hover:bg-gray-200": ((I = ye(c)) == null ? void 0 : I.sectionIndex) === $ && ((X = ye(c)) == null ? void 0 : X.componentIndex) === V }])
|
|
37576
37576
|
}, [
|
|
37577
37577
|
o("div", nme, [
|
|
37578
37578
|
x[1] || (x[1] = o("div", { class: "text-xs text-gray-600" }, "Sub-module", -1)),
|
|
37579
37579
|
o("div", rme, be(R.name), 1)
|
|
37580
37580
|
]),
|
|
37581
37581
|
o("div", ome, [
|
|
37582
|
-
me(
|
|
37582
|
+
me(ye(k2), { class: "h-5 w-5" })
|
|
37583
37583
|
])
|
|
37584
37584
|
], 10, tme);
|
|
37585
37585
|
}), 256))
|
|
@@ -37587,7 +37587,7 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37587
37587
|
]))), 256))
|
|
37588
37588
|
]),
|
|
37589
37589
|
o("div", sme, [
|
|
37590
|
-
|
|
37590
|
+
ye(c) ? de("", !0) : (s(), i("div", ime, [
|
|
37591
37591
|
x[3] || (x[3] = o("div", { class: "text-lg pb-6 font-semibold text-gray-900 border-b border-gray-200" }, "Settings", -1)),
|
|
37592
37592
|
o("div", lme, [
|
|
37593
37593
|
me(pt, {
|
|
@@ -37611,13 +37611,13 @@ const An = /* @__PURE__ */ K0(L9e, [["render", H9e]]), O9e = { class: "rounded-x
|
|
|
37611
37611
|
x[2] || (x[2] = o("p", null, "This sets the section name shown in the breadcrumb (e.g. Home / Who We Are / Page). Leave blank to skip the section.", -1))
|
|
37612
37612
|
])
|
|
37613
37613
|
])),
|
|
37614
|
-
|
|
37614
|
+
ye(c) ? de("", !0) : (s(), i("div", cme, [
|
|
37615
37615
|
me(fa)
|
|
37616
37616
|
])),
|
|
37617
37617
|
(s(), Ze(Y1(p.value), {
|
|
37618
37618
|
class: "min-h-[90vh]",
|
|
37619
|
-
key: `${(C =
|
|
37620
|
-
data:
|
|
37619
|
+
key: `${(C = ye(c)) == null ? void 0 : C.sectionIndex} - ${(b = ye(c)) == null ? void 0 : b.componentIndex} ${Math.random().toString(36).substring(2, 10)}`,
|
|
37620
|
+
data: ye(c),
|
|
37621
37621
|
sites: t.sites,
|
|
37622
37622
|
onUpdate: m
|
|
37623
37623
|
}, null, 40, ["data", "sites"]))
|
|
@@ -37871,7 +37871,7 @@ const bme = p0({
|
|
|
37871
37871
|
});
|
|
37872
37872
|
function Mme(t) {
|
|
37873
37873
|
let e = !1;
|
|
37874
|
-
const n = { x: 0, y: 0 }, r = un({ x: 0, y: 0 }), l =
|
|
37874
|
+
const n = { x: 0, y: 0 }, r = un({ x: 0, y: 0 }), l = Ce(!1), { isSliding: u } = t, c = Te(() => typeof u == "boolean" ? u : u.value), d = (f) => {
|
|
37875
37875
|
var m;
|
|
37876
37876
|
const p = f.target.tagName;
|
|
37877
37877
|
if (["INPUT", "TEXTAREA", "SELECT"].includes(p) || c.value || (e = f.type === "touchstart", e && f.touches.length > 1))
|
|
@@ -37905,7 +37905,7 @@ function Mme(t) {
|
|
|
37905
37905
|
};
|
|
37906
37906
|
}
|
|
37907
37907
|
function Ame() {
|
|
37908
|
-
const t =
|
|
37908
|
+
const t = Ce(!1);
|
|
37909
37909
|
return {
|
|
37910
37910
|
isHover: t,
|
|
37911
37911
|
handleMouseEnter: () => {
|
|
@@ -38074,9 +38074,9 @@ const Bme = {
|
|
|
38074
38074
|
],
|
|
38075
38075
|
setup(t, { slots: e, emit: n, expose: r }) {
|
|
38076
38076
|
var l;
|
|
38077
|
-
const u = pme(n), c = u.getSlides(), d = Te(() => c.length), a =
|
|
38077
|
+
const u = pme(n), c = u.getSlides(), d = Te(() => c.length), a = Ce(null), h = Ce(null), f = Ce(0), m = Te(() => Object.assign(Object.assign(Object.assign({}, xt), wme(t, ["breakpoints", "modelValue"])), { i18n: Object.assign(Object.assign({}, xt.i18n), t.i18n) })), p = x2(Object.assign({}, m.value)), w = Ce((l = t.modelValue) !== null && l !== void 0 ? l : 0), v = Ce(w.value);
|
|
38078
38078
|
P0(w, (ge) => v.value = ge);
|
|
38079
|
-
const x =
|
|
38079
|
+
const x = Ce(0), C = Te(() => Math.ceil((d.value - 1) / 2)), b = Te(() => d.value - 1), A = Te(() => 0);
|
|
38080
38080
|
let $ = null, R = null, V = null;
|
|
38081
38081
|
const I = Te(() => f.value + p.gap), X = Te(() => {
|
|
38082
38082
|
const ge = p.dir || "ltr";
|
|
@@ -38086,8 +38086,8 @@ const Bme = {
|
|
|
38086
38086
|
var ge;
|
|
38087
38087
|
if (!we.value)
|
|
38088
38088
|
return;
|
|
38089
|
-
const _e = (m.value.breakpointMode === "carousel" ? (ge = a.value) === null || ge === void 0 ? void 0 : ge.getBoundingClientRect().width : typeof window < "u" ? window.innerWidth : 0) || 0,
|
|
38090
|
-
|
|
38089
|
+
const _e = (m.value.breakpointMode === "carousel" ? (ge = a.value) === null || ge === void 0 ? void 0 : ge.getBoundingClientRect().width : typeof window < "u" ? window.innerWidth : 0) || 0, Ne = Object.keys(t.breakpoints || {}).map((Pe) => Number(Pe)).sort((Pe, tt) => +tt - +Pe), Ie = {};
|
|
38090
|
+
Ne.some((Pe) => _e >= Pe ? (Object.assign(Ie, t.breakpoints[Pe]), Ie.i18n && Object.assign(Ie.i18n, m.value.i18n, t.breakpoints[Pe].i18n), !0) : !1), Object.assign(p, m.value, Ie), K.value || (p.itemsToShow = H1({
|
|
38091
38091
|
val: Number(p.itemsToShow),
|
|
38092
38092
|
max: t.clamp ? d.value : 1 / 0,
|
|
38093
38093
|
min: 1
|
|
@@ -38095,24 +38095,24 @@ const Bme = {
|
|
|
38095
38095
|
}
|
|
38096
38096
|
const j = Y2(() => {
|
|
38097
38097
|
N(), ne(), te();
|
|
38098
|
-
}), q = x2(/* @__PURE__ */ new Set()), F =
|
|
38098
|
+
}), q = x2(/* @__PURE__ */ new Set()), F = Ce([]);
|
|
38099
38099
|
function U({ widthMultiplier: ge, heightMultiplier: _e }) {
|
|
38100
|
-
F.value = c.map((
|
|
38100
|
+
F.value = c.map((Ne) => {
|
|
38101
38101
|
var Ie;
|
|
38102
|
-
const Pe = (Ie =
|
|
38102
|
+
const Pe = (Ie = Ne.exposed) === null || Ie === void 0 ? void 0 : Ie.getBoundingRect();
|
|
38103
38103
|
return {
|
|
38104
38104
|
width: Pe.width * ge,
|
|
38105
38105
|
height: Pe.height * _e
|
|
38106
38106
|
};
|
|
38107
38107
|
});
|
|
38108
38108
|
}
|
|
38109
|
-
const Q =
|
|
38109
|
+
const Q = Ce({
|
|
38110
38110
|
width: 0,
|
|
38111
38111
|
height: 0
|
|
38112
38112
|
});
|
|
38113
38113
|
function G({ widthMultiplier: ge, heightMultiplier: _e }) {
|
|
38114
|
-
var
|
|
38115
|
-
const Ie = ((
|
|
38114
|
+
var Ne;
|
|
38115
|
+
const Ie = ((Ne = h.value) === null || Ne === void 0 ? void 0 : Ne.getBoundingClientRect()) || { width: 0, height: 0 };
|
|
38116
38116
|
Q.value = {
|
|
38117
38117
|
width: Ie.width * ge,
|
|
38118
38118
|
height: Ie.height * _e
|
|
@@ -38125,8 +38125,8 @@ const Bme = {
|
|
|
38125
38125
|
if (G(ge), U(ge), K.value)
|
|
38126
38126
|
f.value = mme(F.value.map((_e) => _e[M.value]));
|
|
38127
38127
|
else {
|
|
38128
|
-
const _e = Number(p.itemsToShow),
|
|
38129
|
-
f.value = (Q.value[M.value] -
|
|
38128
|
+
const _e = Number(p.itemsToShow), Ne = (_e - 1) * p.gap;
|
|
38129
|
+
f.value = (Q.value[M.value] - Ne) / _e;
|
|
38130
38130
|
}
|
|
38131
38131
|
}
|
|
38132
38132
|
function ne() {
|
|
@@ -38144,20 +38144,20 @@ const Bme = {
|
|
|
38144
38144
|
const Me = (ge) => {
|
|
38145
38145
|
const _e = ge.target;
|
|
38146
38146
|
if (!(!(_e != null && _e.contains(a.value)) || Array.isArray(xe.value) && xe.value.includes(ge.animationName)) && (q.add(_e), !ke)) {
|
|
38147
|
-
const
|
|
38147
|
+
const Ne = () => {
|
|
38148
38148
|
ke = requestAnimationFrame(() => {
|
|
38149
|
-
te(),
|
|
38149
|
+
te(), Ne();
|
|
38150
38150
|
});
|
|
38151
38151
|
};
|
|
38152
|
-
|
|
38152
|
+
Ne();
|
|
38153
38153
|
}
|
|
38154
38154
|
}, Be = (ge) => {
|
|
38155
38155
|
const _e = ge.target;
|
|
38156
38156
|
_e && q.delete(_e), ke && q.size === 0 && (cancelAnimationFrame(ke), te());
|
|
38157
|
-
}, we =
|
|
38157
|
+
}, we = Ce(!1);
|
|
38158
38158
|
typeof document < "u" && Qr(() => {
|
|
38159
38159
|
we.value && xe.value !== !1 ? (document.addEventListener("animationstart", Me), document.addEventListener("animationend", Be)) : (document.removeEventListener("animationstart", Me), document.removeEventListener("animationend", Be));
|
|
38160
|
-
}),
|
|
38160
|
+
}), I1(() => {
|
|
38161
38161
|
we.value = !0, N(), k(), a.value && (V = new ResizeObserver(j), V.observe(a.value)), n("init");
|
|
38162
38162
|
}), si(() => {
|
|
38163
38163
|
we.value = !1, u.cleanup(), R && clearTimeout(R), ke && cancelAnimationFrame(ke), $ && clearInterval($), V && (V.disconnect(), V = null), typeof document < "u" && _(), a.value && (a.value.removeEventListener("transitionend", te), a.value.removeEventListener("animationiteration", te));
|
|
@@ -38190,10 +38190,10 @@ const Bme = {
|
|
|
38190
38190
|
function E() {
|
|
38191
38191
|
$ && (clearInterval($), $ = null);
|
|
38192
38192
|
}
|
|
38193
|
-
const O =
|
|
38193
|
+
const O = Ce(!1), D = ({ deltaX: ge, deltaY: _e, isTouch: Ne }) => {
|
|
38194
38194
|
var Ie, Pe, tt, at;
|
|
38195
38195
|
n("drag", { deltaX: ge, deltaY: _e });
|
|
38196
|
-
const mt =
|
|
38196
|
+
const mt = Ne ? typeof p.touchDrag == "object" && (Pe = (Ie = p.touchDrag) === null || Ie === void 0 ? void 0 : Ie.threshold) !== null && Pe !== void 0 ? Pe : sr : typeof p.mouseDrag == "object" && (at = (tt = p.mouseDrag) === null || tt === void 0 ? void 0 : tt.threshold) !== null && at !== void 0 ? at : sr, _t = gme({
|
|
38197
38197
|
isVertical: se.value,
|
|
38198
38198
|
isReversed: W.value,
|
|
38199
38199
|
dragged: { x: ge, y: _e },
|
|
@@ -38209,8 +38209,8 @@ const Bme = {
|
|
|
38209
38209
|
isSliding: O,
|
|
38210
38210
|
onDrag: D,
|
|
38211
38211
|
onDragEnd: z
|
|
38212
|
-
}), ee = ({ deltaX: ge, deltaY: _e, isScrollingForward:
|
|
38213
|
-
n("wheel", { deltaX: ge, deltaY: _e }),
|
|
38212
|
+
}), ee = ({ deltaX: ge, deltaY: _e, isScrollingForward: Ne }) => {
|
|
38213
|
+
n("wheel", { deltaX: ge, deltaY: _e }), Ne ? W.value ? ve() : ae() : W.value ? ae() : ve();
|
|
38214
38214
|
}, { handleScroll: re } = _me({
|
|
38215
38215
|
isVertical: se,
|
|
38216
38216
|
isSliding: O,
|
|
@@ -38226,13 +38226,13 @@ const Bme = {
|
|
|
38226
38226
|
function Se(ge, _e = !1) {
|
|
38227
38227
|
if (!_e && O.value)
|
|
38228
38228
|
return;
|
|
38229
|
-
let
|
|
38229
|
+
let Ne = ge, Ie = ge;
|
|
38230
38230
|
x.value = w.value, p.wrapAround ? Ie = Wl({
|
|
38231
|
-
val:
|
|
38231
|
+
val: Ne,
|
|
38232
38232
|
max: b.value,
|
|
38233
38233
|
min: A.value
|
|
38234
|
-
}) :
|
|
38235
|
-
val:
|
|
38234
|
+
}) : Ne = H1({
|
|
38235
|
+
val: Ne,
|
|
38236
38236
|
max: b.value,
|
|
38237
38237
|
min: A.value
|
|
38238
38238
|
}), n("slide-start", {
|
|
@@ -38240,8 +38240,8 @@ const Bme = {
|
|
|
38240
38240
|
currentSlideIndex: w.value,
|
|
38241
38241
|
prevSlideIndex: x.value,
|
|
38242
38242
|
slidesCount: d.value
|
|
38243
|
-
}), E(), O.value = !0, w.value =
|
|
38244
|
-
p.wrapAround && Ie !==
|
|
38243
|
+
}), E(), O.value = !0, w.value = Ne, Ie !== Ne && it.pause(), n("update:modelValue", Ie), R = setTimeout(() => {
|
|
38244
|
+
p.wrapAround && Ie !== Ne && (it.resume(), w.value = Ie, n("loop", {
|
|
38245
38245
|
currentSlideIndex: w.value,
|
|
38246
38246
|
slidingToIndex: ge
|
|
38247
38247
|
})), n("slide-end", {
|
|
@@ -38264,9 +38264,9 @@ const Bme = {
|
|
|
38264
38264
|
return { before: 0, after: 0 };
|
|
38265
38265
|
if (K.value)
|
|
38266
38266
|
return { before: c.length, after: c.length };
|
|
38267
|
-
const ge = Number(p.itemsToShow), _e = Math.ceil(ge + (p.itemsToScroll - 1)),
|
|
38267
|
+
const ge = Number(p.itemsToShow), _e = Math.ceil(ge + (p.itemsToScroll - 1)), Ne = _e - v.value, Ie = _e - (d.value - (v.value + 1));
|
|
38268
38268
|
return {
|
|
38269
|
-
before: Math.max(0,
|
|
38269
|
+
before: Math.max(0, Ne),
|
|
38270
38270
|
after: Math.max(0, Ie)
|
|
38271
38271
|
};
|
|
38272
38272
|
}), Fe = Te(() => Je.value.before ? K.value ? F.value.slice(-1 * Je.value.before).reduce((ge, _e) => ge + _e[M.value] + p.gap, 0) * -1 : Je.value.before * I.value * -1 : 0), et = Te(() => {
|
|
@@ -38286,8 +38286,8 @@ const Bme = {
|
|
|
38286
38286
|
}), wt = Te(() => {
|
|
38287
38287
|
let ge = 0;
|
|
38288
38288
|
if (K.value) {
|
|
38289
|
-
if (w.value < 0 ? ge = F.value.slice(w.value).reduce((_e,
|
|
38290
|
-
const _e = F.value.reduce((
|
|
38289
|
+
if (w.value < 0 ? ge = F.value.slice(w.value).reduce((_e, Ne) => _e + Ne[M.value] + p.gap, 0) * -1 : ge = F.value.slice(0, w.value).reduce((_e, Ne) => _e + Ne[M.value] + p.gap, 0), ge -= et.value, !p.wrapAround) {
|
|
38290
|
+
const _e = F.value.reduce((Ne, Ie) => Ne + Ie[M.value] + p.gap, 0) - Q.value[M.value] - p.gap;
|
|
38291
38291
|
ge = H1({
|
|
38292
38292
|
val: ge,
|
|
38293
38293
|
max: _e,
|
|
@@ -38323,7 +38323,7 @@ const Bme = {
|
|
|
38323
38323
|
}))
|
|
38324
38324
|
};
|
|
38325
38325
|
}
|
|
38326
|
-
let
|
|
38326
|
+
let Ne = 0;
|
|
38327
38327
|
{
|
|
38328
38328
|
let Pe = 0, tt = 0 - Je.value.before;
|
|
38329
38329
|
const at = Math.abs(wt.value + Fe.value);
|
|
@@ -38331,11 +38331,11 @@ const Bme = {
|
|
|
38331
38331
|
const mt = (tt % c.length + c.length) % c.length;
|
|
38332
38332
|
Pe += ((ge = F.value[mt]) === null || ge === void 0 ? void 0 : ge[M.value]) + p.gap, tt++;
|
|
38333
38333
|
}
|
|
38334
|
-
|
|
38334
|
+
Ne = tt - 1;
|
|
38335
38335
|
}
|
|
38336
38336
|
let Ie = 0;
|
|
38337
38337
|
{
|
|
38338
|
-
let Pe =
|
|
38338
|
+
let Pe = Ne, tt = 0;
|
|
38339
38339
|
for (Pe < 0 ? tt = F.value.slice(0, Pe).reduce((at, mt) => at + mt[M.value] + p.gap, 0) - Math.abs(wt.value + Fe.value) : tt = F.value.slice(0, Pe).reduce((at, mt) => at + mt[M.value] + p.gap, 0) - Math.abs(wt.value); tt < Q.value[M.value]; ) {
|
|
38340
38340
|
const at = (Pe % c.length + c.length) % c.length;
|
|
38341
38341
|
tt += ((_e = F.value[at]) === null || _e === void 0 ? void 0 : _e[M.value]) + p.gap, Pe++;
|
|
@@ -38343,25 +38343,25 @@ const Bme = {
|
|
|
38343
38343
|
Ie = Pe - 1;
|
|
38344
38344
|
}
|
|
38345
38345
|
return {
|
|
38346
|
-
min: Math.floor(
|
|
38346
|
+
min: Math.floor(Ne),
|
|
38347
38347
|
max: Math.ceil(Ie)
|
|
38348
38348
|
};
|
|
38349
38349
|
}), Zt = Te(() => {
|
|
38350
38350
|
if (p.slideEffect === "fade")
|
|
38351
38351
|
return;
|
|
38352
38352
|
const ge = se.value ? "Y" : "X", _e = se.value ? Z.y : Z.x;
|
|
38353
|
-
let
|
|
38353
|
+
let Ne = wt.value + _e;
|
|
38354
38354
|
if (!p.wrapAround && p.preventExcessiveDragging) {
|
|
38355
38355
|
let Ie = 0;
|
|
38356
38356
|
K.value ? Ie = F.value.reduce((at, mt) => at + mt[M.value], 0) : Ie = (d.value - Number(p.itemsToShow)) * I.value;
|
|
38357
38357
|
const Pe = W.value ? 0 : -1 * Ie, tt = W.value ? Ie : 0;
|
|
38358
|
-
|
|
38359
|
-
val:
|
|
38358
|
+
Ne = H1({
|
|
38359
|
+
val: Ne,
|
|
38360
38360
|
min: Pe,
|
|
38361
38361
|
max: tt
|
|
38362
38362
|
});
|
|
38363
38363
|
}
|
|
38364
|
-
return `translate${ge}(${
|
|
38364
|
+
return `translate${ge}(${Ne}px)`;
|
|
38365
38365
|
}), Et = Te(() => ({
|
|
38366
38366
|
"--vc-carousel-height": ir(p.height),
|
|
38367
38367
|
"--vc-cloned-offset": ir(Fe.value),
|
|
@@ -38405,7 +38405,7 @@ const Bme = {
|
|
|
38405
38405
|
updateSlidesData: ne
|
|
38406
38406
|
}, Jl(Ue)))), () => {
|
|
38407
38407
|
var ge;
|
|
38408
|
-
const _e = e.default || e.slides,
|
|
38408
|
+
const _e = e.default || e.slides, Ne = (_e == null ? void 0 : _e(lt)) || [], { before: Ie, after: Pe } = Je.value, tt = Gs({
|
|
38409
38409
|
slides: c,
|
|
38410
38410
|
position: "before",
|
|
38411
38411
|
toShow: Ie
|
|
@@ -38413,7 +38413,7 @@ const Bme = {
|
|
|
38413
38413
|
slides: c,
|
|
38414
38414
|
position: "after",
|
|
38415
38415
|
toShow: Pe
|
|
38416
|
-
}), mt = [...tt, ...
|
|
38416
|
+
}), mt = [...tt, ...Ne, ...at];
|
|
38417
38417
|
if (!p.enabled || !mt.length)
|
|
38418
38418
|
return jt("section", {
|
|
38419
38419
|
ref: a,
|
|
@@ -38603,7 +38603,7 @@ const Lme = p0({
|
|
|
38603
38603
|
const l = Gt(f0);
|
|
38604
38604
|
if (ii(f0, void 0), !l)
|
|
38605
38605
|
return () => "";
|
|
38606
|
-
const u =
|
|
38606
|
+
const u = Ce(t.index), c = (v) => {
|
|
38607
38607
|
u.value = v;
|
|
38608
38608
|
}, d = ta(), a = () => {
|
|
38609
38609
|
const v = d.vnode.el;
|
|
@@ -38622,7 +38622,7 @@ const Lme = p0({
|
|
|
38622
38622
|
});
|
|
38623
38623
|
return l.slideRegistry.registerSlide(d, t.index), na(() => {
|
|
38624
38624
|
l.slideRegistry.unregisterSlide(d);
|
|
38625
|
-
}), t.isClone && (
|
|
38625
|
+
}), t.isClone && (I1(() => {
|
|
38626
38626
|
Ws(d.vnode);
|
|
38627
38627
|
}), ra(() => {
|
|
38628
38628
|
Ws(d.vnode);
|
|
@@ -38668,9 +38668,9 @@ const Lme = p0({
|
|
|
38668
38668
|
}
|
|
38669
38669
|
},
|
|
38670
38670
|
setup(t) {
|
|
38671
|
-
const e = t, n =
|
|
38671
|
+
const e = t, n = Ce(0), l = Ce(e.component).value.data.filter((u) => u.public);
|
|
38672
38672
|
return (u, c) => (s(), i("div", Tme, [
|
|
38673
|
-
me(
|
|
38673
|
+
me(ye($me), {
|
|
38674
38674
|
"items-to-show": 1,
|
|
38675
38675
|
modelValue: n.value,
|
|
38676
38676
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d),
|
|
@@ -38679,14 +38679,14 @@ const Lme = p0({
|
|
|
38679
38679
|
"wrap-around": !0
|
|
38680
38680
|
}, {
|
|
38681
38681
|
default: Xe(() => [
|
|
38682
|
-
(s(!0), i(ze, null, Qe(
|
|
38682
|
+
(s(!0), i(ze, null, Qe(ye(l), (d, a) => (s(), Ze(ye(Lme), { key: a }, {
|
|
38683
38683
|
default: Xe(() => [
|
|
38684
38684
|
o("div", Eme, [
|
|
38685
38685
|
o("div", Hme, [
|
|
38686
38686
|
o("div", Ome, [
|
|
38687
|
-
|
|
38687
|
+
ye(l).length > 1 ? (s(!0), i(ze, { key: 0 }, Qe(ye(l), (h, f) => (s(), i("a", {
|
|
38688
38688
|
onClick: (m) => n.value = f,
|
|
38689
|
-
class:
|
|
38689
|
+
class: Re(["w-4 h-1 bg-navy-400 rounded-full cursor-pointer", { "!w-12 !bg-white": n.value === f }])
|
|
38690
38690
|
}, null, 10, Rme))), 256)) : de("", !0)
|
|
38691
38691
|
]),
|
|
38692
38692
|
o("h3", Nme, be(d == null ? void 0 : d.title), 1),
|
|
@@ -38698,7 +38698,7 @@ const Lme = p0({
|
|
|
38698
38698
|
d.secondary_button.show ? (s(), i("a", {
|
|
38699
38699
|
key: 0,
|
|
38700
38700
|
class: "text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60",
|
|
38701
|
-
href:
|
|
38701
|
+
href: ye(C1)(d.secondary_button.url),
|
|
38702
38702
|
target: d.secondary_button.open_in_new_tab ? "_blank" : ""
|
|
38703
38703
|
}, [
|
|
38704
38704
|
o("span", null, be(d.secondary_button.label), 1)
|
|
@@ -38706,11 +38706,11 @@ const Lme = p0({
|
|
|
38706
38706
|
d.primary_button.show ? (s(), i("a", {
|
|
38707
38707
|
key: 1,
|
|
38708
38708
|
class: "flex items-center gap-2 text-navy-800 bg-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-50",
|
|
38709
|
-
href:
|
|
38709
|
+
href: ye(C1)(d.primary_button.url),
|
|
38710
38710
|
target: d.primary_button.open_in_new_tab ? "_blank" : ""
|
|
38711
38711
|
}, [
|
|
38712
38712
|
P1(be(d.primary_button.label) + " ", 1),
|
|
38713
|
-
me(
|
|
38713
|
+
me(ye(V1), { class: "w-5 h-5" })
|
|
38714
38714
|
], 8, Dme)) : de("", !0)
|
|
38715
38715
|
])
|
|
38716
38716
|
]),
|
|
@@ -38738,20 +38738,20 @@ const Lme = p0({
|
|
|
38738
38738
|
}
|
|
38739
38739
|
},
|
|
38740
38740
|
setup(t) {
|
|
38741
|
-
const n =
|
|
38741
|
+
const n = Ce(t.component), r = n.value.type === "link_grid";
|
|
38742
38742
|
return (l, u) => (s(), i("div", {
|
|
38743
|
-
class:
|
|
38743
|
+
class: Re(["flex justify-center h-[136px] w-full relative rounded-b-[48px] bg-navy-600 -mt-12 gap-[60px]", { "bg-transparent !justify-start flex-wrap mt-8 !h-auto !gap-4": r }])
|
|
38744
38744
|
}, [
|
|
38745
38745
|
(s(!0), i(ze, null, Qe(n.value.data, (c) => (s(), i("div", {
|
|
38746
|
-
class:
|
|
38746
|
+
class: Re(["flex justify-center", { "!block": r }])
|
|
38747
38747
|
}, [
|
|
38748
38748
|
o("a", {
|
|
38749
38749
|
target: c.open_in_new_tab ? "_blank" : "",
|
|
38750
38750
|
href: c.url.startsWith("http") ? c.url : `//${c.url}`,
|
|
38751
|
-
class:
|
|
38751
|
+
class: Re(["text-white flex gap-1.5 items-center cursor-pointer mt-12 text-sm font-semibold hover:text-gray-300", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 h-[44px] w-max !mt-0 !text-base hover:bg-gray-100": r }])
|
|
38752
38752
|
}, [
|
|
38753
38753
|
o("span", null, be(c.title), 1),
|
|
38754
|
-
me(
|
|
38754
|
+
me(ye(V1), { class: "w-5 h-5" })
|
|
38755
38755
|
], 10, Gme)
|
|
38756
38756
|
], 2))), 256))
|
|
38757
38757
|
], 2));
|
|
@@ -38765,7 +38765,7 @@ const Lme = p0({
|
|
|
38765
38765
|
}
|
|
38766
38766
|
},
|
|
38767
38767
|
setup(t) {
|
|
38768
|
-
const n =
|
|
38768
|
+
const n = Ce(t.section), r = Ce({
|
|
38769
38769
|
sliders: We(qme),
|
|
38770
38770
|
links: We(Xl)
|
|
38771
38771
|
}), l = (u) => u != null && u.type ? r.value[u == null ? void 0 : u.type] : "";
|
|
@@ -38787,19 +38787,19 @@ const Lme = p0({
|
|
|
38787
38787
|
}
|
|
38788
38788
|
},
|
|
38789
38789
|
setup(t) {
|
|
38790
|
-
const n =
|
|
38790
|
+
const n = Ce(t.component);
|
|
38791
38791
|
return (r, l) => {
|
|
38792
38792
|
var u, c, d, a, h, f, m;
|
|
38793
38793
|
return s(), i("div", {
|
|
38794
|
-
class:
|
|
38794
|
+
class: Re(["flex flex-col sm:px-0 px-4", { "items-center": (u = n.value) == null ? void 0 : u.center }])
|
|
38795
38795
|
}, [
|
|
38796
38796
|
(c = n.value) != null && c.title ? (s(), i("p", {
|
|
38797
38797
|
key: 0,
|
|
38798
|
-
class:
|
|
38798
|
+
class: Re(["pb-4 text-4xl font-semibold text-white", { "!text-gray-900": (d = n.value) == null ? void 0 : d.dark }])
|
|
38799
38799
|
}, be((a = n.value) == null ? void 0 : a.title), 3)) : de("", !0),
|
|
38800
38800
|
(h = n.value) != null && h.supporting_text ? (s(), i("p", {
|
|
38801
38801
|
key: 1,
|
|
38802
|
-
class:
|
|
38802
|
+
class: Re(["text-navy-25 text-xl font-normal leading-[30px]", { "!text-gray-600": (f = n.value) == null ? void 0 : f.dark }])
|
|
38803
38803
|
}, be((m = n.value) == null ? void 0 : m.supporting_text), 3)) : de("", !0)
|
|
38804
38804
|
], 2);
|
|
38805
38805
|
};
|
|
@@ -38829,7 +38829,7 @@ const Yme = { render: Qme }, Jme = { class: "w-full bg-navy-800 py-10 relative l
|
|
|
38829
38829
|
}
|
|
38830
38830
|
},
|
|
38831
38831
|
setup(t) {
|
|
38832
|
-
const n =
|
|
38832
|
+
const n = Ce(t.section), r = Ce({
|
|
38833
38833
|
header: We(Rr),
|
|
38834
38834
|
link_grid: We(Xl)
|
|
38835
38835
|
}), l = (u) => u != null && u.type ? r.value[u == null ? void 0 : u.type] : "";
|
|
@@ -38844,7 +38844,7 @@ const Yme = { render: Qme }, Jme = { class: "w-full bg-navy-800 py-10 relative l
|
|
|
38844
38844
|
]))), 256))
|
|
38845
38845
|
])
|
|
38846
38846
|
]),
|
|
38847
|
-
me(
|
|
38847
|
+
me(ye(Yme), { class: "absolute right-0 top-0" })
|
|
38848
38848
|
]));
|
|
38849
38849
|
}
|
|
38850
38850
|
}, ove = { class: "flex flex-col md:flex-row justify-center gap-4 items-stretch mt-6" }, sve = { class: "flex-1 w-full md:w-1/2 flex flex-col" }, ive = ["onClick"], lve = { class: "py-4 pl-4 md:pl-6" }, ave = ["innerHTML"], cve = { class: "flex-1 w-full md:w-1/2 bg-transparent flex flex-col items-center" }, uve = ["src"], dve = {
|
|
@@ -38861,10 +38861,10 @@ const Yme = { render: Qme }, Jme = { class: "w-full bg-navy-800 py-10 relative l
|
|
|
38861
38861
|
}
|
|
38862
38862
|
},
|
|
38863
38863
|
setup(t) {
|
|
38864
|
-
const n =
|
|
38864
|
+
const n = Ce(t.component), r = Ce(null), l = Ce(n.value.data.filter((c) => c.public)), u = (c) => {
|
|
38865
38865
|
r.value = c;
|
|
38866
38866
|
};
|
|
38867
|
-
return
|
|
38867
|
+
return I1(() => {
|
|
38868
38868
|
l.value.length > 0 && u(l.value[0]);
|
|
38869
38869
|
}), (c, d) => (s(), i("div", ove, [
|
|
38870
38870
|
o("div", sve, [
|
|
@@ -38872,15 +38872,15 @@ const Yme = { render: Qme }, Jme = { class: "w-full bg-navy-800 py-10 relative l
|
|
|
38872
38872
|
key: a.title
|
|
38873
38873
|
}, [
|
|
38874
38874
|
o("div", {
|
|
38875
|
-
class:
|
|
38875
|
+
class: Re(["flex-col flex gap-1.5 cursor-pointer mb-4 group", { "border-l-4 border-brand-600": r.value === a, "border-l-4 border-gray-100": r.value !== a }]),
|
|
38876
38876
|
onClick: _n((h) => u(a), ["prevent"])
|
|
38877
38877
|
}, [
|
|
38878
38878
|
o("div", lve, [
|
|
38879
38879
|
o("p", {
|
|
38880
|
-
class:
|
|
38880
|
+
class: Re([{ "text-gray-900": r.value === a, "text-gray-600": r.value !== a }, "text-lg md:text-xl font-semibold mb-2 group-hover:text-gray-900"])
|
|
38881
38881
|
}, be(a.title), 3),
|
|
38882
38882
|
o("p", {
|
|
38883
|
-
class:
|
|
38883
|
+
class: Re([{ "text-gray-700": r.value === a, "text-gray-400": r.value !== a }, "text-sm md:text-md font-normal group-hover:text-gray-700"]),
|
|
38884
38884
|
innerHTML: a.description
|
|
38885
38885
|
}, null, 10, ave)
|
|
38886
38886
|
])
|
|
@@ -38912,7 +38912,7 @@ const Yme = { render: Qme }, Jme = { class: "w-full bg-navy-800 py-10 relative l
|
|
|
38912
38912
|
href: (x = (v = r.value) == null ? void 0 : v.primary_button) != null && x.url.startsWith("http") ? r.value.primary_button.url : `//${r.value.primary_button.url}`
|
|
38913
38913
|
}, [
|
|
38914
38914
|
P1(be(((b = (C = r.value) == null ? void 0 : C.primary_button) == null ? void 0 : b.label) ?? "N/A") + " ", 1),
|
|
38915
|
-
me(
|
|
38915
|
+
me(ye(V1), { class: "w-4 h-4 md:w-5 md:h-5" })
|
|
38916
38916
|
], 8, hve)) : de("", !0)
|
|
38917
38917
|
]))
|
|
38918
38918
|
];
|
|
@@ -38931,7 +38931,7 @@ const Yme = { render: Qme }, Jme = { class: "w-full bg-navy-800 py-10 relative l
|
|
|
38931
38931
|
}
|
|
38932
38932
|
},
|
|
38933
38933
|
setup(t) {
|
|
38934
|
-
const n =
|
|
38934
|
+
const n = Ce(t.section), r = Ce({
|
|
38935
38935
|
header: We(Rr),
|
|
38936
38936
|
vertical_tabs: We(pve)
|
|
38937
38937
|
}), l = (u) => u != null && u.type ? r.value[u == null ? void 0 : u.type] : "";
|
|
@@ -38958,19 +38958,19 @@ const Yme = { render: Qme }, Jme = { class: "w-full bg-navy-800 py-10 relative l
|
|
|
38958
38958
|
}
|
|
38959
38959
|
},
|
|
38960
38960
|
setup(t) {
|
|
38961
|
-
const n =
|
|
38961
|
+
const n = Ce(t.section), r = n.value.display === "horizontal", l = (u) => u === "small" ? "h-[32px]" : u === "medium" ? "h-[40px]" : "h-[32px]";
|
|
38962
38962
|
return (u, c) => (s(), i("div", gve, [
|
|
38963
38963
|
o("div", {
|
|
38964
|
-
class:
|
|
38964
|
+
class: Re(["1xl:max-w-[1824px] mx-auto relative flex justify-center items-center", { "py-8": r, "flex-col py-6": !r }])
|
|
38965
38965
|
}, [
|
|
38966
38966
|
(s(!0), i(ze, null, Qe(n.value.components, (d, a) => (s(), i("div", null, [
|
|
38967
38967
|
(d == null ? void 0 : d.type) === "header" && (d != null && d.supporting_text) ? (s(), i("p", {
|
|
38968
38968
|
key: 0,
|
|
38969
|
-
class:
|
|
38969
|
+
class: Re(["mr-[48px] text-base text-gray-600 font-medium", { "mb-6": !r }])
|
|
38970
38970
|
}, be(d == null ? void 0 : d.supporting_text), 3)) : de("", !0),
|
|
38971
38971
|
(d == null ? void 0 : d.type) === "logos" ? (s(), i("div", {
|
|
38972
38972
|
key: 1,
|
|
38973
|
-
class:
|
|
38973
|
+
class: Re(["flex flex-wrap justify-center", { "gap-6": r, "gap-12": !r }])
|
|
38974
38974
|
}, [
|
|
38975
38975
|
(s(!0), i(ze, null, Qe(d.data, (h) => (s(), i("a", {
|
|
38976
38976
|
href: h == null ? void 0 : h.url,
|
|
@@ -38980,7 +38980,7 @@ const Yme = { render: Qme }, Jme = { class: "w-full bg-navy-800 py-10 relative l
|
|
|
38980
38980
|
h != null && h.logo ? (s(), i("img", {
|
|
38981
38981
|
key: 0,
|
|
38982
38982
|
src: h == null ? void 0 : h.logo,
|
|
38983
|
-
class:
|
|
38983
|
+
class: Re(l(d == null ? void 0 : d.height)),
|
|
38984
38984
|
alt: "Brand Logo"
|
|
38985
38985
|
}, null, 10, kve)) : (s(), i("span", Cve, "No photo"))
|
|
38986
38986
|
], 8, xve))), 256))
|
|
@@ -39066,15 +39066,15 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39066
39066
|
var r, l, u;
|
|
39067
39067
|
return (r = t.button) != null && r.url ? (s(), i("a", {
|
|
39068
39068
|
key: 0,
|
|
39069
|
-
href:
|
|
39069
|
+
href: ye(C1)(t.button.url),
|
|
39070
39070
|
target: "_blank",
|
|
39071
39071
|
class: "hover:bg-brand-600 bg-brand-500 text-white h-[40px] rounded-full px-[14px] py-[10px] inline-flex gap-1.5 items-center shadow-xs text-sm"
|
|
39072
39072
|
}, [
|
|
39073
|
-
((l = t.button) == null ? void 0 : l.icon) === "plus" ? (s(), Ze(
|
|
39073
|
+
((l = t.button) == null ? void 0 : l.icon) === "plus" ? (s(), Ze(ye(m0), {
|
|
39074
39074
|
key: 0,
|
|
39075
39075
|
class: "w-4 h-4"
|
|
39076
39076
|
})) : de("", !0),
|
|
39077
|
-
((u = t.button) == null ? void 0 : u.icon) === "shopping-cart-01" ? (s(), Ze(
|
|
39077
|
+
((u = t.button) == null ? void 0 : u.icon) === "shopping-cart-01" ? (s(), Ze(ye(Hve), {
|
|
39078
39078
|
key: 1,
|
|
39079
39079
|
class: "w-4 h-4"
|
|
39080
39080
|
})) : de("", !0),
|
|
@@ -39108,7 +39108,7 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39108
39108
|
},
|
|
39109
39109
|
setup(t) {
|
|
39110
39110
|
var d;
|
|
39111
|
-
const e = Gt("VCarouselPrimaryButton", Rve), n = t, r =
|
|
39111
|
+
const e = Gt("VCarouselPrimaryButton", Rve), n = t, r = Ce(0), l = [...((d = n.component.content) == null ? void 0 : d.items) || []], u = () => {
|
|
39112
39112
|
r.value <= l.length - Jve && r.value++;
|
|
39113
39113
|
}, c = () => {
|
|
39114
39114
|
r.value > 0 && r.value--;
|
|
@@ -39122,10 +39122,10 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39122
39122
|
}, [
|
|
39123
39123
|
(s(), i(ze, null, Qe(l, (m, p) => o("div", {
|
|
39124
39124
|
key: p,
|
|
39125
|
-
class:
|
|
39125
|
+
class: Re(["slider-item flex-shrink-0 flex-1 mr-6 min-w-[480px]", { "h-[309px]": !t.hasBackground, "h-full": t.hasBackground }])
|
|
39126
39126
|
}, [
|
|
39127
39127
|
o("div", {
|
|
39128
|
-
class:
|
|
39128
|
+
class: Re(["w-full p-4 rounded-[16px]", { "bg-gray-50 h-full flex flex-col justify-between": !t.hasBackground, "bg-white": t.hasBackground }])
|
|
39129
39129
|
}, [
|
|
39130
39130
|
o("div", null, [
|
|
39131
39131
|
o("div", Vve, [
|
|
@@ -39145,7 +39145,7 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39145
39145
|
o("h3", Dve, [
|
|
39146
39146
|
o("a", {
|
|
39147
39147
|
class: "text-[24px] font-semibold text-gray-900 leading-[32px] hover:underline",
|
|
39148
|
-
href:
|
|
39148
|
+
href: ye(C1)(m.url),
|
|
39149
39149
|
target: "_blank"
|
|
39150
39150
|
}, be(m == null ? void 0 : m.title), 9, Fve)
|
|
39151
39151
|
]),
|
|
@@ -39154,14 +39154,14 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39154
39154
|
innerHTML: m == null ? void 0 : m.description
|
|
39155
39155
|
}, null, 8, Uve),
|
|
39156
39156
|
(m == null ? void 0 : m.type) === "event" ? (s(), i("div", zve, [
|
|
39157
|
-
me(
|
|
39157
|
+
me(ye(Ave), { class: "w-4 h-4 mt-[3px]" }),
|
|
39158
39158
|
o("div", {
|
|
39159
39159
|
class: "text-sm",
|
|
39160
39160
|
innerHTML: m == null ? void 0 : m.line_1
|
|
39161
39161
|
}, null, 8, qve)
|
|
39162
39162
|
])) : de("", !0),
|
|
39163
39163
|
m.type === "event" ? (s(), i("div", Gve, [
|
|
39164
|
-
me(
|
|
39164
|
+
me(ye(Lve), { class: "w-4 h-4 mt-[3px]" }),
|
|
39165
39165
|
o("div", {
|
|
39166
39166
|
class: "text-sm",
|
|
39167
39167
|
innerHTML: m == null ? void 0 : m.line_2
|
|
@@ -39169,13 +39169,13 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39169
39169
|
])) : de("", !0)
|
|
39170
39170
|
]),
|
|
39171
39171
|
o("div", Xve, [
|
|
39172
|
-
me(
|
|
39172
|
+
me(ye(e), {
|
|
39173
39173
|
button: m.primary_button
|
|
39174
39174
|
}, null, 8, ["button"]),
|
|
39175
39175
|
m.secondary_button ? (s(), i("a", {
|
|
39176
39176
|
key: 0,
|
|
39177
39177
|
target: "_blank",
|
|
39178
|
-
href:
|
|
39178
|
+
href: ye(C1)(m.secondary_button.url),
|
|
39179
39179
|
class: "text-sm text-gray-600 hover:text-gray-800"
|
|
39180
39180
|
}, be(m.secondary_button.title ?? "Learn more"), 9, Kve)) : de("", !0)
|
|
39181
39181
|
])
|
|
@@ -39187,23 +39187,23 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39187
39187
|
onClick: c,
|
|
39188
39188
|
class: "p-2.5 bg-white text-navy-800 rounded-full hover:opacity-100 opacity-50"
|
|
39189
39189
|
}, [
|
|
39190
|
-
me(
|
|
39190
|
+
me(ye($ve), { class: "w-6 h-6" })
|
|
39191
39191
|
]),
|
|
39192
39192
|
o("button", {
|
|
39193
39193
|
onClick: u,
|
|
39194
39194
|
class: "p-2.5 bg-white text-navy-800 rounded-full hover:opacity-100 opacity-50"
|
|
39195
39195
|
}, [
|
|
39196
|
-
me(
|
|
39196
|
+
me(ye(k2), { class: "w-6 h-6" })
|
|
39197
39197
|
])
|
|
39198
39198
|
]),
|
|
39199
39199
|
(f = t.component) != null && f.button ? (s(), i("div", Qve, [
|
|
39200
39200
|
o("a", {
|
|
39201
39201
|
class: "border-brand-300 hover:border-brand-700 border text-brand-700 h-[44px] rounded-full px-[14px] py-[10px] inline-flex gap-1.5 items-center font-semibold text-base",
|
|
39202
|
-
href:
|
|
39202
|
+
href: ye(C1)(t.component.button.url),
|
|
39203
39203
|
target: t.component.button.open_in_new_tab ? "_blank" : ""
|
|
39204
39204
|
}, [
|
|
39205
39205
|
P1(be(t.component.button.title) + " ", 1),
|
|
39206
|
-
me(
|
|
39206
|
+
me(ye(V1), { class: "w-5 h-5" })
|
|
39207
39207
|
], 8, Yve)
|
|
39208
39208
|
])) : de("", !0)
|
|
39209
39209
|
]);
|
|
@@ -39218,11 +39218,11 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39218
39218
|
}
|
|
39219
39219
|
},
|
|
39220
39220
|
setup(t) {
|
|
39221
|
-
const n =
|
|
39221
|
+
const n = Ce(t.section), r = Te(() => n.value.components.find((u) => u.type === "header")), l = Te(() => n.value.components.find((u) => u.type === "carousel"));
|
|
39222
39222
|
return (u, c) => {
|
|
39223
39223
|
var d, a, h, f;
|
|
39224
39224
|
return s(), i("div", {
|
|
39225
|
-
class:
|
|
39225
|
+
class: Re(["overflow-hidden", { "rounded-br-[48px] rounded-tl-[48px] bg-aqua-100": (d = n.value) == null ? void 0 : d.has_background }])
|
|
39226
39226
|
}, [
|
|
39227
39227
|
o("div", twe, [
|
|
39228
39228
|
o("div", nwe, [
|
|
@@ -39230,7 +39230,7 @@ const Hve = { render: Eve }, Ove = ["href"], Rve = {
|
|
|
39230
39230
|
])
|
|
39231
39231
|
]),
|
|
39232
39232
|
o("div", {
|
|
39233
|
-
class:
|
|
39233
|
+
class: Re(["max-w-[1640px] md:px-[120px] mx-auto w-full", { "mt-0": !((a = n.value) != null && a.has_background), "mt-6": (h = n.value) == null ? void 0 : h.has_background }])
|
|
39234
39234
|
}, [
|
|
39235
39235
|
me(ewe, {
|
|
39236
39236
|
component: l.value,
|
|
@@ -39282,7 +39282,7 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39282
39282
|
const e = t;
|
|
39283
39283
|
let n = [];
|
|
39284
39284
|
e.component.type === "news_grid" ? n = [...((a = e.component.content) == null ? void 0 : a.items) || []] : n = [...((h = e.component) == null ? void 0 : h.data) || []];
|
|
39285
|
-
const r = e.component.button || {}, l =
|
|
39285
|
+
const r = e.component.button || {}, l = Ce(n.map(() => !1)), u = Ce(n.map(() => null)), c = (f) => {
|
|
39286
39286
|
const m = u.value[f];
|
|
39287
39287
|
m && (m.paused ? (m.play(), l.value[f] = !0) : (m.pause(), l.value[f] = !1));
|
|
39288
39288
|
}, d = (f, m) => {
|
|
@@ -39292,7 +39292,7 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39292
39292
|
var p;
|
|
39293
39293
|
return s(), i("div", lwe, [
|
|
39294
39294
|
o("div", awe, [
|
|
39295
|
-
(s(!0), i(ze, null, Qe(
|
|
39295
|
+
(s(!0), i(ze, null, Qe(ye(n), (w, v) => (s(), i("div", {
|
|
39296
39296
|
key: v,
|
|
39297
39297
|
class: "card bg-white sm:p-0 px-4"
|
|
39298
39298
|
}, [
|
|
@@ -39310,7 +39310,7 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39310
39310
|
src: `${w.video}#t=2`
|
|
39311
39311
|
}, null, 8, dwe)
|
|
39312
39312
|
], 8, uwe),
|
|
39313
|
-
l.value[v] ? de("", !0) : (s(), Ze(
|
|
39313
|
+
l.value[v] ? de("", !0) : (s(), Ze(ye(iwe), {
|
|
39314
39314
|
key: 0,
|
|
39315
39315
|
class: "cursor-pointer absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 group-hover:opacity-100 transition-opacity",
|
|
39316
39316
|
onClick: (x) => c(v)
|
|
@@ -39325,7 +39325,7 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39325
39325
|
w.categories && w.categories.length ? (s(), i("div", mwe, [
|
|
39326
39326
|
(s(!0), i(ze, null, Qe(w.categories, (x) => (s(), i("span", {
|
|
39327
39327
|
key: x,
|
|
39328
|
-
class:
|
|
39328
|
+
class: Re(["border px-2 py-0.5 rounded-[6px] text-sm", {
|
|
39329
39329
|
"bg-navy-50 border-navy-200 text-navy-700": x.style === "navy",
|
|
39330
39330
|
"bg-brand-50 border-brand-200 text-brand-700": x.style === "brand",
|
|
39331
39331
|
"bg-orange-50 border-orange-200 text-orange-700": x.style === "orange"
|
|
@@ -39334,7 +39334,7 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39334
39334
|
])) : de("", !0),
|
|
39335
39335
|
w != null && w.link ? (s(), i("a", {
|
|
39336
39336
|
key: 1,
|
|
39337
|
-
href:
|
|
39337
|
+
href: ye(C1)(w.link),
|
|
39338
39338
|
class: "text-gray-900 text-lg font-semibold hover:underline block mb-2 w-full",
|
|
39339
39339
|
target: "_blank",
|
|
39340
39340
|
rel: "noopener noreferrer"
|
|
@@ -39344,21 +39344,21 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39344
39344
|
class: "w-5/6 leading-[28px]",
|
|
39345
39345
|
innerHTML: w.title
|
|
39346
39346
|
}, null, 8, gwe),
|
|
39347
|
-
me(
|
|
39347
|
+
me(ye(V1), { class: "w-5 h-5 mt-1" })
|
|
39348
39348
|
])
|
|
39349
39349
|
], 8, vwe)) : de("", !0),
|
|
39350
39350
|
o("p", xwe, be(w.dateTime), 1)
|
|
39351
39351
|
])
|
|
39352
39352
|
]))), 128))
|
|
39353
39353
|
]),
|
|
39354
|
-
Object.keys(
|
|
39354
|
+
Object.keys(ye(r)).length && ((p = ye(r)) != null && p.show) ? (s(), i("div", kwe, [
|
|
39355
39355
|
o("a", {
|
|
39356
39356
|
class: "border-brand-300 hover:border-brand-700 border text-brand-700 h-[44px] rounded-full px-[14px] py-[10px] inline-flex gap-1.5 items-center font-semibold text-base",
|
|
39357
|
-
href:
|
|
39358
|
-
target:
|
|
39357
|
+
href: ye(C1)(ye(r).url),
|
|
39358
|
+
target: ye(r).open_in_new_tab ? "_blank" : ""
|
|
39359
39359
|
}, [
|
|
39360
|
-
P1(be(
|
|
39361
|
-
me(
|
|
39360
|
+
P1(be(ye(r).title) + " ", 1),
|
|
39361
|
+
me(ye(V1), { class: "w-5 h-5" })
|
|
39362
39362
|
], 8, Cwe)
|
|
39363
39363
|
])) : de("", !0)
|
|
39364
39364
|
]);
|
|
@@ -39373,7 +39373,7 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39373
39373
|
}
|
|
39374
39374
|
},
|
|
39375
39375
|
setup(t) {
|
|
39376
|
-
const n =
|
|
39376
|
+
const n = Ce(t.section), r = Ce({
|
|
39377
39377
|
header: We(Rr),
|
|
39378
39378
|
news_grid: We(Qs),
|
|
39379
39379
|
video_grid: We(Qs)
|
|
@@ -39396,7 +39396,7 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39396
39396
|
}
|
|
39397
39397
|
},
|
|
39398
39398
|
setup(t) {
|
|
39399
|
-
const n =
|
|
39399
|
+
const n = Ce(t.section), r = Te(() => {
|
|
39400
39400
|
var l, u;
|
|
39401
39401
|
return (u = (l = n.value) == null ? void 0 : l.components[0]) == null ? void 0 : u.hasOwnProperty("featured_image");
|
|
39402
39402
|
});
|
|
@@ -39405,14 +39405,14 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39405
39405
|
return s(), i("div", _we, [
|
|
39406
39406
|
n.value.hasOwnProperty("components") > 0 && n.value.components.length > 0 ? (s(), i("div", {
|
|
39407
39407
|
key: 0,
|
|
39408
|
-
class:
|
|
39408
|
+
class: Re(["md:px-[90px]", { "flex flex-col items-center text-center": (c = n.value.components[0]) == null ? void 0 : c.center, "mb-[64px]": r.value }])
|
|
39409
39409
|
}, [
|
|
39410
39410
|
o("div", {
|
|
39411
|
-
class:
|
|
39411
|
+
class: Re(["bg-navy-50 rounded-[48px] relative pt-[164px] px-[120px]", { "flex flex-col items-center text-center": (d = n.value.components[0]) == null ? void 0 : d.text_center }])
|
|
39412
39412
|
}, [
|
|
39413
39413
|
o("h3", Bwe, be(n.value.components[0].title), 1),
|
|
39414
39414
|
o("h3", {
|
|
39415
|
-
class:
|
|
39415
|
+
class: Re(["text-xl font-normal text-gray-600 mt-3 w-full max-w-[800px]", { "pb-[100px]": !r.value }])
|
|
39416
39416
|
}, be(n.value.components[0].supporting_text), 3),
|
|
39417
39417
|
r.value ? (s(), i("img", {
|
|
39418
39418
|
key: 0,
|
|
@@ -39437,7 +39437,7 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39437
39437
|
}
|
|
39438
39438
|
},
|
|
39439
39439
|
setup(t) {
|
|
39440
|
-
const n =
|
|
39440
|
+
const n = Ce(t.section);
|
|
39441
39441
|
return (r, l) => {
|
|
39442
39442
|
var u;
|
|
39443
39443
|
return s(), i("div", jwe, [
|
|
@@ -39456,23 +39456,17 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39456
39456
|
}
|
|
39457
39457
|
}, Nwe = { class: "overflow-hidden" }, Vwe = { class: "max-w-[1640px] md:px-[120px] mx-auto w-full mt-4 px-4" }, Pwe = {
|
|
39458
39458
|
key: 0,
|
|
39459
|
-
class: "
|
|
39460
|
-
}, Iwe = {
|
|
39461
|
-
key: 0,
|
|
39462
|
-
class: "col-span-4 bg-gray-100 rounded-xl p-8"
|
|
39463
|
-
}, Dwe = { class: "text-[20px] text-gray-900 font-semibold" }, Fwe = ["innerHTML"], Uwe = {
|
|
39464
|
-
key: 1,
|
|
39465
|
-
class: "col-span-8"
|
|
39466
|
-
}, zwe = ["src", "alt"], qwe = ["innerHTML"], Gwe = {
|
|
39459
|
+
class: "flex gap-4"
|
|
39460
|
+
}, Iwe = { class: "text-[20px] text-gray-900 font-semibold" }, Dwe = ["innerHTML"], Fwe = ["src", "alt"], Uwe = ["innerHTML"], zwe = {
|
|
39467
39461
|
key: 1,
|
|
39468
39462
|
class: "my-[44px]"
|
|
39469
|
-
},
|
|
39463
|
+
}, qwe = { class: "text-[36px] text-gray-900 font-semibold" }, Gwe = ["innerHTML"], Wwe = {
|
|
39470
39464
|
key: 0,
|
|
39471
39465
|
class: "max-w-[48px] min-w-[48px] w-full h-[48px] bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
|
|
39472
|
-
},
|
|
39466
|
+
}, Xwe = { class: "font-semibold text-[20px] text-gray-900" }, Kwe = { class: "mt-2 text-md font-normal text-gray-600 leading-[24px]" }, Zwe = ["src"], Qwe = {
|
|
39473
39467
|
key: 0,
|
|
39474
39468
|
class: "w-[560px]"
|
|
39475
|
-
},
|
|
39469
|
+
}, Ywe = ["src", "alt"], Jwe = {
|
|
39476
39470
|
__name: "TwoColumnsImageContent",
|
|
39477
39471
|
props: {
|
|
39478
39472
|
section: {
|
|
@@ -39481,84 +39475,97 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39481
39475
|
}
|
|
39482
39476
|
},
|
|
39483
39477
|
setup(t) {
|
|
39484
|
-
const n =
|
|
39485
|
-
return (
|
|
39486
|
-
var h
|
|
39478
|
+
const e = t, n = Ce(null), r = Ce(null), l = Ce(e.section), u = Te(() => l.value.components.find((h) => h.type === "paragraph")), c = Te(() => l.value.components.find((h) => h.type === "header")), d = Te(() => l.value.components.find((h) => h.type === "image_block")), a = Te(() => l.value.components.find((h) => h.type === "feature_items"));
|
|
39479
|
+
return I1(() => {
|
|
39480
|
+
var h;
|
|
39481
|
+
n.value && r.value && ((h = l.value) != null && h.minimum_height) && (r.value.style.height = `${n.value.offsetHeight}px`);
|
|
39482
|
+
}), (h, f) => {
|
|
39483
|
+
var m, p, w, v;
|
|
39487
39484
|
return s(), i("div", Nwe, [
|
|
39488
39485
|
o("div", Vwe, [
|
|
39489
|
-
|
|
39490
|
-
|
|
39491
|
-
|
|
39486
|
+
u.value ? (s(), i("div", Pwe, [
|
|
39487
|
+
u.value ? (s(), i("div", {
|
|
39488
|
+
key: 0,
|
|
39489
|
+
class: Re(["w-1/3 bg-gray-100 rounded-xl p-8", { "h-fit": (m = l.value) == null ? void 0 : m.minimum_height }]),
|
|
39490
|
+
ref_key: "leftColumn",
|
|
39491
|
+
ref: n
|
|
39492
|
+
}, [
|
|
39493
|
+
o("h3", Iwe, be(u.value.title), 1),
|
|
39492
39494
|
o("p", {
|
|
39493
39495
|
class: "text-md font-normal mt-2 text-gray-600 leading-6",
|
|
39494
|
-
innerHTML:
|
|
39495
|
-
}, null, 8,
|
|
39496
|
-
])) : de("", !0),
|
|
39497
|
-
|
|
39496
|
+
innerHTML: u.value.paragraph
|
|
39497
|
+
}, null, 8, Dwe)
|
|
39498
|
+
], 2)) : de("", !0),
|
|
39499
|
+
d.value ? (s(), i("div", {
|
|
39500
|
+
key: 1,
|
|
39501
|
+
class: "w-2/3 rounded-[24px] overflow-hidden",
|
|
39502
|
+
ref_key: "rightColumn",
|
|
39503
|
+
ref: r
|
|
39504
|
+
}, [
|
|
39498
39505
|
o("img", {
|
|
39499
|
-
src:
|
|
39500
|
-
alt:
|
|
39501
|
-
class: "w-full h-
|
|
39502
|
-
}, null, 8,
|
|
39506
|
+
src: d.value.featured_image,
|
|
39507
|
+
alt: d.value.caption,
|
|
39508
|
+
class: "w-full h-full object-cover"
|
|
39509
|
+
}, null, 8, Fwe),
|
|
39503
39510
|
o("p", {
|
|
39504
|
-
innerHTML:
|
|
39511
|
+
innerHTML: d.value.caption,
|
|
39505
39512
|
class: "mt-2 text-[13px]"
|
|
39506
|
-
}, null, 8,
|
|
39507
|
-
])) : de("", !0)
|
|
39508
|
-
])) : (s(), i("div",
|
|
39509
|
-
|
|
39513
|
+
}, null, 8, Uwe)
|
|
39514
|
+
], 512)) : de("", !0)
|
|
39515
|
+
])) : (s(), i("div", zwe, [
|
|
39516
|
+
c.value ? (s(), i("div", {
|
|
39510
39517
|
key: 0,
|
|
39511
|
-
class:
|
|
39518
|
+
class: Re(["w-full flex-col mb-6", { "text-center": (p = c.value) == null ? void 0 : p.text_center }])
|
|
39512
39519
|
}, [
|
|
39513
|
-
o("h3",
|
|
39514
|
-
(
|
|
39520
|
+
o("h3", qwe, be(c.value.title), 1),
|
|
39521
|
+
(w = c.value) != null && w.supporting_text ? (s(), i("p", {
|
|
39515
39522
|
key: 0,
|
|
39516
39523
|
class: "text-[20px] font-normal mt-4 text-gray-600 leading-[30px]",
|
|
39517
|
-
innerHTML:
|
|
39518
|
-
}, null, 8,
|
|
39524
|
+
innerHTML: c.value.supporting_text
|
|
39525
|
+
}, null, 8, Gwe)) : de("", !0)
|
|
39519
39526
|
], 2)) : de("", !0),
|
|
39520
39527
|
o("div", {
|
|
39521
|
-
class:
|
|
39528
|
+
class: Re(a.value.hasOwnProperty("grid_columns") ? "" : "flex flex-row gap-8")
|
|
39522
39529
|
}, [
|
|
39523
39530
|
o("div", {
|
|
39524
|
-
class:
|
|
39531
|
+
class: Re(["grid gap-8", a.value.hasOwnProperty("grid_columns") ? `grid-cols-${a.value.grid_columns}` : "grid-cols-2 w-2/3"])
|
|
39525
39532
|
}, [
|
|
39526
|
-
(s(!0), i(ze, null, Qe(
|
|
39527
|
-
var
|
|
39533
|
+
(s(!0), i(ze, null, Qe(a.value.data, (x) => {
|
|
39534
|
+
var C, b;
|
|
39528
39535
|
return s(), i("div", {
|
|
39529
|
-
class:
|
|
39530
|
-
"bg-gray-50 p-8 rounded-[24px] overflow-hidden flex-col":
|
|
39531
|
-
"!p-0 rounded-tr-[0px] rounded-bl-[0px]":
|
|
39536
|
+
class: Re(["flex gap-3 w-full", {
|
|
39537
|
+
"bg-gray-50 p-8 rounded-[24px] overflow-hidden flex-col": a.value.hasOwnProperty("grid_columns") && (a.value.grid_columns > 2 || ((C = a.value) == null ? void 0 : C.has_background)),
|
|
39538
|
+
"!p-0 rounded-tr-[0px] rounded-bl-[0px]": x == null ? void 0 : x.image
|
|
39532
39539
|
}])
|
|
39533
39540
|
}, [
|
|
39534
|
-
|
|
39535
|
-
|
|
39541
|
+
x.title ? (s(), i(ze, { key: 0 }, [
|
|
39542
|
+
x != null && x.icon ? (s(), i("div", Wwe, [
|
|
39536
39543
|
me(wn, {
|
|
39537
|
-
icon:
|
|
39544
|
+
icon: x.icon,
|
|
39538
39545
|
"icon-classes": "w-5 h-5 text-brand-600"
|
|
39539
39546
|
}, null, 8, ["icon"])
|
|
39540
39547
|
])) : de("", !0),
|
|
39541
39548
|
o("div", {
|
|
39542
|
-
class:
|
|
39549
|
+
class: Re(["max-w-[324px]", { "max-w-full": (b = a.value) == null ? void 0 : b.has_background }])
|
|
39543
39550
|
}, [
|
|
39544
|
-
o("h3",
|
|
39545
|
-
o("p",
|
|
39551
|
+
o("h3", Xwe, be(x.title), 1),
|
|
39552
|
+
o("p", Kwe, be(x.supporting_text), 1)
|
|
39546
39553
|
], 2)
|
|
39547
39554
|
], 64)) : (s(), i("img", {
|
|
39548
39555
|
key: 1,
|
|
39549
|
-
src:
|
|
39556
|
+
src: x.image,
|
|
39550
39557
|
alt: "Feature Image",
|
|
39551
39558
|
class: "w-full h-full object-cover"
|
|
39552
|
-
}, null, 8,
|
|
39559
|
+
}, null, 8, Zwe))
|
|
39553
39560
|
], 2);
|
|
39554
39561
|
}), 256))
|
|
39555
39562
|
], 2),
|
|
39556
|
-
|
|
39563
|
+
d.value ? (s(), i("div", Qwe, [
|
|
39557
39564
|
o("img", {
|
|
39558
|
-
src:
|
|
39559
|
-
alt: ((
|
|
39565
|
+
src: d.value.featured_image,
|
|
39566
|
+
alt: ((v = d.value) == null ? void 0 : v.caption) ?? "Image",
|
|
39560
39567
|
class: "rounded-br-[24px] rounded-tl-[24px] w-full"
|
|
39561
|
-
}, null, 8,
|
|
39568
|
+
}, null, 8, Ywe)
|
|
39562
39569
|
])) : de("", !0)
|
|
39563
39570
|
], 2)
|
|
39564
39571
|
]))
|
|
@@ -39566,13 +39573,13 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39566
39573
|
]);
|
|
39567
39574
|
};
|
|
39568
39575
|
}
|
|
39569
|
-
},
|
|
39576
|
+
}, ege = { class: "overflow-hidden" }, tge = { class: "max-w-[1640px] md:px-[120px] mx-auto w-full mt-[40px]" }, nge = {
|
|
39570
39577
|
key: 0,
|
|
39571
39578
|
class: "rounded-xl px-[40px] text-center mb-1 max-w-[1280px] mx-auto"
|
|
39572
|
-
},
|
|
39579
|
+
}, rge = { class: "text-[36px] text-gray-900 font-semibold" }, oge = ["innerHTML"], sge = { key: 1 }, ige = { class: "mt-4" }, lge = { class: "flex flex-row" }, age = { class: "w-1/5 mr-[40px] relative" }, cge = { class: "text-[24px] font-semibold text-navy-800" }, uge = { class: "w-4/5" }, dge = {
|
|
39573
39580
|
key: 0,
|
|
39574
39581
|
class: "text-[24px] mb-6 font-semibold text-navy-800"
|
|
39575
|
-
},
|
|
39582
|
+
}, hge = { class: "text-xl font-semibold text-gray-900" }, fge = { class: "all-unset" }, pge = ["innerHTML"], mge = {
|
|
39576
39583
|
__name: "Timeline",
|
|
39577
39584
|
props: {
|
|
39578
39585
|
section: {
|
|
@@ -39581,24 +39588,24 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39581
39588
|
}
|
|
39582
39589
|
},
|
|
39583
39590
|
setup(t) {
|
|
39584
|
-
const n =
|
|
39591
|
+
const n = Ce(t.section), r = Te(() => n.value.components.find((u) => u.type === "header")), l = Te(() => n.value.components.find((u) => u.type === "timeline_items"));
|
|
39585
39592
|
return (u, c) => {
|
|
39586
39593
|
var d;
|
|
39587
|
-
return s(), i("div",
|
|
39588
|
-
o("div",
|
|
39589
|
-
r.value ? (s(), i("div",
|
|
39590
|
-
o("h3",
|
|
39594
|
+
return s(), i("div", ege, [
|
|
39595
|
+
o("div", tge, [
|
|
39596
|
+
r.value ? (s(), i("div", nge, [
|
|
39597
|
+
o("h3", rge, be(r.value.title), 1),
|
|
39591
39598
|
(d = r.value) != null && d.supporting_text ? (s(), i("p", {
|
|
39592
39599
|
key: 0,
|
|
39593
39600
|
class: "text-[20px] font-normal mt-2 text-gray-600 leading-[30px] max-w-[768px] mx-auto",
|
|
39594
39601
|
innerHTML: r.value.supporting_text
|
|
39595
|
-
}, null, 8,
|
|
39602
|
+
}, null, 8, oge)) : de("", !0)
|
|
39596
39603
|
])) : de("", !0),
|
|
39597
|
-
l.value ? (s(), i("div",
|
|
39598
|
-
o("div",
|
|
39599
|
-
(s(!0), i(ze, null, Qe(l.value.data, (a, h) => (s(), i("div",
|
|
39600
|
-
o("div",
|
|
39601
|
-
o("h1",
|
|
39604
|
+
l.value ? (s(), i("div", sge, [
|
|
39605
|
+
o("div", ige, [
|
|
39606
|
+
(s(!0), i(ze, null, Qe(l.value.data, (a, h) => (s(), i("div", lge, [
|
|
39607
|
+
o("div", age, [
|
|
39608
|
+
o("h1", cge, be(a.title), 1),
|
|
39602
39609
|
c[0] || (c[0] = o("div", { class: "w-[32px] h-[32px] flex items-center justify-center border-2 border-navy-100 rounded-full absolute right-[-17px] bg-white top-0" }, [
|
|
39603
39610
|
o("p", { class: "w-[16px] h-[16px] rounded-full bg-navy-600" })
|
|
39604
39611
|
], -1)),
|
|
@@ -39607,17 +39614,17 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39607
39614
|
style: { background: "repeating-linear-gradient(to bottom, transparent, transparent 10px, #A9B8C6 8px, #A9B8C6 20px)", width: "2px" }
|
|
39608
39615
|
}, null, -1))
|
|
39609
39616
|
]),
|
|
39610
|
-
o("div",
|
|
39611
|
-
a.group_title ? (s(), i("p",
|
|
39617
|
+
o("div", uge, [
|
|
39618
|
+
a.group_title ? (s(), i("p", dge, be(a.group_title), 1)) : de("", !0),
|
|
39612
39619
|
(s(!0), i(ze, null, Qe(a.lines, (f, m) => (s(), i("div", {
|
|
39613
39620
|
key: m,
|
|
39614
39621
|
class: "bg-pale-orange-100 p-6 mb-6 rounded-[16px]"
|
|
39615
39622
|
}, [
|
|
39616
|
-
o("h4",
|
|
39617
|
-
o("div",
|
|
39623
|
+
o("h4", hge, be(f.title), 1),
|
|
39624
|
+
o("div", fge, [
|
|
39618
39625
|
o("p", {
|
|
39619
39626
|
innerHTML: f.description
|
|
39620
|
-
}, null, 8,
|
|
39627
|
+
}, null, 8, pge)
|
|
39621
39628
|
])
|
|
39622
39629
|
]))), 128))
|
|
39623
39630
|
])
|
|
@@ -39628,13 +39635,13 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39628
39635
|
]);
|
|
39629
39636
|
};
|
|
39630
39637
|
}
|
|
39631
|
-
},
|
|
39638
|
+
}, vge = { class: "overflow-hidden bg-aqua-100" }, wge = { class: "max-w-[1640px] md:px-[120px] mx-auto w-full my-[40px]" }, gge = {
|
|
39632
39639
|
key: 0,
|
|
39633
39640
|
class: "rounded-xl px-[40px] text-center mb-6 max-w-[1280px] mx-auto"
|
|
39634
|
-
},
|
|
39641
|
+
}, xge = { class: "text-[36px] text-gray-900 font-semibold" }, kge = ["innerHTML"], Cge = ["src"], yge = { class: "relative bg-white p-8 rounded-[24px] w-full" }, bge = {
|
|
39635
39642
|
key: 0,
|
|
39636
39643
|
class: "w-[48px] h-[48px] flex justify-center items-center rounded-[10px] text-white bg-aqua-900 mb-4"
|
|
39637
|
-
},
|
|
39644
|
+
}, Mge = { class: "text-[20px] font-semibold text-gray-900" }, Age = ["innerHTML"], _ge = ["href", "target"], Bge = {
|
|
39638
39645
|
__name: "LinkCard",
|
|
39639
39646
|
props: {
|
|
39640
39647
|
section: {
|
|
@@ -39643,24 +39650,24 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39643
39650
|
}
|
|
39644
39651
|
},
|
|
39645
39652
|
setup(t) {
|
|
39646
|
-
const n =
|
|
39647
|
-
return
|
|
39653
|
+
const n = Ce(t.section), r = Te(() => n.value.components.find((d) => d.type === "header")), l = Te(() => n.value.components.find((d) => d.type === "link_cards")), u = Ce(null), c = Ce(null);
|
|
39654
|
+
return I1(() => {
|
|
39648
39655
|
u.value && c.value && (u.value.style.height = `${c.value.offsetHeight}px`);
|
|
39649
39656
|
}), (d, a) => {
|
|
39650
39657
|
var h, f, m, p, w;
|
|
39651
|
-
return s(), i("div",
|
|
39652
|
-
o("div",
|
|
39653
|
-
r.value ? (s(), i("div",
|
|
39654
|
-
o("h3",
|
|
39658
|
+
return s(), i("div", vge, [
|
|
39659
|
+
o("div", wge, [
|
|
39660
|
+
r.value ? (s(), i("div", gge, [
|
|
39661
|
+
o("h3", xge, be(r.value.title), 1),
|
|
39655
39662
|
(h = r.value) != null && h.supporting_text ? (s(), i("div", {
|
|
39656
39663
|
key: 0,
|
|
39657
39664
|
class: "text-[20px] font-normal mt-2 text-gray-600 leading-[30px] max-w-[768px] mx-auto",
|
|
39658
39665
|
innerHTML: r.value.supporting_text
|
|
39659
|
-
}, null, 8,
|
|
39666
|
+
}, null, 8, kge)) : de("", !0)
|
|
39660
39667
|
])) : de("", !0),
|
|
39661
39668
|
l.value ? (s(), i("div", {
|
|
39662
39669
|
key: 1,
|
|
39663
|
-
class:
|
|
39670
|
+
class: Re(["flex w-full", { "gap-8": (f = r.value) == null ? void 0 : f.featured_image }])
|
|
39664
39671
|
}, [
|
|
39665
39672
|
(m = r.value) != null && m.featured_image ? (s(), i("div", {
|
|
39666
39673
|
key: 0,
|
|
@@ -39672,35 +39679,35 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39672
39679
|
src: (p = r.value) == null ? void 0 : p.featured_image,
|
|
39673
39680
|
class: "rounded-br-[24px] rounded-tl-[24px] h-full w-full object-cover",
|
|
39674
39681
|
alt: "Feature"
|
|
39675
|
-
}, null, 8,
|
|
39682
|
+
}, null, 8, Cge)
|
|
39676
39683
|
], 512)) : de("", !0),
|
|
39677
39684
|
o("div", {
|
|
39678
|
-
class:
|
|
39685
|
+
class: Re(["flex gap-8 w-full", { "flex-col h-fit": (w = r.value) == null ? void 0 : w.featured_image }]),
|
|
39679
39686
|
ref_key: "rightColumn",
|
|
39680
39687
|
ref: c
|
|
39681
39688
|
}, [
|
|
39682
|
-
(s(!0), i(ze, null, Qe(l.value.data, (v, x) => (s(), i("div",
|
|
39683
|
-
v.icon ? (s(), i("div",
|
|
39689
|
+
(s(!0), i(ze, null, Qe(l.value.data, (v, x) => (s(), i("div", yge, [
|
|
39690
|
+
v.icon ? (s(), i("div", bge, [
|
|
39684
39691
|
(s(), Ze(wn, {
|
|
39685
39692
|
icon: v.icon,
|
|
39686
39693
|
"icon-classes": "w-5 h-5",
|
|
39687
39694
|
key: x
|
|
39688
39695
|
}, null, 8, ["icon"]))
|
|
39689
39696
|
])) : de("", !0),
|
|
39690
|
-
o("h1",
|
|
39697
|
+
o("h1", Mge, be(v.title), 1),
|
|
39691
39698
|
o("div", {
|
|
39692
39699
|
class: "text-lg text-gray-600 mt-2 leading-[24px]",
|
|
39693
39700
|
innerHTML: v.description
|
|
39694
|
-
}, null, 8,
|
|
39701
|
+
}, null, 8, Age),
|
|
39695
39702
|
v != null && v.primary_button.show ? (s(), i("a", {
|
|
39696
39703
|
key: 1,
|
|
39697
39704
|
class: "text-brand-700 inline-flex gap-1.5 items-center font-semibold text-base mt-4",
|
|
39698
|
-
href:
|
|
39705
|
+
href: ye(C1)(v.primary_button.url),
|
|
39699
39706
|
target: v.primary_button.open_in_new_tab ? "_blank" : ""
|
|
39700
39707
|
}, [
|
|
39701
39708
|
P1(be(v.primary_button.label) + " ", 1),
|
|
39702
|
-
me(
|
|
39703
|
-
], 8,
|
|
39709
|
+
me(ye(V1), { class: "w-5 h-5" })
|
|
39710
|
+
], 8, _ge)) : de("", !0)
|
|
39704
39711
|
]))), 256))
|
|
39705
39712
|
], 2)
|
|
39706
39713
|
], 2)) : de("", !0)
|
|
@@ -39708,14 +39715,14 @@ const iwe = { render: swe }, lwe = { class: "flex flex-col items-center gap-6 pb
|
|
|
39708
39715
|
]);
|
|
39709
39716
|
};
|
|
39710
39717
|
}
|
|
39711
|
-
},
|
|
39718
|
+
}, $ge = {
|
|
39712
39719
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39713
39720
|
fill: "none",
|
|
39714
39721
|
stroke: "currentColor",
|
|
39715
39722
|
viewBox: "0 0 24 24"
|
|
39716
39723
|
};
|
|
39717
|
-
function
|
|
39718
|
-
return s(), i("svg",
|
|
39724
|
+
function Sge(t, e) {
|
|
39725
|
+
return s(), i("svg", $ge, e[0] || (e[0] = [
|
|
39719
39726
|
o("path", {
|
|
39720
39727
|
"stroke-linecap": "round",
|
|
39721
39728
|
"stroke-linejoin": "round",
|
|
@@ -39724,13 +39731,13 @@ function Lge(t, e) {
|
|
|
39724
39731
|
}, null, -1)
|
|
39725
39732
|
]));
|
|
39726
39733
|
}
|
|
39727
|
-
const
|
|
39734
|
+
const jge = { render: Sge }, Lge = { class: "overflow-hidden" }, Tge = { class: "max-w-[1640px] md:px-[120px] mx-auto w-full bg-white py-[40px] flex gap-[10%]" }, Ege = {
|
|
39728
39735
|
key: 0,
|
|
39729
39736
|
class: "rounded-xl px-[40px] text-center mb-6 max-w-[1280px] mx-auto"
|
|
39730
|
-
},
|
|
39737
|
+
}, Hge = { class: "text-[36px] text-gray-900 font-semibold" }, Oge = ["innerHTML"], Rge = ["src"], Nge = {
|
|
39731
39738
|
key: 2,
|
|
39732
39739
|
class: "flex w-full"
|
|
39733
|
-
},
|
|
39740
|
+
}, Vge = { class: "relative bg-white hover:bg-gray-100 p-2 rounded-lg w-full" }, Pge = ["href", "target"], Ige = { class: "flex gap-4 items-center max-w-[94%] w-full" }, Dge = { class: "w-full" }, Fge = {
|
|
39734
39741
|
__name: "LinkList",
|
|
39735
39742
|
props: {
|
|
39736
39743
|
section: {
|
|
@@ -39739,43 +39746,43 @@ const Tge = { render: Lge }, Ege = { class: "overflow-hidden" }, Hge = { class:
|
|
|
39739
39746
|
}
|
|
39740
39747
|
},
|
|
39741
39748
|
setup(t) {
|
|
39742
|
-
const n =
|
|
39743
|
-
return (u, c) => (s(), i("div",
|
|
39744
|
-
o("div",
|
|
39749
|
+
const n = Ce(t.section), r = Te(() => n.value.components.filter((u) => u.type === "header")), l = Te(() => n.value.components.filter((u) => u.type === "links"));
|
|
39750
|
+
return (u, c) => (s(), i("div", Lge, [
|
|
39751
|
+
o("div", Tge, [
|
|
39745
39752
|
(s(!0), i(ze, null, Qe(r.value, (d, a) => (s(), i("div", {
|
|
39746
|
-
class:
|
|
39753
|
+
class: Re(["gap-4", { "w-1/2": n.value.two_columns }])
|
|
39747
39754
|
}, [
|
|
39748
|
-
d ? (s(), i("div",
|
|
39749
|
-
o("h3",
|
|
39755
|
+
d ? (s(), i("div", Ege, [
|
|
39756
|
+
o("h3", Hge, be(d.title), 1),
|
|
39750
39757
|
d != null && d.supporting_text ? (s(), i("p", {
|
|
39751
39758
|
key: 0,
|
|
39752
39759
|
class: "text-[20px] font-normal mt-2 text-gray-600 leading-[30px] max-w-[768px] mx-auto",
|
|
39753
39760
|
innerHTML: d.supporting_text
|
|
39754
|
-
}, null, 8,
|
|
39761
|
+
}, null, 8, Oge)) : de("", !0)
|
|
39755
39762
|
])) : de("", !0),
|
|
39756
39763
|
d != null && d.featured_image ? (s(), i("img", {
|
|
39757
39764
|
key: 1,
|
|
39758
39765
|
src: d == null ? void 0 : d.featured_image,
|
|
39759
39766
|
class: "rounded-[24px] w-full h-[480px] object-cover mb-6",
|
|
39760
39767
|
alt: "Feature"
|
|
39761
|
-
}, null, 8,
|
|
39762
|
-
l.value[a] ? (s(), i("div",
|
|
39768
|
+
}, null, 8, Rge)) : de("", !0),
|
|
39769
|
+
l.value[a] ? (s(), i("div", Nge, [
|
|
39763
39770
|
o("div", {
|
|
39764
|
-
class:
|
|
39771
|
+
class: Re({ "grid grid-cols-2 gap-x-[100px]": !n.value.two_columns, "flex flex-col gap-4 w-full": n.value.two_columns })
|
|
39765
39772
|
}, [
|
|
39766
|
-
(s(!0), i(ze, null, Qe(l.value[a].data, (h, f) => (s(), i("div",
|
|
39773
|
+
(s(!0), i(ze, null, Qe(l.value[a].data, (h, f) => (s(), i("div", Vge, [
|
|
39767
39774
|
h.url ? (s(), i("a", {
|
|
39768
39775
|
key: 0,
|
|
39769
39776
|
class: "text-gray-900 w-full inline-flex justify-between gap-1.5 items-center leading-[28px] font-semibold text-lg hover:underline",
|
|
39770
|
-
href:
|
|
39777
|
+
href: ye(C1)(h.url),
|
|
39771
39778
|
target: h.open_in_new_tab ? "_blank" : ""
|
|
39772
39779
|
}, [
|
|
39773
|
-
o("div",
|
|
39774
|
-
me(
|
|
39775
|
-
o("span",
|
|
39780
|
+
o("div", Ige, [
|
|
39781
|
+
me(ye(jge), { class: "w-5 h-5" }),
|
|
39782
|
+
o("span", Dge, be(h.title), 1)
|
|
39776
39783
|
]),
|
|
39777
|
-
me(
|
|
39778
|
-
], 8,
|
|
39784
|
+
me(ye(V1), { class: "w-5 h-5" })
|
|
39785
|
+
], 8, Pge)) : de("", !0)
|
|
39779
39786
|
]))), 256))
|
|
39780
39787
|
], 2)
|
|
39781
39788
|
])) : de("", !0)
|
|
@@ -39783,14 +39790,14 @@ const Tge = { render: Lge }, Ege = { class: "overflow-hidden" }, Hge = { class:
|
|
|
39783
39790
|
])
|
|
39784
39791
|
]));
|
|
39785
39792
|
}
|
|
39786
|
-
},
|
|
39793
|
+
}, Uge = {
|
|
39787
39794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39788
39795
|
fill: "none",
|
|
39789
39796
|
stroke: "currentColor",
|
|
39790
39797
|
viewBox: "0 0 24 24"
|
|
39791
39798
|
};
|
|
39792
|
-
function
|
|
39793
|
-
return s(), i("svg",
|
|
39799
|
+
function zge(t, e) {
|
|
39800
|
+
return s(), i("svg", Uge, e[0] || (e[0] = [
|
|
39794
39801
|
o("path", {
|
|
39795
39802
|
"stroke-linecap": "round",
|
|
39796
39803
|
"stroke-linejoin": "round",
|
|
@@ -39799,10 +39806,10 @@ function Gge(t, e) {
|
|
|
39799
39806
|
}, null, -1)
|
|
39800
39807
|
]));
|
|
39801
39808
|
}
|
|
39802
|
-
const
|
|
39809
|
+
const qge = { render: zge }, Gge = { class: "overflow-hidden" }, Wge = ["src"], Xge = {
|
|
39803
39810
|
key: 0,
|
|
39804
39811
|
class: "w-[48px] h-[48px] bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
|
|
39805
|
-
},
|
|
39812
|
+
}, Kge = { class: "text-[36px] text-gray-900 font-semibold" }, Zge = ["innerHTML"], Qge = { class: "flex" }, Yge = { class: "bg-gray-100 rounded-full w-[28px] h-[28px] flex items-center justify-center text-gray-500 mr-2" }, Jge = { class: "text-lg text-gray-600 w-[97%]" }, exe = {
|
|
39806
39813
|
__name: "BulletPoints",
|
|
39807
39814
|
props: {
|
|
39808
39815
|
section: {
|
|
@@ -39811,54 +39818,55 @@ const Wge = { render: Gge }, Xge = { class: "overflow-hidden" }, Kge = ["src"],
|
|
|
39811
39818
|
}
|
|
39812
39819
|
},
|
|
39813
39820
|
setup(t) {
|
|
39814
|
-
const n =
|
|
39821
|
+
const n = Ce(t.section), r = Te(() => n.value.components.find((u) => u.type === "header")), l = Te(() => n.value.components.find((u) => u.type === "bullet_points"));
|
|
39815
39822
|
return (u, c) => {
|
|
39816
39823
|
var d, a, h, f, m, p, w, v;
|
|
39817
|
-
return s(), i("div",
|
|
39824
|
+
return s(), i("div", Gge, [
|
|
39818
39825
|
o("div", {
|
|
39819
|
-
class:
|
|
39826
|
+
class: Re(["max-w-[1640px] md:px-[120px] mx-auto w-full my-[40px]", { "flex gap-8": (d = r.value) == null ? void 0 : d.featured_image, "flex-row-reverse justify-between": (a = r.value) == null ? void 0 : a.revert }])
|
|
39820
39827
|
}, [
|
|
39821
39828
|
(h = r.value) != null && h.featured_image ? (s(), i("img", {
|
|
39822
39829
|
key: 0,
|
|
39823
39830
|
src: (f = r.value) == null ? void 0 : f.featured_image,
|
|
39824
39831
|
class: "w-[480px] object-cover rounded-[24px]",
|
|
39825
39832
|
alt: "Feature"
|
|
39826
|
-
}, null, 8,
|
|
39833
|
+
}, null, 8, Wge)) : de("", !0),
|
|
39827
39834
|
r.value ? (s(), i("div", {
|
|
39828
39835
|
key: 1,
|
|
39829
|
-
class:
|
|
39836
|
+
class: Re({ "py-[48px]": (m = r.value) == null ? void 0 : m.featured_image })
|
|
39830
39837
|
}, [
|
|
39831
|
-
(p = r.value) != null && p.icon ? (s(), i("div",
|
|
39838
|
+
(p = r.value) != null && p.icon ? (s(), i("div", Xge, [
|
|
39832
39839
|
me(wn, {
|
|
39833
39840
|
icon: r.value.icon,
|
|
39834
39841
|
"icon-classes": "w-5 h-5 text-brand-600"
|
|
39835
39842
|
}, null, 8, ["icon"])
|
|
39836
39843
|
])) : de("", !0),
|
|
39837
|
-
o("h3",
|
|
39844
|
+
o("h3", Kge, be(r.value.title), 1),
|
|
39838
39845
|
(w = r.value) != null && w.supporting_text ? (s(), i("p", {
|
|
39839
39846
|
key: 1,
|
|
39840
39847
|
class: "text-[20px] font-normal mt-2 text-gray-600 leading-[30px]",
|
|
39841
39848
|
innerHTML: r.value.supporting_text
|
|
39842
|
-
}, null, 8,
|
|
39843
|
-
|
|
39844
|
-
|
|
39849
|
+
}, null, 8, Zge)) : de("", !0),
|
|
39850
|
+
l.value ? (s(), i("div", {
|
|
39851
|
+
key: 2,
|
|
39852
|
+
class: Re(["flex flex-col mt-8 gap-4", { "!grid grid-cols-3": !((v = r.value) != null && v.featured_image) }])
|
|
39845
39853
|
}, [
|
|
39846
|
-
(s(!0), i(ze, null, Qe(l.value.data, (x) => (s(), i("div",
|
|
39847
|
-
o("div",
|
|
39848
|
-
me(
|
|
39854
|
+
(s(!0), i(ze, null, Qe(l.value.data, (x) => (s(), i("div", Qge, [
|
|
39855
|
+
o("div", Yge, [
|
|
39856
|
+
me(ye(qge), { class: "w-4 h-4" })
|
|
39849
39857
|
]),
|
|
39850
|
-
o("p",
|
|
39858
|
+
o("p", Jge, be(x.title), 1)
|
|
39851
39859
|
]))), 256))
|
|
39852
|
-
], 2)
|
|
39860
|
+
], 2)) : de("", !0)
|
|
39853
39861
|
], 2)) : de("", !0)
|
|
39854
39862
|
], 2)
|
|
39855
39863
|
]);
|
|
39856
39864
|
};
|
|
39857
39865
|
}
|
|
39858
|
-
},
|
|
39866
|
+
}, txe = { class: "overflow-hidden" }, nxe = {
|
|
39859
39867
|
key: 0,
|
|
39860
39868
|
class: "max-w-[33.3%] w-full min-h-[320px]"
|
|
39861
|
-
},
|
|
39869
|
+
}, rxe = ["src", "alt"], oxe = ["src"], sxe = { class: "text-xl text-brand-600 font-semibold px-[56px]" }, ixe = ["innerHTML"], lxe = { class: "flex gap-1 mt-4" }, axe = ["src"], cxe = ["src"], uxe = {
|
|
39862
39870
|
__name: "Callout",
|
|
39863
39871
|
props: {
|
|
39864
39872
|
section: {
|
|
@@ -39867,69 +39875,69 @@ const Wge = { render: Gge }, Xge = { class: "overflow-hidden" }, Kge = ["src"],
|
|
|
39867
39875
|
}
|
|
39868
39876
|
},
|
|
39869
39877
|
setup(t) {
|
|
39870
|
-
const n =
|
|
39878
|
+
const n = Ce(t.section), r = Te(() => n.value.components.find((u) => u.type === "callout")), l = Te(() => n.value.components.find((u) => u.type === "image_block"));
|
|
39871
39879
|
return (u, c) => {
|
|
39872
39880
|
var d, a, h, f, m, p, w, v, x, C, b, A, $, R, V, I, X, W, se, K, M, N;
|
|
39873
|
-
return s(), i("div",
|
|
39881
|
+
return s(), i("div", txe, [
|
|
39874
39882
|
o("div", {
|
|
39875
|
-
class:
|
|
39883
|
+
class: Re(["max-w-[1640px] md:px-[120px] mx-auto w-full mt-[40px]", { "flex gap-8": (d = r.value) == null ? void 0 : d.featured_image }])
|
|
39876
39884
|
}, [
|
|
39877
|
-
l.value && ((a = n.value) != null && a.acknowledgement_style) || (h = r.value) != null && h.featured_image && !((f = n.value) != null && f.acknowledgement_style) ? (s(), i("div",
|
|
39885
|
+
l.value && ((a = n.value) != null && a.acknowledgement_style) || (h = r.value) != null && h.featured_image && !((f = n.value) != null && f.acknowledgement_style) ? (s(), i("div", nxe, [
|
|
39878
39886
|
l.value && ((m = n.value) != null && m.acknowledgement_style) ? (s(), i("img", {
|
|
39879
39887
|
key: 0,
|
|
39880
39888
|
src: l.value.featured_image,
|
|
39881
39889
|
alt: ((p = l.value) == null ? void 0 : p.caption) ?? "Image",
|
|
39882
39890
|
class: "w-[560px] object-cover rounded-[24px] h-full"
|
|
39883
|
-
}, null, 8,
|
|
39891
|
+
}, null, 8, rxe)) : de("", !0),
|
|
39884
39892
|
(w = r.value) != null && w.featured_image && !((v = n.value) != null && v.acknowledgement_style) ? (s(), i("img", {
|
|
39885
39893
|
key: 1,
|
|
39886
39894
|
src: (x = r.value) == null ? void 0 : x.featured_image,
|
|
39887
39895
|
class: "w-[560px] object-cover rounded-[24px] h-full",
|
|
39888
39896
|
alt: "Feature"
|
|
39889
|
-
}, null, 8,
|
|
39897
|
+
}, null, 8, oxe)) : de("", !0)
|
|
39890
39898
|
])) : de("", !0),
|
|
39891
39899
|
r.value ? (s(), i("div", {
|
|
39892
39900
|
key: 1,
|
|
39893
|
-
class:
|
|
39901
|
+
class: Re(["rounded-[24px] flex items-center justify-center flex-col", {
|
|
39894
39902
|
"bg-pale-100 min-h-[320px] w-full": !((C = r.value) != null && C.featured_image),
|
|
39895
39903
|
"border border-brand-400 w-full py-8": (b = r.value) == null ? void 0 : b.featured_image,
|
|
39896
39904
|
"w-full ": !((A = n.value) != null && A.acknowledgement_style),
|
|
39897
39905
|
"bg-gray-100 border-none": ($ = n.value) == null ? void 0 : $.acknowledgement_style
|
|
39898
39906
|
}])
|
|
39899
39907
|
}, [
|
|
39900
|
-
o("h3",
|
|
39908
|
+
o("h3", sxe, be(r.value.title), 1),
|
|
39901
39909
|
(R = r.value) != null && R.supporting_text ? (s(), i("p", {
|
|
39902
39910
|
key: 0,
|
|
39903
|
-
class:
|
|
39911
|
+
class: Re(["mt-2 px-[56px]", { "text-normal text-[20px] text-gray-700 leading-[30px]": (V = n.value) == null ? void 0 : V.acknowledgement_style, "text-[30px] font-semibold text-gray-900 leading-[38px] text-center": !((I = n.value) != null && I.acknowledgement_style) }]),
|
|
39904
39912
|
innerHTML: r.value.supporting_text
|
|
39905
|
-
}, null, 10,
|
|
39906
|
-
o("div",
|
|
39913
|
+
}, null, 10, ixe)) : de("", !0),
|
|
39914
|
+
o("div", lxe, [
|
|
39907
39915
|
(X = r.value) != null && X.featured_image && ((W = n.value) != null && W.acknowledgement_style) ? (s(), i("img", {
|
|
39908
39916
|
key: 0,
|
|
39909
39917
|
src: (se = r.value) == null ? void 0 : se.featured_image,
|
|
39910
39918
|
class: "h-[96px]",
|
|
39911
39919
|
alt: "Feature"
|
|
39912
|
-
}, null, 8,
|
|
39920
|
+
}, null, 8, axe)) : de("", !0),
|
|
39913
39921
|
(K = r.value) != null && K.featured_image2 && ((M = n.value) != null && M.acknowledgement_style) ? (s(), i("img", {
|
|
39914
39922
|
key: 1,
|
|
39915
39923
|
src: (N = r.value) == null ? void 0 : N.featured_image2,
|
|
39916
39924
|
class: "h-[96px]",
|
|
39917
39925
|
alt: "Feature"
|
|
39918
|
-
}, null, 8,
|
|
39926
|
+
}, null, 8, cxe)) : de("", !0)
|
|
39919
39927
|
])
|
|
39920
39928
|
], 2)) : de("", !0)
|
|
39921
39929
|
], 2)
|
|
39922
39930
|
]);
|
|
39923
39931
|
};
|
|
39924
39932
|
}
|
|
39925
|
-
},
|
|
39933
|
+
}, dxe = {
|
|
39926
39934
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39927
39935
|
fill: "none",
|
|
39928
39936
|
stroke: "currentColor",
|
|
39929
39937
|
viewBox: "0 0 24 24"
|
|
39930
39938
|
};
|
|
39931
|
-
function
|
|
39932
|
-
return s(), i("svg",
|
|
39939
|
+
function hxe(t, e) {
|
|
39940
|
+
return s(), i("svg", dxe, e[0] || (e[0] = [
|
|
39933
39941
|
o("path", {
|
|
39934
39942
|
"stroke-linecap": "round",
|
|
39935
39943
|
"stroke-linejoin": "round",
|
|
@@ -39938,14 +39946,14 @@ function pxe(t, e) {
|
|
|
39938
39946
|
}, null, -1)
|
|
39939
39947
|
]));
|
|
39940
39948
|
}
|
|
39941
|
-
const
|
|
39949
|
+
const fxe = { render: hxe }, pxe = {
|
|
39942
39950
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39943
39951
|
fill: "none",
|
|
39944
39952
|
stroke: "currentColor",
|
|
39945
39953
|
viewBox: "0 0 24 24"
|
|
39946
39954
|
};
|
|
39947
|
-
function
|
|
39948
|
-
return s(), i("svg",
|
|
39955
|
+
function mxe(t, e) {
|
|
39956
|
+
return s(), i("svg", pxe, e[0] || (e[0] = [
|
|
39949
39957
|
o("path", {
|
|
39950
39958
|
"stroke-linecap": "round",
|
|
39951
39959
|
"stroke-linejoin": "round",
|
|
@@ -39954,14 +39962,14 @@ function wxe(t, e) {
|
|
|
39954
39962
|
}, null, -1)
|
|
39955
39963
|
]));
|
|
39956
39964
|
}
|
|
39957
|
-
const
|
|
39965
|
+
const vxe = { render: mxe }, wxe = {
|
|
39958
39966
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39959
39967
|
fill: "none",
|
|
39960
39968
|
stroke: "currentColor",
|
|
39961
39969
|
viewBox: "0 0 24 24"
|
|
39962
39970
|
};
|
|
39963
|
-
function
|
|
39964
|
-
return s(), i("svg",
|
|
39971
|
+
function gxe(t, e) {
|
|
39972
|
+
return s(), i("svg", wxe, e[0] || (e[0] = [
|
|
39965
39973
|
o("path", {
|
|
39966
39974
|
"stroke-linecap": "round",
|
|
39967
39975
|
"stroke-linejoin": "round",
|
|
@@ -39970,10 +39978,10 @@ function kxe(t, e) {
|
|
|
39970
39978
|
}, null, -1)
|
|
39971
39979
|
]));
|
|
39972
39980
|
}
|
|
39973
|
-
const
|
|
39981
|
+
const xxe = { render: gxe }, kxe = { class: "overflow-hidden" }, Cxe = { class: "max-w-[1640px] md:px-[120px] mx-auto w-full my-[40px] flex justify-center" }, yxe = {
|
|
39974
39982
|
key: 0,
|
|
39975
39983
|
class: "bg-gray-100 rounded-[16px] flex justify-center w-full"
|
|
39976
|
-
},
|
|
39984
|
+
}, bxe = { class: "flex items-center justify-center flex-col py-[40px] max-w-[820px]" }, Mxe = { class: "flex justify-between relative w-[150px]" }, Axe = { class: "w-[56px] h-[56px] border-[2px] border-white bg-gray-200 rounded-full flex justify-center items-center" }, _xe = { class: "w-[56px] h-[56px] border-[2px] border-white bg-gray-200 rounded-full flex justify-center items-center absolute top-[40%] left-1/2 -translate-x-1/2 -translate-y-1/2" }, Bxe = { class: "w-[56px] h-[56px] border-[2px] border-white bg-gray-200 rounded-full flex justify-center items-center" }, $xe = { class: "text-[24px] text-gray-900 font-semibold mt-4" }, Sxe = ["innerHTML"], jxe = { class: "flex gap-2" }, Lxe = ["href"], Txe = {
|
|
39977
39985
|
__name: "ContactUs",
|
|
39978
39986
|
props: {
|
|
39979
39987
|
section: {
|
|
@@ -39982,40 +39990,40 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
39982
39990
|
}
|
|
39983
39991
|
},
|
|
39984
39992
|
setup(t) {
|
|
39985
|
-
const n =
|
|
39993
|
+
const n = Ce(t.section), r = Te(() => n.value.components.find((u) => u.type === "header")), l = Te(() => n.value.components.find((u) => u.type === "contact_us"));
|
|
39986
39994
|
return (u, c) => {
|
|
39987
39995
|
var d;
|
|
39988
|
-
return s(), i("div",
|
|
39989
|
-
o("div",
|
|
39990
|
-
r.value ? (s(), i("div",
|
|
39991
|
-
o("div",
|
|
39992
|
-
o("div",
|
|
39993
|
-
o("div",
|
|
39994
|
-
me(
|
|
39996
|
+
return s(), i("div", kxe, [
|
|
39997
|
+
o("div", Cxe, [
|
|
39998
|
+
r.value ? (s(), i("div", yxe, [
|
|
39999
|
+
o("div", bxe, [
|
|
40000
|
+
o("div", Mxe, [
|
|
40001
|
+
o("div", Axe, [
|
|
40002
|
+
me(ye(fxe), { class: "w-6 h-6 text-gray-600" })
|
|
39995
40003
|
]),
|
|
39996
|
-
o("div",
|
|
39997
|
-
me(
|
|
40004
|
+
o("div", _xe, [
|
|
40005
|
+
me(ye(vxe), { class: "w-6 h-6 text-gray-600" })
|
|
39998
40006
|
]),
|
|
39999
|
-
o("div",
|
|
40000
|
-
me(
|
|
40007
|
+
o("div", Bxe, [
|
|
40008
|
+
me(ye(xxe), { class: "w-6 h-6 text-gray-600" })
|
|
40001
40009
|
])
|
|
40002
40010
|
]),
|
|
40003
|
-
o("h3",
|
|
40011
|
+
o("h3", $xe, be(r.value.title), 1),
|
|
40004
40012
|
(d = r.value) != null && d.supporting_text ? (s(), i("p", {
|
|
40005
40013
|
key: 0,
|
|
40006
40014
|
class: "text-[18px] font-normal mt-2 text-gray-600 leading-[30px] text-center",
|
|
40007
40015
|
innerHTML: r.value.supporting_text
|
|
40008
|
-
}, null, 8,
|
|
40009
|
-
o("div",
|
|
40016
|
+
}, null, 8, Sxe)) : de("", !0),
|
|
40017
|
+
o("div", jxe, [
|
|
40010
40018
|
(s(!0), i(ze, null, Qe(l.value.data, (a) => (s(), i(ze, null, [
|
|
40011
40019
|
a != null && a.show ? (s(), i("a", {
|
|
40012
40020
|
key: 0,
|
|
40013
|
-
class:
|
|
40021
|
+
class: Re(["inline-flex gap-1.5 items-center font-semibold text-base mt-4 px-5 py-2.5 rounded-full", { "text-brand-700 hover:bg-white border border-brand-300": a.type === "phone", "text-white bg-brand-600 hover:bg-brand-800": a.type === "email" }]),
|
|
40014
40022
|
href: `${a.type === "email" ? "mailto:" : "tel:"} ${a.address}`
|
|
40015
40023
|
}, [
|
|
40016
40024
|
P1(be(a.label) + " ", 1),
|
|
40017
|
-
me(
|
|
40018
|
-
], 10,
|
|
40025
|
+
me(ye(V1), { class: "w-5 h-5" })
|
|
40026
|
+
], 10, Lxe)) : de("", !0)
|
|
40019
40027
|
], 64))), 256))
|
|
40020
40028
|
])
|
|
40021
40029
|
])
|
|
@@ -40024,7 +40032,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40024
40032
|
]);
|
|
40025
40033
|
};
|
|
40026
40034
|
}
|
|
40027
|
-
},
|
|
40035
|
+
}, Exe = { class: "page-render" }, $ke = {
|
|
40028
40036
|
__name: "PageRender",
|
|
40029
40037
|
props: {
|
|
40030
40038
|
page: {
|
|
@@ -40033,7 +40041,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40033
40041
|
}
|
|
40034
40042
|
},
|
|
40035
40043
|
setup(t) {
|
|
40036
|
-
const e =
|
|
40044
|
+
const e = Ce({
|
|
40037
40045
|
paragraph: We(Rwe),
|
|
40038
40046
|
standard_header: We(Swe),
|
|
40039
40047
|
header: We(Kme),
|
|
@@ -40042,15 +40050,15 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40042
40050
|
logo: We(yve),
|
|
40043
40051
|
collection_carousel: We(rwe),
|
|
40044
40052
|
collection_grid: We(Awe),
|
|
40045
|
-
two_column_image_content: We(
|
|
40046
|
-
timeline: We(
|
|
40047
|
-
link_card: We(
|
|
40048
|
-
link_list: We(
|
|
40049
|
-
bullet_points: We(
|
|
40050
|
-
callout: We(
|
|
40051
|
-
contact_us: We(
|
|
40053
|
+
two_column_image_content: We(Jwe),
|
|
40054
|
+
timeline: We(mge),
|
|
40055
|
+
link_card: We(Bge),
|
|
40056
|
+
link_list: We(Fge),
|
|
40057
|
+
bullet_points: We(exe),
|
|
40058
|
+
callout: We(uxe),
|
|
40059
|
+
contact_us: We(Txe)
|
|
40052
40060
|
}), n = (r) => r != null && r.type ? e.value[r == null ? void 0 : r.type] : "";
|
|
40053
|
-
return (r, l) => (s(), i("div",
|
|
40061
|
+
return (r, l) => (s(), i("div", Exe, [
|
|
40054
40062
|
(s(!0), i(ze, null, Qe(t.page.sections, (u, c) => (s(), i("div", null, [
|
|
40055
40063
|
(s(), Ze(Y1(n(u)), {
|
|
40056
40064
|
key: c,
|
|
@@ -40059,7 +40067,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40059
40067
|
]))), 256))
|
|
40060
40068
|
]));
|
|
40061
40069
|
}
|
|
40062
|
-
},
|
|
40070
|
+
}, Hxe = { class: "item-edit" }, Oxe = { class: "flex items-start gap-4 px-6 pt-4 h-full min-h-[90vh]" }, Rxe = { class: "flex flex-1 flex-col gap-4 mb-4" }, Nxe = { key: 0 }, Vxe = { class: "flex justify-between mb-4" }, Pxe = { class: "flex flex-col gap-1" }, Ixe = { class: "text-sm" }, Dxe = ["disabled"], Fxe = { class: "flex flex-col gap-4" }, Uxe = { class: "flex justify-between items-center border-b border-gray-200 pb-3 mb-4" }, zxe = { class: "text-lg font-semibold text-gray-900" }, qxe = ["onUpdate:modelValue"], Gxe = { class: "flex flex-col gap-8" }, Wxe = { class: "flex w-full max-w-[356px] flex-col gap-4" }, Xxe = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6" }, Ske = {
|
|
40063
40071
|
__name: "ItemEdit",
|
|
40064
40072
|
props: {
|
|
40065
40073
|
item: {
|
|
@@ -40082,12 +40090,12 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40082
40090
|
emits: ["update"],
|
|
40083
40091
|
setup(t, { emit: e }) {
|
|
40084
40092
|
var x, C;
|
|
40085
|
-
const n = Gt("VFileUpload", J1), r = e, l = t, u = Te(() => l.item.hasOwnProperty("lines")), c =
|
|
40093
|
+
const n = Gt("VFileUpload", J1), r = e, l = t, u = Te(() => l.item.hasOwnProperty("lines")), c = Ce(null), d = Ce({
|
|
40086
40094
|
public: l.item.public,
|
|
40087
40095
|
title: l.item.title,
|
|
40088
40096
|
description: l.item.description,
|
|
40089
40097
|
featured_image: l.item.featured_image
|
|
40090
|
-
}), a =
|
|
40098
|
+
}), a = Ce({
|
|
40091
40099
|
title: l.item.title,
|
|
40092
40100
|
title_group: (x = l.item) == null ? void 0 : x.title_group,
|
|
40093
40101
|
max_items: (C = l.item) == null ? void 0 : C.max_items,
|
|
@@ -40116,31 +40124,31 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40116
40124
|
};
|
|
40117
40125
|
return (b, A) => {
|
|
40118
40126
|
var $, R, V;
|
|
40119
|
-
return s(), i("div",
|
|
40120
|
-
o("div",
|
|
40121
|
-
o("div",
|
|
40122
|
-
u.value ? (s(), i("div",
|
|
40123
|
-
o("div",
|
|
40124
|
-
o("div",
|
|
40127
|
+
return s(), i("div", Hxe, [
|
|
40128
|
+
o("div", Oxe, [
|
|
40129
|
+
o("div", Rxe, [
|
|
40130
|
+
u.value ? (s(), i("div", Nxe, [
|
|
40131
|
+
o("div", Vxe, [
|
|
40132
|
+
o("div", Pxe, [
|
|
40125
40133
|
A[6] || (A[6] = o("p", { class: "text-base font-semibold text-gray-900" }, "Events", -1)),
|
|
40126
|
-
o("p",
|
|
40134
|
+
o("p", Ixe, " This timeline item can contain up to " + be(($ = t.item) == null ? void 0 : $.max_items) + " events. ", 1)
|
|
40127
40135
|
]),
|
|
40128
40136
|
o("button", {
|
|
40129
40137
|
disabled: a.value.lines.length >= ((R = t.item) == null ? void 0 : R.max_items),
|
|
40130
40138
|
onClick: h,
|
|
40131
|
-
class:
|
|
40139
|
+
class: Re(["text-sm cursor-pointer flex items-center justify-center gap-1 rounded-[99px] border border-brand-600 bg-brand-500 px-3.5 h-[40px] font-semibold text-white hover:bg-brand-600", { "border-gray-100 bg-gray-100 !text-gray-400 hover:bg-gray-100": a.value.lines.length >= ((V = t.item) == null ? void 0 : V.max_items) }])
|
|
40132
40140
|
}, [
|
|
40133
|
-
me(
|
|
40141
|
+
me(ye(m0), { class: "h-5 w-5" }),
|
|
40134
40142
|
A[7] || (A[7] = o("span", null, "Event", -1))
|
|
40135
|
-
], 10,
|
|
40143
|
+
], 10, Dxe)
|
|
40136
40144
|
]),
|
|
40137
|
-
o("div",
|
|
40145
|
+
o("div", Fxe, [
|
|
40138
40146
|
(s(!0), i(ze, null, Qe(a.value.lines, (I, X) => (s(), i("div", {
|
|
40139
40147
|
key: X,
|
|
40140
40148
|
class: "flex flex-col gap-2 rounded-lg px-6 pt-4 pb-[40px] bg-gray-50"
|
|
40141
40149
|
}, [
|
|
40142
|
-
o("div",
|
|
40143
|
-
o("p",
|
|
40150
|
+
o("div", Uxe, [
|
|
40151
|
+
o("p", zxe, " Event #" + be(X + 1), 1),
|
|
40144
40152
|
me(Bn, {
|
|
40145
40153
|
onRemoveItem: (W) => v(X)
|
|
40146
40154
|
}, null, 8, ["onRemoveItem"])
|
|
@@ -40159,7 +40167,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40159
40167
|
type: "text",
|
|
40160
40168
|
placeholder: "Heading",
|
|
40161
40169
|
class: "border-1 border-solid border-gray-300 rounded-lg bg-white w-full"
|
|
40162
|
-
}, null, 8,
|
|
40170
|
+
}, null, 8, qxe), [
|
|
40163
40171
|
[Lt, I.title]
|
|
40164
40172
|
])
|
|
40165
40173
|
]),
|
|
@@ -40188,7 +40196,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40188
40196
|
title: "Description"
|
|
40189
40197
|
}, {
|
|
40190
40198
|
default: Xe(() => [
|
|
40191
|
-
o("div",
|
|
40199
|
+
o("div", Gxe, [
|
|
40192
40200
|
me(pt, {
|
|
40193
40201
|
"is-vertical": "",
|
|
40194
40202
|
field: "title",
|
|
@@ -40242,7 +40250,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40242
40250
|
sites: t.sites
|
|
40243
40251
|
}, null, 8, ["button", "sites"])) : de("", !0)
|
|
40244
40252
|
]),
|
|
40245
|
-
o("div",
|
|
40253
|
+
o("div", Wxe, [
|
|
40246
40254
|
u.value ? (s(), i(ze, { key: 1 }, [
|
|
40247
40255
|
me(t1, {
|
|
40248
40256
|
title: "Timeline item title",
|
|
@@ -40324,7 +40332,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40324
40332
|
supporting_text: "Recommended dimension: 1200*1060px"
|
|
40325
40333
|
}, {
|
|
40326
40334
|
default: Xe(() => [
|
|
40327
|
-
me(
|
|
40335
|
+
me(ye(n), {
|
|
40328
40336
|
name: "image",
|
|
40329
40337
|
height: "h-[200px]",
|
|
40330
40338
|
modelValue: d.value.featured_image,
|
|
@@ -40337,7 +40345,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40337
40345
|
])
|
|
40338
40346
|
]),
|
|
40339
40347
|
a0(b.$slots, "default", {}, () => [
|
|
40340
|
-
o("div",
|
|
40348
|
+
o("div", Xxe, [
|
|
40341
40349
|
o("a", {
|
|
40342
40350
|
onClick: p,
|
|
40343
40351
|
class: "w-[200px] py-[9px] bg-white rounded-full border border-gray-300 shadow-xs text-md font-semibold hover:bg-gray-100 text-gray-700 text-center cursor-pointer"
|
|
@@ -40357,7 +40365,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40357
40365
|
]);
|
|
40358
40366
|
};
|
|
40359
40367
|
}
|
|
40360
|
-
},
|
|
40368
|
+
}, Kxe = { class: "item-edit" }, Zxe = { class: "flex items-start gap-4 px-6 pt-4 h-full min-h-[90vh]" }, Qxe = { class: "flex flex-1 flex-col gap-4" }, Yxe = { class: "flex flex-col gap-8" }, Jxe = { class: "flex gap-4" }, eke = { class: "flex w-full max-w-[356px] flex-col gap-4" }, tke = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 sticky bottom-0 w-full bg-gray-200 py-2 px-6" }, jke = {
|
|
40361
40369
|
__name: "LinkCardEdit",
|
|
40362
40370
|
props: {
|
|
40363
40371
|
item: {
|
|
@@ -40379,7 +40387,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40379
40387
|
},
|
|
40380
40388
|
emits: ["update"],
|
|
40381
40389
|
setup(t, { emit: e }) {
|
|
40382
|
-
const n = e, r = t, l =
|
|
40390
|
+
const n = e, r = t, l = Ce({
|
|
40383
40391
|
icon: r.item.icon,
|
|
40384
40392
|
public: r.item.public,
|
|
40385
40393
|
title: r.item.title,
|
|
@@ -40400,13 +40408,13 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40400
40408
|
var f;
|
|
40401
40409
|
return ((f = l.value.description) == null ? void 0 : f.replace(/<[^>]*>/g, " ").trim()).split(/\s+/).filter((m) => m.length > 0).length;
|
|
40402
40410
|
});
|
|
40403
|
-
return (a, h) => (s(), i("div",
|
|
40404
|
-
o("div",
|
|
40405
|
-
o("div",
|
|
40411
|
+
return (a, h) => (s(), i("div", Kxe, [
|
|
40412
|
+
o("div", Zxe, [
|
|
40413
|
+
o("div", Qxe, [
|
|
40406
40414
|
me(t1, { title: "Description" }, {
|
|
40407
40415
|
default: Xe(() => [
|
|
40408
|
-
o("div",
|
|
40409
|
-
o("div",
|
|
40416
|
+
o("div", Yxe, [
|
|
40417
|
+
o("div", Jxe, [
|
|
40410
40418
|
me(pt, {
|
|
40411
40419
|
"is-vertical": "",
|
|
40412
40420
|
field: "icon",
|
|
@@ -40471,7 +40479,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40471
40479
|
sites: t.sites
|
|
40472
40480
|
}, null, 8, ["button", "sites"])) : de("", !0)
|
|
40473
40481
|
]),
|
|
40474
|
-
o("div",
|
|
40482
|
+
o("div", eke, [
|
|
40475
40483
|
me(t1, {
|
|
40476
40484
|
title: "Visibility",
|
|
40477
40485
|
supporting_text: "Toggle off if you'd like to hide this item"
|
|
@@ -40489,7 +40497,7 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40489
40497
|
])
|
|
40490
40498
|
]),
|
|
40491
40499
|
a0(a.$slots, "default", {}, () => [
|
|
40492
|
-
o("div",
|
|
40500
|
+
o("div", tke, [
|
|
40493
40501
|
o("a", {
|
|
40494
40502
|
onClick: c,
|
|
40495
40503
|
class: "w-[200px] py-[9px] bg-white rounded-full border border-gray-300 shadow-xs text-md font-semibold hover:bg-gray-100 text-gray-700 text-center cursor-pointer"
|
|
@@ -40504,8 +40512,8 @@ const Cxe = { render: kxe }, yxe = { class: "overflow-hidden" }, bxe = { class:
|
|
|
40504
40512
|
}
|
|
40505
40513
|
};
|
|
40506
40514
|
export {
|
|
40507
|
-
|
|
40508
|
-
|
|
40509
|
-
|
|
40510
|
-
|
|
40515
|
+
Ske as ItemEdit,
|
|
40516
|
+
jke as LinkCardEdit,
|
|
40517
|
+
Bke as PageBuilder,
|
|
40518
|
+
$ke as PageRender
|
|
40511
40519
|
};
|