asai-vue-host 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- import { computed as X, inject as Ie, reactive as me, provide as at, defineComponent as A, createBlock as Y, openBlock as p, resolveDynamicComponent as de, unref as l, resolveComponent as z, createElementBlock as f, normalizeClass as J, createVNode as R, onBeforeUnmount as _e, Fragment as U, createElementVNode as r, renderList as G, toDisplayString as v, createCommentVNode as F, renderSlot as D, onUnmounted as ve, onMounted as fe, withCtx as ne, withModifiers as V, withDirectives as K, vModelText as le, vModelSelect as ye, createTextVNode as oe, ref as B, nextTick as he, watch as Ce, withKeys as st, resolveDirective as ge, createStaticVNode as De, useCssVars as $e, normalizeStyle as Z, defineAsyncComponent as be, vShow as ze, Teleport as Pe, shallowReactive as lt, onUpdated as it, vModelDynamic as rt, KeepAlive as ut, createSlots as ct } from "vue";
1
+ import { computed as X, inject as Ie, reactive as me, provide as at, defineComponent as A, createBlock as Y, openBlock as p, resolveDynamicComponent as de, unref as l, resolveComponent as z, createElementBlock as f, normalizeClass as J, createVNode as R, onBeforeUnmount as _e, Fragment as U, createElementVNode as r, renderList as G, toDisplayString as v, createCommentVNode as F, renderSlot as D, onUnmounted as ve, onMounted as fe, withCtx as ne, withModifiers as V, withDirectives as K, vModelText as le, vModelSelect as ye, createTextVNode as oe, ref as B, nextTick as he, watch as Ce, withKeys as st, resolveDirective as ge, createStaticVNode as De, useCssVars as $e, normalizeStyle as Z, defineAsyncComponent as be, vShow as ze, Teleport as Pe, shallowReactive as lt, onUpdated as it, vModelDynamic as rt, KeepAlive as ct, createSlots as ut } from "vue";
2
2
  const Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  get default() {
5
- return eu;
5
+ return ec;
6
6
  }
7
7
  }, Symbol.toStringTag, { value: "Module" })), dt = {
8
8
  mounted(t, e) {
9
9
  if (typeof e.value == "function") {
10
10
  let o = 0;
11
- const n = 300, a = (u) => {
11
+ const n = 300, a = (c) => {
12
12
  const s = performance.now();
13
- s - o < n ? (e.value(u), o = 0) : o = s;
13
+ s - o < n ? (e.value(c), o = 0) : o = s;
14
14
  };
15
15
  t.__dbPointerDownHandler = a, t.addEventListener("pointerdown", a);
16
16
  }
@@ -33,7 +33,7 @@ function ke(t, e) {
33
33
  function a(k) {
34
34
  n("touch-none", k);
35
35
  }
36
- function u(k) {
36
+ function c(k) {
37
37
  o("touch-none", k);
38
38
  }
39
39
  function s(k) {
@@ -49,17 +49,17 @@ function ke(t, e) {
49
49
  k(), cancelAnimationFrame(e.timeout), e.timeout = null;
50
50
  }));
51
51
  }
52
- function c() {
52
+ function u() {
53
53
  return "ontouchstart" in window || navigator.maxTouchPoints;
54
54
  }
55
55
  function m(k) {
56
- c() && e.touchstat !== 1 && (k.addEventListener("touchstart", y, !0), e.touchstat = 1);
56
+ u() && e.touchstat !== 1 && (k.addEventListener("touchstart", y, !0), e.touchstat = 1);
57
57
  }
58
58
  function h(k) {
59
- c() && e.touchstat !== 2 && (k.addEventListener("touchmove", s), a(k), e.touchstat = 2);
59
+ u() && e.touchstat !== 2 && (k.addEventListener("touchmove", s), a(k), e.touchstat = 2);
60
60
  }
61
61
  function g(k) {
62
- c() && e.touchstat !== 3 && (k.removeEventListener("touchmove", s), u(k), e.touchstat = 3);
62
+ u() && e.touchstat !== 3 && (k.removeEventListener("touchmove", s), c(k), e.touchstat = 3);
63
63
  }
64
64
  function y(k) {
65
65
  document.body.addEventListener("touchmove", b), document.body.addEventListener("touchend", w), e.dragttm = Date.now();
@@ -72,10 +72,10 @@ function ke(t, e) {
72
72
  }
73
73
  return {
74
74
  eStop: s,
75
- canTouch: c,
75
+ canTouch: u,
76
76
  eStopTouch: i,
77
77
  setTouchNone: a,
78
- setTouchAuto: u,
78
+ setTouchAuto: c,
79
79
  fnPThrottle: d,
80
80
  vtTouchInit: m,
81
81
  vtTouchDown: h,
@@ -84,12 +84,12 @@ function ke(t, e) {
84
84
  }
85
85
  const pe = {}, mt = {
86
86
  mounted(t, e) {
87
- const { fnPThrottle: o, vtTouchInit: n, vtTouchDown: a, vtTouchUp: u } = ke(
87
+ const { fnPThrottle: o, vtTouchInit: n, vtTouchDown: a, vtTouchUp: c } = ke(
88
88
  t,
89
89
  e.value
90
90
  );
91
91
  n(t);
92
- let s = !1, i = 0, d = 0, c = 0, m = 0;
92
+ let s = !1, i = 0, d = 0, u = 0, m = 0;
93
93
  typeof e.value.domarea == "string" ? pe.dragAreaDom = document.getElementById(e.value.domarea) : pe.dragAreaDom = t;
94
94
  const h = (b) => {
95
95
  console.log("handleDown", pe, b), a(t), s = !0;
@@ -98,13 +98,13 @@ const pe = {}, mt = {
98
98
  }, g = (b) => {
99
99
  o(() => {
100
100
  if (s) {
101
- c = b.clientX - i, m = b.clientY - d;
101
+ u = b.clientX - i, m = b.clientY - d;
102
102
  const w = window.innerWidth - pe.dragAreaDom.offsetWidth, k = window.innerHeight - pe.dragAreaDom.offsetHeight;
103
- c = Math.max(0, Math.min(c, w)), m = Math.max(0, Math.min(m, k)), pe.dragAreaDom.style.transform = `translate(${c}px, ${m}px)`;
103
+ u = Math.max(0, Math.min(u, w)), m = Math.max(0, Math.min(m, k)), pe.dragAreaDom.style.transform = `translate(${u}px, ${m}px)`;
104
104
  }
105
105
  });
106
106
  }, y = () => {
107
- s = !1, t.style.cursor = "grab", u(t), document.removeEventListener("pointermove", g), document.removeEventListener("pointerup", y);
107
+ s = !1, t.style.cursor = "grab", c(t), document.removeEventListener("pointermove", g), document.removeEventListener("pointerup", y);
108
108
  };
109
109
  t.addEventListener("pointerdown", h), pe.unmounted = () => {
110
110
  t.removeEventListener("pointerdown", h);
@@ -119,12 +119,12 @@ const pe = {}, mt = {
119
119
  default: mt
120
120
  }, Symbol.toStringTag, { value: "Module" })), Ae = {}, ht = {
121
121
  mounted(t, e) {
122
- const { fnPThrottle: o, vtTouchInit: n, vtTouchDown: a, vtTouchUp: u } = ke(
122
+ const { fnPThrottle: o, vtTouchInit: n, vtTouchDown: a, vtTouchUp: c } = ke(
123
123
  t,
124
124
  e.value
125
125
  );
126
126
  n(t);
127
- let s = !1, i = { x: 0, y: 0 }, d = { x: 0, y: 0 }, c = null, m = 1;
127
+ let s = !1, i = { x: 0, y: 0 }, d = { x: 0, y: 0 }, u = null, m = 1;
128
128
  const h = (e.value?.dom ? document.getElementById(e.value.dom) : "") || t, g = (e.value?.domarea ? document.getElementById(e.value.domarea) : "") || h, y = (e.value?.dommask ? document.getElementById(e.value.dommask) : "") || (e.value?.ujt?.$global?.sys?.zoomid ? document.getElementById(e.value.ujt.$global.sys.zoomid) : "") || document.getElementById("asaizoomarea") || document.body, b = () => y && (e.value?.scale || e.value?.ujt?.$global?.scale) || 1, w = (P) => {
129
129
  if (!y) return;
130
130
  if (a(t), P.preventDefault(), m = b(), e.value?.pos)
@@ -143,17 +143,17 @@ const pe = {}, mt = {
143
143
  y: 0
144
144
  };
145
145
  }
146
- s = !0, c = y.getBoundingClientRect();
146
+ s = !0, u = y.getBoundingClientRect();
147
147
  let L, j;
148
148
  L = P.clientX, j = P.clientY, i = {
149
- x: (L - c.left) / m - d.x,
150
- y: (j - c.top) / m - d.y
149
+ x: (L - u.left) / m - d.x,
150
+ y: (j - u.top) / m - d.y
151
151
  }, h.setPointerCapture(P.pointerId), document.addEventListener("pointermove", k), document.addEventListener("pointerup", x), document.addEventListener("pointercancel", x);
152
152
  }, k = (P) => {
153
- if (!s || !c) return;
153
+ if (!s || !u) return;
154
154
  let L, j;
155
155
  L = P.clientX, j = P.clientY, m = b();
156
- const _ = (L - c.left) / m - i.x, S = (j - c.top) / m - i.y, C = y.offsetWidth - g.offsetWidth, O = y.offsetHeight - g.offsetHeight;
156
+ const _ = (L - u.left) / m - i.x, S = (j - u.top) / m - i.y, C = y.offsetWidth - g.offsetWidth, O = y.offsetHeight - g.offsetHeight;
157
157
  o(() => {
158
158
  e.value.pos ? (e.value.pos.x = +Math.max(
159
159
  0,
@@ -170,10 +170,10 @@ const pe = {}, mt = {
170
170
  ).toFixed(6)}px)`;
171
171
  });
172
172
  }, x = (P) => {
173
- u(t), P instanceof PointerEvent && h.hasPointerCapture(P.pointerId) && (s = !1, h.releasePointerCapture(P.pointerId)), document.removeEventListener("pointermove", k), document.removeEventListener("pointerup", x), document.removeEventListener("pointercancel", x);
173
+ c(t), P instanceof PointerEvent && h.hasPointerCapture(P.pointerId) && (s = !1, h.releasePointerCapture(P.pointerId)), document.removeEventListener("pointermove", k), document.removeEventListener("pointerup", x), document.removeEventListener("pointercancel", x);
174
174
  };
175
175
  h.addEventListener("pointerdown", w);
176
- const M = () => c = null;
176
+ const M = () => u = null;
177
177
  window.addEventListener("resize", M), Ae.unmounted = () => {
178
178
  h.removeEventListener("pointerdown", w), window.removeEventListener("resize", M);
179
179
  };
@@ -217,7 +217,7 @@ const yt = {
217
217
  "important"
218
218
  );
219
219
  });
220
- }, u = function(s) {
220
+ }, c = function(s) {
221
221
  if (o.keyboard.params?.ot?.fnnumcb?.(), o.keyboard.params?.ot?.fndscb?.(), n(), o.keyboard.params.ot = {}, s.target?.closest(".portaskeyboard"))
222
222
  o.keyboard.params.ot.portaskeyboard = !0;
223
223
  else if (!s.target?.closest(".noaskeyboard")) if (s.target?.closest(".asaimonacoeditor"))
@@ -249,8 +249,8 @@ const yt = {
249
249
  } else
250
250
  o.keyboard.params = {}, o.keyboard.isshow = 0;
251
251
  };
252
- n(), t.addEventListener("pointerdown", u), ae.unmounted = () => {
253
- t.removeEventListener("pointerdown", u);
252
+ n(), t.addEventListener("pointerdown", c), ae.unmounted = () => {
253
+ t.removeEventListener("pointerdown", c);
254
254
  };
255
255
  }
256
256
  },
@@ -274,12 +274,12 @@ const yt = {
274
274
  e.value
275
275
  );
276
276
  o(t);
277
- const u = e.value.long ? 1e3 : 500;
278
- let s = null, i = !1, d = 0, c = 0;
277
+ const c = e.value.long ? 1e3 : 500;
278
+ let s = null, i = !1, d = 0, u = 0;
279
279
  const m = 10, h = (w) => {
280
- n(t), e.value.prevent && w.preventDefault(), i = !0, w?.touches?.[0] ? (d = w.touches[0].clientX, c = w.touches[0].clientY) : (d = w.clientX, c = w.clientY), e.value.press && e.value.press(w), s = window.setTimeout(() => {
280
+ n(t), e.value.prevent && w.preventDefault(), i = !0, w?.touches?.[0] ? (d = w.touches[0].clientX, u = w.touches[0].clientY) : (d = w.clientX, u = w.clientY), e.value.press && e.value.press(w), s = window.setTimeout(() => {
281
281
  i && e.value.hold && e.value.hold(w);
282
- }, u);
282
+ }, c);
283
283
  }, g = (w) => {
284
284
  a(t), s !== null && (clearTimeout(s), s = null), i && (e.value.release && e.value.release(w), i = !1);
285
285
  }, b = {
@@ -289,7 +289,7 @@ const yt = {
289
289
  if (!i) return;
290
290
  let k = 0, x = 0;
291
291
  w?.touches?.[0] ? (k = w.touches[0].clientX, x = w.touches[0].clientY) : (k = w.clientX, x = w.clientY);
292
- const M = Math.abs(k - d), P = Math.abs(x - c);
292
+ const M = Math.abs(k - d), P = Math.abs(x - u);
293
293
  (M > m || P > m) && (s !== null && (clearTimeout(s), s = null), i = !1);
294
294
  }
295
295
  };
@@ -304,13 +304,13 @@ const yt = {
304
304
  default: jt
305
305
  }, Symbol.toStringTag, { value: "Module" })), Me = {}, xt = {
306
306
  mounted(t, e) {
307
- const { fnPThrottle: o, vtTouchInit: n, vtTouchDown: a, vtTouchUp: u } = ke(
307
+ const { fnPThrottle: o, vtTouchInit: n, vtTouchDown: a, vtTouchUp: c } = ke(
308
308
  t,
309
309
  e.value
310
310
  );
311
311
  n(t);
312
312
  const { ujt: s, size: i, scale: d } = e.value;
313
- let c = { x: 0, y: 0 }, m;
313
+ let u = { x: 0, y: 0 }, m;
314
314
  const h = {
315
315
  width: s?.$global?.sys?.zoomwidth || 1920,
316
316
  height: s?.$global?.sys?.zoomheight || 1200
@@ -323,13 +323,13 @@ const yt = {
323
323
  const E = window.getComputedStyle(t).transform?.split(", ");
324
324
  if (E && E.length > 2) {
325
325
  const H = E.pop().slice(0, -1), W = E.pop();
326
- c = {
326
+ u = {
327
327
  x: parseFloat(W),
328
328
  y: parseFloat(H)
329
329
  };
330
330
  } else
331
- c = { x: 0, y: 0 };
332
- t.style.transform = `translate(${c.x}px,${c.y}px)`, C instanceof PointerEvent && t.setPointerCapture(C.pointerId), document.addEventListener(
331
+ u = { x: 0, y: 0 };
332
+ t.style.transform = `translate(${u.x}px,${u.y}px)`, C instanceof PointerEvent && t.setPointerCapture(C.pointerId), document.addEventListener(
333
333
  "pointermove",
334
334
  j
335
335
  ), document.addEventListener("pointerup", _), document.addEventListener(
@@ -341,14 +341,14 @@ const yt = {
341
341
  const { clientX: O, clientY: T } = P(C), $ = (O - window.scrollX - b) / m, E = (T - window.scrollY - w) / m;
342
342
  M.w = Math.min(
343
343
  Math.max(88, k + $),
344
- h.width - c.x
344
+ h.width - u.x
345
345
  ), M.h = Math.min(
346
346
  Math.max(58, x + E),
347
- h.height - c.y
347
+ h.height - u.y
348
348
  ), t.style.width = M.w + "px", t.style.height = M.h + "px";
349
349
  });
350
350
  }, _ = (C) => {
351
- u(t), C instanceof PointerEvent && t.hasPointerCapture(C.pointerId) && t.releasePointerCapture(C.pointerId), y = !1, document.removeEventListener(
351
+ c(t), C instanceof PointerEvent && t.hasPointerCapture(C.pointerId) && t.releasePointerCapture(C.pointerId), y = !1, document.removeEventListener(
352
352
  "pointermove",
353
353
  j
354
354
  ), document.removeEventListener(
@@ -378,17 +378,17 @@ const yt = {
378
378
  }, Symbol.toStringTag, { value: "Module" })), Ct = {
379
379
  // 指令挂载到元素上时调用
380
380
  mounted(t, e) {
381
- const { fnPThrottle: o, vtTouchInit: n, vtTouchDown: a, vtTouchUp: u } = ke(
381
+ const { fnPThrottle: o, vtTouchInit: n, vtTouchDown: a, vtTouchUp: c } = ke(
382
382
  t,
383
383
  e.value
384
384
  );
385
385
  n(t);
386
- const { ujt: s, scale: i, id: d, type: c, cut: m, min: h } = e.value, g = () => i || s?.$global?.scale || 1, y = {
386
+ const { ujt: s, scale: i, id: d, type: u, cut: m, min: h } = e.value, g = () => i || s?.$global?.scale || 1, y = {
387
387
  width: s?.$global?.sys?.zoomwidth || 1920,
388
388
  height: s?.$global?.sys?.zoomheight || 1200
389
389
  };
390
390
  let b = m || 0;
391
- c ? y.height = y.height - b : y.width = y.width - b;
391
+ u ? y.height = y.height - b : y.width = y.width - b;
392
392
  function w() {
393
393
  return typeof h == "function" ? h() : typeof h?.value == "number" ? h?.value : typeof h == "number" ? h : 100;
394
394
  }
@@ -398,10 +398,10 @@ const yt = {
398
398
  console.error(`未找到 ID 为 ${d} 的元素`);
399
399
  return;
400
400
  }
401
- a(t), $.preventDefault(), x = g(), M = !0, c ? (j = $.clientY, _ = k.offsetHeight) : (P = $.clientX, L = k.offsetWidth), document.addEventListener("pointermove", C), document.addEventListener("pointerup", O);
401
+ a(t), $.preventDefault(), x = g(), M = !0, u ? (j = $.clientY, _ = k.offsetHeight) : (P = $.clientX, L = k.offsetWidth), document.addEventListener("pointermove", C), document.addEventListener("pointerup", O);
402
402
  }, C = ($) => {
403
403
  M && o(() => {
404
- if (c) {
404
+ if (u) {
405
405
  const E = (j - $.clientY) / x, H = Math.max(w(), _ + E);
406
406
  k.style.height = Math.min(H, y.height) + "px", k.style.minHeight = Math.min(H, y.height) + "px";
407
407
  } else {
@@ -410,7 +410,7 @@ const yt = {
410
410
  }
411
411
  });
412
412
  }, O = () => {
413
- M = !1, u(t), document.removeEventListener("pointermove", C), document.removeEventListener("pointerup", O);
413
+ M = !1, c(t), document.removeEventListener("pointermove", C), document.removeEventListener("pointerup", O);
414
414
  };
415
415
  t.addEventListener("pointerdown", S);
416
416
  const T = () => {
@@ -464,7 +464,7 @@ const yt = {
464
464
  baseURL: a.As.getUrlByCfg(n.link.api[e], 0),
465
465
  Userinfo: n.user.info,
466
466
  ujt: t
467
- }), a.api[e].ictReq(async ({ url: u, opt: s }) => (s?.mm && n?.code?.token && (s.headers.Userinfo = `${n.code.token}`), { url: u, opt: s })), a.api[e].ictRes((u) => ([908].includes(u.code) ? u.data = "" : [909, 200].includes(u.code), u))), a.api[e];
467
+ }), a.api[e].ictReq(async ({ url: c, opt: s }) => (s?.mm && n?.code?.token && (s.headers.Userinfo = `${n.code.token}`), { url: c, opt: s })), a.api[e].ictRes((c) => ([908].includes(c.code) ? c.data = "" : [909, 200].includes(c.code), c))), a.api[e];
468
468
  }, Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
469
469
  __proto__: null,
470
470
  default: Lt
@@ -478,8 +478,8 @@ const yt = {
478
478
  setCookies(t, e, o = 0, n = "/") {
479
479
  let a = "";
480
480
  if (o) {
481
- const u = /* @__PURE__ */ new Date();
482
- u.setTime(u.getTime() + o), a = "; expires=" + u.toUTCString();
481
+ const c = /* @__PURE__ */ new Date();
482
+ c.setTime(c.getTime() + o), a = "; expires=" + c.toUTCString();
483
483
  }
484
484
  document.cookie = t + "=" + encodeURIComponent(e) + a + "; path=" + (n || "/");
485
485
  },
@@ -488,8 +488,8 @@ const yt = {
488
488
  try {
489
489
  let a = "";
490
490
  if (o) {
491
- const u = /* @__PURE__ */ new Date();
492
- u.setTime(u.getTime() + o), a = "; expires=" + u.toUTCString();
491
+ const c = /* @__PURE__ */ new Date();
492
+ c.setTime(c.getTime() + o), a = "; expires=" + c.toUTCString();
493
493
  }
494
494
  document.cookie = t + "=" + e + a + "; path=" + (n || "/");
495
495
  } catch {
@@ -677,9 +677,9 @@ const yt = {
677
677
  getTime(t = 6, e = 0) {
678
678
  let o = "", n;
679
679
  e ? (e < 9999999999 && (e = e * 1e3), n = new Date(e)) : n = /* @__PURE__ */ new Date();
680
- const [a, u] = t > 9 ? t + "" : "0" + t;
680
+ const [a, c] = t > 9 ? t + "" : "0" + t;
681
681
  function s(i) {
682
- return +a <= i && +u >= i;
682
+ return +a <= i && +c >= i;
683
683
  }
684
684
  return s(1) && (o += ("00" + n.getFullYear()).slice(-4) + "-"), s(2) && (o += ("00" + (n.getMonth() + 1)).slice(-2) + "-"), s(3) && (o += ("00" + n.getDate()).slice(-2) + " "), s(4) && (o += ("00" + n.getHours()).slice(-2) + ":"), s(5) && (o += ("00" + n.getMinutes()).slice(-2) + ":"), s(6) && (o += ("00" + n.getSeconds()).slice(-2) + "."), s(7) && (o += ("000" + n.getMilliseconds()).slice(-3) + " "), s(9) ? o.replace(/\D/g, "") : o && o.substring(0, o.length - 1);
685
685
  },
@@ -694,7 +694,7 @@ const yt = {
694
694
  Date.now().toString(36).slice(-9),
695
695
  e.toString(36),
696
696
  t.slice(-3),
697
- crypto.getRandomValues(new Uint8Array(6)).reduce((a, u) => a + (u & 15).toString(o), "")
697
+ crypto.getRandomValues(new Uint8Array(6)).reduce((a, c) => a + (c & 15).toString(o), "")
698
698
  ].join("").slice(0, 16);
699
699
  },
700
700
  // 下载txt数据到文件中
@@ -786,13 +786,13 @@ const yt = {
786
786
  asencode(t, e) {
787
787
  const o = t.length, n = e.length;
788
788
  let a = "";
789
- for (let u = 0; u < o; u++) {
789
+ for (let c = 0; c < o; c++) {
790
790
  const s = Math.round(Math.random() * 1e3) % n, i = Number(s.toString().slice(-1)) + 1, d = n - i;
791
- let c = t.codePointAt(u);
792
- const m = c % d;
793
- c = (c - m) / d;
794
- const h = c % d;
795
- c = (c - h) / d, a += e[c % d + i] + e[h + i] + e[m + i] + e.charAt(s);
791
+ let u = t.codePointAt(c);
792
+ const m = u % d;
793
+ u = (u - m) / d;
794
+ const h = u % d;
795
+ u = (u - h) / d, a += e[u % d + i] + e[h + i] + e[m + i] + e.charAt(s);
796
796
  }
797
797
  return a;
798
798
  },
@@ -801,10 +801,10 @@ const yt = {
801
801
  try {
802
802
  const o = t.length, n = e.length;
803
803
  let a = "";
804
- for (let u = 0; u < o; u++) {
805
- const s = e.indexOf(t[u + 3]), i = Number(s.toString().slice(-1)) + 1, d = n - i;
804
+ for (let c = 0; c < o; c++) {
805
+ const s = e.indexOf(t[c + 3]), i = Number(s.toString().slice(-1)) + 1, d = n - i;
806
806
  a += String?.fromCodePoint(
807
- (e.indexOf(t[u++]) - i) * d * d + (e.indexOf(t[u++]) - i) * d + (e.indexOf(t[u++]) - i)
807
+ (e.indexOf(t[c++]) - i) * d * d + (e.indexOf(t[c++]) - i) * d + (e.indexOf(t[c++]) - i)
808
808
  );
809
809
  }
810
810
  return a;
@@ -927,7 +927,7 @@ const yt = {
927
927
  default: Bt
928
928
  }, Symbol.toStringTag, { value: "Module" })), Nt = (t) => {
929
929
  const { $fn: e, $db: o, $global: n, $model: a } = t.ujt;
930
- function u() {
930
+ function c() {
931
931
  const I = {
932
932
  sn: () => e.As.Uuid(t.opt.channel.substring(0, 2)),
933
933
  hi: () => 1,
@@ -937,7 +937,7 @@ const yt = {
937
937
  tg: () => Date.now(),
938
938
  us: () => n.user.info.us
939
939
  };
940
- return n.location.query.fl && (I[c()] = () => n.location.query.fl), I;
940
+ return n.location.query.fl && (I[u()] = () => n.location.query.fl), I;
941
941
  }
942
942
  function s(I = "") {
943
943
  if (typeof I == "string" && I) {
@@ -960,7 +960,7 @@ const yt = {
960
960
  function d() {
961
961
  return o[t.opt.channel].cfg.map.sn || "sn";
962
962
  }
963
- function c() {
963
+ function u() {
964
964
  return o[t.opt.channel].cfg.map.class || "class";
965
965
  }
966
966
  function m() {
@@ -1013,7 +1013,7 @@ const yt = {
1013
1013
  }, o[t.opt.channel].rfdata.rule = {
1014
1014
  ...a.data.asai.asaichannel?.rule || {},
1015
1015
  ...o[t.opt.channel].rfdata.rule || {}
1016
- }, o[t.opt.channel].rfdata.rule?.[c()]?.data === "class" && (o[t.opt.channel].rfdata.rule[c()][c() + "data"] = Object.fromEntries(
1016
+ }, o[t.opt.channel].rfdata.rule?.[u()]?.data === "class" && (o[t.opt.channel].rfdata.rule[u()][u() + "data"] = Object.fromEntries(
1017
1017
  Object.keys(
1018
1018
  o[t.opt.channel].lang.class
1019
1019
  ).map((se) => [
@@ -1048,7 +1048,7 @@ const yt = {
1048
1048
  return "?" + new URLSearchParams(P(I)).toString();
1049
1049
  }
1050
1050
  function j() {
1051
- const I = u();
1051
+ const I = c();
1052
1052
  o[t.opt.channel].rfdata.data = {}, Object.keys(o[t.opt.channel].rfdata.lang).forEach(
1053
1053
  (q) => {
1054
1054
  o[t.opt.channel].rfdata.data[q] = I[q] ? I[q]() : "";
@@ -1126,7 +1126,7 @@ const yt = {
1126
1126
  function te() {
1127
1127
  !n.location.query.ssty && n.location.query.ss && (n.location.query.ssty = o[t.opt.channel]?.cfg.sss?.[1]), e.setquery({ pg: 1 }, 1), o[t.opt.channel].fetch(0);
1128
1128
  }
1129
- function ue(I = 0, q = null) {
1129
+ function ce(I = 0, q = null) {
1130
1130
  if (Le()) {
1131
1131
  const Q = q || o[t.opt.channel].rfdata.data;
1132
1132
  g(
@@ -1186,35 +1186,35 @@ const yt = {
1186
1186
  pg: 1,
1187
1187
  ps: 2e6
1188
1188
  }).then((se) => {
1189
- let ce = "", ie = `${a.data.asai.rulebook.bkchannel}${o[t.opt.channel].lang.label}${a.data.asai.rulebook.bksn}${t.opt.channel}${a.data.asai.rulebook.bkty}1${a.data.asai.rulebook.bktm}${a.data.asai.rulebook.bktg}${a.data.asai.rulebook.bkds}`;
1189
+ let ue = "", ie = `${a.data.asai.rulebook.bkchannel}${o[t.opt.channel].lang.label}${a.data.asai.rulebook.bksn}${t.opt.channel}${a.data.asai.rulebook.bkty}1${a.data.asai.rulebook.bktm}${a.data.asai.rulebook.bktg}${a.data.asai.rulebook.bkds}`;
1190
1190
  se?.data?.sort(
1191
- (re, je) => re[c()]?.localeCompare(je[c()])
1191
+ (re, je) => re[u()]?.localeCompare(je[u()])
1192
1192
  ).forEach((re) => {
1193
- re[c()] && ce !== re[c()] && (ce = re[c()], ie += `${a.data.asai.rulebook.bkclass}${o[t.opt.channel].lang.class[ce]?.nm || ""}${a.data.asai.rulebook.bksn}${ce}${a.data.asai.rulebook.bkty}1${a.data.asai.rulebook.bktm}${a.data.asai.rulebook.bktg}${a.data.asai.rulebook.bkds}`), ie += `${a.data.asai.rulebook.bklist}${re[h()]}${a.data.asai.rulebook.bksn}${re[d()]}${a.data.asai.rulebook.bkty}1${a.data.asai.rulebook.bktm}${re.tm ? new Date(re.tm).toLocaleString() : ""}${a.data.asai.rulebook.bktg}${re.tg ? new Date(re.tg).toLocaleString() : ""}${a.data.asai.rulebook.bkds}${a.data.asai.rulebook.bkco}${re[m()]}`;
1193
+ re[u()] && ue !== re[u()] && (ue = re[u()], ie += `${a.data.asai.rulebook.bkclass}${o[t.opt.channel].lang.class[ue]?.nm || ""}${a.data.asai.rulebook.bksn}${ue}${a.data.asai.rulebook.bkty}1${a.data.asai.rulebook.bktm}${a.data.asai.rulebook.bktg}${a.data.asai.rulebook.bkds}`), ie += `${a.data.asai.rulebook.bklist}${re[h()]}${a.data.asai.rulebook.bksn}${re[d()]}${a.data.asai.rulebook.bkty}1${a.data.asai.rulebook.bktm}${re.tm ? new Date(re.tm).toLocaleString() : ""}${a.data.asai.rulebook.bktg}${re.tg ? new Date(re.tg).toLocaleString() : ""}${a.data.asai.rulebook.bkds}${a.data.asai.rulebook.bkco}${re[m()]}`;
1194
1194
  }), e.As.downloadTxt(ie, `${t.opt.channel}.txt`), q(se);
1195
1195
  });
1196
1196
  });
1197
1197
  }
1198
1198
  function ot(I, q = "") {
1199
1199
  const Q = q.split("-");
1200
- let se = "", ce = {}, ie = [];
1200
+ let se = "", ue = {}, ie = [];
1201
1201
  const re = {}, je = [];
1202
1202
  return I = I?.replaceAll(`\r
1203
1203
  `, `
1204
1204
  `), I.split(a.data.asai.rulebook.bkclass).forEach(
1205
1205
  (we) => {
1206
1206
  we.split(a.data.asai.rulebook.bklist).forEach((Se, nt) => {
1207
- nt === 0 ? se = Se.split(a.data.asai.rulebook.bksn)[1].split(a.data.asai.rulebook.bkty)[0] : (ce = {
1207
+ nt === 0 ? se = Se.split(a.data.asai.rulebook.bksn)[1].split(a.data.asai.rulebook.bkty)[0] : (ue = {
1208
1208
  img: "",
1209
1209
  hi: 1,
1210
1210
  xi: 1,
1211
1211
  yi: 1,
1212
1212
  us: "asai"
1213
- }, ce[Q[0]] = se, ie = Se.split(
1213
+ }, ue[Q[0]] = se, ie = Se.split(
1214
1214
  a.data.asai.rulebook.bkco
1215
- ), ce[Q[5]] = ie[1], ie = ie[0].split(a.data.asai.rulebook.bkds)[0].split(a.data.asai.rulebook.bktg), ce[Q[4]] = ie[1], ie = ie[0].split(
1215
+ ), ue[Q[5]] = ie[1], ie = ie[0].split(a.data.asai.rulebook.bkds)[0].split(a.data.asai.rulebook.bktg), ue[Q[4]] = ie[1], ie = ie[0].split(
1216
1216
  a.data.asai.rulebook.bktm
1217
- ), ce[Q[3]] = ie[1], ie = ie[0].split(a.data.asai.rulebook.bkty)[0].split(a.data.asai.rulebook.bksn), ce[Q[2]] = ie[1], ce[Q[1]] = ie[0], re[ce[d()]] = ce);
1217
+ ), ue[Q[3]] = ie[1], ie = ie[0].split(a.data.asai.rulebook.bkty)[0].split(a.data.asai.rulebook.bksn), ue[Q[2]] = ie[1], ue[Q[1]] = ie[0], re[ue[d()]] = ue);
1218
1218
  });
1219
1219
  }
1220
1220
  ), Object.entries(re).forEach(([we, Se]) => {
@@ -1237,14 +1237,14 @@ const yt = {
1237
1237
  fetchContent: C,
1238
1238
  searchSubmit: te,
1239
1239
  readContent: Ee,
1240
- addContent: ue,
1240
+ addContent: ce,
1241
1241
  editContent: et,
1242
- getDefaultValue: u,
1242
+ getDefaultValue: c,
1243
1243
  setChannelHash: W,
1244
1244
  channelDownload: tt,
1245
1245
  channelUpload: ot,
1246
1246
  getSnKey: d,
1247
- getClassKey: c,
1247
+ getClassKey: u,
1248
1248
  getTitleKey: h,
1249
1249
  getContentKey: m,
1250
1250
  channelLang: s
@@ -1257,8 +1257,8 @@ const yt = {
1257
1257
  function n(d) {
1258
1258
  return e.ws[d] == null ? (e.useWs(t.ujt, d), e.ws[d].init()) : Promise.resolve();
1259
1259
  }
1260
- function a(d, c, m = null) {
1261
- return o.rooms[d] == null ? (o.rooms[d] = [], e.ws[c].wsWatch(
1260
+ function a(d, u, m = null) {
1261
+ return o.rooms[d] == null ? (o.rooms[d] = [], e.ws[u].wsWatch(
1262
1262
  {
1263
1263
  ty: "chat/web" + d + "broadcast"
1264
1264
  },
@@ -1267,31 +1267,31 @@ const yt = {
1267
1267
  }
1268
1268
  ), !0) : !1;
1269
1269
  }
1270
- function u(d, c, m = null) {
1271
- n(c).then(() => {
1270
+ function c(d, u, m = null) {
1271
+ n(u).then(() => {
1272
1272
  Array.isArray(d) ? d.forEach((h) => {
1273
- a(h, c, m);
1274
- }) : typeof d == "string" && a(d, c, m);
1273
+ a(h, u, m);
1274
+ }) : typeof d == "string" && a(d, u, m);
1275
1275
  });
1276
1276
  }
1277
- function s(d, c) {
1277
+ function s(d, u) {
1278
1278
  Array.isArray(d) ? d.forEach((m) => {
1279
- e.ws[c].wsWatchOff({
1279
+ e.ws[u].wsWatchOff({
1280
1280
  ty: "chat/web" + m + "broadcast"
1281
1281
  });
1282
- }) : typeof d == "string" && e.ws[c].wsWatchOff({
1282
+ }) : typeof d == "string" && e.ws[u].wsWatchOff({
1283
1283
  ty: "chat/web" + d + "broadcast"
1284
1284
  });
1285
1285
  }
1286
- function i(d, c, m, h = "") {
1287
- return m.msg ? e.ws[c].wsApi({
1286
+ function i(d, u, m, h = "") {
1287
+ return m.msg ? e.ws[u].wsApi({
1288
1288
  ty: "chat/web" + d + "send",
1289
1289
  db: m
1290
1290
  }).then(() => {
1291
1291
  m.msg = h || "";
1292
1292
  }) : Promise.resolve();
1293
1293
  }
1294
- return { initChatRoom: u, offChatRoom: s, sendChatRoom: i };
1294
+ return { initChatRoom: c, offChatRoom: s, sendChatRoom: i };
1295
1295
  }, Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1296
1296
  __proto__: null,
1297
1297
  default: Xt
@@ -1305,13 +1305,13 @@ const yt = {
1305
1305
  mediaFn: null,
1306
1306
  mediaView: null
1307
1307
  }, o = 0) => {
1308
- function n(c) {
1308
+ function n(u) {
1309
1309
  return new Promise((m, h) => {
1310
1310
  const g = new FileReader();
1311
1311
  g.onload = () => {
1312
1312
  m(g.result);
1313
1313
  }, g.onerror = h, g.readAsDataURL(
1314
- new Blob(c, {
1314
+ new Blob(u, {
1315
1315
  type: "audio/webm"
1316
1316
  })
1317
1317
  );
@@ -1320,21 +1320,21 @@ const yt = {
1320
1320
  async function a() {
1321
1321
  try {
1322
1322
  e.mediaWorking = !0;
1323
- const c = {
1323
+ const u = {
1324
1324
  audio: {
1325
1325
  echoCancellation: !0,
1326
1326
  noiseSuppression: !0,
1327
1327
  sampleRate: 44100
1328
1328
  }
1329
1329
  };
1330
- o && (c.video = {
1330
+ o && (u.video = {
1331
1331
  width: { ideal: 1280 },
1332
1332
  height: { ideal: 720 },
1333
1333
  frameRate: { ideal: 30 },
1334
1334
  facingMode: "user"
1335
1335
  // 使用前置摄像头
1336
1336
  });
1337
- const m = await navigator.mediaDevices.getUserMedia(c);
1337
+ const m = await navigator.mediaDevices.getUserMedia(u);
1338
1338
  e.mediaNew = new MediaRecorder(m, {
1339
1339
  mimeType: o ? "video/webm;codecs=vp9,opus" : "audio/webm;codecs=opus"
1340
1340
  }), e.mediaNew.stream && e.mediaFnView && e.mediaFnView(e.mediaNew.stream), e.mediaChunks = [], e.mediaNew.ondataavailable = (h) => {
@@ -1344,25 +1344,25 @@ const yt = {
1344
1344
  e.mediaChunks
1345
1345
  ), e.mediaFn && e.mediaFn(e.mediaBase64));
1346
1346
  }, e.mediaNew.start(100);
1347
- } catch (c) {
1348
- console.error("无法访问麦克风或摄像头:", c), alert("无法访问麦克风或摄像头,请检查权限设置");
1347
+ } catch (u) {
1348
+ console.error("无法访问麦克风或摄像头:", u), alert("无法访问麦克风或摄像头,请检查权限设置");
1349
1349
  }
1350
1350
  }
1351
- function u() {
1352
- e.mediaNew && e.mediaWorking && (e.mediaNew.stop(), e.mediaNew.stream.getTracks().forEach((c) => c.stop()), e.mediaWorking = !1);
1351
+ function c() {
1352
+ e.mediaNew && e.mediaWorking && (e.mediaNew.stop(), e.mediaNew.stream.getTracks().forEach((u) => u.stop()), e.mediaWorking = !1);
1353
1353
  }
1354
- function s(c) {
1354
+ function s(u) {
1355
1355
  e.mediaPress != null && (clearInterval(e.mediaPress), e.mediaPress = null), a();
1356
1356
  }
1357
- function i(c) {
1357
+ function i(u) {
1358
1358
  }
1359
- function d(c) {
1360
- u(), e.mediaPress != null && (clearInterval(e.mediaPress), e.mediaPress = null);
1359
+ function d(u) {
1360
+ c(), e.mediaPress != null && (clearInterval(e.mediaPress), e.mediaPress = null);
1361
1361
  }
1362
1362
  return {
1363
1363
  mediaBlobToBase64: n,
1364
1364
  mediaWorkStart: a,
1365
- mediaWorkStop: u,
1365
+ mediaWorkStop: c,
1366
1366
  mediaOnPress: s,
1367
1367
  mediaOnHold: i,
1368
1368
  mediaOnRelease: d
@@ -1372,25 +1372,25 @@ const yt = {
1372
1372
  default: Jt
1373
1373
  }, Symbol.toStringTag, { value: "Module" })), Zt = (t) => {
1374
1374
  const { $fn: e, $db: o, $global: n, $model: a } = t.ujt;
1375
- function u(i, d) {
1376
- const c = {};
1375
+ function c(i, d) {
1376
+ const u = {};
1377
1377
  let m = i.split(a.novel.rule.bksn);
1378
- c[d] = m[0], m = m[1].split(a.novel.rule.bkty), c.sn = m[0], m = m[1].split(a.novel.rule.bktm), c.ty = m[0], m = m[1].split(a.novel.rule.bktmg);
1378
+ u[d] = m[0], m = m[1].split(a.novel.rule.bkty), u.sn = m[0], m = m[1].split(a.novel.rule.bktm), u.ty = m[0], m = m[1].split(a.novel.rule.bktmg);
1379
1379
  try {
1380
- c.tm = m[0]?.length > 3 ? e.As.getTime(6, new Date(m[0])) : "", m = m[1].split(a.novel.rule.bkdesc), c.tg = m[0]?.length > 3 ? e.As.getTime(6, new Date(m[0])) : "";
1380
+ u.tm = m[0]?.length > 3 ? e.As.getTime(6, new Date(m[0])) : "", m = m[1].split(a.novel.rule.bkdesc), u.tg = m[0]?.length > 3 ? e.As.getTime(6, new Date(m[0])) : "";
1381
1381
  } catch {
1382
1382
  }
1383
- return d === "li" ? (m = m[1].split(a.novel.rule.bkcontent), c.ds = m[0], c.co = m[1]) : c.ds = m[1], c;
1383
+ return d === "li" ? (m = m[1].split(a.novel.rule.bkcontent), u.ds = m[0], u.co = m[1]) : u.ds = m[1], u;
1384
1384
  }
1385
1385
  return { cmNovelData: X(() => {
1386
1386
  const i = [];
1387
- let c = a.novel.muzu.replaceAll(`\r
1387
+ let u = a.novel.muzu.replaceAll(`\r
1388
1388
  `, `
1389
1389
  `).split(a.novel.rule.bkchannel), m, h, g;
1390
- return c.forEach((y) => {
1390
+ return u.forEach((y) => {
1391
1391
  y && y.split(a.novel.rule.bkclass).forEach((w, k) => {
1392
- k == 0 ? (m = u(w, "ch"), m.cc = [], i.push(m)) : w.split(a.novel.rule.bklist).forEach((M, P) => {
1393
- P == 0 ? (h = u(M, "cl"), h.cc = [], m.cc.push(h)) : (g = u(M, "li"), h.cc.push(g));
1392
+ k == 0 ? (m = c(w, "ch"), m.cc = [], i.push(m)) : w.split(a.novel.rule.bklist).forEach((M, P) => {
1393
+ P == 0 ? (h = c(M, "cl"), h.cc = [], m.cc.push(h)) : (g = c(M, "li"), h.cc.push(g));
1394
1394
  });
1395
1395
  });
1396
1396
  }), i;
@@ -1401,15 +1401,15 @@ const yt = {
1401
1401
  }, Symbol.toStringTag, { value: "Module" })), eo = (t) => {
1402
1402
  const { $global: e } = t.ujt;
1403
1403
  function o(n) {
1404
- const a = Number(e.location.query.pc) || 0, u = a === 0 ? 0 : Math.ceil(a / n);
1405
- if (u === 0) return [];
1404
+ const a = Number(e.location.query.pc) || 0, c = a === 0 ? 0 : Math.ceil(a / n);
1405
+ if (c === 0) return [];
1406
1406
  let s = Math.min(
1407
1407
  Math.max(Number(e.location.query.pg) || 1, 1),
1408
- u
1408
+ c
1409
1409
  ), i = Math.max(s - Math.floor(n / 2), 1), d = i + n - 1;
1410
- return d > u && (d = u, i = Math.max(d - n + 1, 1)), Array.from(
1410
+ return d > c && (d = c, i = Math.max(d - n + 1, 1)), Array.from(
1411
1411
  { length: d - i + 1 },
1412
- (c, m) => i + m
1412
+ (u, m) => i + m
1413
1413
  );
1414
1414
  }
1415
1415
  return { getPageList: o };
@@ -1417,11 +1417,11 @@ const yt = {
1417
1417
  __proto__: null,
1418
1418
  default: eo
1419
1419
  }, Symbol.toStringTag, { value: "Module" })), oo = (t) => {
1420
- const { ujt: e } = t, { $fn: o, $db: n, $global: a } = t.ujt, { initToken: u, userLoginWs: s, getOnline: i } = o.useInitUser(
1420
+ const { ujt: e } = t, { $fn: o, $db: n, $global: a } = t.ujt, { initToken: c, userLoginWs: s, getOnline: i } = o.useInitUser(
1421
1421
  e,
1422
1422
  "webserver"
1423
1423
  ), d = X(() => Object.entries(o.lg("channeluser.lv")).filter((E) => a.user.info?.lv > E[0]));
1424
- function c() {
1424
+ function u() {
1425
1425
  return new Promise(($, E) => {
1426
1426
  try {
1427
1427
  n.channeluser?.stat ? $() : (n.channeluser = {
@@ -1489,7 +1489,7 @@ const yt = {
1489
1489
  $.us && (a.user.info = {
1490
1490
  us: $.us,
1491
1491
  lv: $.lv || 1
1492
- }, u(), s().then((E) => {
1492
+ }, c(), s().then((E) => {
1493
1493
  y();
1494
1494
  }));
1495
1495
  }
@@ -1704,7 +1704,7 @@ const yt = {
1704
1704
  });
1705
1705
  }
1706
1706
  return {
1707
- initUserChannel: c,
1707
+ initUserChannel: u,
1708
1708
  userReg: h,
1709
1709
  userLogin: b,
1710
1710
  userExit: w,
@@ -1723,29 +1723,29 @@ const yt = {
1723
1723
  __proto__: null,
1724
1724
  default: oo
1725
1725
  }, Symbol.toStringTag, { value: "Module" })), ao = (t) => {
1726
- const { $fn: e, $model: o, $db: n, $dbwork: a, $global: u } = t;
1726
+ const { $fn: e, $model: o, $db: n, $dbwork: a, $global: c } = t;
1727
1727
  function s(i = "testkdd") {
1728
1728
  const d = Ie("$vueProxy");
1729
1729
  d?.$installplugs(i), d?.["$engine" + i] && (Object.assign(e, d["$engine" + i]), d?.["$engineuse" + i] && Object.assign(e, d["$engineuse" + i])), o[i] || (o[i] = {}), a[i] || (a[i] = {}), n[i] || (n[i] = {}), e.setconfig = (m, h) => e.api.webserver.apiPost(
1730
1730
  "/api/asaijson/manage/update/?path=./webclient/webmodel/sys/setting/" + m + ".json",
1731
1731
  h
1732
- ), e.changelangpro = (m = "") => e.changelang(u.config.langcur || m).then((h) => {
1733
- u?.sys?.local?.lang ? i && e.ws?.[i] && e.ws[i].wsSend({
1732
+ ), e.changelangpro = (m = "") => e.changelang(c.config.langcur || m).then((h) => {
1733
+ c?.sys?.local?.lang ? i && e.ws?.[i] && e.ws[i].wsSend({
1734
1734
  id: "1",
1735
1735
  ty: "common/setlanguage",
1736
1736
  db: h
1737
1737
  }) : e.setconfig("settinglang", {
1738
1738
  lang: m
1739
1739
  });
1740
- }), e.changethemepro = (m = "") => u?.sys?.local?.theme ? e.changetheme(m) : e.setconfig("settingtheme", {
1740
+ }), e.changethemepro = (m = "") => c?.sys?.local?.theme ? e.changetheme(m) : e.setconfig("settingtheme", {
1741
1741
  theme: m
1742
1742
  });
1743
- const c = [e.initlang(u.config.langcur || "")];
1744
- return c.push(
1743
+ const u = [e.initlang(c.config.langcur || "")];
1744
+ return u.push(
1745
1745
  e.initmodel(i + "/dirmodel.json").then((m) => {
1746
1746
  m && Object.assign(o[i], m);
1747
1747
  })
1748
- ), Promise.all(c);
1748
+ ), Promise.all(u);
1749
1749
  }
1750
1750
  return { initAppModel: s };
1751
1751
  }, so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1753,7 +1753,7 @@ const yt = {
1753
1753
  default: ao
1754
1754
  }, Symbol.toStringTag, { value: "Module" })), lo = (t, e = "webserver") => {
1755
1755
  const { $fn: o, $db: n, $global: a } = t;
1756
- function u() {
1756
+ function c() {
1757
1757
  return new Promise((h, g) => {
1758
1758
  o.ws.web.wsWatch(
1759
1759
  {
@@ -1812,7 +1812,7 @@ const yt = {
1812
1812
  function d() {
1813
1813
  a.user.info?.us && (a.code.token = o.AsCode.asencode(a.user.info?.us, a.code.pri) + "##" + o.AsCode.asencode(a.user.info?.lv, a.code.pri) + "##" + a.code.pub);
1814
1814
  }
1815
- function c() {
1815
+ function u() {
1816
1816
  return new Promise((h, g) => {
1817
1817
  try {
1818
1818
  i().then(() => {
@@ -1831,8 +1831,8 @@ const yt = {
1831
1831
  return new Promise((h, g) => {
1832
1832
  a.user.online = 0;
1833
1833
  try {
1834
- c().then(() => {
1835
- a.code.token && u().then((y) => {
1834
+ u().then(() => {
1835
+ a.code.token && c().then((y) => {
1836
1836
  a.user.online = 1, h();
1837
1837
  });
1838
1838
  }).catch((y) => {
@@ -1845,10 +1845,10 @@ const yt = {
1845
1845
  }
1846
1846
  return {
1847
1847
  initServer: i,
1848
- initUserToken: c,
1848
+ initUserToken: u,
1849
1849
  initToken: d,
1850
1850
  initUserOnline: m,
1851
- userLoginWs: u,
1851
+ userLoginWs: c,
1852
1852
  getOnline: s
1853
1853
  };
1854
1854
  }, io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1858,11 +1858,11 @@ const yt = {
1858
1858
  providedb: {
1859
1859
  data: {}
1860
1860
  }
1861
- }), uo = me({
1861
+ }), co = me({
1862
1862
  providedbwork: {
1863
1863
  data: {}
1864
1864
  }
1865
- }), co = me({
1865
+ }), uo = me({
1866
1866
  provideglobal: {
1867
1867
  data: {
1868
1868
  sys: null,
@@ -1898,9 +1898,9 @@ const yt = {
1898
1898
  Object.assign(Ue.providefn.data, { ...e, ...t });
1899
1899
  const n = {
1900
1900
  $db: ro.providedb.data,
1901
- $dbwork: uo.providedbwork.data,
1901
+ $dbwork: co.providedbwork.data,
1902
1902
  $ws: po.providews.data,
1903
- $global: co.provideglobal.data,
1903
+ $global: uo.provideglobal.data,
1904
1904
  $model: o.$GYS.$webmodel,
1905
1905
  $fn: Ue.providefn.data
1906
1906
  };
@@ -1912,7 +1912,7 @@ const yt = {
1912
1912
  let h = "", g = "", y = "";
1913
1913
  if (m[1] && typeof m[1] == "string") {
1914
1914
  const [b, w, ...k] = m;
1915
- g = w, y = k, Array.isArray(m[0]) && m[0].length === 2 ? h = u(m[0][0], m[0][1], "12px") : typeof m[0] == "number" && (h = a(b, 12));
1915
+ g = w, y = k, Array.isArray(m[0]) && m[0].length === 2 ? h = c(m[0][0], m[0][1], "12px") : typeof m[0] == "number" && (h = a(b, 12));
1916
1916
  }
1917
1917
  h ? console.log("%c" + g, h, ...y) : console.log(...m);
1918
1918
  }
@@ -1950,9 +1950,9 @@ const yt = {
1950
1950
  ), "Web Model Log。");
1951
1951
  function a(m, h = 18) {
1952
1952
  let g = "";
1953
- return m === 1 ? g = u("black", "pink", h + "px") : m === 2 ? g = u("black", "cyan", h + "px") : m === 3 ? g = u("black", "yellow", h + "px") : m === 4 ? g = u("white", "blue", h + "px") : m === 5 ? g = u("white", "red", h + "px") : m === 6 && (g = u("white", "green", h + "px")), g;
1953
+ return m === 1 ? g = c("black", "pink", h + "px") : m === 2 ? g = c("black", "cyan", h + "px") : m === 3 ? g = c("black", "yellow", h + "px") : m === 4 ? g = c("white", "blue", h + "px") : m === 5 ? g = c("white", "red", h + "px") : m === 6 && (g = c("white", "green", h + "px")), g;
1954
1954
  }
1955
- function u(m, h, g = "18px") {
1955
+ function c(m, h, g = "18px") {
1956
1956
  return "font-size:" + g + ";font-weight:bold;border-radius:20px;padding:0 10px;color:" + m + ";background-color:" + h + ";";
1957
1957
  }
1958
1958
  function s(m) {
@@ -2008,7 +2008,7 @@ const yt = {
2008
2008
  });
2009
2009
  }
2010
2010
  });
2011
- const d = /* @__PURE__ */ new Map(), c = /\$(\d+)/g;
2011
+ const d = /* @__PURE__ */ new Map(), u = /\$(\d+)/g;
2012
2012
  return n.$fn.lg = (m, h) => {
2013
2013
  if (typeof m != "string" || !m)
2014
2014
  return;
@@ -2021,7 +2021,7 @@ const yt = {
2021
2021
  if (!h || h.length === 0) return y;
2022
2022
  const b = Array.isArray(h) ? h : [h];
2023
2023
  return y?.replace(
2024
- c,
2024
+ u,
2025
2025
  (k, x) => {
2026
2026
  const M = parseInt(x, 10) - 1;
2027
2027
  return b[M] ?? k;
@@ -2177,7 +2177,7 @@ const yt = {
2177
2177
  }, Symbol.toStringTag, { value: "Module" })), ho = (t) => {
2178
2178
  const { $fn: e, $model: o, $global: n, $ws: a } = t;
2179
2179
  a?.beat || (a.beat = {});
2180
- function u(s = "web", i = 0) {
2180
+ function c(s = "web", i = 0) {
2181
2181
  (i || n.sys?.tmbeat) && (a.beat["bt" + s] = setInterval(() => {
2182
2182
  a.beat["btm" + s] = setTimeout(() => {
2183
2183
  clearInterval(a.beat["bt" + s]), a.beat["bt" + s] = null, e.exit();
@@ -2186,7 +2186,7 @@ const yt = {
2186
2186
  });
2187
2187
  }, i || n.sys?.tmbeat));
2188
2188
  }
2189
- return { pingPong: u };
2189
+ return { pingPong: c };
2190
2190
  }, go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2191
2191
  __proto__: null,
2192
2192
  default: ho
@@ -2210,7 +2210,7 @@ const yt = {
2210
2210
  },
2211
2211
  setup(t) {
2212
2212
  const e = t, { $model: o, $global: n } = e.ujt;
2213
- return (a, u) => (p(), Y(de(
2213
+ return (a, c) => (p(), Y(de(
2214
2214
  l(o).appmodules.indexRouters[(l(n).sys?.router?.config?.models?.includes(
2215
2215
  l(n).location?.hasharr?.[0]
2216
2216
  ) ? l(n).location?.hasharr?.[0] : "") || l(n).sys?.router?.config?.models?.[0]]
@@ -2226,7 +2226,7 @@ const yt = {
2226
2226
  },
2227
2227
  setup(t) {
2228
2228
  const e = t, { $model: o, $global: n } = e.ujt;
2229
- return (a, u) => {
2229
+ return (a, c) => {
2230
2230
  const s = z("AsaiComponent");
2231
2231
  return p(), f("div", {
2232
2232
  id: "asaiweb",
@@ -2252,8 +2252,8 @@ const yt = {
2252
2252
  ujt: {}
2253
2253
  },
2254
2254
  setup(t) {
2255
- const e = t, { $fn: o, $global: n, $model: a } = e.ujt, { initUserToken: u } = o.useInitUser(e.ujt, "webserver");
2256
- return u(), (s, i) => {
2255
+ const e = t, { $fn: o, $global: n, $model: a } = e.ujt, { initUserToken: c } = o.useInitUser(e.ujt, "webserver");
2256
+ return c(), (s, i) => {
2257
2257
  const d = z("AsaiComponent");
2258
2258
  return p(), f("div", {
2259
2259
  id: "asaiwebserver",
@@ -2281,7 +2281,7 @@ const yt = {
2281
2281
  },
2282
2282
  setup(t) {
2283
2283
  const e = t, { $fn: o, $global: n } = e.ujt, { initUserToken: a } = o.useInitUser(e.ujt, "webserver");
2284
- return a(), (u, s) => {
2284
+ return a(), (c, s) => {
2285
2285
  const i = z("AsaiComponent");
2286
2286
  return p(), f("div", {
2287
2287
  id: "asaiwebserveruser",
@@ -2309,8 +2309,8 @@ const yt = {
2309
2309
  ujt: {}
2310
2310
  },
2311
2311
  setup(t) {
2312
- const e = t, o = Ie("$vueProxy"), { $global: n, $fn: a, $model: u } = e.ujt;
2313
- u.appmodules = e.appmodules, a.initweb(o).then(() => {
2312
+ const e = t, o = Ie("$vueProxy"), { $global: n, $fn: a, $model: c } = e.ujt;
2313
+ c.appmodules = e.appmodules, a.initweb(o).then(() => {
2314
2314
  a.useApi(e.ujt, "webserver"), a.useWs(e.ujt, "web");
2315
2315
  let i = [
2316
2316
  // new Promise((resolve: any, reject: any) => {
@@ -2347,7 +2347,7 @@ const yt = {
2347
2347
  ty: "publish/web"
2348
2348
  });
2349
2349
  }), (i, d) => {
2350
- const c = z("AsaiWebServerUserOnline"), m = z("PopMsg"), h = z("PopBoxConfirm");
2350
+ const u = z("AsaiWebServerUserOnline"), m = z("PopMsg"), h = z("PopBoxConfirm");
2351
2351
  return p(), f(U, null, [
2352
2352
  l(n).stat.webclient ? (p(), f(U, { key: 0 }, [
2353
2353
  s.value === 0 ? (p(), Y(Fe, {
@@ -2359,7 +2359,7 @@ const yt = {
2359
2359
  }, null, 8, ["ujt"])) : s.value === 2 ? (p(), Y(He, {
2360
2360
  key: 2,
2361
2361
  ujt: t.ujt
2362
- }, null, 8, ["ujt"])) : (p(), Y(c, {
2362
+ }, null, 8, ["ujt"])) : (p(), Y(u, {
2363
2363
  key: 3,
2364
2364
  ujt: t.ujt
2365
2365
  }, null, 8, ["ujt"]))
@@ -2389,9 +2389,9 @@ const yt = {
2389
2389
  const e = t, { $global: o, $fn: n } = e.ujt;
2390
2390
  o.module.value = e.module?.value, o.module.label = e.module?.label, e.module?.ws && n.useWs(e.ujt, o.module.value);
2391
2391
  const { initAppModel: a } = n.useInitApp(e.ujt);
2392
- return o.stat[o.module.value] = 0, a(o.module.value).then((u) => {
2392
+ return o.stat[o.module.value] = 0, a(o.module.value).then((c) => {
2393
2393
  o.stat[o.module.value] = 1;
2394
- }), (u, s) => {
2394
+ }), (c, s) => {
2395
2395
  const i = z("RouterView");
2396
2396
  return e.module?.value && l(o).stat[e.module.value] ? (p(), Y(i, {
2397
2397
  key: 0,
@@ -2413,7 +2413,7 @@ const yt = {
2413
2413
  },
2414
2414
  setup(t) {
2415
2415
  const e = t, { $global: o, $fn: n } = e.ujt;
2416
- return n.initrouter(), (a, u) => {
2416
+ return n.initrouter(), (a, c) => {
2417
2417
  const s = z("MenuShowFix"), i = z("UserCard");
2418
2418
  return p(), f(U, null, [
2419
2419
  R(s, {
@@ -2421,7 +2421,7 @@ const yt = {
2421
2421
  menus: l(o).url[l(o).module.value]
2422
2422
  }, null, 8, ["ujt", "menus"]),
2423
2423
  r("div", Mo, [
2424
- u[0] || (u[0] = r("div", { class: "app-logo" }, [
2424
+ c[0] || (c[0] = r("div", { class: "app-logo" }, [
2425
2425
  r("img", {
2426
2426
  src: "./webmodel/files/img/logo.png",
2427
2427
  width: "200"
@@ -2431,7 +2431,7 @@ const yt = {
2431
2431
  (p(!0), f(U, null, G(l(o).url[l(o).module.value], (d) => (p(), f("div", {
2432
2432
  class: J(`app-menu${d.type === "module" ? " module" : ""}`),
2433
2433
  key: d.value,
2434
- onPointerup: (c) => l(n).sethash(d.value === "views" ? "" : d.value)
2434
+ onPointerup: (u) => l(n).sethash(d.value === "views" ? "" : d.value)
2435
2435
  }, [
2436
2436
  r("span", Lo, v(d.label), 1)
2437
2437
  ], 42, zo))), 128))
@@ -2453,7 +2453,7 @@ const yt = {
2453
2453
  },
2454
2454
  setup(t) {
2455
2455
  const e = t, { $global: o, $fn: n } = e.ujt;
2456
- return n.initrouter(), (a, u) => {
2456
+ return n.initrouter(), (a, c) => {
2457
2457
  const s = z("MenuShowFix"), i = z("RouterView");
2458
2458
  return p(), f(U, null, [
2459
2459
  R(s, {
@@ -2478,7 +2478,7 @@ const yt = {
2478
2478
  },
2479
2479
  setup(t) {
2480
2480
  const e = t, { $fn: o, $global: n } = e.ujt, { initUserOnline: a } = o.useInitUser(e.ujt, "webserver");
2481
- return a(), (u, s) => {
2481
+ return a(), (c, s) => {
2482
2482
  const i = z("AsaiComponent");
2483
2483
  return p(), f("div", {
2484
2484
  id: "asaiwebserveruseronline",
@@ -2506,15 +2506,15 @@ const yt = {
2506
2506
  opt: {}
2507
2507
  },
2508
2508
  setup(t) {
2509
- const e = t, { $fn: o, $db: n } = e.ujt, { addContent: a, initAddChannel: u, channelLang: s } = o.useChannel(e);
2510
- return u(), (i, d) => {
2511
- const c = z("AsaiForm");
2509
+ const e = t, { $fn: o, $db: n } = e.ujt, { addContent: a, initAddChannel: c, channelLang: s } = o.useChannel(e);
2510
+ return c(), (i, d) => {
2511
+ const u = z("AsaiForm");
2512
2512
  return D(i.$slots, "default", {
2513
2513
  item: l(n)[e.opt.channel],
2514
2514
  option: { addContent: l(a) }
2515
2515
  }, () => [
2516
2516
  r("div", Bo, [
2517
- R(c, {
2517
+ R(u, {
2518
2518
  ujt: t.ujt,
2519
2519
  asaidata: l(n)[e.opt.channel].rfdata
2520
2520
  }, null, 8, ["ujt", "asaidata"])
@@ -2538,21 +2538,21 @@ const yt = {
2538
2538
  opt: {}
2539
2539
  },
2540
2540
  setup(t) {
2541
- const e = t, { $fn: o, $global: n, $db: a } = e.ujt, { setChannelClass: u, getClassKey: s } = o.useChannel(e);
2541
+ const e = t, { $fn: o, $global: n, $db: a } = e.ujt, { setChannelClass: c, getClassKey: s } = o.useChannel(e);
2542
2542
  return (i, d) => (p(!0), f(U, null, G(Object.entries(
2543
2543
  l(a)[e.opt.channel].rfdata.rule[l(s)()][l(s)() + "data"]
2544
- ), (c) => D(i.$slots, "default", {
2545
- key: c[0],
2546
- item: c,
2547
- option: { setChannelClass: l(u) }
2544
+ ), (u) => D(i.$slots, "default", {
2545
+ key: u[0],
2546
+ item: u,
2547
+ option: { setChannelClass: l(c) }
2548
2548
  }, () => [
2549
2549
  r("div", {
2550
- title: c[1] || "",
2550
+ title: u[1] || "",
2551
2551
  class: J({
2552
- cur: c[0] === l(n).location.query?.fl || c[0] === "asai" && !l(n).location.query?.fl
2552
+ cur: u[0] === l(n).location.query?.fl || u[0] === "asai" && !l(n).location.query?.fl
2553
2553
  }),
2554
- onPointerdown: (m) => l(u)(c[0] === "asai" ? "" : c[0])
2555
- }, v(c[1]), 43, Xo)
2554
+ onPointerdown: (m) => l(c)(u[0] === "asai" ? "" : u[0])
2555
+ }, v(u[1]), 43, Xo)
2556
2556
  ])), 128));
2557
2557
  }
2558
2558
  }), Jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2565,7 +2565,7 @@ const yt = {
2565
2565
  opt: {}
2566
2566
  },
2567
2567
  setup(t) {
2568
- const e = t, { $fn: o, $db: n } = e.ujt, { editContent: a, channelLang: u } = o.useChannel(e);
2568
+ const e = t, { $fn: o, $db: n } = e.ujt, { editContent: a, channelLang: c } = o.useChannel(e);
2569
2569
  return (s, i) => {
2570
2570
  const d = z("AsaiForm");
2571
2571
  return D(s.$slots, "default", {
@@ -2581,8 +2581,8 @@ const yt = {
2581
2581
  r("div", Zo, [
2582
2582
  r("div", {
2583
2583
  class: "li cur",
2584
- onPointerdown: i[0] || (i[0] = (c) => l(a)())
2585
- }, v(l(u)("ui.edit") || "Edit"), 33)
2584
+ onPointerdown: i[0] || (i[0] = (u) => l(a)())
2585
+ }, v(l(c)("ui.edit") || "Edit"), 33)
2586
2586
  ])
2587
2587
  ]);
2588
2588
  };
@@ -2590,20 +2590,20 @@ const yt = {
2590
2590
  }), en = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2591
2591
  __proto__: null,
2592
2592
  default: Qo
2593
- }, Symbol.toStringTag, { value: "Module" })), tn = { class: "as-channel-class" }, on = { class: "as-channel-bar" }, nn = { class: "as-channel-class-area" }, an = { class: "as-channel-class-bar" }, sn = { class: "as-channel-list" }, ln = { class: "as-channel-bar" }, rn = ["id"], un = {
2593
+ }, Symbol.toStringTag, { value: "Module" })), tn = { class: "as-channel-class" }, on = { class: "as-channel-bar" }, nn = { class: "as-channel-class-area" }, an = { class: "as-channel-class-bar" }, sn = { class: "as-channel-list" }, ln = { class: "as-channel-bar" }, rn = ["id"], cn = {
2594
2594
  key: 0,
2595
2595
  class: "as-channel-page"
2596
- }, cn = { class: "as-channel-show" }, dn = { class: "as-channel-bar" }, pn = { class: "as-channel-opt" }, mn = { class: "as-channel-bar" }, fn = { class: "as-channel-opt" }, hn = { class: "as-channel-bar" }, gn = { class: "as-channel-opt" }, vn = /* @__PURE__ */ A({
2596
+ }, un = { class: "as-channel-show" }, dn = { class: "as-channel-bar" }, pn = { class: "as-channel-opt" }, mn = { class: "as-channel-bar" }, fn = { class: "as-channel-opt" }, hn = { class: "as-channel-bar" }, gn = { class: "as-channel-opt" }, vn = /* @__PURE__ */ A({
2597
2597
  __name: "ChannelIndex",
2598
2598
  props: {
2599
2599
  ujt: {},
2600
2600
  opt: {}
2601
2601
  },
2602
2602
  setup(t) {
2603
- const e = t, { $fn: o, $global: n, $db: a, $model: u } = e.ujt, { initChannel: s, channelLang: i } = o.useChannel(e);
2603
+ const e = t, { $fn: o, $global: n, $db: a, $model: c } = e.ujt, { initChannel: s, channelLang: i } = o.useChannel(e);
2604
2604
  return s(), ve(() => {
2605
2605
  a[e.opt.channel] = null;
2606
- }), (d, c) => {
2606
+ }), (d, u) => {
2607
2607
  const m = z("ChannelClass"), h = z("ChannelUpDown"), g = z("ChannelListSearch"), y = z("PopBoxConfirm"), b = z("ChannelList"), w = z("ChannelListPage"), k = z("ChannelOpt"), x = z("ChannelEdit"), M = z("ChannelShow"), P = z("ChannelAdd");
2608
2608
  return l(a)[e.opt.channel].stat ? (p(), f("div", {
2609
2609
  key: 0,
@@ -2613,7 +2613,7 @@ const yt = {
2613
2613
  }, [
2614
2614
  r("div", tn, [
2615
2615
  r("div", on, [
2616
- r("h1", null, v(l(u).data.asai.rulebook.listclass) + " " + v(l(i)("ui.class") || "Class"), 1)
2616
+ r("h1", null, v(l(c).data.asai.rulebook.listclass) + " " + v(l(i)("ui.class") || "Class"), 1)
2617
2617
  ]),
2618
2618
  r("div", nn, [
2619
2619
  R(m, {
@@ -2630,7 +2630,7 @@ const yt = {
2630
2630
  ]),
2631
2631
  r("div", sn, [
2632
2632
  r("div", ln, [
2633
- r("h1", null, v(l(u).data.asai.rulebook.listcontent) + " " + v(l(i)("ui.list") || "List"), 1)
2633
+ r("h1", null, v(l(c).data.asai.rulebook.listcontent) + " " + v(l(i)("ui.list") || "List"), 1)
2634
2634
  ]),
2635
2635
  R(g, {
2636
2636
  ujt: t.ujt,
@@ -2649,18 +2649,18 @@ const yt = {
2649
2649
  opt: t.opt
2650
2650
  }, null, 8, ["ujt", "opt"])
2651
2651
  ], 8, rn),
2652
- l(a)[e.opt.channel].cmPageList.length > 1 ? (p(), f("div", un, [
2652
+ l(a)[e.opt.channel].cmPageList.length > 1 ? (p(), f("div", cn, [
2653
2653
  R(w, {
2654
2654
  ujt: t.ujt,
2655
2655
  opt: t.opt
2656
2656
  }, null, 8, ["ujt", "opt"])
2657
2657
  ])) : F("", !0)
2658
2658
  ]),
2659
- r("div", cn, [
2659
+ r("div", un, [
2660
2660
  l(n).location.query?.show ? (p(), f(U, { key: 0 }, [
2661
2661
  l(n).location.query?.showty ? (p(), f(U, { key: 0 }, [
2662
2662
  r("div", dn, [
2663
- r("h1", null, v(l(u).data.asai.rulebook.contentedit) + " " + v(l(i)("ui.edit") || "Edit"), 1),
2663
+ r("h1", null, v(l(c).data.asai.rulebook.contentedit) + " " + v(l(i)("ui.edit") || "Edit"), 1),
2664
2664
  r("div", pn, [
2665
2665
  R(k, {
2666
2666
  ujt: t.ujt,
@@ -2674,7 +2674,7 @@ const yt = {
2674
2674
  }, null, 8, ["ujt", "opt"])
2675
2675
  ], 64)) : (p(), f(U, { key: 1 }, [
2676
2676
  r("div", mn, [
2677
- r("h1", null, v(l(u).data.asai.rulebook.contentshow) + " " + v(l(i)("ui.show") || "Show"), 1),
2677
+ r("h1", null, v(l(c).data.asai.rulebook.contentshow) + " " + v(l(i)("ui.show") || "Show"), 1),
2678
2678
  r("div", fn, [
2679
2679
  R(k, {
2680
2680
  ujt: t.ujt,
@@ -2689,7 +2689,7 @@ const yt = {
2689
2689
  ], 64))
2690
2690
  ], 64)) : (p(), f(U, { key: 1 }, [
2691
2691
  r("div", hn, [
2692
- r("h1", null, v(l(u).data.asai.rulebook.new) + " " + v(l(i)("ui.add") || "Add"), 1),
2692
+ r("h1", null, v(l(c).data.asai.rulebook.new) + " " + v(l(i)("ui.add") || "Add"), 1),
2693
2693
  r("div", gn, [
2694
2694
  R(k, {
2695
2695
  ujt: t.ujt,
@@ -2722,14 +2722,14 @@ const yt = {
2722
2722
  opt: {}
2723
2723
  },
2724
2724
  setup(t) {
2725
- const e = t, { $fn: o, $global: n, $db: a, $model: u } = e.ujt, { initChannel: s, channelUpload: i, channelDownload: d } = o.useChannel(e);
2725
+ const e = t, { $fn: o, $global: n, $db: a, $model: c } = e.ujt, { initChannel: s, channelUpload: i, channelDownload: d } = o.useChannel(e);
2726
2726
  return s(), ve(() => {
2727
2727
  a[e.opt.channel] = null;
2728
- }), (c, m) => {
2728
+ }), (u, m) => {
2729
2729
  const h = z("ChannelClass"), g = z("ChannelListSearch"), y = z("PopBoxConfirm"), b = z("ChannelList"), w = z("ChannelListPage"), k = z("ChannelEdit"), x = z("ChannelShow"), M = z("ChannelAdd");
2730
2730
  return l(a)[e.opt.channel].stat ? (p(), f("div", bn, [
2731
2731
  r("div", _n, [
2732
- r("h1", null, v(l(u).data.asai.rulebook.listclass) + " " + v(l(o).lg(e.opt.channel + ".ui.class")), 1),
2732
+ r("h1", null, v(l(c).data.asai.rulebook.listclass) + " " + v(l(o).lg(e.opt.channel + ".ui.class")), 1),
2733
2733
  r("div", $n, [
2734
2734
  R(h, {
2735
2735
  ujt: t.ujt,
@@ -2746,7 +2746,7 @@ const yt = {
2746
2746
  }, v(l(n).lang.asai.download), 33)
2747
2747
  ]),
2748
2748
  r("div", wn, [
2749
- r("h1", null, v(l(u).data.asai.rulebook.listcontent) + " " + v(l(o).lg(e.opt.channel + ".ui.list")), 1),
2749
+ r("h1", null, v(l(c).data.asai.rulebook.listcontent) + " " + v(l(o).lg(e.opt.channel + ".ui.list")), 1),
2750
2750
  R(g, {
2751
2751
  ujt: t.ujt,
2752
2752
  opt: t.opt
@@ -2780,14 +2780,14 @@ const yt = {
2780
2780
  opt: t.opt
2781
2781
  }, null, 8, ["ujt", "opt"])
2782
2782
  ], 64)) : (p(), f(U, { key: 1 }, [
2783
- r("h1", null, v(l(u).data.asai.rulebook.contentshow) + " " + v(l(o).lg(e.opt.channel + ".ui.show")), 1),
2783
+ r("h1", null, v(l(c).data.asai.rulebook.contentshow) + " " + v(l(o).lg(e.opt.channel + ".ui.show")), 1),
2784
2784
  R(x, {
2785
2785
  ujt: t.ujt,
2786
2786
  opt: t.opt
2787
2787
  }, null, 8, ["ujt", "opt"])
2788
2788
  ], 64))
2789
2789
  ], 64)) : (p(), f(U, { key: 1 }, [
2790
- r("h1", null, v(l(u).data.asai.rulebook.new) + " " + v(l(o).lg(e.opt.channel + ".ui.add")), 1),
2790
+ r("h1", null, v(l(c).data.asai.rulebook.new) + " " + v(l(o).lg(e.opt.channel + ".ui.add")), 1),
2791
2791
  R(M, {
2792
2792
  ujt: t.ujt,
2793
2793
  opt: t.opt
@@ -2812,17 +2812,17 @@ const yt = {
2812
2812
  },
2813
2813
  setup(t) {
2814
2814
  const e = t, { $fn: o, $db: n, $global: a } = e.ujt, {
2815
- delItem: u,
2815
+ delItem: c,
2816
2816
  editItem: s,
2817
2817
  readItem: i,
2818
2818
  setShow: d,
2819
- fetchContent: c,
2819
+ fetchContent: u,
2820
2820
  optConfirm: m,
2821
2821
  getSnKey: h,
2822
2822
  channelLang: g
2823
2823
  } = o.useChannel(e);
2824
2824
  fe(() => {
2825
- c(0), i(a.location.query?.show);
2825
+ u(0), i(a.location.query?.show);
2826
2826
  }), n[e.opt.channel].cmPageSize = X(() => Number(a.location.query?.ps) || n[e.opt.channel].cfg.config?.ps || 5);
2827
2827
  const { getPageList: y } = o.usePage(e);
2828
2828
  return n[e.opt.channel].cmPageList = X(() => y(n[e.opt?.channel]?.cmPageSize)), (b, w) => {
@@ -2830,14 +2830,14 @@ const yt = {
2830
2830
  return p(!0), f(U, null, G(l(n)[e.opt.channel].contentList, (x, M) => D(b.$slots, "default", {
2831
2831
  key: "list" + (x?.[l(h)()] || M),
2832
2832
  item: x,
2833
- option: { setShow: l(d), delItem: l(u), editItem: l(s), optConfirm: l(m) }
2833
+ option: { setShow: l(d), delItem: l(c), editItem: l(s), optConfirm: l(m) }
2834
2834
  }, () => [
2835
2835
  R(k, {
2836
2836
  ujt: t.ujt,
2837
2837
  opt: t.opt,
2838
2838
  pm: t.pm,
2839
2839
  item: x,
2840
- option: { setShow: l(d), delItem: l(u), editItem: l(s), optConfirm: l(m) }
2840
+ option: { setShow: l(d), delItem: l(c), editItem: l(s), optConfirm: l(m) }
2841
2841
  }, {
2842
2842
  btns: ne(() => [
2843
2843
  3 < l(a).user?.info?.lv ? (p(), f("div", Cn, [
@@ -2848,7 +2848,7 @@ const yt = {
2848
2848
  l(m)({
2849
2849
  con: l(g)("ui.delconfirm"),
2850
2850
  fn: () => {
2851
- l(u)(x?.[l(h)()]);
2851
+ l(c)(x?.[l(h)()]);
2852
2852
  }
2853
2853
  });
2854
2854
  }, ["stop"])
@@ -2876,13 +2876,13 @@ const yt = {
2876
2876
  },
2877
2877
  setup(t) {
2878
2878
  const e = t, { $db: o, $global: n } = e.ujt;
2879
- return (a, u) => l(o)[e.opt.channel].cmPageList.length > 1 ? (p(!0), f(U, { key: 0 }, G(l(o)[e.opt.channel].cmPageList, (s) => D(a.$slots, "default", {
2879
+ return (a, c) => l(o)[e.opt.channel].cmPageList.length > 1 ? (p(!0), f(U, { key: 0 }, G(l(o)[e.opt.channel].cmPageList, (s) => D(a.$slots, "default", {
2880
2880
  key: "listpage" + (s || ""),
2881
2881
  item: s,
2882
2882
  option: {}
2883
2883
  }, () => [
2884
2884
  r("div", {
2885
- onPointerdown: u[0] || (u[0] = V(() => {
2885
+ onPointerdown: c[0] || (c[0] = V(() => {
2886
2886
  }, ["stop"])),
2887
2887
  onPointerup: V((i) => l(o)[e.opt.channel]?.setpage(s), ["stop"]),
2888
2888
  class: J(
@@ -2904,51 +2904,51 @@ const yt = {
2904
2904
  opt: {}
2905
2905
  },
2906
2906
  setup(t) {
2907
- const e = t, { $db: o, $global: n, $fn: a } = e.ujt, { searchSubmit: u, channelLang: s } = a.useChannel(e);
2907
+ const e = t, { $db: o, $global: n, $fn: a } = e.ujt, { searchSubmit: c, channelLang: s } = a.useChannel(e);
2908
2908
  return (i, d) => D(i.$slots, "default", {
2909
2909
  item: l(n).location.query,
2910
- option: { searchSubmit: l(u) }
2910
+ option: { searchSubmit: l(c) }
2911
2911
  }, () => [
2912
2912
  e.opt?.channel && l(o)[e.opt.channel].cfg.sxs?.length ? (p(), f("div", Un, [
2913
2913
  r("div", In, [
2914
2914
  K(r("input", {
2915
- "onUpdate:modelValue": d[0] || (d[0] = (c) => l(n).location.query.ss = c),
2915
+ "onUpdate:modelValue": d[0] || (d[0] = (u) => l(n).location.query.ss = u),
2916
2916
  placeholder: l(a).lg("asai.searchtips")
2917
2917
  }, null, 8, Dn), [
2918
2918
  [le, l(n).location.query.ss]
2919
2919
  ]),
2920
2920
  r("button", {
2921
- onPointerdown: d[1] || (d[1] = (c) => l(u)())
2921
+ onPointerdown: d[1] || (d[1] = (u) => l(c)())
2922
2922
  }, v(l(a).lg("asai.search")), 33)
2923
2923
  ]),
2924
2924
  r("div", Rn, [
2925
2925
  K(r("select", {
2926
- "onUpdate:modelValue": d[2] || (d[2] = (c) => l(n).location.query.ssty = c)
2926
+ "onUpdate:modelValue": d[2] || (d[2] = (u) => l(n).location.query.ssty = u)
2927
2927
  }, [
2928
- (p(!0), f(U, null, G(l(o)[e.opt.channel].cfg.sss, (c) => (p(), f("option", {
2929
- key: c,
2930
- value: c === "asai" ? void 0 : c
2931
- }, v(c === "asai" ? l(s)("ui.sss") || "Table" : l(o)[e.opt.channel].rfdata?.lang?.[c]), 9, Fn))), 128))
2928
+ (p(!0), f(U, null, G(l(o)[e.opt.channel].cfg.sss, (u) => (p(), f("option", {
2929
+ key: u,
2930
+ value: u === "asai" ? void 0 : u
2931
+ }, v(u === "asai" ? l(s)("ui.sss") || "Table" : l(o)[e.opt.channel].rfdata?.lang?.[u]), 9, Fn))), 128))
2932
2932
  ], 512), [
2933
2933
  [ye, l(n).location.query.ssty]
2934
2934
  ]),
2935
2935
  K(r("select", {
2936
- "onUpdate:modelValue": d[3] || (d[3] = (c) => l(n).location.query.sx = c)
2936
+ "onUpdate:modelValue": d[3] || (d[3] = (u) => l(n).location.query.sx = u)
2937
2937
  }, [
2938
- (p(!0), f(U, null, G(l(o)[e.opt.channel].cfg.sxs, (c) => (p(), f("option", {
2939
- key: c,
2940
- value: c === "asai" ? void 0 : c
2941
- }, v(c === "asai" ? l(s)("ui.sxs") || "Sort" : l(o)[e.opt.channel].rfdata?.lang?.[c]), 9, Wn))), 128))
2938
+ (p(!0), f(U, null, G(l(o)[e.opt.channel].cfg.sxs, (u) => (p(), f("option", {
2939
+ key: u,
2940
+ value: u === "asai" ? void 0 : u
2941
+ }, v(u === "asai" ? l(s)("ui.sxs") || "Sort" : l(o)[e.opt.channel].rfdata?.lang?.[u]), 9, Wn))), 128))
2942
2942
  ], 512), [
2943
2943
  [ye, l(n).location.query.sx]
2944
2944
  ]),
2945
2945
  K(r("select", {
2946
- "onUpdate:modelValue": d[4] || (d[4] = (c) => l(n).location.query.sxty = c)
2946
+ "onUpdate:modelValue": d[4] || (d[4] = (u) => l(n).location.query.sxty = u)
2947
2947
  }, [
2948
- (p(!0), f(U, null, G(l(s)("ui.sxtys") || [], (c, m) => (p(), f("option", {
2948
+ (p(!0), f(U, null, G(l(s)("ui.sxtys") || [], (u, m) => (p(), f("option", {
2949
2949
  key: "sxty" + m,
2950
2950
  value: m == 0 ? void 0 : m.toString()
2951
- }, v(c), 9, Hn))), 128))
2951
+ }, v(u), 9, Hn))), 128))
2952
2952
  ], 512), [
2953
2953
  [ye, l(n).location.query.sxty]
2954
2954
  ])
@@ -2969,17 +2969,17 @@ const yt = {
2969
2969
  setup(t) {
2970
2970
  const e = t, { $fn: o, $global: n } = e.ujt, a = me({
2971
2971
  list: []
2972
- }), { channelSelect: u, setShow: s } = o.useChannel(e);
2973
- return u(e.pm).then((i) => {
2972
+ }), { channelSelect: c, setShow: s } = o.useChannel(e);
2973
+ return c(e.pm).then((i) => {
2974
2974
  a.list = i.data;
2975
2975
  }), (i, d) => {
2976
- const c = z("ChannelListType");
2976
+ const u = z("ChannelListType");
2977
2977
  return p(!0), f(U, null, G(a.list, (m, h) => D(i.$slots, "default", {
2978
2978
  key: "list" + (m?.[i.getSnKey()] || h),
2979
2979
  item: m,
2980
2980
  option: { setShow: l(s) }
2981
2981
  }, () => [
2982
- R(c, {
2982
+ R(u, {
2983
2983
  ujt: t.ujt,
2984
2984
  opt: t.opt,
2985
2985
  pm: t.pm,
@@ -3002,9 +3002,9 @@ const yt = {
3002
3002
  option: {}
3003
3003
  },
3004
3004
  setup(t) {
3005
- const e = t, { $global: o, $fn: n } = e.ujt, { getTitleKey: a, getSnKey: u } = n.useChannel(e);
3005
+ const e = t, { $global: o, $fn: n } = e.ujt, { getTitleKey: a, getSnKey: c } = n.useChannel(e);
3006
3006
  return (s, i) => (p(), f("div", {
3007
- class: J(`list${t.item?.[l(u)()] && l(o).location.query?.show === t.item?.[l(u)()] ? " cur" : ""}`)
3007
+ class: J(`list${t.item?.[l(c)()] && l(o).location.query?.show === t.item?.[l(c)()] ? " cur" : ""}`)
3008
3008
  }, [
3009
3009
  r("div", {
3010
3010
  class: "li",
@@ -3029,9 +3029,9 @@ const yt = {
3029
3029
  option: {}
3030
3030
  },
3031
3031
  setup(t) {
3032
- const e = t, { $global: o, $fn: n } = e.ujt, { getTitleKey: a, getSnKey: u } = n.useChannel(e);
3032
+ const e = t, { $global: o, $fn: n } = e.ujt, { getTitleKey: a, getSnKey: c } = n.useChannel(e);
3033
3033
  return (s, i) => (p(), f("div", {
3034
- class: J(`pic${t.item?.[l(u)()] && l(o).location.query?.show === t.item?.[l(u)()] ? " cur" : ""}`)
3034
+ class: J(`pic${t.item?.[l(c)()] && l(o).location.query?.show === t.item?.[l(c)()] ? " cur" : ""}`)
3035
3035
  }, [
3036
3036
  r("div", {
3037
3037
  class: "li",
@@ -3065,16 +3065,16 @@ const yt = {
3065
3065
  "./_comps/list.vue": Kn,
3066
3066
  "./_comps/pic.vue": Qn
3067
3067
  });
3068
- function n(u) {
3069
- const s = u.match(/([^\\/]+)(?=\.vue$)/);
3068
+ function n(c) {
3069
+ const s = c.match(/([^\\/]+)(?=\.vue$)/);
3070
3070
  return s ? s[1] : null;
3071
3071
  }
3072
- for (let u in o)
3073
- o[n(u) || u] = o[u], delete o[u];
3074
- function a(u) {
3075
- return o[u]?.default ? o[u].default : null;
3072
+ for (let c in o)
3073
+ o[n(c) || c] = o[c], delete o[c];
3074
+ function a(c) {
3075
+ return o[c]?.default ? o[c].default : null;
3076
3076
  }
3077
- return (u, s) => (p(), Y(de(a(e.opt?.lity || "list")), {
3077
+ return (c, s) => (p(), Y(de(a(e.opt?.lity || "list")), {
3078
3078
  ujt: t.ujt,
3079
3079
  opt: t.opt,
3080
3080
  pm: t.pm,
@@ -3082,7 +3082,7 @@ const yt = {
3082
3082
  option: t.option
3083
3083
  }, {
3084
3084
  btns: ne(() => [
3085
- D(u.$slots, "btns")
3085
+ D(c.$slots, "btns")
3086
3086
  ]),
3087
3087
  _: 3
3088
3088
  }, 8, ["ujt", "opt", "pm", "item", "option"]));
@@ -3098,12 +3098,12 @@ const yt = {
3098
3098
  },
3099
3099
  setup(t) {
3100
3100
  const e = t, { $fn: o } = e.ujt, { channelLang: n } = o.useChannel(e);
3101
- function a(u) {
3102
- document.querySelectorAll(u).forEach((s) => {
3101
+ function a(c) {
3102
+ document.querySelectorAll(c).forEach((s) => {
3103
3103
  s.classList.contains("as-channel-nohidden") ? s.classList.remove("as-channel-nohidden") : s.classList.add("as-channel-nohidden"), console.log(s.classList);
3104
3104
  });
3105
3105
  }
3106
- return (u, s) => D(u.$slots, "default", {
3106
+ return (c, s) => D(c.$slots, "default", {
3107
3107
  item: {},
3108
3108
  option: { toggleShow: a }
3109
3109
  }, () => [
@@ -3127,23 +3127,23 @@ const yt = {
3127
3127
  opt: {}
3128
3128
  },
3129
3129
  setup(t) {
3130
- const e = t, { $global: o, $fn: n, $db: a } = e.ujt, { setChannelHash: u, channelLang: s } = n.useChannel(e);
3130
+ const e = t, { $global: o, $fn: n, $db: a } = e.ujt, { setChannelHash: c, channelLang: s } = n.useChannel(e);
3131
3131
  return (i, d) => D(i.$slots, "default", {
3132
3132
  item: l(o).location.query,
3133
- option: { setChannelHash: l(u) }
3133
+ option: { setChannelHash: l(c) }
3134
3134
  }, () => [
3135
3135
  r("div", aa, [
3136
3136
  r("div", {
3137
3137
  class: "as-channel-pos",
3138
- onPointerup: d[0] || (d[0] = V((c) => l(u)("class"), ["stop"]))
3138
+ onPointerup: d[0] || (d[0] = V((u) => l(c)("class"), ["stop"]))
3139
3139
  }, v(l(s)("ui.class") || "Class"), 33),
3140
3140
  r("div", {
3141
3141
  class: "as-channel-pos",
3142
- onPointerup: d[1] || (d[1] = V((c) => l(u)("list"), ["stop"]))
3142
+ onPointerup: d[1] || (d[1] = V((u) => l(c)("list"), ["stop"]))
3143
3143
  }, v(l(s)("ui.list") || "List"), 33),
3144
3144
  r("div", {
3145
3145
  class: "as-channel-pos",
3146
- onPointerup: d[2] || (d[2] = V((c) => l(u)("add"), ["stop"]))
3146
+ onPointerup: d[2] || (d[2] = V((u) => l(c)("add"), ["stop"]))
3147
3147
  }, v(l(s)("ui.add") || "Add"), 33)
3148
3148
  ])
3149
3149
  ], !0);
@@ -3151,7 +3151,7 @@ const yt = {
3151
3151
  }), la = /* @__PURE__ */ N(sa, [["__scopeId", "data-v-2cdd6322"]]), ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3152
3152
  __proto__: null,
3153
3153
  default: la
3154
- }, Symbol.toStringTag, { value: "Module" })), ra = { class: "as-form-show" }, ua = /* @__PURE__ */ A({
3154
+ }, Symbol.toStringTag, { value: "Module" })), ra = { class: "as-form-show" }, ca = /* @__PURE__ */ A({
3155
3155
  __name: "ChannelShow",
3156
3156
  props: {
3157
3157
  ujt: {},
@@ -3160,13 +3160,13 @@ const yt = {
3160
3160
  setup(t) {
3161
3161
  const e = t, { $db: o } = e.ujt;
3162
3162
  return (n, a) => {
3163
- const u = z("AsaiForm");
3163
+ const c = z("AsaiForm");
3164
3164
  return D(n.$slots, "default", {
3165
3165
  item: l(o)[e.opt.channel],
3166
3166
  option: {}
3167
3167
  }, () => [
3168
3168
  r("div", ra, [
3169
- R(u, {
3169
+ R(c, {
3170
3170
  ujt: t.ujt,
3171
3171
  asaidata: l(o)[e.opt.channel].rfdata
3172
3172
  }, null, 8, ["ujt", "asaidata"])
@@ -3174,9 +3174,9 @@ const yt = {
3174
3174
  ]);
3175
3175
  };
3176
3176
  }
3177
- }), ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3177
+ }), ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3178
3178
  __proto__: null,
3179
- default: ua
3179
+ default: ca
3180
3180
  }, Symbol.toStringTag, { value: "Module" })), da = { class: "as-channel-io" }, pa = /* @__PURE__ */ A({
3181
3181
  __name: "ChannelUpDown",
3182
3182
  props: {
@@ -3184,18 +3184,18 @@ const yt = {
3184
3184
  opt: {}
3185
3185
  },
3186
3186
  setup(t) {
3187
- const e = t, { $fn: o, $global: n } = e.ujt, { channelUpload: a, channelDownload: u } = o.useChannel(e);
3187
+ const e = t, { $fn: o, $global: n } = e.ujt, { channelUpload: a, channelDownload: c } = o.useChannel(e);
3188
3188
  function s(i) {
3189
3189
  a(i, "class-tit-sn-tm-tg-content");
3190
3190
  }
3191
3191
  return (i, d) => {
3192
- const c = z("AsUploadTxt");
3192
+ const u = z("AsUploadTxt");
3193
3193
  return D(i.$slots, "default", {
3194
3194
  item: {},
3195
- option: { onUpload: s, channelUpload: l(a), channelDownload: l(u) }
3195
+ option: { onUpload: s, channelUpload: l(a), channelDownload: l(c) }
3196
3196
  }, () => [
3197
3197
  r("button", da, [
3198
- R(c, {
3198
+ R(u, {
3199
3199
  ujt: t.ujt,
3200
3200
  opt: { accept: ".txt" },
3201
3201
  onOnUpload: s
@@ -3208,7 +3208,7 @@ const yt = {
3208
3208
  ]),
3209
3209
  r("button", {
3210
3210
  class: "as-channel-io",
3211
- onPointerdown: d[0] || (d[0] = (m) => l(u)("class-tit-sn-tm-tg-content"))
3211
+ onPointerdown: d[0] || (d[0] = (m) => l(c)("class-tit-sn-tm-tg-content"))
3212
3212
  }, v(l(n).lang.asai.download), 33)
3213
3213
  ]);
3214
3214
  };
@@ -3229,7 +3229,7 @@ const yt = {
3229
3229
  room: {}
3230
3230
  },
3231
3231
  setup(t) {
3232
- const e = t, { $fn: o, $ws: n, $global: a } = e.ujt, { sendChatRoom: u } = o.useChatRoom(e), s = e?.room?.wsname || "web", i = e?.room?.roomname || "asai", d = B(null), c = B(null), m = me({
3232
+ const e = t, { $fn: o, $ws: n, $global: a } = e.ujt, { sendChatRoom: c } = o.useChatRoom(e), s = e?.room?.wsname || "web", i = e?.room?.roomname || "asai", d = B(null), u = B(null), m = me({
3233
3233
  mediaPress: null,
3234
3234
  mediaNew: null,
3235
3235
  mediaChunks: [],
@@ -3249,18 +3249,18 @@ const yt = {
3249
3249
  }, m.optFn = () => {
3250
3250
  m.optty = m.optty > 0 ? 0 : 1, m.send.ty = m.optty ? m.optty : 0, m.send.ty || (m.send.msg = "");
3251
3251
  }, m.insertFn = (b) => {
3252
- c.value && (c.value.focus(), he(() => {
3252
+ u.value && (u.value.focus(), he(() => {
3253
3253
  try {
3254
- const w = c.value;
3254
+ const w = u.value;
3255
3255
  if (!w) return;
3256
3256
  const k = w.selectionStart !== null ? w.selectionStart : w.value.length, x = w.selectionEnd !== null ? w.selectionEnd : w.value.length, M = w.value, P = M.substring(0, k) + b + M.substring(x);
3257
3257
  w.value = P;
3258
3258
  const L = k + b.length;
3259
3259
  w.setSelectionRange(L, L), w.dispatchEvent(new Event("input", { bubbles: !0 })), m.send.msg = P;
3260
3260
  } catch {
3261
- const x = c.value.value + b;
3262
- c.value.value = x, c.value.dispatchEvent(new Event("input", { bubbles: !0 })), m.send.msg = x, setTimeout(() => {
3263
- c.value && c.value.setSelectionRange(
3261
+ const x = u.value.value + b;
3262
+ u.value.value = x, u.value.dispatchEvent(new Event("input", { bubbles: !0 })), m.send.msg = x, setTimeout(() => {
3263
+ u.value && u.value.setSelectionRange(
3264
3264
  x.length,
3265
3265
  x.length
3266
3266
  );
@@ -3269,7 +3269,7 @@ const yt = {
3269
3269
  }));
3270
3270
  };
3271
3271
  function h() {
3272
- u(i, s, m.send, "");
3272
+ c(i, s, m.send, "");
3273
3273
  }
3274
3274
  const g = Ce(
3275
3275
  () => n.rooms?.[i]?.length,
@@ -3365,7 +3365,7 @@ const yt = {
3365
3365
  m.send.ty < 3 ? K((p(), f("input", {
3366
3366
  key: 0,
3367
3367
  ref_key: "inputDom",
3368
- ref: c,
3368
+ ref: u,
3369
3369
  type: "text",
3370
3370
  "onUpdate:modelValue": w[1] || (w[1] = (x) => m.send.msg = x),
3371
3371
  placeholder: t.room?.lang?.placeholder || l(a).lang.sys.chat.placeholder,
@@ -3397,12 +3397,12 @@ const yt = {
3397
3397
  mediadata: {}
3398
3398
  },
3399
3399
  setup(t) {
3400
- const e = t, { $fn: o } = e.ujt, { mediaOnPress: n, mediaOnHold: a, mediaOnRelease: u } = o.useMediaWork(
3400
+ const e = t, { $fn: o } = e.ujt, { mediaOnPress: n, mediaOnHold: a, mediaOnRelease: c } = o.useMediaWork(
3401
3401
  e.ujt,
3402
3402
  e.mediadata
3403
3403
  ), s = B(null);
3404
3404
  return e.mediadata.mediaView = s, (i, d) => {
3405
- const c = ge("longpress");
3405
+ const u = ge("longpress");
3406
3406
  return p(), f("div", Ea, [
3407
3407
  r("div", Ua, [
3408
3408
  t.mediadata.mediaWorking ? (p(), f("audio", {
@@ -3428,19 +3428,19 @@ const yt = {
3428
3428
  }, [
3429
3429
  r("span", Da, v(t.mediadata.mediaWorking ? "松开结束" : "长按录音"), 1),
3430
3430
  t.mediadata.mediaWorking ? (p(), f("div", Ra, [...d[0] || (d[0] = [
3431
- De('<div class="recording-indicator" data-v-02b3e64e><div class="pulse" data-v-02b3e64e></div><div class="pulse pulse-2" data-v-02b3e64e></div><div class="pulse pulse-3" data-v-02b3e64e></div></div><div class="audio-bars" data-v-02b3e64e><div class="bar" data-v-02b3e64e></div><div class="bar" data-v-02b3e64e></div><div class="bar" data-v-02b3e64e></div><div class="bar" data-v-02b3e64e></div><div class="bar" data-v-02b3e64e></div></div>', 2)
3431
+ De('<div class="recording-indicator" data-v-18c80c90><div class="pulse" data-v-18c80c90></div><div class="pulse pulse-2" data-v-18c80c90></div><div class="pulse pulse-3" data-v-18c80c90></div></div><div class="audio-bars" data-v-18c80c90><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div></div>', 2)
3432
3432
  ])])) : F("", !0)
3433
3433
  ], 2)), [
3434
- [c, {
3434
+ [u, {
3435
3435
  press: l(n),
3436
3436
  hold: l(a),
3437
- release: l(u)
3437
+ release: l(c)
3438
3438
  }]
3439
3439
  ])
3440
3440
  ]);
3441
3441
  };
3442
3442
  }
3443
- }), Wa = /* @__PURE__ */ N(Fa, [["__scopeId", "data-v-02b3e64e"]]), Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3443
+ }), Wa = /* @__PURE__ */ N(Fa, [["__scopeId", "data-v-18c80c90"]]), Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3444
3444
  __proto__: null,
3445
3445
  default: Wa
3446
3446
  }, Symbol.toStringTag, { value: "Module" })), qa = /* @__PURE__ */ A({
@@ -3453,10 +3453,10 @@ const yt = {
3453
3453
  setup(t) {
3454
3454
  const e = t, o = X(() => Array.from("😀😃😄😁😆😅🤣😂🙂🙃😉😊😇🥰😍🤩😘😗☺️😚😙🥲😋😛😜🤪😝🤑🤗🤭🤫🤔🤐🤨😐😑😶😏😒🙄😬🤥😌😔😪🤤😴😷🤒🤕🤢🤮🤧🥵🥶🥴😵🤯🤠🥳🥸😎🤓🧐😕😟🙁☹️😮😯😲😳🥺😦😧😨😰😥😢😭😱😖😣😞😓😩😫🥱😤😡😠🤬😈👿💀☠️💩🤡👹👺👻👽👾🤖😺😸😹😻😼😽🙀😿😾💋👋🤚🖐️✋🖖👌🤌🤏✌️🤞🤟🤘🤙👈👉👆🖕👇☝️👍👎✊👊🤛🤜👏🙌👐🤲🤝🙏"));
3455
3455
  function n(a) {
3456
- const u = a.target.textContent;
3457
- console.log(u), e.mediadata?.insertFn?.(u);
3456
+ const c = a.target.textContent;
3457
+ console.log(c), e.mediadata?.insertFn?.(c);
3458
3458
  }
3459
- return (a, u) => (p(), f("div", {
3459
+ return (a, c) => (p(), f("div", {
3460
3460
  class: "as-emoji-area",
3461
3461
  onPointerdown: n
3462
3462
  }, [
@@ -3480,7 +3480,7 @@ const yt = {
3480
3480
  mediadata: {}
3481
3481
  },
3482
3482
  setup(t) {
3483
- const e = t, { $fn: o } = e.ujt, { mediaOnPress: n, mediaOnHold: a, mediaOnRelease: u } = o.useMediaWork(
3483
+ const e = t, { $fn: o } = e.ujt, { mediaOnPress: n, mediaOnHold: a, mediaOnRelease: c } = o.useMediaWork(
3484
3484
  e.ujt,
3485
3485
  e.mediadata,
3486
3486
  1
@@ -3488,7 +3488,7 @@ const yt = {
3488
3488
  return e.mediadata.mediaFnView = async (i) => {
3489
3489
  s.value.srcObject = i, await s.value.play();
3490
3490
  }, (i, d) => {
3491
- const c = ge("longpress");
3491
+ const u = ge("longpress");
3492
3492
  return p(), f("div", Na, [
3493
3493
  r("div", Ya, [
3494
3494
  t.mediadata.mediaWorking ? (p(), f("video", {
@@ -3513,19 +3513,19 @@ const yt = {
3513
3513
  }, [
3514
3514
  r("span", Ka, v(t.mediadata.mediaWorking ? "松开结束" : "长按录音"), 1),
3515
3515
  t.mediadata.mediaWorking ? (p(), f("div", Ja, [...d[0] || (d[0] = [
3516
- De('<div class="recording-indicator" data-v-496ada02><div class="pulse" data-v-496ada02></div><div class="pulse pulse-2" data-v-496ada02></div><div class="pulse pulse-3" data-v-496ada02></div></div><div class="audio-bars" data-v-496ada02><div class="bar" data-v-496ada02></div><div class="bar" data-v-496ada02></div><div class="bar" data-v-496ada02></div><div class="bar" data-v-496ada02></div><div class="bar" data-v-496ada02></div></div>', 2)
3516
+ De('<div class="recording-indicator" data-v-99ad2b76><div class="pulse" data-v-99ad2b76></div><div class="pulse pulse-2" data-v-99ad2b76></div><div class="pulse pulse-3" data-v-99ad2b76></div></div><div class="audio-bars" data-v-99ad2b76><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div></div>', 2)
3517
3517
  ])])) : F("", !0)
3518
3518
  ], 2)), [
3519
- [c, {
3519
+ [u, {
3520
3520
  press: l(n),
3521
3521
  hold: l(a),
3522
- release: l(u)
3522
+ release: l(c)
3523
3523
  }]
3524
3524
  ])
3525
3525
  ]);
3526
3526
  };
3527
3527
  }
3528
- }), Za = /* @__PURE__ */ N(Ga, [["__scopeId", "data-v-496ada02"]]), Qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3528
+ }), Za = /* @__PURE__ */ N(Ga, [["__scopeId", "data-v-99ad2b76"]]), Qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3529
3529
  __proto__: null,
3530
3530
  default: Za
3531
3531
  }, Symbol.toStringTag, { value: "Module" })), es = { class: "as-chatopt-area" }, ts = ["onPointerdown"], os = { class: "as-chatopt-icon" }, ns = { class: "as-chatopt-tit" }, as = { class: "as-chatopt-btns" }, ss = /* @__PURE__ */ A({
@@ -3547,19 +3547,19 @@ const yt = {
3547
3547
  "./_comps/EmojiList.vue": Va,
3548
3548
  "./_comps/VedioRecorder.vue": Qa
3549
3549
  });
3550
- function u(d) {
3551
- const c = d.match(/([^\\/]+)(?=\.vue$)/);
3552
- return c ? c[1] : null;
3550
+ function c(d) {
3551
+ const u = d.match(/([^\\/]+)(?=\.vue$)/);
3552
+ return u ? u[1] : null;
3553
3553
  }
3554
3554
  for (let d in a)
3555
- a[u(d) || d] = a[d], delete a[d];
3555
+ a[c(d) || d] = a[d], delete a[d];
3556
3556
  function s(d) {
3557
3557
  return d && a[d]?.default ? a[d].default : null;
3558
3558
  }
3559
3559
  function i(d = null) {
3560
3560
  console.log(666.006, "setOptty", d), d ? (e.chatdata.optty = d[0], e.chatdata.optcomp = d[1]) : (e.chatdata.optty = 1, e.chatdata.optcomp = "");
3561
3561
  }
3562
- return (d, c) => (p(), f("div", es, [
3562
+ return (d, u) => (p(), f("div", es, [
3563
3563
  t.chatdata.optty == 1 ? (p(!0), f(U, { key: 0 }, G(n.types, (m) => (p(), f("div", {
3564
3564
  class: "as-chatopt-li",
3565
3565
  onPointerdown: (h) => i(m),
@@ -3571,11 +3571,11 @@ const yt = {
3571
3571
  r("div", as, [
3572
3572
  r("div", {
3573
3573
  class: "as-chatopt-btn",
3574
- onPointerdown: c[0] || (c[0] = (m) => i())
3574
+ onPointerdown: u[0] || (u[0] = (m) => i())
3575
3575
  }, v(l(o).lang.sys.chat.optBack), 33),
3576
3576
  r("div", {
3577
3577
  class: "as-chatopt-btn",
3578
- onPointerdown: c[1] || (c[1] = (m) => t.chatdata.optFn())
3578
+ onPointerdown: u[1] || (u[1] = (m) => t.chatdata.optFn())
3579
3579
  }, v(l(o).lang.sys.chat.optClose), 33)
3580
3580
  ]),
3581
3581
  t.chatdata.optcomp ? (p(), Y(de(s(t.chatdata.optcomp)), {
@@ -3611,8 +3611,8 @@ const yt = {
3611
3611
  };
3612
3612
  }
3613
3613
  return { initKeyboard: o };
3614
- }, us = (t, e) => {
3615
- const { $global: o, $fn: n, $model: a } = t, u = {}, s = (c, m, h, g = null, y = null) => {
3614
+ }, cs = (t, e) => {
3615
+ const { $global: o, $fn: n, $model: a } = t, c = {}, s = (u, m, h, g = null, y = null) => {
3616
3616
  if (e.keyMap.bd.Type == "Chinese" && g === "left") {
3617
3617
  e.keyMap.bd.zhindex < 1 ? e.keyMap.bd.zhindex = 0 : e.keyMap.bd.zhindex--;
3618
3618
  return;
@@ -3643,55 +3643,55 @@ const yt = {
3643
3643
  return;
3644
3644
  }
3645
3645
  }
3646
- c.value = m, e.keyMap.bd.pos = h, c.dispatchEvent(new Event("input", { bubbles: !0 }));
3646
+ u.value = m, e.keyMap.bd.pos = h, u.dispatchEvent(new Event("input", { bubbles: !0 }));
3647
3647
  try {
3648
- c.focus(), c.setSelectionRange(h, h);
3648
+ u.focus(), u.setSelectionRange(h, h);
3649
3649
  } catch {
3650
3650
  o.keyboard.params?.ot?.fnnumcb?.();
3651
3651
  }
3652
- }, i = (c = {}) => {
3653
- c.char = c.char || (e.keyMap.bd.Shift ? c.key.toUpperCase() : c.key);
3654
- const m = c.elVal.slice(0, c.startPos) + c.char + c.elVal.slice(c.endPos);
3652
+ }, i = (u = {}) => {
3653
+ u.char = u.char || (e.keyMap.bd.Shift ? u.key.toUpperCase() : u.key);
3654
+ const m = u.elVal.slice(0, u.startPos) + u.char + u.elVal.slice(u.endPos);
3655
3655
  return s(
3656
- c.elDom,
3656
+ u.elDom,
3657
3657
  m,
3658
- c.startPos + c.char.length,
3659
- c.char,
3660
- c.onsuggest
3661
- ), c.elDom.focus(), m;
3658
+ u.startPos + u.char.length,
3659
+ u.char,
3660
+ u.onsuggest
3661
+ ), u.elDom.focus(), m;
3662
3662
  };
3663
- u.default = (c = {}) => {
3664
- o.keyboard.params.ot.isnumber && !/[0-9.-]/.test(c.key) || i(c);
3665
- }, u.Backspace = (c = {}) => {
3666
- const m = c.startPos === c.endPos ? c.startPos - 1 : c.startPos, h = c.elVal.slice(0, m) + c.elVal.slice(c.endPos);
3667
- s(c.elDom, h, m, 0);
3668
- }, u.Left = (c = {}) => {
3663
+ c.default = (u = {}) => {
3664
+ o.keyboard.params.ot.isnumber && !/[0-9.-]/.test(u.key) || i(u);
3665
+ }, c.Backspace = (u = {}) => {
3666
+ const m = u.startPos === u.endPos ? u.startPos - 1 : u.startPos, h = u.elVal.slice(0, m) + u.elVal.slice(u.endPos);
3667
+ s(u.elDom, h, m, 0);
3668
+ }, c.Left = (u = {}) => {
3669
3669
  s(
3670
- c.elDom,
3671
- c.elVal,
3672
- c.startPos - 1 > 0 ? c.startPos - 1 : 0,
3670
+ u.elDom,
3671
+ u.elVal,
3672
+ u.startPos - 1 > 0 ? u.startPos - 1 : 0,
3673
3673
  "left"
3674
3674
  );
3675
- }, u.Right = (c = {}) => {
3675
+ }, c.Right = (u = {}) => {
3676
3676
  s(
3677
- c.elDom,
3678
- c.elVal,
3679
- c.endPos + 1 > c.elVal.length ? c.elVal.length : c.endPos + 1,
3677
+ u.elDom,
3678
+ u.elVal,
3679
+ u.endPos + 1 > u.elVal.length ? u.elVal.length : u.endPos + 1,
3680
3680
  "right"
3681
3681
  );
3682
- }, u.Enter = (c = {}) => {
3683
- i({ ...c, char: `
3682
+ }, c.Enter = (u = {}) => {
3683
+ i({ ...u, char: `
3684
3684
  ` });
3685
- }, u.Shift = (c = {}) => {
3685
+ }, c.Shift = (u = {}) => {
3686
3686
  e.keyMap.bd.Shift = !e.keyMap.bd.Shift;
3687
- }, u.Ctrl = (c = {}) => {
3687
+ }, c.Ctrl = (u = {}) => {
3688
3688
  e.keyMap.bd.Ctrl = !e.keyMap.bd.Ctrl;
3689
- }, u.Hide = (c = {}) => {
3689
+ }, c.Hide = (u = {}) => {
3690
3690
  o.keyboard.params?.ot?.fndscb(), o.keyboard.isshow = 0, o.keyboard.params = null;
3691
- }, u.Drag = (c = {}) => {
3692
- }, u.Space = (c = {}) => {
3693
- e.keyMap.bd.Ctrl ? (o.keyboard.areastyle = {}, e.keyMap.bd.Shift = !1, e.keyMap.bd.Ctrl = !1) : i({ ...c, char: " " });
3694
- }, u.x = async (c = {}) => {
3691
+ }, c.Drag = (u = {}) => {
3692
+ }, c.Space = (u = {}) => {
3693
+ e.keyMap.bd.Ctrl ? (o.keyboard.areastyle = {}, e.keyMap.bd.Shift = !1, e.keyMap.bd.Ctrl = !1) : i({ ...u, char: " " });
3694
+ }, c.x = async (u = {}) => {
3695
3695
  if (e.keyMap.bd.Ctrl)
3696
3696
  try {
3697
3697
  if (o.keyboard.params.type === "monaco" && o.keyboard.opt?.copyText && o.keyboard.opt?.backText) {
@@ -3699,14 +3699,14 @@ const yt = {
3699
3699
  return;
3700
3700
  }
3701
3701
  await n.As.copyToClipboard(
3702
- c.elVal.slice(c.startPos, c.endPos)
3702
+ u.elVal.slice(u.startPos, u.endPos)
3703
3703
  );
3704
3704
  } catch (m) {
3705
3705
  console.error("copy fail: ", m);
3706
3706
  }
3707
3707
  else
3708
- i(c);
3709
- }, u.c = async (c = {}) => {
3708
+ i(u);
3709
+ }, c.c = async (u = {}) => {
3710
3710
  if (e.keyMap.bd.Ctrl)
3711
3711
  try {
3712
3712
  if (o.keyboard.params.type === "monaco" && o.keyboard.opt?.copyText) {
@@ -3714,14 +3714,14 @@ const yt = {
3714
3714
  return;
3715
3715
  }
3716
3716
  await n.As.copyToClipboard(
3717
- c.elVal.slice(c.startPos, c.endPos)
3717
+ u.elVal.slice(u.startPos, u.endPos)
3718
3718
  );
3719
3719
  } catch (m) {
3720
3720
  console.error("copy fail: ", m);
3721
3721
  }
3722
3722
  else
3723
- i(c);
3724
- }, u.v = async (c = {}) => {
3723
+ i(u);
3724
+ }, c.v = async (u = {}) => {
3725
3725
  if (e.keyMap.bd.Ctrl)
3726
3726
  try {
3727
3727
  if (o.keyboard.params.type === "monaco" && o.keyboard.opt?.pasteText) {
@@ -3730,32 +3730,32 @@ const yt = {
3730
3730
  }
3731
3731
  const m = await n.As.readFromClipboard();
3732
3732
  i({
3733
- ...c,
3733
+ ...u,
3734
3734
  char: m
3735
3735
  });
3736
3736
  } catch (m) {
3737
3737
  console.error("paste fail: ", m);
3738
3738
  }
3739
3739
  else
3740
- i(c);
3740
+ i(u);
3741
3741
  };
3742
- function d(c = {}) {
3743
- o.pop["popkeyboard" + c.key].stat = 1;
3742
+ function d(u = {}) {
3743
+ o.pop["popkeyboard" + u.key].stat = 1;
3744
3744
  }
3745
- return e.popKeys.forEach((c) => {
3746
- c.startsWith("pop") ? u[c] = (m = {}) => {
3747
- d(m), o.pop["popkeyboard" + c].fn = (h) => {
3748
- u.default({ ...m, key: h }), o.pop["popkeyboard" + c].stat = 0;
3745
+ return e.popKeys.forEach((u) => {
3746
+ u.startsWith("pop") ? c[u] = (m = {}) => {
3747
+ d(m), o.pop["popkeyboard" + u].fn = (h) => {
3748
+ c.default({ ...m, key: h }), o.pop["popkeyboard" + u].stat = 0;
3749
3749
  };
3750
- } : u[c] = (m = {}) => {
3751
- o.pop["popkeyboard" + c] = {
3750
+ } : c[u] = (m = {}) => {
3751
+ o.pop["popkeyboard" + u] = {
3752
3752
  fn: (h) => {
3753
- u.default({ ...m, key: h });
3753
+ c.default({ ...m, key: h });
3754
3754
  }
3755
3755
  };
3756
3756
  };
3757
- }), { keysFun: u, updateInputValue: s, handleInsertChar: i };
3758
- }, cs = { class: "keyboard-area" }, ds = { class: "keyboard-top" }, ps = { class: "keyboard-menu" }, ms = ["onPointerdown"], fs = { class: "keyboard-opt" }, hs = {
3757
+ }), { keysFun: c, updateInputValue: s, handleInsertChar: i };
3758
+ }, us = { class: "keyboard-area" }, ds = { class: "keyboard-top" }, ps = { class: "keyboard-menu" }, ms = ["onPointerdown"], fs = { class: "keyboard-opt" }, hs = {
3759
3759
  key: 1,
3760
3760
  class: "keyboard-list"
3761
3761
  }, gs = {
@@ -3781,12 +3781,12 @@ const yt = {
3781
3781
  v8cc61b38: g.gs,
3782
3782
  v8cc61b54: g.ge
3783
3783
  }));
3784
- const e = t, { $model: o, $fn: n, $global: a } = e.ujt, { initKeyboard: u } = rs(e.ujt), { bd: s, ge: i, gs: d, popKeysx: c, popKeys: m, keysMap: h } = u(), g = me({
3784
+ const e = t, { $model: o, $fn: n, $global: a } = e.ujt, { initKeyboard: c } = rs(e.ujt), { bd: s, ge: i, gs: d, popKeysx: u, popKeys: m, keysMap: h } = c(), g = me({
3785
3785
  bd: s,
3786
3786
  ge: i,
3787
3787
  gs: d,
3788
3788
  map: h
3789
- }), { keysFun: y } = us(e.ujt, {
3789
+ }), { keysFun: y } = cs(e.ujt, {
3790
3790
  keyMap: g,
3791
3791
  popKeys: m
3792
3792
  });
@@ -3857,7 +3857,7 @@ const yt = {
3857
3857
  onPointerup: L,
3858
3858
  onPointercancel: L
3859
3859
  }, [
3860
- r("div", cs, [
3860
+ r("div", us, [
3861
3861
  K((p(), f("div", ds, [
3862
3862
  r("div", ps, [
3863
3863
  (p(!0), f(U, null, G(Object.keys(g.map), (O) => (p(), f("div", {
@@ -3954,7 +3954,7 @@ const yt = {
3954
3954
  l(a).keyboard?.comps?.[$[0]] ? (p(), f("div", {
3955
3955
  key: 0,
3956
3956
  class: J(
3957
- "as-pop-keyboard" + (l(c).includes($[0]) ? "-r" : "")
3957
+ "as-pop-keyboard" + (l(u).includes($[0]) ? "-r" : "")
3958
3958
  )
3959
3959
  }, [
3960
3960
  (p(), Y(de(
@@ -3999,12 +3999,12 @@ const yt = {
3999
3999
  };
4000
4000
  if (o.keyboard.params?.pos) {
4001
4001
  o.keyboard.params.pos.x * 2 > o.keyboard.params.pos.w ? a.right = o.keyboard.params.pos.w - o.keyboard.params.pos.x : a.left = o.keyboard.params.pos.x, o.keyboard.params.pos.y * 2 > o.keyboard.params.pos.h ? a.bottom = o.keyboard.params.pos.h - o.keyboard.params.pos.y + 28 : a.top = o.keyboard.params.pos.y + 28;
4002
- let u = o.keyboard.params.pos.w - (a.right || a.left);
4003
- u < a.width && (a.width = u), u = o.keyboard.params.pos.h - (a.top || a.bottom), u < a.height && (a.height = u), a.top && (a.top += "px"), a.bottom && (a.bottom += "px"), a.left && (a.left += "px"), a.right && (a.right += "px"), a.height += "px", a.width += "px";
4002
+ let c = o.keyboard.params.pos.w - (a.right || a.left);
4003
+ c < a.width && (a.width = c), c = o.keyboard.params.pos.h - (a.top || a.bottom), c < a.height && (a.height = c), a.top && (a.top += "px"), a.bottom && (a.bottom += "px"), a.left && (a.left += "px"), a.right && (a.right += "px"), a.height += "px", a.width += "px";
4004
4004
  }
4005
4005
  return a;
4006
4006
  });
4007
- return (a, u) => {
4007
+ return (a, c) => {
4008
4008
  const s = z("AsKeyBoard");
4009
4009
  return p(), Y(s, {
4010
4010
  style: Z(n.value),
@@ -4027,24 +4027,24 @@ const yt = {
4027
4027
  if (o.keyboard.params?.ot?.style?.area)
4028
4028
  return o.keyboard.params.ot.style.area;
4029
4029
  {
4030
- const u = {
4030
+ const c = {
4031
4031
  width: o.sys.zoomwidth || 1920,
4032
4032
  height: o.sys.zoomheight || 1080
4033
4033
  };
4034
- return u.width += "px", u.height += "px", u;
4034
+ return c.width += "px", c.height += "px", c;
4035
4035
  }
4036
4036
  }), a = X(() => {
4037
4037
  if (o.keyboard.params?.ot?.style?.main)
4038
4038
  return o.keyboard.params.ot.style.main;
4039
4039
  {
4040
- const u = {
4040
+ const c = {
4041
4041
  maxWidth: o.sys.zoomwidth || 1920,
4042
4042
  maxHeight: o.sys.zoomheight || 1080
4043
4043
  };
4044
- return o.keyboard.areastyle?.w == null && (o.keyboard.areastyle.w = 1e3), o.keyboard.areastyle?.h == null && (o.keyboard.areastyle.h = 388), o.keyboard.areastyle?.x == null && (o.keyboard.areastyle.x = (u.maxWidth - o.keyboard.areastyle.w) / 2), o.keyboard.areastyle?.y == null && (o.keyboard.areastyle.y = u.maxHeight - o.keyboard.areastyle.h - 112), u.maxWidth += "px", u.maxHeight += "px", u.transform = `translate(${o.keyboard.areastyle.x}px, ${o.keyboard.areastyle.y}px)`, u.width = o.keyboard.areastyle.w + "px", u.height = o.keyboard.areastyle.h + "px", u;
4044
+ return o.keyboard.areastyle?.w == null && (o.keyboard.areastyle.w = 1e3), o.keyboard.areastyle?.h == null && (o.keyboard.areastyle.h = 388), o.keyboard.areastyle?.x == null && (o.keyboard.areastyle.x = (c.maxWidth - o.keyboard.areastyle.w) / 2), o.keyboard.areastyle?.y == null && (o.keyboard.areastyle.y = c.maxHeight - o.keyboard.areastyle.h - 112), c.maxWidth += "px", c.maxHeight += "px", c.transform = `translate(${o.keyboard.areastyle.x}px, ${o.keyboard.areastyle.y}px)`, c.width = o.keyboard.areastyle.w + "px", c.height = o.keyboard.areastyle.h + "px", c;
4045
4045
  }
4046
4046
  });
4047
- return (u, s) => {
4047
+ return (c, s) => {
4048
4048
  const i = z("AsKeyBoard"), d = ge("popresizezoom");
4049
4049
  return p(), f("div", {
4050
4050
  style: Z(n.value),
@@ -4086,25 +4086,25 @@ const yt = {
4086
4086
  ujt: {}
4087
4087
  },
4088
4088
  setup(t) {
4089
- const e = t, { $global: o, $fn: n, $ws: a } = e.ujt, u = me({
4089
+ const e = t, { $global: o, $fn: n, $ws: a } = e.ujt, c = me({
4090
4090
  link: null
4091
4091
  });
4092
4092
  function s() {
4093
- u.link = JSON.parse(JSON.stringify(o.link));
4093
+ c.link = JSON.parse(JSON.stringify(o.link));
4094
4094
  }
4095
4095
  function i() {
4096
- n.saveLink(u.link);
4096
+ n.saveLink(c.link);
4097
4097
  }
4098
4098
  function d() {
4099
- n.startLink().then((c) => {
4099
+ n.startLink().then((u) => {
4100
4100
  s();
4101
4101
  });
4102
4102
  }
4103
4103
  return fe(() => {
4104
4104
  s();
4105
- }), (c, m) => u.link ? (p(), f("div", Is, [
4105
+ }), (u, m) => c.link ? (p(), f("div", Is, [
4106
4106
  r("div", Ds, [
4107
- (p(!0), f(U, null, G(u.link, (h, g) => (p(), f("div", {
4107
+ (p(!0), f(U, null, G(c.link, (h, g) => (p(), f("div", {
4108
4108
  class: "as-link-type",
4109
4109
  key: "type" + g
4110
4110
  }, [
@@ -4152,7 +4152,7 @@ const yt = {
4152
4152
  }, ol = ["onClick"], nl = { class: "result-title" }, al = ["innerHTML"], sl = {
4153
4153
  key: 1,
4154
4154
  class: "no-results"
4155
- }, ll = { class: "reader-container" }, il = { class: "volume-list" }, rl = { class: "sidebar-title" }, ul = ["onClick"], cl = { class: "volume-title" }, dl = { class: "chapter-list" }, pl = ["onClick"], ml = { class: "reader-content" }, fl = { class: "content-container" }, hl = { class: "chapter-header" }, gl = { class: "chapter-title" }, vl = { class: "chapter-meta" }, yl = { key: 0 }, bl = { class: "reader-controls" }, _l = ["disabled"], $l = { class: "font-controls" }, wl = ["disabled"], kl = { class: "font-size-display" }, jl = ["disabled"], Sl = ["disabled"], xl = {
4155
+ }, ll = { class: "reader-container" }, il = { class: "volume-list" }, rl = { class: "sidebar-title" }, cl = ["onClick"], ul = { class: "volume-title" }, dl = { class: "chapter-list" }, pl = ["onClick"], ml = { class: "reader-content" }, fl = { class: "content-container" }, hl = { class: "chapter-header" }, gl = { class: "chapter-title" }, vl = { class: "chapter-meta" }, yl = { key: 0 }, bl = { class: "reader-controls" }, _l = ["disabled"], $l = { class: "font-controls" }, wl = ["disabled"], kl = { class: "font-size-display" }, jl = ["disabled"], Sl = ["disabled"], xl = {
4156
4156
  key: 0,
4157
4157
  class: "mobile-fab"
4158
4158
  }, Pl = /* @__PURE__ */ A({
@@ -4162,7 +4162,7 @@ const yt = {
4162
4162
  book: {}
4163
4163
  },
4164
4164
  setup(t) {
4165
- const e = t, { $global: o, $fn: n } = e.ujt, { cmNovelData: a } = n.useNovel(e), u = me({
4165
+ const e = t, { $global: o, $fn: n } = e.ujt, { cmNovelData: a } = n.useNovel(e), c = me({
4166
4166
  tm: {
4167
4167
  timeout: null,
4168
4168
  starttime: 0,
@@ -4170,7 +4170,7 @@ const yt = {
4170
4170
  wait: 300,
4171
4171
  immediate: !1
4172
4172
  }
4173
- }), s = B(!1), i = B(!1), d = B(!1), c = B(""), m = B(16), h = B([]), g = X(() => {
4173
+ }), s = B(!1), i = B(!1), d = B(!1), u = B(""), m = B(16), h = B([]), g = X(() => {
4174
4174
  let W = {};
4175
4175
  return W = b.value?.find(
4176
4176
  (ee) => ee.sn === o.location.query?.id
@@ -4180,9 +4180,9 @@ const yt = {
4180
4180
  )), k = X(() => w.value > 0), x = X(() => w.value < b.value.length - 1), M = () => {
4181
4181
  s.value = !s.value;
4182
4182
  }, P = () => {
4183
- i.value = !i.value, i.value || (c.value = "", y.value = []);
4183
+ i.value = !i.value, i.value || (u.value = "", y.value = []);
4184
4184
  }, L = () => {
4185
- i.value = !1, c.value = "", y.value = [];
4185
+ i.value = !1, u.value = "", y.value = [];
4186
4186
  }, j = (W) => {
4187
4187
  const ee = h.value.indexOf(W);
4188
4188
  ee > -1 ? h.value.splice(ee, 1) : h.value.push(W);
@@ -4202,7 +4202,7 @@ const yt = {
4202
4202
  m.value > 12 && (m.value -= 1);
4203
4203
  }, $ = () => {
4204
4204
  n.As.debounce(() => {
4205
- const W = c.value.trim();
4205
+ const W = u.value.trim();
4206
4206
  if (!W) {
4207
4207
  y.value = [];
4208
4208
  return;
@@ -4217,11 +4217,11 @@ const yt = {
4217
4217
  )}<b>${W}</b>${te[1].slice(0, 20)}...`
4218
4218
  };
4219
4219
  });
4220
- }, u.tm);
4220
+ }, c.tm);
4221
4221
  }, E = (W) => {
4222
4222
  W?.sn && (n.setquery({
4223
4223
  id: W.sn
4224
- }), i.value = !1, c.value = "", y.value = []);
4224
+ }), i.value = !1, u.value = "", y.value = []);
4225
4225
  }, H = () => {
4226
4226
  d.value = window.innerWidth <= 768;
4227
4227
  };
@@ -4276,12 +4276,12 @@ const yt = {
4276
4276
  r("div", el, [
4277
4277
  K(r("input", {
4278
4278
  type: "text",
4279
- "onUpdate:modelValue": ee[0] || (ee[0] = (te) => c.value = te),
4279
+ "onUpdate:modelValue": ee[0] || (ee[0] = (te) => u.value = te),
4280
4280
  placeholder: "搜索小说内容...",
4281
4281
  class: "search-input",
4282
4282
  onInput: $
4283
4283
  }, null, 544), [
4284
- [le, c.value]
4284
+ [le, u.value]
4285
4285
  ]),
4286
4286
  r("button", {
4287
4287
  class: "close-search",
@@ -4289,8 +4289,8 @@ const yt = {
4289
4289
  }, "×")
4290
4290
  ]),
4291
4291
  y.value.length > 0 ? (p(), f("div", tl, [
4292
- (p(!0), f(U, null, G(y.value, (te, ue) => (p(), f("div", {
4293
- key: ue,
4292
+ (p(!0), f(U, null, G(y.value, (te, ce) => (p(), f("div", {
4293
+ key: ce,
4294
4294
  class: "search-result-item",
4295
4295
  onClick: (Oe) => E(te)
4296
4296
  }, [
@@ -4300,7 +4300,7 @@ const yt = {
4300
4300
  innerHTML: te.preview
4301
4301
  }, null, 8, al)
4302
4302
  ], 8, ol))), 128))
4303
- ])) : c.value && y.value.length === 0 ? (p(), f("div", sl, " 未找到相关内容 ")) : F("", !0)
4303
+ ])) : u.value && y.value.length === 0 ? (p(), f("div", sl, " 未找到相关内容 ")) : F("", !0)
4304
4304
  ])
4305
4305
  ], 2),
4306
4306
  r("div", ll, [
@@ -4315,9 +4315,9 @@ const yt = {
4315
4315
  }, [
4316
4316
  r("div", {
4317
4317
  class: "volume-header",
4318
- onClick: (ue) => j(te.sn)
4318
+ onClick: (ce) => j(te.sn)
4319
4319
  }, [
4320
- r("h3", cl, v(te.cl), 1),
4320
+ r("h3", ul, v(te.cl), 1),
4321
4321
  r("span", {
4322
4322
  class: J(["toggle-icon", {
4323
4323
  expanded: h.value.includes(
@@ -4325,15 +4325,15 @@ const yt = {
4325
4325
  )
4326
4326
  }])
4327
4327
  }, " ▼ ", 2)
4328
- ], 8, ul),
4328
+ ], 8, cl),
4329
4329
  K(r("ul", dl, [
4330
- (p(!0), f(U, null, G(te.cc, (ue) => (p(), f("li", {
4331
- key: ue.sn,
4330
+ (p(!0), f(U, null, G(te.cc, (ce) => (p(), f("li", {
4331
+ key: ce.sn,
4332
4332
  class: J(["chapter-item", {
4333
- active: g.value?.sn === ue.sn
4333
+ active: g.value?.sn === ce.sn
4334
4334
  }]),
4335
- onClick: (Oe) => _(ue)
4336
- }, v(ue.li), 11, pl))), 128))
4335
+ onClick: (Oe) => _(ce)
4336
+ }, v(ce.li), 11, pl))), 128))
4337
4337
  ], 512), [
4338
4338
  [ze, h.value.includes(te.sn)]
4339
4339
  ])
@@ -4422,7 +4422,7 @@ const yt = {
4422
4422
  ])) : F("", !0)
4423
4423
  ]));
4424
4424
  }
4425
- }), Cl = /* @__PURE__ */ N(Pl, [["__scopeId", "data-v-19574282"]]), Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4425
+ }), Cl = /* @__PURE__ */ N(Pl, [["__scopeId", "data-v-43efa2ab"]]), Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4426
4426
  __proto__: null,
4427
4427
  default: Cl
4428
4428
  }, Symbol.toStringTag, { value: "Module" })), Al = {
@@ -4438,7 +4438,7 @@ const yt = {
4438
4438
  v7d2dee50: n.value
4439
4439
  }));
4440
4440
  const e = t, { $global: o } = e.ujt, n = X(() => o.pagebusy?.zindex || 9999);
4441
- return (a, u) => {
4441
+ return (a, c) => {
4442
4442
  const s = ge("dbpointerdown");
4443
4443
  return l(o).pagebusy ? K((p(), f("div", Al, [
4444
4444
  r("div", {
@@ -4501,7 +4501,7 @@ const yt = {
4501
4501
  function a() {
4502
4502
  o.value = "default";
4503
4503
  }
4504
- function u() {
4504
+ function c() {
4505
4505
  return {
4506
4506
  width: `${e.width ? e.width : e.height}`,
4507
4507
  height: `${e.height ? e.height : e.width}`,
@@ -4526,12 +4526,12 @@ const yt = {
4526
4526
  r("img", {
4527
4527
  style: Z(s()),
4528
4528
  src: n.value,
4529
- onError: d[0] || (d[0] = (c) => a())
4529
+ onError: d[0] || (d[0] = (u) => a())
4530
4530
  }, null, 44, Il)
4531
4531
  ])) : (p(), f("i", {
4532
4532
  key: 1,
4533
4533
  class: "as-icon-mask",
4534
- style: Z(u())
4534
+ style: Z(c())
4535
4535
  }, null, 4))
4536
4536
  ]));
4537
4537
  }
@@ -4547,14 +4547,14 @@ const yt = {
4547
4547
  emits: ["onUpload"],
4548
4548
  setup(t, { emit: e }) {
4549
4549
  const o = t, { $fn: n } = o.ujt, a = e;
4550
- function u(d) {
4551
- const c = d.target.files[0];
4552
- n.As.readFile(c).then((m) => {
4550
+ function c(d) {
4551
+ const u = d.target.files[0];
4552
+ n.As.readFile(u).then((m) => {
4553
4553
  n.api.webserver.apiPost(
4554
4554
  `/api/asaifile/manage/upbase64/?path=${o.opt.path}`,
4555
4555
  m
4556
4556
  ).then((h) => {
4557
- a("onUpload", h?.data, c), s.value.value = "";
4557
+ a("onUpload", h?.data, u), s.value.value = "";
4558
4558
  });
4559
4559
  });
4560
4560
  }
@@ -4562,9 +4562,9 @@ const yt = {
4562
4562
  function i() {
4563
4563
  s.value.click();
4564
4564
  }
4565
- return (d, c) => (p(), f("div", {
4565
+ return (d, u) => (p(), f("div", {
4566
4566
  class: "as-upload-file",
4567
- onPointerdown: c[0] || (c[0] = (m) => i())
4567
+ onPointerdown: u[0] || (u[0] = (m) => i())
4568
4568
  }, [
4569
4569
  r("input", {
4570
4570
  hidden: "",
@@ -4572,7 +4572,7 @@ const yt = {
4572
4572
  ref: s,
4573
4573
  type: "file",
4574
4574
  accept: t.opt?.accept || ".zip",
4575
- onChange: u
4575
+ onChange: c
4576
4576
  }, null, 40, Wl),
4577
4577
  D(d.$slots, "default", {}, () => [
4578
4578
  oe(v(l(n).lg("asai.upload")), 1)
@@ -4591,23 +4591,23 @@ const yt = {
4591
4591
  emits: ["onUpload"],
4592
4592
  setup(t, { emit: e }) {
4593
4593
  const o = t, { $fn: n } = o.ujt, a = e;
4594
- function u(d) {
4595
- const c = d.target.files[0];
4596
- if (c) {
4594
+ function c(d) {
4595
+ const u = d.target.files[0];
4596
+ if (u) {
4597
4597
  const m = new FileReader();
4598
4598
  m.onload = (h) => {
4599
4599
  const g = h.target?.result;
4600
- a("onUpload", g, c), s.value.value = "";
4601
- }, m.readAsText(c);
4600
+ a("onUpload", g, u), s.value.value = "";
4601
+ }, m.readAsText(u);
4602
4602
  }
4603
4603
  }
4604
4604
  const s = B(null);
4605
4605
  function i() {
4606
4606
  s.value.click();
4607
4607
  }
4608
- return (d, c) => (p(), f("div", {
4608
+ return (d, u) => (p(), f("div", {
4609
4609
  class: "as-upload-txt",
4610
- onPointerdown: c[0] || (c[0] = (m) => i())
4610
+ onPointerdown: u[0] || (u[0] = (m) => i())
4611
4611
  }, [
4612
4612
  r("input", {
4613
4613
  hidden: "",
@@ -4615,7 +4615,7 @@ const yt = {
4615
4615
  ref: s,
4616
4616
  type: "file",
4617
4617
  accept: t.opt?.accept || ".json",
4618
- onChange: u
4618
+ onChange: c
4619
4619
  }, null, 40, Vl),
4620
4620
  D(d.$slots, "default", {}, () => [
4621
4621
  oe(v(l(n).lg("asai.upload")), 1)
@@ -4636,7 +4636,7 @@ const yt = {
4636
4636
  setup(t) {
4637
4637
  const e = t, { $global: o } = e.ujt;
4638
4638
  return (n, a) => {
4639
- const u = z("UserCard");
4639
+ const c = z("UserCard");
4640
4640
  return p(), f("div", Kl, [
4641
4641
  r("div", Jl, [
4642
4642
  a[0] || (a[0] = r("div", { class: "error-code" }, "404", -1)),
@@ -4644,7 +4644,7 @@ const yt = {
4644
4644
  r("p", Zl, v(l(o).lang?.asai?.page?.reason404 || "Sorry, Page not found!"), 1)
4645
4645
  ]),
4646
4646
  r("div", Ql, [
4647
- R(u, { ujt: t.ujt }, null, 8, ["ujt"])
4647
+ R(c, { ujt: t.ujt }, null, 8, ["ujt"])
4648
4648
  ])
4649
4649
  ]);
4650
4650
  };
@@ -4662,7 +4662,7 @@ const yt = {
4662
4662
  const e = t, { $fn: o } = e.ujt;
4663
4663
  return (n, a) => (p(), f("div", {
4664
4664
  class: "as-lang",
4665
- onPointerdown: a[0] || (a[0] = (u) => t.fn ? t.fn() : l(o).changelang("auto"))
4665
+ onPointerdown: a[0] || (a[0] = (c) => t.fn ? t.fn() : l(o).changelang("auto"))
4666
4666
  }, [
4667
4667
  D(n.$slots, "default", {}, () => [
4668
4668
  oe(v(l(o).lg("asai.langs.default")), 1)
@@ -4679,9 +4679,9 @@ const yt = {
4679
4679
  },
4680
4680
  setup(t) {
4681
4681
  const e = t, { $fn: o, $global: n } = e.ujt;
4682
- return (a, u) => (p(), f("div", {
4682
+ return (a, c) => (p(), f("div", {
4683
4683
  class: "as-theme",
4684
- onPointerdown: u[0] || (u[0] = (s) => l(o).changetheme("auto"))
4684
+ onPointerdown: c[0] || (c[0] = (s) => l(o).changetheme("auto"))
4685
4685
  }, [
4686
4686
  D(a.$slots, "default", {}, () => [
4687
4687
  oe(v(l(o).lg(
@@ -4693,10 +4693,10 @@ const yt = {
4693
4693
  }), li = /* @__PURE__ */ N(si, [["__scopeId", "data-v-ec27160d"]]), ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4694
4694
  __proto__: null,
4695
4695
  default: li
4696
- }, Symbol.toStringTag, { value: "Module" })), ri = { class: "container" }, ui = {
4696
+ }, Symbol.toStringTag, { value: "Module" })), ri = { class: "container" }, ci = {
4697
4697
  key: 0,
4698
4698
  class: "preview-wrapper"
4699
- }, ci = ["src"], di = { class: "controls" }, pi = {
4699
+ }, ui = ["src"], di = { class: "controls" }, pi = {
4700
4700
  key: 0,
4701
4701
  class: "result-preview"
4702
4702
  }, mi = ["src"], fi = /* @__PURE__ */ A({
@@ -4707,14 +4707,14 @@ const yt = {
4707
4707
  },
4708
4708
  emits: ["update:modelValue"],
4709
4709
  setup(t, { emit: e }) {
4710
- const o = t, { $fn: n, $global: a } = o.ujt, u = e, s = X({
4710
+ const o = t, { $fn: n, $global: a } = o.ujt, c = e, s = X({
4711
4711
  get() {
4712
4712
  return o.modelValue;
4713
4713
  },
4714
4714
  set(C) {
4715
- u("update:modelValue", C);
4715
+ c("update:modelValue", C);
4716
4716
  }
4717
- }), i = B(""), d = B(""), c = B(null), m = B(null), h = B({
4717
+ }), i = B(""), d = B(""), u = B(null), m = B(null), h = B({
4718
4718
  x: 0,
4719
4719
  y: 0,
4720
4720
  width: 0,
@@ -4744,7 +4744,7 @@ const yt = {
4744
4744
  i.value = $.target.result, d.value = "";
4745
4745
  }, T.readAsDataURL(O);
4746
4746
  }, k = () => {
4747
- const C = c.value, O = m.value;
4747
+ const C = u.value, O = m.value;
4748
4748
  if (!C || !O)
4749
4749
  return;
4750
4750
  const T = Math.min(O.clientWidth, C.naturalWidth), $ = Math.min(O.clientHeight, C.naturalHeight), E = Math.min(T * 0.8, C.naturalWidth), H = Math.min($ * 0.8, C.naturalHeight);
@@ -4795,7 +4795,7 @@ const yt = {
4795
4795
  const O = window.event || C, T = O.touches ? O.touches[0] : O;
4796
4796
  if (g.value.type !== "resize") return;
4797
4797
  const $ = T.clientX - g.value.startX, E = T.clientY - g.value.startY, H = g.value.direction;
4798
- let W = g.value.originalWidth, ee = g.value.originalHeight, te = g.value.originalX, ue = g.value.originalY;
4798
+ let W = g.value.originalWidth, ee = g.value.originalHeight, te = g.value.originalX, ce = g.value.originalY;
4799
4799
  switch (H) {
4800
4800
  case "tr":
4801
4801
  W = Math.max(
@@ -4804,10 +4804,10 @@ const yt = {
4804
4804
  g.value.originalWidth + $,
4805
4805
  h.value.maxWidth - te
4806
4806
  )
4807
- ), ee = Math.max(100, g.value.originalHeight - E), ue = Math.max(0, g.value.originalY + E);
4807
+ ), ee = Math.max(100, g.value.originalHeight - E), ce = Math.max(0, g.value.originalY + E);
4808
4808
  break;
4809
4809
  case "tl":
4810
- W = Math.max(100, g.value.originalWidth - $), ee = Math.max(100, g.value.originalHeight - E), te = Math.max(0, g.value.originalX + $), ue = Math.max(0, g.value.originalY + E);
4810
+ W = Math.max(100, g.value.originalWidth - $), ee = Math.max(100, g.value.originalHeight - E), te = Math.max(0, g.value.originalX + $), ce = Math.max(0, g.value.originalY + E);
4811
4811
  break;
4812
4812
  case "br":
4813
4813
  W = Math.max(100, g.value.originalWidth + $), ee = Math.max(100, g.value.originalHeight + E);
@@ -4816,16 +4816,16 @@ const yt = {
4816
4816
  W = Math.max(100, g.value.originalWidth - $), ee = Math.max(100, g.value.originalHeight + E), te = Math.max(0, g.value.originalX + $);
4817
4817
  break;
4818
4818
  }
4819
- W = Math.min(W, h.value.maxWidth - te), ee = Math.min(ee, h.value.maxHeight - ue), Object.assign(h.value, {
4819
+ W = Math.min(W, h.value.maxWidth - te), ee = Math.min(ee, h.value.maxHeight - ce), Object.assign(h.value, {
4820
4820
  x: te,
4821
- y: ue,
4821
+ y: ce,
4822
4822
  width: W,
4823
4823
  height: ee
4824
4824
  });
4825
4825
  }, L = () => {
4826
4826
  g.value.type = null, window.removeEventListener("mousemove", M), window.removeEventListener("touchmove", M), window.removeEventListener("mousemove", P), window.removeEventListener("touchmove", P), window.removeEventListener("mouseup", L), window.removeEventListener("touchend", L);
4827
4827
  }, j = () => {
4828
- const C = c.value, O = C.naturalWidth / C.width, T = C.naturalHeight / C.height, $ = Math.min(
4828
+ const C = u.value, O = C.naturalWidth / C.width, T = C.naturalHeight / C.height, $ = Math.min(
4829
4829
  h.value.width * O,
4830
4830
  C.naturalWidth
4831
4831
  ), E = Math.min(
@@ -4861,7 +4861,7 @@ const yt = {
4861
4861
  accept: "image/*",
4862
4862
  onChange: w
4863
4863
  }, null, 32),
4864
- i.value ? (p(), f("div", ui, [
4864
+ i.value ? (p(), f("div", ci, [
4865
4865
  r("div", {
4866
4866
  class: "preview-container",
4867
4867
  ref_key: "previewContainer",
@@ -4869,10 +4869,10 @@ const yt = {
4869
4869
  }, [
4870
4870
  r("img", {
4871
4871
  ref_key: "previewImage",
4872
- ref: c,
4872
+ ref: u,
4873
4873
  src: i.value,
4874
4874
  onLoad: k
4875
- }, null, 40, ci),
4875
+ }, null, 40, ui),
4876
4876
  K(r("div", {
4877
4877
  class: "crop-box",
4878
4878
  style: Z(y.value),
@@ -4962,7 +4962,7 @@ const yt = {
4962
4962
  console.log(666.703, s);
4963
4963
  });
4964
4964
  }
4965
- function u() {
4965
+ function c() {
4966
4966
  e.fnapi?.apiPost(
4967
4967
  "/api/asaijson/manage/update/?path=" + e.asaidata.path,
4968
4968
  e.asaidata.data
@@ -4975,21 +4975,21 @@ const yt = {
4975
4975
  return p(), f("div", vi, [
4976
4976
  t.asaidata.btn ? (p(), f("div", yi, [
4977
4977
  r("button", {
4978
- onPointerdown: i[0] || (i[0] = (c) => n())
4978
+ onPointerdown: i[0] || (i[0] = (u) => n())
4979
4979
  }, v(l(o).lg("asai.read")), 33),
4980
4980
  K(r("input", {
4981
4981
  type: "text",
4982
- "onUpdate:modelValue": i[1] || (i[1] = (c) => t.asaidata.path = c)
4982
+ "onUpdate:modelValue": i[1] || (i[1] = (u) => t.asaidata.path = u)
4983
4983
  }, null, 512), [
4984
4984
  [le, t.asaidata.path]
4985
4985
  ]),
4986
4986
  t.asaidata.list?.length ? K((p(), f("select", {
4987
4987
  key: 0,
4988
- "onUpdate:modelValue": i[2] || (i[2] = (c) => t.asaidata.path = c)
4988
+ "onUpdate:modelValue": i[2] || (i[2] = (u) => t.asaidata.path = u)
4989
4989
  }, [
4990
- (p(!0), f(U, null, G(t.asaidata.list, (c) => (p(), f("option", {
4991
- value: c.value
4992
- }, v(c.label), 9, bi))), 256))
4990
+ (p(!0), f(U, null, G(t.asaidata.list, (u) => (p(), f("option", {
4991
+ value: u.value
4992
+ }, v(u.label), 9, bi))), 256))
4993
4993
  ], 512)), [
4994
4994
  [ye, t.asaidata.path]
4995
4995
  ]) : F("", !0)
@@ -4998,7 +4998,7 @@ const yt = {
4998
4998
  t.asaidata.ty == "txt" ? K((p(), f("textarea", {
4999
4999
  key: 0,
5000
5000
  class: "as-json-txt",
5001
- "onUpdate:modelValue": i[3] || (i[3] = (c) => t.asaidata.data = c)
5001
+ "onUpdate:modelValue": i[3] || (i[3] = (u) => t.asaidata.data = u)
5002
5002
  }, null, 512)), [
5003
5003
  [le, t.asaidata.data]
5004
5004
  ]) : (p(), f(U, { key: 1 }, [
@@ -5012,10 +5012,10 @@ const yt = {
5012
5012
  ]),
5013
5013
  t.asaidata.btn ? (p(), f("div", $i, [
5014
5014
  r("button", {
5015
- onPointerdown: i[4] || (i[4] = (c) => u())
5015
+ onPointerdown: i[4] || (i[4] = (u) => c())
5016
5016
  }, v(l(o).lg("asai.submit")), 33),
5017
5017
  r("button", {
5018
- onPointerdown: i[5] || (i[5] = (c) => a())
5018
+ onPointerdown: i[5] || (i[5] = (u) => a())
5019
5019
  }, v(l(o).lg("asai.del")), 33)
5020
5020
  ])) : F("", !0)
5021
5021
  ]);
@@ -5063,7 +5063,7 @@ const yt = {
5063
5063
  function a(s) {
5064
5064
  o[s] = !o[s];
5065
5065
  }
5066
- function u() {
5066
+ function c() {
5067
5067
  if (e?.cdata[e.ckey]["@path"] && e?.cval?.apikeys) {
5068
5068
  const s = e.cval.apikeys.findIndex(
5069
5069
  (i) => i === e.cdata[e.ckey]["@path"]
@@ -5113,14 +5113,14 @@ const yt = {
5113
5113
  onPointerdown: a
5114
5114
  }, "+ " + v(t.ckey), 33),
5115
5115
  r("div", Oi, [
5116
- (p(!0), f(U, null, G(t.cdata[t.ckey], (d, c) => (p(), f("div", {
5116
+ (p(!0), f(U, null, G(t.cdata[t.ckey], (d, u) => (p(), f("div", {
5117
5117
  class: "as-ed-for-item",
5118
- key: c
5118
+ key: u
5119
5119
  }, [
5120
5120
  r("div", Ai, [
5121
5121
  R(xe, {
5122
5122
  cval: t.cval,
5123
- ckey: c,
5123
+ ckey: u,
5124
5124
  cdata: t.cdata[t.ckey]
5125
5125
  }, null, 8, ["cval", "ckey", "cdata"])
5126
5126
  ])
@@ -5131,7 +5131,7 @@ const yt = {
5131
5131
  class: J(
5132
5132
  e.cval.apikeys.includes(e.cdata[e.ckey]["@path"]) ? "as-ed-path-cur" : "as-ed-path"
5133
5133
  ),
5134
- onPointerdown: i[2] || (i[2] = (d) => u())
5134
+ onPointerdown: i[2] || (i[2] = (d) => c())
5135
5135
  }, v(t.ckey), 35)) : (p(), f("span", Mi, v(t.ckey), 1));
5136
5136
  }
5137
5137
  }), xe = /* @__PURE__ */ N(Ti, [["__scopeId", "data-v-f916f007"]]), zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5145,7 +5145,7 @@ const yt = {
5145
5145
  },
5146
5146
  setup(t) {
5147
5147
  const e = t, { $fn: o, $global: n } = e.ujt, a = B(!1);
5148
- function u() {
5148
+ function c() {
5149
5149
  a.value = !a.value;
5150
5150
  }
5151
5151
  const s = X(() => [
@@ -5169,18 +5169,18 @@ const yt = {
5169
5169
  r("div", Li, [
5170
5170
  r("button", {
5171
5171
  class: "as-floating-button",
5172
- onPointerdown: u
5172
+ onPointerdown: c
5173
5173
  }, [
5174
5174
  a.value ? (p(), f("span", Ei, "×")) : (p(), f("span", Ui, "☰"))
5175
5175
  ], 32),
5176
5176
  r("ul", {
5177
5177
  class: J(["as-floating-menus", { open: a.value }])
5178
5178
  }, [
5179
- (p(!0), f(U, null, G(s.value, (c, m) => (p(), f("li", {
5179
+ (p(!0), f(U, null, G(s.value, (u, m) => (p(), f("li", {
5180
5180
  key: "menu" + m,
5181
- class: J(`${c.type === "module" ? "module " : ""}${c.value && l(n).location.hash.includes(c.value) ? "active" : ""}`),
5182
- onPointerup: (h) => c.value ? l(o).sethash(c.value) : c?.fn?.()
5183
- }, v(c.label || c.value), 43, Ii))), 128))
5181
+ class: J(`${u.type === "module" ? "module " : ""}${u.value && l(n).location.hash.includes(u.value) ? "active" : ""}`),
5182
+ onPointerup: (h) => u.value ? l(o).sethash(u.value) : u?.fn?.()
5183
+ }, v(u.label || u.value), 43, Ii))), 128))
5184
5184
  ], 2)
5185
5185
  ])
5186
5186
  ])) : F("", !0);
@@ -5197,10 +5197,10 @@ const yt = {
5197
5197
  setup(t) {
5198
5198
  const e = t, { $fn: o } = e.ujt;
5199
5199
  return (n, a) => (p(), f("div", Wi, [
5200
- (p(!0), f(U, null, G(t.menus, (u) => (p(), f("div", {
5200
+ (p(!0), f(U, null, G(t.menus, (c) => (p(), f("div", {
5201
5201
  class: "app-menu",
5202
5202
  onPointerdown: a[0] || (a[0] = (s) => l(o).sethash("item.value"))
5203
- }, v(u.label), 33))), 256))
5203
+ }, v(c.label), 33))), 256))
5204
5204
  ]));
5205
5205
  }
5206
5206
  }), qi = /* @__PURE__ */ N(Hi, [["__scopeId", "data-v-3324679b"]]), Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5213,7 +5213,7 @@ const yt = {
5213
5213
  ty: {}
5214
5214
  },
5215
5215
  setup(t) {
5216
- const e = t, { $model: o, $fn: n, $global: a } = e.ujt, u = lt({ comp: null });
5216
+ const e = t, { $model: o, $fn: n, $global: a } = e.ujt, c = lt({ comp: null });
5217
5217
  n.getcomp = (i) => {
5218
5218
  try {
5219
5219
  try {
@@ -5230,13 +5230,13 @@ const yt = {
5230
5230
  const s = Ce(
5231
5231
  () => a.location.comps[e.ty],
5232
5232
  (i, d) => {
5233
- i && i !== d && (u.comp = n.getcomp(i));
5233
+ i && i !== d && (c.comp = n.getcomp(i));
5234
5234
  },
5235
5235
  { immediate: !0 }
5236
5236
  );
5237
5237
  return _e(() => {
5238
5238
  s && s();
5239
- }), (i, d) => (p(), Y(de(l(u).comp), { ujt: t.ujt }, null, 8, ["ujt"]));
5239
+ }), (i, d) => (p(), Y(de(l(c).comp), { ujt: t.ujt }, null, 8, ["ujt"]));
5240
5240
  }
5241
5241
  }), Ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5242
5242
  __proto__: null,
@@ -5258,11 +5258,11 @@ const yt = {
5258
5258
  }
5259
5259
  },
5260
5260
  setup(t) {
5261
- const e = t, o = B(null), n = B(0), a = B(0), u = B(0), s = B(
5261
+ const e = t, o = B(null), n = B(0), a = B(0), c = B(0), s = B(
5262
5262
  new Array(e.items.length).fill(Math.round(e.itemHeight))
5263
5263
  ), i = /* @__PURE__ */ new Map(), d = X(() => Math.round(
5264
- e.items.reduce((b, w, k) => b + c(k), 0)
5265
- )), c = (b) => b < 0 || b >= e.items.length ? 0 : Math.round(s.value[b] ?? e.itemHeight), m = () => {
5264
+ e.items.reduce((b, w, k) => b + u(k), 0)
5265
+ )), u = (b) => b < 0 || b >= e.items.length ? 0 : Math.round(s.value[b] ?? e.itemHeight), m = () => {
5266
5266
  if (!o.value)
5267
5267
  return {
5268
5268
  start: 0,
@@ -5295,12 +5295,12 @@ const yt = {
5295
5295
  w--;
5296
5296
  let k = w > 0 ? i.get(w) : 0;
5297
5297
  for (let M = w; M < b; M++)
5298
- k += c(M);
5298
+ k += u(M);
5299
5299
  const x = Math.round(k);
5300
5300
  return i.set(b, x), x;
5301
5301
  }, y = () => {
5302
5302
  a.value && cancelAnimationFrame(a.value), a.value = requestAnimationFrame(() => {
5303
- o.value && (n.value = Math.round(o.value.scrollTop), u.value && clearTimeout(u.value), u.value = window.setTimeout(() => {
5303
+ o.value && (n.value = Math.round(o.value.scrollTop), c.value && clearTimeout(c.value), c.value = window.setTimeout(() => {
5304
5304
  const { start: b, end: w } = m(), k = e.buffer * 2;
5305
5305
  for (const x of i.keys())
5306
5306
  (x < b - k || x > w + k) && i.delete(x);
@@ -5320,7 +5320,7 @@ const yt = {
5320
5320
  }
5321
5321
  );
5322
5322
  }), _e(() => {
5323
- a.value && cancelAnimationFrame(a.value), u.value && clearTimeout(u.value);
5323
+ a.value && cancelAnimationFrame(a.value), c.value && clearTimeout(c.value);
5324
5324
  }), (b, w) => (p(), f("div", {
5325
5325
  class: "virtual-list-container",
5326
5326
  onScroll: y,
@@ -5362,16 +5362,16 @@ const yt = {
5362
5362
  }
5363
5363
  },
5364
5364
  setup(t, { expose: e }) {
5365
- const o = t, n = B(null), a = B(0), u = B([]), s = B(10), i = X(() => o.items.reduce((k, x, M) => k + d(M), 0)), d = (k) => u.value[k] || o.itemHeight, c = X(
5365
+ const o = t, n = B(null), a = B(0), c = B([]), s = B(10), i = X(() => o.items.reduce((k, x, M) => k + d(M), 0)), d = (k) => c.value[k] || o.itemHeight, u = X(
5366
5366
  () => Math.max(0, y(a.value) - o.buffer)
5367
5367
  ), m = X(
5368
5368
  () => Math.min(
5369
5369
  o.items.length,
5370
- c.value + s.value + o.buffer * 2
5370
+ u.value + s.value + o.buffer * 2
5371
5371
  )
5372
5372
  ), h = X(
5373
- () => o.items.slice(c.value, m.value).map((k, x) => {
5374
- const M = c.value + x, P = g(M);
5373
+ () => o.items.slice(u.value, m.value).map((k, x) => {
5374
+ const M = u.value + x, P = g(M);
5375
5375
  return {
5376
5376
  index: M,
5377
5377
  id: k.id || M,
@@ -5392,8 +5392,8 @@ const yt = {
5392
5392
  });
5393
5393
  }, w = () => {
5394
5394
  n.value.querySelectorAll(".virtual-list-item").forEach((x, M) => {
5395
- const P = c.value + M;
5396
- u.value[P] = x.offsetHeight;
5395
+ const P = u.value + M;
5396
+ c.value[P] = x.offsetHeight;
5397
5397
  });
5398
5398
  };
5399
5399
  return fe(() => {
@@ -5443,7 +5443,7 @@ const yt = {
5443
5443
  o.scale = 1;
5444
5444
  const n = B(null);
5445
5445
  let a = null;
5446
- const u = () => {
5446
+ const c = () => {
5447
5447
  const d = Math.min(
5448
5448
  window.innerWidth / (o.sys?.zoomwidth || 1920),
5449
5449
  window.innerHeight / (o.sys?.zoomheight || 1080)
@@ -5451,7 +5451,7 @@ const yt = {
5451
5451
  o.scale = d.toFixed(2);
5452
5452
  }, s = () => {
5453
5453
  clearTimeout(a), a = setTimeout(() => {
5454
- requestAnimationFrame(u);
5454
+ requestAnimationFrame(c);
5455
5455
  }, 150);
5456
5456
  }, i = X(() => ({
5457
5457
  width: o.sys?.zoomwidth ? o.sys.zoomwidth + "px" : "1920px",
@@ -5459,10 +5459,10 @@ const yt = {
5459
5459
  transform: `scale(${o.scale}) translate(-50%,-50%)`
5460
5460
  }));
5461
5461
  return fe(() => {
5462
- he(u), window.addEventListener("resize", s);
5462
+ he(c), window.addEventListener("resize", s);
5463
5463
  }), ve(() => {
5464
5464
  window.removeEventListener("resize", s), clearTimeout(a);
5465
- }), (d, c) => (p(), f("div", {
5465
+ }), (d, u) => (p(), f("div", {
5466
5466
  ref_key: "containerRef",
5467
5467
  ref: n,
5468
5468
  class: "zoom-container",
@@ -5510,7 +5510,7 @@ const yt = {
5510
5510
  setup(t) {
5511
5511
  const e = t;
5512
5512
  return (o, n) => {
5513
- const a = z("AsaiFormObject"), u = z("AsaiInput");
5513
+ const a = z("AsaiFormObject"), c = z("AsaiInput");
5514
5514
  return p(!0), f(U, null, G(e.formdata, (s, i) => (p(), f(U, null, [
5515
5515
  t.asaidata?.cmComp && t.asaidata?.cmComp(i) ? (p(), Y(de(t.asaidata.cmComp(i)), {
5516
5516
  key: 0,
@@ -5532,7 +5532,7 @@ const yt = {
5532
5532
  formdata: t.formdata,
5533
5533
  formkey: i
5534
5534
  }, null, 8, ["ujt", "asaidata", "formdata", "formkey"]))
5535
- ], 64)) : (p(), Y(u, {
5535
+ ], 64)) : (p(), Y(c, {
5536
5536
  key: 2,
5537
5537
  ujt: t.ujt,
5538
5538
  asaidata: t.asaidata,
@@ -5556,7 +5556,7 @@ const yt = {
5556
5556
  setup(t) {
5557
5557
  const e = t, o = B(!0);
5558
5558
  return (n, a) => {
5559
- const u = z("AsaiFormLi");
5559
+ const c = z("AsaiFormLi");
5560
5560
  return typeof e.formdata[t.formkey] == "object" ? (p(), f("div", {
5561
5561
  key: 0,
5562
5562
  class: J(`${t.asaidata.ic ? "as-form-obj" : ""}`)
@@ -5566,7 +5566,7 @@ const yt = {
5566
5566
  onPointerdown: a[0] || (a[0] = (s) => o.value = !o.value)
5567
5567
  }, v(t.asaidata.eq > 2 ? '"' : "") + v(e.asaidata?.lang && e.asaidata?.lang[t.formkey] || t.formkey) + v(t.asaidata.eq > 2 ? '"' : "") + v(t.asaidata.eq ? ":" : ""), 35),
5568
5568
  oe(" " + v(t.asaidata.eq > 1 ? Array.isArray(e.formdata[t.formkey]) ? "[" : "{" : "") + " ", 1),
5569
- o.value ? (p(), Y(u, {
5569
+ o.value ? (p(), Y(c, {
5570
5570
  key: 0,
5571
5571
  ujt: t.ujt,
5572
5572
  asaidata: t.asaidata,
@@ -5605,7 +5605,7 @@ const yt = {
5605
5605
  type: e.asaidata.rule?.[t.formkey]?.type || (typeof e.formdata[t.formkey] == "boolean" ? "checkbox" : typeof e.formdata[t.formkey] == "number" ? "number" : "string"),
5606
5606
  max: e.asaidata.rule?.[t.formkey]?.max,
5607
5607
  min: e.asaidata.rule?.[t.formkey]?.min,
5608
- "onUpdate:modelValue": n[0] || (n[0] = (u) => e.formdata[t.formkey] = u)
5608
+ "onUpdate:modelValue": n[0] || (n[0] = (c) => e.formdata[t.formkey] = c)
5609
5609
  }, null, 8, sr), [
5610
5610
  [rt, e.formdata[t.formkey]]
5611
5611
  ]),
@@ -5618,7 +5618,7 @@ const yt = {
5618
5618
  }), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5619
5619
  __proto__: null,
5620
5620
  default: lr
5621
- }, Symbol.toStringTag, { value: "Module" })), ir = { class: "as-richtext-toolbar" }, rr = { value: "" }, ur = ["value"], cr = { value: "p" }, dr = ["value"], pr = ["title"], mr = ["title"], fr = ["title"], hr = ["title"], gr = ["title"], vr = ["title"], yr = ["title"], br = ["title"], _r = { class: "as-richtext-content" }, $r = ["placeholder"], wr = /* @__PURE__ */ A({
5621
+ }, Symbol.toStringTag, { value: "Module" })), ir = { class: "as-richtext-toolbar" }, rr = { value: "" }, cr = ["value"], ur = { value: "p" }, dr = ["value"], pr = ["title"], mr = ["title"], fr = ["title"], hr = ["title"], gr = ["title"], vr = ["title"], yr = ["title"], br = ["title"], _r = { class: "as-richtext-content" }, $r = ["placeholder"], wr = /* @__PURE__ */ A({
5622
5622
  __name: "AsaiRichEditor",
5623
5623
  props: {
5624
5624
  ujt: {},
@@ -5633,12 +5633,12 @@ const yt = {
5633
5633
  quality: 0.8
5634
5634
  },
5635
5635
  imgurls: {}
5636
- }, a = B(null), u = B(null), s = B(null), i = B(e.asaidata?.rule?.[e.formkey]?.editorty || 2);
5636
+ }, a = B(null), c = B(null), s = B(null), i = B(e.asaidata?.rule?.[e.formkey]?.editorty || 2);
5637
5637
  fe(d);
5638
5638
  function d() {
5639
- u.value && (u.value.innerHTML = e.formdata[e.formkey]);
5639
+ c.value && (c.value.innerHTML = e.formdata[e.formkey]);
5640
5640
  }
5641
- function c(j, _ = 0) {
5641
+ function u(j, _ = 0) {
5642
5642
  const S = /* @__PURE__ */ new Set([
5643
5643
  "a",
5644
5644
  "figure",
@@ -5779,16 +5779,16 @@ const yt = {
5779
5779
  }
5780
5780
  function x(j) {
5781
5781
  j.preventDefault();
5782
- const _ = j.clipboardData?.getData("text/html") || "", S = c(_, 1) || j.clipboardData?.getData("text/plain") || "";
5782
+ const _ = j.clipboardData?.getData("text/html") || "", S = u(_, 1) || j.clipboardData?.getData("text/plain") || "";
5783
5783
  P("insertHTML", S);
5784
5784
  }
5785
5785
  function M(j) {
5786
- u.value && (e.formdata[e.formkey] = c(
5787
- u.value.innerHTML
5786
+ c.value && (e.formdata[e.formkey] = u(
5787
+ c.value.innerHTML
5788
5788
  ));
5789
5789
  }
5790
5790
  function P(j, _ = null) {
5791
- u.value && document.execCommand(j, !1, _);
5791
+ c.value && document.execCommand(j, !1, _);
5792
5792
  }
5793
5793
  function L() {
5794
5794
  i.value++, i.value > 2 && (i.value = 0), he(d);
@@ -5805,12 +5805,12 @@ const yt = {
5805
5805
  (p(), f(U, null, G(8, (S) => r("option", {
5806
5806
  key: "size" + S,
5807
5807
  value: S * (S - 1) + 8
5808
- }, v(S * (S - 1) + 8) + "px ", 9, ur)), 64))
5808
+ }, v(S * (S - 1) + 8) + "px ", 9, cr)), 64))
5809
5809
  ], 32),
5810
5810
  r("select", {
5811
5811
  onChange: _[1] || (_[1] = (S) => P("formatBlock", S.target.value))
5812
5812
  }, [
5813
- r("option", cr, v(l(o).lang.richtexteditor.paragraph), 1),
5813
+ r("option", ur, v(l(o).lang.richtexteditor.paragraph), 1),
5814
5814
  (p(), f(U, null, G(6, (S) => r("option", {
5815
5815
  key: "h" + S,
5816
5816
  value: "h" + S
@@ -5904,7 +5904,7 @@ const yt = {
5904
5904
  key: 0,
5905
5905
  style: Z({ width: i.value > 1 ? "50%" : "100%" }),
5906
5906
  ref_key: "rfRichEditor",
5907
- ref: u,
5907
+ ref: c,
5908
5908
  contenteditable: "true",
5909
5909
  onPaste: x,
5910
5910
  onInput: M
@@ -5929,7 +5929,7 @@ const yt = {
5929
5929
  }, null, 544)
5930
5930
  ], 4));
5931
5931
  }
5932
- }), kr = /* @__PURE__ */ N(wr, [["__scopeId", "data-v-44574316"]]), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5932
+ }), kr = /* @__PURE__ */ N(wr, [["__scopeId", "data-v-91fc208c"]]), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5933
5933
  __proto__: null,
5934
5934
  default: kr
5935
5935
  }, Symbol.toStringTag, { value: "Module" })), jr = ["value"], Sr = /* @__PURE__ */ A({
@@ -5944,7 +5944,7 @@ const yt = {
5944
5944
  const e = t, { $fn: o } = e.ujt, n = X(() => Object.entries(
5945
5945
  e.asaidata?.lang && e.asaidata?.lang[e.formkey + "data"] || e.asaidata?.rule?.[e.formkey]?.[e.formkey + "data"] || o.lg(e.asaidata?.rule?.[e.formkey]?.data) || {}
5946
5946
  ));
5947
- return (a, u) => {
5947
+ return (a, c) => {
5948
5948
  const s = z("AsaiFormLabel");
5949
5949
  return p(), Y(s, {
5950
5950
  ujt: t.ujt,
@@ -5954,7 +5954,7 @@ const yt = {
5954
5954
  }, {
5955
5955
  default: ne(() => [
5956
5956
  K(r("select", {
5957
- "onUpdate:modelValue": u[0] || (u[0] = (i) => e.formdata[t.formkey] = i)
5957
+ "onUpdate:modelValue": c[0] || (c[0] = (i) => e.formdata[t.formkey] = i)
5958
5958
  }, [
5959
5959
  (p(!0), f(U, null, G(n.value, (i) => (p(), f("option", {
5960
5960
  key: i[0],
@@ -5980,9 +5980,9 @@ const yt = {
5980
5980
  formkey: {}
5981
5981
  },
5982
5982
  setup(t) {
5983
- const e = t, { $fn: o, $global: n, $model: a } = e.ujt, u = B(null), s = B(null), i = B("+"), d = async (m) => {
5984
- if (u.value.value) {
5985
- if (s.value = m.target.files[0], u.value.value = "", !s.value) {
5983
+ const e = t, { $fn: o, $global: n, $model: a } = e.ujt, c = B(null), s = B(null), i = B("+"), d = async (m) => {
5984
+ if (c.value.value) {
5985
+ if (s.value = m.target.files[0], c.value.value = "", !s.value) {
5986
5986
  i.value = o.lg("asai.fail");
5987
5987
  return;
5988
5988
  }
@@ -5998,8 +5998,8 @@ const yt = {
5998
5998
  }
5999
5999
  }
6000
6000
  };
6001
- function c() {
6002
- u.value.click();
6001
+ function u() {
6002
+ c.value.click();
6003
6003
  }
6004
6004
  return (m, h) => {
6005
6005
  const g = z("AsaiFormLabel");
@@ -6014,21 +6014,21 @@ const yt = {
6014
6014
  key: 0,
6015
6015
  accept: t.asaidata?.rule?.[t.formkey]?.accept,
6016
6016
  ref_key: "rfInputFile",
6017
- ref: u,
6017
+ ref: c,
6018
6018
  type: "file",
6019
6019
  hidden: "",
6020
6020
  onChange: d
6021
6021
  }, null, 40, xr)) : (p(), f("input", {
6022
6022
  key: 1,
6023
6023
  ref_key: "rfInputFile",
6024
- ref: u,
6024
+ ref: c,
6025
6025
  type: "file",
6026
6026
  hidden: "",
6027
6027
  onChange: d
6028
6028
  }, null, 544)),
6029
6029
  r("div", {
6030
6030
  class: "as-upload-image",
6031
- onClickOnce: V(c, ["stop", "prevent"])
6031
+ onClickOnce: V(u, ["stop", "prevent"])
6032
6032
  }, [
6033
6033
  e.formdata[t.formkey] ? (p(), f("div", Pr, [
6034
6034
  t.asaidata?.rule?.[t.formkey]?.accept?.startsWith("image/") ? (p(), f("img", {
@@ -6052,7 +6052,7 @@ const yt = {
6052
6052
  }, 8, ["ujt", "asaidata", "formdata", "formkey"]);
6053
6053
  };
6054
6054
  }
6055
- }), Tr = /* @__PURE__ */ N(Mr, [["__scopeId", "data-v-bcb81efd"]]), Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6055
+ }), Tr = /* @__PURE__ */ N(Mr, [["__scopeId", "data-v-fb6a0b19"]]), Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6056
6056
  __proto__: null,
6057
6057
  default: Tr
6058
6058
  }, Symbol.toStringTag, { value: "Module" })), zr = { key: 0 }, Lr = ["src", "alt", "title"], Er = ["title"], Ur = ["title"], Ir = ["accept"], Dr = /* @__PURE__ */ A({
@@ -6064,9 +6064,9 @@ const yt = {
6064
6064
  formkey: {}
6065
6065
  },
6066
6066
  setup(t) {
6067
- const e = t, { $fn: o, $global: n, $model: a } = e.ujt, u = B(null), s = B(null), i = B("+"), d = async (m) => {
6068
- if (u.value.value) {
6069
- if (s.value = m.target.files[0], u.value.value = "", !s.value) {
6067
+ const e = t, { $fn: o, $global: n, $model: a } = e.ujt, c = B(null), s = B(null), i = B("+"), d = async (m) => {
6068
+ if (c.value.value) {
6069
+ if (s.value = m.target.files[0], c.value.value = "", !s.value) {
6070
6070
  i.value = o.lg("asai.fail");
6071
6071
  return;
6072
6072
  }
@@ -6091,8 +6091,8 @@ const yt = {
6091
6091
  }, h.readAsDataURL(s.value);
6092
6092
  }
6093
6093
  };
6094
- function c() {
6095
- u.value.click();
6094
+ function u() {
6095
+ c.value.click();
6096
6096
  }
6097
6097
  return (m, h) => {
6098
6098
  const g = z("AsaiFormLabel");
@@ -6105,7 +6105,7 @@ const yt = {
6105
6105
  default: ne(() => [
6106
6106
  r("div", {
6107
6107
  class: "as-upload-image",
6108
- onPointerdown: V(c, ["prevent"])
6108
+ onPointerdown: V(u, ["prevent"])
6109
6109
  }, [
6110
6110
  e.formdata[t.formkey] ? (p(), f("div", zr, [
6111
6111
  t.asaidata?.rule?.[t.formkey]?.accept?.startsWith("image/") ? (p(), f("img", {
@@ -6128,14 +6128,14 @@ const yt = {
6128
6128
  key: 0,
6129
6129
  accept: t.asaidata?.rule?.[t.formkey]?.accept,
6130
6130
  ref_key: "rfInputFile",
6131
- ref: u,
6131
+ ref: c,
6132
6132
  type: "file",
6133
6133
  hidden: "",
6134
6134
  onChange: d
6135
6135
  }, null, 40, Ir)) : (p(), f("input", {
6136
6136
  key: 1,
6137
6137
  ref_key: "rfInputFile",
6138
- ref: u,
6138
+ ref: c,
6139
6139
  type: "file",
6140
6140
  hidden: "",
6141
6141
  onChange: d
@@ -6145,7 +6145,7 @@ const yt = {
6145
6145
  }, 8, ["ujt", "asaidata", "formdata", "formkey"]);
6146
6146
  };
6147
6147
  }
6148
- }), Rr = /* @__PURE__ */ N(Dr, [["__scopeId", "data-v-97ccbbb8"]]), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6148
+ }), Rr = /* @__PURE__ */ N(Dr, [["__scopeId", "data-v-eb4b381f"]]), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6149
6149
  __proto__: null,
6150
6150
  default: Rr
6151
6151
  }, Symbol.toStringTag, { value: "Module" })), Fr = { key: 0 }, Wr = ["src"], Hr = ["title"], qr = /* @__PURE__ */ A({
@@ -6157,16 +6157,16 @@ const yt = {
6157
6157
  formkey: {}
6158
6158
  },
6159
6159
  setup(t) {
6160
- const e = t, { $fn: o, $global: n } = e.ujt, a = B(null), u = B(null), s = B("+"), i = async (m) => {
6160
+ const e = t, { $fn: o, $global: n } = e.ujt, a = B(null), c = B(null), s = B("+"), i = async (m) => {
6161
6161
  if (a.value.value) {
6162
- if (u.value = m.target.files[0], a.value.value = "", !u.value) {
6162
+ if (c.value = m.target.files[0], a.value.value = "", !c.value) {
6163
6163
  s.value = o.lg("asai.fail");
6164
6164
  return;
6165
6165
  }
6166
6166
  const h = new FileReader();
6167
6167
  h.onload = async () => {
6168
6168
  try {
6169
- c({
6169
+ u({
6170
6170
  base64Data: h.result,
6171
6171
  asaidata: e.asaidata,
6172
6172
  formdata: e.formdata,
@@ -6178,13 +6178,13 @@ const yt = {
6178
6178
  } catch (g) {
6179
6179
  s.value = o.lg("asai.fail") + " " + g.message;
6180
6180
  }
6181
- }, h.readAsDataURL(u.value);
6181
+ }, h.readAsDataURL(c.value);
6182
6182
  }
6183
6183
  };
6184
6184
  function d() {
6185
6185
  a.value.click();
6186
6186
  }
6187
- function c(m) {
6187
+ function u(m) {
6188
6188
  n.pop.popupload.stat = 1, n.pop.popupload.tit = o.lg("asai.upload"), n.pop.popupload.params = m;
6189
6189
  }
6190
6190
  return (m, h) => {
@@ -6226,7 +6226,7 @@ const yt = {
6226
6226
  ], 64);
6227
6227
  };
6228
6228
  }
6229
- }), Br = /* @__PURE__ */ N(qr, [["__scopeId", "data-v-c06e86ae"]]), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6229
+ }), Br = /* @__PURE__ */ N(qr, [["__scopeId", "data-v-75020c8e"]]), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6230
6230
  __proto__: null,
6231
6231
  default: Br
6232
6232
  }, Symbol.toStringTag, { value: "Module" })), Vr = { class: "as-img-area" }, Nr = {
@@ -6239,7 +6239,7 @@ const yt = {
6239
6239
  params: {}
6240
6240
  },
6241
6241
  setup(t) {
6242
- const e = t, { $fn: o } = e.ujt, n = B(""), a = B(null), u = B(null), s = B(null), i = B({
6242
+ const e = t, { $fn: o } = e.ujt, n = B(""), a = B(null), c = B(null), s = B(null), i = B({
6243
6243
  x: 0,
6244
6244
  y: 0,
6245
6245
  width: 0,
@@ -6255,7 +6255,7 @@ const yt = {
6255
6255
  originalWidth: 0,
6256
6256
  originalHeight: 0,
6257
6257
  direction: null
6258
- }), c = X(() => ({
6258
+ }), u = X(() => ({
6259
6259
  transform: `translate(${i.value.x}px, ${i.value.y}px)`,
6260
6260
  width: `${i.value.width}px`,
6261
6261
  height: `${i.value.height}px`
@@ -6367,7 +6367,7 @@ const yt = {
6367
6367
  let T = e.params.asaidata.rule[e.params.formkey].data, $ = {};
6368
6368
  if (T.width < _ || T.height < S) {
6369
6369
  T.height / S > T.width / _ ? ($.width = T.width, $.height = S * T.width / _) : ($.width = _ * T.height / S, $.height = T.height);
6370
- const E = u.value, H = document.createElement("canvas");
6370
+ const E = c.value, H = document.createElement("canvas");
6371
6371
  H.width = $.width, H.height = $.height, H.getContext("2d").drawImage(E, 0, 0, $.width, $.height), n.value = H.toDataURL("image/png", 0.9);
6372
6372
  }
6373
6373
  });
@@ -6381,7 +6381,7 @@ const yt = {
6381
6381
  n.value ? (p(), f("div", Nr, [
6382
6382
  r("img", {
6383
6383
  ref_key: "cutImage",
6384
- ref: u,
6384
+ ref: c,
6385
6385
  src: n.value
6386
6386
  }, null, 8, Yr)
6387
6387
  ])) : (p(), f("div", {
@@ -6398,7 +6398,7 @@ const yt = {
6398
6398
  }, null, 40, Xr),
6399
6399
  K(r("div", {
6400
6400
  class: "as-img-crop-box",
6401
- style: Z(c.value),
6401
+ style: Z(u.value),
6402
6402
  onMousedown: L[8] || (L[8] = V((j) => g("move"), ["prevent"])),
6403
6403
  onTouchstart: L[9] || (L[9] = V((j) => g("move"), ["prevent"]))
6404
6404
  }, [
@@ -6448,13 +6448,13 @@ const yt = {
6448
6448
  setup(t) {
6449
6449
  const e = t, { $global: o } = e.ujt;
6450
6450
  return (n, a) => {
6451
- const u = z("AsaiUploadImgCut"), s = z("PopBox");
6451
+ const c = z("AsaiUploadImgCut"), s = z("PopBox");
6452
6452
  return p(), Y(s, {
6453
6453
  ujt: t.ujt,
6454
6454
  id: "popupload"
6455
6455
  }, {
6456
6456
  default: ne(() => [
6457
- l(o).pop.popupload.stat ? (p(), Y(u, {
6457
+ l(o).pop.popupload.stat ? (p(), Y(c, {
6458
6458
  key: 0,
6459
6459
  ujt: t.ujt,
6460
6460
  params: l(o).pop.popupload.params
@@ -6467,7 +6467,7 @@ const yt = {
6467
6467
  }), Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6468
6468
  __proto__: null,
6469
6469
  default: Zr
6470
- }, Symbol.toStringTag, { value: "Module" })), Qr = { class: "as-form-area" }, eu = /* @__PURE__ */ A({
6470
+ }, Symbol.toStringTag, { value: "Module" })), Qr = { class: "as-form-area" }, ec = /* @__PURE__ */ A({
6471
6471
  __name: "AsaiForm",
6472
6472
  props: {
6473
6473
  ujt: {},
@@ -6497,12 +6497,12 @@ const yt = {
6497
6497
  for (let s in n)
6498
6498
  n[a(s) || s] = n[s], delete n[s];
6499
6499
  e.asaidata.comp ? Object.assign(e.asaidata.comp, n) : e.asaidata.comp = { ...n };
6500
- function u(s) {
6500
+ function c(s) {
6501
6501
  return s?.default ? s.default : be(s);
6502
6502
  }
6503
- return e.asaidata.cmComp = (s) => (o[s] || (e.asaidata?.rule?.[s]?.comp && e.asaidata.comp[e.asaidata.rule[s].comp] ? o[s] = u(
6503
+ return e.asaidata.cmComp = (s) => (o[s] || (e.asaidata?.rule?.[s]?.comp && e.asaidata.comp[e.asaidata.rule[s].comp] ? o[s] = c(
6504
6504
  e.asaidata.comp[e.asaidata.rule[s].comp]
6505
- ) : e.asaidata.comp[s] ? o[s] = u(e.asaidata.comp[s]) : s === "object" && e.asaidata.comp && e.asaidata.comp.object && (o[s] = u(e.asaidata.comp.object))), o[s]), ve(() => {
6505
+ ) : e.asaidata.comp[s] ? o[s] = c(e.asaidata.comp[s]) : s === "object" && e.asaidata.comp && e.asaidata.comp.object && (o[s] = c(e.asaidata.comp.object))), o[s]), ve(() => {
6506
6506
  o = null;
6507
6507
  }), (s, i) => {
6508
6508
  const d = z("AsaiFormLi");
@@ -6515,13 +6515,13 @@ const yt = {
6515
6515
  ]);
6516
6516
  };
6517
6517
  }
6518
- }), tu = { class: "as-page-area" }, ou = { class: "as-page-icon" }, nu = {
6518
+ }), tc = { class: "as-page-area" }, oc = { class: "as-page-icon" }, nc = {
6519
6519
  class: "ico",
6520
6520
  style: { "background-color": "var(--cz0)" }
6521
- }, au = {
6521
+ }, ac = {
6522
6522
  class: "tit",
6523
6523
  style: { color: "var(--cz8)" }
6524
- }, su = /* @__PURE__ */ A({
6524
+ }, sc = /* @__PURE__ */ A({
6525
6525
  __name: "PageErr",
6526
6526
  props: {
6527
6527
  ujt: {}
@@ -6530,7 +6530,7 @@ const yt = {
6530
6530
  const e = window;
6531
6531
  return (o, n) => {
6532
6532
  const a = z("AsSvg");
6533
- return p(), f("div", tu, [
6533
+ return p(), f("div", tc, [
6534
6534
  r("div", null, [
6535
6535
  n[0] || (n[0] = r("div", null, [
6536
6536
  r("img", {
@@ -6538,24 +6538,24 @@ const yt = {
6538
6538
  width: "200"
6539
6539
  })
6540
6540
  ], -1)),
6541
- r("div", ou, [
6542
- r("div", nu, [
6541
+ r("div", oc, [
6542
+ r("div", nc, [
6543
6543
  R(a, {
6544
6544
  color: "var(--cz8)",
6545
6545
  height: "88px",
6546
6546
  src: "asai/page"
6547
6547
  })
6548
6548
  ]),
6549
- r("div", au, v(l(e).$GYS.$webmodel.lang[l(e).$GYS.$webmodel.lang.langty].pageerr), 1)
6549
+ r("div", ac, v(l(e).$GYS.$webmodel.lang[l(e).$GYS.$webmodel.lang.langty].pageerr), 1)
6550
6550
  ])
6551
6551
  ])
6552
6552
  ]);
6553
6553
  };
6554
6554
  }
6555
- }), lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6555
+ }), lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6556
6556
  __proto__: null,
6557
- default: su
6558
- }, Symbol.toStringTag, { value: "Module" })), iu = { class: "as-page-area" }, ru = { class: "as-page-icon" }, uu = { class: "ico as-loading" }, cu = /* @__PURE__ */ A({
6557
+ default: sc
6558
+ }, Symbol.toStringTag, { value: "Module" })), ic = { class: "as-page-area" }, rc = { class: "as-page-icon" }, cc = { class: "ico as-loading" }, uc = /* @__PURE__ */ A({
6559
6559
  __name: "PageLoadClient",
6560
6560
  props: {
6561
6561
  ujt: {}
@@ -6563,7 +6563,7 @@ const yt = {
6563
6563
  setup(t) {
6564
6564
  return (e, o) => {
6565
6565
  const n = z("AsSvg"), a = z("UserCard");
6566
- return p(), f("div", iu, [
6566
+ return p(), f("div", ic, [
6567
6567
  r("div", null, [
6568
6568
  o[0] || (o[0] = r("div", null, [
6569
6569
  r("img", {
@@ -6571,8 +6571,8 @@ const yt = {
6571
6571
  width: "200"
6572
6572
  })
6573
6573
  ], -1)),
6574
- r("div", ru, [
6575
- r("div", uu, [
6574
+ r("div", rc, [
6575
+ r("div", cc, [
6576
6576
  R(n, {
6577
6577
  color: "var(--ch4)",
6578
6578
  height: "88px",
@@ -6585,16 +6585,16 @@ const yt = {
6585
6585
  ]);
6586
6586
  };
6587
6587
  }
6588
- }), du = /* @__PURE__ */ N(cu, [["__scopeId", "data-v-208bc5ba"]]), pu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6588
+ }), dc = /* @__PURE__ */ N(uc, [["__scopeId", "data-v-208bc5ba"]]), pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6589
6589
  __proto__: null,
6590
- default: du
6591
- }, Symbol.toStringTag, { value: "Module" })), mu = { class: "as-page-area" }, fu = { class: "as-page-icon" }, hu = {
6590
+ default: dc
6591
+ }, Symbol.toStringTag, { value: "Module" })), mc = { class: "as-page-area" }, fc = { class: "as-page-icon" }, hc = {
6592
6592
  class: "ico",
6593
6593
  style: { "background-color": "var(--cz0)" }
6594
- }, gu = {
6594
+ }, gc = {
6595
6595
  class: "tit",
6596
6596
  style: { color: "var(--cz8)" }
6597
- }, vu = /* @__PURE__ */ A({
6597
+ }, vc = /* @__PURE__ */ A({
6598
6598
  __name: "PageLoadErr",
6599
6599
  props: {
6600
6600
  ujt: {},
@@ -6603,8 +6603,8 @@ const yt = {
6603
6603
  setup(t) {
6604
6604
  const e = t, { $global: o } = e.ujt;
6605
6605
  return (n, a) => {
6606
- const u = z("AsSvg"), s = z("UserCard");
6607
- return p(), f("div", mu, [
6606
+ const c = z("AsSvg"), s = z("UserCard");
6607
+ return p(), f("div", mc, [
6608
6608
  r("div", null, [
6609
6609
  a[0] || (a[0] = r("div", null, [
6610
6610
  r("img", {
@@ -6612,15 +6612,15 @@ const yt = {
6612
6612
  width: "200"
6613
6613
  })
6614
6614
  ], -1)),
6615
- r("div", fu, [
6616
- r("div", hu, [
6617
- R(u, {
6615
+ r("div", fc, [
6616
+ r("div", hc, [
6617
+ R(c, {
6618
6618
  color: "var(--cz8)",
6619
6619
  height: "88px",
6620
6620
  src: "asai/server"
6621
6621
  })
6622
6622
  ]),
6623
- r("div", gu, v(l(o).lang?.asai?.page?.loadws), 1)
6623
+ r("div", gc, v(l(o).lang?.asai?.page?.loadws), 1)
6624
6624
  ]),
6625
6625
  r("h3", null, v(e.type), 1),
6626
6626
  R(s, { ujt: t.ujt }, null, 8, ["ujt"])
@@ -6628,16 +6628,16 @@ const yt = {
6628
6628
  ]);
6629
6629
  };
6630
6630
  }
6631
- }), yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6631
+ }), yc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6632
6632
  __proto__: null,
6633
- default: vu
6634
- }, Symbol.toStringTag, { value: "Module" })), bu = { class: "as-page-area" }, _u = { class: "as-page-icon" }, $u = {
6633
+ default: vc
6634
+ }, Symbol.toStringTag, { value: "Module" })), bc = { class: "as-page-area" }, _c = { class: "as-page-icon" }, $c = {
6635
6635
  class: "ico",
6636
6636
  style: { "background-color": "var(--cy0)" }
6637
- }, wu = {
6637
+ }, wc = {
6638
6638
  class: "tit",
6639
6639
  style: { color: "var(--cy8)" }
6640
- }, ku = /* @__PURE__ */ A({
6640
+ }, kc = /* @__PURE__ */ A({
6641
6641
  __name: "PageLoadServer",
6642
6642
  props: {
6643
6643
  ujt: {}
@@ -6645,8 +6645,8 @@ const yt = {
6645
6645
  setup(t) {
6646
6646
  const e = t, { $global: o } = e.ujt;
6647
6647
  return (n, a) => {
6648
- const u = z("AsSvg"), s = z("UserCard");
6649
- return p(), f("div", bu, [
6648
+ const c = z("AsSvg"), s = z("UserCard");
6649
+ return p(), f("div", bc, [
6650
6650
  r("div", null, [
6651
6651
  a[0] || (a[0] = r("div", null, [
6652
6652
  r("img", {
@@ -6654,31 +6654,31 @@ const yt = {
6654
6654
  width: "200"
6655
6655
  })
6656
6656
  ], -1)),
6657
- r("div", _u, [
6658
- r("div", $u, [
6659
- R(u, {
6657
+ r("div", _c, [
6658
+ r("div", $c, [
6659
+ R(c, {
6660
6660
  color: "var(--cy8)",
6661
6661
  height: "88px",
6662
6662
  src: "asai/web"
6663
6663
  })
6664
6664
  ]),
6665
- r("div", wu, v(l(o).lang.asai.page.loadserver), 1)
6665
+ r("div", wc, v(l(o).lang.asai.page.loadserver), 1)
6666
6666
  ]),
6667
6667
  R(s, { ujt: t.ujt }, null, 8, ["ujt"])
6668
6668
  ])
6669
6669
  ]);
6670
6670
  };
6671
6671
  }
6672
- }), ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6672
+ }), jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6673
6673
  __proto__: null,
6674
- default: ku
6675
- }, Symbol.toStringTag, { value: "Module" })), Su = { class: "as-page-area" }, xu = { class: "as-page-icon" }, Pu = {
6674
+ default: kc
6675
+ }, Symbol.toStringTag, { value: "Module" })), Sc = { class: "as-page-area" }, xc = { class: "as-page-icon" }, Pc = {
6676
6676
  class: "ico",
6677
6677
  style: { "background-color": "var(--cz0)" }
6678
- }, Cu = {
6678
+ }, Cc = {
6679
6679
  class: "tit",
6680
6680
  style: { color: "var(--cz8)" }
6681
- }, Ou = /* @__PURE__ */ A({
6681
+ }, Oc = /* @__PURE__ */ A({
6682
6682
  __name: "PageLoadUserToken",
6683
6683
  props: {
6684
6684
  ujt: {}
@@ -6686,8 +6686,8 @@ const yt = {
6686
6686
  setup(t) {
6687
6687
  const e = t, { $global: o } = e.ujt;
6688
6688
  return (n, a) => {
6689
- const u = z("AsSvg"), s = z("UserCard");
6690
- return p(), f("div", Su, [
6689
+ const c = z("AsSvg"), s = z("UserCard");
6690
+ return p(), f("div", Sc, [
6691
6691
  r("div", null, [
6692
6692
  a[0] || (a[0] = r("div", null, [
6693
6693
  r("img", {
@@ -6695,31 +6695,31 @@ const yt = {
6695
6695
  width: "200"
6696
6696
  })
6697
6697
  ], -1)),
6698
- r("div", xu, [
6699
- r("div", Pu, [
6700
- R(u, {
6698
+ r("div", xc, [
6699
+ r("div", Pc, [
6700
+ R(c, {
6701
6701
  color: "var(--cz8)",
6702
6702
  height: "88px",
6703
6703
  src: "asai/user"
6704
6704
  })
6705
6705
  ]),
6706
- r("div", Cu, v(l(o).lang.asai.page.loadusertoken), 1)
6706
+ r("div", Cc, v(l(o).lang.asai.page.loadusertoken), 1)
6707
6707
  ]),
6708
6708
  R(s, { ujt: t.ujt }, null, 8, ["ujt"])
6709
6709
  ])
6710
6710
  ]);
6711
6711
  };
6712
6712
  }
6713
- }), Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6713
+ }), Ac = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6714
6714
  __proto__: null,
6715
- default: Ou
6716
- }, Symbol.toStringTag, { value: "Module" })), Mu = { class: "as-page-area" }, Tu = { class: "as-page-icon" }, zu = {
6715
+ default: Oc
6716
+ }, Symbol.toStringTag, { value: "Module" })), Mc = { class: "as-page-area" }, Tc = { class: "as-page-icon" }, zc = {
6717
6717
  class: "ico",
6718
6718
  style: { "background-color": "var(--cy0)" }
6719
- }, Lu = {
6719
+ }, Lc = {
6720
6720
  class: "tit",
6721
6721
  style: { color: "var(--cy8)" }
6722
- }, Eu = /* @__PURE__ */ A({
6722
+ }, Ec = /* @__PURE__ */ A({
6723
6723
  __name: "PageLoadUserTokenOnline",
6724
6724
  props: {
6725
6725
  ujt: {}
@@ -6727,8 +6727,8 @@ const yt = {
6727
6727
  setup(t) {
6728
6728
  const e = t, { $global: o } = e.ujt;
6729
6729
  return (n, a) => {
6730
- const u = z("AsSvg"), s = z("UserCard");
6731
- return p(), f("div", Mu, [
6730
+ const c = z("AsSvg"), s = z("UserCard");
6731
+ return p(), f("div", Mc, [
6732
6732
  r("div", null, [
6733
6733
  a[0] || (a[0] = r("div", null, [
6734
6734
  r("img", {
@@ -6736,31 +6736,31 @@ const yt = {
6736
6736
  width: "200"
6737
6737
  })
6738
6738
  ], -1)),
6739
- r("div", Tu, [
6740
- r("div", zu, [
6741
- R(u, {
6739
+ r("div", Tc, [
6740
+ r("div", zc, [
6741
+ R(c, {
6742
6742
  color: "var(--cy8)",
6743
6743
  height: "88px",
6744
6744
  src: "asai/user"
6745
6745
  })
6746
6746
  ]),
6747
- r("div", Lu, v(l(o).lang.asai.page.loaduseronline), 1)
6747
+ r("div", Lc, v(l(o).lang.asai.page.loaduseronline), 1)
6748
6748
  ]),
6749
6749
  R(s, { ujt: t.ujt }, null, 8, ["ujt"])
6750
6750
  ])
6751
6751
  ]);
6752
6752
  };
6753
6753
  }
6754
- }), Uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6754
+ }), Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6755
6755
  __proto__: null,
6756
- default: Eu
6757
- }, Symbol.toStringTag, { value: "Module" })), Iu = { class: "as-page-area" }, Du = { class: "as-page-icon" }, Ru = {
6756
+ default: Ec
6757
+ }, Symbol.toStringTag, { value: "Module" })), Ic = { class: "as-page-area" }, Dc = { class: "as-page-icon" }, Rc = {
6758
6758
  class: "ico",
6759
6759
  style: { "background-color": "var(--cz0)" }
6760
- }, Fu = {
6760
+ }, Fc = {
6761
6761
  class: "tit",
6762
6762
  style: { color: "var(--cz8)" }
6763
- }, Wu = /* @__PURE__ */ A({
6763
+ }, Wc = /* @__PURE__ */ A({
6764
6764
  __name: "PageLoadWs",
6765
6765
  props: {
6766
6766
  ujt: {},
@@ -6769,8 +6769,8 @@ const yt = {
6769
6769
  setup(t) {
6770
6770
  const e = t, { $global: o } = e.ujt;
6771
6771
  return (n, a) => {
6772
- const u = z("AsSvg"), s = z("UserCard");
6773
- return p(), f("div", Iu, [
6772
+ const c = z("AsSvg"), s = z("UserCard");
6773
+ return p(), f("div", Ic, [
6774
6774
  r("div", null, [
6775
6775
  a[0] || (a[0] = r("div", null, [
6776
6776
  r("img", {
@@ -6778,15 +6778,15 @@ const yt = {
6778
6778
  width: "200"
6779
6779
  })
6780
6780
  ], -1)),
6781
- r("div", Du, [
6782
- r("div", Ru, [
6783
- R(u, {
6781
+ r("div", Dc, [
6782
+ r("div", Rc, [
6783
+ R(c, {
6784
6784
  color: "var(--cz8)",
6785
6785
  height: "88px",
6786
6786
  src: "asai/server"
6787
6787
  })
6788
6788
  ]),
6789
- r("div", Fu, v(l(o).lang?.asai?.page?.loadws), 1)
6789
+ r("div", Fc, v(l(o).lang?.asai?.page?.loadws), 1)
6790
6790
  ]),
6791
6791
  r("h3", null, v(e.type), 1),
6792
6792
  R(s, { ujt: t.ujt }, null, 8, ["ujt"])
@@ -6794,10 +6794,10 @@ const yt = {
6794
6794
  ]);
6795
6795
  };
6796
6796
  }
6797
- }), Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6797
+ }), Hc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6798
6798
  __proto__: null,
6799
- default: Wu
6800
- }, Symbol.toStringTag, { value: "Module" })), qu = ["id"], Bu = ["id"], Vu = ["id"], Nu = /* @__PURE__ */ A({
6799
+ default: Wc
6800
+ }, Symbol.toStringTag, { value: "Module" })), qc = ["id"], Bc = ["id"], Vc = ["id"], Nc = /* @__PURE__ */ A({
6801
6801
  __name: "PopBoxMask",
6802
6802
  props: {
6803
6803
  ujt: {},
@@ -6813,7 +6813,7 @@ const yt = {
6813
6813
  o.pop[e.id]?.zindex || (o.pop[e.id].zindex = 101);
6814
6814
  const a = X(() => o.pop[e.id]?.event ? o.pop[e.id]?.event : "auto");
6815
6815
  o.scale == null && (o.scale = 1);
6816
- const u = X(() => {
6816
+ const c = X(() => {
6817
6817
  let s = o.pop[e.id]?.maskstyle || {};
6818
6818
  return o.pop[e.id].full == 2 ? s = {
6819
6819
  display: "block",
@@ -6834,11 +6834,11 @@ const yt = {
6834
6834
  }, [
6835
6835
  r("div", {
6836
6836
  class: "as-pop-box-mask-2",
6837
- style: Z(u.value),
6837
+ style: Z(c.value),
6838
6838
  id: "popmask" + t.id
6839
6839
  }, [
6840
6840
  D(s.$slots, "default", {}, void 0, !0)
6841
- ], 12, qu)
6841
+ ], 12, qc)
6842
6842
  ])) : F("", !0)
6843
6843
  ], 64)) : l(o).pop[e.id].full == 1 ? (p(), f(U, { key: 1 }, [
6844
6844
  l(o).pop[e.id].stat ? (p(), Y(Pe, {
@@ -6851,27 +6851,27 @@ const yt = {
6851
6851
  }, [
6852
6852
  r("div", {
6853
6853
  class: "as-pop-box-mask-zoom",
6854
- style: Z(u.value)
6854
+ style: Z(c.value)
6855
6855
  }, [
6856
6856
  D(s.$slots, "default", {}, void 0, !0)
6857
6857
  ], 4)
6858
- ], 8, Bu)
6858
+ ], 8, Bc)
6859
6859
  ])) : F("", !0)
6860
6860
  ], 64)) : (p(), f(U, { key: 2 }, [
6861
6861
  l(o).pop[e.id].stat ? (p(), f("div", {
6862
6862
  key: 0,
6863
6863
  class: "as-pop-box-mask-0",
6864
- style: Z(u.value),
6864
+ style: Z(c.value),
6865
6865
  id: "popmask" + t.id
6866
6866
  }, [
6867
6867
  D(s.$slots, "default", {}, void 0, !0)
6868
- ], 12, Vu)) : F("", !0)
6868
+ ], 12, Vc)) : F("", !0)
6869
6869
  ], 64));
6870
6870
  }
6871
- }), Yu = /* @__PURE__ */ N(Nu, [["__scopeId", "data-v-30d858fb"]]), Xu = { class: "as-pop-content-txt" }, Ku = {
6871
+ }), Yc = /* @__PURE__ */ N(Nc, [["__scopeId", "data-v-30d858fb"]]), Xc = { class: "as-pop-content-txt" }, Kc = {
6872
6872
  key: 0,
6873
6873
  class: "as-pop-content-btns"
6874
- }, Ju = ["onPointerup"], Gu = /* @__PURE__ */ A({
6874
+ }, Jc = ["onPointerup"], Gc = /* @__PURE__ */ A({
6875
6875
  __name: "PopBoxContent",
6876
6876
  props: {
6877
6877
  ujt: {},
@@ -6879,36 +6879,36 @@ const yt = {
6879
6879
  },
6880
6880
  setup(t) {
6881
6881
  const e = t, { $global: o, $fn: n } = e.ujt, a = X(() => {
6882
- const u = {};
6883
- return o.pop[e.id]?.nooverflow || (u.overflow = o.pop[e.id]?.conoverflow || "auto"), u;
6882
+ const c = {};
6883
+ return o.pop[e.id]?.nooverflow || (c.overflow = o.pop[e.id]?.conoverflow || "auto"), c;
6884
6884
  });
6885
- return (u, s) => (p(), f(U, null, [
6885
+ return (c, s) => (p(), f(U, null, [
6886
6886
  r("div", {
6887
6887
  class: "as-pop-content",
6888
6888
  style: Z(a.value)
6889
6889
  }, [
6890
- D(u.$slots, "default", {}, () => [
6891
- r("div", Xu, v(l(o).pop[e.id]?.con || ""), 1)
6890
+ D(c.$slots, "default", {}, () => [
6891
+ r("div", Xc, v(l(o).pop[e.id]?.con || ""), 1)
6892
6892
  ], !0)
6893
6893
  ], 4),
6894
- l(o).pop[e.id]?.btns?.length ? (p(), f("div", Ku, [
6894
+ l(o).pop[e.id]?.btns?.length ? (p(), f("div", Kc, [
6895
6895
  (p(!0), f(U, null, G(l(o).pop[e.id].btns, (i, d) => (p(), f(U, null, [
6896
6896
  i.fn ? (p(), f("div", {
6897
6897
  key: 0,
6898
6898
  onTouchstart: s[0] || (s[0] = V(
6899
6899
  //@ts-ignore
6900
- (...c) => l(n).As.eStop && l(n).As.eStop(...c),
6900
+ (...u) => l(n).As.eStop && l(n).As.eStop(...u),
6901
6901
  ["stop"]
6902
6902
  )),
6903
6903
  onPointerdown: s[1] || (s[1] = V(
6904
6904
  //@ts-ignore
6905
- (...c) => l(n).As.eStop && l(n).As.eStop(...c),
6905
+ (...u) => l(n).As.eStop && l(n).As.eStop(...u),
6906
6906
  ["stop"]
6907
6907
  )),
6908
- onPointerup: V((c) => i.fn(), ["stop"]),
6908
+ onPointerup: V((u) => i.fn(), ["stop"]),
6909
6909
  class: J(d ? "" : "cur"),
6910
6910
  style: Z(`${i.bg ? `background-color: ${i.bg};` : ""}`)
6911
- }, v(i.nm), 47, Ju)) : (p(), f("div", {
6911
+ }, v(i.nm), 47, Jc)) : (p(), f("div", {
6912
6912
  key: 1,
6913
6913
  class: J(d ? "nofn" : "cur nofn"),
6914
6914
  style: Z(`${i.bg ? `background-color: ${i.bg};` : ""}`)
@@ -6917,10 +6917,10 @@ const yt = {
6917
6917
  ])) : F("", !0)
6918
6918
  ], 64));
6919
6919
  }
6920
- }), Zu = /* @__PURE__ */ N(Gu, [["__scopeId", "data-v-5b386073"]]), Qu = { class: "as-pop-bar" }, ec = {
6920
+ }), Zc = /* @__PURE__ */ N(Gc, [["__scopeId", "data-v-5b386073"]]), Qc = { class: "as-pop-bar" }, eu = {
6921
6921
  key: 0,
6922
6922
  class: "as-pop-opts"
6923
- }, tc = /* @__PURE__ */ A({
6923
+ }, tu = /* @__PURE__ */ A({
6924
6924
  __name: "PopBoxBar",
6925
6925
  props: {
6926
6926
  ujt: {},
@@ -6931,10 +6931,10 @@ const yt = {
6931
6931
  function n() {
6932
6932
  o.pop[e.id]?.closepop && typeof o.pop[e.id].closepop == "function" ? o.pop[e.id].closepop() : o.pop[e.id].stat = 0;
6933
6933
  }
6934
- return (a, u) => {
6934
+ return (a, c) => {
6935
6935
  const s = z("AsSvg");
6936
6936
  return p(), f(U, null, [
6937
- r("div", Qu, [
6937
+ r("div", Qc, [
6938
6938
  l(o).pop[e.id].ico ? (p(), Y(s, {
6939
6939
  key: 0,
6940
6940
  color: "var(--ch8)",
@@ -6943,15 +6943,15 @@ const yt = {
6943
6943
  }, null, 8, ["src"])) : F("", !0),
6944
6944
  oe(" " + v(l(o).pop[e.id].tit || ""), 1)
6945
6945
  ]),
6946
- l(o).pop[e.id]?.noclose ? F("", !0) : (p(), f("div", ec, [
6946
+ l(o).pop[e.id]?.noclose ? F("", !0) : (p(), f("div", eu, [
6947
6947
  r("div", {
6948
- onPointerdown: u[0] || (u[0] = V((i) => n(), ["stop", "prevent"]))
6948
+ onPointerdown: c[0] || (c[0] = V((i) => n(), ["stop", "prevent"]))
6949
6949
  }, "×", 32)
6950
6950
  ]))
6951
6951
  ], 64);
6952
6952
  };
6953
6953
  }
6954
- }), oc = /* @__PURE__ */ N(tc, [["__scopeId", "data-v-03ef5bca"]]), nc = ["id"], ac = ["id"], sc = ["id"], lc = /* @__PURE__ */ A({
6954
+ }), ou = /* @__PURE__ */ N(tu, [["__scopeId", "data-v-03ef5bca"]]), nu = ["id"], au = ["id"], su = ["id"], lu = /* @__PURE__ */ A({
6955
6955
  __name: "PopBoxMain",
6956
6956
  props: {
6957
6957
  ujt: {},
@@ -6967,7 +6967,7 @@ const yt = {
6967
6967
  s && (a.w = s?.offsetWidth, a.h = s?.offsetHeight);
6968
6968
  }
6969
6969
  });
6970
- const u = X(() => {
6970
+ const c = X(() => {
6971
6971
  let s = o.pop[e.id]?.popstyle || {};
6972
6972
  return s = {
6973
6973
  width: o.pop[e.id]?.width || "380px",
@@ -6993,32 +6993,32 @@ const yt = {
6993
6993
  return l(o).pop[e.id].noresize ? (p(), f("div", {
6994
6994
  key: 0,
6995
6995
  class: "as-pop-area",
6996
- style: Z(u.value),
6996
+ style: Z(c.value),
6997
6997
  id: "pop" + t.id
6998
6998
  }, [
6999
6999
  D(s.$slots, "default", {}, void 0, !0)
7000
- ], 12, nc)) : l(o).pop[e.id].full == 2 ? K((p(), f("div", {
7000
+ ], 12, nu)) : l(o).pop[e.id].full == 2 ? K((p(), f("div", {
7001
7001
  key: 1,
7002
7002
  class: "as-pop-area",
7003
- style: Z(u.value),
7003
+ style: Z(c.value),
7004
7004
  id: "pop" + t.id
7005
7005
  }, [
7006
7006
  D(s.$slots, "default", {}, void 0, !0)
7007
- ], 12, ac)), [
7007
+ ], 12, au)), [
7008
7008
  [d, { ujt: t.ujt, scale: 1 }]
7009
7009
  ]) : K((p(), f("div", {
7010
7010
  key: 2,
7011
7011
  class: "as-pop-area",
7012
- style: Z(u.value),
7012
+ style: Z(c.value),
7013
7013
  id: "pop" + t.id
7014
7014
  }, [
7015
7015
  D(s.$slots, "default", {}, void 0, !0)
7016
- ], 12, sc)), [
7016
+ ], 12, su)), [
7017
7017
  [d, { ujt: t.ujt }]
7018
7018
  ]);
7019
7019
  };
7020
7020
  }
7021
- }), ic = /* @__PURE__ */ N(lc, [["__scopeId", "data-v-7a2111d5"]]), rc = ["id"], uc = ["id"], cc = ["id"], dc = ["id"], pc = /* @__PURE__ */ A({
7021
+ }), iu = /* @__PURE__ */ N(lu, [["__scopeId", "data-v-7a2111d5"]]), ru = ["id"], cu = ["id"], uu = ["id"], du = ["id"], pu = /* @__PURE__ */ A({
7022
7022
  __name: "PopBoxDragBar",
7023
7023
  props: {
7024
7024
  ujt: {},
@@ -7027,21 +7027,21 @@ const yt = {
7027
7027
  setup(t) {
7028
7028
  const e = t, { $global: o } = e.ujt;
7029
7029
  return (n, a) => {
7030
- const u = ge("drag"), s = ge("dragzoom");
7030
+ const c = ge("drag"), s = ge("dragzoom");
7031
7031
  return l(o).pop[e.id].notit ? (p(), f(U, { key: 0 }, [], 64)) : l(o).pop[e.id].nodrag ? (p(), f("div", {
7032
7032
  key: 1,
7033
7033
  class: "as-pop-drag-bar",
7034
7034
  id: "popbar" + t.id
7035
7035
  }, [
7036
7036
  D(n.$slots, "default", {}, void 0, !0)
7037
- ], 8, rc)) : l(o).pop[e.id].full == 2 ? K((p(), f("div", {
7037
+ ], 8, ru)) : l(o).pop[e.id].full == 2 ? K((p(), f("div", {
7038
7038
  key: 2,
7039
7039
  class: "as-pop-drag-bar",
7040
7040
  id: "popbar" + t.id
7041
7041
  }, [
7042
7042
  D(n.$slots, "default", {}, void 0, !0)
7043
- ], 8, uc)), [
7044
- [u, {
7043
+ ], 8, cu)), [
7044
+ [c, {
7045
7045
  domarea: "pop" + t.id,
7046
7046
  dommask: "popmask" + t.id
7047
7047
  }]
@@ -7051,7 +7051,7 @@ const yt = {
7051
7051
  id: "popbar" + t.id
7052
7052
  }, [
7053
7053
  D(n.$slots, "default", {}, void 0, !0)
7054
- ], 8, cc)), [
7054
+ ], 8, uu)), [
7055
7055
  [s, {
7056
7056
  ujt: t.ujt,
7057
7057
  dom: "popbar" + t.id,
@@ -7067,7 +7067,7 @@ const yt = {
7067
7067
  id: "popbar" + t.id
7068
7068
  }, [
7069
7069
  D(n.$slots, "default", {}, void 0, !0)
7070
- ], 8, dc)), [
7070
+ ], 8, du)), [
7071
7071
  [s, {
7072
7072
  ujt: t.ujt,
7073
7073
  dom: "popbar" + t.id,
@@ -7080,7 +7080,7 @@ const yt = {
7080
7080
  ]);
7081
7081
  };
7082
7082
  }
7083
- }), mc = /* @__PURE__ */ N(pc, [["__scopeId", "data-v-d58c6048"]]), fc = /* @__PURE__ */ A({
7083
+ }), mu = /* @__PURE__ */ N(pu, [["__scopeId", "data-v-d58c6048"]]), fu = /* @__PURE__ */ A({
7084
7084
  __name: "PopBox",
7085
7085
  props: {
7086
7086
  ujt: {},
@@ -7093,31 +7093,31 @@ const yt = {
7093
7093
  const e = t, { $global: o } = e.ujt;
7094
7094
  return e.id || (e.id = "popdefault"), o.pop[e.id] || (o.pop[e.id] = {}), e.full && !o.pop[e.id].full && (o.pop[e.id].full = e.full), e.maskstyle && !o.pop[e.id].maskstyle && (o.pop[e.id].maskstyle = e.maskstyle), e.popstyle && !o.pop[e.id].popstyle && (o.pop[e.id].popstyle = e.popstyle), ve(() => {
7095
7095
  o.pop[e.id] = {};
7096
- }), (n, a) => l(o).pop[e.id].stat ? (p(), Y(Yu, {
7096
+ }), (n, a) => l(o).pop[e.id].stat ? (p(), Y(Yc, {
7097
7097
  key: 0,
7098
7098
  ujt: t.ujt,
7099
7099
  id: t.id
7100
7100
  }, {
7101
7101
  default: ne(() => [
7102
- (p(), Y(ut, null, [
7103
- R(ic, {
7102
+ (p(), Y(ct, null, [
7103
+ R(iu, {
7104
7104
  ujt: t.ujt,
7105
7105
  id: t.id
7106
7106
  }, {
7107
7107
  default: ne(() => [
7108
- R(mc, {
7108
+ R(mu, {
7109
7109
  ujt: t.ujt,
7110
7110
  id: t.id
7111
7111
  }, {
7112
7112
  default: ne(() => [
7113
- R(oc, {
7113
+ R(ou, {
7114
7114
  ujt: t.ujt,
7115
7115
  id: t.id
7116
7116
  }, null, 8, ["ujt", "id"])
7117
7117
  ]),
7118
7118
  _: 1
7119
7119
  }, 8, ["ujt", "id"]),
7120
- R(Zu, {
7120
+ R(Zc, {
7121
7121
  ujt: t.ujt,
7122
7122
  id: t.id
7123
7123
  }, {
@@ -7134,10 +7134,10 @@ const yt = {
7134
7134
  _: 3
7135
7135
  }, 8, ["ujt", "id"])) : F("", !0);
7136
7136
  }
7137
- }), hc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7137
+ }), hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7138
7138
  __proto__: null,
7139
- default: fc
7140
- }, Symbol.toStringTag, { value: "Module" })), gc = /* @__PURE__ */ A({
7139
+ default: fu
7140
+ }, Symbol.toStringTag, { value: "Module" })), gu = /* @__PURE__ */ A({
7141
7141
  __name: "PopBoxConfirm",
7142
7142
  props: {
7143
7143
  ujt: {},
@@ -7162,8 +7162,8 @@ const yt = {
7162
7162
  }
7163
7163
  }
7164
7164
  ]), (n, a) => {
7165
- const u = z("PopBox");
7166
- return p(), Y(u, {
7165
+ const c = z("PopBox");
7166
+ return p(), Y(c, {
7167
7167
  ujt: t.ujt,
7168
7168
  id: t.id,
7169
7169
  full: t.full,
@@ -7172,10 +7172,10 @@ const yt = {
7172
7172
  }, null, 8, ["ujt", "id", "full", "popstyle", "maskstyle"]);
7173
7173
  };
7174
7174
  }
7175
- }), vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7175
+ }), vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7176
7176
  __proto__: null,
7177
- default: gc
7178
- }, Symbol.toStringTag, { value: "Module" })), yc = { class: "as-pop-pass" }, bc = /* @__PURE__ */ A({
7177
+ default: gu
7178
+ }, Symbol.toStringTag, { value: "Module" })), yu = { class: "as-pop-pass" }, bu = /* @__PURE__ */ A({
7179
7179
  __name: "PopBoxConfirmPass",
7180
7180
  props: {
7181
7181
  ujt: {},
@@ -7203,7 +7203,7 @@ const yt = {
7203
7203
  o.pop[e.id].stat = 0;
7204
7204
  }
7205
7205
  }
7206
- ]), (a, u) => {
7206
+ ]), (a, c) => {
7207
7207
  const s = z("PopBox");
7208
7208
  return p(), Y(s, {
7209
7209
  ujt: t.ujt,
@@ -7214,13 +7214,13 @@ const yt = {
7214
7214
  }, {
7215
7215
  default: ne(() => [
7216
7216
  D(a.$slots, "default", {}, () => [
7217
- r("div", yc, [
7217
+ r("div", yu, [
7218
7218
  r("p", null, v(l(n).lg("asai.confirmpassword")), 1),
7219
7219
  r("p", null, [
7220
7220
  K(r("input", {
7221
7221
  type: "password",
7222
7222
  "show-password": "",
7223
- "onUpdate:modelValue": u[0] || (u[0] = (i) => l(o).pop[e.id].pass = i)
7223
+ "onUpdate:modelValue": c[0] || (c[0] = (i) => l(o).pop[e.id].pass = i)
7224
7224
  }, null, 512), [
7225
7225
  [le, l(o).pop[e.id].pass]
7226
7226
  ])
@@ -7232,10 +7232,10 @@ const yt = {
7232
7232
  }, 8, ["ujt", "id", "full", "popstyle", "maskstyle"]);
7233
7233
  };
7234
7234
  }
7235
- }), _c = /* @__PURE__ */ N(bc, [["__scopeId", "data-v-6dbdffb6"]]), $c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7235
+ }), _u = /* @__PURE__ */ N(bu, [["__scopeId", "data-v-6dbdffb6"]]), $u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7236
7236
  __proto__: null,
7237
- default: _c
7238
- }, Symbol.toStringTag, { value: "Module" })), wc = { class: "as-pop-drop-area" }, kc = ["id"], jc = /* @__PURE__ */ A({
7237
+ default: _u
7238
+ }, Symbol.toStringTag, { value: "Module" })), wu = { class: "as-pop-drop-area" }, ku = ["id"], ju = /* @__PURE__ */ A({
7239
7239
  __name: "PopDrop",
7240
7240
  props: {
7241
7241
  ujt: {},
@@ -7260,7 +7260,7 @@ const yt = {
7260
7260
  class: J(l(o).pop[e.id]?.css + " as-pop-drop")
7261
7261
  }, [
7262
7262
  l(o).pop[e.id].stat && l(o).pop[e.id].popstyle?.top != 0 ? D(n.$slots, "poparea", { key: 0 }, () => [
7263
- r("div", wc, [
7263
+ r("div", wu, [
7264
7264
  r("div", {
7265
7265
  class: "as-pop-drop-pop",
7266
7266
  style: Z(l(o).pop[e.id].popstyle)
@@ -7274,7 +7274,7 @@ const yt = {
7274
7274
  D(n.$slots, "desarea", {}, () => [
7275
7275
  r("div", {
7276
7276
  class: "as-pop-drop-des",
7277
- onPointerdown: a[0] || (a[0] = V((u) => l(o).pop[e.id].stat = l(o).pop[e.id].stat ? 0 : 1, ["stop"]))
7277
+ onPointerdown: a[0] || (a[0] = V((c) => l(o).pop[e.id].stat = l(o).pop[e.id].stat ? 0 : 1, ["stop"]))
7278
7278
  }, [
7279
7279
  D(n.$slots, "des", {}, () => [
7280
7280
  oe(v(l(o).pop[e.id].des || ""), 1)
@@ -7294,20 +7294,20 @@ const yt = {
7294
7294
  oe(v(l(o).pop[e.id].con || ""), 1)
7295
7295
  ], !0)
7296
7296
  ], 4)
7297
- ], 8, kc)
7297
+ ], 8, ku)
7298
7298
  ], !0) : F("", !0),
7299
7299
  l(o).pop[e.id].stat ? (p(), f("div", {
7300
7300
  key: 2,
7301
7301
  class: "as-pop-drop-mask",
7302
7302
  style: Z(l(o).pop[e.id].maskstyle),
7303
- onPointerdown: a[1] || (a[1] = V((u) => l(o).pop[e.id].stat = 0, ["stop"]))
7303
+ onPointerdown: a[1] || (a[1] = V((c) => l(o).pop[e.id].stat = 0, ["stop"]))
7304
7304
  }, null, 36)) : F("", !0)
7305
7305
  ], 2));
7306
7306
  }
7307
- }), Sc = /* @__PURE__ */ N(jc, [["__scopeId", "data-v-9191c452"]]), xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7307
+ }), Su = /* @__PURE__ */ N(ju, [["__scopeId", "data-v-9191c452"]]), xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7308
7308
  __proto__: null,
7309
- default: Sc
7310
- }, Symbol.toStringTag, { value: "Module" })), Pc = /* @__PURE__ */ A({
7309
+ default: Su
7310
+ }, Symbol.toStringTag, { value: "Module" })), Pu = /* @__PURE__ */ A({
7311
7311
  __name: "PopMod",
7312
7312
  props: {
7313
7313
  ujt: {},
@@ -7335,7 +7335,7 @@ const yt = {
7335
7335
  r("div", {
7336
7336
  class: "as-pop-mod-mask",
7337
7337
  style: Z(l(o).pop[e.id].maskstyle),
7338
- onPointerdown: a[0] || (a[0] = (u) => l(o).pop[e.id].stat = 0)
7338
+ onPointerdown: a[0] || (a[0] = (c) => l(o).pop[e.id].stat = 0)
7339
7339
  }, null, 36),
7340
7340
  r("div", {
7341
7341
  class: "as-pop-mod-pop",
@@ -7345,19 +7345,19 @@ const yt = {
7345
7345
  ], 4)
7346
7346
  ], 64)) : F("", !0);
7347
7347
  }
7348
- }), Cc = /* @__PURE__ */ N(Pc, [["__scopeId", "data-v-2439c68f"]]), Oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7348
+ }), Cu = /* @__PURE__ */ N(Pu, [["__scopeId", "data-v-2439c68f"]]), Ou = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7349
7349
  __proto__: null,
7350
- default: Cc
7351
- }, Symbol.toStringTag, { value: "Module" })), Ac = { class: "as-pop-msg-list" }, Mc = { class: "as-pop-msg-li" }, Tc = {
7350
+ default: Cu
7351
+ }, Symbol.toStringTag, { value: "Module" })), Au = { class: "as-pop-msg-list" }, Mu = { class: "as-pop-msg-li" }, Tu = {
7352
7352
  key: 0,
7353
7353
  class: "as-pop-msg-tit"
7354
- }, zc = {
7354
+ }, zu = {
7355
7355
  key: 1,
7356
7356
  class: "as-pop-msg-con"
7357
- }, Lc = {
7357
+ }, Lu = {
7358
7358
  key: 2,
7359
7359
  class: "as-pop-msg-tm"
7360
- }, Ec = ["title"], Uc = /* @__PURE__ */ A({
7360
+ }, Eu = ["title"], Uu = /* @__PURE__ */ A({
7361
7361
  __name: "PopMsg",
7362
7362
  props: {
7363
7363
  ujt: {}
@@ -7379,51 +7379,51 @@ const yt = {
7379
7379
  }, s?.time || 3e3)), i)
7380
7380
  return i;
7381
7381
  }
7382
- function u() {
7382
+ function c() {
7383
7383
  let s = o.msg.data.length;
7384
7384
  for (; s--; )
7385
7385
  a(1);
7386
7386
  }
7387
7387
  return _e(() => {
7388
- u();
7388
+ c();
7389
7389
  }), (s, i) => l(o).msg.data?.length ? (p(), f("div", {
7390
7390
  key: 0,
7391
7391
  class: "as-pop-msg-area",
7392
7392
  style: Z(l(o).msg.data?.maskstyle || {}),
7393
- onPointerdown: i[0] || (i[0] = (d) => u()),
7393
+ onPointerdown: i[0] || (i[0] = (d) => c()),
7394
7394
  onTouchstart: i[1] || (i[1] = //@ts-ignore
7395
7395
  (...d) => l(n).As.eStop && l(n).As.eStop(...d))
7396
7396
  }, [
7397
- r("div", Ac, [
7398
- (p(!0), f(U, null, G(l(o).msg.data, (d) => (p(), f("div", Mc, [
7397
+ r("div", Au, [
7398
+ (p(!0), f(U, null, G(l(o).msg.data, (d) => (p(), f("div", Mu, [
7399
7399
  r("div", {
7400
7400
  class: J("as-pop-msg" + (d?.type || ""))
7401
7401
  }, [
7402
- d?.tit ? (p(), f("div", Tc, v(d.tit), 1)) : F("", !0),
7403
- d?.con ? (p(), f("div", zc, v(d.con), 1)) : F("", !0),
7404
- d?.tm ? (p(), f("div", Lc, " [" + v(d.tm) + "] ", 1)) : F("", !0)
7402
+ d?.tit ? (p(), f("div", Tu, v(d.tit), 1)) : F("", !0),
7403
+ d?.con ? (p(), f("div", zu, v(d.con), 1)) : F("", !0),
7404
+ d?.tm ? (p(), f("div", Lu, " [" + v(d.tm) + "] ", 1)) : F("", !0)
7405
7405
  ], 2)
7406
7406
  ]))), 256))
7407
7407
  ]),
7408
7408
  r("div", {
7409
7409
  class: "as-pop-msg-btn",
7410
7410
  title: l(o)?.lang?.asai?.clear
7411
- }, "×", 8, Ec)
7411
+ }, "×", 8, Eu)
7412
7412
  ], 36)) : F("", !0);
7413
7413
  }
7414
- }), Ic = /* @__PURE__ */ N(Uc, [["__scopeId", "data-v-25e272c2"]]), Dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7414
+ }), Iu = /* @__PURE__ */ N(Uu, [["__scopeId", "data-v-25e272c2"]]), Du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7415
7415
  __proto__: null,
7416
- default: Ic
7417
- }, Symbol.toStringTag, { value: "Module" })), Rc = {
7416
+ default: Iu
7417
+ }, Symbol.toStringTag, { value: "Module" })), Ru = {
7418
7418
  key: 0,
7419
7419
  class: "as-pop-msg-tit"
7420
- }, Fc = {
7420
+ }, Fu = {
7421
7421
  key: 1,
7422
7422
  class: "as-pop-msg-con"
7423
- }, Wc = {
7423
+ }, Wu = {
7424
7424
  key: 2,
7425
7425
  class: "as-pop-msg-tm"
7426
- }, Hc = /* @__PURE__ */ A({
7426
+ }, Hu = /* @__PURE__ */ A({
7427
7427
  __name: "PopMsgOneByOne",
7428
7428
  props: {
7429
7429
  ujt: {}
@@ -7434,7 +7434,7 @@ const yt = {
7434
7434
  let s = function(i) {
7435
7435
  let d = null;
7436
7436
  if (i === 1 ? o?.msg?.data?.length && (d = o.msg.data.shift()) : (!o?.msg?.data?.length || !o?.msg?.data?.find(
7437
- (c) => c.con === i.con && c.tit === i.tit
7437
+ (u) => u.con === i.con && u.tit === i.tit
7438
7438
  )) && (i.tm = n.As.getTime(), o.msg.data.push(i)), n.As.localSet(o.msg.key, o.msg.data), d)
7439
7439
  return d;
7440
7440
  };
@@ -7451,34 +7451,34 @@ const yt = {
7451
7451
  function a() {
7452
7452
  o.msg.cur?.noclose || (o.msg.stat = 0, o.msg.bak.push(o.msg.fn(1)), o.msg.bak.length > 100 && o.msg.bak.splice(80), clearTimeout(o.msg.tm));
7453
7453
  }
7454
- const u = X(() => o.msg.data.length ? (o.msg.cur = o.msg.data[0], o.msg.stat || (o.msg.stat = 1, clearTimeout(o.msg.tm), o.msg.tm = setTimeout(() => {
7454
+ const c = X(() => o.msg.data.length ? (o.msg.cur = o.msg.data[0], o.msg.stat || (o.msg.stat = 1, clearTimeout(o.msg.tm), o.msg.tm = setTimeout(() => {
7455
7455
  a();
7456
7456
  }, o.msg.cur?.time || 3e3)), o.msg.cur) : null);
7457
7457
  if (!o.msg?.data?.length) {
7458
7458
  const s = n.As.toObj(n.As.localGet(o.msg.key));
7459
7459
  s && (o.msg.data = s);
7460
7460
  }
7461
- return (s, i) => u.value ? (p(), f("div", {
7461
+ return (s, i) => c.value ? (p(), f("div", {
7462
7462
  key: 0,
7463
7463
  class: "as-pop-msg-area",
7464
7464
  onPointerdown: i[0] || (i[0] = (d) => a()),
7465
7465
  onTouchstart: i[1] || (i[1] = //@ts-ignore
7466
7466
  (...d) => l(n).As.eStop && l(n).As.eStop(...d)),
7467
- style: Z(u.value?.maskstyle || {})
7467
+ style: Z(c.value?.maskstyle || {})
7468
7468
  }, [
7469
7469
  r("div", {
7470
- class: J("as-pop-msg" + (u.value?.type || ""))
7470
+ class: J("as-pop-msg" + (c.value?.type || ""))
7471
7471
  }, [
7472
- u.value?.tit ? (p(), f("div", Rc, v(u.value.tit), 1)) : F("", !0),
7473
- u.value?.con ? (p(), f("div", Fc, v(u.value.con), 1)) : F("", !0),
7474
- u.value?.tm ? (p(), f("div", Wc, " [" + v(u.value.tm) + "] ", 1)) : F("", !0)
7472
+ c.value?.tit ? (p(), f("div", Ru, v(c.value.tit), 1)) : F("", !0),
7473
+ c.value?.con ? (p(), f("div", Fu, v(c.value.con), 1)) : F("", !0),
7474
+ c.value?.tm ? (p(), f("div", Wu, " [" + v(c.value.tm) + "] ", 1)) : F("", !0)
7475
7475
  ], 2)
7476
7476
  ], 36)) : F("", !0);
7477
7477
  }
7478
- }), qc = /* @__PURE__ */ N(Hc, [["__scopeId", "data-v-07098c49"]]), Bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7478
+ }), qu = /* @__PURE__ */ N(Hu, [["__scopeId", "data-v-07098c49"]]), Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7479
7479
  __proto__: null,
7480
- default: qc
7481
- }, Symbol.toStringTag, { value: "Module" })), Vc = ["id"], Nc = /* @__PURE__ */ A({
7480
+ default: qu
7481
+ }, Symbol.toStringTag, { value: "Module" })), Vu = ["id"], Nu = /* @__PURE__ */ A({
7482
7482
  __name: "PopTip",
7483
7483
  props: {
7484
7484
  ujt: {},
@@ -7499,7 +7499,7 @@ const yt = {
7499
7499
  function a(s) {
7500
7500
  o.pop[e.id].popstyle.top = s.clientY + "px", o.pop[e.id].popstyle.left = s.clientX + "px", o.pop[e.id].popstyle.transform = `scale(${o.scale})`, o.pop[e.id].stat = o.pop[e.id].stat ? 0 : 1;
7501
7501
  }
7502
- function u() {
7502
+ function c() {
7503
7503
  o.pop[e.id].stat = 0;
7504
7504
  }
7505
7505
  return ve(() => {
@@ -7522,7 +7522,7 @@ const yt = {
7522
7522
  r("div", {
7523
7523
  class: "as-pop-tip-mask",
7524
7524
  style: Z(l(o).pop[e.id].maskstyle),
7525
- onPointerdown: i[1] || (i[1] = V((d) => u(), ["stop"])),
7525
+ onPointerdown: i[1] || (i[1] = V((d) => c(), ["stop"])),
7526
7526
  onTouchstart: i[2] || (i[2] = //@ts-ignore
7527
7527
  (...d) => l(n).As.eStop && l(n).As.eStop(...d))
7528
7528
  }, [
@@ -7536,18 +7536,18 @@ const yt = {
7536
7536
  D(s.$slots, "pop", {}, () => [
7537
7537
  oe(v(l(o).pop[e.id].con || ""), 1)
7538
7538
  ], !0)
7539
- ], 44, Vc)
7539
+ ], 44, Vu)
7540
7540
  ], 36)
7541
7541
  ])) : F("", !0)
7542
7542
  ], 2));
7543
7543
  }
7544
- }), Yc = /* @__PURE__ */ N(Nc, [["__scopeId", "data-v-94122ced"]]), Xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7544
+ }), Yu = /* @__PURE__ */ N(Nu, [["__scopeId", "data-v-94122ced"]]), Xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7545
7545
  __proto__: null,
7546
- default: Yc
7547
- }, Symbol.toStringTag, { value: "Module" })), Kc = {
7546
+ default: Yu
7547
+ }, Symbol.toStringTag, { value: "Module" })), Ku = {
7548
7548
  key: 0,
7549
7549
  class: "as-pop-tipconfirm-pop"
7550
- }, Jc = { class: "as-pop-tipconfirm-content" }, Gc = { class: "as-pop-tipconfirm-btns" }, Zc = /* @__PURE__ */ A({
7550
+ }, Ju = { class: "as-pop-tipconfirm-content" }, Gu = { class: "as-pop-tipconfirm-btns" }, Zu = /* @__PURE__ */ A({
7551
7551
  __name: "PopTipConfirm",
7552
7552
  props: {
7553
7553
  ujt: {},
@@ -7559,8 +7559,8 @@ const yt = {
7559
7559
  setup(t) {
7560
7560
  const e = t, { $global: o } = e.ujt;
7561
7561
  return e.id || (e.id = "popdefaulttipconfirm"), (n, a) => {
7562
- const u = z("PopTip");
7563
- return p(), Y(u, {
7562
+ const c = z("PopTip");
7563
+ return p(), Y(c, {
7564
7564
  ujt: t.ujt,
7565
7565
  id: t.id
7566
7566
  }, {
@@ -7568,11 +7568,11 @@ const yt = {
7568
7568
  D(n.$slots, "des", {}, void 0, !0)
7569
7569
  ]),
7570
7570
  pop: ne(() => [
7571
- l(o).pop[t.id].stat ? (p(), f("div", Kc, [
7572
- r("div", Jc, [
7571
+ l(o).pop[t.id].stat ? (p(), f("div", Ku, [
7572
+ r("div", Ju, [
7573
7573
  D(n.$slots, "pop", {}, void 0, !0)
7574
7574
  ]),
7575
- r("div", Gc, [
7575
+ r("div", Gu, [
7576
7576
  e.fn ? (p(), f("div", {
7577
7577
  key: 0,
7578
7578
  onPointerdown: a[0] || (a[0] = (s) => e.fn())
@@ -7588,9 +7588,9 @@ const yt = {
7588
7588
  }, 8, ["ujt", "id"]);
7589
7589
  };
7590
7590
  }
7591
- }), Qc = /* @__PURE__ */ N(Zc, [["__scopeId", "data-v-526e2ae5"]]), ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7591
+ }), Qu = /* @__PURE__ */ N(Zu, [["__scopeId", "data-v-526e2ae5"]]), ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7592
7592
  __proto__: null,
7593
- default: Qc
7593
+ default: Qu
7594
7594
  }, Symbol.toStringTag, { value: "Module" })), td = {
7595
7595
  key: 0,
7596
7596
  class: "as-usercard"
@@ -7602,7 +7602,7 @@ const yt = {
7602
7602
  },
7603
7603
  setup(t) {
7604
7604
  const e = t, { $fn: o, $global: n } = e.ujt, { initUserToken: a } = o.useInitUser(e.ujt, "webserver");
7605
- return a(), (u, s) => {
7605
+ return a(), (c, s) => {
7606
7606
  const i = z("AsSvg");
7607
7607
  return l(n).lang?.asai?.usercard ? (p(), f("div", td, [
7608
7608
  r("div", {
@@ -7633,17 +7633,17 @@ const yt = {
7633
7633
  }), nd = /* @__PURE__ */ N(od, [["__scopeId", "data-v-6cbcd0b9"]]), ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7634
7634
  __proto__: null,
7635
7635
  default: nd
7636
- }, Symbol.toStringTag, { value: "Module" })), sd = { class: "as-user-area-manage" }, ld = { class: "as-user" }, id = { key: 0 }, rd = { key: 1 }, ud = { class: "as-user-btns" }, cd = /* @__PURE__ */ A({
7636
+ }, Symbol.toStringTag, { value: "Module" })), sd = { class: "as-user-area-manage" }, ld = { class: "as-user" }, id = { key: 0 }, rd = { key: 1 }, cd = { class: "as-user-btns" }, ud = /* @__PURE__ */ A({
7637
7637
  __name: "UserDelManage",
7638
7638
  props: {
7639
7639
  ujt: {}
7640
7640
  },
7641
7641
  setup(t) {
7642
7642
  const e = t, { $db: o, $fn: n } = e.ujt, { delUser: a } = n.useUser(e);
7643
- return a(), (u, s) => (p(), f("div", sd, [
7643
+ return a(), (c, s) => (p(), f("div", sd, [
7644
7644
  r("div", ld, [
7645
7645
  l(o).channeluser.cur.msg ? (p(), f("h1", id, v(l(o).channeluser.cur.msg), 1)) : (p(), f("h1", rd, v(l(n).lg("channeluser.ui.delok")), 1)),
7646
- r("div", ud, [
7646
+ r("div", cd, [
7647
7647
  r("div", {
7648
7648
  class: "cur",
7649
7649
  onPointerdown: s[0] || (s[0] = (i) => l(n).sethash("user/manage/list/"))
@@ -7654,7 +7654,7 @@ const yt = {
7654
7654
  }
7655
7655
  }), dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7656
7656
  __proto__: null,
7657
- default: cd
7657
+ default: ud
7658
7658
  }, Symbol.toStringTag, { value: "Module" })), pd = { class: "as-user-area" }, md = { class: "as-user" }, fd = { class: "as-user-btns" }, hd = /* @__PURE__ */ A({
7659
7659
  __name: "UserEdit",
7660
7660
  props: {
@@ -7662,9 +7662,9 @@ const yt = {
7662
7662
  },
7663
7663
  setup(t) {
7664
7664
  const e = t, { $db: o, $fn: n } = e.ujt, { userEdit: a } = n.useUser(e);
7665
- return (u, s) => (p(), f("div", pd, [
7665
+ return (c, s) => (p(), f("div", pd, [
7666
7666
  r("div", md, [
7667
- D(u.$slots, "tit"),
7667
+ D(c.$slots, "tit"),
7668
7668
  r("label", null, [
7669
7669
  r("div", null, v(l(n).lg("channeluser.ui.pw")) + ":", 1),
7670
7670
  K(r("input", {
@@ -7697,7 +7697,7 @@ const yt = {
7697
7697
  class: "cur",
7698
7698
  onPointerdown: s[3] || (s[3] = (i) => l(a)())
7699
7699
  }, v(l(n).lg("channeluser.ui.edit")), 33),
7700
- D(u.$slots, "btn")
7700
+ D(c.$slots, "btn")
7701
7701
  ])
7702
7702
  ])
7703
7703
  ]));
@@ -7711,8 +7711,8 @@ const yt = {
7711
7711
  ujt: {}
7712
7712
  },
7713
7713
  setup(t) {
7714
- const e = t, { $db: o, $global: n, $fn: a } = e.ujt, { editUser: u, initUser: s, cmLvList: i } = a.useUser(e);
7715
- return s(), (d, c) => (p(), f("div", vd, [
7714
+ const e = t, { $db: o, $global: n, $fn: a } = e.ujt, { editUser: c, initUser: s, cmLvList: i } = a.useUser(e);
7715
+ return s(), (d, u) => (p(), f("div", vd, [
7716
7716
  r("div", yd, [
7717
7717
  D(d.$slots, "tit"),
7718
7718
  r("label", null, [
@@ -7724,7 +7724,7 @@ const yt = {
7724
7724
  r("div", null, v(l(a).lg("channeluser.data.pw")) + ":", 1),
7725
7725
  K(r("input", {
7726
7726
  type: "password",
7727
- "onUpdate:modelValue": c[0] || (c[0] = (m) => l(o).channeluser.cur.pw = m)
7727
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => l(o).channeluser.cur.pw = m)
7728
7728
  }, null, 512), [
7729
7729
  [le, l(o).channeluser.cur.pw]
7730
7730
  ])
@@ -7732,7 +7732,7 @@ const yt = {
7732
7732
  l(o).channeluser.cur.us !== l(n).user?.info?.us ? (p(), f("label", bd, [
7733
7733
  r("div", null, v(l(a).lg("channeluser.data.lv")) + ":", 1),
7734
7734
  K(r("select", {
7735
- "onUpdate:modelValue": c[1] || (c[1] = (m) => l(o).channeluser.cur.lv = m)
7735
+ "onUpdate:modelValue": u[1] || (u[1] = (m) => l(o).channeluser.cur.lv = m)
7736
7736
  }, [
7737
7737
  (p(!0), f(U, null, G(l(i), (m) => (p(), f("option", {
7738
7738
  key: "lv" + m[0],
@@ -7745,7 +7745,7 @@ const yt = {
7745
7745
  r("div", $d, [
7746
7746
  r("div", {
7747
7747
  class: "cur",
7748
- onPointerdown: c[2] || (c[2] = (m) => l(u)())
7748
+ onPointerdown: u[2] || (u[2] = (m) => l(c)())
7749
7749
  }, v(l(a).lg("channeluser.ui.edit")), 33),
7750
7750
  D(d.$slots, "btn")
7751
7751
  ])
@@ -7768,9 +7768,9 @@ const yt = {
7768
7768
  },
7769
7769
  setup(t) {
7770
7770
  const e = t, { $fn: o, $global: n } = e.ujt, { userExit: a } = o.useUser(e);
7771
- return a(), (u, s) => (p(), f("div", xd, [
7771
+ return a(), (c, s) => (p(), f("div", xd, [
7772
7772
  r("div", Pd, [
7773
- D(u.$slots, "tit"),
7773
+ D(c.$slots, "tit"),
7774
7774
  r("div", Cd, [
7775
7775
  r("div", {
7776
7776
  class: "cur",
@@ -7778,7 +7778,7 @@ const yt = {
7778
7778
  l(n).sys?.router?.config?.login || "user/login"
7779
7779
  ))
7780
7780
  }, v(l(o).lg("channeluser.ui.login")), 33),
7781
- D(u.$slots, "btn")
7781
+ D(c.$slots, "btn")
7782
7782
  ])
7783
7783
  ])
7784
7784
  ]));
@@ -7802,14 +7802,14 @@ const yt = {
7802
7802
  showtype: {}
7803
7803
  },
7804
7804
  setup(t) {
7805
- const e = t, { $fn: o, $db: n, $global: a } = e.ujt, { fetchContent: u, setPage: s, delUser: i } = o.useUser(e);
7806
- n.channeluser.fetch = u, n.channeluser.setpage = s, fe(() => {
7807
- u(0);
7805
+ const e = t, { $fn: o, $db: n, $global: a } = e.ujt, { fetchContent: c, setPage: s, delUser: i } = o.useUser(e);
7806
+ n.channeluser.fetch = c, n.channeluser.setpage = s, fe(() => {
7807
+ c(0);
7808
7808
  }), n.channeluser.cmPageSize = X(() => Number(a.location.query?.ps) || n.channeluser.config?.ps || 5);
7809
7809
  function d(h) {
7810
7810
  n.channeluser.cur.us = "", n.channeluser.cur.pw = "", n.channeluser.cur.lv = 0, a.pop.popdefaultconfirm.stat = 1, a.pop.popdefaultconfirm.full = 1, a.pop.popdefaultconfirm.con = a.lang.channeluser.ui.del + " " + h.us, a.pop.popdefaultconfirm.fn = () => i(h.us);
7811
7811
  }
7812
- function c(h) {
7812
+ function u(h) {
7813
7813
  o.setquery({ us: h.us }, 1), n.channeluser.cur.us = h.us, n.channeluser.cur.pw = h.pw, n.channeluser.cur.lv = h.lv, a.pop.popedituser.stat = 1, a.pop.popedituser.tit = a.lang.channeluser.ui.edit + " " + h.us;
7814
7814
  }
7815
7815
  const m = X(() => (n?.channeluser?.list || []).filter((h) => +h?.lv <= +a.user?.info?.lv));
@@ -7856,7 +7856,7 @@ const yt = {
7856
7856
  r("div", Rd, v(l(a).lang.channeluser.lv[x.lv]), 1),
7857
7857
  +x.lv < l(a).user?.info?.lv ? (p(), f("div", Fd, [
7858
7858
  r("div", {
7859
- onPointerdown: (M) => c(x)
7859
+ onPointerdown: (M) => u(x)
7860
7860
  }, v(l(o).lg("channeluser.ui.edit")), 41, Wd),
7861
7861
  r("div", {
7862
7862
  onPointerdown: (M) => d(x)
@@ -7884,12 +7884,12 @@ const yt = {
7884
7884
  ujt: {}
7885
7885
  },
7886
7886
  setup(t) {
7887
- const e = t, { $db: o, $fn: n, $global: a } = e.ujt, { userLogin: u } = n.useUser(e);
7887
+ const e = t, { $db: o, $fn: n, $global: a } = e.ujt, { userLogin: c } = n.useUser(e);
7888
7888
  return (s, i) => (p(), f("div", Yd, [
7889
7889
  r("div", Xd, [
7890
7890
  D(s.$slots, "tit"),
7891
7891
  D(s.$slots, "form", {
7892
- opt: { userLogin: l(u) }
7892
+ opt: { userLogin: l(c) }
7893
7893
  }, () => [
7894
7894
  r("label", null, [
7895
7895
  r("div", null, v(l(a).lang.channeluser.data.us) + ":", 1),
@@ -7911,7 +7911,7 @@ const yt = {
7911
7911
  r("div", Kd, [
7912
7912
  r("div", {
7913
7913
  class: "cur",
7914
- onPointerdown: i[2] || (i[2] = (d) => l(u)())
7914
+ onPointerdown: i[2] || (i[2] = (d) => l(c)())
7915
7915
  }, v(l(a).lang.channeluser.ui.login), 33),
7916
7916
  D(s.$slots, "btn")
7917
7917
  ])
@@ -7929,13 +7929,13 @@ const yt = {
7929
7929
  showtype: {}
7930
7930
  },
7931
7931
  setup(t) {
7932
- const e = t, { $fn: o, $db: n, $global: a } = e.ujt, { initUserChannel: u } = o.useUser(e);
7933
- u();
7932
+ const e = t, { $fn: o, $db: n, $global: a } = e.ujt, { initUserChannel: c } = o.useUser(e);
7933
+ c();
7934
7934
  function s() {
7935
7935
  n.channeluser.cur.us = "", n.channeluser.cur.pw = "", n.channeluser.cur.lv = 0, a.pop.popadduser.stat = 1, a.pop.popadduser.tit = a.lang.channeluser.ui.add;
7936
7936
  }
7937
7937
  return (i, d) => {
7938
- const c = z("UserRegManage"), m = z("PopBox"), h = z("UserListManage");
7938
+ const u = z("UserRegManage"), m = z("PopBox"), h = z("UserListManage");
7939
7939
  return p(), f(U, null, [
7940
7940
  R(m, {
7941
7941
  ujt: t.ujt,
@@ -7943,7 +7943,7 @@ const yt = {
7943
7943
  full: 1
7944
7944
  }, {
7945
7945
  default: ne(() => [
7946
- l(a).pop.popadduser?.stat ? (p(), Y(c, {
7946
+ l(a).pop.popadduser?.stat ? (p(), Y(u, {
7947
7947
  key: 0,
7948
7948
  ujt: t.ujt
7949
7949
  }, {
@@ -7961,7 +7961,7 @@ const yt = {
7961
7961
  key: 0,
7962
7962
  ujt: t.ujt,
7963
7963
  showtype: t.showtype
7964
- }, ct({
7964
+ }, ut({
7965
7965
  btn: ne(() => [
7966
7966
  r("div", Zd, [
7967
7967
  r("div", {
@@ -8001,9 +8001,9 @@ const yt = {
8001
8001
  },
8002
8002
  setup(t) {
8003
8003
  const e = t, { $db: o, $fn: n } = e.ujt, { userReg: a } = n.useUser(e);
8004
- return (u, s) => (p(), f("div", tp, [
8004
+ return (c, s) => (p(), f("div", tp, [
8005
8005
  r("div", op, [
8006
- D(u.$slots, "tit"),
8006
+ D(c.$slots, "tit"),
8007
8007
  r("label", null, [
8008
8008
  r("div", null, v(l(n).lg("channeluser.data.us")) + ":", 1),
8009
8009
  K(r("input", {
@@ -8026,7 +8026,7 @@ const yt = {
8026
8026
  class: "cur",
8027
8027
  onPointerdown: s[2] || (s[2] = (i) => l(a)())
8028
8028
  }, v(l(n).lg("channeluser.ui.reg")), 33),
8029
- D(u.$slots, "btn")
8029
+ D(c.$slots, "btn")
8030
8030
  ])
8031
8031
  ])
8032
8032
  ]));
@@ -8034,13 +8034,13 @@ const yt = {
8034
8034
  }), sp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8035
8035
  __proto__: null,
8036
8036
  default: ap
8037
- }, Symbol.toStringTag, { value: "Module" })), lp = { class: "as-user-area-manage" }, ip = { class: "as-user" }, rp = ["value"], up = { class: "as-user-btns" }, cp = /* @__PURE__ */ A({
8037
+ }, Symbol.toStringTag, { value: "Module" })), lp = { class: "as-user-area-manage" }, ip = { class: "as-user" }, rp = ["value"], cp = { class: "as-user-btns" }, up = /* @__PURE__ */ A({
8038
8038
  __name: "UserRegManage",
8039
8039
  props: {
8040
8040
  ujt: {}
8041
8041
  },
8042
8042
  setup(t) {
8043
- const e = t, { $db: o, $fn: n } = e.ujt, { addUser: a, cmLvList: u } = n.useUser(e);
8043
+ const e = t, { $db: o, $fn: n } = e.ujt, { addUser: a, cmLvList: c } = n.useUser(e);
8044
8044
  return o.channeluser.cur.us = "", o.channeluser.cur.pw = "", o.channeluser.cur.lv = 3, (s, i) => (p(), f("div", lp, [
8045
8045
  r("div", ip, [
8046
8046
  D(s.$slots, "tit"),
@@ -8068,7 +8068,7 @@ const yt = {
8068
8068
  K(r("select", {
8069
8069
  "onUpdate:modelValue": i[2] || (i[2] = (d) => l(o).channeluser.cur.lv = d)
8070
8070
  }, [
8071
- (p(!0), f(U, null, G(l(u), (d) => (p(), f("option", {
8071
+ (p(!0), f(U, null, G(l(c), (d) => (p(), f("option", {
8072
8072
  key: "lv" + d[0],
8073
8073
  value: +d[0]
8074
8074
  }, v(d[1]), 9, rp))), 128))
@@ -8076,7 +8076,7 @@ const yt = {
8076
8076
  [ye, l(o).channeluser.cur.lv]
8077
8077
  ])
8078
8078
  ]),
8079
- r("div", up, [
8079
+ r("div", cp, [
8080
8080
  r("div", {
8081
8081
  class: "cur",
8082
8082
  onPointerdown: i[3] || (i[3] = (d) => l(a)())
@@ -8088,7 +8088,7 @@ const yt = {
8088
8088
  }
8089
8089
  }), dp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8090
8090
  __proto__: null,
8091
- default: cp
8091
+ default: up
8092
8092
  }, Symbol.toStringTag, { value: "Module" })), mp = {
8093
8093
  install(t, e) {
8094
8094
  e.loadv({
@@ -8156,7 +8156,7 @@ const yt = {
8156
8156
  "./asui/channel/ChannelListType.vue": ta,
8157
8157
  "./asui/channel/ChannelOpt.vue": na,
8158
8158
  "./asui/channel/ChannelPos.vue": ia,
8159
- "./asui/channel/ChannelShow.vue": ca,
8159
+ "./asui/channel/ChannelShow.vue": ua,
8160
8160
  "./asui/channel/ChannelUpDown.vue": ma,
8161
8161
  "./asui/chat/ChatRoom.vue": La,
8162
8162
  "./asui/chat/ChatRoomOpt.vue": is,
@@ -8193,21 +8193,21 @@ const yt = {
8193
8193
  "./asui/form/AsaiUploadImg.vue": Ge,
8194
8194
  "./asui/form/AsaiUploadImgCut.vue": Ze,
8195
8195
  "./asui/form/AsaiUploadImgCutPop.vue": Qe,
8196
- "./asui/page/PageErr.vue": lu,
8197
- "./asui/page/PageLoadClient.vue": pu,
8198
- "./asui/page/PageLoadErr.vue": yu,
8199
- "./asui/page/PageLoadServer.vue": ju,
8200
- "./asui/page/PageLoadUserToken.vue": Au,
8201
- "./asui/page/PageLoadUserTokenOnline.vue": Uu,
8202
- "./asui/page/PageLoadWs.vue": Hu,
8203
- "./asui/pop/PopBox.vue": hc,
8204
- "./asui/pop/PopBoxConfirm.vue": vc,
8205
- "./asui/pop/PopBoxConfirmPass.vue": $c,
8206
- "./asui/pop/PopDrop.vue": xc,
8207
- "./asui/pop/PopMod.vue": Oc,
8208
- "./asui/pop/PopMsg.vue": Dc,
8209
- "./asui/pop/PopMsgOneByOne.vue": Bc,
8210
- "./asui/pop/PopTip.vue": Xc,
8196
+ "./asui/page/PageErr.vue": lc,
8197
+ "./asui/page/PageLoadClient.vue": pc,
8198
+ "./asui/page/PageLoadErr.vue": yc,
8199
+ "./asui/page/PageLoadServer.vue": jc,
8200
+ "./asui/page/PageLoadUserToken.vue": Ac,
8201
+ "./asui/page/PageLoadUserTokenOnline.vue": Uc,
8202
+ "./asui/page/PageLoadWs.vue": Hc,
8203
+ "./asui/pop/PopBox.vue": hu,
8204
+ "./asui/pop/PopBoxConfirm.vue": vu,
8205
+ "./asui/pop/PopBoxConfirmPass.vue": $u,
8206
+ "./asui/pop/PopDrop.vue": xu,
8207
+ "./asui/pop/PopMod.vue": Ou,
8208
+ "./asui/pop/PopMsg.vue": Du,
8209
+ "./asui/pop/PopMsgOneByOne.vue": Bu,
8210
+ "./asui/pop/PopTip.vue": Xu,
8211
8211
  "./asui/pop/PopTipConfirm.vue": ed,
8212
8212
  "./asui/user/UserCard.vue": ad,
8213
8213
  "./asui/user/UserDelManage.vue": dd,