· 7 years ago · Feb 16, 2019, 11:42 AM
1(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(t,e,i){(function(e){t.exports=e.jQuery=i(3)}).call(this,i(1))},function(e,f){var g;g=function(){return this}();try{g=g||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(g=window)}e.exports=g},function(s,e,t){(function(e){var b="Expected a function",r=NaN,a="[object Symbol]",o=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,d=/^0o[0-7]+$/i,p=parseInt,t="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,n=t||i||Function("return this")(),u=Object.prototype.toString,y=Math.max,w=Math.min,_=function(){return n.Date.now()};function h(n,s,e){var r,a,o,l,c,d,p=0,u=!1,h=!1,t=!0;if("function"!=typeof n)throw new TypeError(b);function f(e){var t=r,i=a;return r=a=void 0,p=e,l=n.apply(i,t)}function m(e){var t=e-d;return void 0===d||s<=t||t<0||h&&o<=e-p}function g(){var e,t,i=_();if(m(i))return v(i);c=setTimeout(g,(t=s-((e=i)-d),h?w(t,o-(e-p)):t))}function v(e){return c=void 0,t&&r?f(e):(r=a=void 0,l)}function i(){var e,t=_(),i=m(t);if(r=arguments,a=this,d=t,i){if(void 0===c)return p=e=d,c=setTimeout(g,s),u?f(e):l;if(h)return c=setTimeout(g,s),f(d)}return void 0===c&&(c=setTimeout(g,s)),l}return s=T(s)||0,x(e)&&(u=!!e.leading,o=(h="maxWait"in e)?y(T(e.maxWait)||0,s):o,t="trailing"in e?!!e.trailing:t),i.cancel=function(){void 0!==c&&clearTimeout(c),r=d=a=c=void(p=0)},i.flush=function(){return void 0===c?l:v(_())},i}function x(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function T(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||(i=t)&&"object"==typeof i&&u.call(t)==a)return r;var t,i;if(x(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=x(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var s=c.test(e);return s||d.test(e)?p(e.slice(2),s?2:8):l.test(e)?r:+e}s.exports=function(e,t,i){var n=!0,s=!0;if("function"!=typeof e)throw new TypeError(b);return x(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),h(e,t,{leading:n,maxWait:t,trailing:s})}}).call(this,t(1))},function(t,e,i){(function(e){t.exports=e.$=i(4)}).call(this,i(1))},function(Gt,Yt,e){var Vt;
2/*!
3 * jQuery JavaScript Library v3.3.1
4 * https://jquery.com/
5 *
6 * Includes Sizzle.js
7 * https://sizzlejs.com/
8 *
9 * Copyright JS Foundation and other contributors
10 * Released under the MIT license
11 * https://jquery.org/license
12 *
13 * Date: 2018-01-20T17:24Z
14 */
15/*!
16 * jQuery JavaScript Library v3.3.1
17 * https://jquery.com/
18 *
19 * Includes Sizzle.js
20 * https://sizzlejs.com/
21 *
22 * Copyright JS Foundation and other contributors
23 * Released under the MIT license
24 * https://jquery.org/license
25 *
26 * Date: 2018-01-20T17:24Z
27 */
28!function(e,t){"use strict";"object"==typeof Gt&&"object"==typeof Gt.exports?Gt.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(T,e){"use strict";var t=[],C=T.document,n=Object.getPrototypeOf,o=t.slice,m=t.concat,l=t.push,s=t.indexOf,i={},r=i.toString,g=i.hasOwnProperty,a=g.toString,c=a.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},d={type:!0,src:!0,noModule:!0};function w(e,t,i){var n,s=(t=t||C).createElement("script");if(s.text=e,i)for(n in d)i[n]&&(s[n]=i[n]);t.head.appendChild(s).parentNode.removeChild(s)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[r.call(e)]||"object":typeof e}var S=function(e,t){return new S.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function u(e){var t=!!e&&"length"in e&&e.length,i=_(e);return!b(e)&&!y(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:"3.3.1",constructor:S,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.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(i){return this.pushStack(S.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(0<=i&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,i,n,s,r,a=arguments[0]||{},o=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[o]||{},o++),"object"==typeof a||b(a)||(a={}),o===l&&(a=this,o--);o<l;o++)if(null!=(e=arguments[o]))for(t in e)i=a[t],a!==(n=e[t])&&(c&&n&&(S.isPlainObject(n)||(s=Array.isArray(n)))?(r=s?(s=!1,i&&Array.isArray(i)?i:[]):i&&S.isPlainObject(i)?i:{},a[t]=S.extend(c,r,n)):void 0!==n&&(a[t]=n));return a},S.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==r.call(e))&&(!(t=n(e))||"function"==typeof(i=g.call(t,"constructor")&&t.constructor)&&a.call(i)===c)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){w(e)},each:function(e,t){var i,n=0;if(u(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(p,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(u(Object(e))?S.merge(i,"string"==typeof e?[e]:e):l.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:s.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,r=e.length,a=!i;s<r;s++)!t(e[s],s)!==a&&n.push(e[s]);return n},map:function(e,t,i){var n,s,r=0,a=[];if(u(e))for(n=e.length;r<n;r++)null!=(s=t(e[r],r,i))&&a.push(s);else for(r in e)null!=(s=t(e[r],r,i))&&a.push(s);return m.apply([],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){i["[object "+t+"]"]=t.toLowerCase()});var h=
29/*!
30 * Sizzle CSS Selector Engine v2.3.3
31 * https://sizzlejs.com/
32 *
33 * Copyright jQuery Foundation and other contributors
34 * Released under the MIT license
35 * http://jquery.org/license
36 *
37 * Date: 2016-08-08
38 */
39function(i){var e,h,w,r,s,f,p,m,_,l,c,x,T,a,C,g,o,d,v,S="sizzle"+1*new Date,b=i.document,k=0,n=0,u=ae(),y=ae(),E=ae(),N=function(e,t){return e===t&&(c=!0),0},M={}.hasOwnProperty,t=[],$=t.pop,I=t.push,D=t.push,A=t.slice,z=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",O="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+L+"*("+O+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+L+"*\\]",B=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",H=new RegExp(L+"+","g"),q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),F=new RegExp("^"+L+"*,"+L+"*"),j=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),W=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),X=new RegExp(B),U=new RegExp("^"+O+"$"),G={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ee=function(e,t,i){var n="0x"+t-65536;return n!=n||i?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ne=function(){x()},se=be(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{D.apply(t=A.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){D={apply:t.length?function(e,t){I.apply(e,A.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function re(e,t,i,n){var s,r,a,o,l,c,d,p=t&&t.ownerDocument,u=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==u&&9!==u&&11!==u)return i;if(!n&&((t?t.ownerDocument||t:b)!==T&&x(t),t=t||T,C)){if(11!==u&&(l=Q.exec(e)))if(s=l[1]){if(9===u){if(!(a=t.getElementById(s)))return i;if(a.id===s)return i.push(a),i}else if(p&&(a=p.getElementById(s))&&v(t,a)&&a.id===s)return i.push(a),i}else{if(l[2])return D.apply(i,t.getElementsByTagName(e)),i;if((s=l[3])&&h.getElementsByClassName&&t.getElementsByClassName)return D.apply(i,t.getElementsByClassName(s)),i}if(h.qsa&&!E[e+" "]&&(!g||!g.test(e))){if(1!==u)p=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((o=t.getAttribute("id"))?o=o.replace(te,ie):t.setAttribute("id",o=S),r=(c=f(e)).length;r--;)c[r]="#"+o+" "+ve(c[r]);d=c.join(","),p=Z.test(e)&&me(t.parentNode)||t}if(d)try{return D.apply(i,p.querySelectorAll(d)),i}catch(e){}finally{o===S&&t.removeAttribute("id")}}}return m(e.replace(q,"$1"),t,i,n)}function ae(){var n=[];return function e(t,i){return n.push(t+" ")>w.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function oe(e){return e[S]=!0,e}function le(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var i=e.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=t}function de(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function pe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ue(i){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===i}}function he(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&&se(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function fe(a){return oe(function(r){return r=+r,oe(function(e,t){for(var i,n=a([],e.length,r),s=n.length;s--;)e[i=n[s]]&&(e[i]=!(t[i]=e[i]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=re.support={},s=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},x=re.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:b;return n!==T&&9===n.nodeType&&n.documentElement&&(a=(T=n).documentElement,C=!s(T),b!==T&&(i=T.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ne,!1):i.attachEvent&&i.attachEvent("onunload",ne)),h.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=le(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=K.test(T.getElementsByClassName),h.getById=le(function(e){return a.appendChild(e).id=S,!T.getElementsByName||!T.getElementsByName(S).length}),h.getById?(w.filter.ID=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var i=t.getElementById(e);return i?[i]:[]}}):(w.filter.ID=function(e){var i=e.replace(J,ee);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===i}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var i,n,s,r=t.getElementById(e);if(r){if((i=r.getAttributeNode("id"))&&i.value===e)return[r];for(s=t.getElementsByName(e),n=0;r=s[n++];)if((i=r.getAttributeNode("id"))&&i.value===e)return[r]}return[]}}),w.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],s=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;i=r[s++];)1===i.nodeType&&n.push(i);return n},w.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},o=[],g=[],(h.qsa=K.test(T.querySelectorAll))&&(le(function(e){a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+L+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+L+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+S+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||g.push(".#.+[+~]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+L+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(h.matchesSelector=K.test(d=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&le(function(e){h.disconnectedMatch=d.call(e,"*"),d.call(e,"[s!='']:x"),o.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),o=o.length&&new RegExp(o.join("|")),t=K.test(a.compareDocumentPosition),v=t||K.test(a.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},N=t?function(e,t){if(e===t)return c=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===i?e===T||e.ownerDocument===b&&v(b,e)?-1:t===T||t.ownerDocument===b&&v(b,t)?1:l?z(l,e)-z(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return c=!0,0;var i,n=0,s=e.parentNode,r=t.parentNode,a=[e],o=[t];if(!s||!r)return e===T?-1:t===T?1:s?-1:r?1:l?z(l,e)-z(l,t):0;if(s===r)return de(e,t);for(i=e;i=i.parentNode;)a.unshift(i);for(i=t;i=i.parentNode;)o.unshift(i);for(;a[n]===o[n];)n++;return n?de(a[n],o[n]):a[n]===b?-1:o[n]===b?1:0}),T},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&x(e),t=t.replace(W,"='$1']"),h.matchesSelector&&C&&!E[t+" "]&&(!o||!o.test(t))&&(!g||!g.test(t)))try{var i=d.call(e,t);if(i||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return 0<re(t,T,null,[e]).length},re.contains=function(e,t){return(e.ownerDocument||e)!==T&&x(e),v(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==T&&x(e);var i=w.attrHandle[t.toLowerCase()],n=i&&M.call(w.attrHandle,t.toLowerCase())?i(e,t,!C):void 0;return void 0!==n?n:h.attributes||!C?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},re.escape=function(e){return(e+"").replace(te,ie)},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,i=[],n=0,s=0;if(c=!h.detectDuplicates,l=!h.sortStable&&e.slice(0),e.sort(N),c){for(;t=e[s++];)t===e[s]&&(n=i.push(s));for(;n--;)e.splice(i[n],1)}return l=null,e},r=re.getText=function(e){var t,i="",n=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=r(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[n++];)i+=r(t);return i},(w=re.selectors={cacheLength:50,createPseudo:oe,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(J,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(J,ee),"~="===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]||re.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]&&re.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&X.test(i)&&(t=f(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=u[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&u(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(e){var t=re.attr(e,i);return null==t?"!="===n:!n||(t+="","="===n?t===s:"!="===n?t!==s:"^="===n?s&&0===t.indexOf(s):"*="===n?s&&-1<t.indexOf(s):"$="===n?s&&t.slice(-s.length)===s:"~="===n?-1<(" "+t.replace(H," ")+" ").indexOf(s):"|="===n&&(t===s||t.slice(0,s.length+1)===s+"-"))}},CHILD:function(f,e,t,m,g){var v="nth"!==f.slice(0,3),b="last"!==f.slice(-4),y="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,i){var n,s,r,a,o,l,c=v!==b?"nextSibling":"previousSibling",d=e.parentNode,p=y&&e.nodeName.toLowerCase(),u=!i&&!y,h=!1;if(d){if(v){for(;c;){for(a=e;a=a[c];)if(y?a.nodeName.toLowerCase()===p:1===a.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[b?d.firstChild:d.lastChild],b&&u){for(h=(o=(n=(s=(r=(a=d)[S]||(a[S]={}))[a.uniqueID]||(r[a.uniqueID]={}))[f]||[])[0]===k&&n[1])&&n[2],a=o&&d.childNodes[o];a=++o&&a&&a[c]||(h=o=0)||l.pop();)if(1===a.nodeType&&++h&&a===e){s[f]=[k,o,h];break}}else if(u&&(h=o=(n=(s=(r=(a=e)[S]||(a[S]={}))[a.uniqueID]||(r[a.uniqueID]={}))[f]||[])[0]===k&&n[1]),!1===h)for(;(a=++o&&a&&a[c]||(h=o=0)||l.pop())&&((y?a.nodeName.toLowerCase()!==p:1!==a.nodeType)||!++h||(u&&((s=(r=a[S]||(a[S]={}))[a.uniqueID]||(r[a.uniqueID]={}))[f]=[k,h]),a!==e)););return(h-=g)===m||h%m==0&&0<=h/m}}},PSEUDO:function(e,r){var t,a=w.pseudos[e]||w.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return a[S]?a(r):1<a.length?(t=[e,e,"",r],w.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,t){for(var i,n=a(e,r),s=n.length;s--;)e[i=z(e,n[s])]=!(t[i]=n[s])}):function(e){return a(e,0,t)}):a}},pseudos:{not:oe(function(e){var n=[],s=[],o=p(e.replace(q,"$1"));return o[S]?oe(function(e,t,i,n){for(var s,r=o(e,null,n,[]),a=e.length;a--;)(s=r[a])&&(e[a]=!(t[a]=s))}):function(e,t,i){return n[0]=e,o(n,null,i,s),n[0]=null,!s.pop()}}),has:oe(function(t){return function(e){return 0<re(t,e).length}}),contains:oe(function(t){return t=t.replace(J,ee),function(e){return-1<(e.textContent||e.innerText||r(e)).indexOf(t)}}),lang:oe(function(i){return U.test(i||"")||re.error("unsupported lang: "+i),i=i.replace(J,ee).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===i||0===t.indexOf(i+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!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!w.pseudos.empty(e)},header:function(e){return V.test(e.nodeName)},input:function(e){return Y.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:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,i){return[i<0?i+t:i]}),even:fe(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:fe(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:fe(function(e,t,i){for(var n=i<0?i+t:i;0<=--n;)e.push(n);return e}),gt:fe(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[e]=pe(e);for(e in{submit:!0,reset:!0})w.pseudos[e]=ue(e);function ge(){}function ve(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function be(o,e,t){var l=e.dir,c=e.next,d=c||l,p=t&&"parentNode"===d,u=n++;return e.first?function(e,t,i){for(;e=e[l];)if(1===e.nodeType||p)return o(e,t,i);return!1}:function(e,t,i){var n,s,r,a=[k,u];if(i){for(;e=e[l];)if((1===e.nodeType||p)&&o(e,t,i))return!0}else for(;e=e[l];)if(1===e.nodeType||p)if(s=(r=e[S]||(e[S]={}))[e.uniqueID]||(r[e.uniqueID]={}),c&&c===e.nodeName.toLowerCase())e=e[l]||e;else{if((n=s[d])&&n[0]===k&&n[1]===u)return a[2]=n[2];if((s[d]=a)[2]=o(e,t,i))return!0}return!1}}function ye(s){return 1<s.length?function(e,t,i){for(var n=s.length;n--;)if(!s[n](e,t,i))return!1;return!0}:s[0]}function we(e,t,i,n,s){for(var r,a=[],o=0,l=e.length,c=null!=t;o<l;o++)(r=e[o])&&(i&&!i(r,n,s)||(a.push(r),c&&t.push(o)));return a}function _e(h,f,m,g,v,e){return g&&!g[S]&&(g=_e(g)),v&&!v[S]&&(v=_e(v,e)),oe(function(e,t,i,n){var s,r,a,o=[],l=[],c=t.length,d=e||function(e,t,i){for(var n=0,s=t.length;n<s;n++)re(e,t[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),p=!h||!e&&f?d:we(d,o,h,i,n),u=m?v||(e?h:c||g)?[]:t:p;if(m&&m(p,u,i,n),g)for(s=we(u,l),g(s,[],i,n),r=s.length;r--;)(a=s[r])&&(u[l[r]]=!(p[l[r]]=a));if(e){if(v||h){if(v){for(s=[],r=u.length;r--;)(a=u[r])&&s.push(p[r]=a);v(null,u=[],s,n)}for(r=u.length;r--;)(a=u[r])&&-1<(s=v?z(e,a):o[r])&&(e[s]=!(t[s]=a))}}else u=we(u===t?u.splice(c,u.length):u),v?v(null,t,u,n):D.apply(t,u)})}function xe(e){for(var s,t,i,n=e.length,r=w.relative[e[0].type],a=r||w.relative[" "],o=r?1:0,l=be(function(e){return e===s},a,!0),c=be(function(e){return-1<z(s,e)},a,!0),d=[function(e,t,i){var n=!r&&(i||t!==_)||((s=t).nodeType?l(e,t,i):c(e,t,i));return s=null,n}];o<n;o++)if(t=w.relative[e[o].type])d=[be(ye(d),t)];else{if((t=w.filter[e[o].type].apply(null,e[o].matches))[S]){for(i=++o;i<n&&!w.relative[e[i].type];i++);return _e(1<o&&ye(d),1<o&&ve(e.slice(0,o-1).concat({value:" "===e[o-2].type?"*":""})).replace(q,"$1"),t,o<i&&xe(e.slice(o,i)),i<n&&xe(e=e.slice(i)),i<n&&ve(e))}d.push(t)}return ye(d)}return ge.prototype=w.filters=w.pseudos,w.setFilters=new ge,f=re.tokenize=function(e,t){var i,n,s,r,a,o,l,c=y[e+" "];if(c)return t?0:c.slice(0);for(a=e,o=[],l=w.preFilter;a;){for(r in i&&!(n=F.exec(a))||(n&&(a=a.slice(n[0].length)||a),o.push(s=[])),i=!1,(n=j.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(q," ")}),a=a.slice(i.length)),w.filter)!(n=G[r].exec(a))||l[r]&&!(n=l[r](n))||(i=n.shift(),s.push({value:i,type:r,matches:n}),a=a.slice(i.length));if(!i)break}return t?a.length:a?re.error(e):y(e,o).slice(0)},p=re.compile=function(e,t){var i,g,v,b,y,n,s=[],r=[],a=E[e+" "];if(!a){for(t||(t=f(e)),i=t.length;i--;)(a=xe(t[i]))[S]?s.push(a):r.push(a);(a=E(e,(g=r,b=0<(v=s).length,y=0<g.length,n=function(e,t,i,n,s){var r,a,o,l=0,c="0",d=e&&[],p=[],u=_,h=e||y&&w.find.TAG("*",s),f=k+=null==u?1:Math.random()||.1,m=h.length;for(s&&(_=t===T||t||s);c!==m&&null!=(r=h[c]);c++){if(y&&r){for(a=0,t||r.ownerDocument===T||(x(r),i=!C);o=g[a++];)if(o(r,t||T,i)){n.push(r);break}s&&(k=f)}b&&((r=!o&&r)&&l--,e&&d.push(r))}if(l+=c,b&&c!==l){for(a=0;o=v[a++];)o(d,p,t,i);if(e){if(0<l)for(;c--;)d[c]||p[c]||(p[c]=$.call(n));p=we(p)}D.apply(n,p),s&&!e&&0<p.length&&1<l+v.length&&re.uniqueSort(n)}return s&&(k=f,_=u),d},b?oe(n):n))).selector=e}return a},m=re.select=function(e,t,i,n){var s,r,a,o,l,c="function"==typeof e&&e,d=!n&&f(e=c.selector||e);if(i=i||[],1===d.length){if(2<(r=d[0]=d[0].slice(0)).length&&"ID"===(a=r[0]).type&&9===t.nodeType&&C&&w.relative[r[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(J,ee),t)||[])[0]))return i;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(s=G.needsContext.test(e)?0:r.length;s--&&(a=r[s],!w.relative[o=a.type]);)if((l=w.find[o])&&(n=l(a.matches[0].replace(J,ee),Z.test(r[0].type)&&me(t.parentNode)||t))){if(r.splice(s,1),!(e=n.length&&ve(r)))return D.apply(i,n),i;break}}return(c||p(e,d))(n,t,!C,i,!t||Z.test(e)&&me(t.parentNode)||t),i},h.sortStable=S.split("").sort(N).join("")===S,h.detectDuplicates=!!c,x(),h.sortDetached=le(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ce("type|href|height|width",function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ce("value",function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ce(P,function(e,t,i){var n;if(!i)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),re}(T);S.find=h,S.expr=h.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=h.uniqueSort,S.text=h.getText,S.isXMLDoc=h.isXML,S.contains=h.contains,S.escapeSelector=h.escape;var f=function(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&S(e).is(i))break;n.push(e)}return n},x=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},k=S.expr.match.needsContext;function E(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 M(e,i,n){return b(i)?S.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?S.grep(e,function(e){return e===i!==n}):"string"!=typeof i?S.grep(e,function(e){return-1<s.call(i,e)!==n}):S.filter(i,e,n)}S.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?S.find.matchesSelector(n,e)?[n]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,i,n=this.length,s=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<n;t++)if(S.contains(s[t],this))return!0}));for(i=this.pushStack([]),t=0;t<n;t++)S.find(e,s[t],i);return 1<n?S.uniqueSort(i):i},filter:function(e){return this.pushStack(M(this,e||[],!1))},not:function(e){return this.pushStack(M(this,e||[],!0))},is:function(e){return!!M(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var $,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,i){var n,s;if(!e)return this;if(i=i||$,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==i.ready?i.ready(e):e(S):S.makeArray(e,this);if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:I.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),N.test(n[1])&&S.isPlainObject(t))for(n in t)b(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(s=C.getElementById(n[2]))&&(this[0]=s,this.length=1),this}).prototype=S.fn,$=S(C);var D=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var i,n=0,s=this.length,r=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&S.find.matchesSelector(i,e))){r.push(i);break}return this.pushStack(1<r.length?S.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?s.call(S(e),this[0]):s.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 f(e,"parentNode")},parentsUntil:function(e,t,i){return f(e,"parentNode",i)},next:function(e){return z(e,"nextSibling")},prev:function(e){return z(e,"previousSibling")},nextAll:function(e){return f(e,"nextSibling")},prevAll:function(e){return f(e,"previousSibling")},nextUntil:function(e,t,i){return f(e,"nextSibling",i)},prevUntil:function(e,t,i){return f(e,"previousSibling",i)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return E(e,"iframe")?e.contentDocument:(E(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(n,s){S.fn[n]=function(e,t){var i=S.map(this,s,e);return"Until"!==n.slice(-5)&&(t=e),t&&"string"==typeof t&&(i=S.filter(t,i)),1<this.length&&(A[n]||S.uniqueSort(i),D.test(n)&&i.reverse()),this.pushStack(i)}});var P=/[^\x20\t\r\n\f]+/g;function L(e){return e}function O(e){throw e}function R(e,t,i,n){var s;try{e&&b(s=e.promise)?s.call(e).done(t).fail(i):e&&b(s=e.then)?s.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}S.Callbacks=function(n){var e,i;n="string"==typeof n?(e=n,i={},S.each(e.match(P)||[],function(e,t){i[t]=!0}),i):S.extend({},n);var s,t,r,a,o=[],l=[],c=-1,d=function(){for(a=a||n.once,r=s=!0;l.length;c=-1)for(t=l.shift();++c<o.length;)!1===o[c].apply(t[0],t[1])&&n.stopOnFalse&&(c=o.length,t=!1);n.memory||(t=!1),s=!1,a&&(o=t?[]:"")},p={add:function(){return o&&(t&&!s&&(c=o.length-1,l.push(t)),function i(e){S.each(e,function(e,t){b(t)?n.unique&&p.has(t)||o.push(t):t&&t.length&&"string"!==_(t)&&i(t)})}(arguments),t&&!s&&d()),this},remove:function(){return S.each(arguments,function(e,t){for(var i;-1<(i=S.inArray(t,o,i));)o.splice(i,1),i<=c&&c--}),this},has:function(e){return e?-1<S.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return a=l=[],o=t="",this},disabled:function(){return!o},lock:function(){return a=l=[],t||s||(o=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),s||d()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!r}};return p},S.extend({Deferred:function(e){var r=[["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"]],s="pending",a={state:function(){return s},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var s=arguments;return S.Deferred(function(n){S.each(r,function(e,t){var i=b(s[t[4]])&&s[t[4]];o[t[1]](function(){var e=i&&i.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[t[0]+"With"](this,i?[e]:arguments)})}),s=null}).promise()},then:function(t,i,n){var l=0;function c(s,r,a,o){return function(){var i=this,n=arguments,e=function(){var e,t;if(!(s<l)){if((e=a.apply(i,n))===r.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,b(t)?o?t.call(e,c(l,r,L,o),c(l,r,O,o)):(l++,t.call(e,c(l,r,L,o),c(l,r,O,o),c(l,r,L,r.notifyWith))):(a!==L&&(i=void 0,n=[e]),(o||r.resolveWith)(i,n))}},t=o?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),l<=s+1&&(a!==O&&(i=void 0,n=[e]),r.rejectWith(i,n))}};s?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),T.setTimeout(t))}}return S.Deferred(function(e){r[0][3].add(c(0,e,b(n)?n:L,e.notifyWith)),r[1][3].add(c(0,e,b(t)?t:L)),r[2][3].add(c(0,e,b(i)?i:O))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},o={};return S.each(r,function(e,t){var i=t[2],n=t[5];a[t[1]]=i.add,n&&i.add(function(){s=n},r[3-e][2].disable,r[3-e][3].disable,r[0][2].lock,r[0][3].lock),i.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=i.fireWith}),a.promise(o),e&&e.call(o,o),o},when:function(e){var i=arguments.length,t=i,n=Array(t),s=o.call(arguments),r=S.Deferred(),a=function(t){return function(e){n[t]=this,s[t]=1<arguments.length?o.call(arguments):e,--i||r.resolveWith(n,s)}};if(i<=1&&(R(e,r.done(a(t)).resolve,r.reject,!i),"pending"===r.state()||b(s[t]&&s[t].then)))return r.then();for(;t--;)R(s[t],a(t),r.reject);return r.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){T.console&&T.console.warn&&e&&B.test(e.name)&&T.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){T.setTimeout(function(){throw e})};var H=S.Deferred();function q(){C.removeEventListener("DOMContentLoaded",q),T.removeEventListener("load",q),S.ready()}S.fn.ready=function(e){return H.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||H.resolveWith(C,[S])}}),S.ready.then=H.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?T.setTimeout(S.ready):(C.addEventListener("DOMContentLoaded",q),T.addEventListener("load",q));var F=function(e,t,i,n,s,r,a){var o=0,l=e.length,c=null==i;if("object"===_(i))for(o in s=!0,i)F(e,t,o,i[o],!0,r,a);else if(void 0!==n&&(s=!0,b(n)||(a=!0),c&&(t=a?(t.call(e,n),null):(c=t,function(e,t,i){return c.call(S(e),i)})),t))for(;o<l;o++)t(e[o],i,a?n:n.call(e[o],o,t(e[o],i)));return s?e:c?t.call(e):l?t(e[0],i):r},j=/^-ms-/,W=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function U(e){return e.replace(j,"ms-").replace(W,X)}var G=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Y(){this.expando=S.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,s=this.cache(e);if("string"==typeof t)s[U(t)]=i;else for(n in t)s[U(n)]=t[n];return s},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][U(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(U):(t=U(t))in n?[t]:t.match(P)||[]).length;for(;i--;)delete n[t[i]]}(void 0===t||S.isEmptyObject(n))&&(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 V=new Y,K=new Y,Q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function J(e,t,i){var n,s;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(Z,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(s=i)||"false"!==s&&("null"===s?null:s===+s+""?+s:Q.test(s)?JSON.parse(s):s)}catch(e){}K.set(e,t,i)}else i=void 0;return i}S.extend({hasData:function(e){return K.hasData(e)||V.hasData(e)},data:function(e,t,i){return K.access(e,t,i)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,i){return V.access(e,t,i)},_removeData:function(e,t){V.remove(e,t)}}),S.fn.extend({data:function(i,e){var t,n,s,r=this[0],a=r&&r.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){K.set(this,i)}):F(this,function(e){var t;if(r&&void 0===e)return void 0!==(t=K.get(r,i))?t:void 0!==(t=J(r,i))?t:void 0;this.each(function(){K.set(this,i,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(s=K.get(r),1===r.nodeType&&!V.get(r,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(n=a[t].name).indexOf("data-")&&(n=U(n.slice(5)),J(r,n,s[n]));V.set(r,"hasDataAttrs",!0)}return s},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),S.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=V.get(e,t),i&&(!n||Array.isArray(i)?n=V.access(e,t,S.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=S.queue(e,t),n=i.length,s=i.shift(),r=S._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete r.stop,s.call(e,function(){S.dequeue(e,t)},r)),!n&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return V.get(e,i)||V.access(e,i,{empty:S.Callbacks("once memory").add(function(){V.remove(e,[t+"queue",i])})})}}),S.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===i?this:this.each(function(){var e=S.queue(this,t,i);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 i,n=1,s=S.Deferred(),r=this,a=this.length,o=function(){--n||s.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=V.get(r[a],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(o));return o(),s.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ne=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&S.contains(e.ownerDocument,e)&&"none"===S.css(e,"display")},se=function(e,t,i,n){var s,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];for(r in s=i.apply(e,n||[]),t)e.style[r]=a[r];return s};function re(e,t,i,n){var s,r,a=20,o=n?function(){return n.cur()}:function(){return S.css(e,t,"")},l=o(),c=i&&i[3]||(S.cssNumber[t]?"":"px"),d=(S.cssNumber[t]||"px"!==c&&+l)&&te.exec(S.css(e,t));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;a--;)S.style(e,t,d+c),(1-r)*(1-(r=o()/l||.5))<=0&&(a=0),d/=r;d*=2,S.style(e,t,d+c),i=i||[]}return i&&(d=+d||+l||0,s=i[1]?d+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=d,n.end=s)),s}var ae={};function oe(e,t){for(var i,n,s,r,a,o,l,c=[],d=0,p=e.length;d<p;d++)(n=e[d]).style&&(i=n.style.display,t?("none"===i&&(c[d]=V.get(n,"display")||null,c[d]||(n.style.display="")),""===n.style.display&&ne(n)&&(c[d]=(l=a=r=void 0,a=(s=n).ownerDocument,o=s.nodeName,(l=ae[o])||(r=a.body.appendChild(a.createElement(o)),l=S.css(r,"display"),r.parentNode.removeChild(r),"none"===l&&(l="block"),ae[o]=l)))):"none"!==i&&(c[d]="none",V.set(n,"display",i)));for(d=0;d<p;d++)null!=c[d]&&(e[d].style.display=c[d]);return e}S.fn.extend({show:function(){return oe(this,!0)},hide:function(){return oe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ne(this)?S(this).show():S(this).hide()})}});var le=/^(?:checkbox|radio)$/i,ce=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,de=/^$|^module$|\/(?:java|ecma)script/i,pe={option:[1,"<select multiple='multiple'>","</select>"],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 ue(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?S.merge([e],i):i}function he(e,t){for(var i=0,n=e.length;i<n;i++)V.set(e[i],"globalEval",!t||V.get(t[i],"globalEval"))}pe.optgroup=pe.option,pe.tbody=pe.tfoot=pe.colgroup=pe.caption=pe.thead,pe.th=pe.td;var fe,me,ge=/<|&#?\w+;/;function ve(e,t,i,n,s){for(var r,a,o,l,c,d,p=t.createDocumentFragment(),u=[],h=0,f=e.length;h<f;h++)if((r=e[h])||0===r)if("object"===_(r))S.merge(u,r.nodeType?[r]:r);else if(ge.test(r)){for(a=a||p.appendChild(t.createElement("div")),o=(ce.exec(r)||["",""])[1].toLowerCase(),l=pe[o]||pe._default,a.innerHTML=l[1]+S.htmlPrefilter(r)+l[2],d=l[0];d--;)a=a.lastChild;S.merge(u,a.childNodes),(a=p.firstChild).textContent=""}else u.push(t.createTextNode(r));for(p.textContent="",h=0;r=u[h++];)if(n&&-1<S.inArray(r,n))s&&s.push(r);else if(c=S.contains(r.ownerDocument,r),a=ue(p.appendChild(r),"script"),c&&he(a),i)for(d=0;r=a[d++];)de.test(r.type||"")&&i.push(r);return p}fe=C.createDocumentFragment().appendChild(C.createElement("div")),(me=C.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),fe.appendChild(me),v.checkClone=fe.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!fe.cloneNode(!0).lastChild.defaultValue;var be=C.documentElement,ye=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_e=/^([^.]*)(?:\.(.+)|)/;function xe(){return!0}function Te(){return!1}function Ce(){try{return C.activeElement}catch(e){}}function Se(e,t,i,n,s,r){var a,o;if("object"==typeof t){for(o in"string"!=typeof i&&(n=n||i,i=void 0),t)Se(e,o,i,n,t[o],r);return e}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=Te;else if(!s)return e;return 1===r&&(a=s,(s=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,s,n,i)})}S.event={global:{},add:function(t,e,i,n,s){var r,a,o,l,c,d,p,u,h,f,m,g=V.get(t);if(g)for(i.handler&&(i=(r=i).handler,s=r.selector),s&&S.find.matchesSelector(be,s),i.guid||(i.guid=S.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(P)||[""]).length;c--;)h=m=(o=_e.exec(e[c])||[])[1],f=(o[2]||"").split(".").sort(),h&&(p=S.event.special[h]||{},h=(s?p.delegateType:p.bindType)||h,p=S.event.special[h]||{},d=S.extend({type:h,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&S.expr.match.needsContext.test(s),namespace:f.join(".")},r),(u=l[h])||((u=l[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(t,n,f,a)||t.addEventListener&&t.addEventListener(h,a)),p.add&&(p.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),s?u.splice(u.delegateCount++,0,d):u.push(d),S.event.global[h]=!0)},remove:function(e,t,i,n,s){var r,a,o,l,c,d,p,u,h,f,m,g=V.hasData(e)&&V.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(P)||[""]).length;c--;)if(h=m=(o=_e.exec(t[c])||[])[1],f=(o[2]||"").split(".").sort(),h){for(p=S.event.special[h]||{},u=l[h=(n?p.delegateType:p.bindType)||h]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=u.length;r--;)d=u[r],!s&&m!==d.origType||i&&i.guid!==d.guid||o&&!o.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(u.splice(r,1),d.selector&&u.delegateCount--,p.remove&&p.remove.call(e,d));a&&!u.length&&(p.teardown&&!1!==p.teardown.call(e,f,g.handle)||S.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)S.event.remove(e,h+t[c],i,n,!0);S.isEmptyObject(l)&&V.remove(e,"handle events")}},dispatch:function(e){var t,i,n,s,r,a,o=S.event.fix(e),l=new Array(arguments.length),c=(V.get(this,"events")||{})[o.type]||[],d=S.event.special[o.type]||{};for(l[0]=o,t=1;t<arguments.length;t++)l[t]=arguments[t];if(o.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,o)){for(a=S.event.handlers.call(this,o,c),t=0;(s=a[t++])&&!o.isPropagationStopped();)for(o.currentTarget=s.elem,i=0;(r=s.handlers[i++])&&!o.isImmediatePropagationStopped();)o.rnamespace&&!o.rnamespace.test(r.namespace)||(o.handleObj=r,o.data=r.data,void 0!==(n=((S.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,l))&&!1===(o.result=n)&&(o.preventDefault(),o.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,o),o.result}},handlers:function(e,t){var i,n,s,r,a,o=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],a={},i=0;i<l;i++)void 0===a[s=(n=t[i]).selector+" "]&&(a[s]=n.needsContext?-1<S(s,this).index(c):S.find(s,this,null,[c]).length),a[s]&&r.push(n);r.length&&o.push({elem:c,handlers:r})}return c=this,l<t.length&&o.push({elem:c,handlers:t.slice(l)}),o},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(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},focus:{trigger:function(){if(this!==Ce()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ce()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&E(this,"input"))return this.click(),!1},_default:function(e){return E(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},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?xe: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=xe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe,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,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:function(e){var t=e.button;return null==e.which&&ye.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},S.event.addProp),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,s){S.event.special[e]={delegateType:s,bindType:s,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return i&&(i===this||S.contains(this,i))||(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=s),t}}}),S.fn.extend({on:function(e,t,i,n){return Se(this,e,t,i,n)},one:function(e,t,i,n){return Se(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,S(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=Te),this.each(function(){S.event.remove(this,e,i,t)});for(s in e)this.off(s,t,e[s]);return this}});var ke=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function $e(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function De(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ae(e,t){var i,n,s,r,a,o,l,c;if(1===t.nodeType){if(V.hasData(e)&&(r=V.access(e),a=V.set(t,r),c=r.events))for(s in delete a.handle,a.events={},c)for(i=0,n=c[s].length;i<n;i++)S.event.add(t,s,c[s][i]);K.hasData(e)&&(o=K.access(e),l=S.extend({},o),K.set(t,l))}}function ze(i,n,s,r){n=m.apply([],n);var e,t,a,o,l,c,d=0,p=i.length,u=p-1,h=n[0],f=b(h);if(f||1<p&&"string"==typeof h&&!v.checkClone&&Ne.test(h))return i.each(function(e){var t=i.eq(e);f&&(n[0]=h.call(this,e,t.html())),ze(t,n,s,r)});if(p&&(t=(e=ve(n,i[0].ownerDocument,!1,i,r)).firstChild,1===e.childNodes.length&&(e=t),t||r)){for(o=(a=S.map(ue(e,"script"),Ie)).length;d<p;d++)l=e,d!==u&&(l=S.clone(l,!0,!0),o&&S.merge(a,ue(l,"script"))),s.call(i[d],l,d);if(o)for(c=a[a.length-1].ownerDocument,S.map(a,De),d=0;d<o;d++)l=a[d],de.test(l.type||"")&&!V.access(l,"globalEval")&&S.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&S._evalUrl(l.src):w(l.textContent.replace(Me,""),c,l))}return i}function Pe(e,t,i){for(var n,s=t?S.filter(t,e):e,r=0;null!=(n=s[r]);r++)i||1!==n.nodeType||S.cleanData(ue(n)),n.parentNode&&(i&&S.contains(n.ownerDocument,n)&&he(ue(n,"script")),n.parentNode.removeChild(n));return e}S.extend({htmlPrefilter:function(e){return e.replace(ke,"<$1></$2>")},clone:function(e,t,i){var n,s,r,a,o,l,c,d=e.cloneNode(!0),p=S.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ue(d),n=0,s=(r=ue(e)).length;n<s;n++)o=r[n],l=a[n],void 0,"input"===(c=l.nodeName.toLowerCase())&&le.test(o.type)?l.checked=o.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=o.defaultValue);if(t)if(i)for(r=r||ue(e),a=a||ue(d),n=0,s=r.length;n<s;n++)Ae(r[n],a[n]);else Ae(e,d);return 0<(a=ue(d,"script")).length&&he(a,!p&&ue(e,"script")),d},cleanData:function(e){for(var t,i,n,s=S.event.special,r=0;void 0!==(i=e[r]);r++)if(G(i)){if(t=i[V.expando]){if(t.events)for(n in t.events)s[n]?S.event.remove(i,n):S.removeEvent(i,n,t.handle);i[V.expando]=void 0}i[K.expando]&&(i[K.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Pe(this,e,!0)},remove:function(e){return Pe(this,e)},text:function(e){return F(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 ze(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||$e(this,e).appendChild(e)})},prepend:function(){return ze(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=$e(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ze(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(ue(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 F(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!pe[(ce.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(S.cleanData(ue(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return ze(this,arguments,function(e){var t=this.parentNode;S.inArray(this,i)<0&&(S.cleanData(ue(this)),t&&t.replaceChild(e,this))},i)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,i=[],n=S(e),s=n.length-1,r=0;r<=s;r++)t=r===s?this:this.clone(!0),S(n[r])[a](t),l.apply(i,t.get());return this.pushStack(i)}});var Le=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Oe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=T),t.getComputedStyle(e)},Re=new RegExp(ie.join("|"),"i");function Be(e,t,i){var n,s,r,a,o=e.style;return(i=i||Oe(e))&&(""!==(a=i.getPropertyValue(t)||i[t])||S.contains(e.ownerDocument,e)||(a=S.style(e,t)),!v.pixelBoxStyles()&&Le.test(a)&&Re.test(t)&&(n=o.width,s=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=a,a=i.width,o.width=n,o.minWidth=s,o.maxWidth=r)),void 0!==a?a+"":a}function He(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){o.style.cssText="position:absolute;left:-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%",be.appendChild(o).appendChild(l);var e=T.getComputedStyle(l);i="1%"!==e.top,a=12===t(e.marginLeft),l.style.right="60%",r=36===t(e.right),n=36===t(e.width),l.style.position="absolute",s=36===l.offsetWidth||"absolute",be.removeChild(o),l=null}}function t(e){return Math.round(parseFloat(e))}var i,n,s,r,a,o=C.createElement("div"),l=C.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(),n},pixelBoxStyles:function(){return e(),r},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),a},scrollboxSize:function(){return e(),s}}))}();var qe=/^(none|table(?!-c[ea]).+)/,Fe=/^--/,je={position:"absolute",visibility:"hidden",display:"block"},We={letterSpacing:"0",fontWeight:"400"},Xe=["Webkit","Moz","ms"],Ue=C.createElement("div").style;function Ge(e){var t=S.cssProps[e];return t||(t=S.cssProps[e]=function(e){if(e in Ue)return e;for(var t=e[0].toUpperCase()+e.slice(1),i=Xe.length;i--;)if((e=Xe[i]+t)in Ue)return e}(e)||e),t}function Ye(e,t,i){var n=te.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function Ve(e,t,i,n,s,r){var a="width"===t?1:0,o=0,l=0;if(i===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===i&&(l+=S.css(e,i+ie[a],!0,s)),n?("content"===i&&(l-=S.css(e,"padding"+ie[a],!0,s)),"margin"!==i&&(l-=S.css(e,"border"+ie[a]+"Width",!0,s))):(l+=S.css(e,"padding"+ie[a],!0,s),"padding"!==i?l+=S.css(e,"border"+ie[a]+"Width",!0,s):o+=S.css(e,"border"+ie[a]+"Width",!0,s));return!n&&0<=r&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-o-.5))),l}function Ke(e,t,i){var n=Oe(e),s=Be(e,t,n),r="border-box"===S.css(e,"boxSizing",!1,n),a=r;if(Le.test(s)){if(!i)return s;s="auto"}return a=a&&(v.boxSizingReliable()||s===e.style[t]),("auto"===s||!parseFloat(s)&&"inline"===S.css(e,"display",!1,n))&&(s=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(s=parseFloat(s)||0)+Ve(e,t,i||(r?"border":"content"),a,n,s)+"px"}function Qe(e,t,i,n,s){return new Qe.prototype.init(e,t,i,n,s)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=Be(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,r,a,o=U(t),l=Fe.test(t),c=e.style;if(l||(t=Ge(o)),a=S.cssHooks[t]||S.cssHooks[o],void 0===i)return a&&"get"in a&&void 0!==(s=a.get(e,!1,n))?s:c[t];"string"===(r=typeof i)&&(s=te.exec(i))&&s[1]&&(i=re(e,t,s),r="number"),null!=i&&i==i&&("number"===r&&(i+=s&&s[3]||(S.cssNumber[o]?"":"px")),v.clearCloneStyle||""!==i||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(i=a.set(e,i,n))||(l?c.setProperty(t,i):c[t]=i))}},css:function(e,t,i,n){var s,r,a,o=U(t);return Fe.test(t)||(t=Ge(o)),(a=S.cssHooks[t]||S.cssHooks[o])&&"get"in a&&(s=a.get(e,!0,i)),void 0===s&&(s=Be(e,t,n)),"normal"===s&&t in We&&(s=We[t]),""===i||i?(r=parseFloat(s),!0===i||isFinite(r)?r||0:s):s}}),S.each(["height","width"],function(e,o){S.cssHooks[o]={get:function(e,t,i){if(t)return!qe.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ke(e,o,i):se(e,je,function(){return Ke(e,o,i)})},set:function(e,t,i){var n,s=Oe(e),r="border-box"===S.css(e,"boxSizing",!1,s),a=i&&Ve(e,o,i,r,s);return r&&v.scrollboxSize()===s.position&&(a-=Math.ceil(e["offset"+o[0].toUpperCase()+o.slice(1)]-parseFloat(s[o])-Ve(e,o,"border",!1,s)-.5)),a&&(n=te.exec(t))&&"px"!==(n[3]||"px")&&(e.style[o]=t,t=S.css(e,o)),Ye(0,t,a)}}}),S.cssHooks.marginLeft=He(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(s,r){S.cssHooks[s+r]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[s+ie[t]+r]=n[t]||n[t-2]||n[0];return i}},"margin"!==s&&(S.cssHooks[s+r].set=Ye)}),S.fn.extend({css:function(e,t){return F(this,function(e,t,i){var n,s,r={},a=0;if(Array.isArray(t)){for(n=Oe(e),s=t.length;a<s;a++)r[t[a]]=S.css(e,t[a],!1,n);return r}return void 0!==i?S.style(e,t,i):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=Qe).prototype={constructor:Qe,init:function(e,t,i,n,s,r){this.elem=e,this.prop=i,this.easing=s||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=r||(S.cssNumber[i]?"":"px")},cur:function(){var e=Qe.propHooks[this.prop];return e&&e.get?e.get(this):Qe.propHooks._default.get(this)},run:function(e){var t,i=Qe.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),i&&i.set?i.set(this):Qe.propHooks._default.set(this),this}}).init.prototype=Qe.prototype,(Qe.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||null==e.elem.style[S.cssProps[e.prop]]&&!S.cssHooks[e.prop]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Qe.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=Qe.prototype.init,S.fx.step={};var Ze,Je,et,tt,it=/^(?:toggle|show|hide)$/,nt=/queueHooks$/;function st(){Je&&(!1===C.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(st):T.setTimeout(st,S.fx.interval),S.fx.tick())}function rt(){return T.setTimeout(function(){Ze=void 0}),Ze=Date.now()}function at(e,t){var i,n=0,s={height:e};for(t=t?1:0;n<4;n+=2-t)s["margin"+(i=ie[n])]=s["padding"+i]=e;return t&&(s.opacity=s.width=e),s}function ot(e,t,i){for(var n,s=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),r=0,a=s.length;r<a;r++)if(n=s[r].call(i,t,e))return n}function lt(r,e,t){var i,a,n=0,s=lt.prefilters.length,o=S.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=Ze||rt(),t=Math.max(0,c.startTime+c.duration-e),i=1-(t/c.duration||0),n=0,s=c.tweens.length;n<s;n++)c.tweens[n].run(i);return o.notifyWith(r,[c,i,t]),i<1&&s?t:(s||o.notifyWith(r,[c,1,0]),o.resolveWith(r,[c]),!1)},c=o.promise({elem:r,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ze||rt(),duration:t.duration,tweens:[],createTween:function(e,t){var i=S.Tween(r,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var t=0,i=e?c.tweens.length:0;if(a)return this;for(a=!0;t<i;t++)c.tweens[t].run(1);return e?(o.notifyWith(r,[c,1,0]),o.resolveWith(r,[c,e])):o.rejectWith(r,[c,e]),this}}),d=c.props;for(!function(e,t){var i,n,s,r,a;for(i in e)if(s=t[n=U(i)],r=e[i],Array.isArray(r)&&(s=r[1],r=e[i]=r[0]),i!==n&&(e[n]=r,delete e[i]),(a=S.cssHooks[n])&&"expand"in a)for(i in r=a.expand(r),delete e[n],r)i in e||(e[i]=r[i],t[i]=s);else t[n]=s}(d,c.opts.specialEasing);n<s;n++)if(i=lt.prefilters[n].call(c,r,d,c.opts))return b(i.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return S.map(d,ot,c),b(c.opts.start)&&c.opts.start.call(r,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(l,{elem:r,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(lt,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return re(i.elem,e,te.exec(t),i),i}]},tweener:function(e,t){for(var i,n=0,s=(e=b(e)?(t=e,["*"]):e.match(P)).length;n<s;n++)i=e[n],lt.tweeners[i]=lt.tweeners[i]||[],lt.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,s,r,a,o,l,c,d,p="width"in t||"height"in t,u=this,h={},f=e.style,m=e.nodeType&&ne(e),g=V.get(e,"fxshow");for(n in i.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,o=a.empty.fire,a.empty.fire=function(){a.unqueued||o()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(s=t[n],it.test(s)){if(delete t[n],r=r||"toggle"===s,s===(m?"hide":"show")){if("show"!==s||!g||void 0===g[n])continue;m=!0}h[n]=g&&g[n]||S.style(e,n)}if((l=!S.isEmptyObject(t))||!S.isEmptyObject(h))for(n in p&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=V.get(e,"display")),"none"===(d=S.css(e,"display"))&&(c?d=c:(oe([e],!0),c=e.style.display||c,d=S.css(e,"display"),oe([e]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===S.css(e,"float")&&(l||(u.done(function(){f.display=c}),null==c&&(d=f.display,c="none"===d?"":d)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",u.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1,h)l||(g?"hidden"in g&&(m=g.hidden):g=V.access(e,"fxshow",{display:c}),r&&(g.hidden=!m),m&&oe([e],!0),u.done(function(){for(n in m||oe([e]),V.remove(e,"fxshow"),h)S.style(e,n,h[n])})),l=ot(m?g[n]:0,n,u),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?lt.prefilters.unshift(e):lt.prefilters.push(e)}}),S.speed=function(e,t,i){var n=e&&"object"==typeof e?S.extend({},e):{complete:i||!i&&t||b(e)&&e,duration:e,easing:i&&t||t&&!b(t)&&t};return S.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in S.fx.speeds?n.duration=S.fx.speeds[n.duration]:n.duration=S.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){b(n.old)&&n.old.call(this),n.queue&&S.dequeue(this,n.queue)},n},S.fn.extend({fadeTo:function(e,t,i,n){return this.filter(ne).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){var s=S.isEmptyObject(t),r=S.speed(e,i,n),a=function(){var e=lt(this,S.extend({},t),r);(s||V.get(this,"finish"))&&e.stop(!0)};return a.finish=a,s||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(s,e,r){var a=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof s&&(r=e,e=s,s=void 0),e&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var e=!0,t=null!=s&&s+"queueHooks",i=S.timers,n=V.get(this);if(t)n[t]&&n[t].stop&&a(n[t]);else for(t in n)n[t]&&n[t].stop&&nt.test(t)&&a(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=s&&i[t].queue!==s||(i[t].anim.stop(r),e=!1,i.splice(t,1));!e&&r||S.dequeue(this,s)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=V.get(this),i=t[a+"queue"],n=t[a+"queueHooks"],s=S.timers,r=i?i.length:0;for(t.finish=!0,S.queue(this,a,[]),n&&n.stop&&n.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===a&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<r;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,n){var s=S.fn[n];S.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?s.apply(this,arguments):this.animate(at(n,!0),e,t,i)}}),S.each({slideDown:at("show"),slideUp:at("hide"),slideToggle:at("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){S.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),S.timers=[],S.fx.tick=function(){var e,t=0,i=S.timers;for(Ze=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||S.fx.stop(),Ze=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){Je||(Je=!0,st())},S.fx.stop=function(){Je=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(n,e){return n=S.fx&&S.fx.speeds[n]||n,e=e||"fx",this.queue(e,function(e,t){var i=T.setTimeout(e,n);t.stop=function(){T.clearTimeout(i)}})},et=C.createElement("input"),tt=C.createElement("select").appendChild(C.createElement("option")),et.type="checkbox",v.checkOn=""!==et.value,v.optSelected=tt.selected,(et=C.createElement("input")).value="t",et.type="radio",v.radioValue="t"===et.value;var ct,dt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return F(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,i){var n,s,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?S.prop(e,t,i):(1===r&&S.isXMLDoc(e)||(s=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?ct:void 0)),void 0!==i?null===i?void S.removeAttr(e,t):s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:(e.setAttribute(t,i+""),i):s&&"get"in s&&null!==(n=s.get(e,t))?n:null==(n=S.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&E(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,s=t&&t.match(P);if(s&&1===e.nodeType)for(;i=s[n++];)e.removeAttribute(i)}}),ct={set:function(e,t,i){return!1===t?S.removeAttr(e,i):e.setAttribute(i,i),i}},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,i){var n,s,r=t.toLowerCase();return i||(s=dt[r],dt[r]=n,n=null!=a(e,t,i)?r:null,dt[r]=s),n}});var pt=/^(?:input|select|textarea|button)$/i,ut=/^(?:a|area)$/i;function ht(e){return(e.match(P)||[]).join(" ")}function ft(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 F(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,i){var n,s,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&S.isXMLDoc(e)||(t=S.propFix[t]||t,s=S.propHooks[t]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||ut.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,i,n,s,r,a,o,l=0;if(b(t))return this.each(function(e){S(this).addClass(t.call(this,e,ft(this)))});if((e=mt(t)).length)for(;i=this[l++];)if(s=ft(i),n=1===i.nodeType&&" "+ht(s)+" "){for(a=0;r=e[a++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");s!==(o=ht(n))&&i.setAttribute("class",o)}return this},removeClass:function(t){var e,i,n,s,r,a,o,l=0;if(b(t))return this.each(function(e){S(this).removeClass(t.call(this,e,ft(this)))});if(!arguments.length)return this.attr("class","");if((e=mt(t)).length)for(;i=this[l++];)if(s=ft(i),n=1===i.nodeType&&" "+ht(s)+" "){for(a=0;r=e[a++];)for(;-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");s!==(o=ht(n))&&i.setAttribute("class",o)}return this},toggleClass:function(s,t){var r=typeof s,a="string"===r||Array.isArray(s);return"boolean"==typeof t&&a?t?this.addClass(s):this.removeClass(s):b(s)?this.each(function(e){S(this).toggleClass(s.call(this,e,ft(this),t),t)}):this.each(function(){var e,t,i,n;if(a)for(t=0,i=S(this),n=mt(s);e=n[t++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==s&&"boolean"!==r||((e=ft(this))&&V.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===s?"":V.get(this,"__className__")||""))})},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&-1<(" "+ht(ft(i))+" ").indexOf(t))return!0;return!1}});var gt=/\r/g;S.fn.extend({val:function(i){var n,e,s,t=this[0];return arguments.length?(s=b(i),this.each(function(e){var t;1===this.nodeType&&(null==(t=s?i.call(this,e,S(this).val()):i)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(n=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,t,"value")||(this.value=t))})):t?(n=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(gt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:ht(S.text(e))}},select:{get:function(e){var t,i,n,s=e.options,r=e.selectedIndex,a="select-one"===e.type,o=a?null:[],l=a?r+1:s.length;for(n=r<0?l:a?r:0;n<l;n++)if(((i=s[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!E(i.parentNode,"optgroup"))){if(t=S(i).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var i,n,s=e.options,r=S.makeArray(t),a=s.length;a--;)((n=s[a]).selected=-1<S.inArray(S.valHooks.option.get(n),r))&&(i=!0);return i||(e.selectedIndex=-1),r}}}}),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 T;var vt=/^(?:focusinfocus|focusoutblur)$/,bt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,i,n){var s,r,a,o,l,c,d,p,u=[i||C],h=g.call(e,"type")?e.type:e,f=g.call(e,"namespace")?e.namespace.split("."):[];if(r=p=a=i=i||C,3!==i.nodeType&&8!==i.nodeType&&!vt.test(h+S.event.triggered)&&(-1<h.indexOf(".")&&(h=(f=h.split(".")).shift(),f.sort()),l=h.indexOf(":")<0&&"on"+h,(e=e[S.expando]?e:new S.Event(h,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:S.makeArray(t,[e]),d=S.event.special[h]||{},n||!d.trigger||!1!==d.trigger.apply(i,t))){if(!n&&!d.noBubble&&!y(i)){for(o=d.delegateType||h,vt.test(o+h)||(r=r.parentNode);r;r=r.parentNode)u.push(r),a=r;a===(i.ownerDocument||C)&&u.push(a.defaultView||a.parentWindow||T)}for(s=0;(r=u[s++])&&!e.isPropagationStopped();)p=r,e.type=1<s?o:d.bindType||h,(c=(V.get(r,"events")||{})[e.type]&&V.get(r,"handle"))&&c.apply(r,t),(c=l&&r[l])&&c.apply&&G(r)&&(e.result=c.apply(r,t),!1===e.result&&e.preventDefault());return e.type=h,n||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(u.pop(),t)||!G(i)||l&&b(i[h])&&!y(i)&&((a=i[l])&&(i[l]=null),S.event.triggered=h,e.isPropagationStopped()&&p.addEventListener(h,bt),i[h](),e.isPropagationStopped()&&p.removeEventListener(h,bt),S.event.triggered=void 0,a&&(i[l]=a)),e.result}},simulate:function(e,t,i){var n=S.extend(new S.Event,i,{type:e,isSimulated:!0});S.event.trigger(n,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return S.event.trigger(e,t,i,!0)}}),v.focusin||S.each({focus:"focusin",blur:"focusout"},function(i,n){var s=function(e){S.event.simulate(n,e.target,S.event.fix(e))};S.event.special[n]={setup:function(){var e=this.ownerDocument||this,t=V.access(e,n);t||e.addEventListener(i,s,!0),V.access(e,n,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=V.access(e,n)-1;t?V.access(e,n,t):(e.removeEventListener(i,s,!0),V.remove(e,n))}}});var yt=T.location,wt=Date.now(),_t=/\?/;S.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new T.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+e),t};var xt=/\[\]$/,Tt=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function kt(i,e,n,s){var t;if(Array.isArray(e))S.each(e,function(e,t){n||xt.test(i)?s(i,t):kt(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,n,s)});else if(n||"object"!==_(e))s(i,e);else for(t in e)kt(i+"["+t+"]",e[t],n,s)}S.param=function(e,t){var i,n=[],s=function(e,t){var i=b(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){s(this.name,this.value)});else for(i in e)kt(i,e[i],t,s);return n.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")&&St.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!le.test(e))}).map(function(e,t){var i=S(this).val();return null==i?null:Array.isArray(i)?S.map(i,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:i.replace(Tt,"\r\n")}}).get()}});var Et=/%20/g,Nt=/#.*$/,Mt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Dt=/^\/\//,At={},zt={},Pt="*/".concat("*"),Lt=C.createElement("a");function Ot(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,s=e.toLowerCase().match(P)||[];if(b(t))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(r[i]=r[i]||[]).unshift(t)):(r[i]=r[i]||[]).push(t)}}function Rt(t,s,r,a){var o={},l=t===zt;function c(e){var n;return o[e]=!0,S.each(t[e]||[],function(e,t){var i=t(s,r,a);return"string"!=typeof i||l||o[i]?l?!(n=i):void 0:(s.dataTypes.unshift(i),c(i),!1)}),n}return c(s.dataTypes[0])||!o["*"]&&c("*")}function Bt(e,t){var i,n,s=S.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((s[i]?e:n||(n={}))[i]=t[i]);return n&&S.extend(!0,e,n),e}Lt.href=yt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(yt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pt,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:Ot(At),ajaxTransport:Ot(zt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var d,p,u,i,h,n,f,m,s,r,g=S.ajaxSetup({},t),v=g.context||g,b=g.context&&(v.nodeType||v.jquery)?S(v):S.event,y=S.Deferred(),w=S.Callbacks("once memory"),_=g.statusCode||{},a={},o={},l="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(f){if(!i)for(i={};t=$t.exec(u);)i[t[1].toLowerCase()]=t[2];t=i[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return f?u:null},setRequestHeader:function(e,t){return null==f&&(e=o[e.toLowerCase()]=o[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==f&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)x.always(e[x.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||l;return d&&d.abort(t),c(0,t),this}};if(y.promise(x),g.url=((e||g.url||yt.href)+"").replace(Dt,yt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(P)||[""],null==g.crossDomain){n=C.createElement("a");try{n.href=g.url,n.href=n.href,g.crossDomain=Lt.protocol+"//"+Lt.host!=n.protocol+"//"+n.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=S.param(g.data,g.traditional)),Rt(At,g,t,x),f)return x;for(s in(m=S.event&&g.global)&&0==S.active++&&S.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!It.test(g.type),p=g.url.replace(Nt,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Et,"+")):(r=g.url.slice(p.length),g.data&&(g.processData||"string"==typeof g.data)&&(p+=(_t.test(p)?"&":"?")+g.data,delete g.data),!1===g.cache&&(p=p.replace(Mt,"$1"),r=(_t.test(p)?"&":"?")+"_="+wt+++r),g.url=p+r),g.ifModified&&(S.lastModified[p]&&x.setRequestHeader("If-Modified-Since",S.lastModified[p]),S.etag[p]&&x.setRequestHeader("If-None-Match",S.etag[p])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&x.setRequestHeader("Content-Type",g.contentType),x.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Pt+"; q=0.01":""):g.accepts["*"]),g.headers)x.setRequestHeader(s,g.headers[s]);if(g.beforeSend&&(!1===g.beforeSend.call(v,x,g)||f))return x.abort();if(l="abort",w.add(g.complete),x.done(g.success),x.fail(g.error),d=Rt(zt,g,t,x)){if(x.readyState=1,m&&b.trigger("ajaxSend",[x,g]),f)return x;g.async&&0<g.timeout&&(h=T.setTimeout(function(){x.abort("timeout")},g.timeout));try{f=!1,d.send(a,c)}catch(e){if(f)throw e;c(-1,e)}}else c(-1,"No Transport");function c(e,t,i,n){var s,r,a,o,l,c=t;f||(f=!0,h&&T.clearTimeout(h),d=void 0,u=n||"",x.readyState=0<e?4:0,s=200<=e&&e<300||304===e,i&&(o=function(e,t,i){for(var n,s,r,a,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(s in o)if(o[s]&&o[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||e.converters[s+" "+l[0]]){r=s;break}a||(a=s)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),i[r]}(g,x,i)),o=function(e,t,i,n){var s,r,a,o,l,c={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=d.shift();r;)if(e.responseFields[r]&&(i[e.responseFields[r]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=d.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(s in c)if((o=s.split(" "))[1]===r&&(a=c[l+" "+o[0]]||c["* "+o[0]])){!0===a?a=c[s]:!0!==c[s]&&(r=o[0],d.unshift(o[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 "+l+" to "+r}}}return{state:"success",data:t}}(g,o,x,s),s?(g.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(S.lastModified[p]=l),(l=x.getResponseHeader("etag"))&&(S.etag[p]=l)),204===e||"HEAD"===g.type?c="nocontent":304===e?c="notmodified":(c=o.state,r=o.data,s=!(a=o.error))):(a=c,!e&&c||(c="error",e<0&&(e=0))),x.status=e,x.statusText=(t||c)+"",s?y.resolveWith(v,[r,c,x]):y.rejectWith(v,[x,c,a]),x.statusCode(_),_=void 0,m&&b.trigger(s?"ajaxSuccess":"ajaxError",[x,g,s?r:a]),w.fireWith(v,[x,c]),m&&(b.trigger("ajaxComplete",[x,g]),--S.active||S.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,i){return S.get(e,t,i,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,s){S[s]=function(e,t,i,n){return b(t)&&(n=n||i,i=t,t=void 0),S.ajax(S.extend({url:e,type:s,dataType:n,data:t,success:i},S.isPlainObject(e)&&e))}}),S._evalUrl=function(e){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(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(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(i){return b(i)?this.each(function(e){S(this).wrapInner(i.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=b(t);return this.each(function(e){S(this).wrapAll(i?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 T.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},qt=S.ajaxSettings.xhr();v.cors=!!qt&&"withCredentials"in qt,v.ajax=qt=!!qt,S.ajaxTransport(function(s){var r,a;if(v.cors||qt&&!s.crossDomain)return{send:function(e,t){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)n.setRequestHeader(i,e[i]);r=function(e){return function(){r&&(r=a=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===e?n.abort():"error"===e?"number"!=typeof n.status?t(0,"error"):t(n.status,n.statusText):t(Ht[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=r(),a=n.onerror=n.ontimeout=r("error"),void 0!==n.onabort?n.onabort=a:n.onreadystatechange=function(){4===n.readyState&&T.setTimeout(function(){r&&a()})},r=r("abort");try{n.send(s.hasContent&&s.data||null)}catch(e){if(r)throw e}},abort:function(){r&&r()}}}),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(i){var n,s;if(i.crossDomain)return{send:function(e,t){n=S("<script>").prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(e){n.remove(),s=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(n[0])},abort:function(){s&&s()}}});var Ft,jt=[],Wt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=jt.pop()||S.expando+"_"+wt++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,i){var n,s,r,a=!1!==e.jsonp&&(Wt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Wt,"$1"+n):!1!==e.jsonp&&(e.url+=(_t.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return r||S.error(n+" was not called"),r[0]},e.dataTypes[0]="json",s=T[n],T[n]=function(){r=arguments},i.always(function(){void 0===s?S(T).removeProp(n):T[n]=s,e[n]&&(e.jsonpCallback=t.jsonpCallback,jt.push(n)),r&&b(s)&&s(r[0]),r=s=void 0}),"script"}),v.createHTMLDocument=((Ft=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ft.childNodes.length),S.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(v.createHTMLDocument?((n=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(n)):t=C),r=!i&&[],(s=N.exec(e))?[t.createElement(s[1])]:(s=ve([e],t,r),r&&r.length&&S(r).remove(),S.merge([],s.childNodes)));var n,s,r},S.fn.load=function(e,t,i){var n,s,r,a=this,o=e.indexOf(" ");return-1<o&&(n=ht(e.slice(o)),e=e.slice(0,o)),b(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<a.length&&S.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(n?S("<div>").append(S.parseHTML(e)).find(n):e)}).always(i&&function(e,t){a.each(function(){i.apply(this,r||[e.responseText,t,e])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,i){var n,s,r,a,o,l,c=S.css(e,"position"),d=S(e),p={};"static"===c&&(e.style.position="relative"),o=d.offset(),r=S.css(e,"top"),l=S.css(e,"left"),s=("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(a=(n=d.position()).top,n.left):(a=parseFloat(r)||0,parseFloat(l)||0),b(t)&&(t=t.call(e,i,S.extend({},o))),null!=t.top&&(p.top=t.top-o.top+a),null!=t.left&&(p.left=t.left-o.left+s),"using"in t?t.using.call(e,p):d.css(p)}},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,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],s={top:0,left:0};if("fixed"===S.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((s=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),s.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-s.top-S.css(n,"marginTop",!0),left:t.left-s.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||be})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,s){var r="pageYOffset"===s;S.fn[t]=function(e){return F(this,function(e,t,i){var n;if(y(e)?n=e:9===e.nodeType&&(n=e.defaultView),void 0===i)return n?n[s]:e[t];n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):e[t]=i},t,e,arguments.length)}}),S.each(["top","left"],function(e,i){S.cssHooks[i]=He(v.pixelPosition,function(e,t){if(t)return t=Be(e,i),Le.test(t)?S(e).position()[i]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,o){S.each({padding:"inner"+a,content:o,"":"outer"+a},function(n,r){S.fn[r]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),s=n||(!0===e||!0===t?"margin":"border");return F(this,function(e,t,i){var n;return y(e)?0===r.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+a],n["scroll"+a],e.body["offset"+a],n["offset"+a],n["client"+a])):void 0===i?S.css(e,t,s):S.style(e,t,i,s)},o,i?e:void 0,i)}})}),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,i){S.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}}),S.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}}),S.proxy=function(e,t){var i,n,s;if("string"==typeof t&&(i=e[t],t=e,e=i),b(e))return n=o.call(arguments,2),(s=function(){return e.apply(t||this,n.concat(o.call(arguments)))}).guid=e.guid=e.guid||S.guid++,s},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=E,S.isFunction=b,S.isWindow=y,S.camelCase=U,S.type=_,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(Vt=function(){return S}.apply(Yt,[]))||(Gt.exports=Vt);var Xt=T.jQuery,Ut=T.$;return S.noConflict=function(e){return T.$===S&&(T.$=Ut),e&&T.jQuery===S&&(T.jQuery=Xt),S},e||(T.jQuery=T.$=S),S})},function(e,t,i){i(6),i(7),i(8),i(9),i(10),i(11),i(12),i(13),i(14),i(15),i(16),i(17)},function(e,t){!function(n){"use strict";n.fn.emulateTransitionEnd=function(e){var t=!1,i=this;n(this).one("bsTransitionEnd",function(){t=!0});return setTimeout(function(){t||n(i).trigger(n.support.transition.end)},e),this},n(function(){n.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==e.style[i])return{end:t[i]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(e){if(n(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery)},function(e,t){!function(r){"use strict";var t='[data-dismiss="alert"]',a=function(e){r(e).on("click",t,this.close)};a.VERSION="3.3.7",a.TRANSITION_DURATION=150,a.prototype.close=function(e){var t=r(this),i=t.attr("data-target");i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""));var n=r("#"===i?[]:i);function s(){n.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),n.length||(n=t.closest(".alert")),n.trigger(e=r.Event("close.bs.alert")),e.isDefaultPrevented()||(n.removeClass("in"),r.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",s).emulateTransitionEnd(a.TRANSITION_DURATION):s())};var e=r.fn.alert;r.fn.alert=function(i){return this.each(function(){var e=r(this),t=e.data("bs.alert");t||e.data("bs.alert",t=new a(this)),"string"==typeof i&&t[i].call(e)})},r.fn.alert.Constructor=a,r.fn.alert.noConflict=function(){return r.fn.alert=e,this},r(document).on("click.bs.alert.data-api",t,a.prototype.close)}(jQuery)},function(e,t){!function(r){"use strict";var s=function(e,t){this.$element=r(e),this.options=r.extend({},s.DEFAULTS,t),this.isLoading=!1};function i(n){return this.each(function(){var e=r(this),t=e.data("bs.button"),i="object"==typeof n&&n;t||e.data("bs.button",t=new s(this,i)),"toggle"==n?t.toggle():n&&t.setState(n)})}s.VERSION="3.3.7",s.DEFAULTS={loadingText:"loading..."},s.prototype.setState=function(e){var t="disabled",i=this.$element,n=i.is("input")?"val":"html",s=i.data();e+="Text",null==s.resetText&&i.data("resetText",i[n]()),setTimeout(r.proxy(function(){i[n](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(t).attr(t,t).prop(t,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(t).removeAttr(t).prop(t,!1))},this),0)},s.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),e&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var e=r.fn.button;r.fn.button=i,r.fn.button.Constructor=s,r.fn.button.noConflict=function(){return r.fn.button=e,this},r(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=r(e.target).closest(".btn");i.call(t,"toggle"),r(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),t.is("input,button")?t.trigger("focus"):t.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){r(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery)},function(e,t){!function(p){"use strict";var u=function(e,t){this.$element=p(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=t,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",p.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",p.proxy(this.pause,this)).on("mouseleave.bs.carousel",p.proxy(this.cycle,this))};function a(s){return this.each(function(){var e=p(this),t=e.data("bs.carousel"),i=p.extend({},u.DEFAULTS,e.data(),"object"==typeof s&&s),n="string"==typeof s?s:i.slide;t||e.data("bs.carousel",t=new u(this,i)),"number"==typeof s?t.to(s):n?t[n]():i.interval&&t.pause().cycle()})}u.VERSION="3.3.7",u.TRANSITION_DURATION=600,u.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},u.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},u.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(p.proxy(this.next,this),this.options.interval)),this},u.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},u.prototype.getItemForDirection=function(e,t){var i=this.getItemIndex(t);if(("prev"==e&&0===i||"next"==e&&i==this.$items.length-1)&&!this.options.wrap)return t;var n=(i+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(n)},u.prototype.to=function(e){var t=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):i==e?this.pause().cycle():this.slide(i<e?"next":"prev",this.$items.eq(e))},u.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&p.support.transition&&(this.$element.trigger(p.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},u.prototype.next=function(){if(!this.sliding)return this.slide("next")},u.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},u.prototype.slide=function(e,t){var i=this.$element.find(".item.active"),n=t||this.getItemForDirection(e,i),s=this.interval,r="next"==e?"left":"right",a=this;if(n.hasClass("active"))return this.sliding=!1;var o=n[0],l=p.Event("slide.bs.carousel",{relatedTarget:o,direction:r});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=p(this.$indicators.children()[this.getItemIndex(n)]);c&&c.addClass("active")}var d=p.Event("slid.bs.carousel",{relatedTarget:o,direction:r});return p.support.transition&&this.$element.hasClass("slide")?(n.addClass(e),n[0].offsetWidth,i.addClass(r),n.addClass(r),i.one("bsTransitionEnd",function(){n.removeClass([e,r].join(" ")).addClass("active"),i.removeClass(["active",r].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(d)},0)}).emulateTransitionEnd(u.TRANSITION_DURATION)):(i.removeClass("active"),n.addClass("active"),this.sliding=!1,this.$element.trigger(d)),s&&this.cycle(),this}};var e=p.fn.carousel;p.fn.carousel=a,p.fn.carousel.Constructor=u,p.fn.carousel.noConflict=function(){return p.fn.carousel=e,this};var t=function(e){var t,i=p(this),n=p(i.attr("data-target")||(t=i.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,""));if(n.hasClass("carousel")){var s=p.extend({},n.data(),i.data()),r=i.attr("data-slide-to");r&&(s.interval=!1),a.call(n,s),r&&n.data("bs.carousel").to(r),e.preventDefault()}};p(document).on("click.bs.carousel.data-api","[data-slide]",t).on("click.bs.carousel.data-api","[data-slide-to]",t),p(window).on("load",function(){p('[data-ride="carousel"]').each(function(){var e=p(this);a.call(e,e.data())})})}(jQuery)},function(e,t){!function(a){"use strict";var o=function(e,t){this.$element=a(e),this.options=a.extend({},o.DEFAULTS,t),this.$trigger=a('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function s(e){var t,i=e.attr("data-target")||(t=e.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return a(i)}function l(n){return this.each(function(){var e=a(this),t=e.data("bs.collapse"),i=a.extend({},o.DEFAULTS,e.data(),"object"==typeof n&&n);!t&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),t||e.data("bs.collapse",t=new o(this,i)),"string"==typeof n&&t[n]()})}o.VERSION="3.3.7",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(e=t.data("bs.collapse"))&&e.transitioning)){var i=a.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){t&&t.length&&(l.call(t,"hide"),e||t.data("bs.collapse",null));var n=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[n](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return s.call(this);var r=a.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",a.proxy(s,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[n](this.$element[0][r])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=a.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var t=this.dimension();this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!a.support.transition)return i.call(this);this.$element[t](0).one("bsTransitionEnd",a.proxy(i,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(e,t){var i=a(t);this.addAriaAndCollapsedClass(s(i),i)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(e,t){var i=e.hasClass("in");e.attr("aria-expanded",i),t.toggleClass("collapsed",!i).attr("aria-expanded",i)};var e=a.fn.collapse;a.fn.collapse=l,a.fn.collapse.Constructor=o,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var t=a(this);t.attr("data-target")||e.preventDefault();var i=s(t),n=i.data("bs.collapse")?"toggle":t.data();l.call(i,n)})}(jQuery)},function(e,t){!function(a){"use strict";var o='[data-toggle="dropdown"]',n=function(e){a(e).on("click.bs.dropdown",this.toggle)};function l(e){var t=e.attr("data-target");t||(t=(t=e.attr("href"))&&/#[A-Za-z]/.test(t)&&t.replace(/.*(?=#[^\s]*$)/,""));var i=t&&a(t);return i&&i.length?i:e.parent()}function r(n){n&&3===n.which||(a(".dropdown-backdrop").remove(),a(o).each(function(){var e=a(this),t=l(e),i={relatedTarget:this};t.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&a.contains(t[0],n.target)||(t.trigger(n=a.Event("hide.bs.dropdown",i)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),t.removeClass("open").trigger(a.Event("hidden.bs.dropdown",i)))))}))}n.VERSION="3.3.7",n.prototype.toggle=function(e){var t=a(this);if(!t.is(".disabled, :disabled")){var i=l(t),n=i.hasClass("open");if(r(),!n){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",r);var s={relatedTarget:this};if(i.trigger(e=a.Event("show.bs.dropdown",s)),e.isDefaultPrevented())return;t.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(a.Event("shown.bs.dropdown",s))}return!1}},n.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var t=a(this);if(e.preventDefault(),e.stopPropagation(),!t.is(".disabled, :disabled")){var i=l(t),n=i.hasClass("open");if(!n&&27!=e.which||n&&27==e.which)return 27==e.which&&i.find(o).trigger("focus"),t.trigger("click");var s=i.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var r=s.index(e.target);38==e.which&&0<r&&r--,40==e.which&&r<s.length-1&&r++,~r||(r=0),s.eq(r).trigger("focus")}}}};var e=a.fn.dropdown;a.fn.dropdown=function(i){return this.each(function(){var e=a(this),t=e.data("bs.dropdown");t||e.data("bs.dropdown",t=new n(this)),"string"==typeof i&&t[i].call(e)})},a.fn.dropdown.Constructor=n,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=e,this},a(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",o,n.prototype.toggle).on("keydown.bs.dropdown.data-api",o,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery)},function(e,t){!function(r){"use strict";var a=function(e,t){this.options=t,this.$body=r(document.body),this.$element=r(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,r.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function o(n,s){return this.each(function(){var e=r(this),t=e.data("bs.modal"),i=r.extend({},a.DEFAULTS,e.data(),"object"==typeof n&&n);t||e.data("bs.modal",t=new a(this,i)),"string"==typeof n?t[n](s):i.show&&t.show(s)})}a.VERSION="3.3.7",a.TRANSITION_DURATION=300,a.BACKDROP_TRANSITION_DURATION=150,a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},a.prototype.show=function(i){var n=this,e=r.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',r.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(e){r(e.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=r.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),e&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var t=r.Event("shown.bs.modal",{relatedTarget:i});e?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(t)}).emulateTransitionEnd(a.TRANSITION_DURATION):n.$element.trigger("focus").trigger(t)}))},a.prototype.hide=function(e){e&&e.preventDefault(),e=r.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),r(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),r.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",r.proxy(this.hideModal,this)).emulateTransitionEnd(a.TRANSITION_DURATION):this.hideModal())},a.prototype.enforceFocus=function(){r(document).off("focusin.bs.modal").on("focusin.bs.modal",r.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",r.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},a.prototype.resize=function(){this.isShown?r(window).on("resize.bs.modal",r.proxy(this.handleUpdate,this)):r(window).off("resize.bs.modal")},a.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(e){var t=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var n=r.support.transition&&i;if(this.$backdrop=r(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",r.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),n&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;n?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){t.removeBackdrop(),e&&e()};r.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):s()}else e&&e()},a.prototype.handleUpdate=function(){this.adjustDialog()},a.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},a.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},a.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},a.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},a.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},a.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var e=r.fn.modal;r.fn.modal=o,r.fn.modal.Constructor=a,r.fn.modal.noConflict=function(){return r.fn.modal=e,this},r(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t=r(this),i=t.attr("href"),n=r(t.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),s=n.data("bs.modal")?"toggle":r.extend({remote:!/#/.test(i)&&i},n.data(),t.data());t.is("a")&&e.preventDefault(),n.one("show.bs.modal",function(e){e.isDefaultPrevented()||n.one("hidden.bs.modal",function(){t.is(":visible")&&t.trigger("focus")})}),o.call(n,s,this)})}(jQuery)},function(e,t){!function(m){"use strict";var g=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};g.VERSION="3.3.7",g.TRANSITION_DURATION=150,g.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},g.prototype.init=function(e,t,i){if(this.enabled=!0,this.type=e,this.$element=m(t),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&m(m.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var r=n[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,m.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",o="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,m.proxy(this.enter,this)),this.$element.on(o+"."+this.type,this.options.selector,m.proxy(this.leave,this))}}this.options.selector?this._options=m.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.getOptions=function(e){return(e=m.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},g.prototype.getDelegateOptions=function(){var i={},n=this.getDefaults();return this._options&&m.each(this._options,function(e,t){n[e]!=t&&(i[e]=t)}),i},g.prototype.enter=function(e){var t=e instanceof this.constructor?e:m(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t)),e instanceof m.Event&&(t.inState["focusin"==e.type?"focus":"hover"]=!0),t.tip().hasClass("in")||"in"==t.hoverState)t.hoverState="in";else{if(clearTimeout(t.timeout),t.hoverState="in",!t.options.delay||!t.options.delay.show)return t.show();t.timeout=setTimeout(function(){"in"==t.hoverState&&t.show()},t.options.delay.show)}},g.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},g.prototype.leave=function(e){var t=e instanceof this.constructor?e:m(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t)),e instanceof m.Event&&(t.inState["focusout"==e.type?"focus":"hover"]=!1),!t.isInStateTrue()){if(clearTimeout(t.timeout),t.hoverState="out",!t.options.delay||!t.options.delay.hide)return t.hide();t.timeout=setTimeout(function(){"out"==t.hoverState&&t.hide()},t.options.delay.hide)}},g.prototype.show=function(){var e=m.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var t=m.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!t)return;var i=this,n=this.tip(),s=this.getUID(this.type);this.setContent(),n.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&n.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,o=a.test(r);o&&(r=r.replace(a,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?n.appendTo(this.options.container):n.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),c=n[0].offsetWidth,d=n[0].offsetHeight;if(o){var p=r,u=this.getPosition(this.$viewport);r="bottom"==r&&l.bottom+d>u.bottom?"top":"top"==r&&l.top-d<u.top?"bottom":"right"==r&&l.right+c>u.width?"left":"left"==r&&l.left-c<u.left?"right":r,n.removeClass(p).addClass(r)}var h=this.getCalculatedOffset(r,l,c,d);this.applyPlacement(h,r);var f=function(){var e=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==e&&i.leave(i)};m.support.transition&&this.$tip.hasClass("fade")?n.one("bsTransitionEnd",f).emulateTransitionEnd(g.TRANSITION_DURATION):f()}},g.prototype.applyPlacement=function(e,t){var i=this.tip(),n=i[0].offsetWidth,s=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,m.offset.setOffset(i[0],m.extend({using:function(e){i.css({top:Math.round(e.top),left:Math.round(e.left)})}},e),0),i.addClass("in");var o=i[0].offsetWidth,l=i[0].offsetHeight;"top"==t&&l!=s&&(e.top=e.top+s-l);var c=this.getViewportAdjustedDelta(t,e,o,l);c.left?e.left+=c.left:e.top+=c.top;var d=/top|bottom/.test(t),p=d?2*c.left-n+o:2*c.top-s+l,u=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(p,i[0][u],d)},g.prototype.replaceArrow=function(e,t,i){this.arrow().css(i?"left":"top",50*(1-e/t)+"%").css(i?"top":"left","")},g.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},g.prototype.hide=function(e){var t=this,i=m(this.$tip),n=m.Event("hide.bs."+this.type);function s(){"in"!=t.hoverState&&i.detach(),t.$element&&t.$element.removeAttr("aria-describedby").trigger("hidden.bs."+t.type),e&&e()}if(this.$element.trigger(n),!n.isDefaultPrevented())return i.removeClass("in"),m.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",s).emulateTransitionEnd(g.TRANSITION_DURATION):s(),this.hoverState=null,this},g.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},g.prototype.hasContent=function(){return this.getTitle()},g.prototype.getPosition=function(e){var t=(e=e||this.$element)[0],i="BODY"==t.tagName,n=t.getBoundingClientRect();null==n.width&&(n=m.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=window.SVGElement&&t instanceof window.SVGElement,r=i?{top:0,left:0}:s?null:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},o=i?{width:m(window).width(),height:m(window).height()}:null;return m.extend({},n,a,o,r)},g.prototype.getCalculatedOffset=function(e,t,i,n){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==e?{top:t.top-n,left:t.left+t.width/2-i/2}:"left"==e?{top:t.top+t.height/2-n/2,left:t.left-i}:{top:t.top+t.height/2-n/2,left:t.left+t.width}},g.prototype.getViewportAdjustedDelta=function(e,t,i,n){var s={top:0,left:0};if(!this.$viewport)return s;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var o=t.top-r-a.scroll,l=t.top+r-a.scroll+n;o<a.top?s.top=a.top-o:l>a.top+a.height&&(s.top=a.top+a.height-l)}else{var c=t.left-r,d=t.left+r+i;c<a.left?s.left=a.left-c:d>a.right&&(s.left=a.left+a.width-d)}return s},g.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},g.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},g.prototype.tip=function(){if(!this.$tip&&(this.$tip=m(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},g.prototype.enable=function(){this.enabled=!0},g.prototype.disable=function(){this.enabled=!1},g.prototype.toggleEnabled=function(){this.enabled=!this.enabled},g.prototype.toggle=function(e){var t=this;e&&((t=m(e.currentTarget).data("bs."+this.type))||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t))),e?(t.inState.click=!t.inState.click,t.isInStateTrue()?t.enter(t):t.leave(t)):t.tip().hasClass("in")?t.leave(t):t.enter(t)},g.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})};var e=m.fn.tooltip;m.fn.tooltip=function(n){return this.each(function(){var e=m(this),t=e.data("bs.tooltip"),i="object"==typeof n&&n;!t&&/destroy|hide/.test(n)||(t||e.data("bs.tooltip",t=new g(this,i)),"string"==typeof n&&t[n]())})},m.fn.tooltip.Constructor=g,m.fn.tooltip.noConflict=function(){return m.fn.tooltip=e,this}}(jQuery)},function(e,t){!function(s){"use strict";var r=function(e,t){this.init("popover",e,t)};if(!s.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.3.7",r.DEFAULTS=s.extend({},s.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((r.prototype=s.extend({},s.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),i=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var e=s.fn.popover;s.fn.popover=function(n){return this.each(function(){var e=s(this),t=e.data("bs.popover"),i="object"==typeof n&&n;!t&&/destroy|hide/.test(n)||(t||e.data("bs.popover",t=new r(this,i)),"string"==typeof n&&t[n]())})},s.fn.popover.Constructor=r,s.fn.popover.noConflict=function(){return s.fn.popover=e,this}}(jQuery)},function(e,t){!function(r){"use strict";function s(e,t){this.$body=r(document.body),this.$scrollElement=r(e).is(document.body)?r(window):r(e),this.options=r.extend({},s.DEFAULTS,t),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",r.proxy(this.process,this)),this.refresh(),this.process()}function t(n){return this.each(function(){var e=r(this),t=e.data("bs.scrollspy"),i="object"==typeof n&&n;t||e.data("bs.scrollspy",t=new s(this,i)),"string"==typeof n&&t[n]()})}s.VERSION="3.3.7",s.DEFAULTS={offset:10},s.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},s.prototype.refresh=function(){var e=this,n="offset",s=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),r.isWindow(this.$scrollElement[0])||(n="position",s=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=r(this),t=e.data("target")||e.attr("href"),i=/^#./.test(t)&&r(t);return i&&i.length&&i.is(":visible")&&[[i[n]().top+s,t]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},s.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),s=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n<=t)return a!=(e=r[r.length-1])&&this.activate(e);if(a&&t<s[0])return this.activeTarget=null,this.clear();for(e=s.length;e--;)a!=r[e]&&t>=s[e]&&(void 0===s[e+1]||t<s[e+1])&&this.activate(r[e])},s.prototype.activate=function(e){this.activeTarget=e,this.clear();var t=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=r(t).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},s.prototype.clear=function(){r(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var e=r.fn.scrollspy;r.fn.scrollspy=t,r.fn.scrollspy.Constructor=s,r.fn.scrollspy.noConflict=function(){return r.fn.scrollspy=e,this},r(window).on("load.bs.scrollspy.data-api",function(){r('[data-spy="scroll"]').each(function(){var e=r(this);t.call(e,e.data())})})}(jQuery)},function(e,t){!function(o){"use strict";var a=function(e){this.element=o(e)};function t(i){return this.each(function(){var e=o(this),t=e.data("bs.tab");t||e.data("bs.tab",t=new a(this)),"string"==typeof i&&t[i]()})}a.VERSION="3.3.7",a.TRANSITION_DURATION=150,a.prototype.show=function(){var e=this.element,t=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=t.find(".active:last a"),s=o.Event("hide.bs.tab",{relatedTarget:e[0]}),r=o.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(s),e.trigger(r),!r.isDefaultPrevented()&&!s.isDefaultPrevented()){var a=o(i);this.activate(e.closest("li"),t),this.activate(a,a.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},a.prototype.activate=function(e,t,i){var n=t.find("> .active"),s=i&&o.support.transition&&(n.length&&n.hasClass("fade")||!!t.find("> .fade").length);function r(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}n.length&&s?n.one("bsTransitionEnd",r).emulateTransitionEnd(a.TRANSITION_DURATION):r(),n.removeClass("in")};var e=o.fn.tab;o.fn.tab=t,o.fn.tab.Constructor=a,o.fn.tab.noConflict=function(){return o.fn.tab=e,this};var i=function(e){e.preventDefault(),t.call(o(this),"show")};o(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery)},function(e,t){!function(l){"use strict";var c=function(e,t){this.options=l.extend({},c.DEFAULTS,t),this.$target=l(this.options.target).on("scroll.bs.affix.data-api",l.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",l.proxy(this.checkPositionWithEventLoop,this)),this.$element=l(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(n){return this.each(function(){var e=l(this),t=e.data("bs.affix"),i="object"==typeof n&&n;t||e.data("bs.affix",t=new c(this,i)),"string"==typeof n&&t[n]()})}c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(e,t,i,n){var s=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return s<i&&"top";if("bottom"==this.affixed)return null!=i?!(s+this.unpin<=r.top)&&"bottom":!(s+a<=e-n)&&"bottom";var o=null==this.affixed,l=o?s:r.top;return null!=i&&s<=i?"top":null!=n&&e-n<=l+(o?a:t)&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},c.prototype.checkPositionWithEventLoop=function(){setTimeout(l.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),t=this.options.offset,i=t.top,n=t.bottom,s=Math.max(l(document).height(),l(document.body).height());"object"!=typeof t&&(n=i=t),"function"==typeof i&&(i=t.top(this.$element)),"function"==typeof n&&(n=t.bottom(this.$element));var r=this.getState(s,e,i,n);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var a="affix"+(r?"-"+r:""),o=l.Event(a+".bs.affix");if(this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:s-e-n})}};var e=l.fn.affix;l.fn.affix=i,l.fn.affix.Constructor=c,l.fn.affix.noConflict=function(){return l.fn.affix=e,this},l(window).on("load",function(){l('[data-spy="affix"]').each(function(){var e=l(this),t=e.data();t.offset=t.offset||{},null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom),null!=t.offsetTop&&(t.offset.top=t.offsetTop),i.call(e,t)})})}(jQuery)},function(t,i,n){var s,r,a;
40/*!
41 * The Final Countdown for jQuery v2.2.0 (http://hilios.github.io/jQuery.countdown/)
42 * Copyright (c) 2016 Edson Hilios
43 *
44 * Permission is hereby granted, free of charge, to any person obtaining a copy of
45 * this software and associated documentation files (the "Software"), to deal in
46 * the Software without restriction, including without limitation the rights to
47 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
48 * the Software, and to permit persons to whom the Software is furnished to do so,
49 * subject to the following conditions:
50 *
51 * The above copyright notice and this permission notice shall be included in all
52 * copies or substantial portions of the Software.
53 *
54 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
56 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
57 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
58 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
59 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
60 */
61/*!
62 * The Final Countdown for jQuery v2.2.0 (http://hilios.github.io/jQuery.countdown/)
63 * Copyright (c) 2016 Edson Hilios
64 *
65 * Permission is hereby granted, free of charge, to any person obtaining a copy of
66 * this software and associated documentation files (the "Software"), to deal in
67 * the Software without restriction, including without limitation the rights to
68 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
69 * the Software, and to permit persons to whom the Software is furnished to do so,
70 * subject to the following conditions:
71 *
72 * The above copyright notice and this permission notice shall be included in all
73 * copies or substantial portions of the Software.
74 *
75 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
77 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
78 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
79 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
80 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
81 */
82!function(e){"use strict";r=[n(0)],void 0===(a="function"==typeof(s=function(s){var r=[],t=[],n={precision:100,elapse:!1,defer:!1};t.push(/^[0-9]*$/.source),t.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),t.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),t=new RegExp(t.join("|"));var u={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"};function h(e,t){var i="s",n="";return e&&(e=e.replace(/(:|;|\s)/gi,"").split(/\,/),i=1===e.length?e[0]:(n=e[0],e[1])),1<Math.abs(t)?i:n}var a=function(e,t,i){this.el=e,this.$el=s(e),this.interval=null,this.offset={},this.options=s.extend({},n),this.instanceNumber=r.length,r.push(this),this.$el.data("countdown-instance",this.instanceNumber),i&&("function"==typeof i?(this.$el.on("update.countdown",i),this.$el.on("stoped.countdown",i),this.$el.on("finish.countdown",i)):this.options=s.extend({},n,i)),this.setFinalDate(t),!1===this.options.defer&&this.start()};s.extend(a.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var e=this;this.update(),this.interval=setInterval(function(){e.update.call(e)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),r[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(e){this.finalDate=function(e){if(e instanceof Date)return e;{if(String(e).match(t))return String(e).match(/^[0-9]*$/)&&(e=Number(e)),String(e).match(/\-/)&&(e=String(e).replace(/\-/g,"/")),new Date(e);throw new Error("Couldn't cast `"+e+"` to a date object.")}}(e)},update:function(){if(0!==this.$el.closest("html").length){var e,t=void 0!==s._data(this.el,"events"),i=new Date;e=this.finalDate.getTime()-i.getTime(),e=Math.ceil(e/1e3),e=!this.options.elapse&&e<0?0:Math.abs(e),this.totalSecsLeft!==e&&t&&(this.totalSecsLeft=e,this.elapsed=i>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-i.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))}else this.remove()},dispatchEvent:function(e){var p,t=s.Event(e+".countdown");t.finalDate=this.finalDate,t.elapsed=this.elapsed,t.offset=s.extend({},this.offset),t.strftime=(p=this.offset,function(e){var t,i,n=e.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(n)for(var s=0,r=n.length;s<r;++s){var a=n[s].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),o=(t=a[0],i=t.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),new RegExp(i)),l=a[1]||"",c=a[3]||"",d=null;a=a[2],u.hasOwnProperty(a)&&(d=u[a],d=Number(p[d])),null!==d&&("!"===l&&(d=h(c,d)),""===l&&d<10&&(d="0"+d.toString()),e=e.replace(o,d.toString()))}return e=e.replace(/%%/,"%")}),this.$el.trigger(t)}}),s.fn.countdown=function(){var n=Array.prototype.slice.call(arguments,0);return this.each(function(){var e=s(this).data("countdown-instance");if(void 0!==e){var t=r[e],i=n[0];a.prototype.hasOwnProperty(i)?t[i].apply(t,n.slice(1)):null===String(i).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(t.setFinalDate.call(t,i),t.start()):s.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,i))}else new a(this,n[0],n[1])})}})?s.apply(i,r):s)||(t.exports=a)}()},function(e,t,i){var n,s,r;
83/*! jQuery UI - v1.12.1 - 2017-06-21
84 * http://jqueryui.com
85 * Includes: widget.js, keycode.js, unique-id.js, widgets/accordion.js
86 * Copyright jQuery Foundation and other contributors; Licensed MIT */s=[i(0)],void 0===(r="function"==typeof(n=function(p){p.ui=p.ui||{},p.ui.version="1.12.1";var e,s,i=0,o=Array.prototype.slice;p.cleanData=(s=p.cleanData,function(e){var t,i,n;for(n=0;null!=(i=e[n]);n++)try{(t=p._data(i,"events"))&&t.remove&&p(i).triggerHandler("remove")}catch(e){}s(e)}),p.widget=function(e,i,t){var n,s,r,a={},o=e.split(".")[0];e=e.split(".")[1];var l=o+"-"+e;return t||(t=i,i=p.Widget),p.isArray(t)&&(t=p.extend.apply(null,[{}].concat(t))),p.expr[":"][l.toLowerCase()]=function(e){return!!p.data(e,l)},p[o]=p[o]||{},n=p[o][e],s=p[o][e]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new s(e,t)},p.extend(s,n,{version:t.version,_proto:p.extend({},t),_childConstructors:[]}),(r=new i).options=p.widget.extend({},r.options),p.each(t,function(t,r){return p.isFunction(r)?void(a[t]=function(){function n(){return i.prototype[t].apply(this,arguments)}function s(e){return i.prototype[t].apply(this,e)}return function(){var e,t=this._super,i=this._superApply;return this._super=n,this._superApply=s,e=r.apply(this,arguments),this._super=t,this._superApply=i,e}}()):void(a[t]=r)}),s.prototype=p.widget.extend(r,{widgetEventPrefix:n&&r.widgetEventPrefix||e},a,{constructor:s,namespace:o,widgetName:e,widgetFullName:l}),n?(p.each(n._childConstructors,function(e,t){var i=t.prototype;p.widget(i.namespace+"."+i.widgetName,s,t._proto)}),delete n._childConstructors):i._childConstructors.push(s),p.widget.bridge(e,s),s},p.widget.extend=function(e){for(var t,i,n=o.call(arguments,1),s=0,r=n.length;s<r;s++)for(t in n[s])i=n[s][t],n[s].hasOwnProperty(t)&&void 0!==i&&(e[t]=p.isPlainObject(i)?p.isPlainObject(e[t])?p.widget.extend({},e[t],i):p.widget.extend({},i):i);return e},p.widget.bridge=function(r,t){var a=t.prototype.widgetFullName||r;p.fn[r]=function(i){var e="string"==typeof i,n=o.call(arguments,1),s=this;return e?this.length||"instance"!==i?this.each(function(){var e,t=p.data(this,a);return"instance"===i?(s=t,!1):t?p.isFunction(t[i])&&"_"!==i.charAt(0)?(e=t[i].apply(t,n))!==t&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:p.error("no such method '"+i+"' for "+r+" widget instance"):p.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(n.length&&(i=p.widget.extend.apply(null,[i].concat(n))),this.each(function(){var e=p.data(this,a);e?(e.option(i||{}),e._init&&e._init()):p.data(this,a,new t(i,this))})),s}},p.Widget=function(){},p.Widget._childConstructors=[],p.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=p(t||this.defaultElement||this)[0],this.element=p(t),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=p(),this.hoverable=p(),this.focusable=p(),this.classesElementLookup={},t!==this&&(p.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=p(t.style?t.ownerDocument:t.document||t),this.window=p(this.document[0].defaultView||this.document[0].parentWindow)),this.options=p.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:p.noop,_create:p.noop,_init:p.noop,destroy:function(){var i=this;this._destroy(),p.each(this.classesElementLookup,function(e,t){i._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:p.noop,widget:function(){return this.element},option:function(e,t){var i,n,s,r=e;if(0===arguments.length)return p.widget.extend({},this.options);if("string"==typeof e)if(r={},e=(i=e.split(".")).shift(),i.length){for(n=r[e]=p.widget.extend({},this.options[e]),s=0;i.length-1>s;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(e=i.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];r[e]=t}return this._setOptions(r),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,i,n;for(t in e)n=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&n&&n.length&&(i=p(n.get()),this._removeClass(n,t),i.addClass(this._classes({element:i,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(s){function e(e,t){var i,n;for(n=0;e.length>n;n++)i=a.classesElementLookup[e[n]]||p(),i=s.add?p(p.unique(i.get().concat(s.element.get()))):p(i.not(s.element).get()),a.classesElementLookup[e[n]]=i,r.push(e[n]),t&&s.classes[e[n]]&&r.push(s.classes[e[n]])}var r=[],a=this;return s=p.extend({element:this.element,classes:this.options.classes||{}},s),this._on(s.element,{remove:"_untrackClassesElement"}),s.keys&&e(s.keys.match(/\S+/g)||[],!0),s.extra&&e(s.extra.match(/\S+/g)||[]),r.join(" ")},_untrackClassesElement:function(i){var n=this;p.each(n.classesElementLookup,function(e,t){-1!==p.inArray(i.target,t)&&(n.classesElementLookup[e]=p(t.not(i.target).get()))})},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){n="boolean"==typeof n?n:i;var s="string"==typeof e||null===e,r={extra:s?t:i,keys:s?e:t,element:s?this.element:e,add:n};return r.element.toggleClass(this._classes(r),n),this},_on:function(a,o,e){var l,c=this;"boolean"!=typeof a&&(e=o,o=a,a=!1),e?(o=l=p(o),this.bindings=this.bindings.add(o)):(e=o,o=this.element,l=this.widget()),p.each(e,function(e,t){function i(){return a||!0!==c.options.disabled&&!p(this).hasClass("ui-state-disabled")?("string"==typeof t?c[t]:t).apply(c,arguments):void 0}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||p.guid++);var n=e.match(/^([\w:-]*)\s*(.*)$/),s=n[1]+c.eventNamespace,r=n[2];r?l.on(s,r,i):o.on(s,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=p(this.bindings.not(e).get()),this.focusable=p(this.focusable.not(e).get()),this.hoverable=p(this.hoverable.not(e).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(p(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(p(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(p(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(p(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,i){var n,s,r=this.options[e];if(i=i||{},(t=p.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],s=t.originalEvent)for(n in s)n in t||(t[n]=s[n]);return this.element.trigger(t,i),!(p.isFunction(r)&&!1===r.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},p.each({show:"fadeIn",hide:"fadeOut"},function(r,a){p.Widget.prototype["_"+r]=function(t,e,i){"string"==typeof e&&(e={effect:e});var n,s=e?!0===e||"number"==typeof e?a:e.effect||a:r;"number"==typeof(e=e||{})&&(e={duration:e}),n=!p.isEmptyObject(e),e.complete=i,e.delay&&t.delay(e.delay),n&&p.effects&&p.effects.effect[s]?t[r](e):s!==r&&t[s]?t[s](e.duration,e.easing,i):t.queue(function(e){p(this)[r](),i&&i.call(t[0]),e()})}}),p.widget,p.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},p.fn.extend({uniqueId:(e=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&p(this).removeAttr("id")})}}),p.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=p(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():p()}},_createIcons:function(){var e,t,i=this.options.icons;i&&(e=p("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+i.header),e.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,i.header)._addClass(t,null,i.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){return"active"===e?void this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),void("icons"===e&&(this._destroyIcons(),t&&this._createIcons())))},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=p.ui.keyCode,i=this.headers.length,n=this.headers.index(e.target),s=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:s=this.headers[(n+1)%i];break;case t.LEFT:case t.UP:s=this.headers[(n-1+i)%i];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:s=this.headers[0];break;case t.END:s=this.headers[i-1]}s&&(p(e.target).attr("tabIndex",-1),p(s).attr("tabIndex",0),p(s).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===p.ui.keyCode.UP&&e.ctrlKey&&p(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=p()):!1===e.active?this._activate(0):this.active.length&&!p.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=p()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var i,e=this.options,t=e.heightStyle,n=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=p(this),t=e.uniqueId().attr("id"),i=e.next(),n=i.uniqueId().attr("id");e.attr("aria-controls",n),i.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(i=n.height(),this.element.siblings(":visible").each(function(){var e=p(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=p(this).outerHeight(!0)}),this.headers.next().each(function(){p(this).height(Math.max(0,i-p(this).innerHeight()+p(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){var e=p(this).is(":visible");e||p(this).show(),i=Math.max(i,p(this).css("height","").height()),e||p(this).hide()}).height(i))},_activate:function(e){var t=this._findActive(e)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:p.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):p()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&p.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t,i,n=this.options,s=this.active,r=p(e.currentTarget),a=r[0]===s[0],o=a&&n.collapsible,l=o?p():r.next(),c=s.next(),d={oldHeader:s,oldPanel:c,newHeader:o?p():r,newPanel:l};e.preventDefault(),a&&!n.collapsible||!1===this._trigger("beforeActivate",e,d)||(n.active=!o&&this.headers.index(r),this.active=a?p():r,this._toggle(d),this._removeClass(s,"ui-accordion-header-active","ui-state-active"),n.icons&&(t=s.children(".ui-accordion-header-icon"),this._removeClass(t,null,n.icons.activeHeader)._addClass(t,null,n.icons.header)),a||(this._removeClass(r,"ui-accordion-header-collapsed")._addClass(r,"ui-accordion-header-active","ui-state-active"),n.icons&&(i=r.children(".ui-accordion-header-icon"),this._removeClass(i,null,n.icons.header)._addClass(i,null,n.icons.activeHeader)),this._addClass(r.next(),"ui-accordion-content-active")))},_toggle:function(e){var t=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=i,this.options.animate?this._animate(t,i,e):(i.hide(),t.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(p(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,i,t){var n,s,r,a=this,o=0,l=e.css("box-sizing"),c=e.length&&(!i.length||e.index()<i.index()),d=this.options.animate||{},p=c&&d.down||d,u=function(){a._toggleComplete(t)};return"number"==typeof p&&(r=p),"string"==typeof p&&(s=p),s=s||p.easing||d.easing,r=r||p.duration||d.duration,i.length?e.length?(n=e.show().outerHeight(),i.animate(this.hideProps,{duration:r,easing:s,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:r,easing:s,complete:u,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===l&&(o+=t.now):"content"!==a.options.heightStyle&&(t.now=Math.round(n-i.outerHeight()-o),o=0)}})):i.animate(this.hideProps,r,s,u):e.animate(this.showProps,r,s,u)},_toggleComplete:function(e){var t=e.oldPanel,i=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}})})?n.apply(t,s):n)||(e.exports=r)},function(e,t,i){var n,s;n=[i(0)],void 0===(s=function(e){return function(l,c,d,e,p){"use strict";var t,i,n=0,s=(t=e.userAgent,i=/msie\s\d+/i,0<t.search(i)&&i.exec(t).toString().split(" ")[1]<9&&(l("html").addClass("lt-ie9"),!0));Function.prototype.bind||(Function.prototype.bind=function(n){var s=this,r=[].slice;if("function"!=typeof s)throw new TypeError;var a=r.call(arguments,1),o=function(){if(this instanceof o){var e=function(){};e.prototype=s.prototype;var t=new e,i=s.apply(t,a.concat(r.call(arguments)));return Object(i)===i?i:t}return s.apply(n,a.concat(r.call(arguments)))};return o}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),s=n.length>>>0;if(0===s)return-1;var r=+t||0;if(Math.abs(r)===1/0&&(r=0),s<=r)return-1;for(i=Math.max(0<=r?r:s-Math.abs(r),0);i<s;){if(i in n&&n[i]===e)return i;i++}return-1});var r=function(e,t,i){this.VERSION="2.2.0",this.input=e,this.plugin_count=i,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,t=t||{},this.$cache={win:l(d),body:l(c.body),input:l(e),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var n,s,r,a=this.$cache.input,o=a.prop("value");for(r in n={type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:"  ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null},"INPUT"!==a[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",a[0]),(s={type:a.data("type"),min:a.data("min"),max:a.data("max"),from:a.data("from"),to:a.data("to"),step:a.data("step"),min_interval:a.data("minInterval"),max_interval:a.data("maxInterval"),drag_interval:a.data("dragInterval"),values:a.data("values"),from_fixed:a.data("fromFixed"),from_min:a.data("fromMin"),from_max:a.data("fromMax"),from_shadow:a.data("fromShadow"),to_fixed:a.data("toFixed"),to_min:a.data("toMin"),to_max:a.data("toMax"),to_shadow:a.data("toShadow"),prettify_enabled:a.data("prettifyEnabled"),prettify_separator:a.data("prettifySeparator"),force_edges:a.data("forceEdges"),keyboard:a.data("keyboard"),grid:a.data("grid"),grid_margin:a.data("gridMargin"),grid_num:a.data("gridNum"),grid_snap:a.data("gridSnap"),hide_min_max:a.data("hideMinMax"),hide_from_to:a.data("hideFromTo"),prefix:a.data("prefix"),postfix:a.data("postfix"),max_postfix:a.data("maxPostfix"),decorate_both:a.data("decorateBoth"),values_separator:a.data("valuesSeparator"),input_values_separator:a.data("inputValuesSeparator"),disable:a.data("disable"),block:a.data("block"),extra_classes:a.data("extraClasses")}).values=s.values&&s.values.split(","),s)s.hasOwnProperty(r)&&(s[r]!==p&&""!==s[r]||delete s[r]);o!==p&&""!==o&&((o=o.split(s.input_values_separator||t.input_values_separator||";"))[0]&&o[0]==+o[0]&&(o[0]=+o[0]),o[1]&&o[1]==+o[1]&&(o[1]=+o[1]),t&&t.values&&t.values.length?(n.from=o[0]&&t.values.indexOf(o[0]),n.to=o[1]&&t.values.indexOf(o[1])):(n.from=o[0]&&+o[0],n.to=o[1]&&+o[1])),l.extend(n,t),l.extend(n,s),this.options=n,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()};r.prototype={init:function(e){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),e?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var e='<span class="irs js-irs-'+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(e),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="0"><span class="irs-line-left"></span><span class="irs-line-mid"></span><span class="irs-line-right"></span></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span><span class="irs-bar"></span>'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar-edge"></span><span class="irs-shadow shadow-single"></span><span class="irs-slider single"></span>'),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-slider from"></span><span class="irs-slider to"></span>'),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var e=this.options.min,t=this.options.max,i=this.options.from,n=this.options.to;e<i&&n===t?this.$cache.s_from.addClass("type_last"):n<t&&this.$cache.s_to.addClass("type_last")},changeLevel:function(e){switch(e){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),s&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("keydown.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),s&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(e){var t,i;this.target||(i="single"===this.options.type?this.$cache.single:this.$cache.from,t=i.offset().left,t+=i.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:t}))},pointerMove:function(e){if(this.dragging){var t=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX;this.coords.x_pointer=t-this.coords.x_gap,this.calc()}},pointerUp:function(e){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,s&&l("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(l.contains(this.$cache.cont[0],e.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(e,t){t.preventDefault();var i=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;2!==t.button&&("both"===e&&this.setTempMinInterval(),e||(e=this.target||"from"),this.current_plugin=this.plugin_count,this.target=e,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=i-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(e),s&&l("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(e,t){t.preventDefault();var i=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;2!==t.button&&(this.current_plugin=this.plugin_count,this.target=e,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(i-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(e,t){if(!(this.current_plugin!==this.plugin_count||t.altKey||t.ctrlKey||t.shiftKey||t.metaKey)){switch(t.which){case 83:case 65:case 40:case 37:t.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:t.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(e){var t=this.coords.p_pointer,i=(this.options.max-this.options.min)/100;i=this.options.step/i,e?t+=i:t-=i,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*t),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");if(this.options.values.length)this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]));else{var e=this._prettify(this.options.min),t=this._prettify(this.options.max);this.result.min_pretty=e,this.result.max_pretty=t,this.$cache.min.html(this.decorate(e,this.options.min)),this.$cache.max.html(this.decorate(t,this.options.max))}this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var e=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=e},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(e){if(this.options&&(this.calc_count++,(10===this.calc_count||e)&&(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var t=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,t=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,t=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(t)),this.target){case"base":var i=(this.options.max-this.options.min)/100,n=(this.result.from-this.options.min)/i,s=(this.result.to-this.options.min)/i;this.coords.p_single_real=this.toFixed(n),this.coords.p_from_real=this.toFixed(n),this.coords.p_to_real=this.toFixed(s),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(t),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(t),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(t),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;t=this.toFixed(t+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(t)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(t)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var r=this.convertToRealPercent(t),a=this.result.from_percent,o=this.result.to_percent,l=o-a,c=l/2,d=r-c,p=r+c;d<0&&(p=(d=0)+l),100<p&&(d=(p=100)-l),this.coords.p_from_real=this.calcWithStep(d),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(p),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(e){var t=100-this.coords.p_handle;return e/t*100},convertToFakePercent:function(e){var t=100-this.coords.p_handle;return e/100*t},getHandleX:function(){var e=100-this.coords.p_handle,t=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return t<0?t=0:e<t&&(t=e),t},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(e){if("single"===this.options.type)return"single";var t=this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2;return t<=e?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left)),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),(this.coords.w_rs!==this.coords.w_rs_old||this.force_redraw)&&(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%":(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",(this.old_from!==this.result.from||this.force_redraw)&&(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),(this.old_to!==this.result.to||this.force_redraw)&&(this.$cache.to[0].style.left=this.labels.p_to_left+"%")),this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var e,t,i,n,s,r=this.options.values.length,a=this.options.p_values;if(!this.options.hide_from_to)if("single"===this.options.type)e=r?this.decorate(a[this.result.from]):(n=this._prettify(this.result.from),this.decorate(n,this.result.from)),this.$cache.single.html(e),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible";else{i=r?(this.options.decorate_both?(e=this.decorate(a[this.result.from]),e+=this.options.values_separator,e+=this.decorate(a[this.result.to])):e=this.decorate(a[this.result.from]+this.options.values_separator+a[this.result.to]),t=this.decorate(a[this.result.from]),this.decorate(a[this.result.to])):(n=this._prettify(this.result.from),s=this._prettify(this.result.to),this.options.decorate_both?(e=this.decorate(n,this.result.from),e+=this.options.values_separator,e+=this.decorate(s,this.result.to)):e=this.decorate(n+this.options.values_separator+s,this.result.to),t=this.decorate(n,this.result.from),this.decorate(s,this.result.to)),this.$cache.single.html(e),this.$cache.from.html(t),this.$cache.to.html(i),this.calcLabels();var o=Math.min(this.labels.p_single_left,this.labels.p_from_left),l=this.labels.p_single_left+this.labels.p_single_fake,c=this.labels.p_to_left+this.labels.p_to_fake,d=Math.max(l,c);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",d=this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",c):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",Math.max(l,c))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),o<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",d>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"}}},drawShadow:function(){var e,t,i,n,s=this.options,r=this.$cache,a="number"==typeof s.from_min&&!isNaN(s.from_min),o="number"==typeof s.from_max&&!isNaN(s.from_max),l="number"==typeof s.to_min&&!isNaN(s.to_min),c="number"==typeof s.to_max&&!isNaN(s.to_max);"single"===s.type?s.from_shadow&&(a||o)?(e=this.convertToPercent(a?s.from_min:s.min),t=this.convertToPercent(o?s.from_max:s.max)-e,e=this.toFixed(e-this.coords.p_handle/100*e),t=this.toFixed(t-this.coords.p_handle/100*t),e+=this.coords.p_handle/2,r.shad_single[0].style.display="block",r.shad_single[0].style.left=e+"%",r.shad_single[0].style.width=t+"%"):r.shad_single[0].style.display="none":(s.from_shadow&&(a||o)?(e=this.convertToPercent(a?s.from_min:s.min),t=this.convertToPercent(o?s.from_max:s.max)-e,e=this.toFixed(e-this.coords.p_handle/100*e),t=this.toFixed(t-this.coords.p_handle/100*t),e+=this.coords.p_handle/2,r.shad_from[0].style.display="block",r.shad_from[0].style.left=e+"%",r.shad_from[0].style.width=t+"%"):r.shad_from[0].style.display="none",s.to_shadow&&(l||c)?(i=this.convertToPercent(l?s.to_min:s.min),n=this.convertToPercent(c?s.to_max:s.max)-i,i=this.toFixed(i-this.coords.p_handle/100*i),n=this.toFixed(n-this.coords.p_handle/100*n),i+=this.coords.p_handle/2,r.shad_to[0].style.display="block",r.shad_to[0].style.left=i+"%",r.shad_to[0].style.width=n+"%"):r.shad_to[0].style.display="none")},writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(e,t){var i,n,s=this.options.max-this.options.min,r=s/100;return s?(i=t?e:e-this.options.min,n=i/r,this.toFixed(n)):(this.no_diapason=!0,0)},convertToValue:function(e){var t,i,n=this.options.min,s=this.options.max,r=n.toString().split(".")[1],a=s.toString().split(".")[1],o=0,l=0;if(0===e)return this.options.min;if(100===e)return this.options.max;r&&(t=r.length,o=t),a&&(i=a.length,o=i),t&&i&&(o=i<=t?t:i),n<0&&(l=Math.abs(n),n=+(n+l).toFixed(o),s=+(s+l).toFixed(o));var c,d=(s-n)/100*e+n,p=this.options.step.toString().split(".")[1];return d=p?+d.toFixed(p.length):(d/=this.options.step,+(d*=this.options.step).toFixed(0)),l&&(d-=l),(c=p?+d.toFixed(p.length):this.toFixed(d))<this.options.min?c=this.options.min:c>this.options.max&&(c=this.options.max),c},calcWithStep:function(e){var t=Math.round(e/this.coords.p_step)*this.coords.p_step;return 100<t&&(t=100),100===e&&(t=100),this.toFixed(t)},checkMinInterval:function(e,t,i){var n,s,r=this.options;return r.min_interval?(n=this.convertToValue(e),s=this.convertToValue(t),"from"===i?s-n<r.min_interval&&(n=s-r.min_interval):n-s<r.min_interval&&(n=s+r.min_interval),this.convertToPercent(n)):e},checkMaxInterval:function(e,t,i){var n,s,r=this.options;return r.max_interval?(n=this.convertToValue(e),s=this.convertToValue(t),"from"===i?s-n>r.max_interval&&(n=s-r.max_interval):n-s>r.max_interval&&(n=s+r.max_interval),this.convertToPercent(n)):e},checkDiapason:function(e,t,i){var n=this.convertToValue(e),s=this.options;return"number"!=typeof t&&(t=s.min),"number"!=typeof i&&(i=s.max),n<t&&(n=t),i<n&&(n=i),this.convertToPercent(n)},toFixed:function(e){return+(e=e.toFixed(20))},_prettify:function(e){return this.options.prettify_enabled?this.options.prettify&&"function"==typeof this.options.prettify?this.options.prettify(e):this.prettify(e):e},prettify:function(e){var t=e.toString();return t.replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(e,t){return this.options.force_edges&&(e<0?e=0:100-t<e&&(e=100-t)),this.toFixed(e)},validate:function(){var e,t,i=this.options,n=this.result,s=i.values,r=s.length;if("string"==typeof i.min&&(i.min=+i.min),"string"==typeof i.max&&(i.max=+i.max),"string"==typeof i.from&&(i.from=+i.from),"string"==typeof i.to&&(i.to=+i.to),"string"==typeof i.step&&(i.step=+i.step),"string"==typeof i.from_min&&(i.from_min=+i.from_min),"string"==typeof i.from_max&&(i.from_max=+i.from_max),"string"==typeof i.to_min&&(i.to_min=+i.to_min),"string"==typeof i.to_max&&(i.to_max=+i.to_max),"string"==typeof i.grid_num&&(i.grid_num=+i.grid_num),i.max<i.min&&(i.max=i.min),r)for(i.p_values=[],i.min=0,i.max=r-1,i.step=1,i.grid_num=i.max,i.grid_snap=!0,t=0;t<r;t++)e=+s[t],e=isNaN(e)?s[t]:(s[t]=e,this._prettify(e)),i.p_values.push(e);("number"!=typeof i.from||isNaN(i.from))&&(i.from=i.min),("number"!=typeof i.to||isNaN(i.to))&&(i.to=i.max),"single"===i.type?(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max)):(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max),i.to<i.min&&(i.to=i.min),i.to>i.max&&(i.to=i.max),this.update_check.from&&(this.update_check.from!==i.from&&i.from>i.to&&(i.from=i.to),this.update_check.to!==i.to&&i.to<i.from&&(i.to=i.from)),i.from>i.to&&(i.from=i.to),i.to<i.from&&(i.to=i.from)),("number"!=typeof i.step||isNaN(i.step)||!i.step||i.step<0)&&(i.step=1),"number"==typeof i.from_min&&i.from<i.from_min&&(i.from=i.from_min),"number"==typeof i.from_max&&i.from>i.from_max&&(i.from=i.from_max),"number"==typeof i.to_min&&i.to<i.to_min&&(i.to=i.to_min),"number"==typeof i.to_max&&i.from>i.to_max&&(i.to=i.to_max),n&&(n.min!==i.min&&(n.min=i.min),n.max!==i.max&&(n.max=i.max),(n.from<n.min||n.from>n.max)&&(n.from=i.from),(n.to<n.min||n.to>n.max)&&(n.to=i.to)),("number"!=typeof i.min_interval||isNaN(i.min_interval)||!i.min_interval||i.min_interval<0)&&(i.min_interval=0),("number"!=typeof i.max_interval||isNaN(i.max_interval)||!i.max_interval||i.max_interval<0)&&(i.max_interval=0),i.min_interval&&i.min_interval>i.max-i.min&&(i.min_interval=i.max-i.min),i.max_interval&&i.max_interval>i.max-i.min&&(i.max_interval=i.max-i.min)},decorate:function(e,t){var i="",n=this.options;return n.prefix&&(i+=n.prefix),i+=e,n.max_postfix&&(n.values.length&&e===n.p_values[n.max]?(i+=n.max_postfix,n.postfix&&(i+=" ")):t===n.max&&(i+=n.max_postfix,n.postfix&&(i+=" "))),n.postfix&&(i+=n.postfix),i},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var e,t,i,n,s,r=this.options,a=r.max-r.min,o=r.grid_num,l=0,c=0,d=4,p=0,u="";for(this.calcGridMargin(),l=r.grid_snap?50<a?(o=50/r.step,this.toFixed(r.step/.5)):(o=a/r.step,this.toFixed(r.step/(a/100))):this.toFixed(100/o),4<o&&(d=3),7<o&&(d=2),14<o&&(d=1),28<o&&(d=0),e=0;e<o+1;e++){for(i=d,100<(c=this.toFixed(l*e))&&(c=100),this.coords.big[e]=c,n=(c-l*(e-1))/(i+1),t=1;t<=i&&0!==c;t++)p=this.toFixed(c-n*t),u+='<span class="irs-grid-pol small" style="left: '+p+'%"></span>';u+='<span class="irs-grid-pol" style="left: '+c+'%"></span>',s=this.convertToValue(c),s=r.values.length?r.p_values[s]:this._prettify(s),u+='<span class="irs-grid-text js-grid-text-'+e+'" style="left: '+c+'%">'+s+"</span>"}this.coords.big_num=Math.ceil(o+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(u),this.cacheGridLabels()}},cacheGridLabels:function(){var e,t,i=this.coords.big_num;for(t=0;t<i;t++)e=this.$cache.grid.find(".js-grid-text-"+t),this.$cache.grid_labels.push(e);this.calcGridLabels()},calcGridLabels:function(){var e,t,i=[],n=[],s=this.coords.big_num;for(e=0;e<s;e++)this.coords.big_w[e]=this.$cache.grid_labels[e].outerWidth(!1),this.coords.big_p[e]=this.toFixed(this.coords.big_w[e]/this.coords.w_rs*100),this.coords.big_x[e]=this.toFixed(this.coords.big_p[e]/2),i[e]=this.toFixed(this.coords.big[e]-this.coords.big_x[e]),n[e]=this.toFixed(i[e]+this.coords.big_p[e]);for(this.options.force_edges&&(i[0]<-this.coords.grid_gap&&(i[0]=-this.coords.grid_gap,n[0]=this.toFixed(i[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),n[s-1]>100+this.coords.grid_gap&&(n[s-1]=100+this.coords.grid_gap,i[s-1]=this.toFixed(n[s-1]-this.coords.big_p[s-1]),this.coords.big_x[s-1]=this.toFixed(this.coords.big_p[s-1]-this.coords.grid_gap))),this.calcGridCollision(2,i,n),this.calcGridCollision(4,i,n),e=0;e<s;e++)t=this.$cache.grid_labels[e][0],this.coords.big_x[e]!==Number.POSITIVE_INFINITY&&(t.style.marginLeft=-this.coords.big_x[e]+"%")},calcGridCollision:function(e,t,i){var n,s,r,a=this.coords.big_num;for(n=0;n<a&&!(a<=(s=n+e/2));n+=e)r=this.$cache.grid_labels[s][0],i[n]<=t[s]?r.style.visibility="visible":r.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[0].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(e){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=l.extend(this.options,e),this.validate(),this.updateResult(e),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),l.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},l.fn.ionRangeSlider=function(e){return this.each(function(){l.data(this,"ionRangeSlider")||l.data(this,"ionRangeSlider",new r(this,e,n++))})},function(){for(var r=0,e=["ms","moz","webkit","o"],t=0;t<e.length&&!d.requestAnimationFrame;++t)d.requestAnimationFrame=d[e[t]+"RequestAnimationFrame"],d.cancelAnimationFrame=d[e[t]+"CancelAnimationFrame"]||d[e[t]+"CancelRequestAnimationFrame"];d.requestAnimationFrame||(d.requestAnimationFrame=function(e,t){var i=(new Date).getTime(),n=Math.max(0,16-(i-r)),s=d.setTimeout(function(){e(i+n)},n);return r=i+n,s}),d.cancelAnimationFrame||(d.cancelAnimationFrame=function(e){clearTimeout(e)})}()}(e,document,window,navigator)}.apply(t,n))||(e.exports=s)},function(e,t,i){!function(){"use strict";var L,e,t,i,n,s,r,a,o,O=function(e,l){if(!(this instanceof O))return new O(e,l);var t={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},i=l&&l.virtualTranslate;l=l||{};var n={};for(var s in l)if("object"!=typeof l[s]||null===l[s]||(l[s].nodeType||l[s]===window||l[s]===document||void 0!==R&&l[s]instanceof R||"undefined"!=typeof jQuery&&l[s]instanceof jQuery))n[s]=l[s];else for(var r in n[s]={},l[s])n[s][r]=l[s][r];for(var a in t)if(void 0===l[a])l[a]=t[a];else if("object"==typeof l[a])for(var o in t[a])void 0===l[a][o]&&(l[a][o]=t[a][o]);var w=this;if(w.params=l,w.originalParams=n,w.classNames=[],void 0!==L&&void 0!==R&&(L=R),(void 0!==L||(L=void 0===R?window.Dom7||window.Zepto||window.jQuery:R))&&(w.$=L,w.currentBreakpoint=void 0,w.getActiveBreakpoint=function(){if(!w.params.breakpoints)return!1;var e,t=!1,i=[];for(e in w.params.breakpoints)w.params.breakpoints.hasOwnProperty(e)&&i.push(e);i.sort(function(e,t){return parseInt(e,10)>parseInt(t,10)});for(var n=0;n<i.length;n++)(e=i[n])>=window.innerWidth&&!t&&(t=e);return t||"max"},w.setBreakpoint=function(){var e=w.getActiveBreakpoint();if(e&&w.currentBreakpoint!==e){var t=e in w.params.breakpoints?w.params.breakpoints[e]:w.originalParams,i=w.params.loop&&t.slidesPerView!==w.params.slidesPerView;for(var n in t)w.params[n]=t[n];w.currentBreakpoint=e,i&&w.destroyLoop&&w.reLoop(!0)}},w.params.breakpoints&&w.setBreakpoint(),w.container=L(e),0!==w.container.length)){if(1<w.container.length){var c=[];return w.container.each(function(){c.push(new O(this,l))}),c}(w.container[0].swiper=w).container.data("swiper",w),w.classNames.push(w.params.containerModifierClass+w.params.direction),w.params.freeMode&&w.classNames.push(w.params.containerModifierClass+"free-mode"),w.support.flexbox||(w.classNames.push(w.params.containerModifierClass+"no-flexbox"),w.params.slidesPerColumn=1),w.params.autoHeight&&w.classNames.push(w.params.containerModifierClass+"autoheight"),(w.params.parallax||w.params.watchSlidesVisibility)&&(w.params.watchSlidesProgress=!0),w.params.touchReleaseOnEdges&&(w.params.resistanceRatio=0),0<=["cube","coverflow","flip"].indexOf(w.params.effect)&&(w.support.transforms3d?(w.params.watchSlidesProgress=!0,w.classNames.push(w.params.containerModifierClass+"3d")):w.params.effect="slide"),"slide"!==w.params.effect&&w.classNames.push(w.params.containerModifierClass+w.params.effect),"cube"===w.params.effect&&(w.params.resistanceRatio=0,w.params.slidesPerView=1,w.params.slidesPerColumn=1,w.params.slidesPerGroup=1,w.params.centeredSlides=!1,w.params.spaceBetween=0,w.params.virtualTranslate=!0),"fade"!==w.params.effect&&"flip"!==w.params.effect||(w.params.slidesPerView=1,w.params.slidesPerColumn=1,w.params.slidesPerGroup=1,w.params.watchSlidesProgress=!0,void(w.params.spaceBetween=0)===i&&(w.params.virtualTranslate=!0)),w.params.grabCursor&&w.support.touch&&(w.params.grabCursor=!1),w.wrapper=w.container.children("."+w.params.wrapperClass),w.params.pagination&&(w.paginationContainer=L(w.params.pagination),w.params.uniqueNavElements&&"string"==typeof w.params.pagination&&1<w.paginationContainer.length&&1===w.container.find(w.params.pagination).length&&(w.paginationContainer=w.container.find(w.params.pagination)),"bullets"===w.params.paginationType&&w.params.paginationClickable?w.paginationContainer.addClass(w.params.paginationModifierClass+"clickable"):w.params.paginationClickable=!1,w.paginationContainer.addClass(w.params.paginationModifierClass+w.params.paginationType)),(w.params.nextButton||w.params.prevButton)&&(w.params.nextButton&&(w.nextButton=L(w.params.nextButton),w.params.uniqueNavElements&&"string"==typeof w.params.nextButton&&1<w.nextButton.length&&1===w.container.find(w.params.nextButton).length&&(w.nextButton=w.container.find(w.params.nextButton))),w.params.prevButton&&(w.prevButton=L(w.params.prevButton),w.params.uniqueNavElements&&"string"==typeof w.params.prevButton&&1<w.prevButton.length&&1===w.container.find(w.params.prevButton).length&&(w.prevButton=w.container.find(w.params.prevButton)))),w.isHorizontal=function(){return"horizontal"===w.params.direction},w.rtl=w.isHorizontal()&&("rtl"===w.container[0].dir.toLowerCase()||"rtl"===w.container.css("direction")),w.rtl&&w.classNames.push(w.params.containerModifierClass+"rtl"),w.rtl&&(w.wrongRTL="-webkit-box"===w.wrapper.css("display")),1<w.params.slidesPerColumn&&w.classNames.push(w.params.containerModifierClass+"multirow"),w.device.android&&w.classNames.push(w.params.containerModifierClass+"android"),w.container.addClass(w.classNames.join(" ")),w.translate=0,w.progress=0,w.velocity=0,w.lockSwipeToNext=function(){(w.params.allowSwipeToNext=!1)===w.params.allowSwipeToPrev&&w.params.grabCursor&&w.unsetGrabCursor()},w.lockSwipeToPrev=function(){(w.params.allowSwipeToPrev=!1)===w.params.allowSwipeToNext&&w.params.grabCursor&&w.unsetGrabCursor()},w.lockSwipes=function(){w.params.allowSwipeToNext=w.params.allowSwipeToPrev=!1,w.params.grabCursor&&w.unsetGrabCursor()},w.unlockSwipeToNext=function(){(w.params.allowSwipeToNext=!0)===w.params.allowSwipeToPrev&&w.params.grabCursor&&w.setGrabCursor()},w.unlockSwipeToPrev=function(){(w.params.allowSwipeToPrev=!0)===w.params.allowSwipeToNext&&w.params.grabCursor&&w.setGrabCursor()},w.unlockSwipes=function(){w.params.allowSwipeToNext=w.params.allowSwipeToPrev=!0,w.params.grabCursor&&w.setGrabCursor()},w.setGrabCursor=function(e){w.container[0].style.cursor="move",w.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",w.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",w.container[0].style.cursor=e?"grabbing":"grab"},w.unsetGrabCursor=function(){w.container[0].style.cursor=""},w.params.grabCursor&&w.setGrabCursor(),w.imagesToLoad=[],w.imagesLoaded=0,w.loadImage=function(e,t,i,n,s,r){var a;function o(){r&&r()}e.complete&&s?o():t?((a=new window.Image).onload=o,a.onerror=o,n&&(a.sizes=n),i&&(a.srcset=i),t&&(a.src=t)):o()},w.preloadImages=function(){function e(){null!=w&&w&&(void 0!==w.imagesLoaded&&w.imagesLoaded++,w.imagesLoaded===w.imagesToLoad.length&&(w.params.updateOnImagesReady&&w.update(),w.emit("onImagesReady",w)))}w.imagesToLoad=w.container.find("img");for(var t=0;t<w.imagesToLoad.length;t++)w.loadImage(w.imagesToLoad[t],w.imagesToLoad[t].currentSrc||w.imagesToLoad[t].getAttribute("src"),w.imagesToLoad[t].srcset||w.imagesToLoad[t].getAttribute("srcset"),w.imagesToLoad[t].sizes||w.imagesToLoad[t].getAttribute("sizes"),!0,e)},w.autoplayTimeoutId=void 0,w.autoplaying=!1,w.autoplayPaused=!1,w.startAutoplay=function(){return void 0===w.autoplayTimeoutId&&(!!w.params.autoplay&&(!w.autoplaying&&(w.autoplaying=!0,w.emit("onAutoplayStart",w),void b())))},w.stopAutoplay=function(e){w.autoplayTimeoutId&&(w.autoplayTimeoutId&&clearTimeout(w.autoplayTimeoutId),w.autoplaying=!1,w.autoplayTimeoutId=void 0,w.emit("onAutoplayStop",w))},w.pauseAutoplay=function(e){w.autoplayPaused||(w.autoplayTimeoutId&&clearTimeout(w.autoplayTimeoutId),w.autoplayPaused=!0,0===e?(w.autoplayPaused=!1,b()):w.wrapper.transitionEnd(function(){w&&(w.autoplayPaused=!1,w.autoplaying?b():w.stopAutoplay())}))},w.minTranslate=function(){return-w.snapGrid[0]},w.maxTranslate=function(){return-w.snapGrid[w.snapGrid.length-1]},w.updateAutoHeight=function(){var e,t=[],i=0;if("auto"!==w.params.slidesPerView&&1<w.params.slidesPerView)for(e=0;e<Math.ceil(w.params.slidesPerView);e++){var n=w.activeIndex+e;if(n>w.slides.length)break;t.push(w.slides.eq(n)[0])}else t.push(w.slides.eq(w.activeIndex)[0]);for(e=0;e<t.length;e++)if(void 0!==t[e]){var s=t[e].offsetHeight;i=i<s?s:i}i&&w.wrapper.css("height",i+"px")},w.updateContainerSize=function(){var e,t;e=void 0!==w.params.width?w.params.width:w.container[0].clientWidth,t=void 0!==w.params.height?w.params.height:w.container[0].clientHeight,0===e&&w.isHorizontal()||0===t&&!w.isHorizontal()||(e=e-parseInt(w.container.css("padding-left"),10)-parseInt(w.container.css("padding-right"),10),t=t-parseInt(w.container.css("padding-top"),10)-parseInt(w.container.css("padding-bottom"),10),w.width=e,w.height=t,w.size=w.isHorizontal()?w.width:w.height)},w.updateSlidesSize=function(){w.slides=w.wrapper.children("."+w.params.slideClass),w.snapGrid=[],w.slidesGrid=[],w.slidesSizesGrid=[];var e,t=w.params.spaceBetween,i=-w.params.slidesOffsetBefore,n=0,s=0;if(void 0!==w.size){var r,a;"string"==typeof t&&0<=t.indexOf("%")&&(t=parseFloat(t.replace("%",""))/100*w.size),w.virtualSize=-t,w.rtl?w.slides.css({marginLeft:"",marginTop:""}):w.slides.css({marginRight:"",marginBottom:""}),1<w.params.slidesPerColumn&&(r=Math.floor(w.slides.length/w.params.slidesPerColumn)===w.slides.length/w.params.slidesPerColumn?w.slides.length:Math.ceil(w.slides.length/w.params.slidesPerColumn)*w.params.slidesPerColumn,"auto"!==w.params.slidesPerView&&"row"===w.params.slidesPerColumnFill&&(r=Math.max(r,w.params.slidesPerView*w.params.slidesPerColumn)));var o,l=w.params.slidesPerColumn,c=r/l,d=c-(w.params.slidesPerColumn*c-w.slides.length);for(e=0;e<w.slides.length;e++){a=0;var p,u,h,f=w.slides.eq(e);if(1<w.params.slidesPerColumn)"column"===w.params.slidesPerColumnFill?(h=e-(u=Math.floor(e/l))*l,(d<u||u===d&&h===l-1)&&++h>=l&&(h=0,u++),p=u+h*r/l,f.css({"-webkit-box-ordinal-group":p,"-moz-box-ordinal-group":p,"-ms-flex-order":p,"-webkit-order":p,order:p})):u=e-(h=Math.floor(e/c))*c,f.css("margin-"+(w.isHorizontal()?"top":"left"),0!==h&&w.params.spaceBetween&&w.params.spaceBetween+"px").attr("data-swiper-column",u).attr("data-swiper-row",h);"none"!==f.css("display")&&("auto"===w.params.slidesPerView?(a=w.isHorizontal()?f.outerWidth(!0):f.outerHeight(!0),w.params.roundLengths&&(a=v(a))):(a=(w.size-(w.params.slidesPerView-1)*t)/w.params.slidesPerView,w.params.roundLengths&&(a=v(a)),w.isHorizontal()?w.slides[e].style.width=a+"px":w.slides[e].style.height=a+"px"),w.slides[e].swiperSlideSize=a,w.slidesSizesGrid.push(a),w.params.centeredSlides?(i=i+a/2+n/2+t,0===n&&0!==e&&(i=i-w.size/2-t),0===e&&(i=i-w.size/2-t),Math.abs(i)<.001&&(i=0),s%w.params.slidesPerGroup==0&&w.snapGrid.push(i),w.slidesGrid.push(i)):(s%w.params.slidesPerGroup==0&&w.snapGrid.push(i),w.slidesGrid.push(i),i=i+a+t),w.virtualSize+=a+t,n=a,s++)}if(w.virtualSize=Math.max(w.virtualSize,w.size)+w.params.slidesOffsetAfter,w.rtl&&w.wrongRTL&&("slide"===w.params.effect||"coverflow"===w.params.effect)&&w.wrapper.css({width:w.virtualSize+w.params.spaceBetween+"px"}),w.support.flexbox&&!w.params.setWrapperSize||(w.isHorizontal()?w.wrapper.css({width:w.virtualSize+w.params.spaceBetween+"px"}):w.wrapper.css({height:w.virtualSize+w.params.spaceBetween+"px"})),1<w.params.slidesPerColumn&&(w.virtualSize=(a+w.params.spaceBetween)*r,w.virtualSize=Math.ceil(w.virtualSize/w.params.slidesPerColumn)-w.params.spaceBetween,w.isHorizontal()?w.wrapper.css({width:w.virtualSize+w.params.spaceBetween+"px"}):w.wrapper.css({height:w.virtualSize+w.params.spaceBetween+"px"}),w.params.centeredSlides)){for(o=[],e=0;e<w.snapGrid.length;e++)w.snapGrid[e]<w.virtualSize+w.snapGrid[0]&&o.push(w.snapGrid[e]);w.snapGrid=o}if(!w.params.centeredSlides){for(o=[],e=0;e<w.snapGrid.length;e++)w.snapGrid[e]<=w.virtualSize-w.size&&o.push(w.snapGrid[e]);w.snapGrid=o,1<Math.floor(w.virtualSize-w.size)-Math.floor(w.snapGrid[w.snapGrid.length-1])&&w.snapGrid.push(w.virtualSize-w.size)}0===w.snapGrid.length&&(w.snapGrid=[0]),0!==w.params.spaceBetween&&(w.isHorizontal()?w.rtl?w.slides.css({marginLeft:t+"px"}):w.slides.css({marginRight:t+"px"}):w.slides.css({marginBottom:t+"px"})),w.params.watchSlidesProgress&&w.updateSlidesOffset()}},w.updateSlidesOffset=function(){for(var e=0;e<w.slides.length;e++)w.slides[e].swiperSlideOffset=w.isHorizontal()?w.slides[e].offsetLeft:w.slides[e].offsetTop},w.currentSlidesPerView=function(){var e,t,i=1;if(w.params.centeredSlides){var n,s=w.slides[w.activeIndex].swiperSlideSize;for(e=w.activeIndex+1;e<w.slides.length;e++)w.slides[e]&&!n&&(i++,(s+=w.slides[e].swiperSlideSize)>w.size&&(n=!0));for(t=w.activeIndex-1;0<=t;t--)w.slides[t]&&!n&&(i++,(s+=w.slides[t].swiperSlideSize)>w.size&&(n=!0))}else for(e=w.activeIndex+1;e<w.slides.length;e++)w.slidesGrid[e]-w.slidesGrid[w.activeIndex]<w.size&&i++;return i},w.updateSlidesProgress=function(e){if(void 0===e&&(e=w.translate||0),0!==w.slides.length){void 0===w.slides[0].swiperSlideOffset&&w.updateSlidesOffset();var t=-e;w.rtl&&(t=e),w.slides.removeClass(w.params.slideVisibleClass);for(var i=0;i<w.slides.length;i++){var n=w.slides[i],s=(t+(w.params.centeredSlides?w.minTranslate():0)-n.swiperSlideOffset)/(n.swiperSlideSize+w.params.spaceBetween);if(w.params.watchSlidesVisibility){var r=-(t-n.swiperSlideOffset),a=r+w.slidesSizesGrid[i];(0<=r&&r<w.size||0<a&&a<=w.size||r<=0&&a>=w.size)&&w.slides.eq(i).addClass(w.params.slideVisibleClass)}n.progress=w.rtl?-s:s}}},w.updateProgress=function(e){void 0===e&&(e=w.translate||0);var t=w.maxTranslate()-w.minTranslate(),i=w.isBeginning,n=w.isEnd;0===t?(w.progress=0,w.isBeginning=w.isEnd=!0):(w.progress=(e-w.minTranslate())/t,w.isBeginning=w.progress<=0,w.isEnd=1<=w.progress),w.isBeginning&&!i&&w.emit("onReachBeginning",w),w.isEnd&&!n&&w.emit("onReachEnd",w),w.params.watchSlidesProgress&&w.updateSlidesProgress(e),w.emit("onProgress",w,w.progress)},w.updateActiveIndex=function(){var e,t,i,n=w.rtl?w.translate:-w.translate;for(t=0;t<w.slidesGrid.length;t++)void 0!==w.slidesGrid[t+1]?n>=w.slidesGrid[t]&&n<w.slidesGrid[t+1]-(w.slidesGrid[t+1]-w.slidesGrid[t])/2?e=t:n>=w.slidesGrid[t]&&n<w.slidesGrid[t+1]&&(e=t+1):n>=w.slidesGrid[t]&&(e=t);w.params.normalizeSlideIndex&&(e<0||void 0===e)&&(e=0),(i=Math.floor(e/w.params.slidesPerGroup))>=w.snapGrid.length&&(i=w.snapGrid.length-1),e!==w.activeIndex&&(w.snapIndex=i,w.previousIndex=w.activeIndex,w.activeIndex=e,w.updateClasses(),w.updateRealIndex())},w.updateRealIndex=function(){w.realIndex=parseInt(w.slides.eq(w.activeIndex).attr("data-swiper-slide-index")||w.activeIndex,10)},w.updateClasses=function(){w.slides.removeClass(w.params.slideActiveClass+" "+w.params.slideNextClass+" "+w.params.slidePrevClass+" "+w.params.slideDuplicateActiveClass+" "+w.params.slideDuplicateNextClass+" "+w.params.slideDuplicatePrevClass);var e=w.slides.eq(w.activeIndex);e.addClass(w.params.slideActiveClass),l.loop&&(e.hasClass(w.params.slideDuplicateClass)?w.wrapper.children("."+w.params.slideClass+":not(."+w.params.slideDuplicateClass+')[data-swiper-slide-index="'+w.realIndex+'"]').addClass(w.params.slideDuplicateActiveClass):w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass+'[data-swiper-slide-index="'+w.realIndex+'"]').addClass(w.params.slideDuplicateActiveClass));var t=e.next("."+w.params.slideClass).addClass(w.params.slideNextClass);w.params.loop&&0===t.length&&(t=w.slides.eq(0)).addClass(w.params.slideNextClass);var i=e.prev("."+w.params.slideClass).addClass(w.params.slidePrevClass);if(w.params.loop&&0===i.length&&(i=w.slides.eq(-1)).addClass(w.params.slidePrevClass),l.loop&&(t.hasClass(w.params.slideDuplicateClass)?w.wrapper.children("."+w.params.slideClass+":not(."+w.params.slideDuplicateClass+')[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addClass(w.params.slideDuplicateNextClass):w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass+'[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addClass(w.params.slideDuplicateNextClass),i.hasClass(w.params.slideDuplicateClass)?w.wrapper.children("."+w.params.slideClass+":not(."+w.params.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(w.params.slideDuplicatePrevClass):w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(w.params.slideDuplicatePrevClass)),w.paginationContainer&&0<w.paginationContainer.length){var n,s=w.params.loop?Math.ceil((w.slides.length-2*w.loopedSlides)/w.params.slidesPerGroup):w.snapGrid.length;if(w.params.loop?((n=Math.ceil((w.activeIndex-w.loopedSlides)/w.params.slidesPerGroup))>w.slides.length-1-2*w.loopedSlides&&(n-=w.slides.length-2*w.loopedSlides),s-1<n&&(n-=s),n<0&&"bullets"!==w.params.paginationType&&(n=s+n)):n=void 0!==w.snapIndex?w.snapIndex:w.activeIndex||0,"bullets"===w.params.paginationType&&w.bullets&&0<w.bullets.length&&(w.bullets.removeClass(w.params.bulletActiveClass),1<w.paginationContainer.length?w.bullets.each(function(){L(this).index()===n&&L(this).addClass(w.params.bulletActiveClass)}):w.bullets.eq(n).addClass(w.params.bulletActiveClass)),"fraction"===w.params.paginationType&&(w.paginationContainer.find("."+w.params.paginationCurrentClass).text(n+1),w.paginationContainer.find("."+w.params.paginationTotalClass).text(s)),"progress"===w.params.paginationType){var r=(n+1)/s,a=r,o=1;w.isHorizontal()||(o=r,a=1),w.paginationContainer.find("."+w.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+a+") scaleY("+o+")").transition(w.params.speed)}"custom"===w.params.paginationType&&w.params.paginationCustomRender&&(w.paginationContainer.html(w.params.paginationCustomRender(w,n+1,s)),w.emit("onPaginationRendered",w,w.paginationContainer[0]))}w.params.loop||(w.params.prevButton&&w.prevButton&&0<w.prevButton.length&&(w.isBeginning?(w.prevButton.addClass(w.params.buttonDisabledClass),w.params.a11y&&w.a11y&&w.a11y.disable(w.prevButton)):(w.prevButton.removeClass(w.params.buttonDisabledClass),w.params.a11y&&w.a11y&&w.a11y.enable(w.prevButton))),w.params.nextButton&&w.nextButton&&0<w.nextButton.length&&(w.isEnd?(w.nextButton.addClass(w.params.buttonDisabledClass),w.params.a11y&&w.a11y&&w.a11y.disable(w.nextButton)):(w.nextButton.removeClass(w.params.buttonDisabledClass),w.params.a11y&&w.a11y&&w.a11y.enable(w.nextButton))))},w.updatePagination=function(){if(w.params.pagination&&w.paginationContainer&&0<w.paginationContainer.length){var e="";if("bullets"===w.params.paginationType){for(var t=w.params.loop?Math.ceil((w.slides.length-2*w.loopedSlides)/w.params.slidesPerGroup):w.snapGrid.length,i=0;i<t;i++)w.params.paginationBulletRender?e+=w.params.paginationBulletRender(w,i,w.params.bulletClass):e+="<"+w.params.paginationElement+' class="'+w.params.bulletClass+'"></'+w.params.paginationElement+">";w.paginationContainer.html(e),w.bullets=w.paginationContainer.find("."+w.params.bulletClass),w.params.paginationClickable&&w.params.a11y&&w.a11y&&w.a11y.initPagination()}"fraction"===w.params.paginationType&&(e=w.params.paginationFractionRender?w.params.paginationFractionRender(w,w.params.paginationCurrentClass,w.params.paginationTotalClass):'<span class="'+w.params.paginationCurrentClass+'"></span> / <span class="'+w.params.paginationTotalClass+'"></span>',w.paginationContainer.html(e)),"progress"===w.params.paginationType&&(e=w.params.paginationProgressRender?w.params.paginationProgressRender(w,w.params.paginationProgressbarClass):'<span class="'+w.params.paginationProgressbarClass+'"></span>',w.paginationContainer.html(e)),"custom"!==w.params.paginationType&&w.emit("onPaginationRendered",w,w.paginationContainer[0])}},w.update=function(e){var t;w&&(w.updateContainerSize(),w.updateSlidesSize(),w.updateProgress(),w.updatePagination(),w.updateClasses(),w.params.scrollbar&&w.scrollbar&&w.scrollbar.set(),e?(w.controller&&w.controller.spline&&(w.controller.spline=void 0),w.params.freeMode?(i(),w.params.autoHeight&&w.updateAutoHeight()):(("auto"===w.params.slidesPerView||1<w.params.slidesPerView)&&w.isEnd&&!w.params.centeredSlides?w.slideTo(w.slides.length-1,0,!1,!0):w.slideTo(w.activeIndex,0,!1,!0))||i()):w.params.autoHeight&&w.updateAutoHeight());function i(){w.rtl,w.translate;t=Math.min(Math.max(w.translate,w.maxTranslate()),w.minTranslate()),w.setWrapperTranslate(t),w.updateActiveIndex(),w.updateClasses()}},w.onResize=function(e){w.params.onBeforeResize&&w.params.onBeforeResize(w),w.params.breakpoints&&w.setBreakpoint();var t=w.params.allowSwipeToPrev,i=w.params.allowSwipeToNext;w.params.allowSwipeToPrev=w.params.allowSwipeToNext=!0,w.updateContainerSize(),w.updateSlidesSize(),("auto"===w.params.slidesPerView||w.params.freeMode||e)&&w.updatePagination(),w.params.scrollbar&&w.scrollbar&&w.scrollbar.set(),w.controller&&w.controller.spline&&(w.controller.spline=void 0);var n=!1;if(w.params.freeMode){var s=Math.min(Math.max(w.translate,w.maxTranslate()),w.minTranslate());w.setWrapperTranslate(s),w.updateActiveIndex(),w.updateClasses(),w.params.autoHeight&&w.updateAutoHeight()}else w.updateClasses(),n=("auto"===w.params.slidesPerView||1<w.params.slidesPerView)&&w.isEnd&&!w.params.centeredSlides?w.slideTo(w.slides.length-1,0,!1,!0):w.slideTo(w.activeIndex,0,!1,!0);w.params.lazyLoading&&!n&&w.lazy&&w.lazy.load(),w.params.allowSwipeToPrev=t,w.params.allowSwipeToNext=i,w.params.onAfterResize&&w.params.onAfterResize(w)},w.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?w.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(w.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),w.touchEvents={start:w.support.touch||!w.params.simulateTouch?"touchstart":w.touchEventsDesktop.start,move:w.support.touch||!w.params.simulateTouch?"touchmove":w.touchEventsDesktop.move,end:w.support.touch||!w.params.simulateTouch?"touchend":w.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===w.params.touchEventsTarget?w.container:w.wrapper).addClass("swiper-wp8-"+w.params.direction),w.initEvents=function(e){var t=e?"off":"on",i=e?"removeEventListener":"addEventListener",n="container"===w.params.touchEventsTarget?w.container[0]:w.wrapper[0],s=w.support.touch?n:document,r=!!w.params.nested;if(w.browser.ie)n[i](w.touchEvents.start,w.onTouchStart,!1),s[i](w.touchEvents.move,w.onTouchMove,r),s[i](w.touchEvents.end,w.onTouchEnd,!1);else{if(w.support.touch){var a=!("touchstart"!==w.touchEvents.start||!w.support.passiveListener||!w.params.passiveListeners)&&{passive:!0,capture:!1};n[i](w.touchEvents.start,w.onTouchStart,a),n[i](w.touchEvents.move,w.onTouchMove,r),n[i](w.touchEvents.end,w.onTouchEnd,a)}(l.simulateTouch&&!w.device.ios&&!w.device.android||l.simulateTouch&&!w.support.touch&&w.device.ios)&&(n[i]("mousedown",w.onTouchStart,!1),document[i]("mousemove",w.onTouchMove,r),document[i]("mouseup",w.onTouchEnd,!1))}window[i]("resize",w.onResize),w.params.nextButton&&w.nextButton&&0<w.nextButton.length&&(w.nextButton[t]("click",w.onClickNext),w.params.a11y&&w.a11y&&w.nextButton[t]("keydown",w.a11y.onEnterKey)),w.params.prevButton&&w.prevButton&&0<w.prevButton.length&&(w.prevButton[t]("click",w.onClickPrev),w.params.a11y&&w.a11y&&w.prevButton[t]("keydown",w.a11y.onEnterKey)),w.params.pagination&&w.params.paginationClickable&&(w.paginationContainer[t]("click","."+w.params.bulletClass,w.onClickIndex),w.params.a11y&&w.a11y&&w.paginationContainer[t]("keydown","."+w.params.bulletClass,w.a11y.onEnterKey)),(w.params.preventClicks||w.params.preventClicksPropagation)&&n[i]("click",w.preventClicks,!0)},w.attachEvents=function(){w.initEvents()},w.detachEvents=function(){w.initEvents(!0)},w.allowClick=!0,w.preventClicks=function(e){w.allowClick||(w.params.preventClicks&&e.preventDefault(),w.params.preventClicksPropagation&&w.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},w.onClickNext=function(e){e.preventDefault(),w.isEnd&&!w.params.loop||w.slideNext()},w.onClickPrev=function(e){e.preventDefault(),w.isBeginning&&!w.params.loop||w.slidePrev()},w.onClickIndex=function(e){e.preventDefault();var t=L(this).index()*w.params.slidesPerGroup;w.params.loop&&(t+=w.loopedSlides),w.slideTo(t)},w.updateClickedSlide=function(e){var t=y(e,"."+w.params.slideClass),i=!1;if(t)for(var n=0;n<w.slides.length;n++)w.slides[n]===t&&(i=!0);if(!t||!i)return w.clickedSlide=void 0,void(w.clickedIndex=void 0);if(w.clickedSlide=t,w.clickedIndex=L(t).index(),w.params.slideToClickedSlide&&void 0!==w.clickedIndex&&w.clickedIndex!==w.activeIndex){var s,r=w.clickedIndex,a="auto"===w.params.slidesPerView?w.currentSlidesPerView():w.params.slidesPerView;if(w.params.loop){if(w.animating)return;s=parseInt(L(w.clickedSlide).attr("data-swiper-slide-index"),10),w.params.centeredSlides?r<w.loopedSlides-a/2||r>w.slides.length-w.loopedSlides+a/2?(w.fixLoop(),r=w.wrapper.children("."+w.params.slideClass+'[data-swiper-slide-index="'+s+'"]:not(.'+w.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){w.slideTo(r)},0)):w.slideTo(r):r>w.slides.length-a?(w.fixLoop(),r=w.wrapper.children("."+w.params.slideClass+'[data-swiper-slide-index="'+s+'"]:not(.'+w.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){w.slideTo(r)},0)):w.slideTo(r)}else w.slideTo(r)}};var _,x,T,C,d,S,k,p,E,N,u,h,f="input, select, textarea, button, video",M=Date.now(),$=[];for(var m in w.animating=!1,w.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},w.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),(u="touchstart"===e.type)||!("which"in e)||3!==e.which)if(w.params.noSwiping&&y(e,"."+w.params.noSwipingClass))w.allowClick=!0;else if(!w.params.swipeHandler||y(e,w.params.swipeHandler)){var t=w.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i=w.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY;if(!(w.device.ios&&w.params.iOSEdgeSwipeDetection&&t<=w.params.iOSEdgeSwipeThreshold)){if(T=!(x=!(_=!0)),h=d=void 0,w.touches.startX=t,w.touches.startY=i,C=Date.now(),w.allowClick=!0,w.updateContainerSize(),w.swipeDirection=void 0,0<w.params.threshold&&(p=!1),"touchstart"!==e.type){var n=!0;L(e.target).is(f)&&(n=!1),document.activeElement&&L(document.activeElement).is(f)&&document.activeElement.blur(),n&&e.preventDefault()}w.emit("onTouchStart",w,e)}}},w.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!u||"mousemove"!==e.type){if(e.preventedByNestedSwiper)return w.touches.startX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,void(w.touches.startY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY);if(w.params.onlyExternal)return w.allowClick=!1,void(_&&(w.touches.startX=w.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,w.touches.startY=w.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,C=Date.now()));if(u&&w.params.touchReleaseOnEdges&&!w.params.loop)if(w.isHorizontal()){if(w.touches.currentX<w.touches.startX&&w.translate<=w.maxTranslate()||w.touches.currentX>w.touches.startX&&w.translate>=w.minTranslate())return}else if(w.touches.currentY<w.touches.startY&&w.translate<=w.maxTranslate()||w.touches.currentY>w.touches.startY&&w.translate>=w.minTranslate())return;if(u&&document.activeElement&&e.target===document.activeElement&&L(e.target).is(f))return x=!0,void(w.allowClick=!1);if(T&&w.emit("onTouchMove",w,e),!(e.targetTouches&&1<e.targetTouches.length)){var t;if(w.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,w.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,void 0===d)d=!(w.isHorizontal()&&w.touches.currentY===w.touches.startY||!w.isHorizontal()&&w.touches.currentX===w.touches.startX)&&(t=180*Math.atan2(Math.abs(w.touches.currentY-w.touches.startY),Math.abs(w.touches.currentX-w.touches.startX))/Math.PI,w.isHorizontal()?t>w.params.touchAngle:90-t>w.params.touchAngle);if(d&&w.emit("onTouchMoveOpposite",w,e),void 0===h&&(w.touches.currentX===w.touches.startX&&w.touches.currentY===w.touches.startY||(h=!0)),_)if(d)_=!1;else if(h){w.allowClick=!1,w.emit("onSliderMove",w,e),e.preventDefault(),w.params.touchMoveStopPropagation&&!w.params.nested&&e.stopPropagation(),x||(l.loop&&w.fixLoop(),k=w.getWrapperTranslate(),w.setWrapperTransition(0),w.animating&&w.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),w.params.autoplay&&w.autoplaying&&(w.params.autoplayDisableOnInteraction?w.stopAutoplay():w.pauseAutoplay()),N=!1,!w.params.grabCursor||!0!==w.params.allowSwipeToNext&&!0!==w.params.allowSwipeToPrev||w.setGrabCursor(!0)),x=!0;var i=w.touches.diff=w.isHorizontal()?w.touches.currentX-w.touches.startX:w.touches.currentY-w.touches.startY;i*=w.params.touchRatio,w.rtl&&(i=-i),w.swipeDirection=0<i?"prev":"next",S=i+k;var n=!0;if(0<i&&S>w.minTranslate()?(n=!1,w.params.resistance&&(S=w.minTranslate()-1+Math.pow(-w.minTranslate()+k+i,w.params.resistanceRatio))):i<0&&S<w.maxTranslate()&&(n=!1,w.params.resistance&&(S=w.maxTranslate()+1-Math.pow(w.maxTranslate()-k-i,w.params.resistanceRatio))),n&&(e.preventedByNestedSwiper=!0),!w.params.allowSwipeToNext&&"next"===w.swipeDirection&&S<k&&(S=k),!w.params.allowSwipeToPrev&&"prev"===w.swipeDirection&&k<S&&(S=k),0<w.params.threshold){if(!(Math.abs(i)>w.params.threshold||p))return void(S=k);if(!p)return p=!0,w.touches.startX=w.touches.currentX,w.touches.startY=w.touches.currentY,S=k,void(w.touches.diff=w.isHorizontal()?w.touches.currentX-w.touches.startX:w.touches.currentY-w.touches.startY)}w.params.followFinger&&((w.params.freeMode||w.params.watchSlidesProgress)&&w.updateActiveIndex(),w.params.freeMode&&(0===$.length&&$.push({position:w.touches[w.isHorizontal()?"startX":"startY"],time:C}),$.push({position:w.touches[w.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),w.updateProgress(S),w.setWrapperTranslate(S))}}}},w.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),T&&w.emit("onTouchEnd",w,e),T=!1,_){w.params.grabCursor&&x&&_&&(!0===w.params.allowSwipeToNext||!0===w.params.allowSwipeToPrev)&&w.setGrabCursor(!1);var t,i=Date.now(),n=i-C;if(w.allowClick&&(w.updateClickedSlide(e),w.emit("onTap",w,e),n<300&&300<i-M&&(E&&clearTimeout(E),E=setTimeout(function(){w&&(w.params.paginationHide&&0<w.paginationContainer.length&&!L(e.target).hasClass(w.params.bulletClass)&&w.paginationContainer.toggleClass(w.params.paginationHiddenClass),w.emit("onClick",w,e))},300)),n<300&&i-M<300&&(E&&clearTimeout(E),w.emit("onDoubleTap",w,e))),M=Date.now(),setTimeout(function(){w&&(w.allowClick=!0)},0),_&&x&&w.swipeDirection&&0!==w.touches.diff&&S!==k)if(_=x=!1,t=w.params.followFinger?w.rtl?w.translate:-w.translate:-S,w.params.freeMode){if(t<-w.minTranslate())return void w.slideTo(w.activeIndex);if(t>-w.maxTranslate())return void(w.slides.length<w.snapGrid.length?w.slideTo(w.snapGrid.length-1):w.slideTo(w.slides.length-1));if(w.params.freeModeMomentum){if(1<$.length){var s=$.pop(),r=$.pop(),a=s.position-r.position,o=s.time-r.time;w.velocity=a/o,w.velocity=w.velocity/2,Math.abs(w.velocity)<w.params.freeModeMinimumVelocity&&(w.velocity=0),(150<o||300<(new window.Date).getTime()-s.time)&&(w.velocity=0)}else w.velocity=0;w.velocity=w.velocity*w.params.freeModeMomentumVelocityRatio,$.length=0;var l=1e3*w.params.freeModeMomentumRatio,c=w.velocity*l,d=w.translate+c;w.rtl&&(d=-d);var p,u=!1,h=20*Math.abs(w.velocity)*w.params.freeModeMomentumBounceRatio;if(d<w.maxTranslate())w.params.freeModeMomentumBounce?(d+w.maxTranslate()<-h&&(d=w.maxTranslate()-h),p=w.maxTranslate(),N=u=!0):d=w.maxTranslate();else if(d>w.minTranslate())w.params.freeModeMomentumBounce?(d-w.minTranslate()>h&&(d=w.minTranslate()+h),p=w.minTranslate(),N=u=!0):d=w.minTranslate();else if(w.params.freeModeSticky){var f,m=0;for(m=0;m<w.snapGrid.length;m+=1)if(w.snapGrid[m]>-d){f=m;break}d=Math.abs(w.snapGrid[f]-d)<Math.abs(w.snapGrid[f-1]-d)||"next"===w.swipeDirection?w.snapGrid[f]:w.snapGrid[f-1],w.rtl||(d=-d)}if(0!==w.velocity)l=w.rtl?Math.abs((-d-w.translate)/w.velocity):Math.abs((d-w.translate)/w.velocity);else if(w.params.freeModeSticky)return void w.slideReset();w.params.freeModeMomentumBounce&&u?(w.updateProgress(p),w.setWrapperTransition(l),w.setWrapperTranslate(d),w.onTransitionStart(),w.animating=!0,w.wrapper.transitionEnd(function(){w&&N&&(w.emit("onMomentumBounce",w),w.setWrapperTransition(w.params.speed),w.setWrapperTranslate(p),w.wrapper.transitionEnd(function(){w&&w.onTransitionEnd()}))})):w.velocity?(w.updateProgress(d),w.setWrapperTransition(l),w.setWrapperTranslate(d),w.onTransitionStart(),w.animating||(w.animating=!0,w.wrapper.transitionEnd(function(){w&&w.onTransitionEnd()}))):w.updateProgress(d),w.updateActiveIndex()}(!w.params.freeModeMomentum||n>=w.params.longSwipesMs)&&(w.updateProgress(),w.updateActiveIndex())}else{var g,v=0,b=w.slidesSizesGrid[0];for(g=0;g<w.slidesGrid.length;g+=w.params.slidesPerGroup)void 0!==w.slidesGrid[g+w.params.slidesPerGroup]?t>=w.slidesGrid[g]&&t<w.slidesGrid[g+w.params.slidesPerGroup]&&(v=g,b=w.slidesGrid[g+w.params.slidesPerGroup]-w.slidesGrid[g]):t>=w.slidesGrid[g]&&(v=g,b=w.slidesGrid[w.slidesGrid.length-1]-w.slidesGrid[w.slidesGrid.length-2]);var y=(t-w.slidesGrid[v])/b;if(n>w.params.longSwipesMs){if(!w.params.longSwipes)return void w.slideTo(w.activeIndex);"next"===w.swipeDirection&&(y>=w.params.longSwipesRatio?w.slideTo(v+w.params.slidesPerGroup):w.slideTo(v)),"prev"===w.swipeDirection&&(y>1-w.params.longSwipesRatio?w.slideTo(v+w.params.slidesPerGroup):w.slideTo(v))}else{if(!w.params.shortSwipes)return void w.slideTo(w.activeIndex);"next"===w.swipeDirection&&w.slideTo(v+w.params.slidesPerGroup),"prev"===w.swipeDirection&&w.slideTo(v)}}else _=x=!1}},w._slideTo=function(e,t){return w.slideTo(e,t,!0,!0)},w.slideTo=function(e,t,i,n){void 0===i&&(i=!0),void 0===e&&(e=0),e<0&&(e=0),w.snapIndex=Math.floor(e/w.params.slidesPerGroup),w.snapIndex>=w.snapGrid.length&&(w.snapIndex=w.snapGrid.length-1);var s=-w.snapGrid[w.snapIndex];if(w.params.autoplay&&w.autoplaying&&(n||!w.params.autoplayDisableOnInteraction?w.pauseAutoplay(t):w.stopAutoplay()),w.updateProgress(s),w.params.normalizeSlideIndex)for(var r=0;r<w.slidesGrid.length;r++)-Math.floor(100*s)>=Math.floor(100*w.slidesGrid[r])&&(e=r);return!(!w.params.allowSwipeToNext&&s<w.translate&&s<w.minTranslate())&&(!(!w.params.allowSwipeToPrev&&s>w.translate&&s>w.maxTranslate()&&(w.activeIndex||0)!==e)&&(void 0===t&&(t=w.params.speed),w.previousIndex=w.activeIndex||0,w.activeIndex=e,w.updateRealIndex(),w.rtl&&-s===w.translate||!w.rtl&&s===w.translate?(w.params.autoHeight&&w.updateAutoHeight(),w.updateClasses(),"slide"!==w.params.effect&&w.setWrapperTranslate(s),!1):(w.updateClasses(),w.onTransitionStart(i),0===t||w.browser.lteIE9?(w.setWrapperTranslate(s),w.setWrapperTransition(0),w.onTransitionEnd(i)):(w.setWrapperTranslate(s),w.setWrapperTransition(t),w.animating||(w.animating=!0,w.wrapper.transitionEnd(function(){w&&w.onTransitionEnd(i)}))),!0)))},w.onTransitionStart=function(e){void 0===e&&(e=!0),w.params.autoHeight&&w.updateAutoHeight(),w.lazy&&w.lazy.onTransitionStart(),e&&(w.emit("onTransitionStart",w),w.activeIndex!==w.previousIndex&&(w.emit("onSlideChangeStart",w),w.activeIndex>w.previousIndex?w.emit("onSlideNextStart",w):w.emit("onSlidePrevStart",w)))},w.onTransitionEnd=function(e){w.animating=!1,w.setWrapperTransition(0),void 0===e&&(e=!0),w.lazy&&w.lazy.onTransitionEnd(),e&&(w.emit("onTransitionEnd",w),w.activeIndex!==w.previousIndex&&(w.emit("onSlideChangeEnd",w),w.activeIndex>w.previousIndex?w.emit("onSlideNextEnd",w):w.emit("onSlidePrevEnd",w))),w.params.history&&w.history&&w.history.setHistory(w.params.history,w.activeIndex),w.params.hashnav&&w.hashnav&&w.hashnav.setHash()},w.slideNext=function(e,t,i){if(w.params.loop){if(w.animating)return!1;w.fixLoop();w.container[0].clientLeft;return w.slideTo(w.activeIndex+w.params.slidesPerGroup,t,e,i)}return w.slideTo(w.activeIndex+w.params.slidesPerGroup,t,e,i)},w._slideNext=function(e){return w.slideNext(!0,e,!0)},w.slidePrev=function(e,t,i){if(w.params.loop){if(w.animating)return!1;w.fixLoop();w.container[0].clientLeft;return w.slideTo(w.activeIndex-1,t,e,i)}return w.slideTo(w.activeIndex-1,t,e,i)},w._slidePrev=function(e){return w.slidePrev(!0,e,!0)},w.slideReset=function(e,t,i){return w.slideTo(w.activeIndex,t,e)},w.disableTouchControl=function(){return w.params.onlyExternal=!0},w.enableTouchControl=function(){return!(w.params.onlyExternal=!1)},w.setWrapperTransition=function(e,t){w.wrapper.transition(e),"slide"!==w.params.effect&&w.effects[w.params.effect]&&w.effects[w.params.effect].setTransition(e),w.params.parallax&&w.parallax&&w.parallax.setTransition(e),w.params.scrollbar&&w.scrollbar&&w.scrollbar.setTransition(e),w.params.control&&w.controller&&w.controller.setTransition(e,t),w.emit("onSetTransition",w,e)},w.setWrapperTranslate=function(e,t,i){var n=0,s=0;w.isHorizontal()?n=w.rtl?-e:e:s=e,w.params.roundLengths&&(n=v(n),s=v(s)),w.params.virtualTranslate||(w.support.transforms3d?w.wrapper.transform("translate3d("+n+"px, "+s+"px, 0px)"):w.wrapper.transform("translate("+n+"px, "+s+"px)")),w.translate=w.isHorizontal()?n:s;var r=w.maxTranslate()-w.minTranslate();(0===r?0:(e-w.minTranslate())/r)!==w.progress&&w.updateProgress(e),t&&w.updateActiveIndex(),"slide"!==w.params.effect&&w.effects[w.params.effect]&&w.effects[w.params.effect].setTranslate(w.translate),w.params.parallax&&w.parallax&&w.parallax.setTranslate(w.translate),w.params.scrollbar&&w.scrollbar&&w.scrollbar.setTranslate(w.translate),w.params.control&&w.controller&&w.controller.setTranslate(w.translate,i),w.emit("onSetTranslate",w,w.translate)},w.getTranslate=function(e,t){var i,n,s,r;return void 0===t&&(t="x"),w.params.virtualTranslate?w.rtl?-w.translate:w.translate:(s=window.getComputedStyle(e,null),window.WebKitCSSMatrix?(6<(n=s.transform||s.webkitTransform).split(",").length&&(n=n.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new window.WebKitCSSMatrix("none"===n?"":n)):i=(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=window.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=window.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),w.rtl&&n&&(n=-n),n||0)},w.getWrapperTranslate=function(e){return void 0===e&&(e=w.isHorizontal()?"x":"y"),w.getTranslate(w.wrapper[0],e)},w.observers=[],w.initObservers=function(){if(w.params.observeParents)for(var e=w.container.parents(),t=0;t<e.length;t++)I(e[t]);I(w.container[0],{childList:!1}),I(w.wrapper[0],{attributes:!1})},w.disconnectObservers=function(){for(var e=0;e<w.observers.length;e++)w.observers[e].disconnect();w.observers=[]},w.createLoop=function(){w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass).remove();var n=w.wrapper.children("."+w.params.slideClass);"auto"!==w.params.slidesPerView||w.params.loopedSlides||(w.params.loopedSlides=n.length),w.loopedSlides=parseInt(w.params.loopedSlides||w.params.slidesPerView,10),w.loopedSlides=w.loopedSlides+w.params.loopAdditionalSlides,w.loopedSlides>n.length&&(w.loopedSlides=n.length);var e,s=[],r=[];for(n.each(function(e,t){var i=L(this);e<w.loopedSlides&&r.push(t),e<n.length&&e>=n.length-w.loopedSlides&&s.push(t),i.attr("data-swiper-slide-index",e)}),e=0;e<r.length;e++)w.wrapper.append(L(r[e].cloneNode(!0)).addClass(w.params.slideDuplicateClass));for(e=s.length-1;0<=e;e--)w.wrapper.prepend(L(s[e].cloneNode(!0)).addClass(w.params.slideDuplicateClass))},w.destroyLoop=function(){w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass).remove(),w.slides.removeAttr("data-swiper-slide-index")},w.reLoop=function(e){var t=w.activeIndex-w.loopedSlides;w.destroyLoop(),w.createLoop(),w.updateSlidesSize(),e&&w.slideTo(t+w.loopedSlides,0,!1)},w.fixLoop=function(){var e;w.activeIndex<w.loopedSlides?(e=w.slides.length-3*w.loopedSlides+w.activeIndex,e+=w.loopedSlides,w.slideTo(e,0,!1,!0)):("auto"===w.params.slidesPerView&&w.activeIndex>=2*w.loopedSlides||w.activeIndex>w.slides.length-2*w.params.slidesPerView)&&(e=-w.slides.length+w.activeIndex+w.loopedSlides,e+=w.loopedSlides,w.slideTo(e,0,!1,!0))},w.appendSlide=function(e){if(w.params.loop&&w.destroyLoop(),"object"==typeof e&&e.length)for(var t=0;t<e.length;t++)e[t]&&w.wrapper.append(e[t]);else w.wrapper.append(e);w.params.loop&&w.createLoop(),w.params.observer&&w.support.observer||w.update(!0)},w.prependSlide=function(e){w.params.loop&&w.destroyLoop();var t=w.activeIndex+1;if("object"==typeof e&&e.length){for(var i=0;i<e.length;i++)e[i]&&w.wrapper.prepend(e[i]);t=w.activeIndex+e.length}else w.wrapper.prepend(e);w.params.loop&&w.createLoop(),w.params.observer&&w.support.observer||w.update(!0),w.slideTo(t,0,!1)},w.removeSlide=function(e){w.params.loop&&(w.destroyLoop(),w.slides=w.wrapper.children("."+w.params.slideClass));var t,i=w.activeIndex;if("object"==typeof e&&e.length){for(var n=0;n<e.length;n++)t=e[n],w.slides[t]&&w.slides.eq(t).remove(),t<i&&i--;i=Math.max(i,0)}else t=e,w.slides[t]&&w.slides.eq(t).remove(),t<i&&i--,i=Math.max(i,0);w.params.loop&&w.createLoop(),w.params.observer&&w.support.observer||w.update(!0),w.params.loop?w.slideTo(i+w.loopedSlides,0,!1):w.slideTo(i,0,!1)},w.removeAllSlides=function(){for(var e=[],t=0;t<w.slides.length;t++)e.push(t);w.removeSlide(e)},w.effects={fade:{setTranslate:function(){for(var e=0;e<w.slides.length;e++){var t=w.slides.eq(e),i=-t[0].swiperSlideOffset;w.params.virtualTranslate||(i-=w.translate);var n=0;w.isHorizontal()||(n=i,i=0);var s=w.params.fade.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:s}).transform("translate3d("+i+"px, "+n+"px, 0px)")}},setTransition:function(e){if(w.slides.transition(e),w.params.virtualTranslate&&0!==e){var i=!1;w.slides.transitionEnd(function(){if(!i&&w){i=!0,w.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],t=0;t<e.length;t++)w.wrapper.trigger(e[t])}})}}},flip:{setTranslate:function(){for(var e=0;e<w.slides.length;e++){var t=w.slides.eq(e),i=t[0].progress;w.params.flip.limitRotation&&(i=Math.max(Math.min(t[0].progress,1),-1));var n=-180*i,s=0,r=-t[0].swiperSlideOffset,a=0;if(w.isHorizontal()?w.rtl&&(n=-n):(a=r,s=-n,n=r=0),t[0].style.zIndex=-Math.abs(Math.round(i))+w.slides.length,w.params.flip.slideShadows){var o=w.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),l=w.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===o.length&&(o=L('<div class="swiper-slide-shadow-'+(w.isHorizontal()?"left":"top")+'"></div>'),t.append(o)),0===l.length&&(l=L('<div class="swiper-slide-shadow-'+(w.isHorizontal()?"right":"bottom")+'"></div>'),t.append(l)),o.length&&(o[0].style.opacity=Math.max(-i,0)),l.length&&(l[0].style.opacity=Math.max(i,0))}t.transform("translate3d("+r+"px, "+a+"px, 0px) rotateX("+s+"deg) rotateY("+n+"deg)")}},setTransition:function(e){if(w.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),w.params.virtualTranslate&&0!==e){var i=!1;w.slides.eq(w.activeIndex).transitionEnd(function(){if(!i&&w&&L(this).hasClass(w.params.slideActiveClass)){i=!0,w.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],t=0;t<e.length;t++)w.wrapper.trigger(e[t])}})}}},cube:{setTranslate:function(){var e,t=0;w.params.cube.shadow&&(w.isHorizontal()?(0===(e=w.wrapper.find(".swiper-cube-shadow")).length&&(e=L('<div class="swiper-cube-shadow"></div>'),w.wrapper.append(e)),e.css({height:w.width+"px"})):0===(e=w.container.find(".swiper-cube-shadow")).length&&(e=L('<div class="swiper-cube-shadow"></div>'),w.container.append(e)));for(var i=0;i<w.slides.length;i++){var n=w.slides.eq(i),s=90*i,r=Math.floor(s/360);w.rtl&&(s=-s,r=Math.floor(-s/360));var a=Math.max(Math.min(n[0].progress,1),-1),o=0,l=0,c=0;i%4==0?(o=4*-r*w.size,c=0):(i-1)%4==0?(o=0,c=4*-r*w.size):(i-2)%4==0?(o=w.size+4*r*w.size,c=w.size):(i-3)%4==0&&(o=-w.size,c=3*w.size+4*w.size*r),w.rtl&&(o=-o),w.isHorizontal()||(l=o,o=0);var d="rotateX("+(w.isHorizontal()?0:-s)+"deg) rotateY("+(w.isHorizontal()?s:0)+"deg) translate3d("+o+"px, "+l+"px, "+c+"px)";if(a<=1&&-1<a&&(t=90*i+90*a,w.rtl&&(t=90*-i-90*a)),n.transform(d),w.params.cube.slideShadows){var p=w.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),u=w.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===p.length&&(p=L('<div class="swiper-slide-shadow-'+(w.isHorizontal()?"left":"top")+'"></div>'),n.append(p)),0===u.length&&(u=L('<div class="swiper-slide-shadow-'+(w.isHorizontal()?"right":"bottom")+'"></div>'),n.append(u)),p.length&&(p[0].style.opacity=Math.max(-a,0)),u.length&&(u[0].style.opacity=Math.max(a,0))}}if(w.wrapper.css({"-webkit-transform-origin":"50% 50% -"+w.size/2+"px","-moz-transform-origin":"50% 50% -"+w.size/2+"px","-ms-transform-origin":"50% 50% -"+w.size/2+"px","transform-origin":"50% 50% -"+w.size/2+"px"}),w.params.cube.shadow)if(w.isHorizontal())e.transform("translate3d(0px, "+(w.width/2+w.params.cube.shadowOffset)+"px, "+-w.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+w.params.cube.shadowScale+")");else{var h=Math.abs(t)-90*Math.floor(Math.abs(t)/90),f=1.5-(Math.sin(2*h*Math.PI/360)/2+Math.cos(2*h*Math.PI/360)/2),m=w.params.cube.shadowScale,g=w.params.cube.shadowScale/f,v=w.params.cube.shadowOffset;e.transform("scale3d("+m+", 1, "+g+") translate3d(0px, "+(w.height/2+v)+"px, "+-w.height/2/g+"px) rotateX(-90deg)")}var b=w.isSafari||w.isUiWebView?-w.size/2:0;w.wrapper.transform("translate3d(0px,0,"+b+"px) rotateX("+(w.isHorizontal()?0:t)+"deg) rotateY("+(w.isHorizontal()?-t:0)+"deg)")},setTransition:function(e){w.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),w.params.cube.shadow&&!w.isHorizontal()&&w.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var e=w.translate,t=w.isHorizontal()?-e+w.width/2:-e+w.height/2,i=w.isHorizontal()?w.params.coverflow.rotate:-w.params.coverflow.rotate,n=w.params.coverflow.depth,s=0,r=w.slides.length;s<r;s++){var a=w.slides.eq(s),o=w.slidesSizesGrid[s],l=(t-a[0].swiperSlideOffset-o/2)/o*w.params.coverflow.modifier,c=w.isHorizontal()?i*l:0,d=w.isHorizontal()?0:i*l,p=-n*Math.abs(l),u=w.isHorizontal()?0:w.params.coverflow.stretch*l,h=w.isHorizontal()?w.params.coverflow.stretch*l:0;Math.abs(h)<.001&&(h=0),Math.abs(u)<.001&&(u=0),Math.abs(p)<.001&&(p=0),Math.abs(c)<.001&&(c=0),Math.abs(d)<.001&&(d=0);var f="translate3d("+h+"px,"+u+"px,"+p+"px) rotateX("+d+"deg) rotateY("+c+"deg)";if(a.transform(f),a[0].style.zIndex=1-Math.abs(Math.round(l)),w.params.coverflow.slideShadows){var m=w.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),g=w.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===m.length&&(m=L('<div class="swiper-slide-shadow-'+(w.isHorizontal()?"left":"top")+'"></div>'),a.append(m)),0===g.length&&(g=L('<div class="swiper-slide-shadow-'+(w.isHorizontal()?"right":"bottom")+'"></div>'),a.append(g)),m.length&&(m[0].style.opacity=0<l?l:0),g.length&&(g[0].style.opacity=0<-l?-l:0)}}w.browser.ie&&(w.wrapper[0].style.perspectiveOrigin=t+"px 50%")},setTransition:function(e){w.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},w.lazy={initialImageLoaded:!1,loadImageInSlide:function(e,l){if(void 0!==e&&(void 0===l&&(l=!0),0!==w.slides.length)){var c=w.slides.eq(e),t=c.find("."+w.params.lazyLoadingClass+":not(."+w.params.lazyStatusLoadedClass+"):not(."+w.params.lazyStatusLoadingClass+")");!c.hasClass(w.params.lazyLoadingClass)||c.hasClass(w.params.lazyStatusLoadedClass)||c.hasClass(w.params.lazyStatusLoadingClass)||(t=t.add(c[0])),0!==t.length&&t.each(function(){var n=L(this);n.addClass(w.params.lazyStatusLoadingClass);var s=n.attr("data-background"),r=n.attr("data-src"),a=n.attr("data-srcset"),o=n.attr("data-sizes");w.loadImage(n[0],r||s,a,o,!1,function(){if(null!=w&&w){if(s?(n.css("background-image",'url("'+s+'")'),n.removeAttr("data-background")):(a&&(n.attr("srcset",a),n.removeAttr("data-srcset")),o&&(n.attr("sizes",o),n.removeAttr("data-sizes")),r&&(n.attr("src",r),n.removeAttr("data-src"))),n.addClass(w.params.lazyStatusLoadedClass).removeClass(w.params.lazyStatusLoadingClass),c.find("."+w.params.lazyPreloaderClass+", ."+w.params.preloaderClass).remove(),w.params.loop&&l){var e=c.attr("data-swiper-slide-index");if(c.hasClass(w.params.slideDuplicateClass)){var t=w.wrapper.children('[data-swiper-slide-index="'+e+'"]:not(.'+w.params.slideDuplicateClass+")");w.lazy.loadImageInSlide(t.index(),!1)}else{var i=w.wrapper.children("."+w.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');w.lazy.loadImageInSlide(i.index(),!1)}}w.emit("onLazyImageReady",w,c[0],n[0])}}),w.emit("onLazyImageLoad",w,c[0],n[0])})}},load:function(){var e,t=w.params.slidesPerView;if("auto"===t&&(t=0),w.lazy.initialImageLoaded||(w.lazy.initialImageLoaded=!0),w.params.watchSlidesVisibility)w.wrapper.children("."+w.params.slideVisibleClass).each(function(){w.lazy.loadImageInSlide(L(this).index())});else if(1<t)for(e=w.activeIndex;e<w.activeIndex+t;e++)w.slides[e]&&w.lazy.loadImageInSlide(e);else w.lazy.loadImageInSlide(w.activeIndex);if(w.params.lazyLoadingInPrevNext)if(1<t||w.params.lazyLoadingInPrevNextAmount&&1<w.params.lazyLoadingInPrevNextAmount){var i=w.params.lazyLoadingInPrevNextAmount,n=t,s=Math.min(w.activeIndex+n+Math.max(i,n),w.slides.length),r=Math.max(w.activeIndex-Math.max(n,i),0);for(e=w.activeIndex+t;e<s;e++)w.slides[e]&&w.lazy.loadImageInSlide(e);for(e=r;e<w.activeIndex;e++)w.slides[e]&&w.lazy.loadImageInSlide(e)}else{var a=w.wrapper.children("."+w.params.slideNextClass);0<a.length&&w.lazy.loadImageInSlide(a.index());var o=w.wrapper.children("."+w.params.slidePrevClass);0<o.length&&w.lazy.loadImageInSlide(o.index())}},onTransitionStart:function(){w.params.lazyLoading&&(w.params.lazyLoadingOnTransitionStart||!w.params.lazyLoadingOnTransitionStart&&!w.lazy.initialImageLoaded)&&w.lazy.load()},onTransitionEnd:function(){w.params.lazyLoading&&!w.params.lazyLoadingOnTransitionStart&&w.lazy.load()}},w.scrollbar={isTouched:!1,setDragPosition:function(e){var t=w.scrollbar,i=(w.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-t.track.offset()[w.isHorizontal()?"left":"top"]-t.dragSize/2,n=-w.minTranslate()*t.moveDivider,s=-w.maxTranslate()*t.moveDivider;i<n?i=n:s<i&&(i=s),i=-i/t.moveDivider,w.updateProgress(i),w.setWrapperTranslate(i,!0)},dragStart:function(e){var t=w.scrollbar;t.isTouched=!0,e.preventDefault(),e.stopPropagation(),t.setDragPosition(e),clearTimeout(t.dragTimeout),t.track.transition(0),w.params.scrollbarHide&&t.track.css("opacity",1),w.wrapper.transition(100),t.drag.transition(100),w.emit("onScrollbarDragStart",w)},dragMove:function(e){var t=w.scrollbar;t.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),w.wrapper.transition(0),t.track.transition(0),t.drag.transition(0),w.emit("onScrollbarDragMove",w))},dragEnd:function(e){var t=w.scrollbar;t.isTouched&&(t.isTouched=!1,w.params.scrollbarHide&&(clearTimeout(t.dragTimeout),t.dragTimeout=setTimeout(function(){t.track.css("opacity",0),t.track.transition(400)},1e3)),w.emit("onScrollbarDragEnd",w),w.params.scrollbarSnapOnRelease&&w.slideReset())},draggableEvents:!1!==w.params.simulateTouch||w.support.touch?w.touchEvents:w.touchEventsDesktop,enableDraggable:function(){var e=w.scrollbar,t=w.support.touch?e.track:document;L(e.track).on(e.draggableEvents.start,e.dragStart),L(t).on(e.draggableEvents.move,e.dragMove),L(t).on(e.draggableEvents.end,e.dragEnd)},disableDraggable:function(){var e=w.scrollbar,t=w.support.touch?e.track:document;L(e.track).off(e.draggableEvents.start,e.dragStart),L(t).off(e.draggableEvents.move,e.dragMove),L(t).off(e.draggableEvents.end,e.dragEnd)},set:function(){if(w.params.scrollbar){var e=w.scrollbar;e.track=L(w.params.scrollbar),w.params.uniqueNavElements&&"string"==typeof w.params.scrollbar&&1<e.track.length&&1===w.container.find(w.params.scrollbar).length&&(e.track=w.container.find(w.params.scrollbar)),e.drag=e.track.find(".swiper-scrollbar-drag"),0===e.drag.length&&(e.drag=L('<div class="swiper-scrollbar-drag"></div>'),e.track.append(e.drag)),e.drag[0].style.width="",e.drag[0].style.height="",e.trackSize=w.isHorizontal()?e.track[0].offsetWidth:e.track[0].offsetHeight,e.divider=w.size/w.virtualSize,e.moveDivider=e.divider*(e.trackSize/w.size),e.dragSize=e.trackSize*e.divider,w.isHorizontal()?e.drag[0].style.width=e.dragSize+"px":e.drag[0].style.height=e.dragSize+"px",1<=e.divider?e.track[0].style.display="none":e.track[0].style.display="",w.params.scrollbarHide&&(e.track[0].style.opacity=0)}},setTranslate:function(){if(w.params.scrollbar){var e,t=w.scrollbar,i=(w.translate,t.dragSize);e=(t.trackSize-t.dragSize)*w.progress,w.rtl&&w.isHorizontal()?0<(e=-e)?(i=t.dragSize-e,e=0):-e+t.dragSize>t.trackSize&&(i=t.trackSize+e):e<0?(i=t.dragSize+e,e=0):e+t.dragSize>t.trackSize&&(i=t.trackSize-e),w.isHorizontal()?(w.support.transforms3d?t.drag.transform("translate3d("+e+"px, 0, 0)"):t.drag.transform("translateX("+e+"px)"),t.drag[0].style.width=i+"px"):(w.support.transforms3d?t.drag.transform("translate3d(0px, "+e+"px, 0)"):t.drag.transform("translateY("+e+"px)"),t.drag[0].style.height=i+"px"),w.params.scrollbarHide&&(clearTimeout(t.timeout),t.track[0].style.opacity=1,t.timeout=setTimeout(function(){t.track[0].style.opacity=0,t.track.transition(400)},1e3))}},setTransition:function(e){w.params.scrollbar&&w.scrollbar.drag.transition(e)}},w.controller={LinearSpline:function(e,t){var i,n,s,r,a,o=function(e,t){for(n=-1,i=e.length;1<i-n;)e[s=i+n>>1]<=t?n=s:i=s;return i};this.x=e,this.y=t,this.lastIndex=e.length-1;this.x.length;this.interpolate=function(e){return e?(a=o(this.x,e),r=a-1,(e-this.x[r])*(this.y[a]-this.y[r])/(this.x[a]-this.x[r])+this.y[r]):0}},getInterpolateFunction:function(e){w.controller.spline||(w.controller.spline=w.params.loop?new w.controller.LinearSpline(w.slidesGrid,e.slidesGrid):new w.controller.LinearSpline(w.snapGrid,e.snapGrid))},setTranslate:function(t,e){var i,n,s=w.params.control;function r(e){t=e.rtl&&"horizontal"===e.params.direction?-w.translate:w.translate,"slide"===w.params.controlBy&&(w.controller.getInterpolateFunction(e),n=-w.controller.spline.interpolate(-t)),n&&"container"!==w.params.controlBy||(i=(e.maxTranslate()-e.minTranslate())/(w.maxTranslate()-w.minTranslate()),n=(t-w.minTranslate())*i+e.minTranslate()),w.params.controlInverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setWrapperTranslate(n,!1,w),e.updateActiveIndex()}if(Array.isArray(s))for(var a=0;a<s.length;a++)s[a]!==e&&s[a]instanceof O&&r(s[a]);else s instanceof O&&e!==s&&r(s)},setTransition:function(t,e){var i,n=w.params.control;function s(e){e.setWrapperTransition(t,w),0!==t&&(e.onTransitionStart(),e.wrapper.transitionEnd(function(){n&&(e.params.loop&&"slide"===w.params.controlBy&&e.fixLoop(),e.onTransitionEnd())}))}if(Array.isArray(n))for(i=0;i<n.length;i++)n[i]!==e&&n[i]instanceof O&&s(n[i]);else n instanceof O&&e!==n&&s(n)}},w.hashnav={onHashCange:function(e,t){var i=document.location.hash.replace("#","");i!==w.slides.eq(w.activeIndex).attr("data-hash")&&w.slideTo(w.wrapper.children("."+w.params.slideClass+'[data-hash="'+i+'"]').index())},attachEvents:function(e){var t=e?"off":"on";L(window)[t]("hashchange",w.hashnav.onHashCange)},setHash:function(){if(w.hashnav.initialized&&w.params.hashnav)if(w.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+w.slides.eq(w.activeIndex).attr("data-hash")||"");else{var e=w.slides.eq(w.activeIndex),t=e.attr("data-hash")||e.attr("data-history");document.location.hash=t||""}},init:function(){if(w.params.hashnav&&!w.params.history){w.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e)for(var t=0,i=w.slides.length;t<i;t++){var n=w.slides.eq(t);if((n.attr("data-hash")||n.attr("data-history"))===e&&!n.hasClass(w.params.slideDuplicateClass)){var s=n.index();w.slideTo(s,0,w.params.runCallbacksOnInit,!0)}}w.params.hashnavWatchState&&w.hashnav.attachEvents()}},destroy:function(){w.params.hashnavWatchState&&w.hashnav.attachEvents(!0)}},w.history={init:function(){if(w.params.history){if(!window.history||!window.history.pushState)return w.params.history=!1,void(w.params.hashnav=!0);w.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,w.params.runCallbacksOnInit),w.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){w.history.paths=w.history.getPathValues(),w.history.scrollToSlide(w.params.speed,w.history.paths.value,!1)},getPathValues:function(){var e=window.location.pathname.slice(1).split("/"),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(w.history.initialized&&w.params.history){var i=w.slides.eq(t),n=this.slugify(i.attr("data-history"));window.location.pathname.includes(e)||(n=e+"/"+n),w.params.replaceState?window.history.replaceState(null,null,n):window.history.pushState(null,null,n)}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var n=0,s=w.slides.length;n<s;n++){var r=w.slides.eq(n);if(this.slugify(r.attr("data-history"))===t&&!r.hasClass(w.params.slideDuplicateClass)){var a=r.index();w.slideTo(a,e,i)}}else w.slideTo(0,e,i)}},w.disableKeyboardControl=function(){w.params.keyboardControl=!1,L(document).off("keydown",D)},w.enableKeyboardControl=function(){w.params.keyboardControl=!0,L(document).on("keydown",D)},w.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},w.params.mousewheelControl&&(w.mousewheel.event=-1<navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":function(){var e="onwheel",t=e in document;if(!t){var i=document.createElement("div");i.setAttribute(e,"return;"),t="function"==typeof i[e]}return!t&&document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")&&(t=document.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel"),w.disableMousewheelControl=function(){if(!w.mousewheel.event)return!1;var e=w.container;return"container"!==w.params.mousewheelEventsTarged&&(e=L(w.params.mousewheelEventsTarged)),e.off(w.mousewheel.event,A),!(w.params.mousewheelControl=!1)},w.enableMousewheelControl=function(){if(!w.mousewheel.event)return!1;var e=w.container;return"container"!==w.params.mousewheelEventsTarged&&(e=L(w.params.mousewheelEventsTarged)),e.on(w.mousewheel.event,A),w.params.mousewheelControl=!0},w.parallax={setTranslate:function(){w.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){z(this,w.progress)}),w.slides.each(function(){var e=L(this);e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){z(this,Math.min(Math.max(e[0].progress,-1),1))})})},setTransition:function(i){void 0===i&&(i=w.params.speed),w.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var e=L(this),t=parseInt(e.attr("data-swiper-parallax-duration"),10)||i;0===i&&(t=0),e.transition(t)})}},w.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:w.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(s-i,2))},onGestureStart:function(e){var t=w.zoom;if(!w.support.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;t.gesture.scaleStart=t.getDistanceBetweenTouches(e)}t.gesture.slide&&t.gesture.slide.length||(t.gesture.slide=L(this),0===t.gesture.slide.length&&(t.gesture.slide=w.slides.eq(w.activeIndex)),t.gesture.image=t.gesture.slide.find("img, svg, canvas"),t.gesture.imageWrap=t.gesture.image.parent("."+w.params.zoomContainerClass),t.gesture.zoomMax=t.gesture.imageWrap.attr("data-swiper-zoom")||w.params.zoomMax,0!==t.gesture.imageWrap.length)?(t.gesture.image.transition(0),t.isScaling=!0):t.gesture.image=void 0},onGestureChange:function(e){var t=w.zoom;if(!w.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;t.gesture.scaleMove=t.getDistanceBetweenTouches(e)}t.gesture.image&&0!==t.gesture.image.length&&(w.support.gestures?t.scale=e.scale*t.currentScale:t.scale=t.gesture.scaleMove/t.gesture.scaleStart*t.currentScale,t.scale>t.gesture.zoomMax&&(t.scale=t.gesture.zoomMax-1+Math.pow(t.scale-t.gesture.zoomMax+1,.5)),t.scale<w.params.zoomMin&&(t.scale=w.params.zoomMin+1-Math.pow(w.params.zoomMin-t.scale+1,.5)),t.gesture.image.transform("translate3d(0,0,0) scale("+t.scale+")"))},onGestureEnd:function(e){var t=w.zoom;!w.support.gestures&&("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2)||t.gesture.image&&0!==t.gesture.image.length&&(t.scale=Math.max(Math.min(t.scale,t.gesture.zoomMax),w.params.zoomMin),t.gesture.image.transition(w.params.speed).transform("translate3d(0,0,0) scale("+t.scale+")"),t.currentScale=t.scale,t.isScaling=!1,1===t.scale&&(t.gesture.slide=void 0))},onTouchStart:function(e,t){var i=e.zoom;i.gesture.image&&0!==i.gesture.image.length&&(i.image.isTouched||("android"===e.device.os&&t.preventDefault(),i.image.isTouched=!0,i.image.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,i.image.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(e){var t=w.zoom;if(t.gesture.image&&0!==t.gesture.image.length&&(w.allowClick=!1,t.image.isTouched&&t.gesture.slide)){t.image.isMoved||(t.image.width=t.gesture.image[0].offsetWidth,t.image.height=t.gesture.image[0].offsetHeight,t.image.startX=w.getTranslate(t.gesture.imageWrap[0],"x")||0,t.image.startY=w.getTranslate(t.gesture.imageWrap[0],"y")||0,t.gesture.slideWidth=t.gesture.slide[0].offsetWidth,t.gesture.slideHeight=t.gesture.slide[0].offsetHeight,t.gesture.imageWrap.transition(0),w.rtl&&(t.image.startX=-t.image.startX),w.rtl&&(t.image.startY=-t.image.startY));var i=t.image.width*t.scale,n=t.image.height*t.scale;if(!(i<t.gesture.slideWidth&&n<t.gesture.slideHeight)){if(t.image.minX=Math.min(t.gesture.slideWidth/2-i/2,0),t.image.maxX=-t.image.minX,t.image.minY=Math.min(t.gesture.slideHeight/2-n/2,0),t.image.maxY=-t.image.minY,t.image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,t.image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!t.image.isMoved&&!t.isScaling){if(w.isHorizontal()&&Math.floor(t.image.minX)===Math.floor(t.image.startX)&&t.image.touchesCurrent.x<t.image.touchesStart.x||Math.floor(t.image.maxX)===Math.floor(t.image.startX)&&t.image.touchesCurrent.x>t.image.touchesStart.x)return void(t.image.isTouched=!1);if(!w.isHorizontal()&&Math.floor(t.image.minY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.y<t.image.touchesStart.y||Math.floor(t.image.maxY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.y>t.image.touchesStart.y)return void(t.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),t.image.isMoved=!0,t.image.currentX=t.image.touchesCurrent.x-t.image.touchesStart.x+t.image.startX,t.image.currentY=t.image.touchesCurrent.y-t.image.touchesStart.y+t.image.startY,t.image.currentX<t.image.minX&&(t.image.currentX=t.image.minX+1-Math.pow(t.image.minX-t.image.currentX+1,.8)),t.image.currentX>t.image.maxX&&(t.image.currentX=t.image.maxX-1+Math.pow(t.image.currentX-t.image.maxX+1,.8)),t.image.currentY<t.image.minY&&(t.image.currentY=t.image.minY+1-Math.pow(t.image.minY-t.image.currentY+1,.8)),t.image.currentY>t.image.maxY&&(t.image.currentY=t.image.maxY-1+Math.pow(t.image.currentY-t.image.maxY+1,.8)),t.velocity.prevPositionX||(t.velocity.prevPositionX=t.image.touchesCurrent.x),t.velocity.prevPositionY||(t.velocity.prevPositionY=t.image.touchesCurrent.y),t.velocity.prevTime||(t.velocity.prevTime=Date.now()),t.velocity.x=(t.image.touchesCurrent.x-t.velocity.prevPositionX)/(Date.now()-t.velocity.prevTime)/2,t.velocity.y=(t.image.touchesCurrent.y-t.velocity.prevPositionY)/(Date.now()-t.velocity.prevTime)/2,Math.abs(t.image.touchesCurrent.x-t.velocity.prevPositionX)<2&&(t.velocity.x=0),Math.abs(t.image.touchesCurrent.y-t.velocity.prevPositionY)<2&&(t.velocity.y=0),t.velocity.prevPositionX=t.image.touchesCurrent.x,t.velocity.prevPositionY=t.image.touchesCurrent.y,t.velocity.prevTime=Date.now(),t.gesture.imageWrap.transform("translate3d("+t.image.currentX+"px, "+t.image.currentY+"px,0)")}}},onTouchEnd:function(e,t){var i=e.zoom;if(i.gesture.image&&0!==i.gesture.image.length){if(!i.image.isTouched||!i.image.isMoved)return i.image.isTouched=!1,void(i.image.isMoved=!1);i.image.isTouched=!1,i.image.isMoved=!1;var n=300,s=300,r=i.velocity.x*n,a=i.image.currentX+r,o=i.velocity.y*s,l=i.image.currentY+o;0!==i.velocity.x&&(n=Math.abs((a-i.image.currentX)/i.velocity.x)),0!==i.velocity.y&&(s=Math.abs((l-i.image.currentY)/i.velocity.y));var c=Math.max(n,s);i.image.currentX=a,i.image.currentY=l;var d=i.image.width*i.scale,p=i.image.height*i.scale;i.image.minX=Math.min(i.gesture.slideWidth/2-d/2,0),i.image.maxX=-i.image.minX,i.image.minY=Math.min(i.gesture.slideHeight/2-p/2,0),i.image.maxY=-i.image.minY,i.image.currentX=Math.max(Math.min(i.image.currentX,i.image.maxX),i.image.minX),i.image.currentY=Math.max(Math.min(i.image.currentY,i.image.maxY),i.image.minY),i.gesture.imageWrap.transition(c).transform("translate3d("+i.image.currentX+"px, "+i.image.currentY+"px,0)")}},onTransitionEnd:function(e){var t=e.zoom;t.gesture.slide&&e.previousIndex!==e.activeIndex&&(t.gesture.image.transform("translate3d(0,0,0) scale(1)"),t.gesture.imageWrap.transform("translate3d(0,0,0)"),t.gesture.slide=t.gesture.image=t.gesture.imageWrap=void 0,t.scale=t.currentScale=1)},toggleZoom:function(e,t){var i,n,s,r,a,o,l,c,d,p,u,h,f,m,g,v,b=e.zoom;(b.gesture.slide||(b.gesture.slide=e.clickedSlide?L(e.clickedSlide):e.slides.eq(e.activeIndex),b.gesture.image=b.gesture.slide.find("img, svg, canvas"),b.gesture.imageWrap=b.gesture.image.parent("."+e.params.zoomContainerClass)),b.gesture.image&&0!==b.gesture.image.length)&&(n=void 0===b.image.touchesStart.x&&t?(i="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,"touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(i=b.image.touchesStart.x,b.image.touchesStart.y),b.scale&&1!==b.scale?(b.scale=b.currentScale=1,b.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),b.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),b.gesture.slide=void 0):(b.scale=b.currentScale=b.gesture.imageWrap.attr("data-swiper-zoom")||e.params.zoomMax,t?(g=b.gesture.slide[0].offsetWidth,v=b.gesture.slide[0].offsetHeight,s=b.gesture.slide.offset().left+g/2-i,r=b.gesture.slide.offset().top+v/2-n,l=b.gesture.image[0].offsetWidth,c=b.gesture.image[0].offsetHeight,d=l*b.scale,p=c*b.scale,f=-(u=Math.min(g/2-d/2,0)),m=-(h=Math.min(v/2-p/2,0)),(a=s*b.scale)<u&&(a=u),f<a&&(a=f),(o=r*b.scale)<h&&(o=h),m<o&&(o=m)):o=a=0,b.gesture.imageWrap.transition(300).transform("translate3d("+a+"px, "+o+"px,0)"),b.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")")))},attachEvents:function(e){var i=e?"off":"on";if(w.params.zoom){w.slides;var t=!("touchstart"!==w.touchEvents.start||!w.support.passiveListener||!w.params.passiveListeners)&&{passive:!0,capture:!1};w.support.gestures?(w.slides[i]("gesturestart",w.zoom.onGestureStart,t),w.slides[i]("gesturechange",w.zoom.onGestureChange,t),w.slides[i]("gestureend",w.zoom.onGestureEnd,t)):"touchstart"===w.touchEvents.start&&(w.slides[i](w.touchEvents.start,w.zoom.onGestureStart,t),w.slides[i](w.touchEvents.move,w.zoom.onGestureChange,t),w.slides[i](w.touchEvents.end,w.zoom.onGestureEnd,t)),w[i]("touchStart",w.zoom.onTouchStart),w.slides.each(function(e,t){0<L(t).find("."+w.params.zoomContainerClass).length&&L(t)[i](w.touchEvents.move,w.zoom.onTouchMove)}),w[i]("touchEnd",w.zoom.onTouchEnd),w[i]("transitionEnd",w.zoom.onTransitionEnd),w.params.zoomToggle&&w.on("doubleTap",w.zoom.toggleZoom)}},init:function(){w.zoom.attachEvents()},destroy:function(){w.zoom.attachEvents(!0)}},w._plugins=[],w.plugins){var g=w.plugins[m](w,w.params[m]);g&&w._plugins.push(g)}return w.callPlugins=function(e){for(var t=0;t<w._plugins.length;t++)e in w._plugins[t]&&w._plugins[t][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},w.emitterEventListeners={},w.emit=function(e){var t;if(w.params[e]&&w.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),w.emitterEventListeners[e])for(t=0;t<w.emitterEventListeners[e].length;t++)w.emitterEventListeners[e][t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);w.callPlugins&&w.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},w.on=function(e,t){return e=P(e),w.emitterEventListeners[e]||(w.emitterEventListeners[e]=[]),w.emitterEventListeners[e].push(t),w},w.off=function(e,t){var i;if(e=P(e),void 0===t)return w.emitterEventListeners[e]=[],w;if(w.emitterEventListeners[e]&&0!==w.emitterEventListeners[e].length){for(i=0;i<w.emitterEventListeners[e].length;i++)w.emitterEventListeners[e][i]===t&&w.emitterEventListeners[e].splice(i,1);return w}},w.once=function(e,t){e=P(e);var i=function(){t(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),w.off(e,i)};return w.on(e,i),w},w.a11y={makeFocusable:function(e){return e.attr("tabIndex","0"),e},addRole:function(e,t){return e.attr("role",t),e},addLabel:function(e,t){return e.attr("aria-label",t),e},disable:function(e){return e.attr("aria-disabled",!0),e},enable:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){13===e.keyCode&&(L(e.target).is(w.params.nextButton)?(w.onClickNext(e),w.isEnd?w.a11y.notify(w.params.lastSlideMessage):w.a11y.notify(w.params.nextSlideMessage)):L(e.target).is(w.params.prevButton)&&(w.onClickPrev(e),w.isBeginning?w.a11y.notify(w.params.firstSlideMessage):w.a11y.notify(w.params.prevSlideMessage)),L(e.target).is("."+w.params.bulletClass)&&L(e.target)[0].click())},liveRegion:L('<span class="'+w.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var t=w.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},init:function(){w.params.nextButton&&w.nextButton&&0<w.nextButton.length&&(w.a11y.makeFocusable(w.nextButton),w.a11y.addRole(w.nextButton,"button"),w.a11y.addLabel(w.nextButton,w.params.nextSlideMessage)),w.params.prevButton&&w.prevButton&&0<w.prevButton.length&&(w.a11y.makeFocusable(w.prevButton),w.a11y.addRole(w.prevButton,"button"),w.a11y.addLabel(w.prevButton,w.params.prevSlideMessage)),L(w.container).append(w.a11y.liveRegion)},initPagination:function(){w.params.pagination&&w.params.paginationClickable&&w.bullets&&w.bullets.length&&w.bullets.each(function(){var e=L(this);w.a11y.makeFocusable(e),w.a11y.addRole(e,"button"),w.a11y.addLabel(e,w.params.paginationBulletMessage.replace(/{{index}}/,e.index()+1))})},destroy:function(){w.a11y.liveRegion&&0<w.a11y.liveRegion.length&&w.a11y.liveRegion.remove()}},w.init=function(){w.params.loop&&w.createLoop(),w.updateContainerSize(),w.updateSlidesSize(),w.updatePagination(),w.params.scrollbar&&w.scrollbar&&(w.scrollbar.set(),w.params.scrollbarDraggable&&w.scrollbar.enableDraggable()),"slide"!==w.params.effect&&w.effects[w.params.effect]&&(w.params.loop||w.updateProgress(),w.effects[w.params.effect].setTranslate()),w.params.loop?w.slideTo(w.params.initialSlide+w.loopedSlides,0,w.params.runCallbacksOnInit):(w.slideTo(w.params.initialSlide,0,w.params.runCallbacksOnInit),0===w.params.initialSlide&&(w.parallax&&w.params.parallax&&w.parallax.setTranslate(),w.lazy&&w.params.lazyLoading&&(w.lazy.load(),w.lazy.initialImageLoaded=!0))),w.attachEvents(),w.params.observer&&w.support.observer&&w.initObservers(),w.params.preloadImages&&!w.params.lazyLoading&&w.preloadImages(),w.params.zoom&&w.zoom&&w.zoom.init(),w.params.autoplay&&w.startAutoplay(),w.params.keyboardControl&&w.enableKeyboardControl&&w.enableKeyboardControl(),w.params.mousewheelControl&&w.enableMousewheelControl&&w.enableMousewheelControl(),w.params.hashnavReplaceState&&(w.params.replaceState=w.params.hashnavReplaceState),w.params.history&&w.history&&w.history.init(),w.params.hashnav&&w.hashnav&&w.hashnav.init(),w.params.a11y&&w.a11y&&w.a11y.init(),w.emit("onInit",w)},w.cleanupStyles=function(){w.container.removeClass(w.classNames.join(" ")).removeAttr("style"),w.wrapper.removeAttr("style"),w.slides&&w.slides.length&&w.slides.removeClass([w.params.slideVisibleClass,w.params.slideActiveClass,w.params.slideNextClass,w.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),w.paginationContainer&&w.paginationContainer.length&&w.paginationContainer.removeClass(w.params.paginationHiddenClass),w.bullets&&w.bullets.length&&w.bullets.removeClass(w.params.bulletActiveClass),w.params.prevButton&&L(w.params.prevButton).removeClass(w.params.buttonDisabledClass),w.params.nextButton&&L(w.params.nextButton).removeClass(w.params.buttonDisabledClass),w.params.scrollbar&&w.scrollbar&&(w.scrollbar.track&&w.scrollbar.track.length&&w.scrollbar.track.removeAttr("style"),w.scrollbar.drag&&w.scrollbar.drag.length&&w.scrollbar.drag.removeAttr("style"))},w.destroy=function(e,t){w.detachEvents(),w.stopAutoplay(),w.params.scrollbar&&w.scrollbar&&w.params.scrollbarDraggable&&w.scrollbar.disableDraggable(),w.params.loop&&w.destroyLoop(),t&&w.cleanupStyles(),w.disconnectObservers(),w.params.zoom&&w.zoom&&w.zoom.destroy(),w.params.keyboardControl&&w.disableKeyboardControl&&w.disableKeyboardControl(),w.params.mousewheelControl&&w.disableMousewheelControl&&w.disableMousewheelControl(),w.params.a11y&&w.a11y&&w.a11y.destroy(),w.params.history&&!w.params.replaceState&&window.removeEventListener("popstate",w.history.setHistoryPopState),w.params.hashnav&&w.hashnav&&w.hashnav.destroy(),w.emit("onDestroy"),!1!==e&&(w=null)},w.init(),w}function v(e){return Math.floor(e)}function b(){var e=w.params.autoplay,t=w.slides.eq(w.activeIndex);t.attr("data-swiper-autoplay")&&(e=t.attr("data-swiper-autoplay")||w.params.autoplay),w.autoplayTimeoutId=setTimeout(function(){w.params.loop?(w.fixLoop(),w._slideNext(),w.emit("onAutoplay",w)):w.isEnd?l.autoplayStopOnLast?w.stopAutoplay():(w._slideTo(0),w.emit("onAutoplay",w)):(w._slideNext(),w.emit("onAutoplay",w))},e)}function y(e,i){var t=L(e.target);if(!t.is(i))if("string"==typeof i)t=t.parents(i);else if(i.nodeType){var n;return t.parents().each(function(e,t){t===i&&(n=i)}),n?i:void 0}if(0!==t.length)return t[0]}function I(e,t){t=t||{};var i=new(window.MutationObserver||window.WebkitMutationObserver)(function(e){e.forEach(function(e){w.onResize(!0),w.emit("onObserverUpdate",w,e)})});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),w.observers.push(i)}function D(e){e.originalEvent&&(e=e.originalEvent);var t=e.keyCode||e.charCode;if(!w.params.allowSwipeToNext&&(w.isHorizontal()&&39===t||!w.isHorizontal()&&40===t))return!1;if(!w.params.allowSwipeToPrev&&(w.isHorizontal()&&37===t||!w.isHorizontal()&&38===t))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===t||39===t||38===t||40===t){var i=!1;if(0<w.container.parents("."+w.params.slideClass).length&&0===w.container.parents("."+w.params.slideActiveClass).length)return;var n=window.pageXOffset,s=window.pageYOffset,r=window.innerWidth,a=window.innerHeight,o=w.container.offset();w.rtl&&(o.left=o.left-w.container[0].scrollLeft);for(var l=[[o.left,o.top],[o.left+w.width,o.top],[o.left,o.top+w.height],[o.left+w.width,o.top+w.height]],c=0;c<l.length;c++){var d=l[c];d[0]>=n&&d[0]<=n+r&&d[1]>=s&&d[1]<=s+a&&(i=!0)}if(!i)return}w.isHorizontal()?(37!==t&&39!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===t&&!w.rtl||37===t&&w.rtl)&&w.slideNext(),(37===t&&!w.rtl||39===t&&w.rtl)&&w.slidePrev()):(38!==t&&40!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&w.slideNext(),38===t&&w.slidePrev()),w.emit("onKeyPress",w,t)}}function A(e){e.originalEvent&&(e=e.originalEvent);var t,i,n,s,r,a=0,o=w.rtl?-1:1,l=(r=s=n=i=0,"detail"in(t=e)&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(i=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(i=n,n=0),s=10*i,r=10*n,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(s=t.deltaX),(s||r)&&t.deltaMode&&(1===t.deltaMode?(s*=40,r*=40):(s*=800,r*=800)),s&&!i&&(i=s<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:i,spinY:n,pixelX:s,pixelY:r});if(w.params.mousewheelForceToAxis)if(w.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return;a=l.pixelX*o}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return;a=l.pixelY}else a=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*o:-l.pixelY;if(0!==a){if(w.params.mousewheelInvert&&(a=-a),w.params.freeMode){var c=w.getWrapperTranslate()+a*w.params.mousewheelSensitivity,d=w.isBeginning,p=w.isEnd;if(c>=w.minTranslate()&&(c=w.minTranslate()),c<=w.maxTranslate()&&(c=w.maxTranslate()),w.setWrapperTransition(0),w.setWrapperTranslate(c),w.updateProgress(),w.updateActiveIndex(),(!d&&w.isBeginning||!p&&w.isEnd)&&w.updateClasses(),w.params.freeModeSticky?(clearTimeout(w.mousewheel.timeout),w.mousewheel.timeout=setTimeout(function(){w.slideReset()},300)):w.params.lazyLoading&&w.lazy&&w.lazy.load(),w.emit("onScroll",w,e),w.params.autoplay&&w.params.autoplayDisableOnInteraction&&w.stopAutoplay(),0===c||c===w.maxTranslate())return}else{if(60<(new window.Date).getTime()-w.mousewheel.lastScrollTime)if(a<0)if(w.isEnd&&!w.params.loop||w.animating){if(w.params.mousewheelReleaseOnEdges)return!0}else w.slideNext(),w.emit("onScroll",w,e);else if(w.isBeginning&&!w.params.loop||w.animating){if(w.params.mousewheelReleaseOnEdges)return!0}else w.slidePrev(),w.emit("onScroll",w,e);w.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function z(e,t){var i,n,s;e=L(e);var r=w.rtl?-1:1;i=e.attr("data-swiper-parallax")||"0",n=e.attr("data-swiper-parallax-x"),s=e.attr("data-swiper-parallax-y"),n||s?(n=n||"0",s=s||"0"):w.isHorizontal()?(n=i,s="0"):(s=i,n="0"),n=0<=n.indexOf("%")?parseInt(n,10)*t*r+"%":n*t*r+"px",s=0<=s.indexOf("%")?parseInt(s,10)*t+"%":s*t+"px",e.transform("translate3d("+n+", "+s+",0px)")}function P(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}};O.prototype={isSafari:(o=window.navigator.userAgent.toLowerCase(),0<=o.indexOf("safari")&&o.indexOf("chrome")<0&&o.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&1<window.navigator.msMaxTouchPoints||window.navigator.pointerEnabled&&1<window.navigator.maxTouchPoints,lteIE9:(a=document.createElement("div"),a.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1===a.getElementsByTagName("i").length)},device:(t=window.navigator.userAgent,i=t.match(/(Android);?[\s\/]+([\d.]+)?/),n=t.match(/(iPad).*OS\s([\d_]+)/),s=t.match(/(iPod)(.*OS\s([\d_]+))?/),r=!n&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),{ios:n||r||s,android:i}),support:{touch:window.Modernizr&&!0===Modernizr.touch||!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch),transforms3d:window.Modernizr&&!0===Modernizr.csstransforms3d||(e=document.createElement("div").style,"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e),flexbox:function(){for(var e=document.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i++)if(t[i]in e)return!0}(),observer:"MutationObserver"in window||"WebkitMutationObserver"in window,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in window},plugins:{}};for(var l,c,d,R=(c=function(e,t){var i=[],n=0;if(e&&!t&&e instanceof l)return e;if(e)if("string"==typeof e){var s,r,a=e.trim();if(0<=a.indexOf("<")&&0<=a.indexOf(">")){var o="div";for(0===a.indexOf("<li")&&(o="ul"),0===a.indexOf("<tr")&&(o="tbody"),0!==a.indexOf("<td")&&0!==a.indexOf("<th")||(o="tr"),0===a.indexOf("<tbody")&&(o="table"),0===a.indexOf("<option")&&(o="select"),(r=document.createElement(o)).innerHTML=e,n=0;n<r.childNodes.length;n++)i.push(r.childNodes[n])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||document).querySelectorAll(e):[document.getElementById(e.split("#")[1])],n=0;n<s.length;n++)s[n]&&i.push(s[n])}else if(e.nodeType||e===window||e===document)i.push(e);else if(0<e.length&&e[0].nodeType)for(n=0;n<e.length;n++)i.push(e[n]);return new l(i)},(l=function(e){var t=0;for(t=0;t<e.length;t++)this[t]=e[t];return this.length=e.length,this}).prototype={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i++)for(var n=0;n<this.length;n++)this[n].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i++)for(var n=0;n<this.length;n++)this[n].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i++)for(var n=0;n<this.length;n++)this[n].classList.toggle(t[i]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i++)if(2===arguments.length)this[i].setAttribute(e,t);else for(var n in e)this[i][n]=e[n],this[i].setAttribute(n,e[n]);return this},removeAttr:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute(e);return this},data:function(e,t){if(void 0!==t){for(var i=0;i<this.length;i++){var n=this[i];n.dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t}return this}if(this[0]){var s=this[0].getAttribute("data-"+e);return s||(this[0].dom7ElementDataStorage&&e in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[e]:void 0)}},transform:function(e){for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=e}return this},on:function(e,s,r,t){function i(e){var t=e.target;if(c(t).is(s))r.call(t,e);else for(var i=c(t).parents(),n=0;n<i.length;n++)c(i[n]).is(s)&&r.call(i[n],e)}var n,a,o=e.split(" ");for(n=0;n<this.length;n++)if("function"==typeof s||!1===s)for("function"==typeof s&&(r=s,t=arguments[2]||!1),a=0;a<o.length;a++)this[n].addEventListener(o[a],r,t);else for(a=0;a<o.length;a++)this[n].dom7LiveListeners||(this[n].dom7LiveListeners=[]),this[n].dom7LiveListeners.push({listener:r,liveListener:i}),this[n].addEventListener(o[a],i,t);return this},off:function(e,t,i,n){for(var s=e.split(" "),r=0;r<s.length;r++)for(var a=0;a<this.length;a++)if("function"==typeof t||!1===t)"function"==typeof t&&(i=t,n=arguments[2]||!1),this[a].removeEventListener(s[r],i,n);else if(this[a].dom7LiveListeners)for(var o=0;o<this[a].dom7LiveListeners.length;o++)this[a].dom7LiveListeners[o].listener===i&&this[a].removeEventListener(s[r],this[a].dom7LiveListeners[o].liveListener,n);return this},once:function(i,n,s,r){var a=this;"function"==typeof n&&(n=!1,s=arguments[1],r=arguments[2]),a.on(i,n,function e(t){s(t),a.off(i,n,e,r)},r)},trigger:function(t,i){for(var e=0;e<this.length;e++){var n;try{n=new window.CustomEvent(t,{detail:i,bubbles:!0,cancelable:!0})}catch(e){(n=document.createEvent("Event")).initEvent(t,!0,!0),n.detail=i}this[e].dispatchEvent(n)}return this},transitionEnd:function(t){var i,n=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],s=this;function r(e){if(e.target===this)for(t.call(this,e),i=0;i<n.length;i++)s.off(n[i],r)}if(t)for(i=0;i<n.length;i++)s.on(n[i],r);return this},width:function(){return this[0]===window?window.innerWidth:0<this.length?parseFloat(this.css("width")):null},outerWidth:function(e){return 0<this.length?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:0<this.length?parseFloat(this.css("height")):null},outerHeight:function(e){return 0<this.length?e?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(0<this.length){var e=this[0],t=e.getBoundingClientRect(),i=document.body,n=e.clientTop||i.clientTop||0,s=e.clientLeft||i.clientLeft||0,r=window.pageYOffset||e.scrollTop,a=window.pageXOffset||e.scrollLeft;return{top:t.top+r-n,left:t.left+a-s}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i++)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2!==arguments.length||"string"!=typeof e)return this;for(i=0;i<this.length;i++)this[i].style[e]=t;return this},each:function(e){for(var t=0;t<this.length;t++)e.call(this[t],t,this[t]);return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t++)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t++)this[t].textContent=e;return this},is:function(e){if(!this[0])return!1;var t,i;if("string"==typeof e){var n=this[0];if(n===document)return e===document;if(n===window)return e===window;if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.mozMatchesSelector)return n.mozMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(t=c(e),i=0;i<t.length;i++)if(t[i]===this[0])return!0;return!1}if(e===document)return this[0]===document;if(e===window)return this[0]===window;if(e.nodeType||e instanceof l){for(t=e.nodeType?[e]:e,i=0;i<t.length;i++)if(t[i]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var e=this[0],t=0;null!==(e=e.previousSibling);)1===e.nodeType&&t++;return t}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new l(i-1<e?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(e){var t,i;for(t=0;t<this.length;t++)if("string"==typeof e){var n=document.createElement("div");for(n.innerHTML=e;n.firstChild;)this[t].appendChild(n.firstChild)}else if(e instanceof l)for(i=0;i<e.length;i++)this[t].appendChild(e[i]);else this[t].appendChild(e);return this},prepend:function(e){var t,i;for(t=0;t<this.length;t++)if("string"==typeof e){var n=document.createElement("div");for(n.innerHTML=e,i=n.childNodes.length-1;0<=i;i--)this[t].insertBefore(n.childNodes[i],this[t].childNodes[0])}else if(e instanceof l)for(i=0;i<e.length;i++)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},insertBefore:function(e){for(var t=c(e),i=0;i<this.length;i++)if(1===t.length)t[0].parentNode.insertBefore(this[i],t[0]);else if(1<t.length)for(var n=0;n<t.length;n++)t[n].parentNode.insertBefore(this[i].cloneNode(!0),t[n])},insertAfter:function(e){for(var t=c(e),i=0;i<this.length;i++)if(1===t.length)t[0].parentNode.insertBefore(this[i],t[0].nextSibling);else if(1<t.length)for(var n=0;n<t.length;n++)t[n].parentNode.insertBefore(this[i].cloneNode(!0),t[n].nextSibling)},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&c(this[0].nextElementSibling).is(e)?new l([this[0].nextElementSibling]):new l([]):this[0].nextElementSibling?new l([this[0].nextElementSibling]):new l([]):new l([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new l([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e?c(n).is(e)&&t.push(n):t.push(n),i=n}return new l(t)},prev:function(e){return 0<this.length?e?this[0].previousElementSibling&&c(this[0].previousElementSibling).is(e)?new l([this[0].previousElementSibling]):new l([]):this[0].previousElementSibling?new l([this[0].previousElementSibling]):new l([]):new l([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new l([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e?c(n).is(e)&&t.push(n):t.push(n),i=n}return new l(t)},parent:function(e){for(var t=[],i=0;i<this.length;i++)e?c(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode);return c(c.unique(t))},parents:function(e){for(var t=[],i=0;i<this.length;i++)for(var n=this[i].parentNode;n;)e?c(n).is(e)&&t.push(n):t.push(n),n=n.parentNode;return c(c.unique(t))},find:function(e){for(var t=[],i=0;i<this.length;i++)for(var n=this[i].querySelectorAll(e),s=0;s<n.length;s++)t.push(n[s]);return new l(t)},children:function(e){for(var t=[],i=0;i<this.length;i++)for(var n=this[i].childNodes,s=0;s<n.length;s++)e?1===n[s].nodeType&&c(n[s]).is(e)&&t.push(n[s]):1===n[s].nodeType&&t.push(n[s]);return new l(c.unique(t))},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){var e,t;for(e=0;e<arguments.length;e++){var i=c(arguments[e]);for(t=0;t<i.length;t++)this[this.length]=i[t],this.length++}return this}},c.fn=l.prototype,c.unique=function(e){for(var t=[],i=0;i<e.length;i++)-1===t.indexOf(e[i])&&t.push(e[i]);return t},c),p=["jQuery","Zepto","Dom7"],u=0;u<p.length;u++)window[p[u]]&&h(window[p[u]]);function h(e){e.fn.swiper=function(t){var i;return e(this).each(function(){var e=new O(this,t);i||(i=e)}),i}}(d=void 0===R?window.Dom7||window.Zepto||window.jQuery:R)&&("transitionEnd"in d.fn||(d.fn.transitionEnd=function(t){var i,n=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],s=this;function r(e){if(e.target===this)for(t.call(this,e),i=0;i<n.length;i++)s.off(n[i],r)}if(t)for(i=0;i<n.length;i++)s.on(n[i],r);return this}),"transform"in d.fn||(d.fn.transform=function(e){for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=e}return this}),"transition"in d.fn||(d.fn.transition=function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=e}return this}),"outerWidth"in d.fn||(d.fn.outerWidth=function(e){return 0<this.length?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=O}(),e.exports=window.Swiper},function(We,Xe,Ue){var Ge;
87/*! Hammer.JS - v2.0.7 - 2016-04-22
88 * http://hammerjs.github.io/
89 *
90 * Copyright (c) 2016 Jorik Tangelder;
91 * Licensed under the MIT license */
92/*! Hammer.JS - v2.0.7 - 2016-04-22
93 * http://hammerjs.github.io/
94 *
95 * Copyright (c) 2016 Jorik Tangelder;
96 * Licensed under the MIT license */
97!function(r,o,e,m){"use strict";var a,l=["","webkit","Moz","MS","ms","o"],t=o.createElement("div"),i="function",c=Math.round,g=Math.abs,v=Date.now;function d(e,t,i){return setTimeout(b(e,i),t)}function n(e,t,i){return!!Array.isArray(e)&&(p(e,i[t],i),!0)}function p(e,t,i){var n;if(e)if(e.forEach)e.forEach(t,i);else if(e.length!==m)for(n=0;n<e.length;)t.call(i,e[n],n,e),n++;else for(n in e)e.hasOwnProperty(n)&&t.call(i,e[n],n,e)}function s(n,e,t){var s="DEPRECATED METHOD: "+e+"\n"+t+" AT \n";return function(){var e=new Error("get-stack-trace"),t=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=r.console&&(r.console.warn||r.console.log);return i&&i.call(r.console,s,t),n.apply(this,arguments)}}a="function"!=typeof Object.assign?function(e){if(e===m||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),i=1;i<arguments.length;i++){var n=arguments[i];if(n!==m&&null!==n)for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])}return t}:Object.assign;var u=s(function(e,t,i){for(var n=Object.keys(t),s=0;s<n.length;)(!i||i&&e[n[s]]===m)&&(e[n[s]]=t[n[s]]),s++;return e},"extend","Use `assign`."),h=s(function(e,t){return u(e,t,!0)},"merge","Use `assign`.");function f(e,t,i){var n,s=t.prototype;(n=e.prototype=Object.create(s)).constructor=e,n._super=s,i&&a(n,i)}function b(e,t){return function(){return e.apply(t,arguments)}}function y(e,t){return typeof e==i?e.apply(t&&t[0]||m,t):e}function w(e,t){return e===m?t:e}function _(t,e,i){p(S(e),function(e){t.addEventListener(e,i,!1)})}function x(t,e,i){p(S(e),function(e){t.removeEventListener(e,i,!1)})}function T(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function C(e,t){return-1<e.indexOf(t)}function S(e){return e.trim().split(/\s+/g)}function k(e,t,i){if(e.indexOf&&!i)return e.indexOf(t);for(var n=0;n<e.length;){if(i&&e[n][i]==t||!i&&e[n]===t)return n;n++}return-1}function E(e){return Array.prototype.slice.call(e,0)}function N(e,i,t){for(var n=[],s=[],r=0;r<e.length;){var a=i?e[r][i]:e[r];k(s,a)<0&&n.push(e[r]),s[r]=a,r++}return t&&(n=i?n.sort(function(e,t){return e[i]>t[i]}):n.sort()),n}function M(e,t){for(var i,n,s=t[0].toUpperCase()+t.slice(1),r=0;r<l.length;){if((n=(i=l[r])?i+s:t)in e)return n;r++}return m}var $=1;function I(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}var D="ontouchstart"in r,A=M(r,"PointerEvent")!==m,z=D&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),P="touch",L=25,O=1,R=4,B=8,H=1,q=2,F=4,j=8,W=16,X=q|F,U=j|W,G=X|U,Y=["x","y"],V=["clientX","clientY"];function K(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){y(t.options.enable,[t])&&i.handler(e)},this.init()}function Q(e,t,i){var n=i.pointers.length,s=i.changedPointers.length,r=t&O&&n-s==0,a=t&(R|B)&&n-s==0;i.isFirst=!!r,i.isFinal=!!a,r&&(e.session={}),i.eventType=t,function(e,t){var i=e.session,n=t.pointers,s=n.length;i.firstInput||(i.firstInput=Z(t));1<s&&!i.firstMultiple?i.firstMultiple=Z(t):1===s&&(i.firstMultiple=!1);var r=i.firstInput,a=i.firstMultiple,o=a?a.center:r.center,l=t.center=J(n);t.timeStamp=v(),t.deltaTime=t.timeStamp-r.timeStamp,t.angle=ne(o,l),t.distance=ie(o,l),function(e,t){var i=t.center,n=e.offsetDelta||{},s=e.prevDelta||{},r=e.prevInput||{};t.eventType!==O&&r.eventType!==R||(s=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},n=e.offsetDelta={x:i.x,y:i.y});t.deltaX=s.x+(i.x-n.x),t.deltaY=s.y+(i.y-n.y)}(i,t),t.offsetDirection=te(t.deltaX,t.deltaY);var c=ee(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=g(c.x)>g(c.y)?c.x:c.y,t.scale=a?(u=a.pointers,h=n,ie(h[0],h[1],V)/ie(u[0],u[1],V)):1,t.rotation=a?(d=a.pointers,p=n,ne(p[1],p[0],V)+ne(d[1],d[0],V)):0,t.maxPointers=i.prevInput?t.pointers.length>i.prevInput.maxPointers?t.pointers.length:i.prevInput.maxPointers:t.pointers.length,function(e,t){var i,n,s,r,a=e.lastInterval||t,o=t.timeStamp-a.timeStamp;if(t.eventType!=B&&(L<o||a.velocity===m)){var l=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,d=ee(o,l,c);n=d.x,s=d.y,i=g(d.x)>g(d.y)?d.x:d.y,r=te(l,c),e.lastInterval=t}else i=a.velocity,n=a.velocityX,s=a.velocityY,r=a.direction;t.velocity=i,t.velocityX=n,t.velocityY=s,t.direction=r}(i,t);var d,p;var u,h;var f=e.element;T(t.srcEvent.target,f)&&(f=t.srcEvent.target);t.target=f}(e,i),e.emit("hammer.input",i),e.recognize(i),e.session.prevInput=i}function Z(e){for(var t=[],i=0;i<e.pointers.length;)t[i]={clientX:c(e.pointers[i].clientX),clientY:c(e.pointers[i].clientY)},i++;return{timeStamp:v(),pointers:t,center:J(t),deltaX:e.deltaX,deltaY:e.deltaY}}function J(e){var t=e.length;if(1===t)return{x:c(e[0].clientX),y:c(e[0].clientY)};for(var i=0,n=0,s=0;s<t;)i+=e[s].clientX,n+=e[s].clientY,s++;return{x:c(i/t),y:c(n/t)}}function ee(e,t,i){return{x:t/e||0,y:i/e||0}}function te(e,t){return e===t?H:g(e)>=g(t)?e<0?q:F:t<0?j:W}function ie(e,t,i){i||(i=Y);var n=t[i[0]]-e[i[0]],s=t[i[1]]-e[i[1]];return Math.sqrt(n*n+s*s)}function ne(e,t,i){i||(i=Y);var n=t[i[0]]-e[i[0]],s=t[i[1]]-e[i[1]];return 180*Math.atan2(s,n)/Math.PI}K.prototype={handler:function(){},init:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(I(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(I(this.element),this.evWin,this.domHandler)}};var se={mousedown:O,mousemove:2,mouseup:R},re="mousedown",ae="mousemove mouseup";function oe(){this.evEl=re,this.evWin=ae,this.pressed=!1,K.apply(this,arguments)}f(oe,K,{handler:function(e){var t=se[e.type];t&O&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=R),this.pressed&&(t&R&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var le={pointerdown:O,pointermove:2,pointerup:R,pointercancel:B,pointerout:B},ce={2:P,3:"pen",4:"mouse",5:"kinect"},de="pointerdown",pe="pointermove pointerup pointercancel";function ue(){this.evEl=de,this.evWin=pe,K.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(de="MSPointerDown",pe="MSPointerMove MSPointerUp MSPointerCancel"),f(ue,K,{handler:function(e){var t=this.store,i=!1,n=e.type.toLowerCase().replace("ms",""),s=le[n],r=ce[e.pointerType]||e.pointerType,a=r==P,o=k(t,e.pointerId,"pointerId");s&O&&(0===e.button||a)?o<0&&(t.push(e),o=t.length-1):s&(R|B)&&(i=!0),o<0||(t[o]=e,this.callback(this.manager,s,{pointers:t,changedPointers:[e],pointerType:r,srcEvent:e}),i&&t.splice(o,1))}});var he={touchstart:O,touchmove:2,touchend:R,touchcancel:B};function fe(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,K.apply(this,arguments)}f(fe,K,{handler:function(e){var t=he[e.type];if(t===O&&(this.started=!0),this.started){var i=function(e,t){var i=E(e.touches),n=E(e.changedTouches);t&(R|B)&&(i=N(i.concat(n),"identifier",!0));return[i,n]}.call(this,e,t);t&(R|B)&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:i[0],changedPointers:i[1],pointerType:P,srcEvent:e})}}});var me={touchstart:O,touchmove:2,touchend:R,touchcancel:B},ge="touchstart touchmove touchend touchcancel";function ve(){this.evTarget=ge,this.targetIds={},K.apply(this,arguments)}f(ve,K,{handler:function(e){var t=me[e.type],i=function(e,t){var i=E(e.touches),n=this.targetIds;if(t&(2|O)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var s,r,a=E(e.changedTouches),o=[],l=this.target;if(r=i.filter(function(e){return T(e.target,l)}),t===O)for(s=0;s<r.length;)n[r[s].identifier]=!0,s++;s=0;for(;s<a.length;)n[a[s].identifier]&&o.push(a[s]),t&(R|B)&&delete n[a[s].identifier],s++;return o.length?[N(r.concat(o),"identifier",!0),o]:void 0}.call(this,e,t);i&&this.callback(this.manager,t,{pointers:i[0],changedPointers:i[1],pointerType:P,srcEvent:e})}});var be=2500;function ye(){K.apply(this,arguments);var e=b(this.handler,this);this.touch=new ve(this.manager,e),this.mouse=new oe(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function we(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var i={x:t.clientX,y:t.clientY};this.lastTouches.push(i);var n=this.lastTouches;setTimeout(function(){var e=n.indexOf(i);-1<e&&n.splice(e,1)},be)}}f(ye,K,{handler:function(e,t,i){var n=i.pointerType==P,s="mouse"==i.pointerType;if(!(s&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)(function(e,t){e&O?(this.primaryTouch=t.changedPointers[0].identifier,we.call(this,t)):e&(R|B)&&we.call(this,t)}).call(this,t,i);else if(s&&function(e){for(var t=e.srcEvent.clientX,i=e.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var s=this.lastTouches[n],r=Math.abs(t-s.x),a=Math.abs(i-s.y);if(r<=25&&a<=25)return!0}return!1}.call(this,i))return;this.callback(e,t,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var _e=M(t.style,"touchAction"),xe=_e!==m,Te="manipulation",Ce="none",Se="pan-x",ke="pan-y",Ee=function(){if(!xe)return!1;var t={},i=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){t[e]=!i||r.CSS.supports("touch-action",e)}),t}();function Ne(e,t){this.manager=e,this.set(t)}Ne.prototype={set:function(e){"compute"==e&&(e=this.compute()),xe&&this.manager.element.style&&Ee[e]&&(this.manager.element.style[_e]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return p(this.manager.recognizers,function(e){y(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(e){if(C(e,Ce))return Ce;var t=C(e,Se),i=C(e,ke);if(t&&i)return Ce;if(t||i)return t?Se:ke;if(C(e,Te))return Te;return"auto"}(t.join(" "))},preventDefaults:function(e){var t=e.srcEvent,i=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var n=this.actions,s=C(n,Ce)&&!Ee.none,r=C(n,ke)&&!Ee[ke],a=C(n,Se)&&!Ee[Se];if(s){var o=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;if(o&&l&&c)return}if(!a||!r)return s||r&&i&X||a&&i&U?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var Me=1;function $e(e){this.options=a({},this.defaults,e||{}),this.id=$++,this.manager=null,this.options.enable=w(this.options.enable,!0),this.state=Me,this.simultaneous={},this.requireFail=[]}function Ie(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function De(e){return e==W?"down":e==j?"up":e==q?"left":e==F?"right":""}function Ae(e,t){var i=t.manager;return i?i.get(e):e}function ze(){$e.apply(this,arguments)}function Pe(){ze.apply(this,arguments),this.pX=null,this.pY=null}function Le(){ze.apply(this,arguments)}function Oe(){$e.apply(this,arguments),this._timer=null,this._input=null}function Re(){ze.apply(this,arguments)}function Be(){ze.apply(this,arguments)}function He(){$e.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function qe(e,t){return(t=t||{}).recognizers=w(t.recognizers,qe.defaults.preset),new Fe(e,t)}$e.prototype={defaults:{},set:function(e){return a(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(n(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=Ae(e,this)).id]||(t[e.id]=e).recognizeWith(this),this},dropRecognizeWith:function(e){return n(e,"dropRecognizeWith",this)||(e=Ae(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(n(e,"requireFailure",this))return this;var t=this.requireFail;return-1===k(t,e=Ae(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(n(e,"dropRequireFailure",this))return this;e=Ae(e,this);var t=k(this.requireFail,e);return-1<t&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(t){var i=this,e=this.state;function n(e){i.manager.emit(e,t)}e<8&&n(i.options.event+Ie(e)),n(i.options.event),t.additionalEvent&&n(t.additionalEvent),8<=e&&n(i.options.event+Ie(e))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(32|Me)))return!1;e++}return!0},recognize:function(e){var t=a({},e);if(!y(this.options.enable,[this,t]))return this.reset(),void(this.state=32);56&this.state&&(this.state=Me),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},f(ze,$e,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,i=e.eventType,n=6&t,s=this.attrTest(e);return n&&(i&B||!s)?16|t:n||s?i&R?8|t:2&t?4|t:2:32}}),f(Pe,ze,{defaults:{event:"pan",threshold:10,pointers:1,direction:G},getTouchAction:function(){var e=this.options.direction,t=[];return e&X&&t.push(ke),e&U&&t.push(Se),t},directionTest:function(e){var t=this.options,i=!0,n=e.distance,s=e.direction,r=e.deltaX,a=e.deltaY;return s&t.direction||(n=t.direction&X?(s=0===r?H:r<0?q:F,i=r!=this.pX,Math.abs(e.deltaX)):(s=0===a?H:a<0?j:W,i=a!=this.pY,Math.abs(e.deltaY))),e.direction=s,i&&n>t.threshold&&s&t.direction},attrTest:function(e){return ze.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=De(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),f(Le,ze,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ce]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),f(Oe,$e,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,i=e.pointers.length===t.pointers,n=e.distance<t.threshold,s=e.deltaTime>t.time;if(this._input=e,!n||!i||e.eventType&(R|B)&&!s)this.reset();else if(e.eventType&O)this.reset(),this._timer=d(function(){this.state=8,this.tryEmit()},t.time,this);else if(e.eventType&R)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&e.eventType&R?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=v(),this.manager.emit(this.options.event,this._input)))}}),f(Re,ze,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ce]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),f(Be,ze,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:X|U,pointers:1},getTouchAction:function(){return Pe.prototype.getTouchAction.call(this)},attrTest:function(e){var t,i=this.options.direction;return i&(X|U)?t=e.overallVelocity:i&X?t=e.overallVelocityX:i&U&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&i&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&g(t)>this.options.velocity&&e.eventType&R},emit:function(e){var t=De(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),f(He,$e,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Te]},process:function(e){var t=this.options,i=e.pointers.length===t.pointers,n=e.distance<t.threshold,s=e.deltaTime<t.time;if(this.reset(),e.eventType&O&&0===this.count)return this.failTimeout();if(n&&s&&i){if(e.eventType!=R)return this.failTimeout();var r=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||ie(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&r?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=d(function(){this.state=8,this.tryEmit()},t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=d(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),qe.VERSION="2.0.7",qe.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Re,{enable:!1}],[Le,{enable:!1},["rotate"]],[Be,{direction:X}],[Pe,{direction:X},["swipe"]],[He],[He,{event:"doubletap",taps:2},["tap"]],[Oe]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Fe(e,t){var i;this.options=a({},qe.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((i=this).options.inputClass||(A?ue:z?ve:D?ye:oe))(i,Q),this.touchAction=new Ne(this,this.options.touchAction),je(this,!0),p(this.options.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function je(i,n){var s,r=i.element;r.style&&(p(i.options.cssProps,function(e,t){s=M(r.style,t),r.style[s]=n?(i.oldCssProps[s]=r.style[s],e):i.oldCssProps[s]||""}),n||(i.oldCssProps={}))}Fe.prototype={set:function(e){return a(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var i;this.touchAction.preventDefaults(e);var n=this.recognizers,s=t.curRecognizer;(!s||s&&8&s.state)&&(s=t.curRecognizer=null);for(var r=0;r<n.length;)i=n[r],2===t.stopped||s&&i!=s&&!i.canRecognizeWith(s)?i.reset():i.recognize(e),!s&&14&i.state&&(s=t.curRecognizer=i),r++}},get:function(e){if(e instanceof $e)return e;for(var t=this.recognizers,i=0;i<t.length;i++)if(t[i].options.event==e)return t[i];return null},add:function(e){if(n(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),(e.manager=this).touchAction.update(),e},remove:function(e){if(n(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,i=k(t,e);-1!==i&&(t.splice(i,1),this.touchAction.update())}return this},on:function(e,t){if(e!==m&&t!==m){var i=this.handlers;return p(S(e),function(e){i[e]=i[e]||[],i[e].push(t)}),this}},off:function(e,t){if(e!==m){var i=this.handlers;return p(S(e),function(e){t?i[e]&&i[e].splice(k(i[e],t),1):delete i[e]}),this}},emit:function(e,t){var i,n,s;this.options.domEvents&&(i=e,n=t,(s=o.createEvent("Event")).initEvent(i,!0,!0),(s.gesture=n).target.dispatchEvent(s));var r=this.handlers[e]&&this.handlers[e].slice();if(r&&r.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var a=0;a<r.length;)r[a](t),a++}},destroy:function(){this.element&&je(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},a(qe,{INPUT_START:O,INPUT_MOVE:2,INPUT_END:R,INPUT_CANCEL:B,STATE_POSSIBLE:Me,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:H,DIRECTION_LEFT:q,DIRECTION_RIGHT:F,DIRECTION_UP:j,DIRECTION_DOWN:W,DIRECTION_HORIZONTAL:X,DIRECTION_VERTICAL:U,DIRECTION_ALL:G,Manager:Fe,Input:K,TouchAction:Ne,TouchInput:ve,MouseInput:oe,PointerEventInput:ue,TouchMouseInput:ye,SingleTouchInput:fe,Recognizer:$e,AttrRecognizer:ze,Tap:He,Pan:Pe,Swipe:Be,Pinch:Le,Rotate:Re,Press:Oe,on:_,off:x,each:p,merge:h,extend:u,assign:a,inherit:f,bindFn:b,prefixed:M}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=qe,(Ge=function(){return qe}.call(Xe,Ue,Xe,We))===m||(We.exports=Ge)}(window,document)},function(t,e,i){(function(e){t.exports=e.hljs=i(24)}).call(this,i(1))},function(e,t,i){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
98/*! highlight.js v9.12.0 | BSD3 License | git.io/hljslicense */!function(e){"object"==("undefined"==typeof window?"undefined":n(window))&&window||"object"==("undefined"==typeof self?"undefined":n(self))&&self;!function(s){function b(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function u(e){return e.nodeName.toLowerCase()}function y(e,t){var i=e&&e.exec(t);return i&&0===i.index}function h(e){return n.test(e)}function c(e){var t,i={},n=Array.prototype.slice.call(arguments,1);for(t in e)i[t]=e[t];return n.forEach(function(e){for(t in e)i[t]=e[t]}),i}function f(e){var s=[];return function e(t,i){for(var n=t.firstChild;n;n=n.nextSibling)3===n.nodeType?i+=n.nodeValue.length:1===n.nodeType&&(s.push({event:"start",offset:i,node:n}),i=e(n,i),u(n).match(/br|hr|img|input/)||s.push({event:"stop",offset:i,node:n}));return i}(e,0),s}function w(a){function o(e){return e&&e.source||e}function l(e,t){return new RegExp(o(e),"m"+(a.cI?"i":"")+(t?"g":""))}!function t(i,e){if(!i.compiled){if(i.compiled=!0,i.k=i.k||i.bK,i.k){var n={},s=function(i,e){a.cI&&(e=e.toLowerCase()),e.split(" ").forEach(function(e){var t=e.split("|");n[t[0]]=[i,t[1]?Number(t[1]):1]})};"string"==typeof i.k?s("keyword",i.k):d(i.k).forEach(function(e){s(e,i.k[e])}),i.k=n}i.lR=l(i.l||/\w+/,!0),e&&(i.bK&&(i.b="\\b("+i.bK.split(" ").join("|")+")\\b"),i.b||(i.b=/\B|\b/),i.bR=l(i.b),i.e||i.eW||(i.e=/\B|\b/),i.e&&(i.eR=l(i.e)),i.tE=o(i.e)||"",i.eW&&e.tE&&(i.tE+=(i.e?"|":"")+e.tE)),i.i&&(i.iR=l(i.i)),null==i.r&&(i.r=1),i.c||(i.c=[]),i.c=Array.prototype.concat.apply([],i.c.map(function(e){return(t="self"===e?i:e).v&&!t.cached_variants&&(t.cached_variants=t.v.map(function(e){return c(t,{v:null},e)})),t.cached_variants||t.eW&&[c(t)]||[t];var t})),i.c.forEach(function(e){t(e,i)}),i.starts&&t(i.starts,e);var r=i.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([i.tE,i.i]).map(o).filter(Boolean);i.t=r.length?l(r.join("|"),!0):{exec:function(){return null}}}}(a)}function _(e,t,o,i){function l(e,t,i,n){var s=n?"":E.classPrefix,r='<span class="'+s,a=i?"":k;return(r+=e+'">')+t+a}function c(){h+=null!=u.sL?function(){var e="string"==typeof u.sL;if(e&&!C[u.sL])return b(f);var t=e?_(u.sL,f,!0,r[u.sL]):x(f,u.sL.length?u.sL:void 0);return 0<u.r&&(m+=t.r),e&&(r[u.sL]=t.top),l(t.language,t.value,!1,!0)}():function(){var e,t,i,n;if(!u.k)return b(f);for(n="",t=0,u.lR.lastIndex=0,i=u.lR.exec(f);i;)n+=b(f.substring(t,i.index)),s=u,r=i,void 0,a=p.cI?r[0].toLowerCase():r[0],(e=s.k.hasOwnProperty(a)&&s.k[a])?(m+=e[1],n+=l(e[0],b(i[0]))):n+=b(i[0]),t=u.lR.lastIndex,i=u.lR.exec(f);var s,r,a;return n+b(f.substr(t))}(),f=""}function d(e){h+=e.cN?l(e.cN,"",!0):"",u=Object.create(e,{parent:{value:u}})}function n(e,t){if(f+=e,null==t)return c(),0;var i=function(e,t){var i,n;for(i=0,n=t.c.length;i<n;i++)if(y(t.c[i].bR,e))return t.c[i]}(t,u);if(i)return i.skip?f+=t:(i.eB&&(f+=t),c(),i.rB||i.eB||(f=t)),d(i),i.rB?0:t.length;var n,s,r=function e(t,i){if(y(t.eR,i)){for(;t.endsParent&&t.parent;)t=t.parent;return t}return t.eW?e(t.parent,i):void 0}(u,t);if(r){var a=u;for(a.skip?f+=t:(a.rE||a.eE||(f+=t),c(),a.eE&&(f=t));u.cN&&(h+=k),u.skip||(m+=u.r),(u=u.parent)!==r.parent;);return r.starts&&d(r.starts),a.rE?0:t.length}if(n=t,s=u,!o&&y(s.iR,n))throw new Error('Illegal lexeme "'+t+'" for mode "'+(u.cN||"<unnamed>")+'"');return f+=t,t.length||1}var p=T(e);if(!p)throw new Error('Unknown language: "'+e+'"');w(p);var s,u=i||p,r={},h="";for(s=u;s!==p;s=s.parent)s.cN&&(h=l(s.cN,"",!0)+h);var f="",m=0;try{for(var a,g,v=0;u.t.lastIndex=v,a=u.t.exec(t);)g=n(t.substring(v,a.index),a[0]),v=a.index+g;for(n(t.substr(v)),s=u;s.parent;s=s.parent)s.cN&&(h+=k);return{r:m,value:h,language:e,top:u}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{r:0,value:b(t)};throw e}}function x(i,e){e=e||E.languages||d(C);var n={r:0,value:b(i)},s=n;return e.filter(T).forEach(function(e){var t=_(e,i,!1);t.language=e,t.r>s.r&&(s=t),t.r>n.r&&(s=n,n=t)}),s.language&&(n.second_best=s),n}function m(e){return E.tabReplace||E.useBR?e.replace(r,function(e,t){return E.useBR&&"\n"===e?"<br>":E.tabReplace?t.replace(/\t/g,E.tabReplace):""}):e}function t(e){var t,i,n,s,r,a,o,l,c,d,p=function(e){var t,i,n,s,r=e.className+" ";if(r+=e.parentNode?e.parentNode.className:"",i=S.exec(r))return T(i[1])?i[1]:"no-highlight";for(r=r.split(/\s+/),t=0,n=r.length;t<n;t++)if(h(s=r[t])||T(s))return s}(e);h(p)||(E.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):t=e,r=t.textContent,n=p?_(p,r,!0):x(r),(i=f(t)).length&&((s=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=n.value,n.value=function(e,t,i){function n(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t}function s(e){function t(e){return" "+e.nodeName+'="'+b(e.value).replace('"',""")+'"'}l+="<"+u(e)+g.map.call(e.attributes,t).join("")+">"}function r(e){l+="</"+u(e)+">"}function a(e){("start"===e.event?s:r)(e.node)}for(var o=0,l="",c=[];e.length||t.length;){var d=n();if(l+=b(i.substring(o,d[0].offset)),o=d[0].offset,d===e){for(c.reverse().forEach(r);a(d.splice(0,1)[0]),(d=n())===e&&d.length&&d[0].offset===o;);c.reverse().forEach(s)}else"start"===d[0].event?c.push(d[0].node):c.pop(),a(d.splice(0,1)[0])}return l+b(i.substr(o))}(i,f(s),r)),n.value=m(n.value),e.innerHTML=n.value,e.className=(a=e.className,o=p,l=n.language,c=o?v[o]:l,d=[a.trim()],a.match(/\bhljs\b/)||d.push("hljs"),-1===a.indexOf(c)&&d.push(c),d.join(" ").trim()),e.result={language:n.language,re:n.r},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.r}))}function i(){if(!i.called){i.called=!0;var e=document.querySelectorAll("pre code");g.forEach.call(e,t)}}function T(e){return e=(e||"").toLowerCase(),C[e]||C[v[e]]}var g=[],d=Object.keys,C={},v={},n=/^(no-?highlight|plain|text)$/i,S=/\blang(?:uage)?-([\w-]+)\b/i,r=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,k="</span>",E={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};s.highlight=_,s.highlightAuto=x,s.fixMarkup=m,s.highlightBlock=t,s.configure=function(e){E=c(E,e)},s.initHighlighting=i,s.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",i,!1),addEventListener("load",i,!1)},s.registerLanguage=function(t,e){var i=C[t]=e(s);i.aliases&&i.aliases.forEach(function(e){v[e]=t})},s.listLanguages=function(){return d(C)},s.getLanguage=T,s.inherit=c,s.IR="[a-zA-Z]\\w*",s.UIR="[a-zA-Z_]\\w*",s.NR="\\b\\d+(\\.\\d+)?",s.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",s.BNR="\\b(0b[01]+)",s.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",s.BE={b:"\\\\[\\s\\S]",r:0},s.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[s.BE]},s.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[s.BE]},s.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},s.C=function(e,t,i){var n=s.inherit({cN:"comment",b:e,e:t,c:[]},i||{});return n.c.push(s.PWM),n.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),n},s.CLCM=s.C("//","$"),s.CBCM=s.C("/\\*","\\*/"),s.HCM=s.C("#","$"),s.NM={cN:"number",b:s.NR,r:0},s.CNM={cN:"number",b:s.CNR,r:0},s.BNM={cN:"number",b:s.BNR,r:0},s.CSSNM={cN:"number",b:s.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},s.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[s.BE,{b:/\[/,e:/\]/,r:0,c:[s.BE]}]},s.TM={cN:"title",b:s.IR,r:0},s.UTM={cN:"title",b:s.UIR,r:0},s.METHOD_GUARD={b:"\\.\\s*"+s.UIR,r:0},s.registerLanguage("apache",function(e){var t={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:"</?",e:">"},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",t]},t,e.QSM]}}],i:/\S/}}),s.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},i={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]};return{aliases:["sh","zsh"],l:/\b-?[a-z\._]+\b/,k:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,i,{cN:"string",b:/'/,e:/'/},t]}}),s.registerLanguage("coffeescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},i="[A-Za-z$_][0-9A-Za-z$_]*",n={cN:"subst",b:/#\{/,e:/}/,k:t},s=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,n]},{b:/"/,e:/"/,c:[e.BE,n]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[n,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+i},{sL:"javascript",eB:!0,eE:!0,v:[{b:"```",e:"```"},{b:"`",e:"`"}]}];n.c=s;var r=e.inherit(e.TM,{b:i}),a="(\\(.*\\))?\\s*\\B[-=]>",o={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:t,c:["self"].concat(s)}]};return{aliases:["coffee","cson","iced"],k:t,i:/\/\*/,c:s.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+i+"\\s*=\\s*"+a,e:"[-=]>",rB:!0,c:[r,o]},{b:/[:\(,=]\s*/,r:0,c:[{cN:"function",b:a,e:"[-=]>",rB:!0,c:[o]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[r]},r]},{b:i+":",e:":",rB:!0,rE:!0,r:0}])}}),s.registerLanguage("cpp",function(e){var t={cN:"keyword",b:"\\b[a-z\\d_]*_t\\b"},i={cN:"string",v:[{b:'(u8?|U)?L?"',e:'"',i:"\\n",c:[e.BE]},{b:'(u8?|U)?R"',e:'"',c:[e.BE]},{b:"'\\\\?.",e:"'",i:"."}]},n={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},s={cN:"meta",b:/#\s*[a-z]+\b/,e:/$/,k:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},c:[{b:/\\\n/,r:0},e.inherit(i,{cN:"meta-string"}),{cN:"meta-string",b:/<[^\n>]*>/,e:/$/,i:"\\n"},e.CLCM,e.CBCM]},r=e.IR+"\\s*\\(",a={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr",literal:"true false nullptr NULL"},o=[t,e.CLCM,e.CBCM,n,i];return{aliases:["c","cc","h","c++","h++","hpp"],k:a,i:"</",c:o.concat([s,{b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:a,c:["self",t]},{b:e.IR+"::",k:a},{v:[{b:/=/,e:/;/},{b:/\(/,e:/\)/},{bK:"new throw return else",e:/;/}],k:a,c:o.concat([{b:/\(/,e:/\)/,k:a,c:o.concat(["self"]),r:0}]),r:0},{cN:"function",b:"("+e.IR+"[\\*&\\s]+)+"+r,rB:!0,e:/[{;=]/,eE:!0,k:a,i:/[^\w\s\*&]/,c:[{b:r,rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:a,r:0,c:[e.CLCM,e.CBCM,i,n,t]},e.CLCM,e.CBCM,s]},{cN:"class",bK:"class struct",e:/[{;:]/,c:[{b:/</,e:/>/,c:["self"]},e.TM]}]),exports:{preprocessor:s,strings:i,k:a}}}),s.registerLanguage("cs",function(e){var t={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long nameof object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield",literal:"null false true"},i={cN:"string",b:'@"',e:'"',c:[{b:'""'}]},n=e.inherit(i,{i:/\n/}),s={cN:"subst",b:"{",e:"}",k:t},r=e.inherit(s,{i:/\n/}),a={cN:"string",b:/\$"/,e:'"',i:/\n/,c:[{b:"{{"},{b:"}}"},e.BE,r]},o={cN:"string",b:/\$@"/,e:'"',c:[{b:"{{"},{b:"}}"},{b:'""'},s]},l=e.inherit(o,{i:/\n/,c:[{b:"{{"},{b:"}}"},{b:'""'},r]});s.c=[o,a,i,e.ASM,e.QSM,e.CNM,e.CBCM],r.c=[l,a,n,e.ASM,e.QSM,e.CNM,e.inherit(e.CBCM,{i:/\n/})];var c={v:[o,a,i,e.ASM,e.QSM]},d=e.IR+"(<"+e.IR+"(\\s*,\\s*"+e.IR+")*>)?(\\[\\])?";return{aliases:["csharp"],k:t,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"doctag",v:[{b:"///",r:0},{b:"\x3c!--|--\x3e"},{b:"</?",e:">"}]}]}),e.CLCM,e.CBCM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},c,e.CNM,{bK:"class interface",e:/[{;=]/,i:/[^\s:]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"namespace",e:/[{;=]/,i:/[^\s:]/,c:[e.inherit(e.TM,{b:"[a-zA-Z](\\.?\\w)*"}),e.CLCM,e.CBCM]},{cN:"meta",b:"^\\s*\\[",eB:!0,e:"\\]",eE:!0,c:[{cN:"meta-string",b:/"/,e:/"/}]},{bK:"new return throw await else",r:0},{cN:"function",b:"("+d+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:t,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,r:0,c:[c,e.CNM,e.CBCM]},e.CLCM,e.CBCM]}]}}),s.registerLanguage("css",function(e){var t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:"[a-zA-Z-][a-zA-Z0-9_-]*",r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}}),s.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"meta",r:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"comment",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\-{3}/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+{3}/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"addition",b:"^\\!",e:"$"}]}}),s.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}}),s.registerLanguage("ini",function(e){var t={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},t,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}}),s.registerLanguage("java",function(e){var t="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",i={cN:"number",b:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",r:0};return{aliases:["jsp"],k:t,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return else",r:0},{cN:"function",b:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:t,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:t,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},i,{cN:"meta",b:"@[A-Za-z]+"}]}}),s.registerLanguage("javascript",function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",i={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},n={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},s={cN:"subst",b:"\\$\\{",e:"\\}",k:i,c:[]},r={cN:"string",b:"`",e:"`",c:[e.BE,s]};s.c=[e.ASM,e.QSM,r,n,e.RM];var a=s.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:i,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,r,e.CLCM,e.CBCM,n,{b:/[{,]\s*/,r:0,c:[{b:t+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:t,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+t+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:t},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:i,c:a}]}]},{b:/</,e:/(\/\w+|\w+\/)>/,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:t}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:a}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}}),s.registerLanguage("json",function(e){var t={literal:"true false null"},i=[e.QSM,e.CNM],n={e:",",eW:!0,eE:!0,c:i,k:t},s={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(n,{b:/:/})],i:"\\S"},r={b:"\\[",e:"\\]",c:[e.inherit(n)],i:"\\S"};return i.splice(i.length,0,s,r),{c:i,k:t,i:"\\S"}}),s.registerLanguage("makefile",function(e){var t={cN:"variable",v:[{b:"\\$\\("+e.UIR+"\\)",c:[e.BE]},{b:/\$[@%<?\^\+\*]/}]},i={cN:"string",b:/"/,e:/"/,c:[e.BE,t]},n={cN:"variable",b:/\$\([\w-]+\s/,e:/\)/,k:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},c:[t]},s={b:"^"+e.UIR+"\\s*[:+?]?=",i:"\\n",rB:!0,c:[{b:"^"+e.UIR,e:"[:+?]?=",eE:!0}]},r={cN:"section",b:/^[^\s]+:/,e:/$/,c:[t]};return{aliases:["mk","mak"],k:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath",l:/[\w-]+/,c:[e.HCM,t,i,n,s,{cN:"meta",b:/^\.PHONY:/,e:/$/,k:{"meta-keyword":".PHONY"},l:/[\.\w]+/},r]}}),s.registerLanguage("xml",function(e){var t={eW:!0,i:/</,r:0,c:[{cN:"attr",b:"[A-Za-z0-9\\._:-]+",r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("\x3c!--","--\x3e",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[t],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[t],starts:{e:"<\/script>",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}}),s.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}|\t)",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}}),s.registerLanguage("nginx",function(e){var t={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},i={eW:!0,l:"[a-z/_]+",k:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,t],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[t]},{cN:"regexp",c:[e.BE,t],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},t]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],r:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:i}],r:0}],i:"[^\\s\\}]"}}),s.registerLanguage("objectivec",function(e){var t=/[a-zA-Z@][a-zA-Z0-9_]*/,i="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],k:{keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},l:t,i:"</",c:[{cN:"built_in",b:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.CLCM,e.CBCM,e.CNM,e.QSM,{cN:"string",v:[{b:'@"',e:'"',i:"\\n",c:[e.BE]},{b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"}]},{cN:"meta",b:"#",e:"$",c:[{cN:"meta-string",v:[{b:'"',e:'"'},{b:"<",e:">"}]}]},{cN:"class",b:"("+i.split(" ").join("|")+")\\b",e:"({|$)",eE:!0,k:i,l:t,c:[e.UTM]},{b:"\\."+e.UIR,r:0}]}}),s.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",i={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},n={b:"->{",e:"}"},s={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},r=[e.BE,i,s],a=[s,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),n,{cN:"string",c:r,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"function",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",eE:!0,r:5,c:[e.TM]},{b:"-\\w\\b",r:0},{b:"^__DATA__$",e:"^__END__$",sL:"mojolicious",c:[{b:"^@@.*",e:"$",cN:"comment"}]}];return i.c=a,n.c=a,{aliases:["pl","pm"],l:/[\w\.]+/,k:t,c:a}}),s.registerLanguage("php",function(e){var t={b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},i={cN:"meta",b:/<\?(php)?|\?>/},n={cN:"string",c:[e.BE,i],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},s={v:[e.BNM,e.CNM]};return{aliases:["php3","php4","php5","php6"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.HCM,e.C("//","$",{c:[i]}),e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:/<<<['"]?\w+['"]?$/,e:/^\w+;?$/,c:[e.BE,{cN:"subst",v:[{b:/\$\w+/},{b:/\{\$/,e:/\}/}]}]},i,{cN:"keyword",b:/\$this\b/},t,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",t,e.CBCM,n,s]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},n,s]}}),s.registerLanguage("python",function(e){var t={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},i={cN:"meta",b:/^(>>>|\.\.\.) /},n={cN:"subst",b:/\{/,e:/\}/,k:t,i:/#/},s={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[i],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[i],r:10},{b:/(fr|rf|f)'''/,e:/'''/,c:[i,n]},{b:/(fr|rf|f)"""/,e:/"""/,c:[i,n]},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},{b:/(fr|rf|f)'/,e:/'/,c:[n]},{b:/(fr|rf|f)"/,e:/"/,c:[n]},e.ASM,e.QSM]},r={cN:"number",r:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},a={cN:"params",b:/\(/,e:/\)/,c:["self",i,r,s]};return n.c=[s,r,i],{aliases:["py","gyp"],k:t,i:/(<\/|->|\?)|=>/,c:[i,r,s,e.HCM,{v:[{cN:"function",bK:"def"},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,a,{b:/->/,eW:!0,k:"None"}]},{cN:"meta",b:/^[\t ]*@/,e:/$/},{b:/\b(print|exec)\(/}]}}),s.registerLanguage("ruby",function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",i={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},n={cN:"doctag",b:"@[A-Za-z]+"},s={b:"#<",e:">"},r=[e.C("#","$",{c:[n]}),e.C("^\\=begin","^\\=end",{c:[n],r:10}),e.C("^__END__","\\n$")],a={cN:"subst",b:"#\\{",e:"}",k:i},o={cN:"string",c:[e.BE,a],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},l={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:i},c=[o,s,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(r)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:t}),l].concat(r)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[o,{b:t}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:i},{b:"("+e.RSR+"|unless)\\s*",k:"unless",c:[s,{cN:"regexp",c:[e.BE,a],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(r),r:0}].concat(r);a.c=c,l.c=c;var d=[{b:/^\s*=>/,starts:{e:"$",c:c}},{cN:"meta",b:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{e:"$",c:c}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:i,i:/\/\*/,c:r.concat(d).concat(c)}}),s.registerLanguage("shell",function(e){return{aliases:["console"],c:[{cN:"meta",b:"^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]",starts:{e:"$",sL:"bash"}}]}}),s.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>{}*#]/,c:[{bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment",e:/;/,eW:!0,l:/[\w\.]+/,k:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t]},e.CBCM,t]}})}(t)}()}]]);