/*
* jquery easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* uses the built in easing capabilities added in jquery 1.1
* to offer multiple easing options
*
* terms of use - jquery easing
*
* open source under the bsd license.
*
* copyright © 2008 george mcginley smith
* all rights reserved.
*
* redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* this software is provided by the copyright holders and contributors "as is" and any
* express or implied warranties, including, but not limited to, the implied warranties of
* merchantability and fitness for a particular purpose are disclaimed. in no event shall the
* copyright owner or contributors be liable for any direct, indirect, incidental, special,
* exemplary, or consequential damages (including, but not limited to, procurement of substitute
* goods or services; loss of use, data, or profits; or business interruption) however caused
* and on any theory of liability, whether in contract, strict liability, or tort (including
* negligence or otherwise) arising in any way out of the use of this software, even if advised
* of the possibility of such damage.
*
*/
// t: current time, b: beginning value, c: change in value, d: duration
jquery.easing['jswing'] = jquery.easing['swing'];
jquery.extend(jquery.easing, {
def: 'easeoutquad',
swing: function(x, t, b, c, d) {
//alert(jquery.easing.default);
return jquery.easing[jquery.easing.def](x, t, b, c, d);
},
easeinquad: function(x, t, b, c, d) {
return c * (t /= d) * t + b;
},
easeoutquad: function(x, t, b, c, d) {
return -c * (t /= d) * (t - 2) + b;
},
easeinoutquad: function(x, t, b, c, d) {
if ((t /= d / 2) < 1) return c / 2 * t * t + b;
return -c / 2 * ((--t) * (t - 2) - 1) + b;
},
easeincubic: function(x, t, b, c, d) {
return c * (t /= d) * t * t + b;
},
easeoutcubic: function(x, t, b, c, d) {
return c * ((t = t / d - 1) * t * t + 1) + b;
},
easeinoutcubic: function(x, t, b, c, d) {
if ((t /= d / 2) < 1) return c / 2 * t * t * t + b;
return c / 2 * ((t -= 2) * t * t + 2) + b;
},
easeinquart: function(x, t, b, c, d) {
return c * (t /= d) * t * t * t + b;
},
easeoutquart: function(x, t, b, c, d) {
return -c * ((t = t / d - 1) * t * t * t - 1) + b;
},
easeinoutquart: function(x, t, b, c, d) {
if ((t /= d / 2) < 1) return c / 2 * t * t * t * t + b;
return -c / 2 * ((t -= 2) * t * t * t - 2) + b;
},
easeinquint: function(x, t, b, c, d) {
return c * (t /= d) * t * t * t * t + b;
},
easeoutquint: function(x, t, b, c, d) {
return c * ((t = t / d - 1) * t * t * t * t + 1) + b;
},
easeinoutquint: function(x, t, b, c, d) {
if ((t /= d / 2) < 1) return c / 2 * t * t * t * t * t + b;
return c / 2 * ((t -= 2) * t * t * t * t + 2) + b;
},
easeinsine: function(x, t, b, c, d) {
return -c * math.cos(t / d * (math.pi / 2)) + c + b;
},
easeoutsine: function(x, t, b, c, d) {
return c * math.sin(t / d * (math.pi / 2)) + b;
},
easeinoutsine: function(x, t, b, c, d) {
return -c / 2 * (math.cos(math.pi * t / d) - 1) + b;
},
easeinexpo: function(x, t, b, c, d) {
return (t == 0) ? b : c * math.pow(2, 10 * (t / d - 1)) + b;
},
easeoutexpo: function(x, t, b, c, d) {
return (t == d) ? b + c : c * (-math.pow(2, -10 * t / d) + 1) + b;
},
easeinoutexpo: function(x, t, b, c, d) {
if (t == 0) return b;
if (t == d) return b + c;
if ((t /= d / 2) < 1) return c / 2 * math.pow(2, 10 * (t - 1)) + b;
return c / 2 * (-math.pow(2, -10 * --t) + 2) + b;
},
easeincirc: function(x, t, b, c, d) {
return -c * (math.sqrt(1 - (t /= d) * t) - 1) + b;
},
easeoutcirc: function(x, t, b, c, d) {
return c * math.sqrt(1 - (t = t / d - 1) * t) + b;
},
easeinoutcirc: function(x, t, b, c, d) {
if ((t /= d / 2) < 1) return -c / 2 * (math.sqrt(1 - t * t) - 1) + b;
return c / 2 * (math.sqrt(1 - (t -= 2) * t) + 1) + b;
},
easeinelastic: function(x, t, b, c, d) {
var s = 1.70158;
var p = 0;
var a = c;
if (t == 0) return b;
if ((t /= d) == 1) return b + c;
if (!p) p = d * .3;
if (a < math.abs(c)) {
a = c;
var s = p / 4;
} else var s = p / (2 * math.pi) * math.asin(c / a);
return -(a * math.pow(2, 10 * (t -= 1)) * math.sin((t * d - s) * (2 * math.pi) / p)) + b;
},
easeoutelastic: function(x, t, b, c, d) {
var s = 1.70158;
var p = 0;
var a = c;
if (t == 0) return b;
if ((t /= d) == 1) return b + c;
if (!p) p = d * .3;
if (a < math.abs(c)) {
a = c;
var s = p / 4;
} else var s = p / (2 * math.pi) * math.asin(c / a);
return a * math.pow(2, -10 * t) * math.sin((t * d - s) * (2 * math.pi) / p) + c + b;
},
easeinoutelastic: function(x, t, b, c, d) {
var s = 1.70158;
var p = 0;
var a = c;
if (t == 0) return b;
if ((t /= d / 2) == 2) return b + c;
if (!p) p = d * (.3 * 1.5);
if (a < math.abs(c)) {
a = c;
var s = p / 4;
} else var s = p / (2 * math.pi) * math.asin(c / a);
if (t < 1) return -.5 * (a * math.pow(2, 10 * (t -= 1)) * math.sin((t * d - s) * (2 * math.pi) / p)) + b;
return a * math.pow(2, -10 * (t -= 1)) * math.sin((t * d - s) * (2 * math.pi) / p) * .5 + c + b;
},
easeinback: function(x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c * (t /= d) * t * ((s + 1) * t - s) + b;
},
easeoutback: function(x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b;
},
easeinoutback: function(x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
if ((t /= d / 2) < 1) return c / 2 * (t * t * (((s *= (1.525)) + 1) * t - s)) + b;
return c / 2 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2) + b;
},
easeinbounce: function(x, t, b, c, d) {
return c - jquery.easing.easeoutbounce(x, d - t, 0, c, d) + b;
},
easeoutbounce: function(x, t, b, c, d) {
if ((t /= d) < (1 / 2.75)) {
return c * (7.5625 * t * t) + b;
} else if (t < (2 / 2.75)) {
return c * (7.5625 * (t -= (1.5 / 2.75)) * t + .75) + b;
} else if (t < (2.5 / 2.75)) {
return c * (7.5625 * (t -= (2.25 / 2.75)) * t + .9375) + b;
} else {
return c * (7.5625 * (t -= (2.625 / 2.75)) * t + .984375) + b;
}
},
easeinoutbounce: function(x, t, b, c, d) {
if (t < d / 2) return jquery.easing.easeinbounce(x, t * 2, 0, c, d) * .5 + b;
return jquery.easing.easeoutbounce(x, t * 2 - d, 0, c, d) * .5 + c * .5 + b;
}
});
/*
*
* terms of use - easing equations
*
* open source under the bsd license.
*
* copyright © 2001 robert penner
* all rights reserved.
*
* redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* this software is provided by the copyright holders and contributors "as is" and any
* express or implied warranties, including, but not limited to, the implied warranties of
* merchantability and fitness for a particular purpose are disclaimed. in no event shall the
* copyright owner or contributors be liable for any direct, indirect, incidental, special,
* exemplary, or consequential damages (including, but not limited to, procurement of substitute
* goods or services; loss of use, data, or profits; or business interruption) however caused
* and on any theory of liability, whether in contract, strict liability, or tort (including
* negligence or otherwise) arising in any way out of the use of this software, even if advised
* of the possibility of such damage.
*
*/
/*! copyright (c) 2011 brandon aaron (http://brandonaaron.net)
* licensed under the mit license (license.txt).
*
* thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* thanks to: mathias bank(http://www.mathias-bank.de) for a scope bug fix.
* thanks to: seamus leahy for adding deltax and deltay
*
* version: 3.0.6
*
* requires: 1.2.2+
*/
(function($) {
var types = ['dommousescroll', 'mousewheel'];
if ($.event.fixhooks) {
for (var i = types.length; i;) {
$.event.fixhooks[types[--i]] = $.event.mousehooks;
}
}
$.event.special.mousewheel = {
setup: function() {
if (this.addeventlistener) {
for (var i = types.length; i;) {
this.addeventlistener(types[--i], handler, false);
}
} else {
this.onmousewheel = handler;
}
},
teardown: function() {
if (this.removeeventlistener) {
for (var i = types.length; i;) {
this.removeeventlistener(types[--i], handler, false);
}
} else {
this.onmousewheel = null;
}
}
};
$.fn.extend({
mousewheel: function(fn) {
return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
},
unmousewheel: function(fn) {
return this.unbind("mousewheel", fn);
}
});
function handler(event) {
var orgevent = event || window.event,
args = [].slice.call(arguments, 1),
delta = 0,
returnvalue = true,
deltax = 0,
deltay = 0;
event = $.event.fix(orgevent);
event.type = "mousewheel";
// old school scrollwheel delta
if (orgevent.wheeldelta) {
delta = orgevent.wheeldelta / 120;
}
if (orgevent.detail) {
delta = -orgevent.detail / 3;
}
// new school multidimensional scroll (touchpads) deltas
deltay = delta;
// gecko
if (orgevent.axis !== undefined && orgevent.axis === orgevent.horizontal_axis) {
deltay = 0;
deltax = -1 * delta;
}
// webkit
if (orgevent.wheeldeltay !== undefined) {
deltay = orgevent.wheeldeltay / 120;
}
if (orgevent.wheeldeltax !== undefined) {
deltax = -1 * orgevent.wheeldeltax / 120;
}
// add event and delta to the front of the arguments
args.unshift(event, delta, deltax, deltay);
return ($.event.dispatch || $.event.handle).apply(this, args);
}
})(jquery);
/*!
* bootstrap v3.1.1 (http://getbootstrap.com)
* copyright 2011-2014 twitter, inc.
* licensed under mit (https://github.com/twbs/bootstrap/blob/master/license)
*/
+ function(a) {
"use strict";
var b = '[data-dismiss="alert"]',
c = function(c) {
a(c).on("click", b, this.close)
};
c.prototype.close = function(b) {
function f() {
e.trigger("closed.bs.alert").remove()
}
var c = a(this),
d = c.attr("data-target");
d || (d = c.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, ""));
var e = a(d);
b && b.preventdefault(), e.length || (e = c.hasclass("alert") ? c : c.parent()), e.trigger(b = a.event("close.bs.alert"));
if (b.isdefaultprevented()) return;
e.removeclass("in"), a.support.transition && e.hasclass("fade") ? e.one(a.support.transition.end, f).emulatetransitionend(150) : f()
};
var d = a.fn.alert;
a.fn.alert = function(b) {
return this.each(function() {
var d = a(this),
e = d.data("bs.alert");
e || d.data("bs.alert", e = new c(this)), typeof b == "string" && e[b].call(d)
})
}, a.fn.alert.constructor = c, a.fn.alert.noconflict = function() {
return a.fn.alert = d, this
}, a(document).on("click.bs.alert.data-api", b, c.prototype.close)
}(jquery), + function(a) {
"use strict";
var b = function(c, d) {
this.$element = a(c), this.options = a.extend({}, b.defaults, d), this.isloading = !1
};
b.defaults = {
loadingtext: "loading..."
}, b.prototype.setstate = function(b) {
var c = "disabled",
d = this.$element,
e = d.is("input") ? "val" : "html",
f = d.data();
b += "text", f.resettext || d.data("resettext", d[e]()), d[e](f[b] || this.options[b]), settimeout(a.proxy(function() {
b == "loadingtext" ? (this.isloading = !0, d.addclass(c).attr(c, c)) : this.isloading && (this.isloading = !1, d.removeclass(c).removeattr(c))
}, this), 0)
}, b.prototype.toggle = function() {
var a = !0,
b = this.$element.closest('[data-toggle="buttons"]');
if (b.length) {
var c = this.$element.find("input");
c.prop("type") == "radio" && (c.prop("checked") && this.$element.hasclass("active") ? a = !1 : b.find(".active").removeclass("active")), a && c.prop("checked", !this.$element.hasclass("active")).trigger("change")
}
a && this.$element.toggleclass("active")
};
var c = a.fn.button;
a.fn.button = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.button"),
f = typeof c == "object" && c;
e || d.data("bs.button", e = new b(this, f)), c == "toggle" ? e.toggle() : c && e.setstate(c)
})
}, a.fn.button.constructor = b, a.fn.button.noconflict = function() {
return a.fn.button = c, this
}, a(document).on("click.bs.button.data-api", "[data-toggle^=button]", function(b) {
var c = a(b.target);
c.hasclass("btn") || (c = c.closest(".btn")), c.button("toggle"), b.preventdefault()
})
}(jquery), + function(a) {
"use strict";
var b = function(b, c) {
this.$element = a(b), this.$indicators = this.$element.find(".carousel-indicators"), this.options = c, this.paused = this.sliding = this.interval = this.$active = this.$items = null, this.options.pause == "hover" && this.$element.on("mouseenter", a.proxy(this.pause, this)).on("mouseleave", a.proxy(this.cycle, this))
};
b.defaults = {
interval: 5e3,
pause: "hover",
wrap: !0
}, b.prototype.cycle = function(b) {
return b || (this.paused = !1), this.interval && clearinterval(this.interval), this.options.interval && !this.paused && (this.interval = setinterval(a.proxy(this.next, this), this.options.interval)), this
}, b.prototype.getactiveindex = function() {
return this.$active = this.$element.find(".item.active"), this.$items = this.$active.parent().children(), this.$items.index(this.$active)
}, b.prototype.to = function(b) {
var c = this,
d = this.getactiveindex();
if (b > this.$items.length - 1 || b < 0) return;
return this.sliding ? this.$element.one("slid.bs.carousel", function() {
c.to(b)
}) : d == b ? this.pause().cycle() : this.slide(b > d ? "next" : "prev", a(this.$items[b]))
}, b.prototype.pause = function(b) {
return b || (this.paused = !0), this.$element.find(".next, .prev").length && a.support.transition && (this.$element.trigger(a.support.transition.end), this.cycle(!0)), this.interval = clearinterval(this.interval), this
}, b.prototype.next = function() {
if (this.sliding) return;
return this.slide("next")
}, b.prototype.prev = function() {
if (this.sliding) return;
return this.slide("prev")
}, b.prototype.slide = function(b, c) {
var d = this.$element.find(".item.active"),
e = c || d[b](),
f = this.interval,
g = b == "next" ? "left" : "right",
h = b == "next" ? "first" : "last",
i = this;
if (!e.length) {
if (!this.options.wrap) return;
e = this.$element.find(".item")[h]()
}
if (e.hasclass("active")) return this.sliding = !1;
var j = a.event("slide.bs.carousel", {
relatedtarget: e[0],
direction: g
});
this.$element.trigger(j);
if (j.isdefaultprevented()) return;
return this.sliding = !0, f && this.pause(), this.$indicators.length && (this.$indicators.find(".active").removeclass("active"), this.$element.one("slid.bs.carousel", function() {
var b = a(i.$indicators.children()[i.getactiveindex()]);
b && b.addclass("active")
})), a.support.transition && this.$element.hasclass("slide") ? (e.addclass(b), e[0].offsetwidth, d.addclass(g), e.addclass(g), d.one(a.support.transition.end, function() {
e.removeclass([b, g].join(" ")).addclass("active"), d.removeclass(["active", g].join(" ")), i.sliding = !1, settimeout(function() {
i.$element.trigger("slid.bs.carousel")
}, 0)
}).emulatetransitionend(d.css("transition-duration").slice(0, -1) * 1e3)) : (d.removeclass("active"), e.addclass("active"), this.sliding = !1, this.$element.trigger("slid.bs.carousel")), f && this.cycle(), this
};
var c = a.fn.carousel;
a.fn.carousel = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.carousel"),
f = a.extend({}, b.defaults, d.data(), typeof c == "object" && c),
g = typeof c == "string" ? c : f.slide;
e || d.data("bs.carousel", e = new b(this, f)), typeof c == "number" ? e.to(c) : g ? e[g]() : f.interval && e.pause().cycle()
})
}, a.fn.carousel.constructor = b, a.fn.carousel.noconflict = function() {
return a.fn.carousel = c, this
}, a(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", function(b) {
var c = a(this),
d, e = a(c.attr("data-target") || (d = c.attr("href")) && d.replace(/.*(?=#[^\s]+$)/, "")),
f = a.extend({}, e.data(), c.data()),
g = c.attr("data-slide-to");
g && (f.interval = !1), e.carousel(f), (g = c.attr("data-slide-to")) && e.data("bs.carousel").to(g), b.preventdefault()
}), a(window).on("load", function() {
a('[data-ride="carousel"]').each(function() {
var b = a(this);
b.carousel(b.data())
})
})
}(jquery), + function(a) {
function e(d) {
a(b).remove(), a(c).each(function() {
var b = f(a(this)),
c = {
relatedtarget: this
};
if (!b.hasclass("open")) return;
b.trigger(d = a.event("hide.bs.dropdown", c));
if (d.isdefaultprevented()) return;
b.removeclass("open").trigger("hidden.bs.dropdown", c)
})
}
function f(b) {
var c = b.attr("data-target");
c || (c = b.attr("href"), c = c && /#[a-za-z]/.test(c) && c.replace(/.*(?=#[^\s]*$)/, ""));
var d = c && a(c);
return d && d.length ? d : b.parent()
}
"use strict";
var b = ".dropdown-backdrop",
c = "[data-toggle=dropdown]",
d = function(b) {
a(b).on("click.bs.dropdown", this.toggle)
};
d.prototype.toggle = function(b) {
var c = a(this);
if (c.is(".disabled, :disabled")) return;
var d = f(c),
g = d.hasclass("open");
e();
if (!g) {
"ontouchstart" in document.documentelement && !d.closest(".navbar-nav").length && a('
').insertafter(a(this)).on("click", e);
var h = {
relatedtarget: this
};
d.trigger(b = a.event("show.bs.dropdown", h));
if (b.isdefaultprevented()) return;
d.toggleclass("open").trigger("shown.bs.dropdown", h), c.focus()
}
return !1
}, d.prototype.keydown = function(b) {
if (!/(38|40|27)/.test(b.keycode)) return;
var d = a(this);
b.preventdefault(), b.stoppropagation();
if (d.is(".disabled, :disabled")) return;
var e = f(d),
g = e.hasclass("open");
if (!g || g && b.keycode == 27) return b.which == 27 && e.find(c).focus(), d.click();
var h = " li:not(.divider):visible a",
i = e.find("[role=menu]" + h + ", [role=listbox]" + h);
if (!i.length) return;
var j = i.index(i.filter(":focus"));
b.keycode == 38 && j > 0 && j--, b.keycode == 40 && j < i.length - 1 && j++, ~j || (j = 0), i.eq(j).focus()
};
var g = a.fn.dropdown;
a.fn.dropdown = function(b) {
return this.each(function() {
var c = a(this),
e = c.data("bs.dropdown");
e || c.data("bs.dropdown", e = new d(this)), typeof b == "string" && e[b].call(c)
})
}, a.fn.dropdown.constructor = d, a.fn.dropdown.noconflict = function() {
return a.fn.dropdown = g, this
}, a(document).on("click.bs.dropdown.data-api", e).on("click.bs.dropdown.data-api", ".dropdown form", function(a) {
a.stoppropagation()
}).on("click.bs.dropdown.data-api", c, d.prototype.toggle).on("keydown.bs.dropdown.data-api", c + ", [role=menu], [role=listbox]", d.prototype.keydown)
}(jquery), + function(a) {
"use strict";
var b = function(b, c) {
this.options = c, this.$element = a(b), this.$backdrop = this.isshown = null, this.options.remote && this.$element.find(".modal-content").load(this.options.remote, a.proxy(function() {
this.$element.trigger("loaded.bs.modal")
}, this))
};
b.defaults = {
backdrop: !0,
keyboard: !0,
show: !0
}, b.prototype.toggle = function(a) {
return this[this.isshown ? "hide" : "show"](a)
}, b.prototype.show = function(b) {
var c = this,
d = a.event("show.bs.modal", {
relatedtarget: b
});
this.$element.trigger(d);
if (this.isshown || d.isdefaultprevented()) return;
this.isshown = !0, this.escape(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', a.proxy(this.hide, this)), this.backdrop(function() {
var d = a.support.transition && c.$element.hasclass("fade");
c.$element.parent().length || c.$element.appendto(document.body), c.$element.show().scrolltop(0), d && c.$element[0].offsetwidth, c.$element.addclass("in").attr("aria-hidden", !1), c.enforcefocus();
var e = a.event("shown.bs.modal", {
relatedtarget: b
});
d ? c.$element.find(".modal-dialog").one(a.support.transition.end, function() {
c.$element.focus().trigger(e)
}).emulatetransitionend(300) : c.$element.focus().trigger(e)
})
}, b.prototype.hide = function(b) {
b && b.preventdefault(), b = a.event("hide.bs.modal"), this.$element.trigger(b);
if (!this.isshown || b.isdefaultprevented()) return;
this.isshown = !1, this.escape(), a(document).off("focusin.bs.modal"), this.$element.removeclass("in").attr("aria-hidden", !0).off("click.dismiss.bs.modal"), a.support.transition && this.$element.hasclass("fade") ? this.$element.one(a.support.transition.end, a.proxy(this.hidemodal, this)).emulatetransitionend(300) : this.hidemodal()
}, b.prototype.enforcefocus = function() {
a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function(a) {
this.$element[0] !== a.target && !this.$element.has(a.target).length && this.$element.focus()
}, this))
}, b.prototype.escape = function() {
this.isshown && this.options.keyboard ? this.$element.on("keyup.dismiss.bs.modal", a.proxy(function(a) {
a.which == 27 && this.hide()
}, this)) : this.isshown || this.$element.off("keyup.dismiss.bs.modal")
}, b.prototype.hidemodal = function() {
var a = this;
this.$element.hide(), this.backdrop(function() {
a.removebackdrop(), a.$element.trigger("hidden.bs.modal")
})
}, b.prototype.removebackdrop = function() {
this.$backdrop && this.$backdrop.remove(), this.$backdrop = null
}, b.prototype.backdrop = function(b) {
var c = this.$element.hasclass("fade") ? "fade" : "";
if (this.isshown && this.options.backdrop) {
var d = a.support.transition && c;
this.$backdrop = a('').appendto(document.body), this.$element.on("click.dismiss.bs.modal", a.proxy(function(a) {
if (a.target !== a.currenttarget) return;
this.options.backdrop == "static" ? this.$element[0].focus.call(this.$element[0]) : this.hide.call(this)
}, this)), d && this.$backdrop[0].offsetwidth, this.$backdrop.addclass("in");
if (!b) return;
d ? this.$backdrop.one(a.support.transition.end, b).emulatetransitionend(150) : b()
} else !this.isshown && this.$backdrop ? (this.$backdrop.removeclass("in"), a.support.transition && this.$element.hasclass("fade") ? this.$backdrop.one(a.support.transition.end, b).emulatetransitionend(150) : b()) : b && b()
};
var c = a.fn.modal;
a.fn.modal = function(c, d) {
return this.each(function() {
var e = a(this),
f = e.data("bs.modal"),
g = a.extend({}, b.defaults, e.data(), typeof c == "object" && c);
f || e.data("bs.modal", f = new b(this, g)), typeof c == "string" ? f[c](d) : g.show && f.show(d)
})
}, a.fn.modal.constructor = b, a.fn.modal.noconflict = function() {
return a.fn.modal = c, this
}, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function(b) {
var c = a(this),
d = c.attr("href"),
e = a(c.attr("data-target") || d && d.replace(/.*(?=#[^\s]+$)/, "")),
f = e.data("bs.modal") ? "toggle" : a.extend({
remote: !/#/.test(d) && d
}, e.data(), c.data());
c.is("a") && b.preventdefault(), e.modal(f, this).one("hide", function() {
c.is(":visible") && c.focus()
})
}), a(document).on("show.bs.modal", ".modal", function() {
a(document.body).addclass("modal-open")
}).on("hidden.bs.modal", ".modal", function() {
a(document.body).removeclass("modal-open")
})
}(jquery), + function(a) {
"use strict";
var b = function(a, b) {
this.type = this.options = this.enabled = this.timeout = this.hoverstate = this.$element = null, this.init("tooltip", a, b)
};
b.defaults = {
animation: !0,
placement: "top",
selector: !1,
template: '',
trigger: "hover focus",
title: "",
delay: 0,
html: !1,
container: !1
}, b.prototype.init = function(b, c, d) {
this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getoptions(d);
var e = this.options.trigger.split(" ");
for (var f = e.length; f--;) {
var g = e[f];
if (g == "click") this.$element.on("click." + this.type, this.options.selector, a.proxy(this.toggle, this));
else if (g != "manual") {
var h = g == "hover" ? "mouseenter" : "focusin",
i = g == "hover" ? "mouseleave" : "focusout";
this.$element.on(h + "." + this.type, this.options.selector, a.proxy(this.enter, this)), this.$element.on(i + "." + this.type, this.options.selector, a.proxy(this.leave, this))
}
}
this.options.selector ? this._options = a.extend({}, this.options, {
trigger: "manual",
selector: ""
}) : this.fixtitle()
}, b.prototype.getdefaults = function() {
return b.defaults
}, b.prototype.getoptions = function(b) {
return b = a.extend({}, this.getdefaults(), this.$element.data(), b), b.delay && typeof b.delay == "number" && (b.delay = {
show: b.delay,
hide: b.delay
}), b
}, b.prototype.getdelegateoptions = function() {
var b = {},
c = this.getdefaults();
return this._options && a.each(this._options, function(a, d) {
c[a] != d && (b[a] = d)
}), b
}, b.prototype.enter = function(b) {
var c = b instanceof this.constructor ? b : a(b.currenttarget)[this.type](this.getdelegateoptions()).data("bs." + this.type);
cleartimeout(c.timeout), c.hoverstate = "in";
if (!c.options.delay || !c.options.delay.show) return c.show();
c.timeout = settimeout(function() {
c.hoverstate == "in" && c.show()
}, c.options.delay.show)
}, b.prototype.leave = function(b) {
var c = b instanceof this.constructor ? b : a(b.currenttarget)[this.type](this.getdelegateoptions()).data("bs." + this.type);
cleartimeout(c.timeout), c.hoverstate = "out";
if (!c.options.delay || !c.options.delay.hide) return c.hide();
c.timeout = settimeout(function() {
c.hoverstate == "out" && c.hide()
}, c.options.delay.hide)
}, b.prototype.show = function() {
var b = a.event("show.bs." + this.type);
if (this.hascontent() && this.enabled) {
this.$element.trigger(b);
if (b.isdefaultprevented()) return;
var c = this,
d = this.tip();
this.setcontent(), this.options.animation && d.addclass("fade");
var e = typeof this.options.placement == "function" ? this.options.placement.call(this, d[0], this.$element[0]) : this.options.placement,
f = /\s?auto?\s?/i,
g = f.test(e);
g && (e = e.replace(f, "") || "top"), d.detach().css({
top: 0,
left: 0,
display: "block"
}).addclass(e), this.options.container ? d.appendto(this.options.container) : d.insertafter(this.$element);
var h = this.getposition(),
i = d[0].offsetwidth,
j = d[0].offsetheight;
if (g) {
var k = this.$element.parent(),
l = e,
m = document.documentelement.scrolltop || document.body.scrolltop,
n = this.options.container == "body" ? window.innerwidth : k.outerwidth(),
o = this.options.container == "body" ? window.innerheight : k.outerheight(),
p = this.options.container == "body" ? 0 : k.offset().left;
e = e == "bottom" && h.top + h.height + j - m > o ? "top" : e == "top" && h.top - m - j < 0 ? "bottom" : e == "right" && h.right + i > n ? "left" : e == "left" && h.left - i < p ? "right" : e, d.removeclass(l).addclass(e)
}
var q = this.getcalculatedoffset(e, h, i, j);
this.applyplacement(q, e), this.hoverstate = null;
var r = function() {
c.$element.trigger("shown.bs." + c.type)
};
a.support.transition && this.$tip.hasclass("fade") ? d.one(a.support.transition.end, r).emulatetransitionend(150) : r()
}
}, b.prototype.applyplacement = function(b, c) {
var d, e = this.tip(),
f = e[0].offsetwidth,
g = e[0].offsetheight,
h = parseint(e.css("margin-top"), 10),
i = parseint(e.css("margin-left"), 10);
isnan(h) && (h = 0), isnan(i) && (i = 0), b.top = b.top + h, b.left = b.left + i, a.offset.setoffset(e[0], a.extend({
using: function(a) {
e.css({
top: math.round(a.top),
left: math.round(a.left)
})
}
}, b), 0), e.addclass("in");
var j = e[0].offsetwidth,
k = e[0].offsetheight;
c == "top" && k != g && (d = !0, b.top = b.top + g - k);
if (/bottom|top/.test(c)) {
var l = 0;
b.left < 0 && (l = b.left * -2, b.left = 0, e.offset(b), j = e[0].offsetwidth, k = e[0].offsetheight), this.replacearrow(l - f + j, j, "left")
} else this.replacearrow(k - g, k, "top");
d && e.offset(b)
}, b.prototype.replacearrow = function(a, b, c) {
this.arrow().css(c, a ? 50 * (1 - a / b) + "%" : "")
}, b.prototype.setcontent = function() {
var a = this.tip(),
b = this.gettitle();
a.find(".tooltip-inner")[this.options.html ? "html" : "text"](b), a.removeclass("fade in top bottom left right")
}, b.prototype.hide = function() {
function e() {
b.hoverstate != "in" && c.detach(), b.$element.trigger("hidden.bs." + b.type)
}
var b = this,
c = this.tip(),
d = a.event("hide.bs." + this.type);
this.$element.trigger(d);
if (d.isdefaultprevented()) return;
return c.removeclass("in"), a.support.transition && this.$tip.hasclass("fade") ? c.one(a.support.transition.end, e).emulatetransitionend(150) : e(), this.hoverstate = null, this
}, b.prototype.fixtitle = function() {
var a = this.$element;
(a.attr("title") || typeof a.attr("data-original-title") != "string") && a.attr("data-original-title", a.attr("title") || "").attr("title", "")
}, b.prototype.hascontent = function() {
return this.gettitle()
}, b.prototype.getposition = function() {
var b = this.$element[0];
return a.extend({}, typeof b.getboundingclientrect == "function" ? b.getboundingclientrect() : {
width: b.offsetwidth,
height: b.offsetheight
}, this.$element.offset())
}, b.prototype.getcalculatedoffset = function(a, b, c, d) {
return a == "bottom" ? {
top: b.top + b.height,
left: b.left + b.width / 2 - c / 2
} : a == "top" ? {
top: b.top - d,
left: b.left + b.width / 2 - c / 2
} : a == "left" ? {
top: b.top + b.height / 2 - d / 2,
left: b.left - c
} : {
top: b.top + b.height / 2 - d / 2,
left: b.left + b.width
}
}, b.prototype.gettitle = function() {
var a, b = this.$element,
c = this.options;
return a = b.attr("data-original-title") || (typeof c.title == "function" ? c.title.call(b[0]) : c.title), a
}, b.prototype.tip = function() {
return this.$tip = this.$tip || a(this.options.template)
}, b.prototype.arrow = function() {
return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow")
}, b.prototype.validate = function() {
this.$element[0].parentnode || (this.hide(), this.$element = null, this.options = null)
}, b.prototype.enable = function() {
this.enabled = !0
}, b.prototype.disable = function() {
this.enabled = !1
}, b.prototype.toggleenabled = function() {
this.enabled = !this.enabled
}, b.prototype.toggle = function(b) {
var c = b ? a(b.currenttarget)[this.type](this.getdelegateoptions()).data("bs." + this.type) : this;
c.tip().hasclass("in") ? c.leave(c) : c.enter(c)
}, b.prototype.destroy = function() {
cleartimeout(this.timeout), this.hide().$element.off("." + this.type).removedata("bs." + this.type)
};
var c = a.fn.tooltip;
a.fn.tooltip = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.tooltip"),
f = typeof c == "object" && c;
if (!e && c == "destroy") return;
e || d.data("bs.tooltip", e = new b(this, f)), typeof c == "string" && e[c]()
})
}, a.fn.tooltip.constructor = b, a.fn.tooltip.noconflict = function() {
return a.fn.tooltip = c, this
}
}(jquery), + function(a) {
"use strict";
var b = function(a, b) {
this.init("popover", a, b)
};
if (!a.fn.tooltip) throw new error("popover requires tooltip.js");
b.defaults = a.extend({}, a.fn.tooltip.constructor.defaults, {
placement: "right",
trigger: "click",
content: "",
template: ''
}), b.prototype = a.extend({}, a.fn.tooltip.constructor.prototype), b.prototype.constructor = b, b.prototype.getdefaults = function() {
return b.defaults
}, b.prototype.setcontent = function() {
var a = this.tip(),
b = this.gettitle(),
c = this.getcontent();
a.find(".popover-title")[this.options.html ? "html" : "text"](b), a.find(".popover-content")[this.options.html ? typeof c == "string" ? "html" : "append" : "text"](c), a.removeclass("fade top bottom left right in"), a.find(".popover-title").html() || a.find(".popover-title").hide()
}, b.prototype.hascontent = function() {
return this.gettitle() || this.getcontent()
}, b.prototype.getcontent = function() {
var a = this.$element,
b = this.options;
return a.attr("data-content") || (typeof b.content == "function" ? b.content.call(a[0]) : b.content)
}, b.prototype.arrow = function() {
return this.$arrow = this.$arrow || this.tip().find(".arrow")
}, b.prototype.tip = function() {
return this.$tip || (this.$tip = a(this.options.template)), this.$tip
};
var c = a.fn.popover;
a.fn.popover = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.popover"),
f = typeof c == "object" && c;
if (!e && c == "destroy") return;
e || d.data("bs.popover", e = new b(this, f)), typeof c == "string" && e[c]()
})
}, a.fn.popover.constructor = b, a.fn.popover.noconflict = function() {
return a.fn.popover = c, this
}
}(jquery), + function(a) {
"use strict";
var b = function(b) {
this.element = a(b)
};
b.prototype.show = function() {
var b = this.element,
c = b.closest("ul:not(.dropdown-menu)"),
d = b.data("target");
d || (d = b.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, ""));
if (b.parent("li").hasclass("active")) return;
var e = c.find(".active:last a")[0],
f = a.event("show.bs.tab", {
relatedtarget: e
});
b.trigger(f);
if (f.isdefaultprevented()) return;
var g = a(d);
this.activate(b.parent("li"), c), this.activate(g, g.parent(), function() {
b.trigger({
type: "shown.bs.tab",
relatedtarget: e
})
})
}, b.prototype.activate = function(b, c, d) {
function g() {
e.removeclass("active").find("> .dropdown-menu > .active").removeclass("active"), b.addclass("active"), f ? (b[0].offsetwidth, b.addclass("in")) : b.removeclass("fade"), b.parent(".dropdown-menu") && b.closest("li.dropdown").addclass("active"), d && d()
}
var e = c.find("> .active"),
f = d && a.support.transition && e.hasclass("fade");
f ? e.one(a.support.transition.end, g).emulatetransitionend(150) : g(), e.removeclass("in")
};
var c = a.fn.tab;
a.fn.tab = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.tab");
e || d.data("bs.tab", e = new b(this)), typeof c == "string" && e[c]()
})
}, a.fn.tab.constructor = b, a.fn.tab.noconflict = function() {
return a.fn.tab = c, this
}, a(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"]', function(b) {
b.preventdefault(), a(this).tab("show")
})
}(jquery), + function(a) {
"use strict";
var b = function(c, d) {
this.options = a.extend({}, b.defaults, d), this.$window = a(window).on("scroll.bs.affix.data-api", a.proxy(this.checkposition, this)).on("click.bs.affix.data-api", a.proxy(this.checkpositionwitheventloop, this)), this.$element = a(c), this.affixed = this.unpin = this.pinnedoffset = null, this.checkposition()
};
b.reset = "affix affix-top affix-bottom", b.defaults = {
offset: 0
}, b.prototype.getpinnedoffset = function() {
if (this.pinnedoffset) return this.pinnedoffset;
this.$element.removeclass(b.reset).addclass("affix");
var a = this.$window.scrolltop(),
c = this.$element.offset();
return this.pinnedoffset = c.top - a
}, b.prototype.checkpositionwitheventloop = function() {
settimeout(a.proxy(this.checkposition, this), 1)
}, b.prototype.checkposition = function() {
if (!this.$element.is(":visible")) return;
var c = a(document).height(),
d = this.$window.scrolltop(),
e = this.$element.offset(),
f = this.options.offset,
g = f.top,
h = f.bottom;
this.affixed == "top" && (e.top += d), typeof f != "object" && (h = g = f), typeof g == "function" && (g = f.top(this.$element)), typeof h == "function" && (h = f.bottom(this.$element));
var i = this.unpin != null && d + this.unpin <= e.top ? !1 : h != null && e.top + this.$element.height() >= c - h ? "bottom" : g != null && d <= g ? "top" : !1;
if (this.affixed === i) return;
this.unpin && this.$element.css("top", "");
var j = "affix" + (i ? "-" + i : ""),
k = a.event(j + ".bs.affix");
this.$element.trigger(k);
if (k.isdefaultprevented()) return;
this.affixed = i, this.unpin = i == "bottom" ? this.getpinnedoffset() : null, this.$element.removeclass(b.reset).addclass(j).trigger(a.event(j.replace("affix", "affixed"))), i == "bottom" && this.$element.offset({
top: c - h - this.$element.height()
})
};
var c = a.fn.affix;
a.fn.affix = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.affix"),
f = typeof c == "object" && c;
e || d.data("bs.affix", e = new b(this, f)), typeof c == "string" && e[c]()
})
}, a.fn.affix.constructor = b, a.fn.affix.noconflict = function() {
return a.fn.affix = c, this
}, a(window).on("load", function() {
a('[data-spy="affix"]').each(function() {
var b = a(this),
c = b.data();
c.offset = c.offset || {}, c.offsetbottom && (c.offset.bottom = c.offsetbottom), c.offsettop && (c.offset.top = c.offsettop), b.affix(c)
})
})
}(jquery), + function(a) {
"use strict";
var b = function(c, d) {
this.$element = a(c), this.options = a.extend({}, b.defaults, d), this.transitioning = null, this.options.parent && (this.$parent = a(this.options.parent)), this.options.toggle && this.toggle()
};
b.defaults = {
toggle: !0
}, b.prototype.dimension = function() {
var a = this.$element.hasclass("width");
return a ? "width" : "height"
}, b.prototype.show = function() {
if (this.transitioning || this.$element.hasclass("in")) return;
var b = a.event("show.bs.collapse");
this.$element.trigger(b);
if (b.isdefaultprevented()) return;
var c = this.$parent && this.$parent.find("> .panel > .in");
if (c && c.length) {
var d = c.data("bs.collapse");
if (d && d.transitioning) return;
c.collapse("hide"), d || c.data("bs.collapse", null)
}
var e = this.dimension();
this.$element.removeclass("collapse").addclass("collapsing")[e](0), this.transitioning = 1;
var f = function() {
this.$element.removeclass("collapsing").addclass("collapse in")[e]("auto"), this.transitioning = 0, this.$element.trigger("shown.bs.collapse")
};
if (!a.support.transition) return f.call(this);
var g = a.camelcase(["scroll", e].join("-"));
this.$element.one(a.support.transition.end, a.proxy(f, this)).emulatetransitionend(350)[e](this.$element[0][g])
}, b.prototype.hide = function() {
if (this.transitioning || !this.$element.hasclass("in")) return;
var b = a.event("hide.bs.collapse");
this.$element.trigger(b);
if (b.isdefaultprevented()) return;
var c = this.dimension();
this.$element[c](this.$element[c]())[0].offsetheight, this.$element.addclass("collapsing").removeclass("collapse").removeclass("in"), this.transitioning = 1;
var d = function() {
this.transitioning = 0, this.$element.trigger("hidden.bs.collapse").removeclass("collapsing").addclass("collapse")
};
if (!a.support.transition) return d.call(this);
this.$element[c](0).one(a.support.transition.end, a.proxy(d, this)).emulatetransitionend(350)
}, b.prototype.toggle = function() {
this[this.$element.hasclass("in") ? "hide" : "show"]()
};
var c = a.fn.collapse;
a.fn.collapse = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.collapse"),
f = a.extend({}, b.defaults, d.data(), typeof c == "object" && c);
!e && f.toggle && c == "show" && (c = !c), e || d.data("bs.collapse", e = new b(this, f)), typeof c == "string" && e[c]()
})
}, a.fn.collapse.constructor = b, a.fn.collapse.noconflict = function() {
return a.fn.collapse = c, this
}, a(document).on("click.bs.collapse.data-api", "[data-toggle=collapse]", function(b) {
var c = a(this),
d, e = c.attr("data-target") || b.preventdefault() || (d = c.attr("href")) && d.replace(/.*(?=#[^\s]+$)/, ""),
f = a(e),
g = f.data("bs.collapse"),
h = g ? "toggle" : c.data(),
i = c.attr("data-parent"),
j = i && a(i);
if (!g || !g.transitioning) j && j.find('[data-toggle=collapse][data-parent="' + i + '"]').not(c).addclass("collapsed"), c[f.hasclass("in") ? "addclass" : "removeclass"]("collapsed");
f.collapse(h)
})
}(jquery), + function(a) {
function b(c, d) {
var e, f = a.proxy(this.process, this);
this.$element = a(c).is("body") ? a(window) : a(c), this.$body = a("body"), this.$scrollelement = this.$element.on("scroll.bs.scroll-spy.data-api", f), this.options = a.extend({}, b.defaults, d), this.selector = (this.options.target || (e = a(c).attr("href")) && e.replace(/.*(?=#[^\s]+$)/, "") || "") + " .nav li > a", this.offsets = a([]), this.targets = a([]), this.activetarget = null, this.refresh(), this.process()
}
"use strict", b.defaults = {
offset: 10
}, b.prototype.refresh = function() {
var b = this.$element[0] == window ? "offset" : "position";
this.offsets = a([]), this.targets = a([]);
var c = this,
d = this.$body.find(this.selector).map(function() {
var d = a(this),
e = d.data("target") || d.attr("href"),
f = /^#./.test(e) && a(e);
return f && f.length && f.is(":visible") && [
[f[b]().top + (!a.iswindow(c.$scrollelement.get(0)) && c.$scrollelement.scrolltop()), e]
] || null
}).sort(function(a, b) {
return a[0] - b[0]
}).each(function() {
c.offsets.push(this[0]), c.targets.push(this[1])
})
}, b.prototype.process = function() {
var a = this.$scrollelement.scrolltop() + this.options.offset,
b = this.$scrollelement[0].scrollheight || this.$body[0].scrollheight,
c = b - this.$scrollelement.height(),
d = this.offsets,
e = this.targets,
f = this.activetarget,
g;
if (a >= c) return f != (g = e.last()[0]) && this.activate(g);
if (f && a <= d[0]) return f != (g = e[0]) && this.activate(g);
for (g = d.length; g--;) f != e[g] && a >= d[g] && (!d[g + 1] || a <= d[g + 1]) && this.activate(e[g])
}, b.prototype.activate = function(b) {
this.activetarget = b, a(this.selector).parentsuntil(this.options.target, ".active").removeclass("active");
var c = this.selector + '[data-target="' + b + '"],' + this.selector + '[href="' + b + '"]',
d = a(c).parents("li").addclass("active");
d.parent(".dropdown-menu").length && (d = d.closest("li.dropdown").addclass("active")), d.trigger("activate.bs.scrollspy")
};
var c = a.fn.scrollspy;
a.fn.scrollspy = function(c) {
return this.each(function() {
var d = a(this),
e = d.data("bs.scrollspy"),
f = typeof c == "object" && c;
e || d.data("bs.scrollspy", e = new b(this, f)), typeof c == "string" && e[c]()
})
}, a.fn.scrollspy.constructor = b, a.fn.scrollspy.noconflict = function() {
return a.fn.scrollspy = c, this
}, a(window).on("load", function() {
a('[data-spy="scroll"]').each(function() {
var b = a(this);
b.scrollspy(b.data())
})
})
}(jquery), + function(a) {
function b() {
var a = document.createelement("bootstrap"),
b = {
webkittransition: "webkittransitionend",
moztransition: "transitionend",
otransition: "otransitionend otransitionend",
transition: "transitionend"
};
for (var c in b)
if (a.style[c] !== undefined) return {
end: b[c]
};
return !1
}
"use strict", a.fn.emulatetransitionend = function(b) {
var c = !1,
d = this;
a(this).one(a.support.transition.end, function() {
c = !0
});
var e = function() {
c || a(d).trigger(a.support.transition.end)
};
return settimeout(e, b), this
}, a(function() {
a.support.transition = b()
})
}(jquery)
/*
* jquery caroufredsel 6.0.4
* demo's and documentation:
* caroufredsel.frebsite.nl
*
* copyright (c) 2012 fred heusschen
* www.frebsite.nl
*
* dual licensed under the mit and gpl licenses.
* http://en.wikipedia.org/wiki/mit_license
* http://en.wikipedia.org/wiki/gnu_general_public_license
*/
eval(function(p, a, c, k, e, r) {
e = function(c) {
return (c < a ? '' : e(parseint(c / a))) + ((c = c % a) > 35 ? string.fromcharcode(c + 29) : c.tostring(36))
};
if (!''.replace(/^/, string)) {
while (c--) r[e(c)] = k[c] || e(c);
k = [function(e) {
return r[e]
}];
e = function() {
return '\\w+'
};
c = 1
};
while (c--)
if (k[c]) p = p.replace(new regexp('\\b' + e(c) + '\\b', 'g'), k[c]);
return p
}('(c($){8($.1r.1v){g}$.1r.6p=$.1r.1v=c(u,w){8(1k.s==0){18(i,\'6q 54 7p 1j "\'+1k.4l+\'".\');g 1k}8(1k.s>1){g 1k.1w(c(){$(1k).1v(u,w)})}e y=1k,$13=1k[0],55=k;8(y.1m(\'56\')){55=y.1q(\'3o\',\'4m\');y.r(\'3o\',[\'4n\',i])}y.57=c(o,a,b){o=3r($13,o);o.d=6r($13,o.d);o.1m=6s($13,o.1m);o.m=6t($13,o.m);o.v=59($13,o.v);o.y=59($13,o.y);o.1a=6u($13,o.1a);o.1q=6v($13,o.1q);o.1h=6w($13,o.1h);8(a){31=$.1n(i,{},$.1r.1v.5a,o)}7=$.1n(i,{},$.1r.1v.5a,o);7.d=6x(7);z.2b=(7.2b==\'4o\'||7.2b==\'1n\')?\'y\':\'v\';e c=y.14(),2w=5b($1s,7,\'n\');8(3p(7.25)){7.25=\'7q\'+f.3s}7.4p=5c(7,2w);7.d=6y(7.d,7,c,b);7[7.d[\'n\']]=6z(7[7.d[\'n\']],7,c);7[7.d[\'1d\']]=6a(7[7.d[\'1d\']],7,c);8(7.2m){8(!3t(7[7.d[\'n\']])){7[7.d[\'n\']]=\'2j%\'}}8(3t(7[7.d[\'n\']])){z.6b=i;z.4q=7[7.d[\'n\']];7[7.d[\'n\']]=4r(2w,z.4q);8(!7.d.l){7.d.t.1c=i}}8(7.2m){7.1r=k;7.1i=[0,0,0,0];7.1a=k;7.d.t.1c=k}o{8(!7.d.l){7=6c(7,2w)}8(!7[7.d[\'n\']]){8(!7.d.t.1c&&z(7.d[7.d[\'n\']])&&7.d.1t==\'*\'){7[7.d[\'n\']]=7.d.l*7.d[7.d[\'n\']];7.1a=k}o{7[7.d[\'n\']]=\'1c\'}}8(1g(7.1a)){7.1a=(z(7[7.d[\'n\']]))?\'5d\':k}8(7.d.t.1c){7.d.l=32(c,7,0)}}8(7.d.1t!=\'*\'&&!7.d.t.1c){7.d.t.4s=7.d.l;7.d.l=3u(c,7,0)}7.d.l=2x(7.d.l,7,7.d.t.2c,$13);7.d.t.1z=7.d.l;8(7.2m){8(!7.d.t.34){7.d.t.34=7.d.l}8(!7.d.t.1x){7.d.t.1x=7.d.l}7=5e(7,c,2w)}o{7.1i=6d(7.1i);8(7.1a==\'3q\'){7.1a=\'1n\'}o 8(7.1a==\'5f\'){7.1a=\'35\'}1b(7.1a){q\'5d\':q\'1n\':q\'35\':8(7[7.d[\'n\']]!=\'1c\'){7=5g(7,c);7.1r=i}16;2y:7.1a=k;7.1r=(7.1i[0]==0&&7.1i[1]==0&&7.1i[2]==0&&7.1i[3]==0)?k:i;16}}8(!z(7.1m.1c)){7.1m.1c=6e}8(1g(7.1m.d)){7.1m.d=(7.2m||7.d.t.1c||7.d.1t!=\'*\')?\'l\':7.d.l}7.m=$.1n(i,{},7.1m,7.m);7.v=$.1n(i,{},7.1m,7.v);7.y=$.1n(i,{},7.1m,7.y);7.1a=$.1n(i,{},7.1m,7.1a);7.m=6f($13,7.m);7.v=5h($13,7.v);7.y=5h($13,7.y);7.1a=6g($13,7.1a);7.1q=6h($13,7.1q);7.1h=6i($13,7.1h);8(7.2n){7.2n=5i(7.2n)}8(7.m.5j){7.m.4t=7.m.5j;2k(\'m.5j\',\'m.4t\')}8(7.m.5k){7.m.4u=7.m.5k;2k(\'m.5k\',\'m.4u\')}8(7.m.5l){7.m.4v=7.m.5l;2k(\'m.5l\',\'m.4v\')}8(7.m.5m){7.m.2l=7.m.5m;2k(\'m.5m\',\'m.2l\')}};y.6j=c(){y.1m(\'56\',i);e a=y.14(),3v=5n(y,[\'6k\',\'6l\',\'3w\',\'3q\',\'35\',\'5f\',\'1n\',\'3x\',\'n\',\'1d\',\'6m\',\'1s\',\'5o\',\'6n\']),5p=\'7r\';1b(3v.3w){q\'6o\':q\'7s\':5p=3v.3w;16}$1s.x(3v).x({\'7t\':\'3r\',\'3w\':5p});y.1m(\'5q\',3v).x({\'6k\':\'1n\',\'6l\':\'3y\',\'3w\':\'6o\',\'3q\':0,\'35\':\'m\',\'5f\':\'m\',\'1n\':0,\'6m\':0,\'1s\':0,\'5o\':0,\'6n\':0});4w(a,7);5r(a,7);8(7.2m){5s(7,a)}};y.6p=c(){y.5t();y.12(h(\'5u\',f),c(e,a){e.1f();8(!z.2d){8(7.m.w){7.m.w.36(2z(\'4x\',f))}}z.2d=i;8(7.m.1h){7.m.1h=k;y.r(h(\'3a\',f),a)}g i});y.12(h(\'5v\',f),c(e){e.1f();8(z.20){3z(u)}g i});y.12(h(\'3a\',f),c(e,a,b){e.1f();1u=3s(1u);8(a&&z.20){u.2d=i;e c=2o()-u.2m;u.1c-=c;8(u.3t){u.3t.1c-=c}8(u.3u){u.3u.1c-=c}3z(u,k)}8(!z.26&&!z.20){8(b){1u.3v+=2o()-1u.2m}}8(!z.26){8(7.m.w){7.m.w.36(2z(\'6q\',f))}}z.26=i;8(7.m.4u){e d=7.m.2l-1u.3v,3b=2j-1i.2a(d*2j/7.m.2l);7.m.4u.1g($13,3b,d)}g i});y.12(h(\'1h\',f),c(e,b,c,d){e.1f();1u=3s(1u);e v=[b,c,d],t=[\'2n\',\'27\',\'3c\'],a=3d(v,t);b=a[0];c=a[1];d=a[2];8(b!=\'v\'&&b!=\'y\'){b=z.2b}8(!z(c)){c=0}8(!1l(d)){d=k}8(d){z.2d=k;7.m.1h=i}8(!7.m.1h){e.2e();g 18(f,\'3w 4x: 2p 3e.\')}8(z.26){8(7.m.w){7.m.w.2o(2z(\'4x\',f));7.m.w.2o(2z(\'6q\',f))}}z.26=k;1u.2m=2o();e f=7.m.2l+c;41=f-1u.3v;3b=2j-1i.2a(41*2j/f);8(7.m.1e){1u.1e=7u(c(){e a=2o()-1u.2m+1u.3v,3b=1i.2a(a*2j/f);7.m.1e.4y.1g(7.m.1e.2q[0],3b)},7.m.1e.5w)}1u.m=7v(c(){8(7.m.1e){7.m.1e.4y.1g(7.m.1e.2q[0],2j)}8(7.m.4v){7.m.4v.1g($13,3b,41)}8(z.20){y.r(h(\'1h\',f),b)}o{y.r(h(b,f),7.m)}},41);8(7.m.4t){7.m.4t.1g($13,3b,41)}g i});y.12(h(\'3f\',f),c(e){e.1f();8(u.2d){u.2d=k;z.26=k;z.20=i;u.2m=2o();2p(u)}o{y.r(h(\'1h\',f))}g i});y.12(h(\'v\',f)+\' \'+h(\'y\',f),c(e,b,f,g,h){e.1f();8(z.2d||y.2f(\':3r\')){e.2e();g 18(f,\'3w 4x 7w 3r: 2p 3e.\')}e i=(z(7.d.4z))?7.d.4z:7.d.l+1;8(i>j.p){e.2e();g 18(f,\'2p 6r d (\'+j.p+\' p, \'+i+\' 6s): 2p 3e.\')}e v=[b,f,g,h],t=[\'2g\',\'27/2n\',\'c\',\'3c\'],a=3d(v,t);b=a[0];f=a[1];g=a[2];h=a[3];e k=e.5x.17(f.3x.42.s);8(!1d(b)){b={}}8(1o(g)){b.3g=g}8(1l(h)){b.3y=h}b=$.1n(i,{},7[k],b);8(b.5y&&!b.5y.1g($13,k)){e.2e();g 18(f,\'7x "5y" 7y k.\')}8(!z(f)){8(7.d.1t!=\'*\'){f=\'l\'}o{e m=[f,b.d,7[k].d];1j(e a=0,l=m.s;a0){8(z.20){8(b.3y){y.r(h(\'3y\',f),[k,[b,f,g]])}e.2e();g 18(f,\'3w 81 3e.\')}}1u.3v=0;y.r(h(\'6u\'+k,f),[b,f]);8(7.2n){e s=7.2n,c=[b,f];1j(e j=0,l=s.s;j=j.p){j.11-=j.p}8(!7.1t){8(j.11==0&&b.4e){b.4e.1g($13,\'v\')}8(!7.3z){3a(7,j.11,f)}}y.14().17(j.p-c,j.p).83(y);8(j.p<7.d.l+c){y.14().17(0,(7.d.l+c)-j.p).4f(i).43(y)}e d=y.14(),3h=6x(d,7,c),2i=6y(d,7),1y=d.1o(c-1),21=3h.3i(),2r=2i.3i();1u(d,7);e h=0,2b=0;8(7.1a){e p=4g(2i,7);h=p[0];2b=p[1]}e i=(h<0)?7.1i[7.d[3]]:0;e j=k,2q=$();8(7.d.l=0){1u(21,7,7.1i[7.d[1]])}8(h>=0){1u(1y,7,7.1i[7.d[3]])}8(7.1a){7.1i[7.d[1]]=2b;7.1i[7.d[3]]=h}2t[7.d[\'1n\']]=-(3b-i);5c[7.d[\'1n\']]=-(3c-i);4j[7.d[\'1n\']]=2j[7.d[\'n\']];e m=c(){},1p=c(){},1e=c(){},3d=c(){},2c=c(){},5e=c(){},1f=c(){},3e=c(){},1x=c(){},1y=c(){},1k=c(){};1b(b.1v){q\'3j\':q\'1j\':q\'1j-1w\':q\'22\':q\'22-1w\':l=y.4f(i).43($1s);16}1b(b.1v){q\'3j\':q\'22\':q\'22-1w\':l.14().17(0,c).2t();l.14().17(7.d.t.1z).2t();16;q\'1j\':q\'1j-1w\':l.14().17(7.d.l).2t();l.x(5c);16}y.x(2t);u=44(2u,b.2k);28[7.d[\'1n\']]=(7.1r)?7.1i[7.d[3]]:0;8(7[7.d[\'n\']]==\'1c\'||7[7.d[\'1d\']]==\'1c\'){m=c(){$1s.x(2j)};1p=c(){u.19.1b([$1s,2j])}}8(7.1r){8(2r.5f(1y).s){2s[7.d[\'1s\']]=1y.1m(\'29\');8(h<0){1y.x(2s)}o{1f=c(){1y.x(2s)};3e=c(){u.19.1b([1y,2s])}}}1b(b.1v){q\'1j\':q\'1j-1w\':l.14().1o(c-1).x(2s);16}8(2r.5f(21).s){2s[7.d[\'1s\']]=21.1m(\'29\');1e=c(){21.x(2s)};3d=c(){u.19.1b([21,2s])}}8(2b>=0){4k[7.d[\'1s\']]=2r.1m(\'29\')+7.1i[7.d[1]];2c=c(){2r.x(4k)};5e=c(){u.19.1b([2r,4k])}}}1k=c(){y.x(28)};e n=7.d.l+c-j.p;1y=c(){8(n>0){y.14().17(j.p).2t();3h=$(y.14().17(j.p-(7.d.l-n)).3f().70(y.14().17(0,n).3f()))}5g(j);8(7.1r){e a=y.14().1o(7.d.l+c-1);a.x(7.d[\'1s\'],a.1m(\'29\'))}};e o=5h(3h,2q,2i,c,\'v\',2u,2j);1x=c(){5i(y,l,b);z.20=k;2a.3g=45($13,b,\'3g\',o,2a);2d=5j(y,2d,f);8(!z.26){y.r(h(\'1h\',f))}};z.20=i;1u=3s(1u);2a.3g=45($13,b,\'3g\',o,2a);1b(b.1v){q\'3y\':y.x(28);m();1e();2c();1f();1k();1y();1x();16;q\'1w\':u.19.1b([y,{\'1l\':0},c(){m();1e();2c();1f();1k();1y();u=44(2u,b.2k);u.19.1b([y,{\'1l\':1},1x]);2p(u)}]);16;q\'3j\':y.x({\'1l\':0});u.19.1b([l,{\'1l\':0}]);u.19.1b([y,{\'1l\':1},1x]);1p();1e();2c();1f();1k();1y();16;q\'1j\':u.19.1b([l,28,c(){1e();2c();1f();1k();1y();1x()}]);1p();16;q\'1j-1w\':u.19.1b([y,{\'1l\':0}]);u.19.1b([l,28,c(){y.x({\'1l\':1});1e();2c();1f();1k();1y();1x()}]);1p();16;q\'22\':u.19.1b([l,4j,1x]);1p();1e();2c();1f();1k();1y();16;q\'22-1w\':y.x({\'1l\':0});u.19.1b([y,{\'1l\':1}]);u.19.1b([l,4j,1x]);1p();1e();2c();1f();1k();1y();16;2y:u.19.1b([y,28,c(){1y();1x()}]);1p();3d();5e();3e();16}2p(u);5k(7.25,y,f);y.r(h(\'3h\',f),[k,2j]);g i});y.12(h(\'84\',f),c(e,c,d){e.1f();e f=y.14();8(!7.1t){8(j.11==7.d.l){8(7.3z){y.r(h(\'v\',f),j.p-1)}g e.2e()}}1u(f,7);8(!z(d)){8(7.d.1t!=\'*\'){e g=(z(c.d))?c.d:5z(y,7);d=71(f,7,0,g)}o{d=7.d.l}d=4c(d,7,c.d,$13)}e h=(j.11==0)?j.p:j.11;8(!7.1t){8(7.d.t.1c){e i=32(f,7,d),g=4b(f,7,h-1)}o{e i=7.d.l,g=7.d.l}8(d+i>h){d=h-g}}7.d.t.1z=7.d.l;8(7.d.t.1c){e i=2x(5l(f,7,d,h),7,7.d.t.2c,$13);2h(7.d.l-d>=i&&d=0){o+=7.1i[7.d[1]]}2r.x(7.d[\'1s\'],o);8(1y.5f(21).s){2s[7.d[\'1s\']]=21.1m(\'29\')}1e=c(){21.x(2s)};3d=c(){u.19.1b([21,2s])};e q=1y.1m(\'29\');8(j>0){q+=7.1i[7.d[3]]}2s[7.d[\'1s\']]=q;1f=c(){1y.x(2s)};3e=c(){u.19.1b([1y,2s])}}1k=c(){y.x(2t)};e r=7.d.l+d-j.p;1y=c(){8(r>0){y.14().17(j.p).2t()}e a=y.14().17(0,d).43(y).3i();8(r>0){2i=3i(f,7)}5g(k);8(7.1r){8(j.p<7.d.l+d){e b=y.14().1o(7.d.l-1);b.x(7.d[\'1s\'],b.1m(\'29\')+7.1i[7.d[3]])}a.x(7.d[\'1s\'],a.1m(\'29\'))}};e s=5h(3h,2q,2i,d,\'y\',2u,2j);1x=c(){y.x(\'3x\',y.1m(\'5q\').3x);5i(y,m,c);z.20=k;2a.3g=45($13,c,\'3g\',s,2a);2d=5j(y,2d,f);8(!z.26){y.r(h(\'1h\',f))}};z.20=i;1u=3s(1u);2a.3g=45($13,c,\'3g\',s,2a);1b(c.1v){q\'3y\':y.x(28);n();1e();1f();1k();1y();1x();16;q\'1w\':u.19.1b([y,{\'1l\':0},c(){n();1e();1f();1k();1y();u=44(2u,c.2k);u.19.1b([y,{\'1l\':1},1x]);2p(u)}]);16;q\'3j\':y.x({\'1l\':0});u.19.1b([m,{\'1l\':0}]);u.19.1b([y,{\'1l\':1},1x]);1p();1e();1f();1k();1y();16;q\'1j\':y.x(7.d[\'1n\'],$1s[7.d[\'n\']]());u.19.1b([y,2t,1x]);1p();1e();1f();1y();16;q\'1j-1w\':y.x(7.d[\'1n\'],$1s[7.d[\'n\']]());u.19.1b([m,{\'1l\':0}]);u.19.1b([y,2t,1x]);1p();1e();1f();1y();16;q\'22\':u.19.1b([m,4l,1x]);1p();1e();1f();1k();1y();16;q\'22-1w\':y.x({\'1l\':0});u.19.1b([y,{\'1l\':1}]);u.19.1b([m,4l,1x]);1p();1e();1f();1k();1y();16;2y:u.19.1b([y,28,c(){1k();1y();1x()}]);1p();3d();3e();16}2p(u);5k(7.25,y,f);y.r(h(\'3h\',f),[k,2j]);g i});y.12(h(\'3k\',f),c(e,b,c,d,f,g,h){e.1f();e v=[b,c,d,f,g,h],t=[\'2n/27/2g\',\'27\',\'3c\',\'2g\',\'2n\',\'c\'],a=3d(v,t);f=a[3];g=a[4];h=a[5];b=3j(a[0],a[1],a[2],j,y);8(b==0){g k}8(!1d(f)){f=k}8(z.20){8(!1d(f)||f.1c>0){g k}}8(g!=\'v\'&&g!=\'y\'){8(7.1t){g=(b<=j.p/2)?\'y\':\'v\'}o{g=(j.11==0||j.11>b)?\'y\':\'v\'}}8(g==\'v\'){b=j.p-b}y.r(h(g,f),[f,b,h]);g i});y.12(h(\'85\',f),c(e,a,b){e.1f();e c=y.1q(h(\'46\',f));g y.1q(h(\'5m\',f),[c-1,a,\'v\',b])});y.12(h(\'86\',f),c(e,a,b){e.1f();e c=y.1q(h(\'46\',f));g y.1q(h(\'5m\',f),[c+1,a,\'y\',b])});y.12(h(\'5m\',f),c(e,a,b,c,d){e.1f();8(!z(a)){a=y.1q(h(\'46\',f))}e f=7.1a.d||7.d.l,1x=1i.2a(j.p/f)-1;8(a<0){a=1x}8(a>1x){a=0}g y.1q(h(\'3k\',f),[a*f,0,i,b,c,d])});y.12(h(\'75\',f),c(e,s){e.1f();8(s){s=3j(s,0,i,j,y)}o{s=0}s+=j.11;8(s!=0){8(d.p>0){2h(s>j.p){s-=j.p}}y.87(y.14().17(s,j.p))}g i});y.12(h(\'2n\',f),c(e,s){e.1f();8(s){s=5i(s)}o 8(7.2n){s=7.2n}o{g 18(f,\'6q 88 4d 2n.\')}e n=y.1q(h(\'4m\',f)),x=i;1j(e j=0,l=s.s;j=j.p){j.11-=j.p}e h=y.14().1o(c);8(h.s){h[47](b)}o{y.77(b)}j.p=y.14().s;y.r(h(\'4n\',f));y.r(h(\'5o\',f));g i});y.12(h(\'78\',f),c(e,c,d,f){e.1f();e v=[c,d,f],t=[\'2n/27/2g\',\'3c\',\'27\'],a=3d(v,t);c=a[0];d=a[1];f=a[2];e g=k;8(c 2w $&&c.s>1){h=$();c.1w(c(i,a){e b=y.r(h(\'78\',f),[$(1k),d,f]);8(b)h=h.8a(b)});g h}8(1g(c)||c==\'4m\'){h=y.14().3i()}o{c=3j(c,f,d,j,y);e h=y.14().1o(c);8(h.s){8(c1x){2l=1x}8(1o(a)){a.1g($13,2l)}g 2l});y.12(h(\'8c\',f),c(e,a){e.1f();e b=3i(y.14(),7);8(1o(a)){a.1g($13,b)}g b});y.12(h(\'17\',f),c(e,f,l,b){e.1f();8(j.p==0){g k}e v=[f,l,b],t=[\'27\',\'27\',\'c\'],a=3d(v,t);f=(z(a[0]))?a[0]:0;l=(z(a[1]))?a[1]:j.p;b=a[2];f+=j.11;l+=j.11;8(d.p>0){2h(f>j.p){f-=j.p}2h(l>j.p){l-=j.p}2h(f<0){f+=j.p}2h(l<0){l+=j.p}}e c=y.14(),$i;8(l>f){$i=c.17(f,l)}o{$i=$(c.17(f,j.p).3f().70(c.17(0,l).3f()))}8(1o(b)){b.1g($13,$i)}g $i});y.12(h(\'26\',f)+\' \'+h(\'2d\',f)+\' \'+h(\'20\',f),c(e,a){e.1f();e b=e.5x.17(f.3x.42.s),5p=z[b];8(1o(a)){a.1g($13,5p)}g 5p});y.12(h(\'4a\',f),c(e,a,b,c){e.1f();e d=k;8(1o(a)){a.1g($13,7)}o 8(1d(a)){31=$.1n(i,{},31,a);8(b!==k)d=i;o 7=$.1n(i,{},7,a)}o 8(!1g(a)){8(1o(b)){e f=4o(\'7.\'+a);8(1g(f)){f=\'\'}b.1g($13,f)}o 8(!1g(b)){8(2x c!==\'3c\')c=i;4o(\'31.\'+a+\' = b\');8(c!==k)d=i;o 4o(\'7.\'+a+\' = b\')}o{g 4o(\'7.\'+a)}}8(d){1u(y.14(),7);y.57(31);y.5q();e g=4p(y,7);y.r(h(\'3h\',f),[i,g])}g 7});y.12(h(\'5o\',f),c(e,a,b){e.1f();8(1g(a)){a=$(\'8d\')}o 8(1p(a)){a=$(a)}8(!2u(a)||a.s==0){g 18(f,\'2p a 5n 2g.\')}8(!1p(b)){b=\'a.6p\'}a.8e(b).1w(c(){e h=1k.7a||\'\';8(h.s>0&&y.14().7b($(h))!=-1){$(1k).23(\'5r\').5r(c(e){e.2e();y.r(h(\'3k\',f),h)})}});g i});y.12(h(\'3h\',f),c(e,b,c){e.1f();8(!7.1a.1z){g}e d=7.1a.d||7.d.l,4q=1i.2a(j.p/d);8(b){8(7.1a.3k){7.1a.1z.14().2t();7.1a.1z.1w(c(){1j(e a=0;a<4q;a++){e i=y.14().1o(3j(a*d,0,i,j,y));$(1k).77(7.1a.3k.1g(i[0],a+1))}})}7.1a.1z.1w(c(){$(1k).14().23(7.1a.3l).1w(c(a){$(1k).12(7.1a.3l,c(e){e.2e();y.r(h(\'3k\',f),[a*d,-7.1a.4r,i,7.1a])})})})}e f=y.1q(h(\'46\',f))+7.1a.4r;8(f>=4q){f=0}8(f<0){f=4q-1}7.1a.1z.1w(c(){$(1k).14().2o(2z(\'7c\',f)).1o(f).36(2z(\'7c\',f))});g i});y.12(h(\'4n\',f),c(e){e a=7.d.l,2f=y.14(),2w=5b($1s,7,\'n\');j.p=2f.s;7.4p=5c(7,2w);8(z.4q){7[7.d[\'n\']]=4r(2w,z.4q)}8(7.2m){7.d.n=7.d.3m.n;7.d.1d=7.d.3m.1d;7=5e(7,2f,2w);a=7.d.l;5s(7,2f)}o 8(7.d.t.1c){a=32(2f,7,0)}o 8(7.d.1t!=\'*\'){a=3u(2f,7,0)}8(!7.1t&&j.11!=0&&a>j.11){8(7.d.t.1c){e b=4b(2f,7,j.11)-j.11}o 8(7.d.1t!=\'*\'){e b=7d(2f,7,j.11)-j.11}o{e b=7.d.l-j.11}18(f,\'8f 8g-1t: 8h \'+b+\' d 5a.\');y.r(h(\'v\',f),b)}7.d.l=2x(a,7,7.d.t.2c,$13);7.d.t.1z=7.d.l;7=5g(7,2f);e c=4p(y,7);y.r(h(\'3h\',f),[i,c]);4s(7,j.p,f);3a(7,j.11,f);g c});y.12(h(\'4n\',f),c(e,a){e.1f();1u=3s(1u);y.1m(\'56\',k);y.r(h(\'5v\',f));8(a){y.r(h(\'75\',f))}1u(y.14(),7);8(7.2m){y.14().1w(c(){$(1k).x($(1k).1m(\'7e\'))})}y.x(y.1m(\'5q\'));y.5t();y.5s();$1s.8i(y);g i});y.12(h(\'18\',f),c(e){18(f,\'3w n: \'+7.n);18(f,\'3w 1d: \'+7.1d);18(f,\'7f 8j: \'+7.d.n);18(f,\'7f 8k: \'+7.d.1d);18(f,\'48 4a d l: \'+7.d.l);8(7.m.1h){18(f,\'48 4a d 5t 8l: \'+7.m.d)}8(7.v.w){18(f,\'48 4a d 5t 5a: \'+7.v.d)}8(7.y.w){18(f,\'48 4a d 5t 72: \'+7.y.d)}g f.18});y.12(\'3o\',c(e,n,o){e.1f();g y.1q(h(n,f),o)})};y.5t=c(){y.23(h(\'\',f));y.23(h(\'\',f,k));y.23(\'3o\')};y.5q=c(){y.5s();4s(7,j.p,f);3a(7,j.11,f);8(7.m.2g){e b=3n(7.m.2g);$1s.12(h(\'4t\',f,k),c(){y.r(h(\'3a\',f),b)}).12(h(\'4u\',f,k),c(){y.r(h(\'3f\',f))})}8(7.m.w){7.m.w.12(h(7.m.3l,f,k),c(e){e.2e();e a=k,b=2h;8(z.26){a=\'1h\'}o 8(7.m.4v){a=\'3a\';b=3n(7.m.4v)}8(a){y.r(h(a,f),b)}})}8(7.v.w){7.v.w.12(h(7.v.3l,f,k),c(e){e.2e();y.r(h(\'v\',f))});8(7.v.2g){e b=3n(7.v.2g);7.v.w.12(h(\'4t\',f,k),c(){y.r(h(\'3a\',f),b)}).12(h(\'4u\',f,k),c(){y.r(h(\'3f\',f))})}}8(7.y.w){7.y.w.12(h(7.y.3l,f,k),c(e){e.2e();y.r(h(\'y\',f))});8(7.y.2g){e b=3n(7.y.2g);7.y.w.12(h(\'4t\',f,k),c(){y.r(h(\'3a\',f),b)}).12(h(\'4u\',f,k),c(){y.r(h(\'3f\',f))})}}8(7.1a.1z){8(7.1a.2g){e b=3n(7.1a.2g);7.1a.1z.12(h(\'4t\',f,k),c(){y.r(h(\'3a\',f),b)}).12(h(\'4u\',f,k),c(){y.r(h(\'3f\',f))})}}8(7.v.2y||7.y.2y){$(4b).12(h(\'7g\',f,k,i,i),c(e){e k=e.7h;8(k==7.y.2y){e.2e();y.r(h(\'y\',f))}8(k==7.v.2y){e.2e();y.r(h(\'v\',f))}})}8(7.1a.4w){$(4b).12(h(\'7g\',f,k,i,i),c(e){e k=e.7h;8(k>=49&&k<58){k=(k-49)*7.d.l;8(k<=j.p){e.2e();y.r(h(\'3k\',f),[k,0,i,7.1a])}}})}8(7.v.4x||7.y.4x){2k(\'4c 4d-7i\',\'4c 8m-7i\');8($.1r.4d){e c=(7.v.4x)?c(){y.r(h(\'v\',f))}:2h,4e=(7.y.4x)?c(){y.r(h(\'y\',f))}:2h;8(4e||4e){8(!z.4d){z.4d=i;e d={\'8n\':30,\'8o\':30,\'8p\':i};1b(7.2b){q\'4o\':q\'5u\':d.8q=c;d.8r=4e;16;2y:d.8s=4e;d.8t=c}$1s.4d(d)}}}}8($.1r.1q){e f=\'8u\'8v 3l;8((f&&7.1q.4f)||(!f&&7.1q.5v)){e g=$.1n(i,{},7.v,7.1q),7j=$.1n(i,{},7.y,7.1q),5w=c(){y.r(h(\'v\',f),[g])},5x=c(){y.r(h(\'y\',f),[7j])};1b(7.2b){q\'4o\':q\'5u\':7.1q.2i.8w=5x;7.1q.2i.8x=5w;16;2y:7.1q.2i.8y=5x;7.1q.2i.8z=5w}8(z.1q){y.1q(\'4n\')}$1s.1q(7.1q.2i);$1s.x(\'7k\',\'8a\');z.1q=i}}8($.1r.1h){8(7.v.1h){2k(\'7l v.1h 7m\',\'4c 1h 4a 2g\');7.v.1h=2h;7.1h={d:5y(7.v.1h)}}8(7.y.1h){2k(\'7l y.1h 7m\',\'4c 1h 4a 2g\');7.y.1h=2h;7.1h={d:5y(7.y.1h)}}8(7.1h){e h=$.1n(i,{},7.v,7.1h),7n=$.1n(i,{},7.y,7.1h);8(z.1h){$1s.23(h(\'1h\',f,k))}$1s.12(h(\'1h\',f,k),c(e,a){e.2e();8(a>0){y.r(h(\'v\',f),[h])}o{y.r(h(\'y\',f),[7n])}});z.1h=i}}8(7.m.1h){y.r(h(\'1h\',f),7.m.5z)}8(z.6b){e i=$(3l),61=0,62=0;i.12(h(\'8b\',f,k,i,i),c(e){e a=i.n(),63=i.1d();8(a!=61||63!=62){y.r(h(\'5v\',f));8(7.m.64&&!z.26){y.r(h(\'1h\',f))}1u(y.14(),7);y.r(h(\'4n\',f));61=a;62=63}})}};y.5s=c(){e a=h(\'\',f),3o=h(\'\',f,k);65=h(\'\',f,k,i,i);$(4b).23(65);$(3l).23(65);$1s.23(3o);8(7.m.w){7.m.w.23(3o)}8(7.v.w){7.v.w.23(3o)}8(7.y.w){7.y.w.23(3o)}8(7.1a.1z){7.1a.1z.23(3o);8(7.1a.3k){7.1a.1z.14().2t()}}8(z.1q){y.1q(\'4n\');$1s.x(\'7k\',\'2y\');z.1q=k}8(z.1h){z.1h=k}4s(7,\'4g\',f);3a(7,\'2o\',f)};8(1l(w)){w={\'18\':w}}e z={\'2b\':\'y\',\'26\':i,\'20\':k,\'2d\':k,\'1h\':k,\'1q\':k},j={\'p\':y.14().s,\'11\':0},1u={\'m\':2h,\'1e\':2h,\'2m\':2o(),\'3v\':0},u={\'2d\':k,\'1c\':0,\'2m\':0,\'2k\':\'\',\'19\':[]},2a={\'3g\':[],\'3g\':[]},2d=[],f=$.1n(i,{},$.1r.1v.7o,w),7={},31=$.1n(i,{},u),$1s=y.8c(\'<\'+f.66.54+\' 8d="\'+f.66.7p+\'" />\').68();f.4l=y.4l;f.3s=$.1r.1v.3s++;y.57(31,i,55);y.6j();y.6p();y.5q();8(2v(7.d.3m)){e a=7.d.3m}o{e a=[];8(7.d.3m!=0){a.1b(7.d.3m)}}8(7.25){a.8e(4h(7q(7.25),10))}8(a.s>0){1j(e a=0,l=a.s;a<7w>\'+a+\'7w>\'};$.1r.1v.7x=c(a){$(1k).x(\'n\',a+\'%\')};$.1r.1v.25={3f:c(n){n+=\'=\';e b=4b.25.3p(\';\');1j(e a=0,l=b.s;at){18(c,\'2p 6r d (\'+t+\' p, \'+a+\' 6s): 8y 8z.\');e f=\'4g\'}o{e f=\'4j\'}e s=(f==\'4j\')?\'2o\':\'36\',h=2z(\'3r\',c);8(o.m.w){o.m.w[f]()[s](h)}8(o.v.w){o.v.w[f]()[s](h)}8(o.y.w){o.y.w[f]()[s](h)}8(o.1a.1z){o.1a.1z[f]()[s](h)}}c 3a(o,f,c){8(o.1t||o.3z)g;e a=(f==\'2o\'||f==\'36\')?f:k,4y=2z(\'90\',c);8(o.m.w&&a){o.m.w[a](4y)}8(o.v.w){e b=a||(f==0)?\'36\':\'2o\';o.v.w[b](4y)}8(o.y.w){e b=a||(f==o.d.l)?\'36\':\'2o\';o.y.w[b](4y)}}c 3r(a,b){8(1o(b)){b=b.1g(a)}o 8(1g(b)){b={}}g b}c 6r(a,b){b=3r(a,b);8(z(b)){b={\'l\':b}}o 8(b==\'1c\'){b={\'l\':b,\'n\':b,\'1d\':b}}o 8(!1d(b)){b={}}g b}c 6s(a,b){b=3r(a,b);8(z(b)){8(b<=50){b={\'d\':b}}o{b={\'1c\':b}}}o 8(1p(b)){b={\'2k\':b}}o 8(!1d(b)){b={}}g b}c 4z(a,b){b=3r(a,b);8(1p(b)){e c=6d(b);8(c==-1){b=$(b)}o{b=c}}g b}c 6t(a,b){b=4z(a,b);8(2u(b)){b={\'w\':b}}o 8(1l(b)){b={\'1h\':b}}o 8(z(b)){b={\'2l\':b}}8(b.1e){8(1p(b.1e)||2u(b.1e)){b.1e={\'2q\':b.1e}}}g b}c 6f(a,b){8(1o(b.w)){b.w=b.w.1g(a)}8(1p(b.w)){b.w=$(b.w)}8(!1l(b.1h)){b.1h=i}8(!z(b.5z)){b.5z=0}8(1g(b.4v)){b.4v=i}8(!1l(b.64)){b.64=i}8(!z(b.2l)){b.2l=(b.1c<10)?91:b.1c*5}8(b.1e){8(1o(b.1e.2q)){b.1e.2q=b.1e.2q.1g(a)}8(1p(b.1e.2q)){b.1e.2q=$(b.1e.2q)}8(b.1e.2q){8(!1o(b.1e.4y)){b.1e.4y=$.1r.1v.7x}8(!z(b.1e.5w)){b.1e.5w=50}}o{b.1e=k}}g b}c 59(a,b){b=4z(a,b);8(2u(b)){b={\'w\':b}}o 8(z(b)){b={\'2y\':b}}g b}c 5h(a,b){8(1o(b.w)){b.w=b.w.1g(a)}8(1p(b.w)){b.w=$(b.w)}8(1p(b.2y)){b.2y=6d(b.2y)}g b}c 6u(a,b){b=4z(a,b);8(2u(b)){b={\'1z\':b}}o 8(1l(b)){b={\'4w\':b}}g b}c 6g(a,b){8(1o(b.1z)){b.1z=b.1z.1g(a)}8(1p(b.1z)){b.1z=$(b.1z)}8(!z(b.d)){b.d=k}8(!1l(b.4w)){b.4w=k}8(!1o(b.3k)&&!51(b.3k)){b.3k=$.1r.1v.7v}8(!z(b.4r)){b.4r=0}g b}c 6v(a,b){8(1o(b)){b=b.1g(a)}8(1g(b)){b={\'4f\':k}}8(3p(b)){b={\'4f\':b}}o 8(z(b)){b={\'d\':b}}g b}c 6h(a,b){8(!1l(b.4f)){b.4f=i}8(!1l(b.5v)){b.5v=k}8(!1d(b.2i)){b.2i={}}8(!1l(b.2i.7a)){b.2i.7a=k}g b}c 6w(a,b){8(1o(b)){b=b.1g(a)}8(3p(b)){b={}}o 8(z(b)){b={\'d\':b}}o 8(1g(b)){b=k}g b}c 6i(a,b){g b}c 3j(a,b,c,d,e){8(1p(a)){a=$(a,e)}8(1d(a)){a=$(a,e)}8(2u(a)){a=e.14().7b(a);8(!1l(c)){c=k}}o{8(!1l(c)){c=i}}8(!z(a)){a=0}8(!z(b)){b=0}8(c){a+=d.11}a+=b;8(d.p>0){2h(a>=d.p){a-=d.p}2h(a<0){a+=d.p}}g a}c 4b(i,o,s){e t=0,x=0;1j(e a=s;a>=0;a--){e j=i.1o(a);t+=(j.2f(\':l\'))?j[o.d[\'2v\']](i):0;8(t>o.4p){g x}8(a==0){a=i.s}x++}}c 7d(i,o,s){g 6e(i,o.d.1t,o.d.t.4s,s)}c 6v(i,o,s,m){g 6e(i,o.d.1t,m,s)}c 6e(i,f,m,s){e t=0,x=0;1j(e a=s,l=i.s;a>=0;a--){x++;8(x==l){g x}e j=i.1o(a);8(j.2f(f)){t++;8(t==m){g x}}8(a==0){a=l}}}c 5z(a,o){g o.d.t.4s||a.14().17(0,o.d.l).1t(o.d.1t).s}c 32(i,o,s){e t=0,x=0;1j(e a=s,l=i.s-1;a<=l;a++){e j=i.1o(a);t+=(j.2f(\':l\'))?j[o.d[\'2v\']](i):0;8(t>o.4p){g x}x++;8(x==l+1){g x}8(a==l){a=-1}}}c 5l(i,o,s,l){e v=32(i,o,s);8(!o.1t){8(s+v>l){v=l-s}}g v}c 3u(i,o,s){g 6f(i,o.d.1t,o.d.t.4s,s,o.1t)}c 71(i,o,s,m){g 6f(i,o.d.1t,m+1,s,o.1t)-1}c 6f(i,f,m,s,c){e t=0,x=0;1j(e a=s,l=i.s-1;a<=l;a++){x++;8(x>=l){g x}e j=i.1o(a);8(j.2f(f)){t++;8(t==m){g x}}8(a==l){a=-1}}}c 3i(i,o){g i.17(0,o.d.l)}c 6x(i,o,n){g i.17(n,o.d.t.1z+n)}c 6y(i,o){g i.17(0,o.d.l)}c 73(i,o){g i.17(0,o.d.t.1z)}c 74(i,o,n){g i.17(n,o.d.l+n)}c 4w(i,o,d){8(o.1r){8(!1p(d)){d=\'29\'}i.1w(c(){e j=$(1k),m=4h(j.x(o.d[\'1s\']),10);8(!z(m)){m=0}j.1m(d,m)})}}c 1u(i,o,m){8(o.1r){e x=(1l(m))?m:k;8(!z(m)){m=0}4w(i,o,\'7b\');i.1w(c(){e j=$(1k);j.x(o.d[\'1s\'],((x)?j.1m(\'7b\'):m+j.1m(\'29\')))})}}c 5r(i,o){8(o.2m){i.1w(c(){e j=$(1k),s=5n(j,[\'n\',\'1d\']);j.1m(\'7e\',s)})}}c 5s(o,b){e c=o.d.l,7c=o.d[o.d[\'n\']],6g=o[o.d[\'1d\']],7d=3t(6g);b.1w(c(){e a=$(1k),6h=7c-7e(a,o,\'92\');a[o.d[\'n\']](6h);8(7d){a[o.d[\'1d\']](4r(6h,6g))}})}c 4p(a,o){e b=a.68(),$i=a.14(),$v=3i($i,o),52=4h(4i($v,o,i),o,k);b.x(52);8(o.1r){e p=o.1i,r=p[o.d[1]];8(o.1a&&r<0){r=0}e c=$v.3i();c.x(o.d[\'1s\'],c.1m(\'29\')+r);a.x(o.d[\'3q\'],p[o.d[0]]);a.x(o.d[\'1n\'],p[o.d[3]])}a.x(o.d[\'n\'],52[o.d[\'n\']]+(2r($i,o,\'n\')*2));a.x(o.d[\'1d\'],6i($i,o,\'1d\'));g 52}c 4i(i,o,a){g[2r(i,o,\'n\',a),6i(i,o,\'1d\',a)]}c 6i(i,o,a,b){8(!1l(b)){b=k}8(z(o[o.d[a]])&&b){g o[o.d[a]]}8(z(o.d[o.d[a]])){g o.d[o.d[a]]}a=(a.6j().3q(\'n\')>-1)?\'2v\':\'3n\';g 4k(i,o,a)}c 4k(i,o,b){e s=0;1j(e a=0,l=i.s;a-1)?\'2v\':\'3n\',s=0;1j(e a=0,l=i.s;a-1&&1g(e[b])){e[b]=c[a];16}}}g e}c 6d(p){8(1g(p)){g[0,0,0,0]}8(z(p)){g[p,p,p,p]}8(1p(p)){p=p.3p(\'94\').7h(\'\').3p(\'95\').7h(\'\').3p(\' \')}8(!2v(p)){g[0,0,0,0]}1j(e i=0;i<4;i++){p[i]=4h(p[i],10)}1b(p.s){q 0:g[0,0,0,0];q 1:g[p[0],p[0],p[0],p[0]];q 2:g[p[0],p[1],p[0],p[1]];q 3:g[p[0],p[1],p[2],p[1]];2y:g[p[0],p[1],p[2],p[3]]}}c 4g(a,o){e x=(z(o[o.d[\'n\']]))?1i.2a(o[o.d[\'n\']]-2r(a,o,\'n\')):0;1b(o.1a){q\'1n\':g[0,x];q\'35\':g[x,0];q\'5d\':2y:g[1i.2a(x/2),1i.4i(x/2)]}}c 6x(o){e a=[[\'n\',\'7i\',\'2v\',\'1d\',\'7j\',\'3n\',\'1n\',\'3q\',\'1s\',0,1,2,3],[\'1d\',\'7j\',\'3n\',\'n\',\'7i\',\'2v\',\'3q\',\'1n\',\'5o\',3,2,1,0]];e b=a[0].s,7k=(o.2b==\'35\'||o.2b==\'1n\')?0:1;e c={};1j(e d=0;dp.s){e c=i,6l=m[0],2z=m[1]}o{e c=k,6l=p[0],2z=p[1]}1b(6l){q\'96\':v=(x%2==1)?x-1:x;16;q\'97\':v=(x%2==0)?x-1:x;16;2y:v=x;16}2z=4h(2z,10);8(z(2z)){8(c){2z=-2z}v+=2z}}8(!z(v)||v<1){v=1}g v}c 2x(x,o,a,b){g 6m(4c(x,o,a,b),o.d.t)}c 6m(v,i){8(z(i.34)&&vi.1x){v=i.1x}8(v<1){v=1}g v}c 5i(s){8(!2v(s)){s=[[s]]}8(!2v(s[0])){s=[s]}1j(e j=0,l=s.s;j0)?\':l\':\'*\'}8(!a[b.d[\'n\']]){8(b.2m){18(i,\'7l a \'+b.d[\'n\']+\' 1j 4c d!\');a[b.d[\'n\']]=4k(c,b,\'2v\')}o{a[b.d[\'n\']]=(6k(c,b,\'2v\'))?\'1c\':c[b.d[\'2v\']](i)}}8(!a[b.d[\'1d\']]){a[b.d[\'1d\']]=(6k(c,b,\'3n\'))?\'1c\':c[b.d[\'3n\']](i)}a.3m.n=a.n;a.3m.1d=a.1d;g a}c 6c(a,b){8(a.d[a.d[\'n\']]==\'1c\'){a.d.t.1c=i}8(!a.d.t.1c){8(z(a[a.d[\'n\']])){a.d.l=1i.4i(a[a.d[\'n\']]/a.d[a.d[\'n\']])}o{a.d.l=1i.4i(b/a.d[a.d[\'n\']]);a[a.d[\'n\']]=a.d.l*a.d[a.d[\'n\']];8(!a.d.t.2c){a.1a=k}}8(a.d.l==\'98\'||a.d.l<1){18(i,\'2p a 5n 27 4a l d: 7l 4d "1c".\');a.d.t.1c=i}}g a}c 6z(a,b,c){8(a==\'m\'){a=4k(c,b,\'2v\')}g a}c 6a(a,b,c){8(a==\'m\'){a=4k(c,b,\'3n\')}8(!a){a=b.d[b.d[\'1d\']]}g a}c 5g(o,a){e p=4g(3i(a,o),o);o.1i[o.d[1]]=p[1];o.1i[o.d[3]]=p[0];g o}c 5e(o,a,b){e c=6m(1i.2a(o[o.d[\'n\']]/o.d[o.d[\'n\']]),o.d.t);8(c>a.s){c=a.s}e d=1i.4i(o[o.d[\'n\']]/c);o.d.l=c;o.d[o.d[\'n\']]=d;o[o.d[\'n\']]=c*d;g o}c 3n(p){8(1p(p)){e i=(p.3q(\'99\')>-1)?i:k,r=(p.3q(\'3f\')>-1)?i:k}o{e i=r=k}g[i,r]}c 5y(a){g(z(a))?a:2h}c 6n(a){g(a===2h)}c 1g(a){g(6n(a)||2x a==\'7m\'||a===\'\'||a===\'7m\')}c 2v(a){g(a 2w 9a)}c 2u(a){g(a 2w 7n)}c 1d(a){g((a 2w 9b||2x a==\'2g\')&&!6n(a)&&!2u(a)&&!2v(a))}c z(a){g((a 2w 48||2x a==\'27\')&&!9c(a))}c 1p(a){g((a 2w 9d||2x a==\'2n\')&&!1g(a)&&!3p(a)&&!51(a))}c 1o(a){g(a 2w 9e||2x a==\'c\')}c 1l(a){g(a 2w 9f||2x a==\'3c\'||3p(a)||51(a))}c 3p(a){g(a===i||a===\'i\')}c 51(a){g(a===k||a===\'k\')}c 3t(x){g(1p(x)&&x.17(-1)==\'%\')}c 2o(){g 6c 7y().2o()}c 2k(o,n){18(i,o+\' 2f 9g, 9h 1j 9i 9j 9k 9l. 9m \'+n+\' 9n.\')}c 18(d,m){8(1d(d)){e s=\' (\'+d.4l+\')\';d=d.18}o{e s=\'\'}8(!d){g k}8(1p(m)){m=\'1v\'+s+\': \'+m}o{m=[\'1v\'+s+\':\',m]}8(3l.6o&&3l.6o.7o){3l.6o.7o(m)}g k}$.1n($.2k,{\'9o\':c(t){e a=t*t;g t*(-a*t+4*a-6*t+4)},\'9p\':c(t){g t*(4*t*t-9*t+6)},\'9q\':c(t){e a=t*t;g t*(33*a*a-9r*a*t+9s*a-67*t+15)}})})(7n);', 62, 587, '|||||||opts|if||||||||||||||||||||||||||||||function|items|var|conf|return|cf_e|true|itms|false|visible|auto|width|else|total|case|trigger|length|visibleconf|scrl|prev|button|css|next|is_number||first|bind|tt0|children||break|slice|debug|anims|pagination|push|variable|height|progress|stoppropagation|call|mousewheel|padding|for|this|is_boolean|data|left|is_function|is_string|swipe|fn|wrp|filter|tmrs|caroufredsel|fade|_onafter|_moveitems|container|align|switch|duration|is_object|_s_paddingold|_s_paddingcur|is_undefined|play|math|cover|_position|opacity|scroll|extend|eq|_a_wrapper|triggerhandler|usepadding|marginright|circular|sz_resetmargin|fx|each|max|i_cur_l|old|isscrolling|i_old_l|uncover|unbind||cookie|ispaused|number|a_cfs|_cfs_origcssmargin|clbk|direction|adjust|isstopped|stopimmediatepropagation|is|object|while|i_new|w_siz|easing|nr|responsive|synchronise|gettime|not|bar|i_new_l|a_cur|remove|is_jquery|outerwidth|avail_primary|cf_getitemsadjust|default|cf_c|ceil|pr|_s_paddingnew|queu|preventdefault|a_itm|pauseonhover|null|options|100|deprecated|timeoutduration|starttime|string|removeclass|sc_startscroll|i_skp|ms_gettotalsize|a_old|a_lef|a_dur|is_array|instanceof|typeof|key|adj||opts_orig|gn_getvisibleitemsnext||min|right|addclass||||pause|perc|boolean|cf_sortparams|scrolling|resume|onafter|i_old|last|crossfade|slideto|window|start|outerheight|_cfs_triggerevent|is_true|top|hidden|sc_cleartimers|pre|post|timepassed|carousel|events|queue|infinite|nv_enablenavi|i_siz|i_siz_vis|_a_paddingold|_a_paddingcur|get|onbefore|updatepagestatus|gi_getcurrentitems|gn_getitemindex|anchorbuilder|event|sizesconf|bt_pauseonhoverconfig|ns2|split|indexof|go_getobject|serialnumber|is_percentage|gn_getvisibleitemsnextfilter|orgcss|position|zindex|none|sc_stopscroll||dur2|prefix|appendto|sc_setscroll|sc_firecallbacks|currentpage|before|number||of|document|the|touchwipe|wn|ontouch|hide|parseint|floor|show|ms_gettruelargestsize|selector|currentposition|destroy|up|maxdimension|primarysizepercentage|ms_getpercentage|org|ontimeoutstart|ontimeoutpause|ontimeoutend|sz_storemargin|stopped|updater|minimum|configuration|gn_getvisibleitemsprev|cf_getadjust|to|onend|clone|cf_getalignpadding|cf_mapwrappersizes|ms_getsizes|a_wsz|a_new|a_cfs_vis|end|updatesizes|eval|sz_setsizes|pgs|deviation|nv_shownavi|mouseenter|mouseleave|pauseonevent|keys|wipe|di|go_getnaviobject||is_false|sz|prop|element|starting_position|_cfs_iscarousel|_cfs_init||go_getprevnextobject|defaults|ms_getparentsize|ms_getmaxdimension|center|in_getresponsivevalues|bottom|in_getalignpadding|go_complementprevnextobject|cf_getsyncharr|onpausestart|onpausepause|onpauseend|pauseduration|in_mapcss|marginbottom|newposition|_cfs_origcss|sz_storesizes|sz_setresponsivesizes|_cfs_unbind_events|stop|finish|interval|type|conditions|gn_getvisibleorg|backward|sc_hidehiddenitems|a_lef_vis|sc_getduration|_a_paddingnew|not|sc_showhiddenitems|sc_mapcallbackarguments|sc_afterscroll|sc_firequeue|cf_setcookie|gn_getvisibleitemsnexttestcircular|slidetopage|valid|linkanchors|value|_cfs_bind_buttons|click|_cfs_unbind_buttons|scrolled|down|onmouse|swp|swn|bt_mousesheelnumber|delay||_windowwidth|_windowheight|nh|pauseonresize|ns3|wrapper||parent|continue|classnames|set|new|cf_getkeycode|gn_getitemsprevfilter|gn_getitemsnextfilter|seco|nw|ms_getlargestsize|tolowercase|ms_hasvariablesizes|sta|cf_getitemadjustminmax|is_null|console|caroufredsel|no|go_getitemsobject|go_getscrollobject|go_getautoobject|go_getpaginationobject|go_getswipeobject|go_getmousewheelobject|cf_getdimensions|in_complementitems|in_complementprimarysize|in_complementsecondarysize|updateonwindowresize|in_complementvisibleitems|cf_getpadding|500|go_complementautoobject|go_complementpaginationobject|go_complementswipeobject|go_complementmousewheelobject|_cfs_build|textalign|float|margintop|marginleft|absolute|_cfs_bind_events|paused|enough|needed|page|slide_|gn_getscrollitemsprevfilter|scrolling|gi_getolditemsprev|gi_getnewitemsprev|directscroll|concat|gn_getscrollitemsnextfilter|forward|gi_getolditemsnext|gi_getnewitemsnext|jumptostart|after|append|removeitem|round|hash|index|selected|gn_getvisibleitemsprevfilter|_cfs_origcsssizes|item|keyup|keycode|plugin|scn|cursor|the|option|mcn|configs|classname|cf_getcookie|random|itm|oncreate|namespace|pageanchorbuilder|span|progressbarupdater|date|_cfs_ishidden|triggerontouchend|_cfs_tempcssmargin|news|secp|ms_getpaddingbordermargin|l1|l2|join|innerwidth|innerheight|dx|set|undefined|jquery|log|found|caroufredsel_cookie_|relative|fixed|overflow|setinterval|settimeout|or|callback|returned|page|resumed|currently|slide_prev|prependto|slide_next|prevpage|nextpage|prepend|carousel|insertitem|add|detach|currentvisible|body|find|preventing|non|sliding|replacewith|widths|heights|automatically|touchswipe|min_move_x|min_move_y|preventdefaultevents|wipeup|wipedown|wipeleft|wiperight|ontouchstart|in|swipeup|swipedown|swipeleft|swiperight|move|resize|wrap|class|unshift|location|swing|cfs|div|caroufredsel_wrapper|href|charat|settime|1000|expires|togmtstring|path|orgduration|animate|complete|shift|cleartimeout|clearinterval|skipped|hiding|navigation|disabled|2500|width|outer|px|em|even|odd|infinity|immediate|array|object|isnan|string|function|boolean|deprecated|support|it|will|be|removed|use|instead|quadratic|cubic|elastic|106|126'.split('|'), 0, {}))
/**
* swiper 3.4.2
* most modern mobile touch slider and framework with hardware accelerated transitions
*
* http://www.idangero.us/swiper/
*
* copyright 2017, vladimir kharlampidi
* the idangero.us
* http://www.idangero.us/
*
* licensed under mit
*
* released on: march 10, 2017
*/
!function(){"use strict";var e,a=function(s,i){function r(e){return math.floor(e)}function n(){var e=t.params.autoplay,a=t.slides.eq(t.activeindex);a.attr("data-swiper-autoplay")&&(e=a.attr("data-swiper-autoplay")||t.params.autoplay),t.autoplaytimeoutid=settimeout(function(){t.params.loop?(t.fixloop(),t._slidenext(),t.emit("onautoplay",t)):t.isend?i.autoplaystoponlast?t.stopautoplay():(t._slideto(0),t.emit("onautoplay",t)):(t._slidenext(),t.emit("onautoplay",t))},e)}function o(a,t){var s=e(a.target);if(!s.is(t))if("string"==typeof t)s=s.parents(t);else if(t.nodetype){var i;return s.parents().each(function(e,a){a===t&&(i=t)}),i?t:void 0}if(0!==s.length)return s[0]}function l(e,a){a=a||{};var t=window.mutationobserver||window.webkitmutationobserver,s=new t(function(e){e.foreach(function(e){t.onresize(!0),t.emit("onobserverupdate",t,e)})});s.observe(e,{attributes:void 0===a.attributes||a.attributes,childlist:void 0===a.childlist||a.childlist,characterdata:void 0===a.characterdata||a.characterdata}),t.observers.push(s)}function p(e){e.originalevent&&(e=e.originalevent);var a=e.keycode||e.charcode;if(!t.params.allowswipetonext&&(t.ishorizontal()&&39===a||!t.ishorizontal()&&40===a))return!1;if(!t.params.allowswipetoprev&&(t.ishorizontal()&&37===a||!t.ishorizontal()&&38===a))return!1;if(!(e.shiftkey||e.altkey||e.ctrlkey||e.metakey||document.activeelement&&document.activeelement.nodename&&("input"===document.activeelement.nodename.tolowercase()||"textarea"===document.activeelement.nodename.tolowercase()))){if(37===a||39===a||38===a||40===a){var t=!1;if(t.container.parents("."+t.params.slideclass).length>0&&0===t.container.parents("."+t.params.slideactiveclass).length)return;var s={left:window.pagexoffset,top:window.pageyoffset},i=window.innerwidth,r=window.innerheight,n=t.container.offset();t.rtl&&(n.left=n.left-t.container[0].scrollleft);for(var o=[[n.left,n.top],[n.left+t.width,n.top],[n.left,n.top+t.height],[n.left+t.width,n.top+t.height]],l=0;l=s.left&&p[0]<=s.left+i&&p[1]>=s.top&&p[1]<=s.top+r&&(t=!0)}if(!t)return}t.ishorizontal()?(37!==a&&39!==a||(e.preventdefault?e.preventdefault():e.returnvalue=!1),(39===a&&!t.rtl||37===a&&t.rtl)&&t.slidenext(),(37===a&&!t.rtl||39===a&&t.rtl)&&t.slideprev()):(38!==a&&40!==a||(e.preventdefault?e.preventdefault():e.returnvalue=!1),40===a&&t.slidenext(),38===a&&t.slideprev()),t.emit("onkeypress",t,a)}}function d(e){var a=0,t=0,s=0,i=0;return"detail"in e&&(t=e.detail),"wheeldelta"in e&&(t=-e.wheeldelta/120),"wheeldeltay"in e&&(t=-e.wheeldeltay/120),"wheeldeltax"in e&&(a=-e.wheeldeltax/120),"axis"in e&&e.axis===e.horizontal_axis&&(a=t,t=0),s=10*a,i=10*t,"deltay"in e&&(i=e.deltay),"deltax"in e&&(s=e.deltax),(s||i)&&e.deltamode&&(1===e.deltamode?(s*=40,i*=40):(s*=800,i*=800)),s&&!a&&(a=s<1?-1:1),i&&!t&&(t=i<1?-1:1),{spinx:a,spiny:t,pixelx:s,pixely:i}}function u(e){e.originalevent&&(e=e.originalevent);var a=0,t=t.rtl?-1:1,s=d(e);if(t.params.mousewheelforcetoaxis)if(t.ishorizontal()){if(!(math.abs(s.pixelx)>math.abs(s.pixely)))return;a=s.pixelx*t}else{if(!(math.abs(s.pixely)>math.abs(s.pixelx)))return;a=s.pixely}else a=math.abs(s.pixelx)>math.abs(s.pixely)?-s.pixelx*t:-s.pixely;if(0!==a){if(t.params.mousewheelinvert&&(a=-a),t.params.freemode){var i=t.getwrappertranslate()+a*t.params.mousewheelsensitivity,r=t.isbeginning,n=t.isend;if(i>=t.mintranslate()&&(i=t.mintranslate()),i<=t.maxtranslate()&&(i=t.maxtranslate()),t.setwrappertransition(0),t.setwrappertranslate(i),t.updateprogress(),t.updateactiveindex(),(!r&&t.isbeginning||!n&&t.isend)&&t.updateclasses(),t.params.freemodesticky?(cleartimeout(t.mousewheel.timeout),t.mousewheel.timeout=settimeout(function(){t.slidereset()},300)):t.params.lazyloading&&t.lazy&&t.lazy.load(),t.emit("onscroll",t,e),t.params.autoplay&&t.params.autoplaydisableoninteraction&&t.stopautoplay(),0===i||i===t.maxtranslate())return}else{if((new window.date).gettime()-t.mousewheel.lastscrolltime>60)if(a<0)if(t.isend&&!t.params.loop||t.animating){if(t.params.mousewheelreleaseonedges)return!0}else t.slidenext(),t.emit("onscroll",t,e);else if(t.isbeginning&&!t.params.loop||t.animating){if(t.params.mousewheelreleaseonedges)return!0}else t.slideprev(),t.emit("onscroll",t,e);t.mousewheel.lastscrolltime=(new window.date).gettime()}return e.preventdefault?e.preventdefault():e.returnvalue=!1,!1}}function c(a,t){a=e(a);var s,i,r,n=t.rtl?-1:1;s=a.attr("data-swiper-parallax")||"0",i=a.attr("data-swiper-parallax-x"),r=a.attr("data-swiper-parallax-y"),i||r?(i=i||"0",r=r||"0"):t.ishorizontal()?(i=s,r="0"):(r=s,i="0"),i=i.indexof("%")>=0?parseint(i,10)*t*n+"%":i*t*n+"px",r=r.indexof("%")>=0?parseint(r,10)*t+"%":r*t+"px",a.transform("translate3d("+i+", "+r+",0px)")}function m(e){return 0!==e.indexof("on")&&(e=e[0]!==e[0].touppercase()?"on"+e[0].touppercase()+e.substring(1):"on"+e),e}if(!(this instanceof a))return new a(s,i);var h={direction:"horizontal",toucheventstarget:"container",initialslide:0,speed:300,autoplay:!1,autoplaydisableoninteraction:!0,autoplaystoponlast:!1,iosedgeswipedetection:!1,iosedgeswipethreshold:20,freemode:!1,freemodemomentum:!0,freemodemomentumratio:1,freemodemomentumbounce:!0,freemodemomentumbounceratio:1,freemodemomentumvelocityratio:1,freemodesticky:!1,freemodeminimumvelocity:.02,autoheight:!1,setwrappersize:!1,virtualtranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideshadows:!0},flip:{slideshadows:!0,limitrotation:!0},cube:{slideshadows:!0,shadow:!0,shadowoffset:20,shadowscale:.94},fade:{crossfade:!1},parallax:!1,zoom:!1,zoommax:3,zoommin:1,zoomtoggle:!0,scrollbar:null,scrollbarhide:!0,scrollbardraggable:!1,scrollbarsnaponrelease:!1,keyboardcontrol:!1,mousewheelcontrol:!1,mousewheelreleaseonedges:!1,mousewheelinvert:!1,mousewheelforcetoaxis:!1,mousewheelsensitivity:1,mousewheeleventstarged:"container",hashnav:!1,hashnavwatchstate:!1,history:!1,replacestate:!1,breakpoints:void 0,spacebetween:0,slidesperview:1,slidespercolumn:1,slidespercolumnfill:"column",slidespergroup:1,centeredslides:!1,slidesoffsetbefore:0,slidesoffsetafter:0,roundlengths:!1,touchratio:1,touchangle:45,simulatetouch:!0,shortswipes:!0,longswipes:!0,longswipesratio:.5,longswipesms:300,followfinger:!0,onlyexternal:!1,threshold:0,touchmovestoppropagation:!0,touchreleaseonedges:!1,uniquenavelements:!0,pagination:null,paginationelement:"span",paginationclickable:!1,paginationhide:!1,paginationbulletrender:null,paginationprogressrender:null,paginationfractionrender:null,paginationcustomrender:null,paginationtype:"bullets",resistance:!0,resistanceratio:.85,nextbutton:null,prevbutton:null,watchslidesprogress:!1,watchslidesvisibility:!1,grabcursor:!1,preventclicks:!0,preventclickspropagation:!0,slidetoclickedslide:!1,lazyloading:!1,lazyloadinginprevnext:!1,lazyloadinginprevnextamount:1,lazyloadingontransitionstart:!1,preloadimages:!0,updateonimagesready:!0,loop:!1,loopadditionalslides:0,loopedslides:null,control:void 0,controlinverse:!1,controlby:"slide",normalizeslideindex:!0,allowswipetoprev:!0,allowswipetonext:!0,swipehandler:null,noswiping:!0,noswipingclass:"swiper-no-swiping",passivelisteners:!0,containermodifierclass:"swiper-container-",slideclass:"swiper-slide",slideactiveclass:"swiper-slide-active",slideduplicateactiveclass:"swiper-slide-duplicate-active",slidevisibleclass:"swiper-slide-visible",slideduplicateclass:"swiper-slide-duplicate",slidenextclass:"swiper-slide-next",slideduplicatenextclass:"swiper-slide-duplicate-next",slideprevclass:"swiper-slide-prev",slideduplicateprevclass:"swiper-slide-duplicate-prev",wrapperclass:"swiper-wrapper",bulletclass:"swiper-pagination-bullet",bulletactiveclass:"swiper-pagination-bullet-active",buttondisabledclass:"swiper-button-disabled",paginationcurrentclass:"swiper-pagination-current",paginationtotalclass:"swiper-pagination-total",paginationhiddenclass:"swiper-pagination-hidden",paginationprogressbarclass:"swiper-pagination-progressbar",paginationclickableclass:"swiper-pagination-clickable",paginationmodifierclass:"swiper-pagination-",lazyloadingclass:"swiper-lazy",lazystatusloadingclass:"swiper-lazy-loading",lazystatusloadedclass:"swiper-lazy-loaded",lazypreloaderclass:"swiper-lazy-preloader",notificationclass:"swiper-notification",preloaderclass:"preloader",zoomcontainerclass:"swiper-zoom-container",observer:!1,observeparents:!1,a11y:!1,prevslidemessage:"previous slide",nextslidemessage:"next slide",firstslidemessage:"this is the first slide",lastslidemessage:"this is the last slide",paginationbulletmessage:"go to slide {{index}}",runcallbacksoninit:!0},g=i&&i.virtualtranslate;i=i||{};var f={};for(var v in i)if("object"!=typeof i[v]||null===i[v]||(i[v].nodetype||i[v]===window||i[v]===document||void 0!==t&&i[v]instanceof t||"undefined"!=typeof jquery&&i[v]instanceof jquery))f[v]=i[v];else{f[v]={};for(var w in i[v])f[v][w]=i[v][w]}for(var y in h)if(void 0===i[y])i[y]=h[y];else if("object"==typeof i[y])for(var x in h[y])void 0===i[y][x]&&(i[y][x]=h[y][x]);var t=this;if(t.params=i,t.originalparams=f,t.classnames=[],void 0!==e&&void 0!==t&&(e=t),(void 0!==e||(e=void 0===t?window.dom7||window.zepto||window.jquery:t))&&(t.$=e,t.currentbreakpoint=void 0,t.getactivebreakpoint=function(){if(!t.params.breakpoints)return!1;var e,a=!1,t=[];for(e in t.params.breakpoints)t.params.breakpoints.hasownproperty(e)&&t.push(e);t.sort(function(e,a){return parseint(e,10)>parseint(a,10)});for(var s=0;s=window.innerwidth&&!a&&(a=e);return a||"max"},t.setbreakpoint=function(){var e=t.getactivebreakpoint();if(e&&t.currentbreakpoint!==e){var a=e in t.params.breakpoints?t.params.breakpoints[e]:t.originalparams,t=t.params.loop&&a.slidesperview!==t.params.slidesperview;for(var s in a)t.params[s]=a[s];t.currentbreakpoint=e,t&&t.destroyloop&&t.reloop(!0)}},t.params.breakpoints&&t.setbreakpoint(),t.container=e(s),0!==t.container.length)){if(t.container.length>1){var b=[];return t.container.each(function(){b.push(new a(this,i))}),b}t.container[0].swiper=t,t.container.data("swiper",t),t.classnames.push(t.params.containermodifierclass+t.params.direction),t.params.freemode&&t.classnames.push(t.params.containermodifierclass+"free-mode"),t.support.flexbox||(t.classnames.push(t.params.containermodifierclass+"no-flexbox"),t.params.slidespercolumn=1),t.params.autoheight&&t.classnames.push(t.params.containermodifierclass+"autoheight"),(t.params.parallax||t.params.watchslidesvisibility)&&(t.params.watchslidesprogress=!0),t.params.touchreleaseonedges&&(t.params.resistanceratio=0),["cube","coverflow","flip"].indexof(t.params.effect)>=0&&(t.support.transforms3d?(t.params.watchslidesprogress=!0,t.classnames.push(t.params.containermodifierclass+"3d")):t.params.effect="slide"),"slide"!==t.params.effect&&t.classnames.push(t.params.containermodifierclass+t.params.effect),"cube"===t.params.effect&&(t.params.resistanceratio=0,t.params.slidesperview=1,t.params.slidespercolumn=1,t.params.slidespergroup=1,t.params.centeredslides=!1,t.params.spacebetween=0,t.params.virtualtranslate=!0),"fade"!==t.params.effect&&"flip"!==t.params.effect||(t.params.slidesperview=1,t.params.slidespercolumn=1,t.params.slidespergroup=1,t.params.watchslidesprogress=!0,t.params.spacebetween=0,void 0===g&&(t.params.virtualtranslate=!0)),t.params.grabcursor&&t.support.touch&&(t.params.grabcursor=!1),t.wrapper=t.container.children("."+t.params.wrapperclass),t.params.pagination&&(t.paginationcontainer=e(t.params.pagination),t.params.uniquenavelements&&"string"==typeof t.params.pagination&&t.paginationcontainer.length>1&&1===t.container.find(t.params.pagination).length&&(t.paginationcontainer=t.container.find(t.params.pagination)),"bullets"===t.params.paginationtype&&t.params.paginationclickable?t.paginationcontainer.addclass(t.params.paginationmodifierclass+"clickable"):t.params.paginationclickable=!1,t.paginationcontainer.addclass(t.params.paginationmodifierclass+t.params.paginationtype)),(t.params.nextbutton||t.params.prevbutton)&&(t.params.nextbutton&&(t.nextbutton=e(t.params.nextbutton),t.params.uniquenavelements&&"string"==typeof t.params.nextbutton&&t.nextbutton.length>1&&1===t.container.find(t.params.nextbutton).length&&(t.nextbutton=t.container.find(t.params.nextbutton))),t.params.prevbutton&&(t.prevbutton=e(t.params.prevbutton),t.params.uniquenavelements&&"string"==typeof t.params.prevbutton&&t.prevbutton.length>1&&1===t.container.find(t.params.prevbutton).length&&(t.prevbutton=t.container.find(t.params.prevbutton)))),t.ishorizontal=function(){return"horizontal"===t.params.direction},t.rtl=t.ishorizontal()&&("rtl"===t.container[0].dir.tolowercase()||"rtl"===t.container.css("direction")),t.rtl&&t.classnames.push(t.params.containermodifierclass+"rtl"),t.rtl&&(t.wrongrtl="-webkit-box"===t.wrapper.css("display")),t.params.slidespercolumn>1&&t.classnames.push(t.params.containermodifierclass+"multirow"),t.device.android&&t.classnames.push(t.params.containermodifierclass+"android"),t.container.addclass(t.classnames.join(" ")),t.translate=0,t.progress=0,t.velocity=0,t.lockswipetonext=function(){t.params.allowswipetonext=!1,t.params.allowswipetoprev===!1&&t.params.grabcursor&&t.unsetgrabcursor()},t.lockswipetoprev=function(){t.params.allowswipetoprev=!1,t.params.allowswipetonext===!1&&t.params.grabcursor&&t.unsetgrabcursor()},t.lockswipes=function(){t.params.allowswipetonext=t.params.allowswipetoprev=!1,t.params.grabcursor&&t.unsetgrabcursor()},t.unlockswipetonext=function(){t.params.allowswipetonext=!0,t.params.allowswipetoprev===!0&&t.params.grabcursor&&t.setgrabcursor()},t.unlockswipetoprev=function(){t.params.allowswipetoprev=!0,t.params.allowswipetonext===!0&&t.params.grabcursor&&t.setgrabcursor()},t.unlockswipes=function(){t.params.allowswipetonext=t.params.allowswipetoprev=!0,t.params.grabcursor&&t.setgrabcursor()},t.setgrabcursor=function(e){t.container[0].style.cursor="move",t.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",t.container[0].style.cursor=e?"grabbing":"grab"},t.unsetgrabcursor=function(){t.container[0].style.cursor=""},t.params.grabcursor&&t.setgrabcursor(),t.imagestoload=[],t.imagesloaded=0,t.loadimage=function(e,a,t,s,i,r){function n(){r&&r()}var o;e.complete&&i?n():a?(o=new window.image,o.onload=n,o.onerror=n,s&&(o.sizes=s),t&&(o.srcset=t),a&&(o.src=a)):n()},t.preloadimages=function(){function e(){void 0!==t&&null!==t&&t&&(void 0!==t.imagesloaded&&t.imagesloaded++,t.imagesloaded===t.imagestoload.length&&(t.params.updateonimagesready&&t.update(),t.emit("onimagesready",t)))}t.imagestoload=t.container.find("img");for(var a=0;a1)for(e=0;et.slides.length)break;a.push(t.slides.eq(s)[0])}else a.push(t.slides.eq(t.activeindex)[0]);for(e=0;et?i:t}t&&t.wrapper.css("height",t+"px")},t.updatecontainersize=function(){var e,a;e=void 0!==t.params.width?t.params.width:t.container[0].clientwidth,a=void 0!==t.params.height?t.params.height:t.container[0].clientheight,0===e&&t.ishorizontal()||0===a&&!t.ishorizontal()||(e=e-parseint(t.container.css("padding-left"),10)-parseint(t.container.css("padding-right"),10),a=a-parseint(t.container.css("padding-top"),10)-parseint(t.container.css("padding-bottom"),10),t.width=e,t.height=a,t.size=t.ishorizontal()?t.width:t.height)},t.updateslidessize=function(){t.slides=t.wrapper.children("."+t.params.slideclass),t.snapgrid=[],t.slidesgrid=[],t.slidessizesgrid=[];var e,a=t.params.spacebetween,t=-t.params.slidesoffsetbefore,s=0,i=0;if(void 0!==t.size){"string"==typeof a&&a.indexof("%")>=0&&(a=parsefloat(a.replace("%",""))/100*t.size),t.virtualsize=-a,t.rtl?t.slides.css({marginleft:"",margintop:""}):t.slides.css({marginright:"",marginbottom:""});var n;t.params.slidespercolumn>1&&(n=math.floor(t.slides.length/t.params.slidespercolumn)===t.slides.length/t.params.slidespercolumn?t.slides.length:math.ceil(t.slides.length/t.params.slidespercolumn)*t.params.slidespercolumn,"auto"!==t.params.slidesperview&&"row"===t.params.slidespercolumnfill&&(n=math.max(n,t.params.slidesperview*t.params.slidespercolumn)));var o,l=t.params.slidespercolumn,p=n/l,d=p-(t.params.slidespercolumn*p-t.slides.length);for(e=0;e1){var c,m,h;"column"===t.params.slidespercolumnfill?(m=math.floor(e/l),h=e-m*l,(m>d||m===d&&h===l-1)&&++h>=l&&(h=0,m++),c=m+h*n/l,u.css({"-webkit-box-ordinal-group":c,"-moz-box-ordinal-group":c,"-ms-flex-order":c,"-webkit-order":c,order:c})):(h=math.floor(e/p),m=e-h*p),u.css("margin-"+(t.ishorizontal()?"top":"left"),0!==h&&t.params.spacebetween&&t.params.spacebetween+"px").attr("data-swiper-column",m).attr("data-swiper-row",h)}"none"!==u.css("display")&&("auto"===t.params.slidesperview?(o=t.ishorizontal()?u.outerwidth(!0):u.outerheight(!0),t.params.roundlengths&&(o=r(o))):(o=(t.size-(t.params.slidesperview-1)*a)/t.params.slidesperview,t.params.roundlengths&&(o=r(o)),t.ishorizontal()?t.slides[e].style.width=o+"px":t.slides[e].style.height=o+"px"),t.slides[e].swiperslidesize=o,t.slidessizesgrid.push(o),t.params.centeredslides?(t=t+o/2+s/2+a,0===s&&0!==e&&(t=t-t.size/2-a),0===e&&(t=t-t.size/2-a),math.abs(t)<.001&&(t=0),i%t.params.slidespergroup==0&&t.snapgrid.push(t),t.slidesgrid.push(t)):(i%t.params.slidespergroup==0&&t.snapgrid.push(t),t.slidesgrid.push(t),t=t+o+a),t.virtualsize+=o+a,s=o,i++)}t.virtualsize=math.max(t.virtualsize,t.size)+t.params.slidesoffsetafter;var g;if(t.rtl&&t.wrongrtl&&("slide"===t.params.effect||"coverflow"===t.params.effect)&&t.wrapper.css({width:t.virtualsize+t.params.spacebetween+"px"}),t.support.flexbox&&!t.params.setwrappersize||(t.ishorizontal()?t.wrapper.css({width:t.virtualsize+t.params.spacebetween+"px"}):t.wrapper.css({height:t.virtualsize+t.params.spacebetween+"px"})),t.params.slidespercolumn>1&&(t.virtualsize=(o+t.params.spacebetween)*n,t.virtualsize=math.ceil(t.virtualsize/t.params.slidespercolumn)-t.params.spacebetween,t.ishorizontal()?t.wrapper.css({width:t.virtualsize+t.params.spacebetween+"px"}):t.wrapper.css({height:t.virtualsize+t.params.spacebetween+"px"}),t.params.centeredslides)){for(g=[],e=0;e1&&t.snapgrid.push(t.virtualsize-t.size)}0===t.snapgrid.length&&(t.snapgrid=[0]),0!==t.params.spacebetween&&(t.ishorizontal()?t.rtl?t.slides.css({marginleft:a+"px"}):t.slides.css({marginright:a+"px"}):t.slides.css({marginbottom:a+"px"})),t.params.watchslidesprogress&&t.updateslidesoffset()}},t.updateslidesoffset=function(){for(var e=0;et.size&&(s=!0));for(a=t.activeindex-1;a>=0;a--)t.slides[a]&&!s&&(i+=t.slides[a].swiperslidesize,t++,i>t.size&&(s=!0))}else for(e=t.activeindex+1;e=0&&r0&&n<=t.size||r<=0&&n>=t.size)&&t.slides.eq(t).addclass(t.params.slidevisibleclass)}s.progress=t.rtl?-i:i}}},t.updateprogress=function(e){void 0===e&&(e=t.translate||0);var a=t.maxtranslate()-t.mintranslate(),t=t.isbeginning,s=t.isend;0===a?(t.progress=0,t.isbeginning=t.isend=!0):(t.progress=(e-t.mintranslate())/a,t.isbeginning=t.progress<=0,t.isend=t.progress>=1),t.isbeginning&&!t&&t.emit("onreachbeginning",t),t.isend&&!s&&t.emit("onreachend",t),t.params.watchslidesprogress&&t.updateslidesprogress(e),t.emit("onprogress",t,t.progress)},t.updateactiveindex=function(){var e,a,t,s=t.rtl?t.translate:-t.translate;for(a=0;a=t.slidesgrid[a]&&s=t.slidesgrid[a]&&s=t.slidesgrid[a]&&(e=a);t.params.normalizeslideindex&&(e<0||void 0===e)&&(e=0),t=math.floor(e/t.params.slidespergroup),t>=t.snapgrid.length&&(t=t.snapgrid.length-1),e!==t.activeindex&&(t.snapindex=t,t.previousindex=t.activeindex,t.activeindex=e,t.updateclasses(),t.updaterealindex())},t.updaterealindex=function(){t.realindex=parseint(t.slides.eq(t.activeindex).attr("data-swiper-slide-index")||t.activeindex,10)},t.updateclasses=function(){t.slides.removeclass(t.params.slideactiveclass+" "+t.params.slidenextclass+" "+t.params.slideprevclass+" "+t.params.slideduplicateactiveclass+" "+t.params.slideduplicatenextclass+" "+t.params.slideduplicateprevclass);var a=t.slides.eq(t.activeindex);a.addclass(t.params.slideactiveclass),i.loop&&(a.hasclass(t.params.slideduplicateclass)?t.wrapper.children("."+t.params.slideclass+":not(."+t.params.slideduplicateclass+')[data-swiper-slide-index="'+t.realindex+'"]').addclass(t.params.slideduplicateactiveclass):t.wrapper.children("."+t.params.slideclass+"."+t.params.slideduplicateclass+'[data-swiper-slide-index="'+t.realindex+'"]').addclass(t.params.slideduplicateactiveclass));var t=a.next("."+t.params.slideclass).addclass(t.params.slidenextclass);t.params.loop&&0===t.length&&(t=t.slides.eq(0),t.addclass(t.params.slidenextclass));var s=a.prev("."+t.params.slideclass).addclass(t.params.slideprevclass);if(t.params.loop&&0===s.length&&(s=t.slides.eq(-1),s.addclass(t.params.slideprevclass)),i.loop&&(t.hasclass(t.params.slideduplicateclass)?t.wrapper.children("."+t.params.slideclass+":not(."+t.params.slideduplicateclass+')[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addclass(t.params.slideduplicatenextclass):t.wrapper.children("."+t.params.slideclass+"."+t.params.slideduplicateclass+'[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addclass(t.params.slideduplicatenextclass),s.hasclass(t.params.slideduplicateclass)?t.wrapper.children("."+t.params.slideclass+":not(."+t.params.slideduplicateclass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addclass(t.params.slideduplicateprevclass):t.wrapper.children("."+t.params.slideclass+"."+t.params.slideduplicateclass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addclass(t.params.slideduplicateprevclass)),t.paginationcontainer&&t.paginationcontainer.length>0){var r,n=t.params.loop?math.ceil((t.slides.length-2*t.loopedslides)/t.params.slidespergroup):t.snapgrid.length;if(t.params.loop?(r=math.ceil((t.activeindex-t.loopedslides)/t.params.slidespergroup),r>t.slides.length-1-2*t.loopedslides&&(r-=t.slides.length-2*t.loopedslides),r>n-1&&(r-=n),r<0&&"bullets"!==t.params.paginationtype&&(r=n+r)):r=void 0!==t.snapindex?t.snapindex:t.activeindex||0,"bullets"===t.params.paginationtype&&t.bullets&&t.bullets.length>0&&(t.bullets.removeclass(t.params.bulletactiveclass),t.paginationcontainer.length>1?t.bullets.each(function(){e(this).index()===r&&e(this).addclass(t.params.bulletactiveclass)}):t.bullets.eq(r).addclass(t.params.bulletactiveclass)),"fraction"===t.params.paginationtype&&(t.paginationcontainer.find("."+t.params.paginationcurrentclass).text(r+1),t.paginationcontainer.find("."+t.params.paginationtotalclass).text(n)),"progress"===t.params.paginationtype){var o=(r+1)/n,l=o,p=1;t.ishorizontal()||(p=o,l=1),t.paginationcontainer.find("."+t.params.paginationprogressbarclass).transform("translate3d(0,0,0) scalex("+l+") scaley("+p+")").transition(t.params.speed)}"custom"===t.params.paginationtype&&t.params.paginationcustomrender&&(t.paginationcontainer.html(t.params.paginationcustomrender(t,r+1,n)),t.emit("onpaginationrendered",t,t.paginationcontainer[0]))}t.params.loop||(t.params.prevbutton&&t.prevbutton&&t.prevbutton.length>0&&(t.isbeginning?(t.prevbutton.addclass(t.params.buttondisabledclass),t.params.a11y&&t.a11y&&t.a11y.disable(t.prevbutton)):(t.prevbutton.removeclass(t.params.buttondisabledclass),t.params.a11y&&t.a11y&&t.a11y.enable(t.prevbutton))),t.params.nextbutton&&t.nextbutton&&t.nextbutton.length>0&&(t.isend?(t.nextbutton.addclass(t.params.buttondisabledclass),t.params.a11y&&t.a11y&&t.a11y.disable(t.nextbutton)):(t.nextbutton.removeclass(t.params.buttondisabledclass),t.params.a11y&&t.a11y&&t.a11y.enable(t.nextbutton))))},t.updatepagination=function(){if(t.params.pagination&&t.paginationcontainer&&t.paginationcontainer.length>0){var e="";if("bullets"===t.params.paginationtype){for(var a=t.params.loop?math.ceil((t.slides.length-2*t.loopedslides)/t.params.slidespergroup):t.snapgrid.length,t=0;t'+t.params.paginationelement+">";t.paginationcontainer.html(e),t.bullets=t.paginationcontainer.find("."+t.params.bulletclass),t.params.paginationclickable&&t.params.a11y&&t.a11y&&t.a11y.initpagination()}"fraction"===t.params.paginationtype&&(e=t.params.paginationfractionrender?t.params.paginationfractionrender(t,t.params.paginationcurrentclass,t.params.paginationtotalclass):' / ',t.paginationcontainer.html(e)),"progress"===t.params.paginationtype&&(e=t.params.paginationprogressrender?t.params.paginationprogressrender(t,t.params.paginationprogressbarclass):'',t.paginationcontainer.html(e)),"custom"!==t.params.paginationtype&&t.emit("onpaginationrendered",t,t.paginationcontainer[0])}},t.update=function(e){function a(){t.rtl,t.translate;t=math.min(math.max(t.translate,t.maxtranslate()),t.mintranslate()),t.setwrappertranslate(t),t.updateactiveindex(),t.updateclasses()}if(t){t.updatecontainersize(),t.updateslidessize(),t.updateprogress(),t.updatepagination(),t.updateclasses(),t.params.scrollbar&&t.scrollbar&&t.scrollbar.set();var t;if(e){t.controller&&t.controller.spline&&(t.controller.spline=void 0),t.params.freemode?(a(),t.params.autoheight&&t.updateautoheight()):(("auto"===t.params.slidesperview||t.params.slidesperview>1)&&t.isend&&!t.params.centeredslides?t.slideto(t.slides.length-1,0,!1,!0):t.slideto(t.activeindex,0,!1,!0))||a()}else t.params.autoheight&&t.updateautoheight()}},t.onresize=function(e){t.params.onbeforeresize&&t.params.onbeforeresize(t),t.params.breakpoints&&t.setbreakpoint();var a=t.params.allowswipetoprev,t=t.params.allowswipetonext;t.params.allowswipetoprev=t.params.allowswipetonext=!0,t.updatecontainersize(),t.updateslidessize(),("auto"===t.params.slidesperview||t.params.freemode||e)&&t.updatepagination(),t.params.scrollbar&&t.scrollbar&&t.scrollbar.set(),t.controller&&t.controller.spline&&(t.controller.spline=void 0);var s=!1;if(t.params.freemode){var i=math.min(math.max(t.translate,t.maxtranslate()),t.mintranslate());t.setwrappertranslate(i),t.updateactiveindex(),t.updateclasses(),t.params.autoheight&&t.updateautoheight()}else t.updateclasses(),s=("auto"===t.params.slidesperview||t.params.slidesperview>1)&&t.isend&&!t.params.centeredslides?t.slideto(t.slides.length-1,0,!1,!0):t.slideto(t.activeindex,0,!1,!0);t.params.lazyloading&&!s&&t.lazy&&t.lazy.load(),t.params.allowswipetoprev=a,t.params.allowswipetonext=t,t.params.onafterresize&&t.params.onafterresize(t)},t.toucheventsdesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerenabled?t.toucheventsdesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.mspointerenabled&&(t.toucheventsdesktop={start:"mspointerdown",move:"mspointermove",end:"mspointerup"}),t.touchevents={start:t.support.touch||!t.params.simulatetouch?"touchstart":t.toucheventsdesktop.start,move:t.support.touch||!t.params.simulatetouch?"touchmove":t.toucheventsdesktop.move,end:t.support.touch||!t.params.simulatetouch?"touchend":t.toucheventsdesktop.end},(window.navigator.pointerenabled||window.navigator.mspointerenabled)&&("container"===t.params.toucheventstarget?t.container:t.wrapper).addclass("swiper-wp8-"+t.params.direction),t.initevents=function(e){var a=e?"off":"on",t=e?"removeeventlistener":"addeventlistener",s="container"===t.params.toucheventstarget?t.container[0]:t.wrapper[0],r=t.support.touch?s:document,n=!!t.params.nested;if(t.browser.ie)s[t](t.touchevents.start,t.ontouchstart,!1),r[t](t.touchevents.move,t.ontouchmove,n),r[t](t.touchevents.end,t.ontouchend,!1);else{if(t.support.touch){var o=!("touchstart"!==t.touchevents.start||!t.support.passivelistener||!t.params.passivelisteners)&&{passive:!0,capture:!1};s[t](t.touchevents.start,t.ontouchstart,o),s[t](t.touchevents.move,t.ontouchmove,n),s[t](t.touchevents.end,t.ontouchend,o)}(i.simulatetouch&&!t.device.ios&&!t.device.android||i.simulatetouch&&!t.support.touch&&t.device.ios)&&(s[t]("mousedown",t.ontouchstart,!1),document[t]("mousemove",t.ontouchmove,n),document[t]("mouseup",t.ontouchend,!1))}window[t]("resize",t.onresize),t.params.nextbutton&&t.nextbutton&&t.nextbutton.length>0&&(t.nextbutton[a]("click",t.onclicknext),t.params.a11y&&t.a11y&&t.nextbutton[a]("keydown",t.a11y.onenterkey)),t.params.prevbutton&&t.prevbutton&&t.prevbutton.length>0&&(t.prevbutton[a]("click",t.onclickprev),t.params.a11y&&t.a11y&&t.prevbutton[a]("keydown",t.a11y.onenterkey)),t.params.pagination&&t.params.paginationclickable&&(t.paginationcontainer[a]("click","."+t.params.bulletclass,t.onclickindex),t.params.a11y&&t.a11y&&t.paginationcontainer[a]("keydown","."+t.params.bulletclass,t.a11y.onenterkey)),(t.params.preventclicks||t.params.preventclickspropagation)&&s[t]("click",t.preventclicks,!0)},t.attachevents=function(){t.initevents()},t.detachevents=function(){t.initevents(!0)},t.allowclick=!0,t.preventclicks=function(e){t.allowclick||(t.params.preventclicks&&e.preventdefault(),t.params.preventclickspropagation&&t.animating&&(e.stoppropagation(),e.stopimmediatepropagation()))},t.onclicknext=function(e){e.preventdefault(),t.isend&&!t.params.loop||t.slidenext()},t.onclickprev=function(e){e.preventdefault(),t.isbeginning&&!t.params.loop||t.slideprev()},t.onclickindex=function(a){a.preventdefault();var t=e(this).index()*t.params.slidespergroup;t.params.loop&&(t+=t.loopedslides),t.slideto(t)},
t.updateclickedslide=function(a){var t=o(a,"."+t.params.slideclass),s=!1;if(t)for(var i=0;it.slides.length-t.loopedslides+l/2?(t.fixloop(),n=t.wrapper.children("."+t.params.slideclass+'[data-swiper-slide-index="'+r+'"]:not(.'+t.params.slideduplicateclass+")").eq(0).index(),settimeout(function(){t.slideto(n)},0)):t.slideto(n):n>t.slides.length-l?(t.fixloop(),n=t.wrapper.children("."+t.params.slideclass+'[data-swiper-slide-index="'+r+'"]:not(.'+t.params.slideduplicateclass+")").eq(0).index(),settimeout(function(){t.slideto(n)},0)):t.slideto(n)}else t.slideto(n)}};var s,c,z,m,e,p,i,k,l,d,b="input, select, textarea, button, video",h=date.now(),g=[];t.animating=!1,t.touches={startx:0,starty:0,currentx:0,currenty:0,diff:0};var x,a;t.ontouchstart=function(a){if(a.originalevent&&(a=a.originalevent),(x="touchstart"===a.type)||!("which"in a)||3!==a.which){if(t.params.noswiping&&o(a,"."+t.params.noswipingclass))return void(t.allowclick=!0);if(!t.params.swipehandler||o(a,t.params.swipehandler)){var t=t.touches.currentx="touchstart"===a.type?a.targettouches[0].pagex:a.pagex,s=t.touches.currenty="touchstart"===a.type?a.targettouches[0].pagey:a.pagey;if(!(t.device.ios&&t.params.iosedgeswipedetection&&t<=t.params.iosedgeswipethreshold)){if(s=!0,c=!1,z=!0,e=void 0,a=void 0,t.touches.startx=t,t.touches.starty=s,m=date.now(),t.allowclick=!0,t.updatecontainersize(),t.swipedirection=void 0,t.params.threshold>0&&(k=!1),"touchstart"!==a.type){var i=!0;e(a.target).is(b)&&(i=!1),document.activeelement&&e(document.activeelement).is(b)&&document.activeelement.blur(),i&&a.preventdefault()}t.emit("ontouchstart",t,a)}}}},t.ontouchmove=function(a){if(a.originalevent&&(a=a.originalevent),!x||"mousemove"!==a.type){if(a.preventedbynestedswiper)return t.touches.startx="touchmove"===a.type?a.targettouches[0].pagex:a.pagex,void(t.touches.starty="touchmove"===a.type?a.targettouches[0].pagey:a.pagey);if(t.params.onlyexternal)return t.allowclick=!1,void(s&&(t.touches.startx=t.touches.currentx="touchmove"===a.type?a.targettouches[0].pagex:a.pagex,t.touches.starty=t.touches.currenty="touchmove"===a.type?a.targettouches[0].pagey:a.pagey,m=date.now()));if(x&&t.params.touchreleaseonedges&&!t.params.loop)if(t.ishorizontal()){if(t.touches.currentxt.touches.startx&&t.translate>=t.mintranslate())return}else if(t.touches.currentyt.touches.starty&&t.translate>=t.mintranslate())return;if(x&&document.activeelement&&a.target===document.activeelement&&e(a.target).is(b))return c=!0,void(t.allowclick=!1);if(z&&t.emit("ontouchmove",t,a),!(a.targettouches&&a.targettouches.length>1)){if(t.touches.currentx="touchmove"===a.type?a.targettouches[0].pagex:a.pagex,t.touches.currenty="touchmove"===a.type?a.targettouches[0].pagey:a.pagey,void 0===e){var t;t.ishorizontal()&&t.touches.currenty===t.touches.starty||!t.ishorizontal()&&t.touches.currentx===t.touches.startx?e=!1:(t=180*math.atan2(math.abs(t.touches.currenty-t.touches.starty),math.abs(t.touches.currentx-t.touches.startx))/math.pi,e=t.ishorizontal()?t>t.params.touchangle:90-t>t.params.touchangle)}if(e&&t.emit("ontouchmoveopposite",t,a),void 0===a&&(t.touches.currentx===t.touches.startx&&t.touches.currenty===t.touches.starty||(a=!0)),s){if(e)return void(s=!1);if(a){t.allowclick=!1,t.emit("onslidermove",t,a),a.preventdefault(),t.params.touchmovestoppropagation&&!t.params.nested&&a.stoppropagation(),c||(i.loop&&t.fixloop(),i=t.getwrappertranslate(),t.setwrappertransition(0),t.animating&&t.wrapper.trigger("webkittransitionend transitionend otransitionend mstransitionend mstransitionend"),t.params.autoplay&&t.autoplaying&&(t.params.autoplaydisableoninteraction?t.stopautoplay():t.pauseautoplay()),d=!1,!t.params.grabcursor||t.params.allowswipetonext!==!0&&t.params.allowswipetoprev!==!0||t.setgrabcursor(!0)),c=!0;var s=t.touches.diff=t.ishorizontal()?t.touches.currentx-t.touches.startx:t.touches.currenty-t.touches.starty;s*=t.params.touchratio,t.rtl&&(s=-s),t.swipedirection=s>0?"prev":"next",p=s+i;var r=!0;if(s>0&&p>t.mintranslate()?(r=!1,t.params.resistance&&(p=t.mintranslate()-1+math.pow(-t.mintranslate()+i+s,t.params.resistanceratio))):s<0&&pi&&(p=i),t.params.threshold>0){if(!(math.abs(s)>t.params.threshold||k))return void(p=i);if(!k)return k=!0,t.touches.startx=t.touches.currentx,t.touches.starty=t.touches.currenty,p=i,void(t.touches.diff=t.ishorizontal()?t.touches.currentx-t.touches.startx:t.touches.currenty-t.touches.starty)}t.params.followfinger&&((t.params.freemode||t.params.watchslidesprogress)&&t.updateactiveindex(),t.params.freemode&&(0===g.length&&g.push({position:t.touches[t.ishorizontal()?"startx":"starty"],time:m}),g.push({position:t.touches[t.ishorizontal()?"currentx":"currenty"],time:(new window.date).gettime()})),t.updateprogress(p),t.setwrappertranslate(p))}}}}},t.ontouchend=function(a){if(a.originalevent&&(a=a.originalevent),z&&t.emit("ontouchend",t,a),z=!1,s){t.params.grabcursor&&c&&s&&(t.params.allowswipetonext===!0||t.params.allowswipetoprev===!0)&&t.setgrabcursor(!1);var t=date.now(),s=t-m;if(t.allowclick&&(t.updateclickedslide(a),t.emit("ontap",t,a),s<300&&t-h>300&&(l&&cleartimeout(l),l=settimeout(function(){t&&(t.params.paginationhide&&t.paginationcontainer.length>0&&!e(a.target).hasclass(t.params.bulletclass)&&t.paginationcontainer.toggleclass(t.params.paginationhiddenclass),t.emit("onclick",t,a))},300)),s<300&&t-h<300&&(l&&cleartimeout(l),t.emit("ondoubletap",t,a))),h=date.now(),settimeout(function(){t&&(t.allowclick=!0)},0),!s||!c||!t.swipedirection||0===t.touches.diff||p===i)return void(s=c=!1);s=c=!1;var i;if(i=t.params.followfinger?t.rtl?t.translate:-t.translate:-p,t.params.freemode){if(i<-t.mintranslate())return void t.slideto(t.activeindex);if(i>-t.maxtranslate())return void(t.slides.length1){var r=g.pop(),n=g.pop(),o=r.position-n.position,l=r.time-n.time;t.velocity=o/l,t.velocity=t.velocity/2,math.abs(t.velocity)150||(new window.date).gettime()-r.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity=t.velocity*t.params.freemodemomentumvelocityratio,g.length=0;var p=1e3*t.params.freemodemomentumratio,d=t.velocity*p,u=t.translate+d;t.rtl&&(u=-u);var c,m=!1,h=20*math.abs(t.velocity)*t.params.freemodemomentumbounceratio;if(ut.mintranslate())t.params.freemodemomentumbounce?(u-t.mintranslate()>h&&(u=t.mintranslate()+h),c=t.mintranslate(),m=!0,d=!0):u=t.mintranslate();else if(t.params.freemodesticky){var g,f=0;for(f=0;f-u){g=f;break}u=math.abs(t.snapgrid[g]-u)=t.params.longswipesms)&&(t.updateprogress(),t.updateactiveindex()))}var v,w=0,y=t.slidessizesgrid[0];for(v=0;v=t.slidesgrid[v]&&i=t.slidesgrid[v]&&(w=v,y=t.slidesgrid[t.slidesgrid.length-1]-t.slidesgrid[t.slidesgrid.length-2]);var x=(i-t.slidesgrid[w])/y;if(s>t.params.longswipesms){if(!t.params.longswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&(x>=t.params.longswipesratio?t.slideto(w+t.params.slidespergroup):t.slideto(w)),"prev"===t.swipedirection&&(x>1-t.params.longswipesratio?t.slideto(w+t.params.slidespergroup):t.slideto(w))}else{if(!t.params.shortswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&t.slideto(w+t.params.slidespergroup),"prev"===t.swipedirection&&t.slideto(w)}}},t._slideto=function(e,a){return t.slideto(e,a,!0,!0)},t.slideto=function(e,a,t,s){void 0===t&&(t=!0),void 0===e&&(e=0),e<0&&(e=0),t.snapindex=math.floor(e/t.params.slidespergroup),t.snapindex>=t.snapgrid.length&&(t.snapindex=t.snapgrid.length-1);var i=-t.snapgrid[t.snapindex];if(t.params.autoplay&&t.autoplaying&&(s||!t.params.autoplaydisableoninteraction?t.pauseautoplay(a):t.stopautoplay()),t.updateprogress(i),t.params.normalizeslideindex)for(var r=0;r=math.floor(100*t.slidesgrid[r])&&(e=r);return!(!t.params.allowswipetonext&&it.translate&&i>t.maxtranslate()&&(t.activeindex||0)!==e)&&(void 0===a&&(a=t.params.speed),t.previousindex=t.activeindex||0,t.activeindex=e,t.updaterealindex(),t.rtl&&-i===t.translate||!t.rtl&&i===t.translate?(t.params.autoheight&&t.updateautoheight(),t.updateclasses(),"slide"!==t.params.effect&&t.setwrappertranslate(i),!1):(t.updateclasses(),t.ontransitionstart(t),0===a||t.browser.lteie9?(t.setwrappertranslate(i),t.setwrappertransition(0),t.ontransitionend(t)):(t.setwrappertranslate(i),t.setwrappertransition(a),t.animating||(t.animating=!0,t.wrapper.transitionend(function(){t&&t.ontransitionend(t)}))),!0)))},t.ontransitionstart=function(e){void 0===e&&(e=!0),t.params.autoheight&&t.updateautoheight(),t.lazy&&t.lazy.ontransitionstart(),e&&(t.emit("ontransitionstart",t),t.activeindex!==t.previousindex&&(t.emit("onslidechangestart",t),t.activeindex>t.previousindex?t.emit("onslidenextstart",t):t.emit("onslideprevstart",t)))},t.ontransitionend=function(e){t.animating=!1,t.setwrappertransition(0),void 0===e&&(e=!0),t.lazy&&t.lazy.ontransitionend(),e&&(t.emit("ontransitionend",t),t.activeindex!==t.previousindex&&(t.emit("onslidechangeend",t),t.activeindex>t.previousindex?t.emit("onslidenextend",t):t.emit("onslideprevend",t))),t.params.history&&t.history&&t.history.sethistory(t.params.history,t.activeindex),t.params.hashnav&&t.hashnav&&t.hashnav.sethash()},t.slidenext=function(e,a,t){if(t.params.loop){if(t.animating)return!1;t.fixloop();t.container[0].clientleft;return t.slideto(t.activeindex+t.params.slidespergroup,a,e,t)}return t.slideto(t.activeindex+t.params.slidespergroup,a,e,t)},t._slidenext=function(e){return t.slidenext(!0,e,!0)},t.slideprev=function(e,a,t){if(t.params.loop){if(t.animating)return!1;t.fixloop();t.container[0].clientleft;return t.slideto(t.activeindex-1,a,e,t)}return t.slideto(t.activeindex-1,a,e,t)},t._slideprev=function(e){return t.slideprev(!0,e,!0)},t.slidereset=function(e,a,t){return t.slideto(t.activeindex,a,e)},t.disabletouchcontrol=function(){return t.params.onlyexternal=!0,!0},t.enabletouchcontrol=function(){return t.params.onlyexternal=!1,!0},t.setwrappertransition=function(e,a){t.wrapper.transition(e),"slide"!==t.params.effect&&t.effects[t.params.effect]&&t.effects[t.params.effect].settransition(e),t.params.parallax&&t.parallax&&t.parallax.settransition(e),t.params.scrollbar&&t.scrollbar&&t.scrollbar.settransition(e),t.params.control&&t.controller&&t.controller.settransition(e,a),t.emit("onsettransition",t,e)},t.setwrappertranslate=function(e,a,t){var s=0,i=0;t.ishorizontal()?s=t.rtl?-e:e:i=e,t.params.roundlengths&&(s=r(s),i=r(i)),t.params.virtualtranslate||(t.support.transforms3d?t.wrapper.transform("translate3d("+s+"px, "+i+"px, 0px)"):t.wrapper.transform("translate("+s+"px, "+i+"px)")),t.translate=t.ishorizontal()?s:i;var n,o=t.maxtranslate()-t.mintranslate();n=0===o?0:(e-t.mintranslate())/o,n!==t.progress&&t.updateprogress(e),a&&t.updateactiveindex(),"slide"!==t.params.effect&&t.effects[t.params.effect]&&t.effects[t.params.effect].settranslate(t.translate),t.params.parallax&&t.parallax&&t.parallax.settranslate(t.translate),t.params.scrollbar&&t.scrollbar&&t.scrollbar.settranslate(t.translate),t.params.control&&t.controller&&t.controller.settranslate(t.translate,t),t.emit("onsettranslate",t,t.translate)},t.gettranslate=function(e,a){var t,s,i,r;return void 0===a&&(a="x"),t.params.virtualtranslate?t.rtl?-t.translate:t.translate:(i=window.getcomputedstyle(e,null),window.webkitcssmatrix?(s=i.transform||i.webkittransform,s.split(",").length>6&&(s=s.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new window.webkitcssmatrix("none"===s?"":s)):(r=i.moztransform||i.otransform||i.mstransform||i.mstransform||i.transform||i.getpropertyvalue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=r.tostring().split(",")),"x"===a&&(s=window.webkitcssmatrix?r.m41:16===t.length?parsefloat(t[12]):parsefloat(t[4])),"y"===a&&(s=window.webkitcssmatrix?r.m42:16===t.length?parsefloat(t[13]):parsefloat(t[5])),t.rtl&&s&&(s=-s),s||0)},t.getwrappertranslate=function(e){return void 0===e&&(e=t.ishorizontal()?"x":"y"),t.gettranslate(t.wrapper[0],e)},t.observers=[],t.initobservers=function(){if(t.params.observeparents)for(var e=t.container.parents(),a=0;aa.length&&(t.loopedslides=a.length);var t,s=[],i=[];for(a.each(function(t,r){var n=e(this);t=a.length-t.loopedslides&&s.push(r),n.attr("data-swiper-slide-index",t)}),t=0;t=0;t--)t.wrapper.prepend(e(s[t].clonenode(!0)).addclass(t.params.slideduplicateclass))},t.destroyloop=function(){t.wrapper.children("."+t.params.slideclass+"."+t.params.slideduplicateclass).remove(),t.slides.removeattr("data-swiper-slide-index")},t.reloop=function(e){var a=t.activeindex-t.loopedslides;t.destroyloop(),t.createloop(),t.updateslidessize(),e&&t.slideto(a+t.loopedslides,0,!1)},t.fixloop=function(){var e;t.activeindex=2*t.loopedslides||t.activeindex>t.slides.length-2*t.params.slidesperview)&&(e=-t.slides.length+t.activeindex+t.loopedslides,e+=t.loopedslides,t.slideto(e,0,!1,!0))},t.appendslide=function(e){if(t.params.loop&&t.destroyloop(),"object"==typeof e&&e.length)for(var a=0;a'),t.append(d)),0===u.length&&(u=e(''),t.append(u)),d.length&&(d[0].style.opacity=math.max(-s,0)),u.length&&(u[0].style.opacity=math.max(s,0))}t.transform("translate3d("+l+"px, "+p+"px, 0px) rotatex("+o+"deg) rotatey("+n+"deg)")}},settransition:function(a){if(t.slides.transition(a).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(a),t.params.virtualtranslate&&0!==a){var t=!1;t.slides.eq(t.activeindex).transitionend(function(){if(!t&&t&&e(this).hasclass(t.params.slideactiveclass)){t=!0,t.animating=!1;for(var a=["webkittransitionend","transitionend","otransitionend","mstransitionend","mstransitionend"],s=0;s'),t.wrapper.append(a)),a.css({height:t.width+"px"})):(a=t.container.find(".swiper-cube-shadow"),0===a.length&&(a=e(''),t.container.append(a))));for(var s=0;s-1&&(t=90*s+90*o,t.rtl&&(t=90*-s-90*o)),i.transform(u),t.params.cube.slideshadows){var c=t.ishorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),m=t.ishorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===c.length&&(c=e(''),i.append(c)),0===m.length&&(m=e(''),i.append(m)),c.length&&(c[0].style.opacity=math.max(-o,0)),m.length&&(m[0].style.opacity=math.max(o,0))}}if(t.wrapper.css({"-webkit-transform-origin":"50% 50% -"+t.size/2+"px","-moz-transform-origin":"50% 50% -"+t.size/2+"px","-ms-transform-origin":"50% 50% -"+t.size/2+"px","transform-origin":"50% 50% -"+t.size/2+"px"}),t.params.cube.shadow)if(t.ishorizontal())a.transform("translate3d(0px, "+(t.width/2+t.params.cube.shadowoffset)+"px, "+-t.width/2+"px) rotatex(90deg) rotatez(0deg) scale("+t.params.cube.shadowscale+")");else{var h=math.abs(t)-90*math.floor(math.abs(t)/90),g=1.5-(math.sin(2*h*math.pi/360)/2+math.cos(2*h*math.pi/360)/2),f=t.params.cube.shadowscale,v=t.params.cube.shadowscale/g,w=t.params.cube.shadowoffset;a.transform("scale3d("+f+", 1, "+v+") translate3d(0px, "+(t.height/2+w)+"px, "+-t.height/2/v+"px) rotatex(-90deg)")}var y=t.issafari||t.isuiwebview?-t.size/2:0;t.wrapper.transform("translate3d(0px,0,"+y+"px) rotatex("+(t.ishorizontal()?0:t)+"deg) rotatey("+(t.ishorizontal()?-t:0)+"deg)")},settransition:function(e){t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cube.shadow&&!t.ishorizontal()&&t.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{settranslate:function(){for(var a=t.translate,t=t.ishorizontal()?-a+t.width/2:-a+t.height/2,s=t.ishorizontal()?t.params.coverflow.rotate:-t.params.coverflow.rotate,i=t.params.coverflow.depth,r=0,n=t.slides.length;r'),o.append(v)),0===w.length&&(w=e(''),o.append(w)),v.length&&(v[0].style.opacity=d>0?d:0),w.length&&(w[0].style.opacity=-d>0?-d:0)}}if(t.browser.ie){t.wrapper[0].style.perspectiveorigin=t+"px 50%"}},settransition:function(e){t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},t.lazy={initialimageloaded:!1,loadimageinslide:function(a,t){if(void 0!==a&&(void 0===t&&(t=!0),0!==t.slides.length)){var s=t.slides.eq(a),i=s.find("."+t.params.lazyloadingclass+":not(."+t.params.lazystatusloadedclass+"):not(."+t.params.lazystatusloadingclass+")");!s.hasclass(t.params.lazyloadingclass)||s.hasclass(t.params.lazystatusloadedclass)||s.hasclass(t.params.lazystatusloadingclass)||(i=i.add(s[0])),0!==i.length&&i.each(function(){var a=e(this);a.addclass(t.params.lazystatusloadingclass);var i=a.attr("data-background"),r=a.attr("data-src"),n=a.attr("data-srcset"),o=a.attr("data-sizes");t.loadimage(a[0],r||i,n,o,!1,function(){if(void 0!==t&&null!==t&&t){if(i?(a.css("background-image",'url("'+i+'")'),a.removeattr("data-background")):(n&&(a.attr("srcset",n),a.removeattr("data-srcset")),o&&(a.attr("sizes",o),a.removeattr("data-sizes")),r&&(a.attr("src",r),a.removeattr("data-src"))),a.addclass(t.params.lazystatusloadedclass).removeclass(t.params.lazystatusloadingclass),s.find("."+t.params.lazypreloaderclass+", ."+t.params.preloaderclass).remove(),t.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasclass(t.params.slideduplicateclass)){var l=t.wrapper.children('[data-swiper-slide-index="'+e+'"]:not(.'+t.params.slideduplicateclass+")");t.lazy.loadimageinslide(l.index(),!1)}else{var p=t.wrapper.children("."+t.params.slideduplicateclass+'[data-swiper-slide-index="'+e+'"]');t.lazy.loadimageinslide(p.index(),!1)}}t.emit("onlazyimageready",t,s[0],a[0])}}),t.emit("onlazyimageload",t,s[0],a[0])})}},load:function(){var a,t=t.params.slidesperview;if("auto"===t&&(t=0),t.lazy.initialimageloaded||(t.lazy.initialimageloaded=!0),t.params.watchslidesvisibility)t.wrapper.children("."+t.params.slidevisibleclass).each(function(){t.lazy.loadimageinslide(e(this).index())});else if(t>1)for(a=t.activeindex;a1||t.params.lazyloadinginprevnextamount&&t.params.lazyloadinginprevnextamount>1){var s=t.params.lazyloadinginprevnextamount,i=t,r=math.min(t.activeindex+i+math.max(s,i),t.slides.length),n=math.max(t.activeindex-math.max(i,s),0);for(a=t.activeindex+t;a0&&t.lazy.loadimageinslide(o.index());var l=t.wrapper.children("."+t.params.slideprevclass);l.length>0&&t.lazy.loadimageinslide(l.index())}},ontransitionstart:function(){t.params.lazyloading&&(t.params.lazyloadingontransitionstart||!t.params.lazyloadingontransitionstart&&!t.lazy.initialimageloaded)&&t.lazy.load()},ontransitionend:function(){t.params.lazyloading&&!t.params.lazyloadingontransitionstart&&t.lazy.load()}},t.scrollbar={istouched:!1,setdragposition:function(e){var a=t.scrollbar,t=t.ishorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targettouches[0].pagex:e.pagex||e.clientx:"touchstart"===e.type||"touchmove"===e.type?e.targettouches[0].pagey:e.pagey||e.clienty,s=t-a.track.offset()[t.ishorizontal()?"left":"top"]-a.dragsize/2,i=-t.mintranslate()*a.movedivider,r=-t.maxtranslate()*a.movedivider;sr&&(s=r),s=-s/a.movedivider,t.updateprogress(s),t.setwrappertranslate(s,!0)},dragstart:function(e){var a=t.scrollbar;a.istouched=!0,e.preventdefault(),e.stoppropagation(),a.setdragposition(e),cleartimeout(a.dragtimeout),a.track.transition(0),t.params.scrollbarhide&&a.track.css("opacity",1),t.wrapper.transition(100),a.drag.transition(100),t.emit("onscrollbardragstart",t)},dragmove:function(e){var a=t.scrollbar;a.istouched&&(e.preventdefault?e.preventdefault():e.returnvalue=!1,a.setdragposition(e),t.wrapper.transition(0),a.track.transition(0),a.drag.transition(0),t.emit("onscrollbardragmove",t))},dragend:function(e){var a=t.scrollbar;a.istouched&&(a.istouched=!1,t.params.scrollbarhide&&(cleartimeout(a.dragtimeout),a.dragtimeout=settimeout(function(){a.track.css("opacity",0),a.track.transition(400)},1e3)),t.emit("onscrollbardragend",t),t.params.scrollbarsnaponrelease&&t.slidereset())},draggableevents:function(){return t.params.simulatetouch!==!1||t.support.touch?t.touchevents:t.toucheventsdesktop}(),enabledraggable:function(){var a=t.scrollbar,t=t.support.touch?a.track:document;e(a.track).on(a.draggableevents.start,a.dragstart),e(t).on(a.draggableevents.move,a.dragmove),e(t).on(a.draggableevents.end,a.dragend)},disabledraggable:function(){var a=t.scrollbar,t=t.support.touch?a.track:document;e(a.track).off(a.draggableevents.start,a.dragstart),e(t).off(a.draggableevents.move,a.dragmove),e(t).off(a.draggableevents.end,a.dragend)},set:function(){if(t.params.scrollbar){var a=t.scrollbar;a.track=e(t.params.scrollbar),t.params.uniquenavelements&&"string"==typeof t.params.scrollbar&&a.track.length>1&&1===t.container.find(t.params.scrollbar).length&&(a.track=t.container.find(t.params.scrollbar)),a.drag=a.track.find(".swiper-scrollbar-drag"),0===a.drag.length&&(a.drag=e(''),a.track.append(a.drag)),a.drag[0].style.width="",a.drag[0].style.height="",a.tracksize=t.ishorizontal()?a.track[0].offsetwidth:a.track[0].offsetheight,a.divider=t.size/t.virtualsize,a.movedivider=a.divider*(a.tracksize/t.size),a.dragsize=a.tracksize*a.divider,t.ishorizontal()?a.drag[0].style.width=a.dragsize+"px":a.drag[0].style.height=a.dragsize+"px",a.divider>=1?a.track[0].style.display="none":a.track[0].style.display="",t.params.scrollbarhide&&(a.track[0].style.opacity=0)}},settranslate:function(){if(t.params.scrollbar){var e,a=t.scrollbar,t=(t.translate,a.dragsize);e=(a.tracksize-a.dragsize)*t.progress,t.rtl&&t.ishorizontal()?(e=-e,e>0?(t=a.dragsize-e,e=0):-e+a.dragsize>a.tracksize&&(t=a.tracksize+e)):e<0?(t=a.dragsize+e,e=0):e+a.dragsize>a.tracksize&&(t=a.tracksize-e),t.ishorizontal()?(t.support.transforms3d?a.drag.transform("translate3d("+e+"px, 0, 0)"):a.drag.transform("translatex("+e+"px)"),a.drag[0].style.width=t+"px"):(t.support.transforms3d?a.drag.transform("translate3d(0px, "+e+"px, 0)"):a.drag.transform("translatey("+e+"px)"),a.drag[0].style.height=t+"px"),t.params.scrollbarhide&&(cleartimeout(a.timeout),a.track[0].style.opacity=1,a.timeout=settimeout(function(){a.track[0].style.opacity=0,a.track.transition(400)},1e3))}},settransition:function(e){t.params.scrollbar&&t.scrollbar.drag.transition(e)}},t.controller={linearspline:function(e,a){var t=function(){var e,a,t;return function(s,i){for(a=-1,e=s.length;e-a>1;)s[t=e+a>>1]<=i?a=t:e=t;return e}}();this.x=e,this.y=a,this.lastindex=e.length-1;var s,i;this.x.length;this.interpolate=function(e){return e?(i=t(this.x,e),s=i-1,(e-this.x[s])*(this.y[i]-this.y[s])/(this.x[i]-this.x[s])+this.y[s]):0}},getinterpolatefunction:function(e){t.controller.spline||(t.controller.spline=t.params.loop?new t.controller.linearspline(t.slidesgrid,e.slidesgrid):new t.controller.linearspline(t.snapgrid,e.snapgrid))},settranslate:function(e,t){function s(a){e=a.rtl&&"horizontal"===a.params.direction?-t.translate:t.translate,"slide"===t.params.controlby&&(t.controller.getinterpolatefunction(a),r=-t.controller.spline.interpolate(-e)),r&&"container"!==t.params.controlby||(i=(a.maxtranslate()-a.mintranslate())/(t.maxtranslate()-t.mintranslate()),r=(e-t.mintranslate())*i+a.mintranslate()),t.params.controlinverse&&(r=a.maxtranslate()-r),a.updateprogress(r),a.setwrappertranslate(r,!1,t),a.updateactiveindex()}var i,r,n=t.params.control;if(array.isarray(n))for(var o=0;o-1?"dommousescroll":function(){var e="onwheel"in document;if(!e){var a=document.createelement("div");a.setattribute("onwheel","return;"),e="function"==typeof a.onwheel}return!e&&document.implementation&&document.implementation.hasfeature&&document.implementation.hasfeature("","")!==!0&&(e=document.implementation.hasfeature("events.wheel","3.0")),e}()?"wheel":"mousewheel"),t.disablemousewheelcontrol=function(){if(!t.mousewheel.event)return!1;var a=t.container;return"container"!==t.params.mousewheeleventstarged&&(a=e(t.params.mousewheeleventstarged)),a.off(t.mousewheel.event,u),t.params.mousewheelcontrol=!1,!0},t.enablemousewheelcontrol=function(){if(!t.mousewheel.event)return!1;var a=t.container;return"container"!==t.params.mousewheeleventstarged&&(a=e(t.params.mousewheeleventstarged)),a.on(t.mousewheel.event,u),t.params.mousewheelcontrol=!0,!0},t.parallax={settranslate:function(){t.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){c(this,t.progress)}),t.slides.each(function(){var a=e(this);a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){c(this,math.min(math.max(a[0].progress,-1),1))})})},settransition:function(a){void 0===a&&(a=t.params.speed),t.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var t=e(this),s=parseint(t.attr("data-swiper-parallax-duration"),10)||a;0===a&&(s=0),t.transition(s)})}},t.zoom={scale:1,currentscale:1,isscaling:!1,gesture:{slide:void 0,slidewidth:void 0,slideheight:void 0,image:void 0,imagewrap:void 0,zoommax:t.params.zoommax},image:{istouched:void 0,ismoved:void 0,currentx:void 0,currenty:void 0,minx:void 0,miny:void 0,maxx:void 0,maxy:void 0,width:void 0,height:void 0,startx:void 0,starty:void 0,touchesstart:{},touchescurrent:{}},velocity:{x:void 0,y:void 0,prevpositionx:void 0,prevpositiony:void 0,prevtime:void 0},getdistancebetweentouches:function(e){if(e.targettouches.length<2)return 1;var a=e.targettouches[0].pagex,t=e.targettouches[0].pagey,s=e.targettouches[1].pagex,i=e.targettouches[1].pagey;return math.sqrt(math.pow(s-a,2)+math.pow(i-t,2))},ongesturestart:function(a){var t=t.zoom;if(!t.support.gestures){if("touchstart"!==a.type||"touchstart"===a.type&&a.targettouches.length<2)return;t.gesture.scalestart=t.getdistancebetweentouches(a)}if(!(t.gesture.slide&&t.gesture.slide.length||(t.gesture.slide=e(this),0===t.gesture.slide.length&&(t.gesture.slide=t.slides.eq(t.activeindex)),t.gesture.image=t.gesture.slide.find("img, svg, canvas"),t.gesture.imagewrap=t.gesture.image.parent("."+t.params.zoomcontainerclass),t.gesture.zoommax=t.gesture.imagewrap.attr("data-swiper-zoom")||t.params.zoommax,0!==t.gesture.imagewrap.length)))return void(t.gesture.image=void 0);t.gesture.image.transition(0),t.isscaling=!0},ongesturechange:function(e){var a=t.zoom;if(!t.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targettouches.length<2)return;a.gesture.scalemove=a.getdistancebetweentouches(e)}a.gesture.image&&0!==a.gesture.image.length&&(t.support.gestures?a.scale=e.scale*a.currentscale:a.scale=a.gesture.scalemove/a.gesture.scalestart*a.currentscale,a.scale>a.gesture.zoommax&&(a.scale=a.gesture.zoommax-1+math.pow(a.scale-a.gesture.zoommax+1,.5)),a.scalea.image.touchesstart.x)return void(a.image.istouched=!1);if(!t.ishorizontal()&&math.floor(a.image.miny)===math.floor(a.image.starty)&&a.image.touchescurrent.ya.image.touchesstart.y)return void(a.image.istouched=!1)}e.preventdefault(),e.stoppropagation(),a.image.ismoved=!0,a.image.currentx=a.image.touchescurrent.x-a.image.touchesstart.x+a.image.startx,a.image.currenty=a.image.touchescurrent.y-a.image.touchesstart.y+a.image.starty,a.image.currentxa.image.maxx&&(a.image.currentx=a.image.maxx-1+math.pow(a.image.currentx-a.image.maxx+1,.8)),a.image.currentya.image.maxy&&(a.image.currenty=a.image.maxy-1+math.pow(a.image.currenty-a.image.maxy+1,.8)),a.velocity.prevpositionx||(a.velocity.prevpositionx=a.image.touchescurrent.x),a.velocity.prevpositiony||(a.velocity.prevpositiony=a.image.touchescurrent.y),a.velocity.prevtime||(a.velocity.prevtime=date.now()),a.velocity.x=(a.image.touchescurrent.x-a.velocity.prevpositionx)/(date.now()-a.velocity.prevtime)/2,a.velocity.y=(a.image.touchescurrent.y-a.velocity.prevpositiony)/(date.now()-a.velocity.prevtime)/2,math.abs(a.image.touchescurrent.x-a.velocity.prevpositionx)<2&&(a.velocity.x=0),math.abs(a.image.touchescurrent.y-a.velocity.prevpositiony)<2&&(a.velocity.y=0),a.velocity.prevpositionx=a.image.touchescurrent.x,a.velocity.prevpositiony=a.image.touchescurrent.y,a.velocity.prevtime=date.now(),a.gesture.imagewrap.transform("translate3d("+a.image.currentx+"px, "+a.image.currenty+"px,0)")}}},ontouchend:function(e,a){var t=e.zoom;if(t.gesture.image&&0!==t.gesture.image.length){if(!t.image.istouched||!t.image.ismoved)return t.image.istouched=!1,void(t.image.ismoved=!1);t.image.istouched=!1,t.image.ismoved=!1;var s=300,i=300,r=t.velocity.x*s,n=t.image.currentx+r,o=t.velocity.y*i,l=t.image.currenty+o;0!==t.velocity.x&&(s=math.abs((n-t.image.currentx)/t.velocity.x)),0!==t.velocity.y&&(i=math.abs((l-t.image.currenty)/t.velocity.y));var p=math.max(s,i);t.image.currentx=n,t.image.currenty=l;var d=t.image.width*t.scale,u=t.image.height*t.scale;t.image.minx=math.min(t.gesture.slidewidth/2-d/2,0),t.image.maxx=-t.image.minx,t.image.miny=math.min(t.gesture.slideheight/2-u/2,0),t.image.maxy=-t.image.miny,t.image.currentx=math.max(math.min(t.image.currentx,t.image.maxx),t.image.minx),t.image.currenty=math.max(math.min(t.image.currenty,t.image.maxy),t.image.miny),t.gesture.imagewrap.transition(p).transform("translate3d("+t.image.currentx+"px, "+t.image.currenty+"px,0)")}},ontransitionend:function(e){var a=e.zoom;a.gesture.slide&&e.previousindex!==e.activeindex&&(a.gesture.image.transform("translate3d(0,0,0) scale(1)"),a.gesture.imagewrap.transform("translate3d(0,0,0)"),a.gesture.slide=a.gesture.image=a.gesture.imagewrap=void 0,a.scale=a.currentscale=1)},togglezoom:function(a,t){var s=a.zoom;if(s.gesture.slide||(s.gesture.slide=a.clickedslide?e(a.clickedslide):a.slides.eq(a.activeindex),s.gesture.image=s.gesture.slide.find("img, svg, canvas"),s.gesture.imagewrap=s.gesture.image.parent("."+a.params.zoomcontainerclass)),s.gesture.image&&0!==s.gesture.image.length){var i,r,n,o,l,p,d,u,c,m,h,g,f,v,w,y,x,t;void 0===s.image.touchesstart.x&&t?(i="touchend"===t.type?t.changedtouches[0].pagex:t.pagex,r="touchend"===t.type?t.changedtouches[0].pagey:t.pagey):(i=s.image.touchesstart.x,r=s.image.touchesstart.y),s.scale&&1!==s.scale?(s.scale=s.currentscale=1,s.gesture.imagewrap.transition(300).transform("translate3d(0,0,0)"),s.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),s.gesture.slide=void 0):(s.scale=s.currentscale=s.gesture.imagewrap.attr("data-swiper-zoom")||a.params.zoommax,t?(x=s.gesture.slide[0].offsetwidth,t=s.gesture.slide[0].offsetheight,n=s.gesture.slide.offset().left,o=s.gesture.slide.offset().top,l=n+x/2-i,p=o+t/2-r,c=s.gesture.image[0].offsetwidth,m=s.gesture.image[0].offsetheight,h=c*s.scale,g=m*s.scale,f=math.min(x/2-h/2,0),v=math.min(t/2-g/2,0),w=-f,y=-v,d=l*s.scale,u=p*s.scale,dw&&(d=w),uy&&(u=y)):(d=0,u=0),s.gesture.imagewrap.transition(300).transform("translate3d("+d+"px, "+u+"px,0)"),s.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+s.scale+")"))}},attachevents:function(a){var t=a?"off":"on";if(t.params.zoom){var s=(t.slides,!("touchstart"!==t.touchevents.start||!t.support.passivelistener||!t.params.passivelisteners)&&{passive:!0,capture:!1});t.support.gestures?(t.slides[t]("gesturestart",t.zoom.ongesturestart,s),t.slides[t]("gesturechange",t.zoom.ongesturechange,s),t.slides[t]("gestureend",t.zoom.ongestureend,s)):"touchstart"===t.touchevents.start&&(t.slides[t](t.touchevents.start,t.zoom.ongesturestart,s),t.slides[t](t.touchevents.move,t.zoom.ongesturechange,s),t.slides[t](t.touchevents.end,t.zoom.ongestureend,s)),t[t]("touchstart",t.zoom.ontouchstart),t.slides.each(function(a,s){e(s).find("."+t.params.zoomcontainerclass).length>0&&e(s)[t](t.touchevents.move,t.zoom.ontouchmove)}),t[t]("touchend",t.zoom.ontouchend),t[t]("transitionend",t.zoom.ontransitionend),t.params.zoomtoggle&&t.on("doubletap",t.zoom.togglezoom)}},init:function(){t.zoom.attachevents()},destroy:function(){t.zoom.attachevents(!0)}},t._plugins=[];for(var y in t.plugins){var o=t.plugins[y](t,t.params[y]);o&&t._plugins.push(o)}return t.callplugins=function(e){for(var a=0;a'),notify:function(e){var a=t.a11y.liveregion;0!==a.length&&(a.html(""),a.html(e))},init:function(){t.params.nextbutton&&t.nextbutton&&t.nextbutton.length>0&&(t.a11y.makefocusable(t.nextbutton),t.a11y.addrole(t.nextbutton,"button"),t.a11y.addlabel(t.nextbutton,t.params.nextslidemessage)),t.params.prevbutton&&t.prevbutton&&t.prevbutton.length>0&&(t.a11y.makefocusable(t.prevbutton),t.a11y.addrole(t.prevbutton,"button"),t.a11y.addlabel(t.prevbutton,t.params.prevslidemessage)),e(t.container).append(t.a11y.liveregion)},initpagination:function(){t.params.pagination&&t.params.paginationclickable&&t.bullets&&t.bullets.length&&t.bullets.each(function(){var a=e(this);t.a11y.makefocusable(a),t.a11y.addrole(a,"button"),t.a11y.addlabel(a,t.params.paginationbulletmessage.replace(/{{index}}/,a.index()+1))})},destroy:function(){t.a11y.liveregion&&t.a11y.liveregion.length>0&&t.a11y.liveregion.remove()}},t.init=function(){t.params.loop&&t.createloop(),t.updatecontainersize(),t.updateslidessize(),t.updatepagination(),t.params.scrollbar&&t.scrollbar&&(t.scrollbar.set(),t.params.scrollbardraggable&&t.scrollbar.enabledraggable()),"slide"!==t.params.effect&&t.effects[t.params.effect]&&(t.params.loop||t.updateprogress(),t.effects[t.params.effect].settranslate()),t.params.loop?t.slideto(t.params.initialslide+t.loopedslides,0,t.params.runcallbacksoninit):(t.slideto(t.params.initialslide,0,t.params.runcallbacksoninit),0===t.params.initialslide&&(t.parallax&&t.params.parallax&&t.parallax.settranslate(),t.lazy&&t.params.lazyloading&&(t.lazy.load(),t.lazy.initialimageloaded=!0))),t.attachevents(),t.params.observer&&t.support.observer&&t.initobservers(),t.params.preloadimages&&!t.params.lazyloading&&t.preloadimages(),t.params.zoom&&t.zoom&&t.zoom.init(),t.params.autoplay&&t.startautoplay(),t.params.keyboardcontrol&&t.enablekeyboardcontrol&&t.enablekeyboardcontrol(),t.params.mousewheelcontrol&&t.enablemousewheelcontrol&&t.enablemousewheelcontrol(),t.params.hashnavreplacestate&&(t.params.replacestate=t.params.hashnavreplacestate),t.params.history&&t.history&&t.history.init(),t.params.hashnav&&t.hashnav&&t.hashnav.init(),t.params.a11y&&t.a11y&&t.a11y.init(),t.emit("oninit",t)},t.cleanupstyles=function(){t.container.removeclass(t.classnames.join(" ")).removeattr("style"),t.wrapper.removeattr("style"),t.slides&&t.slides.length&&t.slides.removeclass([t.params.slidevisibleclass,t.params.slideactiveclass,t.params.slidenextclass,t.params.slideprevclass].join(" ")).removeattr("style").removeattr("data-swiper-column").removeattr("data-swiper-row"),t.paginationcontainer&&t.paginationcontainer.length&&t.paginationcontainer.removeclass(t.params.paginationhiddenclass),t.bullets&&t.bullets.length&&t.bullets.removeclass(t.params.bulletactiveclass),t.params.prevbutton&&e(t.params.prevbutton).removeclass(t.params.buttondisabledclass),t.params.nextbutton&&e(t.params.nextbutton).removeclass(t.params.buttondisabledclass),t.params.scrollbar&&t.scrollbar&&(t.scrollbar.track&&t.scrollbar.track.length&&t.scrollbar.track.removeattr("style"),t.scrollbar.drag&&t.scrollbar.drag.length&&t.scrollbar.drag.removeattr("style"))},t.destroy=function(e,a){t.detachevents(),t.stopautoplay(),t.params.scrollbar&&t.scrollbar&&t.params.scrollbardraggable&&t.scrollbar.disabledraggable(),t.params.loop&&t.destroyloop(),a&&t.cleanupstyles(),t.disconnectobservers(),t.params.zoom&&t.zoom&&t.zoom.destroy(),t.params.keyboardcontrol&&t.disablekeyboardcontrol&&t.disablekeyboardcontrol(),t.params.mousewheelcontrol&&t.disablemousewheelcontrol&&t.disablemousewheelcontrol(),t.params.a11y&&t.a11y&&t.a11y.destroy(),t.params.history&&!t.params.replacestate&&window.removeeventlistener("popstate",t.history.sethistorypopstate),t.params.hashnav&&t.hashnav&&t.hashnav.destroy(),t.emit("ondestroy"),e!==!1&&(t=null)},t.init(),t}};a.prototype={issafari:function(){var e=window.navigator.useragent.tolowercase();return e.indexof("safari")>=0&&e.indexof("chrome")<0&&e.indexof("android")<0}(),isuiwebview:/(iphone|ipod|ipad).*applewebkit(?!.*safari)/i.test(window.navigator.useragent),isarray:function(e){return"[object array]"===object.prototype.tostring.apply(e)},browser:{ie:window.navigator.pointerenabled||window.navigator.mspointerenabled,ietouch:window.navigator.mspointerenabled&&window.navigator.msmaxtouchpoints>1||window.navigator.pointerenabled&&window.navigator.maxtouchpoints>1,lteie9:function(){var e=document.createelement("div");return e.innerhtml="",1===e.getelementsbytagname("i").length}()},device:function(){var e=window.navigator.useragent,a=e.match(/(android);?[\s\/]+([\d.]+)?/),t=e.match(/(ipad).*os\s([\d_]+)/),s=e.match(/(ipod)(.*os\s([\d_]+))?/),i=!t&&e.match(/(iphone\sos|ios)\s([\d_]+)/);return{ios:t||i||s,android:a}}(),support:{touch:window.modernizr&&modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.documenttouch&&document instanceof documenttouch)}(),transforms3d:window.modernizr&&modernizr.csstransforms3d===!0||function(){var e=document.createelement("div").style;return"webkitperspective"in e||"mozperspective"in e||"operspective"in e||"msperspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createelement("div").style,a="alignitems webkitalignitems webkitboxalign msflexalign mozboxalign webkitflexdirection msflexdirection mozboxdirection mozboxorient webkitboxdirection webkitboxorient".split(" "),t=0;t=0&&o.indexof(">")>=0){var l="div";for(0===o.indexof(":~]/)?(t||document).queryselectorall(a):[document.getelementbyid(a.split("#")[1])],i=0;i0&&a[0].nodetype)for(i=0;i0?parsefloat(this.css("width")):null},outerwidth:function(e){return this.length>0?e?this[0].offsetwidth+parsefloat(this.css("margin-right"))+parsefloat(this.css("margin-left")):this[0].offsetwidth:null},height:function(){return this[0]===window?window.innerheight:this.length>0?parsefloat(this.css("height")):null},outerheight:function(e){return this.length>0?e?this[0].offsetheight+parsefloat(this.css("margin-top"))+parsefloat(this.css("margin-bottom")):this[0].offsetheight:null},offset:function(){if(this.length>0){var e=this[0],a=e.getboundingclientrect(),t=document.body,s=e.clienttop||t.clienttop||0,i=e.clientleft||t.clientleft||0,r=window.pageyoffset||e.scrolltop,n=window.pagexoffset||e.scrollleft;return{top:a.top+r-s,left:a.left+n-i}}return null},css:function(e,a){var t;if(1===arguments.length){if("string"!=typeof e){for(t=0;ts-1?new e([]):a<0?(t=s+a,new e(t<0?[]:[this[t]])):new e([this[a]])},append:function(a){var t,s;for(t=0;t=0;s--)this[t].insertbefore(i.childnodes[s],this[t].childnodes[0])}else if(a instanceof e)for(s=0;s1)for(var i=0;i1)for(var i=0;i0?t?this[0].nextelementsibling&&a(this[0].nextelementsibling).is(t)?[this[0].nextelementsibling]:[]:this[0].nextelementsibling?[this[0].nextelementsibling]:[]:[])},nextall:function(t){var s=[],i=this[0];if(!i)return new e([]);for(;i.nextelementsibling;){var r=i.nextelementsibling;t?a(r).is(t)&&s.push(r):s.push(r),i=r}return new e(s)},prev:function(t){return new e(this.length>0?t?this[0].previouselementsibling&&a(this[0].previouselementsibling).is(t)?[this[0].previouselementsibling]:[]:this[0].previouselementsibling?[this[0].previouselementsibling]:[]:[])},prevall:function(t){var s=[],i=this[0];if(!i)return new e([]);for(;i.previouselementsibling;){var r=i.previouselementsibling;t?a(r).is(t)&&s.push(r):s.push(r),i=r}return new e(s)},parent:function(e){for(var t=[],s=0;s0?e?this[0].offsetwidth+parsefloat(this.css("margin-right"))+parsefloat(this.css("margin-left")):this[0].offsetwidth:null})),window.swiper=a}(),"undefined"!=typeof module?module.exports=window.swiper:"function"==typeof define&&define.amd&&define([],function(){"use strict";return window.swiper});
/*!
* superslide v2.1.3
* 轻松解决网站大部分特效展示问题
* 详尽信息请看官网:http://www.superslide2.com/
*
* copyright 2011-至今, 大话主席
*
* 请尊重原创,保留头部版权
* 在保留版权的前提下可应用于个人或商业用途
* v2.1.3:处理jquery已经弃用的api,兼容最新版本的jquery,目前是jquery3.3.1,日后如果发现插件不兼容新版本的jquery,请联系我 305491515@qq.com
*/
!function(a){a.fn.slide=function(b){return a.fn.slide.defaults={type:"slide",effect:"fade",autoplay:!1,delaytime:500,intertime:2500,triggertime:150,defaultindex:0,titcell:".hd li",maincell:".bd",targetcell:null,trigger:"mouseover",scroll:1,vis:1,titonclassname:"on",autopage:!1,prevcell:".prev",nextcell:".next",pagestatecell:".pagestate",opp:!1,pnloop:!0,easing:"swing",startfun:null,endfun:null,switchload:null,playstatecell:".playstate",mouseoverstop:!0,defaultplay:!0,returndefault:!1},this.each(function(){var t,u,v,w,x,y,z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$,_,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,c=a.extend({},a.fn.slide.defaults,b),d=a(this),e=c.effect,f=a(c.prevcell,d),g=a(c.nextcell,d),h=a(c.pagestatecell,d),i=a(c.playstatecell,d),j=a(c.titcell,d),k=j.length,l=a(c.maincell,d),m=l.children().length,n=c.switchload,o=a(c.targetcell,d),p=parseint(c.defaultindex),q=parseint(c.delaytime),r=parseint(c.intertime);if(parseint(c.triggertime),t=parseint(c.scroll),u="false"==c.autoplay||0==c.autoplay?!1:!0,v="false"==c.opp||0==c.opp?!1:!0,w="false"==c.autopage||0==c.autopage?!1:!0,x="false"==c.pnloop||0==c.pnloop?!1:!0,y="false"==c.mouseoverstop||0==c.mouseoverstop?!1:!0,z="false"==c.defaultplay||0==c.defaultplay?!1:!0,a="false"==c.returndefault||0==c.returndefault?!1:!0,b=isnan(c.vis)?1:parseint(c.vis),c=!-[1]&&!window.xmlhttprequest,d=0,e=0,f=0,g=0,h=c.easing,i=null,j=null,k=null,l=c.titonclassname,m=j.index(d.find("."+l)),n=p=-1==m?p:m,o=p,p=p,q=m>=b?0!=m%t?m%t:t:0,s="leftmarquee"==e||"topmarquee"==e?!0:!1,t=function(){a.isfunction(c.startfun)&&c.startfun(p,k,d,a(c.titcell,d),l,o,f,g)},u=function(){a.isfunction(c.endfun)&&c.endfun(p,k,d,a(c.titcell,d),l,o,f,g)},v=function(){j.removeclass(l),z&&j.eq(o).addclass(l)},"menu"==c.type)return z&&j.removeclass(l).eq(p).addclass(l),j.hover(function(){r=a(this).find(c.targetcell);var b=j.index(a(this));j=settimeout(function(){switch(p=b,j.removeclass(l).eq(p).addclass(l),t(),e){case"fade":r.stop(!0,!0).animate({opacity:"show"},q,h,u);break;case"slidedown":r.stop(!0,!0).animate({height:"show"},q,h,u)}},c.triggertime)},function(){switch(cleartimeout(j),e){case"fade":r.animate({opacity:"hide"},q,h);break;case"slidedown":r.animate({height:"hide"},q,h)}}),a&&d.hover(function(){cleartimeout(k)},function(){k=settimeout(v,q)}),void 0;if(0==k&&(k=m),s&&(k=2),w){if(m>=b?"leftloop"==e||"toploop"==e?k=0!=m%t?(0^m/t)+1:m/t:(w=m-b,k=1+parseint(0!=w%t?w/t+1:w/t),0>=k&&(k=1)):k=1,j.html(""),x="",1==c.autopage||"true"==c.autopage)for(y=0;k>y;y++)x+=""+(y+1)+"";else for(y=0;k>y;y++)x+=c.autopage.replace("$",y+1);j.html(x),j=j.children()}if(m>=b)switch(l.children().each(function(){a(this).width()>f&&(f=a(this).width(),e=a(this).outerwidth(!0)),a(this).height()>g&&(g=a(this).height(),d=a(this).outerheight(!0))}),z=l.children(),$=function(){var a;for(a=0;b>a;a++)z.eq(a).clone().addclass("clone").appendto(l);for(a=0;q>a;a++)z.eq(m-a-1).clone().addclass("clone").prependto(l)},e){case"fold":l.css({position:"relative",width:e,height:d}).children().css({position:"absolute",width:f,left:0,top:0,display:"none"});break;case"top":l.wrap('').css({top:-(p*t)*d,position:"relative",padding:"0",margin:"0"}).children().css({height:g});break;case"left":l.wrap('').css({width:m*e,left:-(p*t)*e,position:"relative",overflow:"hidden",padding:"0",margin:"0"}).children().css({"float":"left",width:f});break;case"leftloop":case"leftmarquee":$(),l.wrap('').css({width:(m+b+q)*e,position:"relative",overflow:"hidden",padding:"0",margin:"0",left:-(q+p*t)*e}).children().css({"float":"left",width:f});break;case"toploop":case"topmarquee":$(),l.wrap('').css({height:(m+b+q)*d,position:"relative",padding:"0",margin:"0",top:-(q+p*t)*d}).children().css({height:g})}_=function(a){var b=a*t;return a==k?b=m:-1==a&&0!=m%t&&(b=-m%t),b},ab=function(b){var d,f,g,h,c=function(c){for(var d=c;b+c>d;d++)b.eq(d).find("img["+n+"]").each(function(){var c,d,b=a(this);if(b.attr("src",b.attr(n)).removeattr(n),l.find(".clone")[0])for(c=l.children(),d=0;d=1?p=1:0>=p&&(p=0):(p=p,p>=k?p=0:0>p&&(p=k-1)),t(),null!=n&&ab(l.children()),o[0]&&(r=o.eq(p),null!=n&&ab(o),"slidedown"==e?(o.not(r).stop(!0,!0).slideup(q),r.slidedown(q,h,function(){l[0]||u()})):(o.not(r).stop(!0,!0).hide(),r.animate({opacity:"show"},q,function(){l[0]||u()}))),m>=b)switch(e){case"fade":l.children().stop(!0,!0).eq(p).animate({opacity:"show"},q,h,function(){u()}).siblings().hide();break;case"fold":l.children().stop(!0,!0).eq(p).animate({opacity:"show"},q,h,function(){u()}).siblings().animate({opacity:"hide"},q,h);break;case"top":l.stop(!0,!1).animate({top:-p*t*d},q,h,function(){u()});break;case"left":l.stop(!0,!1).animate({left:-p*t*e},q,h,function(){u()});break;case"leftloop":b=p,l.stop(!0,!0).animate({left:-(_(p)+q)*e},q,h,function(){-1>=b?l.css("left",-(q+(k-1)*t)*e):b>=k&&l.css("left",-q*e),u()});break;case"toploop":b=p,l.stop(!0,!0).animate({top:-(_(p)+q)*d},q,h,function(){-1>=b?l.css("top",-(q+(k-1)*t)*d):b>=k&&l.css("top",-q*d),u()});break;case"leftmarquee":c=l.css("left").replace("px",""),0==p?l.animate({left:++c},0,function(){l.css("left").replace("px","")>=0&&l.css("left",-m*e)}):l.animate({left:--c},0,function(){l.css("left").replace("px","")<=-(m+q)*e&&l.css("left",-q*e)});break;case"topmarquee":d=l.css("top").replace("px",""),0==p?l.animate({top:++d},0,function(){l.css("top").replace("px","")>=0&&l.css("top",-m*d)}):l.animate({top:--d},0,function(){l.css("top").replace("px","")<=-(m+q)*d&&l.css("top",-q*d)})}j.removeclass(l).eq(p).addclass(l),n=p,x||(g.removeclass("nextstop"),f.removeclass("prevstop"),0==p&&f.addclass("prevstop"),p==k-1&&g.addclass("nextstop")),h.html(""+(p+1)+"/"+k)}},z&&bb(!0),a&&d.hover(function(){cleartimeout(k)},function(){k=settimeout(function(){p=o,z?bb():"slidedown"==e?r.slideup(q,v):r.animate({opacity:"hide"},q,v),n=p},300)}),cb=function(a){i=setinterval(function(){v?p--:p++,bb()},a?a:r)},db=function(a){i=setinterval(bb,a?a:r)},eb=function(){y||!u||i.hasclass("pausestate")||(clearinterval(i),cb())},fb=function(){(x||p!=k-1)&&(p++,bb(),s||eb())},gb=function(){(x||0!=p)&&(p--,bb(),s||eb())},hb=function(){clearinterval(i),s?db():cb(),i.removeclass("pausestate")},ib=function(){clearinterval(i),i.addclass("pausestate")},u?s?(v?p--:p++,db(),y&&l.hover(ib,hb)):(cb(),y&&d.hover(ib,hb)):(s&&(v?p--:p++),i.addclass("pausestate")),i.click(function(){i.hasclass("pausestate")?hb():ib()}),"mouseover"==c.trigger?j.hover(function(){var a=j.index(this);j=settimeout(function(){p=a,bb(),eb()},c.triggertime)},function(){cleartimeout(j)}):j.click(function(){p=j.index(this),bb(),eb()}),s?(g.mousedown(fb),f.mousedown(gb),x&&(kb=function(){jb=settimeout(function(){clearinterval(i),db(0^r/10)},150)},lb=function(){cleartimeout(jb),clearinterval(i),db()},g.mousedown(kb),g.mouseup(lb),f.mousedown(kb),f.mouseup(lb)),"mouseover"==c.trigger&&(g.hover(fb,function(){}),f.hover(gb,function(){}))):(g.click(fb),f.click(gb)),"auto"!=c.vis||1!=t||"left"!=e&&"leftloop"!=e||(nb=function(){c&&(l.width("auto"),l.children().width("auto")),l.parent().width("auto"),e=l.parent().width(),c&&l.parent().width(e),l.children().width(e),"left"==e?(l.width(e*m),l.stop(!0,!1).animate({left:-p*e},0)):(l.width(e*(m+2)),l.stop(!0,!1).animate({left:-(p+1)*e},0)),c||e==l.parent().width()||nb()},a(window).resize(function(){cleartimeout(mb),mb=settimeout(nb,100)}),nb())})}}(jquery),jquery.easing["jswing"]=jquery.easing["swing"],jquery.extend(jquery.easing,{def:"easeoutquad",swing:function(a,b,c,d,e){return jquery.easing[jquery.easing.def](a,b,c,d,e)},easeinquad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeoutquad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeinoutquad:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeincubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeoutcubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeinoutcubic:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeinquart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeoutquart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeinoutquart:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeinquint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeoutquint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeinoutquint:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeinsine:function(a,b,c,d,e){return-d*math.cos(b/e*(math.pi/2))+d+c},easeoutsine:function(a,b,c,d,e){return d*math.sin(b/e*(math.pi/2))+c},easeinoutsine:function(a,b,c,d,e){return-d/2*(math.cos(math.pi*b/e)-1)+c},easeinexpo:function(a,b,c,d,e){return 0==b?c:d*math.pow(2,10*(b/e-1))+c},easeoutexpo:function(a,b,c,d,e){return b==e?c+d:d*(-math.pow(2,-10*b/e)+1)+c},easeinoutexpo:function(a,b,c,d,e){return 0==b?c:b==e?c+d:(b/=e/2)<1?d/2*math.pow(2,10*(b-1))+c:d/2*(-math.pow(2,-10*--b)+2)+c},easeincirc:function(a,b,c,d,e){return-d*(math.sqrt(1-(b/=e)*b)-1)+c},easeoutcirc:function(a,b,c,d,e){return d*math.sqrt(1-(b=b/e-1)*b)+c},easeinoutcirc:function(a,b,c,d,e){return(b/=e/2)<1?-d/2*(math.sqrt(1-b*b)-1)+c:d/2*(math.sqrt(1-(b-=2)*b)+1)+c},easeinelastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;return 0==b?c:1==(b/=e)?c+d:(g||(g=.3*e),hb?-.5*h*math.pow(2,10*(b-=1))*math.sin((b*e-f)*2*math.pi/g)+c:.5*h*math.pow(2,-10*(b-=1))*math.sin((b*e-f)*2*math.pi/g)+d+c)},easeinback:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),d*(b/=e)*b*((f+1)*b-f)+c},easeoutback:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),d*((b=b/e-1)*b*((f+1)*b+f)+1)+c},easeinoutback:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),(b/=e/2)<1?d/2*b*b*(((f*=1.525)+1)*b-f)+c:d/2*((b-=2)*b*(((f*=1.525)+1)*b+f)+2)+c},easeinbounce:function(a,b,c,d,e){return d-jquery.easing.easeoutbounce(a,e-b,0,d,e)+c},easeoutbounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:2/2.75>b?d*(7.5625*(b-=1.5/2.75)*b+.75)+c:2.5/2.75>b?d*(7.5625*(b-=2.25/2.75)*b+.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+.984375)+c},easeinoutbounce:function(a,b,c,d,e){return e/2>b?.5*jquery.easing.easeinbounce(a,2*b,0,d,e)+c:.5*jquery.easing.easeoutbounce(a,2*b-e,0,d,e)+.5*d+c}});