@opentinyvue/vue-runtime 3.31.0 → 3.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +1,33 @@
1
- import { defineComponent as nt, $props as ot, createComponent as it, deduplicateCssClass as en, stringifyCssClass as tn, setup as nr, $prefix as at, hooks as Ve, parseVnode as or, isEmptyVnode as ir, mergeClass as xt, $setup as rn, h as nn } from "@opentinyvue/vue-common";
2
- function je(e, t) {
1
+ import { defineComponent as ot, $props as it, createComponent as at, deduplicateCssClass as tn, stringifyCssClass as rn, setup as or, $prefix as st, hooks as je, parseVnode as ir, isEmptyVnode as ar, mergeClass as _t, $setup as nn, h as on } from "@opentinyvue/vue-common";
2
+ function ze(e, t) {
3
3
  (t == null || t > e.length) && (t = e.length);
4
4
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
5
5
  return n;
6
6
  }
7
- function on(e) {
7
+ function an(e) {
8
8
  if (Array.isArray(e)) return e;
9
9
  }
10
- function an(e) {
11
- if (Array.isArray(e)) return je(e);
10
+ function sn(e) {
11
+ if (Array.isArray(e)) return ze(e);
12
12
  }
13
- function st(e, t) {
13
+ function lt(e, t) {
14
14
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
15
15
  }
16
- function sn(e, t) {
16
+ function ln(e, t) {
17
17
  for (var r = 0; r < t.length; r++) {
18
18
  var n = t[r];
19
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, ar(n.key), n);
19
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, sr(n.key), n);
20
20
  }
21
21
  }
22
- function lt(e, t, r) {
23
- return t && sn(e.prototype, t), Object.defineProperty(e, "prototype", {
22
+ function ut(e, t, r) {
23
+ return t && ln(e.prototype, t), Object.defineProperty(e, "prototype", {
24
24
  writable: !1
25
25
  }), e;
26
26
  }
27
- function ln(e, t) {
27
+ function un(e, t) {
28
28
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
29
29
  if (!r) {
30
- if (Array.isArray(e) || (r = ut(e)) || t) {
30
+ if (Array.isArray(e) || (r = ft(e)) || t) {
31
31
  r && (e = r);
32
32
  var n = 0, o = function() {
33
33
  };
@@ -72,17 +72,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
72
72
  };
73
73
  }
74
74
  function $(e, t, r) {
75
- return (t = ar(t)) in e ? Object.defineProperty(e, t, {
75
+ return (t = sr(t)) in e ? Object.defineProperty(e, t, {
76
76
  value: r,
77
77
  enumerable: !0,
78
78
  configurable: !0,
79
79
  writable: !0
80
80
  }) : e[t] = r, e;
81
81
  }
82
- function un(e) {
82
+ function fn(e) {
83
83
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
84
84
  }
85
- function fn(e, t) {
85
+ function cn(e, t) {
86
86
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
87
87
  if (r != null) {
88
88
  var n, o, i, s, a = [], l = !0, u = !1;
@@ -100,15 +100,15 @@ function fn(e, t) {
100
100
  return a;
101
101
  }
102
102
  }
103
- function cn() {
103
+ function pn() {
104
104
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
105
105
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
106
106
  }
107
- function pn() {
107
+ function dn() {
108
108
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
109
109
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
110
110
  }
111
- function _t(e, t) {
111
+ function Et(e, t) {
112
112
  var r = Object.keys(e);
113
113
  if (Object.getOwnPropertySymbols) {
114
114
  var n = Object.getOwnPropertySymbols(e);
@@ -121,21 +121,21 @@ function _t(e, t) {
121
121
  function ee(e) {
122
122
  for (var t = 1; t < arguments.length; t++) {
123
123
  var r = arguments[t] != null ? arguments[t] : {};
124
- t % 2 ? _t(Object(r), !0).forEach(function(n) {
124
+ t % 2 ? Et(Object(r), !0).forEach(function(n) {
125
125
  $(e, n, r[n]);
126
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : _t(Object(r)).forEach(function(n) {
126
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Et(Object(r)).forEach(function(n) {
127
127
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
128
128
  });
129
129
  }
130
130
  return e;
131
131
  }
132
- function dn(e, t) {
133
- return on(e) || fn(e, t) || ut(e, t) || cn();
132
+ function vn(e, t) {
133
+ return an(e) || cn(e, t) || ft(e, t) || pn();
134
134
  }
135
- function ue(e) {
136
- return an(e) || un(e) || ut(e) || pn();
135
+ function fe(e) {
136
+ return sn(e) || fn(e) || ft(e) || dn();
137
137
  }
138
- function vn(e, t) {
138
+ function hn(e, t) {
139
139
  if (typeof e != "object" || !e) return e;
140
140
  var r = e[Symbol.toPrimitive];
141
141
  if (r !== void 0) {
@@ -145,44 +145,44 @@ function vn(e, t) {
145
145
  }
146
146
  return String(e);
147
147
  }
148
- function ar(e) {
149
- var t = vn(e, "string");
148
+ function sr(e) {
149
+ var t = hn(e, "string");
150
150
  return typeof t == "symbol" ? t : t + "";
151
151
  }
152
- function we(e) {
152
+ function xe(e) {
153
153
  "@babel/helpers - typeof";
154
- return we = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
154
+ return xe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
155
155
  return typeof t;
156
156
  } : function(t) {
157
157
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
158
- }, we(e);
158
+ }, xe(e);
159
159
  }
160
- function ut(e, t) {
160
+ function ft(e, t) {
161
161
  if (e) {
162
- if (typeof e == "string") return je(e, t);
162
+ if (typeof e == "string") return ze(e, t);
163
163
  var r = {}.toString.call(e).slice(8, -1);
164
- return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? je(e, t) : void 0;
164
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? ze(e, t) : void 0;
165
165
  }
166
166
  }
167
- var ze = { exports: {} }, x = {}, He = { exports: {} }, X = {};
168
- function sr() {
167
+ var He = { exports: {} }, x = {}, $e = { exports: {} }, X = {};
168
+ function lr() {
169
169
  var e = {};
170
170
  return e["align-content"] = !1, e["align-items"] = !1, e["align-self"] = !1, e["alignment-adjust"] = !1, e["alignment-baseline"] = !1, e.all = !1, e["anchor-point"] = !1, e.animation = !1, e["animation-delay"] = !1, e["animation-direction"] = !1, e["animation-duration"] = !1, e["animation-fill-mode"] = !1, e["animation-iteration-count"] = !1, e["animation-name"] = !1, e["animation-play-state"] = !1, e["animation-timing-function"] = !1, e.azimuth = !1, e["backface-visibility"] = !1, e.background = !0, e["background-attachment"] = !0, e["background-clip"] = !0, e["background-color"] = !0, e["background-image"] = !0, e["background-origin"] = !0, e["background-position"] = !0, e["background-repeat"] = !0, e["background-size"] = !0, e["baseline-shift"] = !1, e.binding = !1, e.bleed = !1, e["bookmark-label"] = !1, e["bookmark-level"] = !1, e["bookmark-state"] = !1, e.border = !0, e["border-bottom"] = !0, e["border-bottom-color"] = !0, e["border-bottom-left-radius"] = !0, e["border-bottom-right-radius"] = !0, e["border-bottom-style"] = !0, e["border-bottom-width"] = !0, e["border-collapse"] = !0, e["border-color"] = !0, e["border-image"] = !0, e["border-image-outset"] = !0, e["border-image-repeat"] = !0, e["border-image-slice"] = !0, e["border-image-source"] = !0, e["border-image-width"] = !0, e["border-left"] = !0, e["border-left-color"] = !0, e["border-left-style"] = !0, e["border-left-width"] = !0, e["border-radius"] = !0, e["border-right"] = !0, e["border-right-color"] = !0, e["border-right-style"] = !0, e["border-right-width"] = !0, e["border-spacing"] = !0, e["border-style"] = !0, e["border-top"] = !0, e["border-top-color"] = !0, e["border-top-left-radius"] = !0, e["border-top-right-radius"] = !0, e["border-top-style"] = !0, e["border-top-width"] = !0, e["border-width"] = !0, e.bottom = !1, e["box-decoration-break"] = !0, e["box-shadow"] = !0, e["box-sizing"] = !0, e["box-snap"] = !0, e["box-suppress"] = !0, e["break-after"] = !0, e["break-before"] = !0, e["break-inside"] = !0, e["caption-side"] = !1, e.chains = !1, e.clear = !0, e.clip = !1, e["clip-path"] = !1, e["clip-rule"] = !1, e.color = !0, e["color-interpolation-filters"] = !0, e["column-count"] = !1, e["column-fill"] = !1, e["column-gap"] = !1, e["column-rule"] = !1, e["column-rule-color"] = !1, e["column-rule-style"] = !1, e["column-rule-width"] = !1, e["column-span"] = !1, e["column-width"] = !1, e.columns = !1, e.contain = !1, e.content = !1, e["counter-increment"] = !1, e["counter-reset"] = !1, e["counter-set"] = !1, e.crop = !1, e.cue = !1, e["cue-after"] = !1, e["cue-before"] = !1, e.cursor = !1, e.direction = !1, e.display = !0, e["display-inside"] = !0, e["display-list"] = !0, e["display-outside"] = !0, e["dominant-baseline"] = !1, e.elevation = !1, e["empty-cells"] = !1, e.filter = !1, e.flex = !1, e["flex-basis"] = !1, e["flex-direction"] = !1, e["flex-flow"] = !1, e["flex-grow"] = !1, e["flex-shrink"] = !1, e["flex-wrap"] = !1, e.float = !1, e["float-offset"] = !1, e["flood-color"] = !1, e["flood-opacity"] = !1, e["flow-from"] = !1, e["flow-into"] = !1, e.font = !0, e["font-family"] = !0, e["font-feature-settings"] = !0, e["font-kerning"] = !0, e["font-language-override"] = !0, e["font-size"] = !0, e["font-size-adjust"] = !0, e["font-stretch"] = !0, e["font-style"] = !0, e["font-synthesis"] = !0, e["font-variant"] = !0, e["font-variant-alternates"] = !0, e["font-variant-caps"] = !0, e["font-variant-east-asian"] = !0, e["font-variant-ligatures"] = !0, e["font-variant-numeric"] = !0, e["font-variant-position"] = !0, e["font-weight"] = !0, e.grid = !1, e["grid-area"] = !1, e["grid-auto-columns"] = !1, e["grid-auto-flow"] = !1, e["grid-auto-rows"] = !1, e["grid-column"] = !1, e["grid-column-end"] = !1, e["grid-column-start"] = !1, e["grid-row"] = !1, e["grid-row-end"] = !1, e["grid-row-start"] = !1, e["grid-template"] = !1, e["grid-template-areas"] = !1, e["grid-template-columns"] = !1, e["grid-template-rows"] = !1, e["hanging-punctuation"] = !1, e.height = !0, e.hyphens = !1, e.icon = !1, e["image-orientation"] = !1, e["image-resolution"] = !1, e["ime-mode"] = !1, e["initial-letters"] = !1, e["inline-box-align"] = !1, e["justify-content"] = !1, e["justify-items"] = !1, e["justify-self"] = !1, e.left = !1, e["letter-spacing"] = !0, e["lighting-color"] = !0, e["line-box-contain"] = !1, e["line-break"] = !1, e["line-grid"] = !1, e["line-height"] = !1, e["line-snap"] = !1, e["line-stacking"] = !1, e["line-stacking-ruby"] = !1, e["line-stacking-shift"] = !1, e["line-stacking-strategy"] = !1, e["list-style"] = !0, e["list-style-image"] = !0, e["list-style-position"] = !0, e["list-style-type"] = !0, e.margin = !0, e["margin-bottom"] = !0, e["margin-left"] = !0, e["margin-right"] = !0, e["margin-top"] = !0, e["marker-offset"] = !1, e["marker-side"] = !1, e.marks = !1, e.mask = !1, e["mask-box"] = !1, e["mask-box-outset"] = !1, e["mask-box-repeat"] = !1, e["mask-box-slice"] = !1, e["mask-box-source"] = !1, e["mask-box-width"] = !1, e["mask-clip"] = !1, e["mask-image"] = !1, e["mask-origin"] = !1, e["mask-position"] = !1, e["mask-repeat"] = !1, e["mask-size"] = !1, e["mask-source-type"] = !1, e["mask-type"] = !1, e["max-height"] = !0, e["max-lines"] = !1, e["max-width"] = !0, e["min-height"] = !0, e["min-width"] = !0, e["move-to"] = !1, e["nav-down"] = !1, e["nav-index"] = !1, e["nav-left"] = !1, e["nav-right"] = !1, e["nav-up"] = !1, e["object-fit"] = !1, e["object-position"] = !1, e.opacity = !1, e.order = !1, e.orphans = !1, e.outline = !1, e["outline-color"] = !1, e["outline-offset"] = !1, e["outline-style"] = !1, e["outline-width"] = !1, e.overflow = !1, e["overflow-wrap"] = !1, e["overflow-x"] = !1, e["overflow-y"] = !1, e.padding = !0, e["padding-bottom"] = !0, e["padding-left"] = !0, e["padding-right"] = !0, e["padding-top"] = !0, e.page = !1, e["page-break-after"] = !1, e["page-break-before"] = !1, e["page-break-inside"] = !1, e["page-policy"] = !1, e.pause = !1, e["pause-after"] = !1, e["pause-before"] = !1, e.perspective = !1, e["perspective-origin"] = !1, e.pitch = !1, e["pitch-range"] = !1, e["play-during"] = !1, e.position = !1, e["presentation-level"] = !1, e.quotes = !1, e["region-fragment"] = !1, e.resize = !1, e.rest = !1, e["rest-after"] = !1, e["rest-before"] = !1, e.richness = !1, e.right = !1, e.rotation = !1, e["rotation-point"] = !1, e["ruby-align"] = !1, e["ruby-merge"] = !1, e["ruby-position"] = !1, e["shape-image-threshold"] = !1, e["shape-outside"] = !1, e["shape-margin"] = !1, e.size = !1, e.speak = !1, e["speak-as"] = !1, e["speak-header"] = !1, e["speak-numeral"] = !1, e["speak-punctuation"] = !1, e["speech-rate"] = !1, e.stress = !1, e["string-set"] = !1, e["tab-size"] = !1, e["table-layout"] = !1, e["text-align"] = !0, e["text-align-last"] = !0, e["text-combine-upright"] = !0, e["text-decoration"] = !0, e["text-decoration-color"] = !0, e["text-decoration-line"] = !0, e["text-decoration-skip"] = !0, e["text-decoration-style"] = !0, e["text-emphasis"] = !0, e["text-emphasis-color"] = !0, e["text-emphasis-position"] = !0, e["text-emphasis-style"] = !0, e["text-height"] = !0, e["text-indent"] = !0, e["text-justify"] = !0, e["text-orientation"] = !0, e["text-overflow"] = !0, e["text-shadow"] = !0, e["text-space-collapse"] = !0, e["text-transform"] = !0, e["text-underline-position"] = !0, e["text-wrap"] = !0, e.top = !1, e.transform = !1, e["transform-origin"] = !1, e["transform-style"] = !1, e.transition = !1, e["transition-delay"] = !1, e["transition-duration"] = !1, e["transition-property"] = !1, e["transition-timing-function"] = !1, e["unicode-bidi"] = !1, e["vertical-align"] = !1, e.visibility = !1, e["voice-balance"] = !1, e["voice-duration"] = !1, e["voice-family"] = !1, e["voice-pitch"] = !1, e["voice-range"] = !1, e["voice-rate"] = !1, e["voice-stress"] = !1, e["voice-volume"] = !1, e.volume = !1, e["white-space"] = !1, e.widows = !1, e.width = !0, e["will-change"] = !1, e["word-break"] = !0, e["word-spacing"] = !0, e["word-wrap"] = !0, e["wrap-flow"] = !1, e["wrap-through"] = !1, e["writing-mode"] = !1, e["z-index"] = !1, e;
171
171
  }
172
- function hn(e, t, r) {
173
- }
174
172
  function mn(e, t, r) {
175
173
  }
176
- var gn = /javascript\s*\:/img;
177
- function bn(e, t) {
178
- return gn.test(t) ? "" : t;
174
+ function gn(e, t, r) {
175
+ }
176
+ var bn = /javascript\s*\:/img;
177
+ function yn(e, t) {
178
+ return bn.test(t) ? "" : t;
179
179
  }
180
- X.whiteList = sr();
181
- X.getDefaultWhiteList = sr;
182
- X.onAttr = hn;
183
- X.onIgnoreAttr = mn;
184
- X.safeAttrValue = bn;
185
- var yn = {
180
+ X.whiteList = lr();
181
+ X.getDefaultWhiteList = lr;
182
+ X.onAttr = mn;
183
+ X.onIgnoreAttr = gn;
184
+ X.safeAttrValue = yn;
185
+ var wn = {
186
186
  indexOf: function(t, r) {
187
187
  var n, o;
188
188
  if (Array.prototype.indexOf)
@@ -205,18 +205,18 @@ var yn = {
205
205
  trimRight: function(t) {
206
206
  return String.prototype.trimRight ? t.trimRight() : t.replace(/(\s*$)/g, "");
207
207
  }
208
- }, ne = yn;
209
- function wn(e, t) {
208
+ }, ne = wn;
209
+ function xn(e, t) {
210
210
  e = ne.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
211
211
  var r = e.length, n = !1, o = 0, i = 0, s = "";
212
212
  function a() {
213
213
  if (!n) {
214
214
  var c = ne.trim(e.slice(o, i)), f = c.indexOf(":");
215
215
  if (f !== -1) {
216
- var p = ne.trim(c.slice(0, f)), v = ne.trim(c.slice(f + 1));
216
+ var p = ne.trim(c.slice(0, f)), d = ne.trim(c.slice(f + 1));
217
217
  if (p) {
218
- var d = t(o, s.length, p, v, c);
219
- d && (s += d + "; ");
218
+ var v = t(o, s.length, p, d, c);
219
+ v && (s += v + "; ");
220
220
  }
221
221
  }
222
222
  }
@@ -233,45 +233,45 @@ function wn(e, t) {
233
233
  }
234
234
  return ne.trim(s);
235
235
  }
236
- var xn = wn, ce = X, _n = xn;
237
- function Et(e) {
236
+ var _n = xn, pe = X, En = _n;
237
+ function St(e) {
238
238
  return e == null;
239
239
  }
240
- function En(e) {
240
+ function Sn(e) {
241
241
  var t = {};
242
242
  for (var r in e)
243
243
  t[r] = e[r];
244
244
  return t;
245
245
  }
246
- function lr(e) {
247
- e = En(e || {}), e.whiteList = e.whiteList || ce.whiteList, e.onAttr = e.onAttr || ce.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || ce.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || ce.safeAttrValue, this.options = e;
246
+ function ur(e) {
247
+ e = Sn(e || {}), e.whiteList = e.whiteList || pe.whiteList, e.onAttr = e.onAttr || pe.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || pe.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || pe.safeAttrValue, this.options = e;
248
248
  }
249
- lr.prototype.process = function(e) {
249
+ ur.prototype.process = function(e) {
250
250
  if (e = e || "", e = e.toString(), !e) return "";
251
- var t = this, r = t.options, n = r.whiteList, o = r.onAttr, i = r.onIgnoreAttr, s = r.safeAttrValue, a = _n(e, function(l, u, c, f, p) {
252
- var v = n[c], d = !1;
253
- if (v === !0 ? d = v : typeof v == "function" ? d = v(f) : v instanceof RegExp && (d = v.test(f)), d !== !0 && (d = !1), f = s(c, f), !!f) {
251
+ var t = this, r = t.options, n = r.whiteList, o = r.onAttr, i = r.onIgnoreAttr, s = r.safeAttrValue, a = En(e, function(l, u, c, f, p) {
252
+ var d = n[c], v = !1;
253
+ if (d === !0 ? v = d : typeof d == "function" ? v = d(f) : d instanceof RegExp && (v = d.test(f)), v !== !0 && (v = !1), f = s(c, f), !!f) {
254
254
  var h = {
255
255
  position: u,
256
256
  sourcePosition: l,
257
257
  source: p,
258
- isWhite: d
258
+ isWhite: v
259
259
  };
260
- if (d) {
260
+ if (v) {
261
261
  var m = o(c, f, h);
262
- return Et(m) ? c + ":" + f : m;
262
+ return St(m) ? c + ":" + f : m;
263
263
  } else {
264
264
  var m = i(c, f, h);
265
- if (!Et(m))
265
+ if (!St(m))
266
266
  return m;
267
267
  }
268
268
  }
269
269
  });
270
270
  return a;
271
271
  };
272
- var Sn = lr;
272
+ var On = ur;
273
273
  (function(e, t) {
274
- var r = X, n = Sn;
274
+ var r = X, n = On;
275
275
  function o(s, a) {
276
276
  var l = new n(a);
277
277
  return l.process(s);
@@ -279,8 +279,8 @@ var Sn = lr;
279
279
  t = e.exports = o, t.FilterCSS = n;
280
280
  for (var i in r) t[i] = r[i];
281
281
  typeof window < "u" && (window.filterCSS = e.exports);
282
- })(He, He.exports);
283
- var ft = He.exports, ct = {
282
+ })($e, $e.exports);
283
+ var ct = $e.exports, pt = {
284
284
  indexOf: function(t, r) {
285
285
  var n, o;
286
286
  if (Array.prototype.indexOf)
@@ -304,8 +304,8 @@ var ft = He.exports, ct = {
304
304
  var r = /\s|\n|\t/, n = r.exec(t);
305
305
  return n ? n.index : -1;
306
306
  }
307
- }, On = ft.FilterCSS, Tn = ft.getDefaultWhiteList, xe = ct;
308
- function ur() {
307
+ }, Tn = ct.FilterCSS, An = ct.getDefaultWhiteList, _e = pt;
308
+ function fr() {
309
309
  return {
310
310
  a: ["target", "href", "title"],
311
311
  abbr: ["title"],
@@ -376,68 +376,68 @@ function ur() {
376
376
  video: ["autoplay", "controls", "crossorigin", "loop", "muted", "playsinline", "poster", "preload", "src", "height", "width"]
377
377
  };
378
378
  }
379
- var fr = new On();
380
- function An(e, t, r) {
381
- }
379
+ var cr = new Tn();
382
380
  function kn(e, t, r) {
383
381
  }
384
382
  function Cn(e, t, r) {
385
383
  }
386
384
  function Pn(e, t, r) {
387
385
  }
388
- function cr(e) {
389
- return e.replace(In, "&lt;").replace(Fn, "&gt;");
386
+ function Rn(e, t, r) {
390
387
  }
391
- function Rn(e, t, r, n) {
392
- if (r = gr(r), t === "href" || t === "src") {
393
- if (r = xe.trim(r), r === "#") return "#";
388
+ function pr(e) {
389
+ return e.replace(Mn, "&lt;").replace(Fn, "&gt;");
390
+ }
391
+ function In(e, t, r, n) {
392
+ if (r = br(r), t === "href" || t === "src") {
393
+ if (r = _e.trim(r), r === "#") return "#";
394
394
  if (!(r.substr(0, 7) === "http://" || r.substr(0, 8) === "https://" || r.substr(0, 7) === "mailto:" || r.substr(0, 4) === "tel:" || r.substr(0, 11) === "data:image/" || r.substr(0, 6) === "ftp://" || r.substr(0, 2) === "./" || r.substr(0, 3) === "../" || r[0] === "#" || r[0] === "/"))
395
395
  return "";
396
396
  } else if (t === "background") {
397
- if (pe.lastIndex = 0, pe.test(r))
397
+ if (de.lastIndex = 0, de.test(r))
398
398
  return "";
399
399
  } else if (t === "style") {
400
- if (St.lastIndex = 0, St.test(r) || (Ot.lastIndex = 0, Ot.test(r) && (pe.lastIndex = 0, pe.test(r))))
400
+ if (Ot.lastIndex = 0, Ot.test(r) || (Tt.lastIndex = 0, Tt.test(r) && (de.lastIndex = 0, de.test(r))))
401
401
  return "";
402
- n !== !1 && (n = n || fr, r = n.process(r));
402
+ n !== !1 && (n = n || cr, r = n.process(r));
403
403
  }
404
- return r = br(r), r;
405
- }
406
- var In = /</g, Fn = />/g, Mn = /"/g, Bn = /&quot;/g, Nn = /&#([a-zA-Z0-9]*);?/gim, Dn = /&colon;?/gim, Ln = /&newline;?/gim, pe = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, St = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, Ot = /u\s*r\s*l\s*\(.*/gi;
407
- function pr(e) {
408
- return e.replace(Mn, "&quot;");
404
+ return r = yr(r), r;
409
405
  }
406
+ var Mn = /</g, Fn = />/g, Bn = /"/g, Nn = /&quot;/g, Dn = /&#([a-zA-Z0-9]*);?/gim, Ln = /&colon;?/gim, Vn = /&newline;?/gim, de = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, Ot = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, Tt = /u\s*r\s*l\s*\(.*/gi;
410
407
  function dr(e) {
411
- return e.replace(Bn, '"');
408
+ return e.replace(Bn, "&quot;");
412
409
  }
413
410
  function vr(e) {
414
- return e.replace(Nn, function(r, n) {
415
- return n[0] === "x" || n[0] === "X" ? String.fromCharCode(parseInt(n.substr(1), 16)) : String.fromCharCode(parseInt(n, 10));
416
- });
411
+ return e.replace(Nn, '"');
417
412
  }
418
413
  function hr(e) {
419
- return e.replace(Dn, ":").replace(Ln, " ");
414
+ return e.replace(Dn, function(r, n) {
415
+ return n[0] === "x" || n[0] === "X" ? String.fromCharCode(parseInt(n.substr(1), 16)) : String.fromCharCode(parseInt(n, 10));
416
+ });
420
417
  }
421
418
  function mr(e) {
422
- for (var t = "", r = 0, n = e.length; r < n; r++)
423
- t += e.charCodeAt(r) < 32 ? " " : e.charAt(r);
424
- return xe.trim(t);
419
+ return e.replace(Ln, ":").replace(Vn, " ");
425
420
  }
426
421
  function gr(e) {
427
- return e = dr(e), e = vr(e), e = hr(e), e = mr(e), e;
422
+ for (var t = "", r = 0, n = e.length; r < n; r++)
423
+ t += e.charCodeAt(r) < 32 ? " " : e.charAt(r);
424
+ return _e.trim(t);
428
425
  }
429
426
  function br(e) {
430
- return e = pr(e), e = cr(e), e;
427
+ return e = vr(e), e = hr(e), e = mr(e), e = gr(e), e;
428
+ }
429
+ function yr(e) {
430
+ return e = dr(e), e = pr(e), e;
431
431
  }
432
- function Vn() {
432
+ function jn() {
433
433
  return "";
434
434
  }
435
- function jn(e, t) {
435
+ function zn(e, t) {
436
436
  typeof t != "function" && (t = function() {
437
437
  });
438
438
  var r = !Array.isArray(e);
439
439
  function n(s) {
440
- return r ? !0 : xe.indexOf(e, s) !== -1;
440
+ return r ? !0 : _e.indexOf(e, s) !== -1;
441
441
  }
442
442
  var o = [], i = !1;
443
443
  return {
@@ -453,13 +453,13 @@ function jn(e, t) {
453
453
  },
454
454
  remove: function(a) {
455
455
  var l = "", u = 0;
456
- return xe.forEach(o, function(c) {
456
+ return _e.forEach(o, function(c) {
457
457
  l += a.slice(u, c[0]), u = c[1];
458
458
  }), l += a.slice(u), l;
459
459
  }
460
460
  };
461
461
  }
462
- function zn(e) {
462
+ function Hn(e) {
463
463
  for (var t = "", r = 0; r < e.length; ) {
464
464
  var n = e.indexOf("<!--", r);
465
465
  if (n === -1) {
@@ -474,43 +474,43 @@ function zn(e) {
474
474
  }
475
475
  return t;
476
476
  }
477
- function Hn(e) {
477
+ function $n(e) {
478
478
  var t = e.split("");
479
479
  return t = t.filter(function(r) {
480
480
  var n = r.charCodeAt(0);
481
481
  return n === 127 ? !1 : n <= 31 ? n === 10 || n === 13 : !0;
482
482
  }), t.join("");
483
483
  }
484
- x.whiteList = ur();
485
- x.getDefaultWhiteList = ur;
486
- x.onTag = An;
487
- x.onIgnoreTag = kn;
488
- x.onTagAttr = Cn;
489
- x.onIgnoreTagAttr = Pn;
490
- x.safeAttrValue = Rn;
491
- x.escapeHtml = cr;
492
- x.escapeQuote = pr;
493
- x.unescapeQuote = dr;
494
- x.escapeHtmlEntities = vr;
495
- x.escapeDangerHtml5Entities = hr;
496
- x.clearNonPrintableCharacter = mr;
497
- x.friendlyAttrValue = gr;
498
- x.escapeAttrValue = br;
499
- x.onIgnoreTagStripAll = Vn;
500
- x.StripTagBody = jn;
501
- x.stripCommentTag = zn;
502
- x.stripBlankChar = Hn;
503
- x.cssFilter = fr;
504
- x.getDefaultCSSWhiteList = Tn;
505
- var Te = {}, z = ct;
506
- function $n(e) {
484
+ x.whiteList = fr();
485
+ x.getDefaultWhiteList = fr;
486
+ x.onTag = kn;
487
+ x.onIgnoreTag = Cn;
488
+ x.onTagAttr = Pn;
489
+ x.onIgnoreTagAttr = Rn;
490
+ x.safeAttrValue = In;
491
+ x.escapeHtml = pr;
492
+ x.escapeQuote = dr;
493
+ x.unescapeQuote = vr;
494
+ x.escapeHtmlEntities = hr;
495
+ x.escapeDangerHtml5Entities = mr;
496
+ x.clearNonPrintableCharacter = gr;
497
+ x.friendlyAttrValue = br;
498
+ x.escapeAttrValue = yr;
499
+ x.onIgnoreTagStripAll = jn;
500
+ x.StripTagBody = zn;
501
+ x.stripCommentTag = Hn;
502
+ x.stripBlankChar = $n;
503
+ x.cssFilter = cr;
504
+ x.getDefaultCSSWhiteList = An;
505
+ var Ae = {}, z = pt;
506
+ function Wn(e) {
507
507
  var t = z.spaceIndex(e), r;
508
508
  return t === -1 ? r = e.slice(1, -1) : r = e.slice(1, t + 1), r = z.trim(r).toLowerCase(), r.slice(0, 1) === "/" && (r = r.slice(1)), r.slice(-1) === "/" && (r = r.slice(0, -1)), r;
509
509
  }
510
- function Wn(e) {
510
+ function Un(e) {
511
511
  return e.slice(0, 2) === "</";
512
512
  }
513
- function Un(e, t, r) {
513
+ function Gn(e, t, r) {
514
514
  var n = "", o = 0, i = !1, s = !1, a = 0, l = e.length, u = "", c = "";
515
515
  e: for (a = 0; a < l; a++) {
516
516
  var f = e.charAt(a);
@@ -525,16 +525,16 @@ function Un(e, t, r) {
525
525
  continue;
526
526
  }
527
527
  if (f === ">" || a === l - 1) {
528
- n += r(e.slice(o, i)), c = e.slice(i, a + 1), u = $n(c), n += t(i, n.length, u, c, Wn(c)), o = a + 1, i = !1;
528
+ n += r(e.slice(o, i)), c = e.slice(i, a + 1), u = Wn(c), n += t(i, n.length, u, c, Un(c)), o = a + 1, i = !1;
529
529
  continue;
530
530
  }
531
531
  if (f === '"' || f === "'")
532
- for (var p = 1, v = e.charAt(a - p); v.trim() === "" || v === "="; ) {
533
- if (v === "=") {
532
+ for (var p = 1, d = e.charAt(a - p); d.trim() === "" || d === "="; ) {
533
+ if (d === "=") {
534
534
  s = f;
535
535
  continue e;
536
536
  }
537
- v = e.charAt(a - ++p);
537
+ d = e.charAt(a - ++p);
538
538
  }
539
539
  } else if (f === s) {
540
540
  s = !1;
@@ -543,19 +543,19 @@ function Un(e, t, r) {
543
543
  }
544
544
  return o < l && (n += r(e.substr(o))), n;
545
545
  }
546
- var Gn = /[^a-zA-Z0-9\\_:.-]/gim;
547
- function qn(e, t) {
546
+ var qn = /[^a-zA-Z0-9\\_:.-]/gim;
547
+ function Jn(e, t) {
548
548
  var r = 0, n = 0, o = [], i = !1, s = e.length;
549
- function a(p, v) {
550
- if (p = z.trim(p), p = p.replace(Gn, "").toLowerCase(), !(p.length < 1)) {
551
- var d = t(p, v || "");
552
- d && o.push(d);
549
+ function a(p, d) {
550
+ if (p = z.trim(p), p = p.replace(qn, "").toLowerCase(), !(p.length < 1)) {
551
+ var v = t(p, d || "");
552
+ v && o.push(v);
553
553
  }
554
554
  }
555
555
  for (var l = 0; l < s; l++) {
556
556
  var u = e.charAt(l), c, f;
557
557
  if (i === !1 && u === "=") {
558
- i = e.slice(r, l), r = l + 1, n = e.charAt(r) === '"' || e.charAt(r) === "'" ? r : Xn(e, l + 1);
558
+ i = e.slice(r, l), r = l + 1, n = e.charAt(r) === '"' || e.charAt(r) === "'" ? r : Yn(e, l + 1);
559
559
  continue;
560
560
  }
561
561
  if (i !== !1 && l === n) {
@@ -566,75 +566,75 @@ function qn(e, t) {
566
566
  }
567
567
  if (/\s|\n|\t/.test(u))
568
568
  if (e = e.replace(/\s|\n|\t/g, " "), i === !1)
569
- if (f = Jn(e, l), f === -1) {
569
+ if (f = Xn(e, l), f === -1) {
570
570
  c = z.trim(e.slice(r, l)), a(c), i = !1, r = l + 1;
571
571
  continue;
572
572
  } else {
573
573
  l = f - 1;
574
574
  continue;
575
575
  }
576
- else if (f = Yn(e, l - 1), f === -1) {
577
- c = z.trim(e.slice(r, l)), c = Tt(c), a(i, c), i = !1, r = l + 1;
576
+ else if (f = Zn(e, l - 1), f === -1) {
577
+ c = z.trim(e.slice(r, l)), c = At(c), a(i, c), i = !1, r = l + 1;
578
578
  continue;
579
579
  } else
580
580
  continue;
581
581
  }
582
- return r < e.length && (i === !1 ? a(e.slice(r)) : a(i, Tt(z.trim(e.slice(r))))), z.trim(o.join(" "));
582
+ return r < e.length && (i === !1 ? a(e.slice(r)) : a(i, At(z.trim(e.slice(r))))), z.trim(o.join(" "));
583
583
  }
584
- function Jn(e, t) {
584
+ function Xn(e, t) {
585
585
  for (; t < e.length; t++) {
586
586
  var r = e[t];
587
587
  if (r !== " ")
588
588
  return r === "=" ? t : -1;
589
589
  }
590
590
  }
591
- function Xn(e, t) {
591
+ function Yn(e, t) {
592
592
  for (; t < e.length; t++) {
593
593
  var r = e[t];
594
594
  if (r !== " ")
595
595
  return r === "'" || r === '"' ? t : -1;
596
596
  }
597
597
  }
598
- function Yn(e, t) {
598
+ function Zn(e, t) {
599
599
  for (; t > 0; t--) {
600
600
  var r = e[t];
601
601
  if (r !== " ")
602
602
  return r === "=" ? t : -1;
603
603
  }
604
604
  }
605
- function Zn(e) {
605
+ function Kn(e) {
606
606
  return e[0] === '"' && e[e.length - 1] === '"' || e[0] === "'" && e[e.length - 1] === "'";
607
607
  }
608
- function Tt(e) {
609
- return Zn(e) ? e.substr(1, e.length - 2) : e;
608
+ function At(e) {
609
+ return Kn(e) ? e.substr(1, e.length - 2) : e;
610
610
  }
611
- Te.parseTag = Un;
612
- Te.parseAttr = qn;
613
- var Kn = ft.FilterCSS, B = x, yr = Te, Qn = yr.parseTag, eo = yr.parseAttr, ge = ct;
614
- function de(e) {
611
+ Ae.parseTag = Gn;
612
+ Ae.parseAttr = Jn;
613
+ var Qn = ct.FilterCSS, B = x, wr = Ae, eo = wr.parseTag, to = wr.parseAttr, be = pt;
614
+ function ve(e) {
615
615
  return e == null;
616
616
  }
617
- function to(e) {
618
- var t = ge.spaceIndex(e);
617
+ function ro(e) {
618
+ var t = be.spaceIndex(e);
619
619
  if (t === -1)
620
620
  return {
621
621
  html: "",
622
622
  closing: e[e.length - 2] === "/"
623
623
  };
624
- e = ge.trim(e.slice(t + 1, -1));
624
+ e = be.trim(e.slice(t + 1, -1));
625
625
  var r = e[e.length - 1] === "/";
626
- return r && (e = ge.trim(e.slice(0, -1))), {
626
+ return r && (e = be.trim(e.slice(0, -1))), {
627
627
  html: e,
628
628
  closing: r
629
629
  };
630
630
  }
631
- function ro(e) {
631
+ function no(e) {
632
632
  var t = {};
633
633
  for (var r in e)
634
634
  t[r] = e[r];
635
635
  return t;
636
636
  }
637
- function no(e) {
637
+ function oo(e) {
638
638
  var t = {};
639
639
  for (var r in e)
640
640
  Array.isArray(e[r]) ? t[r.toLowerCase()] = e[r].map(function(n) {
@@ -642,39 +642,39 @@ function no(e) {
642
642
  }) : t[r.toLowerCase()] = e[r];
643
643
  return t;
644
644
  }
645
- function wr(e) {
646
- e = ro(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'), e.onIgnoreTag = B.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = no(e.whiteList || e.allowList) : e.whiteList = B.whiteList, e.onTag = e.onTag || B.onTag, e.onTagAttr = e.onTagAttr || B.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || B.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || B.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || B.safeAttrValue, e.escapeHtml = e.escapeHtml || B.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new Kn(e.css));
645
+ function xr(e) {
646
+ e = no(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'), e.onIgnoreTag = B.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = oo(e.whiteList || e.allowList) : e.whiteList = B.whiteList, e.onTag = e.onTag || B.onTag, e.onTagAttr = e.onTagAttr || B.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || B.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || B.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || B.safeAttrValue, e.escapeHtml = e.escapeHtml || B.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new Qn(e.css));
647
647
  }
648
- wr.prototype.process = function(e) {
648
+ xr.prototype.process = function(e) {
649
649
  if (e = e || "", e = e.toString(), !e) return "";
650
650
  var t = this, r = t.options, n = r.whiteList, o = r.onTag, i = r.onIgnoreTag, s = r.onTagAttr, a = r.onIgnoreTagAttr, l = r.safeAttrValue, u = r.escapeHtml, c = t.cssFilter;
651
651
  r.stripBlankChar && (e = B.stripBlankChar(e)), r.allowCommentTag || (e = B.stripCommentTag(e));
652
652
  var f = !1;
653
653
  r.stripIgnoreTagBody && (f = B.StripTagBody(r.stripIgnoreTagBody, i), i = f.onIgnoreTag);
654
- var p = Qn(e, function(v, d, h, m, g) {
654
+ var p = eo(e, function(d, v, h, m, g) {
655
655
  var _ = {
656
- sourcePosition: v,
657
- position: d,
656
+ sourcePosition: d,
657
+ position: v,
658
658
  isClosing: g,
659
659
  isWhite: Object.prototype.hasOwnProperty.call(n, h)
660
660
  }, S = o(h, m, _);
661
- if (!de(S)) return S;
661
+ if (!ve(S)) return S;
662
662
  if (_.isWhite) {
663
663
  if (_.isClosing)
664
664
  return "</" + h + ">";
665
- var O = to(m), H = n[h], T = eo(O.html, function(b, y) {
666
- var M = ge.indexOf(H, b) !== -1, F = s(h, b, y, M);
667
- 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;
665
+ var O = ro(m), H = n[h], T = to(O.html, function(b, y) {
666
+ var F = be.indexOf(H, b) !== -1, M = s(h, b, y, F);
667
+ return ve(M) ? F ? (y = l(h, b, y, c), y ? b + '="' + y + '"' : b) : (M = a(h, b, y, F), ve(M) ? void 0 : M) : M;
668
668
  });
669
669
  return m = "<" + h, T && (m += " " + T), O.closing && (m += " /"), m += ">", m;
670
670
  } else
671
- return S = i(h, m, _), de(S) ? u(m) : S;
671
+ return S = i(h, m, _), ve(S) ? u(m) : S;
672
672
  }, u);
673
673
  return f && (p = f.remove(p)), p;
674
674
  };
675
- var oo = wr;
675
+ var io = xr;
676
676
  (function(e, t) {
677
- var r = x, n = Te, o = oo;
677
+ var r = x, n = Ae, o = io;
678
678
  function i(a, l) {
679
679
  var u = new o(l);
680
680
  return u.process(a);
@@ -689,8 +689,8 @@ var oo = wr;
689
689
  return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
690
690
  }
691
691
  s() && (self.filterXSS = e.exports);
692
- })(ze, ze.exports);
693
- var $e = ze.exports, We = {
692
+ })(He, He.exports);
693
+ var We = He.exports, Ue = {
694
694
  html: {
695
695
  whiteList: {
696
696
  a: ["class", "style", "contenteditable", "data-id", "data-title", "data-size", "href", "data-last-modified"],
@@ -764,10 +764,10 @@ var $e = ze.exports, We = {
764
764
  video: ["class", "style"]
765
765
  }
766
766
  }
767
- }, io = $e.getDefaultWhiteList && $e.getDefaultWhiteList() || {};
768
- We.html.whiteList = Object.assign(io, We.html.whiteList);
769
- new $e.FilterXSS(We.html);
770
- var xr = Object.prototype.toString, pt = Object.prototype.hasOwnProperty, ao = Object.getPrototypeOf, _r = pt.toString, so = _r.call(Object), lo = {
767
+ }, ao = We.getDefaultWhiteList && We.getDefaultWhiteList() || {};
768
+ Ue.html.whiteList = Object.assign(ao, Ue.html.whiteList);
769
+ new We.FilterXSS(Ue.html);
770
+ var _r = Object.prototype.toString, dt = Object.prototype.hasOwnProperty, so = Object.getPrototypeOf, Er = dt.toString, lo = Er.call(Object), uo = {
771
771
  "[object Error]": "error",
772
772
  "[object Object]": "object",
773
773
  "[object RegExp]": "regExp",
@@ -778,24 +778,24 @@ var xr = Object.prototype.toString, pt = Object.prototype.hasOwnProperty, ao = O
778
778
  "[object String]": "string",
779
779
  "[object Number]": "number",
780
780
  "[object Boolean]": "boolean"
781
- }, dt = function(t) {
781
+ }, vt = function(t) {
782
782
  return t == null;
783
783
  }, te = function(t) {
784
- return dt(t) ? String(t) : lo[xr.call(t)] || "object";
785
- }, Ue = function(t) {
784
+ return vt(t) ? String(t) : uo[_r.call(t)] || "object";
785
+ }, Ge = function(t) {
786
786
  return te(t) === "object";
787
787
  }, J = function(t) {
788
- if (!t || xr.call(t) !== "[object Object]")
788
+ if (!t || _r.call(t) !== "[object Object]")
789
789
  return !1;
790
- var r = ao(t);
790
+ var r = so(t);
791
791
  if (!r)
792
792
  return !0;
793
- var n = pt.call(r, "constructor") && r.constructor;
794
- return typeof n == "function" && _r.call(n) === so;
795
- }, w = typeof window > "u", uo = function() {
793
+ var n = dt.call(r, "constructor") && r.constructor;
794
+ return typeof n == "function" && Er.call(n) === lo;
795
+ }, w = typeof window > "u", fo = function() {
796
796
  var t = 8;
797
797
  return document.addEventListener && window.performance && (t = 9, window.atob && window.matchMedia && (t = 10, !window.attachEvent && !document.all && (t = 11))), t;
798
- }, fo = function(t) {
798
+ }, co = function(t) {
799
799
  t.chrome && ~navigator.userAgent.indexOf("Edg") ? (t.name = "edge", t.edge = !0, delete t.chrome) : !document.documentMode && window.StyleMedia && (t.name = "edge", t.edge = !0);
800
800
  };
801
801
  (function() {
@@ -816,7 +816,7 @@ var xr = Object.prototype.toString, pt = Object.prototype.hasOwnProperty, ao = O
816
816
  }, t = /(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent);
817
817
  e.isMobile = t, e.isPC = !t;
818
818
  var r;
819
- if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (e.name = "chrome", e.chrome = !0, r = navigator.userAgent.match(/chrome\/(\d+)/i), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0) : document.all || document.documentMode ? (e.name = "ie", e.version = uo(), e.ie = !0) : typeof window.InstallTrigger < "u" ? (e.name = "firefox", e.firefox = !0) : Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? (e.name = "safari", e.safari = !0) : (window.opr && window.opr.addons || window.opera) && (e.name = "opera", e.opera = !0), fo(e), !~["ie", "chrome"].indexOf(e.name)) {
819
+ if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (e.name = "chrome", e.chrome = !0, r = navigator.userAgent.match(/chrome\/(\d+)/i), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0) : document.all || document.documentMode ? (e.name = "ie", e.version = fo(), e.ie = !0) : typeof window.InstallTrigger < "u" ? (e.name = "firefox", e.firefox = !0) : Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? (e.name = "safari", e.safari = !0) : (window.opr && window.opr.addons || window.opera) && (e.name = "opera", e.opera = !0), co(e), !~["ie", "chrome"].indexOf(e.name)) {
820
820
  var n = e.name + "/(\\d+)";
821
821
  r = navigator.userAgent.match(new RegExp(n, "i")), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0;
822
822
  }
@@ -828,17 +828,17 @@ var xr = Object.prototype.toString, pt = Object.prototype.hasOwnProperty, ao = O
828
828
  }
829
829
  return e;
830
830
  })();
831
- var co = /([:\-_]+(.))/g, po = /^moz([A-Z])/, vo = function(t) {
832
- return t.replace(co, function(r, n, o, i) {
831
+ var po = /([:\-_]+(.))/g, vo = /^moz([A-Z])/, ho = function(t) {
832
+ return t.replace(po, function(r, n, o, i) {
833
833
  return i ? o.toUpperCase() : o;
834
- }).replace(po, "Moz$1");
834
+ }).replace(vo, "Moz$1");
835
835
  }, E = function(t, r, n) {
836
836
  var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
837
837
  t && r && n && t.addEventListener(r, n, o);
838
838
  }, I = function(t, r, n) {
839
839
  var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
840
840
  t && r && t.removeEventListener(r, n, o);
841
- }, ho = function(t, r, n) {
841
+ }, mo = function(t, r, n) {
842
842
  var o = function(s) {
843
843
  n && n.call(this, s), I(t, r, o);
844
844
  };
@@ -862,11 +862,11 @@ var co = /([:\-_]+(.))/g, po = /^moz([A-Z])/, vo = function(t) {
862
862
  return t.classList.remove(o);
863
863
  });
864
864
  }
865
- }, At = function(t, r) {
865
+ }, kt = function(t, r) {
866
866
  if (!w) {
867
867
  if (!t || !r)
868
868
  return null;
869
- r = vo(r), r === "float" && (r = "cssFloat");
869
+ r = ho(r), r === "float" && (r = "cssFloat");
870
870
  try {
871
871
  if (t.style[r])
872
872
  return t.style[r];
@@ -876,23 +876,23 @@ var co = /([:\-_]+(.))/g, po = /^moz([A-Z])/, vo = function(t) {
876
876
  return t.style[r];
877
877
  }
878
878
  }
879
- }, mo = function(t, r) {
879
+ }, go = function(t, r) {
880
880
  if (!w) {
881
- var n = !dt(r), o;
882
- return n ? o = At(t, "overflow-y") : o = At(t, "overflow"), o ? o.match(/(scroll|auto)/) : null;
881
+ var n = !vt(r), o;
882
+ return n ? o = kt(t, "overflow-y") : o = kt(t, "overflow"), o ? o.match(/(scroll|auto)/) : null;
883
883
  }
884
- }, go = function(t, r) {
884
+ }, bo = function(t, r) {
885
885
  if (!w) {
886
886
  for (var n = t; n; ) {
887
887
  if (~[window, document, document.documentElement].indexOf(n))
888
888
  return window;
889
- if (mo(n, r))
889
+ if (go(n, r))
890
890
  return n;
891
891
  n = n.parentNode;
892
892
  }
893
893
  return n;
894
894
  }
895
- }, vt = function(t) {
895
+ }, ht = function(t) {
896
896
  if (w) return !1;
897
897
  if (t) {
898
898
  var r = getComputedStyle(t);
@@ -900,12 +900,12 @@ var co = /([:\-_]+(.))/g, po = /^moz([A-Z])/, vo = function(t) {
900
900
  if (r.getPropertyValue("display") === "none")
901
901
  return !0;
902
902
  if (t.parentNode !== document.body)
903
- return vt(t.parentNode);
903
+ return ht(t.parentNode);
904
904
  } else
905
905
  return t.offsetParent === null;
906
906
  }
907
907
  return !1;
908
- }, Er = (function() {
908
+ }, Sr = (function() {
909
909
  if (typeof Map < "u")
910
910
  return Map;
911
911
  var e = function(r, n) {
@@ -945,28 +945,28 @@ var co = /([:\-_]+(.))/g, po = /^moz([A-Z])/, vo = function(t) {
945
945
  }
946
946
  }, t;
947
947
  })();
948
- })(), bo = globalThis.Function, _e = (function() {
948
+ })(), yo = globalThis.Function, Ee = (function() {
949
949
  var e = function(r) {
950
950
  return r.Math === Math;
951
951
  };
952
- return typeof global < "u" && e(global) ? global : typeof self < "u" && e(self) ? self : typeof window < "u" && e(window) ? window : bo("return this")();
953
- })(), yo = (function() {
954
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(_e) : function(e) {
952
+ return typeof global < "u" && e(global) ? global : typeof self < "u" && e(self) ? self : typeof window < "u" && e(window) ? window : yo("return this")();
953
+ })(), wo = (function() {
954
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ee) : function(e) {
955
955
  return setTimeout(function() {
956
956
  return e(Date.now());
957
957
  }, 1e3 / 60);
958
958
  };
959
- })(), wo = 2;
960
- function xo(e, t) {
959
+ })(), xo = 2;
960
+ function _o(e, t) {
961
961
  var r = !1, n = !1, o = 0, i, s = function() {
962
962
  r && (r = !1, e()), n && i();
963
963
  }, a = function() {
964
- yo(s);
964
+ wo(s);
965
965
  };
966
966
  return i = function() {
967
967
  var u = Date.now();
968
968
  if (r) {
969
- if (u - o < wo)
969
+ if (u - o < xo)
970
970
  return;
971
971
  n = !0;
972
972
  } else
@@ -974,9 +974,9 @@ function xo(e, t) {
974
974
  o = u;
975
975
  }, i;
976
976
  }
977
- var _o = 20, Eo = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], So = typeof MutationObserver < "u", Oo = (function() {
977
+ var Eo = 20, So = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Oo = typeof MutationObserver < "u", To = (function() {
978
978
  function e() {
979
- this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = xo(this.refresh.bind(this), _o);
979
+ this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = _o(this.refresh.bind(this), Eo);
980
980
  }
981
981
  return e.prototype.addObserver = function(t) {
982
982
  !~this.observers_.indexOf(t) && this.observers_.push(t), !this.connected_ && this.connect_();
@@ -995,7 +995,7 @@ var _o = 20, Eo = ["top", "right", "bottom", "left", "width", "height", "size",
995
995
  }), t.length > 0;
996
996
  }, e.prototype.connect_ = function() {
997
997
  if (!(w || this.connected_)) {
998
- if (E(document, "transitionend", this.onTransitionEnd_), E(window, "resize", this.refresh), So) {
998
+ if (E(document, "transitionend", this.onTransitionEnd_), E(window, "resize", this.refresh), Oo) {
999
999
  this.mutationsObserver_ = new MutationObserver(this.refresh);
1000
1000
  var t = {
1001
1001
  attributes: !0,
@@ -1011,14 +1011,14 @@ var _o = 20, Eo = ["top", "right", "bottom", "left", "width", "height", "size",
1011
1011
  }, e.prototype.disconnect_ = function() {
1012
1012
  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);
1013
1013
  }, e.prototype.onTransitionEnd_ = function(t) {
1014
- var r = t.propertyName, n = r === void 0 ? "" : r, o = Eo.some(function(i) {
1014
+ var r = t.propertyName, n = r === void 0 ? "" : r, o = So.some(function(i) {
1015
1015
  return !!~n.indexOf(i);
1016
1016
  });
1017
1017
  o && this.refresh();
1018
1018
  }, e.getInstance = function() {
1019
1019
  return this._instance || (this._instance = new e()), this._instance;
1020
1020
  }, e._instance = null, e;
1021
- })(), Sr = function(t, r) {
1021
+ })(), Or = function(t, r) {
1022
1022
  for (var n = 0, o = Object.keys(r); n < o.length; n++) {
1023
1023
  var i = o[n];
1024
1024
  Object.defineProperty(t, i, {
@@ -1029,7 +1029,7 @@ var _o = 20, Eo = ["top", "right", "bottom", "left", "width", "height", "size",
1029
1029
  });
1030
1030
  }
1031
1031
  return t;
1032
- }, Ae = function(t, r, n, o) {
1032
+ }, ke = function(t, r, n, o) {
1033
1033
  return {
1034
1034
  x: t,
1035
1035
  y: r,
@@ -1038,48 +1038,48 @@ var _o = 20, Eo = ["top", "right", "bottom", "left", "width", "height", "size",
1038
1038
  };
1039
1039
  }, re = function(t) {
1040
1040
  var r = t && t.ownerDocument && t.ownerDocument.defaultView;
1041
- return r || _e;
1042
- }, Or = Ae(0, 0, 0, 0), Ee = function(t) {
1041
+ return r || Ee;
1042
+ }, Tr = ke(0, 0, 0, 0), Se = function(t) {
1043
1043
  return parseFloat(t) || 0;
1044
- }, kt = function(t) {
1044
+ }, Ct = function(t) {
1045
1045
  for (var r = [], n = 1; n < arguments.length; n++)
1046
1046
  r[n - 1] = arguments[n];
1047
1047
  return r.reduce(function(o, i) {
1048
1048
  var s = t["border-".concat(i, "-width")];
1049
- return o + Ee(s);
1049
+ return o + Se(s);
1050
1050
  }, 0);
1051
- }, To = function(t) {
1051
+ }, Ao = function(t) {
1052
1052
  for (var r = ["top", "right", "bottom", "left"], n = {}, o = 0, i = r; o < i.length; o++) {
1053
1053
  var s = i[o], a = t["padding-".concat(s)];
1054
- n[s] = Ee(a);
1054
+ n[s] = Se(a);
1055
1055
  }
1056
1056
  return n;
1057
- }, Ao = function(t) {
1058
- var r = t.getBBox();
1059
- return Ae(0, 0, r.width, r.height);
1060
1057
  }, ko = function(t) {
1061
- return t === re(t).document.documentElement;
1058
+ var r = t.getBBox();
1059
+ return ke(0, 0, r.width, r.height);
1062
1060
  }, Co = function(t) {
1061
+ return t === re(t).document.documentElement;
1062
+ }, Po = function(t) {
1063
1063
  var r = t.clientWidth, n = t.clientHeight;
1064
1064
  if (!n && !r)
1065
- return Or;
1066
- var o = re(t).getComputedStyle(t), i = To(o), s = i.top + i.bottom, a = i.left + i.right, l = Ee(o.width), u = Ee(o.height);
1067
- if (o.boxSizing === "border-box" && (Math.round(u + s) !== n && (u -= kt(o, "top", "bottom") + s), Math.round(l + a) !== r && (l -= kt(o, "left", "right") + a)), !ko(t)) {
1065
+ return Tr;
1066
+ var o = re(t).getComputedStyle(t), i = Ao(o), s = i.top + i.bottom, a = i.left + i.right, l = Se(o.width), u = Se(o.height);
1067
+ if (o.boxSizing === "border-box" && (Math.round(u + s) !== n && (u -= Ct(o, "top", "bottom") + s), Math.round(l + a) !== r && (l -= Ct(o, "left", "right") + a)), !Co(t)) {
1068
1068
  var c = Math.round(u + s) - n, f = Math.round(l + a) - r;
1069
1069
  Math.abs(c) !== 1 && (u -= c), Math.abs(f) !== 1 && (l -= f);
1070
1070
  }
1071
- return Ae(i.left, i.top, l, u);
1072
- }, Po = /* @__PURE__ */ (function() {
1071
+ return ke(i.left, i.top, l, u);
1072
+ }, Ro = /* @__PURE__ */ (function() {
1073
1073
  return typeof SVGGraphicsElement < "u" ? function(e) {
1074
1074
  return e instanceof re(e).SVGGraphicsElement;
1075
1075
  } : function(e) {
1076
1076
  return e instanceof re(e).SVGElement && typeof e.getBBox == "function";
1077
1077
  };
1078
- })(), Ro = function(t) {
1079
- return w ? Or : Po(t) ? Ao(t) : Co(t);
1080
- }, Io = function(t) {
1078
+ })(), Io = function(t) {
1079
+ return w ? Tr : Ro(t) ? ko(t) : Po(t);
1080
+ }, Mo = function(t) {
1081
1081
  var r = t.x, n = t.y, o = t.width, i = t.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, a = Object.create(s.prototype);
1082
- return Sr(a, {
1082
+ return Or(a, {
1083
1083
  x: r,
1084
1084
  y: n,
1085
1085
  width: o,
@@ -1091,27 +1091,27 @@ var _o = 20, Eo = ["top", "right", "bottom", "left", "width", "height", "size",
1091
1091
  }), a;
1092
1092
  }, Fo = (function() {
1093
1093
  function e(t) {
1094
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ae(0, 0, 0, 0), this.target = t;
1094
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = ke(0, 0, 0, 0), this.target = t;
1095
1095
  }
1096
1096
  return e.prototype.broadcastRect = function() {
1097
1097
  var t = this.contentRect_;
1098
1098
  return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
1099
1099
  }, e.prototype.isActive = function() {
1100
- var t = Ro(this.target);
1100
+ var t = Io(this.target);
1101
1101
  return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
1102
1102
  }, e;
1103
- })(), Mo = /* @__PURE__ */ (function() {
1103
+ })(), Bo = /* @__PURE__ */ (function() {
1104
1104
  function e(t, r) {
1105
- var n = Io(r);
1106
- Sr(this, {
1105
+ var n = Mo(r);
1106
+ Or(this, {
1107
1107
  target: t,
1108
1108
  contentRect: n
1109
1109
  });
1110
1110
  }
1111
1111
  return e;
1112
- })(), Bo = (function() {
1112
+ })(), No = (function() {
1113
1113
  function e(t, r, n) {
1114
- if (this.observations_ = new Er(), this.activeObservations_ = [], typeof t != "function")
1114
+ if (this.observations_ = new Sr(), this.activeObservations_ = [], typeof t != "function")
1115
1115
  throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");
1116
1116
  this.callback_ = t, this.controller_ = r, this.callbackCtx_ = n;
1117
1117
  }
@@ -1143,7 +1143,7 @@ var _o = 20, Eo = ["top", "right", "bottom", "left", "width", "height", "size",
1143
1143
  }, e.prototype.broadcastActive = function() {
1144
1144
  if (this.hasActive()) {
1145
1145
  var t = this.callbackCtx_, r = this.activeObservations_.map(function(n) {
1146
- return new Mo(n.target, n.broadcastRect());
1146
+ return new Bo(n.target, n.broadcastRect());
1147
1147
  });
1148
1148
  this.callback_.call(t, r, t), this.clearActive();
1149
1149
  }
@@ -1152,33 +1152,33 @@ var _o = 20, Eo = ["top", "right", "bottom", "left", "width", "height", "size",
1152
1152
  }, e.prototype.clearActive = function() {
1153
1153
  this.activeObservations_.splice(0);
1154
1154
  }, e;
1155
- })(), Tr = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Er(), Ar = /* @__PURE__ */ (function() {
1155
+ })(), Ar = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Sr(), kr = /* @__PURE__ */ (function() {
1156
1156
  function e(t) {
1157
1157
  if (!(this instanceof e))
1158
1158
  throw new TypeError("[TINY-Resize] Cannot call a class as a function.");
1159
1159
  if (!arguments.length)
1160
1160
  throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
1161
- var r = Oo.getInstance(), n = new Bo(t, r, this);
1162
- Tr.set(this, n);
1161
+ var r = To.getInstance(), n = new No(t, r, this);
1162
+ Ar.set(this, n);
1163
1163
  }
1164
1164
  return e;
1165
1165
  })();
1166
1166
  ["observe", "unobserve", "disconnect"].forEach(function(e) {
1167
- Ar.prototype[e] = function() {
1167
+ kr.prototype[e] = function() {
1168
1168
  var t;
1169
- return (t = Tr.get(this))[e].apply(t, arguments);
1169
+ return (t = Ar.get(this))[e].apply(t, arguments);
1170
1170
  };
1171
1171
  });
1172
1172
  (function() {
1173
- return typeof _e.ResizeObserver < "u" ? _e.ResizeObserver : Ar;
1173
+ return typeof Ee.ResizeObserver < "u" ? Ee.ResizeObserver : kr;
1174
1174
  })();
1175
- var No = "tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";
1176
- No.split("").reverse().join("");
1177
- function Do(e) {
1175
+ var Do = "tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";
1176
+ Do.split("").reverse().join("");
1177
+ function Lo(e) {
1178
1178
  return !w && (e.document.all || e.document.documentMode) && !e.crypto && e.msCrypto;
1179
1179
  }
1180
- function Lo(e) {
1181
- if (Do(e)) {
1180
+ function Vo(e) {
1181
+ if (Lo(e)) {
1182
1182
  e.crypto = e.msCrypto;
1183
1183
  var t = e.crypto.getRandomValues;
1184
1184
  e.crypto.getRandomValues = function(r) {
@@ -1188,20 +1188,20 @@ function Lo(e) {
1188
1188
  };
1189
1189
  }
1190
1190
  }
1191
- var Vo = globalThis;
1192
- Lo(Vo);
1193
- var ht, jo = function(t, r, n) {
1191
+ var jo = globalThis;
1192
+ Vo(jo);
1193
+ var mt, zo = function(t, r, n) {
1194
1194
  if (!(!t || !J(t) || !r || typeof r != "string")) {
1195
1195
  var o = r.split("."), i = t, s = o.length;
1196
1196
  if (s > 1) {
1197
1197
  for (var a = 0, l = a; l < s; l++)
1198
- if (i = i[o[l]], dt(i))
1198
+ if (i = i[o[l]], vt(i))
1199
1199
  return i;
1200
1200
  return i;
1201
1201
  } else
1202
1202
  return i[o[0]];
1203
1203
  }
1204
- }, zo = function(t, r, n, o) {
1204
+ }, Ho = function(t, r, n, o) {
1205
1205
  if (!t || !J(t) || !r || typeof r != "string")
1206
1206
  return t;
1207
1207
  var i = r.split("."), s = t, a = i.length, l = i[0];
@@ -1213,26 +1213,26 @@ var ht, jo = function(t, r, n) {
1213
1213
  } else
1214
1214
  s[l] = n;
1215
1215
  return s;
1216
- }, Ge = function(t, r, n, o) {
1216
+ }, qe = function(t, r, n, o) {
1217
1217
  var i = function(a, l, u, c) {
1218
1218
  var f = {};
1219
1219
  return l.forEach(function(p) {
1220
- return zo(f, p, jo(a, p));
1220
+ return Ho(f, p, zo(a, p));
1221
1221
  }), f;
1222
1222
  };
1223
- return J(t) ? Array.isArray(r) ? i(t, r) : ht(n !== !1, {}, t) : t;
1224
- }, Ho = function(t) {
1223
+ return J(t) ? Array.isArray(r) ? i(t, r) : mt(n !== !1, {}, t) : t;
1224
+ }, $o = function(t) {
1225
1225
  return Array.isArray(t) ? t.map(function(r) {
1226
- return Ge(r);
1226
+ return qe(r);
1227
1227
  }) : t;
1228
- }, $o = function(t, r, n, o, i) {
1228
+ }, Wo = function(t, r, n, o, i) {
1229
1229
  var s;
1230
1230
  if (n && o && (J(o) || (s = Array.isArray(o))))
1231
1231
  if (s)
1232
- s = !1, t[r] = Ho(o);
1232
+ s = !1, t[r] = $o(o);
1233
1233
  else {
1234
1234
  var a = i && J(i) ? i : {};
1235
- t[r] = ht(n, a, o);
1235
+ t[r] = mt(n, a, o);
1236
1236
  }
1237
1237
  else if (o !== void 0)
1238
1238
  try {
@@ -1240,39 +1240,39 @@ var ht, jo = function(t, r, n) {
1240
1240
  } catch {
1241
1241
  }
1242
1242
  };
1243
- ht = function() {
1243
+ mt = function() {
1244
1244
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
1245
1245
  r[n] = arguments[n];
1246
1246
  var o = r.length, i = r[0] || {}, s = 1, a = !1;
1247
- for (te(i) === "boolean" && (a = i, i = r[s] || {}, s++), !Ue(i) && te(i) !== "function" && (i = {}); s < o; s++) {
1247
+ for (te(i) === "boolean" && (a = i, i = r[s] || {}, s++), !Ge(i) && te(i) !== "function" && (i = {}); s < o; s++) {
1248
1248
  var l = r[s];
1249
- if (l !== null && Ue(l))
1249
+ if (l !== null && Ge(l))
1250
1250
  for (var u = Object.keys(l), c = 0, f = u; c < f.length; c++) {
1251
- var p = f[c], v = i[p], d = l[p];
1252
- i !== d && $o(i, p, a, d, v);
1251
+ var p = f[c], d = i[p], v = l[p];
1252
+ i !== v && Wo(i, p, a, v, d);
1253
1253
  }
1254
1254
  }
1255
1255
  return i;
1256
1256
  };
1257
- var Se, mt = function(t, r, n, o) {
1257
+ var Oe, gt = function(t, r, n, o) {
1258
1258
  if (te(t) === te(r)) {
1259
1259
  if (n = n !== !1, Array.isArray(o)) {
1260
- var i = Ge(t, o), s = Ge(r, o);
1261
- return mt(i, s, n);
1260
+ var i = qe(t, o), s = qe(r, o);
1261
+ return gt(i, s, n);
1262
1262
  }
1263
- var a = Se(t, r, n), l = Se(r, t, n);
1263
+ var a = Oe(t, r, n), l = Oe(r, t, n);
1264
1264
  return a && l;
1265
1265
  }
1266
1266
  return !1;
1267
1267
  };
1268
- Se = function(t, r, n) {
1268
+ Oe = function(t, r, n) {
1269
1269
  if (!J(t)) {
1270
1270
  if (!Array.isArray(t))
1271
1271
  return t === r;
1272
1272
  if (t.length !== r.length)
1273
1273
  return !1;
1274
1274
  for (var o = 0, i = t.length; o < i; o++) {
1275
- var s = mt(t[o], r[o], n);
1275
+ var s = gt(t[o], r[o], n);
1276
1276
  if (!s)
1277
1277
  return !1;
1278
1278
  }
@@ -1280,9 +1280,9 @@ Se = function(t, r, n) {
1280
1280
  }
1281
1281
  for (var a = !0, l = Object.keys(t), u = 0, c = l; u < c.length; u++) {
1282
1282
  var f = c[u];
1283
- if (pt.call(r, f)) {
1284
- var p = t[f], v = r[f];
1285
- n && Ue(p) || Array.isArray(p) ? a = Se(p, v, n) : a = p === v;
1283
+ if (dt.call(r, f)) {
1284
+ var p = t[f], d = r[f];
1285
+ n && Ge(p) || Array.isArray(p) ? a = Oe(p, d, n) : a = p === d;
1286
1286
  } else
1287
1287
  a = !1;
1288
1288
  if (a === !1)
@@ -1290,32 +1290,32 @@ Se = function(t, r, n) {
1290
1290
  }
1291
1291
  return a;
1292
1292
  };
1293
- var Wo = function() {
1293
+ var Uo = function() {
1294
1294
  var t = 4294967296;
1295
1295
  return globalThis.crypto.getRandomValues(new Uint32Array(1))[0] / t;
1296
- }, Uo = function() {
1296
+ }, Go = function() {
1297
1297
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 8;
1298
- return t + Wo().toString().substr(2, r);
1299
- }, Go = "-12:00,-11:00,-10:00,-09:30,-08:00,-07:00,-06:00,-05:00,-04:30,-04:00,-03:30,-02:00,-01:00", qo = "-00:00,+00:00,+01:00,+02:00,+03:00,+03:30,+04:00,+04:30,+05:00,+05:30,+05:45,+06:00", Jo = "+06:30,+07:00,+08:00,+09:00,+10:00,+10:30,+11:00,+11:30,+12:00,+12:45,+13:00,+14:00";
1300
- [].concat(ue(Go.split(",")), ue(qo.split(",")), ue(Jo.split(",")));
1301
- var Xo = {
1298
+ return t + Uo().toString().substr(2, r);
1299
+ }, qo = "-12:00,-11:00,-10:00,-09:30,-08:00,-07:00,-06:00,-05:00,-04:30,-04:00,-03:30,-02:00,-01:00", Jo = "-00:00,+00:00,+01:00,+02:00,+03:00,+03:30,+04:00,+04:30,+05:00,+05:30,+05:45,+06:00", Xo = "+06:30,+07:00,+08:00,+09:00,+10:00,+10:30,+11:00,+11:30,+12:00,+12:45,+13:00,+14:00";
1300
+ [].concat(fe(qo.split(",")), fe(Jo.split(",")), fe(Xo.split(",")));
1301
+ var Yo = {
1302
1302
  Escape: 27
1303
- }, kr = {
1303
+ }, Cr = {
1304
1304
  fullMonths: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
1305
1305
  fullWeeks: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1306
- }, gt = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = gt[0], Yo = gt[1], Zo = gt[2], oe = "[^\\s]+", Ct = function() {
1307
- }, Cr = function(t, r) {
1306
+ }, bt = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = bt[0], Zo = bt[1], Ko = bt[2], oe = "[^\\s]+", Pt = function() {
1307
+ }, Pr = function(t, r) {
1308
1308
  for (var n = [], o = 0, i = t.length; o < i; o++)
1309
1309
  n.push(t[o].substr(0, r));
1310
1310
  return n;
1311
- }, Pt = function(t) {
1311
+ }, Rt = function(t) {
1312
1312
  return function(r, n, o) {
1313
1313
  var i = o[t].indexOf(n.charAt(0).toUpperCase() + n.substr(1).toLowerCase());
1314
1314
  ~i && (r.month = i);
1315
1315
  };
1316
- }, Ko = kr.fullWeeks, Qo = kr.fullMonths;
1317
- Cr(Qo, 3);
1318
- Cr(Ko, 3);
1316
+ }, Qo = Cr.fullWeeks, ei = Cr.fullMonths;
1317
+ Pr(ei, 3);
1318
+ Pr(Qo, 3);
1319
1319
  var Z = {
1320
1320
  d: [j, function(e, t) {
1321
1321
  e.day = t;
@@ -1339,7 +1339,7 @@ var Z = {
1339
1339
  s: [j, function(e, t) {
1340
1340
  e.second = t;
1341
1341
  }],
1342
- yyyy: [Zo, function(e, t) {
1342
+ yyyy: [Ko, function(e, t) {
1343
1343
  e.year = t;
1344
1344
  }],
1345
1345
  S: ["\\d", function(e, t) {
@@ -1348,13 +1348,13 @@ var Z = {
1348
1348
  SS: ["\\d{2}", function(e, t) {
1349
1349
  e.millisecond = t * 10;
1350
1350
  }],
1351
- SSS: [Yo, function(e, t) {
1351
+ SSS: [Zo, function(e, t) {
1352
1352
  e.millisecond = t;
1353
1353
  }],
1354
- D: [j, Ct],
1355
- ddd: [oe, Ct],
1356
- MMM: [oe, Pt("monthNamesShort")],
1357
- MMMM: [oe, Pt("monthNames")],
1354
+ D: [j, Pt],
1355
+ ddd: [oe, Pt],
1356
+ MMM: [oe, Rt("monthNamesShort")],
1357
+ MMMM: [oe, Rt("monthNames")],
1358
1358
  a: [oe, function(e, t, r) {
1359
1359
  var n = t.toLowerCase();
1360
1360
  n === r.amPm[0] ? e.isPm = !1 : n === r.amPm[1] && (e.isPm = !0);
@@ -1363,42 +1363,42 @@ var Z = {
1363
1363
  var r = String(t).match(/([+-]|\d\d)/gi), n;
1364
1364
  r && (n = Number(r[1] * 60) + parseInt(r[2], 10), e.timezoneOffset = r[0] === "+" ? n : -n);
1365
1365
  }]
1366
- }, ei = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
1366
+ }, ti = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
1367
1367
  Z.dddd = Z.ddd;
1368
- ei.forEach(function(e) {
1368
+ ti.forEach(function(e) {
1369
1369
  e === "MM" ? Z[e] = Z[e.substr(0, 1)] : Z[e] = Z[e.substr(0, 1).toLowerCase()];
1370
1370
  });
1371
- var ti = (function() {
1371
+ var ri = (function() {
1372
1372
  return w ? function(e) {
1373
1373
  setTimeout(function() {
1374
1374
  return e(Date.now());
1375
1375
  }, 1e3 / 60);
1376
1376
  } : window.requestAnimationFrame.bind(window);
1377
- })(), qe = function(t) {
1378
- t.scheduled || (t.scheduled = !0, t.raf(ri.bind(null, t)));
1379
- }, ri = function(t) {
1377
+ })(), Je = function(t) {
1378
+ t.scheduled || (t.scheduled = !0, t.raf(ni.bind(null, t)));
1379
+ }, ni = function(t) {
1380
1380
  var r = t.reads, n = t.writes, o;
1381
1381
  try {
1382
1382
  t.runTasks(r), t.runTasks(n);
1383
1383
  } catch (i) {
1384
1384
  o = i;
1385
1385
  }
1386
- if (t.scheduled = !1, (r.length || n.length) && qe(t), o)
1386
+ if (t.scheduled = !1, (r.length || n.length) && Je(t), o)
1387
1387
  if (t.catch)
1388
1388
  t.catch(o);
1389
1389
  else
1390
1390
  throw o;
1391
- }, Rt = function(t, r) {
1391
+ }, It = function(t, r) {
1392
1392
  var n = t.indexOf(r);
1393
1393
  return !!~n && !!t.splice(n, 1);
1394
- }, ni = function(t, r) {
1394
+ }, oi = function(t, r) {
1395
1395
  for (var n in r)
1396
1396
  Object.hasOwnProperty.call(r, n) && (t[n] = r[n]);
1397
- }, oi = /* @__PURE__ */ (function() {
1397
+ }, ii = /* @__PURE__ */ (function() {
1398
1398
  function e() {
1399
- st(this, e), this.reads = [], this.writes = [], this.raf = ti.bind(window);
1399
+ lt(this, e), this.reads = [], this.writes = [], this.raf = ri.bind(window);
1400
1400
  }
1401
- return lt(e, [{
1401
+ return ut(e, [{
1402
1402
  key: "runTasks",
1403
1403
  value: function(r) {
1404
1404
  for (var n; n = r.shift(); ) n();
@@ -1407,28 +1407,28 @@ var ti = (function() {
1407
1407
  key: "measure",
1408
1408
  value: function(r, n) {
1409
1409
  var o = n ? r.bind(n) : r;
1410
- return this.reads.push(o), qe(this), o;
1410
+ return this.reads.push(o), Je(this), o;
1411
1411
  }
1412
1412
  }, {
1413
1413
  key: "mutate",
1414
1414
  value: function(r, n) {
1415
1415
  var o = n ? r.bind(n) : r;
1416
- return this.writes.push(o), qe(this), o;
1416
+ return this.writes.push(o), Je(this), o;
1417
1417
  }
1418
1418
  }, {
1419
1419
  key: "clear",
1420
1420
  value: function(r) {
1421
- return Rt(this.reads, r) || Rt(this.writes, r);
1421
+ return It(this.reads, r) || It(this.writes, r);
1422
1422
  }
1423
1423
  }, {
1424
1424
  key: "extend",
1425
1425
  value: function(r) {
1426
- if (!r || we(r) !== "object") throw new Error("[TINY][FastDom] expected object");
1426
+ if (!r || xe(r) !== "object") throw new Error("[TINY][FastDom] expected object");
1427
1427
  var n = Object.create(this);
1428
- return ni(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
1428
+ return oi(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
1429
1429
  }
1430
1430
  }]);
1431
- })(), Pr = new oi(), It = function(t, r, n, o) {
1431
+ })(), Rr = new ii(), Mt = function(t, r, n, o) {
1432
1432
  var i = t._tasks, s = t.fastdom, a, l = new Promise(function(u, c) {
1433
1433
  a = s[r](function() {
1434
1434
  i.delete(l);
@@ -1440,33 +1440,33 @@ var ti = (function() {
1440
1440
  }, o);
1441
1441
  });
1442
1442
  return i.set(l, a), l;
1443
- }, ii = {
1443
+ }, ai = {
1444
1444
  initialize: function() {
1445
1445
  this._tasks = /* @__PURE__ */ new Map();
1446
1446
  },
1447
1447
  mutate: function(t, r) {
1448
- return It(this, "mutate", t, r);
1448
+ return Mt(this, "mutate", t, r);
1449
1449
  },
1450
1450
  measure: function(t, r) {
1451
- return It(this, "measure", t, r);
1451
+ return Mt(this, "measure", t, r);
1452
1452
  },
1453
1453
  clear: function(t) {
1454
1454
  var r = this._tasks, n = r.get(t);
1455
1455
  this.fastdom.clear(n), r.delete(t);
1456
1456
  }
1457
1457
  };
1458
- Pr.extend(ii);
1459
- var ai = function(t, r) {
1458
+ Rr.extend(ai);
1459
+ var si = function(t, r) {
1460
1460
  for (var n = r.length; n--; )
1461
1461
  t.clear(r[n]), r.splice(n, 1);
1462
- }, si = function(t, r) {
1462
+ }, li = function(t, r) {
1463
1463
  var n = t.indexOf(r);
1464
1464
  return !!~n && !!t.splice(n, 1);
1465
- }, li = /* @__PURE__ */ (function() {
1465
+ }, ui = /* @__PURE__ */ (function() {
1466
1466
  function e(t) {
1467
- st(this, e), this.fastdom = t, this.tasks = [];
1467
+ lt(this, e), this.fastdom = t, this.tasks = [];
1468
1468
  }
1469
- return lt(e, [{
1469
+ return ut(e, [{
1470
1470
  key: "measure",
1471
1471
  value: function(r, n) {
1472
1472
  var o = this.tasks, i = this.fastdom.measure(function() {
@@ -1485,31 +1485,31 @@ var ai = function(t, r) {
1485
1485
  }, {
1486
1486
  key: "clear",
1487
1487
  value: function(r) {
1488
- return arguments.length || ai(this.fastdom, this.tasks), si(this.tasks, r), this.fastdom.clear(r);
1488
+ return arguments.length || si(this.fastdom, this.tasks), li(this.tasks, r), this.fastdom.clear(r);
1489
1489
  }
1490
1490
  }]);
1491
- })(), ui = {
1491
+ })(), fi = {
1492
1492
  sandbox: function() {
1493
- return new li(this.fastdom);
1493
+ return new ui(this.fastdom);
1494
1494
  }
1495
1495
  };
1496
- Pr.extend(ui);
1497
- var fi = ["fullscreenElement", "fullscreenEnabled", "requestFullscreen", "exitFullscreen", "fullscreenchange", "fullscreenerror"], ci = ["mozFullScreenElement", "mozFullScreenEnabled", "mozRequestFullScreen", "mozCancelFullScreen", "mozfullscreenchange", "mozfullscreenerror"], pi = ["webkitFullscreenElement", "webkitFullscreenEnabled", "webkitRequestFullscreen", "webkitExitFullscreen", "webkitfullscreenchange", "webkitfullscreenerror"], di = ["msFullscreenElement", "msFullscreenEnabled", "msRequestFullscreen", "msExitFullscreen", "MSFullscreenChange", "MSFullscreenError"], Pe = [fi, pi, ci, di], L = typeof window < "u" && typeof window.document < "u" ? window.document : {}, k = null, vi = function() {
1496
+ Rr.extend(fi);
1497
+ var ci = ["fullscreenElement", "fullscreenEnabled", "requestFullscreen", "exitFullscreen", "fullscreenchange", "fullscreenerror"], pi = ["mozFullScreenElement", "mozFullScreenEnabled", "mozRequestFullScreen", "mozCancelFullScreen", "mozfullscreenchange", "mozfullscreenerror"], di = ["webkitFullscreenElement", "webkitFullscreenEnabled", "webkitRequestFullscreen", "webkitExitFullscreen", "webkitfullscreenchange", "webkitfullscreenerror"], vi = ["msFullscreenElement", "msFullscreenEnabled", "msRequestFullscreen", "msExitFullscreen", "MSFullscreenChange", "MSFullscreenError"], Re = [ci, di, pi, vi], L = typeof window < "u" && typeof window.document < "u" ? window.document : {}, k = null, hi = function() {
1498
1498
  if (!w)
1499
- for (var t = 0, r = Pe.length; t < r; t++) {
1500
- var n = Pe[t];
1499
+ for (var t = 0, r = Re.length; t < r; t++) {
1500
+ var n = Re[t];
1501
1501
  if (n && n[1] in L) {
1502
1502
  for (k = {}, t = 0; t < n.length; t++)
1503
- k[Pe[0][t]] = n[t];
1503
+ k[Re[0][t]] = n[t];
1504
1504
  return;
1505
1505
  }
1506
1506
  }
1507
1507
  };
1508
- vi();
1508
+ hi();
1509
1509
  var Ft = {
1510
1510
  change: k && k.fullscreenchange,
1511
1511
  error: k && k.fullscreenerror
1512
- }, Je = {
1512
+ }, Xe = {
1513
1513
  request: function(t, r) {
1514
1514
  var n = this;
1515
1515
  return new Promise(function(o, i) {
@@ -1559,7 +1559,7 @@ var Ft = {
1559
1559
  },
1560
1560
  raw: k || {}
1561
1561
  };
1562
- w ? Object.defineProperties(Je, {
1562
+ w ? Object.defineProperties(Xe, {
1563
1563
  isFullscreen: {
1564
1564
  get: function() {
1565
1565
  return !1;
@@ -1577,7 +1577,7 @@ w ? Object.defineProperties(Je, {
1577
1577
  return !1;
1578
1578
  }
1579
1579
  }
1580
- }) : Object.defineProperties(Je, {
1580
+ }) : Object.defineProperties(Xe, {
1581
1581
  isFullscreen: {
1582
1582
  get: function() {
1583
1583
  return !!L[k && k.fullscreenElement];
@@ -1596,8 +1596,8 @@ w ? Object.defineProperties(Je, {
1596
1596
  }
1597
1597
  }
1598
1598
  });
1599
- Je.isEnabled;
1600
- function fe(e, t, r, n) {
1599
+ Xe.isEnabled;
1600
+ function ce(e, t, r, n) {
1601
1601
  var o, i = 0;
1602
1602
  typeof t != "boolean" && (n = r, r = t, t = void 0);
1603
1603
  function s() {
@@ -1609,27 +1609,27 @@ function fe(e, t, r, n) {
1609
1609
  o = void 0;
1610
1610
  }
1611
1611
  n && !o && f(), o && clearTimeout(o);
1612
- var v = n === void 0;
1613
- v && u > e ? f() : t !== !0 && (o = setTimeout(n ? p : f, v ? e - u : e));
1612
+ var d = n === void 0;
1613
+ d && u > e ? f() : t !== !0 && (o = setTimeout(n ? p : f, d ? e - u : e));
1614
1614
  }
1615
1615
  function a() {
1616
1616
  o && (clearTimeout(o), o = null);
1617
1617
  }
1618
1618
  return s._cancel = a, s;
1619
1619
  }
1620
- function hi(e, t, r) {
1621
- return r === void 0 ? fe(e, t, !1) : fe(e, r, t !== !1);
1620
+ function mi(e, t, r) {
1621
+ return r === void 0 ? ce(e, t, !1) : ce(e, r, t !== !1);
1622
1622
  }
1623
- var U = null, mi = "ws://localhost", Mt = [27197, 27198, 27199], Re = 0, G, Rr = 1e3, Ir = 3e4, gi = 0, bt = {}, Fr, bi = 20 * 1e3, Bt = null, Mr = null, Xe = {}, Br = {}, R = {}, Nr = function() {
1624
- }, Dr = function() {
1625
- }, Lr = function(t) {
1626
- clearTimeout(Xe[t]), delete bt[t], delete Xe[t];
1627
- }, yi = function() {
1628
- Mr = setTimeout(function() {
1623
+ var U = null, gi = "ws://localhost", Bt = [27197, 27198, 27199], Ie = 0, G, Ir = 1e3, Mr = 3e4, bi = 0, yt = {}, Fr, yi = 20 * 1e3, Nt = null, Br = null, Ye = {}, Nr = {}, R = {}, Dr = function() {
1624
+ }, Lr = function() {
1625
+ }, Vr = function(t) {
1626
+ clearTimeout(Ye[t]), delete yt[t], delete Ye[t];
1627
+ }, wi = function() {
1628
+ Br = setTimeout(function() {
1629
1629
  U.close();
1630
1630
  }, 5e3);
1631
1631
  }, V = function(t, r) {
1632
- var n = gi++;
1632
+ var n = bi++;
1633
1633
  if (n = String(n), t.cid = n, !G) {
1634
1634
  r && setTimeout(r, 0, {
1635
1635
  ok: !1,
@@ -1637,23 +1637,23 @@ var U = null, mi = "ws://localhost", Mt = [27197, 27198, 27199], Re = 0, G, Rr =
1637
1637
  });
1638
1638
  return;
1639
1639
  }
1640
- typeof r == "function" && (bt[n] = r, Xe[n] = setTimeout(function() {
1640
+ typeof r == "function" && (yt[n] = r, Ye[n] = setTimeout(function() {
1641
1641
  r({
1642
1642
  ok: !1,
1643
1643
  message: "time out"
1644
- }), Lr(n);
1645
- }, Ir)), U.send(JSON.stringify(t));
1646
- }, Vr = function() {
1647
- Bt = setTimeout(function() {
1644
+ }), Vr(n);
1645
+ }, Mr)), U.send(JSON.stringify(t));
1646
+ }, jr = function() {
1647
+ Nt = setTimeout(function() {
1648
1648
  G ? V({
1649
1649
  type: "heartbeat"
1650
1650
  }, function() {
1651
- Vr();
1652
- }) : clearTimeout(Bt);
1653
- }, bi);
1654
- }, wi = function(t) {
1655
- G = !0, Vr(), clearTimeout(Fr), clearTimeout(Mr), Dr(t);
1651
+ jr();
1652
+ }) : clearTimeout(Nt);
1653
+ }, yi);
1656
1654
  }, xi = function(t) {
1655
+ G = !0, jr(), clearTimeout(Fr), clearTimeout(Br), Lr(t);
1656
+ }, _i = function(t) {
1657
1657
  var r = t.data;
1658
1658
  if (typeof r == "string" && (r = r.replace(/^\d+/, ""), !!r)) {
1659
1659
  try {
@@ -1662,35 +1662,35 @@ var U = null, mi = "ws://localhost", Mt = [27197, 27198, 27199], Re = 0, G, Rr =
1662
1662
  return !s;
1663
1663
  }
1664
1664
  if (G) {
1665
- var n = Br[r.type];
1665
+ var n = Nr[r.type];
1666
1666
  if (n)
1667
1667
  return n(r.data);
1668
- var o = r.cid, i = bt[o];
1668
+ var o = r.cid, i = yt[o];
1669
1669
  i && (r.ok ? i(null, r.data) : i({
1670
1670
  ok: r.ok
1671
- }), Lr(o));
1671
+ }), Vr(o));
1672
1672
  } else
1673
- r.type === "eSpace-ctrl-connection-success" ? wi(r.data) : U.close();
1673
+ r.type === "eSpace-ctrl-connection-success" ? xi(r.data) : U.close();
1674
1674
  }
1675
- }, _i = function() {
1676
- U.onopen = yi, U.onclose = Ei, U.onmessage = xi;
1677
- }, jr = function(t) {
1675
+ }, Ei = function() {
1676
+ U.onopen = wi, U.onclose = Si, U.onmessage = _i;
1677
+ }, zr = function(t) {
1678
1678
  Fr = setTimeout(function() {
1679
- Re >= Mt.length && (Re = 0), U = new WebSocket(mi + ":" + Mt[Re++]), _i();
1679
+ Ie >= Bt.length && (Ie = 0), U = new WebSocket(gi + ":" + Bt[Ie++]), Ei();
1680
1680
  }, t || 0);
1681
- }, Ei = function() {
1682
- (G || typeof G > "u") && (G = !1, Nr()), jr(Rr);
1681
+ }, Si = function() {
1682
+ (G || typeof G > "u") && (G = !1, Dr()), zr(Ir);
1683
1683
  };
1684
1684
  R.init = function(e) {
1685
- e && (Ir = e.timeout || 3e4, Rr = e.pollingInterval || 0), jr();
1685
+ e && (Mr = e.timeout || 3e4, Ir = e.pollingInterval || 0), zr();
1686
1686
  };
1687
1687
  R.ready = function(e) {
1688
- Dr = e;
1688
+ Lr = e;
1689
1689
  };
1690
1690
  R.error = function(e) {
1691
- Nr = e;
1691
+ Dr = e;
1692
1692
  };
1693
- var Nt = function(t, r, n) {
1693
+ var Dt = function(t, r, n) {
1694
1694
  for (var o = [], i = 0; i < r; i++) {
1695
1695
  var s = t;
1696
1696
  i && (s += i);
@@ -1700,7 +1700,7 @@ var Nt = function(t, r, n) {
1700
1700
  return o;
1701
1701
  };
1702
1702
  R.on = function(e, t) {
1703
- Br[e] = t;
1703
+ Nr[e] = t;
1704
1704
  };
1705
1705
  R.getUserInfo = function(e, t) {
1706
1706
  var r = function(o, i) {
@@ -1710,8 +1710,8 @@ R.getUserInfo = function(e, t) {
1710
1710
  return {
1711
1711
  account: f.account,
1712
1712
  name: f.name,
1713
- mobile: Nt("mobile", 6, f),
1714
- office_phone: Nt("office_phone", 6, f),
1713
+ mobile: Dt("mobile", 6, f),
1714
+ office_phone: Dt("office_phone", 6, f),
1715
1715
  home_phone: f.home_phone,
1716
1716
  ip_phone: f.ip_phone,
1717
1717
  other_phone: f.other_phone
@@ -1785,25 +1785,25 @@ R.addContactList = function(e, t) {
1785
1785
  }, t);
1786
1786
  };
1787
1787
  if (w || !window.WebSocket) {
1788
- var Si = function() {
1788
+ var Oi = function() {
1789
1789
  };
1790
- for (var Ie in R)
1791
- if (Object.prototype.hasOwnProperty.call(R, Ie)) {
1792
- var Oi = R[Ie];
1793
- typeof Oi == "function" && (R[Ie] = Si);
1790
+ for (var Me in R)
1791
+ if (Object.prototype.hasOwnProperty.call(R, Me)) {
1792
+ var Ti = R[Me];
1793
+ typeof Ti == "function" && (R[Me] = Oi);
1794
1794
  }
1795
1795
  }
1796
- var ve = {}, ie = {
1796
+ var he = {}, ie = {
1797
1797
  leave: "v-modal-leave",
1798
1798
  enter: "v-modal-enter",
1799
1799
  modal: "v-modal"
1800
- }, Ti = function(t, r) {
1800
+ }, Ai = function(t, r) {
1801
1801
  for (var n = t.length - 1; n >= 0; n--)
1802
1802
  if (t[n].id === r) {
1803
1803
  t.splice(n, 1);
1804
1804
  break;
1805
1805
  }
1806
- }, Ye, P = {
1806
+ }, Ze, P = {
1807
1807
  step: 2,
1808
1808
  zIndex: 2e3,
1809
1809
  globalScroll: !1,
@@ -1826,15 +1826,15 @@ var ve = {}, ie = {
1826
1826
  },
1827
1827
  /** 全局反注册 */
1828
1828
  deregister: function(t) {
1829
- t && (ve[t] = null, delete ve[t]);
1829
+ t && (he[t] = null, delete he[t]);
1830
1830
  },
1831
1831
  /** 返回全局实例 */
1832
1832
  getInstance: function(t) {
1833
- return ve[t];
1833
+ return he[t];
1834
1834
  },
1835
1835
  /** 全局注册 仅vue-popup.ts中使用,instance就是vm, 把vm注册到 vm._popupId 这个键值上 */
1836
1836
  register: function(t, r) {
1837
- t && r && (ve[t] = r);
1837
+ t && r && (he[t] = r);
1838
1838
  },
1839
1839
  nextZIndex: function() {
1840
1840
  var t = P.zIndex;
@@ -1849,7 +1849,7 @@ var ve = {}, ie = {
1849
1849
  if (l.id === t)
1850
1850
  return;
1851
1851
  }
1852
- var u = Ye();
1852
+ var u = Ze();
1853
1853
  if (se(u, ie.modal), this.modalFade && !P.hasModal && se(u, ie.enter), o) {
1854
1854
  var c = o.trim().split(/\s+/);
1855
1855
  c.forEach(function(p) {
@@ -1876,7 +1876,7 @@ var ve = {}, ie = {
1876
1876
  }
1877
1877
  },
1878
1878
  closeModal: function(t) {
1879
- var r = this.modalStack, n = Ye();
1879
+ var r = this.modalStack, n = Ze();
1880
1880
  if (r.length > 0) {
1881
1881
  var o = r[r.length - 1];
1882
1882
  if (o.id === t) {
@@ -1890,14 +1890,14 @@ var ve = {}, ie = {
1890
1890
  var s = r.length;
1891
1891
  s > 0 && (n.style.zIndex = r[s - 1].zIndex.toString());
1892
1892
  } else
1893
- Ti(r, t);
1893
+ Ai(r, t);
1894
1894
  }
1895
1895
  r.length === 0 && (this.modalFade && se(n, ie.leave), le(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
1896
1896
  r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", P.modalDom = null), le(n, ie.leave);
1897
1897
  }, 200));
1898
1898
  }
1899
1899
  };
1900
- Ye = function() {
1900
+ Ze = function() {
1901
1901
  if (w)
1902
1902
  return null;
1903
1903
  var t = P.modalDom;
@@ -1910,7 +1910,7 @@ Ye = function() {
1910
1910
  })), t;
1911
1911
  };
1912
1912
  w || E(window, "keydown", function(e) {
1913
- if (e.keyCode === Xo.Escape) {
1913
+ if (e.keyCode === Yo.Escape) {
1914
1914
  var t = P.modalStack;
1915
1915
  if (t.length > 0) {
1916
1916
  var r = t[t.length - 1];
@@ -1921,7 +1921,7 @@ w || E(window, "keydown", function(e) {
1921
1921
  }
1922
1922
  }
1923
1923
  });
1924
- var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOverflow", "keepTogether", "arrow", "flip", "applyStyle"], ki = {
1924
+ var ki = ["left", "right", "top", "bottom"], Hr = ["shift", "offset", "preventOverflow", "keepTogether", "arrow", "flip", "applyStyle"], Ci = {
1925
1925
  arrowOffset: 0,
1926
1926
  arrowElement: "[x-arrow]",
1927
1927
  boundariesElement: "viewport",
@@ -1932,12 +1932,12 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
1932
1932
  gpuAcceleration: !0,
1933
1933
  offset: 0,
1934
1934
  placement: "bottom",
1935
- preventOverflowOrder: Ai,
1936
- modifiers: zr,
1935
+ preventOverflowOrder: ki,
1936
+ modifiers: Hr,
1937
1937
  // 此处是string数组, 构造函数调用之后转为函数数组
1938
1938
  updateHiddenPopperOnScroll: !1
1939
1939
  // 滚动过程中是否更新隐藏的弹出层位置
1940
- }, be = function(t, r) {
1940
+ }, ye = function(t, r) {
1941
1941
  var n = function(i) {
1942
1942
  return i !== "" && !isNaN(parseFloat(i)) && isFinite(i);
1943
1943
  };
@@ -1948,14 +1948,14 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
1948
1948
  }, Fe = function(t) {
1949
1949
  var r = t.offsetParent;
1950
1950
  return r === window.document.body || !r ? window.document.documentElement : r;
1951
- }, Hr = function(t, r) {
1951
+ }, $r = function(t, r) {
1952
1952
  if (!(!t || t.nodeType !== 1)) {
1953
1953
  var n = window.getComputedStyle(t, null);
1954
1954
  return n[r];
1955
1955
  }
1956
- }, $r = function(t) {
1957
- return t === window.document.body ? !1 : Hr(t, "position") === "fixed" ? !0 : (t.host && (t = t.host), t.parentNode ? $r(t.parentNode) : !1);
1958
- }, Ze = function(t) {
1956
+ }, Wr = function(t) {
1957
+ return t === window.document.body ? !1 : $r(t, "position") === "fixed" ? !0 : (t.host && (t = t.host), t.parentNode ? Wr(t.parentNode) : !1);
1958
+ }, Ke = function(t) {
1959
1959
  var r = t.getBoundingClientRect();
1960
1960
  return {
1961
1961
  left: r.left,
@@ -1965,14 +1965,14 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
1965
1965
  width: r.right - r.left,
1966
1966
  height: r.bottom - r.top
1967
1967
  };
1968
- }, Wr = function(t) {
1968
+ }, Ur = function(t) {
1969
1969
  if (!t || t.nodeType !== 1)
1970
1970
  return !1;
1971
1971
  var r = window.getComputedStyle(t, null), n = r.overflow, o = r.overflowX, i = r.overflowY, s = /(auto|scroll|overlay|clip)/, a = t.scrollHeight > t.clientHeight || t.scrollWidth > t.clientWidth;
1972
1972
  return a && s.test(n + i + o);
1973
- }, Ci = function(t) {
1973
+ }, Pi = function(t) {
1974
1974
  var r = document.createElement("div");
1975
- be(r, {
1975
+ ye(r, {
1976
1976
  opacity: 0,
1977
1977
  position: "fixed",
1978
1978
  width: 1,
@@ -1981,16 +1981,16 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
1981
1981
  left: 0,
1982
1982
  "z-index": "-99"
1983
1983
  }), t.appendChild(r);
1984
- var n = Ze(r);
1984
+ var n = Ke(r);
1985
1985
  return t.removeChild(r), n;
1986
- }, ye = function(t) {
1986
+ }, we = function(t) {
1987
1987
  var r = t.parentNode;
1988
- return r ? r === window.document ? window.document.body.scrollTop || window.document.body.scrollLeft ? window.document.body : window.document.documentElement : Wr(r) ? r : ye(r) : t;
1989
- }, Pi = function(t, r, n, o) {
1990
- var i = Ze(t), s = i.top, a = i.left, l = i.width, u = i.height;
1988
+ return r ? r === window.document ? window.document.body.scrollTop || window.document.body.scrollLeft ? window.document.body : window.document.documentElement : Ur(r) ? r : we(r) : t;
1989
+ }, Ri = function(t, r, n, o) {
1990
+ var i = Ke(t), s = i.top, a = i.left, l = i.width, u = i.height;
1991
1991
  if (n) {
1992
1992
  if (o.parentElement) {
1993
- var c = Ci(o.parentElement), f = c.top, p = c.left;
1993
+ var c = Pi(o.parentElement), f = c.top, p = c.left;
1994
1994
  s -= f, a -= p;
1995
1995
  }
1996
1996
  return {
@@ -2002,18 +2002,18 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2002
2002
  height: u
2003
2003
  };
2004
2004
  }
2005
- var v = Ze(r), d = {
2006
- top: s - v.top,
2007
- left: a - v.left,
2008
- bottom: s - v.top + u,
2009
- right: a - v.left + l,
2005
+ var d = Ke(r), v = {
2006
+ top: s - d.top,
2007
+ left: a - d.left,
2008
+ bottom: s - d.top + u,
2009
+ right: a - d.left + l,
2010
2010
  width: l,
2011
2011
  height: u
2012
2012
  };
2013
- return d;
2014
- }, Ri = function(t) {
2015
- return t === document.body ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) : t.scrollTop || 0;
2013
+ return v;
2016
2014
  }, Ii = function(t) {
2015
+ return t === document.body ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) : t.scrollTop || 0;
2016
+ }, Mi = function(t) {
2017
2017
  return t === document.body ? Math.max(document.documentElement.scrollLeft, document.body.scrollLeft) : t.scrollLeft || 0;
2018
2018
  }, Fi = function(t, r) {
2019
2019
  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);
@@ -2021,7 +2021,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2021
2021
  width: o,
2022
2022
  height: n
2023
2023
  };
2024
- }, Me = function(t) {
2024
+ }, Be = function(t) {
2025
2025
  var r = t.style.display, n = t.style.visibility;
2026
2026
  t.style.display = "block", t.style.visibility = "hidden";
2027
2027
  var o = window.getComputedStyle(t), i = parseFloat(o.marginTop) + parseFloat(o.marginBottom), s = parseFloat(o.marginLeft) + parseFloat(o.marginRight), a = {
@@ -2029,7 +2029,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2029
2029
  height: t.offsetHeight + i
2030
2030
  };
2031
2031
  return t.style.display = r, t.style.visibility = n, a;
2032
- }, Dt = function(t) {
2032
+ }, Lt = function(t) {
2033
2033
  var r = {
2034
2034
  left: "right",
2035
2035
  right: "left",
@@ -2042,10 +2042,10 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2042
2042
  }, ae = function(t) {
2043
2043
  var r = ee({}, t);
2044
2044
  return r.right = r.left + r.width, r.bottom = r.top + r.height, r;
2045
- }, Ur = function(t) {
2045
+ }, Gr = function(t) {
2046
2046
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = t.parentNode;
2047
- return n ? (Wr(n) && r.push(n), Hr(n, "position") === "fixed" ? r : Ur(n, r)) : r;
2048
- }, Lt = function(t) {
2047
+ return n ? (Ur(n) && r.push(n), $r(n, "position") === "fixed" ? r : Gr(n, r)) : r;
2048
+ }, Vt = function(t) {
2049
2049
  var r = {
2050
2050
  width: t.offsetWidth,
2051
2051
  height: t.offsetHeight,
@@ -2055,23 +2055,23 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2055
2055
  bottom: 0
2056
2056
  };
2057
2057
  return r.right = r.left + r.width, r.bottom = r.top + r.height, r;
2058
- }, Vt = function(t) {
2058
+ }, jt = function(t) {
2059
2059
  t.stopPropagation();
2060
- }, jt = !w && typeof ResizeObserver == "function" ? new ResizeObserver(function(e) {
2060
+ }, zt = !w && typeof ResizeObserver == "function" ? new ResizeObserver(function(e) {
2061
2061
  e.forEach(function(t) {
2062
2062
  t.target.popperVm && t.contentRect.height > 50 && t.target.popperVm.update();
2063
2063
  });
2064
- }) : null, Mi = /* @__PURE__ */ (function() {
2064
+ }) : null, Bi = /* @__PURE__ */ (function() {
2065
2065
  function e(t, r, n) {
2066
2066
  var o = this;
2067
- st(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 = ee(ee({}, ki), n), this._options.modifierFns = zr.map(function(i) {
2067
+ lt(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 = ee(ee({}, Ci), n), this._options.modifierFns = Hr.map(function(i) {
2068
2068
  return o[i];
2069
- }), w || (this._popper.setAttribute("x-placement", this._options.placement), this.state.position = this._getPopperPositionByRefernce(this._reference), be(this._popper, {
2069
+ }), w || (this._popper.setAttribute("x-placement", this._options.placement), this.state.position = this._getPopperPositionByRefernce(this._reference), ye(this._popper, {
2070
2070
  position: this.state.position,
2071
2071
  top: 0
2072
- }), this._popper && (this._popper.popperVm = this, jt && jt.observe(this._popper)), this.update(), this._setupEventListeners());
2072
+ }), this._popper && (this._popper.popperVm = this, zt && zt.observe(this._popper)), this.update(), this._setupEventListeners());
2073
2073
  }
2074
- return lt(e, [{
2074
+ return ut(e, [{
2075
2075
  key: "destroy",
2076
2076
  value: function() {
2077
2077
  return this._popper.removeAttribute("x-placement"), this._popper.style.display = "none", this._removeEventListeners(), this._options.removeOnDestroy && this._popper.remove(), this;
@@ -2094,7 +2094,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2094
2094
  }, {
2095
2095
  key: "stopEventBubble",
2096
2096
  value: function() {
2097
- this._popper && (this._popper.onmousewheel || (this._popper.onmousewheel = Vt), this._popper.onwheel || (this._popper.onwheel = Vt));
2097
+ this._popper && (this._popper.onmousewheel || (this._popper.onmousewheel = jt), this._popper.onwheel || (this._popper.onwheel = jt));
2098
2098
  }
2099
2099
  /** 按顺序执行Modifiers, 如果传入终点modifier,则执行到指定位置 */
2100
2100
  }, {
@@ -2120,7 +2120,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2120
2120
  })) : Object.assign(n, {
2121
2121
  top: i,
2122
2122
  left: o
2123
- }), Object.assign(n, r.styles), be(this._popper, n), this._popper.setAttribute("x-placement", r.placement), r.offsets.arrow && be(r.arrowElement, r.offsets.arrow), r;
2123
+ }), Object.assign(n, r.styles), ye(this._popper, n), this._popper.setAttribute("x-placement", r.placement), r.offsets.arrow && ye(r.arrowElement, r.offsets.arrow), r;
2124
2124
  }
2125
2125
  // 判断 placement是不是2段式的,是则处理一下偏移。 修改data.offsets.popper的值
2126
2126
  }, {
@@ -2145,8 +2145,8 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2145
2145
  left: l + c - f.width
2146
2146
  }
2147
2147
  }
2148
- }, v = ~["bottom", "top"].indexOf(o) ? "x" : "y";
2149
- r.offsets.popper = Object.assign(f, p[v][i]);
2148
+ }, d = ~["bottom", "top"].indexOf(o) ? "x" : "y";
2149
+ r.offsets.popper = Object.assign(f, p[d][i]);
2150
2150
  }
2151
2151
  return r;
2152
2152
  }
@@ -2200,12 +2200,12 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2200
2200
  var n = this;
2201
2201
  if (r.flipped && r.placement === r._originalPlacement)
2202
2202
  return r;
2203
- var o = r.placement.split("-"), i = o[0], s = Dt(i), a = o[1] || "", l = [i, s];
2203
+ var o = r.placement.split("-"), i = o[0], s = Lt(i), a = o[1] || "", l = [i, s];
2204
2204
  return l.forEach(function(u, c) {
2205
2205
  if (!(i !== u || l.length === c + 1)) {
2206
- i = r.placement.split("-")[0], s = Dt(i);
2207
- var f = ae(r.offsets.popper), p = ["right", "bottom"].includes(i), v = Math.floor(r.offsets.reference[i]), d = Math.floor(f[s]);
2208
- (p && v > d || !p && v < d) && (r.flipped = !0, r.placement = l[c + 1], a && (r.placement += "-".concat(a)), r.offsets.popper = n._getRefPopOffsets(n._popper, n._reference, r.placement).popper, r = n.runModifiers(r, n._options.modifierFns, n.flip));
2206
+ i = r.placement.split("-")[0], s = Lt(i);
2207
+ var f = ae(r.offsets.popper), p = ["right", "bottom"].includes(i), d = Math.floor(r.offsets.reference[i]), v = Math.floor(f[s]);
2208
+ (p && d > v || !p && d < v) && (r.flipped = !0, r.placement = l[c + 1], a && (r.placement += "-".concat(a)), r.offsets.popper = n._getRefPopOffsets(n._popper, n._reference, r.placement).popper, r = n.runModifiers(r, n._options.modifierFns, n.flip));
2209
2209
  }
2210
2210
  }), r;
2211
2211
  }
@@ -2223,12 +2223,12 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2223
2223
  var n = this._options.arrowElement, o = this._options.arrowOffset;
2224
2224
  if (typeof n == "string" && (n = this._popper.querySelector(n)), !n || !this._popper.contains(n))
2225
2225
  return r;
2226
- var i = {}, s = r.placement.split("-")[0], a = ae(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 = Me(this._popper), h = Me(n), m = h[c];
2227
- 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]);
2228
- var g = l[v] + (o || l[c] / 2 - m / 2), _ = g - a[v], S = 4;
2229
- _ = Math.max(Math.min(a[c] - m - S, _), S), i[v] = _, i[p] = "";
2226
+ var i = {}, s = r.placement.split("-")[0], a = ae(r.offsets.popper), l = r.offsets.reference, u = ~["left", "right"].indexOf(s), c = u ? "height" : "width", f = u ? "bottom" : "right", p = u ? "left" : "top", d = u ? "top" : "left", v = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Be(this._popper), h = Be(n), m = h[c];
2227
+ l[f] - m < a[d] && (r.offsets.popper[d] -= a[d] - (l[f] - m)), l[d] + m > a[f] && (r.offsets.popper[d] += l[d] + m - a[f]);
2228
+ var g = l[d] + (o || l[c] / 2 - m / 2), _ = g - a[d], S = 4;
2229
+ _ = Math.max(Math.min(a[c] - m - S, _), S), i[d] = _, i[p] = "";
2230
2230
  var O = this._options.placement.split("-");
2231
- return this._options.adjustArrow && ~["top", "bottom"].indexOf(O[0]) && v === "left" && (O[1] === "start" ? i.left = S : O[1] || (i.left = (d.width - h.width) / 2)), r.offsets.arrow = i, r.arrowElement = n, r;
2231
+ return this._options.adjustArrow && ~["top", "bottom"].indexOf(O[0]) && d === "left" && (O[1] === "start" ? i.left = S : O[1] || (i.left = (v.width - h.width) / 2)), r.offsets.arrow = i, r.arrowElement = n, r;
2232
2232
  }
2233
2233
  /** 判断 reference 的 offsetParent 元素是fix还是abs, 这个值会赋值给popper 的dom */
2234
2234
  }, {
@@ -2236,7 +2236,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2236
2236
  value: function(r) {
2237
2237
  if (this._options.forceAbsolute)
2238
2238
  return "absolute";
2239
- var n = $r(r);
2239
+ var n = Wr(r);
2240
2240
  return n ? "fixed" : "absolute";
2241
2241
  }
2242
2242
  /** 实时计算一下popper, reference的 位置信息, 用于 */
@@ -2246,7 +2246,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2246
2246
  o = o.split("-")[0];
2247
2247
  var i = {
2248
2248
  position: this.state.position
2249
- }, s = i.position === "fixed", a = Pi(n, Fe(r), s, r), l = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Me(r), u = l.width, c = l.height;
2249
+ }, s = i.position === "fixed", a = Ri(n, Fe(r), s, r), l = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Be(r), u = l.width, c = l.height;
2250
2250
  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, {
2251
2251
  popper: i,
2252
2252
  reference: a
@@ -2260,18 +2260,18 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2260
2260
  if (r._options.updateHiddenPopperOnScroll)
2261
2261
  r.state.updateBoundFn();
2262
2262
  else {
2263
- if (vt(r._reference)) return;
2263
+ if (ht(r._reference)) return;
2264
2264
  r.state.updateBoundFn();
2265
2265
  }
2266
2266
  }, E(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window") {
2267
- var n, o, i, s = this._options.scrollParent || ye(this._reference), a = [];
2267
+ var n, o, i, s = this._options.scrollParent || we(this._reference), a = [];
2268
2268
  if ((n = s) !== null && n !== void 0 && (o = n.dataset) !== null && o !== void 0 && (i = o.tag) !== null && i !== void 0 && i.includes("-form")) {
2269
2269
  a.push(s);
2270
- var l = ye(s);
2270
+ var l = we(s);
2271
2271
  (l === window.document.body || l === window.document.documentElement) && (l = window), a.push(l);
2272
2272
  }
2273
2273
  if ((s === window.document.body || s === window.document.documentElement) && (s = window), this.state.scrollTarget = s, this._options.bubbling || P.globalScroll) {
2274
- var u = Ur(this._reference);
2274
+ var u = Gr(this._reference);
2275
2275
  this.state.scrollTargets = u || [], u.forEach(function(c) {
2276
2276
  E(c, "scroll", r.state.scrollUpdate);
2277
2277
  });
@@ -2312,12 +2312,12 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2312
2312
  left: 0
2313
2313
  };
2314
2314
  } else if (o === "viewport") {
2315
- var f = Fe(this._popper), p = ye(this._popper), v = Lt(f), d = r.offsets.popper.position === "fixed", h = d || !this._options.appendToBody && ["right", "left"].includes(this._options.placement), m = h ? 0 : Ri(p), g = h ? 0 : Ii(p), _ = window;
2315
+ var f = Fe(this._popper), p = we(this._popper), d = Vt(f), v = r.offsets.popper.position === "fixed", h = v || !this._options.appendToBody && ["right", "left"].includes(this._options.placement), m = h ? 0 : Ii(p), g = h ? 0 : Mi(p), _ = window;
2316
2316
  i = {
2317
- top: 0 - (v.top - m),
2318
- right: _.document.documentElement.clientWidth - (v.left - g),
2319
- bottom: _.document.documentElement.clientHeight - (v.top - m),
2320
- left: 0 - (v.left - g)
2317
+ top: 0 - (d.top - m),
2318
+ right: _.document.documentElement.clientWidth - (d.left - g),
2319
+ bottom: _.document.documentElement.clientHeight - (d.top - m),
2320
+ left: 0 - (d.left - g)
2321
2321
  };
2322
2322
  } else if (Fe(this._popper) === o) {
2323
2323
  var S = o.clientWidth, O = o.clientHeight;
@@ -2328,7 +2328,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2328
2328
  left: 0
2329
2329
  };
2330
2330
  } else
2331
- i = Lt(o);
2331
+ i = Vt(o);
2332
2332
  return i.right -= n, i.left += n, i.bottom = i.bottom - n, i.top = i.top + n, i;
2333
2333
  }
2334
2334
  // https://popper.js.org/docs/v2/lifecycle/#set-new-options
@@ -2338,7 +2338,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2338
2338
  Object.assign(this._options, r);
2339
2339
  }
2340
2340
  }]);
2341
- })(), Bi = function(t) {
2341
+ })(), Ni = function(t) {
2342
2342
  var r = t.api, n = t.state, o = t.props;
2343
2343
  return function(i) {
2344
2344
  var s = 200, a = i && i.type === "mouseenter" ? s : 0;
@@ -2349,26 +2349,26 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2349
2349
  }
2350
2350
  r.setExpectedState(!0), r.handleShowPopper(a);
2351
2351
  };
2352
- }, Ni = function(t) {
2352
+ }, Di = function(t) {
2353
2353
  return function() {
2354
2354
  t.setExpectedState(!1), t.debounceClose();
2355
2355
  };
2356
- }, Di = function(t) {
2356
+ }, Li = function(t) {
2357
2357
  var r = t.api, n = t.state;
2358
2358
  return function() {
2359
2359
  n.focusing = !0, r.show();
2360
2360
  };
2361
- }, Li = function(t) {
2361
+ }, Vi = function(t) {
2362
2362
  var r = t.api, n = t.state;
2363
2363
  return function() {
2364
2364
  n.focusing = !1, r.hide();
2365
2365
  };
2366
- }, Vi = function(t) {
2366
+ }, ji = function(t) {
2367
2367
  var r = t.api, n = t.state;
2368
2368
  return function() {
2369
2369
  n.focusing = !1, r.show();
2370
2370
  };
2371
- }, ji = function(t) {
2371
+ }, zi = function(t) {
2372
2372
  var r = t.props, n = t.state;
2373
2373
  return function(o) {
2374
2374
  !n.expectedState || r.manual || (clearTimeout(n.timeout), n.timeout = window.setTimeout(function() {
@@ -2377,12 +2377,12 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2377
2377
  n.showPopper = !1;
2378
2378
  }, r.hideAfter)));
2379
2379
  };
2380
- }, zi = function(t) {
2380
+ }, Hi = function(t) {
2381
2381
  var r = t.api, n = t.props, o = t.state;
2382
2382
  return function() {
2383
2383
  n.enterable && o.expectedState || n.manual || (clearTimeout(o.timeout), o.timeoutPending && clearTimeout(o.timeoutPending), o.showPopper = !1, n.disabled && r.doDestroy());
2384
2384
  };
2385
- }, Hi = function(t) {
2385
+ }, $i = function(t) {
2386
2386
  var r = t.props, n = t.api, o = t.state, i = t.popperVmRef;
2387
2387
  return function(s) {
2388
2388
  if (!r.manual) {
@@ -2390,27 +2390,27 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2390
2390
  !l || !a || l.contains(s.target) || a.contains(s.target) || o.showPopper && (n.setExpectedState(!1), n.debounceClose());
2391
2391
  }
2392
2392
  };
2393
- }, $i = function(t) {
2393
+ }, Wi = function(t) {
2394
2394
  var r = t.state;
2395
2395
  return function(n) {
2396
2396
  r.expectedState === !1 && clearTimeout(r.timeoutPending), r.expectedState = n;
2397
2397
  };
2398
- }, Wi = function(t) {
2398
+ }, Ui = function(t) {
2399
2399
  var r = t.state, n = t.api, o = t.vm;
2400
2400
  return function() {
2401
2401
  var i = r.referenceElm;
2402
2402
  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);
2403
2403
  };
2404
- }, Ui = function(t) {
2404
+ }, Gi = function(t) {
2405
2405
  var r = t.api, n = t.props;
2406
- return hi(n.closeDelay, function() {
2406
+ return mi(n.closeDelay, function() {
2407
2407
  r.handleClosePopper();
2408
2408
  });
2409
- }, Gi = function(t) {
2409
+ }, qi = function(t) {
2410
2410
  return function(r) {
2411
2411
  r ? se(t.referenceElm, "focusing") : le(t.referenceElm, "focusing");
2412
2412
  };
2413
- }, qi = function(t) {
2413
+ }, Ji = function(t) {
2414
2414
  var r = t.slots, n = t.api;
2415
2415
  return function() {
2416
2416
  if (!r.default || !r.default().length) {
@@ -2420,16 +2420,16 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2420
2420
  var o = r.default()[0];
2421
2421
  o = o.elm || o.el, o && o.focus ? o.focus() : n.handleFocus();
2422
2422
  };
2423
- }, Ji = function(t) {
2423
+ }, Xi = function(t) {
2424
2424
  var r = t.api, n = t.state, o = t.vm;
2425
2425
  return function(i) {
2426
2426
  var s = null;
2427
2427
  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));
2428
2428
  };
2429
- }, Xi = function(t) {
2429
+ }, Yi = function(t) {
2430
2430
  var r = t.state, n = t.popperVmRef;
2431
2431
  return function(o) {
2432
- var i = ln(o), s;
2432
+ var i = un(o), s;
2433
2433
  try {
2434
2434
  for (i.s(); !(s = i.n()).done; ) {
2435
2435
  var a = s.value;
@@ -2441,7 +2441,7 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2441
2441
  i.f();
2442
2442
  }
2443
2443
  };
2444
- }, Yi = function(t) {
2444
+ }, Zi = function(t) {
2445
2445
  var r = t.vm, n = t.nextTick, o = t.popperVmRef;
2446
2446
  return function(i) {
2447
2447
  n(function() {
@@ -2452,12 +2452,12 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2452
2452
  r.modelValue && r.updatePopper();
2453
2453
  });
2454
2454
  };
2455
- }, zt = function(t) {
2456
- return t.stopPropagation();
2457
2455
  }, Ht = function(t) {
2456
+ return t.stopPropagation();
2457
+ }, $t = function(t) {
2458
2458
  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;
2459
2459
  return !s && i.reference && i.reference()[0] && (r.referenceElm = i.reference()[0].elm || i.reference()[0].el, s = r.referenceElm), s;
2460
- }, Zi = function(t) {
2460
+ }, Ki = function(t) {
2461
2461
  if (!(!t || !t.nodeType)) {
2462
2462
  var r = function(s) {
2463
2463
  return parseInt(window.getComputedStyle(s).zIndex, 10) || 0;
@@ -2471,8 +2471,8 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2471
2471
  } while (t !== document.body);
2472
2472
  return n + 1 + "";
2473
2473
  }
2474
- }, Ki = function(t) {
2475
- 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({
2474
+ }, Qi = function(t) {
2475
+ 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, d = t.popperVmRef, v = u({
2476
2476
  popperJS: null,
2477
2477
  appended: !1,
2478
2478
  // arrow 是否添加
@@ -2481,53 +2481,53 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2481
2481
  referenceElm: null,
2482
2482
  currentPlacement: ""
2483
2483
  }), h = function(b) {
2484
- if (!d.appended) {
2485
- d.appended = !0;
2484
+ if (!v.appended) {
2485
+ v.appended = !0;
2486
2486
  var y = document.createElement("div");
2487
2487
  y.setAttribute("x-arrow", ""), y.className = "popper__arrow", b.appendChild(y);
2488
2488
  }
2489
2489
  }, m = function(b) {
2490
- var y = (a == null ? void 0 : a.popperOptions) || {}, M = y.followReferenceHide, F = M === void 0 ? !0 : M, ke = b._popper, C = b._reference;
2491
- F && vt(C) && (ke.style.display = "none");
2490
+ var y = (a == null ? void 0 : a.popperOptions) || {}, F = y.followReferenceHide, M = F === void 0 ? !0 : F, Ce = b._popper, C = b._reference;
2491
+ M && ht(C) && (Ce.style.display = "none");
2492
2492
  }, g = function(b) {
2493
- return a.zIndex === "relative" ? Zi(b) : P.nextZIndex();
2493
+ return a.zIndex === "relative" ? Ki(b) : P.nextZIndex();
2494
2494
  }, _ = function(b) {
2495
- if (!w && (d.currentPlacement = d.currentPlacement || a.placement, !!/^(top|bottom|left|right)(-start|-end)?$/g.test(d.currentPlacement))) {
2495
+ if (!w && (v.currentPlacement = v.currentPlacement || a.placement, !!/^(top|bottom|left|right)(-start|-end)?$/g.test(v.currentPlacement))) {
2496
2496
  var y = a.popperOptions || {
2497
2497
  gpuAcceleration: !1
2498
2498
  };
2499
- d.popperElm = d.popperElm || a.popper || c.$refs.popper || v.popper || b;
2500
- var M = d.popperElm, F = Ht({
2501
- state: d,
2499
+ v.popperElm = v.popperElm || a.popper || c.$refs.popper || d.popper || b;
2500
+ var F = v.popperElm, M = $t({
2501
+ state: v,
2502
2502
  props: a,
2503
2503
  vm: c,
2504
2504
  slots: f
2505
2505
  });
2506
- !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 Mi(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", zt));
2506
+ !F || !M || M.nodeType !== Node.ELEMENT_NODE || (a.visibleArrow && h(F), a.appendToBody || a.popperAppendToBody ? document.body.appendChild(v.popperElm) : (r && r.$el && r.$el.appendChild(v.popperElm), y.forceAbsolute = !0), y.placement = v.currentPlacement, y.offset = a.offset || 0, y.arrowOffset = a.arrowOffset || 0, y.adjustArrow = a.adjustArrow || !1, y.appendToBody = a.appendToBody || a.popperAppendToBody, v.popperJS = new Bi(M, F, y), n("created", v), typeof y.onUpdate == "function" && v.popperJS.onUpdate(y.onUpdate), v.popperJS._popper.style.zIndex = g(v.popperJS._reference), m(v.popperJS), E(v.popperElm, "click", Ht));
2507
2507
  }
2508
2508
  }, S = function(b) {
2509
- b && b !== !0 && (d.popperElm = b);
2510
- var y = d.popperJS;
2511
- y ? (y._reference = Ht({
2512
- state: d,
2509
+ b && b !== !0 && (v.popperElm = b);
2510
+ var y = v.popperJS;
2511
+ y ? (y._reference = $t({
2512
+ state: v,
2513
2513
  props: a,
2514
2514
  vm: c,
2515
2515
  slots: f
2516
- }), y.update(), y._popper && b !== !0 && (y._popper.style.zIndex = g(y._reference), m(d.popperJS))) : _(b && b !== !0 ? b : void 0);
2516
+ }), y.update(), y._popper && b !== !0 && (y._popper.style.zIndex = g(y._reference), m(v.popperJS))) : _(b && b !== !0 ? b : void 0);
2517
2517
  }, O = function(b) {
2518
- !d.popperJS || d.showPopper && !b || (d.popperJS.destroy(), d.popperJS = null);
2518
+ !v.popperJS || v.showPopper && !b || (v.popperJS.destroy(), v.popperJS = null);
2519
2519
  }, H = function(b) {
2520
- b && d.popperElm && d.popperElm.parentNode === document.body && (I(d.popperElm, "click", zt), d.popperElm.remove());
2520
+ b && v.popperElm && v.popperElm.parentNode === document.body && (I(v.popperElm, "click", Ht), v.popperElm.remove());
2521
2521
  };
2522
2522
  return l(function() {
2523
- return d.showPopper;
2523
+ return v.showPopper;
2524
2524
  }, function(T) {
2525
2525
  a.disabled || (T && o(S), a.trigger === "manual" && n("update:modelValue", T));
2526
2526
  }), l(function() {
2527
2527
  return a.placement;
2528
2528
  }, function(T) {
2529
2529
  var b;
2530
- d.currentPlacement = T, (b = d.popperJS) === null || b === void 0 || b.setOptions({
2530
+ v.currentPlacement = T, (b = v.popperJS) === null || b === void 0 || b.setOptions({
2531
2531
  placement: T
2532
2532
  }), !a.disabled && (T && o(S), a.trigger === "manual" && n("update:modelValue", T));
2533
2533
  }), i(function() {
@@ -2540,8 +2540,8 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2540
2540
  updatePopper: S,
2541
2541
  destroyPopper: H,
2542
2542
  doDestroy: O
2543
- }, p(d));
2544
- }, Gr = ["state", "bindEvent", "hide", "show", "doDestroy", "handleFocus", "debounceClose", "handleShowPopper", "handleClosePopper", "setExpectedState", "updatePopper", "focusHandler"], Qi = function(t) {
2543
+ }, p(v));
2544
+ }, qr = ["state", "bindEvent", "hide", "show", "doDestroy", "handleFocus", "debounceClose", "handleShowPopper", "handleClosePopper", "setExpectedState", "updatePopper", "focusHandler"], ea = function(t) {
2545
2545
  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;
2546
2546
  return r({
2547
2547
  popperJS: l,
@@ -2552,15 +2552,15 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2552
2552
  timeout: null,
2553
2553
  focusing: !1,
2554
2554
  expectedState: void 0,
2555
- tooltipId: Uo("tiny-tooltip-", 4),
2555
+ tooltipId: Go("tiny-tooltip-", 4),
2556
2556
  tabindex: s.tabindex,
2557
2557
  xPlacement: "bottom",
2558
2558
  showContent: a("showContent", null),
2559
2559
  tipsMaxWidth: a("tips-max-width", null)
2560
2560
  });
2561
- }, qr = function(t, r, n) {
2562
- 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 = {
2563
- emit: v,
2561
+ }, Jr = function(t, r, n) {
2562
+ 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, d = n.emit, v = n.slots, h = n.nextTick, m = n.parent, g = {}, _ = {}, S = {
2563
+ emit: d,
2564
2564
  props: t,
2565
2565
  nextTick: h,
2566
2566
  toRefs: i,
@@ -2570,86 +2570,86 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2570
2570
  popperVmRef: _
2571
2571
  };
2572
2572
  Object.assign(S, {
2573
- slots: d,
2573
+ slots: v,
2574
2574
  onBeforeUnmount: a,
2575
2575
  onDeactivated: l,
2576
2576
  watch: o
2577
2577
  });
2578
- var O = Ki(S), H = O.showPopper, T = O.updatePopper, b = O.popperElm, y = O.referenceElm, M = O.doDestroy, F = O.popperJS, ke = O.currentPlacement, C = Qi({
2578
+ var O = Qi(S), H = O.showPopper, T = O.updatePopper, b = O.popperElm, y = O.referenceElm, F = O.doDestroy, M = O.popperJS, Ce = O.currentPlacement, C = ea({
2579
2579
  reactive: s,
2580
2580
  showPopper: H,
2581
2581
  popperElm: b,
2582
2582
  referenceElm: y,
2583
2583
  props: t,
2584
2584
  inject: f,
2585
- popperJS: F,
2586
- currentPlacement: ke
2585
+ popperJS: M,
2586
+ currentPlacement: Ce
2587
2587
  });
2588
2588
  return Object.assign(g, {
2589
2589
  state: C,
2590
- doDestroy: M,
2590
+ doDestroy: F,
2591
2591
  updatePopper: T,
2592
- show: Bi({
2592
+ show: Ni({
2593
2593
  api: g,
2594
2594
  state: C,
2595
2595
  props: t
2596
2596
  }),
2597
- hide: Ni(g),
2598
- destroyed: Wi({
2597
+ hide: Di(g),
2598
+ destroyed: Ui({
2599
2599
  state: C,
2600
2600
  api: g,
2601
2601
  vm: p
2602
2602
  }),
2603
- bindPopper: Yi({
2603
+ bindPopper: Zi({
2604
2604
  vm: p,
2605
2605
  nextTick: h,
2606
2606
  popperVmRef: _
2607
2607
  }),
2608
- watchFocusing: Gi(C),
2609
- removeFocusing: Vi({
2608
+ watchFocusing: qi(C),
2609
+ removeFocusing: ji({
2610
2610
  api: g,
2611
2611
  state: C
2612
2612
  }),
2613
- handleBlur: Li({
2613
+ handleBlur: Vi({
2614
2614
  api: g,
2615
2615
  state: C
2616
2616
  }),
2617
- handleFocus: Di({
2617
+ handleFocus: Li({
2618
2618
  api: g,
2619
2619
  state: C
2620
2620
  }),
2621
- debounceClose: Ui({
2621
+ debounceClose: Gi({
2622
2622
  api: g,
2623
2623
  props: t
2624
2624
  }),
2625
- setExpectedState: $i({
2625
+ setExpectedState: Wi({
2626
2626
  state: C
2627
2627
  }),
2628
- handleShowPopper: ji({
2628
+ handleShowPopper: zi({
2629
2629
  props: t,
2630
2630
  state: C
2631
2631
  }),
2632
- handleClosePopper: zi({
2632
+ handleClosePopper: Hi({
2633
2633
  api: g,
2634
2634
  props: t,
2635
2635
  state: C
2636
2636
  }),
2637
- bindEvent: Ji({
2637
+ bindEvent: Xi({
2638
2638
  api: g,
2639
2639
  state: C,
2640
2640
  vm: p
2641
2641
  }),
2642
- focusHandler: qi({
2643
- slots: d,
2642
+ focusHandler: Ji({
2643
+ slots: v,
2644
2644
  api: g
2645
2645
  }),
2646
- handleDocumentClick: Hi({
2646
+ handleDocumentClick: $i({
2647
2647
  props: t,
2648
2648
  api: g,
2649
2649
  state: C,
2650
2650
  popperVmRef: _
2651
2651
  }),
2652
- observeCallback: Xi({
2652
+ observeCallback: Yi({
2653
2653
  state: C,
2654
2654
  popperVmRef: _
2655
2655
  })
@@ -2657,28 +2657,28 @@ var Ai = ["left", "right", "top", "bottom"], zr = ["shift", "offset", "preventOv
2657
2657
  return C.focusing;
2658
2658
  }, g.watchFocusing), o(function() {
2659
2659
  return t.modelValue;
2660
- }, function(Ce) {
2660
+ }, function(Pe) {
2661
2661
  return h(function() {
2662
- return t.manual && (C.showPopper = Ce);
2662
+ return t.manual && (C.showPopper = Pe);
2663
2663
  });
2664
2664
  }), u(function() {
2665
2665
  if (g.bindPopper(), t.genArrowByHtml) {
2666
- var Ce = {
2666
+ var Pe = {
2667
2667
  attributes: !0,
2668
2668
  childList: !1,
2669
2669
  subtree: !1
2670
2670
  };
2671
- g.observer = new MutationObserver(g.observeCallback), g.observer.observe(_.popper, Ce);
2671
+ g.observer = new MutationObserver(g.observeCallback), g.observer.observe(_.popper, Pe);
2672
2672
  }
2673
2673
  }), p.$on("tooltip-update", g.bindPopper), c(function() {
2674
2674
  g.destroyed(), g.observer && g.observer.disconnect(), p.$off("tooltip-update");
2675
2675
  }), g;
2676
2676
  };
2677
- const ea = nt({
2678
- name: at + "Tooltip",
2677
+ const ta = ot({
2678
+ name: st + "Tooltip",
2679
2679
  componentName: "Tooltip",
2680
2680
  props: {
2681
- ...ot,
2681
+ ...it,
2682
2682
  visible: {
2683
2683
  type: String,
2684
2684
  default: () => "always",
@@ -2781,17 +2781,17 @@ const ea = nt({
2781
2781
  }
2782
2782
  },
2783
2783
  setup(e, t) {
2784
- return nr({
2784
+ return or({
2785
2785
  props: e,
2786
2786
  context: t,
2787
- renderless: qr,
2788
- api: Gr
2787
+ renderless: Jr,
2788
+ api: qr
2789
2789
  });
2790
2790
  },
2791
2791
  render() {
2792
2792
  const e = arguments[0], t = (i) => {
2793
2793
  let s = i.slots.content && i.slots.content();
2794
- if (s && (!Ve.Comment || s[0].type !== Ve.Comment))
2794
+ if (s && (!je.Comment || s[0].type !== je.Comment))
2795
2795
  return s;
2796
2796
  let a;
2797
2797
  if (i.renderContent)
@@ -2809,7 +2809,7 @@ const ea = nt({
2809
2809
  };
2810
2810
  this.d({
2811
2811
  popperVM: {
2812
- get: () => (i.value || (i.value = it({
2812
+ get: () => (i.value || (i.value = at({
2813
2813
  parent: this,
2814
2814
  el: document.createElement("div"),
2815
2815
  propsData: null,
@@ -2863,8 +2863,8 @@ const ea = nt({
2863
2863
  if (!Array.isArray(i)) return null;
2864
2864
  let s = null;
2865
2865
  for (let a = 0; a < i.length; a++) {
2866
- const l = or(i[a]);
2867
- if (!ir(l)) {
2866
+ const l = ir(i[a]);
2867
+ if (!ar(l)) {
2868
2868
  s = l;
2869
2869
  break;
2870
2870
  }
@@ -2873,17 +2873,17 @@ const ea = nt({
2873
2873
  })();
2874
2874
  if (!n) return null;
2875
2875
  const o = n.data || n.props || (n.props = {});
2876
- return o.class = en("tiny-tooltip " + tn(o.class)), n;
2876
+ return o.class = tn("tiny-tooltip " + rn(o.class)), n;
2877
2877
  }
2878
2878
  });
2879
- function Jr(e, t, r, n, o, i, s, a) {
2879
+ function Xr(e, t, r, n, o, i, s, a) {
2880
2880
  var l = typeof e == "function" ? e.options : e, u;
2881
2881
  if (o && (u = o), u)
2882
2882
  if (l.functional) {
2883
2883
  l._injectStyles = u;
2884
2884
  var c = l.render;
2885
- l.render = function(v, d) {
2886
- return u.call(d), c(v, d);
2885
+ l.render = function(d, v) {
2886
+ return u.call(v), c(d, v);
2887
2887
  };
2888
2888
  } else {
2889
2889
  var f = l.beforeCreate;
@@ -2894,21 +2894,21 @@ function Jr(e, t, r, n, o, i, s, a) {
2894
2894
  options: l
2895
2895
  };
2896
2896
  }
2897
- let ta, ra;
2898
- const $t = {};
2899
- var na = /* @__PURE__ */ Jr(
2900
- ea,
2897
+ let ra, na;
2898
+ const Wt = {};
2899
+ var oa = /* @__PURE__ */ Xr(
2901
2900
  ta,
2902
2901
  ra,
2902
+ na,
2903
2903
  !1,
2904
- oa
2904
+ ia
2905
2905
  );
2906
- function oa(e) {
2907
- for (let t in $t)
2908
- this[t] = $t[t];
2906
+ function ia(e) {
2907
+ for (let t in Wt)
2908
+ this[t] = Wt[t];
2909
2909
  }
2910
- const Wt = /* @__PURE__ */ (function() {
2911
- return na.exports;
2910
+ const Ut = /* @__PURE__ */ (function() {
2911
+ return oa.exports;
2912
2912
  })();
2913
2913
  var N = {
2914
2914
  tooltip: "absolute bg-color-text-primary text-color-text-inverse shadow-none -left-[9999px] py-1 px-2 sm:py-1 sm:px-2 text-sm sm:text-xs leading-5 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",
@@ -2953,11 +2953,11 @@ var N = {
2953
2953
  "arrow-left-success": "border-l-color-success after:border-l-color-success",
2954
2954
  "arrow-right-success": "border-r-color-success after:border-r-color-success"
2955
2955
  };
2956
- const ia = nt({
2957
- name: at + "Tooltip",
2956
+ const aa = ot({
2957
+ name: st + "Tooltip",
2958
2958
  componentName: "Tooltip",
2959
2959
  props: {
2960
- ...ot,
2960
+ ...it,
2961
2961
  adjustArrow: {
2962
2962
  type: Boolean,
2963
2963
  default: () => !1
@@ -3059,11 +3059,11 @@ const ia = nt({
3059
3059
  }
3060
3060
  },
3061
3061
  setup(e, t) {
3062
- return nr({
3062
+ return or({
3063
3063
  props: e,
3064
3064
  context: t,
3065
- renderless: qr,
3066
- api: Gr
3065
+ renderless: Jr,
3066
+ api: qr
3067
3067
  });
3068
3068
  },
3069
3069
  render() {
@@ -3089,7 +3089,7 @@ const ia = nt({
3089
3089
  };
3090
3090
  this.d({
3091
3091
  popperVM: {
3092
- get: () => (a.value || (a.value = it({
3092
+ get: () => (a.value || (a.value = at({
3093
3093
  parent: this,
3094
3094
  el: document.createElement("div"),
3095
3095
  component: {
@@ -3103,7 +3103,7 @@ const ia = nt({
3103
3103
  }, f = () => this.setExpectedState(!0), p = () => {
3104
3104
  this.setExpectedState(!1), this.debounceClose();
3105
3105
  };
3106
- const v = this.state.xPlacement || "";
3106
+ const d = this.state.xPlacement || "";
3107
3107
  return e("transition", c, [e("div", {
3108
3108
  attrs: {
3109
3109
  "data-tag": "tiny-tooltip",
@@ -3117,7 +3117,7 @@ const ia = nt({
3117
3117
  name: "show",
3118
3118
  value: !this.disabled && this.state.showPopper && l
3119
3119
  }],
3120
- class: xt([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]),
3120
+ class: _t([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]),
3121
3121
  on: {
3122
3122
  mouseenter: () => f(),
3123
3123
  mouseleave: () => p()
@@ -3128,7 +3128,7 @@ const ia = nt({
3128
3128
  attrs: {
3129
3129
  "x-arrow": !0
3130
3130
  },
3131
- class: xt([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}`] : ""])
3131
+ class: _t([N.arrow, N["placement-" + d.split("-")[0]], !this.effect && !this.type && N["placement-" + d.split("-")[0] + "-sm"], this.effect === "light" ? N["placement-" + d.split("-")[0] + "-light"] : "", this.effect === "dark" ? N["placement-" + d.split("-")[0] + "-dark"] : "", this.type ? N[`arrow-${d.split("-")[0]}-${this.type}`] : ""])
3132
3132
  }) : ""])]);
3133
3133
  }
3134
3134
  }
@@ -3138,16 +3138,16 @@ const ia = nt({
3138
3138
  });
3139
3139
  }
3140
3140
  const r = (a, l) => {
3141
- const u = (v) => v && v.trim(), c = (v) => {
3142
- const d = [];
3143
- return v.forEach((h) => {
3144
- h && typeof h == "string" ? d.push(u(h)) : h && typeof h == "object" && d.push(f(h));
3145
- }), d.join(" ");
3146
- }, f = (v) => {
3147
- const d = [];
3148
- return Object.keys(v).forEach((h) => {
3149
- v[h] && d.push(h);
3150
- }), d.join(" ");
3141
+ const u = (d) => d && d.trim(), c = (d) => {
3142
+ const v = [];
3143
+ return d.forEach((h) => {
3144
+ h && typeof h == "string" ? v.push(u(h)) : h && typeof h == "object" && v.push(f(h));
3145
+ }), v.join(" ");
3146
+ }, f = (d) => {
3147
+ const v = [];
3148
+ return Object.keys(d).forEach((h) => {
3149
+ d[h] && v.push(h);
3150
+ }), v.join(" ");
3151
3151
  };
3152
3152
  let p = "";
3153
3153
  return a && (typeof a == "string" ? p = p + u(a) : Array.isArray(a) ? p = p + c(a) : typeof a == "object" && (p = p + f(a))), u(p.replace(l, ""));
@@ -3156,8 +3156,8 @@ const ia = nt({
3156
3156
  if (!Array.isArray(a)) return null;
3157
3157
  let l = null;
3158
3158
  for (let u = 0; u < a.length; u++) {
3159
- const c = or(a[u]);
3160
- if (!ir(c)) {
3159
+ const c = ir(a[u]);
3160
+ if (!ar(c)) {
3161
3161
  l = c;
3162
3162
  break;
3163
3163
  }
@@ -3169,26 +3169,26 @@ const ia = nt({
3169
3169
  return s.class = n(s.class), i;
3170
3170
  }
3171
3171
  });
3172
- let aa, sa;
3173
- const Ut = {};
3174
- var la = /* @__PURE__ */ Jr(
3175
- ia,
3172
+ let sa, la;
3173
+ const Gt = {};
3174
+ var ua = /* @__PURE__ */ Xr(
3176
3175
  aa,
3177
3176
  sa,
3177
+ la,
3178
3178
  !1,
3179
- ua
3179
+ fa
3180
3180
  );
3181
- function ua(e) {
3182
- for (let t in Ut)
3183
- this[t] = Ut[t];
3181
+ function fa(e) {
3182
+ for (let t in Gt)
3183
+ this[t] = Gt[t];
3184
3184
  }
3185
- const fa = /* @__PURE__ */ (function() {
3186
- return la.exports;
3185
+ const ca = /* @__PURE__ */ (function() {
3186
+ return ua.exports;
3187
3187
  })();
3188
- var ca = function(t) {
3189
- var r, n = (typeof process > "u" ? "undefined" : we(process)) === "object" ? (r = process.env) === null || r === void 0 ? void 0 : r.TINY_MODE : null;
3190
- return (n || t) === "pc" ? Wt : (n || t) === "mobile-first" ? fa : Wt;
3191
- }, pa = ee(ee({}, ot), {}, {
3188
+ var pa = function(t) {
3189
+ var r, n = (typeof process > "u" ? "undefined" : xe(process)) === "object" ? (r = process.env) === null || r === void 0 ? void 0 : r.TINY_MODE : null;
3190
+ return (n || t) === "pc" ? Ut : (n || t) === "mobile-first" ? ca : Ut;
3191
+ }, da = ee(ee({}, it), {}, {
3192
3192
  visible: {
3193
3193
  type: String,
3194
3194
  default: function() {
@@ -3328,18 +3328,18 @@ var ca = function(t) {
3328
3328
  }
3329
3329
  }
3330
3330
  });
3331
- const q = nt({
3332
- name: at + "Tooltip",
3331
+ const q = ot({
3332
+ name: st + "Tooltip",
3333
3333
  componentName: "Tooltip",
3334
- props: pa,
3334
+ props: da,
3335
3335
  setup: function(t, r) {
3336
- return rn({
3336
+ return nn({
3337
3337
  props: t,
3338
3338
  context: r,
3339
- template: ca
3339
+ template: pa
3340
3340
  });
3341
3341
  }
3342
- }), da = "3.31.0";
3342
+ }), va = "3.32.0";
3343
3343
  q.model = {
3344
3344
  prop: "modelValue",
3345
3345
  event: "update:modelValue"
@@ -3347,102 +3347,108 @@ q.model = {
3347
3347
  q.install = function(e) {
3348
3348
  e.component(q.name, q);
3349
3349
  };
3350
- q.version = da;
3350
+ q.version = va;
3351
3351
  typeof window < "u" && window.Vue && q.install(window.Vue);
3352
- var va = 2, Q = {
3352
+ var ha = 2, Q = {
3353
3353
  value: null
3354
- }, Be = Ve.ref(""), ha = function(t) {
3355
- var r = Ke(t);
3356
- return r ? t.scrollWidth > t.clientWidth || t.scrollHeight - t.clientHeight > va : !1;
3357
- }, Ke = function(t) {
3354
+ }, Ne = je.ref(""), ma = function(t) {
3355
+ var r = Qe(t);
3356
+ return r ? t.scrollWidth > t.clientWidth || t.scrollHeight - t.clientHeight > ha : !1;
3357
+ }, Qe = function(t) {
3358
3358
  return "content" in t.boundingValue ? t.boundingValue.content : t.textContent;
3359
- }, ma = function(t) {
3359
+ }, ga = function(t) {
3360
3360
  var r;
3361
3361
  return !!(!(t == null || (r = t.boundingValue) === null || r === void 0) && r.always);
3362
- }, Ne = function(t) {
3362
+ }, De = function(t) {
3363
3363
  var r;
3364
3364
  return (t == null || (r = t.boundingValue) === null || r === void 0 ? void 0 : r.effect) === "dark";
3365
- }, De = function(t) {
3365
+ }, Le = function(t) {
3366
3366
  var r;
3367
3367
  return ((r = t.boundingValue) === null || r === void 0 ? void 0 : r.placement) || "top";
3368
- }, he = [], Le = function(t) {
3368
+ }, me = [], Ve = function(t) {
3369
3369
  var r, n = ((r = t.boundingValue) === null || r === void 0 ? void 0 : r.popperClass) || "";
3370
3370
  return n.split(" ").filter(function(o) {
3371
3371
  return o;
3372
3372
  });
3373
- }, Xr = function(t) {
3373
+ }, Yr = function(t) {
3374
3374
  var r = t.currentTarget;
3375
- if (r.boundingValue && (ma(r) || ha(r))) {
3375
+ if (r.boundingValue && (ga(r) || ma(r))) {
3376
3376
  var n;
3377
- Q.value || (Be.value = Ke(r), Q.value = it({
3377
+ Q.value || (Ne.value = Qe(r), Q.value = at({
3378
3378
  el: document.createElement("div"),
3379
3379
  propsData: {
3380
3380
  renderContent: function() {
3381
- return nn("span", {
3381
+ return on("span", {
3382
3382
  class: "tiny-directive-tip__content"
3383
- }, Be.value);
3383
+ }, Ne.value);
3384
3384
  },
3385
- placement: De(r),
3386
- effect: Ne(r) ? "dark" : "light",
3387
- popperClass: Le(r).join(" ")
3385
+ placement: Le(r),
3386
+ effect: De(r) ? "dark" : "light",
3387
+ popperClass: Ve(r).join(" ")
3388
3388
  },
3389
3389
  component: q
3390
- }), he = Le(r));
3390
+ }), me = Ve(r));
3391
3391
  var o = Q.value, i = o.state.popperElm;
3392
- if (Be.value = Ke(r), o.state.referenceElm = r, o.state.currentPlacement = De(r), i) {
3392
+ if (Ne.value = Qe(r), o.state.referenceElm = r, o.state.currentPlacement = Le(r), i) {
3393
3393
  var s, a;
3394
- i.classList.replace("is-".concat(Ne(r) ? "light" : "dark"), "is-".concat(Ne(r) ? "dark" : "light")), (s = i.classList).remove.apply(s, ue(he)), he = Le(r), (a = i.classList).add.apply(a, ue(he));
3394
+ i.classList.replace("is-".concat(De(r) ? "light" : "dark"), "is-".concat(De(r) ? "dark" : "light")), (s = i.classList).remove.apply(s, fe(me)), me = Ve(r), (a = i.classList).add.apply(a, fe(me));
3395
3395
  }
3396
- o.show(), (n = o.state.popperJS) !== null && n !== void 0 && n._options && (o.state.popperJS._options.placement = De(r)), o.updatePopper();
3396
+ o.show(), (n = o.state.popperJS) !== null && n !== void 0 && n._options && (o.state.popperJS._options.placement = Le(r)), o.updatePopper();
3397
3397
  }
3398
- }, Yr = function() {
3398
+ }, Zr = function() {
3399
3399
  Q.value && Q.value.hide();
3400
- }, me = function(t, r) {
3400
+ }, ge = function(t, r) {
3401
3401
  var n, o = r.value, i = o === void 0 ? {} : o;
3402
- typeof i == "boolean" && i && (i = {}), t.boundingValue = i, i && !((n = t.boundingValue) !== null && n !== void 0 && n.listened) && (t.addEventListener("mouseenter", Xr), t.addEventListener("mouseleave", Yr), t.boundingValue.listened = !0);
3403
- }, Gt = function(t) {
3402
+ typeof i == "boolean" && i && (i = {}), t.boundingValue = i, i && !((n = t.boundingValue) !== null && n !== void 0 && n.listened) && (t.addEventListener("mouseenter", Yr), t.addEventListener("mouseleave", Zr), t.boundingValue.listened = !0);
3403
+ }, qt = function(t) {
3404
3404
  var r;
3405
3405
  if ((r = t.boundingValue) !== null && r !== void 0 && r.listened) {
3406
3406
  var n = Q.value;
3407
- n && t === n.state.referenceElm && n.state.showPopper && n.hide(), t.removeEventListener("mouseenter", Xr), t.removeEventListener("mouseleave", Yr);
3407
+ n && t === n.state.referenceElm && n.state.showPopper && n.hide(), t.removeEventListener("mouseenter", Yr), t.removeEventListener("mouseleave", Zr);
3408
3408
  }
3409
3409
  };
3410
- const Pa = {
3411
- bind: me,
3412
- unbind: Gt,
3413
- update: me,
3414
- beforeMount: me,
3415
- unmounted: Gt,
3416
- updated: me
3410
+ const Ra = {
3411
+ bind: ge,
3412
+ unbind: qt,
3413
+ update: ge,
3414
+ beforeMount: ge,
3415
+ unmounted: qt,
3416
+ updated: ge
3417
3417
  };
3418
- var W = [], A = "@@clickoutsideContext", K, ga = 0;
3418
+ var W = [], A = "@@clickoutsideContext", K, ue, ba = 0;
3419
3419
  w || (E(document, "mousedown", function(e) {
3420
- K = e, W.filter(function(t) {
3420
+ K = e, ue = e.composedPath ? e.composedPath() : [e.target], W.filter(function(t) {
3421
3421
  return t[A].mousedownTrigger;
3422
3422
  }).forEach(function(t) {
3423
- return t[A].documentHandler(e, K);
3423
+ return t[A].documentHandler(e, K, ue);
3424
3424
  });
3425
3425
  }), E(document, "mouseup", function(e) {
3426
3426
  W.filter(function(t) {
3427
3427
  return !t[A].mousedownTrigger;
3428
3428
  }).forEach(function(t) {
3429
- var r;
3430
- return t[A].documentHandler(e, (r = t[A]) !== null && r !== void 0 && r.mouseupTrigger ? e : K);
3431
- }), K = null;
3429
+ var r, n = (r = t[A]) === null || r === void 0 ? void 0 : r.mouseupTrigger;
3430
+ t[A].documentHandler(
3431
+ e,
3432
+ n ? e : K,
3433
+ // mouseupTrigger 模式下 mousedown 参数即当前派发中的 mouseup 事件,路径仍有效;
3434
+ // 否则 mousedown 已派发完毕,必须使用派发时缓存的路径
3435
+ n ? null : ue
3436
+ );
3437
+ }), K = null, ue = null;
3432
3438
  }));
3433
- var qt = function(t, r, n) {
3439
+ var Jt = function(t, r, n) {
3434
3440
  return function() {
3435
- var o, i, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = n.context.popperElm || n.context.state && n.context.state.popperElm, u = (a == null || (o = a.composedPath) === null || o === void 0 ? void 0 : o.call(a)) || [a == null ? void 0 : a.target], c = (s == null || (i = s.composedPath) === null || i === void 0 ? void 0 : i.call(s)) || [s == null ? void 0 : s.target], f = u.includes(t) || c.includes(t), p = l && (u.includes(l) || c.includes(l));
3436
- !(a != null && a.target) || !(s != null && s.target) || f || p || (r.expression && t[A].methodName && n.context[t[A].methodName] ? n.context[t[A].methodName]() : t[A].bindingFn && t[A].bindingFn());
3441
+ var o, i, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = arguments.length > 2 ? arguments[2] : void 0, u = n.context.popperElm || n.context.state && n.context.state.popperElm, c = l && l.length ? l : (a == null || (o = a.composedPath) === null || o === void 0 ? void 0 : o.call(a)) || [a == null ? void 0 : a.target], f = (s == null || (i = s.composedPath) === null || i === void 0 ? void 0 : i.call(s)) || [s == null ? void 0 : s.target], p = c.includes(t) || f.includes(t), d = u && (c.includes(u) || f.includes(u));
3442
+ !(a != null && a.target) || !(s != null && s.target) || p || d || (r.expression && t[A].methodName && n.context[t[A].methodName] ? n.context[t[A].methodName]() : t[A].bindingFn && t[A].bindingFn());
3437
3443
  };
3438
3444
  };
3439
- const Ra = {
3445
+ const Ia = {
3440
3446
  bind: function(t, r, n) {
3441
3447
  W.push(t);
3442
- var o = ga++, 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;
3448
+ var o = ba++, 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;
3443
3449
  t[A] = {
3444
3450
  id: o,
3445
- documentHandler: qt(t, r, n),
3451
+ documentHandler: Jt(t, r, n),
3446
3452
  methodName: s,
3447
3453
  bindingFn: a,
3448
3454
  mousedownTrigger: c,
@@ -3451,7 +3457,7 @@ const Ra = {
3451
3457
  },
3452
3458
  update: function(t, r, n) {
3453
3459
  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;
3454
- t[A].documentHandler = qt(t, r, n), t[A].methodName = i, t[A].bindingFn = s, t[A].mousedownTrigger = u, t[A].mouseupTrigger = f;
3460
+ t[A].documentHandler = Jt(t, r, n), t[A].methodName = i, t[A].bindingFn = s, t[A].mousedownTrigger = u, t[A].mouseupTrigger = f;
3455
3461
  },
3456
3462
  unbind: function(t) {
3457
3463
  if (t.nodeType === Node.ELEMENT_NODE) {
@@ -3460,18 +3466,18 @@ const Ra = {
3460
3466
  W.splice(n, 1);
3461
3467
  break;
3462
3468
  }
3463
- W.length === 0 && K && (K = null), delete t[A];
3469
+ W.length === 0 && K && (K = null, ue = null), delete t[A];
3464
3470
  }
3465
3471
  }
3466
3472
  };
3467
- function Zr(e, t) {
3473
+ function Kr(e, t) {
3468
3474
  for (var r = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = []; r.nextNode(); ) {
3469
3475
  var o = r.currentNode;
3470
3476
  t(o) && n.push(o);
3471
3477
  }
3472
3478
  return n;
3473
3479
  }
3474
- function ba(e, t, r) {
3480
+ function ya(e, t, r) {
3475
3481
  t.forEach(function(n) {
3476
3482
  var o = n.textContent, i = o.indexOf(r), s = o.substring(0, i), a = o.substring(i + r.length);
3477
3483
  n.textContent = s;
@@ -3479,9 +3485,9 @@ function ba(e, t, r) {
3479
3485
  l.classList.add("tiny-hl-query-node"), l.textContent = r;
3480
3486
  var u = document.createTextNode(a);
3481
3487
  n.after(l, u);
3482
- }), t.length && yt(e, r);
3488
+ }), t.length && wt(e, r);
3483
3489
  }
3484
- function ya(e) {
3490
+ function wa(e) {
3485
3491
  var t = /* @__PURE__ */ new Set();
3486
3492
  e.forEach(function(r) {
3487
3493
  var n;
@@ -3490,46 +3496,46 @@ function ya(e) {
3490
3496
  r.innerText = r.textContent;
3491
3497
  });
3492
3498
  }
3493
- function yt(e, t) {
3499
+ function wt(e, t) {
3494
3500
  if (t) {
3495
- var r = Zr(e, function(n) {
3501
+ var r = Kr(e, function(n) {
3496
3502
  if (n.parentElement.classList.contains("tiny-hl-query-node"))
3497
3503
  return !1;
3498
3504
  var o = n.textContent || "";
3499
3505
  return o.includes(t);
3500
3506
  });
3501
- ba(e, r, t);
3507
+ ya(e, r, t);
3502
3508
  }
3503
3509
  }
3504
- function wa(e) {
3505
- var t = Zr(e, function(r) {
3510
+ function xa(e) {
3511
+ var t = Kr(e, function(r) {
3506
3512
  return r.parentElement.classList.contains("tiny-hl-query-node");
3507
3513
  });
3508
- ya(t);
3514
+ wa(t);
3509
3515
  }
3510
- var Jt = function(t, r) {
3516
+ var Xt = function(t, r) {
3511
3517
  t.classList.toggle("tiny-hl-query", !0);
3512
3518
  var n = r.value;
3513
- yt(t, n);
3514
- }, Xt = function(t) {
3515
- wa(t);
3516
- }, Yt = function(t, r) {
3519
+ wt(t, n);
3520
+ }, Yt = function(t) {
3521
+ xa(t);
3522
+ }, Zt = function(t, r) {
3517
3523
  var n = r.value;
3518
- yt(t, n);
3524
+ wt(t, n);
3519
3525
  };
3520
- const Ia = {
3521
- mounted: Jt,
3522
- beforeUpdate: Xt,
3523
- updated: Yt,
3526
+ const Ma = {
3527
+ mounted: Xt,
3528
+ beforeUpdate: Yt,
3529
+ updated: Zt,
3524
3530
  // vue2周期
3525
- inserted: Jt,
3526
- update: Xt,
3527
- componentUpdated: Yt
3531
+ inserted: Xt,
3532
+ update: Yt,
3533
+ componentUpdated: Zt
3528
3534
  };
3529
- var D = "@@infinitescrollContext", xa = 50, _a = 200, Ea = 0, Sa = {
3535
+ var D = "@@infinitescrollContext", _a = 50, Ea = 200, Sa = 0, Oa = {
3530
3536
  delay: {
3531
3537
  type: Number,
3532
- default: _a
3538
+ default: Ea
3533
3539
  },
3534
3540
  disabled: {
3535
3541
  type: Boolean,
@@ -3537,7 +3543,7 @@ var D = "@@infinitescrollContext", xa = 50, _a = 200, Ea = 0, Sa = {
3537
3543
  },
3538
3544
  distance: {
3539
3545
  type: Number,
3540
- default: Ea
3546
+ default: Sa
3541
3547
  },
3542
3548
  immediate: {
3543
3549
  type: Boolean,
@@ -3545,49 +3551,49 @@ var D = "@@infinitescrollContext", xa = 50, _a = 200, Ea = 0, Sa = {
3545
3551
  }
3546
3552
  }, Y = function(t) {
3547
3553
  return t === null;
3548
- }, Zt = function(t, r, n) {
3554
+ }, Kt = function(t, r, n) {
3549
3555
  if (Y(t)) return n;
3550
3556
  if (r === Boolean)
3551
3557
  return t !== "false";
3552
3558
  if (r === Number)
3553
3559
  return Number(t);
3554
- }, wt = function(t, r) {
3555
- return Object.entries(Sa).reduce(function(n, o) {
3556
- var i = dn(o, 2), s = i[0], a = i[1], l = a.type, u = a.default, c = "infinite-scroll-".concat(s), f = r != null && r.$el && typeof r.$el.getAttribute == "function" ? r.$el.getAttribute(c) : null, p = t.getAttribute(c), v;
3557
- return (Y(p) && Y(f) || !Y(p)) && (v = Zt(p, l, u)), Y(p) && !Y(f) && (v = Zt(f, l, u)), n[s] = Number.isNaN(v) ? u : v, n;
3560
+ }, xt = function(t, r) {
3561
+ return Object.entries(Oa).reduce(function(n, o) {
3562
+ var i = vn(o, 2), s = i[0], a = i[1], l = a.type, u = a.default, c = "infinite-scroll-".concat(s), f = r != null && r.$el && typeof r.$el.getAttribute == "function" ? r.$el.getAttribute(c) : null, p = t.getAttribute(c), d;
3563
+ return (Y(p) && Y(f) || !Y(p)) && (d = Kt(p, l, u)), Y(p) && !Y(f) && (d = Kt(f, l, u)), n[s] = Number.isNaN(d) ? u : d, n;
3558
3564
  }, {});
3559
- }, Kr = function(t) {
3565
+ }, Qr = function(t) {
3560
3566
  var r = t[D].observer;
3561
3567
  r && (r.disconnect(), delete t[D].observer);
3562
- }, Kt = function(t) {
3568
+ }, Qt = function(t) {
3563
3569
  for (var r = 0, n = t; n; )
3564
3570
  r += n.offsetTop, n = n.offsetParent;
3565
3571
  return r;
3566
- }, Oa = function(t, r) {
3567
- return Math.abs(Kt(t) - Kt(r));
3568
3572
  }, Ta = function(t, r) {
3569
- var n = t[D], o = n.container, i = n.containerEl, s = n.instance, a = n.observer, l = n.lastScrollTop, u = wt(t, s), c = u.disabled, f = u.distance, p = i.clientHeight, v = i.scrollHeight, d = i.scrollTop, h = d - l;
3570
- if (t[D].lastScrollTop = d, !(a || c || h < 0)) {
3573
+ return Math.abs(Qt(t) - Qt(r));
3574
+ }, Aa = function(t, r) {
3575
+ var n = t[D], o = n.container, i = n.containerEl, s = n.instance, a = n.observer, l = n.lastScrollTop, u = xt(t, s), c = u.disabled, f = u.distance, p = i.clientHeight, d = i.scrollHeight, v = i.scrollTop, h = v - l;
3576
+ if (t[D].lastScrollTop = v, !(a || c || h < 0)) {
3571
3577
  var m = !1;
3572
3578
  if (o === t)
3573
- m = v - (p + d) <= f;
3579
+ m = d - (p + v) <= f;
3574
3580
  else {
3575
- var g = t.clientTop, _ = t.scrollHeight, S = Oa(t, i);
3576
- m = d + p >= S + g + _ - f;
3581
+ var g = t.clientTop, _ = t.scrollHeight, S = Ta(t, i);
3582
+ m = v + p >= S + g + _ - f;
3577
3583
  }
3578
3584
  m && r.call(s);
3579
3585
  }
3580
3586
  };
3581
- function Qe(e, t) {
3582
- var r = e[D], n = r.containerEl, o = r.instance, i = wt(e, o), s = i.disabled;
3583
- s || n.clientHeight === 0 || (n.scrollHeight <= n.clientHeight ? t.call(o) : Kr(e));
3587
+ function et(e, t) {
3588
+ var r = e[D], n = r.containerEl, o = r.instance, i = xt(e, o), s = i.disabled;
3589
+ s || n.clientHeight === 0 || (n.scrollHeight <= n.clientHeight ? t.call(o) : Qr(e));
3584
3590
  }
3585
- var Qt = function(t, r, n) {
3591
+ var er = function(t, r, n) {
3586
3592
  var o = r.instance || n.context, i = r.value;
3587
3593
  if (typeof i != "function")
3588
3594
  throw new TypeError('[TINY Error][InfiniteScroll] "v-infinite-scroll" binding value must be a function');
3589
3595
  o.$nextTick(function() {
3590
- var s = wt(t, o), a = s.delay, l = s.immediate, u = go(t, !0), c = u === window ? document.documentElement : u, f = fe(a, Ta.bind(null, t, i));
3596
+ var s = xt(t, o), a = s.delay, l = s.immediate, u = bo(t, !0), c = u === window ? document.documentElement : u, f = ce(a, Aa.bind(null, t, i));
3591
3597
  if (u) {
3592
3598
  if (t[D] = {
3593
3599
  instance: o,
@@ -3598,45 +3604,45 @@ var Qt = function(t, r, n) {
3598
3604
  onScroll: f,
3599
3605
  lastScrollTop: c.scrollTop
3600
3606
  }, l) {
3601
- var p = new MutationObserver(fe(xa, Qe.bind(null, t, i)));
3607
+ var p = new MutationObserver(ce(_a, et.bind(null, t, i)));
3602
3608
  t[D].observer = p, p.observe(t, {
3603
3609
  childList: !0,
3604
3610
  subtree: !0
3605
- }), Qe(t, i);
3611
+ }), et(t, i);
3606
3612
  }
3607
3613
  u.addEventListener("scroll", f);
3608
3614
  }
3609
3615
  });
3610
- }, er = function(t, r, n) {
3616
+ }, tr = function(t, r, n) {
3611
3617
  if (t[D]) {
3612
3618
  var i = t[D], s = i.containerEl, a = i.cb, l = i.observer;
3613
- s.clientHeight && l && Qe(t, a);
3619
+ s.clientHeight && l && et(t, a);
3614
3620
  } else {
3615
3621
  var o = r.instance || n.context;
3616
3622
  return o.$nextTick();
3617
3623
  }
3618
- }, tr = function(t) {
3624
+ }, rr = function(t) {
3619
3625
  var r = t[D], n = r.container, o = r.onScroll;
3620
- n && n.removeEventListener("scroll", o), Kr(t);
3626
+ n && n.removeEventListener("scroll", o), Qr(t);
3621
3627
  };
3622
3628
  const Fa = {
3623
- bind: Qt,
3624
- update: er,
3625
- unbind: tr,
3626
- beforeMount: Qt,
3627
- updated: er,
3628
- unmounted: tr
3629
+ bind: er,
3630
+ update: tr,
3631
+ unbind: rr,
3632
+ beforeMount: er,
3633
+ updated: tr,
3634
+ unmounted: rr
3629
3635
  };
3630
- var Oe = "@@observevisibilityContext", Aa = function(t) {
3636
+ var Te = "@@observevisibilityContext", ka = function(t) {
3631
3637
  var r;
3632
3638
  return typeof t == "function" ? r = {
3633
3639
  callback: t
3634
3640
  } : r = t, r;
3635
- }, Qr = function(t) {
3641
+ }, en = function(t) {
3636
3642
  var r = t.options, n = t.instance, o = t.state;
3637
- o.observer && et(o), !o.frozen && (o.options = Aa(r), o.callback = function(i, s) {
3638
- o.options.callback(i, s), i && o.options.once && (o.frozen = !0, et(o));
3639
- }, o.callback && o.options.throttle && (o.callback = fe(o.options.throttleDelay || 20, o.callback)), o.observer = new IntersectionObserver(function(i) {
3643
+ o.observer && tt(o), !o.frozen && (o.options = ka(r), o.callback = function(i, s) {
3644
+ o.options.callback(i, s), i && o.options.once && (o.frozen = !0, tt(o));
3645
+ }, o.callback && o.options.throttle && (o.callback = ce(o.options.throttleDelay || 20, o.callback)), o.observer = new IntersectionObserver(function(i) {
3640
3646
  var s = i[0];
3641
3647
  if (i.length > 1) {
3642
3648
  var a = i.find(function(l) {
@@ -3648,75 +3654,75 @@ var Oe = "@@observevisibilityContext", Aa = function(t) {
3648
3654
  }, o.options.intersection), n.$nextTick(function() {
3649
3655
  o.observer && o.observer.observe(o.el);
3650
3656
  }));
3651
- }, et = function(t) {
3657
+ }, tt = function(t) {
3652
3658
  t.observer && (t.observer.disconnect(), t.observer = null), t.callback && (t.callback = null);
3653
- }, ka = function(t) {
3659
+ }, Ca = function(t) {
3654
3660
  var r = t.el, n = t.options, o = t.instance, i = {
3655
3661
  el: r,
3656
3662
  observer: null,
3657
3663
  frozen: !1
3658
3664
  };
3659
- return Qr({
3665
+ return en({
3660
3666
  options: n,
3661
3667
  instance: o,
3662
3668
  state: i
3663
3669
  }), i;
3664
- }, tt = function(t, r, n) {
3670
+ }, rt = function(t, r, n) {
3665
3671
  var o = r.value, i = r.instance, s = n.context;
3666
3672
  if (o) {
3667
3673
  if (typeof IntersectionObserver > "u")
3668
3674
  throw new TypeError("[TINY Error][ObserveVisibility] IntersectionObserver API is not available in your browser");
3669
- i = i || s, t[Oe] = ka({
3675
+ i = i || s, t[Te] = Ca({
3670
3676
  el: t,
3671
3677
  options: o,
3672
3678
  instance: i
3673
3679
  });
3674
3680
  }
3675
- }, rr = function(t, r, n) {
3681
+ }, nr = function(t, r, n) {
3676
3682
  var o = r.value, i = r.oldValue, s = r.instance, a = n.context;
3677
- if (!mt(o, i)) {
3678
- var l = t[Oe];
3683
+ if (!gt(o, i)) {
3684
+ var l = t[Te];
3679
3685
  if (!o) {
3680
- rt(t);
3686
+ nt(t);
3681
3687
  return;
3682
3688
  }
3683
- s = s || a, l ? Qr({
3689
+ s = s || a, l ? en({
3684
3690
  options: o,
3685
3691
  instance: s,
3686
3692
  state: l
3687
- }) : tt(t, {
3693
+ }) : rt(t, {
3688
3694
  value: o,
3689
3695
  instance: s
3690
3696
  }, {
3691
3697
  context: a
3692
3698
  });
3693
3699
  }
3694
- }, rt = function(t) {
3695
- var r = t[Oe];
3696
- r && (et(r), delete t[Oe]);
3697
- }, Ma = {
3698
- bind: tt,
3699
- update: rr,
3700
- unbind: rt,
3701
- beforeMount: tt,
3702
- updated: rr,
3703
- unmounted: rt
3700
+ }, nt = function(t) {
3701
+ var r = t[Te];
3702
+ r && (tt(r), delete t[Te]);
3703
+ }, Ba = {
3704
+ bind: rt,
3705
+ update: nr,
3706
+ unbind: nt,
3707
+ beforeMount: rt,
3708
+ updated: nr,
3709
+ unmounted: nt
3704
3710
  };
3705
- const Ba = (function(e, t) {
3711
+ const Na = (function(e, t) {
3706
3712
  var r = 200, n = null, o, i = function() {
3707
3713
  typeof t.value == "function" && t.value.apply();
3708
3714
  }, s = function() {
3709
3715
  Date.now() - o < r && i(), clearInterval(n), n = null;
3710
3716
  };
3711
3717
  E(e, "mousedown", function(a) {
3712
- a.button === 0 && (o = Date.now(), ho(document, "mouseup", s), clearInterval(n), n = setInterval(i, r));
3718
+ a.button === 0 && (o = Date.now(), mo(document, "mouseup", s), clearInterval(n), n = setInterval(i, r));
3713
3719
  });
3714
3720
  });
3715
3721
  export {
3716
- Pa as AutoTip,
3717
- Ra as Clickoutside,
3718
- Ia as HighlightQuery,
3722
+ Ra as AutoTip,
3723
+ Ia as Clickoutside,
3724
+ Ma as HighlightQuery,
3719
3725
  Fa as InfiniteScroll,
3720
- Ma as ObserveVisibility,
3721
- Ba as RepeatClick
3726
+ Ba as ObserveVisibility,
3727
+ Na as RepeatClick
3722
3728
  };