@hbis-uni/components 2.10.0 → 2.12.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.
package/dist/index.es.js CHANGED
@@ -1,25 +1,25 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementVNode, createCommentVNode, computed, ref, onMounted, watch, Fragment, renderList, normalizeStyle, nextTick, onUnmounted, withModifiers, withDirectives, vModelText, useSlots, useCssVars, withKeys } from "vue";
2
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
2
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3
3
  __name: "C1",
4
4
  props: {
5
5
  title: { default: "C1 Component" },
6
6
  primary: { type: Boolean, default: !1 }
7
7
  },
8
- setup(i) {
9
- return (b, n) => (openBlock(), createElementBlock("div", {
10
- class: normalizeClass(["c1-container", { "c1-primary": i.primary }])
8
+ setup(s) {
9
+ return (y, n) => (openBlock(), createElementBlock("div", {
10
+ class: normalizeClass(["c1-container", { "c1-primary": s.primary }])
11
11
  }, [
12
- renderSlot(b.$slots, "default", {}, () => [
13
- createTextVNode(toDisplayString(i.title), 1)
12
+ renderSlot(y.$slots, "default", {}, () => [
13
+ createTextVNode(toDisplayString(s.title), 1)
14
14
  ], !0)
15
15
  ], 2));
16
16
  }
17
- }), _export_sfc = (i, b) => {
18
- const n = i.__vccOpts || i;
19
- for (const [t, r] of b)
17
+ }), _export_sfc = (s, y) => {
18
+ const n = s.__vccOpts || s;
19
+ for (const [t, r] of y)
20
20
  n[t] = r;
21
21
  return n;
22
- }, C1 = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-e2250793"]]), _hoisted_1$9 = { class: "c2-container" }, _hoisted_2$8 = { class: "c2-title" }, _hoisted_3$7 = { class: "c2-content" }, _sfc_main$b = /* @__PURE__ */ defineComponent({
22
+ }, C1 = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-e2250793"]]), _hoisted_1$a = { class: "c2-container" }, _hoisted_2$9 = { class: "c2-title" }, _hoisted_3$7 = { class: "c2-content" }, _sfc_main$c = /* @__PURE__ */ defineComponent({
23
23
  __name: "C2",
24
24
  props: {
25
25
  title: { default: "C2 Component" },
@@ -27,33 +27,33 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
27
27
  buttonText: { default: "Click Me" }
28
28
  },
29
29
  emits: ["click"],
30
- setup(i, { emit: b }) {
31
- const n = b, t = (r) => {
30
+ setup(s, { emit: y }) {
31
+ const n = y, t = (r) => {
32
32
  n("click", r);
33
33
  };
34
- return (r, u) => (openBlock(), createElementBlock("div", _hoisted_1$9, [
35
- createElementVNode("h2", _hoisted_2$8, toDisplayString(i.title), 1),
34
+ return (r, u) => (openBlock(), createElementBlock("div", _hoisted_1$a, [
35
+ createElementVNode("h2", _hoisted_2$9, toDisplayString(s.title), 1),
36
36
  createElementVNode("div", _hoisted_3$7, [
37
37
  renderSlot(r.$slots, "default", {}, void 0, !0)
38
38
  ]),
39
- i.showButton ? (openBlock(), createElementBlock("button", {
39
+ s.showButton ? (openBlock(), createElementBlock("button", {
40
40
  key: 0,
41
41
  class: "c2-button",
42
42
  onClick: t
43
- }, toDisplayString(i.buttonText), 1)) : createCommentVNode("", !0)
43
+ }, toDisplayString(s.buttonText), 1)) : createCommentVNode("", !0)
44
44
  ]));
45
45
  }
46
- }), C2 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ed1086ed"]]), _hoisted_1$8 = { key: 0 }, _hoisted_2$7 = { class: "hbis-date-strip__weekdays" }, _hoisted_3$6 = { class: "hbis-date-strip__dates" }, _hoisted_4$5 = ["onClick"], _hoisted_5$4 = { class: "hbis-date-strip__date-number" }, _hoisted_6$4 = { class: "hbis-date-strip__date-slot" }, _hoisted_7$4 = {
46
+ }), C2 = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-ed1086ed"]]), _hoisted_1$9 = { key: 0 }, _hoisted_2$8 = { class: "hbis-date-strip__weekdays" }, _hoisted_3$6 = { class: "hbis-date-strip__dates" }, _hoisted_4$5 = ["onClick"], _hoisted_5$4 = { class: "hbis-date-strip__date-number" }, _hoisted_6$4 = { class: "hbis-date-strip__date-slot" }, _hoisted_7$4 = {
47
47
  key: 1,
48
48
  class: "hbis-date-strip__scroll-wrapper"
49
- }, _hoisted_8$2 = { class: "hbis-date-strip__scroll-container" }, _hoisted_9$1 = { class: "hbis-date-strip__weekdays" }, _hoisted_10$1 = { class: "hbis-date-strip__dates" }, _hoisted_11$1 = ["onClick"], _hoisted_12 = { class: "hbis-date-strip__date-number" }, _hoisted_13 = { class: "hbis-date-strip__date-slot" }, _sfc_main$a = /* @__PURE__ */ defineComponent({
49
+ }, _hoisted_8$2 = { class: "hbis-date-strip__scroll-container" }, _hoisted_9$1 = { class: "hbis-date-strip__weekdays" }, _hoisted_10$1 = { class: "hbis-date-strip__dates" }, _hoisted_11$1 = ["onClick"], _hoisted_12 = { class: "hbis-date-strip__date-number" }, _hoisted_13 = { class: "hbis-date-strip__date-slot" }, _sfc_main$b = /* @__PURE__ */ defineComponent({
50
50
  __name: "hbis-dateStrip",
51
51
  props: {
52
52
  modelValue: { default: () => /* @__PURE__ */ new Date() },
53
53
  startDate: { default: () => /* @__PURE__ */ new Date() },
54
54
  endDate: { default: () => {
55
- const i = /* @__PURE__ */ new Date();
56
- return i.setDate(i.getDate() + 30), i;
55
+ const s = /* @__PURE__ */ new Date();
56
+ return s.setDate(s.getDate() + 30), s;
57
57
  } },
58
58
  highlightType: { default: "bg" },
59
59
  showToday: { type: Boolean, default: !0 },
@@ -67,8 +67,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
67
67
  visibleDays: { default: 7 }
68
68
  },
69
69
  emits: ["update:modelValue", "dateClick"],
70
- setup(i, { emit: b }) {
71
- const n = i, t = b, r = computed(() => {
70
+ setup(s, { emit: y }) {
71
+ const n = s, t = y, r = computed(() => {
72
72
  if (console.log("props:", {
73
73
  startDate: n.startDate,
74
74
  endDate: n.endDate,
@@ -81,15 +81,15 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
81
81
  const m = new Date(n.endDate);
82
82
  if (m.setHours(0, 0, 0, 0), isNaN(f.getTime()) || isNaN(m.getTime()))
83
83
  return console.log("无效的日期对象,使用默认滚动行为"), !1;
84
- const e = m.getTime() - f.getTime(), E = Math.ceil(e / (1e3 * 60 * 60 * 24)), y = E + 1;
84
+ const e = m.getTime() - f.getTime(), E = Math.ceil(e / (1e3 * 60 * 60 * 24)), v = E + 1;
85
85
  return console.log("日期范围天数计算:", {
86
86
  start: f.toLocaleDateString(),
87
87
  end: m.toLocaleDateString(),
88
88
  diffTime: e,
89
89
  diffDays: E,
90
- totalDays: y,
91
- shouldScroll: y > 7
92
- }), y > 7;
90
+ totalDays: v,
91
+ shouldScroll: v > 7
92
+ }), v > 7;
93
93
  } catch (f) {
94
94
  return console.error("计算日期范围时出错:", f), !1;
95
95
  }
@@ -107,8 +107,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
107
107
  return u;
108
108
  const m = f.weekday, e = [];
109
109
  for (let E = 0; E < 7; E++) {
110
- const y = (m + E) % 7;
111
- e.push(u[y]);
110
+ const v = (m + E) % 7;
111
+ e.push(u[v]);
112
112
  }
113
113
  return e;
114
114
  });
@@ -135,9 +135,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
135
135
  if (isNaN(m.getTime()) || isNaN(e.getTime()))
136
136
  return console.log("无效的日期对象,返回空数组"), f;
137
137
  const E = Math.ceil((e.getTime() - m.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
138
- for (let y = 0; y < E; y++) {
138
+ for (let v = 0; v < E; v++) {
139
139
  const w = new Date(m);
140
- w.setDate(m.getDate() + y), isNaN(w.getTime()) || f.push({
140
+ w.setDate(m.getDate() + v), isNaN(w.getTime()) || f.push({
141
141
  date: w,
142
142
  dateString: l(w),
143
143
  day: w.getDate(),
@@ -151,7 +151,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
151
151
  console.error("生成日期数组时出错:", m);
152
152
  }
153
153
  return f;
154
- }), d = computed(() => h.value.filter((f) => !!(f && f.date && f.dateString && !isNaN(f.date.getTime()) && typeof f.dateString == "string" && typeof f.day == "number"))), l = (f) => `${f.getFullYear()}-${String(f.getMonth() + 1).padStart(2, "0")}-${String(f.getDate()).padStart(2, "0")}`, s = (f) => {
154
+ }), d = computed(() => h.value.filter((f) => !!(f && f.date && f.dateString && !isNaN(f.date.getTime()) && typeof f.dateString == "string" && typeof f.day == "number"))), l = (f) => `${f.getFullYear()}-${String(f.getMonth() + 1).padStart(2, "0")}-${String(f.getDate()).padStart(2, "0")}`, i = (f) => {
155
155
  const m = f.dateString;
156
156
  return n.modelValue ? Array.isArray(n.modelValue) ? n.modelValue.some((e) => !e || isNaN(e.getTime()) ? !1 : l(e) === m) : isNaN(n.modelValue.getTime()) ? !1 : l(n.modelValue) === m : !1;
157
157
  }, p = (f) => {
@@ -160,7 +160,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
160
160
  }, c = (f) => {
161
161
  const m = f.date;
162
162
  return n.disablePast && m < new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)) || n.disableFuture && m > new Date((/* @__PURE__ */ new Date()).setHours(23, 59, 59, 999)) ? !1 : m >= n.startDate && m <= n.endDate;
163
- }, g = (f) => {
163
+ }, b = (f) => {
164
164
  var m;
165
165
  return ((m = u.find((e) => e.value === f)) == null ? void 0 : m.label) || "";
166
166
  }, _ = (f) => {
@@ -168,9 +168,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
168
168
  };
169
169
  return (f, m) => (openBlock(), createElementBlock("div", {
170
170
  class: normalizeClass(["hbis-date-strip", {
171
- "hbis-date-strip--highlight-bg": i.highlightType === "bg",
172
- "hbis-date-strip--highlight-dot": i.highlightType === "dot",
173
- "hbis-date-strip--highlight-round": i.highlightType === "round",
171
+ "hbis-date-strip--highlight-bg": s.highlightType === "bg",
172
+ "hbis-date-strip--highlight-dot": s.highlightType === "dot",
173
+ "hbis-date-strip--highlight-round": s.highlightType === "round",
174
174
  "hbis-date-strip--scrollable": r.value
175
175
  }])
176
176
  }, [
@@ -182,20 +182,20 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
182
182
  class: normalizeClass(["hbis-date-strip__weekday", {
183
183
  "hbis-date-strip__weekday--weekend": e.isWeekend
184
184
  }])
185
- }, toDisplayString(g(e.weekday)), 3))), 128))
185
+ }, toDisplayString(b(e.weekday)), 3))), 128))
186
186
  ]),
187
187
  createElementVNode("div", _hoisted_10$1, [
188
188
  (openBlock(!0), createElementBlock(Fragment, null, renderList(d.value, (e) => (openBlock(), createElementBlock("div", {
189
189
  key: e.dateString,
190
190
  class: normalizeClass(["hbis-date-strip__date", {
191
- "hbis-date-strip__date--selected": s(e),
191
+ "hbis-date-strip__date--selected": i(e),
192
192
  "hbis-date-strip__date--today": p(e),
193
193
  "hbis-date-strip__date--disabled": !c(e),
194
194
  "hbis-date-strip__date--weekend": e.isWeekend
195
195
  }]),
196
196
  style: normalizeStyle({
197
- color: s(e) ? i.selectedColor : i.normalColor,
198
- backgroundColor: s(e) ? i.selectedBgColor : i.normalBgColor
197
+ color: i(e) ? s.selectedColor : s.normalColor,
198
+ backgroundColor: i(e) ? s.selectedBgColor : s.normalBgColor
199
199
  }),
200
200
  onClick: (E) => _(e)
201
201
  }, [
@@ -206,8 +206,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
206
206
  ], 14, _hoisted_11$1))), 128))
207
207
  ])
208
208
  ])
209
- ])) : (openBlock(), createElementBlock("div", _hoisted_1$8, [
210
- createElementVNode("div", _hoisted_2$7, [
209
+ ])) : (openBlock(), createElementBlock("div", _hoisted_1$9, [
210
+ createElementVNode("div", _hoisted_2$8, [
211
211
  (openBlock(!0), createElementBlock(Fragment, null, renderList(a.value, (e) => (openBlock(), createElementBlock("div", {
212
212
  key: e.value,
213
213
  class: normalizeClass(["hbis-date-strip__weekday", {
@@ -219,14 +219,14 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
219
219
  (openBlock(!0), createElementBlock(Fragment, null, renderList(d.value, (e) => (openBlock(), createElementBlock("div", {
220
220
  key: e.dateString,
221
221
  class: normalizeClass(["hbis-date-strip__date", {
222
- "hbis-date-strip__date--selected": s(e),
222
+ "hbis-date-strip__date--selected": i(e),
223
223
  "hbis-date-strip__date--today": p(e),
224
224
  "hbis-date-strip__date--disabled": !c(e),
225
225
  "hbis-date-strip__date--weekend": e.isWeekend
226
226
  }]),
227
227
  style: normalizeStyle({
228
- color: s(e) ? i.selectedColor : i.normalColor,
229
- backgroundColor: s(e) ? i.selectedBgColor : i.normalBgColor
228
+ color: i(e) ? s.selectedColor : s.normalColor,
229
+ backgroundColor: i(e) ? s.selectedBgColor : s.normalBgColor
230
230
  }),
231
231
  onClick: (E) => _(e)
232
232
  }, [
@@ -239,17 +239,17 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
239
239
  ]))
240
240
  ], 2));
241
241
  }
242
- }), hbisDateStrip = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-f7fe6423"]]), _hoisted_1$7 = { class: "image-preview" }, _hoisted_2$6 = {
242
+ }), hbisDateStrip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-f7fe6423"]]), _hoisted_1$8 = { class: "image-preview" }, _hoisted_2$7 = {
243
243
  key: 0,
244
244
  class: "counter"
245
- }, _hoisted_3$5 = { class: "counter-text" }, _hoisted_4$4 = { class: "swiper-container" }, _hoisted_5$3 = ["onWheel"], _hoisted_6$3 = ["src", "onLoad"], _hoisted_7$3 = ["disabled"], _hoisted_8$1 = ["disabled"], _sfc_main$9 = {
245
+ }, _hoisted_3$5 = { class: "counter-text" }, _hoisted_4$4 = { class: "swiper-container" }, _hoisted_5$3 = ["onWheel"], _hoisted_6$3 = ["src", "onLoad"], _hoisted_7$3 = ["disabled"], _hoisted_8$1 = ["disabled"], _sfc_main$a = {
246
246
  __name: "hbis-previewImage",
247
247
  props: {
248
248
  // 图片集合
249
249
  images: {
250
250
  type: Array,
251
251
  required: !0,
252
- validator: (i) => i.every((b) => typeof b == "string")
252
+ validator: (s) => s.every((y) => typeof y == "string")
253
253
  },
254
254
  // 当前显示的图片索引
255
255
  initialIndex: {
@@ -278,33 +278,33 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
278
278
  }
279
279
  },
280
280
  emits: ["close", "change", "update:initialIndex"],
281
- setup(i, { emit: b }) {
282
- const n = i, t = b, r = ref(n.initialIndex), u = ref(null), a = ref(!1), o = ref(!1), h = ref(0), d = ref(0), l = ref(0), s = ref(window.innerWidth), p = ref(window.innerHeight), c = ref(n.images.map(() => ({
281
+ setup(s, { emit: y }) {
282
+ const n = s, t = y, r = ref(n.initialIndex), u = ref(null), a = ref(!1), o = ref(!1), h = ref(0), d = ref(0), l = ref(0), i = ref(window.innerWidth), p = ref(window.innerHeight), c = ref(n.images.map(() => ({
283
283
  scale: 1,
284
284
  translateX: 0,
285
285
  translateY: 0,
286
286
  naturalWidth: 0,
287
287
  naturalHeight: 0,
288
288
  isLoaded: !1
289
- }))), g = ref(0), _ = ref(0), f = ref(0), m = ref(0), e = ref(0), E = computed(() => ({
289
+ }))), b = ref(0), _ = ref(0), f = ref(0), m = ref(0), e = ref(0), E = computed(() => ({
290
290
  transform: `translateX(${l.value}px)`,
291
291
  transition: a.value ? "none" : "transform 0.3s ease"
292
- })), y = computed(() => ({
293
- width: `${s.value}px`,
292
+ })), v = computed(() => ({
293
+ width: `${i.value}px`,
294
294
  height: `${p.value}px`
295
295
  }));
296
- watch(() => n.initialIndex, (v) => {
297
- v !== r.value && (r.value = v, w());
296
+ watch(() => n.initialIndex, (g) => {
297
+ g !== r.value && (r.value = g, w());
298
298
  }), onMounted(() => {
299
- const v = () => {
300
- s.value = window.innerWidth, p.value = window.innerHeight, w();
299
+ const g = () => {
300
+ i.value = window.innerWidth, p.value = window.innerHeight, w();
301
301
  };
302
- return window.addEventListener("resize", v), v(), () => {
303
- window.removeEventListener("resize", v);
302
+ return window.addEventListener("resize", g), g(), () => {
303
+ window.removeEventListener("resize", g);
304
304
  };
305
305
  });
306
306
  const w = () => {
307
- l.value = -r.value * s.value;
307
+ l.value = -r.value * i.value;
308
308
  }, N = () => {
309
309
  r.value > 0 && (r.value--, w(), C(), t("change", r.value), t("update:initialIndex", r.value));
310
310
  }, S = () => {
@@ -316,87 +316,87 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
316
316
  translateX: 0,
317
317
  translateY: 0
318
318
  };
319
- }, $ = (v) => {
320
- const k = c.value[v];
319
+ }, $ = (g) => {
320
+ const k = c.value[g];
321
321
  return {
322
322
  transform: `scale(${k.scale}) translate(${k.translateX}px, ${k.translateY}px)`,
323
323
  transition: o.value ? "none" : "transform 0.1s ease",
324
324
  opacity: k.isLoaded ? 1 : 0
325
325
  };
326
- }, M = (v) => {
326
+ }, M = (g) => {
327
327
  const k = event.target;
328
- c.value[v] = {
329
- ...c.value[v],
328
+ c.value[g] = {
329
+ ...c.value[g],
330
330
  naturalWidth: k.naturalWidth,
331
331
  naturalHeight: k.naturalHeight,
332
332
  isLoaded: !0
333
333
  };
334
- }, F = (v) => {
335
- v.target.tagName === "IMG" ? (o.value = !0, h.value = v.clientX - c.value[r.value].translateX, d.value = v.clientY - c.value[r.value].translateY) : (a.value = !0, h.value = v.clientX - l.value), v.preventDefault();
336
- }, D = (v) => {
334
+ }, F = (g) => {
335
+ g.target.tagName === "IMG" ? (o.value = !0, h.value = g.clientX - c.value[r.value].translateX, d.value = g.clientY - c.value[r.value].translateY) : (a.value = !0, h.value = g.clientX - l.value), g.preventDefault();
336
+ }, D = (g) => {
337
337
  if (o.value) {
338
- const k = v.clientX - h.value, A = v.clientY - d.value;
338
+ const k = g.clientX - h.value, A = g.clientY - d.value;
339
339
  c.value[r.value] = {
340
340
  ...c.value[r.value],
341
341
  translateX: k,
342
342
  translateY: A
343
343
  };
344
344
  } else if (a.value && n.enableSwipe) {
345
- const k = v.clientX - h.value;
345
+ const k = g.clientX - h.value;
346
346
  l.value = k;
347
347
  }
348
348
  }, x = () => {
349
349
  if (a.value && n.enableSwipe) {
350
- const v = s.value * 0.3;
351
- Math.abs(l.value + r.value * s.value) > v ? l.value > 0 ? N() : S() : w();
350
+ const g = i.value * 0.3;
351
+ Math.abs(l.value + r.value * i.value) > g ? l.value > 0 ? N() : S() : w();
352
352
  }
353
353
  a.value = !1, o.value = !1;
354
- }, T = (v) => {
355
- const k = v.touches[0];
356
- g.value = k.clientX, _.value = k.clientY, f.value = Date.now();
357
- }, V = (v) => {
358
- const k = v.touches[0];
354
+ }, T = (g) => {
355
+ const k = g.touches[0];
356
+ b.value = k.clientX, _.value = k.clientY, f.value = Date.now();
357
+ }, V = (g) => {
358
+ const k = g.touches[0];
359
359
  m.value = k.clientX, e.value = k.clientY;
360
- const A = m.value - g.value, B = e.value - _.value;
360
+ const A = m.value - b.value, B = e.value - _.value;
361
361
  if (Math.abs(A) > Math.abs(B))
362
- v.preventDefault(), a.value = !0, l.value = -r.value * s.value + A;
362
+ g.preventDefault(), a.value = !0, l.value = -r.value * i.value + A;
363
363
  else if (c.value[r.value].scale > 1) {
364
- v.preventDefault(), o.value = !0;
365
- const L = A + c.value[r.value].translateX, j = B + c.value[r.value].translateY;
364
+ g.preventDefault(), o.value = !0;
365
+ const z = A + c.value[r.value].translateX, L = B + c.value[r.value].translateY;
366
366
  c.value[r.value] = {
367
367
  ...c.value[r.value],
368
- translateX: L,
369
- translateY: j
368
+ translateX: z,
369
+ translateY: L
370
370
  };
371
371
  }
372
372
  }, O = () => {
373
373
  if (a.value) {
374
- const v = m.value - g.value, k = Date.now() - f.value, A = s.value * 0.2, B = Math.abs(v) / k;
375
- Math.abs(v) > A || B > 0.5 ? v > 0 ? N() : S() : w();
374
+ const g = m.value - b.value, k = Date.now() - f.value, A = i.value * 0.2, B = Math.abs(g) / k;
375
+ Math.abs(g) > A || B > 0.5 ? g > 0 ? N() : S() : w();
376
376
  }
377
377
  a.value = !1, o.value = !1;
378
- }, I = (v, k) => {
378
+ }, I = (g, k) => {
379
379
  if (k !== r.value) return;
380
- v.preventDefault();
381
- const A = v.deltaY > 0 ? -0.1 : 0.1, B = v.clientX, L = v.clientY;
382
- R(B, L, A);
383
- }, R = (v, k, A) => {
384
- const B = c.value[r.value], L = Math.max(
380
+ g.preventDefault();
381
+ const A = g.deltaY > 0 ? -0.1 : 0.1, B = g.clientX, z = g.clientY;
382
+ R(B, z, A);
383
+ }, R = (g, k, A) => {
384
+ const B = c.value[r.value], z = Math.max(
385
385
  n.minScale,
386
386
  Math.min(n.maxScale, B.scale + A)
387
- ), j = event.target.getBoundingClientRect(), z = v - j.left, P = k - j.top, W = L - B.scale, H = B.translateX + (z - B.translateX) * (W / B.scale), U = B.translateY + (P - B.translateY) * (W / B.scale);
387
+ ), L = event.target.getBoundingClientRect(), P = g - L.left, j = k - L.top, W = z - B.scale, H = B.translateX + (P - B.translateX) * (W / B.scale), U = B.translateY + (j - B.translateY) * (W / B.scale);
388
388
  c.value[r.value] = {
389
389
  ...B,
390
- scale: L,
390
+ scale: z,
391
391
  translateX: H,
392
392
  translateY: U
393
393
  };
394
394
  };
395
- return (v, k) => (openBlock(), createElementBlock("div", _hoisted_1$7, [
396
- i.images.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
397
- createElementVNode("span", _hoisted_3$5, toDisplayString(r.value + 1) + "/" + toDisplayString(i.images.length), 1)
395
+ return (g, k) => (openBlock(), createElementBlock("div", _hoisted_1$8, [
396
+ s.images.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
397
+ createElementVNode("span", _hoisted_3$5, toDisplayString(r.value + 1) + "/" + toDisplayString(s.images.length), 1)
398
398
  ])) : createCommentVNode("", !0),
399
- i.showCloseBtn ? (openBlock(), createElementBlock("button", {
399
+ s.showCloseBtn ? (openBlock(), createElementBlock("button", {
400
400
  key: 1,
401
401
  class: "close-btn",
402
402
  onClick: k[0] || (k[0] = (A) => t("close"))
@@ -437,21 +437,21 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
437
437
  onMouseup: x,
438
438
  onMouseleave: x
439
439
  }, [
440
- (openBlock(!0), createElementBlock(Fragment, null, renderList(i.images, (A, B) => (openBlock(), createElementBlock("div", {
440
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.images, (A, B) => (openBlock(), createElementBlock("div", {
441
441
  key: B,
442
442
  class: "swiper-slide",
443
- style: normalizeStyle(y.value)
443
+ style: normalizeStyle(v.value)
444
444
  }, [
445
445
  createElementVNode("div", {
446
446
  class: "image-container",
447
- onWheel: (L) => I(L, B)
447
+ onWheel: (z) => I(z, B)
448
448
  }, [
449
449
  createElementVNode("img", {
450
450
  src: A,
451
451
  alt: "Preview image",
452
452
  class: "preview-image",
453
453
  style: normalizeStyle($(B)),
454
- onLoad: (L) => M(B),
454
+ onLoad: (z) => M(B),
455
455
  loading: "lazy"
456
456
  }, null, 44, _hoisted_6$3)
457
457
  ], 40, _hoisted_5$3)
@@ -477,7 +477,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
477
477
  createElementVNode("button", {
478
478
  class: "nav-btn next-btn",
479
479
  onClick: S,
480
- disabled: r.value === i.images.length - 1
480
+ disabled: r.value === s.images.length - 1
481
481
  }, [...k[3] || (k[3] = [
482
482
  createElementVNode("svg", {
483
483
  width: "24",
@@ -492,7 +492,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
492
492
  ])], 8, _hoisted_8$1)
493
493
  ]));
494
494
  }
495
- }, _sfc_main$8 = {
495
+ }, _sfc_main$9 = {
496
496
  __name: "hbis-auto-scroll-list",
497
497
  props: {
498
498
  // 列表数据数组
@@ -509,7 +509,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
509
509
  direction: {
510
510
  type: String,
511
511
  default: "vertical",
512
- validator: (i) => ["vertical", "horizontal"].includes(i)
512
+ validator: (s) => ["vertical", "horizontal"].includes(s)
513
513
  },
514
514
  // 鼠标悬停是否暂停
515
515
  pauseOnHover: {
@@ -553,8 +553,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
553
553
  }
554
554
  },
555
555
  emits: ["scroll", "pause", "resume", "dragStart", "dragEnd"],
556
- setup(i, { expose: b, emit: n }) {
557
- const t = i, r = n, u = ref(null), a = ref(null), o = ref(!1), h = ref(null), d = ref(0), l = ref([]), s = ref(!1), p = ref(0), c = ref(0), g = ref(0), _ = ref(!1), f = computed(() => ({
556
+ setup(s, { expose: y, emit: n }) {
557
+ const t = s, r = n, u = ref(null), a = ref(null), o = ref(!1), h = ref(null), d = ref(0), l = ref([]), i = ref(!1), p = ref(0), c = ref(0), b = ref(0), _ = ref(!1), f = computed(() => ({
558
558
  // 动态设置容器高度和宽度
559
559
  height: typeof t.containerHeight == "number" ? `${t.containerHeight}px` : t.containerHeight,
560
560
  width: typeof t.containerWidth == "number" ? `${t.containerWidth}px` : t.containerWidth,
@@ -563,7 +563,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
563
563
  position: "relative"
564
564
  // 相对定位,为绝对定位的内容容器提供参考
565
565
  })), m = computed(() => {
566
- const v = {
566
+ const g = {
567
567
  with: "100%",
568
568
  position: "absolute",
569
569
  // 绝对定位,实现自由移动
@@ -572,7 +572,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
572
572
  willChange: "transform"
573
573
  // 告诉浏览器将要变化的属性,优化性能
574
574
  };
575
- return t.direction === "vertical" ? v.transform = `translateY(${d.value}px)` : v.transform = `translateX(${d.value}px)`, v;
575
+ return t.direction === "vertical" ? g.transform = `translateY(${d.value}px)` : g.transform = `translateX(${d.value}px)`, g;
576
576
  }), e = () => {
577
577
  if (!t.data || t.data.length === 0) {
578
578
  l.value = [];
@@ -580,27 +580,27 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
580
580
  }
581
581
  t.loop ? l.value = [...t.data, ...t.data] : l.value = [...t.data];
582
582
  }, E = () => {
583
- if (o.value || s.value) {
583
+ if (o.value || i.value) {
584
584
  h.value = requestAnimationFrame(E);
585
585
  return;
586
586
  }
587
- const v = u.value, k = a.value;
588
- if (!v || !k) {
587
+ const g = u.value, k = a.value;
588
+ if (!g || !k) {
589
589
  h.value = requestAnimationFrame(E);
590
590
  return;
591
591
  }
592
- const A = t.direction === "vertical" ? v.offsetHeight : v.offsetWidth, L = (t.direction === "vertical" ? t.itemHeight : t.itemWidth) * t.data.length;
592
+ const A = t.direction === "vertical" ? g.offsetHeight : g.offsetWidth, z = (t.direction === "vertical" ? t.itemHeight : t.itemWidth) * t.data.length;
593
593
  if (d.value -= t.speed, t.loop)
594
- Math.abs(d.value) >= L && (d.value = 0);
594
+ Math.abs(d.value) >= z && (d.value = 0);
595
595
  else {
596
- const j = -(L - A);
597
- if (d.value <= j) {
598
- d.value = j, o.value = !0, r("scroll", d.value);
596
+ const L = -(z - A);
597
+ if (d.value <= L) {
598
+ d.value = L, o.value = !0, r("scroll", d.value);
599
599
  return;
600
600
  }
601
601
  }
602
602
  r("scroll", d.value), h.value = requestAnimationFrame(E);
603
- }, y = () => {
603
+ }, v = () => {
604
604
  h.value && cancelAnimationFrame(h.value), h.value = requestAnimationFrame(E);
605
605
  }, w = () => {
606
606
  h.value && (cancelAnimationFrame(h.value), h.value = null);
@@ -611,79 +611,79 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
611
611
  }, C = () => {
612
612
  t.pauseOnHover && N();
613
613
  }, $ = () => {
614
- t.pauseOnHover && !s.value && S();
615
- }, M = (v) => {
616
- s.value = !0, _.value = o.value, o.value = !0, p.value = t.direction === "vertical" ? v.clientY : v.clientX, c.value = p.value, g.value = d.value, r("dragStart"), document.addEventListener("mousemove", F), document.addEventListener("mouseup", D);
617
- }, F = (v) => {
618
- if (!s.value) return;
619
- c.value = t.direction === "vertical" ? v.clientY : v.clientX;
614
+ t.pauseOnHover && !i.value && S();
615
+ }, M = (g) => {
616
+ i.value = !0, _.value = o.value, o.value = !0, p.value = t.direction === "vertical" ? g.clientY : g.clientX, c.value = p.value, b.value = d.value, r("dragStart"), document.addEventListener("mousemove", F), document.addEventListener("mouseup", D);
617
+ }, F = (g) => {
618
+ if (!i.value) return;
619
+ c.value = t.direction === "vertical" ? g.clientY : g.clientX;
620
620
  const k = c.value - p.value;
621
- d.value = g.value + k;
621
+ d.value = b.value + k;
622
622
  const A = u.value, B = a.value;
623
623
  if (A && B) {
624
- const L = t.direction === "vertical" ? A.offsetHeight : A.offsetWidth, z = (t.direction === "vertical" ? t.itemHeight : t.itemWidth) * t.data.length;
624
+ const z = t.direction === "vertical" ? A.offsetHeight : A.offsetWidth, P = (t.direction === "vertical" ? t.itemHeight : t.itemWidth) * t.data.length;
625
625
  if (t.loop)
626
- d.value > 0 ? d.value = 0 : Math.abs(d.value) > z && (d.value = -z);
626
+ d.value > 0 ? d.value = 0 : Math.abs(d.value) > P && (d.value = -P);
627
627
  else {
628
- const P = -(z - L);
629
- d.value > 0 ? d.value = 0 : d.value < P && (d.value = P);
628
+ const j = -(P - z);
629
+ d.value > 0 ? d.value = 0 : d.value < j && (d.value = j);
630
630
  }
631
631
  }
632
632
  r("scroll", d.value);
633
633
  }, D = () => {
634
- s.value && (s.value = !1, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", D), _.value || (o.value = !1), r("dragEnd"));
635
- }, x = (v) => {
636
- const k = v.touches[0];
637
- s.value = !0, _.value = o.value, o.value = !0, p.value = t.direction === "vertical" ? k.clientY : k.clientX, c.value = p.value, g.value = d.value, r("dragStart");
638
- }, T = (v) => {
639
- if (!s.value) return;
640
- v.preventDefault();
641
- const k = v.touches[0];
634
+ i.value && (i.value = !1, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", D), _.value || (o.value = !1), r("dragEnd"));
635
+ }, x = (g) => {
636
+ const k = g.touches[0];
637
+ i.value = !0, _.value = o.value, o.value = !0, p.value = t.direction === "vertical" ? k.clientY : k.clientX, c.value = p.value, b.value = d.value, r("dragStart");
638
+ }, T = (g) => {
639
+ if (!i.value) return;
640
+ g.preventDefault();
641
+ const k = g.touches[0];
642
642
  c.value = t.direction === "vertical" ? k.clientY : k.clientX;
643
643
  const A = c.value - p.value;
644
- d.value = g.value + A;
645
- const B = u.value, L = a.value;
646
- if (B && L) {
647
- const j = t.direction === "vertical" ? B.offsetHeight : B.offsetWidth, P = (t.direction === "vertical" ? t.itemHeight : t.itemWidth) * t.data.length;
644
+ d.value = b.value + A;
645
+ const B = u.value, z = a.value;
646
+ if (B && z) {
647
+ const L = t.direction === "vertical" ? B.offsetHeight : B.offsetWidth, j = (t.direction === "vertical" ? t.itemHeight : t.itemWidth) * t.data.length;
648
648
  if (t.loop)
649
- d.value > 0 ? d.value = 0 : Math.abs(d.value) > P && (d.value = -P);
649
+ d.value > 0 ? d.value = 0 : Math.abs(d.value) > j && (d.value = -j);
650
650
  else {
651
- const W = -(P - j);
651
+ const W = -(j - L);
652
652
  d.value > 0 ? d.value = 0 : d.value < W && (d.value = W);
653
653
  }
654
654
  }
655
655
  r("scroll", d.value);
656
656
  }, V = () => {
657
- s.value && (s.value = !1, _.value || (o.value = !1), r("dragEnd"));
658
- }, O = (v) => {
659
- d.value = v;
657
+ i.value && (i.value = !1, _.value || (o.value = !1), r("dragEnd"));
658
+ }, O = (g) => {
659
+ d.value = g;
660
660
  }, I = () => {
661
661
  d.value = 0;
662
662
  }, R = () => {
663
- const v = u.value;
664
- if (v) {
663
+ const g = u.value;
664
+ if (g) {
665
665
  const k = a.value;
666
666
  if (k) {
667
667
  const A = t.direction === "vertical" ? k.offsetHeight : k.offsetWidth;
668
- d.value = -(A - v.offsetHeight);
668
+ d.value = -(A - g.offsetHeight);
669
669
  }
670
670
  }
671
671
  };
672
672
  return watch(() => t.data, () => {
673
673
  e(), d.value = 0;
674
674
  }, { deep: !0 }), watch(() => t.speed, () => {
675
- o.value || (w(), y());
675
+ o.value || (w(), v());
676
676
  }), onMounted(() => {
677
677
  e(), nextTick(() => {
678
- y();
679
- const v = u.value;
680
- v && (v.addEventListener("mouseenter", C), v.addEventListener("mouseleave", $));
678
+ v();
679
+ const g = u.value;
680
+ g && (g.addEventListener("mouseenter", C), g.addEventListener("mouseleave", $));
681
681
  });
682
682
  }), onUnmounted(() => {
683
683
  w();
684
- const v = u.value;
685
- v && (v.removeEventListener("mouseenter", C), v.removeEventListener("mouseleave", $)), document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", D);
686
- }), b({
684
+ const g = u.value;
685
+ g && (g.removeEventListener("mouseenter", C), g.removeEventListener("mouseleave", $)), document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", D);
686
+ }), y({
687
687
  pause: N,
688
688
  // 暂停滚动
689
689
  resume: S,
@@ -696,9 +696,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
696
696
  // 滚动到底部
697
697
  isPaused: o,
698
698
  // 是否暂停(响应式)
699
- isDragging: s
699
+ isDragging: i
700
700
  // 是否正在拖拽(响应式)
701
- }), (v, k) => (openBlock(), createElementBlock("div", {
701
+ }), (g, k) => (openBlock(), createElementBlock("div", {
702
702
  class: "hbis-auto-scroll-list",
703
703
  ref_key: "containerRef",
704
704
  ref: u,
@@ -714,28 +714,28 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
714
714
  ref: a,
715
715
  style: normalizeStyle(m.value)
716
716
  }, [
717
- (openBlock(!0), createElementBlock(Fragment, null, renderList(l.value, (A, B) => renderSlot(v.$slots, "item", {
717
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(l.value, (A, B) => renderSlot(g.$slots, "item", {
718
718
  item: A,
719
719
  index: B
720
720
  }, () => [
721
721
  createElementVNode("div", {
722
722
  class: "default-item",
723
- style: normalizeStyle(i.itemStyle)
723
+ style: normalizeStyle(s.itemStyle)
724
724
  }, toDisplayString(A), 5)
725
725
  ], !0)), 256))
726
726
  ], 4)
727
727
  ], 36));
728
728
  }
729
- }, HbisAutoScrollList = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-d516a98e"]]), _hoisted_1$6 = {
729
+ }, HbisAutoScrollList = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-d516a98e"]]), _hoisted_1$7 = {
730
730
  key: 0,
731
731
  class: "circular-spinner"
732
- }, _hoisted_2$5 = {
732
+ }, _hoisted_2$6 = {
733
733
  key: 1,
734
734
  class: "dots-spinner"
735
735
  }, _hoisted_3$4 = {
736
736
  key: 2,
737
737
  class: "bars-spinner"
738
- }, _sfc_main$7 = {
738
+ }, _sfc_main$8 = {
739
739
  __name: "hbis-loading",
740
740
  props: {
741
741
  // 控制加载组件是否显示
@@ -770,22 +770,22 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
770
770
  }
771
771
  },
772
772
  emits: ["update:visible", "close"],
773
- setup(i, { expose: b, emit: n }) {
774
- const t = i, r = n, u = () => {
773
+ setup(s, { expose: y, emit: n }) {
774
+ const t = s, r = n, u = () => {
775
775
  t.touchDismiss && (r("update:visible", !1), r("close"));
776
776
  };
777
777
  return watch(() => t.visible, (a) => {
778
778
  a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
779
779
  }), onUnmounted(() => {
780
780
  document.body.style.overflow = "";
781
- }), b({
781
+ }), y({
782
782
  show: () => r("update:visible", !0),
783
783
  hide: () => {
784
784
  r("update:visible", !1), r("close");
785
785
  }
786
- }), (a, o) => i.visible ? (openBlock(), createElementBlock("div", {
786
+ }), (a, o) => s.visible ? (openBlock(), createElementBlock("div", {
787
787
  key: 0,
788
- class: normalizeClass(["hbis-loading-container", { "touch-dismissible": i.touchDismiss }]),
788
+ class: normalizeClass(["hbis-loading-container", { "touch-dismissible": s.touchDismiss }]),
789
789
  onClick: u
790
790
  }, [
791
791
  createElementVNode("div", {
@@ -795,30 +795,30 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
795
795
  }, [
796
796
  renderSlot(a.$slots, "spinner", {}, () => [
797
797
  createElementVNode("div", {
798
- class: normalizeClass(["hbis-loading-spinner", i.spinnerType])
798
+ class: normalizeClass(["hbis-loading-spinner", s.spinnerType])
799
799
  }, [
800
- i.spinnerType === "circular" ? (openBlock(), createElementBlock("div", _hoisted_1$6, [...o[1] || (o[1] = [
800
+ s.spinnerType === "circular" ? (openBlock(), createElementBlock("div", _hoisted_1$7, [...o[1] || (o[1] = [
801
801
  createElementVNode("div", { class: "circle" }, null, -1)
802
- ])])) : i.spinnerType === "dots" ? (openBlock(), createElementBlock("div", _hoisted_2$5, [...o[2] || (o[2] = [
802
+ ])])) : s.spinnerType === "dots" ? (openBlock(), createElementBlock("div", _hoisted_2$6, [...o[2] || (o[2] = [
803
803
  createElementVNode("div", { class: "dot" }, null, -1),
804
804
  createElementVNode("div", { class: "dot" }, null, -1),
805
805
  createElementVNode("div", { class: "dot" }, null, -1)
806
- ])])) : i.spinnerType === "bars" ? (openBlock(), createElementBlock("div", _hoisted_3$4, [...o[3] || (o[3] = [
806
+ ])])) : s.spinnerType === "bars" ? (openBlock(), createElementBlock("div", _hoisted_3$4, [...o[3] || (o[3] = [
807
807
  createElementVNode("div", { class: "bar" }, null, -1),
808
808
  createElementVNode("div", { class: "bar" }, null, -1),
809
809
  createElementVNode("div", { class: "bar" }, null, -1)
810
810
  ])])) : createCommentVNode("", !0)
811
811
  ], 2)
812
812
  ], !0),
813
- i.text ? (openBlock(), createElementBlock("div", {
813
+ s.text ? (openBlock(), createElementBlock("div", {
814
814
  key: 0,
815
815
  class: "hbis-loading-text",
816
- style: normalizeStyle(i.textStyle)
817
- }, toDisplayString(i.text), 5)) : createCommentVNode("", !0)
816
+ style: normalizeStyle(s.textStyle)
817
+ }, toDisplayString(s.text), 5)) : createCommentVNode("", !0)
818
818
  ])
819
819
  ], 2)) : createCommentVNode("", !0);
820
820
  }
821
- }, hbisLoading = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-61aef9bd"]]), _hoisted_1$5 = { class: "parent-view" }, _sfc_main$6 = {
821
+ }, hbisLoading = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-61aef9bd"]]), _hoisted_1$6 = { class: "parent-view" }, _sfc_main$7 = {
822
822
  __name: "hbis-sms-input",
823
823
  props: {
824
824
  /* 倒计时时间
@@ -877,15 +877,15 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
877
877
  }
878
878
  },
879
879
  emits: ["custom-event"],
880
- setup(i, { expose: b, emit: n }) {
881
- const t = i, r = n, u = ref(!0), a = ref(""), o = ref(t.countDownTime), h = () => {
880
+ setup(s, { expose: y, emit: n }) {
881
+ const t = s, r = n, u = ref(!0), a = ref(""), o = ref(t.countDownTime), h = () => {
882
882
  if (console.log("验证码isSendSMS:" + u.value), !u.value) {
883
883
  console.log("请" + t.countDownTime + "秒后再重试。");
884
884
  return;
885
885
  }
886
886
  r("custom-event");
887
887
  };
888
- return b({
888
+ return y({
889
889
  countDown: () => {
890
890
  o.value = t.countDownTime;
891
891
  let l = setInterval(() => {
@@ -893,40 +893,40 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
893
893
  }, 1e3);
894
894
  },
895
895
  smsCode: a
896
- }), (l, s) => (openBlock(), createElementBlock("div", _hoisted_1$5, [
896
+ }), (l, i) => (openBlock(), createElementBlock("div", _hoisted_1$6, [
897
897
  createElementVNode("div", {
898
898
  class: "input_view_sms_code",
899
- style: normalizeStyle({ background: i.inputColor })
899
+ style: normalizeStyle({ background: s.inputColor })
900
900
  }, [
901
901
  withDirectives(createElementVNode("input", {
902
902
  type: "text",
903
903
  class: "view_sms_code",
904
904
  "placeholder-style": "color:#999",
905
905
  placeholder: "请输入验证码",
906
- "onUpdate:modelValue": s[0] || (s[0] = (p) => a.value = p),
907
- style: normalizeStyle({ color: i.inputTextColor })
906
+ "onUpdate:modelValue": i[0] || (i[0] = (p) => a.value = p),
907
+ style: normalizeStyle({ color: s.inputTextColor })
908
908
  }, null, 4), [
909
909
  [vModelText, a.value]
910
910
  ]),
911
911
  u.value ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", {
912
912
  key: 0,
913
913
  class: normalizeClass(["sms_code_btn", { disabled: !u.value }]),
914
- style: normalizeStyle({ color: i.smsCodeBtnTextColor, background: i.smsCodeBtnColor }),
914
+ style: normalizeStyle({ color: s.smsCodeBtnTextColor, background: s.smsCodeBtnColor }),
915
915
  onClick: h
916
- }, toDisplayString(o.value) + " " + toDisplayString(i.smsCodeTimeText), 7)),
916
+ }, toDisplayString(o.value) + " " + toDisplayString(s.smsCodeTimeText), 7)),
917
917
  u.value ? (openBlock(), createElementBlock("div", {
918
918
  key: 1,
919
919
  class: "sms_code_btn",
920
- style: normalizeStyle({ color: i.smsCodeBtnTextColor, background: i.smsCodeBtnColor }),
920
+ style: normalizeStyle({ color: s.smsCodeBtnTextColor, background: s.smsCodeBtnColor }),
921
921
  onClick: h
922
- }, toDisplayString(i.smsCodeBtnText), 5)) : createCommentVNode("", !0)
922
+ }, toDisplayString(s.smsCodeBtnText), 5)) : createCommentVNode("", !0)
923
923
  ], 4)
924
924
  ]));
925
925
  }
926
- }, HbisSmsInput = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-ef42fb9a"]]), _hoisted_1$4 = { class: "waterfall-debug" }, _hoisted_2$4 = { class: "waterfall-container" }, _hoisted_3$3 = { class: "column-debug" }, _hoisted_4$3 = {
926
+ }, HbisSmsInput = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-ef42fb9a"]]), _hoisted_1$5 = { class: "waterfall-debug" }, _hoisted_2$5 = { class: "waterfall-container" }, _hoisted_3$3 = { class: "column-debug" }, _hoisted_4$3 = {
927
927
  key: 0,
928
928
  class: "waterfall-item-with-slot"
929
- }, _hoisted_5$2 = ["src"], _hoisted_6$2 = { class: "waterfall-content" }, _hoisted_7$2 = ["src"], _sfc_main$5 = /* @__PURE__ */ Object.assign({
929
+ }, _hoisted_5$2 = ["src"], _hoisted_6$2 = { class: "waterfall-content" }, _hoisted_7$2 = ["src"], _sfc_main$6 = /* @__PURE__ */ Object.assign({
930
930
  name: "HbisWaterfall"
931
931
  }, {
932
932
  __name: "hbis-waterfall",
@@ -944,7 +944,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
944
944
  column: {
945
945
  type: Number,
946
946
  default: 2,
947
- validator: (i) => i >= 2
947
+ validator: (s) => s >= 2
948
948
  },
949
949
  /**
950
950
  * 最大列数
@@ -983,90 +983,90 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
983
983
  }
984
984
  },
985
985
  emits: ["load", "error"],
986
- setup(i, { expose: b, emit: n }) {
987
- const t = useSlots(), r = ref(null), u = i, a = n;
986
+ setup(s, { expose: y, emit: n }) {
987
+ const t = useSlots(), r = ref(null), u = s, a = n;
988
988
  useCssVars(() => ({
989
989
  columnGap: String(u.columnGap) + "px",
990
990
  rowGap: String(u.rowGap) + "px"
991
991
  }));
992
- const o = ref([]), h = ref(2), d = computed(() => t.default !== void 0), l = (g) => (r.value && r.value.offsetWidth, Math.min(u.column, u.maxColumn), parseInt(u.columnGap), parseInt(u.rowGap), 200 + Math.floor(Math.random() * 100) + 20), s = () => {
992
+ const o = ref([]), h = ref(2), d = computed(() => t.default !== void 0), l = (b) => (r.value && r.value.offsetWidth, Math.min(u.column, u.maxColumn), parseInt(u.columnGap), parseInt(u.rowGap), 200 + Math.floor(Math.random() * 100) + 20), i = () => {
993
993
  console.log("开始分配数据,总数据量:", u.data.length);
994
- const g = Math.min(u.column, u.maxColumn);
995
- h.value = g;
994
+ const b = Math.min(u.column, u.maxColumn);
995
+ h.value = b;
996
996
  const _ = [];
997
- for (let f = 0; f < g; f++)
997
+ for (let f = 0; f < b; f++)
998
998
  _.push({
999
999
  items: [],
1000
1000
  height: 0
1001
1001
  });
1002
1002
  o.value = _, u.data.forEach((f, m) => {
1003
1003
  const e = l();
1004
- let E = 1 / 0, y = 0;
1005
- for (let w = 0; w < g; w++)
1006
- o.value[w].height < E && (E = o.value[w].height, y = w);
1007
- o.value[y].items.push(f), o.value[y].height += e, console.log("分配数据到列:", { itemIndex: m, columnIndex: y, itemHeight: e, columnHeight: o.value[y].height });
1004
+ let E = 1 / 0, v = 0;
1005
+ for (let w = 0; w < b; w++)
1006
+ o.value[w].height < E && (E = o.value[w].height, v = w);
1007
+ o.value[v].items.push(f), o.value[v].height += e, console.log("分配数据到列:", { itemIndex: m, columnIndex: v, itemHeight: e, columnHeight: o.value[v].height });
1008
1008
  }), console.log("分配完成,各列数据量:", o.value.map((f, m) => `列${m + 1}: ${f.items.length}个`)), console.log("分配完成,各列高度:", o.value.map((f, m) => `列${m + 1}: ${f.height}px`));
1009
- }, p = (g) => {
1010
- a("load", g);
1011
- }, c = (g) => {
1012
- a("error", g);
1009
+ }, p = (b) => {
1010
+ a("load", b);
1011
+ }, c = (b) => {
1012
+ a("error", b);
1013
1013
  };
1014
1014
  return watch(() => u.data, () => {
1015
- console.log("数据变化,重新分配数据"), s();
1015
+ console.log("数据变化,重新分配数据"), i();
1016
1016
  }, { deep: !0 }), watch(() => [u.column, u.maxColumn], () => {
1017
- console.log("列数变化,更新列数"), h.value = Math.min(u.column, u.maxColumn), s();
1017
+ console.log("列数变化,更新列数"), h.value = Math.min(u.column, u.maxColumn), i();
1018
1018
  }), watch(() => [u.columnGap, u.rowGap], () => {
1019
- console.log("间距变化,重新计算高度和分配数据"), s();
1019
+ console.log("间距变化,重新计算高度和分配数据"), i();
1020
1020
  }), onMounted(() => {
1021
1021
  console.log("===== 组件挂载 ====="), console.log("组件挂载,初始化数据"), console.log("初始数据量:", u.data.length);
1022
1022
  try {
1023
- s(), console.log("===== 组件挂载完成 =====");
1024
- } catch (g) {
1025
- console.error("refresh函数执行失败:", g), console.log("===== 组件挂载失败 =====");
1023
+ i(), console.log("===== 组件挂载完成 =====");
1024
+ } catch (b) {
1025
+ console.error("refresh函数执行失败:", b), console.log("===== 组件挂载失败 =====");
1026
1026
  }
1027
- }), b({
1028
- refresh: s
1029
- }), (g, _) => (openBlock(), createElementBlock("div", {
1027
+ }), y({
1028
+ refresh: i
1029
+ }), (b, _) => (openBlock(), createElementBlock("div", {
1030
1030
  ref_key: "waterfallRef",
1031
1031
  ref: r
1032
1032
  }, [
1033
- createElementVNode("div", _hoisted_1$4, [
1033
+ createElementVNode("div", _hoisted_1$5, [
1034
1034
  createTextVNode(" 列数: " + toDisplayString(h.value) + " ", 1),
1035
1035
  _[1] || (_[1] = createElementVNode("br", null, null, -1)),
1036
- createTextVNode(" 数据总量: " + toDisplayString(i.data.length) + " ", 1),
1036
+ createTextVNode(" 数据总量: " + toDisplayString(s.data.length) + " ", 1),
1037
1037
  _[2] || (_[2] = createElementVNode("br", null, null, -1)),
1038
1038
  (openBlock(!0), createElementBlock(Fragment, null, renderList(o.value, (f, m) => (openBlock(), createElementBlock(Fragment, { key: m }, [
1039
1039
  createTextVNode(" 列" + toDisplayString(m + 1) + "数据量: " + toDisplayString(f.items.length), 1),
1040
1040
  _[0] || (_[0] = createElementVNode("br", null, null, -1))
1041
1041
  ], 64))), 128))
1042
1042
  ]),
1043
- createElementVNode("div", _hoisted_2$4, [
1043
+ createElementVNode("div", _hoisted_2$5, [
1044
1044
  (openBlock(!0), createElementBlock(Fragment, null, renderList(o.value, (f, m) => (openBlock(), createElementBlock("div", {
1045
1045
  key: m,
1046
1046
  class: "waterfall-column"
1047
1047
  }, [
1048
1048
  createElementVNode("div", _hoisted_3$3, " 列" + toDisplayString(m + 1) + ": " + toDisplayString(f.items.length) + "个元素 ", 1),
1049
1049
  (openBlock(!0), createElementBlock(Fragment, null, renderList(f.items, (e, E) => (openBlock(), createElementBlock("div", {
1050
- key: e[i.itemKey] || `col${m}-${E}`,
1050
+ key: e[s.itemKey] || `col${m}-${E}`,
1051
1051
  class: "waterfall-item"
1052
1052
  }, [
1053
1053
  d.value ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
1054
1054
  createElementVNode("img", {
1055
- src: e[i.imageKey],
1055
+ src: e[s.imageKey],
1056
1056
  class: "waterfall-image",
1057
1057
  style: normalizeStyle({ height: l() + "px" }),
1058
1058
  onLoad: p,
1059
1059
  onError: c
1060
1060
  }, null, 44, _hoisted_5$2),
1061
1061
  createElementVNode("div", _hoisted_6$2, [
1062
- renderSlot(g.$slots, "default", {
1062
+ renderSlot(b.$slots, "default", {
1063
1063
  item: e,
1064
1064
  index: E
1065
1065
  }, void 0, !0)
1066
1066
  ])
1067
1067
  ])) : (openBlock(), createElementBlock("img", {
1068
1068
  key: 1,
1069
- src: e[i.imageKey],
1069
+ src: e[s.imageKey],
1070
1070
  class: "waterfall-image",
1071
1071
  style: normalizeStyle({ height: l() + "px" }),
1072
1072
  onLoad: p,
@@ -1077,7 +1077,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1077
1077
  ])
1078
1078
  ], 512));
1079
1079
  }
1080
- }), HbisWaterfall = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cae450ae"]]);
1080
+ }), HbisWaterfall = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-cae450ae"]]);
1081
1081
  var svga_lite_min = { exports: {} };
1082
1082
  /*!
1083
1083
  * svga.lite
@@ -1088,17 +1088,17 @@ var svga_lite_min = { exports: {} };
1088
1088
  * Released under the MIT License.
1089
1089
  */
1090
1090
  (function(module, exports$1) {
1091
- (function(i, b) {
1092
- module.exports = b();
1091
+ (function(s, y) {
1092
+ module.exports = y();
1093
1093
  })(window, function() {
1094
- return function(i) {
1095
- var b = {};
1094
+ return function(s) {
1095
+ var y = {};
1096
1096
  function n(t) {
1097
- if (b[t]) return b[t].exports;
1098
- var r = b[t] = { i: t, l: !1, exports: {} };
1099
- return i[t].call(r.exports, r, r.exports, n), r.l = !0, r.exports;
1097
+ if (y[t]) return y[t].exports;
1098
+ var r = y[t] = { i: t, l: !1, exports: {} };
1099
+ return s[t].call(r.exports, r, r.exports, n), r.l = !0, r.exports;
1100
1100
  }
1101
- return n.m = i, n.c = b, n.d = function(t, r, u) {
1101
+ return n.m = s, n.c = y, n.d = function(t, r, u) {
1102
1102
  n.o(t, r) || Object.defineProperty(t, r, { enumerable: !0, get: u });
1103
1103
  }, n.r = function(t) {
1104
1104
  typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 });
@@ -1119,18 +1119,18 @@ var svga_lite_min = { exports: {} };
1119
1119
  }, n.o = function(t, r) {
1120
1120
  return Object.prototype.hasOwnProperty.call(t, r);
1121
1121
  }, n.p = "", n(n.s = 1);
1122
- }([function(i, b, n) {
1123
- Object.defineProperty(b, "__esModule", { value: !0 });
1122
+ }([function(s, y, n) {
1123
+ Object.defineProperty(y, "__esModule", { value: !0 });
1124
1124
  var t = function(r, u, a) {
1125
1125
  this._d = r, this._transform = u, this._styles = a;
1126
1126
  };
1127
- b.default = t;
1128
- }, function(i, b, n) {
1129
- Object.defineProperty(b, "__esModule", { value: !0 });
1127
+ y.default = t;
1128
+ }, function(s, y, n) {
1129
+ Object.defineProperty(y, "__esModule", { value: !0 });
1130
1130
  var t = n(2), r = n(3), u = n(4), a = { Downloader: t.default, Parser: r.default, Player: u.default };
1131
- b.default = a;
1132
- }, function(i, b, n) {
1133
- Object.defineProperty(b, "__esModule", { value: !0 });
1131
+ y.default = a;
1132
+ }, function(s, y, n) {
1133
+ Object.defineProperty(y, "__esModule", { value: !0 });
1134
1134
  var t = function() {
1135
1135
  function r() {
1136
1136
  this.request = null;
@@ -1152,7 +1152,7 @@ var svga_lite_min = { exports: {} };
1152
1152
  this.request && this.request.abort();
1153
1153
  }, r;
1154
1154
  }();
1155
- b.default = t;
1155
+ y.default = t;
1156
1156
  }, function(module, exports$1, __webpack_require__) {
1157
1157
  Object.defineProperty(exports$1, "__esModule", { value: !0 });
1158
1158
  var WORKER = `!function(t){var e={};function r(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)r.d(i,s,function(e){return t[e]}.bind(null,s));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=8)}([function(t,e,r){"use strict";var i=t.exports=r(6);i.codegen=r(16),i.toArray=function(t){if(t){for(var e=Object.keys(t),r=new Array(e.length),i=0;i<e.length;)r[i]=t[e[i++]];return r}return[]};var s=/\\\\/g,n=/"/g;i.isReserved=function(t){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(t)},i.safeProp=function(t){return!/^[$\\w_]+$/.test(t)||i.isReserved(t)?'["'+t.replace(s,"\\\\\\\\").replace(n,'\\\\"')+'"]':"."+t}},function(t,e,r){"use strict";t.exports=h;var i=r(2);((h.prototype=Object.create(i.prototype)).constructor=h).className="Field";var s,n=r(3),o=r(5),a=r(0),f=/^required|optional|repeated$/;function h(t,e,r,s,n,h,l){if(a.isObject(s)?(l=n,h=s,s=n=void 0):a.isObject(n)&&(l=h,h=n,n=void 0),i.call(this,t,h),!a.isInteger(e)||e<0)throw TypeError("id must be a non-negative integer");if(!a.isString(r))throw TypeError("type must be a string");if(void 0!==s&&!f.test(s=s.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(void 0!==n&&!a.isString(n))throw TypeError("extend must be a string");this.rule=s&&"optional"!==s?s:void 0,this.type=r,this.id=e,this.extend=n||void 0,this.required="required"===s,this.optional=!this.required,this.repeated="repeated"===s,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!a.Long&&void 0!==o.long[r],this.bytes="bytes"===r,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=l}h.fromJSON=function(t,e){return new h(t,e.id,e.type,e.rule,e.extend,e.options,e.comment)},h.prototype.setOption=function(t,e,r){return"packed"===t&&(this._packed=null),i.prototype.setOption.call(this,t,e,r)},h.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=o.defaults[this.type])&&(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof s?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof n&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof n)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=a.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"==typeof this.typeDefault){var t;a.base64.test(this.typeDefault)?a.base64.decode(this.typeDefault,t=a.newBuffer(a.base64.length(this.typeDefault)),0):a.utf8.write(this.typeDefault,t=a.newBuffer(a.utf8.length(this.typeDefault)),0),this.typeDefault=t}return this.map?this.defaultValue=a.emptyObject:this.repeated?this.defaultValue=a.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof s&&(this.parent.ctor.prototype[this.name]=this.defaultValue),i.prototype.resolve.call(this)},h._configure=function(t){s=t}},function(t,e,r){"use strict";var i;function s(t,e){this.options=e,this.name=t,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}t.exports=s,s.className="ReflectionObject",s.prototype.onAdd=function(t){this.parent&&this.parent!==t&&this.parent.remove(this),this.parent=t,this.resolved=!1;var e=t.root;e instanceof i&&e._handleAdd(this)},s.prototype.resolve=function(){return this.resolved?this:(this.root instanceof i&&(this.resolved=!0),this)},s.prototype.getOption=function(t){if(this.options)return this.options[t]},s._configure=function(t){i=t}},function(t,e,r){"use strict";t.exports=s;var i=r(2);function s(t,e,r,s,n){if(i.call(this,t,r),e&&"object"!=typeof e)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=s,this.comments=n||{},this.reserved=void 0,e)for(var o=Object.keys(e),a=0;a<o.length;++a)"number"==typeof e[o[a]]&&(this.valuesById[this.values[o[a]]=e[o[a]]]=o[a])}((s.prototype=Object.create(i.prototype)).constructor=s).className="Enum",s.fromJSON=function(t,e){var r=new s(t,e.values,e.options,e.comment,e.comments);return r.reserved=e.reserved,r}},function(t,e,r){"use strict";t.exports=h;var i=r(2);((h.prototype=Object.create(i.prototype)).constructor=h).className="Namespace";var s,n,o,a=r(1),f=r(0);function h(t,e){i.call(this,t,e),this.nested=void 0,this._nestedArray=null}h.fromJSON=function(t,e){return new h(t,e.options).addJSON(e.nested)},h.isReservedId=function(t,e){if(t)for(var r=0;r<t.length;++r)if("string"!=typeof t[r]&&t[r][0]<=e&&t[r][1]>=e)return!0;return!1},h.isReservedName=function(t,e){if(t)for(var r=0;r<t.length;++r)if(t[r]===e)return!0;return!1},Object.defineProperty(h.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=f.toArray(this.nested))}}),h.prototype.addJSON=function(t){if(t)for(var e,r=Object.keys(t),i=0;i<r.length;++i)e=t[r[i]],this.add((void 0!==e.fields?s.fromJSON:void 0!==e.values?o.fromJSON:void 0!==e.methods?n.fromJSON:void 0!==e.id?a.fromJSON:h.fromJSON)(r[i],e));return this},h.prototype.get=function(t){return this.nested&&this.nested[t]||null},h.prototype.add=function(t){if(!(t instanceof a&&void 0!==t.extend||t instanceof s||t instanceof o||t instanceof n||t instanceof h))throw TypeError("object must be a valid nested object");if(this.nested){var e=this.get(t.name);if(e){if(!(e instanceof h&&t instanceof h)||e instanceof s||e instanceof n)throw Error("duplicate name '"+t.name+"' in "+this);for(var r=e.nestedArray,i=0;i<r.length;++i)t.add(r[i]);this.remove(e),this.nested||(this.nested={}),t.setOptions(e.options,!0)}}else this.nested={};return this.nested[t.name]=t,t.onAdd(this),(f=this)._nestedArray=null,f;var f},h.prototype.lookup=function(t,e,r){if("boolean"==typeof e?(r=e,e=void 0):e&&!Array.isArray(e)&&(e=[e]),f.isString(t)&&t.length){if("."===t)return this.root;t=t.split(".")}else if(!t.length)return this;if(""===t[0])return this.root.lookup(t.slice(1),e);var i=this.get(t[0]);if(i){if(1===t.length){if(!e||e.indexOf(i.constructor)>-1)return i}else if(i instanceof h&&(i=i.lookup(t.slice(1),e,!0)))return i}else for(var s=0;s<this.nestedArray.length;++s)if(this._nestedArray[s]instanceof h&&(i=this._nestedArray[s].lookup(t,e,!0)))return i;return null===this.parent||r?null:this.parent.lookup(t,e)},h.prototype.lookupType=function(t){var e=this.lookup(t,[s]);if(!e)throw Error("no such type: "+t);return e},h.prototype.lookupTypeOrEnum=function(t){var e=this.lookup(t,[s,o]);if(!e)throw Error("no such Type or Enum '"+t+"' in "+this);return e},h._configure=function(t,e,r){s=t,n=e,o=r}},function(t,e,r){"use strict";var i=e,s=r(0),n=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function o(t,e){var r=0,i={};for(e|=0;r<t.length;)i[n[r+e]]=t[r++];return i}i.basic=o([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),i.defaults=o([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",s.emptyArray,null]),i.long=o([0,0,0,1,1],7),i.mapKey=o([0,0,0,5,5,0,0,0,1,1,0,2],2),i.packed=o([1,5,0,0,0,5,5,0,0,0,1,1,0])},function(t,e,r){"use strict";var i=e;i.float=r(14),i.utf8=r(15),i.emptyArray=Object.freeze?Object.freeze([]):[],i.emptyObject=Object.freeze?Object.freeze({}):{},i.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},i.isString=function(t){return"string"==typeof t||t instanceof String},i.isObject=function(t){return t&&"object"==typeof t},i.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,i._configure=function(){var t=i.Buffer;t?(i._Buffer_from=t.from!==Uint8Array.from&&t.from||function(e,r){return new t(e,r)},i._Buffer_allocUnsafe=t.allocUnsafe||function(e){return new t(e)}):i._Buffer_from=i._Buffer_allocUnsafe=null}},function(t,e,r){"use strict";t.exports=s;var i=r(4);function s(t,e){i.call(this,t,e),this.methods={},this._methodsArray=null}((s.prototype=Object.create(i.prototype)).constructor=s).className="Service"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(9);var i,s=r(10),n=r(23),o=r(24),a=r(25),f=r(26);self.document?((i=self.SVGAParserMockWorker={}).disableWorker=!0,i.postMessage=function(t){i.onmessageCallback&&i.onmessageCallback(t)}):i=self;var h=s.Root.fromJSON(n.default).lookupType("com.opensource.svga.MovieEntity");i.onmessage=function(t){var e=new o.Zlib.Inflate(new Uint8Array(t.data)).decompress(),r=h.decode(e),s={};for(var n in r.images){var l=r.images[n],u=a.default(l);s[n]=btoa(u)}var p=new f.default(r,s);i.postMessage(p)}},function(t,e,r){"use strict";var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";!self.btoa&&(self.btoa=function(t){for(var e,r,s,n,o="",a=0,f=(t=String(t)).length%3;a<t.length;){if((r=t.charCodeAt(a++))>255||(s=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255)throw new TypeError("Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.");o+=i.charAt((e=r<<16|s<<8|n)>>18&63)+i.charAt(e>>12&63)+i.charAt(e>>6&63)+i.charAt(63&e)}return f?o.slice(0,f-3)+"===".substring(f):o})},function(t,e,r){"use strict";t.exports=r(11)},function(t,e,r){"use strict";(t.exports=r(12)).build="full"},function(t,e,r){"use strict";var i=t.exports=r(13);i.build="light",i.ReflectionObject=r(2),i.Namespace=r(4),i.Root=r(17),i.Enum=r(3),i.Type=r(19),i.Field=r(1),i.Service=r(7),i.ReflectionObject._configure(i.Root),i.Namespace._configure(i.Type,i.Service,i.Enum),i.Root._configure(i.Type),i.Field._configure(i.Type)},function(t,e,r){"use strict";e.build="minimal"},function(t,e,r){"use strict";function i(t){return"undefined"!=typeof Float32Array?function(){var e=new Float32Array([-0]),r=new Uint8Array(e.buffer),i=128===r[3];function s(t,i,s){e[0]=t,i[s]=r[0],i[s+1]=r[1],i[s+2]=r[2],i[s+3]=r[3]}function n(t,i,s){e[0]=t,i[s]=r[3],i[s+1]=r[2],i[s+2]=r[1],i[s+3]=r[0]}function o(t,i){return r[0]=t[i],r[1]=t[i+1],r[2]=t[i+2],r[3]=t[i+3],e[0]}function a(t,i){return r[3]=t[i],r[2]=t[i+1],r[1]=t[i+2],r[0]=t[i+3],e[0]}t.writeFloatLE=i?s:n,t.writeFloatBE=i?n:s,t.readFloatLE=i?o:a,t.readFloatBE=i?a:o}():function(){function e(t,e,r,i){var s=e<0?1:0;if(s&&(e=-e),0===e)t(1/e>0?0:2147483648,r,i);else if(isNaN(e))t(2143289344,r,i);else if(e>34028234663852886e22)t((s<<31|2139095040)>>>0,r,i);else if(e<11754943508222875e-54)t((s<<31|Math.round(e/1401298464324817e-60))>>>0,r,i);else{var n=Math.floor(Math.log(e)/Math.LN2);t((s<<31|n+127<<23|8388607&Math.round(e*Math.pow(2,-n)*8388608))>>>0,r,i)}}function r(t,e,r){var i=t(e,r),s=2*(i>>31)+1,n=i>>>23&255,o=8388607&i;return 255===n?o?NaN:s*(1/0):0===n?1401298464324817e-60*s*o:s*Math.pow(2,n-150)*(o+8388608)}t.writeFloatLE=e.bind(null,s),t.writeFloatBE=e.bind(null,n),t.readFloatLE=r.bind(null,o),t.readFloatBE=r.bind(null,a)}(),"undefined"!=typeof Float64Array?function(){var e=new Float64Array([-0]),r=new Uint8Array(e.buffer),i=128===r[7];function s(t,i,s){e[0]=t,i[s]=r[0],i[s+1]=r[1],i[s+2]=r[2],i[s+3]=r[3],i[s+4]=r[4],i[s+5]=r[5],i[s+6]=r[6],i[s+7]=r[7]}function n(t,i,s){e[0]=t,i[s]=r[7],i[s+1]=r[6],i[s+2]=r[5],i[s+3]=r[4],i[s+4]=r[3],i[s+5]=r[2],i[s+6]=r[1],i[s+7]=r[0]}function o(t,i){return r[0]=t[i],r[1]=t[i+1],r[2]=t[i+2],r[3]=t[i+3],r[4]=t[i+4],r[5]=t[i+5],r[6]=t[i+6],r[7]=t[i+7],e[0]}function a(t,i){return r[7]=t[i],r[6]=t[i+1],r[5]=t[i+2],r[4]=t[i+3],r[3]=t[i+4],r[2]=t[i+5],r[1]=t[i+6],r[0]=t[i+7],e[0]}t.writeDoubleLE=i?s:n,t.writeDoubleBE=i?n:s,t.readDoubleLE=i?o:a,t.readDoubleBE=i?a:o}():function(){function e(t,e,r,i,s,n){var o=i<0?1:0;if(o&&(i=-i),0===i)t(0,s,n+e),t(1/i>0?0:2147483648,s,n+r);else if(isNaN(i))t(0,s,n+e),t(2146959360,s,n+r);else if(i>17976931348623157e292)t(0,s,n+e),t((o<<31|2146435072)>>>0,s,n+r);else{var a;if(i<22250738585072014e-324)t((a=i/5e-324)>>>0,s,n+e),t((o<<31|a/4294967296)>>>0,s,n+r);else{var f=Math.floor(Math.log(i)/Math.LN2);1024===f&&(f=1023),t(4503599627370496*(a=i*Math.pow(2,-f))>>>0,s,n+e),t((o<<31|f+1023<<20|1048576*a&1048575)>>>0,s,n+r)}}}function r(t,e,r,i,s){var n=t(i,s+e),o=t(i,s+r),a=2*(o>>31)+1,f=o>>>20&2047,h=4294967296*(1048575&o)+n;return 2047===f?h?NaN:a*(1/0):0===f?5e-324*a*h:a*Math.pow(2,f-1075)*(h+4503599627370496)}t.writeDoubleLE=e.bind(null,s,0,4),t.writeDoubleBE=e.bind(null,n,4,0),t.readDoubleLE=r.bind(null,o,0,4),t.readDoubleBE=r.bind(null,a,4,0)}(),t}function s(t,e,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}function n(t,e,r){e[r]=t>>>24,e[r+1]=t>>>16&255,e[r+2]=t>>>8&255,e[r+3]=255&t}function o(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}function a(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}t.exports=i(i)},function(t,e,r){"use strict";var i=e;i.length=function(t){for(var e=0,r=0,i=0;i<t.length;++i)(r=t.charCodeAt(i))<128?e+=1:r<2048?e+=2:55296==(64512&r)&&56320==(64512&t.charCodeAt(i+1))?(++i,e+=4):e+=3;return e},i.read=function(t,e,r){if(r-e<1)return"";for(var i,s=null,n=[],o=0;e<r;)(i=t[e++])<128?n[o++]=i:i>191&&i<224?n[o++]=(31&i)<<6|63&t[e++]:i>239&&i<365?(i=((7&i)<<18|(63&t[e++])<<12|(63&t[e++])<<6|63&t[e++])-65536,n[o++]=55296+(i>>10),n[o++]=56320+(1023&i)):n[o++]=(15&i)<<12|(63&t[e++])<<6|63&t[e++],o>8191&&((s||(s=[])).push(String.fromCharCode.apply(String,n)),o=0);return s?(o&&s.push(String.fromCharCode.apply(String,n.slice(0,o))),s.join("")):String.fromCharCode.apply(String,n.slice(0,o))},i.write=function(t,e,r){for(var i,s,n=r,o=0;o<t.length;++o)(i=t.charCodeAt(o))<128?e[r++]=i:i<2048?(e[r++]=i>>6|192,e[r++]=63&i|128):55296==(64512&i)&&56320==(64512&(s=t.charCodeAt(o+1)))?(i=65536+((1023&i)<<10)+(1023&s),++o,e[r++]=i>>18|240,e[r++]=i>>12&63|128,e[r++]=i>>6&63|128,e[r++]=63&i|128):(e[r++]=i>>12|224,e[r++]=i>>6&63|128,e[r++]=63&i|128);return r-n}},function(t,e,r){"use strict";function i(t,e){"string"==typeof t&&(e=t,t=void 0);var r=[];function s(t){if("string"!=typeof t){var e=n();if(i.verbose&&console.log("codegen: "+e),e="return "+e,t){for(var o=Object.keys(t),a=new Array(o.length+1),f=new Array(o.length),h=0;h<o.length;)a[h]=o[h],f[h]=t[o[h++]];return a[h]=e,Function.apply(null,a).apply(null,f)}return Function(e)()}for(var l=new Array(arguments.length-1),u=0;u<l.length;)l[u]=arguments[++u];if(u=0,t=t.replace(/%([%dfijs])/g,function(t,e){var r=l[u++];switch(e){case"d":case"f":return String(Number(r));case"i":return String(Math.floor(r));case"j":return JSON.stringify(r);case"s":return String(r)}return"%"}),u!==l.length)throw Error("parameter count mismatch");return r.push(t),s}function n(i){return"function "+(i||e||"")+"("+(t&&t.join(",")||"")+"){\\n "+r.join("\\n ")+"\\n}"}return s.toString=n,s}t.exports=i,i.verbose=!1},function(t,e,r){"use strict";t.exports=f;var i=r(4);((f.prototype=Object.create(i.prototype)).constructor=f).className="Root";var s,n=r(1),o=r(3),a=r(18);function f(t){i.call(this,"",t),this.deferred=[],this.files=[]}f.fromJSON=function(t,e){return e||(e=new f),t.options&&e.setOptions(t.options),e.addJSON(t.nested)};var h=/^[A-Z]/;function l(t,e){var r=e.parent.lookup(e.extend);if(r){var i=new n(e.fullName,e.id,e.type,e.rule,void 0,e.options);return i.declaringField=e,e.extensionField=i,r.add(i),!0}return!1}f.prototype._handleAdd=function(t){if(t instanceof n)void 0===t.extend||t.extensionField||l(0,t)||this.deferred.push(t);else if(t instanceof o)h.test(t.name)&&(t.parent[t.name]=t.values);else if(!(t instanceof a)){if(t instanceof s)for(var e=0;e<this.deferred.length;)l(0,this.deferred[e])?this.deferred.splice(e,1):++e;for(var r=0;r<t.nestedArray.length;++r)this._handleAdd(t._nestedArray[r]);h.test(t.name)&&(t.parent[t.name]=t)}},f._configure=function(t,e,r){s=t,e,r}},function(t,e,r){"use strict";t.exports=o;var i=r(2);((o.prototype=Object.create(i.prototype)).constructor=o).className="OneOf";var s=r(1),n=r(0);function o(t,e,r,s){if(Array.isArray(e)||(r=e,e=void 0),i.call(this,t,r),void 0!==e&&!Array.isArray(e))throw TypeError("fieldNames must be an Array");this.oneof=e||[],this.fieldsArray=[],this.comment=s}function a(t){if(t.parent)for(var e=0;e<t.fieldsArray.length;++e)t.fieldsArray[e].parent||t.parent.add(t.fieldsArray[e])}o.fromJSON=function(t,e){return new o(t,e.oneof,e.options,e.comment)},o.prototype.toJSON=function(t){var e=!!t&&Boolean(t.keepComments);return n.toObject(["options",this.options,"oneof",this.oneof,"comment",e?this.comment:void 0])},o.prototype.add=function(t){if(!(t instanceof s))throw TypeError("field must be a Field");return t.parent&&t.parent!==this.parent&&t.parent.remove(t),this.oneof.push(t.name),this.fieldsArray.push(t),t.partOf=this,a(this),this},o.prototype.remove=function(t){if(!(t instanceof s))throw TypeError("field must be a Field");var e=this.fieldsArray.indexOf(t);if(e<0)throw Error(t+" is not a member of "+this);return this.fieldsArray.splice(e,1),(e=this.oneof.indexOf(t.name))>-1&&this.oneof.splice(e,1),t.partOf=null,this},o.prototype.onAdd=function(t){i.prototype.onAdd.call(this,t);for(var e=0;e<this.oneof.length;++e){var r=t.get(this.oneof[e]);r&&!r.partOf&&(r.partOf=this,this.fieldsArray.push(r))}a(this)},o.prototype.onRemove=function(t){for(var e,r=0;r<this.fieldsArray.length;++r)(e=this.fieldsArray[r]).parent&&e.parent.remove(e);i.prototype.onRemove.call(this,t)},o.d=function(){for(var t=new Array(arguments.length),e=0;e<arguments.length;)t[e]=arguments[e++];return function(e,r){n.decorateType(e.constructor).add(new o(r,t)),Object.defineProperty(e,r,{get:n.oneOfGetter(t),set:n.oneOfSetter(t)})}}},function(t,e,r){"use strict";t.exports=u;var i=r(4);((u.prototype=Object.create(i.prototype)).constructor=u).className="Type";var s=r(3),n=r(1),o=r(20),a=r(7),f=r(21),h=r(0),l=r(22);function u(t,e){i.call(this,t,e),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}Object.defineProperties(u.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var t=Object.keys(this.fields),e=0;e<t.length;++e){var r=this.fields[t[e]],i=r.id;if(this._fieldsById[i])throw Error("duplicate id "+i+" in "+this);this._fieldsById[i]=r}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=h.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=h.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=u.generateConstructor(this)())},set:function(t){t.prototype;t.$type=t.prototype.$type=this,this._ctor=t;for(var e=0;e<this.fieldsArray.length;++e)this._fieldsArray[e].resolve();var r={};for(e=0;e<this.oneofsArray.length;++e)r[this._oneofsArray[e].resolve().name]={get:h.oneOfGetter(this._oneofsArray[e].oneof),set:h.oneOfSetter(this._oneofsArray[e].oneof)};e&&Object.defineProperties(t.prototype,r)}}}),u.generateConstructor=function(t){for(var e,r=h.codegen(["p"],t.name),i=0;i<t.fieldsArray.length;++i)(e=t._fieldsArray[i]).map?r("this%s={}",h.safeProp(e.name)):e.repeated&&r("this%s=[]",h.safeProp(e.name));return r("if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)")("this[ks[i]]=p[ks[i]]")},u.fromJSON=function(t,e){var r=new u(t,e.options);r.extensions=e.extensions,r.reserved=e.reserved;for(var f=Object.keys(e.fields),h=0;h<f.length;++h)r.add((void 0!==e.fields[f[h]].keyType?o.fromJSON:n.fromJSON)(f[h],e.fields[f[h]]));if(e.nested)for(f=Object.keys(e.nested),h=0;h<f.length;++h){var l=e.nested[f[h]];r.add((void 0!==l.id?n.fromJSON:void 0!==l.fields?u.fromJSON:void 0!==l.values?s.fromJSON:void 0!==l.methods?a.fromJSON:i.fromJSON)(f[h],l))}return e.extensions&&e.extensions.length&&(r.extensions=e.extensions),e.reserved&&e.reserved.length&&(r.reserved=e.reserved),e.group&&(r.group=!0),e.comment&&(r.comment=e.comment),r},u.prototype.add=function(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);if(t instanceof n&&void 0===t.extend){if(this._fieldsById?this._fieldsById[t.id]:this.fieldsById[t.id])throw Error("duplicate id "+t.id+" in "+this);if(this.isReservedId(t.id))throw Error("id "+t.id+" is reserved in "+this);if(this.isReservedName(t.name))throw Error("name '"+t.name+"' is reserved in "+this);return t.parent&&t.parent.remove(t),this.fields[t.name]=t,t.message=this,t.onAdd(this),(e=this)._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}var e;return i.prototype.add.call(this,t)},u.prototype.isReservedId=function(t){return i.isReservedId(this.reserved,t)},u.prototype.isReservedName=function(t){return i.isReservedName(this.reserved,t)},u.prototype.setup=function(){this.fullName;for(var t=[],e=0;e<this.fieldsArray.length;++e)t.push(this._fieldsArray[e].resolve().resolvedType);return this.decode=l(this)({Reader:f,types:t,util:h}),this},u.prototype.decode=function(t,e){return this.setup().decode(t,e)}},function(t,e,r){"use strict";t.exports=n;var i=r(1);((n.prototype=Object.create(i.prototype)).constructor=n).className="MapField";r(5);var s=r(0);function n(t,e,r,n,o,a){if(i.call(this,t,e,n,void 0,void 0,o,a),!s.isString(r))throw TypeError("keyType must be a string");this.keyType=r,this.resolvedKeyType=null,this.map=!0}n.fromJSON=function(t,e){return new n(t,e.id,e.keyType,e.type,e.options,e.comment)}},function(t,e,r){"use strict";t.exports=o;var i=r(6),s=(i.LongBits,i.utf8);function n(t,e){return RangeError("index out of range: "+t.pos+" + "+(e||1)+" > "+t.len)}function o(t){this.buf=t,this.pos=0,this.len=t.length}var a,f="undefined"!=typeof Uint8Array?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new o(t);throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new o(t);throw Error("illegal buffer")};function h(t,e){return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0}o.create=i.Buffer?function(t){return(o.create=function(t){return i.Buffer.isBuffer(t)?new(void 0)(t):f(t)})(t)}:f,o.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,o.prototype.uint32=(a=4294967295,function(){if(a=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return a;if(a=(a|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return a;if(a=(a|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return a;if(a=(a|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return a;if(a=(a|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return a;if((this.pos+=5)>this.len)throw this.pos=this.len,n(this,10);return a}),o.prototype.int32=function(){return 0|this.uint32()},o.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0},o.prototype.bool=function(){return 0!==this.uint32()},o.prototype.fixed32=function(){if(this.pos+4>this.len)throw n(this,4);return h(this.buf,this.pos+=4)},o.prototype.sfixed32=function(){if(this.pos+4>this.len)throw n(this,4);return 0|h(this.buf,this.pos+=4)},o.prototype.float=function(){if(this.pos+4>this.len)throw n(this,4);var t=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},o.prototype.double=function(){if(this.pos+8>this.len)throw n(this,4);var t=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},o.prototype.bytes=function(){var t=this.uint32(),e=this.pos,r=this.pos+t;if(r>this.len)throw n(this,t);return this.pos+=t,Array.isArray(this.buf)?this.buf.slice(e,r):e===r?new this.buf.constructor(0):this._slice.call(this.buf,e,r)},o.prototype.string=function(){var t=this.bytes();return s.read(t,0,t.length)},o.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw n(this,t);this.pos+=t}else do{if(this.pos>=this.len)throw n(this)}while(128&this.buf[this.pos++]);return this},o.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(t=7&this.uint32());)this.skipType(t);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this}},function(t,e,r){"use strict";t.exports=function(t){var e=n.codegen(["r","l"],t.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(t.fieldsArray.filter(function(t){return t.map}).length?",k":""))("while(r.pos<c){")("var t=r.uint32()");t.group&&e("if((t&7)===4)")("break");e("switch(t>>>3){");for(var r=0;r<t.fieldsArray.length;++r){var a=t._fieldsArray[r].resolve(),f=a.resolvedType instanceof i?"int32":a.type,h="m"+n.safeProp(a.name);e("case %i:",a.id),a.map?(e("r.skip().pos++")("if(%s===util.emptyObject)",h)("%s={}",h)("k=r.%s()",a.keyType)("r.pos++"),void 0!==s.long[a.keyType]?void 0===s.basic[f]?e('%s[typeof k==="object"?util.longToHash(k):k]=types[%i].decode(r,r.uint32())',h,r):e('%s[typeof k==="object"?util.longToHash(k):k]=r.%s()',h,f):void 0===s.basic[f]?e("%s[k]=types[%i].decode(r,r.uint32())",h,r):e("%s[k]=r.%s()",h,f)):a.repeated?(e("if(!(%s&&%s.length))",h,h)("%s=[]",h),void 0!==s.packed[f]&&e("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos<c2)")("%s.push(r.%s())",h,f)("}else"),void 0===s.basic[f]?e(a.resolvedType.group?"%s.push(types[%i].decode(r))":"%s.push(types[%i].decode(r,r.uint32()))",h,r):e("%s.push(r.%s())",h,f)):void 0===s.basic[f]?e(a.resolvedType.group?"%s=types[%i].decode(r)":"%s=types[%i].decode(r,r.uint32())",h,r):e("%s=r.%s()",h,f),e("break")}for(e("default:")("r.skipType(t&7)")("break")("}")("}"),r=0;r<t._fieldsArray.length;++r){var l=t._fieldsArray[r];l.required&&e("if(!m.hasOwnProperty(%j))",l.name)("throw util.ProtocolError(%j,{instance:m})",o(l))}return e("return m")};var i=r(3),s=r(5),n=r(0);function o(t){return"missing required '"+t.name+"'"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={nested:{com:{nested:{opensource:{nested:{svga:{options:{objc_class_prefix:"SVGAProto",java_package:"com.opensource.svgaplayer"},nested:{MovieParams:{fields:{viewBoxWidth:{type:"float",id:1},viewBoxHeight:{type:"float",id:2},fps:{type:"int32",id:3},frames:{type:"int32",id:4}}},SpriteEntity:{fields:{imageKey:{type:"string",id:1},frames:{rule:"repeated",type:"FrameEntity",id:2}}},Layout:{fields:{x:{type:"float",id:1},y:{type:"float",id:2},width:{type:"float",id:3},height:{type:"float",id:4}}},Transform:{fields:{a:{type:"float",id:1},b:{type:"float",id:2},c:{type:"float",id:3},d:{type:"float",id:4},tx:{type:"float",id:5},ty:{type:"float",id:6}}},ShapeEntity:{oneofs:{args:{oneof:["shape","rect","ellipse"]}},fields:{type:{type:"ShapeType",id:1},shape:{type:"ShapeArgs",id:2},rect:{type:"RectArgs",id:3},ellipse:{type:"EllipseArgs",id:4},styles:{type:"ShapeStyle",id:10},transform:{type:"Transform",id:11}},nested:{ShapeType:{values:{SHAPE:0,RECT:1,ELLIPSE:2,KEEP:3}},ShapeArgs:{fields:{d:{type:"string",id:1}}},RectArgs:{fields:{x:{type:"float",id:1},y:{type:"float",id:2},width:{type:"float",id:3},height:{type:"float",id:4},cornerRadius:{type:"float",id:5}}},EllipseArgs:{fields:{x:{type:"float",id:1},y:{type:"float",id:2},radiusX:{type:"float",id:3},radiusY:{type:"float",id:4}}},ShapeStyle:{fields:{fill:{type:"RGBAColor",id:1},stroke:{type:"RGBAColor",id:2},strokeWidth:{type:"float",id:3},lineCap:{type:"LineCap",id:4},lineJoin:{type:"LineJoin",id:5},miterLimit:{type:"float",id:6},lineDashI:{type:"float",id:7},lineDashII:{type:"float",id:8},lineDashIII:{type:"float",id:9}},nested:{RGBAColor:{fields:{r:{type:"float",id:1},g:{type:"float",id:2},b:{type:"float",id:3},a:{type:"float",id:4}}},LineCap:{values:{LineCap_BUTT:0,LineCap_ROUND:1,LineCap_SQUARE:2}},LineJoin:{values:{LineJoin_MITER:0,LineJoin_ROUND:1,LineJoin_BEVEL:2}}}}}},FrameEntity:{fields:{alpha:{type:"float",id:1},layout:{type:"Layout",id:2},transform:{type:"Transform",id:3},clipPath:{type:"string",id:4},shapes:{rule:"repeated",type:"ShapeEntity",id:5}}},MovieEntity:{fields:{version:{type:"string",id:1},params:{type:"MovieParams",id:2},images:{keyType:"string",type:"bytes",id:3},sprites:{rule:"repeated",type:"SpriteEntity",id:4}}}}}}}}}}}},function(t,e){
@@ -1162,28 +1162,28 @@ var svga_lite_min = { exports: {} };
1162
1162
  var disableWorker = (_a === void 0 ? { disableWorker: !1 } : _a).disableWorker;
1163
1163
  disableWorker ? (eval(WORKER), this.worker = window.SVGAParserMockWorker) : this.worker = new Worker(window.URL.createObjectURL(new Blob([WORKER])));
1164
1164
  }
1165
- return Parser.prototype.do = function(i) {
1166
- var b = this, n = new Uint8Array(i, 0, 4);
1165
+ return Parser.prototype.do = function(s) {
1166
+ var y = this, n = new Uint8Array(s, 0, 4);
1167
1167
  if (n[0] == 80 && n[1] == 75 && n[2] == 3 && n[3] == 4) throw "this parser not support version@1.x of svga.";
1168
- if (!i) throw new Error("Parser Data not found");
1168
+ if (!s) throw new Error("Parser Data not found");
1169
1169
  if (!this.worker) throw new Error("Parser Worker not found");
1170
1170
  return new Promise(function(t, r) {
1171
1171
  var u;
1172
- b.worker.disableWorker ? ((u = b.worker).onmessageCallback = function(a) {
1172
+ y.worker.disableWorker ? ((u = y.worker).onmessageCallback = function(a) {
1173
1173
  t(a);
1174
- }, u.onmessage({ data: i })) : ((u = b.worker).postMessage(i), u.onmessage = function(a) {
1174
+ }, u.onmessage({ data: s })) : ((u = y.worker).postMessage(s), u.onmessage = function(a) {
1175
1175
  var o = a.data;
1176
1176
  t(o);
1177
1177
  });
1178
1178
  });
1179
1179
  }, Parser.prototype.destroy = function() {
1180
- var i = this.worker;
1181
- i.terminate && i.terminate();
1180
+ var s = this.worker;
1181
+ s.terminate && s.terminate();
1182
1182
  }, Parser;
1183
1183
  }();
1184
1184
  exports$1.default = Parser;
1185
- }, function(i, b, n) {
1186
- Object.defineProperty(b, "__esModule", { value: !0 });
1185
+ }, function(s, y, n) {
1186
+ Object.defineProperty(y, "__esModule", { value: !0 });
1187
1187
  var t, r, u, a = n(5), o = n(9);
1188
1188
  (function(l) {
1189
1189
  l.START = "start", l.RESUME = "resume", l.PROCESS = "process", l.PAUSE = "pause", l.STOP = "stop", l.END = "end", l.CLEAR = "clear";
@@ -1193,7 +1193,7 @@ var svga_lite_min = { exports: {} };
1193
1193
  l.FORWARDS = "forwards", l.FALLBACKS = "fallbacks";
1194
1194
  }(u || (u = {}));
1195
1195
  var h = typeof window < "u" && "IntersectionObserver" in window, d = function() {
1196
- function l(s, p, c) {
1196
+ function l(i, p, c) {
1197
1197
  if (this.videoItem = p, this.loop = !0, this.fillMode = r.FORWARDS, this.playMode = u.FORWARDS, this.progress = 0, this.currentFrame = 0, this.totalFramesCount = 0, this.startFrame = 0, this.endFrame = 0, this.cacheFrames = !1, this.intersectionObserverRender = !1, this.intersectionObserverRenderShow = !0, this._intersectionObserver = null, this.$onEvent = { start: function() {
1198
1198
  }, resume: function() {
1199
1199
  }, process: function() {
@@ -1201,19 +1201,19 @@ var svga_lite_min = { exports: {} };
1201
1201
  }, stop: function() {
1202
1202
  }, end: function() {
1203
1203
  }, clear: function() {
1204
- } }, this.container = typeof s == "string" ? document.body.querySelector(s) : s, !this.container) throw new Error("container undefined.");
1204
+ } }, this.container = typeof i == "string" ? document.body.querySelector(i) : i, !this.container) throw new Error("container undefined.");
1205
1205
  if (!this.container.getContext) throw new Error("container should be HTMLCanvasElement.");
1206
1206
  this._renderer = new a.default(this), this._animator = new o.default(), this.videoItem && this.mount(p), c && this.set(c);
1207
1207
  }
1208
- return l.prototype.set = function(s) {
1208
+ return l.prototype.set = function(i) {
1209
1209
  var p = this;
1210
- s.loop !== void 0 && (this.loop = s.loop), s.fillMode && (this.fillMode = s.fillMode), s.playMode && (this.playMode = s.playMode), s.cacheFrames !== void 0 && (this.cacheFrames = s.cacheFrames), this.startFrame = s.startFrame ? s.startFrame : this.startFrame, this.endFrame = s.endFrame ? s.endFrame : this.endFrame, s.intersectionObserverRender !== void 0 && (this.intersectionObserverRender = s.intersectionObserverRender), h && this.intersectionObserverRender ? (this._intersectionObserver = new IntersectionObserver(function(c) {
1210
+ i.loop !== void 0 && (this.loop = i.loop), i.fillMode && (this.fillMode = i.fillMode), i.playMode && (this.playMode = i.playMode), i.cacheFrames !== void 0 && (this.cacheFrames = i.cacheFrames), this.startFrame = i.startFrame ? i.startFrame : this.startFrame, this.endFrame = i.endFrame ? i.endFrame : this.endFrame, i.intersectionObserverRender !== void 0 && (this.intersectionObserverRender = i.intersectionObserverRender), h && this.intersectionObserverRender ? (this._intersectionObserver = new IntersectionObserver(function(c) {
1211
1211
  c[0].intersectionRatio <= 0 ? p.intersectionObserverRenderShow && (p.intersectionObserverRenderShow = !1) : !p.intersectionObserverRenderShow && (p.intersectionObserverRenderShow = !0);
1212
- }, { rootMargin: "0px", threshold: [0, 0.5, 1] }), this._intersectionObserver.observe(this.container)) : (this._intersectionObserver && this._intersectionObserver.disconnect(), this.intersectionObserverRender = !1, this.intersectionObserverRenderShow = !0), this._animator.noExecutionDelay = s.noExecutionDelay;
1213
- }, l.prototype.mount = function(s) {
1212
+ }, { rootMargin: "0px", threshold: [0, 0.5, 1] }), this._intersectionObserver.observe(this.container)) : (this._intersectionObserver && this._intersectionObserver.disconnect(), this.intersectionObserverRender = !1, this.intersectionObserverRenderShow = !0), this._animator.noExecutionDelay = i.noExecutionDelay;
1213
+ }, l.prototype.mount = function(i) {
1214
1214
  var p = this;
1215
- return new Promise(function(c, g) {
1216
- p.currentFrame = 0, p.progress = 0, p.totalFramesCount = s.frames - 1, p.videoItem = s, p._renderer.prepare().then(c), p._renderer.clear(), p._setSize();
1215
+ return new Promise(function(c, b) {
1216
+ p.currentFrame = 0, p.progress = 0, p.totalFramesCount = i.frames - 1, p.videoItem = i, p._renderer.prepare().then(c), p._renderer.clear(), p._setSize();
1217
1217
  });
1218
1218
  }, l.prototype.start = function() {
1219
1219
  if (!this.videoItem) throw new Error("video item undefined.");
@@ -1229,26 +1229,26 @@ var svga_lite_min = { exports: {} };
1229
1229
  this._animator && this._animator.stop(), this._renderer.clear(), this.$onEvent.clear();
1230
1230
  }, l.prototype.destroy = function() {
1231
1231
  this._animator && this._animator.stop(), this._renderer.clear(), this._animator = null, this._renderer = null, this.videoItem = null;
1232
- }, l.prototype.$on = function(s, p) {
1232
+ }, l.prototype.$on = function(i, p) {
1233
1233
  var c = this;
1234
- return this.$onEvent[s] = p, s === "end" && (this._animator.onEnd = function() {
1234
+ return this.$onEvent[i] = p, i === "end" && (this._animator.onEnd = function() {
1235
1235
  return c.$onEvent.end();
1236
1236
  }), this;
1237
1237
  }, l.prototype._startAnimation = function() {
1238
- var s = this, p = this, c = p.playMode, g = p.totalFramesCount, _ = p.startFrame, f = p.endFrame, m = p.videoItem;
1239
- this.currentFrame === g && (this.currentFrame = _ || 0), this._animator.startValue = c === "fallbacks" ? f || g : _ || 0, this._animator.endValue = c === "fallbacks" ? _ || 0 : f || g;
1238
+ var i = this, p = this, c = p.playMode, b = p.totalFramesCount, _ = p.startFrame, f = p.endFrame, m = p.videoItem;
1239
+ this.currentFrame === b && (this.currentFrame = _ || 0), this._animator.startValue = c === "fallbacks" ? f || b : _ || 0, this._animator.endValue = c === "fallbacks" ? _ || 0 : f || b;
1240
1240
  var e = m.frames;
1241
1241
  f > 0 && f > _ ? e = f - _ : f <= 0 && _ > 0 && (e = m.frames - _), this._animator.duration = e * (1 / m.FPS) * 1e3, this._animator.loop = this.loop === !0 || this.loop <= 0 ? 1 / 0 : this.loop === !1 ? 1 : this.loop, this._animator.fillRule = this.fillMode === "backwards" ? 1 : 0, this._animator.onUpdate = function(E) {
1242
- E = Math.floor(E), s.currentFrame !== E && (s.currentFrame = E, s.progress = parseFloat((E + 1).toString()) / parseFloat(m.frames.toString()) * 100, s._renderer.drawFrame(s.currentFrame), s.$onEvent.process());
1242
+ E = Math.floor(E), i.currentFrame !== E && (i.currentFrame = E, i.progress = parseFloat((E + 1).toString()) / parseFloat(m.frames.toString()) * 100, i._renderer.drawFrame(i.currentFrame), i.$onEvent.process());
1243
1243
  }, this._animator.start(this.currentFrame);
1244
1244
  }, l.prototype._setSize = function() {
1245
- var s = this.videoItem.videoSize;
1246
- this.container.width = s.width, this.container.height = s.height;
1245
+ var i = this.videoItem.videoSize;
1246
+ this.container.width = i.width, this.container.height = i.height;
1247
1247
  }, l;
1248
1248
  }();
1249
- b.default = d;
1250
- }, function(i, b, n) {
1251
- Object.defineProperty(b, "__esModule", { value: !0 });
1249
+ y.default = d;
1250
+ }, function(s, y, n) {
1251
+ Object.defineProperty(y, "__esModule", { value: !0 });
1252
1252
  var t = n(6), r = function() {
1253
1253
  function u(a) {
1254
1254
  this._bitmapCache = {}, this._dynamicElements = {}, this._frames = {}, this._player = a;
@@ -1261,13 +1261,13 @@ var svga_lite_min = { exports: {} };
1261
1261
  if (a._bitmapCache = {}, a._player.videoItem.images && Object.keys(a._player.videoItem.images).length != 0) {
1262
1262
  a._player.videoItem.dynamicElements && (a._dynamicElements = a._player.videoItem.dynamicElements);
1263
1263
  var d = 0, l = 0;
1264
- for (var s in a._player.videoItem.images) {
1265
- var p = a._player.videoItem.images[s];
1266
- if (typeof p != "string" || p.indexOf("iVBO") !== 0 && p.indexOf("/9j/2w") !== 0) a._bitmapCache[s] = p;
1264
+ for (var i in a._player.videoItem.images) {
1265
+ var p = a._player.videoItem.images[i];
1266
+ if (typeof p != "string" || p.indexOf("iVBO") !== 0 && p.indexOf("/9j/2w") !== 0) a._bitmapCache[i] = p;
1267
1267
  else {
1268
1268
  d++;
1269
1269
  var c = document.createElement("img");
1270
- c.src = "data:image/png;base64," + p, a._bitmapCache[s] = c, c.onload = function() {
1270
+ c.src = "data:image/png;base64," + p, a._bitmapCache[i] = c, c.onload = function() {
1271
1271
  ++l === d && o();
1272
1272
  };
1273
1273
  }
@@ -1287,76 +1287,76 @@ var svga_lite_min = { exports: {} };
1287
1287
  } else {
1288
1288
  var l = this._ofsCanvas;
1289
1289
  if (l.width = this._player.container.width, l.height = this._player.container.height, t.default(l, this._bitmapCache, this._dynamicElements, this._player.videoItem, this._player.currentFrame), h.drawImage(l, 0, 0, l.width, l.height, 0, 0, l.width, l.height), this._player.cacheFrames) if ("toDataURL" in l) {
1290
- var s = l.toDataURL(), p = new Image();
1291
- p.src = s, this._frames[a] = p;
1290
+ var i = l.toDataURL(), p = new Image();
1291
+ p.src = i, this._frames[a] = p;
1292
1292
  } else this._frames[a] = l.transferToImageBitmap();
1293
1293
  }
1294
1294
  }
1295
1295
  }, u;
1296
1296
  }();
1297
- b.default = r;
1298
- }, function(i, b, n) {
1299
- Object.defineProperty(b, "__esModule", { value: !0 }), b.default = void 0;
1297
+ y.default = r;
1298
+ }, function(s, y, n) {
1299
+ Object.defineProperty(y, "__esModule", { value: !0 }), y.default = void 0;
1300
1300
  var t = a(n(0)), r = a(n(7)), u = a(n(8));
1301
- function a(s) {
1302
- return s && s.__esModule ? s : { default: s };
1301
+ function a(i) {
1302
+ return i && i.__esModule ? i : { default: i };
1303
1303
  }
1304
1304
  var o = "MLHVCSQRZmlhvcsqrz";
1305
- function h(s, p) {
1305
+ function h(i, p) {
1306
1306
  var c = p._styles;
1307
- c !== void 0 && (c && c.stroke ? s.strokeStyle = "rgba(".concat(parseInt((255 * c.stroke[0]).toString()), ", ").concat(parseInt((255 * c.stroke[1]).toString()), ", ").concat(parseInt((255 * c.stroke[2]).toString()), ", ").concat(c.stroke[3], ")") : s.strokeStyle = "transparent", c && (s.lineWidth = c.strokeWidth || void 0, s.lineCap = c.lineCap || void 0, s.lineJoin = c.lineJoin || void 0, s.miterLimit = c.miterLimit || void 0), c && c.fill ? s.fillStyle = "rgba(".concat(parseInt((255 * c.fill[0]).toString()), ", ").concat(parseInt((255 * c.fill[1]).toString()), ", ").concat(parseInt((255 * c.fill[2]).toString()), ", ").concat(c.fill[3], ")") : s.fillStyle = "transparent", c && c.lineDash && s.setLineDash(c.lineDash));
1307
+ c !== void 0 && (c && c.stroke ? i.strokeStyle = "rgba(".concat(parseInt((255 * c.stroke[0]).toString()), ", ").concat(parseInt((255 * c.stroke[1]).toString()), ", ").concat(parseInt((255 * c.stroke[2]).toString()), ", ").concat(c.stroke[3], ")") : i.strokeStyle = "transparent", c && (i.lineWidth = c.strokeWidth || void 0, i.lineCap = c.lineCap || void 0, i.lineJoin = c.lineJoin || void 0, i.miterLimit = c.miterLimit || void 0), c && c.fill ? i.fillStyle = "rgba(".concat(parseInt((255 * c.fill[0]).toString()), ", ").concat(parseInt((255 * c.fill[1]).toString()), ", ").concat(parseInt((255 * c.fill[2]).toString()), ", ").concat(c.fill[3], ")") : i.fillStyle = "transparent", c && c.lineDash && i.setLineDash(c.lineDash));
1308
1308
  }
1309
- function d(s, p) {
1310
- s.save(), h(s, p), p._transform !== void 0 && p._transform !== null && s.transform(p._transform.a || 1, p._transform.b || 0, p._transform.c || 0, p._transform.d || 1, p._transform.tx || 0, p._transform.ty || 0);
1309
+ function d(i, p) {
1310
+ i.save(), h(i, p), p._transform !== void 0 && p._transform !== null && i.transform(p._transform.a || 1, p._transform.b || 0, p._transform.c || 0, p._transform.d || 1, p._transform.tx || 0, p._transform.ty || 0);
1311
1311
  var c = { x: 0, y: 0, x1: 0, y1: 0, x2: 0, y2: 0 };
1312
- s.beginPath(), p._d.replace(/([a-zA-Z])/g, "|||$1 ").replace(/,/g, " ").split("|||").forEach(function(g) {
1313
- if (g.length != 0) {
1314
- var _ = g.substr(0, 1);
1312
+ i.beginPath(), p._d.replace(/([a-zA-Z])/g, "|||$1 ").replace(/,/g, " ").split("|||").forEach(function(b) {
1313
+ if (b.length != 0) {
1314
+ var _ = b.substr(0, 1);
1315
1315
  if (o.indexOf(_) >= 0) {
1316
- var f = g.substr(1).trim().split(" ");
1317
- (function(m, e, E, y) {
1316
+ var f = b.substr(1).trim().split(" ");
1317
+ (function(m, e, E, v) {
1318
1318
  switch (E) {
1319
1319
  case "M":
1320
- e.x = Number(y[0]), e.y = Number(y[1]), m.moveTo(e.x, e.y);
1320
+ e.x = Number(v[0]), e.y = Number(v[1]), m.moveTo(e.x, e.y);
1321
1321
  break;
1322
1322
  case "m":
1323
- e.x += Number(y[0]), e.y += Number(y[1]), m.moveTo(e.x, e.y);
1323
+ e.x += Number(v[0]), e.y += Number(v[1]), m.moveTo(e.x, e.y);
1324
1324
  break;
1325
1325
  case "L":
1326
- e.x = Number(y[0]), e.y = Number(y[1]), m.lineTo(e.x, e.y);
1326
+ e.x = Number(v[0]), e.y = Number(v[1]), m.lineTo(e.x, e.y);
1327
1327
  break;
1328
1328
  case "l":
1329
- e.x += Number(y[0]), e.y += Number(y[1]), m.lineTo(e.x, e.y);
1329
+ e.x += Number(v[0]), e.y += Number(v[1]), m.lineTo(e.x, e.y);
1330
1330
  break;
1331
1331
  case "H":
1332
- e.x = Number(y[0]), m.lineTo(e.x, e.y);
1332
+ e.x = Number(v[0]), m.lineTo(e.x, e.y);
1333
1333
  break;
1334
1334
  case "h":
1335
- e.x += Number(y[0]), m.lineTo(e.x, e.y);
1335
+ e.x += Number(v[0]), m.lineTo(e.x, e.y);
1336
1336
  break;
1337
1337
  case "V":
1338
- e.y = Number(y[0]), m.lineTo(e.x, e.y);
1338
+ e.y = Number(v[0]), m.lineTo(e.x, e.y);
1339
1339
  break;
1340
1340
  case "v":
1341
- e.y += Number(y[0]), m.lineTo(e.x, e.y);
1341
+ e.y += Number(v[0]), m.lineTo(e.x, e.y);
1342
1342
  break;
1343
1343
  case "C":
1344
- e.x1 = Number(y[0]), e.y1 = Number(y[1]), e.x2 = Number(y[2]), e.y2 = Number(y[3]), e.x = Number(y[4]), e.y = Number(y[5]), m.bezierCurveTo(e.x1, e.y1, e.x2, e.y2, e.x, e.y);
1344
+ e.x1 = Number(v[0]), e.y1 = Number(v[1]), e.x2 = Number(v[2]), e.y2 = Number(v[3]), e.x = Number(v[4]), e.y = Number(v[5]), m.bezierCurveTo(e.x1, e.y1, e.x2, e.y2, e.x, e.y);
1345
1345
  break;
1346
1346
  case "c":
1347
- e.x1 = e.x + Number(y[0]), e.y1 = e.y + Number(y[1]), e.x2 = e.x + Number(y[2]), e.y2 = e.y + Number(y[3]), e.x += Number(y[4]), e.y += Number(y[5]), m.bezierCurveTo(e.x1, e.y1, e.x2, e.y2, e.x, e.y);
1347
+ e.x1 = e.x + Number(v[0]), e.y1 = e.y + Number(v[1]), e.x2 = e.x + Number(v[2]), e.y2 = e.y + Number(v[3]), e.x += Number(v[4]), e.y += Number(v[5]), m.bezierCurveTo(e.x1, e.y1, e.x2, e.y2, e.x, e.y);
1348
1348
  break;
1349
1349
  case "S":
1350
- e.x1 && e.y1 && e.x2 && e.y2 ? (e.x1 = e.x - e.x2 + e.x, e.y1 = e.y - e.y2 + e.y, e.x2 = Number(y[0]), e.y2 = Number(y[1]), e.x = Number(y[2]), e.y = Number(y[3]), m.bezierCurveTo(e.x1, e.y1, e.x2, e.y2, e.x, e.y)) : (e.x1 = Number(y[0]), e.y1 = Number(y[1]), e.x = Number(y[2]), e.y = Number(y[3]), m.quadraticCurveTo(e.x1, e.y1, e.x, e.y));
1350
+ e.x1 && e.y1 && e.x2 && e.y2 ? (e.x1 = e.x - e.x2 + e.x, e.y1 = e.y - e.y2 + e.y, e.x2 = Number(v[0]), e.y2 = Number(v[1]), e.x = Number(v[2]), e.y = Number(v[3]), m.bezierCurveTo(e.x1, e.y1, e.x2, e.y2, e.x, e.y)) : (e.x1 = Number(v[0]), e.y1 = Number(v[1]), e.x = Number(v[2]), e.y = Number(v[3]), m.quadraticCurveTo(e.x1, e.y1, e.x, e.y));
1351
1351
  break;
1352
1352
  case "s":
1353
- e.x1 && e.y1 && e.x2 && e.y2 ? (e.x1 = e.x - e.x2 + e.x, e.y1 = e.y - e.y2 + e.y, e.x2 = e.x + Number(y[0]), e.y2 = e.y + Number(y[1]), e.x += Number(y[2]), e.y += Number(y[3]), m.bezierCurveTo(e.x1, e.y1, e.x2, e.y2, e.x, e.y)) : (e.x1 = e.x + Number(y[0]), e.y1 = e.y + Number(y[1]), e.x += Number(y[2]), e.y += Number(y[3]), m.quadraticCurveTo(e.x1, e.y1, e.x, e.y));
1353
+ e.x1 && e.y1 && e.x2 && e.y2 ? (e.x1 = e.x - e.x2 + e.x, e.y1 = e.y - e.y2 + e.y, e.x2 = e.x + Number(v[0]), e.y2 = e.y + Number(v[1]), e.x += Number(v[2]), e.y += Number(v[3]), m.bezierCurveTo(e.x1, e.y1, e.x2, e.y2, e.x, e.y)) : (e.x1 = e.x + Number(v[0]), e.y1 = e.y + Number(v[1]), e.x += Number(v[2]), e.y += Number(v[3]), m.quadraticCurveTo(e.x1, e.y1, e.x, e.y));
1354
1354
  break;
1355
1355
  case "Q":
1356
- e.x1 = Number(y[0]), e.y1 = Number(y[1]), e.x = Number(y[2]), e.y = Number(y[3]), m.quadraticCurveTo(e.x1, e.y1, e.x, e.y);
1356
+ e.x1 = Number(v[0]), e.y1 = Number(v[1]), e.x = Number(v[2]), e.y = Number(v[3]), m.quadraticCurveTo(e.x1, e.y1, e.x, e.y);
1357
1357
  break;
1358
1358
  case "q":
1359
- e.x1 = e.x + Number(y[0]), e.y1 = e.y + Number(y[1]), e.x += Number(y[2]), e.y += Number(y[3]), m.quadraticCurveTo(e.x1, e.y1, e.x, e.y);
1359
+ e.x1 = e.x + Number(v[0]), e.y1 = e.y + Number(v[1]), e.x += Number(v[2]), e.y += Number(v[3]), m.quadraticCurveTo(e.x1, e.y1, e.x, e.y);
1360
1360
  break;
1361
1361
  case "A":
1362
1362
  case "a":
@@ -1365,21 +1365,21 @@ var svga_lite_min = { exports: {} };
1365
1365
  case "z":
1366
1366
  m.closePath();
1367
1367
  }
1368
- })(s, c, _, f);
1368
+ })(i, c, _, f);
1369
1369
  }
1370
1370
  }
1371
- }), p._styles && p._styles.fill ? s.fill() : p._styles && p._styles.stroke && s.stroke(), s.restore();
1371
+ }), p._styles && p._styles.fill ? i.fill() : p._styles && p._styles.stroke && i.stroke(), i.restore();
1372
1372
  }
1373
- var l = function(s, p, c, g, _) {
1374
- var f = s.getContext("2d");
1375
- return g.sprites.forEach(function(m) {
1373
+ var l = function(i, p, c, b, _) {
1374
+ var f = i.getContext("2d");
1375
+ return b.sprites.forEach(function(m) {
1376
1376
  var e = m.frames[_];
1377
1377
  if (!(e.alpha < 0.05)) {
1378
1378
  f.save(), f.globalAlpha = e.alpha, f.transform(e.transform.a || 1, e.transform.b || 0, e.transform.c || 0, e.transform.d || 1, e.transform.tx || 0, e.transform.ty || 0);
1379
1379
  var E = p[m.imageKey];
1380
1380
  E && (e.maskPath !== void 0 && e.maskPath !== null && (e.maskPath._styles = void 0, d(f, e.maskPath), f.clip()), f.drawImage(E, 0, 0));
1381
- var y = c[m.imageKey];
1382
- y && f.drawImage(y, (e.layout.width - y.width) / 2, (e.layout.height - y.height) / 2), e.shapes && e.shapes.forEach(function(w) {
1381
+ var v = c[m.imageKey];
1382
+ v && f.drawImage(v, (e.layout.width - v.width) / 2, (e.layout.height - v.height) / 2), e.shapes && e.shapes.forEach(function(w) {
1383
1383
  w.type === "shape" && w.pathArgs && w.pathArgs.d ? d(f, new t.default(w.pathArgs.d, w.transform, w.styles)) : w.type === "ellipse" && w.pathArgs ? function(N, S) {
1384
1384
  N.save(), h(N, S), S._transform !== void 0 && S._transform !== null && N.transform(S._transform.a || 1, S._transform.b || 0, S._transform.c || 0, S._transform.d || 1, S._transform.tx || 0, S._transform.ty || 0);
1385
1385
  var C = S._x - S._radiusX, $ = S._y - S._radiusY, M = 2 * S._radiusX, F = 2 * S._radiusY, D = M / 2 * 0.5522848, x = F / 2 * 0.5522848, T = C + M, V = $ + F, O = C + M / 2, I = $ + F / 2;
@@ -1391,10 +1391,10 @@ var svga_lite_min = { exports: {} };
1391
1391
  }(f, new u.default(parseFloat(w.pathArgs.x) || 0, parseFloat(w.pathArgs.y) || 0, parseFloat(w.pathArgs.width) || 0, parseFloat(w.pathArgs.height) || 0, parseFloat(w.pathArgs.cornerRadius) || 0, w.transform, w.styles));
1392
1392
  }), f.restore();
1393
1393
  }
1394
- }), s;
1394
+ }), i;
1395
1395
  };
1396
- b.default = l;
1397
- }, function(i, b, n) {
1396
+ y.default = l;
1397
+ }, function(s, y, n) {
1398
1398
  var t, r = (t = function(a, o) {
1399
1399
  return (t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(h, d) {
1400
1400
  h.__proto__ = d;
@@ -1407,16 +1407,16 @@ var svga_lite_min = { exports: {} };
1407
1407
  }
1408
1408
  t(a, o), a.prototype = o === null ? Object.create(o) : (h.prototype = o.prototype, new h());
1409
1409
  });
1410
- Object.defineProperty(b, "__esModule", { value: !0 });
1410
+ Object.defineProperty(y, "__esModule", { value: !0 });
1411
1411
  var u = function(a) {
1412
- function o(h, d, l, s, p, c) {
1413
- var g = a.call(this) || this;
1414
- return g._x = h, g._y = d, g._radiusX = l, g._radiusY = s, g._transform = p, g._styles = c, g;
1412
+ function o(h, d, l, i, p, c) {
1413
+ var b = a.call(this) || this;
1414
+ return b._x = h, b._y = d, b._radiusX = l, b._radiusY = i, b._transform = p, b._styles = c, b;
1415
1415
  }
1416
1416
  return r(o, a), o;
1417
1417
  }(n(0).default);
1418
- b.default = u;
1419
- }, function(i, b, n) {
1418
+ y.default = u;
1419
+ }, function(s, y, n) {
1420
1420
  var t, r = (t = function(a, o) {
1421
1421
  return (t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(h, d) {
1422
1422
  h.__proto__ = d;
@@ -1429,17 +1429,17 @@ var svga_lite_min = { exports: {} };
1429
1429
  }
1430
1430
  t(a, o), a.prototype = o === null ? Object.create(o) : (h.prototype = o.prototype, new h());
1431
1431
  });
1432
- Object.defineProperty(b, "__esModule", { value: !0 });
1432
+ Object.defineProperty(y, "__esModule", { value: !0 });
1433
1433
  var u = function(a) {
1434
- function o(h, d, l, s, p, c, g) {
1434
+ function o(h, d, l, i, p, c, b) {
1435
1435
  var _ = a.call(this) || this;
1436
- return _._x = h, _._y = d, _._width = l, _._height = s, _._cornerRadius = p, _._transform = c, _._styles = g, _;
1436
+ return _._x = h, _._y = d, _._width = l, _._height = i, _._cornerRadius = p, _._transform = c, _._styles = b, _;
1437
1437
  }
1438
1438
  return r(o, a), o;
1439
1439
  }(n(0).default);
1440
- b.default = u;
1441
- }, function(i, b, n) {
1442
- Object.defineProperty(b, "__esModule", { value: !0 });
1440
+ y.default = u;
1441
+ }, function(s, y, n) {
1442
+ Object.defineProperty(y, "__esModule", { value: !0 });
1443
1443
  var t = function() {
1444
1444
  function r() {
1445
1445
  this._currentTimeMillsecond = function() {
@@ -1467,12 +1467,12 @@ var svga_lite_min = { exports: {} };
1467
1467
  u >= this.duration * this.loop ? (this._currentFrication = this.fillRule === 1 ? 0 : 1, this._isRunning = !1) : this._currentFrication = u % this.duration / this.duration, this.onUpdate(this.animatedValue), this._isRunning === !1 && (this._worker !== null && (this._worker.terminate(), this._worker = null), this.onEnd());
1468
1468
  }, r;
1469
1469
  }();
1470
- b.default = t;
1470
+ y.default = t;
1471
1471
  }]).default;
1472
1472
  });
1473
1473
  })(svga_lite_min);
1474
1474
  var svga_lite_minExports = svga_lite_min.exports;
1475
- const _sfc_main$4 = {
1475
+ const _sfc_main$5 = {
1476
1476
  __name: "hbis-svgaPlayer",
1477
1477
  props: {
1478
1478
  /**
@@ -1551,12 +1551,12 @@ const _sfc_main$4 = {
1551
1551
  */
1552
1552
  "error"
1553
1553
  ],
1554
- setup(i, { expose: b, emit: n }) {
1554
+ setup(s, { expose: y, emit: n }) {
1555
1555
  useCssVars((e) => ({
1556
- v404d30eb: i.width,
1557
- a0ec1abc: i.height
1556
+ v404d30eb: s.width,
1557
+ a0ec1abc: s.height
1558
1558
  }));
1559
- const t = i, r = n, u = ref(null), a = ref(null);
1559
+ const t = s, r = n, u = ref(null), a = ref(null);
1560
1560
  let o = null, h = null, d = null;
1561
1561
  const l = async () => {
1562
1562
  try {
@@ -1564,13 +1564,13 @@ const _sfc_main$4 = {
1564
1564
  } catch (e) {
1565
1565
  console.error("SVGA 加载失败:", e), r("error", e);
1566
1566
  }
1567
- }, s = () => {
1567
+ }, i = () => {
1568
1568
  h && h.start();
1569
1569
  }, p = () => {
1570
1570
  h && h.pause();
1571
1571
  }, c = () => {
1572
1572
  h && h.stop();
1573
- }, g = () => {
1573
+ }, b = () => {
1574
1574
  h && (h.stop(), h.start());
1575
1575
  }, _ = (e) => {
1576
1576
  h && (h.progress = e);
@@ -1579,11 +1579,11 @@ const _sfc_main$4 = {
1579
1579
  }, m = (e) => {
1580
1580
  h && (h.loop = e);
1581
1581
  };
1582
- return b({
1583
- play: s,
1582
+ return y({
1583
+ play: i,
1584
1584
  pause: p,
1585
1585
  stop: c,
1586
- restart: g,
1586
+ restart: b,
1587
1587
  setProgress: _,
1588
1588
  setSpeed: f,
1589
1589
  setLoop: m
@@ -1611,7 +1611,7 @@ const _sfc_main$4 = {
1611
1611
  }, null, 512)
1612
1612
  ], 512));
1613
1613
  }
1614
- }, HbisSvgaPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-94c319f8"]]), _hoisted_1$3 = { class: "search-dropdown" }, _hoisted_2$3 = ["placeholder"], _hoisted_3$2 = ["onClick"], _hoisted_4$2 = { class: "item-text" }, _sfc_main$3 = {
1614
+ }, HbisSvgaPlayer = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-94c319f8"]]), _hoisted_1$4 = { class: "search-dropdown" }, _hoisted_2$4 = ["placeholder"], _hoisted_3$2 = ["onClick"], _hoisted_4$2 = { class: "item-text" }, _sfc_main$4 = {
1615
1615
  __name: "hbis-search-input",
1616
1616
  props: {
1617
1617
  list: {
@@ -1645,30 +1645,30 @@ const _sfc_main$4 = {
1645
1645
  }
1646
1646
  },
1647
1647
  emits: ["clearIcon", "search", "select"],
1648
- setup(i, { emit: b }) {
1649
- const n = i, t = b, r = ref(n.defaultValue), u = ref(!1), a = ref(!1), o = ref([]);
1648
+ setup(s, { emit: y }) {
1649
+ const n = s, t = y, r = ref(n.defaultValue), u = ref(!1), a = ref(!1), o = ref([]);
1650
1650
  function h() {
1651
1651
  r.value = "", o.value = [], a.value = !1, t("clearIcon", "", []);
1652
1652
  }
1653
1653
  function d() {
1654
1654
  if (!n.enterSearch)
1655
1655
  return;
1656
- const g = r.value;
1656
+ const b = r.value;
1657
1657
  o.value = n.list.filter(
1658
- (_) => _.label && _.label.includes(g)
1659
- ), a.value = o.value.length > 0, t("search", g, o.value);
1658
+ (_) => _.label && _.label.includes(b)
1659
+ ), a.value = o.value.length > 0, t("search", b, o.value);
1660
1660
  }
1661
1661
  function l() {
1662
1662
  if (n.enterSearch)
1663
1663
  return;
1664
- const g = r.value;
1664
+ const b = r.value;
1665
1665
  o.value = n.list.filter(
1666
- (_) => _.label && _.label.includes(g)
1667
- ), a.value = o.value.length > 0, t("search", g, o.value);
1666
+ (_) => _.label && _.label.includes(b)
1667
+ ), a.value = o.value.length > 0, t("search", b, o.value);
1668
1668
  }
1669
- function s() {
1669
+ function i() {
1670
1670
  n.onFocusShowList && (o.value = n.list.filter(
1671
- (g) => g.label && g.label.includes(r.value)
1671
+ (b) => b.label && b.label.includes(r.value)
1672
1672
  ), a.value = !0), u.value = !0;
1673
1673
  }
1674
1674
  function p() {
@@ -1676,27 +1676,27 @@ const _sfc_main$4 = {
1676
1676
  u.value = !1, a.value = !1;
1677
1677
  }, 150);
1678
1678
  }
1679
- function c(g) {
1680
- r.value = g.label, a.value = !1, t("select", g);
1679
+ function c(b) {
1680
+ r.value = b.label, a.value = !1, t("select", b);
1681
1681
  }
1682
1682
  return onMounted(() => {
1683
1683
  n.defaultValue && (r.value = n.defaultValue);
1684
- }), (g, _) => (openBlock(), createElementBlock("div", _hoisted_1$3, [
1684
+ }), (b, _) => (openBlock(), createElementBlock("div", _hoisted_1$4, [
1685
1685
  createElementVNode("div", {
1686
1686
  class: normalizeClass(["input-wrapper", { focus: u.value }])
1687
1687
  }, [
1688
1688
  withDirectives(createElementVNode("input", {
1689
1689
  class: "search-input",
1690
- placeholder: i.placeholder,
1690
+ placeholder: s.placeholder,
1691
1691
  "onUpdate:modelValue": _[0] || (_[0] = (f) => r.value = f),
1692
1692
  onInput: l,
1693
- onFocus: s,
1693
+ onFocus: i,
1694
1694
  onBlur: p,
1695
1695
  onKeyup: withKeys(d, ["enter"])
1696
- }, null, 40, _hoisted_2$3), [
1696
+ }, null, 40, _hoisted_2$4), [
1697
1697
  [vModelText, r.value]
1698
1698
  ]),
1699
- r.value && i.showClear ? (openBlock(), createElementBlock("div", {
1699
+ r.value && s.showClear ? (openBlock(), createElementBlock("div", {
1700
1700
  key: 0,
1701
1701
  class: "clear-icon",
1702
1702
  onClick: h
@@ -1705,7 +1705,7 @@ const _sfc_main$4 = {
1705
1705
  a.value && o.value.length > 0 ? (openBlock(), createElementBlock("div", {
1706
1706
  key: 0,
1707
1707
  class: "dropdown-list",
1708
- style: normalizeStyle({ maxHeight: i.maxHeight + "px" })
1708
+ style: normalizeStyle({ maxHeight: s.maxHeight + "px" })
1709
1709
  }, [
1710
1710
  (openBlock(!0), createElementBlock(Fragment, null, renderList(o.value, (f, m) => (openBlock(), createElementBlock("div", {
1711
1711
  key: m,
@@ -1717,7 +1717,7 @@ const _sfc_main$4 = {
1717
1717
  ], 4)) : createCommentVNode("", !0)
1718
1718
  ]));
1719
1719
  }
1720
- }, _hoisted_1$2 = ["src", "alt"], _hoisted_2$2 = ["onTap"], _sfc_main$2 = {
1720
+ }, _hoisted_1$3 = ["src", "alt"], _hoisted_2$3 = ["onClick"], _sfc_main$3 = {
1721
1721
  __name: "hbis-swiper",
1722
1722
  props: {
1723
1723
  data: {
@@ -1739,7 +1739,7 @@ const _sfc_main$4 = {
1739
1739
  direction: {
1740
1740
  type: String,
1741
1741
  default: "horizontal",
1742
- validator: (i) => ["horizontal", "vertical"].includes(i)
1742
+ validator: (s) => ["horizontal", "vertical"].includes(s)
1743
1743
  },
1744
1744
  showIndicators: {
1745
1745
  type: Boolean,
@@ -1748,12 +1748,12 @@ const _sfc_main$4 = {
1748
1748
  indicatorType: {
1749
1749
  type: String,
1750
1750
  default: "dots",
1751
- validator: (i) => ["dots", "numbers", "none"].includes(i)
1751
+ validator: (s) => ["dots", "numbers", "none"].includes(s)
1752
1752
  },
1753
1753
  indicatorPosition: {
1754
1754
  type: String,
1755
1755
  default: "bottom",
1756
- validator: (i) => ["top", "bottom", "left", "right"].includes(i)
1756
+ validator: (s) => ["top", "bottom", "left", "right"].includes(s)
1757
1757
  },
1758
1758
  showArrows: {
1759
1759
  type: Boolean,
@@ -1801,16 +1801,16 @@ const _sfc_main$4 = {
1801
1801
  }
1802
1802
  },
1803
1803
  emits: ["change", "transition-start", "transition-end"],
1804
- setup(i, { expose: b, emit: n }) {
1805
- const t = i, r = n, u = ref(null), a = ref(0), o = ref(!1), h = ref(!1), d = ref(0), l = ref(0), s = ref(0), p = ref(null);
1804
+ setup(s, { expose: y, emit: n }) {
1805
+ const t = s, r = n, u = ref(null), a = ref(0), o = ref(!1), h = ref(!1), d = ref(0), l = ref(0), i = ref(0), p = ref(null);
1806
1806
  ref(!1);
1807
- const c = computed(() => !t.loop || t.data.length <= 1 ? t.data : [t.data[t.data.length - 1], ...t.data, t.data[0]]), g = computed(() => ({
1807
+ const c = computed(() => !t.loop || t.data.length <= 1 ? t.data : [t.data[t.data.length - 1], ...t.data, t.data[0]]), b = computed(() => ({
1808
1808
  width: typeof t.width == "number" ? `${t.width}px` : t.width,
1809
1809
  height: typeof t.height == "number" ? `${t.height}px` : t.height,
1810
1810
  position: "relative",
1811
1811
  overflow: "hidden"
1812
1812
  })), _ = computed(() => ({
1813
- transform: `translate(${t.direction === "horizontal" ? `${s.value}px, 0` : `0, ${s.value}px`})`,
1813
+ transform: `translate(${t.direction === "horizontal" ? `${i.value}px, 0` : `0, ${i.value}px`})`,
1814
1814
  transition: o.value ? `transform ${t.duration}ms ease` : "none",
1815
1815
  display: "flex",
1816
1816
  flexDirection: t.direction === "horizontal" ? "row" : "column",
@@ -1829,8 +1829,8 @@ const _sfc_main$4 = {
1829
1829
  })), e = computed(() => !t.loop || t.data.length <= 1 ? a.value : (a.value - 1 + t.data.length) % t.data.length), E = () => {
1830
1830
  if (!u.value) return;
1831
1831
  const x = t.direction === "horizontal" ? u.value.offsetWidth : u.value.offsetHeight;
1832
- x && (s.value = -a.value * x);
1833
- }, y = (x) => {
1832
+ x && (i.value = -a.value * x);
1833
+ }, v = (x) => {
1834
1834
  o.value || h.value || x < 0 || x >= c.value.length || (o.value = !0, a.value = x, r("change", e.value));
1835
1835
  }, w = () => {
1836
1836
  o.value || h.value || (o.value = !0, a.value++, r("change", e.value));
@@ -1855,18 +1855,18 @@ const _sfc_main$4 = {
1855
1855
  const T = x.touches[0];
1856
1856
  d.value = T.clientX || T.pageX, l.value = T.clientY || T.pageY;
1857
1857
  const V = t.direction === "horizontal" ? (O = u.value) == null ? void 0 : O.offsetWidth : (I = u.value) == null ? void 0 : I.offsetHeight;
1858
- s.value = -a.value * (V || 0);
1858
+ i.value = -a.value * (V || 0);
1859
1859
  }, F = (x) => {
1860
1860
  var A, B;
1861
1861
  if (!h.value) return;
1862
- const T = x.touches[0], V = T.clientX || T.pageX, O = T.clientY || T.pageY, I = V - d.value, R = O - l.value, v = t.direction === "horizontal" ? (A = u.value) == null ? void 0 : A.offsetWidth : (B = u.value) == null ? void 0 : B.offsetHeight, k = t.direction === "horizontal" ? I : R;
1863
- s.value = -a.value * (v || 0) + k * t.touchRatio;
1862
+ const T = x.touches[0], V = T.clientX || T.pageX, O = T.clientY || T.pageY, I = V - d.value, R = O - l.value, g = t.direction === "horizontal" ? (A = u.value) == null ? void 0 : A.offsetWidth : (B = u.value) == null ? void 0 : B.offsetHeight, k = t.direction === "horizontal" ? I : R;
1863
+ i.value = -a.value * (g || 0) + k * t.touchRatio;
1864
1864
  }, D = () => {
1865
1865
  var O, I;
1866
1866
  if (!h.value) return;
1867
1867
  h.value = !1;
1868
- const x = t.direction === "horizontal" ? (O = u.value) == null ? void 0 : O.offsetWidth : (I = u.value) == null ? void 0 : I.offsetHeight, T = -a.value * (x || 0), V = s.value - T;
1869
- Math.abs(V) > t.threshold ? V > 0 ? N() : w() : (o.value = !0, s.value = T, setTimeout(() => {
1868
+ const x = t.direction === "horizontal" ? (O = u.value) == null ? void 0 : O.offsetWidth : (I = u.value) == null ? void 0 : I.offsetHeight, T = -a.value * (x || 0), V = i.value - T;
1869
+ Math.abs(V) > t.threshold ? V > 0 ? N() : w() : (o.value = !0, i.value = T, setTimeout(() => {
1870
1870
  o.value = !1;
1871
1871
  }, t.duration)), C();
1872
1872
  };
@@ -1886,15 +1886,15 @@ const _sfc_main$4 = {
1886
1886
  $();
1887
1887
  const x = (T = u.value) == null ? void 0 : T.parentElement;
1888
1888
  x && (x.removeEventListener("touchstart", M), x.removeEventListener("touchmove", F), x.removeEventListener("touchend", D)), window.removeEventListener("resize", E);
1889
- }), b({
1889
+ }), y({
1890
1890
  next: w,
1891
1891
  prev: N,
1892
- goToSlide: y,
1892
+ goToSlide: v,
1893
1893
  startAutoplay: C,
1894
1894
  stopAutoplay: $
1895
1895
  }), (x, T) => (openBlock(), createElementBlock("div", {
1896
- class: normalizeClass(["hbis-swiper", { "is-vertical": i.direction === "vertical" }]),
1897
- style: normalizeStyle(g.value)
1896
+ class: normalizeClass(["hbis-swiper", { "is-vertical": s.direction === "vertical" }]),
1897
+ style: normalizeStyle(b.value)
1898
1898
  }, [
1899
1899
  createElementVNode("div", {
1900
1900
  class: "swiper-wrapper",
@@ -1916,46 +1916,46 @@ const _sfc_main$4 = {
1916
1916
  src: V,
1917
1917
  alt: `slide-${O}`,
1918
1918
  class: "swiper-image"
1919
- }, null, 8, _hoisted_1$2)
1919
+ }, null, 8, _hoisted_1$3)
1920
1920
  ], !0)
1921
1921
  ], 4))), 128))
1922
1922
  ], 36),
1923
- i.showIndicators && c.value.length > 1 ? (openBlock(), createElementBlock("div", {
1923
+ s.showIndicators && c.value.length > 1 ? (openBlock(), createElementBlock("div", {
1924
1924
  key: 0,
1925
- class: normalizeClass(["swiper-indicators", i.indicatorPosition])
1925
+ class: normalizeClass(["swiper-indicators", s.indicatorPosition])
1926
1926
  }, [
1927
1927
  (openBlock(!0), createElementBlock(Fragment, null, renderList(c.value, (V, O) => (openBlock(), createElementBlock("span", {
1928
1928
  key: O,
1929
- class: normalizeClass(["indicator", { active: a.value === O, "is-dots": i.indicatorType === "dots", "is-numbers": i.indicatorType === "numbers" }]),
1929
+ class: normalizeClass(["indicator", { active: a.value === O, "is-dots": s.indicatorType === "dots", "is-numbers": s.indicatorType === "numbers" }]),
1930
1930
  style: normalizeStyle(m.value),
1931
- onTap: (I) => y(O)
1931
+ onClick: (I) => v(O)
1932
1932
  }, [
1933
- i.indicatorType === "numbers" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1933
+ s.indicatorType === "numbers" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1934
1934
  createTextVNode(toDisplayString(O + 1), 1)
1935
1935
  ], 64)) : createCommentVNode("", !0)
1936
- ], 46, _hoisted_2$2))), 128))
1936
+ ], 14, _hoisted_2$3))), 128))
1937
1937
  ], 2)) : createCommentVNode("", !0),
1938
- i.showArrows && c.value.length > 1 ? (openBlock(), createElementBlock("div", {
1938
+ s.showArrows && c.value.length > 1 ? (openBlock(), createElementBlock("div", {
1939
1939
  key: 1,
1940
1940
  class: "swiper-arrow swiper-arrow-prev",
1941
- onTap: N
1941
+ onClick: N
1942
1942
  }, [
1943
1943
  renderSlot(x.$slots, "arrow-prev", {}, () => [
1944
1944
  T[0] || (T[0] = createElementVNode("span", { class: "arrow-icon" }, "‹", -1))
1945
1945
  ], !0)
1946
- ], 32)) : createCommentVNode("", !0),
1947
- i.showArrows && c.value.length > 1 ? (openBlock(), createElementBlock("div", {
1946
+ ])) : createCommentVNode("", !0),
1947
+ s.showArrows && c.value.length > 1 ? (openBlock(), createElementBlock("div", {
1948
1948
  key: 2,
1949
1949
  class: "swiper-arrow swiper-arrow-next",
1950
- onTap: w
1950
+ onClick: w
1951
1951
  }, [
1952
1952
  renderSlot(x.$slots, "arrow-next", {}, () => [
1953
1953
  T[1] || (T[1] = createElementVNode("span", { class: "arrow-icon" }, "›", -1))
1954
1954
  ], !0)
1955
- ], 32)) : createCommentVNode("", !0)
1955
+ ])) : createCommentVNode("", !0)
1956
1956
  ], 6));
1957
1957
  }
1958
- }, hbisSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6c405126"]]), _hoisted_1$1 = { class: "dropdown-filter" }, _hoisted_2$1 = { class: "filter-container" }, _hoisted_3$1 = ["onClick"], _hoisted_4$1 = { class: "filter-label" }, _hoisted_5$1 = { class: "filter-value-group" }, _hoisted_6$1 = { class: "filter-value" }, _hoisted_7$1 = ["onClick"], _sfc_main$1 = {
1958
+ }, hbisSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-61e2df95"]]), _hoisted_1$2 = { class: "dropdown-filter" }, _hoisted_2$2 = { class: "filter-container" }, _hoisted_3$1 = ["onClick"], _hoisted_4$1 = { class: "filter-label" }, _hoisted_5$1 = { class: "filter-value-group" }, _hoisted_6$1 = { class: "filter-value" }, _hoisted_7$1 = ["onClick"], _sfc_main$2 = {
1959
1959
  __name: "hbis-dropdown-select",
1960
1960
  props: {
1961
1961
  // 筛选配置项
@@ -1995,35 +1995,35 @@ const _sfc_main$4 = {
1995
1995
  }
1996
1996
  },
1997
1997
  emits: ["update:modelValue", "change"],
1998
- setup(i, { emit: b }) {
1999
- const n = i, t = b, r = ref(-1), u = ref(n.options), a = (l) => {
1998
+ setup(s, { emit: y }) {
1999
+ const n = s, t = y, r = ref(-1), u = ref(n.options), a = (l) => {
2000
2000
  r.value === l ? r.value = -1 : r.value = l;
2001
- }, o = (l, s, p) => {
2001
+ }, o = (l, i, p) => {
2002
2002
  const c = {
2003
2003
  ...n.modelValue
2004
2004
  };
2005
- c[l.key] = s.value, t("update:modelValue", c), t("change", {
2005
+ c[l.key] = i.value, t("update:modelValue", c), t("change", {
2006
2006
  item: l,
2007
- option: s,
2007
+ option: i,
2008
2008
  index: p
2009
2009
  }), r.value = -1;
2010
2010
  }, h = (l) => {
2011
- const s = n.modelValue[l.key];
2012
- if (s !== void 0) {
2013
- const p = l.options.find((c) => c.value === s);
2011
+ const i = n.modelValue[l.key];
2012
+ if (i !== void 0) {
2013
+ const p = l.options.find((c) => c.value === i);
2014
2014
  return p ? p.label : "请选择";
2015
2015
  }
2016
2016
  return "请选择";
2017
- }, d = (l, s) => n.modelValue[l.key] === s.value;
2018
- return (l, s) => (openBlock(), createElementBlock("div", _hoisted_1$1, [
2019
- createElementVNode("div", _hoisted_2$1, [
2017
+ }, d = (l, i) => n.modelValue[l.key] === i.value;
2018
+ return (l, i) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
2019
+ createElementVNode("div", _hoisted_2$2, [
2020
2020
  (openBlock(!0), createElementBlock(Fragment, null, renderList(u.value, (p, c) => (openBlock(), createElementBlock("div", {
2021
2021
  key: c,
2022
2022
  class: normalizeClass(["filter-item", { active: r.value === c }])
2023
2023
  }, [
2024
2024
  createElementVNode("div", {
2025
2025
  class: "filter-header",
2026
- onClick: (g) => a(c)
2026
+ onClick: (b) => a(c)
2027
2027
  }, [
2028
2028
  createElementVNode("span", _hoisted_4$1, toDisplayString(p.label), 1),
2029
2029
  createElementVNode("div", _hoisted_5$1, [
@@ -2039,30 +2039,30 @@ const _sfc_main$4 = {
2039
2039
  class: normalizeClass([n.showScrollBar ? "dropdown-menu-show" : "dropdown-menu-hide"]),
2040
2040
  style: normalizeStyle(n.listHeight ? `height: ${n.listHeight}px;` : `height: ${p.options.length * 40}px;`)
2041
2041
  }, [
2042
- (openBlock(!0), createElementBlock(Fragment, null, renderList(p.options, (g, _) => (openBlock(), createElementBlock("div", {
2042
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(p.options, (b, _) => (openBlock(), createElementBlock("div", {
2043
2043
  key: _,
2044
- class: normalizeClass(["dropdown-item", { selected: d(p, g) }]),
2045
- onClick: (f) => o(p, g, c)
2044
+ class: normalizeClass(["dropdown-item", { selected: d(p, b) }]),
2045
+ onClick: (f) => o(p, b, c)
2046
2046
  }, [
2047
2047
  createElementVNode("span", {
2048
- style: normalizeStyle(d(p, g) ? `color: ${n.chosenColor};` : `color: ${n.unChosenColor};`)
2049
- }, toDisplayString(g.label), 5)
2048
+ style: normalizeStyle(d(p, b) ? `color: ${n.chosenColor};` : `color: ${n.unChosenColor};`)
2049
+ }, toDisplayString(b.label), 5)
2050
2050
  ], 10, _hoisted_7$1))), 128))
2051
2051
  ], 6)) : createCommentVNode("", !0)
2052
2052
  ], 2))), 128))
2053
2053
  ])
2054
2054
  ]));
2055
2055
  }
2056
- }, hbisDropdownSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-be095d5d"]]), _hoisted_1 = {
2056
+ }, hbisDropdownSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-be095d5d"]]), _hoisted_1$1 = {
2057
2057
  key: 0,
2058
2058
  class: "hbis-password-input"
2059
- }, _hoisted_2 = { class: "password-dialog" }, _hoisted_3 = { class: "password-header" }, _hoisted_4 = { class: "password-title" }, _hoisted_5 = { class: "password-body" }, _hoisted_6 = { class: "password-input-container" }, _hoisted_7 = {
2059
+ }, _hoisted_2$1 = { class: "password-dialog" }, _hoisted_3 = { class: "password-header" }, _hoisted_4 = { class: "password-title" }, _hoisted_5 = { class: "password-body" }, _hoisted_6 = { class: "password-input-container" }, _hoisted_7 = {
2060
2060
  key: 0,
2061
2061
  class: "password-visible"
2062
2062
  }, _hoisted_8 = {
2063
2063
  key: 1,
2064
2064
  class: "password-hidden"
2065
- }, _hoisted_9 = { class: "password-keyboard" }, _hoisted_10 = ["onClick"], _hoisted_11 = { class: "password-footer" }, _sfc_main = {
2065
+ }, _hoisted_9 = { class: "password-keyboard" }, _hoisted_10 = ["onClick"], _hoisted_11 = { class: "password-footer" }, _sfc_main$1 = {
2066
2066
  __name: "hbis-password-input",
2067
2067
  props: {
2068
2068
  /**
@@ -2129,12 +2129,12 @@ const _sfc_main$4 = {
2129
2129
  */
2130
2130
  "confirm"
2131
2131
  ],
2132
- setup(i, { emit: b }) {
2133
- const n = i, t = b, r = ref([]), u = (l) => ["清除", "删除"].includes(l);
2132
+ setup(s, { emit: y }) {
2133
+ const n = s, t = y, r = ref([]), u = (l) => ["清除", "删除"].includes(l);
2134
2134
  watch(r, (l) => {
2135
2135
  if (l.length === n.maxLength) {
2136
- const s = l.join("");
2137
- t("complete", s);
2136
+ const i = l.join("");
2137
+ t("complete", i);
2138
2138
  }
2139
2139
  }, { deep: !0 });
2140
2140
  const a = (l) => {
@@ -2150,14 +2150,14 @@ const _sfc_main$4 = {
2150
2150
  r.value = [];
2151
2151
  }), watch(() => n.visible, (l) => {
2152
2152
  l && (r.value = []);
2153
- }), (l, s) => i.visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
2153
+ }), (l, i) => s.visible ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
2154
2154
  createElementVNode("div", {
2155
2155
  class: "password-overlay",
2156
2156
  onClick: o
2157
2157
  }),
2158
- createElementVNode("div", _hoisted_2, [
2158
+ createElementVNode("div", _hoisted_2$1, [
2159
2159
  createElementVNode("div", _hoisted_3, [
2160
- createElementVNode("h3", _hoisted_4, toDisplayString(i.title), 1),
2160
+ createElementVNode("h3", _hoisted_4, toDisplayString(s.title), 1),
2161
2161
  createElementVNode("button", {
2162
2162
  class: "password-close",
2163
2163
  onClick: h
@@ -2165,23 +2165,23 @@ const _sfc_main$4 = {
2165
2165
  ]),
2166
2166
  createElementVNode("div", _hoisted_5, [
2167
2167
  createElementVNode("div", _hoisted_6, [
2168
- (openBlock(!0), createElementBlock(Fragment, null, renderList(i.maxLength, (p, c) => (openBlock(), createElementBlock("div", {
2168
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.maxLength, (p, c) => (openBlock(), createElementBlock("div", {
2169
2169
  key: c,
2170
2170
  class: "password-input-item"
2171
2171
  }, [
2172
- i.showPassword ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(r.value[c] || ""), 1)) : (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(r.value[c] ? "●" : ""), 1))
2172
+ s.showPassword ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(r.value[c] || ""), 1)) : (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(r.value[c] ? "●" : ""), 1))
2173
2173
  ]))), 128))
2174
2174
  ]),
2175
2175
  createElementVNode("div", _hoisted_9, [
2176
- (openBlock(!0), createElementBlock(Fragment, null, renderList(i.keyboardLayout, (p, c) => (openBlock(), createElementBlock("div", {
2176
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.keyboardLayout, (p, c) => (openBlock(), createElementBlock("div", {
2177
2177
  key: c,
2178
2178
  class: "keyboard-row"
2179
2179
  }, [
2180
- (openBlock(!0), createElementBlock(Fragment, null, renderList(p, (g, _) => (openBlock(), createElementBlock("button", {
2180
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(p, (b, _) => (openBlock(), createElementBlock("button", {
2181
2181
  key: _,
2182
- class: normalizeClass(["keyboard-key", { "keyboard-key-action": u(g) }]),
2183
- onClick: (f) => a(g)
2184
- }, toDisplayString(g), 11, _hoisted_10))), 128))
2182
+ class: normalizeClass(["keyboard-key", { "keyboard-key-action": u(b) }]),
2183
+ onClick: (f) => a(b)
2184
+ }, toDisplayString(b), 11, _hoisted_10))), 128))
2185
2185
  ]))), 128))
2186
2186
  ])
2187
2187
  ]),
@@ -2193,12 +2193,117 @@ const _sfc_main$4 = {
2193
2193
  createElementVNode("button", {
2194
2194
  class: "password-confirm",
2195
2195
  onClick: d
2196
- }, toDisplayString(i.confirmText), 1)
2196
+ }, toDisplayString(s.confirmText), 1)
2197
2197
  ])
2198
2198
  ])
2199
2199
  ])) : createCommentVNode("", !0);
2200
2200
  }
2201
- }, hbisPasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-69d6c0db"]]);
2201
+ }, hbisPasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-69d6c0db"]]), _hoisted_1 = { class: "hbis-empty-content" }, _hoisted_2 = ["src"], _sfc_main = {
2202
+ __name: "hbis-empty",
2203
+ props: {
2204
+ /**
2205
+ * 是否显示空状态
2206
+ */
2207
+ visible: {
2208
+ type: Boolean,
2209
+ default: !0
2210
+ },
2211
+ /**
2212
+ * 提示文字
2213
+ */
2214
+ text: {
2215
+ type: String,
2216
+ default: "暂无数据"
2217
+ },
2218
+ /**
2219
+ * 是否显示图标
2220
+ */
2221
+ showIcon: {
2222
+ type: Boolean,
2223
+ default: !0
2224
+ },
2225
+ /**
2226
+ * 是否显示文字
2227
+ */
2228
+ showText: {
2229
+ type: Boolean,
2230
+ default: !0
2231
+ },
2232
+ /**
2233
+ * 图标路径
2234
+ */
2235
+ icon: {
2236
+ type: String,
2237
+ default: ""
2238
+ },
2239
+ /**
2240
+ * 图标宽度
2241
+ */
2242
+ iconWidth: {
2243
+ type: [String, Number],
2244
+ default: 200
2245
+ },
2246
+ /**
2247
+ * 图标高度
2248
+ */
2249
+ iconHeight: {
2250
+ type: [String, Number],
2251
+ default: 200
2252
+ },
2253
+ /**
2254
+ * 文字颜色
2255
+ */
2256
+ textColor: {
2257
+ type: String,
2258
+ default: "#999999"
2259
+ },
2260
+ /**
2261
+ * 文字大小
2262
+ */
2263
+ textFontSize: {
2264
+ type: [String, Number],
2265
+ default: 14
2266
+ },
2267
+ /**
2268
+ * 自定义容器样式
2269
+ */
2270
+ containerStyle: {
2271
+ type: Object,
2272
+ default: () => ({})
2273
+ }
2274
+ },
2275
+ setup(s) {
2276
+ const y = s, n = {
2277
+ width: typeof y.iconWidth == "number" ? `${y.iconWidth}px` : y.iconWidth,
2278
+ height: typeof y.iconHeight == "number" ? `${y.iconHeight}px` : y.iconHeight
2279
+ }, t = {
2280
+ color: y.textColor,
2281
+ fontSize: typeof y.textFontSize == "number" ? `${y.textFontSize}px` : y.textFontSize
2282
+ };
2283
+ return (r, u) => s.visible ? (openBlock(), createElementBlock("div", {
2284
+ key: 0,
2285
+ class: "hbis-empty-container",
2286
+ style: normalizeStyle(s.containerStyle)
2287
+ }, [
2288
+ renderSlot(r.$slots, "default", {}, () => [
2289
+ createElementVNode("div", _hoisted_1, [
2290
+ s.showIcon ? (openBlock(), createElementBlock("image", {
2291
+ key: 0,
2292
+ src: s.icon,
2293
+ style: n,
2294
+ class: "hbis-empty-image",
2295
+ mode: "aspectFit"
2296
+ }, null, 8, _hoisted_2)) : createCommentVNode("", !0),
2297
+ s.showText ? (openBlock(), createElementBlock("div", {
2298
+ key: 1,
2299
+ style: t,
2300
+ class: "hbis-empty-text"
2301
+ }, toDisplayString(s.text), 1)) : createCommentVNode("", !0)
2302
+ ])
2303
+ ], !0)
2304
+ ], 4)) : createCommentVNode("", !0);
2305
+ }
2306
+ }, hbisEmpty = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-230efa74"]]);
2202
2307
  export {
2203
2308
  C1,
2204
2309
  C2,
@@ -2209,10 +2314,11 @@ export {
2209
2314
  HbisAutoScrollList as hbisAutoScrollList,
2210
2315
  hbisDateStrip,
2211
2316
  hbisDropdownSelect as hbisDropDownSelect,
2317
+ hbisEmpty,
2212
2318
  hbisLoading,
2213
2319
  hbisPasswordInput,
2214
- _sfc_main$9 as hbisPreviewImage,
2215
- _sfc_main$3 as hbisSearchInput,
2320
+ _sfc_main$a as hbisPreviewImage,
2321
+ _sfc_main$4 as hbisSearchInput,
2216
2322
  HbisSmsInput as hbisSmsInput,
2217
2323
  HbisSvgaPlayer as hbisSvgaPlayer,
2218
2324
  hbisSwiper,