"))
1789 | .prop("outerHTML"),
1790 | ]),
1791 | (this._controls.$absolute = (
1792 | c.dotsContainer
1793 | ? a(c.dotsContainer)
1794 | : a("").addClass(c.dotsClass).appendTo(this.$element)
1795 | ).addClass("disabled")),
1796 | this._controls.$absolute.on(
1797 | "click",
1798 | "button",
1799 | a.proxy(function (b) {
1800 | var d = a(b.target).parent().is(this._controls.$absolute)
1801 | ? a(b.target).index()
1802 | : a(b.target).parent().index();
1803 | b.preventDefault(), this.to(d, c.dotsSpeed);
1804 | }, this)
1805 | );
1806 | for (b in this._overrides) this._core[b] = a.proxy(this[b], this);
1807 | }),
1808 | (e.prototype.destroy = function () {
1809 | var a, b, c, d, e;
1810 | e = this._core.settings;
1811 | for (a in this._handlers) this.$element.off(a, this._handlers[a]);
1812 | for (b in this._controls)
1813 | "$relative" === b && e.navContainer
1814 | ? this._controls[b].html("")
1815 | : this._controls[b].remove();
1816 | for (d in this.overides) this._core[d] = this._overrides[d];
1817 | for (c in Object.getOwnPropertyNames(this))
1818 | "function" != typeof this[c] && (this[c] = null);
1819 | }),
1820 | (e.prototype.update = function () {
1821 | var a,
1822 | b,
1823 | c,
1824 | d = this._core.clones().length / 2,
1825 | e = d + this._core.items().length,
1826 | f = this._core.maximum(!0),
1827 | g = this._core.settings,
1828 | h = g.center || g.autoWidth || g.dotsData ? 1 : g.dotsEach || g.items;
1829 | if (
1830 | ("page" !== g.slideBy && (g.slideBy = Math.min(g.slideBy, g.items)),
1831 | g.dots || "page" == g.slideBy)
1832 | )
1833 | for (this._pages = [], a = d, b = 0, c = 0; a < e; a++) {
1834 | if (b >= h || 0 === b) {
1835 | if (
1836 | (this._pages.push({
1837 | start: Math.min(f, a - d),
1838 | end: a - d + h - 1,
1839 | }),
1840 | Math.min(f, a - d) === f)
1841 | )
1842 | break;
1843 | (b = 0), ++c;
1844 | }
1845 | b += this._core.mergers(this._core.relative(a));
1846 | }
1847 | }),
1848 | (e.prototype.draw = function () {
1849 | var b,
1850 | c = this._core.settings,
1851 | d = this._core.items().length <= c.items,
1852 | e = this._core.relative(this._core.current()),
1853 | f = c.loop || c.rewind;
1854 | this._controls.$relative.toggleClass("disabled", !c.nav || d),
1855 | c.nav &&
1856 | (this._controls.$previous.toggleClass(
1857 | "disabled",
1858 | !f && e <= this._core.minimum(!0)
1859 | ),
1860 | this._controls.$next.toggleClass(
1861 | "disabled",
1862 | !f && e >= this._core.maximum(!0)
1863 | )),
1864 | this._controls.$absolute.toggleClass("disabled", !c.dots || d),
1865 | c.dots &&
1866 | ((b =
1867 | this._pages.length - this._controls.$absolute.children().length),
1868 | c.dotsData && 0 !== b
1869 | ? this._controls.$absolute.html(this._templates.join(""))
1870 | : b > 0
1871 | ? this._controls.$absolute.append(
1872 | new Array(b + 1).join(this._templates[0])
1873 | )
1874 | : b < 0 && this._controls.$absolute.children().slice(b).remove(),
1875 | this._controls.$absolute.find(".active").removeClass("active"),
1876 | this._controls.$absolute
1877 | .children()
1878 | .eq(a.inArray(this.current(), this._pages))
1879 | .addClass("active"));
1880 | }),
1881 | (e.prototype.onTrigger = function (b) {
1882 | var c = this._core.settings;
1883 | b.page = {
1884 | index: a.inArray(this.current(), this._pages),
1885 | count: this._pages.length,
1886 | size:
1887 | c &&
1888 | (c.center || c.autoWidth || c.dotsData ? 1 : c.dotsEach || c.items),
1889 | };
1890 | }),
1891 | (e.prototype.current = function () {
1892 | var b = this._core.relative(this._core.current());
1893 | return a
1894 | .grep(
1895 | this._pages,
1896 | a.proxy(function (a, c) {
1897 | return a.start <= b && a.end >= b;
1898 | }, this)
1899 | )
1900 | .pop();
1901 | }),
1902 | (e.prototype.getPosition = function (b) {
1903 | var c,
1904 | d,
1905 | e = this._core.settings;
1906 | return (
1907 | "page" == e.slideBy
1908 | ? ((c = a.inArray(this.current(), this._pages)),
1909 | (d = this._pages.length),
1910 | b ? ++c : --c,
1911 | (c = this._pages[((c % d) + d) % d].start))
1912 | : ((c = this._core.relative(this._core.current())),
1913 | (d = this._core.items().length),
1914 | b ? (c += e.slideBy) : (c -= e.slideBy)),
1915 | c
1916 | );
1917 | }),
1918 | (e.prototype.next = function (b) {
1919 | a.proxy(this._overrides.to, this._core)(this.getPosition(!0), b);
1920 | }),
1921 | (e.prototype.prev = function (b) {
1922 | a.proxy(this._overrides.to, this._core)(this.getPosition(!1), b);
1923 | }),
1924 | (e.prototype.to = function (b, c, d) {
1925 | var e;
1926 | !d && this._pages.length
1927 | ? ((e = this._pages.length),
1928 | a.proxy(this._overrides.to, this._core)(
1929 | this._pages[((b % e) + e) % e].start,
1930 | c
1931 | ))
1932 | : a.proxy(this._overrides.to, this._core)(b, c);
1933 | }),
1934 | (a.fn.owlCarousel.Constructor.Plugins.Navigation = e);
1935 | })(window.Zepto || window.jQuery, window, document),
1936 | (function (a, b, c, d) {
1937 | "use strict";
1938 | var e = function (c) {
1939 | (this._core = c),
1940 | (this._hashes = {}),
1941 | (this.$element = this._core.$element),
1942 | (this._handlers = {
1943 | "initialized.owl.carousel": a.proxy(function (c) {
1944 | c.namespace &&
1945 | "URLHash" === this._core.settings.startPosition &&
1946 | a(b).trigger("hashchange.owl.navigation");
1947 | }, this),
1948 | "prepared.owl.carousel": a.proxy(function (b) {
1949 | if (b.namespace) {
1950 | var c = a(b.content)
1951 | .find("[data-hash]")
1952 | .addBack("[data-hash]")
1953 | .attr("data-hash");
1954 | if (!c) return;
1955 | this._hashes[c] = b.content;
1956 | }
1957 | }, this),
1958 | "changed.owl.carousel": a.proxy(function (c) {
1959 | if (c.namespace && "position" === c.property.name) {
1960 | var d = this._core.items(
1961 | this._core.relative(this._core.current())
1962 | ),
1963 | e = a
1964 | .map(this._hashes, function (a, b) {
1965 | return a === d ? b : null;
1966 | })
1967 | .join();
1968 | if (!e || b.location.hash.slice(1) === e) return;
1969 | b.location.hash = e;
1970 | }
1971 | }, this),
1972 | }),
1973 | (this._core.options = a.extend({}, e.Defaults, this._core.options)),
1974 | this.$element.on(this._handlers),
1975 | a(b).on(
1976 | "hashchange.owl.navigation",
1977 | a.proxy(function (a) {
1978 | var c = b.location.hash.substring(1),
1979 | e = this._core.$stage.children(),
1980 | f = this._hashes[c] && e.index(this._hashes[c]);
1981 | f !== d &&
1982 | f !== this._core.current() &&
1983 | this._core.to(this._core.relative(f), !1, !0);
1984 | }, this)
1985 | );
1986 | };
1987 | (e.Defaults = { URLhashListener: !1 }),
1988 | (e.prototype.destroy = function () {
1989 | var c, d;
1990 | a(b).off("hashchange.owl.navigation");
1991 | for (c in this._handlers) this._core.$element.off(c, this._handlers[c]);
1992 | for (d in Object.getOwnPropertyNames(this))
1993 | "function" != typeof this[d] && (this[d] = null);
1994 | }),
1995 | (a.fn.owlCarousel.Constructor.Plugins.Hash = e);
1996 | })(window.Zepto || window.jQuery, window, document),
1997 | (function (a, b, c, d) {
1998 | function e(b, c) {
1999 | var e = !1,
2000 | f = b.charAt(0).toUpperCase() + b.slice(1);
2001 | return (
2002 | a.each((b + " " + h.join(f + " ") + f).split(" "), function (a, b) {
2003 | if (g[b] !== d) return (e = !c || b), !1;
2004 | }),
2005 | e
2006 | );
2007 | }
2008 | function f(a) {
2009 | return e(a, !0);
2010 | }
2011 | var g = a("").get(0).style,
2012 | h = "Webkit Moz O ms".split(" "),
2013 | i = {
2014 | transition: {
2015 | end: {
2016 | WebkitTransition: "webkitTransitionEnd",
2017 | MozTransition: "transitionend",
2018 | OTransition: "oTransitionEnd",
2019 | transition: "transitionend",
2020 | },
2021 | },
2022 | animation: {
2023 | end: {
2024 | WebkitAnimation: "webkitAnimationEnd",
2025 | MozAnimation: "animationend",
2026 | OAnimation: "oAnimationEnd",
2027 | animation: "animationend",
2028 | },
2029 | },
2030 | },
2031 | j = {
2032 | csstransforms: function () {
2033 | return !!e("transform");
2034 | },
2035 | csstransforms3d: function () {
2036 | return !!e("perspective");
2037 | },
2038 | csstransitions: function () {
2039 | return !!e("transition");
2040 | },
2041 | cssanimations: function () {
2042 | return !!e("animation");
2043 | },
2044 | };
2045 | j.csstransitions() &&
2046 | ((a.support.transition = new String(f("transition"))),
2047 | (a.support.transition.end = i.transition.end[a.support.transition])),
2048 | j.cssanimations() &&
2049 | ((a.support.animation = new String(f("animation"))),
2050 | (a.support.animation.end = i.animation.end[a.support.animation])),
2051 | j.csstransforms() &&
2052 | ((a.support.transform = new String(f("transform"))),
2053 | (a.support.transform3d = j.csstransforms3d()));
2054 | })(window.Zepto || window.jQuery, window, document);
2055 |
--------------------------------------------------------------------------------