@opentinyvue/vue-runtime 3.22.0 → 3.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -368,10 +368,10 @@ function wn(e, t, r) {
368
368
  }
369
369
  function xn(e, t, r) {
370
370
  }
371
- function En(e, t, r) {
372
- }
373
371
  function _n(e, t, r) {
374
372
  }
373
+ function En(e, t, r) {
374
+ }
375
375
  function lr(e) {
376
376
  return e.replace(On, "<").replace(Tn, ">");
377
377
  }
@@ -472,8 +472,8 @@ x.whiteList = ar();
472
472
  x.getDefaultWhiteList = ar;
473
473
  x.onTag = wn;
474
474
  x.onIgnoreTag = xn;
475
- x.onTagAttr = En;
476
- x.onIgnoreTagAttr = _n;
475
+ x.onTagAttr = _n;
476
+ x.onIgnoreTagAttr = En;
477
477
  x.safeAttrValue = Sn;
478
478
  x.escapeHtml = lr;
479
479
  x.escapeQuote = ur;
@@ -561,12 +561,12 @@ function jn(e, t) {
561
561
  continue;
562
562
  }
563
563
  else if (f = $n(e, l - 1), f === -1) {
564
- c = z.trim(e.slice(r, l)), c = Et(c), a(i, c), i = !1, r = l + 1;
564
+ c = z.trim(e.slice(r, l)), c = _t(c), a(i, c), i = !1, r = l + 1;
565
565
  continue;
566
566
  } else
567
567
  continue;
568
568
  }
569
- return r < e.length && (i === !1 ? a(e.slice(r)) : a(i, Et(z.trim(e.slice(r))))), z.trim(o.join(" "));
569
+ return r < e.length && (i === !1 ? a(e.slice(r)) : a(i, _t(z.trim(e.slice(r))))), z.trim(o.join(" "));
570
570
  }
571
571
  function zn(e, t) {
572
572
  for (; t < e.length; t++) {
@@ -592,7 +592,7 @@ function $n(e, t) {
592
592
  function Wn(e) {
593
593
  return e[0] === '"' && e[e.length - 1] === '"' || e[0] === "'" && e[e.length - 1] === "'";
594
594
  }
595
- function Et(e) {
595
+ function _t(e) {
596
596
  return Wn(e) ? e.substr(1, e.length - 2) : e;
597
597
  }
598
598
  Oe.parseTag = Ln;
@@ -639,23 +639,23 @@ gr.prototype.process = function(e) {
639
639
  var f = !1;
640
640
  r.stripIgnoreTagBody && (f = B.StripTagBody(r.stripIgnoreTagBody, i), i = f.onIgnoreTag);
641
641
  var p = Gn(e, function(v, d, h, m, g) {
642
- var E = {
642
+ var _ = {
643
643
  sourcePosition: v,
644
644
  position: d,
645
645
  isClosing: g,
646
646
  isWhite: Object.prototype.hasOwnProperty.call(n, h)
647
- }, S = o(h, m, E);
647
+ }, S = o(h, m, _);
648
648
  if (!de(S)) return S;
649
- if (E.isWhite) {
650
- if (E.isClosing)
649
+ if (_.isWhite) {
650
+ if (_.isClosing)
651
651
  return "</" + h + ">";
652
- var C = Jn(m), H = n[h], I = qn(C.html, function(y, b) {
653
- var M = me.indexOf(H, y) !== -1, F = s(h, y, b, M);
654
- return de(F) ? M ? (b = l(h, y, b, c), b ? y + '="' + b + '"' : y) : (F = a(h, y, b, M), de(F) ? void 0 : F) : F;
652
+ var P = Jn(m), H = n[h], O = qn(P.html, function(b, y) {
653
+ var M = me.indexOf(H, b) !== -1, F = s(h, b, y, M);
654
+ return de(F) ? M ? (y = l(h, b, y, c), y ? b + '="' + y + '"' : b) : (F = a(h, b, y, M), de(F) ? void 0 : F) : F;
655
655
  });
656
- return m = "<" + h, I && (m += " " + I), C.closing && (m += " /"), m += ">", m;
656
+ return m = "<" + h, O && (m += " " + O), P.closing && (m += " /"), m += ">", m;
657
657
  } else
658
- return S = i(h, m, E), de(S) ? u(m) : S;
658
+ return S = i(h, m, _), de(S) ? u(m) : S;
659
659
  }, u);
660
660
  return f && (p = f.remove(p)), p;
661
661
  };
@@ -819,17 +819,17 @@ var oo = /([:\-_]+(.))/g, io = /^moz([A-Z])/, ao = function(t) {
819
819
  return t.replace(oo, function(r, n, o, i) {
820
820
  return i ? o.toUpperCase() : o;
821
821
  }).replace(io, "Moz$1");
822
- }, _ = function(t, r, n) {
822
+ }, E = function(t, r, n) {
823
823
  var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
824
824
  t && r && n && t.addEventListener(r, n, o);
825
- }, R = function(t, r, n) {
825
+ }, I = function(t, r, n) {
826
826
  var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
827
827
  t && r && t.removeEventListener(r, n, o);
828
828
  }, so = function(t, r, n) {
829
- var o = function() {
830
- n && n.apply(this, arguments), R(t, r, o);
829
+ var o = function(s) {
830
+ n && n.call(this, s), I(t, r, o);
831
831
  };
832
- _(t, r, o);
832
+ E(t, r, o);
833
833
  }, ae = function(t) {
834
834
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
835
835
  if (t) {
@@ -849,7 +849,7 @@ var oo = /([:\-_]+(.))/g, io = /^moz([A-Z])/, ao = function(t) {
849
849
  return t.classList.remove(o);
850
850
  });
851
851
  }
852
- }, _t = function(t, r) {
852
+ }, Et = function(t, r) {
853
853
  if (!w) {
854
854
  if (!t || !r)
855
855
  return null;
@@ -866,7 +866,7 @@ var oo = /([:\-_]+(.))/g, io = /^moz([A-Z])/, ao = function(t) {
866
866
  }, lo = function(t, r) {
867
867
  if (!w) {
868
868
  var n = !lt(r), o;
869
- return n ? o = _t(t, "overflow-y") : o = _t(t, "overflow"), o.match(/(scroll|auto)/);
869
+ return n ? o = Et(t, "overflow-y") : o = Et(t, "overflow"), o ? o.match(/(scroll|auto)/) : null;
870
870
  }
871
871
  }, uo = function(t, r) {
872
872
  if (!w) {
@@ -982,7 +982,7 @@ var ho = 20, mo = ["top", "right", "bottom", "left", "width", "height", "size",
982
982
  }), t.length > 0;
983
983
  }, e.prototype.connect_ = function() {
984
984
  if (!(w || this.connected_)) {
985
- if (_(document, "transitionend", this.onTransitionEnd_), _(window, "resize", this.refresh), go) {
985
+ if (E(document, "transitionend", this.onTransitionEnd_), E(window, "resize", this.refresh), go) {
986
986
  this.mutationsObserver_ = new MutationObserver(this.refresh);
987
987
  var t = {
988
988
  attributes: !0,
@@ -992,11 +992,11 @@ var ho = 20, mo = ["top", "right", "bottom", "left", "width", "height", "size",
992
992
  };
993
993
  this.mutationsObserver_.observe(document, t);
994
994
  } else
995
- _(document, "DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0;
995
+ E(document, "DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0;
996
996
  this.connected_ = !0;
997
997
  }
998
998
  }, e.prototype.disconnect_ = function() {
999
- w || !this.connected_ || (R(document, "transitionend", this.onTransitionEnd_), R(window, "resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && R(document, "DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
999
+ w || !this.connected_ || (I(document, "transitionend", this.onTransitionEnd_), I(window, "resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && I(document, "DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
1000
1000
  }, e.prototype.onTransitionEnd_ = function(t) {
1001
1001
  var r = t.propertyName, n = r === void 0 ? "" : r, o = mo.some(function(i) {
1002
1002
  return !!~n.indexOf(i);
@@ -1026,19 +1026,19 @@ var ho = 20, mo = ["top", "right", "bottom", "left", "width", "height", "size",
1026
1026
  }, te = function(t) {
1027
1027
  var r = t && t.ownerDocument && t.ownerDocument.defaultView;
1028
1028
  return r || xe;
1029
- }, Er = Te(0, 0, 0, 0), Ee = function(t) {
1029
+ }, _r = Te(0, 0, 0, 0), _e = function(t) {
1030
1030
  return parseFloat(t) || 0;
1031
1031
  }, St = function(t) {
1032
1032
  for (var r = [], n = 1; n < arguments.length; n++)
1033
1033
  r[n - 1] = arguments[n];
1034
1034
  return r.reduce(function(o, i) {
1035
1035
  var s = t["border-".concat(i, "-width")];
1036
- return o + Ee(s);
1036
+ return o + _e(s);
1037
1037
  }, 0);
1038
1038
  }, yo = function(t) {
1039
1039
  for (var r = ["top", "right", "bottom", "left"], n = {}, o = 0, i = r; o < i.length; o++) {
1040
1040
  var s = i[o], a = t["padding-".concat(s)];
1041
- n[s] = Ee(a);
1041
+ n[s] = _e(a);
1042
1042
  }
1043
1043
  return n;
1044
1044
  }, wo = function(t) {
@@ -1046,24 +1046,24 @@ var ho = 20, mo = ["top", "right", "bottom", "left", "width", "height", "size",
1046
1046
  return Te(0, 0, r.width, r.height);
1047
1047
  }, xo = function(t) {
1048
1048
  return t === te(t).document.documentElement;
1049
- }, Eo = function(t) {
1049
+ }, _o = function(t) {
1050
1050
  var r = t.clientWidth, n = t.clientHeight;
1051
1051
  if (!n && !r)
1052
- return Er;
1053
- var o = te(t).getComputedStyle(t), i = yo(o), s = i.top + i.bottom, a = i.left + i.right, l = Ee(o.width), u = Ee(o.height);
1052
+ return _r;
1053
+ var o = te(t).getComputedStyle(t), i = yo(o), s = i.top + i.bottom, a = i.left + i.right, l = _e(o.width), u = _e(o.height);
1054
1054
  if (o.boxSizing === "border-box" && (Math.round(u + s) !== n && (u -= St(o, "top", "bottom") + s), Math.round(l + a) !== r && (l -= St(o, "left", "right") + a)), !xo(t)) {
1055
1055
  var c = Math.round(u + s) - n, f = Math.round(l + a) - r;
1056
1056
  Math.abs(c) !== 1 && (u -= c), Math.abs(f) !== 1 && (l -= f);
1057
1057
  }
1058
1058
  return Te(i.left, i.top, l, u);
1059
- }, _o = /* @__PURE__ */ function() {
1059
+ }, Eo = /* @__PURE__ */ function() {
1060
1060
  return typeof SVGGraphicsElement < "u" ? function(e) {
1061
1061
  return e instanceof te(e).SVGGraphicsElement;
1062
1062
  } : function(e) {
1063
1063
  return e instanceof te(e).SVGElement && typeof e.getBBox == "function";
1064
1064
  };
1065
1065
  }(), So = function(t) {
1066
- return w ? Er : _o(t) ? wo(t) : Eo(t);
1066
+ return w ? _r : Eo(t) ? wo(t) : _o(t);
1067
1067
  }, Oo = function(t) {
1068
1068
  var r = t.x, n = t.y, o = t.width, i = t.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, a = Object.create(s.prototype);
1069
1069
  return xr(a, {
@@ -1139,27 +1139,45 @@ var ho = 20, mo = ["top", "right", "bottom", "left", "width", "height", "size",
1139
1139
  }, e.prototype.clearActive = function() {
1140
1140
  this.activeObservations_.splice(0);
1141
1141
  }, e;
1142
- }(), _r = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new wr(), Sr = /* @__PURE__ */ function() {
1142
+ }(), Er = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new wr(), Sr = /* @__PURE__ */ function() {
1143
1143
  function e(t) {
1144
1144
  if (!(this instanceof e))
1145
1145
  throw new TypeError("[TINY-Resize] Cannot call a class as a function.");
1146
1146
  if (!arguments.length)
1147
1147
  throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
1148
1148
  var r = bo.getInstance(), n = new ko(t, r, this);
1149
- _r.set(this, n);
1149
+ Er.set(this, n);
1150
1150
  }
1151
1151
  return e;
1152
1152
  }();
1153
1153
  ["observe", "unobserve", "disconnect"].forEach(function(e) {
1154
1154
  Sr.prototype[e] = function() {
1155
1155
  var t;
1156
- return (t = _r.get(this))[e].apply(t, arguments);
1156
+ return (t = Er.get(this))[e].apply(t, arguments);
1157
1157
  };
1158
1158
  });
1159
1159
  (function() {
1160
1160
  return typeof xe.ResizeObserver < "u" ? xe.ResizeObserver : Sr;
1161
1161
  })();
1162
- var ft, Co = function(t, r, n) {
1162
+ var Co = "tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";
1163
+ Co.split("").reverse().join("");
1164
+ function Po(e) {
1165
+ return !w && (e.document.all || e.document.documentMode) && !e.crypto && e.msCrypto;
1166
+ }
1167
+ function Ro(e) {
1168
+ if (Po(e)) {
1169
+ e.crypto = e.msCrypto;
1170
+ var t = e.crypto.getRandomValues;
1171
+ e.crypto.getRandomValues = function(r) {
1172
+ for (var n = t.call(e.crypto, r), o = [], i = 0; i < r.length; i++)
1173
+ o[i] = n[i];
1174
+ return o;
1175
+ };
1176
+ }
1177
+ }
1178
+ var Io = globalThis;
1179
+ Ro(Io);
1180
+ var ft, Fo = function(t, r, n) {
1163
1181
  if (!(!t || !J(t) || !r || typeof r != "string")) {
1164
1182
  var o = r.split("."), i = t, s = o.length;
1165
1183
  if (s > 1) {
@@ -1170,7 +1188,7 @@ var ft, Co = function(t, r, n) {
1170
1188
  } else
1171
1189
  return i[o[0]];
1172
1190
  }
1173
- }, Po = function(t, r, n, o) {
1191
+ }, Mo = function(t, r, n, o) {
1174
1192
  if (!t || !J(t) || !r || typeof r != "string")
1175
1193
  return t;
1176
1194
  var i = r.split("."), s = t, a = i.length, l = i[0];
@@ -1186,19 +1204,19 @@ var ft, Co = function(t, r, n) {
1186
1204
  var i = function(a, l, u, c) {
1187
1205
  var f = {};
1188
1206
  return l.forEach(function(p) {
1189
- return Po(f, p, Co(a, p));
1207
+ return Mo(f, p, Fo(a, p));
1190
1208
  }), f;
1191
1209
  };
1192
1210
  return J(t) ? Array.isArray(r) ? i(t, r) : ft(n !== !1, {}, t) : t;
1193
- }, Ro = function(t) {
1211
+ }, Bo = function(t) {
1194
1212
  return Array.isArray(t) ? t.map(function(r) {
1195
1213
  return $e(r);
1196
1214
  }) : t;
1197
- }, Io = function(t, r, n, o, i) {
1215
+ }, No = function(t, r, n, o, i) {
1198
1216
  var s;
1199
1217
  if (n && o && (J(o) || (s = Array.isArray(o))))
1200
1218
  if (s)
1201
- s = !1, t[r] = Ro(o);
1219
+ s = !1, t[r] = Bo(o);
1202
1220
  else {
1203
1221
  var a = i && J(i) ? i : {};
1204
1222
  t[r] = ft(n, a, o);
@@ -1218,23 +1236,23 @@ ft = function() {
1218
1236
  if (l !== null && He(l))
1219
1237
  for (var u = Object.keys(l), c = 0, f = u; c < f.length; c++) {
1220
1238
  var p = f[c], v = i[p], d = l[p];
1221
- i !== d && Io(i, p, a, d, v);
1239
+ i !== d && No(i, p, a, d, v);
1222
1240
  }
1223
1241
  }
1224
1242
  return i;
1225
1243
  };
1226
- var _e, ct = function(t, r, n, o) {
1244
+ var Ee, ct = function(t, r, n, o) {
1227
1245
  if (ee(t) === ee(r)) {
1228
1246
  if (n = n !== !1, Array.isArray(o)) {
1229
1247
  var i = $e(t, o), s = $e(r, o);
1230
1248
  return ct(i, s, n);
1231
1249
  }
1232
- var a = _e(t, r, n), l = _e(r, t, n);
1250
+ var a = Ee(t, r, n), l = Ee(r, t, n);
1233
1251
  return a && l;
1234
1252
  }
1235
1253
  return !1;
1236
1254
  };
1237
- _e = function(t, r, n) {
1255
+ Ee = function(t, r, n) {
1238
1256
  if (!J(t)) {
1239
1257
  if (!Array.isArray(t))
1240
1258
  return t === r;
@@ -1251,7 +1269,7 @@ _e = function(t, r, n) {
1251
1269
  var f = c[u];
1252
1270
  if (st.call(r, f)) {
1253
1271
  var p = t[f], v = r[f];
1254
- n && He(p) || Array.isArray(p) ? a = _e(p, v, n) : a = p === v;
1272
+ n && He(p) || Array.isArray(p) ? a = Ee(p, v, n) : a = p === v;
1255
1273
  } else
1256
1274
  a = !1;
1257
1275
  if (a === !1)
@@ -1259,18 +1277,18 @@ _e = function(t, r, n) {
1259
1277
  }
1260
1278
  return a;
1261
1279
  };
1262
- var Fo = function() {
1280
+ var Do = function() {
1263
1281
  var t = 4294967296;
1264
1282
  return globalThis.crypto.getRandomValues(new Uint32Array(1))[0] / t;
1265
- }, Mo = function() {
1283
+ }, Lo = function() {
1266
1284
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 8;
1267
- return t + Fo().toString().substr(2, r);
1268
- }, Bo = {
1285
+ return t + Do().toString().substr(2, r);
1286
+ }, Vo = {
1269
1287
  Escape: 27
1270
1288
  }, Or = {
1271
1289
  fullMonths: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
1272
1290
  fullWeeks: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1273
- }, pt = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = pt[0], No = pt[1], Do = pt[2], ne = "[^\\s]+", Ot = function() {
1291
+ }, pt = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = pt[0], jo = pt[1], zo = pt[2], ne = "[^\\s]+", Ot = function() {
1274
1292
  }, Tr = function(t, r) {
1275
1293
  for (var n = [], o = 0, i = t.length; o < i; o++)
1276
1294
  n.push(t[o].substr(0, r));
@@ -1280,9 +1298,9 @@ var Fo = function() {
1280
1298
  var i = o[t].indexOf(n.charAt(0).toUpperCase() + n.substr(1).toLowerCase());
1281
1299
  ~i && (r.month = i);
1282
1300
  };
1283
- }, Lo = Or.fullWeeks, Vo = Or.fullMonths;
1284
- Tr(Vo, 3);
1285
- Tr(Lo, 3);
1301
+ }, Ho = Or.fullWeeks, $o = Or.fullMonths;
1302
+ Tr($o, 3);
1303
+ Tr(Ho, 3);
1286
1304
  var Z = {
1287
1305
  d: [j, function(e, t) {
1288
1306
  e.day = t;
@@ -1306,7 +1324,7 @@ var Z = {
1306
1324
  s: [j, function(e, t) {
1307
1325
  e.second = t;
1308
1326
  }],
1309
- yyyy: [Do, function(e, t) {
1327
+ yyyy: [zo, function(e, t) {
1310
1328
  e.year = t;
1311
1329
  }],
1312
1330
  S: ["\\d", function(e, t) {
@@ -1315,7 +1333,7 @@ var Z = {
1315
1333
  SS: ["\\d{2}", function(e, t) {
1316
1334
  e.millisecond = t * 10;
1317
1335
  }],
1318
- SSS: [No, function(e, t) {
1336
+ SSS: [jo, function(e, t) {
1319
1337
  e.millisecond = t;
1320
1338
  }],
1321
1339
  D: [j, Ot],
@@ -1330,20 +1348,20 @@ var Z = {
1330
1348
  var r = String(t).match(/([+-]|\d\d)/gi), n;
1331
1349
  r && (n = Number(r[1] * 60) + parseInt(r[2], 10), e.timezoneOffset = r[0] === "+" ? n : -n);
1332
1350
  }]
1333
- }, jo = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
1351
+ }, Wo = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
1334
1352
  Z.dddd = Z.ddd;
1335
- jo.forEach(function(e) {
1353
+ Wo.forEach(function(e) {
1336
1354
  e === "MM" ? Z[e] = Z[e.substr(0, 1)] : Z[e] = Z[e.substr(0, 1).toLowerCase()];
1337
1355
  });
1338
- var zo = function() {
1356
+ var Uo = function() {
1339
1357
  return w ? function(e) {
1340
1358
  setTimeout(function() {
1341
1359
  return e(Date.now());
1342
1360
  }, 1e3 / 60);
1343
1361
  } : window.requestAnimationFrame.bind(window);
1344
1362
  }(), We = function(t) {
1345
- t.scheduled || (t.scheduled = !0, t.raf(Ho.bind(null, t)));
1346
- }, Ho = function(t) {
1363
+ t.scheduled || (t.scheduled = !0, t.raf(Go.bind(null, t)));
1364
+ }, Go = function(t) {
1347
1365
  var r = t.reads, n = t.writes, o;
1348
1366
  try {
1349
1367
  t.runTasks(r), t.runTasks(n);
@@ -1358,12 +1376,12 @@ var zo = function() {
1358
1376
  }, At = function(t, r) {
1359
1377
  var n = t.indexOf(r);
1360
1378
  return !!~n && !!t.splice(n, 1);
1361
- }, $o = function(t, r) {
1379
+ }, qo = function(t, r) {
1362
1380
  for (var n in r)
1363
1381
  Object.hasOwnProperty.call(r, n) && (t[n] = r[n]);
1364
- }, Wo = /* @__PURE__ */ function() {
1382
+ }, Jo = /* @__PURE__ */ function() {
1365
1383
  function e() {
1366
- nt(this, e), this.reads = [], this.writes = [], this.raf = zo.bind(window);
1384
+ nt(this, e), this.reads = [], this.writes = [], this.raf = Uo.bind(window);
1367
1385
  }
1368
1386
  return ot(e, [{
1369
1387
  key: "runTasks",
@@ -1392,10 +1410,10 @@ var zo = function() {
1392
1410
  value: function(r) {
1393
1411
  if (!r || ye(r) !== "object") throw new Error("[TINY][FastDom] expected object");
1394
1412
  var n = Object.create(this);
1395
- return $o(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
1413
+ return qo(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
1396
1414
  }
1397
1415
  }]);
1398
- }(), Ar = new Wo(), kt = function(t, r, n, o) {
1416
+ }(), Ar = new Jo(), kt = function(t, r, n, o) {
1399
1417
  var i = t._tasks, s = t.fastdom, a, l = new Promise(function(u, c) {
1400
1418
  a = s[r](function() {
1401
1419
  i.delete(l);
@@ -1407,7 +1425,7 @@ var zo = function() {
1407
1425
  }, o);
1408
1426
  });
1409
1427
  return i.set(l, a), l;
1410
- }, Uo = {
1428
+ }, Xo = {
1411
1429
  initialize: function() {
1412
1430
  this._tasks = /* @__PURE__ */ new Map();
1413
1431
  },
@@ -1422,14 +1440,14 @@ var zo = function() {
1422
1440
  this.fastdom.clear(n), r.delete(t);
1423
1441
  }
1424
1442
  };
1425
- Ar.extend(Uo);
1426
- var Go = function(t, r) {
1443
+ Ar.extend(Xo);
1444
+ var Yo = function(t, r) {
1427
1445
  for (var n = r.length; n--; )
1428
1446
  t.clear(r[n]), r.splice(n, 1);
1429
- }, qo = function(t, r) {
1447
+ }, Zo = function(t, r) {
1430
1448
  var n = t.indexOf(r);
1431
1449
  return !!~n && !!t.splice(n, 1);
1432
- }, Jo = /* @__PURE__ */ function() {
1450
+ }, Ko = /* @__PURE__ */ function() {
1433
1451
  function e(t) {
1434
1452
  nt(this, e), this.fastdom = t, this.tasks = [];
1435
1453
  }
@@ -1452,30 +1470,30 @@ var Go = function(t, r) {
1452
1470
  }, {
1453
1471
  key: "clear",
1454
1472
  value: function(r) {
1455
- return arguments.length || Go(this.fastdom, this.tasks), qo(this.tasks, r), this.fastdom.clear(r);
1473
+ return arguments.length || Yo(this.fastdom, this.tasks), Zo(this.tasks, r), this.fastdom.clear(r);
1456
1474
  }
1457
1475
  }]);
1458
- }(), Xo = {
1476
+ }(), Qo = {
1459
1477
  sandbox: function() {
1460
- return new Jo(this.fastdom);
1478
+ return new Ko(this.fastdom);
1461
1479
  }
1462
1480
  };
1463
- Ar.extend(Xo);
1464
- var Yo = ["fullscreenElement", "fullscreenEnabled", "requestFullscreen", "exitFullscreen", "fullscreenchange", "fullscreenerror"], Zo = ["mozFullScreenElement", "mozFullScreenEnabled", "mozRequestFullScreen", "mozCancelFullScreen", "mozfullscreenchange", "mozfullscreenerror"], Ko = ["webkitFullscreenElement", "webkitFullscreenEnabled", "webkitRequestFullscreen", "webkitExitFullscreen", "webkitfullscreenchange", "webkitfullscreenerror"], Qo = ["msFullscreenElement", "msFullscreenEnabled", "msRequestFullscreen", "msExitFullscreen", "MSFullscreenChange", "MSFullscreenError"], Ce = [Yo, Ko, Zo, Qo], L = typeof window < "u" && typeof window.document < "u" ? window.document : {}, T = null, ei = function() {
1481
+ Ar.extend(Qo);
1482
+ var ei = ["fullscreenElement", "fullscreenEnabled", "requestFullscreen", "exitFullscreen", "fullscreenchange", "fullscreenerror"], ti = ["mozFullScreenElement", "mozFullScreenEnabled", "mozRequestFullScreen", "mozCancelFullScreen", "mozfullscreenchange", "mozfullscreenerror"], ri = ["webkitFullscreenElement", "webkitFullscreenEnabled", "webkitRequestFullscreen", "webkitExitFullscreen", "webkitfullscreenchange", "webkitfullscreenerror"], ni = ["msFullscreenElement", "msFullscreenEnabled", "msRequestFullscreen", "msExitFullscreen", "MSFullscreenChange", "MSFullscreenError"], Ce = [ei, ri, ti, ni], L = typeof window < "u" && typeof window.document < "u" ? window.document : {}, A = null, oi = function() {
1465
1483
  if (!w)
1466
1484
  for (var t = 0, r = Ce.length; t < r; t++) {
1467
1485
  var n = Ce[t];
1468
1486
  if (n && n[1] in L) {
1469
- for (T = {}, t = 0; t < n.length; t++)
1470
- T[Ce[0][t]] = n[t];
1487
+ for (A = {}, t = 0; t < n.length; t++)
1488
+ A[Ce[0][t]] = n[t];
1471
1489
  return;
1472
1490
  }
1473
1491
  }
1474
1492
  };
1475
- ei();
1493
+ oi();
1476
1494
  var Ct = {
1477
- change: T && T.fullscreenchange,
1478
- error: T && T.fullscreenerror
1495
+ change: A && A.fullscreenchange,
1496
+ error: A && A.fullscreenerror
1479
1497
  }, Ue = {
1480
1498
  request: function(t, r) {
1481
1499
  var n = this;
@@ -1483,8 +1501,8 @@ var Ct = {
1483
1501
  var s = function() {
1484
1502
  n.off("change", s), o();
1485
1503
  };
1486
- if (n.on("change", s), t = t || (w ? null : L.documentElement), t && T && t[T.requestFullscreen]) {
1487
- var a = t[T.requestFullscreen](r);
1504
+ if (n.on("change", s), t = t || (w ? null : L.documentElement), t && A && t[A.requestFullscreen]) {
1505
+ var a = t[A.requestFullscreen](r);
1488
1506
  a instanceof Promise && a.then(s).catch(i);
1489
1507
  } else
1490
1508
  i(new Error("Fullscreen API not supported or element is null."));
@@ -1500,8 +1518,8 @@ var Ct = {
1500
1518
  var o = function() {
1501
1519
  t.off("change", o), r();
1502
1520
  };
1503
- if (t.on("change", o), !w && T && L[T.exitFullscreen]) {
1504
- var i = L[T.exitFullscreen]();
1521
+ if (t.on("change", o), !w && A && L[A.exitFullscreen]) {
1522
+ var i = L[A.exitFullscreen]();
1505
1523
  i instanceof Promise && i.then(o).catch(n);
1506
1524
  } else
1507
1525
  n(new Error("Fullscreen API not supported."));
@@ -1518,13 +1536,13 @@ var Ct = {
1518
1536
  },
1519
1537
  on: function(t, r) {
1520
1538
  var n = Ct[t];
1521
- n && !w && _(L, n, r);
1539
+ n && !w && E(L, n, r);
1522
1540
  },
1523
1541
  off: function(t, r) {
1524
1542
  var n = Ct[t];
1525
- n && !w && R(L, n, r);
1543
+ n && !w && I(L, n, r);
1526
1544
  },
1527
- raw: T || {}
1545
+ raw: A || {}
1528
1546
  };
1529
1547
  w ? Object.defineProperties(Ue, {
1530
1548
  isFullscreen: {
@@ -1547,19 +1565,19 @@ w ? Object.defineProperties(Ue, {
1547
1565
  }) : Object.defineProperties(Ue, {
1548
1566
  isFullscreen: {
1549
1567
  get: function() {
1550
- return !!L[T && T.fullscreenElement];
1568
+ return !!L[A && A.fullscreenElement];
1551
1569
  }
1552
1570
  },
1553
1571
  element: {
1554
1572
  enumerable: !0,
1555
1573
  get: function() {
1556
- return L[T && T.fullscreenElement];
1574
+ return L[A && A.fullscreenElement];
1557
1575
  }
1558
1576
  },
1559
1577
  isEnabled: {
1560
1578
  enumerable: !0,
1561
1579
  get: function() {
1562
- return !!L[T && T.fullscreenEnabled];
1580
+ return !!L[A && A.fullscreenEnabled];
1563
1581
  }
1564
1582
  }
1565
1583
  });
@@ -1584,19 +1602,19 @@ function fe(e, t, r, n) {
1584
1602
  }
1585
1603
  return s._cancel = a, s;
1586
1604
  }
1587
- function ti(e, t, r) {
1605
+ function ii(e, t, r) {
1588
1606
  return r === void 0 ? fe(e, t, !1) : fe(e, r, t !== !1);
1589
1607
  }
1590
- var U = null, ri = "ws://localhost", Pt = [27197, 27198, 27199], Pe = 0, G, kr = 1e3, Cr = 3e4, ni = 0, dt = {}, Pr, oi = 20 * 1e3, Rt = null, Rr = null, Ge = {}, Ir = {}, P = {}, Fr = function() {
1608
+ var U = null, ai = "ws://localhost", Pt = [27197, 27198, 27199], Pe = 0, G, kr = 1e3, Cr = 3e4, si = 0, dt = {}, Pr, li = 20 * 1e3, Rt = null, Rr = null, Ge = {}, Ir = {}, R = {}, Fr = function() {
1591
1609
  }, Mr = function() {
1592
1610
  }, Br = function(t) {
1593
1611
  clearTimeout(Ge[t]), delete dt[t], delete Ge[t];
1594
- }, ii = function() {
1612
+ }, ui = function() {
1595
1613
  Rr = setTimeout(function() {
1596
1614
  U.close();
1597
1615
  }, 5e3);
1598
1616
  }, V = function(t, r) {
1599
- var n = ni++;
1617
+ var n = si++;
1600
1618
  if (n = String(n), t.cid = n, !G) {
1601
1619
  r && setTimeout(r, 0, {
1602
1620
  ok: !1,
@@ -1617,10 +1635,10 @@ var U = null, ri = "ws://localhost", Pt = [27197, 27198, 27199], Pe = 0, G, kr =
1617
1635
  }, function() {
1618
1636
  Nr();
1619
1637
  }) : clearTimeout(Rt);
1620
- }, oi);
1621
- }, ai = function(t) {
1638
+ }, li);
1639
+ }, fi = function(t) {
1622
1640
  G = !0, Nr(), clearTimeout(Pr), clearTimeout(Rr), Mr(t);
1623
- }, si = function(t) {
1641
+ }, ci = function(t) {
1624
1642
  var r = t.data;
1625
1643
  if (typeof r == "string" && (r = r.replace(/^\d+/, ""), !!r)) {
1626
1644
  try {
@@ -1637,24 +1655,24 @@ var U = null, ri = "ws://localhost", Pt = [27197, 27198, 27199], Pe = 0, G, kr =
1637
1655
  ok: r.ok
1638
1656
  }), Br(o));
1639
1657
  } else
1640
- r.type === "eSpace-ctrl-connection-success" ? ai(r.data) : U.close();
1658
+ r.type === "eSpace-ctrl-connection-success" ? fi(r.data) : U.close();
1641
1659
  }
1642
- }, li = function() {
1643
- U.onopen = ii, U.onclose = ui, U.onmessage = si;
1660
+ }, pi = function() {
1661
+ U.onopen = ui, U.onclose = di, U.onmessage = ci;
1644
1662
  }, Dr = function(t) {
1645
1663
  Pr = setTimeout(function() {
1646
- Pe >= Pt.length && (Pe = 0), U = new WebSocket(ri + ":" + Pt[Pe++]), li();
1664
+ Pe >= Pt.length && (Pe = 0), U = new WebSocket(ai + ":" + Pt[Pe++]), pi();
1647
1665
  }, t || 0);
1648
- }, ui = function() {
1666
+ }, di = function() {
1649
1667
  (G || typeof G > "u") && (G = !1, Fr()), Dr(kr);
1650
1668
  };
1651
- P.init = function(e) {
1669
+ R.init = function(e) {
1652
1670
  e && (Cr = e.timeout || 3e4, kr = e.pollingInterval || 0), Dr();
1653
1671
  };
1654
- P.ready = function(e) {
1672
+ R.ready = function(e) {
1655
1673
  Mr = e;
1656
1674
  };
1657
- P.error = function(e) {
1675
+ R.error = function(e) {
1658
1676
  Fr = e;
1659
1677
  };
1660
1678
  var It = function(t, r, n) {
@@ -1666,10 +1684,10 @@ var It = function(t, r, n) {
1666
1684
  }
1667
1685
  return o;
1668
1686
  };
1669
- P.on = function(e, t) {
1687
+ R.on = function(e, t) {
1670
1688
  Ir[e] = t;
1671
1689
  };
1672
- P.getUserInfo = function(e, t) {
1690
+ R.getUserInfo = function(e, t) {
1673
1691
  var r = function(o, i) {
1674
1692
  if (o)
1675
1693
  return t(o);
@@ -1701,14 +1719,14 @@ P.getUserInfo = function(e, t) {
1701
1719
  param: e
1702
1720
  }, r);
1703
1721
  };
1704
- P.subscribeUserStatus = function(e, t) {
1722
+ R.subscribeUserStatus = function(e, t) {
1705
1723
  Array.isArray(e) && e.forEach(function(r) {
1706
1724
  }), V({
1707
1725
  type: "subscribe-user-status",
1708
1726
  param: e
1709
1727
  }, t);
1710
1728
  };
1711
- P.eSpaceCall = function(e, t, r) {
1729
+ R.eSpaceCall = function(e, t, r) {
1712
1730
  V({
1713
1731
  type: "espace-call",
1714
1732
  param: {
@@ -1717,7 +1735,7 @@ P.eSpaceCall = function(e, t, r) {
1717
1735
  }
1718
1736
  }, r);
1719
1737
  };
1720
- P.eSpaceCallByAccount = function(e, t) {
1738
+ R.eSpaceCallByAccount = function(e, t) {
1721
1739
  V({
1722
1740
  type: "espace-call",
1723
1741
  param: {
@@ -1725,7 +1743,7 @@ P.eSpaceCallByAccount = function(e, t) {
1725
1743
  }
1726
1744
  }, t);
1727
1745
  };
1728
- P.eSpaceCallByNumber = function(e, t) {
1746
+ R.eSpaceCallByNumber = function(e, t) {
1729
1747
  V({
1730
1748
  type: "espace-call",
1731
1749
  param: {
@@ -1733,44 +1751,44 @@ P.eSpaceCallByNumber = function(e, t) {
1733
1751
  }
1734
1752
  }, t);
1735
1753
  };
1736
- P.showImDialog = function(e, t) {
1754
+ R.showImDialog = function(e, t) {
1737
1755
  V({
1738
1756
  type: "show-espace-im-dialog",
1739
1757
  param: e
1740
1758
  }, t);
1741
1759
  };
1742
- P.showGroupDialog = function(e, t) {
1760
+ R.showGroupDialog = function(e, t) {
1743
1761
  V({
1744
1762
  type: "show-espace-im-group-dialog",
1745
1763
  param: e
1746
1764
  }, t);
1747
1765
  };
1748
- P.addContactList = function(e, t) {
1766
+ R.addContactList = function(e, t) {
1749
1767
  V({
1750
1768
  type: "add-contact-list",
1751
1769
  param: e
1752
1770
  }, t);
1753
1771
  };
1754
1772
  if (w || !window.WebSocket) {
1755
- var fi = function() {
1773
+ var vi = function() {
1756
1774
  };
1757
- for (var Re in P)
1758
- if (Object.prototype.hasOwnProperty.call(P, Re)) {
1759
- var ci = P[Re];
1760
- typeof ci == "function" && (P[Re] = fi);
1775
+ for (var Re in R)
1776
+ if (Object.prototype.hasOwnProperty.call(R, Re)) {
1777
+ var hi = R[Re];
1778
+ typeof hi == "function" && (R[Re] = vi);
1761
1779
  }
1762
1780
  }
1763
1781
  var ve = {}, oe = {
1764
1782
  leave: "v-modal-leave",
1765
1783
  enter: "v-modal-enter",
1766
1784
  modal: "v-modal"
1767
- }, pi = function(t, r) {
1785
+ }, mi = function(t, r) {
1768
1786
  for (var n = t.length - 1; n >= 0; n--)
1769
1787
  if (t[n].id === r) {
1770
1788
  t.splice(n, 1);
1771
1789
  break;
1772
1790
  }
1773
- }, qe, k = {
1791
+ }, qe, C = {
1774
1792
  step: 2,
1775
1793
  zIndex: 2e3,
1776
1794
  globalScroll: !1,
@@ -1804,8 +1822,8 @@ var ve = {}, oe = {
1804
1822
  t && r && (ve[t] = r);
1805
1823
  },
1806
1824
  nextZIndex: function() {
1807
- var t = k.zIndex;
1808
- return k.zIndex += k.step, t;
1825
+ var t = C.zIndex;
1826
+ return C.zIndex += C.step, t;
1809
1827
  },
1810
1828
  /** 打开遮罩层, 仅vue-popup.ts中使用。 dom = vm.$el 或者 undefined (appendtoBody时) */
1811
1829
  openModal: function(t, r, n, o, i) {
@@ -1817,7 +1835,7 @@ var ve = {}, oe = {
1817
1835
  return;
1818
1836
  }
1819
1837
  var u = qe();
1820
- if (ae(u, oe.modal), this.modalFade && !k.hasModal && ae(u, oe.enter), o) {
1838
+ if (ae(u, oe.modal), this.modalFade && !C.hasModal && ae(u, oe.enter), o) {
1821
1839
  var c = o.trim().split(/\s+/);
1822
1840
  c.forEach(function(p) {
1823
1841
  return ae(u, p);
@@ -1836,9 +1854,9 @@ var ve = {}, oe = {
1836
1854
  },
1837
1855
  /** 点击背景遮罩层时,调用栈顶的popup,调用它的close() */
1838
1856
  doOnModalClick: function() {
1839
- var t = k.modalStack, r = t[t.length - 1];
1857
+ var t = C.modalStack, r = t[t.length - 1];
1840
1858
  if (r) {
1841
- var n = k.getInstance(r.id);
1859
+ var n = C.getInstance(r.id);
1842
1860
  n && n.closeOnClickModal && typeof n.close == "function" && n.close();
1843
1861
  }
1844
1862
  },
@@ -1857,38 +1875,38 @@ var ve = {}, oe = {
1857
1875
  var s = r.length;
1858
1876
  s > 0 && (n.style.zIndex = r[s - 1].zIndex.toString());
1859
1877
  } else
1860
- pi(r, t);
1878
+ mi(r, t);
1861
1879
  }
1862
1880
  r.length === 0 && (this.modalFade && ae(n, oe.leave), se(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
1863
- r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", k.modalDom = null), se(n, oe.leave);
1881
+ r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", C.modalDom = null), se(n, oe.leave);
1864
1882
  }, 200));
1865
1883
  }
1866
1884
  };
1867
1885
  qe = function() {
1868
1886
  if (w)
1869
1887
  return null;
1870
- var t = k.modalDom;
1871
- return t ? k.hasModal = !0 : (k.hasModal = !1, t = document.createElement("div"), k.modalDom = t, t.addEventListener("touchmove", function(r) {
1888
+ var t = C.modalDom;
1889
+ return t ? C.hasModal = !0 : (C.hasModal = !1, t = document.createElement("div"), C.modalDom = t, t.addEventListener("touchmove", function(r) {
1872
1890
  r.preventDefault(), r.stopPropagation();
1873
1891
  }, {
1874
1892
  passive: !0
1875
- }), _(t, "click", function() {
1876
- k.doOnModalClick();
1893
+ }), E(t, "click", function() {
1894
+ C.doOnModalClick();
1877
1895
  })), t;
1878
1896
  };
1879
- w || _(window, "keydown", function(e) {
1880
- if (e.keyCode === Bo.Escape) {
1881
- var t = k.modalStack;
1897
+ w || E(window, "keydown", function(e) {
1898
+ if (e.keyCode === Vo.Escape) {
1899
+ var t = C.modalStack;
1882
1900
  if (t.length > 0) {
1883
1901
  var r = t[t.length - 1];
1884
1902
  if (!r)
1885
1903
  return;
1886
- var n = k.getInstance(r.id);
1904
+ var n = C.getInstance(r.id);
1887
1905
  n && n.closeOnPressEscape && (n.handleClose ? n.handleClose("esc") : n.handleAction ? n.handleAction("cancel") : n.close());
1888
1906
  }
1889
1907
  }
1890
1908
  });
1891
- var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOverflow", "keepTogether", "arrow", "flip", "applyStyle"], vi = {
1909
+ var gi = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOverflow", "keepTogether", "arrow", "flip", "applyStyle"], bi = {
1892
1910
  arrowOffset: 0,
1893
1911
  arrowElement: "[x-arrow]",
1894
1912
  boundariesElement: "viewport",
@@ -1899,7 +1917,7 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
1899
1917
  gpuAcceleration: !0,
1900
1918
  offset: 0,
1901
1919
  placement: "bottom",
1902
- preventOverflowOrder: di,
1920
+ preventOverflowOrder: gi,
1903
1921
  modifiers: Lr,
1904
1922
  // 此处是string数组, 构造函数调用之后转为函数数组
1905
1923
  updateHiddenPopperOnScroll: !1
@@ -1921,7 +1939,7 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
1921
1939
  return n[r];
1922
1940
  }
1923
1941
  }, Vr = function(t) {
1924
- return t === window.document.body ? !1 : le(t, "position") === "fixed" ? !0 : t.parentNode ? Vr(t.parentNode) : !1;
1942
+ return t === window.document.body ? !1 : le(t, "position") === "fixed" ? !0 : (t.host && (t = t.host), t.parentNode ? Vr(t.parentNode) : !1);
1925
1943
  }, Je = function(t) {
1926
1944
  var r = t.getBoundingClientRect();
1927
1945
  return {
@@ -1935,7 +1953,7 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
1935
1953
  }, jr = function(t) {
1936
1954
  var r = ["scroll", "auto"];
1937
1955
  return r.includes(le(t, "overflow")) || r.includes(le(t, "overflow-x")) || r.includes(le(t, "overflow-y"));
1938
- }, hi = function(t) {
1956
+ }, yi = function(t) {
1939
1957
  var r = document.createElement("div");
1940
1958
  ge(r, {
1941
1959
  opacity: 0,
@@ -1951,11 +1969,11 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
1951
1969
  }, be = function(t) {
1952
1970
  var r = t.parentNode;
1953
1971
  return r ? r === window.document ? window.document.body.scrollTop || window.document.body.scrollLeft ? window.document.body : window.document.documentElement : jr(r) ? r : be(r) : t;
1954
- }, mi = function(t, r, n, o) {
1972
+ }, wi = function(t, r, n, o) {
1955
1973
  var i = Je(t), s = i.top, a = i.left, l = i.width, u = i.height;
1956
1974
  if (n) {
1957
1975
  if (o.parentElement) {
1958
- var c = hi(o.parentElement), f = c.top, p = c.left;
1976
+ var c = yi(o.parentElement), f = c.top, p = c.left;
1959
1977
  s -= f, a -= p;
1960
1978
  }
1961
1979
  return {
@@ -1976,11 +1994,11 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
1976
1994
  height: u
1977
1995
  };
1978
1996
  return d;
1979
- }, gi = function(t) {
1997
+ }, xi = function(t) {
1980
1998
  return t === document.body ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) : t.scrollTop;
1981
- }, bi = function(t) {
1999
+ }, _i = function(t) {
1982
2000
  return t === document.body ? Math.max(document.documentElement.scrollLeft, document.body.scrollLeft) : t.scrollLeft;
1983
- }, yi = function(t, r) {
2001
+ }, Ei = function(t, r) {
1984
2002
  var n = Math.max(t.scrollHeight, t.offsetHeight, r.clientHeight, r.scrollHeight, r.offsetHeight), o = Math.max(t.scrollWidth, t.offsetWidth, r.clientWidth, r.scrollWidth, r.offsetWidth);
1985
2003
  return {
1986
2004
  width: o,
@@ -2026,10 +2044,10 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2026
2044
  e.forEach(function(t) {
2027
2045
  t.target.popperVm && t.contentRect.height > 50 && t.target.popperVm.update();
2028
2046
  });
2029
- }) : null, wi = /* @__PURE__ */ function() {
2047
+ }) : null, Si = /* @__PURE__ */ function() {
2030
2048
  function e(t, r, n) {
2031
2049
  var o = this;
2032
- nt(this, e), $(this, "_reference", void 0), $(this, "_popper", void 0), $(this, "state", void 0), $(this, "_options", void 0), $(this, "modifiers", {}), $(this, "popperOuterSize", null), this._reference = t, this._popper = r, this.state = {}, this._options = Q(Q({}, vi), n), this._options.modifierFns = Lr.map(function(i) {
2050
+ nt(this, e), $(this, "_reference", void 0), $(this, "_popper", void 0), $(this, "state", void 0), $(this, "_options", void 0), $(this, "modifiers", {}), $(this, "popperOuterSize", null), this._reference = t, this._popper = r, this.state = {}, this._options = Q(Q({}, bi), n), this._options.modifierFns = Lr.map(function(i) {
2033
2051
  return o[i];
2034
2052
  }), w || (this._popper.setAttribute("x-placement", this._options.placement), this.state.position = this._getPopperPositionByRefernce(this._reference), ge(this._popper, {
2035
2053
  position: this.state.position,
@@ -2190,8 +2208,8 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2190
2208
  return r;
2191
2209
  var i = {}, s = r.placement.split("-")[0], a = ie(r.offsets.popper), l = r.offsets.reference, u = ~["left", "right"].indexOf(s), c = u ? "height" : "width", f = u ? "bottom" : "right", p = u ? "left" : "top", v = u ? "top" : "left", d = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Fe(this._popper), h = Fe(n), m = h[c];
2192
2210
  l[f] - m < a[v] && (r.offsets.popper[v] -= a[v] - (l[f] - m)), l[v] + m > a[f] && (r.offsets.popper[v] += l[v] + m - a[f]);
2193
- var g = l[v] + (o || l[c] / 2 - m / 2), E = g - a[v];
2194
- E = Math.max(Math.min(a[c] - m - 8, E), 8), i[v] = E, i[p] = "";
2211
+ var g = l[v] + (o || l[c] / 2 - m / 2), _ = g - a[v];
2212
+ _ = Math.max(Math.min(a[c] - m - 8, _), 8), i[v] = _, i[p] = "";
2195
2213
  var S = this._options.placement.split("-");
2196
2214
  return this._options.adjustArrow && ~["top", "bottom"].indexOf(S[0]) && v === "left" && (S[1] === "start" ? i.left = 8 : S[1] || (i.left = (d.width - h.width) / 2)), r.offsets.arrow = i, r.arrowElement = n, r;
2197
2215
  }
@@ -2211,7 +2229,7 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2211
2229
  o = o.split("-")[0];
2212
2230
  var i = {
2213
2231
  position: this.state.position
2214
- }, s = i.position === "fixed", a = mi(n, Ie(r), s, r), l = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Fe(r), u = l.width, c = l.height;
2232
+ }, s = i.position === "fixed", a = wi(n, Ie(r), s, r), l = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Fe(r), u = l.width, c = l.height;
2215
2233
  return ~["right", "left"].indexOf(o) ? (i.top = a.top + a.height / 2 - c / 2, o === "left" ? i.left = a.left - u : i.left = a.right) : (i.left = a.left + a.width / 2 - u / 2, o === "top" ? i.top = a.top - c : i.top = a.bottom), i.width = u, i.height = c, {
2216
2234
  popper: i,
2217
2235
  reference: a
@@ -2228,32 +2246,32 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2228
2246
  if (ut(r._reference)) return;
2229
2247
  r.state.updateBoundFn();
2230
2248
  }
2231
- }, _(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window") {
2249
+ }, E(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window") {
2232
2250
  var n, o, i, s = this._options.scrollParent || be(this._reference), a = [];
2233
2251
  if ((n = s) !== null && n !== void 0 && (o = n.dataset) !== null && o !== void 0 && (i = o.tag) !== null && i !== void 0 && i.includes("-form")) {
2234
2252
  a.push(s);
2235
2253
  var l = be(s);
2236
2254
  (l === window.document.body || l === window.document.documentElement) && (l = window), a.push(l);
2237
2255
  }
2238
- if ((s === window.document.body || s === window.document.documentElement) && (s = window), this.state.scrollTarget = s, this._options.bubbling || k.globalScroll) {
2256
+ if ((s === window.document.body || s === window.document.documentElement) && (s = window), this.state.scrollTarget = s, this._options.bubbling || C.globalScroll) {
2239
2257
  var u = zr(this._reference);
2240
2258
  this.state.scrollTargets = u || [], u.forEach(function(c) {
2241
- _(c, "scroll", r.state.scrollUpdate);
2259
+ E(c, "scroll", r.state.scrollUpdate);
2242
2260
  });
2243
2261
  } else
2244
2262
  a.length ? (this.state.scrollTargets = a, a.forEach(function(c) {
2245
- _(c, "scroll", r.state.scrollUpdate);
2246
- })) : _(s, "scroll", this.state.scrollUpdate);
2263
+ E(c, "scroll", r.state.scrollUpdate);
2264
+ })) : E(s, "scroll", this.state.scrollUpdate);
2247
2265
  }
2248
2266
  }
2249
2267
  }, {
2250
2268
  key: "_removeEventListeners",
2251
2269
  value: function() {
2252
2270
  var r = this;
2253
- if (R(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window" && this.state.scrollTarget && (R(this.state.scrollTarget, "scroll", this.state.scrollUpdate), this.state.scrollTarget = null, this._options.bubbling || k.globalScroll)) {
2271
+ if (I(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window" && this.state.scrollTarget && (I(this.state.scrollTarget, "scroll", this.state.scrollUpdate), this.state.scrollTarget = null, this._options.bubbling || C.globalScroll)) {
2254
2272
  var n = this.state.scrollTargets || [];
2255
2273
  n.forEach(function(o) {
2256
- R(o, "scroll", r.state.scrollUpdate);
2274
+ I(o, "scroll", r.state.scrollUpdate);
2257
2275
  }), this.state.scrollTargets = null;
2258
2276
  }
2259
2277
  this.state.updateBoundFn = null, this.state.scrollUpdate = null;
@@ -2269,7 +2287,7 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2269
2287
  bottom: 0
2270
2288
  };
2271
2289
  if (o === "window" || o === "body") {
2272
- var s = window.document.body, a = window.document.documentElement, l = yi(s, a), u = l.width, c = l.height;
2290
+ var s = window.document.body, a = window.document.documentElement, l = Ei(s, a), u = l.width, c = l.height;
2273
2291
  i = {
2274
2292
  top: 0,
2275
2293
  right: u,
@@ -2277,18 +2295,18 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2277
2295
  left: 0
2278
2296
  };
2279
2297
  } else if (o === "viewport") {
2280
- var f = Ie(this._popper), p = be(this._popper), v = Mt(f), d = r.offsets.popper.position === "fixed", h = d || !this._options.appendToBody && ["right", "left"].includes(this._options.placement), m = h ? 0 : gi(p), g = h ? 0 : bi(p), E = window;
2298
+ var f = Ie(this._popper), p = be(this._popper), v = Mt(f), d = r.offsets.popper.position === "fixed", h = d || !this._options.appendToBody && ["right", "left"].includes(this._options.placement), m = h ? 0 : xi(p), g = h ? 0 : _i(p), _ = window;
2281
2299
  i = {
2282
2300
  top: 0 - (v.top - m),
2283
- right: E.document.documentElement.clientWidth - (v.left - g),
2284
- bottom: E.document.documentElement.clientHeight - (v.top - m),
2301
+ right: _.document.documentElement.clientWidth - (v.left - g),
2302
+ bottom: _.document.documentElement.clientHeight - (v.top - m),
2285
2303
  left: 0 - (v.left - g)
2286
2304
  };
2287
2305
  } else if (Ie(this._popper) === o) {
2288
- var S = o.clientWidth, C = o.clientHeight;
2306
+ var S = o.clientWidth, P = o.clientHeight;
2289
2307
  i = {
2290
2308
  right: S,
2291
- bottom: C,
2309
+ bottom: P,
2292
2310
  top: 0,
2293
2311
  left: 0
2294
2312
  };
@@ -2296,8 +2314,14 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2296
2314
  i = Mt(o);
2297
2315
  return i.right -= n, i.left += n, i.bottom = i.bottom - n, i.top = i.top + n, i;
2298
2316
  }
2317
+ // https://popper.js.org/docs/v2/lifecycle/#set-new-options
2318
+ }, {
2319
+ key: "setOptions",
2320
+ value: function(r) {
2321
+ Object.assign(this._options, r);
2322
+ }
2299
2323
  }]);
2300
- }(), xi = function(t) {
2324
+ }(), Oi = function(t) {
2301
2325
  var r = t.api, n = t.state, o = t.props;
2302
2326
  return function(i) {
2303
2327
  var s = 200, a = i && i.type === "mouseenter" ? s : 0;
@@ -2308,26 +2332,26 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2308
2332
  }
2309
2333
  r.setExpectedState(!0), r.handleShowPopper(a);
2310
2334
  };
2311
- }, Ei = function(t) {
2335
+ }, Ti = function(t) {
2312
2336
  return function() {
2313
2337
  t.setExpectedState(!1), t.debounceClose();
2314
2338
  };
2315
- }, _i = function(t) {
2339
+ }, Ai = function(t) {
2316
2340
  var r = t.api, n = t.state;
2317
2341
  return function() {
2318
2342
  n.focusing = !0, r.show();
2319
2343
  };
2320
- }, Si = function(t) {
2344
+ }, ki = function(t) {
2321
2345
  var r = t.api, n = t.state;
2322
2346
  return function() {
2323
2347
  n.focusing = !1, r.hide();
2324
2348
  };
2325
- }, Oi = function(t) {
2349
+ }, Ci = function(t) {
2326
2350
  var r = t.api, n = t.state;
2327
2351
  return function() {
2328
2352
  n.focusing = !1, r.show();
2329
2353
  };
2330
- }, Ti = function(t) {
2354
+ }, Pi = function(t) {
2331
2355
  var r = t.props, n = t.state;
2332
2356
  return function(o) {
2333
2357
  !n.expectedState || r.manual || (clearTimeout(n.timeout), n.timeout = window.setTimeout(function() {
@@ -2336,12 +2360,12 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2336
2360
  n.showPopper = !1;
2337
2361
  }, r.hideAfter)));
2338
2362
  };
2339
- }, Ai = function(t) {
2363
+ }, Ri = function(t) {
2340
2364
  var r = t.api, n = t.props, o = t.state;
2341
2365
  return function() {
2342
2366
  n.enterable && o.expectedState || n.manual || (clearTimeout(o.timeout), o.timeoutPending && clearTimeout(o.timeoutPending), o.showPopper = !1, n.disabled && r.doDestroy());
2343
2367
  };
2344
- }, ki = function(t) {
2368
+ }, Ii = function(t) {
2345
2369
  var r = t.props, n = t.api, o = t.state, i = t.popperVmRef;
2346
2370
  return function(s) {
2347
2371
  if (!r.manual) {
@@ -2349,27 +2373,27 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2349
2373
  !l || !a || l.contains(s.target) || a.contains(s.target) || o.showPopper && (n.setExpectedState(!1), n.debounceClose());
2350
2374
  }
2351
2375
  };
2352
- }, Ci = function(t) {
2376
+ }, Fi = function(t) {
2353
2377
  var r = t.state;
2354
2378
  return function(n) {
2355
2379
  r.expectedState === !1 && clearTimeout(r.timeoutPending), r.expectedState = n;
2356
2380
  };
2357
- }, Pi = function(t) {
2381
+ }, Mi = function(t) {
2358
2382
  var r = t.state, n = t.api, o = t.vm;
2359
2383
  return function() {
2360
2384
  var i = r.referenceElm;
2361
- r.showPopper = !1, i && i.nodeType === 1 && (R(document, "click", n.handleDocumentClick), R(i, "mouseenter", n.show), R(i, "mouseleave", n.hide), R(i, "focus", n.focusHandler), R(i, "blur", n.handleBlur), R(i, "click", n.removeFocusing)), o.popperVM && (typeof o.popperVM.$destroy == "function" && o.popperVM.$destroy(), o.popperVM = null);
2385
+ r.showPopper = !1, i && i.nodeType === 1 && (I(document, "click", n.handleDocumentClick), I(i, "mouseenter", n.show), I(i, "mouseleave", n.hide), I(i, "focus", n.focusHandler), I(i, "blur", n.handleBlur), I(i, "click", n.removeFocusing)), o.popperVM && (typeof o.popperVM.$destroy == "function" && o.popperVM.$destroy(), o.popperVM = null);
2362
2386
  };
2363
- }, Ri = function(t) {
2387
+ }, Bi = function(t) {
2364
2388
  var r = t.api, n = t.props;
2365
- return ti(n.closeDelay, function() {
2389
+ return ii(n.closeDelay, function() {
2366
2390
  r.handleClosePopper();
2367
2391
  });
2368
- }, Ii = function(t) {
2392
+ }, Ni = function(t) {
2369
2393
  return function(r) {
2370
2394
  r ? ae(t.referenceElm, "focusing") : se(t.referenceElm, "focusing");
2371
2395
  };
2372
- }, Fi = function(t) {
2396
+ }, Di = function(t) {
2373
2397
  var r = t.slots, n = t.api;
2374
2398
  return function() {
2375
2399
  if (!r.default || !r.default().length) {
@@ -2379,13 +2403,13 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2379
2403
  var o = r.default()[0];
2380
2404
  o = o.elm || o.el, o && o.focus ? o.focus() : n.handleFocus();
2381
2405
  };
2382
- }, Mi = function(t) {
2406
+ }, Li = function(t) {
2383
2407
  var r = t.api, n = t.state, o = t.vm;
2384
2408
  return function(i) {
2385
2409
  var s = null;
2386
- o.$el.nodeType === 8 ? s = i : o.$el.nodeType === 1 && (s = o.$el), !(!s || s.nodeType === 8 || n.referenceElm) && (n.referenceElm = s, s.setAttribute("aria-describedby", n.tooltipId), s.setAttribute("tabindex", n.tabindex.toString()), _(document, "click", r.handleDocumentClick), _(s, "mouseenter", r.show), _(s, "mouseleave", r.hide), _(s, "focus", r.focusHandler), _(s, "blur", r.handleBlur), _(s, "click", r.removeFocusing));
2410
+ o.$el.nodeType === 8 ? s = i : o.$el.nodeType === 1 && (s = o.$el), !(!s || s.nodeType === 8 || n.referenceElm) && (n.referenceElm = s, s.setAttribute("aria-describedby", n.tooltipId), s.setAttribute("tabindex", n.tabindex.toString()), E(document, "click", r.handleDocumentClick), E(s, "mouseenter", r.show), E(s, "mouseleave", r.hide), E(s, "focus", r.focusHandler), E(s, "blur", r.handleBlur), E(s, "click", r.removeFocusing));
2387
2411
  };
2388
- }, Bi = function(t) {
2412
+ }, Vi = function(t) {
2389
2413
  var r = t.state, n = t.popperVmRef;
2390
2414
  return function(o) {
2391
2415
  var i = rn(o), s;
@@ -2400,7 +2424,7 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2400
2424
  i.f();
2401
2425
  }
2402
2426
  };
2403
- }, Ni = function(t) {
2427
+ }, ji = function(t) {
2404
2428
  var r = t.vm, n = t.nextTick, o = t.popperVmRef;
2405
2429
  return function(i) {
2406
2430
  n(function() {
@@ -2416,13 +2440,13 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2416
2440
  }, Lt = function(t) {
2417
2441
  var r = t.state, n = t.props, o = t.vm, i = t.slots, s = r.referenceElm || n.reference || o.$refs.reference && o.$refs.reference.$el || o.$refs.reference;
2418
2442
  return !s && i.reference && i.reference()[0] && (r.referenceElm = i.reference()[0].elm || i.reference()[0].el, s = r.referenceElm), s;
2419
- }, Di = function(t) {
2443
+ }, zi = function(t) {
2420
2444
  if (!(!t || !t.nodeType)) {
2421
2445
  var r = function(s) {
2422
2446
  return parseInt(window.getComputedStyle(s).zIndex, 10) || 0;
2423
2447
  }, n = r(t), o;
2424
2448
  do {
2425
- if (t = t.parentNode, t)
2449
+ if (t = t.parentNode, t && t instanceof ShadowRoot && t.host && (t = t.host), t)
2426
2450
  o = r(t);
2427
2451
  else
2428
2452
  break;
@@ -2430,7 +2454,7 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2430
2454
  } while (t !== document.body);
2431
2455
  return n + 1 + "";
2432
2456
  }
2433
- }, Li = function(t) {
2457
+ }, Hi = function(t) {
2434
2458
  var r = t.parent, n = t.emit, o = t.nextTick, i = t.onBeforeUnmount, s = t.onDeactivated, a = t.props, l = t.watch, u = t.reactive, c = t.vm, f = t.slots, p = t.toRefs, v = t.popperVmRef, d = u({
2435
2459
  popperJS: null,
2436
2460
  appended: !1,
@@ -2439,61 +2463,68 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2439
2463
  showPopper: a.manual ? !!a.modelValue : !1,
2440
2464
  referenceElm: null,
2441
2465
  currentPlacement: ""
2442
- }), h = function(y) {
2466
+ }), h = function(b) {
2443
2467
  if (!d.appended) {
2444
2468
  d.appended = !0;
2445
- var b = document.createElement("div");
2446
- b.setAttribute("x-arrow", ""), b.className = "popper__arrow", y.appendChild(b);
2447
- }
2448
- }, m = function(y) {
2449
- var b = (a == null ? void 0 : a.popperOptions) || {}, M = b.followReferenceHide, F = M === void 0 ? !0 : M, Ae = y._popper, A = y._reference;
2450
- F && ut(A) && (Ae.style.display = "none");
2451
- }, g = function(y) {
2452
- return a.zIndex === "relative" ? Di(y) : k.nextZIndex();
2453
- }, E = function(y) {
2469
+ var y = document.createElement("div");
2470
+ y.setAttribute("x-arrow", ""), y.className = "popper__arrow", b.appendChild(y);
2471
+ }
2472
+ }, m = function(b) {
2473
+ var y = (a == null ? void 0 : a.popperOptions) || {}, M = y.followReferenceHide, F = M === void 0 ? !0 : M, Ae = b._popper, k = b._reference;
2474
+ F && ut(k) && (Ae.style.display = "none");
2475
+ }, g = function(b) {
2476
+ return a.zIndex === "relative" ? zi(b) : C.nextZIndex();
2477
+ }, _ = function(b) {
2454
2478
  if (!w && (d.currentPlacement = d.currentPlacement || a.placement, !!/^(top|bottom|left|right)(-start|-end)?$/g.test(d.currentPlacement))) {
2455
- var b = a.popperOptions || {
2479
+ var y = a.popperOptions || {
2456
2480
  gpuAcceleration: !1
2457
2481
  };
2458
- d.popperElm = d.popperElm || a.popper || c.$refs.popper || v.popper || y;
2482
+ d.popperElm = d.popperElm || a.popper || c.$refs.popper || v.popper || b;
2459
2483
  var M = d.popperElm, F = Lt({
2460
2484
  state: d,
2461
2485
  props: a,
2462
2486
  vm: c,
2463
2487
  slots: f
2464
2488
  });
2465
- !M || !F || F.nodeType !== Node.ELEMENT_NODE || (a.visibleArrow && h(M), a.appendToBody || a.popperAppendToBody ? document.body.appendChild(d.popperElm) : (r && r.$el && r.$el.appendChild(d.popperElm), b.forceAbsolute = !0), b.placement = d.currentPlacement, b.offset = a.offset || 0, b.arrowOffset = a.arrowOffset || 0, b.adjustArrow = a.adjustArrow || !1, b.appendToBody = a.appendToBody || a.popperAppendToBody, d.popperJS = new wi(F, M, b), n("created", d), typeof b.onUpdate == "function" && d.popperJS.onUpdate(b.onUpdate), d.popperJS._popper.style.zIndex = g(d.popperJS._reference), m(d.popperJS), _(d.popperElm, "click", Dt));
2489
+ !M || !F || F.nodeType !== Node.ELEMENT_NODE || (a.visibleArrow && h(M), a.appendToBody || a.popperAppendToBody ? document.body.appendChild(d.popperElm) : (r && r.$el && r.$el.appendChild(d.popperElm), y.forceAbsolute = !0), y.placement = d.currentPlacement, y.offset = a.offset || 0, y.arrowOffset = a.arrowOffset || 0, y.adjustArrow = a.adjustArrow || !1, y.appendToBody = a.appendToBody || a.popperAppendToBody, d.popperJS = new Si(F, M, y), n("created", d), typeof y.onUpdate == "function" && d.popperJS.onUpdate(y.onUpdate), d.popperJS._popper.style.zIndex = g(d.popperJS._reference), m(d.popperJS), E(d.popperElm, "click", Dt));
2466
2490
  }
2467
- }, S = function(y) {
2468
- y && y !== !0 && (d.popperElm = y);
2469
- var b = d.popperJS;
2470
- b ? (b._reference = Lt({
2491
+ }, S = function(b) {
2492
+ b && b !== !0 && (d.popperElm = b);
2493
+ var y = d.popperJS;
2494
+ y ? (y._reference = Lt({
2471
2495
  state: d,
2472
2496
  props: a,
2473
2497
  vm: c,
2474
2498
  slots: f
2475
- }), b.update(), b._popper && y !== !0 && (b._popper.style.zIndex = g(b._reference), m(d.popperJS))) : E(y && y !== !0 ? y : void 0);
2476
- }, C = function(y) {
2477
- !d.popperJS || d.showPopper && !y || (d.popperJS.destroy(), d.popperJS = null);
2478
- }, H = function(y) {
2479
- y && d.popperElm && d.popperElm.parentNode === document.body && (R(d.popperElm, "click", Dt), d.popperElm.remove());
2499
+ }), y.update(), y._popper && b !== !0 && (y._popper.style.zIndex = g(y._reference), m(d.popperJS))) : _(b && b !== !0 ? b : void 0);
2500
+ }, P = function(b) {
2501
+ !d.popperJS || d.showPopper && !b || (d.popperJS.destroy(), d.popperJS = null);
2502
+ }, H = function(b) {
2503
+ b && d.popperElm && d.popperElm.parentNode === document.body && (I(d.popperElm, "click", Dt), d.popperElm.remove());
2480
2504
  };
2481
2505
  return l(function() {
2482
2506
  return d.showPopper;
2483
- }, function(I) {
2484
- a.disabled || (I && o(S), a.trigger === "manual" && n("update:modelValue", I));
2507
+ }, function(O) {
2508
+ a.disabled || (O && o(S), a.trigger === "manual" && n("update:modelValue", O));
2509
+ }), l(function() {
2510
+ return a.placement;
2511
+ }, function(O) {
2512
+ var b;
2513
+ d.currentPlacement = O, (b = d.popperJS) === null || b === void 0 || b.setOptions({
2514
+ placement: O
2515
+ }), !a.disabled && (O && o(S), a.trigger === "manual" && n("update:modelValue", O));
2485
2516
  }), i(function() {
2486
2517
  o(function() {
2487
- C(!0), (a.appendToBody || a.popperAppendToBody) && H("remove");
2518
+ P(!0), (a.appendToBody || a.popperAppendToBody) && H("remove");
2488
2519
  });
2489
2520
  }), s(function() {
2490
- C(!0), (a.appendToBody || a.popperAppendToBody) && H("remove");
2521
+ P(!0), (a.appendToBody || a.popperAppendToBody) && H("remove");
2491
2522
  }), Q({
2492
2523
  updatePopper: S,
2493
2524
  destroyPopper: H,
2494
- doDestroy: C
2525
+ doDestroy: P
2495
2526
  }, p(d));
2496
- }, Hr = ["state", "bindEvent", "hide", "show", "doDestroy", "handleFocus", "debounceClose", "handleShowPopper", "handleClosePopper", "setExpectedState", "updatePopper", "focusHandler"], Vi = function(t) {
2527
+ }, Hr = ["state", "bindEvent", "hide", "show", "doDestroy", "handleFocus", "debounceClose", "handleShowPopper", "handleClosePopper", "setExpectedState", "updatePopper", "focusHandler"], $i = function(t) {
2497
2528
  var r = t.reactive, n = t.showPopper, o = t.popperElm, i = t.referenceElm, s = t.props, a = t.inject, l = t.popperJS, u = t.currentPlacement;
2498
2529
  return r({
2499
2530
  popperJS: l,
@@ -2504,14 +2535,14 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2504
2535
  timeout: null,
2505
2536
  focusing: !1,
2506
2537
  expectedState: void 0,
2507
- tooltipId: Mo("tiny-tooltip-", 4),
2538
+ tooltipId: Lo("tiny-tooltip-", 4),
2508
2539
  tabindex: s.tabindex,
2509
2540
  xPlacement: "bottom",
2510
2541
  showContent: a("showContent", null),
2511
2542
  tipsMaxWidth: a("tips-max-width", null)
2512
2543
  });
2513
2544
  }, $r = function(t, r, n) {
2514
- var o = r.watch, i = r.toRefs, s = r.reactive, a = r.onBeforeUnmount, l = r.onDeactivated, u = r.onMounted, c = r.onUnmounted, f = r.inject, p = n.vm, v = n.emit, d = n.slots, h = n.nextTick, m = n.parent, g = {}, E = {}, S = {
2545
+ var o = r.watch, i = r.toRefs, s = r.reactive, a = r.onBeforeUnmount, l = r.onDeactivated, u = r.onMounted, c = r.onUnmounted, f = r.inject, p = n.vm, v = n.emit, d = n.slots, h = n.nextTick, m = n.parent, g = {}, _ = {}, S = {
2515
2546
  emit: v,
2516
2547
  props: t,
2517
2548
  nextTick: h,
@@ -2519,7 +2550,7 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2519
2550
  reactive: s,
2520
2551
  parent: m.$parent,
2521
2552
  vm: p,
2522
- popperVmRef: E
2553
+ popperVmRef: _
2523
2554
  };
2524
2555
  Object.assign(S, {
2525
2556
  slots: d,
@@ -2527,91 +2558,91 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2527
2558
  onDeactivated: l,
2528
2559
  watch: o
2529
2560
  });
2530
- var C = Li(S), H = C.showPopper, I = C.updatePopper, y = C.popperElm, b = C.referenceElm, M = C.doDestroy, F = C.popperJS, Ae = C.currentPlacement, A = Vi({
2561
+ var P = Hi(S), H = P.showPopper, O = P.updatePopper, b = P.popperElm, y = P.referenceElm, M = P.doDestroy, F = P.popperJS, Ae = P.currentPlacement, k = $i({
2531
2562
  reactive: s,
2532
2563
  showPopper: H,
2533
- popperElm: y,
2534
- referenceElm: b,
2564
+ popperElm: b,
2565
+ referenceElm: y,
2535
2566
  props: t,
2536
2567
  inject: f,
2537
2568
  popperJS: F,
2538
2569
  currentPlacement: Ae
2539
2570
  });
2540
2571
  return Object.assign(g, {
2541
- state: A,
2572
+ state: k,
2542
2573
  doDestroy: M,
2543
- updatePopper: I,
2544
- show: xi({
2574
+ updatePopper: O,
2575
+ show: Oi({
2545
2576
  api: g,
2546
- state: A,
2577
+ state: k,
2547
2578
  props: t
2548
2579
  }),
2549
- hide: Ei(g),
2550
- destroyed: Pi({
2551
- state: A,
2580
+ hide: Ti(g),
2581
+ destroyed: Mi({
2582
+ state: k,
2552
2583
  api: g,
2553
2584
  vm: p
2554
2585
  }),
2555
- bindPopper: Ni({
2586
+ bindPopper: ji({
2556
2587
  vm: p,
2557
2588
  nextTick: h,
2558
- popperVmRef: E
2589
+ popperVmRef: _
2559
2590
  }),
2560
- watchFocusing: Ii(A),
2561
- removeFocusing: Oi({
2591
+ watchFocusing: Ni(k),
2592
+ removeFocusing: Ci({
2562
2593
  api: g,
2563
- state: A
2594
+ state: k
2564
2595
  }),
2565
- handleBlur: Si({
2596
+ handleBlur: ki({
2566
2597
  api: g,
2567
- state: A
2598
+ state: k
2568
2599
  }),
2569
- handleFocus: _i({
2600
+ handleFocus: Ai({
2570
2601
  api: g,
2571
- state: A
2602
+ state: k
2572
2603
  }),
2573
- debounceClose: Ri({
2604
+ debounceClose: Bi({
2574
2605
  api: g,
2575
2606
  props: t
2576
2607
  }),
2577
- setExpectedState: Ci({
2578
- state: A
2608
+ setExpectedState: Fi({
2609
+ state: k
2579
2610
  }),
2580
- handleShowPopper: Ti({
2611
+ handleShowPopper: Pi({
2581
2612
  props: t,
2582
- state: A
2613
+ state: k
2583
2614
  }),
2584
- handleClosePopper: Ai({
2615
+ handleClosePopper: Ri({
2585
2616
  api: g,
2586
2617
  props: t,
2587
- state: A
2618
+ state: k
2588
2619
  }),
2589
- bindEvent: Mi({
2620
+ bindEvent: Li({
2590
2621
  api: g,
2591
- state: A,
2622
+ state: k,
2592
2623
  vm: p
2593
2624
  }),
2594
- focusHandler: Fi({
2625
+ focusHandler: Di({
2595
2626
  slots: d,
2596
2627
  api: g
2597
2628
  }),
2598
- handleDocumentClick: ki({
2629
+ handleDocumentClick: Ii({
2599
2630
  props: t,
2600
2631
  api: g,
2601
- state: A,
2602
- popperVmRef: E
2632
+ state: k,
2633
+ popperVmRef: _
2603
2634
  }),
2604
- observeCallback: Bi({
2605
- state: A,
2606
- popperVmRef: E
2635
+ observeCallback: Vi({
2636
+ state: k,
2637
+ popperVmRef: _
2607
2638
  })
2608
2639
  }), o(function() {
2609
- return A.focusing;
2640
+ return k.focusing;
2610
2641
  }, g.watchFocusing), o(function() {
2611
2642
  return t.modelValue;
2612
2643
  }, function(ke) {
2613
2644
  return h(function() {
2614
- return t.manual && (A.showPopper = ke);
2645
+ return t.manual && (k.showPopper = ke);
2615
2646
  });
2616
2647
  }), u(function() {
2617
2648
  if (g.bindPopper(), t.genArrowByHtml) {
@@ -2620,13 +2651,13 @@ var di = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2620
2651
  childList: !1,
2621
2652
  subtree: !1
2622
2653
  };
2623
- g.observer = new MutationObserver(g.observeCallback), g.observer.observe(E.popper, ke);
2654
+ g.observer = new MutationObserver(g.observeCallback), g.observer.observe(_.popper, ke);
2624
2655
  }
2625
2656
  }), p.$on("tooltip-update", g.bindPopper), c(function() {
2626
2657
  g.destroyed(), g.observer && g.observer.disconnect(), p.$off("tooltip-update");
2627
2658
  }), g;
2628
2659
  };
2629
- const ji = Qe({
2660
+ const Wi = Qe({
2630
2661
  name: rt + "Tooltip",
2631
2662
  componentName: "Tooltip",
2632
2663
  props: {
@@ -2837,21 +2868,21 @@ function Wr(e, t, r, n, o, i, s, a) {
2837
2868
  options: l
2838
2869
  };
2839
2870
  }
2840
- let zi, Hi;
2871
+ let Ui, Gi;
2841
2872
  const Vt = {};
2842
- var $i = /* @__PURE__ */ Wr(
2843
- ji,
2844
- zi,
2845
- Hi,
2873
+ var qi = /* @__PURE__ */ Wr(
2874
+ Wi,
2875
+ Ui,
2876
+ Gi,
2846
2877
  !1,
2847
- Wi
2878
+ Ji
2848
2879
  );
2849
- function Wi(e) {
2880
+ function Ji(e) {
2850
2881
  for (let t in Vt)
2851
2882
  this[t] = Vt[t];
2852
2883
  }
2853
2884
  const jt = /* @__PURE__ */ function() {
2854
- return $i.exports;
2885
+ return qi.exports;
2855
2886
  }();
2856
2887
  var N = {
2857
2888
  tooltip: "absolute bg-color-text-primary text-color-text-inverse shadow-none -left-[9999px] py-2 px-3 sm:py-1.5 sm:px-2 text-sm sm:text-xs leading-tight min-w-[theme(spacing.12)] max-w-[theme(spacing.80)] sm:max-w-[theme(spacing.112)] z-[2000] break-words rounded [&[x-placement^=top]]:mb-2.5 [&[x-placement^=bottom]]:mt-2.5 [&[x-placement^=right]]:ml-2.5 [&[x-placement^=left]]:mr-2.5",
@@ -2896,7 +2927,7 @@ var N = {
2896
2927
  "arrow-left-success": "border-l-color-success after:border-l-color-success",
2897
2928
  "arrow-right-success": "border-r-color-success after:border-r-color-success"
2898
2929
  };
2899
- const Ui = Qe({
2930
+ const Xi = Qe({
2900
2931
  name: rt + "Tooltip",
2901
2932
  componentName: "Tooltip",
2902
2933
  props: {
@@ -2996,6 +3027,9 @@ const Ui = Qe({
2996
3027
  zIndex: {
2997
3028
  type: String,
2998
3029
  default: () => "next"
3030
+ },
3031
+ contentMaxHeight: {
3032
+ type: String
2999
3033
  }
3000
3034
  },
3001
3035
  setup(e, t) {
@@ -3026,15 +3060,17 @@ const Ui = Qe({
3026
3060
  el: document.createElement("div"),
3027
3061
  component: {
3028
3062
  render: () => {
3029
- let l = t(this), u = {
3063
+ let l = t(this);
3064
+ const u = typeof l == "string";
3065
+ let c = {
3030
3066
  on: {
3031
3067
  "after-leave": this.doDestroy
3032
3068
  }
3033
- }, c = () => this.setExpectedState(!0), f = () => {
3069
+ }, f = () => this.setExpectedState(!0), p = () => {
3034
3070
  this.setExpectedState(!1), this.debounceClose();
3035
3071
  };
3036
- const p = this.state.xPlacement || "";
3037
- return e("transition", u, [e("div", {
3072
+ const v = this.state.xPlacement || "";
3073
+ return e("transition", c, [e("div", {
3038
3074
  attrs: {
3039
3075
  "data-tag": "tiny-tooltip",
3040
3076
  id: this.state.tooltipId,
@@ -3049,14 +3085,16 @@ const Ui = Qe({
3049
3085
  }],
3050
3086
  class: mt([N.tooltip, !this.effect && !this.type && N["tooltip-sm"], this.effect && N[`effect-${this.effect}`], this.type && N[`is-${this.type}`], this.disabled || !this.state.showPopper ? "hidden" : "", this.popperClass]),
3051
3087
  on: {
3052
- mouseenter: () => c(),
3053
- mouseleave: () => f()
3088
+ mouseenter: () => f(),
3089
+ mouseleave: () => p()
3054
3090
  }
3055
- }, [l, this.visibleArrow ? e("div", {
3091
+ }, [u ? e("div", {
3092
+ style: `overflow:auto;max-height:${this.contentMaxHeight}`
3093
+ }, [l]) : l, this.visibleArrow ? e("div", {
3056
3094
  attrs: {
3057
3095
  "x-arrow": !0
3058
3096
  },
3059
- class: mt([N.arrow, N["placement-" + p.split("-")[0]], !this.effect && !this.type && N["placement-" + p.split("-")[0] + "-sm"], this.effect === "light" ? N["placement-" + p.split("-")[0] + "-light"] : "", this.effect === "dark" ? N["placement-" + p.split("-")[0] + "-dark"] : "", this.type ? N[`arrow-${p.split("-")[0]}-${this.type}`] : ""])
3097
+ class: mt([N.arrow, N["placement-" + v.split("-")[0]], !this.effect && !this.type && N["placement-" + v.split("-")[0] + "-sm"], this.effect === "light" ? N["placement-" + v.split("-")[0] + "-light"] : "", this.effect === "dark" ? N["placement-" + v.split("-")[0] + "-dark"] : "", this.type ? N[`arrow-${v.split("-")[0]}-${this.type}`] : ""])
3060
3098
  }) : ""])]);
3061
3099
  }
3062
3100
  }
@@ -3097,26 +3135,26 @@ const Ui = Qe({
3097
3135
  return s.class = n(s.class), i;
3098
3136
  }
3099
3137
  });
3100
- let Gi, qi;
3138
+ let Yi, Zi;
3101
3139
  const zt = {};
3102
- var Ji = /* @__PURE__ */ Wr(
3103
- Ui,
3104
- Gi,
3105
- qi,
3140
+ var Ki = /* @__PURE__ */ Wr(
3141
+ Xi,
3142
+ Yi,
3143
+ Zi,
3106
3144
  !1,
3107
- Xi
3145
+ Qi
3108
3146
  );
3109
- function Xi(e) {
3147
+ function Qi(e) {
3110
3148
  for (let t in zt)
3111
3149
  this[t] = zt[t];
3112
3150
  }
3113
- const Yi = /* @__PURE__ */ function() {
3114
- return Ji.exports;
3151
+ const ea = /* @__PURE__ */ function() {
3152
+ return Ki.exports;
3115
3153
  }();
3116
- var Zi = function(t) {
3154
+ var ta = function(t) {
3117
3155
  var r, n = (typeof process > "u" ? "undefined" : ye(process)) === "object" ? (r = process.env) === null || r === void 0 ? void 0 : r.TINY_MODE : null;
3118
- return (n || t) === "pc" ? jt : (n || t) === "mobile-first" ? Yi : jt;
3119
- }, Ki = Q(Q({}, et), {}, {
3156
+ return (n || t) === "pc" ? jt : (n || t) === "mobile-first" ? ea : jt;
3157
+ }, ra = Q(Q({}, et), {}, {
3120
3158
  visible: {
3121
3159
  type: String,
3122
3160
  default: function() {
@@ -3250,21 +3288,24 @@ var Zi = function(t) {
3250
3288
  }
3251
3289
  },
3252
3290
  contentMaxHeight: {
3253
- type: String
3291
+ type: String,
3292
+ default: function() {
3293
+ return "80vh";
3294
+ }
3254
3295
  }
3255
3296
  });
3256
3297
  const q = Qe({
3257
3298
  name: rt + "Tooltip",
3258
3299
  componentName: "Tooltip",
3259
- props: Ki,
3300
+ props: ra,
3260
3301
  setup: function(t, r) {
3261
3302
  return Kr({
3262
3303
  props: t,
3263
3304
  context: r,
3264
- template: Zi
3305
+ template: ta
3265
3306
  });
3266
3307
  }
3267
- }), Qi = "3.22.0";
3308
+ }), na = "3.22.0";
3268
3309
  q.model = {
3269
3310
  prop: "modelValue",
3270
3311
  event: "update:modelValue"
@@ -3272,13 +3313,13 @@ q.model = {
3272
3313
  q.install = function(e) {
3273
3314
  e.component(q.name, q);
3274
3315
  };
3275
- q.version = Qi;
3316
+ q.version = na;
3276
3317
  typeof window < "u" && window.Vue && q.install(window.Vue);
3277
- var ea = 2, ue = {
3318
+ var oa = 2, ue = {
3278
3319
  value: null
3279
- }, Me = De.ref(""), ta = function(t) {
3280
- return (t == null ? void 0 : t.textContent) && (t.scrollWidth > t.clientWidth || t.scrollHeight - t.clientHeight > ea);
3281
- }, ra = function(t) {
3320
+ }, Me = De.ref(""), ia = function(t) {
3321
+ return (t == null ? void 0 : t.textContent) && (t.scrollWidth > t.clientWidth || t.scrollHeight - t.clientHeight > oa);
3322
+ }, aa = function(t) {
3282
3323
  var r;
3283
3324
  return !!(!(t == null || (r = t.boundingValue) === null || r === void 0) && r.always);
3284
3325
  }, Be = function(t) {
@@ -3289,7 +3330,7 @@ var ea = 2, ue = {
3289
3330
  return ((r = t.boundingValue) === null || r === void 0 ? void 0 : r.placement) || "top";
3290
3331
  }, Ur = function(t) {
3291
3332
  var r = t.currentTarget;
3292
- if (r.boundingValue && (ra(r) || ta(r))) {
3333
+ if (r.boundingValue && (aa(r) || ia(r))) {
3293
3334
  var n, o;
3294
3335
  if (!ue.value) {
3295
3336
  var i;
@@ -3319,7 +3360,7 @@ var ea = 2, ue = {
3319
3360
  var r;
3320
3361
  (r = t.boundingValue) !== null && r !== void 0 && r.listened && (t.removeEventListener("mouseenter", Ur), t.removeEventListener("mouseleave", Gr));
3321
3362
  };
3322
- const ma = {
3363
+ const wa = {
3323
3364
  bind: he,
3324
3365
  unbind: Ht,
3325
3366
  update: he,
@@ -3327,32 +3368,32 @@ const ma = {
3327
3368
  unmounted: Ht,
3328
3369
  updated: he
3329
3370
  };
3330
- var W = [], O = "@@clickoutsideContext", K, na = 0;
3331
- w || (_(document, "mousedown", function(e) {
3371
+ var W = [], T = "@@clickoutsideContext", K, sa = 0;
3372
+ w || (E(document, "mousedown", function(e) {
3332
3373
  K = e, W.filter(function(t) {
3333
- return t[O].mousedownTrigger;
3374
+ return t[T].mousedownTrigger;
3334
3375
  }).forEach(function(t) {
3335
- return t[O].documentHandler(e, K);
3376
+ return t[T].documentHandler(e, K);
3336
3377
  });
3337
- }), _(document, "mouseup", function(e) {
3378
+ }), E(document, "mouseup", function(e) {
3338
3379
  W.filter(function(t) {
3339
- return !t[O].mousedownTrigger;
3380
+ return !t[T].mousedownTrigger;
3340
3381
  }).forEach(function(t) {
3341
3382
  var r;
3342
- return t[O].documentHandler(e, (r = t[O]) !== null && r !== void 0 && r.mouseupTrigger ? e : K);
3383
+ return t[T].documentHandler(e, (r = t[T]) !== null && r !== void 0 && r.mouseupTrigger ? e : K);
3343
3384
  }), K = null;
3344
3385
  }));
3345
3386
  var $t = function(t, r, n) {
3346
3387
  return function() {
3347
3388
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = n.context.popperElm || n.context.state && n.context.state.popperElm;
3348
- !(o != null && o.target) || !(i != null && i.target) || t.contains(o.target) || t.contains(i.target) || t === o.target || s && (s.contains(o.target) || s.contains(i.target)) || (r.expression && t[O].methodName && n.context[t[O].methodName] ? n.context[t[O].methodName]() : t[O].bindingFn && t[O].bindingFn());
3389
+ !(o != null && o.target) || !(i != null && i.target) || t.contains(o.target) || t.contains(i.target) || t === o.target || s && (s.contains(o.target) || s.contains(i.target)) || (r.expression && t[T].methodName && n.context[t[T].methodName] ? n.context[t[T].methodName]() : t[T].bindingFn && t[T].bindingFn());
3349
3390
  };
3350
3391
  };
3351
- const ga = {
3392
+ const xa = {
3352
3393
  bind: function(t, r, n) {
3353
3394
  W.push(t);
3354
- var o = na++, i = r.modifiers, s = r.expression, a = r.value, l = i || {}, u = l.mousedown, c = u === void 0 ? !1 : u, f = l.mouseup, p = f === void 0 ? !1 : f;
3355
- t[O] = {
3395
+ var o = sa++, i = r.modifiers, s = r.expression, a = r.value, l = i || {}, u = l.mousedown, c = u === void 0 ? !1 : u, f = l.mouseup, p = f === void 0 ? !1 : f;
3396
+ t[T] = {
3356
3397
  id: o,
3357
3398
  documentHandler: $t(t, r, n),
3358
3399
  methodName: s,
@@ -3363,16 +3404,16 @@ const ga = {
3363
3404
  },
3364
3405
  update: function(t, r, n) {
3365
3406
  var o = r.modifiers, i = r.expression, s = r.value, a = o || {}, l = a.mousedown, u = l === void 0 ? !1 : l, c = a.mouseup, f = c === void 0 ? !1 : c;
3366
- t[O].documentHandler = $t(t, r, n), t[O].methodName = i, t[O].bindingFn = s, t[O].mousedownTrigger = u, t[O].mouseupTrigger = f;
3407
+ t[T].documentHandler = $t(t, r, n), t[T].methodName = i, t[T].bindingFn = s, t[T].mousedownTrigger = u, t[T].mouseupTrigger = f;
3367
3408
  },
3368
3409
  unbind: function(t) {
3369
3410
  if (t.nodeType === Node.ELEMENT_NODE) {
3370
3411
  for (var r = W.length, n = 0; n < r; n++)
3371
- if (W[n][O].id === t[O].id) {
3412
+ if (W[n][T].id === t[T].id) {
3372
3413
  W.splice(n, 1);
3373
3414
  break;
3374
3415
  }
3375
- W.length === 0 && K && (K = null), delete t[O];
3416
+ W.length === 0 && K && (K = null), delete t[T];
3376
3417
  }
3377
3418
  }
3378
3419
  };
@@ -3383,7 +3424,7 @@ function qr(e, t) {
3383
3424
  }
3384
3425
  return n;
3385
3426
  }
3386
- function oa(e, t, r) {
3427
+ function la(e, t, r) {
3387
3428
  t.forEach(function(n) {
3388
3429
  var o = n.textContent, i = o.indexOf(r), s = o.substring(0, i), a = o.substring(i + r.length);
3389
3430
  n.textContent = s;
@@ -3393,7 +3434,7 @@ function oa(e, t, r) {
3393
3434
  n.after(l, u);
3394
3435
  }), t.length && vt(e, r);
3395
3436
  }
3396
- function ia(e) {
3437
+ function ua(e) {
3397
3438
  var t = /* @__PURE__ */ new Set();
3398
3439
  e.forEach(function(r) {
3399
3440
  var n;
@@ -3410,26 +3451,26 @@ function vt(e, t) {
3410
3451
  var o = n.textContent || "";
3411
3452
  return o.includes(t);
3412
3453
  });
3413
- oa(e, r, t);
3454
+ la(e, r, t);
3414
3455
  }
3415
3456
  }
3416
- function aa(e) {
3457
+ function fa(e) {
3417
3458
  var t = qr(e, function(r) {
3418
3459
  return r.parentElement.classList.contains("tiny-hl-query-node");
3419
3460
  });
3420
- ia(t);
3461
+ ua(t);
3421
3462
  }
3422
3463
  var Wt = function(t, r) {
3423
3464
  t.classList.toggle("tiny-hl-query", !0);
3424
3465
  var n = r.value;
3425
3466
  vt(t, n);
3426
3467
  }, Ut = function(t) {
3427
- aa(t);
3468
+ fa(t);
3428
3469
  }, Gt = function(t, r) {
3429
3470
  var n = r.value;
3430
3471
  vt(t, n);
3431
3472
  };
3432
- const ba = {
3473
+ const _a = {
3433
3474
  mounted: Wt,
3434
3475
  beforeUpdate: Ut,
3435
3476
  updated: Gt,
@@ -3438,10 +3479,10 @@ const ba = {
3438
3479
  update: Ut,
3439
3480
  componentUpdated: Gt
3440
3481
  };
3441
- var D = "@@infinitescrollContext", sa = 50, la = 200, ua = 0, fa = {
3482
+ var D = "@@infinitescrollContext", ca = 50, pa = 200, da = 0, va = {
3442
3483
  delay: {
3443
3484
  type: Number,
3444
- default: la
3485
+ default: pa
3445
3486
  },
3446
3487
  disabled: {
3447
3488
  type: Boolean,
@@ -3449,7 +3490,7 @@ var D = "@@infinitescrollContext", sa = 50, la = 200, ua = 0, fa = {
3449
3490
  },
3450
3491
  distance: {
3451
3492
  type: Number,
3452
- default: ua
3493
+ default: da
3453
3494
  },
3454
3495
  immediate: {
3455
3496
  type: Boolean,
@@ -3464,7 +3505,7 @@ var D = "@@infinitescrollContext", sa = 50, la = 200, ua = 0, fa = {
3464
3505
  if (r === Number)
3465
3506
  return Number(t);
3466
3507
  }, ht = function(t, r) {
3467
- return Object.entries(fa).reduce(function(n, o) {
3508
+ return Object.entries(va).reduce(function(n, o) {
3468
3509
  var i = an(o, 2), s = i[0], a = i[1], l = a.type, u = a.default, c = "infinite-scroll-".concat(s), f = r.$el.getAttribute(c), p = t.getAttribute(c), v;
3469
3510
  return (Y(p) && Y(f) || !Y(p)) && (v = qt(p, l, u)), Y(p) && !Y(f) && (v = qt(f, l, u)), n[s] = Number.isNaN(v) ? u : v, n;
3470
3511
  }, {});
@@ -3475,17 +3516,17 @@ var D = "@@infinitescrollContext", sa = 50, la = 200, ua = 0, fa = {
3475
3516
  for (var r = 0, n = t; n; )
3476
3517
  r += n.offsetTop, n = n.offsetParent;
3477
3518
  return r;
3478
- }, ca = function(t, r) {
3519
+ }, ha = function(t, r) {
3479
3520
  return Math.abs(Jt(t) - Jt(r));
3480
- }, pa = function(t, r) {
3521
+ }, ma = function(t, r) {
3481
3522
  var n = t[D], o = n.container, i = n.containerEl, s = n.instance, a = n.observer, l = n.lastScrollTop, u = ht(t, s), c = u.disabled, f = u.distance, p = i.clientHeight, v = i.scrollHeight, d = i.scrollTop, h = d - l;
3482
3523
  if (t[D].lastScrollTop = d, !(a || c || h < 0)) {
3483
3524
  var m = !1;
3484
3525
  if (o === t)
3485
3526
  m = v - (p + d) <= f;
3486
3527
  else {
3487
- var g = t.clientTop, E = t.scrollHeight, S = ca(t, i);
3488
- m = d + p >= S + g + E - f;
3528
+ var g = t.clientTop, _ = t.scrollHeight, S = ha(t, i);
3529
+ m = d + p >= S + g + _ - f;
3489
3530
  }
3490
3531
  m && r.call(s);
3491
3532
  }
@@ -3499,7 +3540,7 @@ var Xt = function(t, r, n) {
3499
3540
  if (typeof i != "function")
3500
3541
  throw new TypeError('[TINY Error][InfiniteScroll] "v-infinite-scroll" binding value must be a function');
3501
3542
  o.$nextTick(function() {
3502
- var s = ht(t, o), a = s.delay, l = s.immediate, u = uo(t, !0), c = u === window ? document.documentElement : u, f = fe(a, pa.bind(null, t, i));
3543
+ var s = ht(t, o), a = s.delay, l = s.immediate, u = uo(t, !0), c = u === window ? document.documentElement : u, f = fe(a, ma.bind(null, t, i));
3503
3544
  if (u) {
3504
3545
  if (t[D] = {
3505
3546
  instance: o,
@@ -3510,7 +3551,7 @@ var Xt = function(t, r, n) {
3510
3551
  onScroll: f,
3511
3552
  lastScrollTop: c.scrollTop
3512
3553
  }, l) {
3513
- var p = new MutationObserver(fe(sa, Xe.bind(null, t, i)));
3554
+ var p = new MutationObserver(fe(ca, Xe.bind(null, t, i)));
3514
3555
  t[D].observer = p, p.observe(t, {
3515
3556
  childList: !0,
3516
3557
  subtree: !0
@@ -3531,7 +3572,7 @@ var Xt = function(t, r, n) {
3531
3572
  var r = t[D], n = r.container, o = r.onScroll;
3532
3573
  n && n.removeEventListener("scroll", o), Jr(t);
3533
3574
  };
3534
- const ya = {
3575
+ const Ea = {
3535
3576
  bind: Xt,
3536
3577
  update: Yt,
3537
3578
  unbind: Zt,
@@ -3539,14 +3580,14 @@ const ya = {
3539
3580
  updated: Yt,
3540
3581
  unmounted: Zt
3541
3582
  };
3542
- var Se = "@@observevisibilityContext", da = function(t) {
3583
+ var Se = "@@observevisibilityContext", ga = function(t) {
3543
3584
  var r;
3544
3585
  return typeof t == "function" ? r = {
3545
3586
  callback: t
3546
3587
  } : r = t, r;
3547
3588
  }, Xr = function(t) {
3548
3589
  var r = t.options, n = t.instance, o = t.state;
3549
- o.observer && Ye(o), !o.frozen && (o.options = da(r), o.callback = function(i, s) {
3590
+ o.observer && Ye(o), !o.frozen && (o.options = ga(r), o.callback = function(i, s) {
3550
3591
  o.options.callback(i, s), i && o.options.once && (o.frozen = !0, Ye(o));
3551
3592
  }, o.callback && o.options.throttle && (o.callback = fe(o.options.throttleDelay || 20, o.callback)), o.observer = new IntersectionObserver(function(i) {
3552
3593
  var s = i[0];
@@ -3562,7 +3603,7 @@ var Se = "@@observevisibilityContext", da = function(t) {
3562
3603
  }));
3563
3604
  }, Ye = function(t) {
3564
3605
  t.observer && (t.observer.disconnect(), t.observer = null), t.callback && (t.callback = null);
3565
- }, va = function(t) {
3606
+ }, ba = function(t) {
3566
3607
  var r = t.el, n = t.options, o = t.instance, i = {
3567
3608
  el: r,
3568
3609
  observer: null,
@@ -3578,7 +3619,7 @@ var Se = "@@observevisibilityContext", da = function(t) {
3578
3619
  if (o) {
3579
3620
  if (typeof IntersectionObserver > "u")
3580
3621
  throw new TypeError("[TINY Error][ObserveVisibility] IntersectionObserver API is not available in your browser");
3581
- i = i || s, t[Se] = va({
3622
+ i = i || s, t[Se] = ba({
3582
3623
  el: t,
3583
3624
  options: o,
3584
3625
  instance: i
@@ -3606,7 +3647,7 @@ var Se = "@@observevisibilityContext", da = function(t) {
3606
3647
  }, Ke = function(t) {
3607
3648
  var r = t[Se];
3608
3649
  r && (Ye(r), delete t[Se]);
3609
- }, wa = {
3650
+ }, Sa = {
3610
3651
  bind: Ze,
3611
3652
  update: Kt,
3612
3653
  unbind: Ke,
@@ -3614,21 +3655,21 @@ var Se = "@@observevisibilityContext", da = function(t) {
3614
3655
  updated: Kt,
3615
3656
  unmounted: Ke
3616
3657
  };
3617
- const xa = function(e, t) {
3658
+ const Oa = function(e, t) {
3618
3659
  var r = 200, n = null, o, i = function() {
3619
3660
  typeof t.value == "function" && t.value.apply();
3620
3661
  }, s = function() {
3621
3662
  Date.now() - o < r && i(), clearInterval(n), n = null;
3622
3663
  };
3623
- _(e, "mousedown", function(a) {
3664
+ E(e, "mousedown", function(a) {
3624
3665
  a.button === 0 && (o = Date.now(), so(document, "mouseup", s), clearInterval(n), n = setInterval(i, r));
3625
3666
  });
3626
3667
  };
3627
3668
  export {
3628
- ma as AutoTip,
3629
- ga as Clickoutside,
3630
- ba as HighlightQuery,
3631
- ya as InfiniteScroll,
3632
- wa as ObserveVisibility,
3633
- xa as RepeatClick
3669
+ wa as AutoTip,
3670
+ xa as Clickoutside,
3671
+ _a as HighlightQuery,
3672
+ Ea as InfiniteScroll,
3673
+ Sa as ObserveVisibility,
3674
+ Oa as RepeatClick
3634
3675
  };