PageSourceSearch

https://entrees.es/js/app.js?v=8028def4869321ad94bb024acce7730a

js entrees.es collected 2026-09-25 14:58:26 UTC 308,456 bytes, 1 lines download raw bytes

vendor: 29,323 bytes, line 1
1if(function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var n=[],i=Object.getPrototypeOf,s=n.slice,o=n.flat?function(t){return n.flat.call(t)}:function(t){return n.concat.apply([],t)},r=n.push,a=n.indexOf,l={},c=l.toString,u=l.hasOwnProperty,d=u.toString,h=d.call(Object),f={},p=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},m=function(t){return null!=t&&t===t.window},g=t.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(t,e,n){var i,s,o=(n=n||g).createElement("script");if(o.text=t,e)for(i in v)(s=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,s);n.head.appendChild(o).parentNode.removeChild(o)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[c.call(t)]||"object":typeof t}var w="3.6.1",_=function(t,e){return new _.fn.init(t,e)};function k(t){var e=!!t&&"length"in t&&t.length,n=b(t);return!p(t)&&!m(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}_.fn=_.prototype={jquery:w,constructor:_,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=_.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return _.each(this,t)},map:function(t){return this.pushStack(_.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(_.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:r,sort:n.sort,splice:n.splice},_.extend=_.fn.extend=function(){var t,e,n,i,s,o,r=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[a]||{},a++),"object"==typeof r||p(r)||(r={}),a===l&&(r=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&r!==i&&(c&&i&&(_.isPlainObject(i)||(s=Array.isArray(i)))?(n=r[e],o=s&&!Array.isArray(n)?[]:s||_.isPlainObject(n)?n:{},s=!1,r[e]=_.extend(c,o,i)):void 0!==i&&(r[e]=i));return r},_.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==c.call(t)||(e=i(t))&&("function"!=typeof(n=u.call(e,"constructor")&&e.constructor)||d.call(n)!==h))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){y(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(k(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(k(Object(t))?_.merge(n,"string"==typeof t?[t]:t):r.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:a.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,s=t.length;i<n;i++)t[s++]=e[i];return t.length=s,t},grep:function(t,e,n){for(var i=[],s=0,o=t.length,r=!n;s<o;s++)!e(t[s],s)!==r&&i.push(t[s]);return i},map:function(t,e,n){var i,s,r=0,a=[];if(k(t))for(i=t.length;r<i;r++)null!=(s=e(t[r],r,n))&&a.push(s);else for(r in t)null!=(s=e(t[r],r,n))&&a.push(s);return o(a)},guid:1,support:f}),"function"==typeof Symbol&&(_.fn[Symbol.iterator]=n[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()});var x=function(t){var e,n,i,s,o,r,a,l,c,u,d,h,f,p,m,g,v,y,b,w="sizzle"+1*new Date,_=t.document,k=0,x=0,S=lt(),T=lt(),C=lt(),$=lt(),D=function(t,e){return t===e&&(d=!0),0},A={}.hasOwnProperty,O=[],M=O.pop,E=O.push,N=O.push,I=O.slice,L=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="[\\x20\\t\\r\\n\\f]",P="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\["+j+"*("+P+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+j+"*\\]",Y=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",F=new RegExp(j+"+","g"),q=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),W=new RegExp("^"+j+"*,"+j+"*"),z=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),U=new RegExp(j+"|>"),B=new RegExp(Y),V=new RegExp("^"+P+"$"),G={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+Y),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,st=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){h()},rt=wt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(O=I.call(_.childNodes),_.childNodes),O[_.childNodes.length].nodeType}catch(e){N={apply:O.length?function(t,e){E.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function at(t,e,i,s){var o,a,c,u,d,p,v,y=e&&e.ownerDocument,_=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return i;if(!s&&(h(e),e=e||f,m)){if(11!==_&&(d=Z.exec(t)))if(o=d[1]){if(9===_){if(!(c=e.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(y&&(c=y.getElementById(o))&&b(e,c)&&c.id===o)return i.push(c),i}else{if(d[2])return N.apply(i,e.getElementsByTagName(t)),i;if((o=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return N.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!$[t+" "]&&(!g||!g.test(t))&&(1!==_||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===_&&(U.test(t)||z.test(t))){for((y=tt.test(t)&&vt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(it,st):e.setAttribute("id",u=w)),a=(p=r(t)).length;a--;)p[a]=(u?"#"+u:":scope")+" "+bt(p[a]);v=p.join(",")}try{return N.apply(i,y.querySelectorAll(v)),i}catch(e){$(t,!0)}finally{u===w&&e.removeAttribute("id")}}}return l(t.replace(q,"$1"),e,i,s)}function lt(){var t=[];return function e(n,s){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=s}}function ct(t){return t[w]=!0,t}function ut(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),s=n.length;s--;)i.attrHandle[n[s]]=e}function ht(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function mt(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&&rt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ct(function(e){return e=+e,ct(function(n,i){for(var s,o=t([],n.length,e),r=o.length;r--;)n[s=o[r]]&&(n[s]=!(i[s]=n[s]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=at.support={},o=at.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!Q.test(e||n&&n.nodeName||"HTML")},h=at.setDocument=function(t){var e,s,r=t?t.ownerDocument||t:_;return r!=f&&9===r.nodeType&&r.documentElement&&(p=(f=r).documentElement,m=!o(f),_!=f&&(s=f.defaultView)&&s.top!==s&&(s.addEventListener?s.addEventListener("unload",ot,!1):s.attachEvent&&s.attachEvent("onunload",ot)),n.scope=ut(function(t){return p.appendChild(t).appendChild(f.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),n.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ut(function(t){return t.appendChild(f.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(f.getElementsByClassName),n.getById=ut(function(t){return p.appendChild(t).id=w,!f.getElementsByName||!f.getElementsByName(w).length}),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n,i,s,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(s=e.getElementsByName(t),i=0;o=s[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],s=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[s++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&m)return e.getElementsByClassName(t)},v=[],g=[],(n.qsa=J.test(f.querySelectorAll))&&(ut(function(t){var e;p.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+j+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+j+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+w+"-]").length||g.push("~="),(e=f.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||g.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]"),t.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ut(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=f.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+j+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ut(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",Y)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),e=J.test(p.compareDocumentPosition),b=e||J.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},D=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==f||t.ownerDocument==_&&b(_,t)?-1:e==f||e.ownerDocument==_&&b(_,e)?1:u?L(u,t)-L(u,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,s=t.parentNode,o=e.parentNode,r=[t],a=[e];if(!s||!o)return t==f?-1:e==f?1:s?-1:o?1:u?L(u,t)-L(u,e):0;if(s===o)return ht(t,e);for(n=t;n=n.parentNode;)r.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;r[i]===a[i];)i++;return i?ht(r[i],a[i]):r[i]==_?-1:a[i]==_?1:0}),f},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(h(t),n.matchesSelector&&m&&!$[e+" "]&&(!v||!v.test(e))&&(!g||!g.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){$(e,!0)}return 0<at(e,f,null,[t]).length},at.contains=function(t,e){return(t.ownerDocument||t)!=f&&h(t),b(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=f&&h(t);var s=i.attrHandle[e.toLowerCase()],o=s&&A.call(i.attrHandle,e.toLowerCase())?s(t,e,!m):void 0;return void 0!==o?o:n.attributes||!m?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},at.escape=function(t){return(t+"").replace(it,st)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],s=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(D),d){for(;e=t[o++];)e===t[o]&&(s=i.push(o));for(;s--;)t.splice(i[s],1)}return u=null,t},s=at.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=s(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=s(e);return n},(i=at.selectors={cacheLength:50,createPseudo:ct,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&B.test(n)&&(e=r(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+j+")"+t+"("+j+"|$)"))&&S(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var s=at.attr(i,t);return null==s?"!="===e:!e||(s+="","="===e?s===n:"!="===e?s!==n:"^="===e?n&&0===s.indexOf(n):"*="===e?n&&-1<s.indexOf(n):"$="===e?n&&s.slice(-n.length)===n:"~="===e?-1<(" "+s.replace(F," ")+" ").indexOf(n):"|="===e&&(s===n||s.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,s){var o="nth"!==t.slice(0,3),r="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===s?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,h,f,p,m=o!==r?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[r?g.firstChild:g.lastChild],r&&y){for(b=(f=(c=(u=(d=(h=g)[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===k&&c[1])&&c[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){u[t]=[k,f,b];break}}else if(y&&(b=f=(c=(u=(d=(h=e)[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===k&&c[1]),!1===b)for(;(h=++f&&h&&h[m]||(b=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&((u=(d=h[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]=[k,b]),h!==e)););return(b-=s)===i||b%i==0&&0<=b/i}}},PSEUDO:function(t,e){var n,s=i.pseudos[t]||i.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return s[w]?s(e):1<s.length?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ct(function(t,n){for(var i,o=s(t,e),r=o.length;r--;)t[i=L(t,o[r])]=!(n[i]=o[r])}):function(t){return s(t,0,n)}):s}},pseudos:{not:ct(function(t){var e=[],n=[],i=a(t.replace(q,"$1"));return i[w]?ct(function(t,e,n,s){for(var o,r=i(t,null,s,[]),a=t.length;a--;)(o=r[a])&&(t[a]=!(e[a]=o))}):function(t,s,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:ct(function(t){return function(e){return 0<at(t,e).length}}),contains:ct(function(t){return t=t.replace(et,nt),function(e){return-1<(e.textContent||s(e)).indexOf(t)}}),lang:ct(function(t){return V.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:mt(!1),disabled:mt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return X.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:gt(function(){return[0]}),last:gt(function(t,e){return[e-1]}),eq:gt(function(t,e,n){return[n<0?n+e:n]}),even:gt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:gt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:gt(function(t,e,n){for(var i=n<0?n+e:e<n?e:n;0<=--i;)t.push(i);return t}),gt:gt(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=pt(e);function yt(){}function bt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function wt(t,e,n){var i=e.dir,s=e.next,o=s||i,r=n&&"parentNode"===o,a=x++;return e.first?function(e,n,s){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,s);return!1}:function(e,n,l){var c,u,d,h=[k,a];if(l){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||r)if(u=(d=e[w]||(e[w]={}))[e.uniqueID]||(d[e.uniqueID]={}),s&&s===e.nodeName.toLowerCase())e=e[i]||e;else{if((c=u[o])&&c[0]===k&&c[1]===a)return h[2]=c[2];if((u[o]=h)[2]=t(e,n,l))return!0}return!1}}function _t(t){return 1<t.length?function(e,n,i){for(var s=t.length;s--;)if(!t[s](e,n,i))return!1;return!0}:t[0]}function kt(t,e,n,i,s){for(var o,r=[],a=0,l=t.length,c=null!=e;a<l;a++)(o=t[a])&&(n&&!n(o,i,s)||(r.push(o),c&&e.push(a)));return r}function xt(t,e,n,i,s,o){return i&&!i[w]&&(i=xt(i)),s&&!s[w]&&(s=xt(s,o)),ct(function(o,r,a,l){var c,u,d,h=[],f=[],p=r.length,m=o||function(t,e,n){for(var i=0,s=e.length;i<s;i++)at(t,e[i],n);return n}(e||"*",a.nodeType?[a]:a,[]),g=!t||!o&&e?m:kt(m,h,t,a,l),v=n?s||(o?t:p||i)?[]:r:g;if(n&&n(g,v,a,l),i)for(c=kt(v,f),i(c,[],a,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(g[f[u]]=d));if(o){if(s||t){if(s){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(g[u]=d);s(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&-1<(c=s?L(o,d):h[u])&&(o[c]=!(r[c]=d))}}else v=kt(v===r?v.splice(p,v.length):v),s?s(null,r,v,l):N.apply(r,v)})}function St(t){for(var e,n,s,o=t.length,r=i.relative[t[0].type],a=r||i.relative[" "],l=r?1:0,u=wt(function(t){return t===e},a,!0),d=wt(function(t){return-1<L(e,t)},a,!0),h=[function(t,n,i){var s=!r&&(i||n!==c)||((e=n).nodeType?u(t,n,i):d(t,n,i));return e=null,s}];l<o;l++)if(n=i.relative[t[l].type])h=[wt(_t(h),n)];else{if((n=i.filter[t[l].type].apply(null,t[l].matches))[w]){for(s=++l;s<o&&!i.relative[t[s].type];s++);return xt(1<l&&_t(h),1<l&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(q,"$1"),n,l<s&&St(t.slice(l,s)),s<o&&St(t=t.slice(s)),s<o&&bt(t))}h.push(n)}return _t(h)}return yt.prototype=i.filters=i.pseudos,i.setFilters=new yt,r=at.tokenize=function(t,e){var n,s,o,r,a,l,c,u=T[t+" "];if(u)return e?0:u.slice(0);for(a=t,l=[],c=i.preFilter;a;){for(r in n&&!(s=W.exec(a))||(s&&(a=a.slice(s[0].length)||a),l.push(o=[])),n=!1,(s=z.exec(a))&&(n=s.shift(),o.push({value:n,type:s[0].replace(q," ")}),a=a.slice(n.length)),i.filter)!(s=G[r].exec(a))||c[r]&&!(s=c[r](s))||(n=s.shift(),o.push({value:n,type:r,matches:s}),a=a.slice(n.length));if(!n)break}return e?a.length:a?at.error(t):T(t,l).slice(0)},a=at.compile=function(t,e){var n,s,o,a,l,u,d=[],p=[],g=C[t+" "];if(!g){for(e||(e=r(t)),n=e.length;n--;)(g=St(e[n]))[w]?d.push(g):p.push(g);(g=C(t,(s=p,a=0<(o=d).length,l=0<s.length,u=function(t,e,n,r,u){var d,p,g,v=0,y="0",b=t&&[],w=[],_=c,x=t||l&&i.find.TAG("*",u),S=k+=null==_?1:Math.random()||.1,T=x.length;for(u&&(c=e==f||e||u);y!==T&&null!=(d=x[y]);y++){if(l&&d){for(p=0,e||d.ownerDocument==f||(h(d),n=!m);g=s[p++];)if(g(d,e||f,n)){r.push(d);break}u&&(k=S)}a&&((d=!g&&d)&&v--,t&&b.push(d))}if(v+=y,a&&y!==v){for(p=0;g=o[p++];)g(b,w,e,n);if(t){if(0<v)for(;y--;)b[y]||w[y]||(w[y]=M.call(r));w=kt(w)}N.apply(r,w),u&&!t&&0<w.length&&1<v+o.length&&at.uniqueSort(r)}return u&&(k=S,c=_),b},a?ct(u):u))).selector=t}return g},l=at.select=function(t,e,n,s){var o,l,c,u,d,h="function"==typeof t&&t,f=!s&&r(t=h.selector||t);if(n=n||[],1===f.length){if(2<(l=f[0]=f[0].slice(0)).length&&"ID"===(c=l[0]).type&&9===e.nodeType&&m&&i.relative[l[1].type]){if(!(e=(i.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=G.needsContext.test(t)?0:l.length;o--&&(c=l[o],!i.relative[u=c.type]);)if((d=i.find[u])&&(s=d(c.matches[0].replace(et,nt),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=s.length&&bt(l)))return N.apply(n,s),n;break}}return(h||a(t,f))(s,e,!m,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=w.split("").sort(D).join("")===w,n.detectDuplicates=!!d,h(),n.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(f.createElement("fieldset"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||dt("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||dt("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||dt(R,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),at}(t);_.find=x,_.expr=x.selectors,_.expr[":"]=_.expr.pseudos,_.uniqueSort=_.unique=x.uniqueSort,_.text=x.getText,_.isXMLDoc=x.isXML,_.contains=x.contains,_.escapeSelector=x.escape;var S=function(t,e,n){for(var i=[],s=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&_(t).is(n))break;i.push(t)}return i},T=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},C=_.expr.match.needsContext;function $(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(t,e,n){return p(e)?_.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?_.grep(t,function(t){return t===e!==n}):"string"!=typeof e?_.grep(t,function(t){return-1<a.call(e,t)!==n}):_.filter(e,t,n)}_.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?_.find.matchesSelector(i,t)?[i]:[]:_.find.matches(t,_.grep(e,function(t){return 1===t.nodeType}))},_.fn.extend({find:function(t){var e,n,i=this.length,s=this;if("string"!=typeof t)return this.pushStack(_(t).filter(function(){for(e=0;e<i;e++)if(_.contains(s[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)_.find(t,s[e],n);return 1<i?_.uniqueSort(n):n},filter:function(t){return this.pushStack(A(this,t||[],!1))},not:function(t){return this.pushStack(A(this,t||[],!0))},is:function(t){return!!A(this,"string"==typeof t&&C.test(t)?_(t):t||[],!1).length}});var O,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(t,e,n){var i,s;if(!t)return this;if(n=n||O,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:M.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof _?e[0]:e,_.merge(this,_.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),D.test(i[1])&&_.isPlainObject(e))for(i in e)p(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(s=g.getElementById(i[2]))&&(this[0]=s,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):p(t)?void 0!==n.ready?n.ready(t):t(_):_.makeArray(t,this)}).prototype=_.fn,O=_(g);var E=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function I(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}_.fn.extend({has:function(t){var e=_(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(_.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,s=this.length,o=[],r="string"!=typeof t&&_(t);if(!C.test(t))for(;i<s;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&_.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(1<o.length?_.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?a.call(_(t),this[0]):a.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),_.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return S(t,"parentNode")},parentsUntil:function(t,e,n){return S(t,"parentNode",n)},next:function(t){return I(t,"nextSibling")},prev:function(t){return I(t,"previousSibling")},nextAll:function(t){return S(t,"nextSibling")},prevAll:function(t){return S(t,"previousSibling")},nextUntil:function(t,e,n){return S(t,"nextSibling",n)},prevUntil:function(t,e,n){return S(t,"previousSibling",n)},siblings:function(t){return T((t.parentNode||{}).firstChild,t)},children:function(t){return T(t.firstChild)},contents:function(t){return null!=t.contentDocument&&i(t.contentDocument)?t.contentDocument:($(t,"template")&&(t=t.content||t),_.merge([],t.childNodes))}},function(t,e){_.fn[t]=function(n,i){var s=_.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(s=_.filter(i,s)),1<this.length&&(N[t]||_.uniqueSort(s),E.test(t)&&s.reverse()),this.pushStack(s)}});var L=/[^\x20\t\r\n\f]+/g;function R(t){return t}function j(t){throw t}function P(t,e,n,i){var s;try{t&&p(s=t.promise)?s.call(t).done(e).fail(n):t&&p(s=t.then)?s.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}_.Callbacks=function(t){var e,n;t="string"==typeof t?(e=t,n={},_.each(e.match(L)||[],function(t,e){n[e]=!0}),n):_.extend({},t);var i,s,o,r,a=[],l=[],c=-1,u=function(){for(r=r||t.once,o=i=!0;l.length;c=-1)for(s=l.shift();++c<a.length;)!1===a[c].apply(s[0],s[1])&&t.stopOnFalse&&(c=a.length,s=!1);t.memory||(s=!1),i=!1,r&&(a=s?[]:"")},d={add:function(){return a&&(s&&!i&&(c=a.length-1,l.push(s)),function e(n){_.each(n,function(n,i){p(i)?t.unique&&d.has(i)||a.push(i):i&&i.length&&"string"!==b(i)&&e(i)})}(arguments),s&&!i&&u()),this},remove:function(){return _.each(arguments,function(t,e){for(var n;-1<(n=_.inArray(e,a,n));)a.splice(n,1),n<=c&&c--}),this},has:function(t){return t?-1<_.inArray(t,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return r=l=[],a=s="",this},disabled:function(){return!a},lock:function(){return r=l=[],s||i||(a=s=""),this},locked:function(){return!!r},fireWith:function(t,e){return r||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),i||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},_.extend({Deferred:function(e){var n=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],i="pe
1nding",s={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return s.then(null,t)},pipe:function(){var t=arguments;return _.Deferred(function(e){_.each(n,function(n,i){var s=p(t[i[4]])&&t[i[4]];o[i[1]](function(){var t=s&&s.apply(this,arguments);t&&p(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[i[0]+"With"](this,s?[t]:arguments)})}),t=null}).promise()},then:function(e,i,s){var o=0;function r(e,n,i,s){return function(){var a=this,l=arguments,c=function(){var t,c;if(!(e<o)){if((t=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");c=t&&("object"==typeof t||"function"==typeof t)&&t.then,p(c)?s?c.call(t,r(o,n,R,s),r(o,n,j,s)):(o++,c.call(t,r(o,n,R,s),r(o,n,j,s),r(o,n,R,n.notifyWith))):(i!==R&&(a=void 0,l=[t]),(s||n.resolveWith)(a,l))}},u=s?c:function(){try{c()}catch(t){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(t,u.stackTrace),o<=e+1&&(i!==j&&(a=void 0,l=[t]),n.rejectWith(a,l))}};e?u():(_.Deferred.getStackHook&&(u.stackTrace=_.Deferred.getStackHook()),t.setTimeout(u))}}return _.Deferred(function(t){n[0][3].add(r(0,t,p(s)?s:R,t.notifyWith)),n[1][3].add(r(0,t,p(e)?e:R)),n[2][3].add(r(0,t,p(i)?i:j))}).promise()},promise:function(t){return null!=t?_.extend(t,s):s}},o={};return _.each(n,function(t,e){var r=e[2],a=e[5];s[e[1]]=r.add,a&&r.add(function(){i=a},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),r.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=r.fireWith}),s.promise(o),e&&e.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),o=s.call(arguments),r=_.Deferred(),a=function(t){return function(n){i[t]=this,o[t]=1<arguments.length?s.call(arguments):n,--e||r.resolveWith(i,o)}};if(e<=1&&(P(t,r.done(a(n)).resolve,r.reject,!e),"pending"===r.state()||p(o[n]&&o[n].then)))return r.then();for(;n--;)P(o[n],a(n),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&H.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},_.readyException=function(e){t.setTimeout(function(){throw e})};var Y=_.Deferred();function F(){g.removeEventListener("DOMContentLoaded",F),t.removeEventListener("load",F),_.ready()}_.fn.ready=function(t){return Y.then(t).catch(function(t){_.readyException(t)}),this},_.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--_.readyWait:_.isReady)||(_.isReady=!0)!==t&&0<--_.readyWait||Y.resolveWith(g,[_])}}),_.ready.then=Y.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?t.setTimeout(_.ready):(g.addEventListener("DOMContentLoaded",F),t.addEventListener("load",F));var q=function(t,e,n,i,s,o,r){var a=0,l=t.length,c=null==n;if("object"===b(n))for(a in s=!0,n)q(t,e,a,n[a],!0,o,r);else if(void 0!==i&&(s=!0,p(i)||(r=!0),c&&(r?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(_(t),n)})),e))for(;a<l;a++)e(t[a],n,r?i:i.call(t[a],a,e(t[a],n)));return s?t:c?e.call(t):l?e(t[0],n):o},W=/^-ms-/,z=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function B(t){return t.replace(W,"ms-").replace(z,U)}var V=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function G(){this.expando=_.expando+G.uid++}G.uid=1,G.prototype={cache:function(t){var e=t[this.expando];return e||(e={},V(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,s=this.cache(t);if("string"==typeof e)s[B(e)]=n;else for(i in e)s[B(i)]=e[i];return s},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][B(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(B):(e=B(e))in i?[e]:e.match(L)||[]).length;for(;n--;)delete i[e[n]]}
vendor: 17,187 bytes, line 1
1(void 0===e||_.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!_.isEmptyObject(e)}};var Q=new G,K=new G,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(t,e,n){var i,s;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(s=n)||"false"!==s&&("null"===s?null:s===+s+""?+s:X.test(s)?JSON.parse(s):s)}catch(t){}K.set(t,e,n)}else n=void 0;return n}_.extend({hasData:function(t){return K.hasData(t)||Q.hasData(t)},data:function(t,e,n){return K.access(t,e,n)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,n){return Q.access(t,e,n)},_removeData:function(t,e){Q.remove(t,e)}}),_.fn.extend({data:function(t,e){var n,i,s,o=this[0],r=o&&o.attributes;if(void 0===t){if(this.length&&(s=K.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=r.length;n--;)r[n]&&0===(i=r[n].name).indexOf("data-")&&(i=B(i.slice(5)),Z(o,i,s[i]));Q.set(o,"hasDataAttrs",!0)}return s}return"object"==typeof t?this.each(function(){K.set(this,t)}):q(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=K.get(o,t))?n:void 0!==(n=Z(o,t))?n:void 0;this.each(function(){K.set(this,t,e)})},null,e,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){K.remove(this,t)})}}),_.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Q.get(t,e),n&&(!i||Array.isArray(n)?i=Q.access(t,e,_.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=_.queue(t,e),i=n.length,s=n.shift(),o=_._queueHooks(t,e);"inprogress"===s&&(s=n.shift(),i--),s&&("fx"===e&&n.unshift("inprogress"),delete o.stop,s.call(t,function(){_.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Q.get(t,n)||Q.access(t,n,{empty:_.Callbacks("once memory").add(function(){Q.remove(t,[e+"queue",n])})})}}),_.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?_.queue(this[0],t):void 0===e?this:this.each(function(){var n=_.queue(this,t,e);_._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&_.dequeue(this,t)})},dequeue:function(t){return this.each(function(){_.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,s=_.Deferred(),o=this,r=this.length,a=function(){--i||s.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";r--;)(n=Q.get(o[r],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),s.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],it=g.documentElement,st=function(t){return _.contains(t.ownerDocument,t)},ot={composed:!0};it.getRootNode&&(st=function(t){return _.contains(t.ownerDocument,t)||t.getRootNode(ot)===t.ownerDocument});var rt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===_.css(t,"display")};function at(t,e,n,i){var s,o,r=20,a=i?function(){return i.cur()}:function(){return _.css(t,e,"")},l=a(),c=n&&n[3]||(_.cssNumber[e]?"":"px"),u=t.nodeType&&(_.cssNumber[e]||"px"!==c&&+l)&&et.exec(_.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;r--;)_.style(t,e,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(r=0),u/=o;u*=2,_.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,s=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=s)),s}var lt={};function ct(t,e){for(var n,i,s,o,r,a,l,c=[],u=0,d=t.length;u<d;u++)(i=t[u]).style&&(n=i.style.display,e?("none"===n&&(c[u]=Q.get(i,"display")||null,c[u]||(i.style.display="")),""===i.style.display&&rt(i)&&(c[u]=(l=r=o=void 0,r=(s=i).ownerDocument,a=s.nodeName,(l=lt[a])||(o=r.body.appendChild(r.createElement(a)),l=_.css(o,"display"),o.parentNode.removeChild(o),"none"===l&&(l="block"),lt[a]=l)))):"none"!==n&&(c[u]="none",Q.set(i,"display",n)));for(u=0;u<d;u++)null!=c[u]&&(t[u].style.display=c[u]);return t}_.fn.extend({show:function(){return ct(this,!0)},hide:function(){return ct(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){rt(this)?_(this).show():_(this).hide()})}});var ut,dt,ht=/^(?:checkbox|radio)$/i,ft=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i;ut=g.createDocumentFragment().appendChild(g.createElement("div")),(dt=g.createElement("input")).setAttribute("type","radio"),dt.setAttribute("checked","checked"),dt.setAttribute("name","t"),ut.appendChild(dt),f.checkClone=ut.cloneNode(!0).cloneNode(!0).lastChild.checked,ut.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!ut.cloneNode(!0).lastChild.defaultValue,ut.innerHTML="<option></option>",f.option=!!ut.lastChild;var mt={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 gt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&$(t,e)?_.merge([t],n):n}function vt(t,e){for(var n=0,i=t.length;n<i;n++)Q.set(t[n],"globalEval",!e||Q.get(e[n],"globalEval"))}mt.tbody=mt.tfoot=mt.colgroup=mt.caption=mt.thead,mt.th=mt.td,f.option||(mt.optgroup=mt.option=[1,"<select multiple='multiple'>","</select>"]);var yt=/<|&#?\w+;/;function bt(t,e,n,i,s){for(var o,r,a,l,c,u,d=e.createDocumentFragment(),h=[],f=0,p=t.length;f<p;f++)if((o=t[f])||0===o)if("object"===b(o))_.merge(h,o.nodeType?[o]:o);else if(yt.test(o)){for(r=r||d.appendChild(e.createElement("div")),a=(ft.exec(o)||["",""])[1].toLowerCase(),l=mt[a]||mt._default,r.innerHTML=l[1]+_.htmlPrefilter(o)+l[2],u=l[0];u--;)r=r.lastChild;_.merge(h,r.childNodes),(r=d.firstChild).textContent=""}else h.push(e.createTextNode(o));for(d.textContent="",f=0;o=h[f++];)if(i&&-1<_.inArray(o,i))s&&s.push(o);else if(c=st(o),r=gt(d.appendChild(o),"script"),c&&vt(r),n)for(u=0;o=r[u++];)pt.test(o.type||"")&&n.push(o);return d}var wt=/^([^.]*)(?:\.(.+)|)/;function _t(){return!0}function kt(){return!1}function xt(t,e){return t===function(){try{return g.activeElement}catch(t){}}()==("focus"===e)}function St(t,e,n,i,s,o){var r,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)St(t,a,n,i,e[a],o);return t}if(null==i&&null==s?(s=n,i=n=void 0):null==s&&("string"==typeof n?(s=i,i=void 0):(s=i,i=n,n=void 0)),!1===s)s=kt;else if(!s)return t;return 1===o&&(r=s,(s=function(t){return _().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=_.guid++)),t.each(function(){_.event.add(this,e,s,i,n)})}function Tt(t,e,n){n?(Q.set(t,e,!1),_.event.add(t,e,{namespace:!1,handler:function(t){var i,o,r=Q.get(this,e);if(1&t.isTrigger&&this[e]){if(r.length)(_.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=s.call(arguments),Q.set(this,e,r),i=n(this,e),this[e](),r!==(o=Q.get(this,e))||i?Q.set(this,e,!1):o={},r!==o)return t.stopImmediatePropagation(),t.preventDefault(),o&&o.value}else r.length&&(Q.set(this,e,{value:_.event.trigger(_.extend(r[0],_.Event.prototype),r.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,e)&&_.event.add(t,e,_t)}_.event={global:{},add:function(t,e,n,i,s){var o,r,a,l,c,u,d,h,f,p,m,g=Q.get(t);if(V(t))for(n.handler&&(n=(o=n).handler,s=o.selector),s&&_.find.matchesSelector(it,s),n.guid||(n.guid=_.guid++),(l=g.events)||(l=g.events=Object.create(null)),(r=g.handle)||(r=g.handle=function(e){return void 0!==_&&_.event.triggered!==e.type?_.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(L)||[""]).length;c--;)f=m=(a=wt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(d=_.event.special[f]||{},f=(s?d.delegateType:d.bindType)||f,d=_.event.special[f]||{},u=_.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:s,needsContext:s&&_.expr.match.needsContext.test(s),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,r)||t.addEventListener&&t.addEventListener(f,r)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),s?h.splice(h.delegateCount++,0,u):h.push(u),_.event.global[f]=!0)},remove:function(t,e,n,i,s){var o,r,a,l,c,u,d,h,f,p,m,g=Q.hasData(t)&&Q.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(L)||[""]).length;c--;)if(f=m=(a=wt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=_.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=h.length;o--;)u=h[o],!s&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));r&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,p,g.handle)||_.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)_.event.remove(t,f+e[c],n,i,!0);_.isEmptyObject(l)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,n,i,s,o,r,a=new Array(arguments.length),l=_.event.fix(t),c=(Q.get(this,"events")||Object.create(null))[l.type]||[],u=_.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(r=_.event.handlers.call(this,l,c),e=0;(s=r[e++])&&!l.isPropagationStopped();)for(l.currentTarget=s.elem,n=0;(o=s.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((_.event.special[o.origType]||{}).handle||o.handler).apply(s.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,s,o,r,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],r={},n=0;n<l;n++)void 0===r[s=(i=e[n]).selector+" "]&&(r[s]=i.needsContext?-1<_(s,this).index(c):_.find(s,this,null,[c]).length),r[s]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(_.Event.prototype,t,{enumerable:!0,configurable:!0,get:p(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(t){return t[_.expando]?t:new _.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return ht.test(e.type)&&e.click&&$(e,"input")&&Tt(e,"click",_t),!1},trigger:function(t){var e=this||t;return ht.test(e.type)&&e.click&&$(e,"input")&&Tt(e,"click"),!0},_default:function(t){var e=t.target;return ht.test(e.type)&&e.click&&$(e,"input")&&Q.get(e,"click")||$(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},_.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},_.Event=function(t,e){if(!(this instanceof _.Event))return new _.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?_t:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&_.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=_t,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=_t,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=_t,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},function(t,e){_.event.special[t]={setup:function(){return Tt(this,t,xt),!1},trigger:function(){return Tt(this,t),!0},_default:function(e){return Q.get(e.target,t)},delegateType:e}}),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){_.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,s=t.handleObj;return i&&(i===this||_.contains(this,i))||(t.type=s.origType,n=s.handler.apply(this,arguments),t.type=e),n}}}),_.fn.extend({on:function(t,e,n,i){return St(this,t,e,n,i)},one:function(t,e,n,i){return St(this,t,e,n,i,1)},off:function(t,e,n){var i,s;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,_(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(s in t)this.off(s,e,t[s]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=kt),this.each(function(){_.event.remove(this,t,n,e)})}});var Ct=/<script|<style|<link/i,$t=/checked\s*(?:[^=]|=\s*.checked.)/i,Dt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function At(t,e){return $(t,"table")&&$(11!==e.nodeType?e:e.firstChild,"tr")&&_(t).children("tbody")[0]||t}function Ot(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Mt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Et(t,e){var n,i,s,o,r,a;if(1===e.nodeType){if(Q.hasData(t)&&(a=Q.get(t).events))for(s in Q.remove(e,"handle events"),a)for(n=0,i=a[s].length;n<i;n++)_.event.add(e,s,a[s][n]);K.hasData(t)&&(o=K.access(t),r=_.extend({},o),K.set(e,r))}}function Nt(t,e,n,i){e=o(e);var s,r,a,l,c,u,d=0,h=t.length,m=h-1,g=e[0],v=p(g);if(v||1<h&&"string"==typeof g&&!f.checkClone&&$t.test(g))return t.each(function(s){var o=t.eq(s);v&&(e[0]=g.call(this,s,o.html())),Nt(o,e,n,i)});if(h&&(r=(s=bt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===s.childNodes.length&&(s=r),r||i)){for(l=(a=_.map(gt(s,"script"),Ot)).length;d<h;d++)c=s,d!==m&&(c=_.clone(c,!0,!0),l&&_.merge(a,gt(c,"script"))),n.call(t[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,_.map(a,Mt),d=0;d<l;d++)c=a[d],pt.test(c.type||"")&&!Q.access(c,"globalEval")&&_.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?_._evalUrl&&!c.noModule&&_._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):y(c.textContent.replace(Dt,""),c,u))}return t}function It(t,e,n){for(var i,s=e?_.filter(e,t):t,o=0;null!=(i=s[o]);o++)n||1!==i.nodeType||_.cleanData(gt(i)),i.parentNode&&(n&&st(i)&&vt(gt(i,"script")),i.parentNode.removeChild(i));return t}_.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,s,o,r,a,l,c,u=t.cloneNode(!0),d=st(t);if(!(f.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||_.isXMLDoc(t)))for(r=gt(u),i=0,s=(o=gt(t)).length;i<s;i++)a=o[i],"input"===(c=(l=r[i]).nodeName.toLowerCase())&&ht.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(e)if(n)for(o=o||gt(t),r=r||gt(u),i=0,s=o.length;i<s;i++)Et(o[i],r[i]);else Et(t,u);return 0<(r=gt(u,"script")).length&&vt(r,!d&&gt(t,"script")),u},cleanData:function(t){for(var e,n,i,s=_.event.special,o=0;void 0!==(n=t[o]);o++)if(V(n)){if(e=n[Q.expando]){if(e.events)for(i in e.events)s[i]?_.event.remove(n,i):_.removeEvent(n,i,e.handle);n[Q.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),_.fn.extend({detach:function(t){return It(this,t,!0)},remove:function(t){return It(this,t)},text:function(t){return q(this,function(t){return void 0===t?_.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Nt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||At(this,t).appendChild(t)})},prepend:function(){return Nt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=At(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(_.cleanData(gt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return _.clone(this,t,e)})},html:function(t){return q(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Ct.test(t)&&!mt[(ft.exec(t)||["",""])[1].toLowerCase()]){t=_.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}
vendor: 2,665 bytes, line 1
1).nodeType&&(_.cleanData(gt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Nt(this,arguments,function(e){var n=this.parentNode;_.inArray(this,t)<0&&(_.cleanData(gt(this)),n&&n.replaceChild(e,this))},t)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){_.fn[t]=function(t){for(var n,i=[],s=_(t),o=s.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),_(s[a])[e](n),r.apply(i,n.get());return this.pushStack(i)}});var Lt=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),Rt=/^--/,jt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Pt=function(t,e,n){var i,s,o={};for(s in e)o[s]=t.style[s],t.style[s]=e[s];for(s in i=n.call(t),e)t.style[s]=o[s];return i},Ht=new RegExp(nt.join("|"),"i"),Yt="[\\x20\\t\\r\\n\\f]",Ft=new RegExp("^"+Yt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Yt+"+$","g");function qt(t,e,n){var i,s,o,r,a=Rt.test(e),l=t.style;return(n=n||jt(t))&&(r=n.getPropertyValue(e)||n[e],a&&(r=r.replace(Ft,"$1")),""!==r||st(t)||(r=_.style(t,e)),!f.pixelBoxStyles()&&Lt.test(r)&&Ht.test(e)&&(i=l.width,s=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=n.width,l.width=i,l.minWidth=s,l.maxWidth=o)),void 0!==r?r+"":r}function Wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",it.appendChild(c).appendChild(u);var e=t.getComputedStyle(u);i="1%"!==e.top,l=12===n(e.marginLeft),u.style.right="60%",r=36===n(e.right),s=36===n(e.width),u.style.position="absolute",o=12===n(u.offsetWidth/3),it.removeChild(c),u=null}}function n(t){return Math.round(parseFloat(t))}var i,s,o,r,a,l,c=g.createElement("div"),u=g.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===u.style.backgroundClip,_.extend(f,{boxSizingReliable:function(){return e(),s},pixelBoxStyles:function(){return e(),r},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,n,i,s;return null==a&&(e=g.createElement("table"),n=g.createElement("tr"),i=g.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",
vendor: 12,766 bytes, line 1
1i.style.height="9px",i.style.display="block",it.appendChild(e).appendChild(n).appendChild(i),s=t.getComputedStyle(n),a=parseInt(s.height,10)+parseInt(s.borderTopWidth,10)+parseInt(s.borderBottomWidth,10)===n.offsetHeight,it.removeChild(e)),a}}))}();var zt=["Webkit","Moz","ms"],Ut=g.createElement("div").style,Bt={};function Vt(t){return _.cssProps[t]||Bt[t]||(t in Ut?t:Bt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=zt.length;n--;)if((t=zt[n]+e)in Ut)return t}(t)||t)}var Gt=/^(none|table(?!-c[ea]).+)/,Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"};function Xt(t,e,n){var i=et.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function Jt(t,e,n,i,s,o){var r="width"===e?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(l+=_.css(t,n+nt[r],!0,s)),i?("content"===n&&(l-=_.css(t,"padding"+nt[r],!0,s)),"margin"!==n&&(l-=_.css(t,"border"+nt[r]+"Width",!0,s))):(l+=_.css(t,"padding"+nt[r],!0,s),"padding"!==n?l+=_.css(t,"border"+nt[r]+"Width",!0,s):a+=_.css(t,"border"+nt[r]+"Width",!0,s));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))||0),l}function Zt(t,e,n){var i=jt(t),s=(!f.boxSizingReliable()||n)&&"border-box"===_.css(t,"boxSizing",!1,i),o=s,r=qt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Lt.test(r)){if(!n)return r;r="auto"}return(!f.boxSizingReliable()&&s||!f.reliableTrDimensions()&&$(t,"tr")||"auto"===r||!parseFloat(r)&&"inline"===_.css(t,"display",!1,i))&&t.getClientRects().length&&(s="border-box"===_.css(t,"boxSizing",!1,i),(o=a in t)&&(r=t[a])),(r=parseFloat(r)||0)+Jt(t,e,n||(s?"border":"content"),o,i,r)+"px"}function te(t,e,n,i,s){return new te.prototype.init(t,e,n,i,s)}_.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=qt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,o,r,a=B(e),l=Rt.test(e),c=t.style;if(l||(e=Vt(a)),r=_.cssHooks[e]||_.cssHooks[a],void 0===n)return r&&"get"in r&&void 0!==(s=r.get(t,!1,i))?s:c[e];"string"==(o=typeof n)&&(s=et.exec(n))&&s[1]&&(n=at(t,e,s),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=s&&s[3]||(_.cssNumber[a]?"":"px")),f.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),r&&"set"in r&&void 0===(n=r.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var s,o,r,a=B(e);return Rt.test(e)||(e=Vt(a)),(r=_.cssHooks[e]||_.cssHooks[a])&&"get"in r&&(s=r.get(t,!0,n)),void 0===s&&(s=qt(t,e,i)),"normal"===s&&e in Kt&&(s=Kt[e]),""===n||n?(o=parseFloat(s),!0===n||isFinite(o)?o||0:s):s}}),_.each(["height","width"],function(t,e){_.cssHooks[e]={get:function(t,n,i){if(n)return!Gt.test(_.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Zt(t,e,i):Pt(t,Qt,function(){return Zt(t,e,i)})},set:function(t,n,i){var s,o=jt(t),r=!f.scrollboxSize()&&"absolute"===o.position,a=(r||i)&&"border-box"===_.css(t,"boxSizing",!1,o),l=i?Jt(t,e,i,a,o):0;return a&&r&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-Jt(t,e,"border",!1,o)-.5)),l&&(s=et.exec(n))&&"px"!==(s[3]||"px")&&(t.style[e]=n,n=_.css(t,e)),Xt(0,n,l)}}}),_.cssHooks.marginLeft=Wt(f.reliableMarginLeft,function(t,e){if(e)return(parseFloat(qt(t,"marginLeft"))||t.getBoundingClientRect().left-Pt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(t,e){_.cssHooks[t+e]={expand:function(n){for(var i=0,s={},o="string"==typeof n?n.split(" "):[n];i<4;i++)s[t+nt[i]+e]=o[i]||o[i-2]||o[0];return s}},"margin"!==t&&(_.cssHooks[t+e].set=Xt)}),_.fn.extend({css:function(t,e){return q(this,function(t,e,n){var i,s,o={},r=0;if(Array.isArray(e)){for(i=jt(t),s=e.length;r<s;r++)o[e[r]]=_.css(t,e[r],!1,i);return o}return void 0!==n?_.style(t,e,n):_.css(t,e)},t,e,1<arguments.length)}}),((_.Tween=te).prototype={constructor:te,init:function(t,e,n,i,s,o){this.elem=t,this.prop=n,this.easing=s||_.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(_.cssNumber[n]?"":"px")},cur:function(){var t=te.propHooks[this.prop];return t&&t.get?t.get(this):te.propHooks._default.get(this)},run:function(t){var e,n=te.propHooks[this.prop];return this.options.duration?this.pos=e=_.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):te.propHooks._default.set(this),this}}).init.prototype=te.prototype,(te.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=_.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){_.fx.step[t.prop]?_.fx.step[t.prop](t):1!==t.elem.nodeType||!_.cssHooks[t.prop]&&null==t.elem.style[Vt(t.prop)]?t.elem[t.prop]=t.now:_.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=te.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},_.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},_.fx=te.prototype.init,_.fx.step={};var ee,ne,ie,se,oe=/^(?:toggle|show|hide)$/,re=/queueHooks$/;function ae(){ne&&(!1===g.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(ae):t.setTimeout(ae,_.fx.interval),_.fx.tick())}function le(){return t.setTimeout(function(){ee=void 0}),ee=Date.now()}function ce(t,e){var n,i=0,s={height:t};for(e=e?1:0;i<4;i+=2-e)s["margin"+(n=nt[i])]=s["padding"+n]=t;return e&&(s.opacity=s.width=t),s}function ue(t,e,n){for(var i,s=(de.tweeners[e]||[]).concat(de.tweeners["*"]),o=0,r=s.length;o<r;o++)if(i=s[o].call(n,e,t))return i}function de(t,e,n){var i,s,o=0,r=de.prefilters.length,a=_.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=ee||le(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),o=0,r=c.tweens.length;o<r;o++)c.tweens[o].run(i);return a.notifyWith(t,[c,i,n]),i<1&&r?n:(r||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:_.extend({},e),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},n),originalProperties:e,originalOptions:n,startTime:ee||le(),duration:n.duration,tweens:[],createTween:function(e,n){var i=_.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(s)return this;for(s=!0;n<i;n++)c.tweens[n].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),u=c.props;for(function(t,e){var n,i,s,o,r;for(n in t)if(s=e[i=B(n)],o=t[n],Array.isArray(o)&&(s=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(r=_.cssHooks[i])&&"expand"in r)for(n in o=r.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=s);else e[i]=s}(u,c.opts.specialEasing);o<r;o++)if(i=de.prefilters[o].call(c,t,u,c.opts))return p(i.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return _.map(u,ue,c),p(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(de,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return at(n.elem,t,et.exec(e),n),n}]},tweener:function(t,e){p(t)?(e=t,t=["*"]):t=t.match(L);for(var n,i=0,s=t.length;i<s;i++)n=t[i],de.tweeners[n]=de.tweeners[n]||[],de.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,s,o,r,a,l,c,u,d="width"in e||"height"in e,h=this,f={},p=t.style,m=t.nodeType&&rt(t),g=Q.get(t,"fxshow");for(i in n.queue||(null==(r=_._queueHooks(t,"fx")).unqueued&&(r.unqueued=0,a=r.empty.fire,r.empty.fire=function(){r.unqueued||a()}),r.unqueued++,h.always(function(){h.always(function(){r.unqueued--,_.queue(t,"fx").length||r.empty.fire()})})),e)if(s=e[i],oe.test(s)){if(delete e[i],o=o||"toggle"===s,s===(m?"hide":"show")){if("show"!==s||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||_.style(t,i)}if((l=!_.isEmptyObject(e))||!_.isEmptyObject(f))for(i in d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=Q.get(t,"display")),"none"===(u=_.css(t,"display"))&&(c?u=c:(ct([t],!0),c=t.style.display||c,u=_.css(t,"display"),ct([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===_.css(t,"float")&&(l||(h.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=Q.access(t,"fxshow",{display:c}),o&&(g.hidden=!m),m&&ct([t],!0),h.done(function(){for(i in m||ct([t]),Q.remove(t,"fxshow"),f)_.style(t,i,f[i])})),l=ue(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?de.prefilters.unshift(t):de.prefilters.push(t)}}),_.speed=function(t,e,n){var i=t&&"object"==typeof t?_.extend({},t):{complete:n||!n&&e||p(t)&&t,duration:t,easing:n&&e||e&&!p(e)&&e};return _.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in _.fx.speeds?i.duration=_.fx.speeds[i.duration]:i.duration=_.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){p(i.old)&&i.old.call(this),i.queue&&_.dequeue(this,i.queue)},i},_.fn.extend({fadeTo:function(t,e,n,i){return this.filter(rt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var s=_.isEmptyObject(t),o=_.speed(e,n,i),r=function(){var e=de(this,_.extend({},t),o);(s||Q.get(this,"finish"))&&e.stop(!0)};return r.finish=r,s||!1===o.queue?this.each(r):this.queue(o.queue,r)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,s=null!=t&&t+"queueHooks",o=_.timers,r=Q.get(this);if(s)r[s]&&r[s].stop&&i(r[s]);else for(s in r)r[s]&&r[s].stop&&re.test(s)&&i(r[s]);for(s=o.length;s--;)o[s].elem!==this||null!=t&&o[s].queue!==t||(o[s].anim.stop(n),e=!1,o.splice(s,1));!e&&n||_.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Q.get(this),i=n[t+"queue"],s=n[t+"queueHooks"],o=_.timers,r=i?i.length:0;for(n.finish=!0,_.queue(this,t,[]),s&&s.stop&&s.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<r;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),_.each(["toggle","show","hide"],function(t,e){var n=_.fn[e];_.fn[e]=function(t,i,s){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ce(e,!0),t,i,s)}}),_.each({slideDown:ce("show"),slideUp:ce("hide"),slideToggle:ce("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){_.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),_.timers=[],_.fx.tick=function(){var t,e=0,n=_.timers;for(ee=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||_.fx.stop(),ee=void 0},_.fx.timer=function(t){_.timers.push(t),_.fx.start()},_.fx.interval=13,_.fx.start=function(){ne||(ne=!0,ae())},_.fx.stop=function(){ne=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(e,n){return e=_.fx&&_.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(n,i){var s=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(s)}})},ie=g.createElement("input"),se=g.createElement("select").appendChild(g.createElement("option")),ie.type="checkbox",f.checkOn=""!==ie.value,f.optSelected=se.selected,(ie=g.createElement("input")).value="t",ie.type="radio",f.radioValue="t"===ie.value;var he,fe=_.expr.attrHandle;_.fn.extend({attr:function(t,e){return q(this,_.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){_.removeAttr(this,t)})}}),_.extend({attr:function(t,e,n){var i,s,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?_.prop(t,e,n):(1===o&&_.isXMLDoc(t)||(s=_.attrHooks[e.toLowerCase()]||(_.expr.match.bool.test(e)?he:void 0)),void 0!==n?null===n?void _.removeAttr(t,e):s&&"set"in s&&void 0!==(i=s.set(t,n,e))?i:(t.setAttribute(e,n+""),n):s&&"get"in s&&null!==(i=s.get(t,e))?i:null==(i=_.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!f.radioValue&&"radio"===e&&$(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,s=e&&e.match(L);
vendor: 2,323 bytes, line 1
1if(s&&1===t.nodeType)for(;n=s[i++];)t.removeAttribute(n)}}),he={set:function(t,e,n){return!1===e?_.removeAttr(t,n):t.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),function(t,e){var n=fe[e]||_.find.attr;fe[e]=function(t,e,i){var s,o,r=e.toLowerCase();return i||(o=fe[r],fe[r]=s,s=null!=n(t,e,i)?r:null,fe[r]=o),s}});var pe=/^(?:input|select|textarea|button)$/i,me=/^(?:a|area)$/i;function ge(t){return(t.match(L)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}function ye(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(L)||[]}_.fn.extend({prop:function(t,e){return q(this,_.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[_.propFix[t]||t]})}}),_.extend({prop:function(t,e,n){var i,s,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&_.isXMLDoc(t)||(e=_.propFix[e]||e,s=_.propHooks[e]),void 0!==n?s&&"set"in s&&void 0!==(i=s.set(t,n,e))?i:t[e]=n:s&&"get"in s&&null!==(i=s.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=_.find.attr(t,"tabindex");return e?parseInt(e,10):pe.test(t.nodeName)||me.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(_.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this}),_.fn.extend({addClass:function(t){var e,n,i,s,o,r;return p(t)?this.each(function(e){_(this).addClass(t.call(this,e,ve(this)))}):(e=ye(t)).length?this.each(function(){if(i=ve(this),n=1===this.nodeType&&" "+ge(i)+" "){for(o=0;o<e.length;o++)s=e[o],n.indexOf(" "+s+" ")<0&&(n+=s+" ");r=ge(n),i!==r&&this.setAttribute("class",r)}}):this},removeClass:function(t){var e,n,i,s,o,r;return p(t)?this.each(function(e){_(this).removeClass(t.call(this,e,ve(this)))}):arguments.length?(e=ye(t)).length?this.each(function(){if(i=ve(this),n=1===this.nodeType&&" "+ge(i)+" "){for(o=0;o<e.length;o++)for(s=e[o];-1<n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");r=ge(n),i!==r&&this.setAttribute("class",r)}}):this:this.attr("class","")}
vendor: 6,213 bytes, line 1
1,toggleClass:function(t,e){var n,i,s,o,r=typeof t,a="string"===r||Array.isArray(t);return p(t)?this.each(function(n){_(this).toggleClass(t.call(this,n,ve(this),e),e)}):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=ye(t),this.each(function(){if(a)for(o=_(this),s=0;s<n.length;s++)i=n[s],o.hasClass(i)?o.removeClass(i):o.addClass(i);else void 0!==t&&"boolean"!==r||((i=ve(this))&&Q.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":Q.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+ge(ve(n))+" ").indexOf(e))return!0;return!1}});var be=/\r/g;_.fn.extend({val:function(t){var e,n,i,s=this[0];return arguments.length?(i=p(t),this.each(function(n){var s;1===this.nodeType&&(null==(s=i?t.call(this,n,_(this).val()):t)?s="":"number"==typeof s?s+="":Array.isArray(s)&&(s=_.map(s,function(t){return null==t?"":t+""})),(e=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,s,"value")||(this.value=s))})):s?(e=_.valHooks[s.type]||_.valHooks[s.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(s,"value"))?n:"string"==typeof(n=s.value)?n.replace(be,""):null==n?"":n:void 0}}),_.extend({valHooks:{option:{get:function(t){var e=_.find.attr(t,"value");return null!=e?e:ge(_.text(t))}},select:{get:function(t){var e,n,i,s=t.options,o=t.selectedIndex,r="select-one"===t.type,a=r?null:[],l=r?o+1:s.length;for(i=o<0?l:r?o:0;i<l;i++)if(((n=s[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!$(n.parentNode,"optgroup"))){if(e=_(n).val(),r)return e;a.push(e)}return a},set:function(t,e){for(var n,i,s=t.options,o=_.makeArray(e),r=s.length;r--;)((i=s[r]).selected=-1<_.inArray(_.valHooks.option.get(i),o))&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<_.inArray(_(t).val(),e)}},f.checkOn||(_.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),f.focusin="onfocusin"in t;var we=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};_.extend(_.event,{trigger:function(e,n,i,s){var o,r,a,l,c,d,h,f,v=[i||g],y=u.call(e,"type")?e.type:e,b=u.call(e,"namespace")?e.namespace.split("."):[];if(r=f=a=i=i||g,3!==i.nodeType&&8!==i.nodeType&&!we.test(y+_.event.triggered)&&(-1<y.indexOf(".")&&(y=(b=y.split(".")).shift(),b.sort()),c=y.indexOf(":")<0&&"on"+y,(e=e[_.expando]?e:new _.Event(y,"object"==typeof e&&e)).isTrigger=s?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:_.makeArray(n,[e]),h=_.event.special[y]||{},s||!h.trigger||!1!==h.trigger.apply(i,n))){if(!s&&!h.noBubble&&!m(i)){for(l=h.delegateType||y,we.test(l+y)||(r=r.parentNode);r;r=r.parentNode)v.push(r),a=r;a===(i.ownerDocument||g)&&v.push(a.defaultView||a.parentWindow||t)}for(o=0;(r=v[o++])&&!e.isPropagationStopped();)f=r,e.type=1<o?l:h.bindType||y,(d=(Q.get(r,"events")||Object.create(null))[e.type]&&Q.get(r,"handle"))&&d.apply(r,n),(d=c&&r[c])&&d.apply&&V(r)&&(e.result=d.apply(r,n),!1===e.result&&e.preventDefault());return e.type=y,s||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),n)||!V(i)||c&&p(i[y])&&!m(i)&&((a=i[c])&&(i[c]=null),_.event.triggered=y,e.isPropagationStopped()&&f.addEventListener(y,_e),i[y](),e.isPropagationStopped()&&f.removeEventListener(y,_e),_.event.triggered=void 0,a&&(i[c]=a)),e.result}},simulate:function(t,e,n){var i=_.extend(new _.Event,n,{type:t,isSimulated:!0});_.event.trigger(i,null,e)}}),_.fn.extend({trigger:function(t,e){return this.each(function(){_.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return _.event.trigger(t,e,n,!0)}}),f.focusin||_.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){_.event.simulate(e,t.target,_.event.fix(t))};_.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,s=Q.access(i,e);s||i.addEventListener(t,n,!0),Q.access(i,e,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,s=Q.access(i,e)-1;s?Q.access(i,e,s):(i.removeEventListener(t,n,!0),Q.remove(i,e))}}});var ke=t.location,xe={guid:Date.now()},Se=/\?/;_.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||_.error("Invalid XML: "+(i?_.map(i.childNodes,function(t){return t.textContent}).join("\n"):e)),n};var Te=/\[\]$/,Ce=/\r?\n/g,$e=/^(?:submit|button|image|reset|file)$/i,De=/^(?:input|select|textarea|keygen)/i;function Ae(t,e,n,i){var s;if(Array.isArray(e))_.each(e,function(e,s){n||Te.test(t)?i(t,s):Ae(t+"["+("object"==typeof s&&null!=s?e:"")+"]",s,n,i)});else if(n||"object"!==b(e))i(t,e);else for(s in e)Ae(t+"["+s+"]",e[s],n,i)}_.param=function(t,e){var n,i=[],s=function(t,e){var n=p(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!_.isPlainObject(t))_.each(t,function(){s(this.name,this.value)});else for(n in t)Ae(n,t[n],e,s);return i.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=_.prop(this,"elements");return t?_.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!_(this).is(":disabled")&&De.test(this.nodeName)&&!$e.test(t)&&(this.checked||!ht.test(t))}).map(function(t,e){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,function(t){return{name:e.name,value:t.replace(Ce,"\r\n")}}):{name:e.name,value:n.replace(Ce,"\r\n")}}).get()}});var Oe=/%20/g,Me=/#.*$/,Ee=/([?&])_=[^&]*/,Ne=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ie=/^(?:GET|HEAD)$/,Le=/^\/\//,Re={},je={},Pe="*/".concat("*"),He=g.createElement("a");function Ye(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,s=0,o=e.toLowerCase().match(L)||[];if(p(n))for(;i=o[s++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Fe(t,e,n,i){var s={},o=t===je;function r(a){var l;
vendor: 16,060 bytes, line 1
1return s[a]=!0,_.each(t[a]||[],function(t,a){var c=a(e,n,i);return"string"!=typeof c||o||s[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),r(c),!1)}),l}return r(e.dataTypes[0])||!s["*"]&&r("*")}function qe(t,e){var n,i,s=_.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((s[n]?t:i||(i={}))[n]=e[n]);return i&&_.extend(!0,t,i),t}He.href=ke.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ke.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pe,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":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,_.ajaxSettings),e):qe(_.ajaxSettings,t)},ajaxPrefilter:Ye(Re),ajaxTransport:Ye(je),ajax:function(e,n){"object"==typeof e&&(n=e,e=void 0),n=n||{};var i,s,o,r,a,l,c,u,d,h,f=_.ajaxSetup({},n),p=f.context||f,m=f.context&&(p.nodeType||p.jquery)?_(p):_.event,v=_.Deferred(),y=_.Callbacks("once memory"),b=f.statusCode||{},w={},k={},x="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(c){if(!r)for(r={};e=Ne.exec(o);)r[e[1].toLowerCase()+" "]=(r[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=r[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=k[t.toLowerCase()]=k[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)S.always(t[S.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||x;return i&&i.abort(e),T(0,e),this}};if(v.promise(S),f.url=((e||f.url||ke.href)+"").replace(Le,ke.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(L)||[""],null==f.crossDomain){l=g.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=He.protocol+"//"+He.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=_.param(f.data,f.traditional)),Fe(Re,f,n,S),c)return S;for(d in(u=_.event&&f.global)&&0==_.active++&&_.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ie.test(f.type),s=f.url.replace(Me,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Oe,"+")):(h=f.url.slice(s.length),f.data&&(f.processData||"string"==typeof f.data)&&(s+=(Se.test(s)?"&":"?")+f.data,delete f.data),!1===f.cache&&(s=s.replace(Ee,"$1"),h=(Se.test(s)?"&":"?")+"_="+xe.guid+++h),f.url=s+h),f.ifModified&&(_.lastModified[s]&&S.setRequestHeader("If-Modified-Since",_.lastModified[s]),_.etag[s]&&S.setRequestHeader("If-None-Match",_.etag[s])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Pe+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(p,S,f)||c))return S.abort();if(x="abort",y.add(f.complete),S.done(f.success),S.fail(f.error),i=Fe(je,f,n,S)){if(S.readyState=1,u&&m.trigger("ajaxSend",[S,f]),c)return S;f.async&&0<f.timeout&&(a=t.setTimeout(function(){S.abort("timeout")},f.timeout));try{c=!1,i.send(w,T)}catch(e){if(c)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,n,r,l){var d,h,g,w,k,x=n;c||(c=!0,a&&t.clearTimeout(a),i=void 0,o=l||"",S.readyState=0<e?4:0,d=200<=e&&e<300||304===e,r&&(w=function(t,e,n){for(var i,s,o,r,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){l.unshift(s);break}if(l[0]in n)o=l[0];else{for(s in n){if(!l[0]||t.converters[s+" "+l[0]]){o=s;break}r||(r=s)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}(f,S,r)),!d&&-1<_.inArray("script",f.dataTypes)&&_.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),w=function(t,e,n,i){var s,o,r,a,l,c={},u=t.dataTypes.slice();if(u[1])for(r in t.converters)c[r.toLowerCase()]=t.converters[r];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(r=c[l+" "+o]||c["* "+o]))for(s in c)if((a=s.split(" "))[1]===o&&(r=c[l+" "+a[0]]||c["* "+a[0]])){!0===r?r=c[s]:!0!==c[s]&&(o=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(f,w,S,d),d?(f.ifModified&&((k=S.getResponseHeader("Last-Modified"))&&(_.lastModified[s]=k),(k=S.getResponseHeader("etag"))&&(_.etag[s]=k)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=w.state,h=w.data,d=!(g=w.error))):(g=x,!e&&x||(x="error",e<0&&(e=0))),S.status=e,S.statusText=(n||x)+"",d?v.resolveWith(p,[h,x,S]):v.rejectWith(p,[S,x,g]),S.statusCode(b),b=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[S,f,d?h:g]),y.fireWith(p,[S,x]),u&&(m.trigger("ajaxComplete",[S,f]),--_.active||_.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,n){return _.get(t,e,n,"json")},getScript:function(t,e){return _.get(t,void 0,e,"script")}}),_.each(["get","post"],function(t,e){_[e]=function(t,n,i,s){return p(n)&&(s=s||i,i=n,n=void 0),_.ajax(_.extend({url:t,type:e,dataType:s,data:n,success:i},_.isPlainObject(t)&&t))}}),_.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),_._evalUrl=function(t,e,n){return _.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){_.globalEval(t,e,n)}})},_.fn.extend({wrapAll:function(t){var e;return this[0]&&(p(t)&&(t=t.call(this[0])),e=_(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return p(t)?this.each(function(e){_(this).wrapInner(t.call(this,e))}):this.each(function(){var e=_(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=p(t);return this.each(function(n){_(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(t){return!_.expr.pseudos.visible(t)},_.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var We={0:200,1223:204},ze=_.ajaxSettings.xhr();f.cors=!!ze&&"withCredentials"in ze,f.ajax=ze=!!ze,_.ajaxTransport(function(e){var n,i;if(f.cors||ze&&!e.crossDomain)return{send:function(s,o){var r,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)a[r]=e.xhrFields[r];for(r in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||s["X-Requested-With"]||(s["X-Requested-With"]="XMLHttpRequest"),s)a.setRequestHeader(r,s[r]);n=function(t){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(We[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(e.hasContent&&e.data||null)}catch(s){if(n)throw s}},abort:function(){n&&n()}}}),_.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return _.globalEval(t),t}}}),_.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),_.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,s){e=_("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&s("error"===t.type?404:200,t.type)}),g.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ue,Be=[],Ve=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Be.pop()||_.expando+"_"+xe.guid++;return this[t]=!0,t}}),_.ajaxPrefilter("json jsonp",function(e,n,i){var s,o,r,a=!1!==e.jsonp&&(Ve.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ve.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return s=e.jsonpCallback=p(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ve,"$1"+s):!1!==e.jsonp&&(e.url+=(Se.test(e.url)?"&":"?")+e.jsonp+"="+s),e.converters["script json"]=function(){return r||_.error(s+" was not called"),r[0]},e.dataTypes[0]="json",o=t[s],t[s]=function(){r=arguments},i.always(function(){void 0===o?_(t).removeProp(s):t[s]=o,e[s]&&(e.jsonpCallback=n.jsonpCallback,Be.push(s)),r&&p(o)&&o(r[0]),r=o=void 0}),"script"}),f.createHTMLDocument=((Ue=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ue.childNodes.length),_.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(f.createHTMLDocument?((i=(e=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,e.head.appendChild(i)):e=g),o=!n&&[],(s=D.exec(t))?[e.createElement(s[1])]:(s=bt([t],e,o),o&&o.length&&_(o).remove(),_.merge([],s.childNodes)));var i,s,o},_.fn.load=function(t,e,n){var i,s,o,r=this,a=t.indexOf(" ");return-1<a&&(i=ge(t.slice(a)),t=t.slice(0,a)),p(e)?(n=e,e=void 0):e&&"object"==typeof e&&(s="POST"),0<r.length&&_.ajax({url:t,type:s||"GET",dataType:"html",data:e}).done(function(t){o=arguments,r.html(i?_("<div>").append(_.parseHTML(t)).find(i):t)}).always(n&&function(t,e){r.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},_.expr.pseudos.animated=function(t){return _.grep(_.timers,function(e){return t===e.elem}).length},_.offset={setOffset:function(t,e,n){var i,s,o,r,a,l,c=_.css(t,"position"),u=_(t),d={};"static"===c&&(t.style.position="relative"),a=u.offset(),o=_.css(t,"top"),l=_.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(r=(i=u.position()).top,s=i.left):(r=parseFloat(o)||0,s=parseFloat(l)||0),p(e)&&(e=e.call(t,n,_.extend({},a))),null!=e.top&&(d.top=e.top-a.top+r),null!=e.left&&(d.left=e.left-a.left+s),"using"in e?e.using.call(t,d):u.css(d)}},_.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){_.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],s={top:0,left:0};if("fixed"===_.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===_.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((s=_(t).offset()).top+=_.css(t,"borderTopWidth",!0),s.left+=_.css(t,"borderLeftWidth",!0))}return{top:e.top-s.top-_.css(i,"marginTop",!0),left:e.left-s.left-_.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===_.css(t,"position");)t=t.offsetParent;return t||it})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;_.fn[t]=function(i){return q(this,function(t,i,s){var o;if(m(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===s)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:s,n?s:o.pageYOffset):t[i]=s},t,i,arguments.length)}}),_.each(["top","left"],function(t,e){_.cssHooks[e]=Wt(f.pixelPosition,function(t,n){if(n)return n=qt(t,e),Lt.test(n)?_(t).position()[e]+"px":n})}),_.each({Height:"height",Width:"width"},function(t,e){_.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){_.fn[i]=function(s,o){var r=arguments.length&&(n||"boolean"!=typeof s),a=n||(!0===s||!0===o?"margin":"border");return q(this,function(e,n,s){var o;return m(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===s?_.css(e,n,a):_.style(e,n,s,a)},e,r?s:void 0,r)}})}),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){_.fn[e]=function(t){return this.on(e,t)}}),_.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),_.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(t,e){_.fn[e]=function(t,n){return 0<arguments.length?this.on(e,null,t,n):this.trigger(e)}});var Ge=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;_.proxy=function(t,e){var n,i,o;if("string"==typeof e&&(n=t[e],e=t,t=n),p(t))return i=s.call(arguments,2),(o=function(){return t.apply(e||this,i.concat(s.call(arguments)))}).guid=t.guid=t.guid||_.guid++,o},_.holdReady=function(t){t?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=$,_.isFunction=p,_.isWindow=m,_.camelCase=B,_.type=b,_.now=Date.now,_.isNumeric=function(t){var e=_.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},_.trim=function(t){return null==t?"":(t+"").replace(Ge,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return _});var Qe=t.jQuery,Ke=t.$;return _.noConflict=function(e){return t.$===_&&(t.$=Ke),e&&t.jQuery===_&&(t.jQuery=Qe),_},void 0===e&&(t.jQuery=t.$=_),_}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function Cart(t,e,n){t=$.extend({activity:[]},t);var i,s,o,r,a,l,c={},u=this;this.add=function(i,s,l){var c,d=void 0;switch(c=1==i.n_bookable?$("g").find('[entresys\\:fs_id="'+i.section_id+'"]'):$("select[data-rate_id='"+i.rate_id+"']"),void 0===t[s]&&(t[s]=[]),s){case"home_delivery":t[s]=t[s].filter(function(t){return t.price_eucents!=i.price_eucents});break;case"course":t[s]=t[s].filter(function(t){return t.going.course_id!=i.going.course_id||t.going.date_time!=i.going.date_time});break;default:d={name:i.extra_info.event_name,id:i.extra_info.event_id,rate:i.extra_info.rate_name,price:(parseInt(i.extra_info.rate_base_eucents)+parseInt(i.extra_info.commission_base_eucents))/100,quantity:i.n_booked};var h=t[s].find(function(t){return!(t.section_id!=i.section_id||t.rate_id!=i.rate_id||t.session_id!=i.session_id)});void 0!==h&&(d.quantity-=h.n_booked),t[s]=t[s].filter(function(t){return t.section_id!=i.section_id||t.rate_id!=i.rate_id||t.session_id!=i.session_id})}if(t[s].push(i),i.extra_info.force_consecutive_sections&&1==i.n_bookable)for(var f=0;f<t[s].length&&(t[s][f].session_id!=i.session_id||1!=t[s][f].n_bookable||(t[s][f].is_valid=vali
1dateSeatSelection(t[s][f].section_id),t[s][f].is_valid));f++);$.post(e+"/cart/add",{_token:n,elements:JSON.stringify(t)},function(e){t=e,u.show(),$(".nav-controller-container").shake({}),void 0!==l&&l(e),o&&o(),void 0!==d&&(d.quantity>0&&r?r([d]):d.quantity<0&&a&&(d.quantity=-d.quantity,a([d])))}).fail(function(e){t[s]=t[s].filter(function(t){return t.section_id!=i.section_id||t.rate_id!=i.rate_id||t.session_id!=i.session_id}),c.removeClass("selected"),e.responseJSON.keep_unlocked||(c.addClass("full"),c.children().attr("style","")),showNotify("<b>"+translations.important+":</b>",e.responseJSON.error,"warning",5e3),e.responseJSON.remaining&&c.val(e.responseJSON.remaining).change()})},this.addTemporal=function(t,e){void 0===c[e]&&(c[e]=[]),c[e]=c[e].filter(function(e){return e.section_id!=t.section_id||e.rate_id!=t.rate_id||e.session_id!=t.session_id}),c[e].push(t);for(var n=0,i=0,s=0;s<c[e].length;s++)i+=1*c[e][s].extra_info.rate_base_eucents+1*c[e][s].extra_info.commission_base_eucents,n+=1*c[e][s].n_booked;$(".summary-package").find(".tickets").html(n),$(".summary-package").find(".total-base-eucents").html((i/100).toFixed(2))},this.pushTemporal=function(i){void 0===t[i]&&(t[i]=[]);for(var s=0;s<c[i].length;s++)t[i].push(c[i][s]);$.post(e+"/cart/add",{_token:n,elements:JSON.stringify(t)},function(e){t=e,u.show(),$(".nav-controller-container").shake({})})},this.updateElements=function(i){$.post(e+"/cart/add",{_token:n,elements:JSON.stringify(i)},function(e){t=e,u.show(),"undefined"!=typeof callback&&callback(e)}).fail(function(e){t[type]=t[type].filter(function(t){return t.section_id!=bookable_section.section_id||t.rate_id!=bookable_section.rate_id||t.session_id!=bookable_section.session_id}),reference.removeClass("selected"),reference.addClass("full"),showNotify("<b>"+translations.important+":</b>",translations.other_user_has_already_selected_this_seat,"warning",5e3)})},this.remove=function(s,o,r,l){if(void 0===t[l]||void 0===r)return!0;var c=t[l].find(function(t){return!(t.section_id!=s||t.rate_id!=o||t.session_id!=r)});t[l]=t[l].filter(function(t){return t.section_id!=s||t.rate_id!=o||t.session_id!=r});var d=!0;if("bookable"==l&&c&&c.extra_info.force_consecutive_sections&&1==c.n_bookable)for(var h=0;h<t[l].length;h++)if(t[l][h].session_id==r&&1==t[l][h].n_bookable&&(t[l][h].is_valid=validateSeatSelection(t[l][h].section_id),!t[l][h].is_valid)){d=!1;break}$.post(e+"/cart/remove",{_token:n,elements:JSON.stringify(t),is_invalid:!d-0},function(e){if(t=e,u.show(),i&&i(),"bookable"===l&&a&&void 0!==c){var n={name:c.extra_info.event_name,rate_name:c.extra_info.rate_name,id:c.extra_info.event_id,price:(parseInt(c.extra_info.rate_base_eucents)+parseInt(c.extra_info.commission_base_eucents))/100,quantity:c.n_booked};a([n])}}).fail(function(e){c&&e.responseJSON.error&&(t[l]=t[l].concat(c),reference=$("g").find('[entresys\\:fs_id="'+c.section_id+'"]'),reference.addClass("selected"),showNotify("<b>"+translations.important+":</b>",e.responseJSON.error,"warning",5e3))})},this.removeCourse=function(s,o){if(void 0===t.course)return!0;t.course=t.course.filter(function(t){return t.going.course_id!=s||t.going.date_time!=o}),$.post(e+"/cart/remove",{_token:n,elements:JSON.stringify(t)},function(e){t=e,u.show(),i&&i()})},this.removeTemporal=function(t,e,n,i){void 0===c[i]&&(c[i]=[]),c[i]=c[i].filter(function(i){return i.section_id!=t||i.rate_id!=e||i.session_id!=n});for(var s=0,o=0,r=0;r<c[i].length;r++)o+=1*c[i][r].extra_info.rate_base_eucents+1*c[i][r].extra_info.commission_base_eucents,s+=1*c[i][r].n_booked;$(".summary-package").find(".tickets").html(s),$(".summary-package").find(".total-base-eucents").html((o/100).toFixed(2))},this.removeFromSession=function(s,o){if(void 0!==t[o]){var r=t[o].filter(function(t){return t.session_id==s});t[o]=t[o].filter(function(t){return t.session_id!=s}),$.post(e+"/cart/add",{_token:n,elements:JSON.stringify(t)},function(e){t=e,u.show(),0===t[o].length&&$(".dropdown-cart").removeClass("open"),"undefined"!=typeof d3&&d3.selectAll(".selected").classed("selected",!1),i&&i(),a&&a(r)})}},this.removeType=function(i,s){t[i]=[],$.post(e+"/cart/add",{_token:n,elements:JSON.stringify(t)},function(e){t=e,u.show(),0===t[i].length&&$(".dropdown-cart").removeClass("open"),"undefined"!=typeof d3&&d3.selectAll(".selected").classed("selected",!1),void 0!==s&&s(e)})},this.removePackagesBookableFromSession=function(t,e){if(void 0===c[e])return!0;c[e]=c[e].filter(function(e){return e.session_id!=t})},this.selectItem=function(t){1==t[0].n_bookable||t[0].extra_info&&(t[0].extra_info.rate_min_n_tickets==t[0].n_bookable||t[0].extra_info.rate_force_stric_n_bookable)||d3.selectAll('[entresys\\:fs_id="'+t[0].section_id+'"]').classed("selected",!1),$.post(e+"/template/select_item",{_token:n,bookable_sections:JSON.stringify(t)},function(t){$("#container-select-rate").html(t.html),$("#single-session-container").slideToggle(),$("#container-select-rate").slideToggle(),goToByScroll("#single-or-multiple-container",-90)},"json")},this.paintSelectedBookables=function(e){for(var n in t.bookable)t.bookable[n].session_id==e&&1==t.bookable[n].n_bookable&&d3.selectAll('[entresys\\:fs_id="'+t.bookable[n].section_id+'"]').classed("selected",!0)},this.paintSelectedPackagesBookables=function(t){for(var e in c.packages_bookable)c.packages_bookable[e].session_id==t&&1==c.packages_bookable[e].n_bookable?d3.selectAll('[entresys\\:fs_id="'+c.packages_bookable[e].section_id+'"]').classed("selected",!0):c.packages_bookable[e].session_id==t&&$('select[data-session_id="'+c.packages_bookable[e].session_id+'"][data-rate_id="'+c.packages_bookable[e].rate_id+'"]').val(c.packages_bookable[e].n_booked)},this.show=function(){$.get(e+"/cart/show",function(t){if(t.username){$(".show-if-logged").removeClass("hidden"),$(".hide-if-logged").addClass("hidden"),$(".show-if-logged-username").text(t.username),window.roleuser=t.role};$(".top-cart").html(t.html),""===t.html?($(".top-cart").closest(".summary").addClass("hidden"),$(".top-cart").removeClass("open"),$(".summary-mobile").addClass("hidden"),$(".nav-lateral").removeClass("open"),$.removeCookie("offerTimer",{path:"/"})):($(".top-cart").closest(".summary").removeClass("hidden"),$(".summary-mobile").removeClass("hidden")),0==t.totalTickets?$(".number-of-items-top-cart").addClass("empty"):$(".number-of-items-top-cart").removeClass("empty"),$(".number-of-items-top-cart").text(t.totalTickets),$(".subtotal-top-cart").text(parseFloat(t.subtotal).toFixed(2)),$(".total-top-cart").text(parseFloat(t.total).toFixed(2)),l&&l(t)}
1,"json")},this.clean=function(){var o=t;t={activity:[]},void 0!==o.activity&&(t.activity=o.activity.map(function(t){return(t=$.extend({},t)).extra_info=$.extend({},t.extra_info),t.extra_info.new_session_datetime=void 0,t})),$(".dropdown-cart").removeClass("open"),$.post(e+"/cart/clean",{_token:n},function(e){t=$.extend(t,e),u.show(),i&&i(),s&&s(),a&&void 0!==o.bookable&&a(o.bookable.map(function(t){return{name:t.extra_info.event_name,id:t.extra_info.event_id,price:(parseInt(t.extra_info.rate_base_eucents)+parseInt(t.extra_info.commission_base_eucents))/100,quantity:t.n_booked}})),"undefined"!=typeof d3&&d3.selectAll(".selected").classed("selected",!1)})},this.cleanTemporal=function(){c={}},this.onRemove=function(t){i=t},this.onClean=function(t){s=t},this.onAdd=function(t){o=t},this.onShow=function(t){l=t},this.bookedFromSession=function(e,n){void 0===t[n]&&(t[n]=[]);var i=0;return t[n].forEach(function(t){t.session_id==e&&(i+=parseInt(t.n_booked))}),i},this.bookedFromSessionAndRate=function(e,n,i){void 0===t[i]&&(t[i]=[]);var s=0;return t[i].forEach(function(t){t.session_id==e&&t.rate_id==n&&(s+=parseInt(t.n_booked))}),s},this.initExternalMap=function(e,n){if(void 0!==t&&void 0!==t.bookable){var i=t.bookable.filter(function(t){return t.session_id==n});e.contentWindow.postMessage({action:"select_on_load",data:i},"*")}},this.getElements=function(){return t},this.trackingOnAdd=function(t){r=t},this.trackingOnRemove=function(t){a=t}}!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;return t(this).one("bsTransitionEnd",function(){n=!0}),setTimeout(function(){n||t(i).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var i=t(this),s=i.attr("data-target");s||(s=(s=i.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,"")),s="#"===s?[]:s;var o=t(document).find(s);function r(){o.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),o.length||(o=i.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),s=i.data("bs.alert");s||i.data("bs.alert",s=new n(this)),"string"==typeof e&&s[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each(function(){var i=t(this),s=i.data("bs.button"),o="object"==typeof n&&n;s||i.data("bs.button",s=new e(this,o)),"toggle"==n?s.toggle():n&&s.setState(n)})}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",i=this.$element,s=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[s]()),setTimeout(t.proxy(function(){i[s](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var i=t(e.target).closest(".btn");n.call(i,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
1down.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each(function(){var i=t(this),s=i.data("bs.carousel"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),r="string"==typeof n?n:o.slide;s||i.data("bs.carousel",s=new e(this,o)),"number"==typeof n?s.to(n):r?s[r]():o.interval&&s.pause().cycle()})}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n<t?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,i){var s=this.$element.find(".item.active"),o=i||this.getItemForDirection(n,s),r=this.interval,a="next"==n?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,r&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),"object"==typeof o&&o.length&&o[0].offsetWidth,s.addClass(a),o.addClass(a),s.one("bsTransitionEnd",function(){o.removeClass([n,a].join(" ")).addClass("active"),s.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(e.TRANSITION_DURATION)):(s.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),r&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var s=function(e){var i=t(this),s=i.attr("href");s&&(s=s.replace(/.*(?=#[^\s]+$)/,""));var o=i.attr("data-target")||s,r=t(document).find(o);if(r.hasClass("carousel")){var a=t.extend({},r.data(),i.data()),l=i.attr("data-slide-to");l&&(a.interval=!1),n.call(r,a),l&&r.data("bs.carousel").to(l),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",s).on("click.bs.carousel.data-api","[data-slide-to]",s),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(i)}function i(n){return this.each(function(){var i=t(this),s=i.data("bs.collapse"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!s&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),s||i.data("bs.collapse",s=new e(this,o)),"string"==typeof n&&s[n]()})}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,s=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(s&&s.length&&(n=s.data("bs.collapse"))&&n.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){s&&s.length&&(i.call(s,"hide"),n||s.data("bs.collapse",null));var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[r](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",r].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[r](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var s=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return s.call(this);this.$element[i](0).one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(e,i){var s=t(i);this.addAriaAndCollapsedClass(n(s),s)},this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var s=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=s,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var s=t(this);s.attr("data-target")||e.preventDefault();var o=n(s),r=o.data("bs.collapse")?"toggle":s.data();i.call(o,r)})}(jQuery),function(t){"use strict";
vendor: 4,523 bytes, line 1
1var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function i(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function s(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each(function(){var e=t(this),s=i(e),o={relatedTarget:this};s.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(s[0],n.target)||(s.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),s.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))))}))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var o=i(n),r=o.hasClass("open");if(s(),!r){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",s);var a={relatedTarget:this};if(o.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var s=t(this);if(n.preventDefault(),n.stopPropagation(),!s.is(".disabled, :disabled")){var o=i(s),r=o.hasClass("open");if(!r&&27!=n.which||r&&27==n.which)return 27==n.which&&o.find(e).trigger("focus"),s.trigger("click");var a=o.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(n.target);38==n.which&&0<l&&l--,40==n.which&&l<a.length-1&&l++,~l||(l=0),a.eq(l).trigger("focus")}}}};var o=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var i=t(this),s=i.data("bs.dropdown");s||i.data("bs.dropdown",s=new n(this)),"string"==typeof e&&s[e].call(i)})},t.fn.dropdown.Constructor=n,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",s).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",e,n.prototype.toggle).on("keydown.bs.dropdown.data-api",e,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery),function(t){"use strict";var e=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function n(n,i){return this.each(function(){var s=t(this),o=s.data("bs.modal"),r=t.extend({},e.DEFAULTS,s.data(),"object"==typeof n&&n);o||s.data("bs.modal",o=new e(this,r)),"string"==typeof n?o[n](i):r.show&&o.show(i)})}e.VERSION="3.4.1",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(n){var i=this,s=t.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(s),this.isShown||s.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"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var s=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),s&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:n});s?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(e.TRANSITION_DURATION):i.$element.trigger("focus").trigger(o)}))},e.prototype.hide=function(n){n&&n.preventDefault(),n=t.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("
1click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(n){var i=this,s=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&s;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+s).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;o?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var r=function(){i.removeBackdrop(),n&&n()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",r).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):r()}else n&&n()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each(function(e,i){var s=i.style.paddingRight,o=t(i).css("padding-right");t(i).data("padding-right",s).css("padding-right",parseFloat(o)+n+"px")}))},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each(function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""})},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=n,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var i=t(this),s=i.attr("href"),o=i.attr("data-target")||s&&s.replace(/.*(?=#[^\s]+$)/,""),r=t(document).find(o),a=r.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(s)&&s},r.data(),i.data());i.is("a")&&e.preventDefault(),r.one("show.bs.modal",function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),n.call(r,a,this)})}(jQuery),function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],i=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,s=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function o(e,o){var r=e.nodeName.toLowerCase();if(-1!==t.inArray(r,o))return-1===t.inArray(r,n)||Boolean(e.nodeValue.match(i)||e.nodeValue.match(s));for(var a=t(o).filter(function(t,e){return e instanceof RegExp}),l=0,c=a.length;l<c;l++)if(r.match(a[l]))return!0;return!1}function r(e,n,i){if(0===e.length)return e;if(i&&"function"==typeof i)return i(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var s=document.implementation.createHTMLDocument("sanitization");s.body.innerHTML=e;for(var r=t.map(n,function(t,e){return e}),a=t(s.body).find("*"),l=0,c=a.length;l<c;l++){var u=a[l],d=u.nodeName.toLowerCase();if(-1!==t.inArray(d,r))for(var h=t.map(u.attributes,function(t){return t}),f=[].concat(n["*"]||[],n[d]||[]),p=0,m=h.length;p<m;p++)o(h[p],f)||u.removeAttribute(h[p].nodeName);else u.parentNode.removeChild(u)}return s.body.innerHTML}var a=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.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},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},a.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(document).find(t.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 s=this.options.trigger.split(" "),o=s.length;o--;){var r=s[o];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},a.prototype.getDefaults=function(){return a.DEFAULTS},a.prototype.getOptions=function(n){var i=this.$element.data();for(var s in i)i.hasOwnProperty(s)&&-1!==t.inArray(s,e)&&delete i[s];return(n=t.extend({}
vendor: 12,185 bytes, line 1
1,this.getDefaults(),i,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=r(n.template,n.whiteList,n.sanitizeFn)),n},a.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},a.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},a.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},a.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},a.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,s=this.tip(),o=this.getUID(this.type);this.setContent(),s.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(r);c&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(t(document).find(this.options.container)):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=s[0].offsetWidth,h=s[0].offsetHeight;if(c){var f=r,p=this.getPosition(this.$viewport);r="bottom"==r&&u.bottom+h>p.bottom?"top":"top"==r&&u.top-h<p.top?"bottom":"right"==r&&u.right+d>p.width?"left":"left"==r&&u.left-d<p.left?"right":r,s.removeClass(f).addClass(r)}var m=this.getCalculatedOffset(r,u,d,h);this.applyPlacement(m,r);var g=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",g).emulateTransitionEnd(a.TRANSITION_DURATION):g()}},a.prototype.applyPlacement=function(e,n){var i=this.tip(),s=i[0].offsetWidth,o=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,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=o&&(e.top=e.top+o-c);var u=this.getViewportAdjustedDelta(n,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var d=/top|bottom/.test(n),h=d?2*u.left-s+l:2*u.top-o+c,f=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][f],d)},a.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},a.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=r(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},a.prototype.hide=function(e){var n=this,i=t(this.$tip),s=t.Event("hide.bs."+this.type);function o(){"in"!=n.hoverState&&i.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}if(this.$element.trigger(s),!s.isDefaultPrevented())return i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(a.TRANSITION_DURATION):o(),this.hoverState=null,this},a.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},a.prototype.hasContent=function(){return this.getTitle()},a.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,s=n.getBoundingClientRect();null==s.width&&(s=t.extend({},s,{width:s.right-s.left,height:s.bottom-s.top}));var o=window.SVGElement&&n instanceof window.SVGElement,r=i?{top:0,left:0}:o?null:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},s,a,l,r)},a.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},a.prototype.getViewportAdjustedDelta=function(t,e,n,i){var s={top:0,left:0};if(!this.$viewport)return s;var o=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-o-r.scroll,l=e.top+o-r.scroll+i;a<r.top?s.top=r.top-a:l>r.top+r.height&&(s.top=r.top+r.height-l)}else{var c=e.left-o,u=e.left+o+n;c<r.left?s.left=r.left-c:u>r.right&&(s.left=r.left+r.width-u)}return s},a.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},a.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},a.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(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},a.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},a.prototype.enable=function(){this.enabled=!0},a.prototype.disable=function(){this.enabled=!1},a.prototype.toggleEnabled=function(){this.enabled=!this.enabled},a.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},a.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},a.prototype.sanitizeHtml=function(t){return r(t,this.options.whiteList,this.options.sanitizeFn)};var l=t.fn.tooltip;t.fn.tooltip=function(e){return this.each(function(){var n=t(this),i=n.data("bs.tooltip"),s="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new a(this,s)),"string"==typeof e&&i[e]())})},t.fn.tooltip.Constructor=a,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=l,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.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>'}),((e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e).prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),s=i.data("bs.popover"),o="object"==typeof n&&n;!s&&/destroy|hide/.test(n)||(s||i.data("bs.popover",s=new e(this,o)),"string"==typeof n&&s[n]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),s=i.data("bs.scrollspy"),o="object"==typeof n&&n;s||i.data("bs.scrollspy",s=new e(this,o)),"string"==typeof n&&s[n]()})}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),s=e.data("target")||e.attr("href"),o=/^#./.test(s)&&t(s);return o&&o.length&&o.is(":visible")&&[[o[n]().top+i,s]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),s=this.offsets,o=this.targets,r=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=e)return r!=(t=o[o.length-1])&&this.activate(t);if(r&&e<s[0])return this.activeTarget=null,this.clear();for(t=s.length;t--;)r!=o[t]&&e>=s[t]&&(void 0===s[t+1]||e<s[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function n(n){return this.each(function(){var i=t(this),s=i.data("bs.tab");s||i.data("bs.tab",s=new e(this)),"string"==typeof n&&s[n]()})}e.VERSION="3.4.1",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,n=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 s=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}
1),r=t.Event("show.bs.tab",{relatedTarget:s[0]});if(s.trigger(o),e.trigger(r),!r.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=t(document).find(i);this.activate(e.closest("li"),n),this.activate(a,a.parent(),function(){s.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:s[0]})})}}},e.prototype.activate=function(n,i,s){var o=i.find("> .active"),r=s&&t.support.transition&&(o.length&&o.hasClass("fade")||!!i.find("> .fade").length);function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),s&&s()}o.length&&r?o.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),o.removeClass("in")};var i=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var s=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',s).on("click.bs.tab.data-api",'[data-toggle="pill"]',s)}(jQuery),function(t){"use strict";var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i);var s=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=s.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each(function(){var i=t(this),s=i.data("bs.affix"),o="object"==typeof n&&n;s||i.data("bs.affix",s=new e(this,o)),"string"==typeof n&&s[n]()})}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,i){var s=this.$target.scrollTop(),o=this.$element.offset(),r=this.$target.height();if(null!=n&&"top"==this.affixed)return s<n&&"top";if("bottom"==this.affixed)return null!=n?!(s+this.unpin<=o.top)&&"bottom":!(s+r<=t-i)&&"bottom";var a=null==this.affixed,l=a?s:o.top;return null!=n&&s<=n?"top":null!=i&&t-i<=l+(a?r:e)&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),i=this.options.offset,s=i.top,o=i.bottom,r=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(o=s=i),"function"==typeof s&&(s=i.top(this.$element)),"function"==typeof o&&(o=i.bottom(this.$element));var a=this.getState(r,n,s,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:r-n-o})}};var i=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),i=e.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(e,i)})})}(jQuery),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var i=arguments[1],s=0;s<n;){var o=e[s];if(t.call(i,o,s,e))return o;s++}}}),function(t,e){"function"==typeof define&&define.amd?define("bloodhound",["jquery"],function(n){return t.Bloodhound=e(n)}):"object"==typeof exports?module.exports=e(require("jquery")):t.Bloodhound=e(jQuery)}(this,function(t){var e=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:t.isArray,isFunction:t.isFunction,isObject:t.isPlainObject,isUndefined:function(t){return void 0===t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(e){return e instanceof t},toStr:function(t){return e.isUndefined(t)||null===t?"":t+""},bind:t.proxy,each:function(e,n){t.each(e,function(t,e){return n(e,t)})},map:t.map,filter:t.grep,every:function(e,n){var i=!0;return e?(t.each(e,function(t,s){if(!(i=n.call(null,s,t,e)))return!1}),!!i):i},some:function(e,n){var i=!1;return e?(t.each(e,function(t,s){if(i=n.call(null,s,t,e))return!1}),!!i):i},mixin:t.extend,identity:function(t){return t},clone:function(e){return t.extend(!0,{},e)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(e){return t.isFunction(e)?e:function(){return String(e)}},defer:function(t){setTimeout(t,0)},debounce:function(t,e,n){var i,s;return function(){var o,r,a=this,l=arguments;return o=function(){i=null,n||(s=t.apply(a,l))},r=n&&!i,clearTimeout(i),i=setTimeout(o,e),r&&(s=t.apply(a,l)),s}},throttle:function(t,e){var n,i,s,o,r,a;return r=0,a=function(){r=new Date,s=null,o=t.apply(n,i)},function(){var l=new Date,c=e-(l-r);return n=this,i=arguments,c<=0?(clearTimeout(s),s=null,r=l,o=t.apply(n,i)):s||(s=setTimeout(a,c)),o}},stringify:function(t){return e.isString(t)?t:JSON.stringify(t)},noop:function(){}}}(),n="0.11.1",i=function(){"use strict";return{nonword:n,whitespace:t,obj:{nonword:i(n),whitespace:i(t)}};function t(t){return(t=e.toStr(t))?t.split(/\s+/):[]}function n(t){return(t=e.toStr(t))?t.split(/\W+/):[]}function i(t){return function(n){return n=e.isArray(n)?n:[].slice.call(arguments,0),function(i){var s=[];return e.each(n,function(n){s=s.concat(t(e.toStr(i[n])))}),s}}}}(),s=function(){"use strict";function n(n){this.maxSize=e.isNumber(n)?n:100,this.reset(),this.maxSize<=0&&(this.set=this.get=t.noop)}function i(){this.head=this.tail=null}function s(t,e){this.key=t,this.val=e,this.prev=this.next=null}return e.mixin(n.prototype,{set:function(t,e){var n,i=this.list.tail;this.size>=this.maxSize&&(this.list.remove(i),delete this.hash[i.key],this.size--),(n=this.hash[t])?(n.val=e,this.list.moveToFront(n)):(n=new s(t,e),this.list.add(n),this.hash[t]=n,this.size++)},get:function(t){var e=this.hash[t];if(e)return this.list.moveToFront(e),e.val},reset:function(){this.size=0,this.hash={},this.list=new i}}),e.mixin(i.prototype,{add:function(t){this.head&&(t.next=this.head,this.head.prev=t),this.head=t,this.tail=this.tail||t},remove:function(t){t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev},moveToFront:function(t){this.remove(t),this.add(t)}}),n}(),o=function(){"use strict";var n;try{(n=window.localStorage).setItem("~~~","!"),n.removeItem("~~~")}catch(t){n=null}function i(t,i){this.prefix=["__",t,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+e.escapeRegExChars(this.prefix)),this.ls=i||n,!this.ls&&this._noop()}return e.mixin(i.prototype,{_prefix:function(t){return this.prefix+t},_ttlKey:function(t){return this._prefix(t)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=e.noop},_safeSet:function(t,e){try{this.ls.setItem(t,e)}catch(t){"QuotaExceededError"===t.name&&(this.clear(),this._noop())}},get:function(t){return this.isExpired(t)&&this.remove(t),r(this.ls.getItem(this._prefix(t)))},set:function(t,n,i){return e.isNumber(i)?this._safeSet(this._ttlKey(t),o(s()+i)):this.ls.removeItem(this._ttlKey(t)),this._safeSet(this._prefix(t),o(n))},remove:function(t){return this.ls.removeItem(this._ttlKey(t)),this.ls.removeItem(this._prefix(t)),this},clear:function(){var t,e=function(t){var e,i,s=[],o=n.length;for(e=0;e<o;e++)(i=n.key(e)).match(t)&&s.push(i.replace(t,""));return s}(this.keyMatcher);for(t=e.length;t--;)this.remove(e[t]);return this},isExpired:function(t){var n=r(this.ls.getItem(this._ttlKey(t)));return!!(e.isNumber(n)&&s()>n)}}),i;function s(){return(new Date).getTime()}function o(t){return JSON.stringify(e.isUndefined(t)?null:t)}function r(e){return t.parseJSON(e)}}(),r=function(){"use strict";var n=0,i={},o=6,r=new s(10);function a(t){t=t||{},this.cancelled=!1,this.lastReq=null,this._send=t.transport,this._get=t.limiter?t.limiter(this._get):this._get,this._cache=!1===t.cache?new s(0):r}return a.setMaxPendingRequests=function(t){o=t},a.resetCache=function(){r.reset()},e.mixin(a.prototype,{_fingerprint:function(e){return(e=e||{}).url+e.type+t.param(e.data||{})},_get:function(t,e){var s,r,a=this;function l(t){e(null,t),a._cache.set(s,t)}function c(){e(!0)}s=this._fingerprint(t),this.cancelled||s!==this.lastReq||((r=i[s])?r.done(l).fail(c):n<o?(n++,i[s]=this._send(t).done(l).fail(c).always(function(){n--,delete i[s],a.onDeckRequestArgs&&(a._get.apply(a,a.onDeckRequestArgs),a.onDeckRequestArgs=null)})):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(n,i){var s,o;i=i||t.noop,n=e.isString(n)?{url:n}:n||{},o=this._fingerprint(n),this.cancelled=!1,this.lastReq=o,(s=this._cache.get(o))?i(null,s):this._get(n,i)},cancel:function(){this.cancelled=!0}}),a}(),a=window.SearchIndex=function(){"use strict";var n="c",i="i";function s(n){(n=n||{}).datumTokenizer&&n.queryTokenizer||t.error("datumTokenizer and queryTokenizer are both required"),this.identify=n.identify||e.stringify,this.datumTokenizer=n.datumTokenizer,this.queryTokenizer=n.queryTokenizer,this.reset()}return e.mixin(s.prototype,{bootstrap:function(t){this.datums=t.datums,this.trie=t.trie},add:function(t){var s=this;t=e.isArray(t)?t:[t],e.each(t,function(t){var a,l;s.datums[a=s.identify(t)]=t,l=o(s.datumTokenizer(t)),e.each(l,function(t){var e,o,l;for(e=s.trie,o=t.split("");l=o.shift();)(e=e[n][l]||(e[n][l]=r()))[i].push(a)})})},get:function(t){var n=this;return e.map(t,function(t){return n.datums[t]})},search:function(t){var s,r,a=this;return s=o(this.queryTokenizer(t)),e.each(s,function(t){var e,s,o,l;if(r&&0===r.length)return!1;for(e=a.trie,s=t.split("");e&&(o=s.shift());)e=e[n][o];if(!e||0!==s.length)return r=[],!1;l=e[i].slice(0),r=r?function(t,e){var n=0,i=0,s=[];t=t.sort(),e=e.sort();var o=t.length,r=e.length;for(;n<o&&i<r;)t[n]<e[i]?n++:t[n]>e[i]?i++:(s.push(t[n]),n++,i++);return s}(r,l):l}),r?e.map(function(t){for(var e={},n=[],i=0,s=t.length;i<s;i++)e[t[i]]||(e[t[i]]=!0,n.push(t[i]));return n}(r),function(t){return a.datums[t]}):[]},all:function(){var t=[];for(var e in this.datums)t.push(this.datums[e]);return t},reset:function(){this.datums={},this.trie=r()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),s;function o(t){return t=e.filter(t,function(t){return!!t}),t=e.map(t,function(t){return t.toLowerCase()})}function r(){var t={};return t[i]=[],t[n]={},t}}(),l=function(){"use strict";var t;function n(t){this.url=t.url,this.ttl=t.ttl,this.cache=t.cache,this.prepare=t.prepare,this.transform=t.transform,this.transport=t.transport,this.thumbprint=t.thumbprint,this.storage=new o(t.cacheKey)}return t={data:"data",protocol:"protocol",thumbprint:"thumbprint"},e.mixin(n.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(e){this.cache&&(this.storage.set(t.data,e,this.ttl),this.storage.set(t.protocol,location.protocol,this.ttl),this.storage.set(t.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var e,n={};return this.cache?(n.data=this.storage.get(t.data),n.protocol=this.storage.get(t.protocol),n.thumbprint=this.storage.get(t.thumbprint),e=n.thumbprint!==this.thumbprint||n.protocol!==location.protocol,n.data&&!e?n.data:null):null},fromNetwork:function(t){var e,n=this;t&&(e=this.prepare(this._settings()),this.transport(e).fail(function(){t(!0)}).done(function(e){t(null,n.transform(e))}))},clear:function(){return this.storage.clear(),this}}),n}(),c=function(){"use strict";function t(t){this.url=t.url,this.prepare=t.prepare,this.transform=t.transform,this.transport=new r({cache:t.cache,limiter:t.limiter,transport:t.transport})}return e.mixin(t.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(t,e){var n,i=this;if(e)return t=t||"",n=this.prepare(t,this._settings()),this.transport.get(n,function(t,n){e(t?[]:i.transform(n))})},cancelLastRequest:function(){this.transport.cancel()}}),t}(),u=function(){"use strict";return function(s){var o,r;return o={initialize:!0,identify:e.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},!(s=e.mixin(o,s||{})).datumTokenizer&&t.error("datumTokenizer is required"),!s.queryTokenizer&&t.error("queryTokenizer is required"),r=s.sorter,s.sorter=r?function(t){return t.sort(r)}:e.identity,s.local=e.isFunction(s.local)?s.local():s.local,s.prefetch=function(s){var o;if(!s)return null;return o={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:e.identity,transform:e.identity,transport:null},s=e.isString(s)?{url:s}:s,!(s=e.mixin(o,s)).url&&t.error("prefetch requires url to be set"),s.transform=s.filter||s.transform,s.cacheKey=s.cacheKey||s.url,s.thumbprint=n+s.thumbprint,s.transport=s.transport?i(s.transport):t.ajax,s}(s.prefetch),s.remote=function(n){var s;if(!n)return;return s={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:e.identity,transport:null},n=e.isString(n)?{url:n}:n,!(n=e.mixin(s,n)).url&&t.error("remote requires url to be set"),n.transform=n.filter||n.transform,n.prepare=function(t){var e,n,i;return e=t.prepare,n=t.replace,i=t.wildcard,e||(e=n?function(t,e){return e.url=n(e.url,t),e}:t.wildcard?function(t,e){return e.url=e.url.replace(i,encodeURIComponent(t)),e}:function(t,e){return e})}(n),n.limiter=function(t){var n,i,s;return n=t.limiter,i=t.rateLimitBy,s=t.rateLimitWait,n||(n=/^throttle$/i.test(i)?function(t){return function(n){return e.throttle(n,t)}}(s):function(t){return function(n){return e.debounce(n,t)}}(s)),n}(n),n.transport=n.transport?i(n.transport):t.ajax,delete n.replace,delete n.wildcard,delete n.rateLimitBy,delete n.rateLimitWait,n}(s.remote),s};function i(n){return function(i){var s=t.Deferred();return n(i,function(t){e.defer(function(){s.resolve(t)})},function(t){e.defer(function(){s.reject(t)})}),s}}}();return function(){"use strict";var n;function s(t){t=u(t),this.sorter=t.sorter,this.identify=t.identify,this.sufficient=t.sufficient,this.local=t.local,this.remote=t.remote?new c(t.remote):null,this.prefetch=t.prefetch?new l(t.prefetch):null,this.index=new a({identify:this.identify,datumTokenizer:t.datumTokenizer,queryTokenizer:t.queryTokenizer}),!1!==t.initialize&&this.initialize()}return n=window&&window.Bloodhound,s.noConflict=function(){return window&&(window.Bloodhound=n),s}
1,s.tokenizers=i,e.mixin(s.prototype,{__ttAdapter:function(){var t=this;return this.remote?function(e,n,i){return t.search(e,n,i)}:function(e,n){return t.search(e,n)}},_loadPrefetch:function(){var e,n,i=this;return e=t.Deferred(),this.prefetch?(n=this.prefetch.fromCache())?(this.index.bootstrap(n),e.resolve()):this.prefetch.fromNetwork(function(t,n){if(t)return e.reject();i.add(n),i.prefetch.store(i.index.serialize()),e.resolve()}):e.resolve(),e.promise()},_initialize:function(){var t=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(function(){t.add(t.local)}),this.initPromise},initialize:function(t){return!this.initPromise||t?this._initialize():this.initPromise},add:function(t){return this.index.add(t),this},get:function(t){return t=e.isArray(t)?t:[].slice.call(arguments),this.index.get(t)},search:function(t,n,i){var s,o=this;return s=this.sorter(this.index.search(t)),n(this.remote?s.slice():s),this.remote&&s.length<this.sufficient?this.remote.get(t,function(t){var n=[];e.each(t,function(t){!e.some(s,function(e){return o.identify(t)===o.identify(e)})&&n.push(t)}),i&&i(n)}):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return r.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),s}()}),function(t,e){"function"==typeof define&&define.amd?define("typeahead.js",["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(0,function(t){var e=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:t.isArray,isFunction:t.isFunction,isObject:t.isPlainObject,isUndefined:function(t){return void 0===t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(e){return e instanceof t},toStr:function(t){return e.isUndefined(t)||null===t?"":t+""},bind:t.proxy,each:function(e,n){t.each(e,function(t,e){return n(e,t)})},map:t.map,filter:t.grep,every:function(e,n){var i=!0;return e?(t.each(e,function(t,s){if(!(i=n.call(null,s,t,e)))return!1}),!!i):i},some:function(e,n){var i=!1;return e?(t.each(e,function(t,s){if(i=n.call(null,s,t,e))return!1}),!!i):i},mixin:t.extend,identity:function(t){return t},clone:function(e){return t.extend(!0,{},e)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(e){return t.isFunction(e)?e:function(){return String(e)}},defer:function(t){setTimeout(t,0)},debounce:function(t,e,n){var i,s;return function(){var o,r,a=this,l=arguments;return o=function(){i=null,n||(s=t.apply(a,l))},r=n&&!i,clearTimeout(i),i=setTimeout(o,e),r&&(s=t.apply(a,l)),s}},throttle:function(t,e){var n,i,s,o,r,a;return r=0,a=function(){r=new Date,s=null,o=t.apply(n,i)},function(){var l=new Date,c=e-(l-r);return n=this,i=arguments,c<=0?(clearTimeout(s),s=null,r=l,o=t.apply(n,i)):s||(s=setTimeout(a,c)),o}},stringify:function(t){return e.isString(t)?t:JSON.stringify(t)},noop:function(){}}}(),n=function(){"use strict";var t={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return function(s){var o,r;return r=e.mixin({},t,s),{css:(o={css:i(),classes:r,html:(a=r,{wrapper:'<span class="'+a.wrapper+'"></span>',menu:'<div class="'+a.menu+'"></div>'}),selectors:n(r)}).css,html:o.html,classes:o.classes,selectors:o.selectors,mixin:function(t){e.mixin(t,o)}};var a};function n(t){var n={};return e.each(t,function(t,e){n[e]="."+t}),n}function i(){var t={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return e.isMsie()&&e.mixin(t.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),t}}(),i=function(){"use strict";var n;function i(e){e&&e.el||t.error("EventBus initialized without el"),this.$el=t(e.el)}return"typeahead:",n={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},e.mixin(i.prototype,{_trigger:function(e,n){var i;return i=t.Event("typeahead:"+e),(n=n||[]).unshift(i),this.$el.trigger.apply(this.$el,n),i},before:function(t){var e;
1return e=[].slice.call(arguments,1),this._trigger("before"+t,e).isDefaultPrevented()},trigger:function(t){var e;this._trigger(t,[].slice.call(arguments,1)),(e=n[t])&&this._trigger(e,[].slice.call(arguments,1))}}),i}(),s=function(){"use strict";var t=/\s+/,e=function(){var t;t=window.setImmediate?function(t){setImmediate(function(){t()})}:function(t){setTimeout(function(){t()},0)};return t}();return{onSync:function(t,e,i){return n.call(this,"sync",t,e,i)},onAsync:function(t,e,i){return n.call(this,"async",t,e,i)},off:function(e){var n;if(!this._callbacks)return this;e=e.split(t);for(;n=e.shift();)delete this._callbacks[n];return this},trigger:function(n){var s,o,r,a,l;if(!this._callbacks)return this;n=n.split(t),r=[].slice.call(arguments,1);for(;(s=n.shift())&&(o=this._callbacks[s]);)a=i(o.sync,this,[s].concat(r)),l=i(o.async,this,[s].concat(r)),a()&&e(l);return this}};function n(e,n,i,s){var o;if(!i)return this;for(n=n.split(t),i=s?function(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}(i,s):i,this._callbacks=this._callbacks||{};o=n.shift();)this._callbacks[o]=this._callbacks[o]||{sync:[],async:[]},this._callbacks[o][e].push(i);return this}function i(t,e,n){return function(){for(var i,s=0,o=t.length;!i&&s<o;s+=1)i=!1===t[s].apply(e,n);return!i}}}(),o=function(t){"use strict";var n={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(i){var s;(i=e.mixin({},n,i)).node&&i.pattern&&(i.pattern=e.isArray(i.pattern)?i.pattern:[i.pattern],s=function(t,n,i){for(var s,o=[],r=0,a=t.length;r<a;r++)o.push(e.escapeRegExChars(t[r]));return s=i?"\\b("+o.join("|")+")\\b":"("+o.join("|")+")",n?new RegExp(s):new RegExp(s,"i")}(i.pattern,i.caseSensitive,i.wordsOnly),function t(e,n){var i;for(var s=0;s<e.childNodes.length;s++)3===(i=e.childNodes[s]).nodeType?s+=n(i)?1:0:t(i,n)}(i.node,function(e){var n,o,r;(n=s.exec(e.data))&&(r=t.createElement(i.tagName),i.className&&(r.className=i.className),(o=e.splitText(n.index)).splitText(n[0].length),r.appendChild(o.cloneNode(!0)),e.parentNode.replaceChild(r,o));return!!n}))}}(window.document),r=function(){"use strict";var n;function i(n,i){var s;(n=n||{}).input||t.error("input is missing"),i.mixin(this),this.$hint=t(n.hint),this.$input=t(n.input),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=(s=this.$input,t('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:s.css("font-family"),fontSize:s.css("font-size"),fontStyle:s.css("font-style"),fontVariant:s.css("font-variant"),fontWeight:s.css("font-weight"),wordSpacing:s.css("word-spacing"),letterSpacing:s.css("letter-spacing"),textIndent:s.css("text-indent"),textRendering:s.css("text-rendering"),textTransform:s.css("text-transform")}).insertAfter(s)),this._checkLanguageDirection(),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=e.noop)}return n={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},i.normalizeQuery=function(t){return e.toStr(t).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},e.mixin(i.prototype,s,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(t){var e=n[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(t,e){var n;switch(t){case"up":case"down":n=!o(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){var n;switch(t){case"tab":n=!o(e);break;default:n=!0}return n},_checkLanguageDirection:function(){var t=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==t&&(this.dir=t,this.$hint.attr("dir",t),this.trigger("langDirChanged",t))},_setQuery:function(t,e){var n,s,o,r;o=t,r=this.query,s=!!(n=i.normalizeQuery(o)===i.normalizeQuery(r))&&this.query.length!==t.length,this.query=t,e||n?!e&&s&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},bind:function(){var t,i,s,o,r=this;return t=e.bind(this._onBlur,this),i=e.bind(this._onFocus,this),s=e.bind(this._onKeydown,this),o=e.bind(this._onInput,this),this.$input.on("blur.tt",t).on("focus.tt",i).on("keydown.tt",s),!e.isMsie()||e.isMsie()>
19?this.$input.on("input.tt",o):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(t){n[t.which||t.keyCode]||e.defer(e.bind(r._onInput,r,t))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(t,e){this.setInputValue(t),this._setQuery(t,e)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(t){this.$input.val(t),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,e,n;n=(t=this.getInputValue())!==(e=this.getHint())&&0===e.indexOf(t),!(""!==t&&n&&!this.hasOverflow())&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,n,i;return t=this.$input.val().length,n=this.$input[0].selectionStart,e.isNumber(n)?n===t:!document.selection||((i=document.selection.createRange()).moveStart("character",-t),t===i.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=t("<div>")}}),i;function o(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}}(),a=function(){"use strict";var n,i;function r(n,s){var o;(n=n||{}).templates=n.templates||{},n.templates.notFound=n.templates.notFound||n.templates.empty,n.source||t.error("missing source"),n.node||t.error("missing node"),n.name&&(o=n.name,!/^[_a-zA-Z0-9-]+$/.test(o))&&t.error("invalid dataset name: "+n.name),s.mixin(this),this.highlight=!!n.highlight,this.name=n.name||i(),this.limit=n.limit||5,this.displayFn=function(t){return t=t||e.stringify,e.isFunction(t)?t:function(e){return e[t]}}(n.display||n.displayKey),this.templates=function(n,i){return{notFound:n.notFound&&e.templatify(n.notFound),pending:n.pending&&e.templatify(n.pending),header:n.header&&e.templatify(n.header),footer:n.footer&&e.templatify(n.footer),suggestion:n.suggestion||function(e){return t("<div>").text(i(e))}}}(n.templates,this.displayFn),this.source=n.source.__ttAdapter?n.source.__ttAdapter():n.source,this.async=e.isUndefined(n.async)?this.source.length>2:!!n.async,this._resetLastSuggestion(),this.$el=t(n.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}return n={val:"tt-selectable-display",obj:"tt-selectable-object"},i=e.getIdGenerator(),r.extractData=function(e){var i=t(e);return i.data(n.obj)?{val:i.data(n.val)||"",obj:i.data(n.obj)||null}:null},e.mixin(r.prototype,s,{_overwrite:function(t,e){(e=e||[]).length?this._renderSuggestions(t,e):this.async&&this.templates.pending?this._renderPending(t):!this.async&&this.templates.notFound?this._renderNotFound(t):this._empty(),this.trigger("rendered",this.name,e,!1)},_append:function(t,e){(e=e||[]).length&&this.$lastSuggestion.length?this._appendSuggestions(t,e):e.length?this._renderSuggestions(t,e):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(t),this.trigger("rendered",this.name,e,!0)},_renderSuggestions:function(t,e){var n;n=this._getSuggestionsFragment(t,e),this.$lastSuggestion=n.children().last(),this.$el.html(n).prepend(this._getHeader(t,e)).append(this._getFooter(t,e))},_appendSuggestions:function(t,e){var n,i;i=(n=this._getSuggestionsFragment(t,e)).children().last(),this.$lastSuggestion.after(n),this.$lastSuggestion=i},_renderPending:function(t){var e=this.templates.pending;this._resetLastSuggestion(),e&&this.$el.html(e({query:t,dataset:this.name}))},_renderNotFound:function(t){var e=this.templates.notFound;this._resetLastSuggestion(),e&&this.$el.html(e({query:t,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(i,s){var r,a=this;return r=document.createDocumentFragment(),e.each(s,function(e){var s,o;o=a._injectQuery(i,e),s=t(a.templates.suggestion(o)).data(n.obj,e).data(n.val,a.displayFn(e)).addClass(a.classes.suggestion+" "+a.classes.selectable),r.appendChild(s[0])}),this.highlight&&o({className:this.classes.highlight,node:r,pattern:i}),t(r)},_getFooter:function(t,e){return this.templates.footer?this.templates.footer({query:t,suggestions:e,dataset:this.name}):null},_getHeader:function(t,e){return this.templates.header?this.templates.header({query:t,suggestions:e,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=t()},_injectQuery:function(t,n){return e.isObject(n)?e.mixin({_query:t},n):n},update:function(e){var n=this,i=!1,s=!1,o=0;function r(t){s||(s=!0,t=(t||[]).slice(0,n.limit),o=t.length,n._overwrite(e,t),o<n.limit&&n.async&&n.trigger("asyncRequested",e))}this.cancel(),this.cancel=function(){i=!0,n.cancel=t.noop,n.async&&n.trigger("asyncCanceled",e)},this.source(e,r,function(s){s=s||[],!i&&o<n.limit&&(n.cancel=t.noop,o=0,n._append(e,s.slice(0,n.limit-o)),n.async&&n.trigger("asyncReceived",e))}),!s&&r([])},cancel:t.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=t("<div>")}}),r}(),l=function(){"use strict";function n(n,i){var s=this;(n=n||{}).node||t.error("node is required"),i.mixin(this),this.$node=t(n.node),this.query=null,this.datasets=e.map(n.datasets,function(e){var n=s.$node.find(e.node).first();
1return e.node=n.length?n:t("<div>").appendTo(s.$node),new a(e,i)})}return e.mixin(n.prototype,s,{_onSelectableClick:function(e){this.trigger("selectableClicked",t(e.currentTarget))},_onRendered:function(t,e,n,i){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",e,n,i)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){return e.every(this.datasets,function(t){return t.isEmpty()})},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var t=this.getActiveSelectable();t&&t.removeClass(this.classes.cursor)},_ensureVisible:function(t){var e,n,i,s;n=(e=t.position().top)+t.outerHeight(!0),i=this.$node.scrollTop(),s=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),e<0?this.$node.scrollTop(i+e):s<n&&this.$node.scrollTop(i+(n-s))},bind:function(){var t,n=this;return t=e.bind(this._onSelectableClick,this),this.$node.on("click.tt",this.selectors.selectable,t),e.each(this.datasets,function(t){t.onSync("asyncRequested",n._propagate,n).onSync("asyncCanceled",n._propagate,n).onSync("asyncReceived",n._propagate,n).onSync("rendered",n._onRendered,n).onSync("cleared",n._onCleared,n)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.addClass(this.classes.open)},close:function(){this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(t){this.$node.attr("dir",t)},selectableRelativeToCursor:function(t){var e,n,i;return n=this.getActiveSelectable(),e=this._getSelectables(),-1===(i=(i=((i=(n?e.index(n):-1)+t)+1)%(e.length+1)-1)<-1?e.length-1:i)?null:e.eq(i)},setCursor:function(t){this._removeCursor(),(t=t&&t.first())&&(t.addClass(this.classes.cursor),this._ensureVisible(t))},getSelectableData:function(t){return t&&t.length?a.extractData(t):null},getActiveSelectable:function(){var t=this._getSelectables().filter(this.selectors.cursor).first();return t.length?t:null},getTopSelectable:function(){var t=this._getSelectables().first();return t.length?t:null},update:function(t){var n=t!==this.query;return n&&(this.query=t,e.each(this.datasets,function(e){e.update(t)})),n},empty:function(){e.each(this.datasets,function(t){t.clear()}),this.query=null,this.$node.addClass(this.classes.empty)},destroy:function(){this.$node.off(".tt"),this.$node=t("<div>"),e.each(this.datasets,function(t){t.destroy()})}}),n}(),c=function(){"use strict";var t=l.prototype;function n(){l.apply(this,[].slice.call(arguments,0))}return e.mixin(n.prototype,l.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),t.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),t.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),t._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),t._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(e){return this.$node.css("ltr"===e?this.css.ltr:this.css.rtl),t.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),n}(),u=function(){"use strict";function n(n,s){var o,r,a,l,c,u,d,h,f,p,m;(n=n||{}).input||t.error("missing input"),n.menu||t.error("missing menu"),n.eventBus||t.error("missing event bus"),s.mixin(this),this.eventBus=n.eventBus,this.minLength=e.isNumber(n.minLength)?n.minLength:1,this.input=n.input,this.menu=n.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),o=i(this,"activate","open","_onFocused"),r=i(this,"deactivate","_onBlurred"),a=i(this,"isActive","
1isOpen","_onEnterKeyed"),l=i(this,"isActive","isOpen","_onTabKeyed"),c=i(this,"isActive","_onEscKeyed"),u=i(this,"isActive","open","_onUpKeyed"),d=i(this,"isActive","open","_onDownKeyed"),h=i(this,"isActive","isOpen","_onLeftKeyed"),f=i(this,"isActive","isOpen","_onRightKeyed"),p=i(this,"_openIfActive","_onQueryChanged"),m=i(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",o,this).onSync("blurred",r,this).onSync("enterKeyed",a,this).onSync("tabKeyed",l,this).onSync("escKeyed",c,this).onSync("upKeyed",u,this).onSync("downKeyed",d,this).onSync("leftKeyed",h,this).onSync("rightKeyed",f,this).onSync("queryChanged",p,this).onSync("whitespaceChanged",m,this).onSync("langDirChanged",this._onLangDirChanged,this)}return e.mixin(n.prototype,{_hacks:function(){var n,i;n=this.input.$input||t("<div>"),i=this.menu.$node||t("<div>"),n.on("blur.tt",function(t){var s,o,r;s=document.activeElement,o=i.is(s),r=i.has(s).length>0,e.isMsie()&&(o||r)&&(t.preventDefault(),t.stopImmediatePropagation(),e.defer(function(){n.focus()}))}),i.on("mousedown.tt",function(t){t.preventDefault()})},_onSelectableClicked:function(t,e){this.select(e)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(t,e,n,i){this._updateHint(),this.eventBus.trigger("render",n,i,e)},_onAsyncRequested:function(t,e,n){this.eventBus.trigger("asyncrequest",n,e)},_onAsyncCanceled:function(t,e,n){this.eventBus.trigger("asynccancel",n,e)},_onAsyncReceived:function(t,e,n){this.eventBus.trigger("asyncreceive",n,e)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(t,e){var n;(n=this.menu.getActiveSelectable())&&this.select(n)&&e.preventDefault()},_onTabKeyed:function(t,e){var n;(n=this.menu.getActiveSelectable())?this.select(n)&&e.preventDefault():(n=this.menu.getTopSelectable())&&this.autocomplete(n)&&e.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(t,e){this._minLengthMet(e)?this.menu.update(e):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(t,e){this.dir!==e&&(this.dir=e,this.menu.setLanguageDirection(e))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(t){return(t=e.isString(t)?t:this.input.getQuery()||"").length>=this.minLength},_updateHint:function(){var t,n,i,s,o,a;t=this.menu.getTopSelectable(),n=this.menu.getSelectableData(t),i=this.input.getInputValue(),!n||e.isBlankString(i)||this.input.hasOverflow()?this.input.clearHint():(s=r.normalizeQuery(i),o=e.escapeRegExChars(s),(a=new RegExp("^(?:"+o+")(.+$)","i").exec(n.val))&&this.input.setHint(i+a[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return!!this.isActive()||!(!this.isEnabled()||this.eventBus.before("active"))&&(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return!this.isActive()||!this.eventBus.before("idle")&&(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0)},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(t){this.input.setQuery(e.toStr(t))},getVal:function(){return this.input.getQuery()},select:function(t){var e=this.menu.getSelectableData(t);return!(!e||this.eventBus.before("select",e.obj))&&(this.input.setQuery(e.val,!0),this.eventBus.trigger("select",e.obj),this.close(),!0)},autocomplete:function(t){var e,n;return e=this.input.getQuery(),!(!((n=this.menu.getSelectableData(t))&&e!==n.val)||this.eventBus.before("autocomplete",n.obj))&&(this.input.setQuery(n.val),this.eventBus.trigger("autocomplete",n.obj),!0)},moveCursor:function(t){var e,n,i,s;return e=this.input.getQuery(),n=this.menu.selectableRelativeToCursor(t),s=(i=this.menu.getSelectableData(n))?i.obj:null,!(this._minLengthMet()&&this.menu.update(e))&&!this.eventBus.before("cursorchange",s)&&(this.menu.setCursor(n),i?this.input.setInputValue(i.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",s),!0)},destroy:function(){this.input.destroy(),this.menu.destroy()}}),n;
1function i(t){var n=[].slice.call(arguments,1);return function(){var i=[].slice.call(arguments);e.each(n,function(e){return t[e].apply(t,i)})}}}();!function(){"use strict";var s,o,a;function d(e,n){e.each(function(){var e,i=t(this);(e=i.data(o.typeahead))&&n(e,i)})}function h(n){var i;return(i=e.isJQuery(n)||e.isElement(n)?t(n).first():[]).length?i:null}s=t.fn.typeahead,o={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},a={initialize:function(s,a){var d;return a=e.isArray(a)?a:[].slice.call(arguments,1),d=n((s=s||{}).classNames),this.each(function(){var n,f,p,m,g,v,y,b,w,_,k;e.each(a,function(t){t.highlight=!!s.highlight}),n=t(this),f=t(d.html.wrapper),p=h(s.hint),m=h(s.menu),g=!1!==s.hint&&!p,v=!1!==s.menu&&!m,g&&(p=function(t,e){return t.clone().addClass(e.classes.hint).removeData().css(e.css.hint).css((n=t,{backgroundAttachment:n.css("background-attachment"),backgroundClip:n.css("background-clip"),backgroundColor:n.css("background-color"),backgroundImage:n.css("background-image"),backgroundOrigin:n.css("background-origin"),backgroundPosition:n.css("background-position"),backgroundRepeat:n.css("background-repeat"),backgroundSize:n.css("background-size")})).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1});var n}(n,d)),v&&(m=t(d.html.menu).css(d.css.menu)),p&&p.val(""),n=function(t,e){t.data(o.attrs,{dir:t.attr("dir"),autocomplete:t.attr("autocomplete"),spellcheck:t.attr("spellcheck"),style:t.attr("style")}),t.addClass(e.classes.input).attr({autocomplete:"off",spellcheck:!1});try{!t.attr("dir")&&t.attr("dir","auto")}catch(t){}return t}(n,d),(g||v)&&(f.css(d.css.wrapper),n.css(g?d.css.input:d.css.inputWithNoHint),n.wrap(f).parent().prepend(g?p:null).append(v?m:null));k=v?c:l,y=new i({el:n}),b=new r({hint:p,input:n},d),w=new k({node:m,datasets:a},d),_=new u({input:b,menu:w,eventBus:y,minLength:s.minLength},d),n.data(o.www,d),n.data(o.typeahead,_)})},isEnabled:function(){var t;return d(this.first(),function(e){t=e.isEnabled()}),t},enable:function(){return d(this,function(t){t.enable()}),this},disable:function(){return d(this,function(t){t.disable()}),this},isActive:function(){var t;return d(this.first(),function(e){t=e.isActive()}),t},activate:function(){return d(this,function(t){t.activate()}),this},deactivate:function(){return d(this,function(t){t.deactivate()}),this},isOpen:function(){var t;return d(this.first(),function(e){t=e.isOpen()}),t},open:function(){return d(this,function(t){t.open()}),this},close:function(){return d(this,function(t){t.close()}),this},select:function(e){var n=!1,i=t(e);return d(this.first(),function(t){n=t.select(i)}),n},autocomplete:function(e){var n=!1,i=t(e);return d(this.first(),function(t){n=t.autocomplete(i)}),n},moveCursor:function(t){var e=!1;return d(this.first(),function(n){e=n.moveCursor(t)}),e},val:function(t){var e;return arguments.length?(d(this,function(e){e.setVal(t)}),this):(d(this.first(),function(t){e=t.getVal()}),e)},destroy:function(){return d(this,function(t,n){!function(t){var n,i;n=t.data(o.www),i=t.parent().filter(n.selectors.wrapper),e.each(t.data(o.attrs),function(n,i){e.isUndefined(n)?t.removeAttr(i):t.attr(i,n)}),t.removeData(o.typeahead).removeData(o.www).removeData(o.attr).removeClass(n.classes.input),i.length&&(t.detach().insertAfter(i),i.remove())}(n),t.destroy()}),this}},t.fn.typeahead=function(t){return a[t]?a[t].apply(this,[].slice.call(arguments,1)):a.initialize.apply(this,arguments)},t.fn.typeahead.noConflict=function(){return t.fn.typeahead=s,this}}()}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){var e=[],n=[],i={precision:100,elapse:!1,defer:!1};n.push(/^[0-9]*$/.source),n.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),n.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),n=new RegExp(n.join("|"));var s={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"},o=function(n,s,o){this.el=n,this.$el=t(n),this.interval=null,this.offset={},this.options=t.extend({},i),this.instanceNumber=e.length,e.push(this),this.$el.data("countdown-instance",this.instanceNumber),o&&("function"==typeof o?(this.$el.on("update.countdown",o),this.$el.on("stoped.
1countdown",o),this.$el.on("finish.countdown",o)):this.options=t.extend({},i,o)),this.setFinalDate(s),!1===this.options.defer&&this.start()};t.extend(o.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var t=this;this.update(),this.interval=setInterval(function(){t.update.call(t)},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),e[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(t){var e=t;if(e instanceof Date)t=e;else{if(!String(e).match(n))throw Error("Couldn't cast `"+e+"` to a date object.");String(e).match(/^[0-9]*$/)&&(e=Number(e)),String(e).match(/\-/)&&(e=String(e).replace(/\-/g,"/")),t=new Date(e)}this.finalDate=t},update:function(){if(0!==this.$el.closest("html").length){var e=void 0!==t._data(this.el,"events"),n=new Date,i=this.finalDate.getTime()-n.getTime();i=Math.ceil(i/1e3),i=!this.options.elapse&&0>i?0:Math.abs(i),this.totalSecsLeft!==i&&e&&(this.totalSecsLeft=i,this.elapsed=n>=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()-n.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){(e=t.Event(e+".countdown")).finalDate=this.finalDate,e.elapsed=this.elapsed,e.offset=t.extend({},this.offset),e.strftime=function(t){return function(e){var n=e.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(n)for(var i=0,o=n.length;i<o;++i){var r=n[i].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),a=r[0].toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");a=new RegExp(a);var l=r[1]||"",c=r[3]||"",u=null;if(r=r[2],s.hasOwnProperty(r)&&(u=s[r],u=Number(t[u])),null!==u){if("!"===l){r=c,c="s";var d="";r&&(1===(r=r.replace(/(:|;|\s)/gi,"").split(/,/)).length?c=r[0]:(d=r[0],c=r[1])),u=1<Math.abs(u)?c:d}""===l&&10>u&&(u="0"+u.toString()),e=e.replace(a,u.toString())}}return e.replace(/%%/,"%")}}(this.offset),this.$el.trigger(e)}}),t.fn.countdown=function(){var n=Array.prototype.slice.call(arguments,0);return this.each(function(){var i=t(this).data("countdown-instance");if(void 0!==i){i=e[i];var s=n[0];o.prototype.hasOwnProperty(s)?i[s].apply(i,n.slice(1)):null===String(s).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(i.setFinalDate.call(i,s),i.start()):t.error("Method %s does not exist on jQuery.countdown".replace(/%s/gi,s))}else new o(this,n[0],n[1])})}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){function e(t){return t=s.json?JSON.stringify(t):String(t),s.raw?t:encodeURIComponent(t)}function n(e,n){if(s.raw)var o=e;else t:{var r=e;0===r.indexOf('"')&&(r=r.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{r=decodeURIComponent(r.replace(i," ")),o=s.json?JSON.parse(r):r;break t}catch(t){}o=void 0}return t.isFunction(n)?n(o):o}var i=/\+/g,s=t.cookie=function(i,o,r){if(1<arguments.length&&!t.isFunction(o)){if("number"==typeof(r=t.extend({},s.defaults,r)).expires){var a=r.expires,l=r.expires=new Date;l.setMilliseconds(l.getMilliseconds()+864e5*a)}return document.cookie=[s.raw?i:encodeURIComponent(i),"=",e(o),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}a=i?void 0:{};for(var c=0,u=(l=document.cookie?document.cookie.split("; "):[]).length;c<u;c++){var d=l[c].split("="),h=d.shift();if(h=s.raw?h:decodeURIComponent(h),d=d.join("="),i===h){a=n(d,o);break}i||void 0===(d=n(d))||(a[h]=d)}return a};s.defaults={},t.removeCookie=function(e,n){return t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e)}}),function(t,e){"use strict";function n(n,i,o,a,l){function c(){x=t.devicePixelRatio>1,o=u(o),i.delay>=0&&setTimeout(function(){d(!0)},i.delay),(i.delay<0||i.combined)&&(a.e=function(t,e){var s,o=0;return function(r,a){function l(){o=+new Date,e.call(n,r)}var c=+new Date-o;s&&clearTimeout(s),c>t||!i.enableThrottle||a?l():s=setTimeout(l,t-c)}}(i.throttle,function(t){"resize"===t.type&&(_=k=-1),d(t.all)}),a.a=function(t){t=u(t),o.push.apply(o,t)},a.g=function(){return o=s(o).filter(function(){return!s(this).data(i.loadedName)})},a.f=function(t){for(var e=0;e<t.length;e++){var n=o.filter(function(){return this===t[e]});n.length&&d(!1,n)}},d(),s(i.appendScroll).on("scroll."+l+" resize."+l,a.e))}function u(t){for(var o=i.defaultImage,r=i.placeholder,a=i.imageBase,l=i.srcsetAttribute,c=i.loaderAttribute,u=i._f||{},d=0,h=(t=s(t).filter(function(){var t=s(this),n=g(this);return!t.data(i.handledName)&&(t.attr(i.attribute)||t.attr(l)||t.attr(c)||u[n]!==e)}).data("plugin_"+i.name,n)).length;d<h;
vendor: 5,109 bytes, line 1
1d++){var f=s(t[d]),p=g(t[d]),m=f.attr(i.imageBaseAttribute)||a;p===$&&m&&f.attr(l)&&f.attr(l,v(f.attr(l),m)),u[p]===e||f.attr(c)||f.attr(c,u[p]),p===$&&o&&!f.attr(D)?f.attr(D,o):p===$||!r||f.css(M)&&"none"!==f.css(M)||f.css(M,"url('"+r+"')")}return t}function d(t,e){if(o.length){for(var r=e||o,a=!1,l=i.imageBase||"",c=i.srcsetAttribute,u=i.handledName,d=0;d<r.length;d++)if(t||e||f(r[d])){var p=s(r[d]),m=g(r[d]),v=p.attr(i.attribute),y=p.attr(i.imageBaseAttribute)||l,b=p.attr(i.loaderAttribute);p.data(u)||i.visibleOnly&&!p.is(":visible")||!((v||p.attr(c))&&(m===$&&(y+v!==p.attr(D)||p.attr(c)!==p.attr(A))||m!==$&&y+v!==p.css(M))||b)||(a=!0,p.data(u,!0),h(p,m,y,b))}a&&(o=s(o).filter(function(){return!s(this).data(u)}))}else i.autoDestroy&&n.destroy()}function h(t,e,n,o){++w;var r=function(){b("onError",t),y(),r=s.noop};b("beforeLoad",t);var a=i.attribute,l=i.srcsetAttribute,c=i.sizesAttribute,u=i.retinaAttribute,d=i.removeAttribute,h=i.loadedName,f=t.attr(u);if(o){var p=function(){d&&t.removeAttr(i.loaderAttribute),t.data(h,!0),b(S,t),setTimeout(y,1),p=s.noop};t.off(C).one(C,r).one(T,p),b(o,t,function(e){e?(t.off(T),p()):(t.off(C),r())})||t.trigger(C)}else{var m=s(new Image);m.one(C,r).one(T,function(){t.hide(),e===$?t.attr(O,m.attr(O)).attr(A,m.attr(A)).attr(D,m.attr(D)):t.css(M,"url('"+m.attr(D)+"')"),t[i.effect](i.effectTime),d&&(t.removeAttr(a+" "+l+" "+u+" "+i.imageBaseAttribute),c!==O&&t.removeAttr(c)),t.data(h,!0),b(S,t),m.remove(),y()});var g=(x&&f?f:t.attr(a))||"";m.attr(O,t.attr(c)).attr(A,t.attr(l)).attr(D,g?n+g:null),m.complete&&m.trigger(T)}}function f(t){var e=t.getBoundingClientRect(),n=i.scrollDirection,s=i.threshold,o=m()+s>e.top&&-s<e.bottom,r=p()+s>e.left&&-s<e.right;return"vertical"===n?o:"horizontal"===n?r:o&&r}function p(){return _>=0?_:_=s(t).width()}function m(){return k>=0?k:k=s(t).height()}function g(t){return t.tagName.toLowerCase()}function v(t,e){if(e){var n=t.split(",");t="";for(var i=0,s=n.length;i<s;i++)t+=e+n[i].trim()+(i!==s-1?",":"")}return t}function y(){--w,o.length||w||b("onFinishedAll")}function b(t,e,s){return!!(t=i[t])&&(t.apply(n,[].slice.call(arguments,1)),!0)}var w=0,_=-1,k=-1,x=!1,S="afterLoad",T="load",C="error",$="img",D="src",A="srcset",O="sizes",M="background-image";"event"===i.bind||r?c():s(t).on(T+"."+l,c)}function i(i,r){var a=this,l=s.extend({},a.config,r),c={},u=l.name+"-"+ ++o;return a.config=function(t,n){return n===e?l[t]:(l[t]=n,a)},a.addItems=function(t){return c.a&&c.a("string"===s.type(t)?s(t):t),a},a.getItems=function(){return c.g?c.g():{}},a.update=function(t){return c.e&&c.e({},!t),a},a.force=function(t){return c.f&&c.f("string"===s.type(t)?s(t):t),a},a.loadAll=function(){return c.e&&c.e({all:!0},!0),a},a.destroy=function(){return s(l.appendScroll).off("."+u,c.e),s(t).off("."+u),c={},e},n(a,l,i,c,u),l.chainable?i:a}var s=t.jQuery||t.Zepto,o=0,r=!1;s.fn.Lazy=s.fn.lazy=function(t){return new i(this,t)},s.Lazy=s.lazy=function(t,n,o){if(s.isFunction(n)&&(o=n,n=[]),s.isFunction(o)){t=s.isArray(t)?t:[t],n=s.isArray(n)?n:[n];for(var r=i.prototype.config,a=r._f||(r._f={}),l=0,c=t.length;l<c;l++)(r[t[l]]===e||s.isFunction(r[t[l]]))&&(r[t[l]]=o);for(var u=0,d=n.length;u<d;u++)a[n[u]]=t[0]}},i.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},s(t).on("load",function(){r=!0})}(window),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";var t;function e(){return t.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(s(t,e))return;return 1}function r(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,e){for(var n=[],i=t.length,s=0;s<i;++s)n.push(e(t[s],s));return n}function u(t,e){for(var n in e)s(e,n)&&(t[n]=e[n]);return s(e,"toString")&&(t.toString=e.toString),s(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Te(t,e,n,i,!0).utc()}function h(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 5,836 bytes, line 1
1dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function f(t){if(null==t._isValid){var e=h(t),n=m.call(e.parsedDateParts,function(t){return null!=t});n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function p(t){var e=d(NaN);return null!=t?u(h(e),t):h(e).userInvalidated=!0,e}var m=Array.prototype.some||function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1},g=e.momentProperties=[],v=!1;function y(t,e){var n,i,s,o=g.length;if(r(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),r(e._i)||(t._i=e._i),r(e._f)||(t._f=e._f),r(e._l)||(t._l=e._l),r(e._strict)||(t._strict=e._strict),r(e._tzm)||(t._tzm=e._tzm),r(e._isUTC)||(t._isUTC=e._isUTC),r(e._offset)||(t._offset=e._offset),r(e._pf)||(t._pf=h(e)),r(e._locale)||(t._locale=e._locale),0<o)for(n=0;n<o;n++)r(s=e[i=g[n]])||(t[i]=s);return t}function b(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,e.updateOffset(this),v=!1)}function w(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function _(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function k(t,n){var i=!0;return u(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),i){for(var o,r,a=[],l=arguments.length,c=0;c<l;c++){if(o="","object"==typeof arguments[c]){for(r in o+="\n["+c+"] ",arguments[0])s(arguments[0],r)&&(o+=r+": "+arguments[0][r]+", ");o=o.slice(0,-2)}else o=arguments[c];a.push(o)}_(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}var x={};function S(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),x[t]||(_(n),x[t]=!0)}function T(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,e){var n,o=u({},t);for(n in e)s(e,n)&&(i(t[n])&&i(e[n])?(o[n]={},u(o[n],t[n]),u(o[n],e[n])):null!=e[n]?o[n]=e[n]:delete o[n]);for(n in t)s(t,n)&&!s(e,n)&&i(t[n])&&(o[n]=u({},o[n]));return o}function $(t){null!=t&&this.set(t)}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var D=Object.keys||function(t){var e,n=[];for(e in t)s(t,e)&&n.push(e);return n};function A(t,e,n){var i=""+Math.abs(t);return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,M=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},N={};function I(t,e,n,i){var s="string"==typeof i?function(){return this[i]()}:i;t&&(N[t]=s),e&&(N[e[0]]=function(){return A(s.apply(this,arguments),e[1],e[2])}),n&&(N[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function L(t,e){return t.isValid()?(e=R(e,t.localeData()),E[e]=E[e]||function(t){for(var e,n=t.match(O),i=0,s=n.length;i<s;i++)N[n[i]]?n[i]=N[n[i]]:n[i]=(e=n[i]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var i="",o=0;o<s;o++)i+=T(n[o])?n[o].call(e,t):n[o];return i}}(e),E[e](t)):t.localeData().invalidDate()}function R(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(M.lastIndex=0;0<=n&&M.test(t);)t=t.replace(M,i),M.lastIndex=0,--n;return t}var j={};function P(t,e){var n=t.toLowerCase();j[n]=j[n+"s"]=j[e]=t}function H(t){return"string"==typeof t?j[t]||j[t.toLowerCase()]:void 0}function Y(t){var e,n,i={};for(n in t)s(t,n)&&(e=H(n))&&(i[e]=t[n]);return i}var F={};function q(t,e){F[t]=e}function W(t){return t%4==0&&t%100!=0||t%400==0}function z(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function U(t){var e=0;return 0!=(t=+t)&&isFinite(t)?z(t):e}function B(t,n){return function(i){return null!=i?(G(this,t,i),e.updateOffset(this,n),this):V(this,t)}}function V(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function G(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&W(t.year())&&1===t.month()&&29===t.date()?(n=U(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Dt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var Q=/\d/,K=/\d\d/,X=/\d{3}/,J=/\d{4}/,Z=/[+-]?\d{6}/,tt=/\d\d?/,et=/\d\d\d\d?/,nt=/\d\d\d\d\d\d?/,it=/\d{1,3}/,st=/\d{1,4}/,ot=/[+-]?\d{1,6}/,rt=/\d+/,at=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,ct=/Z|[+-]\d\d(?::?\d\d)?/gi,ut=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function dt(t,e,n){pt[t]=T(e)?e:function(t,i){return t&&n?n:e}}function ht(t,e){return s(pt,t)?pt[t](e._strict,e._locale):new RegExp(ft(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,s){return e||n||i||s})))}function ft(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={},mt={};function gt(t,e){var n,i,s=e;for("string"==typeof t&&(t=[t]),a(e)&&(s=function(t,n){n[e]=U(t)}),i=t.length,n=0;n<i;n++)mt[t[n]]=s}function vt(t,e){gt(t,function(t,n,i,s){i._w=i._w||{},e(t,i._w,i,s)})}var yt,bt=0,wt=1,_t=2,kt=3,xt=4,St=5,Tt=6,Ct=7,$t=8;function Dt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%(n=12)+n)%n;return t+=(e-n)/12,1==n?W(t)?29:28:31-n%7%2}yt=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},I("M",["MM",2],"Mo",function(){return this.month()+1}
1),I("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),I("MMMM",0,0,function(t){return this.localeData().months(this,t)}),P("month","M"),q("month",8),dt("M",tt),dt("MM",tt,K),dt("MMM",function(t,e){return e.monthsShortRegex(t)}),dt("MMMM",function(t,e){return e.monthsRegex(t)}),gt(["M","MM"],function(t,e){e[wt]=U(t)-1}),gt(["MMM","MMMM"],function(t,e,n,i){null!=(i=n._locale.monthsParse(t,i,n._strict))?e[wt]=i:h(n).invalidMonth=t});var At="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Mt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Et=ut,Nt=ut;function It(t,e){var n;if(t.isValid()){if("string"==typeof e)if(/^\d+$/.test(e))e=U(e);else if(!a(e=t.localeData().monthsParse(e)))return;n=Math.min(t.date(),Dt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n)}}function Lt(t){return null!=t?(It(this,t),e.updateOffset(this,!0),this):V(this,"Month")}function Rt(){function t(t,e){return e.length-t.length}for(var e,n=[],i=[],s=[],o=0;o<12;o++)e=d([2e3,o]),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),s.push(this.months(e,"")),s.push(this.monthsShort(e,""));for(n.sort(t),i.sort(t),s.sort(t),o=0;o<12;o++)n[o]=ft(n[o]),i[o]=ft(i[o]);for(o=0;o<24;o++)s[o]=ft(s[o]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function jt(t){return W(t)?366:365}I("Y",0,0,function(){var t=this.year();return t<=9999?A(t,4):"+"+t}),I(0,["YY",2],0,function(){return this.year()%100}),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),P("year","y"),q("year",1),dt("Y",at),dt("YY",tt,K),dt("YYYY",st,J),dt("YYYYY",ot,Z),dt("YYYYYY",ot,Z),gt(["YYYYY","YYYYYY"],bt),gt("YYYY",function(t,n){n[bt]=2===t.length?e.parseTwoDigitYear(t):U(t)}),gt("YY",function(t,n){n[bt]=e.parseTwoDigitYear(t)}),gt("Y",function(t,e){e[bt]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return U(t)+(68<U(t)?1900:2e3)};var Pt=B("FullYear",!0);function Ht(t){var e;return t<100&&0<=t?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Yt(t,e,n){return(n=7+e-n)-(7+Ht(t,0,n).getUTCDay()-e)%7-1}function Ft(t,e,n,i,s){var o;n=(e=1+7*(e-1)+(7+n-i)%7+Yt(t,i,s))<=0?jt(o=t-1)+e:e>jt(t)?(o=t+1,e-jt(t)):(o=t,e);return{year:o,dayOfYear:n}}function qt(t,e,n){var i,s,o=Yt(t.year(),e,n);return(o=Math.floor((t.dayOfYear()-o-1)/7)+1)<1?i=o+Wt(s=t.year()-1,e,n):o>Wt(t.year(),e,n)?(i=o-Wt(t.year(),e,n),s=t.year()+1):(s=t.year(),i=o),{week:i,year:s}}function Wt(t,e,n){var i=Yt(t,e,n);e=Yt(t+1,e,n);return(jt(t)-i+e)/7}function zt(t,e){return t.slice(e,7).concat(t.slice(0,e))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),q("week",5),q("isoWeek",5),dt("w",tt),dt("ww",tt,K),dt("W",tt),dt("WW",tt,K),vt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=U(t)}),I("d",0,"do","day"),I("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),I("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),I("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),dt("d",tt),dt("e",tt),dt("E",tt),dt("dd",function(t,e){return e.weekdaysMinRegex(t)}),dt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),dt("dddd",function(t,e){return e.weekdaysRegex(t)}),vt(["dd","ddd","dddd"],function(t,e,n,i){null!=(i=n._locale.weekdaysParse(t,i,n._strict))?e.d=i:h(n).invalidWeekday=t}),vt(["d","e","E"],function(t,e,n,i){e[i]=U(t)});var Ut="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Vt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Gt=ut,Qt=ut,Kt=ut;function Xt(){function t(t,e){return e.length-t.length}for(var e,n,i,s=[],o=[],r=[],a=[],l=0;l<7;l++)i=d([2e3,1]).day(l),e=ft(this.weekdaysMin(i,"")),n=ft(this.weekdaysShort(i,"")),i=ft(this.weekdays(i,"")),s.push(e),o.push(n),r.push(i),a.push(e),a.push(n),a.push(i);s.sort(t),o.sort(t),r.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Jt(){return this.hours()%12||12}function Zt(t,e){I(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function te(t,e){return e._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Jt),I("k",["kk",2],0,function(){return this.hours()||24}),I("hmm",0,0,function(){return""+Jt.apply(this)+A(this.minutes(),2)}
vendor: 6,832 bytes, line 1
1),I("hmmss",0,0,function(){return""+Jt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+A(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)}),Zt("a",!0),Zt("A",!1),P("hour","h"),q("hour",13),dt("a",te),dt("A",te),dt("H",tt),dt("h",tt),dt("k",tt),dt("HH",tt,K),dt("hh",tt,K),dt("kk",tt,K),dt("hmm",et),dt("hmmss",nt),dt("Hmm",et),dt("Hmmss",nt),gt(["H","HH"],kt),gt(["k","kk"],function(t,e,n){t=U(t),e[kt]=24===t?0:t}),gt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),gt(["h","hh"],function(t,e,n){e[kt]=U(t),h(n).bigHour=!0}),gt("hmm",function(t,e,n){var i=t.length-2;e[kt]=U(t.substr(0,i)),e[xt]=U(t.substr(i)),h(n).bigHour=!0}),gt("hmmss",function(t,e,n){var i=t.length-4,s=t.length-2;e[kt]=U(t.substr(0,i)),e[xt]=U(t.substr(i,2)),e[St]=U(t.substr(s)),h(n).bigHour=!0}),gt("Hmm",function(t,e,n){var i=t.length-2;e[kt]=U(t.substr(0,i)),e[xt]=U(t.substr(i))}),gt("Hmmss",function(t,e,n){var i=t.length-4,s=t.length-2;e[kt]=U(t.substr(0,i)),e[xt]=U(t.substr(i,2)),e[St]=U(t.substr(s))}),ut=B("Hours",!0);var ee,ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:At,monthsShort:Ot,week:{dow:0,doy:6},weekdays:Ut,weekdaysMin:Vt,weekdaysShort:Bt,meridiemParse:/[ap]\.?m?\.?/i},ie={},se={};function oe(t){return t&&t.toLowerCase().replace("_","-")}function re(t){var e;if(void 0===ie[t]&&"undefined"!=typeof module&&module&&module.exports&&null!=t.match("^[^/\\\\]*$"))try{e=ee._abbr,require("./locale/"+t),ae(e)}catch(e){ie[t]=null}return ie[t]}function ae(t,e){return t&&((e=r(e)?ce(t):le(t,e))?ee=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ee._abbr}function le(t,e){if(null===e)return delete ie[t],null;var n,i=ne;if(e.abbr=t,null!=ie[t])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ie[t]._config;else if(null!=e.parentLocale)if(null!=ie[e.parentLocale])i=ie[e.parentLocale]._config;else{if(null==(n=re(e.parentLocale)))return se[e.parentLocale]||(se[e.parentLocale]=[]),se[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ie[t]=new $(C(i,e)),se[t]&&se[t].forEach(function(t){le(t.name,t.config)}),ae(t),ie[t]}function ce(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return ee;if(!n(t)){if(e=re(t))return e;t=[t]}return function(t){for(var e,n,i,s,o=0;o<t.length;){for(e=(s=oe(t[o]).split("-")).length,n=(n=oe(t[o+1]))?n.split("-"):null;0<e;){if(i=re(s.slice(0,e).join("-")))return i;if(n&&n.length>=e&&function(t,e){for(var n=Math.min(t.length,e.length),i=0;i<n;i+=1)if(t[i]!==e[i])return i;return n}(s,n)>=e-1)break;e--}o++}return ee}(t)}function ue(t){var e=t._a;return e&&-2===h(t).overflow&&(e=e[wt]<0||11<e[wt]?wt:e[_t]<1||e[_t]>Dt(e[bt],e[wt])?_t:e[kt]<0||24<e[kt]||24===e[kt]&&(0!==e[xt]||0!==e[St]||0!==e[Tt])?kt:e[xt]<0||59<e[xt]?xt:e[St]<0||59<e[St]?St:e[Tt]<0||999<e[Tt]?Tt:-1,h(t)._overflowDayOfYear&&(e<bt||_t<e)&&(e=_t),h(t)._overflowWeeks&&-1===e&&(e=Ct),h(t)._overflowWeekday&&-1===e&&(e=$t),h(t).overflow=e),t}var de=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,he=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fe=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],me=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ge=/^\/?Date\((-?\d+)/i,ve=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ye={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function be(t){var e,n,i,s,o,r,a=t._i,l=de.exec(a)||he.exec(a),c=(a=pe.length,me.length);if(l){for(h(t).iso=!0,e=0,n=a;e<n;e++)if(pe[e][1].exec(l[1])){s=pe[e][0],i=!1!==pe[e][2];break}if(null==s)t._isValid=!1;else{if(l[3]){for(e=0,n=c;e<n;e++)if(me[e][1].exec(l[3])){o=(l[2]||" ")+me[e][0];break}if(null==o)return void(t._isValid=!1)}if(i||null==o){if(l[4]){if(!fe.exec(l[4]))return void(t._isValid=!1);r="Z"}t._f=s+(o||"")+(r||""),xe(t)}else t._isValid=!1}}else t._isValid=!1}function we(t){var e,n,i,s,o=ve.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(i=e=function(t,e,n,i,s,o){return t=[function(t){return(t=parseInt(t,10))<=49?2e3+t:t<=999?1900+t:t}(t),Ot.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(s,10)],o&&t.push(parseInt(o,10)),t}(o[4],o[3],o[2],o[5],o[6],o[7]),s=t,(n=o[1])&&Bt.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(h(s).weekdayMismatch=!0,s._isValid=!1):(t._a=e,t._tzm=(n=o[8],i=o[9],s=o[10],n?ye[n]:i?0:((n=parseInt(s,10))-(i=n%100))/100*60+i),t._d=Ht.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),h(t).rfc2822=!0)):t._isValid=!1}function _e(t,e,n){return null!=t?t:null!=e?e:n}function ke(t){var n,i,s,o,r,a,l,c,u,d,f,p=[];if(!t._d){for(s=t,o=new Date(e.now()),i=s._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()],t._w&&null==t._a[_t]&&null==t._a[wt]&&(null!=(o=(s=t)._w).GG||null!=o.W||null!=o.E?(c=1,u=4,r=_e(o.GG,s._a[bt],qt(Ce(),1,4).year),a=_e(o.W,1),((l=_e(o.E,1))<1||7<l)&&(d=!0)):(c=s._locale._week.dow,u=s._locale._week.doy,f=qt(Ce(),c,u),r=_e(o.gg,s._a[bt],f.year),a=_e(o.w,f.week),null!=o.d?((l=o.d)<0||6<l)&&(d=!0):null!=o.e?(l=o.e+c,(o.e<0||6<o.e)&&(
1d=!0)):l=c),a<1||a>Wt(r,c,u)?h(s)._overflowWeeks=!0:null!=d?h(s)._overflowWeekday=!0:(f=Ft(r,a,l,c,u),s._a[bt]=f.year,s._dayOfYear=f.dayOfYear)),null!=t._dayOfYear&&(o=_e(t._a[bt],i[bt]),(t._dayOfYear>jt(o)||0===t._dayOfYear)&&(h(t)._overflowDayOfYear=!0),d=Ht(o,0,t._dayOfYear),t._a[wt]=d.getUTCMonth(),t._a[_t]=d.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=p[n]=i[n];for(;n<7;n++)t._a[n]=p[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[kt]&&0===t._a[xt]&&0===t._a[St]&&0===t._a[Tt]&&(t._nextDay=!0,t._a[kt]=0),t._d=(t._useUTC?Ht:function(t,e,n,i,s,o,r){var a;return t<100&&0<=t?(a=new Date(t+400,e,n,i,s,o,r),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,i,s,o,r),a}).apply(null,p),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[kt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(h(t).weekdayMismatch=!0)}}function xe(t){if(t._f===e.ISO_8601)be(t);else if(t._f===e.RFC_2822)we(t);else{t._a=[],h(t).empty=!0;for(var n,i,o,r,a,l=""+t._i,c=l.length,u=0,d=R(t._f,t._locale).match(O)||[],f=d.length,p=0;p<f;p++)i=d[p],(n=(l.match(ht(i,t))||[])[0])&&(0<(o=l.substr(0,l.indexOf(n))).length&&h(t).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),u+=n.length),N[i]?(n?h(t).empty=!1:h(t).unusedTokens.push(i),o=i,a=t,null!=(r=n)&&s(mt,o)&&mt[o](r,a._a,a,o)):t._strict&&!n&&h(t).unusedTokens.push(i);h(t).charsLeftOver=c-u,0<l.length&&h(t).unusedInput.push(l),t._a[kt]<=12&&!0===h(t).bigHour&&0<t._a[kt]&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[kt]=function(t,e,n){return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((t=t.isPM(n))&&e<12&&(e+=12),e=t||12!==e?e:0):e}(t._locale,t._a[kt],t._meridiem),null!==(c=h(t).era)&&(t._a[bt]=t._locale.erasConvertYear(c,t._a[bt])),ke(t),ue(t)}}function Se(t){var s,o,d,m=t._i,g=t._f;return t._locale=t._locale||ce(t._l),null===m||void 0===g&&""===m?p({nullInput:!0}):("string"==typeof m&&(t._i=m=t._locale.preparse(m)),w(m)?new b(ue(m)):(l(m)?t._d=m:n(g)?function(t){var e,n,i,s,o,r,a=!1,l=t._f.length;if(0===l)return h(t).invalidFormat=!0,t._d=new Date(NaN);for(s=0;s<l;s++)o=0,r=!1,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[s],xe(e),f(e)&&(r=!0),o=(o+=h(e).charsLeftOver)+10*h(e).unusedTokens.length,h(e).score=o,a?o<i&&(i=o,n=e):(null==i||o<i||r)&&(i=o,n=e,r&&(a=!0));u(t,n||e)}(t):g?xe(t):r(g=(m=t)._i)?m._d=new Date(e.now()):l(g)?m._d=new Date(g.valueOf()):"string"==typeof g?(o=m,null!==(s=ge.exec(o._i))?o._d=new Date(+s[1]):(be(o),!1===o._isValid&&
1(delete o._isValid,we(o),!1===o._isValid&&(delete o._isValid,o._strict?o._isValid=!1:e.createFromInputFallback(o))))):n(g)?(m._a=c(g.slice(0),function(t){return parseInt(t,10)}),ke(m)):i(g)?(s=m)._d||(d=void 0===(o=Y(s._i)).day?o.date:o.day,s._a=c([o.year,o.month,d,o.hour,o.minute,o.second,o.millisecond],function(t){return t&&parseInt(t,10)}),ke(s)):a(g)?m._d=new Date(g):e.createFromInputFallback(m),f(t)||(t._d=null),t))}function Te(t,e,s,r,a){var l={};return!0!==e&&!1!==e||(r=e,e=void 0),!0!==s&&!1!==s||(r=s,s=void 0),(i(t)&&o(t)||n(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=s,l._i=t,l._f=e,l._strict=r,(a=new b(ue(Se(a=l))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Ce(t,e,n,i){return Te(t,e,n,i,!1)}function $e(t,e){var i,s;if(!(e=1===e.length&&n(e[0])?e[0]:e).length)return Ce();for(i=e[0],s=1;s<e.length;++s)e[s].isValid()&&!e[s][t](i)||(i=e[s]);return i}e.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){},et=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()}),nt=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:p()});var De=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ae(t){var e=(t=Y(t)).year||0,n=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,r=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(t){var e,n,i=!1,o=De.length;for(e in t)if(s(t,e)&&(-1===yt.call(De,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<o;++n)if(t[De[n]]){if(i)return!1;parseFloat(t[De[n]])!==U(t[De[n]])&&(i=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*a*60*60,this._days=+r+7*o,this._months=+i+3*n+12*e,this._data={},this._locale=ce(),this._bubble()}function Oe(t){return t instanceof Ae}function Me(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ee(t,e){I(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+A(~~(t/60),2)+e+A(~~t%60,2)})}Ee("Z",":"),Ee("ZZ",""),dt("Z",ct),dt("ZZ",ct),gt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ie(ct,t)});var Ne=/([\+\-]|\d\d)/gi;function Ie(t,e){return null===(e=(e||"").match(t))?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(Ne)||["-",0,0])[1]+U(t[2]))?0:"+"===t[0]?e:-e}function Le(t,n){var i;return n._isUTC?(n=n.clone(),i=(w(t)||l(t)?t:Ce(t)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+i),e.updateOffset(n,!1),n):Ce(t).local()}function Re(t){return-Math.round(t._d.getTimezoneOffset())}function je(){return!!this.isValid()&&this._isUTC&&0===this._offset}e.updateOffset=function(){};var Pe=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,He=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ye(t,e){var n,i=t,o=null;return Oe(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:a(t)||!isNaN(+t)?(i={},e?i[e]=+t:i.milliseconds=+t):(o=Pe.exec(t))?(n="-"===o[1]?-1:1,i={y:0,d:U(o[_t])*n,h:U(o[kt])*n,m:U(o[xt])*n,s:U(o[St])*n,ms:U(Me(1e3*o[Tt]))*n}):(o=He.exec(t))?(n="-"===o[1]?-1:1,i={y:Fe(o[2],n),M:Fe(o[3],n),w:Fe(o[4],n),d:Fe(o[5],n),h:Fe(o[6],n),m:Fe(o[7],n),s:Fe(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(e=function(t,e){var n;return t.isValid()&&e.isValid()?(e=Le(e,t),t.isBefore(e)?n=qe(t,e):((n=qe(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(Ce(i.from),Ce(i.to)),(i={}).ms=e.milliseconds,i.M=e.months),o=new Ae(i),Oe(t)&&s(t,"_locale")&&(o._locale=t._locale),Oe(t)&&s(t,"_isValid")&&(o._isValid=t._isValid),o}function Fe(t,e){return t=t&&parseFloat(t.replace(",",".")),(isNaN(t)?0:t)*e}function qe(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function We(t,e){return function(n,i){var s;return null===i||isNaN(+i)||(S(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=i,i=s),ze(this,Ye(n,i),t),this}}function ze(t,n,i,s){var o=n._milliseconds,r=Me(n._days);n=Me(n._months);t.isValid()&&(s=null==s||s,n&&It(t,V(t,"Month")+n*i),r&&G(t,"Date",V(t,"Date")+r*i),o&&t._d.setTime(t._d.valueOf()+o*i),s&&e.updateOffset(t,r||n))}function Ue(t){return"string"==typeof t||t instanceof String}function Be(t,e){if(t.date()<e.date())return-Be(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e=e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(1+n,"months")-i)))||0}function Ve(t){return void 0===t?this._locale._abbr:(null!=(t=ce(t))&&(this._locale=t),this)}function Ge(){return this._locale}
1Ye.fn=Ae.prototype,Ye.invalid=function(){return Ye(NaN)},At=We(1,"add"),Ut=We(-1,"subtract"),e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",Vt=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});var Qe=126227808e5;function Ke(t,e){return(t%e+e)%e}function Xe(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-Qe:new Date(t,e,n).valueOf()}function Je(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-Qe:Date.UTC(t,e,n)}function Ze(t,e){return e.erasAbbrRegex(t)}function tn(){for(var t=[],e=[],n=[],i=[],s=this.eras(),o=0,r=s.length;o<r;++o)e.push(ft(s[o].name)),t.push(ft(s[o].abbr)),n.push(ft(s[o].narrow)),i.push(ft(s[o].name)),i.push(ft(s[o].abbr)),i.push(ft(s[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function en(t,e){I(0,[t,t.length],0,e)}function nn(t,e,n,i,s){var o;return null==t?qt(this,i,s).year:(o=Wt(t,i,s),function(t,e,n,i,s){return e=Ht((t=Ft(t,e,n,i,s)).year,0,t.dayOfYear),this.year(e.getUTCFullYear()),this.month(e.getUTCMonth()),this.date(e.getUTCDate()),this}.call(this,t,e=o<e?o:e,n,i,s))}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),dt("N",Ze),dt("NN",Ze),dt("NNN",Ze),dt("NNNN",function(t,e){return e.erasNameRegex(t)}),dt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),gt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){(i=n._locale.erasParse(t,i,n._strict))?h(n).era=i:h(n).invalidEra=t}),dt("y",rt),dt("yy",rt),dt("yyy",rt),dt("yyyy",rt),dt("yo",function(t,e){return e._eraYearOrdinalRegex||rt}),gt(["y","yy","yyy","yyyy"],bt),gt(["yo"],function(t,e,n,i){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[bt]=n._locale.eraYearOrdinalParse(t,s):e[bt]=parseInt(t,10)}),I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),dt("G",at),dt("g",at),dt("GG",tt,K),dt("gg",tt,K),dt("GGGG",st,J),dt("gggg",st,J),dt("GGGGG",ot,Z),dt("ggggg",ot,Z),vt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=U(t)}),vt(["gg","GG"],function(t,n,i,s){n[s]=e.parseTwoDigitYear(t)}),I("Q",0,"Qo","quarter"),P("quarter","Q"),q("quarter",7),dt("Q",Q),gt("Q",function(t,e){e[wt]=3*(U(t)-1)}),I("D",["DD",2],"Do","date"),P("date","D"),q("date",9),dt("D",tt),dt("DD",tt,K),dt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),gt(["D","DD"],_t),gt("Do",function(t,e){e[_t]=U(t.match(tt)[0])}),st=B("Date",!0),I("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),q("dayOfYear",4),dt("DDD",it),dt("DDDD",X),gt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=U(t)}),I("m",["mm",2],0,"minute"),P("minute","m"),q("minute",14),dt("m",tt),dt("mm",tt,K),gt(["m","mm"],xt);var sn;J=B("Minutes",!1),I("s",["ss",2],0,"second"),P("second","s"),q("second",15),dt("s",tt),dt("ss",tt,K),gt(["s","ss"],St),ot=B("Seconds",!1);for(I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),q("millisecond",16),dt("S",it,Q),dt("SS",it,K),dt("SSS",it,X),sn="SSSS";sn.length<=9;sn+="S")dt(sn,rt);function on(t,e){e[Tt]=U(1e3*("0."+t))}for(sn="S";sn.length<=9;sn+="S")gt(sn,on);function rn(t){return t}function an(t,e,n,i){var s=ce();i=d().set(i,e);return s[n](i,t)}function ln(t,e,n){if(a(t)&&(e=t,t=void 0),t=t||"",null!=e)return an(t,e,n,"month");for(var i=[],s=0;s<12;s++)i[s]=an(t,s,n,"month");return i}function cn(t,e,n,i){"boolean"==typeof t?a(e)&&(n=e,e=void 0):(e=t,t=!1,a(n=e)&&(n=e,e=void 0)),e=e||"";var s,o=ce(),r=t?o._week.dow:0,l=[];
vendor: 22,423 bytes, line 1
1if(null!=n)return an(e,(n+r)%7,i,"day");for(s=0;s<7;s++)l[s]=an(e,(s+r)%7,i,"day");return l}Z=B("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName"),(Q=b.prototype).add=At,Q.calendar=function(t,r){1===arguments.length&&(arguments[0]?function(t){return w(t)||l(t)||Ue(t)||a(t)||function(t){var e=n(t),i=!1;return e&&(i=0===t.filter(function(e){return!a(e)&&Ue(t)}).length),e&&i}(t)||function(t){var e,n=i(t)&&!o(t),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=a.length;for(e=0;e<l;e+=1)r=r||s(t,a[e]);return n&&r}(t)||null==t}(arguments[0])?(t=arguments[0],r=void 0):function(t){for(var e=i(t)&&!o(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||s(t,r[a]);return e&&n}(arguments[0])&&(r=arguments[0],t=void 0):r=t=void 0);var c=Le(t=t||Ce(),this).startOf("day");c=e.calendarFormat(this,c)||"sameElse",r=r&&(T(r[c])?r[c].call(this,t):r[c]);return this.format(r||this.localeData().calendar(c,this,Ce(t)))},Q.clone=function(){return new b(this)},Q.diff=function(t,e,n){var i,s,o;if(!this.isValid())return NaN;if(!(i=Le(t,this)).isValid())return NaN;switch(s=6e4*(i.utcOffset()-this.utcOffset()),e=H(e)){case"year":o=Be(this,i)/12;break;case"month":o=Be(this,i);break;case"quarter":o=Be(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-s)/864e5;break;case"week":o=(this-i-s)/6048e5;break;default:o=this-i}return n?o:z(o)},Q.endOf=function(t){var n,i;if(void 0===(t=H(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Je:Xe,t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-Ke(n+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":n=this._d.valueOf(),n+=6e4-Ke(n,6e4)-1;break;case"second":n=this._d.valueOf(),n+=1e3-Ke(n,1e3)-1}return this._d.setTime(n),e.updateOffset(this,!0),this},Q.format=function(t){return t=L(this,t=t||(this.isUtc()?e.defaultFormatUtc:e.defaultFormat)),this.localeData().postformat(t)},Q.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Ce(t).isValid())?Ye({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Q.fromNow=function(t){return this.from(Ce(),t)},Q.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Ce(t).isValid())?Ye({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Q.toNow=function(t){return this.to(Ce(),t)},Q.get=function(t){return T(this[t=H(t)])?this[t]():this},Q.invalidAt=function(){return h(this).overflow},Q.isAfter=function(t,e){return t=w(t)?t:Ce(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},Q.isBefore=function(t,e){return t=w(t)?t:Ce(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},Q.isBetween=function(t,e,n,i){return t=w(t)?t:Ce(t),e=w(e)?e:Ce(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},Q.isSame=function(t,e){t=w(t)?t:Ce(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},Q.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Q.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Q.isValid=function(){return f(this)},Q.lang=Vt,Q.locale=Ve,Q.localeData=Ge,Q.max=nt,Q.min=et,Q.parsingFlags=function(){return u({},h(this))},Q.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)s(t,e)&&n.push({unit:e,priority:F[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=Y(t)),i=n.length,o=0;o<i;o++)this[n[o].unit](t[n[o].unit]);else if(T(this[t=H(t)]))return this[t](e);return this},Q.startOf=function(t){var n,i;if(void 0===(t=H(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Je:Xe,t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Ke(n+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":n=this._d.valueOf(),n-=Ke(n,6e4);break;case"second":n=this._d.valueOf(),n-=Ke(n,1e3)}return this._d.setTime(n),e.updateOffset(this,!0),this},Q.subtract=Ut,Q.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Q.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},Q.toDate=function(){return new Date(this.valueOf())},Q.toISOString=function(t){if(!this.isValid())return null;var e=(t=!0!==t)?this.clone().utc():this;return e.year()<0||9999<e.year()?L(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(e,"Z")):L(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Q.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e="moment",n="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+e+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=function(){return this.isValid()?this.toISOString():null},Q.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Q.unix=function(){return Math.floor(this.valueOf()/1e3)},Q.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Q.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Q.eraName=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].name;if(e[n].until<=t&&t<=e[n].since)return e[n].name}return""},Q.eraNarrow=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].narrow;if(e[n].until<=t&&t<=e[n].since)return e[n].narrow}return""},Q.eraAbbr=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].abbr;if(e[n].until<=t&&t<=e[n].since)return e[n].abbr}return""},Q.eraYear=function(){for(var t,n,i=this.localeData().eras(),s=0,o=i.length;s<o;++s)if(t=i[s].since<=i[s].until?1:-1,n=this.clone().startOf("day").valueOf(),i[s].since<=n&&n<=i[s].until||i[s].until<=n&&n<=i[s].since)return(this.year()-e(i[s].since).year())*t+i[s].offset;return this.year()},Q.year=Pt,Q.isLeapYear=function(){return W(this.year())},Q.weekYear=function(t){return nn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Q.isoWeekYear=function(t){return nn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Q.quarter=Q.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Q.month=Lt,Q.daysInMonth=function(){return Dt(this.year(),this.month())},Q.week=Q.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Q.isoWeek=Q.isoWeeks=function(t){var e=qt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Q.weeksInYear=function(){var t=this.localeData()._week;return Wt(this.year(),t.dow,t.doy)},Q.weeksInWeekYear=function(){var t=this.localeData()._week;return Wt(this.weekYear(),t.dow,t.doy)},Q.isoWeeksInYear=function(){return Wt(this.year(),1,4)},Q.isoWeeksInISOWeekYear=function(){return Wt(this.isoWeekYear(),1,4)},Q.date=st,Q.day=Q.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-i,"d")):i},Q.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},Q.isoWeekday=function(t){return this.isValid()?null!=t?(e=t,n=this.localeData(),n="string"==typeof e?n.weekdaysParse(e)%7||7:isNaN(e)?null:e,this.day(this.day()%7?n:n-7)):this.day()||7:null!=t?this:NaN;var e,n},Q.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},Q.hour=Q.hours=ut,Q.minute=Q.minutes=J,Q.second=Q.seconds=ot,Q.millisecond=Q.milliseconds=Z,Q.utcOffset=function(t,n,i){var s,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?o:Re(this);if("string"==typeof t){if(null===(t=Ie(ct,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(s=Re(this)),this._offset=t,this._isUTC=!0,null!=s&&this.add(s,"m"),o!==t&&(!n||this._changeInProgress?ze(this,Ye(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this},Q.utc=function(t){return this.utcOffset(0,t)},Q.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Re(this),"m")),this},Q.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Ie(lt,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},Q.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Q.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Q.isLocal=function(){return!!this.isValid()&&!this._isUTC},Q.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Q.isUtc=je,Q.isUTC=je,Q.zoneAbbr=function(){return this._isUTC?"UTC":""},Q.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Q.dates=k("dates accessor is deprecated. Use date instead.",st),Q.months=k("months accessor is deprecated. Use month instead",Lt),Q.years=k("years accessor is deprecated. Use year instead",Pt),Q.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),Q.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var t,e={};return y(e,this),(e=Se(e))._a?(t=(e._isUTC?d:Ce)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,n){for(var i=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),o=0,r=0;r<i;r++)U(t[r])!==U(e[r])&&o++;return o+s}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted}),(K=$.prototype).calendar=function(t,e,n){return T(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,n):t},K.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(O).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(t){return this._ordinal.replace("%d",t)},K.preparse=rn,K.postformat=rn,K.relativeTime=function(t,e,n,i){var s=this._relativeTime[n];return T(s)?s(t,e,n,i):s.replace(/%d/i,t)},K.pastFuture=function(t,e){return T(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},K.set=function(t){var e,n;for(n in t)s(t,n)&&(T(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(t,n){for(var i,s=this._eras||ce("en")._eras,o=0,r=s.length;o<r;++o){switch(typeof s[o].since){case"string":i=e(s[o].since).startOf("day"),s[o].since=i.valueOf()}switch(typeof s[o].until){case"undefined":s[o].until=1/0;break;case"string":i=e(s[o].until).startOf("day").valueOf(),s[o].until=i.valueOf()}}return s},K.erasParse=function(t,e,n){var i,s,o,r,a,l=this.eras();for(t=t.toUpperCase(),i=0,s=l.length;i<s;++i)if(o=l[i].name.toUpperCase(),r=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(r===t)return l[i];break;case"NNNN":if(o===t)return l[i];break;case"NNNNN":if(a===t)return l[i]}else if(0<=[o,r,a].indexOf(t))return l[i]},K.erasConvertYear=function(t,n){var i=t.since<=t.until?1:-1;return void 0===n?e(t.since).year():e(t.since).year()+(n-t.offset)*i},K.erasAbbrRegex=function(t){return s(this,"_erasAbbrRegex")||tn.call(this),t?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(t){return s(this,"_erasNameRegex")||tn.call(this),t?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(t){return s(this,"_erasNarrowRegex")||tn.call(this),t?this._erasNarrowRegex:this._erasRegex},K.months=function(t,e){return t?(n(this._months)?this._months:this._months[(this._months.isFormat||Mt).test(e)?"format":"standalone"])[t.month()]:n(this._months)?this._months:this._months.standalone},K.monthsShort=function(t,e){return t?(n(this._monthsShort)?this._monthsShort:this._monthsShort[Mt.test(e)?"format":"standalone"])[t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(t,e,n){var i,s;if(this._monthsParseExact)return function(t,e,n){var i,s,o;t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(s=yt.call(this._shortMonthsParse,t))?s:null:-1!==(s=yt.call(this._longMonthsParse,t))?s:null:"MMM"===e?-1!==(s=yt.call(this._shortMonthsParse,t))||-1!==(s=yt.call(this._longMonthsParse,t))?s:null:-1!==(s=yt.call(this._longMonthsParse,t))||-1!==(s=yt.call(this._shortMonthsParse,t))?s:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(s=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},K.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Rt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Nt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Rt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Et),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(t){return qt(t,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(t,e){return e=n(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"],!0===t?zt(e,this._week.dow):t?e[t.day()]:e},K.weekdaysMin=function(t){return!0===t?zt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},K.weekdaysShort=function(t){return!0===t?zt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},K.weekdaysParse=function(t,e,n){var i,s;if(this._weekdaysParseExact)return function(t,e,n){var i,s,o;t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(s=yt.call(this._weekdaysParse,t))?s:null:"ddd"===e?-1!==(s=yt.call(this._shortWeekdaysParse,t))?s:null:-1!==(s=yt.call(this._minWeekdaysParse,t))?s:null:"dddd"===e?-1!==(s=yt.call(this._weekdaysParse,t))||-1!==(s=yt.call(this._shortWeekdaysParse,t))||-1!==(s=yt.call(this._minWeekdaysParse,t))?s:null:"ddd"===e?-1!==(s=yt.call(this._shortWeekdaysParse,t))||-1!==(s=yt.call(this._weekdaysParse,t))||-1!==(s=yt.call(this._minWeekdaysParse,t))?s:null:-1!==(s=yt.call(this._minWeekdaysParse,t))||-1!==(s=yt.call(this._weekdaysParse,t))||-1!==(s=yt.call(this._shortWeekdaysParse,t))?s:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(s=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},K.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Gt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Kt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},K.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},ae("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===U(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),e.lang=k("moment.lang is deprecated. Use moment.locale instead.",ae),e.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ce);var un=Math.abs;function dn(t,e,n,i){return e=Ye(e,n),t._milliseconds+=i*e._milliseconds,t._days+=i*e._days,t._months+=i*e._months,t._bubble()}function hn(t){return t<0?Math.floor(t):Math.ceil(t)}function fn(t){return 4800*t/146097}function pn(t){return 146097*t/4800}function mn(t){return function(){return this.as(t)}}function gn(t){return function(){return this.isValid()?this._data[t]:NaN}}it=mn("ms"),X=mn("s"),At=mn("m"),nt=mn("h"),et=mn("d"),Ut=mn("w"),ut=mn("M"),J=mn("Q"),ot=mn("y");Z=gn("milliseconds"),st=gn("seconds"),Pt=gn("minutes"),K=gn("hours");var vn=gn("days"),yn=gn("months"),bn=gn("years"),wn=Math.round,_n={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};var kn=Math.abs;function xn(t){return(0<t)-(t<0)||+t}function Sn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,s,o,r,a=kn(this._milliseconds)/1e3,l=kn(this._days),c=kn(this._months),u=this.asSeconds();return u?(t=z(a/60),e=z(t/60),a%=60,t%=60,n=z(c/12),c%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",s=xn(this._months)!==xn(u)?"-":"",o=xn(this._days)!==xn(u)?"-":"",r=xn(this._milliseconds)!==xn(u)?"-":"",(u<0?"-":"")+"P"+(n?s+n+"Y":"")+(c?s+c+"M":"")+(l?o+l+"D":"")+(e||t||a?"T":"")+(e?r+e+"H":"")+(t?r+t+"M":"")+(a?r+i+"S":"")):"P0D"}var Tn=Ae.prototype;return Tn.isValid=function(){return this._isValid},Tn.abs=function(){var t=this._data;return this._milliseconds=un(this._milliseconds),this._days=un(this._days),this._months=un(this._months),t.milliseconds=un(t.milliseconds),t.seconds=un(t.seconds),t.minutes=un(t.minutes),t.hours=un(t.hours),t.months=un(t.months),t.years=un(t.years),this},Tn.add=function(t,e){return dn(this,t,e,1)},Tn.subtract=function(t,e){return dn(this,t,e,-1)},Tn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=H(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+fn(e),t){case"month":return n;case"quarter":retu
1rn n/3;case"year":return n/12}else switch(e=this._days+Math.round(pn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Tn.asMilliseconds=it,Tn.asSeconds=X,Tn.asMinutes=At,Tn.asHours=nt,Tn.asDays=et,Tn.asWeeks=Ut,Tn.asMonths=ut,Tn.asQuarters=J,Tn.asYears=ot,Tn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*U(this._months/12):NaN},Tn._bubble=function(){var t=this._milliseconds,e=this._days,n=this._months,i=this._data;return 0<=t&&0<=e&&0<=n||t<=0&&e<=0&&n<=0||(t+=864e5*hn(pn(n)+e),n=e=0),i.milliseconds=t%1e3,t=z(t/1e3),i.seconds=t%60,t=z(t/60),i.minutes=t%60,t=z(t/60),i.hours=t%24,e+=z(t/24),n+=t=z(fn(e)),e-=hn(pn(t)),t=z(n/12),n%=12,i.days=e,i.months=n,i.years=t,this},Tn.clone=function(){return Ye(this)},Tn.get=function(t){return t=H(t),this.isValid()?this[t+"s"]():NaN},Tn.milliseconds=Z,Tn.seconds=st,Tn.minutes=Pt,Tn.hours=K,Tn.days=vn,Tn.weeks=function(){return z(this.days()/7)},Tn.months=yn,Tn.years=bn,Tn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=_n;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},_n,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),e=function(t,e,n,i){var s=Ye(t).abs(),o=wn(s.as("s")),r=wn(s.as("m")),a=wn(s.as("h")),l=wn(s.as("d")),c=wn(s.as("M")),u=wn(s.as("w"));return s=wn(s.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||r<=1&&["m"]||r<n.m&&["mm",r]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l],(o=(o=null!=n.w?o||u<=1&&["w"]||u<n.w&&["ww",u]:o)||c<=1&&["M"]||c<n.M&&["MM",c]||s<=1&&["y"]||["yy",s])[2]=e,o[3]=0<+t,o[4]=i,function(t,e,n,i,s){return s.relativeTime(e||1,!!n,t,i)}.apply(null,o)}(this,!n,i,t=this.localeData()),n&&(e=t.pastFuture(+this,e)),t.postformat(e)},Tn.toISOString=Sn,Tn.toString=Sn,Tn.toJSON=Sn,Tn.locale=Ve,Tn.localeData=Ge,Tn.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Sn),Tn.lang=Vt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),dt("x",at),dt("X",/[+-]?\d+(\.\d{1,3})?/),gt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),gt("x",function(t,e,n){n._d=new Date(U(t))}),e.version="2.29.4",t=Ce,e.fn=Q,e.min=function(){return $e("isBefore",[].slice.call(arguments,0))},e.max=function(){return $e("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=d,e.unix=function(t){return Ce(1e3*t)},e.months=function(t,e){return ln(t,e,"months")},e.isDate=l,e.locale=ae,e.invalid=p,e.duration=Ye,e.isMoment=w,e.weekdays=function(t,e,n){return cn(t,e,n,"weekdays")},e.parseZone=function(){return Ce.apply(null,arguments).parseZone()},e.localeData=ce,e.isDuration=Oe,e.monthsShort=function(t,e){return ln(t,e,"monthsShort")},e.weekdaysMin=function(t,e,n){return cn(t,e,n,"weekdaysMin")},e.defineLocale=le,e.updateLocale=function(t,e){var n,i;return null!=e?(i=ne,null!=ie[t]&&null!=ie[t].parentLocale?ie[t].set(C(ie[t]._config,e)):(e=C(i=null!=(n=re(t))?n._config:i,e),null==n&&(e.abbr=t),(i=new $(e)).parentLocale=ie[t],ie[t]=i),ae(t)):null!=ie[t]&&(null!=ie[t].parentLocale?(ie[t]=ie[t].parentLocale,t===ae()&&ae(t)):null!=ie[t]&&delete ie[t]),ie[t]},e.locales=function(){return D(ie)},e.weekdaysShort=function(t,e,n){return cn(t,e,n,"weekdaysShort")},e.normalizeUnits=H,e.relativeTimeRounding=function(t){return void 0===t?wn:"function"==typeof t&&(wn=t,!0)},e.relativeTimeThreshold=function(t,e){return void 0!==_n[t]&&(void 0===e?_n[t]:(_n[t]=e,"s"===t&&(_n.ss=e-1),!0))},e.calendarFormat=function(t,e){return(t=t.diff(e,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},e.prototype=Q,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e});var env={corousel_0_nitems:1,corousel_600_nitems:2,corousel_695_nitems:2,corousel_695_padding:50,corousel_992_nitems:3,corousel_1200_
1nitems:4};function initializeTypeahead(){$(".input-search").typeahead({hint:!0,highlight:!0,minLength:3},{name:"events",displayKey:"name",source:function(t,e,n){n([]);return;$.get(app_url+"/event/suggestions/"+t,function(t){n(t)})},limit:6,templates:{empty:function(t){return'<div class="col-lg-12 col-xs-12">'+translations.we_are_sorry_but_we_could_not_find_any_results_for+" <b>"+t.query+"</b></div>"},header:'<h3 class="league-name col-lg-12 col-xs-12"><img src="'+app_url+'/img/hour-events.png"> <span class="v-a-m">'+translations.events+"</span></h3>",suggestion:function(t){return'<p class="title-sub col-lg-12 col-xs-12 no-padding no-margin"><img class="float-left" height="50px" src=" '+(null==t.image_name?app_url+"/img/without_image.jpg":" "+media_url+"/"+t.image_name)+'"><span class="title">'+t.name+" "+("CANCELED"==t.state?'<span class="label label-danger">'+translations.canceled+"</span>":"")+("FULL"==t.state?'<span class="label label-danger">'+translations.sold_out+"</span>":"")+'</span><span class="facility-sub">'+(null==t.facilities_names?"":t.facilities_names)+"</span></p>"}}},{name:"facilities",displayKey:"name",source:function(t,e,n){n([]);return;$.get(app_url+"/facility/suggestions/"+t,function(t){n(t)})},limit:6,templates:{header:'<h3 class="league-name col-lg-12 col-xs-12"><img src="'+app_url+'/img/geo.png"> <span class="v-a-m">'+translations.facilities+"</span></h3>",suggestion:function(t){return'<p class="title-sub col-lg-12 col-xs-12 no-padding no-margin"><img class="float-left" height="50px" src="'+(null==t.logo_name?app_url+"/img/without_image.jpg":media_url+"/"+t.logo_name)+'"><span class="title">'+t.name+'</span><span class="facility-sub">'+t.province_name+'</span><span class="number-of-events">('+t.number_of_events+" "+translations.events+")</span></p>"}}},{name:"artists",displayKey:"name",source:function(t,e,n){n([]);return;$.get(app_url+"/artist/suggestions/"+t,function(t){n(t)})},limit:6,templates:{header:'<h3 class="league-name col-lg-12 col-xs-12"><img src="'+app_url+'/img/artist.png"> <span class="v-a-m">'+translations.artists+"</span></h3>",suggestion:function(t){return'<p class="title-sub col-lg-12 col-xs-12 no-padding no-margin"><img class="float-left" style="max-height:50px;max-width:50px" src="'+t.image_url+'"><span class="title">'+t.name+'</span><span class="number-of-events">('+t.number_of_events+" "+translations.events+")</span></p>"}}},{name:"experiences",displayKey:"name",source:function(t,e,n){n([]);return;$.get(app_url+"/experiences/suggestions/"+t,function(t){n(t)})},limit:6,templates:{header:'<h3 class="league-name col-lg-12 col-xs-12"><img src="'+app_url+'/img/icon-experiences.png"> <span class="v-a-m">'+translations.experiences+"</span></h3>",suggestion:function(t){return'<p class="title-sub col-lg-12 col-xs-12 no-padding no-margin"><img class="float-left" height="50px" src=" '+t.image_url+'"><span class="title">'+t.name+'</span><span class="facility-sub">'+(null==t.province?"":t.province)+"</span></p>"}}},{name:"products",displayKey:"name",source:function(t,e,n){n([]);return;$.get(app_url+"/destinations/suggestions/"+t,function(t){n(t)})},limit:6,templates:{header:'<h3 class="league-name col-lg-12 col-xs-12"><img src="'+app_url+'/img/geo.png"> <span class="v-a-m">'+translations.destinations+"</span></h3>",suggestion:function(t){return'<p class="title-sub col-lg-12 col-xs-12 no-padding no-margin"><img class="float-left" height="50px" src=" '+t.image_url+'"><span class="title">'+t.name+'</span><span class="number-of-events">('+t.number+" "+translations.experiences+")</span></p>"},footer:function(t){return t.suggestions.length>=6?'<div class="col-lg-12 col-xs-12 text-right see-more-destinations">'+translations.see_more_destinations+"</div>":'<div class="col-lg-12 col-xs-12 text-right see-more-destinations"></div>'}}}),$(".input-search").bind("typeahead:select",function(t,e){enable_location_top?window.top.location.href=e.url:window.location.href=e.url}),$("#search-form").on("submit",function(){return enable_location_top?window.top.location.href=app_url+"/"+translations.search_url+"/"+$(".tt-input").val():window.location.href=app_url+"/"+translations.search_url+"/"+$(".tt-input").val(),!1}),$(".input-search").on("click",function(){$(this).closest(".search-content").find(".hidden-on-rescale").removeClass("hidden-md hidden-sm hidden-xs"),$(".remove-search-text").removeClass("hidden")}),$(".remove-search-text").on("click",function(){$(this).parent().find(".input-search").val(""),$(this).addClass("hidden"),$(".hidden-on-rescale").addClass("hidden-md hidden-sm hidden-xs")})}function initializeExperienceTypeahead(){$(".input-search-experiences").typeahead({hint:!0,highlight:!0,minLength:3},{name:"experiences",displayKey:"name",source:function(t,e,n){n([]);return;$.get(app_url+"/experiences/suggestions/"+t,function(t){n(t)})},limit:6,templates:{empty:function(t){return'<div class="col-lg-12 col-xs-12">'+translations.we_are_sorry_but_we_could_not_find_any_results_for+" <b>"+t.query+"</b></div>"},header:'<h3 class="league-name col-lg-12 col-xs-12"><img src="'+app_url+'/img/icon-experiences.png"> <span class="v-a-m">'+translations.experiences+"</span></h3>",suggestion:function(t){return'<p class="title-sub col-lg-12 col-xs-12 no-padding no-margin"><img class="float-left" height="50px" src=" '+t.image_url+'"><span class="title">
1'+t.name+'</span><span class="facility-sub">'+(null==t.province?"":t.province)+"</span></p>"}}},{name:"products",displayKey:"name",source:function(t,e,n){n([]);return;$.get(app_url+"/destinations/suggestions/"+t,function(t){n(t)})},limit:6,templates:{header:'<h3 class="league-name col-lg-12 col-xs-12"><img src="'+app_url+'/img/geo.png"> <span class="v-a-m">'+translations.destinations+"</span></h3>",suggestion:function(t){return'<p class="title-sub col-lg-12 col-xs-12 no-padding no-margin"><img class="float-left" height="50px" src=" '+t.image_url+'"><span class="title">'+t.name+'</span><span class="number-of-events">('+t.number+" "+translations.experiences+")</span></p>"},footer:function(t){return t.suggestions.length>=6?'<div class="col-lg-12 col-xs-12 text-right see-more-destinations">'+translations.see_more_destinations+"</div>":'<div class="col-lg-12 col-xs-12 text-right see-more-destinations"></div>'}}}),$(".input-search-experiences").bind("typeahead:select",function(t,e){enable_location_top?window.top.location.href=e.url:window.location.href=e.url})}function initializeDateRangePicker(){var t=$('input[name="daterange"]');t.length&&$.getScript("/js/daterangepicker.min.js",{cache:!0}).done(function(){t.daterangepicker({startDate:moment().add(-1,"days").format("DD-MM-YYYY"),endDate:moment().add(1,"days").format("DD-MM-YYYY"),locale:localeDateRangePicker,opens:"center",autoApply:!0,autoUpdateInput:!1,ranges:localeDateRangePicker.ranges},changeDateRange)})}function initializeBanners(){advertisementEnabled&&$(".imageBanner").click(function(){var t=$(this).siblings(".imageBannerId").val();$.ajax({url:app_url+"/banner_advertising/increase_image_counter",method:"post",data:{image_id:t,_token:"{!! csrf_token() !!}"},success:function(t){}})})}function initializeSlickCarousel(){$(".publi_carousel").slick({infinite:!1,dots:!1,arrows:!0,slidesPerRow:3,rows:3,arrows:!1,lazyLoad:"ondemand",responsive:[{breakpoint:1200,settings:{slidesPerRow:3,rows:3}},{breakpoint:992,settings:{slidesPerRow:2,rows:3}},{breakpoint:768,settings:{slidesPerRow:1,rows:40}},{breakpoint:576,settings:{slidesPerRow:1,rows:40}}]}),$(".one_big_carousel_content_carousel").slick({infinite:!1,dots:!1,arrows:!0,slidesPerRow:2,rows:2,arrows:!1,lazyLoad:"ondemand",responsive:[{breakpoint:1200,settings:{slidesPerRow:1,rows:2}},{breakpoint:992,settings:{slidesPerRow:1,rows:2}},{breakpoint:768,settings:{slidesPerRow:1,rows:4}},{breakpoint:576,settings:{slidesPerRow:1,rows:4}}]}),$(".main-carousel").on("init",function(){$(".main-carousel").removeClass("no-visibility")}),$(".main-carousel").slick({infinite:!0,slidesToShow:5,rows:2,swipeToSlide:!0,arrows:!1,autoplay:!0,autoplaySpeed:4e3,slidesToScroll:1,lazyLoad:"ondemand",responsive:[{breakpoint:3600,settings:{slidesToShow:16,rows:2}},{breakpoint:3600,settings:{slidesToShow:15,rows:2}},{breakpoint:3400,settings:{slidesToShow:14,rows:2}},{breakpoint:3100,settings:{slidesToShow:13,rows:2}},{breakpoint:2900,settings:{slidesToShow:12,rows:2}},{breakpoint:2600,settings:{slidesToShow:11,rows:2}},{breakpoint:2400,settings:{slidesToShow:10,rows:2}},{breakpoint:2200,settings:{slidesToShow:9,rows:2}},{breakpoint:1900,settings:{slidesToShow:8,rows:2}},{breakpoint:1700,settings:{slidesToShow:7,rows:2}},{breakpoint:1500,settings:{slidesToShow:6,rows:2}},{breakpoint:1200,settings:{slidesToShow:5,rows:2}},{breakpoint:992,settings:{slidesToShow:4,rows:2}},{breakpoint:768,settings:{slidesToShow:3,rows:2}},{breakpoint:576,settings:{slidesToShow:3,rows:2}}]})}function changeDateRange(t,e,n){var i=$(this.element);n==localeDateRangePicker.customRangeLabel?i.val(translations.from+" "+t.format("DD-MM-YYYY")+" "+translations.to+" "+e.format("DD-MM-YYYY")):n==localeDateRangePicker.rangesLocale.any_date?i.val(""):i.val(n)}function goToByScroll(t,e){e||(e=-20),$("html,body").animate({scrollTop:$(t).offset().top+e},"slow")}function convertToSlug(t){return t.toLowerCase().replace(/ /g,"-")}!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(n,i){var s,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(n),appendDots:t(n),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,n){return t('<button type="button" />').text(n+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 9,352 bytes, line 1
1sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=t(n),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,s=t(n).data("slick")||{},o.options=t.extend({},o.defaults,i,s),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=t.proxy(o.autoPlay,o),o.autoPlayClear=t.proxy(o.autoPlayClear,o),o.autoPlayIterator=t.proxy(o.autoPlayIterator,o),o.changeSlide=t.proxy(o.changeSlide,o),o.clickHandler=t.proxy(o.clickHandler,o),o.selectHandler=t.proxy(o.selectHandler,o),o.setPosition=t.proxy(o.setPosition,o),o.swipeHandler=t.proxy(o.swipeHandler,o),o.dragHandler=t.proxy(o.dragHandler,o),o.keyHandler=t.proxy(o.keyHandler,o),o.instanceUid=e++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,n,i){var s=this;if("boolean"==typeof n)i=n,n=null;else if(n<0||n>=s.slideCount)return!1;s.unload(),"number"==typeof n?0===n&&0===s.$slides.length?t(e).appendTo(s.$slideTrack):i?t(e).insertBefore(s.$slides.eq(n)):t(e).insertAfter(s.$slides.eq(n)):!0===i?t(e).prependTo(s.$slideTrack):t(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,n){t(n).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,n){var i={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,n):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,n):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),t({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(t){t=Math.ceil(t),!1===s.options.vertical?(i[s.animType]="translate("+t+"px, 0px)",s.$slideTrack.css(i)):(i[s.animType]="translate(0px,"+t+"px)",s.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?i[s.animType]="translate3d("+e+"px, 0px, 0px)":i[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(i),n&&setTimeout(function(){s.disableTransition(),n.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},e.prototype.asNavFor=function(e){var n=this.getNavTarget();null!==n&&"object"==typeof n&&n.each(function(){var n=t(this).slick("getSlick");n.unslicked||n.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,n={};!1===e.options.fade?n[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:n[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(n):e.$slides.eq(t).css(n)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,n,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),n=t("<ul />").addClass(i.options.dotsClass),e=0;e<=i.getDotCount();e+=1)n.append(t("<li />").append(i.options.customPaging.call(this,i,e)));i.$dots=n.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,n){t(n).attr("data-slick-index",e).data("originalStyling",t(n).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,n,i,s,o,r,a=this;if(i=document.createDocumentFragment(),o=a.$slider.children(),a.options.rows>0){for(r=a.options.slidesPerRow*a.options.rows,s=Math.ceil(o.length/r),t=0;t<s;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(n=0;n<a.options.slidesPerRow;n++){var u=t*r+(e*a.options.slidesPerRow+n);o.get(u)&&c.appendChild(o.get(u))}l.appendChild(c)}i.appendChild(l)}a.$slider.empty().append(i),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,n){var i,s,o,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||t(window).width();if("window"===r.respondTo?o=c:"slider"===r.respondTo?o=l:"min"===r.respondTo&&(o=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(i in s=null,r.breakpoints)r.breakpoints.hasOwnProperty(i)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[i]&&(s=r.breakpoints[i]):o>r.breakpoints[i]&&(s=r.breakpoints[i]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||n)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=s),e||!1===a||r.$slider.trigger("breakpoint",[r,a])}},e.prototype.changeSlide=function(e,n){var i,s,o=this,r=t(e.currentTarget);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),i=o.slideCount%o.options.slidesToScroll!=0?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,e.data.message){case"previous":s=0===i?o.options.slidesToScroll:o.options.slidesToShow-i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-s,!1,n);break;case"next":s=0===i?o.options.slidesToScroll:i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+s,!1,n);break;case"index":var a=0===e.data.index?0:e.data.index||r.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(a),!1,n),r.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,n;if(n=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var i in e){if(t<e[i]){t=n;break}n=e[i]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.
1slick",t.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>0&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),t(".slick-cloned",n.$slider).detach(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.$slider.removeClass("slick-dotted"),n.unslicked=!0,e||n.$slider.trigger("destroy",[n])},e.prototype.disableTransition=function(t){var e=this,n={};n[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(n):e.$slides.eq(t).css(n)},e.prototype.fadeSlide=function(t,e){var n=this;!1===n.cssTransitions?(n.$slides.eq(t).css({zIndex:n.options.zIndex}),n.$slides.eq(t).animate({opacity:1},n.options.speed,n.options.easing,e)):(n.applyTransition(t),n.$slides.eq(t).css({opacity:1,zIndex:n.options.zIndex}),e&&setTimeout(function(){n.disableTransition(t),e.call()},n.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(n){n.stopImmediatePropagation();var i=t(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=i.is(":focus"),e.autoPlay())}
1,0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,n=0,i=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++i;else for(;e<t.slideCount;)++i,e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)i=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++i,e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else i=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return i-1},e.prototype.getLeft=function(t){var e,n,i,s,o=this,r=0;return o.slideOffset=0,n=o.$slides.first().outerHeight(!0),!0===o.options.infinite?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,s=-1,!0===o.options.vertical&&!0===o.options.centerMode&&(2===o.options.slidesToShow?s=-1.5:1===o.options.slidesToShow&&(s=-2)),r=n*o.options.slidesToShow*s),o.slideCount%o.options.slidesToScroll!=0&&t+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(t>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(t-o.slideCount))*o.slideWidth*-1,r=(o.options.slidesToShow-(t-o.slideCount))*n*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,r=o.slideCount%o.options.slidesToScroll*n*-1))):t+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(t+o.options.slidesToShow-o.slideCount)*o.slideWidth,r=(t+o.options.slidesToShow-o.slideCount)*n),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,r=0),!0===o.options.centerMode&&o.slideCount<=o.options.slidesToShow?o.slideOffset=o.slideWidth*Math.floor(o.options.slidesToShow)/2-o.slideWidth*o.slideCount/2:!0===o.options.centerMode&&!0===o.options.infinite?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:!0===o.options.centerMode&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),e=!1===o.options.vertical?t*o.slideWidth*-1+o.slideOffset:t*n*-1+r,!0===o.options.variableWidth&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow),e=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===o.options.centerMode&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow+1),e=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,e+=(o.$list.width()-i.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,n=0,i=0,s=[];for(!1===e.options.infinite?t=e.slideCount:(n=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,t=2*e.slideCount);n<t;)s.push(n),n=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,n,i=this;return n=!0===i.options.centerMode?i.slideWidth*Math.floor(i.options.slidesToShow/2):0,!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each(function(s,o){if(o.offsetLeft-n+t(o).outerWidth()/2>-1*i.swipeLeft)return e=o,!1}),Math.abs(t(e).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var n=this;t(n.$slider).hasClass("slick-initialized")||(t(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots(),n.checkResponsive(!0),n.focusHandler()),e&&n.$slider.trigger("init",[n]),!0===n.options.accessibility&&n.initADA(),n.options.autoplay&&(n.paused=!1,n.autoPlay())},e.prototype.initADA=function(){var e=this,n=Math.ceil(e.slideCount/e.options.slidesToShow),i=e.getNavigableIndexes().filter(function(t){return t>=0&&t<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(n){var s=i.indexOf(n);if(t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+n,tabindex:-1}),-1!==s){var o="slick-slide-control"+e.instanceUid+s;t("#"+o).length&&t(this).attr({"aria-describedby":o})}}),e.$dots.attr("role","tablist").find("li").each(function(s){var o=i[s];t(this).attr({role:"presentation"}),t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+o,"aria-label":s+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,o=s+e.options.slidesToShow;s<o;s++)e.options.focusOnChange?e.$slides.eq(s).attr({tabindex:"0"}):e.$slides.eq(s).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.
1slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(e.setPosition)},e.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){var e,n,i,s=this;function o(e){t("img[data-lazy]",e).each(function(){var e=t(this),n=t(this).attr("data-lazy"),i=t(this).attr("data-srcset"),o=t(this).attr("data-sizes")||s.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0}
vendor: 5,592 bytes, line 1
1,100,function(){i&&(e.attr("srcset",i),o&&e.attr("sizes",o)),e.attr("src",n).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),s.$slider.trigger("lazyLoaded",[s,e,n])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,n])},r.src=n})}if(!0===s.options.centerMode?!0===s.options.infinite?i=(n=s.currentSlide+(s.options.slidesToShow/2+1))+s.options.slidesToShow+2:(n=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),i=s.options.slidesToShow/2+1+2+s.currentSlide):(n=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,i=Math.ceil(n+s.options.slidesToShow),!0===s.options.fade&&(n>0&&n--,i<=s.slideCount&&i++)),e=s.$slider.find(".slick-slide").slice(n,i),"anticipated"===s.options.lazyLoad)for(var r=n-1,a=i,l=s.$slider.find(".slick-slide"),c=0;c<s.options.slidesToScroll;c++)r<0&&(r=s.slideCount-1),e=(e=e.add(l.eq(r))).add(l.eq(a)),r--,a++;o(e),s.slideCount<=s.options.slidesToShow?o(s.$slider.find(".slick-slide")):s.currentSlide>=s.slideCount-s.options.slidesToShow?o(s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow)):0===s.currentSlide&&o(s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(e){var n=this;n.unslicked||(n.$slider.trigger("afterChange",[n,e]),n.animating=!1,n.slideCount>n.options.slidesToShow&&n.setPosition(),n.swipeLeft=null,n.options.autoplay&&n.autoPlay(),!0===n.options.accessibility&&(n.initADA(),n.options.focusOnChange&&t(n.$slides.get(n.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var n,i,s,o,r,a=this,l=t("img[data-lazy]",a.$slider);l.length?(n=l.first(),i=n.attr("data-lazy"),s=n.attr("data-srcset"),o=n.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(n.attr("srcset",s),o&&n.attr("sizes",o)),n.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,n,i]),a.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){a.progressiveLazyLoad(e+1)},500):(n.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,n,i]),a.progressiveLazyLoad())},r.src=i):a.$slider.trigger("allImagesLoaded",[a])},e.prototype.refresh=function(e){var n,i,s=this;i=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>i&&(s.currentSlide=i),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),n=s.currentSlide,s.destroy(!0),t.extend(s,s.initials,{currentSlide:n}),s.init(),e||s.changeSlide({data:{message:"index",index:n}},!1)},e.prototype.registerBreakpoints=function(){var e,n,i,s=this,o=s.options.responsive||null;if("array"===t.type(o)&&o.length){for(e in s.respondTo=s.options.respondTo||"window",o)if(i=s.breakpoints.length-1,o.hasOwnProperty(e)){for(n=o[e].breakpoint;i>=0;)s.breakpoints[i]&&s.breakpoints[i]===n&&s.breakpoints.splice(i,1),i--;s.breakpoints.push(n),s.breakpointSettings[n]=o[e].settings}s.breakpoints.sort(function(t,e){return s.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,n){var i=this;if(t="boolean"==typeof t?!0===(e=t)?0:i.slideCount-1:!0===e?--t:t,i.slideCount<1||t<0||t>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(t).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},e.prototype.setCSS=function(t){var e,n,i=this,s={};
1!0===i.options.rtl&&(t=-t),e="left"==i.positionProp?Math.ceil(t)+"px":"0px",n="top"==i.positionProp?Math.ceil(t)+"px":"0px",s[i.positionProp]=t,!1===i.transformsEnabled?i.$slideTrack.css(s):(s={},!1===i.cssTransitions?(s[i.animType]="translate("+e+", "+n+")",i.$slideTrack.css(s)):(s[i.animType]="translate3d("+e+", "+n+", 0px)",i.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,n=this;n.$slides.each(function(i,s){e=n.slideWidth*i*-1,!0===n.options.rtl?t(s).css({position:"relative",right:e,top:0,zIndex:n.options.zIndex-2,opacity:0}
1):t(s).css({position:"relative",left:e,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,n,i,s,o,r=this,a=!1;if("object"===t.type(arguments[0])?(i=arguments[0],a=arguments[1],o="multiple"):"string"===t.type(arguments[0])&&(i=arguments[0],s=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)r.options[i]=s;else if("multiple"===o)t.each(i,function(t,e){r.options[t]=e});else if("responsive"===o)for(n in s)if("array"!==t.type(r.options.responsive))r.options.responsive=[s[n]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[n].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[n])}a&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,n,i,s,o=this;if(n=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),o.$slides.eq(t).addClass("slick-current"),!0===o.options.centerMode){var r=o.options.slidesToShow%2==0?1:0;e=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&(t>=e&&t<=o.slideCount-1-e?o.$slides.slice(t-e+r,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(i=o.options.slidesToShow+t,n.slice(i-e+1+r,i+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?n.eq(n.length-1-o.options.slidesToShow).addClass("slick-center"):t===o.slideCount-1&&n.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(t).addClass("slick-center")}else t>=0&&t<=o.slideCount-o.options.slidesToShow?o.$slides.slice(t,t+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=o.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(s=o.slideCount%o.options.slidesToShow,i=!0===o.options.infinite?o.options.slidesToShow+t:t,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-t<o.options.slidesToShow?n.slice(i-(o.options.slidesToShow-s),i+s).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad()},e.prototype.setupInfinite=function(){var e,n,i,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(n=null,s.slideCount>s.options.slidesToShow)){for(i=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-i;e-=1)n=e-1,t(s.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<i+s.slideCount;e+=1)n=e,t(s.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},e.prototype.selectHandler=function(e){var n=this,i=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),s=parseInt(i.attr("data-slick-index"));s||(s=0),n.slideCount<=n.options.slidesToShow?n.slideHandler(s,!1,!0):n.slideHandler(s)},e.prototype.slideHandler=function(t,e,n){var i,s,o,r,a,l,c=this;if(e=e||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t))if(!1===e&&c.asNavFor(t),i=t,a=c.getLeft(i),r=c.getLeft(c.
vendor: 5,823 bytes, line 1
1currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(r,function(){c.postSlide(i)}):c.postSlide(i));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(r,function(){c.postSlide(i)}):c.postSlide(i));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),s=i<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+i:i>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:i-c.slideCount:i,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,s]),o=c.currentSlide,c.currentSlide=s,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(l=(l=c.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==n?(c.fadeSlideOut(o),c.fadeSlide(s,function(){c.postSlide(s)})):c.postSlide(s),void c.animateHeight();!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(a,function(){c.postSlide(s)}):c.postSlide(s)}},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,n,i,s=this;return t=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,n=Math.atan2(e,t),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0?!1===s.options.rtl?"left":"right":i<=360&&i>=315?!1===s.options.rtl?"left":"right":i>=135&&i<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?i>=35&&i<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,n,i=this;if(i.dragging=!1,i.swiping=!1,i.scrolling)return i.scrolling=!1,!1;if(i.interrupted=!1,i.shouldClick=!(i.touchObject.swipeLength>10),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(e),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,n,i,s,o,r,a=this;return o=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||o&&1!==o.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==o?o[0].pageX:t.clientX,a.touchObject.curY=void 0!==o?o[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),n=a.swipeDirection(),void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,t.preventDefault()),s=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(s=a.touchObject.curY>a.touchObject.startY?1:-1),i=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===n||a.currentSlide>=a.getDotCount()&&"left"===n)&&(i=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+i*s:a.swipeLeft=e+i*(a.$list.height()/a.listWidth)*s,!0===a.options.verticalSwiping&&(a.swipeLeft=e+i*s),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},e.prototype.swipeStart=function(t){var e,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==e?e.pageX:t.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==e?e.pageY:t.clientY,n.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,n,i=this,s=arguments[0],o=Array.prototype.slice.call(arguments,1),r=i.length;for(t=0;t<r;t++)if("object"==typeof s||void 0===s?i[t].slick=new e(i[t],s):n=i[t].slick[s].apply(i[t].slick,o),void 0!==n)return n;return i}}),$(function(){!!new URLSearchParams(window.location.search).get("test")||($(".nav-controller-container, .dismiss-nav-lateral").on("click",function(t){"0"!=$(this).parent().find(".number-of-items-top-cart").text()&&($(this).toggleClass("open"),$(".nav-lateral").toggleClass("open"))}),$('input[name="email"]').bind("cut copy paste",function(t){t.preventDefault()}),$('input[name="email_confirmation"]').bind("cut copy paste",function(t){t.preventDefault()}),$(".goto").on("click",function(){goToByScroll($(this).data("to"),$(this).data("offset")||-20)}),$.cookie("acceptCookie")||$("#cookie-bar").removeClass("hidden"),$("#accept_cookie").on("click",function(){$.cookie("acceptCookie","1",{path:"/",expires:365}),$("#cookie-bar").addClass("hidden")}),$("#accept_functional").on("click",function(){$.cookie("acceptCookie","-1",{path:"/",expires:1}),$("#cookie-bar").addClass("hidden")}),$("#reject_cookie").on("click",function(){$.cookie("acceptCookie","-2",{path:"/",expires:1/24}),$("#cookie-bar").addClass("hidden")}),$(".lazy-loading").lazy({chainable:!1,threshold:150,visibleOnly:!0}),$(document).on("click","#clean-all-cart",function(){cart.clean(),$.removeCookie("offerTimer",{path:"/"}),$(".select-number-of-tickets").val(0),$(".rate-value").text("0")}),$(".form-search").on("submit",function(){var t=$(this).attr("action"),e=convertToSlug($(this).find(".tt-input").val());if(""!=e&&(t+="/"+e),0!=$(this).find(".category-select").length){var n=convertToSlug($(this).find(".category-select").val());""!=n&&(t+="/"+n)}if(0!=$(this).find(".date-input").length){var i=convertToSlug($(this).find(".date-input").val());""!=i&&(t+="/"+i)}return enable_location_top?window.top.location.href=t:window.location.href=t,!1}),$(document).on("click",".see-more-event",function(){$(".form-search").submit()}),$(document).on("click",".see-more-facilites",function(){enable_location_top?window.top.location.href=app_url+"/"+translations.facilities.toLowerCase()+"/"+$(".tt-input").val():window.location.href=app_url+"/"+translations.facilities.toLowerCase()+"/"+$(".tt-input").val()}),$(document).on("click",".see-more-destinations",function(){window.location.href=app_url+"/destinations/"+$(".tt-input").val()}),$(document).on("change",".province_filter_container > .search-select",function(){enable_location_top?window.top.location.href=app_url+"/"+translations.search_url+"/"+$(this).val():window.location.href=app_url+"/"+translations.search_url+"/"+$(this).val()}),1==advertisementEnabled&&window.setInterval(function(){var t=[];$(".bannerItemId").each(function(e,n){t.push($(this).val())}),t.length>0&&$.ajax({url:app_url+"/banner_advertising/update_published_time",method:"post",data:{bannerItemIds:t,_token:"{!! csrf_token() !!}"},success:function(t){t&&1==advertisementChangesAutomatically&&(null!=t.top&&($("#topB
1annerImage").attr("src",mediaURL+"/"+t.top.bannerImageName),$("#topBannerImageId").val(t.top.bannerImageId),$("#topBannerItemId").val(t.top.bannerItemId)),null!=t.left&&($("#leftBannerImage").attr("src",mediaURL+"/"+t.left.bannerImageName),$("#leftBannerImageId").val(t.left.bannerImageId),$("#leftBannerItemId").val(t.left.bannerItemId)),null!=t.right&&($("#rightBannerImage").attr("src",mediaURL+"/"+t.right.bannerImageName),$("#rightBannerImageId").val(t.right.bannerImageId),$("#rightBannerItemId").val(t.right.bannerItemId)),null!=t.leftmiddle&&($("#leftmiddleBannerImage").attr("src",mediaURL+"/"+t.leftmiddle.bannerImageName),$("#leftmiddleBannerImageId").val(t.leftmiddle.bannerImageId),$("#leftmiddleBannerItemId").val(t.leftmiddle.bannerItemId)),null!=t.rightmiddle&&($("#rightmiddleBannerImage").attr("src",mediaURL+"/"+t.rightmiddle.bannerImageName),$("#rightmiddleBannerImageId").val(t.rightmiddle.bannerImageId),$("#rightmiddleBannerItemId").val(t.rightmiddle.bannerItemId)),null!=t.middle&&($("#middleBannerImage").attr("src",mediaURL+"/"+t.middle.bannerImageName),$("#middleBannerImageId").val(t.middle.bannerImageId),$("#middleBannerItemId").val(t.middle.bannerItemId)),null!=t.footer&&($("#footerBannerImage").attr("src",mediaURL+"/"+t.footer.bannerImageName),$("#footerBannerImageId").val(t.footer.bannerImageId),$("#footerBannerItemId").val(t.footer.bannerItemId)))},dataType:"json"})},bannerImageRefreshTime),$(".countdown-event-container").each(function(){$(this).countdown($(this).data("date"),function(t){$(this).html(t.strftime(t.strftime('<div class="section-part"><span>%D</span><span class="description">días</span></div><div class="section-part"><span>%H</span><span class="description">horas</span></div><div class="section-part"><span>%M</span><span class="description">min</span></div><div class="section-part"><span>%S</span><span class="description">seg</span></div>')))})}),$(".toggle-glyphicon").on("click",function(){$(this).find(".glyphicon:not(.icon)").toggleClass("glyphicon-triangle-right").toggleClass("glyphicon-triangle-bottom")}),$(".clickable-row").click(function(){window.location=$(this).data("href")}),initializeDateRangePicker(),initializeTypeahead(),initializeExperienceTypeahead(),initializeBanners(),initializeSlickCarousel())});var substringMatcherEvents=function(t){return function(e,n){var i;i=[],substrRegex=new RegExp(e,"i"),$.each(t,function(t,e){(substrRegex.test(cleanStr(e.name))||substrRegex.test(cleanStr(e.province_names))||substrRegex.test(cleanStr(e.facilities_names))||substrRegex.test(e.name)||substrRegex.test(e.province_names)||substrRegex.test(e.facilities_names)||substrRegex.test(e)||substrRegex.test(cleanStr(e.tag_names_implode))||substrRegex.test(e.tag_names_implode)||substrRegex.test(cleanStr(e.category_names_implode))||substrRegex.test(e.category_names_implode))&&i.push(e)}),n(i)}};function cleanStr(t){return null==t?t:t=(t=(t=(t=(t=t.replace(/á/gi,"a")).replace(/é/gi,"e")).replace(/í/gi,"i")).replace(/ó/gi,"o")).replace(/ú/gi,"u")}function showNotify(t,e,n,i,s){$.getScript("/js/bootstrap-notify.min.js",{cache:!0}).done(function(){$.notify({title:t,message:e},{type:n,delay:i,offset:{x:20,y:55},onClosed:s})})}function validateSeatSelection(t,e){var n=$("g[entresys\\:fs_id="+t+"]"),i=n.parent().closest("g").children("g:not([entresys\\:fs_id="+t+"])").get();if(i.length<2)return!0;var s=!!i.find(function(t){return $(t).hasClass("allocable")&&$(t).hasClass("full")}),o=i.filter(function(t){return $(t).hasClass("selected")});if(!o.length&&!s)return!0;var r=getCoordinatesFromGSeat(n),a=$(i[0]),l=getCoordinatesFromGSeat(a),c=Math.pow(l[0]-r[0],2)+Math.pow(l[1]-r[1],2),u=0;i.slice(1).forEach(function(t,e){var n=$(t);l=getCoordinatesFromGSeat(n);var i=Math.pow(l[0]-r[0],2)+Math.pow(l[1]-r[1],2);i<c&&(c=i,u=e+1,a=n)}),i=i.slice(0,u).concat(i.slice(u+1));var d=$(i[0]);if(l=getCoordinatesFromGSeat(d),c=Math.pow(l[0]-r[0],2)+Math.pow(l[1]-r[1],2),i.slice(1).forEach(function(t){var e=$(t);l=getCoordinatesFromGSeat(e);var n=Math.pow(l[0]-r[0],2)+Math.pow(l[1]-r[1],2);n<c&&(c=n,d=e)}),!a.hasClass("bookable")||!d.hasClass("bookable"))return!0;
1if(a.hasClass("full")||d.hasClass("full"))return!0;if(e||1!=o.length){if(!e&&o.length>1){var h=$(o[0]),f=h;l=getCoordinatesFromGSeat(h),c=Math.pow(l[0]-r[0],2)+Math.pow(l[1]-r[1],2),farthestD=c,u=0,o.slice(1).forEach(function(t,e){var n=$(t);l=getCoordinatesFromGSeat(n);var i=Math.pow(l[0]-r[0],2)+Math.pow(l[1]-r[1],2);i<c&&(c=i,u=e+1,h=n),i>farthestD&&(farthestD=i,f=n)}),o=o.slice(0,u).concat(o.slice(u+1));var p=$(o[0]);if(l=getCoordinatesFromGSeat(p),c=Math.pow(l[0]-r[0],2)+Math.pow(l[1]-r[1],2),o.slice(1).forEach(function(t){var e=$(t);l=getCoordinatesFromGSeat(e);var n=Math.pow(l[0]-r[0],2)+Math.pow(l[1]-r[1],2);n<c&&(c=n,p=e)}),a.hasClass("selected")&&d.hasClass("selected")){if([a.attr("entresys:fs_id"),d.attr("entresys:fs_id")].includes(h.attr("entresys:fs_id"))&&[a.attr("entresys:fs_id"),d.attr("entresys:fs_id")].includes(p.attr("entresys:fs_id")))return!0}else if(a.hasClass("selected")||d.hasClass("selected")){var m=f.attr("entresys:fs_id");if(o=n.parent().closest("g").children("g.selected:not([entresys\\:fs_id="+m+"])").get(),fxy=getCoordinatesFromGSeat(f),$ex2SSeat=$(o[0]),l=getCoordinatesFromGSeat($ex2SSeat),farthestD=Math.pow(l[0]-fxy[0],2)+Math.pow(l[1]-fxy[1],2),o.slice(1).forEach(function(t){var e=$(t);l=getCoordinatesFromGSeat(e);var n=Math.pow(l[0]-fxy[0],2)+Math.pow(l[1]-fxy[1],2);n>farthestD&&(farthestD=n,$ex2SSeat=e)}),$ex2SSeat.attr("entresys:fs_id")==t&&(!s||validateSeatSelection(m,!0)))return!0}}}else if(a.hasClass("selected")||d.hasClass("selected")){if(!s)return!0;if(a.hasClass("selected")&&validateSeatSelection(a.attr("entresys:fs_id"),!0))return!0;if(d.hasClass("selected")&&validateSeatSelection(d.attr("entresys:fs_id"),!0))return!0}var g=getCoordinatesFromGSeat(a),v=getCoordinatesFromGSeat(d),y=Math.pow(v[0]-r[0],2)+Math.pow(v[1]-r[1],2);if(y>Math.pow(v[0]-g[0],2)+Math.pow(v[1]-g[1],2))return!0;var b=Math.pow(g[0]-r[0],2)+Math.pow(g[1]-r[1],2);return y>2*b||b>2*y}function getCoordinatesFromGSeat(t){var e=t.find("circle,rect").first(),n=e.attr("transform");return void 0!==n?n.replace(")","").trim().split(" ").slice(-2):"circle"===e[0].tagName.toLowerCase()?[e.attr("cx"),e.attr("cy")]:[e.attr("x"),e.attr("y")]}function getCookie(t){var e=document.cookie,n=e.indexOf(" "+t+"=");if(-1==n&&(n=e.indexOf(t+"=")),-1==n)e=null;else{n=e.indexOf("=",n)+1;var i=e.indexOf(";",n);-1==i&&(i=e.length),e=unescape(e.substring(n,i))}return e}function setCookie(t,e,n){var i=new Date;i.setDate(i.getDate()+n);var s=escape(e)+(null==n?"":"; expires="+i.toUTCString());document.cookie=t+"="+s}$.fn.shake=function(t){void 0===t.interval&&(t.interval=100),void 0===t.distance&&(t.distance=10),void 0===t.times&&(t.times=4),void 0===t.complete&&(t.complete=function(){}),$(this).css("position","relative");for(var e=0;e<t.times+1;e++)$(this).animate({left:e%2==0?t.distance:-1*t.distance},t.interval);$(this).animate({left:0},t.interval,t.complete)},Array.prototype.unique=function(){return this.filter(function(t,e,n){return n.indexOf(t)===e})};

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