@skyservice-developers/vue-dev-kit 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- import { ref as I, onUnmounted as oe, computed as R, onMounted as ae, openBlock as _, createElementBlock as T, createElementVNode as m, createCommentVNode as C, normalizeClass as q, renderSlot as V, toDisplayString as N, Fragment as at, renderList as nt, useSlots as He, watch as Ee, nextTick as Ge, createBlock as ne, Teleport as Te, createVNode as Ae, Transition as Oe, withCtx as K, normalizeStyle as Be, createTextVNode as We, resolveDynamicComponent as st, createSlots as lt, withModifiers as rt } from "vue";
1
+ import { ref as I, onUnmounted as ie, computed as L, onMounted as ae, openBlock as S, createElementBlock as O, createElementVNode as f, createCommentVNode as N, normalizeClass as q, renderSlot as V, toDisplayString as M, Fragment as at, renderList as nt, useSlots as Xe, watch as Ee, nextTick as Ge, createBlock as ne, Teleport as Te, createVNode as Oe, Transition as Ae, withCtx as K, normalizeStyle as Pe, createTextVNode as We, resolveDynamicComponent as st, createSlots as lt, withModifiers as rt } from "vue";
2
2
  var dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  function ut(n) {
4
4
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
5
5
  }
6
- var Se = { exports: {} };
6
+ var _e = { exports: {} };
7
7
  (function(n, A) {
8
- (function(c, l) {
9
- var S = "1.0.41", v = "", B = "?", w = "function", y = "undefined", E = "object", O = "string", M = "major", t = "model", a = "name", e = "type", i = "vendor", o = "version", k = "architecture", U = "console", r = "mobile", u = "tablet", s = "smarttv", f = "wearable", P = "embedded", H = 500, j = "Amazon", L = "Apple", Y = "ASUS", Pe = "BlackBerry", le = "Browser", re = "Chrome", Qe = "Edge", de = "Firefox", ue = "Google", Me = "Honor", Ne = "Huawei", et = "Lenovo", ce = "LG", fe = "Microsoft", pe = "Motorola", ve = "Nvidia", Ie = "OnePlus", Z = "Opera", ge = "OPPO", J = "Samsung", Ve = "Sharp", Q = "Sony", he = "Xiaomi", ye = "Zebra", ze = "Facebook", Re = "Chromium OS", Le = "Mac OS", De = " Browser", tt = function(p, g) {
8
+ (function(u, l) {
9
+ var _ = "1.0.41", v = "", C = "?", w = "function", y = "undefined", E = "object", P = "string", B = "major", t = "model", a = "name", e = "type", o = "vendor", i = "version", k = "architecture", H = "console", r = "mobile", c = "tablet", s = "smarttv", m = "wearable", T = "embedded", z = 500, j = "Amazon", D = "Apple", Y = "ASUS", Ne = "BlackBerry", le = "Browser", re = "Chrome", Qe = "Edge", de = "Firefox", ue = "Google", Be = "Honor", Me = "Huawei", et = "Lenovo", ce = "LG", fe = "Microsoft", pe = "Motorola", ve = "Nvidia", Ie = "OnePlus", Z = "Opera", ge = "OPPO", J = "Samsung", Ve = "Sharp", Q = "Sony", he = "Xiaomi", ye = "Zebra", ze = "Facebook", Re = "Chromium OS", Le = "Mac OS", De = " Browser", tt = function(p, g) {
10
10
  var b = {};
11
11
  for (var x in p)
12
12
  g[x] && g[x].length % 2 === 0 ? b[x] = g[x].concat(p[x]) : b[x] = p[x];
@@ -16,33 +16,33 @@ var Se = { exports: {} };
16
16
  g[p[b].toUpperCase()] = p[b];
17
17
  return g;
18
18
  }, $e = function(p, g) {
19
- return typeof p === O ? ee(g).indexOf(ee(p)) !== -1 : !1;
19
+ return typeof p === P ? ee(g).indexOf(ee(p)) !== -1 : !1;
20
20
  }, ee = function(p) {
21
21
  return p.toLowerCase();
22
- }, it = function(p) {
23
- return typeof p === O ? p.replace(/[^\d\.]/g, v).split(".")[0] : l;
22
+ }, ot = function(p) {
23
+ return typeof p === P ? p.replace(/[^\d\.]/g, v).split(".")[0] : l;
24
24
  }, ke = function(p, g) {
25
- if (typeof p === O)
26
- return p = p.replace(/^\s\s*/, v), typeof g === y ? p : p.substring(0, H);
25
+ if (typeof p === P)
26
+ return p = p.replace(/^\s\s*/, v), typeof g === y ? p : p.substring(0, z);
27
27
  }, te = function(p, g) {
28
- for (var b = 0, x, F, D, h, d, $; b < g.length && !d; ) {
29
- var xe = g[b], je = g[b + 1];
28
+ for (var b = 0, x, F, $, h, d, U; b < g.length && !d; ) {
29
+ var xe = g[b], He = g[b + 1];
30
30
  for (x = F = 0; x < xe.length && !d && xe[x]; )
31
31
  if (d = xe[x++].exec(p), d)
32
- for (D = 0; D < je.length; D++)
33
- $ = d[++F], h = je[D], typeof h === E && h.length > 0 ? h.length === 2 ? typeof h[1] == w ? this[h[0]] = h[1].call(this, $) : this[h[0]] = h[1] : h.length === 3 ? typeof h[1] === w && !(h[1].exec && h[1].test) ? this[h[0]] = $ ? h[1].call(this, $, h[2]) : l : this[h[0]] = $ ? $.replace(h[1], h[2]) : l : h.length === 4 && (this[h[0]] = $ ? h[3].call(this, $.replace(h[1], h[2])) : l) : this[h] = $ || l;
32
+ for ($ = 0; $ < He.length; $++)
33
+ U = d[++F], h = He[$], typeof h === E && h.length > 0 ? h.length === 2 ? typeof h[1] == w ? this[h[0]] = h[1].call(this, U) : this[h[0]] = h[1] : h.length === 3 ? typeof h[1] === w && !(h[1].exec && h[1].test) ? this[h[0]] = U ? h[1].call(this, U, h[2]) : l : this[h[0]] = U ? U.replace(h[1], h[2]) : l : h.length === 4 && (this[h[0]] = U ? h[3].call(this, U.replace(h[1], h[2])) : l) : this[h] = U || l;
34
34
  b += 2;
35
35
  }
36
- }, ie = function(p, g) {
36
+ }, oe = function(p, g) {
37
37
  for (var b in g)
38
38
  if (typeof g[b] === E && g[b].length > 0) {
39
39
  for (var x = 0; x < g[b].length; x++)
40
40
  if ($e(g[b][x], p))
41
- return b === B ? l : b;
41
+ return b === C ? l : b;
42
42
  } else if ($e(g[b], p))
43
- return b === B ? l : b;
43
+ return b === C ? l : b;
44
44
  return g.hasOwnProperty("*") ? g["*"] : p;
45
- }, ot = {
45
+ }, it = {
46
46
  "1.0": "/8",
47
47
  "1.2": "/1",
48
48
  "1.3": "/3",
@@ -51,7 +51,7 @@ var Se = { exports: {} };
51
51
  "2.0.3": "/417",
52
52
  "2.0.4": "/419",
53
53
  "?": "/"
54
- }, qe = {
54
+ }, Ue = {
55
55
  ME: "4.90",
56
56
  "NT 3.11": "NT3.51",
57
57
  "NT 4.0": "NT4.0",
@@ -63,18 +63,18 @@ var Se = { exports: {} };
63
63
  "8.1": "NT 6.3",
64
64
  10: ["NT 6.4", "NT 10.0"],
65
65
  RT: "ARM"
66
- }, Ue = {
66
+ }, qe = {
67
67
  browser: [
68
68
  [
69
69
  /\b(?:crmo|crios)\/([\w\.]+)/i
70
70
  // Chrome for Android/iOS
71
71
  ],
72
- [o, [a, "Chrome"]],
72
+ [i, [a, "Chrome"]],
73
73
  [
74
74
  /edg(?:e|ios|a)?\/([\w\.]+)/i
75
75
  // Microsoft Edge
76
76
  ],
77
- [o, [a, "Edge"]],
77
+ [i, [a, "Edge"]],
78
78
  [
79
79
  // Presto based
80
80
  /(opera mini)\/([-\w\.]+)/i,
@@ -84,33 +84,33 @@ var Se = { exports: {} };
84
84
  /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i
85
85
  // Opera
86
86
  ],
87
- [a, o],
87
+ [a, i],
88
88
  [
89
89
  /opios[\/ ]+([\w\.]+)/i
90
90
  // Opera mini on iphone >= 8.0
91
91
  ],
92
- [o, [a, Z + " Mini"]],
92
+ [i, [a, Z + " Mini"]],
93
93
  [
94
94
  /\bop(?:rg)?x\/([\w\.]+)/i
95
95
  // Opera GX
96
96
  ],
97
- [o, [a, Z + " GX"]],
97
+ [i, [a, Z + " GX"]],
98
98
  [
99
99
  /\bopr\/([\w\.]+)/i
100
100
  // Opera Webkit
101
101
  ],
102
- [o, [a, Z]],
102
+ [i, [a, Z]],
103
103
  [
104
104
  // Mixed
105
105
  /\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i
106
106
  // Baidu
107
107
  ],
108
- [o, [a, "Baidu"]],
108
+ [i, [a, "Baidu"]],
109
109
  [
110
110
  /\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i
111
111
  // Maxthon
112
112
  ],
113
- [o, [a, "Maxthon"]],
113
+ [i, [a, "Maxthon"]],
114
114
  [
115
115
  /(kindle)\/([\w\.]+)/i,
116
116
  // Kindle
@@ -129,22 +129,22 @@ var Se = { exports: {} };
129
129
  /(weibo)__([\d\.]+)/i
130
130
  // Weibo
131
131
  ],
132
- [a, o],
132
+ [a, i],
133
133
  [
134
134
  /quark(?:pc)?\/([-\w\.]+)/i
135
135
  // Quark
136
136
  ],
137
- [o, [a, "Quark"]],
137
+ [i, [a, "Quark"]],
138
138
  [
139
139
  /\bddg\/([\w\.]+)/i
140
140
  // DuckDuckGo
141
141
  ],
142
- [o, [a, "DuckDuckGo"]],
142
+ [i, [a, "DuckDuckGo"]],
143
143
  [
144
144
  /(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i
145
145
  // UCBrowser
146
146
  ],
147
- [o, [a, "UC" + le]],
147
+ [i, [a, "UC" + le]],
148
148
  [
149
149
  /microm.+\bqbcore\/([\w\.]+)/i,
150
150
  // WeChat Desktop for Windows Built-in Browser
@@ -152,97 +152,97 @@ var Se = { exports: {} };
152
152
  /micromessenger\/([\w\.]+)/i
153
153
  // WeChat
154
154
  ],
155
- [o, [a, "WeChat"]],
155
+ [i, [a, "WeChat"]],
156
156
  [
157
157
  /konqueror\/([\w\.]+)/i
158
158
  // Konqueror
159
159
  ],
160
- [o, [a, "Konqueror"]],
160
+ [i, [a, "Konqueror"]],
161
161
  [
162
162
  /trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i
163
163
  // IE11
164
164
  ],
165
- [o, [a, "IE"]],
165
+ [i, [a, "IE"]],
166
166
  [
167
167
  /ya(?:search)?browser\/([\w\.]+)/i
168
168
  // Yandex
169
169
  ],
170
- [o, [a, "Yandex"]],
170
+ [i, [a, "Yandex"]],
171
171
  [
172
172
  /slbrowser\/([\w\.]+)/i
173
173
  // Smart Lenovo Browser
174
174
  ],
175
- [o, [a, "Smart Lenovo " + le]],
175
+ [i, [a, "Smart Lenovo " + le]],
176
176
  [
177
177
  /(avast|avg)\/([\w\.]+)/i
178
178
  // Avast/AVG Secure Browser
179
179
  ],
180
- [[a, /(.+)/, "$1 Secure " + le], o],
180
+ [[a, /(.+)/, "$1 Secure " + le], i],
181
181
  [
182
182
  /\bfocus\/([\w\.]+)/i
183
183
  // Firefox Focus
184
184
  ],
185
- [o, [a, de + " Focus"]],
185
+ [i, [a, de + " Focus"]],
186
186
  [
187
187
  /\bopt\/([\w\.]+)/i
188
188
  // Opera Touch
189
189
  ],
190
- [o, [a, Z + " Touch"]],
190
+ [i, [a, Z + " Touch"]],
191
191
  [
192
192
  /coc_coc\w+\/([\w\.]+)/i
193
193
  // Coc Coc Browser
194
194
  ],
195
- [o, [a, "Coc Coc"]],
195
+ [i, [a, "Coc Coc"]],
196
196
  [
197
197
  /dolfin\/([\w\.]+)/i
198
198
  // Dolphin
199
199
  ],
200
- [o, [a, "Dolphin"]],
200
+ [i, [a, "Dolphin"]],
201
201
  [
202
202
  /coast\/([\w\.]+)/i
203
203
  // Opera Coast
204
204
  ],
205
- [o, [a, Z + " Coast"]],
205
+ [i, [a, Z + " Coast"]],
206
206
  [
207
207
  /miuibrowser\/([\w\.]+)/i
208
208
  // MIUI Browser
209
209
  ],
210
- [o, [a, "MIUI" + De]],
210
+ [i, [a, "MIUI" + De]],
211
211
  [
212
212
  /fxios\/([\w\.-]+)/i
213
213
  // Firefox for iOS
214
214
  ],
215
- [o, [a, de]],
215
+ [i, [a, de]],
216
216
  [
217
217
  /\bqihoobrowser\/?([\w\.]*)/i
218
218
  // 360
219
219
  ],
220
- [o, [a, "360"]],
220
+ [i, [a, "360"]],
221
221
  [
222
222
  /\b(qq)\/([\w\.]+)/i
223
223
  // QQ
224
224
  ],
225
- [[a, /(.+)/, "$1Browser"], o],
225
+ [[a, /(.+)/, "$1Browser"], i],
226
226
  [
227
227
  /(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
228
228
  ],
229
- [[a, /(.+)/, "$1" + De], o],
229
+ [[a, /(.+)/, "$1" + De], i],
230
230
  [
231
231
  // Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
232
232
  /samsungbrowser\/([\w\.]+)/i
233
233
  // Samsung Internet
234
234
  ],
235
- [o, [a, J + " Internet"]],
235
+ [i, [a, J + " Internet"]],
236
236
  [
237
237
  /metasr[\/ ]?([\d\.]+)/i
238
238
  // Sogou Explorer
239
239
  ],
240
- [o, [a, "Sogou Explorer"]],
240
+ [i, [a, "Sogou Explorer"]],
241
241
  [
242
242
  /(sogou)mo\w+\/([\d\.]+)/i
243
243
  // Sogou Mobile
244
244
  ],
245
- [[a, "Sogou Mobile"], o],
245
+ [[a, "Sogou Mobile"], i],
246
246
  [
247
247
  /(electron)\/([\w\.]+) safari/i,
248
248
  // Electron-based App
@@ -251,7 +251,7 @@ var Se = { exports: {} };
251
251
  /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
252
252
  // QQ/2345
253
253
  ],
254
- [a, o],
254
+ [a, i],
255
255
  [
256
256
  /(lbbrowser|rekonq)/i,
257
257
  // LieBao Browser/Rekonq
@@ -265,13 +265,13 @@ var Se = { exports: {} };
265
265
  /ome\/([\w\.]+).+qihu (360)[es]e/i
266
266
  // 360
267
267
  ],
268
- [o, a],
268
+ [i, a],
269
269
  [
270
270
  // WebView
271
271
  /((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i
272
272
  // Facebook App for iOS & Android
273
273
  ],
274
- [[a, ze], o],
274
+ [[a, ze], i],
275
275
  [
276
276
  /(Klarna)\/([\w\.]+)/i,
277
277
  // Klarna Shopping Browser for iOS & Android
@@ -292,72 +292,72 @@ var Se = { exports: {} };
292
292
  /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i
293
293
  // Chromium/Instagram/Snapchat
294
294
  ],
295
- [a, o],
295
+ [a, i],
296
296
  [
297
297
  /\bgsa\/([\w\.]+) .*safari\//i
298
298
  // Google Search Appliance on iOS
299
299
  ],
300
- [o, [a, "GSA"]],
300
+ [i, [a, "GSA"]],
301
301
  [
302
302
  /musical_ly(?:.+app_?version\/|_)([\w\.]+)/i
303
303
  // TikTok
304
304
  ],
305
- [o, [a, "TikTok"]],
305
+ [i, [a, "TikTok"]],
306
306
  [
307
307
  /headlesschrome(?:\/([\w\.]+)| )/i
308
308
  // Chrome Headless
309
309
  ],
310
- [o, [a, re + " Headless"]],
310
+ [i, [a, re + " Headless"]],
311
311
  [
312
312
  / wv\).+(chrome)\/([\w\.]+)/i
313
313
  // Chrome WebView
314
314
  ],
315
- [[a, re + " WebView"], o],
315
+ [[a, re + " WebView"], i],
316
316
  [
317
317
  /droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
318
318
  // Android Browser
319
319
  ],
320
- [o, [a, "Android " + le]],
320
+ [i, [a, "Android " + le]],
321
321
  [
322
322
  /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i
323
323
  // Chrome/OmniWeb/Arora/Tizen/Nokia
324
324
  ],
325
- [a, o],
325
+ [a, i],
326
326
  [
327
327
  /version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i
328
328
  // Mobile Safari
329
329
  ],
330
- [o, [a, "Mobile Safari"]],
330
+ [i, [a, "Mobile Safari"]],
331
331
  [
332
332
  /version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i
333
333
  // Safari & Safari Mobile
334
334
  ],
335
- [o, a],
335
+ [i, a],
336
336
  [
337
337
  /webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i
338
338
  // Safari < 3.0
339
339
  ],
340
- [a, [o, ie, ot]],
340
+ [a, [i, oe, it]],
341
341
  [
342
342
  /(webkit|khtml)\/([\w\.]+)/i
343
343
  ],
344
- [a, o],
344
+ [a, i],
345
345
  [
346
346
  // Gecko based
347
347
  /(navigator|netscape\d?)\/([-\w\.]+)/i
348
348
  // Netscape
349
349
  ],
350
- [[a, "Netscape"], o],
350
+ [[a, "Netscape"], i],
351
351
  [
352
352
  /(wolvic|librewolf)\/([\w\.]+)/i
353
353
  // Wolvic/LibreWolf
354
354
  ],
355
- [a, o],
355
+ [a, i],
356
356
  [
357
357
  /mobile vr; rv:([\w\.]+)\).+firefox/i
358
358
  // Firefox Reality
359
359
  ],
360
- [o, [a, de + " Reality"]],
360
+ [i, [a, de + " Reality"]],
361
361
  [
362
362
  /ekiohf.+(flow)\/([\w\.]+)/i,
363
363
  // Flow
@@ -377,12 +377,12 @@ var Se = { exports: {} };
377
377
  /\b(links) \(([\w\.]+)/i
378
378
  // Links
379
379
  ],
380
- [a, [o, /_/g, "."]],
380
+ [a, [i, /_/g, "."]],
381
381
  [
382
382
  /(cobalt)\/([\w\.]+)/i
383
383
  // Cobalt
384
384
  ],
385
- [a, [o, /master.|lts./, ""]]
385
+ [a, [i, /master.|lts./, ""]]
386
386
  ],
387
387
  cpu: [
388
388
  [
@@ -436,61 +436,61 @@ var Se = { exports: {} };
436
436
  // Samsung
437
437
  /\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
438
438
  ],
439
- [t, [i, J], [e, u]],
439
+ [t, [o, J], [e, c]],
440
440
  [
441
441
  /\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
442
442
  /samsung[- ]((?!sm-[lr])[-\w]+)/i,
443
443
  /sec-(sgh\w+)/i
444
444
  ],
445
- [t, [i, J], [e, r]],
445
+ [t, [o, J], [e, r]],
446
446
  [
447
447
  // Apple
448
448
  /(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i
449
449
  // iPod/iPhone
450
450
  ],
451
- [t, [i, L], [e, r]],
451
+ [t, [o, D], [e, r]],
452
452
  [
453
453
  /\((ipad);[-\w\),; ]+apple/i,
454
454
  // iPad
455
455
  /applecoremedia\/[\w\.]+ \((ipad)/i,
456
456
  /\b(ipad)\d\d?,\d\d?[;\]].+ios/i
457
457
  ],
458
- [t, [i, L], [e, u]],
458
+ [t, [o, D], [e, c]],
459
459
  [
460
460
  /(macintosh);/i
461
461
  ],
462
- [t, [i, L]],
462
+ [t, [o, D]],
463
463
  [
464
464
  // Sharp
465
465
  /\b(sh-?[altvz]?\d\d[a-ekm]?)/i
466
466
  ],
467
- [t, [i, Ve], [e, r]],
467
+ [t, [o, Ve], [e, r]],
468
468
  [
469
469
  // Honor
470
470
  /\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
471
471
  ],
472
- [t, [i, Me], [e, u]],
472
+ [t, [o, Be], [e, c]],
473
473
  [
474
474
  /honor([-\w ]+)[;\)]/i
475
475
  ],
476
- [t, [i, Me], [e, r]],
476
+ [t, [o, Be], [e, r]],
477
477
  [
478
478
  // Huawei
479
479
  /\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
480
480
  ],
481
- [t, [i, Ne], [e, u]],
481
+ [t, [o, Me], [e, c]],
482
482
  [
483
483
  /(?:huawei)([-\w ]+)[;\)]/i,
484
484
  /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i
485
485
  ],
486
- [t, [i, Ne], [e, r]],
486
+ [t, [o, Me], [e, r]],
487
487
  [
488
488
  // Xiaomi
489
489
  /oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
490
490
  /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i
491
491
  // Mi Pad tablets
492
492
  ],
493
- [[t, /_/g, " "], [i, he], [e, u]],
493
+ [[t, /_/g, " "], [o, he], [e, c]],
494
494
  [
495
495
  /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
496
496
  // Xiaomi POCO
@@ -506,93 +506,93 @@ var Se = { exports: {} };
506
506
  // Xiaomi Mi
507
507
  / ([\w ]+) miui\/v?\d/i
508
508
  ],
509
- [[t, /_/g, " "], [i, he], [e, r]],
509
+ [[t, /_/g, " "], [o, he], [e, r]],
510
510
  [
511
511
  // OPPO
512
512
  /; (\w+) bui.+ oppo/i,
513
513
  /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
514
514
  ],
515
- [t, [i, ge], [e, r]],
515
+ [t, [o, ge], [e, r]],
516
516
  [
517
517
  /\b(opd2(\d{3}a?))(?: bui|\))/i
518
518
  ],
519
- [t, [i, ie, { OnePlus: ["304", "403", "203"], "*": ge }], [e, u]],
519
+ [t, [o, oe, { OnePlus: ["304", "403", "203"], "*": ge }], [e, c]],
520
520
  [
521
521
  // Vivo
522
522
  /vivo (\w+)(?: bui|\))/i,
523
523
  /\b(v[12]\d{3}\w?[at])(?: bui|;)/i
524
524
  ],
525
- [t, [i, "Vivo"], [e, r]],
525
+ [t, [o, "Vivo"], [e, r]],
526
526
  [
527
527
  // Realme
528
528
  /\b(rmx[1-3]\d{3})(?: bui|;|\))/i
529
529
  ],
530
- [t, [i, "Realme"], [e, r]],
530
+ [t, [o, "Realme"], [e, r]],
531
531
  [
532
532
  // Motorola
533
533
  /\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
534
534
  /\bmot(?:orola)?[- ](\w*)/i,
535
535
  /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
536
536
  ],
537
- [t, [i, pe], [e, r]],
537
+ [t, [o, pe], [e, r]],
538
538
  [
539
539
  /\b(mz60\d|xoom[2 ]{0,2}) build\//i
540
540
  ],
541
- [t, [i, pe], [e, u]],
541
+ [t, [o, pe], [e, c]],
542
542
  [
543
543
  // LG
544
544
  /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
545
545
  ],
546
- [t, [i, ce], [e, u]],
546
+ [t, [o, ce], [e, c]],
547
547
  [
548
548
  /(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
549
549
  /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,
550
550
  /\blg-?([\d\w]+) bui/i
551
551
  ],
552
- [t, [i, ce], [e, r]],
552
+ [t, [o, ce], [e, r]],
553
553
  [
554
554
  // Lenovo
555
555
  /(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,
556
556
  /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
557
557
  ],
558
- [t, [i, et], [e, u]],
558
+ [t, [o, et], [e, c]],
559
559
  [
560
560
  // Nokia
561
561
  /(nokia) (t[12][01])/i
562
562
  ],
563
- [i, t, [e, u]],
563
+ [o, t, [e, c]],
564
564
  [
565
565
  /(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
566
566
  /nokia[-_ ]?(([-\w\. ]*))/i
567
567
  ],
568
- [[t, /_/g, " "], [e, r], [i, "Nokia"]],
568
+ [[t, /_/g, " "], [e, r], [o, "Nokia"]],
569
569
  [
570
570
  // Google
571
571
  /(pixel (c|tablet))\b/i
572
572
  // Google Pixel C/Tablet
573
573
  ],
574
- [t, [i, ue], [e, u]],
574
+ [t, [o, ue], [e, c]],
575
575
  [
576
576
  /droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i
577
577
  // Google Pixel
578
578
  ],
579
- [t, [i, ue], [e, r]],
579
+ [t, [o, ue], [e, r]],
580
580
  [
581
581
  // Sony
582
582
  /droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i
583
583
  ],
584
- [t, [i, Q], [e, r]],
584
+ [t, [o, Q], [e, r]],
585
585
  [
586
586
  /sony tablet [ps]/i,
587
587
  /\b(?:sony)?sgp\w+(?: bui|\))/i
588
588
  ],
589
- [[t, "Xperia Tablet"], [i, Q], [e, u]],
589
+ [[t, "Xperia Tablet"], [o, Q], [e, c]],
590
590
  [
591
591
  // OnePlus
592
592
  / (kb2005|in20[12]5|be20[12][59])\b/i,
593
593
  /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
594
594
  ],
595
- [t, [i, Ie], [e, r]],
595
+ [t, [o, Ie], [e, r]],
596
596
  [
597
597
  // Amazon
598
598
  /(alexa)webm/i,
@@ -601,39 +601,39 @@ var Se = { exports: {} };
601
601
  /(kf[a-z]+)( bui|\)).+silk\//i
602
602
  // Kindle Fire HD
603
603
  ],
604
- [t, [i, j], [e, u]],
604
+ [t, [o, j], [e, c]],
605
605
  [
606
606
  /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
607
607
  // Fire Phone
608
608
  ],
609
- [[t, /(.+)/g, "Fire Phone $1"], [i, j], [e, r]],
609
+ [[t, /(.+)/g, "Fire Phone $1"], [o, j], [e, r]],
610
610
  [
611
611
  // BlackBerry
612
612
  /(playbook);[-\w\),; ]+(rim)/i
613
613
  // BlackBerry PlayBook
614
614
  ],
615
- [t, i, [e, u]],
615
+ [t, o, [e, c]],
616
616
  [
617
617
  /\b((?:bb[a-f]|st[hv])100-\d)/i,
618
618
  /\(bb10; (\w+)/i
619
619
  // BlackBerry 10
620
620
  ],
621
- [t, [i, Pe], [e, r]],
621
+ [t, [o, Ne], [e, r]],
622
622
  [
623
623
  // Asus
624
624
  /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
625
625
  ],
626
- [t, [i, Y], [e, u]],
626
+ [t, [o, Y], [e, c]],
627
627
  [
628
628
  / (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
629
629
  ],
630
- [t, [i, Y], [e, r]],
630
+ [t, [o, Y], [e, r]],
631
631
  [
632
632
  // HTC
633
633
  /(nexus 9)/i
634
634
  // HTC Nexus 9
635
635
  ],
636
- [t, [i, "HTC"], [e, u]],
636
+ [t, [o, "HTC"], [e, c]],
637
637
  [
638
638
  /(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
639
639
  // HTC
@@ -642,66 +642,66 @@ var Se = { exports: {} };
642
642
  /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
643
643
  // Alcatel/GeeksPhone/Nexian/Panasonic/Sony
644
644
  ],
645
- [i, [t, /_/g, " "], [e, r]],
645
+ [o, [t, /_/g, " "], [e, r]],
646
646
  [
647
647
  // TCL
648
648
  /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i
649
649
  ],
650
- [t, [i, "TCL"], [e, u]],
650
+ [t, [o, "TCL"], [e, c]],
651
651
  [
652
652
  // itel
653
653
  /(itel) ((\w+))/i
654
654
  ],
655
- [[i, ee], t, [e, ie, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
655
+ [[o, ee], t, [e, oe, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
656
656
  [
657
657
  // Acer
658
658
  /droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
659
659
  ],
660
- [t, [i, "Acer"], [e, u]],
660
+ [t, [o, "Acer"], [e, c]],
661
661
  [
662
662
  // Meizu
663
663
  /droid.+; (m[1-5] note) bui/i,
664
664
  /\bmz-([-\w]{2,})/i
665
665
  ],
666
- [t, [i, "Meizu"], [e, r]],
666
+ [t, [o, "Meizu"], [e, r]],
667
667
  [
668
668
  // Ulefone
669
669
  /; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i
670
670
  ],
671
- [t, [i, "Ulefone"], [e, r]],
671
+ [t, [o, "Ulefone"], [e, r]],
672
672
  [
673
673
  // Energizer
674
674
  /; (energy ?\w+)(?: bui|\))/i,
675
675
  /; energizer ([\w ]+)(?: bui|\))/i
676
676
  ],
677
- [t, [i, "Energizer"], [e, r]],
677
+ [t, [o, "Energizer"], [e, r]],
678
678
  [
679
679
  // Cat
680
680
  /; cat (b35);/i,
681
681
  /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i
682
682
  ],
683
- [t, [i, "Cat"], [e, r]],
683
+ [t, [o, "Cat"], [e, r]],
684
684
  [
685
685
  // Smartfren
686
686
  /((?:new )?andromax[\w- ]+)(?: bui|\))/i
687
687
  ],
688
- [t, [i, "Smartfren"], [e, r]],
688
+ [t, [o, "Smartfren"], [e, r]],
689
689
  [
690
690
  // Nothing
691
691
  /droid.+; (a(?:015|06[35]|142p?))/i
692
692
  ],
693
- [t, [i, "Nothing"], [e, r]],
693
+ [t, [o, "Nothing"], [e, r]],
694
694
  [
695
695
  // Archos
696
696
  /; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
697
697
  /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i
698
698
  ],
699
- [t, [i, "Archos"], [e, u]],
699
+ [t, [o, "Archos"], [e, c]],
700
700
  [
701
701
  /archos ([\w ]+)( b|\))/i,
702
702
  /; (ac[3-6]\d\w{2,8})( b|\))/i
703
703
  ],
704
- [t, [i, "Archos"], [e, r]],
704
+ [t, [o, "Archos"], [e, r]],
705
705
  [
706
706
  // MIXED
707
707
  /(imo) (tab \w+)/i,
@@ -709,7 +709,7 @@ var Se = { exports: {} };
709
709
  /(infinix) (x1101b?)/i
710
710
  // Infinix XPad
711
711
  ],
712
- [i, t, [e, u]],
712
+ [o, t, [e, c]],
713
713
  [
714
714
  /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
715
715
  // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron/Infinix/Tecno/Micromax/Advan
@@ -724,7 +724,7 @@ var Se = { exports: {} };
724
724
  /(oppo) ?([\w ]+) bui/i
725
725
  // OPPO
726
726
  ],
727
- [i, t, [e, r]],
727
+ [o, t, [e, r]],
728
728
  [
729
729
  /(kobo)\s(ereader|touch)/i,
730
730
  // Kobo
@@ -745,146 +745,146 @@ var Se = { exports: {} };
745
745
  /(vodafone) ([\w ]+)(?:\)| bui)/i
746
746
  // Vodafone
747
747
  ],
748
- [i, t, [e, u]],
748
+ [o, t, [e, c]],
749
749
  [
750
750
  /(surface duo)/i
751
751
  // Surface Duo
752
752
  ],
753
- [t, [i, fe], [e, u]],
753
+ [t, [o, fe], [e, c]],
754
754
  [
755
755
  /droid [\d\.]+; (fp\du?)(?: b|\))/i
756
756
  // Fairphone
757
757
  ],
758
- [t, [i, "Fairphone"], [e, r]],
758
+ [t, [o, "Fairphone"], [e, r]],
759
759
  [
760
760
  /(u304aa)/i
761
761
  // AT&T
762
762
  ],
763
- [t, [i, "AT&T"], [e, r]],
763
+ [t, [o, "AT&T"], [e, r]],
764
764
  [
765
765
  /\bsie-(\w*)/i
766
766
  // Siemens
767
767
  ],
768
- [t, [i, "Siemens"], [e, r]],
768
+ [t, [o, "Siemens"], [e, r]],
769
769
  [
770
770
  /\b(rct\w+) b/i
771
771
  // RCA Tablets
772
772
  ],
773
- [t, [i, "RCA"], [e, u]],
773
+ [t, [o, "RCA"], [e, c]],
774
774
  [
775
775
  /\b(venue[\d ]{2,7}) b/i
776
776
  // Dell Venue Tablets
777
777
  ],
778
- [t, [i, "Dell"], [e, u]],
778
+ [t, [o, "Dell"], [e, c]],
779
779
  [
780
780
  /\b(q(?:mv|ta)\w+) b/i
781
781
  // Verizon Tablet
782
782
  ],
783
- [t, [i, "Verizon"], [e, u]],
783
+ [t, [o, "Verizon"], [e, c]],
784
784
  [
785
785
  /\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i
786
786
  // Barnes & Noble Tablet
787
787
  ],
788
- [t, [i, "Barnes & Noble"], [e, u]],
788
+ [t, [o, "Barnes & Noble"], [e, c]],
789
789
  [
790
790
  /\b(tm\d{3}\w+) b/i
791
791
  ],
792
- [t, [i, "NuVision"], [e, u]],
792
+ [t, [o, "NuVision"], [e, c]],
793
793
  [
794
794
  /\b(k88) b/i
795
795
  // ZTE K Series Tablet
796
796
  ],
797
- [t, [i, "ZTE"], [e, u]],
797
+ [t, [o, "ZTE"], [e, c]],
798
798
  [
799
799
  /\b(nx\d{3}j) b/i
800
800
  // ZTE Nubia
801
801
  ],
802
- [t, [i, "ZTE"], [e, r]],
802
+ [t, [o, "ZTE"], [e, r]],
803
803
  [
804
804
  /\b(gen\d{3}) b.+49h/i
805
805
  // Swiss GEN Mobile
806
806
  ],
807
- [t, [i, "Swiss"], [e, r]],
807
+ [t, [o, "Swiss"], [e, r]],
808
808
  [
809
809
  /\b(zur\d{3}) b/i
810
810
  // Swiss ZUR Tablet
811
811
  ],
812
- [t, [i, "Swiss"], [e, u]],
812
+ [t, [o, "Swiss"], [e, c]],
813
813
  [
814
814
  /\b((zeki)?tb.*\b) b/i
815
815
  // Zeki Tablets
816
816
  ],
817
- [t, [i, "Zeki"], [e, u]],
817
+ [t, [o, "Zeki"], [e, c]],
818
818
  [
819
819
  /\b([yr]\d{2}) b/i,
820
820
  /\b(dragon[- ]+touch |dt)(\w{5}) b/i
821
821
  // Dragon Touch Tablet
822
822
  ],
823
- [[i, "Dragon Touch"], t, [e, u]],
823
+ [[o, "Dragon Touch"], t, [e, c]],
824
824
  [
825
825
  /\b(ns-?\w{0,9}) b/i
826
826
  // Insignia Tablets
827
827
  ],
828
- [t, [i, "Insignia"], [e, u]],
828
+ [t, [o, "Insignia"], [e, c]],
829
829
  [
830
830
  /\b((nxa|next)-?\w{0,9}) b/i
831
831
  // NextBook Tablets
832
832
  ],
833
- [t, [i, "NextBook"], [e, u]],
833
+ [t, [o, "NextBook"], [e, c]],
834
834
  [
835
835
  /\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i
836
836
  // Voice Xtreme Phones
837
837
  ],
838
- [[i, "Voice"], t, [e, r]],
838
+ [[o, "Voice"], t, [e, r]],
839
839
  [
840
840
  /\b(lvtel\-)?(v1[12]) b/i
841
841
  // LvTel Phones
842
842
  ],
843
- [[i, "LvTel"], t, [e, r]],
843
+ [[o, "LvTel"], t, [e, r]],
844
844
  [
845
845
  /\b(ph-1) /i
846
846
  // Essential PH-1
847
847
  ],
848
- [t, [i, "Essential"], [e, r]],
848
+ [t, [o, "Essential"], [e, r]],
849
849
  [
850
850
  /\b(v(100md|700na|7011|917g).*\b) b/i
851
851
  // Envizen Tablets
852
852
  ],
853
- [t, [i, "Envizen"], [e, u]],
853
+ [t, [o, "Envizen"], [e, c]],
854
854
  [
855
855
  /\b(trio[-\w\. ]+) b/i
856
856
  // MachSpeed Tablets
857
857
  ],
858
- [t, [i, "MachSpeed"], [e, u]],
858
+ [t, [o, "MachSpeed"], [e, c]],
859
859
  [
860
860
  /\btu_(1491) b/i
861
861
  // Rotor Tablets
862
862
  ],
863
- [t, [i, "Rotor"], [e, u]],
863
+ [t, [o, "Rotor"], [e, c]],
864
864
  [
865
865
  /((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
866
866
  // Nvidia Tablets
867
867
  ],
868
- [t, [i, ve], [e, u]],
868
+ [t, [o, ve], [e, c]],
869
869
  [
870
870
  /(sprint) (\w+)/i
871
871
  // Sprint Phones
872
872
  ],
873
- [i, t, [e, r]],
873
+ [o, t, [e, r]],
874
874
  [
875
875
  /(kin\.[onetw]{3})/i
876
876
  // Microsoft Kin
877
877
  ],
878
- [[t, /\./g, " "], [i, fe], [e, r]],
878
+ [[t, /\./g, " "], [o, fe], [e, r]],
879
879
  [
880
880
  /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
881
881
  // Zebra
882
882
  ],
883
- [t, [i, ye], [e, u]],
883
+ [t, [o, ye], [e, c]],
884
884
  [
885
885
  /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
886
886
  ],
887
- [t, [i, ye], [e, r]],
887
+ [t, [o, ye], [e, r]],
888
888
  [
889
889
  ///////////////////
890
890
  // SMARTTVS
@@ -892,64 +892,64 @@ var Se = { exports: {} };
892
892
  /smart-tv.+(samsung)/i
893
893
  // Samsung
894
894
  ],
895
- [i, [e, s]],
895
+ [o, [e, s]],
896
896
  [
897
897
  /hbbtv.+maple;(\d+)/i
898
898
  ],
899
- [[t, /^/, "SmartTV"], [i, J], [e, s]],
899
+ [[t, /^/, "SmartTV"], [o, J], [e, s]],
900
900
  [
901
901
  /(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
902
902
  // LG SmartTV
903
903
  ],
904
- [[i, ce], [e, s]],
904
+ [[o, ce], [e, s]],
905
905
  [
906
906
  /(apple) ?tv/i
907
907
  // Apple TV
908
908
  ],
909
- [i, [t, L + " TV"], [e, s]],
909
+ [o, [t, D + " TV"], [e, s]],
910
910
  [
911
911
  /crkey/i
912
912
  // Google Chromecast
913
913
  ],
914
- [[t, re + "cast"], [i, ue], [e, s]],
914
+ [[t, re + "cast"], [o, ue], [e, s]],
915
915
  [
916
916
  /droid.+aft(\w+)( bui|\))/i
917
917
  // Fire TV
918
918
  ],
919
- [t, [i, j], [e, s]],
919
+ [t, [o, j], [e, s]],
920
920
  [
921
921
  /(shield \w+ tv)/i
922
922
  // Nvidia Shield TV
923
923
  ],
924
- [t, [i, ve], [e, s]],
924
+ [t, [o, ve], [e, s]],
925
925
  [
926
926
  /\(dtv[\);].+(aquos)/i,
927
927
  /(aquos-tv[\w ]+)\)/i
928
928
  // Sharp
929
929
  ],
930
- [t, [i, Ve], [e, s]],
930
+ [t, [o, Ve], [e, s]],
931
931
  [
932
932
  /(bravia[\w ]+)( bui|\))/i
933
933
  // Sony
934
934
  ],
935
- [t, [i, Q], [e, s]],
935
+ [t, [o, Q], [e, s]],
936
936
  [
937
937
  /(mi(tv|box)-?\w+) bui/i
938
938
  // Xiaomi
939
939
  ],
940
- [t, [i, he], [e, s]],
940
+ [t, [o, he], [e, s]],
941
941
  [
942
942
  /Hbbtv.*(technisat) (.*);/i
943
943
  // TechniSAT
944
944
  ],
945
- [i, t, [e, s]],
945
+ [o, t, [e, s]],
946
946
  [
947
947
  /\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
948
948
  // Roku
949
949
  /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
950
950
  // HbbTV devices
951
951
  ],
952
- [[i, ke], [t, ke], [e, s]],
952
+ [[o, ke], [t, ke], [e, s]],
953
953
  [
954
954
  // SmartTV from Unidentified Vendors
955
955
  /droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i
@@ -968,22 +968,22 @@ var Se = { exports: {} };
968
968
  /(nintendo) ([wids3utch]+)/i
969
969
  // Nintendo
970
970
  ],
971
- [i, t, [e, U]],
971
+ [o, t, [e, H]],
972
972
  [
973
973
  /droid.+; (shield)( bui|\))/i
974
974
  // Nvidia Portable
975
975
  ],
976
- [t, [i, ve], [e, U]],
976
+ [t, [o, ve], [e, H]],
977
977
  [
978
978
  /(playstation \w+)/i
979
979
  // Playstation
980
980
  ],
981
- [t, [i, Q], [e, U]],
981
+ [t, [o, Q], [e, H]],
982
982
  [
983
983
  /\b(xbox(?: one)?(?!; xbox))[\); ]/i
984
984
  // Microsoft Xbox
985
985
  ],
986
- [t, [i, fe], [e, U]],
986
+ [t, [o, fe], [e, H]],
987
987
  [
988
988
  ///////////////////
989
989
  // WEARABLES
@@ -991,48 +991,48 @@ var Se = { exports: {} };
991
991
  /\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i
992
992
  // Samsung Galaxy Watch
993
993
  ],
994
- [t, [i, J], [e, f]],
994
+ [t, [o, J], [e, m]],
995
995
  [
996
996
  /((pebble))app/i,
997
997
  // Pebble
998
998
  /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i
999
999
  // Asus ZenWatch / LG Watch / Pixel Watch
1000
1000
  ],
1001
- [i, t, [e, f]],
1001
+ [o, t, [e, m]],
1002
1002
  [
1003
1003
  /(ow(?:19|20)?we?[1-3]{1,3})/i
1004
1004
  // Oppo Watch
1005
1005
  ],
1006
- [t, [i, ge], [e, f]],
1006
+ [t, [o, ge], [e, m]],
1007
1007
  [
1008
1008
  /(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
1009
1009
  // Apple Watch
1010
1010
  ],
1011
- [t, [i, L], [e, f]],
1011
+ [t, [o, D], [e, m]],
1012
1012
  [
1013
1013
  /(opwwe\d{3})/i
1014
1014
  // OnePlus Watch
1015
1015
  ],
1016
- [t, [i, Ie], [e, f]],
1016
+ [t, [o, Ie], [e, m]],
1017
1017
  [
1018
1018
  /(moto 360)/i
1019
1019
  // Motorola 360
1020
1020
  ],
1021
- [t, [i, pe], [e, f]],
1021
+ [t, [o, pe], [e, m]],
1022
1022
  [
1023
1023
  /(smartwatch 3)/i
1024
1024
  // Sony SmartWatch
1025
1025
  ],
1026
- [t, [i, Q], [e, f]],
1026
+ [t, [o, Q], [e, m]],
1027
1027
  [
1028
1028
  /(g watch r)/i
1029
1029
  // LG G Watch R
1030
1030
  ],
1031
- [t, [i, ce], [e, f]],
1031
+ [t, [o, ce], [e, m]],
1032
1032
  [
1033
1033
  /droid.+; (wt63?0{2,3})\)/i
1034
1034
  ],
1035
- [t, [i, ye], [e, f]],
1035
+ [t, [o, ye], [e, m]],
1036
1036
  [
1037
1037
  ///////////////////
1038
1038
  // XR
@@ -1040,17 +1040,17 @@ var Se = { exports: {} };
1040
1040
  /droid.+; (glass) \d/i
1041
1041
  // Google Glass
1042
1042
  ],
1043
- [t, [i, ue], [e, f]],
1043
+ [t, [o, ue], [e, m]],
1044
1044
  [
1045
1045
  /(pico) (4|neo3(?: link|pro)?)/i
1046
1046
  // Pico
1047
1047
  ],
1048
- [i, t, [e, f]],
1048
+ [o, t, [e, m]],
1049
1049
  [
1050
1050
  /; (quest( \d| pro)?)/i
1051
1051
  // Oculus Quest
1052
1052
  ],
1053
- [t, [i, ze], [e, f]],
1053
+ [t, [o, ze], [e, m]],
1054
1054
  [
1055
1055
  ///////////////////
1056
1056
  // EMBEDDED
@@ -1058,21 +1058,21 @@ var Se = { exports: {} };
1058
1058
  /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
1059
1059
  // Tesla
1060
1060
  ],
1061
- [i, [e, P]],
1061
+ [o, [e, T]],
1062
1062
  [
1063
1063
  /(aeobc)\b/i
1064
1064
  // Echo Dot
1065
1065
  ],
1066
- [t, [i, j], [e, P]],
1066
+ [t, [o, j], [e, T]],
1067
1067
  [
1068
1068
  /(homepod).+mac os/i
1069
1069
  // Apple HomePod
1070
1070
  ],
1071
- [t, [i, L], [e, P]],
1071
+ [t, [o, D], [e, T]],
1072
1072
  [
1073
1073
  /windows iot/i
1074
1074
  ],
1075
- [[e, P]],
1075
+ [[e, T]],
1076
1076
  [
1077
1077
  ////////////////////
1078
1078
  // MIXED (GENERIC)
@@ -1085,12 +1085,12 @@ var Se = { exports: {} };
1085
1085
  /droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i
1086
1086
  // Android Tablets from Unidentified Vendors
1087
1087
  ],
1088
- [t, [e, u]],
1088
+ [t, [e, c]],
1089
1089
  [
1090
1090
  /\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i
1091
1091
  // Unidentifiable Tablet
1092
1092
  ],
1093
- [[e, u]],
1093
+ [[e, c]],
1094
1094
  [
1095
1095
  /(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i
1096
1096
  // Unidentifiable Mobile
@@ -1100,24 +1100,24 @@ var Se = { exports: {} };
1100
1100
  /droid .+?; ([\w\. -]+)( bui|\))/i
1101
1101
  // Generic Android Device
1102
1102
  ],
1103
- [t, [i, "Generic"]]
1103
+ [t, [o, "Generic"]]
1104
1104
  ],
1105
1105
  engine: [
1106
1106
  [
1107
1107
  /windows.+ edge\/([\w\.]+)/i
1108
1108
  // EdgeHTML
1109
1109
  ],
1110
- [o, [a, Qe + "HTML"]],
1110
+ [i, [a, Qe + "HTML"]],
1111
1111
  [
1112
1112
  /(arkweb)\/([\w\.]+)/i
1113
1113
  // ArkWeb
1114
1114
  ],
1115
- [a, o],
1115
+ [a, i],
1116
1116
  [
1117
1117
  /webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i
1118
1118
  // Blink
1119
1119
  ],
1120
- [o, [a, "Blink"]],
1120
+ [i, [a, "Blink"]],
1121
1121
  [
1122
1122
  /(presto)\/([\w\.]+)/i,
1123
1123
  // Presto
@@ -1132,7 +1132,7 @@ var Se = { exports: {} };
1132
1132
  /\b(libweb)/i
1133
1133
  // LibWeb
1134
1134
  ],
1135
- [a, o],
1135
+ [a, i],
1136
1136
  [
1137
1137
  /ladybird\//i
1138
1138
  ],
@@ -1141,7 +1141,7 @@ var Se = { exports: {} };
1141
1141
  /rv\:([\w\.]{1,9})\b.+(gecko)/i
1142
1142
  // Gecko
1143
1143
  ],
1144
- [o, a]
1144
+ [i, a]
1145
1145
  ],
1146
1146
  os: [
1147
1147
  [
@@ -1149,19 +1149,19 @@ var Se = { exports: {} };
1149
1149
  /microsoft (windows) (vista|xp)/i
1150
1150
  // Windows (iTunes)
1151
1151
  ],
1152
- [a, o],
1152
+ [a, i],
1153
1153
  [
1154
1154
  /(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i
1155
1155
  // Windows Phone
1156
1156
  ],
1157
- [a, [o, ie, qe]],
1157
+ [a, [i, oe, Ue]],
1158
1158
  [
1159
1159
  /windows nt 6\.2; (arm)/i,
1160
1160
  // Windows RT
1161
1161
  /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,
1162
1162
  /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i
1163
1163
  ],
1164
- [[o, ie, qe], [a, "Windows"]],
1164
+ [[i, oe, Ue], [a, "Windows"]],
1165
1165
  [
1166
1166
  // iOS/macOS
1167
1167
  /[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
@@ -1169,66 +1169,66 @@ var Se = { exports: {} };
1169
1169
  /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,
1170
1170
  /cfnetwork\/.+darwin/i
1171
1171
  ],
1172
- [[o, /_/g, "."], [a, "iOS"]],
1172
+ [[i, /_/g, "."], [a, "iOS"]],
1173
1173
  [
1174
1174
  /(mac os x) ?([\w\. ]*)/i,
1175
1175
  /(macintosh|mac_powerpc\b)(?!.+haiku)/i
1176
1176
  // Mac OS
1177
1177
  ],
1178
- [[a, Le], [o, /_/g, "."]],
1178
+ [[a, Le], [i, /_/g, "."]],
1179
1179
  [
1180
1180
  // Mobile OSes
1181
1181
  /droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i
1182
1182
  // Android-x86/HarmonyOS
1183
1183
  ],
1184
- [o, a],
1184
+ [i, a],
1185
1185
  [
1186
1186
  /(ubuntu) ([\w\.]+) like android/i
1187
1187
  // Ubuntu Touch
1188
1188
  ],
1189
- [[a, /(.+)/, "$1 Touch"], o],
1189
+ [[a, /(.+)/, "$1 Touch"], i],
1190
1190
  [
1191
1191
  // Android/Blackberry/WebOS/QNX/Bada/RIM/KaiOS/Maemo/MeeGo/S40/Sailfish OS/OpenHarmony/Tizen
1192
1192
  /(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i
1193
1193
  ],
1194
- [a, o],
1194
+ [a, i],
1195
1195
  [
1196
1196
  /\(bb(10);/i
1197
1197
  // BlackBerry 10
1198
1198
  ],
1199
- [o, [a, Pe]],
1199
+ [i, [a, Ne]],
1200
1200
  [
1201
1201
  /(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
1202
1202
  // Symbian
1203
1203
  ],
1204
- [o, [a, "Symbian"]],
1204
+ [i, [a, "Symbian"]],
1205
1205
  [
1206
1206
  /mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i
1207
1207
  // Firefox OS
1208
1208
  ],
1209
- [o, [a, de + " OS"]],
1209
+ [i, [a, de + " OS"]],
1210
1210
  [
1211
1211
  /web0s;.+rt(tv)/i,
1212
1212
  /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i
1213
1213
  // WebOS
1214
1214
  ],
1215
- [o, [a, "webOS"]],
1215
+ [i, [a, "webOS"]],
1216
1216
  [
1217
1217
  /watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i
1218
1218
  // watchOS
1219
1219
  ],
1220
- [o, [a, "watchOS"]],
1220
+ [i, [a, "watchOS"]],
1221
1221
  [
1222
1222
  // Google Chromecast
1223
1223
  /crkey\/([\d\.]+)/i
1224
1224
  // Google Chromecast
1225
1225
  ],
1226
- [o, [a, re + "cast"]],
1226
+ [i, [a, re + "cast"]],
1227
1227
  [
1228
1228
  /(cros) [\w]+(?:\)| ([\w\.]+)\b)/i
1229
1229
  // Chromium OS
1230
1230
  ],
1231
- [[a, Re], o],
1231
+ [[a, Re], i],
1232
1232
  [
1233
1233
  // Smart TVs
1234
1234
  /panasonic;(viera)/i,
@@ -1260,12 +1260,12 @@ var Se = { exports: {} };
1260
1260
  /(haiku) (\w+)/i
1261
1261
  // Haiku
1262
1262
  ],
1263
- [a, o],
1263
+ [a, i],
1264
1264
  [
1265
1265
  /(sunos) ?([\w\.\d]*)/i
1266
1266
  // Solaris
1267
1267
  ],
1268
- [[a, "Solaris"], o],
1268
+ [[a, "Solaris"], i],
1269
1269
  [
1270
1270
  /((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
1271
1271
  // Solaris
@@ -1276,27 +1276,27 @@ var Se = { exports: {} };
1276
1276
  /(unix) ?([\w\.]*)/i
1277
1277
  // UNIX
1278
1278
  ],
1279
- [a, o]
1279
+ [a, i]
1280
1280
  ]
1281
- }, z = function(p, g) {
1282
- if (typeof p === E && (g = p, p = l), !(this instanceof z))
1283
- return new z(p, g).getResult();
1284
- var b = typeof c !== y && c.navigator ? c.navigator : l, x = p || (b && b.userAgent ? b.userAgent : v), F = b && b.userAgentData ? b.userAgentData : l, D = g ? tt(Ue, g) : Ue, h = b && b.userAgent == x;
1281
+ }, R = function(p, g) {
1282
+ if (typeof p === E && (g = p, p = l), !(this instanceof R))
1283
+ return new R(p, g).getResult();
1284
+ var b = typeof u !== y && u.navigator ? u.navigator : l, x = p || (b && b.userAgent ? b.userAgent : v), F = b && b.userAgentData ? b.userAgentData : l, $ = g ? tt(qe, g) : qe, h = b && b.userAgent == x;
1285
1285
  return this.getBrowser = function() {
1286
1286
  var d = {};
1287
- return d[a] = l, d[o] = l, te.call(d, x, D.browser), d[M] = it(d[o]), h && b && b.brave && typeof b.brave.isBrave == w && (d[a] = "Brave"), d;
1287
+ return d[a] = l, d[i] = l, te.call(d, x, $.browser), d[B] = ot(d[i]), h && b && b.brave && typeof b.brave.isBrave == w && (d[a] = "Brave"), d;
1288
1288
  }, this.getCPU = function() {
1289
1289
  var d = {};
1290
- return d[k] = l, te.call(d, x, D.cpu), d;
1290
+ return d[k] = l, te.call(d, x, $.cpu), d;
1291
1291
  }, this.getDevice = function() {
1292
1292
  var d = {};
1293
- return d[i] = l, d[t] = l, d[e] = l, te.call(d, x, D.device), h && !d[e] && F && F.mobile && (d[e] = r), h && d[t] == "Macintosh" && b && typeof b.standalone !== y && b.maxTouchPoints && b.maxTouchPoints > 2 && (d[t] = "iPad", d[e] = u), d;
1293
+ return d[o] = l, d[t] = l, d[e] = l, te.call(d, x, $.device), h && !d[e] && F && F.mobile && (d[e] = r), h && d[t] == "Macintosh" && b && typeof b.standalone !== y && b.maxTouchPoints && b.maxTouchPoints > 2 && (d[t] = "iPad", d[e] = c), d;
1294
1294
  }, this.getEngine = function() {
1295
1295
  var d = {};
1296
- return d[a] = l, d[o] = l, te.call(d, x, D.engine), d;
1296
+ return d[a] = l, d[i] = l, te.call(d, x, $.engine), d;
1297
1297
  }, this.getOS = function() {
1298
1298
  var d = {};
1299
- return d[a] = l, d[o] = l, te.call(d, x, D.os), h && !d[a] && F && F.platform && F.platform != "Unknown" && (d[a] = F.platform.replace(/chrome os/i, Re).replace(/macos/i, Le)), d;
1299
+ return d[a] = l, d[i] = l, te.call(d, x, $.os), h && !d[a] && F && F.platform && F.platform != "Unknown" && (d[a] = F.platform.replace(/chrome os/i, Re).replace(/macos/i, Le)), d;
1300
1300
  }, this.getResult = function() {
1301
1301
  return {
1302
1302
  ua: this.getUA(),
@@ -1309,13 +1309,13 @@ var Se = { exports: {} };
1309
1309
  }, this.getUA = function() {
1310
1310
  return x;
1311
1311
  }, this.setUA = function(d) {
1312
- return x = typeof d === O && d.length > H ? ke(d, H) : d, this;
1312
+ return x = typeof d === P && d.length > z ? ke(d, z) : d, this;
1313
1313
  }, this.setUA(x), this;
1314
1314
  };
1315
- z.VERSION = S, z.BROWSER = be([a, o, M]), z.CPU = be([k]), z.DEVICE = be([t, i, e, U, r, s, u, f, P]), z.ENGINE = z.OS = be([a, o]), n.exports && (A = n.exports = z), A.UAParser = z;
1316
- var W = typeof c !== y && (c.jQuery || c.Zepto);
1315
+ R.VERSION = _, R.BROWSER = be([a, i, B]), R.CPU = be([k]), R.DEVICE = be([t, o, e, H, r, s, c, m, T]), R.ENGINE = R.OS = be([a, i]), n.exports && (A = n.exports = R), A.UAParser = R;
1316
+ var W = typeof u !== y && (u.jQuery || u.Zepto);
1317
1317
  if (W && !W.ua) {
1318
- var we = new z();
1318
+ var we = new R();
1319
1319
  W.ua = we.getResult(), W.ua.get = function() {
1320
1320
  return we.getUA();
1321
1321
  }, W.ua.set = function(p) {
@@ -1326,8 +1326,8 @@ var Se = { exports: {} };
1326
1326
  };
1327
1327
  }
1328
1328
  })(typeof window == "object" ? window : dt);
1329
- })(Se, Se.exports);
1330
- var ct = Se.exports;
1329
+ })(_e, _e.exports);
1330
+ var ct = _e.exports;
1331
1331
  const bt = /* @__PURE__ */ ut(ct);
1332
1332
  function Ke() {
1333
1333
  if (window.webkit != null && window.webkit.messageHandlers !== "undefined")
@@ -1375,13 +1375,13 @@ function G(n) {
1375
1375
  }, "*");
1376
1376
  }
1377
1377
  function Je(n, A) {
1378
- return X() ? new Promise((c) => {
1379
- const l = ft(), S = setTimeout(() => {
1380
- window.removeEventListener("message", v), c(null);
1378
+ return X() ? new Promise((u) => {
1379
+ const l = ft(), _ = setTimeout(() => {
1380
+ window.removeEventListener("message", v), u(null);
1381
1381
  }, wt);
1382
- function v(B) {
1383
- const w = B.data;
1384
- (w == null ? void 0 : w.type) === "DATA_RESPONSE" && (w == null ? void 0 : w.requestId) === l && (!w.target || w.target === Ce()) && (clearTimeout(S), window.removeEventListener("message", v), c(w.data ?? null));
1382
+ function v(C) {
1383
+ const w = C.data;
1384
+ (w == null ? void 0 : w.type) === "DATA_RESPONSE" && (w == null ? void 0 : w.requestId) === l && (!w.target || w.target === Ce()) && (clearTimeout(_), window.removeEventListener("message", v), u(w.data ?? null));
1385
1385
  }
1386
1386
  window.addEventListener("message", v), G({
1387
1387
  type: "DATA_REQUEST",
@@ -1391,32 +1391,32 @@ function Je(n, A) {
1391
1391
  });
1392
1392
  }) : Promise.resolve(null);
1393
1393
  }
1394
- function _e(n) {
1394
+ function Se(n) {
1395
1395
  return Je("localStorage", n);
1396
1396
  }
1397
1397
  function gt(n) {
1398
1398
  return Je("window", n);
1399
1399
  }
1400
1400
  const se = (n, A) => {
1401
- const c = n.__vccOpts || n;
1402
- for (const [l, S] of A)
1403
- c[l] = S;
1404
- return c;
1405
- }, ht = { class: "sky-header-container" }, yt = { class: "topmenubox" }, kt = { class: "header-left" }, xt = ["title"], _t = {
1401
+ const u = n.__vccOpts || n;
1402
+ for (const [l, _] of A)
1403
+ u[l] = _;
1404
+ return u;
1405
+ }, ht = { class: "sky-header-container" }, yt = { class: "topmenubox" }, kt = { class: "header-left" }, xt = ["title"], St = {
1406
1406
  width: "15",
1407
1407
  height: "15",
1408
1408
  viewBox: "0 0 451.847 451.847",
1409
1409
  style: { transform: "rotate(90deg)" }
1410
- }, St = {
1410
+ }, _t = {
1411
1411
  class: "notPadding",
1412
1412
  style: { "margin-bottom": "4px" }
1413
1413
  }, Et = { class: "topmenu-title" }, Tt = {
1414
1414
  key: 0,
1415
1415
  class: "title-dropdown"
1416
- }, At = { class: "title-dropdown-header" }, Ot = ["onClick"], Bt = { class: "pageName" }, Ct = { class: "pageVisit" }, Pt = {
1416
+ }, Ot = { class: "title-dropdown-header" }, At = ["onClick"], Pt = { class: "pageName" }, Ct = { class: "pageVisit" }, Nt = {
1417
1417
  key: 0,
1418
1418
  class: "topmenu-description"
1419
- }, Mt = { class: "topmenubox-button" }, Nt = {
1419
+ }, Bt = { class: "topmenubox-button" }, Mt = {
1420
1420
  __name: "Header",
1421
1421
  props: {
1422
1422
  title: {
@@ -1466,36 +1466,39 @@ const se = (n, A) => {
1466
1466
  },
1467
1467
  emits: ["back", "navigate"],
1468
1468
  setup(n, { emit: A }) {
1469
- const c = n;
1470
- vt(c.appId || Ce());
1471
- const l = A, S = I(null), v = I(!1), B = I([]), w = I({});
1472
- X() && c.trackPageName && G({
1469
+ const u = n;
1470
+ vt(u.appId || Ce());
1471
+ const l = A, _ = I(null), v = I(!1), C = I([]), w = I({});
1472
+ X() && u.trackPageName && G({
1473
1473
  type: "trackVisit",
1474
- name: c.trackPageName,
1475
- path: c.trackPagePath || `/${c.trackPageName}`
1474
+ name: u.trackPageName,
1475
+ path: u.trackPagePath || `/${u.trackPageName}`
1476
1476
  });
1477
1477
  const y = I(null);
1478
- X() && _e("rocketMode").then((s) => {
1478
+ X() && Se("rocketMode").then((s) => {
1479
1479
  y.value = s, G({ type: "setRocketMode", value: !0 });
1480
- }), oe(() => {
1481
- U();
1480
+ }), ie(() => {
1481
+ H();
1482
1482
  }), X() && gt("lang").then((s) => {
1483
1483
  s != null && (w.value = s);
1484
1484
  });
1485
1485
  function E(s) {
1486
1486
  try {
1487
- if (!s)
1487
+ if (!s) {
1488
+ console.log("[Header] loadComponentStats: raw is empty");
1488
1489
  return;
1489
- const f = typeof s == "string" ? JSON.parse(s) : s;
1490
- f != null && f.pages && (B.value = Object.values(f.pages));
1491
- } catch {
1490
+ }
1491
+ const m = typeof s == "string" ? JSON.parse(s) : s;
1492
+ m != null && m.pages ? (C.value = Object.values(m.pages), console.log("[Header] loadComponentStats: loaded", C.value.length, "items", C.value.map((T) => T.name))) : console.log("[Header] loadComponentStats: no pages in data", m);
1493
+ } catch (m) {
1494
+ console.error("[Header] loadComponentStats error:", m);
1492
1495
  }
1493
1496
  }
1494
- E(localStorage.componentStats), X() && _e("componentStats").then((s) => {
1495
- s != null && (localStorage.setItem("componentStats", JSON.stringify(s)), E(s));
1496
- });
1497
- const O = R(() => [...c.dropdownItems.length ? c.dropdownItems : B.value].sort((f, P) => P.lastVisit - f.lastVisit)), M = () => {
1498
- O.value.length && (v.value = !v.value);
1497
+ console.log("[Header] localStorage componentStats:", localStorage.componentStats ? "exists" : "empty"), E(localStorage.componentStats), X() && (console.log("[Header] requesting componentStats from parent..."), Se("componentStats").then((s) => {
1498
+ console.log("[Header] componentStats from parent:", s != null ? "received" : "null", s), s != null && (localStorage.setItem("componentStats", JSON.stringify(s)), E(s));
1499
+ }));
1500
+ const P = L(() => [...u.dropdownItems.length ? u.dropdownItems : C.value].sort((m, T) => T.lastVisit - m.lastVisit)), B = () => {
1501
+ P.value.length && (v.value = !v.value);
1499
1502
  }, t = () => {
1500
1503
  v.value = !1;
1501
1504
  }, a = (s) => {
@@ -1503,108 +1506,114 @@ const se = (n, A) => {
1503
1506
  }, e = (s) => {
1504
1507
  if (!s)
1505
1508
  return "";
1506
- const f = w.value[s] || s;
1507
- return f.charAt(0).toUpperCase() + f.slice(1);
1508
- }, i = (s) => {
1509
- const P = Date.now() - s, H = Math.floor(P / 1e3), j = Math.floor(H / 60), L = Math.floor(j / 60), Y = Math.floor(L / 24);
1510
- return Y > 0 ? `${Y}д тому` : L > 0 ? `${L}год тому` : j > 0 ? `${j}хв тому` : `${H}с тому`;
1509
+ const m = w.value[s] || s;
1510
+ return m.charAt(0).toUpperCase() + m.slice(1);
1511
1511
  }, o = (s) => {
1512
- S.value && !S.value.contains(s.target) && t();
1512
+ const T = Date.now() - s, z = Math.floor(T / 1e3), j = Math.floor(z / 60), D = Math.floor(j / 60), Y = Math.floor(D / 24);
1513
+ return Y > 0 ? `${Y}д тому` : D > 0 ? `${D}год тому` : j > 0 ? `${j}хв тому` : `${z}с тому`;
1514
+ }, i = (s) => {
1515
+ _.value && !_.value.contains(s.target) && t();
1513
1516
  };
1514
1517
  ae(() => {
1515
- document.addEventListener("click", o, !0);
1516
- }), oe(() => {
1517
- document.removeEventListener("click", o, !0);
1518
+ document.addEventListener("click", i, !0);
1519
+ }), ie(() => {
1520
+ document.removeEventListener("click", i, !0);
1518
1521
  });
1519
- const k = R(() => c.backEvent || c.showBackButton && X()), U = () => {
1522
+ const k = L(() => u.backEvent || u.showBackButton && X()), H = () => {
1520
1523
  if (y.value !== null) {
1521
1524
  const s = y.value === "true";
1522
1525
  G({ type: "setRocketMode", value: s });
1523
1526
  }
1524
- }, r = () => O.value.find((s) => s.name !== c.trackPageName), u = async () => {
1525
- if (c.backEvent)
1526
- return c.backEvent();
1527
+ }, r = () => P.value.find((s) => s.name !== u.trackPageName), c = async () => {
1528
+ var m;
1529
+ if (console.log("[Header] handleBack called"), console.log("[Header] backEvent:", !!u.backEvent), u.backEvent)
1530
+ return u.backEvent();
1531
+ console.log("[Header] trackPageName:", u.trackPageName), console.log("[Header] sortedItems:", P.value.length, "items", P.value.map((T) => {
1532
+ var z;
1533
+ return { name: T.name, path: (z = T.path) == null ? void 0 : z.substring(0, 50) };
1534
+ }));
1527
1535
  let s = r();
1528
- if (!s && X()) {
1529
- const f = await _e("componentStats");
1530
- f && (E(f), s = r());
1536
+ if (console.log("[Header] findPreviousPage (cached):", s ? s.name + " → " + ((m = s.path) == null ? void 0 : m.substring(0, 50)) : "NOT FOUND"), !s && X()) {
1537
+ console.log("[Header] no cached history, fetching from parent...");
1538
+ const T = await Se("componentStats");
1539
+ console.log("[Header] fresh componentStats:", T), T && (E(T), s = r(), console.log("[Header] findPreviousPage (fresh):", s ? s.name : "NOT FOUND"));
1531
1540
  }
1532
1541
  if (s) {
1533
- U(), G({ type: "navigate", path: s.path });
1542
+ console.log("[Header] → NAVIGATE to", s.path), H(), G({ type: "navigate", path: s.path });
1534
1543
  return;
1535
1544
  }
1536
- U(), G({ type: "exit" });
1545
+ console.log("[Header] → EXIT (no previous page found)"), H(), G({ type: "exit" });
1537
1546
  };
1538
- return (s, f) => (_(), T("header", ht, [
1539
- m("div", yt, [
1540
- m("div", kt, [
1541
- k.value ? (_(), T("button", {
1547
+ return (s, m) => (S(), O("header", ht, [
1548
+ f("div", yt, [
1549
+ f("div", kt, [
1550
+ k.value ? (S(), O("button", {
1542
1551
  key: 0,
1543
1552
  class: "btn-back",
1544
- onClick: u,
1553
+ onClick: c,
1545
1554
  title: n.backButtonTitle
1546
1555
  }, [
1547
- (_(), T("svg", _t, [...f[0] || (f[0] = [
1548
- m("path", {
1556
+ (S(), O("svg", St, [...m[0] || (m[0] = [
1557
+ f("path", {
1549
1558
  fill: "currentColor",
1550
1559
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1551
1560
  }, null, -1)
1552
1561
  ])]))
1553
- ], 8, xt)) : C("", !0),
1554
- m("div", {
1562
+ ], 8, xt)) : N("", !0),
1563
+ f("div", {
1555
1564
  ref_key: "dropdownRef",
1556
- ref: S,
1565
+ ref: _,
1557
1566
  class: "titleAndDesc"
1558
1567
  }, [
1559
- m("button", {
1560
- class: q(["title-dropdown-toggle", { "title-dropdown-toggle-active": O.value.length }]),
1561
- onClick: M
1568
+ f("button", {
1569
+ class: q(["title-dropdown-toggle", { "title-dropdown-toggle-active": P.value.length }]),
1570
+ onClick: B
1562
1571
  }, [
1563
1572
  V(s.$slots, "title", {}, () => [
1564
- m("h4", St, [
1565
- m("span", Et, N(n.title), 1),
1566
- O.value.length ? (_(), T("svg", {
1573
+ f("h4", _t, [
1574
+ f("span", Et, M(n.title), 1),
1575
+ P.value.length ? (S(), O("svg", {
1567
1576
  key: 0,
1568
1577
  class: q(["arrow", { open: v.value }]),
1569
1578
  width: "12",
1570
1579
  height: "12",
1571
1580
  viewBox: "0 0 451.847 451.847",
1572
1581
  style: { "flex-shrink": "0" }
1573
- }, [...f[1] || (f[1] = [
1574
- m("path", {
1582
+ }, [...m[1] || (m[1] = [
1583
+ f("path", {
1575
1584
  fill: "currentColor",
1576
1585
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1577
1586
  }, null, -1)
1578
- ])], 2)) : C("", !0)
1587
+ ])], 2)) : N("", !0)
1579
1588
  ])
1580
1589
  ], !0)
1581
1590
  ], 2),
1582
- v.value && O.value.length ? (_(), T("div", Tt, [
1583
- m("div", At, N(n.dropdownTitle), 1),
1584
- f[2] || (f[2] = m("div", { class: "title-dropdown-divider" }, null, -1)),
1585
- (_(!0), T(at, null, nt(O.value, (P, H) => (_(), T("div", {
1586
- key: H,
1591
+ v.value && P.value.length ? (S(), O("div", Tt, [
1592
+ f("div", Ot, M(n.dropdownTitle), 1),
1593
+ m[2] || (m[2] = f("div", { class: "title-dropdown-divider" }, null, -1)),
1594
+ (S(!0), O(at, null, nt(P.value, (T, z) => (S(), O("div", {
1595
+ key: z,
1587
1596
  class: "title-dropdown-item",
1588
- onClick: (j) => a(P)
1597
+ onClick: (j) => a(T)
1589
1598
  }, [
1590
- m("p", Bt, N(e(P.name)), 1),
1591
- m("small", Ct, " (" + N(n.visitLabel) + " " + N(i(P.lastVisit)) + ") ", 1)
1592
- ], 8, Ot))), 128))
1593
- ])) : C("", !0),
1599
+ f("p", Pt, M(e(T.name)), 1),
1600
+ f("small", Ct, " (" + M(n.visitLabel) + " " + M(o(T.lastVisit)) + ") ", 1)
1601
+ ], 8, At))), 128))
1602
+ ])) : N("", !0),
1594
1603
  V(s.$slots, "subtitle", {}, () => [
1595
- n.subtitle ? (_(), T("p", Pt, N(n.subtitle), 1)) : C("", !0)
1604
+ n.subtitle ? (S(), O("p", Nt, M(n.subtitle), 1)) : N("", !0)
1596
1605
  ], !0)
1597
1606
  ], 512)
1598
1607
  ]),
1599
- m("div", Mt, [
1600
- f[3] || (f[3] = m("div", null, null, -1)),
1608
+ f("div", Bt, [
1609
+ m[3] || (m[3] = f("div", null, null, -1)),
1601
1610
  V(s.$slots, "default", {}, void 0, !0),
1602
- f[4] || (f[4] = m("div", null, null, -1))
1611
+ m[4] || (m[4] = f("div", null, null, -1))
1603
1612
  ])
1604
1613
  ])
1605
1614
  ]));
1606
1615
  }
1607
- }, oi = /* @__PURE__ */ se(Nt, [["__scopeId", "data-v-f48b594c"]]);
1616
+ }, io = /* @__PURE__ */ se(Mt, [["__scopeId", "data-v-479161ae"]]);
1608
1617
  const It = {
1609
1618
  key: 0,
1610
1619
  class: "sky-dialog-subtitle"
@@ -1649,33 +1658,33 @@ const It = {
1649
1658
  },
1650
1659
  emits: ["update:modelValue", "close", "save"],
1651
1660
  setup(n, { emit: A }) {
1652
- const c = He(), l = n, S = A, v = I(null), B = I(null), w = I(0), y = R(() => {
1661
+ const u = Xe(), l = n, _ = A, v = I(null), C = I(null), w = I(0), y = L(() => {
1653
1662
  try {
1654
1663
  return Ye();
1655
1664
  } catch {
1656
1665
  return !1;
1657
1666
  }
1658
- }), E = R(() => {
1667
+ }), E = L(() => {
1659
1668
  try {
1660
1669
  return Ze();
1661
1670
  } catch {
1662
1671
  return !1;
1663
1672
  }
1664
- }), O = R(() => l.hasButtons !== null ? l.hasButtons : !!c.buttons), M = () => {
1665
- S("update:modelValue", !1), S("close");
1666
- }, t = (o) => {
1667
- o.key === "Escape" && l.closeOnEsc && l.modelValue && M(), o.key === "Enter" && l.modelValue && S("save");
1668
- }, a = (o) => {
1669
- o.touches[0].clientX < 35 && (w.value = o.touches[0].clientX);
1670
- }, e = (o) => {
1671
- w.value > 0 && w.value < 35 && o.changedTouches[0].clientX - w.value > 50 && M(), w.value = 0;
1672
- }, i = () => {
1673
+ }), P = L(() => l.hasButtons !== null ? l.hasButtons : !!u.buttons), B = () => {
1674
+ _("update:modelValue", !1), _("close");
1675
+ }, t = (i) => {
1676
+ i.key === "Escape" && l.closeOnEsc && l.modelValue && B(), i.key === "Enter" && l.modelValue && _("save");
1677
+ }, a = (i) => {
1678
+ i.touches[0].clientX < 35 && (w.value = i.touches[0].clientX);
1679
+ }, e = (i) => {
1680
+ w.value > 0 && w.value < 35 && i.changedTouches[0].clientX - w.value > 50 && B(), w.value = 0;
1681
+ }, o = () => {
1673
1682
  if (!(!E.value || !v.value))
1674
1683
  try {
1675
1684
  if (typeof Android < "u" && Android.getDisplayCutoutTop) {
1676
- const o = Android.getDisplayCutoutTop();
1677
- if (o && window.devicePixelRatio > 1) {
1678
- const k = o / window.devicePixelRatio;
1685
+ const i = Android.getDisplayCutoutTop();
1686
+ if (i && window.devicePixelRatio > 1) {
1687
+ const k = i / window.devicePixelRatio;
1679
1688
  v.value.style.paddingTop = k + "px";
1680
1689
  }
1681
1690
  }
@@ -1684,50 +1693,50 @@ const It = {
1684
1693
  };
1685
1694
  return Ee(
1686
1695
  () => l.modelValue,
1687
- (o) => {
1688
- o ? (document.body.style.overflow = "hidden", Ge(() => {
1689
- i();
1696
+ (i) => {
1697
+ i ? (document.body.style.overflow = "hidden", Ge(() => {
1698
+ o();
1690
1699
  })) : document.body.style.overflow = "";
1691
1700
  }
1692
1701
  ), ae(() => {
1693
- document.addEventListener("keydown", t), window.addEventListener("resize", i);
1694
- }), oe(() => {
1695
- document.removeEventListener("keydown", t), window.removeEventListener("resize", i), document.body.style.overflow = "";
1696
- }), (o, k) => (_(), ne(Te, { to: "body" }, [
1697
- Ae(Oe, {
1702
+ document.addEventListener("keydown", t), window.addEventListener("resize", o);
1703
+ }), ie(() => {
1704
+ document.removeEventListener("keydown", t), window.removeEventListener("resize", o), document.body.style.overflow = "";
1705
+ }), (i, k) => (S(), ne(Te, { to: "body" }, [
1706
+ Oe(Ae, {
1698
1707
  name: n.enableAnimation ? "dialog-slide" : ""
1699
1708
  }, {
1700
1709
  default: K(() => [
1701
- n.modelValue ? (_(), T("div", {
1710
+ n.modelValue ? (S(), O("div", {
1702
1711
  key: 0,
1703
1712
  class: "sky-dialogbox sky-dialogbox-classic",
1704
- style: Be([n.zIndex ? { "z-index": n.zIndex } : null])
1713
+ style: Pe([n.zIndex ? { "z-index": n.zIndex } : null])
1705
1714
  }, [
1706
- m("div", {
1715
+ f("div", {
1707
1716
  class: q(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
1708
1717
  }, [
1709
- m("div", {
1718
+ f("div", {
1710
1719
  ref_key: "dialogContent",
1711
1720
  ref: v,
1712
1721
  class: "sky-dialog-content"
1713
1722
  }, [
1714
- m("div", {
1723
+ f("div", {
1715
1724
  class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
1716
1725
  }, [
1717
- We(N(n.title) + " ", 1),
1718
- n.subtitle ? (_(), T("span", It, N(n.subtitle), 1)) : C("", !0)
1726
+ We(M(n.title) + " ", 1),
1727
+ n.subtitle ? (S(), O("span", It, M(n.subtitle), 1)) : N("", !0)
1719
1728
  ], 2),
1720
- m("button", {
1729
+ f("button", {
1721
1730
  class: "sky-dialog-close",
1722
1731
  title: n.closeText,
1723
- onClick: M
1732
+ onClick: B
1724
1733
  }, [...k[0] || (k[0] = [
1725
- m("svg", {
1734
+ f("svg", {
1726
1735
  viewBox: "0 0 16 16",
1727
1736
  width: "16",
1728
1737
  height: "16"
1729
1738
  }, [
1730
- m("line", {
1739
+ f("line", {
1731
1740
  x1: "1",
1732
1741
  y1: "15",
1733
1742
  x2: "15",
@@ -1735,7 +1744,7 @@ const It = {
1735
1744
  stroke: "currentColor",
1736
1745
  "stroke-width": "2"
1737
1746
  }),
1738
- m("line", {
1747
+ f("line", {
1739
1748
  x1: "1",
1740
1749
  y1: "1",
1741
1750
  x2: "15",
@@ -1745,44 +1754,44 @@ const It = {
1745
1754
  })
1746
1755
  ], -1)
1747
1756
  ])], 8, Vt),
1748
- k[1] || (k[1] = m("div", { class: "sky-dialog-clearfix" }, null, -1)),
1749
- m("div", {
1757
+ k[1] || (k[1] = f("div", { class: "sky-dialog-clearfix" }, null, -1)),
1758
+ f("div", {
1750
1759
  ref_key: "dialogPaper",
1751
- ref: B,
1752
- class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !O.value }]),
1760
+ ref: C,
1761
+ class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !P.value }]),
1753
1762
  onTouchstart: a,
1754
1763
  onTouchend: e
1755
1764
  }, [
1756
- y.value ? (_(), T("div", zt)) : C("", !0),
1757
- V(o.$slots, "default", {}, void 0, !0)
1765
+ y.value ? (S(), O("div", zt)) : N("", !0),
1766
+ V(i.$slots, "default", {}, void 0, !0)
1758
1767
  ], 34),
1759
- O.value ? (_(), T("div", {
1768
+ P.value ? (S(), O("div", {
1760
1769
  key: 0,
1761
1770
  class: q(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
1762
1771
  }, [
1763
- V(o.$slots, "buttons", {}, void 0, !0)
1764
- ], 2)) : C("", !0)
1772
+ V(i.$slots, "buttons", {}, void 0, !0)
1773
+ ], 2)) : N("", !0)
1765
1774
  ], 512)
1766
1775
  ], 2)
1767
- ], 4)) : C("", !0)
1776
+ ], 4)) : N("", !0)
1768
1777
  ]),
1769
1778
  _: 3
1770
1779
  }, 8, ["name"])
1771
1780
  ]));
1772
1781
  }
1773
- }, Fe = /* @__PURE__ */ se(Rt, [["__scopeId", "data-v-25f8ff74"]]);
1782
+ }, je = /* @__PURE__ */ se(Rt, [["__scopeId", "data-v-25f8ff74"]]);
1774
1783
  const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1775
1784
  width: "15",
1776
1785
  height: "15",
1777
1786
  viewBox: "0 0 451.847 451.847",
1778
1787
  style: { transform: "rotate(90deg)" }
1779
- }, qt = {
1788
+ }, Ut = {
1780
1789
  key: 0,
1781
1790
  class: "sky-dialog-subtitle"
1782
- }, Ut = {
1791
+ }, qt = {
1783
1792
  key: 0,
1784
1793
  class: "sky-dialog-swipe-area"
1785
- }, jt = {
1794
+ }, Ht = {
1786
1795
  __name: "DialogNext",
1787
1796
  props: {
1788
1797
  modelValue: {
@@ -1820,33 +1829,33 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1820
1829
  },
1821
1830
  emits: ["update:modelValue", "close", "save"],
1822
1831
  setup(n, { emit: A }) {
1823
- const c = He(), l = n, S = A, v = I(null), B = I(null), w = I(0), y = R(() => {
1832
+ const u = Xe(), l = n, _ = A, v = I(null), C = I(null), w = I(0), y = L(() => {
1824
1833
  try {
1825
1834
  return Ye();
1826
1835
  } catch {
1827
1836
  return !1;
1828
1837
  }
1829
- }), E = R(() => {
1838
+ }), E = L(() => {
1830
1839
  try {
1831
1840
  return Ze();
1832
1841
  } catch {
1833
1842
  return !1;
1834
1843
  }
1835
- }), O = R(() => l.hasButtons !== null ? l.hasButtons : !!c.buttons), M = () => {
1836
- S("update:modelValue", !1), S("close");
1837
- }, t = (o) => {
1838
- o.key === "Escape" && l.closeOnEsc && l.modelValue && M(), o.key === "Enter" && l.modelValue && S("save");
1839
- }, a = (o) => {
1840
- o.touches[0].clientX < 35 && (w.value = o.touches[0].clientX);
1841
- }, e = (o) => {
1842
- w.value > 0 && w.value < 35 && o.changedTouches[0].clientX - w.value > 50 && M(), w.value = 0;
1843
- }, i = () => {
1844
+ }), P = L(() => l.hasButtons !== null ? l.hasButtons : !!u.buttons), B = () => {
1845
+ _("update:modelValue", !1), _("close");
1846
+ }, t = (i) => {
1847
+ i.key === "Escape" && l.closeOnEsc && l.modelValue && B(), i.key === "Enter" && l.modelValue && _("save");
1848
+ }, a = (i) => {
1849
+ i.touches[0].clientX < 35 && (w.value = i.touches[0].clientX);
1850
+ }, e = (i) => {
1851
+ w.value > 0 && w.value < 35 && i.changedTouches[0].clientX - w.value > 50 && B(), w.value = 0;
1852
+ }, o = () => {
1844
1853
  if (!(!E.value || !v.value))
1845
1854
  try {
1846
1855
  if (typeof Android < "u" && Android.getDisplayCutoutTop) {
1847
- const o = Android.getDisplayCutoutTop();
1848
- if (o && window.devicePixelRatio > 1) {
1849
- const k = o / window.devicePixelRatio;
1856
+ const i = Android.getDisplayCutoutTop();
1857
+ if (i && window.devicePixelRatio > 1) {
1858
+ const k = i / window.devicePixelRatio;
1850
1859
  v.value.style.paddingTop = k + "px";
1851
1860
  }
1852
1861
  }
@@ -1855,78 +1864,78 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1855
1864
  };
1856
1865
  return Ee(
1857
1866
  () => l.modelValue,
1858
- (o) => {
1859
- o ? (document.body.style.overflow = "hidden", Ge(() => {
1860
- i();
1867
+ (i) => {
1868
+ i ? (document.body.style.overflow = "hidden", Ge(() => {
1869
+ o();
1861
1870
  })) : document.body.style.overflow = "";
1862
1871
  }
1863
1872
  ), ae(() => {
1864
- document.addEventListener("keydown", t), window.addEventListener("resize", i);
1865
- }), oe(() => {
1866
- document.removeEventListener("keydown", t), window.removeEventListener("resize", i), document.body.style.overflow = "";
1867
- }), (o, k) => (_(), ne(Te, { to: "body" }, [
1868
- Ae(Oe, {
1873
+ document.addEventListener("keydown", t), window.addEventListener("resize", o);
1874
+ }), ie(() => {
1875
+ document.removeEventListener("keydown", t), window.removeEventListener("resize", o), document.body.style.overflow = "";
1876
+ }), (i, k) => (S(), ne(Te, { to: "body" }, [
1877
+ Oe(Ae, {
1869
1878
  name: n.enableAnimation ? "dialog-slide" : ""
1870
1879
  }, {
1871
1880
  default: K(() => [
1872
- n.modelValue ? (_(), T("div", {
1881
+ n.modelValue ? (S(), O("div", {
1873
1882
  key: 0,
1874
1883
  class: "sky-dialogbox sky-dialogbox-next",
1875
- style: Be([n.zIndex ? { "z-index": n.zIndex } : null])
1884
+ style: Pe([n.zIndex ? { "z-index": n.zIndex } : null])
1876
1885
  }, [
1877
- m("div", {
1886
+ f("div", {
1878
1887
  class: q(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
1879
1888
  }, [
1880
- m("div", {
1889
+ f("div", {
1881
1890
  ref_key: "dialogContent",
1882
1891
  ref: v,
1883
1892
  class: "sky-dialog-content"
1884
1893
  }, [
1885
- m("div", Lt, [
1886
- m("button", {
1894
+ f("div", Lt, [
1895
+ f("button", {
1887
1896
  class: "sky-dialog-back",
1888
1897
  title: n.closeText,
1889
- onClick: M
1898
+ onClick: B
1890
1899
  }, [
1891
- (_(), T("svg", $t, [...k[0] || (k[0] = [
1892
- m("path", {
1900
+ (S(), O("svg", $t, [...k[0] || (k[0] = [
1901
+ f("path", {
1893
1902
  fill: "currentColor",
1894
1903
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1895
1904
  }, null, -1)
1896
1905
  ])]))
1897
1906
  ], 8, Dt),
1898
- m("div", {
1907
+ f("div", {
1899
1908
  class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
1900
1909
  }, [
1901
- We(N(n.title) + " ", 1),
1902
- n.subtitle ? (_(), T("span", qt, N(n.subtitle), 1)) : C("", !0)
1910
+ We(M(n.title) + " ", 1),
1911
+ n.subtitle ? (S(), O("span", Ut, M(n.subtitle), 1)) : N("", !0)
1903
1912
  ], 2)
1904
1913
  ]),
1905
- m("div", {
1914
+ f("div", {
1906
1915
  ref_key: "dialogPaper",
1907
- ref: B,
1908
- class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !O.value }]),
1916
+ ref: C,
1917
+ class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !P.value }]),
1909
1918
  onTouchstart: a,
1910
1919
  onTouchend: e
1911
1920
  }, [
1912
- y.value ? (_(), T("div", Ut)) : C("", !0),
1913
- V(o.$slots, "default", {}, void 0, !0)
1921
+ y.value ? (S(), O("div", qt)) : N("", !0),
1922
+ V(i.$slots, "default", {}, void 0, !0)
1914
1923
  ], 34),
1915
- O.value ? (_(), T("div", {
1924
+ P.value ? (S(), O("div", {
1916
1925
  key: 0,
1917
1926
  class: q(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
1918
1927
  }, [
1919
- V(o.$slots, "buttons", {}, void 0, !0)
1920
- ], 2)) : C("", !0)
1928
+ V(i.$slots, "buttons", {}, void 0, !0)
1929
+ ], 2)) : N("", !0)
1921
1930
  ], 512)
1922
1931
  ], 2)
1923
- ], 4)) : C("", !0)
1932
+ ], 4)) : N("", !0)
1924
1933
  ]),
1925
1934
  _: 3
1926
1935
  }, 8, ["name"])
1927
1936
  ]));
1928
1937
  }
1929
- }, Xe = /* @__PURE__ */ se(jt, [["__scopeId", "data-v-910c4e3a"]]), ai = {
1938
+ }, Fe = /* @__PURE__ */ se(Ht, [["__scopeId", "data-v-910c4e3a"]]), ao = {
1930
1939
  __name: "Dialog",
1931
1940
  props: {
1932
1941
  modelValue: {
@@ -1967,8 +1976,8 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1967
1976
  },
1968
1977
  emits: ["update:modelValue", "close", "save"],
1969
1978
  setup(n, { emit: A }) {
1970
- const c = n, l = A, S = R({
1971
- get: () => c.modelValue,
1979
+ const u = n, l = A, _ = L({
1980
+ get: () => u.modelValue,
1972
1981
  set: (w) => l("update:modelValue", w)
1973
1982
  }), v = I(!0);
1974
1983
  ae(() => {
@@ -1978,10 +1987,10 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1978
1987
  v.value = !0;
1979
1988
  }
1980
1989
  });
1981
- const B = R(() => c.mode === "next" ? Xe : c.mode === "classic" ? Fe : v.value ? Xe : Fe);
1982
- return (w, y) => (_(), ne(st(B.value), {
1983
- modelValue: S.value,
1984
- "onUpdate:modelValue": y[0] || (y[0] = (E) => S.value = E),
1990
+ const C = L(() => u.mode === "next" ? Fe : u.mode === "classic" ? je : v.value ? Fe : je);
1991
+ return (w, y) => (S(), ne(st(C.value), {
1992
+ modelValue: _.value,
1993
+ "onUpdate:modelValue": y[0] || (y[0] = (E) => _.value = E),
1985
1994
  title: n.title,
1986
1995
  subtitle: n.subtitle,
1987
1996
  "z-index": n.zIndex,
@@ -2006,7 +2015,7 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
2006
2015
  } : void 0
2007
2016
  ]), 1064, ["modelValue", "title", "subtitle", "z-index", "close-text", "enable-animation", "close-on-esc", "has-buttons"]));
2008
2017
  }
2009
- }, Ft = {
2018
+ }, jt = {
2010
2019
  props: {
2011
2020
  to: {
2012
2021
  type: String,
@@ -2014,12 +2023,12 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
2014
2023
  }
2015
2024
  }
2016
2025
  };
2017
- function Xt(n, A, c, l, S, v) {
2018
- return _(), ne(Te, { to: c.to }, [
2026
+ function Ft(n, A, u, l, _, v) {
2027
+ return S(), ne(Te, { to: u.to }, [
2019
2028
  V(n.$slots, "default")
2020
2029
  ], 8, ["to"]);
2021
2030
  }
2022
- const Ht = /* @__PURE__ */ se(Ft, [["render", Xt]]);
2031
+ const Xt = /* @__PURE__ */ se(jt, [["render", Ft]]);
2023
2032
  const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
2024
2033
  width: "15",
2025
2034
  height: "15",
@@ -2028,10 +2037,10 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
2028
2037
  }, Yt = { class: "sky-modal-title-wrapper" }, Zt = { class: "sky-modal-title" }, Jt = {
2029
2038
  key: 0,
2030
2039
  class: "sky-modal-subtitle"
2031
- }, Qt = { class: "sky-modal-body" }, ei = {
2040
+ }, Qt = { class: "sky-modal-body" }, eo = {
2032
2041
  key: 0,
2033
2042
  class: "sky-modal-footer"
2034
- }, ti = {
2043
+ }, to = {
2035
2044
  __name: "Modal",
2036
2045
  props: {
2037
2046
  modelValue: {
@@ -2069,66 +2078,66 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
2069
2078
  },
2070
2079
  emits: ["update:modelValue", "close"],
2071
2080
  setup(n, { emit: A }) {
2072
- const c = n, l = A, S = R(() => ({
2073
- width: c.width,
2074
- height: c.height
2081
+ const u = n, l = A, _ = L(() => ({
2082
+ width: u.width,
2083
+ height: u.height
2075
2084
  })), v = () => {
2076
2085
  l("update:modelValue", !1), l("close");
2077
- }, B = () => {
2078
- c.closeOnOverlay && v();
2086
+ }, C = () => {
2087
+ u.closeOnOverlay && v();
2079
2088
  }, w = (y) => {
2080
- y.key === "Escape" && c.closeOnEsc && c.modelValue && v();
2089
+ y.key === "Escape" && u.closeOnEsc && u.modelValue && v();
2081
2090
  };
2082
2091
  return Ee(
2083
- () => c.modelValue,
2092
+ () => u.modelValue,
2084
2093
  (y) => {
2085
2094
  y ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
2086
2095
  }
2087
2096
  ), ae(() => {
2088
2097
  document.addEventListener("keydown", w);
2089
- }), oe(() => {
2098
+ }), ie(() => {
2090
2099
  document.removeEventListener("keydown", w), document.body.style.overflow = "";
2091
- }), (y, E) => (_(), ne(Ht, { to: "body" }, {
2100
+ }), (y, E) => (S(), ne(Xt, { to: "body" }, {
2092
2101
  default: K(() => [
2093
- Ae(Oe, null, {
2102
+ Oe(Ae, null, {
2094
2103
  default: K(() => [
2095
- n.modelValue ? (_(), T("div", {
2104
+ n.modelValue ? (S(), O("div", {
2096
2105
  key: 0,
2097
2106
  class: "sky-modal-overlay",
2098
- onClick: rt(B, ["self"])
2107
+ onClick: rt(C, ["self"])
2099
2108
  }, [
2100
- m("div", {
2109
+ f("div", {
2101
2110
  class: "sky-modal",
2102
- style: Be(S.value)
2111
+ style: Pe(_.value)
2103
2112
  }, [
2104
- m("div", Gt, [
2105
- m("button", {
2113
+ f("div", Gt, [
2114
+ f("button", {
2106
2115
  class: "sky-modal-back",
2107
2116
  onClick: v,
2108
2117
  title: n.closeTitle
2109
2118
  }, [
2110
- (_(), T("svg", Kt, [...E[0] || (E[0] = [
2111
- m("path", {
2119
+ (S(), O("svg", Kt, [...E[0] || (E[0] = [
2120
+ f("path", {
2112
2121
  fill: "currentColor",
2113
2122
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
2114
2123
  }, null, -1)
2115
2124
  ])]))
2116
2125
  ], 8, Wt),
2117
- m("div", Yt, [
2118
- m("h4", Zt, N(n.title), 1),
2119
- n.subtitle ? (_(), T("div", Jt, N(n.subtitle), 1)) : C("", !0)
2126
+ f("div", Yt, [
2127
+ f("h4", Zt, M(n.title), 1),
2128
+ n.subtitle ? (S(), O("div", Jt, M(n.subtitle), 1)) : N("", !0)
2120
2129
  ])
2121
2130
  ]),
2122
- m("div", Qt, [
2131
+ f("div", Qt, [
2123
2132
  V(y.$slots, "default", {}, void 0, !0)
2124
2133
  ]),
2125
- y.$slots.footer ? (_(), T("div", ei, [
2126
- E[1] || (E[1] = m("div", null, null, -1)),
2134
+ y.$slots.footer ? (S(), O("div", eo, [
2135
+ E[1] || (E[1] = f("div", null, null, -1)),
2127
2136
  V(y.$slots, "footer", {}, void 0, !0),
2128
- E[2] || (E[2] = m("div", null, null, -1))
2129
- ])) : C("", !0)
2137
+ E[2] || (E[2] = f("div", null, null, -1))
2138
+ ])) : N("", !0)
2130
2139
  ], 4)
2131
- ])) : C("", !0)
2140
+ ])) : N("", !0)
2132
2141
  ]),
2133
2142
  _: 3
2134
2143
  })
@@ -2136,10 +2145,10 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
2136
2145
  _: 3
2137
2146
  }));
2138
2147
  }
2139
- }, ni = /* @__PURE__ */ se(ti, [["__scopeId", "data-v-f35c4457"]]);
2148
+ }, no = /* @__PURE__ */ se(to, [["__scopeId", "data-v-f35c4457"]]);
2140
2149
  export {
2141
- Ht as BaseTeleport,
2142
- ai as Dialog,
2143
- oi as Header,
2144
- ni as Modal
2150
+ Xt as BaseTeleport,
2151
+ ao as Dialog,
2152
+ io as Header,
2153
+ no as Modal
2145
2154
  };