import { ref as K, onMounted as te, onUnmounted as Ri, computed as R, onBeforeUnmount as xi } from "vue";
const Ci = {
  SM_SIZE: 768,
  MD_SIZE: 1440,
  LG_SIZE: 1920
}, { SM_SIZE: se, MD_SIZE: oe, LG_SIZE: ne } = Ci;
function Vi() {
  const h = K(0), g = K(0), b = K(""), m = () => {
    var i, e;
    b.value = (e = (i = screen.orientation) == null ? void 0 : i.type) != null && e.includes("landscape") ? "landscape" : "portrait";
  }, c = () => {
    h.value = window.innerWidth, m();
  };
  te(() => {
    h.value = window.innerWidth, g.value = window.innerHeight, m(), window.addEventListener("resize", c);
  }), Ri(() => window.removeEventListener("resize", c));
  const t = R(() => h.value >= ne ? "lg" : h.value >= oe && h.value < ne ? "md" : h.value >= se && h.value < oe ? "sm" : h.value < se ? "mobile" : null), n = R(() => t.value === "lg"), O = R(() => t.value === "md"), A = R(() => t.value === "sm"), S = R(() => t.value === "mobile"), V = R(() => n.value), x = R(() => h.value), C = R(() => g.value), L = R(() => b.value), B = R(() => b.value === "landscape"), s = R(() => b.value === "portrait");
  return {
    width: x,
    height: C,
    orientation: L,
    type: t,
    isLargeDevice: V,
    isLarge: n,
    isMedium: O,
    isSmall: A,
    isMobile: S,
    isLandscape: B,
    isPortrait: s,
    getSizeOfWindow: (i = 1980, e = 2048) => ({
      windowWidth: h.value || i,
      windowHeight: g.value || e
    })
  };
}
var le = { exports: {} };
(function(h) {
  h.exports = /******/
  function(g) {
    var b = {};
    function m(c) {
      if (b[c])
        return b[c].exports;
      var t = b[c] = {
        /******/
        i: c,
        /******/
        l: !1,
        /******/
        exports: {}
        /******/
      };
      return g[c].call(t.exports, t, t.exports, m), t.l = !0, t.exports;
    }
    return m.m = g, m.c = b, m.d = function(c, t, n) {
      m.o(c, t) || Object.defineProperty(c, t, {
        /******/
        configurable: !1,
        /******/
        enumerable: !0,
        /******/
        get: n
        /******/
      });
    }, m.n = function(c) {
      var t = c && c.__esModule ? (
        /******/
        function() {
          return c.default;
        }
      ) : (
        /******/
        function() {
          return c;
        }
      );
      return m.d(t, "a", t), t;
    }, m.o = function(c, t) {
      return Object.prototype.hasOwnProperty.call(c, t);
    }, m.p = "", m(m.s = 1);
  }([
    /* 0 */
    /***/
    function(g, b, m) {
      var c = {
        MOBILE: "mobile",
        TABLET: "tablet",
        SMART_TV: "smarttv",
        CONSOLE: "console",
        WEARABLE: "wearable",
        BROWSER: void 0
      }, t = {
        CHROME: "Chrome",
        FIREFOX: "Firefox",
        OPERA: "Opera",
        YANDEX: "Yandex",
        SAFARI: "Safari",
        INTERNET_EXPLORER: "Internet Explorer",
        EDGE: "Edge",
        CHROMIUM: "Chromium",
        IE: "IE",
        MOBILE_SAFARI: "Mobile Safari",
        EDGE_CHROMIUM: "Edge Chromium"
      }, n = {
        IOS: "iOS",
        ANDROID: "Android",
        WINDOWS_PHONE: "Windows Phone",
        WINDOWS: "Windows",
        MAC_OS: "Mac OS"
      }, O = {
        isMobile: !1,
        isTablet: !1,
        isBrowser: !1,
        isSmartTV: !1,
        isConsole: !1,
        isWearable: !1
      };
      g.exports = { BROWSER_TYPES: t, DEVICE_TYPES: c, OS_TYPES: n, defaultData: O };
    },
    /* 1 */
    /***/
    function(g, b, m) {
      var c = m(2), t = m(0), n = t.BROWSER_TYPES, O = t.OS_TYPES, A = t.DEVICE_TYPES, S = m(4), V = S.checkType, x = S.broPayload, C = S.mobilePayload, L = S.wearPayload, B = S.consolePayload, s = S.stvPayload, o = S.getNavigatorInstance, i = S.isIOS13Check, e = new c(), r = e.getBrowser(), u = e.getDevice(), M = e.getEngine(), l = e.getOS(), a = e.getUA(), k = n.CHROME, j = n.CHROMIUM, Q = n.IE, N = n.INTERNET_EXPLORER, I = n.OPERA, D = n.FIREFOX, H = n.SAFARI, y = n.EDGE, F = n.YANDEX, U = n.MOBILE_SAFARI, v = A.MOBILE, p = A.TABLET, w = A.SMART_TV, E = A.BROWSER, T = A.WEARABLE, z = A.CONSOLE, f = O.ANDROID, Y = O.WINDOWS_PHONE, P = O.IOS, X = O.WINDOWS, q = O.MAC_OS, de = function() {
        return u.type === v;
      }, ue = function() {
        return u.type === p;
      }, ce = function() {
        switch (u.type) {
          case v:
          case p:
            return !0;
          default:
            return !1;
        }
      }, J = function() {
        return l.name === O.WINDOWS && l.version === "10" ? typeof a == "string" && a.indexOf("Edg/") !== -1 : !1;
      }, we = function() {
        return u.type === w;
      }, ve = function() {
        return u.type === E;
      }, me = function() {
        return u.type === T;
      }, pe = function() {
        return u.type === z;
      }, fe = function() {
        return l.name === f;
      }, be = function() {
        return l.name === X;
      }, ge = function() {
        return l.name === q;
      }, Ee = function() {
        return l.name === Y;
      }, Te = function() {
        return l.name === P;
      }, he = function() {
        return r.name === k;
      }, Se = function() {
        return r.name === D;
      }, ye = function() {
        return r.name === j;
      }, $ = function() {
        return r.name === y;
      }, Oe = function() {
        return r.name === F;
      }, Me = function() {
        return r.name === H || r.name === U;
      }, Ie = function() {
        return r.name === U;
      }, Ae = function() {
        return r.name === I;
      }, Ne = function() {
        return r.name === N || r.name === Q;
      }, Pe = function() {
        var _ = o(), Z = _ && _.userAgent.toLowerCase();
        return typeof Z == "string" ? /electron/.test(Z) : !1;
      }, Re = function() {
        var _ = o();
        return _ && (/iPad|iPhone|iPod/.test(_.platform) || _.platform === "MacIntel" && _.maxTouchPoints > 1) && !window.MSStream;
      }, G = function() {
        return i("iPad");
      }, xe = function() {
        return i("iPhone");
      }, Ce = function() {
        return i("iPod");
      }, _e = function() {
        return r.major;
      }, Ve = function() {
        return r.version;
      }, Be = function() {
        return l.version ? l.version : "none";
      }, ke = function() {
        return l.name ? l.name : "none";
      }, De = function() {
        return r.name;
      }, We = function() {
        return u.vendor ? u.vendor : "none";
      }, Le = function() {
        return u.model ? u.model : "none";
      }, Fe = function() {
        return M.name;
      }, Ue = function() {
        return M.version;
      }, Ye = function() {
        return a;
      }, ze = function() {
        return u.type;
      }, je = we(), Ge = pe(), He = me(), Xe = Ie() || G(), qe = ye(), Ze = ce() || G(), Ke = de(), Qe = ue() || G(), Je = ve(), $e = fe(), ei = Ee(), ii = Te() || G(), ri = he(), si = Se(), oi = Me(), ni = Ae(), ai = Ne(), ti = Be(), li = ke(), di = _e(), ui = Ve(), ci = De(), wi = We(), vi = Le(), mi = Fe(), pi = Ue(), fi = Ye(), bi = $() || J(), gi = Oe(), Ei = ze(), Ti = Re(), hi = G(), Si = xe(), yi = Ce(), Oi = Pe(), Mi = J(), Ii = $(), Ai = be(), Ni = ge(), W = V(u.type);
      function Pi() {
        var d = W.isBrowser, _ = W.isMobile, Z = W.isTablet, ee = W.isSmartTV, ie = W.isConsole, re = W.isWearable;
        if (d)
          return x(d, r, M, l, a);
        if (ee)
          return s(ee, M, l, a);
        if (ie)
          return B(ie, M, l, a);
        if (_ || Z)
          return C(W, u, l, a);
        if (re)
          return L(re, M, l, a);
      }
      g.exports = {
        deviceDetect: Pi,
        isSmartTV: je,
        isConsole: Ge,
        isWearable: He,
        isMobileSafari: Xe,
        isChromium: qe,
        isMobile: Ze,
        isMobileOnly: Ke,
        isTablet: Qe,
        isBrowser: Je,
        isAndroid: $e,
        isWinPhone: ei,
        isIOS: ii,
        isChrome: ri,
        isFirefox: si,
        isSafari: oi,
        isOpera: ni,
        isIE: ai,
        osVersion: ti,
        osName: li,
        fullBrowserVersion: di,
        browserVersion: ui,
        browserName: ci,
        mobileVendor: wi,
        mobileModel: vi,
        engineName: mi,
        engineVersion: pi,
        getUA: fi,
        isEdge: bi,
        isYandex: gi,
        deviceType: Ei,
        isIOS13: Ti,
        isIPad13: hi,
        isIPhone13: Si,
        isIPod13: yi,
        isElectron: Oi,
        isEdgeChromium: Mi,
        isLegacyEdge: Ii,
        isWindows: Ai,
        isMacOs: Ni
      };
    },
    /* 2 */
    /***/
    function(g, b, m) {
      var c;
      /*!
      * UAParser.js v0.7.18
      * Lightweight JavaScript-based User-Agent string parser
      * https://github.com/faisalman/ua-parser-js
      *
      * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
      * Dual licensed under GPLv2 or MIT
      */
      (function(t, n) {
        var O = "0.7.18", A = "", S = "?", V = "function", x = "undefined", C = "object", L = "string", B = "major", s = "model", o = "name", i = "type", e = "vendor", r = "version", u = "architecture", M = "console", l = "mobile", a = "tablet", k = "smarttv", j = "wearable", Q = "embedded", N = { extend: function(v, p) {
          var w = {};
          for (var E in v)
            p[E] && p[E].length % 2 === 0 ? w[E] = p[E].concat(v[E]) : w[E] = v[E];
          return w;
        }, has: function(v, p) {
          return typeof v == "string" ? p.toLowerCase().indexOf(v.toLowerCase()) !== -1 : !1;
        }, lowerize: function(v) {
          return v.toLowerCase();
        }, major: function(v) {
          return typeof v === L ? v.replace(/[^\d\.]/g, "").split(".")[0] : n;
        }, trim: function(v) {
          return v.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
        } }, I = { rgx: function(v, p) {
          for (var w = 0, E, T, z, f, Y, P; w < p.length && !Y; ) {
            var X = p[w], q = p[w + 1];
            for (E = T = 0; E < X.length && !Y; )
              if (Y = X[E++].exec(v), Y)
                for (z = 0; z < q.length; z++)
                  P = Y[++T], f = q[z], typeof f === C && f.length > 0 ? f.length == 2 ? typeof f[1] == V ? this[f[0]] = f[1].call(this, P) : this[f[0]] = f[1] : f.length == 3 ? typeof f[1] === V && !(f[1].exec && f[1].test) ? this[f[0]] = P ? f[1].call(this, P, f[2]) : n : this[f[0]] = P ? P.replace(f[1], f[2]) : n : f.length == 4 && (this[f[0]] = P ? f[3].call(this, P.replace(f[1], f[2])) : n) : this[f] = P || n;
            w += 2;
          }
        }, str: function(v, p) {
          for (var w in p)
            if (typeof p[w] === C && p[w].length > 0) {
              for (var E = 0; E < p[w].length; E++)
                if (N.has(p[w][E], v))
                  return w === S ? n : w;
            } else if (N.has(p[w], v))
              return w === S ? n : w;
          return v;
        } }, D = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { 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" } } } }, H = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [o, r], [/(opios)[\/\s]+([\w\.]+)/i], [[o, "Opera Mini"], r], [/\s(opr)\/([\w\.]+)/i], [[o, "Opera"], r], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [o, r], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[o, "IE"], r], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[o, "Edge"], r], [/(yabrowser)\/([\w\.]+)/i], [[o, "Yandex"], r], [/(puffin)\/([\w\.]+)/i], [[o, "Puffin"], r], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[o, "UCBrowser"], r], [/(comodo_dragon)\/([\w\.]+)/i], [[o, /_/g, " "], r], [/(micromessenger)\/([\w\.]+)/i], [[o, "WeChat"], r], [/(qqbrowserlite)\/([\w\.]+)/i], [o, r], [/(QQ)\/([\d\.]+)/i], [o, r], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [o, r], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [o, r], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [o, r], [/(MetaSr)[\/\s]?([\w\.]+)/i], [o], [/(LBBROWSER)/i], [o], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [r, [o, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [r, [o, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [r, [o, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[o, /(.+)/, "$1 WebView"], r], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[o, /(.+(?:g|us))(.+)/, "$1 $2"], r], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [r, [o, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [o, r], [/(dolfin)\/([\w\.]+)/i], [[o, "Dolphin"], r], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[o, "Chrome"], r], [/(coast)\/([\w\.]+)/i], [[o, "Opera Coast"], r], [/fxios\/([\w\.-]+)/i], [r, [o, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [r, [o, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [r, o], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[o, "GSA"], r], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [o, [r, I.str, D.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [o, r], [/(navigator|netscape)\/([\w\.-]+)/i], [[o, "Netscape"], r], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [o, r]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[u, "amd64"]], [/(ia32(?=;))/i], [[u, N.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[u, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[u, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[u, /ower/, "", N.lowerize]], [/(sun4\w)[;\)]/i], [[u, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[u, N.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [s, e, [i, a]], [/applecoremedia\/[\w\.]+ \((ipad)/], [s, [e, "Apple"], [i, a]], [/(apple\s{0,1}tv)/i], [[s, "Apple TV"], [e, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [e, s, [i, a]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [s, [e, "Amazon"], [i, a]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[s, I.str, D.device.amazon.model], [e, "Amazon"], [i, l]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [s, e, [i, l]], [/\((ip[honed|\s\w*]+);/i], [s, [e, "Apple"], [i, l]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [e, s, [i, l]], [/\(bb10;\s(\w+)/i], [s, [e, "BlackBerry"], [i, l]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [s, [e, "Asus"], [i, a]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[e, "Sony"], [s, "Xperia Tablet"], [i, a]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [s, [e, "Sony"], [i, l]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [e, s, [i, M]], [/android.+;\s(shield)\sbuild/i], [s, [e, "Nvidia"], [i, M]], [/(playstation\s[34portablevi]+)/i], [s, [e, "Sony"], [i, M]], [/(sprint\s(\w+))/i], [[e, I.str, D.device.sprint.vendor], [s, I.str, D.device.sprint.model], [i, l]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [e, s, [i, a]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [e, [s, /_/g, " "], [i, l]], [/(nexus\s9)/i], [s, [e, "HTC"], [i, a]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [s, [e, "Huawei"], [i, l]], [/(microsoft);\s(lumia[\s\w]+)/i], [e, s, [i, l]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [s, [e, "Microsoft"], [i, M]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [e, "Microsoft"], [i, l]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [s, [e, "Motorola"], [i, l]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [s, [e, "Motorola"], [i, a]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[e, N.trim], [s, N.trim], [i, k]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [e, "Samsung"], [i, k]], [/\(dtv[\);].+(aquos)/i], [s, [e, "Sharp"], [i, k]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[e, "Samsung"], s, [i, a]], [/smart-tv.+(samsung)/i], [e, [i, k], s], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[e, "Samsung"], s, [i, l]], [/sie-(\w*)/i], [s, [e, "Siemens"], [i, l]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[e, "Nokia"], s, [i, l]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [s, [e, "Acer"], [i, a]], [/android.+([vl]k\-?\d{3})\s+build/i], [s, [e, "LG"], [i, a]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[e, "LG"], s, [i, a]], [/(lg) netcast\.tv/i], [e, s, [i, k]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [s, [e, "LG"], [i, l]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [s, [e, "Lenovo"], [i, a]], [/linux;.+((jolla));/i], [e, s, [i, l]], [/((pebble))app\/[\d\.]+\s/i], [e, s, [i, j]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [e, s, [i, l]], [/crkey/i], [[s, "Chromecast"], [e, "Google"]], [/android.+;\s(glass)\s\d/i], [s, [e, "Google"], [i, j]], [/android.+;\s(pixel c)\s/i], [s, [e, "Google"], [i, a]], [/android.+;\s(pixel xl|pixel)\s/i], [s, [e, "Google"], [i, l]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[s, /_/g, " "], [e, "Xiaomi"], [i, l]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[s, /_/g, " "], [e, "Xiaomi"], [i, a]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [s, [e, "Meizu"], [i, a]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [s, [e, "OnePlus"], [i, l]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [s, [e, "RCA"], [i, a]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [s, [e, "Dell"], [i, a]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [s, [e, "Verizon"], [i, a]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[e, "Barnes & Noble"], s, [i, a]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [s, [e, "NuVision"], [i, a]], [/android.+;\s(k88)\sbuild/i], [s, [e, "ZTE"], [i, a]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [s, [e, "Swiss"], [i, l]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [s, [e, "Swiss"], [i, a]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [s, [e, "Zeki"], [i, a]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[e, "Dragon Touch"], s, [i, a]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [s, [e, "Insignia"], [i, a]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [s, [e, "NextBook"], [i, a]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[e, "Voice"], s, [i, l]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[e, "LvTel"], s, [i, l]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [s, [e, "Envizen"], [i, a]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [e, s, [i, a]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [s, [e, "MachSpeed"], [i, a]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [e, s, [i, a]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [s, [e, "Rotor"], [i, a]], [/android.+(KS(.+))\s+build/i], [s, [e, "Amazon"], [i, a]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [e, s, [i, a]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[i, N.lowerize], e, s], [/(android[\w\.\s\-]{0,9});.+build/i], [s, [e, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [r, [o, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [o, r], [/rv\:([\w\.]{1,9}).+(gecko)/i], [r, o]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [o, r], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [o, [r, I.str, D.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[o, "Windows"], [r, I.str, D.os.windows.version]], [/\((bb)(10);/i], [[o, "BlackBerry"], r], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [o, r], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[o, "Symbian"], r], [/\((series40);/i], [o], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[o, "Firefox OS"], r], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [o, r], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[o, "Chromium OS"], r], [/(sunos)\s?([\w\.\d]*)/i], [[o, "Solaris"], r], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [o, r], [/(haiku)\s(\w+)/i], [o, r], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[r, /_/g, "."], [o, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[o, "Mac OS"], [r, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [o, r]] }, y = function(v, p) {
          if (typeof v == "object" && (p = v, v = n), !(this instanceof y))
            return new y(v, p).getResult();
          var w = v || (t && t.navigator && t.navigator.userAgent ? t.navigator.userAgent : A), E = p ? N.extend(H, p) : H;
          return this.getBrowser = function() {
            var T = { name: n, version: n };
            return I.rgx.call(T, w, E.browser), T.major = N.major(T.version), T;
          }, this.getCPU = function() {
            var T = { architecture: n };
            return I.rgx.call(T, w, E.cpu), T;
          }, this.getDevice = function() {
            var T = { vendor: n, model: n, type: n };
            return I.rgx.call(T, w, E.device), T;
          }, this.getEngine = function() {
            var T = { name: n, version: n };
            return I.rgx.call(T, w, E.engine), T;
          }, this.getOS = function() {
            var T = { name: n, version: n };
            return I.rgx.call(T, w, E.os), T;
          }, this.getResult = function() {
            return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
          }, this.getUA = function() {
            return w;
          }, this.setUA = function(T) {
            return w = T, this;
          }, this;
        };
        y.VERSION = O, y.BROWSER = { NAME: o, MAJOR: B, VERSION: r }, y.CPU = { ARCHITECTURE: u }, y.DEVICE = { MODEL: s, VENDOR: e, TYPE: i, CONSOLE: M, MOBILE: l, SMARTTV: k, TABLET: a, WEARABLE: j, EMBEDDED: Q }, y.ENGINE = { NAME: o, VERSION: r }, y.OS = { NAME: o, VERSION: r }, typeof b !== x ? (typeof g !== x && g.exports && (b = g.exports = y), b.UAParser = y) : m(3) ? (c = (function() {
          return y;
        }).call(b, m, b, g), c !== n && (g.exports = c)) : t && (t.UAParser = y);
        var F = t && (t.jQuery || t.Zepto);
        if (typeof F !== x) {
          var U = new y();
          F.ua = U.getResult(), F.ua.get = function() {
            return U.getUA();
          }, F.ua.set = function(v) {
            U.setUA(v);
            var p = U.getResult();
            for (var w in p)
              F.ua[w] = p[w];
          };
        }
      })(typeof window == "object" ? window : this);
    },
    /* 3 */
    /***/
    function(g, b) {
      (function(m) {
        g.exports = m;
      }).call(b, {});
    },
    /* 4 */
    /***/
    function(g, b, m) {
      Object.defineProperty(b, "__esModule", {
        value: !0
      });
      var c = Object.assign || function(o) {
        for (var i = 1; i < arguments.length; i++) {
          var e = arguments[i];
          for (var r in e)
            Object.prototype.hasOwnProperty.call(e, r) && (o[r] = e[r]);
        }
        return o;
      }, t = m(0), n = t.DEVICE_TYPES, O = t.defaultData, A = function(i) {
        switch (i) {
          case n.MOBILE:
            return { isMobile: !0 };
          case n.TABLET:
            return { isTablet: !0 };
          case n.SMART_TV:
            return { isSmartTV: !0 };
          case n.CONSOLE:
            return { isConsole: !0 };
          case n.WEARABLE:
            return { isWearable: !0 };
          case n.BROWSER:
            return { isBrowser: !0 };
          default:
            return O;
        }
      }, S = function(i, e, r, u, M) {
        return {
          isBrowser: i,
          browserMajorVersion: e.major,
          browserFullVersion: e.version,
          browserName: e.name,
          engineName: r.name || !1,
          engineVersion: r.version,
          osName: u.name,
          osVersion: u.version,
          userAgent: M
        };
      }, V = function(i, e, r, u) {
        return c({}, i, {
          vendor: e.vendor,
          model: e.model,
          os: r.name,
          osVersion: r.version,
          ua: u
        });
      }, x = function(i, e, r, u) {
        return {
          isSmartTV: i,
          engineName: e.name,
          engineVersion: e.version,
          osName: r.name,
          osVersion: r.version,
          userAgent: u
        };
      }, C = function(i, e, r, u) {
        return {
          isConsole: i,
          engineName: e.name,
          engineVersion: e.version,
          osName: r.name,
          osVersion: r.version,
          userAgent: u
        };
      }, L = function(i, e, r, u) {
        return {
          isWearable: i,
          engineName: e.name,
          engineVersion: e.version,
          osName: r.name,
          osVersion: r.version,
          userAgent: u
        };
      }, B = b.getNavigatorInstance = function() {
        return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : !1;
      }, s = b.isIOS13Check = function(i) {
        var e = B();
        return e && e.platform && (e.platform.indexOf(i) !== -1 || e.platform === "MacIntel" && e.maxTouchPoints > 1 && !window.MSStream);
      };
      g.exports = {
        checkType: A,
        broPayload: S,
        mobilePayload: V,
        stvPayload: x,
        consolePayload: C,
        wearPayload: L,
        getNavigatorInstance: B,
        isIOS13Check: s
      };
    }
    /******/
  ]);
})(le);
var ae = le.exports;
function Bi() {
  const h = K(0), g = () => {
    h.value = window.top.scrollY;
  }, b = R(() => h.value !== 0), m = (t = !0) => {
    document.body.style.overflow = "hidden", t && !ae.isMobile && (document.body.style.paddingRight = "15px");
  }, c = (t = !0) => {
    document.body.style.overflow = "auto", t && !ae.isMobile && (document.body.style.paddingRight = "0px");
  };
  return te(() => window.addEventListener("scroll", g)), xi(() => {
    window.removeEventListener("scroll", g), c();
  }), {
    scrollPosition: h,
    isScrollStarted: b,
    disableGlobalScroll: m,
    enableGlobalScroll: c
  };
}
export {
  Bi as a,
  Vi as u
};
