@mapsindoors/map-template 1.89.9 → 1.89.10

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.
Files changed (43) hide show
  1. package/dist/{GoogleMapsMap-4b64c772.mjs → GoogleMapsMap-26d541e5.mjs} +2 -2
  2. package/dist/{MapboxMap-aed4ea2d.mjs → MapboxMap-95bafce5.mjs} +2 -2
  3. package/dist/{combo-box-item.entry-bc8c9ee8.mjs → combo-box-item.entry-90343124.mjs} +2 -2
  4. package/dist/mapsindoors-react.es.js +1 -1
  5. package/dist/mapsindoors-react.umd.js +21 -21
  6. package/dist/mapsindoors-webcomponent.es.js +464 -419
  7. package/dist/mapsindoors-webcomponent.umd.js +22 -22
  8. package/dist/{mi-card_2.entry-f3671a39.mjs → mi-card_2.entry-e176f121.mjs} +2 -2
  9. package/dist/{mi-chip.entry-93059b28.mjs → mi-chip.entry-5b8159e4.mjs} +2 -2
  10. package/dist/{mi-column.entry-c65fd3fb.mjs → mi-column.entry-71c530d6.mjs} +2 -2
  11. package/dist/{mi-combo-box.entry-54c7c1a1.mjs → mi-combo-box.entry-677ad3f9.mjs} +2 -2
  12. package/dist/{mi-data-table.entry-b63c8c24.mjs → mi-data-table.entry-ed3d0a2c.mjs} +2 -2
  13. package/dist/{mi-distance_2.entry-3819b8ed.mjs → mi-distance_2.entry-864a9691.mjs} +2 -2
  14. package/dist/{mi-dropdown-item.entry-18bd35a4.mjs → mi-dropdown-item.entry-21f72ecd.mjs} +2 -2
  15. package/dist/{mi-dropdown.entry-39aacc6b.mjs → mi-dropdown.entry-d637913b.mjs} +2 -2
  16. package/dist/{mi-floor-selector.entry-de225aec.mjs → mi-floor-selector.entry-e576c974.mjs} +2 -2
  17. package/dist/{mi-keyboard.entry-38ed2efe.mjs → mi-keyboard.entry-83563322.mjs} +2 -2
  18. package/dist/{mi-list-item-category.entry-f012a7d3.mjs → mi-list-item-category.entry-a34617e7.mjs} +2 -2
  19. package/dist/{mi-list-item-location.entry-39c9c7bf.mjs → mi-list-item-location.entry-48370e96.mjs} +2 -2
  20. package/dist/{mi-list.entry-66231f37.mjs → mi-list.entry-ffd7fbf8.mjs} +2 -2
  21. package/dist/{mi-location-booking.entry-72c87970.mjs → mi-location-booking.entry-a34dda3a.mjs} +2 -2
  22. package/dist/{mi-location-info.entry-10bb05f8.mjs → mi-location-info.entry-b80ba7da.mjs} +2 -2
  23. package/dist/{mi-map-googlemaps.entry-d9b9eeed.mjs → mi-map-googlemaps.entry-58071bb9.mjs} +2 -2
  24. package/dist/{mi-map-mapbox.entry-a2b91908.mjs → mi-map-mapbox.entry-9eab7d83.mjs} +2 -2
  25. package/dist/{mi-metric-card.entry-762bfa7d.mjs → mi-metric-card.entry-1c6396a7.mjs} +2 -2
  26. package/dist/{mi-my-position.entry-e86db953.mjs → mi-my-position.entry-28f636cb.mjs} +347 -302
  27. package/dist/{mi-notification.entry-a5e9c23c.mjs → mi-notification.entry-6f649c69.mjs} +2 -2
  28. package/dist/{mi-route-instructions-heading.entry-cbe8e9b8.mjs → mi-route-instructions-heading.entry-f27fc877.mjs} +2 -2
  29. package/dist/{mi-route-instructions-maneuver-legacy.entry-04e775d8.mjs → mi-route-instructions-maneuver-legacy.entry-4b9383fe.mjs} +2 -2
  30. package/dist/{mi-route-instructions-maneuver.entry-91127bda.mjs → mi-route-instructions-maneuver.entry-1f35f8d8.mjs} +2 -2
  31. package/dist/{mi-route-instructions-step-legacy.entry-bfc495a6.mjs → mi-route-instructions-step-legacy.entry-5b8c5a68.mjs} +2 -2
  32. package/dist/{mi-route-instructions-step.entry-2efe0a47.mjs → mi-route-instructions-step.entry-90e9b410.mjs} +2 -2
  33. package/dist/{mi-route-instructions.entry-b1de66ae.mjs → mi-route-instructions.entry-f12b9e84.mjs} +2 -2
  34. package/dist/{mi-scroll-buttons.entry-e2f9107c.mjs → mi-scroll-buttons.entry-4cd6091e.mjs} +2 -2
  35. package/dist/{mi-search.entry-37d94869.mjs → mi-search.entry-19bbf780.mjs} +2 -2
  36. package/dist/{mi-share-sms.entry-e9ba51ac.mjs → mi-share-sms.entry-9fea2e54.mjs} +2 -2
  37. package/dist/{mi-step-switcher.entry-17784df0.mjs → mi-step-switcher.entry-506f9169.mjs} +2 -2
  38. package/dist/{mi-tab-panel.entry-f990e02d.mjs → mi-tab-panel.entry-56cb3eda.mjs} +2 -2
  39. package/dist/{mi-tab.entry-ba0fddca.mjs → mi-tab.entry-84204675.mjs} +2 -2
  40. package/dist/{mi-tabs.entry-a2aa28b9.mjs → mi-tabs.entry-d46403df.mjs} +2 -2
  41. package/dist/{mi-time.entry-2ca4c689.mjs → mi-time.entry-23818217.mjs} +2 -2
  42. package/dist/{reactcomponent-508bbbff.mjs → reactcomponent-36bd0492.mjs} +3 -3
  43. package/package.json +1 -1
@@ -1,284 +1,284 @@
1
- import { r as Nt, c as ot, h as yi, H as It } from "./reactcomponent-508bbbff.mjs";
2
- import { c as bt, a as pt } from "./_commonjsHelpers-ba3f0406-b96e6d6a.mjs";
1
+ import { r as It, c as ot, h as yi, H as Nt } from "./reactcomponent-36bd0492.mjs";
2
+ import { c as pt, a as bt } from "./_commonjsHelpers-ba3f0406-b96e6d6a.mjs";
3
3
  import "react";
4
4
  import "react-dom";
5
- var Zi = bt(function(t, a) {
6
- ((l, N) => {
7
- function T(r) {
8
- for (var M = {}, d = 0; d < r.length; d++)
9
- M[r[d].toUpperCase()] = r[d];
10
- return M;
5
+ var Zi = pt(function(i, r) {
6
+ ((d, g) => {
7
+ function D(a) {
8
+ for (var u = {}, l = 0; l < a.length; l++)
9
+ u[a[l].toUpperCase()] = a[l];
10
+ return u;
11
11
  }
12
- var B = 500, Ii = "user-agent", A = "", Wi = "?", bi = "function", Z = "undefined", q = "object", fi = "string", z = "browser", U = "cpu", C = "device", v = "engine", S = "os", J = "result", s = "name", i = "type", o = "vendor", n = "version", E = "architecture", ni = "major", e = "model", ri = "console", h = "mobile", I = "tablet", f = "smarttv", _ = "wearable", ji = "xr", ai = "embedded", ui = "inapp", Ai = "brands", G = "formFactors", zi = "fullVersionList", X = "platform", Ei = "platformVersion", pi = "bitness", W = "sec-ch-ua", at = W + "-full-version-list", ut = W + "-arch", Mt = W + "-" + pi, ct = W + "-form-factors", dt = W + "-" + h, lt = W + "-" + e, Hi = W + "-" + X, ht = Hi + "-version", Vi = [Ai, zi, h, e, X, Ei, E, G, pi], Di = "Amazon", $ = "Apple", Ki = "ASUS", Bi = "BlackBerry", F = "Google", Gi = "Huawei", xi = "Microsoft", Si = "Motorola", vi = "Nvidia", Fi = "OnePlus", Pi = "OPPO", Mi = "Samsung", ci = "Sony", ki = "Xiaomi", Li = "Zebra", qi = "Chromium", H = "Chromecast", di = "Firefox", P = "Opera", Ci = "Facebook", ii = "Mobile ", li = " Browser", _i = "Windows", Ji = typeof l !== Z, x = Ji && l.navigator ? l.navigator : N, V = x && x.userAgentData ? x.userAgentData : N, Ui = function(r, M) {
13
- if (typeof r === q && 0 < r.length) {
14
- for (var d in r)
15
- if (Q(r[d]) == Q(M))
12
+ var B = 500, Ni = "user-agent", A = "", Wi = "?", pi = "function", Z = "undefined", q = "object", fi = "string", S = "browser", U = "cpu", C = "device", z = "engine", x = "os", J = "result", s = "name", t = "type", o = "vendor", n = "version", E = "architecture", ni = "major", e = "model", ri = "console", h = "mobile", N = "tablet", f = "smarttv", _ = "wearable", ji = "xr", ai = "embedded", ci = "inapp", Ai = "brands", G = "formFactors", Si = "fullVersionList", X = "platform", Ei = "platformVersion", bi = "bitness", W = "sec-ch-ua", at = W + "-full-version-list", ct = W + "-arch", ut = W + "-" + bi, Mt = W + "-form-factors", lt = W + "-" + h, dt = W + "-" + e, Hi = W + "-" + X, ht = Hi + "-version", Vi = [Ai, Si, h, e, X, Ei, E, G, bi], Oi = "Amazon", $ = "Apple", Ki = "ASUS", Bi = "BlackBerry", F = "Google", Gi = "Huawei", Pi = "Microsoft", xi = "Motorola", zi = "Nvidia", Fi = "OnePlus", vi = "OPPO", ui = "Samsung", Mi = "Sony", ki = "Xiaomi", Li = "Zebra", qi = "Chromium", H = "Chromecast", li = "Firefox", v = "Opera", Ci = "Facebook", ii = "Mobile ", di = " Browser", _i = "Windows", Ji = typeof d !== Z, P = Ji && d.navigator ? d.navigator : g, V = P && P.userAgentData ? P.userAgentData : g, Ui = function(a, u) {
13
+ if (typeof a === q && 0 < a.length) {
14
+ for (var l in a)
15
+ if (Q(a[l]) == Q(u))
16
16
  return !0;
17
17
  return !1;
18
18
  }
19
- return !!ti(r) && Q(M).indexOf(Q(r)) !== -1;
20
- }, Ti = function(r, M) {
21
- for (var d in r)
22
- return /^(browser|cpu|device|engine|os)$/.test(d) || !!M && Ti(r[d]);
23
- }, ti = function(r) {
24
- return typeof r === fi;
25
- }, Qi = function(r) {
26
- if (!r)
27
- return N;
28
- for (var M, d = [], y = ei(/\\?\"/g, r).split(","), c = 0; c < y.length; c++)
29
- -1 < y[c].indexOf(";") ? (M = gi(y[c]).split(";v="), d[c] = { brand: M[0], version: M[1] }) : d[c] = gi(y[c]);
30
- return d;
31
- }, Q = function(r) {
32
- return ti(r) ? r.toLowerCase() : r;
33
- }, Yi = function(r) {
34
- return ti(r) ? ei(/[^\d\.]/g, r).split(".")[0] : N;
35
- }, Y = function(r) {
36
- for (var M in r)
37
- M = r[M], typeof M == q && M.length == 2 ? this[M[0]] = M[1] : this[M] = N;
19
+ return !!ti(a) && Q(u).indexOf(Q(a)) !== -1;
20
+ }, Di = function(a, u) {
21
+ for (var l in a)
22
+ return /^(browser|cpu|device|engine|os)$/.test(l) || !!u && Di(a[l]);
23
+ }, ti = function(a) {
24
+ return typeof a === fi;
25
+ }, Qi = function(a) {
26
+ if (!a)
27
+ return g;
28
+ for (var u, l = [], y = ei(/\\?\"/g, a).split(","), M = 0; M < y.length; M++)
29
+ -1 < y[M].indexOf(";") ? (u = gi(y[M]).split(";v="), l[M] = { brand: u[0], version: u[1] }) : l[M] = gi(y[M]);
30
+ return l;
31
+ }, Q = function(a) {
32
+ return ti(a) ? a.toLowerCase() : a;
33
+ }, Yi = function(a) {
34
+ return ti(a) ? ei(/[^\d\.]/g, a).split(".")[0] : g;
35
+ }, Y = function(a) {
36
+ for (var u in a)
37
+ u = a[u], typeof u == q && u.length == 2 ? this[u[0]] = u[1] : this[u] = g;
38
38
  return this;
39
- }, ei = function(r, M) {
40
- return ti(M) ? M.replace(r, A) : M;
41
- }, hi = function(r) {
42
- return ei(/\\?\"/g, r);
43
- }, gi = function(r, M) {
44
- if (ti(r))
45
- return r = ei(/^\s\s*/, r), typeof M === Z ? r : r.substring(0, B);
46
- }, Ri = function(r, M) {
47
- if (r && M)
48
- for (var d, y, c, g, b, p = 0; p < M.length && !g; ) {
49
- for (var w = M[p], D = M[p + 1], O = d = 0; O < w.length && !g && w[O]; )
50
- if (g = w[O++].exec(r))
51
- for (y = 0; y < D.length; y++)
52
- b = g[++d], typeof (c = D[y]) === q && 0 < c.length ? c.length === 2 ? typeof c[1] == bi ? this[c[0]] = c[1].call(this, b) : this[c[0]] = c[1] : c.length === 3 ? typeof c[1] !== bi || c[1].exec && c[1].test ? this[c[0]] = b ? b.replace(c[1], c[2]) : N : this[c[0]] = b ? c[1].call(this, b, c[2]) : N : c.length === 4 && (this[c[0]] = b ? c[3].call(this, b.replace(c[1], c[2])) : N) : this[c] = b || N;
53
- p += 2;
39
+ }, ei = function(a, u) {
40
+ return ti(u) ? u.replace(a, A) : u;
41
+ }, hi = function(a) {
42
+ return ei(/\\?\"/g, a);
43
+ }, gi = function(a, u) {
44
+ if (ti(a))
45
+ return a = ei(/^\s\s*/, a), typeof u === Z ? a : a.substring(0, B);
46
+ }, Ri = function(a, u) {
47
+ if (a && u)
48
+ for (var l, y, M, w, p, b = 0; b < u.length && !w; ) {
49
+ for (var I = u[b], O = u[b + 1], m = l = 0; m < I.length && !w && I[m]; )
50
+ if (w = I[m++].exec(a))
51
+ for (y = 0; y < O.length; y++)
52
+ p = w[++l], typeof (M = O[y]) === q && 0 < M.length ? M.length === 2 ? typeof M[1] == pi ? this[M[0]] = M[1].call(this, p) : this[M[0]] = M[1] : M.length === 3 ? typeof M[1] !== pi || M[1].exec && M[1].test ? this[M[0]] = p ? p.replace(M[1], M[2]) : g : this[M[0]] = p ? M[1].call(this, p, M[2]) : g : M.length === 4 && (this[M[0]] = p ? M[3].call(this, p.replace(M[1], M[2])) : g) : this[M] = p || g;
53
+ b += 2;
54
54
  }
55
- }, K = function(r, M) {
56
- for (var d in M)
57
- if (typeof M[d] === q && 0 < M[d].length) {
58
- for (var y = 0; y < M[d].length; y++)
59
- if (Ui(M[d][y], r))
60
- return d === Wi ? N : d;
61
- } else if (Ui(M[d], r))
62
- return d === Wi ? N : d;
63
- return M.hasOwnProperty("*") ? M["*"] : r;
64
- }, Xi = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $i = { embedded: "Automotive", mobile: "Mobile", tablet: ["Tablet", "EInk"], smarttv: "TV", wearable: "Watch", xr: ["VR", "XR"], "?": ["Desktop", "Unknown"], "*": N }, it = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [n, [s, ii + "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [n, [s, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [s, n], [/opios[\/ ]+([\w\.]+)/i], [n, [s, P + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [n, [s, P + " GX"]], [/\bopr\/([\w\.]+)/i], [n, [s, P]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [n, [s, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [n, [s, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i, /(heytap|ovi|115|surf)browser\/([\d\.]+)/i, /(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i], [s, n], [/quark(?:pc)?\/([-\w\.]+)/i], [n, [s, "Quark"]], [/\bddg\/([\w\.]+)/i], [n, [s, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [n, [s, "UCBrowser"]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [n, [s, "WeChat"]], [/konqueror\/([\w\.]+)/i], [n, [s, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [n, [s, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [n, [s, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [n, [s, "Smart Lenovo" + li]], [/(avast|avg)\/([\w\.]+)/i], [[s, /(.+)/, "$1 Secure" + li], n], [/\bfocus\/([\w\.]+)/i], [n, [s, di + " Focus"]], [/\bopt\/([\w\.]+)/i], [n, [s, P + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [n, [s, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [n, [s, "Dolphin"]], [/coast\/([\w\.]+)/i], [n, [s, P + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [n, [s, "MIUI" + li]], [/fxios\/([\w\.-]+)/i], [n, [s, ii + di]], [/\bqihoobrowser\/?([\w\.]*)/i], [n, [s, "360"]], [/\b(qq)\/([\w\.]+)/i], [[s, /(.+)/, "$1Browser"], n], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[s, /(.+)/, "$1" + li], n], [/samsungbrowser\/([\w\.]+)/i], [n, [s, Mi + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [n, [s, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[s, "Sogou Mobile"], n], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [s, n], [/(lbbrowser|rekonq)/i], [s], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [n, s], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[s, Ci], n, [i, ui]], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(instagram|snapchat)[\/ ]([-\w\.]+)/i], [s, n, [i, ui]], [/\bgsa\/([\w\.]+) .*safari\//i], [n, [s, "GSA"], [i, ui]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [n, [s, "TikTok"], [i, ui]], [/\[(linkedin)app\]/i], [s, [i, ui]], [/(chromium)[\/ ]([-\w\.]+)/i], [s, n], [/headlesschrome(?:\/([\w\.]+)| )/i], [n, [s, "Chrome Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[s, "Chrome WebView"], n], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [n, [s, "Android" + li]], [/chrome\/([\w\.]+) mobile/i], [n, [s, ii + "Chrome"]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [s, n], [/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i], [n, [s, ii + "Safari"]], [/iphone .*mobile(?:\/\w+ | ?)safari/i], [[s, ii + "Safari"]], [/version\/([\w\.\,]+) .*(safari)/i], [n, s], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [s, [n, "1"]], [/(webkit|khtml)\/([\w\.]+)/i], [s, n], [/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i], [[s, ii + di], n], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[s, "Netscape"], n], [/(wolvic|librewolf)\/([\w\.]+)/i], [s, n], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [n, [s, di + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [s, [n, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [s, [n, /[^\d\.]+./, A]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[E, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[E, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[E, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[E, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[E, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[E, /ower/, A, Q]], [/ sun4\w[;\)]/i], [[E, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[E, Q]]], device: [[/\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], [e, [o, Mi], [i, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [e, [o, Mi], [i, h]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [e, [o, $], [i, h]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [e, [o, $], [i, I]], [/(macintosh);/i], [e, [o, $]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [e, [o, "Sharp"], [i, h]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [e, [o, "Honor"], [i, I]], [/honor([-\w ]+)[;\)]/i], [e, [o, "Honor"], [i, h]], [/\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], [e, [o, Gi], [i, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [e, [o, Gi], [i, h]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[e, /_/g, " "], [o, ki], [i, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[e, /_/g, " "], [o, ki], [i, h]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [e, [o, Pi], [i, h]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [e, [o, K, { OnePlus: ["304", "403", "203"], "*": Pi }], [i, I]], [/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i], [e, [o, "BLU"], [i, h]], [/; vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [e, [o, "Vivo"], [i, h]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [e, [o, "Realme"], [i, h]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [e, [o, Si], [i, h]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [e, [o, Si], [i, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [e, [o, "LG"], [i, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i, /\blg-?([\d\w]+) bui/i], [e, [o, "LG"], [i, h]], [/(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, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [e, [o, "Lenovo"], [i, I]], [/(nokia) (t[12][01])/i], [o, e, [i, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[e, /_/g, " "], [i, h], [o, "Nokia"]], [/(pixel (c|tablet))\b/i], [e, [o, F], [i, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [e, [o, F], [i, h]], [/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], [e, [o, ci], [i, h]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[e, "Xperia Tablet"], [o, ci], [i, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [e, [o, Fi], [i, h]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [e, [o, Di], [i, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[e, /(.+)/g, "Fire Phone $1"], [o, Di], [i, h]], [/(playbook);[-\w\),; ]+(rim)/i], [e, o, [i, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [e, [o, Bi], [i, h]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [e, [o, Ki], [i, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [e, [o, Ki], [i, h]], [/(nexus 9)/i], [e, [o, "HTC"], [i, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [o, [e, /_/g, " "], [i, h]], [/tcl (xess p17aa)/i, /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i], [e, [o, "TCL"], [i, I]], [/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i], [e, [o, "TCL"], [i, h]], [/(itel) ((\w+))/i], [[o, Q], e, [i, K, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [e, [o, "Acer"], [i, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [e, [o, "Meizu"], [i, h]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [e, [o, "Ulefone"], [i, h]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [e, [o, "Energizer"], [i, h]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [e, [o, "Cat"], [i, h]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [e, [o, "Smartfren"], [i, h]], [/droid.+; (a(?:015|06[35]|142p?))/i], [e, [o, "Nothing"], [i, h]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [e, [o, "Archos"], [i, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [e, [o, "Archos"], [i, h]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [o, e, [i, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [o, e, [i, h]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i], [o, e, [i, I]], [/(surface duo)/i], [e, [o, xi], [i, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [e, [o, "Fairphone"], [i, h]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [e, [o, vi], [i, I]], [/(sprint) (\w+)/i], [o, e, [i, h]], [/(kin\.[onetw]{3})/i], [[e, /\./g, " "], [o, xi], [i, h]], [/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [e, [o, Li], [i, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [e, [o, Li], [i, h]], [/smart-tv.+(samsung)/i], [o, [i, f]], [/hbbtv.+maple;(\d+)/i], [[e, /^/, "SmartTV"], [o, Mi], [i, f]], [/tcast.+(lg)e?. ([-\w]+)/i], [o, e, [i, f]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[o, "LG"], [i, f]], [/(apple) ?tv/i], [o, [e, $ + " TV"], [i, f]], [/crkey.*devicetype\/chromecast/i], [[e, H + " Third Generation"], [o, F], [i, f]], [/crkey.*devicetype\/([^/]*)/i], [[e, /^/, "Chromecast "], [o, F], [i, f]], [/fuchsia.*crkey/i], [[e, H + " Nest Hub"], [o, F], [i, f]], [/crkey/i], [[e, H], [o, F], [i, f]], [/(portaltv)/i], [e, [o, Ci], [i, f]], [/droid.+aft(\w+)( bui|\))/i], [e, [o, Di], [i, f]], [/(shield \w+ tv)/i], [e, [o, vi], [i, f]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [e, [o, "Sharp"], [i, f]], [/(bravia[\w ]+)( bui|\))/i], [e, [o, ci], [i, f]], [/(mi(tv|box)-?\w+) bui/i], [e, [o, ki], [i, f]], [/Hbbtv.*(technisat) (.*);/i], [o, e, [i, f]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[o, gi], [e, gi], [i, f]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [e, [i, f]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[i, f]], [/(ouya)/i, /(nintendo) (\w+)/i], [o, e, [i, ri]], [/droid.+; (shield)( bui|\))/i], [e, [o, vi], [i, ri]], [/(playstation \w+)/i], [e, [o, ci], [i, ri]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [e, [o, xi], [i, ri]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [e, [o, Mi], [i, _]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [o, e, [i, _]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [e, [o, Pi], [i, _]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [e, [o, $], [i, _]], [/(opwwe\d{3})/i], [e, [o, Fi], [i, _]], [/(moto 360)/i], [e, [o, Si], [i, _]], [/(smartwatch 3)/i], [e, [o, ci], [i, _]], [/(g watch r)/i], [e, [o, "LG"], [i, _]], [/droid.+; (wt63?0{2,3})\)/i], [e, [o, Li], [i, _]], [/droid.+; (glass) \d/i], [e, [o, F], [i, ji]], [/(pico) (4|neo3(?: link|pro)?)/i], [o, e, [i, ji]], [/(quest( \d| pro)?s?).+vr/i], [e, [o, Ci], [i, ji]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [o, [i, ai]], [/(aeobc)\b/i], [e, [o, Di], [i, ai]], [/(homepod).+mac os/i], [e, [o, $], [i, ai]], [/windows iot/i], [[i, ai]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i], [e, [i, K, { mobile: "Mobile", xr: "VR", "*": I }]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[i, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[i, h]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [e, [o, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [n, [s, "EdgeHTML"]], [/(arkweb)\/([\w\.]+)/i], [s, n], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [n, [s, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [s, n], [/ladybird\//i], [[s, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [n, s]], os: [[/microsoft (windows) (vista|xp)/i], [s, n], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [s, [n, K, Xi]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[n, K, Xi], [s, _i]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[n, /_/g, "."], [s, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[s, "macOS"], [n, /_/g, "."]], [/android ([\d\.]+).*crkey/i], [n, [s, H + " Android"]], [/fuchsia.*crkey\/([\d\.]+)/i], [n, [s, H + " Fuchsia"]], [/crkey\/([\d\.]+).*devicetype\/smartspeaker/i], [n, [s, H + " SmartSpeaker"]], [/linux.*crkey\/([\d\.]+)/i], [n, [s, H + " Linux"]], [/crkey\/([\d\.]+)/i], [n, [s, H]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [n, s], [/(ubuntu) ([\w\.]+) like android/i], [[s, /(.+)/, "$1 Touch"], n], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i], [s, n], [/\(bb(10);/i], [n, [s, Bi]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [n, [s, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [n, [s, di + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [n, [s, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [n, [s, "watchOS"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[s, "Chrome OS"], n], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) (\w+)/i, /(xbox); +xbox ([^\);]+)/i, /(pico) .+os([\w\.]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [s, n], [/(sunos) ?([\w\.\d]*)/i], [[s, "Solaris"], n], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [s, n]] }, Oi = (P = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} }, Y.call(P.init, [[z, [s, n, ni, i]], [U, [E]], [C, [i, e, o]], [v, [s, n]], [S, [s, n]]]), Y.call(P.isIgnore, [[z, [n, ni]], [v, [n]], [S, [n]]]), Y.call(P.isIgnoreRgx, [[z, / ?browser$/i], [S, / ?os$/i]]), Y.call(P.toString, [[z, [s, n]], [U, [E]], [C, [o, e]], [v, [s, n]], [S, [s, n]]]), P), gt = function(r, M) {
65
- var d = Oi.init[M], y = Oi.isIgnore[M] || 0, c = Oi.isIgnoreRgx[M] || 0, g = Oi.toString[M] || 0;
66
- function b() {
67
- Y.call(this, d);
55
+ }, K = function(a, u) {
56
+ for (var l in u)
57
+ if (typeof u[l] === q && 0 < u[l].length) {
58
+ for (var y = 0; y < u[l].length; y++)
59
+ if (Ui(u[l][y], a))
60
+ return l === Wi ? g : l;
61
+ } else if (Ui(u[l], a))
62
+ return l === Wi ? g : l;
63
+ return u.hasOwnProperty("*") ? u["*"] : a;
64
+ }, Xi = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $i = { embedded: "Automotive", mobile: "Mobile", tablet: ["Tablet", "EInk"], smarttv: "TV", wearable: "Watch", xr: ["VR", "XR"], "?": ["Desktop", "Unknown"], "*": g }, it = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [n, [s, ii + "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [n, [s, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [s, n], [/opios[\/ ]+([\w\.]+)/i], [n, [s, v + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [n, [s, v + " GX"]], [/\bopr\/([\w\.]+)/i], [n, [s, v]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [n, [s, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [n, [s, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i, /(heytap|ovi|115|surf)browser\/([\d\.]+)/i, /(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i], [s, n], [/quark(?:pc)?\/([-\w\.]+)/i], [n, [s, "Quark"]], [/\bddg\/([\w\.]+)/i], [n, [s, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [n, [s, "UCBrowser"]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [n, [s, "WeChat"]], [/konqueror\/([\w\.]+)/i], [n, [s, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [n, [s, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [n, [s, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [n, [s, "Smart Lenovo" + di]], [/(avast|avg)\/([\w\.]+)/i], [[s, /(.+)/, "$1 Secure" + di], n], [/\bfocus\/([\w\.]+)/i], [n, [s, li + " Focus"]], [/\bopt\/([\w\.]+)/i], [n, [s, v + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [n, [s, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [n, [s, "Dolphin"]], [/coast\/([\w\.]+)/i], [n, [s, v + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [n, [s, "MIUI" + di]], [/fxios\/([\w\.-]+)/i], [n, [s, ii + li]], [/\bqihoobrowser\/?([\w\.]*)/i], [n, [s, "360"]], [/\b(qq)\/([\w\.]+)/i], [[s, /(.+)/, "$1Browser"], n], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[s, /(.+)/, "$1" + di], n], [/samsungbrowser\/([\w\.]+)/i], [n, [s, ui + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [n, [s, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[s, "Sogou Mobile"], n], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [s, n], [/(lbbrowser|rekonq)/i], [s], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [n, s], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[s, Ci], n, [t, ci]], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(instagram|snapchat)[\/ ]([-\w\.]+)/i], [s, n, [t, ci]], [/\bgsa\/([\w\.]+) .*safari\//i], [n, [s, "GSA"], [t, ci]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [n, [s, "TikTok"], [t, ci]], [/\[(linkedin)app\]/i], [s, [t, ci]], [/(chromium)[\/ ]([-\w\.]+)/i], [s, n], [/headlesschrome(?:\/([\w\.]+)| )/i], [n, [s, "Chrome Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[s, "Chrome WebView"], n], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [n, [s, "Android" + di]], [/chrome\/([\w\.]+) mobile/i], [n, [s, ii + "Chrome"]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [s, n], [/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i], [n, [s, ii + "Safari"]], [/iphone .*mobile(?:\/\w+ | ?)safari/i], [[s, ii + "Safari"]], [/version\/([\w\.\,]+) .*(safari)/i], [n, s], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [s, [n, "1"]], [/(webkit|khtml)\/([\w\.]+)/i], [s, n], [/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i], [[s, ii + li], n], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[s, "Netscape"], n], [/(wolvic|librewolf)\/([\w\.]+)/i], [s, n], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [n, [s, li + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [s, [n, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [s, [n, /[^\d\.]+./, A]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[E, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[E, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[E, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[E, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[E, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[E, /ower/, A, Q]], [/ sun4\w[;\)]/i], [[E, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[E, Q]]], device: [[/\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], [e, [o, ui], [t, N]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [e, [o, ui], [t, h]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [e, [o, $], [t, h]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [e, [o, $], [t, N]], [/(macintosh);/i], [e, [o, $]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [e, [o, "Sharp"], [t, h]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [e, [o, "Honor"], [t, N]], [/honor([-\w ]+)[;\)]/i], [e, [o, "Honor"], [t, h]], [/\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], [e, [o, Gi], [t, N]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [e, [o, Gi], [t, h]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[e, /_/g, " "], [o, ki], [t, N]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[e, /_/g, " "], [o, ki], [t, h]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [e, [o, vi], [t, h]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [e, [o, K, { OnePlus: ["304", "403", "203"], "*": vi }], [t, N]], [/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i], [e, [o, "BLU"], [t, h]], [/; vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [e, [o, "Vivo"], [t, h]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [e, [o, "Realme"], [t, h]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [e, [o, xi], [t, h]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [e, [o, xi], [t, N]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [e, [o, "LG"], [t, N]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i, /\blg-?([\d\w]+) bui/i], [e, [o, "LG"], [t, h]], [/(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, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [e, [o, "Lenovo"], [t, N]], [/(nokia) (t[12][01])/i], [o, e, [t, N]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[e, /_/g, " "], [t, h], [o, "Nokia"]], [/(pixel (c|tablet))\b/i], [e, [o, F], [t, N]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [e, [o, F], [t, h]], [/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], [e, [o, Mi], [t, h]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[e, "Xperia Tablet"], [o, Mi], [t, N]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [e, [o, Fi], [t, h]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [e, [o, Oi], [t, N]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[e, /(.+)/g, "Fire Phone $1"], [o, Oi], [t, h]], [/(playbook);[-\w\),; ]+(rim)/i], [e, o, [t, N]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [e, [o, Bi], [t, h]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [e, [o, Ki], [t, N]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [e, [o, Ki], [t, h]], [/(nexus 9)/i], [e, [o, "HTC"], [t, N]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [o, [e, /_/g, " "], [t, h]], [/tcl (xess p17aa)/i, /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i], [e, [o, "TCL"], [t, N]], [/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i], [e, [o, "TCL"], [t, h]], [/(itel) ((\w+))/i], [[o, Q], e, [t, K, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [e, [o, "Acer"], [t, N]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [e, [o, "Meizu"], [t, h]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [e, [o, "Ulefone"], [t, h]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [e, [o, "Energizer"], [t, h]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [e, [o, "Cat"], [t, h]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [e, [o, "Smartfren"], [t, h]], [/droid.+; (a(?:015|06[35]|142p?))/i], [e, [o, "Nothing"], [t, h]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [e, [o, "Archos"], [t, N]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [e, [o, "Archos"], [t, h]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [o, e, [t, N]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [o, e, [t, h]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i], [o, e, [t, N]], [/(surface duo)/i], [e, [o, Pi], [t, N]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [e, [o, "Fairphone"], [t, h]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [e, [o, zi], [t, N]], [/(sprint) (\w+)/i], [o, e, [t, h]], [/(kin\.[onetw]{3})/i], [[e, /\./g, " "], [o, Pi], [t, h]], [/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [e, [o, Li], [t, N]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [e, [o, Li], [t, h]], [/smart-tv.+(samsung)/i], [o, [t, f]], [/hbbtv.+maple;(\d+)/i], [[e, /^/, "SmartTV"], [o, ui], [t, f]], [/tcast.+(lg)e?. ([-\w]+)/i], [o, e, [t, f]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[o, "LG"], [t, f]], [/(apple) ?tv/i], [o, [e, $ + " TV"], [t, f]], [/crkey.*devicetype\/chromecast/i], [[e, H + " Third Generation"], [o, F], [t, f]], [/crkey.*devicetype\/([^/]*)/i], [[e, /^/, "Chromecast "], [o, F], [t, f]], [/fuchsia.*crkey/i], [[e, H + " Nest Hub"], [o, F], [t, f]], [/crkey/i], [[e, H], [o, F], [t, f]], [/(portaltv)/i], [e, [o, Ci], [t, f]], [/droid.+aft(\w+)( bui|\))/i], [e, [o, Oi], [t, f]], [/(shield \w+ tv)/i], [e, [o, zi], [t, f]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [e, [o, "Sharp"], [t, f]], [/(bravia[\w ]+)( bui|\))/i], [e, [o, Mi], [t, f]], [/(mi(tv|box)-?\w+) bui/i], [e, [o, ki], [t, f]], [/Hbbtv.*(technisat) (.*);/i], [o, e, [t, f]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[o, gi], [e, gi], [t, f]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [e, [t, f]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[t, f]], [/(ouya)/i, /(nintendo) (\w+)/i], [o, e, [t, ri]], [/droid.+; (shield)( bui|\))/i], [e, [o, zi], [t, ri]], [/(playstation \w+)/i], [e, [o, Mi], [t, ri]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [e, [o, Pi], [t, ri]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [e, [o, ui], [t, _]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [o, e, [t, _]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [e, [o, vi], [t, _]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [e, [o, $], [t, _]], [/(opwwe\d{3})/i], [e, [o, Fi], [t, _]], [/(moto 360)/i], [e, [o, xi], [t, _]], [/(smartwatch 3)/i], [e, [o, Mi], [t, _]], [/(g watch r)/i], [e, [o, "LG"], [t, _]], [/droid.+; (wt63?0{2,3})\)/i], [e, [o, Li], [t, _]], [/droid.+; (glass) \d/i], [e, [o, F], [t, ji]], [/(pico) (4|neo3(?: link|pro)?)/i], [o, e, [t, ji]], [/(quest( \d| pro)?s?).+vr/i], [e, [o, Ci], [t, ji]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [o, [t, ai]], [/(aeobc)\b/i], [e, [o, Oi], [t, ai]], [/(homepod).+mac os/i], [e, [o, $], [t, ai]], [/windows iot/i], [[t, ai]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i], [e, [t, K, { mobile: "Mobile", xr: "VR", "*": N }]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[t, N]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[t, h]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [e, [o, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [n, [s, "EdgeHTML"]], [/(arkweb)\/([\w\.]+)/i], [s, n], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [n, [s, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [s, n], [/ladybird\//i], [[s, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [n, s]], os: [[/microsoft (windows) (vista|xp)/i], [s, n], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [s, [n, K, Xi]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[n, K, Xi], [s, _i]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[n, /_/g, "."], [s, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[s, "macOS"], [n, /_/g, "."]], [/android ([\d\.]+).*crkey/i], [n, [s, H + " Android"]], [/fuchsia.*crkey\/([\d\.]+)/i], [n, [s, H + " Fuchsia"]], [/crkey\/([\d\.]+).*devicetype\/smartspeaker/i], [n, [s, H + " SmartSpeaker"]], [/linux.*crkey\/([\d\.]+)/i], [n, [s, H + " Linux"]], [/crkey\/([\d\.]+)/i], [n, [s, H]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [n, s], [/(ubuntu) ([\w\.]+) like android/i], [[s, /(.+)/, "$1 Touch"], n], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i], [s, n], [/\(bb(10);/i], [n, [s, Bi]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [n, [s, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [n, [s, li + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [n, [s, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [n, [s, "watchOS"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[s, "Chrome OS"], n], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) (\w+)/i, /(xbox); +xbox ([^\);]+)/i, /(pico) .+os([\w\.]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [s, n], [/(sunos) ?([\w\.\d]*)/i], [[s, "Solaris"], n], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [s, n]] }, mi = (v = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} }, Y.call(v.init, [[S, [s, n, ni, t]], [U, [E]], [C, [t, e, o]], [z, [s, n]], [x, [s, n]]]), Y.call(v.isIgnore, [[S, [n, ni]], [z, [n]], [x, [n]]]), Y.call(v.isIgnoreRgx, [[S, / ?browser$/i], [x, / ?os$/i]]), Y.call(v.toString, [[S, [s, n]], [U, [E]], [C, [o, e]], [z, [s, n]], [x, [s, n]]]), v), gt = function(a, u) {
65
+ var l = mi.init[u], y = mi.isIgnore[u] || 0, M = mi.isIgnoreRgx[u] || 0, w = mi.toString[u] || 0;
66
+ function p() {
67
+ Y.call(this, l);
68
68
  }
69
- return b.prototype.getItem = function() {
70
- return r;
71
- }, b.prototype.withClientHints = function() {
72
- return V ? V.getHighEntropyValues(Vi).then(function(p) {
73
- return r.setCH(new tt(p, !1)).parseCH().get();
74
- }) : r.parseCH().get();
75
- }, b.prototype.withFeatureCheck = function() {
76
- return r.detectFeature().get();
77
- }, M != J && (b.prototype.is = function(p) {
78
- var w, D = !1;
79
- for (w in this)
80
- if (this.hasOwnProperty(w) && !Ui(y, w) && Q(c ? ei(c, this[w]) : this[w]) == Q(c ? ei(c, p) : p)) {
81
- if (D = !0, p != Z)
69
+ return p.prototype.getItem = function() {
70
+ return a;
71
+ }, p.prototype.withClientHints = function() {
72
+ return V ? V.getHighEntropyValues(Vi).then(function(b) {
73
+ return a.setCH(new tt(b, !1)).parseCH().get();
74
+ }) : a.parseCH().get();
75
+ }, p.prototype.withFeatureCheck = function() {
76
+ return a.detectFeature().get();
77
+ }, u != J && (p.prototype.is = function(b) {
78
+ var I, O = !1;
79
+ for (I in this)
80
+ if (this.hasOwnProperty(I) && !Ui(y, I) && Q(M ? ei(M, this[I]) : this[I]) == Q(M ? ei(M, b) : b)) {
81
+ if (O = !0, b != Z)
82
82
  break;
83
- } else if (p == Z && D) {
84
- D = !D;
83
+ } else if (b == Z && O) {
84
+ O = !O;
85
85
  break;
86
86
  }
87
- return D;
88
- }, b.prototype.toString = function() {
89
- var p, w = A;
90
- for (p in g)
91
- typeof this[g[p]] !== Z && (w += (w ? " " : A) + this[g[p]]);
92
- return w || Z;
93
- }), V || (b.prototype.then = function(p) {
94
- function w() {
95
- for (var R in D)
96
- D.hasOwnProperty(R) && (this[R] = D[R]);
87
+ return O;
88
+ }, p.prototype.toString = function() {
89
+ var b, I = A;
90
+ for (b in w)
91
+ typeof this[w[b]] !== Z && (I += (I ? " " : A) + this[w[b]]);
92
+ return I || Z;
93
+ }), V || (p.prototype.then = function(b) {
94
+ function I() {
95
+ for (var R in O)
96
+ O.hasOwnProperty(R) && (this[R] = O[R]);
97
97
  }
98
- var D = this, O = (w.prototype = { is: b.prototype.is, toString: b.prototype.toString }, new w());
99
- return p(O), O;
100
- }), new b();
98
+ var O = this, m = (I.prototype = { is: p.prototype.is, toString: p.prototype.toString }, new I());
99
+ return b(m), m;
100
+ }), new p();
101
101
  };
102
- function tt(r, M) {
103
- if (r = r || {}, Y.call(this, Vi), M)
104
- Y.call(this, [[Ai, Qi(r[W])], [zi, Qi(r[at])], [h, /\?1/.test(r[dt])], [e, hi(r[lt])], [X, hi(r[Hi])], [Ei, hi(r[ht])], [E, hi(r[ut])], [G, Qi(r[ct])], [pi, hi(r[Mt])]]);
102
+ function tt(a, u) {
103
+ if (a = a || {}, Y.call(this, Vi), u)
104
+ Y.call(this, [[Ai, Qi(a[W])], [Si, Qi(a[at])], [h, /\?1/.test(a[lt])], [e, hi(a[dt])], [X, hi(a[Hi])], [Ei, hi(a[ht])], [E, hi(a[ct])], [G, Qi(a[Mt])], [bi, hi(a[ut])]]);
105
105
  else
106
- for (var d in r)
107
- this.hasOwnProperty(d) && typeof r[d] !== Z && (this[d] = r[d]);
106
+ for (var l in a)
107
+ this.hasOwnProperty(l) && typeof a[l] !== Z && (this[l] = a[l]);
108
108
  }
109
- function et(r, M, d, y) {
110
- return this.get = function(c) {
111
- return c ? this.data.hasOwnProperty(c) ? this.data[c] : N : this.data;
112
- }, this.set = function(c, g) {
113
- return this.data[c] = g, this;
114
- }, this.setCH = function(c) {
115
- return this.uaCH = c, this;
109
+ function et(a, u, l, y) {
110
+ return this.get = function(M) {
111
+ return M ? this.data.hasOwnProperty(M) ? this.data[M] : g : this.data;
112
+ }, this.set = function(M, w) {
113
+ return this.data[M] = w, this;
114
+ }, this.setCH = function(M) {
115
+ return this.uaCH = M, this;
116
116
  }, this.detectFeature = function() {
117
- if (x && x.userAgent == this.ua)
117
+ if (P && P.userAgent == this.ua)
118
118
  switch (this.itemType) {
119
- case z:
120
- x.brave && typeof x.brave.isBrave == bi && this.set(s, "Brave");
119
+ case S:
120
+ P.brave && typeof P.brave.isBrave == pi && this.set(s, "Brave");
121
121
  break;
122
122
  case C:
123
- !this.get(i) && V && V[h] && this.set(i, h), this.get(e) == "Macintosh" && x && typeof x.standalone !== Z && x.maxTouchPoints && 2 < x.maxTouchPoints && this.set(e, "iPad").set(i, I);
123
+ !this.get(t) && V && V[h] && this.set(t, h), this.get(e) == "Macintosh" && P && typeof P.standalone !== Z && P.maxTouchPoints && 2 < P.maxTouchPoints && this.set(e, "iPad").set(t, N);
124
124
  break;
125
- case S:
125
+ case x:
126
126
  !this.get(s) && V && V[X] && this.set(s, V[X]);
127
127
  break;
128
128
  case J:
129
- var c = this.data, g = function(b) {
130
- return c[b].getItem().detectFeature().get();
129
+ var M = this.data, w = function(p) {
130
+ return M[p].getItem().detectFeature().get();
131
131
  };
132
- this.set(z, g(z)).set(U, g(U)).set(C, g(C)).set(v, g(v)).set(S, g(S));
132
+ this.set(S, w(S)).set(U, w(U)).set(C, w(C)).set(z, w(z)).set(x, w(x));
133
133
  }
134
134
  return this;
135
135
  }, this.parseUA = function() {
136
- return this.itemType != J && Ri.call(this.data, this.ua, this.rgxMap), this.itemType == z && this.set(ni, Yi(this.get(n))), this;
136
+ return this.itemType != J && Ri.call(this.data, this.ua, this.rgxMap), this.itemType == S && this.set(ni, Yi(this.get(n))), this;
137
137
  }, this.parseCH = function() {
138
- var c, g = this.uaCH, b = this.rgxMap;
138
+ var M, w = this.uaCH, p = this.rgxMap;
139
139
  switch (this.itemType) {
140
+ case S:
140
141
  case z:
141
- case v:
142
- var p, w = g[zi] || g[Ai];
143
- if (w)
144
- for (var D in w) {
145
- var O = w[D].brand || w[D], D = w[D].version;
146
- this.itemType != z || /not.a.brand/i.test(O) || p && (!/chrom/i.test(p) || O == qi) || (O = K(O, { Chrome: "Google Chrome", Edge: "Microsoft Edge", "Chrome WebView": "Android WebView", "Chrome Headless": "HeadlessChrome", "Huawei Browser": "HuaweiBrowser", "MIUI Browser": "Miui Browser", "Opera Mobi": "OperaMobile", Yandex: "YaBrowser" }), this.set(s, O).set(n, D).set(ni, Yi(D)), p = O), this.itemType == v && O == qi && this.set(n, D);
142
+ var b, I = w[Si] || w[Ai];
143
+ if (I)
144
+ for (var O in I) {
145
+ var m = I[O].brand || I[O], O = I[O].version;
146
+ this.itemType != S || /not.a.brand/i.test(m) || b && (!/chrom/i.test(b) || m == qi) || (m = K(m, { Chrome: "Google Chrome", Edge: "Microsoft Edge", "Chrome WebView": "Android WebView", "Chrome Headless": "HeadlessChrome", "Huawei Browser": "HuaweiBrowser", "MIUI Browser": "Miui Browser", "Opera Mobi": "OperaMobile", Yandex: "YaBrowser" }), this.set(s, m).set(n, O).set(ni, Yi(O)), b = m), this.itemType == z && m == qi && this.set(n, O);
147
147
  }
148
148
  break;
149
149
  case U:
150
- var m = g[E];
151
- m && (g[pi] == "64" && (m += "64"), Ri.call(this.data, m + ";", b));
150
+ var T = w[E];
151
+ T && (w[bi] == "64" && (T += "64"), Ri.call(this.data, T + ";", p));
152
152
  break;
153
153
  case C:
154
- if (g[h] && this.set(i, h), g[e] && (this.set(e, g[e]), this.get(i) && this.get(o) || (Ri.call(m = {}, "droid 9; " + g[e] + ")", b), !this.get(i) && m.type && this.set(i, m.type), !this.get(o) && m.vendor && this.set(o, m.vendor))), g[G]) {
155
- if (typeof g[G] != "string")
156
- for (var R = 0; !c && R < g[G].length; )
157
- c = K(g[G][R++], $i);
154
+ if (w[h] && this.set(t, h), w[e] && (this.set(e, w[e]), this.get(t) && this.get(o) || (Ri.call(T = {}, "droid 9; " + w[e] + ")", p), !this.get(t) && T.type && this.set(t, T.type), !this.get(o) && T.vendor && this.set(o, T.vendor))), w[G]) {
155
+ if (typeof w[G] != "string")
156
+ for (var R = 0; !M && R < w[G].length; )
157
+ M = K(w[G][R++], $i);
158
158
  else
159
- c = K(g[G], $i);
160
- this.set(i, c);
159
+ M = K(w[G], $i);
160
+ this.set(t, M);
161
161
  }
162
162
  break;
163
- case S:
164
- var L, m = g[X];
165
- m && (L = g[Ei], m == _i && (L = 13 <= parseInt(Yi(L), 10) ? "11" : "10"), this.set(s, m).set(n, L)), this.get(s) == _i && g[e] == "Xbox" && this.set(s, "Xbox").set(n, N);
163
+ case x:
164
+ var L, T = w[X];
165
+ T && (L = w[Ei], T == _i && (L = 13 <= parseInt(Yi(L), 10) ? "11" : "10"), this.set(s, T).set(n, L)), this.get(s) == _i && w[e] == "Xbox" && this.set(s, "Xbox").set(n, g);
166
166
  break;
167
167
  case J:
168
- var mi = this.data, m = function(wt) {
169
- return mi[wt].getItem().setCH(g).parseCH().get();
168
+ var Ti = this.data, T = function(wt) {
169
+ return Ti[wt].getItem().setCH(w).parseCH().get();
170
170
  };
171
- this.set(z, m(z)).set(U, m(U)).set(C, m(C)).set(v, m(v)).set(S, m(S));
171
+ this.set(S, T(S)).set(U, T(U)).set(C, T(C)).set(z, T(z)).set(x, T(x));
172
172
  }
173
173
  return this;
174
- }, Y.call(this, [["itemType", r], ["ua", M], ["uaCH", y], ["rgxMap", d], ["data", gt(this, r)]]), this;
174
+ }, Y.call(this, [["itemType", a], ["ua", u], ["uaCH", y], ["rgxMap", l], ["data", gt(this, a)]]), this;
175
175
  }
176
- function k(r, M, d) {
177
- var y, c, g, b, p;
178
- return typeof r === q ? (M = Ti(r, !0) ? (typeof M === q && (d = M), r) : (d = r, N), r = N) : typeof r !== fi || Ti(M, !0) || (d = M, M = N), d && typeof d.append === bi && (y = {}, d.forEach(function(w, D) {
179
- y[D] = w;
180
- }), d = y), this instanceof k ? (c = typeof r === fi ? r : d && d[Ii] ? d[Ii] : x && x.userAgent ? x.userAgent : A, g = new tt(d, !0), b = M ? ((w, D) => {
181
- var O, R = {}, L = D;
182
- if (!Ti(D))
183
- for (var mi in L = {}, D)
184
- for (var m in D[mi])
185
- L[m] = D[mi][m].concat(L[m] || []);
186
- for (O in w)
187
- R[O] = L[O] && L[O].length % 2 == 0 ? L[O].concat(w[O]) : w[O];
176
+ function k(a, u, l) {
177
+ var y, M, w, p, b;
178
+ return typeof a === q ? (u = Di(a, !0) ? (typeof u === q && (l = u), a) : (l = a, g), a = g) : typeof a !== fi || Di(u, !0) || (l = u, u = g), l && typeof l.append === pi && (y = {}, l.forEach(function(I, O) {
179
+ y[O] = I;
180
+ }), l = y), this instanceof k ? (M = typeof a === fi ? a : l && l[Ni] ? l[Ni] : P && P.userAgent ? P.userAgent : A, w = new tt(l, !0), p = u ? ((I, O) => {
181
+ var m, R = {}, L = O;
182
+ if (!Di(O))
183
+ for (var Ti in L = {}, O)
184
+ for (var T in O[Ti])
185
+ L[T] = O[Ti][T].concat(L[T] || []);
186
+ for (m in I)
187
+ R[m] = L[m] && L[m].length % 2 == 0 ? L[m].concat(I[m]) : I[m];
188
188
  return R;
189
- })(it, M) : it, Y.call(this, [["getBrowser", (p = function(w) {
190
- return w == J ? function() {
191
- return new et(w, c, b, g).set("ua", c).set(z, this.getBrowser()).set(U, this.getCPU()).set(C, this.getDevice()).set(v, this.getEngine()).set(S, this.getOS()).get();
189
+ })(it, u) : it, Y.call(this, [["getBrowser", (b = function(I) {
190
+ return I == J ? function() {
191
+ return new et(I, M, p, w).set("ua", M).set(S, this.getBrowser()).set(U, this.getCPU()).set(C, this.getDevice()).set(z, this.getEngine()).set(x, this.getOS()).get();
192
192
  } : function() {
193
- return new et(w, c, b[w], g).parseUA().get();
193
+ return new et(I, M, p[I], w).parseUA().get();
194
194
  };
195
- })(z)], ["getCPU", p(U)], ["getDevice", p(C)], ["getEngine", p(v)], ["getOS", p(S)], ["getResult", p(J)], ["getUA", function() {
196
- return c;
197
- }], ["setUA", function(w) {
198
- return ti(w) && (c = w.length > B ? gi(w, B) : w), this;
199
- }]]).setUA(c), this) : new k(r, M, d).getResult();
195
+ })(S)], ["getCPU", b(U)], ["getDevice", b(C)], ["getEngine", b(z)], ["getOS", b(x)], ["getResult", b(J)], ["getUA", function() {
196
+ return M;
197
+ }], ["setUA", function(I) {
198
+ return ti(I) && (M = I.length > B ? gi(I, B) : I), this;
199
+ }]]).setUA(M), this) : new k(a, u, l).getResult();
200
200
  }
201
- k.VERSION = "2.0.3", k.BROWSER = T([s, n, ni, i]), k.CPU = T([E]), k.DEVICE = T([e, o, i, ri, h, f, I, _, ai]), k.ENGINE = k.OS = T([s, n]), (a = t.exports ? t.exports = k : a).UAParser = k;
202
- var wi, oi = Ji && (l.jQuery || l.Zepto);
201
+ k.VERSION = "2.0.3", k.BROWSER = D([s, n, ni, t]), k.CPU = D([E]), k.DEVICE = D([e, o, t, ri, h, f, N, _, ai]), k.ENGINE = k.OS = D([s, n]), (r = i.exports ? i.exports = k : r).UAParser = k;
202
+ var wi, oi = Ji && (d.jQuery || d.Zepto);
203
203
  oi && !oi.ua && (wi = new k(), oi.ua = wi.getResult(), oi.ua.get = function() {
204
204
  return wi.getUA();
205
- }, oi.ua.set = function(r) {
206
- wi.setUA(r);
207
- var M, d = wi.getResult();
208
- for (M in d)
209
- oi.ua[M] = d[M];
205
+ }, oi.ua.set = function(a) {
206
+ wi.setUA(a);
207
+ var u, l = wi.getResult();
208
+ for (u in l)
209
+ oi.ua[u] = l[u];
210
210
  });
211
- })(typeof window == "object" ? window : pt);
212
- }), Dt = function(a) {
213
- return Tt(a) && !Ot(a);
211
+ })(typeof window == "object" ? window : bt);
212
+ }), Ot = function(r) {
213
+ return Dt(r) && !mt(r);
214
214
  };
215
- function Tt(t) {
216
- return !!t && typeof t == "object";
215
+ function Dt(i) {
216
+ return !!i && typeof i == "object";
217
217
  }
218
- function Ot(t) {
219
- var a = Object.prototype.toString.call(t);
220
- return a === "[object RegExp]" || a === "[object Date]" || ft(t);
218
+ function mt(i) {
219
+ var r = Object.prototype.toString.call(i);
220
+ return r === "[object RegExp]" || r === "[object Date]" || ft(i);
221
221
  }
222
- var mt = typeof Symbol == "function" && Symbol.for, yt = mt ? Symbol.for("react.element") : 60103;
223
- function ft(t) {
224
- return t.$$typeof === yt;
222
+ var Tt = typeof Symbol == "function" && Symbol.for, yt = Tt ? Symbol.for("react.element") : 60103;
223
+ function ft(i) {
224
+ return i.$$typeof === yt;
225
225
  }
226
- function jt(t) {
227
- return Array.isArray(t) ? [] : {};
226
+ function jt(i) {
227
+ return Array.isArray(i) ? [] : {};
228
228
  }
229
- function Ni(t, a) {
230
- return a.clone !== !1 && a.isMergeableObject(t) ? si(jt(t), t, a) : t;
229
+ function Ii(i, r) {
230
+ return r.clone !== !1 && r.isMergeableObject(i) ? si(jt(i), i, r) : i;
231
231
  }
232
- function At(t, a, l) {
233
- return t.concat(a).map(function(N) {
234
- return Ni(N, l);
232
+ function At(i, r, d) {
233
+ return i.concat(r).map(function(g) {
234
+ return Ii(g, d);
235
235
  });
236
236
  }
237
- function zt(t, a) {
238
- if (!a.customMerge)
237
+ function St(i, r) {
238
+ if (!r.customMerge)
239
239
  return si;
240
- var l = a.customMerge(t);
241
- return typeof l == "function" ? l : si;
240
+ var d = r.customMerge(i);
241
+ return typeof d == "function" ? d : si;
242
242
  }
243
- function Et(t) {
244
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(a) {
245
- return Object.propertyIsEnumerable.call(t, a);
243
+ function Et(i) {
244
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(i).filter(function(r) {
245
+ return Object.propertyIsEnumerable.call(i, r);
246
246
  }) : [];
247
247
  }
248
- function st(t) {
249
- return Object.keys(t).concat(Et(t));
248
+ function st(i) {
249
+ return Object.keys(i).concat(Et(i));
250
250
  }
251
- function rt(t, a) {
251
+ function rt(i, r) {
252
252
  try {
253
- return a in t;
253
+ return r in i;
254
254
  } catch {
255
255
  return !1;
256
256
  }
257
257
  }
258
- function xt(t, a) {
259
- return rt(t, a) && !(Object.hasOwnProperty.call(t, a) && Object.propertyIsEnumerable.call(t, a));
258
+ function Pt(i, r) {
259
+ return rt(i, r) && !(Object.hasOwnProperty.call(i, r) && Object.propertyIsEnumerable.call(i, r));
260
260
  }
261
- function St(t, a, l) {
262
- var N = {};
263
- return l.isMergeableObject(t) && st(t).forEach(function(T) {
264
- N[T] = Ni(t[T], l);
265
- }), st(a).forEach(function(T) {
266
- xt(t, T) || (rt(t, T) && l.isMergeableObject(a[T]) ? N[T] = zt(T, l)(t[T], a[T], l) : N[T] = Ni(a[T], l));
267
- }), N;
261
+ function xt(i, r, d) {
262
+ var g = {};
263
+ return d.isMergeableObject(i) && st(i).forEach(function(D) {
264
+ g[D] = Ii(i[D], d);
265
+ }), st(r).forEach(function(D) {
266
+ Pt(i, D) || (rt(i, D) && d.isMergeableObject(r[D]) ? g[D] = St(D, d)(i[D], r[D], d) : g[D] = Ii(r[D], d));
267
+ }), g;
268
268
  }
269
- function si(t, a, l) {
270
- l = l || {}, l.arrayMerge = l.arrayMerge || At, l.isMergeableObject = l.isMergeableObject || Dt, l.cloneUnlessOtherwiseSpecified = Ni;
271
- var N = Array.isArray(a), T = Array.isArray(t), B = N === T;
272
- return B ? N ? l.arrayMerge(t, a, l) : St(t, a, l) : Ni(a, l);
269
+ function si(i, r, d) {
270
+ d = d || {}, d.arrayMerge = d.arrayMerge || At, d.isMergeableObject = d.isMergeableObject || Ot, d.cloneUnlessOtherwiseSpecified = Ii;
271
+ var g = Array.isArray(r), D = Array.isArray(i), B = g === D;
272
+ return B ? g ? d.arrayMerge(i, r, d) : xt(i, r, d) : Ii(r, d);
273
273
  }
274
- si.all = function(a, l) {
275
- if (!Array.isArray(a))
274
+ si.all = function(r, d) {
275
+ if (!Array.isArray(r))
276
276
  throw new Error("first argument should be an array");
277
- return a.reduce(function(N, T) {
278
- return si(N, T, l);
277
+ return r.reduce(function(g, D) {
278
+ return si(g, D, d);
279
279
  }, {});
280
280
  };
281
- var vt = si, nt = vt;
281
+ var zt = si, nt = zt;
282
282
  class j {
283
283
  /**
284
284
  * Check if it is possible to get the position of the device using the GeoLocation API.
@@ -305,17 +305,17 @@ class j {
305
305
  * @param {Function} positionRequesting - Callback function to call when the position is being requested.
306
306
  * @param {Function} positionReceived - Callback function to call when a position is received.
307
307
  */
308
- listenForPosition(a, l, N, T, B) {
308
+ listenForPosition(r, d, g, D, B) {
309
309
  if (!("permissions" in navigator) || !("query" in navigator.permissions)) {
310
- l();
310
+ d();
311
311
  return;
312
312
  }
313
- T();
314
- const Ii = Date.now();
313
+ D();
314
+ const Ni = Date.now();
315
315
  j.positionWatchId = navigator.geolocation.watchPosition((A) => {
316
- j.currentPosition && A.coords.accuracy === j.currentPosition.coords.accuracy && A.coords.latitude === j.currentPosition.coords.latitude && A.coords.longitude === j.currentPosition.coords.longitude || (j.currentPosition = A, j.currentPosition.coords.accuracy <= a ? B(A) : N(A.coords.accuracy));
316
+ j.currentPosition && A.coords.accuracy === j.currentPosition.coords.accuracy && A.coords.latitude === j.currentPosition.coords.latitude && A.coords.longitude === j.currentPosition.coords.longitude || (j.currentPosition = A, j.currentPosition.coords.accuracy <= r ? B(A) : g(A.coords.accuracy));
317
317
  }, (A) => {
318
- (A.code !== 3 || !j.currentPosition || j.currentPosition.timestamp <= Ii) && l(A);
318
+ (A.code !== 3 || !j.currentPosition || j.currentPosition.timestamp <= Ni) && d(A);
319
319
  });
320
320
  }
321
321
  /**
@@ -330,14 +330,14 @@ class j {
330
330
  }
331
331
  j.currentPosition = null;
332
332
  j.positionWatchId = null;
333
- const Pt = ".mi-my-position{display:flex;flex-direction:column;pointer-events:auto;gap:16px;right:0}.mi-my-position__position-button,.mi-my-position__compass-button{margin:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:48px;height:48px;background-repeat:no-repeat;background-position:center;outline:none;border-color:#e5e7eb;border-style:solid;background-color:#fcfcfc}.mi-my-position__position-button{background-size:23px;border-radius:8px}.mi-my-position__position-button--unknown{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjY1NTIzIDEuMjIzNTZDMy4yNjQ3IDAuODMzMDMzIDIuNjMxNTQgMC44MzMwMzMgMi4yNDEwMSAxLjIyMzU2QzEuODUwNDkgMS42MTQwOCAxLjg1MDQ5IDIuMjQ3MjUgMi4yNDEwMSAyLjYzNzc3TDIyLjI2NiAyMi42NjI4QzIyLjY1NjUgMjMuMDUzMyAyMy4yODk3IDIzLjA1MzMgMjMuNjgwMiAyMi42NjI4QzI0LjA3MDcgMjIuMjcyMiAyNC4wNzA3IDIxLjYzOTEgMjMuNjgwMiAyMS4yNDg1TDE3LjcxNTcgMTUuMjg0MUwyMC43NzQ4IDcuMzYzMjVDMjEuNTYyOSA1LjMyMzE1IDE5LjU1NjIgMy4zMTY2NiAxNy41MTYyIDQuMTA0NTVMOS41OTUzNSA3LjE2MzY4TDMuNjU1MjMgMS4yMjM1NlpNMTEuMTQyIDguNzEwMzJMMTYuMTY5MSAxMy43Mzc0TDE4LjkwOTIgNi42NDI2MUMxOS4wNzE4IDYuMjIxNzIgMTguNjU3OCA1LjgwNzY0IDE4LjIzNjggNS45NzAyNEwxMS4xNDIgOC43MTAzMloiIGZpbGw9IiM3MzczNzMiLz4KPHBhdGggZD0iTTEzLjI1MTggMjEuMjkxMkwxNC45OTIxIDE2Ljc4NDlMMTYuNTM4OCAxOC4zMzE1TDE1LjExNzQgMjIuMDExOEMxNC4wNjc3IDI0LjcyOTYgMTAuMTUwOCAyNC41MDY5IDkuNDE1OTMgMjEuNjg3Nkw4LjEyOTA1IDE2Ljc1MDVMMy4xOTE4IDE1LjQ2MzZDMC4zNzI1MSAxNC43Mjg3IDAuMTQ5ODEyIDEwLjgxMTcgMi44Njc2NCA5Ljc2Mkw2LjY0NTEyIDguMzAzMDlMOC4xOTE3NyA5Ljg0OTc0TDMuNTg4MTkgMTEuNjI3N0MyLjY4MjI0IDExLjk3NzYgMi43NTY0OCAxMy4yODMzIDMuNjk2MjUgMTMuNTI4Mkw4LjYzMzUgMTQuODE1MUM5LjMzNDQzIDE0Ljk5NzggOS44ODE3OCAxNS41NDUyIDEwLjA2NDQgMTYuMjQ2TDExLjM1MTMgMjEuMTgzMkMxMS41OTYyIDIyLjEyMjkgMTIuOTAxOSAyMi4xOTcyIDEzLjI1MTggMjEuMjkxMloiIGZpbGw9IiM3MzczNzMiLz4KPC9zdmc+Cg==)}.mi-my-position__position-button--requesting{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAxOSAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuODkzNDEgMTEuMjgzTDEuOTU2MTYgOS45OTYxMUMwLjA3NjYyOTIgOS41MDYyIC0wLjA3MTg0MTEgNi44OTQ4NSAxLjc0MDA1IDYuMTk1MDdMMTYuMzg4NiAwLjUzNzYxN0MxNy42MTkxIDAuMDYyMzc2NiAxOC44Mjk0IDEuMjcyNjYgMTguMzU0MSAyLjUwMzE2TDEyLjY5NjcgMTcuMTUxN0MxMS45OTY5IDE4Ljk2MzYgOS4zODU2NCAxOC44MTUxIDguODk1NzQgMTYuOTM1Nkw3LjYwODg0IDExLjk5ODRDNy41MTc1NCAxMS42NDggNy4yNDM4NiAxMS4zNzQzIDYuODkzNDEgMTEuMjgzWiIgZmlsbD0iIzczNzM3MyIvPgo8L3N2Zz4K)}.mi-my-position__position-button--known{background-image:url(data:image/svg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LjUzNDNMMi41NTM0MyAxMy43MTk5QzEuNzI3NjggMTMuOTkyMyAwLjk3MTY4MyAxMy4xNTM4IDEuMzI3ODggMTIuMzYwNkw1LjU0ODEzIDIuOTYyNDFaIiBmaWxsPSIjREMyNjI2Ii8+CjxwYXRoIGQ9Ik03LjM3MjUzIDI3Ljg5OTRDNy4wMTkwNiAyOC42ODY1IDUuOTAxNSAyOC42ODY1IDUuNTQ4MDQgMjcuODk5NEwxLjMyNzc5IDE4LjUwMTJDMC45NzE1OTcgMTcuNzA4IDEuNzI3NTkgMTYuODY5NSAyLjU1MzM0IDE3LjE0Mkw2LjE0Njk4IDE4LjMyNzVDNi4zNTA0NiAxOC4zOTQ3IDYuNTcwMTEgMTguMzk0NyA2Ljc3MzU5IDE4LjMyNzVMMTAuMzY3MiAxNy4xNDJDMTEuMTkzIDE2Ljg2OTUgMTEuOTQ5IDE3LjcwOCAxMS41OTI4IDE4LjUwMTJMNy4zNzI1MyAyNy44OTk0WiIgZmlsbD0iIzlDQTNBRiIvPgo8L3N2Zz4K);border-radius:50%}";
334
- var u;
335
- (function(t) {
336
- t.POSITION_UNKNOWN = "POSITION_UNKNOWN", t.POSITION_REQUESTING = "POSITION_REQUESTING", t.POSITION_INACCURATE = "POSITION_INACCURATE", t.POSITION_KNOWN = "POSITION_KNOWN", t.POSITION_CENTERED = "POSITION_CENTERED", t.POSITION_TRACKED = "POSITION_TRACKED", t.POSITION_UNTRACKED = "POSITION_UNTRACKED", t.POSITION_FOLLOW = "POSITION_FOLLOW";
337
- })(u || (u = {}));
333
+ const vt = ".mi-my-position{display:flex;flex-direction:column;pointer-events:auto;gap:16px;right:0}.mi-my-position__position-button,.mi-my-position__compass-button{margin:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:48px;height:48px;background-repeat:no-repeat;background-position:center;outline:none;border-color:#e5e7eb;border-style:solid;background-color:#fcfcfc}.mi-my-position__position-button{background-size:23px;border-radius:8px}.mi-my-position__position-button--unknown{background-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zNzI1MSAxNC43Mjg3IDAuMTQ5ODEyIDEwLjgxMTcgMi44Njc2NCA5Ljc2Mkw2LjY0NTEyIDguMzAzMDlMOC4xOTE3NyA5Ljg0OTc0TDMuNTg4MTkgMTEuNjI3N0MyLjY4MjI0IDExLjk3NzYgMi43NTY0OCAxMy4yODMzIDMuNjk2MjUgMTMuNTI4Mkw4LjYzMzUgMTQuODE1MUM5LjMzNDQzIDE0Ljk5NzggOS44ODE3OCAxNS41NDUyIDEwLjA2NDQgMTYuMjQ2TDExLjM1MTMgMjEuMTgzMkMxMS41OTYyIDIyLjEyMjkgMTIuOTAxOSAyMi4xOTcyIDEzLjI1MTggMjEuMjkxMloiIGZpbGw9IiM3MzczNzMiLz4KPC9zdmc+Cg==)}.mi-my-position__position-button--requesting{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAxOSAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuODkzNDEgMTEuMjgzTDEuOTU2MTYgOS45OTYxMUMwLjA3NjYyOTIgOS41MDYyIC0wLjA3MTg0MTEgNi44OTQ4NSAxLjc0MDA1IDYuMTk1MDdMMTYuMzg4NiAwLjUzNzYxN0MxNy42MTkxIDAuMDYyMzc2NiAxOC44Mjk0IDEuMjcyNjYgMTguMzU0MSAyLjUwMzE2TDEyLjY5NjcgMTcuMTUxN0MxMS45OTY5IDE4Ljk2MzYgOS4zODU2NCAxOC44MTUxIDguODk1NzQgMTYuOTM1Nkw3LjYwODg0IDExLjk5ODRDNy41MTc1NCAxMS42NDggNy4yNDM4NiAxMS4zNzQzIDYuODkzNDEgMTEuMjgzWiIgZmlsbD0iIzczNzM3MyIvPgo8L3N2Zz4K)}.mi-my-position__position-button--known{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIH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MyAwLjk3MTY4MyAxMy4xNTM4IDEuMzI3ODggMTIuMzYwNkw1LjU0ODEzIDIuOTYyNDFaIiBmaWxsPSIjREMyNjI2Ii8+CjxwYXRoIGQ9Ik03LjM3MjUzIDI3Ljg5OTRDNy4wMTkwNiAyOC42ODY1IDUuOTAxNSAyOC42ODY1IDUuNTQ4MDQgMjcuODk5NEwxLjMyNzc5IDE4LjUwMTJDMC45NzE1OTcgMTcuNzA4IDEuNzI3NTkgMTYuODY5NSAyLjU1MzM0IDE3LjE0Mkw2LjE0Njk4IDE4LjMyNzVDNi4zNTA0NiAxOC4zOTQ3IDYuNTcwMTEgMTguMzk0NyA2Ljc3MzU5IDE4LjMyNzVMMTAuMzY3MiAxNy4xNDJDMTEuMTkzIDE2Ljg2OTUgMTEuOTQ5IDE3LjcwOCAxMS41OTI4IDE4LjUwMTJMNy4zNzI1MyAyNy44OTk0WiIgZmlsbD0iIzlDQTNBRiIvPgo8L3N2Zz4K);border-radius:50%}";
334
+ var c;
335
+ (function(i) {
336
+ i.POSITION_UNKNOWN = "POSITION_UNKNOWN", i.POSITION_REQUESTING = "POSITION_REQUESTING", i.POSITION_INACCURATE = "POSITION_INACCURATE", i.POSITION_KNOWN = "POSITION_KNOWN", i.POSITION_CENTERED = "POSITION_CENTERED", i.POSITION_TRACKED = "POSITION_TRACKED", i.POSITION_UNTRACKED = "POSITION_UNTRACKED", i.POSITION_FOLLOW = "POSITION_FOLLOW";
337
+ })(c || (c = {}));
338
338
  const kt = class {
339
- constructor(t) {
340
- Nt(this, t), this.position_error = ot(this, "position_error", 7), this.position_received = ot(this, "position_received", 7), this.parser = new Zi.UAParser(), this.handleDeviceOrientationReference = this.handleDeviceOrientation.bind(this), this.cachedBuilding = null, this.onPositionReceivedHandler = null, this.onPositionErrorHandler = null, this.defaultOptions = {
339
+ constructor(i) {
340
+ It(this, i), this.position_error = ot(this, "position_error", 7), this.position_received = ot(this, "position_received", 7), this.parser = new Zi.UAParser(), this.handleDeviceOrientationReference = this.handleDeviceOrientation.bind(this), this.cachedBuilding = null, this.onPositionReceivedHandler = null, this.onPositionErrorHandler = null, this.floorChangedHandler = null, this.lastAppliedOpacity = 1, this.defaultFillOpacity = 1, this.reducedFillOpacity = 0.3, this.defaultOptions = {
341
341
  maxAccuracy: 200,
342
342
  positionOptions: {
343
343
  timeout: 3e4,
@@ -349,13 +349,13 @@ const kt = class {
349
349
  strokeWeight: "2px",
350
350
  strokeColor: "white",
351
351
  fillColor: "#4169E1",
352
- fillOpacity: 1
352
+ fillOpacity: this.defaultFillOpacity
353
353
  },
354
354
  accuracyCircleStyles: {
355
355
  fillColor: "#4169E1",
356
356
  fillOpacity: 0.16
357
357
  }
358
- }, this.mapsindoors = void 0, this.myPositionOptions = void 0, this.customPositionProvider = void 0, this.positionState = u.POSITION_UNKNOWN;
358
+ }, this.mapsindoors = void 0, this.myPositionOptions = void 0, this.customPositionProvider = void 0, this.positionState = c.POSITION_UNKNOWN;
359
359
  }
360
360
  /**
361
361
  * Cleans up modern position provider event listeners.
@@ -364,8 +364,8 @@ const kt = class {
364
364
  cleanupModernProviderListeners() {
365
365
  if (!this.isModernProvider(this.positionProvider))
366
366
  return;
367
- const t = this.positionProvider;
368
- this.onPositionReceivedHandler && (t.off("position_received", this.onPositionReceivedHandler), this.onPositionReceivedHandler = null), this.onPositionErrorHandler && (t.off("position_error", this.onPositionErrorHandler), this.onPositionErrorHandler = null);
367
+ const i = this.positionProvider;
368
+ this.onPositionReceivedHandler && (i.off("position_received", this.onPositionReceivedHandler), this.onPositionReceivedHandler = null), this.onPositionErrorHandler && (i.off("position_error", this.onPositionErrorHandler), this.onPositionErrorHandler = null);
369
369
  }
370
370
  /**
371
371
  * Sets up event listeners for modern position providers.
@@ -381,31 +381,31 @@ const kt = class {
381
381
  if (!this.isModernProvider(this.positionProvider))
382
382
  return;
383
383
  this.cleanupModernProviderListeners();
384
- const t = this.positionProvider;
385
- this.onPositionReceivedHandler = ({ position: a }) => {
386
- this.currentPosition = a, this.positionIsAccurate = a.coords.accuracy <= this.options.maxAccuracy, this.setPositionProviderOnMapView(), this.positionState === u.POSITION_FOLLOW ? this.handleFollowModePosition(a) : this.positionState === u.POSITION_TRACKED ? this.setPositionState(u.POSITION_UNTRACKED) : this.positionState !== u.POSITION_UNTRACKED && this.setPositionState(u.POSITION_KNOWN), window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.position_received.emit({
384
+ const i = this.positionProvider;
385
+ this.onPositionReceivedHandler = ({ position: r }) => {
386
+ this.currentPosition = r, this.positionIsAccurate = r.coords.accuracy <= this.options.maxAccuracy, this.setPositionProviderOnMapView(), this.positionState === c.POSITION_TRACKED ? this.setPositionState(c.POSITION_UNTRACKED) : this.positionState === c.POSITION_UNKNOWN || this.positionState === c.POSITION_REQUESTING ? this.setPositionState(c.POSITION_FOLLOW) : this.positionState !== c.POSITION_UNTRACKED && this.positionState !== c.POSITION_FOLLOW && this.setPositionState(c.POSITION_KNOWN), this.positionState === c.POSITION_FOLLOW ? (this.handleFollowModePosition(r), this.applyOpacityForPosition(r)) : this.applyOpacityForPosition(r), window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.position_received.emit({
387
387
  position: this.currentPosition,
388
388
  selfInvoked: !1,
389
389
  accurate: this.positionIsAccurate
390
390
  });
391
- }, this.onPositionErrorHandler = (a) => {
392
- this.setPositionState(u.POSITION_UNKNOWN), this.position_error.emit(a);
393
- }, t.on("position_received", this.onPositionReceivedHandler), t.on("position_error", this.onPositionErrorHandler);
391
+ }, this.onPositionErrorHandler = (r) => {
392
+ this.setPositionState(c.POSITION_UNKNOWN), this.position_error.emit(r);
393
+ }, i.on("position_received", this.onPositionReceivedHandler), i.on("position_error", this.onPositionErrorHandler);
394
394
  }
395
395
  /**
396
396
  * Sets a custom position. Works with any provider that implements setPosition.
397
397
  * Uses this.positionProvider (the resolved provider) instead of this.customPositionProvider
398
398
  * to ensure we're working with the validated, active provider.
399
399
  */
400
- async setPosition(t) {
401
- var a;
402
- !((a = this.positionProvider) === null || a === void 0) && a.setPosition && this.positionProvider.setPosition(t);
400
+ async setPosition(i) {
401
+ var r;
402
+ !((r = this.positionProvider) === null || r === void 0) && r.setPosition && this.positionProvider.setPosition(i);
403
403
  }
404
404
  /**
405
405
  * Removes the event listener for the device's orientation and resets the position button.
406
406
  */
407
407
  resetPositionState() {
408
- window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.positionState === u.POSITION_TRACKED ? this.setPositionState(u.POSITION_UNTRACKED) : this.positionState === u.POSITION_CENTERED && (this.setPositionState(u.POSITION_KNOWN), this.mapView.tilt(0));
408
+ window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.positionState === c.POSITION_TRACKED ? this.setPositionState(c.POSITION_UNTRACKED) : this.positionState === c.POSITION_CENTERED && (this.setPositionState(c.POSITION_KNOWN), this.mapView.tilt(0));
409
409
  }
410
410
  /**
411
411
  * Returns if position is known and accurate.
@@ -413,7 +413,7 @@ const kt = class {
413
413
  * @returns {boolean}
414
414
  */
415
415
  hasValidPosition() {
416
- return [u.POSITION_KNOWN, u.POSITION_CENTERED, u.POSITION_INACCURATE, u.POSITION_TRACKED, u.POSITION_UNTRACKED, u.POSITION_FOLLOW].includes(this.positionState);
416
+ return [c.POSITION_KNOWN, c.POSITION_CENTERED, c.POSITION_INACCURATE, c.POSITION_TRACKED, c.POSITION_UNTRACKED, c.POSITION_FOLLOW].includes(this.positionState);
417
417
  }
418
418
  /**
419
419
  * Sets the PositionControl as PositionProvider on the MapView.
@@ -423,25 +423,68 @@ const kt = class {
423
423
  this.mapView.setPositionProvider(this);
424
424
  });
425
425
  }
426
+ /**
427
+ * Forces the position provider to refresh by removing and re-adding it.
428
+ * This makes the SDK re-read the updated options and redraw the marker.
429
+ */
430
+ refreshPositionProvider() {
431
+ this.mapView.isReady && (this.mapView.setPositionProvider(null), requestAnimationFrame(() => {
432
+ this.mapView.setPositionProvider(this);
433
+ }));
434
+ }
435
+ /**
436
+ * Sets fillOpacity based on floor match and reapplies the provider so SDK re-reads styles.
437
+ * Only refreshes the marker when opacity actually changes to improve performance.
438
+ */
439
+ applyOpacityForPosition(i) {
440
+ var r;
441
+ if (!(!((r = this.options) === null || r === void 0) && r.positionMarkerStyles))
442
+ return;
443
+ const g = this.isFloorMatching(i) ? this.defaultFillOpacity : this.reducedFillOpacity;
444
+ g !== this.lastAppliedOpacity && (this.options.positionMarkerStyles.fillOpacity = g, this.lastAppliedOpacity = g, this.refreshPositionProvider());
445
+ }
446
+ /**
447
+ * Compares incoming position floor with current map floor and returns the result.
448
+ * Only used for modern providers during position updates.
449
+ *
450
+ * Returns true (full opacity) when:
451
+ * - The incoming floor matches the current map floor
452
+ * - The incoming floor is invalid (doesn't exist in the building) - treated as "no floor data"
453
+ *
454
+ * Returns false (reduced opacity) when:
455
+ * - The incoming floor is valid but different from the current map floor.
456
+ *
457
+ * @param {MapsIndoorsPosition} position - The position to compare.
458
+ * @returns {boolean} - True if the floor matches or is invalid, false otherwise.
459
+ */
460
+ isFloorMatching(i) {
461
+ if (!this.mapsindoors)
462
+ return !1;
463
+ const r = i.floorIndex, d = this.mapsindoors.getFloor();
464
+ if (r == null || d === void 0 || d === null)
465
+ return !1;
466
+ const g = r.toString();
467
+ return this.isValidFloorForCurrentBuilding(g) ? g === d : !0;
468
+ }
426
469
  /**
427
470
  * Pan map to center on the current position.
428
471
  */
429
472
  panToCurrentPosition() {
430
473
  this.hasValidPosition() && (this.mapView.once("idle", () => {
431
474
  this.mapView.on("user_interaction", () => this.resetPositionState());
432
- }), this.mapView.panTo({ lat: this.currentPosition.coords.latitude, lng: this.currentPosition.coords.longitude }), this.positionState !== u.POSITION_TRACKED && this.positionState !== u.POSITION_FOLLOW && this.setPositionState(u.POSITION_CENTERED), this.canBeTracked && (DeviceOrientationEvent.requestPermission ? DeviceOrientationEvent.requestPermission().then((t) => {
433
- t === "granted" && this.positionState === u.POSITION_TRACKED ? window.addEventListener("deviceorientation", this.handleDeviceOrientationReference) : window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference);
434
- }) : this.positionState === u.POSITION_TRACKED ? window.addEventListener("deviceorientation", this.handleDeviceOrientationReference) : window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference)));
475
+ }), this.mapView.panTo({ lat: this.currentPosition.coords.latitude, lng: this.currentPosition.coords.longitude }), this.positionState !== c.POSITION_TRACKED && this.positionState !== c.POSITION_FOLLOW && this.setPositionState(c.POSITION_CENTERED), this.canBeTracked && (DeviceOrientationEvent.requestPermission ? DeviceOrientationEvent.requestPermission().then((i) => {
476
+ i === "granted" && this.positionState === c.POSITION_TRACKED ? window.addEventListener("deviceorientation", this.handleDeviceOrientationReference) : window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference);
477
+ }) : this.positionState === c.POSITION_TRACKED ? window.addEventListener("deviceorientation", this.handleDeviceOrientationReference) : window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference)));
435
478
  }
436
479
  /**
437
480
  * Handles position updates in FOLLOW mode.
438
481
  * Automatically pans the map and changes floors without user interaction listeners.
439
482
  * Device orientation is handled by the existing handleDeviceOrientation method.
440
483
  */
441
- handleFollowModePosition(t) {
442
- if (this.hasValidPosition() && (this.mapView.panTo({ lat: t.coords.latitude, lng: t.coords.longitude }), t.floorIndex !== void 0 && t.floorIndex !== null && this.mapsindoors)) {
443
- const a = this.mapsindoors.getFloor(), l = t.floorIndex.toString();
444
- l !== a && this.isValidFloorForCurrentBuilding(l) && this.mapsindoors.setFloor(l);
484
+ handleFollowModePosition(i) {
485
+ if (this.hasValidPosition() && (this.mapView.panTo({ lat: i.coords.latitude, lng: i.coords.longitude }), i.floorIndex !== void 0 && i.floorIndex !== null && this.mapsindoors)) {
486
+ const r = this.mapsindoors.getFloor(), d = i.floorIndex.toString();
487
+ d !== r && this.isValidFloorForCurrentBuilding(d) && this.mapsindoors.setFloor(d);
445
488
  }
446
489
  }
447
490
  /**
@@ -452,12 +495,12 @@ const kt = class {
452
495
  * @param {string} floorIndex - The floor index to validate.
453
496
  * @returns {boolean} - True if the floor exists in the current building.
454
497
  */
455
- isValidFloorForCurrentBuilding(t) {
498
+ isValidFloorForCurrentBuilding(i) {
456
499
  if (!this.mapsindoors)
457
500
  return !1;
458
501
  try {
459
- const a = this.mapsindoors.getBuilding();
460
- return !a || !a.floors ? (this.clearBuildingFloorsCache(), !1) : ((!this.cachedBuilding || this.cachedBuilding.id !== a.id) && (this.cachedBuilding = a), t in this.cachedBuilding.floors);
502
+ const r = this.mapsindoors.getBuilding();
503
+ return !r || !r.floors ? (this.clearBuildingFloorsCache(), !1) : ((!this.cachedBuilding || this.cachedBuilding.id !== r.id) && (this.cachedBuilding = r), i in this.cachedBuilding.floors);
461
504
  } catch {
462
505
  return this.clearBuildingFloorsCache(), !0;
463
506
  }
@@ -474,12 +517,12 @@ const kt = class {
474
517
  *
475
518
  * @param {DeviceOrientationEvent} e
476
519
  */
477
- handleDeviceOrientation(t) {
478
- (!this.orientation || this.orientation - (360 - t.alpha) > 1 || this.orientation - (360 - t.alpha) < -1) && (this.orientation = 360 - t.alpha, this.mapView.easeTo({
520
+ handleDeviceOrientation(i) {
521
+ (!this.orientation || this.orientation - (360 - i.alpha) > 1 || this.orientation - (360 - i.alpha) < -1) && (this.orientation = 360 - i.alpha, this.mapView.easeTo({
479
522
  center: [this.currentPosition.coords.longitude, this.currentPosition.coords.latitude],
480
523
  rotation: this.orientation,
481
524
  tilt: 60,
482
- easing: (a) => a * (2 - a)
525
+ easing: (r) => r * (2 - r)
483
526
  }));
484
527
  }
485
528
  /**
@@ -487,46 +530,46 @@ const kt = class {
487
530
  *
488
531
  * @param {number} bearing
489
532
  */
490
- setCompassStyle(t) {
491
- this.compassButton && (this.compassButton.style.transform = `rotate(${t}deg)`);
533
+ setCompassStyle(i) {
534
+ this.compassButton && (this.compassButton.style.transform = `rotate(${i}deg)`);
492
535
  }
493
536
  /**
494
537
  * Method for requesting the current position, emitting events and showing position on map based on result.
495
538
  *
496
539
  * @param {boolean} [selfInvoked=false] - Used to track if call was invoked by clicking on position control or not.
497
540
  */
498
- watchPosition(t = !1) {
541
+ watchPosition(i = !1) {
499
542
  if (this.setPositionProviderOnMapView(), this.isLegacyProvider(this.positionProvider))
500
543
  this.positionProvider.listenForPosition(
501
544
  this.options.maxAccuracy,
502
545
  // Position error callback
503
- (a) => {
504
- this.setPositionState(u.POSITION_UNKNOWN), this.position_error.emit(a);
546
+ (r) => {
547
+ this.setPositionState(c.POSITION_UNKNOWN), this.position_error.emit(r);
505
548
  },
506
549
  // Position inaccurate callback
507
- (a) => {
508
- this.setPositionState(u.POSITION_INACCURATE), this.position_error.emit({ code: 11, message: "Inaccurate position: " + a });
550
+ (r) => {
551
+ this.setPositionState(c.POSITION_INACCURATE), this.position_error.emit({ code: 11, message: "Inaccurate position: " + r });
509
552
  },
510
553
  // Position requesting callback
511
554
  () => {
512
- this.positionState !== u.POSITION_FOLLOW && this.setPositionState(u.POSITION_REQUESTING);
555
+ this.positionState !== c.POSITION_FOLLOW && this.setPositionState(c.POSITION_REQUESTING);
513
556
  },
514
557
  // Position received callback
515
- (a) => {
516
- this.currentPosition = a, this.positionIsAccurate = this.currentPosition.coords.accuracy <= this.options.maxAccuracy, this.positionState === u.POSITION_TRACKED ? this.setPositionState(u.POSITION_UNTRACKED) : this.positionState !== u.POSITION_UNTRACKED && this.positionState !== u.POSITION_FOLLOW && this.setPositionState(u.POSITION_KNOWN), window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.position_received.emit({
558
+ (r) => {
559
+ this.currentPosition = r, this.positionIsAccurate = this.currentPosition.coords.accuracy <= this.options.maxAccuracy, this.positionState === c.POSITION_TRACKED ? this.setPositionState(c.POSITION_UNTRACKED) : this.positionState !== c.POSITION_UNTRACKED && this.positionState !== c.POSITION_FOLLOW && this.setPositionState(c.POSITION_KNOWN), window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.position_received.emit({
517
560
  position: this.currentPosition,
518
- selfInvoked: t,
561
+ selfInvoked: i,
519
562
  accurate: this.positionIsAccurate
520
563
  });
521
564
  }
522
565
  );
523
566
  else {
524
- const a = this.positionProvider;
525
- a.hasValidPosition && a.hasValidPosition() ? (this.currentPosition = a.currentPosition, this.positionIsAccurate = this.currentPosition.coords.accuracy <= this.options.maxAccuracy, this.positionState === u.POSITION_TRACKED ? this.setPositionState(u.POSITION_UNTRACKED) : this.positionState !== u.POSITION_UNTRACKED && this.positionState !== u.POSITION_FOLLOW && this.setPositionState(u.POSITION_KNOWN), window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.position_received.emit({
567
+ const r = this.positionProvider;
568
+ r.hasValidPosition && r.hasValidPosition() ? (this.currentPosition = r.currentPosition, this.positionIsAccurate = this.currentPosition.coords.accuracy <= this.options.maxAccuracy, this.positionState === c.POSITION_TRACKED ? this.setPositionState(c.POSITION_UNTRACKED) : this.positionState !== c.POSITION_UNTRACKED && this.positionState !== c.POSITION_FOLLOW && this.setPositionState(c.POSITION_KNOWN), window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.position_received.emit({
526
569
  position: this.currentPosition,
527
- selfInvoked: t,
570
+ selfInvoked: i,
528
571
  accurate: this.positionIsAccurate
529
- })) : this.positionState !== u.POSITION_FOLLOW && (a.currentPosition === null ? this.setPositionState(u.POSITION_UNKNOWN) : this.setPositionState(u.POSITION_REQUESTING));
572
+ })) : this.positionState !== c.POSITION_FOLLOW && (r.currentPosition === null ? this.setPositionState(c.POSITION_UNKNOWN) : this.setPositionState(c.POSITION_REQUESTING));
530
573
  }
531
574
  }
532
575
  /**
@@ -534,14 +577,14 @@ const kt = class {
534
577
  *
535
578
  * @param {PositionStateTypes} state
536
579
  */
537
- setPositionState(t) {
538
- this.positionState = t;
580
+ setPositionState(i) {
581
+ this.positionState = i;
539
582
  }
540
583
  /**
541
584
  * Handle click on the compass button.
542
585
  */
543
586
  onCompassButtonClicked() {
544
- this.setCompassStyle(0), this.mapView.rotate(0), this.mapView.tilt(0), window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.positionState === u.POSITION_TRACKED ? this.setPositionState(u.POSITION_CENTERED) : this.positionState === u.POSITION_UNTRACKED && this.setPositionState(u.POSITION_KNOWN);
587
+ this.setCompassStyle(0), this.mapView.rotate(0), this.mapView.tilt(0), window.removeEventListener("deviceorientation", this.handleDeviceOrientationReference), this.positionState === c.POSITION_TRACKED ? this.setPositionState(c.POSITION_CENTERED) : this.positionState === c.POSITION_UNTRACKED && this.setPositionState(c.POSITION_KNOWN);
545
588
  }
546
589
  /**
547
590
  * Handle click on position button.
@@ -549,25 +592,25 @@ const kt = class {
549
592
  *
550
593
  * @param {Event} event
551
594
  */
552
- onPositionButtonClicked(t) {
553
- switch (t.stopPropagation(), this.positionState) {
554
- case u.POSITION_UNKNOWN:
595
+ onPositionButtonClicked(i) {
596
+ switch (i.stopPropagation(), this.positionState) {
597
+ case c.POSITION_UNKNOWN:
555
598
  this.mapView.tilt(0), this.watchPosition(!0);
556
599
  break;
557
- case u.POSITION_KNOWN:
600
+ case c.POSITION_KNOWN:
558
601
  this.mapView.tilt(0), this.panToCurrentPosition();
559
602
  break;
560
- case u.POSITION_CENTERED:
561
- this.customPositionProvider && this.isValidPositionProvider(this.customPositionProvider) ? this.setPositionState(u.POSITION_FOLLOW) : this.canBeTracked && this.setPositionState(u.POSITION_TRACKED), this.panToCurrentPosition();
603
+ case c.POSITION_CENTERED:
604
+ this.customPositionProvider && this.isValidPositionProvider(this.customPositionProvider) ? this.setPositionState(c.POSITION_FOLLOW) : this.canBeTracked && this.setPositionState(c.POSITION_TRACKED), this.panToCurrentPosition();
562
605
  break;
563
- case u.POSITION_FOLLOW:
564
- this.setPositionState(u.POSITION_KNOWN);
606
+ case c.POSITION_FOLLOW:
607
+ this.setPositionState(c.POSITION_KNOWN);
565
608
  break;
566
- case u.POSITION_TRACKED:
567
- this.mapView.tilt(0), this.mapView.rotate(0), this.setCompassStyle(0), this.setPositionState(u.POSITION_CENTERED), this.panToCurrentPosition();
609
+ case c.POSITION_TRACKED:
610
+ this.mapView.tilt(0), this.mapView.rotate(0), this.setCompassStyle(0), this.setPositionState(c.POSITION_CENTERED), this.panToCurrentPosition();
568
611
  break;
569
- case u.POSITION_UNTRACKED:
570
- this.setPositionState(u.POSITION_TRACKED), this.panToCurrentPosition();
612
+ case c.POSITION_UNTRACKED:
613
+ this.setPositionState(c.POSITION_TRACKED), this.panToCurrentPosition();
571
614
  break;
572
615
  }
573
616
  }
@@ -580,21 +623,23 @@ const kt = class {
580
623
  * 5. Styling the compass button.
581
624
  */
582
625
  connectedCallback() {
583
- var t;
584
- if (this.mapView = this.mapsindoors.getMapView(), this.options = nt(this.defaultOptions, (t = this.myPositionOptions) !== null && t !== void 0 ? t : {}), this.positionProvider && this.cleanupModernProviderListeners(), this.customPositionProvider && this.isValidPositionProvider(this.customPositionProvider) ? (this.positionProvider = this.customPositionProvider, this.isModernProvider(this.positionProvider) && this.positionProvider.options && (this.options = nt(this.options, this.positionProvider.options)), this.setupModernProviderListeners()) : this.positionProvider = new j(), (this.isLegacyProvider(this.positionProvider) ? this.positionProvider.isAvailable() : !0) === !1) {
585
- this.setPositionState(u.POSITION_UNKNOWN), this.position_error.emit({ code: 10, message: "Location not available" });
626
+ var i;
627
+ if (this.mapView = this.mapsindoors.getMapView(), this.options = nt(this.defaultOptions, (i = this.myPositionOptions) !== null && i !== void 0 ? i : {}), this.positionProvider && this.cleanupModernProviderListeners(), this.customPositionProvider && this.isValidPositionProvider(this.customPositionProvider) ? (this.positionProvider = this.customPositionProvider, this.isModernProvider(this.positionProvider) && this.positionProvider.options && (this.options = nt(this.options, this.positionProvider.options)), this.setupModernProviderListeners()) : this.positionProvider = new j(), (this.isLegacyProvider(this.positionProvider) ? this.positionProvider.isAvailable() : !0) === !1) {
628
+ this.setPositionState(c.POSITION_UNKNOWN), this.position_error.emit({ code: 10, message: "Location not available" });
586
629
  return;
587
630
  }
588
- const l = this.parser.getDevice().type;
589
- this.canBeTracked = !!(typeof window.DeviceOrientationEvent == "function" && (l === Zi.UAParser.DEVICE.MOBILE || l === Zi.UAParser.DEVICE.TABLET) && this.mapView.rotatable && this.mapView.tiltable), this.isLegacyProvider(this.positionProvider) ? this.positionProvider.isAlreadyGranted().then((N) => {
590
- N ? this.watchPosition() : this.setPositionState(u.POSITION_UNKNOWN);
591
- }) : this.positionProvider.hasValidPosition && this.positionProvider.hasValidPosition() ? (this.currentPosition = this.positionProvider.currentPosition, this.setPositionState(u.POSITION_KNOWN), this.position_received.emit({
631
+ const d = this.parser.getDevice().type;
632
+ this.canBeTracked = !!(typeof window.DeviceOrientationEvent == "function" && (d === Zi.UAParser.DEVICE.MOBILE || d === Zi.UAParser.DEVICE.TABLET) && this.mapView.rotatable && this.mapView.tiltable), this.isLegacyProvider(this.positionProvider) ? this.positionProvider.isAlreadyGranted().then((g) => {
633
+ g ? this.watchPosition() : this.setPositionState(c.POSITION_UNKNOWN);
634
+ }) : this.positionProvider.hasValidPosition && this.positionProvider.hasValidPosition() ? (this.currentPosition = this.positionProvider.currentPosition, this.setPositionState(c.POSITION_KNOWN), this.position_received.emit({
592
635
  position: this.currentPosition,
593
636
  selfInvoked: !1,
594
637
  accurate: !0
595
- })) : this.setPositionState(u.POSITION_UNKNOWN), this.mapView.on("rotateend", () => {
638
+ })) : this.setPositionState(c.POSITION_UNKNOWN), this.mapView.on("rotateend", () => {
596
639
  this.setCompassStyle(this.mapView.getBearing());
597
- });
640
+ }), this.mapsindoors && this.isModernProvider(this.positionProvider) && (this.floorChangedHandler = () => {
641
+ this.currentPosition && this.positionState !== c.POSITION_FOLLOW && this.applyOpacityForPosition(this.currentPosition);
642
+ }, this.mapsindoors.on("floor_changed", this.floorChangedHandler));
598
643
  }
599
644
  /**
600
645
  * Checks if the provider is a valid position provider (either legacy or modern).
@@ -602,8 +647,8 @@ const kt = class {
602
647
  * @param {any} provider - The provider to check.
603
648
  * @returns {boolean} True if the provider is valid.
604
649
  */
605
- isValidPositionProvider(t) {
606
- return t ? typeof t.isAvailable == "function" && typeof t.listenForPosition == "function" ? t.isAvailable() : typeof t.hasValidPosition == "function" && typeof t.on == "function" && typeof t.off == "function" : !1;
650
+ isValidPositionProvider(i) {
651
+ return i ? typeof i.isAvailable == "function" && typeof i.listenForPosition == "function" ? i.isAvailable() : typeof i.hasValidPosition == "function" && typeof i.on == "function" && typeof i.off == "function" : !1;
607
652
  }
608
653
  /**
609
654
  * Checks if the provider uses the legacy callback-based interface.
@@ -611,8 +656,8 @@ const kt = class {
611
656
  * @param {IPositionProvider} provider - The provider to check.
612
657
  * @returns {boolean} True if the provider uses the legacy interface.
613
658
  */
614
- isLegacyProvider(t) {
615
- return t && typeof t.isAvailable == "function" && typeof t.listenForPosition == "function";
659
+ isLegacyProvider(i) {
660
+ return i && typeof i.isAvailable == "function" && typeof i.listenForPosition == "function";
616
661
  }
617
662
  /**
618
663
  * Checks if the provider uses the modern event-based interface.
@@ -620,8 +665,8 @@ const kt = class {
620
665
  * @param {IPositionProvider} provider - The provider to check.
621
666
  * @returns {boolean} True if the provider uses the modern interface.
622
667
  */
623
- isModernProvider(t) {
624
- return t && typeof t.hasValidPosition == "function" && typeof t.on == "function" && typeof t.off == "function";
668
+ isModernProvider(i) {
669
+ return i && typeof i.hasValidPosition == "function" && typeof i.on == "function" && typeof i.off == "function";
625
670
  }
626
671
  /**
627
672
  * Component render callback.
@@ -633,7 +678,7 @@ const kt = class {
633
678
  * Stops listening for position updates.
634
679
  */
635
680
  disconnectedCallback() {
636
- this.positionProvider && (this.isLegacyProvider(this.positionProvider) ? this.positionProvider.stopListeningForPosition && this.positionProvider.stopListeningForPosition() : this.cleanupModernProviderListeners());
681
+ this.positionProvider && (this.isLegacyProvider(this.positionProvider) ? this.positionProvider.stopListeningForPosition && this.positionProvider.stopListeningForPosition() : this.cleanupModernProviderListeners(), this.mapsindoors && this.floorChangedHandler && (this.mapsindoors.off("floor_changed", this.floorChangedHandler), this.floorChangedHandler = null));
637
682
  }
638
683
  /**
639
684
  * Renders the floor selector.
@@ -641,18 +686,18 @@ const kt = class {
641
686
  * @returns {JSX.Element}
642
687
  */
643
688
  render() {
644
- return yi(It, null, yi("div", { class: "mi-my-position" }, yi("button", { class: `mi-my-position__position-button
645
- ${this.positionState === u.POSITION_UNKNOWN || this.positionState === u.POSITION_INACCURATE ? "mi-my-position__position-button--unknown" : ""}
646
- ${this.positionState === u.POSITION_REQUESTING ? "mi-my-position__position-button--requesting" : ""}
647
- ${this.positionState === u.POSITION_KNOWN ? "mi-my-position__position-button--known" : ""}
648
- ${this.positionState === u.POSITION_CENTERED ? "mi-my-position__position-button--centered" : ""}
649
- ${this.positionState === u.POSITION_TRACKED ? "mi-my-position__position-button--tracked" : ""}
650
- ${this.positionState === u.POSITION_UNTRACKED ? "mi-my-position__position-button--untracked" : ""}
651
- ${this.positionState === u.POSITION_FOLLOW ? "mi-my-position__position-button--follow" : ""}`, onClick: (t) => this.onPositionButtonClicked(t) }), yi("button", { ref: (t) => this.compassButton = t, class: "mi-my-position__compass-button", onClick: () => this.onCompassButtonClicked() })));
689
+ return yi(Nt, null, yi("div", { class: "mi-my-position" }, yi("button", { class: `mi-my-position__position-button
690
+ ${this.positionState === c.POSITION_UNKNOWN || this.positionState === c.POSITION_INACCURATE ? "mi-my-position__position-button--unknown" : ""}
691
+ ${this.positionState === c.POSITION_REQUESTING ? "mi-my-position__position-button--requesting" : ""}
692
+ ${this.positionState === c.POSITION_KNOWN ? "mi-my-position__position-button--known" : ""}
693
+ ${this.positionState === c.POSITION_CENTERED ? "mi-my-position__position-button--centered" : ""}
694
+ ${this.positionState === c.POSITION_TRACKED ? "mi-my-position__position-button--tracked" : ""}
695
+ ${this.positionState === c.POSITION_UNTRACKED ? "mi-my-position__position-button--untracked" : ""}
696
+ ${this.positionState === c.POSITION_FOLLOW ? "mi-my-position__position-button--follow" : ""}`, onClick: (i) => this.onPositionButtonClicked(i) }), yi("button", { ref: (i) => this.compassButton = i, class: "mi-my-position__compass-button", onClick: () => this.onCompassButtonClicked() })));
652
697
  }
653
698
  };
654
- kt.style = Pt;
699
+ kt.style = vt;
655
700
  export {
656
701
  kt as mi_my_position
657
702
  };
658
- //# sourceMappingURL=mi-my-position.entry-e86db953.mjs.map
703
+ //# sourceMappingURL=mi-my-position.entry-28f636cb.mjs.map