officialblock 1.6.9 → 1.7.0

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.
@@ -64,7 +64,7 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
64
64
  emits: ["handleClick"],
65
65
  setup(n, { emit: e }) {
66
66
  const t = n, l = e, a = () => {
67
- t.data.url && (t.data.url.startsWith("http") ? window.open(t.data.url, "_blank") : l("handleClick", t.data.url));
67
+ t.data.url && (t.data.url.startsWith("http") ? window == null || window.open(t.data.url, "_blank") : l("handleClick", t.data.url));
68
68
  };
69
69
  return (s, i) => n.type === "button" ? (b(), S("div", {
70
70
  key: 0,
@@ -87,7 +87,7 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
87
87
  for (const [l, a] of e)
88
88
  t[l] = a;
89
89
  return t;
90
- }, Ps = /* @__PURE__ */ le(Xu, [["__scopeId", "data-v-d959a3d5"]]), qu = { class: "article-item" }, Du = { class: "article-item-title" }, Yu = ["innerHTML"], Fu = {
90
+ }, Ps = /* @__PURE__ */ le(Xu, [["__scopeId", "data-v-c5422e10"]]), qu = { class: "article-item" }, Du = { class: "article-item-title" }, Yu = ["innerHTML"], Fu = {
91
91
  key: 0,
92
92
  class: "article-item-button"
93
93
  }, Zu = {
@@ -238,9 +238,9 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
238
238
  }, async () => {
239
239
  await ze(), u();
240
240
  }), xt(() => {
241
- window.addEventListener("resize", u), ze(u);
241
+ window == null || window.addEventListener("resize", u), ze(u);
242
242
  }), Xs(() => {
243
- window.removeEventListener("resize", u);
243
+ window == null || window.removeEventListener("resize", u);
244
244
  }), (y, g) => {
245
245
  const w = j("a-image"), _ = j("icon-caret-right");
246
246
  return b(), S(K, null, [
@@ -324,7 +324,7 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
324
324
  ], 64);
325
325
  };
326
326
  }
327
- }), fc = /* @__PURE__ */ le(pc, [["__scopeId", "data-v-a39a94f2"]]), vc = /* @__PURE__ */ te({
327
+ }), fc = /* @__PURE__ */ le(pc, [["__scopeId", "data-v-40be1452"]]), vc = /* @__PURE__ */ te({
328
328
  __name: "index",
329
329
  props: {
330
330
  modelValue: {
@@ -6732,7 +6732,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
6732
6732
  emits: ["update:modelValue", "handleDelete", "handleCopy", "handlePaste"],
6733
6733
  setup(n, { emit: e }) {
6734
6734
  Fa.registerPlugin(Ne);
6735
- const t = n, l = e, a = F(() => window.innerWidth), s = () => {
6735
+ const t = n, l = e, a = F(() => window == null ? void 0 : window.innerWidth), s = () => {
6736
6736
  var N;
6737
6737
  if (t.modelValue && t.modelValue.data) return;
6738
6738
  const O = {
@@ -6785,7 +6785,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
6785
6785
  return a.value <= 767.98 && v.value < ((O = h.value) == null ? void 0 : O.length);
6786
6786
  }), g = () => {
6787
6787
  if (typeof window < "u")
6788
- return Math.round(window.pageYOffset);
6788
+ return Math.round(window == null ? void 0 : window.pageYOffset);
6789
6789
  }, w = F(() => g());
6790
6790
  Ce(() => w.value, () => {
6791
6791
  a.value >= 768 || M(x, 5e3);
@@ -6807,8 +6807,8 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
6807
6807
  {
6808
6808
  "--line-height": "100%",
6809
6809
  scrollTrigger: {
6810
- start: () => window.innerWidth < 768 ? "top center" : `top top+=${50 + Y * 35}px`,
6811
- end: () => window.innerWidth < 768 ? "center center" : `bottom center+=${Y * 25}px`,
6810
+ start: () => (window == null ? void 0 : window.innerWidth) < 768 ? "top center" : `top top+=${50 + Y * 35}px`,
6811
+ end: () => (window == null ? void 0 : window.innerWidth) < 768 ? "center center" : `bottom center+=${Y * 25}px`,
6812
6812
  scrub: 1,
6813
6813
  trigger: N[Y],
6814
6814
  scroller: R,
@@ -6959,7 +6959,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
6959
6959
  ], 64);
6960
6960
  };
6961
6961
  }
6962
- }), au = /* @__PURE__ */ le(A1, [["__scopeId", "data-v-c2437ee0"]]), m1 = { class: "setting-content" }, p1 = { class: "setting-header flex items-center" }, f1 = { class: "setting-body" }, v1 = { class: "setting-item" }, h1 = { class: "btn-group" }, g1 = {
6962
+ }), au = /* @__PURE__ */ le(A1, [["__scopeId", "data-v-38620343"]]), m1 = { class: "setting-content" }, p1 = { class: "setting-header flex items-center" }, f1 = { class: "setting-body" }, v1 = { class: "setting-item" }, h1 = { class: "btn-group" }, g1 = {
6963
6963
  key: 0,
6964
6964
  class: "drag-handle"
6965
6965
  }, y1 = { class: "item-schedule-list" }, b1 = { class: "btn-group" }, w1 = {
@@ -7261,7 +7261,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7261
7261
  emits: ["update:modelValue", "handleDelete", "handleCopy", "handlePaste"],
7262
7262
  setup(n, { emit: e }) {
7263
7263
  Fa.registerPlugin(Ne);
7264
- const t = n, l = e, a = F(() => window.innerWidth), s = () => {
7264
+ const t = n, l = e, a = F(() => window == null ? void 0 : window.innerWidth), s = () => {
7265
7265
  var N;
7266
7266
  if (t.modelValue && t.modelValue.data) return;
7267
7267
  const O = {
@@ -7348,7 +7348,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7348
7348
  return a.value <= 767.98 && v.value < ((O = h.value) == null ? void 0 : O.length);
7349
7349
  }), g = () => {
7350
7350
  if (typeof window < "u")
7351
- return Math.round(window.pageYOffset);
7351
+ return Math.round(window == null ? void 0 : window.pageYOffset);
7352
7352
  }, w = F(() => g());
7353
7353
  Ce(() => w.value, () => {
7354
7354
  a.value >= 768 || M(x, 5e3);
@@ -7370,8 +7370,8 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7370
7370
  {
7371
7371
  "--line-height": "100%",
7372
7372
  scrollTrigger: {
7373
- start: () => window.innerWidth < 768 ? "top center" : `top top+=${50 + Y * 35}px`,
7374
- end: () => window.innerWidth < 768 ? "center center" : `bottom center+=${Y * 25}px`,
7373
+ start: () => (window == null ? void 0 : window.innerWidth) < 768 ? "top center" : `top top+=${50 + Y * 35}px`,
7374
+ end: () => (window == null ? void 0 : window.innerWidth) < 768 ? "center center" : `bottom center+=${Y * 25}px`,
7375
7375
  scrub: 1,
7376
7376
  trigger: N[Y],
7377
7377
  scroller: R,
@@ -7535,7 +7535,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7535
7535
  ], 64);
7536
7536
  };
7537
7537
  }
7538
- }), su = /* @__PURE__ */ le(q1, [["__scopeId", "data-v-99e9210c"]]), D1 = ["href"], Y1 = ["onClick"], F1 = {
7538
+ }), su = /* @__PURE__ */ le(q1, [["__scopeId", "data-v-5547ab56"]]), D1 = ["href"], Y1 = ["onClick"], F1 = {
7539
7539
  key: 1,
7540
7540
  class: "text-link"
7541
7541
  }, Z1 = ["onClick"], G1 = { class: "text-link__text" }, J1 = /* @__PURE__ */ te({
@@ -7598,7 +7598,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7598
7598
  },
7599
7599
  emits: ["updateIdx"],
7600
7600
  setup(n, { emit: e }) {
7601
- const t = n, l = e, a = $(72), s = $(250), i = $(window.innerWidth), d = $([]), A = F(() => {
7601
+ const t = n, l = e, a = $(72), s = $(250), i = $(window == null ? void 0 : window.innerWidth), d = $([]), A = F(() => {
7602
7602
  var f, p;
7603
7603
  const v = (p = (f = t.data) == null ? void 0 : f.processes) == null ? void 0 : p.length;
7604
7604
  return !v || v <= 1 ? "0%" : `${c.value / (v - 1) * 100}%`;
@@ -7610,7 +7610,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7610
7610
  l("updateIdx", v);
7611
7611
  }
7612
7612
  }), u = () => {
7613
- i.value = window.innerWidth;
7613
+ i.value = window == null ? void 0 : window.innerWidth;
7614
7614
  }, r = () => {
7615
7615
  const v = d.value;
7616
7616
  if (!v || v.length === 0) return;
@@ -7622,11 +7622,11 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7622
7622
  return Ce(i, () => {
7623
7623
  r();
7624
7624
  }), xt(() => {
7625
- window.addEventListener("resize", u), u(), d.value = [], ze(() => {
7625
+ window == null || window.addEventListener("resize", u), u(), d.value = [], ze(() => {
7626
7626
  r();
7627
7627
  });
7628
7628
  }), Hn(() => {
7629
- window.removeEventListener("resize", u);
7629
+ window == null || window.removeEventListener("resize", u);
7630
7630
  }), (v, f) => {
7631
7631
  var p, h, V, y;
7632
7632
  return b(), S("div", K1, [
@@ -7713,7 +7713,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7713
7713
  ]);
7714
7714
  };
7715
7715
  }
7716
- }), mv = /* @__PURE__ */ le(Av, [["__scopeId", "data-v-485de4f0"]]), pv = { class: "process-accordion" }, fv = { class: "text-blue-dark" }, vv = { class: "process-list my-6" }, hv = ["onClick"], gv = { class: "item-date tx-body-p" }, yv = { class: "item-line" }, bv = { class: "item-collapse__header flex-between" }, wv = { class: "collapse__header__title" }, _v = ["innerHTML"], xv = { class: "item__link mt-1" }, Vv = { class: "link-list__container" }, kv = /* @__PURE__ */ te({
7716
+ }), mv = /* @__PURE__ */ le(Av, [["__scopeId", "data-v-71038fed"]]), pv = { class: "process-accordion" }, fv = { class: "text-blue-dark" }, vv = { class: "process-list my-6" }, hv = ["onClick"], gv = { class: "item-date tx-body-p" }, yv = { class: "item-line" }, bv = { class: "item-collapse__header flex-between" }, wv = { class: "collapse__header__title" }, _v = ["innerHTML"], xv = { class: "item__link mt-1" }, Vv = { class: "link-list__container" }, kv = /* @__PURE__ */ te({
7717
7717
  name: "ProcessAccordion",
7718
7718
  __name: "ProcessAccordion",
7719
7719
  props: {
@@ -7732,7 +7732,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7732
7732
  });
7733
7733
  });
7734
7734
  });
7735
- const a = $(window.innerWidth), s = $([]), i = $([]), d = F({
7735
+ const a = $(window == null ? void 0 : window.innerWidth), s = $([]), i = $([]), d = F({
7736
7736
  get() {
7737
7737
  return t.activeIdx ?? NaN;
7738
7738
  },
@@ -7740,7 +7740,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7740
7740
  l("updateIdx", r);
7741
7741
  }
7742
7742
  }), A = () => {
7743
- a.value = window.innerWidth;
7743
+ a.value = window == null ? void 0 : window.innerWidth;
7744
7744
  }, c = () => {
7745
7745
  i.value.forEach((v) => {
7746
7746
  v.style.setProperty("--max-height", `${v.scrollHeight}px`);
@@ -7751,11 +7751,11 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7751
7751
  return Ce(a, () => {
7752
7752
  c();
7753
7753
  }), xt(() => {
7754
- window.addEventListener("resize", A), A(), s.value = [], i.value = [], ze(() => {
7754
+ window == null || window.addEventListener("resize", A), A(), s.value = [], i.value = [], ze(() => {
7755
7755
  c();
7756
7756
  });
7757
7757
  }), Hn(() => {
7758
- window.removeEventListener("resize", A);
7758
+ window == null || window.removeEventListener("resize", A);
7759
7759
  }), (r, v) => {
7760
7760
  var f, p, h;
7761
7761
  return b(), S("div", pv, [
@@ -7816,7 +7816,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7816
7816
  ]);
7817
7817
  };
7818
7818
  }
7819
- }), Cv = /* @__PURE__ */ le(kv, [["__scopeId", "data-v-262f42cb"]]), Tv = { class: "setting-content" }, Pv = { class: "setting-header flex items-center" }, Sv = { class: "setting-header flex items-center" }, Lv = { class: "setting-body" }, Ov = { class: "btn-group" }, Mv = {
7819
+ }), Cv = /* @__PURE__ */ le(kv, [["__scopeId", "data-v-ba67b32e"]]), Tv = { class: "setting-content" }, Pv = { class: "setting-header flex items-center" }, Sv = { class: "setting-header flex items-center" }, Lv = { class: "setting-body" }, Ov = { class: "btn-group" }, Mv = {
7820
7820
  key: 0,
7821
7821
  class: "drag-handle"
7822
7822
  }, $v = { class: "item-action flex items-center mt-2" }, jv = { class: "setting-body mt-2" }, Nv = { class: "btn-group" }, Rv = {
@@ -8306,13 +8306,13 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
8306
8306
  l("handlePaste", f);
8307
8307
  };
8308
8308
  a();
8309
- const u = $(0), r = $(window.innerWidth), v = () => {
8310
- r.value = window.innerWidth;
8309
+ const u = $(0), r = $(window == null ? void 0 : window.innerWidth), v = () => {
8310
+ r.value = window == null ? void 0 : window.innerWidth;
8311
8311
  };
8312
8312
  return xt(() => {
8313
- window.addEventListener("resize", v), v();
8313
+ window == null || window.addEventListener("resize", v), v();
8314
8314
  }), Hn(() => {
8315
- window.removeEventListener("resize", v);
8315
+ window == null || window.removeEventListener("resize", v);
8316
8316
  }), (f, p) => {
8317
8317
  var h, V, y, g;
8318
8318
  return b(), S(K, null, [
@@ -8357,7 +8357,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
8357
8357
  ], 64);
8358
8358
  };
8359
8359
  }
8360
- }), ou = /* @__PURE__ */ le(Zv, [["__scopeId", "data-v-24d97895"]]), Gv = { class: "setting-content" }, Jv = /* @__PURE__ */ te({
8360
+ }), ou = /* @__PURE__ */ le(Zv, [["__scopeId", "data-v-79a5e7d9"]]), Gv = { class: "setting-content" }, Jv = /* @__PURE__ */ te({
8361
8361
  __name: "setting",
8362
8362
  props: {
8363
8363
  show: {
@@ -9768,9 +9768,9 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
9768
9768
  return Ce(() => t.data, async () => {
9769
9769
  await ze(), A();
9770
9770
  }), xt(() => {
9771
- window.addEventListener("resize", A), ze(A);
9771
+ window == null || window.addEventListener("resize", A), ze(A);
9772
9772
  }), Xs(() => {
9773
- window.removeEventListener("resize", A);
9773
+ window == null || window.removeEventListener("resize", A);
9774
9774
  }), (v, f) => (b(), S("div", gh, [
9775
9775
  Le(o("div", {
9776
9776
  class: "quick-links__nav__prev",
@@ -9801,7 +9801,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
9801
9801
  ])
9802
9802
  ]));
9803
9803
  }
9804
- }), wh = /* @__PURE__ */ le(bh, [["__scopeId", "data-v-83b87f22"]]), _h = { class: "swiper-wrapper" }, xh = { class: "swiper-slide__media" }, Vh = ["src", "alt"], kh = {
9804
+ }), wh = /* @__PURE__ */ le(bh, [["__scopeId", "data-v-c6535384"]]), _h = { class: "swiper-wrapper" }, xh = { class: "swiper-slide__media" }, Vh = ["src", "alt"], kh = {
9805
9805
  key: 1,
9806
9806
  class: "video-player"
9807
9807
  }, Ch = ["poster"], Th = ["src"], Ph = ["href"], Sh = { class: "swiper-slide__body" }, Lh = { class: "swiper-slide__body__title text-center" }, Oh = { class: "video-box" }, Mh = ["src"], $h = /* @__PURE__ */ te({
@@ -11227,7 +11227,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
11227
11227
  setup(n, { emit: e }) {
11228
11228
  const t = n, l = e, a = F(() => {
11229
11229
  var W, I, q, Y;
11230
- const R = window.innerWidth;
11230
+ const R = window == null ? void 0 : window.innerWidth;
11231
11231
  return ((I = (W = t.modelValue) == null ? void 0 : W.data) == null ? void 0 : I.length) > 3 && R >= 1024 || ((Y = (q = t.modelValue) == null ? void 0 : q.data) == null ? void 0 : Y.length) > 2 && R >= 768 && R < 1024 || R < 768;
11232
11232
  }), s = $(!0), i = [Ba, Qa, Xo], d = {
11233
11233
  768: {
@@ -11459,7 +11459,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
11459
11459
  ], 64);
11460
11460
  };
11461
11461
  }
11462
- }), mu = /* @__PURE__ */ le(Kg, [["__scopeId", "data-v-69e5bb6d"]]), Bg = { class: "setting-content" }, Qg = { class: "setting-header flex items-center" }, e2 = { class: "setting-body" }, t2 = { class: "setting-item" }, l2 = { class: "btn-group" }, n2 = {
11462
+ }), mu = /* @__PURE__ */ le(Kg, [["__scopeId", "data-v-83e9de4a"]]), Bg = { class: "setting-content" }, Qg = { class: "setting-header flex items-center" }, e2 = { class: "setting-body" }, t2 = { class: "setting-item" }, l2 = { class: "btn-group" }, n2 = {
11463
11463
  key: 0,
11464
11464
  class: "drag-handle"
11465
11465
  }, a2 = /* @__PURE__ */ te({
@@ -11641,7 +11641,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
11641
11641
  var M;
11642
11642
  return ((M = t.modelValue) == null ? void 0 : M.row) ?? 2;
11643
11643
  }), v = F(() => {
11644
- const M = window.innerWidth;
11644
+ const M = window == null ? void 0 : window.innerWidth;
11645
11645
  return (M >= 768 && M >= 1024 ? 4 : 3) * r.value;
11646
11646
  }), f = () => {
11647
11647
  var O, N, R;
@@ -12259,7 +12259,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
12259
12259
  ], 64);
12260
12260
  };
12261
12261
  }
12262
- }), pu = /* @__PURE__ */ le(h2, [["__scopeId", "data-v-9a368a4a"]]), g2 = { class: "setting-content" }, y2 = ["src"], b2 = { class: "item-uplaod flex items-center" }, w2 = /* @__PURE__ */ te({
12262
+ }), pu = /* @__PURE__ */ le(h2, [["__scopeId", "data-v-55f814e1"]]), g2 = { class: "setting-content" }, y2 = ["src"], b2 = { class: "item-uplaod flex items-center" }, w2 = /* @__PURE__ */ te({
12263
12263
  __name: "setting",
12264
12264
  props: {
12265
12265
  show: {
@@ -13029,14 +13029,14 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13029
13029
  },
13030
13030
  emits: ["updateCurrentIdx"],
13031
13031
  setup(n, { emit: e }) {
13032
- const t = n, l = e, a = $(0), s = $(0), i = $(0), d = $(0), A = $(!1), c = $(window.innerWidth), u = $(null), r = $(null), v = F(() => a.value > 40), f = F(() => s.value - 40 > c.value);
13032
+ const t = n, l = e, a = $(0), s = $(0), i = $(0), d = $(0), A = $(!1), c = $(window == null ? void 0 : window.innerWidth), u = $(null), r = $(null), v = F(() => a.value > 40), f = F(() => s.value - 40 > c.value);
13033
13033
  Ce(() => c.value, () => {
13034
13034
  h(), V();
13035
13035
  }), Ce(() => t.currentIdx, () => {
13036
13036
  ze(P);
13037
13037
  });
13038
13038
  const p = () => {
13039
- c.value = window.innerWidth;
13039
+ c.value = window == null ? void 0 : window.innerWidth;
13040
13040
  }, h = () => {
13041
13041
  A.value = !0, _(), g();
13042
13042
  }, V = () => {
@@ -13074,7 +13074,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13074
13074
  });
13075
13075
  };
13076
13076
  return xt(() => {
13077
- window.addEventListener("resize", p), p(), ze(() => {
13077
+ window == null || window.addEventListener("resize", p), p(), ze(() => {
13078
13078
  setTimeout(h, 300), V();
13079
13079
  });
13080
13080
  }), (L, x) => (b(), S("div", {
@@ -13122,7 +13122,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13122
13122
  }, null, 4)
13123
13123
  ], 512));
13124
13124
  }
13125
- }), uy = /* @__PURE__ */ le(dy, [["__scopeId", "data-v-b22d359b"]]), cy = { class: "timeline-story-caption" }, Ay = { class: "caption__content" }, my = { class: "caption__body" }, py = { class: "caption__text" }, fy = { class: "caption__img" }, vy = ["src"], hy = /* @__PURE__ */ te({
13125
+ }), uy = /* @__PURE__ */ le(dy, [["__scopeId", "data-v-f9a83bfc"]]), cy = { class: "timeline-story-caption" }, Ay = { class: "caption__content" }, my = { class: "caption__body" }, py = { class: "caption__text" }, fy = { class: "caption__img" }, vy = ["src"], hy = /* @__PURE__ */ te({
13126
13126
  name: "TimelineStoryCaption",
13127
13127
  __name: "TimelineStoryCaption",
13128
13128
  props: {
@@ -13462,28 +13462,28 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13462
13462
  l("handlePaste", re);
13463
13463
  };
13464
13464
  a();
13465
- const u = $(0), r = $(0), v = $(0), f = $(0), p = $(""), h = $(""), V = $(!1), y = $(window.innerWidth), g = $(window.scrollY), w = $(!1), _ = $(null), P = $(null), L = $(null), x = $(null), C = $(null), M = $(null), O = $(null), N = $([]), R = $([]), W = F(() => y.value > 1023.98 ? 100 : 66), I = F(() => w.value);
13465
+ const u = $(0), r = $(0), v = $(0), f = $(0), p = $(""), h = $(""), V = $(!1), y = $(window == null ? void 0 : window.innerWidth), g = $(window == null ? void 0 : window.scrollY), w = $(!1), _ = $(null), P = $(null), L = $(null), x = $(null), C = $(null), M = $(null), O = $(null), N = $([]), R = $([]), W = F(() => y.value > 1023.98 ? 100 : 66), I = F(() => w.value);
13466
13466
  Ce(y, () => {
13467
13467
  Re();
13468
13468
  });
13469
- const q = (re) => re ? re.getBoundingClientRect().top + window.scrollY : 0, Y = (re) => {
13469
+ const q = (re) => re ? re.getBoundingClientRect().top + (window == null ? void 0 : window.scrollY) : 0, Y = (re) => {
13470
13470
  if (!re) return { x: 0, y: 0 };
13471
13471
  const ae = re.getBoundingClientRect();
13472
13472
  return {
13473
- x: ae.left + window.scrollX,
13474
- y: ae.top + window.scrollY
13473
+ x: ae.left + (window == null ? void 0 : window.scrollX),
13474
+ y: ae.top + (window == null ? void 0 : window.scrollY)
13475
13475
  };
13476
13476
  }, G = (re) => {
13477
13477
  re ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
13478
13478
  }, ee = () => {
13479
- window.addEventListener("scroll", J), window.addEventListener("resize", k), k();
13479
+ window == null || window.addEventListener("scroll", J), window == null || window.addEventListener("resize", k), k();
13480
13480
  }, D = () => {
13481
- window.removeEventListener("scroll", J), window.removeEventListener("resize", k);
13481
+ window == null || window.removeEventListener("scroll", J), window == null || window.removeEventListener("resize", k);
13482
13482
  }, k = () => {
13483
- y.value = window.innerWidth, g.value = window.scrollY;
13483
+ y.value = window == null ? void 0 : window.innerWidth, g.value = window == null ? void 0 : window.scrollY;
13484
13484
  }, J = () => {
13485
13485
  var be;
13486
- g.value = window.scrollY;
13486
+ g.value = window == null ? void 0 : window.scrollY;
13487
13487
  const re = g.value + W.value + 64, ae = q(x.value), me = ae + (((be = x.value) == null ? void 0 : be.clientHeight) || 0);
13488
13488
  re < ae ? u.value = 0 : re > me && (u.value = 999), oe(), de(), he(), Ye(), at(), ie();
13489
13489
  }, oe = () => {
@@ -13539,7 +13539,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13539
13539
  }
13540
13540
  }, ne = (re) => {
13541
13541
  const ae = y.value < 768 ? 120 : 150, me = Y(N.value[re]).y - ae;
13542
- window.scroll({ top: me, left: 0, behavior: "smooth" });
13542
+ window == null || window.scroll({ top: me, left: 0, behavior: "smooth" });
13543
13543
  }, ie = () => {
13544
13544
  const re = _.value;
13545
13545
  if (!re) return;
@@ -13694,7 +13694,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13694
13694
  ], 64);
13695
13695
  };
13696
13696
  }
13697
- }), gu = /* @__PURE__ */ le(Wy, [["__scopeId", "data-v-c0e084af"]]), wi = Uu.create({
13697
+ }), gu = /* @__PURE__ */ le(Wy, [["__scopeId", "data-v-5742d263"]]), wi = Uu.create({
13698
13698
  baseURL: "https://cms-test.cedim.cn/api/",
13699
13699
  timeout: 3e4,
13700
13700
  headers: {
@@ -13909,10 +13909,10 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
13909
13909
  set(k) {
13910
13910
  l("updateIdx", k), ze(() => D());
13911
13911
  }
13912
- }), C = F(() => A.value - c.value), M = F(() => r.value - window.innerWidth > 20);
13912
+ }), C = F(() => A.value - c.value), M = F(() => r.value - (window == null ? void 0 : window.innerWidth) > 20);
13913
13913
  Ce(() => t.currentIdx, (k, J) => {
13914
13914
  f.value = (k ?? 0) > (J ?? 0), ze(() => W());
13915
- }), Ce(() => window.innerWidth, () => {
13915
+ }), Ce(() => window == null ? void 0 : window.innerWidth, () => {
13916
13916
  I(), W();
13917
13917
  });
13918
13918
  const O = () => {
@@ -13950,7 +13950,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
13950
13950
  }, D = () => {
13951
13951
  const k = d.value[x.value];
13952
13952
  if (!k) return;
13953
- const J = k.clientWidth / 2, oe = window.innerWidth / 2;
13953
+ const J = k.clientWidth / 2, oe = (window == null ? void 0 : window.innerWidth) / 2;
13954
13954
  h.value = k.getBoundingClientRect().right - J;
13955
13955
  const de = s.value;
13956
13956
  de && (de.scrollLeft -= oe - h.value);
@@ -14041,7 +14041,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14041
14041
  ])
14042
14042
  ]));
14043
14043
  }
14044
- }), sb = /* @__PURE__ */ le(ab, [["__scopeId", "data-v-c130a9b5"]]), ob = { class: "article__head" }, ib = ["href"], rb = ["src", "alt"], db = ["src", "alt"], ub = ["src", "alt"], cb = {
14044
+ }), sb = /* @__PURE__ */ le(ab, [["__scopeId", "data-v-b0e8aa23"]]), ob = { class: "article__head" }, ib = ["href"], rb = ["src", "alt"], db = ["src", "alt"], ub = ["src", "alt"], cb = {
14045
14045
  key: 0,
14046
14046
  class: "article__title line-clamp-2 mt-3"
14047
14047
  }, Ab = {
@@ -14067,8 +14067,8 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14067
14067
  var w;
14068
14068
  if (p.value || !V) return;
14069
14069
  let y = (w = t.componentProps) == null ? void 0 : w.category;
14070
- window.scroll({ top: 0, left: 0, behavior: "smooth" });
14071
- const g = a.value ? a.value.getBoundingClientRect().top + window.scrollY - 160 : 0;
14070
+ window == null || window.scroll({ top: 0, left: 0, behavior: "smooth" });
14071
+ const g = a.value ? a.value.getBoundingClientRect().top + (window == null ? void 0 : window.scrollY) - 160 : 0;
14072
14072
  l("openPopup", { key: V, cat: y, positionY: g });
14073
14073
  }, d = (V) => {
14074
14074
  l("handleClick", V);
@@ -14173,7 +14173,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14173
14173
  ], 2)
14174
14174
  ], 512));
14175
14175
  }
14176
- }), hb = /* @__PURE__ */ le(vb, [["__scopeId", "data-v-5f1785b8"]]), gb = { class: "pagination" }, yb = { class: "d-flex align-items-center h-100 justify-content-center justify-content-md-start" }, bb = {
14176
+ }), hb = /* @__PURE__ */ le(vb, [["__scopeId", "data-v-39501277"]]), gb = { class: "pagination" }, yb = { class: "d-flex align-items-center h-100 justify-content-center justify-content-md-start" }, bb = {
14177
14177
  key: 0,
14178
14178
  class: "page-ellipsis flex-center"
14179
14179
  }, wb = ["onClick"], _b = /* @__PURE__ */ te({
@@ -14678,8 +14678,8 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14678
14678
  l("handleClick", ne);
14679
14679
  };
14680
14680
  a();
14681
- const r = $(null), v = $(!1), f = $(void 0), p = $(0), h = $(null), V = $(null), y = $("所有年份"), g = $(10), w = $(1), _ = $(12), P = $([]), L = $({}), x = $(""), C = $(window.innerWidth), M = $("sc"), O = () => {
14682
- C.value = window.innerWidth;
14681
+ const r = $(null), v = $(!1), f = $(void 0), p = $(0), h = $(null), V = $(null), y = $("所有年份"), g = $(10), w = $(1), _ = $(12), P = $([]), L = $({}), x = $(""), C = $(window == null ? void 0 : window.innerWidth), M = $("sc"), O = () => {
14682
+ C.value = window == null ? void 0 : window.innerWidth;
14683
14683
  }, N = F(() => {
14684
14684
  var Ae, Re, He, re;
14685
14685
  if (!v.value)
@@ -14756,8 +14756,8 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14756
14756
  );
14757
14757
  }), oe = (ne) => {
14758
14758
  if (!ne) return;
14759
- const Re = ne.getBoundingClientRect().top + window.scrollY - 100;
14760
- window.scrollTo({
14759
+ const Re = ne.getBoundingClientRect().top + (window == null ? void 0 : window.scrollY) - 100;
14760
+ window == null || window.scrollTo({
14761
14761
  top: Re,
14762
14762
  behavior: "smooth"
14763
14763
  });
@@ -14816,11 +14816,11 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14816
14816
  return xt(() => {
14817
14817
  var ie;
14818
14818
  let ne = ((ie = t.modelValue) == null ? void 0 : ie.article_category_group_id) ?? null;
14819
- ne && (v.value = !0, f.value = ne), window.addEventListener("resize", O), O(), he(), Ye(), ze(() => {
14819
+ ne && (v.value = !0, f.value = ne), window == null || window.addEventListener("resize", O), O(), he(), Ye(), ze(() => {
14820
14820
  de();
14821
14821
  });
14822
14822
  }), Hn(() => {
14823
- window.removeEventListener("resize", O);
14823
+ window == null || window.removeEventListener("resize", O);
14824
14824
  }), (ne, ie) => (b(), S(K, null, [
14825
14825
  o("div", {
14826
14826
  class: "news-list tab-default",
@@ -14899,7 +14899,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14899
14899
  }, null, 8, ["show", "data"]))
14900
14900
  ], 64));
14901
14901
  }
14902
- }), yu = /* @__PURE__ */ le(Eb, [["__scopeId", "data-v-7f671d7f"]]), Wb = { class: "setting-content" }, Ib = { class: "setting-header flex items-center" }, Xb = { class: "setting-header flex items-center" }, qb = {
14902
+ }), yu = /* @__PURE__ */ le(Eb, [["__scopeId", "data-v-1a0ceb28"]]), Wb = { class: "setting-content" }, Ib = { class: "setting-header flex items-center" }, Xb = { class: "setting-header flex items-center" }, qb = {
14903
14903
  key: 1,
14904
14904
  class: "btn-setting"
14905
14905
  }, Db = { class: "btn-group" }, Yb = { class: "item-action flex items-center" }, Fb = { class: "setting-body" }, Zb = { class: "btn-group" }, Gb = {
@@ -15387,7 +15387,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15387
15387
  }, _ = $(null), P = F(() => {
15388
15388
  var O;
15389
15389
  if (!((O = t.modelValue) != null && O.data)) return [];
15390
- if (window.innerWidth < 576) {
15390
+ if ((window == null ? void 0 : window.innerWidth) < 576) {
15391
15391
  let N = [];
15392
15392
  return t.modelValue.data.forEach((R) => {
15393
15393
  R.timeSection.forEach((W) => {
@@ -15400,7 +15400,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15400
15400
  } else
15401
15401
  return t.modelValue.data;
15402
15402
  }), L = F(() => {
15403
- if (window.innerWidth < 576) {
15403
+ if ((window == null ? void 0 : window.innerWidth) < 576) {
15404
15404
  const O = 2280 / P.value.length / 2;
15405
15405
  return f.value = `-${O}%`, f.value;
15406
15406
  } else
@@ -15580,7 +15580,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15580
15580
  ], 64);
15581
15581
  };
15582
15582
  }
15583
- }), bu = /* @__PURE__ */ le(jw, [["__scopeId", "data-v-2fc8813f"]]), Nw = { class: "setting-content" }, Rw = { class: "setting-header flex items-center" }, Hw = { class: "setting-body" }, Uw = { class: "setting-item" }, zw = { class: "btn-group" }, Ew = {
15583
+ }), bu = /* @__PURE__ */ le(jw, [["__scopeId", "data-v-42b8b045"]]), Nw = { class: "setting-content" }, Rw = { class: "setting-header flex items-center" }, Hw = { class: "setting-body" }, Uw = { class: "setting-item" }, zw = { class: "btn-group" }, Ew = {
15584
15584
  key: 0,
15585
15585
  class: "drag-handle"
15586
15586
  }, Ww = ["src"], Iw = { class: "item-uplaod flex items-center" }, Xw = /* @__PURE__ */ te({
@@ -15824,7 +15824,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15824
15824
  ]
15825
15825
  };
15826
15826
  l("update:modelValue", C);
15827
- }, s = $(!1), i = $(!1), d = $(null), A = $(null), c = $(null), u = $(window.innerWidth), r = $(0), v = [Ba, Qa, Hu], f = {
15827
+ }, s = $(!1), i = $(!1), d = $(null), A = $(null), c = $(null), u = $(window == null ? void 0 : window.innerWidth), r = $(0), v = [Ba, Qa, Hu], f = {
15828
15828
  type: "loop",
15829
15829
  perPage: 3,
15830
15830
  perMove: 1,
@@ -15843,9 +15843,9 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15843
15843
  }, V = (C) => {
15844
15844
  l("handlePaste", C);
15845
15845
  }, y = () => {
15846
- u.value = window.innerWidth;
15846
+ u.value = window == null ? void 0 : window.innerWidth;
15847
15847
  };
15848
- window.addEventListener("resize", y);
15848
+ window == null || window.addEventListener("resize", y);
15849
15849
  const g = (C) => {
15850
15850
  console.log("Splide initialized:", {
15851
15851
  index: C.index,
@@ -15866,7 +15866,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15866
15866
  c.value = C;
15867
15867
  };
15868
15868
  return Hn(() => {
15869
- window.removeEventListener("resize", y);
15869
+ window == null || window.removeEventListener("resize", y);
15870
15870
  }), a(), (C, M) => {
15871
15871
  var O, N;
15872
15872
  return b(), S(K, null, [
@@ -16019,7 +16019,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
16019
16019
  ], 64);
16020
16020
  };
16021
16021
  }
16022
- }), wu = /* @__PURE__ */ le(u_, [["__scopeId", "data-v-613326b1"]]), c_ = { class: "seting-box" }, A_ = ["src"], m_ = { class: "item-uplaod flex items-center" }, p_ = /* @__PURE__ */ te({
16022
+ }), wu = /* @__PURE__ */ le(u_, [["__scopeId", "data-v-db539b7e"]]), c_ = { class: "seting-box" }, A_ = ["src"], m_ = { class: "item-uplaod flex items-center" }, p_ = /* @__PURE__ */ te({
16023
16023
  __name: "setting",
16024
16024
  props: {
16025
16025
  show: {
@@ -17680,7 +17680,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
17680
17680
  }, p = (y) => {
17681
17681
  c("handlePaste", y);
17682
17682
  }, h = (y, g) => {
17683
- g.linkType !== "textOnly" && (y.includes("http") ? window.open(y, "_blank") : c("handleClick", y));
17683
+ g.linkType !== "textOnly" && (y.includes("http") ? window == null || window.open(y, "_blank") : c("handleClick", y));
17684
17684
  }, V = () => {
17685
17685
  var g;
17686
17686
  if (A.modelValue && A.modelValue.data) return;
@@ -17929,7 +17929,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
17929
17929
  ], 64);
17930
17930
  };
17931
17931
  }
17932
- }), Tu = /* @__PURE__ */ le(AV, [["__scopeId", "data-v-2c1365c4"]]), mV = { class: "pagination_wrap" }, pV = { class: "pagination" }, fV = { class: "pagination-list" }, vV = ["onClick"], hV = /* @__PURE__ */ te({
17932
+ }), Tu = /* @__PURE__ */ le(AV, [["__scopeId", "data-v-f306df06"]]), mV = { class: "pagination_wrap" }, pV = { class: "pagination" }, fV = { class: "pagination-list" }, vV = ["onClick"], hV = /* @__PURE__ */ te({
17933
17933
  __name: "Pagination",
17934
17934
  props: {
17935
17935
  total: {
@@ -19379,7 +19379,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19379
19379
  var H;
19380
19380
  return ((H = t.modelValue) == null ? void 0 : H.zoom_mobile) ?? u.value.zoom_mobile;
19381
19381
  }
19382
- ), oe = F(() => window.innerWidth > 768 ? k.value : J.value), de = F(() => window.innerWidth < 1024), he = (H, B) => ({
19382
+ ), oe = F(() => (window == null ? void 0 : window.innerWidth) > 768 ? k.value : J.value), de = F(() => (window == null ? void 0 : window.innerWidth) < 1024), he = (H, B) => ({
19383
19383
  left: `${H}%`,
19384
19384
  top: `${B}%`,
19385
19385
  transform: "translate(-50%, -75%)"
@@ -19415,7 +19415,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19415
19415
  let ve = H, fe = B;
19416
19416
  const Se = W.value, kt = R.value;
19417
19417
  if (!Se || !kt) return;
19418
- const Cl = Se.getBoundingClientRect().width, Ul = Se.getBoundingClientRect().height, it = kt.getBoundingClientRect().height, yl = window.innerWidth, qe = {
19418
+ const Cl = Se.getBoundingClientRect().width, Ul = Se.getBoundingClientRect().height, it = kt.getBoundingClientRect().height, yl = window == null ? void 0 : window.innerWidth, qe = {
19419
19419
  right: -Cl + yl / 2,
19420
19420
  left: -1 * yl / 2,
19421
19421
  top: -Ul + it / 2,
@@ -19441,7 +19441,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19441
19441
  H === v.value && (v.value = NaN);
19442
19442
  }, be = () => {
19443
19443
  re(), ze(() => {
19444
- window.innerWidth <= 768 && setTimeout(() => P.value = !0, 1300);
19444
+ (window == null ? void 0 : window.innerWidth) <= 768 && setTimeout(() => P.value = !0, 1300);
19445
19445
  });
19446
19446
  }, Ve = (H) => {
19447
19447
  H.preventDefault();
@@ -19459,7 +19459,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19459
19459
  return Ce(u, () => {
19460
19460
  r.value = NaN;
19461
19461
  }), Ce(
19462
- () => window.innerWidth,
19462
+ () => window == null ? void 0 : window.innerWidth,
19463
19463
  () => {
19464
19464
  re();
19465
19465
  }
@@ -19468,7 +19468,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19468
19468
  }), Ce(w, () => {
19469
19469
  const H = W.value;
19470
19470
  if (!H) return;
19471
- const B = H.getBoundingClientRect().width, ve = window.innerWidth, fe = {
19471
+ const B = H.getBoundingClientRect().width, ve = window == null ? void 0 : window.innerWidth, fe = {
19472
19472
  right: -B + ve / 2,
19473
19473
  left: -1 * ve / 2
19474
19474
  };
@@ -19611,7 +19611,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19611
19611
  ], 64);
19612
19612
  };
19613
19613
  }
19614
- }), Su = /* @__PURE__ */ le(Zk, [["__scopeId", "data-v-191925d6"]]), $3 = {
19614
+ }), Su = /* @__PURE__ */ le(Zk, [["__scopeId", "data-v-f81be2fc"]]), $3 = {
19615
19615
  install: (n) => {
19616
19616
  n.component("RibbonBlock", hu);
19617
19617
  }
@@ -20707,7 +20707,7 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
20707
20707
  }, u = (g) => {
20708
20708
  if (y.value) return;
20709
20709
  let w = l.componentProps.category;
20710
- window.scroll({ top: 0, left: 0, behavior: "smooth" }), i(A.value).y - 160, a.push({
20710
+ window == null || window.scroll({ top: 0, left: 0, behavior: "smooth" }), i(A.value).y - 160, a.push({
20711
20711
  path: s(`/article/${w}/${g}`)
20712
20712
  });
20713
20713
  }, r = F(() => {
@@ -20791,7 +20791,7 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
20791
20791
  ], 2)
20792
20792
  ], 512));
20793
20793
  }
20794
- }, wr = /* @__PURE__ */ le(h3, [["__scopeId", "data-v-77ac57c4"]]), g3 = { key: 0 }, y3 = { class: "slide-content" }, b3 = { class: "mt-10 mt-md-12" }, w3 = { key: 1 }, _3 = { class: "row row-cols-1 row-cols-md-3 row-cols-lg-4 justify-content-center" }, x3 = /* @__PURE__ */ te({
20794
+ }, wr = /* @__PURE__ */ le(h3, [["__scopeId", "data-v-24f2911c"]]), g3 = { key: 0 }, y3 = { class: "slide-content" }, b3 = { class: "mt-10 mt-md-12" }, w3 = { key: 1 }, _3 = { class: "row row-cols-1 row-cols-md-3 row-cols-lg-4 justify-content-center" }, x3 = /* @__PURE__ */ te({
20795
20795
  name: "CardCarouselArticles",
20796
20796
  __name: "index",
20797
20797
  props: {
@@ -20881,12 +20881,12 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
20881
20881
  }
20882
20882
  }
20883
20883
  }), P = () => {
20884
- g.value = window.innerWidth;
20884
+ g.value = window == null ? void 0 : window.innerWidth;
20885
20885
  };
20886
20886
  xt(() => {
20887
- P(), window.addEventListener("resize", P);
20887
+ P(), window == null || window.addEventListener("resize", P);
20888
20888
  }), Xs(() => {
20889
- window.removeEventListener("resize", P);
20889
+ window == null || window.removeEventListener("resize", P);
20890
20890
  }), F(() => {
20891
20891
  var k;
20892
20892
  return ((k = t.modelValue) == null ? void 0 : k.classes) ?? null;
@@ -21079,7 +21079,7 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
21079
21079
  ], 64);
21080
21080
  };
21081
21081
  }
21082
- }), V3 = /* @__PURE__ */ le(x3, [["__scopeId", "data-v-08a15830"]]), A5 = {
21082
+ }), V3 = /* @__PURE__ */ le(x3, [["__scopeId", "data-v-3f6fa50c"]]), A5 = {
21083
21083
  install: (n) => {
21084
21084
  n.component("CardCarouselArticles", V3);
21085
21085
  }
@@ -21146,7 +21146,7 @@ function m5() {
21146
21146
  console.error("Failed to restore theme:", g);
21147
21147
  }
21148
21148
  h && (Ll.value = h === "true", document.documentElement.classList.toggle("dark", Ll.value));
21149
- const V = window.matchMedia("(prefers-color-scheme: dark)"), y = (g) => {
21149
+ const V = window == null ? void 0 : window.matchMedia("(prefers-color-scheme: dark)"), y = (g) => {
21150
21150
  localStorage.getItem("officialblock-dark-mode") || (Ll.value = g.matches, document.documentElement.classList.toggle("dark", Ll.value));
21151
21151
  };
21152
21152
  V.addEventListener("change", y), l();
@@ -21266,27 +21266,27 @@ class f5 {
21266
21266
  * 获取当前屏幕断点
21267
21267
  */
21268
21268
  static getCurrentBreakpoint() {
21269
- const e = window.innerWidth;
21269
+ const e = window == null ? void 0 : window.innerWidth;
21270
21270
  return e < 475 ? "xs" : e < 640 ? "sm" : e < 768 ? "md" : e < 1024 ? "lg" : e < 1280 ? "xl" : "2xl";
21271
21271
  }
21272
21272
  /**
21273
21273
  * 检查是否为移动设备
21274
21274
  */
21275
21275
  static isMobile() {
21276
- return window.innerWidth < 768;
21276
+ return (window == null ? void 0 : window.innerWidth) < 768;
21277
21277
  }
21278
21278
  /**
21279
21279
  * 检查是否为平板设备
21280
21280
  */
21281
21281
  static isTablet() {
21282
- const e = window.innerWidth;
21282
+ const e = window == null ? void 0 : window.innerWidth;
21283
21283
  return e >= 768 && e < 1024;
21284
21284
  }
21285
21285
  /**
21286
21286
  * 检查是否为桌面设备
21287
21287
  */
21288
21288
  static isDesktop() {
21289
- return window.innerWidth >= 1024;
21289
+ return (window == null ? void 0 : window.innerWidth) >= 1024;
21290
21290
  }
21291
21291
  /**
21292
21292
  * 监听屏幕尺寸变化
@@ -21297,8 +21297,8 @@ class f5 {
21297
21297
  const a = this.getCurrentBreakpoint();
21298
21298
  a !== t && (t = a, e(a));
21299
21299
  };
21300
- return window.addEventListener("resize", l), () => {
21301
- window.removeEventListener("resize", l);
21300
+ return window == null || window.addEventListener("resize", l), () => {
21301
+ window == null || window.removeEventListener("resize", l);
21302
21302
  };
21303
21303
  }
21304
21304
  }
@@ -21322,9 +21322,9 @@ class k3 {
21322
21322
  */
21323
21323
  static scrollTo(e, t, l = 300, a = this.easing.easeOutQuad) {
21324
21324
  return new Promise((s) => {
21325
- const i = e === window, d = i ? window.pageYOffset : e.scrollTop;
21325
+ const i = e === window, d = i ? window == null ? void 0 : window.pageYOffset : e.scrollTop;
21326
21326
  this.animate(d, t, l, (A) => {
21327
- i ? window.scrollTo(0, A) : e.scrollTop = A;
21327
+ i ? window == null || window.scrollTo(0, A) : e.scrollTop = A;
21328
21328
  }, a), setTimeout(s, l);
21329
21329
  });
21330
21330
  }
@@ -21388,16 +21388,16 @@ const h5 = {
21388
21388
  install: (n) => {
21389
21389
  n.config.globalProperties.$device = {
21390
21390
  get isMobile() {
21391
- return window.innerWidth < 768;
21391
+ return (window == null ? void 0 : window.innerWidth) < 768;
21392
21392
  },
21393
21393
  get isTablet() {
21394
- return window.innerWidth >= 768 && window.innerWidth < 1024;
21394
+ return (window == null ? void 0 : window.innerWidth) >= 768 && (window == null ? void 0 : window.innerWidth) < 1024;
21395
21395
  },
21396
21396
  get isMobileOrTablet() {
21397
- return window.innerWidth < 1024;
21397
+ return (window == null ? void 0 : window.innerWidth) < 1024;
21398
21398
  },
21399
21399
  get isDesktop() {
21400
- return window.innerWidth >= 1024;
21400
+ return (window == null ? void 0 : window.innerWidth) >= 1024;
21401
21401
  }
21402
21402
  }, n.component("ArticleList", _r), n.component("BannerImage", xr), n.component("BannerPage", Vr), n.component("BtnList", Do), n.component("GalleryDefault", kr), n.component("GalleryCaptionRound", Cr), n.component("GalleryTimeline", au), n.component("GalleryTimelineCol", su), n.component("Process", ou), n.component("CustomSpace", iu), n.component("GalleryList", ru), n.component("HeroSlide", du), n.component("LinkList", uu), n.component("QuoteText", cu), n.component("DonorLinks", Au), n.component("CardCarousel", mu), n.component("CardCarouselMultiRow", pu), n.component("BannerQuote", fu), n.component("ArticleItem", vu), n.component("RibbonBlock", hu), n.component("TimelineStory", gu), n.component("NewsList", yu), n.component("TheHistoryCarousel", bu), n.component("CardShowcaseProfile", wu), n.component("CountDown", _u), n.component("ContactUsList", Vu), n.component("CustomIframe", xu), n.component("TableTwo", ku), n.component("BannerImageWithLink", Cu), n.component("ContactUsInfo", Tu), n.component("Publications", Pu), n.component("MapStatic", Su);
21403
21403
  }