File Editor
Directories:
.. (Back)
Files:
bootstrap.js
bootstrap.min.js
jquery-1.12.4.js
jquery-1.12.4.min.js
jquery.magnific-popup.js
jquery.magnific-popup.min.js
jquery.mobile.touch.js
jquery.mobile.touch.min.js
script.js
wlow-customizer.js
Create New File
Create
Edit File: bootstrap.js
/*! * Bootstrap v3.3.5 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=743b28e5d024e233d813) * Config saved to config.json and https://gist.github.com/743b28e5d024e233d813 */ if ("undefined" == typeof jQuery) throw new Error("Bootstrap's JavaScript requires jQuery"); + function(t) { "use strict"; var e = t.fn.jquery.split(" ")[0].split("."); if (e[0] < 2 && e[1] < 9 || 1 == e[0] && 9 == e[1] && e[2] < 1) throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher") }(jQuery), + function(t) { "use strict"; function e(e) { return this.each(function() { var n = t(this), s = n.data("bs.carousel"), a = t.extend({}, i.DEFAULTS, n.data(), "object" == typeof e && e), r = "string" == typeof e ? e : a.slide; s || n.data("bs.carousel", s = new i(this, a)), "number" == typeof e ? s.to(e) : r ? s[r]() : a.interval && s.pause().cycle() }) } var i = function(e, i) { this.$element = t(e), this.$indicators = this.$element.find(".carousel-indicators"), this.options = i, this.paused = null, this.sliding = null, this.interval = null, this.$active = null, this.$items = null, this.options.keyboard && this.$element.on("keydown.bs.carousel", t.proxy(this.keydown, this)), "hover" == this.options.pause && !("ontouchstart" in document.documentElement) && this.$element.on("mouseenter.bs.carousel", t.proxy(this.pause, this)).on("mouseleave.bs.carousel", t.proxy(this.cycle, this)) }; i.VERSION = "3.3.5", i.TRANSITION_DURATION = 600, i.DEFAULTS = { interval: 5e3, pause: "hover", wrap: !0, keyboard: !0 }, i.prototype.keydown = function(t) { if (!/input|textarea/i.test(t.target.tagName)) { switch (t.which) { case 37: this.prev(); break; case 39: this.next(); break; default: return } t.preventDefault() } }, i.prototype.cycle = function(e) { return e || (this.paused = !1), this.interval && clearInterval(this.interval), this.options.interval && !this.paused && (this.interval = setInterval(t.proxy(this.next, this), this.options.interval)), this }, i.prototype.getItemIndex = function(t) { return this.$items = t.parent().children(".item"), this.$items.index(t || this.$active) }, i.prototype.getItemForDirection = function(t, e) { var i = this.getItemIndex(e), n = "prev" == t && 0 === i || "next" == t && i == this.$items.length - 1; if (n && !this.options.wrap) return e; var s = "prev" == t ? -1 : 1, a = (i + s) % this.$items.length; return this.$items.eq(a) }, i.prototype.to = function(t) { var e = this, i = this.getItemIndex(this.$active = this.$element.find(".item.active")); return t > this.$items.length - 1 || 0 > t ? void 0 : this.sliding ? this.$element.one("slid.bs.carousel", function() { e.to(t) }) : i == t ? this.pause().cycle() : this.slide(t > i ? "next" : "prev", this.$items.eq(t)) }, i.prototype.pause = function(e) { return e || (this.paused = !0), this.$element.find(".next, .prev").length && t.support.transition && (this.$element.trigger(t.support.transition.end), this.cycle(!0)), this.interval = clearInterval(this.interval), this }, i.prototype.next = function() { return this.sliding ? void 0 : this.slide("next") }, i.prototype.prev = function() { return this.sliding ? void 0 : this.slide("prev") }, i.prototype.slide = function(e, n) { var s = this.$element.find(".item.active"), a = n || this.getItemForDirection(e, s), r = this.interval, o = "next" == e ? "left" : "right", l = this; if (a.hasClass("active")) return this.sliding = !1; var d = a[0], h = t.Event("slide.bs.carousel", { relatedTarget: d, direction: o }); if (this.$element.trigger(h), !h.isDefaultPrevented()) { if (this.sliding = !0, r && this.pause(), this.$indicators.length) { this.$indicators.find(".active").removeClass("active"); var c = t(this.$indicators.children()[this.getItemIndex(a)]); c && c.addClass("active") } var p = t.Event("slid.bs.carousel", { relatedTarget: d, direction: o }); return t.support.transition && this.$element.hasClass("slide") ? (a.addClass(e), a[0].offsetWidth, s.addClass(o), a.addClass(o), s.one("bsTransitionEnd", function() { a.removeClass([e, o].join(" ")).addClass("active"), s.removeClass(["active", o].join(" ")), l.sliding = !1, setTimeout(function() { l.$element.trigger(p) }, 0) }).emulateTransitionEnd(i.TRANSITION_DURATION)) : (s.removeClass("active"), a.addClass("active"), this.sliding = !1, this.$element.trigger(p)), r && this.cycle(), this } }; var n = t.fn.carousel; t.fn.carousel = e, t.fn.carousel.Constructor = i, t.fn.carousel.noConflict = function() { return t.fn.carousel = n, this }; var s = function(i) { var n, s = t(this), a = t(s.attr("data-target") || (n = s.attr("href")) && n.replace(/.*(?=#[^\s]+$)/, "")); if (a.hasClass("carousel")) { var r = t.extend({}, a.data(), s.data()), o = s.attr("data-slide-to"); o && (r.interval = !1), e.call(a, r), o && a.data("bs.carousel").to(o), i.preventDefault() } }; t(document).on("click.bs.carousel.data-api", "[data-slide]", s).on("click.bs.carousel.data-api", "[data-slide-to]", s), t(window).on("load", function() { t('[data-ride="carousel"]').each(function() { var i = t(this); e.call(i, i.data()) }) }) }(jQuery), + function(t) { "use strict"; function e(e) { var i = e.attr("data-target"); i || (i = e.attr("href"), i = i && /#[A-Za-z]/.test(i) && i.replace(/.*(?=#[^\s]*$)/, "")); var n = i && t(i); return n && n.length ? n : e.parent() } function i(i) { i && 3 === i.which || (t(s).remove(), t(a).each(function() { var n = t(this), s = e(n), a = { relatedTarget: this }; s.hasClass("open") && (i && "click" == i.type && /input|textarea/i.test(i.target.tagName) && t.contains(s[0], i.target) || (s.trigger(i = t.Event("hide.bs.dropdown", a)), i.isDefaultPrevented() || (n.attr("aria-expanded", "false"), s.removeClass("open").trigger("hidden.bs.dropdown", a)))) })) } function n(e) { return this.each(function() { var i = t(this), n = i.data("bs.dropdown"); n || i.data("bs.dropdown", n = new r(this)), "string" == typeof e && n[e].call(i) }) } var s = ".dropdown-backdrop", a = '[data-toggle="dropdown"]', r = function(e) { t(e).on("click.bs.dropdown", this.toggle) }; r.VERSION = "3.3.5", r.prototype.toggle = function(n) { var s = t(this); if (!s.is(".disabled, :disabled")) { var a = e(s), r = a.hasClass("open"); if (i(), !r) { "ontouchstart" in document.documentElement && !a.closest(".navbar-nav").length && t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click", i); var o = { relatedTarget: this }; if (a.trigger(n = t.Event("show.bs.dropdown", o)), n.isDefaultPrevented()) return; s.trigger("focus").attr("aria-expanded", "true"), a.toggleClass("open").trigger("shown.bs.dropdown", o) } return !1 } }, r.prototype.keydown = function(i) { if (/(38|40|27|32)/.test(i.which) && !/input|textarea/i.test(i.target.tagName)) { var n = t(this); if (i.preventDefault(), i.stopPropagation(), !n.is(".disabled, :disabled")) { var s = e(n), r = s.hasClass("open"); if (!r && 27 != i.which || r && 27 == i.which) return 27 == i.which && s.find(a).trigger("focus"), n.trigger("click"); var o = " li:not(.disabled):visible a", l = s.find(".dropdown-menu" + o); if (l.length) { var d = l.index(i.target); 38 == i.which && d > 0 && d--, 40 == i.which && d < l.length - 1 && d++, ~d || (d = 0), l.eq(d).trigger("focus") } } } }; var o = t.fn.dropdown; t.fn.dropdown = n, t.fn.dropdown.Constructor = r, t.fn.dropdown.noConflict = function() { return t.fn.dropdown = o, this }, t(document).on("click.bs.dropdown.data-api", i).on("click.bs.dropdown.data-api", ".dropdown form", function(t) { t.stopPropagation() }).on("click.bs.dropdown.data-api", a, r.prototype.toggle).on("keydown.bs.dropdown.data-api", a, r.prototype.keydown).on("keydown.bs.dropdown.data-api", ".dropdown-menu", r.prototype.keydown) }(jQuery), + function(t) { "use strict"; function e(e) { var i, n = e.attr("data-target") || (i = e.attr("href")) && i.replace(/.*(?=#[^\s]+$)/, ""); return t(n) } function i(e) { return this.each(function() { var i = t(this), s = i.data("bs.collapse"), a = t.extend({}, n.DEFAULTS, i.data(), "object" == typeof e && e); !s && a.toggle && /show|hide/.test(e) && (a.toggle = !1), s || i.data("bs.collapse", s = new n(this, a)), "string" == typeof e && s[e]() }) } var n = function(e, i) { this.$element = t(e), this.options = t.extend({}, n.DEFAULTS, i), this.$trigger = t('[data-toggle="collapse"][href="#' + e.id + '"],[data-toggle="collapse"][data-target="#' + e.id + '"]'), this.transitioning = null, this.options.parent ? this.$parent = this.getParent() : this.addAriaAndCollapsedClass(this.$element, this.$trigger), this.options.toggle && this.toggle() }; n.VERSION = "3.3.5", n.TRANSITION_DURATION = 350, n.DEFAULTS = { toggle: !0 }, n.prototype.dimension = function() { var t = this.$element.hasClass("width"); return t ? "width" : "height" }, n.prototype.show = function() { if (!this.transitioning && !this.$element.hasClass("in")) { var e, s = this.$parent && this.$parent.children(".panel").children(".in, .collapsing"); if (!(s && s.length && (e = s.data("bs.collapse"), e && e.transitioning))) { var a = t.Event("show.bs.collapse"); if (this.$element.trigger(a), !a.isDefaultPrevented()) { s && s.length && (i.call(s, "hide"), e || s.data("bs.collapse", null)); var r = this.dimension(); this.$element.removeClass("collapse").addClass("collapsing")[r](0).attr("aria-expanded", !0), this.$trigger.removeClass("collapsed").attr("aria-expanded", !0), this.transitioning = 1; var o = function() { this.$element.removeClass("collapsing").addClass("collapse in")[r](""), this.transitioning = 0, this.$element.trigger("shown.bs.collapse") }; if (!t.support.transition) return o.call(this); var l = t.camelCase(["scroll", r].join("-")); this.$element.one("bsTransitionEnd", t.proxy(o, this)).emulateTransitionEnd(n.TRANSITION_DURATION)[r](this.$element[0][l]) } } } }, n.prototype.hide = function() { if (!this.transitioning && this.$element.hasClass("in")) { var e = t.Event("hide.bs.collapse"); if (this.$element.trigger(e), !e.isDefaultPrevented()) { var i = this.dimension(); this.$element[i](this.$element[i]())[0].offsetHeight, this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded", !1), this.$trigger.addClass("collapsed").attr("aria-expanded", !1), this.transitioning = 1; var s = function() { this.transitioning = 0, this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse") }; return t.support.transition ? void this.$element[i](0).one("bsTransitionEnd", t.proxy(s, this)).emulateTransitionEnd(n.TRANSITION_DURATION) : s.call(this) } } }, n.prototype.toggle = function() { this[this.$element.hasClass("in") ? "hide" : "show"]() }, n.prototype.getParent = function() { return t(this.options.parent).find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]').each(t.proxy(function(i, n) { var s = t(n); this.addAriaAndCollapsedClass(e(s), s) }, this)).end() }, n.prototype.addAriaAndCollapsedClass = function(t, e) { var i = t.hasClass("in"); t.attr("aria-expanded", i), e.toggleClass("collapsed", !i).attr("aria-expanded", i) }; var s = t.fn.collapse; t.fn.collapse = i, t.fn.collapse.Constructor = n, t.fn.collapse.noConflict = function() { return t.fn.collapse = s, this }, t(document).on("click.bs.collapse.data-api", '[data-toggle="collapse"]', function(n) { var s = t(this); s.attr("data-target") || n.preventDefault(); var a = e(s), r = a.data("bs.collapse"), o = r ? "toggle" : s.data(); i.call(a, o) }) }(jQuery), + function(t) { "use strict"; function e() { var t = document.createElement("bootstrap"), e = { WebkitTransition: "webkitTransitionEnd", MozTransition: "transitionend", OTransition: "oTransitionEnd otransitionend", transition: "transitionend" }; for (var i in e) if (void 0 !== t.style[i]) return { end: e[i] }; return !1 } t.fn.emulateTransitionEnd = function(e) { var i = !1, n = this; t(this).one("bsTransitionEnd", function() { i = !0 }); var s = function() { i || t(n).trigger(t.support.transition.end) }; return setTimeout(s, e), this }, t(function() { t.support.transition = e(), t.support.transition && (t.event.special.bsTransitionEnd = { bindType: t.support.transition.end, delegateType: t.support.transition.end, handle: function(e) { return t(e.target).is(this) ? e.handleObj.handler.apply(this, arguments) : void 0 } }) }) }(jQuery);
Save Changes
Rename File
Rename