! function e(t, n, r) {
function i(o, a) {
if (!n[o]) {
if (!t[o]) {
var l = "function" == typeof require && require;
if (!a && l) return l(o, !0);
if (s) return s(o, !0);
var u = new error("cannot find module '" + o + "'");
throw u.code = "module_not_found", u
}
var c = n[o] = {
exports: {}
};
t[o][0].call(c.exports, function(e) {
var n = t[o][1][e];
return i(n ? n : e)
}, c, c.exports, e, t, n, r)
}
return n[o].exports
}
for (var s = "function" == typeof require && require, o = 0; o < r.length; o++) i(r[o]);
return i
}({
1: [function(e, t, n) {
var r, i, s, o, a, l, u, c, d, h, f, p, g, m, v, y, b, _, x, w, t;
r = window.jquery = e("./lib/jquery.min"), p = e("./lib/underscore-min"), e("./lib/jquery.easing.min"), e("./lib/velocity.min"), t = e("preloadjs"), _ = navigator.useragent, b = _.indexof("iphone") > -1 || _.indexof("ipod") > -1 || _.indexof("android") > -1, v = b ? "sp" : "pc", w = r(window).width(), x = r(window).height(), g = b ? w : 960, m = 12.5, y = .2216946626429399, d = function() {
function e(e, t) {
var n;
this.$target = e, this.func = t, n = this, b ? this.device = "sp" : this.device = "pc", this.$target.each(function(e) {
if (null != r(this).data("src") && (null != r(this).data("device") && r(this).data("device") !== n.device || r(this).attr("src", r(this).data("src").replace("device", n.device))), e === n.$target.length - 1 && null != n.func) return n.func()
})
}
return e
}(), h = function() {
function e(e) {
var t;
t = math.floor(r(e.attr("href")).offset().top), e.on("click", function(e) {
return function() {
return r("html,body").animate({
scrolltop: t
}, 1e3, "easeinoutcubic"), !1
}
}(this))
}
return e
}(), c = function() {
function e() {}
return e.prototype.resize = function() {
return r(".m-mask-top-up, .m-mask-top-down").each(function() {
return r(this).prepend('
'), r(this).css({
"margin-top": math.round(-y * w * .5 + y * g * .5),
"padding-top": math.round(y * w * .5 + y * g * .5)
}), r(this).children(".mask-top").css({
height: math.round(y * w),
top: math.round(-y * w * .5)
})
}), r(".m-mask-bottom-up, .m-mask-bottom-down").each(function() {
return r(this).prepend(''), r(this).css({
"margin-bottom": math.round(-y * w * .5 + y * g * .5),
"padding-bottom": math.round(y * w * .5 + y * g * .5)
}), r(this).children(".mask-bottom").css({
height: math.round(y * w),
bottom: math.round(-y * w * .5)
})
}), r(".m-blocks").each(function() {
return r(this).children(".bg").css({
height: r(this).height() - 2 * parseint(r(this).children(".bg").css("top")) - math.round(y * g * 2)
})
})
}, e
}(), a = function() {
function e() {
this.$lheader = r(".l-header"), this.$nav = this.$lheader.find(".nav"), this.$navbtn = this.$nav.find(".btn"), this.$navinner = this.$nav.children(".inner"), this.$navclose = this.$navinner.find(".close"), this.$navlist = this.$navinner.find(".list"), this.$navcontact = this.$navinner.find(".contact"), b && this.setnav()
}
return e.prototype.setnav = function() {
return this.$navbtn.on("touchstart", function(e) {
return function() {
return e.open()
}
}(this)), this.$navclose.on("touchstart", function(e) {
return function() {
return e.close()
}
}(this))
}, e.prototype.open = function() {
return this.$navinner.css({
right: "-75%",
display: "block"
}).velocity({
right: "0%"
}, 500, "easeinoutexpo"), this.$navlist.find("li").each(function(e) {
return r(this).css({
right: "-90%"
}).velocity({
right: "0%"
}, {
duration: 500,
easing: "easeoutcubic",
delay: 50 * e + 125
})
}), this.$navcontact.css({
right: "-90%"
}).velocity({
right: "0%"
}, {
duration: 500,
easing: "easeoutcubic",
delay: 375
})
}, e.prototype.close = function() {
return this.$navinner.velocity({
right: "-75%"
}, 500, "easeinoutquart", function(e) {
return function() {
return e.$navinner.css({
display: "none"
})
}
}(this))
}, e
}(), s = function() {
function e() {
this.$lcontact = r(".l-contact"), this.$contactinner = this.$lcontact.children(".inner"), this.$contactinnerinner = this.$contactinner.children(".inner")
}
return e.prototype.resize = function() {
return this.$lcontact.css({
"margin-top": math.round(-y * w * .5 + y * g * .5)
}), this.$contactinner.css({
top: math.round(y * w * .5),
"padding-top": math.round(y * w * .5 + y * g * .5)
}), this.$contactinnerinner.css({
top: math.round(-y * w * .5)
})
}, e
}(), o = function() {
function e() {
this.$lfooter = r(".l-footer"), this.$pagetop = this.$lfooter.find(".pagetop"), this.pagetop()
}
return e.prototype.pagetop = function() {
return this.$pagetop.on("click", function(e) {
return function() {
return r("html,body").animate({
scrolltop: 0
}, 1e3, "easeoutcubic")
}
}(this))
}, e
}(), u = function() {
function e(e, t) {
this.manifest = e, this.func = t, this.$body = r("body"), this.$lload = r(".l-load"), this.$num = this.$lload.find(".num"), this.$numh = this.$num.find(".h"), this.$numt = this.$num.find(".t"), this.$numo = this.$num.find(".o"), this.$kanji = this.$lload.find(".kanji"), this.$mask = this.$lload.find(".mask"), this.$masktop = this.$mask.find(".top"), this.$maskbottom = this.$mask.find(".bottom"), this.nowprog = 0, this.displayprog = 0, this.kanjiw = this.$kanji.width(), this.iscomp = !1, this.timerid = "", this.init(), this.load()
}
return e.prototype.init = function() {
return this.$body.css({
overflow: "hidden"
}), r(window).on("touchmove.noscroll", function(e) {
return e.preventdefault()
}), this.$num.css({
opacity: 0
}), this.$kanji.css({
opacity: 0
}), this.$mask.css({
width: "0%"
}), this.$masktop.css({
width: w,
height: .5 * x + math.round(y * w * .5),
top: math.round(-y * w * .5)
}), this.$maskbottom.css({
width: w,
height: .5 * x + math.round(y * w * .5),
bottom: math.round(-y * w * .5)
})
}, e.prototype.load = function() {
var e;
return e = new createjs.loadqueue, e.setmaxconnections(6), e.addeventlistener("progress", function(e) {
return function(t) {
return e.nowprog = math.round(100 * t.progress)
}
}(this)), this.animateloadstart(function(t) {
return function() {
return e.loadmanifest(t.manifest), t.timerid = setinterval(function() {
return t.animateload()
}, 10)
}
}(this))
}, e.prototype.animateload = function(e) {
var t, n;
return this.displayprog <= 100 ? this.displayprog <= this.nowprog && (n = this.displayprog < 10 ? "00" + this.displayprog : this.displayprog >= 10 && this.displayprog < 100 ? "0" + this.displayprog : this.displayprog, this.displayprog++, this.$numh.text(string(n).substr(0, 1)), this.$numt.text(string(n).substr(1, 1)), this.$numo.text(string(n).substr(2, 1)), this.displayprog >= 10 && this.displayprog <= 100 && string(this.displayprog).substr(0, 1) !== string(n).substr(1, 1)) ? (t = this.displayprog < 100 ? string(this.displayprog).substr(0, 1) : 10, this.animateloadkanji(t)) : void 0 : (clearinterval(this.timerid), settimeout(function(e) {
return function() {
return e.animateloadend()
}
}(this), 250), settimeout(function(e) {
return function() {
return e.enable()
}
}(this), 250))
}, e.prototype.animateloadstart = function(e) {
return settimeout(function(t) {
return function() {
return t.animateloadkanji(0), t.$num.velocity({
opacity: 1
}, {
duration: 250,
easing: "easeoutcubic",
mobileha: !1,
complete: e
})
}
}(this), 250)
}, e.prototype.animateloadend = function() {
return this.$num.velocity({
opacity: 0
}, {
duration: 500,
easing: "easeoutcubic",
mobileha: !1
}), this.$kanji.velocity({
opacity: 0
}, 500, "easeoutcubic")
}, e.prototype.animateloadkanji = function(e) {
return this.$kanji.css({
"background-position": "-" + e * this.kanjiw + "px 0",
display: "block",
opacity: 0
}).velocity("stop").velocity({
scale: 1.375
}, 1, function(e) {
return function() {
return e.$kanji.velocity({
scale: 1,
opacity: 1
}, 500, "easeoutexpo")
}
}(this))
}, e.prototype.enable = function() {
return this.$mask.velocity({
width: "100%"
}, 375, "easeinexpo", function(e) {
return function() {
return e.$lload.css({
background: "transparent"
}), e.$mask.css({
background: "transparent"
})
}
}(this)), settimeout(function(e) {
return function() {
return e.$masktop.velocity({
top: -e.$masktop.height() + math.round(-y * w * .5)
}, {
duration: 750,
easing: "easeinoutexpo",
mobileha: !1
}), e.$maskbottom.velocity({
bottom: -e.$maskbottom.height() + math.round(-y * w * .5)
}, {
duration: 750,
easing: "easeinoutexpo",
mobileha: !1
})
}
}(this), 375), settimeout(function(e) {
return function() {
return e.$lload.remove(), e.$body.css({
overflow: "visible"
}), r(window).off(".noscroll"), e.iscomp = !0, e.func()
}
}(this), 1125)
}, e.prototype.resize = function() {
if (!this.iscomp) return this.$masktop.css({
width: w,
height: .5 * x + math.round(y * w * .5),
top: math.round(-y * w * .5)
}), this.$maskbottom.css({
width: w,
height: .5 * x + math.round(y * w * .5),
bottom: math.round(-y * w * .5)
})
}, e
}(), l = function() {
function e() {
this.$lvisual = r(".l-visual"), this.$visual = this.$lvisual.find(".visual"), this.$visualtitle = this.$visual.find(".title"), this.$visualtitlecharactor = this.$visualtitle.find(".charactor"), this.$visualcopy = this.$visual.find(".copy"), this.$visualcopyline = this.$visualcopy.find(".line"), this.$visualimg = this.$visual.find(".img"), this.$scroll = this.$lvisual.find(".scroll"), this.$line = r(".kovant_main02 .line, .kovant_main03 .line, .kovant_main04 .line, .kovant_main05 .line"), this.$lineinner = this.$line.children(".inner"), this.$lineinnerimg = this.$lineinner.find(".img"), this.$kanji = r(".kovant_main02 .kanji, .kovant_main03 .kanji, .kovant_main04 .kanji, .kovant_main05 .kanji"), this.bodywidth = b ? 550 : 960, this.lineheight = b ? 100 : 285, this.flg = {
about: !1,
service: !1,
member: !1,
"case": !1
}, this.init()
}
return e.prototype.init = function() {
var e;
return this.$visualtitlecharactor.velocity({
opacity: 0,
scale: 1.125
}, 1), b ? this.$visualcopyline.css({
height: 0,
"margin-top": 12
}) : this.$visualcopyline.css({
width: 0
}), this.$visualimg.css({
opacity: 0
}), this.$scroll.css({
opacity: 0
}), this.$line.css({
width: "0%"
}), this.$lineinner.css({
height: 1
}), e = b ? 8 : 2, this.$lineinnerimg.css({
top: math.round(-y * this.bodywidth * .5) - math.round(y * this.bodywidth * .5) + e
}), this.$kanji.velocity({
opacity: 0,
scale: 1.375
}, 0)
}, e.prototype.animate = function() {
return this.animateimg(), settimeout(function(e) {
return function() {
return e.animatetitle()
}
}(this), 1500), settimeout(function(e) {
return function() {
return e.animatecopy()
}
}(this), 2500), settimeout(function(e) {
return function() {
return e.animatescroll()
}
}(this), 3500)
}, e.prototype.animateimg = function() {
var e, t;
return e = 0, t = b ? 421 : 950, setinterval(function(n) {
return function() {
return e < 11 ? e++ : e = 0, n.$visualimg.css({
"background-position": -t * e + "px 0"
})
}
}(this), 100), this.$visualimg.velocity({
opacity: 1
}, 2e3, "linear")
}, e.prototype.animatecopy = function() {
return this.$visualcopyline.each(function(e) {
return b ? r(this).velocity({
height: 12,
"margin-top": 0
}, {
duration: 750,
easing: "easeinoutquint",
delay: 125 * e
}) : r(this).velocity({
width: 20
}, {
duration: 750,
easing: "easeinoutquint",
delay: 125 * e
})
})
}, e.prototype.animatetitle = function() {
var e, t;
return t = b ? 38 : 126, e = [4, 2, 1, 5, 0, 6, 3], this.$visualtitlecharactor.each(function(t) {
return r(this).velocity({
opacity: 1,
scale: 1
}, {
duration: 1e3,
easing: "easeoutcubic",
delay: 125 * e[t]
})
})
}, e.prototype.animatescroll = function() {
return this.$scroll.velocity({
opacity: 1
}, 500, "linear")
}, e.prototype.resize = function() {
return this.$lvisual.css({
height: x,
"margin-bottom": math.round(y * w * .5)
}), this.$line.css({
top: math.round(-y * w * .5),
height: this.lineheight + math.round(y * w)
}), this.$lineinner.css({
width: w
})
}, e.prototype.scroll = function(e) {
return this.scrollanimate(e, r(".kovant_main02"), "about"), this.scrollanimate(e, r(".kovant_main03"), "service"), this.scrollanimate(e, r(".kovant_main04"), "member"), this.scrollanimate(e, r(".kovant_main05"), "case")
}, e.prototype.scrollanimate = function(e, t, n) {
if (!this.flg[n] && e > t.offset().top - r(window).height() / 2 - math.round(y * r(window).width() * .5)) return t.find(".line").velocity({
width: "100%"
}, 375, "easeinexpo"), settimeout(function(e) {
return function() {
return t.find(".line .inner").velocity({
height: e.lineheight
}, {
duration: 375,
easing: "easeinoutexpo",
mobileha: !1
}), t.find(".line .inner .img").velocity({
top: math.round(-y * e.bodywidth * 1)
}, {
duration: 375,
easing: "easeinoutexpo",
mobileha: !1
})
}
}(this), 375), settimeout(function(e) {
return function() {
return t.find(".kanji").velocity({
opacity: 1,
scale: 1
}, 500, "easeoutexpo")
}
}(this), 625), this.flg[n] = !0
}, e
}(), i = function() {
function e() {
this.$lphoto = r(".l-photo"), this.$photoimg = this.$lphoto.find(".img"), this.photolength = this.$photoimg.length - 1, this.nowphoto = 0, this.prevphoto = this.photolength, this.photominwidth = parseint(this.$photoimg.css("min-width")), this.init(), this.slidephoto(), initialize()
}
return e.prototype.init = function() {
return this.$photoimg.css({
display: "none"
}), this.$photoimg.eq(0).css({
display: "block"
})
}, e.prototype.slidephoto = function() {
return this.prevphoto = this.nowphoto, this.nowphoto = this.nowphoto < this.photolength ? this.nowphoto + 1 : 0, this.$photoimg.eq(this.prevphoto).css({
"z-index": 0
}), this.$photoimg.eq(this.nowphoto).css({
display: "block",
"z-index": 1,
opacity: 0
}).velocity({
opacity: 1
}, {
duration: 2e3,
easing: "linear",
mobileha: !1,
complete: function(e) {
return function() {
return e.$photoimg.eq(e.prevphoto).css({
opacity: 0
}), settimeout(function() {
return e.slidephoto()
}, 1e3)
}
}(this)
})
}, e.prototype.resize = function() {
return w >= this.photominwidth ? this.$photoimg.css({
top: math.round(-y * w * .5)
}) : this.$photoimg.css({
top: math.round(-y * this.photominwidth * .5)
})
}, e
}(), f = function() {
function e() {
this.$lnav = r(".l-nav"), this.$navlist = this.$lnav.find(".list"), this.$navlista = this.$navlist.find("a"), this.$navlista.each(function() {
return new h(r(this))
})
}
return e
}(), r(function() {
var e, t, n, h, p, m, y, _;
return e = r("body"), new d(r("img")), new a, new o, y = new c, n = new s, e.hasclass("index") && (m = [""], h = new l, p = new u(m, function(e) {
return function() {
return h.animate()
}
}(this))), e.hasclass("company") && (t = new i), e.hasclass("service") && (_ = new f), r(window).on("resize", function(i) {
return function() {
if (w = r(window).width(), x = r(window).height(), g = b ? w : 960, y.resize(), n.resize(), e.hasclass("index") && (h.resize(), p.resize()), e.hasclass("company")) return t.resize()
}
}(this)), r(window).resize(), r(window).on("scroll", function(t) {
return function() {
var t;
if (t = r(window).scrolltop(), e.hasclass("index")) return h.scroll(t)
}
}(this)), settimeout(function(t) {
return function() {
if (!e.hasclass("company")) return r("html,body").scrolltop(0)
}
}(this), 100)
})
}, {
"./lib/jquery.easing.min": 2,
"./lib/jquery.min": 3,
"./lib/underscore-min": 5,
"./lib/velocity.min": 6,
preloadjs: 4
}],
2: [function(e, t, n) {
jquery.easing.jswing = jquery.easing.swing, jquery.extend(jquery.easing, {
def: "easeoutquad",
swing: function(e, t, n, r, i) {
return jquery.easing[jquery.easing.def](e, t, n, r, i)
},
easeinquad: function(e, t, n, r, i) {
return r * (t /= i) * t + n
},
easeoutquad: function(e, t, n, r, i) {
return -r * (t /= i) * (t - 2) + n
},
easeinoutquad: function(e, t, n, r, i) {
return (t /= i / 2) < 1 ? r / 2 * t * t + n : -r / 2 * (--t * (t - 2) - 1) + n
},
easeincubic: function(e, t, n, r, i) {
return r * (t /= i) * t * t + n
},
easeoutcubic: function(e, t, n, r, i) {
return r * ((t = t / i - 1) * t * t + 1) + n
},
easeinoutcubic: function(e, t, n, r, i) {
return (t /= i / 2) < 1 ? r / 2 * t * t * t + n : r / 2 * ((t -= 2) * t * t + 2) + n
},
easeinquart: function(e, t, n, r, i) {
return r * (t /= i) * t * t * t + n
},
easeoutquart: function(e, t, n, r, i) {
return -r * ((t = t / i - 1) * t * t * t - 1) + n
},
easeinoutquart: function(e, t, n, r, i) {
return (t /= i / 2) < 1 ? r / 2 * t * t * t * t + n : -r / 2 * ((t -= 2) * t * t * t - 2) + n
},
easeinquint: function(e, t, n, r, i) {
return r * (t /= i) * t * t * t * t + n
},
easeoutquint: function(e, t, n, r, i) {
return r * ((t = t / i - 1) * t * t * t * t + 1) + n
},
easeinoutquint: function(e, t, n, r, i) {
return (t /= i / 2) < 1 ? r / 2 * t * t * t * t * t + n : r / 2 * ((t -= 2) * t * t * t * t + 2) + n
},
easeinsine: function(e, t, n, r, i) {
return -r * math.cos(t / i * (math.pi / 2)) + r + n
},
easeoutsine: function(e, t, n, r, i) {
return r * math.sin(t / i * (math.pi / 2)) + n
},
easeinoutsine: function(e, t, n, r, i) {
return -r / 2 * (math.cos(math.pi * t / i) - 1) + n
},
easeinexpo: function(e, t, n, r, i) {
return 0 == t ? n : r * math.pow(2, 10 * (t / i - 1)) + n
},
easeoutexpo: function(e, t, n, r, i) {
return t == i ? n + r : r * (-math.pow(2, -10 * t / i) + 1) + n
},
easeinoutexpo: function(e, t, n, r, i) {
return 0 == t ? n : t == i ? n + r : (t /= i / 2) < 1 ? r / 2 * math.pow(2, 10 * (t - 1)) + n : r / 2 * (-math.pow(2, -10 * --t) + 2) + n
},
easeincirc: function(e, t, n, r, i) {
return -r * (math.sqrt(1 - (t /= i) * t) - 1) + n
},
easeoutcirc: function(e, t, n, r, i) {
return r * math.sqrt(1 - (t = t / i - 1) * t) + n
},
easeinoutcirc: function(e, t, n, r, i) {
return (t /= i / 2) < 1 ? -r / 2 * (math.sqrt(1 - t * t) - 1) + n : r / 2 * (math.sqrt(1 - (t -= 2) * t) + 1) + n
},
easeinelastic: function(e, t, n, r, i) {
e = 1.70158;
var s = 0,
o = r;
return 0 == t ? n : 1 == (t /= i) ? n + r : (s || (s = .3 * i), o < math.abs(r) ? (o = r, e = s / 4) : e = s / (2 * math.pi) * math.asin(r / o), -(o * math.pow(2, 10 * (t -= 1)) * math.sin(2 * (t * i - e) * math.pi / s)) + n)
},
easeoutelastic: function(e, t, n, r, i) {
e = 1.70158;
var s = 0,
o = r;
return 0 == t ? n : 1 == (t /= i) ? n + r : (s || (s = .3 * i), o < math.abs(r) ? (o = r, e = s / 4) : e = s / (2 * math.pi) * math.asin(r / o), o * math.pow(2, -10 * t) * math.sin(2 * (t * i - e) * math.pi / s) + r + n)
},
easeinoutelastic: function(e, t, n, r, i) {
e = 1.70158;
var s = 0,
o = r;
return 0 == t ? n : 2 == (t /= i / 2) ? n + r : (s || (s = .3 * i * 1.5), o < math.abs(r) ? (o = r, e = s / 4) : e = s / (2 * math.pi) * math.asin(r / o), t < 1 ? -.5 * o * math.pow(2, 10 * (t -= 1)) * math.sin(2 * (t * i - e) * math.pi / s) + n : o * math.pow(2, -10 * (t -= 1)) * math.sin(2 * (t * i - e) * math.pi / s) * .5 + r + n)
},
easeinback: function(e, t, n, r, i, s) {
return void 0 == s && (s = 1.70158), r * (t /= i) * t * ((s + 1) * t - s) + n
},
easeoutback: function(e, t, n, r, i, s) {
return void 0 == s && (s = 1.70158), r * ((t = t / i - 1) * t * ((s + 1) * t + s) + 1) + n
},
easeinoutback: function(e, t, n, r, i, s) {
return void 0 == s && (s = 1.70158), (t /= i / 2) < 1 ? r / 2 * t * t * (((s *= 1.525) + 1) * t - s) + n : r / 2 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2) + n
},
easeinbounce: function(e, t, n, r, i) {
return r - jquery.easing.easeoutbounce(e, i - t, 0, r, i) + n
},
easeoutbounce: function(e, t, n, r, i) {
return (t /= i) < 1 / 2.75 ? 7.5625 * r * t * t + n : t < 2 / 2.75 ? r * (7.5625 * (t -= 1.5 / 2.75) * t + .75) + n : t < 2.5 / 2.75 ? r * (7.5625 * (t -= 2.25 / 2.75) * t + .9375) + n : r * (7.5625 * (t -= 2.625 / 2.75) * t + .984375) + n
},
easeinoutbounce: function(e, t, n, r, i) {
return t < i / 2 ? .5 * jquery.easing.easeinbounce(e, 2 * t, 0, r, i) + n : .5 * jquery.easing.easeoutbounce(e, 2 * t - i, 0, r, i) + .5 * r + n
}
})
}, {}],
3: [function(e, t, n) {
! function(e, n) {
"object" == typeof t && "object" == typeof t.exports ? t.exports = e.document ? n(e, !0) : function(e) {
if (!e.document) throw new error("jquery requires a window with a document");
return n(e)
} : n(e)
}("undefined" != typeof window ? window : this, function(e, t) {
function n(e) {
var t = e.length,
n = ie.type(e);
return "function" !== n && !ie.iswindow(e) && (!(1 !== e.nodetype || !t) || ("array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e))
}
function r(e, t, n) {
if (ie.isfunction(t)) return ie.grep(e, function(e, r) {
return !!t.call(e, r, e) !== n
});
if (t.nodetype) return ie.grep(e, function(e) {
return e === t !== n
});
if ("string" == typeof t) {
if (he.test(t)) return ie.filter(t, e, n);
t = ie.filter(t, e)
}
return ie.grep(e, function(e) {
return ie.inarray(e, t) >= 0 !== n
})
}
function i(e, t) {
do e = e[t];
while (e && 1 !== e.nodetype);
return e
}
function s(e) {
var t = _e[e] = {};
return ie.each(e.match(be) || [], function(e, n) {
t[n] = !0
}), t
}
function o() {
pe.addeventlistener ? (pe.removeeventlistener("domcontentloaded", a, !1), e.removeeventlistener("load", a, !1)) : (pe.detachevent("onreadystatechange", a), e.detachevent("onload", a))
}
function a() {
(pe.addeventlistener || "load" === event.type || "complete" === pe.readystate) && (o(), ie.ready())
}
function l(e, t, n) {
if (void 0 === n && 1 === e.nodetype) {
var r = "data-" + t.replace(ee, "-$1").tolowercase();
if (n = e.getattribute(r), "string" == typeof n) {
try {
n = "true" === n || "false" !== n && ("null" === n ? null : +n + "" === n ? +n : je.test(n) ? ie.parsejson(n) : n)
} catch (i) {}
ie.data(e, t, n)
} else n = void 0
}
return n
}
function u(e) {
var t;
for (t in e) if (("data" !== t || !ie.isemptyobject(e[t])) && "tojson" !== t) return !1;
return !0
}
function c(e, t, n, r) {
if (ie.acceptdata(e)) {
var i, s, o = ie.expando,
a = e.nodetype,
l = a ? ie.cache : e,
u = a ? e[o] : e[o] && o;
if (u && l[u] && (r || l[u].data) || void 0 !== n || "string" != typeof t) return u || (u = a ? e[o] = q.pop() || ie.guid++ : o), l[u] || (l[u] = a ? {} : {
tojson: ie.noop
}), ("object" == typeof t || "function" == typeof t) && (r ? l[u] = ie.extend(l[u], t) : l[u].data = ie.extend(l[u].data, t)), s = l[u], r || (s.data || (s.data = {}), s = s.data), void 0 !== n && (s[ie.camelcase(t)] = n), "string" == typeof t ? (i = s[t], null == i && (i = s[ie.camelcase(t)])) : i = s, i
}
}
function d(e, t, n) {
if (ie.acceptdata(e)) {
var r, i, s = e.nodetype,
o = s ? ie.cache : e,
a = s ? e[ie.expando] : ie.expando;
if (o[a]) {
if (t && (r = n ? o[a] : o[a].data)) {
ie.isarray(t) ? t = t.concat(ie.map(t, ie.camelcase)) : t in r ? t = [t] : (t = ie.camelcase(t), t = t in r ? [t] : t.split(" ")), i = t.length;
for (; i--;) delete r[t[i]];
if (n ? !u(r) : !ie.isemptyobject(r)) return
}(n || (delete o[a].data, u(o[a]))) && (s ? ie.cleandata([e], !0) : ne.deleteexpando || o != o.window ? delete o[a] : o[a] = null)
}
}
}
function h() {
return !0
}
function f() {
return !1
}
function p() {
try {
return pe.activeelement
} catch (e) {}
}
function g(e) {
var t = me.split("|"),
n = e.createdocumentfragment();
if (n.createelement) for (; t.length;) n.createelement(t.pop());
return n
}
function m(e, t) {
var n, r, i = 0,
s = typeof e.getelementsbytagname !== te ? e.getelementsbytagname(t || "*") : typeof e.queryselectorall !== te ? e.queryselectorall(t || "*") : void 0;
if (!s) for (s = [], n = e.childnodes || e; null != (r = n[i]); i++)!t || ie.nodename(r, t) ? s.push(r) : ie.merge(s, m(r, t));
return void 0 === t || t && ie.nodename(e, t) ? ie.merge([e], s) : s
}
function v(e) {
pe.test(e.type) && (e.defaultchecked = e.checked)
}
function y(e, t) {
return ie.nodename(e, "table") && ie.nodename(11 !== t.nodetype ? t : t.firstchild, "tr") ? e.getelementsbytagname("tbody")[0] || e.appendchild(e.ownerdocument.createelement("tbody")) : e
}
function b(e) {
return e.type = (null !== ie.find.attr(e, "type")) + "/" + e.type, e
}
function _(e) {
var t = we.exec(e.type);
return t ? e.type = t[1] : e.removeattribute("type"), e
}
function x(e, t) {
for (var n, r = 0; null != (n = e[r]); r++) ie._data(n, "globaleval", !t || ie._data(t[r], "globaleval"))
}
function w(e, t) {
if (1 === t.nodetype && ie.hasdata(e)) {
var n, r, i, s = ie._data(e),
o = ie._data(t, s),
a = s.events;
if (a) {
delete o.handle, o.events = {};
for (n in a) for (r = 0, i = a[n].length; i > r; r++) ie.event.add(t, n, a[n][r])
}
o.data && (o.data = ie.extend({}, o.data))
}
}
function t(e, t) {
var n, r, i;
if (1 === t.nodetype) {
if (n = t.nodename.tolowercase(), !ne.nocloneevent && t[ie.expando]) {
i = ie._data(t);
for (r in i.events) ie.removeevent(t, r, i.handle);
t.removeattribute(ie.expando)
}
"script" === n && t.text !== e.text ? (b(t).text = e.text, _(t)) : "object" === n ? (t.parentnode && (t.outerhtml = e.outerhtml), ne.html5clone && e.innerhtml && !ie.trim(t.innerhtml) && (t.innerhtml = e.innerhtml)) : "input" === n && pe.test(e.type) ? (t.defaultchecked = t.checked = e.checked, t.value !== e.value && (t.value = e.value)) : "option" === n ? t.defaultselected = t.selected = e.defaultselected : ("input" === n || "textarea" === n) && (t.defaultvalue = e.defaultvalue)
}
}
function j(t, n) {
var r, i = ie(n.createelement(t)).appendto(n.body),
s = e.getdefaultcomputedstyle && (r = e.getdefaultcomputedstyle(i[0])) ? r.display : ie.css(i[0], "display");
return i.detach(), s
}
function e(e) {
var t = pe,
n = ke[e];
return n || (n = j(e, t), "none" !== n && n || (ze = (ze || ie("")).appendto(t.documentelement), t = (ze[0].contentwindow || ze[0].contentdocument).document, t.write(), t.close(), n = j(e, t), ze.detach()), ke[e] = n), n
}
function s(e, t) {
return {
get: function() {
var n = e();
if (null != n) return n ? void delete this.get : (this.get = t).apply(this, arguments)
}
}
}
function l(e, t) {
if (t in e) return t;
for (var n = t.charat(0).touppercase() + t.slice(1), r = t, i = ht.length; i--;) if (t = ht[i] + n, t in e) return t;
return r
}
function a(e, t) {
for (var n, r, i, s = [], o = 0, a = e.length; a > o; o++) r = e[o], r.style && (s[o] = ie._data(r, "olddisplay"), n = r.style.display, t ? (s[o] || "none" !== n || (r.style.display = ""), "" === r.style.display && ae(r) && (s[o] = ie._data(r, "olddisplay", e(r.nodename)))) : (i = ae(r), (n && "none" !== n || !i) && ie._data(r, "olddisplay", i ? n : ie.css(r, "display"))));
for (o = 0; a > o; o++) r = e[o], r.style && (t && "none" !== r.style.display && "" !== r.style.display || (r.style.display = t ? s[o] || "" : "none"));
return e
}
function c(e, t, n) {
var r = lt.exec(t);
return r ? math.max(0, r[1] - (n || 0)) + (r[2] || "px") : t
}
function p(e, t, n, r, i) {
for (var s = n === (r ? "border" : "content") ? 4 : "width" === t ? 1 : 0, o = 0; 4 > s; s += 2) "margin" === n && (o += ie.css(e, n + le[s], !0, i)), r ? ("content" === n && (o -= ie.css(e, "padding" + le[s], !0, i)), "margin" !== n && (o -= ie.css(e, "border" + le[s] + "width", !0, i))) : (o += ie.css(e, "padding" + le[s], !0, i), "padding" !== n && (o += ie.css(e, "border" + le[s] + "width", !0, i)));
return o
}
function k(e, t, n) {
var r = !0,
i = "width" === t ? e.offsetwidth : e.offsetheight,
s = et(e),
o = ne.boxsizing && "border-box" === ie.css(e, "boxsizing", !1, s);
if (0 >= i || null == i) {
if (i = tt(e, t, s), (0 > i || null == i) && (i = e.style[t]), rt.test(i)) return i;
r = o && (ne.boxsizingreliable() || i === e.style[t]), i = parsefloat(i) || 0
}
return i + p(e, t, n || (o ? "border" : "content"), r, s) + "px"
}
function r(e, t, n, r, i) {
return new r.prototype.init(e, t, n, r, i)
}
function n() {
return settimeout(function() {
ft = void 0
}), ft = ie.now()
}
function i(e, t) {
var n, r = {
height: e
}, i = 0;
for (t = t ? 1 : 0; 4 > i; i += 2 - t) n = le[i], r["margin" + n] = r["padding" + n] = e;
return t && (r.opacity = r.width = e), r
}
function o(e, t, n) {
for (var r, i = (bt[t] || []).concat(bt["*"]), s = 0, o = i.length; o > s; s++) if (r = i[s].call(n, t, e)) return r
}
function m(e, t, n) {
var r, i, s, o, a, l, u, c, d = this,
h = {}, f = e.style,
p = e.nodetype && ae(e),
g = ie._data(e, "fxshow");
n.queue || (a = ie._queuehooks(e, "fx"), null == a.unqueued && (a.unqueued = 0, l = a.empty.fire, a.empty.fire = function() {
a.unqueued || l()
}), a.unqueued++, d.always(function() {
d.always(function() {
a.unqueued--, ie.queue(e, "fx").length || a.empty.fire()
})
})), 1 === e.nodetype && ("height" in t || "width" in t) && (n.overflow = [f.overflow, f.overflowx, f.overflowy], u = ie.css(e, "display"), c = "none" === u ? ie._data(e, "olddisplay") || e(e.nodename) : u, "inline" === c && "none" === ie.css(e, "float") && (ne.inlineblockneedslayout && "inline" !== e(e.nodename) ? f.zoom = 1 : f.display = "inline-block")), n.overflow && (f.overflow = "hidden", ne.shrinkwrapblocks() || d.always(function() {
f.overflow = n.overflow[0], f.overflowx = n.overflow[1], f.overflowy = n.overflow[2]
}));
for (r in t) if (i = t[r], gt.exec(i)) {
if (delete t[r], s = s || "toggle" === i, i === (p ? "hide" : "show")) {
if ("show" !== i || !g || void 0 === g[r]) continue;
p = !0
}
h[r] = g && g[r] || ie.style(e, r)
} else u = void 0;
if (ie.isemptyobject(h)) "inline" === ("none" === u ? e(e.nodename) : u) && (f.display = u);
else {
g ? "hidden" in g && (p = g.hidden) : g = ie._data(e, "fxshow", {}), s && (g.hidden = !p), p ? ie(e).show() : d.done(function() {
ie(e).hide()
}), d.done(function() {
var t;
ie._removedata(e, "fxshow");
for (t in h) ie.style(e, t, h[t])
});
for (r in h) o = o(p ? g[r] : 0, r, d), r in g || (g[r] = o.start, p && (o.end = o.start, o.start = "width" === r || "height" === r ? 1 : 0))
}
}
function q(e, t) {
var n, r, i, s, o;
for (n in e) if (r = ie.camelcase(n), i = t[r], s = e[n], ie.isarray(s) && (i = s[1], s = e[n] = s[0]), n !== r && (e[r] = s, delete e[n]), o = ie.csshooks[r], o && "expand" in o) {
s = o.expand(s), delete e[r];
for (n in s) n in e || (e[n] = s[n], t[n] = i)
} else t[r] = i
}
function h(e, t, n) {
var r, i, s = 0,
o = yt.length,
a = ie.deferred().always(function() {
delete l.elem
}),
l = function() {
if (i) return !1;
for (var t = ft || n(), n = math.max(0, u.starttime + u.duration - t), r = n / u.duration || 0, s = 1 - r, o = 0, l = u.tweens.length; l > o; o++) u.tweens[o].run(s);
return a.notifywith(e, [u, s, n]), 1 > s && l ? n : (a.resolvewith(e, [u]), !1)
}, u = a.promise({
elem: e,
props: ie.extend({}, t),
opts: ie.extend(!0, {
specialeasing: {}
}, n),
originalproperties: t,
originaloptions: n,
starttime: ft || n(),
duration: n.duration,
tweens: [],
createtween: function(t, n) {
var r = ie.tween(e, u.opts, t, n, u.opts.specialeasing[t] || u.opts.easing);
return u.tweens.push(r), r
},
stop: function(t) {
var n = 0,
r = t ? u.tweens.length : 0;
if (i) return this;
for (i = !0; r > n; n++) u.tweens[n].run(1);
return t ? a.resolvewith(e, [u, t]) : a.rejectwith(e, [u, t]), this
}
}),
c = u.props;
for (q(c, u.opts.specialeasing); o > s; s++) if (r = yt[s].call(u, e, c, u.opts)) return r;
return ie.map(c, o, u), ie.isfunction(u.opts.start) && u.opts.start.call(e, u), ie.fx.timer(ie.extend(l, {
elem: e,
anim: u,
queue: u.opts.queue
})), u.progress(u.opts.progress).done(u.opts.done, u.opts.complete).fail(u.opts.fail).always(u.opts.always)
}
function f(e) {
return function(t, n) {
"string" != typeof t && (n = t, t = "*");
var r, i = 0,
s = t.tolowercase().match(be) || [];
if (ie.isfunction(n)) for (; r = s[i++];) "+" === r.charat(0) ? (r = r.slice(1) || "*", (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n)
}
}
function d(e, t, n, r) {
function i(a) {
var l;
return s[a] = !0, ie.each(e[a] || [], function(e, a) {
var u = a(t, n, r);
return "string" != typeof u || o || s[u] ? o ? !(l = u) : void 0 : (t.datatypes.unshift(u), i(u), !1)
}), l
}
var s = {}, o = e === bt;
return i(t.datatypes[0]) || !s["*"] && i("*")
}
function $(e, t) {
var n, r, i = ie.ajaxsettings.flatoptions || {};
for (r in t) void 0 !== t[r] && ((i[r] ? e : n || (n = {}))[r] = t[r]);
return n && ie.extend(!0, e, n), e
}
function v(e, t, n) {
for (var r, i, s, o, a = e.contents, l = e.datatypes;
"*" === l[0];) l.shift(), void 0 === i && (i = e.mimetype || t.getresponseheader("content-type"));
if (i) for (o in a) if (a[o] && a[o].test(i)) {
l.unshift(o);
break
}
if (l[0] in n) s = l[0];
else {
for (o in n) {
if (!l[0] || e.converters[o + " " + l[0]]) {
s = o;
break
}
r || (r = o)
}
s = s || r
}
return s ? (s !== l[0] && l.unshift(s), n[s]) : void 0
}
function b(e, t, n, r) {
var i, s, o, a, l, u = {}, c = e.datatypes.slice();
if (c[1]) for (o in e.converters) u[o.tolowercase()] = e.converters[o];
for (s = c.shift(); s;) if (e.responsefields[s] && (n[e.responsefields[s]] = t), !l && r && e.datafilter && (t = e.datafilter(t, e.datatype)), l = s, s = c.shift()) if ("*" === s) s = l;
else if ("*" !== l && l !== s) {
if (o = u[l + " " + s] || u["* " + s], !o) for (i in u) if (a = i.split(" "), a[1] === s && (o = u[l + " " + a[0]] || u["* " + a[0]])) {
o === !0 ? o = u[i] : u[i] !== !0 && (s = a[0], c.unshift(a[1]));
break
}
if (o !== !0) if (o && e["throws"]) t = o(t);
else try {
t = o(t)
} catch (d) {
return {
state: "parsererror",
error: o ? d : "no conversion from " + l + " to " + s
}
}
}
return {
state: "success",
data: t
}
}
function x(e, t, n, r) {
var i;
if (ie.isarray(t)) ie.each(t, function(t, i) {
n || wt.test(e) ? r(e, i) : x(e + "[" + ("object" == typeof i ? t : "") + "]", i, n, r)
});
else if (n || "object" !== ie.type(t)) r(e, t);
else for (i in t) x(e + "[" + i + "]", t[i], n, r)
}
function z() {
try {
return new e.xmlhttprequest
} catch (t) {}
}
function u() {
try {
return new e.activexobject("microsoft.xmlhttp")
} catch (t) {}
}
function w(e) {
return ie.iswindow(e) ? e : 9 === e.nodetype && (e.defaultview || e.parentwindow)
}
var q = [],
j = q.slice,
g = q.concat,
y = q.push,
z = q.indexof,
k = {}, ee = k.tostring,
te = k.hasownproperty,
ne = {}, re = "1.11.1",
ie = function(e, t) {
return new ie.fn.init(e, t)
}, se = /^[\s\ufeff\xa0]+|[\s\ufeff\xa0]+$/g,
oe = /^-ms-/,
ae = /-([\da-z])/gi,
le = function(e, t) {
return t.touppercase()
};
ie.fn = ie.prototype = {
jquery: re,
constructor: ie,
selector: "",
length: 0,
toarray: function() {
return j.call(this)
},
get: function(e) {
return null != e ? 0 > e ? this[e + this.length] : this[e] : j.call(this)
},
pushstack: function(e) {
var t = ie.merge(this.constructor(), e);
return t.prevobject = this, t.context = this.context, t
},
each: function(e, t) {
return ie.each(this, e, t)
},
map: function(e) {
return this.pushstack(ie.map(this, function(t, n) {
return e.call(t, n, t)
}))
},
slice: function() {
return this.pushstack(j.apply(this, arguments))
},
first: function() {
return this.eq(0)
},
last: function() {
return this.eq(-1)
},
eq: function(e) {
var t = this.length,
n = +e + (0 > e ? t : 0);
return this.pushstack(n >= 0 && t > n ? [this[n]] : [])
},
end: function() {
return this.prevobject || this.constructor(null)
},
push: y,
sort: q.sort,
splice: q.splice
}, ie.extend = ie.fn.extend = function() {
var e, t, n, r, i, s, o = arguments[0] || {}, a = 1,
l = arguments.length,
u = !1;
for ("boolean" == typeof o && (u = o, o = arguments[a] || {}, a++), "object" == typeof o || ie.isfunction(o) || (o = {}), a === l && (o = this, a--); l > a; a++) if (null != (i = arguments[a])) for (r in i) e = o[r], n = i[r], o !== n && (u && n && (ie.isplainobject(n) || (t = ie.isarray(n))) ? (t ? (t = !1, s = e && ie.isarray(e) ? e : []) : s = e && ie.isplainobject(e) ? e : {}, o[r] = ie.extend(u, s, n)) : void 0 !== n && (o[r] = n));
return o
}, ie.extend({
expando: "jquery" + (re + math.random()).replace(/\d/g, ""),
isready: !0,
error: function(e) {
throw new error(e)
},
noop: function() {},
isfunction: function(e) {
return "function" === ie.type(e)
},
isarray: array.isarray || function(e) {
return "array" === ie.type(e)
},
iswindow: function(e) {
return null != e && e == e.window
},
isnumeric: function(e) {
return !ie.isarray(e) && e - parsefloat(e) >= 0
},
isemptyobject: function(e) {
var t;
for (t in e) return !1;
return !0
},
isplainobject: function(e) {
var t;
if (!e || "object" !== ie.type(e) || e.nodetype || ie.iswindow(e)) return !1;
try {
if (e.constructor && !te.call(e, "constructor") && !te.call(e.constructor.prototype, "isprototypeof")) return !1
} catch (n) {
return !1
}
if (ne.ownlast) for (t in e) return te.call(e, t);
for (t in e);
return void 0 === t || te.call(e, t)
},
type: function(e) {
return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? k[ee.call(e)] || "object" : typeof e
},
globaleval: function(t) {
t && ie.trim(t) && (e.execscript || function(t) {
e.eval.call(e, t)
})(t)
},
camelcase: function(e) {
return e.replace(oe, "ms-").replace(ae, le)
},
nodename: function(e, t) {
return e.nodename && e.nodename.tolowercase() === t.tolowercase()
},
each: function(e, t, r) {
var i, s = 0,
o = e.length,
a = n(e);
if (r) {
if (a) for (; o > s && (i = t.apply(e[s], r), i !== !1); s++);
else for (s in e) if (i = t.apply(e[s], r), i === !1) break
} else if (a) for (; o > s && (i = t.call(e[s], s, e[s]), i !== !1); s++);
else for (s in e) if (i = t.call(e[s], s, e[s]), i === !1) break;
return e
},
trim: function(e) {
return null == e ? "" : (e + "").replace(se, "")
},
makearray: function(e, t) {
var r = t || [];
return null != e && (n(object(e)) ? ie.merge(r, "string" == typeof e ? [e] : e) : y.call(r, e)), r
},
inarray: function(e, t, n) {
var r;
if (t) {
if (z) return z.call(t, e, n);
for (r = t.length, n = n ? 0 > n ? math.max(0, r + n) : n : 0; r > n; n++) if (n in t && t[n] === e) return n
}
return -1
},
merge: function(e, t) {
for (var n = +t.length, r = 0, i = e.length; n > r;) e[i++] = t[r++];
if (n !== n) for (; void 0 !== t[r];) e[i++] = t[r++];
return e.length = i, e
},
grep: function(e, t, n) {
for (var r, i = [], s = 0, o = e.length, a = !n; o > s; s++) r = !t(e[s], s), r !== a && i.push(e[s]);
return i
},
map: function(e, t, r) {
var i, s = 0,
o = e.length,
a = n(e),
l = [];
if (a) for (; o > s; s++) i = t(e[s], s, r), null != i && l.push(i);
else for (s in e) i = t(e[s], s, r),
null != i && l.push(i);
return g.apply([], l)
},
guid: 1,
proxy: function(e, t) {
var n, r, i;
return "string" == typeof t && (i = e[t], t = e, e = i), ie.isfunction(e) ? (n = j.call(arguments, 2), r = function() {
return e.apply(t || this, n.concat(j.call(arguments)))
}, r.guid = e.guid = e.guid || ie.guid++, r) : void 0
},
now: function() {
return +new date
},
support: ne
}), ie.each("boolean number string function array date regexp object error".split(" "), function(e, t) {
k["[object " + t + "]"] = t.tolowercase()
});
var ue = function(e) {
function t(e, t, n, r) {
var i, s, o, a, l, u, d, f, p, g;
if ((t ? t.ownerdocument || t : d) !== r && k(t), t = t || r, n = n || [], !e || "string" != typeof e) return n;
if (1 !== (a = t.nodetype) && 9 !== a) return [];
if (i && !r) {
if (i = ye.exec(e)) if (o = i[1]) {
if (9 === a) {
if (s = t.getelementbyid(o), !s || !s.parentnode) return n;
if (s.id === o) return n.push(s), n
} else if (t.ownerdocument && (s = t.ownerdocument.getelementbyid(o)) && h(t, s) && s.id === o) return n.push(s), n
} else {
if (i[2]) return k.apply(n, t.getelementsbytagname(e)), n;
if ((o = i[3]) && x.getelementsbyclassname && t.getelementsbyclassname) return k.apply(n, t.getelementsbyclassname(o)), n
}
if (x.qsa && (!o || !o.test(e))) {
if (f = d = f, p = t, g = 9 === a && e, 1 === a && "object" !== t.nodename.tolowercase()) {
for (u = e(e), (d = t.getattribute("id")) ? f = d.replace(_e, "\\$&") : t.setattribute("id", f), f = "[id='" + f + "'] ", l = u.length; l--;) u[l] = f + h(u[l]);
p = be.test(e) && c(t.parentnode) || t, g = u.join(",")
}
if (g) try {
return k.apply(n, p.queryselectorall(g)), n
} catch (m) {} finally {
d || t.removeattribute("id")
}
}
}
return l(e.replace(le, "$1"), t, n, r)
}
function n() {
function e(n, r) {
return t.push(n + " ") > w.cachelength && delete e[t.shift()], e[n + " "] = r
}
var t = [];
return e
}
function r(e) {
return e[f] = !0, e
}
function i(e) {
var t = r.createelement("div");
try {
return !!e(t)
} catch (n) {
return !1
} finally {
t.parentnode && t.parentnode.removechild(t), t = null
}
}
function s(e, t) {
for (var n = e.split("|"), r = e.length; r--;) w.attrhandle[n[r]] = t
}
function o(e, t) {
var n = t && e,
r = n && 1 === e.nodetype && 1 === t.nodetype && (~t.sourceindex || q) - (~e.sourceindex || q);
if (r) return r;
if (n) for (; n = n.nextsibling;) if (n === t) return -1;
return e ? 1 : -1
}
function a(e) {
return function(t) {
var n = t.nodename.tolowercase();
return "input" === n && t.type === e
}
}
function l(e) {
return function(t) {
var n = t.nodename.tolowercase();
return ("input" === n || "button" === n) && t.type === e
}
}
function u(e) {
return r(function(t) {
return t = +t, r(function(n, r) {
for (var i, s = e([], n.length, t), o = s.length; o--;) n[i = s[o]] && (n[i] = !(r[i] = n[i]))
})
})
}
function c(e) {
return e && typeof e.getelementsbytagname !== w && e
}
function d() {}
function h(e) {
for (var t = 0, n = e.length, r = ""; n > t; t++) r += e[t].value;
return r
}
function f(e, t, n) {
var r = t.dir,
i = n && "parentnode" === r,
s = v++;
return t.first ? function(t, n, s) {
for (; t = t[r];) if (1 === t.nodetype || i) return e(t, n, s)
} : function(t, n, o) {
var a, l, u = [$, s];
if (o) {
for (; t = t[r];) if ((1 === t.nodetype || i) && e(t, n, o)) return !0
} else for (; t = t[r];) if (1 === t.nodetype || i) {
if (l = t[f] || (t[f] = {}), (a = l[r]) && a[0] === $ && a[1] === s) return u[2] = a[2];
if (l[r] = u, u[2] = e(t, n, o)) return !0
}
}
}
function p(e) {
return e.length > 1 ? function(t, n, r) {
for (var i = e.length; i--;) if (!e[i](t, n, r)) return !1;
return !0
} : e[0]
}
function g(e, n, r) {
for (var i = 0, s = n.length; s > i; i++) t(e, n[i], r);
return r
}
function m(e, t, n, r, i) {
for (var s, o = [], a = 0, l = e.length, u = null != t; l > a; a++)(s = e[a]) && (!n || n(s, r, i)) && (o.push(s), u && t.push(a));
return o
}
function v(e, t, n, i, s, o) {
return i && !i[f] && (i = v(i)), s && !s[f] && (s = v(s, o)), r(function(r, o, a, l) {
var u, c, d, h = [],
f = [],
p = o.length,
v = r || g(t || "*", a.nodetype ? [a] : a, []),
y = !e || !r && t ? v : m(v, h, e, a, l),
b = n ? s || (r ? e : p || i) ? [] : o : y;
if (n && n(y, b, a, l), i) for (u = m(b, f), i(u, [], a, l), c = u.length; c--;)(d = u[c]) && (b[f[c]] = !(y[f[c]] = d));
if (r) {
if (s || e) {
if (s) {
for (u = [], c = b.length; c--;)(d = b[c]) && u.push(y[c] = d);
s(null, b = [], u, l)
}
for (c = b.length; c--;)(d = b[c]) && (u = s ? te.call(r, d) : h[c]) > -1 && (r[u] = !(o[u] = d))
}
} else b = m(b === o ? b.splice(p, b.length) : b), s ? s(null, o, b, l) : k.apply(o, b)
})
}
function y(e) {
for (var t, n, r, i = e.length, s = w.relative[e[0].type], o = s || w.relative[" "], a = s ? 1 : 0, l = f(function(e) {
return e === t
}, o, !0), u = f(function(e) {
return te.call(t, e) > -1
}, o, !0), c = [function(e, n, r) {
return !s && (r || n !== a) || ((t = n).nodetype ? l(e, n, r) : u(e, n, r))
}]; i > a; a++) if (n = w.relative[e[a].type]) c = [f(p(c), n)];
else {
if (n = w.filter[e[a].type].apply(null, e[a].matches), n[f]) {
for (r = ++a; i > r && !w.relative[e[r].type]; r++);
return v(a > 1 && p(c), a > 1 && h(e.slice(0, a - 1).concat({
value: " " === e[a - 2].type ? "*" : ""
})).replace(le, "$1"), n, r > a && y(e.slice(a, r)), i > r && y(e = e.slice(r)), i > r && h(e))
}
c.push(n)
}
return p(c)
}
function b(e, n) {
var i = n.length > 0,
s = e.length > 0,
o = function(r, o, a, l, u) {
var c, d, h, f = 0,
p = "0",
g = r && [],
v = [],
y = a,
b = r || s && w.find.tag("*", u),
_ = $ += null == y ? 1 : math.random() || .1,
x = b.length;
for (u && (a = o !== r && o); p !== x && null != (c = b[p]); p++) {
if (s && c) {
for (d = 0; h = e[d++];) if (h(c, o, a)) {
l.push(c);
break
}
u && ($ = _)
}
i && ((c = !h && c) && f--, r && g.push(c))
}
if (f += p, i && p !== f) {
for (d = 0; h = n[d++];) h(g, v, o, a);
if (r) {
if (f > 0) for (; p--;) g[p] || v[p] || (v[p] = y.call(l));
v = m(v)
}
k.apply(l, v), u && !r && v.length > 0 && f + n.length > 1 && t.uniquesort(l)
}
return u && ($ = _, a = y), g
};
return i ? r(o) : o
}
var _, x, w, t, j, e, s, l, a, c, p, k, r, n, i, o, m, q, h, f = "sizzle" + -new date,
d = e.document,
$ = 0,
v = 0,
b = n(),
x = n(),
z = n(),
u = function(e, t) {
return e === t && (p = !0), 0
}, w = "undefined",
q = 1 << 31,
j = {}.hasownproperty,
g = [],
y = g.pop,
z = g.push,
k = g.push,
ee = g.slice,
te = g.indexof || function(e) {
for (var t = 0, n = this.length; n > t; t++) if (this[t] === e) return t;
return -1
}, ne = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
re = "[\\x20\\t\\r\\n\\f]",
ie = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
se = ie.replace("w", "w#"),
oe = "\\[" + re + "*(" + ie + ")(?:" + re + "*([*^$|!~]?=)" + re + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + se + "))|)" + re + "*\\]",
ae = ":(" + ie + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + oe + ")*)|.*)\\)|)",
le = new regexp("^" + re + "+|((?:^|[^\\\\])(?:\\\\.)*)" + re + "+$", "g"),
ue = new regexp("^" + re + "*," + re + "*"),
ce = new regexp("^" + re + "*([>+~]|" + re + ")" + re + "*"),
de = new regexp("=" + re + "*([^\\]'\"]*?)" + re + "*\\]", "g"),
he = new regexp(ae),
fe = new regexp("^" + se + "$"),
pe = {
id: new regexp("^#(" + ie + ")"),
class: new regexp("^\\.(" + ie + ")"),
tag: new regexp("^(" + ie.replace("w", "w*") + ")"),
attr: new regexp("^" + oe),
pseudo: new regexp("^" + ae),
child: new regexp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + re + "*(even|odd|(([+-]|)(\\d*)n|)" + re + "*(?:([+-]|)" + re + "*(\\d+)|))" + re + "*\\)|)", "i"),
bool: new regexp("^(?:" + ne + ")$", "i"),
needscontext: new regexp("^" + re + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + re + "*((?:-\\d)?\\d*)" + re + "*\\)|)(?=[^-]|$)", "i")
}, ge = /^(?:input|select|textarea|button)$/i,
me = /^h\d$/i,
ve = /^[^{]+\{\s*\[native \w/,
ye = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
be = /[+~]/,
_e = /'|\\/g,
xe = new regexp("\\\\([\\da-f]{1,6}" + re + "?|(" + re + ")|.)", "ig"),
we = function(e, t, n) {
var r = "0x" + t - 65536;
return r !== r || n ? t : 0 > r ? string.fromcharcode(r + 65536) : string.fromcharcode(r >> 10 | 55296, 1023 & r | 56320)
};
try {
k.apply(g = ee.call(d.childnodes), d.childnodes), g[d.childnodes.length].nodetype
} catch (te) {
k = {
apply: g.length ? function(e, t) {
z.apply(e, ee.call(t))
} : function(e, t) {
for (var n = e.length, r = 0; e[n++] = t[r++];);
e.length = n - 1
}
}
}
x = t.support = {}, j = t.isxml = function(e) {
var t = e && (e.ownerdocument || e).documentelement;
return !!t && "html" !== t.nodename
}, k = t.setdocument = function(e) {
var t, n = e ? e.ownerdocument || e : d,
r = n.defaultview;
return n !== r && 9 === n.nodetype && n.documentelement ? (r = n, n = n.documentelement, i = !j(n), r && r !== r.top && (r.addeventlistener ? r.addeventlistener("unload", function() {
k()
}, !1) : r.attachevent && r.attachevent("onunload", function() {
k()
})), x.attributes = i(function(e) {
return e.classname = "i", !e.getattribute("classname")
}), x.getelementsbytagname = i(function(e) {
return e.appendchild(n.createcomment("")), !e.getelementsbytagname("*").length
}), x.getelementsbyclassname = ve.test(n.getelementsbyclassname) && i(function(e) {
return e.innerhtml = "", e.firstchild.classname = "i", 2 === e.getelementsbyclassname("i").length
}), x.getbyid = i(function(e) {
return n.appendchild(e).id = f, !n.getelementsbyname || !n.getelementsbyname(f).length
}), x.getbyid ? (w.find.id = function(e, t) {
if (typeof t.getelementbyid !== w && i) {
var n = t.getelementbyid(e);
return n && n.parentnode ? [n] : []
}
}, w.filter.id = function(e) {
var t = e.replace(xe, we);
return function(e) {
return e.getattribute("id") === t
}
}) : (delete w.find.id, w.filter.id = function(e) {
var t = e.replace(xe, we);
return function(e) {
var n = typeof e.getattributenode !== w && e.getattributenode("id");
return n && n.value === t
}
}), w.find.tag = x.getelementsbytagname ? function(e, t) {
return typeof t.getelementsbytagname !== w ? t.getelementsbytagname(e) : void 0
} : function(e, t) {
var n, r = [],
i = 0,
s = t.getelementsbytagname(e);
if ("*" === e) {
for (; n = s[i++];) 1 === n.nodetype && r.push(n);
return r
}
return s
}, w.find.class = x.getelementsbyclassname && function(e, t) {
return typeof t.getelementsbyclassname !== w && i ? t.getelementsbyclassname(e) : void 0
}, m = [], o = [], (x.qsa = ve.test(n.queryselectorall)) && (i(function(e) {
e.innerhtml = "", e.queryselectorall("[msallowclip^='']").length && o.push("[*^$]=" + re + "*(?:''|\"\")"), e.queryselectorall("[selected]").length || o.push("\\[" + re + "*(?:value|" + ne + ")"), e.queryselectorall(":checked").length || o.push(":checked")
}), i(function(e) {
var t = n.createelement("input");
t.setattribute("type", "hidden"), e.appendchild(t).setattribute("name", "d"), e.queryselectorall("[name=d]").length && o.push("name" + re + "*[*^$|!~]?="), e.queryselectorall(":enabled").length || o.push(":enabled", ":disabled"), e.queryselectorall("*,:x"), o.push(",.*:")
})), (x.matchesselector = ve.test(q = n.matches || n.webkitmatchesselector || n.mozmatchesselector || n.omatchesselector || n.msmatchesselector)) && i(function(e) {
x.disconnectedmatch = q.call(e, "div"), q.call(e, "[s!='']:x"), m.push("!=", ae)
}), o = o.length && new regexp(o.join("|")), m = m.length && new regexp(m.join("|")), t = ve.test(n.comparedocumentposition), h = t || ve.test(n.contains) ? function(e, t) {
var n = 9 === e.nodetype ? e.documentelement : e,
r = t && t.parentnode;
return e === r || !(!r || 1 !== r.nodetype || !(n.contains ? n.contains(r) : e.comparedocumentposition && 16 & e.comparedocumentposition(r)))
} : function(e, t) {
if (t) for (; t = t.parentnode;) if (t === e) return !0;
return !1
}, u = t ? function(e, t) {
if (e === t) return p = !0, 0;
var r = !e.comparedocumentposition - !t.comparedocumentposition;
return r ? r : (r = (e.ownerdocument || e) === (t.ownerdocument || t) ? e.comparedocumentposition(t) : 1, 1 & r || !x.sortdetached && t.comparedocumentposition(e) === r ? e === n || e.ownerdocument === d && h(d, e) ? -1 : t === n || t.ownerdocument === d && h(d, t) ? 1 : c ? te.call(c, e) - te.call(c, t) : 0 : 4 & r ? -1 : 1)
} : function(e, t) {
if (e === t) return p = !0, 0;
var r, i = 0,
s = e.parentnode,
a = t.parentnode,
l = [e],
u = [t];
if (!s || !a) return e === n ? -1 : t === n ? 1 : s ? -1 : a ? 1 : c ? te.call(c, e) - te.call(c, t) : 0;
if (s === a) return o(e, t);
for (r = e; r = r.parentnode;) l.unshift(r);
for (r = t; r = r.parentnode;) u.unshift(r);
for (; l[i] === u[i];) i++;
return i ? o(l[i], u[i]) : l[i] === d ? -1 : u[i] === d ? 1 : 0
}, n) : r
}, t.matches = function(e, n) {
return t(e, null, null, n)
}, t.matchesselector = function(e, n) {
if ((e.ownerdocument || e) !== r && k(e), n = n.replace(de, "='$1']"), !(!x.matchesselector || !i || m && m.test(n) || o && o.test(n))) try {
var r = q.call(e, n);
if (r || x.disconnectedmatch || e.document && 11 !== e.document.nodetype) return r
} catch (i) {}
return t(n, r, null, [e]).length > 0
}, t.contains = function(e, t) {
return (e.ownerdocument || e) !== r && k(e), h(e, t)
}, t.attr = function(e, t) {
(e.ownerdocument || e) !== r && k(e);
var n = w.attrhandle[t.tolowercase()],
r = n && j.call(w.attrhandle, t.tolowercase()) ? n(e, t, !i) : void 0;
return void 0 !== r ? r : x.attributes || !i ? e.getattribute(t) : (r = e.getattributenode(t)) && r.specified ? r.value : null
}, t.error = function(e) {
throw new error("syntax error, unrecognized expression: " + e)
}, t.uniquesort = function(e) {
var t, n = [],
r = 0,
i = 0;
if (p = !x.detectduplicates, c = !x.sortstable && e.slice(0), e.sort(u), p) {
for (; t = e[i++];) t === e[i] && (r = n.push(i));
for (; r--;) e.splice(n[r], 1)
}
return c = null, e
}, t = t.gettext = function(e) {
var t, n = "",
r = 0,
i = e.nodetype;
if (i) {
if (1 === i || 9 === i || 11 === i) {
if ("string" == typeof e.textcontent) return e.textcontent;
for (e = e.firstchild; e; e = e.nextsibling) n += t(e)
} else if (3 === i || 4 === i) return e.nodevalue
} else for (; t = e[r++];) n += t(t);
return n
}, w = t.selectors = {
cachelength: 50,
createpseudo: r,
match: pe,
attrhandle: {},
find: {},
relative: {
">": {
dir: "parentnode",
first: !0
},
" ": {
dir: "parentnode"
},
"+": {
dir: "previoussibling",
first: !0
},
"~": {
dir: "previoussibling"
}
},
prefilter: {
attr: function(e) {
return e[1] = e[1].replace(xe, we), e[3] = (e[3] || e[4] || e[5] || "").replace(xe, we), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4)
},
child: function(e) {
return e[1] = e[1].tolowercase(), "nth" === e[1].slice(0, 3) ? (e[3] || t.error(e[0]), e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])), e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && t.error(e[0]), e
},
pseudo: function(e) {
var t, n = !e[6] && e[2];
return pe.child.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && he.test(n) && (t = e(n, !0)) && (t = n.indexof(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3))
}
},
filter: {
tag: function(e) {
var t = e.replace(xe, we).tolowercase();
return "*" === e ? function() {
return !0
} : function(e) {
return e.nodename && e.nodename.tolowercase() === t
}
},
class: function(e) {
var t = b[e + " "];
return t || (t = new regexp("(^|" + re + ")" + e + "(" + re + "|$)")) && b(e, function(e) {
return t.test("string" == typeof e.classname && e.classname || typeof e.getattribute !== w && e.getattribute("class") || "")
})
},
attr: function(e, n, r) {
return function(i) {
var s = t.attr(i, e);
return null == s ? "!=" === n : !n || (s += "", "=" === n ? s === r : "!=" === n ? s !== r : "^=" === n ? r && 0 === s.indexof(r) : "*=" === n ? r && s.indexof(r) > -1 : "$=" === n ? r && s.slice(-r.length) === r : "~=" === n ? (" " + s + " ").indexof(r) > -1 : "|=" === n && (s === r || s.slice(0, r.length + 1) === r + "-"))
}
},
child: function(e, t, n, r, i) {
var s = "nth" !== e.slice(0, 3),
o = "last" !== e.slice(-4),
a = "of-type" === t;
return 1 === r && 0 === i ? function(e) {
return !!e.parentnode
} : function(t, n, l) {
var u, c, d, h, f, p, g = s !== o ? "nextsibling" : "previoussibling",
m = t.parentnode,
v = a && t.nodename.tolowercase(),
y = !l && !a;
if (m) {
if (s) {
for (; g;) {
for (d = t; d = d[g];) if (a ? d.nodename.tolowercase() === v : 1 === d.nodetype) return !1;
p = g = "only" === e && !p && "nextsibling"
}
return !0
}
if (p = [o ? m.firstchild : m.lastchild], o && y) {
for (c = m[f] || (m[f] = {}), u = c[e] || [], f = u[0] === $ && u[1], h = u[0] === $ && u[2], d = f && m.childnodes[f]; d = ++f && d && d[g] || (h = f = 0) || p.pop();) if (1 === d.nodetype && ++h && d === t) {
c[e] = [$, f, h];
break
}
} else if (y && (u = (t[f] || (t[f] = {}))[e]) && u[0] === $) h = u[1];
else for (;
(d = ++f && d && d[g] || (h = f = 0) || p.pop()) && ((a ? d.nodename.tolowercase() !== v : 1 !== d.nodetype) || !++h || (y && ((d[f] || (d[f] = {}))[e] = [$, h]), d !== t)););
return h -= i, h === r || h % r === 0 && h / r >= 0
}
}
},
pseudo: function(e, n) {
var i, s = w.pseudos[e] || w.setfilters[e.tolowercase()] || t.error("unsupported pseudo: " + e);
return s[f] ? s(n) : s.length > 1 ? (i = [e, e, "", n], w.setfilters.hasownproperty(e.tolowercase()) ? r(function(e, t) {
for (var r, i = s(e, n), o = i.length; o--;) r = te.call(e, i[o]), e[r] = !(t[r] = i[o])
}) : function(e) {
return s(e, 0, i)
}) : s
}
},
pseudos: {
not: r(function(e) {
var t = [],
n = [],
i = s(e.replace(le, "$1"));
return i[f] ? r(function(e, t, n, r) {
for (var s, o = i(e, null, r, []), a = e.length; a--;)(s = o[a]) && (e[a] = !(t[a] = s))
}) : function(e, r, s) {
return t[0] = e, i(t, null, s, n), !n.pop()
}
}),
has: r(function(e) {
return function(n) {
return t(e, n).length > 0
}
}),
contains: r(function(e) {
return function(t) {
return (t.textcontent || t.innertext || t(t)).indexof(e) > -1
}
}),
lang: r(function(e) {
return fe.test(e || "") || t.error("unsupported lang: " + e), e = e.replace(xe, we).tolowercase(),
function(t) {
var n;
do if (n = i ? t.lang : t.getattribute("xml:lang") || t.getattribute("lang")) return n = n.tolowercase(), n === e || 0 === n.indexof(e + "-");
while ((t = t.parentnode) && 1 === t.nodetype);
return !1
}
}),
target: function(t) {
var n = e.location && e.location.hash;
return n && n.slice(1) === t.id
},
root: function(e) {
return e === n
},
focus: function(e) {
return e === r.activeelement && (!r.hasfocus || r.hasfocus()) && !! (e.type || e.href || ~e.tabindex)
},
enabled: function(e) {
return e.disabled === !1
},
disabled: function(e) {
return e.disabled === !0
},
checked: function(e) {
var t = e.nodename.tolowercase();
return "input" === t && !! e.checked || "option" === t && !! e.selected
},
selected: function(e) {
return e.parentnode && e.parentnode.selectedindex, e.selected === !0
},
empty: function(e) {
for (e = e.firstchild; e; e = e.nextsibling) if (e.nodetype < 6) return !1;
return !0
},
parent: function(e) {
return !w.pseudos.empty(e)
},
header: function(e) {
return me.test(e.nodename)
},
input: function(e) {
return ge.test(e.nodename)
},
button: function(e) {
var t = e.nodename.tolowercase();
return "input" === t && "button" === e.type || "button" === t
},
text: function(e) {
var t;
return "input" === e.nodename.tolowercase() && "text" === e.type && (null == (t = e.getattribute("type")) || "text" === t.tolowercase())
},
first: u(function() {
return [0]
}),
last: u(function(e, t) {
return [t - 1]
}),
eq: u(function(e, t, n) {
return [0 > n ? n + t : n]
}),
even: u(function(e, t) {
for (var n = 0; t > n; n += 2) e.push(n);
return e
}),
odd: u(function(e, t) {
for (var n = 1; t > n; n += 2) e.push(n);
return e
}),
lt: u(function(e, t, n) {
for (var r = 0 > n ? n + t : n; --r >= 0;) e.push(r);
return e
}),
gt: u(function(e, t, n) {
for (var r = 0 > n ? n + t : n; ++r < t;) e.push(r);
return e
})
}
}, w.pseudos.nth = w.pseudos.eq;
for (_ in {
radio: !0,
checkbox: !0,
file: !0,
password: !0,
image: !0
}) w.pseudos[_] = a(_);
for (_ in {
submit: !0,
reset: !0
}) w.pseudos[_] = l(_);
return d.prototype = w.filters = w.pseudos, w.setfilters = new d, e = t.tokenize = function(e, n) {
var r, i, s, o, a, l, u, c = x[e + " "];
if (c) return n ? 0 : c.slice(0);
for (a = e, l = [], u = w.prefilter; a;) {
(!r || (i = ue.exec(a))) && (i && (a = a.slice(i[0].length) || a), l.push(s = [])), r = !1, (i = ce.exec(a)) && (r = i.shift(), s.push({
value: r,
type: i[0].replace(le, " ")
}), a = a.slice(r.length));
for (o in w.filter)!(i = pe[o].exec(a)) || u[o] && !(i = u[o](i)) || (r = i.shift(), s.push({
value: r,
type: o,
matches: i
}), a = a.slice(r.length));
if (!r) break
}
return n ? a.length : a ? t.error(e) : x(e, l).slice(0)
}, s = t.compile = function(e, t) {
var n, r = [],
i = [],
s = z[e + " "];
if (!s) {
for (t || (t = e(e)), n = t.length; n--;) s = y(t[n]), s[f] ? r.push(s) : i.push(s);
s = z(e, b(i, r)), s.selector = e
}
return s
}, l = t.select = function(e, t, n, r) {
var i, s, o, a, l, u = "function" == typeof e && e,
d = !r && e(e = u.selector || e);
if (n = n || [], 1 === d.length) {
if (s = d[0] = d[0].slice(0), s.length > 2 && "id" === (o = s[0]).type && x.getbyid && 9 === t.nodetype && i && w.relative[s[1].type]) {
if (t = (w.find.id(o.matches[0].replace(xe, we), t) || [])[0], !t) return n;
u && (t = t.parentnode), e = e.slice(s.shift().value.length)
}
for (i = pe.needscontext.test(e) ? 0 : s.length; i-- && (o = s[i], !w.relative[a = o.type]);) if ((l = w.find[a]) && (r = l(o.matches[0].replace(xe, we), be.test(s[0].type) && c(t.parentnode) || t))) {
if (s.splice(i, 1), e = r.length && h(s), !e) return k.apply(n, r), n;
break
}
}
return (u || s(e, d))(r, t, !i, n, be.test(e) && c(t.parentnode) || t), n
}, x.sortstable = f.split("").sort(u).join("") === f, x.detectduplicates = !! p, k(), x.sortdetached = i(function(e) {
return 1 & e.comparedocumentposition(r.createelement("div"))
}), i(function(e) {
return e.innerhtml = "", "#" === e.firstchild.getattribute("href")
}) || s("type|href|height|width", function(e, t, n) {
return n ? void 0 : e.getattribute(t, "type" === t.tolowercase() ? 1 : 2)
}), x.attributes && i(function(e) {
return e.innerhtml = "", e.firstchild.setattribute("value", ""), "" === e.firstchild.getattribute("value")
}) || s("value", function(e, t, n) {
return n || "input" !== e.nodename.tolowercase() ? void 0 : e.defaultvalue
}), i(function(e) {
return null == e.getattribute("disabled")
}) || s(ne, function(e, t, n) {
var r;
return n ? void 0 : e[t] === !0 ? t.tolowercase() : (r = e.getattributenode(t)) && r.specified ? r.value : null
}), t
}(e);
ie.find = ue, ie.expr = ue.selectors, ie.expr[":"] = ie.expr.pseudos, ie.unique = ue.uniquesort, ie.text = ue.gettext, ie.isxmldoc = ue.isxml, ie.contains = ue.contains;
var ce = ie.expr.match.needscontext,
de = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
he = /^.[^:#\[\.,]*$/;
ie.filter = function(e, t, n) {
var r = t[0];
return n && (e = ":not(" + e + ")"), 1 === t.length && 1 === r.nodetype ? ie.find.matchesselector(r, e) ? [r] : [] : ie.find.matches(e, ie.grep(t, function(e) {
return 1 === e.nodetype
}))
}, ie.fn.extend({
find: function(e) {
var t, n = [],
r = this,
i = r.length;
if ("string" != typeof e) return this.pushstack(ie(e).filter(function() {
for (t = 0; i > t; t++) if (ie.contains(r[t], this)) return !0
}));
for (t = 0; i > t; t++) ie.find(e, r[t], n);
return n = this.pushstack(i > 1 ? ie.unique(n) : n), n.selector = this.selector ? this.selector + " " + e : e, n
},
filter: function(e) {
return this.pushstack(r(this, e || [], !1))
},
not: function(e) {
return this.pushstack(r(this, e || [], !0))
},
is: function(e) {
return !!r(this, "string" == typeof e && ce.test(e) ? ie(e) : e || [], !1).length
}
});
var fe, pe = e.document,
ge = /^(?:\s*(<[\w\w]+>)[^>]*|#([\w-]*))$/,
me = ie.fn.init = function(e, t) {
var n, r;
if (!e) return this;
if ("string" == typeof e) {
if (n = "<" === e.charat(0) && ">" === e.charat(e.length - 1) && e.length >= 3 ? [null, e, null] : ge.exec(e), !n || !n[1] && t) return !t || t.jquery ? (t || fe).find(e) : this.constructor(t).find(e);
if (n[1]) {
if (t = t instanceof ie ? t[0] : t, ie.merge(this, ie.parsehtml(n[1], t && t.nodetype ? t.ownerdocument || t : pe, !0)), de.test(n[1]) && ie.isplainobject(t)) for (n in t) ie.isfunction(this[n]) ? this[n](t[n]) : this.attr(n, t[n]);
return this
}
if (r = pe.getelementbyid(n[2]), r && r.parentnode) {
if (r.id !== n[2]) return fe.find(e);
this.length = 1, this[0] = r
}
return this.context = pe, this.selector = e, this
}
return e.nodetype ? (this.context = this[0] = e, this.length = 1, this) : ie.isfunction(e) ? "undefined" != typeof fe.ready ? fe.ready(e) : e(ie) : (void 0 !== e.selector && (this.selector = e.selector, this.context = e.context), ie.makearray(e, this))
};
me.prototype = ie.fn, fe = ie(pe);
var ve = /^(?:parents|prev(?:until|all))/,
ye = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
ie.extend({
dir: function(e, t, n) {
for (var r = [], i = e[t]; i && 9 !== i.nodetype && (void 0 === n || 1 !== i.nodetype || !ie(i).is(n));) 1 === i.nodetype && r.push(i), i = i[t];
return r
},
sibling: function(e, t) {
for (var n = []; e; e = e.nextsibling) 1 === e.nodetype && e !== t && n.push(e);
return n
}
}), ie.fn.extend({
has: function(e) {
var t, n = ie(e, this),
r = n.length;
return this.filter(function() {
for (t = 0; r > t; t++) if (ie.contains(this, n[t])) return !0
})
},
closest: function(e, t) {
for (var n, r = 0, i = this.length, s = [], o = ce.test(e) || "string" != typeof e ? ie(e, t || this.context) : 0; i > r; r++) for (n = this[r]; n && n !== t; n = n.parentnode) if (n.nodetype < 11 && (o ? o.index(n) > -1 : 1 === n.nodetype && ie.find.matchesselector(n, e))) {
s.push(n);
break
}
return this.pushstack(s.length > 1 ? ie.unique(s) : s)
},
index: function(e) {
return e ? "string" == typeof e ? ie.inarray(this[0], ie(e)) : ie.inarray(e.jquery ? e[0] : e, this) : this[0] && this[0].parentnode ? this.first().prevall().length : -1
},
add: function(e, t) {
return this.pushstack(ie.unique(ie.merge(this.get(), ie(e, t))))
},
addback: function(e) {
return this.add(null == e ? this.prevobject : this.prevobject.filter(e))
}
}), ie.each({
parent: function(e) {
var t = e.parentnode;
return t && 11 !== t.nodetype ? t : null
},
parents: function(e) {
return ie.dir(e, "parentnode")
},
parentsuntil: function(e, t, n) {
return ie.dir(e, "parentnode", n)
},
next: function(e) {
return i(e, "nextsibling")
},
prev: function(e) {
return i(e, "previoussibling")
},
nextall: function(e) {
return ie.dir(e, "nextsibling")
},
prevall: function(e) {
return ie.dir(e, "previoussibling")
},
nextuntil: function(e, t, n) {
return ie.dir(e, "nextsibling", n)
},
prevuntil: function(e, t, n) {
return ie.dir(e, "previoussibling", n)
},
siblings: function(e) {
return ie.sibling((e.parentnode || {}).firstchild, e)
},
children: function(e) {
return ie.sibling(e.firstchild)
},
contents: function(e) {
return ie.nodename(e, "iframe") ? e.contentdocument || e.contentwindow.document : ie.merge([], e.childnodes)
}
}, function(e, t) {
ie.fn[e] = function(n, r) {
var i = ie.map(this, t, n);
return "until" !== e.slice(-5) && (r = n), r && "string" == typeof r && (i = ie.filter(r, i)), this.length > 1 && (ye[e] || (i = ie.unique(i)), ve.test(e) && (i = i.reverse())), this.pushstack(i)
}
});
var be = /\s+/g,
_e = {};
ie.callbacks = function(e) {
e = "string" == typeof e ? _e[e] || s(e) : ie.extend({}, e);
var t, n, r, i, o, a, l = [],
u = !e.once && [],
c = function(s) {
for (n = e.memory && s, r = !0, o = a || 0, a = 0, i = l.length, t = !0; l && i > o; o++) if (l[o].apply(s[0], s[1]) === !1 && e.stoponfalse) {
n = !1;
break
}
t = !1, l && (u ? u.length && c(u.shift()) : n ? l = [] : d.disable())
}, d = {
add: function() {
if (l) {
var r = l.length;
! function s(t) {
ie.each(t, function(t, n) {
var r = ie.type(n);
"function" === r ? e.unique && d.has(n) || l.push(n) : n && n.length && "string" !== r && s(n)
})
}(arguments), t ? i = l.length : n && (a = r, c(n))
}
return this
},
remove: function() {
return l && ie.each(arguments, function(e, n) {
for (var r;
(r = ie.inarray(n, l, r)) > -1;) l.splice(r, 1), t && (i >= r && i--, o >= r && o--)
}), this
},
has: function(e) {
return e ? ie.inarray(e, l) > -1 : !(!l || !l.length)
},
empty: function() {
return l = [], i = 0, this
},
disable: function() {
return l = u = n = void 0, this
},
disabled: function() {
return !l
},
lock: function() {
return u = void 0, n || d.disable(), this
},
locked: function() {
return !u
},
firewith: function(e, n) {
return !l || r && !u || (n = n || [], n = [e, n.slice ? n.slice() : n], t ? u.push(n) : c(n)), this
},
fire: function() {
return d.firewith(this, arguments), this
},
fired: function() {
return !!r
}
};
return d
}, ie.extend({
deferred: function(e) {
var t = [
["resolve", "done", ie.callbacks("once memory"), "resolved"],
["reject", "fail", ie.callbacks("once memory"), "rejected"],
["notify", "progress", ie.callbacks("memory")]
],
n = "pending",
r = {
state: function() {
return n
},
always: function() {
return i.done(arguments).fail(arguments), this
},
then: function() {
var e = arguments;
return ie.deferred(function(n) {
ie.each(t, function(t, s) {
var o = ie.isfunction(e[t]) && e[t];
i[s[1]](function() {
var e = o && o.apply(this, arguments);
e && ie.isfunction(e.promise) ? e.promise().done(n.resolve).fail(n.reject).progress(n.notify) : n[s[0] + "with"](this === r ? n.promise() : this, o ? [e] : arguments)
})
}), e = null
}).promise()
},
promise: function(e) {
return null != e ? ie.extend(e, r) : r
}
}, i = {};
return r.pipe = r.then, ie.each(t, function(e, s) {
var o = s[2],
a = s[3];
r[s[1]] = o.add, a && o.add(function() {
n = a
}, t[1 ^ e][2].disable, t[2][2].lock), i[s[0]] = function() {
return i[s[0] + "with"](this === i ? r : this, arguments), this
}, i[s[0] + "with"] = o.firewith
}), r.promise(i), e && e.call(i, i), i
},
when: function(e) {
var t, n, r, i = 0,
s = j.call(arguments),
o = s.length,
a = 1 !== o || e && ie.isfunction(e.promise) ? o : 0,
l = 1 === a ? e : ie.deferred(),
u = function(e, n, r) {
return function(i) {
n[e] = this, r[e] = arguments.length > 1 ? j.call(arguments) : i, r === t ? l.notifywith(n, r) : --a || l.resolvewith(n, r)
}
};
if (o > 1) for (t = new array(o), n = new array(o), r = new array(o); o > i; i++) s[i] && ie.isfunction(s[i].promise) ? s[i].promise().done(u(i, r, s)).fail(l.reject).progress(u(i, n, t)) : --a;
return a || l.resolvewith(r, s), l.promise()
}
});
var xe;
ie.fn.ready = function(e) {
return ie.ready.promise().done(e), this
}, ie.extend({
isready: !1,
readywait: 1,
holdready: function(e) {
e ? ie.readywait++ : ie.ready(!0)
},
ready: function(e) {
if (e === !0 ? !--ie.readywait : !ie.isready) {
if (!pe.body) return settimeout(ie.ready);
ie.isready = !0, e !== !0 && --ie.readywait > 0 || (xe.resolvewith(pe, [ie]), ie.fn.triggerhandler && (ie(pe).triggerhandler("ready"), ie(pe).off("ready")))
}
}
}), ie.ready.promise = function(t) {
if (!xe) if (xe = ie.deferred(), "complete" === pe.readystate) settimeout(ie.ready);
else if (pe.addeventlistener) pe.addeventlistener("domcontentloaded", a, !1), e.addeventlistener("load", a, !1);
else {
pe.attachevent("onreadystatechange", a), e.attachevent("onload", a);
var n = !1;
try {
n = null == e.frameelement && pe.documentelement
} catch (r) {}
n && n.doscroll && ! function i() {
if (!ie.isready) {
try {
n.doscroll("left")
} catch (e) {
return settimeout(i, 50)
}
o(), ie.ready()
}
}()
}
return xe.promise(t)
};
var we, te = "undefined";
for (we in ie(ne)) break;
ne.ownlast = "0" !== we, ne.inlineblockneedslayout = !1, ie(function() {
var e, t, n, r;
n = pe.getelementsbytagname("body")[0], n && n.style && (t = pe.createelement("div"), r = pe.createelement("div"), r.style.csstext = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", n.appendchild(r).appendchild(t), typeof t.style.zoom !== te && (t.style.csstext = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1", ne.inlineblockneedslayout = e = 3 === t.offsetwidth, e && (n.style.zoom = 1)), n.removechild(r))
}),
function() {
var e = pe.createelement("div");
if (null == ne.deleteexpando) {
ne.deleteexpando = !0;
try {
delete e.test
} catch (t) {
ne.deleteexpando = !1
}
}
e = null
}(), ie.acceptdata = function(e) {
var t = ie.nodata[(e.nodename + " ").tolowercase()],
n = +e.nodetype || 1;
return (1 === n || 9 === n) && (!t || t !== !0 && e.getattribute("classid") === t)
};
var je = /^(?:\{[\w\w]*\}|\[[\w\w]*\])$/,
ee = /([a-z])/g;
ie.extend({
cache: {},
nodata: {
"applet ": !0,
"embed ": !0,
"object ": "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
},
hasdata: function(e) {
return e = e.nodetype ? ie.cache[e[ie.expando]] : e[ie.expando], !! e && !u(e)
},
data: function(e, t, n) {
return c(e, t, n)
},
removedata: function(e, t) {
return d(e, t)
},
_data: function(e, t, n) {
return c(e, t, n, !0)
},
_removedata: function(e, t) {
return d(e, t, !0)
}
}), ie.fn.extend({
data: function(e, t) {
var n, r, i, s = this[0],
o = s && s.attributes;
if (void 0 === e) {
if (this.length && (i = ie.data(s), 1 === s.nodetype && !ie._data(s, "parsedattrs"))) {
for (n = o.length; n--;) o[n] && (r = o[n].name, 0 === r.indexof("data-") && (r = ie.camelcase(r.slice(5)), l(s, r, i[r])));
ie._data(s, "parsedattrs", !0)
}
return i
}
return "object" == typeof e ? this.each(function() {
ie.data(this, e)
}) : arguments.length > 1 ? this.each(function() {
ie.data(this, e, t)
}) : s ? l(s, e, ie.data(s, e)) : void 0
},
removedata: function(e) {
return this.each(function() {
ie.removedata(this, e)
})
}
}), ie.extend({
queue: function(e, t, n) {
var r;
return e ? (t = (t || "fx") + "queue", r = ie._data(e, t), n && (!r || ie.isarray(n) ? r = ie._data(e, t, ie.makearray(n)) : r.push(n)), r || []) : void 0
},
dequeue: function(e, t) {
t = t || "fx";
var n = ie.queue(e, t),
r = n.length,
i = n.shift(),
s = ie._queuehooks(e, t),
o = function() {
ie.dequeue(e, t)
};
"inprogress" === i && (i = n.shift(), r--), i && ("fx" === t && n.unshift("inprogress"), delete s.stop, i.call(e, o, s)), !r && s && s.empty.fire()
},
_queuehooks: function(e, t) {
var n = t + "queuehooks";
return ie._data(e, n) || ie._data(e, n, {
empty: ie.callbacks("once memory").add(function() {
ie._removedata(e, t + "queue"), ie._removedata(e, n)
})
})
}
}), ie.fn.extend({
queue: function(e, t) {
var n = 2;
return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? ie.queue(this[0], e) : void 0 === t ? this : this.each(function() {
var n = ie.queue(this, e, t);
ie._queuehooks(this, e), "fx" === e && "inprogress" !== n[0] && ie.dequeue(this, e)
})
},
dequeue: function(e) {
return this.each(function() {
ie.dequeue(this, e)
})
},
clearqueue: function(e) {
return this.queue(e || "fx", [])
},
promise: function(e, t) {
var n, r = 1,
i = ie.deferred(),
s = this,
o = this.length,
a = function() {
--r || i.resolvewith(s, [s])
};
for ("string" != typeof e && (t = e, e = void 0), e = e || "fx"; o--;) n = ie._data(s[o], e + "queuehooks"), n && n.empty && (r++, n.empty.add(a));
return a(), i.promise(t)
}
});
var se = /[+-]?(?:\d*\.|)\d+(?:[ee][+-]?\d+|)/.source,
le = ["top", "right", "bottom", "left"],
ae = function(e, t) {
return e = t || e, "none" === ie.css(e, "display") || !ie.contains(e.ownerdocument, e)
}, ce = ie.access = function(e, t, n, r, i, s, o) {
var a = 0,
l = e.length,
u = null == n;
if ("object" === ie.type(n)) {
i = !0;
for (a in n) ie.access(e, t, a, n[a], !0, s, o)
} else if (void 0 !== r && (i = !0, ie.isfunction(r) || (o = !0), u && (o ? (t.call(e, r), t = null) : (u = t, t = function(e, t, n) {
return u.call(ie(e), n)
})), t)) for (; l > a; a++) t(e[a], n, o ? r : r.call(e[a], a, t(e[a], n)));
return i ? e : u ? t.call(e) : l ? t(e[0], n) : s
}, pe = /^(?:checkbox|radio)$/i;
! function() {
var e = pe.createelement("input"),
t = pe.createelement("div"),
n = pe.createdocumentfragment();
if (t.innerhtml = "
a", ne.leadingwhitespace = 3 === t.firstchild.nodetype, ne.tbody = !t.getelementsbytagname("tbody").length, ne.htmlserialize = !! t.getelementsbytagname("link").length, ne.html5clone = "<:nav>" !== pe.createelement("nav").clonenode(!0).outerhtml, e.type = "checkbox", e.checked = !0, n.appendchild(e), ne.appendchecked = e.checked, t.innerhtml = "", ne.noclonechecked = !! t.clonenode(!0).lastchild.defaultvalue, n.appendchild(t), t.innerhtml = "", ne.checkclone = t.clonenode(!0).clonenode(!0).lastchild.checked, ne.nocloneevent = !0, t.attachevent && (t.attachevent("onclick", function() {
ne.nocloneevent = !1
}), t.clonenode(!0).click()), null == ne.deleteexpando) {
ne.deleteexpando = !0;
try {
delete t.test
} catch (r) {
ne.deleteexpando = !1
}
}
}(),
function() {
var t, n, r = pe.createelement("div");
for (t in {
submit: !0,
change: !0,
focusin: !0
}) n = "on" + t, (ne[t + "bubbles"] = n in e) || (r.setattribute(n, "t"), ne[t + "bubbles"] = r.attributes[n].expando === !1);
r = null
}();
var ke = /^(?:input|select|textarea)$/i,
re = /^key/,
ne = /^(?:mouse|pointer|contextmenu)|click/,
ie = /^(?:focusinfocus|focusoutblur)$/,
oe = /^([^.]*)(?:\.(.+)|)$/;
ie.event = {
global: {},
add: function(e, t, n, r, i) {
var s, o, a, l, u, c, d, h, f, p, g, m = ie._data(e);
if (m) {
for (n.handler && (l = n, n = l.handler, i = l.selector), n.guid || (n.guid = ie.guid++), (o = m.events) || (o = m.events = {}), (c = m.handle) || (c = m.handle = function(e) {
return typeof ie === te || e && ie.event.triggered === e.type ? void 0 : ie.event.dispatch.apply(c.elem, arguments)
}, c.elem = e), t = (t || "").match(be) || [""], a = t.length; a--;) s = oe.exec(t[a]) || [], f = g = s[1], p = (s[2] || "").split(".").sort(), f && (u = ie.event.special[f] || {}, f = (i ? u.delegatetype : u.bindtype) || f, u = ie.event.special[f] || {}, d = ie.extend({
type: f,
origtype: g,
data: r,
handler: n,
guid: n.guid,
selector: i,
needscontext: i && ie.expr.match.needscontext.test(i),
namespace: p.join(".")
}, l), (h = o[f]) || (h = o[f] = [], h.delegatecount = 0, u.setup && u.setup.call(e, r, p, c) !== !1 || (e.addeventlistener ? e.addeventlistener(f, c, !1) : e.attachevent && e.attachevent("on" + f, c))), u.add && (u.add.call(e, d), d.handler.guid || (d.handler.guid = n.guid)), i ? h.splice(h.delegatecount++, 0, d) : h.push(d),
ie.event.global[f] = !0);
e = null
}
},
remove: function(e, t, n, r, i) {
var s, o, a, l, u, c, d, h, f, p, g, m = ie.hasdata(e) && ie._data(e);
if (m && (c = m.events)) {
for (t = (t || "").match(be) || [""], u = t.length; u--;) if (a = oe.exec(t[u]) || [], f = g = a[1], p = (a[2] || "").split(".").sort(), f) {
for (d = ie.event.special[f] || {}, f = (r ? d.delegatetype : d.bindtype) || f, h = c[f] || [], a = a[2] && new regexp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), l = s = h.length; s--;) o = h[s], !i && g !== o.origtype || n && n.guid !== o.guid || a && !a.test(o.namespace) || r && r !== o.selector && ("**" !== r || !o.selector) || (h.splice(s, 1), o.selector && h.delegatecount--, d.remove && d.remove.call(e, o));
l && !h.length && (d.teardown && d.teardown.call(e, p, m.handle) !== !1 || ie.removeevent(e, f, m.handle), delete c[f])
} else for (f in c) ie.event.remove(e, f + t[u], n, r, !0);
ie.isemptyobject(c) && (delete m.handle, ie._removedata(e, "events"))
}
},
trigger: function(t, n, r, i) {
var s, o, a, l, u, c, d, h = [r || pe],
f = te.call(t, "type") ? t.type : t,
p = te.call(t, "namespace") ? t.namespace.split(".") : [];
if (a = c = r = r || pe, 3 !== r.nodetype && 8 !== r.nodetype && !ie.test(f + ie.event.triggered) && (f.indexof(".") >= 0 && (p = f.split("."), f = p.shift(), p.sort()), o = f.indexof(":") < 0 && "on" + f, t = t[ie.expando] ? t : new ie.event(f, "object" == typeof t && t), t.istrigger = i ? 2 : 3, t.namespace = p.join("."), t.namespace_re = t.namespace ? new regexp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), n = null == n ? [t] : ie.makearray(n, [t]), u = ie.event.special[f] || {}, i || !u.trigger || u.trigger.apply(r, n) !== !1)) {
if (!i && !u.nobubble && !ie.iswindow(r)) {
for (l = u.delegatetype || f, ie.test(l + f) || (a = a.parentnode); a; a = a.parentnode) h.push(a), c = a;
c === (r.ownerdocument || pe) && h.push(c.defaultview || c.parentwindow || e)
}
for (d = 0;
(a = h[d++]) && !t.ispropagationstopped();) t.type = d > 1 ? l : u.bindtype || f, s = (ie._data(a, "events") || {})[t.type] && ie._data(a, "handle"), s && s.apply(a, n), s = o && a[o], s && s.apply && ie.acceptdata(a) && (t.result = s.apply(a, n), t.result === !1 && t.preventdefault());
if (t.type = f, !i && !t.isdefaultprevented() && (!u._default || u._default.apply(h.pop(), n) === !1) && ie.acceptdata(r) && o && r[f] && !ie.iswindow(r)) {
c = r[o], c && (r[o] = null), ie.event.triggered = f;
try {
r[f]()
} catch (g) {}
ie.event.triggered = void 0, c && (r[o] = c)
}
return t.result
}
},
dispatch: function(e) {
e = ie.event.fix(e);
var t, n, r, i, s, o = [],
a = j.call(arguments),
l = (ie._data(this, "events") || {})[e.type] || [],
u = ie.event.special[e.type] || {};
if (a[0] = e, e.delegatetarget = this, !u.predispatch || u.predispatch.call(this, e) !== !1) {
for (o = ie.event.handlers.call(this, e, l), t = 0;
(i = o[t++]) && !e.ispropagationstopped();) for (e.currenttarget = i.elem, s = 0;
(r = i.handlers[s++]) && !e.isimmediatepropagationstopped();)(!e.namespace_re || e.namespace_re.test(r.namespace)) && (e.handleobj = r, e.data = r.data, n = ((ie.event.special[r.origtype] || {}).handle || r.handler).apply(i.elem, a), void 0 !== n && (e.result = n) === !1 && (e.preventdefault(), e.stoppropagation()));
return u.postdispatch && u.postdispatch.call(this, e), e.result
}
},
handlers: function(e, t) {
var n, r, i, s, o = [],
a = t.delegatecount,
l = e.target;
if (a && l.nodetype && (!e.button || "click" !== e.type)) for (; l != this; l = l.parentnode || this) if (1 === l.nodetype && (l.disabled !== !0 || "click" !== e.type)) {
for (i = [], s = 0; a > s; s++) r = t[s], n = r.selector + " ", void 0 === i[n] && (i[n] = r.needscontext ? ie(n, this).index(l) >= 0 : ie.find(n, this, null, [l]).length), i[n] && i.push(r);
i.length && o.push({
elem: l,
handlers: i
})
}
return a < t.length && o.push({
elem: this,
handlers: t.slice(a)
}), o
},
fix: function(e) {
if (e[ie.expando]) return e;
var t, n, r, i = e.type,
s = e,
o = this.fixhooks[i];
for (o || (this.fixhooks[i] = o = ne.test(i) ? this.mousehooks : re.test(i) ? this.keyhooks : {}), r = o.props ? this.props.concat(o.props) : this.props, e = new ie.event(s), t = r.length; t--;) n = r[t], e[n] = s[n];
return e.target || (e.target = s.srcelement || pe), 3 === e.target.nodetype && (e.target = e.target.parentnode), e.metakey = !! e.metakey, o.filter ? o.filter(e, s) : e
},
props: "altkey bubbles cancelable ctrlkey currenttarget eventphase metakey relatedtarget shiftkey target timestamp view which".split(" "),
fixhooks: {},
keyhooks: {
props: "char charcode key keycode".split(" "),
filter: function(e, t) {
return null == e.which && (e.which = null != t.charcode ? t.charcode : t.keycode), e
}
},
mousehooks: {
props: "button buttons clientx clienty fromelement offsetx offsety pagex pagey screenx screeny toelement".split(" "),
filter: function(e, t) {
var n, r, i, s = t.button,
o = t.fromelement;
return null == e.pagex && null != t.clientx && (r = e.target.ownerdocument || pe, i = r.documentelement, n = r.body, e.pagex = t.clientx + (i && i.scrollleft || n && n.scrollleft || 0) - (i && i.clientleft || n && n.clientleft || 0), e.pagey = t.clienty + (i && i.scrolltop || n && n.scrolltop || 0) - (i && i.clienttop || n && n.clienttop || 0)), !e.relatedtarget && o && (e.relatedtarget = o === e.target ? t.toelement : o), e.which || void 0 === s || (e.which = 1 & s ? 1 : 2 & s ? 3 : 4 & s ? 2 : 0), e
}
},
special: {
load: {
nobubble: !0
},
focus: {
trigger: function() {
if (this !== p() && this.focus) try {
return this.focus(), !1
} catch (e) {}
},
delegatetype: "focusin"
},
blur: {
trigger: function() {
return this === p() && this.blur ? (this.blur(), !1) : void 0
},
delegatetype: "focusout"
},
click: {
trigger: function() {
return ie.nodename(this, "input") && "checkbox" === this.type && this.click ? (this.click(), !1) : void 0
},
_default: function(e) {
return ie.nodename(e.target, "a")
}
},
beforeunload: {
postdispatch: function(e) {
void 0 !== e.result && e.originalevent && (e.originalevent.returnvalue = e.result)
}
}
},
simulate: function(e, t, n, r) {
var i = ie.extend(new ie.event, n, {
type: e,
issimulated: !0,
originalevent: {}
});
r ? ie.event.trigger(i, null, t) : ie.event.dispatch.call(t, i), i.isdefaultprevented() && n.preventdefault()
}
}, ie.removeevent = pe.removeeventlistener ? function(e, t, n) {
e.removeeventlistener && e.removeeventlistener(t, n, !1)
} : function(e, t, n) {
var r = "on" + t;
e.detachevent && (typeof e[r] === te && (e[r] = null), e.detachevent(r, n))
}, ie.event = function(e, t) {
return this instanceof ie.event ? (e && e.type ? (this.originalevent = e, this.type = e.type, this.isdefaultprevented = e.defaultprevented || void 0 === e.defaultprevented && e.returnvalue === !1 ? h : f) : this.type = e, t && ie.extend(this, t), this.timestamp = e && e.timestamp || ie.now(), void(this[ie.expando] = !0)) : new ie.event(e, t)
}, ie.event.prototype = {
isdefaultprevented: f,
ispropagationstopped: f,
isimmediatepropagationstopped: f,
preventdefault: function() {
var e = this.originalevent;
this.isdefaultprevented = h, e && (e.preventdefault ? e.preventdefault() : e.returnvalue = !1)
},
stoppropagation: function() {
var e = this.originalevent;
this.ispropagationstopped = h, e && (e.stoppropagation && e.stoppropagation(), e.cancelbubble = !0)
},
stopimmediatepropagation: function() {
var e = this.originalevent;
this.isimmediatepropagationstopped = h, e && e.stopimmediatepropagation && e.stopimmediatepropagation(), this.stoppropagation()
}
}, ie.each({
mouseenter: "mouseover",
mouseleave: "mouseout",
pointerenter: "pointerover",
pointerleave: "pointerout"
}, function(e, t) {
ie.event.special[e] = {
delegatetype: t,
bindtype: t,
handle: function(e) {
var n, r = this,
i = e.relatedtarget,
s = e.handleobj;
return (!i || i !== r && !ie.contains(r, i)) && (e.type = s.origtype, n = s.handler.apply(this, arguments), e.type = t), n
}
}
}), ne.submitbubbles || (ie.event.special.submit = {
setup: function() {
return !ie.nodename(this, "form") && void ie.event.add(this, "click._submit keypress._submit", function(e) {
var t = e.target,
n = ie.nodename(t, "input") || ie.nodename(t, "button") ? t.form : void 0;
n && !ie._data(n, "submitbubbles") && (ie.event.add(n, "submit._submit", function(e) {
e._submit_bubble = !0
}), ie._data(n, "submitbubbles", !0))
})
},
postdispatch: function(e) {
e._submit_bubble && (delete e._submit_bubble, this.parentnode && !e.istrigger && ie.event.simulate("submit", this.parentnode, e, !0))
},
teardown: function() {
return !ie.nodename(this, "form") && void ie.event.remove(this, "._submit")
}
}), ne.changebubbles || (ie.event.special.change = {
setup: function() {
return ke.test(this.nodename) ? (("checkbox" === this.type || "radio" === this.type) && (ie.event.add(this, "propertychange._change", function(e) {
"checked" === e.originalevent.propertyname && (this._just_changed = !0)
}), ie.event.add(this, "click._change", function(e) {
this._just_changed && !e.istrigger && (this._just_changed = !1), ie.event.simulate("change", this, e, !0)
})), !1) : void ie.event.add(this, "beforeactivate._change", function(e) {
var t = e.target;
ke.test(t.nodename) && !ie._data(t, "changebubbles") && (ie.event.add(t, "change._change", function(e) {
!this.parentnode || e.issimulated || e.istrigger || ie.event.simulate("change", this.parentnode, e, !0)
}), ie._data(t, "changebubbles", !0))
})
},
handle: function(e) {
var t = e.target;
return this !== t || e.issimulated || e.istrigger || "radio" !== t.type && "checkbox" !== t.type ? e.handleobj.handler.apply(this, arguments) : void 0
},
teardown: function() {
return ie.event.remove(this, "._change"), !ke.test(this.nodename)
}
}), ne.focusinbubbles || ie.each({
focus: "focusin",
blur: "focusout"
}, function(e, t) {
var n = function(e) {
ie.event.simulate(t, e.target, ie.event.fix(e), !0)
};
ie.event.special[t] = {
setup: function() {
var r = this.ownerdocument || this,
i = ie._data(r, t);
i || r.addeventlistener(e, n, !0), ie._data(r, t, (i || 0) + 1)
},
teardown: function() {
var r = this.ownerdocument || this,
i = ie._data(r, t) - 1;
i ? ie._data(r, t, i) : (r.removeeventlistener(e, n, !0), ie._removedata(r, t))
}
}
}), ie.fn.extend({
on: function(e, t, n, r, i) {
var s, o;
if ("object" == typeof e) {
"string" != typeof t && (n = n || t, t = void 0);
for (s in e) this.on(s, t, n, e[s], i);
return this
}
if (null == n && null == r ? (r = t, n = t = void 0) : null == r && ("string" == typeof t ? (r = n, n = void 0) : (r = n, n = t, t = void 0)), r === !1) r = f;
else if (!r) return this;
return 1 === i && (o = r, r = function(e) {
return ie().off(e), o.apply(this, arguments)
}, r.guid = o.guid || (o.guid = ie.guid++)), this.each(function() {
ie.event.add(this, e, r, n, t)
})
},
one: function(e, t, n, r) {
return this.on(e, t, n, r, 1)
},
off: function(e, t, n) {
var r, i;
if (e && e.preventdefault && e.handleobj) return r = e.handleobj, ie(e.delegatetarget).off(r.namespace ? r.origtype + "." + r.namespace : r.origtype, r.selector, r.handler), this;
if ("object" == typeof e) {
for (i in e) this.off(i, t, e[i]);
return this
}
return (t === !1 || "function" == typeof t) && (n = t, t = void 0), n === !1 && (n = f), this.each(function() {
ie.event.remove(this, e, n, t)
})
},
trigger: function(e, t) {
return this.each(function() {
ie.event.trigger(e, t, this)
})
},
triggerhandler: function(e, t) {
var n = this[0];
return n ? ie.event.trigger(e, t, n, !0) : void 0
}
});
var me = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
qe = / jquery\d+="(?:null|\d+)"/g,
he = new regexp("<(?:" + me + ")[\\s/>]", "i"),
fe = /^\s+/,
de = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
$e = /<([\w:]+)/,
ve = /\s*$/g,
je = {
option: [1, ""],
legend: [1, ""],
area: [1, ""],
param: [1, ""],
thead: [1, "
"]
}, ge = g(pe),
ye = ge.appendchild(pe.createelement("div"));
je.optgroup = je.option, je.tbody = je.tfoot = je.colgroup = je.caption = je.thead, je.th = je.td, ie.extend({
clone: function(e, t, n) {
var r, i, s, o, a, l = ie.contains(e.ownerdocument, e);
if (ne.html5clone || ie.isxmldoc(e) || !he.test("<" + e.nodename + ">") ? s = e.clonenode(!0) : (ye.innerhtml = e.outerhtml, ye.removechild(s = ye.firstchild)), !(ne.nocloneevent && ne.noclonechecked || 1 !== e.nodetype && 11 !== e.nodetype || ie.isxmldoc(e))) for (r = m(s), a = m(e), o = 0; null != (i = a[o]); ++o) r[o] && t(i, r[o]);
if (t) if (n) for (a = a || m(e), r = r || m(s), o = 0; null != (i = a[o]); o++) w(i, r[o]);
else w(e, s);
return r = m(s, "script"), r.length > 0 && x(r, !l && m(e, "script")), r = a = i = null, s
},
buildfragment: function(e, t, n, r) {
for (var i, s, o, a, l, u, c, d = e.length, h = g(t), f = [], p = 0; d > p; p++) if (s = e[p], s || 0 === s) if ("object" === ie.type(s)) ie.merge(f, s.nodetype ? [s] : s);
else if (be.test(s)) {
for (a = a || h.appendchild(t.createelement("div")), l = ($e.exec(s) || ["", ""])[1].tolowercase(), c = je[l] || je._default, a.innerhtml = c[1] + s.replace(de, "<$1>$2>") + c[2], i = c[0]; i--;) a = a.lastchild;
if (!ne.leadingwhitespace && fe.test(s) && f.push(t.createtextnode(fe.exec(s)[0])), !ne.tbody) for (s = "table" !== l || ve.test(s) ? "
" !== c[1] || ve.test(s) ? 0 : a : a.firstchild, i = s && s.childnodes.length; i--;) ie.nodename(u = s.childnodes[i], "tbody") && !u.childnodes.length && s.removechild(u);
for (ie.merge(f, a.childnodes), a.textcontent = ""; a.firstchild;) a.removechild(a.firstchild);
a = h.lastchild
} else f.push(t.createtextnode(s));
for (a && h.removechild(a), ne.appendchecked || ie.grep(m(f, "input"), v), p = 0; s = f[p++];) if ((!r || -1 === ie.inarray(s, r)) && (o = ie.contains(s.ownerdocument, s), a = m(h.appendchild(s), "script"), o && x(a), n)) for (i = 0; s = a[i++];) ue.test(s.type || "") && n.push(s);
return a = null, h
},
cleandata: function(e, t) {
for (var n, r, i, s, o = 0, a = ie.expando, l = ie.cache, u = ne.deleteexpando, c = ie.event.special; null != (n = e[o]); o++) if ((t || ie.acceptdata(n)) && (i = n[a], s = i && l[i])) {
if (s.events) for (r in s.events) c[r] ? ie.event.remove(n, r) : ie.removeevent(n, r, s.handle);
l[i] && (delete l[i], u ? delete n[a] : typeof n.removeattribute !== te ? n.removeattribute(a) : n[a] = null, q.push(i))
}
}
}), ie.fn.extend({
text: function(e) {
return ce(this, function(e) {
return void 0 === e ? ie.text(this) : this.empty().append((this[0] && this[0].ownerdocument || pe).createtextnode(e))
}, null, e, arguments.length)
},
append: function() {
return this.dommanip(arguments, function(e) {
if (1 === this.nodetype || 11 === this.nodetype || 9 === this.nodetype) {
var t = y(this, e);
t.appendchild(e)
}
})
},
prepend: function() {
return this.dommanip(arguments, function(e) {
if (1 === this.nodetype || 11 === this.nodetype || 9 === this.nodetype) {
var t = y(this, e);
t.insertbefore(e, t.firstchild)
}
})
},
before: function() {
return this.dommanip(arguments, function(e) {
this.parentnode && this.parentnode.insertbefore(e, this)
})
},
after: function() {
return this.dommanip(arguments, function(e) {
this.parentnode && this.parentnode.insertbefore(e, this.nextsibling)
})
},
remove: function(e, t) {
for (var n, r = e ? ie.filter(e, this) : this, i = 0; null != (n = r[i]); i++) t || 1 !== n.nodetype || ie.cleandata(m(n)), n.parentnode && (t && ie.contains(n.ownerdocument, n) && x(m(n, "script")), n.parentnode.removechild(n));
return this
},
empty: function() {
for (var e, t = 0; null != (e = this[t]); t++) {
for (1 === e.nodetype && ie.cleandata(m(e, !1)); e.firstchild;) e.removechild(e.firstchild);
e.options && ie.nodename(e, "select") && (e.options.length = 0)
}
return this
},
clone: function(e, t) {
return e = null != e && e, t = null == t ? e : t, this.map(function() {
return ie.clone(this, e, t)
})
},
html: function(e) {
return ce(this, function(e) {
var t = this[0] || {}, n = 0,
r = this.length;
if (void 0 === e) return 1 === t.nodetype ? t.innerhtml.replace(qe, "") : void 0;
if (!("string" != typeof e || xe.test(e) || !ne.htmlserialize && he.test(e) || !ne.leadingwhitespace && fe.test(e) || je[($e.exec(e) || ["", ""])[1].tolowercase()])) {
e = e.replace(de, "<$1>$2>");
try {
for (; r > n; n++) t = this[n] || {}, 1 === t.nodetype && (ie.cleandata(m(t, !1)), t.innerhtml = e);
t = 0
} catch (i) {}
}
t && this.empty().append(e)
}, null, e, arguments.length)
},
replacewith: function() {
var e = arguments[0];
return this.dommanip(arguments, function(t) {
e = this.parentnode, ie.cleandata(m(this)), e && e.replacechild(t, this)
}), e && (e.length || e.nodetype) ? this : this.remove()
},
detach: function(e) {
return this.remove(e, !0)
},
dommanip: function(e, t) {
e = g.apply([], e);
var n, r, i, s, o, a, l = 0,
u = this.length,
c = this,
d = u - 1,
h = e[0],
f = ie.isfunction(h);
if (f || u > 1 && "string" == typeof h && !ne.checkclone && ze.test(h)) return this.each(function(n) {
var r = c.eq(n);
f && (e[0] = h.call(this, n, r.html())), r.dommanip(e, t)
});
if (u && (a = ie.buildfragment(e, this[0].ownerdocument, !1, this), n = a.firstchild, 1 === a.childnodes.length && (a = n), n)) {
for (s = ie.map(m(a, "script"), b), i = s.length; u > l; l++) r = a, l !== d && (r = ie.clone(r, !0, !0), i && ie.merge(s, m(r, "script"))), t.call(this[l], r, l);
if (i) for (o = s[s.length - 1].ownerdocument, ie.map(s, _), l = 0; i > l; l++) r = s[l], ue.test(r.type || "") && !ie._data(r, "globaleval") && ie.contains(o, r) && (r.src ? ie._evalurl && ie._evalurl(r.src) : ie.globaleval((r.text || r.textcontent || r.innerhtml || "").replace(qe, "")));
a = n = null
}
return this
}
}), ie.each({
appendto: "append",
prependto: "prepend",
insertbefore: "before",
insertafter: "after",
replaceall: "replacewith"
}, function(e, t) {
ie.fn[e] = function(e) {
for (var n, r = 0, i = [], s = ie(e), o = s.length - 1; o >= r; r++) n = r === o ? this : this.clone(!0), ie(s[r])[t](n), y.apply(i, n.get());
return this.pushstack(i)
}
});
var ze, ke = {};
! function() {
var e;
ne.shrinkwrapblocks = function() {
if (null != e) return e;
e = !1;
var t, n, r;
return n = pe.getelementsbytagname("body")[0], n && n.style ? (t = pe.createelement("div"), r = pe.createelement("div"), r.style.csstext = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", n.appendchild(r).appendchild(t), typeof t.style.zoom !== te && (t.style.csstext = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1", t.appendchild(pe.createelement("div")).style.width = "5px", e = 3 !== t.offsetwidth), n.removechild(r), e) : void 0
}
}();
var et, tt, nt = /^margin/,
rt = new regexp("^(" + se + ")(?!px)[a-z%]+$", "i"),
it = /^(top|right|bottom|left)$/;
e.getcomputedstyle ? (et = function(e) {
return e.ownerdocument.defaultview.getcomputedstyle(e, null)
}, tt = function(e, t, n) {
var r, i, s, o, a = e.style;
return n = n || et(e), o = n ? n.getpropertyvalue(t) || n[t] : void 0, n && ("" !== o || ie.contains(e.ownerdocument, e) || (o = ie.style(e, t)), rt.test(o) && nt.test(t) && (r = a.width, i = a.minwidth, s = a.maxwidth, a.minwidth = a.maxwidth = a.width = o, o = n.width, a.width = r, a.minwidth = i, a.maxwidth = s)), void 0 === o ? o : o + ""
}) : pe.documentelement.currentstyle && (et = function(e) {
return e.currentstyle
}, tt = function(e, t, n) {
var r, i, s, o, a = e.style;
return n = n || et(e), o = n ? n[t] : void 0, null == o && a && a[t] && (o = a[t]), rt.test(o) && !it.test(t) && (r = a.left, i = e.runtimestyle, s = i && i.left, s && (i.left = e.currentstyle.left), a.left = "fontsize" === t ? "1em" : o, o = a.pixelleft + "px", a.left = r, s && (i.left = s)), void 0 === o ? o : o + "" || "auto"
}), ! function() {
function t() {
var t, n, r, i;
n = pe.getelementsbytagname("body")[0], n && n.style && (t = pe.createelement("div"), r = pe.createelement("div"), r.style.csstext = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", n.appendchild(r).appendchild(t), t.style.csstext = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute", s = o = !1, l = !0, e.getcomputedstyle && (s = "1%" !== (e.getcomputedstyle(t, null) || {}).top, o = "4px" === (e.getcomputedstyle(t, null) || {
width: "4px"
}).width, i = t.appendchild(pe.createelement("div")), i.style.csstext = t.style.csstext = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", i.style.marginright = i.style.width = "0", t.style.width = "1px", l = !parsefloat((e.getcomputedstyle(i, null) || {}).marginright)), t.innerhtml = "
t
", i = t.getelementsbytagname("td"), i[0].style.csstext = "margin:0;border:0;padding:0;display:none", a = 0 === i[0].offsetheight, a && (i[0].style.display = "", i[1].style.display = "none", a = 0 === i[0].offsetheight), n.removechild(r))
}
var n, r, i, s, o, a, l;
n = pe.createelement("div"), n.innerhtml = "
a", i = n.getelementsbytagname("a")[0], (r = i && i.style) && (r.csstext = "float:left;opacity:.5", ne.opacity = "0.5" === r.opacity, ne.cssfloat = !! r.cssfloat, n.style.backgroundclip = "content-box", n.clonenode(!0).style.backgroundclip = "", ne.clearclonestyle = "content-box" === n.style.backgroundclip, ne.boxsizing = "" === r.boxsizing || "" === r.mozboxsizing || "" === r.webkitboxsizing, ie.extend(ne, {
reliablehiddenoffsets: function() {
return null == a && t(), a
},
boxsizingreliable: function() {
return null == o && t(), o
},
pixelposition: function() {
return null == s && t(), s
},
reliablemarginright: function() {
return null == l && t(), l
}
}))
}(), ie.swap = function(e, t, n, r) {
var i, s, o = {};
for (s in t) o[s] = e.style[s], e.style[s] = t[s];
i = n.apply(e, r || []);
for (s in t) e.style[s] = o[s];
return i
};
var st = /alpha\([^)]*\)/i,
ot = /opacity\s*=\s*([^)]*)/,
at = /^(none|table(?!-c[ea]).+)/,
lt = new regexp("^(" + se + ")(.*)$", "i"),
ut = new regexp("^([+-])=(" + se + ")", "i"),
ct = {
position: "absolute",
visibility: "hidden",
display: "block"
}, dt = {
letterspacing: "0",
fontweight: "400"
}, ht = ["webkit", "o", "moz", "ms"];
ie.extend({
csshooks: {
opacity: {
get: function(e, t) {
if (t) {
var n = tt(e, "opacity");
return "" === n ? "1" : n
}
}
}
},
cssnumber: {
columncount: !0,
fillopacity: !0,
flexgrow: !0,
flexshrink: !0,
fontweight: !0,
lineheight: !0,
opacity: !0,
order: !0,
orphans: !0,
widows: !0,
zindex: !0,
zoom: !0
},
cssprops: {
"float": ne.cssfloat ? "cssfloat" : "stylefloat"
},
style: function(e, t, n, r) {
if (e && 3 !== e.nodetype && 8 !== e.nodetype && e.style) {
var i, s, o, a = ie.camelcase(t),
l = e.style;
if (t = ie.cssprops[a] || (ie.cssprops[a] = l(l, a)), o = ie.csshooks[t] || ie.csshooks[a], void 0 === n) return o && "get" in o && void 0 !== (i = o.get(e, !1, r)) ? i : l[t];
if (s = typeof n, "string" === s && (i = ut.exec(n)) && (n = (i[1] + 1) * i[2] + parsefloat(ie.css(e, t)), s = "number"), null != n && n === n && ("number" !== s || ie.cssnumber[a] || (n += "px"), ne.clearclonestyle || "" !== n || 0 !== t.indexof("background") || (l[t] = "inherit"), !(o && "set" in o && void 0 === (n = o.set(e, n, r))))) try {
l[t] = n
} catch (u) {}
}
},
css: function(e, t, n, r) {
var i, s, o, a = ie.camelcase(t);
return t = ie.cssprops[a] || (ie.cssprops[a] = l(e.style, a)), o = ie.csshooks[t] || ie.csshooks[a], o && "get" in o && (s = o.get(e, !0, n)), void 0 === s && (s = tt(e, t, r)), "normal" === s && t in dt && (s = dt[t]), "" === n || n ? (i = parsefloat(s), n === !0 || ie.isnumeric(i) ? i || 0 : s) : s
}
}), ie.each(["height", "width"], function(e, t) {
ie.csshooks[t] = {
get: function(e, n, r) {
return n ? at.test(ie.css(e, "display")) && 0 === e.offsetwidth ? ie.swap(e, ct, function() {
return k(e, t, r)
}) : k(e, t, r) : void 0
},
set: function(e, n, r) {
var i = r && et(e);
return c(e, n, r ? p(e, t, r, ne.boxsizing && "border-box" === ie.css(e, "boxsizing", !1, i), i) : 0)
}
}
}), ne.opacity || (ie.csshooks.opacity = {
get: function(e, t) {
return ot.test((t && e.currentstyle ? e.currentstyle.filter : e.style.filter) || "") ? .01 * parsefloat(regexp.$1) + "" : t ? "1" : ""
},
set: function(e, t) {
var n = e.style,
r = e.currentstyle,
i = ie.isnumeric(t) ? "alpha(opacity=" + 100 * t + ")" : "",
s = r && r.filter || n.filter || "";
n.zoom = 1, (t >= 1 || "" === t) && "" === ie.trim(s.replace(st, "")) && n.removeattribute && (n.removeattribute("filter"), "" === t || r && !r.filter) || (n.filter = st.test(s) ? s.replace(st, i) : s + " " + i)
}
}), ie.csshooks.marginright = s(ne.reliablemarginright, function(e, t) {
return t ? ie.swap(e, {
display: "inline-block"
}, tt, [e, "marginright"]) : void 0
}), ie.each({
margin: "",
padding: "",
border: "width"
}, function(e, t) {
ie.csshooks[e + t] = {
expand: function(n) {
for (var r = 0, i = {}, s = "string" == typeof n ? n.split(" ") : [n]; 4 > r; r++) i[e + le[r] + t] = s[r] || s[r - 2] || s[0];
return i
}
}, nt.test(e) || (ie.csshooks[e + t].set = c)
}), ie.fn.extend({
css: function(e, t) {
return ce(this, function(e, t, n) {
var r, i, s = {}, o = 0;
if (ie.isarray(t)) {
for (r = et(e), i = t.length; i > o; o++) s[t[o]] = ie.css(e, t[o], !1, r);
return s
}
return void 0 !== n ? ie.style(e, t, n) : ie.css(e, t)
}, e, t, arguments.length > 1)
},
show: function() {
return a(this, !0)
},
hide: function() {
return a(this)
},
toggle: function(e) {
return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function() {
ae(this) ? ie(this).show() : ie(this).hide()
})
}
}), ie.tween = r, r.prototype = {
constructor: r,
init: function(e, t, n, r, i, s) {
this.elem = e, this.prop = n, this.easing = i || "swing", this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = s || (ie.cssnumber[n] ? "" : "px")
},
cur: function() {
var e = r.prophooks[this.prop];
return e && e.get ? e.get(this) : r.prophooks._default.get(this)
},
run: function(e) {
var t, n = r.prophooks[this.prop];
return this.pos = t = this.options.duration ? ie.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(this) : r.prophooks._default.set(this), this
}
}, r.prototype.init.prototype = r.prototype, r.prophooks = {
_default: {
get: function(e) {
var t;
return null == e.elem[e.prop] || e.elem.style && null != e.elem.style[e.prop] ? (t = ie.css(e.elem, e.prop, ""), t && "auto" !== t ? t : 0) : e.elem[e.prop]
},
set: function(e) {
ie.fx.step[e.prop] ? ie.fx.step[e.prop](e) : e.elem.style && (null != e.elem.style[ie.cssprops[e.prop]] || ie.csshooks[e.prop]) ? ie.style(e.elem, e.prop, e.now + e.unit) : e.elem[e.prop] = e.now
}
}
}, r.prophooks.scrolltop = r.prophooks.scrollleft = {
set: function(e) {
e.elem.nodetype && e.elem.parentnode && (e.elem[e.prop] = e.now)
}
}, ie.easing = {
linear: function(e) {
return e
},
swing: function(e) {
return .5 - math.cos(e * math.pi) / 2
}
}, ie.fx = r.prototype.init, ie.fx.step = {};
var ft, pt, gt = /^(?:toggle|show|hide)$/,
mt = new regexp("^(?:([+-])=|)(" + se + ")([a-z%]*)$", "i"),
vt = /queuehooks$/,
yt = [m],
bt = {
"*": [function(e, t) {
var n = this.createtween(e, t),
r = n.cur(),
i = mt.exec(t),
s = i && i[3] || (ie.cssnumber[e] ? "" : "px"),
o = (ie.cssnumber[e] || "px" !== s && +r) && mt.exec(ie.css(n.elem, e)),
a = 1,
l = 20;
if (o && o[3] !== s) {
s = s || o[3], i = i || [], o = +r || 1;
do a = a || ".5", o /= a, ie.style(n.elem, e, o + s);
while (a !== (a = n.cur() / r) && 1 !== a && --l)
}
return i && (o = n.start = +o || +r || 0, n.unit = s, n.end = i[1] ? o + (i[1] + 1) * i[2] : +i[2]), n
}]
};
ie.animation = ie.extend(h, {
tweener: function(e, t) {
ie.isfunction(e) ? (t = e, e = ["*"]) : e = e.split(" ");
for (var n, r = 0, i = e.length; i > r; r++) n = e[r], bt[n] = bt[n] || [], bt[n].unshift(t)
},
prefilter: function(e, t) {
t ? yt.unshift(e) : yt.push(e)
}
}), ie.speed = function(e, t, n) {
var r = e && "object" == typeof e ? ie.extend({}, e) : {
complete: n || !n && t || ie.isfunction(e) && e,
duration: e,
easing: n && t || t && !ie.isfunction(t) && t
};
return r.duration = ie.fx.off ? 0 : "number" == typeof r.duration ? r.duration : r.duration in ie.fx.speeds ? ie.fx.speeds[r.duration] : ie.fx.speeds._default, (null == r.queue || r.queue === !0) && (r.queue = "fx"), r.old = r.complete, r.complete = function() {
ie.isfunction(r.old) && r.old.call(this), r.queue && ie.dequeue(this, r.queue)
}, r
}, ie.fn.extend({
fadeto: function(e, t, n, r) {
return this.filter(ae).css("opacity", 0).show().end().animate({
opacity: t
}, e, n, r)
},
animate: function(e, t, n, r) {
var i = ie.isemptyobject(e),
s = ie.speed(t, n, r),
o = function() {
var t = h(this, ie.extend({}, e), s);
(i || ie._data(this, "finish")) && t.stop(!0)
};
return o.finish = o, i || s.queue === !1 ? this.each(o) : this.queue(s.queue, o)
},
stop: function(e, t, n) {
var r = function(e) {
var t = e.stop;
delete e.stop, t(n)
};
return "string" != typeof e && (n = t, t = e, e = void 0), t && e !== !1 && this.queue(e || "fx", []), this.each(function() {
var t = !0,
i = null != e && e + "queuehooks",
s = ie.timers,
o = ie._data(this);
if (i) o[i] && o[i].stop && r(o[i]);
else for (i in o) o[i] && o[i].stop && vt.test(i) && r(o[i]);
for (i = s.length; i--;) s[i].elem !== this || null != e && s[i].queue !== e || (s[i].anim.stop(n), t = !1, s.splice(i, 1));
(t || !n) && ie.dequeue(this, e)
})
},
finish: function(e) {
return e !== !1 && (e = e || "fx"), this.each(function() {
var t, n = ie._data(this),
r = n[e + "queue"],
i = n[e + "queuehooks"],
s = ie.timers,
o = r ? r.length : 0;
for (n.finish = !0, ie.queue(this, e, []), i && i.stop && i.stop.call(this, !0), t = s.length; t--;) s[t].elem === this && s[t].queue === e && (s[t].anim.stop(!0), s.splice(t, 1));
for (t = 0; o > t; t++) r[t] && r[t].finish && r[t].finish.call(this);
delete n.finish
})
}
}), ie.each(["toggle", "show", "hide"], function(e, t) {
var n = ie.fn[t];
ie.fn[t] = function(e, r, i) {
return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(i(t, !0), e, r, i)
}
}), ie.each({
slidedown: i("show"),
slideup: i("hide"),
slidetoggle: i("toggle"),
fadein: {
opacity: "show"
},
fadeout: {
opacity: "hide"
},
fadetoggle: {
opacity: "toggle"
}
}, function(e, t) {
ie.fn[e] = function(e, n, r) {
return this.animate(t, e, n, r)
}
}), ie.timers = [], ie.fx.tick = function() {
var e, t = ie.timers,
n = 0;
for (ft = ie.now(); n < t.length; n++) e = t[n], e() || t[n] !== e || t.splice(n--, 1);
t.length || ie.fx.stop(), ft = void 0
}, ie.fx.timer = function(e) {
ie.timers.push(e), e() ? ie.fx.start() : ie.timers.pop()
}, ie.fx.interval = 13, ie.fx.start = function() {
pt || (pt = setinterval(ie.fx.tick, ie.fx.interval))
}, ie.fx.stop = function() {
clearinterval(pt), pt = null
}, ie.fx.speeds = {
slow: 600,
fast: 200,
_default: 400
}, ie.fn.delay = function(e, t) {
return e = ie.fx ? ie.fx.speeds[e] || e : e, t = t || "fx", this.queue(t, function(t, n) {
var r = settimeout(t, e);
n.stop = function() {
cleartimeout(r)
}
})
},
function() {
var e, t, n, r, i;
t = pe.createelement("div"), t.setattribute("classname", "t"), t.innerhtml = "
a", r = t.getelementsbytagname("a")[0], n = pe.createelement("select"), i = n.appendchild(pe.createelement("option")), e = t.getelementsbytagname("input")[0], r.style.csstext = "top:1px", ne.getsetattribute = "t" !== t.classname, ne.style = /top/.test(r.getattribute("style")), ne.hrefnormalized = "/a" === r.getattribute("href"), ne.checkon = !! e.value, ne.optselected = i.selected, ne.enctype = !! pe.createelement("form").enctype, n.disabled = !0, ne.optdisabled = !i.disabled, e = pe.createelement("input"), e.setattribute("value", ""), ne.input = "" === e.getattribute("value"), e.value = "t", e.setattribute("type", "radio"), ne.radiovalue = "t" === e.value
}();
var _t = /\r/g;
ie.fn.extend({
val: function(e) {
var t, n, r, i = this[0];
return arguments.length ? (r = ie.isfunction(e), this.each(function(n) {
var i;
1 === this.nodetype && (i = r ? e.call(this, n, ie(this).val()) : e, null == i ? i = "" : "number" == typeof i ? i += "" : ie.isarray(i) && (i = ie.map(i, function(e) {
return null == e ? "" : e + ""
})), t = ie.valhooks[this.type] || ie.valhooks[this.nodename.tolowercase()], t && "set" in t && void 0 !== t.set(this, i, "value") || (this.value = i))
})) : i ? (t = ie.valhooks[i.type] || ie.valhooks[i.nodename.tolowercase()], t && "get" in t && void 0 !== (n = t.get(i, "value")) ? n : (n = i.value, "string" == typeof n ? n.replace(_t, "") : null == n ? "" : n)) : void 0
}
}), ie.extend({
valhooks: {
option: {
get: function(e) {
var t = ie.find.attr(e, "value");
return null != t ? t : ie.trim(ie.text(e))
}
},
select: {
get: function(e) {
for (var t, n, r = e.options, i = e.selectedindex, s = "select-one" === e.type || 0 > i, o = s ? null : [], a = s ? i + 1 : r.length, l = 0 > i ? a : s ? i : 0; a > l; l++) if (n = r[l], !(!n.selected && l !== i || (ne.optdisabled ? n.disabled : null !== n.getattribute("disabled")) || n.parentnode.disabled && ie.nodename(n.parentnode, "optgroup"))) {
if (t = ie(n).val(), s) return t;
o.push(t)
}
return o
},
set: function(e, t) {
for (var n, r, i = e.options, s = ie.makearray(t), o = i.length; o--;) if (r = i[o], ie.inarray(ie.valhooks.option.get(r), s) >= 0) try {
r.selected = n = !0
} catch (a) {
r.scrollheight
} else r.selected = !1;
return n || (e.selectedindex = -1), i
}
}
}
}), ie.each(["radio", "checkbox"], function() {
ie.valhooks[this] = {
set: function(e, t) {
return ie.isarray(t) ? e.checked = ie.inarray(ie(e).val(), t) >= 0 : void 0
}
}, ne.checkon || (ie.valhooks[this].get = function(e) {
return null === e.getattribute("value") ? "on" : e.value
})
});
var xt, wt, tt = ie.expr.attrhandle,
jt = /^(?:checked|selected)$/i,
et = ne.getsetattribute,
st = ne.input;
ie.fn.extend({
attr: function(e, t) {
return ce(this, ie.attr, e, t, arguments.length > 1)
},
removeattr: function(e) {
return this.each(function() {
ie.removeattr(this, e)
})
}
}), ie.extend({
attr: function(e, t, n) {
var r, i, s = e.nodetype;
if (e && 3 !== s && 8 !== s && 2 !== s) return typeof e.getattribute === te ? ie.prop(e, t, n) : (1 === s && ie.isxmldoc(e) || (t = t.tolowercase(), r = ie.attrhooks[t] || (ie.expr.match.bool.test(t) ? wt : xt)), void 0 === n ? r && "get" in r && null !== (i = r.get(e, t)) ? i : (i = ie.find.attr(e, t), null == i ? void 0 : i) : null !== n ? r && "set" in r && void 0 !== (i = r.set(e, n, t)) ? i : (e.setattribute(t, n + ""), n) : void ie.removeattr(e, t))
},
removeattr: function(e, t) {
var n, r, i = 0,
s = t && t.match(be);
if (s && 1 === e.nodetype) for (; n = s[i++];) r = ie.propfix[n] || n, ie.expr.match.bool.test(n) ? st && et || !jt.test(n) ? e[r] = !1 : e[ie.camelcase("default-" + n)] = e[r] = !1 : ie.attr(e, n, ""), e.removeattribute(et ? n : r)
},
attrhooks: {
type: {
set: function(e, t) {
if (!ne.radiovalue && "radio" === t && ie.nodename(e, "input")) {
var n = e.value;
return e.setattribute("type", t), n && (e.value = n), t
}
}
}
}
}), wt = {
set: function(e, t, n) {
return t === !1 ? ie.removeattr(e, n) : st && et || !jt.test(n) ? e.setattribute(!et && ie.propfix[n] || n, n) : e[ie.camelcase("default-" + n)] = e[n] = !0, n
}
}, ie.each(ie.expr.match.bool.source.match(/\w+/g), function(e, t) {
var n = tt[t] || ie.find.attr;
tt[t] = st && et || !jt.test(t) ? function(e, t, r) {
var i, s;
return r || (s = tt[t], tt[t] = i, i = null != n(e, t, r) ? t.tolowercase() : null, tt[t] = s), i
} : function(e, t, n) {
return n ? void 0 : e[ie.camelcase("default-" + t)] ? t.tolowercase() : null
}
}), st && et || (ie.attrhooks.value = {
set: function(e, t, n) {
return ie.nodename(e, "input") ? void(e.defaultvalue = t) : xt && xt.set(e, t, n)
}
}), et || (xt = {
set: function(e, t, n) {
var r = e.getattributenode(n);
return r || e.setattributenode(r = e.ownerdocument.createattribute(n)), r.value = t += "", "value" === n || t === e.getattribute(n) ? t : void 0
}
}, tt.id = tt.name = tt.coords = function(e, t, n) {
var r;
return n ? void 0 : (r = e.getattributenode(t)) && "" !== r.value ? r.value : null
}, ie.valhooks.button = {
get: function(e, t) {
var n = e.getattributenode(t);
return n && n.specified ? n.value : void 0
},
set: xt.set
}, ie.attrhooks.contenteditable = {
set: function(e, t, n) {
xt.set(e, "" !== t && t, n)
}
}, ie.each(["width", "height"], function(e, t) {
ie.attrhooks[t] = {
set: function(e, n) {
return "" === n ? (e.setattribute(t, "auto"), n) : void 0
}
}
})), ne.style || (ie.attrhooks.style = {
get: function(e) {
return e.style.csstext || void 0
},
set: function(e, t) {
return e.style.csstext = t + ""
}
});
var lt = /^(?:input|select|textarea|button|object)$/i,
at = /^(?:a|area)$/i;
ie.fn.extend({
prop: function(e, t) {
return ce(this, ie.prop, e, t, arguments.length > 1)
},
removeprop: function(e) {
return e = ie.propfix[e] || e,
this.each(function() {
try {
this[e] = void 0, delete this[e]
} catch (t) {}
})
}
}), ie.extend({
propfix: {
"for": "htmlfor",
"class": "classname"
},
prop: function(e, t, n) {
var r, i, s, o = e.nodetype;
if (e && 3 !== o && 8 !== o && 2 !== o) return s = 1 !== o || !ie.isxmldoc(e), s && (t = ie.propfix[t] || t, i = ie.prophooks[t]), void 0 !== n ? i && "set" in i && void 0 !== (r = i.set(e, n, t)) ? r : e[t] = n : i && "get" in i && null !== (r = i.get(e, t)) ? r : e[t]
},
prophooks: {
tabindex: {
get: function(e) {
var t = ie.find.attr(e, "tabindex");
return t ? parseint(t, 10) : lt.test(e.nodename) || at.test(e.nodename) && e.href ? 0 : -1
}
}
}
}), ne.hrefnormalized || ie.each(["href", "src"], function(e, t) {
ie.prophooks[t] = {
get: function(e) {
return e.getattribute(t, 4)
}
}
}), ne.optselected || (ie.prophooks.selected = {
get: function(e) {
var t = e.parentnode;
return t && (t.selectedindex, t.parentnode && t.parentnode.selectedindex), null
}
}), ie.each(["tabindex", "readonly", "maxlength", "cellspacing", "cellpadding", "rowspan", "colspan", "usemap", "frameborder", "contenteditable"], function() {
ie.propfix[this.tolowercase()] = this
}), ne.enctype || (ie.propfix.enctype = "encoding");
var ct = /[\t\r\n\f]/g;
ie.fn.extend({
addclass: function(e) {
var t, n, r, i, s, o, a = 0,
l = this.length,
u = "string" == typeof e && e;
if (ie.isfunction(e)) return this.each(function(t) {
ie(this).addclass(e.call(this, t, this.classname))
});
if (u) for (t = (e || "").match(be) || []; l > a; a++) if (n = this[a], r = 1 === n.nodetype && (n.classname ? (" " + n.classname + " ").replace(ct, " ") : " ")) {
for (s = 0; i = t[s++];) r.indexof(" " + i + " ") < 0 && (r += i + " ");
o = ie.trim(r), n.classname !== o && (n.classname = o)
}
return this
},
removeclass: function(e) {
var t, n, r, i, s, o, a = 0,
l = this.length,
u = 0 === arguments.length || "string" == typeof e && e;
if (ie.isfunction(e)) return this.each(function(t) {
ie(this).removeclass(e.call(this, t, this.classname))
});
if (u) for (t = (e || "").match(be) || []; l > a; a++) if (n = this[a], r = 1 === n.nodetype && (n.classname ? (" " + n.classname + " ").replace(ct, " ") : "")) {
for (s = 0; i = t[s++];) for (; r.indexof(" " + i + " ") >= 0;) r = r.replace(" " + i + " ", " ");
o = e ? ie.trim(r) : "", n.classname !== o && (n.classname = o)
}
return this
},
toggleclass: function(e, t) {
var n = typeof e;
return "boolean" == typeof t && "string" === n ? t ? this.addclass(e) : this.removeclass(e) : this.each(ie.isfunction(e) ? function(n) {
ie(this).toggleclass(e.call(this, n, this.classname, t), t)
} : function() {
if ("string" === n) for (var t, r = 0, i = ie(this), s = e.match(be) || []; t = s[r++];) i.hasclass(t) ? i.removeclass(t) : i.addclass(t);
else(n === te || "boolean" === n) && (this.classname && ie._data(this, "__classname__", this.classname), this.classname = this.classname || e === !1 ? "" : ie._data(this, "__classname__") || "")
})
},
hasclass: function(e) {
for (var t = " " + e + " ", n = 0, r = this.length; r > n; n++) if (1 === this[n].nodetype && (" " + this[n].classname + " ").replace(ct, " ").indexof(t) >= 0) return !0;
return !1
}
}), ie.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function(e, t) {
ie.fn[t] = function(e, n) {
return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t)
}
}), ie.fn.extend({
hover: function(e, t) {
return this.mouseenter(e).mouseleave(t || e)
},
bind: function(e, t, n) {
return this.on(e, null, t, n)
},
unbind: function(e, t) {
return this.off(e, null, t)
},
delegate: function(e, t, n, r) {
return this.on(t, e, n, r)
},
undelegate: function(e, t, n) {
return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
}
});
var pt = ie.now(),
kt = /\?/,
rt = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fa-f]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[ee][+-]?\d+|)/g;
ie.parsejson = function(t) {
if (e.json && e.json.parse) return e.json.parse(t + "");
var n, r = null,
i = ie.trim(t + "");
return i && !ie.trim(i.replace(rt, function(e, t, i, s) {
return n && t && (r = 0), 0 === r ? e : (n = i || t, r += !s - !i, "")
})) ? function("return " + i)() : ie.error("invalid json: " + t)
}, ie.parsexml = function(t) {
var n, r;
if (!t || "string" != typeof t) return null;
try {
e.domparser ? (r = new domparser, n = r.parsefromstring(t, "text/xml")) : (n = new activexobject("microsoft.xmldom"), n.async = "false", n.loadxml(t))
} catch (i) {
n = void 0
}
return n && n.documentelement && !n.getelementsbytagname("parsererror").length || ie.error("invalid xml: " + t), n
};
var nt, it, ot = /#.*$/,
mt = /([?&])_=[^&]*/,
qt = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
ht = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
ft = /^(?:get|head)$/,
dt = /^\/\//,
$t = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
vt = {}, bt = {}, xt = "*/".concat("*");
try {
it = location.href
} catch (zt) {
it = pe.createelement("a"), it.href = "", it = it.href
}
nt = $t.exec(it.tolowercase()) || [], ie.extend({
active: 0,
lastmodified: {},
etag: {},
ajaxsettings: {
url: it,
type: "get",
islocal: ht.test(nt[1]),
global: !0,
processdata: !0,
async: !0,
contenttype: "application/x-www-form-urlencoded; charset=utf-8",
accepts: {
"*": xt,
text: "text/plain",
html: "text/html",
xml: "application/xml, text/xml",
json: "application/json, text/javascript"
},
contents: {
xml: /xml/,
html: /html/,
json: /json/
},
responsefields: {
xml: "responsexml",
text: "responsetext",
json: "responsejson"
},
converters: {
"* text": string,
"text html": !0,
"text json": ie.parsejson,
"text xml": ie.parsexml
},
flatoptions: {
url: !0,
context: !0
}
},
ajaxsetup: function(e, t) {
return t ? $($(e, ie.ajaxsettings), t) : $(ie.ajaxsettings, e)
},
ajaxprefilter: f(vt),
ajaxtransport: f(bt),
ajax: function(e, t) {
function n(e, t, n, r) {
var i, c, v, y, _, w = t;
2 !== b && (b = 2, a && cleartimeout(a), u = void 0, o = r || "", x.readystate = e > 0 ? 4 : 0, i = e >= 200 && 300 > e || 304 === e, n && (y = v(d, x, n)), y = b(d, y, x, i), i ? (d.ifmodified && (_ = x.getresponseheader("last-modified"), _ && (ie.lastmodified[s] = _), _ = x.getresponseheader("etag"), _ && (ie.etag[s] = _)), 204 === e || "head" === d.type ? w = "nocontent" : 304 === e ? w = "notmodified" : (w = y.state, c = y.data, v = y.error, i = !v)) : (v = w, (e || !w) && (w = "error", 0 > e && (e = 0))), x.status = e, x.statustext = (t || w) + "", i ? p.resolvewith(h, [c, w, x]) : p.rejectwith(h, [x, w, v]), x.statuscode(m), m = void 0, l && f.trigger(i ? "ajaxsuccess" : "ajaxerror", [x, d, i ? c : v]), g.firewith(h, [x, w]), l && (f.trigger("ajaxcomplete", [x, d]), --ie.active || ie.event.trigger("ajaxstop")))
}
"object" == typeof e && (t = e, e = void 0), t = t || {};
var r, i, s, o, a, l, u, c, d = ie.ajaxsetup({}, t),
h = d.context || d,
f = d.context && (h.nodetype || h.jquery) ? ie(h) : ie.event,
p = ie.deferred(),
g = ie.callbacks("once memory"),
m = d.statuscode || {}, v = {}, y = {}, b = 0,
_ = "canceled",
x = {
readystate: 0,
getresponseheader: function(e) {
var t;
if (2 === b) {
if (!c) for (c = {}; t = qt.exec(o);) c[t[1].tolowercase()] = t[2];
t = c[e.tolowercase()]
}
return null == t ? null : t
},
getallresponseheaders: function() {
return 2 === b ? o : null
},
setrequestheader: function(e, t) {
var n = e.tolowercase();
return b || (e = y[n] = y[n] || e, v[e] = t), this
},
overridemimetype: function(e) {
return b || (d.mimetype = e), this
},
statuscode: function(e) {
var t;
if (e) if (2 > b) for (t in e) m[t] = [m[t], e[t]];
else x.always(e[x.status]);
return this
},
abort: function(e) {
var t = e || _;
return u && u.abort(t), n(0, t), this
}
};
if (p.promise(x).complete = g.add, x.success = x.done, x.error = x.fail, d.url = ((e || d.url || it) + "").replace(ot, "").replace(dt, nt[1] + "//"), d.type = t.method || t.type || d.method || d.type, d.datatypes = ie.trim(d.datatype || "*").tolowercase().match(be) || [""], null == d.crossdomain && (r = $t.exec(d.url.tolowercase()), d.crossdomain = !(!r || r[1] === nt[1] && r[2] === nt[2] && (r[3] || ("http:" === r[1] ? "80" : "443")) === (nt[3] || ("http:" === nt[1] ? "80" : "443")))), d.data && d.processdata && "string" != typeof d.data && (d.data = ie.param(d.data, d.traditional)), d(vt, d, t, x), 2 === b) return x;
l = d.global, l && 0 === ie.active++ && ie.event.trigger("ajaxstart"), d.type = d.type.touppercase(), d.hascontent = !ft.test(d.type), s = d.url, d.hascontent || (d.data && (s = d.url += (kt.test(s) ? "&" : "?") + d.data, delete d.data), d.cache === !1 && (d.url = mt.test(s) ? s.replace(mt, "$1_=" + pt++) : s + (kt.test(s) ? "&" : "?") + "_=" + pt++)), d.ifmodified && (ie.lastmodified[s] && x.setrequestheader("if-modified-since", ie.lastmodified[s]), ie.etag[s] && x.setrequestheader("if-none-match", ie.etag[s])), (d.data && d.hascontent && d.contenttype !== !1 || t.contenttype) && x.setrequestheader("content-type", d.contenttype), x.setrequestheader("accept", d.datatypes[0] && d.accepts[d.datatypes[0]] ? d.accepts[d.datatypes[0]] + ("*" !== d.datatypes[0] ? ", " + xt + "; q=0.01" : "") : d.accepts["*"]);
for (i in d.headers) x.setrequestheader(i, d.headers[i]);
if (d.beforesend && (d.beforesend.call(h, x, d) === !1 || 2 === b)) return x.abort();
_ = "abort";
for (i in {
success: 1,
error: 1,
complete: 1
}) x[i](d[i]);
if (u = d(bt, d, t, x)) {
x.readystate = 1, l && f.trigger("ajaxsend", [x, d]), d.async && d.timeout > 0 && (a = settimeout(function() {
x.abort("timeout")
}, d.timeout));
try {
b = 1, u.send(v, n)
} catch (w) {
if (!(2 > b)) throw w;
n(-1, w)
}
} else n(-1, "no transport");
return x
},
getjson: function(e, t, n) {
return ie.get(e, t, n, "json")
},
getscript: function(e, t) {
return ie.get(e, void 0, t, "script")
}
}), ie.each(["get", "post"], function(e, t) {
ie[t] = function(e, n, r, i) {
return ie.isfunction(n) && (i = i || r, r = n, n = void 0), ie.ajax({
url: e,
type: t,
datatype: i,
data: n,
success: r
})
}
}), ie.each(["ajaxstart", "ajaxstop", "ajaxcomplete", "ajaxerror", "ajaxsuccess", "ajaxsend"], function(e, t) {
ie.fn[t] = function(e) {
return this.on(t, e)
}
}), ie._evalurl = function(e) {
return ie.ajax({
url: e,
type: "get",
datatype: "script",
async: !1,
global: !1,
"throws": !0
})
}, ie.fn.extend({
wrapall: function(e) {
if (ie.isfunction(e)) return this.each(function(t) {
ie(this).wrapall(e.call(this, t))
});
if (this[0]) {
var t = ie(e, this[0].ownerdocument).eq(0).clone(!0);
this[0].parentnode && t.insertbefore(this[0]), t.map(function() {
for (var e = this; e.firstchild && 1 === e.firstchild.nodetype;) e = e.firstchild;
return e
}).append(this)
}
return this
},
wrapinner: function(e) {
return this.each(ie.isfunction(e) ? function(t) {
ie(this).wrapinner(e.call(this, t))
} : function() {
var t = ie(this),
n = t.contents();
n.length ? n.wrapall(e) : t.append(e)
})
},
wrap: function(e) {
var t = ie.isfunction(e);
return this.each(function(n) {
ie(this).wrapall(t ? e.call(this, n) : e)
})
},
unwrap: function() {
return this.parent().each(function() {
ie.nodename(this, "body") || ie(this).replacewith(this.childnodes)
}).end()
}
}), ie.expr.filters.hidden = function(e) {
return e.offsetwidth <= 0 && e.offsetheight <= 0 || !ne.reliablehiddenoffsets() && "none" === (e.style && e.style.display || ie.css(e, "display"))
}, ie.expr.filters.visible = function(e) {
return !ie.expr.filters.hidden(e)
};
var ut = /%20/g,
wt = /\[\]$/,
qt = /\r?\n/g,
jt = /^(?:submit|button|image|reset|file)$/i,
gt = /^(?:input|select|textarea|keygen)/i;
ie.param = function(e, t) {
var n, r = [],
i = function(e, t) {
t = ie.isfunction(t) ? t() : null == t ? "" : t, r[r.length] = encodeuricomponent(e) + "=" + encodeuricomponent(t)
};
if (void 0 === t && (t = ie.ajaxsettings && ie.ajaxsettings.traditional), ie.isarray(e) || e.jquery && !ie.isplainobject(e)) ie.each(e, function() {
i(this.name, this.value)
});
else for (n in e) x(n, e[n], t, i);
return r.join("&").replace(ut, "+")
}, ie.fn.extend({
serialize: function() {
return ie.param(this.serializearray())
},
serializearray: function() {
return this.map(function() {
var e = ie.prop(this, "elements");
return e ? ie.makearray(e) : this
}).filter(function() {
var e = this.type;
return this.name && !ie(this).is(":disabled") && gt.test(this.nodename) && !jt.test(e) && (this.checked || !pe.test(e))
}).map(function(e, t) {
var n = ie(this).val();
return null == n ? null : ie.isarray(n) ? ie.map(n, function(e) {
return {
name: t.name,
value: e.replace(qt, "\r\n")
}
}) : {
name: t.name,
value: n.replace(qt, "\r\n")
}
}).get()
}
}), ie.ajaxsettings.xhr = void 0 !== e.activexobject ? function() {
return !this.islocal && /^(get|post|head|put|delete|options)$/i.test(this.type) && z() || u()
} : z;
var yt = 0,
zt = {}, kt = ie.ajaxsettings.xhr();
e.activexobject && ie(e).on("unload", function() {
for (var e in zt) zt[e](void 0, !0)
}), ne.cors = !! kt && "withcredentials" in kt, kt = ne.ajax = !! kt, kt && ie.ajaxtransport(function(e) {
if (!e.crossdomain || ne.cors) {
var t;
return {
send: function(n, r) {
var i, s = e.xhr(),
o = ++yt;
if (s.open(e.type, e.url, e.async, e.username, e.password), e.xhrfields) for (i in e.xhrfields) s[i] = e.xhrfields[i];
e.mimetype && s.overridemimetype && s.overridemimetype(e.mimetype), e.crossdomain || n["x-requested-with"] || (n["x-requested-with"] = "xmlhttprequest");
for (i in n) void 0 !== n[i] && s.setrequestheader(i, n[i] + "");
s.send(e.hascontent && e.data || null), t = function(n, i) {
var a, l, u;
if (t && (i || 4 === s.readystate)) if (delete zt[o], t = void 0, s.onreadystatechange = ie.noop, i) 4 !== s.readystate && s.abort();
else {
u = {}, a = s.status, "string" == typeof s.responsetext && (u.text = s.responsetext);
try {
l = s.statustext
} catch (c) {
l = ""
}
a || !e.islocal || e.crossdomain ? 1223 === a && (a = 204) : a = u.text ? 200 : 404
}
u && r(a, l, u, s.getallresponseheaders())
}, e.async ? 4 === s.readystate ? settimeout(t) : s.onreadystatechange = zt[o] = t : t()
},
abort: function() {
t && t(void 0, !0)
}
}
}
}), ie.ajaxsetup({
accepts: {
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
},
contents: {
script: /(?:java|ecma)script/
},
converters: {
"text script": function(e) {
return ie.globaleval(e), e
}
}
}), ie.ajaxprefilter("script", function(e) {
void 0 === e.cache && (e.cache = !1), e.crossdomain && (e.type = "get", e.global = !1)
}), ie.ajaxtransport("script", function(e) {
if (e.crossdomain) {
var t, n = pe.head || ie("head")[0] || pe.documentelement;
return {
send: function(r, i) {
t = pe.createelement("script"), t.async = !0, e.scriptcharset && (t.charset = e.scriptcharset), t.src = e.url, t.onload = t.onreadystatechange = function(e, n) {
(n || !t.readystate || /loaded|complete/.test(t.readystate)) && (t.onload = t.onreadystatechange = null, t.parentnode && t.parentnode.removechild(t), t = null, n || i(200, "success"))
}, n.insertbefore(t, n.firstchild)
},
abort: function() {
t && t.onload(void 0, !0)
}
}
}
});
var en = [],
tn = /(=)\?(?=&|$)|\?\?/;
ie.ajaxsetup({
jsonp: "callback",
jsonpcallback: function() {
var e = en.pop() || ie.expando + "_" + pt++;
return this[e] = !0, e
}
}), ie.ajaxprefilter("json jsonp", function(t, n, r) {
var i, s, o, a = t.jsonp !== !1 && (tn.test(t.url) ? "url" : "string" == typeof t.data && !(t.contenttype || "").indexof("application/x-www-form-urlencoded") && tn.test(t.data) && "data");
return a || "jsonp" === t.datatypes[0] ? (i = t.jsonpcallback = ie.isfunction(t.jsonpcallback) ? t.jsonpcallback() : t.jsonpcallback, a ? t[a] = t[a].replace(tn, "$1" + i) : t.jsonp !== !1 && (t.url += (kt.test(t.url) ? "&" : "?") + t.jsonp + "=" + i), t.converters["script json"] = function() {
return o || ie.error(i + " was not called"), o[0]
}, t.datatypes[0] = "json", s = e[i], e[i] = function() {
o = arguments
}, r.always(function() {
e[i] = s, t[i] && (t.jsonpcallback = n.jsonpcallback, en.push(i)), o && ie.isfunction(s) && s(o[0]), o = s = void 0
}), "script") : void 0
}), ie.parsehtml = function(e, t, n) {
if (!e || "string" != typeof e) return null;
"boolean" == typeof t && (n = t, t = !1), t = t || pe;
var r = de.exec(e),
i = !n && [];
return r ? [t.createelement(r[1])] : (r = ie.buildfragment([e], t, i), i && i.length && ie(i).remove(), ie.merge([], r.childnodes))
};
var nn = ie.fn.load;
ie.fn.load = function(e, t, n) {
if ("string" != typeof e && nn) return nn.apply(this, arguments);
var r, i, s, o = this,
a = e.indexof(" ");
return a >= 0 && (r = ie.trim(e.slice(a, e.length)), e = e.slice(0, a)), ie.isfunction(t) ? (n = t, t = void 0) : t && "object" == typeof t && (s = "post"), o.length > 0 && ie.ajax({
url: e,
type: s,
datatype: "html",
data: t
}).done(function(e) {
i = arguments, o.html(r ? ie("
").append(ie.parsehtml(e)).find(r) : e)
}).complete(n && function(e, t) {
o.each(n, i || [e.responsetext, t, e])
}), this
}, ie.expr.filters.animated = function(e) {
return ie.grep(ie.timers, function(t) {
return e === t.elem
}).length
};
var rn = e.document.documentelement;
ie.offset = {
setoffset: function(e, t, n) {
var r, i, s, o, a, l, u, c = ie.css(e, "position"),
d = ie(e),
h = {};
"static" === c && (e.style.position = "relative"), a = d.offset(), s = ie.css(e, "top"), l = ie.css(e, "left"), u = ("absolute" === c || "fixed" === c) && ie.inarray("auto", [s, l]) > -1, u ? (r = d.position(), o = r.top, i = r.left) : (o = parsefloat(s) || 0, i = parsefloat(l) || 0), ie.isfunction(t) && (t = t.call(e, n, a)), null != t.top && (h.top = t.top - a.top + o), null != t.left && (h.left = t.left - a.left + i), "using" in t ? t.using.call(e, h) : d.css(h)
}
}, ie.fn.extend({
offset: function(e) {
if (arguments.length) return void 0 === e ? this : this.each(function(t) {
ie.offset.setoffset(this, e, t)
});
var t, n, r = {
top: 0,
left: 0
}, i = this[0],
s = i && i.ownerdocument;
return s ? (t = s.documentelement, ie.contains(t, i) ? (typeof i.getboundingclientrect !== te && (r = i.getboundingclientrect()), n = w(s), {
top: r.top + (n.pageyoffset || t.scrolltop) - (t.clienttop || 0),
left: r.left + (n.pagexoffset || t.scrollleft) - (t.clientleft || 0)
}) : r) : void 0
},
position: function() {
if (this[0]) {
var e, t, n = {
top: 0,
left: 0
}, r = this[0];
return "fixed" === ie.css(r, "position") ? t = r.getboundingclientrect() : (e = this.offsetparent(), t = this.offset(), ie.nodename(e[0], "html") || (n = e.offset()), n.top += ie.css(e[0], "bordertopwidth", !0), n.left += ie.css(e[0], "borderleftwidth", !0)), {
top: t.top - n.top - ie.css(r, "margintop", !0),
left: t.left - n.left - ie.css(r, "marginleft", !0)
}
}
},
offsetparent: function() {
return this.map(function() {
for (var e = this.offsetparent || rn; e && !ie.nodename(e, "html") && "static" === ie.css(e, "position");) e = e.offsetparent;
return e || rn
})
}
}), ie.each({
scrollleft: "pagexoffset",
scrolltop: "pageyoffset"
}, function(e, t) {
var n = /y/.test(t);
ie.fn[e] = function(r) {
return ce(this, function(e, r, i) {
var s = w(e);
return void 0 === i ? s ? t in s ? s[t] : s.document.documentelement[r] : e[r] : void(s ? s.scrollto(n ? ie(s).scrollleft() : i, n ? i : ie(s).scrolltop()) : e[r] = i)
}, e, r, arguments.length, null)
}
}), ie.each(["top", "left"], function(e, t) {
ie.csshooks[t] = s(ne.pixelposition, function(e, n) {
return n ? (n = tt(e, t), rt.test(n) ? ie(e).position()[t] + "px" : n) : void 0
})
}), ie.each({
height: "height",
width: "width"
}, function(e, t) {
ie.each({
padding: "inner" + e,
content: t,
"": "outer" + e
}, function(n, r) {
ie.fn[r] = function(r, i) {
var s = arguments.length && (n || "boolean" != typeof r),
o = n || (r === !0 || i === !0 ? "margin" : "border");
return ce(this, function(t, n, r) {
var i;
return ie.iswindow(t) ? t.document.documentelement["client" + e] : 9 === t.nodetype ? (i = t.documentelement, math.max(t.body["scroll" + e], i["scroll" + e], t.body["offset" + e], i["offset" + e], i["client" + e])) : void 0 === r ? ie.css(t, n, o) : ie.style(t, n, r, o)
}, t, s ? r : void 0, s, null)
}
})
}), ie.fn.size = function() {
return this.length
}, ie.fn.andself = ie.fn.addback, "function" == typeof define && define.amd && define("jquery", [], function() {
return ie
});
var sn = e.jquery,
on = e.$;
return ie.noconflict = function(t) {
return e.$ === ie && (e.$ = on), t && e.jquery === ie && (e.jquery = sn), ie
}, typeof t === te && (e.jquery = e.$ = ie), ie
})
}, {}],
4: [function(e, t, n) {
(function(e) {
(function(t, n, r, i, o) {
this.createjs = this.createjs || {},
function() {
"use strict";
var e = createjs.preloadjs = createjs.preloadjs || {};
e.version = "0.6.2", e.builddate = "thu, 26 nov 2015 20:44:31 gmt"
}(), this.createjs = this.createjs || {}, createjs.extend = function(e, t) {
"use strict";
function n() {
this.constructor = e
}
return n.prototype = t.prototype, e.prototype = new n
}, this.createjs = this.createjs || {}, createjs.promote = function(e, t) {
"use strict";
var n = e.prototype,
r = object.getprototypeof && object.getprototypeof(n) || n.__proto__;
if (r) {
n[(t += "_") + "constructor"] = r.constructor;
for (var i in r) n.hasownproperty(i) && "function" == typeof r[i] && (n[t + i] = r[i])
}
return e
}, this.createjs = this.createjs || {},
function() {
"use strict";
createjs.proxy = function(e, t) {
var n = array.prototype.slice.call(arguments, 2);
return function() {
return e.apply(t, array.prototype.slice.call(arguments, 0).concat(n))
}
}
}(), this.createjs = this.createjs || {}, createjs.indexof = function(e, t) {
"use strict";
for (var n = 0, r = e.length; r > n; n++) if (t === e[n]) return n;
return -1
}, this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t, n) {
this.type = e, this.target = null, this.currenttarget = null, this.eventphase = 0, this.bubbles = !! t, this.cancelable = !! n, this.timestamp = (new date).gettime(), this.defaultprevented = !1, this.propagationstopped = !1, this.immediatepropagationstopped = !1, this.removed = !1
}
var t = e.prototype;
t.preventdefault = function() {
this.defaultprevented = this.cancelable && !0
}, t.stoppropagation = function() {
this.propagationstopped = !0
}, t.stopimmediatepropagation = function() {
this.immediatepropagationstopped = this.propagationstopped = !0
}, t.remove = function() {
this.removed = !0
}, t.clone = function() {
return new e(this.type, this.bubbles, this.cancelable)
}, t.set = function(e) {
for (var t in e) this[t] = e[t];
return this
}, t.tostring = function() {
return "[event (type=" + this.type + ")]"
}, createjs.event = e
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t, n) {
this.event_constructor("error"), this.title = e, this.message = t, this.data = n
}
var t = createjs.extend(e, createjs.event);
t.clone = function() {
return new createjs.errorevent(this.title, this.message, this.data)
}, createjs.errorevent = createjs.promote(e, "event")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e() {
this._listeners = null, this._capturelisteners = null
}
var t = e.prototype;
e.initialize = function(e) {
e.addeventlistener = t.addeventlistener, e.on = t.on, e.removeeventlistener = e.off = t.removeeventlistener, e.removealleventlisteners = t.removealleventlisteners, e.haseventlistener = t.haseventlistener, e.dispatchevent = t.dispatchevent, e._dispatchevent = t._dispatchevent, e.willtrigger = t.willtrigger
}, t.addeventlistener = function(e, t, n) {
var r;
r = n ? this._capturelisteners = this._capturelisteners || {} : this._listeners = this._listeners || {};
var i = r[e];
return i && this.removeeventlistener(e, t, n), i = r[e], i ? i.push(t) : r[e] = [t], t
}, t.on = function(e, t, n, r, i, s) {
return t.handleevent && (n = n || t, t = t.handleevent), n = n || this, this.addeventlistener(e, function(e) {
t.call(n, e, i), r && e.remove()
}, s)
}, t.removeeventlistener = function(e, t, n) {
var r = n ? this._capturelisteners : this._listeners;
if (r) {
var i = r[e];
if (i) for (var s = 0, o = i.length; o > s; s++) if (i[s] == t) {
1 == o ? delete r[e] : i.splice(s, 1);
break
}
}
}, t.off = t.removeeventlistener, t.removealleventlisteners = function(e) {
e ? (this._listeners && delete this._listeners[e], this._capturelisteners && delete this._capturelisteners[e]) : this._listeners = this._capturelisteners = null
}, t.dispatchevent = function(e, t, n) {
if ("string" == typeof e) {
var r = this._listeners;
if (!(t || r && r[e])) return !0;
e = new createjs.event(e, t, n)
} else e.target && e.clone && (e = e.clone());
try {
e.target = this
} catch (i) {}
if (e.bubbles && this.parent) {
for (var s = this, o = [s]; s.parent;) o.push(s = s.parent);
var a, l = o.length;
for (a = l - 1; a >= 0 && !e.propagationstopped; a--) o[a]._dispatchevent(e, 1 + (0 == a));
for (a = 1; l > a && !e.propagationstopped; a++) o[a]._dispatchevent(e, 3)
} else this._dispatchevent(e, 2);
return !e.defaultprevented
}, t.haseventlistener = function(e) {
var t = this._listeners,
n = this._capturelisteners;
return !!(t && t[e] || n && n[e])
}, t.willtrigger = function(e) {
for (var t = this; t;) {
if (t.haseventlistener(e)) return !0;
t = t.parent
}
return !1
}, t.tostring = function() {
return "[eventdispatcher]"
}, t._dispatchevent = function(e, t) {
var n, r = 1 == t ? this._capturelisteners : this._listeners;
if (e && r) {
var i = r[e.type];
if (!i || !(n = i.length)) return;
try {
e.currenttarget = this
} catch (s) {}
try {
e.eventphase = t
} catch (s) {}
e.removed = !1, i = i.slice();
for (var o = 0; n > o && !e.immediatepropagationstopped; o++) {
var a = i[o];
a.handleevent ? a.handleevent(e) : a(e), e.removed && (this.off(e.type, a, 1 == t), e.removed = !1)
}
}
}, createjs.eventdispatcher = e
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t) {
this.event_constructor("progress"), this.loaded = e, this.total = null == t ? 1 : t, this.progress = 0 == t ? 0 : this.loaded / this.total
}
var t = createjs.extend(e, createjs.event);
t.clone = function() {
return new createjs.progressevent(this.loaded, this.total)
}, createjs.progressevent = createjs.promote(e, "event")
}(window),
function() {
function r(e, t) {
function n(e) {
if (n[e] !== m) return n[e];
var r;
if ("bug-string-char-index" == e) r = "a" != "a" [0];
else if ("json" == e) r = n("json-stringify") && n("json-parse");
else {
var o, a = '{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';
if ("json-stringify" == e) {
var l = t.stringify,
c = "function" == typeof l && b;
if (c) {
(o = function() {
return 1
}).tojson = o;
try {
c = "0" === l(0) && "0" === l(new i) && '""' == l(new s) && l(y) === m && l(m) === m && l() === m && "1" === l(o) && "[1]" == l([o]) && "[null]" == l([m]) && "null" == l(null) && "[null,null,null]" == l([m, y, null]) && l({
a: [o, !0, !1, null, "\0\b\n\f\r\t"]
}) == a && "1" === l(null, o) && "[\n 1,\n 2\n]" == l([1, 2], null, 1) && '"-271821-04-20t00:00:00.000z"' == l(new u((-864e13))) && '"+275760-09-13t00:00:00.000z"' == l(new u(864e13)) && '"-000001-01-01t00:00:00.000z"' == l(new u((-621987552e5))) && '"1969-12-31t23:59:59.999z"' == l(new u((-1)))
} catch (d) {
c = !1
}
}
r = c
}
if ("json-parse" == e) {
var h = t.parse;
if ("function" == typeof h) try {
if (0 === h("0") && !h(!1)) {
o = h(a);
var f = 5 == o.a.length && 1 === o.a[0];
if (f) {
try {
f = !h('"\t"')
} catch (d) {}
if (f) try {
f = 1 !== h("01")
} catch (d) {}
if (f) try {
f = 1 !== h("1.")
} catch (d) {}
}
}
} catch (d) {
f = !1
}
r = f
}
}
return n[e] = !! r
}
e || (e = l.object()), t || (t = l.object());
var i = e.number || l.number,
s = e.string || l.string,
a = e.object || l.object,
u = e.date || l.date,
c = e.syntaxerror || l.syntaxerror,
d = e.typeerror || l.typeerror,
h = e.math || l.math,
f = e.json || l.json;
"object" == typeof f && f && (t.stringify = f.stringify, t.parse = f.parse);
var p, g, m, v = a.prototype,
y = v.tostring,
b = new u((-0xc782b5b800cec));
try {
b = -109252 == b.getutcfullyear() && 0 === b.getutcmonth() && 1 === b.getutcdate() && 10 == b.getutchours() && 37 == b.getutcminutes() && 6 == b.getutcseconds() && 708 == b.getutcmilliseconds()
} catch (_) {}
if (!n("json")) {
var x = "[object function]",
w = "[object date]",
t = "[object number]",
j = "[object string]",
e = "[object array]",
s = "[object boolean]",
l = n("bug-string-char-index");
if (!b) var a = h.floor,
c = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
p = function(e, t) {
return c[t] + 365 * (e - 1970) + a((e - 1969 + (t = +(t > 1))) / 4) - a((e - 1901 + t) / 100) + a((e - 1601 + t) / 400)
};
if ((p = v.hasownproperty) || (p = function(e) {
var t, n = {};
return (n.__proto__ = null, n.__proto__ = {
tostring: 1
}, n).tostring != y ? p = function(e) {
var t = this.__proto__,
n = e in (this.__proto__ = null, this);
return this.__proto__ = t, n
} : (t = n.constructor, p = function(e) {
var n = (this.constructor || t).prototype;
return e in this && !(e in n && this[e] === n[e])
}), n = null, p.call(this, e)
}), g = function(e, t) {
var n, r, i, s = 0;
(n = function() {
this.valueof = 0
}).prototype.valueof = 0, r = new n;
for (i in r) p.call(r, i) && s++;
return n = r = null, s ? g = 2 == s ? function(e, t) {
var n, r = {}, i = y.call(e) == x;
for (n in e) i && "prototype" == n || p.call(r, n) || !(r[n] = 1) || !p.call(e, n) || t(n)
} : function(e, t) {
var n, r, i = y.call(e) == x;
for (n in e) i && "prototype" == n || !p.call(e, n) || (r = "constructor" === n) || t(n);
(r || p.call(e, n = "constructor")) && t(n)
} : (r = ["valueof", "tostring", "tolocalestring", "propertyisenumerable", "isprototypeof", "hasownproperty", "constructor"], g = function(e, t) {
var n, i, s = y.call(e) == x,
a = !s && "function" != typeof e.constructor && o[typeof e.hasownproperty] && e.hasownproperty || p;
for (n in e) s && "prototype" == n || !a.call(e, n) || t(n);
for (i = r.length; n = r[--i]; a.call(e, n) && t(n));
}), g(e, t)
}, !n("json-stringify")) {
var k = {
92: "\\\\",
34: '\\"',
8: "\\b",
12: "\\f",
10: "\\n",
13: "\\r",
9: "\\t"
}, r = "000000",
n = function(e, t) {
return (r + (t || 0)).slice(-e)
}, i = "\\u00",
o = function(e) {
for (var t = '"', n = 0, r = e.length, i = !l || r > 10, s = i && (l ? e.split("") : e); r > n; n++) {
var o = e.charcodeat(n);
switch (o) {
case 8:
case 9:
case 10:
case 12:
case 13:
case 34:
case 92:
t += k[o];
break;
default:
if (32 > o) {
t += i + n(2, o.tostring(16));
break
}
t += i ? s[n]:
e.charat(n)
}
}
return t + '"'
}, m = function(e, t, n, r, i, s, o) {
var a, l, u, c, h, f, v, b, _, x, l, c, k, r, i, q;
try {
a = t[e]
} catch (h) {}
if ("object" == typeof a && a) if (l = y.call(a), l != w || p.call(a, "tojson")) "function" == typeof a.tojson && (l != t && l != j && l != e || p.call(a, "tojson")) && (a = a.tojson(e));
else if (a > -1 / 0 && 1 / 0 > a) {
if (p) {
for (h = a(a / 864e5), u = a(h / 365.2425) + 1970 - 1; p(u + 1, 0) <= h; u++);
for (c = a((h - p(u, 0)) / 30.42); p(u, c + 1) <= h; c++);
h = 1 + h - p(u, c), f = (a % 864e5 + 864e5) % 864e5, v = a(f / 36e5) % 24, b = a(f / 6e4) % 60, _ = a(f / 1e3) % 60, x = f % 1e3
} else u = a.getutcfullyear(), c = a.getutcmonth(), h = a.getutcdate(), v = a.getutchours(), b = a.getutcminutes(), _ = a.getutcseconds(), x = a.getutcmilliseconds();
a = (0 >= u || u >= 1e4 ? (0 > u ? "-" : "+") + n(6, 0 > u ? -u : u) : n(4, u)) + "-" + n(2, c + 1) + "-" + n(2, h) + "t" + n(2, v) + ":" + n(2, b) + ":" + n(2, _) + "." + n(3, x) + "z"
} else a = null;
if (n && (a = n.call(t, e, a)), null === a) return "null";
if (l = y.call(a), l == s) return "" + a;
if (l == t) return a > -1 / 0 && 1 / 0 > a ? "" + a : "null";
if (l == j) return o("" + a);
if ("object" == typeof a) {
for (r = o.length; r--;) if (o[r] === a) throw d();
if (o.push(a), l = [], i = s, s += i, l == e) {
for (k = 0, r = a.length; r > k; k++) c = m(k, a, n, r, i, s, o), l.push(c === m ? "null" : c);
q = l.length ? i ? "[\n" + s + l.join(",\n" + s) + "\n" + i + "]" : "[" + l.join(",") + "]" : "[]"
} else g(r || a, function(e) {
var t = m(e, a, n, r, i, s, o);
t !== m && l.push(o(e) + ":" + (i ? " " : "") + t)
}), q = l.length ? i ? "{\n" + s + l.join(",\n" + s) + "\n" + i + "}" : "{" + l.join(",") + "}" : "{}";
return o.pop(), q
}
};
t.stringify = function(e, t, n) {
var r, i, s, a;
if (o[typeof t] && t) if ((a = y.call(t)) == x) i = t;
else if (a == e) {
s = {};
for (var l, u = 0, c = t.length; c > u; l = t[u++], a = y.call(l), (a == j || a == t) && (s[l] = 1));
}
if (n) if ((a = y.call(n)) == t) {
if ((n -= n % 1) > 0) for (r = "", n > 10 && (n = 10); r.length < n; r += " ");
} else a == j && (r = n.length <= 10 ? n : n.slice(0, 10));
return m("", (l = {}, l[""] = e, l), i, s, r, "", [])
}
}
if (!n("json-parse")) {
var q, h, f = s.fromcharcode,
d = {
92: "\\",
34: '"',
47: "/",
98: "\b",
116: "\t",
110: "\n",
102: "\f",
114: "\r"
}, $ = function() {
throw q = h = null, c()
}, v = function() {
for (var e, t, n, r, i, s = h, o = s.length; o > q;) switch (i = s.charcodeat(q)) {
case 9:
case 10:
case 13:
case 32:
q++;
break;
case 123:
case 125:
case 91:
case 93:
case 58:
case 44:
return e = l ? s.charat(q):
s[q], q++, e;
case 34:
for (e = "@", q++; o > q;) if (i = s.charcodeat(q), 32 > i) $();
else if (92 == i) switch (i = s.charcodeat(++q)) {
case 92:
case 34:
case 47:
case 98:
case 116:
case 110:
case 102:
case 114:
e += d[i], q++;
break;
case 117:
for (t = ++q, n = q + 4; n > q; q++) i = s.charcodeat(q), i >= 48 && 57 >= i || i >= 97 && 102 >= i || i >= 65 && 70 >= i || $();
e += f("0x" + s.slice(t, q));
break;
default:
$()
} else {
if (34 == i) break;
for (i = s.charcodeat(q), t = q; i >= 32 && 92 != i && 34 != i;) i = s.charcodeat(++q);
e += s.slice(t, q)
}
if (34 == s.charcodeat(q)) return q++, e;
$();
default:
if (t = q, 45 == i && (r = !0, i = s.charcodeat(++q)), i >= 48 && 57 >= i) {
for (48 == i && (i = s.charcodeat(q + 1), i >= 48 && 57 >= i) && $(), r = !1; o > q && (i = s.charcodeat(q), i >= 48 && 57 >= i); q++);
if (46 == s.charcodeat(q)) {
for (n = ++q; o > n && (i = s.charcodeat(n), i >= 48 && 57 >= i); n++);
n == q && $(), q = n
}
if (i = s.charcodeat(q), 101 == i || 69 == i) {
for (i = s.charcodeat(++q), (43 == i || 45 == i) && q++, n = q; o > n && (i = s.charcodeat(n), i >= 48 && 57 >= i); n++);
n == q && $(), q = n
}
return +s.slice(t, q)
}
if (r && $(), "true" == s.slice(q, q + 4)) return q += 4, !0;
if ("false" == s.slice(q, q + 5)) return q += 5, !1;
if ("null" == s.slice(q, q + 4)) return q += 4, null;
$()
}
return "$"
}, b = function(e) {
var t, n;
if ("$" == e && $(), "string" == typeof e) {
if ("@" == (l ? e.charat(0) : e[0])) return e.slice(1);
if ("[" == e) {
for (t = []; e = v(), "]" != e; n || (n = !0)) n && ("," == e ? (e = v(), "]" == e && $()) : $()), "," == e && $(), t.push(b(e));
return t
}
if ("{" == e) {
for (t = {}; e = v(), "}" != e; n || (n = !0)) n && ("," == e ? (e = v(), "}" == e && $()) : $()), ("," == e || "string" != typeof e || "@" != (l ? e.charat(0) : e[0]) || ":" != v()) && $(), t[e.slice(1)] = b(v());
return t
}
$()
}
return e
}, x = function(e, t, n) {
var r = z(e, t, n);
r === m ? delete e[t] : e[t] = r
}, z = function(e, t, n) {
var r, i = e[t];
if ("object" == typeof i && i) if (y.call(i) == e) for (r = i.length; r--;) x(i, r, n);
else g(i, function(e) {
x(i, e, n)
});
return n.call(e, t, i)
};
t.parse = function(e, t) {
var n, r;
return q = 0, h = "" + e, n = b(v()), "$" != v() && $(), q = h = null, t && y.call(t) == x ? z((r = {}, r[""] = n, r), "", t) : n
}
}
}
return t.runincontext = r, t
}
var s = "function" == typeof i && i.amd,
o = {
"function": !0,
object: !0
}, a = o[typeof n] && n && !n.nodetype && n,
l = o[typeof window] && window || this,
u = a && o[typeof t] && t && !t.nodetype && "object" == typeof e && e;
if (!u || u.global !== u && u.window !== u && u.self !== u || (l = u), a && !s) r(l, a);
else {
var c = l.json,
d = l.json3,
h = !1,
f = r(l, l.json3 = {
noconflict: function() {
return h || (h = !0, l.json = c, l.json3 = d, c = d = null), f
}
});
l.json = {
parse: f.parse,
stringify: f.stringify
}
}
s && i(function() {
return f
})
}.call(this),
function() {
var e = {};
e.appendtohead = function(t) {
e.gethead().appendchild(t)
}, e.gethead = function() {
return document.head || document.getelementsbytagname("head")[0]
}, e.getbody = function() {
return document.body || document.getelementsbytagname("body")[0]
}, createjs.domutils = e
}(),
function() {
var e = {};
e.parsexml = function(e, t) {
var n = null;
try {
if (window.domparser) {
var r = new domparser;
n = r.parsefromstring(e, t)
}
} catch (i) {}
if (!n) try {
n = new activexobject("microsoft.xmldom"), n.async = !1, n.loadxml(e)
} catch (i) {
n = null
}
return n
}, e.parsejson = function(e) {
if (null == e) return null;
try {
return json.parse(e)
} catch (t) {
throw t
}
}, createjs.datautils = e
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e() {
this.src = null, this.type = null, this.id = null, this.maintainorder = !1, this.callback = null, this.data = null, this.method = createjs.loaditem.get, this.values = null, this.headers = null, this.withcredentials = !1, this.mimetype = null, this.crossorigin = null, this.loadtimeout = n.load_timeout_default
}
var t = e.prototype = {}, n = e;
n.load_timeout_default = 8e3, n.create = function(t) {
if ("string" == typeof t) {
var r = new e;
return r.src = t, r
}
if (t instanceof n) return t;
if (t instanceof object && t.src) return null == t.loadtimeout && (t.loadtimeout = n.load_timeout_default), t;
throw new error("type not recognized.")
}, t.set = function(e) {
for (var t in e) this[t] = e[t];
return this
}, createjs.loaditem = n
}(),
function() {
var e = {};
e.absolute_patt = /^(?:\w+:)?\/{2}/i, e.relative_patt = /^[.\/]*?\//i, e.extension_patt = /\/?[^\/]+\.(\w{1,5})$/i, e.parseuri = function(t) {
var n = {
absolute: !1,
relative: !1
};
if (null == t) return n;
var r = t.indexof("?");
r > -1 && (t = t.substr(0, r));
var i;
return e.absolute_patt.test(t) ? n.absolute = !0 : e.relative_patt.test(t) && (n.relative = !0), (i = t.match(e.extension_patt)) && (n.extension = i[1].tolowercase()), n
}, e.formatquerystring = function(e, t) {
if (null == e) throw new error("you must specify data.");
var n = [];
for (var r in e) n.push(r + "=" + escape(e[r]));
return t && (n = n.concat(t)), n.join("&")
}, e.buildpath = function(e, t) {
if (null == t) return e;
var n = [],
r = e.indexof("?");
if (-1 != r) {
var i = e.slice(r + 1);
n = n.concat(i.split("&"))
}
return -1 != r ? e.slice(0, r) + "?" + this.formatquerystring(t, n) : e + "?" + this.formatquerystring(t, n)
}, e.iscrossdomain = function(e) {
var t = document.createelement("a");
t.href = e.src;
var n = document.createelement("a");
n.href = location.href;
var r = "" != t.hostname && (t.port != n.port || t.protocol != n.protocol || t.hostname != n.hostname);
return r
}, e.islocal = function(e) {
var t = document.createelement("a");
return t.href = e.src, "" == t.hostname && "file:" == t.protocol
}, e.isbinary = function(e) {
switch (e) {
case createjs.abstractloader.image:
case createjs.abstractloader.binary:
return !0;
default:
return !1
}
}, e.isimagetag = function(e) {
return e instanceof htmlimageelement
}, e.isaudiotag = function(e) {
return !!window.htmlaudioelement && e instanceof htmlaudioelement
}, e.isvideotag = function(e) {
return !!window.htmlvideoelement && e instanceof htmlvideoelement
}, e.istext = function(e) {
switch (e) {
case createjs.abstractloader.text:
case createjs.abstractloader.json:
case createjs.abstractloader.manifest:
case createjs.abstractloader.xml:
case createjs.abstractloader.css:
case createjs.abstractloader.svg:
case createjs.abstractloader.javascript:
case createjs.abstractloader.spritesheet:
return !0;
default:
return !1
}
}, e.gettypebyextension = function(e) {
if (null == e) return createjs.abstractloader.text;
switch (e.tolowercase()) {
case "jpeg":
case "jpg":
case "gif":
case "png":
case "webp":
case "bmp":
return createjs.abstractloader.image;
case "ogg":
case "mp3":
case "webm":
return createjs.abstractloader.sound;
case "mp4":
case "webm":
case "ts":
return createjs.abstractloader.video;
case "json":
return createjs.abstractloader.json;
case "xml":
return createjs.abstractloader.xml;
case "css":
return createjs.abstractloader.css;
case "js":
return createjs.abstractloader.javascript;
case "svg":
return createjs.abstractloader.svg;
default:
return createjs.abstractloader.text
}
}, createjs.requestutils = e
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t, n) {
this.eventdispatcher_constructor(), this.loaded = !1, this.canceled = !1, this.progress = 0, this.type = n, this.resultformatter = null, this._item = e ? createjs.loaditem.create(e) : null, this._preferxhr = t, this._result = null, this._rawresult = null, this._loadeditems = null, this._tagsrcattribute = null, this._tag = null
}
var t = createjs.extend(e, createjs.eventdispatcher),
n = e;
n.post = "post", n.get = "get", n.binary = "binary", n.css = "css", n.image = "image", n.javascript = "javascript", n.json = "json", n.jsonp = "jsonp", n.manifest = "manifest", n.sound = "sound", n.video = "video", n.spritesheet = "spritesheet", n.svg = "svg", n.text = "text", n.xml = "xml", t.getitem = function() {
return this._item
}, t.getresult = function(e) {
return e ? this._rawresult : this._result
}, t.gettag = function() {
return this._tag
}, t.settag = function(e) {
this._tag = e
}, t.load = function() {
this._createrequest(), this._request.on("complete", this, this), this._request.on("progress", this, this), this._request.on("loadstart", this, this), this._request.on("abort", this, this), this._request.on("timeout", this, this), this._request.on("error", this, this);
var e = new createjs.event("initialize");
e.loader = this._request, this.dispatchevent(e), this._request.load()
}, t.cancel = function() {
this.canceled = !0, this.destroy()
}, t.destroy = function() {
this._request && (this._request.removealleventlisteners(), this._request.destroy()), this._request = null, this._item = null, this._rawresult = null, this._result = null, this._loaditems = null, this.removealleventlisteners()
}, t.getloadeditems = function() {
return this._loadeditems
}, t._createrequest = function() {
this._request = this._preferxhr ? new createjs.xhrrequest(this._item) : new createjs.tagrequest(this._item, this._tag || this._createtag(), this._tagsrcattribute)
}, t._createtag = function() {
return null
}, t._sendloadstart = function() {
this._iscanceled() || this.dispatchevent("loadstart")
}, t._sendprogress = function(e) {
if (!this._iscanceled()) {
var t = null;
"number" == typeof e ? (this.progress = e, t = new createjs.progressevent(this.progress)) : (t = e, this.progress = e.loaded / e.total, t.progress = this.progress, (isnan(this.progress) || 1 / 0 == this.progress) && (this.progress = 0)), this.haseventlistener("progress") && this.dispatchevent(t)
}
}, t._sendcomplete = function() {
if (!this._iscanceled()) {
this.loaded = !0;
var e = new createjs.event("complete");
e.rawresult = this._rawresult, null != this._result && (e.result = this._result), this.dispatchevent(e)
}
}, t._senderror = function(e) {
!this._iscanceled() && this.haseventlistener("error") && (null == e && (e = new createjs.errorevent("preload_error_empty")), this.dispatchevent(e))
}, t._iscanceled = function() {
return !(null != window.createjs && !this.canceled)
}, t.resultformatter = null, t.handleevent = function(e) {
switch (e.type) {
case "complete":
this._rawresult = e.target._response;
var t = this.resultformatter && this.resultformatter(this);
t instanceof function ? t.call(this, createjs.proxy(this._resultformatsuccess, this), createjs.proxy(this._resultformatfailed, this)):
(this._result = t || this._rawresult, this._sendcomplete());
break;
case "progress":
this._sendprogress(e);
break;
case "error":
this._senderror(e);
break;
case "loadstart":
this._sendloadstart();
break;
case "abort":
case "timeout":
this._iscanceled() || this.dispatchevent(new createjs.errorevent("preload_" + e.type.touppercase() + "_error"))
}
}, t._resultformatsuccess = function(e) {
this._result = e, this._sendcomplete()
}, t._resultformatfailed = function(e) {
this._senderror(e)
}, t.buildpath = function(e, t) {
return createjs.requestutils.buildpath(e, t)
}, t.tostring = function() {
return "[preloadjs abstractloader]"
}, createjs.abstractloader = createjs.promote(e, "eventdispatcher")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t, n) {
this.abstractloader_constructor(e, t, n), this.resultformatter = this._formatresult, this._tagsrcattribute = "src", this.on("initialize", this._updatexhr, this)
}
var t = createjs.extend(e, createjs.abstractloader);
t.load = function() {
this._tag || (this._tag = this._createtag(this._item.src)), this._tag.preload = "auto", this._tag.load(), this.abstractloader_load()
}, t._createtag = function() {}, t._createrequest = function() {
this._request = this._preferxhr ? new createjs.xhrrequest(this._item) : new createjs.mediatagrequest(this._item, this._tag || this._createtag(), this._tagsrcattribute)
}, t._updatexhr = function(e) {
e.loader.setresponsetype && e.loader.setresponsetype("blob")
}, t._formatresult = function(e) {
if (this._tag.removeeventlistener && this._tag.removeeventlistener("canplaythrough", this._loadedhandler), this._tag.onstalled = null, this._preferxhr) {
var t = window.url || window.webkiturl,
n = e.getresult(!0);
e.gettag().src = t.createobjecturl(n)
}
return e.gettag()
}, createjs.abstractmedialoader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
var e = function(e) {
this._item = e
}, t = createjs.extend(e, createjs.eventdispatcher);
t.load = function() {}, t.destroy = function() {}, t.cancel = function() {}, createjs.abstractrequest = createjs.promote(e, "eventdispatcher")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t, n) {
this.abstractrequest_constructor(e), this._tag = t, this._tagsrcattribute = n, this._loadedhandler = createjs.proxy(this._handletagcomplete, this), this._addedtodom = !1, this._starttagvisibility = null
}
var t = createjs.extend(e, createjs.abstractrequest);
t.load = function() {
this._tag.onload = createjs.proxy(this._handletagcomplete, this), this._tag.onreadystatechange = createjs.proxy(this._handlereadystatechange, this), this._tag.onerror = createjs.proxy(this._handleerror, this);
var e = new createjs.event("initialize");
e.loader = this._tag, this.dispatchevent(e), this._hidetag(), this._loadtimeout = settimeout(createjs.proxy(this._handletimeout, this), this._item.loadtimeout), this._tag[this._tagsrcattribute] = this._item.src, null == this._tag.parentnode && (window.document.body.appendchild(this._tag), this._addedtodom = !0)
}, t.destroy = function() {
this._clean(), this._tag = null, this.abstractrequest_destroy()
}, t._handlereadystatechange = function() {
cleartimeout(this._loadtimeout);
var e = this._tag;
("loaded" == e.readystate || "complete" == e.readystate) && this._handletagcomplete()
}, t._handleerror = function() {
this._clean(), this.dispatchevent("error")
}, t._handletagcomplete = function() {
this._rawresult = this._tag, this._result = this.resultformatter && this.resultformatter(this) || this._rawresult, this._clean(), this._showtag(), this.dispatchevent("complete")
}, t._handletimeout = function() {
this._clean(), this.dispatchevent(new createjs.event("timeout"))
}, t._clean = function() {
this._tag.onload = null, this._tag.onreadystatechange = null, this._tag.onerror = null, this._addedtodom && null != this._tag.parentnode && this._tag.parentnode.removechild(this._tag), cleartimeout(this._loadtimeout)
}, t._hidetag = function() {
this._starttagvisibility = this._tag.style.visibility, this._tag.style.visibility = "hidden"
}, t._showtag = function() {
this._tag.style.visibility = this._starttagvisibility
}, t._handlestalled = function() {}, createjs.tagrequest = createjs.promote(e, "abstractrequest")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t, n) {
this.abstractrequest_constructor(e), this._tag = t, this._tagsrcattribute = n, this._loadedhandler = createjs.proxy(this._handletagcomplete, this)
}
var t = createjs.extend(e, createjs.tagrequest);
t.load = function() {
var e = createjs.proxy(this._handlestalled, this);
this._stalledcallback = e;
var t = createjs.proxy(this._handleprogress, this);
this._handleprogress = t, this._tag.addeventlistener("stalled", e), this._tag.addeventlistener("progress", t), this._tag.addeventlistener && this._tag.addeventlistener("canplaythrough", this._loadedhandler, !1), this.tagrequest_load()
}, t._handlereadystatechange = function() {
cleartimeout(this._loadtimeout);
var e = this._tag;
("loaded" == e.readystate || "complete" == e.readystate) && this._handletagcomplete()
}, t._handlestalled = function() {}, t._handleprogress = function(e) {
if (e && !(e.loaded > 0 && 0 == e.total)) {
var t = new createjs.progressevent(e.loaded, e.total);
this.dispatchevent(t)
}
}, t._clean = function() {
this._tag.removeeventlistener && this._tag.removeeventlistener("canplaythrough", this._loadedhandler), this._tag.removeeventlistener("stalled", this._stalledcallback), this._tag.removeeventlistener("progress", this._progresscallback), this.tagrequest__clean()
}, createjs.mediatagrequest = createjs.promote(e, "tagrequest")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e) {
this.abstractrequest_constructor(e), this._request = null, this._loadtimeout = null, this._xhrlevel = 1, this._response = null, this._rawresponse = null, this._canceled = !1, this._handleloadstartproxy = createjs.proxy(this._handleloadstart, this), this._handleprogressproxy = createjs.proxy(this._handleprogress, this), this._handleabortproxy = createjs.proxy(this._handleabort, this), this._handleerrorproxy = createjs.proxy(this._handleerror, this), this._handletimeoutproxy = createjs.proxy(this._handletimeout, this), this._handleloadproxy = createjs.proxy(this._handleload, this), this._handlereadystatechangeproxy = createjs.proxy(this._handlereadystatechange, this), !this._createxhr(e)
}
var t = createjs.extend(e, createjs.abstractrequest);
e.activex_versions = ["msxml2.xmlhttp.6.0", "msxml2.xmlhttp.5.0", "msxml2.xmlhttp.4.0", "msxml2.xmlhttp.3.0", "msxml2.xmlhttp", "microsoft.xmlhttp"], t.getresult = function(e) {
return e && this._rawresponse ? this._rawresponse : this._response
}, t.cancel = function() {
this.canceled = !0, this._clean(), this._request.abort()
}, t.load = function() {
if (null == this._request) return void this._handleerror();
null != this._request.addeventlistener ? (this._request.addeventlistener("loadstart", this._handleloadstartproxy, !1), this._request.addeventlistener("progress", this._handleprogressproxy, !1), this._request.addeventlistener("abort", this._handleabortproxy, !1), this._request.addeventlistener("error", this._handleerrorproxy, !1), this._request.addeventlistener("timeout", this._handletimeoutproxy, !1), this._request.addeventlistener("load", this._handleloadproxy, !1), this._request.addeventlistener("readystatechange", this._handlereadystatechangeproxy, !1)) : (this._request.onloadstart = this._handleloadstartproxy, this._request.onprogress = this._handleprogressproxy, this._request.onabort = this._handleabortproxy, this._request.onerror = this._handleerrorproxy, this._request.ontimeout = this._handletimeoutproxy, this._request.onload = this._handleloadproxy, this._request.onreadystatechange = this._handlereadystatechangeproxy), 1 == this._xhrlevel && (this._loadtimeout = settimeout(createjs.proxy(this._handletimeout, this), this._item.loadtimeout));
try {
this._item.values && this._item.method != createjs.abstractloader.get ? this._item.method == createjs.abstractloader.post && this._request.send(createjs.requestutils.formatquerystring(this._item.values)) : this._request.send()
} catch (e) {
this.dispatchevent(new createjs.errorevent("xhr_send", null, e))
}
}, t.setresponsetype = function(e) {
"blob" === e && (e = window.url ? "blob" : "arraybuffer", this._responsetype = e), this._request.responsetype = e
}, t.getallresponseheaders = function() {
return this._request.getallresponseheaders instanceof function ? this._request.getallresponseheaders() : null
}, t.getresponseheader = function(e) {
return this._request.getresponseheader instanceof function ? this._request.getresponseheader(e) : null
}, t._handleprogress = function(e) {
if (e && !(e.loaded > 0 && 0 == e.total)) {
var t = new createjs.progressevent(e.loaded, e.total);
this.dispatchevent(t)
}
}, t._handleloadstart = function() {
cleartimeout(this._loadtimeout), this.dispatchevent("loadstart")
}, t._handleabort = function(e) {
this._clean(), this.dispatchevent(new createjs.errorevent("xhr_aborted", null, e))
}, t._handleerror = function(e) {
this._clean(), this.dispatchevent(new createjs.errorevent(e.message))
}, t._handlereadystatechange = function() {
4 == this._request.readystate && this._handleload()
}, t._handleload = function() {
if (!this.loaded) {
this.loaded = !0;
var e = this._checkerror();
if (e) return void this._handleerror(e);
if (this._response = this._getresponse(), "arraybuffer" === this._responsetype) try {
this._response = new blob([this._response])
} catch (t) {
if (window.blobbuilder = window.blobbuilder || window.webkitblobbuilder || window.mozblobbuilder || window.msblobbuilder, "typeerror" === t.name && window.blobbuilder) {
var n = new blobbuilder;
n.append(this._response), this._response = n.getblob()
}
}
this._clean(), this.dispatchevent(new createjs.event("complete"))
}
}, t._handletimeout = function(e) {
this._clean(), this.dispatchevent(new createjs.errorevent("preload_timeout", null, e))
}, t._checkerror = function() {
var e = parseint(this._request.status);
switch (e) {
case 404:
case 0:
return new error(e)
}
return null
}, t._getresponse = function() {
if (null != this._response) return this._response;
if (null != this._request.response) return this._request.response;
try {
if (null != this._request.responsetext) return this._request.responsetext
} catch (e) {}
try {
if (null != this._request.responsexml) return this._request.responsexml
} catch (e) {}
return null
}, t._createxhr = function(e) {
var t = createjs.requestutils.iscrossdomain(e),
n = {}, r = null;
if (window.xmlhttprequest) r = new xmlhttprequest, t && void 0 === r.withcredentials && window.xdomainrequest && (r = new xdomainrequest);
else {
for (var i = 0, o = s.activex_versions.length; o > i; i++) {
var a = s.activex_versions[i];
try {
r = new activexobject(a);
break
} catch (l) {}
}
if (null == r) return !1
}
null == e.mimetype && createjs.requestutils.istext(e.type) && (e.mimetype = "text/plain; charset=utf-8"), e.mimetype && r.overridemimetype && r.overridemimetype(e.mimetype), this._xhrlevel = "string" == typeof r.responsetype ? 2 : 1;
var u = null;
if (u = e.method == createjs.abstractloader.get ? createjs.requestutils.buildpath(e.src, e.values) : e.src, r.open(e.method || createjs.abstractloader.get, u, !0), t && r instanceof xmlhttprequest && 1 == this._xhrlevel && (n.origin = location.origin), e.values && e.method == createjs.abstractloader.post && (n["content-type"] = "application/x-www-form-urlencoded"), t || n["x-requested-with"] || (n["x-requested-with"] = "xmlhttprequest"), e.headers) for (var c in e.headers) n[c] = e.headers[c];
for (c in n) r.setrequestheader(c, n[c]);
return r instanceof xmlhttprequest && void 0 !== e.withcredentials && (r.withcredentials = e.withcredentials), this._request = r, !0
}, t._clean = function() {
cleartimeout(this._loadtimeout), null != this._request.removeeventlistener ? (this._request.removeeventlistener("loadstart", this._handleloadstartproxy), this._request.removeeventlistener("progress", this._handleprogressproxy), this._request.removeeventlistener("abort", this._handleabortproxy), this._request.removeeventlistener("error", this._handleerrorproxy), this._request.removeeventlistener("timeout", this._handletimeoutproxy), this._request.removeeventlistener("load", this._handleloadproxy), this._request.removeeventlistener("readystatechange", this._handlereadystatechangeproxy)) : (this._request.onloadstart = null, this._request.onprogress = null, this._request.onabort = null, this._request.onerror = null, this._request.ontimeout = null, this._request.onload = null, this._request.onreadystatechange = null)
}, t.tostring = function() {
return "[preloadjs xhrrequest]"
}, createjs.xhrrequest = createjs.promote(e, "abstractrequest")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t, n) {
this.abstractloader_constructor(), this._plugins = [], this._typecallbacks = {}, this._extensioncallbacks = {}, this.next = null, this.maintainscriptorder = !0, this.stoponerror = !1, this._maxconnections = 1, this._availableloaders = [createjs.imageloader, createjs.javascriptloader, createjs.cssloader, createjs.jsonloader, createjs.jsonploader, createjs.soundloader, createjs.manifestloader, createjs.spritesheetloader, createjs.xmlloader, createjs.svgloader, createjs.binaryloader, createjs.videoloader, createjs.textloader], this._defaultloaderlength = this._availableloaders.length, this.init(e, t, n)
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
t.init = function(e, t, n) {
this.usexhr = !0, this.preferxhr = !0, this._preferxhr = !0, this.setpreferxhr(e), this._paused = !1, this._basepath = t, this._crossorigin = n, this._loadstartwasdispatched = !1, this._currentlyloadingscript = null, this._currentloads = [], this._loadqueue = [], this._loadqueuebackup = [], this._loaditemsbyid = {}, this._loaditemsbysrc = {}, this._loadedresults = {}, this._loadedrawresults = {}, this._numitems = 0, this._numitemsloaded = 0, this._scriptorder = [], this._loadedscripts = [], this._lastprogress = nan
}, n.loadtimeout = 8e3, n.load_timeout = 0, n.binary = createjs.abstractloader.binary, n.css = createjs.abstractloader.css, n.image = createjs.abstractloader.image, n.javascript = createjs.abstractloader.javascript, n.json = createjs.abstractloader.json, n.jsonp = createjs.abstractloader.jsonp, n.manifest = createjs.abstractloader.manifest, n.sound = createjs.abstractloader.sound, n.video = createjs.abstractloader.video, n.svg = createjs.abstractloader.svg, n.text = createjs.abstractloader.text, n.xml = createjs.abstractloader.xml, n.post = createjs.abstractloader.post, n.get = createjs.abstractloader.get, t.registerloader = function(e) {
if (!e || !e.canloaditem) throw new error("loader is of an incorrect type.");
if (-1 != this._availableloaders.indexof(e)) throw new error("loader already exists.");
this._availableloaders.unshift(e)
}, t.unregisterloader = function(e) {
var t = this._availableloaders.indexof(e); - 1 != t && t < this._defaultloaderlength - 1 && this._availableloaders.splice(t, 1)
}, t.setusexhr = function(e) {
return this.setpreferxhr(e)
}, t.setpreferxhr = function(e) {
return this.preferxhr = 0 != e && null != window.xmlhttprequest, this.preferxhr
}, t.removeall = function() {
this.remove()
}, t.remove = function(e) {
var t = null;
if (e && !array.isarray(e)) t = [e];
else if (e) t = e;
else if (arguments.length > 0) return;
var n = !1;
if (t) {
for (; t.length;) {
var r = t.pop(),
i = this.getresult(r);
for (s = this._loadqueue.length - 1; s >= 0; s--) if (o = this._loadqueue[s].getitem(), o.id == r || o.src == r) {
this._loadqueue.splice(s, 1)[0].cancel();
break
}
for (s = this._loadqueuebackup.length - 1; s >= 0; s--) if (o = this._loadqueuebackup[s].getitem(), o.id == r || o.src == r) {
this._loadqueuebackup.splice(s, 1)[0].cancel();
break
}
if (i) this._disposeitem(this.getitem(r));
else for (var s = this._currentloads.length - 1; s >= 0; s--) {
var o = this._currentloads[s].getitem();
if (o.id == r || o.src == r) {
this._currentloads.splice(s, 1)[0].cancel(), n = !0;
break
}
}
}
n && this._loadnext()
} else {
this.close();
for (var a in this._loaditemsbyid) this._disposeitem(this._loaditemsbyid[a]);
this.init(this.preferxhr, this._basepath)
}
}, t.reset = function() {
this.close();
for (var e in this._loaditemsbyid) this._disposeitem(this._loaditemsbyid[e]);
for (var t = [], n = 0, r = this._loadqueuebackup.length; r > n; n++) t.push(this._loadqueuebackup[n].getitem());
this.loadmanifest(t, !1)
}, t.installplugin = function(e) {
if (null != e && null != e.getpreloadhandlers) {
this._plugins.push(e);
var t = e.getpreloadhandlers();
if (t.scope = e, null != t.types) for (var n = 0, r = t.types.length; r > n; n++) this._typecallbacks[t.types[n]] = t;
if (null != t.extensions) for (n = 0, r = t.extensions.length; r > n; n++) this._extensioncallbacks[t.extensions[n]] = t
}
}, t.setmaxconnections = function(e) {
this._maxconnections = e, !this._paused && this._loadqueue.length > 0 && this._loadnext()
}, t.loadfile = function(e, t, n) {
if (null == e) {
var r = new createjs.errorevent("preload_no_file");
return void this._senderror(r)
}
this._additem(e, null, n), this.setpaused(t === !1)
}, t.loadmanifest = function(e, t, r) {
var i = null,
s = null;
if (array.isarray(e)) {
if (0 == e.length) {
var o = new createjs.errorevent("preload_manifest_empty");
return void this._senderror(o)
}
i = e
} else if ("string" == typeof e) i = [{
src: e,
type: n.manifest
}];
else {
if ("object" != typeof e) {
var o = new createjs.errorevent("preload_manifest_null");
return void this._senderror(o)
}
if (void 0 !== e.src) {
if (null == e.type) e.type = n.manifest;
else if (e.type != n.manifest) {
var o = new createjs.errorevent("preload_manifest_type");
this._senderror(o)
}
i = [e]
} else void 0 !== e.manifest && (i = e.manifest, s = e.path)
}
for (var a = 0, l = i.length; l > a; a++) this._additem(i[a], s, r);
this.setpaused(t === !1)
}, t.load = function() {
this.setpaused(!1)
}, t.getitem = function(e) {
return this._loaditemsbyid[e] || this._loaditemsbysrc[e]
}, t.getresult = function(e, t) {
var n = this._loaditemsbyid[e] || this._loaditemsbysrc[e];
if (null == n) return null;
var r = n.id;
return t && this._loadedrawresults[r] ? this._loadedrawresults[r] : this._loadedresults[r]
}, t.getitems = function(e) {
var t = [];
for (var n in this._loaditemsbyid) {
var r = this._loaditemsbyid[n],
i = this.getresult(n);
(e !== !0 || null != i) && t.push({
item: r,
result: i,
rawresult: this.getresult(n, !0)
})
}
return t
}, t.setpaused = function(e) {
this._paused = e, this._paused || this._loadnext()
}, t.close = function() {
for (; this._currentloads.length;) this._currentloads.pop().cancel();
this._scriptorder.length = 0, this._loadedscripts.length = 0, this.loadstartwasdispatched = !1, this._itemcount = 0, this._lastprogress = nan
}, t._additem = function(e, t, n) {
var r = this._createloaditem(e, t, n);
if (null != r) {
var i = this._createloader(r);
null != i && ("plugins" in i && (i.plugins = this._plugins), r._loader = i, this._loadqueue.push(i), this._loadqueuebackup.push(i), this._numitems++, this._updateprogress(), (this.maintainscriptorder && r.type == createjs.loadqueue.javascript || r.maintainorder === !0) && (this._scriptorder.push(r), this._loadedscripts.push(null)))
}
}, t._createloaditem = function(e, t, n) {
var r = createjs.loaditem.create(e);
if (null == r) return null;
var i = "",
s = n || this._basepath;
if (r.src instanceof object) {
if (!r.type) return null;
if (t) {
i = t;
var o = createjs.requestutils.parseuri(t);
null == s || o.absolute || o.relative || (i = s + i)
} else null != s && (i = s)
} else {
var a = createjs.requestutils.parseuri(r.src);
a.extension && (r.ext = a.extension), null == r.type && (r.type = createjs.requestutils.gettypebyextension(r.ext));
var l = r.src;
if (!a.absolute && !a.relative) if (t) {
i = t;
var o = createjs.requestutils.parseuri(t);
l = t + l, null == s || o.absolute || o.relative || (i = s + i)
} else null != s && (i = s);
r.src = i + r.src
}
r.path = i, (void 0 === r.id || null === r.id || "" === r.id) && (r.id = l);
var u = this._typecallbacks[r.type] || this._extensioncallbacks[r.ext];
if (u) {
var c = u.callback.call(u.scope, r, this);
if (c === !1) return null;
c === !0 || null != c && (r._loader = c), a = createjs.requestutils.parseuri(r.src), null != a.extension && (r.ext = a.extension)
}
return this._loaditemsbyid[r.id] = r, this._loaditemsbysrc[r.src] = r, null == r.crossorigin && (r.crossorigin = this._crossorigin), r
}, t._createloader = function(e) {
if (null != e._loader) return e._loader;
for (var t = this.preferxhr, n = 0; n < this._availableloaders.length; n++) {
var r = this._availableloaders[n];
if (r && r.canloaditem(e)) return new r(e, t)
}
return null
}, t._loadnext = function() {
if (!this._paused) {
this._loadstartwasdispatched || (this._sendloadstart(), this._loadstartwasdispatched = !0), this._numitems == this._numitemsloaded ? (this.loaded = !0, this._sendcomplete(), this.next && this.next.load && this.next.load()) : this.loaded = !1;
for (var e = 0; e < this._loadqueue.length && !(this._currentloads.length >= this._maxconnections); e++) {
var t = this._loadqueue[e];
this._canstartload(t) && (this._loadqueue.splice(e, 1), e--, this._loaditem(t))
}
}
}, t._loaditem = function(e) {
e.on("fileload", this._handlefileload, this), e.on("progress", this._handleprogress, this), e.on("complete", this._handlefilecomplete, this), e.on("error", this._handleerror, this), e.on("fileerror", this._handlefileerror, this), this._currentloads.push(e), this._sendfilestart(e.getitem()), e.load()
}, t._handlefileload = function(e) {
e.target = null, this.dispatchevent(e)
}, t._handlefileerror = function(e) {
var t = new createjs.errorevent("file_load_error", null, e.item);
this._senderror(t)
}, t._handleerror = function(e) {
var t = e.target;
this._numitemsloaded++, this._finishordereditem(t, !0), this._updateprogress();
var n = new createjs.errorevent("file_load_error", null, t.getitem());
this._senderror(n), this.stoponerror ? this.setpaused(!0) : (this._removeloaditem(t), this._cleanloaditem(t), this._loadnext())
}, t._handlefilecomplete = function(e) {
var t = e.target,
n = t.getitem(),
r = t.getresult();
this._loadedresults[n.id] = r;
var i = t.getresult(!0);
null != i && i !== r && (this._loadedrawresults[n.id] = i), this._saveloadeditems(t), this._removeloaditem(t), this._finishordereditem(t) || this._processfinishedload(n, t), this._cleanloaditem(t)
}, t._saveloadeditems = function(e) {
var t = e.getloadeditems();
if (null !== t) for (var n = 0; n < t.length; n++) {
var r = t[n].item;
this._loaditemsbysrc[r.src] = r, this._loaditemsbyid[r.id] = r, this._loadedresults[r.id] = t[n].result, this._loadedrawresults[r.id] = t[n].rawresult
}
}, t._finishordereditem = function(e, t) {
var n = e.getitem();
if (this.maintainscriptorder && n.type == createjs.loadqueue.javascript || n.maintainorder) {
e instanceof createjs.javascriptloader && (this._currentlyloadingscript = !1);
var r = createjs.indexof(this._scriptorder, n);
return -1 != r && (this._loadedscripts[r] = t === !0 || n, this._checkscriptloadorder(), !0)
}
return !1
}, t._checkscriptloadorder = function() {
for (var e = this._loadedscripts.length, t = 0; e > t; t++) {
var n = this._loadedscripts[t];
if (null === n) break;
if (n !== !0) {
var r = this._loadedresults[n.id];
n.type == createjs.loadqueue.javascript && createjs.domutils.appendtohead(r);
var i = n._loader;
this._processfinishedload(n, i), this._loadedscripts[t] = !0
}
}
}, t._processfinishedload = function(e, t) {
if (this._numitemsloaded++, !this.maintainscriptorder && e.type == createjs.loadqueue.javascript) {
var n = t.gettag();
createjs.domutils.appendtohead(n)
}
this._updateprogress(), this._sendfilecomplete(e, t), this._loadnext()
}, t._canstartload = function(e) {
if (!this.maintainscriptorder || e.preferxhr) return !0;
var t = e.getitem();
if (t.type != createjs.loadqueue.javascript) return !0;
if (this._currentlyloadingscript) return !1;
for (var n = this._scriptorder.indexof(t), r = 0; n > r;) {
var i = this._loadedscripts[r];
if (null == i) return !1;
r++
}
return this._currentlyloadingscript = !0, !0
}, t._removeloaditem = function(e) {
for (var t = this._currentloads.length, n = 0; t > n; n++) if (this._currentloads[n] == e) {
this._currentloads.splice(n, 1);
break
}
}, t._cleanloaditem = function(e) {
var t = e.getitem();
t && delete t._loader
}, t._handleprogress = function(e) {
var t = e.target;
this._sendfileprogress(t.getitem(), t.progress), this._updateprogress()
}, t._updateprogress = function() {
var e = this._numitemsloaded / this._numitems,
t = this._numitems - this._numitemsloaded;
if (t > 0) {
for (var n = 0, r = 0, i = this._currentloads.length; i > r; r++) n += this._currentloads[r].progress;
e += n / t * (t / this._numitems)
}
this._lastprogress != e && (this._sendprogress(e), this._lastprogress = e)
}, t._disposeitem = function(e) {
delete this._loadedresults[e.id], delete this._loadedrawresults[e.id], delete this._loaditemsbyid[e.id], delete this._loaditemsbysrc[e.src]
}, t._sendfileprogress = function(e, t) {
if (!this._iscanceled() && !this._paused && this.haseventlistener("fileprogress")) {
var n = new createjs.event("fileprogress");
n.progress = t, n.loaded = t, n.total = 1, n.item = e, this.dispatchevent(n)
}
}, t._sendfilecomplete = function(e, t) {
if (!this._iscanceled() && !this._paused) {
var n = new createjs.event("fileload");
n.loader = t, n.item = e, n.result = this._loadedresults[e.id], n.rawresult = this._loadedrawresults[e.id], e.completehandler && e.completehandler(n), this.haseventlistener("fileload") && this.dispatchevent(n)
}
}, t._sendfilestart = function(e) {
var t = new createjs.event("filestart");
t.item = e, this.haseventlistener("filestart") && this.dispatchevent(t)
}, t.tostring = function() {
return "[preloadjs loadqueue]"
}, createjs.loadqueue = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e) {
this.abstractloader_constructor(e, !0, createjs.abstractloader.text)
}
var t = (createjs.extend(e, createjs.abstractloader), e);
t.canloaditem = function(e) {
return e.type == createjs.abstractloader.text
}, createjs.textloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e) {
this.abstractloader_constructor(e, !0, createjs.abstractloader.binary), this.on("initialize", this._updatexhr, this)
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.binary
}, t._updatexhr = function(e) {
e.loader.setresponsetype("arraybuffer")
}, createjs.binaryloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t) {
this.abstractloader_constructor(e, t, createjs.abstractloader.css), this.resultformatter = this._formatresult, this._tagsrcattribute = "href", this._tag = document.createelement(t ? "style" : "link"), this._tag.rel = "stylesheet", this._tag.type = "text/css"
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.css
}, t._formatresult = function(e) {
if (this._preferxhr) {
var t = e.gettag();
if (t.stylesheet) t.stylesheet.csstext = e.getresult(!0);
else {
var n = document.createtextnode(e.getresult(!0));
t.appendchild(n)
}
} else t = this._tag;
return createjs.domutils.appendtohead(t), t
}, createjs.cssloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t) {
this.abstractloader_constructor(e, t, createjs.abstractloader.image), this.resultformatter = this._formatresult, this._tagsrcattribute = "src", createjs.requestutils.isimagetag(e) ? this._tag = e : createjs.requestutils.isimagetag(e.src) ? this._tag = e.src : createjs.requestutils.isimagetag(e.tag) && (this._tag = e.tag), null != this._tag ? this._preferxhr = !1 : this._tag = document.createelement("img"), this.on("initialize", this._updatexhr, this)
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.image
}, t.load = function() {
if ("" != this._tag.src && this._tag.complete) return void this._sendcomplete();
var e = this._item.crossorigin;
1 == e && (e = "anonymous"), null == e || createjs.requestutils.islocal(this._item.src) || (this._tag.crossorigin = e), this.abstractloader_load()
}, t._updatexhr = function(e) {
e.loader.mimetype = "text/plain; charset=x-user-defined-binary", e.loader.setresponsetype && e.loader.setresponsetype("blob")
}, t._formatresult = function() {
return this._formatimage
}, t._formatimage = function(e, t) {
var n = this._tag,
r = window.url || window.webkiturl;
if (this._preferxhr) if (r) {
var i = r.createobjecturl(this.getresult(!0));
n.src = i, n.addeventlistener("load", this._cleanupurl, !1), n.addeventlistener("error", this._cleanupurl, !1)
} else n.src = this._item.src;
n.complete ? e(n) : (n.onload = createjs.proxy(function() {
//e(this._tag)
}, this), n.onerror = createjs.proxy(function() {
//t(_this._tag)
}, this))
}, t._cleanupurl = function(e) {
var t = window.url || window.webkiturl;
t.revokeobjecturl(e.target.src)
}, createjs.imageloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t) {
this.abstractloader_constructor(e, t, createjs.abstractloader.javascript), this.resultformatter = this._formatresult, this._tagsrcattribute = "src", this.settag(document.createelement("script"))
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.javascript
}, t._formatresult = function(e) {
var t = e.gettag();
return this._preferxhr && (t.text = e.getresult(!0)), t
}, createjs.javascriptloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e) {
this.abstractloader_constructor(e, !0, createjs.abstractloader.json), this.resultformatter = this._formatresult
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.json
}, t._formatresult = function(e) {
var t = null;
try {
t = createjs.datautils.parsejson(e.getresult(!0))
} catch (n) {
var r = new createjs.errorevent("json_format", null, n);
return this._senderror(r), n
}
return t
}, createjs.jsonloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e) {
this.abstractloader_constructor(e, !1, createjs.abstractloader.jsonp), this.settag(document.createelement("script")), this.gettag().type = "text/javascript"
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.jsonp
}, t.cancel = function() {
this.abstractloader_cancel(), this._dispose()
}, t.load = function() {
if (null == this._item.callback) throw new error("callback is required for loading jsonp requests.");
if (null != window[this._item.callback]) throw new error("jsonp callback '" + this._item.callback + "' already exists on window. you need to specify a different callback or re-name the current one.");
window[this._item.callback] = createjs.proxy(this._handleload, this), window.document.body.appendchild(this._tag), this._loadtimeout = settimeout(createjs.proxy(this._handletimeout, this), this._item.loadtimeout), this._tag.src = this._item.src
}, t._handleload = function(e) {
this._result = this._rawresult = e, this._sendcomplete(), this._dispose()
}, t._handletimeout = function() {
this._dispose(), this.dispatchevent(new createjs.errorevent("timeout"))
}, t._dispose = function() {
window.document.body.removechild(this._tag), delete window[this._item.callback], cleartimeout(this._loadtimeout)
}, createjs.jsonploader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e) {
this.abstractloader_constructor(e, null, createjs.abstractloader.manifest), this.plugins = null, this._manifestqueue = null
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.manifest_progress = .25, n.canloaditem = function(e) {
return e.type == createjs.abstractloader.manifest
}, t.load = function() {
this.abstractloader_load()
}, t._createrequest = function() {
var e = this._item.callback;
this._request = null != e ? new createjs.jsonploader(this._item) : new createjs.jsonloader(this._item)
}, t.handleevent = function(e) {
switch (e.type) {
case "complete":
return this._rawresult = e.target.getresult(!0), this._result = e.target.getresult(), this._sendprogress(n.manifest_progress), void this._loadmanifest(this._result);
case "progress":
return e.loaded *= n.manifest_progress, this.progress = e.loaded / e.total, (isnan(this.progress) || 1 / 0 == this.progress) && (this.progress = 0), void this._sendprogress(e)
}
this.abstractloader_handleevent(e)
}, t.destroy = function() {
this.abstractloader_destroy(), this._manifestqueue.close()
}, t._loadmanifest = function(e) {
if (e && e.manifest) {
var t = this._manifestqueue = new createjs.loadqueue;
t.on("fileload", this._handlemanifestfileload, this), t.on("progress", this._handlemanifestprogress, this), t.on("complete", this._handlemanifestcomplete, this, !0), t.on("error", this._handlemanifesterror, this, !0);
for (var n = 0, r = this.plugins.length; r > n; n++) t.installplugin(this.plugins[n]);
t.loadmanifest(e)
} else this._sendcomplete()
}, t._handlemanifestfileload = function(e) {
e.target = null, this.dispatchevent(e)
}, t._handlemanifestcomplete = function() {
this._loadeditems = this._manifestqueue.getitems(!0), this._sendcomplete()
}, t._handlemanifestprogress = function(e) {
this.progress = e.progress * (1 - n.manifest_progress) + n.manifest_progress, this._sendprogress(this.progress)
}, t._handlemanifesterror = function(e) {
var t = new createjs.event("fileerror");
t.item = e.data, this.dispatchevent(t)
}, createjs.manifestloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t) {
this.abstractmedialoader_constructor(e, t, createjs.abstractloader.sound), createjs.requestutils.isaudiotag(e) ? this._tag = e : createjs.requestutils.isaudiotag(e.src) ? this._tag = e : createjs.requestutils.isaudiotag(e.tag) && (this._tag = createjs.requestutils.isaudiotag(e) ? e : e.src), null != this._tag && (this._preferxhr = !1)
}
var t = createjs.extend(e, createjs.abstractmedialoader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.sound
}, t._createtag = function(e) {
var t = document.createelement("audio");
return t.autoplay = !1, t.preload = "none", t.src = e, t
}, createjs.soundloader = createjs.promote(e, "abstractmedialoader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t) {
this.abstractmedialoader_constructor(e, t, createjs.abstractloader.video), createjs.requestutils.isvideotag(e) || createjs.requestutils.isvideotag(e.src) ? (this.settag(createjs.requestutils.isvideotag(e) ? e : e.src), this._preferxhr = !1) : this.settag(this._createtag())
}
var t = createjs.extend(e, createjs.abstractmedialoader),
n = e;
t._createtag = function() {
return document.createelement("video")
}, n.canloaditem = function(e) {
return e.type == createjs.abstractloader.video
}, createjs.videoloader = createjs.promote(e, "abstractmedialoader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t) {
this.abstractloader_constructor(e, t, createjs.abstractloader.spritesheet), this._manifestqueue = null
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.spritesheet_progress = .25, n.canloaditem = function(e) {
return e.type == createjs.abstractloader.spritesheet
}, t.destroy = function() {
this.abstractloader_destroy, this._manifestqueue.close()
}, t._createrequest = function() {
var e = this._item.callback;
this._request = null != e ? new createjs.jsonploader(this._item) : new createjs.jsonloader(this._item)
}, t.handleevent = function(e) {
switch (e.type) {
case "complete":
return this._rawresult = e.target.getresult(!0), this._result = e.target.getresult(), this._sendprogress(n.spritesheet_progress), void this._loadmanifest(this._result);
case "progress":
return e.loaded *= n.spritesheet_progress, this.progress = e.loaded / e.total, (isnan(this.progress) || 1 / 0 == this.progress) && (this.progress = 0), void this._sendprogress(e)
}
this.abstractloader_handleevent(e)
}, t._loadmanifest = function(e) {
if (e && e.images) {
var t = this._manifestqueue = new createjs.loadqueue(this._preferxhr, this._item.path, this._item.crossorigin);
t.on("complete", this._handlemanifestcomplete, this, !0), t.on("fileload", this._handlemanifestfileload, this), t.on("progress", this._handlemanifestprogress, this), t.on("error", this._handlemanifesterror, this, !0), t.loadmanifest(e.images)
}
}, t._handlemanifestfileload = function(e) {
var t = e.result;
if (null != t) {
var n = this.getresult().images,
r = n.indexof(e.item.src);
n[r] = t
}
}, t._handlemanifestcomplete = function() {
this._result = new createjs.spritesheet(this._result), this._loadeditems = this._manifestqueue.getitems(!0), this._sendcomplete()
}, t._handlemanifestprogress = function(e) {
this.progress = e.progress * (1 - n.spritesheet_progress) + n.spritesheet_progress, this._sendprogress(this.progress)
}, t._handlemanifesterror = function(e) {
var t = new createjs.event("fileerror");
t.item = e.data, this.dispatchevent(t)
}, createjs.spritesheetloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e, t) {
this.abstractloader_constructor(e, t, createjs.abstractloader.svg), this.resultformatter = this._formatresult, this._tagsrcattribute = "data", t ? this.settag(document.createelement("svg")) : (this.settag(document.createelement("object")), this.gettag().type = "image/svg+xml")
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.svg
}, t._formatresult = function(e) {
var t = createjs.datautils.parsexml(e.getresult(!0), "text/xml"),
n = e.gettag();
return !this._preferxhr && document.body.contains(n) && document.body.removechild(n), null != t.documentelement ? (n.appendchild(t.documentelement), n.style.visibility = "visible", n) : t
}, createjs.svgloader = createjs.promote(e, "abstractloader")
}(), this.createjs = this.createjs || {},
function() {
"use strict";
function e(e) {
this.abstractloader_constructor(e, !0, createjs.abstractloader.xml), this.resultformatter = this._formatresult
}
var t = createjs.extend(e, createjs.abstractloader),
n = e;
n.canloaditem = function(e) {
return e.type == createjs.abstractloader.xml
}, t._formatresult = function(e) {
return createjs.datautils.parsexml(e.getresult(!0), "text/xml")
}, createjs.xmlloader = createjs.promote(e, "abstractloader")
}(), o("undefined" != typeof createjs ? createjs : window.createjs)
}).call(e, void 0, void 0, void 0, void 0, function(e) {
t.exports = e
})
}).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {})
}, {}],
5: [function(e, t, n) {
(function() {
function e(e) {
function t(t, n, r, i, s, o) {
for (; s >= 0 && o > s; s += e) {
var a = i ? i[s] : s;
r = n(r, t[a], a, t)
}
return r
}
return function(n, r, i, s) {
r = x(r, s, 4);
var o = !a(n) && _.keys(n),
a = (o || n).length,
l = e > 0 ? 0 : a - 1;
return arguments.length < 3 && (i = n[o ? o[l] : l], l += e), t(n, r, i, o, l, a)
}
}
function r(e) {
return function(t, n, r) {
n = w(n, r);
for (var i = l(t), s = e > 0 ? 0 : i - 1; s >= 0 && i > s; s += e) if (n(t[s], s, t)) return s;
return -1
}
}
function i(e, t, n) {
return function(r, i, s) {
var o = 0,
a = l(r);
if ("number" == typeof s) e > 0 ? o = s >= 0 ? s : math.max(s + a, o) : a = s >= 0 ? math.min(s + 1, a) : s + a + 1;
else if (n && s && a) return s = n(r, i), r[s] === i ? s : -1;
if (i !== i) return s = t(h.call(r, o, a), _.isnan), s >= 0 ? s + o : -1;
for (s = e > 0 ? o : a - 1; s >= 0 && a > s; s += e) if (r[s] === i) return s;
return -1
}
}
function s(e, t) {
var n = n.length,
r = e.constructor,
i = _.isfunction(r) && r.prototype || u,
s = "constructor";
for (_.has(e, s) && !_.contains(t, s) && t.push(s); n--;) s = n[n], s in e && e[s] !== i[s] && !_.contains(t, s) && t.push(s)
}
var o = this,
a = o._,
l = array.prototype,
u = object.prototype,
c = function.prototype,
d = l.push,
h = l.slice,
f = u.tostring,
p = u.hasownproperty,
g = array.isarray,
m = object.keys,
v = c.bind,
y = object.create,
b = function() {}, _ = function(e) {
return e instanceof _ ? e : this instanceof _ ? void(this._wrapped = e) : new _(e)
};
"undefined" != typeof n ? ("undefined" != typeof t && t.exports && (n = t.exports = _), n._ = _) : o._ = _, _.version = "1.8.3";
var x = function(e, t, n) {
if (void 0 === t) return e;
switch (null == n ? 3 : n) {
case 1:
return function(n) {
return e.call(t, n)
};
case 2:
return function(n, r) {
return e.call(t, n, r)
};
case 3:
return function(n, r, i) {
return e.call(t, n, r, i)
};
case 4:
return function(n, r, i, s) {
return e.call(t, n, r, i, s)
}
}
return function() {
return e.apply(t, arguments)
}
}, w = function(e, t, n) {
return null == e ? _.identity : _.isfunction(e) ? x(e, t, n) : _.isobject(e) ? _.matcher(e) : _.property(e)
};
_.iteratee = function(e, t) {
return w(e, t, 1 / 0)
};
var t = function(e, t) {
return function(n) {
var r = arguments.length;
if (2 > r || null == n) return n;
for (var i = 1; r > i; i++) for (var s = arguments[i], o = e(s), a = o.length, l = 0; a > l; l++) {
var u = o[l];
t && void 0 !== n[u] || (n[u] = s[u])
}
return n
}
}, j = function(e) {
if (!_.isobject(e)) return {};
if (y) return y(e);
b.prototype = e;
var t = new b;
return b.prototype = null, t
}, e = function(e) {
return function(t) {
return null == t ? void 0 : t[e]
}
}, s = math.pow(2, 53) - 1,
l = e("length"),
a = function(e) {
var t = l(e);
return "number" == typeof t && t >= 0 && s >= t
};
_.each = _.foreach = function(e, t, n) {
t = x(t, n);
var r, i;
if (a(e)) for (r = 0, i = e.length; i > r; r++) t(e[r], r, e);
else {
var s = _.keys(e);
for (r = 0, i = s.length; i > r; r++) t(e[s[r]], s[r], e)
}
return e
}, _.map = _.collect = function(e, t, n) {
t = w(t, n);
for (var r = !a(e) && _.keys(e), i = (r || e).length, s = array(i), o = 0; i > o; o++) {
var a = r ? r[o] : o;
s[o] = t(e[a], a, e)
}
return s
}, _.reduce = _.foldl = _.inject = e(1), _.reduceright = _.foldr = e(-1), _.find = _.detect = function(e, t, n) {
var r;
return r = a(e) ? _.findindex(e, t, n) : _.findkey(e, t, n), void 0 !== r && r !== -1 ? e[r] : void 0
}, _.filter = _.select = function(e, t, n) {
var r = [];
return t = w(t, n), _.each(e, function(e, n, i) {
t(e, n, i) && r.push(e)
}), r
}, _.reject = function(e, t, n) {
return _.filter(e, _.negate(w(t)), n)
}, _.every = _.all = function(e, t, n) {
t = w(t, n);
for (var r = !a(e) && _.keys(e), i = (r || e).length, s = 0; i > s; s++) {
var o = r ? r[s] : s;
if (!t(e[o], o, e)) return !1
}
return !0
}, _.some = _.any = function(e, t, n) {
t = w(t, n);
for (var r = !a(e) && _.keys(e), i = (r || e).length, s = 0; i > s; s++) {
var o = r ? r[s] : s;
if (t(e[o], o, e)) return !0
}
return !1
}, _.contains = _.includes = _.include = function(e, t, n, r) {
return a(e) || (e = _.values(e)), ("number" != typeof n || r) && (n = 0), _.indexof(e, t, n) >= 0
}, _.invoke = function(e, t) {
var n = h.call(arguments, 2),
r = _.isfunction(t);
return _.map(e, function(e) {
var i = r ? t : e[t];
return null == i ? i : i.apply(e, n)
})
}, _.pluck = function(e, t) {
return _.map(e, _.property(t))
}, _.where = function(e, t) {
return _.filter(e, _.matcher(t))
}, _.findwhere = function(e, t) {
return _.find(e, _.matcher(t))
}, _.max = function(e, t, n) {
var r, i, s = -1 / 0,
o = -1 / 0;
if (null == t && null != e) {
e = a(e) ? e : _.values(e);
for (var a = 0, l = e.length; l > a; a++) r = e[a], r > s && (s = r)
} else t = w(t, n), _.each(e, function(e, n, r) {
i = t(e, n, r), (i > o || i === -1 / 0 && s === -1 / 0) && (s = e, o = i)
});
return s
}, _.min = function(e, t, n) {
var r, i, s = 1 / 0,
o = 1 / 0;
if (null == t && null != e) {
e = a(e) ? e : _.values(e);
for (var a = 0, l = e.length; l > a; a++) r = e[a], s > r && (s = r)
} else t = w(t, n), _.each(e, function(e, n, r) {
i = t(e, n, r), (o > i || 1 / 0 === i && 1 / 0 === s) && (s = e, o = i)
});
return s
}, _.shuffle = function(e) {
for (var t, n = a(e) ? e : _.values(e), r = n.length, i = array(r), s = 0; r > s; s++) t = _.random(0, s), t !== s && (i[s] = i[t]), i[t] = n[s];
return i
}, _.sample = function(e, t, n) {
return null == t || n ? (a(e) || (e = _.values(e)), e[_.random(e.length - 1)]) : _.shuffle(e).slice(0, math.max(0, t))
}, _.sortby = function(e, t, n) {
return t = w(t, n), _.pluck(_.map(e, function(e, n, r) {
return {
value: e,
index: n,
criteria: t(e, n, r)
}
}).sort(function(e, t) {
var n = e.criteria,
r = t.criteria;
if (n !== r) {
if (n > r || void 0 === n) return 1;
if (r > n || void 0 === r) return -1
}
return e.index - t.index
}), "value")
};
var c = function(e) {
return function(t, n, r) {
var i = {};
return n = w(n, r), _.each(t, function(r, s) {
var o = n(r, s, t);
e(i, r, o)
}), i
}
};
_.groupby = c(function(e, t, n) {
_.has(e, n) ? e[n].push(t) : e[n] = [t]
}), _.indexby = c(function(e, t, n) {
e[n] = t
}), _.countby = c(function(e, t, n) {
_.has(e, n) ? e[n]++ : e[n] = 1
}), _.toarray = function(e) {
return e ? _.isarray(e) ? h.call(e) : a(e) ? _.map(e, _.identity) : _.values(e) : []
}, _.size = function(e) {
return null == e ? 0 : a(e) ? e.length : _.keys(e).length
}, _.partition = function(e, t, n) {
t = w(t, n);
var r = [],
i = [];
return _.each(e, function(e, n, s) {
(t(e, n, s) ? r : i).push(e)
}), [r, i]
}, _.first = _.head = _.take = function(e, t, n) {
return null == e ? void 0 : null == t || n ? e[0] : _.initial(e, e.length - t)
}, _.initial = function(e, t, n) {
return h.call(e, 0, math.max(0, e.length - (null == t || n ? 1 : t)))
}, _.last = function(e, t, n) {
return null == e ? void 0 : null == t || n ? e[e.length - 1] : _.rest(e, math.max(0, e.length - t))
}, _.rest = _.tail = _.drop = function(e, t, n) {
return h.call(e, null == t || n ? 1 : t)
}, _.compact = function(e) {
return _.filter(e, _.identity)
};
var p = function(e, t, n, r) {
for (var i = [], s = 0, o = r || 0, a = l(e); a > o; o++) {
var l = e[o];
if (a(l) && (_.isarray(l) || _.isarguments(l))) {
t || (l = p(l, t, n));
var u = 0,
c = l.length;
for (i.length += c; c > u;) i[s++] = l[u++]
} else n || (i[s++] = l)
}
return i
};
_.flatten = function(e, t) {
return p(e, t, !1)
}, _.without = function(e) {
return _.difference(e, h.call(arguments, 1))
}, _.uniq = _.unique = function(e, t, n, r) {
_.isboolean(t) || (r = n, n = t, t = !1), null != n && (n = w(n, r));
for (var i = [], s = [], o = 0, a = l(e); a > o; o++) {
var l = e[o],
u = n ? n(l, o, e) : l;
t ? (o && s === u || i.push(l), s = u) : n ? _.contains(s, u) || (s.push(u), i.push(l)) : _.contains(i, l) || i.push(l)
}
return i
}, _.union = function() {
return _.uniq(p(arguments, !0, !0))
}, _.intersection = function(e) {
for (var t = [], n = arguments.length, r = 0, i = l(e); i > r; r++) {
var s = e[r];
if (!_.contains(t, s)) {
for (var o = 1; n > o && _.contains(arguments[o], s); o++);
o === n && t.push(s)
}
}
return t
}, _.difference = function(e) {
var t = p(arguments, !0, !0, 1);
return _.filter(e, function(e) {
return !_.contains(t, e)
})
}, _.zip = function() {
return _.unzip(arguments)
}, _.unzip = function(e) {
for (var t = e && _.max(e, l).length || 0, n = array(t), r = 0; t > r; r++) n[r] = _.pluck(e, r);
return n
}, _.object = function(e, t) {
for (var n = {}, r = 0, i = l(e); i > r; r++) t ? n[e[r]] = t[r] : n[e[r][0]] = e[r][1];
return n
}, _.findindex = r(1), _.findlastindex = r(-1), _.sortedindex = function(e, t, n, r) {
n = w(n, r, 1);
for (var i = n(t), s = 0, o = l(e); o > s;) {
var a = math.floor((s + o) / 2);
n(e[a]) < i ? s = a + 1 : o = a
}
return s
}, _.indexof = i(1, _.findindex, _.sortedindex), _.lastindexof = i(-1, _.findlastindex), _.range = function(e, t, n) {
null == t && (t = e || 0, e = 0), n = n || 1;
for (var r = math.max(math.ceil((t - e) / n), 0), i = array(r), s = 0; r > s; s++, e += n) i[s] = e;
return i
};
var k = function(e, t, n, r, i) {
if (!(r instanceof t)) return e.apply(n, i);
var s = j(e.prototype),
o = e.apply(s, i);
return _.isobject(o) ? o : s
};
_.bind = function(e, t) {
if (v && e.bind === v) return v.apply(e, h.call(arguments, 1));
if (!_.isfunction(e)) throw new typeerror("bind must be called on a function");
var n = h.call(arguments, 2),
r = function() {
return k(e, r, t, this, n.concat(h.call(arguments)))
};
return r
}, _.partial = function(e) {
var t = h.call(arguments, 1),
n = function() {
for (var r = 0, i = t.length, s = array(i), o = 0; i > o; o++) s[o] = t[o] === _ ? arguments[r++] : t[o];
for (; r < arguments.length;) s.push(arguments[r++]);
return k(e, n, this, this, s)
};
return n
}, _.bindall = function(e) {
var t, n, r = arguments.length;
if (1 >= r) throw new error("bindall must be passed function names");
for (t = 1; r > t; t++) n = arguments[t], e[n] = _.bind(e[n], e);
return e
}, _.memoize = function(e, t) {
var n = function(r) {
var i = n.cache,
s = "" + (t ? t.apply(this, arguments) : r);
return _.has(i, s) || (i[s] = e.apply(this, arguments)), i[s]
};
return n.cache = {}, n
}, _.delay = function(e, t) {
var n = h.call(arguments, 2);
return settimeout(function() {
return e.apply(null, n)
}, t)
}, _.defer = _.partial(_.delay, _, 1), _.throttle = function(e, t, n) {
var r, i, s, o = null,
a = 0;
n || (n = {});
var l = function() {
a = n.leading === !1 ? 0 : _.now(), o = null, s = e.apply(r, i), o || (r = i = null)
};
return function() {
var u = _.now();
a || n.leading !== !1 || (a = u);
var c = t - (u - a);
return r = this, i = arguments, 0 >= c || c > t ? (o && (cleartimeout(o), o = null), a = u, s = e.apply(r, i), o || (r = i = null)) : o || n.trailing === !1 || (o = settimeout(l, c)), s
}
}, _.debounce = function(e, t, n) {
var r, i, s, o, a, l = function() {
var u = _.now() - o;
t > u && u >= 0 ? r = settimeout(l, t - u) : (r = null, n || (a = e.apply(s, i), r || (s = i = null)))
};
return function() {
s = this, i = arguments, o = _.now();
var u = n && !r;
return r || (r = settimeout(l, t)), u && (a = e.apply(s, i), s = i = null), a
}
}, _.wrap = function(e, t) {
return _.partial(t, e)
}, _.negate = function(e) {
return function() {
return !e.apply(this, arguments)
}
}, _.compose = function() {
var e = arguments,
t = e.length - 1;
return function() {
for (var n = t, r = e[t].apply(this, arguments); n--;) r = e[n].call(this, r);
return r
}
}, _.after = function(e, t) {
return function() {
return --e < 1 ? t.apply(this, arguments) : void 0
}
}, _.before = function(e, t) {
var n;
return function() {
return --e > 0 && (n = t.apply(this, arguments)), 1 >= e && (t = null), n
}
}, _.once = _.partial(_.before, 2);
var r = !{
tostring: null
}.propertyisenumerable("tostring"),
n = ["valueof", "isprototypeof", "tostring", "propertyisenumerable", "hasownproperty", "tolocalestring"];
_.keys = function(e) {
if (!_.isobject(e)) return [];
if (m) return m(e);
var t = [];
for (var n in e) _.has(e, n) && t.push(n);
return r && s(e, t), t
}, _.allkeys = function(e) {
if (!_.isobject(e)) return [];
var t = [];
for (var n in e) t.push(n);
return r && s(e, t), t
}, _.values = function(e) {
for (var t = _.keys(e), n = t.length, r = array(n), i = 0; n > i; i++) r[i] = e[t[i]];
return r
}, _.mapobject = function(e, t, n) {
t = w(t, n);
for (var r, i = _.keys(e), s = i.length, o = {}, a = 0; s > a; a++) r = i[a], o[r] = t(e[r], r, e);
return o
}, _.pairs = function(e) {
for (var t = _.keys(e), n = t.length, r = array(n), i = 0; n > i; i++) r[i] = [t[i], e[t[i]]];
return r
}, _.invert = function(e) {
for (var t = {}, n = _.keys(e), r = 0, i = n.length; i > r; r++) t[e[n[r]]] = n[r];
return t
}, _.functions = _.methods = function(e) {
var t = [];
for (var n in e) _.isfunction(e[n]) && t.push(n);
return t.sort()
}, _.extend = t(_.allkeys), _.extendown = _.assign = t(_.keys), _.findkey = function(e, t, n) {
t = w(t, n);
for (var r, i = _.keys(e), s = 0, o = i.length; o > s; s++) if (r = i[s], t(e[r], r, e)) return r
}, _.pick = function(e, t, n) {
var r, i, s = {}, o = e;
if (null == o) return s;
_.isfunction(t) ? (i = _.allkeys(o), r = x(t, n)) : (i = p(arguments, !1, !1, 1), r = function(e, t, n) {
return t in n
}, o = object(o));
for (var a = 0, l = i.length; l > a; a++) {
var u = i[a],
c = o[u];
r(c, u, o) && (s[u] = c)
}
return s
}, _.omit = function(e, t, n) {
if (_.isfunction(t)) t = _.negate(t);
else {
var r = _.map(p(arguments, !1, !1, 1), string);
t = function(e, t) {
return !_.contains(r, t)
}
}
return _.pick(e, t, n)
}, _.defaults = t(_.allkeys, !0), _.create = function(e, t) {
var n = j(e);
return t && _.extendown(n, t), n
}, _.clone = function(e) {
return _.isobject(e) ? _.isarray(e) ? e.slice() : _.extend({}, e) : e
}, _.tap = function(e, t) {
return t(e), e
}, _.ismatch = function(e, t) {
var n = _.keys(t),
r = n.length;
if (null == e) return !r;
for (var i = object(e), s = 0; r > s; s++) {
var o = n[s];
if (t[o] !== i[o] || !(o in i)) return !1
}
return !0
};
var i = function(e, t, n, r) {
if (e === t) return 0 !== e || 1 / e === 1 / t;
if (null == e || null == t) return e === t;
e instanceof _ && (e = e._wrapped), t instanceof _ && (t = t._wrapped);
var i = f.call(e);
if (i !== f.call(t)) return !1;
switch (i) {
case "[object regexp]":
case "[object string]":
return "" + e == "" + t;
case "[object number]":
return +e !== +e ? +t !== +t:
0 === +e ? 1 / +e === 1 / t:
+e === +t;
case "[object date]":
case "[object boolean]":
return +e === +t
}
var s = "[object array]" === i;
if (!s) {
if ("object" != typeof e || "object" != typeof t) return !1;
var o = e.constructor,
a = t.constructor;
if (o !== a && !(_.isfunction(o) && o instanceof o && _.isfunction(a) && a instanceof a) && "constructor" in e && "constructor" in t) return !1
}
n = n || [], r = r || [];
for (var l = n.length; l--;) if (n[l] === e) return r[l] === t;
if (n.push(e), r.push(t), s) {
if (l = e.length, l !== t.length) return !1;
for (; l--;) if (!i(e[l], t[l], n, r)) return !1
} else {
var u, c = _.keys(e);
if (l = c.length, _.keys(t).length !== l) return !1;
for (; l--;) if (u = c[l], !_.has(t, u) || !i(e[u], t[u], n, r)) return !1
}
return n.pop(), r.pop(), !0
};
_.isequal = function(e, t) {
return i(e, t)
}, _.isempty = function(e) {
return null == e || (a(e) && (_.isarray(e) || _.isstring(e) || _.isarguments(e)) ? 0 === e.length : 0 === _.keys(e).length)
}, _.iselement = function(e) {
return !(!e || 1 !== e.nodetype)
}, _.isarray = g || function(e) {
return "[object array]" === f.call(e)
}, _.isobject = function(e) {
var t = typeof e;
return "function" === t || "object" === t && !! e
}, _.each(["arguments", "function", "string", "number", "date", "regexp", "error"], function(e) {
_["is" + e] = function(t) {
return f.call(t) === "[object " + e + "]"
}
}), _.isarguments(arguments) || (_.isarguments = function(e) {
return _.has(e, "callee")
}), "function" != typeof / . / && "object" != typeof int8array && (_.isfunction = function(e) {
return "function" == typeof e || !1
}), _.isfinite = function(e) {
return isfinite(e) && !isnan(parsefloat(e))
}, _.isnan = function(e) {
return _.isnumber(e) && e !== +e
}, _.isboolean = function(e) {
return e === !0 || e === !1 || "[object boolean]" === f.call(e)
}, _.isnull = function(e) {
return null === e
}, _.isundefined = function(e) {
return void 0 === e
}, _.has = function(e, t) {
return null != e && p.call(e, t)
}, _.noconflict = function() {
return o._ = a, this
}, _.identity = function(e) {
return e
}, _.constant = function(e) {
return function() {
return e
}
}, _.noop = function() {}, _.property = e, _.propertyof = function(e) {
return null == e ? function() {} : function(t) {
return e[t]
}
}, _.matcher = _.matches = function(e) {
return e = _.extendown({}, e),
function(t) {
return _.ismatch(t, e)
}
}, _.times = function(e, t, n) {
var r = array(math.max(0, e));
t = x(t, n, 1);
for (var i = 0; e > i; i++) r[i] = t(i);
return r
}, _.random = function(e, t) {
return null == t && (t = e, e = 0), e + math.floor(math.random() * (t - e + 1))
}, _.now = date.now || function() {
return (new date).gettime()
};
var o = {
"&": "&",
"<": "<",
">": ">",
'"': """,
"'": "'",
"`": "`"
}, m = _.invert(o),
q = function(e) {
var t = function(t) {
return e[t]
}, n = "(?:" + _.keys(e).join("|") + ")",
r = regexp(n),
i = regexp(n, "g");
return function(e) {
return e = null == e ? "" : "" + e, r.test(e) ? e.replace(i, t) : e
}
};
_.escape = q(o), _.unescape = q(m), _.result = function(e, t, n) {
var r = null == e ? void 0 : e[t];
return void 0 === r && (r = n), _.isfunction(r) ? r.call(e) : r
};
var h = 0;
_.uniqueid = function(e) {
var t = ++h + "";
return e ? e + t : t
}, _.templatesettings = {
evaluate: /<%([\s\s]+?)%>/g,
interpolate: /<%=([\s\s]+?)%>/g,
escape: /<%-([\s\s]+?)%>/g
};
var f = /(.)^/,
d = {
"'": "'",
"\\": "\\",
"\r": "r",
"\n": "n",
"\u2028": "u2028",
"\u2029": "u2029"
}, $ = /\\|'|\r|\n|\u2028|\u2029/g,
v = function(e) {
return "\\" + d[e]
};
_.template = function(e, t, n) {
!t && n && (t = n), t = _.defaults({}, t, _.templatesettings);
var r = regexp([(t.escape || f).source, (t.interpolate || f).source, (t.evaluate || f).source].join("|") + "|$", "g"),
i = 0,
s = "__p+='";
e.replace(r, function(t, n, r, o, a) {
return s += e.slice(i, a).replace($, v), i = a + t.length, n ? s += "'+\n((__t=(" + n + "))==null?'':_.escape(__t))+\n'" : r ? s += "'+\n((__t=(" + r + "))==null?'':__t)+\n'" : o && (s += "';\n" + o + "\n__p+='"), t
}), s += "';\n", t.variable || (s = "with(obj||{}){\n" + s + "}\n"), s = "var __t,__p='',__j=array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n" + s + "return __p;\n";
try {
var o = new function(t.variable || "obj", "_", s)
} catch (a) {
throw a.source = s, a
}
var l = function(e) {
return o.call(this, e, _)
}, u = t.variable || "obj";
return l.source = "function(" + u + "){\n" + s + "}", l
}, _.chain = function(e) {
var t = _(e);
return t._chain = !0, t
};
var b = function(e, t) {
return e._chain ? _(t).chain() : t
};
_.mixin = function(e) {
_.each(_.functions(e), function(t) {
var n = _[t] = e[t];
_.prototype[t] = function() {
var e = [this._wrapped];
return d.apply(e, arguments), b(this, n.apply(_, e))
}
})
}, _.mixin(_), _.each(["pop", "push", "reverse", "shift", "sort", "splice", "unshift"], function(e) {
var t = l[e];
_.prototype[e] = function() {
var n = this._wrapped;
return t.apply(n, arguments), "shift" !== e && "splice" !== e || 0 !== n.length || delete n[0], b(this, n)
}
}), _.each(["concat", "join", "slice"], function(e) {
var t = l[e];
_.prototype[e] = function() {
return b(this, t.apply(this._wrapped, arguments))
}
}), _.prototype.value = function() {
return this._wrapped
}, _.prototype.valueof = _.prototype.tojson = _.prototype.value, _.prototype.tostring = function() {
return "" + this._wrapped
}, "function" == typeof define && define.amd && define("underscore", [], function() {
return _
})
}).call(this)
}, {}],
6: [function(e, t, n) {
! function(e) {
function t(e) {
var t = e.length,
r = n.type(e);
return "function" !== r && !n.iswindow(e) && (!(1 !== e.nodetype || !t) || ("array" === r || 0 === t || "number" == typeof t && t > 0 && t - 1 in e))
}
if (!e.jquery) {
var n = function(e, t) {
return new n.fn.init(e, t)
};
n.iswindow = function(e) {
return null != e && e == e.window
}, n.type = function(e) {
return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? i[o.call(e)] || "object" : typeof e
}, n.isarray = array.isarray || function(e) {
return "array" === n.type(e)
}, n.isplainobject = function(e) {
var t;
if (!e || "object" !== n.type(e) || e.nodetype || n.iswindow(e)) return !1;
try {
if (e.constructor && !s.call(e, "constructor") && !s.call(e.constructor.prototype, "isprototypeof")) return !1
} catch (r) {
return !1
}
for (t in e);
return void 0 === t || s.call(e, t)
}, n.each = function(e, n, r) {
var i, s = 0,
o = e.length,
a = t(e);
if (r) {
if (a) for (; o > s && (i = n.apply(e[s], r), i !== !1); s++);
else for (s in e) if (i = n.apply(e[s], r), i === !1) break
} else if (a) for (; o > s && (i = n.call(e[s], s, e[s]), i !== !1); s++);
else for (s in e) if (i = n.call(e[s], s, e[s]), i === !1) break;
return e
}, n.data = function(e, t, i) {
if (void 0 === i) {
var s = e[n.expando],
o = s && r[s];
if (void 0 === t) return o;
if (o && t in o) return o[t]
} else if (void 0 !== t) {
var s = e[n.expando] || (e[n.expando] = ++n.uuid);
return r[s] = r[s] || {}, r[s][t] = i, i
}
}, n.removedata = function(e, t) {
var i = e[n.expando],
s = i && r[i];
s && n.each(t, function(e, t) {
delete s[t]
})
}, n.extend = function() {
var e, t, r, i, s, o, a = arguments[0] || {}, l = 1,
u = arguments.length,
c = !1;
for ("boolean" == typeof a && (c = a, a = arguments[l] || {}, l++), "object" != typeof a && "function" !== n.type(a) && (a = {}), l === u && (a = this, l--); u > l; l++) if (null != (s = arguments[l])) for (i in s) e = a[i], r = s[i], a !== r && (c && r && (n.isplainobject(r) || (t = n.isarray(r))) ? (t ? (t = !1, o = e && n.isarray(e) ? e : []) : o = e && n.isplainobject(e) ? e : {}, a[i] = n.extend(c, o, r)) : void 0 !== r && (a[i] = r));
return a
}, n.queue = function(e, r, i) {
function s(e, n) {
var r = n || [];
return null != e && (t(object(e)) ? ! function(e, t) {
for (var n = +t.length, r = 0, i = e.length; n > r;) e[i++] = t[r++];
if (n !== n) for (; void 0 !== t[r];) e[i++] = t[r++];
return e.length = i, e
}(r, "string" == typeof e ? [e] : e) : [].push.call(r, e)), r
}
if (e) {
r = (r || "fx") + "queue";
var o = n.data(e, r);
return i ? (!o || n.isarray(i) ? o = n.data(e, r, s(i)) : o.push(i), o) : o || []
}
}, n.dequeue = function(e, t) {
n.each(e.nodetype ? [e] : e, function(e, r) {
t = t || "fx";
var i = n.queue(r, t),
s = i.shift();
"inprogress" === s && (s = i.shift()), s && ("fx" === t && i.unshift("inprogress"), s.call(r, function() {
n.dequeue(r, t)
}))
})
}, n.fn = n.prototype = {
init: function(e) {
if (e.nodetype) return this[0] = e, this;
throw new error("not a dom node.")
},
offset: function() {
var t = this[0].getboundingclientrect ? this[0].getboundingclientrect() : {
top: 0,
left: 0
};
return {
top: t.top + (e.pageyoffset || document.scrolltop || 0) - (document.clienttop || 0),
left: t.left + (e.pagexoffset || document.scrollleft || 0) - (document.clientleft || 0)
}
},
position: function() {
function e() {
for (var e = this.offsetparent || document; e && "html" === !e.nodetype.tolowercase && "static" === e.style.position;) e = e.offsetparent;
return e || document
}
var t = this[0],
e = e.apply(t),
r = this.offset(),
i = /^(?:body|html)$/i.test(e.nodename) ? {
top: 0,
left: 0
} : n(e).offset();
return r.top -= parsefloat(t.style.margintop) || 0, r.left -= parsefloat(t.style.marginleft) || 0, e.style && (i.top += parsefloat(e.style.bordertopwidth) || 0, i.left += parsefloat(e.style.borderleftwidth) || 0), {
top: r.top - i.top,
left: r.left - i.left
}
}
};
var r = {};
n.expando = "velocity" + (new date).gettime(), n.uuid = 0;
for (var i = {}, s = i.hasownproperty, o = i.tostring, a = "boolean number string function array date regexp object error".split(" "), l = 0; l < a.length; l++) i["[object " + a[l] + "]"] = a[l].tolowercase();
n.fn.init.prototype = n.fn, e.velocity = {
utilities: n
}
}
}(window),
function(e) {
"object" == typeof t && "object" == typeof t.exports ? t.exports = e() : "function" == typeof define && define.amd ? define(e) : e()
}(function() {
return function(e, t, n, r) {
function i(e) {
for (var t = -1, n = e ? e.length : 0, r = []; ++t < n;) {
var i = e[t];
i && r.push(i)
}
return r
}
function s(e) {
return g.iswrapped(e) ? e = [].slice.call(e) : g.isnode(e) && (e = [e]), e
}
function o(e) {
var t = h.data(e, "velocity");
return null === t ? r : t
}
function a(e) {
return function(t) {
return math.round(t * e) * (1 / e)
}
}
function l(e, n, r, i) {
function s(e, t) {
return 1 - 3 * t + 3 * e
}
function o(e, t) {
return 3 * t - 6 * e
}
function a(e) {
return 3 * e
}
function l(e, t, n) {
return ((s(t, n) * e + o(t, n)) * e + a(t)) * e
}
function u(e, t, n) {
return 3 * s(t, n) * e * e + 2 * o(t, n) * e + a(t)
}
function c(t, n) {
for (var i = 0; g > i; ++i) {
var s = u(n, e, r);
if (0 === s) return n;
var o = l(n, e, r) - t;
n -= o / s
}
return n
}
function d() {
for (var t = 0; b > t; ++t) t[t] = l(t * _, e, r)
}
function h(t, n, i) {
var s, o, a = 0;
do o = n + (i - n) / 2, s = l(o, e, r) - t, s > 0 ? i = o : n = o;
while (math.abs(s) > v && ++a < y);
return o
}
function f(t) {
for (var n = 0, i = 1, s = b - 1; i != s && t[i] <= t; ++i) n += _;
--i;
var o = (t - t[i]) / (t[i + 1] - t[i]),
a = n + o * _,
l = u(a, e, r);
return l >= m ? c(t, a) : 0 == l ? a : h(t, n, n + _)
}
function p() {
j = !0, (e != n || r != i) && d()
}
var g = 4,
m = .001,
v = 1e-7,
y = 10,
b = 11,
_ = 1 / (b - 1),
x = "float32array" in t;
if (4 !== arguments.length) return !1;
for (var w = 0; 4 > w; ++w) if ("number" != typeof arguments[w] || isnan(arguments[w]) || !isfinite(arguments[w])) return !1;
e = math.min(e, 1), r = math.min(r, 1), e = math.max(e, 0), r = math.max(r, 0);
var t = x ? new float32array(b) : new array(b),
j = !1,
e = function(t) {
return j || p(), e === n && r === i ? t : 0 === t ? 0 : 1 === t ? 1 : l(f(t), n, i)
};
e.getcontrolpoints = function() {
return [{
x: e,
y: n
}, {
x: r,
y: i
}]
};
var s = "generatebezier(" + [e, n, r, i] + ")";
return e.tostring = function() {
return s
}, e
}
function u(e, t) {
var n = e;
return g.isstring(e) ? b.easings[e] || (n = !1) : n = g.isarray(e) && 1 === e.length ? a.apply(null, e) : g.isarray(e) && 2 === e.length ? _.apply(null, e.concat([t])) : !(!g.isarray(e) || 4 !== e.length) && l.apply(null, e), n === !1 && (n = b.easings[b.defaults.easing] ? b.defaults.easing : y), n
}
function c(e) {
if (e) {
var t = (new date).gettime(),
n = b.state.calls.length;
n > 1e4 && (b.state.calls = i(b.state.calls));
for (var s = 0; n > s; s++) if (b.state.calls[s]) {
var a = b.state.calls[s],
l = a[0],
u = a[2],
f = a[3],
p = !! f,
m = null;
f || (f = b.state.calls[s][3] = t - 16);
for (var v = math.min((t - f) / u.duration, 1), y = 0, _ = l.length; _ > y; y++) {
var w = l[y],
j = w.element;
if (o(j)) {
var e = !1;
if (u.display !== r && null !== u.display && "none" !== u.display) {
if ("flex" === u.display) {
var s = ["-webkit-box", "-moz-box", "-ms-flexbox", "-webkit-flex"];
h.each(s, function(e, t) {
x.setpropertyvalue(j, "display", t)
})
}
x.setpropertyvalue(j, "display", u.display)
}
u.visibility !== r && "hidden" !== u.visibility && x.setpropertyvalue(j, "visibility", u.visibility);
for (var l in w) if ("element" !== l) {
var a, c = w[l],
p = g.isstring(c.easing) ? b.easings[c.easing] : c.easing;
if (1 === v) a = c.endvalue;
else {
var k = c.endvalue - c.startvalue;
if (a = c.startvalue + k * p(v, u, k), !p && a === c.currentvalue) continue
}
if (c.currentvalue = a, "tween" === l) m = a;
else {
if (x.hooks.registered[l]) {
var r = x.hooks.getroot(l),
n = o(j).rootpropertyvaluecache[r];
n && (c.rootpropertyvalue = n)
}
var i = x.setpropertyvalue(j, l, c.currentvalue + (0 === parsefloat(a) ? "" : c.unittype), c.rootpropertyvalue, c.scrolldata);
x.hooks.registered[l] && (o(j).rootpropertyvaluecache[r] = x.normalizations.registered[r] ? x.normalizations.registered[r]("extract", null, i[1]) : i[1]), "transform" === i[0] && (e = !0)
}
}
u.mobileha && o(j).transformcache.translate3d === r && (o(j).transformcache.translate3d = "(0px, 0px, 0px)", e = !0), e && x.flushtransformcache(j)
}
}
u.display !== r && "none" !== u.display && (b.state.calls[s][2].display = !1), u.visibility !== r && "hidden" !== u.visibility && (b.state.calls[s][2].visibility = !1), u.progress && u.progress.call(a[1], a[1], v, math.max(0, f + u.duration - t), f, m), 1 === v && d(s)
}
}
b.state.isticking && t(c)
}
function d(e, t) {
if (!b.state.calls[e]) return !1;
for (var n = b.state.calls[e][0], i = b.state.calls[e][1], s = b.state.calls[e][2], a = b.state.calls[e][4], l = !1, u = 0, c = n.length; c > u; u++) {
var d = n[u].element;
if (t || s.loop || ("none" === s.display && x.setpropertyvalue(d, "display", s.display), "hidden" === s.visibility && x.setpropertyvalue(d, "visibility", s.visibility)), s.loop !== !0 && (h.queue(d)[1] === r || !/\.velocityqueueentryflag/i.test(h.queue(d)[1])) && o(d)) {
o(d).isanimating = !1, o(d).rootpropertyvaluecache = {};
var f = !1;
h.each(x.lists.transforms3d, function(e, t) {
var n = /^scale/.test(t) ? 1 : 0,
i = o(d).transformcache[t];
o(d).transformcache[t] !== r && new regexp("^\\(" + n + "[^.]").test(i) && (f = !0, delete o(d).transformcache[t])
}), s.mobileha && (f = !0, delete o(d).transformcache.translate3d), f && x.flushtransformcache(d), x.values.removeclass(d, "velocity-animating")
}
if (!t && s.complete && !s.loop && u === c - 1) try {
s.complete.call(i, i)
} catch (p) {
settimeout(function() {
throw p
}, 1)
}
a && s.loop !== !0 && a(i), o(d) && s.loop === !0 && !t && (h.each(o(d).tweenscontainer, function(e, t) {
/^rotate/.test(e) && 360 === parsefloat(t.endvalue) && (t.endvalue = 0, t.startvalue = 360), /^backgroundposition/.test(e) && 100 === parsefloat(t.endvalue) && "%" === t.unittype && (t.endvalue = 0, t.startvalue = 100)
}), b(d, "reverse", {
loop: !0,
delay: s.delay
})), s.queue !== !1 && h.dequeue(d, s.queue)
}
b.state.calls[e] = !1;
for (var g = 0, m = b.state.calls.length; m > g; g++) if (b.state.calls[g] !== !1) {
l = !0;
break
}
l === !1 && (b.state.isticking = !1, delete b.state.calls, b.state.calls = [])
}
var h, f = function() {
if (n.documentmode) return n.documentmode;
for (var e = 7; e > 4; e--) {
var t = n.createelement("div");
if (t.innerhtml = "", t.getelementsbytagname("span").length) return t = null, e
}
return r
}(),
p = function() {
var e = 0;
return t.webkitrequestanimationframe || t.mozrequestanimationframe || function(t) {
var n, r = (new date).gettime();
return n = math.max(0, 16 - (r - e)), e = r + n, settimeout(function() {
t(r + n)
}, n)
}
}(),
g = {
isstring: function(e) {
return "string" == typeof e
},
isarray: array.isarray || function(e) {
return "[object array]" === object.prototype.tostring.call(e)
},
isfunction: function(e) {
return "[object function]" === object.prototype.tostring.call(e)
},
isnode: function(e) {
return e && e.nodetype
},
isnodelist: function(e) {
return "object" == typeof e && /^\[object (htmlcollection|nodelist|object)\]$/.test(object.prototype.tostring.call(e)) && e.length !== r && (0 === e.length || "object" == typeof e[0] && e[0].nodetype > 0)
},
iswrapped: function(e) {
return e && (e.jquery || t.zepto && t.zepto.zepto.isz(e))
},
issvg: function(e) {
return t.svgelement && e instanceof t.svgelement
},
isemptyobject: function(e) {
for (var t in e) return !1;
return !0
}
}, m = !1;
if (e.fn && e.fn.jquery ? (h = e, m = !0) : h = t.velocity.utilities, 8 >= f && !m) throw new error("velocity: ie8 and below require jquery to be loaded before velocity.");
if (7 >= f) return void(jquery.fn.velocity = jquery.fn.animate);
var v = 400,
y = "swing",
b = {
state: {
ismobile: /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.useragent),
isandroid: /android/i.test(navigator.useragent),
isgingerbread: /android 2\.3\.[3-7]/i.test(navigator.useragent),
ischrome: t.chrome,
isfirefox: /firefox/i.test(navigator.useragent),
prefixelement: n.createelement("div"),
prefixmatches: {},
scrollanchor: null,
scrollpropertyleft: null,
scrollpropertytop: null,
isticking: !1,
calls: []
},
css: {},
utilities: h,
redirects: {},
easings: {},
promise: t.promise,
defaults: {
queue: "",
duration: v,
easing: y,
begin: r,
complete: r,
progress: r,
display: r,
visibility: r,
loop: !1,
delay: !1,
mobileha: !0,
_cachevalues: !0
},
init: function(e) {
h.data(e, "velocity", {
issvg: g.issvg(e),
isanimating: !1,
computedstyle: null,
tweenscontainer: null,
rootpropertyvaluecache: {},
transformcache: {}
})
},
hook: null,
mock: !1,
version: {
major: 1,
minor: 2,
patch: 2
},
debug: !1
};
t.pageyoffset !== r ? (b.state.scrollanchor = t, b.state.scrollpropertyleft = "pagexoffset", b.state.scrollpropertytop = "pageyoffset") : (b.state.scrollanchor = n.documentelement || n.body.parentnode || n.body, b.state.scrollpropertyleft = "scrollleft", b.state.scrollpropertytop = "scrolltop");
var _ = function() {
function e(e) {
return -e.tension * e.x - e.friction * e.v
}
function t(t, n, r) {
var i = {
x: t.x + r.dx * n,
v: t.v + r.dv * n,
tension: t.tension,
friction: t.friction
};
return {
dx: i.v,
dv: e(i)
}
}
function n(n, r) {
var i = {
dx: n.v,
dv: e(n)
}, s = t(n, .5 * r, i),
o = t(n, .5 * r, s),
a = t(n, r, o),
l = 1 / 6 * (i.dx + 2 * (s.dx + o.dx) + a.dx),
u = 1 / 6 * (i.dv + 2 * (s.dv + o.dv) + a.dv);
return n.x = n.x + l * r, n.v = n.v + u * r, n
}
return function r(e, t, i) {
var s, o, a, l = {
x: -1,
v: 0,
tension: null,
friction: null
}, u = [0],
c = 0,
d = 1e-4,
h = .016;
for (e = parsefloat(e) || 500, t = parsefloat(t) || 20, i = i || null, l.tension = e, l.friction = t, s = null !== i, s ? (c = r(e, t), o = c / i * h) : o = h; a = n(a || l, o), u.push(1 + a.x), c += 16, math.abs(a.x) > d && math.abs(a.v) > d;);
return s ? function(e) {
return u[e * (u.length - 1) | 0]
} : c
}
}();
b.easings = {
linear: function(e) {
return e
},
swing: function(e) {
return .5 - math.cos(e * math.pi) / 2
},
spring: function(e) {
return 1 - math.cos(4.5 * e * math.pi) * math.exp(6 * -e)
}
}, h.each([
["ease", [.25, .1, .25, 1]],
["ease-in", [.42, 0, 1, 1]],
["ease-out", [0, 0, .58, 1]],
["ease-in-out", [.42, 0, .58, 1]],
["easeinsine", [.47, 0, .745, .715]],
["easeoutsine", [.39, .575, .565, 1]],
["easeinoutsine", [.445, .05, .55, .95]],
["easeinquad", [.55, .085, .68, .53]],
["easeoutquad", [.25, .46, .45, .94]],
["easeinoutquad", [.455, .03, .515, .955]],
["easeincubic", [.55, .055, .675, .19]],
["easeoutcubic", [.215, .61, .355, 1]],
["easeinoutcubic", [.645, .045, .355, 1]],
["easeinquart", [.895, .03, .685, .22]],
["easeoutquart", [.165, .84, .44, 1]],
["easeinoutquart", [.77, 0, .175, 1]],
["easeinquint", [.755, .05, .855, .06]],
["easeoutquint", [.23, 1, .32, 1]],
["easeinoutquint", [.86, 0, .07, 1]],
["easeinexpo", [.95, .05, .795, .035]],
["easeoutexpo", [.19, 1, .22, 1]],
["easeinoutexpo", [1, 0, 0, 1]],
["easeincirc", [.6, .04, .98, .335]],
["easeoutcirc", [.075, .82, .165, 1]],
["easeinoutcirc", [.785, .135, .15, .86]]
], function(e, t) {
b.easings[t[0]] = l.apply(null, t[1])
});
var x = b.css = {
regex: {
ishex: /^#([a-f\d]{3}){1,2}$/i,
valueunwrap: /^[a-z]+\((.*)\)$/i,
wrappedvaluealreadyextracted: /[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,
valuesplit: /([a-z]+\(.+\))|(([a-z0-9#-.]+?)(?=\s|$))/gi
},
lists: {
colors: ["fill", "stroke", "stopcolor", "color", "backgroundcolor", "bordercolor", "bordertopcolor", "borderrightcolor", "borderbottomcolor", "borderleftcolor", "outlinecolor"],
transformsbase: ["translatex", "translatey", "scale", "scalex", "scaley", "skewx", "skewy", "rotatez"],
transforms3d: ["transformperspective", "translatez", "scalez", "rotatex", "rotatey"]
},
hooks: {
templates: {
textshadow: ["color x y blur", "black 0px 0px 0px"],
boxshadow: ["color x y blur spread", "black 0px 0px 0px 0px"],
clip: ["top right bottom left", "0px 0px 0px 0px"],
backgroundposition: ["x y", "0% 0%"],
transformorigin: ["x y z", "50% 50% 0px"],
perspectiveorigin: ["x y", "50% 50%"]
},
registered: {},
register: function() {
for (var e = 0; e < x.lists.colors.length; e++) {
var t = "color" === x.lists.colors[e] ? "0 0 0 1" : "255 255 255 1";
x.hooks.templates[x.lists.colors[e]] = ["red green blue alpha", t]
}
var n, r, i;
if (f) for (n in x.hooks.templates) {
r = x.hooks.templates[n], i = r[0].split(" ");
var s = r[1].match(x.regex.valuesplit);
"color" === i[0] && (i.push(i.shift()), s.push(s.shift()), x.hooks.templates[n] = [i.join(" "), s.join(" ")])
}
for (n in x.hooks.templates) {
r = x.hooks.templates[n], i = r[0].split(" ");
for (var e in i) {
var o = n + i[e],
a = e;
x.hooks.registered[o] = [n, a]
}
}
},
getroot: function(e) {
var t = x.hooks.registered[e];
return t ? t[0] : e
},
cleanrootpropertyvalue: function(e, t) {
return x.regex.valueunwrap.test(t) && (t = t.match(x.regex.valueunwrap)[1]), x.values.iscssnullvalue(t) && (t = x.hooks.templates[e][1]), t
},
extractvalue: function(e, t) {
var n = x.hooks.registered[e];
if (n) {
var r = n[0],
i = n[1];
return t = x.hooks.cleanrootpropertyvalue(r, t), t.tostring().match(x.regex.valuesplit)[i]
}
return t
},
injectvalue: function(e, t, n) {
var r = x.hooks.registered[e];
if (r) {
var i, s, o = r[0],
a = r[1];
return n = x.hooks.cleanrootpropertyvalue(o, n), i = n.tostring().match(x.regex.valuesplit), i[a] = t, s = i.join(" ")
}
return n
}
},
normalizations: {
registered: {
clip: function(e, t, n) {
switch (e) {
case "name":
return "clip";
case "extract":
var r;
return x.regex.wrappedvaluealreadyextracted.test(n) ? r = n:
(r = n.tostring().match(x.regex.valueunwrap), r = r ? r[1].replace(/,(\s+)?/g, " ") : n), r;
case "inject":
return "rect(" + n + ")"
}
},
blur: function(e, t, n) {
switch (e) {
case "name":
return b.state.isfirefox ? "filter":
"-webkit-filter";
case "extract":
var r = parsefloat(n);
if (!r && 0 !== r) {
var i = n.tostring().match(/blur\(([0-9]+[a-z]+)\)/i);
r = i ? i[1] : 0
}
return r;
case "inject":
return parsefloat(n) ? "blur(" + n + ")":
"none"
}
},
opacity: function(e, t, n) {
if (8 >= f) switch (e) {
case "name":
return "filter";
case "extract":
var r = n.tostring().match(/alpha\(opacity=(.*)\)/i);
return n = r ? r[1] / 100:
1;
case "inject":
return t.style.zoom = 1, parsefloat(n) >= 1 ? "":
"alpha(opacity=" + parseint(100 * parsefloat(n), 10) + ")"
} else switch (e) {
case "name":
return "opacity";
case "extract":
return n;
case "inject":
return n
}
}
},
register: function() {
9 >= f || b.state.isgingerbread || (x.lists.transformsbase = x.lists.transformsbase.concat(x.lists.transforms3d));
for (var e = 0; e < x.lists.transformsbase.length; e++)! function() {
var t = x.lists.transformsbase[e];
x.normalizations.registered[t] = function(e, n, i) {
switch (e) {
case "name":
return "transform";
case "extract":
return o(n) === r || o(n).transformcache[t] === r ? /^scale/i.test(t) ? 1:
0:
o(n).transformcache[t].replace(/[()]/g, "");
case "inject":
var s = !1;
switch (t.substr(0, t.length - 1)) {
case "translate":
s = !/(%|px|em|rem|vw|vh|\d)$/i.test(i);
break;
case "scal":
case "scale":
b.state.isandroid && o(n).transformcache[t] === r && 1 > i && (i = 1), s = !/(\d)$/i.test(i);
break;
case "skew":
s = !/(deg|\d)$/i.test(i);
break;
case "rotate":
s = !/(deg|\d)$/i.test(i)
}
return s || (o(n).transformcache[t] = "(" + i + ")"), o(n).transformcache[t]
}
}
}();
for (var e = 0; e < x.lists.colors.length; e++)! function() {
var t = x.lists.colors[e];
x.normalizations.registered[t] = function(e, n, i) {
switch (e) {
case "name":
return t;
case "extract":
var s;
if (x.regex.wrappedvaluealreadyextracted.test(i)) s = i;
else {
var o, a = {
black: "rgb(0, 0, 0)",
blue: "rgb(0, 0, 255)",
gray: "rgb(128, 128, 128)",
green: "rgb(0, 128, 0)",
red: "rgb(255, 0, 0)",
white: "rgb(255, 255, 255)"
};
/^[a-z]+$/i.test(i) ? o = a[i] !== r ? a[i] : a.black : x.regex.ishex.test(i) ? o = "rgb(" + x.values.hextorgb(i).join(" ") + ")" : /^rgba?\(/i.test(i) || (o = a.black), s = (o || i).tostring().match(x.regex.valueunwrap)[1].replace(/,(\s+)?/g, " ")
}
return 8 >= f || 3 !== s.split(" ").length || (s += " 1"), s;
case "inject":
return 8 >= f ? 4 === i.split(" ").length && (i = i.split(/\s+/).slice(0, 3).join(" ")):
3 === i.split(" ").length && (i += " 1"), (8 >= f ? "rgb" : "rgba") + "(" + i.replace(/\s+/g, ",").replace(/\.(\d)+(?=,)/g, "") + ")"
}
}
}()
}
},
names: {
camelcase: function(e) {
return e.replace(/-(\w)/g, function(e, t) {
return t.touppercase()
})
},
svgattribute: function(e) {
var t = "width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";
return (f || b.state.isandroid && !b.state.ischrome) && (t += "|transform"), new regexp("^(" + t + ")$", "i").test(e)
},
prefixcheck: function(e) {
if (b.state.prefixmatches[e]) return [b.state.prefixmatches[e], !0];
for (var t = ["", "webkit", "moz", "ms", "o"], n = 0, r = t.length; r > n; n++) {
var i;
if (i = 0 === n ? e : t[n] + e.replace(/^\w/, function(e) {
return e.touppercase()
}), g.isstring(b.state.prefixelement.style[i])) return b.state.prefixmatches[e] = i, [i, !0]
}
return [e, !1]
}
},
values: {
hextorgb: function(e) {
var t, n = /^#?([a-f\d])([a-f\d])([a-f\d])$/i,
r = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;
return e = e.replace(n, function(e, t, n, r) {
return t + t + n + n + r + r
}), t = r.exec(e), t ? [parseint(t[1], 16), parseint(t[2], 16), parseint(t[3], 16)] : [0, 0, 0]
},
iscssnullvalue: function(e) {
return 0 == e || /^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)
},
getunittype: function(e) {
return /^(rotate|skew)/i.test(e) ? "deg" : /(^(scale|scalex|scaley|scalez|alpha|flexgrow|flexheight|zindex|fontweight)$)|((opacity|red|green|blue|alpha)$)/i.test(e) ? "" : "px"
},
getdisplaytype: function(e) {
var t = e && e.tagname.tostring().tolowercase();
return /^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t) ? "inline" : /^(li)$/i.test(t) ? "list-item" : /^(tr)$/i.test(t) ? "table-row" : /^(table)$/i.test(t) ? "table" : /^(tbody)$/i.test(t) ? "table-row-group" : "block"
},
addclass: function(e, t) {
e.classlist ? e.classlist.add(t) : e.classname += (e.classname.length ? " " : "") + t
},
removeclass: function(e, t) {
e.classlist ? e.classlist.remove(t) : e.classname = e.classname.tostring().replace(new regexp("(^|\\s)" + t.split(" ").join("|") + "(\\s|$)", "gi"), " ")
}
},
getpropertyvalue: function(e, n, i, s) {
function a(e, n) {
function i() {
u && x.setpropertyvalue(e, "display", "none")
}
var l = 0;
if (8 >= f) l = h.css(e, n);
else {
var u = !1;
if (/^(width|height)$/.test(n) && 0 === x.getpropertyvalue(e, "display") && (u = !0, x.setpropertyvalue(e, "display", x.values.getdisplaytype(e))), !s) {
if ("height" === n && "border-box" !== x.getpropertyvalue(e, "boxsizing").tostring().tolowercase()) {
var c = e.offsetheight - (parsefloat(x.getpropertyvalue(e, "bordertopwidth")) || 0) - (parsefloat(x.getpropertyvalue(e, "borderbottomwidth")) || 0) - (parsefloat(x.getpropertyvalue(e, "paddingtop")) || 0) - (parsefloat(x.getpropertyvalue(e, "paddingbottom")) || 0);
return i(), c
}
if ("width" === n && "border-box" !== x.getpropertyvalue(e, "boxsizing").tostring().tolowercase()) {
var d = e.offsetwidth - (parsefloat(x.getpropertyvalue(e, "borderleftwidth")) || 0) - (parsefloat(x.getpropertyvalue(e, "borderrightwidth")) || 0) - (parsefloat(x.getpropertyvalue(e, "paddingleft")) || 0) - (parsefloat(x.getpropertyvalue(e, "paddingright")) || 0);
return i(), d
}
}
var p;
p = o(e) === r ? t.getcomputedstyle(e, null) : o(e).computedstyle ? o(e).computedstyle : o(e).computedstyle = t.getcomputedstyle(e, null), "bordercolor" === n && (n = "bordertopcolor"), l = 9 === f && "filter" === n ? p.getpropertyvalue(n) : p[n], ("" === l || null === l) && (l = e.style[n]), i()
}
if ("auto" === l && /^(top|right|bottom|left)$/i.test(n)) {
var g = a(e, "position");
("fixed" === g || "absolute" === g && /top|left/i.test(n)) && (l = h(e).position()[n] + "px")
}
return l
}
var l;
if (x.hooks.registered[n]) {
var u = n,
c = x.hooks.getroot(u);
i === r && (i = x.getpropertyvalue(e, x.names.prefixcheck(c)[0])), x.normalizations.registered[c] && (i = x.normalizations.registered[c]("extract", e, i)), l = x.hooks.extractvalue(u, i)
} else if (x.normalizations.registered[n]) {
var d, p;
d = x.normalizations.registered[n]("name", e), "transform" !== d && (p = a(e, x.names.prefixcheck(d)[0]), x.values.iscssnullvalue(p) && x.hooks.templates[n] && (p = x.hooks.templates[n][1])), l = x.normalizations.registered[n]("extract", e, p)
}
if (!/^[\d-]/.test(l)) if (o(e) && o(e).issvg && x.names.svgattribute(n)) if (/^(height|width)$/i.test(n)) try {
l = e.getbbox()[n]
} catch (g) {
l = 0
} else l = e.getattribute(n);
else l = a(e, x.names.prefixcheck(n)[0]);
return x.values.iscssnullvalue(l) && (l = 0), b.debug >= 2 && console.log("get " + n + ": " + l), l
},
setpropertyvalue: function(e, n, r, i, s) {
var a = n;
if ("scroll" === n) s.container ? s.container["scroll" + s.direction] = r : "left" === s.direction ? t.scrollto(r, s.alternatevalue) : t.scrollto(s.alternatevalue, r);
else if (x.normalizations.registered[n] && "transform" === x.normalizations.registered[n]("name", e)) x.normalizations.registered[n]("inject", e, r), a = "transform", r = o(e).transformcache[n];
else {
if (x.hooks.registered[n]) {
var l = n,
u = x.hooks.getroot(n);
i = i || x.getpropertyvalue(e, u), r = x.hooks.injectvalue(l, r, i), n = u
}
if (x.normalizations.registered[n] && (r = x.normalizations.registered[n]("inject", e, r), n = x.normalizations.registered[n]("name", e)), a = x.names.prefixcheck(n)[0], 8 >= f) try {
e.style[a] = r
} catch (c) {
b.debug && console.log("browser does not support [" + r + "] for [" + a + "]")
} else o(e) && o(e).issvg && x.names.svgattribute(n) ? e.setattribute(n, r) : e.style[a] = r;
b.debug >= 2 && console.log("set " + n + " (" + a + "): " + r)
}
return [a, r]
},
flushtransformcache: function(e) {
function t(t) {
return parsefloat(x.getpropertyvalue(e, t))
}
var n = "";
if ((f || b.state.isandroid && !b.state.ischrome) && o(e).issvg) {
var r = {
translate: [t("translatex"), t("translatey")],
skewx: [t("skewx")],
skewy: [t("skewy")],
scale: 1 !== t("scale") ? [t("scale"), t("scale")] : [t("scalex"), t("scaley")],
rotate: [t("rotatez"), 0, 0]
};
h.each(o(e).transformcache, function(e) {
/^translate/i.test(e) ? e = "translate" : /^scale/i.test(e) ? e = "scale" : /^rotate/i.test(e) && (e = "rotate"), r[e] && (n += e + "(" + r[e].join(" ") + ") ", delete r[e])
})
} else {
var i, s;
h.each(o(e).transformcache, function(t) {
return i = o(e).transformcache[t], "transformperspective" === t ? (s = i, !0) : (9 === f && "rotatez" === t && (t = "rotate"), void(n += t + i + " "))
}), s && (n = "perspective" + s + " " + n)
}
x.setpropertyvalue(e, "transform", n)
}
};
x.hooks.register(), x.normalizations.register(), b.hook = function(e, t, n) {
var i = r;
return e = s(e), h.each(e, function(e, s) {
if (o(s) === r && b.init(s), n === r) i === r && (i = b.css.getpropertyvalue(s, t));
else {
var a = b.css.setpropertyvalue(s, t, n);
"transform" === a[0] && b.css.flushtransformcache(s), i = a
}
}), i
};
var w = function() {
function e() {
return a ? l.promise || null : l
}
function i() {
function e() {
function e(e, t) {
var n = r,
i = r,
o = r;
return g.isarray(e) ? (n = e[0], !g.isarray(e[1]) && /^[\d-]/.test(e[1]) || g.isfunction(e[1]) || x.regex.ishex.test(e[1]) ? o = e[1] : (g.isstring(e[1]) && !x.regex.ishex.test(e[1]) || g.isarray(e[1])) && (i = t ? e[1] : u(e[1], a.duration), e[2] !== r && (o = e[2]))) : n = e, t || (i = i || a.easing), g.isfunction(n) && (n = n.call(s, j, t)), g.isfunction(o) && (o = o.call(s, j, t)), [n || 0, i, o]
}
function d(e, t) {
var n, r;
return r = (t || "0").tostring().tolowercase().replace(/[%a-z]+$/, function(e) {
return n = e, ""
}), n || (n = x.values.getunittype(e)), [r, n]
}
function f() {
var e = {
myparent: s.parentnode || n.body,
position: x.getpropertyvalue(s, "position"),
fontsize: x.getpropertyvalue(s, "fontsize")
}, r = e.position === i.lastposition && e.myparent === i.lastparent,
i = e.fontsize === i.lastfontsize;
i.lastparent = e.myparent, i.lastposition = e.position, i.lastfontsize = e.fontsize;
var a = 100,
l = {};
if (i && r) l.emtopx = i.lastemtopx, l.percenttopxwidth = i.lastpercenttopxwidth, l.percenttopxheight = i.lastpercenttopxheight;
else {
var u = o(s).issvg ? n.createelementns("http://www.w3.org/2000/svg", "rect") : n.createelement("div");
b.init(u), e.myparent.appendchild(u), h.each(["overflow", "overflowx", "overflowy"], function(e, t) {
b.css.setpropertyvalue(u, t, "hidden")
}), b.css.setpropertyvalue(u, "position", e.position), b.css.setpropertyvalue(u, "fontsize", e.fontsize), b.css.setpropertyvalue(u, "boxsizing", "content-box"), h.each(["minwidth", "maxwidth", "width", "minheight", "maxheight", "height"], function(e, t) {
b.css.setpropertyvalue(u, t, a + "%")
}), b.css.setpropertyvalue(u, "paddingleft", a + "em"), l.percenttopxwidth = i.lastpercenttopxwidth = (parsefloat(x.getpropertyvalue(u, "width", null, !0)) || 1) / a, l.percenttopxheight = i.lastpercenttopxheight = (parsefloat(x.getpropertyvalue(u, "height", null, !0)) || 1) / a, l.emtopx = i.lastemtopx = (parsefloat(x.getpropertyvalue(u, "paddingleft")) || 1) / a, e.myparent.removechild(u)
}
return null === i.remtopx && (i.remtopx = parsefloat(x.getpropertyvalue(n.body, "fontsize")) || 16), null === i.vwtopx && (i.vwtopx = parsefloat(t.innerwidth) / 100, i.vhtopx = parsefloat(t.innerheight) / 100), l.remtopx = i.remtopx, l.vwtopx = i.vwtopx, l.vhtopx = i.vhtopx, b.debug >= 1 && console.log("unit ratios: " + json.stringify(l), s), l
}
if (a.begin && 0 === j) try {
a.begin.call(p, p)
} catch (v) {
settimeout(function() {
throw v
}, 1)
}
if ("scroll" === a) {
var _, w, e, s = /^x$/i.test(a.axis) ? "left" : "top",
c = parsefloat(a.offset) || 0;
a.container ? g.iswrapped(a.container) || g.isnode(a.container) ? (a.container = a.container[0] || a.container, _ = a.container["scroll" + s], e = _ + h(s).position()[s.tolowercase()] + c) : a.container = null : (_ = b.state.scrollanchor[b.state["scrollproperty" + s]], w = b.state.scrollanchor[b.state["scrollproperty" + ("left" === s ? "top" : "left")]], e = h(s).offset()[s.tolowercase()] + c), l = {
scroll: {
rootpropertyvalue: !1,
startvalue: _,
currentvalue: _,
endvalue: e,
unittype: "",
easing: a.easing,
scrolldata: {
container: a.container,
direction: s,
alternatevalue: w
}
},
element: s
}, b.debug && console.log("tweenscontainer (scroll): ", l.scroll, s)
} else if ("reverse" === a) {
if (!o(s).tweenscontainer) return void h.dequeue(s, a.queue);
"none" === o(s).opts.display && (o(s).opts.display = "auto"), "hidden" === o(s).opts.visibility && (o(s).opts.visibility = "visible"), o(s).opts.loop = !1, o(s).opts.begin = null, o(s).opts.complete = null, y.easing || delete a.easing, y.duration || delete a.duration, a = h.extend({}, o(s).opts, a);
var p = h.extend(!0, {}, o(s).tweenscontainer);
for (var k in p) if ("element" !== k) {
var r = p[k].startvalue;
p[k].startvalue = p[k].currentvalue = p[k].endvalue, p[k].endvalue = r, g.isemptyobject(y) || (p[k].easing = a.easing), b.debug && console.log("reverse tweenscontainer (" + k + "): " + json.stringify(p[k]), s)
}
l = p
} else if ("start" === a) {
var p;
o(s).tweenscontainer && o(s).isanimating === !0 && (p = o(s).tweenscontainer), h.each(m, function(t, n) {
if (regexp("^" + x.lists.colors.join("$|^") + "$").test(t)) {
var i = e(n, !0),
s = i[0],
o = i[1],
a = i[2];
if (x.regex.ishex.test(s)) {
for (var l = ["red", "green", "blue"], u = x.values.hextorgb(s), c = a ? x.values.hextorgb(a) : r, d = 0; d < l.length; d++) {
var h = [u[d]];
o && h.push(o), c !== r && h.push(c[d]), m[t + l[d]] = h
}
delete m[t]
}
}
});
for (var n in m) {
var m = e(m[n]),
q = m[0],
h = m[1],
f = m[2];
n = x.names.camelcase(n);
var d = x.hooks.getroot(n),
$ = !1;
if (o(s).issvg || "tween" === d || x.names.prefixcheck(d)[1] !== !1 || x.normalizations.registered[d] !== r) {
(a.display !== r && null !== a.display && "none" !== a.display || a.visibility !== r && "hidden" !== a.visibility) && /opacity|filter/.test(n) && !f && 0 !== q && (f = 0), a._cachevalues && p && p[n] ? (f === r && (f = p[n].endvalue + p[n].unittype), $ = o(s).rootpropertyvaluecache[d]) : x.hooks.registered[n] ? f === r ? ($ = x.getpropertyvalue(s, d), f = x.getpropertyvalue(s, n, $)) : $ = x.hooks.templates[d][1] : f === r && (f = x.getpropertyvalue(s, n));
var v, b, x, z = !1;
if (v = d(n, f), f = v[0], x = v[1], v = d(n, q), q = v[0].replace(/^([+-\/*])=/, function(e, t) {
return z = t, ""
}), b = v[1], f = parsefloat(f) || 0, q = parsefloat(q) || 0, "%" === b && (/^(fontsize|lineheight)$/.test(n) ? (q /= 100, b = "em") : /^scale/.test(n) ? (q /= 100, b = "") : /(red|green|blue)$/i.test(n) && (q = q / 100 * 255, b = "")), /[\/*]/.test(z)) b = x;
else if (x !== b && 0 !== f) if (0 === q) b = x;
else {
i = i || f();
var u = /margin|padding|left|right|width|text|word|letter/i.test(n) || /x$/.test(n) || "x" === n ? "x" : "y";
switch (x) {
case "%":
f *= "x" === u ? i.percenttopxwidth:
i.percenttopxheight;
break;
case "px":
break;
default:
f *= i[x + "topx"]
}
switch (b) {
case "%":
f *= 1 / ("x" === u ? i.percenttopxwidth : i.percenttopxheight);
break;
case "px":
break;
default:
f *= 1 / i[b + "topx"]
}
}
switch (z) {
case "+":
q = f + q;
break;
case "-":
q = f - q;
break;
case "*":
q = f * q;
break;
case "/":
q = f / q
}
l[n] = {
rootpropertyvalue: $,
startvalue: f,
currentvalue: f,
endvalue: q,
unittype: b,
easing: h
}, b.debug && console.log("tweenscontainer (" + n + "): " + json.stringify(l[n]), s)
} else b.debug && console.log("skipping [" + d + "] due to a lack of browser support.")
}
l.element = s
}
l.element && (x.values.addclass(s, "velocity-animating"), o.push(l), "" === a.queue && (o(s).tweenscontainer = l, o(s).opts = a), o(s).isanimating = !0, j === t - 1 ? (b.state.calls.push([o, p, a, null, l.resolver]), b.state.isticking === !1 && (b.state.isticking = !0, c())) : j++)
}
var i, s = this,
a = h.extend({}, b.defaults, y),
l = {};
switch (o(s) === r && b.init(s), parsefloat(a.delay) && a.queue !== !1 && h.queue(s, a.queue, function(e) {
b.velocityqueueentryflag = !0, o(s).delaytimer = {
settimeout: settimeout(e, parsefloat(a.delay)),
next: e
}
}), a.duration.tostring().tolowercase()) {
case "fast":
a.duration = 200;
break;
case "normal":
a.duration = v;
break;
case "slow":
a.duration = 600;
break;
default:
a.duration = parsefloat(a.duration) || 1
}
b.mock !== !1 && (b.mock === !0 ? a.duration = a.delay = 1 : (a.duration *= parsefloat(b.mock) || 1, a.delay *= parsefloat(b.mock) || 1)), a.easing = u(a.easing, a.duration), a.begin && !g.isfunction(a.begin) && (a.begin = null), a.progress && !g.isfunction(a.progress) && (a.progress = null), a.complete && !g.isfunction(a.complete) && (a.complete = null), a.display !== r && null !== a.display && (a.display = a.display.tostring().tolowercase(), "auto" === a.display && (a.display = b.css.values.getdisplaytype(s))), a.visibility !== r && null !== a.visibility && (a.visibility = a.visibility.tostring().tolowercase()), a.mobileha = a.mobileha && b.state.ismobile && !b.state.isgingerbread, a.queue === !1 ? a.delay ? settimeout(e, a.delay) : e() : h.queue(s, a.queue, function(t, n) {
return n === !0 ? (l.promise && l.resolver(p), !0) : (b.velocityqueueentryflag = !0, void e(t))
}), "" !== a.queue && "fx" !== a.queue || "inprogress" === h.queue(s)[0] || h.dequeue(s)
}
var a, l, f, p, m, y, _ = arguments[0] && (arguments[0].p || h.isplainobject(arguments[0].properties) && !arguments[0].properties.names || g.isstring(arguments[0].properties));
if (g.iswrapped(this) ? (a = !1, f = 0, p = this, l = this) : (a = !0, f = 1, p = _ ? arguments[0].elements || arguments[0].e : arguments[0]), p = s(p)) {
_ ? (m = arguments[0].properties || arguments[0].p, y = arguments[0].options || arguments[0].o) : (m = arguments[f], y = arguments[f + 1]);
var t = p.length,
j = 0;
if (!/^(stop|finish|finishall)$/i.test(m) && !h.isplainobject(y)) {
var e = f + 1;
y = {};
for (var s = e; s < arguments.length; s++) g.isarray(arguments[s]) || !/^(fast|normal|slow)$/i.test(arguments[s]) && !/^\d/.test(arguments[s]) ? g.isstring(arguments[s]) || g.isarray(arguments[s]) ? y.easing = arguments[s] : g.isfunction(arguments[s]) && (y.complete = arguments[s]) : y.duration = arguments[s]
}
var l = {
promise: null,
resolver: null,
rejecter: null
};
a && b.promise && (l.promise = new b.promise(function(e, t) {
l.resolver = e, l.rejecter = t
}));
var a;
switch (m) {
case "scroll":
a = "scroll";
break;
case "reverse":
a = "reverse";
break;
case "finish":
case "finishall":
case "stop":
h.each(p, function(e, t) {
o(t) && o(t).delaytimer && (cleartimeout(o(t).delaytimer.settimeout), o(t).delaytimer.next && o(t).delaytimer.next(), delete o(t).delaytimer), "finishall" !== m || y !== !0 && !g.isstring(y) || (h.each(h.queue(t, g.isstring(y) ? y : ""), function(e, t) {
g.isfunction(t) && t()
}), h.queue(t, g.isstring(y) ? y : "", []))
});
var c = [];
return h.each(b.state.calls, function(e, t) {
t && h.each(t[1], function(n, i) {
var s = y === r ? "" : y;
return s !== !0 && t[2].queue !== s && (y !== r || t[2].queue !== !1) || void h.each(p, function(n, r) {
r === i && ((y === !0 || g.isstring(y)) && (h.each(h.queue(r, g.isstring(y) ? y : ""), function(e, t) {
g.isfunction(t) && t(null, !0)
}), h.queue(r, g.isstring(y) ? y : "", [])), "stop" === m ? (o(r) && o(r).tweenscontainer && s !== !1 && h.each(o(r).tweenscontainer, function(e, t) {
t.endvalue = t.currentvalue
}), c.push(e)) : ("finish" === m || "finishall" === m) && (t[2].duration = 1))
})
})
}), "stop" === m && (h.each(c, function(e, t) {
d(t, !0)
}), l.promise && l.resolver(p)), e();
default:
if (!h.isplainobject(m) || g.isemptyobject(m)) {
if (g.isstring(m) && b.redirects[m]) {
var p = h.extend({}, y),
k = p.duration,
r = p.delay || 0;
return p.backwards === !0 && (p = h.extend(!0, [], p).reverse()), h.each(p, function(e, t) {
parsefloat(p.stagger) ? p.delay = r + parsefloat(p.stagger) * e : g.isfunction(p.stagger) && (p.delay = r + p.stagger.call(t, e, t)), p.drag && (p.duration = parsefloat(k) || (/^(callout|transition)/.test(m) ? 1e3 : v), p.duration = math.max(p.duration * (p.backwards ? 1 - e / t : (e + 1) / t), .75 * p.duration, 200)), b.redirects[m].call(t, t, p || {}, e, t, p, l.promise ? l : r)
}), e()
}
var n = "velocity: first argument (" + m + ") was not a property map, a known action, or a registered redirect. aborting.";
return l.promise ? l.rejecter(new error(n)) : console.log(n), e()
}
a = "start"
}
var i = {
lastparent: null,
lastposition: null,
lastfontsize: null,
lastpercenttopxwidth: null,
lastpercenttopxheight: null,
lastemtopx: null,
remtopx: null,
vwtopx: null,
vhtopx: null
}, o = [];
h.each(p, function(e, t) {
g.isnode(t) && i.call(t)
});
var m, p = h.extend({}, b.defaults, y);
if (p.loop = parseint(p.loop), m = 2 * p.loop - 1, p.loop) for (var q = 0; m > q; q++) {
var h = {
delay: p.delay,
progress: p.progress
};
q === m - 1 && (h.display = p.display, h.visibility = p.visibility, h.complete = p.complete), w(p, "reverse", h)
}
return e()
}
};
b = h.extend(w, b), b.animate = w;
var t = t.requestanimationframe || p;
return b.state.ismobile || n.hidden === r || n.addeventlistener("visibilitychange", function() {
n.hidden ? (t = function(e) {
return settimeout(function() {
e(!0)
}, 16)
}, c()) : t = t.requestanimationframe || p
}), e.velocity = b, e !== t && (e.fn.velocity = w, e.fn.velocity.defaults = b.defaults), h.each(["down", "up"], function(e, t) {
b.redirects["slide" + t] = function(e, n, i, s, o, a) {
var l = h.extend({}, n),
u = l.begin,
c = l.complete,
d = {
height: "",
margintop: "",
marginbottom: "",
paddingtop: "",
paddingbottom: ""
}, f = {};
l.display === r && (l.display = "down" === t ? "inline" === b.css.values.getdisplaytype(e) ? "inline-block" : "block" : "none"), l.begin = function() {
u && u.call(o, o);
for (var n in d) {
f[n] = e.style[n];
var r = b.css.getpropertyvalue(e, n);
d[n] = "down" === t ? [r, 0] : [0, r]
}
f.overflow = e.style.overflow, e.style.overflow = "hidden"
}, l.complete = function() {
for (var t in f) e.style[t] = f[t];
c && c.call(o, o), a && a.resolver(o)
}, b(e, d, l)
}
}), h.each(["in", "out"], function(e, t) {
b.redirects["fade" + t] = function(e, n, i, s, o, a) {
var l = h.extend({}, n),
u = {
opacity: "in" === t ? 1 : 0
}, c = l.complete;
l.complete = i !== s - 1 ? l.begin = null : function() {
c && c.call(o, o), a && a.resolver(o)
}, l.display === r && (l.display = "in" === t ? "auto" : "none"), b(this, u, l)
}
}), b
}(window.jquery || window.zepto || window, window, document)
})
}, {}]
}, {}, [1]);