asai-vue-host 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { computed as q, inject as Ve, reactive as me, provide as ht, defineComponent as C, createBlock as X, openBlock as p, resolveDynamicComponent as pe, unref as i, resolveComponent as U, createElementBlock as m, normalizeClass as J, createVNode as W, onBeforeUnmount as je, resolveDirective as ve, createElementVNode as u, withDirectives as G, Fragment as E, renderList as ee, toDisplayString as v, createCommentVNode as F, renderSlot as R, onUnmounted as $e, onMounted as he, withCtx as re, withModifiers as V, vModelText as ue, vModelSelect as we, createTextVNode as se, ref as Y, nextTick as be, watch as Oe, withKeys as gt, createStaticVNode as qe, useCssVars as ge, normalizeStyle as Z, defineAsyncComponent as ke, vShow as Ie, Teleport as Ae, shallowReactive as vt, onUpdated as yt, isRef as Pe, vModelDynamic as Te, KeepAlive as bt, createSlots as _t } from "vue";
1
+ import { computed as q, inject as Ve, reactive as me, provide as ht, defineComponent as C, createBlock as X, openBlock as p, resolveDynamicComponent as pe, unref as l, resolveComponent as U, createElementBlock as m, normalizeClass as J, createVNode as W, onBeforeUnmount as je, resolveDirective as ve, createElementVNode as u, withDirectives as G, Fragment as E, renderList as ee, toDisplayString as v, createCommentVNode as F, renderSlot as R, onUnmounted as $e, onMounted as he, withCtx as re, withModifiers as V, vModelText as ue, vModelSelect as we, createTextVNode as se, ref as Y, nextTick as be, watch as Oe, withKeys as gt, createStaticVNode as qe, useCssVars as ge, normalizeStyle as Z, defineAsyncComponent as ke, vShow as Ie, Teleport as Ae, shallowReactive as vt, onUpdated as yt, isRef as Pe, vModelDynamic as Te, KeepAlive as bt, createSlots as _t } from "vue";
2
2
  const Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  get default() {
@@ -9,8 +9,8 @@ const Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
9
  if (typeof e.value == "function") {
10
10
  let n = 0;
11
11
  const o = 300, a = (s) => {
12
- const l = performance.now();
13
- l - n < o ? (e.value(s), n = 0) : n = l;
12
+ const i = performance.now();
13
+ i - n < o ? (e.value(s), n = 0) : n = i;
14
14
  };
15
15
  t.__dbPointerDownHandler = a, t.addEventListener("pointerdown", a);
16
16
  }
@@ -24,54 +24,54 @@ const Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
24
  default: $t
25
25
  }, Symbol.toStringTag, { value: "Module" }));
26
26
  function xe(t, e) {
27
- function n(_, k) {
28
- k?.classList?.contains(_) && k.classList.remove(_);
27
+ function n(b, k) {
28
+ k?.classList?.contains(b) && k.classList.remove(b);
29
29
  }
30
- function o(_, k) {
31
- k?.classList?.contains(_) || k.classList.add(_);
30
+ function o(b, k) {
31
+ k?.classList?.contains(b) || k.classList.add(b);
32
32
  }
33
- function a(_) {
34
- o("touch-none", _);
33
+ function a(b) {
34
+ o("touch-none", b);
35
35
  }
36
- function s(_) {
37
- n("touch-none", _);
36
+ function s(b) {
37
+ n("touch-none", b);
38
38
  }
39
- function l(_) {
40
- const k = window.event || _;
39
+ function i(b) {
40
+ const k = window.event || b;
41
41
  return k?.preventDefault(), k?.stopPropagation(), !0;
42
42
  }
43
- function r(_) {
44
- const k = window.event || _;
43
+ function r(b) {
44
+ const k = window.event || b;
45
45
  k.cancelable && (k?.preventDefault(), k?.stopPropagation());
46
46
  }
47
- function d(_) {
47
+ function d(b) {
48
48
  e.timeout || (e.timeout = requestAnimationFrame(() => {
49
- _(), cancelAnimationFrame(e.timeout), e.timeout = null;
49
+ b(), cancelAnimationFrame(e.timeout), e.timeout = null;
50
50
  }));
51
51
  }
52
52
  function c() {
53
53
  return "ontouchstart" in window || navigator.maxTouchPoints;
54
54
  }
55
- function f(_) {
56
- c() && e.touchstat !== 1 && (_.addEventListener("touchstart", b, !0), e.touchstat = 1);
55
+ function f(b) {
56
+ c() && e.touchstat !== 1 && (b.addEventListener("touchstart", _, !0), e.touchstat = 1);
57
57
  }
58
- function h(_) {
59
- c() && e.touchstat !== 2 && (_.addEventListener("touchmove", l), a(_), e.touchstat = 2);
58
+ function h(b) {
59
+ c() && e.touchstat !== 2 && (b.addEventListener("touchmove", i), a(b), e.touchstat = 2);
60
60
  }
61
- function g(_) {
62
- c() && e.touchstat !== 3 && (_.removeEventListener("touchmove", l), s(_), e.touchstat = 3);
61
+ function g(b) {
62
+ c() && e.touchstat !== 3 && (b.removeEventListener("touchmove", i), s(b), e.touchstat = 3);
63
63
  }
64
- function b(_) {
64
+ function _(b) {
65
65
  document.body.addEventListener("touchmove", $), document.body.addEventListener("touchend", y), e.dragttm = Date.now();
66
66
  }
67
- function $(_) {
67
+ function $(b) {
68
68
  e.dragttm && Date.now() - e.dragttm < 1e3 && (e.dragtstat = 2);
69
69
  }
70
- function y(_) {
70
+ function y(b) {
71
71
  document.body.removeEventListener("touchmove", $), document.body.removeEventListener("touchend", y), e.dragtstat = 0;
72
72
  }
73
73
  return {
74
- eStop: l,
74
+ eStop: i,
75
75
  canTouch: c,
76
76
  eStopTouch: r,
77
77
  setTouchNone: a,
@@ -89,22 +89,22 @@ const fe = {}, wt = {
89
89
  e.value
90
90
  );
91
91
  o(t);
92
- let l = !1, r = 0, d = 0, c = 0, f = 0;
92
+ let i = !1, r = 0, d = 0, c = 0, f = 0;
93
93
  typeof e.value.domarea == "string" ? fe.dragAreaDom = document.getElementById(e.value.domarea) : fe.dragAreaDom = t;
94
94
  const h = ($) => {
95
- console.log("handleDown", fe, $), a(t), l = !0;
95
+ console.log("handleDown", fe, $), a(t), i = !0;
96
96
  const y = fe.dragAreaDom.getBoundingClientRect();
97
- fe.dragAreaDom.style.position = "absolute", fe.dragAreaDom.style.transform = `translate(${y.x}px, ${y.y}px)`, r = $.clientX - y.x, d = $.clientY - y.y, t.style.cursor = "grabbing", document.addEventListener("pointermove", g), document.addEventListener("pointerup", b);
97
+ fe.dragAreaDom.style.position = "absolute", fe.dragAreaDom.style.transform = `translate(${y.x}px, ${y.y}px)`, r = $.clientX - y.x, d = $.clientY - y.y, t.style.cursor = "grabbing", document.addEventListener("pointermove", g), document.addEventListener("pointerup", _);
98
98
  }, g = ($) => {
99
99
  n(() => {
100
- if (l) {
100
+ if (i) {
101
101
  c = $.clientX - r, f = $.clientY - d;
102
- const y = window.innerWidth - fe.dragAreaDom.offsetWidth, _ = window.innerHeight - fe.dragAreaDom.offsetHeight;
103
- c = Math.max(0, Math.min(c, y)), f = Math.max(0, Math.min(f, _)), fe.dragAreaDom.style.transform = `translate(${c}px, ${f}px)`;
102
+ const y = window.innerWidth - fe.dragAreaDom.offsetWidth, b = window.innerHeight - fe.dragAreaDom.offsetHeight;
103
+ c = Math.max(0, Math.min(c, y)), f = Math.max(0, Math.min(f, b)), fe.dragAreaDom.style.transform = `translate(${c}px, ${f}px)`;
104
104
  }
105
105
  });
106
- }, b = () => {
107
- l = !1, t.style.cursor = "grab", s(t), document.removeEventListener("pointermove", g), document.removeEventListener("pointerup", b);
106
+ }, _ = () => {
107
+ i = !1, t.style.cursor = "grab", s(t), document.removeEventListener("pointermove", g), document.removeEventListener("pointerup", _);
108
108
  };
109
109
  t.addEventListener("pointerdown", h), fe.unmounted = () => {
110
110
  t.removeEventListener("pointerdown", h);
@@ -124,9 +124,9 @@ const fe = {}, wt = {
124
124
  e.value
125
125
  );
126
126
  o(t);
127
- let l = !1, r = { x: 0, y: 0 }, d = { x: 0, y: 0 }, c = null, f = 1;
128
- const h = (e.value?.dom ? document.getElementById(e.value.dom) : "") || t, g = (e.value?.domarea ? document.getElementById(e.value.domarea) : "") || h, b = (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 && (e.value?.scale || e.value?.ujt?.$global?.scale) || 1, y = (x) => {
129
- if (!b) return;
127
+ let i = !1, r = { x: 0, y: 0 }, d = { x: 0, y: 0 }, c = null, f = 1;
128
+ const h = (e.value?.dom ? document.getElementById(e.value.dom) : "") || t, g = (e.value?.domarea ? document.getElementById(e.value.domarea) : "") || h, _ = (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, $ = () => _ && (e.value?.scale || e.value?.ujt?.$global?.scale) || 1, y = (x) => {
129
+ if (!_) return;
130
130
  if (a(t), x.preventDefault(), f = $(), e.value?.pos)
131
131
  d = e.value.pos;
132
132
  else {
@@ -143,17 +143,17 @@ const fe = {}, wt = {
143
143
  y: 0
144
144
  };
145
145
  }
146
- l = !0, c = b.getBoundingClientRect();
146
+ i = !0, c = _.getBoundingClientRect();
147
147
  let L, w;
148
148
  L = x.clientX, w = x.clientY, r = {
149
149
  x: (L - c.left) / f - d.x,
150
150
  y: (w - c.top) / f - d.y
151
- }, h.setPointerCapture(x.pointerId), document.addEventListener("pointermove", _), document.addEventListener("pointerup", k), document.addEventListener("pointercancel", k);
152
- }, _ = (x) => {
153
- if (!l || !c) return;
151
+ }, h.setPointerCapture(x.pointerId), document.addEventListener("pointermove", b), document.addEventListener("pointerup", k), document.addEventListener("pointercancel", k);
152
+ }, b = (x) => {
153
+ if (!i || !c) return;
154
154
  let L, w;
155
155
  L = x.clientX, w = x.clientY, f = $();
156
- const j = (L - c.left) / f - r.x, S = (w - c.top) / f - r.y, A = b.offsetWidth - g.offsetWidth, M = b.offsetHeight - g.offsetHeight;
156
+ const j = (L - c.left) / f - r.x, S = (w - c.top) / f - r.y, A = _.offsetWidth - g.offsetWidth, M = _.offsetHeight - g.offsetHeight;
157
157
  n(() => {
158
158
  e.value.pos ? (e.value.pos.x = +Math.max(
159
159
  0,
@@ -170,7 +170,7 @@ const fe = {}, wt = {
170
170
  ).toFixed(3)}px)`;
171
171
  });
172
172
  }, k = (x) => {
173
- s(t), x instanceof PointerEvent && h.hasPointerCapture(x.pointerId) && (l = !1, h.releasePointerCapture(x.pointerId)), document.removeEventListener("pointermove", _), document.removeEventListener("pointerup", k), document.removeEventListener("pointercancel", k);
173
+ s(t), x instanceof PointerEvent && h.hasPointerCapture(x.pointerId) && (i = !1, h.releasePointerCapture(x.pointerId)), document.removeEventListener("pointermove", b), document.removeEventListener("pointerup", k), document.removeEventListener("pointercancel", k);
174
174
  };
175
175
  h.addEventListener("pointerdown", y);
176
176
  const O = () => c = null;
@@ -211,11 +211,11 @@ const Ct = {
211
211
  n.keyboard.params || (n.keyboard.params = {});
212
212
  }, s = function(g) {
213
213
  g?.setAttribute("inputmode", "none"), g?.style?.setProperty("ime-mode", "disabled", "important");
214
- }, l = function(g) {
214
+ }, i = function(g) {
215
215
  g?.removeAttribute("inputmode"), g?.style?.setProperty("ime-mode", "normal", "important");
216
216
  }, r = function(g) {
217
217
  s(g), n.keyboard.params.ot && (n.keyboard.params.ot.fndscb = () => {
218
- l(g), n.keyboard.params.ot.fndscb = null;
218
+ i(g), n.keyboard.params.ot.fndscb = null;
219
219
  });
220
220
  }, d = function(g) {
221
221
  ie.monacoDom = g.target.closest(".askey-luaeditor"), ie.monacoDivDom = ie.monacoDom.querySelector(
@@ -223,12 +223,12 @@ const Ct = {
223
223
  ), r(ie.monacoDivDom), ie.monacoHoverDom = ie.monacoDom.querySelector(".monaco-hover"), r(ie.monacoHoverDom), ie.monacoTextareaDom = ie.monacoDom.querySelector("textarea"), r(ie.monacoTextareaDom);
224
224
  }, c = function(g) {
225
225
  return o.data.sys.keyboard?.nokeytypes?.some(
226
- (b) => g.target?.closest(b)
226
+ (_) => g.target?.closest(_)
227
227
  );
228
228
  }, f = function(g) {
229
229
  return Object.keys(
230
230
  o.data.sys.keyboard?.askeytypes || {}
231
- )?.find((b) => g.target?.closest(b));
231
+ )?.find((_) => g.target?.closest(_));
232
232
  }, h = function(g) {
233
233
  if (n.keyboard.params?.ot?.fnnumcb?.(), n.keyboard.params?.ot?.fndscb?.(), a(), e.value?.auto && (n.keyboard.areastyle.x = g.clientX + (e.value?.auto?.x || 0), n.keyboard.areastyle.y = g.clientY + (e.value?.auto?.y || 0)), n.keyboard.params.ot = {}, !c(g)) if (g.target?.closest(".portaskeyboard"))
234
234
  n.keyboard.params.ot.portaskeyboard = !0;
@@ -242,18 +242,18 @@ const Ct = {
242
242
  ) && !g.target?.disabled) {
243
243
  if (ie.monacoDivDom = g.target, r(ie.monacoDivDom), ie.monacoDivDom.type === "number") {
244
244
  n.keyboard.showkeyboard = ".askey-number", n.keyboard.params.ot.isnumber = !0, ie.monacoDivDom.type = "text";
245
- let b = requestAnimationFrame(() => {
245
+ let _ = requestAnimationFrame(() => {
246
246
  ie.monacoDivDom.setSelectionRange(
247
247
  ie.monacoDivDom?.value?.length || 0,
248
248
  ie.monacoDivDom?.value?.length || 0
249
- ), ie.monacoDivDom.focus(), cancelAnimationFrame(b);
249
+ ), ie.monacoDivDom.focus(), cancelAnimationFrame(_);
250
250
  });
251
251
  n.keyboard.params.ot.fnnumcb = () => {
252
252
  ie.monacoDivDom.type = "number";
253
253
  };
254
254
  } else {
255
- const b = f(g);
256
- b ? n.keyboard.showkeyboard = b : n.keyboard.showkeyboard = ".askey-default";
255
+ const _ = f(g);
256
+ _ ? n.keyboard.showkeyboard = _ : n.keyboard.showkeyboard = ".askey-default";
257
257
  }
258
258
  e.value?.style && (n.keyboard.params.ot.style = e.value.style), Object.assign(n.keyboard.params, {
259
259
  type: ie.monacoDivDom.type,
@@ -288,22 +288,22 @@ const Ct = {
288
288
  );
289
289
  n(t);
290
290
  const s = e.value.long ? 1e3 : 500;
291
- let l = null, r = !1, d = 0, c = 0;
291
+ let i = null, r = !1, d = 0, c = 0;
292
292
  const f = 10, h = (y) => {
293
- o(t), e.value.prevent && y.preventDefault(), r = !0, y?.touches?.[0] ? (d = y.touches[0].clientX, c = y.touches[0].clientY) : (d = y.clientX, c = y.clientY), e.value.press && e.value.press(y), l = window.setTimeout(() => {
293
+ o(t), e.value.prevent && y.preventDefault(), r = !0, y?.touches?.[0] ? (d = y.touches[0].clientX, c = y.touches[0].clientY) : (d = y.clientX, c = y.clientY), e.value.press && e.value.press(y), i = window.setTimeout(() => {
294
294
  r && e.value.hold && e.value.hold(y);
295
295
  }, s);
296
296
  }, g = (y) => {
297
- a(t), l !== null && (clearTimeout(l), l = null), r && (e.value.release && e.value.release(y), r = !1);
297
+ a(t), i !== null && (clearTimeout(i), i = null), r && (e.value.release && e.value.release(y), r = !1);
298
298
  }, $ = {
299
299
  down: h,
300
300
  up: g,
301
301
  move: (y) => {
302
302
  if (!r) return;
303
- let _ = 0, k = 0;
304
- y?.touches?.[0] ? (_ = y.touches[0].clientX, k = y.touches[0].clientY) : (_ = y.clientX, k = y.clientY);
305
- const O = Math.abs(_ - d), x = Math.abs(k - c);
306
- (O > f || x > f) && (l !== null && (clearTimeout(l), l = null), r = !1);
303
+ let b = 0, k = 0;
304
+ y?.touches?.[0] ? (b = y.touches[0].clientX, k = y.touches[0].clientY) : (b = y.clientX, k = y.clientY);
305
+ const O = Math.abs(b - d), x = Math.abs(k - c);
306
+ (O > f || x > f) && (i !== null && (clearTimeout(i), i = null), r = !1);
307
307
  }
308
308
  };
309
309
  t.addEventListener("pointerdown", h), t.addEventListener("pointerup", g), t.addEventListener("pointercancel", g), t.addEventListener("pointerleave", g), t._pressHandlers = $;
@@ -322,17 +322,17 @@ const Ct = {
322
322
  e.value
323
323
  );
324
324
  o(t);
325
- const { ujt: l, size: r, scale: d } = e.value;
325
+ const { ujt: i, size: r, scale: d } = e.value;
326
326
  let c = { x: 0, y: 0 }, f;
327
327
  const h = {
328
- width: l?.$global?.sys?.zoomwidth || 1920,
329
- height: l?.$global?.sys?.zoomheight || 1200
330
- }, g = () => d || l?.$global?.scale || 1;
331
- let b = !1, $, y, _, k, O = r || { w: 0, h: 0 };
328
+ width: i?.$global?.sys?.zoomwidth || 1920,
329
+ height: i?.$global?.sys?.zoomheight || 1200
330
+ }, g = () => d || i?.$global?.scale || 1;
331
+ let _ = !1, $, y, b, k, O = r || { w: 0, h: 0 };
332
332
  const x = (A) => ({ clientX: A.clientX, clientY: A.clientY }), L = (A) => {
333
- a(t), A.preventDefault(), f = g(), b = !0;
333
+ a(t), A.preventDefault(), f = g(), _ = !0;
334
334
  const { clientX: M, clientY: z } = x(A);
335
- $ = M - window.scrollX, y = z - window.scrollY, _ = t.offsetWidth, k = t.offsetHeight;
335
+ $ = M - window.scrollX, y = z - window.scrollY, b = t.offsetWidth, k = t.offsetHeight;
336
336
  const I = window.getComputedStyle(t).transform?.split(", ");
337
337
  if (I && I.length > 2) {
338
338
  const H = I.pop().slice(0, -1), N = I.pop();
@@ -350,10 +350,10 @@ const Ct = {
350
350
  j
351
351
  );
352
352
  }, w = (A) => {
353
- b && n(() => {
353
+ _ && n(() => {
354
354
  const { clientX: M, clientY: z } = x(A), P = (M - window.scrollX - $) / f, I = (z - window.scrollY - y) / f;
355
355
  O.w = +Math.min(
356
- Math.max(88, _ + P),
356
+ Math.max(88, b + P),
357
357
  h.width - c.x
358
358
  ).toFixed(3), O.h = +Math.min(
359
359
  Math.max(58, k + I),
@@ -361,7 +361,7 @@ const Ct = {
361
361
  ).toFixed(3), t.style.width = O.w + "px", t.style.height = O.h + "px";
362
362
  });
363
363
  }, j = (A) => {
364
- s(t), A instanceof PointerEvent && t.hasPointerCapture(A.pointerId) && t.releasePointerCapture(A.pointerId), b = !1, document.removeEventListener(
364
+ s(t), A instanceof PointerEvent && t.hasPointerCapture(A.pointerId) && t.releasePointerCapture(A.pointerId), _ = !1, document.removeEventListener(
365
365
  "pointermove",
366
366
  w
367
367
  ), document.removeEventListener(
@@ -396,30 +396,30 @@ const Ct = {
396
396
  e.value
397
397
  );
398
398
  o(t);
399
- const { ujt: l, scale: r, id: d, type: c, cut: f, min: h } = e.value, g = () => r || l?.$global?.scale || 1, b = {
400
- width: l?.$global?.sys?.zoomwidth || 1920,
401
- height: l?.$global?.sys?.zoomheight || 1200
399
+ const { ujt: i, scale: r, id: d, type: c, cut: f, min: h } = e.value, g = () => r || i?.$global?.scale || 1, _ = {
400
+ width: i?.$global?.sys?.zoomwidth || 1920,
401
+ height: i?.$global?.sys?.zoomheight || 1200
402
402
  };
403
403
  let $ = f || 0;
404
- c ? b.height = b.height - $ : b.width = b.width - $;
404
+ c ? _.height = _.height - $ : _.width = _.width - $;
405
405
  function y() {
406
406
  return typeof h == "function" ? h() : typeof h?.value == "number" ? h?.value : typeof h == "number" ? h : 100;
407
407
  }
408
- let _, k = 1, O = !1, x = 0, L = 0, w = 0, j = 0;
408
+ let b, k = 1, O = !1, x = 0, L = 0, w = 0, j = 0;
409
409
  const S = (P) => {
410
- if (_ = document.getElementById(d), !_) {
410
+ if (b = document.getElementById(d), !b) {
411
411
  console.error(`未找到 ID 为 ${d} 的元素`);
412
412
  return;
413
413
  }
414
- a(t), P.preventDefault(), k = g(), O = !0, c ? (w = P.clientY, j = _.offsetHeight) : (x = P.clientX, L = _.offsetWidth), document.addEventListener("pointermove", A), document.addEventListener("pointerup", M);
414
+ a(t), P.preventDefault(), k = g(), O = !0, c ? (w = P.clientY, j = b.offsetHeight) : (x = P.clientX, L = b.offsetWidth), document.addEventListener("pointermove", A), document.addEventListener("pointerup", M);
415
415
  }, A = (P) => {
416
416
  O && n(() => {
417
417
  if (c) {
418
418
  const I = (w - P.clientY) / k, H = Math.max(y(), j + I);
419
- _.style.height = Math.min(H, b.height) + "px", _.style.minHeight = Math.min(H, b.height) + "px";
419
+ b.style.height = Math.min(H, _.height) + "px", b.style.minHeight = Math.min(H, _.height) + "px";
420
420
  } else {
421
421
  const I = (x - P.clientX) / k, H = Math.max(y(), L + I);
422
- _.style.width = Math.min(H, b.width) + "px", _.style.minWidth = Math.min(H, b.width) + "px";
422
+ b.style.width = Math.min(H, _.width) + "px", b.style.minWidth = Math.min(H, _.width) + "px";
423
423
  }
424
424
  });
425
425
  }, M = () => {
@@ -477,7 +477,7 @@ const Ct = {
477
477
  baseURL: a.As.getUrlByCfg(o.link.api[e], 0),
478
478
  Userinfo: o.user.info,
479
479
  ujt: t
480
- }), a.api[e].ictReq(async ({ url: s, opt: l }) => (l?.mm && o?.code?.token && (l.headers.Userinfo = `${o.code.token}`), { url: s, opt: l })), a.api[e].ictRes((s) => ([908].includes(s.code) ? s.data = "" : [909, 200].includes(s.code), s))), a.api[e];
480
+ }), a.api[e].ictReq(async ({ url: s, opt: i }) => (i?.mm && o?.code?.token && (i.headers.Userinfo = `${o.code.token}`), { url: s, opt: i })), a.api[e].ictRes((s) => ([908].includes(s.code) ? s.data = "" : [909, 200].includes(s.code), s))), a.api[e];
481
481
  }, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
482
482
  __proto__: null,
483
483
  default: qt
@@ -691,10 +691,10 @@ const Ct = {
691
691
  let n = "", o;
692
692
  e ? (e < 9999999999 && (e = e * 1e3), o = new Date(e)) : o = /* @__PURE__ */ new Date();
693
693
  const [a, s] = t > 9 ? t + "" : "0" + t;
694
- function l(r) {
694
+ function i(r) {
695
695
  return +a <= r && +s >= r;
696
696
  }
697
- return l(1) && (n += ("00" + o.getFullYear()).slice(-4) + "-"), l(2) && (n += ("00" + (o.getMonth() + 1)).slice(-2) + "-"), l(3) && (n += ("00" + o.getDate()).slice(-2) + " "), l(4) && (n += ("00" + o.getHours()).slice(-2) + ":"), l(5) && (n += ("00" + o.getMinutes()).slice(-2) + ":"), l(6) && (n += ("00" + o.getSeconds()).slice(-2) + "."), l(7) && (n += ("000" + o.getMilliseconds()).slice(-3) + " "), l(9) ? n.replace(/\D/g, "") : n && n.substring(0, n.length - 1);
697
+ return i(1) && (n += ("00" + o.getFullYear()).slice(-4) + "-"), i(2) && (n += ("00" + (o.getMonth() + 1)).slice(-2) + "-"), i(3) && (n += ("00" + o.getDate()).slice(-2) + " "), i(4) && (n += ("00" + o.getHours()).slice(-2) + ":"), i(5) && (n += ("00" + o.getMinutes()).slice(-2) + ":"), i(6) && (n += ("00" + o.getSeconds()).slice(-2) + "."), i(7) && (n += ("000" + o.getMilliseconds()).slice(-3) + " "), i(9) ? n.replace(/\D/g, "") : n && n.substring(0, n.length - 1);
698
698
  },
699
699
  /**
700
700
  * 简化版
@@ -800,12 +800,12 @@ const Ct = {
800
800
  const n = t.length, o = e.length;
801
801
  let a = "";
802
802
  for (let s = 0; s < n; s++) {
803
- const l = Math.round(Math.random() * 1e3) % o, r = Number(l.toString().slice(-1)) + 1, d = o - r;
803
+ const i = Math.round(Math.random() * 1e3) % o, r = Number(i.toString().slice(-1)) + 1, d = o - r;
804
804
  let c = t.codePointAt(s);
805
805
  const f = c % d;
806
806
  c = (c - f) / d;
807
807
  const h = c % d;
808
- c = (c - h) / d, a += e[c % d + r] + e[h + r] + e[f + r] + e.charAt(l);
808
+ c = (c - h) / d, a += e[c % d + r] + e[h + r] + e[f + r] + e.charAt(i);
809
809
  }
810
810
  return a;
811
811
  },
@@ -815,7 +815,7 @@ const Ct = {
815
815
  const n = t.length, o = e.length;
816
816
  let a = "";
817
817
  for (let s = 0; s < n; s++) {
818
- const l = e.indexOf(t[s + 3]), r = Number(l.toString().slice(-1)) + 1, d = o - r;
818
+ const i = e.indexOf(t[s + 3]), r = Number(i.toString().slice(-1)) + 1, d = o - r;
819
819
  a += String?.fromCodePoint(
820
820
  (e.indexOf(t[s++]) - r) * d * d + (e.indexOf(t[s++]) - r) * d + (e.indexOf(t[s++]) - r)
821
821
  );
@@ -956,7 +956,7 @@ const Ct = {
956
956
  };
957
957
  return o.location.query.fl && (T[h()] = () => o.location.query.fl), T;
958
958
  }
959
- function l(T = "") {
959
+ function i(T = "") {
960
960
  if (typeof T == "string" && T) {
961
961
  const D = T.split(".");
962
962
  if (D.length > 1) {
@@ -989,7 +989,7 @@ const Ct = {
989
989
  function g() {
990
990
  return n[t.opt.channel].cfg.map.content || "content";
991
991
  }
992
- function b() {
992
+ function _() {
993
993
  return n[t.opt.channel].cfg.map.title || "title";
994
994
  }
995
995
  function $(T, D, K = {}) {
@@ -1028,7 +1028,7 @@ const Ct = {
1028
1028
  }).catch(Q);
1029
1029
  });
1030
1030
  }
1031
- function _(T, D = {}) {
1031
+ function b(T, D = {}) {
1032
1032
  return y("/select/", T, D);
1033
1033
  }
1034
1034
  function k() {
@@ -1125,11 +1125,11 @@ const Ct = {
1125
1125
  e.setquery({ fl: T }), n[t.opt.channel].fetch(0), t.opt.tyhash ? ne("list", D) : S();
1126
1126
  }
1127
1127
  function z(T = 1, D = 0) {
1128
- return _(
1128
+ return b(
1129
1129
  {
1130
1130
  ...w(),
1131
1131
  svty: D,
1132
- fd: t?.opt?.fd || c() + "-" + b(),
1132
+ fd: t?.opt?.fd || c() + "-" + _(),
1133
1133
  ps: n[t.opt.channel].cmPageSize,
1134
1134
  ...o.location?.query
1135
1135
  },
@@ -1142,7 +1142,7 @@ const Ct = {
1142
1142
  });
1143
1143
  }
1144
1144
  function P(T = 1) {
1145
- T || _(
1145
+ T || b(
1146
1146
  {
1147
1147
  ...w(),
1148
1148
  fd: c(),
@@ -1252,7 +1252,7 @@ const Ct = {
1252
1252
  let T = function(ce, le) {
1253
1253
  return n[t.opt.channel].cfg.imex.keys[le] && ce[n[t.opt.channel].cfg.imex.keys[le]] || "";
1254
1254
  };
1255
- const D = await _({
1255
+ const D = await b({
1256
1256
  ...w(),
1257
1257
  fd: n[t.opt.channel].cfg.imex.keys.filter((ce) => ce).join("-"),
1258
1258
  sx: "",
@@ -1299,7 +1299,7 @@ const Ct = {
1299
1299
  );
1300
1300
  for (let Se = 0; Se < _e.length; Se++) {
1301
1301
  const Re = _e[Se];
1302
- Se === 0 ? (K = Re.split(a.data.asai.rulebook.bksn)[1].split(a.data.asai.rulebook.bkty)[0], await _({
1302
+ Se === 0 ? (K = Re.split(a.data.asai.rulebook.bksn)[1].split(a.data.asai.rulebook.bkty)[0], await b({
1303
1303
  ...w(),
1304
1304
  field: c(),
1305
1305
  fd: c(),
@@ -1385,7 +1385,7 @@ const Ct = {
1385
1385
  optConfirm: ae,
1386
1386
  setPage: I,
1387
1387
  setShow: de,
1388
- channelSelect: _,
1388
+ channelSelect: b,
1389
1389
  fetchContent: z,
1390
1390
  searchSubmit: Me,
1391
1391
  readContent: De,
@@ -1399,9 +1399,9 @@ const Ct = {
1399
1399
  getSnKey: c,
1400
1400
  getPwKey: f,
1401
1401
  getClassKey: h,
1402
- getTitleKey: b,
1402
+ getTitleKey: _,
1403
1403
  getContentKey: g,
1404
- channelLang: l,
1404
+ channelLang: i,
1405
1405
  channelLogin: dt,
1406
1406
  channelReg: pt
1407
1407
  };
@@ -1430,7 +1430,7 @@ const Ct = {
1430
1430
  }) : typeof d == "string" && a(d, c, f);
1431
1431
  });
1432
1432
  }
1433
- function l(d, c) {
1433
+ function i(d, c) {
1434
1434
  Array.isArray(d) ? d.forEach((f) => {
1435
1435
  e.ws[c].wsWatchOff({
1436
1436
  ty: "chat/web" + f + "broadcast"
@@ -1447,7 +1447,7 @@ const Ct = {
1447
1447
  f.msg = h || "";
1448
1448
  }) : Promise.resolve();
1449
1449
  }
1450
- return { initChatRoom: s, offChatRoom: l, sendChatRoom: r };
1450
+ return { initChatRoom: s, offChatRoom: i, sendChatRoom: r };
1451
1451
  }, sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1452
1452
  __proto__: null,
1453
1453
  default: an
@@ -1507,7 +1507,7 @@ const Ct = {
1507
1507
  function s() {
1508
1508
  e.mediaNew && e.mediaWorking && (e.mediaNew.stop(), e.mediaNew.stream.getTracks().forEach((c) => c.stop()), e.mediaWorking = !1);
1509
1509
  }
1510
- function l(c) {
1510
+ function i(c) {
1511
1511
  e.mediaPress != null && (clearInterval(e.mediaPress), e.mediaPress = null), a();
1512
1512
  }
1513
1513
  function r(c) {
@@ -1519,7 +1519,7 @@ const Ct = {
1519
1519
  mediaBlobToBase64: o,
1520
1520
  mediaWorkStart: a,
1521
1521
  mediaWorkStop: s,
1522
- mediaOnPress: l,
1522
+ mediaOnPress: i,
1523
1523
  mediaOnHold: r,
1524
1524
  mediaOnRelease: d
1525
1525
  };
@@ -1543,9 +1543,9 @@ const Ct = {
1543
1543
  let c = a.novel.muzu.replaceAll(`\r
1544
1544
  `, `
1545
1545
  `).split(a.novel.rule.bkchannel), f, h, g;
1546
- return c.forEach((b) => {
1547
- b && b.split(a.novel.rule.bkclass).forEach((y, _) => {
1548
- _ == 0 ? (f = s(y, "ch"), f.cc = [], r.push(f)) : y.split(a.novel.rule.bklist).forEach((O, x) => {
1546
+ return c.forEach((_) => {
1547
+ _ && _.split(a.novel.rule.bkclass).forEach((y, b) => {
1548
+ b == 0 ? (f = s(y, "ch"), f.cc = [], r.push(f)) : y.split(a.novel.rule.bklist).forEach((O, x) => {
1549
1549
  x == 0 ? (h = s(O, "cl"), h.cc = [], f.cc.push(h)) : (g = s(O, "li"), h.cc.push(g));
1550
1550
  });
1551
1551
  });
@@ -1559,10 +1559,10 @@ const Ct = {
1559
1559
  function n(o) {
1560
1560
  const a = Number(e.location.query.pc) || 0, s = a === 0 ? 0 : Math.ceil(a / o);
1561
1561
  if (s === 0) return [];
1562
- let l = Math.min(
1562
+ let i = Math.min(
1563
1563
  Math.max(Number(e.location.query.pg) || 1, 1),
1564
1564
  s
1565
- ), r = Math.max(l - Math.floor(o / 2), 1), d = r + o - 1;
1565
+ ), r = Math.max(i - Math.floor(o / 2), 1), d = r + o - 1;
1566
1566
  return d > s && (d = s, r = Math.max(d - o + 1, 1)), Array.from(
1567
1567
  { length: d - r + 1 },
1568
1568
  (c, f) => r + f
@@ -1573,7 +1573,7 @@ const Ct = {
1573
1573
  __proto__: null,
1574
1574
  default: dn
1575
1575
  }, Symbol.toStringTag, { value: "Module" })), fn = (t) => {
1576
- const { ujt: e } = t, { $fn: n, $db: o, $global: a } = t.ujt, { initToken: s, userLoginWs: l, getOnline: r } = n.useInitUser(
1576
+ const { ujt: e } = t, { $fn: n, $db: o, $global: a } = t.ujt, { initToken: s, userLoginWs: i, getOnline: r } = n.useInitUser(
1577
1577
  e,
1578
1578
  "webserver"
1579
1579
  ), d = q(() => Object.entries(n.lg("channeluser.lv")).filter((I) => a.user.info?.lv > I[0]));
@@ -1645,11 +1645,12 @@ const Ct = {
1645
1645
  P.us && (a.user.info = {
1646
1646
  us: P.us,
1647
1647
  lv: P.lv || 1
1648
- }, s(), l().then((I) => {
1649
- b();
1648
+ }, s(), i().then((I) => {
1649
+ _();
1650
+ }).catch((I) => {
1650
1651
  }));
1651
1652
  }
1652
- function b(P) {
1653
+ function _(P) {
1653
1654
  n.As.localSet(
1654
1655
  "as-user-info",
1655
1656
  n.AsAES.enc(n.As.toStr(a.user.info))
@@ -1679,7 +1680,7 @@ const Ct = {
1679
1680
  n.sethash(""), n.As.localReload();
1680
1681
  }, 1e3);
1681
1682
  }
1682
- function _(P) {
1683
+ function b(P) {
1683
1684
  return P.pw = o.channeluser.cur.pwn, n.api.webserver.apiPost(
1684
1685
  "/api/user/userinfo/update/" + P.us + "/",
1685
1686
  {
@@ -1705,7 +1706,7 @@ const Ct = {
1705
1706
  function k() {
1706
1707
  o.channeluser.cur.pwn && o.channeluser.cur.pwn === o.channeluser.cur.pwnn ? f().then((P) => {
1707
1708
  const I = JSON.parse(P);
1708
- o.channeluser.cur.pw === I.pw ? (I.pw = o.channeluser.cur.pwn, _(I)) : a.msg.fn({
1709
+ o.channeluser.cur.pw === I.pw ? (I.pw = o.channeluser.cur.pwn, b(I)) : a.msg.fn({
1709
1710
  type: "err",
1710
1711
  tit: n.lg("channeluser.msg.passworderr")
1711
1712
  });
@@ -1873,14 +1874,14 @@ const Ct = {
1873
1874
  addUser: z,
1874
1875
  setPage: L,
1875
1876
  cmLvList: d,
1876
- userLoginWs: l
1877
+ userLoginWs: i
1877
1878
  };
1878
1879
  }, mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1879
1880
  __proto__: null,
1880
1881
  default: fn
1881
1882
  }, Symbol.toStringTag, { value: "Module" })), hn = (t) => {
1882
1883
  const { $fn: e, $model: n, $db: o, $dbwork: a, $global: s } = t;
1883
- function l(r = "testkdd") {
1884
+ function i(r = "testkdd") {
1884
1885
  const d = Ve("$vueProxy");
1885
1886
  d?.$installplugs(r), d?.["$engine" + r] && (Object.assign(e, d["$engine" + r]), d?.["$engineuse" + r] && Object.assign(e, d["$engineuse" + r])), n[r] || (n[r] = {}), a[r] || (a[r] = {}), o[r] || (o[r] = {}), e.setconfig = (f, h) => e.api.webserver.apiPost(
1886
1887
  "/api/asaijson/manage/update/?path=./webclient/webmodel/sys/setting/" + f + ".json",
@@ -1903,7 +1904,7 @@ const Ct = {
1903
1904
  })
1904
1905
  ), Promise.all(c);
1905
1906
  }
1906
- return { initAppModel: l };
1907
+ return { initAppModel: i };
1907
1908
  }, gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1908
1909
  __proto__: null,
1909
1910
  default: hn
@@ -1911,35 +1912,22 @@ const Ct = {
1911
1912
  const { $fn: n, $db: o, $global: a } = t;
1912
1913
  function s() {
1913
1914
  return new Promise((h, g) => {
1914
- n.ws.web.wsWatch(
1915
- {
1916
- ty: "publish/web"
1917
- },
1918
- (b) => {
1919
- b?.db?.exit && (n.exit(), n.sethash(
1920
- a.sys?.router?.config?.login || "user/login"
1921
- )), b?.db?.lang && (b.db.langpm ? b.db.con = n.lg(
1922
- "asai.hostmsg." + b.db.lang,
1923
- b.db.langpm
1924
- ) || b.db.con : b.db.con = n.lg("asai.hostmsg." + b.db.lang) || b.db.con), b?.db === "pong" ? n.ws.web.wsApi("ping").then(($) => {
1925
- }) : b?.db?.con && a.msg.fn(b.db);
1926
- }
1927
- ), n.ws.web?.wsApi({
1915
+ n.ws.web?.wsApi({
1928
1916
  ty: "user/login",
1929
1917
  db: a.user.info
1930
- }).then((b) => {
1931
- h(b);
1932
- }).catch((b) => {
1918
+ }).then((_) => {
1919
+ _.db ? h(_) : n.exit();
1920
+ }).catch((_) => {
1933
1921
  a.msg.fn({
1934
1922
  type: "err",
1935
1923
  con: n.lg("channeluser.msg.loginerr", [
1936
1924
  a.user.info.us
1937
1925
  ])
1938
- }), g(b);
1926
+ }), g(_);
1939
1927
  });
1940
1928
  });
1941
1929
  }
1942
- function l() {
1930
+ function i() {
1943
1931
  return n.ws.web.wsApi({
1944
1932
  ty: "user/online",
1945
1933
  db: ""
@@ -1951,8 +1939,8 @@ const Ct = {
1951
1939
  function r() {
1952
1940
  return new Promise((h, g) => {
1953
1941
  try {
1954
- let b = n.As?.localGet("as-user-code");
1955
- b ? (b = n.As.toObj(b), a.code.pri = b[0], a.code.pub = b[1], h()) : n.api[e]?.apiGet("/api/init/code/").then(($) => {
1942
+ let _ = n.As?.localGet("as-user-code");
1943
+ _ ? (_ = n.As.toObj(_), a.code.pri = _[0], a.code.pub = _[1], h()) : n.api[e]?.apiGet("/api/init/code/").then(($) => {
1956
1944
  a.code.pri = $.data[0], a.code.pub = $.data[1], n.As.localSet(
1957
1945
  "as-user-code",
1958
1946
  n.As.toStr($.data)
@@ -1960,8 +1948,8 @@ const Ct = {
1960
1948
  }).catch(($) => {
1961
1949
  g($);
1962
1950
  });
1963
- } catch (b) {
1964
- g(b);
1951
+ } catch (_) {
1952
+ g(_);
1965
1953
  }
1966
1954
  });
1967
1955
  }
@@ -1975,11 +1963,11 @@ const Ct = {
1975
1963
  !a.code.token && a.code.pri && n.As.localGet("as-user-info") && (a.user.info = n.As.toObj(
1976
1964
  n.AsAES.dec(n.As.localGet("as-user-info"))
1977
1965
  ), d()), h();
1978
- }).catch((b) => {
1979
- g(b);
1966
+ }).catch((_) => {
1967
+ g(_);
1980
1968
  });
1981
- } catch (b) {
1982
- g(b);
1969
+ } catch (_) {
1970
+ g(_);
1983
1971
  }
1984
1972
  });
1985
1973
  }
@@ -1988,14 +1976,16 @@ const Ct = {
1988
1976
  a.user.online = 0;
1989
1977
  try {
1990
1978
  c().then(() => {
1991
- a.code.token && s().then((b) => {
1979
+ a.code.token ? s().then((_) => {
1992
1980
  a.user.online = 1, h();
1993
- });
1994
- }).catch((b) => {
1995
- g(b);
1981
+ }).catch((_) => {
1982
+ g(_);
1983
+ }) : g();
1984
+ }).catch((_) => {
1985
+ g(_);
1996
1986
  });
1997
- } catch (b) {
1998
- g(b);
1987
+ } catch (_) {
1988
+ g(_);
1999
1989
  }
2000
1990
  });
2001
1991
  }
@@ -2005,7 +1995,7 @@ const Ct = {
2005
1995
  initToken: d,
2006
1996
  initUserOnline: f,
2007
1997
  userLoginWs: s,
2008
- getOnline: l
1998
+ getOnline: i
2009
1999
  };
2010
2000
  }, yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2011
2001
  __proto__: null,
@@ -2066,43 +2056,43 @@ const Ct = {
2066
2056
  if (!f?.[0])
2067
2057
  o.$model.gysfn.log();
2068
2058
  else if (f.length > 0) {
2069
- let h = "", g = "", b = "";
2059
+ let h = "", g = "", _ = "";
2070
2060
  if (f[1] && typeof f[1] == "string") {
2071
- const [$, y, ..._] = f;
2072
- g = y, b = _, Array.isArray(f[0]) && f[0].length === 2 ? h = s(f[0][0], f[0][1], "12px") : typeof f[0] == "number" && (h = a($, 12));
2061
+ const [$, y, ...b] = f;
2062
+ g = y, _ = b, Array.isArray(f[0]) && f[0].length === 2 ? h = s(f[0][0], f[0][1], "12px") : typeof f[0] == "number" && (h = a($, 12));
2073
2063
  }
2074
- h ? console.log("%c" + g, h, ...b) : console.log(...f);
2064
+ h ? console.log("%c" + g, h, ..._) : console.log(...f);
2075
2065
  }
2076
2066
  }
2077
2067
  }, o.$model.gysfn.log = () => (console.log(
2078
2068
  "%c$fn",
2079
2069
  a(6, 18),
2080
- l(o.$fn),
2070
+ i(o.$fn),
2081
2071
  o.$fn
2082
2072
  ), console.log(
2083
2073
  "%c$model",
2084
2074
  a(5, 18),
2085
- l(o.$model),
2075
+ i(o.$model),
2086
2076
  o.$model
2087
2077
  ), console.log(
2088
2078
  "%c$global",
2089
2079
  a(4, 18),
2090
- l(o.$global),
2080
+ i(o.$global),
2091
2081
  o.$global
2092
2082
  ), console.log(
2093
2083
  "%c$ws",
2094
2084
  a(3, 18),
2095
- l(o.$ws),
2085
+ i(o.$ws),
2096
2086
  o.$ws
2097
2087
  ), console.log(
2098
2088
  "%c$db",
2099
2089
  a(2, 18),
2100
- l(o.$db),
2090
+ i(o.$db),
2101
2091
  o.$db
2102
2092
  ), console.log(
2103
2093
  "%c$dbwork",
2104
2094
  a(1, 18),
2105
- l(o.$dbwork),
2095
+ i(o.$dbwork),
2106
2096
  o.$dbwork
2107
2097
  ), "Web Model Log。");
2108
2098
  function a(f, h = 18) {
@@ -2112,7 +2102,7 @@ const Ct = {
2112
2102
  function s(f, h, g = "18px") {
2113
2103
  return "font-size:" + g + ";font-weight:bold;border-radius:20px;padding:0 10px;color:" + f + ";background-color:" + h + ";";
2114
2104
  }
2115
- function l(f) {
2105
+ function i(f) {
2116
2106
  try {
2117
2107
  return "size=>" + ((f && JSON.stringify(f)?.length) / 1024).toFixed(3) + "KB";
2118
2108
  } catch {
@@ -2122,10 +2112,10 @@ const Ct = {
2122
2112
  const { fetchPublic: r } = o.$fn.AsaiModel("./webmodel/");
2123
2113
  o.$fn.initmodel = r, o.$fn.startLink = () => new Promise((f, h) => {
2124
2114
  o.$fn.initmodel("sys/server.json").then((g) => {
2125
- const b = { api: {}, ws: {} };
2115
+ const _ = { api: {}, ws: {} };
2126
2116
  ["api", "ws"].forEach(($) => {
2127
2117
  Object.keys(g?.[$] || {}).forEach((y) => {
2128
- y != "default" && (b[$][y] = {
2118
+ y != "default" && (_[$][y] = {
2129
2119
  ...g[$][y],
2130
2120
  url: o.$fn.As.getUrlByCfg(
2131
2121
  g[$][y],
@@ -2135,8 +2125,8 @@ const Ct = {
2135
2125
  });
2136
2126
  }), o.$fn.As.localSet(
2137
2127
  "as-link",
2138
- JSON.stringify(b)
2139
- ), o.$global.link = b, f(o.$global.link);
2128
+ JSON.stringify(_)
2129
+ ), o.$global.link = _, f(o.$global.link);
2140
2130
  }).catch((g) => {
2141
2131
  h(g);
2142
2132
  });
@@ -2147,14 +2137,14 @@ const Ct = {
2147
2137
  );
2148
2138
  }, o.$fn.initLink = (f = 0) => new Promise((h, g) => {
2149
2139
  if (f)
2150
- o.$fn.startLink().then((b) => {
2151
- h(b);
2152
- }).catch((b) => {
2153
- g(b);
2140
+ o.$fn.startLink().then((_) => {
2141
+ h(_);
2142
+ }).catch((_) => {
2143
+ g(_);
2154
2144
  });
2155
2145
  else {
2156
- let b = o.$fn.As.localGet("as-link");
2157
- b ? (o.$global.link = JSON.parse(b), o.$global.link?.api && o.$global.link?.ws ? h(o.$global.link) : o.$fn.startLink().then(($) => {
2146
+ let _ = o.$fn.As.localGet("as-link");
2147
+ _ ? (o.$global.link = JSON.parse(_), o.$global.link?.api && o.$global.link?.ws ? h(o.$global.link) : o.$fn.startLink().then(($) => {
2158
2148
  h($);
2159
2149
  }).catch(($) => {
2160
2150
  g($);
@@ -2171,64 +2161,64 @@ const Ct = {
2171
2161
  return;
2172
2162
  let g = d.get(f);
2173
2163
  g || (g = f.split("."), d.set(f, g));
2174
- const b = g.reduce(
2175
- (_, k) => _?.[k],
2164
+ const _ = g.reduce(
2165
+ (b, k) => b?.[k],
2176
2166
  o.$global.lang
2177
2167
  );
2178
- if (!h || h.length === 0) return b;
2168
+ if (!h || h.length === 0) return _;
2179
2169
  const $ = Array.isArray(h) ? h : [h];
2180
- return b?.replace(
2170
+ return _?.replace(
2181
2171
  c,
2182
- (_, k) => {
2172
+ (b, k) => {
2183
2173
  const O = parseInt(k, 10) - 1;
2184
- return $[O] ?? _;
2174
+ return $[O] ?? b;
2185
2175
  }
2186
2176
  );
2187
2177
  }, o.$fn.changetheme = (f = "") => new Promise((h, g) => {
2188
2178
  try {
2189
- let b = "";
2190
- o.$global?.sys?.local?.theme ? b = o.$fn.As.localGet(
2179
+ let _ = "";
2180
+ o.$global?.sys?.local?.theme ? _ = o.$fn.As.localGet(
2191
2181
  o.$global?.sys?.local?.theme
2192
- ) || o.$model.data.sys.settingtheme.theme || o.$model.data.sys.configdata.theme[0] : b = o.$model.data.sys.settingtheme.theme || o.$model.data.sys.configdata.theme[0], f && b === f ? h() : (f === "auto" ? b = b == o.$model.data.sys.configdata.theme[0] ? o.$model.data.sys.configdata.theme[1] : o.$model.data.sys.configdata.theme[0] : f && (b = f), o.$global?.sys?.local?.theme && o.$fn.As.localSet(
2182
+ ) || o.$model.data.sys.settingtheme.theme || o.$model.data.sys.configdata.theme[0] : _ = o.$model.data.sys.settingtheme.theme || o.$model.data.sys.configdata.theme[0], f && _ === f ? h() : (f === "auto" ? _ = _ == o.$model.data.sys.configdata.theme[0] ? o.$model.data.sys.configdata.theme[1] : o.$model.data.sys.configdata.theme[0] : f && (_ = f), o.$global?.sys?.local?.theme && o.$fn.As.localSet(
2193
2183
  o.$global?.sys?.local?.theme,
2194
- b
2195
- )), b && o.$global?.config?.theme !== b && (o.$global?.config?.theme && document?.body?.classList?.contains(
2184
+ _
2185
+ )), _ && o.$global?.config?.theme !== _ && (o.$global?.config?.theme && document?.body?.classList?.contains(
2196
2186
  o.$global.config.theme
2197
2187
  ) && document.body.classList.remove(
2198
2188
  o.$global.config.theme
2199
- ), o.$global.config.theme = b), document?.body?.classList?.contains(b) || document.body.classList.add(b), h();
2200
- } catch (b) {
2201
- g(b);
2189
+ ), o.$global.config.theme = _), document?.body?.classList?.contains(_) || document.body.classList.add(_), h();
2190
+ } catch (_) {
2191
+ g(_);
2202
2192
  }
2203
2193
  }), o.$fn.initlang = (f = "") => {
2204
2194
  let h = "";
2205
- return o.$global?.sys?.local?.lang ? h = f || o.$fn.As.localGet(o.$global?.sys?.local?.lang) || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0] : h = f || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0], o.$global?.lang || (o.$global.lang = {}), new Promise((g, b) => {
2195
+ return o.$global?.sys?.local?.lang ? h = f || o.$fn.As.localGet(o.$global?.sys?.local?.lang) || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0] : h = f || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0], o.$global?.lang || (o.$global.lang = {}), new Promise((g, _) => {
2206
2196
  o.$fn.initmodel("lang/dirlang.json", h + "/").then(($) => {
2207
2197
  Object.assign(o.$global.lang, $), g(o.$global.lang);
2208
2198
  }).catch(($) => {
2209
- b($);
2199
+ _($);
2210
2200
  });
2211
2201
  });
2212
2202
  }, o.$fn.changelang = (f = "") => {
2213
2203
  let h = "";
2214
- return o.$global?.sys?.local?.lang ? h = o.$fn.As.localGet(o.$global?.sys?.local?.lang) || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0] : h = o.$global.config.langcur || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0], new Promise((g, b) => {
2204
+ return o.$global?.sys?.local?.lang ? h = o.$fn.As.localGet(o.$global?.sys?.local?.lang) || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0] : h = o.$global.config.langcur || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0], new Promise((g, _) => {
2215
2205
  f && h === f && o.$global?.lang ? g(h) : (f === "auto" ? h = h == o.$model.data.sys.configdata.lang[0] ? o.$model.data.sys.configdata.lang[1] : o.$model.data.sys.configdata.lang[0] : f && (h = f), o.$global?.sys?.local?.lang && o.$fn.As.localSet(
2216
2206
  o.$global?.sys?.local?.lang,
2217
2207
  h
2218
2208
  ), o.$global?.sys?.local?.lang || !o.$global.config.lang ? (o.$global.config.lang = h, o.$fn.initlang(h).then(($) => {
2219
2209
  g(h);
2220
2210
  }).catch(($) => {
2221
- b($);
2211
+ _($);
2222
2212
  })) : g(h));
2223
2213
  });
2224
2214
  }, o.$fn.initweb = async (f) => {
2225
2215
  try {
2226
2216
  let h = function() {
2227
- const { protocol: $, hostname: y, port: _, hash: k } = n.location;
2217
+ const { protocol: $, hostname: y, port: b, hash: k } = n.location;
2228
2218
  o.$global.location = {
2229
2219
  protocol: $,
2230
2220
  hostname: y,
2231
- port: _,
2221
+ port: b,
2232
2222
  hash: k.replace("#", ""),
2233
2223
  comps: [],
2234
2224
  query: {}
@@ -2269,11 +2259,11 @@ const Ct = {
2269
2259
  }), o.$model.data.sys = await o.$fn.initmodel(
2270
2260
  "sys/dirmodel.json"
2271
2261
  );
2272
- const b = await o.$fn.initmodel(
2262
+ const _ = await o.$fn.initmodel(
2273
2263
  "sys/dirglobal.json"
2274
2264
  );
2275
- if (o.$global.sys = {}, Object.keys(b).forEach(($) => {
2276
- Object.assign(o.$global.sys, b[$]);
2265
+ if (o.$global.sys = {}, Object.keys(_).forEach(($) => {
2266
+ Object.assign(o.$global.sys, _[$]);
2277
2267
  }), o.$model.data.sys.configrouter) {
2278
2268
  o.$global.sys.router = o.$model.data.sys.configrouter;
2279
2269
  for (let $ = 0; $ < o.$global.sys.router.config.models.length; $++) {
@@ -2281,15 +2271,15 @@ const Ct = {
2281
2271
  o.$global.sys.router.config.models[$] + "/configrouter.json"
2282
2272
  );
2283
2273
  typeof y == "object" && Object.entries(y).forEach(
2284
- ([_, k]) => {
2285
- _ === "rights" ? Object.entries(k).forEach(
2274
+ ([b, k]) => {
2275
+ b === "rights" ? Object.entries(k).forEach(
2286
2276
  ([O, x]) => {
2287
2277
  x && x.length && x.forEach((L) => {
2288
2278
  o.$global.sys.router.rights[O].includes(L) || o.$global.sys.router.rights[O].push(L);
2289
2279
  });
2290
2280
  }
2291
2281
  ) : Object.assign(
2292
- o.$global.sys.router[_],
2282
+ o.$global.sys.router[b],
2293
2283
  k
2294
2284
  );
2295
2285
  }
@@ -2336,12 +2326,12 @@ const Ct = {
2336
2326
  }, Symbol.toStringTag, { value: "Module" })), xn = (t) => {
2337
2327
  const { $fn: e, $model: n, $global: o, $ws: a } = t;
2338
2328
  a?.beat || (a.beat = {});
2339
- function s(l = "web", r = 0) {
2340
- (r || o.sys?.tmbeat) && (a.beat["bt" + l] = setInterval(() => {
2341
- a.beat["btm" + l] = setTimeout(() => {
2342
- clearInterval(a.beat["bt" + l]), a.beat["bt" + l] = null, e.exit();
2343
- }, (r || o.sys?.tmbeat) * 1.5), e.ws[l].wsApi("ping").then((d) => {
2344
- d === "pong" && (clearTimeout(a.beat["btm" + l]), a.beat["btm" + l] = null);
2329
+ function s(i = "web", r = 0) {
2330
+ (r || o.sys?.tmbeat) && (a.beat["bt" + i] = setInterval(() => {
2331
+ a.beat["btm" + i] = setTimeout(() => {
2332
+ clearInterval(a.beat["bt" + i]), a.beat["bt" + i] = null, e.exit();
2333
+ }, (r || o.sys?.tmbeat) * 1.5), e.ws[i].wsApi("ping").then((d) => {
2334
+ d === "pong" && (clearTimeout(a.beat["btm" + i]), a.beat["btm" + i] = null);
2345
2335
  });
2346
2336
  }, r || o.sys?.tmbeat));
2347
2337
  }
@@ -2370,9 +2360,9 @@ const Ct = {
2370
2360
  setup(t) {
2371
2361
  const e = t, { $model: n, $global: o } = e.ujt;
2372
2362
  return (a, s) => (p(), X(pe(
2373
- i(n).appmodules.indexRouters[(i(o).sys?.router?.config?.models?.includes(
2374
- i(o).location?.hasharr?.[0]
2375
- ) ? i(o).location?.hasharr?.[0] : "") || i(o).sys?.router?.config?.models?.[0]]
2363
+ l(n).appmodules.indexRouters[(l(o).sys?.router?.config?.models?.includes(
2364
+ l(o).location?.hasharr?.[0]
2365
+ ) ? l(o).location?.hasharr?.[0] : "") || l(o).sys?.router?.config?.models?.[0]]
2376
2366
  ), { ujt: t.ujt }, null, 8, ["ujt"]));
2377
2367
  }
2378
2368
  }), On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2390,7 +2380,7 @@ const Ct = {
2390
2380
  return p(), m("div", {
2391
2381
  id: "asaiwebserver",
2392
2382
  class: J(
2393
- "asaiweb asaiweb" + (i(n).location?.hasharr?.[0] || "default")
2383
+ "asaiweb asaiweb" + (l(n).location?.hasharr?.[0] || "default")
2394
2384
  )
2395
2385
  }, [
2396
2386
  W(s, { ujt: t.ujt }, null, 8, ["ujt"])
@@ -2412,16 +2402,16 @@ const Ct = {
2412
2402
  },
2413
2403
  setup(t) {
2414
2404
  const e = t, { $fn: n, $global: o } = e.ujt, { initUserToken: a } = n.useInitUser(e.ujt, "webserver");
2415
- return a(), (s, l) => {
2405
+ return a(), (s, i) => {
2416
2406
  const r = U("AsaiComponent");
2417
2407
  return p(), m("div", {
2418
2408
  id: "asaiwebservernode",
2419
- class: J("asaiweb asaiweb" + i(o).location?.hasharr?.[0])
2409
+ class: J("asaiweb asaiweb" + l(o).location?.hasharr?.[0])
2420
2410
  }, [
2421
- i(o).code.pub ? (p(), X(r, {
2411
+ l(o).code.pub ? (p(), X(r, {
2422
2412
  key: 0,
2423
2413
  ujt: t.ujt
2424
- }, null, 8, ["ujt"])) : (p(), X(pe(i(o).sys?.router?.config?.loading || "PageLoadServer"), {
2414
+ }, null, 8, ["ujt"])) : (p(), X(pe(l(o).sys?.router?.config?.loading || "PageLoadServer"), {
2425
2415
  key: 1,
2426
2416
  ujt: t.ujt
2427
2417
  }, null, 8, ["ujt"]))
@@ -2438,17 +2428,17 @@ const Ct = {
2438
2428
  },
2439
2429
  setup(t) {
2440
2430
  const e = t, { $fn: n, $global: o } = e.ujt, { initUserToken: a } = n.useInitUser(e.ujt, "webserver");
2441
- return a(), (s, l) => {
2431
+ return a(), (s, i) => {
2442
2432
  const r = U("AsaiComponent");
2443
2433
  return p(), m("div", {
2444
2434
  id: "asaiwebserveruser",
2445
- class: J("asaiweb asaiweb" + i(o).location?.hasharr?.[0])
2435
+ class: J("asaiweb asaiweb" + l(o).location?.hasharr?.[0])
2446
2436
  }, [
2447
- i(o).code.token ? (p(), X(r, {
2437
+ l(o).code.token ? (p(), X(r, {
2448
2438
  key: 0,
2449
2439
  ujt: t.ujt
2450
2440
  }, null, 8, ["ujt"])) : (p(), X(pe(
2451
- i(o).sys?.router?.config?.loading || "PageLoadUserToken"
2441
+ l(o).sys?.router?.config?.loading || "PageLoadUserToken"
2452
2442
  ), {
2453
2443
  key: 1,
2454
2444
  ujt: t.ujt
@@ -2470,69 +2460,79 @@ const Ct = {
2470
2460
  },
2471
2461
  setup(t) {
2472
2462
  const e = t, n = Ve("$vueProxy"), { $global: o, $fn: a, $model: s } = e.ujt;
2473
- s.appmodules = e.appmodules, a.initweb(n).then(() => {
2463
+ s.appmodules = e.appmodules;
2464
+ function i() {
2465
+ a.ws.web.wsWatch(
2466
+ {
2467
+ ty: "publish/web"
2468
+ },
2469
+ (d) => {
2470
+ d?.db?.exit && (a.exit(), a.sethash(o.sys?.router?.config?.login || "user/login")), d?.db?.lang && (d.db.langpm ? d.db.con = a.lg("asai.hostmsg." + d.db.lang, d.db.langpm) || d.db.con : d.db.con = a.lg("asai.hostmsg." + d.db.lang) || d.db.con), d?.db === "pong" ? a.ws.web.wsApi("ping").then((c) => {
2471
+ }) : d?.db?.con && o.msg.fn(d.db);
2472
+ }
2473
+ );
2474
+ }
2475
+ a.initweb(n).then(() => {
2474
2476
  a.useApi(e.ujt, "webserver"), a.useWs(e.ujt, "web");
2475
- let r = [
2476
- // new Promise((resolve: any, reject: any) => {
2477
- // $fn.ws['web'].init().finally(() => {
2478
- // resolve();
2479
- // });
2480
- // }),
2481
- ];
2482
- o?.sys?.local?.lang || r.push(
2477
+ let d = [];
2478
+ o?.sys?.onuserws && d.push(
2479
+ a.ws.web.init().then(() => {
2480
+ i();
2481
+ })
2482
+ ), o?.sys?.local?.lang || d.push(
2483
2483
  a.api.webserver.apiGet(
2484
2484
  "/api/asaifile/manage/once/?path=./webclient/webmodel/sys/setting/settinglang.json"
2485
- ).then((d) => {
2486
- typeof d?.data == "string" ? o.config.langcur = JSON.parse(
2487
- d?.data || "{}"
2488
- )?.lang : o.config.langcur = (d?.data || {})?.lang;
2485
+ ).then((c) => {
2486
+ typeof c?.data == "string" ? o.config.langcur = JSON.parse(
2487
+ c?.data || "{}"
2488
+ )?.lang : o.config.langcur = (c?.data || {})?.lang;
2489
2489
  })
2490
- ), Promise.all(r).then(() => {
2491
- a.changelang(o.config.langcur).then((d) => {
2490
+ ), Promise.all(d).then(() => {
2491
+ a.changelang(o.config.langcur).then((c) => {
2492
2492
  o.lang.sys.webtit && (document.title = o.lang.sys.webtit), o.stat.webclient = 1;
2493
2493
  });
2494
2494
  });
2495
2495
  });
2496
- const l = q(() => !o.location.hash || o.location.hash == "/" || o.sys?.router?.rights?.lv0?.find(
2497
- (r) => o.location.hash.includes(r)
2496
+ const r = q(() => !o.location.hash || o.location.hash == "/" || o.sys?.router?.rights?.lv0?.find(
2497
+ (d) => o.location.hash.includes(d)
2498
2498
  ) ? 0 : o.sys?.router?.rights?.lv1?.find(
2499
- (r) => o.location.hash.includes(r)
2499
+ (d) => o.location.hash.includes(d)
2500
2500
  ) ? 1 : o.sys?.router?.rights?.lv2?.find(
2501
- (r) => o.location.hash.includes(r)
2501
+ (d) => o.location.hash.includes(d)
2502
2502
  ) ? 2 : o.sys?.router?.rights?.lv3?.find(
2503
- (r) => o.location.hash.includes(r)
2503
+ (d) => o.location.hash.includes(d)
2504
2504
  ) ? 3 : o.sys?.router?.config?.lv);
2505
2505
  return je(() => {
2506
2506
  a.ws.web.wsWatchOff({
2507
2507
  ty: "publish/web"
2508
2508
  });
2509
- }), (r, d) => {
2510
- const c = U("AsaiWebServerUserOnline"), f = U("PopMsg"), h = U("PopBoxConfirm"), g = ve("keyboard");
2511
- return i(o).stat.webclient ? (p(), m("div", En, [
2512
- l.value === 0 ? (p(), X(Ne, {
2509
+ }), (d, c) => {
2510
+ const f = U("AsaiWebServerUserOnline"), h = U("PopMsg"), g = U("PopBoxConfirm"), _ = ve("keyboard");
2511
+ return l(o).stat.webclient ? (p(), m("div", En, [
2512
+ r.value === 0 ? (p(), X(Ne, {
2513
2513
  key: 0,
2514
2514
  ujt: t.ujt
2515
- }, null, 8, ["ujt"])) : l.value === 1 ? (p(), X(Ye, {
2515
+ }, null, 8, ["ujt"])) : r.value === 1 ? (p(), X(Ye, {
2516
2516
  key: 1,
2517
2517
  ujt: t.ujt
2518
- }, null, 8, ["ujt"])) : l.value === 2 ? (p(), X(Xe, {
2518
+ }, null, 8, ["ujt"])) : r.value === 2 ? (p(), X(Xe, {
2519
2519
  key: 2,
2520
2520
  ujt: t.ujt
2521
- }, null, 8, ["ujt"])) : (p(), X(c, {
2521
+ }, null, 8, ["ujt"])) : (p(), X(f, {
2522
2522
  key: 3,
2523
2523
  ujt: t.ujt
2524
2524
  }, null, 8, ["ujt"])),
2525
- d[0] || (d[0] = u("div", { id: "teleportasai" }, null, -1)),
2525
+ c[0] || (c[0] = u("div", { id: "teleportasai" }, null, -1)),
2526
2526
  G((p(), m("div", Dn, [
2527
- W(f, { ujt: t.ujt }, null, 8, ["ujt"]),
2528
- W(h, {
2527
+ W(h, { ujt: t.ujt }, null, 8, ["ujt"]),
2528
+ W(g, {
2529
2529
  ujt: t.ujt,
2530
2530
  id: "popdefaultconfirm"
2531
2531
  }, null, 8, ["ujt"])
2532
2532
  ])), [
2533
- [g, { ujt: t.ujt }]
2533
+ [_, { ujt: t.ujt }]
2534
2534
  ])
2535
- ])) : (p(), X(pe(i(o).sys?.router?.config?.loading || "PageLoadClient"), {
2535
+ ])) : (p(), X(pe(l(o).sys?.router?.config?.loading || "PageLoadClient"), {
2536
2536
  key: 1,
2537
2537
  ujt: t.ujt
2538
2538
  }, null, 8, ["ujt"]));
@@ -2550,10 +2550,10 @@ const Ct = {
2550
2550
  const e = t, { $global: n, $fn: o } = e.ujt, a = q(() => n.url[n.module.value]?.filter(
2551
2551
  (s) => s.type === "module" || ("/" + s.value + "/").startsWith(n.location.hash)
2552
2552
  ));
2553
- return (s, l) => {
2553
+ return (s, i) => {
2554
2554
  const r = U("UserCard");
2555
2555
  return p(), m("div", Wn, [
2556
- l[0] || (l[0] = u("div", { class: "app-logo" }, [
2556
+ i[0] || (i[0] = u("div", { class: "app-logo" }, [
2557
2557
  u("img", {
2558
2558
  src: "./webmodel/files/img/logo.png",
2559
2559
  width: "200"
@@ -2563,7 +2563,7 @@ const Ct = {
2563
2563
  (p(!0), m(E, null, ee(a.value, (d) => (p(), m("div", {
2564
2564
  class: J(`app-menu${d.type === "module" ? " module" : ""}`),
2565
2565
  key: d.value,
2566
- onPointerup: (c) => i(o).sethash(d.value === "views" ? "" : d.value)
2566
+ onPointerup: (c) => l(o).sethash(d.value === "views" ? "" : d.value)
2567
2567
  }, [
2568
2568
  u("span", qn, v(d.label), 1)
2569
2569
  ], 42, Vn))), 128))
@@ -2607,13 +2607,13 @@ const Ct = {
2607
2607
  const { initAppModel: a } = o.useInitApp(e.ujt);
2608
2608
  return n.stat[n.module.value] = 0, a(n.module.value).then((s) => {
2609
2609
  n.stat[n.module.value] = 1;
2610
- }), (s, l) => {
2610
+ }), (s, i) => {
2611
2611
  const r = U("RouterView");
2612
- return e.module?.value && i(n).stat[e.module.value] ? (p(), X(r, {
2612
+ return e.module?.value && l(n).stat[e.module.value] ? (p(), X(r, {
2613
2613
  key: 0,
2614
2614
  ujt: t.ujt,
2615
2615
  ty: 0
2616
- }, null, 8, ["ujt"])) : (p(), X(pe(i(n).sys?.router?.config?.loading || "PageLoadErr"), {
2616
+ }, null, 8, ["ujt"])) : (p(), X(pe(l(n).sys?.router?.config?.loading || "PageLoadErr"), {
2617
2617
  key: 1,
2618
2618
  ujt: t.ujt
2619
2619
  }, null, 8, ["ujt"]));
@@ -2630,11 +2630,11 @@ const Ct = {
2630
2630
  setup(t) {
2631
2631
  const e = t, { $global: n, $fn: o } = e.ujt;
2632
2632
  return o.initrouter(), (a, s) => {
2633
- const l = U("MenuShowFix"), r = U("UserCard");
2633
+ const i = U("MenuShowFix"), r = U("UserCard");
2634
2634
  return p(), m(E, null, [
2635
- W(l, {
2635
+ W(i, {
2636
2636
  ujt: t.ujt,
2637
- menus: i(n).url[i(n).module.value]
2637
+ menus: l(n).url[l(n).module.value]
2638
2638
  }, null, 8, ["ujt", "menus"]),
2639
2639
  u("div", Zn, [
2640
2640
  s[0] || (s[0] = u("div", { class: "app-logo" }, [
@@ -2644,10 +2644,10 @@ const Ct = {
2644
2644
  })
2645
2645
  ], -1)),
2646
2646
  u("div", Qn, [
2647
- (p(!0), m(E, null, ee(i(n).url[i(n).module.value], (d) => (p(), m("div", {
2647
+ (p(!0), m(E, null, ee(l(n).url[l(n).module.value], (d) => (p(), m("div", {
2648
2648
  class: J(`app-menu${d.type === "module" ? " module" : ""}`),
2649
2649
  key: d.value,
2650
- onPointerup: (c) => i(o).sethash(d.value === "views" ? "" : d.value)
2650
+ onPointerup: (c) => l(o).sethash(d.value === "views" ? "" : d.value)
2651
2651
  }, [
2652
2652
  u("span", to, v(d.label), 1)
2653
2653
  ], 42, eo))), 128))
@@ -2670,13 +2670,13 @@ const Ct = {
2670
2670
  setup(t) {
2671
2671
  const e = t, { $global: n, $fn: o } = e.ujt;
2672
2672
  return o.initrouter(), (a, s) => {
2673
- const l = U("MenuShowFix"), r = U("RouterView");
2673
+ const i = U("MenuShowFix"), r = U("RouterView");
2674
2674
  return p(), m(E, null, [
2675
- W(l, {
2675
+ W(i, {
2676
2676
  ujt: t.ujt,
2677
- menus: i(n).url[i(n).module.value]
2677
+ menus: l(n).url[l(n).module.value]
2678
2678
  }, null, 8, ["ujt", "menus"]),
2679
- i(n).stat[i(n).module.value] ? (p(), X(r, {
2679
+ l(n).stat[l(n).module.value] ? (p(), X(r, {
2680
2680
  key: 0,
2681
2681
  ujt: t.ujt,
2682
2682
  ty: 1
@@ -2694,17 +2694,17 @@ const Ct = {
2694
2694
  },
2695
2695
  setup(t) {
2696
2696
  const e = t, { $fn: n, $global: o } = e.ujt, { initUserOnline: a } = n.useInitUser(e.ujt, "webserver");
2697
- return a(), (s, l) => {
2697
+ return a(), (s, i) => {
2698
2698
  const r = U("AsaiComponent");
2699
2699
  return p(), m("div", {
2700
2700
  id: "asaiwebserveruseronline",
2701
- class: J("asaiweb asaiweb" + i(o).location?.hasharr?.[0])
2701
+ class: J("asaiweb asaiweb" + l(o).location?.hasharr?.[0])
2702
2702
  }, [
2703
- i(o).code.token && i(o).user.online ? (p(), X(r, {
2703
+ l(o).code.token && l(o).user.online ? (p(), X(r, {
2704
2704
  key: 0,
2705
2705
  ujt: t.ujt
2706
2706
  }, null, 8, ["ujt"])) : (p(), X(pe(
2707
- i(o).sys?.router?.config?.loading || "PageLoadUserTokenOnline"
2707
+ l(o).sys?.router?.config?.loading || "PageLoadUserTokenOnline"
2708
2708
  ), {
2709
2709
  key: 1,
2710
2710
  ujt: t.ujt
@@ -2722,24 +2722,24 @@ const Ct = {
2722
2722
  opt: {}
2723
2723
  },
2724
2724
  setup(t) {
2725
- const e = t, { $fn: n, $db: o } = e.ujt, { addContent: a, initAddChannel: s, channelLang: l } = n.useChannel(e);
2725
+ const e = t, { $fn: n, $db: o } = e.ujt, { addContent: a, initAddChannel: s, channelLang: i } = n.useChannel(e);
2726
2726
  return s(), (r, d) => {
2727
2727
  const c = U("AsaiForm");
2728
2728
  return R(r.$slots, "default", {
2729
- item: i(o)[e.opt.channel],
2730
- option: { addContent: i(a) }
2729
+ item: l(o)[e.opt.channel],
2730
+ option: { addContent: l(a) }
2731
2731
  }, () => [
2732
2732
  u("div", po, [
2733
2733
  W(c, {
2734
2734
  ujt: t.ujt,
2735
- asaidata: i(o)[e.opt.channel].rfdata
2735
+ asaidata: l(o)[e.opt.channel].rfdata
2736
2736
  }, null, 8, ["ujt", "asaidata"])
2737
2737
  ]),
2738
2738
  u("div", fo, [
2739
2739
  u("div", {
2740
2740
  class: "li cur",
2741
- onPointerdown: d[0] || (d[0] = (f) => i(a)())
2742
- }, v(i(l)("ui.add") || "Add"), 33)
2741
+ onPointerdown: d[0] || (d[0] = (f) => l(a)())
2742
+ }, v(l(i)("ui.add") || "Add"), 33)
2743
2743
  ])
2744
2744
  ]);
2745
2745
  };
@@ -2754,20 +2754,20 @@ const Ct = {
2754
2754
  opt: {}
2755
2755
  },
2756
2756
  setup(t) {
2757
- const e = t, { $fn: n, $global: o, $db: a } = e.ujt, { setChannelClass: s, getClassKey: l } = n.useChannel(e);
2757
+ const e = t, { $fn: n, $global: o, $db: a } = e.ujt, { setChannelClass: s, getClassKey: i } = n.useChannel(e);
2758
2758
  return (r, d) => (p(!0), m(E, null, ee(Object.entries(
2759
- i(a)[e.opt.channel].rfdata.rule?.[i(l)()]?.[i(l)() + "data"] || { asai: "All" }
2759
+ l(a)[e.opt.channel].rfdata.rule?.[l(i)()]?.[l(i)() + "data"] || { asai: "All" }
2760
2760
  ), (c) => R(r.$slots, "default", {
2761
2761
  key: c[0],
2762
2762
  item: c,
2763
- option: { setChannelClass: i(s) }
2763
+ option: { setChannelClass: l(s) }
2764
2764
  }, () => [
2765
2765
  u("div", {
2766
2766
  title: c[1] || "",
2767
2767
  class: J({
2768
- cur: c[0] === i(o).location.query?.fl || c[0] === "asai" && !i(o).location.query?.fl
2768
+ cur: c[0] === l(o).location.query?.fl || c[0] === "asai" && !l(o).location.query?.fl
2769
2769
  }),
2770
- onPointerdown: (f) => i(s)(c[0] === "asai" ? "" : c[0])
2770
+ onPointerdown: (f) => l(s)(c[0] === "asai" ? "" : c[0])
2771
2771
  }, v(c[1]), 43, go)
2772
2772
  ])), 128));
2773
2773
  }
@@ -2782,23 +2782,23 @@ const Ct = {
2782
2782
  },
2783
2783
  setup(t) {
2784
2784
  const e = t, { $fn: n, $db: o } = e.ujt, { editContent: a, channelLang: s } = n.useChannel(e);
2785
- return (l, r) => {
2785
+ return (i, r) => {
2786
2786
  const d = U("AsaiForm");
2787
- return R(l.$slots, "default", {
2788
- item: i(o)[e.opt.channel],
2789
- option: { editContent: i(a) }
2787
+ return R(i.$slots, "default", {
2788
+ item: l(o)[e.opt.channel],
2789
+ option: { editContent: l(a) }
2790
2790
  }, () => [
2791
2791
  u("div", bo, [
2792
2792
  W(d, {
2793
2793
  ujt: t.ujt,
2794
- asaidata: i(o)[e.opt.channel].rfdata
2794
+ asaidata: l(o)[e.opt.channel].rfdata
2795
2795
  }, null, 8, ["ujt", "asaidata"])
2796
2796
  ]),
2797
2797
  u("div", _o, [
2798
2798
  u("div", {
2799
2799
  class: "li cur",
2800
- onPointerdown: r[0] || (r[0] = (c) => i(a)())
2801
- }, v(i(s)("ui.edit") || "Edit"), 33)
2800
+ onPointerdown: r[0] || (r[0] = (c) => l(a)())
2801
+ }, v(l(s)("ui.edit") || "Edit"), 33)
2802
2802
  ])
2803
2803
  ]);
2804
2804
  };
@@ -2819,18 +2819,18 @@ const Ct = {
2819
2819
  opt: {}
2820
2820
  },
2821
2821
  setup(t) {
2822
- const e = t, { $fn: n, $global: o, $db: a, $model: s } = e.ujt, { initChannel: l, channelLang: r } = n.useChannel(e);
2823
- return l(), $e(() => {
2822
+ const e = t, { $fn: n, $global: o, $db: a, $model: s } = e.ujt, { initChannel: i, channelLang: r } = n.useChannel(e);
2823
+ return i(), $e(() => {
2824
2824
  a[e.opt.channel] = null;
2825
2825
  }), (d, c) => {
2826
- const f = U("ChannelClass"), h = U("ChannelUpDown"), g = U("ChannelListSearch"), b = U("PopBoxConfirm"), $ = U("ChannelList"), y = U("ChannelListPage"), _ = U("ChannelOpt"), k = U("ChannelEdit"), O = U("ChannelShow"), x = U("ChannelAdd");
2827
- return i(a)[e.opt.channel].stat ? (p(), m("div", {
2826
+ const f = U("ChannelClass"), h = U("ChannelUpDown"), g = U("ChannelListSearch"), _ = U("PopBoxConfirm"), $ = U("ChannelList"), y = U("ChannelListPage"), b = U("ChannelOpt"), k = U("ChannelEdit"), O = U("ChannelShow"), x = U("ChannelAdd");
2827
+ return l(a)[e.opt.channel].stat ? (p(), m("div", {
2828
2828
  key: 0,
2829
2829
  class: J(e.opt.tyindex == 1 ? "as-channel-column" : "as-channel-row")
2830
2830
  }, [
2831
2831
  u("div", wo, [
2832
2832
  u("div", jo, [
2833
- u("h1", null, v(i(s).data.asai.rulebook.listclass) + " " + v(i(r)("ui.class") || "Class"), 1)
2833
+ u("h1", null, v(l(s).data.asai.rulebook.listclass) + " " + v(l(r)("ui.class") || "Class"), 1)
2834
2834
  ]),
2835
2835
  u("div", xo, [
2836
2836
  W(f, {
@@ -2838,7 +2838,7 @@ const Ct = {
2838
2838
  opt: t.opt
2839
2839
  }, null, 8, ["ujt", "opt"])
2840
2840
  ]),
2841
- i(a)[e.opt.channel].cfg?.imex?.keys?.length === 8 ? (p(), m("div", So, [
2841
+ l(a)[e.opt.channel].cfg?.imex?.keys?.length === 8 ? (p(), m("div", So, [
2842
2842
  W(h, {
2843
2843
  ujt: t.ujt,
2844
2844
  opt: t.opt
@@ -2847,7 +2847,7 @@ const Ct = {
2847
2847
  ]),
2848
2848
  u("div", Po, [
2849
2849
  u("div", Co, [
2850
- u("h1", null, v(i(s).data.asai.rulebook.listcontent) + " " + v(i(r)("ui.list") || "List"), 1)
2850
+ u("h1", null, v(l(s).data.asai.rulebook.listcontent) + " " + v(l(r)("ui.list") || "List"), 1)
2851
2851
  ]),
2852
2852
  W(g, {
2853
2853
  ujt: t.ujt,
@@ -2857,7 +2857,7 @@ const Ct = {
2857
2857
  class: "as-channel-list-area as-list-nth",
2858
2858
  id: "popconfirm" + e.opt.channel + "area"
2859
2859
  }, [
2860
- W(b, {
2860
+ W(_, {
2861
2861
  ujt: t.ujt,
2862
2862
  id: "popconfirm" + e.opt.channel
2863
2863
  }, null, 8, ["ujt", "id"]),
@@ -2866,7 +2866,7 @@ const Ct = {
2866
2866
  opt: t.opt
2867
2867
  }, null, 8, ["ujt", "opt"])
2868
2868
  ], 8, Ao),
2869
- i(a)[e.opt.channel].cmPageList.length > 1 ? (p(), m("div", Oo, [
2869
+ l(a)[e.opt.channel].cmPageList.length > 1 ? (p(), m("div", Oo, [
2870
2870
  W(y, {
2871
2871
  ujt: t.ujt,
2872
2872
  opt: t.opt
@@ -2874,12 +2874,12 @@ const Ct = {
2874
2874
  ])) : F("", !0)
2875
2875
  ]),
2876
2876
  u("div", Mo, [
2877
- i(o).location.query?.show ? (p(), m(E, { key: 0 }, [
2878
- i(o).location.query?.showty ? (p(), m(E, { key: 0 }, [
2877
+ l(o).location.query?.show ? (p(), m(E, { key: 0 }, [
2878
+ l(o).location.query?.showty ? (p(), m(E, { key: 0 }, [
2879
2879
  u("div", To, [
2880
- u("h1", null, v(i(s).data.asai.rulebook.contentedit) + " " + v(i(r)("ui.edit") || "Edit"), 1),
2880
+ u("h1", null, v(l(s).data.asai.rulebook.contentedit) + " " + v(l(r)("ui.edit") || "Edit"), 1),
2881
2881
  u("div", zo, [
2882
- W(_, {
2882
+ W(b, {
2883
2883
  ujt: t.ujt,
2884
2884
  opt: t.opt
2885
2885
  }, null, 8, ["ujt", "opt"])
@@ -2891,9 +2891,9 @@ const Ct = {
2891
2891
  }, null, 8, ["ujt", "opt"])
2892
2892
  ], 64)) : (p(), m(E, { key: 1 }, [
2893
2893
  u("div", Lo, [
2894
- u("h1", null, v(i(s).data.asai.rulebook.contentshow) + " " + v(i(r)("ui.show") || "Show"), 1),
2894
+ u("h1", null, v(l(s).data.asai.rulebook.contentshow) + " " + v(l(r)("ui.show") || "Show"), 1),
2895
2895
  u("div", Uo, [
2896
- W(_, {
2896
+ W(b, {
2897
2897
  ujt: t.ujt,
2898
2898
  opt: t.opt
2899
2899
  }, null, 8, ["ujt", "opt"])
@@ -2906,9 +2906,9 @@ const Ct = {
2906
2906
  ], 64))
2907
2907
  ], 64)) : (p(), m(E, { key: 1 }, [
2908
2908
  u("div", Io, [
2909
- u("h1", null, v(i(s).data.asai.rulebook.new) + " " + v(i(r)("ui.add") || "Add"), 1),
2909
+ u("h1", null, v(l(s).data.asai.rulebook.new) + " " + v(l(r)("ui.add") || "Add"), 1),
2910
2910
  u("div", Eo, [
2911
- W(_, {
2911
+ W(b, {
2912
2912
  ujt: t.ujt,
2913
2913
  opt: t.opt
2914
2914
  }, null, 8, ["ujt", "opt"])
@@ -2939,7 +2939,7 @@ const Ct = {
2939
2939
  setup(t) {
2940
2940
  const e = t, { $fn: n, $db: o, $global: a } = e.ujt, {
2941
2941
  delItem: s,
2942
- editItem: l,
2942
+ editItem: i,
2943
2943
  readItem: r,
2944
2944
  setShow: d,
2945
2945
  fetchContent: c,
@@ -2950,40 +2950,40 @@ const Ct = {
2950
2950
  he(() => {
2951
2951
  c(0), r(a.location.query?.show);
2952
2952
  }), o[e.opt.channel].cmPageSize = q(() => Number(a.location.query?.ps) || o[e.opt.channel].cfg.config?.ps || 5);
2953
- const { getPageList: b } = n.usePage(e);
2954
- return o[e.opt.channel].cmPageList = q(() => b(o[e.opt?.channel]?.cmPageSize)), ($, y) => {
2955
- const _ = U("ChannelListType");
2956
- return p(!0), m(E, null, ee(i(o)[e.opt.channel].contentList, (k, O) => R($.$slots, "default", {
2957
- key: "list" + (k?.[i(h)()] || O),
2953
+ const { getPageList: _ } = n.usePage(e);
2954
+ return o[e.opt.channel].cmPageList = q(() => _(o[e.opt?.channel]?.cmPageSize)), ($, y) => {
2955
+ const b = U("ChannelListType");
2956
+ return p(!0), m(E, null, ee(l(o)[e.opt.channel].contentList, (k, O) => R($.$slots, "default", {
2957
+ key: "list" + (k?.[l(h)()] || O),
2958
2958
  item: k,
2959
- option: { setShow: i(d), delItem: i(s), editItem: i(l), optConfirm: i(f) }
2959
+ option: { setShow: l(d), delItem: l(s), editItem: l(i), optConfirm: l(f) }
2960
2960
  }, () => [
2961
- W(_, {
2961
+ W(b, {
2962
2962
  ujt: t.ujt,
2963
2963
  opt: t.opt,
2964
2964
  pm: t.pm,
2965
2965
  item: k,
2966
- option: { setShow: i(d), delItem: i(s), editItem: i(l), optConfirm: i(f) }
2966
+ option: { setShow: l(d), delItem: l(s), editItem: l(i), optConfirm: l(f) }
2967
2967
  }, {
2968
2968
  btns: re(() => [
2969
- 3 < i(a).user?.info?.lv ? (p(), m("div", Fo, [
2969
+ 3 < l(a).user?.info?.lv ? (p(), m("div", Fo, [
2970
2970
  u("div", {
2971
2971
  onPointerdown: y[0] || (y[0] = V(() => {
2972
2972
  }, ["stop"])),
2973
2973
  onPointerup: V((x) => {
2974
- i(f)({
2975
- con: i(g)("ui.delconfirm"),
2974
+ l(f)({
2975
+ con: l(g)("ui.delconfirm"),
2976
2976
  fn: () => {
2977
- i(s)(k?.[i(h)()]);
2977
+ l(s)(k?.[l(h)()]);
2978
2978
  }
2979
2979
  });
2980
2980
  }, ["stop"])
2981
- }, v(i(g)("ui.del") || "Del"), 41, Wo),
2981
+ }, v(l(g)("ui.del") || "Del"), 41, Wo),
2982
2982
  u("div", {
2983
2983
  onPointerdown: y[1] || (y[1] = V(() => {
2984
2984
  }, ["stop"])),
2985
- onPointerup: V((x) => i(l)(k?.[i(h)()]), ["stop"])
2986
- }, v(i(g)("ui.edit") || "Edit"), 41, Ho)
2985
+ onPointerup: V((x) => l(i)(k?.[l(h)()]), ["stop"])
2986
+ }, v(l(g)("ui.edit") || "Edit"), 41, Ho)
2987
2987
  ])) : F("", !0)
2988
2988
  ]),
2989
2989
  _: 2
@@ -3002,19 +3002,19 @@ const Ct = {
3002
3002
  },
3003
3003
  setup(t) {
3004
3004
  const e = t, { $db: n, $global: o } = e.ujt;
3005
- return (a, s) => i(n)[e.opt.channel].cmPageList.length > 1 ? (p(!0), m(E, { key: 0 }, ee(i(n)[e.opt.channel].cmPageList, (l) => R(a.$slots, "default", {
3006
- key: "listpage" + (l || ""),
3007
- item: l,
3005
+ return (a, s) => l(n)[e.opt.channel].cmPageList.length > 1 ? (p(!0), m(E, { key: 0 }, ee(l(n)[e.opt.channel].cmPageList, (i) => R(a.$slots, "default", {
3006
+ key: "listpage" + (i || ""),
3007
+ item: i,
3008
3008
  option: {}
3009
3009
  }, () => [
3010
3010
  u("div", {
3011
3011
  onPointerdown: s[0] || (s[0] = V(() => {
3012
3012
  }, ["stop"])),
3013
- onPointerup: V((r) => i(n)[e.opt.channel]?.setpage(l), ["stop"]),
3013
+ onPointerup: V((r) => l(n)[e.opt.channel]?.setpage(i), ["stop"]),
3014
3014
  class: J(
3015
- l == i(o).location.query?.pg || l == 1 && !i(o).location.query?.pg ? "as-channel-active" : ""
3015
+ i == l(o).location.query?.pg || i == 1 && !l(o).location.query?.pg ? "as-channel-active" : ""
3016
3016
  )
3017
- }, v(l), 43, Bo)
3017
+ }, v(i), 43, Bo)
3018
3018
  ])), 128)) : F("", !0);
3019
3019
  }
3020
3020
  }), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3030,53 +3030,53 @@ const Ct = {
3030
3030
  opt: {}
3031
3031
  },
3032
3032
  setup(t) {
3033
- const e = t, { $db: n, $global: o, $fn: a } = e.ujt, { searchSubmit: s, channelLang: l } = a.useChannel(e);
3033
+ const e = t, { $db: n, $global: o, $fn: a } = e.ujt, { searchSubmit: s, channelLang: i } = a.useChannel(e);
3034
3034
  return (r, d) => R(r.$slots, "default", {
3035
- item: i(o).location.query,
3036
- option: { searchSubmit: i(s) }
3035
+ item: l(o).location.query,
3036
+ option: { searchSubmit: l(s) }
3037
3037
  }, () => [
3038
- e.opt?.channel && i(n)[e.opt.channel].cfg.sxs?.length ? (p(), m("div", Xo, [
3038
+ e.opt?.channel && l(n)[e.opt.channel].cfg.sxs?.length ? (p(), m("div", Xo, [
3039
3039
  u("div", Ko, [
3040
3040
  G(u("input", {
3041
- "onUpdate:modelValue": d[0] || (d[0] = (c) => i(o).location.query.ss = c),
3042
- placeholder: i(a).lg("asai.searchtips")
3041
+ "onUpdate:modelValue": d[0] || (d[0] = (c) => l(o).location.query.ss = c),
3042
+ placeholder: l(a).lg("asai.searchtips")
3043
3043
  }, null, 8, Jo), [
3044
- [ue, i(o).location.query.ss]
3044
+ [ue, l(o).location.query.ss]
3045
3045
  ]),
3046
3046
  u("button", {
3047
- onPointerdown: d[1] || (d[1] = (c) => i(s)())
3048
- }, v(i(a).lg("asai.search")), 33)
3047
+ onPointerdown: d[1] || (d[1] = (c) => l(s)())
3048
+ }, v(l(a).lg("asai.search")), 33)
3049
3049
  ]),
3050
3050
  u("div", Go, [
3051
3051
  G(u("select", {
3052
- "onUpdate:modelValue": d[2] || (d[2] = (c) => i(o).location.query.ssty = c)
3052
+ "onUpdate:modelValue": d[2] || (d[2] = (c) => l(o).location.query.ssty = c)
3053
3053
  }, [
3054
- (p(!0), m(E, null, ee(i(n)[e.opt.channel].cfg.sss, (c) => (p(), m("option", {
3054
+ (p(!0), m(E, null, ee(l(n)[e.opt.channel].cfg.sss, (c) => (p(), m("option", {
3055
3055
  key: c,
3056
3056
  value: c === "asai" ? void 0 : c
3057
- }, v(c === "asai" ? i(l)("ui.sss") || "Table" : i(n)[e.opt.channel].rfdata?.lang?.[c]), 9, Zo))), 128))
3057
+ }, v(c === "asai" ? l(i)("ui.sss") || "Table" : l(n)[e.opt.channel].rfdata?.lang?.[c]), 9, Zo))), 128))
3058
3058
  ], 512), [
3059
- [we, i(o).location.query.ssty]
3059
+ [we, l(o).location.query.ssty]
3060
3060
  ]),
3061
3061
  G(u("select", {
3062
- "onUpdate:modelValue": d[3] || (d[3] = (c) => i(o).location.query.sx = c)
3062
+ "onUpdate:modelValue": d[3] || (d[3] = (c) => l(o).location.query.sx = c)
3063
3063
  }, [
3064
- (p(!0), m(E, null, ee(i(n)[e.opt.channel].cfg.sxs, (c) => (p(), m("option", {
3064
+ (p(!0), m(E, null, ee(l(n)[e.opt.channel].cfg.sxs, (c) => (p(), m("option", {
3065
3065
  key: c,
3066
3066
  value: c === "asai" ? void 0 : c
3067
- }, v(c === "asai" ? i(l)("ui.sxs") || "Sort" : i(n)[e.opt.channel].rfdata?.lang?.[c]), 9, Qo))), 128))
3067
+ }, v(c === "asai" ? l(i)("ui.sxs") || "Sort" : l(n)[e.opt.channel].rfdata?.lang?.[c]), 9, Qo))), 128))
3068
3068
  ], 512), [
3069
- [we, i(o).location.query.sx]
3069
+ [we, l(o).location.query.sx]
3070
3070
  ]),
3071
3071
  G(u("select", {
3072
- "onUpdate:modelValue": d[4] || (d[4] = (c) => i(o).location.query.sxty = c)
3072
+ "onUpdate:modelValue": d[4] || (d[4] = (c) => l(o).location.query.sxty = c)
3073
3073
  }, [
3074
- (p(!0), m(E, null, ee(i(l)("ui.sxtys") || [], (c, f) => (p(), m("option", {
3074
+ (p(!0), m(E, null, ee(l(i)("ui.sxtys") || [], (c, f) => (p(), m("option", {
3075
3075
  key: "sxty" + f,
3076
3076
  value: f == 0 ? void 0 : f.toString()
3077
3077
  }, v(c), 9, ea))), 128))
3078
3078
  ], 512), [
3079
- [we, i(o).location.query.sxty]
3079
+ [we, l(o).location.query.sxty]
3080
3080
  ])
3081
3081
  ])
3082
3082
  ])) : F("", !0)
@@ -3095,7 +3095,7 @@ const Ct = {
3095
3095
  setup(t) {
3096
3096
  const e = t, { $fn: n, $global: o } = e.ujt, a = me({
3097
3097
  list: []
3098
- }), { channelSelect: s, setShow: l } = n.useChannel(e);
3098
+ }), { channelSelect: s, setShow: i } = n.useChannel(e);
3099
3099
  return s(e.pm).then((r) => {
3100
3100
  a.list = r.data;
3101
3101
  }), (r, d) => {
@@ -3103,14 +3103,14 @@ const Ct = {
3103
3103
  return p(!0), m(E, null, ee(a.list, (f, h) => R(r.$slots, "default", {
3104
3104
  key: "list" + (f?.[r.getSnKey()] || h),
3105
3105
  item: f,
3106
- option: { setShow: i(l) }
3106
+ option: { setShow: l(i) }
3107
3107
  }, () => [
3108
3108
  W(c, {
3109
3109
  ujt: t.ujt,
3110
3110
  opt: t.opt,
3111
3111
  pm: t.pm,
3112
3112
  item: f,
3113
- option: { setShow: i(l) }
3113
+ option: { setShow: l(i) }
3114
3114
  }, null, 8, ["ujt", "opt", "pm", "item", "option"])
3115
3115
  ])), 128);
3116
3116
  };
@@ -3129,17 +3129,17 @@ const Ct = {
3129
3129
  },
3130
3130
  setup(t) {
3131
3131
  const e = t, { $global: n, $fn: o } = e.ujt, { getTitleKey: a, getSnKey: s } = o.useChannel(e);
3132
- return (l, r) => (p(), m("div", {
3133
- class: J(`list${t.item?.[i(s)()] && i(n).location.query?.show === t.item?.[i(s)()] ? " cur" : ""}`)
3132
+ return (i, r) => (p(), m("div", {
3133
+ class: J(`list${t.item?.[l(s)()] && l(n).location.query?.show === t.item?.[l(s)()] ? " cur" : ""}`)
3134
3134
  }, [
3135
3135
  u("div", {
3136
3136
  class: "li",
3137
- title: t.item?.[i(a)()] || "",
3137
+ title: t.item?.[l(a)()] || "",
3138
3138
  onPointerdown: r[0] || (r[0] = V(() => {
3139
3139
  }, ["stop"])),
3140
3140
  onPointerup: r[1] || (r[1] = V((d) => t.option?.setShow(t.item), ["stop"]))
3141
- }, v(t.item?.[i(a)()] || ""), 41, sa),
3142
- R(l.$slots, "btns")
3141
+ }, v(t.item?.[l(a)()] || ""), 41, sa),
3142
+ R(i.$slots, "btns")
3143
3143
  ], 2));
3144
3144
  }
3145
3145
  }), ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3156,22 +3156,22 @@ const Ct = {
3156
3156
  },
3157
3157
  setup(t) {
3158
3158
  const e = t, { $global: n, $fn: o } = e.ujt, { getTitleKey: a, getSnKey: s } = o.useChannel(e);
3159
- return (l, r) => (p(), m("div", {
3160
- class: J(`pic${t.item?.[i(s)()] && i(n).location.query?.show === t.item?.[i(s)()] ? " cur" : ""}`)
3159
+ return (i, r) => (p(), m("div", {
3160
+ class: J(`pic${t.item?.[l(s)()] && l(n).location.query?.show === t.item?.[l(s)()] ? " cur" : ""}`)
3161
3161
  }, [
3162
3162
  u("div", {
3163
3163
  class: "li",
3164
- title: t.item?.[i(a)()] || "",
3164
+ title: t.item?.[l(a)()] || "",
3165
3165
  onPointerup: r[0] || (r[0] = V((d) => t.option?.setShow(t.item), ["stop"]))
3166
3166
  }, [
3167
3167
  t.item?.img ? (p(), m("img", {
3168
3168
  key: 0,
3169
3169
  src: t.item.img,
3170
- alt: t.item?.[i(a)()] || ""
3170
+ alt: t.item?.[l(a)()] || ""
3171
3171
  }, null, 8, ca)) : F("", !0),
3172
- se(" " + v(t.item?.[i(a)()] || ""), 1)
3172
+ se(" " + v(t.item?.[l(a)()] || ""), 1)
3173
3173
  ], 40, ra),
3174
- R(l.$slots, "btns")
3174
+ R(i.$slots, "btns")
3175
3175
  ], 2));
3176
3176
  }
3177
3177
  }), da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3192,15 +3192,15 @@ const Ct = {
3192
3192
  "./_comps/pic.vue": da
3193
3193
  });
3194
3194
  function o(s) {
3195
- const l = s.match(/([^\\/]+)(?=\.vue$)/);
3196
- return l ? l[1] : null;
3195
+ const i = s.match(/([^\\/]+)(?=\.vue$)/);
3196
+ return i ? i[1] : null;
3197
3197
  }
3198
3198
  for (let s in n)
3199
3199
  n[o(s) || s] = n[s], delete n[s];
3200
3200
  function a(s) {
3201
3201
  return n[s]?.default ? n[s].default : null;
3202
3202
  }
3203
- return (s, l) => (p(), X(pe(a(e.opt?.lity || "list")), {
3203
+ return (s, i) => (p(), X(pe(a(e.opt?.lity || "list")), {
3204
3204
  ujt: t.ujt,
3205
3205
  opt: t.opt,
3206
3206
  pm: t.pm,
@@ -3224,23 +3224,23 @@ const Ct = {
3224
3224
  },
3225
3225
  setup(t) {
3226
3226
  const e = t, { $fn: n, $db: o } = e.ujt, { channelLogin: a, channelLang: s } = n.useChannel(e);
3227
- return (l, r) => {
3227
+ return (i, r) => {
3228
3228
  const d = U("AsaiForm");
3229
- return R(l.$slots, "default", {
3230
- item: i(o)[e.opt.channel],
3231
- option: { channelLogin: i(a), channelLang: i(s) }
3229
+ return R(i.$slots, "default", {
3230
+ item: l(o)[e.opt.channel],
3231
+ option: { channelLogin: l(a), channelLang: l(s) }
3232
3232
  }, () => [
3233
3233
  u("div", ma, [
3234
3234
  W(d, {
3235
3235
  ujt: t.ujt,
3236
- asaidata: i(o)[e.opt.channel].rfdata
3236
+ asaidata: l(o)[e.opt.channel].rfdata
3237
3237
  }, null, 8, ["ujt", "asaidata"])
3238
3238
  ]),
3239
3239
  u("div", ha, [
3240
3240
  u("div", {
3241
3241
  class: "li cur",
3242
- onPointerdown: r[0] || (r[0] = (c) => i(a)())
3243
- }, v(i(n).lg("channeluser.ui.login")), 33)
3242
+ onPointerdown: r[0] || (r[0] = (c) => l(a)())
3243
+ }, v(l(n).lg("channeluser.ui.login")), 33)
3244
3244
  ])
3245
3245
  ]);
3246
3246
  };
@@ -3257,22 +3257,22 @@ const Ct = {
3257
3257
  setup(t) {
3258
3258
  const e = t, { $fn: n } = e.ujt, { channelLang: o } = n.useChannel(e);
3259
3259
  function a(s) {
3260
- document.querySelectorAll(s).forEach((l) => {
3261
- l.classList.contains("as-channel-nohidden") ? l.classList.remove("as-channel-nohidden") : l.classList.add("as-channel-nohidden"), console.log(l.classList);
3260
+ document.querySelectorAll(s).forEach((i) => {
3261
+ i.classList.contains("as-channel-nohidden") ? i.classList.remove("as-channel-nohidden") : i.classList.add("as-channel-nohidden"), console.log(i.classList);
3262
3262
  });
3263
3263
  }
3264
- return (s, l) => R(s.$slots, "default", {
3264
+ return (s, i) => R(s.$slots, "default", {
3265
3265
  item: {},
3266
3266
  option: { toggleShow: a }
3267
3267
  }, () => [
3268
3268
  u("div", {
3269
3269
  class: "as-channel-opt-class",
3270
- onPointerdown: l[0] || (l[0] = (r) => a(".as-channel-class"))
3271
- }, " ☰ " + v(i(o)("ui.class") || "Class"), 33),
3270
+ onPointerdown: i[0] || (i[0] = (r) => a(".as-channel-class"))
3271
+ }, " ☰ " + v(l(o)("ui.class") || "Class"), 33),
3272
3272
  u("div", {
3273
3273
  class: "as-channel-opt-list",
3274
- onPointerdown: l[1] || (l[1] = (r) => a(".as-channel-list"))
3275
- }, " ☰ " + v(i(o)("ui.list") || "List"), 33)
3274
+ onPointerdown: i[1] || (i[1] = (r) => a(".as-channel-list"))
3275
+ }, " ☰ " + v(l(o)("ui.list") || "List"), 33)
3276
3276
  ]);
3277
3277
  }
3278
3278
  }), ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3285,33 +3285,33 @@ const Ct = {
3285
3285
  opt: {}
3286
3286
  },
3287
3287
  setup(t) {
3288
- const e = t, { $global: n, $fn: o, $db: a } = e.ujt, { setChannelHash: s, channelLang: l } = o.useChannel(e);
3288
+ const e = t, { $global: n, $fn: o, $db: a } = e.ujt, { setChannelHash: s, channelLang: i } = o.useChannel(e);
3289
3289
  return (r, d) => R(r.$slots, "default", {
3290
- item: i(n).location.query,
3291
- option: { setChannelHash: i(s) }
3290
+ item: l(n).location.query,
3291
+ option: { setChannelHash: l(s) }
3292
3292
  }, () => [
3293
3293
  u("div", _a, [
3294
3294
  u("div", {
3295
3295
  class: "as-channel-pos",
3296
- onPointerup: d[0] || (d[0] = V((c) => i(s)("class"), ["stop"]))
3297
- }, v(i(l)("ui.class") || "Class"), 33),
3296
+ onPointerup: d[0] || (d[0] = V((c) => l(s)("class"), ["stop"]))
3297
+ }, v(l(i)("ui.class") || "Class"), 33),
3298
3298
  u("div", {
3299
3299
  class: "as-channel-pos",
3300
- onPointerup: d[1] || (d[1] = V((c) => i(s)("list"), ["stop"]))
3301
- }, v(i(l)("ui.list") || "List"), 33),
3300
+ onPointerup: d[1] || (d[1] = V((c) => l(s)("list"), ["stop"]))
3301
+ }, v(l(i)("ui.list") || "List"), 33),
3302
3302
  u("div", {
3303
3303
  class: "as-channel-pos",
3304
- onPointerup: d[2] || (d[2] = V((c) => i(s)("add"), ["stop"]))
3305
- }, v(i(l)("ui.add") || "Add"), 33),
3306
- i(a)[e.opt.channel]?.cfg?.url?.reg ? (p(), m(E, { key: 0 }, [
3304
+ onPointerup: d[2] || (d[2] = V((c) => l(s)("add"), ["stop"]))
3305
+ }, v(l(i)("ui.add") || "Add"), 33),
3306
+ l(a)[e.opt.channel]?.cfg?.url?.reg ? (p(), m(E, { key: 0 }, [
3307
3307
  u("div", {
3308
3308
  class: "as-channel-pos",
3309
- onPointerup: d[3] || (d[3] = V((c) => i(s)("reg"), ["stop"]))
3310
- }, v(i(o).lg("channeluser.ui.reg")), 33),
3309
+ onPointerup: d[3] || (d[3] = V((c) => l(s)("reg"), ["stop"]))
3310
+ }, v(l(o).lg("channeluser.ui.reg")), 33),
3311
3311
  u("div", {
3312
3312
  class: "as-channel-pos",
3313
- onPointerup: d[4] || (d[4] = V((c) => i(s)("login"), ["stop"]))
3314
- }, v(i(o).lg("channeluser.ui.login")), 33)
3313
+ onPointerup: d[4] || (d[4] = V((c) => l(s)("login"), ["stop"]))
3314
+ }, v(l(o).lg("channeluser.ui.login")), 33)
3315
3315
  ], 64)) : F("", !0)
3316
3316
  ])
3317
3317
  ], !0);
@@ -3326,24 +3326,24 @@ const Ct = {
3326
3326
  opt: {}
3327
3327
  },
3328
3328
  setup(t) {
3329
- const e = t, { $fn: n, $db: o } = e.ujt, { channelReg: a, initAddChannel: s, channelLang: l } = n.useChannel(e);
3329
+ const e = t, { $fn: n, $db: o } = e.ujt, { channelReg: a, initAddChannel: s, channelLang: i } = n.useChannel(e);
3330
3330
  return s(), (r, d) => {
3331
3331
  const c = U("AsaiForm");
3332
3332
  return R(r.$slots, "default", {
3333
- item: i(o)[e.opt.channel],
3334
- option: { channelReg: i(a), channelLang: i(l) }
3333
+ item: l(o)[e.opt.channel],
3334
+ option: { channelReg: l(a), channelLang: l(i) }
3335
3335
  }, () => [
3336
3336
  u("div", ja, [
3337
3337
  W(c, {
3338
3338
  ujt: t.ujt,
3339
- asaidata: i(o)[e.opt.channel].rfdata
3339
+ asaidata: l(o)[e.opt.channel].rfdata
3340
3340
  }, null, 8, ["ujt", "asaidata"])
3341
3341
  ]),
3342
3342
  u("div", xa, [
3343
3343
  u("div", {
3344
3344
  class: "li cur",
3345
- onPointerdown: d[0] || (d[0] = (f) => i(a)())
3346
- }, v(i(n).lg("channeluser.ui.reg")), 33)
3345
+ onPointerdown: d[0] || (d[0] = (f) => l(a)())
3346
+ }, v(l(n).lg("channeluser.ui.reg")), 33)
3347
3347
  ])
3348
3348
  ]);
3349
3349
  };
@@ -3362,13 +3362,13 @@ const Ct = {
3362
3362
  return (o, a) => {
3363
3363
  const s = U("AsaiForm");
3364
3364
  return R(o.$slots, "default", {
3365
- item: i(n)[e.opt.channel],
3365
+ item: l(n)[e.opt.channel],
3366
3366
  option: {}
3367
3367
  }, () => [
3368
3368
  u("div", Ca, [
3369
3369
  W(s, {
3370
3370
  ujt: t.ujt,
3371
- asaidata: i(n)[e.opt.channel].rfdata
3371
+ asaidata: l(n)[e.opt.channel].rfdata
3372
3372
  }, null, 8, ["ujt", "asaidata"])
3373
3373
  ])
3374
3374
  ]);
@@ -3385,31 +3385,31 @@ const Ct = {
3385
3385
  },
3386
3386
  setup(t) {
3387
3387
  const e = t, { $fn: n, $global: o } = e.ujt, { channelUpload: a, channelDownload: s } = n.useChannel(e);
3388
- function l(r) {
3388
+ function i(r) {
3389
3389
  a(r);
3390
3390
  }
3391
3391
  return (r, d) => {
3392
3392
  const c = U("AsUploadTxt");
3393
3393
  return R(r.$slots, "default", {
3394
3394
  item: {},
3395
- option: { onUpload: l, channelUpload: i(a), channelDownload: i(s) }
3395
+ option: { onUpload: i, channelUpload: l(a), channelDownload: l(s) }
3396
3396
  }, () => [
3397
3397
  u("button", Ma, [
3398
3398
  W(c, {
3399
3399
  ujt: t.ujt,
3400
3400
  opt: { accept: ".txt" },
3401
- onOnUpload: l
3401
+ onOnUpload: i
3402
3402
  }, {
3403
3403
  default: re(() => [
3404
- se(v(i(o).lang.asai.upload), 1)
3404
+ se(v(l(o).lang.asai.upload), 1)
3405
3405
  ]),
3406
3406
  _: 1
3407
3407
  }, 8, ["ujt"])
3408
3408
  ]),
3409
3409
  u("button", {
3410
3410
  class: "as-channel-io",
3411
- onPointerdown: d[0] || (d[0] = (f) => i(s)())
3412
- }, v(i(o).lang.asai.download), 33)
3411
+ onPointerdown: d[0] || (d[0] = (f) => l(s)())
3412
+ }, v(l(o).lang.asai.download), 33)
3413
3413
  ]);
3414
3414
  };
3415
3415
  }
@@ -3429,7 +3429,7 @@ const Ct = {
3429
3429
  room: {}
3430
3430
  },
3431
3431
  setup(t) {
3432
- const e = t, { $fn: n, $ws: o, $global: a } = e.ujt, { sendChatRoom: s } = n.useChatRoom(e), l = e?.room?.wsname || "web", r = e?.room?.roomname || "asai", d = Y(null), c = Y(null), f = me({
3432
+ const e = t, { $fn: n, $ws: o, $global: a } = e.ujt, { sendChatRoom: s } = n.useChatRoom(e), i = e?.room?.wsname || "web", r = e?.room?.roomname || "asai", d = Y(null), c = Y(null), f = me({
3433
3433
  mediaPress: null,
3434
3434
  mediaNew: null,
3435
3435
  mediaChunks: [],
@@ -3453,9 +3453,9 @@ const Ct = {
3453
3453
  try {
3454
3454
  const y = c.value;
3455
3455
  if (!y) return;
3456
- const _ = y.selectionStart !== null ? y.selectionStart : y.value.length, k = y.selectionEnd !== null ? y.selectionEnd : y.value.length, O = y.value, x = O.substring(0, _) + $ + O.substring(k);
3456
+ const b = y.selectionStart !== null ? y.selectionStart : y.value.length, k = y.selectionEnd !== null ? y.selectionEnd : y.value.length, O = y.value, x = O.substring(0, b) + $ + O.substring(k);
3457
3457
  y.value = x;
3458
- const L = _ + $.length;
3458
+ const L = b + $.length;
3459
3459
  y.setSelectionRange(L, L), y.dispatchEvent(new Event("input", { bubbles: !0 })), f.send.msg = x;
3460
3460
  } catch {
3461
3461
  const k = c.value.value + $;
@@ -3469,15 +3469,15 @@ const Ct = {
3469
3469
  }));
3470
3470
  };
3471
3471
  function h() {
3472
- s(r, l, f.send, "");
3472
+ s(r, i, f.send, "");
3473
3473
  }
3474
3474
  const g = Oe(
3475
3475
  () => o.rooms?.[r]?.length,
3476
3476
  ($, y) => {
3477
- $ != y && b();
3477
+ $ != y && _();
3478
3478
  }
3479
3479
  );
3480
- function b() {
3480
+ function _() {
3481
3481
  d.value && d.value.scrollTop > f.chatDomHeight - f.Inclusion && be(() => {
3482
3482
  d.value && (f.chatDomHeight = d.value.scrollHeight, d.value.scrollTop = f.chatDomHeight);
3483
3483
  });
@@ -3485,17 +3485,17 @@ const Ct = {
3485
3485
  return je(() => {
3486
3486
  g();
3487
3487
  }), ($, y) => {
3488
- const _ = U("ChatRoomOpt");
3488
+ const b = U("ChatRoomOpt");
3489
3489
  return p(), m("div", La, [
3490
3490
  u("div", Ua, [
3491
3491
  R($.$slots, "chatheader", {
3492
3492
  opt: {
3493
- chatlist: i(o).rooms[i(r)],
3493
+ chatlist: l(o).rooms[l(r)],
3494
3494
  chatdata: f,
3495
3495
  room: t.room
3496
3496
  }
3497
3497
  }, () => [
3498
- u("div", Ia, v(t.room?.lang?.chat || i(a).lang.sys.chat.chat), 1)
3498
+ u("div", Ia, v(t.room?.lang?.chat || l(a).lang.sys.chat.chat), 1)
3499
3499
  ], !0)
3500
3500
  ]),
3501
3501
  u("div", {
@@ -3505,13 +3505,13 @@ const Ct = {
3505
3505
  }, [
3506
3506
  R($.$slots, "chatbody", {
3507
3507
  opt: {
3508
- chatlist: i(o).rooms[i(r)],
3508
+ chatlist: l(o).rooms[l(r)],
3509
3509
  chatdata: f,
3510
3510
  room: t.room
3511
3511
  }
3512
3512
  }, () => [
3513
3513
  u("div", Ea, [
3514
- (p(!0), m(E, null, ee(i(o).rooms[i(r)], (k, O) => (p(), m("div", {
3514
+ (p(!0), m(E, null, ee(l(o).rooms[l(r)], (k, O) => (p(), m("div", {
3515
3515
  key: O,
3516
3516
  class: J(["chat-message", { self: f.send.us === k.us }])
3517
3517
  }, [
@@ -3540,7 +3540,7 @@ const Ct = {
3540
3540
  u("div", Va, [
3541
3541
  u("div", qa, [
3542
3542
  f.optty ? (p(), m("div", Ba, [
3543
- W(_, {
3543
+ W(b, {
3544
3544
  ujt: t.ujt,
3545
3545
  room: t.room,
3546
3546
  chatdata: f
@@ -3549,7 +3549,7 @@ const Ct = {
3549
3549
  ]),
3550
3550
  R($.$slots, "chatfooter", {
3551
3551
  opt: {
3552
- chatlist: i(o).rooms[i(r)],
3552
+ chatlist: l(o).rooms[l(r)],
3553
3553
  chatdata: f,
3554
3554
  room: t.room
3555
3555
  }
@@ -3559,7 +3559,7 @@ const Ct = {
3559
3559
  u("button", {
3560
3560
  onClick: y[0] || (y[0] = //@ts-ignore
3561
3561
  (...k) => f.optFn && f.optFn(...k))
3562
- }, v(t.room?.lang?.opt || i(a).lang.sys.chat.opt), 1)
3562
+ }, v(t.room?.lang?.opt || l(a).lang.sys.chat.opt), 1)
3563
3563
  ]),
3564
3564
  u("div", Xa, [
3565
3565
  f.send.ty < 3 ? G((p(), m("input", {
@@ -3568,14 +3568,14 @@ const Ct = {
3568
3568
  ref: c,
3569
3569
  type: "text",
3570
3570
  "onUpdate:modelValue": y[1] || (y[1] = (k) => f.send.msg = k),
3571
- placeholder: t.room?.lang?.placeholder || i(a).lang.sys.chat.placeholder,
3571
+ placeholder: t.room?.lang?.placeholder || l(a).lang.sys.chat.placeholder,
3572
3572
  onKeyup: gt(h, ["enter"])
3573
3573
  }, null, 40, Ka)), [
3574
3574
  [ue, f.send.msg]
3575
3575
  ]) : (p(), m("div", Ja, v(f.mediaWorking ? f.send.ty == 4 ? "正在录像..." : "正在录音..." : "等待操作..."), 1))
3576
3576
  ]),
3577
3577
  u("div", Ga, [
3578
- u("button", { onClick: h }, v(t.room?.lang?.send || i(a).lang.sys.chat.send), 1)
3578
+ u("button", { onClick: h }, v(t.room?.lang?.send || l(a).lang.sys.chat.send), 1)
3579
3579
  ])
3580
3580
  ])
3581
3581
  ], !0)
@@ -3600,8 +3600,8 @@ const Ct = {
3600
3600
  const e = t, { $fn: n } = e.ujt, { mediaOnPress: o, mediaOnHold: a, mediaOnRelease: s } = n.useMediaWork(
3601
3601
  e.ujt,
3602
3602
  e.mediadata
3603
- ), l = Y(null);
3604
- return e.mediadata.mediaView = l, (r, d) => {
3603
+ ), i = Y(null);
3604
+ return e.mediadata.mediaView = i, (r, d) => {
3605
3605
  const c = ve("longpress");
3606
3606
  return p(), m("div", ts, [
3607
3607
  u("div", ns, [
@@ -3609,7 +3609,7 @@ const Ct = {
3609
3609
  key: 0,
3610
3610
  class: "as-media-working",
3611
3611
  ref_key: "mediaView",
3612
- ref: l,
3612
+ ref: i,
3613
3613
  autoplay: "",
3614
3614
  playsinline: "",
3615
3615
  muted: "",
@@ -3632,9 +3632,9 @@ const Ct = {
3632
3632
  ])])) : F("", !0)
3633
3633
  ], 2)), [
3634
3634
  [c, {
3635
- press: i(o),
3636
- hold: i(a),
3637
- release: i(s)
3635
+ press: l(o),
3636
+ hold: l(a),
3637
+ release: l(s)
3638
3638
  }]
3639
3639
  ])
3640
3640
  ]);
@@ -3660,10 +3660,10 @@ const Ct = {
3660
3660
  class: "as-emoji-area",
3661
3661
  onPointerdown: o
3662
3662
  }, [
3663
- (p(!0), m(E, null, ee(n.value, (l, r) => (p(), m("i", {
3663
+ (p(!0), m(E, null, ee(n.value, (i, r) => (p(), m("i", {
3664
3664
  key: "emoji_" + r,
3665
3665
  class: "as-emoji-item"
3666
- }, v(l), 1))), 128))
3666
+ }, v(i), 1))), 128))
3667
3667
  ], 32));
3668
3668
  }
3669
3669
  }), us = /* @__PURE__ */ B(cs, [["__scopeId", "data-v-ebb02e7c"]]), ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3684,9 +3684,9 @@ const Ct = {
3684
3684
  e.ujt,
3685
3685
  e.mediadata,
3686
3686
  1
3687
- ), l = Y(null);
3687
+ ), i = Y(null);
3688
3688
  return e.mediadata.mediaFnView = async (r) => {
3689
- l.value.srcObject = r, await l.value.play();
3689
+ i.value.srcObject = r, await i.value.play();
3690
3690
  }, (r, d) => {
3691
3691
  const c = ve("longpress");
3692
3692
  return p(), m("div", ps, [
@@ -3695,7 +3695,7 @@ const Ct = {
3695
3695
  key: 0,
3696
3696
  class: "as-media-working",
3697
3697
  ref_key: "mediaView",
3698
- ref: l,
3698
+ ref: i,
3699
3699
  autoplay: "",
3700
3700
  playsinline: "",
3701
3701
  muted: ""
@@ -3717,9 +3717,9 @@ const Ct = {
3717
3717
  ])])) : F("", !0)
3718
3718
  ], 2)), [
3719
3719
  [c, {
3720
- press: i(o),
3721
- hold: i(a),
3722
- release: i(s)
3720
+ press: l(o),
3721
+ hold: l(a),
3722
+ release: l(s)
3723
3723
  }]
3724
3724
  ])
3725
3725
  ]);
@@ -3753,7 +3753,7 @@ const Ct = {
3753
3753
  }
3754
3754
  for (let d in a)
3755
3755
  a[s(d) || d] = a[d], delete a[d];
3756
- function l(d) {
3756
+ function i(d) {
3757
3757
  return d && a[d]?.default ? a[d].default : null;
3758
3758
  }
3759
3759
  function r(d = null) {
@@ -3766,25 +3766,25 @@ const Ct = {
3766
3766
  key: "li" + f[0]
3767
3767
  }, [
3768
3768
  u("div", ks, v(f[2]), 1),
3769
- u("div", ws, v(i(n).lang.sys.chat[f[1]]), 1)
3769
+ u("div", ws, v(l(n).lang.sys.chat[f[1]]), 1)
3770
3770
  ], 40, $s))), 128)) : (p(), m(E, { key: 1 }, [
3771
3771
  u("div", js, [
3772
3772
  u("div", {
3773
3773
  class: "as-chatopt-btn",
3774
3774
  onPointerdown: c[0] || (c[0] = (f) => r())
3775
- }, v(i(n).lang.sys.chat.optBack), 33),
3775
+ }, v(l(n).lang.sys.chat.optBack), 33),
3776
3776
  u("div", {
3777
3777
  class: "as-chatopt-btn",
3778
3778
  onPointerdown: c[1] || (c[1] = (f) => t.chatdata.optFn())
3779
- }, v(i(n).lang.sys.chat.optClose), 33)
3779
+ }, v(l(n).lang.sys.chat.optClose), 33)
3780
3780
  ]),
3781
- t.chatdata.optcomp ? (p(), X(pe(l(t.chatdata.optcomp)), {
3781
+ t.chatdata.optcomp ? (p(), X(pe(i(t.chatdata.optcomp)), {
3782
3782
  key: 0,
3783
3783
  ujt: t.ujt,
3784
3784
  room: t.room,
3785
3785
  mediadata: t.chatdata
3786
3786
  }, null, 8, ["ujt", "room", "mediadata"])) : (p(), m(E, { key: 1 }, [
3787
- se(v(i(n).lang.sys.chat.optNoComp), 1)
3787
+ se(v(l(n).lang.sys.chat.optNoComp), 1)
3788
3788
  ], 64))
3789
3789
  ], 64))
3790
3790
  ]));
@@ -3808,7 +3808,7 @@ const Ct = {
3808
3808
  }
3809
3809
  return { initKeyboard: n };
3810
3810
  }, As = (t, e) => {
3811
- const { $global: n, $fn: o, $model: a } = t, s = {}, l = (c, f, h, g = null, b = null) => {
3811
+ const { $global: n, $fn: o, $model: a } = t, s = {}, i = (c, f, h, g = null, _ = null) => {
3812
3812
  if (e.keyMap.bd.Type == "Chinese" && g === "left") {
3813
3813
  e.keyMap.bd.zhindex < 1 ? e.keyMap.bd.zhindex = 0 : e.keyMap.bd.zhindex--;
3814
3814
  return;
@@ -3830,12 +3830,12 @@ const Ct = {
3830
3830
  const {
3831
3831
  endColumn: $,
3832
3832
  endLineNumber: y,
3833
- startColumn: _,
3833
+ startColumn: b,
3834
3834
  startLineNumber: k
3835
3835
  } = a.lua.editor.getSelection();
3836
- ($ !== _ || y !== k) && n.keyboard.opt?.backText();
3836
+ ($ !== b || y !== k) && n.keyboard.opt?.backText();
3837
3837
  }
3838
- n.keyboard.opt?.insertText(g, b);
3838
+ n.keyboard.opt?.insertText(g, _);
3839
3839
  return;
3840
3840
  }
3841
3841
  }
@@ -3848,7 +3848,7 @@ const Ct = {
3848
3848
  }, r = (c = {}) => {
3849
3849
  c.char = c.char || (e.keyMap.bd.Shift ? c.key.toUpperCase() : c.key);
3850
3850
  const f = c.elVal.slice(0, c.startPos) + c.char + c.elVal.slice(c.endPos);
3851
- return l(
3851
+ return i(
3852
3852
  c.elDom,
3853
3853
  f,
3854
3854
  c.startPos + c.char.length,
@@ -3860,16 +3860,16 @@ const Ct = {
3860
3860
  n.keyboard.params.ot.isnumber && !/[0-9.-]/.test(c.key) || r(c);
3861
3861
  }, s.Backspace = (c = {}) => {
3862
3862
  const f = c.startPos === c.endPos ? c.startPos - 1 : c.startPos, h = c.elVal.slice(0, f) + c.elVal.slice(c.endPos);
3863
- l(c.elDom, h, f, 0);
3863
+ i(c.elDom, h, f, 0);
3864
3864
  }, s.Left = (c = {}) => {
3865
- l(
3865
+ i(
3866
3866
  c.elDom,
3867
3867
  c.elVal,
3868
3868
  c.startPos - 1 > 0 ? c.startPos - 1 : 0,
3869
3869
  "left"
3870
3870
  );
3871
3871
  }, s.Right = (c = {}) => {
3872
- l(
3872
+ i(
3873
3873
  c.elDom,
3874
3874
  c.elVal,
3875
3875
  c.endPos + 1 > c.elVal.length ? c.elVal.length : c.endPos + 1,
@@ -3933,10 +3933,10 @@ const Ct = {
3933
3933
  e.keyMap.bd.Ctrl ? await s.Paste(c) : r(c);
3934
3934
  }, s["▲"] = async (c = {}) => {
3935
3935
  const h = c.elVal.split(".")[1]?.length || 0;
3936
- h ? c.elVal = (+c.elVal + 1 / Math.pow(10, h)).toFixed(h) : c.elVal++, l(c.elDom, c.elVal, c.startPos, 0);
3936
+ h ? c.elVal = (+c.elVal + 1 / Math.pow(10, h)).toFixed(h) : c.elVal++, i(c.elDom, c.elVal, c.startPos, 0);
3937
3937
  }, s["▼"] = async (c = {}) => {
3938
3938
  const h = c.elVal.split(".")[1]?.length || 0;
3939
- h ? c.elVal = (+c.elVal - 1 / Math.pow(10, h)).toFixed(h) : c.elVal--, l(c.elDom, c.elVal, c.startPos, 0);
3939
+ h ? c.elVal = (+c.elVal - 1 / Math.pow(10, h)).toFixed(h) : c.elVal--, i(c.elDom, c.elVal, c.startPos, 0);
3940
3940
  };
3941
3941
  function d(c = {}) {
3942
3942
  n.pop["popkeyboard" + c.key].stat = 1;
@@ -3953,7 +3953,7 @@ const Ct = {
3953
3953
  }
3954
3954
  };
3955
3955
  };
3956
- }), { keysFun: s, updateInputValue: l, handleInsertChar: r };
3956
+ }), { keysFun: s, updateInputValue: i, handleInsertChar: r };
3957
3957
  }, Os = { class: "keyboard-area" }, Ms = { class: "keyboard-top" }, Ts = { class: "keyboard-menu" }, zs = ["onPointerdown"], Ls = { class: "keyboard-opt" }, Us = {
3958
3958
  key: 1,
3959
3959
  class: "keyboard-list"
@@ -3987,11 +3987,11 @@ const Ct = {
3987
3987
  a3e79982: s.cfg.theme.bg3,
3988
3988
  v05498808: s.cfg.theme.fs
3989
3989
  }));
3990
- const e = t, { $model: n, $global: o } = e.ujt, { initKeyboard: a } = Cs(e.ujt), s = me({ ...a() }), { keysFun: l } = As(e.ujt, { keyMap: s });
3990
+ const e = t, { $model: n, $global: o } = e.ujt, { initKeyboard: a } = Cs(e.ujt), s = me({ ...a() }), { keysFun: i } = As(e.ujt, { keyMap: s });
3991
3991
  Oe(
3992
3992
  () => o.keyboard.showkeyboard,
3993
- (y, _) => {
3994
- y && y !== _ && f();
3993
+ (y, b) => {
3994
+ y && y !== b && f();
3995
3995
  }
3996
3996
  );
3997
3997
  const r = q(() => s.askeytypes[o.keyboard.showkeyboard || ".askey-default"] || s.askeytypes[".askey-default"]);
@@ -4007,14 +4007,14 @@ const Ct = {
4007
4007
  }, 10);
4008
4008
  });
4009
4009
  }, h = async (y) => {
4010
- const _ = o.keyboard.params?.el;
4011
- if (!_)
4010
+ const b = o.keyboard.params?.el;
4011
+ if (!b)
4012
4012
  return;
4013
- const k = _.value;
4013
+ const k = b.value;
4014
4014
  let O, x;
4015
- O = _.selectionStart, x = _.selectionEnd, O == null && (O = k.length, x = k.length), l[y] && typeof l[y] == "function" ? l[y]({ key: y, elDom: _, elVal: k, startPos: O, endPos: x }) : l.default({
4015
+ O = b.selectionStart, x = b.selectionEnd, O == null && (O = k.length, x = k.length), i[y] && typeof i[y] == "function" ? i[y]({ key: y, elDom: b, elVal: k, startPos: O, endPos: x }) : i.default({
4016
4016
  key: y,
4017
- elDom: _,
4017
+ elDom: b,
4018
4018
  elVal: k,
4019
4019
  startPos: O,
4020
4020
  endPos: x,
@@ -4022,32 +4022,32 @@ const Ct = {
4022
4022
  onsuggest: o.keyboard.params.type === "monaco" && o.keyboard.opt?.pasteText ? 1 : 0
4023
4023
  });
4024
4024
  }, g = (y) => {
4025
- const _ = [];
4025
+ const b = [];
4026
4026
  for (const [k, O] of Object.entries(
4027
4027
  n.data?.sys?.chinese || {}
4028
4028
  ))
4029
- k.startsWith(y) && _.push(...O);
4030
- return _;
4031
- }, b = (y, _) => {
4029
+ k.startsWith(y) && b.push(...O);
4030
+ return b;
4031
+ }, _ = (y, b) => {
4032
4032
  let k = !1;
4033
- s.bd.Type === "Chinese" && (y === "Backspace" ? (s.bd.zhs && (s.bd.zhs = s.bd.zhs.slice(0, -1), s.bd.zharr = g(s.bd.zhs), k = !0), s.bd.zhs || (s.bd.zharr = [], s.bd.zhindex = 0)) : ["Space", "Enter"].includes(y) ? s.bd.zharr?.length && (y = s.bd.zharr[s.bd.zhindex], s.bd.zhs = "", s.bd.zhindex = 0, s.bd.zharr = []) : "qwertyuiopasdfghjklzxcvbnm".includes(y) ? (s.bd.zhs += y, s.bd.zharr = g(s.bd.zhs), s.bd.zhindex = 0, k = !0) : y?.length > 1 && l[y] || (s.bd.zhs && (s.bd.zhs = ""), s.bd.zharr?.length && (_.classList.contains("zh-li") || (y = s.bd.zharr[0] + y), s.bd.zhs = "", s.bd.zhindex = 0, s.bd.zharr = []))), !k && h(y);
4033
+ s.bd.Type === "Chinese" && (y === "Backspace" ? (s.bd.zhs && (s.bd.zhs = s.bd.zhs.slice(0, -1), s.bd.zharr = g(s.bd.zhs), k = !0), s.bd.zhs || (s.bd.zharr = [], s.bd.zhindex = 0)) : ["Space", "Enter"].includes(y) ? s.bd.zharr?.length && (y = s.bd.zharr[s.bd.zhindex], s.bd.zhs = "", s.bd.zhindex = 0, s.bd.zharr = []) : "qwertyuiopasdfghjklzxcvbnm".includes(y) ? (s.bd.zhs += y, s.bd.zharr = g(s.bd.zhs), s.bd.zhindex = 0, k = !0) : y?.length > 1 && i[y] || (s.bd.zhs && (s.bd.zhs = ""), s.bd.zharr?.length && (b.classList.contains("zh-li") || (y = s.bd.zharr[0] + y), s.bd.zhs = "", s.bd.zhindex = 0, s.bd.zharr = []))), !k && h(y);
4034
4034
  }, $ = (y) => {
4035
- const _ = y.target;
4036
- if (!_.classList.contains("askey")) return;
4037
- const k = _.dataset.key;
4035
+ const b = y.target;
4036
+ if (!b.classList.contains("askey")) return;
4037
+ const k = b.dataset.key;
4038
4038
  if (!k) return;
4039
4039
  y.preventDefault(), y.stopPropagation();
4040
- let O = _.classList.contains("zh-li");
4040
+ let O = b.classList.contains("zh-li");
4041
4041
  switch (y.type) {
4042
4042
  case "pointerdown":
4043
- !O && b(k, _);
4043
+ !O && _(k, b);
4044
4044
  break;
4045
4045
  case "pointerup":
4046
- O && b(k, _);
4046
+ O && _(k, b);
4047
4047
  break;
4048
4048
  }
4049
4049
  };
4050
- return (y, _) => {
4050
+ return (y, b) => {
4051
4051
  const k = U("PopDrop"), O = ve("dragzoom");
4052
4052
  return p(), m("div", {
4053
4053
  class: "keyboard-container",
@@ -4063,35 +4063,35 @@ const Ct = {
4063
4063
  class: J(s.bd.Type == x ? "active" : ""),
4064
4064
  key: x,
4065
4065
  onPointerdown: V((L) => s.bd.Type = x, ["stop"])
4066
- }, v(i(o).lang.sys?.keyboard?.menu?.[x] || x), 43, zs))), 128))
4066
+ }, v(l(o).lang.sys?.keyboard?.menu?.[x] || x), 43, zs))), 128))
4067
4067
  ]),
4068
4068
  u("div", Ls, [
4069
- u("div", null, v(i(o).lang.sys?.keyboard?.Drag || "Drag"), 1),
4069
+ u("div", null, v(l(o).lang.sys?.keyboard?.Drag || "Drag"), 1),
4070
4070
  u("div", {
4071
- onPointerdown: _[0] || (_[0] = V(
4071
+ onPointerdown: b[0] || (b[0] = V(
4072
4072
  //@ts-ignore
4073
- (...x) => i(l).Hide && i(l).Hide(...x),
4073
+ (...x) => l(i).Hide && l(i).Hide(...x),
4074
4074
  ["stop"]
4075
4075
  ))
4076
- }, v(i(o).lang.sys?.keyboard?.Hide || "Hide"), 33)
4076
+ }, v(l(o).lang.sys?.keyboard?.Hide || "Hide"), 33)
4077
4077
  ])
4078
4078
  ])), [
4079
4079
  [O, {
4080
4080
  ujt: t.ujt,
4081
- pos: i(o).keyboard.areastyle,
4081
+ pos: l(o).keyboard.areastyle,
4082
4082
  domarea: "askeyboardarea",
4083
4083
  dommask: "askeyboardmask",
4084
4084
  scale: t.opt?.scale
4085
4085
  }]
4086
4086
  ]),
4087
- i(o).keyboard.comps?.[s.bd.Type] ? (p(), m("div", {
4087
+ l(o).keyboard.comps?.[s.bd.Type] ? (p(), m("div", {
4088
4088
  key: 0,
4089
- onPointerdown: _[1] || (_[1] = (x) => h(s.bd.Type)),
4089
+ onPointerdown: b[1] || (b[1] = (x) => h(s.bd.Type)),
4090
4090
  class: "keyboard-comp"
4091
4091
  }, [
4092
- (p(), X(pe(d(i(o).keyboard.comps[s.bd.Type])), {
4092
+ (p(), X(pe(d(l(o).keyboard.comps[s.bd.Type])), {
4093
4093
  ujt: t.ujt,
4094
- onChange: i(o).pop["popkeyboard" + s.bd.Type]?.fn
4094
+ onChange: l(o).pop["popkeyboard" + s.bd.Type]?.fn
4095
4095
  }, null, 40, ["ujt", "onChange"]))
4096
4096
  ], 32)) : (p(), m("div", Us, [
4097
4097
  (p(!0), m(E, null, ee(s.mapkeys[s.bd.Type], (x, L) => (p(), m("div", {
@@ -4112,12 +4112,12 @@ const Ct = {
4112
4112
  ])) : (p(), m("div", {
4113
4113
  key: 1,
4114
4114
  class: "zh-list-area",
4115
- onPointerdown: _[2] || (_[2] = V((w) => s.bd.zhs = "", ["stop"]))
4115
+ onPointerdown: b[2] || (b[2] = V((w) => s.bd.zhs = "", ["stop"]))
4116
4116
  }, [
4117
- u("div", Ws, v(i(o).lang.sys?.keyboard?.pynomatch), 1)
4117
+ u("div", Ws, v(l(o).lang.sys?.keyboard?.pynomatch), 1)
4118
4118
  ], 32))
4119
4119
  ])) : (p(), m("div", Hs, [
4120
- u("div", Vs, v(i(o).lang.sys?.keyboard?.pyclick), 1)
4120
+ u("div", Vs, v(l(o).lang.sys?.keyboard?.pyclick), 1)
4121
4121
  ]))
4122
4122
  ], 64)) : (p(!0), m(E, { key: 1 }, ee(x, (w, j) => (p(), m("div", {
4123
4123
  class: "keyboard-item",
@@ -4128,12 +4128,12 @@ const Ct = {
4128
4128
  key: 1,
4129
4129
  class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}${s.bd[w[3]] ? " active" : ""}`),
4130
4130
  "data-key": w[0]
4131
- }, v(i(o).lang.sys?.keyboard?.[w[0]] || w[0]), 11, qs)) : w[0] === "Drag" ? G((p(), m("button", Bs, [
4132
- se(v(i(o).lang.sys?.keyboard?.[w[0]] || w[0]), 1)
4131
+ }, v(l(o).lang.sys?.keyboard?.[w[0]] || w[0]), 11, qs)) : w[0] === "Drag" ? G((p(), m("button", Bs, [
4132
+ se(v(l(o).lang.sys?.keyboard?.[w[0]] || w[0]), 1)
4133
4133
  ])), [
4134
4134
  [O, {
4135
4135
  ujt: t.ujt,
4136
- pos: i(o).keyboard.areastyle,
4136
+ pos: l(o).keyboard.areastyle,
4137
4137
  domarea: "askeyboardarea",
4138
4138
  dommask: "askeyboardmask",
4139
4139
  scale: t.opt?.scale
@@ -4147,10 +4147,10 @@ const Ct = {
4147
4147
  u("button", {
4148
4148
  class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}`),
4149
4149
  "data-key": w[0]
4150
- }, v(i(o).lang.sys?.keyboard?.[w[0]] || (s.bd.Shift ? w[0].toUpperCase() : w[0])), 11, Ns)
4150
+ }, v(l(o).lang.sys?.keyboard?.[w[0]] || (s.bd.Shift ? w[0].toUpperCase() : w[0])), 11, Ns)
4151
4151
  ]),
4152
4152
  poparea: re(() => [
4153
- i(o).keyboard?.comps?.[w[0]] ? (p(), m("div", {
4153
+ l(o).keyboard?.comps?.[w[0]] ? (p(), m("div", {
4154
4154
  key: 0,
4155
4155
  class: J(
4156
4156
  "as-pop-keyboard" + (s.popkeysx.includes(
@@ -4160,11 +4160,11 @@ const Ct = {
4160
4160
  }, [
4161
4161
  (p(), X(pe(
4162
4162
  d(
4163
- i(o).keyboard.comps[w[0]]
4163
+ l(o).keyboard.comps[w[0]]
4164
4164
  )
4165
4165
  ), {
4166
4166
  ujt: t.ujt,
4167
- onChange: i(o).pop["popkeyboard" + w[0]].fn
4167
+ onChange: l(o).pop["popkeyboard" + w[0]].fn
4168
4168
  }, null, 40, ["ujt", "onChange"]))
4169
4169
  ], 2)) : (p(), m("div", Ys, "No component!"))
4170
4170
  ]),
@@ -4173,7 +4173,7 @@ const Ct = {
4173
4173
  key: 4,
4174
4174
  class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}`),
4175
4175
  "data-key": w[0]
4176
- }, v(i(o).lang.sys?.keyboard?.[w[0]] || (s.bd.Shift ? w[0].toUpperCase() : w[0])), 11, Xs))
4176
+ }, v(l(o).lang.sys?.keyboard?.[w[0]] || (s.bd.Shift ? w[0].toUpperCase() : w[0])), 11, Xs))
4177
4177
  ], 4))), 128))
4178
4178
  ]))), 128))
4179
4179
  ]))
@@ -4200,7 +4200,7 @@ const Ct = {
4200
4200
  }), s = q(() => n.keyboard.params?.ot?.style?.area ? n.keyboard.params.ot.style.area : {
4201
4201
  width: a.value.width + "px",
4202
4202
  height: a.value.height + "px"
4203
- }), l = q(() => {
4203
+ }), i = q(() => {
4204
4204
  if (n.keyboard.params?.ot?.style?.main)
4205
4205
  return n.keyboard.params.ot.style.main;
4206
4206
  {
@@ -4221,7 +4221,7 @@ const Ct = {
4221
4221
  }, [
4222
4222
  G((p(), m("div", {
4223
4223
  id: "askeyboardarea",
4224
- style: Z(l.value)
4224
+ style: Z(i.value)
4225
4225
  }, [
4226
4226
  W(c, {
4227
4227
  ujt: t.ujt,
@@ -4230,7 +4230,7 @@ const Ct = {
4230
4230
  ], 4)), [
4231
4231
  [f, {
4232
4232
  ujt: t.ujt,
4233
- size: i(n).keyboard.areastyle,
4233
+ size: l(n).keyboard.areastyle,
4234
4234
  scale: t.opt?.scale
4235
4235
  }]
4236
4236
  ])
@@ -4258,7 +4258,7 @@ const Ct = {
4258
4258
  const e = t, { $global: n, $fn: o, $ws: a } = e.ujt, s = me({
4259
4259
  link: null
4260
4260
  });
4261
- function l() {
4261
+ function i() {
4262
4262
  s.link = JSON.parse(JSON.stringify(n.link));
4263
4263
  }
4264
4264
  function r() {
@@ -4266,32 +4266,32 @@ const Ct = {
4266
4266
  }
4267
4267
  function d() {
4268
4268
  o.startLink().then((c) => {
4269
- l();
4269
+ i();
4270
4270
  });
4271
4271
  }
4272
4272
  return he(() => {
4273
- l();
4273
+ i();
4274
4274
  }), (c, f) => s.link ? (p(), m("div", tl, [
4275
4275
  u("div", nl, [
4276
4276
  (p(!0), m(E, null, ee(s.link, (h, g) => (p(), m("div", {
4277
4277
  class: "as-link-type",
4278
4278
  key: "type" + g
4279
4279
  }, [
4280
- u("div", ol, v(i(n).lang.sys.link.class[g]), 1),
4281
- (p(!0), m(E, null, ee(h, (b, $) => (p(), m(E, {
4280
+ u("div", ol, v(l(n).lang.sys.link.class[g]), 1),
4281
+ (p(!0), m(E, null, ee(h, (_, $) => (p(), m(E, {
4282
4282
  key: "key" + $
4283
4283
  }, [
4284
- b?.close ? F("", !0) : (p(), m("div", al, [
4285
- u("div", sl, v(i(n).lang.sys.link[$]) + ": ", 1),
4284
+ _?.close ? F("", !0) : (p(), m("div", al, [
4285
+ u("div", sl, v(l(n).lang.sys.link[$]) + ": ", 1),
4286
4286
  u("div", ll, [
4287
4287
  G(u("input", {
4288
4288
  type: "text",
4289
- "onUpdate:modelValue": (y) => b.url = y
4289
+ "onUpdate:modelValue": (y) => _.url = y
4290
4290
  }, null, 8, il), [
4291
- [ue, b.url]
4291
+ [ue, _.url]
4292
4292
  ])
4293
4293
  ]),
4294
- g == "ws" ? (p(), m("div", rl, v(i(a)?.[$]?.open ? "☑" : "☒"), 1)) : F("", !0)
4294
+ g == "ws" ? (p(), m("div", rl, v(l(a)?.[$]?.open ? "☑" : "☒"), 1)) : F("", !0)
4295
4295
  ]))
4296
4296
  ], 64))), 128))
4297
4297
  ]))), 128))
@@ -4307,7 +4307,7 @@ const Ct = {
4307
4307
  }, "恢复默认", 32),
4308
4308
  u("div", {
4309
4309
  class: "btn",
4310
- onPointerdown: f[2] || (f[2] = (h) => l())
4310
+ onPointerdown: f[2] || (f[2] = (h) => i())
4311
4311
  }, "取消修改", 32)
4312
4312
  ])
4313
4313
  ])) : F("", !0);
@@ -4339,24 +4339,24 @@ const Ct = {
4339
4339
  wait: 300,
4340
4340
  immediate: !1
4341
4341
  }
4342
- }), l = Y(!1), r = Y(!1), d = Y(!1), c = Y(""), f = Y(16), h = Y([]), g = q(() => {
4342
+ }), i = Y(!1), r = Y(!1), d = Y(!1), c = Y(""), f = Y(16), h = Y([]), g = q(() => {
4343
4343
  let N = {};
4344
4344
  return N = $.value?.find(
4345
4345
  (ae) => ae.sn === n.location.query?.id
4346
4346
  ), N?.sn || (N = a.value[0].cc[0].cc[0]), N;
4347
- }), b = Y([]), $ = q(() => a.value[0].cc.flatMap((N) => N.cc)), y = q(() => $.value.findIndex(
4347
+ }), _ = Y([]), $ = q(() => a.value[0].cc.flatMap((N) => N.cc)), y = q(() => $.value.findIndex(
4348
4348
  (N) => N.sn === g.value?.sn
4349
- )), _ = q(() => y.value > 0), k = q(() => y.value < $.value.length - 1), O = () => {
4350
- l.value = !l.value;
4349
+ )), b = q(() => y.value > 0), k = q(() => y.value < $.value.length - 1), O = () => {
4350
+ i.value = !i.value;
4351
4351
  }, x = () => {
4352
- r.value = !r.value, r.value || (c.value = "", b.value = []);
4352
+ r.value = !r.value, r.value || (c.value = "", _.value = []);
4353
4353
  }, L = () => {
4354
- r.value = !1, c.value = "", b.value = [];
4354
+ r.value = !1, c.value = "", _.value = [];
4355
4355
  }, w = (N) => {
4356
4356
  const ae = h.value.indexOf(N);
4357
4357
  ae > -1 ? h.value.splice(ae, 1) : h.value.push(N);
4358
4358
  }, j = (N) => {
4359
- o.setquery({ id: N.sn }), l.value = !1;
4359
+ o.setquery({ id: N.sn }), i.value = !1;
4360
4360
  }, S = () => {
4361
4361
  y.value > 0 && o.setquery({
4362
4362
  id: $.value[y.value - 1].sn
@@ -4373,10 +4373,10 @@ const Ct = {
4373
4373
  o.As.debounce(() => {
4374
4374
  const N = c.value.trim();
4375
4375
  if (!N) {
4376
- b.value = [];
4376
+ _.value = [];
4377
4377
  return;
4378
4378
  }
4379
- b.value = $.value?.filter((ae) => ae.co.includes(N)).slice(0, 100).map((ae) => {
4379
+ _.value = $.value?.filter((ae) => ae.co.includes(N)).slice(0, 100).map((ae) => {
4380
4380
  const ne = ae.co.split(N);
4381
4381
  return {
4382
4382
  sn: ae.sn,
@@ -4390,7 +4390,7 @@ const Ct = {
4390
4390
  }, I = (N) => {
4391
4391
  N?.sn && (o.setquery({
4392
4392
  id: N.sn
4393
- }), r.value = !1, c.value = "", b.value = []);
4393
+ }), r.value = !1, c.value = "", _.value = []);
4394
4394
  }, H = () => {
4395
4395
  d.value = window.innerWidth <= 768;
4396
4396
  };
@@ -4407,7 +4407,7 @@ const Ct = {
4407
4407
  }, [...ae[1] || (ae[1] = [
4408
4408
  u("span", { class: "hamburger-icon" }, null, -1)
4409
4409
  ])]),
4410
- u("h1", gl, v(i(a)[0].ch), 1),
4410
+ u("h1", gl, v(l(a)[0].ch), 1),
4411
4411
  u("button", {
4412
4412
  class: "search-toggle",
4413
4413
  onClick: x
@@ -4457,8 +4457,8 @@ const Ct = {
4457
4457
  onClick: L
4458
4458
  }, "×")
4459
4459
  ]),
4460
- b.value.length > 0 ? (p(), m("div", bl, [
4461
- (p(!0), m(E, null, ee(b.value, (ne, de) => (p(), m("div", {
4460
+ _.value.length > 0 ? (p(), m("div", bl, [
4461
+ (p(!0), m(E, null, ee(_.value, (ne, de) => (p(), m("div", {
4462
4462
  key: de,
4463
4463
  class: "search-result-item",
4464
4464
  onClick: (Me) => I(ne)
@@ -4469,16 +4469,16 @@ const Ct = {
4469
4469
  innerHTML: ne.preview
4470
4470
  }, null, 8, kl)
4471
4471
  ], 8, _l))), 128))
4472
- ])) : c.value && b.value.length === 0 ? (p(), m("div", wl, " 未找到相关内容 ")) : F("", !0)
4472
+ ])) : c.value && _.value.length === 0 ? (p(), m("div", wl, " 未找到相关内容 ")) : F("", !0)
4473
4473
  ])
4474
4474
  ], 2),
4475
4475
  u("div", jl, [
4476
4476
  u("aside", {
4477
- class: J(["sidebar", { active: l.value }])
4477
+ class: J(["sidebar", { active: i.value }])
4478
4478
  }, [
4479
4479
  u("div", xl, [
4480
- u("h2", Sl, v(i(a)[0].ch), 1),
4481
- (p(!0), m(E, null, ee(i(a)[0].cc, (ne) => (p(), m("div", {
4480
+ u("h2", Sl, v(l(a)[0].ch), 1),
4481
+ (p(!0), m(E, null, ee(l(a)[0].cc, (ne) => (p(), m("div", {
4482
4482
  key: ne.sn,
4483
4483
  class: "volume-item"
4484
4484
  }, [
@@ -4528,7 +4528,7 @@ const Ct = {
4528
4528
  u("button", {
4529
4529
  class: "control-btn prev-next-btn",
4530
4530
  onClick: S,
4531
- disabled: !_.value
4531
+ disabled: !b.value
4532
4532
  }, " 上一章 ", 8, Dl),
4533
4533
  u("div", Rl, [
4534
4534
  u("button", {
@@ -4608,22 +4608,22 @@ const Ct = {
4608
4608
  }));
4609
4609
  const e = t, { $global: n } = e.ujt, o = q(() => n.pagebusy?.zindex || 9999);
4610
4610
  return (a, s) => {
4611
- const l = ve("dbpointerdown");
4612
- return i(n).pagebusy ? G((p(), m("div", Xl, [
4611
+ const i = ve("dbpointerdown");
4612
+ return l(n).pagebusy ? G((p(), m("div", Xl, [
4613
4613
  u("div", {
4614
4614
  class: "as-pagebusy-spin",
4615
4615
  style: Z({
4616
4616
  width: "68px",
4617
4617
  height: "68px",
4618
- ...i(n).pagebusy?.style || {}
4618
+ ...l(n).pagebusy?.style || {}
4619
4619
  })
4620
4620
  }, null, 4),
4621
- u("div", Kl, v(i(n).pagebusy?.v), 1)
4621
+ u("div", Kl, v(l(n).pagebusy?.v), 1)
4622
4622
  ])), [
4623
4623
  [
4624
- l,
4624
+ i,
4625
4625
  () => {
4626
- i(n).pagebusy?.keep || (i(n).pagebusy = null);
4626
+ l(n).pagebusy?.keep || (l(n).pagebusy = null);
4627
4627
  }
4628
4628
  ]
4629
4629
  ]) : F("", !0);
@@ -4679,7 +4679,7 @@ const Ct = {
4679
4679
  "-webkit-mask-image": `url('${o.value}')`
4680
4680
  };
4681
4681
  }
4682
- function l() {
4682
+ function i() {
4683
4683
  return e.width ? {
4684
4684
  transform: "translateX(-100%)",
4685
4685
  filter: `drop-shadow(${e.width} 0 ${e.color})`,
@@ -4693,7 +4693,7 @@ const Ct = {
4693
4693
  return (r, d) => (p(), m("i", Ql, [
4694
4694
  t.showtype === "filter" ? (p(), m("i", ei, [
4695
4695
  u("img", {
4696
- style: Z(l()),
4696
+ style: Z(i()),
4697
4697
  src: o.value,
4698
4698
  onError: d[0] || (d[0] = (c) => a())
4699
4699
  }, null, 44, ti)
@@ -4716,7 +4716,7 @@ const Ct = {
4716
4716
  emits: ["onUpload"],
4717
4717
  setup(t, { emit: e }) {
4718
4718
  const n = t, { $fn: o } = n.ujt, a = e, s = Y(null);
4719
- function l(d) {
4719
+ function i(d) {
4720
4720
  const c = d.target.files[0];
4721
4721
  !n.opt?.size || c.size <= n.opt?.size ? o.As.readFile(c).then((f) => {
4722
4722
  o.api.webserver.apiPost(
@@ -4740,10 +4740,10 @@ const Ct = {
4740
4740
  ref: s,
4741
4741
  type: "file",
4742
4742
  accept: t.opt?.accept || ".zip",
4743
- onChange: l
4743
+ onChange: i
4744
4744
  }, null, 40, si),
4745
4745
  R(d.$slots, "default", {}, () => [
4746
- se(v(i(o).lg("asai.upload")), 1)
4746
+ se(v(l(o).lg("asai.upload")), 1)
4747
4747
  ], !0)
4748
4748
  ], 32));
4749
4749
  }
@@ -4759,7 +4759,7 @@ const Ct = {
4759
4759
  emits: ["onUpload"],
4760
4760
  setup(t, { emit: e }) {
4761
4761
  const n = t, { $fn: o } = n.ujt, a = e, s = Y(null);
4762
- function l(d) {
4762
+ function i(d) {
4763
4763
  const c = d.target.files[0];
4764
4764
  if (c)
4765
4765
  if (!n.opt?.size || c.size <= n.opt?.size) {
@@ -4784,10 +4784,10 @@ const Ct = {
4784
4784
  ref: s,
4785
4785
  type: "file",
4786
4786
  accept: t.opt?.accept || ".txt,.json",
4787
- onChange: l
4787
+ onChange: i
4788
4788
  }, null, 40, ci),
4789
4789
  R(d.$slots, "default", {}, () => [
4790
- se(v(i(o).lg("asai.upload")), 1)
4790
+ se(v(l(o).lg("asai.upload")), 1)
4791
4791
  ], !0)
4792
4792
  ], 32));
4793
4793
  }
@@ -4809,8 +4809,8 @@ const Ct = {
4809
4809
  return p(), m("div", fi, [
4810
4810
  u("div", mi, [
4811
4811
  a[0] || (a[0] = u("div", { class: "error-code" }, "404", -1)),
4812
- i(n).lang?.asai?.page?.page404 ? (p(), m("h1", hi, v(i(n).lang?.asai?.page?.page404 || "页面未找到"), 1)) : F("", !0),
4813
- u("p", gi, v(i(n).lang?.asai?.page?.reason404 || "Sorry, Page not found!"), 1)
4812
+ l(n).lang?.asai?.page?.page404 ? (p(), m("h1", hi, v(l(n).lang?.asai?.page?.page404 || "页面未找到"), 1)) : F("", !0),
4813
+ u("p", gi, v(l(n).lang?.asai?.page?.reason404 || "Sorry, Page not found!"), 1)
4814
4814
  ]),
4815
4815
  u("div", vi, [
4816
4816
  W(s, { ujt: t.ujt }, null, 8, ["ujt"])
@@ -4831,10 +4831,10 @@ const Ct = {
4831
4831
  const e = t, { $fn: n } = e.ujt;
4832
4832
  return (o, a) => (p(), m("div", {
4833
4833
  class: "as-lang",
4834
- onPointerdown: a[0] || (a[0] = (s) => t.fn ? t.fn() : i(n).changelang("auto"))
4834
+ onPointerdown: a[0] || (a[0] = (s) => t.fn ? t.fn() : l(n).changelang("auto"))
4835
4835
  }, [
4836
4836
  R(o.$slots, "default", {}, () => [
4837
- se(v(i(n).lg("asai.langs.default")), 1)
4837
+ se(v(l(n).lg("asai.langs.default")), 1)
4838
4838
  ], !0)
4839
4839
  ], 32));
4840
4840
  }
@@ -4850,11 +4850,11 @@ const Ct = {
4850
4850
  const e = t, { $fn: n, $global: o } = e.ujt;
4851
4851
  return (a, s) => (p(), m("div", {
4852
4852
  class: "as-theme",
4853
- onPointerdown: s[0] || (s[0] = (l) => i(n).changetheme("auto"))
4853
+ onPointerdown: s[0] || (s[0] = (i) => l(n).changetheme("auto"))
4854
4854
  }, [
4855
4855
  R(a.$slots, "default", {}, () => [
4856
- se(v(i(n).lg(
4857
- "asai.theme" + (i(o).config.theme?.includes("dark") ? "light" : "dark")
4856
+ se(v(l(n).lg(
4857
+ "asai.theme" + (l(o).config.theme?.includes("dark") ? "light" : "dark")
4858
4858
  )), 1)
4859
4859
  ], !0)
4860
4860
  ], 32));
@@ -4876,7 +4876,7 @@ const Ct = {
4876
4876
  },
4877
4877
  emits: ["update:modelValue"],
4878
4878
  setup(t, { emit: e }) {
4879
- const n = t, { $fn: o, $global: a } = n.ujt, s = e, l = q({
4879
+ const n = t, { $fn: o, $global: a } = n.ujt, s = e, i = q({
4880
4880
  get() {
4881
4881
  return n.modelValue;
4882
4882
  },
@@ -4899,7 +4899,7 @@ const Ct = {
4899
4899
  originalWidth: 0,
4900
4900
  originalHeight: 0,
4901
4901
  direction: null
4902
- }), b = q(() => ({
4902
+ }), _ = q(() => ({
4903
4903
  transform: `translate(${h.value.x}px, ${h.value.y}px)`,
4904
4904
  width: `${h.value.width}px`,
4905
4905
  height: `${h.value.height}px`
@@ -4912,7 +4912,7 @@ const Ct = {
4912
4912
  z.onload = (P) => {
4913
4913
  r.value = P.target.result, d.value = "";
4914
4914
  }, z.readAsDataURL(M);
4915
- }, _ = () => {
4915
+ }, b = () => {
4916
4916
  const A = c.value, M = f.value;
4917
4917
  if (!A || !M)
4918
4918
  return;
@@ -5021,7 +5021,7 @@ const Ct = {
5021
5021
  "/api/asaifile/manage/upbase64/?path=" + a.sys.path.updir + M + ".png",
5022
5022
  A
5023
5023
  ).then((z) => {
5024
- l.value = z.data;
5024
+ i.value = z.data;
5025
5025
  });
5026
5026
  };
5027
5027
  return (A, M) => (p(), m("div", Si, [
@@ -5040,11 +5040,11 @@ const Ct = {
5040
5040
  ref_key: "previewImage",
5041
5041
  ref: c,
5042
5042
  src: r.value,
5043
- onLoad: _
5043
+ onLoad: b
5044
5044
  }, null, 40, Ci),
5045
5045
  G(u("div", {
5046
5046
  class: "crop-box",
5047
- style: Z(b.value),
5047
+ style: Z(_.value),
5048
5048
  onPointerdown: M[8] || (M[8] = V((z) => k("move"), ["prevent"])),
5049
5049
  onTouchstart: M[9] || (M[9] = V(() => {
5050
5050
  }, ["prevent"]))
@@ -5082,19 +5082,19 @@ const Ct = {
5082
5082
  onPointerdown: w,
5083
5083
  onTouchstart: M[10] || (M[10] = V(() => {
5084
5084
  }, ["stop"]))
5085
- }, v(i(o).lg("asai.confirm")), 33),
5085
+ }, v(l(o).lg("asai.confirm")), 33),
5086
5086
  d.value ? (p(), m("button", {
5087
5087
  key: 0,
5088
5088
  onPointerdown: j,
5089
5089
  onTouchstart: M[11] || (M[11] = V(() => {
5090
5090
  }, ["stop"]))
5091
- }, v(i(o).lg("asai.download")), 33)) : F("", !0),
5091
+ }, v(l(o).lg("asai.download")), 33)) : F("", !0),
5092
5092
  d.value ? (p(), m("button", {
5093
5093
  key: 1,
5094
5094
  onPointerdown: S,
5095
5095
  onTouchstart: M[12] || (M[12] = V(() => {
5096
5096
  }, ["stop"]))
5097
- }, v(i(o).lg("asai.upload")), 33)) : F("", !0)
5097
+ }, v(l(o).lg("asai.upload")), 33)) : F("", !0)
5098
5098
  ]),
5099
5099
  d.value ? (p(), m("div", Oi, [
5100
5100
  u("img", { src: d.value }, null, 8, Mi)
@@ -5122,30 +5122,30 @@ const Ct = {
5122
5122
  const e = t, { $fn: n } = e.ujt;
5123
5123
  !e.asaidata?.data && e.asaidata.path && o(), e.asaidata.ty === "txt" && (e.asaidata.data = JSON.stringify(e.asaidata.data, null, 2));
5124
5124
  function o() {
5125
- e.fnapi?.apiGet("/api/asaijson/manage/select/?path=" + e.asaidata.path).then((l) => {
5126
- e.asaidata.data = l.data;
5125
+ e.fnapi?.apiGet("/api/asaijson/manage/select/?path=" + e.asaidata.path).then((i) => {
5126
+ e.asaidata.data = i.data;
5127
5127
  });
5128
5128
  }
5129
5129
  function a() {
5130
- e.fnapi?.apiGet("/api/asaijson/manage/delete/?path=" + e.asaidata.path).then((l) => {
5131
- console.log(666.703, l);
5130
+ e.fnapi?.apiGet("/api/asaijson/manage/delete/?path=" + e.asaidata.path).then((i) => {
5131
+ console.log(666.703, i);
5132
5132
  });
5133
5133
  }
5134
5134
  function s() {
5135
5135
  e.fnapi?.apiPost(
5136
5136
  "/api/asaijson/manage/update/?path=" + e.asaidata.path,
5137
5137
  e.asaidata.data
5138
- ).then((l) => {
5139
- console.log(666.702, l);
5138
+ ).then((i) => {
5139
+ console.log(666.702, i);
5140
5140
  });
5141
5141
  }
5142
- return (l, r) => {
5142
+ return (i, r) => {
5143
5143
  const d = U("AsaiForm");
5144
5144
  return p(), m("div", Ui, [
5145
5145
  t.asaidata.btn ? (p(), m("div", Ii, [
5146
5146
  u("button", {
5147
5147
  onPointerdown: r[0] || (r[0] = (c) => o())
5148
- }, v(i(n).lg("asai.read")), 33),
5148
+ }, v(l(n).lg("asai.read")), 33),
5149
5149
  G(u("input", {
5150
5150
  type: "text",
5151
5151
  "onUpdate:modelValue": r[1] || (r[1] = (c) => t.asaidata.path = c)
@@ -5182,10 +5182,10 @@ const Ct = {
5182
5182
  t.asaidata.btn ? (p(), m("div", Ri, [
5183
5183
  u("button", {
5184
5184
  onPointerdown: r[4] || (r[4] = (c) => s())
5185
- }, v(i(n).lg("asai.submit")), 33),
5185
+ }, v(l(n).lg("asai.submit")), 33),
5186
5186
  u("button", {
5187
5187
  onPointerdown: r[5] || (r[5] = (c) => a())
5188
- }, v(i(n).lg("asai.del")), 33)
5188
+ }, v(l(n).lg("asai.del")), 33)
5189
5189
  ])) : F("", !0)
5190
5190
  ]);
5191
5191
  };
@@ -5214,12 +5214,12 @@ const Ct = {
5214
5214
  },
5215
5215
  setup(t) {
5216
5216
  const e = t, n = me({});
5217
- n.publishlist = !0, e?.ckey === "publishlist" && e?.cdata && e?.cdata[e?.ckey] && Object.keys(e?.cdata[e?.ckey]).forEach((l) => {
5218
- n[l] = !0;
5217
+ n.publishlist = !0, e?.ckey === "publishlist" && e?.cdata && e?.cdata[e?.ckey] && Object.keys(e?.cdata[e?.ckey]).forEach((i) => {
5218
+ n[i] = !0;
5219
5219
  });
5220
5220
  const o = q(() => {
5221
- let l = typeof e.cdata[e.ckey];
5222
- if (l === "object") {
5221
+ let i = typeof e.cdata[e.ckey];
5222
+ if (i === "object") {
5223
5223
  if (e.cdata[e.ckey] && e.cdata[e.ckey]["@path"])
5224
5224
  return "path";
5225
5225
  if (e.cdata[e.ckey]) {
@@ -5227,21 +5227,21 @@ const Ct = {
5227
5227
  return "array";
5228
5228
  } else return "null";
5229
5229
  }
5230
- return l;
5230
+ return i;
5231
5231
  });
5232
- function a(l) {
5233
- n[l] = !n[l];
5232
+ function a(i) {
5233
+ n[i] = !n[i];
5234
5234
  }
5235
5235
  function s() {
5236
5236
  if (e?.cdata[e.ckey]["@path"] && e?.cval?.apikeys) {
5237
- const l = e.cval.apikeys.findIndex(
5237
+ const i = e.cval.apikeys.findIndex(
5238
5238
  (r) => r === e.cdata[e.ckey]["@path"]
5239
5239
  );
5240
- l > -1 ? e.cval.apikeys.splice(l, 1) : e.cval.apikeys.push(e.cdata[e.ckey]["@path"]);
5240
+ i > -1 ? e.cval.apikeys.splice(i, 1) : e.cval.apikeys.push(e.cdata[e.ckey]["@path"]);
5241
5241
  }
5242
5242
  e.cval.setapikeys(e.cval.apikeys);
5243
5243
  }
5244
- return (l, r) => o.value === "object" ? (p(), m("div", Vi, [
5244
+ return (i, r) => o.value === "object" ? (p(), m("div", Vi, [
5245
5245
  t.ckey !== "publishlist" ? (p(), m(E, { key: 0 }, [
5246
5246
  n[t.ckey] ? (p(), m("div", {
5247
5247
  key: 1,
@@ -5317,7 +5317,7 @@ const Ct = {
5317
5317
  function s() {
5318
5318
  a.value = !a.value;
5319
5319
  }
5320
- const l = q(() => [
5320
+ const i = q(() => [
5321
5321
  { value: "/", label: n.lg("asai.home"), type: "module" },
5322
5322
  {
5323
5323
  fn: () => n.changetheme("auto"),
@@ -5331,7 +5331,7 @@ const Ct = {
5331
5331
  },
5332
5332
  ...e.menus || []
5333
5333
  ]);
5334
- return (r, d) => !i(o).sys || i(o).sys.devlevel > 1 ? (p(), X(Ae, {
5334
+ return (r, d) => !l(o).sys || l(o).sys.devlevel > 1 ? (p(), X(Ae, {
5335
5335
  key: 0,
5336
5336
  to: "#teleportpopbox"
5337
5337
  }, [
@@ -5345,10 +5345,10 @@ const Ct = {
5345
5345
  u("ul", {
5346
5346
  class: J(["as-floating-menus", { open: a.value }])
5347
5347
  }, [
5348
- (p(!0), m(E, null, ee(l.value, (c, f) => (p(), m("li", {
5348
+ (p(!0), m(E, null, ee(i.value, (c, f) => (p(), m("li", {
5349
5349
  key: "menu" + f,
5350
- class: J(`${c.type === "module" ? "module " : ""}${c.value && i(o).location.hash.includes(c.value) ? "active" : ""}`),
5351
- onPointerup: (h) => c.value ? i(n).sethash(c.value) : c?.fn?.()
5350
+ class: J(`${c.type === "module" ? "module " : ""}${c.value && l(o).location.hash.includes(c.value) ? "active" : ""}`),
5351
+ onPointerup: (h) => c.value ? l(n).sethash(c.value) : c?.fn?.()
5352
5352
  }, v(f + 1) + ". " + v(c.label || c.value), 43, tr))), 128))
5353
5353
  ], 2)
5354
5354
  ])
@@ -5368,7 +5368,7 @@ const Ct = {
5368
5368
  return (o, a) => (p(), m("div", sr, [
5369
5369
  (p(!0), m(E, null, ee(t.menus, (s) => (p(), m("div", {
5370
5370
  class: "app-menu",
5371
- onPointerdown: a[0] || (a[0] = (l) => i(n).sethash("item.value"))
5371
+ onPointerdown: a[0] || (a[0] = (i) => l(n).sethash("item.value"))
5372
5372
  }, v(s.label), 33))), 256))
5373
5373
  ]));
5374
5374
  }
@@ -5396,7 +5396,7 @@ const Ct = {
5396
5396
  return ke(() => Promise.resolve().then(() => Ue));
5397
5397
  }
5398
5398
  };
5399
- const l = Oe(
5399
+ const i = Oe(
5400
5400
  () => a.location.comps[e.ty],
5401
5401
  (r, d) => {
5402
5402
  r && r !== d && (s.comp = o.getcomp(r));
@@ -5404,8 +5404,8 @@ const Ct = {
5404
5404
  { immediate: !0 }
5405
5405
  );
5406
5406
  return je(() => {
5407
- l && l();
5408
- }), (r, d) => (p(), X(pe(i(s).comp), { ujt: t.ujt }, null, 8, ["ujt"]));
5407
+ i && i();
5408
+ }), (r, d) => (p(), X(pe(l(s).comp), { ujt: t.ujt }, null, 8, ["ujt"]));
5409
5409
  }
5410
5410
  }), ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5411
5411
  __proto__: null,
@@ -5427,32 +5427,32 @@ const Ct = {
5427
5427
  }
5428
5428
  },
5429
5429
  setup(t) {
5430
- const e = t, n = Y(null), o = Y(0), a = Y(0), s = Y(0), l = Y(
5430
+ const e = t, n = Y(null), o = Y(0), a = Y(0), s = Y(0), i = Y(
5431
5431
  new Array(e.items.length).fill(Math.round(e.itemHeight))
5432
5432
  ), r = /* @__PURE__ */ new Map(), d = q(() => Math.round(
5433
- e.items.reduce(($, y, _) => $ + c(_), 0)
5434
- )), c = ($) => $ < 0 || $ >= e.items.length ? 0 : Math.round(l.value[$] ?? e.itemHeight), f = () => {
5433
+ e.items.reduce(($, y, b) => $ + c(b), 0)
5434
+ )), c = ($) => $ < 0 || $ >= e.items.length ? 0 : Math.round(i.value[$] ?? e.itemHeight), f = () => {
5435
5435
  if (!n.value)
5436
5436
  return {
5437
5437
  start: 0,
5438
5438
  end: Math.min(e.items.length, e.buffer * 3)
5439
5439
  };
5440
5440
  const $ = o.value, y = n.value.clientHeight;
5441
- let _ = 0, k = e.items.length;
5442
- for (; _ < k; ) {
5443
- const w = _ + k >>> 1;
5444
- g(w) <= $ ? _ = w + 1 : k = w;
5441
+ let b = 0, k = e.items.length;
5442
+ for (; b < k; ) {
5443
+ const w = b + k >>> 1;
5444
+ g(w) <= $ ? b = w + 1 : k = w;
5445
5445
  }
5446
- const O = Math.max(0, _ - 1), x = Math.ceil(y / e.itemHeight) + e.buffer * 2, L = Math.min(e.items.length, O + x);
5446
+ const O = Math.max(0, b - 1), x = Math.ceil(y / e.itemHeight) + e.buffer * 2, L = Math.min(e.items.length, O + x);
5447
5447
  return { start: O, end: L };
5448
5448
  }, h = q(() => {
5449
5449
  const { start: $, end: y } = f();
5450
- return e.items.slice($, y).map((_, k) => {
5450
+ return e.items.slice($, y).map((b, k) => {
5451
5451
  const O = $ + k;
5452
5452
  return {
5453
5453
  index: O,
5454
- id: _.id || O,
5455
- data: _,
5454
+ id: b.id || O,
5455
+ data: b,
5456
5456
  offset: g(O)
5457
5457
  };
5458
5458
  });
@@ -5462,37 +5462,37 @@ const Ct = {
5462
5462
  let y = $ - 1;
5463
5463
  for (; y > 0 && !r.has(y); )
5464
5464
  y--;
5465
- let _ = y > 0 ? r.get(y) : 0;
5465
+ let b = y > 0 ? r.get(y) : 0;
5466
5466
  for (let O = y; O < $; O++)
5467
- _ += c(O);
5468
- const k = Math.round(_);
5467
+ b += c(O);
5468
+ const k = Math.round(b);
5469
5469
  return r.set($, k), k;
5470
- }, b = () => {
5470
+ }, _ = () => {
5471
5471
  a.value && cancelAnimationFrame(a.value), a.value = requestAnimationFrame(() => {
5472
5472
  n.value && (o.value = Math.round(n.value.scrollTop), s.value && clearTimeout(s.value), s.value = window.setTimeout(() => {
5473
- const { start: $, end: y } = f(), _ = e.buffer * 2;
5473
+ const { start: $, end: y } = f(), b = e.buffer * 2;
5474
5474
  for (const k of r.keys())
5475
- (k < $ - _ || k > y + _) && r.delete(k);
5475
+ (k < $ - b || k > y + b) && r.delete(k);
5476
5476
  }, 150));
5477
5477
  });
5478
5478
  };
5479
5479
  return he(() => {
5480
- n.value && b(), Oe(
5480
+ n.value && _(), Oe(
5481
5481
  () => e.items.length,
5482
5482
  ($) => {
5483
- $ > l.value.length ? l.value = [
5484
- ...l.value,
5485
- ...new Array($ - l.value.length).fill(
5483
+ $ > i.value.length ? i.value = [
5484
+ ...i.value,
5485
+ ...new Array($ - i.value.length).fill(
5486
5486
  Math.round(e.itemHeight)
5487
5487
  )
5488
- ] : $ < l.value.length && (l.value = l.value.slice(0, $)), r.clear();
5488
+ ] : $ < i.value.length && (i.value = i.value.slice(0, $)), r.clear();
5489
5489
  }
5490
5490
  );
5491
5491
  }), je(() => {
5492
5492
  a.value && cancelAnimationFrame(a.value), s.value && clearTimeout(s.value);
5493
5493
  }), ($, y) => (p(), m("div", {
5494
5494
  class: "virtual-list-container",
5495
- onScroll: b,
5495
+ onScroll: _,
5496
5496
  ref_key: "container",
5497
5497
  ref: n,
5498
5498
  style: { height: "100%" }
@@ -5501,12 +5501,12 @@ const Ct = {
5501
5501
  class: "virtual-list-wrapper",
5502
5502
  style: Z({ height: d.value + "px" })
5503
5503
  }, [
5504
- (p(!0), m(E, null, ee(h.value, (_) => (p(), m("div", {
5504
+ (p(!0), m(E, null, ee(h.value, (b) => (p(), m("div", {
5505
5505
  class: "virtual-list-item",
5506
- key: "as" + _.index,
5507
- style: Z({ transform: `translateY(${_.offset}px)` })
5506
+ key: "as" + b.index,
5507
+ style: Z({ transform: `translateY(${b.offset}px)` })
5508
5508
  }, [
5509
- R($.$slots, "default", { item: _ }, void 0, !0)
5509
+ R($.$slots, "default", { item: b }, void 0, !0)
5510
5510
  ], 4))), 128))
5511
5511
  ], 4)
5512
5512
  ], 544));
@@ -5531,28 +5531,28 @@ const Ct = {
5531
5531
  }
5532
5532
  },
5533
5533
  setup(t, { expose: e }) {
5534
- const n = t, o = Y(null), a = Y(0), s = Y([]), l = Y(10), r = q(() => n.items.reduce((_, k, O) => _ + d(O), 0)), d = (_) => s.value[_] || n.itemHeight, c = q(
5535
- () => Math.max(0, b(a.value) - n.buffer)
5534
+ const n = t, o = Y(null), a = Y(0), s = Y([]), i = Y(10), r = q(() => n.items.reduce((b, k, O) => b + d(O), 0)), d = (b) => s.value[b] || n.itemHeight, c = q(
5535
+ () => Math.max(0, _(a.value) - n.buffer)
5536
5536
  ), f = q(
5537
5537
  () => Math.min(
5538
5538
  n.items.length,
5539
- c.value + l.value + n.buffer * 2
5539
+ c.value + i.value + n.buffer * 2
5540
5540
  )
5541
5541
  ), h = q(
5542
- () => n.items.slice(c.value, f.value).map((_, k) => {
5542
+ () => n.items.slice(c.value, f.value).map((b, k) => {
5543
5543
  const O = c.value + k, x = g(O);
5544
5544
  return {
5545
5545
  index: O,
5546
- id: _.id || O,
5547
- data: _,
5546
+ id: b.id || O,
5547
+ data: b,
5548
5548
  offset: x
5549
5549
  };
5550
5550
  })
5551
- ), g = (_) => n.items.slice(0, _).reduce((k, O, x) => k + d(x), 0), b = (_) => {
5551
+ ), g = (b) => n.items.slice(0, b).reduce((k, O, x) => k + d(x), 0), _ = (b) => {
5552
5552
  let k = 0, O = n.items.length - 1;
5553
5553
  for (; k <= O; ) {
5554
5554
  const x = Math.floor((k + O) / 2);
5555
- g(x) <= _ ? k = x + 1 : O = x - 1;
5555
+ g(x) <= b ? k = x + 1 : O = x - 1;
5556
5556
  }
5557
5557
  return O;
5558
5558
  }, $ = () => {
@@ -5566,7 +5566,7 @@ const Ct = {
5566
5566
  });
5567
5567
  };
5568
5568
  return he(() => {
5569
- l.value = Math.ceil(
5569
+ i.value = Math.ceil(
5570
5570
  o.value.clientHeight / n.itemHeight
5571
5571
  ), $();
5572
5572
  }), e({
@@ -5577,7 +5577,7 @@ const Ct = {
5577
5577
  }
5578
5578
  }), yt(() => {
5579
5579
  y();
5580
- }), (_, k) => (p(), m("div", {
5580
+ }), (b, k) => (p(), m("div", {
5581
5581
  class: "virtual-list-container",
5582
5582
  onScroll: $,
5583
5583
  ref_key: "container",
@@ -5592,7 +5592,7 @@ const Ct = {
5592
5592
  key: "as" + O.index,
5593
5593
  style: Z({ transform: `translateY(${O.offset}px)` })
5594
5594
  }, [
5595
- R(_.$slots, "default", { item: O }, void 0, !0)
5595
+ R(b.$slots, "default", { item: O }, void 0, !0)
5596
5596
  ], 4))), 128))
5597
5597
  ], 4)
5598
5598
  ], 544));
@@ -5616,7 +5616,7 @@ const Ct = {
5616
5616
  window.innerHeight / (n.sys?.zoomheight || 1080)
5617
5617
  );
5618
5618
  n.scale = r.toFixed(2);
5619
- }, l = () => {
5619
+ }, i = () => {
5620
5620
  clearTimeout(a), a = setTimeout(() => {
5621
5621
  requestAnimationFrame(s);
5622
5622
  }, 150);
@@ -5626,15 +5626,15 @@ const Ct = {
5626
5626
  height: n.sys?.zoomheight ? n.sys.zoomheight + "px" : "1080px",
5627
5627
  transform: `scale(${n.scale}) translate(-50%,-50%)`
5628
5628
  })), he(() => {
5629
- be(s), window.addEventListener("resize", l);
5629
+ be(s), window.addEventListener("resize", i);
5630
5630
  }), $e(() => {
5631
- window.removeEventListener("resize", l), clearTimeout(a);
5631
+ window.removeEventListener("resize", i), clearTimeout(a);
5632
5632
  }), (r, d) => (p(), m("div", {
5633
5633
  ref_key: "containerRef",
5634
5634
  ref: o,
5635
5635
  class: "zoom-container",
5636
5636
  id: "asaizoomarea",
5637
- style: Z(i(n).cmscale)
5637
+ style: Z(l(n).cmscale)
5638
5638
  }, [
5639
5639
  R(r.$slots, "default")
5640
5640
  ], 4));
@@ -5651,7 +5651,7 @@ const Ct = {
5651
5651
  const e = t, { $global: n } = e.ujt;
5652
5652
  return (o, a) => (p(), m("div", {
5653
5653
  class: "zoom-container-style",
5654
- style: Z(i(n).cmscale)
5654
+ style: Z(l(n).cmscale)
5655
5655
  }, [
5656
5656
  R(o.$slots, "default")
5657
5657
  ], 4));
@@ -5695,14 +5695,14 @@ const Ct = {
5695
5695
  const e = t;
5696
5696
  return (n, o) => {
5697
5697
  const a = U("AsaiFormObject"), s = U("AsaiInput");
5698
- return p(!0), m(E, null, ee(e.formdata, (l, r) => (p(), m(E, null, [
5698
+ return p(!0), m(E, null, ee(e.formdata, (i, r) => (p(), m(E, null, [
5699
5699
  t.asaidata?.cmComp && t.asaidata?.cmComp(r) ? (p(), X(pe(t.asaidata.cmComp(r)), {
5700
5700
  key: 0,
5701
5701
  ujt: t.ujt,
5702
5702
  asaidata: t.asaidata,
5703
5703
  formdata: t.formdata,
5704
5704
  formkey: r
5705
- }, null, 8, ["ujt", "asaidata", "formdata", "formkey"])) : typeof l == "object" ? (p(), m(E, { key: 1 }, [
5705
+ }, null, 8, ["ujt", "asaidata", "formdata", "formkey"])) : typeof i == "object" ? (p(), m(E, { key: 1 }, [
5706
5706
  t.asaidata?.cmComp && t.asaidata?.cmComp("object") ? (p(), X(pe(t.asaidata.cmComp("object")), {
5707
5707
  key: 0,
5708
5708
  ujt: t.ujt,
@@ -5747,7 +5747,7 @@ const Ct = {
5747
5747
  }, [
5748
5748
  u("span", {
5749
5749
  class: J(`${t.asaidata.ic > 1 ? n.value ? "as-form-ico-close" : "as-form-ico-open" : ""}`),
5750
- onPointerdown: a[0] || (a[0] = (l) => n.value = !n.value)
5750
+ onPointerdown: a[0] || (a[0] = (i) => n.value = !n.value)
5751
5751
  }, 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),
5752
5752
  se(" " + v(t.asaidata.eq > 1 ? Array.isArray(e.formdata[t.formkey]) ? "[" : "{" : "") + " ", 1),
5753
5753
  n.value ? (p(), X(s, {
@@ -5776,8 +5776,8 @@ const Ct = {
5776
5776
  setup(t) {
5777
5777
  const e = t;
5778
5778
  return (n, o) => {
5779
- const a = U("AsfCheck"), s = U("AsfInput"), l = U("AsaiFormLabel");
5780
- return p(), X(l, {
5779
+ const a = U("AsfCheck"), s = U("AsfInput"), i = U("AsaiFormLabel");
5780
+ return p(), X(i, {
5781
5781
  ujt: t.ujt,
5782
5782
  asaidata: t.asaidata,
5783
5783
  formdata: t.formdata,
@@ -5828,7 +5828,7 @@ const Ct = {
5828
5828
  quality: 0.8
5829
5829
  },
5830
5830
  imgurls: {}
5831
- }, a = Y(null), s = Y(null), l = Y(null), r = Y(e.asaidata?.rule?.[e.formkey]?.editorty || 2);
5831
+ }, a = Y(null), s = Y(null), i = Y(null), r = Y(e.asaidata?.rule?.[e.formkey]?.editorty || 2);
5832
5832
  he(d);
5833
5833
  function d() {
5834
5834
  s.value && (s.value.innerHTML = e.formdata[e.formkey]);
@@ -5915,7 +5915,7 @@ const Ct = {
5915
5915
  function g(w) {
5916
5916
  a.value.accept = `${w}/*`, be(() => a.value?.click());
5917
5917
  }
5918
- async function b(w) {
5918
+ async function _(w) {
5919
5919
  const j = w.target.files?.[0];
5920
5920
  if (!j)
5921
5921
  return;
@@ -5962,7 +5962,7 @@ const Ct = {
5962
5962
  };
5963
5963
  });
5964
5964
  }
5965
- function _(w) {
5965
+ function b(w) {
5966
5966
  w.preventDefault(), Object.keys(o.imgurls).forEach((j) => {
5967
5967
  y(o.imgurls[j]).then((S) => {
5968
5968
  o.imgurls[j] == "1" && (o.imgurls[j] = "2", e.formdata[e.formkey].replaceAll(
@@ -5996,7 +5996,7 @@ const Ct = {
5996
5996
  u("select", {
5997
5997
  onChange: j[0] || (j[0] = (S) => x("fontSize", S.target.value))
5998
5998
  }, [
5999
- u("option", Pr, v(i(n).lang.richtexteditor.fontsize), 1),
5999
+ u("option", Pr, v(l(n).lang.richtexteditor.fontsize), 1),
6000
6000
  (p(), m(E, null, ee(8, (S) => u("option", {
6001
6001
  key: "size" + S,
6002
6002
  value: S * (S - 1) + 8
@@ -6005,45 +6005,45 @@ const Ct = {
6005
6005
  u("select", {
6006
6006
  onChange: j[1] || (j[1] = (S) => x("formatBlock", S.target.value))
6007
6007
  }, [
6008
- u("option", Ar, v(i(n).lang.richtexteditor.paragraph), 1),
6008
+ u("option", Ar, v(l(n).lang.richtexteditor.paragraph), 1),
6009
6009
  (p(), m(E, null, ee(6, (S) => u("option", {
6010
6010
  key: "h" + S,
6011
6011
  value: "h" + S
6012
- }, v(i(n).lang.richtexteditor.title) + v(S), 9, Or)), 64))
6012
+ }, v(l(n).lang.richtexteditor.title) + v(S), 9, Or)), 64))
6013
6013
  ], 32),
6014
6014
  u("button", {
6015
6015
  onPointerdown: j[2] || (j[2] = (S) => x("bold")),
6016
- title: i(n).lang.richtexteditor.bold
6016
+ title: l(n).lang.richtexteditor.bold
6017
6017
  }, " B ", 40, Mr),
6018
6018
  u("button", {
6019
6019
  onPointerdown: j[3] || (j[3] = (S) => x("underline")),
6020
- title: i(n).lang.richtexteditor.underline
6020
+ title: l(n).lang.richtexteditor.underline
6021
6021
  }, " U ", 40, Tr),
6022
6022
  u("button", {
6023
6023
  onPointerdown: j[4] || (j[4] = (S) => x("italic")),
6024
- title: i(n).lang.richtexteditor.italic
6024
+ title: l(n).lang.richtexteditor.italic
6025
6025
  }, " I ", 40, zr),
6026
6026
  u("button", {
6027
6027
  onPointerdown: j[5] || (j[5] = (S) => x("strikethrough")),
6028
- title: i(n).lang.richtexteditor.strikethrough
6028
+ title: l(n).lang.richtexteditor.strikethrough
6029
6029
  }, " S ", 40, Lr),
6030
6030
  u("input", {
6031
6031
  type: "color",
6032
6032
  onInput: j[6] || (j[6] = (S) => x("foreColor", S.target.value)),
6033
- title: i(n).lang.richtexteditor.foreColor
6033
+ title: l(n).lang.richtexteditor.foreColor
6034
6034
  }, null, 40, Ur),
6035
6035
  u("input", {
6036
6036
  type: "color",
6037
6037
  onInput: j[7] || (j[7] = (S) => x("backColor", S.target.value)),
6038
- title: i(n).lang.richtexteditor.backColor
6038
+ title: l(n).lang.richtexteditor.backColor
6039
6039
  }, null, 40, Ir),
6040
6040
  u("button", {
6041
6041
  onPointerdown: j[8] || (j[8] = (S) => x("insertOrderedList")),
6042
- title: i(n).lang.richtexteditor.insertOrderedList
6042
+ title: l(n).lang.richtexteditor.insertOrderedList
6043
6043
  }, " 有 ", 40, Er),
6044
6044
  u("button", {
6045
6045
  onPointerdown: j[9] || (j[9] = (S) => x("insertUnorderedList")),
6046
- title: i(n).lang.richtexteditor.insertUnorderedList
6046
+ title: l(n).lang.richtexteditor.insertUnorderedList
6047
6047
  }, " 无 ", 40, Dr),
6048
6048
  u("button", {
6049
6049
  onPointerdown: j[10] || (j[10] = (S) => x("justifyCenter")),
@@ -6086,7 +6086,7 @@ const Ct = {
6086
6086
  title: "文件"
6087
6087
  }, "📎", 32),
6088
6088
  u("button", {
6089
- onPointerdown: _,
6089
+ onPointerdown: b,
6090
6090
  title: "上传"
6091
6091
  }, "上", 32),
6092
6092
  u("button", {
@@ -6108,7 +6108,7 @@ const Ct = {
6108
6108
  key: 1,
6109
6109
  placeholder: e?.opt?.placeholder || "",
6110
6110
  ref_key: "rfRichCode",
6111
- ref: l,
6111
+ ref: i,
6112
6112
  "onUpdate:modelValue": j[21] || (j[21] = (S) => e.formdata[e.formkey] = S),
6113
6113
  style: Z({ width: r.value > 1 ? "50%" : "100%" })
6114
6114
  }, null, 12, Fr)), [
@@ -6120,7 +6120,7 @@ const Ct = {
6120
6120
  ref: a,
6121
6121
  type: "file",
6122
6122
  hidden: "",
6123
- onChange: b
6123
+ onChange: _
6124
6124
  }, null, 544)
6125
6125
  ], 4));
6126
6126
  }
@@ -6140,7 +6140,7 @@ const Ct = {
6140
6140
  e.asaidata?.lang && e.asaidata?.lang[e.formkey + "data"] || e.asaidata?.rule?.[e.formkey]?.[e.formkey + "data"] || n.lg(e.asaidata?.rule?.[e.formkey]?.data) || {}
6141
6141
  ));
6142
6142
  return (a, s) => {
6143
- const l = U("AsfSelect"), r = U("AsaiFormLabel");
6143
+ const i = U("AsfSelect"), r = U("AsaiFormLabel");
6144
6144
  return p(), X(r, {
6145
6145
  ujt: t.ujt,
6146
6146
  asaidata: t.asaidata,
@@ -6148,7 +6148,7 @@ const Ct = {
6148
6148
  formkey: t.formkey
6149
6149
  }, {
6150
6150
  default: re(() => [
6151
- W(l, {
6151
+ W(i, {
6152
6152
  ujt: t.ujt,
6153
6153
  opt: { selectdata: o.value },
6154
6154
  modelValue: e.formdata[t.formkey],
@@ -6171,16 +6171,16 @@ const Ct = {
6171
6171
  formkey: {}
6172
6172
  },
6173
6173
  setup(t) {
6174
- const e = t, { $fn: n, $global: o, $model: a } = e.ujt, s = Y(null), l = Y(null), r = Y("+"), d = async (f) => {
6174
+ const e = t, { $fn: n, $global: o, $model: a } = e.ujt, s = Y(null), i = Y(null), r = Y("+"), d = async (f) => {
6175
6175
  if (s.value.value) {
6176
- if (l.value = f.target.files[0], s.value.value = "", !l.value) {
6176
+ if (i.value = f.target.files[0], s.value.value = "", !i.value) {
6177
6177
  r.value = n.lg("asai.fail");
6178
6178
  return;
6179
6179
  }
6180
6180
  try {
6181
6181
  n.api.webserver.apiUpload(
6182
- "/api/asaifile/manage/upbinary/?path=" + o.sys.path.updir + e.asaidata?.rule?.[e.formkey]?.filename || n.As.getName(l.value.name),
6183
- l.value
6182
+ "/api/asaifile/manage/upbinary/?path=" + o.sys.path.updir + e.asaidata?.rule?.[e.formkey]?.filename || n.As.getName(i.value.name),
6183
+ i.value
6184
6184
  ).then((h) => {
6185
6185
  r.value = "", e.formdata[e.formkey] = h.data;
6186
6186
  });
@@ -6224,7 +6224,7 @@ const Ct = {
6224
6224
  e.formdata[t.formkey] ? (p(), m("div", Br, [
6225
6225
  t.asaidata?.rule?.[t.formkey]?.accept?.startsWith("image/") ? (p(), m("img", {
6226
6226
  key: 0,
6227
- src: i(n).As.getUrlByCfg(i(o).link.api.webserver) + "/" + e.formdata[t.formkey],
6227
+ src: l(n).As.getUrlByCfg(l(o).link.api.webserver) + "/" + e.formdata[t.formkey],
6228
6228
  alt: e.formdata[t.formkey],
6229
6229
  title: e.formdata[t.formkey]
6230
6230
  }, null, 8, Nr)) : (p(), m("div", {
@@ -6255,9 +6255,9 @@ const Ct = {
6255
6255
  formkey: {}
6256
6256
  },
6257
6257
  setup(t) {
6258
- const e = t, { $fn: n, $global: o, $model: a } = e.ujt, s = Y(null), l = Y(null), r = Y("+"), d = async (f) => {
6258
+ const e = t, { $fn: n, $global: o, $model: a } = e.ujt, s = Y(null), i = Y(null), r = Y("+"), d = async (f) => {
6259
6259
  if (s.value.value) {
6260
- if (l.value = f.target.files[0], s.value.value = "", !l.value) {
6260
+ if (i.value = f.target.files[0], s.value.value = "", !i.value) {
6261
6261
  r.value = n.lg("asai.fail");
6262
6262
  return;
6263
6263
  }
@@ -6266,20 +6266,20 @@ const Ct = {
6266
6266
  const g = h.result.split(",")[1];
6267
6267
  try {
6268
6268
  n.api.webserver.apiPost(
6269
- "/api/asaifile/manage/upbase64/?path=" + o.sys.path.updir + n.As.getName(l.value.name),
6269
+ "/api/asaifile/manage/upbase64/?path=" + o.sys.path.updir + n.As.getName(i.value.name),
6270
6270
  g,
6271
6271
  {
6272
6272
  headers: {
6273
6273
  "Content-Type": "application/json"
6274
6274
  }
6275
6275
  }
6276
- ).then((b) => {
6277
- r.value = "", e.formdata[e.formkey] = b.data;
6276
+ ).then((_) => {
6277
+ r.value = "", e.formdata[e.formkey] = _.data;
6278
6278
  });
6279
- } catch (b) {
6280
- r.value = n.lg("asai.fail") + " " + b.message;
6279
+ } catch (_) {
6280
+ r.value = n.lg("asai.fail") + " " + _.message;
6281
6281
  }
6282
- }, h.readAsDataURL(l.value);
6282
+ }, h.readAsDataURL(i.value);
6283
6283
  }
6284
6284
  };
6285
6285
  function c() {
@@ -6301,7 +6301,7 @@ const Ct = {
6301
6301
  e.formdata[t.formkey] ? (p(), m("div", Gr, [
6302
6302
  t.asaidata?.rule?.[t.formkey]?.accept?.startsWith("image/") ? (p(), m("img", {
6303
6303
  key: 0,
6304
- src: i(n).As.getUrlByCfg(i(o).link.api.webserver) + "/" + e.formdata[t.formkey],
6304
+ src: l(n).As.getUrlByCfg(l(o).link.api.webserver) + "/" + e.formdata[t.formkey],
6305
6305
  alt: e.formdata[t.formkey],
6306
6306
  title: e.formdata[t.formkey]
6307
6307
  }, null, 8, Zr)) : (p(), m("div", {
@@ -6348,10 +6348,10 @@ const Ct = {
6348
6348
  formkey: {}
6349
6349
  },
6350
6350
  setup(t) {
6351
- const e = t, { $fn: n, $global: o } = e.ujt, a = Y(null), s = Y(null), l = Y("+"), r = async (f) => {
6351
+ const e = t, { $fn: n, $global: o } = e.ujt, a = Y(null), s = Y(null), i = Y("+"), r = async (f) => {
6352
6352
  if (a.value.value) {
6353
6353
  if (s.value = f.target.files[0], a.value.value = "", !s.value) {
6354
- l.value = n.lg("asai.fail");
6354
+ i.value = n.lg("asai.fail");
6355
6355
  return;
6356
6356
  }
6357
6357
  const h = new FileReader();
@@ -6365,9 +6365,9 @@ const Ct = {
6365
6365
  fn: (g) => {
6366
6366
  e.formdata[e.formkey] = g, o.pop.popupload.stat = 0;
6367
6367
  }
6368
- }), l.value = "";
6368
+ }), i.value = "";
6369
6369
  } catch (g) {
6370
- l.value = n.lg("asai.fail") + " " + g.message;
6370
+ i.value = n.lg("asai.fail") + " " + g.message;
6371
6371
  }
6372
6372
  }, h.readAsDataURL(s.value);
6373
6373
  }
@@ -6379,10 +6379,10 @@ const Ct = {
6379
6379
  o.pop.popupload.stat = 1, o.pop.popupload.tit = n.lg("asai.upload"), o.pop.popupload.params = f;
6380
6380
  }
6381
6381
  return (f, h) => {
6382
- const g = U("AsaiUploadImgCutPop"), b = U("AsaiFormLabel");
6382
+ const g = U("AsaiUploadImgCutPop"), _ = U("AsaiFormLabel");
6383
6383
  return p(), m(E, null, [
6384
6384
  W(g, { ujt: t.ujt }, null, 8, ["ujt"]),
6385
- W(b, {
6385
+ W(_, {
6386
6386
  ujt: t.ujt,
6387
6387
  asaidata: t.asaidata,
6388
6388
  formdata: t.formdata,
@@ -6399,9 +6399,9 @@ const Ct = {
6399
6399
  }, null, 8, sc)
6400
6400
  ])) : (p(), m("div", {
6401
6401
  key: 1,
6402
- class: J(l.value === "+" ? "" : "as-upload-tit"),
6403
- title: l.value
6404
- }, v(l.value), 11, lc))
6402
+ class: J(i.value === "+" ? "" : "as-upload-tit"),
6403
+ title: i.value
6404
+ }, v(i.value), 11, lc))
6405
6405
  ], 32),
6406
6406
  u("input", {
6407
6407
  accept: "image/*",
@@ -6430,7 +6430,7 @@ const Ct = {
6430
6430
  params: {}
6431
6431
  },
6432
6432
  setup(t) {
6433
- const e = t, { $fn: n } = e.ujt, o = Y(""), a = Y(null), s = Y(null), l = Y(null), r = Y({
6433
+ const e = t, { $fn: n } = e.ujt, o = Y(""), a = Y(null), s = Y(null), i = Y(null), r = Y({
6434
6434
  x: 0,
6435
6435
  y: 0,
6436
6436
  width: 0,
@@ -6453,7 +6453,7 @@ const Ct = {
6453
6453
  })), f = q(
6454
6454
  () => r.value.width > 0 && r.value.height > 0
6455
6455
  ), h = () => {
6456
- const x = a.value, L = l.value;
6456
+ const x = a.value, L = i.value;
6457
6457
  if (!x || !L) {
6458
6458
  console.error("Image or container element not found.");
6459
6459
  return;
@@ -6482,11 +6482,11 @@ const Ct = {
6482
6482
  };
6483
6483
  const S = (A) => {
6484
6484
  requestAnimationFrame(() => {
6485
- x === "move" ? b(A) : $(A);
6485
+ x === "move" ? _(A) : $(A);
6486
6486
  });
6487
6487
  };
6488
6488
  window.addEventListener("mousemove", S), window.addEventListener("touchmove", S), window.addEventListener("mouseup", y), window.addEventListener("touchend", y);
6489
- }, b = (x) => {
6489
+ }, _ = (x) => {
6490
6490
  const L = window.event || x, w = L.touches ? L.touches[0] : L;
6491
6491
  if (d.value.type !== "move") return;
6492
6492
  const j = w.clientX - d.value.startX, S = w.clientY - d.value.startY, A = Math.max(
@@ -6535,8 +6535,8 @@ const Ct = {
6535
6535
  height: z
6536
6536
  }), console.log("Resized crop params:", r.value);
6537
6537
  }, y = () => {
6538
- d.value.type = null, window.removeEventListener("mousemove", b), window.removeEventListener("touchmove", b), window.removeEventListener("mousemove", $), window.removeEventListener("touchmove", $), window.removeEventListener("mouseup", y), window.removeEventListener("touchend", y);
6539
- }, _ = () => {
6538
+ d.value.type = null, window.removeEventListener("mousemove", _), window.removeEventListener("touchmove", _), window.removeEventListener("mousemove", $), window.removeEventListener("touchmove", $), window.removeEventListener("mouseup", y), window.removeEventListener("touchend", y);
6539
+ }, b = () => {
6540
6540
  const x = a.value, L = x.naturalWidth / x.width, w = x.naturalHeight / x.height, j = Math.min(
6541
6541
  r.value.width * L,
6542
6542
  x.naturalWidth
@@ -6579,7 +6579,7 @@ const Ct = {
6579
6579
  key: 1,
6580
6580
  class: "as-img-cut",
6581
6581
  ref_key: "previewContainer",
6582
- ref: l
6582
+ ref: i
6583
6583
  }, [
6584
6584
  u("img", {
6585
6585
  ref_key: "previewImage",
@@ -6623,7 +6623,7 @@ const Ct = {
6623
6623
  u("button", { onPointerdown: O }, "确认上传", 32)
6624
6624
  ], 64)) : (p(), m("button", {
6625
6625
  key: 1,
6626
- onPointerdown: _
6626
+ onPointerdown: b
6627
6627
  }, "确认裁剪", 32))
6628
6628
  ])
6629
6629
  ]));
@@ -6639,16 +6639,16 @@ const Ct = {
6639
6639
  setup(t) {
6640
6640
  const e = t, { $global: n } = e.ujt;
6641
6641
  return (o, a) => {
6642
- const s = U("AsaiUploadImgCut"), l = U("PopBox");
6643
- return p(), X(l, {
6642
+ const s = U("AsaiUploadImgCut"), i = U("PopBox");
6643
+ return p(), X(i, {
6644
6644
  ujt: t.ujt,
6645
6645
  id: "popupload"
6646
6646
  }, {
6647
6647
  default: re(() => [
6648
- i(n).pop.popupload.stat ? (p(), X(s, {
6648
+ l(n).pop.popupload.stat ? (p(), X(s, {
6649
6649
  key: 0,
6650
6650
  ujt: t.ujt,
6651
- params: i(n).pop.popupload.params
6651
+ params: l(n).pop.popupload.params
6652
6652
  }, null, 8, ["ujt", "params"])) : F("", !0)
6653
6653
  ]),
6654
6654
  _: 1
@@ -6681,21 +6681,21 @@ const Ct = {
6681
6681
  "./AsaiUploadImgCut.vue": at,
6682
6682
  "./AsaiUploadImgCutPop.vue": st
6683
6683
  });
6684
- function a(l) {
6685
- const r = l.match(/([^\\/]+)(?=\.vue$)/);
6684
+ function a(i) {
6685
+ const r = i.match(/([^\\/]+)(?=\.vue$)/);
6686
6686
  return r ? r[1] : null;
6687
6687
  }
6688
- for (let l in o)
6689
- o[a(l) || l] = o[l], delete o[l];
6688
+ for (let i in o)
6689
+ o[a(i) || i] = o[i], delete o[i];
6690
6690
  e.asaidata.comp ? Object.assign(e.asaidata.comp, o) : e.asaidata.comp = { ...o };
6691
- function s(l) {
6692
- return l?.default ? l.default : ke(l);
6691
+ function s(i) {
6692
+ return i?.default ? i.default : ke(i);
6693
6693
  }
6694
- return e.asaidata.cmComp = (l) => (n[l] || (e.asaidata?.rule?.[l]?.comp && e.asaidata.comp[e.asaidata.rule[l].comp] ? n[l] = s(
6695
- e.asaidata.comp[e.asaidata.rule[l].comp]
6696
- ) : e.asaidata.comp[l] ? n[l] = s(e.asaidata.comp[l]) : l === "object" && e.asaidata.comp && e.asaidata.comp.object && (n[l] = s(e.asaidata.comp.object))), n[l]), $e(() => {
6694
+ return e.asaidata.cmComp = (i) => (n[i] || (e.asaidata?.rule?.[i]?.comp && e.asaidata.comp[e.asaidata.rule[i].comp] ? n[i] = s(
6695
+ e.asaidata.comp[e.asaidata.rule[i].comp]
6696
+ ) : e.asaidata.comp[i] ? n[i] = s(e.asaidata.comp[i]) : i === "object" && e.asaidata.comp && e.asaidata.comp.object && (n[i] = s(e.asaidata.comp.object))), n[i]), $e(() => {
6697
6697
  n = null;
6698
- }), (l, r) => {
6698
+ }), (i, r) => {
6699
6699
  const d = U("AsaiFormLi");
6700
6700
  return p(), m("div", vc, [
6701
6701
  W(d, {
@@ -6727,7 +6727,7 @@ const Ct = {
6727
6727
  a("update:modelValue", c);
6728
6728
  }
6729
6729
  });
6730
- const l = q(() => n.opt?.checkdata || [
6730
+ const i = q(() => n.opt?.checkdata || [
6731
6731
  o?.lang?.asai?.off || "off",
6732
6732
  o?.lang?.asai?.on || "on"
6733
6733
  ]), r = q(() => n?.opt?.height || "var(--fs2)");
@@ -6735,16 +6735,16 @@ const Ct = {
6735
6735
  s.value == !1 ? s.value = !0 : s.value = !1;
6736
6736
  }
6737
6737
  return (c, f) => (p(), m("div", {
6738
- class: J(`asf-check${i(s) ? "-ck" : ""}`),
6738
+ class: J(`asf-check${l(s) ? "-ck" : ""}`),
6739
6739
  style: Z(n.opt?.style || {}),
6740
6740
  onClick: d
6741
6741
  }, [
6742
6742
  u("div", {
6743
- class: J(`asf-check-ico${i(s) ? "-ck" : ""}`)
6743
+ class: J(`asf-check-ico${l(s) ? "-ck" : ""}`)
6744
6744
  }, null, 2),
6745
6745
  u("div", {
6746
- class: J(`asf-check-txt${i(s) ? "-ck" : ""}`)
6747
- }, v(i(s) ? l.value?.[1] : l.value?.[0]), 3)
6746
+ class: J(`asf-check-txt${l(s) ? "-ck" : ""}`)
6747
+ }, v(l(s) ? i.value?.[1] : i.value?.[0]), 3)
6748
6748
  ], 6));
6749
6749
  }
6750
6750
  }), _c = /* @__PURE__ */ B(bc, [["__scopeId", "data-v-702347fb"]]), $c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6768,7 +6768,7 @@ const Ct = {
6768
6768
  },
6769
6769
  emits: ["update:modelValue"],
6770
6770
  setup(t, { emit: e }) {
6771
- ge((l) => ({
6771
+ ge((i) => ({
6772
6772
  v7800f5ef: s.value
6773
6773
  }));
6774
6774
  const n = t, o = e;
@@ -6776,12 +6776,12 @@ const Ct = {
6776
6776
  get() {
6777
6777
  return n.modelValue;
6778
6778
  },
6779
- set(l) {
6780
- o("update:modelValue", l);
6779
+ set(i) {
6780
+ o("update:modelValue", i);
6781
6781
  }
6782
6782
  });
6783
6783
  const s = q(() => n?.opt?.height || "var(--fs2)");
6784
- return (l, r) => t.opt?.max ? (p(), m("div", kc, [
6784
+ return (i, r) => t.opt?.max ? (p(), m("div", kc, [
6785
6785
  G(u("input", {
6786
6786
  style: Z(n.opt?.style || {}),
6787
6787
  type: t.opt?.type || "number",
@@ -6789,7 +6789,7 @@ const Ct = {
6789
6789
  min: t.opt?.min || 0,
6790
6790
  "onUpdate:modelValue": r[0] || (r[0] = (d) => Pe(a) ? a.value = d : a = d)
6791
6791
  }, null, 12, wc), [
6792
- [Te, i(a)]
6792
+ [Te, l(a)]
6793
6793
  ])
6794
6794
  ])) : t.opt?.maxlength ? (p(), m("div", jc, [
6795
6795
  G(u("input", {
@@ -6798,7 +6798,7 @@ const Ct = {
6798
6798
  maxlength: t.opt?.maxlength,
6799
6799
  "onUpdate:modelValue": r[1] || (r[1] = (d) => Pe(a) ? a.value = d : a = d)
6800
6800
  }, null, 12, xc), [
6801
- [Te, i(a)]
6801
+ [Te, l(a)]
6802
6802
  ])
6803
6803
  ])) : (p(), m("div", Sc, [
6804
6804
  G(u("input", {
@@ -6806,7 +6806,7 @@ const Ct = {
6806
6806
  type: t.opt?.type || "text",
6807
6807
  "onUpdate:modelValue": r[2] || (r[2] = (d) => Pe(a) ? a.value = d : a = d)
6808
6808
  }, null, 12, Pc), [
6809
- [Te, i(a)]
6809
+ [Te, l(a)]
6810
6810
  ])
6811
6811
  ]));
6812
6812
  }
@@ -6826,7 +6826,7 @@ const Ct = {
6826
6826
  emits: ["update:modelValue"],
6827
6827
  setup(t, { emit: e }) {
6828
6828
  ge((f) => ({
6829
- v64710026: l.value
6829
+ v64710026: i.value
6830
6830
  }));
6831
6831
  const n = t, { $global: o } = n.ujt, a = e;
6832
6832
  let s = q({
@@ -6837,7 +6837,7 @@ const Ct = {
6837
6837
  a("update:modelValue", f);
6838
6838
  }
6839
6839
  });
6840
- const l = q(() => n?.opt?.height || "var(--fs2)"), r = me({
6840
+ const i = q(() => n?.opt?.height || "var(--fs2)"), r = me({
6841
6841
  up: !1
6842
6842
  });
6843
6843
  function d(f) {
@@ -6854,8 +6854,8 @@ const Ct = {
6854
6854
  onPointerdown: d
6855
6855
  }, [
6856
6856
  u("div", Tc, v(n.opt?.selectdata?.find(
6857
- (g) => g[0] == i(s)
6858
- )?.[1] || i(o).lang.asai.select || ""), 1),
6857
+ (g) => g[0] == l(s)
6858
+ )?.[1] || l(o).lang.asai.select || ""), 1),
6859
6859
  h[0] || (h[0] = u("div", { class: "asf-select-cur-ic" }, null, -1))
6860
6860
  ], 36),
6861
6861
  u("div", zc, [
@@ -6866,12 +6866,12 @@ const Ct = {
6866
6866
  onPointerdown: c
6867
6867
  }, [
6868
6868
  (p(!0), m(E, null, ee(n.opt?.selectdata, (g) => (p(), m("div", {
6869
- class: J(`asf-select-li${i(s) == g[0] ? "-active" : ""}`),
6869
+ class: J(`asf-select-li${l(s) == g[0] ? "-active" : ""}`),
6870
6870
  "data-val": g[0],
6871
6871
  key: "sel" + g[0]
6872
6872
  }, v(g[1]), 11, Ic))), 128))
6873
6873
  ], 38)) : (p(), m("div", Lc, [
6874
- u("div", Uc, v(i(o).lang.asai.empty), 1)
6874
+ u("div", Uc, v(l(o).lang.asai.empty), 1)
6875
6875
  ]))
6876
6876
  ])
6877
6877
  ]));
@@ -6888,7 +6888,7 @@ const Ct = {
6888
6888
  },
6889
6889
  emits: ["update:modelValue"],
6890
6890
  setup(t, { emit: e }) {
6891
- ge((l) => ({
6891
+ ge((i) => ({
6892
6892
  v6d5ab1f9: s.value
6893
6893
  }));
6894
6894
  const n = t, o = e;
@@ -6896,19 +6896,19 @@ const Ct = {
6896
6896
  get() {
6897
6897
  return n.modelValue;
6898
6898
  },
6899
- set(l) {
6900
- o("update:modelValue", l);
6899
+ set(i) {
6900
+ o("update:modelValue", i);
6901
6901
  }
6902
6902
  });
6903
6903
  const s = q(() => n?.opt?.height || "var(--fs2)");
6904
- return (l, r) => (p(), m("div", Fc, [
6904
+ return (i, r) => (p(), m("div", Fc, [
6905
6905
  G(u("textarea", {
6906
6906
  style: Z(n.opt?.style || {}),
6907
6907
  "onUpdate:modelValue": r[0] || (r[0] = (d) => Pe(a) ? a.value = d : a = d),
6908
6908
  placeholder: t.opt?.placeholder,
6909
6909
  readonly: !!t.opt?.readonly
6910
6910
  }, null, 12, Wc), [
6911
- [ue, i(a)]
6911
+ [ue, l(a)]
6912
6912
  ])
6913
6913
  ]));
6914
6914
  }
@@ -6946,7 +6946,7 @@ const Ct = {
6946
6946
  src: "asai/page"
6947
6947
  })
6948
6948
  ]),
6949
- u("div", Xc, v(i(e).$GYS.$webmodel.lang[i(e).$GYS.$webmodel.lang.langty].pageerr), 1)
6949
+ u("div", Xc, v(l(e).$GYS.$webmodel.lang[l(e).$GYS.$webmodel.lang.langty].pageerr), 1)
6950
6950
  ])
6951
6951
  ])
6952
6952
  ]);
@@ -7003,7 +7003,7 @@ const Ct = {
7003
7003
  setup(t) {
7004
7004
  const e = t, { $global: n } = e.ujt;
7005
7005
  return (o, a) => {
7006
- const s = U("AsSvg"), l = U("UserCard");
7006
+ const s = U("AsSvg"), i = U("UserCard");
7007
7007
  return p(), m("div", ou, [
7008
7008
  u("div", null, [
7009
7009
  a[0] || (a[0] = u("div", null, [
@@ -7020,10 +7020,10 @@ const Ct = {
7020
7020
  src: "asai/server"
7021
7021
  })
7022
7022
  ]),
7023
- u("div", lu, v(i(n).lang?.asai?.page?.loadws), 1)
7023
+ u("div", lu, v(l(n).lang?.asai?.page?.loadws), 1)
7024
7024
  ]),
7025
7025
  u("h3", null, v(e.type), 1),
7026
- W(l, { ujt: t.ujt }, null, 8, ["ujt"])
7026
+ W(i, { ujt: t.ujt }, null, 8, ["ujt"])
7027
7027
  ])
7028
7028
  ]);
7029
7029
  };
@@ -7045,7 +7045,7 @@ const Ct = {
7045
7045
  setup(t) {
7046
7046
  const e = t, { $global: n } = e.ujt;
7047
7047
  return (o, a) => {
7048
- const s = U("AsSvg"), l = U("UserCard");
7048
+ const s = U("AsSvg"), i = U("UserCard");
7049
7049
  return p(), m("div", cu, [
7050
7050
  u("div", null, [
7051
7051
  a[0] || (a[0] = u("div", null, [
@@ -7062,9 +7062,9 @@ const Ct = {
7062
7062
  src: "asai/web"
7063
7063
  })
7064
7064
  ]),
7065
- u("div", pu, v(i(n).lang.asai.page.loadserver), 1)
7065
+ u("div", pu, v(l(n).lang.asai.page.loadserver), 1)
7066
7066
  ]),
7067
- W(l, { ujt: t.ujt }, null, 8, ["ujt"])
7067
+ W(i, { ujt: t.ujt }, null, 8, ["ujt"])
7068
7068
  ])
7069
7069
  ]);
7070
7070
  };
@@ -7086,7 +7086,7 @@ const Ct = {
7086
7086
  setup(t) {
7087
7087
  const e = t, { $global: n } = e.ujt;
7088
7088
  return (o, a) => {
7089
- const s = U("AsSvg"), l = U("UserCard");
7089
+ const s = U("AsSvg"), i = U("UserCard");
7090
7090
  return p(), m("div", hu, [
7091
7091
  u("div", null, [
7092
7092
  a[0] || (a[0] = u("div", null, [
@@ -7103,9 +7103,9 @@ const Ct = {
7103
7103
  src: "asai/user"
7104
7104
  })
7105
7105
  ]),
7106
- u("div", yu, v(i(n).lang.asai.page.loadusertoken), 1)
7106
+ u("div", yu, v(l(n).lang.asai.page.loadusertoken), 1)
7107
7107
  ]),
7108
- W(l, { ujt: t.ujt }, null, 8, ["ujt"])
7108
+ W(i, { ujt: t.ujt }, null, 8, ["ujt"])
7109
7109
  ])
7110
7110
  ]);
7111
7111
  };
@@ -7127,7 +7127,7 @@ const Ct = {
7127
7127
  setup(t) {
7128
7128
  const e = t, { $global: n } = e.ujt;
7129
7129
  return (o, a) => {
7130
- const s = U("AsSvg"), l = U("UserCard");
7130
+ const s = U("AsSvg"), i = U("UserCard");
7131
7131
  return p(), m("div", $u, [
7132
7132
  u("div", null, [
7133
7133
  a[0] || (a[0] = u("div", null, [
@@ -7144,9 +7144,9 @@ const Ct = {
7144
7144
  src: "asai/user"
7145
7145
  })
7146
7146
  ]),
7147
- u("div", ju, v(i(n).lang.asai.page.loaduseronline), 1)
7147
+ u("div", ju, v(l(n).lang.asai.page.loaduseronline), 1)
7148
7148
  ]),
7149
- W(l, { ujt: t.ujt }, null, 8, ["ujt"])
7149
+ W(i, { ujt: t.ujt }, null, 8, ["ujt"])
7150
7150
  ])
7151
7151
  ]);
7152
7152
  };
@@ -7169,7 +7169,7 @@ const Ct = {
7169
7169
  setup(t) {
7170
7170
  const e = t, { $global: n } = e.ujt;
7171
7171
  return (o, a) => {
7172
- const s = U("AsSvg"), l = U("UserCard");
7172
+ const s = U("AsSvg"), i = U("UserCard");
7173
7173
  return p(), m("div", Pu, [
7174
7174
  u("div", null, [
7175
7175
  a[0] || (a[0] = u("div", null, [
@@ -7186,10 +7186,10 @@ const Ct = {
7186
7186
  src: "asai/server"
7187
7187
  })
7188
7188
  ]),
7189
- u("div", Ou, v(i(n).lang?.asai?.page?.loadws), 1)
7189
+ u("div", Ou, v(l(n).lang?.asai?.page?.loadws), 1)
7190
7190
  ]),
7191
7191
  u("h3", null, v(e.type), 1),
7192
- W(l, { ujt: t.ujt }, null, 8, ["ujt"])
7192
+ W(i, { ujt: t.ujt }, null, 8, ["ujt"])
7193
7193
  ])
7194
7194
  ]);
7195
7195
  };
@@ -7204,31 +7204,31 @@ const Ct = {
7204
7204
  id: {}
7205
7205
  },
7206
7206
  setup(t) {
7207
- ge((l) => ({
7208
- v3211e1b4: i(n).pop[e.id].zindex,
7207
+ ge((i) => ({
7208
+ v3211e1b4: l(n).pop[e.id].zindex,
7209
7209
  v884bd0e2: a.value,
7210
- v116fbd3c: i(n).scale
7210
+ v116fbd3c: l(n).scale
7211
7211
  }));
7212
7212
  const e = t, { $global: n, $model: o } = e.ujt;
7213
7213
  n.pop[e.id]?.zindex || (n.pop[e.id].zindex = 101);
7214
7214
  const a = q(() => n.pop[e.id]?.event ? n.pop[e.id]?.event : "auto");
7215
7215
  n.scale == null && (n.scale = 1);
7216
7216
  const s = q(() => {
7217
- let l = n.pop[e.id]?.maskstyle || {};
7218
- return n.pop[e.id].full == 2 ? l = {
7217
+ let i = n.pop[e.id]?.maskstyle || {};
7218
+ return n.pop[e.id].full == 2 ? i = {
7219
7219
  display: "block",
7220
- ...l
7221
- } : n.pop[e.id].full == 1 ? l = {
7220
+ ...i
7221
+ } : n.pop[e.id].full == 1 ? i = {
7222
7222
  width: n?.sys?.zoomwidth + "px",
7223
7223
  height: n?.sys?.zoomheight + "px",
7224
- ...l
7225
- } : l = {
7224
+ ...i
7225
+ } : i = {
7226
7226
  display: "block",
7227
- ...l
7228
- }, a.value === "auto" && (l["background-color"] = "rgba(0, 0, 0, 0.3)"), l;
7227
+ ...i
7228
+ }, a.value === "auto" && (i["background-color"] = "rgba(0, 0, 0, 0.3)"), i;
7229
7229
  });
7230
- return (l, r) => i(n).pop[e.id].full == 2 ? (p(), m(E, { key: 0 }, [
7231
- i(n).pop[e.id].stat ? (p(), X(Ae, {
7230
+ return (i, r) => l(n).pop[e.id].full == 2 ? (p(), m(E, { key: 0 }, [
7231
+ l(n).pop[e.id].stat ? (p(), X(Ae, {
7232
7232
  key: 0,
7233
7233
  to: "#teleportpopbox"
7234
7234
  }, [
@@ -7237,11 +7237,11 @@ const Ct = {
7237
7237
  style: Z(s.value),
7238
7238
  id: "popmask" + t.id
7239
7239
  }, [
7240
- R(l.$slots, "default", {}, void 0, !0)
7240
+ R(i.$slots, "default", {}, void 0, !0)
7241
7241
  ], 12, zu)
7242
7242
  ])) : F("", !0)
7243
- ], 64)) : i(n).pop[e.id].full == 1 ? (p(), m(E, { key: 1 }, [
7244
- i(n).pop[e.id].stat ? (p(), X(Ae, {
7243
+ ], 64)) : l(n).pop[e.id].full == 1 ? (p(), m(E, { key: 1 }, [
7244
+ l(n).pop[e.id].stat ? (p(), X(Ae, {
7245
7245
  key: 0,
7246
7246
  to: "#teleportpopbox"
7247
7247
  }, [
@@ -7253,18 +7253,18 @@ const Ct = {
7253
7253
  class: "as-pop-box-mask-zoom",
7254
7254
  style: Z(s.value)
7255
7255
  }, [
7256
- R(l.$slots, "default", {}, void 0, !0)
7256
+ R(i.$slots, "default", {}, void 0, !0)
7257
7257
  ], 4)
7258
7258
  ], 8, Lu)
7259
7259
  ])) : F("", !0)
7260
7260
  ], 64)) : (p(), m(E, { key: 2 }, [
7261
- i(n).pop[e.id].stat ? (p(), m("div", {
7261
+ l(n).pop[e.id].stat ? (p(), m("div", {
7262
7262
  key: 0,
7263
7263
  class: "as-pop-box-mask-0",
7264
7264
  style: Z(s.value),
7265
7265
  id: "popmask" + t.id
7266
7266
  }, [
7267
- R(l.$slots, "default", {}, void 0, !0)
7267
+ R(i.$slots, "default", {}, void 0, !0)
7268
7268
  ], 12, Uu)) : F("", !0)
7269
7269
  ], 64));
7270
7270
  }
@@ -7282,27 +7282,27 @@ const Ct = {
7282
7282
  const s = {};
7283
7283
  return n.pop[e.id]?.nooverflow || (s.overflow = n.pop[e.id]?.conoverflow || "auto"), s;
7284
7284
  });
7285
- return (s, l) => (p(), m(E, null, [
7285
+ return (s, i) => (p(), m(E, null, [
7286
7286
  u("div", {
7287
7287
  class: "as-pop-content",
7288
7288
  style: Z(a.value)
7289
7289
  }, [
7290
7290
  R(s.$slots, "default", {}, () => [
7291
- u("div", Du, v(i(n).pop[e.id]?.con || ""), 1)
7291
+ u("div", Du, v(l(n).pop[e.id]?.con || ""), 1)
7292
7292
  ], !0)
7293
7293
  ], 4),
7294
- i(n).pop[e.id]?.btns?.length ? (p(), m("div", Ru, [
7295
- (p(!0), m(E, null, ee(i(n).pop[e.id].btns, (r, d) => (p(), m(E, null, [
7294
+ l(n).pop[e.id]?.btns?.length ? (p(), m("div", Ru, [
7295
+ (p(!0), m(E, null, ee(l(n).pop[e.id].btns, (r, d) => (p(), m(E, null, [
7296
7296
  r.fn ? (p(), m("div", {
7297
7297
  key: 0,
7298
- onTouchstart: l[0] || (l[0] = V(
7298
+ onTouchstart: i[0] || (i[0] = V(
7299
7299
  //@ts-ignore
7300
- (...c) => i(o).As.eStop && i(o).As.eStop(...c),
7300
+ (...c) => l(o).As.eStop && l(o).As.eStop(...c),
7301
7301
  ["stop"]
7302
7302
  )),
7303
- onPointerdown: l[1] || (l[1] = V(
7303
+ onPointerdown: i[1] || (i[1] = V(
7304
7304
  //@ts-ignore
7305
- (...c) => i(o).As.eStop && i(o).As.eStop(...c),
7305
+ (...c) => l(o).As.eStop && l(o).As.eStop(...c),
7306
7306
  ["stop"]
7307
7307
  )),
7308
7308
  onPointerup: V((c) => r.fn(), ["stop"]),
@@ -7332,18 +7332,18 @@ const Ct = {
7332
7332
  n.pop[e.id]?.closepop && typeof n.pop[e.id].closepop == "function" ? n.pop[e.id].closepop() : n.pop[e.id].stat = 0;
7333
7333
  }
7334
7334
  return (a, s) => {
7335
- const l = U("AsSvg");
7335
+ const i = U("AsSvg");
7336
7336
  return p(), m(E, null, [
7337
7337
  u("div", Vu, [
7338
- i(n).pop[e.id].ico ? (p(), X(l, {
7338
+ l(n).pop[e.id].ico ? (p(), X(i, {
7339
7339
  key: 0,
7340
7340
  color: "var(--ch8)",
7341
7341
  height: "var(--fs4)",
7342
- src: i(n).pop[e.id].ico
7342
+ src: l(n).pop[e.id].ico
7343
7343
  }, null, 8, ["src"])) : F("", !0),
7344
- se(" " + v(i(n).pop[e.id].tit || ""), 1)
7344
+ se(" " + v(l(n).pop[e.id].tit || ""), 1)
7345
7345
  ]),
7346
- i(n).pop[e.id]?.noclose ? F("", !0) : (p(), m("div", qu, [
7346
+ l(n).pop[e.id]?.noclose ? F("", !0) : (p(), m("div", qu, [
7347
7347
  u("div", {
7348
7348
  onPointerdown: s[0] || (s[0] = V((r) => o(), ["stop", "prevent"]))
7349
7349
  }, "×", 32)
@@ -7363,47 +7363,47 @@ const Ct = {
7363
7363
  const a = me({ w: 0, h: 0 });
7364
7364
  he(() => {
7365
7365
  if (!n.pop[e.id].full) {
7366
- const l = document.getElementById("poparea" + e.id) || document.getElementById("popmask" + e.id) || document.getElementById(n.sys.zoomid) || document.getElementById("asaizoomarea");
7367
- l && (a.w = l?.offsetWidth, a.h = l?.offsetHeight);
7366
+ const i = document.getElementById("poparea" + e.id) || document.getElementById("popmask" + e.id) || document.getElementById(n.sys.zoomid) || document.getElementById("asaizoomarea");
7367
+ i && (a.w = i?.offsetWidth, a.h = i?.offsetHeight);
7368
7368
  }
7369
7369
  });
7370
7370
  const s = q(() => {
7371
- let l = n.pop[e.id]?.popstyle || {};
7372
- return l = {
7371
+ let i = n.pop[e.id]?.popstyle || {};
7372
+ return i = {
7373
7373
  width: n.pop[e.id]?.width || "380px",
7374
7374
  height: n.pop[e.id]?.height || "auto",
7375
7375
  zIndex: n.pop[e.id].zindex + 1,
7376
- ...l
7377
- }, n.pop[e.id]?.nooverflow || (l.overflow = n.pop[e.id]?.boxoverflow || "hidden"), n.pop[e.id].full == 2 ? l = {
7376
+ ...i
7377
+ }, n.pop[e.id]?.nooverflow || (i.overflow = n.pop[e.id]?.boxoverflow || "hidden"), n.pop[e.id].full == 2 ? i = {
7378
7378
  transform: `translate(calc(-50% + ${window.innerWidth / 2}px),calc(-50% + ${window.innerHeight / 2}px))`,
7379
- ...l
7380
- } : n.pop[e.id].full == 1 ? l = {
7379
+ ...i
7380
+ } : n.pop[e.id].full == 1 ? i = {
7381
7381
  transform: `translate(calc(-50% + ${n?.sys?.zoomwidth / 2}px),calc(-50% + ${n?.sys?.zoomheight / 2}px))`,
7382
- ...l
7383
- } : a.w && a.h ? l = {
7382
+ ...i
7383
+ } : a.w && a.h ? i = {
7384
7384
  transform: `translate(calc(-50% + ${a.w / 2}px),calc(-50% + ${a.h / 2}px))`,
7385
- ...l
7386
- } : l = {
7385
+ ...i
7386
+ } : i = {
7387
7387
  transform: `translate(calc(-50% + ${window.innerWidth / 2}px),calc(-50% + ${window.innerHeight / 2}px))`,
7388
- ...l
7389
- }, l;
7388
+ ...i
7389
+ }, i;
7390
7390
  });
7391
- return (l, r) => {
7391
+ return (i, r) => {
7392
7392
  const d = ve("popresizezoom");
7393
- return i(n).pop[e.id].noresize ? (p(), m("div", {
7393
+ return l(n).pop[e.id].noresize ? (p(), m("div", {
7394
7394
  key: 0,
7395
7395
  class: "as-pop-area",
7396
7396
  style: Z(s.value),
7397
7397
  id: "pop" + t.id
7398
7398
  }, [
7399
- R(l.$slots, "default", {}, void 0, !0)
7400
- ], 12, Yu)) : i(n).pop[e.id].full == 2 ? G((p(), m("div", {
7399
+ R(i.$slots, "default", {}, void 0, !0)
7400
+ ], 12, Yu)) : l(n).pop[e.id].full == 2 ? G((p(), m("div", {
7401
7401
  key: 1,
7402
7402
  class: "as-pop-area",
7403
7403
  style: Z(s.value),
7404
7404
  id: "pop" + t.id
7405
7405
  }, [
7406
- R(l.$slots, "default", {}, void 0, !0)
7406
+ R(i.$slots, "default", {}, void 0, !0)
7407
7407
  ], 12, Xu)), [
7408
7408
  [d, { ujt: t.ujt, scale: 1 }]
7409
7409
  ]) : G((p(), m("div", {
@@ -7412,7 +7412,7 @@ const Ct = {
7412
7412
  style: Z(s.value),
7413
7413
  id: "pop" + t.id
7414
7414
  }, [
7415
- R(l.$slots, "default", {}, void 0, !0)
7415
+ R(i.$slots, "default", {}, void 0, !0)
7416
7416
  ], 12, Ku)), [
7417
7417
  [d, { ujt: t.ujt }]
7418
7418
  ]);
@@ -7427,14 +7427,14 @@ const Ct = {
7427
7427
  setup(t) {
7428
7428
  const e = t, { $global: n } = e.ujt;
7429
7429
  return (o, a) => {
7430
- const s = ve("drag"), l = ve("dragzoom");
7431
- return i(n).pop[e.id].notit ? (p(), m(E, { key: 0 }, [], 64)) : i(n).pop[e.id].nodrag ? (p(), m("div", {
7430
+ const s = ve("drag"), i = ve("dragzoom");
7431
+ return l(n).pop[e.id].notit ? (p(), m(E, { key: 0 }, [], 64)) : l(n).pop[e.id].nodrag ? (p(), m("div", {
7432
7432
  key: 1,
7433
7433
  class: "as-pop-drag-bar",
7434
7434
  id: "popbar" + t.id
7435
7435
  }, [
7436
7436
  R(o.$slots, "default", {}, void 0, !0)
7437
- ], 8, Zu)) : i(n).pop[e.id].full == 2 ? G((p(), m("div", {
7437
+ ], 8, Zu)) : l(n).pop[e.id].full == 2 ? G((p(), m("div", {
7438
7438
  key: 2,
7439
7439
  class: "as-pop-drag-bar",
7440
7440
  id: "popbar" + t.id
@@ -7445,14 +7445,14 @@ const Ct = {
7445
7445
  domarea: "pop" + t.id,
7446
7446
  dommask: "popmask" + t.id
7447
7447
  }]
7448
- ]) : i(n).pop[e.id].full == 1 ? G((p(), m("div", {
7448
+ ]) : l(n).pop[e.id].full == 1 ? G((p(), m("div", {
7449
7449
  key: 3,
7450
7450
  class: "as-pop-drag-bar",
7451
7451
  id: "popbar" + t.id
7452
7452
  }, [
7453
7453
  R(o.$slots, "default", {}, void 0, !0)
7454
7454
  ], 8, ed)), [
7455
- [l, {
7455
+ [i, {
7456
7456
  ujt: t.ujt,
7457
7457
  dom: "popbar" + t.id,
7458
7458
  domarea: "pop" + t.id
@@ -7468,7 +7468,7 @@ const Ct = {
7468
7468
  }, [
7469
7469
  R(o.$slots, "default", {}, void 0, !0)
7470
7470
  ], 8, td)), [
7471
- [l, {
7471
+ [i, {
7472
7472
  ujt: t.ujt,
7473
7473
  dom: "popbar" + t.id,
7474
7474
  domarea: "pop" + t.id
@@ -7493,7 +7493,7 @@ const Ct = {
7493
7493
  const e = t, { $global: n } = e.ujt;
7494
7494
  return e.id || (e.id = "popdefault"), n.pop[e.id] || (n.pop[e.id] = {}), e.full && !n.pop[e.id].full && (n.pop[e.id].full = e.full), e.maskstyle && !n.pop[e.id].maskstyle && (n.pop[e.id].maskstyle = e.maskstyle), e.popstyle && !n.pop[e.id].popstyle && (n.pop[e.id].popstyle = e.popstyle), $e(() => {
7495
7495
  n.pop[e.id] = {};
7496
- }), (o, a) => i(n).pop[e.id].stat ? (p(), X(Eu, {
7496
+ }), (o, a) => l(n).pop[e.id].stat ? (p(), X(Eu, {
7497
7497
  key: 0,
7498
7498
  ujt: t.ujt,
7499
7499
  id: t.id
@@ -7604,8 +7604,8 @@ const Ct = {
7604
7604
  }
7605
7605
  }
7606
7606
  ]), (a, s) => {
7607
- const l = U("PopBox");
7608
- return p(), X(l, {
7607
+ const i = U("PopBox");
7608
+ return p(), X(i, {
7609
7609
  ujt: t.ujt,
7610
7610
  id: t.id,
7611
7611
  full: t.full,
@@ -7615,14 +7615,14 @@ const Ct = {
7615
7615
  default: re(() => [
7616
7616
  R(a.$slots, "default", {}, () => [
7617
7617
  u("div", rd, [
7618
- u("p", null, v(i(o).lg("asai.confirmpassword")), 1),
7618
+ u("p", null, v(l(o).lg("asai.confirmpassword")), 1),
7619
7619
  u("p", null, [
7620
7620
  G(u("input", {
7621
7621
  type: "password",
7622
7622
  "show-password": "",
7623
- "onUpdate:modelValue": s[0] || (s[0] = (r) => i(n).pop[e.id].pass = r)
7623
+ "onUpdate:modelValue": s[0] || (s[0] = (r) => l(n).pop[e.id].pass = r)
7624
7624
  }, null, 512), [
7625
- [ue, i(n).pop[e.id].pass]
7625
+ [ue, l(n).pop[e.id].pass]
7626
7626
  ])
7627
7627
  ])
7628
7628
  ])
@@ -7645,8 +7645,8 @@ const Ct = {
7645
7645
  },
7646
7646
  setup(t) {
7647
7647
  ge((o) => ({
7648
- e16108b6: i(n).pop[e.id].zindex - 1,
7649
- v0e328372: i(n).pop[e.id].zindex
7648
+ e16108b6: l(n).pop[e.id].zindex - 1,
7649
+ v0e328372: l(n).pop[e.id].zindex
7650
7650
  }));
7651
7651
  const e = t, { $global: n } = e.ujt;
7652
7652
  return e.id || (e.id = "popdefaulttip"), n.pop[e.id] || (n.pop[e.id] = {}), n.pop[e.id]?.zindex || (n.pop[e.id].zindex = 101), n.pop[e.id]?.popstyle || (e?.popstyle ? n.pop[e.id].popstyle = e.popstyle : n.pop[e.id].popstyle = {
@@ -7657,16 +7657,16 @@ const Ct = {
7657
7657
  }), n.pop[e.id]?.maskstyle || (e?.maskstyle ? n.pop[e.id].maskstyle = e.maskstyle : n.pop[e.id].maskstyle = {}), $e(() => {
7658
7658
  n.pop[e.id] = {};
7659
7659
  }), (o, a) => (p(), m("div", {
7660
- class: J(i(n).pop[e.id]?.css + " as-pop-drop")
7660
+ class: J(l(n).pop[e.id]?.css + " as-pop-drop")
7661
7661
  }, [
7662
- i(n).pop[e.id].stat && i(n).pop[e.id].popstyle?.top != 0 ? R(o.$slots, "poparea", { key: 0 }, () => [
7662
+ l(n).pop[e.id].stat && l(n).pop[e.id].popstyle?.top != 0 ? R(o.$slots, "poparea", { key: 0 }, () => [
7663
7663
  u("div", pd, [
7664
7664
  u("div", {
7665
7665
  class: "as-pop-drop-pop",
7666
- style: Z(i(n).pop[e.id].popstyle)
7666
+ style: Z(l(n).pop[e.id].popstyle)
7667
7667
  }, [
7668
7668
  R(o.$slots, "pop", {}, () => [
7669
- se(v(i(n).pop[e.id].con || ""), 1)
7669
+ se(v(l(n).pop[e.id].con || ""), 1)
7670
7670
  ], !0)
7671
7671
  ], 4)
7672
7672
  ])
@@ -7674,33 +7674,33 @@ const Ct = {
7674
7674
  R(o.$slots, "desarea", {}, () => [
7675
7675
  u("div", {
7676
7676
  class: "as-pop-drop-des",
7677
- onPointerdown: a[0] || (a[0] = V((s) => i(n).pop[e.id].stat = i(n).pop[e.id].stat ? 0 : 1, ["stop"]))
7677
+ onPointerdown: a[0] || (a[0] = V((s) => l(n).pop[e.id].stat = l(n).pop[e.id].stat ? 0 : 1, ["stop"]))
7678
7678
  }, [
7679
7679
  R(o.$slots, "des", {}, () => [
7680
- se(v(i(n).pop[e.id].des || ""), 1)
7680
+ se(v(l(n).pop[e.id].des || ""), 1)
7681
7681
  ], !0)
7682
7682
  ], 32)
7683
7683
  ], !0),
7684
- i(n).pop[e.id].stat && i(n).pop[e.id].popstyle?.top == 0 ? R(o.$slots, "poparea", { key: 1 }, () => [
7684
+ l(n).pop[e.id].stat && l(n).pop[e.id].popstyle?.top == 0 ? R(o.$slots, "poparea", { key: 1 }, () => [
7685
7685
  u("div", {
7686
7686
  class: "as-pop-drop-area",
7687
7687
  id: "pop" + t.id
7688
7688
  }, [
7689
7689
  u("div", {
7690
7690
  class: "as-pop-drop-pop",
7691
- style: Z(i(n).pop[e.id].popstyle)
7691
+ style: Z(l(n).pop[e.id].popstyle)
7692
7692
  }, [
7693
7693
  R(o.$slots, "pop", {}, () => [
7694
- se(v(i(n).pop[e.id].con || ""), 1)
7694
+ se(v(l(n).pop[e.id].con || ""), 1)
7695
7695
  ], !0)
7696
7696
  ], 4)
7697
7697
  ], 8, fd)
7698
7698
  ], !0) : F("", !0),
7699
- i(n).pop[e.id].stat ? (p(), m("div", {
7699
+ l(n).pop[e.id].stat ? (p(), m("div", {
7700
7700
  key: 2,
7701
7701
  class: "as-pop-drop-mask",
7702
- style: Z(i(n).pop[e.id].maskstyle),
7703
- onPointerdown: a[1] || (a[1] = V((s) => i(n).pop[e.id].stat = 0, ["stop"]))
7702
+ style: Z(l(n).pop[e.id].maskstyle),
7703
+ onPointerdown: a[1] || (a[1] = V((s) => l(n).pop[e.id].stat = 0, ["stop"]))
7704
7704
  }, null, 36)) : F("", !0)
7705
7705
  ], 2));
7706
7706
  }
@@ -7717,8 +7717,8 @@ const Ct = {
7717
7717
  },
7718
7718
  setup(t) {
7719
7719
  ge((o) => ({
7720
- v1a9a90a0: i(n).pop[e.id].zindex - 1,
7721
- v0fc7b7d2: i(n).pop[e.id].zindex
7720
+ v1a9a90a0: l(n).pop[e.id].zindex - 1,
7721
+ v0fc7b7d2: l(n).pop[e.id].zindex
7722
7722
  }));
7723
7723
  const e = t, { $global: n } = e.ujt;
7724
7724
  return e.id || (e.id = "popdefaultmod"), n.pop[e.id] || (n.pop[e.id] = {}), n.pop[e.id]?.zindex || (n.pop[e.id].zindex = 101), n.pop[e.id]?.popstyle || (e?.popstyle ? n.pop[e.id].popstyle = e.popstyle : n.pop[e.id].popstyle = {
@@ -7731,15 +7731,15 @@ const Ct = {
7731
7731
  "background-color": "rgba(0, 0, 0, 0.02)"
7732
7732
  }), $e(() => {
7733
7733
  n.pop[e.id] = {};
7734
- }), (o, a) => i(n).pop[e.id].stat ? (p(), m(E, { key: 0 }, [
7734
+ }), (o, a) => l(n).pop[e.id].stat ? (p(), m(E, { key: 0 }, [
7735
7735
  u("div", {
7736
7736
  class: "as-pop-mod-mask",
7737
- style: Z(i(n).pop[e.id].maskstyle),
7738
- onPointerdown: a[0] || (a[0] = (s) => i(n).pop[e.id].stat = 0)
7737
+ style: Z(l(n).pop[e.id].maskstyle),
7738
+ onPointerdown: a[0] || (a[0] = (s) => l(n).pop[e.id].stat = 0)
7739
7739
  }, null, 36),
7740
7740
  u("div", {
7741
7741
  class: "as-pop-mod-pop",
7742
- style: Z(i(n).pop[e.id].popstyle)
7742
+ style: Z(l(n).pop[e.id].popstyle)
7743
7743
  }, [
7744
7744
  R(o.$slots, "default", {}, void 0, !0)
7745
7745
  ], 4)
@@ -7770,34 +7770,34 @@ const Ct = {
7770
7770
  bak: [],
7771
7771
  fn: a
7772
7772
  });
7773
- function a(l) {
7773
+ function a(i) {
7774
7774
  let r = null;
7775
- if (l === 1 ? n?.msg?.data?.length && (r = n.msg.data.shift(), r?.tmout && (clearTimeout(r.tmout), delete r.tmout), n.msg.bak.push(r), n.msg.bak.length > 100 && n.msg.bak.splice(80)) : (!n?.msg?.data?.length || !n?.msg?.data?.find(
7776
- (d) => d.con === l.con && d.tit === l.tit
7777
- )) && (l.tm = o.As.getTime(), n.msg.data.push(l), l.tmout = setTimeout(() => {
7775
+ if (i === 1 ? n?.msg?.data?.length && (r = n.msg.data.shift(), r?.tmout && (clearTimeout(r.tmout), delete r.tmout), n.msg.bak.push(r), n.msg.bak.length > 100 && n.msg.bak.splice(80)) : (!n?.msg?.data?.length || !n?.msg?.data?.find(
7776
+ (d) => d.con === i.con && d.tit === i.tit
7777
+ )) && (i.tm = o.As.getTime(), n.msg.data.push(i), i.tmout = setTimeout(() => {
7778
7778
  n.msg.fn(1);
7779
- }, l?.time || 3e3)), r)
7779
+ }, i?.time || 3e3)), r)
7780
7780
  return r;
7781
7781
  }
7782
7782
  function s() {
7783
- let l = n.msg.data.length;
7784
- for (; l--; )
7783
+ let i = n.msg.data.length;
7784
+ for (; i--; )
7785
7785
  a(1);
7786
7786
  }
7787
7787
  return je(() => {
7788
7788
  s();
7789
- }), (l, r) => i(n).msg.data?.length ? (p(), m("div", {
7789
+ }), (i, r) => l(n).msg.data?.length ? (p(), m("div", {
7790
7790
  key: 0,
7791
7791
  class: "as-pop-msg-area",
7792
- style: Z(i(n).msg.data?.maskstyle || {}),
7792
+ style: Z(l(n).msg.data?.maskstyle || {}),
7793
7793
  onPointerdown: r[0] || (r[0] = V(() => {
7794
7794
  }, ["stop"])),
7795
7795
  onPointerup: r[1] || (r[1] = V((d) => s(), ["stop"])),
7796
7796
  onTouchstart: r[2] || (r[2] = //@ts-ignore
7797
- (...d) => i(o).As.eStop && i(o).As.eStop(...d))
7797
+ (...d) => l(o).As.eStop && l(o).As.eStop(...d))
7798
7798
  }, [
7799
7799
  u("div", _d, [
7800
- (p(!0), m(E, null, ee(i(n).msg.data, (d) => (p(), m("div", $d, [
7800
+ (p(!0), m(E, null, ee(l(n).msg.data, (d) => (p(), m("div", $d, [
7801
7801
  u("div", {
7802
7802
  class: J("as-pop-msg" + (d?.type || ""))
7803
7803
  }, [
@@ -7809,7 +7809,7 @@ const Ct = {
7809
7809
  ]),
7810
7810
  u("div", {
7811
7811
  class: "as-pop-msg-btn",
7812
- title: i(n)?.lang?.asai?.clear
7812
+ title: l(n)?.lang?.asai?.clear
7813
7813
  }, "×", 8, xd)
7814
7814
  ], 36)) : F("", !0);
7815
7815
  }
@@ -7833,7 +7833,7 @@ const Ct = {
7833
7833
  setup(t) {
7834
7834
  const e = t, { $global: n, $fn: o } = e.ujt;
7835
7835
  if (!n.msg) {
7836
- let l = function(r) {
7836
+ let i = function(r) {
7837
7837
  let d = null;
7838
7838
  if (r === 1 ? n?.msg?.data?.length && (d = n.msg.data.shift()) : (!n?.msg?.data?.length || !n?.msg?.data?.find(
7839
7839
  (c) => c.con === r.con && c.tit === r.tit
@@ -7847,7 +7847,7 @@ const Ct = {
7847
7847
  data: [],
7848
7848
  bak: [],
7849
7849
  cur: {},
7850
- fn: l
7850
+ fn: i
7851
7851
  };
7852
7852
  }
7853
7853
  function a() {
@@ -7857,15 +7857,15 @@ const Ct = {
7857
7857
  a();
7858
7858
  }, n.msg.cur?.time || 3e3)), n.msg.cur) : null);
7859
7859
  if (!n.msg?.data?.length) {
7860
- const l = o.As.toObj(o.As.localGet(n.msg.key));
7861
- l && (n.msg.data = l);
7860
+ const i = o.As.toObj(o.As.localGet(n.msg.key));
7861
+ i && (n.msg.data = i);
7862
7862
  }
7863
- return (l, r) => s.value ? (p(), m("div", {
7863
+ return (i, r) => s.value ? (p(), m("div", {
7864
7864
  key: 0,
7865
7865
  class: "as-pop-msg-area",
7866
7866
  onPointerdown: r[0] || (r[0] = (d) => a()),
7867
7867
  onTouchstart: r[1] || (r[1] = //@ts-ignore
7868
- (...d) => i(o).As.eStop && i(o).As.eStop(...d)),
7868
+ (...d) => l(o).As.eStop && l(o).As.eStop(...d)),
7869
7869
  style: Z(s.value?.maskstyle || {})
7870
7870
  }, [
7871
7871
  u("div", {
@@ -7889,54 +7889,54 @@ const Ct = {
7889
7889
  maskstyle: {}
7890
7890
  },
7891
7891
  setup(t) {
7892
- ge((l) => ({
7893
- v6952d5a2: i(n).pop[e.id].zindex,
7894
- v66a99e8d: i(n).pop[e.id].zindex - 1
7892
+ ge((i) => ({
7893
+ v6952d5a2: l(n).pop[e.id].zindex,
7894
+ v66a99e8d: l(n).pop[e.id].zindex - 1
7895
7895
  }));
7896
7896
  const e = t, { $global: n, $fn: o } = e.ujt;
7897
7897
  e.id || (e.id = "popdefaulttip"), n.pop[e.id] || (n.pop[e.id] = {}), n.pop[e.id]?.zindex || (n.pop[e.id].zindex = 101), n.pop[e.id]?.popstyle || (e?.popstyle ? n.pop[e.id].popstyle = e.popstyle : n.pop[e.id].popstyle = {
7898
7898
  width: "auto",
7899
7899
  height: "auto"
7900
7900
  }), n.pop[e.id]?.maskstyle || (e?.maskstyle ? n.pop[e.id].maskstyle = e.maskstyle : n.pop[e.id].maskstyle = {});
7901
- function a(l) {
7902
- n.pop[e.id].popstyle.top = l.clientY + "px", n.pop[e.id].popstyle.left = l.clientX + "px", n.pop[e.id].popstyle.transform = `scale(${n.scale})`, n.pop[e.id].stat = n.pop[e.id].stat ? 0 : 1;
7901
+ function a(i) {
7902
+ n.pop[e.id].popstyle.top = i.clientY + "px", n.pop[e.id].popstyle.left = i.clientX + "px", n.pop[e.id].popstyle.transform = `scale(${n.scale})`, n.pop[e.id].stat = n.pop[e.id].stat ? 0 : 1;
7903
7903
  }
7904
7904
  function s() {
7905
7905
  n.pop[e.id].stat = 0;
7906
7906
  }
7907
7907
  return $e(() => {
7908
7908
  n.pop[e.id] = {};
7909
- }), (l, r) => (p(), m("div", {
7910
- class: J(i(n).pop[e.id]?.css + " as-pop-tip")
7909
+ }), (i, r) => (p(), m("div", {
7910
+ class: J(l(n).pop[e.id]?.css + " as-pop-tip")
7911
7911
  }, [
7912
7912
  u("div", {
7913
7913
  class: "as-pop-tip-des",
7914
7914
  onPointerdown: V(a, ["stop"])
7915
7915
  }, [
7916
- R(l.$slots, "des", {}, () => [
7917
- se(v(i(n).pop[e.id].des || ""), 1)
7916
+ R(i.$slots, "des", {}, () => [
7917
+ se(v(l(n).pop[e.id].des || ""), 1)
7918
7918
  ], !0)
7919
7919
  ], 32),
7920
- i(n).pop[e.id].stat ? (p(), X(Ae, {
7920
+ l(n).pop[e.id].stat ? (p(), X(Ae, {
7921
7921
  key: 0,
7922
7922
  to: "#teleportpopbox"
7923
7923
  }, [
7924
7924
  u("div", {
7925
7925
  class: "as-pop-tip-mask",
7926
- style: Z(i(n).pop[e.id].maskstyle),
7926
+ style: Z(l(n).pop[e.id].maskstyle),
7927
7927
  onPointerdown: r[1] || (r[1] = V((d) => s(), ["stop"])),
7928
7928
  onTouchstart: r[2] || (r[2] = //@ts-ignore
7929
- (...d) => i(o).As.eStop && i(o).As.eStop(...d))
7929
+ (...d) => l(o).As.eStop && l(o).As.eStop(...d))
7930
7930
  }, [
7931
7931
  u("div", {
7932
7932
  class: "as-pop-tip-pop",
7933
7933
  id: "pop" + t.id,
7934
- style: Z(i(n).pop[e.id].popstyle),
7934
+ style: Z(l(n).pop[e.id].popstyle),
7935
7935
  onPointerdown: r[0] || (r[0] = V(() => {
7936
7936
  }, ["stop"]))
7937
7937
  }, [
7938
- R(l.$slots, "pop", {}, () => [
7939
- se(v(i(n).pop[e.id].con || ""), 1)
7938
+ R(i.$slots, "pop", {}, () => [
7939
+ se(v(l(n).pop[e.id].con || ""), 1)
7940
7940
  ], !0)
7941
7941
  ], 44, Ud)
7942
7942
  ], 36)
@@ -7970,19 +7970,19 @@ const Ct = {
7970
7970
  R(o.$slots, "des", {}, void 0, !0)
7971
7971
  ]),
7972
7972
  pop: re(() => [
7973
- i(n).pop[t.id].stat ? (p(), m("div", Rd, [
7973
+ l(n).pop[t.id].stat ? (p(), m("div", Rd, [
7974
7974
  u("div", Fd, [
7975
7975
  R(o.$slots, "pop", {}, void 0, !0)
7976
7976
  ]),
7977
7977
  u("div", Wd, [
7978
7978
  e.fn ? (p(), m("div", {
7979
7979
  key: 0,
7980
- onPointerdown: a[0] || (a[0] = (l) => e.fn())
7981
- }, v(i(n)?.lang?.asai?.confirm), 33)) : F("", !0),
7980
+ onPointerdown: a[0] || (a[0] = (i) => e.fn())
7981
+ }, v(l(n)?.lang?.asai?.confirm), 33)) : F("", !0),
7982
7982
  u("div", {
7983
- onPointerdown: a[1] || (a[1] = (l) => i(n).pop[t.id].stat = 0),
7983
+ onPointerdown: a[1] || (a[1] = (i) => l(n).pop[t.id].stat = 0),
7984
7984
  class: "cur"
7985
- }, v(i(n)?.lang?.asai?.cancel), 33)
7985
+ }, v(l(n)?.lang?.asai?.cancel), 33)
7986
7986
  ])
7987
7987
  ])) : F("", !0)
7988
7988
  ]),
@@ -8004,22 +8004,22 @@ const Ct = {
8004
8004
  },
8005
8005
  setup(t) {
8006
8006
  const e = t, { $fn: n, $global: o } = e.ujt, { initUserToken: a } = n.useInitUser(e.ujt, "webserver");
8007
- return a(), (s, l) => {
8007
+ return a(), (s, i) => {
8008
8008
  const r = U("AsSvg");
8009
- return i(o).lang?.asai?.usercard ? (p(), m("div", Bd, [
8009
+ return l(o).lang?.asai?.usercard ? (p(), m("div", Bd, [
8010
8010
  u("div", {
8011
- onPointerdown: l[0] || (l[0] = (d) => i(n).sethash(i(o).sys?.router?.config?.login || "user/login"))
8011
+ onPointerdown: i[0] || (i[0] = (d) => l(n).sethash(l(o).sys?.router?.config?.login || "user/login"))
8012
8012
  }, [
8013
8013
  W(r, {
8014
8014
  color: "var(--cm8)",
8015
8015
  height: "26px",
8016
8016
  src: "asai/login"
8017
8017
  }),
8018
- se(" " + v(i(o).lang.asai.usercard?.login), 1)
8018
+ se(" " + v(l(o).lang.asai.usercard?.login), 1)
8019
8019
  ], 32),
8020
8020
  u("div", {
8021
8021
  class: "cur",
8022
- onPointerdown: l[1] || (l[1] = (d) => i(n).As.localInit()),
8022
+ onPointerdown: i[1] || (i[1] = (d) => l(n).As.localInit()),
8023
8023
  title: "ctrl+shift+r"
8024
8024
  }, [
8025
8025
  W(r, {
@@ -8027,7 +8027,7 @@ const Ct = {
8027
8027
  height: "26px",
8028
8028
  src: "asai/reset"
8029
8029
  }),
8030
- se(" " + v(i(o).lang.asai.usercard?.reset), 1)
8030
+ se(" " + v(l(o).lang.asai.usercard?.reset), 1)
8031
8031
  ], 32)
8032
8032
  ])) : F("", !0);
8033
8033
  };
@@ -8042,14 +8042,14 @@ const Ct = {
8042
8042
  },
8043
8043
  setup(t) {
8044
8044
  const e = t, { $db: n, $fn: o } = e.ujt, { delUser: a } = o.useUser(e);
8045
- return a(), (s, l) => (p(), m("div", Kd, [
8045
+ return a(), (s, i) => (p(), m("div", Kd, [
8046
8046
  u("div", Jd, [
8047
- i(n).channeluser.cur.msg ? (p(), m("h1", Gd, v(i(n).channeluser.cur.msg), 1)) : (p(), m("h1", Zd, v(i(o).lg("channeluser.ui.delok")), 1)),
8047
+ l(n).channeluser.cur.msg ? (p(), m("h1", Gd, v(l(n).channeluser.cur.msg), 1)) : (p(), m("h1", Zd, v(l(o).lg("channeluser.ui.delok")), 1)),
8048
8048
  u("div", Qd, [
8049
8049
  u("div", {
8050
8050
  class: "cur",
8051
- onPointerdown: l[0] || (l[0] = (r) => i(o).sethash("user/manage/list/"))
8052
- }, v(i(o).lg("channeluser.ui.list")), 33)
8051
+ onPointerdown: i[0] || (i[0] = (r) => l(o).sethash("user/manage/list/"))
8052
+ }, v(l(o).lg("channeluser.ui.list")), 33)
8053
8053
  ])
8054
8054
  ])
8055
8055
  ]));
@@ -8064,41 +8064,41 @@ const Ct = {
8064
8064
  },
8065
8065
  setup(t) {
8066
8066
  const e = t, { $db: n, $fn: o } = e.ujt, { userEdit: a } = o.useUser(e);
8067
- return (s, l) => (p(), m("div", np, [
8067
+ return (s, i) => (p(), m("div", np, [
8068
8068
  u("div", op, [
8069
8069
  R(s.$slots, "tit"),
8070
8070
  u("label", null, [
8071
- u("div", null, v(i(o).lg("channeluser.ui.pw")) + ":", 1),
8071
+ u("div", null, v(l(o).lg("channeluser.ui.pw")) + ":", 1),
8072
8072
  G(u("input", {
8073
8073
  type: "password",
8074
- "onUpdate:modelValue": l[0] || (l[0] = (r) => i(n).channeluser.cur.pw = r)
8074
+ "onUpdate:modelValue": i[0] || (i[0] = (r) => l(n).channeluser.cur.pw = r)
8075
8075
  }, null, 512), [
8076
- [ue, i(n).channeluser.cur.pw]
8076
+ [ue, l(n).channeluser.cur.pw]
8077
8077
  ])
8078
8078
  ]),
8079
8079
  u("label", null, [
8080
- u("div", null, v(i(o).lg("channeluser.ui.pwn")) + ":", 1),
8080
+ u("div", null, v(l(o).lg("channeluser.ui.pwn")) + ":", 1),
8081
8081
  G(u("input", {
8082
8082
  type: "password",
8083
- "onUpdate:modelValue": l[1] || (l[1] = (r) => i(n).channeluser.cur.pwn = r)
8083
+ "onUpdate:modelValue": i[1] || (i[1] = (r) => l(n).channeluser.cur.pwn = r)
8084
8084
  }, null, 512), [
8085
- [ue, i(n).channeluser.cur.pwn]
8085
+ [ue, l(n).channeluser.cur.pwn]
8086
8086
  ])
8087
8087
  ]),
8088
8088
  u("label", null, [
8089
- u("div", null, v(i(o).lg("channeluser.ui.pwnn")) + ":", 1),
8089
+ u("div", null, v(l(o).lg("channeluser.ui.pwnn")) + ":", 1),
8090
8090
  G(u("input", {
8091
8091
  type: "password",
8092
- "onUpdate:modelValue": l[2] || (l[2] = (r) => i(n).channeluser.cur.pwnn = r)
8092
+ "onUpdate:modelValue": i[2] || (i[2] = (r) => l(n).channeluser.cur.pwnn = r)
8093
8093
  }, null, 512), [
8094
- [ue, i(n).channeluser.cur.pwnn]
8094
+ [ue, l(n).channeluser.cur.pwnn]
8095
8095
  ])
8096
8096
  ]),
8097
8097
  u("div", ap, [
8098
8098
  u("div", {
8099
8099
  class: "cur",
8100
- onPointerdown: l[3] || (l[3] = (r) => i(a)())
8101
- }, v(i(o).lg("channeluser.ui.edit")), 33),
8100
+ onPointerdown: i[3] || (i[3] = (r) => l(a)())
8101
+ }, v(l(o).lg("channeluser.ui.edit")), 33),
8102
8102
  R(s.$slots, "btn")
8103
8103
  ])
8104
8104
  ])
@@ -8113,46 +8113,46 @@ const Ct = {
8113
8113
  ujt: {}
8114
8114
  },
8115
8115
  setup(t) {
8116
- const e = t, { $db: n, $global: o, $fn: a } = e.ujt, { editUser: s, initUser: l, cmLvList: r } = a.useUser(e);
8117
- return l(), (d, c) => (p(), m("div", ip, [
8116
+ const e = t, { $db: n, $global: o, $fn: a } = e.ujt, { editUser: s, initUser: i, cmLvList: r } = a.useUser(e);
8117
+ return i(), (d, c) => (p(), m("div", ip, [
8118
8118
  u("div", rp, [
8119
8119
  R(d.$slots, "tit"),
8120
8120
  u("label", null, [
8121
- u("div", null, v(i(a).lg("channeluser.data.us")) + ":", 1),
8122
- se(" " + v(i(n).channeluser.cur.us), 1)
8121
+ u("div", null, v(l(a).lg("channeluser.data.us")) + ":", 1),
8122
+ se(" " + v(l(n).channeluser.cur.us), 1)
8123
8123
  ]),
8124
- i(n).channeluser.cur.lv < i(o).user?.info?.lv || i(n).channeluser.cur.us === i(o).user?.info?.us ? (p(), m(E, { key: 0 }, [
8124
+ l(n).channeluser.cur.lv < l(o).user?.info?.lv || l(n).channeluser.cur.us === l(o).user?.info?.us ? (p(), m(E, { key: 0 }, [
8125
8125
  u("label", null, [
8126
- u("div", null, v(i(a).lg("channeluser.data.pw")) + ":", 1),
8126
+ u("div", null, v(l(a).lg("channeluser.data.pw")) + ":", 1),
8127
8127
  G(u("input", {
8128
8128
  type: "password",
8129
- "onUpdate:modelValue": c[0] || (c[0] = (f) => i(n).channeluser.cur.pw = f)
8129
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => l(n).channeluser.cur.pw = f)
8130
8130
  }, null, 512), [
8131
- [ue, i(n).channeluser.cur.pw]
8131
+ [ue, l(n).channeluser.cur.pw]
8132
8132
  ])
8133
8133
  ]),
8134
- i(n).channeluser.cur.us !== i(o).user?.info?.us ? (p(), m("label", cp, [
8135
- u("div", null, v(i(a).lg("channeluser.data.lv")) + ":", 1),
8134
+ l(n).channeluser.cur.us !== l(o).user?.info?.us ? (p(), m("label", cp, [
8135
+ u("div", null, v(l(a).lg("channeluser.data.lv")) + ":", 1),
8136
8136
  G(u("select", {
8137
- "onUpdate:modelValue": c[1] || (c[1] = (f) => i(n).channeluser.cur.lv = f)
8137
+ "onUpdate:modelValue": c[1] || (c[1] = (f) => l(n).channeluser.cur.lv = f)
8138
8138
  }, [
8139
- (p(!0), m(E, null, ee(i(r), (f) => (p(), m("option", {
8139
+ (p(!0), m(E, null, ee(l(r), (f) => (p(), m("option", {
8140
8140
  key: "lv" + f[0],
8141
8141
  value: +f[0]
8142
8142
  }, v(f[1]), 9, up))), 128))
8143
8143
  ], 512), [
8144
- [we, i(n).channeluser.cur.lv]
8144
+ [we, l(n).channeluser.cur.lv]
8145
8145
  ])
8146
8146
  ])) : F("", !0),
8147
8147
  u("div", dp, [
8148
8148
  u("div", {
8149
8149
  class: "cur",
8150
- onPointerdown: c[2] || (c[2] = (f) => i(s)())
8151
- }, v(i(a).lg("channeluser.ui.edit")), 33),
8150
+ onPointerdown: c[2] || (c[2] = (f) => l(s)())
8151
+ }, v(l(a).lg("channeluser.ui.edit")), 33),
8152
8152
  R(d.$slots, "btn")
8153
8153
  ])
8154
8154
  ], 64)) : (p(), m(E, { key: 1 }, [
8155
- u("div", pp, v(i(a).lg("channeluser.ui.nopower")), 1),
8155
+ u("div", pp, v(l(a).lg("channeluser.ui.nopower")), 1),
8156
8156
  u("div", fp, [
8157
8157
  R(d.$slots, "btn")
8158
8158
  ])
@@ -8170,16 +8170,16 @@ const Ct = {
8170
8170
  },
8171
8171
  setup(t) {
8172
8172
  const e = t, { $fn: n, $global: o } = e.ujt, { userExit: a } = n.useUser(e);
8173
- return a(), (s, l) => (p(), m("div", gp, [
8173
+ return a(), (s, i) => (p(), m("div", gp, [
8174
8174
  u("div", vp, [
8175
8175
  R(s.$slots, "tit"),
8176
8176
  u("div", yp, [
8177
8177
  u("div", {
8178
8178
  class: "cur",
8179
- onPointerdown: l[0] || (l[0] = (r) => i(n).sethash(
8180
- i(o).sys?.router?.config?.login || "user/login"
8179
+ onPointerdown: i[0] || (i[0] = (r) => l(n).sethash(
8180
+ l(o).sys?.router?.config?.login || "user/login"
8181
8181
  ))
8182
- }, v(i(n).lg("channeluser.ui.login")), 33),
8182
+ }, v(l(n).lg("channeluser.ui.login")), 33),
8183
8183
  R(s.$slots, "btn")
8184
8184
  ])
8185
8185
  ])
@@ -8204,8 +8204,8 @@ const Ct = {
8204
8204
  showtype: {}
8205
8205
  },
8206
8206
  setup(t) {
8207
- const e = t, { $fn: n, $db: o, $global: a } = e.ujt, { fetchContent: s, setPage: l, delUser: r } = n.useUser(e);
8208
- o.channeluser.fetch = s, o.channeluser.setpage = l, he(() => {
8207
+ const e = t, { $fn: n, $db: o, $global: a } = e.ujt, { fetchContent: s, setPage: i, delUser: r } = n.useUser(e);
8208
+ o.channeluser.fetch = s, o.channeluser.setpage = i, he(() => {
8209
8209
  s(0);
8210
8210
  }), o.channeluser.cmPageSize = q(() => Number(a.location.query?.ps) || o.channeluser.config?.ps || 5);
8211
8211
  function d(h) {
@@ -8216,7 +8216,7 @@ const Ct = {
8216
8216
  }
8217
8217
  const f = q(() => (o?.channeluser?.list || []).filter((h) => +h?.lv <= +a.user?.info?.lv));
8218
8218
  return (h, g) => {
8219
- const b = U("UserEditManage"), $ = U("PopBox"), y = U("ChannelListSearch"), _ = U("ChannelListPage");
8219
+ const _ = U("UserEditManage"), $ = U("PopBox"), y = U("ChannelListSearch"), b = U("ChannelListPage");
8220
8220
  return p(), m(E, null, [
8221
8221
  W($, {
8222
8222
  ujt: t.ujt,
@@ -8224,14 +8224,14 @@ const Ct = {
8224
8224
  full: 1
8225
8225
  }, {
8226
8226
  default: re(() => [
8227
- i(a).pop.popedituser.stat ? (p(), X(b, {
8227
+ l(a).pop.popedituser.stat ? (p(), X(_, {
8228
8228
  key: 0,
8229
8229
  ujt: t.ujt
8230
8230
  }, {
8231
8231
  btn: re(() => [
8232
8232
  u("div", {
8233
- onPointerdown: g[0] || (g[0] = (k) => i(a).pop.popedituser.stat = 0)
8234
- }, v(i(n).lg("asai.close")), 33)
8233
+ onPointerdown: g[0] || (g[0] = (k) => l(a).pop.popedituser.stat = 0)
8234
+ }, v(l(n).lg("asai.close")), 33)
8235
8235
  ]),
8236
8236
  _: 1
8237
8237
  }, 8, ["ujt"])) : F("", !0)
@@ -8249,25 +8249,25 @@ const Ct = {
8249
8249
  }, null, 8, ["ujt"])),
8250
8250
  u("div", wp, [
8251
8251
  u("div", jp, [
8252
- u("div", xp, v(i(a).lang.channeluser.data.us), 1),
8253
- u("div", Sp, v(i(a).lang.channeluser.data.lv), 1),
8254
- u("div", Pp, v(i(a).lang.asai.opt), 1)
8252
+ u("div", xp, v(l(a).lang.channeluser.data.us), 1),
8253
+ u("div", Sp, v(l(a).lang.channeluser.data.lv), 1),
8254
+ u("div", Pp, v(l(a).lang.asai.opt), 1)
8255
8255
  ]),
8256
8256
  (p(!0), m(E, null, ee(f.value, (k) => (p(), m("div", null, [
8257
8257
  u("div", Cp, v(k.us), 1),
8258
- u("div", Ap, v(i(a).lang.channeluser.lv[k.lv]), 1),
8259
- +k.lv < i(a).user?.info?.lv ? (p(), m("div", Op, [
8258
+ u("div", Ap, v(l(a).lang.channeluser.lv[k.lv]), 1),
8259
+ +k.lv < l(a).user?.info?.lv ? (p(), m("div", Op, [
8260
8260
  u("div", {
8261
8261
  onPointerdown: (O) => c(k)
8262
- }, v(i(n).lg("channeluser.ui.edit")), 41, Mp),
8262
+ }, v(l(n).lg("channeluser.ui.edit")), 41, Mp),
8263
8263
  u("div", {
8264
8264
  onPointerdown: (O) => d(k)
8265
- }, v(i(n).lg("channeluser.ui.del")), 41, Tp)
8265
+ }, v(l(n).lg("channeluser.ui.del")), 41, Tp)
8266
8266
  ])) : (p(), m("div", zp, "-"))
8267
8267
  ]))), 256))
8268
8268
  ]),
8269
- i(o).channeluser?.cmPageList?.length > 1 ? (p(), m("div", Lp, [
8270
- W(_, {
8269
+ l(o).channeluser?.cmPageList?.length > 1 ? (p(), m("div", Lp, [
8270
+ W(b, {
8271
8271
  ujt: t.ujt,
8272
8272
  opt: { channel: "channeluser", model: "asai", ty: 1 }
8273
8273
  }, null, 8, ["ujt"])
@@ -8287,35 +8287,35 @@ const Ct = {
8287
8287
  },
8288
8288
  setup(t) {
8289
8289
  const e = t, { $db: n, $fn: o, $global: a } = e.ujt, { userLogin: s } = o.useUser(e);
8290
- return (l, r) => (p(), m("div", Ep, [
8290
+ return (i, r) => (p(), m("div", Ep, [
8291
8291
  u("div", Dp, [
8292
- R(l.$slots, "tit"),
8293
- R(l.$slots, "form", {
8294
- opt: { userLogin: i(s) }
8292
+ R(i.$slots, "tit"),
8293
+ R(i.$slots, "form", {
8294
+ opt: { userLogin: l(s) }
8295
8295
  }, () => [
8296
8296
  u("label", null, [
8297
- u("div", null, v(i(a).lang.channeluser.data.us) + ":", 1),
8297
+ u("div", null, v(l(a).lang.channeluser.data.us) + ":", 1),
8298
8298
  G(u("input", {
8299
- "onUpdate:modelValue": r[0] || (r[0] = (d) => i(n).channeluser.cur.us = d)
8299
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => l(n).channeluser.cur.us = d)
8300
8300
  }, null, 512), [
8301
- [ue, i(n).channeluser.cur.us]
8301
+ [ue, l(n).channeluser.cur.us]
8302
8302
  ])
8303
8303
  ]),
8304
8304
  u("label", null, [
8305
- u("div", null, v(i(a).lang.channeluser.data.pw) + ":", 1),
8305
+ u("div", null, v(l(a).lang.channeluser.data.pw) + ":", 1),
8306
8306
  G(u("input", {
8307
8307
  type: "password",
8308
- "onUpdate:modelValue": r[1] || (r[1] = (d) => i(n).channeluser.cur.pw = d)
8308
+ "onUpdate:modelValue": r[1] || (r[1] = (d) => l(n).channeluser.cur.pw = d)
8309
8309
  }, null, 512), [
8310
- [ue, i(n).channeluser.cur.pw]
8310
+ [ue, l(n).channeluser.cur.pw]
8311
8311
  ])
8312
8312
  ]),
8313
8313
  u("div", Rp, [
8314
8314
  u("div", {
8315
8315
  class: "cur",
8316
- onPointerdown: r[2] || (r[2] = (d) => i(s)())
8317
- }, v(i(a).lang.channeluser.ui.login), 33),
8318
- R(l.$slots, "btn")
8316
+ onPointerdown: r[2] || (r[2] = (d) => l(s)())
8317
+ }, v(l(a).lang.channeluser.ui.login), 33),
8318
+ R(i.$slots, "btn")
8319
8319
  ])
8320
8320
  ])
8321
8321
  ])
@@ -8333,7 +8333,7 @@ const Ct = {
8333
8333
  setup(t) {
8334
8334
  const e = t, { $fn: n, $db: o, $global: a } = e.ujt, { initUserChannel: s } = n.useUser(e);
8335
8335
  s();
8336
- function l() {
8336
+ function i() {
8337
8337
  o.channeluser.cur.us = "", o.channeluser.cur.pw = "", o.channeluser.cur.lv = 0, a.pop.popadduser.stat = 1, a.pop.popadduser.tit = a.lang.channeluser.ui.add;
8338
8338
  }
8339
8339
  return (r, d) => {
@@ -8345,21 +8345,21 @@ const Ct = {
8345
8345
  full: 1
8346
8346
  }, {
8347
8347
  default: re(() => [
8348
- i(a).pop.popadduser?.stat ? (p(), X(c, {
8348
+ l(a).pop.popadduser?.stat ? (p(), X(c, {
8349
8349
  key: 0,
8350
8350
  ujt: t.ujt
8351
8351
  }, {
8352
8352
  btn: re(() => [
8353
8353
  u("div", {
8354
- onPointerdown: d[0] || (d[0] = (g) => i(a).pop.popadduser.stat = 0)
8355
- }, v(i(n).lg("asai.close")), 33)
8354
+ onPointerdown: d[0] || (d[0] = (g) => l(a).pop.popadduser.stat = 0)
8355
+ }, v(l(n).lg("asai.close")), 33)
8356
8356
  ]),
8357
8357
  _: 1
8358
8358
  }, 8, ["ujt"])) : F("", !0)
8359
8359
  ]),
8360
8360
  _: 1
8361
8361
  }, 8, ["ujt"]),
8362
- i(o).channeluser?.stat ? (p(), X(h, {
8362
+ l(o).channeluser?.stat ? (p(), X(h, {
8363
8363
  key: 0,
8364
8364
  ujt: t.ujt,
8365
8365
  showtype: t.showtype
@@ -8368,16 +8368,16 @@ const Ct = {
8368
8368
  u("div", Hp, [
8369
8369
  u("div", {
8370
8370
  class: "cur",
8371
- onPointerdown: d[1] || (d[1] = (g) => l())
8372
- }, v(i(n).lg("channeluser.ui.add")), 33),
8371
+ onPointerdown: d[1] || (d[1] = (g) => i())
8372
+ }, v(l(n).lg("channeluser.ui.add")), 33),
8373
8373
  t.showtype ? F("", !0) : (p(), m("div", {
8374
8374
  key: 0,
8375
- onPointerdown: d[2] || (d[2] = (g) => i(n).sethash(""))
8376
- }, v(i(n).lg("asai.index")), 33)),
8375
+ onPointerdown: d[2] || (d[2] = (g) => l(n).sethash(""))
8376
+ }, v(l(n).lg("asai.index")), 33)),
8377
8377
  t.showtype ? F("", !0) : (p(), m("div", {
8378
8378
  key: 1,
8379
- onPointerdown: d[3] || (d[3] = (g) => i(n).sethash("user/exit/"))
8380
- }, v(i(n).lg("channeluser.ui.exit")), 33))
8379
+ onPointerdown: d[3] || (d[3] = (g) => l(n).sethash("user/exit/"))
8380
+ }, v(l(n).lg("channeluser.ui.exit")), 33))
8381
8381
  ])
8382
8382
  ]),
8383
8383
  _: 2
@@ -8385,7 +8385,7 @@ const Ct = {
8385
8385
  t.showtype ? void 0 : {
8386
8386
  name: "tit",
8387
8387
  fn: re(() => [
8388
- u("h1", null, v(i(n).lg("channeluser.ui.list")), 1)
8388
+ u("h1", null, v(l(n).lg("channeluser.ui.list")), 1)
8389
8389
  ]),
8390
8390
  key: "0"
8391
8391
  }
@@ -8403,31 +8403,31 @@ const Ct = {
8403
8403
  },
8404
8404
  setup(t) {
8405
8405
  const e = t, { $db: n, $fn: o } = e.ujt, { userReg: a } = o.useUser(e);
8406
- return (s, l) => (p(), m("div", Bp, [
8406
+ return (s, i) => (p(), m("div", Bp, [
8407
8407
  u("div", Np, [
8408
8408
  R(s.$slots, "tit"),
8409
8409
  u("label", null, [
8410
- u("div", null, v(i(o).lg("channeluser.data.us")) + ":", 1),
8410
+ u("div", null, v(l(o).lg("channeluser.data.us")) + ":", 1),
8411
8411
  G(u("input", {
8412
- "onUpdate:modelValue": l[0] || (l[0] = (r) => i(n).channeluser.cur.us = r)
8412
+ "onUpdate:modelValue": i[0] || (i[0] = (r) => l(n).channeluser.cur.us = r)
8413
8413
  }, null, 512), [
8414
- [ue, i(n).channeluser.cur.us]
8414
+ [ue, l(n).channeluser.cur.us]
8415
8415
  ])
8416
8416
  ]),
8417
8417
  u("label", null, [
8418
- u("div", null, v(i(o).lg("channeluser.data.pw")) + ":", 1),
8418
+ u("div", null, v(l(o).lg("channeluser.data.pw")) + ":", 1),
8419
8419
  G(u("input", {
8420
8420
  type: "password",
8421
- "onUpdate:modelValue": l[1] || (l[1] = (r) => i(n).channeluser.cur.pw = r)
8421
+ "onUpdate:modelValue": i[1] || (i[1] = (r) => l(n).channeluser.cur.pw = r)
8422
8422
  }, null, 512), [
8423
- [ue, i(n).channeluser.cur.pw]
8423
+ [ue, l(n).channeluser.cur.pw]
8424
8424
  ])
8425
8425
  ]),
8426
8426
  u("div", Yp, [
8427
8427
  u("div", {
8428
8428
  class: "cur",
8429
- onPointerdown: l[2] || (l[2] = (r) => i(a)())
8430
- }, v(i(o).lg("channeluser.ui.reg")), 33),
8429
+ onPointerdown: i[2] || (i[2] = (r) => l(a)())
8430
+ }, v(l(o).lg("channeluser.ui.reg")), 33),
8431
8431
  R(s.$slots, "btn")
8432
8432
  ])
8433
8433
  ])
@@ -8443,47 +8443,47 @@ const Ct = {
8443
8443
  },
8444
8444
  setup(t) {
8445
8445
  const e = t, { $db: n, $fn: o } = e.ujt, { addUser: a, cmLvList: s } = o.useUser(e);
8446
- return n.channeluser.cur.us = "", n.channeluser.cur.pw = "", n.channeluser.cur.lv = 3, (l, r) => (p(), m("div", Jp, [
8446
+ return n.channeluser.cur.us = "", n.channeluser.cur.pw = "", n.channeluser.cur.lv = 3, (i, r) => (p(), m("div", Jp, [
8447
8447
  u("div", Gp, [
8448
- R(l.$slots, "tit"),
8448
+ R(i.$slots, "tit"),
8449
8449
  u("label", null, [
8450
- u("div", null, v(i(o).lg("channeluser.data.us")) + ":", 1),
8450
+ u("div", null, v(l(o).lg("channeluser.data.us")) + ":", 1),
8451
8451
  G(u("input", {
8452
8452
  autocomplete: "off",
8453
- "onUpdate:modelValue": r[0] || (r[0] = (d) => i(n).channeluser.cur.us = d)
8453
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => l(n).channeluser.cur.us = d)
8454
8454
  }, null, 512), [
8455
- [ue, i(n).channeluser.cur.us]
8455
+ [ue, l(n).channeluser.cur.us]
8456
8456
  ])
8457
8457
  ]),
8458
8458
  u("label", null, [
8459
- u("div", null, v(i(o).lg("channeluser.data.pw")) + ":", 1),
8459
+ u("div", null, v(l(o).lg("channeluser.data.pw")) + ":", 1),
8460
8460
  G(u("input", {
8461
8461
  autocomplete: "off",
8462
8462
  type: "password",
8463
- "onUpdate:modelValue": r[1] || (r[1] = (d) => i(n).channeluser.cur.pw = d)
8463
+ "onUpdate:modelValue": r[1] || (r[1] = (d) => l(n).channeluser.cur.pw = d)
8464
8464
  }, null, 512), [
8465
- [ue, i(n).channeluser.cur.pw]
8465
+ [ue, l(n).channeluser.cur.pw]
8466
8466
  ])
8467
8467
  ]),
8468
8468
  u("label", null, [
8469
- u("div", null, v(i(o).lg("channeluser.data.lv")) + ":", 1),
8469
+ u("div", null, v(l(o).lg("channeluser.data.lv")) + ":", 1),
8470
8470
  G(u("select", {
8471
- "onUpdate:modelValue": r[2] || (r[2] = (d) => i(n).channeluser.cur.lv = d)
8471
+ "onUpdate:modelValue": r[2] || (r[2] = (d) => l(n).channeluser.cur.lv = d)
8472
8472
  }, [
8473
- (p(!0), m(E, null, ee(i(s), (d) => (p(), m("option", {
8473
+ (p(!0), m(E, null, ee(l(s), (d) => (p(), m("option", {
8474
8474
  key: "lv" + d[0],
8475
8475
  value: +d[0]
8476
8476
  }, v(d[1]), 9, Zp))), 128))
8477
8477
  ], 512), [
8478
- [we, i(n).channeluser.cur.lv]
8478
+ [we, l(n).channeluser.cur.lv]
8479
8479
  ])
8480
8480
  ]),
8481
8481
  u("div", Qp, [
8482
8482
  u("div", {
8483
8483
  class: "cur",
8484
- onPointerdown: r[3] || (r[3] = (d) => i(a)())
8485
- }, v(i(o).lg("channeluser.ui.add")), 33),
8486
- R(l.$slots, "btn")
8484
+ onPointerdown: r[3] || (r[3] = (d) => l(a)())
8485
+ }, v(l(o).lg("channeluser.ui.add")), 33),
8486
+ R(i.$slots, "btn")
8487
8487
  ])
8488
8488
  ])
8489
8489
  ]));