layout/js/simplebar.js

11 lines
76 KiB
JavaScript
Raw Normal View History

2023-06-14 17:19:40 +03:00
/**
* SimpleBar.js - v5.3.8
* Scrollbars, simpler.
* https://grsmto.github.io/simplebar/
*
* Made by Adrien Denat from a fork by Jonathan Nicol
* Under MIT License
*/
!function (t, e) { "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = t || self).SimpleBar = e() }(this, (function () { "use strict"; var t = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}; function e(t, e) { return t(e = { exports: {} }, e.exports), e.exports } var r, n, i = function (t) { return t && t.Math == Math && t }, o = i("object" == typeof globalThis && globalThis) || i("object" == typeof window && window) || i("object" == typeof self && self) || i("object" == typeof t && t) || function () { return this }() || Function("return this")(), s = Object.defineProperty, a = function (t, e) { try { s(o, t, { value: e, configurable: !0, writable: !0 }) } catch (r) { o[t] = e } return e }, c = o["__core-js_shared__"] || a("__core-js_shared__", {}), l = e((function (t) { (t.exports = function (t, e) { return c[t] || (c[t] = void 0 !== e ? e : {}) })("versions", []).push({ version: "3.22.6", mode: "global", copyright: "© 2014-2022 Denis Pushkarev (zloirock.ru)", license: "https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE", source: "https://github.com/zloirock/core-js" }) })), u = function (t) { try { return !!t() } catch (t) { return !0 } }, f = !u((function () { var t = function () { }.bind(); return "function" != typeof t || t.hasOwnProperty("prototype") })), h = Function.prototype, d = h.bind, p = h.call, v = f && d.bind(p, p), g = f ? function (t) { return t && v(t) } : function (t) { return t && function () { return p.apply(t, arguments) } }, b = o.TypeError, y = function (t) { if (null == t) throw b("Can't call method on " + t); return t }, m = o.Object, x = function (t) { return m(y(t)) }, E = g({}.hasOwnProperty), w = Object.hasOwn || function (t, e) { return E(x(t), e) }, O = 0, S = Math.random(), A = g(1..toString), k = function (t) { return "Symbol(" + (void 0 === t ? "" : t) + ")_" + A(++O + S, 36) }, T = function (t) { return "function" == typeof t }, L = function (t) { return T(t) ? t : void 0 }, R = function (t, e) { return arguments.length < 2 ? L(o[t]) : o[t] && o[t][e] }, _ = R("navigator", "userAgent") || "", j = o.process, z = o.Deno, M = j && j.versions || z && z.version, C = M && M.v8; C && (n = (r = C.split("."))[0] > 0 && r[0] < 4 ? 1 : +(r[0] + r[1])), !n && _ && (!(r = _.match(/Edge\/(\d+)/)) || r[1] >= 74) && (r = _.match(/Chrome\/(\d+)/)) && (n = +r[1]); var N = n, W = !!Object.getOwnPropertySymbols && !u((function () { var t = Symbol(); return !String(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && N && N < 41 })), I = W && !Symbol.sham && "symbol" == typeof Symbol.iterator, P = l("wks"), B = o.Symbol, D = B && B.for, F = I ? B : B && B.withoutSetter || k, V = function (t) { if (!w(P, t) || !W && "string" != typeof P[t]) { var e = "Symbol." + t; W && w(B, t) ? P[t] = B[t] : P[t] = I && D ? D(e) : F(e) } return P[t] }, $ = {}; $[V("toStringTag")] = "z"; var X = "[object z]" === String($), H = !u((function () { return 7 != Object.defineProperty({}, 1, { get: function () { return 7 } })[1] })), q = function (t) { return "object" == typeof t ? null !== t : T(t) }, Y = o.document, G = q(Y) && q(Y.createElement), U = function (t) { return G ? Y.createElement(t) : {} }, K = !H && !u((function () { return 7 != Object.defineProperty(U("div"), "a", { get: function () { return 7 } }).a })), J = H && u((function () { return 42 != Object.defineProperty((function () { }), "prototype", { value: 42, writable: !1 }).prototype })), Q = o.String, Z = o.TypeError, tt = function (t) { if (q(t)) return t; throw Z(Q(t) + " is not an object") }, et = Function.prototype.call, rt = f ? et.bind(et) : function () { return et.apply(et, arguments) }, nt = g({}.isPrototypeOf), it = o.Object, ot = I ? function (t) { return "symbol" == typeof t } : function (t) { var e = R("Symbol"); return T(e) && nt(e.prototype, it(t)) }, st = o.String, at = function (t) { try { return st(t) } catch (t) { return "O