PageSourceSearch

https://www.sony.jp/share5/js/libs.js

js sony.jp collected 2026-09-24 08:29:24 UTC 338,594 bytes, 2,334 lines download raw bytes

1/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
2 * Build: http://modernizr.com/download/#-boxshadow-opacity-webgl-printshiv-mq-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-load
3 */
4;window.Modernizr=function(a,b,c){function A(a){j.cssText=a}function B(a,b){return A(m.join(a+";")+(b||""))}function C(a,b){return typeof a===b}function D(a,b){return!!~(""+a).indexOf(b)}function E(a,b){for(var d in a){var e=a[d];if(!D(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function F(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:C(f,"function")?f.on(d||b):f}return!1}function G(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+o.join(d+" ")+d).split(" ");return C(b,"string")||C(b,"undefined")?E(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),F(e,b,c))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return w("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},y={}.hasOwnProperty,z;!C(y,"undefined")&&!C(y.call,"undefined")?z=function(a,b){return y.call(a,b)}:z=function(a,b){return b in a&&C(a.constructor.prototype[b],"undefined")},Function.prototype.on||(Function.prototype.on=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e}),q.webgl=function(){return!!a.WebGLRenderingContext},q.boxshadow=function(){return G("boxShadow")},q.opacity=function(){return B("opacity:.55"),/^0.55$/.test(j.opacity)};for(var H in q)z(q,H)&&(v=H.toLowerCase(),e[v]=q[H](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)z(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},A(""),i=k=null,e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.mq=x,e.testProp=function(a){return E([a])},e.testAllProps=G,e.testStyles=w,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document),function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function q(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?o(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function r(a){a||(a=b);var c=n(a);return s.shivCSS&&!g&&!c.hasCSS&&(c.hasCSS=!!l(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
4play:block}mark{background:#FF0;color:#000}template{display:none}")),k||q(a,c),a}function w(a){var b,c=a.getElementsByTagName("*"),d=c.length,e=RegExp("^(?:"+m().join("|")+")$","i"),f=[];while(d--)b=c[d],e.test(b.nodeName)&&f.push(b.applyElement(x(b)));return f}function x(a){var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(u+":"+a.nodeName);while(d--)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function y(a){var b,c=a.split("{"),d=c.length,e=RegExp("(^|[\\s,>+~])("+m().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),f="$1"+u+"\\:$2";while(d--)b=c[d]=c[d].split("}"),b[b.length-1]=b[b.length-1].replace(e,f),c[d]=b.join("}");return c.join("{")}function z(a){var b=a.length;while(b--)a[b].removeNode()}function A(a){function g(){clearTimeout(d._removeSheetTimer),b&&b.removeNode(!0),b=null}var b,c,d=n(a),e=a.namespaces,f=a.parentWindow;return!v||a.printShived?a:(typeof e[u]=="undefined"&&e.add(u),f.attachEvent("onbeforeprint",function(){g();var d,e,f,h=a.styleSheets,i=[],j=h.length,k=Array(j);while(j--)k[j]=h[j];while(f=k.pop())if(!f.disabled&&t.test(f.media)){try{d=f.imports,e=d.length}catch(m){e=0}for(j=0;j<e;j++)k.push(d[j]);try{i.push(f.cssText)}catch(m){}}i=y(i.reverse().join("")),c=w(a),b=l(a,i)}),f.attachEvent("onafterprint",function(){z(c),clearTimeout(d._removeSheetTimer),d._removeSheetTimer=setTimeout(g,500)}),a.printShived=!0,a)}var c="3.7.0",d=a.html5||{},e=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g,h="_html5shiv",i=0,j={},k;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b);var t=/^$|\b(?:all|print)\b/,u="html5shiv",v=!k&&function(){var c=b.documentElement;return typeof b.namespaces!="undefined"&&typeof b.parentWindow!="undefined"&&typeof c.applyElement!="undefined"&&typeof c.removeNode!="undefined"&&typeof a.attachEvent!="undefined"}();s.type+=" print",s.shivPrint=A,A(b)}(this,document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
5
6/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
7!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window}
vendor: 14,383 bytes, line 7
7,E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=y.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:v}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,y,s,c,v,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),j=function(e,t){return e===t&&(l=!0),0},D={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&v(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!y||!y.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ve(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ye(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],y=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),v=t||K.test(a.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)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&v(p,e)?-1:t==C||t.ownerDocument==p&&v(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=C&&T(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&D.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(j),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.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+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(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(te,ne).toLowerCase();return"*"===e?function(){return!0}
vendor: 7,995 bytes, line 7
7:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace($," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,y){var v="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===y?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=v!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(v){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=y)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace(B,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!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,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.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:ye(function(){return[0]}),last:ye(function(e,t){return[t-1]}),eq:ye(function(e,t,n){return[n<0?n+t:n]}),even:ye(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ye(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ye(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ye(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[k,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,y,v,e){return y&&!y[S]&&(y=Ce(y)),v&&!v[S]&&(v=Ce(v,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?v||(e?d:l||y)?[]:t:f;if(g&&g(f,p,n,r),y){i=Te(p,u),y(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(v||d){if(v){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);v(null,p=[],i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=v?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),v?v(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,y,v,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(y=o,m=0<(v=i).length,x=0<y.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=y[a++])if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=v[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+v.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ve(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&v
vendor: 8,710 bytes, line 7
7e(t.parentNode)||t),n},d.sortStable=S.split("").sort(j).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var D,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e})};var F=S.Deferred();function 
vendor: 20,484 bytes, line 7
7$(){E.removeEventListener("DOMContentLoaded",$),C.removeEventListener("load",$),S.ready()}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",$),C.addEventListener("load",$));var B=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)B(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){Q.set(this,n)}):B(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),v.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",v.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,v.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}var be=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Te(){return!1}function Ce(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Se(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&S.event.add(e,i,we)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=Y.get(t);if(V(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(e){return"undefined"!=typeof S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=be.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=Y.hasData(e)&&Y.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=be.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||S.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click",we),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(t,e){S.event.special[t]={setup:function(){return Se(this,t,Ce),!1},trigger:function(){return Se(this,t),!0},_default:function(e){return Y.get(e.target,t)},delegateType:e}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(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!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){S.event.remove(this,e,n,t)})}});var ke=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=S.extend({},o),Q.set(t,a))}}function He(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!v.checkClone&&Ae.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),He(t,r,i,o)});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ye(e,"script"),De)).length;c<f;c++)u=e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,ye(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,qe),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(Ne,""),u,l))}return n}function Oe(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ye(r)),r.parentNode&&(n&&ie(r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ye(c),r=0,i=(o=ye(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ye(e),a=a||ye(c),r=0,i=o.length;r<i;r++)Le(o[r],a[r]);else Le(e,c);return 0<(a=ye(c,"script")).length&&ve(a,!f&&ye(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Oe(this,e,!0)},remove:function(e){return Oe(this,e)},text:function(e){return B(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return B(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return He(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ye(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Pe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Re=/^--/,Me=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Ie=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},We=new RegExp(ne.join("|"),"i"),Fe="[\\x20\\t\\r\\n\\f]",$e=new RegExp("^"+Fe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Fe+"+$","g");function Be(e,t,n){var r,i,o,a,s=Re.test(t),u=e.style;return(n=n||Me(e))&&(a=n.getPropertyValue(t)||n[t],s&&(a=a.replace($e,"$1")),""!==a||ie(e)||(a=S.style(e,t)),!v.pixelBoxStyles()&&Pe.test(a)&&We.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;
7left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(v,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,re.removeChild(e)),a}}))}();var ze=["Webkit","Moz","ms"],Ue=E.createElement("div").style,Xe={};function Ve(e){var t=S.cssProps[e]||Xe[e];return t||(e in Ue?e:Xe[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=ze.length;while(n--)if((e=ze[n]+t)in Ue)return e}(e)||e)}var Ge=/^(none|table(?!-c[ea]).+)/,Ye={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Ze(e,t,n){var r=Me(e),i=(!v.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&i||!v.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ke(e,t,n||(i?"border":"content"),o,r,a)+"px"}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"o
7pacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Re.test(t),l=e.style;if(u||(t=Ve(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Re.test(t)||(t=Ve(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,t,n){if(t)return!Ge.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,u,n):Ie(e,Ye,function(){return Ze(e,u,n)})},set:function(e,t,n){var r,i=Me(e),o=!v.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Ke(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Ke(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Je(0,t,s)}}}),S.cssHooks.marginLeft=_e(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-Ie(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=Je)}),S.fn.extend({css:function(e,t){return B(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Me(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=et).prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=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):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Ve(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=et.prototype.init,S.fx.step={};var tt,nt,rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(st):C.setTimeout(st,S.fx.interval),S.fx.tick())}function ut(){return C.setTimeout(function(){tt=void 0}),tt=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ft(o,e,t){var n,a,r=0,i=ft.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=tt||ut(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:tt||ut(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,l.o
vendor: 25,649 bytes, line 7
7pts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=ft.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ct,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(y?"hidden"in y&&(g=y.hidden):y=Y.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r])})),u=ct(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.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(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=ft(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&at.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(lt(r,!0),e,t,n)}}),S.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),tt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){nt||(nt=!0,st())},S.fx.stop=function(){nt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},rt=E.createElement("input"),it=E.createElement("select").appendChild(E.createElement("option")),rt.type="checkbox",v.checkOn=""!==rt.value,v.optSelected=it.selected,(rt=E.createElement("input")).value="t",rt.type="radio",v.radioValue="t"===rt.value;var pt,dt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return B(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=dt[t]||S.find.attr;dt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=dt[o],dt[o]=r,r=null!=a(e,t,n)?o:null,dt[o]=i),r}});var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function yt(e){return(e.match(P)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return B(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.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=S.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),v.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a;return m(t)?this.each(function(e){S(this).addClass(t.call(this,e,vt(this)))}):(e=mt(t)).length?this.each(function(){if(r=vt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=yt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return m(t)?this.each(function(e){S(this).removeClass(t.call(this,e,vt(this)))}):arguments.length?(e=mt(t)).length?this.each(function(){if(r=vt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=yt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return m(t)?this.each(function(e){S(this).toggleClass(t.call(this,e,vt(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=mt(t),this.each(function(){if(s)for(o=S(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=vt(this))&&Y.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":Y.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+yt(vt(n))+" ").indexOf(t))return!0;return!1}});var xt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(xt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:yt(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},v.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in C;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=y.call(e,"type")?e.type:e,h=y.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!bt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,bt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,wt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,wt),S.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),v.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e))};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var Tt=C.location,Ct={guid:Date.now()},Et=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var St=/\[\]$/,kt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function jt(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||St.test(n)?i(n,t):jt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)jt(n+"["+t+"]",e[t],r,i)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Nt.test(this.nodeName)&&!At.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(kt,"\r\n")}}):{name:t.name,value:n.replace(kt,"\r\n")}}).get()}});var Dt=/%20/g,qt=/#.*$/,Lt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},Mt={},It="*/".concat("*"),Wt=E.createElement("a");function Ft(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function $t(t,i,o,a){var s={},u=t===Mt;function l(e){var r;return s[e]=!0,S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Bt(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Wt.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Bt(Bt(e,S.ajaxSettings),t):Bt(S.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,y=S.ajaxSetup({},t),v=y.context||y,m=y.context&&(v.nodeType||v.jquery)?S(v):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=y.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Ht.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(y.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),y.url=((e||y.url||Tt.href)+"").replace(Pt,Tt.protocol+"//"),y.type=t.method||t.type||y.method||y.type,y.dataTypes=(y.dataType||"*").toLowerCase().match(P)||[""],null==y.crossDomain){r=E.createElement("a");try{r.href=y.url,r.href=r.href,y.crossDomain=Wt.protocol+"//"+Wt.host!=r.protocol+"//"+r.host}catch(e){y.crossDomain=!0}}if(y.data&&y.processData&&"string"!=typeof y.data&&(y.data=S.param(y.data,y.traditional)),$t(Rt,y,t,T),h)return T;for(i in(g=S.event&&y.global)&&0==S.active++&&S.event.trigger("ajaxStart"),y.type=y.type.toUpperCase(),y.hasContent=!Ot.test(y.type),f=y.url.replace(qt,""),y.hasContent?y.data&&y.processData&&0===(y.contentType||"").indexOf("application/x-www-form-urlencoded")&&(y.data=y.data.replace(Dt,"+")):(o=y.url.slice(f.length),y.data&&(y.processData||"string"==typeof y.data)&&(f+=(Et.test(f)?"&":"?")+y.data,delete y.data),!1===y.cache&&(f=f.replace(Lt,"$1"),o=(Et.test(f)?"&":"?")+"_="+Ct.guid+++o),y.url=f+o),y.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&T.setRequestHeader("If-None-Match",S.etag[f])),(y.data&&y.hasContent&&!1!==y.contentType||t.contentType)&&T.setRequestHeader("Content-Type",y.contentType),T.setRequestHeader("Accept",y.dataTypes[0]&&y.accepts[y.dataTypes[0]]?y.accepts[y.dataTypes[0]]+("*"!==y.dataTypes[0]?", "+It+"; q=0.01":""):y.accepts["*"]),y.headers)T.setRequestHeader(i,y.headers[i]);if(y.beforeSend&&(!1===y.beforeSend.call(v,T,y)||h))return T.abort();if(u="abort",b.add(y.complete),T.done(y.success),T.fail(y.error),c=$t(Mt,y,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,y]),h)return T;y.async&&0<y.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},y.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(y,T,n)),!i&&-1<S.inArray("script",y.dataTypes)&&S.inArray("json",y.dataTypes)<0&&(y.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(y,s,T,i),i?(y.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(S.etag[f]=u)),204===e||"HEAD"===y.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(v,[o,l,T]):x.rejectWith(v,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,y,i?o:a]),b.fireWith(v,[T,l]),g&&(m.trigger("ajaxComplete",[T,y]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var _t={0:200,1223:204},zt=S.ajaxSettings.xhr();v.cors=!!zt&&"withCredentials"in zt,v.ajax=zt=!!zt,S.ajaxTransport(function(i){var o,a;if(v.cors||zt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(_t[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),v.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=yt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"to
7p"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return B(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=_e(v.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({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)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Gt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camelCase=X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Gt,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Yt=C.jQuery,Qt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Qt),e&&C.jQuery===S&&(C.jQuery=Yt),S},"undefined"==typeof e&&(C.jQuery=C.$=S),S});
8
vendor: 19,668 bytes, lines 9-14
9!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){
10//     Underscore.js 1.13.8
11//     https://underscorejs.org
12//     (c) 2009-2026 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
13//     Underscore may be freely distributed under the MIT license.
14var n="1.13.8",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},t=Array.prototype,e=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,i=t.push,o=t.slice,a=e.toString,f=e.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,l="undefined"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable("toString"),b=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u<t;u++)e[u]=arguments[u+r];switch(r){case 0:return n.call(this,e);case 1:return n.call(this,arguments[0],e);case 2:return n.call(this,arguments[0],arguments[1],e)}var i=Array(r+1);for(u=0;u<r;u++)i[u]=arguments[u];return i[r]=e,n.apply(this,i)}}function w(n){var r=typeof n;return"function"===r||"object"===r&&!!n}function _(n){return void 0===n}function A(n){return!0===n||!1===n||"[object Boolean]"===a.call(n)}function x(n){var r="[object "+n+"]";return function(n){return a.call(n)===r}}var S=x("String"),O=x("Number"),M=x("Date"),E=x("RegExp"),B=x("Error"),N=x("Symbol"),k=x("ArrayBuffer"),I=x("Function"),T=r.document&&r.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof T&&(I=function(n){return"function"==typeof n||!1});var D=I,R=x("Object"),V=l&&(!/\[native code\]/.test(String(DataView))||R(new DataView(new ArrayBuffer(8)))),F="undefined"!=typeof Map&&R(new Map),P=x("DataView");var q=V?function(n){return null!=n&&D(n.getInt8)&&k(n.buffer)}:P,U=s||x("Array");function W(n,r){return null!=n&&f.call(n,r)}var z=x("Arguments");!function(){z(arguments)||(z=function(n){return W(n,"callee")})}();var L=z;function $(n){return O(n)&&y(n)}function C(n){return function(){return n}}function K(n){return function(r){var t=n(r);return"number"==typeof t&&t>=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J("byteLength"),H=K(G),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J("length");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e<t;++e)r[n[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(t){return r[t]=!0,n.push(t)}}}(r);var t=b.length,u=n.constructor,i=D(u)&&u.prototype||e,o="constructor";for(W(n,o)&&!r.contains(o)&&r.push(o);t--;)(o=b[t])in n&&n[o]!==i[o]&&!r.contains(o)&&r.push(o)}function nn(n){if(!w(n))return[];if(p)return p(n);var r=[];for(var t in n)W(n,t)&&r.push(t);return g&&Z(n,r),r}function rn(n,r){var t=nn(r),e=t.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=t[i];if(r[o]!==u[o]||!(o in u))return!1}return!0}function tn(n){return n instanceof tn?n:this instanceof tn?void(this._wrapped=n):new tn(n)}function en(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,G(n))}tn.VERSION=n,tn.prototype.value=function(){return this._wrapped},tn.prototype.valueOf=tn.prototype.toJSON=tn.prototype.value,tn.prototype.toString=function(){return String(this._wrapped)};var un="[object DataView]";function on(n){if(!w(n))return[];var r=[];for(var t in n)r.push(t);return g&&Z(n,r),r}function an(n){var r=Y(n);return function(t){if(null==t)return!1;var e=on(t);if(Y(e))return!1;for(var u=0;u<r;u++)if(!D(t[n[u]]))return!1;return n!==vn||!D(t[fn])}}var fn="forEach",cn="has",ln=["clear","delete"],sn=["get",cn,"set"],pn=ln.concat(fn,sn),vn=ln.concat(sn),hn=["add"].concat(ln,fn,cn),yn=F?an(pn):x("Map"),dn=F?an(vn):x("WeakMap"),gn=F?an(hn):x("Set"),bn=x("WeakSet");function mn(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=n[r[u]];return e}function jn(n){for(var r={},t=nn(n),e=0,u=t.length;e<u;e++)r[n[t[e]]]=t[e];return r}function wn(n){var r=[];for(var t in n)D(n[t])&&r.push(t);return r.sort()}function _n(n,r){return function(t){var e=arguments.length;if(r&&(t=Object(t)),e<2||null==t)return t;for(var u=1;u<e;u++)for(var i=arguments[u],o=n(i),a=o.length,f=0;f<a;f++){var c=o[f];r&&void 0!==t[c]||(t[c]=i[c])}return t}}var An=_n(on),xn=_n(nn),Sn=_n(on,!0);function On(n){if(!w(n))return{};if(v)return v(n);var r=function(){};r.prototype=n;var t=new r;return r.prototype=null,t}function Mn(n){return U(n)?n:[n]}function En(n){return tn.toPath(n)}function Bn(n,r){for(var t=r.length,e=0;e<t;e++){if(null==n)return;n=n[r[e]]}return t?n:void 0}function Nn(n,r,t){var e=Bn(n,En(r));return _(e)?t:e}function kn(n){return n}function In(n){return n=xn({},n),function(r){return rn(r,n)}}function Tn(n){return n=En(n),function(r){return Bn(r,n)}}function Dn(n,r,t){if(void 0===r)return n;switch(null==t?3:t){case 1:return function(t){return n.call(r,t)};case 3:return function(t,e,u){return n.call(r,t,e,u)};case 4:return function(t,e,u,i){return n.call(r,t,e,u,i)}}return function(){return n.apply(r,arguments)}}function Rn(n,r,t){return null==n?kn:D(n)?Dn(n,r,t):w(n)&&!U(n)?In(n):Tn(n)}function Vn(n,r){return Rn(n,r,1/0)}function Fn(n,r,t){return tn.iteratee!==Vn?tn.iteratee(n,r):Rn(n,r,t)}function Pn(){}function qn(n,r){return null==r&&(r=n,n=0),n+Math.floor(Math.random()*(r-n+1))}tn.toPath=Mn,tn.iteratee=Vn;var Un=Date.now||function(){return(new Date).getTime()};function Wn(n){var r=function(r){return n[r]},t="(?:"+nn(n).join("|")+")",e=RegExp(t),u=RegExp(t,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,r):n}}var zn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Ln=Wn(zn),$n=Wn(jn(zn)),Cn=tn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Kn=/(.)^/,Jn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Gn=/\\|'|\r|\n|\u2028|\u2029/g;function Hn(n){return"\\"+Jn[n]}var Qn=/^\s*(\w|\$)+\s*$/;var Xn=0;function Yn(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var i=On(n.prototype),o=n.apply(i,u);return w(o)?o:i}var Zn=j((function(n,r){var t=Zn.placeholder,e=function(){for(var u=0,i=r.length,o=Array(i),a=0;a<i;a++)o[a]=r[a]===t?arguments[u++]:r[a];for(;u<arguments.length;)o.push(arguments[u++]);return Yn(n,e,this,this,o)};return e}));Zn.placeholder=tn;var nr=j((function(n,r,t){if(!D(n))throw new TypeError("Bind must be called on a function");var e=j((function(u){return Yn(n,e,r,this,t.concat(u))}));return e})),rr=K(Y);function tr(n,r,t){r||0===r||(r=1/0);for(var e=[],u=0,i=0,o=Y(n)||0,a=[];1;)if(i>=o){if(!a.length)break;var f=a.pop();i=f.i,n=f.v,o=Y(n)}else{var c=n[i++];a.length>=r?e[u++]=c:rr(c)&&(U(c)||L(c))?(a.push({i:i,v:n}),i=0,o=Y(n=c)):t||(e[u++]=c)}return e}var er=j((function(n,r){var t=(r=tr(r,!1,!1)).length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var e=r[t];n[e]=nr(n[e],n)}return n}));var ur=j((function(n,r,t){return setTimeout((function(){return n.apply(null,t)}),r)})),ir=Zn(ur,tn,1);function or(n){return function(){return!n.apply(this,arguments)}}function ar(n,r){var t;return function(){return--n>0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var fr=Zn(ar,2);function cr(n,r,t){r=Fn(r,t);for(var e,u=nn(n),i=0,o=u.length;i<o;i++)if(r(n[e=u[i]],e,n))return e}function lr(n){return function(r,t,e){t=Fn(t,e);for(var u=Y(r),i=n>0?0:u-1;i>=0&&i<u;i+=n)if(t(r[i],i,r))return i;return-1}}var sr=lr(1),pr=lr(-1);function vr(n,r,t,e){for(var u=(t=Fn(t,e,1))(r),i=0,o=Y(n);i<o;){var a=Math.floor((i+o)/2);t(n[a])<u?i=a+1:o=a}return i}function hr(n,r,t){return function(e,u,i){var a=0,f=Y(e);if("number"==typeof i)n>0?a=i>=0?i:Math.max(i+f,a):f=i>=0?Math.min(i+1,f):i+f+1;else if(t&&i&&f)return e[i=t(e,u)]===u?i:-1;if(u!=u)return(i=r(o.call(e,a,f),$))>=0?i+a:-1;for(i=n>0?a:f-1;i>=0&&i<f;i+=n)if(e[i]===u)return i;return-1}}var yr=hr(1,sr,vr),dr=hr(-1,pr);function gr(n,r,t){var e=(rr(n)?sr:cr)(n,r,t);if(void 0!==e&&-1!==e)return n[e]}function br(n,r,t){var e,u;if(r=Dn(r,t),rr(n))for(e=0,u=n.length;e<u;e++)r(n[e],e,n);else{var i=nn(n);for(e=0,u=i.length;e<u;e++)r(n[i[e]],i[e],n)}return n}function mr(n,r,t){r=Fn(r,t);for(var e=!rr(n)&&nn(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var a=e?e[o]:o;i[o]=r(n[a],a,n)}return i}function jr(n){var r=function(r,t,e,u){var i=!rr(r)&&nn(r),o=(i||r).length,a=n>0?0:o-1;for(u||(e=r[i?i[a]:a],a+=n);a>=0&&a<o;a+=n){var f=i?i[a]:a;e=t(e,r[f],f,r)}return e};return function(n,t,e,u){var i=arguments.length>=3;return r(n,Dn(t,u,4),e,i)}}var wr=jr(1),_r=jr(-1);function Ar(n,r,t){var e=[];return r=Fn(r,t),br(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function xr(n,r,t){r=Fn(r,t);for(var e=!rr(n)&&nn(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!r(n[o],o,n))return!1}return!0}function Sr(n,r,t){r=Fn(r,t);for(var e=!rr(n)&&nn(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(r(n[o],o,n))return!0}return!1}function Or(n,r,t,e){return rr(n)||(n=mn(n)),("number"!=typeof t||e)&&(t=0),yr(n,r,t)>=0}var Mr=j((function(n,r,t){var e,u;return D(r)?u=r:(r=En(r),e=r.slice(0,-1),r=r[r.length-1]),mr(n,(function(n){var i=u;if(!i){if(e&&e.length&&(n=Bn(n,e)),null==n)return;i=n[r]}return null==i?i:i.apply(n,t)}))}));function Er(n,r){return mr(n,Tn(r))}function Br(n,r,t){var e,u,i=-1/0,o=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=rr(n)?n:mn(n)).length;a<f;a++)null!=(e=n[a])&&e>i&&(i=e);else r=Fn(r,t),br(n,(function(n,t,e){((u=r(n,t,e))>o||u===-1/0&&i===-1/0)&&(i=n,o=u)}));return i}var Nr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function kr(n){return n?U(n)?o.call(n):S(n)?n.match(Nr):rr(n)?mr(n,kn):mn(n):[]}function Ir(n,r,t){if(null==r||t)return rr(n)||(n=mn(n)),n[qn(n.length-1)];var e=kr(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var i=u-1,o=0;o<r;o++){var a=qn(o,i),f=e[o];e[o]=e[a],e[a]=f}return e.slice(0,r)}function Tr(n,r){return function(t,e,u){var i=r?[[],[]]:{};return e=Fn(e,u),br(t,(function(r,u){var o=e(r,u,t);n(i,r,o)})),i}}var Dr=Tr((function(n,r,t){W(n,t)?n[t].push(r):n[t]=[r]})),Rr=Tr((function(n,r,t){n[t]=r})),Vr=Tr((function(n,r,t){W(n,t)?n[t]++:n[t]=1})),Fr=Tr((function(n,r,t){n[t?0:1].push(r)}),!0);function Pr(n,r,t){return r in t}var qr=j((function(n,r){var t={},e=r[0];if(null==n)return t;D(e)?(r.length>1&&(e=Dn(e,r[1])),r=on(n)):(e=Pr,r=tr(r,!1,!1),n=Object(n));for(var u=0,i=r.length;u<i;u++){var o=r[u],a=n[o];e(a,o,n)&&(t[o]=a)}return t})),Ur=j((function(n,r){var t,e=r[0];return D(e)?(e=or(e),r.length>1&&(t=r[1])):(r=mr(tr(r,!1,!1),String),e=function(n,t){return!Or(r,t)}),qr(n,e,t)}));function Wr(n,r,t){return o.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function zr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:Wr(n,n.length-r)}function Lr(n,r,t){return o.call(n,null==r||t?1:r)}var $r=j((function(n,r){return r=tr(r,!0,!0),Ar(n,(function(n){return!Or(r,n)}))})),Cr=j((function(n,r){return $r(n,r)}));function Kr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=Fn(t,e));for(var u=[],i=[],o=0,a=Y(n);o<a;o++){var f=n[o],c=t?t(f,o,n):f;r&&!t?(o&&i===c||u.push(f),i=c):t?Or(i,c)||(i.push(c),u.push(f)):Or(u,f)||u.push(f)}return u}var Jr=j((function(n){return Kr(tr(n,!0,!0))}));function Gr(n){for(var r=n&&Br(n,Y).length||0,t=Array(r),e=0;e<r;e++)t[e]=Er(n,e);return t}var Hr=j(Gr);function Qr(n,r){return n._chain?tn(r).chain():r}function Xr(n){return br(wn(n),(function(r){var t=tn[r]=n[r];tn.prototype[r]=function(){var n=[this._wrapped];return i.apply(n,arguments),Qr(this,t.apply(tn,n))}})),tn}br(["pop","push","reverse","shift","sort","splice","unshift"],(function(n){var r=t[n];tn.prototype[n]=function(){var t=this._wrapped;return null!=t&&(r.apply(t,arguments),"shift"!==n&&"splice"!==n||0!==t.length||delete t[0]),Qr(this,t)}})),br(["concat","join","slice"],(function(n){var r=t[n];tn.prototype[n]=function(){var n=this._wrapped;return null!=n&&(n=r.apply(n,arguments)),Qr(this,n)}}));var Yr=Xr({__proto__:null,VERSION:n,restArguments:j,isObject:w,isNull:function(n){return null===n},isUndefined:_,isBoolean:A,isElement:function(n){return!(!n||1!==n.nodeType)},isString:S,isNumber:O,isDate:M,isRegExp:E,isError:B,isSymbol:N,isArrayBuffer:k,isDataView:q,isArray:U,isFunction:D,isArguments:L,isFinite:function(n){return!N(n)&&d(n)&&!isNaN(parseFloat(n))},isNaN:$,isTypedArray:X,isEmpty:function(n){if(null==n)return!0;var r=Y(n);return"number"==typeof r&&(U(n)||S(n)||L(n))?0===r:0===Y(nn(n))},isMatch:rn,isEqual:function(n,r){for(var t=[{a:n,b:r}],e=[],i=[];t.length;){var o=t.pop();if(!0!==o){if((n=o.a)===(r=o.b)){if(0!==n||1/n==1/r)continue;return!1}if(null==n||null==r)return!1;if(n!=n){if(r!=r)continue;return!1}var f=typeof n;if("function"!==f&&"object"!==f&&"object"!=typeof r)return!1;n instanceof tn&&(n=n._wrapped),r instanceof tn&&(r=r._wrapped);var c=a.call(n);if(c!==a.call(r))return!1;if(V&&"[object Object]"==c&&q(n)){if(!q(r))return!1;c=un}switch(c){case"[object RegExp]":case"[object String]":if(""+n==""+r)continue;return!1;case"[object Number]":t.push({a:+n,b:+r});continue;case"[object Date]":case"[object Boolean]":if(+n==+r)continue;return!1;case"[object Symbol]":if(u.valueOf.call(n)===u.valueOf.call(r))continue;return!1;case"[object ArrayBuffer]":case un:t.push({a:en(n),b:en(r)});continue}var l="[object Array]"===c;if(!l&&X(n)){if(G(n)!==G(r))return!1;if(n.buffer===r.buffer&&n.byteOffset===r.byteOffset)continue;l=!0}if(!l){if("object"!=typeof n||"object"!=typeof r)return!1;var s=n.constructor,p=r.constructor;if(s!==p&&!(D(s)&&s instanceof s&&D(p)&&p instanceof p)&&"constructor"in n&&"constructor"in r)return!1}for(var v=e.length;v--;)if(e[v]===n){if(i[v]===r)break;return!1}if(!(v>=0))if(e.push(n),i.push(r),t.push(!0),l){if((v=n.length)!==r.length)return!1;for(;v--;)t.push({a:n[v],b:r[v]})}else{var h,y=nn(n);if(v=y.length,nn(r).length!==v)return!1;for(;v--;){if(!W(r,h=y[v]))return!1;t.push({a:n[h],b:r[h]})}}}else e.pop(),i.pop()}return!0},isMap:yn,isWeakMap:dn,isSet:gn,isWeakSet:bn,keys:nn,allKeys:on,values:mn,pairs:function(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=[r[u],n[r[u]]];return e},invert:jn,functions:wn,methods:wn,extend:An,extendOwn:xn,assign:xn,defaults:Sn,create:function(n,r){var t=On(n);return r&&xn(t,r),t},clone:function(n){return w(n)?U(n)?n.slice():An({},n):n},tap:function(n,r){return r(n),n},get:Nn,has:function(n,r){for(var t=(r=En(r)).length,e=0;e<t;e++){var u=r[e];if(!W(n,u))return!1;n=n[u]}return!!t},mapObject:function(n,r,t){r=Fn(r,t);for(var e=nn(n),u=e.length,i={},o=0;o<u;o++){var a=e[o];i[a]=r(n[a],a,n)}return i},identity:kn,constant:C,noop:Pn,toPath:Mn,property:Tn,propertyOf:function(n){return null==n?Pn:function(r){return Nn(n,r)}},matcher:In,matches:In,times:function(n,r,t){var e=Array(Math.max(0,n));r=Dn(r,t,1);for(var u=0;u<n;u++)e[u]=r(u);return e},random:qn,now:Un,escape:Ln,unescape:$n,templateSettings:Cn,template:function(n,r,t){!r&&t&&(r=t),r=Sn({},r,tn.templateSettings);var e=RegExp([(r.escape||Kn).source,(r.interpolate||Kn).source,(r.evaluate||Kn).source].join("|")+"|$","g"),u=0,i="__p+='";n.replace(e,(function(r,t,e,o,a){return i+=n.slice(u,a).replace(Gn,Hn),u=a+r.length,t?i+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),r})),i+="';\n";var o,a=r.variable;if(a){if(!Qn.test(a))throw new Error("variable is not a bare identifier: "+a)}else i="with(obj||{}){\n"+i+"}\n",a="obj";i="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{o=new Function(a,"_",i)}catch(n){throw n.source=i,n}var f=function(n){return o.call(this,n,tn)};return f.source="function("+a+"){\n"+i+"}",f},result:function(n,r,t){var e=(r=En(r)).length;if(!e)return D(t)?t.call(n):t;for(var u=0;u<e;u++){var i=null==n?void 0:n[r[u]];void 0===i&&(i=t,u=e),n=D(i)?i.call(n):i}return n},uniqueId:function(n){var r=++Xn+"";return n?n+r:r},chain:function(n){var r=tn(n);return r._chain=!0,r},iteratee:Vn,partial:Zn,bind:nr,bindAll:er,memoize:function(n,r){var t=function(e){var u=t.cache,i=""+(r?r.apply(this,arguments):e);return W(u,i)||(u[i]=n.apply(this,arguments)),u[i]};return t.cache={},t},delay:ur,defer:ir,throttle:function(n,r,t){var e,u,i,o,a=0;t||(t={});var f=function(){a=!1===t.leading?0:Un(),e=null,o=n.apply(u,i),e||(u=i=null)},c=function(){var c=Un();a||!1!==t.leading||(a=c);var l=r-(c-a);return u=this,i=arguments,l<=0||l>r?(e&&(clearTimeout(e),e=null),a=c,o=n.apply(u,i),e||(u=i=null)):e||!1===t.trailing||(e=setTimeout(f,l)),o};return c.cancel=function(){clearTimeout(e),a=0,e=u=i=null},c},debounce:function(n,r,t){var e,u,i,o,a,f=function(){var c=Un()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(o=n.apply(a,i)),e||(i=a=null))},c=j((function(c){return a=this,i=c,u=Un(),e||(e=setTimeout(f,r),t&&(o=n.apply(a,i))),o}));return c.cancel=function(){clearTimeout(e),e=i=a=null},c},wrap:function(n,r){return Zn(r,n)},negate:or,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:ar,once:fr,findKey:cr,findIndex:sr,findLastIndex:pr,sortedIndex:vr,indexOf:yr,lastIndexOf:dr,find:gr,detect:gr,findWhere:function(n,r){return gr(n,In(r))},each:br,forEach:br,map:mr,collect:mr,reduce:wr,foldl:wr,inject:wr,reduceRight:_r,foldr:_r,filter:Ar,select:Ar,reject:function(n,r,t){return Ar(n,or(Fn(r)),t)},every:xr,all:xr,some:Sr,any:Sr,contains:Or,includes:Or,include:Or,invoke:Mr,pluck:Er,where:function(n,r){return Ar(n,In(r))},max:Br,min:function(n,r,t){var e,u,i=1/0,o=1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=rr(n)?n:mn(n)).length;a<f;a++)null!=(e=n[a])&&e<i&&(i=e);else r=Fn(r,t),br(n,(function(n,t,e){((u=r(n,t,e))<o||u===1/0&&i===1/0)&&(i=n,o=u)}));return i},shuffle:function(n){return Ir(n,1/0)},sample:Ir,sortBy:function(n,r,t){var e=0;return r=Fn(r,t),Er(mr(n,(function(n,t,u){return{value:n,index:e++,criteria:r(n,t,u)}})).sort((function(n,r){var t=n.criteria,e=r.criteria;if(t!==e){if(t>e||void 0===t)return 1;if(t<e||void 0===e)return-1}return n.index-r.index})),"value")},groupBy:Dr,indexBy:Rr,countBy:Vr,partition:Fr,toArray:kr,size:function(n){return null==n?0:rr(n)?n.length:nn(n).length},pick:qr,omit:Ur,first:zr,head:zr,take:zr,initial:Wr,last:function(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[n.length-1]:Lr(n,Math.max(0,n.length-r))},rest:Lr,tail:Lr,drop:Lr,compact:function(n){return Ar(n,Boolean)},flatten:function(n,r){return tr(n,r,!1)},without:Cr,uniq:Kr,unique:Kr,union:Jr,intersection:function(n){for(var r=[],t=arguments.length,e=0,u=Y(n);e<u;e++){var i=n[e];if(!Or(r,i)){var o;for(o=1;o<t&&Or(arguments[o],i);o++);o===t&&r.push(i)}}return r},difference:$r,unzip:Gr,transpose:Gr,zip:Hr,object:function(n,r){for(var t={},e=0,u=Y(n);e<u;e++)r?t[n[e]]=r[e]:t[n[e][0]]=n[e][1];return t},range:function(n,r,t){null==r&&(r=n||0,n=0),t||(t=r<n?-1:1);for(var e=Math.max(Math.ceil((r-n)/t),0),u=Array(e),i=0;i<e;i++,n+=t)u[i]=n;return u},chunk:function(n,r){if(null==r||r<1)return[];for(var t=[],e=0,u=n.length;e<u;)t.push(o.call(n,e,e+=r));return t},mixin:Xr,default:tn});return Yr._=Yr,Yr}));
14
15(function(){var t=this;var e=t.Backbone;var i=[];var r=i.push;var s=i.slice;var n=i.splice;var a;if(typeof exports!=="undefined"){a=exports}else{a=t.Backbone={}}a.VERSION="1.0.0";var h=t._;if(!h&&typeof require!=="undefined")h=require("underscore");a.$=t.jQuery||t.Zepto||t.ender||t.$;a.noConflict=function(){t.Backbone=e;return this};a.emulateHTTP=false;a.emulateJSON=false;var o=a.Events={on:function(t,e,i){if(!l(this,"on",t,[e,i])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);r.push({callback:e,context:i,ctx:i||this});return this},once:function(t,e,i){if(!l(this,"once",t,[e,i])||!e)return this;var r=this;var s=h.once(function(){r.off(t,s);e.apply(this,arguments)});s._callback=e;return this.on(t,s,i)},off:function(t,e,i){var r,s,n,a,o,u,c,f;if(!this._events||!l(this,"off",t,[e,i]))return this;if(!t&&!e&&!i){this._events={};return this}a=t?[t]:h.keys(this._events);for(o=0,u=a.length;o<u;o++){t=a[o];if(n=this._events[t]){this._events[t]=r=[];if(e||i){for(c=0,f=n.length;c<f;c++){s=n[c];if(e&&e!==s.callback&&e!==s.callback._callback||i&&i!==s.context){r.push(s)}}}if(!r.length)delete this._events[t]}}return this},trigger:function(t){if(!this._events)return this;var e=s.call(arguments,1);if(!l(this,"trigger",t,e))return this;var i=this._events[t];var r=this._events.all;if(i)c(i,e);if(r)c(r,arguments);return this},stopListening:function(t,e,i){var r=this._listeners;if(!r)return this;var s=!e&&!i;if(typeof e==="object")i=this;if(t)(r={})[t._listenerId]=t;for(var n in r){r[n].off(e,i,this);if(s)delete this._listeners[n]}return this}};var u=/\s+/;var l=function(t,e,i,r){if(!i)return true;if(typeof i==="object"){for(var s in i){t[e].apply(t,[s,i[s]].concat(r))}return false}if(u.test(i)){var n=i.split(u);for(var a=0,h=n.length;a<h;a++){t[e].apply(t,[n[a]].concat(r))}return false}return true};var c=function(t,e){var i,r=-1,s=t.length,n=e[0],a=e[1],h=e[2];switch(e.length){case 0:while(++r<s)(i=t[r]).callback.call(i.ctx);return;case 1:while(++r<s)(i=t[r]).callback.call(i.ctx,n);return;case 2:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a);return;case 3:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a,h);return;default:while(++r<s)(i=t[r]).callback.apply(i.ctx,e)}};var f={listenTo:"on",listenToOnce:"once"};h.each(f,function(t,e){o[e]=function(e,i,r){var s=this._listeners||(this._listeners={});var n=e._listenerId||(e._listenerId=h.uniqueId("l"));s[n]=e;if(typeof i==="object")r=this;e[t](i,r,this);return this}});o.bind=o.on;o.unbind=o.off;h.extend(a,o);var d=a.Model=function(t,e){var i;var r=t||{};e||(e={});this.cid=h.uniqueId("c");this.attributes={};h.extend(this,h.pick(e,p));if(e.parse)r=this.parse(r,e)||{};if(i=h.result(this,"defaults")){r=h.defaults({},r,i)}this.set(r,e);this.changed={};this.initialize.apply(this,arguments)};var p=["url","urlRoot","collection"];h.extend(d.prototype,o,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return h.clone(this.attributes)},sync:function(){return a.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return h.escape(this.get(t))},has:function(t){return this.get(t)!=null},set:function(t,e,i){var r,s,n,a,o,u,l,c;if(t==null)return this;if(typeof t==="object"){s=t;i=e}else{(s={})[t]=e}i||(i={});if(!this._validate(s,i))return false;n=i.unset;o=i.silent;a=[];u=this._changing;this._changing=true;if(!u){this._previousAttributes=h.clone(this.attributes);this.changed={}}c=this.attributes,l=this._previousAttributes;if(this.idAttribute in s)this.id=s[this.idAttribute];for(r in s){e=s[r];if(!h.isEqual(c[r],e))a.push(r);if(!h.isEqual(l[r],e)){this.changed[r]=e}else{delete this.changed[r]}n?delete c[r]:c[r]=e}if(!o){if(a.length)this._pending=true;for(var f=0,d=a.length;f<d;f++){this.trigger("change:"+a[f],this,c[a[f]],i)}}if(u)return this;if(!o){while(this._pending){this._pending=false;this.trigger("change",this,i)}}this._pending=false;this._changing=false;return this},unset:function(t,e){return this.set(t,void 0,h.extend({},e,{unset:true}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,h.extend({},t,{unset:true}))},hasChanged:function(t){if(t==null)return!h.isEmpty(this.changed);return h.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?h.clone(this.changed):false;var e,i=false;var r=this._changing?this._previousAttributes:this.attributes;for(var s in t){if(h.isEqual(r[s],e=t[s]))continue;(i||(i={}))[s]=e}return i},previous:function(t){if(t==null||!this._previousAttributes)return null;return this._previousAttributes[t]},previousAttributes:function(){return h.clone(this._previousAttributes)},fetch:function(t){t=t?h.clone(t):{};if(t.parse===void 0)t.parse=true;var e=this;var i=t.success;t.success=function(r){if(!e.set(e.parse(r,t),t))return false;if(i)i(e,r,t);e.trigger("sync",e,r,t)};R(this,t);return this.sync("read",this,t)}
15,save:function(t,e,i){var r,s,n,a=this.attributes;if(t==null||typeof t==="object"){r=t;i=e}else{(r={})[t]=e}if(r&&(!i||!i.wait)&&!this.set(r,i))return false;i=h.extend({validate:true},i);if(!this._validate(r,i))return false;if(r&&i.wait){this.attributes=h.extend({},a,r)}if(i.parse===void 0)i.parse=true;var o=this;var u=i.success;i.success=function(t){o.attributes=a;var e=o.parse(t,i);if(i.wait)e=h.extend(r||{},e);if(h.isObject(e)&&!o.set(e,i)){return false}if(u)u(o,t,i);o.trigger("sync",o,t,i)};R(this,i);s=this.isNew()?"create":i.patch?"patch":"update";if(s==="patch")i.attrs=r;n=this.sync(s,this,i);if(r&&i.wait)this.attributes=a;return n},destroy:function(t){t=t?h.clone(t):{};var e=this;var i=t.success;var r=function(){e.trigger("destroy",e,e.collection,t)};t.success=function(s){if(t.wait||e.isNew())r();if(i)i(e,s,t);if(!e.isNew())e.trigger("sync",e,s,t)};if(this.isNew()){t.success();return false}R(this,t);var s=this.sync("delete",this,t);if(!t.wait)r();return s},url:function(){var t=h.result(this,"urlRoot")||h.result(this.collection,"url")||U();if(this.isNew())return t;return t+(t.charAt(t.length-1)==="/"?"":"/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return this.id==null},isValid:function(t){return this._validate({},h.extend(t||{},{validate:true}))},_validate:function(t,e){if(!e.validate||!this.validate)return true;t=h.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;if(!i)return true;this.trigger("invalid",this,i,h.extend(e||{},{validationError:i}));return false}});var v=["keys","values","pairs","invert","pick","omit"];h.each(v,function(t){d.prototype[t]=function(){var e=s.call(arguments);e.unshift(this.attributes);return h[t].apply(h,e)}});var g=a.Collection=function(t,e){e||(e={});if(e.url)this.url=e.url;if(e.model)this.model=e.model;if(e.comparator!==void 0)this.comparator=e.comparator;this._reset();this.initialize.apply(this,arguments);if(t)this.reset(t,h.extend({silent:true},e))};var m={add:true,remove:true,merge:true};var y={add:true,merge:false,remove:false};h.extend(g.prototype,o,{model:d,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return a.sync.apply(this,arguments)},add:function(t,e){return this.set(t,h.defaults(e||{},y))},remove:function(t,e){t=h.isArray(t)?t.slice():[t];e||(e={});var i,r,s,n;for(i=0,r=t.length;i<r;i++){n=this.get(t[i]);if(!n)continue;delete this._byId[n.id];delete this._byId[n.cid];s=this.indexOf(n);this.models.splice(s,1);this.length--;if(!e.silent){e.index=s;n.trigger("remove",n,this,e)}this._removeReference(n)}return this},set:function(t,e){e=h.defaults(e||{},m);if(e.parse)t=this.parse(t,e);if(!h.isArray(t))t=t?[t]:[];var i,s,a,o,u,l;var c=e.at;var f=this.comparator&&c==null&&e.sort!==false;var d=h.isString(this.comparator)?this.comparator:null;var p=[],v=[],g={};for(i=0,s=t.length;i<s;i++){if(!(a=this._prepareModel(t[i],e)))continue;if(u=this.get(a)){if(e.remove)g[u.cid]=true;if(e.merge){u.set(a.attributes,e);if(f&&!l&&u.hasChanged(d))l=true}}else if(e.add){p.push(a);a.on("all",this._onModelEvent,this);this._byId[a.cid]=a;if(a.id!=null)this._byId[a.id]=a}}if(e.remove){for(i=0,s=this.length;i<s;++i){if(!g[(a=this.models[i]).cid])v.push(a)}if(v.length)this.remove(v,e)}if(p.length){if(f)l=true;this.length+=p.length;if(c!=null){n.apply(this.models,[c,0].concat(p))}else{r.apply(this.models,p)}}if(l)this.sort({silent:true});if(e.silent)return this;for(i=0,s=p.length;i<s;i++){(a=p[i]).trigger("add",a,this,e)}if(l)this.trigger("sort",this,e);return this},reset:function(t,e){e||(e={});for(var i=0,r=this.models.length;i<r;i++){this._removeReference(this.models[i])}e.previousModels=this.models;this._reset();this.add(t,h.extend({silent:true},e));if(!e.silent)this.trigger("reset",this,e);return this},push:function(t,e){t=this._prepareModel(t,e);this.add(t,h.extend({at:this.length},e));return t},pop:function(t){var e=this.at(this.length-1);this.remove(e,t);return e},unshift:function(t,e){t=this._prepareModel(t,e);this.add(t,h.extend({at:0},e));return t},shift:function(t){var e=this.at(0);this.remove(e,t);return e},slice:function(t,e){return this.models.slice(t,e)},get:function(t){if(t==null)return void 0;return this._byId[t.id!=null?t.id:t.cid||t]},at:function(t){return this.models[t]},where:function(t,e){if(h.isEmpty(t))return e?void 0:[];return this[e?"find":"filter"](function(e){for(var i in t){if(t[i]!==e.get(i))return false}return true})},findWhere:function(t){return this.where(t,true)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");t||(t={});if(h.isString(this.comparator)||this.comparator.length===1){this.models=this.sortBy(this.comparator,this)}else{this.models.sort(h.bind(this.comparator,this))}if(!t.silent)this.trigger("sort",this,t);return this}
15,sortedIndex:function(t,e,i){e||(e=this.comparator);var r=h.isFunction(e)?e:function(t){return t.get(e)};return h.sortedIndex(this.models,t,r,i)},pluck:function(t){return h.invoke(this.models,"get",t)},fetch:function(t){t=t?h.clone(t):{};if(t.parse===void 0)t.parse=true;var e=t.success;var i=this;t.success=function(r){var s=t.reset?"reset":"set";i[s](r,t);if(e)e(i,r,t);i.trigger("sync",i,r,t)};R(this,t);return this.sync("read",this,t)},create:function(t,e){e=e?h.clone(e):{};if(!(t=this._prepareModel(t,e)))return false;if(!e.wait)this.add(t,e);var i=this;var r=e.success;e.success=function(s){if(e.wait)i.add(t,e);if(r)r(t,s,e)};t.save(null,e);return t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(t,e){if(t instanceof d){if(!t.collection)t.collection=this;return t}e||(e={});e.collection=this;var i=new this.model(t,e);if(!i._validate(t,e)){this.trigger("invalid",this,t,e);return false}return i},_removeReference:function(t){if(this===t.collection)delete t.collection;t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,r){if((t==="add"||t==="remove")&&i!==this)return;if(t==="destroy")this.remove(e,r);if(e&&t==="change:"+e.idAttribute){delete this._byId[e.previous(e.idAttribute)];if(e.id!=null)this._byId[e.id]=e}this.trigger.apply(this,arguments)}});var _=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain"];h.each(_,function(t){g.prototype[t]=function(){var e=s.call(arguments);e.unshift(this.models);return h[t].apply(h,e)}});var w=["groupBy","countBy","sortBy"];h.each(w,function(t){g.prototype[t]=function(e,i){var r=h.isFunction(e)?e:function(t){return t.get(e)};return h[t](this.models,r,i)}});var b=a.View=function(t){this.cid=h.uniqueId("view");this._configure(t||{});this._ensureElement();this.initialize.apply(this,arguments);this.delegateEvents()};var x=/^(\S+)\s*(.*)$/;var E=["model","collection","el","id","attributes","className","tagName","events"];h.extend(b.prototype,o,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){this.$el.remove();this.stopListening();return this},setElement:function(t,e){if(this.$el)this.undelegateEvents();this.$el=t instanceof a.$?t:a.$(t);this.el=this.$el[0];if(e!==false)this.delegateEvents();return this},delegateEvents:function(t){if(!(t||(t=h.result(this,"events"))))return this;this.undelegateEvents();for(var e in t){var i=t[e];if(!h.isFunction(i))i=this[t[e]];if(!i)continue;var r=e.match(x);var s=r[1],n=r[2];i=h.bind(i,this);s+=".delegateEvents"+this.cid;if(n===""){this.$el.on(s,i)}else{this.$el.on(s,n,i)}}return this},undelegateEvents:function(){this.$el.off(".delegateEvents"+this.cid);return this},_configure:function(t){if(this.options)t=h.extend({},h.result(this,"options"),t);h.extend(this,h.pick(t,E));this.options=t},_ensureElement:function(){if(!this.el){var t=h.extend({},h.result(this,"attributes"));if(this.id)t.id=h.result(this,"id");if(this.className)t["class"]=h.result(this,"className");var e=a.$("<"+h.result(this,"tagName")+">").attr(t);this.setElement(e,false)}else{this.setElement(h.result(this,"el"),false)}}});a.sync=function(t,e,i){var r=k[t];h.defaults(i||(i={}),{emulateHTTP:a.emulateHTTP,emulateJSON:a.emulateJSON});var s={type:r,dataType:"json"};if(!i.url){s.url=h.result(e,"url")||U()}if(i.data==null&&e&&(t==="create"||t==="update"||t==="patch")){s.contentType="application/json";s.data=JSON.stringify(i.attrs||e.toJSON(i))}if(i.emulateJSON){s.contentType="application/x-www-form-urlencoded";s.data=s.data?{model:s.data}:{}}if(i.emulateHTTP&&(r==="PUT"||r==="DELETE"||r==="PATCH")){s.type="POST";if(i.emulateJSON)s.data._method=r;var n=i.beforeSend;i.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",r);if(n)return n.apply(this,arguments)}}if(s.type!=="GET"&&!i.emulateJSON){s.processData=false}if(s.type==="PATCH"&&window.ActiveXObject&&!(window.external&&window.external.msActiveXFilteringEnabled)){s.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var o=i.xhr=a.ajax(h.extend(s,i));e.trigger("request",e,o,i);return o};var k={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};a.ajax=function(){return a.$.ajax.apply(a.$,arguments)};var S=a.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var $=/\((.*?)\)/g;var T=/(\(\?)?:\w+/g;var H=/\*\w+/g;var A=/[\-{}\[\]+?.,\\\^$|#\s]/g;h.extend(S.prototype,o,{initialize:function(){}
15,route:function(t,e,i){if(!h.isRegExp(t))t=this._routeToRegExp(t);if(h.isFunction(e)){i=e;e=""}if(!i)i=this[e];var r=this;a.history.route(t,function(s){var n=r._extractParameters(t,s);i&&i.apply(r,n);r.trigger.apply(r,["route:"+e].concat(n));r.trigger("route",e,n);a.history.trigger("route",r,e,n)});return this},navigate:function(t,e){a.history.navigate(t,e);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=h.result(this,"routes");var t,e=h.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(A,"\\$&").replace($,"(?:$1)?").replace(T,function(t,e){return e?t:"([^/]+)"}).replace(H,"(.*?)");return new RegExp("^"+t+"$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return h.map(i,function(t){return t?decodeURIComponent(t):null})}});var I=a.History=function(){this.handlers=[];h.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var N=/^[#\/]|\s+$/g;var P=/^\/+|\/+$/g;var O=/msie [\w.]+/;var C=/\/$/;I.started=false;h.extend(I.prototype,o,{interval:50,getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=this.location.pathname;var i=this.root.replace(C,"");if(!t.indexOf(i))t=t.substr(i.length)}else{t=this.getHash()}}return t.replace(N,"")},start:function(t){if(I.started)throw new Error("Backbone.history has already been started");I.started=true;this.options=h.extend({},{root:"/"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var e=this.getFragment();var i=document.documentMode;var r=O.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(P,"/");if(r&&this._wantsHashChange){this.iframe=a.$('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow;this.navigate(e)}if(this._hasPushState){a.$(window).on("popstate",this.checkUrl)}else if(this._wantsHashChange&&"onhashchange"in window&&!r){a.$(window).on("hashchange",this.checkUrl)}else if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}this.fragment=e;var s=this.location;var n=s.pathname.replace(/[^\/]$/,"$&/")===this.root;if(this._wantsHashChange&&this._wantsPushState&&!this._hasPushState&&!n){this.fragment=this.getFragment(null,true);this.location.replace(this.root+this.location.search+"#"+this.fragment);return true}else if(this._wantsPushState&&this._hasPushState&&n&&s.hash){this.fragment=this.getHash().replace(N,"");this.history.replaceState({},document.title,this.root+this.fragment+s.search)}if(!this.options.silent)return this.loadUrl()},stop:function(){a.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl);clearInterval(this._checkUrlInterval);I.started=false},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe){e=this.getFragment(this.getHash(this.iframe))}if(e===this.fragment)return false;if(this.iframe)this.navigate(e);this.loadUrl()||this.loadUrl(this.getHash())},loadUrl:function(t){var e=this.fragment=this.getFragment(t);var i=h.any(this.handlers,function(t){if(t.route.test(e)){t.callback(e);return true}});return i},navigate:function(t,e){if(!I.started)return false;if(!e||e===true)e={trigger:e};t=this.getFragment(t||"");if(this.fragment===t)return;this.fragment=t;var i=this.root+t;if(this._hasPushState){this.history[e.replace?"replaceState":"pushState"]({},document.title,i)}else if(this._wantsHashChange){this._updateHash(this.location,t,e.replace);if(this.iframe&&t!==this.getFragment(this.getHash(this.iframe))){if(!e.replace)this.iframe.document.open().close();this._updateHash(this.iframe.location,t,e.replace)}}else{return this.location.assign(i)}if(e.trigger)this.loadUrl(t)},_updateHash:function(t,e,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else{t.hash="#"+e}}});a.history=new I;var j=function(t,e){var i=this;var r;if(t&&h.has(t,"constructor")){r=t.constructor}else{r=function(){return i.apply(this,arguments)}}h.extend(r,i,e);var s=function(){this.constructor=r};s.prototype=i.prototype;r.prototype=new s;if(t)h.extend(r.prototype,t);r.__super__=i.prototype;return r};d.extend=g.extend=S.extend=b.extend=I.extend=j;var U=function(){throw new Error('A "url" property or function must be specified')};var R=function(t,e){var i=e.error;e.error=function(r){if(i)i(t,r,e);t.trigger("error",t,r,e)}}}).call(this);
16/*
17//@ sourceMappingURL=backbone-min.map
18*/
19/*! EveEve (https://github.com/Takazudo/EveEve)
20 * lastupdate: 2014-09-30
21 * version: 0.1.1
22 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
23 * License: MIT */
24(function(){var t,l=[].slice;t=window,t.EveEve=function(){function t(){}return t.prototype.on=function(t,l){var i,s,n,e,c;for(null==this._callbacks&&(this._callbacks={}),i=t.split(" "),e=0,c=i.length;c>e;e++)s=i[e],(n=this._callbacks)[s]||(n[s]=[]),this._callbacks[s].push(l);return this},t.prototype.once=function(t,l){return this.on(t,function(){return this.off(t,arguments.callee),l.apply(this,arguments)}),this},t.prototype.trigger=function(){var t,i,s,n,e,c,r;if(t=arguments.length>=1?l.call(arguments,0):[],s=t.shift(),n=null!=(r=this._callbacks)?r[s]:void 0){for(e=0,c=n.length;c>e&&(i=n[e],i.apply(this,t)!==!1);e++);return this}},t.prototype.off=function(t,l){var i,s,n,e,c,r,a,o,h,u;if(!t)return this._callbacks={},this;for(s=t.split(" "),r=0,o=s.length;o>r;r++)if(c=s[r],e=null!=(u=this._callbacks)?u[c]:void 0)if(l)for(n=a=0,h=e.length;h>a;n=++a)i=e[n],i===l&&(e=e.slice(),e.splice(n,1),this._callbacks[c]=e);else delete this._callbacks[c];return this},t}()}).call(this);
25(function(factory){if(typeof define==="function"&&define.amd){define(["jquery"],function($){return factory($)})}else if(typeof module==="object"&&typeof module.exports==="object"){exports=factory(require("jquery"))}else{factory(jQuery)}})(function($){$.easing.jswing=$.easing.swing;var pow=Math.pow,sqrt=Math.sqrt,sin=Math.sin,cos=Math.cos,PI=Math.PI,c1=1.70158,c2=c1*1.525,c3=c1+1,c4=2*PI/3,c5=2*PI/4.5;function bounceOut(x){var n1=7.5625,d1=2.75;if(x<1/d1){return n1*x*x}else if(x<2/d1){return n1*(x-=1.5/d1)*x+.75}else if(x<2.5/d1){return n1*(x-=2.25/d1)*x+.9375}else{return n1*(x-=2.625/d1)*x+.984375}}$.extend($.easing,{def:"easeOutQuad",swing:function(x){return $.easing[$.easing.def](x)},easeInQuad:function(x){return x*x},easeOutQuad:function(x){return 1-(1-x)*(1-x)},easeInOutQuad:function(x){return x<.5?2*x*x:1-pow(-2*x+2,2)/2},easeInCubic:function(x){return x*x*x},easeOutCubic:function(x){return 1-pow(1-x,3)},easeInOutCubic:function(x){return x<.5?4*x*x*x:1-pow(-2*x+2,3)/2},easeInQuart:function(x){return x*x*x*x},easeOutQuart:function(x){return 1-pow(1-x,4)},easeInOutQuart:function(x){return x<.5?8*x*x*x*x:1-pow(-2*x+2,4)/2},easeInQuint:function(x){return x*x*x*x*x},easeOutQuint:function(x){return 1-pow(1-x,5)},easeInOutQuint:function(x){return x<.5?16*x*x*x*x*x:1-pow(-2*x+2,5)/2},easeInSine:function(x){return 1-cos(x*PI/2)},easeOutSine:function(x){return sin(x*PI/2)},easeInOutSine:function(x){return-(cos(PI*x)-1)/2},easeInExpo:function(x){return x===0?0:pow(2,10*x-10)},easeOutExpo:function(x){return x===1?1:1-pow(2,-10*x)},easeInOutExpo:function(x){return x===0?0:x===1?1:x<.5?pow(2,20*x-10)/2:(2-pow(2,-20*x+10))/2},easeInCirc:function(x){return 1-sqrt(1-pow(x,2))},easeOutCirc:function(x){return sqrt(1-pow(x-1,2))},easeInOutCirc:function(x){return x<.5?(1-sqrt(1-pow(2*x,2)))/2:(sqrt(1-pow(-2*x+2,2))+1)/2},easeInElastic:function(x){return x===0?0:x===1?1:-pow(2,10*x-10)*sin((x*10-10.75)*c4)},easeOutElastic:function(x){return x===0?0:x===1?1:pow(2,-10*x)*sin((x*10-.75)*c4)+1},easeInOutElastic:function(x){return x===0?0:x===1?1:x<.5?-(pow(2,20*x-10)*sin((20*x-11.125)*c5))/2:pow(2,-20*x+10)*sin((20*x-11.125)*c5)/2+1},easeInBack:function(x){return c3*x*x*x-c1*x*x},easeOutBack:function(x){return 1+c3*pow(x-1,3)+c1*pow(x-1,2)},easeInOutBack:function(x){return x<.5?pow(2*x,2)*((c2+1)*2*x-c2)/2:(pow(2*x-2,2)*((c2+1)*(x*2-2)+c2)+2)/2},easeInBounce:function(x){return 1-bounceOut(1-x)},easeOutBounce:bounceOut,easeInOutBounce:function(x){return x<.5?(1-bounceOut(1-2*x))/2:(1+bounceOut(2*x-1))/2}})});
26/*! EaseStepper (https://github.com/Takazudo/EaseStepper)
27 * lastupdate: 2013-05-21
28 * version: 1.1.0
29 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
30 * License: MIT */
31(function(){var t,e,n=[].slice,i={}.hasOwnProperty,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};e={},e.Event=function(){function t(){}return t.prototype.on=function(t,e){var n,i,r,s,a;for(null==this._callbacks&&(this._callbacks={}),n=t.split(" "),s=0,a=n.length;a>s;s++)i=n[s],(r=this._callbacks)[i]||(r[i]=[]),this._callbacks[i].push(e);return this},t.prototype.once=function(t,e){return this.on(t,function(){return this.off(t,arguments.callee),e.apply(this,arguments)}),this},t.prototype.trigger=function(){var t,e,i,r,s,a,o;if(t=arguments.length>
31=1?n.call(arguments,0):[],i=t.shift(),r=null!=(o=this._callbacks)?o[i]:void 0){for(s=0,a=r.length;a>s&&(e=r[s],e.apply(this,t)!==!1);s++);return this}},t.prototype.off=function(t,e){var n,i,r,s,a,o;if(!t)return this._callbacks={},this;if(r=null!=(o=this._callbacks)?o[t]:void 0,!r)return this;if(!e)return delete this._callbacks[t],this;for(i=s=0,a=r.length;a>s;i=++s)if(n=r[i],n===e){r=r.slice(),r.splice(i,1),this._callbacks[t]=r;break}return this},t}(),t=function(t){function e(t){this.options=t,this._tweakOptions(),this._whileEasing=!1,this._stopRequested=!1}return r(e,t),e.prototype._tweakOptions=function(){var t;return t=this.options,t.interval||(t.interval=13),t.done&&this.done(t.done),t.beginningValue||(t.beginningValue=0),t.valueInChange||(t.valueInChange=t.endValue-t.beginningValue),this},e.prototype._triggerEvent=function(t,e,n,i){return this._currentData={elapsedTimeRate:e,valueChangeRate:n,value:i+this.options.beginningValue},this.trigger(t,this._currentData),this},e.prototype.start=function(){var t,e,n,i,r=this;return n=this.options,this._triggerEvent("start",0,0,0),e=0,t=0,this._whileEasing=!0,this._timerId=null,i=function(){var i,s;if(r._stopRequested!==!0)return e>=n.duration?(r._whileEasing=!1,r._triggerEvent("end",1,1,n.valueInChange),r._clearTimer(),void 0):(i=e/n.duration,s=n.easing(i,e,0,1,n.duration),t=n.valueInChange*s,r._triggerEvent("step",i,s,t),e+=n.interval)},this._timerId=setInterval(i,n.interval),this},e.prototype._clearTimer=function(){return this._timerId&&(clearInterval(this._timerId),this._timerId=null),this},e.prototype.stop=function(){return this._whileEasing===!1?!1:(this._clearTimer(),this._stopRequested=!0,this._triggerEvent("stop",this._currentData),this)},e.prototype.done=function(t){var e=this;return this.on("end",function(){return t(e)}),this},e}(e.Event),window.EaseStepperNs=e,window.EaseStepper=t}).call(this);
32/*! jQuery.EaseScroller (https://github.com/Takazudo/jQuery.EaseScroller)
33 * lastupdate: 2013-07-04
34 * version: 1.1.2
35 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
36 * License: MIT */
37(function(){var t={}.hasOwnProperty,e=function(e,r){function n(){this.constructor=e}for(var o in r)t.call(r,o)&&(e[o]=r[o]);return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e};(function(t,r,n){var o,s,i;return i={},s=t(r),o=t(n),i.normalizeEasing=function(e){return"string"===t.type(e)?t.easing[e]:e},i.yOf=function(t){var e;for(e=0;t.offsetParent;)e+=t.offsetTop,t=t.offsetParent;return e},i.isHash=function(t){return/^#.+$/.test(t)},i.getWhereTo=function(e){var r;return r=t(e),r.data("scrollto")||r.attr("href")},i.calcY=function(e){var r,n;if("number"===t.type(e))return e;if("string"===t.type(e)){if(!i.isHash(e))return!1;r=o.find(e)}else r=t(e);return r.size()?n=i.yOf(r[0]):null},i.scrollTop=function(){return o.scrollTop()||n.documentElement.scrollTop||n.body.scrollTop||r.pageYOffset||0},i.ua=function(){var e,r,n;return r={},n=navigator.userAgent,e=function(e){var o;return o=!1,t.each(e,function(t,e){var s;return s=RegExp(e,"i"),Boolean(n.match(s))?(r[e]=!0,o=!0):r[e]=!1,!0}),o},e(["iphone","ipod","ipad"]||e(["android"]))&&(r.mobile=!0),r}(),i.Scroller=function(n){function l(e){null==e&&(e={}),this.options=t.extend({},i.Scroller.defaults),e&&this.option(e),this._handleMobile()}var a;return e(l,n),a=["scrollstart","scrollend","scrollcancel"],l.defaults={speed:13,duration:350,changehash:!0,userskip:!0,selector:"a[href^=#]:not(.apply-noscroll)",adjustEndY:!1,dontAdjustEndYIfSelectorIs:null,dontAdjustEndYIfYis:null,easing:"swing"},l.prototype._handleMobile=function(){return i.ua.mobile?(this.options.userskip=!1,this):this},l.prototype._invokeScroll=function(){var e,n=this;return e=function(){var e,o,s;return n._scrollDefer=t.Deferred(),n._scrollDefer.always(function(){return n._reservedHash=null,n._scrollDefer=null}),e=n.options,o=new EaseStepper({interval:e.speed,easing:e.easing,duration:e.duration,beginningValue:n._startY,endValue:n._endY}),s=function(t){return r.scrollTo(n._startX,t.value)},o.on("start",function(){return n.trigger("scrollstart",n._endY,n._reservedHash)}),o.on("step",function(t){return n._cancelNext?(n._cancelNext=!1,n._scrollDefer.reject(),o.stop(),n.trigger("scrollcancel",n._endY,n._reservedHash)):s(t)}),o.on("end",function(t){return s(t),n.options.changehash&&n._reservedHash&&(location.hash=n._reservedHash),n._scrollDefer.resolve(),n.trigger("scrollend",n._endY,n._reservedHash),n._startX=null}),o.start()},this._scrollDefer?this.stop().then(e):e(),this},l.prototype._prepareForScroll=function(e,r){var n,s,l;return l=!0,this.options.changehash&&(l=!1),this.options.adjustEndY===!1&&(l=!1),(null!=r?r.adjustEndY:void 0)===!1&&(l=!1),i.isHash(e)&&(this._reservedHash=e,this.options.dontAdjustEndYIfSelectorIs&&o.find(e).is(this.options.dontAdjustEndYIfSelectorIs)&&(l=!1)),s=i.calcY(e),s===!1?this:(this._startY=i.scrollTop(),s===this._startY?this:(this._startX=o.scrollLeft(),"number"===t.type(this.options.dontAdjustEndYIfYis)&&s===this.options.dontAdjustEndYIfYis&&(l=!1),n=0,null!=(null!=r?r.adjustEndY:void 0)?n=r.adjustEndY:this.options.adjustEndY!==!1&&(n=this.options.adjustEndY),s+=n,this._endY=this._normalizeEndYOverDoc(s),this))},l.prototype._normalizeEndYOverDoc=function(t){var e,r;return e=o.height(),r=s.height(),t+r>e&&(t=e-r),0>t&&(t=0),t},l.prototype.stop=function(){var e=this;return t.Deferred(function(t){return e._scrollDefer?(e._cancelNext=!0,e._scrollDefer.fail(function(){return t.resolve()})):t.resolve()}).promise()},l.prototype.option=function(e){var r=this;return e?(this.options=t.extend({},this.options,e),this._handleMobile(),t.each(a,function(t,e){return r.options[e]&&r.on(e,r.options[e]),!0}),this.options.easing=i.normalizeEasing(this.options.easing),this):this.options},l.prototype.live=function(t){var e;return t=t||this.options.selector,e=this,o.on("click",t,function(t){var r;
37return t.preventDefault(),r=i.getWhereTo(this),e.scrollTo(r)}),this},l.prototype.scrollTo=function(t,e){return this._prepareForScroll(t,e),this._invokeScroll(),this._scrollDefer.promise()},l}(r.EaseStepperNs.Event),t.fn.easescrollable=function(e){var r;return r=new i.Scroller(e),this.each(function(){var e;return e=t(this),e.data("easescroller",r),e.data("easescrollerattached")?this:(e.on("click",function(t){return t.preventDefault(),r.scrollTo(i.getWhereTo(this))}),e.data("easescrollerattached",!0))})},t.EaseScrollerNs=i,t.EaseScroller=i.Scroller})(jQuery,window,document)}).call(this);
38// jquery.jsonp 2.4.0 (c)2012 Julian Aubourg | MIT License
39// https://github.com/jaubourg/jquery-jsonp
40(function(e){function t(){}function n(e){C=[e]}function r(e,t,n){return e&&e.apply&&e.apply(t.context||t,n)}function i(e){return/\?/.test(e)?"&":"?"}function O(c){function Y(e){z++||(W(),j&&(T[I]={s:[e]}),D&&(e=D.apply(c,[e])),r(O,c,[e,b,c]),r(_,c,[c,b]))}function Z(e){z++||(W(),j&&e!=w&&(T[I]=e),r(M,c,[c,e]),r(_,c,[c,e]))}c=e.extend({},k,c);var O=c.success,M=c.error,_=c.complete,D=c.dataFilter,P=c.callbackParameter,H=c.callback,B=c.cache,j=c.pageCache,F=c.charset,I=c.url,q=c.data,R=c.timeout,U,z=0,W=t,X,V,J,K,Q,G;return S&&S(function(e){e.done(O).fail(M),O=e.resolve,M=e.reject}).promise(c),c.abort=function(){!(z++)&&W()},r(c.beforeSend,c,[c])===!1||z?c:(I=I||u,q=q?typeof q=="string"?q:e.param(q,c.traditional):u,I+=q?i(I)+q:u,P&&(I+=i(I)+encodeURIComponent(P)+"=?"),!B&&!j&&(I+=i(I)+"_"+(new Date).getTime()+"="),I=I.replace(/=\?(&|$)/,"="+H+"$1"),j&&(U=T[I])?U.s?Y(U.s[0]):Z(U):(E[H]=n,K=e(y)[0],K.id=l+N++,F&&(K[o]=F),L&&L.version()<11.6?(Q=e(y)[0]).text="document.getElementById('"+K.id+"')."+p+"()":K[s]=s,A&&(K.htmlFor=K.id,K.event=h),K[d]=K[p]=K[v]=function(e){if(!K[m]||!/i/.test(K[m])){try{K[h]&&K[h]()}catch(t){}e=C,C=0,e?Y(e[0]):Z(a)}},K.src=I,W=function(e){G&&clearTimeout(G),K[v]=K[d]=K[p]=null,x[g](K),Q&&x[g](Q)},x[f](K,J=x.firstChild),Q&&x[f](Q,J),G=R>0&&setTimeout(function(){Z(w)},R)),c)}var s="async",o="charset",u="",a="error",f="insertBefore",l="_jqjsp",c="on",h=c+"click",p=c+a,d=c+"load",v=c+"readystatechange",m="readyState",g="removeChild",y="<script>",b="success",w="timeout",E=window,S=e.Deferred,x=e("head")[0]||document.documentElement,T={},N=0,C,k={callback:l,url:location.href},L=E.opera,A=!!e("<div>").html("<!--[if IE]><i><![endif]-->").find("i").length;O.setup=function(t){e.extend(k,t)},e.jsonp=O})(jQuery);
41/*!
42 * imagesLoaded PACKAGED v3.1.8
43 * JavaScript is all like "You images are done yet or what?"
44 * MIT License
45 */
46
47(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1
47);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function f(e){this.img=e}function c(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var f=r[o];this.addImage(f)}}},s.prototype.addImage=function(e){var t=new f(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),f.prototype=new t,f.prototype.check=function(){var e=v[this.img.src]||new c(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},f.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return c.prototype=new t,c.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},c.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit
47("confirm",this,t)},c.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
48;( function ( $ ) {
49
50  var Lineup = function(selector, option) {
51    this.lineupID = _.uniqueId('lineup-');
52    this.option = {
53      resize: true,
54      onBeforeRefresh: function() {},
55      onAfterRefresh: function() {}
56    };
57    this.init.apply(this, arguments);
58    return this;
59  };
60
61  Lineup.prototype = {
62    constructor: Lineup,
63    init: function(selector, option) {
64      this.option = $.extend({}, this.option, option);
65      this.el = $(selector);
66      if (this.el.length > 0) {
67        this.refresh();
68        this._eventify();
69      }
70      return this;
71    },
72    reset: function() {
73      this.el.css('height', '');
74      return this;
75    },
76    refresh: function() {
77      var that = this;
78      var rows = {};
79
80      that.option.onBeforeRefresh();
81
82      that.reset();
83
84      // 同じoffset.topのグループを作る
85      _.each(that.el, function(item, idx) {
86        var $item = $(item);
87        var offset_top = $item.offset().top;
88        rows["r"+offset_top] = rows["r"+offset_top] || [];
89        rows["r"+offset_top].push({
90          el: $item,
91          height: $item.height()
92        });
93      });
94      // グループごとに最大の高さを求めて、高さをそろえる
95      _.each(rows, function(row, idx) {
96        if (row.length===1) {
97          return;
98        }
99        var max = _.max(row, function(col){
100          return col.height;
101        }).height;
102        _.each(row, function(col, idx) {
103          $(col.el).height(max);
104        });
105      });
106
107      that.option.onAfterRefresh();
108
109      return this;
110    },
111    destroy: function() {
112      this.reset();
113      $(window).off("resize."+this.lineupID);
114    },
115    _eventify: function() {
116      if (this.option.resize) {
117        $(window).on("resize."+this.lineupID, $.proxy(this.refresh, this));
118      }
119      return this;
120    }
121  };
122
123
124  //@description Lineupをまとめて管理する
125  //@usage:
126  //new Lineups([
127  //  '.fuga',
128  //  {el:'.hoge',option:{}}
129  //]);
130  var Lineups = function(selectors, global_option) {
131    this.global_option = global_option || undefined;
132    this.items = [];
133    this.init.apply(this, arguments);
134    return this;
135  };
136
137  Lineups.prototype.init = function(targets){
138    var that = this;
139    _.each(targets, function(target){
140      that.add(target);
141    });
142    return this;
143  };
144
145  //@description 高さを揃えたい要素を追加する
146  //@usage
147  // lineups.add('.hoge');
148  // lineups.add({el:'.hoge',option:{}});
149  Lineups.prototype.add = function(target){
150    var that = this;
151    var lineup;
152    if (_.isString(target)) {
153      lineup = new Lineup(target, that.global_option);
154    } else {
155      //個別のオプションがあればそれを使用する
156      //なければ全体用オプションを使用する
157      lineup = new Lineup(target.el, target.option || that.global_option || {});
158    }
159    that.items.push(lineup);
160    return this;
161  };
162
163  //@description すべてのlineupを更新する
164  Lineups.prototype.refreshAll = function(){
165    _.each(this.items, function(lineup){
166      lineup.refresh();
167    });
168    return this;
169  };
170
171  //@description heightをautoにする
172  Lineups.prototype.resetAll = function(){
173    _.each(this.items, function(lineup){
174      lineup.reset();
175    });
176    return this;
177  };
178
179  //@description 貼ったイベントなどを削除する
180  Lineups.prototype.destroyAll = function(){
181    _.each(this.items, function(lineup){
182      lineup.destroy();
183    });
184    return this;
185  };
186
187  window.Lineups = Lineups;
188
189} )( jQuery );
190
191/*global jQuery */
192/*jshint browser:true */
193/*!
194* FitVids 1.1
195*
196* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
197* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
198* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
199*
200*/
201
202(function( $ ){
203
204  "use strict";
205
206  $.fn.fitVids = function( options ) {
207    var settings = {
208      customSelector: null
209    };
210
211    if(!document.getElementById('fit-vids-style')) {
212      // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js
213      var head = document.head || document.getElementsByTagName('head')[0];
214      var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';
215      var div = document.createElement('div');
216      div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>';
217      head.appendChild(div.childNodes[1]);
218    }
219
220    if ( options ) {
221      $.extend( settings, options );
222    }
223
224    return this.each(function(){
225      var selectors = [
226        "iframe[src*='player.vimeo.com']",
227        "iframe[src*='youtube.com']",
228        "iframe[src*='youtube-nocookie.com']",
229        "iframe[src*='kickstarter.com'][src*='video.html']",
230        "object",
231        "embed"
232      ];
233
234      if (settings.customSelector) {
235        selectors.push(settings.customSelector);
236      }
237
238      var $allVideos = $(this).find(selectors.join(','));
239      $allVideos = $allVideos.not("object object"); // SwfObj conflict patch
240
241      $allVideos.each(function(){
242        var $this = $(this);
243        if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
244        var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
245            width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
246            aspectRatio = height / width;
247        if(!$this.attr('id')){
248          var videoID = 'fitvid' + Math.floor(Math.random()*999999);
249          $this.attr('id', videoID);
250        }
251        $this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%");
252        $this.removeAttr('height').removeAttr('width');
253      });
254    });
255  };
256// Works with either jQuery or Zepto
257})( window.jQuery || window.Zepto );
258
259/*! jQuery.socialthings (https://github.com/Takazudo/jQuery.socialthings)
260 * lastupdate: 2022-05-10
261 * version: 0.1.10
262 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
263 * License: MIT */
264(function(){(function(t){var e;return e={},e.facebook={},e.facebook.options={locale:"en_US",appId:null},e.facebook.loadJS=function(){var n,r;return r=!1,n=function(){var n,o;t("body").append('<div id="fb-root"></div>'),n=e.facebook.options,o="//connect.facebook.net/"+n.locale+"/sdk.js#xfbml=1&version=v2.0",n.appId&&(o+="&appId="+n.appId),function(t,e,n){var r,i;return r=t.getElementsByTagName(e)[0],t.getElementById(n)?void 0:(i=t.createElement(e),i.id=n,i.src=o,r.parentNode.insertBefore(i,r))}(document,"script","facebook-jssdk"),r=!0},function(){return r?!1:(n(),!0)}}(),e.facebook.waitForPreparation=function(){var e,n,r;return e=250,n=null,r=function(){return n=t.Deferred(function(t){var n;return n=function(){var r;return null!=(null!=(r=window.FB)?r.XFBML:void 0)?t.resolve():setTimeout(n,e)},n()}).promise()},function(){return n||r(),n}}(),t.fn.initFacebookThings=function(){return this.each(function(t,n){return e.facebook.loadJS()?void 0:e.facebook.waitForPreparation().done(function(){return window.FB.XFBML.parse(n)})})},e.facebookShareButton={},e.facebookShareButton.Button=function(){function n(n,r){this.$el=n,this.options=t.extend({},e.facebookShareButton.Button.defaults,r),this._tweakInsideHtml(),this._handleDataAttrs(),this._prepareUrl(),this._eventify()}return n.defaults={windowname:"facebook-share-dialog",width:null,height:null,url:null,html:null,tweakHref:!0},n.prototype.open=function(){var t,e,n;return n=this.options,e=n.windowname,t=[this._url,e],null!=n.width&&null!=n.height&&t.push("width="+n.width+",height="+n.height),window.open.apply(window,t)},n.prototype._tweakInsideHtml=function(){return null!=this.options.html?this.$el.html(this.options.html):void 0},n.prototype._prepareUrl=function(){var t,e;return t=this.options,e=t.url||location.href,this._url="https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(e),t.tweakHref?this.$el.attr("href",this._url):void 0},n.prototype._handleAttr=function(t){var e,n;return e=t.replace(/^data-facebookshare-/,""),(n=this.$el.attr(t))?this.options[e]=n:void 0},n.prototype._handleDataAttrs=function(){return this._handleAttr("data-facebookshare-windowname"),this._handleAttr("data-facebookshare-width"),this._handleAttr("data-facebookshare-height"),this._handleAttr("data-facebookshare-url")},n.prototype._eventify=function(){var t=this;return this.$el.click(function(e){return e.preventDefault(),t.open()})},n}(),t.fn.facebookShareButton=function(n){var r;return r="facebooksharebutton",this.each(function(o,i){var a,u;return a=t(i),u=new e.facebookShareButton.Button(a,n),a.data(r)?void 0:a.data(r,u)})},e.twitter={},e.twitter.loadJS=function(){var t,e;return e=!1,t=function(){(function(t,e,n){var r,o,i;return r=t.getElementsByTagName(e)[0],i=/^http:/.test(t.location)?"http":"https",t.getElementById(n)?void 0:(o=t.createElement(e),o.id=n,o.src=i+"://platform.twitter.com/widgets.js",r.parentNode.insertBefore(o,r))})(document,"script","twitter-wjs"),e=!0},function(){return e?!1:(t(),!0)}}
264(),e.twitter.waitForPreparation=function(){var e,n,r;return e=250,n=null,r=function(){return n=t.Deferred(function(t){var n;return n=function(){var r,o;return null!=(null!=(r=window.twttr)?null!=(o=r.widgets)?o.load:void 0:void 0)?t.resolve():setTimeout(n,e)},n()}).promise()},function(){return n||r(),n}}(),e.twitter.applyWidgets=function(){e.twitter.loadJS()||e.twitter.waitForPreparation().done(function(){return window.twttr.widgets.load()})},e.twitterShareButton={},e.twitterShareButton.Button=function(){function n(n,r){this.$el=n,this.options=t.extend({},e.twitterShareButton.Button.defaults,r),this._tweakInsideHtml(),this._handleDataAttrs(),this._prepareUrl(),this._eventify()}return n.defaults={windowname:"twitter-tweet-dialog",width:null,height:null,url:null,html:null,text:null,via:null,related:null,tweakHref:!0},n.prototype.open=function(){var t,e,n;return n=this.options,e=n.windowname,t=[this._url,e],null!=n.width&&null!=n.height&&t.push("width="+n.width+",height="+n.height),window.open.apply(window,t)},n.prototype._tweakInsideHtml=function(){return null!=this.options.html?this.$el.html(this.options.html):void 0},n.prototype._prepareUrl=function(){var t,e,n,r,o,i;return t=this.options,r=t.url||location.href,o=t.text||document.title,i=t.via,n=t.related,e=[],r&&e.push("url="+encodeURIComponent(r)),o&&e.push("text="+encodeURIComponent(o)),i&&e.push("via="+encodeURIComponent(i)),n&&e.push("related="+encodeURIComponent(n)),this._url="https://twitter.com/share?"+e.join("&"),t.tweakHref?this.$el.attr("href",this._url):void 0},n.prototype._handleAttr=function(t){var e,n;return e=t.replace(/^data-twittershare-/,""),(n=this.$el.attr(t))?this.options[e]=n:void 0},n.prototype._handleDataAttrs=function(){return this._handleAttr("data-twittershare-windowname"),this._handleAttr("data-twittershare-width"),this._handleAttr("data-twittershare-height"),this._handleAttr("data-twittershare-text"),this._handleAttr("data-twittershare-url"),this._handleAttr("data-twittershare-via"),this._handleAttr("data-twittershare-related")},n.prototype._eventify=function(){var t=this;return this.$el.click(function(e){return e.preventDefault(),t.open()})},n}(),t.fn.twitterShareButton=function(n){var r;return r="twittersharebutton",this.each(function(o,i){var a,u;return a=t(i),u=new e.twitterShareButton.Button(a,n),a.data(r)?void 0:a.data(r,u)})},e.gplus={},e.gplus.options={lang:"en"},e.gplus.loadJS=function(){var n,r;return r=!1,n=function(){window.___gcfg={lang:e.gplus.options.lang},t.getScript("https://apis.google.com/js/plusone.js"),r=!0},function(){return r?!1:(n(),!0)}}(),e.gplus.applyWidgets=function(){e.gplus.loadJS()||window.gapi&&window.gapi.plusone.go()},e.hatebu={},e.hatebu.disabled=!1,e.hatebu.loadJS=function(){var t,n,r;return n=!1,r=function(){return"https:"===document.location.protocol?!0:!1},t=function(){return n=!0,r()?(e.hatebu.disabled=!0,void 0):function(t,e,n){var r,o;return r=t.getElementsByTagName(e)[0],t.getElementById(n)?void 0:(o=t.createElement(e),o.id=n,o.charset="utf-8",o.async=!0,o.src="https://b.st-hatena.com/js/bookmark_button.js",r.parentNode.insertBefore(o,r))}(document,"script","hatebu-wjs")},function(){return n?!1:(t(),!0)}}(),e.hatebu.applyWidgets=function(){if(!e.hatebu.loadJS()){if(e.hatebu.disabled)return;Hatena.Bookmark.BookmarkButton.setup()}},e.line={},e.line.loadJS=function(){var t,e;return e=!1,t=function(){var t,n,r;n=/^http:/.test(document.location)?"http":"https",r=n+"://media.line.naver.jp/js/line-button.js?v=20130508",t=document.createElement("script"),t.setAttribute("src",r),document.head.appendChild(t),e=!0},function(){return e?!1:(t(),!0)}}(),e.manualLine={},e.manualLine.config={data_key:"socialthingsManuallinebutton"},e.manualLine.isSmartphone=function(){return navigator.userAgent.match(/(iPhone|iPod|iPad|Android)/i)},e.manualLine.Button=function(){function n(n,r){this.$el=n,this.options=t.extend({},e.manualLine.Button.defaults,r),(!this.options.hide_when_pc||e.manualLine.isSmartphone())&&this.render()}return n.defaults={url:function(){return location.href},title:function(){return document.title},href_creater:function(t,e){return"https://line.naver.jp/R/msg/text/?"+t+"%0D%0A"+e},hide_when_pc:!1,html:'<a href="#"><img src="https://media.line.naver.jp/img/button/ja/88x20.png" alt="Lineで送る" width="88" height="20"></a>',prop_key_url:"data-manualline-url",prop_key_title:"data-manualline-title"},n.prototype.render=function(){var e;return this.$el.html(this.options.html),e=this._createHref(),t("a",this.$el).attr("href",e)},n.prototype._createHref=function(){var t,e,n;return e=this._createTitle(),n=this._createUrl(),t=this.options.href_creater(e,n)},n.prototype._createTitle=function(){var t;return t=this._getValFromDataProp(this.options.prop_key_title),null!=t?t:this._handleOptionVal(this.options.title)},n.prototype._createUrl=function(){var t;return t=this._getValFromDataProp(this.options.prop_key_url),null!=t?t:this._handleOptionVal(this.options.url)},n.prototype._getValFromDataProp=function(t){var e;return e=this.$el.attr(t),null!=e?e:null},n.prototype._handleOptionVal=function(e){switch(t.type(e)){case"function":return e();default:return e}},n}(),t.fn.manualLineButton=function(n){return this.each(function(r,o){var i,a,u;i=t(o),a=e.manualLine.config.data_key,u=i.data(a),null==u&&(u=new e.manualLine.Button(i,n)),i.data(a,u)})},e.pocket={},e.pocket.loadJS=function(){return t.getScript("https://widgets.getpocket.com/v1/j/btn.js?v=1")},e.pocket.applyWidgets=function(){e.pocket.loadJS()},e.mixi={},e.mixi.loadJS=function(){var t;return t=function(t,e){var n,r,o;null==t&&(t=document),null==e&&(e="script"),n=t.getElementsByTagName(e)[0],o=/^http:/.test(t.location)?"http":"https",r=t.createElement(e),r.src=o+"://static.mixi.jp/js/share.js",n.parentNode.insertBefore(r,n)},function(){return t(),!0}}(),e.mixi.applyWidgets=function(){e.mixi.loadJS()},e.sumally={},e.sumally.loadJS=function(){var t,e;return e=!1,t=function(){return function(t,n,r){var o,i,a;o=t.getElementsByTagName(n)[0],a=/^http:/.test(t.location)?"http":"https",i=t.createElement(n),i.id=r,i.src=a+"://platform.sumally.com/buttons.min.js",o.parentNode.insertBefore(i,o),e=!0}(document,"script","sumally-bjs")},function(){return e?!1:(t(),!0)}}(),e.sumally.applyWidgets=function(){e.sumally.loadJS()||window.sumally.buttons.load()},t.socialthings=e})(jQuery)}).call(this);
265/*! jQuery.allchecker (https://github.com/Takazudo/jQuery.allchecker)
266 * lastupdate: 2015-01-29
267 * version: 0.3.0
268 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
269 * License: MIT */
270(function(){var a={}.hasOwnProperty,b=function(g,e){for(var d in e){if(a.call(e,d)){g[d]=e[d]}}function f(){this.constructor=g}f.prototype=e.prototype;g.prototype=new f();g.__super__=e.prototype;return g},c=[].slice;(function(g,e){var f,d;f=e.EveEve;d={};d.Main=(function(h){b(i,h);i.defaults={selector_parent_check:null,selector_children_check:null,initialCheck_fromParent:false,initialCheck_fromChildren:true,use_eventDelegation:true,trigger_events_for_each_input
270s:false};function i(k,j){this.$el=k;if(j==null){j={}}this.options=g.extend({},d.Main.defaults,j);this.refreshElements(true);this._eventify();if(this.options.initialCheck_fromParent){this.handleChildrenStatsFromParent()}if(this.options.initialCheck_fromChildren){this.handleParentStatsFromChildren()}}i.prototype.handleChildrenStatsFromParent=function(){if(this.$checker_parent.is(":checked")){this.checkAllChildren()}else{this.uncheckAllChildren()}return this};i.prototype.handleParentStatsFromChildren=function(){if(this.allChecked()){this.$checker_parent.prop("checked",true)}else{this.$checker_parent.prop("checked",false)}return this};i.prototype.checkAllChildren=function(){var o,k,l,n,j,m;m=this.$checkers_children;for(n=0,j=m.length;n<j;n++){k=m[n];o=g(k);l=o.prop("checked");g(k).prop("checked",true);if((l===false)&&this.options.trigger_events_for_each_inputs){o.trigger("allCheckerChange")}}return this};i.prototype.uncheckAllChildren=function(){var o,k,l,n,j,m;m=this.$checkers_children;for(n=0,j=m.length;n<j;n++){k=m[n];o=g(k);l=o.prop("checked");g(k).prop("checked",false);
270if((l===true)&&this.options.trigger_events_for_each_inputs){o.trigger("allCheckerChange")}}return this};i.prototype.allChecked=function(){var l,k,n,j,m;k=true;m=this.$checkers_children;for(n=0,j=m.length;n<j;n++){l=m[n];if(!g(l).is(":checked")){k=false;break}}return k};i.prototype.allUnchecked=function(){var l,k,n,j,m;k=true;m=this.$checkers_children;for(n=0,j=m.length;n<j;n++){l=m[n];if(g(l).is(":checked")){k=false;break}}return k};i.prototype._eventify=function(){var m,k,j,l=this;k=this.options;j=function(n){l.handleChildrenStatsFromParent();l._triggerEvent("parentcheck",n.currentTarget);return l._triggerEvent("change")};m=function(n){l.handleParentStatsFromChildren();l._triggerEvent("childcheck",n.currentTarget);return l._triggerEvent("change")};if(k.use_eventDelegation){this.$el.on("click",k.selector_parent_check,j);this.$el.on("click",k.selector_children_check,m)}else{g(k.selector_parent_check,this.$el).on("click",j);g(k.selector_children_check,this.$el).on("click",m)}return this};i.prototype._triggerEvent=function(){var j;j=1<=arguments.length?c.call(arguments,0):[];this.trigger.apply(this,j);return this};i.prototype.refreshElements=function(j){var k;if(j==null){j=false}k=this.options;this.$checker_parent=this.$el.find(k.selector_parent_check);this.$checkers_children=this.$el.find(k.selector_children_check);if(!j){this.handleParentStatsFromChildren()}return this};return i})(f);g.fn.allchecker=function(h){return this.each(function(){var j,i;j=g(this);i=new d.Main(j,h);j.data("allchecker",i)})};g.AllCheckerNs=d;return g.AllChecker=d.Main})(jQuery,window)}).call(this);
271
272/*! jQuery UI - v1.10.1 - 2013-03-10
273* http://jqueryui.com
274* Includes: jquery.ui.widget.js
275* Copyright (c) 2013 jQuery Foundation and other contributors Licensed MIT */
276
277(function( $, undefined ) {
278
279var uuid = 0,
280	slice = Array.prototype.slice,
281	_cleanData = $.cleanData;
282$.cleanData = function( elems ) {
283	for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
284		try {
285			$( elem ).triggerHandler( "remove" );
286		// http://bugs.jquery.com/ticket/8235
287		} catch( e ) {}
288	}
289	_cleanData( elems );
290};
291
292$.widget = function( name, base, prototype ) {
293	var fullName, existingConstructor, constructor, basePrototype,
294		// proxiedPrototype allows the provided prototype to remain unmodified
295		// so that it can be used as a mixin for multiple widgets (#8876)
296		proxiedPrototype = {},
297		namespace = name.split( "." )[ 0 ];
298
299	name = name.split( "." )[ 1 ];
300	fullName = namespace + "-" + name;
301
302	if ( !prototype ) {
303		prototype = base;
304		base = $.Widget;
305	}
306
307	// create selector for plugin
308	$.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
309		return !!$.data( elem, fullName );
310	};
311
312	$[ namespace ] = $[ namespace ] || {};
313	existingConstructor = $[ namespace ][ name ];
314	constructor = $[ namespace ][ name ] = function( options, element ) {
315		// allow instantiation without "new" keyword
316		if ( !this._createWidget ) {
317			return new constructor( options, element );
318		}
319
320		// allow instantiation without initializing for simple inheritance
321		// must use "new" keyword (the code above always passes args)
322		if ( arguments.length ) {
323			this._createWidget( options, element );
324		}
325	};
326	// extend with the existing constructor to carry over any static properties
327	$.extend( constructor, existingConstructor, {
328		version: prototype.version,
329		// copy the object used to create the prototype in case we need to
330		// redefine the widget later
331		_proto: $.extend( {}, prototype ),
332		// track widgets that inherit from this widget in case this widget is
333		// redefined after a widget inherits from it
334		_childConstructors: []
335	});
336
337	basePrototype = new base();
338	// we need to make the options hash a property directly on the new instance
339	// otherwise we'll modify the options hash on the prototype that we're
340	// inheriting from
341	basePrototype.options = $.widget.extend( {}, basePrototype.options );
342	$.each( prototype, function( prop, value ) {
343		if ( !$.isFunction( value ) ) {
344			proxiedPrototype[ prop ] = value;
345			return;
346		}
347		proxiedPrototype[ prop ] = (function() {
348			var _super = function() {
349					return base.prototype[ prop ].apply( this, arguments );
350				},
351				_superApply = function( args ) {
352					return base.prototype[ prop ].apply( this, args );
353				};
354			return function() {
355				var __super = this._super,
356					__superApply = this._superApply,
357					returnValue;
358
359				this._super = _super;
360				this._superApply = _superApply;
361
vendor: 11,894 bytes, lines 362-773
362				returnValue = value.apply( this, arguments );
363
364				this._super = __super;
365				this._superApply = __superApply;
366
367				return returnValue;
368			};
369		})();
370	});
371	constructor.prototype = $.widget.extend( basePrototype, {
372		// TODO: remove support for widgetEventPrefix
373		// always use the name + a colon as the prefix, e.g., draggable:start
374		// don't prefix for widgets that aren't DOM-based
375		widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix : name
376	}, proxiedPrototype, {
377		constructor: constructor,
378		namespace: namespace,
379		widgetName: name,
380		widgetFullName: fullName
381	});
382
383	// If this widget is being redefined then we need to find all widgets that
384	// are inheriting from it and redefine all of them so that they inherit from
385	// the new version of this widget. We're essentially trying to replace one
386	// level in the prototype chain.
387	if ( existingConstructor ) {
388		$.each( existingConstructor._childConstructors, function( i, child ) {
389			var childPrototype = child.prototype;
390
391			// redefine the child widget using the same prototype that was
392			// originally used, but inherit from the new version of the base
393			$.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto );
394		});
395		// remove the list of existing child constructors from the old constructor
396		// so the old child constructors can be garbage collected
397		delete existingConstructor._childConstructors;
398	} else {
399		base._childConstructors.push( constructor );
400	}
401
402	$.widget.bridge( name, constructor );
403};
404
405$.widget.extend = function( target ) {
406	var input = slice.call( arguments, 1 ),
407		inputIndex = 0,
408		inputLength = input.length,
409		key,
410		value;
411	for ( ; inputIndex < inputLength; inputIndex++ ) {
412		for ( key in input[ inputIndex ] ) {
413			value = input[ inputIndex ][ key ];
414			if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {
415				// Clone objects
416				if ( $.isPlainObject( value ) ) {
417					target[ key ] = $.isPlainObject( target[ key ] ) ?
418						$.widget.extend( {}, target[ key ], value ) :
419						// Don't extend strings, arrays, etc. with objects
420						$.widget.extend( {}, value );
421				// Copy everything else by reference
422				} else {
423					target[ key ] = value;
424				}
425			}
426		}
427	}
428	return target;
429};
430
431$.widget.bridge = function( name, object ) {
432	var fullName = object.prototype.widgetFullName || name;
433	$.fn[ name ] = function( options ) {
434		var isMethodCall = typeof options === "string",
435			args = slice.call( arguments, 1 ),
436			returnValue = this;
437
438		// allow multiple hashes to be passed on init
439		options = !isMethodCall && args.length ?
440			$.widget.extend.apply( null, [ options ].concat(args) ) :
441			options;
442
443		if ( isMethodCall ) {
444			this.each(function() {
445				var methodValue,
446					instance = $.data( this, fullName );
447				if ( !instance ) {
448					return $.error( "cannot call methods on " + name + " prior to initialization; " +
449						"attempted to call method '" + options + "'" );
450				}
451				if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) {
452					return $.error( "no such method '" + options + "' for " + name + " widget instance" );
453				}
454				methodValue = instance[ options ].apply( instance, args );
455				if ( methodValue !== instance && methodValue !== undefined ) {
456					returnValue = methodValue && methodValue.jquery ?
457						returnValue.pushStack( methodValue.get() ) :
458						methodValue;
459					return false;
460				}
461			});
462		} else {
463			this.each(function() {
464				var instance = $.data( this, fullName );
465				if ( instance ) {
466					instance.option( options || {} )._init();
467				} else {
468					$.data( this, fullName, new object( options, this ) );
469				}
470			});
471		}
472
473		return returnValue;
474	};
475};
476
477$.Widget = function( /* options, element */ ) {};
478$.Widget._childConstructors = [];
479
480$.Widget.prototype = {
481	widgetName: "widget",
482	widgetEventPrefix: "",
483	defaultElement: "<div>",
484	options: {
485		disabled: false,
486
487		// callbacks
488		create: null
489	},
490	_createWidget: function( options, element ) {
491		element = $( element || this.defaultElement || this )[ 0 ];
492		this.element = $( element );
493		this.uuid = uuid++;
494		this.eventNamespace = "." + this.widgetName + this.uuid;
495		this.options = $.widget.extend( {},
496			this.options,
497			this._getCreateOptions(),
498			options );
499
500		this.bindings = $();
501		this.hoverable = $();
502		this.focusable = $();
503
504		if ( element !== this ) {
505			$.data( element, this.widgetFullName, this );
506			this._on( true, this.element, {
507				remove: function( event ) {
508					if ( event.target === element ) {
509						this.destroy();
510					}
511				}
512			});
513			this.document = $( element.style ?
514				// element within the document
515				element.ownerDocument :
516				// element is window or document
517				element.document || element );
518			this.window = $( this.document[0].defaultView || this.document[0].parentWindow );
519		}
520
521		this._create();
522		this._trigger( "create", null, this._getCreateEventData() );
523		this._init();
524	},
525	_getCreateOptions: $.noop,
526	_getCreateEventData: $.noop,
527	_create: $.noop,
528	_init: $.noop,
529
530	destroy: function() {
531		this._destroy();
532		// we can probably remove the unbind calls in 2.0
533		// all event bindings should go through this._on()
534		this.element
535			.unbind( this.eventNamespace )
536			// 1.9 BC for #7810
537			// TODO remove dual storage
538			.removeData( this.widgetName )
539			.removeData( this.widgetFullName )
540			// support: jquery <1.6.3
541			// http://bugs.jquery.com/ticket/9413
542			.removeData( $.camelCase( this.widgetFullName ) );
543		this.widget()
544			.unbind( this.eventNamespace )
545			.removeAttr( "aria-disabled" )
546			.removeClass(
547				this.widgetFullName + "-disabled " +
548				"ui-state-disabled" );
549
550		// clean up events and states
551		this.bindings.unbind( this.eventNamespace );
552		this.hoverable.removeClass( "ui-state-hover" );
553		this.focusable.removeClass( "ui-state-focus" );
554	},
555	_destroy: $.noop,
556
557	widget: function() {
558		return this.element;
559	},
560
561	option: function( key, value ) {
562		var options = key,
563			parts,
564			curOption,
565			i;
566
567		if ( arguments.length === 0 ) {
568			// don't return a reference to the internal hash
569			return $.widget.extend( {}, this.options );
570		}
571
572		if ( typeof key === "string" ) {
573			// handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
574			options = {};
575			parts = key.split( "." );
576			key = parts.shift();
577			if ( parts.length ) {
578				curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );
579				for ( i = 0; i < parts.length - 1; i++ ) {
580					curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};
581					curOption = curOption[ parts[ i ] ];
582				}
583				key = parts.pop();
584				if ( value === undefined ) {
585					return curOption[ key ] === undefined ? null : curOption[ key ];
586				}
587				curOption[ key ] = value;
588			} else {
589				if ( value === undefined ) {
590					return this.options[ key ] === undefined ? null : this.options[ key ];
591				}
592				options[ key ] = value;
593			}
594		}
595
596		this._setOptions( options );
597
598		return this;
599	},
600	_setOptions: function( options ) {
601		var key;
602
603		for ( key in options ) {
604			this._setOption( key, options[ key ] );
605		}
606
607		return this;
608	},
609	_setOption: function( key, value ) {
610		this.options[ key ] = value;
611
612		if ( key === "disabled" ) {
613			this.widget()
614				.toggleClass( this.widgetFullName + "-disabled ui-state-disabled", !!value )
615				.attr( "aria-disabled", value );
616			this.hoverable.removeClass( "ui-state-hover" );
617			this.focusable.removeClass( "ui-state-focus" );
618		}
619
620		return this;
621	},
622
623	enable: function() {
624		return this._setOption( "disabled", false );
625	},
626	disable: function() {
627		return this._setOption( "disabled", true );
628	},
629
630	_on: function( suppressDisabledCheck, element, handlers ) {
631		var delegateElement,
632			instance = this;
633
634		// no suppressDisabledCheck flag, shuffle arguments
635		if ( typeof suppressDisabledCheck !== "boolean" ) {
636			handlers = element;
637			element = suppressDisabledCheck;
638			suppressDisabledCheck = false;
639		}
640
641		// no element argument, shuffle and use this.element
642		if ( !handlers ) {
643			handlers = element;
644			element = this.element;
645			delegateElement = this.widget();
646		} else {
647			// accept selectors, DOM elements
648			element = delegateElement = $( element );
649			this.bindings = this.bindings.add( element );
650		}
651
652		$.each( handlers, function( event, handler ) {
653			function handlerProxy() {
654				// allow widgets to customize the disabled handling
655				// - disabled as an array instead of boolean
656				// - disabled class as method for disabling individual parts
657				if ( !suppressDisabledCheck &&
658						( instance.options.disabled === true ||
659							$( this ).hasClass( "ui-state-disabled" ) ) ) {
660					return;
661				}
662				return ( typeof handler === "string" ? instance[ handler ] : handler )
663					.apply( instance, arguments );
664			}
665
666			// copy the guid so direct unbinding works
667			if ( typeof handler !== "string" ) {
668				handlerProxy.guid = handler.guid =
669					handler.guid || handlerProxy.guid || $.guid++;
670			}
671
672			var match = event.match( /^(\w+)\s*(.*)$/ ),
673				eventName = match[1] + instance.eventNamespace,
674				selector = match[2];
675			if ( selector ) {
676				delegateElement.on(eventName, selector, handlerProxy );
677			} else {
678				element.on( eventName, handlerProxy );
679			}
680		});
681	},
682
683	_off: function( element, eventName ) {
684		eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) + this.eventNamespace;
685		element.off( eventName ).off( eventName );
686	},
687
688	_delay: function( handler, delay ) {
689		function handlerProxy() {
690			return ( typeof handler === "string" ? instance[ handler ] : handler )
691				.apply( instance, arguments );
692		}
693		var instance = this;
694		return setTimeout( handlerProxy, delay || 0 );
695	},
696
697	_hoverable: function( element ) {
698		this.hoverable = this.hoverable.add( element );
699		this._on( element, {
700			mouseenter: function( event ) {
701				$( event.currentTarget ).addClass( "ui-state-hover" );
702			},
703			mouseleave: function( event ) {
704				$( event.currentTarget ).removeClass( "ui-state-hover" );
705			}
706		});
707	},
708
709	_focusable: function( element ) {
710		this.focusable = this.focusable.add( element );
711		this._on( element, {
712			focusin: function( event ) {
713				$( event.currentTarget ).addClass( "ui-state-focus" );
714			},
715			focusout: function( event ) {
716				$( event.currentTarget ).removeClass( "ui-state-focus" );
717			}
718		});
719	},
720
721	_trigger: function( type, event, data ) {
722		var prop, orig,
723			callback = this.options[ type ];
724
725		data = data || {};
726		event = $.Event( event );
727		event.type = ( type === this.widgetEventPrefix ?
728			type :
729			this.widgetEventPrefix + type ).toLowerCase();
730		// the original event may come from any element
731		// so we need to reset the target on the new event
732		event.target = this.element[ 0 ];
733
734		// copy original event properties over to the new event
735		orig = event.originalEvent;
736		if ( orig ) {
737			for ( prop in orig ) {
738				if ( !( prop in event ) ) {
739					event[ prop ] = orig[ prop ];
740				}
741			}
742		}
743
744		this.element.trigger( event, data );
745		return !( $.isFunction( callback ) &&
746			callback.apply( this.element[0], [ event ].concat( data ) ) === false ||
747			event.isDefaultPrevented() );
748	}
749};
750
751$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
752	$.Widget.prototype[ "_" + method ] = function( element, options, callback ) {
753		if ( typeof options === "string" ) {
754			options = { effect: options };
755		}
756		var hasOptions,
757			effectName = !options ?
758				method :
759				options === true || typeof options === "number" ?
760					defaultEffect :
761					options.effect || defaultEffect;
762		options = options || {};
763		if ( typeof options === "number" ) {
764			options = { duration: options };
765		}
766		hasOptions = !$.isEmptyObject( options );
767		options.complete = callback;
768		if ( options.delay ) {
769			element.delay( options.delay );
770		}
771		if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {
772			element[ method ]( options );
773		} else if ( effectName !== method && element[ effectName ] ) {
774			element[ effectName ]( options.duration, options.easing, callback );
775		} else {
776			element.queue(function( next ) {
777				$( this )[ method ]();
778				if ( callback ) {
779					callback.call( element[ 0 ] );
780				}
781				next();
782			});
783		}
784	};
785});
786
787})( jQuery );
788
789/*! jQuery.ui.domwindow (https://github.com/Takazudo/jQuery.ui.domwindow)
790 * lastupdate: 2013-12-25
791 * version: 0.3.5
792 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
793 * License: MIT */
794(function() {
795  var __slice = [].slice;
796
797  (function($, win, doc) {
798    var $doc, $win, DomwindowApi, domwindowApi, genOverlayOptions, genUniqId, getInfoFromOpener, ns, offsetX, offsetY, resolveSilently, round, viewportH, viewportW, wait, widgets;
799    $win = $(win);
800    $doc = $(doc);
801    round = Math.round;
802    win.domwindowNs = ns = {};
803    win.domwindowApi = domwindowApi = null;
804    widgets = ns.widgets = {
805      $dialog: null,
806      $overlay: null
807    };
808    ns.ie6 = (function() {
809      var $el;
810      $el = $('<div><!--[if IE 6]><i></i><![endif]--></div>');
811      if ($el.find('i').length) {
812        return true;
813      } else {
814        return false;
815      }
816    })();
817    ns.isBlackListedMobile = function() {
818
819    var w = window,
820      ua = navigator.userAgent,
821      platform = navigator.platform,
822      // Rendering engine is Webkit, and capture major version
823      wkmatch = ua.match( /AppleWebKit\/([0-9]+)/ ),
824      wkversion = !!wkmatch && wkmatch[ 1 ],
825      ffmatch = ua.match( /Fennec\/([0-9]+)/ ),
826      ffversion = !!ffmatch && ffmatch[ 1 ],
827      operammobilematch = ua.match( /Opera Mobi\/([0-9]+)/ ),
828      omversion = !!operammobilematch && operammobilematch[ 1 ];
829
830    if(
831      // iOS 4.3 and older : Platform is iPhone/Pad/Touch and Webkit version is less than 534 (ios5)
832      ( ( platform.indexOf( "iPhone" ) > -1 || platform.indexOf( "iPad" ) > -1  || platform.indexOf( "iPod" ) > -1 ) && wkversion && wkversion < 534 ) ||
833      // Opera Mini
834      ( w.operamini && ({}).toString.call( w.operamini ) === "[object OperaMini]" ) ||
835      ( operammobilematch && omversion < 7458 )	||
836      //Android lte 2.1: Platform is Android and Webkit version is less than 533 (Android 2.2)
837      ( ua.indexOf( "Android" ) > -1 && wkversion && wkversion < 533 ) ||
838      // Firefox Mobile before 6.0 -
839      ( ffversion && ffversion < 6 ) ||
840      // WebOS less than 3
841      ( "palmGetResource" in window && wkversion && wkversion < 534 )	||
842      // MeeGo
843      ( ua.indexOf( "MeeGo" ) > -1 && ua.indexOf( "NokiaBrowser/8.5.0" ) > -1 ) ) {
844      return true;
845    }
846
847    return false;
848
849  };
850    ns.positionFixedUnavailable = ns.ie6 || ns.isBlackListedMobile();
851    ns.isQuirks = function() {
852      if (navigator.userAgent.indexOf('MSIE') === -1) {
853        return false;
854      }
855      if (doc.documentMode === 5) {
856        return true;
857      }
858      return false;
859    };
860    resolveSilently = function() {
861      return $.Deferred(function(defer) {
862        return defer.resolve();
863      });
864    };
865    viewportH = ns.viewportH = function() {
866      return win.innerHeight || $win.height() || doc.body.offsetHeight;
867    };
868    viewportW = ns.viewportW = function() {
869      return $win.width() || doc.body.offsetWidth;
870    };
871    offsetY = ns.offsetY = function() {
872      return win.pageYOffset || doc.documentElement.scrollTop || doc.body.scrollTop;
873    };
874    offsetX = ns.offsetX = function() {
875      return win.pageXOffset || doc.documentElement.scrollLeft || doc.body.scrollLeft;
876    };
877    wait = function(time) {
878      return $.Deferred(function(defer) {
879        return setTimeout(function() {
880          return defer.resolve();
881        }, time);
882      });
883    };
884    $.widget('ui.hideoverlay', {
885      options: {
886        overlayfade: true,
887        spinnersrc: null,
888        maxopacity: 0.8,
889        bgiframe: false,
890        forceabsolute: ns.positionFixedUnavailable || ns.isQuirks() || false,
891        spinjs: false,
892        spinjs_options: {
893          color: '#fff',
894          lines: 15,
895          length: 22,
896          radius: 40
897        }
898      },
899      widgetEventPrefix: 'hideoverlay.',
900      _active: false,
901      _create: function() {
902        this.$el = this.element;
903        this.$spinner = $('.ui-hideoverlay-spinner', this.$el);
904        if (this.options.spinjs) {
905          this.$spinner.css('background', 'none');
906        }
907        this.$bg = $('.ui-hideoverlay-bg', this.$el);
908        this._preloadSpinner();
909        this._eventify();
910        this._handleLegacy();
911        return this;
912      },
913      _attachSpinjs: function() {
914        if (!this._showDefer) {
915          return this;
916        }
917        if (!this._spinning) {
918          return this;
919        }
920        (new Spinner(this.options.spinjs_options)).spin(this.$spinner[0]);
921        return this;
922      },
923      _handleLegacy: function() {
924        if (!this.options.forceabsolute) {
925          return this;
926        }
927        this.$el.css('position', 'absolute');
928        this._resize();
929        if (this.options.bgiframe && $.fn.bgiframe) {
930          this.$el.bgiframe();
931        }
932        return this;
933      },
934      _resize: function() {
935        var h, l, t, w;
936        if (!this.options.forceabsolute) {
937          return this;
938        }
939        w = viewportW();
940        h = viewportH();
941        t = offsetY();
942        l = offsetX();
943        this.$el.css({
944          width: w,
945          height: h,
946          top: t,
947          left: l
948        });
949        this.$bg.css({
950          width: w,
951          height: h
952        });
953        return this;
954      },
955      _eventify: function() {
956        var _this = this;
957        if (!this.options.forceabsolute) {
958          return this;
959        }
960        $win.on('resize scroll orientationchange', function() {
961          return _this._resize();
962        });
963        return this;
964      },
965      _showOverlayEl: function(woSpinner) {
966        var animTo, cssTo, defer,
967          _this = this;
968        defer = $.Deferred(defer);
969        this.$spinner.hide();
970        this.$el.css('display', 'block');
971        cssTo = {
972          opacity: 0
973        };
974        animTo = {
975          opacity: this.options.maxopacity
976        };
977        if (this.options.overlayfade) {
978          ($.when(this.$bg.stop().css(cssTo).animate(animTo, 200))).done(function() {
979            if (!woSpinner) {
980              if (_this.options.spinjs) {
981                _this.$spinner.show();
982                _this._attachSpinjs();
983              }
984              _this.$spinner.hide().fadeIn();
985            }
986            return defer.resolve();
987          });
988        } else {
989          this.$bg.css(animTo);
990          if (!woSpinner) {
991            if (this.options.spinjs) {
992              this.$spinner.show();
993              this._attachSpinjs();
994            }
995            this.$spinner.show();
996          }
997          defer.resolve();
998        }
999        return defer.promise();
1000      },
1001      _hideOverlayEl: function() {
1002        var animTo, defer, done,
1003          _this = this;
1004        defer = $.Deferred(defer);
1005        animTo = {
1006          opacity: 0
1007        };
1008        done = function() {
1009          _this.$el.css('display', 'none');
1010          _this.$spinner.show();
1011          return defer.resolve();
1012        };
1013        if (this.options.overlayfade) {
1014          ($.when(this.$bg.stop().animate(animTo, 100))).done(function() {
1015            return done();
1016          });
1017        } else {
1018          this.$bg.css(animTo);
1019          done();
1020        }
1021        return defer.promise();
1022      },
1023      _preloadSpinner: function() {
1024        var src;
1025        src = this.options.spinnersrc;
1026        if (!src) {
1027          return this;
1028        }
1029        (new Image).src = src;
1030        return this;
1031      },
1032      show: function(woSpinner) {
1033        var _this = this;
1034        if (this._showDefer) {
1035          return this._showDefer;
1036        }
1037        if (this._active) {
1038          return resolveSilently();
1039        }
1040        this._active = true;
1041        if (woSpinner) {
1042          this.hideSpinner();
1043        } else {
1044          this._spinning = true;
1045          this.$spinner.show();
1046        }
1047        this._trigger('showstart');
1048        this._showDefer = this._showOverlayEl(woSpinner);
1049        this._showDefer.done(function() {
1050          _this._showDefer = null;
1051          return _this._trigger('showend');
1052        });
1053        return this._showDefer;
1054      },
1055      hide: function() {
1056        var _this = this;
1057        if (this._showDefer) {
1058          this._showDefer.done(function() {
1059            return _this.hide();
1060          });
1061          return this;
1062        }
1063        if (!this._active) {
1064          return resolveSilently();
1065        }
1066        this._active = false;
1067        this._trigger('hidestart');
1068        this._hideDefer = this._hideOverlayEl();
1069        this._hideDefer.done(function() {
1070          _this._hideDefer = null;
1071          if (_this.$spinner) {
1072            _this.$spinner.empty();
1073          }
1074          return _this._trigger('hideend');
1075        });
1076        return this._hideDefer;
1077      },
1078      hideSpinner: function() {
1079        this._spinning = false;
1080        this.$spinner.stop().empty().hide();
1081        return this;
1082      }
1083    });
1084    $.ui.hideoverlay.create = function(options) {
1085      var src;
1086      src = "<div class=\"ui-hideoverlay\" id=\"domwindow-hideoverlay\">\n  <div class=\"ui-hideoverlay-bg\"></div>\n  <div class=\"ui-hideoverlay-spinner\"></div>\n</div>";
1087      return $(src).hideoverlay(options);
1088    };
1089    $.ui.hideoverlay.destroy = function(options) {
1090      if (!widgets.$overlay) {
1091        return false;
1092      }
1093      widgets.$overlay.hideoverlay('destroy').remove();
1094      widgets.$overlay = null;
1095      return true;
1096    };
1097    $.ui.hideoverlay.setup = function(options) {
1098      var $overlay;
1099      $.ui.hideoverlay.destroy();
1100      $overlay = $.ui.hideoverlay.create(options).appendTo('body');
1101      widgets.$overlay = $overlay;
1102      return $overlay;
1103    };
1104    $.widget('ui.domwindowdialog', {
1105      options: {
1106        spinjs: false,
1107        height: 500,
1108        width: 500,
1109        fixedMinY: 30,
1110        selector_open: '.apply-domwindow-open',
1111        selector_close: '.apply-domwindow-close',
1112        ajaxdialog: true,
1113        ajaxdialog_avoidcache: true,
1114        ajaxdialog_mindelay: 300,
1115        iframedialog: false,
1116        iddialog: false,
1117        strdialog: false,
1118        overlay: true,
1119        overlayclickclose: true,
1120        forceabsolute: ns.positionFixedUnavailable || ns.isQuirks() || false,
1121        centeronresize: true,
1122        centeronscroll: false,
1123        tandbmargintodecideposition: 50
1124      },
1125      widgetEventPrefix: 'domwindowdialog.',
1126      _create: function() {
1127        this.$el = this.element;
1128        this.$el.css({
1129          width: this.options.width,
1130          height: this.options.height
1131        });
1132        this._eventify();
1133        return this;
1134      },
1135      _eventify: function() {
1136        var self,
1137          _this = this;
1138        self = this;
1139        $doc.on('click', this.options.selector_open, function(e) {
1140          var info;
1141          e.preventDefault();
1142          info = getInfoFromOpener(this);
1143          return self.open.apply(self, info);
1144        });
1145        $doc.on('click', this.options.selector_close, function(e) {
1146          e.preventDefault();
1147          return _this.close();
1148        });
1149        $win.on('resize', function() {
1150          if (_this.options.centeronresize) {
1151            return _this.center();
1152          }
1153        });
1154        $win.on('scroll', function() {
1155          if (_this.options.centeronscroll) {
1156            return _this.center();
1157          }
1158        });
1159        $win.on('orientationchange', function() {
1160          return _this.center();
1161        });
1162        return this;
1163      },
1164      _appendFetchedData: function(html) {
1165        this.$el.empty().append(html);
1166        return this;
1167      },
1168      setOverlay: function($overlay) {
1169        var _this = this;
1170        if (!this.options.overlay) {
1171          return this;
1172        }
1173        this.$overlay = $overlay;
1174        this.overlay = $overlay.data('uiHideoverlay');
1175        if (this.options.overlayclickclose) {
1176          this.$overlay.on('click', function() {
1177            return _this.close();
1178          });
1179        }
1180        return this;
1181      },
1182      center: function() {
1183        var elH, elW, isBottomOver, isLeftOver, offX, offY, props, vpH, vpW;
1184        props = {};
1185        elH = this.$el.outerHeight();
1186        elW = this.$el.outerWidth();
1187        vpW = viewportW();
1188        vpH = viewportH();
1189        offY = offsetY();
1190        offX = offsetX();
1191        isLeftOver = vpW < elW;
1192        isBottomOver = vpH < elH + this.options.tandbmargintodecideposition;
1193        if (isLeftOver) {
1194          props.left = 0;
1195          if (isBottomOver) {
1196            props.position = 'absolute';
1197            props.top = this.options.fixedMinY + offY;
1198          } else {
1199            props.position = 'absolute';
1200            props.top = round(vpH / 2) - round(elH / 2) + offY;
1201          }
1202        } else {
1203          if (isBottomOver) {
1204            props.position = 'absolute';
1205            props.top = this.options.fixedMinY + offY;
1206            props.left = round(vpW / 2) - round(elW / 2) + offX;
1207          } else {
1208            props.top = round(vpH / 2) - round(elH / 2);
1209            props.left = round(vpW / 2) - round(elW / 2);
1210            if (this.options.forceabsolute) {
1211              props.position = 'absolute';
1212              props.top += offY;
1213              props.left += offX;
1214            } else {
1215              props.position = 'fixed';
1216            }
1217          }
1218        }
1219        this.$el.css(props);
1220        return this;
1221      },
1222      open: function(src, options) {
1223        var $target, complete, currentOpen, defer, delay, dialogType, h, originalOptions, w, _ref, _ref1, _ref2, _ref3, _ref4, _ref5,
1224          _this = this;
1225        this._isOpen = true;
1226        if ((_ref = this._currentOpen) != null) {
1227          _ref.kill();
1228        }
1229        this._currentOpen = currentOpen = {};
1230        currentOpen.defer = $.Deferred();
1231        originalOptions = this.options;
1232        currentOpen.restoreOriginalOptions = function() {
1233          return this.options = originalOptions;
1234        };
1235        currentOpen.kill = function() {
1236          currentOpen.restoreOriginalOptions();
1237          currentOpen.killed = true;
1238        };
1239        complete = function() {
1240          if (currentOpen.killed) {
1241            return;
1242          }
1243          _this.$el.fadeIn(200, function() {
1244            var _ref1;
1245            if ((_ref1 = _this.overlay) != null) {
1246              _ref1.hideSpinner();
1247            }
1248            _this._trigger('afteropen', {}, {
1249              dialog: _this.$el
1250            });
1251            return _this._currentOpen = null;
1252          });
1253          wait(0).done(function() {
1254            return _this.center();
1255          });
1256          return currentOpen.defer.resolve();
1257        };
1258        dialogType = null;
1259        if ($.isFunction(src)) {
1260          dialogType = 'deferred';
1261        } else {
1262          if (src.indexOf('#') === 0) {
1263            dialogType = 'id';
1264            src = src.replace(/^#/, '');
1265          } else {
1266            if (this.options.ajaxdialog) {
1267              dialogType = 'ajax';
1268            }
1269            if (this.options.iframedialog) {
1270              dialogType = 'iframe';
1271            }
1272            if (this.options.iddialog) {
1273              dialogType = 'id';
1274            }
1275            if (this.options.strdialog) {
1276              dialogType = 'str';
1277            }
1278            if (options != null ? options.ajaxdialog : void 0) {
1279              dialogType = 'ajax';
1280            }
1281            if (options != null ? options.iframedialog : void 0) {
1282              dialogType = 'iframe';
1283            }
1284            if (options != null ? options.iddialog : void 0) {
1285              dialogType = 'id';
1286            }
1287            if (options != null ? options.strdialog : void 0) {
1288              dialogType = 'str';
1289            }
1290          }
1291        }
1292        if (dialogType === 'id') {
1293          $target = $('#' + src);
1294          this.$lastIdTarget = $target;
1295          if ($target.is(':ui-domwindow')) {
1296            options = $.extend({}, $target.domwindow('createApiOpenOptions'), options);
1297          } else {
1298            this.$lastIdTarget = null;
1299          }
1300        } else {
1301          this.$lastIdTarget = null;
1302        }
1303        if (options) {
1304          this._applyOneTimeOptions(options, currentOpen);
1305        }
1306        this._attachOneTimeEvents(options, 'open', currentOpen);
1307        w = this.options.width;
1308        h = this.options.height;
1309        this.$el.css({
1310          width: w,
1311          height: h
1312        });
1313        this._trigger('beforeopen', {}, {
1314          dialog: this.$el
1315        });
1316        delay = this.options.ajaxdialog_mindelay;
1317        switch (dialogType) {
1318          case 'deferred':
1319            if ((_ref1 = this.overlay) != null) {
1320              _ref1.show();
1321            }
1322            defer = $.Deferred();
1323            src.apply(this, [defer]);
1324            $.when(defer, wait(delay)).done(function(data) {
1325              _this._appendFetchedData(data);
1326              return complete();
1327            });
1328            break;
1329          case 'ajax':
1330            if ((_ref2 = this.overlay) != null) {
1331              _ref2.show();
1332            }
1333            $.when(this._ajaxGet(src), wait(delay)).done(function() {
1334              var args, data;
1335              args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
1336              data = args[0][0];
1337              _this._appendFetchedData(data);
1338              return complete();
1339            });
1340            break;
1341          case 'iframe':
1342            if ((_ref3 = this.overlay) != null) {
1343              _ref3.show(true);
1344            }
1345            this.$el.empty().append(this._createIframeSrc(src));
1346            complete();
1347            break;
1348          case 'id':
1349            if ((_ref4 = this.overlay) != null) {
1350              _ref4.show(true);
1351            }
1352            this._appendFetchedData($target.html());
1353            complete();
1354            break;
1355          case 'str':
1356            if ((_ref5 = this.overlay) != null) {
1357              _ref5.show();
1358            }
1359            this._appendFetchedData(src);
1360            complete();
1361        }
1362        return currentOpen;
1363      },
1364      close: function(options) {
1365        var defer, _ref,
1366          _this = this;
1367        defer = $.Deferred();
1368        if (!this._isOpen) {
1369          return this;
1370        }
1371        if (this.$lastIdTarget) {
1372          options = $.extend({}, options, this.$lastIdTarget.domwindow('createApiCloseOptions'));
1373        }
1374        this._attachOneTimeEvents(options);
1375        if ((_ref = this._currentOpen) != null) {
1376          _ref.kill();
1377        }
1378        this._isOpen = false;
1379        this._trigger('beforeclose', {}, {
1380          dialog: this.$el
1381        });
1382        wait(0).done(function() {
1383          var _ref1;
1384          if ((_ref1 = _this.overlay) != null) {
1385            _ref1.hide();
1386          }
1387          return _this.$el.fadeOut(200, function() {
1388            _this._trigger('afterclose', {}, {
1389              dialog: _this.$el
1390            });
1391            return defer.resolve();
1392          });
1393        });
1394        return defer.promise();
1395      },
1396      _applyOneTimeOptions: function(options, currentOpen) {
1397        var currentOptions, events,
1398          _this = this;
1399        options = $.extend({}, options);
1400        events = ['beforeclose', 'afterclose', 'beforeopen', 'afteropen'];
1401        $.each(events, function(i, ev) {
1402          if (options[ev]) {
1403            return delete options[ev];
1404          }
1405        });
1406        currentOptions = this.options;
1407        this.options = $.extend({}, this.options, options);
1408        this.$el.one("" + this.widgetEventPrefix + "afteropen", function() {
1409          if (currentOpen != null ? currentOpen.killed : void 0) {
1410            return;
1411          }
1412          return currentOpen.restoreOriginalOptions();
1413        });
1414        return this;
1415      },
1416      _attachOneTimeEvents: function(localOptions, command, currentOpen) {
1417        var events,
1418          _this = this;
1419        if (!localOptions) {
1420          return this;
1421        }
1422        events = ['beforeclose', 'afterclose'];
1423        if (command === 'open') {
1424          $.merge(events, ['beforeopen', 'afteropen']);
1425        }
1426        $.each(events, function(i, ev) {
1427          if (localOptions[ev]) {
1428            return _this.$el.one("" + _this.widgetEventPrefix + ev, function() {
1429              var args;
1430              args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
1431              if (currentOpen != null ? currentOpen.killed : void 0) {
1432                return;
1433              }
1434              return localOptions[ev].apply(this.$el, args);
1435            });
1436          }
1437        });
1438        return this;
1439      },
1440      _ajaxGet: function(url) {
1441        var options;
1442        options = {
1443          url: url,
1444          dataType: 'text'
1445        };
1446        if (this.options.ajaxdialog_avoidcache) {
1447          options.cache = false;
1448        }
1449        return $.ajax(options);
1450      },
1451      _createIframeSrc: function(url) {
1452        var name;
1453        name = genUniqId();
1454        return "<iframe\n  frameborder=\"0\" hspace=\"0\" wspace=\"0\" src=\"" + url + "\" name=\"" + name + "\"\n  style=\"width:100%; height:100%; border:none; background-color:#fff\"\n></iframe>";
1455      }
1456    });
1457    $.ui.domwindowdialog.create = function(options) {
1458      var src;
1459      src = "<div class=\"ui-domwindowdialog\"></div>";
1460      return $(src).domwindowdialog(options);
1461    };
1462    $.ui.domwindowdialog.destroy = function() {
1463      if (!widgets.$dialog) {
1464        return false;
1465      }
1466      widgets.$dialog.domwindowdialog('destroy').remove();
1467      widgets.$dialog = null;
1468      return true;
1469    };
1470    $.ui.domwindowdialog.setup = function(options) {
1471      var $dialog, overlayOptions;
1472      $.ui.domwindowdialog.destroy();
1473      $dialog = $.ui.domwindowdialog.create(options);
1474      $dialog.appendTo('body');
1475      overlayOptions = genOverlayOptions(options);
1476      $dialog.domwindowdialog('setOverlay', $.ui.hideoverlay.setup(overlayOptions));
1477      domwindowApi = win.domwindowApi = new DomwindowApi($dialog);
1478      widgets.$dialog = $dialog;
1479      return $dialog;
1480    };
1481    genOverlayOptions = function(options) {
1482      var ret;
1483      ret = {};
1484      if (!options) {
1485        return ret;
1486      }
1487      $.each($.ui.hideoverlay.prototype.options, function(key) {
1488        if (options[key] !== void 0) {
1489          return ret[key] = options[key];
1490        }
1491      });
1492      return ret;
1493    };
1494    getInfoFromOpener = ns.getInfoFromOpener = function(el) {
1495      var $el, o, ret, src;
1496      $el = $(el);
1497      ret = [];
1498      src = $el.data('domwindowUrl') || $el.data('domwindowId');
1499      if (!src) {
1500        src = $el.attr('href').replace(/^#/, '');
1501      }
1502      ret.push(src);
1503      o = {};
1504      if ($el.data('domwindowAjaxdialog')) {
1505        o.ajaxdialog = true;
1506      }
1507      if ($el.data('domwindowIframedialog')) {
1508        o.iframedialog = true;
1509      }
1510      if ($el.data('domwindowIddialog')) {
1511        o.iddialog = true;
1512      }
1513      (function() {
1514        var h;
1515        h = $el.data('domwindowHeight');
1516        if (h) {
1517          return o.height = h;
1518        }
1519      })();
1520      (function() {
1521        var w;
1522        w = $el.data('domwindowWidth');
1523        if (w) {
1524          return o.width = w;
1525        }
1526      })();
1527      ret.push(o);
1528      return ret;
1529    };
1530    genUniqId = function() {
1531      return "domwindow-uniqid-" + (Math.round(Math.random() * 1000));
1532    };
1533    DomwindowApi = (function() {
1534
1535      function DomwindowApi($dialog) {
1536        this.$dialog = $dialog;
1537        this.dialog = this.$dialog.data('uiDomwindowdialog');
1538      }
1539
1540      DomwindowApi.prototype.open = function() {
1541        var args;
1542        args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
1543        return this.dialog.open.apply(this.dialog, args);
1544      };
1545
1546      DomwindowApi.prototype.close = function() {
1547        var args;
1548        args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
1549        return this.dialog.close.apply(this.dialog, args);
1550      };
1551
1552      return DomwindowApi;
1553
1554    })();
1555    return $.widget('ui.domwindow', {
1556      options: {
1557        iddialog: true
1558      },
1559      widgetEventPrefix: 'domwindow.',
1560      _create: function() {
1561        var _this = this;
1562        this.$el = this.element;
1563        this._id = this.$el.attr('id') || (function() {
1564          var id;
1565          id = genUniqId();
1566          _this.$el.attr('id', id);
1567          return id;
1568        })();
1569        return this;
1570      },
1571      createApiOpenOptions: function() {
1572        var o, self;
1573        self = this;
1574        o = $.extend({}, this.options);
1575        delete o.beforeopen;
1576        delete o.afteropen;
1577        delete o.beforeclose;
1578        delete o.afterclose;
1579        return $.extend(o, {
1580          beforeopen: function(e, data) {
1581            return self._trigger('beforeopen', e, data);
1582          },
1583          afteropen: function(e, data) {
1584            return self._trigger('afteropen', e, data);
1585          }
1586        });
1587      },
1588      createApiCloseOptions: function() {
1589        var o, self;
1590        self = this;
1591        o = {};
1592        delete o.beforeopen;
1593        delete o.afteropen;
1594        delete o.beforeclose;
1595        delete o.afterclose;
1596        return $.extend(o, {
1597          beforeclose: function(e, data) {
1598            return self._trigger('beforeclose', e, data);
1599          },
1600          afterclose: function(e, data) {
1601            return self._trigger('afterclose', e, data);
1602          }
1603        });
1604      },
1605      open: function() {
1606        return domwindowApi.open(this._id, this.createApiOpenOptions());
1607      },
1608      close: function() {
1609        return domwindowApi.close();
1610      }
1611    });
1612  })(jQuery, window, document);
1613
1614}).call(this);
1615
1616//fgnass.github.com/spin.js#v1.3.1
1617
1618/**
1619 * Copyright (c) 2011-2013 Felix Gnass
1620 * Licensed under the MIT license
1621 */
1622(function(root, factory) {
1623
1624  /* CommonJS */
1625  if (typeof exports == 'object')  module.exports = factory()
1626
1627  /* AMD module */
1628  else if (typeof define == 'function' && define.amd) define(factory)
1629
1630  /* Browser global */
1631  else root.Spinner = factory()
1632}
1633(this, function() {
1634  "use strict";
1635
1636  var prefixes = ['webkit', 'Moz', 'ms', 'O'] /* Vendor prefixes */
1637    , animations = {} /* Animation rules keyed by their name */
1638    , useCssAnimations /* Whether to use CSS animations or setTimeout */
1639
1640  /**
1641   * Utility function to create elements. If no tag name is given,
1642   * a DIV is created. Optionally properties can be passed.
1643   */
1644  function createEl(tag, prop) {
1645    var el = document.createElement(tag || 'div')
1646      , n
1647
1648    for(n in prop) el[n] = prop[n]
1649    return el
1650  }
1651
1652  /**
1653   * Appends children and returns the parent.
1654   */
1655  function ins(parent /* child1, child2, ...*/) {
1656    for (var i=1, n=arguments.length; i<n; i++)
1657      parent.appendChild(arguments[i])
1658
1659    return parent
1660  }
1661
1662  /**
1663   * Insert a new stylesheet to hold the @keyframe or VML rules.
1664   */
1665  var sheet = (function() {
1666    var el = createEl('style', {type : 'text/css'})
1667    ins(document.getElementsByTagName('head')[0], el)
1668    return el.sheet || el.styleSheet
1669  }())
1670
1671  /**
1672   * Creates an opacity keyframe animation rule and returns its name.
1673   * Since most mobile Webkits have timing issues with animation-delay,
1674   * we create separate rules for each line/segment.
1675   */
1676  function addAnimation(alpha, trail, i, lines) {
1677    var name = ['opacity', trail, ~~(alpha*100), i, lines].join('-')
1678      , start = 0.01 + i/lines * 100
1679      , z = Math.max(1 - (1-alpha) / trail * (100-start), alpha)
1680      , prefix = useCssAnimations.substring(0, useCssAnimations.indexOf('Animation')).toLowerCase()
1681      , pre = prefix && '-' + prefix + '-' || ''
1682
1683    if (!animations[name]) {
1684      sheet.insertRule(
1685        '@' + pre + 'keyframes ' + name + '{' +
1686        '0%{opacity:' + z + '}' +
1687        start + '%{opacity:' + alpha + '}' +
1688        (start+0.01) + '%{opacity:1}' +
1689        (start+trail) % 100 + '%{opacity:' + alpha + '}' +
1690        '100%{opacity:' + z + '}' +
1691        '}', sheet.cssRules.length)
1692
1693      animations[name] = 1
1694    }
1695
1696    return name
1697  }
1698
1699  /**
1700   * Tries various vendor prefixes and returns the first supported property.
1701   */
1702  function vendor(el, prop) {
1703    var s = el.style
1704      , pp
1705      , i
1706
1707    if(s[prop] !== undefined) return prop
1708    prop = prop.charAt(0).toUpperCase() + prop.slice(1)
1709    for(i=0; i<prefixes.length; i++) {
1710      pp = prefixes[i]+prop
1711      if(s[pp] !== undefined) return pp
1712    }
1713  }
1714
1715  /**
1716   * Sets multiple style properties at once.
1717   */
1718  function css(el, prop) {
1719    for (var n in prop)
1720      el.style[vendor(el, n)||n] = prop[n]
1721
1722    return el
1723  }
1724
1725  /**
1726   * Fills in default values.
1727   */
1728  function merge(obj) {
1729    for (var i=1; i < arguments.length; i++) {
1730      var def = arguments[i]
1731      for (var n in def)
1732        if (obj[n] === undefined) obj[n] = def[n]
1733    }
1734    return obj
1735  }
1736
1737  /**
1738   * Returns the absolute page-offset of the given element.
1739   */
1740  function pos(el) {
1741    var o = { x:el.offsetLeft, y:el.offsetTop }
1742    while((el = el.offsetParent))
1743      o.x+=el.offsetLeft, o.y+=el.offsetTop
1744
1745    return o
1746  }
1747
1748  /**
1749   * Returns the line color from the given string or array.
1750   */
1751  function getColor(color, idx) {
1752    return typeof color == 'string' ? color : color[idx % color.length]
1753  }
1754
1755  // Built-in defaults
1756
1757  var defaults = {
1758    lines: 12,            // The number of lines to draw
1759    length: 7,            // The length of each line
1760    width: 5,             // The line thickness
1761    radius: 10,           // The radius of the inner circle
1762    rotate: 0,            // Rotation offset
1763    corners: 1,           // Roundness (0..1)
1764    color: '#000',        // #rgb or #rrggbb
1765    direction: 1,         // 1: clockwise, -1: counterclockwise
1766    speed: 1,             // Rounds per second
1767    trail: 100,           // Afterglow percentage
1768    opacity: 1/4,         // Opacity of the lines
1769    fps: 20,              // Frames per second when using setTimeout()
1770    zIndex: 2e9,          // Use a high z-index by default
1771    className: 'spinner', // CSS class to assign to the element
1772    top: 'auto',          // center vertically
1773    left: 'auto',         // center horizontally
1774    position: 'relative'  // element position
1775  }
1776
1777  /** The constructor */
1778  function Spinner(o) {
1779    if (typeof this == 'undefined') return new Spinner(o)
1780    this.opts = merge(o || {}, Spinner.defaults, defaults)
1781  }
1782
1783  // Global defaults that override the built-ins:
1784  Spinner.defaults = {}
1785
1786  merge(Spinner.prototype, {
1787
1788    /**
1789     * Adds the spinner to the given target element. If this instance is already
1790     * spinning, it is automatically removed from its previous target b calling
1791     * stop() internally.
1792     */
1793    spin: function(target) {
1794      this.stop()
1795
1796      var self = this
1797        , o = self.opts
1798        , el = self.el = css(createEl(0, {className: o.className}), {position: o.position, width: 0, zIndex: o.zIndex})
1799        , mid = o.radius+o.length+o.width
1800        , ep // element position
1801        , tp // target position
1802
1803      if (target) {
1804        target.insertBefore(el, target.firstChild||null)
1805        tp = pos(target)
1806        ep = pos(el)
1807        css(el, {
1808          left: (o.left == 'auto' ? tp.x-ep.x + (target.offsetWidth >> 1) : parseInt(o.left, 10) + mid) + 'px',
1809          top: (o.top == 'auto' ? tp.y-ep.y + (target.offsetHeight >> 1) : parseInt(o.top, 10) + mid)  + 'px'
1810        })
1811      }
1812
1813      el.setAttribute('role', 'progressbar')
1814      self.lines(el, self.opts)
1815
1816      if (!useCssAnimations) {
1817        // No CSS animation support, use setTimeout() instead
1818        var i = 0
1819          , start = (o.lines - 1) * (1 - o.direction) / 2
1820          , alpha
1821          , fps = o.fps
1822          , f = fps/o.speed
1823          , ostep = (1-o.opacity) / (f*o.trail / 100)
1824          , astep = f/o.lines
1825
1826        ;(function anim() {
1827          i++;
1828          for (var j = 0; j < o.lines; j++) {
1829            alpha = Math.max(1 - (i + (o.lines - j) * astep) % f * ostep, o.opacity)
1830
1831            self.opacity(el, j * o.direction + start, alpha, o)
1832          }
1833          self.timeout = self.el && setTimeout(anim, ~~(1000/fps))
1834        })()
1835      }
1836      return self
1837    },
1838
1839    /**
1840     * Stops and removes the Spinner.
1841     */
1842    stop: function() {
1843      var el = this.el
1844      if (el) {
1845        clearTimeout(this.timeout)
1846        if (el.parentNode) el.parentNode.removeChild(el)
1847        this.el = undefined
1848      }
1849      return this
1850    },
1851
1852    /**
1853     * Internal method that draws the individual lines. Will be overwritten
1854     * in VML fallback mode below.
1855     */
1856    lines: function(el, o) {
1857      var i = 0
1858        , start = (o.lines - 1) * (1 - o.direction) / 2
1859        , seg
1860
1861      function fill(color, shadow) {
1862        return css(createEl(), {
1863          position: 'absolute',
1864          width: (o.length+o.width) + 'px',
1865          height: o.width + 'px',
1866          background: color,
1867          boxShadow: shadow,
1868          transformOrigin: 'left',
1869          transform: 'rotate(' + ~~(360/o.lines*i+o.rotate) + 'deg) translate(' + o.radius+'px' +',0)',
1870          borderRadius: (o.corners * o.width>>1) + 'px'
1871        })
1872      }
1873
1874      for (; i < o.lines; i++) {
1875        seg = css(createEl(), {
1876          position: 'absolute',
1877          top: 1+~(o.width/2) + 'px',
1878          transform: o.hwaccel ? 'translate3d(0,0,0)' : '',
1879          opacity: o.opacity,
1880          animation: useCssAnimations && addAnimation(o.opacity, o.trail, start + i * o.direction, o.lines) + ' ' + 1/o.speed + 's linear infinite'
1881        })
1882
1883        if (o.shadow) ins(seg, css(fill('#000', '0 0 4px ' + '#000'), {top: 2+'px'}))
1884        ins(el, ins(seg, fill(getColor(o.color, i), '0 0 1px rgba(0,0,0,.1)')))
1885      }
1886      return el
1887    },
1888
1889    /**
1890     * Internal method that adjusts the opacity of a single line.
1891     * Will be overwritten in VML fallback mode below.
1892     */
1893    opacity: function(el, i, val) {
1894      if (i < el.childNodes.length) el.childNodes[i].style.opacity = val
1895    }
1896
1897  })
1898
1899
1900  function initVML() {
1901
1902    /* Utility function to create a VML tag */
1903    function vml(tag, attr) {
1904      return createEl('<' + tag + ' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">', attr)
1905    }
1906
1907    // No CSS transforms but VML support, add a CSS rule for VML elements:
1908    sheet.addRule('.spin-vml', 'behavior:url(#default#VML)')
1909
1910    Spinner.prototype.lines = function(el, o) {
1911      var r = o.length+o.width
1912        , s = 2*r
1913
1914      function grp() {
1915        return css(
1916          vml('group', {
1917            coordsize: s + ' ' + s,
1918            coordorigin: -r + ' ' + -r
1919          }),
1920          { width: s, height: s }
1921        )
1922      }
1923
1924      var margin = -(o.width+o.length)*2 + 'px'
1925        , g = css(grp(), {position: 'absolute', top: margin, left: margin})
1926        , i
1927
1928      function seg(i, dx, filter) {
1929        ins(g,
1930          ins(css(grp(), {rotation: 360 / o.lines * i + 'deg', left: ~~dx}),
1931            ins(css(vml('roundrect', {arcsize: o.corners}), {
1932                width: r,
1933                height: o.width,
1934                left: o.radius,
1935                top: -o.width>>1,
1936                filter: filter
1937              }),
1938              vml('fill', {color: getColor(o.color, i), opacity: o.opacity}),
1939              vml('stroke', {opacity: 0}) // transparent stroke to fix color bleeding upon opacity change
1940            )
1941          )
1942        )
1943      }
1944
1945      if (o.shadow)
1946        for (i = 1; i <= o.lines; i++)
1947          seg(i, -2, 'progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)')
1948
1949      for (i = 1; i <= o.lines; i++) seg(i)
1950      return ins(el, g)
1951    }
1952
1953    Spinner.prototype.opacity = function(el, i, val, o) {
1954      var c = el.firstChild
1955      o = o.shadow && o.lines || 0
1956      if (c && i+o < c.childNodes.length) {
1957        c = c.childNodes[i+o]; c = c && c.firstChild; c = c && c.firstChild
1958        if (c) c.opacity = val
1959      }
1960    }
1961  }
1962
1963  var probe = css(createEl('group'), {behavior: 'url(#default#VML)'})
1964
1965  if (!vendor(probe, 'transform') && probe.adj) initVML()
1966  else useCssAnimations = vendor(probe, 'animation')
1967
1968  return Spinner
1969
1970}));
1971
1972/*! jQuery.LycheeBox (https://github.com/Takazudo/jQuery.LycheeBox)
1973 * lastupdate: 2014-12-15
1974 * version: 0.0.0
1975 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
1976 * License: MIT */
1977(function() {
1978  (function($) {
1979    var $document, $window, domwindowApi, ns, wait;
1980    $window = $(window);
1981    $document = $(document);
1982    domwindowApi = null;
1983    ns = {};
1984    wait = function(time) {
1985      return $.Deferred(function(defer) {
1986        return setTimeout(function() {
1987          return defer.resolve();
1988        }, time);
1989      }).promise();
1990    };
1991    ns.setup = (function() {
1992      var setupDone;
1993      setupDone = false;
1994      return function(force) {
1995        if (!force) {
1996          if (setupDone) {
1997            return;
1998          }
1999        }
2000        setupDone = true;
2001        $.ui.domwindowdialog.setup({
2002          width: 600,
2003          height: 300
2004        });
2005        return domwindowApi = window.domwindowApi;
2006      };
2007    })();
2008    ns.viewport = {
2009      width: function() {
2010        return $window.width();
2011      },
2012      height: function() {
2013        return window.innerHeight || $window.height();
2014      },
2015      createSizeObject: function() {
2016        var o;
2017        o = {
2018          width: ns.viewport.width(),
2019          height: ns.viewport.height()
2020        };
2021        return o;
2022      }
2023    };
2024    ns.fadeIn = function($el, duration) {
2025      var from, to;
2026      if (duration == null) {
2027        duration = 400;
2028      }
2029      from = {
2030        display: 'block',
2031        opacity: 0
2032      };
2033      to = {
2034        opacity: 1
2035      };
2036      return $el.css(from).animate(to, duration);
2037    };
2038    ns.fadeOut = function($el, duration) {
2039      var from, to;
2040      if (duration == null) {
2041        duration = 400;
2042      }
2043      from = {
2044        display: 'block',
2045        opacity: 1
2046      };
2047      to = {
2048        opacity: 0
2049      };
2050      return $el.css(from).animate(to, duration);
2051    };
2052    ns.Dialog = (function() {
2053      Dialog.defaults = {
2054        dialog_src: "<div class=\"lycheebox-dialog\">\n  <div class=\"lycheebox-positioner\">\n    <div class=\"lycheebox-main\">\n      <div class=\"lycheebox-main-inner\">\n        <div class=\"lycheebox-imgholder\"></div>\n        <a class=\"lycheebox-dialogcloser apply-domwindow-close\" href=\"#\">close</a>\n      </div>\n    </div>\n  </div>\n  <div class=\"lycheebox-loader\"></div>\n</div>",
2055        spinner_options: {
2056          color: '#fff',
2057          lines: 20,
2058          length: 10,
2059          width: 2,
2060          radius: 40
2061        },
2062        selector_dialogRoot: '.lycheebox-dialog',
2063        selector_loader: '.lycheebox-loader',
2064        selector_holder: '.lycheebox-imgholder',
2065        selector_main: '.lycheebox-main',
2066        dialog_LR_margin: 10,
2067        dialog_TB_margin: 10,
2068        dialog_LR_padding: 10,
2069        dialog_TB_padding: 10,
2070        dialog_closer_height: 35,
2071        dialog_click_close: true,
2072        prevent_touchmove: true,
2073        use_click_open: true,
2074        setup_domwindow_on_everyopen: false
2075      };
2076
2077      function Dialog($opener, options) {
2078        this.$opener = $opener;
2079        this.options = $.extend({}, ns.Dialog.defaults, options);
2080        this._eventify();
2081      }
2082
2083      Dialog.prototype.open = function() {
2084        var dialog_src, openOptions,
2085          _this = this;
2086        ns.setup(this.options.setup_domwindow_on_everyopen);
2087        dialog_src = $.trim(this.options.dialog_src);
2088        openOptions = $.extend({
2089          strdialog: true,
2090          tandbmargintodecideposition: 0,
2091          afteropen: function(e, data) {
2092            _this.$dialog = data.dialog;
2093            return _this._handleAfterOpen();
2094          },
2095          beforeclose: function() {
2096            return _this._handleBeforeClose();
2097          },
2098          afterclose: function() {
2099            _this.$dialog.empty();
2100            return _this.$dialog = null;
2101          }
2102        }, ns.viewport.createSizeObject());
2103        return domwindowApi.open(this.options.dialog_src, openOptions);
2104      };
2105
2106      Dialog.prototype.destroy = function() {
2107        this.$opener.unbind('click', this._openerClickHandler);
2108        return $window.unbind('resize orientationchange', this._resizeHandler);
2109      };
2110
2111      Dialog.prototype.resizeDialog = function() {
2112        var size;
2113        if (!this.opened) {
2114          return;
2115        }
2116        size = ns.viewport.createSizeObject();
2117        return this.$dialog.css(size);
2118      };
2119
2120      Dialog.prototype.resizeEls = function() {
2121        var h, imgSize, mainSize, o, w;
2122        if (!this.opened) {
2123          return;
2124        }
2125        if (!this.imgReady) {
2126          return;
2127        }
2128        o = this.options;
2129        imgSize = $.imgUtil.calcRectContainImgWH({
2130          imgWidth: this.naturalImgSize.width,
2131          imgHeight: this.naturalImgSize.height,
2132          rectWidth: ns.viewport.width() - (o.dialog_LR_margin * 2) - (o.dialog_LR_padding * 2),
2133          rectHeight: ns.viewport.height() - (o.dialog_TB_margin * 2) - (o.dialog_TB_padding * 2) - o.dialog_closer_height,
2134          enlargeSmallImg: false
2135        });
2136        w = imgSize.width + (o.dialog_LR_padding * 2);
2137        h = imgSize.height + (o.dialog_TB_padding * 2) + o.dialog_closer_height;
2138        mainSize = {
2139          width: w,
2140          height: h,
2141          marginTop: -1 * h / 2,
2142          marginLeft: -1 * w / 2
2143        };
2144        this.$main.css(mainSize);
2145        return this.$holder.css(imgSize);
2146      };
2147
2148      Dialog.prototype.overrideOption = function(o) {
2149        return this.options = $.extend(this.options, o);
2150      };
2151
2152      Dialog.prototype._handleAfterOpen = function() {
2153        var _this = this;
2154        this.opened = true;
2155        this.imgsrc = this.$opener.attr('href');
2156        this._eventify_overlayClickClose();
2157        this._eventify_dialogTouchmove();
2158        this._putSpinner();
2159        return this._calcImgSize().then(function() {
2160          return _this._removeSpinner();
2161        }).then(function() {
2162          _this._prepareElsInsideDialog();
2163          _this.$holder.append(_this.$img);
2164          _this.imgReady = true;
2165          _this.resizeEls();
2166          return ns.fadeIn(_this.$main);
2167        });
2168      };
2169
2170      Dialog.prototype._handleBeforeClose = function() {
2171        this.opened = false;
2172        this.imgReady = false;
2173        this._uneventify_overlayClickClose();
2174        return this._uneventify_overlayClickClose();
2175      };
2176
2177      Dialog.prototype._eventify_dialogTouchmove = function() {
2178        if (!this.options.prevent_touchmove) {
2179          return;
2180        }
2181        this._touchmoveHandler = function(e) {
2182          return e.preventDefault();
2183        };
2184        return this.$dialog.on('touchmove', this._touchmoveHandler);
2185      };
2186
2187      Dialog.prototype._uneventify_dialogTouchmove = function() {
2188        if (!this.options.prevent_touchmove) {
2189          return;
2190        }
2191        return this.$dialog.off('touchmove', this._touchmoveHandler);
2192      };
2193
2194      Dialog.prototype._eventify_overlayClickClose = function() {
2195        var o,
2196          _this = this;
2197        if (!this.options.dialog_click_close) {
2198          return;
2199        }
2200        o = this.options;
2201        this._overlayClickHandler = function(e) {
2202          var $target;
2203          $target = $(e.target);
2204          if (!$target.is("" + o.selector_loader + ", " + o.selector_dialogRoot)) {
2205            return;
2206          }
2207          return domwindowApi.close();
2208        };
2209        return this.$dialog.on('click', this._overlayClickHandler);
2210      };
2211
2212      Dialog.prototype._uneventify_overlayClickClose = function() {
2213        if (!this.options.dialog_click_close) {
2214          return;
2215        }
2216        return this.$dialog.off('click', this._overlayClickHandler);
2217      };
2218
2219      Dialog.prototype._putSpinner = function() {
2220        var o;
2221        o = this.options;
2222        this.$loader = $(o.selector_loader, this.$dialog);
2223        this.$loader.stop().css({
2224          display: 'block',
2225          opacity: 0
2226        });
2227        (new Spinner(o.spinner_options)).spin(this.$loader[0]);
2228        return ns.fadeIn(this.$loader, 200);
2229      };
2230
2231      Dialog.prototype._calcImgSize = function() {
2232        var defer,
2233          _this = this;
2234        defer = $.Deferred();
2235        ($.imgUtil.calcNaturalWH(this.imgsrc)).done(function(wh, $img) {
2236          _this.naturalImgSize = wh;
2237          _this.$img = $img;
2238          return defer.resolve();
2239        });
2240        return defer.promise();
2241      };
2242
2243      Dialog.prototype._removeSpinner = function() {
2244        var defer,
2245          _this = this;
2246        defer = $.Deferred();
2247        ($.when(ns.fadeOut(this.$loader))).done(function() {
2248          _this.$loader.empty().remove();
2249          return defer.resolve();
2250        });
2251        return defer.promise();
2252      };
2253
2254      Dialog.prototype._eventify = function() {
2255        var _this = this;
2256        this._openerClickHandler = function(e) {
2257          if (_this.options.use_click_open) {
2258            e.preventDefault();
2259            return _this.open();
2260          }
2261        };
2262        this._resizeHandler = function(e) {
2263          _this.resizeDialog();
2264          return _this.resizeEls();
2265        };
2266        this.$opener.on('click', this._openerClickHandler);
2267        return $window.on('resize orientationchange', this._resizeHandler);
2268      };
2269
2270      Dialog.prototype._prepareElsInsideDialog = function() {
2271        this.$main = $(this.options.selector_main, this.$dialog);
2272        this.$holder = $(this.options.selector_holder, this.$dialog);
2273        return this.$main.css('display', 'none');
2274      };
2275
2276      return Dialog;
2277
2278    })();
2279    $.fn.lycheeBox = function(options) {
2280      return this.each(function(i, el) {
2281        var $opener, instance;
2282        $opener = $(el);
2283        instance = $opener.data('lycheebox');
2284        if (instance != null) {
2285          instance.destroy();
2286        }
2287        instance = new ns.Dialog($opener, options);
2288        return $opener.data('lycheebox', instance);
2289      });
2290    };
2291    return $.LycheeBox = ns;
2292  })(jQuery);
2293
2294}).call(this);
2295
2296/*! viewportSize | Author: Tyson Matanich, 2013 | License: MIT */
2297(function(n){n.viewportSize={},n.viewportSize.getHeight=function(){return t("Height")},n.viewportSize.getWidth=function(){return t("Width")};var t=function(t){var f,o=t.toLowerCase(),e=n.document,i=e.documentElement,r,u;return n["inner"+t]===undefined?f=i["client"+t]:n["inner"+t]!=i["client"+t]?(r=e.createElement("body"),r.id="vpw-test-b",r.style.cssText="overflow:scroll",u=e.createElement("div"),u.id="vpw-test-d",u.style.cssText="position:absolute;top:-1000px",u.innerHTML="<style>@media("+o+":"+i["client"+t]+"px){body#vpw-test-b div#vpw-test-d{"+o+":7px!important}}<\/style>",r.appendChild(u),i.insertBefore(r,e.head),f=u["offset"+t]==7?i["client"+t]:n["inner"+t],i.removeChild(r)):f=n["inner"+t],f}})(this);
2298(function(){(function($){var TmplDeck;TmplDeck=function(){TmplDeck.prototype._options={dataType:"text",url:null,cache:true};function TmplDeck(url,options){if(!(this instanceof arguments.callee)){return new TmplDeck(url,options)}this._options=$.extend({},this._options,{url:url});this._fetchDefer=$.Deferred();this._cache={}}TmplDeck.prototype.load=function(){var _this=this;return $.ajax(this._options).then(function(data){_this._fetchedText=data;return _this._fetchDefer.resolve()})};TmplDeck.prototype.ready=function(fn){this._fetchDefer.done(function(){return fn()});return this};TmplDeck.prototype.draw=function(id){var cached,re,res;cached=this._cache[id];if(cached){return cached}re=new RegExp("(^|\\n)"+id+"\\s{{{{\\r?\\n([\\s\\S]+?)}}}}");res=this._fetchedText.match(re);if(res){return this._cache[id]=res[2]}else{return null}};return TmplDeck}();TmplDeck.prototype.tmpl=function(id,data){return _.template(this.draw(id))(data)};return $.TmplDeck=TmplDeck})(jQuery)}).call(this);
2299/*! jQuery.viewportWatcher (https://github.com/Takazudo/jQuery.viewportWatcher)
2300 * lastupdate: 2013-09-11
2301 * version: 0.2.1
2302 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
2303 * License: MIT */
2304(function(){var a={}.hasOwnProperty,b=function(b,c){function d(){this.constructor=b}for(var e in c)a.call(c,e)&&(b[e]=c[e]);return d.prototype=c.prototype,b.prototype=new d,b.__super__=c.prototype,b};!function(a){var c,d,e,f;return c=a(window),f=window.viewportSize,d=window.EveEve,e={},e.viewport={},e.viewport.width=function(){return f.getWidth()},e.viewport.height=function(){return f.getHeight()},e.limit=function(a,b,c){var d;return d=null,function(){var e,f,g;return f=this,e=arguments,g=function(){return d=null,a.apply(f,e)},c&&clearTimeout(d),c||!d?d=setTimeout(g,b):void 0}},e.throttle=function(a,b){return e.limit(a,b,!1)},e.debounce=function(a,b){return e.limit(a,b,!0)},e.WinWatcher=function(a){function d(){var a=this;c.on(e,function(){return a.trigger("resize")})}var e;return b(d,a),e="resize orientationchange",d}(d),e.winWatcher=new e.WinWatcher,e.Observation=function(){function a(a,b){this.criteria=a,this.handlers=b,this._handlerFired=!1,this.active=!1}return a.prototype.handleNotification=function(a){return this._shouldIHandle(a)&&!this._handlerFired?(this.handlers.match(),this.active=!0,this._handlerFired=!0,!0):!1},a.prototype.resetFiredFlag=function(){return this._handlerFired=!1},a.prototype._shouldIHandle=function(a){return this.criteria(a.width)},a}(),e.Watcher=function(c){function d(a){this._observations=[],a(this),this.options||this.option(),this.options.notify_on_init===!0&&this.invokeNotification(),this._eventify()}return b(d,c),d.defaults={notify_on_init:!0,throttle_millisec:200},d.prototype.option=function(b){return null==b&&(b={}),this.options=a.extend({},e.Watcher.defaults,b)},d.prototype.when=function(a,b){var c;return c=new e.Observation(a,b),this._observations.push(c),this},d.prototype.notify=function(a){var b,c,d,e,f,g,h,i;for(b=null,h=this._observations,d=0,f=h.length;f>
2304d&&(c=h[d],c.handleNotification(a)&&(b=c),null===b);d++);if(null!==b){for(i=this._observations,e=0,g=i.length;g>e;e++)c=i[e],c!==b&&c.resetFiredFlag();return this.trigger("observationswitch",a)}},d.prototype.destroy=function(){return e.winWatcher.off("resize",this._resizeHandler),this._observations.length=0,this.off()},d.prototype.invokeNotification=function(){return this.notify({width:e.viewport.width()})},d.prototype._eventify=function(){var a=this;return this._resizeHandler=e.throttle(function(){return a.invokeNotification(),a.trigger("resize")},this.options.throttle_millisec),e.winWatcher.on("resize",this._resizeHandler)},d}(d),a.ViewportWatcherNs=e,a.ViewportWatcher=e.Watcher}(jQuery)}).call(this);
2305(function(t,e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else if(typeof exports==="object"){module.exports=e(require("jquery"))}else{e(t.jQuery)}})(this,function(t){t.transit={version:"0.9.12",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var e=document.createElement("div");var n={};function i(t){if(t in e.style)return t;var n=["Moz","Webkit","O","ms"];var i=t.charAt(0).toUpperCase()+t.substr(1);for(var r=0;r<n.length;++r){var s=n[r]+i;if(s in e.style){return s}}}function r(){e.style[n.transform]="";e.style[n.transform]="rotateY(90deg)";return e.style[n.transform]!==""}var s=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;n.transition=i("transition");n.transitionDelay=i("transitionDelay");n.transform=i("transform");n.transformOrigin=i("transformOrigin");n.filter=i("Filter");n.transform3d=r();var a={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var o=n.transitionEnd=a[n.transition]||null;for(var u in n){if(n.hasOwnProperty(u)&&typeof t.support[u]==="undefined"){t.support[u]=n[u]}}e=null;t.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};t.cssHooks["transit:transform"]={get:function(e){return t(e).data("transform")||new f},set:function(e,i){var r=i;if(!(r instanceof f)){r=new f(r)}if(n.transform==="WebkitTransform"&&!s){e.style[n.transform]=r.toString(true)}else{e.style[n.transform]=r.toString()}t(e).data("transform",r)}};t.cssHooks.transform={set:t.cssHooks["transit:transform"].set};t.cssHooks.filter={get:function(t){return t.style[n.filter]},set:function(t,e){t.style[n.filter]=e}};if(t.fn.jquery<"1.8"){t.cssHooks.transformOrigin={get:function(t){return t.style[n.transformOrigin]},set:function(t,e){t.style[n.transformOrigin]=e}};t.cssHooks.transition={get:function(t){return t.style[n.transition]},set:function(t,e){t.style[n.transition]=e}}}p("scale");p("scaleX");p("scaleY");p("translate");p("rotate");p("rotateX");p("rotateY");p("rotate3d");p("perspective");p("skewX");p("skewY");p("x",true);p("y",true);function f(t){if(typeof t==="string"){this.parse(t)}return this}f.prototype={setFromString:function(t,e){var n=typeof e==="string"?e.split(","):e.constructor===Array?e:[e];n.unshift(t);f.prototype.set.apply(this,n)},set:function(t){var e=Array.prototype.slice.apply(arguments,[1]);if(this.setter[t]){this.setter[t].apply(this,e)}
2305else{this[t]=e.join(",")}},get:function(t){if(this.getter[t]){return this.getter[t].apply(this)}else{return this[t]||0}},setter:{rotate:function(t){this.rotate=b(t,"deg")},rotateX:function(t){this.rotateX=b(t,"deg")},rotateY:function(t){this.rotateY=b(t,"deg")},scale:function(t,e){if(e===undefined){e=t}this.scale=t+","+e},skewX:function(t){this.skewX=b(t,"deg")},skewY:function(t){this.skewY=b(t,"deg")},perspective:function(t){this.perspective=b(t,"px")},x:function(t){this.set("translate",t,null)},y:function(t){this.set("translate",null,t)},translate:function(t,e){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(t!==null&&t!==undefined){this._translateX=b(t,"px")}if(e!==null&&e!==undefined){this._translateY=b(e,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var t=(this.scale||"1,1").split(",");if(t[0]){t[0]=parseFloat(t[0])}if(t[1]){t[1]=parseFloat(t[1])}return t[0]===t[1]?t[0]:t},rotate3d:function(){var t=(this.rotate3d||"0,0,0,0deg").split(",");for(var e=0;e<=3;++e){if(t[e]){t[e]=parseFloat(t[e])}}if(t[3]){t[3]=b(t[3],"deg")}return t}},parse:function(t){var e=this;t.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(t,n,i){e.setFromString(n,i)})},toString:function(t){var e=[];for(var i in this){if(this.hasOwnProperty(i)){if(!n.transform3d&&(i==="rotateX"||i==="rotateY"||i==="perspective"||i==="transformOrigin")){continue}if(i[0]!=="_"){if(t&&i==="scale"){e.push(i+"3d("+this[i]+",1)")}else if(t&&i==="translate"){e.push(i+"3d("+this[i]+",0)")}else{e.push(i+"("+this[i]+")")}}}}return e.join(" ")}};function c(t,e,n){if(e===true){t.queue(n)}else if(e){t.queue(e,n)}else{t.each(function(){n.call(this)})}}function l(e){var i=[];t.each(e,function(e){e=t.camelCase(e);e=t.transit.propertyMap[e]||t.cssProps[e]||e;e=h(e);if(n[e])e=h(n[e]);if(t.inArray(e,i)===-1){i.push(e)}});return i}function d(e,n,i,r){var s=l(e);if(t.cssEase[i]){i=t.cssEase[i]}var a=""+y(n)+" "+i;if(parseInt(r,10)>0){a+=" "+y(r)}var o=[];
2305t.each(s,function(t,e){o.push(e+" "+a)});return o.join(", ")}t.fn.transition=t.fn.transit=function(e,i,r,s){var a=this;var u=0;var f=true;var l=t.extend(true,{},e);if(typeof i==="function"){s=i;i=undefined}if(typeof i==="object"){r=i.easing;u=i.delay||0;f=typeof i.queue==="undefined"?true:i.queue;s=i.complete;i=i.duration}if(typeof r==="function"){s=r;r=undefined}if(typeof l.easing!=="undefined"){r=l.easing;delete l.easing}if(typeof l.duration!=="undefined"){i=l.duration;delete l.duration}if(typeof l.complete!=="undefined"){s=l.complete;delete l.complete}if(typeof l.queue!=="undefined"){f=l.queue;delete l.queue}if(typeof l.delay!=="undefined"){u=l.delay;delete l.delay}if(typeof i==="undefined"){i=t.fx.speeds._default}if(typeof r==="undefined"){r=t.cssEase._default}i=y(i);var p=d(l,i,r,u);var h=t.transit.enabled&&n.transition;var b=h?parseInt(i,10)+parseInt(u,10):0;if(b===0){var g=function(t){a.css(l);if(s){s.apply(a)}if(t){t()}};c(a,f,g);return a}var m={};var v=function(e){var i=false;var r=function(){if(i){a.off(o,r)}if(b>0){a.each(function(){this.style[n.transition]=m[this]||null})}if(typeof s==="function"){s.apply(a)}if(typeof e==="function"){e()}};if(b>0&&o&&t.transit.useTransitionEnd){i=true;a.on(o,r)}else{window.setTimeout(r,b)}a.each(function(){if(b>0){this.style[n.transition]=p}t(this).css(l)})};var z=function(t){this.offsetWidth;v(t)};c(a,f,z);return this};function p(e,i){if(!i){t.cssNumber[e]=true}t.transit.propertyMap[e]=n.transform;t.cssHooks[e]={get:function(n){var i=t(n).css("transit:transform");return i.get(e)},set:function(n,i){var r=t(n).css("transit:transform");r.setFromString(e,i);t(n).css({"transit:transform":r})}}}function h(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function b(t,e){if(typeof t==="string"&&!t.match(/^[\-0-9\.]+$/)){return t}else{return""+t+e}}function y(e){var n=e;if(typeof n==="string"&&!n.match(/^[\-0-9\.]+/)){n=t.fx.speeds[n]||t.fx.speeds._default}return b(n,"ms")}t.transit.getTransitionValue=d;return t});
2306/*! jQuery.touchdragh (https://github.com/Takazudo/jQuery.touchdragh)
2307 * lastupdate: 2014-11-18
2308 * version: 1.6.6
2309 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
2310 * License: MIT */
2311(function(){var t={}.hasOwnProperty,e=function(e,n){function r(){this.constructor=e}for(var i in n)t.call(n,i)&&(e[i]=n[i]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},n=function(t,e){return function(){return t.apply(e,arguments)}};(function(t,r,i){var o,s,h;return s=t(r),o=t(i),h=t.TouchdraghNs={},h.normalizeXY=function(t){var e,n,r;return n={},e=t.originalEvent,null!=e.changedTouches?(r=e.changedTouches[0],n.x=r.pageX,n.y=r.pageY):(n.x=t.pageX||e.pageX,n.y=t.pageY||e.pageY),n},h.calcHighestHeight=function(e){var n;return n=0,e.each(function(e,r){var i;return i=t(r).outerHeight(),i>n?n=i:void 0}),n},h.support={},h.ua={},h.support.addEventListener="addEventListener"in i,h.support.touch="ontouchend"in i,h.support.mspointer=r.navigator.msPointerEnabled||!1,h.support.transition=function(){return t.support.transition&&t.support.transform&&null!=t.fn.transition?!0:!1}(),h.transitionEnabled=h.support.transition,h.enableTransition=function(){h.support.transition&&(h.support.transition=!0)},h.disableTransition=function(){h.support.transition&&(h.support.transition=!1)},h.ua.win8orhigh=function(){var t,e,n;return e=navigator.userAgent,(t=e.match(/Windows NT ([\d\.]+)/))?(n=1*t[1],6.2>n?!1:!0):!1}(),h.getEventNameSet=function(t){var e;switch(e={},t){case"touchstart":e.move="touchmove",e.end="touchend";break;case"mousedown":e.move="mousemove",e.end="mouseup";break;case"MSPointerDown":e.move="MSPointerMove",e.end="MSPointerUp";break;case"pointerdown":e.move="pointermove",e.end="pointerup"}return e},h.getLeftPx=function(t){var e,n;return n=h.transitionEnabled?"x":"left",e=t.css(n),e="auto"===e?0:1*e.replace(/px/,"")},h.startWatchGestures=function(){var t,e;return e=!1,t=function(){return e=!0,o.on("gesturestart",function(){return h.whileGesture=!0}),o.on("gestureend",function(){return h.whileGesture=!1})},function(){return this.initDone?void 0:t()}}(),h.OneDrag=function(t){function n(){this._scrollDirectionDecided=!1}return e(n,t),n.prototype.applyTouchStart=function(t){var e;return e=h.normalizeXY(t),this.startPageX=e.x,this.startPageY=e.y,this},n.prototype.applyTouchMove=function(t){var e,n,r,i,o=this;return e=h.normalizeXY(t),i=function(){var t;return t=e.x-o.startPageX,o.trigger("dragmove",{x:t})},this._scrollDirectionDecided?i():(n=Math.abs(e.x-this.startPageX),r=Math.abs(e.y-this.startPageY),(n>5||r>5)&&(this._scrollDirectionDecided=!0,n>5?this.trigger("xscrolldetected"):r>5&&this.trigger("yscrolldetected"))),this},n.prototype.destroy=function(){return this.off(),this},n}(r.EveEve),h.TouchdraghEl=function(r){function i(e,r){this.$el=e,this._handleTouchEnd=n(this._handleTouchEnd,this),this._handleTouchMove=n(this._handleTouchMove,this),this._handleTouchStart=n(this._handleTouchStart,this),this._handleClickToIgnore=n(this._handleClickToIgnore,this),this.el=this.$el[0],this.options=t.extend({},this.defaults,r),this.disabled=!1,this._prepareDraggers(),this._handeleAnnoyingDragPreventers(),h.startWatchGestures(),this._handlePointerEvents(),this._prepareEls(),this._eventify(),this.options.triggerrefreshimmediately&&this.refresh()}return e(i,r),i.prototype.defaults={inner:"> *",backanim_duration:250,backanim_easing:"swing",beforefirstrefresh:null,triggerrefreshimmediately:!0,tweakinnerpositionstyle:!1,alwayspreventtouchmove:!1,dragger:null,useonlydragger:!1,forever:!1,mstouchaction:"pan-y",handeleAnnoyingDragPreventers:!0},i.prototype._handeleAnnoyingDragPreventers=function(){return this.options.handeleAnnoyingDragPreventers?this.$draggers.on("drag","a, img",function(t){return t.preventDefault()}):void 0},i.prototype._prepareDraggers=function(){return this.$draggers=this.options.useonlydragger?t():this.$el,this.options.dragger&&(this.$draggers=this.$draggers.add(t(this.options.dragger))),this},i.prototype.refresh=function(){return this._calcMinMaxLeft(),this._handleTooNarrow(),this._handleInnerOver(),this._firstRefreshDone||(this.options.beforefirstrefresh&&this.options.beforefirstrefresh(this),this.trigger("firstrefresh",this),this._firstRefreshDone=!0),this.trigger("refresh",this),this},i.prototype._handlePointerEvents=function(){return h.support.mspointer?(this.el.style.msTouchAction=this.options.mstouchaction,this):this},i.prototype._prepareEls=function(){return this.$inner=this.$el.find(this.options.inner),this.options.tweakinnerpositionstyle&&this.$inner.css({position:"relative"}),h.transitionEnabled&&this.$inner.css({x:0}),this},i.prototype._calcMinMaxLeft=function(){return this.options.forever?(this._maxLeft=null,this._minLeft=null):(this._maxLeft=0,this._minLeft=-(this.$inner.outerWidth()-this.$el.innerWidth())),this},i.prototype._eventify=function(){var e;return e="MSPointerDown touchstart mousedown",this.$draggers.on(e,this._handleTouchStart),h.support.addEventListener&&this.el.addEventListener("click",t.noop,!0),this},i.prototype._handleClickToIgnore=function(t){return t.stopPropagation(),t.preventDefault(),this},i.prototype._handleTouchStart=function(t){var e,n=this;return this.disabled?this:this._whileDrag?this:h.whileGesture?this:("mousedown"===t.type&&t.preventDefault(),this._currentEventNameSet=h.getEventNameSet(t.type),this._whileDrag=!0,this._slidecanceled=!1,this._shouldSlideInner=!1,e=this._currentDrag=new h.OneDrag,e.on("yscrolldetected",function(){return n._whileDrag=!1,n._slidecanceled=!0,n.trigger("slidecancel")}),e.on("xscrolldetected",function(){return n._shouldSlideInner=!0,n.trigger("dragstart"),n.$el.on("click","a",n._handleClickToIgnore)}),e.on("dragmove",function(t){return n.trigger("drag"),n._moveInner(t.x)}),this._innerStartLeft=h.getLeftPx(this.$inner),e.applyTouchStart(t),o.on(this._currentEventNameSet.move,this._handleTouchMove),o.on(this._currentEventNameSet.end,this._handleTouchEnd),this)},i.prototype._handleTouchMove=function(t){return this._whileDrag?h.whileGesture?this:(this._currentDrag.applyTouchMove(t),(this.options.alwayspreventtouchmove||this._shouldSlideInner)&&(t.preventDefault(),t.stopPropagation()),this):this},i.prototype._handleTouchEnd=function(){var t=this;return this._whileDrag=!1,o.off(this._currentEventNameSet.move,this._handleTouchMove),o.off(this._currentEventNameSet.end,this._handleTouchEnd),this._currentDrag.destroy(),this._currentEventNameSet=null,this._slidecanceled||this.trigger("dragend"),setTimeout(function(){return t.$el.off("click","a",t._handleClickToIgnore)},10),this._handleInnerOver(!0),this},i.prototype._moveInner=function(t){var e,n,r;return n=this._innerStartLeft+t,null!==this._maxLeft&&(n>this._maxLeft?n=this._maxLeft+(n-this._maxLeft)/3:this._minLeft>n&&(n=this._minLeft+(n-this._minLeft)/3)),r=h.transitionEnabled?{x:n}:{left:n},this.$inner.css(r),e={left:n},this.trigger("move",e),this},i.prototype._handleInnerOver=function(t){var e,n,r,i,o,s=this;if(null==t&&(t=!1),this.isInnerTooNarrow())return this;if(o=function(){return t?s.trigger("moveend"):void 0},i=null,n=this.currentSlideLeft(),null===this._maxLeft)o();else{if(r=n>this._maxLeft,e=this._minLeft>n,!r&&!e)return o(),this;r&&(i=this._maxLeft),e&&(i=this._minLeft),this.slide(i,!0,function(){return o()})}return this},i.prototype._handleTooNarrow=function(){return this.isInnerTooNarrow()?(this.disable(),this.$inner.css("left",0)):this.enable(),this},i.prototype.isInnerTooNarrow=function(){var t,e;return t=this.$el.width(),e=this.$inner.width(),t>=e},i.prototype.disable=function(){return this.disabled=!0,this},i.prototype.enable=function(){return this.disabled=!1,this},i.prototype.slide=function(e,n,r){var i,o,s,u=this;return null==n&&(n=!1),null!==this._maxLeft&&(e>this._maxLeft&&(e=this._maxLeft),this._minLeft>e&&(e=this._minLeft)),i=this.options.backanim_duration,o=this.options.backanim_easing,s=h.transitionEnabled?{x:e}:{left:e},t.Deferred(function(t){var e;return u.trigger("beforeslide"),e=function(){return u.trigger("afterslide"),"function"==typeof r&&r(),t.resolve()},n?h.transitionEnabled?(o="easeOutExpo",u.$inner.stop().transition(s,i,o,function(){return e()})):u.$inner.stop().animate(s,i,o,function(){return e()}):(u.$inner.stop().css(s),e())}).promise()},i.prototype.currentSlideLeft=function(){return h.getLeftPx(this.$inner)},i.prototype.isCurrentLeftMax=function(){return this.currentSlideLeft()===this._minLeft},i.prototype.isCurrentLeftMin=function(){return this.currentSlideLeft()===this._maxLeft},i.prototype.updateInnerWidth=function(t){return this.$inner.width(t),this},i}(r.EveEve),h.TouchdraghFitty=function(n){function r(e,n){this.$el=e,this.options=t.extend({},this.defaults,n),this.currentIndex=this.options.startindex,this._prepareTouchdragh(),this.options.triggerrefreshimmediately&&this.refresh()}return e(r,n),r.prototype.defaults={item:null,beforefirstfresh:null,startindex:0,triggerrefreshimmediately:!0},r.prototype._prepareTouchdragh=function(){var e,n=this;return e=t.extend({},this.options),e.triggerrefreshimmediately=!1,e.beforefirstrefresh=function(t){return t.once("firstrefresh",function(){var t;return"function"==typeof(t=n.options).beforefirstrefresh&&t.beforefirstrefresh(n),n.trigger("firstrefresh",n),n._firstRefreshDone=!0}),t.on("refresh",function(){return n.trigger("refresh")}),t.on("slidecancel",function(){return n.trigger("slidecancel")}),t.on("dragstart",function(){return n.trigger("dragstart")}),t.on("drag",function(){return n.trigger("drag")}),t.on("dragend",function(){return n.trigger("dragend")}),t.on("moveend",function(){var e,r,i,o;return o=-t.currentSlideLeft(),r=n.$el.innerWidth(),i=null,e=o/r,n.currentIndex>e?i=n.currentIndex-1:e>n.currentIndex&&(i=n.currentIndex+1),null!==i?(n.updateIndex(i),n.adjustToFit(r,!0)):void 0})},this._touchdragh=new h.TouchdraghEl(this.$el,e),this},r.prototype.updateIndex=function(t){var e,n;return t>=0&&this.$items.length>t?(n=this.currentIndex,this.currentIndex=t,n!==t&&(e={index:this.currentIndex},this.trigger("indexchange",e)),!0):!1},r.prototype.refresh=function(){var t,e;return this.$items=this.$el.find(this.options.item),e=this._itemWidth=this.$el.innerWidth(),t=e*this.$items.length,this._touchdragh.updateInnerWidth(t),this.$items.width(e),this._touchdragh.refresh(),this.adjustToFit(e),this},r.prototype.adjustToFit=function(e,n,r){var i=this;return null==n&&(n=!1),null==e&&(e=this.$items.width()),t.Deferred(function(t){var o,s,h;return o=i.currentIndex,s=-e*o,h=i._touchdragh.currentSlideLeft(),s===h?(t.resolve(),i):(i._sliding||i.trigger("slidestart"),i._sliding=!0,i._touchdragh.slide(s,n,function(){var e;return i._sliding=!1,e={index:i.currentIndex},i.trigger("slideend",e),"function"==typeof r&&r(),t.resolve()}))}).promise()},r.prototype.to=function(e,n){var r,i=this;return null==n&&(n=!1),r=this.updateIndex(e),t.Deferred(function(t){return r?i.adju
2311stToFit(null,n,function(){return t.resolve()}):(i.trigger("invalidindexrequested"),t.resolve())}).promise()},r.prototype.next=function(t){return null==t&&(t=!1),this.to(this.currentIndex+1,t)},r.prototype.prev=function(t){return null==t&&(t=!1),this.to(this.currentIndex-1,t)},r}(r.EveEve),h.ForeverInner=function(n){function r(e,n,r){var i,o;this.$inner=e,this.$inner2=n,o=this.options=t.extend({},this.defaults,r),i=this.$inner2.find(o.selector_item).length,this.origItemsCount=i,this.baseIndex=i*o.forever_duplicate_count,this._duplicateInside()}return e(r,n),r.prototype.defaults={baseleft:null,stepwidth:null,widthbetween:null,forever_duplicate_count:1},r.prototype.handleIndexchange=function(t){var e,n,r,i;if(r=null,this.baseIndex>t)for(n=-1;;){if(e=this.baseIndex+n*this.origItemsCount,i=this.baseIndex+(n+1)*this.origItemsCount,t>=e&&i>t){r=n;break}n-=1}if(t>=this.baseIndex)for(n=0;;){if(e=this.baseIndex+n*this.origItemsCount,i=this.baseIndex+(n+1)*this.origItemsCount,t>=e&&i>t){r=n;break}n+=1}return this._changeLeftFromOffset(r),this._handleInner2Width(),this},r.prototype._changeLeftFromOffset=function(t){var e,n,r;return e=this.options,r=this.origItemsCount*(e.stepwidth+e.widthbetween),n=e.baseleft+t*r,this.currentInner2Left=n,this.$inner2.css("left",n),this},r.prototype._handleInner2Width=function(){return this.$inner2.width(this.$inner.width()-this.options.baseleft+3)},r.prototype._duplicateInside=function(){var t,e,n;for(t=this.$inner2.html(),e=1,n=2*this.options.forever_duplicate_count;n>=1?n>=e:e>=n;n>=1?e++:e--)this.$inner2.append(t);return this},r}(r.EveEve),h.TouchdraghSteppy=function(r){function i(e,r){var i;this.$el=e,this._handleMoveend=n(this._handleMoveend,this),i=this.options=t.extend({},this.defaults,r),this.steppy_disabled=!1,this.currentIndex=i.startindex,this._setupForever(),this._prepareTouchdragh(),i.triggerrefreshimmediately&&this.refresh(),this._eventify(),i.forever&&(this.to(this._foreverInner.baseIndex+i.startindex),this.on("indexchange",function(t){return this._foreverInner.handleIndexchange(t.index)}))}return e(i,r),i.prototype.defaults={item:null,inner:null,inner2:null,inner2left:0,beforefirstfresh:null,startindex:0,maxindex:"auto",triggerrefreshimmediately:!0,stepwidth:300,widthbetween:0,forever:!1,forever_duplicate_count:1,normalize_height:!1,normalize_height_on_resize:!1},i.prototype._eventify=function(){var t=this;return this.options.normalize_height_on_resize?s.on("resize",function(){return t.normalizeHeight()}):void 0},i.prototype._setupForever=function(){var t,e;return t=this.options,t.forever?(e={widthbetween:t.widthbetween,stepwidth:t.stepwidth,baseleft:t.inner2left,forever_duplicate_count:t.forever_duplicate_count,selector_item:t.item},this.$inner=this.$el.find(t.inner),this.$inner2=this.$el.find(t.inner2),this._foreverInner=new h.ForeverInner(this.$inner,this.$inner2,e),this):this},i.prototype._prepareTouchdragh=function(){var e,n=this;return e=t.extend({},this.options),e.triggerrefreshimmediately=!1,e.beforefirstrefresh=function(t){return t.once("firstrefresh",function(){var t;return"function"==typeof(t=n.options).beforefirstrefresh&&t.beforefirstrefresh(n),n.trigger("firstrefresh",n),n._firstRefreshDone=!0}),t.on("refresh",function(){return n.trigger("refresh")}),t.on("slidecancel",function(){return n.trigger("slidecancel")}),t.on("dragstart",function(){return n.trigger("dragstart")}),t.on("drag",function(){return n.trigger("drag")}),t.on("dragend",function(){return n.trigger("dragend")}),t.on("moveend",n._handleMoveend)},this.touchdragh=new h.TouchdraghEl(this.$el,e),this},i.prototype._handleMoveend=function(){var t;if(!this.steppy_disabled)return t=this._calcIndexFromCurrentSlideLeft(),this.updateIndex(t),this.adjustToFit(!0)},i.prototype._calcIndexFromCurrentSlideLeft=function(){var t,e,n,r,i,o,s,h,u=this;return o=this.touchdragh.currentSlideLeft(),i=0,s=null,h=!1,e=!1,t=!1,r=function(){var n,r,a,d;for(d=[];;){if(a=u._calcLeftFromIndex(i),r=u._calcLeftFromIndex(i-1),n=a+(r-a-u.options.widthbetween)/2,o>=a&&r>=o&&((o===a||o===r)&&(h=!0),o>=n?(s=i-1,e=!0):(s=i,t=!0)),null!==s)break;d.push(i-=1)}return d},n=function(){var n,r,a,d;for(d=[];;){if(!u.options.forever&&i>u._maxindex)break;if(a=u._calcLeftFromIndex(i+1),r=u._calcLeftFromIndex(i),n=a+(r-a+u.options.widthbetween)/2,o>=a&&r>=o&&((o===a||o===r)&&(h=!0),o>=n?(s=i,e=!0):(s=i+1,t=!0)),null!==s)break;d.push(i+=1)}return d},this.options.forever?(0===o&&(h=!0),0>o&&n(),o>0&&r()):n(),s!==this.currentIndex||h||(e?s+=1:t&&(s-=1)),0>s&&(s=0),s>this._maxindex&&(s=this._maxindex),s},i.prototype.updateIndex=function(t){var e,n;return this.options.forever!==!1||t>=0&&this._maxindex>=t?(n=this.currentIndex,this.currentIndex=t,n!==t&&(e={index:this.currentIndex},this.options.forever&&(e.normalizedIndex=this._calcNormalizedIndex()),this.trigger("indexchange",e)),!0):!1},i.prototype.refresh=function(){var t,e,n;return this.$items=this.$el.find(this.options.item),e=this.$items.length,this._maxindex="auto"===this.options.maxindex?e-1:this.options.maxindex,n=this.options.stepwidth,t=n*e,e>0&&(t+=this.options.widthbetween*(e-1)),this.touchdragh.updateInnerWidth(t),this.$items.width(n),this.touchdragh.refresh(),this.normalizeHeight(),this.adjustToFit(),this},i.prototype.normalizeHeight=function(){var e,n;return this.options.normalize_height===!1?this:(e=t().add(this.$el).add(this.$items).add(this.$inner).add(this.$inner2),e.css("min-height","0px"),n=h.calcHighestHeight(this.$items),e.css("min-height",""+n+"px"),this.trigger("heightnormalized",n),this)},i.prototype._calcLeftFromIndex=function(t){var e,n,r,i;if(i=this.options.stepwidth,e=this.options.widthbetween,n=0,r=0,0===t)return 0;if(t>0)for(;t>n;)n+=1,r-=i,0!==n&&(r-=e);if(0>t)for(;n>t;)n-=1,r+=i,0!==n&&(r+=e);return r},i.prototype._calcNormalizedIndex=function(){var t,e,n,r,i;return n=this.options,e=this._foreverInner.origItemsCount,r=e*n.forever_duplicate_count,t=this.currentIndex-r,i=t%e,0>t&&(i=e-Math.abs(i),i===e&&(i=0)),i},i.prototype.adjustToFit=function(e,n){var r,i,o=this;return null==e&&(e=!1),i=this.options.stepwidth,r=this.options.widthbetween,t.Deferred(function(t){var r,i;return r=o._calcLeftFromIndex(o.currentIndex),i=o.touchdragh.currentSlideLeft(),r===i?(t.resolve(),o):(o._sliding||o.trigger("slidestart"),o._sliding=!0,o.touchdragh.slide(r,e,function(){var e;return o._sliding=!1,e={index:o.currentIndex},o.trigger("slideend",e),"function"==typeof n&&n(),t.resolve()}))}).promise()},i.prototype.to=function(e,n){var r,i=this;return null==n&&(n=!1),r=this.updateIndex(e),t.Deferred(function(t){return r?i.adju
2311stToFit(n,function(){return t.resolve()}):(i.trigger("invalidindexrequested"),t.resolve())}).promise()},i.prototype.next=function(t){return null==t&&(t=!1),this.to(this.currentIndex+1,t)},i.prototype.prev=function(t){return null==t&&(t=!1),this.to(this.currentIndex-1,t)},i.prototype.updateOption=function(e){return this.options=t.extend(this.options,e),this.refresh(),this},i.prototype.steppify=function(){return this.steppy_disabled=!1,this},i.prototype.unsteppify=function(){return this.steppy_disabled=!0,this},i}(r.EveEve),t.fn.touchdragh=function(e){return this.each(function(n,r){var i,o;i=t(r),o=new h.TouchdraghEl(i,e),i.data("touchdragh",o)})},t.fn.touchdraghfitty=function(e){return this.each(function(n,r){var i,o;i=t(r),o=new h.TouchdraghFitty(i,e),i.data("touchdraghfitty",o)})},t.fn.touchdraghsteppy=function(e){return this.each(function(n,r){var i,o;i=t(r),o=new h.TouchdraghSteppy(i,e),i.data("touchdraghsteppy",o)})},t.Touchdragh=h.TouchdraghEl,t.TouchdraghFitty=h.TouchdraghFitty})(jQuery,window,document)}).call(this);
2312
2313/*! jQuery.imgUtil (https://github.com/Takazudo/jQuery.imgUtil)
2314 * lastupdate: 2015-03-10
2315 * version: 0.7.0
2316 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
2317 * License: MIT */
2318(function(){var t={}.hasOwnProperty,e=function(e,i){function r(){this.constructor=e}for(var n in i)t.call(i,n)&&(e[n]=i[n]);return r.prototype=i.prototype,e.prototype=new r,e.__super__=i.prototype,e};(function(t){var i;return i={},i.createCachedFunction=function(e){var i;return i={},function(r,n){return i[r]||(i[r]=t.Deferred(function(t){return e(t,r,n)}).promise()),i[r]}},i.loadImg=function(e){var i,r,n;return r=t.Deferred(),n=new Image,n.alt='',i=function(){return n.onload=n.onerror=null},n.onload=function(){return i(),r.resolve(t(n))},n.onerror=function(){return i(),r.reject(t(n))},n.src=e,r.promise()},function(){var e,r,n,h,o;return n={},e=null,r=function(){return t.Deferred(function(i){return t(function(){return e=t('<div id="calcNaturalWH-tempholder"></div>').css({position:"absolute",left:"-9999px",top:"-9999px"}),t("body").append(e),i.resolve()})}).promise()},h=function(t){return null==t.naturalWidth||0===t.naturalWidth||null==t.naturalHeight||0===t.naturalHeight?!1:!0},o=function(i,r){var h,o,g,c,u,l;return i=i.clone(),c=i[0],g=t.Deferred(),l={},i.css({width:"auto",height:"auto"}),h=t("<div></div>").append(i),e.append(h),o=0,u=function(){return l.width=c.naturalWidth||i.width(),l.height=c.naturalHeight||i.height(),o>10?(h.remove(),g.reject()):l.width&&l.height?(n[r],h.remove(),g.resolve(l)):(o++,setTimeout(function(){return u()},100))},u(),g.promise()},i.calcNaturalWH=i.createCachedFunction(function(t,e){return i.loadImg(e).then(function(i){var g,c;return g=i[0],h(g)?(c={width:g.naturalWidth,height:g.naturalHeight},n[e]=c,t.resolve(c,i)):r().done(function(){return o(i,e).then(function(e){return t.resolve(e,i)},function(){return t.reject()})})},function(){return t.reject()})})}(),i.calcStylesToBeContainedInRect=function(){var e;return e={imgWidth:null,imgHeight:null,rectWidth:null,rectHeight:null},function(i){var r,n;return r=t.extend({},e,i),n={},n.left=r.imgWidth<r.rectWidth?Math.floor((r.rectWidth-r.imgWidth)/2):0,n.top=r.imgHeight<r.rectHeight?Math.floor((r.rectHeight-r.imgHeight)/2):0,n}}(),i.calcRectContainImgWH=function(){var e,i;return i=function(t){return t.imgWidth=100*t.imgWidth,t.imgHeight=100*t.imgHeight,t},e={imgWidth:null,imgHeight:null,rectWidth:null,rectHeight:null,enlargeSmallImg:!0},function(r){var n,h,o;return n=t.extend({},e,r),n.enlargeSmallImg&&(n=i(n)),n.imgWidth<n.rectWidth&&n.imgHeight<n.rectHeight?{width:n.imgWidth,height:n.imgHeight}:(o=n.rectWidth/n.imgWidth,h=n.rectHeight/n.imgHeight,h>o?{width:n.rectWidth,height:Math.ceil(n.imgHeight*o)}:o>h?{width:Math.ceil(n.imgWidth*h),height:n.rectHeight}:o===h?{width:n.imgWidth*o,height:n.imgHeight*h}:void 0)}}(),i.calcStylesToCoverRect=function(){var e;return e={imgWidth:null,imgHeight:null,rectWidth:null,rectHeight:null},function(i){var r,n;return r=t.extend({},e,i),n={},n.left=r.imgWidth>r.rectWidth?-1*Math.floor((r.imgWidth-r.rectWidth)/2):0,n.top=r.imgHeight>r.rectHeight?-1*Math.floor((r.imgHeight-r.rectHeight)/2):0,n}}(),i.calcRectCoverImgWH=function(){var e;return e={imgWidth:null,imgHeight:null,rectWidth:null,rectHeight:null},function(i){var r,n,h,o;return r=t.extend({},e,i),o=function(){var t,e;return e=r.rectWidth/r.imgWidth,t=Math.floor(e*r.imgHeight),r.rectHeight>t?!1:{width:r.rectWidth,height:t}},h=function(){var t,e;return e=r.rectHeight/r.imgHeight,t=Math.floor(e*r.imgWidth),r.rectWidth>t?!1:{width:t,height:r.rectHeight}},n=o(),n===!1&&(n=h(),n===!1&&(n.width=r.rectWidth,n.height=r.rectHeight)),n}}(),i.calcEdgeFitImgWH=function(){var e;return e={edge:null,imgWidth:null,imgHeight:null,rectWidth:null,rectHeight:null},function(i){var r,n,h,o;switch(r=t.extend({},e,i),n={},r.edge){case"right":case"left":h=r.rectHeight/r.imgHeight,n.width=Math.round(r.imgWidth*h),n.height=r.rectHeight;break;case"top":case"bottom":o=r.rectWidth/r.imgWidth,n.width=r.rectWidth,n.height=Math.round(r.imgHeight*o)}switch(r.edge){case"left":n.top=0,n.right="auto",n.bottom="auto",n.left=0;break;case"right":n.top=0,n.right=0,n.bottom="auto",n.left="auto";break;case"top":n.top=0,n.right="auto",n.bottom="auto",n.left=0;break;case"bottom":n.top="auto",n.right="auto",n.bottom=0,n.left=0}return n}}(),i.AbstractImgRectFitter=function(){function e(){var t,e;
2318e=this.$el.attr(this.options.attr_src),e&&(this.options.src=e),this.options.oninit&&(t={el:this.$el},this.options.oninit(t)),this._doFirstRefresh()}return e.prototype._doFirstRefresh=function(){var t=this;return this._stillLoadingImg=!0,this._calcNaturalImgWH().done(function(){return t._stillLoadingImg=!1,t.refresh()}),this},e.prototype._calcNaturalImgWH=function(){var e,r,n,h=this;return e=t.Deferred(),n=function(t,i){h.originalImgWidth=t.width,h.originalImgHeight=t.height,h.options.cloneImg&&(i=i.clone()),h.$img=i,e.resolve()},r=function(){h.options.onfail&&h.options.onfail(),e.reject()},i.calcNaturalWH(this.options.src).then(n,r),e.promise()},e.prototype._putImg=function(t){return this.options.overrideImgPut?this.options.overrideImgPut(this.$el,t):this.$el.empty().append(t),this},e.prototype._finalizeImg=function(t){var e,i;return this.options.useNewImgElOnRefresh?(e=this.$img.clone(),e.css(t),this._putImg(e)):(this.$img.css(t),i=this.$el.find("img"),0===i.length&&this._putImg(this.$img)),this},e}(),i.ImgCoverRect=function(r){function n(e,r){this.$el=e,this.options=t.extend({},i.ImgCoverRect.defaults,r),n.__super__.constructor.apply(this,arguments)}return e(n,r),n.defaults={src:null,oninit:null,onfail:null,cloneImg:!0,useNewImgElOnRefresh:!1,attr_src:"data-imgcoverrect-src",overrideImgPut:null},n.prototype.refresh=function(){var e,r,n;if(this._stillLoadingImg!==!0)return this.rectWidth=this.$el.width(),this.rectHeight=this.$el.height(),e=i.calcRectCoverImgWH({imgWidth:this.originalImgWidth,imgHeight:this.originalImgHeight,rectWidth:this.rectWidth,rectHeight:this.rectHeight}),n={width:e.width,height:e.height},r=i.calcStylesToCoverRect({imgWidth:e.width,imgHeight:e.height,rectWidth:this.rectWidth,rectHeight:this.rectHeight}),n=t.extend(n,r),this._finalizeImg(n),this},n}(i.AbstractImgRectFitter),function(){var e;return e="imgcoverrect",t.fn.imgCoverRect=function(r){return this.each(function(n,h){var o;return o=t(h),o.data(e,new i.ImgCoverRect(o,r))})},t.fn.refreshImgCoverRect=function(){return this.each(function(i,r){var n,h;return n=t(r),(h=n.data(e))?h.refresh():void 0})}}(),i.ImgContainRect=function(r){function n(e,r){this.$el=e,this.options=t.extend({},i.ImgContainRect.defaults,r),n.__super__.constructor.apply(this,arguments)}return e(n,r),n.defaults={src:null,oninit:null,onfail:null,cloneImg:!0,enlargeSmallImg:!0,useNewImgElOnRefresh:!1,attr_src:"data-imgcontainrect-src",overrideImgPut:null},n.prototype.refresh=function(){var e,r,n;if(this._stillLoadingImg!==!0)return this.rectWidth=this.$el.width(),this.rectHeight=this.$el.height(),e=i.calcRectContainImgWH({imgWidth:this.originalImgWidth,imgHeight:this.originalImgHeight,rectWidth:this.rectWidth,rectHeight:this.rectHeight,enlargeSmallImg:this.options.enlargeSmallImg}),n={width:e.width,height:e.height},r=i.calcStylesToBeContainedInRect({imgWidth:e.width,imgHeight:e.height,rectWidth:this.rectWidth,rectHeight:this.rectHeight}),n=t.extend(n,r),this._finalizeImg(n),this},n}(i.AbstractImgRectFitter),function(){var e;return e="imgcontainrect",t.fn.imgContainRect=function(r){return this.each(function(n,h){var o;return o=t(h),o.data(e,new i.ImgContainRect(o,r))})},t.fn.refreshImgContainRect=function(){return this.each(function(i,r){var n,h;return n=t(r),(h=n.data(e))?h.refresh():void 0})}}(),i.ImgFitToEdge=function(r){function n(e,r){this.$el=e,this.options=t.extend({},i.ImgFitToEdge.defaults,r),this.edge=this.$el.attr(this.options.attr_edge),n.__super__.constructor.apply(this,arguments)}return e(n,r),n.defaults={src:null,oninit:null,onfail:null,cloneImg:!0,enlargeSmallImg:!0,useNewImgElOnRefresh:!1,attr_src:"data-imgfittoedge-src",attr_edge:"data-imgfittoedge-edge",overrideImgPut:null},n.prototype.refresh=function(){var t;if(this._stillLoadingImg!==!0)return this.rectWidth=this.$el.width(),this.rectHeight=this.$el.height(),t=i.calcEdgeFitImgWH({edge:this.edge,imgWidth:this.originalImgWidth,imgHeight:this.originalImgHeight,rectWidth:this.rectWidth,rectHeight:this.rectHeight}),this._finalizeImg(t),this},n}(i.AbstractImgRectFitter),function(){var e;return e="imgfittoedge",t.fn.imgFitToEdge=function(r){return this.each(function(n,h){var o;return o=t(h),o.data(e,new i.ImgFitToEdge(o,r))})},t.fn.refreshImgFitToEdge=function(){return this.each(function(i,r){var n,h;return n=t(r),(h=n.data(e))?h.refresh():void 0})}}(),t.imgUtil=i})(jQuery,window,document)}).call(this);
2319/*! jQuery.deferredPipeline (https://github.com/Takazudo/jQuery.deferredPipeline)
2320 * lastupdate: 2014-03-27
2321 * version: 0.1.0
2322 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
2323 * License: MIT */
2324(function(){var a={}.hasOwnProperty,b=function(b,c){function d(){this.constructor=b}for(var e in c)a.call(c,e)&&(b[e]=c[e]);return d.prototype=c.prototype,b.prototype=new d,b.__super__=c.prototype,b};!function(a){var c,d,e;return c=window.EveEve,d={},d.util={},e=function(b){return a.Deferred(function(a){return setTimeout(function(){return a.resolve()},b)})},d.MESSAGE={error_no_deferred:"Error: registered function should return a deferred"},d.util.isPromise=function(a){return null!=a&&null!=a.then&&null!=a.done?!0:!1},d.Item=function(c){function e(b,c){this.options=a.extend({},d.Item.defaults,c),this.started=!1,this.running=!1,this.stopped=!1,this._fn=b}return b(e,c),e.defaults={done:null,fail:null,complete:null},e.prototype._attachNoDeferredMessage=function(a){return a.msg=d.MESSAGE.error_no_deferred},e.prototype._triggerSuccess=function(a){var b;return this.stopped=!0,"function"==typeof(b=this.options).done&&b.done(a),this.trigger("success",a),this._triggerComplete(a,!0)},e.prototype._triggerFail=function(a,b,c){var d,e;return null==b&&(b=!1),null==c&&(c=!1),this.stopped=!0,d={},d.aborted=b,c&&this._attachNoDeferredMessage(d),"function"==typeof(e=this.options).fail&&e.fail(a,d),this.trigger("fail",a,d),this._triggerComplete(a,!1,b,c)},e.prototype._triggerComplete=function(a,b,c,d){var e,f;return null==c&&(c=!1),null==d&&(d=!1),e={successed:b,aborted:c},d&&this._attachNoDeferredMessage(e),"function"==typeof(f=this.options).complete&&f.complete(a,e),this.trigger("complete",a,e)},e.prototype.destroy=function(){return this.off(),this._fn=null},e.prototype.stop=function(){var a;if(!this.stopped)return this.stopped=!0,null!=(a=this._completeStats)&&(a.aborted=!0),this._triggerFail([],!0)},e.prototype.run=function(){var a;return this._completeStats={aborted:!1},this.started=!0,!this.stopped||this.running?(this.running=!0,a=this._fn(this._completeStats),d.util.isPromise(a)?(this.trigger("run"),a.then(function(a){return function(){return a.running=!1,a.stopped?void 0:a._triggerSuccess(arguments)}}(this),function(a){return function(){return a.running=!1,a._triggerFail(arguments,!1)}}(this))):(this.running=!1,void this._triggerFail([],!1,!1,!0))):void 0},e}(c),d.Pipeline=function(c){function f(b){this.completeCount=0,this.options=a.extend({},d.Pipeline.defaults,b),this._items=[]}return b(f,c),f.defaults={pipeSize:3},f.prototype._beforeStoppingItems=function(){return this._stoppingItemsInProgress=!0,this.trigger("startStoppingItems")},f.prototype._afterStoppingItems=function(){return this._stoppingItemsInProgress=!1,this.trigger("endStoppingItems"),this.trigger("stop")},f.prototype._handleTheLastItemCompletion=function(){return this.running=!1,e(0).done(function(a){return function(){return a.trigger("allComplete")}}(this))},f.prototype._handleNextRun=function(){return this._stoppingItemsInProgress?this.once("endStoppingItems",function(a){return function(){return a._tryToRunNextItem()}}(this)):this._tryToRunNextItem()},f.prototype._findNextPendingItem=function(){var a,b,c,d;for(d=this._items,b=0,c=d.length;c>b;b++)if(a=d[b],a.started===!1)return a;return null},f.prototype._removeItem=function(a){var b,c,d,e,f;for(c=[],f=this._items,d=0,e=f.length;e>d;d++)b=f[d],b!==a&&c.push(b);return this._items=c,a.destroy()},f.prototype._tryToRunNextItem=function(){var a,b,c,d,e;for(b=this.options.pipeSize,d=this.countRunningItems(),a=!1,c=function(b){return function(){var c;return c=b._findNextPendingItem(),null!=c?c.run():a=!0,d=b.countRunningItems()}}(this),e=[];b>d&&!a;)e.push(c());return e},f.prototype.destroy=function(){var a,b,c,d;for(this.stopAll(),this.off(),d=this._items,b=0,c=d.length;c>b;b++)a=d[b],a.destroy();return this._items=null},f.prototype.add=function(a,b){var c;return c=new d.Item(a,b),c.on("run",function(a){return function(b){return a.trigger("itemRun",b)}}(this)),c.on("success",function(a){return function(b){return a.trigger("itemSuccess",b)}}(this)),c.on("fail",function(a){return function(b,c){return a.trigger("itemFail",b,c)}}(this)),c.on("complete",function(a){return function(b,d){var e;return e=1===a._items.length,a._removeItem(c),a.completeCount+=1,a.trigger("itemComplete",b,d),e?a._handleTheLastItemCompletion():a._handleNextRun()}}(this)),this._items.push(c)},f.prototype.countRunningItems=function(){var a,b,c,d,e;for(b=0,e=this._items,c=0,d=e.length;d>c;c++)a=e[c],a.running&&(b+=1);return b},f.prototype.size=function(){return this._items.length},f.prototype.run=function(){return!this.running&&this._items.length?(this.running=!0,this.trigger("run"),this._tryToRunNextItem()):void 0},f.prototype.stopAll=function(){var a,b,c,d;for(this._beforeStoppingItems(),d=this._items,b=0,c=d.length;c>b;b++)a=d[b],a.stop();return this._afterStoppingItems()},f.prototype.stopAllWithoutTheLast=function(){var a,b,c,d,e;for(this._beforeStoppingItems(),b=this._items[this._items.length-1],e=this._items,c=0,d=e.length;d>c;c++)a=e[c],a!==b&&a.stop();return this._afterStoppingItems()},f}(c),a.DeferredPipelineNs=d,a.DeferredPipeline=d.Pipeline}(jQuery)}).call(this);
2325/*! jQuery.WinEnterWatcher (https://github.com/Takazudo/jQuery.WinEnterWatcher)
2326 * lastupdate: 2014-12-12
2327 * version: 0.1.0
2328 * author: 'Takazudo' Takeshi Takatsudo <[email protected]>
2329 * License: MIT */
2330(function(){var t={}.hasOwnProperty,e=function(e,n){function r(){this.constructor=e}for(var i in n)t.call(n,i)&&(e[i]=n[i]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e};(function(t){var n,r,i;return r=window.EveEve,n=t(window),i={},i.limit=function(t,e,n){var r;return r=null,function(){var i,o,s;return o=this,i=arguments,s=function(){return r=null,t.apply(o,i)},n&&clearTimeout(r),n||!r?r=setTimeout(s,e):void 0}},i.throttle=function(t,e){return i.limit(t,e,!1)},i.debounce=function(t,e){return i.limit(t,e,!0)},i.isAboveTheWindow=function(e,r){var i,o;return i={threshold:0},e.length>1?(t.error("2 or more elements were thrown."),!1):(o=t.extend({},i,r),n.scrollTop()>
2330=e.offset().top+o.threshold+e.innerHeight())},i.isBelowTheWindow=function(e,r){var i,o;return i={threshold:0},e.length>1?(t.error("2 or more elements were thrown."),!1):(o=t.extend({},i,r),n.height()+n.scrollTop()<=e.offset().top-o.threshold)},i.isInWindow=function(t){return!i.isAboveTheWindow(t)&&!i.isBelowTheWindow(t)},i.WinWatcher=function(t){function r(){var t=this;n.on(i,function(){return t.trigger("resize")})}var i;return e(r,t),i="resize scroll orientationchange",r}(r),i.winWatcher=new i.WinWatcher,i.Watcher=function(n){function r(e,n){this.el=e,this.$el=t(this.el),this.done=!1,this.options=t.extend({},i.Watcher.defaults,n)}return e(r,n),r.defaults={threshold:0,throttle_millisec:200,process_above_window:!1},r.prototype.start=function(){return this._watchResize(),this.check()},r.prototype.check=function(){return this.done?void 0:this.options.process_above_window&&i.isAboveTheWindow(this.$el)?(this._handleElEnter(),void 0):i.isInWindow(this.$el)?this._handleElEnter():void 0},r.prototype.destroy=function(){return this._unwatchResize()},r.prototype._handleElEnter=function(){var t;return this.done=!0,t={watcher:this,el:this.$el},this.trigger("enter",t),this._unwatchResize()},r.prototype._watchResize=function(){var t=this;return this._resizeHandler=i.throttle(function(){return t.check()},this.options.throttle_millisec),i.winWatcher.on("resize",this._resizeHandler)},r.prototype._unwatchResize=function(){return i.winWatcher.off("resize",this._resizeHandler)},r}(r),t.WinEnterWatcherNs=i,t.WinEnterWatcher=i.Watcher})(jQuery)}).call(this);
2331!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.o
vendor: 3,442 bytes, line 2331
2331ptions.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t;if(e=this.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}t=e[o]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
2331slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>1&&((i=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o=this;return t=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e=n,!1}),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:
2331parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),-1!==s&&i(this).attr({"aria-describedby":"slick-slide-control"+e.instanceUid+s})}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.$slides.eq(s).attr("tabindex",0);e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),!0===i.options.accessibility&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
2331,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0}
vendor: 5,619 bytes, line 2331
2331,100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,t])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,t])},r.src=t})}var t,o,s,n=this;if(!0===n.options.centerMode?!0===n.options.infinite?s=(o=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(o=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),s=n.options.slidesToShow/2+1+2+n.currentSlide):(o=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,s=Math.ceil(o+n.options.slidesToShow),!0===n.options.fade&&(o>0&&o--,s<=n.slideCount&&s++)),t=n.$slider.find(".slick-slide").slice(o,s),"anticipated"===n.options.lazyLoad)for(var r=o-1,l=s,d=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)r<0&&(r=n.slideCount-1),t=(t=t.add(d.eq(r))).add(d.eq(l)),r--,l++;e(t),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};
2331!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}
2331):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode){var r=n.options.slidesToShow%2==0?1:0;e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));s||(s=0),t.slideCount<=t.options.slidesToShow?t.slideHandler(s,!1,!0):t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===i))if(!1===e&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(i<0||i>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+
2331o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==t?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0?!1===s.options.rtl?"left":"right":o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
2331,e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode?(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||void 0===s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),void 0!==t)return t;return o}});
2332
2333/*! jQuery Migrate v3.1.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
2334"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],i=1;i<=3;i++){if(+n[i]>+o[i])return 1;if(+n[i]<+o[i])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.1.0",n.console&&n.console.log&&(s&&e("3.0.0")||n.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var r={};function u(e){var t=n.console;r[e]||(r[e]=!0,s.migrateWarnings.push(e),t&&t.warn&&!s.migrateMute&&(t.warn("JQMIGRATE: "+e),s.migrateTrace&&t.trace&&t.trace()))}function t(e,t,r,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n),r},set:function(e){u(n),r=e}})}function o(e,t,r,n){e[t]=function(){return u(n),r.apply(this,arguments)}}s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){r={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("jQuery is not compatible with Quirks Mode");var i,a=s.fn.init,c=s.isNumeric,d=s.find,l=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,p=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;for(i in s.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(u("jQuery( '#' ) is not a valid selector"),t[0]=[]),a.apply(this,t)},s.fn.init.prototype=s.fn,s.find=function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&l.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(p,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("Attribute selector with '#' was not fixed: "+r[0])}}return d.apply(this,r)},d)Object.prototype.hasOwnProperty.call(d,i)&&(s.find[i]=d[i]);s.fn.size=function(){return u("jQuery.fn.size() is deprecated and removed; use the .length property"),this.length},s.parseJSON=function(){return u("jQuery.parseJSON is deprecated; use JSON.parse"),JSON.parse.apply(null,arguments)},s.isNumeric=function(e){var t,r,n=c(e),o=(r=(t=e)&&t.toString(),!s.isArray(t)&&0<=r-parseFloat(r)+1);return n!==o&&u("jQuery.isNumeric() should not be called on constructed objects"),o},e("3.3.0")&&o(s,"isWindow",function(e){return null!=e&&e===e.window}
2334,"jQuery.isWindow() is deprecated"),o(s,"holdReady",s.holdReady,"jQuery.holdReady is deprecated"),o(s,"unique",s.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort"),t(s.expr,"filters",s.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),t(s.expr,":",s.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.2.0")&&o(s,"nodeName",s.nodeName,"jQuery.nodeName is deprecated");var f=s.ajax;s.ajax=function(){var e=f.apply(this,arguments);return e.promise&&(o(e,"success",e.done,"jQXHR.success is deprecated and removed"),o(e,"error",e.fail,"jQXHR.error is deprecated and removed"),o(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e};var y=s.fn.removeAttr,m=s.fn.toggleClass,h=/\S+/g;s.fn.removeAttr=function(e){var r=this;return s.each(e.match(h),function(e,t){s.expr.match.bool.test(t)&&(u("jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),y.apply(this,arguments)};var g=!(s.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?m.apply(this,arguments):(u("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":s.data(this,"__className__")||"")}))});s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return g=!0,e=r.apply(this,arguments),g=!1,e})}),s.swap=function(e,t,r,n){var o,i,a={};for(i in g||u("jQuery.swap() is undocumented and deprecated"),t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=r.apply(e,n||[]),t)e.style[i]=a[i];return o};var v=s.data;s.data=function(e,t,r){var n;if(t&&"object"==typeof t&&2===arguments.length){n=s.hasData(e)&&v.call(this,e);var o={};for(var i in t)i!==s.camelCase(i)?(u("jQuery.data() always sets/gets camelCased names: "+i),n[i]=t[i]):o[i]=t[i];return v.call(this,e,o),t}return t&&"string"==typeof t&&t!==s.camelCase(t)&&(n=s.hasData(e)&&v.call(this,e))&&t in n?(u("jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):v.apply(this,arguments)};function j(e){return e}var Q=s.Tween.prototype.run;s.Tween.prototype.run=function(){1<s.easing[this.easing].length&&(u("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=j),Q.apply(this,arguments)};var w=s.fx.interval||13,b="jQuery.fx.interval is deprecated";n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u(b),w},set:function(e){u(b),w=e}});var x=s.fn.load,k=s.event.add,A=s.event.fix;s.event.props=[],s.event.fixHooks={},t(s.event.props,"concat",s.event.props.concat,"jQuery.event.props.concat() is deprecated and removed"),s.event.fix=function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=A.call(this,e),n&&n.filter?n.filter(t,e):t},s.event.add=function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("jQuery(window).on('load'...) called after load event occurred"),k.apply(this,arguments)},s.each(["load","unload","error"],function(e,t){s.fn[t]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?x.apply(this,e):(u("jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){s.fn[r]=function(e,t){return u("jQuery.fn."+r+"() event shorthand is deprecated"),0<arguments.length?this.on(r,null,e,t):this.trigger(r)}}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("'ready' event is deprecated")}},s.fn.extend({bind:function(e,t,r){return u("jQuery.fn.bind() is deprecated"),this.on(e,null,t,r)},unbind:function(e,t){return u("jQuery.fn.unbind() is deprecated"),this.off(e,null,t)},delegate:function(e,t,r,n){return u("jQuery.fn.delegate() is deprecated"),this.on(t,e,r,n)},undelegate:function(e,t,r){return u("jQuery.fn.undelegate() is deprecated"),1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return u("jQuery.fn.hover() is deprecated"),this.on("mouseenter",e).on("mouseleave",t||e)}});var S=s.fn.offset;s.fn.offset=function(){var e,t=this[0],r={top:0,left:0};return t&&t.nodeType?(e=(t.ownerDocument||n.document).documentElement,s.contains(e,t)?S.apply(this,arguments):(u("jQuery.fn.offset() requires an element connected to a document"),r)):(u("jQuery.fn.offset() requires a valid DOM element"),r)};var q=s.param;s.param=function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),q.call(this,e,t)};var C=s.fn.andSelf||s.fn.addBack;s.fn.andSelf=function(){return u("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),C.apply(this,arguments)};var M=s.Deferred,R=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]];return s.Deferred=function(e){var i=M(),a=i.promise();return i.pipe=a.pipe=function(){var o=arguments;return u("deferred.pipe() is deprecated"),s.Deferred(function(n){s.each(R,function(e,t){var r=s.isFunction(o[e])&&o[e];i[t[1]](function(){var e=r&&r.apply(this,arguments);e&&s.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===a?n.promise():this,r?[e]:arguments)})}),o=null}).promise()},e&&e.call(i,i),i},s.Deferred.exceptionHook=M.exceptionHook,s});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.